summaryrefslogtreecommitdiffstats
path: root/src/engine/SCons/Script
Commit message (Collapse)AuthorAgeFilesLines
...
* 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.
* 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.
* 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 1646: Block-wise signature computation for large filesLudwig Hähne2008-09-282-0/+16
|
* Issue 1693: make the subdirectory in which the .sconsign file willSteven Knight2008-09-141-0/+1
| | | | appear (if it doesn't already exist. (Damyan Pepper, Jim Randall)
* Revert the previous change, I overlooked some regression test failures.Steven Knight2008-09-131-1/+0
|
* Issue 1693: Make the directory in which the .sconsign file will live,Steven Knight2008-09-131-0/+1
| | | | if the directory doesn't already exist. (Damyan Pepper, Jim Randall)
* Additional clean up of how we import some SCons.* module names, includingSteven Knight2008-09-132-4/+3
| | | | | | making SCons.Job.stack_size a variable that always exists, instead of one that gets set from outside and requires SCons.Job to check for an AttributeError.
* Fix errors that cropped up in revision 3382Greg Noel2008-09-121-1/+1
|
* Evaluate compat module transparently when SCons is instantiatedGreg Noel2008-09-112-4/+0
|
* Issue 2149: Avoid reference cycles caused by frame objectsLudwig Hähne2008-09-101-1/+4
|
* Issue 1913: use cProfile instead of profile if availableGreg Noel2008-09-091-1/+4
|
* Fix typo.Steven Knight2008-08-221-1/+2
|
* The parallel message should be returned from that function, not printedSteven Knight2008-08-221-3/+2
| | | | directly. This allows it to be disabled by the right --warn= option.
* Issue 2158: Actually print the warning about -j on Windows beingSteven Knight2008-08-221-1/+1
| | | | | potentially unreliable if the pywin32 extensions are unavailable or lack file handle operations. (Jonas Olsson)
* Merged revisions 2949-2953,2955-3056 via svnmerge fromSteven Knight2008-06-101-2/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | http://scons.tigris.org/svn/scons/branches/core ................ r2955 | stevenknight | 2008-05-18 07:48:43 -0700 (Sun, 18 May 2008) | 2 lines Update lines for next development cycle. ................ r2956 | GregNoel | 2008-05-19 14:24:39 -0700 (Mon, 19 May 2008) | 1 line Fix typo in Mkdir() description ................ r2957 | cournape | 2008-05-19 22:37:17 -0700 (Mon, 19 May 2008) | 1 line sunc++ tool: do not parse pkgchk output if no output available (Fix for #2060). ................ r2958 | cournape | 2008-05-19 23:34:01 -0700 (Mon, 19 May 2008) | 6 lines Do not set cppcPath to CXX if CXX has no dirname. This caused weird behaviour, because cppcPath and cxx were joined together, and scons used things like CC/CC as CXX. ................ r2960 | cournape | 2008-05-20 22:23:12 -0700 (Tue, 20 May 2008) | 3 lines Initialized merge tracking via "svnmerge" with revisions "1-2959" from http://scons.tigris.org/svn/scons/branches/pyext ................ r2971 | stevenknight | 2008-05-22 16:01:11 -0700 (Thu, 22 May 2008) | 4 lines Issue 2056: Fix scons.bat so that it returns the SCons exit status even though we're using setlocal + endlocal to avoid polluting the calling user's %PATH% variable. ................ r2972 | stevenknight | 2008-05-22 16:35:00 -0700 (Thu, 22 May 2008) | 2 lines Move generic windows tests from the test/ subdirectory into test/Win32. ................ r2973 | stevenknight | 2008-05-22 18:58:35 -0700 (Thu, 22 May 2008) | 2 lines Fix scoping under Python 1.5 / 2.0 / 2.1. ................ r2976 | cournape | 2008-05-23 04:10:37 -0700 (Fri, 23 May 2008) | 3 lines Initialized merge tracking via "svnmerge" with revisions "1-2975" from http://scons.tigris.org/svn/scons/branches/libwithcontext ................ r2978 | GregNoel | 2008-05-23 12:39:42 -0700 (Fri, 23 May 2008) | 1 line script to convert XML issues into CSV spreadsheet ................ r2987 | GregNoel | 2008-05-25 10:57:14 -0700 (Sun, 25 May 2008) | 1 line trivial typo ................ r2989 | pankrat | 2008-05-25 14:42:53 -0700 (Sun, 25 May 2008) | 3 lines Initialized merge tracking via "svnmerge" with revisions "1-2988" from http://scons.tigris.org/svn/scons/branches/heapmonitor ................ r2992 | belley | 2008-05-27 08:23:34 -0700 (Tue, 27 May 2008) | 41 lines Fixed the detection of Intel C++ Compiler for EMT64 The table used to check the registry keys for installed versions of the Intel C++ compiler for EMT64 seems erroneous. I have double check using the Intel C++ compiler versions 9.1 and 10.0 on both Windows XP 32-bit and Windows Server2003 64-bits. The registry keys have the form HKEY_LOCAL_MACHINE\SOFTWARE\INTEL\Compilers\C++\100.025\IA32 HKEY_LOCAL_MACHINE\SOFTWARE\INTEL\Compilers\C++\100.025\IA64 HKEY_LOCAL_MACHINE\SOFTWARE\INTEL\Compilers\C++\100.025\EMT64 Benoit Index: src/engine/SCons/Tool/intelc.py =================================================================== *** src/engine/SCons/Tool/intelc.py (revision 2991) --- src/engine/SCons/Tool/intelc.py (working copy) *************** *** 101,108 **** valid_abis = {'ia32' : 'ia32', 'x86' : 'ia32', 'ia64' : 'ia64', ! 'em64t' : 'ia32e', ! 'amd64' : 'ia32e'} if is_linux: valid_abis = {'ia32' : 'ia32', 'x86' : 'ia32', --- 101,108 ---- valid_abis = {'ia32' : 'ia32', 'x86' : 'ia32', 'ia64' : 'ia64', ! 'em64t' : 'em64t', ! 'amd64' : 'em64t'} if is_linux: valid_abis = {'ia32' : 'ia32', 'x86' : 'ia32', ................ r2993 | stevenknight | 2008-05-27 16:22:35 -0700 (Tue, 27 May 2008) | 3 lines Issue 2062: Fix --interactive mode getting "stuck" reporting failures for every build after the first one that fails. ................ r2997 | stevenknight | 2008-05-28 18:18:36 -0700 (Wed, 28 May 2008) | 4 lines Fix the closing message on interrupt to report "building terminated because of errors." Add a missing test.pass_test() call to the end of test/KeyboardInterrupt.py. ................ r2998 | stevenknight | 2008-05-29 08:14:47 -0700 (Thu, 29 May 2008) | 2 lines Issue 2075: Fix the ability to call the Node.FS.File.File() method. ................ r2999 | stevenknight | 2008-05-29 14:12:07 -0700 (Thu, 29 May 2008) | 2 lines Issue 2063: On Mac OS X, install under /usr/local by default. ................ r3017 | stevenknight | 2008-05-30 08:05:26 -0700 (Fri, 30 May 2008) | 3 lines Get the fix for File.File() right this time. Apply the same fix to File.Dir() and File.Entry(), too. ................ r3022 | stevenknight | 2008-06-02 18:52:42 -0700 (Mon, 02 Jun 2008) | 3 lines Fix "deprecated conversion from string constant to char *" warnings in various C++ tests. ................ r3045 | garyo | 2008-06-05 06:05:37 -0700 (Thu, 05 Jun 2008) | 8 lines This fix uses Python sequence comparison to compare the dotted version numbers used in .NET version numbers rather than comparing each element of the list individually. It's more robust and also more correct. I also fixed a Python 1.5.2 compatibility issue (strings didn't have the split method). Original reporter confirms this fixes his issue. ................ r3046 | garyo | 2008-06-05 20:35:27 -0700 (Thu, 05 Jun 2008) | 1 line Minor doc tweaks to Users Guide. ................ r3050 | stevenknight | 2008-06-06 11:38:38 -0700 (Fri, 06 Jun 2008) | 21 lines Merged revisions 2877,2879-2978,2980-3019,3021-3048 via svnmerge from http://scons.tigris.org/svn/scons/branches/fortran_refactor ........ r2980 | cournape | 2008-05-23 21:56:19 -0700 (Fri, 23 May 2008) | 1 line Emit a warning and use as a linker when fortran and c++ codes are mixed. ........ r3000 | cournape | 2008-05-29 21:29:37 -0700 (Thu, 29 May 2008) | 1 line Improve warning when mixing c++ and fortran. ........ r3048 | stevenknight | 2008-06-06 11:30:25 -0700 (Fri, 06 Jun 2008) | 6 lines Issue 2047: update the warning text to make it less alarming. Move the warning classes so they can be suppressed. Add a test of the warning (and suppression) behavior Only issue one warning per SCons invocation, not one per built executable. Update CHANGES.txt and RELEASE.txt. ........ ................ r3051 | stevenknight | 2008-06-07 08:11:46 -0700 (Sat, 07 Jun 2008) | 3 lines Fix the Fortran/C++ link test for deprecation warnings under earlier Python version. ................ r3052 | stevenknight | 2008-06-07 08:12:22 -0700 (Sat, 07 Jun 2008) | 2 lines Add Benoit's EMT64 change that will be released in 0.98.5. ................ r3053 | stevenknight | 2008-06-07 08:21:50 -0700 (Sat, 07 Jun 2008) | 2 lines Update lines for 0.98.5 release. ................ r3054 | stevenknight | 2008-06-07 08:26:04 -0700 (Sat, 07 Jun 2008) | 2 lines Update 0.98.4 versions to 0.98.5. ................
* Merged revisions 2880-2883,2885-2895 via svnmerge fromSteven Knight2008-04-211-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | http://scons.tigris.org/svn/scons/branches/core ........ r2885 | stevenknight | 2008-04-18 21:38:59 -0700 (Fri, 18 Apr 2008) | 2 lines Update troubleshooting appendix for new Taskmaster output. ........ r2886 | bdbaddog | 2008-04-19 15:15:03 -0700 (Sat, 19 Apr 2008) | 5 lines Fix infinite loop in Fortran tool initialization. Bug 2017. Steven fixed, I tested. ........ r2887 | garyo | 2008-04-20 17:44:46 -0700 (Sun, 20 Apr 2008) | 1 line Added this in two sections; simple one when discussing simple builds, and an example in the VariantDir section showing how it still works there. ........ r2888 | stevenknight | 2008-04-20 21:33:01 -0700 (Sun, 20 Apr 2008) | 4 lines Accomodate test/MSVC/msvc.py's reliance on the Windows Platform SDK (for now) by making use of the user's %INCLUDE% and %LIB% variables. Split some independent embedded subtests into their own test scripts. ........ r2889 | stevenknight | 2008-04-20 21:38:05 -0700 (Sun, 20 Apr 2008) | 2 lines Windows portability fix (line endings). ........ r2890 | stevenknight | 2008-04-20 21:44:24 -0700 (Sun, 20 Apr 2008) | 2 lines Update Windows portion of if:-elif: block for a variable name change. ........ r2891 | stevenknight | 2008-04-20 21:52:41 -0700 (Sun, 20 Apr 2008) | 3 lines On Windows, escape backslashes on the --interactive command line input, so people can build targets in other directories. ........ r2892 | stevenknight | 2008-04-20 21:56:50 -0700 (Sun, 20 Apr 2008) | 3 lines Fix ripple effects on Windows from redefining how $CXXFLAGS gets added to C++ command lines. ........ r2893 | stevenknight | 2008-04-20 22:04:50 -0700 (Sun, 20 Apr 2008) | 4 lines Handle a ripple effect from redefining the file() and open() builtin functions by explicitly restoring the originals whenever we reset the global state between tests. ........ r2894 | stevenknight | 2008-04-20 23:17:23 -0700 (Sun, 20 Apr 2008) | 2 lines Remove by-hand backslash escaping, now that --interactive mode is handling it. ........ r2895 | stevenknight | 2008-04-20 23:23:04 -0700 (Sun, 20 Apr 2008) | 2 lines Mention the fix for the Fortran suffix out-of-memory bug ........