Jay McCarthy
ccd5061c87
Forgot to include doc change
2011-11-23 10:59:54 -07:00
Jay McCarthy
7f9818bb3e
This fixes 10497 and potentially breaks programs that assume the query of a URL is always a list. I have fixed uses in the Web Server, which I expect is the major thing affected, but much more could be. Therefore I am skeptical this is a good idea just for the representation of ?. So, I'd like other people to review the change and let me know if they think I should revert it.
2011-11-23 10:59:54 -07:00
Jay McCarthy
d64d620c00
Fixing PR10485
2011-11-23 10:59:54 -07:00
Matthew Flatt
6a99c93ebb
add get-colors' to
color-database<%>'
2011-11-22 20:17:58 -07:00
Matthew Flatt
c7464dcbd3
mzlib/pconvert: `add-make-prefix-to-constructor' parameter
...
Defaults to #f, which fixes constructor-style printing in `plai'
and `racket', and is set to #t for the HtDP languages.
2011-11-22 19:42:35 -07:00
Matthew Flatt
f4c1d9da06
adjust psyntax benchmark
...
The psyntax implementation relies on 3-D syntax like
(let ([s (string #\i)])
(eq? s (eval `',s)))
producing true, or maybe
(let ([s1 (string #\i)]
[s2 (string #\i)])
(eval `(eq? ',s1 ',s2)))
producing false, or probably both. Neither works now
in Racket. Hack around the problem well enough for
benchmarking purposes by using numbers in place of
strings.
2011-11-22 18:12:28 -07:00
Vincent St-Amour
7ab62d109f
Fix optimization of multi-argument float comparisons.
2011-11-22 17:52:50 -05:00
Vincent St-Amour
597f310e89
Fix typoes in the raco docs.
2011-11-22 17:52:49 -05:00
Jon Rafkind
35b3e73b2a
disable test for now
2011-11-22 13:15:21 -07:00
Jon Rafkind
a9ba721be8
[honu] add example of lexically scoped macros
2011-11-22 10:30:44 -07:00
Jon Rafkind
42caad96de
[honu] use honu-body directly in the parser
2011-11-22 10:30:44 -07:00
Jon Rafkind
4b4a369d84
[honu] abstract out delayed parsing
2011-11-22 10:30:43 -07:00
Jon Rafkind
973000adbb
[honu] delay parsing of function bodies
2011-11-22 10:30:43 -07:00
Jon Rafkind
bef2f188b3
[honu] move when macro to the honu language
2011-11-22 10:30:43 -07:00
Jon Rafkind
40eeeb6a72
[honu] dont need extra prefixes for require
2011-11-22 10:30:42 -07:00
Jon Rafkind
4c00c26cd5
[honu] clean up main file requires and provides
2011-11-22 10:30:42 -07:00
Matthew Flatt
747951decf
fix some DrDr benchmark invocations
2011-11-22 09:15:51 -07:00
Matthew Flatt
e44bd3f79d
intern literal strings, byte strings, regexps, characters, and numbers
2011-11-22 08:54:37 -07:00
Matthew Flatt
ea3cabfc45
remove more Racket-to-C compiler leftovers
2011-11-22 05:50:18 -07:00
Robby Findler
3da3e17c47
don't continue after an error when scribbling via the 'scribble html'
...
and 'scribble pdf' buttons in the drracket frame.
closes PR 12385
2011-11-21 17:23:30 -06:00
Neil Toronto
94373ea9f9
Move point label `radius' units from point; plug plot->dc API leak
2011-11-21 10:39:16 -07:00
Robby Findler
a333b43259
make the planet cmdline-tool.rkt test more informative in the case that there are planet packages installed
2011-11-21 08:27:24 -06:00
Neil Toronto
d65b85ac55
Only try to build the Syntax Check popup menu if there is Syntax Check data
2011-11-20 22:23:38 -08:00
Neil Toronto
a23808dd95
Use rational? instead of regular-real?, cut some cruft
...
Make docs compile without warnings
2011-11-20 22:23:38 -08:00
Robby Findler
e788c6f49e
adjust define-judgment-form so that it
...
a) avoids creating big intermediate lists of the same things over and over
(this closes PR 12380)
b) generates less code (by generating calls to local functions)
c) normalizes its output (sorts by the printed representation)
2011-11-20 22:50:07 -06:00
Robby Findler
0a75219438
added support for where & side-condition & judgment-holds to define-relation
...
closes PR 12382
2011-11-20 21:34:22 -06:00
Robby Findler
6ea6483221
adjust number-snip% so that it subscribes to the file/convertible
...
protocol for 'png-bytes and 'text
2011-11-20 16:38:17 -06:00
Matthew Flatt
d416dfaa8c
fix copy-file' reporting of
exn:fail:filesystem:exists?'
...
Fixes re-report for PR 12074
2011-11-19 19:40:49 -07:00
Matthew Flatt
4464f2bf19
fix `get-slides-as-picts' most-recent-slide implementation
2011-11-19 19:14:51 -07:00
Matthew Flatt
91ef073c09
expand phase-related require/provide test
...
to check for the bug fixed by 76c9996ac7
and other potential
problems
2011-11-19 07:55:34 -07:00
Matthew Flatt
c1477e945d
fix `namespace-require' on marked syntax
...
Closes PR 12381
2011-11-18 20:06:15 -07:00
Matthew Flatt
5665fe3477
fix `sequence-filer' on empty sequence
...
fix provided by Shviller
Closes PR 12383
2011-11-18 20:06:15 -07:00
Matthew Flatt
2ad78a33fb
fix `provide' for macro-introduced bindings in phase != 0,#f
2011-11-18 20:06:15 -07:00
Jon Rafkind
5d3adb84c2
[honu] add var and = at phase 1
2011-11-18 09:59:43 -07:00
Jon Rafkind
8ba0551fe5
add version 3 of libmagickwand to the ffi example
2011-11-18 09:59:43 -07:00
Matthew Flatt
f54254e9b5
ssl library versions for Ubuntu 11.10
2011-11-18 01:58:31 -07:00
Jon Rafkind
23cbc505cc
[honu] define parsing macro in the transformer phase. also provide a bunch of things from main
2011-11-17 23:34:59 -07:00
Jon Rafkind
70589a7033
[honu] create a new syntax class for parsing expressions at current-phase + 1. allow new operators to be defined using honu syntax
2011-11-17 23:34:59 -07:00
Robby Findler
b93486ed69
compile the left-hand sides of define-judgment only once, not during each time we try to check a judgment
...
related to PR 12380
2011-11-17 20:55:05 -06:00
Neil Toronto
2d0fa3a60b
UI fixes and improvements to Check Syntax
...
- Delays drawing arrows until mouse hovers for a very short time
- Delays drawing arrows when scrolling
- Tooltips appear in the correct pane when the editor is split
- Fixes infinite event queue with scrolling a split editor while a tooltip is displayed
2011-11-17 19:25:24 -07:00
Robby Findler
755dc28e55
Fixes define-relation's handling of ellipses across clauses
...
closes PR 12378
2011-11-17 17:00:11 -06:00
Jay McCarthy
36a408096c
Fixing an error in quoting found by a student this year
2011-11-17 15:16:22 -07:00
Robby Findler
3588de15d4
try to get a little more stack for the intermittent module-lang-test failure
2011-11-17 06:57:09 -06:00
Robby Findler
b726209dc5
fix the interaction between the automatic insertion of matching parens
...
and the magic fixup of opening parentheses.
This commit moves the automatic insertion of matching parens to the
scheme mode keymap, so it will now take affect in Racket mode editing,
only. Also, Rackety.
2011-11-16 19:36:18 -06:00
Robby Findler
3345415d71
Make the 'Show Replace' menu item be always enabled. Also, make it
...
set the keyboard focus to the replace editor.
It used to be disabled when the searching bar is hidden. In that case, it now
makes the searching bar visible.
2011-11-16 16:23:11 -06:00
Matthew Flatt
63f3a51ae6
win32: get default frame icon from application
...
Also, clean up icon- and cursor-loading code
2011-11-16 14:45:32 -07:00
Matthew Flatt
243332f429
move .ico support from raco exe' internals to
file/ico'
2011-11-16 14:45:32 -07:00
Jay McCarthy
0244093518
Providing parse-bindings
2011-11-16 10:31:04 -07:00
Jay McCarthy
34b64f40a9
Each tests gets its own planet directory
2011-11-16 10:31:04 -07:00
Jay McCarthy
c0f8fef313
Handle other branches
2011-11-16 10:31:04 -07:00
Asumu Takikawa
283d91be7d
Fix typos in reference.
2011-11-16 02:09:05 -05:00
Jon Rafkind
080e6bc25a
[honu] allow else patterns for match
2011-11-15 23:36:01 -07:00
Jon Rafkind
a38949d8ba
[honu] use reified syntax classes to check for literals instead of direct comparisons with free-identifier=?
2011-11-15 23:36:00 -07:00
Matthew Flatt
3bffcae3c2
fix places & executable interaction
...
Added `module-predefined?' and changed `racket -k ...'
2011-11-15 18:42:21 -07:00
Robby Findler
be996fc4db
up the timeout for the module-lang-test.rkt
2011-11-15 15:28:25 -06:00
Vincent St-Amour
0a3a71fbbc
Refine types of integer-bytes->integer' and
arithmetic-shift'.
2011-11-15 15:31:07 -05:00
Matthew Flatt
7ad81e7560
win32: enable live resize of frames
2011-11-15 12:44:26 -07:00
Jon Rafkind
219a39575a
[honu] actually check for separator for the separate ids class. parse constructor arguments with comma separated ids
2011-11-15 12:19:27 -07:00
Jon Rafkind
815c3887fb
[honu] abstract out separated identifiers
2011-11-15 12:19:26 -07:00
Neil Toronto
8f914f653f
Better error message when plot can't determine sensible bounds
2011-11-14 22:36:27 -08:00
Neil Toronto
cf75609d82
Little fixes
2011-11-14 22:01:07 -08:00
Neil Toronto
75f76986c3
Plots with intervals too small or too large for flonums (2D and 3D)
...
Bounds fixpoint computation now uses only exact rationals
Speed improvements (3d-plot-area% now uses flonums internally as much as possible)
2011-11-14 22:01:07 -08:00
Neil Toronto
20e09c9f7f
Little fixes and improvements
2011-11-14 22:01:07 -08:00
Neil Toronto
a710cbb7fe
Speed/readability improvements in contour, surface and isosurface renderers
...
Progress on customization docs
Snip fixes and UI improvements
2011-11-14 22:01:07 -08:00
Matthew Flatt
45b8e103e5
places: fix GC of unreceived place-channel messages
...
An unreceived message can have a reference to a master-allocated
value, in which case that value must be marked. This marking
is implemented by embedding a linked link within the message
memory.
2011-11-14 18:04:45 -07:00
Matthew Flatt
f6df62e501
remove junk file
2011-11-14 17:57:11 -07:00
Jon Rafkind
1f8c1950fb
[honu] allow multiple variables to be declared at once
2011-11-14 17:49:15 -07:00
Jon Rafkind
9ec39fd590
[honu] add format and a facility to convert floats to integers
2011-11-14 17:49:15 -07:00
Jon Rafkind
9d393f991f
[honu] filter out non-pattern variables
2011-11-14 17:49:15 -07:00
Jon Rafkind
0d89827a85
[honu] share the variable declaration syntax by moving the pattern to a syntax class
2011-11-14 17:49:15 -07:00
Jon Rafkind
47c6acdea5
[honu] add tests for precedence cases
2011-11-14 17:49:15 -07:00
Sam Tobin-Hochstadt
591dcc4a27
Add prop:match-expander' and
prop:legacy-match-expander'.
2011-11-14 11:03:22 -05:00
Sam Tobin-Hochstadt
81dd112f57
Move ==' to
racket/match'.
2011-11-14 11:03:22 -05:00
Sam Tobin-Hochstadt
5fe89966fc
Fix missing argument.
...
Closes PR 12356.
2011-11-14 11:03:22 -05:00
Robby Findler
d6bd1dc904
fix the require docs for the teaching languages so they mention both forms of planet require
2011-11-14 07:46:47 -06:00
Robby Findler
2f5e0206a8
more printfs to try to find what is going on in drdr with the module-lang-test.rkt
2011-11-14 07:08:37 -06:00
Jon Rafkind
5cb1834376
[honu] redo operator parsing to fix various precedence cases. add a new quasi-operator macro that can consume as much input on the right as it wants and use that to call methods on objects. change = to equal?. allow variables to be defined in classes
2011-11-14 00:45:55 -07:00
Robby Findler
870c8d28f4
move predicate/c from unstable/contract to racket/contract. In process,
...
change the implementation to special case struct procedures and to use
it in provide/contract.
This speeds up the rendering phase of the Guide documentation by more than 2x.
Thanks to Matthew for spotting the opportunity!
2011-11-13 17:19:15 -06:00
Ryan Culpepper
f38d959b3a
db: fix transaction contract bugs, added transaction tests
...
closes PR 12364
2011-11-13 15:11:12 -07:00
Ryan Culpepper
b4e856cc3c
db: fixed space leak in statement finalizer thread
...
This "fixes" the segfault in the test program, but it seems
like there must be another underlying problem.
2011-11-13 15:11:12 -07:00
Sam Tobin-Hochstadt
0754e6b702
Make autocompletion fuzzier, similar to the doc search.
...
For example, autocomplete of `cur-dir' will produce the same list of results as the documentation search, with `current-directory' first, instead of producing no results.
2011-11-13 16:33:17 -05:00
Robby Findler
38b4d11abe
add some debugging printfs in an effort to try to understand what's going wrong when this test runs in drdr
2011-11-13 08:15:02 -06:00
Robby Findler
0429471cf8
add mouse over status for free variables (only relevant for top-level languages)
2011-11-12 22:13:31 -06:00
Robby Findler
4a54411f8c
clean up the docs-build planet test case
2011-11-12 08:26:16 -06:00
Matthew Flatt
a0378a2b02
fix bug in prefab syntax marshaling
...
Closes PR 12352
2011-11-12 06:08:42 -07:00
Matthew Flatt
edec6fafd1
remove unused library (formerly used by the Racket->C compiler)
2011-11-12 05:33:20 -07:00
Matthew Flatt
13605b55db
remove accidentally added file
2011-11-12 05:33:20 -07:00
Neil Toronto
723a54a4d9
Added "Axis Transforms and Ticks" doc page
2011-11-11 18:12:40 -07:00
Matthias Felleisen
5a3c78a998
universe now terminates properly
2011-11-11 18:53:04 -05:00
Matthias Felleisen
8c91d96c50
added prefab structs to messages that universe can exchange
2011-11-11 18:53:03 -05:00
Matthew Flatt
75dd61ebc3
fix leak in `racket/draw' instantiation
2011-11-11 16:32:16 -07:00
Matthew Flatt
2de0a853dd
update sigplanconf to the version with Creative Commons license
2011-11-11 16:32:16 -07:00
Robby Findler
a1f94c4bd1
adjust planet logging so that it doesn't try to log when the logging thread is dead
...
(and thus doesn't deadlock in drdr (hopefully))
2011-11-11 16:05:24 -06:00
Robby Findler
9b4e0ad15a
add a #:draw-border? to filled-rounded-rectangle
2011-11-11 16:05:24 -06:00
Jon Rafkind
dfe33f8919
[honu] convert function bodies from honu to racket
2011-11-11 10:35:09 -07:00
Jon Rafkind
a4123ce536
[honu] rebind the result of parsing to the original pattern variable name
2011-11-11 10:35:09 -07:00
Jon Rafkind
786436b314
[honu] add some simple macro examples
2011-11-11 10:35:08 -07:00
Matthew Flatt
9f81387e85
scribble: Latex/PDF rendering of some Unicode superscript characters
2011-11-11 07:05:16 -07:00
Matthew Flatt
3cd071beb2
fix fd polling in atomic mode
2011-11-11 07:05:16 -07:00
Jon Rafkind
6e3cf95e83
[honu] parse bodies of macros early. re-parse the output of macros
2011-11-10 15:55:55 -07:00
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