lp:~lyx-outline-devel/lyx/lyx-master
- Get this branch:
- bzr branch lp:~lyx-outline-devel/lyx/lyx-master
Branch merges
Branch information
Recent revisions
- 32620. By Georg Baum <email address hidden>
-
Add tex2lyx test for KOMA-Script classes
In the future this test case should contain all KOMA-Script features.
Currently, it tests just \captionabove anmd \captionbelow. - 32619. By Georg Baum <email address hidden>
-
Get rid of tr1 support
As discussed on the list. We don't need it anymore, either we have a modern
compiler that supports C++11, or we fall back to boost. I kept and adjusted
the regex #define, since we cannot use std regex completely yet. - 32617. By Georg Baum <email address hidden>
-
Revert parts of 7e69ac220dd
This fixes the tex2lyx test test-refstyle-
theorems. tex. It seems that the
intent of the fix was to remove a \protect in front of a \caption,
\captionabove or \captionbelow, but the implementation did not really do that.
Furthermore, it is not clear in which cases a \protect in front of a caption
needs to removed, and in which cases it needs to be kept: After looking at the
LyX sources I could not see that caprions are always output with \protect. - 32616. By Jean-Marc Lasgouttes
-
Reduce use of double variables in Row
All the code that is run before row metrics have been computed should use int arithmetic. After metrics have been computed, we still need doubles because fully justified rows use double for Row::Element:
:extra. Rename Row::x to Row::left_margin and change its type to int.
Rename Row::Element:
:width( ) to full_width(). In some places of the code, use dim.wid (the int version without the extra separator) because metrics have not been computed. Let Row::Element::x2pos take a int& argument instead of double&
Let Row::Element:
:breakAt take a int argument instead of double - 32615. By Jean-Marc Lasgouttes
-
Fix the last clang warnings about overloaded virtual methods
This patch fixes a series of warnings like:
{{{
In file included from ../../master/src/mathed/ InsetMathBoldSy mbol.cpp: 13:
In file included from ../../master/src/mathed/ InsetMathBoldSy mbol.h: 15:
../../master/src/mathed/ InsetMathNest. h:37:7: warning: 'lyx::InsetMath Nest::metrics' hides overloaded virtual function [-Woverloaded- virtual]
void metrics(MetricsInfo const & mi) const;
^
../../master/src/insets/ Inset.h: 186:15: note: hidden overloaded virtual function 'lyx::Inset: :metrics' declared here: different number of parameters
(2 vs 1)
virtual void metrics(MetricsInfo & mi, Dimension & dim) const = 0;
^
}}}
For a description of the problem, see for example:
http://stackoverflow. com/questions/ 18515183/ c-overloaded- virtual- function- warning- by-clang 3 different strategies have been used:
* in frontend, some functions have been renamed.
* in InsetMath.h, Inset::write has been explicitly imported too
* in InsetMathNest.h, since a comment said that hiding Inset::metrics is intended, a special trick has bee used to silence the warning. - 32613. By Georg Baum <email address hidden>
-
Make Converter class thread-safe
Again, this is used in a global list shared by all threads
- 32612. By Georg Baum <email address hidden>
-
Make Format class almost thread-safe
This is needed since all formats are stored in a global list which is shared
between threads, but never modfified except from the main thread.
The only missing bit is extension_list_, which is not so easy to do. - 32611. By Georg Baum <email address hidden>
-
Improve C++11 support
If we compile in C++11 mode, do not use the boost replacements for bind,
functional and shared_ptr. regex is excluded, since it misses match_partial, and
gcc does not provide a usable one in versions less than 4.9.0.
I also removed the #define for match_partial, since this is dangerous. Now you
get a compile error instead of subtle runtime differences.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:lyx