Commit Graph

24780 Commits

Author SHA1 Message Date
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
Matthew Flatt
5dc08cbe03 decompiler repairs related to changes for submodules 2012-03-12 09:04:37 -06:00
Matthew Flatt
420d3e7717 fix JIT bug exposed by OpenBSD 5.0
This is the second attempt to fix a problem with using a JIT-generated
address in JIT-generated code.

Closes PR 12627
2012-03-12 08:23:17 -06:00
Matthew Flatt
8f0cf5ba9e work around problem with gcc-4.0 build on Lion 2012-03-12 07:45:25 -06:00
Matthew Flatt
2ba910ef23 avoid compiler warning 2012-03-12 07:45:25 -06:00
Robby Findler
a7cb8fdc84 small improvements to the memory usage for files opened in DrRacket.
Before this commit, opening collects/drracket/private/unit.rkt required
about 17.5 megabytes of memory and after this commit, it is down to
about 15 megabytes.

The precise measurement I did was to create a frame and a scheme:text%
object in it, record the result of current-memory-use, open the file,
and record current-memory-use again.

For comparison, using a text:standard-style-list% object instead of
the scheme:text% requires only about 4.1 megabytes. One difference
being that there are about 3x more snips (10,204 vs 33,901 (after the
commit)), since we have one snip for each region that has a different
color in the scheme:text version, and the text:standard-style-list has
no colors and thus about two per line (there are 5006 lines in the
file).
2012-03-10 20:18:49 -06:00
Matthew Flatt
2811af1e59 fix test 2012-03-10 10:54:29 -07:00
Matthew Flatt
64f21122be avoid compiler warning 2012-03-10 10:52:52 -07:00
Matthew Flatt
8eef24be87 mzlib/traceld: show submodule 2012-03-10 10:51:56 -07:00
Matthew Flatt
6e6086293c drdr: skip traceld
If loaded, it prints to stderr as a load of its `main' submodule
is attempted.
2012-03-10 10:48:04 -07:00
Matthew Flatt
537f194c4e net/imap: add TLS support
Based on a patch from Thomas Spurden
2012-03-10 10:47:22 -07:00
Matthew Flatt
97a64b1166 no callback for `tab-panel%' tab additions and deletions 2012-03-10 10:07:37 -07:00
Matthew Flatt
402fdaad9a fixes and improvements for 3m backtraces 2012-03-10 08:30:02 -07:00