Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2006-04-03 10:58:58 -0700 (Mon, 03 Apr 2006)
Revision: 9007
Log message:
Minor changes from tracking down OCaml bug.
See http://caml.inria.fr/mantis/view.php?id=3998
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2006-04-03 11:09:27 -0700 (Mon, 03 Apr 2006)
Revision: 9009
Log message:
Remove the debug code from omake_build.
Changes | Path |
+1 -23 | omake-branches/0.9.6.x/src/build/omake_build.ml |
Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2006-04-03 14:51:53 -0700 (Mon, 03 Apr 2006)
Revision: 9010
Log message:
Reverting Jason's accidental change.
Changes | Path |
+1 -2 | omake-branches/0.9.6.x/mk/defaults |
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2006-04-03 15:09:48 -0700 (Mon, 03 Apr 2006)
Revision: 9011
Log message:
Periodically save the .omakedb.
I finally had to implement this because Win32 has no signals.
Cygwin does a hard termination on ^C, so omake doesn't get
a chance to clean up.
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2006-04-09 11:14:21 -0700 (Sun, 09 Apr 2006)
Revision: 9040
Log message:
Added a "scan" function that is like awk, but it is not based on
regular expressions.
The fix in LateX.om is temporary. We need to think of a general
qay to treat quoted (non-Shell) commands. For example, the
following should never be an alias.
osh> \ls *.c
But the current method breaks the stdout-to-stderr function
in LaTeX.om
Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2006-04-10 17:45:54 -0700 (Mon, 10 Apr 2006)
Revision: 9042
Log message:
- Documented the *GeneratedFiles functions.
- Significantly updated the lib/OMakefile.default text in lib/boot/Default:
- Do not recommend overwriting configure-defined variables (so that people
do not unnecessarily restrict portability of their OMakefiles)
- Do not put any configire-derived entries in lib/OMakefile.default (the
build host be different from the host where the omake is being used).
- Added an ocamlfind section
- Added an OCamlGeneratedFiles example.
- Changed "FILES" variables to be an array.
- Changed *Program *Library function usage to
.DEFAULT: $(fooProgram ...)
Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2006-04-10 18:03:28 -0700 (Mon, 10 Apr 2006)
Revision: 9043
Log message:
For completeness, added the OCAMLC_EXISTS variable.
Changes | Path |
+3 -2 | omake-branches/0.9.6.x/lib/build/OCaml.om |
Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2006-04-10 18:09:22 -0700 (Mon, 10 Apr 2006)
Revision: 9044
Log message:
Minor: Jason's last change broke compilation with Gamin, fixing.
Changes | Path |
+1 -1 | omake-branches/0.9.6.x/src/clib/omake_notify.c |
Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2006-04-10 19:08:22 -0700 (Mon, 10 Apr 2006)
Revision: 9045
Log message:
Filling in the changelogs and bumping version number to 0.9.6.9 in preparation
for a release.
Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2006-04-10 19:10:14 -0700 (Mon, 10 Apr 2006)
Revision: 9046
Log message:
Updating the download page in preparation for a release.
Changes | Path |
+12 -5 | omake-branches/0.9.6.x/doc/html/download.html |
Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2006-04-10 19:56:28 -0700 (Mon, 10 Apr 2006)
Revision: 9048
Log message:
Tagging the release.
Changes | Path |
Copied | omake-tags/release-0.9.6.9-1 |
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2006-04-11 14:37:36 -0700 (Tue, 11 Apr 2006)
Revision: 9049
Log message:
Merged with the trunk up through rev 9040.
Going to rename to version 0.9.8
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2006-04-11 14:40:21 -0700 (Tue, 11 Apr 2006)
Revision: 9050
Log message:
Copied 0.9.6.shell to 0.9.8.x
Changes | Path |
Copied | omake-branches/0.9.8.x |
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2006-04-11 15:19:52 -0700 (Tue, 11 Apr 2006)
Revision: 9051
Log message:
The .config was not being created correctly on Win32.
Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2006-04-11 17:09:25 -0700 (Tue, 11 Apr 2006)
Revision: 9054
Log message:
- Changed the version string to "0.9.6.99 (preparing 0.9.8 release)". This
will _become_ 0.9.8, but only when it's ready to be released (and we want
releases to have versions that are larger than whatever was used in earlier
_unreleased_ code and different from anything previously used in unreleased
code).
- This branch no longer has omake_shell_lex.mll, updated the bootstrapping
Makefiles accordingly.
Changes | Path |
+1 -5 | omake-branches/0.9.8.x/src/Makefile |
+1 -5 | omake-branches/0.9.8.x/src/Makefile.nt |
+1 -3 | omake-branches/0.9.8.x/src/shell/OMakefile |
+1 -1 | omake-branches/0.9.8.x/version.txt |
Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2006-04-11 17:18:03 -0700 (Tue, 11 Apr 2006)
Revision: 9055
Log message:
Some (incomplete) support for handling version strings with special symbols
correctly.
Changes | Path |
+10 -7 | omake-branches/0.9.8.x/src/magic/omake_gen_magic.ml |
Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2006-04-11 17:28:21 -0700 (Tue, 11 Apr 2006)
Revision: 9056
Log message:
Couple of tiny cosmetic changes that Jason missed when merging in the 0.9.6.x
branch changes. Now the branch changes from revisions 8873:9047 should be
fully merged.
Changes | Path |
+1 -1 | omake-branches/0.9.8.x/src/build/omake_build.ml |
Properties | omake-branches/0.9.8.x/src/shell |
Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2006-04-11 17:48:16 -0700 (Tue, 11 Apr 2006)
Revision: 9057
Log message:
Minor comment update.
Changes | Path |
+1 -2 | omake-branches/0.9.8.x/mk/make_config |
Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2006-04-11 17:57:39 -0700 (Tue, 11 Apr 2006)
Revision: 9058
Log message:
- Minor documentation typo fix.
- Regenerated documentation.
Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2006-04-11 18:01:22 -0700 (Tue, 11 Apr 2006)
Revision: 9059
Log message:
Mention both 0.9.6.x and 0.9.8.x branches in download instructions.
Changes | Path |
+14 -4 | omake-branches/0.9.6.x/doc/html/download.html |
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2006-04-11 18:26:31 -0700 (Tue, 11 Apr 2006)
Revision: 9060
Log message:
svn merge -r 8922:9051 svn://svn.metaprl.org/omake-branches/0.9.6.shell
This is mostly complete *except* that C.om, OCaml.om, and LaTeX.om have
not been merged. These will require some hand editing.
Need to fix the shell quoting before this will self-compile.
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2006-04-11 19:11:13 -0700 (Tue, 11 Apr 2006)
Revision: 9061
Log message:
Addressed bug #573 in part.
The current policy is as follows. If the command string begins with \,
or is quoted with explicit '...' or "...", then alias-expansion does not
occur. Builtin quotes $'...' are not considered.
Shell. +=
foo(argv) =
echo Foo
osh>foo
Foo
osh>\foo
foo: command not found
osh>"foo"
foo: command not found
osh>FOO = $'foo'
osh>$(FOO)
Foo
osh>MOO = $'"foo"'
osh>$(MOO)
foo: command not found
One can argue that this is reasonably easy to understand.
The implementation of Aleksey's alternate theme (where $'foo' is not
alias-expanded, but 'foo' is) is hard. This is because the following
two values are indistinguishable to omake.
foo == $'foo'
Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2006-04-11 20:52:57 -0700 (Tue, 11 Apr 2006)
Revision: 9062
Log message:
Rolling back rev 9060 (where Jason have accidentally merged changes from a
wrong branch :-( ).
Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2006-04-11 21:19:09 -0700 (Tue, 11 Apr 2006)
Revision: 9063
Log message:
Merged revs 8922:9061 from the 0.9.6.x branch:
svn merge -r 8922:9061 svn+ssh://svn.metaprl.org/svnroot/mojave/omake-branches/0.9.6.x
with some hand-editing.
Still need to merge:
- 0.9.6.shell changes 8877:9048 (this intentionally skips 9049, which
merged .x into .shell)
- 0.9.8.x changes 9051:...
Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2006-04-12 09:47:58 -0700 (Wed, 12 Apr 2006)
Revision: 9064
Log message:
Updating the ignores.
Changes | Path |
Properties | omake-branches/omake_0_9_7_ref/src/clib |
Properties | omake-branches/omake_0_9_7_ref/src/libmojave |
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2006-04-12 10:04:53 -0700 (Wed, 12 Apr 2006)
Revision: 9065
Log message:
Addressing buf #573.
The current mode is a relaxed policy, where array elements
are glob-expanded, but are otherwise individual words.
Also, be much more careful about selecting environment
definitions in command-line parsing. Before, we would fail
on definitions like the following.
A = a
B = b
$A$B=foo ls
This would have failed with
ab=foo: command not found
This is fixed by more agressive flattening of the command
line before environment parsing.
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2006-04-12 10:18:29 -0700 (Wed, 12 Apr 2006)
Revision: 9066
Log message:
Handle alias expansion more carefully. If the command includes any quoted
text, it is not alias expanded.
Shell. +=
foo(argv) =
println(Foo)
osh>foo
Foo
osh>\foo
foo: command not found
osh>X = o
osh>fo$X
Foo
osh>Y = $'o'
osh>fo$Y
foo: command not found
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2006-04-12 12:35:10 -0700 (Wed, 12 Apr 2006)
Revision: 9068
Log message:
Doh, it was called stdout-to-err, not stdout-to-stderr.
Should figure out why the output got lost.
Changes | Path |
Binary | omake-branches/0.9.8.x/doc/ps/omake-doc.dvi |
+2 -2 | omake-branches/0.9.8.x/lib/build/LaTeX.om |
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2006-04-12 13:10:17 -0700 (Wed, 12 Apr 2006)
Revision: 9069
Log message:
Minor change, don't use latex on Win32.
Changes | Path |
+8 -2 | omake-branches/0.9.8.x/lib/build/LaTeX.om |
Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2006-04-12 17:57:01 -0700 (Wed, 12 Apr 2006)
Revision: 9070
Log message:
Merged the 0.9.6.shell branch:
svn merge -r 8877:9048 svn+ssh://svn.metaprl.org/svnroot/mojave/omake-branches/0.9.6.shell@9048
with some hand editing.
Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2006-04-12 18:22:50 -0700 (Wed, 12 Apr 2006)
Revision: 9071
Log message:
Added a "latex is usable" test (as opposed to "this is not Win32" test).
Jason, please let me know if this is a problem.
Changes | Path |
+42 -37 | omake-branches/0.9.8.x/lib/build/LaTeX.om |
Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2006-04-12 19:05:35 -0700 (Wed, 12 Apr 2006)
Revision: 9072
Log message:
Merged revisions 9051:9071 from the 0.9.8.x branch:
svn merge -r 9051:9071 svn+ssh://svn.metaprl.org/svnroot/mojave/omake-branches/0.9.8.x
with hand editing.
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2006-04-12 19:06:01 -0700 (Wed, 12 Apr 2006)
Revision: 9073
Log message:
Another update on LATEX_USABLE
Changes | Path |
+53 -41 | omake-branches/0.9.8.x/lib/build/LaTeX.om |
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2006-04-12 19:14:23 -0700 (Wed, 12 Apr 2006)
Revision: 9074
Log message:
Oops, we should check for latex in the first place.
Changes | Path |
+13 -12 | omake-branches/0.9.8.x/lib/build/LaTeX.om |
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2006-04-12 19:15:35 -0700 (Wed, 12 Apr 2006)
Revision: 9075
Log message:
One more tweak.
Changes | Path |
+1 -1 | omake-branches/0.9.8.x/lib/build/LaTeX.om |
Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2006-04-12 20:34:17 -0700 (Wed, 12 Apr 2006)
Revision: 9076
Log message:
Renaming the omake_0_9_7_ref branch into 0.9.9.x
Changes | Path |
Copied | omake-branches/0.9.9.x |
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2006-04-13 11:46:56 -0700 (Thu, 13 Apr 2006)
Revision: 9077
Log message:
Took Aleksey's suggestion. Aliases take values. If an argument to
an alias is glob-expanded it becomes an array of dirs/files.
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2006-04-13 12:31:56 -0700 (Thu, 13 Apr 2006)
Revision: 9078
Log message:
Silly Windows. The sequence \c, where
c is a glob character *?[]{}~, should not be a path
separator.
Changes | Path |
+2 -21 | omake-branches/0.9.8.x/src/build/omake_rule.ml |
+12 -0 | omake-branches/0.9.8.x/src/ir/omake_command_type.ml |
+1 -1 | omake-branches/0.9.8.x/src/shell/omake_shell_lex.ml |
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2006-04-13 15:26:25 -0700 (Thu, 13 Apr 2006)
Revision: 9080
Log message:
More Win32 silliness. Since Win32 does not have a proper shell,
each command does globbing on its own.
Since omake already does the globbing, make sure that words on
the command line that contain glob characters are properly quoted.
This is not sensitive to the particular escaped character set;
we can add more if ever needed.
Changes | Path |
+21 -3 | omake-branches/0.9.8.x/src/clib/omake_shell_sys.c |
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2006-04-14 00:23:19 -0700 (Fri, 14 Apr 2006)
Revision: 9081
Log message:
Minor changes to get omake to work on Win32.
After the last mass of changes, I'm sure much is broken, but
we'll work it out.
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2006-04-14 01:22:48 -0700 (Fri, 14 Apr 2006)
Revision: 9083
Log message:
Merged
svn merge -r 9071:9082 svn+ssh://svn.metaprl.org/svnroot/mojave/omake-branches/0.9.8.x
with some hand edits.
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2006-04-14 01:51:36 -0700 (Fri, 14 Apr 2006)
Revision: 9084
Log message:
Minor change, rename ValFile to ValFileObject.
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2006-04-14 14:40:48 -0700 (Fri, 14 Apr 2006)
Revision: 9085
Log message:
Add additional documentation to .INCLUDE (bug #576).
Changes | Path |
+26 -0 | omake-branches/0.9.8.x/doc/src/omake-rules.tex |
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2006-04-14 14:47:30 -0700 (Fri, 14 Apr 2006)
Revision: 9086
Log message:
Typo.
Changes | Path |
+1 -1 | omake-branches/0.9.8.x/doc/src/omake-rules.tex |
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2006-04-14 21:14:33 -0700 (Fri, 14 Apr 2006)
Revision: 9087
Log message:
Updated a scoping issue. We had this:
public.x = 1
private.x = 2
echo $x
# Prints: 1
The problem was in Omake_ir_ast.check_var_def.
Also,
- changed the notation mutable. to export.
- export variables must _always_ include the modifier
The "auto-export" Aleksey and I have discussed is perhaps nicer,
if it were possible to indicate that existing variables can be
reclassified as auto-exports in some static scope.
This could be done, and it would replace the export variables.
However, the implementation would be fairly expensive. The cost
of leaving a scope would be linear in the number of auto-export
variables (plus some constant overhead, for adding extra export
directives).
The export. style has the same effect, but with (essentially) zero
overhead. This is because the export table is strictly statically
scoped; exports have no effect on it.
Export variables cannot escape their scope. In fact, they
simply can't escape at all. I had said that one way to create
a ref cell would be as follows.
Ref. =
export.x = 0
set(y) =
export.x = y
get() =
value $x
debug() =
set(1)
println(X is $(get))
However, the export directive is restrictive. Within the object Ref,
the variable will act the expected way, and the debug() method will
print "X is 1". The following code will result in an error.
Ref.set(1)
# x is undefined
Ref.get()
We might argue that x should revert to 0.
The summary is, the "export." variables have a strict auto-export
semantics, where their value disappears when leaving their static
scope. They are strictly temporary.
The disadvantage is minor, in that we can't auto-export existing
variables.
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2006-04-14 21:29:10 -0700 (Fri, 14 Apr 2006)
Revision: 9088
Log message:
Changed the notation, instead of
export.x = 1
you should write
auto.x = 1
This is to emphasize:
- the value is temporary
- the exporting is done automatically
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2006-04-14 21:41:00 -0700 (Fri, 14 Apr 2006)
Revision: 9089
Log message:
Function scopes are now strict (new variables do not default to private).
Changes | Path |
+18 -18 | omake-branches/0.9.9.x/lib/build/C.om |
+2 -27 | omake-branches/0.9.9.x/src/env/omake_ir_ast.ml |
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2006-04-14 21:59:44 -0700 (Fri, 14 Apr 2006)
Revision: 9090
Log message:
Oops, a ton of new private.foo qualifiers needed to be added.
Changes by: Nathaniel Gray (n8gray at caltech.edu)
Date: 2006-04-17 22:05:16 -0700 (Mon, 17 Apr 2006)
Revision: 9094
Log message:
Changes for building on OS X (0.9.6.9).
Changes | Path |
+10 -4 | omake-branches/0.9.6.x/make_dmg |
Binary | omake-branches/0.9.6.x/osx_resources/OMake.pmproj |
Changes by: Nathaniel Gray (n8gray at caltech.edu)
Date: 2006-04-17 22:08:39 -0700 (Mon, 17 Apr 2006)
Revision: 9095
Log message:
Forgot to add these before committing. More OS X build stuff.
Changes | Path |
Added | omake-branches/0.9.6.x/osx_resources/scripts/postflight |
Properties | omake-branches/0.9.6.x/osx_resources/scripts/postflight |
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2006-04-19 16:45:20 -0700 (Wed, 19 Apr 2006)
Revision: 9102
Log message:
Do not perform filesystem polling on .PHONY nodes.
Changes | Path |
+0 -1 | omake-branches/0.9.8.x/lib/build/LaTeX.om |
+1 -1 | omake-branches/0.9.8.x/src/build/omake_build.ml |
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2006-04-21 14:10:04 -0700 (Fri, 21 Apr 2006)
Revision: 9112
Log message:
Add the OCamlPackage(name, files) function. This is a lot like
OCamlLibrary(name, files), but it builds a package instead (using
the -pack option).
Changes | Path |
+43 -0 | omake-branches/0.9.8.x/lib/build/OCaml.om |
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2006-04-24 21:30:04 -0700 (Mon, 24 Apr 2006)
Revision: 9126
Log message:
Forgot tho check this in.
Ignore empty command lines in rules. This means that such rules like the following
should again work.
.SCANNER: foo
@
Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2006-04-26 16:46:41 -0700 (Wed, 26 Apr 2006)
Revision: 9130
Log message:
-pack generates .cmi files too.
Changes | Path |
+22 -8 | omake-branches/0.9.8.x/lib/build/OCaml.om |