Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2004-12-02 12:34:13 -0800 (Thu, 02 Dec 2004)
Revision: 662
Log message:
A recent change in lm_symbol added a requirement to bring in a bunch
of NULL thread libraries.
Changes | Path |
+15 -0 | omake/Files |
+2 -0 | omake/Makefile.in |
+7 -3 | omake/OMakefile.in |
Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2004-12-02 12:37:15 -0800 (Thu, 02 Dec 2004)
Revision: 663
Log message:
The lm_dl_list module was not used, removing. (If you ever need to
resurrect this, the lm_dlist from libmojave should be used instead;
this lm_dl_list was not actually a part of libmojave).
Changes | Path |
+0 -4 | omake/Files |
Deleted | omake/lm_dl_list.ml |
Deleted | omake/lm_dl_list.mli |
Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2004-12-03 14:56:13 -0800 (Fri, 03 Dec 2004)
Revision: 665
Log message:
Same as awk, fsubst should return the resulting environment.
Changes | Path |
+2 -2 | omake/src/build/omake_builtin_io_fun.ml |
Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2004-12-03 15:50:58 -0800 (Fri, 03 Dec 2004)
Revision: 666
Log message:
Updated omake to compile with the new lexer/parser interfaces.
Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2004-12-03 16:17:20 -0800 (Fri, 03 Dec 2004)
Revision: 667
Log message:
(Bug 350) If there are no blocked commands, but there are failed commands,
we should still do the "on error routine".
Changes | Path |
+6 -0 | omake/src/build/omake_build.ml |
Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2004-12-03 18:01:04 -0800 (Fri, 03 Dec 2004)
Revision: 668
Log message:
When printing the `` don't know how to build '' message, print not only
the dependency that can not be satisfied, but also the original target
that caused us to want to build it in the first place.
Changes | Path |
+25 -13 | omake/src/build/omake_build.ml |
Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2004-12-07 00:10:43 -0800 (Tue, 07 Dec 2004)
Revision: 671
Log message:
Minor documentation fix.
Changes | Path |
+1 -1 | omake/OMakeroot.src.in |
Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2004-12-07 00:30:52 -0800 (Tue, 07 Dec 2004)
Revision: 672
Log message:
Adding a --force-dotomake option to create all .omc/.omo files
under ~/.omake/cache
Changes | Path |
+1 -13 | omake/src/eval/omake_eval.ml |
+21 -1 | omake/src/ir/omake_state.ml |
+5 -5 | omake/src/ir/omake_state.mli |
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2004-12-08 16:24:38 -0800 (Wed, 08 Dec 2004)
Revision: 674
Log message:
Added :squash: dependencies, as requested in bug #153.
For example, consider the following rule:
a: :squash: b
touch $@
To build a, b *must* exist, but its contents are ignored.
That is, if b changes, it will not cause a to be updated.
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2004-12-10 12:24:11 -0800 (Fri, 10 Dec 2004)
Revision: 676
Log message:
Backport to Win2000.
Changes | Path |
+470 -457 | omake/Makefile.dep.nt |
+5 -4 | omake/Makefile.nt |
+6 -0 | omake/config.nt |
+23 -17 | omake/src/clib/omake_shell_sys.c |
Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2004-12-10 15:05:15 -0800 (Fri, 10 Dec 2004)
Revision: 677
Log message:
Do not use ocamlfind for compiling omake.
Changes | Path |
+1 -0 | omake/OMakefile.in |
Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2004-12-10 15:19:45 -0800 (Fri, 10 Dec 2004)
Revision: 678
Log message:
Documentation typo.
Changes | Path |
+1 -1 | omake/src/build/omake_builtin_base.ml |
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2004-12-10 15:45:22 -0800 (Fri, 10 Dec 2004)
Revision: 679
Log message:
Some minor changes to some functions.
I think that introducing a standard set of builtin shell
commands (like mv, cp, mkdir, etc.) requires a general
mechanism for processing command-line options.
Changes | Path |
+462 -464 | omake/Makefile.dep.nt |
+35 -20 | omake/src/build/omake_builtin_file.ml |
Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2004-12-11 18:37:03 -0800 (Sat, 11 Dec 2004)
Revision: 680
Log message:
1) Allow '# ...' comment lines in the output of .SCANNER commands. I had to add
this because on Fedora Core 3 "gcc -MM" is generating things like
# 1 "/home/aleksey/metaprl/omake//"
lm_ctype.o: lm_ctype.c /usr/lib/ocaml/caml/mlvalues.h \
/usr/lib/ocaml/caml/compatibility.h /usr/lib/ocaml/caml/config.h \
/usr/lib/ocaml/caml/misc.h /usr/lib/ocaml/caml/alloc.h \
/usr/lib/ocaml/caml/mlvalues.h /usr/lib/ocaml/caml/memory.h \
/usr/lib/ocaml/caml/fail.h /usr/lib/ocaml/caml/custom.h
for some reason.
2) For some reason Makefile.in and OMakefile.in had slightly different rules
for creating the documantation files. As a workaround, make will now call
omake for building the documentation files.
Changes | Path |
+10 -14 | omake/Makefile.in |
+4 -0 | omake/src/env/omake_ast_lex.mll |
+2 -0 | omake/src/env/omake_ast_parse.input |
Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2004-12-11 18:40:39 -0800 (Sat, 11 Dec 2004)
Revision: 681
Log message:
Added an extra header check to fam_kqueue.c
Changes | Path |
Properties | omake |
+1 -0 | omake/.cvsignore |
+1 -1 | omake/OMakefile.in |
Added | omake/config.h.in |
Properties | omake/config.h.in |
+360 -31 | omake/configure |
+4 -0 | omake/configure.in |
+8 -2 | omake/src/clib/fam_kqueue.c |
Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2004-12-11 19:12:51 -0800 (Sat, 11 Dec 2004)
Revision: 682
Log message:
Use OCamlLinkSort for OCamlProgram files as well.
Changes | Path |
+2 -2 | omake/OMakeroot.src.in |
Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2004-12-12 14:56:17 -0800 (Sun, 12 Dec 2004)
Revision: 683
Log message:
(Bug 366) updated the grammar for deps. But now comments are only discarded
at the beginning of the dependency file.
Changes | Path |
+4 -3 | omake/src/env/omake_ast_parse.input |
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2004-12-12 16:02:12 -0800 (Sun, 12 Dec 2004)
Revision: 684
Log message:
Omake now uses the built-in versions of the following commands:
cp, mv, mkdir, rm, rmdir, chmod
I've tested on Linux, next I'll test Win32.
Please let me know if there are problems.
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2004-12-13 11:47:12 -0800 (Mon, 13 Dec 2004)
Revision: 685
Log message:
This is the preliminary fix for filesystem monitoring on Win32.
About 8 weeks, Aleksey committed this:
> Wrap all FAM calls in [caml_]enter_blocking_section/[caml_]leave_blocking_section.
> This solves bug 312 (Ctrl-C in Gamin) and may also help with other things.
However, this assumes that the FAM (pseudo) implementations are thread-safe,
which is not the case at least on Win32, so this should be rethought.
Changes | Path |
+466 -464 | omake/Makefile.dep.nt |
+4 -1 | omake/README.WIN32 |
+1 -1 | omake/config.nt |
+5 -4 | omake/src/build/omake_build.ml |
+8 -3 | omake/src/clib/fam_win32.c |
+8 -8 | omake/src/clib/omake_notify.c |
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2004-12-13 11:49:19 -0800 (Mon, 13 Dec 2004)
Revision: 686
Log message:
Minor code cleanup.
Changes | Path |
+2 -0 | omake/src/clib/fam_win32.c |
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2004-12-13 12:29:16 -0800 (Mon, 13 Dec 2004)
Revision: 687
Log message:
This fixes the problem with trailing whitespace in definitions (bug #356).
Changes | Path |
+1 -1 | libmojave/stdlib/lm_string_util.ml |
+20 -10 | omake/src/env/omake_ast_parse.input |
Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2004-12-13 12:42:33 -0800 (Mon, 13 Dec 2004)
Revision: 688
Log message:
Minor documentation syntax fix.
Changes | Path |
+1 -1 | omake/Pervasives.src |
+1 -1 | omake/lib/Pervasives.om |
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2004-12-14 11:14:26 -0800 (Tue, 14 Dec 2004)
Revision: 689
Log message:
Added initialization files.
Here is the load order.
For omake:
1. ~/.omakeinit
2. Pervasives
3. ~/.omakerc
4. OMakeroot, etc
For osh:
1. ~/.omakeinit
2. Pervasives
3. ~/.oshrc
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2004-12-14 11:57:23 -0800 (Tue, 14 Dec 2004)
Revision: 690
Log message:
Fixed the problem with >>.
I don't know whether to call this a bug with OCaml or Win32.
When a file is opened with Unix.O_APPEND on Win32, the file
position remains at the first character.
The solution is to use Unix.lseek to seek to the end of the
file right after it is opened.
Changes | Path |
+466 -466 | omake/Makefile.dep.nt |
+4 -0 | omake/src/shell/omake_shell_job.ml |
Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2004-12-14 16:19:32 -0800 (Tue, 14 Dec 2004)
Revision: 691
Log message:
Fixed a typo.
Changes | Path |
+1 -1 | omake/OMakeroot.src.in |
Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2004-12-14 16:33:40 -0800 (Tue, 14 Dec 2004)
Revision: 692
Log message:
OCamlLibraryCopy and OCamlLibraryInstall should install both native and
bytecode versions when both BYTE_ENABLED and NATIVE_ENABLED are set. Also,
it should install .a along with .cmxa
Changes | Path |
+2 -2 | omake/OMakeroot.src.in |
Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2004-12-14 17:53:51 -0800 (Tue, 14 Dec 2004)
Revision: 693
Log message:
- (Bug 367) From the make build, call omake once (on all targets) instead of
once per target (which causes problems with "make -j").
- Minor documentation fix.
Changes | Path |
+13 -15 | omake/Makefile.in |
+1 -1 | omake/OMakeroot.src.in |
+176 -14 | omake/doc/html/omake.html |
Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2004-12-14 18:00:14 -0800 (Tue, 14 Dec 2004)
Revision: 694
Log message:
- Added "LaTeXDocument(omake, omake)"
- Minor documentation fix
Changes | Path |
+1 -0 | omake/OMakefile.in |
+1 -0 | omake/src/build/omake_builtin_file.ml |
Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2004-12-14 18:19:27 -0800 (Tue, 14 Dec 2004)
Revision: 695
Log message:
"omake_magic.ml: Makefile" dependency was causing too much issues.
Changes | Path |
+1 -1 | omake/Makefile.in |
+3 -1 | omake/doc/html/omake.html |
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2004-12-15 10:40:26 -0800 (Wed, 15 Dec 2004)
Revision: 696
Log message:
Fixed the problem with Map.add returning a bogus object.
Changes | Path |
+6 -6 | omake/Pervasives.src |
+6 -6 | omake/lib/Pervasives.om |
+41 -31 | omake/src/build/omake_builtin_object.ml |
+2 -0 | omake/src/eval/omake_value.ml |
+1 -0 | omake/src/eval/omake_value.mli |
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2004-12-15 10:47:14 -0800 (Wed, 15 Dec 2004)
Revision: 697
Log message:
Added some .PHONY documentation.
Changes | Path |
+21 -0 | omake/src/build/omake_builtin_base.ml |
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2004-12-15 12:03:38 -0800 (Wed, 15 Dec 2004)
Revision: 698
Log message:
Parenthesized shell commands (bug #315) are now handled properly.
Changes | Path |
+36 -0 | omake/src/eval/omake_rule.ml |
+91 -3 | omake/src/shell/omake_shell_job.ml |
+109 -43 | omake/src/shell/omake_shell_parse.mly |
+13 -1 | omake/src/shell/omake_shell_type.ml |
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2004-12-15 12:33:04 -0800 (Wed, 15 Dec 2004)
Revision: 699
Log message:
Add a warning when rules are discarded (bug #332).
Changes | Path |
+6 -1 | omake/src/eval/omake_rule.ml |
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2004-12-15 13:08:14 -0800 (Wed, 15 Dec 2004)
Revision: 700
Log message:
Limit what cd exports.
Changes | Path |
+1 -1 | omake/src/build/omake_builtin_shell.ml |
+1 -0 | omake/src/env/omake_env.ml |
+1 -0 | omake/src/env/omake_env.mli |
+4 -0 | omake/src/eval/omake_eval.ml |
+1 -1 | omake/src/eval/omake_rule.ml |
Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2004-12-15 13:34:24 -0800 (Wed, 15 Dec 2004)
Revision: 701
Log message:
Fixing the OCamlSort on combined byte/native compilation.
Changes | Path |
+1 -0 | omake/OMakeroot.src.in |
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2004-12-16 08:08:07 -0800 (Thu, 16 Dec 2004)
Revision: 702
Log message:
This adds support for commands like (cd foo; ...) as mentioned in bug #333.
The solution here is to thread the venv through the shell commands as
they are evaluated, and not fork subjobs unless necessary.
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2004-12-16 10:04:30 -0800 (Thu, 16 Dec 2004)
Revision: 703
Log message:
Restart omake when one of the source files changes (this is bug #338).
Changes | Path |
+174 -141 | omake/src/build/omake_build.ml |
+1 -1 | omake/src/build/omake_build_type.ml |
+19 -11 | omake/src/clib/omake_notify.c |
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2004-12-16 11:05:09 -0800 (Thu, 16 Dec 2004)
Revision: 704
Log message:
Fixed the problem with method names in Pervasives (bug #360).
Changes | Path |
+15 -15 | omake/Pervasives.src |
+15 -15 | omake/lib/Pervasives.om |
+1 -0 | omake/src/env/omake_ast_lex.mll |
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2004-12-16 11:05:59 -0800 (Thu, 16 Dec 2004)
Revision: 705
Log message:
Didn't mean to commit this debugging statement.
Changes | Path |
+0 -1 | omake/src/env/omake_ast_lex.mll |
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2004-12-16 11:24:16 -0800 (Thu, 16 Dec 2004)
Revision: 706
Log message:
Close the output channel only after the entire command is finished
(bug #368).
Changes | Path |
+5 -2 | omake/src/exec/omake_exec_local.ml |
Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2004-12-16 16:25:51 -0800 (Thu, 16 Dec 2004)
Revision: 707
Log message:
(Bug 311) The "@" prefix in commands should only suppress printing of the
actual command, but not the of the omake's command status information.
Changes | Path |
+10 -11 | omake/src/exec/omake_exec_print.ml |
Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2004-12-16 16:26:09 -0800 (Thu, 16 Dec 2004)
Revision: 708
Log message:
Documentation sync
Changes | Path |
+23 -1 | omake/doc/html/omake.html |
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2004-12-16 16:57:48 -0800 (Thu, 16 Dec 2004)
Revision: 709
Log message:
Try to print the source files when a build fails (bug #148).
Changes | Path |
+18 -16 | omake/Makefile.dep.nt |
+1 -1 | omake/doc/html/omake.html |
+29 -1 | omake/src/build/omake_build.ml |
+11 -0 | omake/src/ir/omake_node.ml |
+5 -0 | omake/src/ir/omake_node_sig.ml |
Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2004-12-16 17:50:33 -0800 (Thu, 16 Dec 2004)
Revision: 710
Log message:
There is probably no need to run autoconf from the spec file.
Changes | Path |
+1 -1 | omake/omake.spec |
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2004-12-17 12:03:31 -0800 (Fri, 17 Dec 2004)
Revision: 711
Log message:
Preliminary port to Windows NT.
Changes | Path |
+468 -466 | omake/Makefile.dep.nt |
+10 -3 | omake/config.nt |
+17 -0 | omake/src/clib/fam_win32.c |
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2004-12-17 20:42:14 -0800 (Fri, 17 Dec 2004)
Revision: 712
Log message:
1. Add an installer for Win32, so we distribute in the normal way,
instead of by .zip file.
2. Add a compatibility layer that probes for functions, so that we
can use the same executable on all versions of Windows (NT/2000/XP).
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2004-12-17 21:04:26 -0800 (Fri, 17 Dec 2004)
Revision: 713
Log message:
Works fine on Windows 2000.
Changes | Path |
+466 -464 | omake/Makefile.dep.nt |
+0 -13 | omake/config.nt |
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2004-12-17 21:35:05 -0800 (Fri, 17 Dec 2004)
Revision: 714
Log message:
Additional probes needed for Windows NT.
Changes | Path |
+19 -0 | omake/compat_win32.c |
+3 -0 | omake/compat_win32.h |
+3 -3 | omake/src/clib/omake_shell_sys.c |
Changes by: ( at unknown.email)
Date: 2004-12-17 21:35:05 -0800 (Fri, 17 Dec 2004)
Revision: 715
Log message:
This commit was manufactured by cvs2svn to create branch
'version_0_9_4'.
Changes | Path |
Copied | omake-branches/version_0_9_4 |
Deleted | omake-branches/version_0_9_4/lm_symbol_omake.ml |
Changes by: ( at unknown.email)
Date: 2004-12-17 21:35:05 -0800 (Fri, 17 Dec 2004)
Revision: 716
Log message:
This commit was manufactured by cvs2svn to create branch 'vpath'.
Changes | Path |
Copied | omake-branches/vpath |
Deleted | omake-branches/vpath/lm_symbol_omake.ml |
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2004-12-18 12:59:23 -0800 (Sat, 18 Dec 2004)
Revision: 717
Log message:
Created a branch for 0.9.4.
This seems stable, but I'll wait for the goahead before we release.
Changes | Path |
+1 -0 | omake-branches/version_0_9_4/src/ir/omake_node_sig.ml |
+1 -1 | omake-branches/version_0_9_4/version.txt |
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2004-12-19 17:49:57 -0800 (Sun, 19 Dec 2004)
Revision: 718
Log message:
This was an investigation into distributed builds.
The decision is made on the granularity of a rule.
I'm abandoning it, it just won't work this way, because
the environment has to be marshaled, which is impossible.
Changes by: natasha (natasha at unknown.email)
Date: 2004-12-28 12:30:46 -0800 (Tue, 28 Dec 2004)
Revision: 720
Log message:
*.lnk should be ignored (used under Cygwin for symlinks)
Changes | Path |
Properties | omake |
+1 -0 | omake/.cvsignore |
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2004-12-30 11:07:27 -0800 (Thu, 30 Dec 2004)
Revision: 721
Log message:
Convert Makefile.nt to Unix format.
Changes | Path |
+0 -0 | omake/Makefile.nt |
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2004-12-30 11:26:55 -0800 (Thu, 30 Dec 2004)
Revision: 722
Log message:
Use %PROGRAMFILES% instead of c:\Program Files\
Changes | Path |
+464 -466 | omake/Makefile.dep.nt |
+1 -1 | omake/config.nt |
Binary | omake/omake.aip |
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2004-12-31 10:04:26 -0800 (Fri, 31 Dec 2004)
Revision: 723
Log message:
Added extra includes to compat_win32.h
It appears legal to include <windows.h> more than once.
I imagine it has the usual cpp hacking.
Changes | Path |
+466 -464 | omake/Makefile.dep.nt |
+2 -0 | omake/compat_win32.h |
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2004-12-31 10:10:53 -0800 (Fri, 31 Dec 2004)
Revision: 724
Log message:
I don't know how to get the proper location of c:\Program Files\
from the registry, so I just left a comment in config.nt.
Changes | Path |
+8 -0 | omake/config.nt |
Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2004-12-31 15:16:31 -0800 (Fri, 31 Dec 2004)
Revision: 727
Log message:
Fixing a parsing bug (bug 274).
Changes | Path |
+5 -6 | omake/src/env/omake_ast_parse.input |
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2004-12-31 15:51:53 -0800 (Fri, 31 Dec 2004)
Revision: 728
Log message:
Added support for escaped whitespace of the form "\ " in dependencies
(bug #375).
Changes | Path |
+7 -2 | omake/src/env/omake_ast_lex.mll |