Jurko Gospodnetić
7d04f4337b
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ć
fa83c5cb72
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ć
b9275ad6b6
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ć
420ce08c9a
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ć
811c96788b
Internal Boost Jam cleanup - minor stylistic changes (added variable const modifiers).
...
[SVN r80250]
2012-08-27 10:06:41 +00:00
Jurko Gospodnetić
bbd525da3c
Boost Jam cleanup - minor stylistic changes.
...
[SVN r80113]
2012-08-21 15:43:30 +00:00
Jurko Gospodnetić
89049659bc
Minor stylistic changes (added const modifiers in a couple of places).
...
[SVN r79842]
2012-08-02 09:16:34 +00:00
Jurko Gospodnetić
3363c5a4e9
Boost Jam cleanup - minor stylistic changes.
...
[SVN r79673]
2012-07-22 15:43:04 +00:00
Jurko Gospodnetić
fa43d8fa93
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ć
7c5dac15be
Boost Build/Jam cleanup - stylistic code changes.
...
[SVN r79244]
2012-07-03 15:58:26 +00:00
Jurko Gospodnetić
7979cd5012
Boost Jam code cleanup - updated Python related implementation to use the more efficient PyString_AS_STRING() API instead of PyString_AsString() when we already know we are passing it a valid Python string object.
...
[SVN r79070]
2012-06-25 00:59:47 +00:00
Jurko Gospodnetić
d4e6d5a5a0
Updated Boost Jam's Cygwin-to-Windows path conversion implementation to use the new cygwin_conv_path() API introduced in Cygwin 1.7 when building using a new enough Cygwin version headers. This avoids depreciation warnings about the old cygwin_conv_to_win32_path() API being used when building with newer Cygwin versions. The new API seems to support paths longer than MAX_PATH and allows for much better error handling.
...
[SVN r79069]
2012-06-25 00:57:40 +00:00
Jurko Gospodnetić
2984c9dee7
Boost Jam code cleanup - minor stylistic changes.
...
[SVN r79067]
2012-06-25 00:33:54 +00:00
Steven Watanabe
9d2733c1f6
Fix memory errors with BJAM_NO_MEM_CACHE.
...
[SVN r77725]
2012-04-02 22:00:32 +00:00
Steven Watanabe
01a2598c29
Workoround for xlc. Patch by Hubert Tong.
...
[SVN r77638]
2012-03-30 01:21:13 +00:00
Steven Watanabe
5417bb462d
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
97df984d07
Remove argument_list. It's unused.
...
[SVN r77521]
2012-03-24 22:15:42 +00:00
Steven Watanabe
1cc76f4e7f
Make sure that the arguments of built-in rules are actually checked.
...
[SVN r77519]
2012-03-24 21:49:12 +00:00
Steven Watanabe
be740e73bf
Merge Python function support into function.c
...
[SVN r77518]
2012-03-24 21:07:49 +00:00
Steven Watanabe
6caa81ba70
Start cleaning up the arg_list hacks. Make the argument list part of the function instead of part of the rule. Don't var expand formal arguments.
...
[SVN r77515]
2012-03-24 18:53:21 +00:00
Steven Watanabe
0ffcfface3
Remove the first argument of list_copy, since it's always L0.
...
[SVN r77510]
2012-03-23 22:30:33 +00:00
Steven Watanabe
c52ec0fe95
Optimize variable lookup to bypass hash for constant variable names.
...
[SVN r77491]
2012-03-22 23:26:48 +00:00
Steven Watanabe
26703a88ab
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
b9cf446bfb
Downgrade strict syntax checks to a warning for backwards compatibility.
...
[SVN r77093]
2012-02-22 21:06:16 +00:00
Steven Watanabe
cbb4a5c8ea
Fix the result of while.
...
[SVN r75945]
2011-12-14 21:49:34 +00:00
Steven Watanabe
c88679cd52
Fix a subtle problem in the result of if statements.
...
[SVN r75944]
2011-12-14 21:33:26 +00:00
Steven Watanabe
77854c8aac
Optimize out the extra PUSH_EMPTY/APPEND when evaluating a list. Reduces the number of instructions executed by about 25%. About a 3-5% improvement in overall runtime.
...
[SVN r75938]
2011-12-14 18:46:50 +00:00
Steven Watanabe
9f8d0b953e
Fix memory leak.
...
[SVN r75913]
2011-12-12 02:07:28 +00:00
Steven Watanabe
ce422823c9
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
2a25f59586
Eliminate the last uses of var_expand and remove it.
...
[SVN r75889]
2011-12-11 01:55:33 +00:00
Steven Watanabe
06b74cdd38
Handle STDOUT and STDERR in @ files.
...
[SVN r75872]
2011-12-09 03:56:02 +00:00
Steven Watanabe
462b5b9639
Don't pass an empty list to rules with no arguments. It breaks Python.
...
[SVN r75824]
2011-12-06 14:59:18 +00:00
Steven Watanabe
cc4bfee656
Fix alias violations.
...
[SVN r75810]
2011-12-05 02:43:25 +00:00
Steven Watanabe
02e1de8b4e
Fix a few warnings
...
[SVN r75809]
2011-12-05 02:30:37 +00:00
Steven Watanabe
12954e5708
Remember to clean up.
...
[SVN r75793]
2011-12-03 20:00:18 +00:00
Steven Watanabe
e730100e50
More thorough asserts.
...
[SVN r75792]
2011-12-03 19:54:28 +00:00
Steven Watanabe
d892eade45
Fix @ file support.
...
[SVN r75767]
2011-12-02 04:49:03 +00:00
Steven Watanabe
a0fe6ff6e0
Reimplement the interpreter.
...
[SVN r75736]
2011-11-30 00:00:35 +00:00