Commit Graph

16397 Commits

Author SHA1 Message Date
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
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