Changes by: Aleksey Nogin (nogin at metaprl.org)
Date: 2007-01-02 14:16:18 -0800 (Tue, 02 Jan 2007)
Revision: 9893
Log message:
- (Bug 615) When a process creation fails with a Unix_error or Failure
exception, turn it into an OmakeException. This way it would then be
possible to catch it in OMake scriplets.
- Failures in CreateProcess (on Windows) should only be communicated via
exceptions; printing a message on stderr is unnecessarily verbose (moved in
under the appropriate "#ifdef OSH_DEBUG").
Changes | Path |
+6 -1 | omake-branches/0.9.8.x/lib/Pervasives.om |
+1 -1 | omake-branches/0.9.8.x/src/clib/omake_shell_sys.c |
+17 -1 | omake-branches/0.9.8.x/src/shell/omake_shell_job.ml |
Changes by: Aleksey Nogin (nogin at metaprl.org)
Date: 2007-01-02 15:09:09 -0800 (Tue, 02 Jan 2007)
Revision: 9894
Log message:
Minor error message fix.
Changes | Path |
+2 -2 | omake-branches/0.9.8.x/src/shell/omake_shell_job.ml |
Changes by: Aleksey Nogin (nogin at metaprl.org)
Date: 2007-01-02 16:20:47 -0800 (Tue, 02 Jan 2007)
Revision: 9895
Log message:
Usage string fix.
Changes | Path |
+1 -1 | omake-branches/0.9.8.x/src/builtin/omake_builtin_file.ml |
Changes by: Aleksey Nogin (nogin at metaprl.org)
Date: 2007-01-02 16:31:17 -0800 (Tue, 02 Jan 2007)
Revision: 9896
Log message:
Allow chmod to do things under Win32. We do support the -m flag under Win32
(which will do things like setting the read-only flag), so we also need to
support unsetting the read-only flag in chmod on Win32.
Changes | Path |
+4 -6 | omake-branches/0.9.8.x/src/builtin/omake_builtin_file.ml |
Changes by: Aleksey Nogin (nogin at metaprl.org)
Date: 2007-01-02 16:32:13 -0800 (Tue, 02 Jan 2007)
Revision: 9897
Log message:
Regenerated documentation.
Changes by: Aleksey Nogin (nogin at metaprl.org)
Date: 2007-01-02 16:39:55 -0800 (Tue, 02 Jan 2007)
Revision: 9898
Log message:
Shell.ln-or-cp: try to be a lot more careful and a lot more persistent, especially on Windows (where things like read-only permissions might prevent us from being able to delete files).
Changes | Path |
+19 -3 | omake-branches/0.9.8.x/lib/Pervasives.om |
Changes by: Aleksey Nogin (nogin at metaprl.org)
Date: 2007-01-02 16:55:47 -0800 (Tue, 02 Jan 2007)
Revision: 9899
Log message:
I have created omake-0.9.8-3.msi based on the current HEAD revision (rev
9898), making it the default download link for Windows.
Changes | Path |
+1 -1 | omake-branches/0.9.8.x/doc/html/download.html |
Changes by: Aleksey Nogin (nogin at metaprl.org)
Date: 2007-01-03 10:20:06 -0800 (Wed, 03 Jan 2007)
Revision: 9900
Log message:
- (Bug 620) There was a bug handling long chains of built-in commands in the
shell - in one of the branches of the omake_eval it would create a new
subjob expression and return it as is; wait_exp/wait_exp2 would then
consider this a sign that the new subjob must be waited for - which would
then fail because the job was fully foreground in-process evaluated and
nothing was ever forked.
This was fixed by making sure the new subjob expression is evaluated
recursively instead of being returned as is right away.
- Added a bunch of debugging code (debugging Omake_shell_job is a bit of a
pain, especially since ocamldebug is not capable to handling OCaml
processes that fork).
Changes | Path |
+26 -17 | omake-branches/0.9.8.x/src/shell/omake_shell_job.ml |
Changes by: Aleksey Nogin (nogin at metaprl.org)
Date: 2007-01-04 18:51:33 -0800 (Thu, 04 Jan 2007)
Revision: 9903
Log message:
(Bug 392) When the filesystem monitoring is enabled, errors like "do not know
how to build", "mailformed scanner output", "rule failed to build its target"
will cause OMake to go into the poll mode (paying attention only to include
file changes) instead of quitting.
Changes | Path |
+45 -19 | omake-branches/0.9.8.x/src/build/omake_build.ml |
Changes by: Aleksey Nogin (nogin at metaprl.org)
Date: 2007-01-05 10:16:35 -0800 (Fri, 05 Jan 2007)
Revision: 9904
Log message:
Minor error message updates.
Changes | Path |
+5 -8 | omake-branches/0.9.8.x/src/eval/omake_value.ml |
Changes by: Aleksey Nogin (nogin at metaprl.org)
Date: 2007-01-05 10:24:55 -0800 (Fri, 05 Jan 2007)
Revision: 9905
Log message:
Further changes for bug 620:
- Split the OmakeException expection into two:
- OmakeException proper (which is now taken to mean that a _recoverable_
problem happened and it would be OK to restart if an OMakefile changes).
- OmakeFatalErr that indicates a fatal error (most likely an internal
error) that indicates that OMake should be aborted even if filesystem
monitoring is enabled.
- Any uncaught OmakeException / UncaughtException / RaiseException exceptions
raised during the _build_ phase when filesystem monitoring is enables will
now be caught and take OMake into a filesystem notification waiting loop.
Still TODO:
- Make it possible to enter a filesystem notification waiting loop based on
errors occuring during the "OMakefile reading" stage.
Changes by: Aleksey Nogin (nogin at metaprl.org)
Date: 2007-01-05 10:45:18 -0800 (Fri, 05 Jan 2007)
Revision: 9906
Log message:
(Bug 621) in the end summary, list the failed targets in the alphabetical
order for consistency.
Changes | Path |
+10 -3 | omake-branches/0.9.8.x/src/build/omake_build.ml |
Changes by: Aleksey Nogin (nogin at metaprl.org)
Date: 2007-01-05 11:07:55 -0800 (Fri, 05 Jan 2007)
Revision: 9907
Log message:
(Bug 392) My changes in rev. 9905 were a bit wrong, fixing.
Changes | Path |
+25 -10 | omake-branches/0.9.8.x/src/build/omake_build.ml |
Changes by: Aleksey Nogin (nogin at metaprl.org)
Date: 2007-01-05 12:33:55 -0800 (Fri, 05 Jan 2007)
Revision: 9908
Log message:
Simplified the cache loading code a bit.
Changes | Path |
+29 -40 | omake-branches/0.9.8.x/src/build/omake_build.ml |
Changes by: Aleksey Nogin (nogin at metaprl.org)
Date: 2007-01-05 14:02:42 -0800 (Fri, 05 Jan 2007)
Revision: 9909
Log message:
No-op code reorganization: generalize the event processing code (so that it
can be reused).
Changes | Path |
+24 -39 | omake-branches/0.9.8.x/src/build/omake_build.ml |
Changes by: Aleksey Nogin (nogin at metaprl.org)
Date: 2007-01-05 15:03:23 -0800 (Fri, 05 Jan 2007)
Revision: 9912
Log message:
Do not print "restarting/rebuilding" messages when --no--print-status is
given. The "polling for filesystem changes" message will still be printed - I
think this is important because otherwise people might not realize OMake is
not really doing anything.
Changes | Path |
+4 -2 | omake-branches/0.9.8.x/src/build/omake_build.ml |
Changes by: Aleksey Nogin (nogin at metaprl.org)
Date: 2007-01-07 09:01:39 -0800 (Sun, 07 Jan 2007)
Revision: 9915
Log message:
(Bug 622) Fixed a documentation typo.
Changes by: Aleksey Nogin (nogin at metaprl.org)
Date: 2007-01-07 09:16:43 -0800 (Sun, 07 Jan 2007)
Revision: 9916
Log message:
Added a "join" function (based on Jason's code posted to the list).
Changes | Path |
+16 -0 | omake-branches/0.9.8.x/lib/Pervasives.om |
Changes by: Aleksey Nogin (nogin at metaprl.org)
Date: 2007-01-07 14:28:14 -0800 (Sun, 07 Jan 2007)
Revision: 9917
Log message:
Added documentation for the new "join" function.
Changes by: Aleksey Nogin (nogin at metaprl.org)
Date: 2007-01-07 14:35:55 -0800 (Sun, 07 Jan 2007)
Revision: 9918
Log message:
Added "min" and "max" functions.
Changes | Path |
+7 -0 | omake-branches/0.9.8.x/src/builtin/omake_builtin_arith.ml |
Changes by: Aleksey Nogin (nogin at metaprl.org)
Date: 2007-01-07 14:38:09 -0800 (Sun, 07 Jan 2007)
Revision: 9919
Log message:
Regenerated the documentation.
Changes by: Aleksey Nogin (nogin at metaprl.org)
Date: 2007-01-08 10:01:00 -0800 (Mon, 08 Jan 2007)
Revision: 9920
Log message:
Version mismatch errors should probably be considered "non-recoverable".
Changes | Path |
+2 -2 | omake-branches/0.9.8.x/src/builtin/omake_builtin_rule.ml |
Changes by: Aleksey Nogin (nogin at metaprl.org)
Date: 2007-01-08 10:27:20 -0800 (Mon, 08 Jan 2007)
Revision: 9921
Log message:
(Bug 392) When loading OMakefiles fails (either because parsing fails or
because evaluation fails) with a non-fatal error and the filesystem monitoring
is enabled, enter the fs monitoring loop instead of giving up.
Changes | Path |
+88 -46 | omake-branches/0.9.8.x/src/build/omake_build.ml |
Changes by: Aleksey Nogin (nogin at metaprl.org)
Date: 2007-01-08 12:04:58 -0800 (Mon, 08 Jan 2007)
Revision: 9922
Log message:
Minor fix in how the "file changed" notice is printed duing the "reading
Omakefiles" stage.
Changes | Path |
+6 -6 | omake-branches/0.9.8.x/src/build/omake_build.ml |
Changes by: Aleksey Nogin (nogin at metaprl.org)
Date: 2007-01-08 12:10:25 -0800 (Mon, 08 Jan 2007)
Revision: 9923
Log message:
Minor no-op code-level change.
Changes | Path |
+8 -8 | omake-branches/0.9.8.x/src/build/omake_build.ml |
Changes by: Aleksey Nogin (nogin at metaprl.org)
Date: 2007-01-08 12:18:35 -0800 (Mon, 08 Jan 2007)
Revision: 9924
Log message:
Rev. 9921 had a small bug - fixing.
Changes | Path |
+2 -1 | omake-branches/0.9.8.x/src/build/omake_build.ml |
Changes by: Aleksey Nogin (nogin at metaprl.org)
Date: 2007-01-08 12:25:20 -0800 (Mon, 08 Jan 2007)
Revision: 9925
Log message:
(Bug 396) Watch "optional" and "exists" nodes. Still ignores the Delete events
for those nodes.
Changes | Path |
+31 -23 | omake-branches/0.9.8.x/src/build/omake_build.ml |
Changes by: Aleksey Nogin (nogin at metaprl.org)
Date: 2007-01-08 15:34:55 -0800 (Mon, 08 Jan 2007)
Revision: 9926
Log message:
(Bug 624) Only the targets of implicit rules should be restricted to having
only one instance of %; the sources should be allowed several.
Changes by: Aleksey Nogin (nogin at metaprl.org)
Date: 2007-01-08 15:49:36 -0800 (Mon, 08 Jan 2007)
Revision: 9927
Log message:
Rev. 9903 follow-up: now that the "rule failed to build its target" error is
not necessarily fatal, we need to record the rule as failed before we raise
the exception.
Changes | Path |
+3 -1 | omake-branches/0.9.8.x/src/build/omake_build.ml |
Changes by: Aleksey Nogin (nogin at metaprl.org)
Date: 2007-01-09 10:45:35 -0800 (Tue, 09 Jan 2007)
Revision: 9928
Log message:
Documentation: a few clarifications and minor changes in the .SCANNER
sections.
Changes by: Aleksey Nogin (nogin at metaprl.org)
Date: 2007-01-10 11:43:38 -0800 (Wed, 10 Jan 2007)
Revision: 9929
Log message:
- (Bug 626) Allow mixing "special" keywords with the variable names in export
arguments. To better distinguish the two, the keywords now start with a ".".
Namely, we no have "export .PHONY" that exports the set of phony targets and
"export .RULE" that exports all the implicit rules and implicit
dependencies.
P.S. The "export rules" is still supported for backward-compatibility, but
will generate a warning instructing people to use "export .RULE .PHONY"
instead.
- (Bug 625) Documented the "export" built-in function.
Changes by: Aleksey Nogin (nogin at metaprl.org)
Date: 2007-01-10 11:57:56 -0800 (Wed, 10 Jan 2007)
Revision: 9930
Log message:
The new warning messages should point at the correct place in the source
file.
Changes | Path |
+2 -2 | omake-branches/0.9.8.x/src/eval/omake_eval.ml |
Changes by: Aleksey Nogin (nogin at metaprl.org)
Date: 2007-01-10 12:39:47 -0800 (Wed, 10 Jan 2007)
Revision: 9931
Log message:
(Bug 625) Documented the arguments to the "export" special form.
Changes by: Aleksey Nogin (nogin at metaprl.org)
Date: 2007-01-10 12:51:21 -0800 (Wed, 10 Jan 2007)
Revision: 9932
Log message:
Minor documantation fixes.
Changes by: Aleksey Nogin (nogin at metaprl.org)
Date: 2007-01-12 09:25:20 -0800 (Fri, 12 Jan 2007)
Revision: 9939
Log message:
Based on a patch contributed by Erick Tryzelaar (erickt at dslextreme.com):
- Added Map.keys and Map.values functions
- Documented the Map.length function.
Changes | Path |
+10 -0 | omake-branches/0.9.8.x/lib/Pervasives.om |
+26 -0 | omake-branches/0.9.8.x/src/builtin/omake_builtin_object.ml |
Changes by: Aleksey Nogin (nogin at metaprl.org)
Date: 2007-01-12 09:27:21 -0800 (Fri, 12 Jan 2007)
Revision: 9940
Log message:
Regenerated the documentation.
Changes by: Aleksey Nogin (nogin at metaprl.org)
Date: 2007-01-12 11:14:50 -0800 (Fri, 12 Jan 2007)
Revision: 9943
Log message:
(Bug 614) This should make the find-build-targets function work inside
.BUILD_FAILURE. Untested.
Changes | Path |
+30 -27 | omake-branches/0.9.8.x/src/build/omake_build.ml |
+5 -4 | omake-branches/0.9.8.x/src/build/omake_build.mli |
+0 -2 | omake-branches/0.9.8.x/src/builtin/omake_builtin_target.ml |
Changes by: Aleksey Nogin (nogin at metaprl.org)
Date: 2007-01-12 11:25:42 -0800 (Fri, 12 Jan 2007)
Revision: 9944
Log message:
One more place where the .error summary file ought to be unlinked.
Changes | Path |
+3 -1 | omake-branches/0.9.8.x/src/build/omake_build.ml |
Changes by: Aleksey Nogin (nogin at metaprl.org)
Date: 2007-01-12 12:11:49 -0800 (Fri, 12 Jan 2007)
Revision: 9945
Log message:
(Bug 612) Write out the build summary before the BUILD_SUCCESS/BUILD_FAILURE
targets are built. Untested.
Changes | Path |
+44 -42 | omake-branches/0.9.8.x/src/build/omake_build.ml |
Changes by: Aleksey Nogin (nogin at metaprl.org)
Date: 2007-01-12 12:41:30 -0800 (Fri, 12 Jan 2007)
Revision: 9946
Log message:
(Bug 612) My previous commit was not quite right, fixing.
Changes | Path |
+4 -3 | omake-branches/0.9.8.x/src/build/omake_build.ml |
Changes by: Aleksey Nogin (nogin at metaprl.org)
Date: 2007-01-12 14:53:29 -0800 (Fri, 12 Jan 2007)
Revision: 9947
Log message:
(Bug 627) The with_fresh_wl function needs to set the env_error_code to 0 in
order to make sure the new wl will actually run (and then put it back, unless
the new wl have set it to something else). This makes sure that .BUILD_FAILURE
runs even with --no-k.
Changes | Path |
+18 -13 | omake-branches/0.9.8.x/src/build/omake_build.ml |
Changes by: Aleksey Nogin (nogin at metaprl.org)
Date: 2007-01-15 11:46:11 -0800 (Mon, 15 Jan 2007)
Revision: 9953
Log message:
When a variable is self-referential ("x = $`(x)"), abort the evaluation
instead of going into an infinite loop. Note that this only catches the most
common simple case and does not attempt to catch cases where a self-reference
is embedded deep inside (e.g. "x = ... $`(x) ...").
Changes | Path |
+10 -1 | omake-branches/0.9.8.x/src/eval/omake_eval.ml |
Changes by: Aleksey Nogin (nogin at metaprl.org)
Date: 2007-01-15 13:55:52 -0800 (Mon, 15 Jan 2007)
Revision: 9954
Log message:
(Bug 629) For some reason, the OCamlProgram was using the LIBS variable for
no good reason - the OCAML_CLIBS variable should be used instead. If one wants
the LIBS to be included in OCAML_CLIBS, one should use
OCAML_CLIBS += $`(LIBS)
accordingly.
Changes | Path |
+5 -7 | omake-branches/0.9.8.x/lib/build/OCaml.om |
Changes by: Aleksey Nogin (nogin at metaprl.org)
Date: 2007-01-15 17:30:35 -0800 (Mon, 15 Jan 2007)
Revision: 9956
Log message:
Made the usage string for the -R option a bit more verbose, based on Bardur
Arantsson's suggestion.
Also updated the documentation for the -R option.
Changes | Path |
+10 -4 | omake-branches/0.9.8.x/doc/src/omake-options.tex |
+1 -1 | omake-branches/0.9.8.x/src/ir/omake_options.ml |
Changes by: Aleksey Nogin (nogin at metaprl.org)
Date: 2007-01-19 09:59:43 -0800 (Fri, 19 Jan 2007)
Revision: 9961
Log message:
Made the "dependencies" and "target" functions work on rule values (in a
limited way, for testing purposes only).
Changes | Path |
+10 -4 | omake-branches/0.9.8.x/src/builtin/omake_builtin_target.ml |
Changes by: Aleksey Nogin (nogin at metaprl.org)
Date: 2007-01-19 10:55:23 -0800 (Fri, 19 Jan 2007)
Revision: 9962
Log message:
Recognize the MikTeX's -c-style-errors option.
Changes | Path |
+6 -2 | omake-branches/0.9.8.x/lib/build/LaTeX.om |
Changes by: Aleksey Nogin (nogin at metaprl.org)
Date: 2007-01-22 11:33:38 -0800 (Mon, 22 Jan 2007)
Revision: 9969
Log message:
Explicitly ignore *.o (as I understatd, the default configuration ignores it
via the "global-ignores" in the global config file, but we probably should not
rely on that).
Changes | Path |
Properties | omake-branches/0.9.8.x/src/ast |
Properties | omake-branches/0.9.8.x/src/build |
Properties | omake-branches/0.9.8.x/src/builtin |
Properties | omake-branches/0.9.8.x/src/env |
Properties | omake-branches/0.9.8.x/src/eval |
Properties | omake-branches/0.9.8.x/src/exec |
Properties | omake-branches/0.9.8.x/src/ir |
Properties | omake-branches/0.9.8.x/src/libmojave |
Properties | omake-branches/0.9.8.x/src/magic |
Properties | omake-branches/0.9.8.x/src/main |
Properties | omake-branches/0.9.8.x/src/shell |
Properties | omake-branches/0.9.8.x/src/util |
Changes by: Aleksey Nogin (nogin at metaprl.org)
Date: 2007-01-22 12:13:54 -0800 (Mon, 22 Jan 2007)
Revision: 9970
Log message:
Use the "absname(../lib)" as the default library path if none is given
explicitly via the -libpath option.
Changes | Path |
+8 -4 | omake-branches/0.9.8.x/src/magic/omake_gen_magic.ml |
Changes by: Aleksey Nogin (nogin at metaprl.org)
Date: 2007-01-22 16:29:58 -0800 (Mon, 22 Jan 2007)
Revision: 9971
Log message:
Under readline, allow arbitrary big input lines. Otherwise limit the line
length by LINE_MAX defined by limits.h
Changes | Path |
+54 -35 | omake-branches/0.9.8.x/src/clib/readline.c |
Changes by: Aleksey Nogin (nogin at metaprl.org)
Date: 2007-01-26 10:39:35 -0800 (Fri, 26 Jan 2007)
Revision: 9978
Log message:
- (Bug 631) Detect -recorder with MikTeX >= 2.5
- (Bug 632) Detect MikTeX 2.4, where the -recorder option is broken and
disable the recorder usage there.
Changes | Path |
+10 -0 | omake-branches/0.9.8.x/lib/build/LaTeX.om |
Changes by: Aleksey Nogin (nogin at metaprl.org)
Date: 2007-01-26 12:24:01 -0800 (Fri, 26 Jan 2007)
Revision: 9979
Log message:
Regenerated the documentation.
Changes by: Aleksey Nogin (nogin at metaprl.org)
Date: 2007-01-26 13:01:01 -0800 (Fri, 26 Jan 2007)
Revision: 9980
Log message:
- Restructured documentation slightly
- Made some minor fixes in the chapter/section/subsection/etc layering.
- Made sure our HTML is a bit more standards-complient.
Changes by: Aleksey Nogin (nogin at metaprl.org)
Date: 2007-01-26 14:03:25 -0800 (Fri, 26 Jan 2007)
Revision: 9981
Log message:
Added a page on mailing lists and reorganized the navigation slightly.
Changes by: Aleksey Nogin (nogin at metaprl.org)
Date: 2007-01-29 09:26:31 -0800 (Mon, 29 Jan 2007)
Revision: 9987
Log message:
Fixed a small flaw in Pervasives documentation (thanks to Erick Tryzelaar,
erickt at dslextreme.com, for reporting it) and regenerated the documentation.
Changes by: Aleksey Nogin (nogin at metaprl.org)
Date: 2007-01-29 11:45:12 -0800 (Mon, 29 Jan 2007)
Revision: 9988
Log message:
Added special variables ($@, $<, etc) to the index (both the main one and the
variables one) and regenerated the documentation.
Changes by: Aleksey Nogin (nogin at metaprl.org)
Date: 2007-01-29 12:15:25 -0800 (Mon, 29 Jan 2007)
Revision: 9990
Log message:
OMake part of rev. 9989 - moved lm_filename_util from stdlib to util in
LibMojave.
Changes | Path |
+5 -5 | omake-branches/0.9.8.x/src/Makefile |
+5 -5 | omake-branches/0.9.8.x/src/Makefile.nt |
+2 -2 | omake-branches/0.9.8.x/src/libmojave/OMakefile |
Changes by: Aleksey Nogin (nogin at metaprl.org)
Date: 2007-01-31 15:08:31 -0800 (Wed, 31 Jan 2007)
Revision: 9993
Log message:
(Bug 632) When running "latex --help", also check whether -output-comment=...
is supported.
Changes | Path |
+8 -4 | omake-branches/0.9.8.x/lib/build/LaTeX.om |
Changes by: Aleksey Nogin (nogin at metaprl.org)
Date: 2007-01-31 15:15:39 -0800 (Wed, 31 Jan 2007)
Revision: 9994
Log message:
(Bug 638) Be more careful in case of file or directory names with spaces.
Changes | Path |
+9 -8 | omake-branches/0.9.8.x/lib/build/LaTeX.om |