Jurko Gospodnetić
cac4b6b2e4
Internal Boost Build testing framework cleanup - expecting output/content lines now correctly interprets requests with lines given as a container of strings.
...
Given strings represent expected continuous line sequences (separated by \n) and extra lines are allowed between content represented by different successive strings. For example, lines = ['foo\nbar', 'baz'] would match:
aaa
foo
bar
bbb
baz
ccc
but would not match:
aaa
foo
xxx
bar
bbb
baz
ccc
Added a description comment for the related Tester.__expect_lines() implementation function.
[SVN r80088]
2012-08-20 10:08:28 +00:00
Jurko Gospodnetić
b680388a33
Made Boost Build's internal project_id.py test more detailed regarding registering the same project id for the same project, but with the project module specified in different ways.
...
[SVN r80087]
2012-08-19 18:46:14 +00:00
Jurko Gospodnetić
c5daedb64c
Boost Jam code cleanup - minor stylistic comment change.
...
[SVN r80086]
2012-08-19 18:25:31 +00:00
Jurko Gospodnetić
618e33fcc8
Made Boost Build's internal project_id.py test more detailed regarding registering the same project id for the same project, but with the project module specified in different ways.
...
[SVN r80085]
2012-08-19 17:48:44 +00:00
Jurko Gospodnetić
acce9eb49b
Internal Boost Build testing system cleanup - minor stylistic change.
...
[SVN r80084]
2012-08-19 17:03:11 +00:00
Jurko Gospodnetić
5f3245d2a0
Boost Build's doxygen.jam module cleanup.
...
* External tool version check file targets now correctly assigned to the requesting project's root project (best effort attempt to have them built in the same location independent of which folder the build was run from).
* More detailed error checking against attempts to declare doxygen targets in standalone or internal Boost Build configuration projects.
* All created virtual target instances now correctly passed through Boost Build's virtual-target.register() rule.
* Added a public check-tools() rule for explicitly declaring doxygen module's internal version check targets if needed.
[SVN r80072]
2012-08-17 18:31:07 +00:00
Jurko Gospodnetić
d954449737
Fixed Boost Jam's internal list structure allocation bug - due to a typo the list_new() operation did not work correctly on systems where LIST * is smaller than LIST (e.g. if LIST * is smaller than OBJECT * or OBJECT * is smaller than an int). Removed code duplication between list_new() & list_alloc(). Contributed by Kohei Takahashi <flast at flast.jp>.
...
[SVN r80064]
2012-08-17 07:23:03 +00:00
Jurko Gospodnetić
31d5763145
Boost Jam cleanup - minor stylistic changes.
...
[SVN r80063]
2012-08-17 07:15:18 +00:00
Jurko Gospodnetić
ac295e5f52
Boost Jam cleanup - renamed the path_key__register_long_name() function to path_register_key() and improved related comments, minor stylistic changes.
...
[SVN r80035]
2012-08-14 15:24:27 +00:00
Jurko Gospodnetić
30da211307
Boost Jam cleanup - made one errno global variable usage instance more localized.
...
[SVN r80034]
2012-08-14 14:35:44 +00:00
Jurko Gospodnetić
8ff5907df1
Boost Jam cleanup - removed the internal short_path_to_long_path() function as it has now been completely superseded by path_as_key(). Updated several related code comments.
...
[SVN r80033]
2012-08-14 14:07:09 +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
Jürgen Hunold
723dd191c0
add forgotten ";" in doxygen.jam
...
[SVN r80029]
2012-08-14 09:09:25 +00:00
Jurko Gospodnetić
5f54f51d2a
Quick & dirty fix to make Boost Build construct consistent Jamfile module names in cases when they are requested via different but equivalent location paths, e.g. 'd:/fOO' and 'D:\Foo\Bar\..'. This should fix currently reported Boost library documentation build failures but the used path normalization implementation still needs to be cleaned up.
...
[SVN r80026]
2012-08-14 05:13:21 +00:00
Jurko Gospodnetić
8413feefe4
Boost Build cleanup - removed support for Boost Jam versions prior to version 3.1.17 in the tools/python.jam module. The backward compatibility code was ugly and compatibility with such versions has already been broken in other places (not to mention that such old versions have known defects and should not be used anywhere in the first place, and even if they are, they should be used with their corresponding old Boost Build version). Trimmed trailing spaces.
...
[SVN r80025]
2012-08-14 05:09:21 +00:00
Jurko Gospodnetić
dae20b3dbe
Boost Build cleanup - removed support for Boost Jam versions prior to version 3.1.17 in the util/path.jam module. The backward compatibility code was ugly and compatibility with such versions has already been broken in other places (not to mention that such old versions have known defects and should not be used anywhere in the first place, and even if they are, they should be used with their corresponding old Boost Build version).
...
[SVN r80023]
2012-08-14 05:03:49 +00:00
Jurko Gospodnetić
ab38f2c841
Boost Build cleanup - made the util/path.jam module load errors.jam only when needed.
...
[SVN r80022]
2012-08-14 04:58:21 +00:00
Jurko Gospodnetić
4201e366ac
Corrected a slight Boost Build project.module-name() rule defect causing it to not reuse its cached result value in some cases.
...
[SVN r80021]
2012-08-14 04:54:05 +00:00
Jurko Gospodnetić
157384906d
Internal Boost Build resolution.py test cleanup - minor stylistic change.
...
[SVN r80020]
2012-08-14 04:48:11 +00:00
Jurko Gospodnetić
452d6dbeba
Boost Jam cleanup - minor stylistic changes.
...
[SVN r80019]
2012-08-14 04:44:24 +00:00
Jurko Gospodnetić
1fae63b589
Boost Build cleanup - minor stylistic tools/doxygen.jam module changes.
...
[SVN r80017]
2012-08-13 22:31:48 +00:00
Jurko Gospodnetić
f6ef410175
Boost Build cleanup - made the tools/boostbook.jam xml-catalog rule local.
...
[SVN r80016]
2012-08-13 22:29:13 +00:00
Jurko Gospodnetić
a4005999d7
Boost Build cleanup - project.register-id no longer local (used for registering an additional project id with a project module). The rule is now cleanly implemented with a clean interface that might be useful outside this module (planned to be used in the upcoming tools/doxygen.jam modifications).
...
[SVN r80015]
2012-08-13 22:26:58 +00:00
Jurko Gospodnetić
3122419834
Corrected a typo in Boost Build's doxygen.jam module.
...
[SVN r80014]
2012-08-13 18:19:45 +00:00
Jurko Gospodnetić
0c32720912
Cleaned up internal Boost Build dependency_test.py test - made the test script create all of its needed test project files at run-time instead of having them maintained as actual Boost Build project files.
...
[SVN r80013]
2012-08-13 18:16:14 +00:00
Jurko Gospodnetić
7563ac7877
Internal Boost Build dependency_test.py test cleanup - removed some old and no longer relevant comments (from the time before the <dependency> feature got renamed to <implicit-dependency>), better commented the <implicit-dependency> feature usage, removed redundant ignoring of *.tds Borland debugger symbol files (already done internally in the BoostBuild.py testing system implementation module), minor stylistic changes.
...
[SVN r80012]
2012-08-13 17:55:20 +00:00
Jurko Gospodnetić
03b86769f5
Boost Build tools/boostbook.jam module cleanup - boostbook targets no longer constructed using a generator for the fake BOOSTBOOK_MAIN type. A clean custom basic-target class is used now instead, corresponding to how similar work is done in the tools/doxygen.jam module.
...
[SVN r80011]
2012-08-13 16:53:19 +00:00
Jurko Gospodnetić
4a9820167b
Updated Boost Build's tools/boostbook.jam module to pass its created xml-catalog virtual target through the virtual-target.register rule, as is supposed to be done with all virtual-target instances.
...
[SVN r80010]
2012-08-13 15:39:18 +00:00
Jurko Gospodnetić
69285830c4
Boost Build cleanup - minor stylistic changes in the tools/boostbook.jam module.
...
[SVN r80009]
2012-08-13 15:32:49 +00:00
Jurko Gospodnetić
cdae76add5
Corrected an malformed Boost Build error message displayed when property definitions are encountered in a basic-target's 'sources' constructor parameter.
...
[SVN r80008]
2012-08-13 15:07:02 +00:00
Jurko Gospodnetić
e36413300c
Improved Boost Build's error message displayed when encountering actual targets with matching names, belonging to virtual targets of which at least one does not have an assigned 'creating subvariant' (may happen when Boost Build or build script code creates a virtual-target but forgets to pass it to the virtual-target.register rule).
...
[SVN r80007]
2012-08-13 15:05:04 +00:00
Jurko Gospodnetić
89bbb60774
Updated Boost Build's stage.symlink rule to pass its constructed virtual target through the virtual-target.register rule, as all virtual-target instances are supposed to be.
...
[SVN r80006]
2012-08-13 14:39:47 +00:00
Jurko Gospodnetić
7d613bbf8c
Boost Build cleanup - minor stylistic changes.
...
[SVN r80005]
2012-08-13 14:35:56 +00:00
Jurko Gospodnetić
66a9427409
Corrected the internal Boost Build project_id.py test to pass with the latest changes made in the project.py module.
...
[SVN r80004]
2012-08-13 14:22:02 +00:00
Jurko Gospodnetić
92ee14e55e
Boost Build cleanup - more detailed error reporting when attempting to register the same project id for multiple projects.
...
[SVN r80000]
2012-08-13 11:55:49 +00:00
Jurko Gospodnetić
f144b75d02
Updated Boost Build documentation to note that the virtual-target.register rule should be called for each created virtual-target instance and not only to remove duplicates when there is a chance of creating multiple matching virtual targets. Without this call, Boost Build fails to track which virtual targets get created for each metatarget.
...
[SVN r79996]
2012-08-13 05:11:50 +00:00
Jurko Gospodnetić
a0a4734b88
Boost Build documentation typo correction.
...
[SVN r79995]
2012-08-13 05:00:13 +00:00
Jurko Gospodnetić
d95c5d93b6
Boost Build cleanup - added two new rules to the project.jam module (is-config-module for checking whether a module is one of Boost Build's configuration file modules & get-jamroot-module returning a given non-standalone & non-configuration project's base parent Jamroot project) and used them to restore corrected boostbook.jam module functionality for storing its constructed xml-catalog targets in the same location independent of what folder the build got run from. Updated related rule comments.
...
[SVN r79973]
2012-08-11 22:24:51 +00:00
Jurko Gospodnetić
3cf63e8925
Boost Build cleanup - minor stylistic changes made to the boostbook.jam module.
...
[SVN r79972]
2012-08-11 22:19:22 +00:00
Jurko Gospodnetić
426a0a5d93
Boost Build cleanup - minor stylistic changes.
...
[SVN r79971]
2012-08-11 21:43:23 +00:00
Jurko Gospodnetić
6638d89c81
Boost Build cleanup - build-system.jam module's should-clean-project() rule result caching updated to correctly cache both true and false values. This got 'pessimized' a bit when we started using values directly convertable to false (i.e. undefined value or empty string) as return values for the result false instead of the string "false".
...
[SVN r79969]
2012-08-11 14:49:52 +00:00
Jurko Gospodnetić
357cf6b6c7
Boost Build cleanup - build-system.jam module's should-clean-project() rule simplified by not requiring a separate list of built projects only to use that list for marking those projects as needing to be cleaned. Now instead of building this list we directly mark those projects as needing to be cleaned.
...
[SVN r79968]
2012-08-11 14:45:36 +00:00
Jurko Gospodnetić
23eb1973ba
Boost Build cleanup - added a project.is-jamroot-module() rule (and an accompanying implementation detail project-attributes.is-jamroot() rule) to make testing whether a project module is a Jamroot module cleaner. As 'an example' updated the build-system.should-clean-project() rule to cleanly test for the Jamroot project module instead of assuming that Jamroot module is the one whose parent module is user-config. The old implementation was also incorrect since Jamroot may also have project-config as a parent.
...
[SVN r79967]
2012-08-11 14:31:59 +00:00
Jurko Gospodnetić
9e40e3bb0a
Boost Build cleanup - build-system.jam module's global .project-targets variable made replaced with a local one, passed as a rule parameter where needed, minor stylistic code & comment changes.
...
[SVN r79955]
2012-08-10 15:29:47 +00:00
Jurko Gospodnetić
3a1f076aff
Boost Build code cleanup - minor stylistic changes.
...
[SVN r79954]
2012-08-10 13:56:54 +00:00
Jurko Gospodnetić
31c1c824f9
Boost Build cleanup - minor stylistic code change.
...
[SVN r79945]
2012-08-09 10:56:50 +00:00
Jurko Gospodnetić
794ed3b40f
Boost Build cleanup - made the project.target() rule error-out in case when the requested modules does not yet have a project target assigned. The code in question handling this case did not seem to ever get used in either the internal Boost Build tests or the Boost library build.
...
[SVN r79944]
2012-08-09 10:46:04 +00:00
Jurko Gospodnetić
c41cce76fb
Simplified Boost Build's internal project_id.py test a bit.
...
[SVN r79940]
2012-08-08 22:50:42 +00:00
Jurko Gospodnetić
654b8e6a9a
Added a new internal Boost Build test checking Boost Build's project id handling.
...
[SVN r79939]
2012-08-08 22:29:29 +00:00