Commit Graph

16519 Commits

Author SHA1 Message Date
Matthew Flatt
68391fe2ea reorganize racket/gui docs and expand canvas-drawing overview 2010-11-27 20:05:20 -07:00
Matthew Flatt
94e2d46a8e move Typed Racket manuals to the Languages section 2010-11-27 19:01:17 -07:00
Matthew Flatt
e20b411712 explain gracket a bit better in the Guide 2010-11-27 18:54:32 -07:00
Matthew Flatt
57f0fe8414 fix reference description of GRacket 2010-11-27 18:47:49 -07:00
Matthew Flatt
5c89df2f7f Revise places docs to fit the reference-manual style 2010-11-27 18:34:33 -07:00
Matthew Flatt
af318c4501 move racket/draw overview back to the racket/draw manual
but keep expanded roadmap of drawing and GUI libraries
2010-11-27 17:48:09 -07:00
Matthew Flatt
c92a6b0e3d fix long line 2010-11-27 16:39:25 -07:00
Matthew Flatt
8b3165d55b move racket/draw overview to the Guide and expand it
--- plus some minor collateral API improvements
2010-11-27 16:34:32 -07:00
Matthew Flatt
0b19c6e798 fix bug in composable continuations
--- as deiscovered by Casey's random tester
2010-11-27 09:52:11 -07:00
Matthew Flatt
430d45b471 doc correction
Closes PR 11465
2010-11-27 08:28:57 -07:00
Matthew Flatt
e97414b7bf bitmap% convertible to 'png-bytes; more Scribble Latex; pict in Slideshow docs 2010-11-27 07:36:12 -07:00
Matthew Flatt
cb3a48ab2b convert "quick" document to mostly use picts directly in examples 2010-11-26 20:40:43 -07:00
Matthew Flatt
5d386a99ec fixes to make pict eval results work in Scribble 2010-11-26 20:40:43 -07:00
Matthew Flatt
0f86dc15af scribble: render `pict' content directly
--- actually, any value that is convertible to PNG/PDF
2010-11-26 20:40:43 -07:00
Matthew Flatt
abcaa1775c add width' and height' arguments to post-script-dc% and pdf-dc%
and document the change that the PS bounding box is no longer
 inferred from drawing operations
2010-11-26 20:40:43 -07:00
Ryan Culpepper
a45792ca1c macro-stepper: dummy editor-admin for image creation 2010-11-26 19:28:55 -07:00
Ryan Culpepper
e6cf77b61c macro-debugger: fixed image creator 2010-11-26 19:28:55 -07:00
Ryan Culpepper
8605fecaf3 syntax/parse: fixed bug in #:do (with expression) 2010-11-26 19:28:55 -07:00
Ryan Culpepper
eb1c164aca macro-stepper: extra guard in on-demand id-only popup submenu 2010-11-26 19:28:55 -07:00
Ryan Culpepper
c50ab191d6 fixed gvector typo 2010-11-26 19:28:55 -07:00
Ryan Culpepper
de9538d1eb macro-debugger: refine position of mouse events 2010-11-26 19:28:54 -07:00
Robby Findler
bc9a5e4b48 plugged a leak in drracket (thanks to Matthew for finding it!) 2010-11-26 19:32:19 -06:00
Jay McCarthy
ee2b11630f Adding containers 2010-11-26 19:59:32 -05:00
Jay McCarthy
eee5c6b14a Adding response/port 2010-11-26 19:59:32 -05:00
Jay McCarthy
4a4b3ae64c Adding doc clarification from Eli 2010-11-26 19:59:32 -05:00
Jay McCarthy
8320517192 Adding page 2010-11-26 19:59:32 -05:00
Jay McCarthy
e999daa871 Adding page and get-binding 2010-11-26 19:59:32 -05:00
Casey Klein
1ccd6e7a2c Randomized tests for the delimited control model.
Tests in randomized-tests.rkt are deliberately not run by DrDr at the
moment because they fail too consistently.
2010-11-26 13:24:21 -06:00
Casey Klein
8ff358b559 Abstracts randomized testing forms over the underlying PRG 2010-11-26 13:02:14 -06:00
Casey Klein
b616ac3cd4 Fixes substitution bugs 2010-11-26 13:02:14 -06:00
Casey Klein
d927bc117e Fixes the bug with named contexts in a better way 2010-11-26 13:02:14 -06:00
Casey Klein
abf2574189 Fixes a bug introduces while updating to newer version of Redex 2010-11-26 13:02:14 -06:00
Casey Klein
6bfbdfd582 Fixes another bug in continuation mark collection 2010-11-26 13:02:14 -06:00
Casey Klein
8e69aa6ac2 Fixes minor bugs in two core reduction rules 2010-11-26 13:02:14 -06:00
Casey Klein
48a5c19a4e Fixes another bug in continuation mark collection 2010-11-26 13:02:14 -06:00
Casey Klein
d0e03bf53a Updates context matching with missing % contexts 2010-11-26 13:02:14 -06:00
Casey Klein
1147318426 Fixes bug with `in-hole' generation 2010-11-26 13:02:14 -06:00
Casey Klein
e7e504741e Fixes definition of evaluation contexts 2010-11-26 13:02:13 -06:00
Matthew Flatt
04a4ad269f cocoa & gtk: fix set-label with bitmap on message%
Closes PR 11462
2010-11-26 11:59:31 -07:00
Matthew Flatt
1b56d84155 have the pict datatype support conversion to PNG, EPS, or PDF bytes 2010-11-26 11:50:07 -07:00
Matthew Flatt
7cb15899ae add `output' argument to post-script-dc% and pdf-dc% for a byte string
insteda of writing to a file
2010-11-26 11:47:24 -07:00
Matthew Flatt
f73e8c31e8 doc contract fix 2010-11-26 11:31:38 -07:00
Matthew Flatt
8ecd179cb5 fix interactive cancel in post-script-dc% 2010-11-26 11:21:48 -07:00
Matthew Flatt
5aff70029a centralize glib loading as used by racket/draw and Gtk racket/gui 2010-11-26 11:20:15 -07:00
Matthew Flatt
bd0ca0bcec add file/convertible 2010-11-26 10:53:45 -07:00
Matthew Flatt
2edadd6113 add pdf-dc%; make slideshow/pict depend on racket/draw, not racket/gui 2010-11-26 10:35:05 -07:00
Matthew Flatt
7da127227a gtk & cocoa: frame iconize repairs
In the "windowing.rktl" tests, for Gtk there are still race conditions
 between the program and the window manager. But for the first
 time ever, all platforms can pass the "windowing.rktl" test.
2010-11-26 08:33:59 -07:00
Robby Findler
43e25a83f2 props 2010-11-26 09:11:48 -06:00
Matthew Flatt
1f61bbdc51 win32: frame size and iconize fixes 2010-11-26 08:10:58 -07:00
Robby Findler
4c9794acc6 drracket frames leak; add a test case 2010-11-26 08:51:37 -06:00
Mike Sperber
1d154e4bc3 Synch German string constants with latest. 2010-11-26 13:27:35 +01:00
Mike Sperber
dbd1cfaf10 Don't use teach-equal?' for one-of' signature.
I did this under the mistaken assumption `equal?' would not work for
cycles, I think.
2010-11-26 11:10:29 +01:00
Eli Barzilay
22f1c96a4a Remove unused `how-to-use-scheme' string. 2010-11-25 22:10:33 -05:00
Eli Barzilay
be2ea96cc8 "TeachScheme!" -> "Program by Design" in DrRacket 2010-11-25 22:10:33 -05:00
Eli Barzilay
4842c70885 "TeachScheme!" -> "Program by Design". 2010-11-25 22:10:33 -05:00
Eli Barzilay
9caf9f6203 Drop brown build, due to the machine being too problematic. 2010-11-25 22:10:33 -05:00
Matthew Flatt
8e8844641c fix `draw-bitmap-section-smooth' method of bitmap-dc<%> 2010-11-25 11:00:32 -07:00
Matthew Flatt
e9562a8ddc Revert "Fixing use and documentation of draw-bitmap-section-smooth"
because the implementation is wrong, not the documented contract

This reverts commit 68051f845a.
2010-11-25 10:40:06 -07:00
Matthew Flatt
e0bcec0825 cocoa: handle multi-key character input 2010-11-25 10:38:44 -07:00
Jay McCarthy
bd7ffb282f This code appears to have been copied from the other 2010-11-25 12:03:10 -05:00
Jay McCarthy
6474b519bb Fixes usage of argb-pixels 2010-11-25 12:01:44 -05:00
Jay McCarthy
68051f845a Fixing use and documentation of draw-bitmap-section-smooth 2010-11-25 11:47:02 -05:00
Jay McCarthy
e081af2aef This test relied on the old source location losing behavior of Rackunit 2010-11-25 11:38:43 -05:00
Jay McCarthy
81cb890323 Fixing problem introduce in 686ec83. Definitely fixes check-dists, may break bundle, but I don't think so 2010-11-25 11:27:22 -05:00
Jay McCarthy
267d2293c0 Fixing error introduce by Robby in fd53321 2010-11-25 11:11:46 -05:00
Eli Barzilay
4a0c276d4c More content hooks for the wiki template.
(And remove a bogus leftover definition.)
2010-11-25 11:00:15 -05:00
Matthew Flatt
df9c4c8c69 cocoa: don't treat dead-key events as normal character events
but more work is still needed for multi-key input
2010-11-25 08:41:50 -07:00
Matthew Flatt
347869fc9e fix some racket/gui tests and fix cocoa frame centering 2010-11-25 08:03:33 -07:00
Matthew Flatt
820e832853 add 'close-button style to dialog%; fix cocoa default frame placement 2010-11-25 08:03:33 -07:00
Matthew Flatt
ab070b205e cocoa: finally found the documented API to enable GUI mode 2010-11-25 08:03:32 -07:00
Robby Findler
bf62d4b6d6 get two more 2htdp/image test cases to pass 2010-11-25 09:03:06 -06:00
Robby Findler
a658a7620b a (failed) attempt to fix equality comparison (but at least it is a step in the right direction (I think)) 2010-11-25 06:55:00 -06:00
Robby Findler
57fe568a5e fixed a bug 2010-11-25 06:55:00 -06:00
Robby Findler
6e7530ff86 added empty-image 2010-11-25 06:55:00 -06:00
Jay McCarthy
eecbc539c1 Fixing problem with previous "fix" to mutator-begin 2010-11-24 23:33:42 -05:00
Jay McCarthy
c9dcbb9edb Failing test 2010-11-24 23:33:42 -05:00
Jay McCarthy
32377647f8 Applying GMT RFC1123 patch from YC 2010-11-24 23:33:42 -05:00
tv
11f2653b7e add #:tcp@ to ws-serve for wss: support 2010-11-24 23:33:42 -05:00
Jay McCarthy
b686cc84a9 Removing test because we reintroduced gensym 2010-11-24 23:33:42 -05:00
Matthew Flatt
1034c9be4e fix hashing on C pointers and missing tests 2010-11-24 15:44:18 -07:00
Matthew Flatt
470ed7c996 fix get-face-list bug (caused Windows 7 crash on my test) 2010-11-24 14:25:07 -07:00
Matthew Flatt
bd28f2ab54 make `equal?' equate C pointers that refer to the same address 2010-11-24 13:41:11 -07:00
Matthew Flatt
370c97165a cocoa: fix problem with frame focus 2010-11-24 12:03:17 -07:00
Matthew Flatt
2f4c782434 doc typos 2010-11-24 12:02:46 -07:00
Matthew Flatt
e2072d5afb cocoa: repair location fixup on screen change 2010-11-24 10:38:41 -07:00
Matthew Flatt
14a72b5a08 cocoa: fix problems with frame-list management 2010-11-24 07:12:02 -07:00
Matthew Flatt
0d6d285423 clear objc ivar on `dealloc'
so that a field is not incorrectly used if the super `dealloc' triggers
 callbacks
2010-11-24 07:08:54 -07:00
Matthew Flatt
f245b6ca29 fix bitmap% load-file' method and remove {get,set}-gl-config'
Closes PR 11460
2010-11-24 06:08:44 -07:00
Matthew Flatt
c6ae7377a5 slideshow: use printer-dc on all platforms for --print 2010-11-24 05:44:59 -07:00
Jay McCarthy
9c6b9b8fcd Adding whitespace so you can copy and paste to planet remove on the OS X terminal 2010-11-23 15:42:40 -07:00
Jay McCarthy
88fb21fa26 cleanup 2010-11-23 15:42:40 -07:00
Jay McCarthy
e3153e6d21 Adding normalization display 2010-11-23 15:42:39 -07:00
Vincent St-Amour
e64f8be932 Fix open-input-output-file doc. Closes PR 11371. 2010-11-23 14:15:04 -05:00
Vincent St-Amour
e7c252739d Fix type for abs. Closes PR 11430. 2010-11-23 14:15:04 -05:00
Vincent St-Amour
54991835d6 Add type for fl->exact-integer. Closes PR 11429. 2010-11-23 14:15:04 -05:00
Vincent St-Amour
58d1f75dc1 Fix type for arithmetic-shift. Closes PR 11428. 2010-11-23 14:15:03 -05:00
Vincent St-Amour
7a7fe577cd Add type for integer-sqrt. Closes PR 11427. 2010-11-23 14:15:03 -05:00
Vincent St-Amour
e10f139ad8 Fix type for raise-type-error. Closes PR 11426. 2010-11-23 14:15:03 -05:00
Vincent St-Amour
2c74984fcd More precise type for sgn. Closes PR 11424. 2010-11-23 14:15:02 -05:00
Eli Barzilay
698b3a6c90 Throw an error if the number input for `take' is too big.
Note that this is usually delayed so it's not too useful.  Note that it
*doesn't* force the list -- see the explanation in the comment.

(Related to PR 11458.)
2010-11-23 14:13:26 -05:00
Robby Findler
fd53321823 rackunit: bring back source locations for check-equal? used in 'ho' position 2010-11-23 12:35:10 -06:00
Matthew Flatt
510c3f8a33 cocoa: try to fix problem with drifting gc-blit window 2010-11-23 10:02:45 -07:00
Eli Barzilay
f3c62a0efd Require a non-negative exact integer argument for `take'.
Closes PR 11458.
2010-11-23 10:28:14 -05:00
Eli Barzilay
76c07dd594 Improved `get-bindings' using regexps etc.
(But note that it looks like it reimplements `form-urlencoded->alist'.)
2010-11-23 10:27:46 -05:00
Mike Sperber
a671fddc18 Better signature for `string->number'. 2010-11-22 15:33:49 +01:00
Mike Sperber
39b3a289c5 Update signatutures and explanations on DMdA primitives. 2010-11-22 09:29:54 +01:00
Robby Findler
860de6358c brought the preferences dialog description up to date with reality.
closes PR 11453
2010-11-21 07:39:12 -06:00
Robby Findler
3b56f81b10 adjusted case of 'show line numbers' to match menu / prefs distinction 2010-11-21 07:39:12 -06:00
Robby Findler
84fc640752 refactoring 2010-11-21 07:39:11 -06:00
Matthew Flatt
c94df207a4 cocoa: one more 10.6-only method 2010-11-20 15:45:28 -07:00
Matthew Flatt
bf9b913f33 cocoa: avoid another 10.6-only method
Closes PR 11442
2010-11-20 15:38:17 -07:00
Matthias Felleisen
2a3c66b731 start animate from 0 not 1 2010-11-20 10:37:59 -05:00
Robby Findler
747c735eb3 adjusted scribble's sigplan setup so that the times.sty and qcourier.sty packages can be disabled. 2010-11-19 17:57:13 -06:00
Vincent St-Amour
102419f009 Fixed command-line options for gambit in benchmarks. 2010-11-19 12:10:42 -05:00
Vincent St-Amour
a888325d78 Fixed autobib doc. 2010-11-19 12:10:42 -05:00
Robby Findler
18b94ca853 added scrbl as an extension 2010-11-18 13:21:39 -06:00
Kevin Tew
cc69ceed6b [Parallel-Build] Better error logging for failed match 2010-11-18 11:33:29 -07:00
Matthias Felleisen
14bdcda9a9 rewrote docs for (name ...), Closes PR 11439 2010-11-18 10:26:53 -05:00
Matthias Felleisen
dbe896a969 wrong font size for 1column 2010-11-17 18:56:08 -05:00
Matthew Flatt
421519994d make SSL listeners events 2010-11-17 13:16:53 -07:00
Mike Sperber
99e66e0dea Fix cycle detection in `tequal?'.
... and thus in `check-within', by using an eq? hash table.  Also,
while we're at it, add cycle detection to `tech-equal?'.

Fixes PR #11423.
2010-11-17 17:15:31 +01:00
Mike Sperber
9c607d39e7 Further refine DMdA signatures for lcm' and gcd'. 2010-11-17 17:15:31 +01:00
Jay McCarthy
24dbffaf3b Fixing problem found at Brown 2010-11-17 04:58:09 -07:00
Eli Barzilay
f78e2af4e1 More instructions for pull-request-based workflow 2010-11-17 02:41:05 -05:00
Jon Rafkind
5f2d18c1f9 add in-queue 2010-11-16 23:09:19 -07:00
Jon Rafkind
27b32464c5 add test for sequence used as an expression 2010-11-16 23:09:19 -07:00
Jon Rafkind
c5d56b4a4a typo, gvector instead of vector 2010-11-16 23:09:18 -07:00
Matthew Flatt
1762a9a872 fix set!' of define-for-syntax'ed varable in `let-syntax' RHS 2010-11-16 20:18:11 -07:00
John Clements
b2edac3179 edited async-apply description 2010-11-16 17:56:13 -08:00
Matthew Flatt
584287483b cocoa: avoid another 10.6-only method
Closes PR 11440
2010-11-16 17:08:41 -07:00
Jon Rafkind
7b24eaf58e rename queue-count to queue-length 2010-11-16 14:36:49 -07:00
Jon Rafkind
73be67942d add queue->list 2010-11-16 14:36:49 -07:00
Eli Barzilay
b8bbed6eb4 Throw an error when translating an unknown enum integer to a symbol.
Also, add a keyword argument that can be used to get the old behavior
back.

Also, improve the way the `_enum' and `_bitmask' functions are wrapped.
2010-11-16 15:19:38 -05:00
Eli Barzilay
d2b1bf73e0 A little better prose style 2010-11-16 14:58:52 -05:00
Eli Barzilay
7cf81b5668 Clarify that `current-memory-use' gets a result calculated by the last
GC, and will return 0 if no GCs happened.
2010-11-16 14:47:01 -05:00
Eli Barzilay
afa8e6c86b Add `get-user-custodian' to the sandbox. 2010-11-16 14:47:01 -05:00
Sam Tobin-Hochstadt
82437faa18 Fix docs. 2010-11-16 14:02:47 -05:00
Sam Tobin-Hochstadt
d50eac2eff Sort bib entries by year when authors are equal.
Works only when just the year is specified.
2010-11-16 13:27:50 -05:00
Sam Tobin-Hochstadt
2dbbd1b58e Add @onecolumn option to scribble/sigplan 2010-11-16 12:38:48 -05:00
Sam Tobin-Hochstadt
01c8c281f3 Supress duplicate author lists. 2010-11-16 12:38:48 -05:00
Sam Tobin-Hochstadt
7b61209069 Updated version of sigplanconf.cls 2010-11-16 12:38:48 -05:00
Jon Rafkind
58188ad0c6 add queue-count 2010-11-15 22:32:08 -07:00
Matthew Flatt
f050f28d2b cocoa: fix put-file extension handling when no extensions are supplied 2010-11-15 19:46:41 -07:00
Matthew Flatt
6c844ec415 cocoa: adjust button shape for large fonts 2010-11-15 12:16:42 -07:00
Eli Barzilay
6ae159e8be typo 2010-11-15 00:04:11 -05:00
Eli Barzilay
8946d71d66 Use the expected installed name instead of the downloaded name when applicable. 2010-11-14 22:48:56 -05:00
Jon Rafkind
ee62bae74b save/restore dc state while drawing line numbers 2010-11-14 19:48:21 -07:00
Jon Rafkind
cd4e5e7410 move line numbers option from general to editing->general 2010-11-14 19:48:20 -07:00
Jon Rafkind
c8eb07221d use uppercase 2010-11-14 19:48:20 -07:00
Matthew Flatt
16b75b1f00 cocoa: avoid explicit NSTabViewDelegate
--- not in pre-10.6, seems to crash in 64-bit mode, and not
     necessary to declare
 Closes PR 11418
2010-11-14 15:54:18 -07:00