scons.git
16 years agoIssue 1568: fix a stack trace when --debug=include tries to handle
stevenknight [Fri, 17 Oct 2008 02:20:50 +0000 (02:20 +0000)]
Issue 1568:  fix a stack trace when --debug=include tries to handle
a library as an argument.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@3694 fdb21ef1-2011-0410-befe-b5e4ea1792b1

16 years agoFix use of VariantDir when the -n option is used and doesn't,
stevenknight [Wed, 15 Oct 2008 14:36:07 +0000 (14:36 +0000)]
Fix use of VariantDir when the -n option is used and doesn't,
therefore, actually create the variant directory.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@3693 fdb21ef1-2011-0410-befe-b5e4ea1792b1

16 years agoRemove the old, empty test/BuildDir directory.
stevenknight [Wed, 15 Oct 2008 14:25:16 +0000 (14:25 +0000)]
Remove the old, empty test/BuildDir directory.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@3692 fdb21ef1-2011-0410-befe-b5e4ea1792b1

16 years agoSupport the -f option allowing specification of a different top-level
stevenknight [Wed, 15 Oct 2008 14:16:13 +0000 (14:16 +0000)]
Support the -f option allowing specification of a different top-level
"SConstruct" file name to search for when using the -D, -U or -u options.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@3691 fdb21ef1-2011-0410-befe-b5e4ea1792b1

16 years agoFix release lines (incorrect line updated in merge from checkpoint).
stevenknight [Wed, 15 Oct 2008 05:35:43 +0000 (05:35 +0000)]
Fix release lines (incorrect line updated in merge from checkpoint).

git-svn-id: http://scons.tigris.org/svn/scons/trunk@3689 fdb21ef1-2011-0410-befe-b5e4ea1792b1

16 years agoCollect the scripts for the three "climb up" options (-D, -U and -u)
stevenknight [Wed, 15 Oct 2008 00:28:04 +0000 (00:28 +0000)]
Collect the scripts for the three "climb up" options (-D, -U and -u)
in a subdirectory.  Split sub-tests into separate scripts.  Clean things
up a bit.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@3684 fdb21ef1-2011-0410-befe-b5e4ea1792b1

16 years agoTest and document the ability to specify multiple -f files.
stevenknight [Tue, 14 Oct 2008 23:06:36 +0000 (23:06 +0000)]
Test and document the ability to specify multiple -f files.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@3683 fdb21ef1-2011-0410-befe-b5e4ea1792b1

16 years agoDon't use the Exception.message attribute that was deprecated in
stevenknight [Sun, 12 Oct 2008 04:31:07 +0000 (04:31 +0000)]
Don't use the Exception.message attribute that was deprecated in
Python 2.6; just str() the exception instead.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@3679 fdb21ef1-2011-0410-befe-b5e4ea1792b1

16 years agoPython 2.6 portability: add __{add,radd}__() methods to the CLVar
stevenknight [Sun, 12 Oct 2008 04:28:06 +0000 (04:28 +0000)]
Python 2.6 portability:  add __{add,radd}__() methods to the CLVar
class used for testing.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@3678 fdb21ef1-2011-0410-befe-b5e4ea1792b1

16 years agoDon't use "as" as a variable name--reserved in Python 2.6.
stevenknight [Sun, 12 Oct 2008 03:54:23 +0000 (03:54 +0000)]
Don't use "as" as a variable name--reserved in Python 2.6.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@3677 fdb21ef1-2011-0410-befe-b5e4ea1792b1

16 years agoFix intended tuple syntax (for Python 2.2 and before).
stevenknight [Sun, 12 Oct 2008 00:27:30 +0000 (00:27 +0000)]
Fix intended tuple syntax (for Python 2.2 and before).

git-svn-id: http://scons.tigris.org/svn/scons/trunk@3676 fdb21ef1-2011-0410-befe-b5e4ea1792b1

16 years agoPython 2.6 made "as" a keyword, so test the importability of the
stevenknight [Sat, 11 Oct 2008 13:35:01 +0000 (13:35 +0000)]
Python 2.6 made "as" a keyword, so test the importability of the
Tool.as module indirectly, not with a direct import statement.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@3673 fdb21ef1-2011-0410-befe-b5e4ea1792b1

16 years agoFix our SCons.Util.CLVar implementation (__add__() and __radd__()
stevenknight [Sat, 11 Oct 2008 13:32:37 +0000 (13:32 +0000)]
Fix our SCons.Util.CLVar implementation (__add__() and __radd__()
methods) so env.{Ap,Pre}pend() work under Python 2.6 when appending
strings to $*FLAGS variables.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@3672 fdb21ef1-2011-0410-befe-b5e4ea1792b1

16 years agoUpdate tigris.org for the 1.1.0 release.
stevenknight [Sat, 11 Oct 2008 13:15:47 +0000 (13:15 +0000)]
Update tigris.org for the 1.1.0 release.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@3670 fdb21ef1-2011-0410-befe-b5e4ea1792b1

16 years agoMerged revisions 3378-3423,3425-3532,3534-3599,3601-3610 via svnmerge from
stevenknight [Fri, 10 Oct 2008 16:28:25 +0000 (16:28 +0000)]
Merged revisions 3378-3423,3425-3532,3534-3599,3601-3610 via svnmerge from
http://scons.tigris.org/svn/scons/checkpoint

................
  r3425 | stevenknight | 2008-09-15 11:21:57 -0700 (Mon, 15 Sep 2008) | 2 lines

  Update version and dates for the 20080915 checkpoint release.
................
  r3534 | stevenknight | 2008-10-01 23:20:52 -0700 (Wed, 01 Oct 2008) | 2 lines

  Update for 1.1 release candidate checkpoint.
................
  r3610 | stevenknight | 2008-10-10 09:25:52 -0700 (Fri, 10 Oct 2008) | 9 lines

  Merged revisions 3377-3600,3602-3609 via svnmerge from
  http://scons.tigris.org/svn/scons/release

  ........
    r3603 | stevenknight | 2008-10-10 05:42:04 -0700 (Fri, 10 Oct 2008) | 2 lines

    Updates for the 1.1.0 release.
  ........
................

git-svn-id: http://scons.tigris.org/svn/scons/trunk@3611 fdb21ef1-2011-0410-befe-b5e4ea1792b1

16 years agoDon't add an action to use epstopdf to build .pdf from .ps
managan [Fri, 10 Oct 2008 15:53:23 +0000 (15:53 +0000)]
Don't add an action to use epstopdf to build .pdf from .ps
This is already an action in gs.py

git-svn-id: http://scons.tigris.org/svn/scons/trunk@3608 fdb21ef1-2011-0410-befe-b5e4ea1792b1

16 years agoTesting on a Mac turned up a problem that did not show up on linux.
managan [Wed, 8 Oct 2008 16:30:07 +0000 (16:30 +0000)]
Testing on a Mac turned up a problem that did not show up on linux.
SK and I agree that we are surprised by that.

Both bld = env['BUILDERS']['PDF'] and bld = env['BUILDERS']['DVI'] had
lines like
bld.add_action('.tex', LaTeXAuxAction)  # for DVI
bld.add_action('.tex', PDFLaTeXAuxAction) # for PDF
run from the initialization of two tools. This was a BAD thing.

That cured some test failures. For the rest I made all the TEX tests
initialize the environment with the os.environ PATH since the check
for the existence of the tools with where_is that looks on the system path.

So the tests still quietly exit if the tool is not on the system path
and now find if it is in a non-standard location like I have.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@3599 fdb21ef1-2011-0410-befe-b5e4ea1792b1

16 years agofix bug in SCons.Action._subproc
GregNoel [Wed, 8 Oct 2008 11:01:02 +0000 (11:01 +0000)]
fix bug in SCons.Action._subproc

git-svn-id: http://scons.tigris.org/svn/scons/trunk@3598 fdb21ef1-2011-0410-befe-b5e4ea1792b1

16 years agoPython 1.5 compatibility.
stevenknight [Wed, 8 Oct 2008 01:10:58 +0000 (01:10 +0000)]
Python 1.5 compatibility.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@3595 fdb21ef1-2011-0410-befe-b5e4ea1792b1

16 years agoUpdate test scripts with more information must_*() methods.
stevenknight [Wed, 8 Oct 2008 00:58:12 +0000 (00:58 +0000)]
Update test scripts with more information must_*() methods.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@3594 fdb21ef1-2011-0410-befe-b5e4ea1792b1

16 years agoReset the default Verbose value to False.
stevenknight [Tue, 7 Oct 2008 21:34:59 +0000 (21:34 +0000)]
Reset the default Verbose value to False.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@3593 fdb21ef1-2011-0410-befe-b5e4ea1792b1

16 years agotest/TEX/PDF_single_source.py
managan [Tue, 7 Oct 2008 18:39:19 +0000 (18:39 +0000)]
test/TEX/PDF_single_source.py
Test of generating several .pdfs from a list of .ps (new single_source setting)

test/TEX/LATEX2.py
Based on second half of LATEX. generate all .pdf's at once by giving a list of .tex files
test of single_source

src/engine/SCons/Scanner/LaTeX.py
Add test of changing an included file.
Add test of included file having no extension

src/engine/SCons/Scanner/LaTeX.py
Add lists of acceptable graphics extensions,
In the furture make this user configurable??

Scan for files in the paths stored in env['TEXINPUTS'] and env['ENV']['TEXINPUTS']
for people who may just input their environment...
Add function findENVPatDirs for this purpose

src/engine/SCons/Tool/pdf.py
add epstopdf action
Have to add it after the pdftex action so it is not the default.
Make builder single_source since each input produces one output

src/engine/SCons/Tool/pdftex.py
use tex_eps_emitter
call pdf.generate2 to add epstopdf action after the PDFLaTeXAction

src/engine/SCons/Tool/dvipdf.py
simplify coding that adds the source directory to the search path TEXPICTS

src/engine/SCons/Tool/dvips.py
Add single_source option since each ps file comes from one dvi file

src/engine/SCons/Tool/pdflatex.py
add .tex as a valid extension and switch emitters to tex_pdf_emitter

src/engine/SCons/Tool/tex.py
fix regular expressions ^[^%]* to ^[^%\n]* for multiline environment
add REs for \input or \include and \includegraphics

get graphics extensions from Scanner.LaTeX so they are defined in one place

move modify_env_var to Scanner.LaTeX since it is used there and easier to import it here

add FindFile routine to find a file given name, list of suffixes, paths, env
    returns a node for the file.

add tex_eps_emitter and tex_pdf_emitter that call a core routine with
a different list of graphics extensions that can be handled by the
tool used (latex vs. pdflatex)

revamp feature test/suffix list into two lists and build the list used
to create sideeffects for each input file...
These tests now get applied to each included file so the whole source
tree is tested.

Get list of paths from env['ENV']['TEXINPUTS'] and env['TEXINPUTS']
if find we need a .pdf file and only have .eps or .ps set up the
.pdf as a target with the .eps as source...

change emitter to tex_eps_emitter

src/engine/SCons/Tool/latex.py
add .tex as a valid extension and switch emitters to tex_eps_emitter

git-svn-id: http://scons.tigris.org/svn/scons/trunk@3592 fdb21ef1-2011-0410-befe-b5e4ea1792b1

16 years agoFix label placement in gnuplot graphs by the "scons-time.py func"
stevenknight [Tue, 7 Oct 2008 04:52:38 +0000 (04:52 +0000)]
Fix label placement in gnuplot graphs by the "scons-time.py func"
subcommand when a profile result is equal to (or near) 0.0.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@3572 fdb21ef1-2011-0410-befe-b5e4ea1792b1

16 years agoInitial Python 2.6 portability in SCons code itself, using subprocess
stevenknight [Tue, 7 Oct 2008 00:40:11 +0000 (00:40 +0000)]
Initial Python 2.6 portability in SCons code itself, using subprocess
in place of popen2, and calling hashlib.md5() instead of the md5 module.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@3571 fdb21ef1-2011-0410-befe-b5e4ea1792b1

16 years agoRudimentary Python 2.6 portability in the test infrastructure, fixing
stevenknight [Tue, 7 Oct 2008 00:39:54 +0000 (00:39 +0000)]
Rudimentary Python 2.6 portability in the test infrastructure, fixing
"import popen2" warnings that interfere with some of the tests executing
cleanly.  This converts to using subprocess by default, falling back
to popen2 if it's not available.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@3570 fdb21ef1-2011-0410-befe-b5e4ea1792b1

16 years agoRemove left-over debug print.
stevenknight [Tue, 7 Oct 2008 00:39:42 +0000 (00:39 +0000)]
Remove left-over debug print.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@3569 fdb21ef1-2011-0410-befe-b5e4ea1792b1

16 years agoFix a block in Script/Main.py that could swallow KeyboardInterrupt
stevenknight [Sun, 5 Oct 2008 13:42:01 +0000 (13:42 +0000)]
Fix a block in Script/Main.py that could swallow KeyboardInterrupt
exceptions.  Fix the script that analyzes our try:-except: block so it
recognizes that "except Exception, e:" is equivalent to "except:".

git-svn-id: http://scons.tigris.org/svn/scons/trunk@3552 fdb21ef1-2011-0410-befe-b5e4ea1792b1

16 years agodocumentation changes for Action() refactoring
GregNoel [Sat, 4 Oct 2008 15:37:28 +0000 (15:37 +0000)]
documentation changes for Action() refactoring

git-svn-id: http://scons.tigris.org/svn/scons/trunk@3551 fdb21ef1-2011-0410-befe-b5e4ea1792b1

16 years agoIssue 2166, refactor Action() factory to make positional parameters consistent
GregNoel [Sat, 4 Oct 2008 15:35:57 +0000 (15:35 +0000)]
Issue 2166, refactor Action() factory to make positional parameters consistent

git-svn-id: http://scons.tigris.org/svn/scons/trunk@3550 fdb21ef1-2011-0410-befe-b5e4ea1792b1

16 years agoFix small inefficiency in jobs dispatching
GregNoel [Sat, 4 Oct 2008 15:35:50 +0000 (15:35 +0000)]
Fix small inefficiency in jobs dispatching

git-svn-id: http://scons.tigris.org/svn/scons/trunk@3549 fdb21ef1-2011-0410-befe-b5e4ea1792b1

16 years agoUpdates to SCons development system admin scripts:
stevenknight [Sat, 4 Oct 2008 00:26:11 +0000 (00:26 +0000)]
Updates to SCons development system admin scripts:
* Add Python 2.6.
* Add recent SCons versions.
* Add pkg-config (used to generate some doc examples).

git-svn-id: http://scons.tigris.org/svn/scons/trunk@3548 fdb21ef1-2011-0410-befe-b5e4ea1792b1

16 years agoUser's Guide updates:
stevenknight [Fri, 3 Oct 2008 23:06:51 +0000 (23:06 +0000)]
User's Guide updates:
Mostly MSVC compilation lines so the /Fo is at the beginning of the
output line.  Also some new/modified variables in the environment dump
in the Troubleshooting appendix, and removing a leftover XXX todo comment.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@3547 fdb21ef1-2011-0410-befe-b5e4ea1792b1

16 years agoUpdate highlight and roadmap schedule.
stevenknight [Fri, 3 Oct 2008 05:52:00 +0000 (05:52 +0000)]
Update highlight and roadmap schedule.
Add a comment about how to generate the roadmap table from the
"schedule" input file.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@3537 fdb21ef1-2011-0410-befe-b5e4ea1792b1

16 years agoCorrect typos to roadmap.html that snuck in...
GregNoel [Thu, 2 Oct 2008 03:05:31 +0000 (03:05 +0000)]
Correct typos to roadmap.html that snuck in...

git-svn-id: http://scons.tigris.org/svn/scons/trunk@3531 fdb21ef1-2011-0410-befe-b5e4ea1792b1

16 years agoMove release days to Monday; slip 1.1 (but not rest); typos
GregNoel [Thu, 2 Oct 2008 02:56:17 +0000 (02:56 +0000)]
Move release days to Monday; slip 1.1 (but not rest); typos

git-svn-id: http://scons.tigris.org/svn/scons/trunk@3530 fdb21ef1-2011-0410-befe-b5e4ea1792b1

16 years agoimplement delete_existing for AppendUnique and PrependUnique. Finishes #2091.
garyo [Thu, 2 Oct 2008 02:17:58 +0000 (02:17 +0000)]
implement delete_existing for AppendUnique and PrependUnique.  Finishes #2091.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@3529 fdb21ef1-2011-0410-befe-b5e4ea1792b1

16 years agoAdd Users Guide example of using $SOURCE substitution in a target name in a Command...
garyo [Thu, 2 Oct 2008 01:43:53 +0000 (01:43 +0000)]
Add Users Guide example of using $SOURCE substitution in a target name in a Command builder.  Just doc.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@3528 fdb21ef1-2011-0410-befe-b5e4ea1792b1

16 years agoPython 2.2 portability: no dictionary pop() method.
stevenknight [Wed, 1 Oct 2008 14:58:22 +0000 (14:58 +0000)]
Python 2.2 portability:  no dictionary pop() method.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@3527 fdb21ef1-2011-0410-befe-b5e4ea1792b1

16 years agoUpdate for latest changes.
stevenknight [Wed, 1 Oct 2008 11:02:29 +0000 (11:02 +0000)]
Update for latest changes.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@3526 fdb21ef1-2011-0410-befe-b5e4ea1792b1

16 years agoFix the regular expression for LaTeX scanning so that it matches
stevenknight [Wed, 1 Oct 2008 11:02:08 +0000 (11:02 +0000)]
Fix the regular expression for LaTeX scanning so that it matches
\include (and other inclusion strings) after blank lines.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@3525 fdb21ef1-2011-0410-befe-b5e4ea1792b1

16 years agoAdd ability to use "$SOURCE" when specifying a target to a builder; fixes #2219.
garyo [Wed, 1 Oct 2008 02:47:36 +0000 (02:47 +0000)]
Add ability to use "$SOURCE" when specifying a target to a builder; fixes #2219.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@3524 fdb21ef1-2011-0410-befe-b5e4ea1792b1

16 years agoThis patch removes setting the variable TEXPICTS in the tex tools and
managan [Tue, 30 Sep 2008 22:54:35 +0000 (22:54 +0000)]
This patch removes setting the variable TEXPICTS in the tex tools and
sets it in tee dvi2ps and dvipdf tools where it is needed. This means that we
can reset it to the original value at the end of the tool.

This is done by storing the .tex source file's path in the
.dvi file's Node .attribute slot and retrieving it in the dvi2ps and dvipdf
tools from the source.

I also updated the list of graphics extensions in the Latex scanner

I set up one function that gets called to run either dvi2ps or dvipdf
after setting TEXPICTS.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@3523 fdb21ef1-2011-0410-befe-b5e4ea1792b1

16 years agoBetter error when taskmaster gets an exception while scanning children (show actual...
garyo [Mon, 29 Sep 2008 21:46:49 +0000 (21:46 +0000)]
Better error when taskmaster gets an exception while scanning children (show actual exception string).

git-svn-id: http://scons.tigris.org/svn/scons/trunk@3520 fdb21ef1-2011-0410-befe-b5e4ea1792b1

16 years agoFix test to work with all versions of Python
GregNoel [Mon, 29 Sep 2008 08:13:07 +0000 (08:13 +0000)]
Fix test to work with all versions of Python

git-svn-id: http://scons.tigris.org/svn/scons/trunk@3515 fdb21ef1-2011-0410-befe-b5e4ea1792b1

16 years agoIssue 1646: Block-wise signature computation for large files
pankrat [Sun, 28 Sep 2008 13:04:03 +0000 (13:04 +0000)]
Issue 1646: Block-wise signature computation for large files

git-svn-id: http://scons.tigris.org/svn/scons/trunk@3514 fdb21ef1-2011-0410-befe-b5e4ea1792b1

16 years agoFix scons-local packaging test breakage in MSVS tests by correcting
stevenknight [Sat, 27 Sep 2008 14:28:11 +0000 (14:28 +0000)]
Fix scons-local packaging test breakage in MSVS tests by correcting
the spelling of TestSCons._scons_version to TestSCons.scons_version.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@3492 fdb21ef1-2011-0410-befe-b5e4ea1792b1

16 years agoRevert checkin of incomplete change
GregNoel [Fri, 26 Sep 2008 18:48:37 +0000 (18:48 +0000)]
Revert checkin of incomplete change

git-svn-id: http://scons.tigris.org/svn/scons/trunk@3491 fdb21ef1-2011-0410-befe-b5e4ea1792b1

16 years agoreassign credit where credit is due
GregNoel [Fri, 26 Sep 2008 18:31:20 +0000 (18:31 +0000)]
reassign credit where credit is due

git-svn-id: http://scons.tigris.org/svn/scons/trunk@3490 fdb21ef1-2011-0410-befe-b5e4ea1792b1

16 years agoUpdate with recent changes:
stevenknight [Fri, 26 Sep 2008 16:16:07 +0000 (16:16 +0000)]
Update with recent changes:
* Scan .rc files.
* Big TeX changes.
* .sx file suffix.
* delete_existing keyword argument.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@3489 fdb21ef1-2011-0410-befe-b5e4ea1792b1

16 years agoAdd RC.py scanner to MANIFEST.in
cournape [Fri, 26 Sep 2008 06:21:17 +0000 (06:21 +0000)]
Add RC.py scanner to MANIFEST.in

git-svn-id: http://scons.tigris.org/svn/scons/trunk@3484 fdb21ef1-2011-0410-befe-b5e4ea1792b1

16 years agoFixed an issue with the way the test was setting up the CPPPATH.
bdbaddog [Fri, 26 Sep 2008 04:42:05 +0000 (04:42 +0000)]
Fixed an issue with the way the test was setting up the CPPPATH.
Was causing buildbot failure on centos5 buildbot.
Turns out some weird interaction with the bogus code which is replaced
below was only happening when setuptools was installed
in the python tree being used for tests.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@3481 fdb21ef1-2011-0410-befe-b5e4ea1792b1

16 years agoUpdated fix for bug 2082 adding support for D3DFX keyword and fixing python 1.5.2...
bdbaddog [Fri, 26 Sep 2008 01:52:56 +0000 (01:52 +0000)]
Updated fix for bug 2082 adding support for D3DFX keyword and fixing python 1.5.2 issue

git-svn-id: http://scons.tigris.org/svn/scons/trunk@3480 fdb21ef1-2011-0410-befe-b5e4ea1792b1

16 years agoSort the results of unittest for RC scanner before comparing them.
bdbaddog [Thu, 25 Sep 2008 21:30:54 +0000 (21:30 +0000)]
Sort the results of unittest for RC scanner before comparing them.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@3479 fdb21ef1-2011-0410-befe-b5e4ea1792b1

16 years agoFix for previous fix for 402 and 2082
bdbaddog [Thu, 25 Sep 2008 21:05:24 +0000 (21:05 +0000)]
Fix for previous fix for 402 and 2082

git-svn-id: http://scons.tigris.org/svn/scons/trunk@3478 fdb21ef1-2011-0410-befe-b5e4ea1792b1

16 years agoFix __COPYRIGHT__ and __revision__ lines.
stevenknight [Thu, 25 Sep 2008 20:43:06 +0000 (20:43 +0000)]
Fix __COPYRIGHT__ and __revision__ lines.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@3477 fdb21ef1-2011-0410-befe-b5e4ea1792b1

16 years agoMake a naked except: block catch specific exceptions (and not
stevenknight [Thu, 25 Sep 2008 20:42:02 +0000 (20:42 +0000)]
Make a naked except: block catch specific exceptions (and not
swallow a KeyboardInterrupt at the wrong time).

git-svn-id: http://scons.tigris.org/svn/scons/trunk@3476 fdb21ef1-2011-0410-befe-b5e4ea1792b1

16 years agoFix for bugs 402 and 2082 - implement scanner for windows resource files.
bdbaddog [Thu, 25 Sep 2008 19:44:49 +0000 (19:44 +0000)]
Fix for bugs 402 and 2082 - implement scanner for windows resource files.
Basic unittest included

git-svn-id: http://scons.tigris.org/svn/scons/trunk@3475 fdb21ef1-2011-0410-befe-b5e4ea1792b1

16 years agoIssue 2183, fix typos
GregNoel [Thu, 25 Sep 2008 18:35:12 +0000 (18:35 +0000)]
Issue 2183, fix typos

git-svn-id: http://scons.tigris.org/svn/scons/trunk@3474 fdb21ef1-2011-0410-befe-b5e4ea1792b1

16 years agoIssue 2183: .sx assembler suffix uses C preprocessor
GregNoel [Thu, 25 Sep 2008 09:31:12 +0000 (09:31 +0000)]
Issue 2183: .sx assembler suffix uses C preprocessor

git-svn-id: http://scons.tigris.org/svn/scons/trunk@3473 fdb21ef1-2011-0410-befe-b5e4ea1792b1

16 years agoChange FUTURE markers to TODO(1.5) so we are all using the same style.
GregNoel [Thu, 25 Sep 2008 05:37:41 +0000 (05:37 +0000)]
Change FUTURE markers to TODO(1.5) so we are all using the same style.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@3472 fdb21ef1-2011-0410-befe-b5e4ea1792b1

16 years agoAdd descrption of release candidate to roadmap, plus some clarifications.
GregNoel [Wed, 24 Sep 2008 23:46:05 +0000 (23:46 +0000)]
Add descrption of release candidate to roadmap, plus some clarifications.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@3471 fdb21ef1-2011-0410-befe-b5e4ea1792b1

16 years agoPython 1.5 portability in test/Execute.py.
stevenknight [Wed, 24 Sep 2008 15:53:30 +0000 (15:53 +0000)]
Python 1.5 portability in test/Execute.py.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@3470 fdb21ef1-2011-0410-befe-b5e4ea1792b1

16 years agoSplit the MSVS variant_dir sub-tests into separate test scripts.
stevenknight [Wed, 24 Sep 2008 12:28:10 +0000 (12:28 +0000)]
Split the MSVS variant_dir sub-tests into separate test scripts.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@3469 fdb21ef1-2011-0410-befe-b5e4ea1792b1

16 years agoSplit the sub-tests for cleaning MSVS project and solution files
stevenknight [Wed, 24 Sep 2008 12:08:07 +0000 (12:08 +0000)]
Split the sub-tests for cleaning MSVS project and solution files
into separate test scripts.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@3468 fdb21ef1-2011-0410-befe-b5e4ea1792b1

16 years agoMove the MSVS 6.0 test data into QMTest/TestSConsMSVS.py, too.
stevenknight [Wed, 24 Sep 2008 11:45:37 +0000 (11:45 +0000)]
Move the MSVS 6.0 test data into QMTest/TestSConsMSVS.py, too.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@3467 fdb21ef1-2011-0410-befe-b5e4ea1792b1

16 years agoMove Visal Studio test data into QMTest/TestSConsMSVS.py.
stevenknight [Wed, 24 Sep 2008 01:01:37 +0000 (01:01 +0000)]
Move Visal Studio test data into QMTest/TestSConsMSVS.py.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@3466 fdb21ef1-2011-0410-befe-b5e4ea1792b1

16 years agoRefactor Visual Studio testing logic into a separate TestSConsMSVS
stevenknight [Tue, 23 Sep 2008 16:15:40 +0000 (16:15 +0000)]
Refactor Visual Studio testing logic into a separate TestSConsMSVS
subclass, in its own module.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@3464 fdb21ef1-2011-0410-befe-b5e4ea1792b1

16 years agoPython 1.5 compatibility: explicity import SCons.compat (again)
stevenknight [Tue, 23 Sep 2008 07:08:46 +0000 (07:08 +0000)]
Python 1.5 compatibility:  explicity import SCons.compat (again)
so the zip() function is available so the unit tests can pass when
run on older Python versions.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@3463 fdb21ef1-2011-0410-befe-b5e4ea1792b1

16 years ago1.5 compatibility: string methods in Tool/msvs.py.
stevenknight [Tue, 23 Sep 2008 05:41:05 +0000 (05:41 +0000)]
1.5 compatibility:  string methods in Tool/msvs.py.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@3461 fdb21ef1-2011-0410-befe-b5e4ea1792b1

16 years ago1.5 / 2.[01] compatibility: nested scopes in Tool/tex.py.
stevenknight [Tue, 23 Sep 2008 05:40:46 +0000 (05:40 +0000)]
1.5 / 2.[01] compatibility:  nested scopes in Tool/tex.py.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@3460 fdb21ef1-2011-0410-befe-b5e4ea1792b1

16 years ago1.5 / 2.[012] compatiblity: shutil.move() function.
stevenknight [Tue, 23 Sep 2008 05:40:19 +0000 (05:40 +0000)]
1.5 / 2.[012] compatiblity:  shutil.move() function.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@3459 fdb21ef1-2011-0410-befe-b5e4ea1792b1

16 years ago1.5 compatiblity: string method in Node/FSTests.py.
stevenknight [Tue, 23 Sep 2008 05:39:57 +0000 (05:39 +0000)]
1.5 compatiblity:  string method in Node/FSTests.py.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@3458 fdb21ef1-2011-0410-befe-b5e4ea1792b1

16 years agoIssue 2215: add a file() builtin to the compatability layer
stevenknight [Tue, 23 Sep 2008 00:50:43 +0000 (00:50 +0000)]
Issue 2215:  add a file() builtin to the compatability layer
(for pre-2.2 Python versions).

git-svn-id: http://scons.tigris.org/svn/scons/trunk@3457 fdb21ef1-2011-0410-befe-b5e4ea1792b1

16 years agoPython 2.2 portability (no .pop() method on dictionaries, ' in '
stevenknight [Mon, 22 Sep 2008 22:25:04 +0000 (22:25 +0000)]
Python 2.2 portability (no .pop() method on dictionaries, ' in '
doesn't search for substrings).

git-svn-id: http://scons.tigris.org/svn/scons/trunk@3456 fdb21ef1-2011-0410-befe-b5e4ea1792b1

16 years agoFix for Windows that doesn't break other systems: delete the
stevenknight [Mon, 22 Sep 2008 20:29:53 +0000 (20:29 +0000)]
Fix for Windows that doesn't break other systems:  delete the
PYTHON_ROOT environment variable instead of nulling it out.
(Bill Deegan)

git-svn-id: http://scons.tigris.org/svn/scons/trunk@3454 fdb21ef1-2011-0410-befe-b5e4ea1792b1

16 years agoFix the Latex scanner to search for graphics on the TEXINPUTS path
managan [Mon, 22 Sep 2008 19:43:02 +0000 (19:43 +0000)]
Fix the Latex scanner to search for graphics on the TEXINPUTS path
instead of TEXPICTS.
Add the LATEXSUFFIXES keyword to the DummyEnvironment calls since
the scanner needs it.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@3453 fdb21ef1-2011-0410-befe-b5e4ea1792b1

16 years agoWindows portability (path names in expected output).
stevenknight [Mon, 22 Sep 2008 15:38:47 +0000 (15:38 +0000)]
Windows portability (path names in expected output).

git-svn-id: http://scons.tigris.org/svn/scons/trunk@3451 fdb21ef1-2011-0410-befe-b5e4ea1792b1

16 years agoFix syntax and semantic errors preventing regression tests from running on 1.5.2
GregNoel [Mon, 22 Sep 2008 08:28:28 +0000 (08:28 +0000)]
Fix syntax and semantic errors preventing regression tests from running on 1.5.2

git-svn-id: http://scons.tigris.org/svn/scons/trunk@3450 fdb21ef1-2011-0410-befe-b5e4ea1792b1

16 years agomake references to subprocess.Popen synchronous
GregNoel [Mon, 22 Sep 2008 08:11:34 +0000 (08:11 +0000)]
make references to subprocess.Popen synchronous

git-svn-id: http://scons.tigris.org/svn/scons/trunk@3449 fdb21ef1-2011-0410-befe-b5e4ea1792b1

16 years agoFix doc for r3436 (new delete_existing flags for Append/Prepend)
garyo [Sat, 20 Sep 2008 15:42:15 +0000 (15:42 +0000)]
Fix doc for r3436 (new delete_existing flags for Append/Prepend)

git-svn-id: http://scons.tigris.org/svn/scons/trunk@3448 fdb21ef1-2011-0410-befe-b5e4ea1792b1

16 years agoWindows portability: different error message for the nonexistent file.
stevenknight [Sat, 20 Sep 2008 14:56:28 +0000 (14:56 +0000)]
Windows portability:  different error message for the nonexistent file.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@3447 fdb21ef1-2011-0410-befe-b5e4ea1792b1

16 years agoWindows portability: use os.sep instead of hard-coded /.
stevenknight [Sat, 20 Sep 2008 14:51:56 +0000 (14:51 +0000)]
Windows portability:  use os.sep instead of hard-coded /.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@3446 fdb21ef1-2011-0410-befe-b5e4ea1792b1

16 years agoWindows test fix: enhance the TestSCons class so an explicit
stevenknight [Sat, 20 Sep 2008 13:41:57 +0000 (13:41 +0000)]
Windows test fix:  enhance the TestSCons class so an explicit
python=None argument still defaults to sys.executable.  Use this to
reset the python value we interpolate into the expected files that we
generate after resetting the os.environ['PYTHON'] value.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@3445 fdb21ef1-2011-0410-befe-b5e4ea1792b1

16 years agoFix indentation issue
bdbaddog [Sat, 20 Sep 2008 05:55:45 +0000 (05:55 +0000)]
Fix indentation issue

git-svn-id: http://scons.tigris.org/svn/scons/trunk@3444 fdb21ef1-2011-0410-befe-b5e4ea1792b1

16 years agoFix broken swig tests when python being used to run tests is incompatible with system...
bdbaddog [Sat, 20 Sep 2008 05:42:59 +0000 (05:42 +0000)]
Fix broken swig tests when python being used to run tests is incompatible with system swig.
Propagate to the created SConstructs the version of swig found by the test (which is used to determine whether to run or not run this test).

git-svn-id: http://scons.tigris.org/svn/scons/trunk@3443 fdb21ef1-2011-0410-befe-b5e4ea1792b1

16 years agoFix test/VariantDir/VariantDir.py on centos5, currently failing as TestSCons.py speci...
bdbaddog [Sat, 20 Sep 2008 05:41:43 +0000 (05:41 +0000)]
Fix test/VariantDir/VariantDir.py on centos5, currently failing as TestSCons.py specifies incorrect fortran library to link against for gcc's newer then 4.0 (aka 4.1.2 which ships with python)

git-svn-id: http://scons.tigris.org/svn/scons/trunk@3442 fdb21ef1-2011-0410-befe-b5e4ea1792b1

16 years agoCall str() on the string values of environment variables used by the
stevenknight [Sat, 20 Sep 2008 01:21:36 +0000 (01:21 +0000)]
Call str() on the string values of environment variables used by the
_subproc(), so the underlying subprocess.Popen() call won't throw
an exception if the value is actually a Unicode string.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@3441 fdb21ef1-2011-0410-befe-b5e4ea1792b1

16 years agoWindows portability: escape strings with file path names, which
stevenknight [Sat, 20 Sep 2008 01:07:39 +0000 (01:07 +0000)]
Windows portability:  escape strings with file path names, which
have \ separators on Windows.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@3440 fdb21ef1-2011-0410-befe-b5e4ea1792b1

16 years agoWindows portability: use os.path.join() for expected subdirectory paths.
stevenknight [Sat, 20 Sep 2008 01:05:46 +0000 (01:05 +0000)]
Windows portability:  use os.path.join() for expected subdirectory paths.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@3439 fdb21ef1-2011-0410-befe-b5e4ea1792b1

16 years agoMake the test/MSVC/{msvc,hierarchical}.py tests work even if
stevenknight [Fri, 19 Sep 2008 16:02:13 +0000 (16:02 +0000)]
Make the test/MSVC/{msvc,hierarchical}.py tests work even if
%INCLUDE% and %LIB% aren't set.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@3438 fdb21ef1-2011-0410-befe-b5e4ea1792b1

16 years agoWindows portability in the expected output.
stevenknight [Fri, 19 Sep 2008 15:46:55 +0000 (15:46 +0000)]
Windows portability in the expected output.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@3437 fdb21ef1-2011-0410-befe-b5e4ea1792b1

16 years agoFix issue #2091 by adding new delete_existing flags to Util.{Ap,Pre}pendPath and...
garyo [Thu, 18 Sep 2008 03:07:41 +0000 (03:07 +0000)]
Fix issue #2091 by adding new delete_existing flags to Util.{Ap,Pre}pendPath and env.{Ap,Pre}pendENVPath.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@3436 fdb21ef1-2011-0410-befe-b5e4ea1792b1

16 years agoHefty update to the tex tool.
managan [Thu, 18 Sep 2008 00:13:45 +0000 (00:13 +0000)]
Hefty update to the tex tool.
It now iterates until all the warnings are gone and the auxiliary files
stop changing or it hits the max retires limit.

It adds the common auxiliary files to the emitter as sideeffects

Added support for glossaries, nomenclatures, lists of figures,
lists of tables, hyperref, and beamer

The user can entry environment changes like env['TEXINPUTS'] and
they get copied to env['ENV']['TEXINPUTS'] (thanks to  Dmitry Mikhin )

It also works with variantdir, duplicate =0

git-svn-id: http://scons.tigris.org/svn/scons/trunk@3435 fdb21ef1-2011-0410-befe-b5e4ea1792b1

16 years agoMake the test/TEX/LATEX*py scripts work even on systems that don't have
stevenknight [Wed, 17 Sep 2008 13:19:31 +0000 (13:19 +0000)]
Make the test/TEX/LATEX*py scripts work even on systems that don't have
all the right tools installed.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@3434 fdb21ef1-2011-0410-befe-b5e4ea1792b1

16 years agoFix doc typo reported in the mailing list and another small glitch
GregNoel [Wed, 17 Sep 2008 02:18:03 +0000 (02:18 +0000)]
Fix doc typo reported in the mailing list and another small glitch

git-svn-id: http://scons.tigris.org/svn/scons/trunk@3433 fdb21ef1-2011-0410-befe-b5e4ea1792b1

16 years agoMake the framework library path we return on Mac OS X match the framework
stevenknight [Tue, 16 Sep 2008 16:29:29 +0000 (16:29 +0000)]
Make the framework library path we return on Mac OS X match the framework
paths for executables and headers, so tests like test/SWIG/live.py work
even if there are multiple Python versions installed with frameworks
in different locations.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@3432 fdb21ef1-2011-0410-befe-b5e4ea1792b1

16 years agoFix error reported on IRC
GregNoel [Tue, 16 Sep 2008 02:31:02 +0000 (02:31 +0000)]
Fix error reported on IRC

git-svn-id: http://scons.tigris.org/svn/scons/trunk@3431 fdb21ef1-2011-0410-befe-b5e4ea1792b1

16 years agoUpdate project highlights and roadmap for 1.0.1.d20080915 checkpoint.
stevenknight [Mon, 15 Sep 2008 21:30:34 +0000 (21:30 +0000)]
Update project highlights and roadmap for 1.0.1.d20080915 checkpoint.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@3430 fdb21ef1-2011-0410-befe-b5e4ea1792b1

16 years agoRevert 2102, pending additional discussion.
stevenknight [Mon, 15 Sep 2008 14:12:25 +0000 (14:12 +0000)]
Revert 2102, pending additional discussion.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@3423 fdb21ef1-2011-0410-befe-b5e4ea1792b1

16 years agoIssue 2102: Add support for Visual Studio 9 and newer Platform
stevenknight [Mon, 15 Sep 2008 07:02:59 +0000 (07:02 +0000)]
Issue 2102:  Add support for Visual Studio 9 and newer Platform
SDK versions.  (Dmitri Rubinstein)

git-svn-id: http://scons.tigris.org/svn/scons/trunk@3422 fdb21ef1-2011-0410-befe-b5e4ea1792b1