platform/upstream/scons.git
7 years agoFix a pendning children and side effects bug sandbox/pcoval/on/master/review
Philippe Coval [Sun, 27 Aug 2017 13:10:01 +0000 (15:10 +0200)]
Fix a pendning children and side effects bug

Bug: http://scons.tigris.org/issues/show_bug.cgi?id=2777O
Change-Id: Iafa328a0430c675d52cdba50e6984e4c3e74e29e
Credit-to: Emil Stanchev <estanchev@tigris.org>
Origin: http://scons.tigris.org/nonav/issues/showattachment.cgi/894/Fix-a-pending-children-and-side-effects-bug_v3.patch

7 years agoMerge pull request #8 from bdbaddog/fix_scons_build
William Deegan [Wed, 4 Oct 2017 00:16:25 +0000 (20:16 -0400)]
Merge pull request #8 from bdbaddog/fix_scons_build

Fix scons build

7 years agoSimplify main SConstruct. Remove deb and rpm and win executable package creation...
William Deegan [Wed, 4 Oct 2017 00:14:10 +0000 (17:14 -0700)]
Simplify main SConstruct. Remove deb and rpm and win executable package creation as we're moving to pip install being the main install path.

7 years agoMigrate some logic from SConstruct into site_scons to simplify top level SConstruct
William Deegan [Tue, 3 Oct 2017 00:09:10 +0000 (17:09 -0700)]
Migrate some logic from SConstruct into site_scons to simplify top level SConstruct

7 years agoMerge pull request #6 from bdbaddog/fix_to_String_for_subst
William Deegan [Mon, 2 Oct 2017 17:06:44 +0000 (10:06 -0700)]
Merge pull request #6 from bdbaddog/fix_to_String_for_subst

Fix issue where code in utility routine to_String_for_subst() had code where result was dropped

7 years agoRemove windows executable installers
William Deegan [Mon, 2 Oct 2017 17:03:33 +0000 (10:03 -0700)]
Remove windows executable installers

7 years agoMerge pull request #4 from bdbaddog/fix_subst_escaping_noah
William Deegan [Sun, 1 Oct 2017 22:41:06 +0000 (15:41 -0700)]
Merge pull request #4 from bdbaddog/fix_subst_escaping_noah

Fix subst escaping Reported by Noah Hoffman echo "$$(abc)" > blah yielded exception

7 years agoFix issue where code in utility routine to_String_for_subst() had code whose result...
William Deegan [Sun, 1 Oct 2017 22:38:17 +0000 (15:38 -0700)]
Fix issue where code in utility routine to_String_for_subst() had code whose result was never properly returned.  (Found by: James Rinkevich https://pairlist4.pair.net/pipermail/scons-users/2017-October/006358.html )

7 years agoadd fix for mistaking $$( for $( and breaking subst. Reported by Noah Hoffman noah...
William Deegan [Sun, 1 Oct 2017 01:13:07 +0000 (18:13 -0700)]
add fix for mistaking $$( for $( and breaking subst. Reported by Noah Hoffman noah.hoffman at gmail.com in: https://pairlist4.pair.net/pipermail/scons-users/2017-September/006352.html

7 years agoAdd test for another subst dollar escaping situation. In this case 34120( is getting...
William Deegan [Sun, 1 Oct 2017 01:06:30 +0000 (18:06 -0700)]
Add test for another subst dollar escaping situation. In this case 34120( is getting translated to  (escape closings). Since there is no closing $) it fails with error.

7 years agoMerge pull request #3 from bdbaddog/fix_print_tuples_in_tests
William Deegan [Tue, 26 Sep 2017 21:41:17 +0000 (14:41 -0700)]
Merge pull request #3 from bdbaddog/fix_print_tuples_in_tests

fix tests

7 years agofix tests
William Deegan [Tue, 26 Sep 2017 00:36:04 +0000 (17:36 -0700)]
fix tests

7 years agoMerge pull request #2 from bdbaddog/fix_print_tuples_in_tests
William Deegan [Mon, 25 Sep 2017 22:21:12 +0000 (15:21 -0700)]
Merge pull request #2 from bdbaddog/fix_print_tuples_in_tests

Fix tests which break when using print() and no from __future__ impor…

7 years agoFix tests which break when using print() and no from __future__ import print_function...
William Deegan [Mon, 25 Sep 2017 22:19:04 +0000 (15:19 -0700)]
Fix tests which break when using print() and no from __future__ import print_function under python 2.7 because the print('a','b') effectively becomes printing a tuple which doesn't match the expected strings

7 years agoSupport python 2 print statements in SConscripts
Thomas Berg [Wed, 20 Sep 2017 11:24:22 +0000 (13:24 +0200)]
Support python 2 print statements in SConscripts

This fixes a regression introduced in scons-3.0.0, where
SConscripts containing python 2 print statements would cause
syntax errors even when executing scons with python 2.7.

This ensures backward compatibility, allowing users to build
legacy code with scons-3.0.0 without having to patch it.

7 years agoApply fix for sconsign.py as well
Christian Sandberg [Thu, 21 Sep 2017 07:17:31 +0000 (09:17 +0200)]
Apply fix for sconsign.py as well

7 years agoFix usage on embedded Python
Christian Sandberg [Wed, 20 Sep 2017 13:27:29 +0000 (15:27 +0200)]
Fix usage on embedded Python

First entry in sys.path is not always the script directory.

7 years agofix spelling for emitter
William Deegan [Sun, 24 Sep 2017 01:26:09 +0000 (18:26 -0700)]
fix spelling for emitter

7 years agoaddition to user docs
grbd [Sat, 23 Sep 2017 18:25:46 +0000 (19:25 +0100)]
addition to user docs

7 years agoUpdates to scons build system to use git instead of hg to determine revision information
William Deegan [Thu, 21 Sep 2017 15:30:12 +0000 (11:30 -0400)]
Updates to scons build system to use git instead of hg to determine revision information

7 years agoAdd gitignore file
William Deegan [Thu, 21 Sep 2017 14:54:48 +0000 (10:54 -0400)]
Add gitignore file

7 years agoFix broken links in README.rst
Anders T. Akre [Wed, 20 Sep 2017 16:20:14 +0000 (18:20 +0200)]
Fix broken links in README.rst

7 years agoREADME.rst edited online with Bitbucket
William Deegan [Mon, 18 Sep 2017 22:10:16 +0000 (22:10 +0000)]
README.rst edited online with Bitbucket

7 years agoREADME.rst edited online with Bitbucket
William Deegan [Mon, 18 Sep 2017 22:09:18 +0000 (22:09 +0000)]
README.rst edited online with Bitbucket

7 years agopost release file updates
William Deegan [Mon, 18 Sep 2017 20:49:31 +0000 (16:49 -0400)]
post release file updates

7 years agoupdate from release branch
William Deegan [Mon, 18 Sep 2017 20:48:45 +0000 (16:48 -0400)]
update from release branch

7 years ago3.0.0 announcement updates
William Deegan [Mon, 18 Sep 2017 20:47:29 +0000 (16:47 -0400)]
3.0.0 announcement updates

7 years agoAdded tag 3.0.0 for changeset 8972f6a2f699
William Deegan [Mon, 18 Sep 2017 20:42:39 +0000 (13:42 -0700)]
Added tag 3.0.0 for changeset 8972f6a2f699

7 years agoAdd src/engine/SCons/Tool/docbook/utils/xmldepend.xsl to MANIFEST-xml.in
William Deegan [Mon, 18 Sep 2017 19:47:52 +0000 (12:47 -0700)]
Add src/engine/SCons/Tool/docbook/utils/xmldepend.xsl to MANIFEST-xml.in

7 years agoUpdates for 3.0.0 release
William Deegan [Mon, 18 Sep 2017 15:38:46 +0000 (08:38 -0700)]
Updates for 3.0.0 release

7 years agoRegenerated docs for 3.0.0 release.
William Deegan [Mon, 18 Sep 2017 15:31:20 +0000 (08:31 -0700)]
Regenerated docs for 3.0.0 release.

7 years agoAdd clang.py and clangxx.py to Manifest.in to include them in the distribution packages
William Deegan [Mon, 18 Sep 2017 12:47:36 +0000 (08:47 -0400)]
Add clang.py and clangxx.py to Manifest.in to include them in the distribution packages

7 years agoPY2/3 changes to pickle so py2.7 and py3.5+ pickles used in sconsign will be readable...
William Deegan [Mon, 11 Sep 2017 03:54:12 +0000 (20:54 -0700)]
PY2/3 changes to pickle so py2.7 and py3.5+ pickles used in sconsign will be readable by either. There are still rebuilds when switching

7 years agoremove reference to tools no longer included in SCons
William Deegan [Sat, 2 Sep 2017 23:27:52 +0000 (16:27 -0700)]
remove reference to tools no longer included in SCons

7 years agoD: added DCommon.xml to hold common variable cvars. the following were missing which...
William Deegan [Fri, 1 Sep 2017 21:27:39 +0000 (14:27 -0700)]
D: added DCommon.xml to hold common variable cvars. the following were missing which broke doc building. DRPATHPREFIX, DRPATHSUFFIX, DShLibSonameGenerator, SHDLIBVERSION, SHDLIBVERSIONFLAGS

7 years agoadd docs target
William Deegan [Fri, 1 Sep 2017 16:42:07 +0000 (09:42 -0700)]
add docs target

7 years agorestore default sconsign extension
William Deegan [Fri, 1 Sep 2017 05:14:17 +0000 (22:14 -0700)]
restore default sconsign extension

7 years agoFix many epydoc warnings
William Deegan [Fri, 1 Sep 2017 02:57:51 +0000 (19:57 -0700)]
Fix many epydoc warnings

7 years agoMerged scons/scons into default
William Deegan [Thu, 31 Aug 2017 18:41:28 +0000 (11:41 -0700)]
Merged scons/scons into default

7 years agoAdd string of actual output when the commands in this test are run manually. It appea...
William Deegan [Tue, 29 Aug 2017 22:22:01 +0000 (15:22 -0700)]
Add string of actual output when the commands in this test are run manually. It appears that on non-win and win+py2.7 some of the output is getting dropped and so the test passes when it should fail. with win+py3.5or6 it intermittently fails as it should based on expected output. Though in reality the output is correct.

7 years agoMerge in mainline.
Russel Winder [Sat, 26 Aug 2017 13:46:54 +0000 (14:46 +0100)]
Merge in mainline.

7 years agoPY2/3 get_contents() was returning empty string instead of empty bytes when file...
William Deegan [Thu, 24 Aug 2017 22:19:14 +0000 (15:19 -0700)]
PY2/3 get_contents() was returning empty string instead of empty bytes when 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

7 years agoMerged in bdbaddog/scons (pull request #505)
William Deegan [Thu, 24 Aug 2017 17:16:58 +0000 (17:16 +0000)]
Merged in bdbaddog/scons (pull request #505)

Fix handling of non ascii/not utf-8 file contents for PY3 in get_text_contents()

7 years agoUpdates to get_text_content() logic and tests
William Deegan [Thu, 24 Aug 2017 17:13:35 +0000 (10:13 -0700)]
Updates to get_text_content() logic and tests

7 years agoMerged in grbd/scons (pull request #502)
William Deegan [Thu, 24 Aug 2017 00:00:35 +0000 (00:00 +0000)]
Merged in grbd/scons (pull request #502)

Fix for building under python3.5 via bootstrap

7 years agoHandle decode errors by backslashing character. Should only throw exception if conten...
William Deegan [Wed, 23 Aug 2017 22:21:14 +0000 (15:21 -0700)]
Handle decode errors by backslashing character. Should only throw exception if content is not a byte type now

7 years agoFix issue for PY3 where file content has not BOM and isn't ascii by decodeing to...
William Deegan [Wed, 23 Aug 2017 17:35:15 +0000 (10:35 -0700)]
Fix issue for PY3 where file content has not BOM and isn't ascii by decodeing to utf-8

7 years agofix spelling of Tim Jenness last name
William Deegan [Wed, 23 Aug 2017 17:10:25 +0000 (10:10 -0700)]
fix spelling of Tim Jenness last name

7 years agoversion string changes for 3.0.0 alpha
William Deegan [Wed, 23 Aug 2017 17:09:31 +0000 (10:09 -0700)]
version string changes for 3.0.0 alpha

7 years agoupdates for distribution
William Deegan [Wed, 23 Aug 2017 17:09:17 +0000 (10:09 -0700)]
updates for distribution

7 years agoFor consistency with another test.
Russel Winder [Wed, 23 Aug 2017 10:03:04 +0000 (11:03 +0100)]
For consistency with another test.

7 years agoMake the exists and generate functions consistent over D compilers.
Russel Winder [Wed, 23 Aug 2017 08:54:45 +0000 (09:54 +0100)]
Make the exists and generate functions consistent over D compilers.

7 years agoMerge mainline.
Russel Winder [Wed, 23 Aug 2017 07:06:41 +0000 (08:06 +0100)]
Merge mainline.

7 years agomerge
William Deegan [Mon, 21 Aug 2017 23:12:03 +0000 (16:12 -0700)]
merge

7 years agoFix Bug #3025 - (Credit to Florian : User flow86 on tigris) - Fix typo JAVACLASSSUFIX...
William Deegan [Mon, 21 Aug 2017 01:25:22 +0000 (18:25 -0700)]
Fix Bug #3025 - (Credit to Florian : User flow86 on tigris) - Fix typo JAVACLASSSUFIX should have been JAVACLASSSUFFIX

7 years agoFix Bug #2622 - AlwaysBuild()+MSVC regression. Due to AlwaysBuild'd target not being...
William Deegan [Sun, 20 Aug 2017 22:37:46 +0000 (15:37 -0700)]
Fix Bug #2622 - AlwaysBuild()+MSVC regression. Due to AlwaysBuild'd target not being added to changed_sources. This has been fixed for a while via some changes for other issue/development. I added a unit test to cover this to src/engine/SCons/ExecutorTests.py

7 years agoFix Bug #2486 - Allow SetOption('silent',True) - Previously this option could not...
William Deegan [Sun, 20 Aug 2017 04:50:43 +0000 (21:50 -0700)]
Fix Bug #2486 - Allow SetOption('silent',True) - Previously this option could not be passed to SetOption

7 years agoFix Bug #2486 - Allow SetOption('silent',True) - Previously this option could not...
William Deegan [Sun, 20 Aug 2017 04:44:47 +0000 (21:44 -0700)]
Fix Bug #2486 - Allow SetOption('silent',True) - Previously this option could not be passed to SetOption

7 years agoFix Bug #3020 - Download link in user guide broken. python setup.py install --version...
William Deegan [Sat, 19 Aug 2017 21:02:24 +0000 (14:02 -0700)]
Fix Bug #3020 - Download link in user guide broken. python setup.py install --version-lib broken. Now fixed

7 years agomerge default
William Deegan [Sat, 19 Aug 2017 20:42:08 +0000 (13:42 -0700)]
merge default

7 years agoPEP8
William Deegan [Sat, 19 Aug 2017 20:29:51 +0000 (13:29 -0700)]
PEP8

7 years agoUpdate CHANGES to cover bug fixed as part of another fix
William Deegan [Sat, 19 Aug 2017 20:22:07 +0000 (13:22 -0700)]
Update CHANGES to cover bug fixed as part of another fix

7 years agoFix for building under python3.5 via bootstrap
grbd [Tue, 15 Aug 2017 12:07:54 +0000 (13:07 +0100)]
Fix for building under python3.5 via bootstrap

7 years agoMerge in mainline.
Russel Winder [Tue, 15 Aug 2017 07:20:20 +0000 (08:20 +0100)]
Merge in mainline.

7 years agoMerged scons/scons into default
Richard W [Mon, 14 Aug 2017 10:20:43 +0000 (11:20 +0100)]
Merged scons/scons into default

7 years agoUpdate to Changes file to avoid unicode error during python 3 build
grbd [Mon, 14 Aug 2017 10:18:30 +0000 (11:18 +0100)]
Update to Changes file to avoid unicode error during python 3 build

7 years agoUpdate to mainline.
Russel Winder [Tue, 8 Aug 2017 06:21:01 +0000 (07:21 +0100)]
Update to mainline.

7 years agofix comment for vswhere logic
William Deegan [Tue, 8 Aug 2017 02:22:50 +0000 (19:22 -0700)]
fix comment for vswhere logic

7 years agoFix VS2017 detection logic to fail properly when run on linux (posix) systems
William Deegan [Tue, 8 Aug 2017 02:20:29 +0000 (19:20 -0700)]
Fix VS2017 detection logic to fail properly when run on linux (posix) systems

7 years agoremove msvc from non windows platforms default list of compilers
William Deegan [Tue, 8 Aug 2017 02:20:03 +0000 (19:20 -0700)]
remove msvc from non windows platforms default list of compilers

7 years agoFix cxx import statement
William Deegan [Tue, 8 Aug 2017 02:19:44 +0000 (19:19 -0700)]
Fix cxx import statement

7 years agoPR #344 - Use set() where applicable. In many cases this can lead to performance...
William Deegan [Mon, 7 Aug 2017 22:56:07 +0000 (15:56 -0700)]
PR #344 - Use set() where applicable. In many cases this can lead to performance improvements

7 years agoMerged in thosrtanner/trt-scons-sig-suppress (pull request #390)
William Deegan [Mon, 7 Aug 2017 22:45:39 +0000 (15:45 -0700)]
Merged in thosrtanner/trt-scons-sig-suppress (pull request #390)

7 years agomerge from upstream
William Deegan [Mon, 7 Aug 2017 22:15:47 +0000 (15:15 -0700)]
merge from upstream

7 years agoupdate with changes.txt info from PR 489
William Deegan [Mon, 7 Aug 2017 22:12:39 +0000 (15:12 -0700)]
update with changes.txt info from PR 489

7 years agoPull Request contents P$ 489 from Steve Robinson. Manual edit/checkin because pull...
William Deegan [Mon, 7 Aug 2017 22:10:06 +0000 (15:10 -0700)]
Pull Request contents P$ 489 from Steve Robinson.  Manual edit/checkin because pull request was done to merge to 2.5.1 branch and not default.

7 years agorefer to cxx SCons.Tool and not c++
William Deegan [Mon, 7 Aug 2017 18:17:13 +0000 (11:17 -0700)]
refer to cxx SCons.Tool and not c++

7 years agoMerged in grbd/scons (pull request #496)
William Deegan [Sun, 6 Aug 2017 23:22:39 +0000 (16:22 -0700)]
Merged in grbd/scons (pull request #496)

7 years agoMerge mainline.
Russel Winder [Sat, 5 Aug 2017 07:11:25 +0000 (08:11 +0100)]
Merge mainline.

7 years agomerged
William Deegan [Sat, 5 Aug 2017 00:36:01 +0000 (17:36 -0700)]
merged

7 years agoAdd DEB_DATE for producing debian style date for deb/changelog. Fix version string...
William Deegan [Sat, 5 Aug 2017 00:35:13 +0000 (17:35 -0700)]
Add DEB_DATE for producing debian style date for deb/changelog. Fix version string logic for producing .deb packages

7 years agoChange required python version to 2.7 or above
William Deegan [Sat, 5 Aug 2017 00:34:13 +0000 (17:34 -0700)]
Change required python version to 2.7 or above

7 years agoFix py3x throwing UnicodeDecodeError on unicode items in files run through SCons_Revi...
William Deegan [Fri, 4 Aug 2017 19:58:28 +0000 (12:58 -0700)]
Fix py3x throwing UnicodeDecodeError on unicode items in files run through SCons_Revision builder.   Also explicitly skip adding revision info to jpg and png files.  Update usage of md5 (use hashlib.md5).

7 years agoFix contributor ordering. Sort by last name per release
William Deegan [Fri, 4 Aug 2017 19:57:01 +0000 (12:57 -0700)]
Fix contributor ordering. Sort by last name per release

7 years agoAdded fixes for docs / nested test for use of sys.path in toolpath
grbd [Fri, 4 Aug 2017 09:57:11 +0000 (02:57 -0700)]
Added fixes for docs / nested test for use of sys.path in toolpath

7 years agoAdded docs for use of the PyPackageDir function
grbd [Thu, 3 Aug 2017 19:33:51 +0000 (12:33 -0700)]
Added docs for use of the PyPackageDir function

7 years agoAdded support for a PyPackageDir function
grbd [Thu, 3 Aug 2017 14:53:20 +0000 (15:53 +0100)]
Added support for a PyPackageDir function

7 years agoremoved ENV = os.environ from the examples
grbd [Wed, 2 Aug 2017 19:15:03 +0000 (20:15 +0100)]
removed ENV = os.environ from the examples

7 years agoMerged scons/scons into default
Richard W [Wed, 2 Aug 2017 13:04:08 +0000 (14:04 +0100)]
Merged scons/scons into default

7 years agoMerge in mainline.
Russel Winder [Wed, 2 Aug 2017 08:16:59 +0000 (09:16 +0100)]
Merge in mainline.

7 years agoPY2/3 fix action function sigs to skip docstrings
William Deegan [Wed, 2 Aug 2017 01:56:27 +0000 (18:56 -0700)]
PY2/3 fix action function sigs to skip docstrings

7 years agoAdded to src/Changes.txt
grbd [Wed, 2 Aug 2017 01:38:36 +0000 (02:38 +0100)]
Added to src/Changes.txt

7 years agoUpdate CHANGES.txt
William Deegan [Tue, 1 Aug 2017 20:37:15 +0000 (13:37 -0700)]
Update CHANGES.txt

7 years agomerge
William Deegan [Tue, 1 Aug 2017 20:34:13 +0000 (13:34 -0700)]
merge

7 years agoRemove dead code left after creating python version specific golden values
William Deegan [Tue, 1 Aug 2017 20:32:40 +0000 (13:32 -0700)]
Remove dead code left after creating python version specific golden values

7 years agoMerged scons/scons into default
William Deegan [Tue, 1 Aug 2017 20:29:16 +0000 (13:29 -0700)]
Merged scons/scons into default

7 years agoPY2/3 update signatures and simplify logic so we have expected signitures per version...
William Deegan [Tue, 1 Aug 2017 16:48:22 +0000 (09:48 -0700)]
PY2/3 update signatures and simplify logic so we have expected signitures per version of python

7 years agoPY2/3 Fix more function signiture logic. Previously was dropping first co_consts...
William Deegan [Tue, 1 Aug 2017 16:47:49 +0000 (09:47 -0700)]
PY2/3 Fix more function signiture logic. Previously was dropping first co_consts under the mistaken belief that first item was always docstring.  Shortcut logic for NoneType and strings.

7 years agoMerged scons/scons into default
Richard W [Tue, 1 Aug 2017 13:50:41 +0000 (14:50 +0100)]
Merged scons/scons into default

7 years agoUpdate to user manual on how to use sys.path for toolpath, and toolpath in general
grbd [Tue, 1 Aug 2017 13:49:43 +0000 (14:49 +0100)]
Update to user manual on how to use sys.path for toolpath, and toolpath in general
also small update to tests