Matthew Flatt
be80e7d864
fix an over-eager reordering by the bytecode compiler
...
The over-eager transformation could be space-unsafe, and it
could duplicate an unsafe operation whose result is used only
once in a function that eds up being inlined multiple times.
2011-12-04 06:52:33 -07:00
Sam Tobin-Hochstadt
821ec051d0
Avoid providing internal macro.
2011-12-03 18:46:01 -05:00
Matthew Flatt
7c7135f58e
Revert "typo in universe' docs for
on-new'"
...
The documentation is correct as-is.
This reverts commit eec86cdaf2
.
2011-12-03 11:21:21 -07:00
Matthew Flatt
7d2914fc8a
fix `defform[*]' handling of #:id and grammar production
...
In @defform*[#:id x1 [(qqq x1)]], for example, `#:id x1' needs to
calcel the default treatment of `x1' within `(qqq x1)' as
a metavariable, while treating `qqq' as a meta-variable.
2011-12-03 10:03:13 -07:00
Matthew Flatt
07342303e5
scribble: fix HTML rendering of table in nested flow starting item
2011-12-03 08:41:15 -07:00
Matthew Flatt
eec86cdaf2
typo in universe' docs for
on-new'
2011-12-03 08:24:32 -07:00
Matthew Flatt
788e8bb5f4
fix demod for inline-variant
2011-12-03 06:15:58 -07:00
Matthew Flatt
61fa9fe7dc
improve dist spec (where collects:' is meant instead of
package:')
2011-12-03 06:06:51 -07:00
Matthew Flatt
787437223c
remove reference to `compiler/cffi'
...
Closes PR 12413
2011-12-02 19:44:29 -07:00
Matthew Flatt
7ddbc95b51
clean up `set!' implementation in ASL to avoid catching failures
...
The code seems to pre-date the failure thunk to `syntax-local-value'.
A problem with letting an exception get raised is that it triggers
the `error-value->string' handler, which loads Slideshow pict support
in DrRacket, which loads `racket/draw' at phase 1 --- which isn't
inherenty bad, but a lot of work that can be avoided.
2011-12-02 16:02:11 -07:00
Matthew Flatt
745c4b6470
fix another way that `racket/gui' instances can leak
2011-12-02 15:48:29 -07:00
Robby Findler
ce7523f01f
more atoms can be shared now, so wrap 'em up
2011-12-02 16:38:56 -06:00
Ryan Culpepper
2e4d4e21ca
rackunit: change exn:test to extent exn:fail
...
closes PR 12393
2011-12-02 14:41:17 -07:00
Ryan Culpepper
a1c7c2b6f9
macro-stepper: fix reset/obsolete/shutdown behavior
2011-12-02 14:41:17 -07:00
Ryan Culpepper
3dc78a3d1e
macro-stepper: fix display of "confusable" objects
2011-12-02 14:41:17 -07:00
Robby Findler
e9a5cf05c7
change the strategy drracket uses for the convertible? values
2011-12-02 15:19:15 -06:00
Robby Findler
1f2d0462a9
guard against strange syntax objects being passed to 'code'
2011-12-02 15:18:18 -06:00
Matthew Flatt
7397f710e2
fix reconstruction of `provide' forms in module expansion
2011-12-02 13:58:39 -07:00
Vincent St-Amour
9417503492
Fix for/sum: when summing something other than integers.
2011-12-02 15:21:14 -05:00
Vincent St-Amour
3279ea4b61
Whitespace cleanup.
2011-12-02 15:21:14 -05:00
Matthew Flatt
96330556e7
fix secondary hash-code for weak hashes
2011-12-02 12:11:52 -07:00
Matthew Flatt
58d01d0d12
fix dist specs for "icons" change
2011-12-02 09:03:57 -07:00
Robby Findler
2e54a89773
adjust drracket's repl so that it renders convertible things by turning them into .png's.
2011-12-02 08:10:32 -06:00
Stephen Bloch
39629e8e99
map-image and map-image/extra now give their function argument x and y
...
coordinates, or not, depending on the arity of that function. This
enables one to write a simple function from color -> color and
immediately map it on an image. For the situation in which the
function is location-dependent, one can still write a function from
x,y,color -> color and map this on the image.
2011-12-02 07:09:37 -05:00
Neil Toronto
29ad6b36b6
Replaced PLaneT logo
...
Replaced stop sign icons
Fixed some icons (esp. borders on shiny)
2011-12-01 23:04:27 -07:00
Neil Toronto
076453dacc
Use bitmap' instead of
icon->pict'
...
Rename `pict->icon' to `pict->bitmap' and put in `slideshow/pict'
2011-12-01 17:04:31 -07:00
Sam Tobin-Hochstadt
daf371059d
Add link. Closes PR 9325.
2011-12-01 16:54:52 -05:00
Sam Tobin-Hochstadt
04b8962542
Fix doc mistake.
...
Close PR 9508.
2011-12-01 16:54:52 -05:00
Sam Tobin-Hochstadt
e9a045c695
Fix doc typo.
...
Related to PR 9501.
2011-12-01 16:54:52 -05:00
Sam Tobin-Hochstadt
6df35ce132
Fix doc typo.
...
Closes PR 12395.
2011-12-01 16:54:52 -05:00
Neil Toronto
73615de58f
Precision improvements for user functions that return flonums
...
Performance: 2d-plot-area% now uses flonums internally as much as possible
2011-12-01 13:26:36 -07:00
Robby Findler
1c9c31efd1
drop the weekend condition for the default icon style
2011-12-01 13:45:26 -06:00
Robby Findler
301631c0d6
add a contract for slideshow/pict's bitmap function
2011-12-01 13:45:25 -06:00
Matthew Flatt
545b37ff0d
add racket/performance-hint' with
begin-encourage-inline'
2011-12-01 10:26:48 -07:00
Matthew Flatt
1bc2441b5a
switch to syntax property for 'compiler-hint:cross-module-inline
2011-12-01 10:26:48 -07:00
Kevin Tew
958ad908ab
place scrbl fix
2011-12-01 09:54:38 -07:00
Robby Findler
45c72d0837
add a compiler-hint:cross-module-inline hint.
...
Calling this function:
(provide
(contract-out
[f (-> integer? integer?)]))
(define (f x) x)
from another module seems to speed up by about 8% with the annotation
in this commit.
2011-12-01 10:33:30 -06:00
Matthew Flatt
99032a75d0
inline map',
for-each', andmap', and
ormap'
...
More generally, support a
(define _id (begin 'compiler-hint:cross-module-inline _proc-expr))
hint, which is how the compiler determines that `map', etc., are
candidates for inlining.
2011-12-01 06:59:27 -07:00
Robby Findler
1ca79003f1
remove ? from German string constant to match similar removal from the English
...
(checked with Mike Sperber first)
2011-12-01 07:22:08 -06:00
Eli Barzilay
e0eccf7019
Make "icons" into a package, to include its documentation.
2011-12-01 03:55:44 -05:00
Eli Barzilay
a9b1f993d4
Remove redundant execution bit from some files, convert one CRLF file to LFs.
2011-12-01 03:54:32 -05:00
Eli Barzilay
fac07b964d
Make get-libs retry downloads if they look stuck.
...
This resolves a problem with the osx64 machine, where downloads seem to
just get stuck after a while, without timeout errors. Re-enable that
build.
2011-12-01 03:40:27 -05:00
Eli Barzilay
51787cab5a
Make the version tool use "Racket".
2011-12-01 03:39:13 -05:00
Robby Findler
d1c29f8621
make the names of procedures with optional arguments be basedn on the
...
lexical name instead of "core" (this only shows up in stacktraces, as
far as I can tell)
2011-11-30 16:55:55 -06:00
Robby Findler
7f96ee19e0
When opening a new file, first load the file into the definitions text
...
before wiring up / initializing the new tab. This means that the
file's name is not asked for, and thus a new "untitled" number is not
allocated too early
closes PR 12361 (and hopefully introduces no new ones)
2011-11-30 16:55:55 -06:00
Robby Findler
7b9cb97654
eliminate the word "online" from the description of
...
"instant check syntax" in the docs
2011-11-30 16:55:54 -06:00
Robby Findler
1717fb74cd
adjust the drawing of the online check syntax dot when switching languages
...
closes PR 12366 (if it wasn't closed before, that is)
2011-11-30 16:55:54 -06:00
Robby Findler
082978effe
improve the double-click-on-word behavior for scribble (generally when
...
double clicking inside a string) and when clicking on close
parentheses (specifically, only special case close parens that are
actually parentheses according to the colorer, rather than special
casing all close parens).
2011-11-30 16:55:54 -06:00
Robby Findler
f07095283d
remove ? from string constant that should not have been there
2011-11-30 16:55:54 -06:00
Vincent St-Amour
c720d0f6f7
Add regexp-filter to unstable/string.
2011-11-30 17:54:28 -05:00
Vincent St-Amour
29bea4863e
Add group-by to unstable/list.
2011-11-30 17:54:28 -05:00
Vincent St-Amour
8509b81f47
Allow integers as sequences in TR.
2011-11-30 17:54:27 -05:00
Ryan Culpepper
5c20a46c3a
macro-stepper: better styling of errors, reduction steps
2011-11-30 09:24:24 -07:00
Ryan Culpepper
df3a9d8c7f
macro-stepper: fix value of absent evaluations (local actions) on error
...
related to PR 12316
2011-11-30 09:24:24 -07:00
Ryan Culpepper
0db96352bf
macro-stepper: temp fix for drracket tool
...
closes PR 12349, closes PR 10396
The macro stepper tool broke when DrRacket started doing expansion
earlier, before eval handler gets control. This commit changes the
macro stepper to just expand module contents. No REPL, no evaluation.
The long-term fix might be to make the macro stepper cooperate more
closely with the module language.
2011-11-30 09:24:24 -07:00
Ryan Culpepper
7fbd232c77
macro-stepper: display binding info for phases -5 to 5, clean up
2011-11-30 09:24:24 -07:00
Ryan Culpepper
7ebd15c4b0
db: export and document exn:fail:sql
2011-11-30 09:24:24 -07:00
Matthew Flatt
779b419c03
first cut at cross-module function inlining
...
Inline only trivial functions, such as `(empty? x)' -> `(null? x)',
to avoid generating too much code.
Bytecode includes a new `inline-variant' form, which records a
version of a function that is suitable for cross-module inlining.
Mostly, the variant let the run-time system to retain a copy
of the bytecode while JITting (and dropping the bytecode of)
the main variant, but it may be different from the main variant
in other ways that make it better for inlining (such a less loop
unrolling).
2011-11-30 07:39:36 -07:00
Matthew Flatt
1ebde53db7
fix `compiler-sizeof' docs and error message
2011-11-30 07:39:36 -07:00
Robby Findler
c338e5bfe3
remove now-unneeded debugging printfs from drracket's module-lang test suite
2011-11-30 08:24:20 -06:00
Robby Findler
458e2c2282
some long overdue Rackety: renaming the 'scheme:' exports of the framework to 'racket:'
2011-11-30 06:45:50 -06:00
Robby Findler
9db206b231
add in keymap mixin
2011-11-29 18:43:37 -06:00
Robby Findler
dd4f307a47
use an aug-keymap instead of a keymap for the scheme mode keymap container
2011-11-29 14:27:51 -06:00
Robby Findler
1c2f9cd721
adjust the handling of the scheme mode keymap so that it can go
...
before the plain text-mode keymap.
Add a doubleleftclick binding to the scheme mode keymap so that
we can have sexp-sensitive double clicking in the drracket editor
2011-11-29 13:46:23 -06:00
Robby Findler
e935b1fa8e
change the framework & drracket so that they still use the colorer
...
methods (paren matching, mostly) when the colorer is frozen
(but continue to avoid using them when the colrer is stopped)
closes PR 12374
2011-11-29 13:46:23 -06:00
Neil Toronto
f41fce1fc3
Finished icons docs, renamed racket-icon-style to default-icon-style
2011-11-29 12:11:07 -07:00
Matthias Felleisen
d6d8e4351c
removed mistakenly committed file
2011-11-29 14:04:06 -05:00
Neil Toronto
a6abce481d
Set props on icons and render-png.rkt
2011-11-29 09:21:51 -07:00
Jay McCarthy
41e35175f4
Increasing timeout
2011-11-29 06:50:54 -07:00
Neil Toronto
b4e0e17739
Doc fixes and better examples (because black icons are kewl)
2011-11-28 22:47:10 -08:00
Neil Toronto
4012373a8c
Started icon reorganization
...
- SVG icon sources
- Playback-style icons, logos, stop signs, magnifying glasses, etc., in diffuse and shiny styles
- Program to pre-render SVG files (icons/private/svg/render-png.rkt)
- Pre-rendered icons (PNGs in power-of-2 sizes)
- Made `icons' a module, with functions to conveniently load icons and convert to/from picts
- Scribble docs for `icons'
- Used new icons in DrRacket toolbar
2011-11-28 22:09:15 -08:00
Neil Toronto
918c4e97a6
Fixed a bug with small (but not epsilon) flonum bounds
2011-11-28 22:09:15 -08:00
Robby Findler
11994bd4f8
fix a bug in the module lexer; it was returning the wrong length for the tokens
...
it creates when the #lang line isn't well-formed (eg "#lang racke").
closes PR 12399
2011-11-28 21:16:31 -06:00
Robby Findler
c4a8cd65fb
disable file in drdr
2011-11-28 21:16:30 -06:00
Matthias Felleisen
acb66d094b
doc bugs fixed; Closes PR12404
2011-11-28 22:01:11 -05:00
Matthias Felleisen
00c93a1829
allow strings and symbols for name clause in world; Closes PR12403
2011-11-28 21:31:18 -05:00
Matthias Felleisen
19f8cacfcd
on-receive does not have to exist for a world to be a part of a universe, weird but feasible; Closes PR12401
2011-11-28 17:43:12 -05:00
Robby Findler
b40cc23f60
change file-creator-and-type so that it raises exn:fail:filesystem?
...
exceptions instead of exn:fail exceptions for errors having to do
with the actual attempt to change/retrieve the creator and type
(but leaving alone the type errors)
closes PR 12400
2011-11-28 15:35:42 -06:00
Robby Findler
d580518e66
adjust the autosave error code to print the stacktrace
...
related to PR 12400
2011-11-28 15:34:30 -06:00
Robby Findler
5d1a2beded
Adjusting the weekend-bitmap-swapping code so it changes dynamically
...
isntead of just checking weekendness on startup
2011-11-28 15:09:36 -06:00
Matthew Flatt
be89a1c1c4
ffi/unsafe/objc: at least load on platforms without libobjc
2011-11-28 13:51:25 -07:00
Matthew Flatt
14e0698602
raco setup: one more path simplifcation point
...
Closes PR 12355
2011-11-28 13:51:24 -07:00
Matthew Flatt
cb341e1f48
make in-sequences' and
in-cycle' accept 0 sequences
...
Plus doc clarifications.
2011-11-28 13:51:24 -07:00
Robby Findler
031b7b18be
adjust weekend logo setting code so that it works on non-mac os x platforms
2011-11-28 14:49:06 -06:00
Robby Findler
f210692a20
adjust the dock icon (under mac os x) to change on the weekends
2011-11-28 14:35:44 -06:00
Robby Findler
d381c7b40b
add the ability to pass a bitmap directly for the splash screen
2011-11-28 14:35:44 -06:00
Robby Findler
25271be3e8
set the current-load-relative-directory to #f (initially) in drracket
2011-11-28 13:57:11 -06:00
Robby Findler
153dd73f6b
adjust drracket to clean up the code that sets the initial value of
...
current-directory and current-load-relative-directory and to make
current-directory's initial value be the user's home directory
2011-11-28 13:29:55 -06:00
Robby Findler
462a348f19
fix bugs in the way the Racket|Disable Tests menu item worked
...
also adjust the test-engine-test.rkt test suite to bring it into
sync with the changes to the way the DrRacket REPL works from
commit bfa6b1d953
2011-11-28 00:13:59 -06:00
Matthew Flatt
06a1d8eb27
typo
...
Closes PR 10828
2011-11-27 18:42:11 -07:00
Matthew Flatt
27db62c9c8
typo
...
Closes PR 10822
2011-11-27 18:40:18 -07:00
Matthew Flatt
67bf8a3dd9
fix docs on the `mzscheme' language
...
Closes PR 9931
2011-11-27 18:35:02 -07:00
Matthew Flatt
5858585085
doc clarification
...
Closes PR 8460
2011-11-27 18:13:45 -07:00
Matthew Flatt
2b658fb1d4
doc clarification
...
Closes PR 8559
2011-11-27 18:02:26 -07:00
Matthew Flatt
a04272d245
fix typo and text duplication
2011-11-27 13:27:04 -07:00
Matthew Flatt
cba6323e8c
doc correction
...
Closes PR 11959
2011-11-27 11:50:22 -07:00
Matthew Flatt
97b1a9358d
fix typo
2011-11-27 11:29:45 -07:00
Matthew Flatt
b157ff2399
fix `#lang at-exp' spec and related
...
Closes PR 12174
2011-11-27 11:22:41 -07:00
Matthew Flatt
49802b7ba1
doc correction
...
Closes PR 12171
2011-11-27 11:14:58 -07:00
Matthew Flatt
a707b0c5f5
`syntax-id-rules' clarifications
...
Closes PR 12232
2011-11-27 11:11:28 -07:00
Matthew Flatt
fca5ceecc9
switch `codeblock' to strings instead of bytes
...
Also, fix scribble lexer line counting.
Closes PR 12225
2011-11-27 11:06:21 -07:00
Matthew Flatt
8b7370a4f9
fix printing of hash tables with chaperones
...
Closes PR 12276
2011-11-27 09:56:44 -07:00
Matthew Flatt
10246d7ade
fix `current-memory-use'
...
Closes PR 9896
2011-11-27 09:18:52 -07:00
Robby Findler
1b7bda5f2a
clean up the way the state of the online expansion GUI is kept.
...
This fixes a bunch of little things, including switch tabs between
windows with different states (closing PR 12341) and switching to
a non-module language.
2011-11-26 21:14:28 -06:00
Matthew Flatt
58fa3dd6d7
fix non-ELF unix starter creation
2011-11-26 19:59:53 -07:00
Robby Findler
5adc74fdf0
fix a bug in the case that the character with a breakpoint or a
...
stack highlight triangle is on the left edge of a line
closes PR 12379
2011-11-26 18:30:25 -06:00
Robby Findler
081dc6c9a1
adjust the completions box so that it doesn't raise the error mentioned in 12396 anymore
...
closes PR 12396
2011-11-26 18:30:25 -06:00
Matthew Flatt
e7ab46d505
doc repair
...
Closes PR 12281
2011-11-26 17:09:24 -07:00
Matthew Flatt
7adc61060d
doc repair
...
Closes PR 12289
2011-11-26 17:09:24 -07:00
Matthew Flatt
1175964a78
reference clarifications on string ports
...
Closes PR 12365
2011-11-26 17:09:23 -07:00
Matthew Flatt
48d5d6fca3
guide clarification on arguments to `eval'
...
Closes PR 12345
2011-11-26 17:09:23 -07:00
Matthew Flatt
8d44010725
better guide entry on "comments"
...
Closes PR 12367
2011-11-26 17:09:23 -07:00
Matthew Flatt
0772cdf2e3
fix `print-convert' on cyclic hash key
...
Closes PR 12373
2011-11-26 17:09:23 -07:00
Sam Tobin-Hochstadt
dd0a49bc62
Turn off excessive stderr output.
2011-11-26 16:06:45 -05:00
Matthew Flatt
93bcc58a0c
scribble: use Latex skull package only if needed
2011-11-26 09:01:46 -07:00
Matthew Flatt
567ee96c61
racket/draw: generalize "face" in a font% to be a description
...
Also add an option to `get-face-list' so that it can actually
return faces, instead of just families.
2011-11-26 08:48:35 -07:00
Matthew Flatt
161934c354
skip osx64 build for now
2011-11-26 06:44:37 -07:00
Neil Toronto
4a8259a4e7
Fixed some tests
2011-11-25 19:00:05 -07:00
Neil Toronto
553c72ab28
Moved some flonum stuff (e.g. flatan2, flnext, +max.0, +min.0, etc.) to unstable/flonum (will document in another commit)
...
Moved Racket-language, doc-generating "defthing" defines to unstable/latent-contract/defthing (will document in another commit)
2011-11-25 18:40:19 -07:00
Neil Toronto
59691aab83
Arrows disappear immediately upon scroll; reduce scroll delay
2011-11-25 18:40:19 -07:00
Robby Findler
e942bb1c3a
add another printf for drdr's consumption
2011-11-25 17:54:56 -06:00
Robby Findler
ca457b0052
add some debugging to see if I get more useful info for the module language test intermeittent failure
2011-11-25 15:13:11 -06:00
Robby Findler
d672a0699e
contract random cleanup
...
- remove excess printf
- fix indentation
- remove unused frequency tables
- adjust the generate table to avoid the imperative registration
2011-11-25 14:47:57 -06:00
Matthew Flatt
1ac7e7e19d
racket/class: add `dynamic-send'
2011-11-25 13:22:05 -07:00
Matthew Flatt
d421ed1bb6
racket/class: add `send/keyword-apply'
2011-11-25 13:19:42 -07:00
Matthew Flatt
bc0c2075fd
cocoa: make sure app wakes up on file event
2011-11-25 13:19:42 -07:00
Matthew Flatt
d3cbea068a
fix treatment of caps lock in keymap%
...
Somewhere along the way --- probably in porting the editor
classes to Racket --- the caps-lock specification in a keymap
string was treated the same as other modifiers, but it is
supposed to be neutral when the key string starts with ":".
Closes PR 5486, 10347, 10993, 12184
2011-11-25 13:19:42 -07:00
Robby Findler
a847186c0a
missed one place to rename contract-generate
2011-11-25 13:38:26 -06:00
Robby Findler
e0ea64c758
rename contract-generate to contract-random-generate
2011-11-25 09:09:18 -06:00
Neil Toronto
989fcc4c22
Reworked how major and minor ticks are chosen; now isosurfaces3d always shows 3-5 surfaces, and all *-ticks parameters have the same default
...
Contour and isosurface 'auto levels reorg
2D contours: z-min = z-max now makes empty plot instead of infinite loop
3D isosurfaces: d-min = d-max now makes empty plot instead of infinite loop
Fixed contracts and corner case on marching squares and cubes functions
Better selection box and point-label formatting
Increased timeout on extreme-bounds-tests.rkt
2011-11-24 21:59:16 -09:00
Neil Toronto
bf77e525cc
Points renderers fill color option
2011-11-24 21:59:16 -09:00
Neil Toronto
192539259c
Fixed extreme bounds tests
2011-11-24 21:59:16 -09:00
Neil Toronto
57f07d516d
Refactoring: plot-device% now uses dc<%>'s set-origin, simplifying uses
2011-11-24 21:59:16 -09:00
Neil Toronto
700765abb2
Plot label renderers now use tick settings to format coordinates
2011-11-24 21:59:16 -09:00
Neil Toronto
bddcd76f7f
Ensure snips handle rendering errors
...
Fraction tick formatting more reasonable for non-ticks (e.g. selection bounds, eventually plot labels)
2011-11-24 21:59:16 -09:00
Neil Toronto
547ac9c7d8
Focus tweaks to capture off-snip movement; account for split editor
2011-11-24 21:59:16 -09:00
Neil Toronto
9c5d68ead5
Plot snips no longer get focus
...
Right-click on plot snips now opens editor pop-up menu
2011-11-24 21:59:16 -09:00
Neil Toronto
2f308a5323
Click and drag to zoom 2D plots
...
Snip refactoring
2011-11-24 21:59:15 -09:00
Matthew Flatt
aab4260127
generalize brush transformation to apply to a stipple
2011-11-24 11:14:54 -07:00
Matthew Flatt
fe3b6ea003
at-exp, scribble: remove distinctness of @{}-introduced newlines
2011-11-24 09:17:34 -07:00
Robby Findler
c87cd47c64
add add-make-prefix-to-constructor tests
2011-11-24 09:42:55 -06:00
Jay McCarthy
30cc1b9a0b
Incorrect documentation
2011-11-24 08:19:09 -07:00
Matthew Flatt
a40d0f0dd1
fix pconvert test
2011-11-24 05:58:30 -07:00
Robby Findler
b7d2d5da62
Some small cleanups of Andy's contract generator code
2011-11-23 22:54:21 -06:00
Andy Gocke
b8847a53bf
Started on random testing for contracts
2011-11-23 22:54:21 -06:00
Jay McCarthy
37a7e0a2e1
Revert "Forgot to include doc change"
...
This reverts commit ccd5061c87
.
2011-11-23 11:13:21 -07:00
Jay McCarthy
41e04b33da
Revert "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."
...
This reverts commit 7f9818bb3e
.
2011-11-23 11:13:20 -07:00
Jay McCarthy
9d8d36e568
Demonstrating that 10772 is fixed
2011-11-23 10:59:55 -07:00
Jay McCarthy
5bd12bb6f1
Clarifying syntax in docs
2011-11-23 10:59:55 -07:00
Jay McCarthy
ce6eab6f8e
Showing that 10546 is fixed
2011-11-23 10:59:55 -07:00
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