2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-14 00:32:11 +00:00
Commit Graph

51 Commits

Author SHA1 Message Date
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
Dave Abrahams
030362de06 Added missing return value in order.c
[SVN r22565]
2004-03-30 19:53:34 +00:00
Vladimir Prus
2d883c64d5 Optimize library ordering by native rules.
[SVN r22281]
2004-02-16 08:30:13 +00:00
Vladimir Prus
0da0a2e3a4 Disable order-sensitive properties for a while. They cause performance
degradation that should be investigated.


[SVN r22145]
2004-02-03 08:36:46 +00:00
Vladimir Prus
93c3c932e2 Instroduce order-sensitive properties.
* build/feature.jam: New feature attribute 'order-sensitive'.

* jam_src/modules/property-set.c: (property_set_create): Don't sort
  order-sensitive attributes.


[SVN r22132]
2004-02-02 13:12:30 +00:00
Vladimir Prus
528962d877 Refactorings.
* jam_src/compile.c
  (call_rule): New function.

* jam_src/modules/property-set.c
  (property_set_create): Use 'call_rule'.


[SVN r22131]
2004-02-02 11:50:31 +00:00
Toon Knapen
8f3b069f3f changed C++ style comment into C-style comment (port to IBM)
[SVN r21290]
2003-12-16 14:32:09 +00:00
Dave Abrahams
832bb396db Fix up C++-isms in C code.
[SVN r21239]
2003-12-12 16:26:23 +00:00
Vladimir Prus
a2c0c53947 Make 'sequence.select-highest-ranked' native.
[SVN r21217]
2003-12-11 09:02:01 +00:00
Vladimir Prus
07804f53ee Huh, memory management is jam is tricky.
[SVN r21209]
2003-12-10 15:28:30 +00:00
Vladimir Prus
575e4a7d4d Forgotten file
[SVN r21208]
2003-12-10 15:06:00 +00:00
Vladimir Prus
74741e6864 Add native version of 'regex.transform'. The rule is used during header
scanning, so should be as fast as possible.


[SVN r21205]
2003-12-10 11:29:09 +00:00
Vladimir Prus
62aeee6f78 The 'path.exists' rule is now native.
[SVN r21201]
2003-12-10 08:27:21 +00:00