Jon Rafkind
6b6ca7a7c3
[honu] allow %racket expressions to remain inside honu syntax and remove them after parsing
2011-11-10 15:55:54 -07:00
Robby Findler
961e280a98
add a bunch of tests to the module language test suite based on test cases in the repl test suite
...
(since the repl test suite tests the pretty big language's repl and since there was a test case
there that would have discovered a bug that we only found in the hours before the release but had
been lurking for a few days)
2011-11-10 16:31:09 -06:00
Matthew Flatt
43e421faf4
fix bytecode compiler bug
2011-11-10 13:25:06 -07:00
Neil Toronto
233323faac
Faster 3D animation: now caches actual shapes drawn
2011-11-10 12:59:43 -07:00
Neil Toronto
86a862cca9
Test case for Richard Hollos
2011-11-10 12:59:43 -07:00
Neil Toronto
bf2fbbbc49
3D stacked histograms
...
2D inverted histograms
2011-11-10 12:59:43 -07:00
Neil Toronto
8b93de59c6
Abstracted render-thread into worker-thread (preparing for animated 2D plots)
...
Endpoint-indifferent line styles (allows styles in finely chopped lines)
Adjacent polygons now gapless (faces drawn w/o antialiasing; jaggies mitigated by supersampling)
2011-11-10 12:59:43 -07:00
Neil Toronto
5bd8481aa7
2D stacked histograms, grouped histograms, collapse indistinguishable ticks, doc tests, fixes
2011-11-10 12:59:43 -07:00
Neil Toronto
56f70fb4f2
Exposed marching squares and cubes algorithms through plot/utils, speed improvements, fixes
2011-11-10 12:59:43 -07:00
Neil Toronto
ee71e01c13
Changed bounds argument contracts to (or/c regular-real? #f)
2011-11-10 12:59:43 -07:00
Neil Toronto
e878c80f0f
Adjusted light position so that at default angles, all visible rectangle faces have different shading;
...
used mild front+side lighting (e.g. late morning with the sun behind and to the left)
Fixed a tick collapse error (calculated wrong average position of collapsed ticks)
2011-11-10 12:59:43 -07:00
Neil Toronto
d477352c98
Small fixes, refactoring
...
Began finalizing the public interface to plot-device%
2011-11-10 12:59:42 -07:00
Neil Toronto
6bed60452a
Began finalizing public interface to *d-plot-area% classes
2011-11-10 12:59:42 -07:00
Neil Toronto
a4f245b273
Speed improvements in clipping
2011-11-10 12:59:42 -07:00
Neil Toronto
d953a093c7
Refactored margin fixpoint computation
2011-11-10 12:59:42 -07:00
Neil Toronto
ee9f9ffae0
Fixed ticks collapse bug;
...
Refactored tick/label parameter functions in 2d-plot-area%
2011-11-10 12:59:42 -07:00
Neil Toronto
dd471b4d73
Rename area.rkt -> plot-area.rkt
2011-11-10 12:59:42 -07:00
Neil Toronto
5a379b7236
Refactor *d-plot-area%; they are now containers for plot-device% instead of descendants of plot-area%
2011-11-10 12:59:42 -07:00
Neil Toronto
596e8b3775
Polar axes use r ticks
...
Removed r and d transforms (r needs design, d is useless)
2011-11-10 12:59:42 -07:00
Neil Toronto
4ae9ecf28e
Subdivide nonlinearly transformed 3D shapes
...
Detect possible nonconvergence in plot bounds fixpoint calculation
Collapse nearby 3D ticks
2011-11-10 12:59:42 -07:00
Neil Toronto
639ec15125
Added 'isoline' and 'isoline*' aliases for contour functions.
...
Added #:family argument to 2D label functions.
Various little fixes.
2011-11-10 12:59:41 -07:00
Neil Toronto
dab5caf67c
Expanded numbered colors to 128
2011-11-10 12:59:41 -07:00
Neil Toronto
e90ec4b69f
Added unstable/latent-contract
...
Reorganized contracts
Started exposing customization API in plot/utils
Now dog-fooding customization API in earnest
2011-11-10 12:59:41 -07:00
Neil Toronto
6b39863f1c
Source reorg
...
Added non-rendering plot elements
Optimizations
2011-11-10 12:59:41 -07:00
Neil Toronto
ae64e8683a
Parameter groups
2011-11-10 12:59:41 -07:00
Neil Toronto
afadbbf0d1
Parameter lists
...
Some tick changes
Allow #f in renderer fields
2011-11-10 12:59:41 -07:00
Neil Toronto
27538e1214
Better save/restore of parameters in plot-pict and plot3d-pict
2011-11-10 12:59:41 -07:00
Neil Toronto
4ca0729a2f
Combined renderer structs and fixpoint bounds determination
2011-11-10 12:59:41 -07:00
Neil Toronto
f593d468f7
Finished first draft of tick/axis overhaul
2011-11-10 12:59:41 -07:00
Neil Toronto
c6cc3dfb31
Split up tests to keep DrDr from timing out
2011-11-10 12:53:52 -07:00
Neil Toronto
f182a2719f
Adjusted appx. plot bound fixpoint computation; fixes a layout issue with multiple function renderers
...
Merge into 5.2
2011-11-10 12:53:52 -07:00
Matthew Flatt
5139de9cec
add `port-closed-evt'
2011-11-10 10:01:57 -07:00
Matthew Flatt
eb25a2db47
add epoll() support for Linux, kqueue() support for BSDs
...
This change builds on the blocking-I/O change to provide substantially
better performance when waiting on lots of sockets.
2011-11-10 10:01:56 -07:00
Eli Barzilay
794779b997
v5.2 stuff
2011-11-09 21:55:42 -05:00
Jon Rafkind
8fe87bd2a9
[honu] reparse honu expressions into racket expressions
2011-11-09 11:17:41 -07:00
Jon Rafkind
5aa6b0b06e
[honu] dont parse the output of syntax too early. wrap some core racket forms with %racket
2011-11-09 11:17:40 -07:00
Jon Rafkind
b25406db4c
[honu] re-attach the output of macros to the input stream. wrap racket expressions so they dont get reparsed
2011-11-09 11:17:40 -07:00
Robby Findler
3379fb8df6
fix some redex bugs caught by drdr tests
2011-11-09 06:47:38 -06:00
Robby Findler
b063604ab4
fix begin-for-syntax test
2011-11-08 22:02:12 -06:00
Matthew Flatt
2d70017091
win32: avoid line-wrap in `meesage%' display
...
Also, adjust text measuring to ensure that it is as close
as possible to measurements for a control.
2011-11-08 06:55:40 -07:00
Matthew Flatt
7d607fdd93
fix errortrace for phase N outside of module
2011-11-07 13:16:17 -07:00
Eli Barzilay
af3019fa5a
Allow internal definitions in a `for/vector' with a #:length.
...
Closes PR 12340.
2011-11-07 12:17:46 -05:00
Robby Findler
bfa6b1d953
Fixed some bugs in the double-stacktrace window; adjusted the repl to
...
be able to insert more with-stack-checkpoint calls in useful places;
adjust test suites to match the change in when the stacktrace icon
shows up
2011-11-07 07:42:14 -06:00
Robby Findler
e1ce0a0d1e
Change the drracket repl so that it doesn't show the stacktrace button
...
for syntax errors (i.e., exn:fail:syntax? exceptions)
Overall, it seems important to (in most cases) not show the stack that
leads to the point where raise-syntax-error is called, so as not to
confuse users who might think that that stack is useful information
in understanding how to fix the syntax error.
I've resisted this technique for avoiding those stacks for a long
time, mostly because common syntax errors in the standard settings
don't usually get the stacktrace button because they usually have
empty stacks (partly thanks to the with-stack-checkpoint dance).
But now that the underlying racket-generated stack is shown too, and
not just the errortrace-generated stack, it is harder to make those go
away. More precisely, DrRacket used to be able to rely on the fact
that files that were compiled to .zo files would not have the
instrumentation in them and thus stackframes from that code would not
show up in the stacktrace. No longer.
So, it seems time to try this alternative.
2011-11-06 21:14:51 -06:00
Robby Findler
cac37b0b6a
added test cases for phase issues in the module language repl
2011-11-06 21:14:51 -06:00
Mike Sperber
17ca888a97
Synch German string constants with latest.
2011-11-05 13:31:47 +01:00
Robby Findler
3f8d6eb2b2
adjust call to get-info/full so that it respects the contract
2011-11-04 21:48:04 -05:00
Matthew Flatt
64ae5268d6
fix sandbox parameterization order
2011-11-04 16:02:54 -06:00
Danny Yoo
899bc0616b
Adding an example for `define-match-expander'.
2011-11-04 11:16:35 -04:00
Robby Findler
65fd0234ad
add a unicode test to scheme-lexer.rkt
...
and change the tests so they all run with port line
counting enabled (or else the unicode test fails)
adjust module-lexer.rkt tests so they can run in either
port-counting mode or not (but currently run them all in
port-counting mode because scheme-lexer doesn't work without it)
also make a first stab at what needs to change in the module
lexer to make it work in non port line-counting mode
2011-11-03 22:41:27 -05:00
Matthew Flatt
4314b2ac28
make OpenGL gears example report a good error on failure
2011-11-03 17:42:36 -06:00
Matthew Flatt
0f6c267798
add #:fail argument to with-gl-context' in
canvas%'
2011-11-03 17:42:36 -06:00
Matthew Flatt
9bd0486ca0
fix non-tail loop in GL lock manager thread
...
The non-tail loop would cause the gears example to grandually
slow down, for example.
2011-11-03 17:42:36 -06:00
Robby Findler
b7541c5d1b
Revert "IN PROGRESS: starting to fix the repl-test for the new error icons"
...
This reverts commit 8ec968fe8f
.
2011-11-03 17:14:06 -05:00
Robby Findler
d00aed6f1b
fix the module reader for the case when there are non-ASCII unicode characters
...
in comments before the #lang line
also add an #:init-position argument to peeking-input-port
2011-11-03 17:13:17 -05:00
Robby Findler
8ec968fe8f
IN PROGRESS: starting to fix the repl-test for the new error icons
2011-11-03 17:13:17 -05:00
Matthew Flatt
4bbb2d41aa
cocoa: fix some GL problems
2011-11-03 09:12:13 -06:00
Eli Barzilay
40f3388051
Shuffle the sandbox parameters so they make a bit more sense.
...
(Specifically, more restrictions come earlier.)
2011-11-02 17:46:40 -04:00
Eli Barzilay
90f7a98dd6
Fix the default `sandbox-make-code-inspector'.
...
It now creates an inspector based on the original code inspector instead
of the (implicit) wrong default used by `make-inspector'. Change
`sandbox-make-inspector' too, to make it explicit.
2011-11-02 17:40:24 -04:00
Eli Barzilay
b9bd1db58a
Move the namespace creation so that it happens under the code-inspector.
...
This fixes a security issue where a toplevel evaluator could still use
things like `ffi/unsafe'.
2011-11-02 17:40:24 -04:00
Eli Barzilay
ad934255c5
Capitalize all subsection headers.
2011-11-02 17:40:24 -04:00
Eli Barzilay
8f1a4de253
Document `numeric'; closes PR 12338.
2011-11-02 17:40:24 -04:00
Eli Barzilay
1eec2b75e3
Improve unix installer tester.
...
* The installer is a command-line argument.
* Make it work in xterm too, by unsetting TERM.
* Works with version-less directories, from release installers.
2011-11-02 17:40:24 -04:00
Matthew Flatt
98cde53fa0
fix rename trans `free-identifier=?' propagation in int-def context
...
Closes PR 12333
2011-11-02 10:02:19 -06:00
Matthew Flatt
c7a0f1bef8
guard a space-safety test with a 3m check
2011-11-02 08:12:58 -06:00
Matthew Flatt
3885f4683b
add missing `render%' init argument doc
2011-11-02 08:12:58 -06:00
Matthew Flatt
8d91efcee4
fix `get-bytevector-all' bug
...
Closes PR 12327
2011-11-02 08:12:58 -06:00
Matthew Flatt
e361acae0b
handin server: add support for HTTPS uploads (when enabled)
2011-11-02 08:12:58 -06:00
Jay McCarthy
8b38c8e933
Changed the exn thrown
2011-11-01 13:01:09 -06:00
Jay McCarthy
6466c480b0
DrDr, test this push
2011-11-01 11:16:47 -06:00
Jay McCarthy
c2065b2128
Improving error messages for non-serializable continuation pieces
2011-11-01 11:16:47 -06:00
Robby Findler
cc86b6f06e
disable incremental-keybindings.rkt
2011-11-01 11:33:07 -05:00
Robby Findler
5128f08810
minor docs fix
2011-11-01 09:51:28 -05:00
Ryan Culpepper
98d8acfd4e
avoid including lazy-required names in (all-defined-out)
...
closes PR 12335
2011-10-31 18:19:07 -06:00
Robby Findler
8edfd4e87e
add docs for the #:stronger argument to the contract constructors
...
closes PR 12312
2011-10-31 16:59:19 -05:00
Robby Findler
0ce6c75591
Rackety (mostly letrec-values => define and minimizing dependencies)
2011-10-31 09:14:34 -05:00
Robby Findler
64dfdb3c7f
Change the expansion of reduction-relation so that it generates less code
...
(by expanding into a call to a 30 or so line procedure, instead of putting
that code directly into the result of the macro).
This produces about a 6x speedup on this reduction-relation
(reduction-relation L (--> 0 1) (--> 1 2) ... (--> 99 100))
where L is
(define-language L)
The time it takes to run "racket r6rs.rkt" in the shell from the
directory collects/redex/examples/r6rs speeds up by about 10% (15%
with errortrace enabled), in the case where all .zo files are built,
except the ones in the r6rs directory. (Also worth noting that "racket
-l redex" takes more than 50% of that time.) And the change has no
noticeable effect on the time it takes to run r6rs-test.rkt.
2011-10-31 08:53:09 -05:00
Robby Findler
41f68af64a
delay the construction of the compatible-closure grammar (the 'cross' thing)
...
until it is actually used. (This can make a big difference for large grammars
in models that don't actually use the compatible closure stuff.)
2011-10-30 22:36:53 -05:00
Ryan Culpepper
1dade8ee1d
db: added support for postgresql arrays
2011-10-30 18:51:16 -06:00
Ryan Culpepper
e2e63684de
data/order: added support for transparent structs, added tests
2011-10-30 18:51:16 -06:00
Robby Findler
e362888d6d
add a menu item to put the interactions window beside/below the definitions window
2011-10-29 20:56:42 -05:00
Matthew Flatt
d9b9cbe16a
fix space-safety bug in composable continuations
2011-10-29 09:37:12 -06:00
Mike Sperber
007927892b
Sync German string constants with latest.
2011-10-29 12:06:54 +02:00
Matthew Flatt
506aa79d14
fix editor refresh problem when line numbers are shown
...
More generally, fix horizontal refresh when an editor has left
padding. Otherwise, deleting a character in DrRacket with line
numbers shown seems sluggish, because the update waits for a
refresh event.
2011-10-28 20:01:19 -06:00
Sam Tobin-Hochstadt
3caf08da43
Fix curried function type parsing without ().
2011-10-28 15:43:29 -04:00
Eli Barzilay
d77a89ac42
Avoid spaces and caps in file names.
...
(Also fixes a bug, AFAICT, since "SpeechBubble" wasn't uniformly.)
2011-10-28 15:15:17 -04:00
Robby Findler
e9d32dfdff
adjust the planet cute images so they cooperate with executable creation better
2011-10-28 13:51:31 -05:00
Robby Findler
f48e12240a
clean up the docs for the Planet Cute images
2011-10-28 13:51:31 -05:00
Matthew Flatt
457f4a4f52
another attempt to fix the build script
2011-10-28 06:43:20 -06:00
Matthew Flatt
932ef94cb3
fix contract
2011-10-28 06:43:20 -06:00
Robby Findler
feb3bfc165
adjust the text to match the creative commons license
2011-10-27 19:18:25 -05:00
Robby Findler
dc24fbf62d
added the Planet Cute images to the (new) 2htdp/planetcute library
2011-10-27 18:50:59 -05:00
Robby Findler
91866f58c7
shrink the max size of the filename popup menu in drracket
...
closes PR 12317
2011-10-26 21:10:45 -05:00
Robby Findler
0dff5ca92b
special case the four cardinal directions during rotation so they rotate
...
exactly (this also makes flip-horizontal and flip-vertical work equally
well)
closes PR 12323
2011-10-26 16:36:07 -05:00
Robby Findler
48f9b8895c
add documentation for racket/contract/base (also trim some
...
of the longer lines in the file)
closes PR 12311
2011-10-25 16:16:23 -05:00
Robby Findler
41b8b8142a
adjust the colors of the little dot for online check syntax so it
...
is more informative (one more stage) and it turns green when online
check syntax is finished (instead of being blank in that case)
2011-10-25 16:16:22 -05:00
Sam Tobin-Hochstadt
706198c059
Add `typecheck-fail' form for explicit type errors.
2011-10-25 12:10:58 -07:00
Robby Findler
fb02a0a5cd
make list/c produce chaperone contracts, as appropriate
...
closes PR 12319
2011-10-24 08:16:49 -05:00
Robby Findler
a1654f1532
adjust the implementation of 'contract-out' so that it does some
...
checking of the syntax (that it can) and then just throws everything
to the end of the module, instead of trying to have it figure out
what the actually provided variables are at the beginning.
closes PR 12295
2011-10-24 08:16:48 -05:00
Jay McCarthy
ab45f4f1db
Incorporating section from Mike W
2011-10-24 06:50:47 -06:00
Jon Rafkind
6b519f7b64
[honu] remove extra semicolon from cond
2011-10-23 14:06:12 -06:00
Jon Rafkind
dccdcb0550
[honu] wrap expressions with a semicolon at the end of them in (%semicolon ...)
2011-10-23 14:06:06 -06:00
Jon Rafkind
b055ce9fe0
[honu] wrap blocks inside a definition context (with let)
2011-10-23 13:26:28 -06:00
Robby Findler
6228bc826e
adjust the rendering of 2htdp/image examples in the docs to add an extra
...
pixel on the right and bottom so outline shapes look reasonable
closes PR 12313
2011-10-23 13:16:57 -05:00
Robby Findler
9d371153fd
add the #:stop-when argument to apply-reduction-relation*
2011-10-23 12:10:56 -05:00
Eric Hanchrow
23d38b14a4
Add missing word
2011-10-22 20:58:56 -04:00
Eric Hanchrow
723934a608
add an "s"
2011-10-22 20:58:40 -04:00
Eric Hanchrow
b498d6e9e7
add missing word
2011-10-22 20:58:05 -04:00
Vincent St-Amour
edacae9082
Fix benchmark graphs in the presence of the coefficient of variation.
2011-10-22 20:56:18 -04:00
Vincent St-Amour
a40723d14d
Don't run benchmarks when only showing what's available.
2011-10-22 20:52:38 -04:00
Vincent St-Amour
a0b987bc1e
Improve Guile benchmarking.
...
Thanks to Andy Wingo for pointers.
2011-10-22 20:52:38 -04:00
Eli Barzilay
7e4eb501c5
Change test to match changed configure output
2011-10-22 07:06:08 -04:00
Matthew Flatt
e71abf5aba
Add a tutorial to the FFI overview
2011-10-21 20:34:51 -06:00
Mike Sperber
36d3745d4c
Unbreak "Enable signature checking".
...
Previously, if you disabled it once, it would stay disabled.
2011-10-21 20:43:50 +02:00
Eli Barzilay
0d642cf976
Indicate repl phase level when it's not 0.
2011-10-21 11:13:16 -04:00
Eli Barzilay
d8d79d22b2
Fix the old-style keybinding example.
2011-10-21 11:13:16 -04:00
Sam Tobin-Hochstadt
da5b68fd4d
Fix wrapping of null' when provided as
Any'.
...
Reported by 'dingfeng' on #racket.
Please merge to 5.2.
2011-10-21 10:55:57 -04:00
Robby Findler
7acc5b7852
adjust HtDP teaching languages' first and rest so that they accept circular lists.
...
This commit fix an unintentional change introduced by this commit:
c7d67f9bab
(and it also adds in test cases for what that commit appears to have
been doing)
Assuming everyone agrees that the behavior for first rest from back
in 2010 is the behavior we still want (and the lack of release notes
on the subject makes me believe that we do), then:
Please include in 5.2.
2011-10-21 08:09:34 -05:00
Matthew Flatt
245f45d183
switch Mac OS X build default (32-bit vs 64-bit) to compiler default
...
That means the default is 64-bit for a typical Mac OS X 10.6 or 10.7
installation.
2011-10-20 14:30:02 -06:00
Matthew Flatt
a81054fef4
fix a marshaling bug for syntax objects
...
Closes PR 12300
Merge to 5.2
2011-10-18 20:53:43 -06:00
Carl Eastlund
cc70834024
Made constructed planet links force the minor version for more reliable self-reference.
2011-10-18 16:18:32 -04:00
Carl Eastlund
bb828c312f
Fixed a typo (syntax-quote => quote-syntax).
2011-10-18 16:17:54 -04:00
Matthias Felleisen
8f804afcaa
adjusted error message checking
2011-10-18 12:36:33 -04:00
Robby Findler
e011633b6f
Improve the backtrace window to make it show both the errortrace and the
...
racket-level stack traces
2011-10-18 10:56:05 -05:00
Matthew Flatt
1e237d56d1
fix `get-char-{width,height}' to use current settings correctly
2011-10-18 09:07:16 -06:00
Matthew Flatt
29c7c28ba5
gtk: fix problems with on-focus' and
on-activate'
2011-10-18 06:35:50 -06:00
Matthew Flatt
718229387c
fix cocoa `get-clipboard-string' to never return #f; fix docs
...
Merge to 5.2
2011-10-18 06:35:38 -06:00
Casey Klein
57a8ed5c79
Fixes matching of prefab struct literals
...
Fixes PR 12298
2011-10-17 19:37:16 -05:00
Robby Findler
4a3997ac1c
use the focus table mixin for the autosave window so that drdr tests work right
2011-10-17 17:32:37 -05:00
Matthew Flatt
a09543772a
gtk: no freeze/thaw before/after unmap
...
Merge to 5.2
2011-10-17 15:53:07 -06:00
Eli Barzilay
3b93da83c4
Fix typo in htdp url.
...
Fixes PR 12282. (Which was closed prematurely.)
2011-10-17 16:14:04 -04:00
Eli Barzilay
7bff0e888d
Remove the unneeded `require' in that example.
2011-10-17 14:32:23 -04:00
Eli Barzilay
c66c669ee3
Remove preference for old-style menu bindings, and instead add a sample
...
keybindings file that does that.
(This reverts most of commit 26f6c588fcfa45a1a12c275e5824aede8ba23e3e.)
2011-10-17 14:09:26 -04:00
Eli Barzilay
016e6d771c
Add an example for old-style keys.
2011-10-17 13:54:54 -04:00
Eli Barzilay
319a158dec
Make `create-new-tab' public.
2011-10-17 13:18:18 -04:00
Eli Barzilay
8f66afe5a6
Document next-tab' and
prev-tab'.
2011-10-17 13:18:18 -04:00
Eli Barzilay
6a323fe75e
Make the example `rebind' more like other rebinds in Emacs and others.
2011-10-17 13:18:17 -04:00
Eli Barzilay
df4a227571
Add sqlite libraries to the `db' spec.
2011-10-17 13:18:17 -04:00
Rodolfo Carvalho
f43405543a
Add missing word 'one', clarify behavior of the 'semi-or-amp mode.
2011-10-17 13:18:17 -04:00
Robby Findler
f2b5538b56
improved the known-good-contract? predicate by including more known
...
contracts and speeding it up
2011-10-17 08:47:33 -05:00
Robby Findler
1bedd9a9f6
make provide/contract generate only one definition to bind the positive
...
module name, instead of one per clause the in the provide/contract
declaration
do not include in 5.2
2011-10-17 08:47:33 -05:00
Matthias Felleisen
2a43c68dd7
on-release works without on-key; Closes PR12291 please propagate
2011-10-16 22:46:22 -04:00
Eli Barzilay
08b2d7b595
Lots of little changes and fixes, and an extensive testing script.
2011-10-16 18:53:30 -04:00
Eli Barzilay
3589a70308
Rewrote large parts of the unix installer script.
...
It's now simpler, shorter, and better. Some of the text is revised,
accepts environment variables when asked for the path, some additional
fixes in misc places.
2011-10-16 18:53:30 -04:00
Eli Barzilay
f882c01e65
Misc improvements (no functionality changes, yet).
2011-10-16 18:53:30 -04:00
Eli Barzilay
08e70c5e45
Make the default answer for running an older uninstaller "yes".
...
This makes it behave more like the Windows installer, where the default
is to remove an older installation, which most people want to do anyway.
2011-10-16 18:53:30 -04:00
Robby Findler
abf722f19a
adjust the code that checks to see if a file is in the module language so that it uses
...
read-language, in the case that the simpler check (that just looks for "#lang") fails.
please include in 5.2
2011-10-16 17:39:47 -05:00
Matthew Flatt
c514fd3470
fix an identifier binding bug
...
Merge to 5.2
2011-10-16 07:11:34 -07:00
Ryan Culpepper
f704d1620d
db: remove superfluous pretty-print setup
2011-10-16 05:41:58 -06:00
Ryan Culpepper
eed6016793
scribble/eval: pretty-print results by default
2011-10-16 05:41:58 -06:00
Ryan Culpepper
8f2fe7a5aa
db: updated note about sqlite3.dll
...
merge to 5.2
2011-10-16 05:41:53 -06:00
Ryan Culpepper
81fa15e27b
updated documentation for syntax/trusted-xforms
...
closes PR 12269
merge to 5.2
2011-10-16 02:40:41 -06:00
Ryan Culpepper
1695d73f5b
rackunit: fixed test
...
merge to 5.2
2011-10-16 02:40:41 -06:00
Ryan Culpepper
18b3899e6a
rackunit: fix tests
...
merge to 5.2
2011-10-16 02:40:41 -06:00
Robby Findler
9ab6a93127
fix the error check
...
closes PR 12290
2011-10-15 14:00:16 -05:00
Matthew Flatt
d4f7020cd2
add cross-reference between data and read/print descriptions
...
Closes PR 11096
2011-10-15 07:20:33 -07:00
Matthew Flatt
2a39a098a6
fix docs on reading characters
...
Closes PR 11102
2011-10-15 07:20:33 -07:00
Matthew Flatt
eba0ca2d4d
add cross-ref from reference to guide on places
2011-10-15 07:20:33 -07:00
Matthew Flatt
e55e0a5e4a
reader doc fixes
...
Closes PR 11086
2011-10-15 07:20:33 -07:00
Mike Sperber
2db0791e27
Synch German string constants with latest.
2011-10-15 14:28:22 +02:00
Neil Toronto
7270c27141
Fixed x/y mixup in 'axes'
...
Removed 'plot-tick-skip' parameter
Merge into 5.2
2011-10-14 22:06:15 -06:00
Robby Findler
db2e13a09b
add a "Step Until Choice" option into the redex stepper
2011-10-14 13:37:12 -05:00
Neil Toronto
522ba14b9f
Rename plot3d-animating? -> plot->animating?
...
Combine plot-ps-interactive? and plot-pdf-interactive? into plot-ps/pdf-interactive?
Rename plot3d-ambient-light-value -> plot3d-ambient-light
Fix off-by-one 2D plot area clipping
Add warning to docs about 'fit' disappearing
Stop providing 'fit', 'derivative', 'gradient' and 'make-vec' from the 'plot' module
Merge into 5.2
2011-10-13 16:16:02 -06:00
Matthew Flatt
6d608e392c
add missing test for text% tab fix
...
Merge to 5.2
2011-10-13 06:03:10 -06:00
Matthew Flatt
5fb2f56fdf
fix tab problem in text%
...
Merge to 5.2
2011-10-13 05:57:29 -06:00
Robby Findler
770c2d14f8
swapped the backwards triangles
2011-10-12 20:46:20 -05:00
Robby Findler
a43973157b
add call to 'test-results'
2011-10-12 20:46:20 -05:00
Matthias Felleisen
8cdbd3285b
document unexpected mouse event reporting; Closes PR 12278
2011-10-12 09:37:03 -04:00
Matthew Flatt
8c2dc5ccb7
parallel `raco setup': print "running" before insead of after
...
That is, before actually running the document, so that the
"running" message is a useful indicator of what is happening
now.
2011-10-11 17:17:58 -06:00
Matthew Flatt
f2082e6eeb
fix framework doc reference to `set-icon' method
...
Merge to 5.2
2011-10-11 17:17:58 -06:00
Matthew Flatt
c74bce598b
fix Ctl-C problems in parallel `raco setup'
...
The main problem was that when a place catches an exception,
it would continue in breaks-disabled mode. Also improve
`parallel-do' to detects additional breaks when waiting on
places and propagate them, in case a place was running something
that ate the initial break.
2011-10-11 15:54:22 -06:00
Matthew Flatt
5c0956d7b1
more memory accounting fixes for places
...
Fix memory accounting to detect when messages pile up in a
place channel and when shared values (such as the result of
`make-shared-bytes') pile up. Also fix problems where a GC
or free-page purge needs to be triggered.
The implementation causes a minor API change, which is that
a place channel sent multiple times as a message generates
values that are `equal?' but no longer eq?'.
Closes PR 12273
[Do not merge to 5.2]
2011-10-11 11:26:11 -06:00
Robby Findler
4d00b13ce0
adjust the autosave gui so that closing the window doesn't cause drracket to
...
exit (this only happened on non-mac os x platforms)
include in 5.2
2011-10-11 10:44:00 -05:00
Robby Findler
95e29376fd
error message typo
...
include in 5.2
2011-10-11 10:43:37 -05:00
Robby Findler
10d19bf8d5
adjust 2htdp/image library so that it doesn't create arbitrarily large
...
bitmaps when rendering images
closes PR 12277 (except I didn't fix the make-bitmap contract)
include in 5.2
2011-10-11 08:33:50 -05:00
Matthew Flatt
32b5390ad2
add missing GC registration for places
...
Merge to 5.2
2011-10-11 06:45:14 -06:00
Matthew Flatt
dc912ee6de
third attempt to fix 64-bit Lion hidden-window problem
...
After all the previous attempts, the problem seems almost trivial:
although Apple documents `NSAnyEventMask' as the constant #xFFFFFFFF,
it's actually NSUIntegerMax (and the difference matters in 64-bit
mode).
Merge to 5.2.
2011-10-10 15:48:30 -06:00
Matthew Flatt
9fd11ac92c
Revert "another attempt to fix the 64-bit Lion hidden-window problem"
...
This reverts commit f6e5468dbb
.
Merge to 5.2
2011-10-10 15:38:42 -06:00
Matthew Flatt
5724aa1d1b
doc clarifications
...
Merge to 5.2
2011-10-10 14:45:53 -06:00
Matthew Flatt
6aaa0d44c0
fix argument-error report
...
Merge to 5.2
2011-10-10 14:18:40 -06:00
Neil Toronto
a0e2401cbe
Fixed error: attempt to divide by (void) when axis bounds' length is a multiple of 1000
...
Please merge into 5.2
2011-10-10 13:28:36 -06:00
Robby Findler
90304687f1
improve the strategy for check syntax's tail arrow information collection
...
In particular, instead of trying to collect all of the arrows and do some kind
of a smart transitive closure (that tries to avoid adding links that would "skip"
expressions but doesn't always manage it), the new code tries instead to build
the right links directly while traversing the fully expanded expression
This also seems to have been a minor performance improvement. When running the
information collection phase of check syntax (ie, not counting the time for
expansion) on a 1.8 GHz core i7, for collects/framework/private/text.rkt,
the times went from:
cpu time: 7347 real time: 7413 gc time: 211
cpu time: 7328 real time: 7393 gc time: 239
cpu time: 7356 real time: 7418 gc time: 240
to:
cpu time: 7562 real time: 7632 gc time: 265
cpu time: 7555 real time: 7618 gc time: 269
cpu time: 7552 real time: 7617 gc time: 262
closes PR 11835
do not include in 5.2
2011-10-10 14:18:01 -05:00
Robby Findler
fa98274aed
add a checkbox to the 'evaluation terminated' dialog to avoid seeing that dialog
...
closes PR 6575
don't include in 5.2
2011-10-10 14:18:01 -05:00
Eli Barzilay
ca64179b63
"half-screen" -> "right-half-screen".
...
(I don't know why this was needed, but calling it "half-screen" looks
like it's asking for future trouble.)
2011-10-10 13:35:00 -04:00
Eli Barzilay
e9db4df6c3
Clearer question about running an existing uninstaller.
2011-10-10 13:30:04 -04:00
Eli Barzilay
de40798d49
Rename "$WHERE1" -> "$BASE".
2011-10-10 13:30:03 -04:00
Kevin Tew
abc0af81d2
Slideshow --half-screen
2011-10-10 11:07:29 -06:00
Rodolfo Carvalho
a3890f7e32
Fix typo in Slideshow documentation
2011-10-10 11:49:24 -04:00
Jay McCarthy
b20ffdbe95
Fixing breakage from push 23693
2011-10-10 08:27:34 -06:00
Jay McCarthy
354283132d
Fixing PR 12271
2011-10-10 06:45:42 -06:00
Matthew Flatt
c805728d3e
fix compiler confusion: non-mutating vs reorderable unsafe ops
...
Reordering `unsafe-vector-ref' past an `unsafe-vector-set!' was
particularly bad. Meanwhile, some non-mutating operations like
`unsafe-mcar' were treated too conservatively.
Merge to 5.2
2011-10-09 19:46:24 -06:00
Matthew Flatt
b377cafdac
mark OS jmpbuf as GC-ignored
...
This change is intended to make the QNX port work, but it
should also future-proof Racket a little for other platforms.
2011-10-09 10:45:24 -06:00
Matthew Flatt
8f0fa96d69
docs and release notes for `set-icon' change
...
Merge to 5.2
2011-10-09 09:45:42 -06:00
Sam Tobin-Hochstadt
1b69d742bd
Change basic-top-level-window% to support `set-icon', and use to set icon for splash screen.
...
Closes 12241
Merge to 5.2
2011-10-09 09:43:32 -06:00
Matthew Flatt
8bd81f4806
fix ffi retain of callbacks
...
The FFI's weak table of callback procedures (to map Racket procedures
to FFI callback objects) suffered from the classic key-in-value
problem.
Closes PR 12228, probably
Merge to 5.2
2011-10-09 09:01:15 -06:00
Mike Sperber
334bf53bb9
Synch German string constants with latest.
2011-10-09 15:21:00 +02:00
Matthew Flatt
bf3f09a3c1
cocoa: fix `show #f' on already unshown frame shows it briefly
...
Merge to 5.2
2011-10-08 16:47:19 -06:00
Matthew Flatt
1bc80310e3
fix compiler bug that could cause infinite inlining loop
...
The bug was that a procedure could be incorrectly marked as
a "leaf" procedure, which could in turn cause the compiler
to keep inlining a very small procedure that calls itself.
Closes PR 12270
Merge to 5.2
2011-10-08 16:40:34 -06:00
Robby Findler
5db48b3e73
avoid calling the show method for tooltips unless the frame is shown.
...
please include in 5.2
2011-10-08 16:50:21 -05:00
Stephen Chang
79dd7df945
fix lazy stepper bug: annota of non-identifier fns
...
- fix lazy stepper bug where delaying of non-identifier fns
wasnt being properly hidden
- add test case for this bug
include in 5.2
2011-10-08 15:59:32 -04:00
Robby Findler
fcc720f43e
adjust uses of after-load-file to use the success? flag
2011-10-08 10:50:27 -05:00
Matthew Flatt
ed38297c97
editor<%> doc fixes
2011-10-08 09:12:31 -06:00
Matthew Flatt
379991c5bb
fix text% `get-paragraph-{start,end}-position' bug and doc bugs
...
Merge to 5.2
2011-10-08 09:12:30 -06:00
Robby Findler
d362bda6d3
adjust the way languages are chosen when opening a file.
...
Specifically, in the case that we're inheriting a language setting
from some earlier preference or something and the language we're
inheriting is one that saves prefixes, and the current file being
opened does not match any of the possible prefixes, then revert
to the not-a-language language, instead of using the value from
the preference
Also: finish the removal of the EoPL language level from the
DrRacket langauge dialog, and clean up the 'get guidance' dialog
Please cherrypick this commit to the 5.2 release branch
2011-10-08 09:46:06 -05:00
Matthew Flatt
41b18e3608
windows: add sqlite3.dll
...
Merge to 5.2
2011-10-08 07:18:49 -06:00
Robby Findler
1eaf53d4cb
adjust the module lexer so that it treats the entire range that
...
'read-language' uses as a single token in the case that read-language
fails. This helps it to deal with things like s-exp and at-exp
properly
closes PR 12260
2011-10-08 08:08:36 -05:00
Matthew Flatt
f6e5468dbb
another attempt to fix the 64-bit Lion hidden-window problem
...
This fix uses the same`run'-vs-`finishLaunch' technique as before,
but patches up the modal-dialog problem by calling `run' again
with a callback to start a modal loop.
Merge to 5.2.
2011-10-08 06:12:17 -06:00
Eli Barzilay
7d1b00ff69
Typo in error message detection
2011-10-08 03:02:20 -04:00
Ryan Culpepper
192e039e66
fix docs (eval) for syntax/keyword
2011-10-07 19:40:48 -06:00
Ryan Culpepper
a1009bbf26
syntax/parse: add begin-for-syntax to kernel-literals
2011-10-07 19:40:48 -06:00
Ryan Culpepper
a100395626
rackunit: prevent test case from killing test-runner thread
...
closes PR 11586
2011-10-07 19:40:48 -06:00
Ryan Culpepper
528c05b228
emphasize syntax/id-table over syntax/boundmap
2011-10-07 19:40:48 -06:00
Ryan Culpepper
00c6f91e7c
db: fix use of lazy-require
2011-10-07 19:40:48 -06:00
Ryan Culpepper
f7a6c4a3b6
rackunit: all checks return void
...
closes PR 12001
2011-10-07 19:40:48 -06:00
Ryan Culpepper
e72b9cc3fd
macro-debugger: removed simplify-marks
...
closes PR 12248
2011-10-07 19:40:48 -06:00
Ryan Culpepper
d3cb67b756
syntax/parse: fixed docs
...
closes PR 12255
2011-10-07 19:40:48 -06:00
Neil Toronto
a07af20658
Fixed >=/c contracts
2011-10-07 19:22:33 -06:00
Neil Toronto
c655cd0efb
Contract and parameter doc pages
2011-10-07 19:09:04 -06:00
Neil Toronto
50cf71466e
Reduced the number of plot-specific contracts
2011-10-07 18:05:54 -06:00
Neil Toronto
644abe30fe
Reworked number formatting for plot labels
2011-10-07 17:29:27 -06:00
Matthew Flatt
9aa93ab5ae
Revert "cocoa: change the way the app is initialied"
...
This reverts commit 60101618db
.
While this changes fixes a 64-bit Lion problem, it creates a
worse problem of breaking file and print dialogs.
2011-10-07 15:25:31 -06:00
Neil Toronto
8a60e1816a
Fixed contracts in documentation
2011-10-07 13:09:27 -06:00
Robby Findler
7aa6153da1
adjust the calls to paragraph-{start,end}-position to specify the default argument
2011-10-07 14:02:27 -05:00
Robby Findler
2339046554
shrink some long lines
2011-10-07 11:48:39 -05:00
Robby Findler
93c1d1dd36
add a 'find longest line' menu item to the edit menu
2011-10-07 11:48:39 -05:00
Robby Findler
e7197c4129
fix tooltip placement in online check syntax (only affects mac os x)
2011-10-07 11:48:24 -05:00
Robby Findler
a40f288e48
relaxed the restrictions on planet requires in the teaching languages to allow the new forms
2011-10-07 11:48:24 -05:00
Robby Findler
57deb86f7b
don't invalidate the error ranges for online check syntax when there is no admin
...
I believe that this can go wrong in the case that you edit a buffer and switch tabs
before drracket fully finishes responding to the edited buffer (due to a queue-callback
that postpones some of the response to editing the buffer) for online expansion.
At least, this is how I guess that the error below happened:
send: target is not an object: #f for method: get-view
=== context ===
/Users/robby/git/exp/plt/collects/racket/private/class-internal.rkt:4602:0: obj-error
/Users/robby/git/exp/plt/collects/drracket/private/module-language.rkt:1485:6: get-box method in .../module-language.rkt:1151:4
/Users/robby/git/exp/plt/collects/drracket/private/module-language.rkt:1397:6: invalidate-online-error-ranges method in .../module-language.rkt:1151:4
/Users/robby/git/exp/plt/collects/drracket/private/module-language.rkt:1387:6: clear-old-error method in .../module-language.rkt:1151:4
/Users/robby/git/exp/plt/collects/drracket/private/module-language.rkt:1177:6: buffer-modified method in .../module-language.rkt:1151:4
/Users/robby/git/exp/plt/collects/mred/private/wx/common/timer.rkt:34:38
/Users/robby/git/exp/plt/collects/mred/private/wx/common/queue.rkt:432:6
/Users/robby/git/exp/plt/collects/mred/private/wx/common/queue.rkt:472:32
/Users/robby/git/exp/plt/collects/mred/private/wx/common/queue.rkt:618:3
2011-10-07 11:48:24 -05:00
Matthew Flatt
b6a9330bf1
more `raco exe' cycle repairs
2011-10-07 10:32:49 -06:00
Matthew Flatt
f02ea92250
fix compiler bug related to `#%variable-reference' on local
...
The first compiler pass didn't properly shift the stack offset
when adjusting the context of a varref of a local.
Closes PR 12258
2011-10-07 09:42:33 -06:00
Eli Barzilay
f5230d858f
Catch tcp failures in the http verification.
2011-10-07 11:05:15 -04:00
Eli Barzilay
a68ea14d8b
Fix typo in symbol name, keep old one still.
...
Closes PR 12265.
2011-10-07 10:47:15 -04:00
Matthew Flatt
add50ab436
cocoa: undo hack of "-64" suffix on app names
...
Commit 60101618db
seems to address the real problem.
2011-10-07 08:05:25 -06:00
Matthew Flatt
60101618db
cocoa: change the way the app is initialied
...
Calling NSApplication's `run' works better than calling `finishLaunching'
directly, particularly in 64-bit Lion for some reason.
Relevant to PR 12102
Relevant to PR 12257
2011-10-07 08:05:15 -06:00
Neil Toronto
94a9a808ec
Closes PR 12262.
2011-10-06 19:02:31 -06:00
Neil Toronto
55f71c9fa7
Finished doc page for plot/utils
2011-10-06 19:02:31 -06:00
Sam Tobin-Hochstadt
9cc2c441ee
Add note on `match' semantics.
2011-10-06 18:32:05 -04:00
Sam Tobin-Hochstadt
463a34ec90
Revert "Fixing racket/match by removing errorneous optimization with test that shows it is broken"
...
This reverts commit 41307f1346
.
2011-10-06 18:32:05 -04:00
Sam Tobin-Hochstadt
1d9ac41772
Use unsafe-vector* instead of unsafe-vector in a few benchmarks.
2011-10-06 18:17:45 -04:00
Rodolfo Carvalho
412201796a
Fix typo in the documentation.
...
Affected section:
The Racket Guide > 17 Creating Languages
> 17.3 Defining new #lang Languages > 17.3.2 Using #lang reader
2011-10-06 17:08:22 -04:00
Neil Toronto
967fa41ad5
Merge branch 'master' of pltgit:plt
2011-10-06 14:05:14 -06:00
Neil Toronto
45dfafb0b1
Finished 3D renderer doc page
2011-10-06 14:04:51 -06:00
Neil Toronto
b5f30fd5de
Finished 2D renderer doc page
2011-10-06 13:23:49 -06:00
Eli Barzilay
de01db7bf1
Adapt front page example for the new plot.
2011-10-06 15:07:21 -04:00
Neil Toronto
ce68c697fc
Added plot-background-alpha and plot-foreground-alpha
2011-10-06 11:26:13 -06:00
Robby Findler
5829673215
adjust the scheme-lexer test suite so that it complains to stderr to fit
...
with drdr
also change two of the failing tests so they pass, but incorrectly and
add a note there to that effect so if someone does fix that eventually
they won't be confused (I hope)
2011-10-06 12:00:23 -05:00
Vincent St-Amour
f220ddc8ac
Doc typo.
2011-10-06 10:37:36 -04:00
Matthew Flatt
0f5b53d349
scribble: fix Latex renderer treatment of table cell/column styles
...
The renderer was using symbol style names as command names, but only
strings should be treated that way.
2011-10-06 07:47:38 -06:00
Matthew Flatt
79a6981684
update docs related to embedding and changes due to futures/places
2011-10-06 07:36:17 -06:00
Neil Toronto
8ae5b8c1f3
Added "Porting" section to the PLoT docs
2011-10-05 22:30:27 -06:00
Neil Toronto
cd98c4ac89
Changed 'points' contract on vecs to (listof (vector/c real? real?))
2011-10-05 20:57:24 -06:00
Matthew Flatt
7680adf486
fix compiler bug related to lifting and unbox flonums
...
As variables are dropped for lifted functions, the bitmap
for flonum closure variables was not shifted down by the
number of dropped variables.
Closes PR 12259
2011-10-05 19:25:59 -06:00
Neil Toronto
58fbc20294
Comment out 'fit' tests that randomly fail
2011-10-05 18:39:30 -06:00
Neil Toronto
11bb172acc
Merge branch 'master' of pltgit:plt
2011-10-05 18:04:48 -06:00
Neil Toronto
20987fc320
Added plot-pict and plot3d-pict for slideshow plots
...
Added x, y, width, height arguments to plot/dc and plot3d/dc
2011-10-05 18:04:11 -06:00
Jay McCarthy
41307f1346
Fixing racket/match by removing errorneous optimization with test that shows it is broken
2011-10-05 16:29:16 -06:00
Jay McCarthy
9036e9ec61
Fixing slight error when a file fails to test properly
2011-10-05 16:29:16 -06:00
Neil Toronto
c9ffe2830b
Changed uses of dynamic-require to uses of lazy-require
...
Changed return contracts of 'plot', 'plot-snip', 'plot3d' and 'plot3d-snip' to (is-a?/c image-snip%)
2011-10-05 14:31:13 -06:00
Robby Findler
d5e28ced91
fix documented contract to match actual function
2011-10-05 15:13:54 -05:00
Neil Toronto
35ef2ade0c
Keep DrDr from running (and timing out on) the slideshow-test.rkt
2011-10-05 13:27:33 -06:00
Neil Toronto
32d789d4f8
Make most of 'plot' still function without libfit (all but 'fit')
2011-10-05 13:11:04 -06:00
Neil Toronto
06bbcfd8f6
Turned off deprecation warnings in compat-tests.rkt so DrDr won't complain about them
2011-10-05 12:50:11 -06:00
Matthew Flatt
e1a82481d1
try to fix dist-specs for libfit
2011-10-05 11:46:15 -06:00
Neil Toronto
d3b5e21cae
Added new plot library and old libfit (which plot still depends on)
2011-10-05 10:26:49 -06:00
Matthew Flatt
ec380e34ed
remove built-in reader and printing support for Honu
...
This is a backward-incompatible change, but I think it's
unlikely that any code depends on the removed bindings
or reader syntax.
2011-10-05 09:40:27 -06:00
Matthew Flatt
fe1909581b
remove `raco exe' plot test
2011-10-05 09:40:27 -06:00
Robby Findler
560dfd5312
Allows selection of the various text objects inside DrRacket's display of
...
syntax objects
closes PR 6121
2011-10-05 08:43:18 -05:00
Matthew Flatt
6a8d3c34f1
win64: avoid msvcr90.dll
...
The libjpeg, libeay, and ssleay libraries for Win64 linked to
msvcr90.dll, because of the way that they were compiled with
MSVC 2008, but msvcr90.dll is not included with Win7, and
redistributing it is problematic. The new variants of the libraries
link instead of msvcrt.dll --- which you're not supposed to do
according to MS, but that's the way libraries like Gtk are
built, and it seems to be the right approach. See also
http://kobyk.wordpress.com/2007/07/20/dynamically-linking-with-msvcrtdll-using-visual-c-2005/
I built libjpeg-8, while the other two are courtesey of
http://www.indyproject.org .
Closes PR 12246
2011-10-05 06:28:31 -06:00
Matthew Flatt
f38e57ff68
add #:get-lib-dirs and #:fail args to `ffi-lib'
...
Not currently used, because an experiment that used the additions
was abandoned, but another use in the future seems likely.
2011-10-05 06:28:30 -06:00
Eli Barzilay
515c8dc6c1
Fix for `make-module-evaluator' with a file.
...
It used to work, but now it fails since when it runs "/foo/bar/baz.rkt"
racket uses 'exists with "/foo/bar". See the comment for the fix that I
used.
2011-10-05 07:20:59 -04:00
Eli Barzilay
e01e46b772
Removed the `plot' collection, in preparation for adding the new one instead.
2011-10-05 04:09:10 -04:00
Robby Findler
9b3f2427d7
make right-click in the space between the definitions and
...
interactions window pop up a menu to let you change from
vertical to horizontal orientation
2011-10-04 16:47:10 -05:00
Matthew Flatt
902ea5f7a5
fix `raco exe' for ELF starter
2011-10-04 12:59:18 -06:00
Matthew Flatt
3941a5d04f
cocoa: make grow-box-spacer zero-width for 10.7
2011-10-04 12:59:18 -06:00
Robby Findler
6fd2e9c1d3
fixed planet docs; closes PR 12178
2011-10-04 12:56:35 -05:00
Robby Findler
63593285fe
fix broken contract error message
2011-10-04 08:19:33 -05:00
Robby Findler
25413a4c05
fix the expansion of beginner-true and beginner-false so
...
they don't throw away source locations.
related to PR 12253
2011-10-03 17:11:54 -05:00
Eli Barzilay
c44d138ed1
Add "build.bat", "rbuildmode.c", and "sgc" from the worksp directory to
...
the windows source distribution.
2011-10-03 15:42:27 -04:00
Robby Findler
eb0165cae8
adjust drracket's "download plt" file functionality to follow redirections
...
closes PR 6675
2011-10-03 13:21:32 -05:00
Robby Findler
11a3d9b0ac
add support for redirections to get-pure-port and add get-pure-port/headers
2011-10-03 13:21:30 -05:00
Robby Findler
1fa6129afc
adjust the "Transfer-Encoding: chunked" code to re-use bytes more
...
agressively
2011-10-03 13:21:29 -05:00
Matthew Flatt
e640041dd6
fix raco exe' for cycles created via
define-runtime-module-path'
2011-10-03 08:59:30 -06:00
Matthew Flatt
a0378d956a
fix place refcount
...
Originally, the refcount was either 0, 1, or 2, so a `char' was
enough. It's not enough now that place channels increment the
refcount.
2011-10-03 06:39:18 -06:00
Stephen Bloch
753dfa3cb2
Fixed error messages, added tests for type errors.
2011-10-02 22:54:34 -04:00
Robby Findler
3bfce02bd6
fix my stupidity
2011-10-02 18:14:55 -05:00
Robby Findler
c455631eb3
fixed another path/string bug in the autosave recovery dialog
2011-10-02 17:19:27 -05:00
Ryan Culpepper
994c1f202c
added functions, docs for show-dependencies
2011-10-02 14:17:07 -06:00
Ryan Culpepper
38d984367e
syntax/parse: fix check-literals code (references to disappearing names)
2011-10-02 14:17:07 -06:00
Robby Findler
951de8cc51
add get-default-percentages to panel:dragable and then add a dragable panel
...
to the debugger
2011-10-02 14:34:28 -05:00
Robby Findler
721cdba2c1
adjst check syntax so that it only clears out style changes when clicking 'Run'
...
(style changes are not applied when running online check syntax)
2011-10-02 10:18:36 -05:00
Robby Findler
7b3e350f84
adjust initial value to be something less likely to cause problems
2011-10-02 08:38:27 -05:00
Mike Sperber
390d9c007d
Synch German string constants with latest.
2011-10-02 13:47:23 +02:00
Robby Findler
57042de4da
add a test case that ensures that the default values of optional arguments
...
are not subject to the argument on the contract
2011-10-01 16:03:28 -05:00
Robby Findler
533b898277
clarify the role of the #:rest portion of the contract
...
closes PR 12244
2011-10-01 15:58:50 -05:00
John Clements
79fbc970aa
minor doc updates
2011-10-01 11:28:37 -07:00
Matthew Flatt
7de96490cf
fix Windows source dist spec
2011-10-01 07:41:58 -06:00
Robby Findler
b71e562284
fix crlf mode initialization
2011-10-01 08:10:25 -05:00
Kevin Tew
e650764a4c
place-channel? returns #t for place descriptors, doc clarification
2011-09-30 17:15:11 -06:00
Kevin Tew
a7b0c33896
QNX porting
2011-09-30 17:03:50 -06:00
Robby Findler
b52086ecae
clarify the use-file-text-mode method.
2011-09-30 17:08:18 -05:00
Robby Findler
4a2757f200
Adjust DrRacket so that it saves files with CRLF
...
line terminators when:
a) running under windows, and
b) the file on the disk (when DrRacket first opens it)
contains all CRLF line endings.
In all other situations, the file is saved with LF terminators.
Before this commit, DrRacket would always use the platform-specific
convention, regardless of the original content of the file.
closes PR 12242
2011-09-30 17:08:07 -05:00
Robby Findler
c63426e92e
add docs for 'enable automatic parentheses' in prefs dialog
2011-09-30 17:08:05 -05:00
Robby Findler
b95b346a4e
adjust various plumbing to get the drracket icon to the startup screen. Only to realize
...
that the startup screen is a dialog% and thus doesn't have set-icon
related to PR 12241
2011-09-30 17:08:03 -05:00
Robby Findler
56effc21f9
adjust the preferences setting for the module language auto-text
...
so that it deals with the trailing newline in a manner consistent
with the way the rest of that code works
2011-09-30 17:08:02 -05:00
Matthew Flatt
4535f5d8cc
fix keyboard navigation (all platforms)
...
Also, fix `set-selection' in `list-box%' to not invoke the
tab panel's callback function (cocoa & gtk).
2011-09-30 13:44:24 -06:00
Sam Tobin-Hochstadt
88c7bf649c
Parallel version of k-nucleotide.
...
2x faster on very big inputs, slower on small inputs.
2011-09-30 11:42:58 -04:00
Eli Barzilay
315060625a
Robby's docs.
2011-09-30 10:51:28 -04:00
Eli Barzilay
093236fea4
Improve code generation in the framework collection.
...
Instead of generating a file for code and one for documentation, do both
via a macro instead. Most of the code is the same (modulo reformatting
in a more modern style), and instead of printing the result to a file,
it just returns it as the result of a macro. (Since this is done in a
naive way, the macro is bad -- it is unhygienic since this is basically
what it did before only through a generated file; it should eventually
be improved to avoid these hacks.)
2011-09-30 10:51:28 -04:00
Eli Barzilay
656de69636
Don't create a page-setup menu item if `file-menu:create-print?' returns #f.
2011-09-30 10:45:43 -04:00
Eli Barzilay
01c859072e
Rename "standard-menus.rkt" -> "standard-menus.rktl".
...
Since it's a file that gets included. This is likely to be temporary,
if I get on with turning the whole thing into a macro.
2011-09-30 10:45:43 -04:00
Ryan Culpepper
a22783f635
syntax/parse: added workaround for racket/runtime-path at phase>0
2011-09-30 04:13:09 -06:00
Ryan Culpepper
54fa605de9
added show-dependencies script
2011-09-30 04:13:09 -06:00
Ryan Culpepper
5befa7320f
syntax/id-table: added uncontracted private version
2011-09-30 04:13:09 -06:00
Ryan Culpepper
323aff1efb
syntax/parse: added syntax/parse/pre
...
No *residual* dependencies on racket/contract/base (the *disappearing*
macro transformers and compile-time support do use contracts, though).
2011-09-30 04:13:09 -06:00
Ryan Culpepper
1c6b8bd68e
syntax/parse: lazily load most macro transformers and compile-time support
2011-09-30 04:13:09 -06:00
Ryan Culpepper
fcbe778de0
macro-stepper: add option to disable reader macro abbreviations
2011-09-29 19:37:11 -06:00
Ryan Culpepper
8c806c184f
macro-stepper: fix reader abbreviations
2011-09-29 19:37:11 -06:00
Matthew Flatt
a0805f9b18
fix docs for `round' et al.
...
They don't return integers for +inf.0, -inf.0, and +nan.0.
2011-09-29 16:54:08 -06:00
Matthew Flatt
99fe14b080
fix problems with phase-1 syntax definitions
...
Closes PR 12234
2011-09-29 16:54:08 -06:00
Matthew Flatt
a857e9e041
fix JIT bug in `fl->fx'
...
For the case that the argument is unboxed.
Closes PR 12240
2011-09-29 16:54:08 -06:00
Matthew Flatt
73071ad186
improve GC logging (3m)
...
Show process time of start of GC and otherwise adjust to make
the output more compact, and attach a prefab struct to the
logged message to report all available data in Racket form
(including real start and end times, which are not shown in
the output).
2011-09-29 16:54:08 -06:00
Sam Tobin-Hochstadt
d279593c15
Parallel spectral-norm shootout benchmark.
2011-09-29 17:51:00 -04:00
Sam Tobin-Hochstadt
2d3a713f0d
More shootout optimization.
2011-09-29 17:51:00 -04:00
Kevin Tew
09891c9263
rounded-rectangle/border gets #:corner-radius and #:angle arguments
2011-09-29 13:48:15 -06:00
Robby Findler
2c018a749c
PR 5440 requests that the 'electric' > in XML boxes work properly in
...
this situation:
<a x="<b
and, in particular, not do this:
<a x="<b></b>
Looking into this a bit, it isnt' clear how to do this without actually
parsing the whole buffer, something that doesn't seem to be worth
the effort with the amount of use that the XML boxes seem to get
So, for now: closes PR 5440
2011-09-29 12:03:58 -05:00
Matthew Flatt
ac8990d519
add date*' and
exn:fail:syntax:unbound'
...
The `date*' structure type is an extension of `date' with
`nanosecond' and `time-zone-name' fields.
The `seconds->date' function now accepts a real and returns a
`date*'. The fractional part of its argument goes into the
`nanosecond' field.
2011-09-29 09:22:10 -06:00
Matthew Flatt
58097a12fe
inside: export scheme_alloc_flvector() and scheme_alloc_fxvector()
2011-09-29 09:14:00 -06:00
Robby Findler
3a3ce656c4
add splicing-* to the default indentation preferences setting
2011-09-29 06:55:05 -05:00
Ryan Culpepper
e7e990cc78
macro-debugger/emit: more flexible arguments for emit-remark
2011-09-28 23:52:22 -06:00
Ryan Culpepper
c074093339
check-requires: report renamings
2011-09-28 23:52:22 -06:00
Robby Findler
bef4ed1fd4
adjust frame position preferences for the case when a monitor has gone away
2011-09-28 21:04:56 -05:00
Ryan Culpepper
afc9210599
revert some (require racket/pretty) to (require scheme/pretty)
2011-09-28 19:01:27 -06:00
Robby Findler
1c630063c5
remove debugging edit
2011-09-28 19:56:37 -05:00
Robby Findler
c8cbe81e51
fix problems with the autosave recovery gui and add a drdr test for it
2011-09-28 17:06:30 -05:00
Robby Findler
abeaebcad0
remove debugging printf
2011-09-28 17:06:29 -05:00
Sam Tobin-Hochstadt
3ce46320ae
Include millisecond timings with commas.
2011-09-28 15:52:59 -04:00
Matthew Flatt
b24c8eb4dd
cocoa: fix control-refresh bug
2011-09-28 12:38:39 -06:00
Vincent St-Amour
2cc0b35ca9
Add a pointer to a vim plugin for scribble.
2011-09-28 11:34:41 -04:00
Sam Tobin-Hochstadt
f46d60c6c1
Improve tooltip time printing.
2011-09-28 11:01:08 -04:00
Robby Findler
e1d332a693
make the (non-online) check syntax error report window be resizable
...
closes PR 8161
closes PR 10177
2011-09-27 21:23:54 -05:00
Ryan Culpepper
c7f86d276c
removed useless requires
2011-09-27 19:28:44 -06:00
Ryan Culpepper
755cedc5ef
improved check-requires
...
Added option to list the names used by each KEEP or BYPASS module
and indicate how used (as reference, in syntax template, etc).
Improved BYPASS; it now gives a list of suggested replacements
(and, optionally, what dependencies each replacement satisfies).
Incompatibly changed exports of macro-debugger/analysis/check-requires;
the new analysis result type is too complicated (and volatile, still)
to document for 0 other clients; focus on the script/output instead.
Removed check-requires-script.rkt.
Updated module whitelist.
Fixed syntax-local-value when identifier later used in def ctx
(destroyed binding information). This manifested as missed references
to modules that does define-local-member-name.
Fixed identifiers without syntax-source-module such as intro'd by
unit-from-context. This manifested as missed references to modules
that provided bindings used by unit-from-context forms.
2011-09-27 19:28:44 -06:00
Ryan Culpepper
717bc17aaf
db: adjust lazy requires for cross-place mode
2011-09-27 19:28:44 -06:00
Ryan Culpepper
52a738140d
db: minimize dependencies
2011-09-27 19:28:44 -06:00
Ryan Culpepper
36149b92a7
db: added ssl support for mysql connections
2011-09-27 19:28:44 -06:00
Matthew Flatt
247a51d5bd
change `get-preference' to treat read errors the same as other bad content
...
That is, return '(), but also now log an error.
2011-09-27 19:23:17 -06:00
Matthew Flatt
2ae6d0c55f
fix expand of `#%variable-reference' on local variable
...
Closes PR 12231
2011-09-27 18:53:28 -06:00
Matthew Flatt
ec49225112
fix expand-imports' for renamed
quote'
...
Closes PR 12235
Thanks to Carl for the report and test case
2011-09-27 17:45:18 -06:00
Robby Findler
34581b7050
try using size-in-pixels for the font primitive in 2htdp/image
...
closes PR 11883
(the earlier commit with this message was just completely bogus)
2011-09-27 16:24:23 -05:00
Robby Findler
53e8ff8c82
Revert "try using size-in-pixels for the font primitive in 2htdp/image"
...
This reverts commit a5b729421a
.
2011-09-27 16:23:43 -05:00