summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | Merge pull request #3676 from mwichmann/manpage-extendingWilliam Deegan2020-06-011-161/+112
|\ \ \ \ | | | | | | | | | | Update manpage Extending section
| * | | | [PR #3676] fix doc typo detected by sider [ci skip]Mats Wichmann2020-05-311-1/+2
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Mats Wichmann <mats@linux.com>
| * | | | Update manpage Extending section [ci skip]Mats Wichmann2020-05-311-162/+114
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Extending SCons: this is mainly syntax: adding/adjusting markup, reformatting code examples, adding the word "Example:" in a few places, moving a paragraph outside a list since it applies to the whole list, not to the last item of the list. A list is reformatted to a <simplelist> for a shorter layout. Signed-off-by: Mats Wichmann <mats@linux.com>
* | | | | Merge pull request #3677 from mwichmann/manpage-examplesWilliam Deegan2020-06-011-99/+119
|\ \ \ \ \ | | | | | | | | | | | | Update manpage Examples section
| * | | | | Update manpage Examples section [ci skip]Mats Wichmann2020-05-311-99/+119
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Examples: mainly syntax: adding/adjusting markup, reformatting code examples, etc. Signed-off-by: Mats Wichmann <mats@linux.com>
* | | | | Merge pull request #3678 from mwichmann/manpage-configfileWilliam Deegan2020-05-311-129/+147
|\ \ \ \ \ | | | | | | | | | | | | Update manpage Configuration File section
| * | | | | Update manpage Configuration File section [ci skip]Mats Wichmann2020-05-311-129/+147
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | CONFIGURATION FILE REFERENCE: markup added/updated, examples reformatted. A chunk of text followed the included "GENERATED CONSTRUCTION VARIABLE DESCRIPTIONS" which describes how to access consvars, this was moved before the inclusion for better flow. A bit was added to the final paragraph before that inclusion to remind that actual consvars are based on which tools were actually able to initialize. Signed-off-by: Mats Wichmann <mats@linux.com>
* | | | | Merge pull request #3679 from mwichmann/manpage-optionsWilliam Deegan2020-05-311-58/+71
|\ \ \ \ \ | | | | | | | | | | | | Update manpage Options section
| * | | | | Update manpage Options section [ci skip]Mats Wichmann2020-05-311-58/+71
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | OPTIONS: add/change markup. A few comments modified on CacheDir usage, and on Help. Dropped a reference to SCCS/RCS retrieval. Signed-off-by: Mats Wichmann <mats@linux.com>
* | | | | Merge pull request #3680 from mwichmann/environment-xml-bugfixWilliam Deegan2020-05-311-25/+22
|\ \ \ \ \ | |/ / / / |/| | | | Fix two errors in Environment.xml
| * | | | Fix two errors in Environment.xml [ci skip]Mats Wichmann2020-05-311-25/+22
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Recent changes introduced two xml errors that were not caught by docs-validate, because that script only validates xml under the doc directory, not the SCons source directory. A little further tweaking of CacheDir discussion is done - one of the errors was there and it got me looking... Signed-off-by: Mats Wichmann <mats@linux.com>
* | | | change use back to maintainWilliam Deegan2020-05-311-1/+1
| | | |
* | | | Merge pull request #3671 from mwichmann/docs-markupWilliam Deegan2020-05-314-421/+436
|\ \ \ \ | | | | | | | | | | Updates to shared docs [ci skip]
| * \ \ \ Merge branch 'master' into docs-markupWilliam Deegan2020-05-3111-159/+208
| |\ \ \ \ | |/ / / / |/| | | |
* | | | | Merge pull request #3675 from mwichmann/docstrings-for-sphinxWilliam Deegan2020-05-3011-159/+208
|\ \ \ \ \ | |_|_|_|/ |/| | | | Docstring changes from Sphinx conversion [ci skip]
| * | | | [PR #3675] fix doc typo from sider [ci skip]Mats Wichmann2020-05-301-1/+1
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Mats Wichmann <mats@linux.com>
| * | | | Docstring changes from Sphinx conversion [ci skip]Mats Wichmann2020-05-3011-159/+208
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | These changes are prompted by complaints Sphinx makes about existing docstrings; split from the Sphinx-build PR to make for easier reviewing. Signed-off-by: Mats Wichmann <mats@linux.com>
| * | | [PR #3675] fix doc typo from sider [ci skip]Mats Wichmann2020-05-302-6/+6
| | | | | | | | | | | | | | | | Signed-off-by: Mats Wichmann <mats@linux.com>
| * | | [PR #3671] fix typo; add missed file [ci skip]Mats Wichmann2020-05-302-12/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sider detected a misspelled tag Failed to "add" one changed doc file, Defaults.xml. Added. Signed-off-by: Mats Wichmann <mats@linux.com>
| * | | Updates to shared docs [ci skip]Mats Wichmann2020-05-303-408/+418
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | Mostly update markup to more "standard" markup conventions. There are some substantive wording changes to CacheDir descriptions in Environment, and to the AddOption/Help descriptions in Main and SConscript files. Signed-off-by: Mats Wichmann <mats@linux.com>
* | | Quite sider warning about unused variable in testWilliam Deegan2020-05-291-1/+1
| | |
* | | Merge branch 'master' of github.com:SCons/sconsWilliam Deegan2020-05-29131-580/+705
|\ \ \
| * \ \ Merge pull request #3669 from mwichmann/abc-TaskWilliam Deegan2020-05-2912-26/+47
| |\ \ \ | | | | | | | | | | Set Tasks class as abstract
| | * \ \ Merge branch 'master' into abc-TaskWilliam Deegan2020-05-2911-34/+151
| | |\ \ \ | | |/ / / | |/| | |
| * | | | Merge pull request #3674 from mwichmann/logfile_cleanupsWilliam Deegan2020-05-295-11/+47
| |\ \ \ \ | | | | | | | | | | | | Close scons logfiles on completion
| | * | | | Fix typo in new trace_cleanup interior funcMats Wichmann2020-05-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Spotted by sider Signed-off-by: Mats Wichmann <mats@linux.com>
| | * | | | Close scons logfiles on completionMats Wichmann2020-05-295-11/+47
| | | |/ / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Files written to in logging operations could remain unclosed: more modern Pythons grumble about this; given the type of Python build, could emit ResourceWarning messages which cause tests to fail. Close by registering calls with atexit. Affects Trace, cache debug, taskmastertrace, configure. Signed-off-by: Mats Wichmann <mats@linux.com>
| * | | | Merge pull request #3655 from dmoody256/callable_silent_typeerrorsWilliam Deegan2020-05-294-11/+38
| |\ \ \ \ | | | | | | | | | | | | Use inspect.signature to check function signature instead of relying on TypeErrors when evaluation in subst()
| | * \ \ \ Merge remote-tracking branch 'origin/master' into callable_silent_typeerrorsDaniel Moody2020-05-2211-184/+115
| | |\ \ \ \
| | * | | | | used fixtures in test TypeError testDaniel Moody2020-05-192-28/+15
| | | | | | |
| | * | | | | Merge remote-tracking branch 'origin/master' into callable_silent_typeerrorsDaniel Moody2020-05-1810-41/+60
| | |\ \ \ \ \
| | * | | | | | add check for SCons null classDaniel Moody2020-05-181-2/+8
| | | | | | | |
| | * | | | | | update CHANGES.txtDaniel Moody2020-05-181-6/+10
| | | | | | | |
| | * | | | | | cover other type of subber and add testDaniel Moody2020-05-172-2/+31
| | | | | | | |
| | * | | | | | use signature to check function signature instead of relying on TypeErrorsDaniel Moody2020-05-161-3/+4
| | | | | | | |
| * | | | | | | Merge pull request #3672 from Xrayez/env-dump-jsonWilliam Deegan2020-05-294-12/+66
| |\ \ \ \ \ \ \ | | |_|_|_|/ / / | |/| | | | | | Extend `Environment.Dump()` to select serialization format
| | * | | | | | Extend `Environment.Dump()` to select serialization formatAndrii Doroshenko (Xrayez)2020-05-284-12/+66
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Environment.Dump() produces pretty-printable results only, so the usefulness of this method is limited to debugging purposes. The existing method is extended to allow selecting a serialization format to use via a `format` parameter. Namely, it's now possible to serialize variables as a JSON-formatted string, which makes it possible for automated external tools to inspect the environment more easily.
| | | | | * | [PR #3669] add unit test for abstract TaskMats Wichmann2020-05-271-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make sure a subclass of Task really does fail when instantiated if it does not implement needs_execute(). Signed-off-by: Mats Wichmann <mats@linux.com>
| | | | | * | Set Tasks class as abstractMats Wichmann2020-05-2512-26/+34
| | |_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | needs_execut method set as an abstract method, meaning you can't instantiate Task itself, and derived classes must implement the methid. The former warning framework for this (deprecated) is disabled, and some unit tests that were not implementing needs_execute were fixed - by deriving from the AlwaysTask class. Signed-off-by: Mats Wichmann <mats@linux.com>
| * | | | | Merge pull request #3668 from mwichmann/class-no-objectWilliam Deegan2020-05-24105-328/+352
| |\ \ \ \ \ | | | | | | | | | | | | | | classes no longer explicitly inherit from object
| | * | | | | Fix bug in test for PR #3668Mats Wichmann2020-05-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Mats Wichmann <mats@linux.com>
| | * | | | | classes no longer explicitly inherit from objectMats Wichmann2020-05-24105-327/+351
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In Python3 this is the default. Signed-off-by: Mats Wichmann <mats@linux.com>
| * | | | | Merge pull request #3666 from mwichmann/fix-3665William Deegan2020-05-223-2/+17
| |\ \ \ \ \ | | |_|_|/ / | |/| | | | If ParseFlags called with dict argument, leave unchanged
| | * | | | If ParseFlags called with dict argument, leave unchangedMats Wichmann2020-05-223-2/+17
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, if the dict values were mutable elements, i.e. lists, and the key was not for a *PATH variable, the value would be reversed before being processed into the env. Instead use a slice to iterate over. Fixes issue #3665 Signed-off-by: Mats Wichmann <mats@linux.com>
| * | | | Merge pull request #3663 from dmoody256/fix-coverage-reportsWilliam Deegan2020-05-2111-184/+115
| |\ \ \ \ | | |_|/ / | |/| | | Fix coverage reports
| | * | | clean up CI filesDaniel Moody2020-05-2011-79/+102
| | | | |
| | * | | msvc 10 still hangsDaniel Moody2020-05-201-2/+11
| | | | |
| | * | | test coverageDaniel Moody2020-05-192-125/+24
| |/ / /
| * | | Merge pull request #3660 from bdbaddog/update_travis_install_05_2020William Deegan2020-05-183-19/+33
| |\ \ \ | | | | | | | | | | Update travis install 05/2020
| | * | | change test to change expected line # depending on python versionWilliam Deegan2020-05-181-1/+8
| | | | |