2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-20 02:32:13 +00:00
Commit Graph

568 Commits

Author SHA1 Message Date
Jurko Gospodnetić
9da0c8acf2 Documentation typo corrected.
[SVN r45002]
2008-05-02 00:51:05 +00:00
Jurko Gospodnetić
c48f725d30 Typo corrections & minor stylistic comment changes.
[SVN r44900]
2008-04-29 22:49:36 +00:00
Daniel James
ffd8344b45 Merge in documentation fixes. Apart from the change to optional's documenation
Jamfile, which I included by mistake.

Fixes #1659, #1661, #1684, #1685, 1687, #1690, #1801

I wrote about this at:

http://lists.boost.org/Archives/boost/2008/04/136405.php

Merged revisions 44585-44806 via svnmerge from 
https://svn.boost.org/svn/boost/branches/doc

........
  r44585 | danieljames | 2008-04-19 16:25:27 +0100 (Sat, 19 Apr 2008) | 2 lines
  
  Fix broken link to vacpp in bjam docs. Refs #1512
........
  r44586 | danieljames | 2008-04-19 16:27:36 +0100 (Sat, 19 Apr 2008) | 2 lines
  
  Fix broken link to bcpp in bjam docs. Refs #1513
........
  r44587 | danieljames | 2008-04-19 16:33:58 +0100 (Sat, 19 Apr 2008) | 2 lines
  
  DateTime documentation - Fix a link to the serialization library. Refs #1659
........
  r44588 | danieljames | 2008-04-19 16:35:36 +0100 (Sat, 19 Apr 2008) | 2 lines
  
  Fix some links in interprocess & intrusive. Refs #1661
........
  r44589 | danieljames | 2008-04-19 16:37:39 +0100 (Sat, 19 Apr 2008) | 2 lines
  
  Fix some links in the python docs. Refs #1684.
........
  r44590 | danieljames | 2008-04-19 16:38:29 +0100 (Sat, 19 Apr 2008) | 2 lines
  
  Work around a quickbook bug which is affecting the python docs. Refs #1684.
........
  r44591 | danieljames | 2008-04-19 16:39:34 +0100 (Sat, 19 Apr 2008) | 2 lines
  
  Fix a broken link in the numeric conversion docs. Refs #1685
........
  r44592 | danieljames | 2008-04-19 16:40:45 +0100 (Sat, 19 Apr 2008) | 2 lines
  
  Fix some links in the optional docs. Refs #1687
........
  r44593 | danieljames | 2008-04-19 16:42:09 +0100 (Sat, 19 Apr 2008) | 2 lines
  
  Fix link to the hash documentation from bimap. Refs #1690
........
  r44599 | danieljames | 2008-04-19 18:07:33 +0100 (Sat, 19 Apr 2008) | 2 lines
  
  Fix a typo in the format library. Refs #1801
........
  r44600 | danieljames | 2008-04-19 19:20:59 +0100 (Sat, 19 Apr 2008) | 1 line
  
  Initialise svnmerge.
........
  r44641 | danieljames | 2008-04-20 18:59:47 +0100 (Sun, 20 Apr 2008) | 2 lines
  
  Fix the lincense url in shared container iterator documentation.
........
  r44642 | danieljames | 2008-04-20 19:00:00 +0100 (Sun, 20 Apr 2008) | 2 lines
  
  Fix image link in the mpi documentation.
........
  r44643 | danieljames | 2008-04-20 19:00:11 +0100 (Sun, 20 Apr 2008) | 2 lines
  
  Fix a typo in the spirit docs.
........
  r44644 | danieljames | 2008-04-20 19:00:23 +0100 (Sun, 20 Apr 2008) | 2 lines
  
  Escape the slash so that quickbook doesn't think it the start of an italic section, and mess up the link. Refs #1844
........
  r44647 | danieljames | 2008-04-20 19:39:47 +0100 (Sun, 20 Apr 2008) | 2 lines
  
  Fix another typo in spirit docs.
........


[SVN r44807]
2008-04-27 07:39:49 +00:00
Roland Schwarz
3975f3105a relaxed test, ignoring case of drive letter.
Thanks to Mat Marcus for the fix.

[SVN r44551]
2008-04-18 18:11:03 +00:00
Jurko Gospodnetić
44f0865599 Implemented a patch contributed by Igor Nazarenko reimplementing the list_sort() function to use a C qsort() function instead of a hand-crafted merge-sort algorithm. Makes some list sortings (e.g. 1,2,1,2,1,2,1,2,...) extremely faster, in turn significantly speeding up some project builds.
[SVN r44195]
2008-04-11 21:03:06 +00:00
Jurko Gospodnetić
b624553db8 Fixed a bug with bjam not handling the '\' root Windows path correctly without its drive letter being specified. One effect could be seen by MkDir rule on such a path always attempting to create its base folder even if that folder already exists. For example if you attempted to create folder '\Projects\XYZ\BuildDir' it would incorrectly think that '\Projects' folder does not exist and attempt to create it - thus causing the whole build to fail due to the underlying OS mkdir command failing.
This was caused by the file_dirscan() function in the filent.c module not working correctly when passed '\' as its dir. It then messed up when formatting its file-selection parameter for the _findfirst()/findfirst() API and constructed it as '\/*' which caused that API to fail and return -1 which was in turn being interpreted as 'file not found'.


[SVN r44088]
2008-04-07 10:32:09 +00:00
Jurko Gospodnetić
0fcdc894ac Solved the problem with child process returning the value 259 (Windows constant STILL_ACTIVE) causing bjam never to detect that it exited and therefore keep running in an endless loop. Done by relying on the Windows WaitForMultipleObjects() function to detect when a process has exited instead of GetExitCodeProcess(). The later function's MSDN article (http://msdn2.microsoft.com/en-us/library/ms683189(VS.85).aspx) warns about this problem.
Solved the problem with bjam going into an active wait state, hogging up processor resources, when waiting for one of its child processes to terminate while not all of its available child process slots are being used. To see this bug in action, try compiling a simple C++ program on a 2 processor PC with the -j 2 command-line option and watching how much processor resources bjam uses while linking. Was caused by treating unused process slots as used in the try_wait() function, causing the WaitForMultipleObjects() Windows API call to exit instantly with an error which was then getting incorrectly interpreted as a timeout, starting the whole cycle anew.

  Solved a race condition between bjam's output reading/child process termination detection and the child process's output generation/termination which could have caused bjam not to collect the terminated process's final output.

  Extracted all GetExitCodeProcess() API calls into one location so it no longer gets called in three separate places.

  Minor comment changes in code touched by previous fixes.


[SVN r44087]
2008-04-07 09:55:18 +00:00
K. Noel Belcourt
5a3994bedd Force PPC Darwin to use fork instead of vfork. This change
requires both the parent and child process to explicitly set
the process group id. Vfork guarantees the child process 
runs to the exec before it releases the parent process.  
Now that we use fork instead of vfork, it's possible for the 
parent to wait on the child process without having the child 
setpgid on itself.  This eliminates spurious hangs on ppc
darwin caused by either a race condition between vfork and
execvp, or a bug in the vfork implementation.

Added a test to ensure we don't try to read from the
stderr pipe descriptor if the descriptor's not valid.



[SVN r43176]
2008-02-08 16:32:35 +00:00
Jurko Gospodnetić
58b6397ecd Added the missing end-of-line character when outputting DEBUG_SEARCH debug messages from file_build1(). This cleans up the -d+6 bjam output a lot.
[SVN r43046]
2008-02-01 01:49:16 +00:00
Rene Rivera
1130f9db85 Revert various changes that break backward compatibility, and also some minor edits.
[SVN r42632]
2008-01-09 04:31:58 +00:00
Jurko Gospodnetić
a3e99b74c0 Updated the __ACTION_RULE__ to not return its action command output as a single string but instead split it into a list of output lines. This allows Jam code using this output to work correctly independently of what newline character combinations are in use. This was causing problems with Boost Build unit tests which can now be updated to pass.
Consequences & checks:
  * Final __ACTION_RULE__ rule parameter has changed from output ? to output-lines *.
  * Updated corresponding Jam documentation.
  * Updated the all related Boost Build code.
  * No code on the Boost trunk uses this rule except for Boost Build itself.


[SVN r42629]
2008-01-09 04:05:29 +00:00
Jurko Gospodnetić
bc0b17ad0f Remove trailing spaces. Removed an empty line.
[SVN r42628]
2008-01-09 01:18:38 +00:00
Jurko Gospodnetić
6140b4fcbc Tried trailing spaces. Minor comment typo corrections.
[SVN r42627]
2008-01-09 01:11:03 +00:00
Jurko Gospodnetić
b0fa7f499a Minor stylistic code indentation changes.
[SVN r42626]
2008-01-09 01:09:26 +00:00
Jurko Gospodnetić
32c5e5b9c7 Comment correction.
[SVN r42617]
2008-01-08 17:51:30 +00:00
Jurko Gospodnetić
77d4106fcb Stylistic changes: typo corrections, comment alignments, output string updates, no functional changes, etc.
[SVN r42516]
2008-01-06 08:16:34 +00:00
Jurko Gospodnetić
c441b63011 Comment cleanup.
[SVN r42496]
2008-01-05 20:14:48 +00:00
Jurko Gospodnetić
dafd4d0cc7 Minor stylistic changes such as: comment typo corrections, wrapping lines to 80 characters, indentations, removing trailing spaces, etc.
[SVN r42494]
2008-01-05 20:02:24 +00:00
Jurko Gospodnetić
ffa48a7399 Removed trailing spaces and some empty lines.
[SVN r42492]
2008-01-05 18:29:36 +00:00
Rene Rivera
a975862dcb Fix missing close paren. Thanks to Jurko Gospodnetić for spotting the typo.
[SVN r42302]
2007-12-25 16:09:42 +00:00
Vladimir Prus
01f97eaedd Implement ISFILE for real
[SVN r41980]
2007-12-11 19:45:37 +00:00
Rene Rivera
6128b8377a Bump bjam to 3.1.17 after 3.1.16 release.
[SVN r41629]
2007-12-03 04:05:39 +00:00
Rene Rivera
c9603dac14 Work around some Windows CMD.EXE programs that will fail executing a totally empty batch file.
[SVN r41627]
2007-12-03 03:06:22 +00:00
Rene Rivera
cca76bfc6a Work around some Windows CMD.EXE programs that will fail executing a totally empty batch file.
[SVN r41626]
2007-12-03 02:57:49 +00:00
Rene Rivera
d0c894c58a ';' can't be a no-op on nix.
[SVN r41563]
2007-12-02 02:03:48 +00:00
Rene Rivera
e3a19e2dd6 No-op no-empty action.
[SVN r41562]
2007-12-02 01:59:02 +00:00
Rene Rivera
727495e606 Document various "new" features, and add in the history till now for 3.1.16. (fixes #1445 #1447 #1448)
[SVN r41556]
2007-12-01 21:53:47 +00:00
Rene Rivera
9fb36963e2 Add support for detection and building with vc9. (fixes #1490)
[SVN r41548]
2007-12-01 20:17:52 +00:00
Rene Rivera
6d09870d20 Plug memory leak when closing out actions. Thanks to Martin Kortmann for finding this.
[SVN r41535]
2007-12-01 16:44:54 +00:00
Rene Rivera
585226c5d2 build-system.jam
* Reflect added start/end timestamps for actions in xml output. And update action rules for new args.

execcmd.h
* Add start/end timestamps to action timing info.

execnt.c
* Fix filetime_seconds calculation when time is larger than low 32 bit value.
* Add calc of C time_t from Windows FILETIME.
* Add start/end timestamps recording to action timing info.

execunix.c
* Add start/end timestamps recording to action timing info.

jam.c
* Change JAMDATE to use common ISO date format.

make1.c
* Redo __TIMING_RULE__ and __ACTION__RULE__ invocations to new argument ordering and added end/result timestamp values.

[SVN r41431]
2007-11-28 07:21:49 +00:00
Rene Rivera
1ea44258f8 Add test for result status values of simple actions, i.e. empty actions.
[SVN r41430]
2007-11-28 07:08:13 +00:00
Rene Rivera
edf794fe4c Fix buffer overrun bug in expanding @() subexpressions.
[SVN r41417]
2007-11-27 17:58:50 +00:00
Rene Rivera
79bc7ec202 Check empty string invariants, instead of assuming all strings are allocated. And reset strings when they are freed.
[SVN r41416]
2007-11-27 17:57:15 +00:00
Rene Rivera
7109c033f0 Add some utility output formatting functions.
[SVN r41415]
2007-11-27 17:55:13 +00:00
Rene Rivera
6cdbd3e4e2 Remove non-existent option info.
[SVN r41414]
2007-11-27 17:53:56 +00:00
Boris Gubenko
c4296e131f add OSPLAT=PARISC for HP-UX PA-RISC
[SVN r41242]
2007-11-19 19:25:21 +00:00
Rene Rivera
eb7f1625d1 Make quietly actions really quiet by not printing the command output. The output for the quietly actions is still available through "__ACTION_RULE__".
[SVN r41236]
2007-11-19 17:44:31 +00:00
Rene Rivera
deebd6b521 Switch intel-win32 to use static multi thread runtime since the single thread static runtime is no longer available. (fixes #1287)
[SVN r41113]
2007-11-15 18:56:43 +00:00
Boris Gubenko
528462a51e when setting OSPLAT, check __ia64 macro
[SVN r41050]
2007-11-13 00:51:37 +00:00
K. Noel Belcourt
2ec9a48fa0 Get the unix timing working correctly.
[SVN r41048]
2007-11-12 22:52:12 +00:00
Boris Gubenko
10a2078896 add -fno-strict-aliasing to compilation with gcc
[SVN r41036]
2007-11-12 17:03:38 +00:00
Vladimir Prus
94e54dcce7 New Python rule -- 'backtrace'.
[SVN r40497]
2007-10-27 09:55:58 +00:00
Vladimir Prus
df708e626d Add missing Py_INCREF on Py_None objects.
[SVN r40289]
2007-10-22 16:45:49 +00:00
Rene Rivera
24ed5b7a0c Allow specifying options with quotes, i.e. "--with-python=xyz", to work around the CMD shell using "=" as an argument separator.
[SVN r40095]
2007-10-16 19:08:58 +00:00
Vladimir Prus
04039bac46 Better diagnostics when trying to import non-callable Python
object to Jam.


[SVN r40006]
2007-10-14 09:09:41 +00:00
Vladimir Prus
3486b7216f Fix module messup when calling into Python.
[SVN r39988]
2007-10-13 21:32:51 +00:00
Daniel Wallin
a4455f491e Added missing Py_INCREF(Py_None).
[SVN r39939]
2007-10-11 20:37:37 +00:00
Vladimir Prus
01fe971866 New bjam.variable function exposed to Python.
[SVN r39876]
2007-10-10 08:25:27 +00:00
Vladimir Prus
8db356225b Add values of variables specified with -s to .EVNRION
module, so that we can override environment on
command line.


[SVN r39873]
2007-10-10 07:40:05 +00:00
Vladimir Prus
f56cf87846 Make it work, for extra benefit ('=' vs '==' bug)
[SVN r39830]
2007-10-09 05:38:31 +00:00