Commit Graph

24442 Commits

Author SHA1 Message Date
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
Eli Barzilay
a4ba7c8ebc Some semi-quick tests for the json code.
(With some items that need to be done.)
2012-03-13 10:29:14 -04:00
Eli Barzilay
b35d1b01b2 Initial import of Dave Herman's json library.
This commit has the unmodified original.
2012-03-13 10:29:14 -04:00
Eli Barzilay
0eb5f09e23 Add #:match-select' and #:gap-select' keyword arguments to
`regexp-match*', and the two `-positions' variants.
2012-03-13 10:29:14 -04:00
Eli Barzilay
f538c2e076 Fix a macro problem in "racket/private/string.rkt".
`port-success-k' is used in a single place, and instead of a simple
`lambda' expression it was used with (and ... (lambda ...)), which lead
to duplication of code.  Instead, move the question into the
`regexp-loop' macro.  (The compiled zo file is indeed smaller after this
change.)
2012-03-13 10:29:14 -04:00
Tom McNulty
14084d560d Add function binding-assq-all to request-structs.rkt 2012-03-13 10:29:14 -04:00
James McCoy
89234bde9e racket/draw: Check for libjpeg.so.8 on unix 2012-03-13 10:29:14 -04:00
Eli Barzilay
f3bb8c7104 This text is not linked from anywhere, and superseded by the guidelines
that Matthias maintains.
2012-03-13 10:29:14 -04:00
Eli Barzilay
43ef402274 Don't compile test files.
(Didn't touch the tiny "test-docs-complete" tests.)
2012-03-13 10:29:13 -04:00
Eli Barzilay
db2da10894 Improvements to the "support" section of the community page. 2012-03-13 10:29:13 -04:00
Eli Barzilay
3391aea5b4 Improve git intro text.
Add a description of the `insteadOf' option and a common github setup
that uses it.
2012-03-13 10:29:13 -04:00
Matthias Felleisen
0df7ef4d73 remove debugging 2012-03-13 07:19:45 -04:00
Matthew Flatt
366aa2c42d fixups for the `module-path?' change 2012-03-12 21:10:14 -06:00
Matthew Flatt
542f19c00e fix default `load/use-compiled' handler
A module shouldn't be loaded from source to find a submodule
if a module for the source is already declared.
2012-03-12 21:10:14 -06:00
Matthew Flatt
facc8db712 change module-path?' to subsume path?'
Although th eoriginal idea was to distinguish "text" paths
from derived filesystem paths, practically everythign that accepts
a module path also accepts a path. Building the generalization into
`module-path?' makes it easier to support `submod' wrappers on paths,
and it seems to fix things rather than break them.
2012-03-12 21:08:54 -06:00
Matthew Flatt
060515b9cd extend string-literal syntax to allow surrogate-style \u pairs
For example, "\uD834\uDD1E" is another way to write "\U01D11E",
while "\uD834", "\uDD1E" or "\uDD1E\uD834" are still errors.
2012-03-12 21:03:20 -06:00
Matthias Felleisen
abfc3de9ba error handler now uses Guillaume's rewrites 2012-03-12 22:49:46 -04:00
Matthias Felleisen
1d894852a4 updated todo list 2012-03-12 22:49:45 -04:00
Jay McCarthy
a75a18637d Fixing an error in DrDr 2012-03-12 16:16:19 -06:00
Jay McCarthy
b1aae4a12d Outputing with chunked encoding 2012-03-12 16:16:19 -06:00
Jay McCarthy
1e80084c97 Reading chunked requests 2012-03-12 16:16:19 -06:00
Jay McCarthy
04fdfbb012 Preparing for implementing chunked encoding 2012-03-12 16:16:19 -06:00
Matthew Flatt
8b5a11a39d fix bug in `apply' expansion 2012-03-12 15:03:33 -06:00
Matthew Flatt
e1a5e032cb further fixes to vector abuse 2012-03-12 11:47:18 -06:00
Matthew Flatt
018292ec00 GC with backtraces: add structure-type listing 2012-03-12 11:36:04 -06:00
Matthew Flatt
3073c994f5 make GC backtrace show eq hash code 2012-03-12 10:59:47 -06:00