summaryrefslogtreecommitdiffstats
path: root/src/engine/SCons/Node/FS.py
Commit message (Collapse)AuthorAgeFilesLines
* Ensuring that FS.get_text_contents returns actual text.William Blevins2016-09-241-2/+6
|
* Futurize stage 2 2to3 fixes only.William Blevins2016-09-201-4/+4
|
* wrap several frequently-used open() calls in with statementsDaniel Holth2016-06-151-2/+2
|
* fix incorrectly updated print formattingWilliam Deegan2016-05-151-1/+1
|
* Post merge commit for safety. Building Fortran code works, but tests fail.Russel Winder2015-12-241-330/+467
|\
| * removed several pre-2.7 methods and imports, including some basic refactoringsDirk Baechle2015-12-101-51/+2
| |
| * Corrected indentationFlorian Miedniak2015-09-231-2/+2
| |
| * Fixed #3011: Glob() called with exclude didn't work when called from a ↵Florian Miedniak2015-09-221-1/+6
| | | | | | | | SConscript that is executed with variant_dir set and duplicate=0
| * - added "suffix" attribute to backward compat layer (getattr) for Node.FS ↵Dirk Baechle2015-09-011-3/+4
| | | | | | | | entries
| * Merged in dirkbaechle/scons : switch of core classes to slots, memoizer ↵Dirk Baechle2015-08-061-217/+372
| |\ | | | | | | | | | subsystem now uses decorators
| | * - replaced wrong Node attribute with its new nameswitch_to_slotsDirk Baechle2015-03-281-1/+1
| | |
| | * - added backward compatibility layer for the Node attributes abspath, labspath,Dirk Baechle2015-03-281-53/+84
| | | | | | | | | | | | path, tpath and path_elements
| | * - switching Node class and NodeInfo/Binfo to using slotsDirk Baechle2015-02-261-194/+319
| | | | | | | | | | | | - memoizer subsystem now uses decorators instead of the metaclass approach
| * | Glob exclude parameter can now be a string or a list of stringsAlexandre Feblot2015-04-291-4/+5
| | |
| * | Add an exclude parameter to Glob(), to allow excluding some elements ↵Alexandre Feblot2015-04-251-16/+20
| |/ | | | | | | matching the main pattern
| * - a few simple refactorings and optimizationsDirk Baechle2015-02-041-11/+1
| |
| * - added new method rentry_exists_on_disk (check for physical files/dirs)Dirk Baechle2014-11-051-0/+33
| |
* | engine.SCons: More bytes/str fixes.Stefan Zimmermann2014-03-311-1/+1
| |
* | Merged with [default]Stefan Zimmermann2014-03-311-4/+8
|\ \ | |/
| * Merge c3cba85 from Dirk Baechle, fix for spurious rebuilds. See b4bc497.Gary Oberbrunner2014-03-011-3/+6
| |\
| | * - fix for spurious rebuilds, allow caching of the changed() method's value ↵Dirk Baechle2014-02-141-3/+6
| | | | | | | | | | | | only when called from File.release_target_info()
| * | - disabled reset of Node attributes in built() during interactive modeDirk Baechle2014-01-091-1/+2
| |/
* | Merged with [default]Stefan Zimmermann2014-03-311-15/+137
|\ \ | |/
| * Added release_target_info() to File nodes, reduces memory consumption.Dirk Baechle2013-12-191-9/+130
| |
| * - now counting instances only when requested via --debug=countDirk Baechle2013-10-251-5/+6
| |
| * From Bogdan Tenea: Check for 8.3 filenames on cygwin as well as win32 to ↵Gary Oberbrunner2013-09-301-1/+1
| | | | | | | | make variant_dir work properly.
* | Made former 2to3 changes Python 2.7 compatible (or removed unneeded changes).Stefan Zimmermann2014-03-311-5/+5
| |
* | Result of raw 2to3 run (2to3-2.7); checkpoint for python3 conversion.Gary Oberbrunner2013-09-221-11/+12
|/
* - added simple test for #2720 (execute with cached targets)Dirk Baechle2012-04-221-1/+1
| | | | | - fixed two typos - updated list of changes
* document FS.Base instance variablesAnatoly Techtonik2011-06-241-2/+6
|
* New debug option --debug=duplicate to debug Variant-dir duplicationGary Oberbrunner2011-03-011-0/+7
|
* Fix last commit for python 2.3; no string.rsplit(). Use rindex instead.Gary Oberbrunner2010-11-211-2/+12
|
* Fix for issue #1420, Windows UNC path handling. Applied patch from Benoit ↵Gary Oberbrunner2010-11-181-113/+237
| | | | Belley after updating it to fit into trunk, and added a couple of extra tests from issues 1420, 1857 and 1948.
* Fix issue 2048: when morphing an Entry into a Dir, retain any existing ↵Gary Oberbrunner2010-07-311-3/+18
| | | | executor action list.
* Convert Util.Proxy from an old-style class to a new-style class.Steven Knight2010-05-191-0/+3
|
* Convert old-style classes in Node/FS.py to new-style classes. Refactor ↵Steven Knight2010-05-171-11/+9
| | | | assignment to FS.DiskChecker.__call__.
* http://scons.tigris.org/issues/show_bug.cgi?id=2345Greg Noel2010-04-241-89/+20
| | | | | | | 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-211-4/+2
| | | | Apply the 'itertools' and 'itertools_imports' fixers.
* http://scons.tigris.org/issues/show_bug.cgi?id=2345Greg Noel2010-04-151-2/+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-151-12/+12
| | | | | | 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 2332: Convert from using StringIO.StringIO class to using theSteven Knight2010-04-071-2/+1
| | | | | forward-compatible io.StringIO class, with the addition of an "io" compatibility module for Python versions before 2.6.
* http://scons.tigris.org/issues/show_bug.cgi?id=2345Greg Noel2010-03-291-1/+1
| | | | | | | 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-271-7/+3
| | | | | | | | | | | | | | | 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-251-35/+33
| | | | | 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.
* Add a message to the UserError raised when trying to do a Dir lookup with ↵Gary Oberbrunner2009-12-201-1/+2
| | | | create=False. Should not normally happen, but it did to me, and it is better to have some explanatory message when it happens rather than failing silently.
* Fix issue #2419 by sorting the other return path from glob() in FS.py. ↵Gary Oberbrunner2009-05-291-1/+3
| | | | Thanks to Jin Liu for the original analysis of the problem.
* Issue 2415: Tolerate unicode strings when using intern()Ludwig Hähne2009-05-171-8/+8
|
* Fix handling of both UTF_16_LE and UTF_16_BE. Add an actual test forSteven Knight2009-03-021-7/+58
| | | | | scanning Unicode files for implicit dependencies. Clean up how we handle decoding, and wrap it for earlier Python versions.
* Move the set_state(EXECUTED) call associated with pulling thingsSteven Knight2009-02-221-16/+16
| | | | | | out of a CacheDir from CacheDir.py to Taskmaster.py. Ripple effects include adding a Node.FS.push_to_cache() method, so that logic can be invoked separately from the Node.built() method.