Vladimir Prus
956bfb8dd6
Unreak compilation with Python support.
...
[SVN r84083]
2013-04-29 11:00:25 +00: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
dddeab8810
Enable /GL. It seems to help about 10%.
...
[SVN r83921]
2013-04-15 23:48:28 +00:00
Steven Watanabe
840dff3727
Eliminate some extra list_copy/INSTR_POPs.
...
[SVN r83920]
2013-04-15 23:30:36 +00:00
Steven Watanabe
700087b6cb
Small optimization for [ on target return var ].
...
[SVN r83919]
2013-04-15 22:55:49 +00:00
Steven Watanabe
f9c3758b83
Skip searching inside non-existant directories.
...
[SVN r83892]
2013-04-14 02:40:08 +00:00
Steven Watanabe
2402d57e65
Revert [80304]. It's badly broken. (a) the buffer size is wrong, and (b) strncpy is the wrong function here.
...
[SVN r83889]
2013-04-14 00:09:21 +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
43a8ec898f
Fix valgrind errors
...
[SVN r83886]
2013-04-13 22:34:45 +00:00
Steven Watanabe
3f5c9749a7
Separate the code for recording explicit bindings from search.
...
[SVN r83858]
2013-04-12 20:36:52 +00:00
Steven Watanabe
2a75a35f2e
Implement sequence.transform as a native rule.
...
[SVN r83855]
2013-04-11 22:55:25 +00:00
Steven Watanabe
5246c76b45
Add the size of the hash object itself to the profiling output.
...
[SVN r83853]
2013-04-11 22:52:16 +00:00
Steven Watanabe
67a4c83e87
Avoid creating the hash in an object when it isn't needed.
...
[SVN r83834]
2013-04-10 18:50:33 +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
f7ca478bdd
Adjust regex to improve performance.
...
[SVN r83821]
2013-04-09 19:25:12 +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
62b79b8ebe
Special case for $(x:G)
...
[SVN r83812]
2013-04-08 17:40:28 +00:00
Steven Watanabe
8980ef13e8
Simplify string_append.
...
[SVN r83809]
2013-04-08 15:15:50 +00:00
Steven Watanabe
adb5c7ffda
Reduce property-set memory usage.
...
[SVN r83779]
2013-04-06 20:55:25 +00:00
Steven Watanabe
813552d5ce
Fix the return status when updating targets that have failed in a prior call to UPDATE_NOW.
...
[SVN r83778]
2013-04-06 17:18:20 +00:00
Steven Watanabe
7850bae328
Add missing object_copy. Refs #8283 .
...
[SVN r83630]
2013-03-29 16:39:26 +00:00
Steven Watanabe
94de4748d9
Don't reset -q after calling UPDATE_NOW with ignore-minus-n
...
[SVN r83629]
2013-03-29 15:41:19 +00:00
Steven Watanabe
2a4cd854da
Prevent incorrect reordering with xlc -qalias=ansi. Fixes #7093 .
...
[SVN r83408]
2013-03-11 17:23:07 +00:00
Vladimir Prus
6e660c615c
Don't include wait.h on Linux.
...
The function we use are all supposed to be in sys/wait.h
Fixes #7847 .
[SVN r82549]
2013-01-19 12:02:57 +00:00
Jurko Gospodnetić
cc67036dab
Internal Boost Jam pwd.c module cleanup - module renamed to cwd.c, refactored to initialize the current working folder at program startup and exit if this operation fails instead of attempting to plow on with an empty current working folder, the internal cwd() operation now returns an OBJECT instead of a LIST pointer so it would be more generic and not specialized just for the PWD builtin rule implementation.
...
[SVN r80373]
2012-09-03 14:31:46 +00:00
Jurko Gospodnetić
a1d23db44c
Internal Boost Jam cleanup - corrected the make1.c module's make1cmds() function description comment to note that the commands it creates have already had any variable references embedded in them processed instead of still needing processing using some no longer existing var_string() function.
...
[SVN r80322]
2012-08-30 14:07:42 +00:00
Jurko Gospodnetić
8694e1fc85
Replaced a goto based loop construct with a while loop in Boost Jam function.c module's expand() function to avoid a gcc 4.6.0 compiler optimizer bug on Linux (not reproducible using later GCC releases, and never reported on other OSs).
...
The bug was causing the inner while loop to be completely ignored, effectively causing concatenated Jam variable expansions to ignore all but the first variable value. For example, the following code:
local a = one two ;
ECHO /$(a)/ ;
would output '/one/' instead of '/one/ /two/'.
Kudos to Kim Rasmussen <rasmussen74 at gmail dot com> for detecting and helping debug & test the issue.
[SVN r80319]
2012-08-30 10:39:31 +00:00
Jurko Gospodnetić
57a424c5f7
Internal Boost Jam cleanup - function.c module's expand() function cleaned up a bit (used to resolve concatenated variable references in Jam scripts).
...
[SVN r80313]
2012-08-29 21:27:07 +00:00
Jurko Gospodnetić
cfb54c8213
Internal Boost Jam cleanup - minor stylistic changes.
...
[SVN r80305]
2012-08-29 16:18:06 +00:00
Jurko Gospodnetić
8de03be9b2
Boost Jam cleanup on Linux/Free-BSD - replaced strndup() usage with malloc()/strncpy() as strndup() does not get declared in older glibc version header files unless some version specific symbols are defined first. This corrects a compiler warning on such systems about strndup() function being implicitly (and incorrectly) declared.
...
[SVN r80304]
2012-08-29 15:52:29 +00:00
Jurko Gospodnetić
b0ca3e7add
Internal Boost Jam cleanup - minor stylistic changes (corrected header include order, removed stale function comment, empty line added).
...
[SVN r80302]
2012-08-29 15:04:59 +00:00
Jurko Gospodnetić
982ad4011f
Internal Boost Jam cleanup - minor stylistic changes.
...
[SVN r80301]
2012-08-29 13:24:05 +00:00
Jurko Gospodnetić
264d45de40
Internal Boost Jam cleanup - split up the pathunix.c module into pathsys.c, pathunix.c & pathnt.c.
...
[SVN r80278]
2012-08-28 12:52:27 +00:00
Jurko Gospodnetić
321b4c2839
Corrected a 'dropping qualifiers' compiler warning displayed when compiling Boost Jam's fileunix.c module using the intel compiler.
...
[SVN r80260]
2012-08-27 11:41:15 +00:00
Jurko Gospodnetić
f31fadaf3c
Added a missing header #include in Boost Jam's mem.h header used when compiling with memory allocation profiling support. Fixes related 'implicitly declared profile_memory() function' gcc compilation warnings.
...
[SVN r80259]
2012-08-27 11:16:04 +00:00
Jurko Gospodnetić
de075ac79c
Internal Boost Jam cleanup - minor stylistic changes in Boost Jam's mem.h header.
...
[SVN r80258]
2012-08-27 11:13:57 +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ć
9cdbf9684b
Corrected a gcc compilation warning displayed when compiling Boost Jam's fileunix.c module.
...
[SVN r80256]
2012-08-27 10:57:16 +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ć
2930bedb93
Corrected a '&& within ||' gcc warning displayed when building Boost Jam's make1.c module.
...
[SVN r80253]
2012-08-27 10:26:35 +00:00
Jurko Gospodnetić
d8a2486640
Corrected a 'OBJECT * to char *' gcc compilation warning in Boost Jam's function.c module.
...
[SVN r80252]
2012-08-27 10:20:22 +00:00
Jurko Gospodnetić
2ba303d950
Boost Jam update to remove a 'pointer to integer of different size' warning displayed when building using the mingw64 toolset.
...
[SVN r80251]
2012-08-27 10:07:54 +00:00
Jurko Gospodnetić
6999e2eb1a
Internal Boost Jam cleanup - minor stylistic changes (added variable const modifiers).
...
[SVN r80250]
2012-08-27 10:06:41 +00:00
Jurko Gospodnetić
65d261d379
Added two missing header includes in Boost Jam's class.c module. Should fix warnings displayed when building using the mingw64 toolset about printf() and abort() functions having 'invalid implicit declarations'.
...
[SVN r80249]
2012-08-27 09:52:45 +00:00
Jurko Gospodnetić
78e6ce6abd
Internal Boost Jam cleanup - minor stylistic change.
...
[SVN r80232]
2012-08-26 09:20:42 +00:00
Jurko Gospodnetić
3dd47e7208
Updated Boost Jam's internal build system to correctly recognize header changes when using same-named headers located in different folders.
...
[SVN r80208]
2012-08-25 16:09:31 +00:00
Jurko Gospodnetić
8e74ae24ea
Internal Boost Jam build cleanup - minor stylistic changes.
...
[SVN r80207]
2012-08-25 16:06:32 +00:00