Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-08-01 03:47:57 -0700 (Mon, 01 Aug 2005)
Revision: 1279
Log message:
A few fixes in the fsubst example. Thanks to Peter Jolly for reporting these!
Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-08-01 03:49:37 -0700 (Mon, 01 Aug 2005)
Revision: 1280
Log message:
Removing more files that accidentally spilled from the branch to the trunk.
(I've added all these files to version_0_9_7_pre1 branch; not sure whether
it was the right one).
Changes | Path |
Deleted | omake/C.om |
Deleted | omake/Common.om |
Deleted | omake/Install |
Deleted | omake/LaTeX.om |
Deleted | omake/License |
Deleted | omake/OCaml.om |
Deleted | omake/OMakeroot.om |
Deleted | omake/Pervasives.om |
Deleted | omake/Sys.om |
Deleted | omake/lib/.cvsignore |
Deleted | omake/lib/build/.cvsignore |
Deleted | omake/src/ir/omake_virtual_id.ml |
Deleted | omake/src/ir/omake_virtual_id.mli |
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-08-01 12:37:58 -0700 (Mon, 01 Aug 2005)
Revision: 1281
Log message:
I believe this fixes bug #497. The close_next function should
indeed allow arguments after a word delimiter.
Another way to solve this might be to use regular expression
equivalences.
\<\(r == \(\<r
That is a little hard, so we go with expanding the cases close_next
will consider.
Changes | Path |
+149 -109 | libmojave/util/lm_lexer.ml |
Properties | omake/tests/awk |
+1 -0 | omake/tests/awk/.cvsignore |
Added | omake/tests/awk/Subst.in |
Properties | omake/tests/awk/Subst.in |
Added | omake/tests/awk/Test3 |
Properties | omake/tests/awk/Test3 |
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-08-01 15:14:25 -0700 (Mon, 01 Aug 2005)
Revision: 1282
Log message:
This is a highly experimental attempt to strengthen static information.
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-08-01 16:38:02 -0700 (Mon, 01 Aug 2005)
Revision: 1283
Log message:
Free variables do not include the case labels, nor numeric symbols.
This addresses bug #498.
Changes | Path |
+15 -12 | omake/src/env/omake_ir_free_vars.ml |
Properties | omake/tests/awk/Test4 |
Added | omake/tests/awk/Test4/.cvsignore |
Properties | omake/tests/awk/Test4/.cvsignore |
Added | omake/tests/awk/Test4/OMakefile |
Properties | omake/tests/awk/Test4/OMakefile |
Added | omake/tests/awk/Test4/OMakeroot |
Properties | omake/tests/awk/Test4/OMakeroot |
Added | omake/tests/awk/Test4/Subst.in |
Properties | omake/tests/awk/Test4/Subst.in |
Changes by: ( at unknown.email)
Date: 2005-08-01 16:38:02 -0700 (Mon, 01 Aug 2005)
Revision: 1284
Log message:
This commit was manufactured by cvs2svn to create branch
'omake_0_9_7_pre2'.
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-08-03 15:04:13 -0700 (Wed, 03 Aug 2005)
Revision: 1285
Log message:
Added partial support for keyword arguments.
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-08-05 10:43:01 -0700 (Fri, 05 Aug 2005)
Revision: 1286
Log message:
Added keyword arguments.
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-08-05 13:51:25 -0700 (Fri, 05 Aug 2005)
Revision: 1288
Log message:
Backported the new lib/ organization.
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-08-05 14:07:08 -0700 (Fri, 05 Aug 2005)
Revision: 1289
Log message:
Add the raw OMakefile so we can use it on Win32.
Changes | Path |
Added | omake/OMakefile |
Properties | omake/OMakefile |
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-08-05 14:11:02 -0700 (Fri, 05 Aug 2005)
Revision: 1290
Log message:
Turn off man pages for Win32.
Changes | Path |
+12 -11 | omake/OMakefile |
+12 -11 | omake/OMakefile.in |
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-08-05 14:15:33 -0700 (Fri, 05 Aug 2005)
Revision: 1291
Log message:
More Win32 changes.
Changes | Path |
+11 -8 | omake/OMakefile |
+11 -8 | omake/OMakefile.in |
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-08-05 14:19:01 -0700 (Fri, 05 Aug 2005)
Revision: 1292
Log message:
Set CFLAGS correctly on Win32.
Changes | Path |
+4 -0 | omake/OMakefile |
+4 -0 | omake/OMakefile.in |
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-08-05 14:23:43 -0700 (Fri, 05 Aug 2005)
Revision: 1293
Log message:
Get OCAMLLIB from the environment.
Changes | Path |
+1 -1 | omake/OMakefile |
+1 -1 | omake/OMakefile.in |
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-08-05 14:29:22 -0700 (Fri, 05 Aug 2005)
Revision: 1294
Log message:
Add the threads library.
Changes | Path |
+10 -3 | omake/OMakefile |
+10 -3 | omake/OMakefile.in |
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-08-05 14:31:36 -0700 (Fri, 05 Aug 2005)
Revision: 1295
Log message:
The FAM_CCLIBS don't exist on Win32.
Changes | Path |
+5 -1 | omake/OMakefile |
+5 -1 | omake/OMakefile.in |
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-08-05 14:35:07 -0700 (Fri, 05 Aug 2005)
Revision: 1296
Log message:
Hack the program files for now.
Changes | Path |
+2 -0 | omake/OMakefile |
+2 -0 | omake/OMakefile.in |
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-08-05 14:36:51 -0700 (Fri, 05 Aug 2005)
Revision: 1297
Log message:
Quite the install directories.
Changes | Path |
+3 -3 | omake/OMakefile |
+3 -3 | omake/OMakefile.in |
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-08-05 14:40:56 -0700 (Fri, 05 Aug 2005)
Revision: 1298
Log message:
Use mkdir to make directories.
Changes | Path |
+5 -5 | omake/OMakefile |
+5 -5 | omake/OMakefile.in |
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-08-05 14:42:33 -0700 (Fri, 05 Aug 2005)
Revision: 1299
Log message:
Quote the filenames because they might have spaces in them.
Changes | Path |
+10 -10 | omake/OMakefile |
+10 -10 | omake/OMakefile.in |
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-08-05 14:44:54 -0700 (Fri, 05 Aug 2005)
Revision: 1300
Log message:
Use cp instead of install.
Changes | Path |
+6 -6 | omake/OMakefile |
+6 -6 | omake/OMakefile.in |
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-08-05 14:52:43 -0700 (Fri, 05 Aug 2005)
Revision: 1301
Log message:
Allow cp to specify the file mode.
Changes | Path |
+6 -6 | omake/OMakefile |
+6 -6 | omake/OMakefile.in |
+12 -2 | omake/src/build/omake_builtin_file.ml |
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-08-05 14:54:49 -0700 (Fri, 05 Aug 2005)
Revision: 1302
Log message:
Working omake on Win32.
Changes | Path |
+1 -0 | omake/Makefile.nt |
+7 -3 | omake/config.nt |
+2 -0 | omake/src/clib/fam_kqueue.c |
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-08-05 15:00:40 -0700 (Fri, 05 Aug 2005)
Revision: 1303
Log message:
Final cleanup.
Changes | Path |
+6 -6 | omake/OMakefile |
+6 -6 | omake/OMakefile.in |
+8 -0 | omake/src/build/omake_builtin_file.ml |
Changes by: ( at unknown.email)
Date: 2005-08-05 15:00:40 -0700 (Fri, 05 Aug 2005)
Revision: 1304
Log message:
This commit was manufactured by cvs2svn to create branch
'omake_0_9_7_pre3'.
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-08-06 08:52:38 -0700 (Sat, 06 Aug 2005)
Revision: 1305
Log message:
Merge against the trunk.
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-08-06 15:43:46 -0700 (Sat, 06 Aug 2005)
Revision: 1306
Log message:
Massive directory reorganization.
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-08-06 15:58:03 -0700 (Sat, 06 Aug 2005)
Revision: 1307
Log message:
Put everything un the src/ directory.
Changes | Path |
+7 -47 | omake/OMakefile |
+34 -0 | omake/doc/OMakefile |
+34 -34 | omake/src/magic/OMakefile |
+6 -3 | omake/src/magic/omake_gen_magic.ml |
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-08-06 17:18:36 -0700 (Sat, 06 Aug 2005)
Revision: 1308
Log message:
Re-added Makefiles.
NOTE: this only builds byte-code for bootstrapping. Normally, you
will use omake to build omake.
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-08-06 17:26:47 -0700 (Sat, 06 Aug 2005)
Revision: 1309
Log message:
More minor changes.
Changes | Path |
Properties | omake |
+2 -63 | omake/.cvsignore |
Added | omake/Makefile |
Properties | omake/Makefile |
+0 -2 | omake/OMakefile |
+1 -1 | omake/doc/OMakefile |
+1 -1 | omake/mk/defaults |
+1 -1 | omake/src/main/OMakefile |
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-08-06 17:49:49 -0700 (Sat, 06 Aug 2005)
Revision: 1310
Log message:
Re-adding the Win32 Makefiles.
Changes | Path |
+21 -126 | omake/Makefile.nt |
Added | omake/mk/config.nt |
Properties | omake/mk/config.nt |
Added | omake/src/ast/Makefile.nt |
Properties | omake/src/ast/Makefile.nt |
Added | omake/src/build/Makefile.nt |
Properties | omake/src/build/Makefile.nt |
+5 -6 | omake/src/clib/Makefile |
Added | omake/src/clib/Makefile.nt |
Properties | omake/src/clib/Makefile.nt |
Added | omake/src/env/Makefile.nt |
Properties | omake/src/env/Makefile.nt |
Added | omake/src/eval/Makefile.nt |
Properties | omake/src/eval/Makefile.nt |
Added | omake/src/exec/Makefile.nt |
Properties | omake/src/exec/Makefile.nt |
Added | omake/src/ir/Makefile.nt |
Properties | omake/src/ir/Makefile.nt |
Added | omake/src/libmojave/Makefile.nt |
Properties | omake/src/libmojave/Makefile.nt |
Added | omake/src/main/Makefile.nt |
Properties | omake/src/main/Makefile.nt |
Added | omake/src/shell/Makefile.nt |
Properties | omake/src/shell/Makefile.nt |
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-08-06 19:29:47 -0700 (Sat, 06 Aug 2005)
Revision: 1311
Log message:
Win32 now bootstraps.
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-08-06 19:45:58 -0700 (Sat, 06 Aug 2005)
Revision: 1312
Log message:
Define CC in .config.
Changes | Path |
+5 -3 | omake/OMakefile |
+6 -0 | omake/mk/make_config |
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-08-06 20:05:45 -0700 (Sat, 06 Aug 2005)
Revision: 1313
Log message:
Some updates to get make to work.
Changes | Path |
+1 -0 | omake/Makefile |
+4 -1 | omake/mk/config.make |
+6 -5 | omake/src/clib/Makefile |
+4 -0 | omake/src/env/Makefile |
+6 -1 | omake/src/shell/Makefile |
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-08-06 20:11:55 -0700 (Sat, 06 Aug 2005)
Revision: 1314
Log message:
Almost get make to compile from scratch.
Changes | Path |
+2 -0 | omake/src/libmojave/Makefile |
+1 -0 | omake/src/shell/Makefile |
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-08-06 20:18:20 -0700 (Sat, 06 Aug 2005)
Revision: 1315
Log message:
Bleh, make is so damaged. I'm keeping trying to get it to build from
scratch.
Changes | Path |
+1 -0 | omake/src/shell/Makefile |
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-08-06 20:22:01 -0700 (Sat, 06 Aug 2005)
Revision: 1316
Log message:
Force make to quit when an error happens.
Changes | Path |
+1 -1 | omake/Makefile |
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-08-06 20:26:21 -0700 (Sat, 06 Aug 2005)
Revision: 1317
Log message:
Still convincing make that it can do the job.
Changes | Path |
+1 -1 | omake/Makefile |
+1 -1 | omake/src/env/Makefile |
+1 -0 | omake/src/util/Makefile |
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-08-07 10:11:25 -0700 (Sun, 07 Aug 2005)
Revision: 1318
Log message:
Remove some junk files.
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-08-07 10:45:47 -0700 (Sun, 07 Aug 2005)
Revision: 1319
Log message:
Remove a few files.
Changes | Path |
Deleted | omake/Makefile.dep.nt |
+5 -4 | omake/OMakefile |
+1 -1 | omake/OMakeroot |
+4 -64 | omake/mk/defaults |
+12 -6 | omake/mk/make_config |
Deleted | omake/omake-doc.awk |
+3 -1 | omake/src/build/omake_build.ml |
Deleted | omake/version.var |
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-08-07 11:08:59 -0700 (Sun, 07 Aug 2005)
Revision: 1320
Log message:
Forgot to add these configure files.
Changes | Path |
Added | omake/lib/configure/fam.om |
Properties | omake/lib/configure/fam.om |
Added | omake/lib/configure/ncurses.om |
Properties | omake/lib/configure/ncurses.om |
Added | omake/lib/configure/readline.om |
Properties | omake/lib/configure/readline.om |
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-08-07 18:56:16 -0700 (Sun, 07 Aug 2005)
Revision: 1321
Log message:
Actually use the configuration variables.
Changes | Path |
+1 -1 | omake/Makefile |
+11 -1 | omake/OMakefile |
+12 -5 | omake/lib/configure/fam.om |
+1 -1 | omake/lib/configure/readline.om |
+11 -0 | omake/mk/make_config |
Changes by: ( at unknown.email)
Date: 2005-08-07 19:10:18 -0700 (Sun, 07 Aug 2005)
Revision: 1322
Log message:
This commit was manufactured by cvs2svn to create branch
'omake_0_9_7_pre4'.
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-08-07 19:10:18 -0700 (Sun, 07 Aug 2005)
Revision: 1323
Log message:
Merged against the trunk. This also fixes a few minor linking issues.
Changes by: ( at unknown.email)
Date: 2005-08-07 19:10:18 -0700 (Sun, 07 Aug 2005)
Revision: 1324
Log message:
This commit was manufactured by cvs2svn to create branch
'omake_0_9_7_pre4'.
Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-08-08 09:52:16 -0700 (Mon, 08 Aug 2005)
Revision: 1325
Log message:
Once again files were added on the trunk instead of on a branch :-(( Fixing.
Changes | Path |
Deleted | libmojave/util/.#lm_hash.mli |
Deleted | omake/src/ir/omake_virtual_id.ml |
Deleted | omake/src/ir/omake_virtual_id.mli |
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-08-08 17:14:21 -0700 (Mon, 08 Aug 2005)
Revision: 1326
Log message:
Try auto-generating the Makefile.
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-08-09 12:07:41 -0700 (Tue, 09 Aug 2005)
Revision: 1327
Log message:
Auto-generate the Makefiles.
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-08-09 12:45:12 -0700 (Tue, 09 Aug 2005)
Revision: 1328
Log message:
Some dependencies were missing.
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-08-09 12:46:50 -0700 (Tue, 09 Aug 2005)
Revision: 1329
Log message:
ocamldep doesn't take any flags.
Changes | Path |
+1 -1 | omake/mk/make_gen |
+1 -1 | omake/src/Makefile |
+1 -1 | omake/src/Makefile.nt |
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-08-09 12:51:17 -0700 (Tue, 09 Aug 2005)
Revision: 1330
Log message:
Doh! Win32 includes the quotes in echo, like
dos> echo "Hello world"
"Hello world"
Changes | Path |
+1 -1 | omake/mk/make_gen |
+3 -3 | omake/src/Makefile |
+3 -3 | omake/src/Makefile.nt |
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-08-09 12:53:11 -0700 (Tue, 09 Aug 2005)
Revision: 1331
Log message:
Forgot to include fam_pseudo.h
Changes | Path |
+2 -0 | omake/src/Makefile |
+2 -0 | omake/src/Makefile.nt |
+1 -0 | omake/src/clib/OMakefile |
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-08-09 12:56:28 -0700 (Tue, 09 Aug 2005)
Revision: 1332
Log message:
Include xplicit files.
Changes | Path |
+1 -2 | omake/mk/make_gen |
+5 -5 | omake/src/Makefile |
+5 -5 | omake/src/Makefile.nt |
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-08-09 12:58:48 -0700 (Tue, 09 Aug 2005)
Revision: 1333
Log message:
Add threads.cma
Changes | Path |
+4 -2 | omake/mk/make_gen |
+6 -5 | omake/src/Makefile |
+7 -6 | omake/src/Makefile.nt |
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-08-09 13:00:28 -0700 (Tue, 09 Aug 2005)
Revision: 1334
Log message:
Win32 \\
Changes | Path |
+1 -1 | omake/mk/make_gen |
+1 -1 | omake/src/Makefile.nt |
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-08-09 13:01:13 -0700 (Tue, 09 Aug 2005)
Revision: 1335
Log message:
.cma --> threads.cma
Changes | Path |
+1 -1 | omake/mk/make_gen |
+1 -1 | omake/src/Makefile.nt |
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-08-09 13:37:54 -0700 (Tue, 09 Aug 2005)
Revision: 1336
Log message:
Added the get-registry function.
Changes | Path |
+53 -0 | omake/doc/man/omake-base.1 |
+53 -0 | omake/doc/man/omake-doc.1 |
+1 -1 | omake/mk/defaults |
+102 -9 | omake/src/build/omake_builtin_base.ml |
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-08-09 13:59:02 -0700 (Tue, 09 Aug 2005)
Revision: 1337
Log message:
Filenames are case-insentivie on Win32, so it is bad to name
a file Install.
Changes | Path |
+4 -1 | omake/Makefile.nt |
+1 -1 | omake/OMakeroot |
Added | omake/lib/boot/Default |
Properties | omake/lib/boot/Default |
Deleted | omake/lib/boot/Install |
+15 -13 | omake/mk/make_gen |
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-08-09 14:11:50 -0700 (Tue, 09 Aug 2005)
Revision: 1338
Log message:
Add lm_hash.mli on the trunk to avoid cvs problems.
Changes | Path |
Added | libmojave/util/lm_hash.mli |
Properties | libmojave/util/lm_hash.mli |
+3 -1 | omake/src/Makefile |
+3 -1 | omake/src/Makefile.nt |
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-08-09 15:02:47 -0700 (Tue, 09 Aug 2005)
Revision: 1339
Log message:
Add an INSTALL file.
Changes | Path |
Added | omake/INSTALL |
Properties | omake/INSTALL |
Deleted | omake/README.Debian |
Deleted | omake/README.Unix |
+6 -9 | omake/README.WIN32 |
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-08-09 15:15:09 -0700 (Tue, 09 Aug 2005)
Revision: 1340
Log message:
Add empty omake_virtual_id.ml{,i} to avoid cvs problems.
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-08-09 15:20:35 -0700 (Tue, 09 Aug 2005)
Revision: 1341
Log message:
Lm_hash -> Lm_symbol
Changes | Path |
+1 -1 | omake/src/libmojave/OMakefile |
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-08-09 15:25:51 -0700 (Tue, 09 Aug 2005)
Revision: 1342
Log message:
Set the bootstrap library directory.
Changes | Path |
+1 -1 | omake/src/Makefile |
+1 -1 | omake/src/Makefile.nt |
+1 -1 | omake/src/magic/OMakefile |
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-08-09 15:40:37 -0700 (Tue, 09 Aug 2005)
Revision: 1343
Log message:
build needs the -linkall option
Changes | Path |
+2 -1 | omake/mk/make_gen |
+22 -12 | omake/src/Makefile |
+22 -12 | omake/src/Makefile.nt |
+1 -0 | omake/src/build/OMakefile |
+2 -2 | omake/src/magic/OMakefile |
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-08-09 16:24:43 -0700 (Tue, 09 Aug 2005)
Revision: 1344
Log message:
Backport the builtin install.
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-08-09 16:37:23 -0700 (Tue, 09 Aug 2005)
Revision: 1345
Log message:
Some dependency for src/Makefile is going wrong.
Changes | Path |
+1 -1 | omake/mk/make_gen |
+2 -2 | omake/src/Makefile |
+2 -2 | omake/src/Makefile.nt |
Changes by: ( at unknown.email)
Date: 2005-08-09 16:37:23 -0700 (Tue, 09 Aug 2005)
Revision: 1346
Log message:
This commit was manufactured by cvs2svn to create branch
'omake_0_9_7_pre5'.
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-08-09 16:56:51 -0700 (Tue, 09 Aug 2005)
Revision: 1347
Log message:
Merged against the trunk.
Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-08-11 16:46:29 -0700 (Thu, 11 Aug 2005)
Revision: 1348
Log message:
Removed "--lib ./lib" from the gen_magic call to avoid problems with
omake-boot complaining that the directory is relative.
Changes | Path |
+3 -3 | omake/src/Makefile |
+3 -3 | omake/src/Makefile.nt |
+1 -1 | omake/src/magic/OMakefile |
Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-08-11 16:57:17 -0700 (Thu, 11 Aug 2005)
Revision: 1349
Log message:
MAN_ENABLED should be set based on a static check for latex2man (it used to
_always_ be set to true on Unix, which is incorrect when latex2man is not
installed).
Changes | Path |
+12 -1 | omake/OMakefile |
+2 -0 | omake/doc/OMakefile |
Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-08-11 17:18:38 -0700 (Thu, 11 Aug 2005)
Revision: 1350
Log message:
iAccidentally came across a case where set_stdout was recursively calling
set_stdin instead of set_stdout in one case. Oops!
Changes | Path |
+1 -1 | omake/src/shell/omake_shell_parse.mly |
Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-08-11 17:19:22 -0700 (Thu, 11 Aug 2005)
Revision: 1351
Log message:
Ping Jason:
For some reason, this keeps changing back and forth for me. Any ideas why?
Changes | Path |
+2 -2 | omake/src/Makefile |
+2 -2 | omake/src/Makefile.nt |
Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-08-11 17:20:18 -0700 (Thu, 11 Aug 2005)
Revision: 1352
Log message:
Fixed some problems with latex2man detection. For some reason I failed to
get rid of stderr output in $(shell ...).
Changes | Path |
+2 -1 | omake/OMakefile |
Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-08-11 17:20:39 -0700 (Thu, 11 Aug 2005)
Revision: 1353
Log message:
Slightly better documentation for TEXINPUTS.
Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-08-11 22:59:58 -0700 (Thu, 11 Aug 2005)
Revision: 1354
Log message:
There were a number of incompatible changes, increasing the version number.
Changes | Path |
+1 -1 | omake/version.txt |
Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-08-12 16:48:50 -0700 (Fri, 12 Aug 2005)
Revision: 1355
Log message:
Bug 496 - do not use $(EXE) in ocamlfind arguments.
Changes | Path |
+7 -3 | omake/lib/build/OCaml.om |
Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-08-12 16:59:28 -0700 (Fri, 12 Aug 2005)
Revision: 1356
Log message:
My previous bug 496 fix was incomplete, finishing it.
Changes | Path |
+7 -3 | omake/lib/build/OCaml.om |
Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-08-12 18:31:51 -0700 (Fri, 12 Aug 2005)
Revision: 1357
Log message:
Added dependencies to the install rule (it's nice to actually have the files
we are going to be installing ;-) ).
Changes | Path |
+1 -1 | omake/src/main/OMakefile |
Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-08-12 18:46:46 -0700 (Fri, 12 Aug 2005)
Revision: 1358
Log message:
Bug 496 - attempting to fix "which" on Cygwin.
Changes | Path |
+14 -2 | libmojave/stdlib/lm_filename_util.ml |
+10 -18 | omake/lib/build/OCaml.om |
Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-08-13 17:03:13 -0700 (Sat, 13 Aug 2005)
Revision: 1360
Log message:
I think this file was unused for a long time.
Changes | Path |
Deleted | omake/lm_symbol_omake.ml |
Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-08-15 21:13:57 -0700 (Mon, 15 Aug 2005)
Revision: 1363
Log message:
Slight improvements in install rules.
Changes | Path |
+0 -2 | omake/OMakefile |
+1 -1 | omake/doc/OMakefile |
+3 -2 | omake/src/main/OMakefile |
Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-08-15 21:22:01 -0700 (Mon, 15 Aug 2005)
Revision: 1364
Log message:
Corrected the standard OMakeroots.
Changes | Path |
+4 -3 | omake/lib/OMakeroot.om |
+4 -3 | omake/lib/boot/Default |
Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-08-16 17:25:52 -0700 (Tue, 16 Aug 2005)
Revision: 1365
Log message:
Restored the "HAVE_FAMNOEXISTS" configure test (that enables Gamin-specific
optimizations in case the FAM interface is provided by Gamin).
Changes | Path |
+7 -0 | omake/lib/configure/fam.om |
Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-08-16 17:43:21 -0700 (Tue, 16 Aug 2005)
Revision: 1366
Log message:
Makefile.dep depends on the generated files.
Changes | Path |
+6 -0 | omake/mk/make_gen |
+3 -0 | omake/src/Makefile |
+3 -0 | omake/src/Makefile.nt |
Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-08-16 18:18:28 -0700 (Tue, 16 Aug 2005)
Revision: 1367
Log message:
- When .config is not there, pay attention to CC, CFLAGS, PREFIX environment
variables.
- Added "make all" and "make install" that not only build "omake-boot", but
also use it to build/install the normal OMake binary.
Changes | Path |
+15 -3 | omake/Makefile |
+1 -1 | omake/OMakefile |
+1 -1 | omake/lib/configure/fam.om |
+7 -2 | omake/mk/defaults |
+1 -0 | omake/mk/make_config |
Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-08-16 18:21:21 -0700 (Tue, 16 Aug 2005)
Revision: 1368
Log message:
When building via make, keep all the .omc files in .omake
Changes | Path |
Properties | omake |
+1 -0 | omake/.cvsignore |
+4 -4 | omake/Makefile |
Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-08-16 18:52:29 -0700 (Tue, 16 Aug 2005)
Revision: 1369
Log message:
Avoid cases of "configure" and .config fighting. (In particular, when .config
exists, then configure invocation should be in scape of .config in order to
account for situatuions where .config defines CFLAGS that affect the configure
results).
Changes | Path |
+0 -26 | omake/OMakefile |
+30 -3 | omake/mk/defaults |
+4 -14 | omake/mk/make_config |
Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-08-16 19:06:07 -0700 (Tue, 16 Aug 2005)
Revision: 1370
Log message:
Reimplemented tests for string.h and strings.h headers (only relevant when
fam_kqueue is used).
Changes | Path |
+8 -0 | omake/lib/configure/Configure.om |
+7 -1 | omake/lib/configure/fam.om |
+0 -1 | omake/src/clib/fam_kqueue.c |
Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-08-16 19:54:54 -0700 (Tue, 16 Aug 2005)
Revision: 1371
Log message:
Made the usage of $(PREFIX) more explicit.
Changes | Path |
+13 -0 | omake/mk/make_config |
Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-08-16 20:05:31 -0700 (Tue, 16 Aug 2005)
Revision: 1372
Log message:
Outside of readline.om, we do not care about ncurses.
Changes | Path |
+0 -3 | omake/mk/defaults |
Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-08-16 20:08:03 -0700 (Tue, 16 Aug 2005)
Revision: 1373
Log message:
Improved the latex2man test.
Changes | Path |
+1 -1 | omake/OMakefile |
Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-08-16 20:24:22 -0700 (Tue, 16 Aug 2005)
Revision: 1374
Log message:
Another fix for the latex2man test.
Changes | Path |
+1 -1 | omake/OMakefile |
Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-08-16 20:36:14 -0700 (Tue, 16 Aug 2005)
Revision: 1375
Log message:
Updating the spec file to work with the new non-autoconf build setup.
Changes | Path |
+1 -1 | omake/OMakefile |
+1 -1 | omake/doc/OMakefile |
+1 -0 | omake/mk/defaults |
+7 -5 | omake/omake.spec |
+2 -2 | omake/src/main/OMakefile |
Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-08-16 20:40:20 -0700 (Tue, 16 Aug 2005)
Revision: 1376
Log message:
More .spec file updates.
Changes | Path |
+12 -4 | omake/omake.spec |
Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-08-16 20:44:14 -0700 (Tue, 16 Aug 2005)
Revision: 1377
Log message:
More RPM-related updates.
Changes | Path |
+2 -2 | omake/Makefile |
+1 -1 | omake/doc/OMakefile |
+3 -2 | omake/omake.spec |
Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-08-16 20:54:29 -0700 (Tue, 16 Aug 2005)
Revision: 1378
Log message:
More RPM-related changes.
Changes | Path |
+2 -3 | omake/Makefile |
+5 -5 | omake/OMakefile |
+10 -10 | omake/doc/OMakefile |
+2 -3 | omake/omake.spec |
+1 -0 | omake/src/main/OMakefile |
Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-08-16 20:58:11 -0700 (Tue, 16 Aug 2005)
Revision: 1379
Log message:
Build src/main/omake, and then use it.
Changes | Path |
+3 -2 | omake/Makefile |
Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-08-16 21:04:17 -0700 (Tue, 16 Aug 2005)
Revision: 1380
Log message:
Pass "-q" to ocamllex.
Changes by: Nathaniel Gray (n8gray at cs.caltech.edu)
Date: 2005-08-16 23:40:27 -0700 (Tue, 16 Aug 2005)
Revision: 1381
Log message:
Remove -lfam when kqueue is being used. I'm not sure why the Makefiles were
changed. It looks like omake_ast_parse.cmi no longer depends on magic.cma.
I'll let you guys decide if that makes sense.
Changes | Path |
+1 -1 | omake/lib/configure/fam.om |
+1 -1 | omake/src/Makefile |
+1 -1 | omake/src/Makefile.nt |
Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-08-16 23:58:17 -0700 (Tue, 16 Aug 2005)
Revision: 1382
Log message:
eval and shell modules do not [directly] depend on magic.cma
Changes | Path |
+1 -3 | omake/src/Makefile |
+1 -3 | omake/src/Makefile.nt |
+0 -1 | omake/src/eval/OMakefile |
+0 -1 | omake/src/shell/OMakefile |
Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-08-17 00:16:34 -0700 (Wed, 17 Aug 2005)
Revision: 1383
Log message:
Making "omake clean" more clean.
Changes | Path |
+1 -1 | omake/OMakefile |
+1 -1 | omake/doc/OMakefile |
+1 -1 | omake/src/OMakefile |
+1 -1 | omake/src/env/OMakefile |
+1 -1 | omake/src/magic/OMakefile |
+1 -1 | omake/src/main/OMakefile |
Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-08-17 11:18:06 -0700 (Wed, 17 Aug 2005)
Revision: 1384
Log message:
Use '$(shell ocamlc -where)' to figure out the correct CAMLLIB. Hopefully,
this is sufficiently portable.
Changes | Path |
+1 -1 | omake/mk/make_gen |
+1 -1 | omake/src/Makefile |
Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-08-17 11:20:42 -0700 (Wed, 17 Aug 2005)
Revision: 1385
Log message:
/usr -> /usr/local, per Nathan's request.
Changes | Path |
+3 -3 | omake/mk/defaults |
Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-08-18 18:19:31 -0700 (Thu, 18 Aug 2005)
Revision: 1386
Log message:
Better "If you need to bootstrap, ..." message.
Changes | Path |
+3 -3 | omake/Makefile |
Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-08-19 15:42:11 -0700 (Fri, 19 Aug 2005)
Revision: 1387
Log message:
Bug 499 - open Common from C, LaTeX and OCaml. Do not open it from other places.
Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-08-19 16:15:48 -0700 (Fri, 19 Aug 2005)
Revision: 1388
Log message:
Made the makefiles compatible with the BSD make.
Changes | Path |
+2 -1 | omake/Makefile |
+2 -5 | omake/mk/make_gen |
+2 -5 | omake/src/Makefile |
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-08-19 16:20:32 -0700 (Fri, 19 Aug 2005)
Revision: 1403
Log message:
This is some exploration into dynamic linking. It contains:
- a parser for C code parse/C/{Parse,Lex}.om
- a stub code generator parse/C/Dll.om
The contrib/gtk directory gives an demo for Gtk (I chose Gtk
because it has nice header files, and it is sufficiently
complicated).
I'll write up some docs at some point, but here is the basic idea
of how a DLL is generated.
1. Parse the C header files.
2. Extract the declarations.
3. Generate C stubs for each of the declarations.
4. Produce a (large) C file that can be compiled
and then dynamically linked into your OCaml process.
Doing this all from your OMakefile is pretty simple. Mainly
you need to specify which functions you want to include
in your DLL.
This is reasonably independent from omake, so you can use it as
a generic way to generate wrappers around C functions.
Note that the C file for GTK is perhaps 120k lines of code, so
you get to stress your C compiler too.
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-08-19 16:20:34 -0700 (Fri, 19 Aug 2005)
Revision: 1408
Log message:
This is some exploration into dynamic linking. It contains:
- a parser for C code parse/C/{Parse,Lex}.om
- a stub code generator parse/C/Dll.om
The contrib/gtk directory gives an demo for Gtk (I chose Gtk
because it has nice header files, and it is sufficiently
complicated).
I'll write up some docs at some point, but here is the basic idea
of how a DLL is generated.
1. Parse the C header files.
2. Extract the declarations.
3. Generate C stubs for each of the declarations.
4. Produce a (large) C file that can be compiled
and then dynamically linked into your OCaml process.
Doing this all from your OMakefile is pretty simple. Mainly
you need to specify which functions you want to include
in your DLL.
This is reasonably independent from omake, so you can use it as
a generic way to generate wrappers around C functions.
Note that the C file for GTK is perhaps 120k lines of code, so
you get to stress your C compiler too.
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-08-19 16:39:14 -0700 (Fri, 19 Aug 2005)
Revision: 1409
Log message:
Some variables were incorrectly named.
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-08-20 13:32:02 -0700 (Sat, 20 Aug 2005)
Revision: 1410
Log message:
An intermediate commit before I leave for TPHOLs.
Placing pointers in custom blocks.
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-08-20 14:08:44 -0700 (Sat, 20 Aug 2005)
Revision: 1412
Log message:
Forgot this file.
Changes | Path |
Added | omake-branches/omake_0_9_7_pre5/contrib/gtk/dll.om |
Properties | omake-branches/omake_0_9_7_pre5/contrib/gtk/dll.om |
Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-08-22 22:37:41 -0700 (Mon, 22 Aug 2005)
Revision: 1413
Log message:
Adding a missing $(EXE). Thanks to Janne Hellsten for reporting this.
Changes | Path |
+1 -1 | omake/lib/build/C.om |
Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-08-24 18:32:09 -0700 (Wed, 24 Aug 2005)
Revision: 1414
Log message:
A minor -w improvement: print a message
make[0]: Entering directory `$(absname $(ROOT))\'
at startup when the -w option is enabled.
Changes | Path |
+2 -0 | omake/src/build/omake_build.ml |
Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-08-26 17:08:13 -0700 (Fri, 26 Aug 2005)
Revision: 1415
Log message:
When evaluating a shell script, ExitException should cause osh to exit with
the corresponding code, not print the exception and exit with code 2.
Changes | Path |
+2 -0 | omake/src/main/omake_shell.ml |
Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-08-27 16:03:12 -0700 (Sat, 27 Aug 2005)
Revision: 1416
Log message:
Updated the scanner rules to use pdflatex for scanning when pdflatex is going
to be used for compilation.
Changes | Path |
+38 -39 | omake/lib/build/LaTeX.om |
Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-08-29 00:36:52 -0700 (Mon, 29 Aug 2005)
Revision: 1417
Log message:
(Bug 505) Fixing couple issues with Cygwin compilation. Thanks to Peter Jolly
for reporting them.
Changes | Path |
+1 -1 | omake/OMakefile |
+7 -1 | omake/lib/configure/ncurses.om |
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-08-29 15:24:40 -0700 (Mon, 29 Aug 2005)
Revision: 1426
Log message:
Here are some changes I made at TPHOLs--I'd like to finish this off soon.
Most of these changes have to do with exports.
-- Added exports with values,
f() =
X = ...
export
1
Y = $(f)
This will export X, and define Y as 1.
-- The value in the export block is defined in export
mode. So you no longer have to write that huge
chain of exports. Before we had code like:
foreach(x => $(y))
if ...
z = ...
export
export
export
Now, you can just define it in export mode:
export
foreach(x => $(y))
if ...
z = ...
-- New variables defined in functions are now private.
Private variables are not exported across function boundaries.
Here is the current show-stopper (we always had this problem, we just
never noticed it). What happens with an export from a higher-order function?
The context can be quite different, and the export doesn't always make sense.
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-08-29 19:14:57 -0700 (Mon, 29 Aug 2005)
Revision: 1427
Log message:
Remove ValFunValue, ValMethodValue, and ValClosureValue. I just realized
they weren't needed once the => syntax was introduced. For example,
$(fun x, y, z => e) is really just the identity function, returning a
function of three arguments x, y, z, and body e.
Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-08-29 19:52:59 -0700 (Mon, 29 Aug 2005)
Revision: 1428
Log message:
In "make all" and "make install", touch the .config file to avoid having to
run omake-boot twice (and having the configure tests run twice).
Changes | Path |
+1 -1 | omake/Makefile |
Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-08-30 00:17:45 -0700 (Tue, 30 Aug 2005)
Revision: 1429
Log message:
1) Updating the parsing precedences in osh:
- Pipes are right-associative:
"foo1 | foo2 |& foo3" should _not_ pass foo1's stderr to foo3.
- The "&&" has higher precedence than "||" (same as in tcsh, different from
bash)
- Separately, each of the "&&", "||", and ";" is right-associative (the
semantics is associative, so this does not really matter, but
right-associativity is more efficient at run-time).
The new precedence declaration looks as follows:
%nonassoc TokAmp
%right TokPipe
%right TokSemiColon
%right TokOr
%right TokAnd
%nonassoc TokGreaterThan TokGreaterGreaterThan TokLessThan
2) The group_loc field was redundant and never used, removing.
Changes | Path |
+18 -12 | omake/src/shell/omake_shell_parse.mly |
+1 -2 | omake/src/shell/omake_shell_type.ml |
Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-08-30 01:34:09 -0700 (Tue, 30 Aug 2005)
Revision: 1430
Log message:
Further fixing shell parser's precendences list:
- The pipe has higher precedence that ";" :
"foo1; foo2 | foo3" should redirect only foo2's output, not foo1's.
Now the precedence list looks as follows:
%nonassoc TokAmp
%right TokSemiColon
%right TokPipe
%right TokOr
%right TokAnd
%nonassoc TokGreaterThan TokGreaterGreaterThan TokLessTh
Changes | Path |
+4 -1 | omake/src/shell/omake_shell_parse.mly |
Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-08-30 03:11:52 -0700 (Tue, 30 Aug 2005)
Revision: 1431
Log message:
The side-effects of the last program in a pipeline should be inherited:
"true | cd /tmp; pwd" should print "/tmp".
This is a small step towards solving bug 504.
Changes | Path |
+3 -3 | omake/src/shell/omake_shell_job.ml |
+8 -24 | omake/src/shell/omake_shell_parse.mly |
Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-08-30 03:20:49 -0700 (Tue, 30 Aug 2005)
Revision: 1432
Log message:
Minor code optimization by constant propagation - the "bg" argument to
create_pipe_aux was always equal to "true".
Changes | Path |
+18 -18 | omake/src/shell/omake_shell_job.ml |
Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-08-30 05:25:46 -0700 (Tue, 30 Aug 2005)
Revision: 1433
Log message:
Minor code reorganization: broke some of the large "let rec" apart.
Changes | Path |
+62 -62 | omake/src/shell/omake_shell_job.ml |
Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-08-30 11:56:33 -0700 (Tue, 30 Aug 2005)
Revision: 1434
Log message:
Interactive osh was not passing the IR through the Omake_ir_semant.build_prog!
Changes | Path |
+13 -10 | omake/src/eval/omake_eval.ml |
+4 -0 | omake/src/eval/omake_eval.mli |
+2 -10 | omake/src/main/omake_shell.ml |
Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-08-30 12:11:04 -0700 (Tue, 30 Aug 2005)
Revision: 1435
Log message:
The previous commit (adding the postprocessor to the interactive osh) have
killed the printing of the returned values. Fixing.
Changes | Path |
+6 -0 | omake/src/main/omake_shell.ml |
Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-08-30 12:24:47 -0700 (Tue, 30 Aug 2005)
Revision: 1436
Log message:
Do not compile osh separately, create a symlink to omake instead.
Changes | Path |
+5 -3 | omake/src/main/OMakefile |
Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-08-30 12:48:35 -0700 (Tue, 30 Aug 2005)
Revision: 1437
Log message:
"return" -> "value" in a few places.
Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-08-30 13:06:29 -0700 (Tue, 30 Aug 2005)
Revision: 1438
Log message:
For some reason, the builtin-tex-deps had all its variables declared as
private, which prevented it from working correctly.
Changes | Path |
+1 -0 | omake/lib/build/LaTeX.om |
Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-08-30 20:07:55 -0700 (Tue, 30 Aug 2005)
Revision: 1439
Log message:
Regenerated the Makefiles.
Changes | Path |
+0 -7 | omake/src/Makefile |
+0 -7 | omake/src/Makefile.nt |
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-08-30 20:35:58 -0700 (Tue, 30 Aug 2005)
Revision: 1440
Log message:
This is a solution to the "export problem."
So here was the problem. Suppose you take a higher-order function (that
part is no big deal), but the function ends in an export.
In the non-higher-order case, there is no problem.
X. =
Z = 1
f() =
Z = $(add $Z, 1)
export
# This redefines X as a new object with Z=2
X.f()
But suppose the method escapes.
X. = ...same as before...
# Create a closure
g = $(X.f)
# Call the function, but it exports...
g()
Well, what does the export in g() mean? X isn't mentioned, so it would
be a sad thing to redefine X. It would be even worse (as it is on the
trunk) if the export meant that now Z is defined after the call g().
It could be prevented by disallowing exports from higher-order functions
entirely. But we also have cases where we expect the export to be
effective.
text[] =
foreach(x => a b c)
text[] += $(x)
export
# We expect this to print "a b c"
println($(text))
This commit is permissive about exports. Each scope is assigned an identifier,
and exports are allowed only in identical scopes.
File-level variables are no problem, they are always exported. Object
public/protected variables are exported only within the same object.
Private variables are exported only within the same scope/function body.
This means that the export in the g() above is ineffective.
It also means that private exports also work as expected.
f() =
private.text =
foreach(x => a b c)
text += $(x)
export
# Prints "a b c"
println($(x))
In the next example, the export is ineffective.
g() =
private.x = 1
export
f() =
g()
# This is a link error
println($(x))
Private variables are lexically scoped, as usual. Protected/public have
the usual late-binding meaning. File variables (that is, top-level
variables in a file) are dynamically scoped.
The program in this file will print "2", then "1".
X = 1
g() =
println($(X))
f() =
X = 2
# Prints "2"
g()
# Prints "1"
g()
The program in this file will print "1", then "1".
private.X = 1
g() =
println($(X))
f() =
X = 2
# Prints "1" (private variables are lexically scoped)
g()
# Prints "1"
g()
New definitions in a function body are private by default (so are
the parameters).
File1.om:
X = 1
g() =
println($(X))
File2.om:
import File1
f() =
X = 2 # This new definition is for private.X in f()
File1.g() # This prints "1"
File3.om:
open File1
f() =
X = 2 # This refers to File1.X
g() # This prints "2"
Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-08-30 22:41:35 -0700 (Tue, 30 Aug 2005)
Revision: 1441
Log message:
Bug 369: after evaluating a shell built-in command, rerstore the values of
stdin, stderr, stdout to their original state.
Changes | Path |
+25 -0 | omake/src/env/omake_env.ml |
+9 -0 | omake/src/env/omake_env.mli |
+4 -2 | omake/src/shell/omake_shell_job.ml |
Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-08-30 23:20:27 -0700 (Tue, 30 Aug 2005)
Revision: 1442
Log message:
(Bug 504) Thread the environment through the pipeline as it executes.
Changes | Path |
+20 -33 | omake/src/shell/omake_shell_job.ml |
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-08-31 13:18:49 -0700 (Wed, 31 Aug 2005)
Revision: 1444
Log message:
GTK is working again.
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-08-31 15:05:45 -0700 (Wed, 31 Aug 2005)
Revision: 1445
Log message:
Regenerate the Makefiles.
Changes | Path |
+1 -1 | omake-branches/omake_0_9_7_pre5/mk/make_gen |
+606 -0 | omake-branches/omake_0_9_7_pre5/src/Makefile |
+602 -0 | omake-branches/omake_0_9_7_pre5/src/Makefile.nt |
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-08-31 16:11:47 -0700 (Wed, 31 Aug 2005)
Revision: 1446
Log message:
Removed checking for shadowing definitions. This is a step
toward what Aleksey wants, where new definitions must be
explicitly declared.
Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-08-31 18:24:33 -0700 (Wed, 31 Aug 2005)
Revision: 1447
Log message:
On Windows, the default PREFIX (when everything else fails) should be C:\OMake,
not /usr/local
Changes | Path |
+9 -2 | omake/mk/defaults |
Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-08-31 19:16:26 -0700 (Wed, 31 Aug 2005)
Revision: 1448
Log message:
The *.install files depend on version.txt
Changes | Path |
+1 -1 | omake/OMakefile |
+0 -1 | omake/src/magic/OMakefile |
Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-08-31 19:18:05 -0700 (Wed, 31 Aug 2005)
Revision: 1449
Log message:
(Bug 500) Allow variables that form the implicit value dependencies
to have undefined values.
Note - this changes all the magic numbers.
Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-08-31 21:37:27 -0700 (Wed, 31 Aug 2005)
Revision: 1450
Log message:
Backported a few "MAGICBEGIN/MAGICEND" unnotations (where it shouldn't
create conflicts).
Changes | Path |
+2 -0 | libmojave/util/lm_location.ml |
+6 -0 | omake/src/ir/omake_cache.ml |
+2 -0 | omake/src/ir/omake_cache_type.ml |
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-08-31 22:18:47 -0700 (Wed, 31 Aug 2005)
Revision: 1451
Log message:
Reversed the declaration warning, more like Aleksey wanted it.
The is just short of what Aleksey suggested, but I think we want
to keep it like this. This generates a ton of messages, and I don't
think we want even more annotations.
Here is the rule. You get a warning if:
- you are defining a variable, say
X = ...
- and X is not already declared/defined in the current scope.
If you specify the variable class explicitly, the warning goes away.
The following case is fine:
open build/C
CFLAGS = -g
The following is a warning (and the new definition is different from
the one in build/C).
# Forgot to open build/C
CFLAGS = -g
The following is also fine. The public.CFLAGS refers to the current
file scope, so public.CFLAGS is different from C.CFLAGS.
open build/C
# No effect on C.CFLAGS
public.CFLAGS = hello world
# Explicitly specify C.CFLAGS
C.CFLAGS += -g
Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-08-31 22:39:06 -0700 (Wed, 31 Aug 2005)
Revision: 1452
Log message:
(Bug 501) Allow value to have a body (must be a singleton) instead of an
argument.
Changes | Path |
+4 -4 | omake/mk/defaults |
+3 -2 | omake/src/build/omake_builtin_fun.ml |
+13 -4 | omake/src/env/omake_ir_ast.ml |
Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-08-31 22:41:48 -0700 (Wed, 31 Aug 2005)
Revision: 1453
Log message:
Documentation update.
Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-08-31 22:56:14 -0700 (Wed, 31 Aug 2005)
Revision: 1454
Log message:
The previous fix to bug 501 was incomplete, updating.
Changes | Path |
+10 -6 | omake/src/env/omake_ir_ast.ml |
Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-08-31 23:11:02 -0700 (Wed, 31 Aug 2005)
Revision: 1455
Log message:
Removing an unused file.
Changes | Path |
Deleted | omake/mk/config.make |
Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-08-31 23:12:49 -0700 (Wed, 31 Aug 2005)
Revision: 1456
Log message:
Another obsolete file
Changes | Path |
Deleted | omake/mk/config.nt |