Commit Graph

17712 Commits

Author SHA1 Message Date
Matthew Flatt
5f73c361ef fix text-drawing context for "combined" text when scale changes
Closes PR 11495
2010-12-08 18:40:09 -07:00
Vincent St-Amour
365d272666 Test for errors in rhs. 2010-12-08 20:32:20 -05:00
Vincent St-Amour
81ef5f9418 Typecheck body of letrec using original types instead of potentially undefined type. 2010-12-08 20:32:20 -05:00
Vincent St-Amour
53719600d8 Error if we get a type that may be undefined and we don't expect it. 2010-12-08 20:32:20 -05:00
Vincent St-Amour
b045153177 letrec: consider outside bindings safe. 2010-12-08 20:32:19 -05:00
John Clements
368f345901 more stepper cleanup 2010-12-08 16:37:15 -08:00
John Clements
ff973b628b stepper refactoring and cleanup 2010-12-08 16:37:15 -08:00
Sam Tobin-Hochstadt
463ab0d309 Fix type of `-' 2010-12-08 19:31:57 -05:00
Vincent St-Amour
36f6149a41 Another alphabetical order fix. 2010-12-08 19:13:00 -05:00
Sam Tobin-Hochstadt
e70ccafd7b Add `defined?' assertions to fix DrRacket. 2010-12-08 18:53:56 -05:00
Sam Tobin-Hochstadt
87eab889d6 Allow arbitrary filter specification in function types.
Allow (A -> B -> C) for curried function types.
2010-12-08 18:22:29 -05:00
Sam Tobin-Hochstadt
cb6d78698b Count pairs as having size 1, not 0, in minimizing edit distance. 2010-12-08 18:22:29 -05:00
Sam Tobin-Hochstadt
73dbf42e0e Better handling of `hash-*' functions, and hashes as sequences. 2010-12-08 18:22:29 -05:00
Sam Tobin-Hochstadt
7f1da76d54 Compare author strings, not author structures, in `citet'. 2010-12-08 18:22:29 -05:00
Vincent St-Amour
0365755b3d Fix cond doc typo.
Closes PR 11517.
2010-12-08 18:17:07 -05:00
Vincent St-Amour
dc2df4882b Take into account potentially undefined values in letrec.
Closes PR11511.
2010-12-08 18:17:06 -05:00
Vincent St-Amour
33581fd67e map + syntax->list -> syntax-map 2010-12-08 18:17:05 -05:00
Vincent St-Amour
b7588b0081 Add my name to acknowledgements and fix alphabetical order. 2010-12-08 18:17:05 -05:00
Jay McCarthy
5657d72aa4 Quiz 2010-12-08 14:08:54 -07:00
Jay McCarthy
7ac2b8e316 Fixing tests 2010-12-08 14:08:54 -07:00
Jay McCarthy
5285dc6a16 Fixing tests 2010-12-08 14:08:54 -07:00
Stevie Strickland
0c4658f718 Conversion of -> to impersonators. 2010-12-08 13:04:29 -05:00
Stevie Strickland
b342033b7f Remove now-unused ->d-tail-key. 2010-12-08 11:23:08 -05:00
John Clements
b0c6154ae0 cleanup of stepper's shared.rkt 2010-12-07 20:44:35 -08:00
John Clements
5456e83ce4 massively faster due to reuse of namespace 2010-12-07 20:44:35 -08:00
John Clements
fec54283fb applicable structs now working, closure table is gone 2010-12-07 20:44:35 -08:00
John Clements
9eaee0e6f1 about to give up for now... 2010-12-07 20:44:34 -08:00
John Clements
0d2a4b98db moving to another machine 2010-12-07 20:44:34 -08:00
John Clements
6f84a1c143 checkpointing progress toward applicable structs instead of hash table 2010-12-07 20:44:34 -08:00
John Clements
b51626933c hide big-bang startup code 2010-12-07 20:44:31 -08:00
Stevie Strickland
37349ca053 Allow uses of recursive-contract to specify the type of contract to create. 2010-12-07 18:30:20 -05:00
Robby Findler
dd081d9b4e added a tabs menu for windows (and linux) 2010-12-07 16:33:51 -06:00
Jay McCarthy
823da4321f Expanding documentation and doing some renaming/providing 2010-12-07 15:08:36 -07:00
Jay McCarthy
c7ed2d0fda Fixing typo 2010-12-07 15:04:42 -07:00
Jay McCarthy
721c884965 Merge git://github.com/jpc/racket into jpc 2010-12-07 14:53:59 -07:00
Jay McCarthy
43d87e1971 Adding a porting note where people will find it 2010-12-07 14:51:44 -07:00
Jay McCarthy
8570b48cec Fixing a few errors post testing 2010-12-07 14:14:55 -07:00
Jay McCarthy
d28dc2ae41 Revert "Adding dynamic/c and coerce/c"
This reverts commit cec308cc363a69d561097e978352488c996385ed.
2010-12-07 14:14:55 -07:00
Jay McCarthy
58494c125b Big bang coercion 2010-12-07 14:14:55 -07:00
Jay McCarthy
c011d611ca Removing old confusion contracts 2010-12-07 14:14:55 -07:00
Jay McCarthy
31f8679e34 Updating handin to use new compat interface 2010-12-07 14:14:54 -07:00
Jay McCarthy
5d7c91a7fb typos 2010-12-07 14:14:54 -07:00
Jay McCarthy
d7bd9ddc5f Adding compat0 test cases 2010-12-07 14:14:54 -07:00
Jay McCarthy
78a65f0662 More exhaustive test 2010-12-07 14:14:54 -07:00
Jay McCarthy
b5a39d03e4 Discussing compatibility 2010-12-07 14:14:54 -07:00
Jay McCarthy
e7c71921bb Adjusting documentation 2010-12-07 14:14:53 -07:00
Jay McCarthy
a246ddebde New response/c 2010-12-07 14:14:53 -07:00
Jay McCarthy
d6d9f3ef8c Adding dynamic/c and coerce/c 2010-12-07 14:14:53 -07:00
Jay McCarthy
7ebdd3c7f1 Remove write-xexpr altogether, since compatibility is not promised in unstable 2010-12-07 14:14:53 -07:00
Jay McCarthy
2abbb664dd Fixing docs 2010-12-07 14:14:53 -07:00
Jay McCarthy
28bf36b753 Use compat lib 2010-12-07 14:14:52 -07:00
Jay McCarthy
5832758c5e Ensuring compat libraries provide all old functions too 2010-12-07 14:14:52 -07:00
Jay McCarthy
f5e9e0dad1 Fixing example 2010-12-07 14:14:52 -07:00
Jay McCarthy
83fcd6a8a2 Better implementation provided by XML now 2010-12-07 14:14:52 -07:00
Jay McCarthy
a609c360d7 Fixing require path 2010-12-07 14:14:52 -07:00
Jay McCarthy
2e90c11bd3 More compat 2010-12-07 14:14:51 -07:00
Jay McCarthy
4025776776 Elaboration 2010-12-07 14:14:51 -07:00
Jay McCarthy
102d09a4e5 Renaming 2010-12-07 14:14:51 -07:00
Jay McCarthy
eaf5d02013 Compatibility 2010-12-07 14:14:51 -07:00
Jay McCarthy
998e5bc1ec Implementation note 2010-12-07 14:14:51 -07:00
Jay McCarthy
4ca1dac51c write-xexpr test cases 2010-12-07 14:14:51 -07:00
Jay McCarthy
9ad953c501 Adding efficient Xexpr writing 2010-12-07 14:14:51 -07:00
Jay McCarthy
ca6c37bccf Adding header 2010-12-07 14:14:50 -07:00
Jay McCarthy
73749166ba Updating tutorial for response/xexpr 2010-12-07 14:14:50 -07:00
Jay McCarthy
16f8b3a2a6 Adding test case and fixing un-terminated requests 2010-12-07 14:14:50 -07:00
Jay McCarthy
a28cf7df10 Updating docs 2010-12-07 14:14:50 -07:00
Jay McCarthy
9b066d0f04 Correcting tests and examples 2010-12-07 14:14:49 -07:00
Jay McCarthy
419c184c94 Using response/xexpr 2010-12-07 14:14:49 -07:00
Jay McCarthy
05c9fcd412 First pass at Xexpr removal 2010-12-07 14:14:49 -07:00
Jay McCarthy
dc01f00afc New benchmarks 2010-12-07 14:14:49 -07:00
Stevie Strickland
5b8e5d6380 Extend struct/c to allow impersonator contracts for mutable fields.
Also, flat contracts for immutable fields are only evaluated at contract
wrapping time.
2010-12-07 14:29:07 -05:00
Robby Findler
ab517bf432 enable font substitution for windows (it works on windows 7 and xp at least...) 2010-12-07 13:02:58 -06:00
Jon Rafkind
a02d73e530 add examples for in-hash and friends 2010-12-07 11:54:12 -07:00
Robby Findler
2d55dd1bb7 sort the font names in the popup 2010-12-07 07:27:54 -06:00
Robby Findler
36e8d5ef99 remove bogus comment 2010-12-07 07:05:56 -06:00
Robby Findler
0a313888c4 added missing require (as suggested by Matthew) so now pasting works. 2010-12-07 07:05:54 -06:00
Stevie Strickland
10eb818f95 Conversion of struct/c to chaperones when appropriate. 2010-12-07 04:11:26 -05:00
Matthias Felleisen
bd0b8d9c9f the Utah refactoring accidentally nested queue-callback; closes PR11500 2010-12-06 23:04:08 -05:00
Matthias Felleisen
4af96aaa1c use 'any for read-line, closes PR11445 2010-12-06 23:04:08 -05:00
Robby Findler
39008f2130 on second thought, maybe this is the right last argument 2010-12-06 19:33:46 -06:00
Robby Findler
f818aa56bf patch so that the alt key does not crash drracket (windows) 2010-12-06 19:31:36 -06:00
Stevie Strickland
ebf01cc664 Converting case-> to chaperones and impersonators. 2010-12-06 16:12:49 -05:00
Casey Klein
9ea976625d Steven's progress on the compiler 2010-12-06 14:44:38 -06:00
Robby Findler
b884623da2 use for/list intead of a (one off) map/i function. 2010-12-06 14:22:10 -06:00
Robby Findler
45a97cb561 off by one error in 2htdp/image error messages
closes PR 11476
2010-12-06 14:22:10 -06:00
Matthew Flatt
fd79abcc1f win32: fix setwindowlongptr binding for 32-bit mode 2010-12-06 12:40:10 -07:00
Jakub Piotr Cłapa
45441054bc Secure websockets and the wss: protocol scheme.
Also changed the code to send the request, headers and Key3 all at once since some servers expect it this way (node.js had problems with this when on SSL).
2010-12-06 19:09:14 +01:00
Eli Barzilay
71e912719d PLT Scheme -> Racket 2010-12-06 10:22:56 -05:00
Matthew Flatt
8cfb7d96e3 avoid stdin for git repo version 2010-12-06 07:01:36 -07:00
Matthew Flatt
43d69fa80e fix duplicate definitions 2010-12-05 13:15:43 -07:00
Matthew Flatt
b328655a01 doc typo 2010-12-05 13:15:42 -07:00
Casey Klein
54e46f78bb Closes PR 11493 2010-12-05 08:55:43 -06:00
Casey Klein
f8c181c66d Closes PR 11475 2010-12-05 08:55:43 -06:00
Robby Findler
71cf40c4b7 drr: avoid making the window jump wider when a new tab is created.
(this one has been bugging me for _far_ too long)
2010-12-04 18:40:47 -06:00
Robby Findler
3a506e5acb check syntax: sort the identifiers (but this time without a bug...)
closes PR 11494
2010-12-04 18:40:47 -06:00
Matthew Flatt
dba0472873 win64: fix JPEG structs 2010-12-04 17:38:48 -07:00
Matthew Flatt
6d1db909c4 win64: fix GetWindowLong to use Ptr variant 2010-12-04 17:38:47 -07:00
Matthew Flatt
fda0228631 fix broken inexact-reader configuration
Closes PR 11496
2010-12-04 16:22:17 -07:00
Matthew Flatt
a56e547db6 win64: racket/draw and racket/gui 2010-12-04 08:29:34 -07:00
Matthew Flatt
d4158cfc9c win64: remove unneeded command-line parsing hack 2010-12-04 05:20:40 -07:00
Matthew Flatt
5065f39dec win64: racket3m 2010-12-03 22:35:38 -07:00
Casey Klein
8affb5b13f Fixes CS renaming of pattern occurrences of metafunction names 2010-12-03 15:47:54 -06:00
Matthew Flatt
116d88577e restore old behavior of _fixint' and _ufixint'
Closes PR 11492
2010-12-03 14:20:38 -07:00
Matthew Flatt
7ec0731cda don't use unsafe-string-ref' in for'
because `unsafe-string-ref' is for ASCII results, only
2010-12-03 11:10:11 -07:00
Matthew Flatt
8b8dd77ad6 change nearly all long's to intptr_t'
and also changed vector, string, and byte string counts to
   `intptr_t' instead of `int'.

   Except for the vector count, etc. change, this is not really a
   change for any currently supported platform, where `intptr_t'
   is the same as `long'. It's a step to suporting Win64, though,
   where `long' is the same as `int' instead of `intptr_t'.
2010-12-03 08:48:33 -07:00
Matthew Flatt
da2e0e9556 don't draw 0-sized rectangles
Closes PR 11466
2010-12-03 08:14:16 -07:00
Noel Welsh
3b234010a0 Merge branch 'master' of pltgit:plt into in-vector 2010-12-03 14:36:48 +00:00
Noel Welsh
f7d5dc1941 Fix typo is documentation 2010-12-03 14:35:40 +00:00
Noel Welsh
899e31e2ce Add tests for extended in-flvector and in-fxvector forms, refactoring common code to for-util.rkt 2010-12-03 14:33:38 +00:00
Robby Findler
65cd861c6f adjust docs building so that it doesn't assume that the getinfo procs are there
closes PR 11484
2010-12-03 06:30:58 -06:00
Robby Findler
f867c024b5 added docs for find-relevant-directory-records 2010-12-03 06:30:58 -06:00
Robby Findler
f8b2a9e0e2 improved the way the contract is written 2010-12-03 06:30:58 -06:00
Robby Findler
bc3bd77e19 move the #lang line to the beginning of the file 2010-12-03 06:30:57 -06:00
Noel Welsh
6e2d67e58a Fix typo 2010-12-03 12:18:04 +00:00
Noel Welsh
319ea7ea00 Change in-fXvector (for flvector and fxvector) to allow start, stop, and end args. Tests segfault in repeatable but apparently unrelated places 2010-12-03 12:15:59 +00:00
Noel Welsh
6761ae8618 Merge branch 'master' of pltgit:plt into in-vector 2010-12-03 10:27:34 +00:00
Noel Welsh
fba4d50289 Merge refactored code back into for.rkt, on Eli's advice 2010-12-03 10:25:01 +00:00
Casey Klein
5f0430a5ab Fixes doc typos 2010-12-02 19:26:24 -06:00
Casey Klein
fbd7bdff54 Adds an indicator that shows when framework prefs are being written.
Performance grinds to a halt when the preference file is too large or
written too often. Hopefully the indicator will help us identify this
phenonmenon.
2010-12-02 15:56:08 -06:00
Casey Klein
5bb45d787f Caps REPL history using string length rather than entry count 2010-12-02 15:54:49 -06:00
Casey Klein
ab82bc04eb Cleans up REPL history preference for (some?) old versions 2010-12-02 15:54:49 -06:00
Casey Klein
fad4771167 Fixes a bug in the cap on REPL history 2010-12-02 15:54:48 -06:00
Casey Klein
6fd3eea815 Disables randomized tests (of the randomized tests).
The runtime is too long and variable to work well in DrDr.
2010-12-02 15:54:47 -06:00
Casey Klein
c3f0052eac Deletes incorrect comment. 2010-12-02 15:54:47 -06:00
Casey Klein
45ba14cafa Updates OS X bitmaps for minor changes in gr2 rendering 2010-12-02 15:54:46 -06:00
Casey Klein
2a8fdd9646 Adjusts typesetting to account for gr2 rendering of filled rectangles 2010-12-02 15:54:46 -06:00
Casey Klein
341bee96e4 Further increases timeout for redex/examples/delim-cont/randomized-tests-test 2010-12-02 15:54:46 -06:00
Matthew Flatt
3479f5fb92 cocoa: hack around NSApplication's handling of command-line arguments 2010-12-02 11:53:18 -07:00
Stevie Strickland
778f0c9fc4 Actually turn on old object-info hack mentioned in 4e451a1. 2010-12-02 13:02:59 -05:00
Robby Findler
60d986b6df added a not-quite-right test case (drracket's test suites don't run well in gr2 yet) 2010-12-02 10:40:43 -06:00
Robby Findler
9501a9d7f8 adjustments to match gr2 2010-12-02 10:40:43 -06:00
Robby Findler
d4857c4420 adjusted check syntax so that it does renaming better.
Specifically, it finds all variables that match the one being
renamed in the fully expanded program, as well as all variables
that have the same source locations of any of those (etc).
2010-12-02 10:40:43 -06:00
Matthew Flatt
b0a746c701 win32: fix font used to size controls 2010-12-02 07:04:38 -07:00
Matthew Flatt
1032eb4a59 restore fix of 470ed7c996 that got lost 2010-12-02 06:31:36 -07:00
Matthew Flatt
74d858ceed gtk: fix GdkAtom type 2010-12-02 06:20:07 -07:00
Matthew Flatt
7a37b07e26 gtk: fix clipboard problems on 64-bit mode; provide more text formats 2010-12-02 06:17:40 -07:00
Matthew Flatt
eca4f5b6b1 fix `screen-glyph-exists?' in font% 2010-12-02 06:17:40 -07:00
Eli Barzilay
39806412ce Indent manifest files. 2010-12-02 07:31:00 -05:00
Matthew Flatt
82ab45b11d gtk: fix clipboard; implement ye olde X selection 2010-12-01 20:48:23 -07:00
Matthew Flatt
42dc83bbcd fix docs for `get-panel-background' 2010-12-01 15:57:54 -07:00
Matthew Flatt
ec122a785a use dots for 'password style text-field% 2010-12-01 15:48:55 -07:00
Matthew Flatt
93126d1546 dc, pen, and brush doc corrections related to v5.1 changes 2010-12-01 15:48:55 -07:00
Matthew Flatt
dedb207a86 fix draw-bitmap result to match docs 2010-12-01 15:48:55 -07:00
Matthew Flatt
ed8aa132de improve editor highlighting of selected image-snip% 2010-12-01 15:48:54 -07:00
Matthew Flatt
e9710d08f5 fix autowrap bitmap drawing so it isn't covered up by a selection 2010-12-01 15:48:54 -07:00
Stevie Strickland
4e451a1b79 Add back in old object-info hack. 2010-12-01 15:11:26 -05:00
Stevie Strickland
30afcd3bf5 Fix object=?.
Also commented out some tests of reflective operations on contracted objects.
I've added a note that describes how we might be able to fix this, if
we decide it's worth doing.
2010-12-01 15:11:25 -05:00
Stevie Strickland
500c2f6084 Fix comments and make field-info-* functions only deal with field-infos. 2010-12-01 15:11:25 -05:00
Stevie Strickland
96db670d8c Clean up first-order checking in object/c and object-contract.
Use let/ec only when needed (i.e. when raise-blame-error is not used).
Also remove some of the old checking functions from mzlib's object-contract
code that are no longer needed now that we have unified the first-order
checking.
2010-12-01 15:11:25 -05:00
Stevie Strickland
5f7099c9bd Fix mutation of shared vectors by copying on write. 2010-12-01 15:11:25 -05:00
Stevie Strickland
db66e3e95d Now trying it with struct-field-accessors/mutators. 2010-12-01 15:11:24 -05:00
Stevie Strickland
f54f04edee Try the old way, but with unsafe-struct-ref/set! 2010-12-01 15:11:23 -05:00
Stevie Strickland
c2539c0bb4 Switch from using arbitrary compose to inlined unary composition. 2010-12-01 15:11:23 -05:00
Stevie Strickland
2d655b6fe1 Combine all field information back into one hash table.
Each entry in the field info hashtable contains the following:
 - The absolute position of the field in object structs
 - The internal and external ref and set! projections

Appropriate operations for extending the internal and external
projections and extracting appropriate ref and set! functions are
provided.
2010-12-01 15:11:23 -05:00
Stevie Strickland
1b1d4d9336 Use a unary identity function instead of values for better performance. 2010-12-01 15:11:21 -05:00
Stevie Strickland
68273cc31d Change field reference/mutation to use unsafe ops instead. 2010-12-01 15:11:21 -05:00
Stevie Strickland
2bd7760412 Conversion of object/c and object-contract to use impersonators. 2010-12-01 15:11:20 -05:00
Stevie Strickland
a1095d2fc1 Remove unnecessary argument from make-field-map. 2010-12-01 15:11:20 -05:00
Robby Findler
de0103129b avoid saving the preferences on each keystroke in the find/replace dialog 2010-12-01 14:09:33 -06:00
Noel Welsh
bd9368d889 Refactor code for defining sequences on vector like data types. Expose useful building blocks for constructing user defined sequences on vector like types (e.g. flvector, f64vector, etc.) 2010-12-01 15:33:43 +00:00
Matthew Flatt
082515d6db fix namespace-anchor on non-module namespaces 2010-12-01 06:52:11 -07:00
Matthew Flatt
e627ccb5ed cocoa: avoid infinite loop on re-dispatch of command keys 2010-11-30 20:17:47 -07:00
Matthew Flatt
72d57d8db8 cocoa: explicitly re-dispatch Cmd- key combinations 2010-11-30 15:39:02 -07:00
Matthew Flatt
ca8b32725e fix bloking operations during a try-atomic
and remove old delim-cont support used by gr1
2010-11-30 15:08:16 -07:00
Matthew Flatt
7efcf80856 typo 2010-11-30 15:08:16 -07:00
Robby Findler
6c25210a6b refactored check syntax in preparation to fix the problem with binding identifiers being duplicated by macros 2010-11-30 15:47:40 -06:00
Kevin Tew
b212fc9485 Parallel build match fix 2010-11-30 09:49:34 -07:00
Matthew Flatt
8f9a8daa27 fix {get,set}-event-type on mouse-event%
Closes PR 11474
2010-11-30 09:32:59 -07:00
Matthew Flatt
9f9e23f551 don't GC an eventspace with a visible frame, etc. 2010-11-30 09:32:59 -07:00
Matthew Flatt
c81ad90161 fix eventspace as event 2010-11-30 09:32:59 -07:00
Matthew Flatt
64979a5480 further refinments to the ephemeron description 2010-11-30 09:32:58 -07:00
Matthew Flatt
37d16cf8f8 cocoa: fix race condition on window enabling 2010-11-30 09:32:58 -07:00
Robby Findler
2125535e06 change the behavior for closing the preferences window.
closes PR 11473
2010-11-30 09:57:19 -06:00
Eli Barzilay
8903d1b5c9 Patch Racket manifest file too. 2010-11-30 05:15:12 -05:00
Robby Findler
f11e53c68c gr2 cleanup 2010-11-29 13:49:48 -06:00
Robby Findler
2a7ccc552a clean up test suite ala gr2 2010-11-29 13:49:47 -06:00
Kevin Tew
e1eb3cbfba Handle SEGFAULT return 2010-11-29 09:41:33 -07:00
Matthias Felleisen
6df50ffe83 final world display, Closes PR11471 2010-11-29 10:59:08 -05:00
Jon Rafkind
cf3b9680ba remove 0 arg set-union. add workaround to docs 2010-11-29 00:34:57 -07:00
Jon Rafkind
46244f81fc make set-union with 0 args return an empty set 2010-11-28 23:08:28 -07:00
Robby Findler
eabbb7dff2 improve the leak test a little by looking to see tabs get gc'd and so do the user's namespaces. 2010-11-28 19:26:38 -06:00
Robby Findler
62f3d7e254 tried to clarify the ephemeron docs by setting the stage for the precise definition that was already there a little bit. 2010-11-28 16:06:09 -06:00
Robby Findler
c123a8cc5d fixed a bug that caused a leak that held onto drracket frames.
The bug was that the planet log message registration was happening
on drracket's thread instead of on the user's thread, so it was
using the wrong keys in the ephemerons.
2010-11-28 16:06:09 -06:00
Robby Findler
d879f75152 adjusted the registration mechanism for planet-terse-register to be clearer and simpler 2010-11-28 16:06:08 -06:00
Matthew Flatt
2282cae59a cocoa: fix removal of menu shortcut
Closes PR 11463
2010-11-28 10:44:01 -07:00
Matthew Flatt
d37cc7b3ec cocoa: fix problem with tab panel 2010-11-28 10:41:59 -07:00
Matthew Flatt
36669b821a re-fix Scribble Latex image support 2010-11-28 08:01:07 -07:00
Matthew Flatt
f090e732fd cocoa: fix relabel of image checkbox 2010-11-28 08:01:07 -07:00
Matthew Flatt
262531e231 cocoa: fix enable & disable of windows 2010-11-28 08:01:06 -07:00
Matthew Flatt
cc82d37285 Scribble Latex image support (missed an earlier commit) 2010-11-28 08:01:06 -07:00
Matthew Flatt
f88735ef20 fix typo 2010-11-28 08:01:06 -07:00
Casey Klein
805a4a66c9 Increases timeout for redex/examples/delim-cont/randomized-tests-test.rkt 2010-11-28 06:43:10 -06:00
Casey Klein
de775e6dc1 Fixes bug in typesetting tests 2010-11-28 06:43:10 -06:00
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
Matthew Flatt
a8b318da7a fix ffi issue with pointer vs. gcpointer
- don't put a non-gcpointer into a pointer array during ffi call setup
 - fix GCness of pointers to structs inside of structs
2010-11-14 15:54:17 -07:00
Matthew Flatt
279315b582 cocoa: fix ffi-use bug 2010-11-14 15:54:17 -07:00
Robby Findler
616647cb17 drr: remove bad keybindings for next-tab and prev-tag 2010-11-14 06:48:57 -06:00
Eli Barzilay
85c2a333a5 fix path to get-libs.rkt 2010-11-13 13:18:23 -05:00
Matthew Flatt
d2fe39da33 win32: canvas refresh repair 2010-11-13 09:54:47 -07:00
Eli Barzilay
885fa11bfe Change the library download procedure.
Instead of downloading to the build directory and then copy files from
there to the target, download directly to the target.  This way no
downloading is necessary when people use a fresh build directory.
2010-11-13 01:27:15 -05:00
Matthew Flatt
c3e0a7af13 manual tests for refresh behavior 2010-11-12 20:47:07 -07:00
Matthew Flatt
1c6f745ac1 adjust canvas refresh strategy yet again
- there seems to be no need to auto-resume flushes on a canvas,
   which can create flicker if the auto-resume timeout turns out
   to be too short
2010-11-12 20:39:58 -07:00
Matthew Flatt
75bc9bd718 use low-priority callback for gears increment so events are handled 2010-11-12 20:36:54 -07:00
Matthew Flatt
a07f2266c0 fix gl-config% depth default 2010-11-12 20:18:22 -07:00
Matthew Flatt
c1ce863a70 experiment with explicit flush in 2htdp/world 2010-11-12 20:18:03 -07:00
Matthew Flatt
42a4465fb0 fix bytecode compiler bugs in tracking known-flonum arguments 2010-11-12 15:28:57 -07:00
Matthew Flatt
0ac5ff9be0 fix doc typo 2010-11-12 15:28:57 -07:00
Eli Barzilay
5c1bd77b9e Add shuffle' to racket/list'. 2010-11-12 17:21:11 -05:00
Eli Barzilay
c1e1c70dcf Allow optional arguments with default in `cmdline', updated docs. 2010-11-12 17:21:11 -05:00
Eli Barzilay
4f36ce9635 Redo `define-cstruct' with proper errors and more concisely. 2010-11-12 17:21:11 -05:00
Jay McCarthy
578fadb3a9 Horrible Xvnc trick 2010-11-12 15:03:39 -07:00
Noel Welsh
2b799e2714 Merge branch 'master' of pltgit:plt 2010-11-12 10:30:08 +00:00
Ryan Culpepper
7dcd0d408c macro-stepper: map "s" and "h" keys to show and hide selected identifier 2010-11-11 19:10:26 -07:00
Ryan Culpepper
a2c4574688 syntax-parse: improved error for non-syntax attribute in syntax template 2010-11-11 16:14:37 -07:00
Ryan Culpepper
eeb7facdd6 macro-stepper: added module versions of trace, expand/step 2010-11-11 16:14:37 -07:00
Jay McCarthy
dc11fe216d Use grackt always for focus 2010-11-11 15:59:50 -07:00
Jay McCarthy
da60adaec0 Cleanup, putting tests first, Xvnc auth 2010-11-11 15:59:50 -07:00
Jay McCarthy
aabd1652c1 Maybe fixing graph order 2010-11-11 15:59:50 -07:00
Jay McCarthy
a289a9e2f9 Updating info 2010-11-11 15:59:50 -07:00
Jay McCarthy
ff65a2ec17 Fixing a few stupid problems 2010-11-11 15:59:50 -07:00
Jay McCarthy
78ccf5393c Using gracket 2010-11-11 15:59:50 -07:00
Jay McCarthy
765d30f121 Switching to Racket 2010-11-11 15:59:50 -07:00
Jay McCarthy
7a2005811e Renaming files 2010-11-11 15:59:49 -07:00
Jay McCarthy
4a4d929ca8 Racket rename 2010-11-11 15:59:49 -07:00
Jay McCarthy
3a977ada60 Trying Xvnc 2010-11-11 15:59:48 -07:00
Jay McCarthy
16e4d17975 Switching to Xorg 2010-11-11 15:59:48 -07:00
Jon Rafkind
86d7fd5d0c microseconds not nano 2010-11-11 15:46:45 -07:00
Matthew Flatt
0a8e5e604e restore gen-id gensym so that decompiler works 2010-11-11 14:39:45 -07:00
Jon Rafkind
c17cf8db71 note about milliseconds and nanoseconds 2010-11-11 15:28:04 -07:00
Robby Findler
5a9c469b0f added forall to go along with exists contracts 2010-11-11 14:39:43 -06:00
Jon Rafkind
bcef0dbfe2 increase delay value before refresh to 100 2010-11-11 13:29:01 -07:00
Jon Rafkind
de16fb118e improve define-cstruct error messages. closes pr11422 2010-11-11 13:27:49 -07:00
Eli Barzilay
735c4deac7 Throw a proper syntax error on uses of the ffi `->'.
Closes PR 11421
2010-11-11 13:39:49 -05:00
Eli Barzilay
32de59e0c1 Shuffle the texts around, so the front page looks decent in text
browsers.
2010-11-11 13:39:21 -05:00
Eli Barzilay
8e1b773df7 Crop the unused space on the download button image, which makes placing
it much easier.  Use this to move the button before the "Start Quickly"
header, making it show better in non-CSS text browsers.

Also, set a fixed height for the `slideshowframe' class, so the text
below it doesn't jump; rename `alts-panel' to `slideshow-panel';
and use `struct'; and more improvements.
2010-11-11 11:18:35 -05:00
Eli Barzilay
686ec837e9 Avoid useless output 2010-11-11 00:19:17 -05:00
Eli Barzilay
e3592e10a8 Remove all mentions of UnicoWS.
Also, get rid of "uniplt.c", and fix "src/racket/src/string.c" and
"src/gracket/grmain.c" to use CharLowerBuffW().
2010-11-10 23:48:35 -05:00
Eli Barzilay
d58395cd0b Provide library lists out of "get-libs.rkt" and make it possible to require it
without doing anything, use this in the distribution specs to include them.
2010-11-10 23:44:36 -05:00
Eli Barzilay
6a997be578 Make get-libs retreive core racket libraries too.
Also move it up a level, since it's a more generic tool now.
2010-11-10 20:40:49 -05:00
Eli Barzilay
614f100e8f Move "src/worksp/extradlls" to libs. 2010-11-10 20:40:48 -05:00
Eli Barzilay
689f2ac5c8 Switch from "subcommand" to the more convenient bash "$(subcommand)". 2010-11-10 20:40:48 -05:00
Eli Barzilay
82bec21251 Allow another command-line argument after `ask' to have answers for the
questions.
2010-11-10 20:40:47 -05:00
Eli Barzilay
b5e82efe27 Make the front page a little friendlier to browsers that have no CSS
support and no JS.
2010-11-10 20:40:47 -05:00
Eli Barzilay
f2af8fa380 Fix error messages.
1. Before:

     (define-syntax-rule (foo x) = (+ x 1))
     define-syntax-rule: too many templates at: ((+ x 1)) in: (define-syntax-rule (foo x) = (+ x 1))

   after:

     define-syntax-rule: too many forms at: (+ x 1) in: (define-syntax-rule (foo x) = (+ x 1))

2. Before:

     (define-syntax-rule (foo x) (+ x 1))
     (foo "bar" "baz")
     foo: `(bar baz)' did not match pattern `(x)' in: (foo "bar" "baz")

   after:

     foo: (foo "bar" "baz") did not match pattern (foo x) in: (foo "bar" "baz")
2010-11-10 20:40:47 -05:00
Matthew Flatt
d7369f819c cocoa: set button control size when font is small
Closes PR 11404
2010-11-10 17:54:07 -07:00
Matthew Flatt
b6b3298567 cocoa: avoid 10.6-specific method for menu popup 2010-11-10 17:54:07 -07:00
Kevin Tew
6efc3c5550 [parallel-build] print errors immediately as well as at the end of the build 2010-11-10 13:12:23 -07:00
Kevin Tew
14b14ebabc Get info from drdr about build crash 2010-11-10 13:12:23 -07:00
Kevin Tew
3ec54a61c2 shorten some lines 2010-11-10 13:12:23 -07:00
Mike Sperber
c7700dbe06 Fix signatures for gcd' and lcd' in DMdA. 2010-11-10 18:59:40 +01:00
Mike Sperber
c6334b549f "list" -> "list-of" in DMdA docs. 2010-11-10 18:58:37 +01:00
Matthew Flatt
27752c4695 plot bug fixes, including new images and a more forgiving image-equality test 2010-11-10 09:18:50 -07:00
Matthew Flatt
8d1827222c improve docs in 'interior allocation mode and improve 'interior-atomic 2010-11-10 09:18:31 -07:00
Mike Sperber
69b858a7f5 Unbreak printing in DMdA.
Fix the the name by which the HtDP and DMdA languages refer to the
signatures module, making sure everybody sees the same properties.
2010-11-10 07:32:52 +01:00
Vincent St-Amour
c7d67f9bab *SL: first and rest should not report errors in terms of car and cdr. 2010-11-09 21:16:17 -05:00
Eli Barzilay
6675287f68 Use `fakeroot' to avoid chown mess. 2010-11-09 20:13:08 -05:00
Eli Barzilay
b712354f35 Better solution than previous hack test-drracket.rkt 2010-11-09 20:13:08 -05:00
Eli Barzilay
6b8b0b16b9 Fix for matrix snips 2010-11-09 20:13:07 -05:00
Eli Barzilay
8e0c7477f6 drop "www." from "racket-lang.org" urls. 2010-11-09 20:11:14 -05:00
Jon Rafkind
19da99f7e8 use #f to propagate correct identifier 2010-11-09 18:05:59 -07:00
Jon Rafkind
81eac261dc better error message for define-syntax-rule 2010-11-09 17:24:05 -07:00
Ryan Culpepper
3936a40717 macro-stepper: track phase of binders, definites 2010-11-09 17:02:35 -07:00
Ryan Culpepper
261d67a6e7 macro-stepper: pretty-print define-for-syntax etc 2010-11-09 17:02:35 -07:00
Ryan Culpepper
2620e750f3 macro-stepper: specialized data structure for definites 2010-11-09 17:02:35 -07:00
Matthew Flatt
168a2c1591 use #x3FFFFFF instead of #x3FFFFFFF for max size of an unbounded frame
because sawfish is unhappy with #x3FFFFFFF
2010-11-09 16:59:01 -07:00
Matthew Flatt
a0a414465d fix problem with multiple captures of the same continuation
--- a bug introduced when enabling full continuations
     to escape past continuation barriers in v5.0.1
 Closes PR 11409
2010-11-09 16:48:23 -07:00
Matthew Flatt
7ff8ce61db explicitly discard patseboard mouse events when not handled in universe 2010-11-09 16:48:23 -07:00
Casey Klein
dd9ab8f2a4 Revert "Displays the panes in descending order (to match graph's time axis)"
This reverts commit 0d1578cbb1.
2010-11-09 14:57:36 -06:00
Casey Klein
0d1578cbb1 Displays the panes in descending order (to match graph's time axis) 2010-11-09 14:49:04 -06:00
Ryan Culpepper
02f301b3b7 macro-stepper: reorganize code to make draw-arrows?=#f more useful 2010-11-09 11:40:32 -07:00
Ryan Culpepper
199450dd0c macro-stepper: faster step rendering
- lazily build on-click mapping
  - more precise un-styling on refresh
2010-11-09 10:03:45 -07:00
Ryan Culpepper
75079ec421 macro-stepper: gui improvements
- give "?" of ?-arrows a white background
  - improved clickback replacement
  - fixed tack/untack
2010-11-09 10:03:45 -07:00
Ryan Culpepper
a506d75b54 macro-stepper: replace clickbacks for syntax selection
fixed interval-map bug
2010-11-09 10:03:45 -07:00
Ryan Culpepper
82d6deebad macro-stepper: fixed deadlock (recursive yield) 2010-11-09 10:03:44 -07:00
Ryan Culpepper
1fe73ffaef macro-stepper: fix race condition in frame init / events 2010-11-09 10:03:44 -07:00
Casey Klein
ae164d281b Adds optional `::=' keyword to language definition forms 2010-11-09 10:14:50 -06:00
Robby Findler
e9c90dc580 add .scrbl to liked extensions in drracket 2010-11-09 09:04:14 -06:00
Matthew Flatt
c9b7c98525 cocoa: use alternate key if ctl-combination has no mapping
--- fixes ctl-space, and maybe other combinations
 Closes PR 11403
2010-11-09 06:55:37 -07:00
Matthew Flatt
58b7922033 use Racket file I/O for post-script-dc% 2010-11-09 06:55:37 -07:00
Jay McCarthy
05f43324a9 Attempting to fix DrDr re gr2 2010-11-08 20:22:03 -07:00
Jon Rafkind
d920cdc945 set pen to black so the line separator is drawn in the right color 2010-11-08 18:10:08 -07:00
Matthew Flatt
0a179481a5 fix continuation capture in continuation transferred to a thread
where the prompt is the implicit one at the thread's creation
 Closes PR 11382
2010-11-08 18:06:07 -07:00
Matthew Flatt
7940f14896 fix `draw-arc'
Closes PR 11399
 (Thanks Stephen!)
2010-11-08 14:32:30 -07:00
Matthew Flatt
90ac279096 add 'can-impersonate option to `make-struct-type-property' 2010-11-08 14:00:59 -07:00
Stevie Strickland
0237050ae0 Improve ->* expansion in certain cases.
In some expansions, the function used to check the results could appear
multiple times in the expansion.  Factor out the results checker so that
we expand into multiple references to the same name, instead of inlining
the same lambda multiple times.
2010-11-08 15:36:53 -05:00
Jay McCarthy
aaf7e32a11 Easier graph maker 2010-11-08 09:18:54 -07:00
Eli Barzilay
da31296bf9 Add plot sources and resulting libraries to distribution specs. 2010-11-08 09:48:00 -05:00
Eli Barzilay
f5f1243b33 Move "fuzz.rkt" test to "tests/racket/stress". 2010-11-08 09:48:00 -05:00
Eli Barzilay
f29e4c860b Remove erroneous files 2010-11-08 09:48:00 -05:00
Matthew Flatt
83bcdbbd81 cocoa: fix save-file dialog when other extensions should be allowed 2010-11-08 07:12:03 -07:00
Matthew Flatt
3747978c1e cocoa: fix ctl-\ key event 2010-11-08 07:03:51 -07:00
Matthew Flatt
7f67b6569c v5.0.99.2: proxy' -> impersonator' 2010-11-08 06:23:16 -07:00
Matthew Flatt
bc2c95f564 fix cm test that used gl-info_rkt.zo (which is now gone) 2010-11-07 19:21:03 -07:00
Matthew Flatt
3b470fe47b small doc improvements on internal definitions 2010-11-07 19:21:03 -07:00
Eli Barzilay
bc4f4e7a45 Fix the simple drracket test 2010-11-07 19:35:53 -05:00
Eli Barzilay
d8945c0bd1 go to PLTHOME before getting the libraries 2010-11-07 18:39:03 -05:00
Eli Barzilay
9a1f19dba7 typo 2010-11-07 18:23:16 -05:00
Eli Barzilay
bb31599718 Download libraries in w32 build code 2010-11-07 17:54:20 -05:00
Robby Findler
38b9b25ae0 redex: added indication of caching for metafunction tracing 2010-11-07 15:31:18 -06:00
Robby Findler
c192a1e1f8 fixed bugs in the racket/trace docs (added docs for two exported parameters and fixed a contract) 2010-11-07 15:31:18 -06:00
Robby Findler
a63bbf82ab added current-trace-results 2010-11-07 15:31:18 -06:00
Jon Rafkind
96018f258c check last-line + 1 2010-11-07 12:19:49 -07:00
Jon Rafkind
74fce96d92 add dx offset when drawing 2010-11-07 12:06:34 -07:00
Matthew Flatt
23908c2372 gtk: initialize canvas backing to white 2010-11-07 07:16:12 -07:00
Matthew Flatt
fe208c63bd add some missing bitmap% and dc<%> docs 2010-11-07 07:14:59 -07:00
Matthew Flatt
e402d68efc fix `find-graphical-system-path' 2010-11-07 07:08:33 -07:00
Matthew Flatt
ba2ea79f12 fix and document failure handling of image reading in bitmap% 2010-11-07 06:50:52 -07:00
Eli Barzilay
c195e2b201 v5.0.2 stuff 2010-11-07 00:46:22 -04:00
Matthew Flatt
cccfdbe2c4 misc clean-up related to build changes 2010-11-06 22:08:15 -06:00
Matthew Flatt
53febbeb6c cocoa: fix a double vs. float mismatch in getting scroll positions 2010-11-06 21:22:52 -06:00
Matthew Flatt
9b7e09f4b4 fix bitmap-dc% constructor 2010-11-06 21:16:50 -06:00
Eli Barzilay
d0e7f2c471 Change the linux platform names.
For example, instead of "Linux - Fedora 7 (x86_64)", use "Linux x86_64
(Fedora 7)".  Hopefully, this will make it clearer that it's often fine
to use some linux installer on a different platform than the one it was
made on.  (For example, some people wanted an AMD64 build for Ubuntu,
and eventually it turned out that the x86_64 build on Fedora worked
fine.)

This is even more relevant now since the C part is much less platform
dependent in the linux distro sense.
2010-11-06 21:51:45 -04:00
Matthew Flatt
514706446e overhaul plot organization
by moving needed C source to src/plot and building during `make',
 but stripping out the copies of gd, png, and zlib; instead, hook
 a dc<%>-based back end into plot
2010-11-06 16:54:29 -06:00
Matthew Flatt
557b799939 abandon gl-info inference of GL types via C compilation
because it depends on locating GL headers at configure
 time, and it creates platform-specific code in the collects
 tree; the platforms that we support all have the obvious
 mappings for the GL types
2010-11-06 16:54:28 -06:00
Matthias Felleisen
0f856dede5 sync bug eliminated 2010-11-06 10:19:24 -04:00
Matthias Felleisen
28fc8a3eef fixed the documentation of contracts-first-extended, added code examples 2010-11-06 10:19:24 -04:00
Matthias Felleisen
c83cf15695 fixed some typos, and in the process rewrote some prose 2010-11-06 10:19:24 -04:00
Matthew Flatt
20b8b8c5ab dist-spec repairs 2010-11-05 22:21:26 -06:00
Matthew Flatt
58d0b14822 remove obsolete afm collection 2010-11-05 22:04:52 -06:00
Matthew Flatt
694745e998 first cut at splitting draw and gui docs 2010-11-05 21:57:13 -06:00
Matthew Flatt
59bf78b6c8 avoid xor for pasteboard rubberband hiliting 2010-11-05 20:26:24 -06:00
Matthew Flatt
601b411671 fix release-note link and version 2010-11-05 15:54:57 -06:00
Matthew Flatt
1db27b474f fix merge mistake 2010-11-05 15:54:56 -06:00
Matthew Flatt
263000a7b8 v5.0.99.1 2010-11-05 15:54:56 -06:00
Matthew Flatt
f935266257 win32: fix combo% on-popup 2010-11-05 15:54:56 -06:00
Matthew Flatt
39596efef5 cocoa and gtk: fix combo% `on-popup' method 2010-11-05 15:54:56 -06:00
Matthew Flatt
c6710b8938 text drawing not aligned in any smoothing mode 2010-11-05 15:54:55 -06:00
Matthew Flatt
9a408302c1 dc fixes: default brush is white; combined text uses baseline drawing mode 2010-11-05 15:54:55 -06:00
Matthew Flatt
9f42fa0e6f win32: fix flush duplocate def 2010-11-05 15:54:55 -06:00
Matthew Flatt
b9f3957a76 gtk and cocoa: add flush method to canvas% and fix periodic flush 2010-11-05 15:54:55 -06:00
Matthew Flatt
64d9a391cf win32: fix flush and periodic canvas flush 2010-11-05 15:54:55 -06:00
Matthew Flatt
4d316f7851 win32: periodic canvas flushing 2010-11-05 15:54:55 -06:00
Matthew Flatt
72a19d2ab3 gtk: periodic canvas flushing 2010-11-05 15:54:54 -06:00
Matthew Flatt
9fbb7d3a99 win32: fix some test failures 2010-11-05 15:54:54 -06:00
Matthew Flatt
e033d9edf1 cocoa & gtk: fix some test failures 2010-11-05 15:54:54 -06:00
Matthew Flatt
f829424783 win32: further deallocation fixes, plus some test fixes 2010-11-05 15:54:54 -06:00
Matthew Flatt
ad9315ba6b win32: further deallocation fixes, plus some test fixes 2010-11-05 15:54:54 -06:00
Matthew Flatt
daf7f6dd17 win32: change HWND allocation and deallocation 2010-11-05 15:54:54 -06:00
Matthew Flatt
3bcfd5cf7f fix pango lib access 2010-11-05 15:54:54 -06:00
Matthew Flatt
da6397e006 cocoa: hack around a problem with application hiding 2010-11-05 15:54:54 -06:00
Matthew Flatt
fcf7198e7c fix get-argb-pixels on monochrome bitmap's non-alpha 2010-11-05 15:54:53 -06:00
Matthew Flatt
a0ad1ebec0 revent region alignment until Gtk problem sorted out 2010-11-05 15:54:53 -06:00
Matthew Flatt
aa958f8986 slideshow: consistent rounding for clickbacks 2010-11-05 15:54:53 -06:00
Matthew Flatt
f74c0de6ad use alignment when installing regions 2010-11-05 15:54:53 -06:00
Matthew Flatt
50caefcb38 cocoa: convince dock to not resurrect a closed frame 2010-11-05 15:54:53 -06:00
Matthew Flatt
4e8f51741e use readonly version of Pango function 2010-11-05 15:54:53 -06:00
Matthew Flatt
03aee62647 fix drunken text
by always using Pango and Cairo commands that depend on the baseline
 of text, instead of sometimes using top and sometimes using baseline
2010-11-05 15:54:52 -06:00
Matthew Flatt
af6cad4913 destroy windows via finalization outside of the event loop 2010-11-05 15:54:52 -06:00
Matthew Flatt
9eabda614c no need for libgio reference 2010-11-05 15:54:52 -06:00
Matthew Flatt
6065f8cf12 avoid functions not available in Debian Stable 2010-11-05 15:54:52 -06:00
Matthew Flatt
6fa9ee22a7 remove debugging printf 2010-11-05 15:54:51 -06:00
Matthew Flatt
58e1e37734 fix bug in ffi struct alignment 2010-11-05 15:54:51 -06:00
Matthew Flatt
0b96d7b326 link porting notes from release-notes doc page 2010-11-05 15:54:51 -06:00
Matthew Flatt
4891b87ea1 cocoa: another screen-change workaround 2010-11-05 15:54:50 -06:00
Matthew Flatt
05cfffdf9e v5.4.99.1, executable-yield-handler', and make-bitmap' etc. 2010-11-05 15:54:50 -06:00
Matthew Flatt
d7f1d12ea1 clean up 2010-11-05 15:54:49 -06:00
Matthew Flatt
4f55d22705 fix mistake cocoa screen notification 2010-11-05 15:54:49 -06:00
Matthew Flatt
ffebbfdbe0 ask png library for its version 2010-11-05 15:54:49 -06:00
Matthew Flatt
3abecbc95d gtk: enable "really overwrite?" dialog for `put-file' 2010-11-05 15:54:49 -06:00
Matthew Flatt
47c032ff34 work around cocoa display-change issue 2010-11-05 15:54:48 -06:00
Matthew Flatt
bffff78aad misc fixes, especially cocoa 2010-11-05 15:54:48 -06:00
Matthew Flatt
99266dcdcf cocoa: fix menu set-label 2010-11-05 15:54:48 -06:00
Matthew Flatt
a0e5a62873 fix gif extension-block and transparency reading 2010-11-05 15:54:48 -06:00
Matthew Flatt
2c77565721 gtk: swap alt and meta reporting 2010-11-05 15:54:48 -06:00
Matthew Flatt
4f2e59e7a6 some fixes prompted by the test suite 2010-11-05 15:54:48 -06:00
Matthew Flatt
20ab31743d fix yet another mistake in atomic-mode implementation 2010-11-05 15:54:47 -06:00
Matthew Flatt
d2275f4179 level-2 finalization from ffi/unsafe and late-weak references 2010-11-05 15:54:47 -06:00
Matthew Flatt
40a65a46d2 overhaul GC finalization 2010-11-05 15:54:47 -06:00
Matthew Flatt
73dd8cc697 fix gc handling of ephemeron chains 2010-11-05 15:54:47 -06:00
Matthew Flatt
dee93e6259 define-runtime-module-path-index and racket/gui/dynamic fixes 2010-11-05 15:54:46 -06:00
Matthew Flatt
a7426c1c27 cocoa: fix startup -psn_ and file handling 2010-11-05 15:54:46 -06:00
Matthew Flatt
3294d3427a fix nested atomic escape 2010-11-05 15:54:46 -06:00
Matthew Flatt
f57961fba4 cocoa ppc repairs 2010-11-05 15:54:46 -06:00
Matthew Flatt
fcb0583724 fix racket/gui/dynamic 2010-11-05 15:54:46 -06:00
Matthew Flatt
6a897ba36c cocoa & win32: Courier New as 'modern font 2010-11-05 15:54:45 -06:00
Matthew Flatt
2cebc60eca ppc cocoa 2010-11-05 15:54:45 -06:00
Matthew Flatt
391cbe1315 more pre-2.0 objc fixes 2010-11-05 15:54:45 -06:00
Matthew Flatt
8c5db384d4 more obj-c pre-2.0 fixes 2010-11-05 15:54:45 -06:00
Matthew Flatt
789563f82b support pre-2.0 Objective-C 2010-11-05 15:54:45 -06:00
Matthew Flatt
60897722c4 win32: fixes for create executable 2010-11-05 15:54:45 -06:00
Matthew Flatt
75a6bfe119 improve runtime-path support for building stand-alone gui exes 2010-11-05 15:54:44 -06:00
Matthew Flatt
bcbe42f4ff improve protection against multiple instantiation 2010-11-05 15:54:44 -06:00
Matthew Flatt
881c182956 editor insert-image uses alpha by default 2010-11-05 15:54:44 -06:00
Matthew Flatt
df2626ad44 adjust libpng and linjpeg references for FreeBSD 2010-11-05 15:54:44 -06:00
Matthew Flatt
003ba8439a win32: paste bitmap 2010-11-05 15:54:44 -06:00
Matthew Flatt
df94c04823 win32: control font 2010-11-05 15:54:44 -06:00
Matthew Flatt
ad9209f1e9 gtk: image paste 2010-11-05 15:54:44 -06:00
Matthew Flatt
56f311d204 cocoa: bitmap from clipboard 2010-11-05 15:54:43 -06:00
Matthew Flatt
be5920618d cocoa: avoid 10.6-only clipboard method 2010-11-05 15:54:43 -06:00
Matthew Flatt
ca64c25cf9 cocoa: control fonts 2010-11-05 15:54:43 -06:00
Matthew Flatt
42dc870c10 gtk: use system preference for font 2010-11-05 15:54:43 -06:00
Matthew Flatt
93d59f4cf5 gtk: configurable control font 2010-11-05 15:54:43 -06:00
Matthew Flatt
674d2e5248 fix save-file and get-argb-pixels for screen bitmaps 2010-11-05 15:54:43 -06:00
Matthew Flatt
177c972a52 fix some region% reporting 2010-11-05 15:54:43 -06:00
Matthew Flatt
c4ab7733c1 gtk: on-activate and single-instance fixes 2010-11-05 15:54:42 -06:00
Matthew Flatt
3ae3d15d93 win32: iconize and refresh problems 2010-11-05 15:54:42 -06:00
Matthew Flatt
970f40c796 fix region handling by printer-dc% 2010-11-05 15:54:42 -06:00
Matthew Flatt
0521f20f26 avoid 10.6-only print-scaling methods 2010-11-05 15:54:42 -06:00
Matthew Flatt
4360a45fa6 win32: single-instance support 2010-11-05 15:54:42 -06:00
Matthew Flatt
045da06ace gtk: command line and single-instance support 2010-11-05 15:54:42 -06:00
Matthew Flatt
cd1fb5bea9 change DrRacket to aviod rebuilding some menus unnecessarily 2010-11-05 15:54:42 -06:00
Matthew Flatt
cafc6d697e avoid redundant on-subwindow-X calls due to panels in a frame 2010-11-05 15:54:41 -06:00
Matthew Flatt
3f28042517 gtk: fix memory management for menus 2010-11-05 15:54:41 -06:00
Matthew Flatt
cdecd36359 cocoa: avoid 10.6-specific NSImage method 2010-11-05 15:54:41 -06:00
Matthew Flatt
16b34c236a gtk: misc fixes 2010-11-05 15:54:41 -06:00
Matthew Flatt
27f18efa88 gtk: make gl support optional and also clean up some unneeded unimplementeds 2010-11-05 15:54:41 -06:00
Matthew Flatt
c57c84721f gtk menu-bar fixes 2010-11-05 15:54:40 -06:00
Matthew Flatt
4d8497b985 minor clean-up 2010-11-05 15:54:40 -06:00
Matthew Flatt
9b19337c97 win32 memory-management repair 2010-11-05 15:54:40 -06:00
Matthew Flatt
090437c4d9 win32 repairs 2010-11-05 15:54:40 -06:00
Matthew Flatt
f4e74a8f43 win32: key and menu fixes, drop-files, location->window 2010-11-05 15:54:40 -06:00
Matthew Flatt
3d73a0bd78 win32: play-sound 2010-11-05 15:54:40 -06:00
Matthew Flatt
46ae5ff086 font-dialog clean up and cocoa: play-sound 2010-11-05 15:54:39 -06:00
Matthew Flatt
6b5c7e88a0 win32: color dialog 2010-11-05 15:54:39 -06:00
Matthew Flatt
18c99e52a5 cocoa & gtk: color dialog 2010-11-05 15:54:39 -06:00
Matthew Flatt
c996185ea5 win32: printer-dc% 2010-11-05 15:54:39 -06:00
Matthew Flatt
b98ba3e60b win32: gl bitmaps 2010-11-05 15:54:39 -06:00
Matthew Flatt
77399ddaf7 remove accidental objc dependency 2010-11-05 15:54:39 -06:00
Matthew Flatt
5e1c4ae1f8 gtk: printer-dc% 2010-11-05 15:54:39 -06:00
Matthew Flatt
b4fafc1888 cocoa: printer-dc% 2010-11-05 15:54:38 -06:00
Matthew Flatt
0433cd0337 gtk: fix gl bitmap 2010-11-05 15:54:38 -06:00
Matthew Flatt
0a47a81aba `make-gl-bitmap' for cocoa and maybe gtk 2010-11-05 15:54:38 -06:00
Matthew Flatt
bc509c86cd gtk: fix gl canvas painting 2010-11-05 15:54:38 -06:00
Matthew Flatt
3d9f52a4d1 win32: fix gl canvas repaint 2010-11-05 15:54:38 -06:00
Matthew Flatt
47281a9d2d fix global gl lock 2010-11-05 15:54:38 -06:00
Matthew Flatt
b9e6ffe18c win32: canvas gl, almost 2010-11-05 15:54:38 -06:00
Matthew Flatt
1bddb120f9 cocoa: opengl canvases 2010-11-05 15:54:37 -06:00
Matthew Flatt
b2981f05b2 gtk: more gl 2010-11-05 15:54:37 -06:00
Matthew Flatt
1a2ffacbbe gtk: first cut at gl support 2010-11-05 15:54:37 -06:00
Matthew Flatt
7ffff49507 win32: file dialog 2010-11-05 15:54:37 -06:00
Matthew Flatt
fbc8d17413 win32: control callback fixes 2010-11-05 15:54:36 -06:00
Matthew Flatt
80ce36d30d win32: set-label with bitmaps 2010-11-05 15:54:36 -06:00
Matthew Flatt
fdff76c18c split font maps for different smoothing (matters for Quartz and Win32) 2010-11-05 15:54:36 -06:00
Matthew Flatt
3f3d5f0f21 win32: memory management 2010-11-05 15:54:36 -06:00
Matthew Flatt
905594ced3 gtk: fix get-directory dialog 2010-11-05 15:54:36 -06:00
Matthew Flatt
d4f7df6eb8 win32: misc repairs 2010-11-05 15:54:36 -06:00
Matthew Flatt
b843078284 gtk: fix clipboard string content 2010-11-05 15:54:35 -06:00
Matthew Flatt
9c15da955d gtk: fix delete key 2010-11-05 15:54:35 -06:00
Matthew Flatt
a19a67e515 win32: enforce frame constraints when resizing 2010-11-05 15:54:35 -06:00
Matthew Flatt
e32475fbbf fix frame size enforcement and gtk/cocoa positioning 2010-11-05 15:54:35 -06:00
Matthew Flatt
b444555b6b win32: fix collecting blit 2010-11-05 15:54:35 -06:00
Matthew Flatt
5b7c8dd433 win32: collecting-blit 2010-11-05 15:54:35 -06:00
Matthew Flatt
5dd568050b move collecting-blit helper to common code 2010-11-05 15:54:35 -06:00
Matthew Flatt
b9b627f294 win32: misc repairs 2010-11-05 15:54:35 -06:00
Matthew Flatt
90a1c3f4e4 win32: clipboard and popup menu 2010-11-05 15:54:34 -06:00
Matthew Flatt
22e7cb437d win32: fix submenus and other menu operations 2010-11-05 15:54:34 -06:00
Matthew Flatt
54fc1e2766 win32: clearing of transparent canvases 2010-11-05 15:54:34 -06:00
Matthew Flatt
b459fcf91c win32: canvas autoscroll 2010-11-05 15:54:34 -06:00
Matthew Flatt
682355def4 move gtk+cocoa canvas autoscroll support to common mixin 2010-11-05 15:54:34 -06:00
Matthew Flatt
0f754f2878 fix platform-dispatch typo 2010-11-05 15:54:34 -06:00
Matthew Flatt
a6d2524728 win32: transparent canvases 2010-11-05 15:54:33 -06:00
Matthew Flatt
736607c280 win32: combo and cursor fixes 2010-11-05 15:54:33 -06:00
Matthew Flatt
631f0a6e34 cocoa: control-border in canvas% 2010-11-05 15:54:33 -06:00
Matthew Flatt
815278fe43 Windows: use PLT_WIN_GTK for gtk; fix manifest embedding 2010-11-05 15:54:33 -06:00
Matthew Flatt
ba581819fb switch cocoa dialog% to common mixin 2010-11-05 15:54:33 -06:00
Matthew Flatt
70b26a5885 win32: more menus and widgets 2010-11-05 15:54:32 -06:00
Matthew Flatt
912a2d5151 win32: more menus and controls 2010-11-05 15:54:32 -06:00
Matthew Flatt
1dd3c8accb gtk: try fullscreen 2010-11-05 15:54:32 -06:00
Matthew Flatt
604afc1803 win32 widgets, mouse events, and cursors 2010-11-05 15:54:32 -06:00
Matthew Flatt
1402583ad2 win32 dialogs, etc. 2010-11-05 15:54:32 -06:00
Matthew Flatt
f2bad07fb8 win32: several control classes 2010-11-05 15:54:32 -06:00
Matthew Flatt
bc0869f43c win32 menu and button callbacks 2010-11-05 15:54:32 -06:00
Matthew Flatt
dd9a0772b3 win32 scrollbar event handling 2010-11-05 15:54:31 -06:00
Matthew Flatt
ee30013098 win32 basic canvas, key handling, and eventspaces 2010-11-05 15:54:31 -06:00
Matthew Flatt
35703b49b9 win32 theme and basic canvas 2010-11-05 15:54:31 -06:00
Matthew Flatt
aaf0636817 win32 beginnings 2010-11-05 15:54:31 -06:00
Matthew Flatt
abf1805d42 gtk clipboard repair 2010-11-05 15:54:31 -06:00
Matthew Flatt
24b016c8d5 gtk on-drop-file 2010-11-05 15:54:31 -06:00
Matthew Flatt
23f0296cb9 clean up unused 2010-11-05 15:54:31 -06:00
Matthew Flatt
7e8a08cdd8 cocoa toolbar button and some unimplemented clean-up 2010-11-05 15:54:30 -06:00
Matthew Flatt
ece405106b gtk frame% set-icon 2010-11-05 15:54:30 -06:00
Matthew Flatt
26036ac55e gtk default frame icon 2010-11-05 15:54:30 -06:00
Matthew Flatt
6b606cb4e2 canvas scroll and gauge range limit to 1000000 2010-11-05 15:54:30 -06:00
Matthew Flatt
a1462d0255 fix (different) refresh issues with both Gtk and Cocoa 2010-11-05 15:54:30 -06:00
Matthew Flatt
bdc9538244 gtk: fix scroll change to not generate callback 2010-11-05 15:54:30 -06:00
Matthew Flatt
b3613e999f display size and menu fixes 2010-11-05 15:54:29 -06:00
Matthew Flatt
97a52a58bc cocoa: don't over-poll for events 2010-11-05 15:54:29 -06:00
Matthew Flatt
0519ef991c reduce dc<%> locking overhead 2010-11-05 15:54:29 -06:00
Matthew Flatt
0f2ff1ff5d try to throttle cocoa event dequeue for key & mouse events 2010-11-05 15:54:29 -06:00
Matthew Flatt
57c963c045 try to fix text vertical alignment again 2010-11-05 15:54:29 -06:00
Matthew Flatt
158d119b12 cocoa get-display-size: use screen with menu bar 2010-11-05 15:54:29 -06:00
Matthew Flatt
4c22197dee cocoa app file handler 2010-11-05 15:54:29 -06:00
Matthew Flatt
83a00c66ec cocoa on-drop-files 2010-11-05 15:54:28 -06:00
Matthew Flatt
fa5cccfc2a adjust drawing calculation related to baselines and scale 2010-11-05 15:54:28 -06:00
Matthew Flatt
6f390ac655 use right color space of cocoa highlight? 2010-11-05 15:54:28 -06:00
Matthew Flatt
712ee0cc68 fix checking of dc<%> set-pen method arguments 2010-11-05 15:54:28 -06:00
Matthew Flatt
85e4fed31f use canvas-compatible bitmap for prefetch 2010-11-05 15:54:28 -06:00
Matthew Flatt
42b8534a4a fix dc transform 2010-11-05 15:54:28 -06:00
Matthew Flatt
60d4eaf227 centralize default-font configuration 2010-11-05 15:54:28 -06:00
Matthew Flatt
f40e7edae8 unify cocoa & gtk canvas-painting implementation 2010-11-05 15:54:27 -06:00
Matthew Flatt
73d28a3fff fix queue-callback to default to high priority 2010-11-05 15:54:27 -06:00
Matthew Flatt
4d03f3ab3c enable scrolling to extra tabs in a tabl panel 2010-11-05 15:54:27 -06:00
Matthew Flatt
5809bc7790 fix slider value display and 'plain option 2010-11-05 15:54:27 -06:00
Matthew Flatt
10455daf54 allowed nested try-atomics 2010-11-05 15:54:27 -06:00
Matthew Flatt
5ebfa781bd screen dc corrections and clarifications 2010-11-05 15:54:27 -06:00
Matthew Flatt
d920342fa1 cocoa cechkable menu repairs 2010-11-05 15:54:26 -06:00
Matthew Flatt
d094fff51e gtk win32 canvas back-end 2010-11-05 15:54:26 -06:00
Matthew Flatt
51aacfe949 add make-screen-bitmap and canvas% make-bitmap; specialize for X11 2010-11-05 15:54:26 -06:00
Matthew Flatt
bff39a1832 fix gtk collecting blit to revert immediately when gc ends 2010-11-05 15:54:26 -06:00
Matthew Flatt
ff90587223 fix region use in card-game library 2010-11-05 15:54:26 -06:00
Matthew Flatt
61788d68d5 adjust flush-display 2010-11-05 15:54:26 -06:00
Matthew Flatt
4bd84adb3a add dc<%> copy method; speed text drawing a little and implement but disable editor scrolling with dc<%> copy 2010-11-05 15:54:25 -06:00
Matthew Flatt
ed2c685a73 gtk clipboard fixes 2010-11-05 15:54:25 -06:00
Matthew Flatt
af499e3039 fix focus and frame-modified problems 2010-11-05 15:54:25 -06:00
Matthew Flatt
221c423402 cocoa button fixes 2010-11-05 15:54:25 -06:00
Matthew Flatt
3a17b284a7 fix flash highlight 2010-11-05 15:54:25 -06:00
Matthew Flatt
f51345b512 selection and cocoa clipboard fixes 2010-11-05 15:54:25 -06:00
Matthew Flatt
b69b97c113 cut overhead in fast path for text drawing 2010-11-05 15:54:24 -06:00
Matthew Flatt
d57f72136d try to speed text drawing by working at the glyph level 2010-11-05 15:54:24 -06:00
Matthew Flatt
ff617c4bf2 tweak text-drawing caching 2010-11-05 15:54:24 -06:00
Matthew Flatt
aa1578eb72 reduce overhead on text drawing 2010-11-05 15:54:24 -06:00
Matthew Flatt
79728fad59 update docs for `register-collecting-blit' 2010-11-05 15:54:24 -06:00
Matthew Flatt
a2f02f6f39 collecting blit for gtk 2010-11-05 15:54:24 -06:00
Matthew Flatt
85ce22d4f7 fix clipboard eventspace problem 2010-11-05 15:54:24 -06:00
Matthew Flatt
1d09202412 sirmail snips and selection mode 2010-11-05 15:54:24 -06:00
Matthew Flatt
e72cf85175 toward better refresh for gtk & other bug fixes 2010-11-05 15:54:23 -06:00
Matthew Flatt
f41bd0ffc1 wheel events for gtk 2010-11-05 15:54:23 -06:00
Matthew Flatt
8da4bbd52d fix key-event problem and implement mouse wheel for Cocoa 2010-11-05 15:54:23 -06:00
Matthew Flatt
0691f0491e collecting-blit for cocoa 2010-11-05 15:54:23 -06:00
Matthew Flatt
a48fb3bb3c fix text-extent of empty string 2010-11-05 15:54:23 -06:00
Matthew Flatt
227300dc94 cocoa allocation repairs 2010-11-05 15:54:22 -06:00
Matthew Flatt
5117d09473 cocoa file dialog 2010-11-05 15:54:22 -06:00
Matthew Flatt
c3fa1f01e8 cocoa mouse event and cursor fixes 2010-11-05 15:54:22 -06:00
Matthew Flatt
3e35c7c273 update for new #:alignment placement 2010-11-05 15:54:22 -06:00
Matthew Flatt
fa446f0187 mac creator and type support 2010-11-05 15:54:22 -06:00
Matthew Flatt
748115fe91 still again yet another refinement to cocoa refresh 2010-11-05 15:54:22 -06:00
Matthew Flatt
6d8bb2cab4 fix yet another refresh problem 2010-11-05 15:54:22 -06:00
Matthew Flatt
d20d503a38 fix text-extent cache 2010-11-05 15:54:21 -06:00
Matthew Flatt
0e64be35b7 fix text-drawing performance 2010-11-05 15:54:21 -06:00
Matthew Flatt
909ee0f32d another cocoa refresh repair 2010-11-05 15:54:21 -06:00
Matthew Flatt
9765f3e584 fix region set-poly 2010-11-05 15:54:21 -06:00
Matthew Flatt
f13b569b75 more attempts to avoid flicker 2010-11-05 15:54:21 -06:00
Matthew Flatt
8c9e239798 key release events 2010-11-05 15:54:21 -06:00
Matthew Flatt
9d1ac67287 gtk key-handling fixes 2010-11-05 15:54:21 -06:00
Matthew Flatt
f1e2db412f new queue level for refresh events 2010-11-05 15:54:20 -06:00
Matthew Flatt
31e46eb8b3 more cocoa refresh refinements 2010-11-05 15:54:20 -06:00
Matthew Flatt
8ed2fba67d fix various cocoa problems 2010-11-05 15:54:20 -06:00
Matthew Flatt
2a4ea2ef98 fix focus problems and implement send-message-to-window in cocoa 2010-11-05 15:54:20 -06:00
Matthew Flatt
955df62409 update hierlist for new selection drawing 2010-11-05 15:54:20 -06:00
Matthew Flatt
42610ccecb access foreign libs more consistently under Unix 2010-11-05 15:54:19 -06:00
Matthew Flatt
e97cf6815b fix gtk theme lookup 2010-11-05 15:54:19 -06:00
Matthew Flatt
ae05eddf14 generalize editor selection mechanism to support Windows style 2010-11-05 15:54:19 -06:00
Matthew Flatt
67ec13ac1a small step toward new text hiliting 2010-11-05 15:54:19 -06:00
Matthew Flatt
a747047145 special-option-key for cocoa 2010-11-05 15:54:19 -06:00
Matthew Flatt
3a99e9e82c concurrency repairs 2010-11-05 15:54:18 -06:00
Matthew Flatt
93613f906d fix gtk win32 poll 2010-11-05 15:54:18 -06:00
Matthew Flatt
6772afbd2e fix problems with gtk canvas client size and with checkable menus 2010-11-05 15:54:18 -06:00
Matthew Flatt
a7a629e45b showkey as module 2010-11-05 15:54:18 -06:00
Matthew Flatt
1270ba437e gtk alternate key interpretetaions 2010-11-05 15:54:18 -06:00
Matthew Flatt
3071b64c9a use character-size cache for text-extent 2010-11-05 15:54:18 -06:00
Matthew Flatt
074ba4e70e [PATCH 123/326] bell 2010-11-05 15:54:17 -06:00
Matthew Flatt
f21920c8e9 show gtk menu shortcuts 2010-11-05 15:54:17 -06:00
Matthew Flatt
e153b71ba0 repairs that make dragable panels work 2010-11-05 15:54:17 -06:00
Matthew Flatt
cc737fc571 another refinement to cocoa key handling 2010-11-05 15:54:17 -06:00
Matthew Flatt
15a7a2a006 cocoa tab-panel in no-border mode uses PSMTabBarControl 2010-11-05 15:54:17 -06:00
Matthew Flatt
b3f1cc4b41 fix problem related to cursor tracking 2010-11-05 15:54:17 -06:00
Matthew Flatt
4239aa2869 for ps output, approximate mask with clipping 2010-11-05 15:54:17 -06:00
Matthew Flatt
ff1e8f35a1 drawing repairs 2010-11-05 15:54:16 -06:00
Matthew Flatt
436eb512f8 gtk cursors 2010-11-05 15:54:16 -06:00
Matthew Flatt
40c1c2ffef cocoa cursors 2010-11-05 15:54:16 -06:00
Matthew Flatt
2dba600d59 use Cairo's Quartz back-end for canvas buffering under Mac OS X + makes text rending look much better - makes drawing to a bitmap% different than drawing onscreen 2010-11-05 15:54:16 -06:00
Matthew Flatt
0114b7a4a5 misc repairs 2010-11-05 15:54:15 -06:00
Matthew Flatt
7a3a005644 fix frame stretchability 2010-11-05 15:54:15 -06:00
Matthew Flatt
7edbdd8a5a streamline gtk widget repositioning 2010-11-05 15:54:15 -06:00
Matthew Flatt
647ce060ab another try at fixing gtk dialog placement 2010-11-05 15:54:15 -06:00
Matthew Flatt
43aeaacd7a finish pinning down gtk allocation 2010-11-05 15:54:15 -06:00
Matthew Flatt
c704905833 more memory management 2010-11-05 15:54:15 -06:00
Matthew Flatt
152a8b6703 clean up cocoa memory management and also fix vertical sliders and guages 2010-11-05 15:54:14 -06:00
Matthew Flatt
a9ffced9b8 clean up lock library and uses 2010-11-05 15:54:14 -06:00
Matthew Flatt
0a9bdc11ad make platform-to-wx links weak 2010-11-05 15:54:14 -06:00
Matthew Flatt
fdf38124a5 have container retain shown children 2010-11-05 15:54:14 -06:00
Matthew Flatt
00f2385cd4 more fixes to work with older Gtk version 2010-11-05 15:54:14 -06:00
Matthew Flatt
b6a31a2d7d fix gobj vs. glib imports 2010-11-05 15:54:14 -06:00
Matthew Flatt
b486d43304 avoid another Pango function that request 1.22 2010-11-05 15:54:13 -06:00
Matthew Flatt
7a70c28197 avoid function that requires Pango 1.22 2010-11-05 15:54:13 -06:00
Matthew Flatt
8ad33f15ab consolidate lock implementation and fix custodian problem 2010-11-05 15:54:13 -06:00
Matthew Flatt
d34d3969d9 make gtk file dialog place nicely 2010-11-05 15:54:13 -06:00
Matthew Flatt
1b641c3607 patches to make file dialog work 2010-11-05 15:54:13 -06:00
Sam Tobin-Hochstadt
15880ea8e5 Implement GTK-native file selector 2010-11-05 15:54:13 -06:00
Matthew Flatt
e433a8a2e6 fix problem with size initialization of a frame with a menu bar 2010-11-05 15:54:13 -06:00
Matthew Flatt
b020c2f858 fix gtk widget size info for sizing and positioning 2010-11-05 15:54:12 -06:00
Matthew Flatt
206c42429b cache font subs decision 2010-11-05 15:54:12 -06:00
Matthew Flatt
cc55bd7e93 restore auto-scroll canvases; fix text-rotation bug 2010-11-05 15:54:12 -06:00
Matthew Flatt
9f36c96960 switch gtk to new canvas-refresh strategy 2010-11-05 15:54:12 -06:00
Matthew Flatt
7a7658e86d new cocoa canvas-refresh strategy 2010-11-05 15:54:12 -06:00
Matthew Flatt
bb68137829 set up backing-dc% 2010-11-05 15:54:12 -06:00
Matthew Flatt
72b671b665 eventspace shutdown 2010-11-05 15:54:12 -06:00
Matthew Flatt
f716ae049a yet more cocoa canvas repairs 2010-11-05 15:54:11 -06:00
Matthew Flatt
a4c036b50a fix cocoa menu-bar set menu label 2010-11-05 15:54:11 -06:00
Matthew Flatt
f8ba0a65d2 fix on-subwindow- and modal for choice%; suppress other callbacks on set 2010-11-05 15:54:11 -06:00
Matthew Flatt
dedba7a441 fix cocoa pref menu 2010-11-05 15:54:11 -06:00
Matthew Flatt
e9e180847a enforce modality; more on-subwindow- callbacks; Cocoa font tweaks 2010-11-05 15:54:11 -06:00
Matthew Flatt
ff57455150 manual font substitution for Mac OS X 2010-11-05 15:54:10 -06:00
Matthew Flatt
ca29be4eb1 finix initial size of cocoa frame 2010-11-05 15:54:10 -06:00
Matthew Flatt
16f15b0cad postscript-dc% interactive and landscape 2010-11-05 15:54:10 -06:00
Matthew Flatt
b69d4322af fix canvas dc size reporting 2010-11-05 15:54:10 -06:00
Matthew Flatt
1851d0b0a6 cap and join pen% initialization 2010-11-05 15:54:10 -06:00
Matthew Flatt
c42d95216e auto-scroll canvases and frame status lines 2010-11-05 15:54:10 -06:00
Matthew Flatt
6cb07301c1 canvas scrollbars and borders 2010-11-05 15:54:10 -06:00
Matthew Flatt
cc5cc94510 better dialog support (sheets for Cocoa, centering in gtk) 2010-11-05 15:54:09 -06:00
Matthew Flatt
4457c51022 gtk dialog% window hint 2010-11-05 15:54:09 -06:00
Matthew Flatt
96c77937b1 warning tweak 2010-11-05 15:54:09 -06:00
Matthew Flatt
03f5e140ea try to connect gtk dialog with parent 2010-11-05 15:54:09 -06:00
Matthew Flatt
6ae09fca1c submenus 2010-11-05 15:54:09 -06:00
Matthew Flatt
06a47a3c54 get-transformation, etc. methods on dc<%> 2010-11-05 15:54:09 -06:00
Matthew Flatt
2631853a28 notes and docs 2010-11-05 15:54:09 -06:00
Matthew Flatt
5d9b22be49 fix region and dc-path bounding boxes 2010-11-05 15:54:08 -06:00
Matthew Flatt
e0a2a66dc8 fix region bounding-box and hit-test; catch up docs 2010-11-05 15:54:08 -06:00
Matthew Flatt
d10669d34e fix clipping-region issues 2010-11-05 15:54:08 -06:00
Matthew Flatt
202e18ef85 dialog show & button width fixes 2010-11-05 15:54:08 -06:00
Matthew Flatt
b9eb058cec fix problem with PNGs that have no background color 2010-11-05 15:54:08 -06:00
Matthew Flatt
af4ccd2de1 fix bitmap-related docs 2010-11-05 15:54:08 -06:00
Matthew Flatt
439683af5e fixes to bitmap%, especially mask vs. alpha mode 2010-11-05 15:54:07 -06:00
Matthew Flatt
3d9c68105e another Gtk frame-size repair 2010-11-05 15:54:07 -06:00
Matthew Flatt
4425dd894d BMP support 2010-11-05 15:54:07 -06:00
Matthew Flatt
8c1cd0b730 rotated text drawing 2010-11-05 15:54:07 -06:00
Matthew Flatt
a368362803 better frame sizing in gtk (but still not right) 2010-11-05 15:54:07 -06:00
Matthew Flatt
37d4cfb148 gtk combo boxes 2010-11-05 15:54:07 -06:00
Matthew Flatt
626ceef11b misc repairs 2010-11-05 15:54:06 -06:00
Matthew Flatt
1beecc143d cocoa slider initial value 2010-11-05 15:54:06 -06:00
Matthew Flatt
86f0db41bc fix alpha plus draw-bitmap 2010-11-05 15:54:05 -06:00
Matthew Flatt
e0bbe944aa windows fixes 2010-11-05 15:54:05 -06:00
Matthew Flatt
4134b06b4c bitmap and dc docs up to date 2010-11-05 15:54:05 -06:00
Matthew Flatt
6e977d7c20 hidden name message should simply not draw 2010-11-05 15:54:05 -06:00
Matthew Flatt
b027bc3bc3 fix gtk canvas reset 2010-11-05 15:54:05 -06:00
Matthew Flatt
c244a6106a fix mouse-moved events for cocoa 2010-11-05 15:54:05 -06:00
Matthew Flatt
29715fd04b add XPM support 2010-11-05 15:54:04 -06:00
Matthew Flatt
1c4b543fb5 fix gtk callback on first radio button in a box 2010-11-05 15:54:04 -06:00
Matthew Flatt
4628ab4db8 radio-box and transparent canvas repairs 2010-11-05 15:54:04 -06:00
Matthew Flatt
7de0f66b97 fix Gtk global<->local 2010-11-05 15:54:04 -06:00
Matthew Flatt
bc7d3d7376 popup menus 2010-11-05 15:54:04 -06:00
Matthew Flatt
82c0a1cc29 fix canvases in tab panels 2010-11-05 15:54:04 -06:00
Matthew Flatt
d7289c253f support general transformation matrix 2010-11-05 15:54:04 -06:00
Matthew Flatt
0723c4f647 default buttons and Cocoa clipboard 2010-11-05 15:54:03 -06:00
Matthew Flatt
ac6139345d canvas and frame repairs 2010-11-05 15:54:03 -06:00
Matthew Flatt
238650e327 more repairs to constrained-reply and menu-bar handling 2010-11-05 15:54:03 -06:00
Matthew Flatt
2f2341be6f frame, dialog, and stock-icon repairs 2010-11-05 15:54:03 -06:00
Matthew Flatt
50d10998c0 refresh and menu bar repairs 2010-11-05 15:54:03 -06:00
Matthew Flatt
152526045a fix frame activation and menu bars 2010-11-05 15:54:03 -06:00
Matthew Flatt
5af3d96a5d queue and paint repairs 2010-11-05 15:54:02 -06:00
Matthew Flatt
efb88aef4f focus callbacks 2010-11-05 15:54:02 -06:00
Matthew Flatt
54bee6314e more consistent mouse events 2010-11-05 15:54:02 -06:00
Matthew Flatt
75189fbdee fix mouse position conversion and canvas moving 2010-11-05 15:54:02 -06:00
Matthew Flatt
fa3d9cdf28 fix racket/gui/dynamic and add multi-instance checks 2010-11-05 15:54:02 -06:00
Matthew Flatt
8e5eedc130 fix racket/gui/dynamic 2010-11-05 15:54:01 -06:00
Matthew Flatt
4bfed6d797 misc repairs 2010-11-05 15:54:01 -06:00
Matthew Flatt
88f75dbc13 fix constrained-reply to use delim continuations 2010-11-05 15:54:01 -06:00
Matthew Flatt
cb69ea3c66 extend C API to abort/capture cont skipping dynamic-winds 2010-11-05 15:54:01 -06:00
Matthew Flatt
90b005afed Cocoa menus, including on-demand tricks 2010-11-05 15:54:00 -06:00
Matthew Flatt
3cb7594793 mostly tab-panel and mnemonic repairs 2010-11-05 15:54:00 -06:00
Matthew Flatt
edd12a64b8 implement labels for radio-box%, etc. 2010-11-05 15:54:00 -06:00
Matthew Flatt
049e4dbdcb fix clipping 2010-11-05 15:54:00 -06:00
Matthew Flatt
d331ef6d98 fix underline; implement built-in brush patterns 2010-11-05 15:54:00 -06:00
Matthew Flatt
1aab1c78a3 fix canvas% refresh for Gtk 2010-11-05 15:54:00 -06:00
Matthew Flatt
0709870ef9 Windows build and config repairs 2010-11-05 15:53:59 -06:00
Matthew Flatt
930fefc3fc more drawing repairs 2010-11-05 15:53:58 -06:00
Matthew Flatt
dc00e22b85 fix drawing bugs and improve backward compatibility 2010-11-05 15:53:58 -06:00
Matthew Flatt
88606ae251 drawing repairs 2010-11-05 15:53:58 -06:00
Matthew Flatt
cee45914f4 add get-pixel method to bitmap-dc% 2010-11-05 15:53:58 -06:00
Matthew Flatt
233b131d9b clarify some notes and comments 2010-11-05 15:53:58 -06:00
Matthew Flatt
41ce8ece58 add GIF parser 2010-11-05 15:53:57 -06:00
Matthew Flatt
44847f8278 adjust exe creation of GRacket2 binaries for Mac OS X 2010-11-05 15:53:56 -06:00
Matthew Flatt
aabc1cf5a7 fixes for Windows 2010-11-05 15:53:56 -06:00
Matthew Flatt
5baba1d81a gracket2 wx re-implementation start 2010-11-05 15:53:55 -06:00
Matthew Flatt
6829e96ded gracket2 racket/draw 2010-11-05 15:53:55 -06:00
Matthew Flatt
bcb075543c adjust mred/private/syntax for gracket2 2010-11-05 15:53:54 -06:00
Jon Rafkind
e0e3870a62 dont modify positions if line numbers arent being shown 2010-11-05 15:43:20 -06:00
Jon Rafkind
a698d89a75 adjust x position when finding editor locations 2010-11-05 15:15:01 -06:00
Ryan Culpepper
a39645ff7a fixed error in syntax-parse docs (re ~bind, #:attr) 2010-11-05 13:47:54 -06:00
Ryan Culpepper
f97428ab1e macro-stepper: options: draw-arrows?, refresh-on-resize? 2010-11-05 13:47:53 -06:00
Ryan Culpepper
0d3b092097 macro-stepper: faster rendering, async improvements
added async stop button (and disable breaks around editor operations)
  eliminated redundant calls to refresh in display<%>
2010-11-05 13:47:01 -06:00
Casey Klein
743ccafd15 Improves the error reporting and documentation for `define-relation' 2010-11-05 08:59:46 -05:00
Eli Barzilay
9a485064ed Clarify comment re `fixnum?' non-use at the syntax level, and add a note
to the `fixnum?' documentation.
2010-11-05 01:48:23 -04:00
Eli Barzilay
84ec108c32 Make the disabled places comment more prominent. 2010-11-05 01:34:27 -04:00
Eli Barzilay
f11bb7795c Added per-machine $more_setup_args configuration 2010-11-05 01:34:27 -04:00
Casey Klein
df810e8e10 Closes PR 11383 2010-11-04 17:31:35 -05:00
Robby Findler
8bf096b1e3 added contracts to define-relation.
(also removed old, wrong tl-pat stuff from the docs)
2010-11-04 17:29:14 -05:00
Vincent St-Amour
4c081c127a Fixed a fixnum typechecking issue. 2010-11-04 17:27:34 -04:00
Vincent St-Amour
c0a6137c67 Fixed potential danger with fixnum optimizations. 2010-11-04 15:35:21 -04:00
Robby Findler
ae5cd21a1b 2htdp/image: changed the way drawing works, specifically avoid normalization before drawing to preserve sharing 2010-11-04 13:55:41 -05:00
Robby Findler
4941aec617 removed unused argument to normalize-image 2010-11-04 13:55:40 -05:00
Jon Rafkind
c0d504b7b8 use a lighter color for same paragraph lines 2010-11-04 11:56:36 -06:00
Jon Rafkind
9742f896f9 right align numbers 2010-11-04 11:56:36 -06:00
Ryan Culpepper
553ef2834d syntax/parse: removed stx from expectstack 2010-11-03 18:09:21 -06:00
Ryan Culpepper
95d690d550 syntax/parse: pinpoint stx from progress, not expectstack 2010-11-03 18:09:21 -06:00
Ryan Culpepper
68e7cda162 syntax/parse: added todo items 2010-11-03 18:09:20 -06:00
Jon Rafkind
d1e44d0cc8 set minimum line width to accept 100 lines 2010-11-03 17:59:40 -06:00
Jon Rafkind
c3111c425b allow line number width to increase automatically 2010-11-03 17:58:18 -06:00
Jon Rafkind
1093b4a430 get the line number from the paragraph 2010-11-03 17:16:34 -06:00
Jon Rafkind
68c197f639 clean up line numbers code 2010-11-03 15:15:54 -06:00
Jon Rafkind
7f56e677f4 add line number interface documentation 2010-11-03 15:09:04 -06:00
Jon Rafkind
4a69c36258 use line locations instead of counting snips 2010-11-03 14:56:05 -06:00
Vincent St-Amour
c990d602b0 Typo in the syntax-model docs. 2010-11-03 12:52:57 -04:00
Casey Klein
bd0ebc7511 Adds auto-completion to LaTeX and TeX inspired keybindings 2010-11-02 22:34:05 -05:00
Jay McCarthy
6d2042fbd9 The stacks appear to be different, so maybe the JIT is different on Linux and disabling it will get stable output? 2010-11-02 15:44:35 -06:00
Eli Barzilay
2787cc85c8 Add symlink and html link to the libs content 2010-11-02 17:24:59 -04:00
Eli Barzilay
14351c0b61 Sort projects by age 2010-11-02 17:24:59 -04:00
Jon Rafkind
87cc623a6f set clipping for regular text. minor optimization when choosing line numbers to draw 2010-11-02 13:09:54 -06:00
Jon Rafkind
eb89a429e7 set the font before computing the distance between the line numbers and the real text. add an option to the general pane to enable line numbers 2010-11-01 23:45:00 -06:00
Jon Rafkind
18504774f0 cleanup code. attempt to add preference for line numbers in the general tab. closes pr11367 2010-11-01 22:14:45 -06:00
Jon Rafkind
4f3e87d42a replace the line number widget in drracket with the new mixin from the framework 2010-11-01 22:14:45 -06:00
Jon Rafkind
32bd5c9f5f document line-numbers-mixin 2010-11-01 22:14:45 -06:00
Jon Rafkind
281138d4b8 clean up line numbers implementation 2010-11-01 22:14:45 -06:00
Jon Rafkind
dc6350244d add first draft of a mixin for text% objects that displays line numbers 2010-11-01 22:14:44 -06:00
Eli Barzilay
ea591c3c23 * Add an attempt to find the SHA1 and date from the ".git/HEAD" file.
* Try "/opt/local/bin/git" on OSX, since it's a common path for git, and
  when running through the Finder it will usually not be found in the
  $PATH.

* Explain the various results in a detailed comment.
2010-11-01 17:26:06 -04:00
Eli Barzilay
3160f821a5 Reorganize the POSIX entries in a more logical order, fix [:lower:] and
[:print:].

Fixes PR 11333.
2010-11-01 15:16:13 -04:00
Jay McCarthy
7c452ad7ea Maybe the DrDr error is related to flushing? 2010-11-01 10:20:31 -06:00
Jay McCarthy
a12feab953 Setting drdr prop 2010-11-01 10:18:54 -06:00
Eli Barzilay
3bd84c617a Describe Unicode categories, move them to a separate table.
Also, use litchar on mentions of \-escapes and unicode categories on the LHS.

Closes PR 9424.
2010-11-01 08:25:35 -04:00
Eli Barzilay
aff75b5005 Some racketization and scribble-syntax-ization, general improvements.
(No changes in the output page after this commit, except for one bogus
empty line at the beginning of the types table.)
2010-11-01 08:25:35 -04:00
Eli Barzilay
4d11d12c40 The reader for "#lang scribble/html".
(Somehow wasn't included in the earlier commit.)
2010-11-01 08:25:35 -04:00
Eli Barzilay
a7220062de old typo 2010-11-01 08:25:35 -04:00
Casey Klein
f346b246af Configures DrDr to compile, not ignore, that file in the VM model 2010-11-01 03:34:40 -05:00
Casey Klein
eb540bc044 Configures DrDr to ignore file in Redex VM model 2010-10-31 18:23:15 -05:00
Casey Klein
f9b64fa2b8 Removes `apply-reduction-relation*' trie experiment 2010-10-31 17:28:19 -05:00
Casey Klein
152084d5ce Adds an experiment in using a trie in `apply-reduction-relation*' 2010-10-31 17:26:20 -05:00
Casey Klein
e9a909a504 Adds randomized tests for Racket VM model 2010-10-31 17:26:20 -05:00
Casey Klein
7f0e712dab Renames some functions to match latest paper draft. 2010-10-31 17:26:19 -05:00
Robby Findler
d082e805b2 fix bug in error checking for save-image 2010-10-31 10:12:04 -05:00
Robby Findler
e80fb21c7c unbreak test suite 2010-10-31 10:12:03 -05:00
Matthew Flatt
aa7c4b53d9 add `codeblock' to Scribble 2010-10-31 07:09:27 -06:00
Jay McCarthy
17f1230bba Reenabling demod docs 2010-10-30 13:11:29 -06:00
Blake Johnson
199a63772a scrbl file and longer command name 2010-10-30 12:49:27 -06:00
Jay McCarthy
26c7625c79 Exposing more values to GC by not making them toplevels 2010-10-30 09:14:58 -06:00
Jay McCarthy
255489e0af Saving time by only reading zos once and saving space by limiting the extent of the hash tables 2010-10-30 08:54:13 -06:00
Jay McCarthy
46e2e7931a Removing newlines from debug messages 2010-10-30 08:31:23 -06:00
Jay McCarthy
c14382bf80 No longer running example file. Maybe it should be removed 2010-10-29 22:37:28 -06:00
Jay McCarthy
690ed259ad Wrapping standalone tests so that no stderr is produced 2010-10-29 22:35:20 -06:00
Jay McCarthy
8516001c08 Removing dead file 2010-10-29 22:24:50 -06:00
Jay McCarthy
83272e88d4 Fixing stupidity until the doc is available 2010-10-29 21:36:34 -06:00
Jay McCarthy
ef6aa7d0b2 Increasing timeout 2010-10-29 21:33:32 -06:00
Jay McCarthy
ec7157744f Repairing tests 2010-10-29 21:32:31 -06:00
Jay McCarthy
4b84fa1446 Setting responsible on raco docs 2010-10-29 21:27:47 -06:00
Jay McCarthy
3b2e14fc56 Setting responsible and DrDr cmdline 2010-10-29 21:26:37 -06:00
Jay McCarthy
7c43846b4e Removing old tests 2010-10-29 21:24:11 -06:00
Blake Johnson
783418ce37 only creating zo file 2010-10-29 19:50:12 -06:00
Blake Johnson
a315f79ebd rolling back some unnecessary changes 2010-10-29 19:50:12 -06:00
Blake Johnson
b2b5875e3e replacing self modidx refs and tests 2010-10-29 19:50:12 -06:00
Blake Johnson
0688c18593 fixing logging and running code in zo-exs 2010-10-29 19:50:11 -06:00
Blake Johnson
43e151f340 using hasheq in zo-marshal 2010-10-29 19:50:11 -06:00
Blake Johnson
77c46d07ee debugging 2010-10-29 19:50:11 -06:00
Blake Johnson
7bffbc31a2 Avoiding cycles in everything but closures 2010-10-29 19:50:11 -06:00
Blake Johnson
d84b78daab offset calculation fix 2010-10-29 19:50:11 -06:00
Blake Johnson
3ddda200e8 changed eprintfs to log-debug 2010-10-29 19:50:11 -06:00
Blake Johnson
4676662e4b moved demodularizer from github to collects and added it to raco 2010-10-29 19:50:10 -06:00
Ryan Culpepper
a3367fd0b4 macro-stepper: added thread/eventspace check
Closes PR 11364 (actually, earlier commit closed)
2010-10-29 16:54:26 -06:00
Ryan Culpepper
60f8d3854a syntax-parse: tidy up 2010-10-29 16:01:51 -06:00
Ryan Culpepper
b9961d605d macro stepper: don't create new eventspace
Closes PR 11299
2010-10-29 16:01:51 -06:00
Ryan Culpepper
f17d0001c4 Changed rackunit top-level test output to stderr
Made test-begin accept zero expressions
 Closes PR 11331
2010-10-29 16:01:50 -06:00
Ryan Culpepper
454673ddcc Documented set-count
Closes PR 11093
2010-10-29 16:00:43 -06:00
Robby Findler
822895fd68 fix minor bug in 'display-end functionality in invalidate-bitmap-cache 2010-10-29 15:06:48 -05:00
Robby Findler
cc0f246048 unbreak 2htdp/image 2010-10-29 14:55:56 -05:00
John Clements
cbe42caa41 added clarification on protect-out docs 2010-10-29 12:43:52 -07:00
Casey Klein
4542d071d5 Adds the `test-->>∃' form. 2010-10-28 20:22:35 -05:00
Matthias Felleisen
18a81f8552 record images during world program, not events; Closes PR11351 2010-10-28 18:43:19 -04:00
Robby Findler
82d11cfa6c fix up Matthias's tests so they are more drdr friendly 2010-10-28 17:20:43 -05:00
Robby Findler
ebe486886c change 2htdp/image to export image=? 2010-10-28 17:20:43 -05:00
Robby Findler
3782c2e749 change save-bitmap in 2htdp/image so that is uses the width and height of the image by default, but also so it accepts two optional arguments to change that. 2010-10-28 17:20:43 -05:00
Robby Findler
6a414bd18a fixed some bugs in the way 2htdp/images were marshalled and unmarshalled 2010-10-28 17:20:43 -05:00
Robby Findler
7ef1e8bd90 fixed a bug in the way old 2htdp/image files were parsed (those that contain bitmaps) 2010-10-28 17:20:43 -05:00
Robby Findler
abca2c91b8 added default case to avoid runtime errors when parsing bogus images 2010-10-28 17:20:42 -05:00
Robby Findler
02d8b5cebf 2htdp/image: adjusted the image you get when parsing fails so that it draws inside its bounding box 2010-10-28 17:20:42 -05:00
Jay McCarthy
69fb56189a datum doesn't need to be anfd 2010-10-28 16:07:52 -06:00
Eli Barzilay
58febe21a0 Move the #%top' binding that makes foo:' keywords self evaluating from
`scribble/html/lang' to `scribble/html'.

Since `foo:' keywords are very common in any code that uses
`scribble/html', it is much more convenient to have it provide the
custom `#%top'.  It simplifies code that uses it, for example, files in
`meta/web/common' now use

  #lang at-exp racket/base
  (require scribble/html)

instead of the (only-in scribble/html/lang #%top) which it used before,
or instead of explicitly quoting all `foo:'s.
2010-10-28 17:31:22 -04:00
Eli Barzilay
97ed1f3182 typos 2010-10-28 17:31:22 -04:00
Jay McCarthy
ac4fb05f0c Correct error in mutator quote 2010-10-28 11:18:28 -06:00
Jay McCarthy
05832af083 Correct handling of procedure env roots in mutator 2010-10-28 11:18:27 -06:00
Robby Findler
a744958fd5 added support to the 2htdp/image library for reading files when there is no GUI around.
currently the support is limited to images that can only report their sizes and pinholes and where equal?
signals an error unless the arguments are eq?.
2010-10-28 11:32:14 -05:00
Robby Findler
68b06b42d9 add missing for-label require 2010-10-28 11:32:14 -05:00
Robby Findler
a021403679 tightened the contract on read-snip 2010-10-28 11:32:14 -05:00
Matthias Felleisen
e7f042f09f Contracts for more than (simple) types 2010-10-27 18:08:44 -04:00
Vincent St-Amour
25749736c9 Fixed a typo in the scribble docs.
Merge to 5.0.2.
2010-10-27 16:15:50 -04:00
Vincent St-Amour
c633913b94 Add optional argument to make-hash and co. 2010-10-27 16:15:50 -04:00
Jon Rafkind
f21a15aef1 add some examples for port functions 2010-10-27 12:39:21 -06:00
Jon Rafkind
5633895cf0 add notes about reading entire ports 2010-10-27 12:07:36 -06:00
Jon Rafkind
b8ad3ad1cb use racket. add list-match utility 2010-10-27 12:07:36 -06:00
Mike Sperber
4bf3ca44d0 Unbreak DMdA REPL.
Follow Robby's commit to htdp-langs.rkt.
2010-10-27 19:48:59 +02:00
Matthias Felleisen
f600531e50 improved testing for record? 2010-10-27 10:35:11 -04:00
Matthias Felleisen
42bceaf900 documented record?, which has a slightly wider interface so that I can write automated tests for the raw functionality 2010-10-27 10:21:37 -04:00
Matthias Felleisen
f876a854c6 partial fix for pr11350 2010-10-27 10:21:36 -04:00
Eli Barzilay
95c3772e8a typo 2010-10-27 09:42:11 -04:00
Matthias Felleisen
07952e1408 impose contract on write-animated-gif, Closes PR11358 2010-10-26 23:22:14 -04:00
Matthias Felleisen
9c4758a456 specified rate-expr 2010-10-26 23:22:14 -04:00
Robby Findler
b121171a98 fixed a bug in the way interval maps were being used in check syntax.
please push to the release branch.
2010-10-26 19:47:35 -05:00
Matthias Felleisen
6457f1e4cc record? is working as it used, plus ability to auto-save images so I can write a test case, Closes PR11348 and PR11349 2010-10-26 19:02:43 -04:00
Sam Tobin-Hochstadt
7802f1deb7 Add source locations in match -> match* conversion 2010-10-26 18:09:45 -04:00
Sam Tobin-Hochstadt
561fdc8db5 Avoid dumb parsing bugs in require/typed. 2010-10-26 18:09:45 -04:00
Eli Barzilay
69a490c10b More name improvements: scribble/text/textlang' -> scribble/text/lang'
and the same for `scribble/html/lang'.
2010-10-26 16:17:09 -04:00
Eli Barzilay
667c682c2b Better filename conventions: "main.rkt"s that would just require the
necessary modules are now "all.rkt"s; "shard.rkt"s turn to
"resources.rkt".

Also, "navbar.rkt" changes to "all.rkt", since it was doing the same
thing (in addition to setting the navbar).
2010-10-26 16:09:16 -04:00
Eli Barzilay
82221a51db Make the scribble/html' layout mimic the one for scribble/text'.
Ie, the difference between using it as a language and as a module is now
the same in both.  Also, improve `scribble/html' (and
`scribble/html/htmllang') by reproviding most of the corresponding text
modules.

Change `meta/web' accordingly, and improve code by making a new langugae
(`#lang meta/web').  This language is similar to `scribble/html' except
that it uses the plain scribble reader (not the `-inside' one), it
doesn't use the customized module-begin feature (that uses
`output-xml'), and it adds all the relevant bits of `meta/web/common'.
(Also, "meta/web/common.rkt" is gone, since it's used only as a language
now.)

This commit has lots of details and binding games, so it's tricky, and
potentially caused some problems.  (Took me a while to track many
breakages, so I won't be surprised if there are more.)
2010-10-26 15:36:29 -04:00
Eli Barzilay
ca040ea42a Move meta/web/html' to scribble/html'.
(See http://lists.racket-lang.org/dev/archive/2010-October/004691.html
for a discussion on calling it `html' rather than `xhtml'.)
2010-10-26 13:50:17 -04:00
Eli Barzilay
95729c3e95 Fix require in a non-web file. 2010-10-26 09:27:50 -04:00
Eli Barzilay
2cda694ab7 Fix the names used by the sh', tgz', and `zip' installers to use
`racket', `racket-textual' and `racket-full' instead of `plt', `mz', and
`full'.

(Also use uniform argument names in packaging functions.)
2010-10-26 07:21:12 -04:00
Eli Barzilay
5f3718a24e Add a stub to generate a wiki template. 2010-10-26 07:21:12 -04:00
Eli Barzilay
ed5033159a Add racket/list' and racket/string' to the web language, adjust
existing requires.

(It's supposed to be a convenient language...)
2010-10-26 07:21:12 -04:00
Eli Barzilay
7ac83e25c9 Provide `process-begin/text' to make it convenient to define more
`scribble/text'-like languages.  Use it to define a convenient syntax
for html modules.

This is not used by the web content files since they define functions
rather than spit out html when required, but makes it convenient to make
an html markup language similar to scribble/text.
2010-10-26 07:21:11 -04:00
Eli Barzilay
2491ac914c Fix a couple of "~e"s to "~.s"s. 2010-10-26 07:21:11 -04:00
Jon Rafkind
b55b9adde4 better error messages 2010-10-25 15:00:49 -06:00
Jay McCarthy
c2e81d4aa0 Probably fixing a problem reported by Eli that I don't know how to recreate 2010-10-25 14:50:21 -06:00
Casey Klein
f4c4b79049 Renames delim-cont tests so that they're not stripped by the distribution script.
(Merge to release branch.)
2010-10-25 15:18:16 -05:00
Ryan Culpepper
24297a793f data/gvector: fixed typo in constructor
Merge to 5.0.2
2010-10-25 11:31:55 -06:00
Matthew Flatt
5d8e000d6d swap vector*-ref' and vector-ref', etc.
Merge to 5.0.2
2010-10-25 11:22:35 -06:00
Eli Barzilay
91f9f0c2d3 Organize dist-specs; remove bogus collection.
Merge to 5.0.2.
2010-10-25 02:42:31 -04:00
Ryan Culpepper
677867ba6c Adjusted props 2010-10-24 20:13:19 -06:00
Ryan Culpepper
f65c8c3427 Macro stepper status bar notifications 2010-10-24 13:17:04 -06:00
Matthew Flatt
c512dbd6d3 fix bogus reordering of floating-point args in unboxing mode
Merge to 5.0.2
 Closes PR 11272
2010-10-22 21:19:18 -06:00
Matthew Flatt
51d613aab2 doc improvements 2010-10-22 20:15:38 -06:00
Stevie Strickland
2847ac86bd Rearrange ->d appropriately to use proxies/chaperones.
Also remove the old tests for tail-call behavior with ->d.
I think it was a faulty way of doing the optimization, and we can't even
do it in the same way now, since we can't get the original "raw" arguments
to the right place via continuation marks.

->i has a much better chance of having this optimization where possible,
and when I start converting ->i, I'll make sure to add appropriate tests.
2010-10-22 16:06:56 -07:00
Ryan Culpepper
e38b12e3e0 Removed incorrect uses of ->i underscores 2010-10-22 15:30:24 -06:00
Ryan Culpepper
c941db0bfa Added ~peek-not, cf packrat/PEG ! operator 2010-10-22 15:30:24 -06:00
Ryan Culpepper
ff7fd55d86 Check Syntax now uses interval-maps 2010-10-22 15:30:24 -06:00
Jon Rafkind
b406e74a8e remove old parser implementation. disable honu expansion and disable
debugging output
2010-10-22 14:33:22 -06:00
Robby Findler
4f236386a9 fixed an (apparently VERY old) problem with lights out and the built-in boards
please merge to release branch
2010-10-22 14:43:58 -05:00
Robby Findler
9468982d2e removed the use of opt/direct because it currently duplicates expressions
the missing fix is to have the optimizer figure out the name for the contract
instead of evaluating the contract to get the name
2010-10-22 14:07:31 -05:00
Robby Findler
31f4a120f1 added two stress tests for ->i performance 2010-10-22 14:07:30 -05:00
Jon Rafkind
e1ca24b80d add parse file 2010-10-22 10:48:12 -06:00
Jon Rafkind
a1e26dd01b try to fix infix macros 2010-10-22 10:48:12 -06:00
Jon Rafkind
1b356476a4 change printf to debug. add infix macro parser 2010-10-22 10:48:11 -06:00
Jon Rafkind
c45aba592d allow comma in templates 2010-10-22 10:48:11 -06:00
Jon Rafkind
86e7b98d65 fix condition. patterns can take literals 2010-10-22 10:48:11 -06:00
Jon Rafkind
29ed62021c convert syntax back to honu form 2010-10-22 10:48:11 -06:00
Jon Rafkind
eeaf6b4981 fix with-syntax 2010-10-22 10:48:10 -06:00
Jon Rafkind
02e87cdc0c add with-syntax 2010-10-22 10:48:10 -06:00
Jon Rafkind
03562eb8e3 fix if. add check_expect. add some comparison operators 2010-10-22 10:48:10 -06:00
Jon Rafkind
4ee161b296 dont require core files 2010-10-22 10:48:09 -06:00
Jon Rafkind
3d26928a3c parse blocks 2010-10-22 10:48:09 -06:00
Jon Rafkind
00094ba4e3 make print a macro 2010-10-22 10:48:09 -06:00
Jon Rafkind
3d6de914b4 add print - display + newline 2010-10-22 10:48:09 -06:00
Jon Rafkind
9c30bda973 use honu/core. make a convenient macro for providing stuff 2010-10-22 10:48:08 -06:00
Jon Rafkind
00989ef01b add honu function 2010-10-22 10:48:08 -06:00
Jon Rafkind
32227e391d move rest of honu files. point core at local private files 2010-10-22 10:48:08 -06:00
Jon Rafkind
b185147a45 separate honu into core and user-level modules 2010-10-22 10:48:07 -06:00
Jon Rafkind
ebb177f28d parse assignment. add simple struct form that can be accessed by field identifiers 2010-10-22 10:48:07 -06:00
Jon Rafkind
a3fefc1c35 add struct example 2010-10-22 10:48:07 -06:00
Jon Rafkind
9a984fcc2b parse assignment 2010-10-22 10:48:06 -06:00
Jon Rafkind
a998a57000 add function tests 2010-10-22 10:48:06 -06:00
Jon Rafkind
222a3f509b allow multiple patterns in a macro. parse call before macro invocation. expressions can end with any number of semicolons 2010-10-22 10:48:06 -06:00
Jon Rafkind
44fc323cff emit macro-debugger steps. dont try to use phased macro invocation 2010-10-22 10:48:05 -06:00
Jon Rafkind
af678f40ec start to trampoline macro expansion 2010-10-22 10:48:05 -06:00
Jon Rafkind
2c6cf77b53 add another introducer. compute syntax position more accurately. parse statements 2010-10-22 10:48:05 -06:00
Jon Rafkind
befa88f1ac use literal sets 2010-10-22 10:48:05 -06:00
Jon Rafkind
99545f8a08 repeater for entire expressions 2010-10-22 10:48:04 -06:00
Jon Rafkind
81544ea644 use a different syntax for expressions 2010-10-22 10:48:03 -06:00
Jon Rafkind
9894670dbe define patterns (really syntax-classes). use different parsers depending on the context. implement provide and require 2010-10-22 10:48:00 -06:00
Jon Rafkind
0ec71da614 attach original syntax properties during expansion. add debug syntax
classes.
2010-10-22 10:48:00 -06:00
Jon Rafkind
d90235efbc dont parse raw scheme syntax. fix comma replacer 2010-10-22 10:47:59 -06:00
Jon Rafkind
59db2491d0 honu-syntax supports commas 2010-10-22 10:47:59 -06:00
Jon Rafkind
1b088f7c37 expand syntax properly. force use of syntax-parse classes 2010-10-22 10:47:59 -06:00
Jon Rafkind
d5357f6dca expose syntax-parse classes 2010-10-22 10:47:58 -06:00
Jon Rafkind
721c815d89 allow macros to reparse their input 2010-10-22 10:47:58 -06:00
Jon Rafkind
066166ce65 start to get transformers to work. weave in scheme syntax 2010-10-22 10:47:58 -06:00
Jon Rafkind
3d52f5ff12 parse macro functions 2010-10-22 10:47:58 -06:00
Jon Rafkind
31cafd7974 move syntax-rules macro to a syntax-parse pattern 2010-10-22 10:47:57 -06:00
Jon Rafkind
d5533606e6 attach honu-syntax to output from syntax-rules macros 2010-10-22 10:47:57 -06:00
Jon Rafkind
177141a852 test 2010-10-22 10:47:57 -06:00
Jon Rafkind
837f1e24e5 test 2010-10-22 10:47:56 -06:00
Jon Rafkind
64255032bb start to modify scheme's `syntax' binding 2010-10-22 10:47:56 -06:00
jon
2f5593a104 implement honu-syntax 2010-10-22 10:47:56 -06:00
jon
99e6eb5e9d fix parser so that it parses left to right 2010-10-22 10:47:56 -06:00
jon
72f83d19a9 parse transformers 2010-10-22 10:47:55 -06:00
jon
e052c33998 add hook for parsing transformers 2010-10-22 10:47:55 -06:00
Robby Findler
35f64145ca adjusted the way caching works for bitmaps to be more effective 2010-10-22 06:45:57 -05:00
Robby Findler
22ce241d4d no #%plain-app because test is not a function... 2010-10-22 06:45:56 -05:00
Robby Findler
c34bd6c28d fix the metadata parsing to be more robust so drracket does not crash when opening a corrupt htdp teaching language file
closes PR 11332
2010-10-22 06:45:56 -05:00
Sam Tobin-Hochstadt
dcd3f9a9aa Flush output in fuzz testing. 2010-10-21 23:40:12 -07:00
Jay McCarthy
34e940a8b5 Testing replacing 2010-10-21 22:29:28 -07:00
Jay McCarthy
03c1c7bf66 Filling out db interface 2010-10-21 22:29:28 -07:00
Jay McCarthy
c2f8e4c0fe Adding attributes to select-input 2010-10-21 22:29:28 -07:00
Jay McCarthy
8fb23b0825 More notes 2010-10-21 22:29:27 -07:00
Jay McCarthy
039fc7095a Describing architecture a little 2010-10-21 22:29:27 -07:00
Jay McCarthy
83bcba48a8 Database template and basic testing 2010-10-21 22:29:27 -07:00
Jay McCarthy
52ee8af48e Git Monitoring process 2010-10-21 22:29:26 -07:00
Eli Barzilay
f51fd94412 Another "/proj/scheme/" -> "/proj/racket" change. 2010-10-21 20:50:57 -04:00
Eli Barzilay
aebf9e77ef Fix require in test suite 2010-10-21 20:25:37 -04:00
Eli Barzilay
9e302a7106 Rename sequence' library to stream', move from racket/base' to racket'. 2010-10-21 19:49:39 -04:00
Eli Barzilay
2f5265854a Rename seqn-*' to stream-*'.
Later this will grow, to include a few kinds of streams in a unified
way, and possibly change the sequence protocol to a point where these
functions are not causing such big runtime penalties.
2010-10-21 19:49:39 -04:00
Eli Barzilay
655b066a93 Reformat, minor tweaks, reorganize part on sequence operations into a
new section.
2010-10-21 19:49:39 -04:00
Eli Barzilay
6d6492e9e3 "/proj/scheme/" renamed to "/proj/racket/" at CCS. 2010-10-21 19:49:39 -04:00
Stevie Strickland
b272c02548 Have unconstrained-domain-> do tail checks as well. 2010-10-21 16:22:51 -07:00
Stevie Strickland
1a9dffe78d Fix tail call behavior for ->, ->* contracts. 2010-10-21 15:03:42 -07:00
Stevie Strickland
8835f2f470 Optimizing the generated syntax.
* Avoiding `apply' when unnecessary
 * Avoiding `values' when unnecessary
 * Replacing apply+list/null with let+cons/no cons.
2010-10-21 15:03:42 -07:00
Stevie Strickland
84f3cb115b Add proxies for -> and ->*.
Attempt to do a recently intelligent job by using more specific lambdas
when possible (i.e., when the arity of the function matches the arity
specified by the contract).

Also, change testcases that test creation of proxy contracts to stop
depending on the proxy-ness of -> contracts.  This also uncovered a bug
in the testcase that checks that proxy contracts aren't allowed for
the domain in hash/c.
2010-10-21 15:03:42 -07:00
Stevie Strickland
dc415b21cc Remove dead code in an attempt to make it clear what needs to change here. 2010-10-21 15:03:42 -07:00
John Clements
e717cbc84a added drdr:command-line prop on universe-test.rkt 2010-10-21 13:13:57 -07:00
John Clements
b37187da59 added universe-test 2010-10-21 07:19:10 -07:00
Casey Klein
4577de0790 Fixes PR 11336. 2010-10-20 15:56:57 -07:00
Casey Klein
42687d26d1 Reverts most of push #21257.
That push recompiles a clause of an extended metafunction by
replacing the LHS with a recompiled form of the `lhs-pat' field of the
`metafunc-case' struct. But that field (used by the test generator)
also incorporates the clause's `where' and `side-condition' clauses,
causing them to executed twice when applying the recompiled clause (once
while matching its LHS, and once while evaluating its RHS).
2010-10-20 15:56:57 -07:00
John Clements
d18f43a488 cosmetic changes only 2010-10-20 12:05:06 -07:00
John Clements
34fbc9a06f frightening bug, #%if was capturing everything 2010-10-20 12:05:06 -07:00
John Clements
dfe6f78d80 back to old style, not sure why 2010-10-20 12:05:06 -07:00
Vincent St-Amour
a15236ea4f Fix opt-lambda:. Merge to 5.0.2. 2010-10-20 14:32:37 -04:00
Robby Findler
c5c6c1c9e6 explained #:domain 2010-10-20 12:34:14 -05:00
Robby Findler
b91a0da469 fixed and ->i bug that could cause expressions to be evaluated twice 2010-10-20 08:37:26 -05:00
Mike Sperber
594c72167e use #%plain-app to avoid possible problems with code injected into the teaching languages
Follow ae37e186e7 for DMdA.
2010-10-20 12:37:05 +02:00
John Clements
70898379c5 copied 'mzlib/convert-prop attachment from outer layer to inner layer. 2010-10-19 23:28:45 -07:00
Robby Findler
a7e72a6bae fix stupidity.... 2010-10-19 23:49:18 -05:00
Eli Barzilay
1e2d4b8169 Fix rendering in local build mode -- make it create file:// urls when
insisting on an absolute url (currently happens only in the tr pages).
2010-10-19 21:06:32 -04:00
Sam Tobin-Hochstadt
9cc35d59fe Fix fuzz tester prop. 2010-10-19 17:58:29 -07:00
John Clements
60dabc8ad7 may have fixed cond in stepper tests 2010-10-19 17:50:35 -07:00
John Clements
027450d128 increase timeout on stepper automatic tests 2010-10-19 17:50:35 -07:00
John Clements
0536d52efd looks like a fix for cond 2010-10-19 17:50:35 -07:00
Robby Findler
20b596b8f2 fix pretty big for check syntax 2010-10-19 18:41:20 -05:00
Robby Findler
ea985a81d6 added some more information to the error messages when a syncheck test case fails 2010-10-19 18:41:20 -05:00
Robby Findler
5c94ca5b7c idle attempts to reduce allocation in the matcher 2010-10-19 18:41:19 -05:00
Sam Tobin-Hochstadt
50bf3dc1be Add zo-read/parse/run fuzz tester. 2010-10-19 14:51:13 -07:00
John Clements
2083181d2e got testing harness working again. 2010-10-19 14:37:44 -07:00
Jay McCarthy
afd3a90607 Adding preamble to make-xexpr-response 2010-10-19 11:29:49 -07:00
Robby Findler
920800531c adjust drracket so that, during check syntax, there is less sharing between drracket and the user program. specifically, the gui libs are not shared 2010-10-19 07:07:09 -05:00
Robby Findler
ae37e186e7 use #%plain-app to avoid possible problems with code injected into the teaching languages 2010-10-19 07:07:08 -05:00
Robby Findler
499fe40f8a minimize dependencies 2010-10-19 07:07:08 -05:00
Mike Sperber
fd5e9d4d63 Unbreak the stepper on `check-expect'.
All kinds of things expand into (let () ...), so all kinds of things
break.
2010-10-19 11:56:24 +02:00
Matthew Flatt
ddca8cd29b fix non-inlined `in-vector' sequence on proxied vectors
Merge to 5.0.2
 Closes PR 11225
2010-10-18 13:48:22 -07:00
Mike Sperber
17c4cb9254 Two more (hopefully last) renamings "Vertrag" -> "Signatur"
(i.e. "contract" -> "signature" in German)
2010-10-18 13:30:34 +02:00
Mike Sperber
43d097cc05 Don't annoy the user with test-engine summaries.
Make sure the test-engine summary is only printed when there's
something new to say.
2010-10-18 10:10:27 +02:00
Mike Sperber
0821f694af Made sperber responsible for `test-engine-tests.rkt'. 2010-10-18 10:00:49 +02:00
Mike Sperber
32455894bc Unbreak the test-engine-test.rkt test suite.
- signatures are only in ASL now
- the error messages for the DMdA languages are different
2010-10-18 09:37:48 +02:00
Mike Sperber
2a418b9cf0 For DMdA, follow Robby's fix for htpd-langs.ss.
Namely, don't set an uncaught-exception-handler.
2010-10-18 09:36:17 +02:00
John Clements
bb160fbc04 r/exact-integer?/fixnum/ 2010-10-17 21:17:23 -07:00
John Clements
9f7eeee570 exr -> expr 2010-10-17 21:17:22 -07:00
Matthew Flatt
9f959f247e fix quotability annotation on HtDP-language structs
Merge to 5.0.2
2010-10-17 19:32:17 -07:00
Robby Findler
0614da5992 adjusted the recently opened menu items code so that it does not create all of the menu items as often 2010-10-17 10:25:08 -05:00
Robby Findler
93260c7dd0 fixed mangled test case 2010-10-16 22:24:16 -05:00
Matthew Flatt
caa747e5c6 fix an interaction of `dynamic-wind' pre thunks and composable continuations
Merge to 5.0.2
2010-10-16 19:44:33 -06:00
Robby Findler
ccdea59949 added a failing test case; fixing this one isn't simple, but hopefully will also lead to good performance improvements (for some models at least) 2010-10-16 16:29:17 -05:00
Robby Findler
99d85159b6 adjusted define-metafunction/extension so that it recompiles the old cases in the new language 2010-10-16 16:29:15 -05:00
Robby Findler
e875f262d9 added a test case to be sure that the extension's clauses come before the original clauses in an extended metafunction 2010-10-16 16:29:15 -05:00
Jay McCarthy
fae28f1bb3 Disable stress 2010-10-15 13:44:34 -06:00
Jay McCarthy
e6b2965d39 Re-enabling tests 2010-10-15 13:08:39 -06:00
Jay McCarthy
05dc137ca0 Fixing srcloc on module expressions because srclocs come from the cons 2010-10-15 13:08:39 -06:00
Jay McCarthy
4528c7657a Fixing mutator test printing modulo line numbers 2010-10-15 13:08:38 -06:00
Jay McCarthy
f6fbc85d1b Adding test printing tests 2010-10-15 13:08:38 -06:00
Jay McCarthy
e8ceade2a5 Little stress tests 2010-10-15 13:08:38 -06:00
Mike Sperber
39541c51b5 Add `tech-equal?'.
This refuses to work on inexact numbers and procedures.  Use it in
`check-expect' & friends.
2010-10-15 15:26:24 +02:00
Robby Findler
1d0ebeae62 added a check to avoid creating a new bitmap struct (so caching works better when you flip images that are not scaled) 2010-10-14 14:05:12 -05:00
Sam Tobin-Hochstadt
4311a5e5d6 disable this file too 2010-10-14 14:55:51 -04:00
Sam Tobin-Hochstadt
a826b8462e disable this file since it doesn't terminate 2010-10-14 14:54:11 -04:00
Vincent St-Amour
12a5454b14 Removed logging when no optimization actually happens. 2010-10-14 14:13:06 -04:00
Eli Barzilay
42e76eaaf4 Encode any text instead of going through a pretty-printer. 2010-10-14 13:46:51 -04:00
Eli Barzilay
dc25ef2d26 Pub links for byu and calpoly. 2010-10-14 13:46:50 -04:00
Robby Findler
dac011bc9f move the signature coverage test to ASL since signatures are now only in ASL 2010-10-14 11:45:04 -05:00
Sam Tobin-Hochstadt
c7eb46b1b3 Fix props 2010-10-14 12:21:28 -04:00
Sam Tobin-Hochstadt
24bddafa82 Add type for `compose' 2010-10-14 11:44:14 -04:00
Robby Findler
61188f3e44 adjusted to new error messages 2010-10-14 10:06:26 -05:00
Robby Findler
345707b4bc adjusted props so Matthias is notified for teaching language related tests 2010-10-14 10:06:26 -05:00
Vincent St-Amour
3f5ea8a5be Fixed a test to reflect implicit let in cond instead of implicit begin. 2010-10-14 10:53:43 -04:00
Robby Findler
2f01da7450 props 2010-10-14 07:27:40 -05:00
Robby Findler
c2d7f58e65 Rackety 2010-10-13 17:44:20 -05:00
Robby Findler
2652237559 fixed a bug in extended languages & the _ check 2010-10-13 17:44:19 -05:00
Robby Findler
3e9858b001 added an argument to open-input-text-editor so that it can lock (and unlock) the editor when editing would not be allowed. 2010-10-13 15:55:17 -05:00
Robby Findler
fc22d10b49 fixed typos 2010-10-13 15:55:17 -05:00
Robby Findler
c785235af4 made the pretty big and r5rs drracket languages use the new read-accept-lang parameter to disable #lang in the REPL 2010-10-13 15:55:17 -05:00
Robby Findler
798e35bb4c fixed a bug in the test suite so that test errors are now (all) reported to stderr instead of stdout
also added a test suite for teh 'language in the source' language
2010-10-13 15:55:17 -05:00
Robby Findler
0998934e1e only require mred/mred, not all of scheme/gui (which includes
mred/mred but also lots of stuff from the scheme library)
2010-10-13 15:55:16 -05:00
Robby Findler
8032705cf9 The call to display-results depends on the value of the current-namespace
parameter. Specifically, it is expected to be a namespace that has the GUI
bindings available. Unfortunately, during the dynamic extent of the
uncaught-exception-handler when a syntax error is raised, this may not be
the case because you get a phase 1 namespace, not a phase 0 one.

So, move the call to display-results to the code that runs the student language
programs and out of the uncaught exception handler.
2010-10-13 15:55:16 -05:00
Robby Findler
e2958e0605 don't catch break exceptions 2010-10-13 15:55:16 -05:00
Robby Findler
2de8b978ba move read-accept-lang parameter setting to the right place 2010-10-13 15:55:16 -05:00
Robby Findler
d9ea5141e9 fixed doc contract spec 2010-10-13 15:55:16 -05:00
Matthias Felleisen
49060ff57c merged two error checking files 2010-10-13 15:07:33 -04:00
Matthias Felleisen
ae04ddc7d9 the mouse and key handler shouldn't be set to defaults; when there are no on-* clauses, they should be ignored 2010-10-13 14:50:55 -04:00
Matthias Felleisen
852aaed2ea removed signatures for now 2010-10-13 12:49:26 -04:00
Matthew Flatt
6e23fcda5f fix _short' and other non-_int' integer types, and add `_intptr' test 2010-10-13 08:50:47 -06:00
Matthew Flatt
1203a89a0f fix argument checking for set operations, and also fix recursive print
in the case that the current print is to a string with a limited
  length
 Closes PR 11313
2010-10-13 08:50:47 -06:00
Matthias Felleisen
df62ca47e9 added 'function', Closes PR 11283 2010-10-13 10:31:00 -04:00
Mike Sperber
bb098fc77c Added rudimentary test suite for test engine. 2010-10-13 14:01:07 +02:00
Mike Sperber
f3191ff4d6 Define `any' signature differently.
... to actually enable the subtyping check.  Also, make named
signatures work for signature variables.
2010-10-13 09:41:10 +02:00
Eli Barzilay
615d8f1329 Add _intptr etc; closes PR11311. 2010-10-12 20:58:08 -04:00
Eli Barzilay
b3cfbe77c9 Minor typo in error call 2010-10-12 20:58:07 -04:00
Matthias Felleisen
8fb58bb74e making the stepper (mostly) happy 2010-10-12 18:10:35 -04:00
Vincent St-Amour
27e722f27b Inexact-Complex -> Float-Complex 2010-10-12 16:47:46 -04:00
Vincent St-Amour
52bd739d00 Added the Float-Complex type for consistency with the new float types.
Inexact-Complex has been kept as a synonym for backward compatibility.
2010-10-12 16:47:45 -04:00
Vincent St-Amour
a59a99c42d Changed the TR numeric tower to use the new flonums. 2010-10-12 16:47:45 -04:00
Vincent St-Amour
f3ae9c73b0 Changed the interface for running single optimizer tests. 2010-10-12 16:47:45 -04:00
Vincent St-Amour
2c4d6fbb01 Added optimization for first, second and co when possible. 2010-10-12 16:47:44 -04:00
Matthew Flatt
bf4fc2574c fix syntax colorer for #true and #false 2010-10-12 08:22:12 -06:00
Mike Sperber
b80d327d40 DMdA typo fix.
--HG--
extra : rebase_source : d6f5e160c655713f30df544a60c8033410945103
2010-10-12 14:53:12 +02:00
Mike Sperber
03c2fa266b Update DMdA docs on generators for `check-property'.
--HG--
extra : rebase_source : 0cfb8434a19c3d2f2783a0f1d882fecd85c5d432
2010-10-12 14:50:22 +02:00
Matthew Flatt
99df8e1267 allow internal definitions in when', unless', cond, case', `match' 2010-10-12 06:41:49 -06:00
Eli Barzilay
7847872400 Fix some missing uses of @num 2010-10-11 15:07:28 -04:00
Eli Barzilay
6295824851 Some additional tests, and use () instead of {} for racket sexprs 2010-10-11 15:07:28 -04:00
Eli Barzilay
40ecda1a77 Sandboxes make up and remember a reasonable default source to filter
uncovered expressions on.

(See http://lists.racket-lang.org/users/archive/2010-October/042008.html
for a detailed description.)
2010-10-11 15:07:28 -04:00
Mike Sperber
c4b590d9bf Add "image2" teachpack for DMdA.
This is just our copy of 2htdp/image.
2010-10-11 13:54:29 +02:00
Mike Sperber
eebe5b2e2b 2nd attempt at generators for records/structs.
This time, with feeling.
2010-10-11 13:34:16 +02:00
Matthew Flatt
cc79890f71 rephrase `eq-hash-code', etc. docs in terms of fixnums 2010-10-10 20:39:29 -06:00
Matthew Flatt
696360d5f3 document new gc-callback protocols 2010-10-10 20:39:29 -06:00
Mike Sperber
f35477b82b Make the weak table for the signature-checked pairs truly weak.
... by wrapping ephemerons around the values.
2010-10-09 17:51:30 +02:00
Mike Sperber
f706b0d7a7 Revert "Create arbitraties off parametric struct/record signature constructors."
This reverts commit 7df9a22a67.

It was broken in several ways.  New attempt later.
2010-10-09 17:48:58 +02:00
Matthew Flatt
a0e4eb990d document racket/fasl 2010-10-09 08:15:26 -06:00
Matthew Flatt
6ac33a62be set `read-accept-lang' to #t by default, plus related adjustments
including adding some uses of `with-module-read-parameterization'
 so that `read-accept-lang' is set right anyway; still, so many
 many places just set `read-accept-reader' to #t that making
 `read-accept-lang' #f by default looks like too big of an
 incompatibility
2010-10-08 19:01:33 -06:00
Matthew Flatt
fe301b1ff4 print-boolean-long-form, #true, #false, read-accept-lang, flonum? 2010-10-08 15:13:04 -06:00
Matthias Felleisen
0eed02bd0d typo in world.rkt 2010-10-08 16:31:52 -04:00
Matthias Felleisen
58684bbf4e merged keywords back into universe 2010-10-08 16:17:41 -04:00
Matthias Felleisen
995ce61434 to-draw and on-draw check 2010-10-08 16:17:03 -04:00
Matthias Felleisen
96bf9d2518 deleted 2010-10-08 16:16:04 -04:00
Matthias Felleisen
963adb64ce run tests all at once 2010-10-08 14:04:32 -04:00
Mike Sperber
4ec7cb1d88 Unbreak coverage for *SL `define-struct'. 2010-10-08 19:56:51 +02:00
Mike Sperber
7df9a22a67 Create arbitraties off parametric struct/record signature constructors.
This enables QuickCheck value generations for structs/records.
2010-10-08 17:21:07 +02:00
Mike Sperber
219c91d8e7 Check parametric struct/record signatures eagerly. 2010-10-08 17:01:47 +02:00
Mike Sperber
5dad68b384 Zap `DMdA-' from primitive procedures in DMdA.
Meaning the the procedure names are displayed without the "DMdA-"
prefix in the stepper and the REPL.
2010-10-08 15:25:44 +02:00
Mike Sperber
b4493fdab4 Add cons' and cons?' as synonyms for make-pair' and pair?' to DMdA.
Requested by Michael Hanus & Peter Thiemann.
2010-10-08 15:25:44 +02:00
Mike Sperber
29a0511439 Give the type-name signature off `define-record-procedures' a name. 2010-10-08 15:25:44 +02:00
Mike Sperber
9b1188c77a Re-instate Robby's hack to display test results off REPL errors.
... and generalize it so there's an action before (clearing the old
tests out) in addition to after (displaying the test results).

Also, do for DMdA as for HtDP.
2010-10-08 15:25:44 +02:00