summaryrefslogtreecommitdiffstats
path: root/src/engine/SCons/Platform
Commit message (Collapse)AuthorAgeFilesLines
* Fix GH issue #3136 No need to explicitly set file handles to non-sharable. ↵William Deegan2018-11-281-10/+2
| | | | Py 3.4 and above do this by default
* s/get_bool_envvar/get_os_env_bool/Paweł Tomulik2018-11-131-2/+2
|
* corrections after bdbaddog's code reviewPaweł Tomulik2018-11-104-94/+22
|
* initial support for virtualenvPaweł Tomulik2018-11-106-5/+454
|
* A few syntax cleanupsMats Wichmann2018-10-031-1/+1
| | | | | | | | | | | | | | | | | | | | | 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>
* Convert one more e[0] to e.errno for OSError usageMats Wichmann2018-08-311-1/+1
| | | | Signed-off-by: Mats Wichmann <mats@linux.com>
* win32 handle exception object correctlyMats Wichmann2018-08-291-2/+2
| | | | | | | | Code inspection reveals this problem (4 instances): Class 'OSError' does not define '__getitem__' so the [] operator cannot be used on its instances. Use e.errno for e[0] and e.strerror for e[1]. Signed-off-by: Mats Wichmann <mats@linux.com>
* Replace usage of unittest.TestSuite with unittest.main()Hao Wu2018-07-121-12/+1
|
* moved default paths for cywing and mingw to their own platform modules.Daniel Moody2018-05-252-0/+48
|
* Change bug references from tigris -> githubMats Wichmann2018-04-241-1/+1
| | | | Signed-off-by: Mats Wichmann <mats@linux.com>
* Use prepend for insertsMats Wichmann2018-01-171-2/+2
| | | | | | | | A number of places "append to the beginning", a better word to use here is "prepend". This is a documentation issue only, no executable statements are affected. Signed-off-by: Mats Wichmann <mats@linux.com>
* mergeWilliam Deegan2017-05-311-5/+0
|\
| * Remove ancient Aegis revision control system filesJane Doe2017-05-301-5/+0
| |
* | PY2/3 Ensure system root is not unicode on py2William Deegan2017-05-311-0/+4
|/
* PY2/3 fix error message strings for py3 on win32William Deegan2017-05-161-5/+5
|
* OSX: if user has SCONS_USE_MAC_PATHS environment variable set, then PATHOSX ↵William Deegan2017-04-091-0/+4
| | | | created from paths in /etc/paths and /etc/paths.d/* will be appended to the Environment's PATH. This allows tests (and builds) to work on (at least) on mac systems using macports
* disable experimental win32 native CopyFile usageWilliam Deegan2017-03-191-17/+17
|
* try using win32 native CopyFileWilliam Deegan2017-01-151-0/+31
|
* Use print() function to fix py2/3Craig Rodrigues2017-03-101-1/+1
|
* Must use bytes when writing to os.open()'d file on py3, bytearray works on ↵William Deegan2017-02-261-1/+1
| | | | both py3 and py2
* Merged in mbyt/scons/python3win32 (pull request #369)William Deegan2016-12-201-9/+21
|\ | | | | | | python3 support for win32.py
| * fixing typo, it must be _scons_filepython3win32mbyt2016-11-291-1/+1
| |
| * the file builtin does not exist in python3mbyt2016-10-191-9/+21
| |
* | Fix some minor formatting issues flagged by pycharmsWilliam Deegan2016-10-252-7/+17
|/
* Restore deleted function _scons_file() in win32.py.William Deegan2016-05-131-0/+7
| | | | | This is causing most tests to fail in win32. See if this resolves.
* Resolved conflicting merge.Russel Winder2016-03-012-3/+23
|\
| * Fix for bug # 2225. This undoes the changes to posix special escape ↵William Deegan2016-02-292-3/+23
| | | | | | | | characters added in patch for bug 1689
* | Post merge commit for safety. Building Fortran code works, but tests fail.Russel Winder2015-12-244-37/+125
|\ \ | |/
| * removed several pre-2.7 methods and imports, including some basic refactoringsDirk Baechle2015-12-102-7/+5
| |
| * new versioned libraries - gnulink and cyglink for nowPawel Tomulik2015-09-021-2/+2
| |
| * TempFileMunge does not use env['CXXCOMSTR'] for output display.LaurentMarchelli2014-12-021-4/+9
| |
| * Using setattr(Node.attributes, 'tempfile_cmdlist', cmdlist) instead than ↵LaurentMarchelli2014-11-272-14/+20
| | | | | | | | setattr(TList, 'tempfile_cmdlist', cmdlist)
| * TempFileMunge duplicate output and duplicate temporary file generation bug ↵LaurentMarchelli2014-11-262-1/+43
| | | | | | | | fixed.
| * - updated doc string and simplified a comparison, based on PR review commentsDirk Baechle2014-08-242-8/+5
| |
| * - fix for issue #2970, false line length calculation in TempFileMunge classDirk Baechle2014-08-212-2/+51
| |
* | Merged default branch into python3-port to keep it up to date.Gary Oberbrunner2014-08-232-12/+32
|\ \ | |/ | | | | | | Hand-updated a few things to keep them python3-safe, and handled several merge conflicts.
| * The _r in AIX xlc_r means reentrant, not relocatable.Michael Haubenwallner2014-05-151-12/+28
| | | | | | | | | | | | | | | | | | It does not make any sense to use 'xlc' for CC and 'xlc_r' for SHCC, as the '_r' does stand for 'reentrant' rather than 'relocatable' or similar. Avoid 'egrep' to parse the lslpp output, it's easy enough within python. Needs output streams of _subproc.dummyPopen to be iterable.
| * Fix Issue 2940, generating the wrong rpath flags for DMD and LDC.Russel Winder2014-04-241-0/+4
| |
* | Merged with [default]Stefan Zimmermann2014-03-315-10/+11
|\ \ | |/
| * Switch unit tests to configurable runneranatoly techtonik2014-03-211-2/+3
| |
| * - added doc editor configuration for XXE5Dirk Baechle2014-01-194-8/+8
| | | | | | | | | | - added missing icons for XXE4 - adapted schema location, such that the validation works properly in SernaFree and XXE
* | fix some minor 2to3 issues on windowsRocco Matano2014-03-071-9/+13
| |
* | Merged with [default]Stefan Zimmermann2014-03-311-158/+14
|\ \ | |/
| * Change posix.py to use subprocess as we only support python 2.4.Tom Tanner2013-10-041-164/+14
| | | | | | | | Added a test for leaking handles.
| * Stop leaking of filehandles to child processes by closing on fork.Tom Tanner2013-10-031-2/+9
| | | | | | | | | | Note: The close on fork bit you can set with ioctl isn't thread safe, and only linux allows you to set it on open
* | Made former 2to3 changes Python 2.7 compatible (or removed unneeded changes).Stefan Zimmermann2014-03-312-1/+2
| |
* | Result of raw 2to3 run (2to3-2.7); checkpoint for python3 conversion.Gary Oberbrunner2013-09-2210-15/+16
|/
* - switched to different schemaLocation URIDirk Baechle2013-05-034-4/+4
|
* - rewrote all tool/builder docs to new SCons XSDDirk Baechle2013-05-034-2/+140
|
* - several smaller fixes to get all tests running under Buildbot againdirkbaechle2012-09-271-22/+32
|