changeset 2232:a07b91fa71db

Merge.
author Ziv Scully <ziv@mit.edu>
date Wed, 06 May 2015 14:51:09 -0400
parents 67e801cf42c6 8ecbd1100227
children af1585e7d645
files src/monoize.sml src/settings.sml
diffstat 7 files changed, 22 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/.hgignore	Wed May 06 14:50:55 2015 -0400
+++ b/.hgignore	Wed May 06 14:51:09 2015 -0400
@@ -34,6 +34,7 @@
 demo/more/demo.*
 
 doc/*.html
+doc/*.out
 
 *.sql
 *mlmon.out
--- a/CHANGELOG	Wed May 06 14:50:55 2015 -0400
+++ b/CHANGELOG	Wed May 06 14:51:09 2015 -0400
@@ -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
 ========
--- a/configure.ac	Wed May 06 14:50:55 2015 -0400
+++ b/configure.ac	Wed May 06 14:51:09 2015 -0400
@@ -1,4 +1,4 @@
-AC_INIT([urweb], [20150214])
+AC_INIT([urweb], [20150412])
 WORKING_VERSION=1
 AC_USE_SYSTEM_EXTENSIONS
 
--- a/doc/manual.tex	Wed May 06 14:50:55 2015 -0400
+++ b/doc/manual.tex	Wed May 06 14:51:09 2015 -0400
@@ -9,6 +9,8 @@
 \newcommand{\rcut}{\; \texttt{-{}-} \;}
 \newcommand{\rcutM}{\; \texttt{-{}-{}-} \;}
 
+\usepackage{hyperref}
+
 \begin{document}
 
 \title{The Ur/Web Manual}
--- a/src/c/static.c	Wed May 06 14:50:55 2015 -0400
+++ b/src/c/static.c	Wed May 06 14:51:09 2015 -0400
@@ -16,6 +16,10 @@
 
 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 @@
  
   ctx = uw_init(0, &loggers);
   uw_set_app(ctx, &uw_application);
+  uw_set_headers(ctx, get_header, NULL);
   uw_initialize(ctx);
 
   while (1) {
--- a/src/monoize.sml	Wed May 06 14:50:55 2015 -0400
+++ b/src/monoize.sml	Wed May 06 14:51:09 2015 -0400
@@ -4693,8 +4693,8 @@
                                      (L'.EDml (str
                                                    (foldl (fn ((x, _), s) =>
                                                               s ^ ", " ^ Settings.mangleSql x ^ " = NULL")
-                                                          ("UPDATE uw_"
-                                                           ^ tab
+                                                          ("UPDATE "
+                                                           ^ Settings.mangleSql tab
                                                            ^ " SET "
                                                            ^ Settings.mangleSql x
                                                                       ^ " = NULL")
--- a/src/settings.sml	Wed May 06 14:50:55 2015 -0400
+++ b/src/settings.sml	Wed May 06 14:51:09 2015 -0400
@@ -880,7 +880,7 @@
 
 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', _) =>