summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 4.6.0 final changes4.6.0William Deegan2023-11-202-4/+4
|
* Updates to RELEASE.txt including notice about switching default parallel ↵William Deegan2023-11-204-19/+19
| | | | scheduler in next major release
* reorder 4.6.0 release notes to have contributors by last name orderWilliam Deegan2023-11-191-4/+4
|
* Regenerated docs for 4.6.0 release.William Deegan2023-11-1915-248/+514
|
* Merge pull request #4441 from mwichmann/doc/pch-usageWilliam Deegan2023-11-173-15/+54
|\ | | | | Update documentation of PCH builder
| * Update documentation of PCH builderMats Wichmann2023-11-073-15/+54
|/ | | | | | | Notes added on inclusion of PCH source file and object file. Note that PCH is not just MSVC-only, but also C++-only. Signed-off-by: Mats Wichmann <mats@linux.com>
* Merge pull request #4429 from mwichmann/feature/libliteralWilliam Deegan2023-10-3021-116/+387
|\ | | | | Add LIBLITERALPREFIX to support gcc -l:filename
| * defined LIBLITERALPREFIX for gnulinkWilliam Deegan2023-10-292-3/+6
| |
| * Annotated CHANGES/RELEASE with issue these changes fixWilliam Deegan2023-10-292-2/+2
| |
| * Migrate LIBLITERALPREFIX test to file with same nameWilliam Deegan2023-10-291-0/+0
| |
| * Merge branch 'master' into feature/libliteralMats Wichmann2023-10-284-2/+5
| |\
| * | Fix library literal prefix codeMats Wichmann2023-10-2816-79/+180
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Beef up _stripixes unittests * rename LIBLITERAL to LIBLITERALPREFIX * Initialize in Platform code, takes an error if not set when StringSubber.expand() is called with a string containing LIBLITERALPREFIX * Fix some bad typing markup. * Add docs Signed-off-by: Mats Wichmann <mats@linux.com>
| * | switch from embedding LIBLITERAL in _stripixes() to being a passed argument ↵William Deegan2023-10-285-12/+23
| | | | | | | | | | | | with a False default value, and add properly passing LIBLITERAL in link, dmd, ldc tools where _stripixes() is actually used in current SCons Code (#10)
| * | Add LIBLITERAL to support gcc -l:filenameMats Wichmann2023-10-286-49/+206
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is done in a general way. using a construction var, although at the moment only the GNU linker is known to handle things this way. Had to do something funky, or it won't work when os.pathsep and LIBLITRAL are the same, as they are on Linux (i.e. ':'). That's because SCons.PathList.PathList is called and it does: class _Pathlist: def __init__(self, pathlist) -> None: if SCons.Util.is_String(pathlist): pathlist = pathlist.split(os.pathsep) Splitting has the effect of turning ":libm.a" into ((0, ''), (0, 'libm.a')] That is, the ':' is lost as part of the library specifier - so need to try to avoid that. Fixes #3951 Signed-off-by: Mats Wichmann <mats@linux.com>
* | | Merge pull request #4439 from bdbaddog/debug-sconscriptWilliam Deegan2023-10-299-7/+87
|\ \ \ | | | | | | | | Add StenGruener's --debug=sconscript
| * | | [ci skip] Fix typo in CHANGES/RELEASEWilliam Deegan2023-10-292-2/+2
| | | |
| * | | Updates to make ready for mergingWilliam Deegan2023-10-296-22/+26
| | | |
| * | | Typo in CHANGES.txtStenGruener2023-10-281-1/+1
| | | |
| * | | adding info to the man page, changed debug keyStenGruener2023-10-285-4/+10
| | | |
| * | | adding unit test, --debug flag, comments in changes.txtStenGruener2023-10-286-3/+69
| | | |
| * | | Adding tracing of scons script callsStenGruener2023-10-271-0/+4
| | |/ | |/|
* | | Merge pull request #4432 from jcbrill/jbrill-msvc-clsearchWilliam Deegan2023-10-294-7/+43
|\ \ \ | |/ / |/| | MSVC: adjust the compiler search and warning message when configuring the environment.
| * | Updates to CHANGES.txt and RELEASE.txt.Joseph Brill2023-10-152-8/+19
| | |
| * | Merge branch 'master' into jbrill-msvc-clsearchJoseph Brill2023-10-1512-175/+239
| |\ \ | | | | | | | | | | | | | | | | Manually resolved conflicts: * CHANGES.txt
| * | | Rework msvc cl not found warning message order and construction.Joseph Brill2023-10-131-6/+5
| | | |
| * | | Adjust the final compiler executable search and warning message when setting ↵Joseph Brill2023-10-114-6/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | up the msvc environment. Changes: * The search for the msvc compiler executable (cl.exe) no longer inspects the OS system path in certain situations when setting up the msvc environment. * When the msvc compiler executable is not found during setup of the msvc environment, the warning message issued takes into account whether or not a possibly erroneous compiler executable was already present in the scons environment path.
* | | | Merge pull request #4436 from mwichmann/java21William Deegan2023-10-173-0/+4
|\ \ \ \ | |_|_|/ |/| | | Add support for Java 21
| * | | Add support for Java 21Mats Wichmann2023-10-173-0/+4
|/ / / | | | | | | | | | | | | | | | Released in Sept 2023 - LTS version. Signed-off-by: Mats Wichmann <mats@linux.com>
* | | Merge pull request #4435 from mwichmann/maint/httprefsWilliam Deegan2023-10-1731-110/+126
|\ \ \ | | | | | | | | Elminate http: references
| * | | Elminate http: referencesMats Wichmann2023-10-1731-110/+126
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | Most remaining http: references are either changed to https: or removed or changed in case they were also stale links, and a replacement was findable. Does not affect schema and stylesheet references, which can remain http: Signed-off-by: Mats Wichmann <mats@linux.com>
* | | Merge pull request #4433 from jcbrill/jbrill-mscommon-debugWilliam Deegan2023-10-161-13/+67
|\ \ \ | | | | | | | | MSCommon: add custom formatter for debug log records
| * | | Add a custom formatter to the MSCommon/common.py debug logging that accepts ↵Joseph Brill2023-10-131-13/+67
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | an optional class name. Changes: - Add support for optional extra dictionary for the python logging. - Allow passing 'classname' via the extra dictionary and creating the log records with '%(classname)s.%(funcName)s' for class methods. - Add a method to populate and return the extra dictionary. - Add a boolean constant indicating if debugging is enabled or not.
* | | Merge pull request #4434 from jcbrill/jbrill-msvc-normalizeWilliam Deegan2023-10-165-20/+181
|\ \ \ | |_|/ |/| | MSVC: update msvc path normalization utility functions
| * | Remove redundant os.path.normcase invocation in ↵Joseph Brill2023-10-151-1/+1
| | | | | | | | | | | | SCons/Tool/MSCommon/MSVC/UtilTests.py.
| * | Internal updates to MSCommon/MSVC/Util.py and MSCommon/MSVC/Config.py.Joseph Brill2023-10-152-6/+5
| | | | | | | | | | | | | | | | | | | | | Changes: * Adjust os path separators in MSCommon/MSVC/Util.py * Revise commend inside resolve_path method in in MSCommon/MSVC/Util.py * Move Util import inside verify method in MSCommon/MSVC/Config.py (prevent import dependency loops).
| * | Merge branch 'master' into jbrill-msvc-normalizeJoseph Brill2023-10-1512-175/+239
| |\ \ | |/ / |/| |
* | | Merge pull request #4423 from mwichmann/maint/new-subprocWilliam Deegan2023-10-142-124/+158
|\ \ \ | | | | | | | | Fix issues in new scons_subproc_run
| * | | Make sure scons_subproc_run test also passes on py3.6Mats Wichmann2023-10-041-1/+4
| | | | | | | | | | | | | | | | Signed-off-by: Mats Wichmann <mats@linux.com>
| * | | scons_subproc_run: update docstrings, add testsMats Wichmann2023-10-032-54/+101
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Documentation reworded (docstring/comment only, this is not a public API). Removed duplicated cleaning of execution env - previous iteration both called the Util function and then did the same work manually. Added some unit tests for the argument fiddling. Signed-off-by: Mats Wichmann <mats@linux.com>
| * | | Fix some problems in new scons_subproc_runMats Wichmann2023-09-271-74/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The logic to handle the legacy 'error' kwarg supported by the predecssor _subproc function had some problems. Reworked. A few minor lint tweaks also. Signed-off-by: Mats Wichmann <mats@linux.com>
* | | | Merge pull request #4428 from mwichmann/testing/fwfixWilliam Deegan2023-10-141-7/+6
|\ \ \ \ | | | | | | | | | | Fixup one test framework test
| * | | | Fixup one test framework test [skip appveyor]Mats Wichmann2023-10-061-7/+6
| | |_|/ | |/| | | | | | | | | | | | | | | | | | Looking at wrong exceptions for possible rmdir failures Signed-off-by: Mats Wichmann <mats@linux.com>
* | | | Merge pull request #4430 from mwichmann/test/asmWilliam Deegan2023-10-142-35/+40
|\ \ \ \ | | | | | | | | | | Update assembly code in one test
| * | | | Update assembly code in one testMats Wichmann2023-10-112-35/+40
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | Avoids warnings, which fail the test. Fixes #4238 Signed-off-by: Mats Wichmann <mats@linux.com>
* | | | Merge pull request #4431 from jcbrill/jbrill-msvc-toolimportsWilliam Deegan2023-10-148-9/+35
|\ \ \ \ | |/ / / |/| | | Microsoft tools: change relative imports to top-level absolute imports
| * | | Change the module imports from relative imports to top-level absolute ↵Joseph Brill2023-10-118-9/+35
|/ / / | | | | | | | | | | | | | | | imports for the Microsoft tools. Moving any of the Microsoft tools that used relative imports to the scons site tools folder would fail on import (i.e., the relative import paths become invalid when the tools are moved).
| | * Replace process_path with normalize_path in MSCommon/MSVC/Util.pyJoseph Brill2023-10-144-18/+180
| |/ |/| | | | | | | | | | | | | Changes: * Replace process_path function with resolve_path and normalize_path functions in MSCommon/MSVC/Util.py. * Replace process_path invocations with normalize_path invocations. * Protect against inadvertent resolve/realpath for windows drive specifications in resolve_path and normalize_path. * Additional options for normalize_path with defaults consistent with process_path.
* | Merge pull request #4425 from mwichmann/main/scons-msvclockWilliam Deegan2023-10-051-1/+3
|\ \ | |/ |/| Further mod on msvc config cache locking
| * Further mod on msvc config cache lockingMats Wichmann2023-10-041-1/+3
|/ | | | | | | | | | In the first iteration, we took a read lock in the read case. A fail was observed where the reader took a json decode error, and then tried to remove the cachefile in case it's really corrupt. That failed as the file was "busy" - on Windows removing is essentially writing the file - so take a write lock here too. Signed-off-by: Mats Wichmann <mats@linux.com>
* Merge pull request #4422 from mwichmann/doc/scons_subprocWilliam Deegan2023-09-221-7/+7
|\ | | | | scons_subproc doc: remove keyword roles