summaryrefslogtreecommitdiff
path: root/bin
Commit message (Collapse)AuthorAgeFilesLines
* Updates for 4.5.2. Added zipapp package to scons-localsWilliam Deegan2023-03-211-1/+2
|
* Minor tex test fixMats Wichmann2023-02-181-1/+4
| | | | | | | | | | | | Syntax of selecting a glossary updated - apparently the late 2022.* texlive releases have started warning and prompting for action on this which appears to be what breaks the test. Not directly related to this test, but to trying to get a reasonable set of tests to run, added some pkgs to bin/scons_dev_master.py - this has absolutely no effect on SCons itself. Signed-off-by: Mats Wichmann <mats@linux.com>
* Added throw_exception parameter to ValidateOptions() which allows you to ↵William Deegan2022-08-151-0/+5
| | | | select either have ValidateOptions() issue error message and exit,or throw an exception and then you can handle it your own way. per dmoody's sugguestion
* Use super call instead of direct class callMats Wichmann2022-03-151-1/+1
| | | | | | | | | - super used where direct call to superclass existed - convert a few older-style super() (two-argument) uses - in a few places, where there was an intersection with a super change, variables that override a builtin (e.g. "dict") were renamed. Signed-off-by: Mats Wichmann <mats@linux.com>
* 4.3.0 updates4.3.0William Deegan2021-11-171-3/+3
|
* misc updates to man/users guide copyright formatting. Minor updates to ↵William Deegan2021-07-181-26/+20
| | | | update-release-info to use 'Released: <date here>' instead of range of years.
* Resolve sider issueWilliam Deegan2021-07-091-2/+2
|
* Updates to docs to indicate experimental statusWilliam Deegan2021-07-071-0/+9
|
* Test harness add a from_fw to skip callsMats Wichmann2021-04-132-31/+48
| | | | | | | | | | | | | | | | | | Main functional change is a new kwarg to skip_test() to allow calls from inside the framework to skip an additional line of traceback in the skip output - i.e. don't just skip the entry for skip_test, but also the function in the fw that called it. Other functional change is for the try block in skip_if_not_msvc() (which is one of the internal callers of skip_test() mentioned for the other change) to catch Exception, thus avoiding system-existing exceptions that were caught by the existing bare except, which caused the skip to not actually skip. The remainder of the patch is docstring reformatting, some minor code reformats, top-of-file license blocks, etc. Signed-off-by: Mats Wichmann <mats@linux.com>
* Update docs on documentation [ci skip]Mats Wichmann2020-08-171-9/+27
| | | | Signed-off-by: Mats Wichmann <mats@linux.com>
* Fix bin/docs-update-generated.py always returning error exit code even when ↵William Deegan2020-07-051-0/+1
| | | | no error
* updates for new version stringsWilliam Deegan2020-07-041-28/+18
|
* reset to development modeWilliam Deegan2020-07-041-21/+2
|
* final 4.0.0 commitWilliam Deegan2020-07-041-1/+1
|
* 4.0.0 releaseWilliam Deegan2020-07-041-13/+14
|
* update logic.. not quite done yet.William Deegan2020-07-041-84/+63
|
* Fix syntax error [skip appveyor]Mats Wichmann2020-07-041-1/+1
| | | | Signed-off-by: Mats Wichmann <mats@linux.com>
* Update doc gen to fail more definitively [skip appveyor]Mats Wichmann2020-07-045-38/+53
| | | | | | | | | Now the scons "product" build (including generating and building docs) is done in CI, it's useful to fail more distinctly on xml problems. Modify scripts to do that, and do a bit of reformatting along the way. Signed-off-by: Mats Wichmann <mats@linux.com>
* Replaced 'bare excepts', now catching Exception.Dirk Baechle2020-06-211-6/+0
|
* Fixed Sets/Uses links in generated doc files.Dirk Baechle2020-06-206-24/+18
|
* First set of changes, started to rip out libxslt2.Dirk Baechle2020-06-196-434/+171
|
* Documentation updates in perparation for 4.0 [ci skip]Mats Wichmann2020-06-101-3/+1
| | | | | | | | | | | | | * Switch API docs to readthedocs theme * Add links in manpage SEE ALSO to external websites. These are not just live, but also listed out (Linux manpages won't have the hyperlinks) * Links use docbook5 xlink:href instead of deprecated (claimed to be removed, but apparently not) ulink syntax * Comment out manpage Examples section, and leave a pointer to scons-cookbook.readthedocs.io instead * Regenerate everything, mainly to pick up compilation_db stuff. Signed-off-by: Mats Wichmann <mats@linux.com>
* Merge pull request #3641 from mwichmann/wip-sphinx-apidocsWilliam Deegan2020-06-091-10/+10
|\ | | | | Initial logic for Sphinx build of API docs - replacing epydoc
| * Update sphinx build, add autoclasstoc [ci skip]Mats Wichmann2020-05-301-10/+10
| | | | | | | | | | | | autoclasstoc enabled, but not particularly used yet. Signed-off-by: Mats Wichmann <mats@linux.com>
* | Merge pull request #3662 from bdbaddog/add_compilation_dbWilliam Deegan2020-06-081-0/+1
|\ \ | |/ |/| Add compilation db for use by clang tools and cquery (fix issue #3355)
| * Updates to doc. Still WIPWilliam Deegan2020-05-191-0/+1
| |
* | classes no longer explicitly inherit from objectMats Wichmann2020-05-2410-19/+19
|/ | | | | | In Python3 this is the default. Signed-off-by: Mats Wichmann <mats@linux.com>
* Some more fixups for project directory movesMats Wichmann2020-05-121-1/+5
| | | | Signed-off-by: Mats Wichmann <mats@linux.com>
* doc generation: fix another src->SCons transitionMats Wichmann2020-05-112-18/+20
| | | | | | | Another regen of generated files, as there were a couple of changes that affected those. Signed-off-by: Mats Wichmann <mats@linux.com>
* docs src-move: remove debug prints [ci skip]Mats Wichmann2020-05-101-2/+0
| | | | | | | | | accidentally left print statements in bin/scons-proc.py rebased to current master, which caused a couple of generated file changes. Signed-off-by: Mats Wichmann <mats@linux.com>
* [WIP] adjust docbuild for moved src [ci skip]Mats Wichmann2020-05-104-5/+7
| | | | | | | src/engine/SCons moved to SCons, affects wired in paths in documentation, and doc building scripts Signed-off-by: Mats Wichmann <mats@linux.com>
* [ci skip] Speedup xml validation called by bin/docs-update-generated.py by ↵William Deegan2020-04-221-3/+7
| | | | caching parsed docbook schema. Yields approx 60x speedup
* SConsExamples: drop bootstrap reference [ci skip]Mats Wichmann2020-04-191-9/+3
| | | | | | | | | | bootstrap directory not used any longer, dropped. One generated example (troubleshoot_stacktrace) was directly affected. A different generated troubleshooting example was instroduced by an earlier change but never committed, including here for completeness. Signed-off-by: Mats Wichmann <mats@linux.com>
* Fix one more instance of moved scons.py [ci skip]Mats Wichmann2020-04-181-4/+3
| | | | | | SConsExamples still using src/script Signed-off-by: Mats Wichmann <mats@linux.com>
* [PR #3612] doc update: cvars are <envar> [ci skip]Mats Wichmann2020-04-161-2/+10
| | | | | | | | | | Consider construction variable as environment variables, using that markup in scons.xml and generating it into the variables.gen file (which is included in man and userguide). If possible, use the entity from variables.mod, which already has the envar markup generated. Signed-off-by: Mats Wichmann <mats@linux.com>
* Merge pull request #3613 from mwichmann/func-html-fmtWilliam Deegan2020-04-161-16/+35
|\ | | | | Update generation of scons-xml entities
| * Update generation of scons-xml entities [ci skip]Mats Wichmann2020-04-161-16/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PR #3602 introduced a new problem - the documents that include the generated functions and builders files now don't validate. The global function/environment method name was bolded by using <emphasis>, but Docbook doesn't allow that inside a <literal> element (it actually works fine with the processing tools we use, but does fail validation). Rework the idea: use <function> and <methodname> for the markup, and change the way those are rendered in html (man/html.xsl and user/html.xsl) - the PDF already rendered these in bold so no change needed there. Also don't wrap the whole contents of the <term> element in <literal>, which would have left the argument list in regular font which the function name and instance name in monospace - an odd look. So the argument list was wrapped in <parameter>, since that's what they are. Don't bother to try to parse it down into individual args, just do the whole chunk, less the parentheses. Signed-off-by: Mats Wichmann <mats@linux.com>
* | Merge pull request #3603 from bdbaddog/revamp_scons_buildWilliam Deegan2020-04-163-54/+1534
|\ \ | |/ |/| Revamp scons build - Modernize packaging and purge obsolete build logic
| * resolve some sider issuesWilliam Deegan2020-04-111-9/+31
| |
| * Address github review notes and sider issuesWilliam Deegan2020-04-112-86/+97
| |
| * remove unused imports.William Deegan2020-04-091-5/+2
| |
| * drop runntest.py's run from packages. define SCONS_TOOLS_DIR and use that ↵William Deegan2020-04-091-0/+1480
| | | | | | | | for scons-time tests
| * Fix scons-time tests. Remove subversion testWilliam Deegan2020-04-091-1480/+0
| |
| * move scons-time.py from scripts to bin. As far as I can tell this is really ↵William Deegan2020-04-091-0/+1480
| | | | | | | | for internal use only
| * Remove python27 codeWilliam Deegan2020-04-091-49/+19
| |
* | Second try at fixing sets/uses Tool doc generation. [ci skip]Mats Wichmann2020-04-102-17/+21
|/ | | | | | | | Fixes #3580 a different way: generate the link itself into the tools.gen file, instead of post-processing the broken entity reference back into a usable form. Signed-off-by: Mats Wichmann <mats@linux.com>
* [PR #3602] fix typo complained about by Sider [ci skip]Mats Wichmann2020-04-091-1/+1
| | | | | | enviroment -> environment (inside a docstring) Signed-off-by: Mats Wichmann <mats@linux.com>
* Add highlighting to funcs/builders [ci skip]Mats Wichmann2020-04-082-33/+78
| | | | | | | | | | | | | | | | | | | | | | | | | | When generating documentation from SConsXML markup, add some markup to match the Python doc style better. In pseudo-markup, we will now get: <bold>foo</bold>(args) <italic>env</italic>.<bold>foo</bold>(args) That is, the function name is highlighted, and for the environment method, env looks like a variable (which it is), rather than the literal name env. The methods to create an element now take keyword args, so they can pass them on to the etree.Element method, which understands an attribute keyword we need for one of these changes. Added a method to create a SubElement, which makes usage clearer. To complement the *Text methods, *Tail methods were added to set/get the .tail attribute of a node. This change is to the tools only, and affects the result of doing "python bin/docs-update-generated.py". Signed-off-by: Mats Wichmann <mats@linux.com>
* Fix generated tools doc intermediate file. [ci skip]Mats Wichmann2020-03-312-7/+21
| | | | | | | | | | | | | | | | | | The process to generate tools.gen writes entities for links to construction variables used/set by each tool. When this data is written out using lxml's tostring() method, this is encoded, causing &foo; to become &amp;foo; which then doesn't work in later processing as these files are included, as they're no longer valid entity references for substitution. This seems really hard to fix directly, because tostring() is working as documented by doing this, so for now - maybe forever in light of thoughts of converting docs to a different format - just postprocess the file to undo the damage. A hack, but fixes #3580 Signed-off-by: Mats Wichmann <mats@linux.com>
* Remove obsolete scripts. Remove py27 supportWilliam Deegan2020-03-2120-327/+0
|