summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Replace remaining os.path.walk() calls with os.walk().Steven Knight2010-04-1811-149/+117
|
* http://scons.tigris.org/issues/show_bug.cgi?id=2345Greg Noel2010-04-1716-61/+41
| | | | | 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-164-13/+23
| | | | | Quiet the rest of the 'callable' warnings and fix the rest of the 'cmp argument' warnings.
* Refactory bin/* utilities to use os.walk() instead of os.path.walk().Steven Knight2010-04-163-25/+18
|
* http://scons.tigris.org/issues/show_bug.cgi?id=2345Greg Noel2010-04-1515-51/+60
| | | | | | | | | 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.
* Refactor use of basestring to use exec() on attempted assignment ofSteven Knight2010-04-151-6/+5
| | | | | basestring to an internal variable (which we thenuse in a common is_basestring() utility function), to avoid triggering the basestring fixer.
* http://scons.tigris.org/issues/show_bug.cgi?id=2345Greg Noel2010-04-1569-338/+312
| | | | | | 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).
* Eliminate / replace remaining cPickle references in test scripts.Steven Knight2010-04-142-4/+3
|
* Add a stub compat/_scon_dbm.py module and copy whichdb.whichdb() toSteven Knight2010-04-144-10/+73
| | | | dbm.whichdb() if necessary.
* Avoid 3.0 fixer issues by not using module names as variable names.Steven Knight2010-04-134-25/+51
|
* Issue 2336: Forward compatibility for use of the "builtins" moduleSteven Knight2010-04-127-57/+66
| | | | instead of __builtin__.
* Towards issue 2336: Rename the compat/builtins.py module toSteven Knight2010-04-113-2/+2
| | | | compat/_scons_builtings.py, to avoid the name conflict.
* Add compat "collections" module for pre-2.4 Python verseions. For now.Steven Knight2010-04-118-18/+77
|
* Issue 2331: For forward compatibility, use "import pickle" and haveSteven Knight2010-04-095-31/+56
| | | | the SCons.compat layer import cPickle as pickle when it's available.
* Issue 2330: For forward compatibility, use "import profile" and haveSteven Knight2010-04-092-4/+18
| | | | the SCons.compat layer import cProfile as profile when it's available.
* Remove the deleted _scons_UserString.py file from the packaging manifest.Steven Knight2010-04-081-1/+0
|
* Issue 2334: Use compatibility versions of collections.User{Dict,List,String}Steven Knight2010-04-0727-191/+115
| | | | | instead of the deprecated User{Dict,List,String} modules. The two test scripts that use User{List,String} fall back on ImportError by hand.
* Issue 2332: Convert from using StringIO.StringIO class to using theSteven Knight2010-04-0716-73/+132
| | | | | forward-compatible io.StringIO class, with the addition of an "io" compatibility module for Python versions before 2.6.
* Issue 2332 (preparation): refactor print statements so we canSteven Knight2010-04-064-11/+19
| | | | transition to using the Python 2.6 io.StringIO class.
* Fix test for non-win32 platformsWilliam Deegan2010-04-061-5/+4
|
* Fix vc9.0 express issue, misspelling, and add testcase which would have ↵William Deegan2010-04-062-1/+61
| | | | exposed the issue.
* Issue 2331: use cPickle in preference to the pickle module.Steven Knight2010-04-061-11/+11
|
* Fix XML in documentation, and in the bin/scons-doc.py script that generatesSteven Knight2010-04-0521-85/+94
| | | | the User's Guide XML from the .in files' SGML.
* Adding 1.3.0.d20100404William Deegan2010-04-052-3/+3
|
* Remove references to the removed _scons_sets15.py module.Steven Knight2010-04-022-5/+0
|
* Revert revision 4742. How hard is it to understand "No bugfixes in 2.0"?Greg Noel2010-03-311-4/+1
| | | | This fix should be in 2.0.1, which will mirror the changes in 1.3.1.
* A bit of a blind checkin, but there's no need to put the compatibility namesGreg Noel2010-03-311-5/+2
| | | | | in the __builtin__ namespace, as this program only imports standard Python modules, which shouldn't need any such names.
* Fix exception thrown when VC9.0Exp is used.William Deegan2010-03-311-1/+4
|
* Only one SCons file uses urllib, and only one routine from that module, soGreg Noel2010-03-301-2/+11
| | | | | use a simple hack to load that routine, no matter wheter it's Python 2.x or Python 3.x. Tested with Python 2.5, 2.6, and 3.0.
* Remove the recently-removed _scons_sets15.py from MANIFEST.in.Steven Knight2010-03-302-2/+1
| | | | Fix a typo in the SConstruct.
* Trivial man page fix; fixes issue #2585.Gary Oberbrunner2010-03-301-1/+1
|
* http://scons.tigris.org/issues/show_bug.cgi?id=2345Greg Noel2010-03-2937-239/+79
| | | | | | | | | | | | | 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-2921-165/+127
| | | | | | | 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-27102-461/+341
| | | | | | | | | | | | | | | 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()'.
* Issue 2327: provide a compat sorted() function for pre-2.4 Python versions.Steven Knight2010-03-254-28/+52
|
* http://scons.tigris.org/issues/show_bug.cgi?id=2341Greg Noel2010-03-253-3/+3
| | | | | | | | Wrap a zip() expression in list(). http://scons.tigris.org/issues/show_bug.cgi?id=2342 Remove the 'L' from 'long' variables (no longer needed).
* Move 2.0 changes collected in branches/pending back to trunk for furtherGreg Noel2010-03-25499-2872/+2376
| | | | | 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.
* Update tigris website with release 1.3.0 infoGary Oberbrunner2010-03-252-54/+12
|
* Merged r4724 (1.3.0 release changes) back into trunk.Gary Oberbrunner2010-03-245-28/+37
|
* Prevent "Exp" in MSVC version name from causing problems.Gary Oberbrunner2010-03-191-1/+4
|
* Fix for MSSDK initialiationWilliam Deegan2010-03-193-6/+10
| | | | | | | For the user in question who had VS 8.0 express installed, the vc version was being set to 8.0, and the the vs version was being set to the same, which was then being used to detect the vs version by an expected binary. Since it though it had VS 8.0, the binary was the not there for VS8.0 Express, so it was bailing out on the initialization. The fix is to have a VC8.0Exp as well as VC8.0 (also for VS9.0Exp).
* More VS/VC/SDK debug code.William Deegan2010-03-162-5/+12
|
* More doc infrastructure enhancements towards putting the functionSteven Knight2010-03-151-1/+7
| | | | | | | | | documentation into DocBook: * Strip trailing newlines after XML comments so lines left blank after stripping comments don't get treated as paragraph separators. * Recognize the lambda function and the ${TARGET,SOURCE}{,S} variables when converting to man page format. * Translate more strings into .RB and .RI lines.
* Add more debug output to Visual Studio/VC/ SDK initializationWilliam Deegan2010-03-152-0/+5
|
* Add DocBook entities for the env.*() forms of Builder and function calls.Steven Knight2010-03-111-6/+29
| | | | | Handle two additional flavors of <varlistentry>. Translate the <application> tag into man page macros.
* Handle different signatures for global or env versions of functionsSteven Knight2010-03-082-15/+18
| | | | | by the signature specification from the <scons_function> tag to the <arguments> tag.
* Add 1.2.0.d20100306 checkpoint releaseWilliam Deegan2010-03-072-3/+3
|
* More enhancements for documenting functions:Steven Knight2010-03-042-5/+18
| | | | | | | * Add the support for global="0" and env="0" to SConsDoc.py. * Remove unnecessary .IP lines before '\""" delimiters before the next builder / tool / function entry. * Add support for <variablelist> lists.
* More updates towards supporting function documentation:Steven Knight2010-03-031-4/+11
| | | | | | | | | * Convert \f[BI].*\fP strings containing white space to quoted .B lines. * Anchor conversion of \f[BI] lines to .[BR] at end of line. * Convert \f[BI] lines preceded by text to a .R[BI] line. * Convert -- on .[BI]R? lines to \-\-. * Support global="0" and env="0" options <scons_function> arguments for when the function has no global form or construction environment form.
* Add support for documenting functions (with arbitrary calling signatures)Steven Knight2010-02-232-18/+113
| | | | in our home-brew DocBook-based .xml files.