Jurko Gospodnetić
a12b007c85
Boost Jam cleanup - synchronized changes between Windows and Unix file_dirscan() implementations, removed some unnecessary short-to-long path conversions on Windows (for root folders), minor stylistic code changes.
...
BUG: May cause access violations (crashes, core dumps or other undefined behaviour) by dereferencing a NULL pointer on non-Windows builds.
[SVN r79311]
2012-07-06 03:04:32 +00:00
Jurko Gospodnetić
77a0170c84
Boost Jam cleanup - minor stylistic code change.
...
[SVN r79310]
2012-07-06 02:13:44 +00:00
Jurko Gospodnetić
4d58b05c13
Boost Jam cleanup - minor stylistic code change.
...
[SVN r79310]
2012-07-06 02:13:44 +00:00
Jurko Gospodnetić
5b364fa966
Brown paper bag fix for a Boost Jam bug introduced in revision [73907] causing Boost Jam not to build at all (actually - not to be able to find any files in folders other than the current one).
...
[SVN r79309]
2012-07-06 02:08:13 +00:00
Jurko Gospodnetić
ccab12b859
Brown paper bag fix for a Boost Jam bug introduced in revision [73907] causing Boost Jam not to build at all (actually - not to be able to find any files in folders other than the current one).
...
[SVN r79309]
2012-07-06 02:08:13 +00:00
Jurko Gospodnetić
d430819efa
Fixed a Boost Jam crash bug when its Windows specific file_dirscan() function gets called for a non-existent folder.
...
[SVN r79308]
2012-07-06 01:28:13 +00:00
Jurko Gospodnetić
a2745d27dd
Fixed a Boost Jam crash bug when its Windows specific file_dirscan() function gets called for a non-existent folder.
...
[SVN r79308]
2012-07-06 01:28:13 +00:00
Jurko Gospodnetić
d3b327e22c
Boost Jam code cleanup - removed unused variables and unnecessary variable setting, added some more description comments, minor stylistic changes.
...
[SVN r79307]
2012-07-06 01:26:03 +00:00
Jurko Gospodnetić
d518f9d5c5
Boost Jam code cleanup - removed unused variables and unnecessary variable setting, added some more description comments, minor stylistic changes.
...
[SVN r79307]
2012-07-06 01:26:03 +00:00
Jurko Gospodnetić
64b368bd04
Boost Jam cleanup - renamed path_add_key() to path_key__register_long_path().
...
[SVN r79304]
2012-07-05 23:39:45 +00:00
Jurko Gospodnetić
48be57c18b
Boost Jam cleanup - renamed path_add_key() to path_key__register_long_path().
...
[SVN r79304]
2012-07-05 23:39:45 +00:00
Jurko Gospodnetić
4efad5b55e
Boost Jam optimization - avoid unnecessary FindFirstFile() Windows API calls (and related unnecessary file system access) used to determine a file's long name in case that file's given name does not meet the short file name (8+3) criteria.
...
[SVN r79303]
2012-07-05 23:20:38 +00:00
Jurko Gospodnetić
4c9995750a
Boost Jam optimization - avoid unnecessary FindFirstFile() Windows API calls (and related unnecessary file system access) used to determine a file's long name in case that file's given name does not meet the short file name (8+3) criteria.
...
[SVN r79303]
2012-07-05 23:20:38 +00:00
Jurko Gospodnetić
af65544399
Boost Jam cleanup - merged pathunix.c module's Windows specific ShortPathToLongPath() & path_write_key() function implementations that were calling each other recursively. Now we have a single function that seems easier to understand and refactor further.
...
[SVN r79295]
2012-07-05 19:12:20 +00:00
Jurko Gospodnetić
bd14c7be66
Boost Jam cleanup - merged pathunix.c module's Windows specific ShortPathToLongPath() & path_write_key() function implementations that were calling each other recursively. Now we have a single function that seems easier to understand and refactor further.
...
[SVN r79295]
2012-07-05 19:12:20 +00:00
Jurko Gospodnetić
e034b6440b
Corrected a potential access violation in Boost Jam introduced in revision [79281] by incorrectly comparing new strings with already existing ones in the OBJECT hash table.
...
[SVN r79291]
2012-07-05 18:40:38 +00:00
Jurko Gospodnetić
9a4420b3db
Corrected a potential access violation in Boost Jam introduced in revision [79281] by incorrectly comparing new strings with already existing ones in the OBJECT hash table.
...
[SVN r79291]
2012-07-05 18:40:38 +00:00
Jurko Gospodnetić
ac58313c4b
Boost Jam cleanup - made the buf variable in pathunix.c module's path_key() function more local instead of it being named a temporary but being used a long way away. This could not be done before because ShortPathToLongPath() used to cheat and temporarily change its 'const string' parameter internally which would cause the ShortPathToLongPath() call in this function to fail if we passed it object_str( normalized ) instead of buf->value even though they hold the same content.
...
[SVN r79287]
2012-07-05 15:56:50 +00:00
Jurko Gospodnetić
85bd6b20b8
Boost Jam cleanup - made the buf variable in pathunix.c module's path_key() function more local instead of it being named a temporary but being used a long way away. This could not be done before because ShortPathToLongPath() used to cheat and temporarily change its 'const string' parameter internally which would cause the ShortPathToLongPath() call in this function to fail if we passed it object_str( normalized ) instead of buf->value even though they hold the same content.
...
[SVN r79287]
2012-07-05 15:56:50 +00:00
Jurko Gospodnetić
4e20d35df4
Boost Jam cleanup - Windows ShortPathToLongPath() implementation no longer cheats & temporarily modifies the const string it is passed as a parameter but instead passes string lengths explicitly.
...
[SVN r79282]
2012-07-05 13:15:25 +00:00
Jurko Gospodnetić
c39380f0ea
Boost Jam cleanup - Windows ShortPathToLongPath() implementation no longer cheats & temporarily modifies the const string it is passed as a parameter but instead passes string lengths explicitly.
...
[SVN r79282]
2012-07-05 13:15:25 +00:00
Jurko Gospodnetić
24142c5df2
Updated the Boost Jam OBJECT interface to allow creating OBJECT instances from a non-0 terminated string.
...
[SVN r79281]
2012-07-05 12:57:25 +00:00
Jurko Gospodnetić
0cac694e35
Updated the Boost Jam OBJECT interface to allow creating OBJECT instances from a non-0 terminated string.
...
[SVN r79281]
2012-07-05 12:57:25 +00:00
Jurko Gospodnetić
b260763794
Boost Jam cleanup - removed one extra object copy in path_key().
...
[SVN r79279]
2012-07-05 08:00:13 +00:00
Jurko Gospodnetić
fa5ea2ec6d
Boost Jam cleanup - removed one extra object copy in path_key().
...
[SVN r79279]
2012-07-05 08:00:13 +00:00
Jurko Gospodnetić
042283da4b
Boost Jam cleanup - removed code duplication between path_add_key() and path_as_key() in pathunix.c.
...
[SVN r79278]
2012-07-05 07:55:55 +00:00
Jurko Gospodnetić
095bbd6305
Boost Jam cleanup - removed code duplication between path_add_key() and path_as_key() in pathunix.c.
...
[SVN r79278]
2012-07-05 07:55:55 +00:00
Jurko Gospodnetić
7dab571b66
Boost Jam cleanup - minor stylistic code changes.
...
[SVN r79277]
2012-07-05 07:54:42 +00:00
Jurko Gospodnetić
610291642f
Boost Jam cleanup - minor stylistic code changes.
...
[SVN r79277]
2012-07-05 07:54:42 +00:00
Jurko Gospodnetić
daa0cbb5a6
Boost Jam cleanup - minor stylistic code changes.
...
[SVN r79276]
2012-07-05 07:35:03 +00:00
Jurko Gospodnetić
b079f28c06
Boost Jam cleanup - minor stylistic code changes.
...
[SVN r79276]
2012-07-05 07:35:03 +00:00
Jurko Gospodnetić
85f285ad88
Boost Jam cleanup - removed and unnecessary header include + minor stylistic code change.
...
[SVN r79275]
2012-07-05 06:57:26 +00:00
Jurko Gospodnetić
c712c46008
Boost Jam cleanup - removed and unnecessary header include + minor stylistic code change.
...
[SVN r79275]
2012-07-05 06:57:26 +00:00
Jurko Gospodnetić
91323959f4
Boost Jam cleanup - minor stylistic code changes.
...
[SVN r79263]
2012-07-04 15:58:30 +00:00
Jurko Gospodnetić
8fd831b596
Boost Jam cleanup - minor stylistic code changes.
...
[SVN r79263]
2012-07-04 15:58:30 +00:00
Jurko Gospodnetić
ab1620c580
Boost Jam cleanup. frames.c module was never compiled and its content was copied to compile.c and tweaked a bit. Related code now all moved to the frames.c and the module cleaned up. PARSE typedef moved from the frames.h header into parse.h where it seems to belong naturally.
...
[SVN r79262]
2012-07-04 15:54:15 +00:00
Jurko Gospodnetić
c8cd744155
Boost Jam cleanup. frames.c module was never compiled and its content was copied to compile.c and tweaked a bit. Related code now all moved to the frames.c and the module cleaned up. PARSE typedef moved from the frames.h header into parse.h where it seems to belong naturally.
...
[SVN r79262]
2012-07-04 15:54:15 +00:00
Jurko Gospodnetić
0d06e080dc
Removed a seemingly redundant #include <sys/stat.h> in the main Boost Jam header file.
...
[SVN r79259]
2012-07-04 09:45:54 +00:00
Jurko Gospodnetić
9c65f058ad
Removed a seemingly redundant #include <sys/stat.h> in the main Boost Jam header file.
...
[SVN r79259]
2012-07-04 09:45:54 +00:00
Jurko Gospodnetić
ac84e70307
Boost Jam now correctly reports its dangling string object count when displaying DEBUG_MEM messages independent of whether it is configured to use its hash-table OBJECT cache implementation or not.
...
[SVN r79258]
2012-07-04 09:40:11 +00:00
Jurko Gospodnetić
f2e92299cb
Boost Jam now correctly reports its dangling string object count when displaying DEBUG_MEM messages independent of whether it is configured to use its hash-table OBJECT cache implementation or not.
...
[SVN r79258]
2012-07-04 09:40:11 +00:00
Jurko Gospodnetić
b9ed6db9e3
Updated the documentation comment for Boost Build testing system's BoostBuild.Tester constructor with information on its pass_d0 parameter.
...
[SVN r79257]
2012-07-04 09:13:41 +00:00
Jurko Gospodnetić
ad7b601320
Updated the documentation comment for Boost Build testing system's BoostBuild.Tester constructor with information on its pass_d0 parameter.
...
[SVN r79257]
2012-07-04 09:13:41 +00:00
Jurko Gospodnetić
5e171c2c8c
Bost Jam cleanup - removed some dead code from the compile.c module.
...
[SVN r79256]
2012-07-04 09:09:21 +00:00
Jurko Gospodnetić
e55ce2161b
Bost Jam cleanup - removed some dead code from the compile.c module.
...
[SVN r79256]
2012-07-04 09:09:21 +00:00
Jurko Gospodnetić
d26a70ac3e
Boost Jam cleanup - minor stylistic changes.
...
[SVN r79255]
2012-07-04 09:04:29 +00:00
Jurko Gospodnetić
842a23eb0b
Boost Jam cleanup - minor stylistic changes.
...
[SVN r79255]
2012-07-04 09:04:29 +00:00
Jurko Gospodnetić
3575868660
Boost Jam cleanup - touched up error messages displayed when a rule can not be found, removed trailing dot from the displayed module name in error messages displayed when requesting a non-existing rule in import or export builtin rules & removed related code duplication between builtins.c & compile.c modules.
...
[SVN r79254]
2012-07-04 09:02:28 +00:00
Jurko Gospodnetić
a5c46f85c9
Boost Jam cleanup - touched up error messages displayed when a rule can not be found, removed trailing dot from the displayed module name in error messages displayed when requesting a non-existing rule in import or export builtin rules & removed related code duplication between builtins.c & compile.c modules.
...
[SVN r79254]
2012-07-04 09:02:28 +00:00
Jurko Gospodnetić
1791d078cc
Boost Build/Jam cleanup - stylistic code changes.
...
[SVN r79244]
2012-07-03 15:58:26 +00:00