From dbda9e011368c8e01b2e4b842ba33bc09beb52d4 Mon Sep 17 00:00:00 2001 From: Adam Chlipala Date: Sun, 12 Apr 2015 14:19:02 -0400 Subject: New release --- CHANGELOG | 10 ++++++++++ configure.ac | 4 ++-- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index cf62b556..e4eae28e 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,13 @@ +======== +20150412 +======== + +- Several new infix operators for function composition, etc. +- Hexadecimal integer literals +- New HTML events: 'oncontextmenu', 'onmouseenter', and 'onmouseleave' +- New HTML attributes: 'download' +- Bug fixes and optimization improvements + ======== 20150214 ======== diff --git a/configure.ac b/configure.ac index 3dd849ee..13e1eebc 100644 --- a/configure.ac +++ b/configure.ac @@ -1,5 +1,5 @@ -AC_INIT([urweb], [20150214]) -WORKING_VERSION=1 +AC_INIT([urweb], [20150412]) +WORKING_VERSION=0 AC_USE_SYSTEM_EXTENSIONS # automake 1.12 requires this, but automake 1.11 doesn't recognize it -- cgit v1.2.3 From 614393e835c2385d1590a6fe4081d10bf259f6a2 Mon Sep 17 00:00:00 2001 From: Adam Chlipala Date: Sun, 12 Apr 2015 14:28:27 -0400 Subject: Return to working version mode --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 13e1eebc..3adbdef2 100644 --- a/configure.ac +++ b/configure.ac @@ -1,5 +1,5 @@ AC_INIT([urweb], [20150412]) -WORKING_VERSION=0 +WORKING_VERSION=1 AC_USE_SYSTEM_EXTENSIONS # automake 1.12 requires this, but automake 1.11 doesn't recognize it -- cgit v1.2.3 From 2428d7ba0d07006930caa5feb15286db72e33c55 Mon Sep 17 00:00:00 2001 From: Istvan Chung Date: Thu, 23 Apr 2015 16:37:15 -0400 Subject: Fix missing SQL name-mangling in table initialization --- src/monoize.sml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/monoize.sml b/src/monoize.sml index 59c5d2ea..67819538 100644 --- a/src/monoize.sml +++ b/src/monoize.sml @@ -4682,8 +4682,8 @@ fun monoize env file = (L'.EDml (str (foldl (fn ((x, _), s) => s ^ ", " ^ Settings.mangleSql x ^ " = NULL") - ("UPDATE uw_" - ^ tab + ("UPDATE " + ^ Settings.mangleSql tab ^ " SET " ^ Settings.mangleSql x ^ " = NULL") -- cgit v1.2.3 From a8076944892d087ce5fe79bc2924338375a60ea9 Mon Sep 17 00:00:00 2001 From: Julian Squires Date: Fri, 24 Apr 2015 07:43:22 -0400 Subject: Use hyperref in manual This allows the table of contents to show up properly in PDF readers. --- doc/manual.tex | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/manual.tex b/doc/manual.tex index ad23d638..1ff3f7aa 100644 --- a/doc/manual.tex +++ b/doc/manual.tex @@ -9,6 +9,8 @@ \newcommand{\rcut}{\; \texttt{-{}-} \;} \newcommand{\rcutM}{\; \texttt{-{}-{}-} \;} +\usepackage{hyperref} + \begin{document} \title{The Ur/Web Manual} -- cgit v1.2.3 From dcffd1062445642f7ed903064fd993e25a3af260 Mon Sep 17 00:00:00 2001 From: Julian Squires Date: Fri, 24 Apr 2015 07:51:47 -0400 Subject: Allow file directives to contain slashes Previously, adding a line such as "file /c/foo.css css/foo.css" would cause the compiler to raise an InvalidArc exception. --- src/settings.sml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/settings.sml b/src/settings.sml index b61759c1..cd2de8a9 100644 --- a/src/settings.sml +++ b/src/settings.sml @@ -876,7 +876,7 @@ fun setFilePath path = filePath := path fun addFile {Uri, LoadFromFilename} = let - val path = OS.Path.mkAbsolute {relativeTo = !filePath, path = LoadFromFilename} + val path = OS.Path.concat (!filePath, LoadFromFilename) in case SM.find (!files, Uri) of SOME (path', _) => -- cgit v1.2.3 From 1f236b7280e430ba52d6c7255760a3bf326e553f Mon Sep 17 00:00:00 2001 From: Adam Chlipala Date: Fri, 24 Apr 2015 10:01:56 -0400 Subject: Ignore manual.out --- .hgignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.hgignore b/.hgignore index c3272f05..20e290b8 100644 --- a/.hgignore +++ b/.hgignore @@ -34,6 +34,7 @@ demo/more/out/*.html demo/more/demo.* doc/*.html +doc/*.out *.sql *mlmon.out -- cgit v1.2.3 From d30f4a5a9244eb6b2ae3d6d8a126e240a2555f70 Mon Sep 17 00:00:00 2001 From: Adam Chlipala Date: Sun, 3 May 2015 09:40:13 -0400 Subject: Set dummy header lookup function in static.c --- src/c/static.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/c/static.c b/src/c/static.c index 8f35a2d4..c8fd5bc7 100644 --- a/src/c/static.c +++ b/src/c/static.c @@ -16,6 +16,10 @@ static void log_(void *data, const char *fmt, ...) { static uw_loggers loggers = {NULL, log_, log_}; +static char *get_header(void *data, const char *h) { + return NULL; +} + int main(int argc, char *argv[]) { uw_context ctx; failure_kind fk; @@ -27,6 +31,7 @@ int main(int argc, char *argv[]) { ctx = uw_init(0, &loggers); uw_set_app(ctx, &uw_application); + uw_set_headers(ctx, get_header, NULL); uw_initialize(ctx); while (1) { -- cgit v1.2.3