summaryrefslogtreecommitdiffstats
path: root/src/engine/SCons/Script
Commit message (Collapse)AuthorAgeFilesLines
* Print the path to the SCons package in use in scons --versionGary Oberbrunner2010-07-281-0/+5
|
* Add the generated function documentation to the User's Guide as an appendix.Steven Knight2010-07-221-78/+78
| | | | | Fixes and refactoring in the bin/scons-proc.py script to support this. Fixes to various parts of the XML input.
* Move the authoritative source for functions from the man page to variousSteven Knight2010-07-212-0/+1141
| | | | | | .xml files (some new, some updated) next to the modules that implement them. Generate the man page using the output generated from the .xml file by bin/scons-proc.py.
* cleanup .cvsignore garbageAnatoly Techtonik2010-07-051-1/+0
|
* Set module metadata for site_scons/site_init.py files. From Arve Knudsen; ↵Gary Oberbrunner2010-07-041-2/+14
| | | | closes issue 2520.
* Add all the per-system and per-user site_scons dirs, per discussion in SEP 002.Gary Oberbrunner2010-07-041-6/+56
|
* Prepare for checkpoint release. Everything should be set up and readyGreg Noel2010-05-301-5/+5
| | | | | | | | | | | | | | to go. Update various files to have the correct date, time, version, and floor. Rework Script/Main.py and QMTest/TestSCons.py to make automated updating possible in the future. Remove a duplicate MANIFEST-xml.in entry. Fix TeX tests, which ran 'kpsewitch' before determining if the TeX tools were installed.
* Start the deprecation cycle for the BuildDir() method and the build_dirGreg Noel2010-05-262-16/+6
| | | | | | | | | | | | | | | | | | | | | | keyword parameter. Several existing tests were still using BuildDir() or build_dir; they were converted to use VariantDir() and variant_dir. New tests were added to validate that the --warn=deprecated-build-dir option and the SetOption method did the right thing. This led to the discovery that a commonly-used test pattern provided by the infrastructure gobbled up too much, causing tests to succeed when they should have failed. Fixing the pattern led to other tests needing to be fixed. In the process, it was discovered that the SCONSFLAG environment variable was not getting correctly reset to its original value. Fixing this also caused additional tests to misbehave, requiring them to be updated. And test/Sig.py, which tests the deprecated SCons.Sig module, was moved to the test/Deprecated directory. All in all, quite a lot of action for what was supposed to be a simple change.
* Update deprecated features to the next life-cycle stageGreg Noel2010-05-211-1/+1
|
* Commit old-style classes in Node/__init__.py to new-style classes.Steven Knight2010-05-161-5/+3
| | | | | Fix a ripple-effect in Script/Main.py by using obj.__class__.__name_ to, uh, fetch the name of a class.
* Convert old-style classes in Script/SConscript.py to new-style classes.Steven Knight2010-05-141-2/+2
|
* Convert old-style classes in Script/Main.py to new-style classes.Steven Knight2010-05-141-5/+5
|
* Convert to Python 3.x division rules.Greg Noel2010-04-241-1/+2
|
* http://scons.tigris.org/issues/show_bug.cgi?id=2345Greg Noel2010-04-245-22/+7
| | | | | | | Comb out all code that supported earlier versions of Python. Most such code is in snippets of only a few lines and can be identified by having a Python version string in it. Such snippets add up; this combing pass probably got rid of over 500 lines of code.
* http://scons.tigris.org/issues/show_bug.cgi?id=2317Greg Noel2010-04-231-1/+1
| | | | | | Apply the refactorings from the 'dict' fixer, less occurrences that were manually audited to be safe. Also pick up changes in bin/sfsum, a Python file that was not being scanned before.
* http://scons.tigris.org/issues/show_bug.cgi?id=2345Greg Noel2010-04-171-1/+1
| | | | | Fix the 'assignment to True or False' and the '__getitem__ not supported for exception classes' deprecation warnings.
* http://scons.tigris.org/issues/show_bug.cgi?id=2345Greg Noel2010-04-151-1/+1
| | | | | | | | | Fixes due to running the regression tests with the '-3' option to Python2.6, which causes the run-time to look for potential compatibility problems with Python 3.x. In some cases, all we can do is quiet the warning since we still support Python versions that can't use the newer idiom. In other cases, we fix the problem. This patch contains a mix of quieting and fixing, plus a little lint.
* http://scons.tigris.org/issues/show_bug.cgi?id=2345Greg Noel2010-04-153-25/+22
| | | | | | Apply the first part of the 'raise' fixer (the three-argument cases are not converted and will need to wait until native support of with_traceback() is available).
* Issue 2330: For forward compatibility, use "import profile" and haveSteven Knight2010-04-091-4/+4
| | | | the SCons.compat layer import cProfile as profile when it's available.
* Issue 2334: Use compatibility versions of collections.User{Dict,List,String}Steven Knight2010-04-072-3/+3
| | | | | instead of the deprecated User{Dict,List,String} modules. The two test scripts that use User{List,String} fall back on ImportError by hand.
* http://scons.tigris.org/issues/show_bug.cgi?id=2345Greg Noel2010-03-291-1/+1
| | | | | | | | | | | | | The 'buffer' fixer simply replaces 'buffer( ... )' with 'memoryview( ... )', which is incorrect for our cases, so these changes had to be done by hand and a forward-compatibility class added. The 'xrange' fixer was applied. Manual changes were minimal: a few case in test strings and one use of 'range' as an identifer in the same scope as where 'xrange' was converted to 'range'. The "sets15" compat function, which provided backward compatibility for Python versions prior to 2.2, was removed as no longer needed.
* http://scons.tigris.org/issues/show_bug.cgi?id=2345Greg Noel2010-03-291-2/+2
| | | | | | | Accumulated small fixers: renames, next, zip, and intern. Files that were modified or added while developing on branches/pending didn't have the fixers previously applied. This patchset picks up those.
* http://scons.tigris.org/issues/show_bug.cgi?id=2329Greg Noel2010-03-272-11/+4
| | | | | | | | | | | | | | | Applied a number of idiomatic changes. Uses of the 'sort()' method were converted into calls of 'sorted()' when possible and the sorted() expression was inserted into a subsequent statement whenever that made sense. The statement 'while 1:' was changed to 'while True:'. Names from the 'types' module (e.g., 'types.FooType') were converted to the equivalent build-in type (e.g., 'foo'). Comparisons between types were changed to use 'isinstance()'.
* Move 2.0 changes collected in branches/pending back to trunk for furtherGreg Noel2010-03-256-65/+64
| | | | | development. Note that this set of changes is NOT backward-compatible; the trunk no longer works with Python 1.5.2, 2.0, or 2.1.
* Better fix for #2530: dont exit at all on unimplemented options, just print ↵Gary Oberbrunner2009-12-161-2/+0
| | | | a warning and keep going.
* Integrated patch for bug 2530: SCons should not exit with 0 (success) on ↵Gary Oberbrunner2009-12-151-1/+1
| | | | unimplemented option error.
* Integrate patch from issue #2436: fix regression from r3691 which stopped ↵Gary Oberbrunner2009-12-051-8/+9
| | | | printing "Entering Directory" with -C/-u.
* ENH: use Gary error checking, but using exception instead of returning error ↵David Cournapeau2009-11-191-0/+1
| | | | message (thanks Gary).
* ENH: handle MSVS_VERSION additionally to MSVC_VERSION, but raise deprecation ↵David Cournapeau2009-11-191-0/+1
| | | | warnings if used.
* Bump minimum version of python for 1.3 to 2.4William Deegan2009-09-061-2/+2
|
* Issue 2229, fix, tests, docGreg Noel2009-05-171-1/+2
|
* Issue 2401: Fix usage of comparison with None, patch from Jared GrubbGreg Noel2009-05-031-2/+2
|
* Avoid swallowing KeyboardInterrupt in new try:-except: blocks.Steven Knight2009-04-301-0/+4
|
* Fix try:-except:-finally: block, only valid starting with Python 2.5.Steven Knight2009-04-301-21/+25
|
* fix for bug #2393. Instead of just 'import'ingGary Oberbrunner2009-04-291-8/+21
| | | | | | site_scons/site_init.py, I now load that file directly into the SCons.Script namespace using exec ... in. This allows site_init.py to define tools in the way users expect.
* Per the bug report, this patch improves the "Do not know how to makeGary Oberbrunner2009-04-151-1/+6
| | | | | target X" to say what type of node is being built, and the full path (if it's a file or dir).
* Issue 2377: Check if isatty() exists before calling itLudwig Hähne2009-04-141-2/+2
|
* Issue 2368: Fix an exception when a null command-line argument isSteven Knight2009-03-061-1/+1
| | | | passed in.
* Issue 1059: Fix the -n option when VariantDir(duplicate=1) is usedSteven Knight2009-02-251-3/+6
| | | | and the variant directory doesn't already exist.
* Issue 2152: Fix the ability of --clean to handle / delete brokenSteven Knight2009-02-231-2/+7
| | | | symlinks, as well as named pipes. (Mateusz Gruca)
* Add emacs and vim editing settings to the bottom of *.py files.Steven Knight2009-02-097-0/+42
|
* Fix shelling out to non-.exe commands from --interactive mode onSteven Knight2009-01-211-1/+5
| | | | | Windows by accomodating platform-specific behavior in the way subprocess.Popen() calls handle shell= arguments with lists.
* Print "scons: Build interrupted." on stderr, not stdout.Steven Knight2008-12-101-1/+2
|
* Create Taskmaster.{Always,OutOfDate}Task subclasses of Taskmaster.TaskSteven Knight2008-12-081-19/+17
| | | | to hold different implementations of the .needs_execute() method.
* Make ${,UN}CHANGED_{SOURCES,TARGETS} into future reserved constructionSteven Knight2008-12-071-1/+4
| | | | variable names, with an appropriate warning.
* Issue 2265: Suppress messages about spurious dependency cycles.Steven Knight2008-12-071-8/+6
| | | | (Jason Kenny)
* Issue 2116: Eliminate some spurious dependency cycles by being moreSteven Knight2008-12-061-0/+8
| | | | | aggressive about pruning pending children from the Taskmaster walk. (Benoit Belley)
* Fix use of isinstance(..., tuple) so it works in older Python versions.Steven Knight2008-10-311-3/+7
|
* Applied Benoit Belley's patch in ticket 1957 improve the robustness ofGary Oberbrunner2008-10-291-34/+33
| | | | | | | | | | | | 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.
* 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.