Commit Graph

12124 Commits

Author SHA1 Message Date
Jurko Gospodnetić
351af01778 Minor stylistic changes made to the Boost Build build/generators.jam module.
[SVN r48599]
2008-09-05 02:37:54 +00:00
Jurko Gospodnetić
0d3033843f Minor stylistic changes made to the Boost Build build/generators.jam module.
[SVN r48599]
2008-09-05 02:37:54 +00:00
Jurko Gospodnetić
c5cb4455fc Corrected a bug in the Boost Build invalidate-extendable-viable-source-target-type-cache() rule located in the generators.jam module causing some cached data to be invalidated more often than needed. The bug had no other effects.
[SVN r48598]
2008-09-05 02:34:12 +00:00
Jurko Gospodnetić
58514eac1e Corrected a bug in the Boost Build invalidate-extendable-viable-source-target-type-cache() rule located in the generators.jam module causing some cached data to be invalidated more often than needed. The bug had no other effects.
[SVN r48598]
2008-09-05 02:34:12 +00:00
Jurko Gospodnetić
cd67c38e31 Reordered all Boost Build test declarations alphabetically to make it easier to scan through them visually.
[SVN r48597]
2008-09-05 02:04:51 +00:00
Jurko Gospodnetić
f82be54d47 Reordered all Boost Build test declarations alphabetically to make it easier to scan through them visually.
[SVN r48597]
2008-09-05 02:04:51 +00:00
Jurko Gospodnetić
ed748f97f2 Added a test for and fixed a Boost Build generator selection bug caused by caching viable source target types for different target types and generators and not maintaining those caches when their content gets invalidated by defining a new derived target type. Currently quick-fixed by clearing most of the cached values when registering a new derived target type. Later on this could be made more detailed by clearing only the actually invalidated cache values or updating them directly by simply added the derived target type to them.
[SVN r48596]
2008-09-05 01:58:07 +00:00
Jurko Gospodnetić
48c06133d1 Added a test for and fixed a Boost Build generator selection bug caused by caching viable source target types for different target types and generators and not maintaining those caches when their content gets invalidated by defining a new derived target type. Currently quick-fixed by clearing most of the cached values when registering a new derived target type. Later on this could be made more detailed by clearing only the actually invalidated cache values or updating them directly by simply added the derived target type to them.
[SVN r48596]
2008-09-05 01:58:07 +00:00
Jurko Gospodnetić
571c336bfb Improved the Boost Build generator_selection.py test case by adding additional assertions to it.
[SVN r48595]
2008-09-05 01:55:01 +00:00
Jurko Gospodnetić
599236bbc6 Improved the Boost Build generator_selection.py test case by adding additional assertions to it.
[SVN r48595]
2008-09-05 01:55:01 +00:00
Jurko Gospodnetić
be5cdc44c9 Reverted revision 48592 as an incorrect file got committed in it by mistake.
[SVN r48594]
2008-09-05 01:52:44 +00:00
Jurko Gospodnetić
8782551caa Reverted revision 48592 as an incorrect file got committed in it by mistake.
[SVN r48594]
2008-09-05 01:52:44 +00:00
Jurko Gospodnetić
ca330a555c Minor comment typo correction in the Boost Build build/type.jam module.
[SVN r48593]
2008-09-05 01:48:36 +00:00
Jurko Gospodnetić
5c98e2c99a Minor comment typo correction in the Boost Build build/type.jam module.
[SVN r48593]
2008-09-05 01:48:36 +00:00
Jurko Gospodnetić
13236db7f0 Improved the Boost Build generator_selection.py test case by adding additional assertions to it.
[SVN r48592]
2008-09-05 01:46:40 +00:00
Jurko Gospodnetić
17a7cb97ac Improved the Boost Build generator_selection.py test case by adding additional assertions to it.
[SVN r48592]
2008-09-05 01:46:40 +00:00
Jurko Gospodnetić
40c5b9d02d Added a comment to Boost Build's build/generators.jam module pointing to a mailing list thread containing an idea for refactoring Boost Build's Jamfile parsing so nothing would invalidate Boost Build's cached generator selection related viable source type information instead of having to work around the issues by clearing the cache when needed.
[SVN r48591]
2008-09-05 00:39:58 +00:00
Jurko Gospodnetić
93886c0143 Added a comment to Boost Build's build/generators.jam module pointing to a mailing list thread containing an idea for refactoring Boost Build's Jamfile parsing so nothing would invalidate Boost Build's cached generator selection related viable source type information instead of having to work around the issues by clearing the cache when needed.
[SVN r48591]
2008-09-05 00:39:58 +00:00
Jurko Gospodnetić
324e6bc227 Added a test for and fixed a Boost Build generator selection bug caused by caching viable source target types for different target types and generators and not maintaining those caches when their content gets invalidated by defining a new generator. Currently quick-fixed by clearing most of the cached values when registering a new generator. Later on this could be made more detailed by clearing only the actually invalidated cache values or updating them or even only marking them to be lazily updated when needed next.
Problem detected & and a reproducible example constructed by Juraj Ivančić. Debugged by Vladimir Prus. Patched and packaged by Jurko Gospodnetić.

[SVN r48590]
2008-09-05 00:26:43 +00:00
Jurko Gospodnetić
13d30f14be Added a test for and fixed a Boost Build generator selection bug caused by caching viable source target types for different target types and generators and not maintaining those caches when their content gets invalidated by defining a new generator. Currently quick-fixed by clearing most of the cached values when registering a new generator. Later on this could be made more detailed by clearing only the actually invalidated cache values or updating them or even only marking them to be lazily updated when needed next.
Problem detected & and a reproducible example constructed by Juraj Ivančić. Debugged by Vladimir Prus. Patched and packaged by Jurko Gospodnetić.

[SVN r48590]
2008-09-05 00:26:43 +00:00
Jurko Gospodnetić
677aefd23b Minor stylistic changes in several Boost Build unit tests.
[SVN r48589]
2008-09-04 23:12:25 +00:00
Jurko Gospodnetić
5a9ccbf6ec Minor stylistic changes in several Boost Build unit tests.
[SVN r48589]
2008-09-04 23:12:25 +00:00
Jurko Gospodnetić
0245482915 Optimized Boost Build's generator selection related viable-source-types-real() rule. Made it be smarter about which target types it inserts into a list of target types from which to collect all source types and avoid adding some target types that have already been added to the list.
[SVN r48588]
2008-09-04 21:43:30 +00:00
Jurko Gospodnetić
1a332dc93e Optimized Boost Build's generator selection related viable-source-types-real() rule. Made it be smarter about which target types it inserts into a list of target types from which to collect all source types and avoid adding some target types that have already been added to the list.
[SVN r48588]
2008-09-04 21:43:30 +00:00
Jurko Gospodnetić
1f8cd9dc31 Optimized Boost Build's generator selection related viable-source-types-real() rule. Removed an extra sequence.unique rule called on the resulting sequence that was not really needed as elements get added to the sequence only if they are not already in it.
[SVN r48587]
2008-09-04 21:40:36 +00:00
Jurko Gospodnetić
63a58ff848 Optimized Boost Build's generator selection related viable-source-types-real() rule. Removed an extra sequence.unique rule called on the resulting sequence that was not really needed as elements get added to the sequence only if they are not already in it.
[SVN r48587]
2008-09-04 21:40:36 +00:00
Jurko Gospodnetić
d0329986f2 Optimized Boost Build's generator selection related viable-source-types-for-generator-real() rule. Now it exits more quickly in case it detects that any source type is a viable source type and so there is no need to look for more viable source types.
[SVN r48586]
2008-09-04 21:35:18 +00:00
Jurko Gospodnetić
b5600515c9 Optimized Boost Build's generator selection related viable-source-types-for-generator-real() rule. Now it exits more quickly in case it detects that any source type is a viable source type and so there is no need to look for more viable source types.
[SVN r48586]
2008-09-04 21:35:18 +00:00
Jurko Gospodnetić
5707bfb97a Minor stylistic changes made to the Boost Build build/toolset.jam module.
[SVN r48585]
2008-09-04 21:26:53 +00:00
Jurko Gospodnetić
1a1a90ff6a Minor stylistic changes made to the Boost Build build/toolset.jam module.
[SVN r48585]
2008-09-04 21:26:53 +00:00
Jurko Gospodnetić
69b6eed15a Minor stylistic changes and comment updates for the Boost Build build/generators.jam module.
[SVN r48584]
2008-09-04 21:24:52 +00:00
Jurko Gospodnetić
6a1135780b Minor stylistic changes and comment updates for the Boost Build build/generators.jam module.
[SVN r48584]
2008-09-04 21:24:52 +00:00
Jurko Gospodnetić
f5bc2cad43 Minor comment updates in several Boost Build modules. Removed an unused .caching global variable in the build/generators.jam module.
[SVN r48578]
2008-09-04 17:54:07 +00:00
Jurko Gospodnetić
683177d0b6 Minor comment updates in several Boost Build modules. Removed an unused .caching global variable in the build/generators.jam module.
[SVN r48578]
2008-09-04 17:54:07 +00:00
Jurko Gospodnetić
4d13f947dc Removed the unused generators.normalize-target-list() rule from the Boost Build build/generators.jam module.
[SVN r48576]
2008-09-04 17:10:08 +00:00
Jurko Gospodnetić
223047045e Removed the unused generators.normalize-target-list() rule from the Boost Build build/generators.jam module.
[SVN r48576]
2008-09-04 17:10:08 +00:00
Vladimir Prus
fbddf9aa4e Pass -X 64 to ar only on AIX. Fixes #2281.
[SVN r48573]
2008-09-04 07:53:22 +00:00
Vladimir Prus
6abb5a13b6 Pass -X 64 to ar only on AIX. Fixes #2281.
[SVN r48573]
2008-09-04 07:53:22 +00:00
Jurko Gospodnetić
9b65dbc200 Minor stylistic change in the Boost Build tools/msvc.jam toolset grouping all of msvc specific feature declarations together as we may later decide to initialize them automatically on module import and initialize the toolset and its generators only when the first toolset version gets configured correctly.
[SVN r48571]
2008-09-04 01:59:21 +00:00
Jurko Gospodnetić
0716e07f97 Minor stylistic change in the Boost Build tools/msvc.jam toolset grouping all of msvc specific feature declarations together as we may later decide to initialize them automatically on module import and initialize the toolset and its generators only when the first toolset version gets configured correctly.
[SVN r48571]
2008-09-04 01:59:21 +00:00
Jurko Gospodnetić
69e7f15201 Fixed a syntax error that slipped in in the previous revision in the Boost Build tools/common.jam module.
[SVN r48570]
2008-09-03 21:34:45 +00:00
Jurko Gospodnetić
a29eaff127 Fixed a syntax error that slipped in in the previous revision in the Boost Build tools/common.jam module.
[SVN r48570]
2008-09-03 21:34:45 +00:00
Jurko Gospodnetić
a29d9f4f63 Minor stylistic changes in the Boost Build tools/common.jam module.
[SVN r48569]
2008-09-03 21:06:58 +00:00
Jurko Gospodnetić
627ef555f6 Minor stylistic changes in the Boost Build tools/common.jam module.
[SVN r48569]
2008-09-03 21:06:58 +00:00
Jurko Gospodnetić
775ce8a7a9 Updated Boost Jam's error location reporting when parsing Jamfiles. Now it reports the correct error location information when encountering an unexpected EOF. It now also reports where an invalid lexical token being read started instead of finished which makes it much easier to find errors like unclosed quotes (") or curly braces ({).
[SVN r48534]
2008-09-02 11:06:24 +00:00
Jurko Gospodnetić
ea89c3ca07 Updated Boost Jam's error location reporting when parsing Jamfiles. Now it reports the correct error location information when encountering an unexpected EOF. It now also reports where an invalid lexical token being read started instead of finished which makes it much easier to find errors like unclosed quotes (") or curly braces ({).
[SVN r48534]
2008-09-02 11:06:24 +00:00
Jurko Gospodnetić
a3e53d37aa Refactored Boost Jam's internal yyline() Jamfile parsing function a bit so it no longer uses one unneeded goto that was making the code much harder to read.
[SVN r48533]
2008-09-02 10:58:03 +00:00
Jurko Gospodnetić
42280c7a0f Refactored Boost Jam's internal yyline() Jamfile parsing function a bit so it no longer uses one unneeded goto that was making the code much harder to read.
[SVN r48533]
2008-09-02 10:58:03 +00:00
Jurko Gospodnetić
5de4d38337 Stylistic changes throughout the Boost Jam source base done while researching the Boost Jam internals. No implementation changes.
[SVN r48532]
2008-09-02 10:54:08 +00:00
Jurko Gospodnetić
0c0955ab0a Stylistic changes throughout the Boost Jam source base done while researching the Boost Jam internals. No implementation changes.
[SVN r48532]
2008-09-02 10:54:08 +00:00