annotate CHANGELOG @ 1831:36428d853c97

Standard library additions: Option.unsafeGet, Basis.exp
author Austin Seipp <mad.one@gmail.com>
date Wed, 28 Nov 2012 11:41:54 -0500
parents 6a621a625b04
children 1239ba1a1671
rev   line source
adam@1826 1 ========
adam@1826 2 20120925
adam@1826 3 ========
adam@1826 4
adam@1826 5 - Changes to optimization/compilation strategy that can speed up compilation and
adam@1826 6 reduce code size dramatically
adam@1826 7 - New .urp directives: 'coreInline' and 'monoInline'
adam@1826 8 - 'show' instance for 'sql_query'
adam@1826 9 - Improvements to compiler error messages
adam@1826 10 - Bug fixes and optimization improvements
adam@1826 11
adam@1806 12 ========
adam@1806 13 20120807
adam@1806 14 ========
adam@1806 15
adam@1806 16 - Client-side mouse and keyboard event handlers are now functions over records.
adam@1806 17 - More flexibility in local type class instances
adam@1806 18 - Remove 'class' declaration; use 'con' instead now.
adam@1806 19 - SQL window functions
adam@1806 20 - New HTML pseudo-tag: <active>
adam@1806 21 - New Basis members: getenv (and associated functions), giveFocus
adam@1806 22 - New Top member: postFields (to process POST form data when called by some external script)
adam@1806 23 - HTTP daemons take '-a' option to set IP address to listen on
adam@1806 24 - More global mouse event hooks
adam@1806 25 - Bug fixes and performance improvements
adam@1806 26
adam@1771 27 ========
adam@1771 28 20120519
adam@1771 29 ========
adam@1771 30
adam@1771 31 - Compatibility fixes for new Automake and GCC versions
adam@1771 32 - Allow synchronous RPC's in 'onunload' code
adam@1771 33 - Start of special cases for parsing CSS class names: interpret "table" as identifier 'tabl'
adam@1771 34 (since 'table' is an Ur/Web keyword)
adam@1771 35 - Bug fixes and improvements to type inference and optimization
adam@1771 36
adam@1758 37 ========
adam@1758 38 20120512
adam@1758 39 ========
adam@1758 40
adam@1758 41 - New support for CSS style code embedded in Ur/Web programs.
adam@1758 42 Two recommended usage methods:
adam@1758 43 1. Use 'style' attributes with normal CSS syntax inside string literals.
adam@1758 44 2. Generate styles programmatically with the Style module of the Gui library
adam@1758 45 (distributed separately).
adam@1758 46 - 'dynStyle' attribute, which is to 'style' as 'dynClass' is to 'class'
adam@1758 47 - Parsing of standard syntax for 'class' attributes, via specially interpreted
adam@1758 48 string literals
adam@1758 49 - New optional suffix for 'rewrite' in .urp files: [-]
adam@1758 50 - Compiler error message improvements, including simplification of types
adam@1758 51 - New command line parameters: '-boot', '-dumpTypesOnError', '-unifyMore'
adam@1758 52 - New .urp directives: 'linker'
adam@1758 53 - Support for speeding up compilation by caching type inference results:
adam@1758 54 Run 'urweb daemon start' to spawn a background process,
adam@1758 55 'urweb daemon stop' to kill it.
adam@1758 56 - Enforcement of uniqueness of top-level module names across a project
adam@1758 57 - Adjust error message format to match Emacs compilation mode defaults
adam@1758 58 - More HTML attributes added
adam@1758 59 - New antiquote syntax for 'PRIMARY KEY'
adam@1758 60 - Bug fixes and improvements to type inference and platform compatibility
adam@1758 61
adam@1705 62 ========
adam@1705 63 20120329
adam@1705 64 ========
adam@1705 65
adam@1705 66 - New JavaScript FFI function: setInnerHTML
adam@1705 67 - Bug fixes
adam@1705 68 - Documentation improvements
adam@1705 69
adam@1693 70 ========
adam@1693 71 20120310
adam@1693 72 ========
adam@1693 73
adam@1693 74 - 'ORDER BY RANDOM'
adam@1693 75 - New Basis members: diffInMilliseconds, toMilliseconds
adam@1693 76 - <radio> widget now returns 'option string' instead of 'string'
adam@1693 77 - '-dumpSource' command-line flag
adam@1693 78 - Bug fixes and optimization improvements
adam@1693 79
adam@1669 80 ========
adam@1669 81 20120110
adam@1669 82 ========
adam@1669 83
adam@1669 84 - Improvements to type inference and error messages
adam@1669 85 - New 'dynClass' pseudo-attribute for most HTML tags
adam@1669 86 - New 't.*' notation for selecting all columns of a table
adam@1669 87 - New SQL functions: 'lower' and 'upper'
adam@1669 88 - 'timeFormat' .urp directive
adam@1669 89 - Client-side 'debug' and 'naughtyDebug' calls use a browser debug console, if available
adam@1669 90 - Allow 'source' values to be returned by RPCs
adam@1669 91 - Change the HTML context classification scheme in 'Basis'
adam@1669 92 - Rename 'Top.id' to 'ident' to avoid clash with 'Basis.id'
adam@1669 93 - More client-side function implementations
adam@1669 94 - Some expanded reference manual sections
adam@1669 95 - Tweak to linker command line argument order (to prevent issues with new Ubuntu versions)
adam@1669 96 - Bug fixes
adam@1669 97
adam@1616 98 ========
adam@1616 99 20111127
adam@1616 100 ========
adam@1616 101
adam@1616 102 - Improvements to type inference and error messages
adam@1616 103 - New Basis members: ceil, float, null, round, trunc
adam@1616 104 - New SQL expression forms: 'IF..THEN..ELSE', 'COALESCE', and 'LIKE'
adam@1616 105 - Support for the full set of HTML character entities
adam@1616 106 - Client-side versions of some time-related functions
adam@1616 107 - New URWEB_PG_CON environment variable
adam@1616 108 - Allow arguments for 'con' signature items, not just declarations
adam@1616 109 - Bug fixes and performance improvements
adam@1616 110 - Tweaks for idiosyncrasies of OS X (like deprecated OpenSSL)
adam@1616 111
adam@1509 112 ========
adam@1561 113 20110917
adam@1509 114 ========
adam@1509 115
adam@1509 116 - Start of official tutorial
adam@1509 117 - Compiler support for generating nice tutorial HTML from literate source files
adam@1509 118 - New protocol 'static' for generating static pages
adam@1561 119 - Replace GCCARGS 'configure' variable with CCARGS
adam@1561 120 - Better support for compilation with Clang (including on OS X)
adam@1561 121 - Fancier 'configure' script with versioning
adam@1523 122 - Applications consult URWEB_STACK_SIZE environment variable to determine thread
adam@1523 123 stack size
adam@1561 124 - HTML tag IDs now drawn from an abstract type
adam@1561 125 - New Basis functions: diffInSeconds, mkMonad, onClick, onDblclick, onKeydown,
adam@1561 126 onKeypress, onKeyup, onMousedown, onMouseup, preventDefault, stopPropagation,
adam@1561 127 toSeconds
adam@1561 128 - Add <image> tag
adam@1561 129 - Add 'target' attribute for <a>
adam@1561 130 - New compiler command-line option: -dumpTypes
adam@1561 131 - New syntactic sugar for computed ORDER BY clauses
adam@1561 132 - Bug fixes and optimization improvements
adam@1509 133
adam@1492 134 ========
adam@1492 135 20110715
adam@1492 136 ========
adam@1492 137
adam@1492 138 - Treat local variables the same as module-level variables, for the purpose of
adam@1492 139 implicit argument insertion
adam@1492 140 - New 'noXsrfProtection' directive for .urp files
adam@1492 141 - Non-debug builds omit source location information in error messages shown to
adam@1492 142 the user (but keep that information in log entries)
adam@1492 143 - Basis.getHeader and Basis.setHeader
adam@1492 144 - Basis.show_css_class
adam@1492 145 - Basis.currentUrlHasQueryString
adam@1492 146 - Make Basis.rand cryptographically secure
adam@1492 147 - Client-side versions of Basis.now and Basis.show_time
adam@1492 148 - Bug fixes
adam@1492 149 - Improvements to auto-configuration and build process (now builds with LLVM's
adam@1492 150 Clang!)
adam@1492 151 - Clarifications in the manual
adam@1492 152
adam@1458 153 ========
adam@1460 154 20110517
adam@1458 155 ========
adam@1458 156
adam@1458 157 - Cygwin compatibility
adam@1458 158 - Compatibility with Gentoo packaging process, including a .ebuild file
adam@1458 159 - Change typing of SQL subqueries, to indicate that they may always return NULL
adam@1458 160 (for no rows)
adam@1458 161 - Syntactic sugar for GROUP BY with variable numbers of columns
adam@1458 162 (using 'tab.{{c}}', where 'c :: {Type}')
adam@1458 163 - 'ALL' for SQL relational operators
adam@1458 164 - Add nullable types to the class for valid operands for SQL arithmetic
adam@1458 165 - 'alt' attribute for <img>
adam@1458 166 - <sup> and <sub> HTML tags
adam@1458 167 - Allow 'debug' and 'naughtyDebug' in client-side code, implemented with 'alert'
adam@1458 168 - Bug fixes and optimization improvements
adam@1458 169
adam@1400 170 ========
adam@1414 171 20110123
adam@1400 172 ========
adam@1400 173
adam@1400 174 - Changes to encoding of SQL aggregate functions: nullable types may be
adam@1400 175 aggregated, and non-COUNT aggregates return nullable results.
adam@1400 176 - SQL subqueries may apply aggregate functions to columns bound in enclosing
adam@1400 177 queries.
adam@1400 178 - Switch from libmhash to OpenSSL.
adam@1400 179 - 'cdataChar', for injecting arbitrary character codes into XML
adam@1400 180 - 'crypt', for access to the standard UNIX password encryption routine
adam@1400 181 - 'readUtc', for parsing time strings in the UTC time zone
adam@1400 182 - Built-in 'time' type now stores microseconds (which for now are only used in
adam@1400 183 connection with Postgres timestamps).
adam@1400 184 - Client-side URL blessing and redirection
adam@1400 185 - 'currentUrlHasPost' function
adam@1400 186 - Transactional 'free' functions now passed an argument indicating whether the
adam@1400 187 runtime system expects to retry the transaction.
adam@1400 188 - Change tasks to allow task kind-specific inputs
adam@1400 189 - Add 'clientLeaves' and 'periodic' task kinds
adam@1400 190 - Support for externally-callable pages, via the 'postBody' and 'queryString'
adam@1400 191 types and the 'effectfulUrl' function
adam@1400 192 - 'minHeap' and 'alwaysInline' .urp options
adam@1400 193 - '-prefix' command-line option
adam@1400 194 - Comments in .urp files (lines starting with '#')
adam@1400 195 - Miscellaneous additions to the standard library
adam@1400 196 - Bug fixes and improvements to type inference and optimization
adam@1400 197
adam@1287 198 ========
adam@1315 199 20101102
adam@1287 200 ========
adam@1287 201
adam@1287 202 - Polymorphic variants (see Basis.variant)
adam@1297 203 - New 'onError' directive for .urp files
adam@1287 204 - (* *) and <!-- --> comments in XML
adam@1297 205 - Basis.classes, Basis.confirm, and Basis.tryDml
adam@1309 206 - New notations ::_ and :::_, for constructor parameters of unknown kind
adam@1297 207 - Invocations like 'urweb foo' will compile foo.ur as a single-file project,
adam@1297 208 even if no foo.urp exists
adam@1309 209 - '-limit' command-line flag and 'limit' .urp directive
adam@1297 210 - Bug fixes and optimization improvements
adam@1287 211
adamc@1259 212 ========
adamc@1273 213 20100603
adamc@1259 214 ========
adamc@1259 215
adamc@1259 216 - Changed URL escaping convention, to avoid confusing proxies.
adamc@1259 217 The new convention is like the normal one, but with '.' instead of '%'.
adamc@1261 218 - Changed JavaScript compilation of recursive functions to use thunks.
adamc@1261 219 This change avoids most costs of functions not referenced on particular
adamc@1261 220 pages, reducing loading time dramatically.
adamc@1273 221 - Support HTTP caching of application-specific JavaScript code
adamc@1273 222 - Bug fixes
adamc@1259 223
adamc@1255 224 ========
adamc@1255 225 20100506
adamc@1255 226 ========
adamc@1255 227
adamc@1255 228 - New experimental checker for information flow and access control policies
adamc@1255 229 (See demo at http://www.impredicative.com/ur/scdv/)
adamc@1255 230
adamc@1197 231 ========
adamc@1197 232 20100401
adamc@1197 233 ========
adamc@1197 234
adamc@1197 235 - Subquery expressions and FROM items
adamc@1197 236 - Low-level support for SELECT with no FROM clause
adamc@1197 237 - Fixes for DBMS-portability of relational operators
adamc@1197 238
adamc@1183 239 ========
adamc@1190 240 20100325
adamc@1183 241 ========
adamc@1183 242
adamc@1188 243 - -verbose flag
adamc@1188 244 - COUNT(col) SQL aggregate function
adamc@1188 245 - 'benignEffectful' and 'safeGet' .urp commands
adamc@1188 246 - Remove Basis.getRequestHeader, since it can be used to circumvent cookie
adamc@1188 247 security
adamc@1190 248 - Rename Top.foldR*X to map*X
adamc@1188 249 - Bug fixes and optimization improvements
adamc@1183 250
adamc@1166 251 ========
adamc@1166 252 20100213
adamc@1166 253 ========
adamc@1166 254
adamc@1166 255 - Improvements to 'configure'; should now fail if any uncommon but required
adamc@1166 256 package is missing
adamc@1166 257 - Other fixes to configuration, build system, and C code portability
adamc@1166 258 - sigfile .urp directive & -sigfile command-line option
adamc@1166 259 - .urp files with no directives no longer need to begin with blank lines.
adamc@1166 260 - Other bug fixes
adamc@1166 261
adamc@1137 262 ========
adamc@1137 263 20100130
adamc@1137 264 ========
adamc@1137 265
adamc@1137 266 - Conversion to an Automake-based build system, for greater portability in
adamc@1137 267 building shared libraries
adamc@1137 268 - -path and -root command-line flags
adamc@1137 269 - Exported page handling functions (i.e., those page-generating functions
adamc@1137 270 appearing in the main module's signature) may now take any number of
adamc@1137 271 arguments, including 0.
adamc@1137 272
adamc@1123 273 ========
adamc@1123 274 20100112
adamc@1123 275 ========
adamc@1123 276
adamc@1123 277 - Basis.serialized type family, for storing more types in the database
adamc@1123 278 - Basis.textBlob, for building blobs from strings
adamc@1123 279 - Basis.debug function, for server-side debug printing
adamc@1123 280 - Bug fixes & optimization improvements
adamc@1123 281
adamc@1065 282 ========
adamc@1103 283 20091230
adamc@1065 284 ========
adamc@1065 285
adamc@1093 286 - Automatic insertion of implicit arguments in more positions
adamc@1065 287 - Reifying expressions as URLs and redirecting to them explicitly
adamc@1070 288 - More syntactic sugar for SQL
adamc@1070 289 - Typing of SQL queries no longer exposes which tables were used in joins but
adamc@1070 290 had none of their fields projected
adamc@1075 291 - Tasks
adamc@1095 292 - Dynamic linking of the runtime system
adamc@1077 293 - Optimization improvements
adamc@1103 294 - Bug fixes
adamc@1065 295
adamc@1050 296 ========
adamc@1056 297 20091203
adamc@1050 298 ========
adamc@1050 299
adamc@1050 300 - Extended cookie interface (breaks backward compatibility for 'setCookie')
adamc@1050 301 - Bug fixes
adamc@1056 302 - Extended UTF-8 characters in HTML
adamc@1050 303
adamc@1043 304 ========
adamc@1043 305 20091124
adamc@1043 306 ========
adamc@1043 307
adamc@1043 308 - Improved Internet Explorer compatibility
adamc@1043 309
adamc@1020 310 ========
adamc@1033 311 20091108
adamc@1020 312 ========
adamc@1020 313
adamc@1020 314 - Bug fixes
adamc@1020 315 - Optimization improvements
adamc@1021 316 - Removed a restriction that prevented some RPCs and calls to sleep or recv
adamc@1021 317 from compiling
adamc@1020 318
adamc@999 319 ========
adamc@999 320 20091012
adamc@999 321 ========
adamc@999 322
adamc@999 323 - Small bug fixes affecting MySQL and SQLite
adamc@999 324
adamc@988 325 ========
adamc@997 326 20091009
adamc@988 327 ========
adamc@988 328
adamc@988 329 - Bug fixes
adamc@988 330 - Improvement to choice of line number to cite in record unification error
adamc@988 331 messages
adamc@994 332 - SELECT DISTINCT
adamc@996 333 - New extra demos: orm1 and versioned1
adamc@988 334
adamc@985 335 ========
adamc@985 336 20090926
adamc@985 337 ========
adamc@985 338
adamc@985 339 - Reimplemented client-side code generation to use an interpreter, rather than
adamc@985 340 compilation to JavaScript; this avoids common browser flaws: lack of
adamc@985 341 optimization of tail calls and occasional bugs in closure handling.
adamc@985 342 - Bug fixes
adamc@985 343
adamc@968 344 ========
adamc@968 345 20090919
adamc@968 346 ========
adamc@968 347
adamc@968 348 - Bug fixes
adamc@968 349 - Optimization improvements
adamc@968 350 - Expanded grid demo in demo/more: optional columns, sorting, filtering,
adamc@968 351 paging, selecting rows, aggregate row
adamc@968 352
adamc@929 353 ========
adamc@929 354 20090912
adamc@929 355 ========
adamc@929 356
adamc@929 357 - Bug fixes
adamc@929 358 - Optimization improvements
adamc@929 359 - New set of extra demos in demo/more
adamc@929 360
adamc@914 361 ========
adamc@914 362 20090825
adamc@914 363 ========
adamc@914 364
adamc@914 365 - Many bug fixes
adamc@914 366 - Remote procedure calls must be marked with the new 'rpc' function.
adamc@914 367 - Some tweaks to enable usage on OSX (suggested by Paul Snively)
adamc@914 368
adamc@897 369 ========
adamc@897 370 20090718
adamc@897 371 ========
adamc@897 372
adamc@897 373 - New application protocols: CGI and FastCGI
adamc@897 374 - New database backends: MySQL and SQLite
adamc@897 375 - More JavaScript events added to tags in standard library
adamc@897 376 - New manual section on using the foreign function interface (FFI)
adamc@897 377
adamc@852 378 ========
adamc@852 379 20090623
adamc@852 380 ========
adamc@852 381
adamc@852 382 - Many bug fixes
adamc@852 383 - Mutually-recursive datatypes
adamc@852 384 - SML-style pattern-matching syntax for "fun", "fn", and local "val"
adamc@852 385 - Backwards-incompatible change to syntax of formal constructor parameters to
adamc@852 386 value-level functions, to support the previous change
adamc@852 387 - Path map support inspired by SML/NJ CM and MLton ML Basis
adamc@852 388 - Start of some new standard library modules
adamc@852 389 - Some improvements to JavaScript runtime, including better error handling
adamc@852 390
adamc@716 391 ========
adamc@790 392 20090505
adamc@716 393 ========
adamc@716 394
adamc@716 395 - Reimplement constructor class resolution to be more general and Prolog-like
adamc@716 396 - SQL table constraints
adamc@770 397 - URLs
adamc@736 398 - Client-side error handling callbacks
adamc@736 399 - CSS
adamc@736 400 - Signing cookie values cryptographically to thwart cross site request forgery
adamc@744 401 - Blobs and HTTP file upload
adamc@752 402 - SQL outer joins
adamc@755 403 - SQL views
adamc@756 404 - Subforms
adamc@768 405 - C and JavaScript FFI
adamc@768 406 - Path rewriting
adamc@716 407
adamc@702 408 ========
adamc@702 409 20090405
adamc@702 410 ========
adamc@702 411
adamc@702 412 - Asynchronous message-passing and the associated server-side client
adamc@702 413 bookkeeping
adamc@702 414 - Reimplement parts of the client-side runtime system to avoid space leaks
adamc@702 415 - spawn and sleep
adamc@702 416 - Expand the constructor class instance rule format
adamc@702 417
adamc@663 418 ========
adamc@663 419 20090312
adamc@663 420 ========
adamc@663 421
adamc@663 422 - Replace type-level "fold" with "map"
adamc@663 423 - Replace expression-level "fold" with folders, defined in Top and
adamc@663 424 supported by some special compiler inference
adamc@663 425 - Replace guarded constructors with guarded types, introduced only by
adamc@663 426 guarded expression abstraction, and with a new explicit application form
adamc@663 427 - Kind polymorphism
adamc@663 428 - Generalize type classes to constructor classes
adamc@663 429 - Initial compilation of client-side code to JavaScript
adamc@663 430 - Initial support for mixed client- and server-side programming (i.e., "AJAX")
adamc@665 431 - src/coq: Coq formalization of a core Ur-like calculus
adamc@663 432
adamc@506 433 ========
adamc@561 434 20081209
adamc@506 435 ========
adamc@506 436
adamc@506 437 - Optimization: Fusing page writes with calls to recursive functions
adamc@523 438 - Optimization of bottleneck compiler phases
adamc@561 439 - Reference manual
adamc@561 440 - SQL arithmetic operators
adamc@506 441
adamc@504 442 ========
adamc@504 443 20081120
adamc@504 444 ========
adamc@504 445
adamc@504 446 - Fix bug that sometimes led to omission of initial "<html>" in pages
adamc@504 447 - Take advantage of nested functions in some demos
adamc@504 448 - "profile" option that may appear in .urp files, to enable gprof profiling
adamc@663 449 - "-guided-demo" option that works like "-demo" but uses less screen space for
adamc@663 450 prose
adamc@504 451
adamc@467 452 ========
adamc@497 453 20081118
adamc@467 454 ========
adamc@467 455
adamc@467 456 - Nested function definitions
adamc@467 457 - Primitive "time" type
adamc@467 458 - Nullable SQL columns (via "option")
adamc@467 459 - Cookies
adamc@663 460 - Compiler: Specialization of functions to known arguments (especially of
adamc@663 461 function type)
adamc@467 462
adamc@435 463 ========
adamc@435 464 20081028
adamc@435 465 ========
adamc@435 466
adamc@435 467 - Add GCCARGS configure option
adamc@435 468
adamc@433 469 ========
adamc@433 470 20081027
adamc@433 471 ========
adamc@433 472
adamc@433 473 - On missing inputs, print an error message, but don't exit the web server.
adamc@434 474 - Remove need for "() <-" notation.
adamc@433 475
adamc@433 476 ========
adamc@433 477 20081026
adamc@433 478 ========
adamc@433 479
adamc@433 480 - Change 'sed' call to work on OSX.
adamc@433 481 - Avoid including or linking libpq files on apps that don't use SQL.