]> git.lyx.org Git - lyx.git/log
lyx.git
8 years agoFix bug #8814: Ask for place to export a file if it has not
Richard Heck [Sat, 25 Jun 2016 02:04:59 +0000 (03:04 +0100)]
Fix bug #8814: Ask for place to export a file if it has not
yet been saved.

8 years agoStyle.
Richard Heck [Fri, 24 Jun 2016 19:03:59 +0000 (15:03 -0400)]
Style.

8 years agoia.po: updates from Giovanni
Uwe Stöhr [Fri, 24 Jun 2016 00:17:50 +0000 (02:17 +0200)]
ia.po: updates from Giovanni

8 years agoUpdate sk.po
Kornel Benko [Tue, 21 Jun 2016 20:39:28 +0000 (22:39 +0200)]
Update sk.po

8 years agoDocument new behavior of ForcePlain with charstyles.
Richard Heck [Tue, 21 Jun 2016 19:40:43 +0000 (15:40 -0400)]
Document new behavior of ForcePlain with charstyles.

8 years agoBy default, charstyles should not permit layout changes internally.
Richard Heck [Mon, 20 Jun 2016 15:30:32 +0000 (11:30 -0400)]
By default, charstyles should not permit layout changes internally.

Fixes #10237.

8 years agomore const correctness
Georg Baum [Tue, 21 Jun 2016 19:09:50 +0000 (21:09 +0200)]
more const correctness

The const_cast shows the place where const correctness is violated, this is
no longer hidden by lying member functions.

8 years agoRemove "only", which is not really necessary.
Richard Heck [Mon, 20 Jun 2016 13:49:48 +0000 (09:49 -0400)]
Remove "only", which is not really necessary.

8 years agoFix bug #10213 as discussed there: We now display the same button
Richard Heck [Tue, 14 Jun 2016 17:55:18 +0000 (18:55 +0100)]
Fix bug #10213 as discussed there: We now display the same button
whether the branch is open or closed.

8 years agoconst correctness
Georg Baum [Mon, 20 Jun 2016 20:00:05 +0000 (22:00 +0200)]
const correctness

It is dangerous to hand out non-const pointers to members from a const method.

8 years agoAdd new module:
Richard Heck [Mon, 20 Jun 2016 15:06:31 +0000 (11:06 -0400)]
Add new module:

Provides two new styles:

1. An "In Premable" style that puts whatever is entered into it into the preamble.
   This can be used, if one wishes, to include preamble code in the body of the
   LyX document.
2. An "In Title" style that will put its contents into the body of the LaTeX
   document, but before \maketitle is issued. This is useful for making branches
   and notes in title-related material. (If you put these in a Standard layout,
   this signals to LyX to output \maketitle, which may then come too early.)

Due to the ForceLocal machinery, no format change is needed.

8 years agoFix bug #10153: There's a mechanism in XHTML output that defers the
Richard Heck [Mon, 20 Jun 2016 14:21:22 +0000 (10:21 -0400)]
Fix bug #10153: There's a mechanism in XHTML output that defers the
output of tags until we know they're needed. In the case of HTML
tables, empty cells should of course be output, so we need to force
the tags to be output.

8 years agoRemove external date inset
Georg Baum [Sun, 19 Jun 2016 19:23:25 +0000 (21:23 +0200)]
Remove external date inset

The external date inset was implemented as a demonstrator for external insets
in general. It was never intended for production code. Now that we have several
external insets defined we do not need the demonstrator anymore. This fixes
bugs #4398 and #9948.

8 years agoUse default MSVC install path
Georg Baum [Sun, 19 Jun 2016 17:04:30 +0000 (19:04 +0200)]
Use default MSVC install path

My memory was wrong, the default path uses the internal version number.

8 years agoSkip paragraph parameters for dash conversion
Georg Baum [Sun, 19 Jun 2016 15:05:13 +0000 (17:05 +0200)]
Skip paragraph parameters for dash conversion

Some of them are directly passed to LaTeX, but for all of them a token
\twohyphens or \threehyphens is not valid. This fixes bug #10243.

8 years agoAjust instructions to qt 5
Georg Baum [Sun, 19 Jun 2016 14:28:02 +0000 (16:28 +0200)]
Ajust instructions to qt 5

Building with MSVC and qt4 is an esoteric special case nowadays. People who
are able to do this will also figure out how to call cmake. The standard case
is qt 5, and this was not yet documented.

8 years agoDescribe how to set env vars for the MSVC compiler
Georg Baum [Sun, 19 Jun 2016 11:26:48 +0000 (13:26 +0200)]
Describe how to set env vars for the MSVC compiler

The old instructions did assume that the MSVC bin directory was in the PATH.
This is not recommended, since it gets in the way if you want to compile for
32 and 64 bit. Therefore it is now described how to configure without the
PATH dependency.

8 years agoAdjust dep path in build batches
Georg Baum [Sun, 19 Jun 2016 11:15:50 +0000 (13:15 +0200)]
Adjust dep path in build batches

Another location where paths are stored...

8 years agoUpdate MSVC build instructions
Georg Baum [Sun, 19 Jun 2016 10:55:00 +0000 (12:55 +0200)]
Update MSVC build instructions

We recommend MSVC 2015 now, because of better C++11 support and MSVC 2010 is
not available anymore. Also update several pathsdue tro changed dependency
packages.

8 years agoFix windows dependencies download
Georg Baum [Sun, 19 Jun 2016 10:47:30 +0000 (12:47 +0200)]
Fix windows dependencies download

The paths and servers have changed, and a MSVC 2013 version is not provided
anymore.

8 years agoAlways present Qt version info in LyX About dialog - not for developer version only
Stephan Witt [Sun, 19 Jun 2016 09:53:20 +0000 (11:53 +0200)]
Always present Qt version info in LyX About dialog - not for developer version only

8 years agoFix typo, and also check if string is null.
Richard Heck [Sat, 18 Jun 2016 22:32:21 +0000 (18:32 -0400)]
Fix typo, and also check if string is null.

8 years agoBe a bit more careful about setting and restoring the last reference
Richard Heck [Sat, 18 Jun 2016 22:27:51 +0000 (18:27 -0400)]
Be a bit more careful about setting and restoring the last reference
when we go to and return from labels.

8 years agoadd missing autotests to tarball
Georg Baum [Fri, 17 Jun 2016 19:17:38 +0000 (21:17 +0200)]
add missing autotests to tarball

8 years agoimplement lyx2lyx roundtrip for \use_microtype
Georg Baum [Fri, 17 Jun 2016 19:11:53 +0000 (21:11 +0200)]
implement lyx2lyx roundtrip for \use_microtype

8 years agoUse unicode cmdline args consistently
Georg Baum [Thu, 16 Jun 2016 20:05:56 +0000 (22:05 +0200)]
Use unicode cmdline args consistently

Previously the commandline arguments were processed in an operating system
dependent encoding if running under python 2. Now they are converted to
unicode during the parsing, using the more modern argpase instead of optparse.
The individual conversion methods do no longer need to know anything about
commandline encoding. This fixes a bug similar to #10218 if running under
python 2 which I probably introduced during the python 3 conversion.

8 years agoDo not distribute built sources
Georg Baum [Thu, 16 Jun 2016 19:34:38 +0000 (21:34 +0200)]
Do not distribute built sources

Implementation stolen from ff17b366a05ff2

8 years agoRemove obsolete comments
Georg Baum [Thu, 16 Jun 2016 19:05:27 +0000 (21:05 +0200)]
Remove obsolete comments

8 years agoRemove InsetMathXYArrow
Georg Baum [Thu, 16 Jun 2016 18:39:32 +0000 (20:39 +0200)]
Remove InsetMathXYArrow

This was dead code that did never work, and most of it was boilerplate that
you can steel in 15 minutes from any existing math inset. Apart from that it
did contain a pointer to InsetXYMatrix which would create the same problems
we saw with the macros.

8 years agoAmend 10b4a471853
Georg Baum [Thu, 16 Jun 2016 18:25:43 +0000 (20:25 +0200)]
Amend 10b4a471853

8 years agoExpose python 3 support to some testing
Georg Baum [Thu, 16 Jun 2016 18:22:40 +0000 (20:22 +0200)]
Expose python 3 support to some testing

LyX will now always use the default python interpreter. This will hopefully
help us sto see if one of them fails in some cases.

8 years agoThis is LyX 2.3
Georg Baum [Thu, 16 Jun 2016 18:20:59 +0000 (20:20 +0200)]
This is LyX 2.3

8 years agoFix boost packaging
Georg Baum [Wed, 15 Jun 2016 20:21:21 +0000 (22:21 +0200)]
Fix boost packaging

icu.{hpp,cpp} is not needed and cannot be compiled since it depends on libicu.
The other two files are currently not used, but could be in principle, so I
added them to the build.

8 years agoRequire gcc 4.6
Georg Baum [Wed, 15 Jun 2016 20:04:51 +0000 (22:04 +0200)]
Require gcc 4.6

See also 5de30b1210a

8 years agoMake latex highlighter colors compatible with dark theme
Guillaume Munch [Tue, 14 Jun 2016 20:45:47 +0000 (21:45 +0100)]
Make latex highlighter colors compatible with dark theme

Partial fix for #8325

8 years ago* README: document recent gcc discussion.
Pavel Sanda [Wed, 15 Jun 2016 18:10:31 +0000 (11:10 -0700)]
* README: document recent gcc discussion.

https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg194937.html

8 years agoFix compilation with gcc 4.6 part II
Guillaume Munch [Tue, 14 Jun 2016 18:22:24 +0000 (19:22 +0100)]
Fix compilation with gcc 4.6 part II

8 years agoAdded missing ipa icons to distribution
Kornel Benko [Wed, 15 Jun 2016 13:03:55 +0000 (15:03 +0200)]
Added missing ipa icons to distribution

8 years agoAdded missing oxygen icons to distribution
Kornel Benko [Wed, 15 Jun 2016 12:50:09 +0000 (14:50 +0200)]
Added missing oxygen icons to distribution

8 years agoAdd xmingw and LyXDestinations.cmake to distribution files
Kornel Benko [Wed, 15 Jun 2016 11:03:25 +0000 (13:03 +0200)]
Add xmingw and LyXDestinations.cmake to distribution files

8 years agoCmake windows build: Discard use of configCompiler.h.msvc
Kornel Benko [Wed, 15 Jun 2016 09:29:09 +0000 (11:29 +0200)]
Cmake windows build: Discard use of configCompiler.h.msvc

This file doubles the struggle when inventing new configuration tests.
Hopefully we get soon a confirmation if the withdraw is OK.

8 years agoCmake dist: Expand the list of not distributed files.
Kornel Benko [Wed, 15 Jun 2016 08:21:18 +0000 (10:21 +0200)]
Cmake dist: Expand the list of not distributed files.

8 years agoWhitespace.
Richard Heck [Tue, 14 Jun 2016 23:23:34 +0000 (00:23 +0100)]
Whitespace.

8 years agoAdd missing images to source package
Georg Baum [Tue, 14 Jun 2016 20:30:26 +0000 (22:30 +0200)]
Add missing images to source package

Thanks to Kornel for noticing.
We cannot use ${x} style variables with autotools, these work only in the
final Makefile. We need to use $(x).

8 years agoReplace coverity comment with assertion.
Richard Heck [Tue, 14 Jun 2016 17:26:08 +0000 (18:26 +0100)]
Replace coverity comment with assertion.

8 years agoFix compilation with gcc 4.6
Guillaume Munch [Tue, 14 Jun 2016 15:42:52 +0000 (16:42 +0100)]
Fix compilation with gcc 4.6

8 years agoFix bug #10195
Guillaume Munch [Mon, 13 Jun 2016 23:17:38 +0000 (00:17 +0100)]
Fix bug #10195

The computation of the index of the main text entry of a row did not take into
account the fact that the entry could be optimised away.

8 years agoamend 6144bbfb
Guillaume Munch [Tue, 14 Jun 2016 00:34:16 +0000 (01:34 +0100)]
amend 6144bbfb

8 years agoamend e2bc7ffa
Guillaume Munch [Mon, 13 Jun 2016 23:21:26 +0000 (00:21 +0100)]
amend e2bc7ffa

8 years agoDetect clang version in autoconf (and use it a bit)
Jean-Marc Lasgouttes [Mon, 13 Jun 2016 09:25:23 +0000 (11:25 +0200)]
Detect clang version in autoconf (and use it a bit)

The version is read by checking the macros __clang_major__,
__clang_minor__ and __clang_patchlevel__. Hopefully they will have
coherent values everywhere.

For now, the version is used to set warnings a bit more reasonably for
older clang versions, which do not support -Wdeprecated-register and
some others that are used in pragmas in boost.

This removes many warnings when compiling with clang 3.3.

8 years agoRemove a conversion to_utf8() inside FontSetChanger
Guillaume Munch [Tue, 7 Jun 2016 21:58:55 +0000 (22:58 +0100)]
Remove a conversion to_utf8() inside FontSetChanger

This requires to change many docstrings into std::strings. The logic behind that
is that they represent a fixed set of math fonts, and therefore “string” means
here “poor man's enum” rather than text (this is consistent with MetricsBase).

Profiling of scrolling inside a document over macro-instensive areas:

Before the patch:
  44,1% BufferView::updateMetrics()
   -> 34,8% InsetMathHull::metrics()
     -> 9,8% FontSetChanger::FontSetChanger()
  28,4% BufferView::draw()

After the patch:
  35,3% BufferView::updateMetrics()
   -> 27,2% InsetMathHull::metrics
     -> 0,4% FontSetChanger::FontSetChanger()
  47,5% BufferView::draw()

FontSetChanger::FontSetChanger() is made 41x less expensive (with reference
BV::draw()) just by removing this conversion. The remaining 0,4% could be
squished by replacing the strings with a proper enum, but this is premature. Of
course, this only treats the symptoms: there is no good reason that this
function is called 45500 times over the time of 40 repaints.

8 years agoScrollbarParameters: clean-up and document
Guillaume Munch [Wed, 1 Jun 2016 20:28:26 +0000 (21:28 +0100)]
ScrollbarParameters: clean-up and document

Position is always 0.

8 years agoFix computation of scroll value
Guillaume Munch [Fri, 27 May 2016 22:59:25 +0000 (23:59 +0100)]
Fix computation of scroll value

8 years agoSimplify the TexRow information for mathed output
Guillaume Munch [Sat, 4 Jun 2016 09:49:21 +0000 (10:49 +0100)]
Simplify the TexRow information for mathed output

Replace the manual manipulation of a stack of RowEntries with a Changer
function. When I introduced the stack of RowEntries, I did not know about the
Changer mechanism.

8 years agoDo not include MetricsInfo.h in MathStream.h
Guillaume Munch [Sat, 4 Jun 2016 08:41:13 +0000 (09:41 +0100)]
Do not include MetricsInfo.h in MathStream.h

Fixes the FIXME in MathStream.h

8 years agoChange tracking cue: paint over labels in text and prepare for further work
Guillaume Munch [Sun, 22 May 2016 21:48:28 +0000 (22:48 +0100)]
Change tracking cue: paint over labels in text and prepare for further work

* Inset::canTrackChange() had two meanings: can it deal with change tracking?
  Will it paint its own CT status? The latter information is now given by
  Inset::canPaintChange().

* Line thickness computation is moved from RowPainter to MetricsBase.

* Painting function for Changes moved to lyx::Change. (One new, that strikes
  diagonally.)

8 years agoRefChanger
Guillaume Munch [Mon, 23 May 2016 21:30:23 +0000 (22:30 +0100)]
RefChanger

RefChanger temporarily assigns a value to a non-const reference of any
kind. RefChanger provides a flexible and uniform generalisation of the various
scope guards previously derived from the old Changer class in MetricsInfo.h.

As before, a temporary assignment lasts as long as the Changer object lives. But
the new Changer is movable. In particular, contorsions are no longer needed to
change a private field. Special code can be moved into the appropriate classes,
and it is no longer necessary to create a new class for each specific use.

Syntax change:

   FontSetChanger dummy(mi.base, value);
-> Changer dummy = mi.base.changeFontSet(value);

New function for generating arbitrary Changers:

  Changer dummy = make_change(ref, val, condition);

Bugfix:

* Fix the display of \displaystyle{\substack{\frac{xyz}{}}} (missing style
  change).

8 years agoShortcutOverride again
Guillaume Munch [Mon, 13 Jun 2016 06:39:04 +0000 (07:39 +0100)]
ShortcutOverride again

Re: fix for #9218 (not #10119)

Now it matches the example given in the docs. This time tested on qt4.

8 years ago* Math.lyx put last changes under CT.
Pavel Sanda [Mon, 13 Jun 2016 01:57:58 +0000 (18:57 -0700)]
* Math.lyx put last changes under CT.

8 years agoMake lyx2lyx infrastructure python3 ready
Georg Baum [Sun, 12 Jun 2016 19:21:15 +0000 (21:21 +0200)]
Make lyx2lyx infrastructure python3 ready

The LyX class works now with python 3. Certain file format conversions may
still fail (convert_multiencoding() is a hot candidate), but this will need
to be fixed in the individual modules.

8 years agoRemove that pesky broken window that pops up with Qt5 when saving preferences
Guillaume Munch [Sat, 11 Jun 2016 09:54:30 +0000 (10:54 +0100)]
Remove that pesky broken window that pops up with Qt5 when saving preferences

It turns out this show event is not necessary (tested with Qt4.8 and Qt5)

8 years agoAdd perf comment
Guillaume Munch [Sat, 11 Jun 2016 08:14:38 +0000 (09:14 +0100)]
Add perf comment

8 years agoToc: clean-up
Guillaume Munch [Thu, 2 Jun 2016 20:40:11 +0000 (21:40 +0100)]
Toc: clean-up

8 years agoReplace foreach with for
Guillaume Munch [Thu, 9 Jun 2016 20:54:31 +0000 (21:54 +0100)]
Replace foreach with for

C++11 allows foreach-style iterations with the following syntax:

for (auto & element : container) {
 ...
}

8 years agoclimits
Guillaume Munch [Sat, 11 Jun 2016 11:13:00 +0000 (12:13 +0100)]
climits

It's as you prefer, Jean-Marc.

8 years agorewrite 51a15c45
Guillaume Munch [Sat, 11 Jun 2016 07:21:38 +0000 (08:21 +0100)]
rewrite 51a15c45

Poor wording

8 years agoCmake build: Check for make_unique and PATH_MAX symbols added.
Kornel Benko [Sun, 12 Jun 2016 17:56:31 +0000 (19:56 +0200)]
Cmake build: Check for make_unique and PATH_MAX symbols added.

8 years agoUse iostream instead of sstream and move it from header to cpp-source of LyX-Server
Stephan Witt [Sun, 12 Jun 2016 11:03:06 +0000 (13:03 +0200)]
Use iostream instead of sstream and move it from header to cpp-source of LyX-Server

8 years agoWhen we use InPremable styles, we want to write as many versions
Richard Heck [Sun, 12 Jun 2016 04:58:33 +0000 (00:58 -0400)]
When we use InPremable styles, we want to write as many versions
to the premable as the user enters.

8 years agoAdd comments to fix coverity #23505 and 23507.
Richard Heck [Sun, 12 Jun 2016 04:34:35 +0000 (00:34 -0400)]
Add comments to fix coverity #23505 and 23507.

8 years agoAdd comment to fix coverity #111935.
Richard Heck [Sun, 12 Jun 2016 04:31:33 +0000 (00:31 -0400)]
Add comment to fix coverity #111935.

8 years agoFix coverity issue #127197.
Richard Heck [Sun, 12 Jun 2016 04:26:38 +0000 (00:26 -0400)]
Fix coverity issue #127197.

We may fail to get a buffer when we request one.

8 years agoAdd comment about coverity #102061.
Richard Heck [Sun, 12 Jun 2016 04:22:09 +0000 (00:22 -0400)]
Add comment about coverity #102061.

8 years agoAdd a check to please coverity.
Richard Heck [Sun, 12 Jun 2016 04:12:03 +0000 (00:12 -0400)]
Add a check to please coverity.

Fixes #23496.

8 years agoFix a number of other uninitialized members.
Richard Heck [Sun, 12 Jun 2016 03:39:45 +0000 (23:39 -0400)]
Fix a number of other uninitialized members.

Fixes coverity #23392, 23394, 23397, 23403, 23414, 23424,
23448, 23477.

8 years agoAdd comment to fix coverity #23438.
Richard Heck [Sun, 12 Jun 2016 03:47:54 +0000 (23:47 -0400)]
Add comment to fix coverity #23438.

8 years agoInitialize a bunch of uninitialized members. It does not seem to
Richard Heck [Sun, 12 Jun 2016 03:30:33 +0000 (23:30 -0400)]
Initialize a bunch of uninitialized members. It does not seem to
matter what they are initialized to. Fixes coverity #23391.

8 years agoAdd some comments to fix coverity #23386.
Richard Heck [Sun, 12 Jun 2016 03:26:02 +0000 (23:26 -0400)]
Add some comments to fix coverity #23386.

8 years agoFalse positive on coverity #23366.
Richard Heck [Sun, 12 Jun 2016 03:13:01 +0000 (23:13 -0400)]
False positive on coverity #23366.

8 years agoAdd a LATTEST, just in case this ever causes a problem.
Richard Heck [Sun, 12 Jun 2016 03:08:54 +0000 (23:08 -0400)]
Add a LATTEST, just in case this ever causes a problem.

Fixes coverity #23363.

8 years agoCheck to make sure we have a preview loader.
Richard Heck [Sun, 12 Jun 2016 03:03:15 +0000 (23:03 -0400)]
Check to make sure we have a preview loader.

Fixes coverity #23353.

8 years agoAdd comment fixing coverity #23351.
Richard Heck [Sun, 12 Jun 2016 03:01:21 +0000 (23:01 -0400)]
Add comment fixing coverity #23351.

8 years agoAdd comment about coverity #23335.
Richard Heck [Sun, 12 Jun 2016 02:59:01 +0000 (22:59 -0400)]
Add comment about coverity #23335.

8 years agoAdd comment to fix coverity #23308
Richard Heck [Sun, 12 Jun 2016 02:54:15 +0000 (22:54 -0400)]
Add comment to fix coverity #23308

8 years agoMake sure we have a buffer in VC_COMPARE.
Richard Heck [Sun, 12 Jun 2016 02:41:57 +0000 (22:41 -0400)]
Make sure we have a buffer in VC_COMPARE.

Fixes coverity #23304.

8 years agoAdd comment for coverity, fixing #23307.
Richard Heck [Sun, 12 Jun 2016 02:49:23 +0000 (22:49 -0400)]
Add comment for coverity, fixing #23307.

8 years agoMark a number of coverity false positives.
Richard Heck [Sun, 12 Jun 2016 02:38:57 +0000 (22:38 -0400)]
Mark a number of coverity false positives.

Fixes coverity #23284, 23285, 23286, 23287, 23289.

8 years agoAdd a comment and FIXME that lualatex can make DVI
Scott Kostyshak [Sat, 11 Jun 2016 21:05:28 +0000 (17:05 -0400)]
Add a comment and FIXME that lualatex can make DVI

The command 'lualatex' can produce a DVI with the option
--output-format=dvi
It is best to keep things as is because it is better to guess a PDF
than to guess a DVI (we do not use that feature of the 'lualatex'
command internally; we use 'dvilualatex' instead). However, we
should ideally get this information in a more robust way.

Thanks to Günter for pointing this out.

8 years ago* Math.lyx : add few maxima examples to ch. 23.1.
Pavel Sanda [Sat, 11 Jun 2016 18:23:39 +0000 (11:23 -0700)]
* Math.lyx : add few maxima examples to ch. 23.1.

8 years agoImprove comments and add missing decoding call
Georg Baum [Sat, 11 Jun 2016 12:45:18 +0000 (14:45 +0200)]
Improve comments and add missing decoding call

We do already fill the first line of the body in the first pass, so the body
has to be converted to the correct encoding as well.

8 years agofix #10199 Non-encodable characters with XeTeX and utf8-plain
Günter Milde [Sat, 11 Jun 2016 11:54:33 +0000 (13:54 +0200)]
fix #10199 Non-encodable characters with XeTeX and utf8-plain

XeTeX with TeX fonts is only safe with ASCII input encoding (see #9740)
and we therefore force "ascii" when exporting with XeTeX and 8-bit TeX-fonts.

However, "utf8-plain" is a "power-user" option, which allows to switch off LyX's
encoding of the LaTeX file:
keep this also for "XeTeX with TeX fonts".

The user is responsible to ensure all characters can be processed and are
correctly shown in the output. The provided test sample shows the problems
with this encoding without special measures (like loading fontspec in the
user-preamble or a document class).

8 years agoCmake build: Correct wrong comment
Kornel Benko [Sat, 11 Jun 2016 10:44:15 +0000 (12:44 +0200)]
Cmake build: Correct wrong comment

8 years agoCmake build: Determine availability of 'std::regex' if using clang compiler
Kornel Benko [Sat, 11 Jun 2016 10:23:33 +0000 (12:23 +0200)]
Cmake build: Determine availability of 'std::regex' if using clang compiler

8 years agoSome python 3 fixes for lyx2lyx
Georg Baum [Sat, 11 Jun 2016 09:06:11 +0000 (11:06 +0200)]
Some python 3 fixes for lyx2lyx

These were found by 2to3 and later adapted to use the compatibility code
which was already used in some parts of lyx2lyx, e.g. lyx_1_5.py.

8 years agoFix linking with std::regex and included boost
Georg Baum [Sat, 11 Jun 2016 08:09:48 +0000 (10:09 +0200)]
Fix linking with std::regex and included boost

8 years agoAdd missing includes after change to boost signals2
Stephan Witt [Sat, 11 Jun 2016 07:56:35 +0000 (09:56 +0200)]
Add missing includes after change to boost signals2

8 years agoDo not try to build an empty boost lib
Georg Baum [Sat, 11 Jun 2016 07:28:11 +0000 (09:28 +0200)]
Do not try to build an empty boost lib

This should fix a build failure on OS X:
Making all in boost
  AR       liblyxboost.a
  ar: no archive members specified

8 years agoSkip boost linking test if not needed
Georg Baum [Sat, 11 Jun 2016 07:20:16 +0000 (09:20 +0200)]
Skip boost linking test if not needed

We only link against boost libraries if we do not use std::regex.
Therefore, we do not need to test how to link against boost libs unconditionally.
Also, the warning regarding stdlib-debug is only needed if we link against boost.

8 years agoGet rid of boost signals in multithreading test
Georg Baum [Sat, 11 Jun 2016 07:04:50 +0000 (09:04 +0200)]
Get rid of boost signals in multithreading test

Test for regex instead since this is the only boost library we are linking against.

8 years agoFix silly error outputting math sizes. Fixes bug #10129.
Richard Heck [Sat, 11 Jun 2016 04:48:55 +0000 (00:48 -0400)]
Fix silly error outputting math sizes. Fixes bug #10129.