Commit Graph

20 Commits

Author SHA1 Message Date
Jean-Marc Lasgouttes
37e7333359 some other stuff that should have been removed from boost
Update extract.sh to remove more thoroughly old boost files (*.h, *.pl).
2020-12-20 18:12:46 +01:00
Jean-Marc Lasgouttes
dd21fae48c Remove signal2 from included boost
This is not necessary now that we use the nod library.
2020-12-14 18:40:58 +01:00
Jean-Marc Lasgouttes
d3036ca705 Boost.lexical_cast is not needed anymore.
As of 9348c5c6, we use std::to_string() instead.

This reduces the size of our boost copy by a couple of MB.
2020-12-11 11:08:47 +01:00
Jean-Marc Lasgouttes
d9c39232ac Reduce the amount of needed boost headers
boost/signals2.hpp is a convenience header, it seems that
boost/signals2/signal.hpp is enough for our needs.

This allows to get rid of 6MiB of header files in 3rdparty/boost (and
probably to speed-up compilation).
2020-12-09 14:50:18 +01:00
Jean-Marc Lasgouttes
3093789e8d remove most traces of boost::regex
1/ remove boost regex code from 3rdparty/boost. Only the cmake stuff remains.

2/ remove traces of BOOST_LIB since there is no need anymore to
   compile boost stuff.

3/ remove traces of boost regexp in config/lyxinclude.m4 and INSTALL

4/ require gcc 4.9 as minimal version in autoconf.

Unfortunately, the net gain is only 10% of included boost size (now 21M).
2020-11-28 19:59:17 +01:00
Jean-Marc Lasgouttes
09130d7a62 Update to boost 1.72
This requires to add a assertion_failed_msg handler. Take this
occasion to cleanup and uniformize the various boost.cpp files that we
have.

This adds 50k line of whatever to the source code.
2020-01-07 16:27:23 +01:00
Jean-Marc Lasgouttes
c40d23deac Update to boost 1.68
This avoids warnings from gcc 8
2018-11-23 16:14:23 +01:00
Jean-Marc Lasgouttes
ed09ccbc3c Update boost to 1.65.1 2017-09-12 11:37:36 +02:00
Kornel Benko
f4c3dc6668 Add the perl-mode-line for emacs to perl scripts 2016-12-03 11:39:28 +01:00
Jean-Marc Lasgouttes
46c6f4de67 Update local boost version to version 1.62
This avoids some warnings with gcc6.
2016-10-19 17:33:41 +02:00
Georg Baum
d32f8f326a 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.
2016-06-15 22:21:21 +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
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
Jean-Marc Lasgouttes
5ee778af75 Remove support/metahash.h
It turns out that it did not take off since introduced in 2011. It is better to remove it and the associated boost headers (extract.sh was run against boost 1.60 to do the update).

Since we will move away from several boost classes when transitioning to C++11, it is good to start by removing lesser used ones.
2016-05-29 17:55:45 -04:00
Jean-Marc Lasgouttes
68a1f9a44e Do not use of boost::tokenizer
It is easier to use instead getVectorFromString for the use we have of this tokenizer. The two places are environment.cpp (path stuff) and qt_helpers (file fileters). The new code is much shorter.

This allow to remove boost/tokenizer.hpp and friends from our boost tree.
2016-05-29 17:55:45 -04:00
Jean-Marc Lasgouttes
87d4ce0ff7 Remove boost/format support
Only ChkTex.cpp used it, whereas the rest of our code uses the simpler bformat.
2016-05-29 17:55:45 -04:00
Peter Kümmel
bd74a15ebd update boost to 1.60 2015-12-20 14:04:54 +01:00
Peter Kümmel
b7a3831289 move boost to 3rdparty directory 2015-12-20 12:49:10 +01:00