summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Issue 2242: Minor style and loop enhancementsGreg Noel2008-11-071-102/+92
|
* Issue 2235: File.Dir() creates files in the wrong placeGreg Noel2008-11-071-17/+13
|
* Issue 2236: Add comment to clarify Configure.CheckType()Greg Noel2008-11-071-0/+4
|
* Update src/CHANGES.txt for changes since 1.1.0.Steven Knight2008-11-041-0/+40
|
* Issue 2087: Handle Java classes declared in methodsLudwig Hähne2008-10-312-0/+119
|
* Fix uncaught KeyboardInterrupt.Steven Knight2008-10-311-0/+2
|
* Fix a nested scope issue for older Python versions.Steven Knight2008-10-311-2/+2
|
* Fix use of isinstance(..., tuple) so it works in older Python versions.Steven Knight2008-10-311-3/+7
|
* Fix calling Exit() from within a Python function action, so that it getsSteven Knight2008-10-311-0/+2
| | | | | detected and exits with the specified value under Python versions before 2.5, by explicitly catching and re-raising the SystemExit exception.
* Move responsibility for extracting the exit status from executed testsSteven Knight2008-10-312-13/+21
| | | | | from the TestCommon.py module to the wrapper classes in TestCmd.py that we use as fallbacks if the subprocess module doesn't exist.
* This new test and emitter update recursively checks the whole source of theRobert Managan2008-10-302-37/+276
| | | | | | | | | | | latex document for commands that affect what side effect files will be created, and for graphics files that are included (so we can convert postscript to pdf if pdflatex is being run). Now that this is recursive we could tighten up on the side effect file list (e.g. a \makeindex with no \index commands won't make all the files we tell scons to expect as side effects) but I think that is asking for trouble if we mess it up.
* Older Python portability: isinstance() only takes a single class.Steven Knight2008-10-301-1/+3
|
* Update test/SCCS/diskcheck.py for recent GetBuildFailures()Steven Knight2008-10-301-1/+1
| | | | robustness change, which changed the exit message in this case.
* exception must be stringified before comparisonGreg Noel2008-10-291-1/+1
|
* 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
|