summaryrefslogtreecommitdiffstats
path: root/RELEASE.txt
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Add optional keyword argument auto_filter_projects to MSVSSolution.Joseph Brill2024-10-281-2/+13
| | | | | | | | | | | | | | | | | | | | | Changes: * Detect solution file names and nodes in projects argument list. Behavior based on the auto_filter_projects value. By default, raise an exception. * Update TestSConsMSVS and multiple project auto_build_solution tests. * Update documentation, CHANGES.txt, and RELEASE.txt.
* | | Merge branch 'master' into jbrill-msvs-testsJoseph Brill2024-10-261-0/+1
|\ \ \ | | |/ | |/| | | | Manually resolve conflicts: CHANGES.txt and RELEASE.txt
| * | Add support for tracking beamer themesKeith F. Prussing2024-10-211-0/+1
| |/ | | | | | | | | | | | | This adds a regular expression to check for beamer theme files for LaTeX that may be part of the user's build tree. Similar to package files found via `\usepackage`, this will not report a missing file because the user may just be relying on the system version.
* | Update CHANGES.txt and RELEASE.txt [ci skip]Joseph Brill2024-10-261-1/+21
|/
* Merge pull request #4611 from jcbrill/jbrill-mscommon-debugWilliam Deegan2024-10-121-1/+2
|\ | | | | Resolve 4605: enhance SCONS_MSCOMMON_DEBUG handling of invalid input
| * Added changes/release blurbWilliam Deegan2024-10-121-1/+2
| |
* | Fix nasm test [skip appveyor]Mats Wichmann2024-10-061-0/+2
|/ | | | | | | Fix reported problem of missing header (no declaration for exit()). Clean up to current styles. Signed-off-by: Mats Wichmann <mats@linux.com>
* Merge pull request #4598 from mwichmann/AddOption-shortoptsWilliam Deegan2024-10-011-0/+5
|\ | | | | Fix short-option processing
| * Merge branch 'master' into AddOption-shortoptsWilliam Deegan2024-09-221-1/+13
| |\
| * | Fix short-option processingMats Wichmann2024-09-161-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Override the _process_short_opts method from optparse so it behaves better. This fix is lifted directly from #3799, leaving an additional part to apply later. Fixes #3798 Signed-off-by: Mats Wichmann <mats@linux.com>
* | | Handle permission errors while generating paths on DarwinAlex James2024-09-231-0/+4
| |/ |/| | | | | | | | | On Darwin, Nix may invoke SCons in a sandbox which lacks access to /etc/paths.d. Handle PermissionError while iterating through /etc/paths.d to support sandboxed environments such as Nix.
* | Merge branch 'master' into doc/gettextWilliam Deegan2024-09-221-1/+2
|\ \
| * | fix mistake in RELEASE.txt contentWilliam Deegan2024-09-221-2/+2
| | |
| * | Tweak User Guide environment descriptionsMats Wichmann2024-09-211-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reword/clarify the section on `AllowSubstExceptions` and the sidebar on Python dictionaries. Add an additonal piece to `env.Replace`. Also, some entity replacements, and more explicit `id` tags added to `section` elements. One unittest change to make sure passing a dict to `env.Replace` works. Signed-off-by: Mats Wichmann <mats@linux.com>
* | | Clean up manpage entries for gettext and pdf builders [skip appveyor]Mats Wichmann2024-09-201-0/+2
|/ / | | | | | | | | | | | | | | | | Minor wording cleanup, formatting for examples, etc. in the gettext-family (inc. msginit, msgformat, msgmerge) and the pdf and dvips builders. No code changes, no test changes. Signed-off-by: Mats Wichmann <mats@linux.com>
* | Add clang, clang++ to default tool searchMats Wichmann2024-09-191-0/+7
| | | | | | | | | | | | | | SCons will now automatically find clang (clang++) on Linux and Windows, in each case looked for just after gcc (g++). Signed-off-by: Mats Wichmann <mats@linux.com>
* | Fix initialization of compilation_db emittersMats Wichmann2024-09-161-0/+2
|/ | | | Signed-off-by: Mats Wichmann <mats@linux.com>
* Merge branch 'master' into AddOption-option-objWilliam Deegan2024-09-161-0/+7
|\
| * Merge branch 'master' into issue/TEMPFILE-fiddleWilliam Deegan2024-09-161-0/+5
| |\
| | * Merge branch 'master' into env/override-delWilliam Deegan2024-09-111-1/+4
| | |\
| | * | Don't let deletions leak from OverrideEnvironmentMats Wichmann2024-09-041-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, deleting from an OverrideEnvironment removed not just the override item but also the same item in the subject (base) environment. This prevents supplying the value from the subject, as that would be contrary to the expectation after "I deleted this variable". However, this lets the override modify its subject, a form of leakage we don't want. Now a deleted item has its key recorded to prevent refilling later. Direct assignment will still set the item back in the override. rpm packaging tool: call Override factory method rather than directly instantiating OverrideEnvironment ("best practices") Signed-off-by: Mats Wichmann <mats@linux.com>
| * | | Update docs and usage of TEMPFILE/TempFileMungeMats Wichmann2024-09-141-0/+2
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | tempfiles are now cleaned up via registering a cleanups with atexit(), instead of trying to squeeze removing the file into the command line. On Windows that caused the file to get deleted too early (did not work well with interactive mode), and on Linux it didn't remove the file at all. The Platform test expected to be able to read the tempfilename as the last argument of the "command", but this is no longer provided as the "rm filename" is no longer added, so now it has to chop off the prefix from the command-file argument to get the filename. Unrelatedly, two syntax warnings that turn up in the test output where some TeX syntax was listed in a docstring in a test are fixed by making that a raw string - got tired of seeing these. Fixes #4595 Signed-off-by: Mats Wichmann <mats@linux.com>
* | | Fix some AddOption issuesMats Wichmann2024-09-111-0/+5
|/ / | | | | | | | | | | | | | | | | | | | | | | | | The optparse add_option method supports an additional calling style that is not directly described in SCons docs, but is included by reference ("see the optparse documentation for details"): it takes a single arg consisting of a premade option object. Because the optparse code detects that case based on seeing zero kwargs, and we always add at least one (default=) that would fail for AddOption. Fix for consistency, but don't advertise it further: not addewd to manpage synoposis/description. Signed-off-by: Mats Wichmann <mats@linux.com>
* | PackageVariable now returns the default on "true"Mats Wichmann2024-09-041-1/+4
|/ | | | | | | | | | | | | | In all doc versions until 4.8.0, PackageVariable had wording like: "The option will support the values yes, true, on, enable or search, in which case the specified default will be used", but the code didn't actually do that, it just returned True. With this change it now returns the default value, with a slight tweak - if the default is one of the spelled out enabling strigs, it returns the boolean True instead. The indication that the default is produced if a truthy string is given is restored to the manpage (it was never dropped from the User Guide). Signed-off-by: Mats Wichmann <mats@linux.com>
* put master branch back in develop modeWilliam Deegan2024-09-041-47/+37
|
* Updates for 4.8.1 release4.8.1William Deegan2024-09-041-28/+7
|
* Merge pull request #4584 from siegria/fix_piped_spawn_encodingWilliam Deegan2024-09-031-0/+9
|\ | | | | [Platform win32] Fix crash when pipe encoding is set to None
| * Changed default encoding for pspawned processes on win32 to now be oem. ↵William Deegan2024-09-021-2/+3
| | | | | | | | Updated CHANGES/RELEASE
| * Add comments to CHANGES.txt and RELEASE.txtSIEGRIST Anthony2024-08-091-0/+8
| |
* | Merge branch 'master' into issue/unique-delete-existingWilliam Deegan2024-08-291-0/+2
|\ \
| * | Fix ListVariable with a space-containing valueMats Wichmann2024-08-161-0/+2
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix ListVariable handling of a quoted variable value containing spaces. As a side effect of splitting the former monolithic converter/validator for ListVariable into separate callbacks, it became possible for subst to be called twice. The ListVariable converter produces an instance of a _ListVariable container, and running subst on that result ends up losing information, so avoid doing so. While developing a test for this, it turned out the test framework also didn't handle a quoted argument containing a space, so that a test case passing arguments to scons via "run(arguments='...')" could end up with scons seeing a different (broken) command line than scons invoked with the same arguments typing to a shell prompt. A regex is now used to more accurately split the "arguments" parameter, and a unit test was added to the framework tests to validate. The framework fix had a side effect - it was possible that when run as part of the test suite, the Variables package could receive a value still wrapped in quotes, leading to string mismatches ('"with space"' is not equal to 'with space'), so ListVariable now strips wrapping quote marks. Also during testing it turned out that the earlier fix for #4241, allowing a Variable to declare the value should not be subst'd, introduced problems for two types which assumed they would always be passed a string. With subst=False, they could be passed a default value that had been specified as a bool. Fixed to not fail on that. Fixes #4585 Signed-off-by: Mats Wichmann <mats@linux.com>
* | Fix bug with unique adds and delete_existingMats Wichmann2024-08-191-0/+2
|/ | | | | | | | | | | | AppendUnique and PrependUnique, when called with delete_existing true, had a small logic flaw: it might remove an existing value if the value to be added is a scalar (string, most likely) and there was a substring match. The code needs to do an equality test, not a membership test. Unit tests updated and got some reformatting, plus dropped a duplicate definition of reserved_variables. Signed-off-by: Mats Wichmann <mats@linux.com>
* added release.txt blurb. Fixed spelling typo in Defaults.xmlWilliam Deegan2024-08-061-0/+3
|
* Wordsmithing on manpage env Methods section [skip appveyor]Mats Wichmann2024-07-251-3/+1
| | | | Signed-off-by: Mats Wichmann <mats@linux.com>
* Restore usage of "from SCons.Variables import *`Mats Wichmann2024-07-171-1/+7
| | | | | | | | | | | This (unadvertised) import turns out to have real-world usage, and there's no real reason to prohibit it, although we do suggest using `from SCons.Script import *` as a more complete version. SCons 4.8.0 introduced an `__all__` in the variables module; add the five variables types to this so the listed import will work as expected. Signed-off-by: Mats Wichmann <mats@linux.com>
* Enhancement: Dump() takes multiple args nowMats Wichmann2024-07-121-4/+11
| | | | | | | | | | | | | | | env.Dump previously either printed the whole dict of construction variables (with no args), or a single value (with one variable name argument). Now it takes a varargs specifier so you can give any number of consvar names. All returned strings are now in dict form, including the single-arg case which previously just returned the value matching the key, not a dict with a key:value pair. This is a slight ABI change, but should not affect any actual scripts since the output is intended for human consumption, not for programmatic use - env.Dictionary() can be used to fetch construction vars for programmatic use (in fact, Dump is a consumer of Dictionary's output). Signed-off-by: Mats Wichmann <mats@linux.com>
* Implement somewhat pythonic type hints in sctypesThaddeus Crews2024-07-091-1/+5
|
* Return master to development mode post releaseWilliam Deegan2024-07-081-148/+24
|
* Updates for SCons 4.8.0 releaseWilliam Deegan2024-07-071-10/+7
|
* Merge pull request #4567 from Repiteo/scsub-pdbWilliam Deegan2024-07-061-0/+2
|\ | | | | Add `SCsub` to known SConscript names
| * Add `SCsub` to known SConscript namesThaddeus Crews2024-07-051-0/+2
| |
* | Update manpage intro [skip appveyor]Mats Wichmann2024-07-041-0/+1
|/ | | | | | Just assorted wording tweaks, only to DESCRIPTION section. Signed-off-by: Mats Wichmann <mats@linux.com>
* Merge branch 'master' into jbrill-msvc-detectJoseph Brill2024-06-291-0/+19
|\ | | | | | | | | # Manually resolved conflicts: # RELEASE.txt
| * Merge pull request #4556 from mwichmann/perf/env-setitemWilliam Deegan2024-06-281-0/+3
| |\ | | | | | | Update to current fastest env setitem
| | * Merge branch 'master' into perf/env-setitemWilliam Deegan2024-06-241-0/+12
| | |\
| | * | Update to current fastest env setitemMats Wichmann2024-06-151-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updated and re-ran benchmark tests for SubstitutionEnvironment.__setitem__. Added test for new (Python 3.0) string.isidentifier() method. That's actually exactly what we want, and it times out as the fastest method when combined with a membership test if the variable is already defined. Tweaked some comments about this performance consideration, and did other updates in bench/. Signed-off-by: Mats Wichmann <mats@linux.com>
| * | | Merge branch 'master' into ruffWilliam Deegan2024-06-281-1/+32
| |\ \ \
| | * | | Standardize license header on in-use doc files [skip appveyor]Mats Wichmann2024-06-251-0/+1
| | | |/ | | |/| | | | | | | | | | | | | | | | | There are no code changes. Signed-off-by: Mats Wichmann <mats@linux.com>
| | * | [ci skip] Add note that this change may break SetOption() + ninja usage with fixWilliam Deegan2024-06-231-0/+4
| | | |
| | * | Merge branch 'master' into modifiable-add-optionWilliam Deegan2024-06-231-0/+5
| | |\ \