Commit Graph

24617 Commits

Author SHA1 Message Date
Ryan Culpepper
df265ddc67 syntax/parse: eliminate old minimatch struct syntaxes 2012-03-21 17:33:08 -06:00
Ryan Culpepper
6c369f2563 updates to syntax/parse/experimental/template
- changed substitute to use closure-compilation
- added stress/perf test for templates
- updated minimatch with vector patterns
- split substitute into separate file, minimize dependencies
- do ellipsis optimization dynamically
- validate guides: check var indexes
2012-03-21 17:33:08 -06:00
Robby Findler
f77467311a specify 'angle's range 2012-03-21 16:59:53 -05:00
Jon Rafkind
a606f6614b [honu] add two more tests 2012-03-20 11:32:46 -06:00
Jon Rafkind
918c87e96b [honu] return the current expression when a semicolon is parsed 2012-03-20 11:32:46 -06:00
Matthew Flatt
47ae2b387a fix shaodwing problem in `module*' 2012-03-20 07:28:35 -06:00
Matthew Flatt
5551e287da fix typo 2012-03-19 14:34:33 -06:00
Sam Tobin-Hochstadt
56120d9697 Fix types for regexp-match*' and regexp-match-positions*'.
Note that the keyword arguments themselves are not yet typed.
2012-03-19 15:59:34 -04:00
Vincent St-Amour
999de5a488 Fix bug in autobib's handling of urls. 2012-03-19 11:10:22 -04:00
Robby Findler
9bc1684c9b fix problems with user-defined keybindings and the example in the docs
as reported on the dev mailing list by António Menezes Leitao
2012-03-19 09:58:59 -05:00
Ryan Culpepper
8392f20b8f db: fix async test for mysql 2012-03-18 04:57:41 -06:00
Ryan Culpepper
c10bf245c5 db: fix mysql close-on-exec slowdown (TCP issue) 2012-03-18 03:31:17 -06:00
Ryan Culpepper
6b02b507a9 macro-debugger: fix parser for local-actions in mod pass 2 2012-03-18 03:31:17 -06:00
Ryan Culpepper
71772ba6c0 macro-debugger: internal debugging improvements 2012-03-18 03:31:17 -06:00
Robby Findler
4fe8cd344c disable the drracket toolbar buttons for scribble/lp files 2012-03-17 19:24:33 -05:00
Robby Findler
9d43203990 adjusted the render-* functions so they produce .pdf if the given
filename ends with #rx#"[.]pdf".
2012-03-17 08:36:34 -05:00
Jay McCarthy
145efa622e Adding #lang web-server/base 2012-03-16 11:54:46 -06:00
Jay McCarthy
a55029cf76 Fixes PR12638 2012-03-16 11:54:46 -06:00
Kevin Tew
9be864b2f8 Fix sync/timeout hang due to place channels - forgot to git add 2012-03-16 08:39:58 -06:00
Kevin Tew
666c0fdb57 Fix sync/timeout hang due to place channels 2012-03-16 08:18:05 -06:00
Eli Barzilay
f3a21c6aba Remove typed versions of the cgi exceptions. 2012-03-16 03:45:35 -04:00
Eli Barzilay
9d239170cf Add to/from bytes functions to the json library.
Also add a distribution specs line.
2012-03-16 02:55:35 -04:00
Eli Barzilay
818e434c60 Remove no-longer used net/cgi exceptions. 2012-03-16 02:55:35 -04:00
Jay McCarthy
03d3a8f429 Clarifying what #lang web-server has 2012-03-15 12:03:34 -06:00
Ryan Culpepper
e13cce267d macro-debugger: workaround for instrumentation problem in provide
The expansion observer is not propagated to expand_all_provides.
2012-03-14 23:19:25 -06:00
Ryan Culpepper
4b6c71eaae macro-debugger: improve internal error debugging support 2012-03-14 23:03:47 -06:00
Ryan Culpepper
57bdb62547 macro-debugger: fix deriv parser for begin-for-syntax 2012-03-14 22:25:42 -06:00
Jay McCarthy
aaf53cb1d2 Fixing recent errors 2012-03-14 13:04:30 -06:00
Jay McCarthy
240dbc3c3d Renaming slice usage 2012-03-14 12:46:25 -06:00
Ryan Culpepper
a564110c08 syntax/parse: change expectstack rep to reduce/consolidate allocations 2012-03-13 19:50:09 -06:00
Ryan Culpepper
5db8553ea1 syntax/parse: expect:thing stores stx being matched 2012-03-13 19:50:09 -06:00
Ryan Culpepper
6cf3127cf9 syntax/parse: put failure information in syntax exn 2012-03-13 19:50:08 -06:00
Ryan Culpepper
e41ff8609c db: trim todo file 2012-03-13 19:50:08 -06:00
Ryan Culpepper
1b7368f80c db: fix memory leaks
- sqlite3: table prevented pst gc unless close-on-exec
 - statement cache wrongly disabled close-on-exec
   (not a leak, just gc'd very slowly)
 - limit statement cache size
2012-03-13 19:50:08 -06:00
Matthew Flatt
01f1fd56b4 adjust cm to not cmopile when it's not supposed to use source 2012-03-13 18:46:28 -06:00
Matthew Flatt
9838cb37e8 remove debugging code that was accidentally pushed 2012-03-13 18:46:28 -06:00
James Ian Johnson
6e7fb4e7ef Bibliographies had a nondeterministic render order. Fixed. Added tests for disambiguation. 2012-03-13 18:38:31 -04:00
James Ian Johnson
337be4a677 It was possible for a multi-citation to be ambiguous and mention a something not referenced anywhere else. Added a safeguard so that the citation hash is properly populated. 2012-03-13 18:38:30 -04:00
James Ian Johnson
2c63ce2286 Added the ability to disambiguate between citations using autobib. 2012-03-13 18:38:30 -04:00
James Ian Johnson
f3dc5796be Better disambiguation for autobib. Delays rendering bib elements because the disambiguation must be accounted for. 2012-03-13 18:38:30 -04:00
James Ian Johnson
6f1c6b7d92 Added the ability to disambiguate between citations using autobib. 2012-03-13 18:38:30 -04:00
Robby Findler
ac99b732fa fix missing #:eval in redex tutorial 2012-03-13 16:44:38 -05:00
Matthew Flatt
99639c1999 errortrace repair
Closes PR 12629
2012-03-13 14:35:49 -06:00
Matthew Flatt
415b1eabc4 more load[/use-compiled] handler fixes for submodules
Closes PR 12630
2012-03-13 14:31:40 -06:00
Matthew Flatt
e01ebf6095 try module+' in place of slice' 2012-03-13 14:31:40 -06:00
John Clements
8d6e9e79a4 cleanup and refactoring of run-teaching-program, minor teachpack stepper fix
It looks like run-teaching-program hasn't been touched in quite a while.
To begin with, the "rewrite-module" function used to add code to print
out values of non-define exprs, but this is no longer necessary. In fact,
the only thing that it does now is to discard "provide" statements, and
even this may be unnecessary. I rewrote big chunks of this (short) file
to introduce defines, eliminate unnecessary functions, and add stepper-
skip-completely annotations to the requires associated with teachpacks.

Also, it appears that the 'rep' argument to expand-teaching-program
was entirely superfluous; I removed it from the argument list, and also
from the three places in the main tree (deinprogramm, lang, and the stepper)
that call this function.

Let me know of any problems seen with teachpack requires....
2012-03-13 12:09:41 -07:00
Robby Findler
4b18db1809 special case string snips that contain only newlines. This gets an
extra 1/2 megabyte is savings when opening up unit-size.rkt
2012-03-13 10:15:07 -05:00
Eli Barzilay
b2d2e533f9 More changes to platform names. 2012-03-13 10:29:14 -04:00
Matthew Flatt
1228770550 Modernize platform names, especially for Mac OS X. 2012-03-13 10:29:14 -04:00
Eli Barzilay
540213236a Major code revision for the json library.
* Modernize, improve, reformat, reorganize, etc.

* Use 'null as the default translation for json `null'.  Add keyword
  `#:null' arguments to control it, and a `json-null' parameter to
  change the default.  (Note that there is no ambiguity: symbols are
  used in hash keys, and JSON restricts them to always be strings, so
  `null' can never be a hash key.)

* Properly decode double \u-escape sequences (as UTF-16 surrogate
  pairs).

* Add a keyword option to do more string encoding of all non-ASCII
  characters.

* Rename `json->jsexpr' (and other way) to `string->jsexpr'.  This is
  because (a) after using it for a while I still can't remember which
  side is which and a `string' in the name makes it clear, (b) it
  follows the similar `xexpr' functions.
2012-03-13 10:29:14 -04:00