stevenknight [Mon, 22 Dec 2008 03:26:03 +0000 (03:26 +0000)]
Add a release note about the mandatory warnings (i.e. warnings
which cannot be disabled) in 1.3.0 for deprecated features.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@3849
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
stevenknight [Sun, 21 Dec 2008 16:01:54 +0000 (16:01 +0000)]
Merged revisions 3611-3763,3765-3794,3796-3811,3813-3839,3841-3847 via svnmerge from
http://scons.tigris.org/svn/scons/checkpoint
................
r3765 | stevenknight | 2008-11-04 07:57:03 -0800 (Tue, 04 Nov 2008) | 2 lines
Update release info for checkpoint.
................
r3796 | stevenknight | 2008-11-25 21:56:26 -0800 (Tue, 25 Nov 2008) | 2 lines
Updates for
20081125 checkpoint release.
................
r3797 | stevenknight | 2008-11-26 08:21:04 -0800 (Wed, 26 Nov 2008) | 2 lines
User's Guide updates for changes to error messages.
................
r3813 | stevenknight | 2008-12-07 19:13:17 -0800 (Sun, 07 Dec 2008) | 2 lines
Update lines for the
20081207 checkpoint release (candidate for 1.2.0).
................
r3814 | stevenknight | 2008-12-07 19:35:09 -0800 (Sun, 07 Dec 2008) | 2 lines
Update troubleshoot.xml for the changes to taskmastertrace output.
................
r3847 | stevenknight | 2008-12-21 07:57:50 -0800 (Sun, 21 Dec 2008) | 9 lines
Merged revisions 3610-3840,3842-3846 via svnmerge from
http://scons.tigris.org/svn/scons/release
........
r3842 | stevenknight | 2008-12-20 22:48:14 -0800 (Sat, 20 Dec 2008) | 2 lines
Update files for 1.2.0.
........
................
git-svn-id: http://scons.tigris.org/svn/scons/trunk@3848
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
stevenknight [Sun, 21 Dec 2008 15:35:09 +0000 (15:35 +0000)]
Updates for release 1.2.0.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@3846
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
stevenknight [Sat, 20 Dec 2008 16:23:36 +0000 (16:23 +0000)]
Add warnings for use of the (already) deprecated Options object
and its related functions.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@3839
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
stevenknight [Sat, 20 Dec 2008 16:15:01 +0000 (16:15 +0000)]
Fix left-over deprecated use of the Options object.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@3838
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
stevenknight [Sat, 20 Dec 2008 14:19:09 +0000 (14:19 +0000)]
Issue 2247: Don't fail if we can't import a _subprocess module on Windows.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@3837
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
stevenknight [Sat, 20 Dec 2008 14:01:33 +0000 (14:01 +0000)]
Issue 2276: Fix use of codecs module in pre-2.3 Python versions.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@3836
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
stevenknight [Fri, 12 Dec 2008 14:32:49 +0000 (14:32 +0000)]
Revert r3828 (vs9 support) in favor of the vs_revamp integration.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@3830
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
stevenknight [Fri, 12 Dec 2008 06:16:31 +0000 (06:16 +0000)]
Issue 2255: Handle scanning of UTF-8 and UTF-16 files. (Greg Spencer)
git-svn-id: http://scons.tigris.org/svn/scons/trunk@3829
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
stevenknight [Thu, 11 Dec 2008 13:42:43 +0000 (13:42 +0000)]
Issue 2102: Add support for Microsoft Visual Studio 9. (Dmitri Rubinstein)
git-svn-id: http://scons.tigris.org/svn/scons/trunk@3828
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
stevenknight [Thu, 11 Dec 2008 05:37:35 +0000 (05:37 +0000)]
Issue 2231: Add a --warn=future-deprecated option, along with
FutureDeprecatedWarning and MandatoryDeprecatedWarning subclasses.
Use these to future-deprecate the Taskmaster.Task class, which we intend
to turn into an abstract base class by requiring subclasses to implement
the .needs_execute() method.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@3827
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
stevenknight [Thu, 11 Dec 2008 05:27:02 +0000 (05:27 +0000)]
Fix test breakage from the change to "scons: Build interrupted".
(Overlooked checking this in with r3822.)
git-svn-id: http://scons.tigris.org/svn/scons/trunk@3826
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
garyo [Thu, 11 Dec 2008 03:16:12 +0000 (03:16 +0000)]
Fixed syntax and semantic errors in Mkdir example in man page, to fix issue #1755.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@3825
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
garyo [Thu, 11 Dec 2008 03:12:25 +0000 (03:12 +0000)]
Added regression test for issue #1249
git-svn-id: http://scons.tigris.org/svn/scons/trunk@3824
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
garyo [Thu, 11 Dec 2008 02:59:40 +0000 (02:59 +0000)]
Fix issue #1249 by making Mkdir action (actually mkdir_func) succeed if the underlying mkdir throws EEXIST and there is an existing dir there already.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@3823
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
stevenknight [Wed, 10 Dec 2008 16:20:12 +0000 (16:20 +0000)]
Print "scons: Build interrupted." on stderr, not stdout.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@3822
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
stevenknight [Wed, 10 Dec 2008 14:25:18 +0000 (14:25 +0000)]
Issue 1287: copy File attributes from the local Node to a Repository
Node so we identify shared object files in a Repository and can link
them into a local shared library. (Matthew Wesley)
git-svn-id: http://scons.tigris.org/svn/scons/trunk@3821
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
stevenknight [Wed, 10 Dec 2008 07:54:38 +0000 (07:54 +0000)]
Delete empty directories.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@3819
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
stevenknight [Mon, 8 Dec 2008 19:04:22 +0000 (19:04 +0000)]
Create Task{Always,OutOfDate}Task subclasses of Taskmaster.Task
to hold different implementations of the .needs_execute() method.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@3817
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
stevenknight [Sun, 7 Dec 2008 18:04:59 +0000 (18:04 +0000)]
Make ${,UN}CHANGED_{SOURCES,TARGETS} into future reserved construction
variable names, with an appropriate warning.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@3811
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
stevenknight [Sun, 7 Dec 2008 16:31:39 +0000 (16:31 +0000)]
src/CHANGES.txt updates for changes since 4 November.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@3810
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
stevenknight [Sun, 7 Dec 2008 04:15:22 +0000 (04:15 +0000)]
Issue 2265: Suppress messages about spurious dependency cycles.
(Jason Kenny)
git-svn-id: http://scons.tigris.org/svn/scons/trunk@3809
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
stevenknight [Sat, 6 Dec 2008 17:42:03 +0000 (17:42 +0000)]
Issue 2116: Eliminate some spurious dependency cycles by being more
aggressive about pruning pending children from the Taskmaster walk.
(Benoit Belley)
git-svn-id: http://scons.tigris.org/svn/scons/trunk@3808
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
GregNoel [Sat, 6 Dec 2008 01:13:18 +0000 (01:13 +0000)]
Issue 2267, fix use of uninitialized variable
git-svn-id: http://scons.tigris.org/svn/scons/trunk@3807
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
stevenknight [Fri, 5 Dec 2008 14:14:58 +0000 (14:14 +0000)]
Give proper credit to Benoit Belley for the --taskmastertrace=
enhancements in the previous commit.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@3806
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
stevenknight [Fri, 5 Dec 2008 08:16:58 +0000 (08:16 +0000)]
Issue 2265: Add additional --taskmastertrace= messages in the Task class.
Refactor messages in the Taskmaster class to use new, common methods.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@3805
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
garyo [Fri, 5 Dec 2008 03:22:28 +0000 (03:22 +0000)]
Fix issue #3: make Append/PrependUnique uniquify the appended/prepended list first.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@3804
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
stevenknight [Tue, 2 Dec 2008 18:58:29 +0000 (18:58 +0000)]
Fix a Glob() exception (with stack trace) when an explicit Node
exists in a repository directory without a corresponding on-disk
file or directory.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@3803
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
stevenknight [Wed, 26 Nov 2008 20:16:14 +0000 (20:16 +0000)]
Highlights and roadmap update for checkpoing
d20081125.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@3802
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
managan [Tue, 25 Nov 2008 18:37:22 +0000 (18:37 +0000)]
Accidently left a debug print in.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@3794
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
managan [Tue, 25 Nov 2008 18:32:19 +0000 (18:32 +0000)]
Add a test for the case of a .DVI build using a .eps graphics.
Test that we don't make a .pdf file from the graphic.
The patch also covers the case of requiring the graphics files
I search for to have an extension so we don't try to build fig.eps from fig.eps...
git-svn-id: http://scons.tigris.org/svn/scons/trunk@3793
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
GregNoel [Wed, 19 Nov 2008 23:51:58 +0000 (23:51 +0000)]
Add reference to LoadableModule in SharedLibrary description
git-svn-id: http://scons.tigris.org/svn/scons/trunk@3792
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
garyo [Wed, 19 Nov 2008 01:29:38 +0000 (01:29 +0000)]
Update Users Guide to clarify usage of site_scons and site_init.py.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@3791
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
stevenknight [Sun, 16 Nov 2008 00:46:31 +0000 (00:46 +0000)]
Initialized merge tracking via "svnmerge" with revisions "1-3786" from
http://scons.tigris.org/svn/scons/branches/sgk_PathList
git-svn-id: http://scons.tigris.org/svn/scons/trunk@3787
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
stevenknight [Sat, 15 Nov 2008 22:59:25 +0000 (22:59 +0000)]
Speed up Node.FS.EntryProxy.__getattr__() by not spending cycles
generating an AttributeError exception message that gets ignored most
of the time. Instead, re-raise an AttributeError subclass that delays
message generation until its __str__() method is actually called.
(Brad Fitzpatrick)
git-svn-id: http://scons.tigris.org/svn/scons/trunk@3785
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
GregNoel [Sat, 15 Nov 2008 21:04:58 +0000 (21:04 +0000)]
Fix typo found by Jared Grubb
git-svn-id: http://scons.tigris.org/svn/scons/trunk@3784
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
managan [Wed, 12 Nov 2008 21:36:07 +0000 (21:36 +0000)]
I found that my coding for automatically building .pdf files from .eps files
failed when the .tex file is in a subdirectory.
I added a new test and made the one line fix.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@3783
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
stevenknight [Wed, 12 Nov 2008 00:12:33 +0000 (00:12 +0000)]
Merged revisions 3225-3226 via svnmerge from
http://scons.tigris.org/svn/scons/branches/sgk_subst
........
r3225 | stevenknight | 2008-07-18 10:46:49 -0700 (Fri, 18 Jul 2008) | 3 lines
Remove an unnecessary \n from the end of the $INSTALLSTR setting (unneeded
because string substituion currently strips trailing white space).
........
r3226 | stevenknight | 2008-07-19 07:17:10 -0700 (Sat, 19 Jul 2008) | 3 lines
Use subst_list() for generating ToolSurrogate *COMSTR values so we don't
rely on the current white-space compression behavior of subst().
........
git-svn-id: http://scons.tigris.org/svn/scons/trunk@3781
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
stevenknight [Wed, 12 Nov 2008 00:00:56 +0000 (00:00 +0000)]
Python 1.5 and 2.1 compatibility: string methods, nested scopes.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@3780
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
stevenknight [Tue, 11 Nov 2008 02:23:03 +0000 (02:23 +0000)]
Merged revisions 3759-3762 via svnmerge from
http://scons.tigris.org/svn/scons/branches/sgk_subst
........
r3759 | stevenknight | 2008-11-03 17:59:30 -0800 (Mon, 03 Nov 2008) | 3 lines
Refactor individual unit test methods into separate TestCase
sbblcasses, so we can start re-using test fixtures.
........
r3760 | stevenknight | 2008-11-03 18:43:01 -0800 (Mon, 03 Nov 2008) | 4 lines
Refactor the overlapping classes and dictionaries of values for testing
scons_subst() and scons_subst_list() into the common SubstTestCase base
class so we can re-use the same input for testing the new code.
........
r3761 | stevenknight | 2008-11-03 22:43:51 -0800 (Mon, 03 Nov 2008) | 3 lines
Split the large test methods into separate test methods for
specific, individual pieces of functionality.
........
r3762 | stevenknight | 2008-11-04 05:06:43 -0800 (Tue, 04 Nov 2008) | 4 lines
Share code the basic comparison code between the scons_subst()
and scons_subst_list() test cases by moving it into the base class
and wrapping the call.
........
git-svn-id: http://scons.tigris.org/svn/scons/trunk@3779
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
stevenknight [Mon, 10 Nov 2008 05:25:31 +0000 (05:25 +0000)]
Windows portability: Avoid duplicate foo.lib targets by telling
env.SharedLibrary() to not build an import library.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@3776
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
stevenknight [Sun, 9 Nov 2008 14:47:35 +0000 (14:47 +0000)]
Issue 2238: Add a __contains__() method to support the "val in env"
statement for construction environments.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@3775
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
GregNoel [Sun, 9 Nov 2008 02:02:04 +0000 (02:02 +0000)]
Issue 2228: discard stderr by using os.devnull
git-svn-id: http://scons.tigris.org/svn/scons/trunk@3774
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
stevenknight [Sat, 8 Nov 2008 01:46:33 +0000 (01:46 +0000)]
Fix an exception and stack trace when Glob() hits an on-disk file or
directory that begins with '#'.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@3773
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
stevenknight [Fri, 7 Nov 2008 16:29:41 +0000 (16:29 +0000)]
Fix a nested-scope regression affecting Python 1.5, 2.0 and 2.1.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@3772
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
GregNoel [Fri, 7 Nov 2008 01:40:03 +0000 (01:40 +0000)]
Issue 2242: Minor style and loop enhancements
git-svn-id: http://scons.tigris.org/svn/scons/trunk@3771
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
GregNoel [Fri, 7 Nov 2008 01:34:18 +0000 (01:34 +0000)]
Issue 2235: File.Dir() creates files in the wrong place
git-svn-id: http://scons.tigris.org/svn/scons/trunk@3770
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
GregNoel [Fri, 7 Nov 2008 00:38:32 +0000 (00:38 +0000)]
Issue 2236: Add comment to clarify Configure.CheckType()
git-svn-id: http://scons.tigris.org/svn/scons/trunk@3769
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
stevenknight [Tue, 4 Nov 2008 13:36:37 +0000 (13:36 +0000)]
Update src/CHANGES.txt for changes since 1.1.0.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@3763
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
pankrat [Fri, 31 Oct 2008 19:27:08 +0000 (19:27 +0000)]
Issue 2087: Handle Java classes declared in methods
git-svn-id: http://scons.tigris.org/svn/scons/trunk@3756
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
stevenknight [Fri, 31 Oct 2008 16:33:33 +0000 (16:33 +0000)]
Fix uncaught KeyboardInterrupt.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@3755
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
stevenknight [Fri, 31 Oct 2008 13:36:01 +0000 (13:36 +0000)]
Fix a nested scope issue for older Python versions.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@3754
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
stevenknight [Fri, 31 Oct 2008 13:33:56 +0000 (13:33 +0000)]
Fix use of isinstance(..., tuple) so it works in older Python versions.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@3753
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
stevenknight [Fri, 31 Oct 2008 13:19:02 +0000 (13:19 +0000)]
Fix calling Exit() from within a Python function action, so that it gets
detected and exits with the specified value under Python versions before
2.5, by explicitly catching and re-raising the SystemExit exception.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@3752
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
stevenknight [Fri, 31 Oct 2008 06:08:28 +0000 (06:08 +0000)]
Move responsibility for extracting the exit status from executed tests
from the TestCommon.py module to the wrapper classes in TestCmd.py
that we use as fallbacks if the subprocess module doesn't exist.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@3751
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
managan [Thu, 30 Oct 2008 23:00:18 +0000 (23:00 +0000)]
This new test and emitter update recursively checks the whole source of the
latex document for commands that affect what side effect files
will be created, and for graphics files that are included
(so we can convert postscript to pdf if pdflatex is being run).
Now that this is recursive we could tighten up on the side
effect file list (e.g. a \makeindex with no \index commands
won't make all the files we tell scons to expect as side effects)
but I think that is asking for trouble if we mess it up.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@3750
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
stevenknight [Thu, 30 Oct 2008 13:05:32 +0000 (13:05 +0000)]
Older Python portability: isinstance() only takes a single class.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@3749
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
stevenknight [Thu, 30 Oct 2008 12:57:56 +0000 (12:57 +0000)]
Update test/SCCS/diskcheck.py for recent GetBuildFailures()
robustness change, which changed the exit message in this case.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@3748
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
GregNoel [Wed, 29 Oct 2008 23:55:16 +0000 (23:55 +0000)]
exception must be stringified before comparison
git-svn-id: http://scons.tigris.org/svn/scons/trunk@3747
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
garyo [Wed, 29 Oct 2008 03:01:00 +0000 (03:01 +0000)]
Applied Benoit Belley's patch in ticket 1957 improve the robustness of
GetBuildFailures(). New function convert_to_buildError, and use it in
several places so all build failures now go through it and are
returned as BuildError exceptions. Had a small effect on output
formatting in many tests but no significant change to behavior. I
reworked the patch a little to keep SCons exit status values the same
as before; this patch could make it simpler to change them in some
cases, e.g. exit with the errno of the failed action if desired. One
nice side effect of this patch is that more scons errors print the
node that caused the error now.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@3744
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
stevenknight [Wed, 29 Oct 2008 02:29:13 +0000 (02:29 +0000)]
Speed up Node.FS.FileFinder.find_file() by avoiding constructing debugging
strings that will only get thrown away during normal operation.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@3743
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
stevenknight [Wed, 29 Oct 2008 01:08:37 +0000 (01:08 +0000)]
Add 1.1.0 to the instal_scons.py script.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@3742
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
stevenknight [Tue, 28 Oct 2008 01:00:25 +0000 (01:00 +0000)]
Issue 2228: Add os.devnull to the SCons.compat layer.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@3741
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
cournape [Mon, 20 Oct 2008 12:21:09 +0000 (12:21 +0000)]
Set FORTRANMODDIRPREFIX for ifort tool (should fix 1260).
git-svn-id: http://scons.tigris.org/svn/scons/trunk@3711
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
cournape [Mon, 20 Oct 2008 12:20:46 +0000 (12:20 +0000)]
Update docstring for ifort.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@3710
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
cournape [Mon, 20 Oct 2008 12:20:22 +0000 (12:20 +0000)]
Fix trailing space.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@3709
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
stevenknight [Fri, 17 Oct 2008 02:20:50 +0000 (02:20 +0000)]
Issue 1568: fix a stack trace when --debug=include tries to handle
a library as an argument.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@3694
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
stevenknight [Wed, 15 Oct 2008 14:36:07 +0000 (14:36 +0000)]
Fix use of VariantDir when the -n option is used and doesn't,
therefore, actually create the variant directory.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@3693
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
stevenknight [Wed, 15 Oct 2008 14:25:16 +0000 (14:25 +0000)]
Remove the old, empty test/BuildDir directory.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@3692
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
stevenknight [Wed, 15 Oct 2008 14:16:13 +0000 (14:16 +0000)]
Support the -f option allowing specification of a different top-level
"SConstruct" file name to search for when using the -D, -U or -u options.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@3691
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
stevenknight [Wed, 15 Oct 2008 05:35:43 +0000 (05:35 +0000)]
Fix release lines (incorrect line updated in merge from checkpoint).
git-svn-id: http://scons.tigris.org/svn/scons/trunk@3689
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
stevenknight [Wed, 15 Oct 2008 00:28:04 +0000 (00:28 +0000)]
Collect the scripts for the three "climb up" options (-D, -U and -u)
in a subdirectory. Split sub-tests into separate scripts. Clean things
up a bit.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@3684
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
stevenknight [Tue, 14 Oct 2008 23:06:36 +0000 (23:06 +0000)]
Test and document the ability to specify multiple -f files.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@3683
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
stevenknight [Sun, 12 Oct 2008 04:31:07 +0000 (04:31 +0000)]
Don't use the Exception.message attribute that was deprecated in
Python 2.6; just str() the exception instead.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@3679
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
stevenknight [Sun, 12 Oct 2008 04:28:06 +0000 (04:28 +0000)]
Python 2.6 portability: add __{add,radd}__() methods to the CLVar
class used for testing.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@3678
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
stevenknight [Sun, 12 Oct 2008 03:54:23 +0000 (03:54 +0000)]
Don't use "as" as a variable name--reserved in Python 2.6.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@3677
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
stevenknight [Sun, 12 Oct 2008 00:27:30 +0000 (00:27 +0000)]
Fix intended tuple syntax (for Python 2.2 and before).
git-svn-id: http://scons.tigris.org/svn/scons/trunk@3676
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
stevenknight [Sat, 11 Oct 2008 13:35:01 +0000 (13:35 +0000)]
Python 2.6 made "as" a keyword, so test the importability of the
Tool.as module indirectly, not with a direct import statement.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@3673
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
stevenknight [Sat, 11 Oct 2008 13:32:37 +0000 (13:32 +0000)]
Fix our SCons.Util.CLVar implementation (__add__() and __radd__()
methods) so env.{Ap,Pre}pend() work under Python 2.6 when appending
strings to $*FLAGS variables.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@3672
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
stevenknight [Sat, 11 Oct 2008 13:15:47 +0000 (13:15 +0000)]
Update tigris.org for the 1.1.0 release.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@3670
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
stevenknight [Fri, 10 Oct 2008 16:28:25 +0000 (16:28 +0000)]
Merged revisions 3378-3423,3425-3532,3534-3599,3601-3610 via svnmerge from
http://scons.tigris.org/svn/scons/checkpoint
................
r3425 | stevenknight | 2008-09-15 11:21:57 -0700 (Mon, 15 Sep 2008) | 2 lines
Update version and dates for the
20080915 checkpoint release.
................
r3534 | stevenknight | 2008-10-01 23:20:52 -0700 (Wed, 01 Oct 2008) | 2 lines
Update for 1.1 release candidate checkpoint.
................
r3610 | stevenknight | 2008-10-10 09:25:52 -0700 (Fri, 10 Oct 2008) | 9 lines
Merged revisions 3377-3600,3602-3609 via svnmerge from
http://scons.tigris.org/svn/scons/release
........
r3603 | stevenknight | 2008-10-10 05:42:04 -0700 (Fri, 10 Oct 2008) | 2 lines
Updates for the 1.1.0 release.
........
................
git-svn-id: http://scons.tigris.org/svn/scons/trunk@3611
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
managan [Fri, 10 Oct 2008 15:53:23 +0000 (15:53 +0000)]
Don't add an action to use epstopdf to build .pdf from .ps
This is already an action in gs.py
git-svn-id: http://scons.tigris.org/svn/scons/trunk@3608
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
managan [Wed, 8 Oct 2008 16:30:07 +0000 (16:30 +0000)]
Testing on a Mac turned up a problem that did not show up on linux.
SK and I agree that we are surprised by that.
Both bld = env['BUILDERS']['PDF'] and bld = env['BUILDERS']['DVI'] had
lines like
bld.add_action('.tex', LaTeXAuxAction) # for DVI
bld.add_action('.tex', PDFLaTeXAuxAction) # for PDF
run from the initialization of two tools. This was a BAD thing.
That cured some test failures. For the rest I made all the TEX tests
initialize the environment with the os.environ PATH since the check
for the existence of the tools with where_is that looks on the system path.
So the tests still quietly exit if the tool is not on the system path
and now find if it is in a non-standard location like I have.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@3599
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
GregNoel [Wed, 8 Oct 2008 11:01:02 +0000 (11:01 +0000)]
fix bug in SCons.Action._subproc
git-svn-id: http://scons.tigris.org/svn/scons/trunk@3598
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
stevenknight [Wed, 8 Oct 2008 01:10:58 +0000 (01:10 +0000)]
Python 1.5 compatibility.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@3595
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
stevenknight [Wed, 8 Oct 2008 00:58:12 +0000 (00:58 +0000)]
Update test scripts with more information must_*() methods.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@3594
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
stevenknight [Tue, 7 Oct 2008 21:34:59 +0000 (21:34 +0000)]
Reset the default Verbose value to False.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@3593
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
managan [Tue, 7 Oct 2008 18:39:19 +0000 (18:39 +0000)]
test/TEX/PDF_single_source.py
Test of generating several .pdfs from a list of .ps (new single_source setting)
test/TEX/LATEX2.py
Based on second half of LATEX. generate all .pdf's at once by giving a list of .tex files
test of single_source
src/engine/SCons/Scanner/LaTeX.py
Add test of changing an included file.
Add test of included file having no extension
src/engine/SCons/Scanner/LaTeX.py
Add lists of acceptable graphics extensions,
In the furture make this user configurable??
Scan for files in the paths stored in env['TEXINPUTS'] and env['ENV']['TEXINPUTS']
for people who may just input their environment...
Add function findENVPatDirs for this purpose
src/engine/SCons/Tool/pdf.py
add epstopdf action
Have to add it after the pdftex action so it is not the default.
Make builder single_source since each input produces one output
src/engine/SCons/Tool/pdftex.py
use tex_eps_emitter
call pdf.generate2 to add epstopdf action after the PDFLaTeXAction
src/engine/SCons/Tool/dvipdf.py
simplify coding that adds the source directory to the search path TEXPICTS
src/engine/SCons/Tool/dvips.py
Add single_source option since each ps file comes from one dvi file
src/engine/SCons/Tool/pdflatex.py
add .tex as a valid extension and switch emitters to tex_pdf_emitter
src/engine/SCons/Tool/tex.py
fix regular expressions ^[^%]* to ^[^%\n]* for multiline environment
add REs for \input or \include and \includegraphics
get graphics extensions from Scanner.LaTeX so they are defined in one place
move modify_env_var to Scanner.LaTeX since it is used there and easier to import it here
add FindFile routine to find a file given name, list of suffixes, paths, env
returns a node for the file.
add tex_eps_emitter and tex_pdf_emitter that call a core routine with
a different list of graphics extensions that can be handled by the
tool used (latex vs. pdflatex)
revamp feature test/suffix list into two lists and build the list used
to create sideeffects for each input file...
These tests now get applied to each included file so the whole source
tree is tested.
Get list of paths from env['ENV']['TEXINPUTS'] and env['TEXINPUTS']
if find we need a .pdf file and only have .eps or .ps set up the
.pdf as a target with the .eps as source...
change emitter to tex_eps_emitter
src/engine/SCons/Tool/latex.py
add .tex as a valid extension and switch emitters to tex_eps_emitter
git-svn-id: http://scons.tigris.org/svn/scons/trunk@3592
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
stevenknight [Tue, 7 Oct 2008 04:52:38 +0000 (04:52 +0000)]
Fix label placement in gnuplot graphs by the "scons-time.py func"
subcommand when a profile result is equal to (or near) 0.0.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@3572
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
stevenknight [Tue, 7 Oct 2008 00:40:11 +0000 (00:40 +0000)]
Initial Python 2.6 portability in SCons code itself, using subprocess
in place of popen2, and calling hashlib.md5() instead of the md5 module.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@3571
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
stevenknight [Tue, 7 Oct 2008 00:39:54 +0000 (00:39 +0000)]
Rudimentary Python 2.6 portability in the test infrastructure, fixing
"import popen2" warnings that interfere with some of the tests executing
cleanly. This converts to using subprocess by default, falling back
to popen2 if it's not available.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@3570
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
stevenknight [Tue, 7 Oct 2008 00:39:42 +0000 (00:39 +0000)]
Remove left-over debug print.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@3569
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
stevenknight [Sun, 5 Oct 2008 13:42:01 +0000 (13:42 +0000)]
Fix a block in Script/Main.py that could swallow KeyboardInterrupt
exceptions. Fix the script that analyzes our try:-except: block so it
recognizes that "except Exception, e:" is equivalent to "except:".
git-svn-id: http://scons.tigris.org/svn/scons/trunk@3552
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
GregNoel [Sat, 4 Oct 2008 15:37:28 +0000 (15:37 +0000)]
documentation changes for Action() refactoring
git-svn-id: http://scons.tigris.org/svn/scons/trunk@3551
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
GregNoel [Sat, 4 Oct 2008 15:35:57 +0000 (15:35 +0000)]
Issue 2166, refactor Action() factory to make positional parameters consistent
git-svn-id: http://scons.tigris.org/svn/scons/trunk@3550
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
GregNoel [Sat, 4 Oct 2008 15:35:50 +0000 (15:35 +0000)]
Fix small inefficiency in jobs dispatching
git-svn-id: http://scons.tigris.org/svn/scons/trunk@3549
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
stevenknight [Sat, 4 Oct 2008 00:26:11 +0000 (00:26 +0000)]
Updates to SCons development system admin scripts:
* Add Python 2.6.
* Add recent SCons versions.
* Add pkg-config (used to generate some doc examples).
git-svn-id: http://scons.tigris.org/svn/scons/trunk@3548
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
stevenknight [Fri, 3 Oct 2008 23:06:51 +0000 (23:06 +0000)]
User's Guide updates:
Mostly MSVC compilation lines so the /Fo is at the beginning of the
output line. Also some new/modified variables in the environment dump
in the Troubleshooting appendix, and removing a leftover XXX todo comment.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@3547
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
stevenknight [Fri, 3 Oct 2008 05:52:00 +0000 (05:52 +0000)]
Update highlight and roadmap schedule.
Add a comment about how to generate the roadmap table from the
"schedule" input file.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@3537
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
GregNoel [Thu, 2 Oct 2008 03:05:31 +0000 (03:05 +0000)]
Correct typos to roadmap.html that snuck in...
git-svn-id: http://scons.tigris.org/svn/scons/trunk@3531
fdb21ef1-2011-0410-befe-
b5e4ea1792b1