Commit Graph

42 Commits

Author SHA1 Message Date
Jean-Marc Lasgouttes
84b5fbe326 Get rid of boost/any, use <any> instead
We can do that now that we rely on c++17.

Take this occasion to upgrade boost to version 1.83.

The 3rdparty/boost directory weights now 1MB instead of 2.3MB.
2024-10-22 17:47:15 +02:00
Jean-Marc Lasgouttes
2712c9807e Update to boost 1.81 2023-02-02 10:56:46 +01:00
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
7835983560 Cleanup extract.sh
Add new option --report to create an HTML report (shows dependencies
at the end).
2020-12-10 12:35:00 +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
Kornel Benko
a839b40358 Cmake build: Remove obsolete cmake control files 2020-12-03 02:46:48 +01:00
Kornel Benko
a171c651a6 Revert "Amend 3093789e for cmake build"
This reverts commit b3d43404f4.
2020-11-30 10:19:22 +01:00
Jean-Marc Lasgouttes
84412ff198 Small fixes to extract.sh
The libs/ directory is not relevant anymore.
2020-11-29 21:41:27 +01:00
Jean-Marc Lasgouttes
7dad35b0f8 remove some useless things from 3rdparty/boost
Remove

1/ the libs/ directory

2/ the CMakeList.txt file, since it only mentions this directory

3/ the cstdint.hpp file in extract.sh, since we do not use this header
   file directly (should not make a difference, boost uses it in other
   places).

Update boost/Makefile.am accordingly.
2020-11-29 19:29:56 +01:00
Jean-Marc Lasgouttes
f53a205720 Revert "Remove 3rdparty/boost/Makefile.am"
This reverts commit 125ed160d6.
2020-11-29 19:14:40 +01:00
Kornel Benko
125ed160d6 Remove 3rdparty/boost/Makefile.am 2020-11-29 10:22:16 +01:00
Kornel Benko
b3d43404f4 Amend 3093789e for cmake build 2020-11-29 10:04:54 +01:00
Jean-Marc Lasgouttes
cede08451e Fix make dist 2020-11-28 23:43:36 +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
Yuriy Skalko
f3ec89cfa1 Always use std::regex
Since now minimum supported GCC is 4.9.
2020-11-27 12:39:59 +02: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
dd8fd3d90a Get rid of monolithic build support for autoconf
It is not useful anymore on modern machines with several cores.
2018-08-30 11:35:37 +02: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
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
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
b95b77c631 Replace boost::tuple with std::tuple 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
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
Georg Baum
bdbe81be15 Remove unneeded files from extract.sh
We do require less files from boost now.
2016-06-07 21:10:19 +02:00
Jean-Marc Lasgouttes
d0a318c742 We do not use <boost/scoped_array.hpp> anymore
The code using it  was removed at 81959251.
2016-05-29 17:55:45 -04: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
fc459bd977 files are already part of boost 2016-02-16 11:00:34 +01:00
Peter Kümmel
6de524e6cf Add missing boost files to source package
and remove Visual Studio files, we build with CMake on Windows.
2016-02-13 19:03:42 +01:00
Peter Kümmel
bd74a15ebd update boost to 1.60 2015-12-20 14:04:54 +01:00
Peter Kümmel
3c3141dc23 3rdparty/boost: build with cmake 2015-12-20 13:41:00 +01:00
Peter Kümmel
b7a3831289 move boost to 3rdparty directory 2015-12-20 12:49:10 +01:00