Commit Graph

17712 Commits

Author SHA1 Message Date
Matthew Flatt
deab2ddede cocoa: fix line height in `list-box%'
Closes PR 11822
2011-03-27 10:23:34 -06:00
Matthew Flatt
84d8bb3726 racket/sequence repairs
including addition of `sequence-generate*'
2011-03-27 10:02:11 -06:00
Matthew Flatt
d81ace1031 fix CSS typo 2011-03-27 07:30:18 -06:00
Vincent St-Amour
c1ab718ad7 Add here-figures to scribble and avoid putting figures on their own page if possible. 2011-03-27 07:30:18 -06:00
Robby Findler
fe75ed9a39 adjusted the color preferences button placement to avoid such a wide prefs dialog 2011-03-26 10:53:23 -05:00
Robby Findler
f69ff3b6b7 added support for 'or', \vee, and \cup as builtins to the define-metafunction codomain contracts 2011-03-26 10:04:39 -05:00
Robby Findler
f3b0a7454a improved the error messages for #:pre and #:post violations in ->i by including the bindings for the variables 2011-03-26 08:12:30 -05:00
Robby Findler
3b4ba31d74 set the save-as menu shortcut to s and the prefix to shift 2011-03-25 20:18:52 -05:00
Kevin Tew
00696cbfac variable-reference->module-source test 2011-03-25 15:04:02 -06:00
Robby Findler
e6633d2af1 use the new extend-position functionality to adjust the shift-based key bindings implemented in the framework
closes PR 11768
  closes PR 11806
2011-03-25 15:19:55 -05:00
Robby Findler
288caacdfd added get-extend-start-position and get-extend-end-position
added the extend-position method
adjusted the wxme.rkt test suite so that it only prints when tests fail
2011-03-25 15:10:49 -05:00
Robby Findler
4e81299e98 added examples to struct-copy docs 2011-03-25 11:04:17 -05:00
Robby Findler
614ec41ab7 extended struct-copy so that you copy adjust fields from super structs 2011-03-25 08:47:27 -06:00
Casey Klein
faef39cbc6 Fixes the docs for non-terminal styles 2011-03-24 14:58:31 -05:00
Casey Klein
3214861420 Fixes rendering of (hole t ...+)
There was some old named holes code still in use.
2011-03-24 14:35:02 -05:00
Vincent St-Amour
2e811060c5 Add the capital version of an accented character to Scribble. 2011-03-23 18:21:27 -04:00
Robby Findler
85b846f5f3 added one more accented char to scribble 2011-03-23 17:03:58 -05:00
Robby Findler
99e9bd9543 exported arrow->pict 2011-03-23 17:03:57 -05:00
Casey Klein
87934752b5 Adds a parameter that provides a default for redex-check's #:attempt argument 2011-03-22 21:20:29 -05:00
Vincent St-Amour
4b1e4f9312 Fix Scribble's handling of the trademark symbol. 2011-03-22 16:27:12 -04:00
Vincent St-Amour
6e9fea94e0 Fix Scribble's handling of L with stroke. 2011-03-22 12:30:29 -04:00
Vincent St-Amour
60cc8c4453 Fix type of sqr. 2011-03-21 16:06:37 -04:00
Vincent St-Amour
0641d7bd78 Handle more accented characters in Scribble. 2011-03-21 12:08:36 -04:00
Matthew Flatt
60c4acb094 Scribble: clean up text-mode output
- line-flow paragraphs to fit in 72 columns
 - better indentation for itemizations
 - format tables with paragraphs and nested tables
2011-03-20 17:19:03 -06:00
Matthew Flatt
b2e338cc43 add missing autobib test 2011-03-20 15:38:51 -06:00
Matthew Flatt
50ca70703f scriblib/autobib: fix `in-bib' to not generate a new bib entry 2011-03-20 15:35:02 -06:00
Matthew Flatt
ed96b89c45 JIT-inline `list?' 2011-03-20 09:51:32 -06:00
Vincent St-Amour
58c3c84c1b Raise drdr timeouts for TR tests, since typechecking now takes longer. 2011-03-19 14:29:32 -04:00
Matthew Flatt
cbca2f395b Scribble: add 'multicommand support to `nested-flow' 2011-03-19 09:26:41 -06:00
Matthew Flatt
e652546bf5 add streams to `racket'
- rename old `racket/stream' to `racket/sequence', and adjust
   to avoid stateful iterations
 - add a new `racket/stream' library with a `strean-cons' that is based
   on SRFI 41
 - adjust `for' and some sequence constructors like `in-range' to
   work more directly with streams
2011-03-18 19:05:23 -06:00
Kevin Tew
ae8b326522 [Places] added place-kill 2011-03-18 15:06:11 -06:00
Carl Eastlund
325516556a Updated define-syntax-block to subsume define-syntax-set,
and referred to define-syntax-set in the documentation.
2011-03-18 16:54:52 -04:00
Carl Eastlund
d903298264 Added and documented 'define-syntax-block' in unstable/define,
a convenience macro for defining macros that rely on phase 1
definitions of macros or mutually recursive functions.
2011-03-18 13:38:21 -04:00
Vincent St-Amour
4ba3f1a6dd Fix type names. 2011-03-18 13:25:06 -04:00
Vincent St-Amour
3ebe9e78f9 Optimize add1 and sub1 on floats and fixnums. 2011-03-18 13:25:05 -04:00
Vincent St-Amour
d06bf0de91 Use subtype test, just in case. 2011-03-18 13:25:05 -04:00
Vincent St-Amour
17afa91c09 Provide the index? predicate. 2011-03-18 13:24:58 -04:00
Vincent St-Amour
1f0386b46c Improve TR's fixnum optimizations, using the new sub-fixnum types. 2011-03-18 10:25:22 -04:00
Vincent St-Amour
bde2ee0b8d Changes to the regular base type environment. 2011-03-18 10:25:22 -04:00
Vincent St-Amour
ee29d371c9 Updated TR's base type environment to use the new numeric types.
This ended up being an almost complete rewrite of the base environment.
Note: While the commit is dated Jan 27, the work was finished on Mar 2.
2011-03-18 10:25:21 -04:00
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