Commit Graph

17972 Commits

Author SHA1 Message Date
Vincent St-Amour
bf6379c363 Add a helper function to add filters en masse to express propositions
that are true about a function's arguments if the function returns.
2011-03-18 10:25:20 -04:00
Vincent St-Amour
88fac43d55 Add an Exact-Number type. 2011-03-18 10:25:20 -04:00
Vincent St-Amour
80a9027f1e Take the meet of constraints earlier in the inference process.
This avoids constraint explosions in some cases, notably when working
with polydots and plain variable arity functions at the same time.

However, this also weakens inference a bit (breaks it for
unholy-terror and related tests), but not in a way that affects any
practical use cases that I know of.
2011-03-18 10:25:19 -04:00
Vincent St-Amour
d0bab99535 Move subtype check in inference engine earlier, for performance reasons. 2011-03-17 18:43:59 -04:00
Vincent St-Amour
e450e2815b Share dotted variables to make inference faster. 2011-03-17 18:43:58 -04:00
Vincent St-Amour
bd301912c0 Remove duplicate constraints when taking their meet. 2011-03-17 18:43:58 -04:00
Vincent St-Amour
3d43724e4c Share TR responsibility with samth. 2011-03-17 18:43:58 -04:00
Vincent St-Amour
f8528ac892 Change type of make-sequence to reflect changes to its implementation. 2011-03-17 18:43:57 -04:00
Ryan Culpepper
bf591d4d01 syntax/parse: added #:disable-colon-notation option 2011-03-17 13:47:38 -06:00
Ryan Culpepper
b5154b444f syntax/parse: docs for define-simple-macro 2011-03-17 13:47:38 -06:00
Ryan Culpepper
012746540c syntax/parse: added define-simple-macro form (needs docs) 2011-03-17 13:47:38 -06:00
Ryan Culpepper
1353d40612 syntax/parse: allow zero syntax-parse clauses and zero syntax-class variants 2011-03-17 13:47:38 -06:00
Robby Findler
d0d2285c4c Adjust the dependencies in redex/pict so it doesn't depend on racket/gui/base anymore 2011-03-17 13:35:32 -05:00
Robby Findler
6e1ffc24cf fix some for-label requires 2011-03-17 13:35:31 -05:00
Kevin Tew
5b0f12b1c1 Cleanup CollectsQueue get-job 2011-03-17 11:47:11 -06:00
Vincent St-Amour
35161a0ba6 Fix expected optimization logs to reflect changes to for. 2011-03-17 13:10:19 -04:00
Vincent St-Amour
498ee4bea1 Fix TR's GUI test harness. 2011-03-17 13:10:19 -04:00
Vincent St-Amour
fe8f1c3591 Fix contract. 2011-03-17 13:10:19 -04:00
Vincent St-Amour
e9789c6697 Fix the 2-argument case of atan to conform to the documentation and
fix the documentation.
2011-03-17 13:10:19 -04:00
Matthew Flatt
ad8e959a98 tweak performance of `for' with non-inlined sequences 2011-03-16 17:02:53 -06:00
Matthew Flatt
c51daeb392 clean up sequence & generator tests 2011-03-16 16:21:26 -06:00
Matthew Flatt
4b39efdee4 fix `syntax-local-bind-syntaxes' argument checking
Closes PR 11808
2011-03-16 06:36:48 -06:00
Matthew Flatt
0efcf22ed4 racket/generator: clean-ups, including planned generalization
- syntax is now (generator formals body ...+)
 - add `generator?'
 - remove common run-time code from the `generator' macro expansion
 - doc fixes
 - start test suite
2011-03-15 20:14:01 -06:00
Matthew Flatt
b9c4bbae67 futures: limit parallelism via custodians
Closes PR 11682
2011-03-15 14:43:18 -06:00
Matthew Flatt
6a79ebdc97 adjust racket/gui test to cover no-border tab-panel% 2011-03-15 12:44:11 -06:00
Matthew Flatt
7ecf8e6c0b cocoa: fix crashing bug related to canvas sizing 2011-03-15 12:42:04 -06:00
Matthew Flatt
a2d968a5d2 fix `init-manual-scrollbars'
Closes PR 11781
2011-03-15 12:41:59 -06:00
Matthew Flatt
17a1322fe5 match': document var' pattern 2011-03-15 12:25:53 -06:00
Matthew Flatt
03e42ce618 revese accidental change in 28be0c6e89 2011-03-15 11:12:50 -06:00
Matthew Flatt
343b6fb008 Scribble: fix caching of hyperlinked identifiers 2011-03-15 11:09:10 -06:00
Eli Barzilay
64e4b73a9f Minor typo and other small things. 2011-03-15 11:46:16 -04:00
Eli Barzilay
09698c800c Improve the error message from scribble text rendering tests. 2011-03-15 11:45:40 -04:00
Robby Findler
28be0c6e89 adjust the size calculation of picts in the file/convertible connection to take into account the current-ps-setup's scale 2011-03-15 09:00:37 -05:00
Matthew Flatt
e8cb27c08c add `get-device-scale' to dc<%> 2011-03-15 07:37:42 -06:00
Matthew Flatt
3207efddb0 fix Scribble Latex/PDF handling of images w/o bounding boxes 2011-03-15 07:20:36 -06:00
Matthew Flatt
2f907afde6 code clarification 2011-03-15 06:46:36 -06:00
Robby Findler
615bc86668 added pdf-bytes+bounds to the docs for file/convertible and then used it
to make scribble render inline picts with a nearly good looking baseline
2011-03-14 19:38:29 -05:00
Robby Findler
bd3a43db98 changed some nonnegative-real?'s into (and/c real? (not/c negative?))'s 2011-03-14 19:38:24 -05:00
Robby Findler
466abb9896 typo 2011-03-14 19:38:18 -05:00
Kevin Tew
867ae7fd8b [Places] places enabled builds now use places to build collects 2011-03-14 11:46:50 -06:00
Matthew Flatt
991745108c Scribble: experiment with non-bold as syntactic-form font 2011-03-13 09:02:41 -06:00
Matthew Flatt
0101d12d49 hyperlink #<void> and #<undefined> in docs 2011-03-13 09:02:40 -06:00
Matthew Flatt
cf69cb2aff special treatment of void as 'inferred-name property
allows keyword-based application to hide temporary
 names that happen to be bound to procedure arguments
2011-03-13 09:02:39 -06:00
Matthew Flatt
3fb4561a62 scribble/manual: document `this-obj' 2011-03-13 09:02:39 -06:00
Matthew Flatt
1a6dacc4c5 clarify `path-element->string' docs 2011-03-13 09:02:39 -06:00
Eli Barzilay
01089550e2 Add comment on how to make interactions use syntax values.
Also add `code:comment' to the keyword list.
2011-03-11 15:40:13 -05:00
Matthew Flatt
449a634b2f add missing test for commit ae8705611b 2011-03-11 13:19:52 -06:00
Matthew Flatt
5afacbbb1c fix `pretty-print' confusion about quasiquote
Closes PR 11796
2011-03-11 08:02:30 -06:00
Matthew Flatt
ae8705611b scribble/eval: fix evaluation of literal #f expression
Fixed part of PR 11790
2011-03-11 07:52:16 -06:00
Eli Barzilay
5a9d954f2a Several typos from Jussi Salmela. Fixes PR 11790 -- all typos.
(Two issues remain that will be resolved later.)
2011-03-11 06:47:36 -05:00
Eli Barzilay
a18197ff25 Add a warning about the current state of racket/stream. 2011-03-11 06:47:36 -05:00
Matthew Flatt
051ec4736d gtk: fix slider value display 2011-03-11 02:50:06 -06:00
Matthew Flatt
2ba8927ba5 cocoa: flip vertical slider direction 2011-03-11 02:50:06 -06:00
Matthew Flatt
a5a7076fe0 `file-or-directory-permissions': expose more info, add write mode
and add `user-read-bit', etc., to `racket/file'
2011-03-11 02:50:06 -06:00
Matthew Flatt
2b3827504b make test suite hit tab panels more 2011-03-11 02:50:05 -06:00
Matthew Flatt
0ec4c3ae8f cocoa: fix initialization of screen bitmaps 2011-03-11 02:50:05 -06:00
Robby Findler
7378c2e42f added cdot 2011-03-10 09:18:00 -06:00
Matthew Flatt
968bf81990 win32: fix `play-sound'
by fixing path handling and preventing non-async
 play from blocking all Racket threads
2011-03-10 07:35:51 -07:00
Matthew Flatt
ca8c6a8133 cocoa: fix `play-sound'
by expanding paths properly and checking whether playing
 succeeds
2011-03-10 07:35:50 -07:00
Matthew Flatt
0b496d5275 a round of doc corrections from Gwyth 2011-03-10 06:34:33 -06:00
John Clements
ca88fdd7e5 oops rename in tests subdir too 2011-03-08 17:37:38 -08:00
John Clements
683f6b0fe4 renamed foldts to foldts-test-suite 2011-03-08 13:40:39 -08:00
Matthew Flatt
a1b79387b9 cocoa: restore "New Folder" button in put-file' and get-directory'
Closes PR 11784
2011-03-08 08:42:03 -06:00
Matthew Flatt
5f797b8f0b cocoa: fix put-file with extension as "" 2011-03-08 08:37:16 -06:00
Matthew Flatt
2eac694a3a fix `define-wish' docs 2011-03-08 08:33:04 -06:00
Matthew Flatt
501892c0ca slideshow: add a couple of contracts
--- more needed
2011-03-08 07:55:53 -06:00
Matthew Flatt
cd4d3e3d95 gtk: fix dragging events
Closes PR 11786
2011-03-08 07:55:53 -06:00
Matthew Flatt
679e9ef2e0 slideshow/pict: adjust `linewidth' to allow #f => transparent 2011-03-08 07:55:52 -06:00
Matthew Flatt
4f93672666 slideshow/code: handle infix notation
and also improve `code:line' alignment across lines
 Closes PR 8334
2011-03-08 07:55:52 -06:00
Matthew Flatt
63d465f114 SirMail: grepable message-index file format 2011-03-08 07:55:51 -06:00
Jay McCarthy
6b907d6b61 Fixing problem from Alok Thapa 2011-03-07 10:54:06 -07:00
Mike Sperber
2bdb9884d3 Don't pop up test-engine window upon innocent REPL interaction.
Closes PR 11775
2011-03-05 17:48:02 +01:00
Kevin Tew
074c76b0e6 Fix thread based places test failures. Turn on testing of places 2011-03-04 10:41:59 -07:00
Eli Barzilay
adf18c7dc0 Use runtime paths to make this work from a different directory 2011-03-03 12:25:19 -05:00
Eli Barzilay
1e3516cb26 Set responsible for tests/openssl 2011-03-03 11:10:12 -05:00
Eli Barzilay
22afec432c Use "127.0.0.1" instead of "localhost" which can be more fragile.
(It's possible to have issues with "localhost", for example when there's
something in a $LOCALDOMAIN environment variable, which made this test
fail on certain machines.)
2011-03-03 11:10:12 -05:00
Eli Barzilay
f6f7e4eb35 Clarify licensing of deflate code.
A similar comment holds for inflate.rkt in the same place, but since
that file says "Not copyrighted ..." then there doesn't seem to be an
issue that needs clarification.
2011-03-03 11:10:11 -05:00
Eli Barzilay
a3d00a910a More LGPL permissions from Chongkai, Neil, and Olin.
Also, removed the LGPL blurbs from srfi/1, and redirect to the Racket
license.  (To avoid possible future issues with license changes, such as
LGPL version.)
2011-03-03 11:09:09 -05:00
Matthew Flatt
8ea32d675c add tests from Curtis Dutton 2011-03-03 07:24:15 -07:00
Matthew Flatt
ff6da2e43e add docs for openssl additions 2011-03-03 07:18:51 -07:00
Curtis Dutton
7a33c9cebb Adds ssl-try-verify! to the openssl package along with supporting procedures.
This enables an ssl server the option to communicate with both verified and unverified peers with the same listener.

Supporting API calls...

ssl-peer-verified? -> returns #t if an ssl-port's peer has presented a valid and verified certificate
ssl-peer-subject-name -> returns the subject field of the certificate presented by an ssl-port's peer
ssl-peer-issuer-name -> returns the issuer field of the certificate presented by an ssl-port's peer
2011-03-03 07:07:53 -07:00
Matthew Flatt
107b349da0 cocoa: fix `play-sound' handling of async flag 2011-03-03 05:48:43 -07:00
Matthew Flatt
4afd36c9fd openssl: use libcrypto and libssl version 1.0 if available
and single point of control for all uses
2011-03-02 12:07:45 -07:00
Matthew Flatt
ec2a917749 Scribble: add #:left?' optional argument to margin-note' 2011-03-02 11:00:21 -07:00
Robby Findler
68b5d2abf8 adjust module lexer to handle the case of specials in the editor properly 2011-03-01 15:20:55 -06:00
Matthew Flatt
fdef90e482 fix get-column-width' method of list-box%'
by changing the name to match the docs, plus some other
  bug fixes triggered by better testing
 Closes PR 11780
2011-02-28 19:12:34 -07:00
Kevin Tew
eaebcf5fd6 [Places] fall back to threads 2011-02-28 16:03:05 -07:00
Kevin Tew
3fa033e27b doc typo fix 2011-02-28 16:03:05 -07:00
Matthew Flatt
733eab5805 fix 0-field prefab immutability flag
Closes PR 11777
2011-02-28 15:24:11 -07:00
Mike Sperber
95b5c49b9b Synch German string constants with latest. 2011-02-28 10:40:54 +01:00
Robby Findler
6f48aaeaa7 added a test case for this commit:
http://git.racket-lang.org/plt/commit/2482816d3d
2011-02-27 19:05:06 -06:00
Robby Findler
07a2ace943 added the #:pre/name and #:post/name keywords to ->i 2011-02-25 13:42:09 -06:00
Robby Findler
4b68377af1 Revert "started adding comments to the #:pre and #:post parts of ->i"
This reverts commit a27b7d5c61.

ack, sorry.
2011-02-25 09:44:34 -06:00
Robby Findler
a27b7d5c61 started adding comments to the #:pre and #:post parts of ->i 2011-02-25 09:42:23 -06:00
Robby Findler
2187773474 adjusted to change in the module language dialog 2011-02-25 09:42:16 -06:00
Matthew Flatt
93e1467b8b racket/gui: scrollbar support panels 2011-02-24 13:23:51 -07:00
Robby Findler
83b00c0cf1 adjust the module-lexer so it explicitly notes malformed #lang lines before going into "no-lang-line" mode
closes PR 11766
2011-02-22 20:42:19 -06:00
Robby Findler
2704b578b2 changed compiled/ to "compiled" in English, drop the / in French, and leave the rest to translators
closes PR 11764
2011-02-21 21:02:00 -06:00
Matthew Flatt
137d96c089 multi-column support in list-box% 2011-02-21 13:58:57 -07:00
Matthew Flatt
a01b7434b1 remove file that was added accidentally 2011-02-21 08:14:14 -07:00
Kathy Gray
4311f3401d Documentation for how wishes are used within the Beginner language. 2011-02-21 14:27:12 +00:00
Kathy Gray
7758f508c5 Addition of define-wish to the teaching languages and corresponding addition of support for wishes in test reports and check-expects 2011-02-21 12:46:39 +00:00
Eli Barzilay
59be514889 Use LGPL, after permission from Dorai and Jens 2011-02-21 07:04:42 -05:00
Robby Findler
6fff26ad12 2htdp/image: relax the constraints on 'crop' so that you can crop outside the bounding box 2011-02-21 05:28:37 -06:00
Robby Findler
c1668d894e added overlay/align, underlay/align, overlay/align/offset, and underlay/align/offset 2011-02-20 15:37:16 -06:00
Robby Findler
5822f1e95f started on overlay/offset 2011-02-20 15:37:15 -06:00
Matthew Flatt
33d01a681e racket/system: fix problems with checking and empty-string arguments 2011-02-20 11:25:25 -07:00
Eli Barzilay
fca0ed2111 Fix error message, use a faster regexp test to search for NULs, forbid empty byte strings. 2011-02-20 12:47:53 -05:00
Matthew Flatt
97870282c2 gtk: keep popup menus on the screen
Closes PR 11414
2011-02-19 19:42:20 -07:00
Matthew Flatt
85951bf665 gtk: smoother editor-canvas resize
- call `on-size' on setting the canvas size, like Win32 and Cocoa,
   which mainly shows/hides auto-shown scrollbars more on time
   (e.g., DrRacket doesn't start with horizontal scrollbars that
   immediately disappear)
 - switch mouse tracking to "hint" mode, instead of catching every
   single mouse position
 - when queueing `on-size' methos in response to client-size changes,
   cancel and queued but undelivered calls; in the case of editor
   canvases, this doesn't really have an effect, due to the other
   `on-size' call
 Closes PR 11369, hopefully
2011-02-19 16:10:00 -07:00
Robby Findler
8ae72bc29c added preference for the test coverage colors in the module language 2011-02-19 16:14:59 -06:00
Matthew Flatt
c8acebce8b fix race in subprocess test 2011-02-19 08:51:10 -07:00
Matthew Flatt
010e6fc2a4 racket/system: fix argument checking with 'exact 2011-02-19 08:43:06 -07:00
Matthew Flatt
5754269ae1 win32: fix some key events
Closes PR 11757
2011-02-19 08:36:17 -07:00
Matthew Flatt
b4056373be generalizations to `subprocess' & company
- allow byte strings in more places
  - allow stderr spec to be 'stdout to redirect stderr to stdout
 Closes PR 11711
2011-02-19 08:30:34 -07:00
Matthew Flatt
9325fe0f25 fix `peek-string-evt' and related docs
Closes PR 11748
2011-02-19 06:54:35 -07:00
Matthew Flatt
9cc7333fa9 fix `in-vector' error reporting
and also refrain from exporting some internal bindings
 frm `racket/base'
2011-02-19 06:50:54 -07:00
Matthew Flatt
ce82c74b75 win32: fix ALT-space to pop up system menu
Closes PR 11754
2011-02-19 06:39:33 -07:00
Eli Barzilay
0978b54dd2 New version for srfi-17. 2011-02-18 15:02:41 -05:00
Robby Findler
783945f96b adjust the test coverage test suite to the changes in test coverage 2011-02-18 13:20:37 -06:00
Matthew Flatt
6041833ac5 fsemaphore cleanup
- abstract over JIT inlining of fsemaphore operations
 - fix problems with non-parallel fsemaphores
 - adjust tests so they don't assume too much concurrency
 - clarify fsemaphore vs. semaphore in the docs
2011-02-18 09:55:01 -07:00
Matthias Felleisen
43da90a6bc changed write-file to return the name of the file, period 2011-02-18 09:40:04 -05:00
Kevin Tew
bdbb9fe336 Parallel Places Build 2011-02-17 16:22:49 -07:00
Kevin Tew
ad0c22a77a parallel-do refactor 2011-02-17 16:21:32 -07:00
Robby Findler
1cf98d3033 fix when check syntax is clearing out its error message editor
closes PR 11751
2011-02-17 13:53:15 -06:00
Robby Findler
3cb3b9fa83 fix a bug in PLTDRPAR 2011-02-17 12:28:22 -06:00
Robby Findler
87e637a1cc - adjust the teaching language test coverage style implementation
so that it changes immediately when the black-on-white and
  white-on-black buttons are pushed in the preferences dialog

- expanded the color preferences api a little
  to allow the specification of background colors
  in addition to the foreground/style information
  already there

- changed the test coverage style so that the colors are
  settable in the preferences dialog

  closes PR 11704
2011-02-17 12:27:00 -06:00
Robby Findler
7cc3465486 clarify the style<%>'s get-delta's docs 2011-02-17 12:26:52 -06:00
James Swaine
ca5c061a71 Fix fsemaphore-try-wait? so the sema's count is decremented. Make fsemaphore-wait and other futures-related functions cooperate with the GC better. 2011-02-16 21:14:14 -06:00
Eli Barzilay
1be26400cb Some random tidyings. 2011-02-16 15:26:15 -05:00
Eli Barzilay
8886b87876 Reformat this mess. 2011-02-16 15:26:15 -05:00
Eli Barzilay
0801525931 Merge in the docs test into the rest of the scribble tests.
Also fixed it to scan all scrbl files in the docs directory, use
runtime-path, and change the rest to racket to get the quoted printout
right.
2011-02-16 15:26:15 -05:00
James Swaine
6571bc0b0e Merge branch 'master' of pltgit:plt 2011-02-16 12:43:19 -06:00
Kevin Tew
f7d89009a4 [Scribble] Fix width of multicolumn table cells 2011-02-16 09:26:17 -07:00
Matthew Flatt
e59b96e26c fix jpeg structs to better adapt to jpeglib versions and platforms
--- specifically fixing jpeglib version 8 on x86_64
2011-02-16 07:31:37 -07:00
James Swaine
c6642de116 Added future semaphores (fsemaphores) 2011-02-15 23:27:03 -06:00
James Swaine
a98553f99b Merge branch 'master' of pltgit:plt 2011-02-15 22:58:08 -06:00
Robby Findler
7af41fddc3 We no longer need to avoid IO or worry about exceptions, so drop the with-handlers.
Revert "This is a change to paper over a bug elsewhere in the system that threatens the release."

This reverts commit 25adab8cbb.
2011-02-15 19:05:21 -06:00
Robby Findler
e3c26a2aa4 improved the setup for the front-end method so that
printing to stdout and stderr is safe and to better document
the issues
2011-02-15 18:10:03 -06:00
Robby Findler
8e94ce49e4 lift the restriction that the text:ports mixin
cannot do io from the eventspace handler thread
and add a test suite for text:ports
2011-02-15 18:10:02 -06:00
Robby Findler
62c961410c adjust the framework test suite so that queue-sexp-to-mred catches and propogates exceptions 2011-02-15 18:10:00 -06:00
Robby Findler
d5c753be88 adjusted printfs to make them a little narrower 2011-02-15 18:09:59 -06:00
John Clements
9de3f25d15 added docs, changed to optional param 2011-02-15 14:57:51 -08:00
John Clements
1b843ea161 added checking on planet unlink 2011-02-15 14:10:57 -08:00
John Clements
c1f76d418f bug fixed 2011-02-15 14:10:57 -08:00
Kevin Tew
156153f692 calling sync on a place-channel now returns the channel message just like standard racket channels 2011-02-15 13:53:01 -07:00
Matthew Flatt
21c6a9f5c8 Slideshow/Scribble: fix size of PDF generated for pict in a doc 2011-02-15 13:17:17 -07:00
Eli Barzilay
3358b40377 Forgot the meat of the change... 2011-02-15 11:34:09 -05:00
Eli Barzilay
6dccc8f059 5.1 improvement to sierpinski code from robby, can go live now 2011-02-15 11:20:51 -05:00
Eli Barzilay
2880edcb8c v5.1 stuff 2011-02-14 22:04:44 -05:00
James Swaine
f9c12f9e58 Merge branch 'master' of pltgit:plt 2011-02-14 14:02:47 -06:00
Eli Barzilay
0a2d5fd4ac Avoid using a xor brush for highlights. 2011-02-14 13:35:04 -05:00
Eli Barzilay
8d211cd048 Removed some source file specs that are no longer relevant 2011-02-14 13:35:04 -05:00
Eli Barzilay
b090dde2fb Add a "BOOM" string to the timeout message, otherwise the failure is
hard to find.
2011-02-14 13:35:04 -05:00
Robby Findler
25adab8cbb This is a change to paper over a bug elsewhere in the system that threatens the release.
Specifically, when there is an error in the namespace require (say if one of the teachpack
files gets corrupted (because you use a script that monkeys around in the installation, say,
and things go wrong)) then the first-opened method does not return normally, but raises
an exception. This, so far, is not a problem, but it appears that there is a bug in the
implementation of the drracket repl io ports that causes them to deadlock when flushing
the error port under certain conditions (I'm not sure what is really going on with this bug,
but I am observing a call to flush that fails to return) and the error-display-handler
for the teaching languages flushes the output port.

This change just avoids printing the error and so the error display handler is not called
in the fragile state. This change goes back to exactly what was happening in 5.0.2,
at least as far as the teaching language's first-opened method is concerned.

So, if this seems okay, I'd like to suggest it be included in the release.
2011-02-14 10:36:09 -06:00
Matthew Flatt
1a5f41fd71 Scribble: fix multi-line print output
Closes PR 11735
2011-02-14 07:32:21 -07:00
Matthew Flatt
da3fd90256 doc repair
for PR 11734 follow-up
2011-02-14 07:11:45 -07:00
Matthew Flatt
6320d3207a fix A4 paper description
Closes PR 11734
2011-02-14 06:10:56 -07:00
Matthew Flatt
aea79be7a4 cocoa: FFI type corrections 2011-02-14 06:10:56 -07:00
Robby Findler
d2eb80be35 missed a place where I need one fewer argument to the 'blame' constructor 2011-02-12 20:31:49 -06:00
Robby Findler
5e70dc863e Revert "at attempt to use the dc's scale and rotation to instead of doing the rotation in racket"
This reverts commit 7eefe74e93.
2011-02-12 12:00:57 -06:00
Robby Findler
2308ad7b8a remove the user field from blame structs (code cleanup after last commit) 2011-02-12 11:34:34 -06:00
Robby Findler
a8e9eabf7d take the negative blame from the reference in all cases
ie, avoid looking at the module path indicies to
  to trace back in the require chain.

  closes PR 11084
  also closes duplicate PR 11724

  please merge to the 5.1 release branch
2011-02-12 11:33:41 -06:00
Robby Findler
ae67464670 adjust test suite to work on windows and to the new agreement about reproviding 2011-02-12 11:15:01 -06:00
Robby Findler
7eefe74e93 at attempt to use the dc's scale and rotation to instead of doing the rotation in racket 2011-02-11 19:50:16 -06:00
Robby Findler
00152d2482 compile the tool files in addition to the framework and drracket when PLTDRPAR is set 2011-02-11 19:50:16 -06:00
Robby Findler
4d9c150b7b 2htdp/image: adjust tests 2011-02-11 19:50:15 -06:00
Robby Findler
731a754e2b added tests that check on provide/contract when there are multiple files containing modules
related to PR 11724
  related to PR 11084
2011-02-11 19:49:50 -06:00
Matthew Flatt
9d2e025e51 Rackety Slideshow tutorial 2011-02-11 09:59:48 -07:00
Matthew Flatt
0840430b21 clean up `define-syntax-rules'
by removing a redundant expression in an error message, adding
 tests, and documenting the fact that a syntax-error message can
 expose the pattern source to users
2011-02-11 09:59:42 -07:00
Matthew Flatt
9070a4c961 fix doc typos 2011-02-11 06:07:10 -07:00
Matthew Flatt
2d7dfab9b9 fix docs for methods that accept a list of pairs as points 2011-02-11 06:07:09 -07:00
James Swaine
22d6ad7d03 Merge branch 'master' of pltgit:plt 2011-02-10 14:38:50 -06:00
Eli Barzilay
4b1960e1f0 Don't assume that the user sexpr is a list.
Fixes PR 11718
2011-02-10 14:27:04 -05:00
Kevin Tew
160a5bd5eb parallel-do cleanup 2011-02-10 11:27:45 -07:00
Robby Findler
5cef41e08e adjust and/c so that it mentions the particular predicate (flat contract) that failed in the case that all its arguments are flat contracts 2011-02-10 11:32:40 -06:00
Robby Findler
50e9aec0ab catch more exceptions in the module lexer when it calls read-language 2011-02-10 09:56:43 -06:00
Eli Barzilay
0f14c6aa67 Use proper raco command name in make and pack.
Fixes PR 11719.
2011-02-09 21:13:55 -05:00
Jon Rafkind
5bb72d5b0e use the standard editor style to get the right colors in the line
numbers mixin. closes pr11655
2011-02-09 14:36:58 -07:00
Robby Findler
d659d2f0af changed the module lexer's strategy to be able to handle
the part of the buffer before the #lang line properly
  closes PR 11381
2011-02-09 15:27:05 -06:00
Robby Findler
9f18589c4f Rackety 2011-02-09 15:20:15 -06:00
Robby Findler
16d96cf91e minor improvements to peeking-input-port docs
- added guarantee about file-position
  - add some examples that clarify a confusion I had
2011-02-09 15:19:36 -06:00
Robby Findler
a142492833 tweaks to drracket startup compilation code and added mention of PLTDRPAR to the docs 2011-02-09 15:19:27 -06:00
Matthew Flatt
33db7b1229 fix s:home keybinding
Merge to 5.1
2011-02-09 12:43:18 -07:00
Matthew Flatt
6b1112a9ad win32: fix parent HWND of canvas%
Merge to 5.1
2011-02-09 12:26:50 -07:00
Matthew Flatt
f4a881f0e3 fix `set-icon' in frame% to make mask argument optional
Merge to 5.1
2011-02-09 09:01:34 -07:00
Matthew Flatt
f21f0bdba2 gtk: fix X selection for older Gtk versions
Merge to 5.1
2011-02-09 07:41:57 -07:00
James Swaine
19dbee0405 Added semaphores for futures 2011-02-08 17:58:02 -06:00
James Swaine
0a73a9d5a1 Added semaphores for futures 2011-02-08 17:55:12 -06:00
Jon Rafkind
7f3f861899 add documentation for the splitter mixin 2011-02-08 14:47:07 -07:00
Jon Rafkind
878787e6f3 add mixin for splitting panels 2011-02-08 14:47:07 -07:00
Robby Findler
994624b794 adjust the way drracket's parallel startup compilation mode works 2011-02-08 15:38:12 -06:00
Robby Findler
8d2d995ebc adjusted the parallel build support to use the newly available find-exe 2011-02-08 15:38:12 -06:00
Robby Findler
e096e4d5a4 moved find-exe to its own top-level file 2011-02-08 15:38:11 -06:00
Matthias Felleisen
b962c6f166 Merge branch 'master' of git:plt 2011-02-08 13:48:14 -05:00
Matthias Felleisen
2c07f6a8e6 some progress on the failing test 2011-02-08 13:46:25 -05:00
Matthias Felleisen
eed8ca10cd clean up of htdp/tests 2011-02-08 13:21:37 -05:00
Stephen Chang
c52b70244d add 125 to list of expected return codes when receiving data in net/ftp 2011-02-08 13:17:14 -05:00
Matthias Felleisen
9b5ca46da5 minor citation fix 2011-02-08 12:15:37 -05:00
Robby Findler
a509fc28fe a first attempt to use the parallel compilation stuff in drracket's startup 2011-02-08 10:55:36 -06:00
Robby Findler
dce1d0ad47 revert the module-lexer.rkt changes that I accidentally pushed 2011-02-08 10:55:35 -06:00
Eli Barzilay
42eb0a9e88 Improve the apache rewrite instructions.
Specifically, mention the `NE' flag and point at the apache "current"
version of the page.
2011-02-08 11:49:34 -05:00
Robby Findler
6a220d7d69 docs fixes for parallel-compile-files
also, (lambda args (void)) is the same as just void, so changed that.
2011-02-08 10:02:43 -06:00
Robby Findler
49c3011f49 started to fix the colorer problems (now that I undestand how!)
plus some extra checking in the colorer
2011-02-08 10:02:42 -06:00
Robby Findler
eb45a6f15b 2htdp/image: place-image/align doesn't really need to check that the second image argument has a pinhole 2011-02-06 07:25:08 -06:00
Robby Findler
5017801659 Rackety 2011-02-05 21:02:00 -06:00
Robby Findler
1ed1396d95 make sure that the parent directories exist for the hard-links file when updating the file 2011-02-05 21:02:00 -06:00
Matthew Flatt
e2a0fd02ef document limitations of on-subwindow-event' and on-subwindow-char'
Merge to 5.1
2011-02-05 16:48:40 -07:00
Matthew Flatt
3c6652b83c Adjust FrTime mailbox implementation to use `thread-{receive,send}'
instead of async channels. This change allows Fred to work. The
  change is needed due to implementation weaknesses at multiple
  levels, but mostly because `on-subwindow-event' has to complete
  atomically --- or else events are pessimistically discarded, and
  async-channel communication never completes atomically. In contrast,
  messages can be posted to the built-in message queue for a thread
  (because it's built in). Probably the async-channel library should
  switch to using the built-in thread queue support.
 Merge to 5.1
2011-02-05 16:48:40 -07:00
Robby Findler
4f165d3bc7 make hard links be version specific 2011-02-05 17:21:53 -06:00
Matthew Flatt
5eeec97878 adjust racket/gui/base' to re-export file/resource'
Merge to 5.1 along with b4ce4bb, 3375005, 18eb7c8, 3c4807f
2011-02-05 14:05:08 -07:00
Matthew Flatt
3c4807f032 fix coverage of `file/resource' tests 2011-02-05 08:33:27 -07:00
Matthew Flatt
18eb7c86b5 get-resource' and write-resource': support .ini files 2011-02-05 07:39:29 -07:00
Jay McCarthy
b4c3d82c94 Fixes PR11713 2011-02-05 07:13:26 -07:00
Matthew Flatt
da6d4f3fba futures: fix `future' when given a non-JITted procedure
Merge to 5.1
2011-02-05 06:43:09 -07:00
David Van Horn
760a58b65d Fixes more spelling errors. 2011-02-04 19:44:13 -07:00
Matthew Flatt
845ca2d586 cocoa: yet another hack around weird cocoa behavior
Closes PR 11712
 Merge to 5.1
2011-02-04 19:43:59 -07:00
Ryan Culpepper
2c1d49de6f fixed macro stepper bug
Merge to release branch
2011-02-04 15:42:25 -07:00
Ryan Culpepper
755b3d2df2 improve rackunit gui performance 2011-02-04 15:42:25 -07:00
Matthew Flatt
337500552c `file/resource': improve compatibility
by generating "failure" results instead of exn:fail:unsupported
2011-02-04 14:25:09 -07:00
Matthew Flatt
b4ce4bbd2c add `file/resource' 2011-02-04 13:39:49 -07:00
Robby Findler
74f8b0e2f1 add a little more about quasiquote to the guide
Please merge to the 5.1 release branch
2011-02-04 13:08:12 -06:00
Matthew Flatt
8f404a4618 win32: fix horizontal `radio-box%'
Merge to 5.1
2011-02-04 09:20:49 -07:00
Matthew Flatt
e1303dc400 cocoa: change `radio-box%' implementation of no selected buttons
(not sure how I missed the `setAllowsEmptySelection' method before,
  but maybe there was some reason to avoid it that I've forgotten
  --- so *don't* merge to 5.1)
2011-02-04 09:20:47 -07:00
Casey Klein
fe0525b7bb Reduces the memory used by the randomized tests 2011-02-04 09:15:38 -06:00
Matthew Flatt
5d1b78384d cocoa: fix problems with `radio-box%' in no-selection mode
Closes PR 11708
 Merge to 5.1
2011-02-04 07:26:45 -07:00
Matthew Flatt
913f6b5486 fix dc<%>
Closes PR 11706
 Merge to 5.1
2011-02-04 07:26:45 -07:00
Matthew Flatt
ab588eb69a fix doc bug
Closes PR 11690
 Merge to 5.1
2011-02-04 07:26:45 -07:00
Eli Barzilay
c4661de049 Bump version numbers of mzscheme and mred.
(These things should not be used anymore.)
2011-02-04 04:30:12 -05:00
Eli Barzilay
d2a6da7561 Proxy the irc logs from pre.racket-lang.org.
That's where the bot needs to run; use a proxy instead of NFS.
2011-02-03 21:27:08 -05:00
Ryan Culpepper
e3c02f7072 auto-open top-level test suites in rackunit gui
Merge to release branch
2011-02-03 17:02:36 -07:00
Ryan Culpepper
9d42ef9235 fixed race in rackunit gui
Merge to release branch
2011-02-03 17:02:36 -07:00
Ryan Culpepper
1054c504ea fix macro stepper bug (missing hash)
Merge to release branch
2011-02-03 17:02:35 -07:00
Ryan Culpepper
4ef3dfe6a8 fixed doc typo
Fixes PR 11703
  Merge to release branch
2011-02-03 17:02:35 -07:00
Robby Findler
c119cef915 don't show themodule langauge opt-in buttons when we're not in the module language anymore
(this extra check is necessary because we might have moved languages between
    the time the timer is started and when it fires)

   closes PR 11705

   Please merge to the release 5.1 branch
2011-02-03 18:01:30 -06:00
David Van Horn
c9519fd113 Fixed various spelling errors. 2011-02-03 17:42:33 -05:00
Sam Tobin-Hochstadt
6099806a72 codeblock:
fix language regexp to accept numbers in #lang
2011-02-03 17:42:33 -05:00
John Clements
e4c4170d31 updated props in test dir 2011-02-03 14:17:18 -08:00
Eli Barzilay
2fe690b29e Try to kill the test thread after a minute, and exit after another minute. 2011-02-03 15:55:57 -05:00
John Clements
d2771cfb53 added big-bang-test.rkt 2011-02-03 10:27:47 -08:00
John Clements
4344fe004a added purpose statement for fn 2011-02-03 10:27:46 -08:00
Eli Barzilay
83d2e5c151 Check for libracket instead of any .so file 2011-02-03 10:23:16 -05:00
Robby Findler
b683ba3918 doubled the timeout for the future random tests 2011-02-03 09:05:25 -06:00
Matthew Flatt
08cc4dffb2 fix guide typos
Closes PR 11700
 Merge to 5.1
2011-02-03 06:31:17 -07:00
Matthew Flatt
16eb172e5a fix jpeg writing
Closes PR 11701
 Merge to 5.1
2011-02-03 06:31:17 -07:00
Robby Findler
0fce29f552 adjust the wxme reader so that it now creates image-snip%s when it finds image-snips in file
it used to create image% objects that were simple containers for the
  data in the file; the change _should_ be backwards compatibile;
  the only know incompatibility is that the get-filename method
  now returns a path instead of bytes (this is to match the
  image-snip% class)

   closes PR 1168

   please merge to the 5.1 release branch
2011-02-02 20:26:52 -06:00
Matthew Flatt
c2c6c79a15 fix `image-snip%' unmarshaling with filename
Merge to 5.1
2011-02-02 19:03:20 -07:00
Robby Findler
63aa388d49 missed a multiple-vlaues change in a short-cut case.
Please merge to the 5.1 release branch
2011-02-02 17:27:26 -06:00
Matthew Flatt
d704f9565b fix typo 2011-02-02 16:09:45 -07:00
Vincent St-Amour
2935170eff Fix more doc typoes.
Closes PR 11694.

Merge to 5.1.
2011-02-02 14:19:15 -05:00
Vincent St-Amour
62327c5f50 Fix make-->vector doc typo.
Closes PR 11698.

Merge to 5.1.
2011-02-02 14:00:14 -05:00
Kevin Tew
2b045b991e bytes-join 2011-02-02 10:37:57 -07:00
Matthew Flatt
0eed4e9462 gtk: map left-tab key to #\tab
Closes PR 11697
 Merge to 5.1
2011-02-02 06:46:03 -07:00
Matthew Flatt
2d01241f7a gtk: fix drag-and-drop URI decoding
Closes PR 11695
 Merge to 5.1
2011-02-02 06:32:51 -07:00
Matthew Flatt
7291d944c3 gtk: force display of images in button labels
Merge to 5.1
2011-02-02 06:05:03 -07:00
Eli Barzilay
52f2e812fb Comment out what looks like debugging output
(cherry picked from commit d01e6a8dcc)
2011-02-01 20:52:08 -05:00
Ryan Culpepper
fd3595e7d3 warning to stderr, not stdout
See PR 11691
  Merge to release branch
2011-02-01 16:40:48 -07:00
Vincent St-Amour
3c081d8fa7 Document the Path-String type. 2011-02-01 18:00:26 -05:00
Robby Findler
8c6c1a0e9b fix the get-token-range method in the case that the colorer's current region doesn't start at the begining of the buffer
Please merge to the release branch
2011-02-01 14:52:18 -06:00
Robby Findler
823b6629aa add an extra check to make sure drracket is more likely to startup when things go wrong in strange ways
Please merge to the 5.1 release branch
2011-02-01 12:12:36 -06:00
Jay McCarthy
0aa19be48e External versions
Merge to release branch
2011-02-01 08:55:53 -07:00
Kevin Tew
2e1dffbfcc raco make -j 2011-02-01 08:27:56 -07:00
Matthew Flatt
aed0980f1b doc clarifications on numbers 2011-02-01 08:01:17 -07:00
Matthew Flatt
b70e1eca60 fix problem with `raco exe'
Merge to 5.1
2011-02-01 08:01:16 -07:00
Matthew Flatt
dfa36afa89 change `floating-point-bytes->real' to always produce a flonum 2011-01-31 19:52:50 -07:00
Matthew Flatt
ff0a591b7b change FFI `_float' to coerce to Racket double-precision flonum 2011-01-31 19:33:07 -07:00
Matthew Flatt
3ef32d915b make inexacts `eqv?' only when precision is the same
plus some other small fixes
2011-01-31 19:16:33 -07:00
Matthew Flatt
9f7ea2435e bind `double-flonum?' so that it has its own name 2011-01-31 18:14:28 -07:00
Matthew Flatt
1e09a544a6 adjust _float' and _double' FFI types to accept any inexact real
whether single-precision or double-precision
2011-01-31 18:04:05 -07:00
Robby Findler
ce4bf97bde monitor the font size preference in order to redo the one-line size computation for the search bar
closes PR 11687
2011-01-31 17:46:31 -06:00
Vincent St-Amour
1b3052748e Add a case-> type-constructor as a synonym for case-lambda. 2011-01-31 16:39:20 -05:00
Vincent St-Amour
d65438c9ea Remove some legacy bindings. 2011-01-31 16:39:19 -05:00
Vincent St-Amour
22391be437 Cleanup of exposed base types. 2011-01-31 16:39:19 -05:00
Vincent St-Amour
0f0a2625c6 Fix typechecking of single flonum literals, now that they are enabled by default. 2011-01-31 16:39:18 -05:00
Vincent St-Amour
f1c6c74284 Small-Float -> Single-Flonum 2011-01-31 16:39:18 -05:00
Vincent St-Amour
4ac36fd59b Added the new single-precision float function to TR. 2011-01-31 16:39:18 -05:00
Vincent St-Amour
e65b206e6e Add functions to convert back and forth between floating-point representations. 2011-01-31 16:39:17 -05:00
Vincent St-Amour
03ec1ec501 Add a single-flonum? predicate to test for single-precision floats. 2011-01-31 16:39:17 -05:00
Vincent St-Amour
ac76d963b0 Enable single-precision floats by default. 2011-01-31 16:39:17 -05:00
Vincent St-Amour
c997ae139b Single-precision floats now print differently from their double-precision
counterparts.
2011-01-31 16:39:16 -05:00
Vincent St-Amour
d220e0a10b Add read syntax for single-precision float specials. 2011-01-31 16:39:16 -05:00
Vincent St-Amour
b26531774b Update base-env-indexing to use the new types. 2011-01-31 16:39:15 -05:00
Vincent St-Amour
46f086282d Bytes are a sequence of the new Byte type. 2011-01-31 16:39:15 -05:00
Vincent St-Amour
5dbc752542 Edit TR's optimizer's docs to reflect that Float-Complex is the only
complex type that can be optimized.
2011-01-31 16:39:15 -05:00
Vincent St-Amour
768bb63361 Fix optimizer to work with new types. 2011-01-31 16:39:14 -05:00
Vincent St-Amour
a0a54b231d Fix TR tests. 2011-01-31 16:39:14 -05:00
Vincent St-Amour
e56663c943 Add a predicate field to base types, which makes checking for
subtyping of value types easier.

However, this means that base types can't be marshaled as before,
since these predicates can't be marshaled. Instead, we now marshal
base types as identifiers that refer to their base type object.
2011-01-31 16:39:13 -05:00
Vincent St-Amour
3e27ed607c Avoid generating large contracts for common numeric types. 2011-01-31 16:39:13 -05:00
Vincent St-Amour
d4c93cc12e TR's numeric tower is now built from unions of non-overlapping base types.
A lot of the work that was done by special-casing number types can now be
done by TR's handling of unions. This makes it easier to add more numeric
types to the tower and should make writing down types for numeric
primitives much less error-prone.

In addition, this commit adds several numeric types that will help get
tighter bounds on integer arithmetic, such as Index types. They will have
to be integrated to the base environment before they can be useful.
2011-01-31 16:39:13 -05:00
Vincent St-Amour
78c4809177 Make bare union constructor smarter. 2011-01-31 16:39:12 -05:00
Vincent St-Amour
4b3e621d0f Documented opt-lambda: and popt-lambda:. 2011-01-31 16:39:12 -05:00
Matthew Flatt
152c636e1c cocoa: fix problem with dispatching key-up events
Closes PR 11635
 Merge to 5.1
2011-01-31 12:40:37 -07:00
Casey Klein
f7fd6ee689 Changes the term generator to produce shorter sequences
It now uses the (local) size bound instead of the (global) attempt count.
2011-01-31 12:36:42 -06:00
Matthew Flatt
dd5f0dfc80 fix `read-language' exn construction in an EOF case
Closes PR 11683
 Merge to 5.1
2011-01-31 06:49:13 -07:00
Robby Findler
3add4bce4d attempt to clarify the overlay/xy and underlay/xy documentation
Merge to 5.1
2011-01-31 06:45:02 -06:00
Robby Findler
fad47541b2 after viewing the mars splash screen, go back to the original splash screen (usually) 2011-01-30 21:50:36 -06:00
Matthew Flatt
bbb12848d1 cocoa: create window to show composition via an input method
Merge to 5.1
2011-01-30 17:33:12 -06:00
Matthew Flatt
e2c43bf3ec avoid `on-size' problems
Merge to 5.1
2011-01-30 17:33:11 -06:00
Eli Barzilay
6b5e09073a Reorganize, improve, and extend lazy tests. 2011-01-30 13:52:04 -05:00
Stephen Chang
08d99f4858 add test for lazy take bug fix -- invariant being incorrectly tested on unforced arg 2011-01-30 12:12:55 -05:00
Stephen Chang
808361b789 fix lazy take bug -- invariant being tested on unforced argument 2011-01-30 12:10:57 -05:00
Matthew Flatt
bc5ab1e031 fix problems with `read-language' error reporting 2011-01-30 07:47:46 -06:00
Robby Findler
a7fb695c88 fix a docs typo
closes PR 11677
2011-01-29 18:58:21 -06:00
Casey Klein
3250ff846c Adds a Redex version of Jay's continuation mark transformation 2011-01-29 15:26:30 -06:00
Matthew Flatt
e43fa461a4 doc typo 2011-01-29 13:32:24 -06:00
Robby Findler
4090eabacb added a color:text method get-token-range and then used that to improve how f1 in drracket works
Please include this commit on the release branch
2011-01-29 12:28:26 -06:00
Robby Findler
e05e6efc7a added a missing syntax error check 2011-01-29 11:20:12 -06:00
Matthew Flatt
46dc2d6683 Scribble: improve interaction', examples', etc. for non-text
by setting the default output port in the sandbox to support
 content as "specials" when `current-print' is changed
2011-01-29 09:55:40 -06:00
Matthew Flatt
b485d375b0 cocoa: event-dispatch repairs, especially when no frame is shown
Relevant to PR 11672
2011-01-28 12:43:51 -06:00
Matthew Flatt
dc2bdfcea3 `frame%' style doc corrections
to sync with gr2 changes
2011-01-28 11:14:01 -07:00
Matthew Flatt
96fd11eede DrRacket line numbers: fix condition for whether to draw a number 2011-01-28 06:22:28 -07:00
Matthew Flatt
5467f89a23 remove non-working get-font' method of control<%>'
Closes PR 9938
2011-01-28 05:55:41 -07:00
Matthew Flatt
2ab0d36738 cocoa: fix first-responder tracking when a frame is hidden 2011-01-27 19:20:13 -07:00
Matthew Flatt
2c0a034792 doc typo fixes from Eric Hanchrow 2011-01-27 19:20:13 -07:00
Stephen Chang
9924ac8060 add tests for lazy take 2011-01-27 17:04:58 -05:00
Vincent St-Amour
36ae5a9d50 Fix nightly running of TR tests. 2011-01-27 16:49:45 -05:00
Jay McCarthy
0714c7222c Fixing PR11661 2011-01-27 13:38:16 -07:00
Jay McCarthy
d771211a7e Fixing PR11674 and then some 2011-01-27 13:38:16 -07:00
Matthew Flatt
45999143a4 gtk: fix float frames to not appear in WM's window list 2011-01-27 12:25:53 -07:00
Matthew Flatt
08bf77deeb gtk: list-box dclick 2011-01-27 12:26:23 -07:00
Matthew Flatt
d34deeba91 win32: fix printing bug related to clipping 2011-01-27 12:26:23 -07:00
Robby Findler
efb66b0cc4 disable the new {} indentation until it can be done in a #lang language-specific way 2011-01-27 11:21:46 -06:00
Robby Findler
419ca0a36d adjust the test-engine test suite to use the new preferences location 2011-01-27 11:00:49 -06:00
Matthew Flatt
3448767f97 fix SRFI-14 test 2011-01-27 08:04:39 -07:00
Stephen Chang
f60957282f fix (take 0 nonemptylist) test in tests/lazy/langimpl.rkt 2011-01-26 18:14:34 -05:00
Stephen Chang
1ab22f7c2b add tests for push#22080 2011-01-26 17:26:44 -05:00
Eli Barzilay
40610643bf Make `take' less forceful -- so now (take 0 (error "foo")) returns '()
instead of throwing an error.
2011-01-26 17:06:17 -05:00
Eli Barzilay
d2c2112ebc Avoid possible X forwards 2011-01-26 15:51:33 -05:00
Stephen Chang
39194ba5da in lazy.rkt, fix bug in take, where (take 0 non-null-list) was not evaluating to null 2011-01-26 15:27:18 -05:00
Matthew Flatt
8cbc701671 cocoa: fix problems with live-resize
that were created by the queue-sync change
2011-01-26 12:57:01 -07:00
Vincent St-Amour
2bd0145603 Generalize hash table literals and subtypes of symbol.
Closes PR 11670.
2011-01-26 14:23:19 -05:00
Matthew Flatt
630dee7227 cocoa: better sync between Cocoa and Racket event queues
to reduce inversion where a low-priority callback runs
 when a GUI event is available
2011-01-26 12:19:48 -07:00
Jon Rafkind
7ff1cdde81 use the currently documented function. closes pr11668 2011-01-25 21:25:36 -07:00
Matthew Flatt
b5bc288f67 Windows: fix `path-list-string->path-list' to throw away quotes
--- which seems to be what the command shell does with quotes in
 PATH, at least; Microsoft isn't in the habit of documenting this
 sort of thing
2011-01-25 20:30:33 -07:00
Matthew Flatt
88218036cc doc clarifications about line counting in ports 2011-01-25 20:01:30 -07:00
Robby Findler
71236aa48c make completions box handle clicking around a little bit better 2011-01-25 20:58:50 -06:00
Robby Findler
f182d0def4 drop superflous dependency on srfi1 2011-01-25 20:58:47 -06:00
Robby Findler
e0703e251b fix sizing and font inconsistencies in the completions box 2011-01-25 20:58:44 -06:00
Robby Findler
90d9256073 change a get-preferences to a preferences:get
closes PR 11667
2011-01-25 20:58:41 -06:00
Robby Findler
85c955fad6 tweak to move interactions fetch to the eventspace handler thread 2011-01-25 20:58:39 -06:00
Matthew Flatt
60335d9b23 fix `vector-copy' range checking for starting position 2011-01-25 15:46:52 -07:00
Eli Barzilay
f8039ddb74 Another place that needs to know about f14 2011-01-25 14:15:06 -05:00
Stevie Strickland
a04b8d9899 Change instanceof/c to allow more contracts.
Now instanceof/c no longer checks explicitly for a class/c contract, so
or/c or and/c of class/c contracts succeed.
2011-01-25 14:07:30 -05:00
Matthew Flatt
5e3dbbc3f8 change gracket -z' to just use read-eval-print-loop'
instead of `textual-read-eval-print-loop'
2011-01-24 19:47:21 -07:00
Matthew Flatt
fb406390b7 fix readline port to obey port protocol & use interaction port handler
--- in particular, it no longer blocks on a read request; the
     call to the readline library now uses a separate thread,
     so that the input port can return an event
2011-01-24 19:47:21 -07:00
Matthew Flatt
069a7c2b48 add current-get-interaction-input-port' and adjust racket/gui'
so that GUI events are dispatched while a REPL is blocked on input
2011-01-24 19:47:20 -07:00
Matthew Flatt
ce2d6030c7 add filter-read-input-port' to racket/port' 2011-01-24 19:47:20 -07:00
Matthew Flatt
28351c1795 fix typo 2011-01-24 19:47:20 -07:00
Matthew Flatt
cf548f197e add eventspace-event-evt' to racket/gui/base' 2011-01-24 19:47:20 -07:00
Robby Findler
0dc71e9405 improve the bitmap function in 2htdp/image
related to PR 11362
2011-01-24 16:26:15 -06:00
Vincent St-Amour
903d7c06bb Ceci n'est pas une grammar mistake. 2011-01-24 17:00:57 -05:00
Matthew Flatt
f36db863bb refine `char-graphic?' to include all chars in L and N categories
Closes PR 11664
2011-01-24 07:08:11 -07:00
Eli Barzilay
8d52697a75 New x86_64 version 2011-01-24 05:08:09 -05:00
Robby Findler
3f9c2ca968 be less conservative about refreshing the screen in check syntax when erasing the annotations 2011-01-23 18:03:03 -06:00
Robby Findler
3abfb8ce91 adjusted f1 in drracket so that it uses the syntax colorer
(this fixes hitting f1 on things like the "racket" in @racket[...])
2011-01-22 19:39:47 -06:00
Robby Findler
71ecf83d63 delay the update of the module language's re-parsing of the editor (and re-computing the buttons) until no keys have been typed for 200 msec
closes PR 11406
2011-01-22 17:30:08 -06:00
Robby Findler
faf152a931 added a status dialog for the module language's create stand-alone executable case
closes PR 11660
2011-01-22 16:21:20 -06:00
Robby Findler
54d556b368 adjusted PLTDRCM in trace mode to use the log-info printouts instead of manager-trace-handler 2011-01-22 16:06:47 -06:00
Robby Findler
23012928a6 added a log-info call to incidate when a compilation finishes 2011-01-22 16:06:45 -06:00
Robby Findler
0fe0858ba8 adjustments to the colorer-out-of-sync gizmo
(the "()" in the bottom right of the drracket window)
  to make sure that it is right when switching tabs
  and when a frame is first opened
2011-01-22 16:06:44 -06:00
Matthew Flatt
cef9f90c27 gtk: remove debugging printf 2011-01-22 13:30:05 -07:00
Matthew Flatt
127d563bd8 gtk: fix reparent problem with parent-relative location is unchanged 2011-01-22 13:10:01 -07:00
Matthew Flatt
69859850f3 finish implementing display of menu shortcuts
that involve non-chars shortcuts and alternate prefixes
2011-01-22 10:15:14 -07:00
Matthias Felleisen
814a847323 made to-draw/on-draw in big-bang mandatory; Closes PR 11663 2011-01-22 12:07:24 -05:00
Mike Sperber
9c4c0b0848 Synch German string constants with latest. 2011-01-22 17:30:19 +01:00
Mike Sperber
18662741fb Fix signature-checking bug with DMdA's `define-record-procedures'.
Define the predicate before the constructor, as the predicate may be
used in checking the signature of the constructor.
2011-01-22 16:23:23 +01:00
Robby Findler
db13cddef0 added docs and contract for preferences:get-preference/gui 2011-01-22 07:43:57 -06:00
Robby Findler
45a635339e refactored to make testing check syntax renaming possible
made sure to remove duplicates from the list before doing renaming
  closes PR 11659
2011-01-21 22:27:18 -06:00
Matthew Flatt
ac083b9148 fix clipping for PostScript/PDF drawing 2011-01-21 21:09:07 -07:00
Matthew Flatt
b112fd76df add reparent' to subwindow<%>' 2011-01-21 20:21:21 -07:00
Matthew Flatt
8228ce92cf win32: fix canvas-refresh problem when a canvas is shown
and when it has been drawn onto outside of `on-paint';
 also, try to prep the content of all canvases within a
 top-level window before the window is shown (as on other
 platforms)
2011-01-21 09:09:05 -07:00
Matthew Flatt
e331f1bce2 gtk: fix `get-focus-window' in frame%
Closes PR 11654
2011-01-21 09:07:46 -07:00
Robby Findler
72b7c26290 add match to the default indentation and squarebracket preferences
closes PR 11656
  closes PR 11653
2011-01-21 06:47:28 -06:00
Matthew Flatt
ac99c69f0c fix a `raco exe' problem with finding shared-library paths 2011-01-20 21:17:36 -07:00
Jay McCarthy
aadb1b60bb Repenting of misunderstanding docs 2011-01-20 20:53:11 -07:00
Jay McCarthy
faa0632de8 Seems to fix Robby's issue with DrRacket REPL 2011-01-20 20:53:10 -07:00
Robby Findler
8c513f2b32 drracket tests: dont' insist on a stacktrace for break exceptions 2011-01-20 19:05:43 -06:00
Matthew Flatt
4529fbe5e6 win32: fix dialog centering 2011-01-20 16:47:14 -07:00
Matthew Flatt
0bc987e66b fix default dialog% position (centered)
Closes PR 11637
2011-01-20 16:42:45 -07:00
Robby Findler
2043b4ad6f various bug report form changes and fixes
- show discard-all-bug-reports menu item as long as there is at least one bug report
- move the close-and-save button to the left-hand side of the dialog
- ask about discarding bug reports when clicking the close box
- working dealing with empty bug reports
- the 'finished' stage of the bug report form sets the focus to the close button

  closes PR 11644
  closes PR 11645
  closes PR 11638
  closes PR 11640
2011-01-20 17:21:11 -06:00
Kevin Tew
ea3b9d2a8e typo fix 2011-01-20 15:57:39 -07:00
Kevin Tew
a42ea71113 Scribble with-compile-output fix 2011-01-20 15:57:39 -07:00
Matthew Flatt
128fedaceb fix `message-box' to use eventspace of parent, if any 2011-01-20 15:47:03 -07:00
Matthew Flatt
caa0026bc2 fix put-preferences 2011-01-20 15:09:15 -07:00
Robby Findler
b25c9591f6 remove leftover printf and adjust splash screen width default 2011-01-20 15:40:50 -06:00
Matthew Flatt
0c193a599a fix uncaught-exception-handler handling of non-escaping escape handler
and change the emergency error display handler to log and error
 Closes PR 11630
2011-01-20 14:01:33 -07:00
Matthew Flatt
0a56e0fc6a fix pref name 2011-01-20 14:01:32 -07:00
Kevin Tew
bc580ac125 call-with-file-lock/timeout 2011-01-20 13:33:02 -07:00
Kevin Tew
64521e70ea Remove dead code 2011-01-20 13:33:02 -07:00
Robby Findler
0f579711ac fixed the result contract of message+check-box (it was missing the second value) and then did a bunch of other minor contract tweaks to get rid of false/c and one-of/c 2011-01-20 14:08:34 -06:00
Robby Findler
1b29fd590b adjusted test-engine to use the framework preferences library so that drracket still starts up when there is a locked preference file under windows 2011-01-20 14:08:33 -06:00
Robby Findler
2ddf90f3fc adjusted deinprogramm preferences to use the framework preference system so that drracket still starts up when there is a locked preference file under windows 2011-01-20 14:08:32 -06:00
Robby Findler
cde613218e adjusted the framework preferences system to work better with failures under windows 2011-01-20 14:07:12 -06:00
Robby Findler
939f41670d docs typos 2011-01-20 14:06:00 -06:00
Robby Findler
b2dfe78fb0 Rackety 2011-01-20 14:05:59 -06:00
Jay McCarthy
87865cb1bd Fixing PR11649 2011-01-20 12:13:13 -07:00
John Clements
d675c7b12a updated PLAI (and test cases) to use racket language rather than scheme 2011-01-20 10:21:22 -08:00
Matthew Flatt
cbea645284 fix try-atomic bug related to cont-mark-set-first and recent prompt fix 2011-01-20 07:10:05 -07:00
Matthew Flatt
e94f7e0039 fix doc typos 2011-01-20 07:10:05 -07:00
Jay McCarthy
5014cff4c1 Fixing PR11515 2011-01-19 16:25:25 -07:00
Kevin Tew
0512aa1e27 Type fix in guide 2011-01-19 12:35:24 -07:00
Matthew Flatt
f662ea5322 DrRacket printing: disable date and filename banner 2011-01-19 06:32:30 -07:00
Matthew Flatt
676066f103 win32: printing page size 2011-01-19 06:32:29 -07:00
Matthew Flatt
7e06c25228 fix typo in error message 2011-01-18 19:52:31 -07:00
Matthew Flatt
339ce9c594 clarification on #:timeout-lock-there' arg of get-preference' 2011-01-18 19:52:04 -07:00
Matthew Flatt
784c3de563 fix port as PostScript/PDF/SVG destination
by putting port-calling work in a specific thread
2011-01-18 19:50:50 -07:00
Matthew Flatt
4fc8797df2 cocoa: fix printing bounds 2011-01-18 18:42:39 -07:00
Matthew Flatt
98822cf1f9 adjust `racket/gui' and dependencies to survive a locked preference file
- adds a `#:timeout-lock-there' argument to `get-preference'
 - fixes preference looup in `racket/gui'
 - make preference names consistently use `GRacket' and consistently
   fall back on `MrEd' names
 - fix Emacs-style undo mode while we're at it
2011-01-18 17:37:33 -07:00
Matthew Flatt
183323a2c5 fix `editor<%>' printing problems
- pagination for `pastebard%'
 - always put everything on a single page for EPS mode
 - add PDF support to mirror PS support
2011-01-18 14:16:25 -07:00
Jon Rafkind
4130c44cf6 note that an error is about to occur. closes pr11576 2011-01-18 11:25:03 -07:00
Matthew Flatt
5bdc8a58b4 gtk: add missing keycode for Insert key
Closes PR 11412
2011-01-18 11:02:47 -07:00
Matthew Flatt
3ff7ca2d31 change `text-field%' to treat numpad Enter like normal Enter/Return
Closes PR 7890
2011-01-18 11:02:46 -07:00
Robby Findler
e95957483c fix a bug in the indenter relating to {} tabbing 2011-01-18 10:54:56 -06:00
Robby Findler
a20809c347 added bitmap/url to 2htdp/image 2011-01-18 10:54:55 -06:00
Matthew Flatt
c12d52f21b cocoa: fix problems with some input methods (such as Kotoeri)
but the problem remains that the input state is invisible while
 characters are being composed
2011-01-17 20:27:55 -07:00
Robby Findler
90826f3533 get rid of a bogus use of eq? => should improve the coloring of the language popup in drracket's bottom left corner 2011-01-17 20:56:06 -06:00
Matthew Flatt
d8e123753c gtk: enable input-method (e.g., Chinese) support 2011-01-17 18:28:31 -07:00
Kevin Tew
d94281bb96 Remove unused code 2011-01-17 17:39:47 -07:00
Kevin Tew
e5cc1dec84 Readable parallel doc errors following mflatt's suggestion 2011-01-17 17:39:47 -07:00
Matthew Flatt
0e0f88be00 Scribble docs: clarify 'hidden v.s 'toc-hidden and "on this page"
Closes PR 11554
2011-01-17 16:25:09 -07:00
Robby Findler
d4aeb3fa4c Rackety 2011-01-17 17:19:37 -06:00
Matthew Flatt
d5fdee7e06 add argument to `regexp-try-match' to match docs
Closes PR 6579 --- which was actually about the
 now next-to-last argument, but close enough
2011-01-17 15:18:05 -07:00
Robby Findler
70e3074baf found another place in the framework test suite where operations weren't happening on the eventspace handler thread 2011-01-17 15:35:35 -06:00
Robby Findler
ff800c997e make the example-test private file's work be behind a thunk (so more drdr friendly) 2011-01-17 15:04:00 -06:00
Matthew Flatt
36155e913e get rid of the old barriers around GUI event dispatch
since, on further reflection, it doesn't seem needed, and a simple
 prompt seems to make everything work right
2011-01-17 09:21:50 -07:00
Matthew Flatt
7545d7d18f document the fact that event callbacks are now delimited by a prompt
using the default continuation prompt tag
2011-01-17 09:03:05 -07:00
Matthew Flatt
0c1ca7a902 fix the event dispatch handler 2011-01-17 09:02:51 -07:00
Matthew Flatt
f76a71066e plot: add #:out-file to docs; depend on racket/snip instead of mred 2011-01-17 07:44:19 -07:00
Matthew Flatt
15381e761a fix type mismatch in plot binding
Closes PR 11613
2011-01-16 19:52:43 -07:00
Matthew Flatt
c8e3d45dae make `codeblock' work without a #lang line
but revise docs to clarify that a #lang line is really expected
 Closes PR 11385
2011-01-16 19:12:38 -07:00
Matthew Flatt
21eee45a48 fix `read-language' when input has only comments 2011-01-16 19:01:45 -07:00
Matthew Flatt
090f82cc0b fix `codeblock' interaction with reader macros
Closes PR 11386
2011-01-16 18:35:03 -07:00
Matthew Flatt
113e49aa5b extend date->seconds' and find-seconds' to work with UTC
Closes PR 6137
2011-01-16 17:53:30 -07:00
Matthew Flatt
b1e13e7f3f fix `codeblock' linking
Closes PR 11624
2011-01-16 13:37:22 -07:00
Mike Sperber
1b97013496 In QuickCheck, fix bug in lift->generator.
This would result in aggregates where all the generators start from
the same seed.
2011-01-16 20:04:32 +01:00
Mike Sperber
85e02db1ad Tweak world to enable interoperability with DMdA gui teachpack. 2011-01-16 12:26:50 +01:00
Matthew Flatt
66d63f1067 fix Same docs to not depend on `racket/gui' 2011-01-15 18:28:36 -07:00
Matthew Flatt
10ad58a747 restore `event-dispatch-handler' 2011-01-15 18:28:36 -07:00
Matthew Flatt
200f5cb80a fix gui-available?' when racket/gui/base' is declared but not instantiated 2011-01-15 18:28:36 -07:00
Matthew Flatt
d1dc1303c2 win32: allow GetCursorPos to fail
in case the current desktop isn't the input desktop
2011-01-15 16:46:35 -07:00
Matthew Flatt
ab86ffa778 refine `sleep/yield' 2011-01-15 16:46:31 -07:00
Matthew Flatt
841e0b2473 fix doc error
as reported by Hong Feng
2011-01-15 16:46:29 -07:00
Robby Findler
7a85e942a2 fixes the way alt-enter in the drracket repl works so that it doesn't insert whitespace into the submitted expression
closes PR 11621
2011-01-15 16:02:23 -06:00
Robby Findler
6c974f6c5f add missing require 2011-01-15 15:14:57 -06:00
Matthew Flatt
c2afc03b3b fix interaction of `continuation-mark-set-first' and prompts
including a documentation fix
2011-01-15 08:05:55 -07:00
Robby Findler
90b8400d50 make up a new temp dir instead of using C:\tmp 2011-01-15 06:44:42 -06:00
Robby Findler
34b0d794dc added docs explaining how blobs break up and reform 2011-01-15 06:42:51 -06:00
Mike Sperber
894c531f6c Make DMdA's fold more robust. 2011-01-15 13:08:00 +01:00
Robby Findler
4ffb16905e upped the min sizes for the same score controls 2011-01-15 05:42:07 -06:00
Mike Sperber
d2aa1c1138 Make test-engine tests work with new gracket. 2011-01-15 12:25:39 +01:00