summaryrefslogtreecommitdiffstats
path: root/src/engine/SCons/Node
Commit message (Collapse)AuthorAgeFilesLines
* Fix many epydoc warningsWilliam Deegan2017-09-011-18/+12
|
* PY2/3 get_contents() was returning empty string instead of empty bytes when ↵William Deegan2017-08-241-1/+1
| | | | file doesn't exist. get_text_contents() was then trying to call decode on a string object... Fixed. get_contents() now returns empty byte string
* Updates to get_text_content() logic and testsWilliam Deegan2017-08-242-5/+8
|
* Handle decode errors by backslashing character. Should only throw exception ↵William Deegan2017-08-231-2/+2
| | | | if content is not a byte type now
* Fix issue for PY3 where file content has not BOM and isn't ascii by ↵William Deegan2017-08-232-1/+9
| | | | decodeing to utf-8
* Added support for a PyPackageDir functiongrbd2017-08-031-0/+29
|
* Performance: rewrite some central Node code based on hints on fastest ↵William Deegan2017-06-061-29/+13
| | | | uniquifiers for python from: https://www.peterbe.com/plog/uniqifiers-benchmark. In my tests yields about 15% speedup on Null Incremental build. Shows about the same on ElectricCloud scons benchmark
* Remove ancient Aegis revision control system filesJane Doe2017-05-301-5/+0
|
* PY2/3 disable symlink and links for win32 in FSTests.pyWilliam Deegan2017-05-171-0/+8
|
* PY2/3 For the time being disable using soft or hard links in duplicating ↵William Deegan2017-05-161-2/+7
| | | | files on win32. It's supported under PY3, but SCons will need more work to make sure it's used in a consistant way and if user permissions are needed if they user has them
* more removal of sccs and rcs builder logicWilliam Deegan2017-04-182-109/+2
|
* Try to fix some more py2/3 tests becuase of str vs bytearrayGaurav Juvekar2017-04-161-1/+7
|
* Fix broken testsGaurav Juvekar2017-04-101-3/+3
|
* py2/3 fix for test/Value.pyGaurav Juvekar2017-04-101-5/+6
|
* py2/3 Need to add __hash__ function to EntryProxy as with py3 __hash__ ↵William Deegan2017-04-061-0/+6
| | | | function is removed when a class provides __eq__
* py2/3 os.symlink is now defined for win32, but unless user has privs it will ↵William Deegan2017-04-041-6/+4
| | | | always fail. For not skipping symlink tests
* py2/3 define __lt__ for nodes, so sort will work on py3William Deegan2017-04-031-0/+4
|
* py2/3 get_text_contents() may be working when contents is a string (Value ↵William Deegan2017-03-191-1/+1
| | | | node), in which case the final except should handle AttributeError as decode is not a method on strings in py3
* py2/3 switch from using starts with to a slice of the contents. With py3 ↵William Deegan2017-03-191-3/+3
| | | | contents is a byte array, not a string and so lacks the startswith method
* move comment for method to docstringWilliam Deegan2017-03-141-3/+5
|
* When iterating over dict.items(), we do not need a new list.Craig Rodrigues2017-03-124-6/+6
|
* Fix test for py3 & py2 compatWilliam Deegan2017-02-261-9/+9
|
* leave some debug logic for detecting build action change signature changes ↵William Deegan2017-02-261-0/+8
| | | | commented out in file
* PEP-8 fixesWilliam Deegan2017-02-261-0/+6
|
* Ensuring that FS.get_text_contents returns actual text.William Blevins2016-09-241-2/+6
|
* Futurize stage 2 2to3 fixes only.William Blevins2016-09-204-14/+14
|
* Merged in klimkin/scons/optimize-scan-path-subst-v2 (pull request #345)William Deegan2016-08-121-10/+12
|\ | | | | | | Optimize implicit dependency scan
| * Optimize implicit dependency scanAlexey Klimkin2016-05-261-10/+12
| | | | | | | | | | | | | | | | When calculating path, performance spent on two things: - Variable expansion, if CPPPATH contains any variables - CPPPATH flattening Use memoization to optimize PATH evaluation across all dependencies per node.
* | wrap several frequently-used open() calls in with statementsDaniel Holth2016-06-152-3/+4
| |
* | avoid using __slots__ on Node and Executor (but only on PyPy)Daniel Holth2016-06-061-1/+4
|/
* fix incorrectly updated print formattingWilliam Deegan2016-05-151-1/+1
|
* Run futurize --stage1.Russel Winder2016-01-011-18/+20
|
* Post merge commit for safety. Building Fortran code works, but tests fail.Russel Winder2015-12-248-621/+1267
|\
| * - fixed render_tree default argument for "visited" as wellDirk Baechle2015-12-141-1/+1
| | | | | | | | | | - added tests for the new "visited" default arguments of the render_tree and print_tree methods - added simple test for the new "None" default arguments in Variables constructor
| * removed several pre-2.7 methods and imports, including some basic refactoringsDirk Baechle2015-12-104-69/+3
| |
| * Merged in williamblevins/scons_20150323 (pull request #244)William Deegan2015-11-132-25/+53
| |\
| | * Issue 2264: Removed redundant SCANNER_HINT for preference of SCANNERS.William Blevins2015-08-071-13/+1
| | | | | | | | | | | | | | | Also possibly SCons.Tool.SourceFileScanner (global only). Updated test to reflect with case using SCANNERS plus root node default.
| | * Issue 2264: Added test for SCANNER_HINT support, plus bug fixes.William Blevins2015-06-301-2/+2
| | |
| | * Issue 2264: Updated behaviour when scanning included dependencies for nodes ↵William Blevins2015-06-302-18/+47
| | | | | | | | | | | | without scanner_key mappings.
| | * Issue 2264: Updated tests to reflect Node changes.William Blevins2015-05-181-7/+12
| | |
| | * Issue 2264: Added cross-language scanner support.William Blevins2015-05-171-10/+16
| | |
| * | 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-068-466/+1093
| |\ | | | | | | | | | 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-268-443/+1040
| | | | | | | | | | | | - 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