summaryrefslogtreecommitdiffstats
path: root/src/engine
Commit message (Collapse)AuthorAgeFilesLines
...
* Issue 1568: fix a stack trace when --debug=include tries to handleSteven Knight2008-10-171-1/+4
| | | | a library as an argument.
* Fix use of VariantDir when the -n option is used and doesn't,Steven Knight2008-10-151-1/+14
| | | | therefore, actually create the variant directory.
* Support the -f option allowing specification of a different top-levelSteven Knight2008-10-151-5/+10
| | | | "SConstruct" file name to search for when using the -D, -U or -u options.
* 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-111-0/+4
| | | | | methods) so env.{Ap,Pre}pend() work under Python 2.6 when appending strings to $*FLAGS variables.
* 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
* 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-051-0/+2
| | | | | 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
|
* implement delete_existing for AppendUnique and PrependUnique. Finishes #2091.Gary Oberbrunner2008-10-022-12/+51
|
* Python 2.2 portability: no dictionary pop() method.Steven Knight2008-10-011-1/+1
|
* 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-012-3/+12
|
* 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).
* Issue 1646: Block-wise signature computation for large filesLudwig Hähne2008-09-284-4/+61
|
* Revert checkin of incomplete changeGreg Noel2008-09-261-31/+13
|
* reassign credit where credit is dueGreg Noel2008-09-261-14/+32
|
* Add RC.py scanner to MANIFEST.inDavid Cournapeau2008-09-261-0/+1
|
* Fixed an issue with the way the test was setting up the CPPPATH.William Deegan2008-09-261-4/+4
| | | | | | | 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.
* Updated fix for bug 2082 adding support for D3DFX keyword and fixing python ↵William Deegan2008-09-262-2/+6
| | | | 1.5.2 issue
* Sort the results of unittest for RC scanner before comparing them.William Deegan2008-09-251-0/+2
|
* Fix for previous fix for 402 and 2082William Deegan2008-09-251-1/+2
|
* Make a naked except: block catch specific exceptions (and notSteven Knight2008-09-251-1/+1
| | | | swallow a KeyboardInterrupt at the wrong time).
* Fix for bugs 402 and 2082 - implement scanner for windows resource files.William Deegan2008-09-253-3/+213
| | | | Basic unittest included
* Issue 2183, fix typosGreg Noel2008-09-252-2/+2
|
* Issue 2183: .sx assembler suffix uses C preprocessorGreg Noel2008-09-254-3/+5
|
* Change FUTURE markers to TODO(1.5) so we are all using the same style.Greg Noel2008-09-254-4/+5
|
* Python 1.5 compatibility: explicity import SCons.compat (again)Steven Knight2008-09-231-0/+5
| | | | | so the zip() function is available so the unit tests can pass when run on older Python versions.
* 1.5 compatibility: string methods in Tool/msvs.py.Steven Knight2008-09-231-13/+40
|
* 1.5 / 2.[01] compatibility: nested scopes in Tool/tex.py.Steven Knight2008-09-231-1/+1
|
* 1.5 / 2.[012] compatiblity: shutil.move() function.Steven Knight2008-09-231-0/+40
|
* 1.5 compatiblity: string method in Node/FSTests.py.Steven Knight2008-09-231-1/+1
|
* Issue 2215: add a file() builtin to the compatability layerSteven Knight2008-09-231-0/+6
| | | | (for pre-2.2 Python versions).
* Python 2.2 portability (no .pop() method on dictionaries, ' in 'Steven Knight2008-09-222-2/+2
| | | | doesn't search for substrings).
* Fix the Latex scanner to search for graphics on the TEXINPUTS pathRobert Managan2008-09-222-5/+5
| | | | | | instead of TEXPICTS. Add the LATEXSUFFIXES keyword to the DummyEnvironment calls since the scanner needs it.
* Fix syntax and semantic errors preventing regression tests from running on 1.5.2Greg Noel2008-09-222-10/+14
|
* make references to subprocess.Popen synchronousGreg Noel2008-09-224-9/+8
|
* Windows portability: use os.sep instead of hard-coded /.Steven Knight2008-09-201-14/+18
|
* Call str() on the string values of environment variables used by theSteven Knight2008-09-201-1/+3
| | | | | _subproc(), so the underlying subprocess.Popen() call won't throw an exception if the value is actually a Unicode string.
* Windows portability: use os.path.join() for expected subdirectory paths.Steven Knight2008-09-201-1/+6
|
* Fix issue #2091 by adding new delete_existing flags to Util.{Ap,Pre}pendPath ↵Gary Oberbrunner2008-09-184-32/+163
| | | | and env.{Ap,Pre}pendENVPath.
* Hefty update to the tex tool.Robert Managan2008-09-184-182/+488
| | | | | | | | | | | | | | | 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