summaryrefslogtreecommitdiffstats
path: root/bin
Commit message (Collapse)AuthorAgeFilesLines
* Fix some regexes for Python 3.8 complaintsMats Wichmann2019-05-131-2/+2
| | | | | | | | | | | Regexes that contained unescaped backslashes and were not listed in raw string form caused one more test failure when Python 3.8 was experimentally turned on in the Travis CI build. Also one utility script had the same, not affecting tests - found through inspection. Signed-off-by: Mats Wichmann <mats@linux.com>
* [PY 3.8] test fixes for file closings, rawstringsMats Wichmann2019-04-251-90/+82
| | | | | | | On a linux host (missing some things that may be on the Travis CI setup), Py3.8a3 now shows 19 fails, 1048 pass, with 84 Warning: messages. Signed-off-by: Mats Wichmann <mats@linux.com>
* [PY 3.8] fix some sider complaints in #3331Mats Wichmann2019-03-301-0/+1
| | | | | | One was "real": had failed to indent a with: block Signed-off-by: Mats Wichmann <mats@linux.com>
* [WIP] [PY 3.8] fix more warningsMats Wichmann2019-03-302-21/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Several locations with simple usage of deprecated "imp" module changed to use "importlib". These match with work in #3159, but this is not a complete implementation of #3159. More regex patterns are changed to be raw strings. Some strings which did not seem appropriate to change to raw strings (e.g. contain embedded tabs, which Python should honor) had backslashes escaped to avoid accidental Python interpretation. Example: '\t<Import Project="$(VCTargetsPath)\\Microsoft.Cpp.targets" />\n' Python 3.8 was Warning \M was an unknown escape. More open().write(), open().read() style usage changed to use context managers so the file is closed. WIP part: even with Python 3.7, the tests which call sconsign.py fail; oddly they do not fail without the patch to compat.py. sconsign.py does an import using imp module (which is what generates the errors) so needs to be updated anyway. It does not quite fit the "simple usage" pattern - can't do a simple relative import since sconsign is normally located elsewhere in the tree than the main scons code body. With this version of the patch, 700 tests now pass with 3.8, and Warning messages reduced to 2800 (current master has 200 pass, 9000 warns) Signed-off-by: Mats Wichmann <mats@linux.com>
* Clean up some file opens, regex stringsMats Wichmann2019-03-071-12/+17
| | | | | | | | | | | | | | | | | | Most recent Python (3.8 alpha) spews warnings aplenty about two subjects: unclosed files and strings which look like they have embedded escapes that Python does not recognize. The latter are usually regexes, and it provides a reminder that regular expressions should normally be specified as raw strings, so Python does not attempt to interpret them. Irritating is that even docstrings are flagged, it's not obvious what the right answer is for a docstring which contains, say, a Windows-style path with backslashes. This converts a bunch of opens that are not closed into context manager usage and regex patterns into raw strings. This eliminate about 4000 warnings spewed by Py3.8 (9200 remain). Signed-off-by: Mats Wichmann <mats@linux.com>
* Changes for 3.0.4 release3.0.4William Deegan2019-01-231-1/+1
|
* Updates for Ubuntu 18.04 LTS build machineWilliam Deegan2019-01-071-2/+4
|
* comment out source package upload to sourceforge3.0.2William Deegan2019-01-011-5/+5
|
* Updates for 3.0.2William Deegan2019-01-011-7/+0
|
* Add xz compression to tar packaging choices.Mats Wichmann2018-09-271-8/+11
| | | | | | | | | | | A few tweaks to scons_dev_master.py which needed to have xz added anyway: changed mercurial to git in initial setup, install different java, more pythons. Note about adding ipkg-build. Docs updated slightly for wording in addition to adding the new tar packager. Signed-off-by: Mats Wichmann <mats@linux.com>
* [ci skip] Removing obsolete administrative script scons-cdist. Leftover from ↵William Deegan2018-04-301-272/+0
| | | | when SCons used aegis for revision control
* move test files from QMTest to testing/framework. QMtest hasn't been used in ↵William Deegan2018-04-303-8/+8
| | | | quite some time
* Fix wiki references to point to gihub wikiMats Wichmann2018-04-231-2/+4
| | | | Signed-off-by: Mats Wichmann <mats@linux.com>
* Replace all instances of `int main()` with `int main(void)`Jonathon Reinhart2018-02-111-1/+1
|
* Refactor some variable names. Create a SConstruct_created next to created ↵William Deegan2017-11-141-21/+27
| | | | files for document examples so the example code can be rerun manually to debug any issues found when running
* Add ability to regenerate a single example outputWilliam Deegan2017-11-141-2/+9
|
* minor improvements in script logicWilliam Deegan2017-11-141-5/+9
|
* remove reference to tools no longer included in SConsWilliam Deegan2017-09-021-9/+7
|
* add docs targetWilliam Deegan2017-09-011-1/+12
|
* Remove ancient Aegis revision control system filesJane Doe2017-05-301-4/+0
|
* Merged in rodrigc/scons (pull request #409)William Deegan2017-03-131-1/+1
|\ | | | | | | Remove 'U' flag to open()
| * Remove 'U' flag to open() which is deprecated.Craig Rodrigues2017-03-111-1/+1
| |
* | When iterating over dict.items(), we do not need a new list.Craig Rodrigues2017-03-123-4/+4
|/
* Futurize stage 2 2to3 fixes only.William Blevins2016-09-207-12/+12
|
* Update logic to pull files from mercurialWilliam Deegan2016-05-151-3/+3
|
* Remove all the six stuff.Russel Winder2016-02-021-6/+2
|
* Run futurize --stage1.Russel Winder2016-01-013-67/+71
|
* Post merge commit for safety. Building Fortran code works, but tests fail.Russel Winder2015-12-2411-1037/+31
|\
| * removed several pre-2.7 methods and imports, including some basic refactoringsDirk Baechle2015-12-101-5/+1
| |
| * mergeWilliam Deegan2015-09-282-1/+2
| |\
| | * exit with non-zero exit code if validation failsWilliam Deegan2015-09-281-0/+1
| |/
| * change tree back to development mode and bring back changes from release branchWilliam Deegan2015-09-212-2/+10
| |\
| | * add uploading src/README.txt to sourceforgerel_2.4.0William Deegan2015-09-211-2/+9
| |/
| * adding amd64 win installer to list of filesWilliam Deegan2015-09-211-0/+5
| |
| * Call scons-proc.py with the same python executable that the ↵William Deegan2015-07-301-2/+3
| | | | | | | | docs-update-generated is being run by.
| * Remove obsolete aegis revision control scriptsWilliam Deegan2015-07-303-1023/+0
| |
| * merging 2.3.5 changesWilliam Deegan2015-06-201-0/+8
| |
| * SConsDoc.py: Calling sys.exit(-1) in imported library is bad, becauseanatoly techtonik2015-01-111-4/+2
| | | | | | | | it removes the trace who and when imported it.
* | Added six module as SCons.compat.six, for python3 port.Gary Oberbrunner2014-04-201-1/+1
| |
* | Merged with [default]Stefan Zimmermann2014-03-313-6/+6
|\ \ | |/
| * release scripts: bin/upload-release-files.sh update doc for EPUB and fix doc ↵Gary Oberbrunner2014-03-081-2/+2
| | | | | | | | install
| * Merged in dirkbaechle/scons (pull request #103)Gary Oberbrunner2014-03-081-2/+2
| |\ | | | | | | | | | Documentation editor configuration for XXE5
| | * - added doc editor configuration for XXE5Dirk Baechle2014-01-191-2/+2
| | | | | | | | | | | | | | | - added missing icons for XXE4 - adapted schema location, such that the validation works properly in SernaFree and XXE
| * | Put back into develop mode post-2.3.1 release;Gary Oberbrunner2014-03-041-2/+2
| |/ | | | | | | also improve update-release-info.py to use shorter copyright year strings.
* | Some more six.PY2/PY3 usage.Stefan Zimmermann2014-01-081-2/+4
| |
* | Merged with [default]Stefan Zimmermann2014-03-311-8/+9
|\ \ | |/
| * update-release-info: fixed date updating for doc/user/main.xml.Gary Oberbrunner2013-12-271-8/+9
| | | | | | | | | | Also added note that doc/user/main.in is no longer needed/used and prevent that from stopping the doc gen process.
* | More __cmp__ to __eq__ (and __lt__). Resolved some UnboundLocalErrors after ↵Stefan Zimmermann2014-03-312-5/+12
| | | | | | | | except.
* | Made former 2to3 changes Python 2.7 compatible (or removed unneeded changes).Stefan Zimmermann2014-03-3122-27/+50
| |
* | Result of raw 2to3 run (2to3-2.7); checkpoint for python3 conversion.Gary Oberbrunner2013-09-2222-161/+160
|/