Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2004-07-08 18:33:53 -0700 (Thu, 08 Jul 2004)
Revision: 412
Log message:
Fixing the select hack on win32, I did some of this in Japan.
This is a branch because I'm not sure if we will want to commit it.
The issue is this:
1. omake uses select to poll the running jobs for output.
2. win32 does not support select on pipes, but it does
on sockets.
3. The current hack is to use localhost TCP sockets on win32,
but this is probably slow.
4. This branch will try using threads, and see if it works better.
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2004-07-09 11:46:10 -0700 (Fri, 09 Jul 2004)
Revision: 413
Log message:
This is the thread interface for win32. Timing: 30min(!) to
compile MetaPRL.
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2004-07-10 06:48:54 -0700 (Sat, 10 Jul 2004)
Revision: 414
Log message:
Updates to threads.
Changes | Path |
+4 -4 | omake-branches/thread_select/Makefile.dep.nt |
+26 -8 | omake-branches/thread_select/omake_thread_system.ml |
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2004-07-10 19:27:28 -0700 (Sat, 10 Jul 2004)
Revision: 416
Log message:
Added polling support as Aleksey suggested in bug #228.
Currently only on Linux. I'll see what I can do about Win32.
I have no idea about OS X.
To use it, run "omake -p". This implies the -k option.
When the build is done, it polls the filesystem for changes.
When a change is made, the changed files are rebuilt.
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2004-07-10 19:45:19 -0700 (Sat, 10 Jul 2004)
Revision: 417
Log message:
Merge the thread branch onto the trunk.
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2004-07-11 17:34:23 -0700 (Sun, 11 Jul 2004)
Revision: 419
Log message:
Add filesystem polling for win32.
Changes | Path |
+6 -3 | omake/Files |
+5 -4 | omake/Makefile.nt |
Added | omake/config.nt |
Properties | omake/config.nt |
Added | omake/fam_win32.h |
Properties | omake/fam_win32.h |
+3 -3 | omake/src/build/omake_build.ml |
Added | omake/src/clib/fam_win32.c |
Properties | omake/src/clib/fam_win32.c |
+6 -119 | omake/src/clib/omake_notify.c |
+29 -107 | omake/src/util/omake_notify.ml |
+17 -22 | omake/src/util/omake_notify.mli |
Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2004-07-12 14:19:05 -0700 (Mon, 12 Jul 2004)
Revision: 420
Log message:
Jason made a lot of changes - incrementing the version number.
Changes | Path |
+1 -1 | omake/version.txt |
Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2004-07-12 14:30:56 -0700 (Mon, 12 Jul 2004)
Revision: 421
Log message:
fam-devel is now required for building omake.
Changes | Path |
+1 -1 | omake/omake.spec |
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2004-07-12 16:02:36 -0700 (Mon, 12 Jul 2004)
Revision: 422
Log message:
Poll filesystem while building (not yet finished).
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2004-07-12 16:12:19 -0700 (Mon, 12 Jul 2004)
Revision: 423
Log message:
Forgot to add these files.
Changes | Path |
Added | omake/src/exec/omake_exec_notify.ml |
Properties | omake/src/exec/omake_exec_notify.ml |
Added | omake/src/exec/omake_exec_notify.mli |
Properties | omake/src/exec/omake_exec_notify.mli |
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2004-07-12 19:11:14 -0700 (Mon, 12 Jul 2004)
Revision: 424
Log message:
Poll filesystem during the build too. This is tested on win32 only,
I'll try Linux next.
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2004-07-12 19:34:48 -0700 (Mon, 12 Jul 2004)
Revision: 425
Log message:
Tested on Linux. Better info on status line.
Changes | Path |
+3 -0 | omake/src/build/omake_build.ml |
+1 -1 | omake/src/exec/omake_exec_print.ml |
Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2004-07-12 21:17:34 -0700 (Mon, 12 Jul 2004)
Revision: 426
Log message:
Allow overriding the RELEASE.
Changes | Path |
+4 -2 | omake/config_rpm |
+2 -3 | omake/omake.spec |
Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2004-07-12 21:19:07 -0700 (Mon, 12 Jul 2004)
Revision: 427
Log message:
Typo.
Changes | Path |
+1 -1 | omake/config_rpm |
Changes by: yegor (yegor at unknown.email)
Date: 2004-07-13 08:54:13 -0700 (Tue, 13 Jul 2004)
Revision: 428
Log message:
*.obj added
Changes | Path |
Properties | omake |
+1 -0 | omake/.cvsignore |
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2004-07-13 12:04:56 -0700 (Tue, 13 Jul 2004)
Revision: 429
Log message:
Modifications to the wrong file.
Changes | Path |
+13 -14 | omake/omake_thread_system.ml |
Changes by: Nathaniel Gray (n8gray at cs.caltech.edu)
Date: 2004-07-13 14:38:34 -0700 (Tue, 13 Jul 2004)
Revision: 430
Log message:
To disable FAM you needed to specify --without-ncurses. I presume this was a
bug. :-)
Changes | Path |
+1 -1 | omake/libmojave.m4 |
Changes by: Nathaniel Gray (n8gray at cs.caltech.edu)
Date: 2004-07-13 14:41:03 -0700 (Tue, 13 Jul 2004)
Revision: 431
Log message:
Another s/ncurses/fam/ change.
Changes | Path |
+1 -1 | omake/libmojave.m4 |
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2004-07-13 20:35:16 -0700 (Tue, 13 Jul 2004)
Revision: 432
Log message:
Be more careful about enabling polling.
Changes | Path |
+2 -10 | omake/src/build/omake_build.ml |
+43 -17 | omake/src/exec/omake_exec_notify.ml |
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2004-07-14 13:13:59 -0700 (Wed, 14 Jul 2004)
Revision: 433
Log message:
Added a special-form $<< for lexing. the usage is as follows:
$<< EOF
text
...
text
EOF
This is similar to the << shell redirection. The EOF string is arbitrary.
Variables are expanded in the text block.
Changes | Path |
+5 -3 | omake/omake_ast_parse.mly |
+20 -1 | omake/src/build/omake_builtin_io.ml |
+182 -47 | omake/src/env/omake_ast_lex.mll |
+31 -29 | omake/src/eval/omake_eval.ml |
+1 -1 | omake/version.txt |
Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2004-07-14 13:38:03 -0700 (Wed, 14 Jul 2004)
Revision: 434
Log message:
Better (hopefully) RPM versioning.
Changes | Path |
+2 -0 | omake/make_rpm |
+3 -2 | omake/omake.spec |
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2004-07-14 13:38:50 -0700 (Wed, 14 Jul 2004)
Revision: 435
Log message:
Actually, let's do quotations this way.
Instead of $<<, a $" starts a quotation.
The number of quotes is arbitrary. So we get:
X = A multi-line $"""
string with "quotes
" in it"""
Changes | Path |
+20 -49 | omake/src/env/omake_ast_lex.mll |
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2004-07-14 13:41:09 -0700 (Wed, 14 Jul 2004)
Revision: 436
Log message:
Oops, names should be identifiers.
Changes | Path |
+4 -1 | omake/src/env/omake_ast_lex.mll |
Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2004-07-14 13:50:36 -0700 (Wed, 14 Jul 2004)
Revision: 437
Log message:
With so many recent changes, I think it is time to call it 0.8
Changes | Path |
+1 -1 | omake/version.txt |
Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2004-07-14 14:36:16 -0700 (Wed, 14 Jul 2004)
Revision: 438
Log message:
A newer config.sub (the old one had trouble recognizing the Opteron for some reason).
Changes | Path |
+413 -146 | omake/config.sub |
Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2004-07-14 14:48:00 -0700 (Wed, 14 Jul 2004)
Revision: 439
Log message:
Updated to be able to build omake using omake.
Changes | Path |
+2 -1 | omake/OMakefile.in |
+3 -0 | omake/libmojave.m4 |
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2004-07-14 18:31:40 -0700 (Wed, 14 Jul 2004)
Revision: 440
Log message:
In OCaml 3.08 Win32, the Unix.create_process function is broken (entered
as bug 2939 on the OCaml bug site).
This adds a patch so that we can make some progress.
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2004-07-14 18:32:04 -0700 (Wed, 14 Jul 2004)
Revision: 441
Log message:
Ignore ocaml_patch.ml
Changes | Path |
Properties | omake |
+1 -0 | omake/.cvsignore |
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2004-07-14 19:10:45 -0700 (Wed, 14 Jul 2004)
Revision: 442
Log message:
Added $(exists-in-path ...names...)
Changes | Path |
+2 -2 | omake/OMakeroot.src.in |
+19 -0 | omake/src/build/omake_builtin_file.ml |
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2004-07-16 12:45:06 -0700 (Fri, 16 Jul 2004)
Revision: 443
Log message:
Visual C++ doesn't understand assembly files, so use the assembler
directly. Also, the assembly suffix on Win32 is .asm, not .s, so
we need the usual EXT_AS=.asm method.
It seems that the WaitForMultipleObjects function (it is like select),
can wait for a maximum of 64 handles. With mmc, the number of MetaPRL
directories is 69.
I believe I can do a workaround. The Win32 version of directory changes
allows watching for changes in subdirectories. So basically, we should
watch the MetaPRL directory for changes in all subdirectories. this
will take a little work.
Changes | Path |
+10 -4 | omake/OMakeroot.src.in |
+5 -0 | omake/src/clib/fam_win32.c |
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2004-07-16 13:53:30 -0700 (Fri, 16 Jul 2004)
Revision: 444
Log message:
This adds recursive directory watching on Win32.
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2004-07-16 14:00:32 -0700 (Fri, 16 Jul 2004)
Revision: 445
Log message:
SPACE was not defined. Only watch the current directory if
polling is enabled.
Changes | Path |
+1 -1 | omake/OMakeroot.src.in |
+5 -4 | omake/src/build/omake_build.ml |
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2004-07-16 14:07:46 -0700 (Fri, 16 Jul 2004)
Revision: 446
Log message:
Assembler on Unix does not use the -c option.
Changes | Path |
+2 -2 | omake/OMakeroot.src.in |
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2004-07-19 09:59:18 -0700 (Mon, 19 Jul 2004)
Revision: 447
Log message:
Monitor the project root, not the current directory.
Changes | Path |
+5 -4 | omake/src/build/omake_build.ml |
+14 -5 | omake/src/clib/fam_win32.c |
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2004-07-19 12:00:13 -0700 (Mon, 19 Jul 2004)
Revision: 448
Log message:
For now, do not check on Win32 whether to run bibtex.
Changes | Path |
+35 -14 | omake/OMakeroot.src.in |
+1 -1 | omake/src/clib/fam_win32.c |
Changes by: Nathaniel Gray (n8gray at cs.caltech.edu)
Date: 2004-07-20 14:30:21 -0700 (Tue, 20 Jul 2004)
Revision: 449
Log message:
This commit adds preliminary pseudo-FAM support for OS X 10.3 and above.
Eventually other systems with kqueue (FreeBSD) should be supported. The
kqueue-based monitoring system doesn't work right now, giving invalid file
descriptor errors, but windows and FAM-based monitoring should continue to work
correctly.
Changes include:
1. Moved fam_win32.h -> fam_pseudo.h
2. Added fam_kqueue.c, the kqueue-based implementation of the FAM interface.
3. Added the PSEUDO_FAM compiler flag. This is used on win32 as well.
4. Updated build system to look for kqueue interface if FAM is missing.
5. Changed function names in omake_cnotify.c to avoid collisions with system
libraries in OS X.
6. Minor, unrelated correction to README.WIN32.
You will need to do "rm -rf *.cache configure; autoconf; configure" after
updating.
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2004-07-20 15:38:58 -0700 (Tue, 20 Jul 2004)
Revision: 450
Log message:
It seems like it is not possible to rename a file on Win32
while polling.
Renamed PSEUDO_FAM to FAM_PSEUDO.
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2004-07-20 15:59:19 -0700 (Tue, 20 Jul 2004)
Revision: 451
Log message:
Handle the directory change notification.
Changes | Path |
+49 -0 | omake/src/build/omake_build.ml |
Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2004-07-21 16:27:33 -0700 (Wed, 21 Jul 2004)
Revision: 453
Log message:
Need to increase the version number (in order to account for the "echo" internal
function).
Changes | Path |
+1 -1 | omake/version.txt |
Changes by: Nathaniel Gray (n8gray at cs.caltech.edu)
Date: 2004-07-21 18:19:24 -0700 (Wed, 21 Jul 2004)
Revision: 454
Log message:
The kqueue-based FAM interface seems to work now, but omake doesn't react
properly. I get the correct notification that file foo.c changed, but nothing
gets rebuilt.
Changes | Path |
+39 -16 | omake/src/clib/fam_kqueue.c |
+0 -4 | omake/src/clib/fam_pseudo.h |
+7 -7 | omake/src/clib/omake_notify.c |
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2004-07-21 18:41:50 -0700 (Wed, 21 Jul 2004)
Revision: 455
Log message:
Added StaticCObject(file, deps) to build modules as .o files.
Changes | Path |
+3 -4 | omake/Files |
+39 -0 | omake/OMakeroot.src.in |
+15 -5 | omake/src/build/omake_build.ml |
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2004-07-21 18:57:52 -0700 (Wed, 21 Jul 2004)
Revision: 456
Log message:
Added the --show-dependencies <file> option. This differs only
slightly from --print-dependencies, because <file> is not
treated as a target. The dependencies are printed if the
<file> happens to get built.
Changes | Path |
+1 -0 | omake/src/build/omake_build.ml |
+1 -0 | omake/src/ir/omake_options_type.ml |
+5 -1 | omake/src/ir/omake_state.ml |
+3 -0 | omake/src/util/ocaml_patch_win32.ml |
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2004-07-21 19:41:24 -0700 (Wed, 21 Jul 2004)
Revision: 457
Log message:
Added the $(nth <index>, <list>) function. Bumped the version number.
This change does not affect MetaPRL.
Changes | Path |
+6 -2 | omake/OMakeroot.src.in |
+21 -0 | omake/src/build/omake_builtin_base.ml |
+1 -1 | omake/version.txt |
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2004-07-21 20:17:51 -0700 (Wed, 21 Jul 2004)
Revision: 458
Log message:
Cleanup builtin functions a little.
Changes | Path |
+40 -19 | omake/src/build/omake_builtin_base.ml |
+28 -1 | omake/src/build/omake_builtin_file.ml |
+4 -4 | omake/src/build/omake_builtin_io.ml |
+1 -1 | omake/version.txt |
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2004-07-21 20:27:28 -0700 (Wed, 21 Jul 2004)
Revision: 459
Log message:
cat belongs in builtin_io.ml
Changes | Path |
+1 -28 | omake/src/build/omake_builtin_file.ml |
+31 -1 | omake/src/build/omake_builtin_io.ml |
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2004-07-23 12:24:56 -0700 (Fri, 23 Jul 2004)
Revision: 460
Log message:
Added documentation.
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2004-07-23 16:06:00 -0700 (Fri, 23 Jul 2004)
Revision: 461
Log message:
Forgot this AWK file.
Changes | Path |
Added | omake/omake-doc.awk |
Properties | omake/omake-doc.awk |
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2004-07-23 16:20:19 -0700 (Fri, 23 Jul 2004)
Revision: 462
Log message:
Forgot OMakefile.src
Changes | Path |
Added | omake/OMakefile.src |
Properties | omake/OMakefile.src |
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2004-07-23 16:28:06 -0700 (Fri, 23 Jul 2004)
Revision: 463
Log message:
Fixed the SET_TEXINPUTS problem.
Check for latex2man before building new man pages.
Changes | Path |
+4 -2 | omake/Makefile.in |
+12 -9 | omake/OMakefile.in |
+3 -3 | omake/OMakeroot.src.in |
+3 -0 | omake/configure.in |
+11 -0 | omake/libmojave.m4 |
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2004-07-23 16:28:38 -0700 (Fri, 23 Jul 2004)
Revision: 464
Log message:
Ignore the .default files.
Changes | Path |
Properties | omake |
+2 -2 | omake/.cvsignore |
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2004-07-23 19:05:41 -0700 (Fri, 23 Jul 2004)
Revision: 465
Log message:
Dumb mistake.
Changes | Path |
+1 -1 | omake/Makefile.in |
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2004-07-23 19:13:53 -0700 (Fri, 23 Jul 2004)
Revision: 466
Log message:
Add these generated files, since once again, they can't be generated
on Win32.
Changes | Path |
Added | omake/OMakefile.default |
Properties | omake/OMakefile.default |
Added | omake/OMakeroot.default |
Properties | omake/OMakeroot.default |
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2004-07-23 19:22:49 -0700 (Fri, 23 Jul 2004)
Revision: 467
Log message:
Add the .depend files on Win32.
Changes | Path |
+10 -4 | omake/Makefile.dep.nt |
+11 -1 | omake/Makefile.nt |
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2004-07-25 18:45:50 -0700 (Sun, 25 Jul 2004)
Revision: 468
Log message:
Added anonymous functions.
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2004-07-25 18:47:10 -0700 (Sun, 25 Jul 2004)
Revision: 470
Log message:
Oops, bump the version.
Changes | Path |
+1 -1 | omake/version.txt |
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2004-07-25 21:15:30 -0700 (Sun, 25 Jul 2004)
Revision: 471
Log message:
Added arrays, so finally we can have files with spaces in their name.
The syntax is:
$(array <val1>, ..., <valn>)
or
X[] =
<val_1>
...
<val_n>
The destructor is the usual $(nth <index>, <array>).
Arrays expand with spaces between the names.
X[] =
a b
c d e
f
println(X = $(X))
println(SUFFIX = $(addsuffix .foo, $(X))
Prints:
X = a b c d e f
SUFFIX = a b.foo c d e.foo f.foo
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2004-07-26 10:06:45 -0700 (Mon, 26 Jul 2004)
Revision: 472
Log message:
Fixed a concatenation bug.
Changes | Path |
+13 -12 | omake/src/build/omake_builtin_base.ml |
+31 -21 | omake/src/eval/omake_value.ml |
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2004-07-26 12:54:05 -0700 (Mon, 26 Jul 2004)
Revision: 473
Log message:
The -I in the INCLUDES and OCAMLINCLUDES is now implicit.
Warning: this will change how you define the INCLUDES
path.
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2004-07-26 13:23:41 -0700 (Mon, 26 Jul 2004)
Revision: 475
Log message:
Don't try to take digests of directories.
Changes | Path |
+14 -5 | omake/src/ir/omake_cache.ml |