summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Applied Benoit Belley's patch in ticket 1957 improve the robustness ofGary Oberbrunner2008-10-2925-132/+457
| | | | | | | | | | | | GetBuildFailures(). New function convert_to_buildError, and use it in several places so all build failures now go through it and are returned as BuildError exceptions. Had a small effect on output formatting in many tests but no significant change to behavior. I reworked the patch a little to keep SCons exit status values the same as before; this patch could make it simpler to change them in some cases, e.g. exit with the errno of the failed action if desired. One nice side effect of this patch is that more scons errors print the node that caused the error now.
* Speed up Node.FS.FileFinder.find_file() by avoiding constructing debuggingSteven Knight2008-10-292-8/+9
| | | | strings that will only get thrown away during normal operation.
* Add 1.1.0 to the instal_scons.py script.Steven Knight2008-10-291-0/+1
|
* Issue 2228: Add os.devnull to the SCons.compat layer.Steven Knight2008-10-281-0/+13
|
* Set FORTRANMODDIRPREFIX for ifort tool (should fix 1260).David Cournapeau2008-10-201-0/+3
|
* Update docstring for ifort.David Cournapeau2008-10-201-1/+1
|
* Fix trailing space.David Cournapeau2008-10-201-2/+2
|
* Issue 1568: fix a stack trace when --debug=include tries to handleSteven Knight2008-10-173-5/+27
| | | | a library as an argument.
* Fix use of VariantDir when the -n option is used and doesn't,Steven Knight2008-10-153-1/+84
| | | | therefore, actually create the variant directory.
* Support the -f option allowing specification of a different top-levelSteven Knight2008-10-155-5/+228
| | | | "SConstruct" file name to search for when using the -D, -U or -u options.
* Fix release lines (incorrect line updated in merge from checkpoint).Steven Knight2008-10-151-2/+2
|
* Collect the scripts for the three "climb up" options (-D, -U and -u)Steven Knight2008-10-159-142/+345
| | | | | in a subdirectory. Split sub-tests into separate scripts. Clean things up a bit.
* Test and document the ability to specify multiple -f files.Steven Knight2008-10-142-0/+15
|
* Don't use the Exception.message attribute that was deprecated inSteven Knight2008-10-121-2/+1
| | | | Python 2.6; just str() the exception instead.
* Python 2.6 portability: add __{add,radd}__() methods to the CLVarSteven Knight2008-10-121-0/+4
| | | | class used for testing.
* Don't use "as" as a variable name--reserved in Python 2.6.Steven Knight2008-10-121-3/+1
|
* Fix intended tuple syntax (for Python 2.2 and before).Steven Knight2008-10-121-1/+1
|
* Python 2.6 made "as" a keyword, so test the importability of theSteven Knight2008-10-111-1/+1
| | | | Tool.as module indirectly, not with a direct import statement.
* Fix our SCons.Util.CLVar implementation (__add__() and __radd__()Steven Knight2008-10-112-0/+7
| | | | | methods) so env.{Ap,Pre}pend() work under Python 2.6 when appending strings to $*FLAGS variables.
* Update tigris.org for the 1.1.0 release.Steven Knight2008-10-114-23/+6
|
* Merged revisions 3378-3423,3425-3532,3534-3599,3601-3610 via svnmerge fromSteven Knight2008-10-105-25/+25
| | | | | | | | | | | | | | | | | | | | | | | | | 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. ........ ................
* Don't add an action to use epstopdf to build .pdf from .psRobert Managan2008-10-101-1/+1
| | | | This is already an action in gs.py
* Testing on a Mac turned up a problem that did not show up on linux.Robert Managan2008-10-0810-20/+42
| | | | | | | | | | | | | | | | | 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.
* fix bug in SCons.Action._subprocGreg Noel2008-10-081-16/+16
|
* Python 1.5 compatibility.Steven Knight2008-10-081-1/+3
|
* Update test scripts with more information must_*() methods.Steven Knight2008-10-084-44/+40
|
* Reset the default Verbose value to False.Steven Knight2008-10-071-1/+1
|
* test/TEX/PDF_single_source.pyRobert Managan2008-10-0711-81/+542
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Fix label placement in gnuplot graphs by the "scons-time.py func"Steven Knight2008-10-073-4/+13
| | | | subcommand when a profile result is equal to (or near) 0.0.
* Initial Python 2.6 portability in SCons code itself, using subprocessSteven Knight2008-10-073-12/+17
| | | | in place of popen2, and calling hashlib.md5() instead of the md5 module.
* Rudimentary Python 2.6 portability in the test infrastructure, fixingSteven Knight2008-10-072-21/+39
| | | | | | "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.
* Remove left-over debug print.Steven Knight2008-10-071-2/+0
|
* Fix a block in Script/Main.py that could swallow KeyboardInterruptSteven Knight2008-10-052-1/+3
| | | | | exceptions. Fix the script that analyzes our try:-except: block so it recognizes that "except Exception, e:" is equivalent to "except:".
* documentation changes for Action() refactoringGreg Noel2008-10-041-39/+42
|
* Issue 2166, refactor Action() factory to make positional parameters consistentGreg Noel2008-10-043-261/+427
|
* Fix small inefficiency in jobs dispatchingGreg Noel2008-10-041-1/+1
|
* Updates to SCons development system admin scripts:Steven Knight2008-10-043-1/+7
| | | | | | * Add Python 2.6. * Add recent SCons versions. * Add pkg-config (used to generate some doc examples).
* User's Guide updates:Steven Knight2008-10-0311-37/+37
| | | | | | 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.
* Update highlight and roadmap schedule.Steven Knight2008-10-033-8/+18
| | | | | Add a comment about how to generate the roadmap table from the "schedule" input file.
* Correct typos to roadmap.html that snuck in...Greg Noel2008-10-023-8/+8
|
* Move release days to Monday; slip 1.1 (but not rest); typosGreg Noel2008-10-023-68/+42
|
* implement delete_existing for AppendUnique and PrependUnique. Finishes #2091.Gary Oberbrunner2008-10-023-14/+59
|
* Add Users Guide example of using $SOURCE substitution in a target name in a ↵Gary Oberbrunner2008-10-022-0/+44
| | | | Command builder. Just doc.
* Python 2.2 portability: no dictionary pop() method.Steven Knight2008-10-011-1/+1
|
* Update for latest changes.Steven Knight2008-10-011-0/+6
|
* Fix the regular expression for LaTeX scanning so that it matchesSteven Knight2008-10-012-2/+12
| | | | \include (and other inclusion strings) after blank lines.
* Add ability to use "$SOURCE" when specifying a target to a builder; fixes #2219.Gary Oberbrunner2008-10-014-3/+60
|
* This patch removes setting the variable TEXPICTS in the tex tools andRobert Managan2008-09-304-5/+73
| | | | | | | | | | | | | | 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.
* Better error when taskmaster gets an exception while scanning children (show ↵Gary Oberbrunner2008-09-291-2/+2
| | | | actual exception string).
* Fix test to work with all versions of PythonGreg Noel2008-09-291-20/+21
|