Commit Graph

24504 Commits

Author SHA1 Message Date
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
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