2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-16 01:12:13 +00:00
Commit Graph

63 Commits

Author SHA1 Message Date
Rene Rivera
c9cc1ae2ed Replace refs to boost.org witth bfgroup.xyz. 2021-02-20 21:35:16 -06:00
René Ferdinand Rivera Morell
84666e77fa 64/32 bit compile working by using int32 types as needed. 2020-09-09 09:46:08 -05:00
Nikita Kniazev
60270e4322 Missing import in property-set.create (#611) 2020-05-19 19:43:12 -05:00
Rene Rivera
3595602a14 Big rename from Boost.Build to B2. 2020-03-09 11:08:48 -05:00
Rene Rivera
e115f07729 Clean up build warnings (gcc & clang). 2020-02-24 22:10:15 -06:00
Andrey Semashev
146ab9a227 Renamed strings.h to jam_strings.h to distinguish from POSIX strings.h. (#476)
Some system headers on POSIX systems indirectly include strings.h in extern "C"
region. This sometimes results in Boost.Build's strings.h being included into
such region, which marks all string_* functions as extern "C" and changes their
name mangling rules accordingly, which causes linking errors. To resolve this
header conflict, this commit renames strings.h to jam_strings.h. And strings.cpp
to jam_strings.cpp for consistency.

Fixes https://github.com/boostorg/build/issues/468.
2019-09-10 22:25:12 -05:00
Rene Rivera
0c1e3a7689 Rename to cpp files and add dev builds of b2. 2019-04-07 15:17:30 -05:00
Rene Rivera
418c7b0bbb Merge remote-tracking branch 'origin/develop' into feature/cxx 2019-04-03 21:53:55 -05:00
Steven Watanabe
e7a54aadeb Handle zero-length matches in regex.split and fix their handling in regex.replace for non-empty strings. 2019-04-03 14:49:11 -06:00
Steven Watanabe
304dcb656e Handle empty matches in regex.replace. Fixes #421. 2019-04-03 11:29:34 -06:00
Rene Rivera
698aac70d5 Minimal changes to compile with C++.
These are some minimal changes to compile with C++. Here begins
the road to rewriting the bjam engine in C++. So far this is only built
and tested with XCode clang on OSX.
2018-10-20 17:36:10 -05:00
Alexander Karzhenkov
48e9017139 Fix compiler warnings about deprecated language features (#238) 2017-10-28 22:50:55 -05:00
Steven Watanabe
aaeedea9cc Fix a leak and a missing copy when building with the global string table disabled. 2016-03-04 12:28:42 -07:00
Steven Watanabe
30d35ce80d Make order stable. This restores the old behavior of printing includes in alphabetical order. When I added the topological sort for includes, it caused directories with no constraints to be printed in reverse alphabetical order under some circumstances. This broke existing users who relied on the original order. While I believe that users should not depend on any order for include directories that is not explicitly stated, I'd rather not gratuitously break such uses. This is especially true since explicitly ordered includes only worked in the simplest cases prior to my topological sort patch. 2015-02-28 14:16:34 -07:00
Steven Watanabe
061f998f43 Optimize member function calls to use less string manipulation.
[SVN r83937]
2013-04-16 23:54:54 +00:00
Steven Watanabe
1f1f57dd08 Optimize generator.match-rank
[SVN r83933]
2013-04-16 20:48:13 +00:00
Steven Watanabe
24e81a0202 Don't create a separate timestamp table. The file table already contains everything we need.
[SVN r83888]
2013-04-13 23:09:57 +00:00
Steven Watanabe
2a75a35f2e Implement sequence.transform as a native rule.
[SVN r83855]
2013-04-11 22:55:25 +00:00
Steven Watanabe
d9edc2aae8 Make property-set.get a native-rule. Use a binary search instead of creating a hash table. Reduces memory usage by 20% in trunk/status.
[SVN r83826]
2013-04-09 22:16:35 +00:00
Steven Watanabe
0009cda003 Optimize property-set initialization by reducing passing of large lists.
[SVN r83825]
2013-04-09 21:07:47 +00:00
Steven Watanabe
f72b3ad06b Implement native_rules for regex.split and regex.replace.
[SVN r83816]
2013-04-08 19:43:36 +00:00
Steven Watanabe
adb5c7ffda Reduce property-set memory usage.
[SVN r83779]
2013-04-06 20:55:25 +00:00
Steven Watanabe
7850bae328 Add missing object_copy. Refs #8283.
[SVN r83630]
2013-03-29 16:39:26 +00:00
Jurko Gospodnetić
b9da1c3b32 Internal Boost Jam cleanup - minor stylistic changes in Boost Jam's modules/regex.c module.
[SVN r80257]
2012-08-27 11:07:03 +00:00
Jurko Gospodnetić
881e34dacc Corrected a 'undeclared atoi() function' gcc compiler warning displayed when compiling Boost Jam's modules/sequence.c module.
[SVN r80255]
2012-08-27 10:45:44 +00:00
Jurko Gospodnetić
2653c821d8 Internal Boost Jam cleanup - minor stylistic changes in Boost Jam's modules/sequence.c module.
[SVN r80254]
2012-08-27 10:41:52 +00:00
Jurko Gospodnetić
82238200d9 Boost Jam cleanup - minor stylistic change.
[SVN r80185]
2012-08-25 02:48:47 +00:00
Jurko Gospodnetić
b06d94e6e3 Boost Jam cleanup - updated #include directives in the modules/path.c module.
[SVN r80032]
2012-08-14 13:00:37 +00:00
Jurko Gospodnetić
243b18b105 Boost Jam cleanup - minor stylistic changes.
[SVN r80031]
2012-08-14 12:56:10 +00:00
Jurko Gospodnetić
35f4195ec7 Boost Jam cleanup - cleaned up some header includes, minor stylistic changes.
[SVN r79672]
2012-07-22 14:53:50 +00:00
Jurko Gospodnetić
c16ae1c68a Boost Jam/Build cleanup - minor stylistic changes (comment updates; line wrapping; removed some dead/unused function declarations, parameters & code; declared variables as const; reordered some #include directives alphabetically, removed some unnecessary ones and added several missing ones discovered by the reordering).
[SVN r79569]
2012-07-17 08:56:49 +00:00
Jurko Gospodnetić
3736a64fd6 Boost Jam code cleanup - wrapped up timestamp values inside a timstamp structure instead of using a raw time_t value as another preparation step towards implementing support for timestamps with resolution finer than 1 second. All timestamp manipulation now done using the new timestamp_XXX() API.
File timestamps displayed with -d+3 debug output now presented in UTC (+0000) timezone.

Other related minor stylistic changes:
  - timestamp_from_target() renamed to timestamp_from_path()
  - timestamp_from_target() parameter order switched
  - comment updates
  - added some const function parameter modifiers
  - some header #include directives reordered alphabetically

[SVN r79501]
2012-07-14 16:11:16 +00:00
Jurko Gospodnetić
0a656de095 Boost Jam code cleanup - cleaned up the timestamp.c module identifiers and better commented its functions.
[SVN r79489]
2012-07-13 23:14:40 +00:00
Jurko Gospodnetić
1791d078cc Boost Build/Jam cleanup - stylistic code changes.
[SVN r79244]
2012-07-03 15:58:26 +00:00
Steven Watanabe
8db046a1f4 Make list_new take one argument. Rename the two argument form to list_push_back.
[SVN r77522]
2012-03-24 23:03:10 +00:00
Steven Watanabe
3599b1926b Remove the first argument of list_copy, since it's always L0.
[SVN r77510]
2012-03-23 22:30:33 +00:00
Steven Watanabe
60d66ca888 Use dynamic arrays instead of linked lists. Reduces memory use about 10% overall.
[SVN r77408]
2012-03-19 18:17:36 +00:00
Steven Watanabe
77f10e6561 Clean up the evil 'variables of the running module are swapped with the global variable table' hack.
[SVN r75912]
2011-12-12 02:02:20 +00:00
Steven Watanabe
da9410adc1 Reimplement the interpreter.
[SVN r75736]
2011-11-30 00:00:35 +00:00
Steven Watanabe
ea1a2928d2 Replace newstr with object. Use OBJECT * instead of char *. Fix a few bugs uncovered by the better typechecking.
[SVN r75609]
2011-11-22 23:04:09 +00:00
Steven Watanabe
86278a4624 Fix memory leaks. Make sure that newstr and copystr are always used as needed.
[SVN r75502]
2011-11-16 03:00:54 +00:00
Vladimir Prus
7df1f2f4af Kill 'engine/src', moving all content to 'engine'.
[SVN r68592]
2011-02-01 08:16:47 +00:00
Vladimir Prus
0f77dbdae2 Move tools/jam into tools/build/v2/engine
[SVN r64010]
2010-07-14 10:37:12 +00:00
Rene Rivera
f2d1d169b8 Minor edits to remove -Wall warnings. (fixes 2207)
[SVN r48994]
2008-09-29 00:05:22 +00:00
Jurko Gospodnetić
9c6f90696b Removed trailing spaces and some empty lines.
[SVN r42492]
2008-01-05 18:29:36 +00:00
Rene Rivera
f4efe8b540 Cleanup memory allocation calls to use macros defined in new mem.h header. This new header will handle configuration of both memory allocator to use, and memory profiling.
[SVN r35029]
2006-09-07 03:57:02 +00:00
Rene Rivera
eed0cf6cc3 Variety of performance improvements.
* bjam; bump to version 3.1.12
* bjam; make it possible to build in MinGW/MSYS shell
* bjam; move profile code to debug.h/c to make it available for use everywhere
* bjam; cache all filesystem query operations, Unix and Windows only, include PWD and scanning
* bjam; add memory profile info, and sprinkle throught code
* bbv2; rewrite some while() loops into for() loops to reduce time and memory
* bbv2; keep a single instance counter instead of one per type to reduce memory use
* bjam+bbv2; change NORMALIZE_PATH builtin to join path parts to reduce memory use


[SVN r31177]
2005-10-03 00:47:36 +00:00
Vladimir Prus
1fa3a7afab Enable native version of regex.transform.
[SVN r31141]
2005-09-28 14:28:46 +00:00
Vladimir Prus
991fbd2399 Implement versioning for native rules. This allows to change interface of
a native rule and have Boost.Build detect that and produce nice error, as
opposed to obscure one.


[SVN r31140]
2005-09-28 14:09:58 +00:00
Vladimir Prus
0a31772f1c BSL
[SVN r25055]
2004-09-13 16:19:19 +00:00