| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
Refer to
https://en.wikipedia.org/wiki/Proper_noun#Modern_English_capitalization_of_proper_nouns.
> In modern English orthography, it is the norm for recognized proper
> names to be capitalized.
|
| |
| |
| |
| | |
This seems to be a compound adjective which usually gets a hyphen.
|
| |
| |
| |
| |
| |
| |
| | |
One of the implemented rules is:
> A compound adjective usually gets a hyphen when it comes before a
> noun.
|
| | |
|
| | |
|
|/ |
|
|
|
|
|
|
|
|
|
|
|
|
| |
The Dictionary method now has an as_dict flag. If true, Dictionary
always returns a dict. The default remains to return different
types depending on whether zero (a dict of construction vars),
one (that construction var's value), or multiple (a list of construction
var values) arguments are given
Fixes #4631
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|\ |
|
| |\
| | |
| | |
| | | |
Manually resolve conflicts in CHANGES.txt.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
| |\ \
| | | |
| | | |
| | | | |
Manually resolve conflicts: CHANGES.txt and RELEASE.txt
|
| |\ \ \ |
|
| | | | |
| | | | |
| | | | |
| | | | | |
endswith test.
|
| | | | |
| | | | |
| | | | |
| | | | | |
inadvertently querying the value of env['variant'].
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | | |
in all test files.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
multi-project and solution builds.
Tool/msvs.py:
* Add "projectguid" argument to MSVSProject to enable user-defined GUID assignment per-project for multiple project solutions.
* Project GUID priority: (1) MSVSProject "projectguid" argument, (2) SCons env MSVS_PROJECT_GUID value, (3) internally generated GUID. SCons env MSVS_PROJECT_GUID value should not be used for multiple project solutions without using projectguid arguments (otherwise, multiple projects will use the same GUID).
* Store the project GUID as a node Tag when generating the MSVSProject and retrieve the project GUIDs using GetTag when generating the solution.
* Move project node processing to a function so it can be called from multiple code locations.
* Filter out solution nodes from project list (bugfix: auto_build_solution enabled and returned value used as project list includes auto-generated solution as a Project in the solution file).
* Check for variant directory build of MSVSSolution and adjust src node accordingly similar to MSVSProject code. Bug fix: the solution file is generated in the build directory instead of the source directory. The placeholder solution file is now generated in the build directory and the solution file is generated in the source folder similar to the handling of project files.
* Add project dsp nodes to the dsw source node list. This appears to always cause the project files to be generated before the solution files which is necessary to retrieve the project GUIDs for use in the solution file. This does change the behavior of clean for a project generated with auto_build_solution disabled and explicit solution generation: when the solution file is cleaned, the project files are also cleaned. The tests for vs 6.0-7.1 were changed accordingly.
testing/framework/TestSConsMSVS.py:
* Add known project GUID for single project tests and two known project GUIDs for dual project tests.
* Add projectguid to MSVSProject arguments for single project test SConstruct/SConscript files.
* Add PROJECT_BASENAME replaceable field to expected generated project file templates.
* Add dual project and single solution templates.
Tests:
* Use known project guid for most tests which prevents have to hard-code generated GUIDs.
* Add 4 (2x2) tests using two projects for combinations of auto_build_solutions settings (2) and variant directories (2).
* Add 2 tests using two projects which use default GUID generation with and without variant directories.
|
| |\ \ \ \ |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
testing/framework/TestSConsMSVS.py:
* Add default project GUID
* Pass MSVS_PROJECT_GUID via environment
* Add AdditionalOptions Condition to expected vcx project file
* Fix vs version number for vc version 14.3
* Fix expected platform toolset version
SCons/Tool/msvs.py:
* User environment MSVS_PROJECT_GUID when creating project files info
* Fix writing Visual Studio 15 for VS2015
* Add .vcxprof as an expected suffix for assigning the name to the file base name
Fix early exit after vc version 8.0 (exit at the end of first loop execution) in:
* test/MSVS/vs-files.py
* test/MSVS/vs-scc-files.py
* test/MSVS/vs-scc-legacy-files.py
* test/MSVS/vs-variant_dir.py
Tests:
* Modify tests using TestSConsMSVS to add MSVS_PROJECT_GUID to the environment in the generated SConstruct/SConscript files.
* Fix: delete env['PYTHON_ROOT'] before next loop iteration in test/MSVS/vs-files.py.
|
| |_|_|_|/
|/| | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Changes:
- Preserve non-integer literals that contain valid integer specifications.
- Add binary integer specifications
- Add octal integer specification
- Zero (0) is considered an octal number
- Add negative lookbehind/lookahead for number specifications (text is not word/token based)
- Add method to evaluate constant expression for define constant expressions
- Replace int conversion with constant evaluation expression
- int conversion failed for hex numbers due to default base 10 [int(s)] vs unknown base [int(s, 0)]
- Add additional tests
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Since there are now two files to make when a cachedir is created,
use the temporary-dir -> rename technique.
CacheDir tests no longer pre-create the cache directory, they should
be verifying it's created properly upon request (one unit test still
makes sure passing an existing empty directory works, too).
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|\ \ \ \ \ |
|
| |\ \ \ \ \
| | |_|_|_|/
| |/| | | | |
Improve Repository docs
|
| | | |_|/
| | |/| |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Give a few more details. Add example for another usecase to the
User Guide.
At the same time - convert more "construction environment" and
"construction variable" to entities in files already being edited.
Normalize on NEXT_RELEASE (since 4.8.1, some changed had used
NEXT_RELEASE and some on NEXT_VERSION).
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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.
|
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | | |
The branch adds support for tracking Beamer theme files. This defines
the test to show the scanning failed without modification, but succeeds
with the modification.
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Although validation tests are not normally run as root, there may be
cicrumstances when it happens - one known case is when the test suite
is run as part of a particular Linux distros package construction.
It isn't too hard to avoid the few places where we counted on something
failing because of permissions, which don't if the user is root -
added a few skips.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Convert two huge blocks of test parameters to
iterate-over-list from former while-then-del strategy.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| | | |
|
|\ \ \
| | |/
| |/| |
|
| |\ \
| | |/
| |/| |
Fix short-option processing
|
| | |\ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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>
|
| | | |
| | | |
| | | |
| | | | |
immediately.
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Changes:
* Remove leading and trailing double quotes from SCONS_MSDEBUG_VALUE and issue a warning.
* Catch logging module OSError and FileNotFoundError and wrap in SCons UserError.
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Changes:
* Issue warning and remove leading and trailing double quotes from SCONS_MSCOMMON_DEBUG file name when present.
* Issue warning when SCONS_MSCOMMON_DEBUG file name is likely invalid.
Known issues:
* A false positive warning may be issued when a colon is detected in the file name. An output file and hidden alternate data stream file may be created.
|
| |/
|/|
| |
| |
| |
| | |
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.
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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>
|
| | | |
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| |
| |
| |
| |
| |
| |
| | |
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>
|
|/
|
|
| |
Signed-off-by: Mats Wichmann <mats@linux.com>
|