summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Issue 2265: Add additional --taskmastertrace= messages in the Task class.Steven Knight2008-12-053-16/+98
| | | | Refactor messages in the Taskmaster class to use new, common methods.
* Fix issue #3: make Append/PrependUnique uniquify the appended/prepended list ↵Gary Oberbrunner2008-12-052-4/+30
| | | | first.
* Fix a Glob() exception (with stack trace) when an explicit NodeSteven Knight2008-12-023-8/+34
| | | | | exists in a repository directory without a corresponding on-disk file or directory.
* Accidently left a debug print in.Robert Managan2008-11-251-4/+5
|
* Add a test for the case of a .DVI build using a .eps graphics.Robert Managan2008-11-251-10/+20
| | | | | | Test that we don't make a .pdf file from the graphic. The patch also covers the case of requiring the graphics files I search for to have an extension so we don't try to build fig.eps from fig.eps...
* Add reference to LoadableModule in SharedLibrary descriptionGreg Noel2008-11-191-0/+5
|
* Speed up Node.FS.EntryProxy.__getattr__() by not spending cyclesSteven Knight2008-11-152-10/+27
| | | | | | | generating an AttributeError exception message that gets ignored most of the time. Instead, re-raise an AttributeError subclass that delays message generation until its __str__() method is actually called. (Brad Fitzpatrick)
* Fix typo found by Jared GrubbGreg Noel2008-11-151-1/+1
|
* I found that my coding for automatically building .pdf files from .eps filesRobert Managan2008-11-121-1/+1
| | | | | | failed when the .tex file is in a subdirectory. I added a new test and made the one line fix.
* Python 1.5 and 2.1 compatibility: string methods, nested scopes.Steven Knight2008-11-122-4/+8
|
* Merged revisions 3759-3762 via svnmerge fromSteven Knight2008-11-111-691/+689
| | | | | | | | | | | | | | | | | | | | | | | | | | | | http://scons.tigris.org/svn/scons/branches/sgk_subst ........ r3759 | stevenknight | 2008-11-03 17:59:30 -0800 (Mon, 03 Nov 2008) | 3 lines Refactor individual unit test methods into separate TestCase sbblcasses, so we can start re-using test fixtures. ........ r3760 | stevenknight | 2008-11-03 18:43:01 -0800 (Mon, 03 Nov 2008) | 4 lines Refactor the overlapping classes and dictionaries of values for testing scons_subst() and scons_subst_list() into the common SubstTestCase base class so we can re-use the same input for testing the new code. ........ r3761 | stevenknight | 2008-11-03 22:43:51 -0800 (Mon, 03 Nov 2008) | 3 lines Split the large test methods into separate test methods for specific, individual pieces of functionality. ........ r3762 | stevenknight | 2008-11-04 05:06:43 -0800 (Tue, 04 Nov 2008) | 4 lines Share code the basic comparison code between the scons_subst() and scons_subst_list() test cases by moving it into the base class and wrapping the call. ........
* Issue 2238: Add a __contains__() method to support the "val in env"Steven Knight2008-11-093-0/+46
| | | | statement for construction environments.
* Issue 2228: discard stderr by using os.devnullGreg Noel2008-11-094-7/+18
|
* Fix an exception and stack trace when Glob() hits an on-disk file orSteven Knight2008-11-083-5/+25
| | | | directory that begins with '#'.
* Fix a nested-scope regression affecting Python 1.5, 2.0 and 2.1.Steven Knight2008-11-071-1/+2
|
* 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
|
* 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-311-0/+16
|
* Fix uncaught KeyboardInterrupt.Steven Knight2008-10-311-0/+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.
* This new test and emitter update recursively checks the whole source of theRobert Managan2008-10-301-37/+45
| | | | | | | | | | | 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
|
* 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-2910-86/+257
| | | | | | | | | | | | 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.
* 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-172-1/+7
| | | | a library as an argument.
* Fix use of VariantDir when the -n option is used and doesn't,Steven Knight2008-10-152-1/+17
| | | | therefore, actually create the variant directory.
* Support the -f option allowing specification of a different top-levelSteven Knight2008-10-152-5/+13
| | | | "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
|
* 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.
* 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.
* Merged revisions 3378-3423,3425-3532,3534-3599,3601-3610 via svnmerge fromSteven Knight2008-10-102-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | 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-082-4/+0
| | | | | | | | | | | | | | | | | 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
|
* Reset the default Verbose value to False.Steven Knight2008-10-071-1/+1
|
* test/TEX/PDF_single_source.pyRobert Managan2008-10-078-78/+274
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-072-2/+11
| | | | 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.
* 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:".
* 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
|