Commit Graph

29322 Commits

Author SHA1 Message Date
Asumu Takikawa
23d39a9968 Fix regression for (begin) and simplify 2013-05-17 00:33:10 -04:00
Asumu Takikawa
4a3b8cdfc4 Add examples for for/lists 2013-05-17 00:21:54 -04:00
Asumu Takikawa
d7f29d3636 Avoid doing the 2nd pass twice at the top-level
Thanks to Eric for pointing this out.
2013-05-17 00:02:06 -04:00
Burke Fetscher
d001abc5dd Redex: fix a small bug in the list-machine example 2013-05-16 17:39:25 -05:00
James Swaine
a8d981230c Make sure the Redex pattern language's 'boolean' is rendered as a nonterminal 2013-05-16 16:17:04 -05:00
Matthew Flatt
198a65a5fc raco pkg create: support "source" and "binary" bundling
Adds `--from-dir' and `--from-install' flags to select the interpretation
of the argument as a directory or as the name of an installed package.
Relevant to PR 13669

Adds `--as-is' (the default), `--source', and `--binary' flags to
select a pruning mode.

The `raco setup' tool recognizes a `rendered-scribblings' specification
in "info.rkt" to trigger moving rendered documentation into place,
registering its tags in the cross-reference database, and fixing up
references to "local-redirect.js"; the presence of a "synced.rktd"
indicates when those fixups have been performed (since, if the package
is installed in a user-specific scope, the documentation doesn't actually
move anywhere). Finally, "out<n>.sxref" needs to report paths relative to
the documentation's directory, and then the relative-directory references
need to be suitably resolved at derserialization; some support for such
relative paths was in place, but it wasn't quite general enough before.
2013-05-16 11:50:04 -06:00
Matthew Flatt
7c0ab55cbc scribble HTML rendering: unreserved-encode "on this page" links
In other words, replace "(...)" with "%28...%29" in links.
2013-05-16 11:04:23 -06:00
Matthew Flatt
967021ca63 scribble/base: handle special characters in URLs
For characters in the URL that give LaTeX trouble, convert
them to % encoding.
2013-05-16 11:04:23 -06:00
Matthew Flatt
f97a7cf177 libpng adjustment
Keep error if no "libpng" is found.
2013-05-16 11:04:23 -06:00
Matthew Flatt
332c863e78 raco pkg: don't treat "info.rkt" as a conflict
Even though "info.rkt" files are in collections, `raco setup'
treats them in a directory-specific way --- and that's necessary
for specifying things like `compile-omit-files' in a collection
splice.
2013-05-16 11:04:23 -06:00
Robby Findler
f364871e7c Redex docs edits to be more precise about picts (versus just slideshow) 2013-05-16 07:21:11 -05:00
Robby Findler
e768461b72 adjust generate-term docs a little
move the examples into the itemized list and include judgment-form
and enumeration examples
2013-05-16 07:18:24 -05:00
Eric Dobson
f332affa5a Massive cleanup of requriements in TR. 2013-05-15 23:18:29 -07:00
Eric Dobson
4fcda73adf Clean up lam-result.
Make drest a list instead of a pair, replace an int-err with a match error
which has source location, and remove static name for rest argument in error
case.
2013-05-15 21:12:54 -07:00
Matthew Flatt
5629a6156a support libpng16 2013-05-15 20:30:46 -06:00
Asumu Takikawa
a3d4305dda Fix framework doc typo 2013-05-15 21:03:42 -04:00
Matthew Flatt
d350869d10 fix thread-creation problem
When starting a thread, the thread was created and partially
initialized before trying to get a name for the thread from the given
thunk, but getting a name for the thunk could trigger scheduler
descisions, which could get confused by the partially initialized
thread.
2013-05-15 09:18:46 -06:00
Robby Findler
a0c9dfd54e make contract-out signal more errors in terms of itself
instead of provide/contract

closes PR 13752
2013-05-15 09:43:04 -05:00
Robby Findler
c981c55768 adjust contract test suite to do more provide/contract => contract-out
rewriting in order to test contract-out more
2013-05-15 09:43:03 -05:00
Asumu Takikawa
09cf079453 Whitespace and comment fixes 2013-05-14 15:25:44 -04:00
Asumu Takikawa
e0cff038c8 Refactor to reduce right-ward drift 2013-05-14 15:25:44 -04:00
Asumu Takikawa
67beb11cf6 Make require/typed work at top-level
Closes PR 13747
2013-05-14 15:25:43 -04:00
Asumu Takikawa
2c042998b9 Fix tc-toplevel-form for ignored syntax 2013-05-14 15:25:43 -04:00
Asumu Takikawa
3651974c6e Add more syntax examples to the reference 2013-05-14 15:25:43 -04:00
Vincent St-Amour
ab5075bc76 Fix test for TR's for source locations. 2013-05-14 12:04:15 -04:00
Vincent St-Amour
ce59724778 Log sequence specialization failures in `for' loops.
Using this logging, Optimization Coach can recommend adding `in-list'
and co. to `for' loops in hot code.
2013-05-14 11:47:34 -04:00
Vincent St-Amour
8638a661cc Fix source locations for TR for. 2013-05-14 10:35:19 -04:00
Robby Findler
498815a225 add enum-tests into run-tests.rkt 2013-05-14 07:25:53 -05:00
Max New
e86e47a968 Removed tabs from redex enum code 2013-05-13 21:14:48 -05:00
Max New
d174a0c0a0 Added Redex enum tests 2013-05-13 20:40:50 -05:00
Max New
c31d0e02d4 Hacky fix to only flatten repeats 2013-05-13 20:40:50 -05:00
Max New
943179aab1 Fixed bad let syntax 2013-05-13 20:40:50 -05:00
Asumu Takikawa
f3e6276f9b Make define-type work at top-level
Closes PR 12913
2013-05-13 17:14:22 -04:00
Vincent St-Amour
a857256c77 Limit memory in all sandboxes used by the TR random tester. 2013-05-13 16:46:00 -04:00
Vincent St-Amour
5de08f06b4 Fix type of sinh.
Found using random testing.
2013-05-13 16:46:00 -04:00
Robby Findler
c10a059a97 add responsible for collects/pict 2013-05-13 06:49:49 -05:00
Robby Findler
96acfb08ac disable slideshow's addition (to drracket) of pict value rendering 2013-05-12 22:07:59 -05:00
Robby Findler
9932ef33f7 move the slideshow/pict library to its own collection
also, adjust all of the requires in the tree to point to the pict
collection
2013-05-12 22:07:58 -05:00
Matthew Flatt
f8622080bb fix build for Windows 2013-05-12 16:59:28 -06:00
Asumu Takikawa
6bc6e8e07e racket/generic: fix kw args with #:defaults
Closes PR 13737
2013-05-12 16:36:13 -04:00
Matthew Flatt
c9cfaa2d36 slideshow/pict: fix `text' angle and superscript/subscript modes 2013-05-12 07:04:26 -06:00
Matthew Flatt
b08ff186e2 slideshow/pict: add 'outline style for `text' 2013-05-12 06:54:27 -06:00
Robby Findler
9da1d9ca00 pkg-info-orig-info seems to also possibly be (cons 'file ...). 2013-05-11 19:47:45 -05:00
Robby Findler
20e74c40bc adjust package manager gui to separate out (and make simpler looking)
the package installer

and make DrRacket have two separate menu items, one for installing a package
(which now looks simpler again) and one for doing all of the things you can
currently do with the package system in a GUI
2013-05-11 19:47:45 -05:00
Robby Findler
19c1c02823 add #:close-button?, #:canvas-min-width, and #:canvas-min-height
arguments to in-terminal
2013-05-11 19:47:45 -05:00
Robby Findler
15408f0c7b allow #f as the min-width / min-height init arg to area-containers 2013-05-11 19:47:44 -05:00
Ryan Culpepper
ef3dff1cec db: temporary workaround for SSL one-record-per-write issue 2013-05-11 13:20:35 -04:00
Ryan Culpepper
26545f29b9 fix unstable/socket loading in windows
closes PR 13743
2013-05-11 13:20:35 -04:00
Ryan Culpepper
1c3cbce0af fix typos in example code 2013-05-11 13:20:35 -04:00
Jay McCarthy
551e536f3e bitmap-dc% respective alpha channel in get/set-pixel 2013-05-11 10:36:19 -06:00