summaryrefslogtreecommitdiffstats
path: root/src/engine/SCons/Environment.py
Commit message (Collapse)AuthorAgeFilesLines
* Futurize stage 2 2to3 fixes only.William Blevins2016-09-201-17/+17
|
* Post merge commit for safety. Building Fortran code works, but tests fail.Russel Winder2015-12-241-33/+11
|\
| * removed several pre-2.7 methods and imports, including some basic refactoringsDirk Baechle2015-12-101-19/+0
| |
| * fix spelling mistakes found by debian lintian tool list here: ↵William Deegan2015-09-281-1/+1
| | | | | | | | https://lintian.debian.org/full/debian@jff-webhosting.net.html#scons_2.3.6-1
| * Merged in dirkbaechle/scons : switch of core classes to slots, memoizer ↵Dirk Baechle2015-08-061-8/+2
| |\ | | | | | | | | | subsystem now uses decorators
| | * - switching Node class and NodeInfo/Binfo to using slotsDirk Baechle2015-02-261-8/+2
| | | | | | | | | | | | - memoizer subsystem now uses decorators instead of the metaclass approach
| * | Issue 3004: Updated Environment.Dump pydoc.William Blevins2015-06-291-2/+2
| | |
| * | Add an exclude parameter to Glob(), to allow excluding some elements ↵Alexandre Feblot2015-04-251-2/+2
| |/ | | | | | | matching the main pattern
| * Support -isystem in ParseFlagsJames McCoy2014-09-151-1/+4
| | | | | | | | | | | | The -isystem flag specifies an include directory that is afforded the same special treatment (e.g., suppression of warnings) as the typical system include directories.
* | Merged default branch into python3-port to keep it up to date.Gary Oberbrunner2014-08-231-11/+35
|\ \ | |/ | | | | | | Hand-updated a few things to keep them python3-safe, and handled several merge conflicts.
| * Merged in ajf58/scons (pull request #160), fixes #2900 (handling of ↵Dirk Baechle2014-08-061-4/+30
| |\ | | | | | | | | | appending dictionaries to CPPDEFINES)
| | * Remove commented out code.Andrew Featherstone2014-07-291-1/+0
| | |
| | * Corrects handling of appending dictionaries to CPPDEFINES. Amended a test ↵Andrew Featherstone2014-07-291-4/+31
| | | | | | | | | | | | case to demonstrate the issue.
| * | Prevent non defined named non defined exceptionManuel Francisco Naranjo2014-07-211-4/+2
| |/ | | | | | | | | In a project I'm running I hitted a case where BUILDERS is not part of _dict which leads to variable builders not defined, making the core of SCons crash
| * Fix development mailing list with a new address @scons.organatoly techtonik2014-05-281-1/+1
| |
| * Respect preset CC/CXX values detecting cc/c++/gcc/g++ Tools.Michael Haubenwallner2014-05-151-2/+2
| | | | | | | | | | | | As the user-preset values for CC/CXX should rule always, also respect them in exists() and generate() methods of these Tools. As a result, the value for CCVERSION/CXXVERSION does match the CC/CXX compiler used (issue#1723).
* | Merged with [default]Stefan Zimmermann2014-03-311-17/+26
|\ \ | |/
| * Merged scons/scons into defaultTom Tanner2013-10-301-4/+5
| |\
| | * - now counting instances only when requested via --debug=countDirk Baechle2013-10-251-4/+5
| | |
| * | Added Pseudo command to environment and tests. If a target is declared asTom Tanner2013-09-301-13/+21
| |/ | | | | | | Pseudo, it must NOT exist after the build rule is executed.
* | Environment.py: __cmp__ to __eq__. list(*.keys()) for item deletion loops.Stefan Zimmermann2013-12-271-4/+4
| |
* | Made former 2to3 changes Python 2.7 compatible (or removed unneeded changes).Stefan Zimmermann2014-03-311-17/+16
| |
* | Result of raw 2to3 run (2to3-2.7); checkpoint for python3 conversion.Gary Oberbrunner2013-09-221-29/+30
|/
* TARGET_OS|ARCH should never be defaulted to HOST_OS|ARCH. This makes it ↵William Deegan2013-04-091-2/+2
| | | | impossible to detect if the user specified a default. Tools should have this information available to do the appropriate thing for the specified target, and if not present use reasonable sequece of defaults to try
* Add documentation and update CHANGES.txt. Remove the Environment methods ↵Robert Managan2012-11-091-71/+0
| | | | VersionedSharedLibrary and VersionSharedLibraryInstall since they are no longer needed
* add support for darwinRobert Managan2012-10-171-1/+0
|
* Add library version support to Shared Lib builderRobert Managan2012-10-171-2/+1
|
* Add the versioned sh lib and install methods to EnvironmentRobert Managan2012-10-061-0/+74
|
* Merged in ptomulik/scons, pull request #25: gettext toolsetGary Oberbrunner2012-08-011-8/+5
|\
| * Fixed FindSourceFiles to find leaf nodes.ptomulik2012-06-061-1/+14
|/
* better fix for issue 2821 -- avoid direct copies of the BuilderDict as it is ↵edA-qa mort-ora-y2012-05-061-8/+11
| | | | ambiguous/corrupts the original environment
* Applied patch from #2732: support -std=c++0x in ParseFlagsGary Oberbrunner2011-03-031-1/+6
|
* Applied patch from #2433: support -dylib_file in ParseFlagsGary Oberbrunner2011-03-031-0/+3
|
* Added -fopenmp and -openmp to ParseFlags (add to LINKFLAGS and CCFLAGS)Gary Oberbrunner2011-01-121-4/+4
|
* Fix CPPDEFINES problems with dicts (both Append and MergeFlags). From ↵Gary Oberbrunner2010-08-151-12/+95
| | | | Jean-Baptiste Lab. Fixes issue #2671.
* Fix substitution in command-line actions created by the global Alias() function.Steven Knight2010-07-051-0/+8
|
* http://scons.tigris.org/issues/show_bug.cgi?id=2365Greg Noel2010-05-281-3/+3
| | | | | | Start the deprecation cycle for SourceCode() and its related factory functions. Deprecation messages are added to the functions. Regression tests are modified to deal with the messages being generated. Documentation is updated.
* Start the deprecation cycle for the BuildDir() method and the build_dirGreg Noel2010-05-261-0/+5
| | | | | | | | | | | | | | | | | | | | | | keyword parameter. Several existing tests were still using BuildDir() or build_dir; they were converted to use VariantDir() and variant_dir. New tests were added to validate that the --warn=deprecated-build-dir option and the SetOption method did the right thing. This led to the discovery that a commonly-used test pattern provided by the infrastructure gobbled up too much, causing tests to succeed when they should have failed. Fixing the pattern led to other tests needing to be fixed. In the process, it was discovered that the SCONSFLAG environment variable was not getting correctly reset to its original value. Fixing this also caused additional tests to misbehave, requiring them to be updated. And test/Sig.py, which tests the deprecated SCons.Sig module, was moved to the test/Deprecated directory. All in all, quite a lot of action for what was supposed to be a simple change.
* Convert SubstitutionEnvironment from an old-style class to a new-style class.Steven Knight2010-05-191-1/+1
|
* Convert Environment.MethodWrapper from an old-style class to a new-style class.Steven Knight2010-05-181-1/+1
|
* Convert Environment._Null from an old-style class to a new-style class.Steven Knight2010-05-171-1/+1
|
* http://scons.tigris.org/issues/show_bug.cgi?id=2345Greg Noel2010-04-241-36/+16
| | | | | | | Comb out all code that supported earlier versions of Python. Most such code is in snippets of only a few lines and can be identified by having a Python version string in it. Such snippets add up; this combing pass probably got rid of over 500 lines of code.
* http://scons.tigris.org/issues/show_bug.cgi?id=2317Greg Noel2010-04-231-5/+5
| | | | | | Apply the refactorings from the 'dict' fixer, less occurrences that were manually audited to be safe. Also pick up changes in bin/sfsum, a Python file that was not being scanned before.
* Rewrite uses of reduce(), which is being deprecated for Python 3.x.Steven Knight2010-04-201-1/+3
|
* http://scons.tigris.org/issues/show_bug.cgi?id=2345Greg Noel2010-04-151-10/+10
| | | | | | Apply the first part of the 'raise' fixer (the three-argument cases are not converted and will need to wait until native support of with_traceback() is available).
* Issue 2334: Use compatibility versions of collections.User{Dict,List,String}Steven Knight2010-04-071-1/+1
| | | | | instead of the deprecated User{Dict,List,String} modules. The two test scripts that use User{List,String} fall back on ImportError by hand.
* Issue 2332: Convert from using StringIO.StringIO class to using theSteven Knight2010-04-071-1/+1
| | | | | forward-compatible io.StringIO class, with the addition of an "io" compatibility module for Python versions before 2.6.
* http://scons.tigris.org/issues/show_bug.cgi?id=2329Greg Noel2010-03-271-1/+1
| | | | | | | | | | | | | | | Applied a number of idiomatic changes. Uses of the 'sort()' method were converted into calls of 'sorted()' when possible and the sorted() expression was inserted into a subsequent statement whenever that made sense. The statement 'while 1:' was changed to 'while True:'. Names from the 'types' module (e.g., 'types.FooType') were converted to the equivalent build-in type (e.g., 'foo'). Comparisons between types were changed to use 'isinstance()'.
* Move 2.0 changes collected in branches/pending back to trunk for furtherGreg Noel2010-03-251-81/+82
| | | | | development. Note that this set of changes is NOT backward-compatible; the trunk no longer works with Python 1.5.2, 2.0, or 2.1.
* Generate an error message if a BUILDERS entry is set to something that isn'tSteven Knight2010-02-171-0/+3
| | | | a Builder object, or known to generate a Builder object, or a callable.