summaryrefslogtreecommitdiffstats
path: root/src/engine/SCons/Tool
Commit message (Collapse)AuthorAgeFilesLines
...
* Remove unnecessary nested $( $) around $_LIBDIRFLAGS from $LINKCOMSteven Knight2009-02-113-6/+6
| | | | | definitions that still have them. This will cause relinks upon upgrade when using the Microsoft, OS/2 or Phar Lap linkers.
* Add the $CCFLAGS variable to the $PCHCOM command line, and rearrangeSteven Knight2009-02-091-1/+1
| | | | | the arguments so the /Fo is towards the beginning of the line (like it is for $CCCOM, $CXXCOM, etc.).
* Add emacs and vim editing settings to the bottom of *.py files.Steven Knight2009-02-09108-0/+645
|
* 2to3 sez, "rewrite map() as loop"Greg Noel2009-02-081-1/+3
|
* Fix a mismatch in generated GUIDs on non-Windows platforms bySteven Knight2009-01-251-2/+6
| | | | | canonicalizing the file name used for the MD5 checksum so it always looks like it's a Windows path (i.e., uses \ separators).
* Various Windows fixes:Steven Knight2009-01-181-2/+2
| | | | | | | | | | | * Restore correct code to detect a bad drive on Windows. * Update the bad drive error message to include the target name. * Update SConfTests.py to print the config.log on error. * Fix the smart_link() error message to not use repr() of a path so escaping the \ separators on Windows doesn't interfere with regex matchs. * Update regexes in test/VariantDir/reflect.py to accomodate command-line re-ordering to put the /OUT: first in the line. * Explicitly check for smart_link() messages even on Windows.
* Issue 2278: Emit header name when using SWIG directors (Ben Webb)Greg Noel2009-01-171-4/+25
|
* Remove $CCFLAGS from the the default definitions of $CXXFLAGS forSteven Knight2009-01-102-2/+2
| | | | | Visual C/C++ and MIPSpro C++ on SGI so, they match other tools and avoid flag duplication on C++ command lines.
* Update src/CHANGES.txt for recent checkins.Steven Knight2009-01-101-1/+2
| | | | Use $WINDOWS_INSERT_DEF instead of the deprecated $WIN32_INSERT_DEF.
* Issue 1086: add support for generic batch build actions, andSteven Knight2009-01-094-10/+96
| | | | | | | | | | | | | | | | | | | | | | specific support for batched compilation for Microsoft Visual C/C++. Merged revisions 3819-3851,3854-3869,3871-3877,3880 via svnmerge from http://scons.tigris.org/svn/scons/branches/sgk_batch ........ r3820 | stevenknight | 2008-12-09 23:59:14 -0800 (Tue, 09 Dec 2008) | 6 lines Issue 1086: Batch compilation support: * $MSVC_BATCH to control Visual C/C++ batch compilation. * New $CHANGED_SOURCES, $CHANGED_TARGETS, $UNCHANGED_SOURCES and $UNCHANGED_TARGETS construction variables. * New Action(batch_key=, targets=) keyword arguments. ........ r3880 | stevenknight | 2009-01-07 20:50:41 -0800 (Wed, 07 Jan 2009) | 3 lines Use UniqueList objects to collect the all_children(), all_prerequisites() and all_sources() lists instead of calling uniquer_hashables() by hand. ........
* Remove the feature that would build .pdf graphics filesRobert Managan2009-01-091-26/+5
| | | | | | | | | | | | | | | | | | from .eps files for the pdf latex builder That is if the .tex file has "\includegraphics{figure1}" and the file figure1.eps then when using the .DVI builder latex will find the file and all is fine. However, when using the .PDF builder pdflatex can not process .eps files and will fail. After this patch the user will need to add env.PDF('figure1.eps') Update two tests that used the old feature and would fail otherwise I could not come up with a way to test for a feature that is removed. That is, I can write a test that works before the update and fails after but not the other way around.
* Issue 2279: Support $SWIGOUTDIR values with spaces in theSteven Knight2009-01-081-1/+1
| | | | directory name. (Arve Knudsen)
* Fix issue #1175: allow WIN32_INSERT_DEF=0 to turn off --output-def in mingw ↵Gary Oberbrunner2009-01-071-1/+2
| | | | link.
* Fix issue 2273: Users Guide msvc missing a few vars.Gary Oberbrunner2009-01-071-0/+3
|
* Fix issue 2274 (LDMODULE* ignored except on Mac): integrated patch from Arve ↵Gary Oberbrunner2009-01-063-22/+53
| | | | Knudsen.
* Add -e$TARGET to Borland linker command line, to fix issue #1166.Gary Oberbrunner2009-01-061-2/+2
|
* First part of issue 2278: handle quoted module names in SWIG sourceGreg Noel2009-01-041-3/+13
|
* Revert r3828 (vs9 support) in favor of the vs_revamp integration.Steven Knight2008-12-121-68/+1
|
* Issue 2255: Handle scanning of UTF-8 and UTF-16 files. (Greg Spencer)Steven Knight2008-12-124-13/+13
|
* Issue 2102: Add support for Microsoft Visual Studio 9. (Dmitri Rubinstein)Steven Knight2008-12-111-1/+68
|
* 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
|
* 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-121-1/+2
|
* Issue 2228: discard stderr by using os.devnullGreg Noel2008-11-092-2/+4
|
* Issue 2087: Handle Java classes declared in methodsLudwig Hähne2008-10-311-0/+16
|
* 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.
* exception must be stringified before comparisonGreg Noel2008-10-291-1/+1
|
* 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
|
* 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.
* 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-077-71/+198
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-072-9/+12
| | | | in place of popen2, and calling hashlib.md5() instead of the md5 module.
* Python 2.2 portability: no dictionary pop() method.Steven Knight2008-10-011-1/+1
|
* This patch removes setting the variable TEXPICTS in the tex tools andRobert Managan2008-09-303-2/+70
| | | | | | | | | | | | | | 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.
* Revert checkin of incomplete changeGreg Noel2008-09-261-31/+13
|
* reassign credit where credit is dueGreg Noel2008-09-261-14/+32
|
* Fix for previous fix for 402 and 2082William Deegan2008-09-251-1/+2
|
* Fix for bugs 402 and 2082 - implement scanner for windows resource files.William Deegan2008-09-251-3/+8
| | | | 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-251-2/+2
|
* 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
|
* Python 2.2 portability (no .pop() method on dictionaries, ' in 'Steven Knight2008-09-221-1/+1
| | | | doesn't search for substrings).