| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Change test for str(node1) is str(node2) to use ==. Expecting that the ↵ | William Deegan | 2018-11-12 | 1 | -1/+4 |
| | | | | | strings would have the same id() is not reasonable. Expecting their values are equal is. | ||||
| * | Resolve comments from @GaryO to clarify new code. | William Deegan | 2018-11-12 | 1 | -2/+13 |
| | | |||||
| * | Clarify and simplify logic in Node.get_binfo() | William Deegan | 2018-11-12 | 1 | -4/+8 |
| | | |||||
| * | Fix typos | William Deegan | 2018-11-12 | 1 | -1/+1 |
| | | |||||
| * | Fix docstring on FileBuildInfo per comment from @dirkbaechle | William Deegan | 2018-11-12 | 1 | -3/+11 |
| | | |||||
| * | fix whitespace issues | William Deegan | 2018-11-12 | 1 | -3/+0 |
| | | |||||
| * | switch from izip to zip. no izip in py3 | William Deegan | 2018-11-12 | 2 | -3/+3 |
| | | |||||
| * | Revisit caching of filename -> csig map and invalidate when reasonable | William Deegan | 2018-11-12 | 2 | -38/+29 |
| | | |||||
| * | Add docstring | William Deegan | 2018-11-12 | 1 | -0/+8 |
| | | |||||
| * | Change logic to ensure we only build the dependency map once per target file. | William Deegan | 2018-11-12 | 1 | -3/+14 |
| | | |||||
| * | Moved logic to handle Timestamp-MD5 decider issues into File() node. One ↵ | William Deegan | 2018-11-12 | 2 | -152/+145 |
| | | | | | minor change in Node.Changed() it now has to handle the decider called indirectly throwing DeciderNeedsNode exception which has a property of decider it should call. Also had to update the explain logic to handle this exception. | ||||
| * | Check in before migrating logic from Node() -> File(). Since the ↵ | William Deegan | 2018-11-12 | 1 | -3/+17 |
| | | | | | | | Timestamp-MD5 decider issue we're trying to resolve only affects File() nodes. Additionally creating the map of file names -> csigs for info loaded from SConsign would only be used when using Timestamp-MD5 | ||||
| * | move comment to docstring for LinkFunc() | William Deegan | 2018-11-12 | 1 | -5/+7 |
| | | |||||
| * | clarify docstring on decider function | William Deegan | 2018-11-12 | 1 | -2/+2 |
| | | |||||
| * | pull changes for this issue from WIP branch on mongo tree | William Deegan | 2018-11-12 | 1 | -23/+60 |
| | | |||||
| * | Clear up some comments and convert comment to docstring where it makes sense | William Deegan | 2018-11-12 | 1 | -16/+24 |
| | | |||||
| * | change exists_file() method to skip adding files AND sigs for files in the ↵ | William Deegan | 2018-11-12 | 1 | -33/+50 |
| | | | | | ignore set. previously was only skipping signitures which left the sconsign in an inconsistant state. (More file names than sigs) | ||||
| * | add method find_repo_file() which finds the file in it's known repositories. ↵ | William Deegan | 2018-11-12 | 1 | -3/+28 |
| | | | | | Minor reformat in rfile(). | ||||
| * | Create test to verify fix for issue #2980 | William Deegan | 2018-11-12 | 2 | -4/+140 |
| | | | | | | | There are still possible errors due to timestamp-MD5 + cachedir + changed implicit or regular dependencies (but the same # of such as the previous build). These are not yet handled as the fix being used for changed number of such breaks a number of tests. This fix doe reduce the number of possible issues. | ||||
| * | Fix comment spelling | William Deegan | 2018-11-12 | 1 | -1/+1 |
| | | |||||
| * | Switch to use unittest.main() instead of building up a TestSuite which is ↵ | William Deegan | 2018-11-12 | 1 | -0/+1 |
| | | | | | never used | ||||
| * | remove unittest.TestSuite() no longer needed as unittest.main() is available ↵ | William Deegan | 2018-11-12 | 1 | -32/+1 |
| | | | | | now. (And seems actually a little faster) | ||||
| * | rename variable then to previous_children to make the code a bit easier to ↵ | William Deegan | 2018-11-12 | 1 | -5/+7 |
| | | | | | understand. | ||||
| * | Added docstring to File.changed_timestamp_then_content()include a note and ↵ | William Deegan | 2018-11-12 | 1 | -3/+16 |
| | | | | | reference to issue #2980 | ||||
| * | Modified fix for issue #2980 where the more complicated logic is only ↵ | William Deegan | 2018-11-12 | 1 | -6/+6 |
| | | | | | applied when the number of children in the current build doesn't match the number in the previous build as retrieved from the sconsign file. | ||||
| * | Apply patch from wblevins for issue #2980 This fixes that issue, but as ↵ | William Deegan | 2018-11-12 | 1 | -8/+72 |
| | | | | | discussion indicates breaks other tests. WIP | ||||
| * | Fix some bad code formatting. | William Deegan | 2018-11-12 | 1 | -8/+20 |
| | | |||||
| * | fix Value node tests to expect a string and not bytes | William Deegan | 2018-10-11 | 1 | -3/+3 |
| | | |||||
| * | Fix Bug #3212. Using CacheDir with Configure TryCompile with Python 3 was ↵ | William Deegan | 2018-10-10 | 2 | -2/+16 |
| | | | | | failing because it was yielding a mixture of bytes and strings when generating cachedir signature use to determine file and directory in cachedir to use | ||||
| * | A few syntax cleanups | Mats Wichmann | 2018-10-03 | 2 | -7/+7 |
| | | | | | | | | | | | | | | | | | | | | | | Suggested by PyCharm. Includes three "real" changes: 1. src/engine/SCons/Node/__init__.py has a print statement in a function which references 'self', but there is no 'self' defined (it is not a method in a class). Guessing it should have been 'node'. 2. src/engine/SCons/Environment.py makes a call using 'kwbd' which is not defined, looks like a copy-paste error and should be 'bd'. 3. src/engine/SCons/Tool/JavaCommon.py splits 'file', which is not defined, was evidently supposed to be 'fn'. These should be double-checked. The rest are purely syntax: whitespace, dropping trailing semicolons, using "is" to test for None, simplifying comparisons, normalizing docstring commenting ("always triple double quotes"), unneeded backslashes. Signed-off-by: Mats Wichmann <mats@linux.com> | ||||
| * | Switched test to use assertFalse because of deprication warning in 3.7 | Daniel Moody | 2018-08-10 | 1 | -1/+1 |
| | | |||||
| * | Updated FS to handle removal of splitunc function from python 3.7 | Daniel Moody | 2018-08-10 | 2 | -2/+10 |
| | | |||||
| * | Replace usage of unittest.TestSuite with unittest.main() | Hao Wu | 2018-07-12 | 3 | -35/+3 |
| | | |||||
| * | Fix problem with Install and multiple dirs outside src tree. | Gary Oberbrunner | 2018-01-05 | 1 | -1/+6 |
| | | | | | | | | | | | | | In some cases it's possible to get a case where the target path already does exist, but the dir node for it hasn't been updated yet. This fix prevents MkdirFunc from trying to create it when it already exists. Added a testcase which failed before the fix and works after it. Also fixes a problem running tests on Windows, using standard python 3 which is installed in "C:/Program Files/Python36". The python path name has to be escaped in that case. See runtest.py. | ||||
| * | Fix many epydoc warnings | William Deegan | 2017-09-01 | 1 | -18/+12 |
| | | |||||
| * | PY2/3 get_contents() was returning empty string instead of empty bytes when ↵ | William Deegan | 2017-08-24 | 1 | -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 tests | William Deegan | 2017-08-24 | 2 | -5/+8 |
| | | |||||
| * | Handle decode errors by backslashing character. Should only throw exception ↵ | William Deegan | 2017-08-23 | 1 | -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 Deegan | 2017-08-23 | 2 | -1/+9 |
| | | | | | decodeing to utf-8 | ||||
| * | Added support for a PyPackageDir function | grbd | 2017-08-03 | 1 | -0/+29 |
| | | |||||
| * | Performance: rewrite some central Node code based on hints on fastest ↵ | William Deegan | 2017-06-06 | 1 | -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 files | Jane Doe | 2017-05-30 | 1 | -5/+0 |
| | | |||||
| * | PY2/3 disable symlink and links for win32 in FSTests.py | William Deegan | 2017-05-17 | 1 | -0/+8 |
| | | |||||
| * | PY2/3 For the time being disable using soft or hard links in duplicating ↵ | William Deegan | 2017-05-16 | 1 | -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 logic | William Deegan | 2017-04-18 | 2 | -109/+2 |
| | | |||||
| * | Try to fix some more py2/3 tests becuase of str vs bytearray | Gaurav Juvekar | 2017-04-16 | 1 | -1/+7 |
| | | |||||
| * | Fix broken tests | Gaurav Juvekar | 2017-04-10 | 1 | -3/+3 |
| | | |||||
| * | py2/3 fix for test/Value.py | Gaurav Juvekar | 2017-04-10 | 1 | -5/+6 |
| | | |||||
| * | py2/3 Need to add __hash__ function to EntryProxy as with py3 __hash__ ↵ | William Deegan | 2017-04-06 | 1 | -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 Deegan | 2017-04-04 | 1 | -6/+4 |
| | | | | | always fail. For not skipping symlink tests | ||||
