Stephan Witt
e8b15b5f0c
Add missing includes after change to boost signals2
2016-06-11 09:56:35 +02:00
Georg Baum
d67a8cb212
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
2016-06-11 09:28:11 +02:00
Georg Baum
cf1e08f7f7
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.
2016-06-11 09:20:16 +02:00
Georg Baum
7293fc7b66
Get rid of boost signals in multithreading test
...
Test for regex instead since this is the only boost library we are linking against.
2016-06-11 09:04:50 +02:00
Richard Heck
bb5c760b37
Fix silly error outputting math sizes. Fixes bug #10129 .
2016-06-11 00:49:21 -04:00
Guillaume Munch
ab41c1d1ac
Fix bug #10119
...
This makes Qt 5.4 as usable as Qt 5.5.1 in my experience. Otherwise, fix again
INSTALL.
2016-06-11 05:42:43 +01:00
Guillaume Munch
51a15c4569
Clarify Qt requirements for 2.3
...
As discussed on the list. If the needs to drop Qt 4.8 arises, then this should
be discussed again.
2016-06-11 05:25:34 +01:00
Guillaume Munch
8e4648f38c
Add missing header
...
Spotted by jkulesza
2016-06-11 05:08:23 +01:00
Richard Heck
9d5ffa8e75
Restore last selected label when using the "go to label" feature
...
of the reference dialog.
2016-06-10 18:19:46 -04:00
Kornel Benko
f792837531
Cmake build: Finetune some destination data paths on UNIX
2016-06-10 13:40:38 +02:00
Jean-Marc Lasgouttes
6f585055d9
Allow to disable std::regex manually with autoconf
...
Update INSTALL and remove mention of --disable-cxx11.
2016-06-10 12:01:53 +02:00
Georg Baum
2047ea5eb4
Replace Boost.Signals with Boost.Signals2
...
Boost.Signals is deprecated. This fixes bug #9943 .
The only thing left to do is to rewrite (or get rid of) the boost -mt test
in config/lyxinclude.m4 not to use signals anymore.
2016-06-09 22:25:34 +02:00
Georg Baum
fe86240d64
Rerun extract.sh to get rid of more boost
...
After the latest changes we require less parts of boost, but unfortunaly the
effect is only small.
2016-06-09 20:47:19 +02:00
Guillaume Munch
e87febd0de
Exercise: simplify the definition of IconvProcessor
...
It is no longer needed to create fake copy constructors and assignment and to
deal with deletion by hand, thanks to unique_ptr, the inference of move
constructor and assignment operator, and the compatibility of standard
containers with movable objects.
2016-06-09 19:16:44 +01:00
Guillaume Munch
8d640dc776
Remove non-copyable idioms
...
Two better ways of making a class non-copyable in C++11:
* Store the p. impl. in a unique_ptr (for the cases of classes with p. impl.),
or:
* Define publicly the copy constructor and assignment as deleted
Lots of other classes could be cleaned up in this way.
2016-06-09 19:16:44 +01:00
Guillaume Munch
973618e1c1
Missing headers
...
Found by Jean-Marc
2016-06-09 19:16:44 +01:00
Jean-Marc Lasgouttes
725c66d20c
Initialize GuiDocument:biblioChanged_ in constructor
...
Found by Coverity
2016-06-09 17:38:30 +02:00
Jean-Marc Lasgouttes
664fca5566
Initialize correctly SystemcallPrivate in constructor
...
It seems that Error is the best possibility when nothing has been done yet.
Found by Coverity
2016-06-09 17:34:14 +02:00
Jean-Marc Lasgouttes
7800c05788
Initialize bool member of Package in default constructor
...
Found by Coverity
2016-06-09 17:26:55 +02:00
Jean-Marc Lasgouttes
ab40fe6f05
Initialize properly InsetTabular members in constructor
...
Found by Coverity
2016-06-09 17:23:27 +02:00
Jean-Marc Lasgouttes
0f5c34b8ab
Initialize Parse::theCatCode_ in constructor
...
Normally, it is done before tokenizing, but it does not hurt to do it
even before.
Found by Coverity.
2016-06-09 17:11:41 +02:00
Jean-Marc Lasgouttes
76f45b351d
Initialize FindAndReplaceOptions in default constructor
...
Found by coverity
2016-06-09 17:06:21 +02:00
Jean-Marc Lasgouttes
bad511f3fe
Initialize correctly GuiErrorList::from_master_ in constructor
...
Found by Coverity
2016-06-09 16:58:13 +02:00
Jean-Marc Lasgouttes
102e6340e5
Initialize InsetExteralParams::preview_mode in constructor
...
The value PREVIEW_OFF is the same default as for external::Template.
Found by Coverity
2016-06-09 16:51:07 +02:00
Jean-Marc Lasgouttes
e3d74ee935
Initialize GuiSendto::format_ in constructor
...
Found by Coverity.
2016-06-09 16:44:56 +02:00
Jean-Marc Lasgouttes
a0c2328fd6
Always initialize InsetQuote language in constructor
...
Found by Coverity
2016-06-09 16:42:24 +02:00
Jean-Marc Lasgouttes
c056062d59
Initialize some GuiTabular members in constructor
...
Found by Coverity.
2016-06-09 16:38:32 +02:00
Jean-Marc Lasgouttes
020a890f42
Initialize ScopeBuffer::buffer member in constructor
...
Found by Coverity.
2016-06-09 16:34:25 +02:00
Jean-Marc Lasgouttes
4f795bd309
Initialize LyXModule::available_ in constructor
...
Found by Coverity.
2016-06-09 16:26:07 +02:00
Guillaume Munch
b95b77c631
Replace boost::tuple with std::tuple
2016-06-09 15:21:39 +01:00
Guillaume Munch
b032e2dfaf
Replace support/shared_ptr.h and boost::shared_ptr with std::shared_ptr
...
shared_ptrs now only require the <memory> header.
2016-06-09 15:21:39 +01:00
Guillaume Munch
ca8709aaf5
Replace boost::scoped_ptr with unique_ptr
2016-06-09 15:21:39 +01:00
Guillaume Munch
a73f2e6eb6
Autotools: restore deprecation warning
...
-Wno-deprecated-declarations was added at 314a121c
.
2016-06-09 15:21:39 +01:00
Guillaume Munch
557975a8de
Replace auto_ptr with unique_ptr
...
This is a mechanical replacement. For now it seems that unique_ptrs are
essentially used for exception-safety. More could certainly be done to clarify
pointer ownership in general.
2016-06-09 15:21:39 +01:00
Guillaume Munch
af5f69cea7
unique_ptr and make_unique
2016-06-09 15:21:39 +01:00
Jean-Marc Lasgouttes
af6a164e3c
Initialize all MathMacroTemplate members in constructors
...
Found by coverity.
2016-06-09 16:19:31 +02:00
Jean-Marc Lasgouttes
8cd8080322
Please Coverity (code should be equivalent)
...
The parameter passed to allowDisplayMath will need to be copied, so it
made sense to pass it by value. Since Coverity complains about that,
the code is rewritten to make the copy explicit.
2016-06-09 16:02:39 +02:00
Jean-Marc Lasgouttes
731dbddd11
Annotate source code to please coverity
...
This code is signalled as a copy and paste error, but it is a false
positive.
According to the documentation, adding a comment starting with
// coverity[name_of_error]
should be enough to flag the false positive.
2016-06-09 15:51:07 +02:00
Jean-Marc Lasgouttes
5e5440f2f3
Fix right_boundary properly after a row is shortened
...
Instead of resetting it to false, do a proper test to see whether
there is a separator at the end of the row.
Fixes bug #10180 .
2016-06-09 10:48:15 +02:00
Pavel Sanda
3f4901de9c
Improve build for FreeBSD.
...
Patch from Shankar Giri Venkita Giri.
2016-06-08 19:33:08 -07:00
Uwe Stöhr
3433888046
Win installer: new version with Qt 5.6.1
...
- the update to JabRef 3.4 which fixes installation problems if user has no admin privileges
- also update MiKTeX and ImageMagick
2016-06-09 02:14:28 +02:00
Georg Baum
e93013057f
Add missing backslashes
...
Found by 2to3, but useful for python2 as well for consistency reasons.
2016-06-08 22:17:14 +02:00
Georg Baum
d0aa7d24ab
Make scripts python3 compatible
...
Again using 2to3 and manual checking
2016-06-08 20:02:33 +02:00
Georg Baum
73a5e423bd
Make configure.py python3 compatible
...
This was done using 2to3 and manual tweaking afterwards to ensure that it
works with python2 as well.
2016-06-08 19:29:15 +02:00
Georg Baum
7328cc0cc0
Make commented code python3 compatible
2016-06-08 18:41:57 +02:00
Kornel Benko
8019732b39
Cmake build: Check for QPA_XCB when QT_USES_X11 is known
...
Since QT_USES_X11 is determined in ConfigureChecks
we have to check after this call
2016-06-08 09:21:48 +02:00
Georg Baum
8a20f4b394
Mention C++11 requirement in INSTALL
...
Thanks to Scott and Jean-Marc for pointing that out, I forgot it.
2016-06-07 22:29:38 +02:00
Georg Baum
3611d90ffe
We do not use the provided MSVC proj files
2016-06-07 22:19:10 +02:00
Georg Baum
7d558d3e2a
Remove boost::typeof
...
Jean-Marc found out that we do not need it.
2016-06-07 22:10:49 +02:00
Georg Baum
2a3efc1585
Update boost to version 1.61
...
I updated using the new extract script. This gets rid of boost::bind, but the
other parts are still needed internally.
2016-06-07 21:14:12 +02:00