Commit Graph

19612 Commits

Author SHA1 Message Date
Vincent St-Amour
d946060a13 Fix type of = to only accept 2+ arguments. 2011-06-22 14:32:05 -04:00
Sam Tobin-Hochstadt
7b9cd61cb3 Fix requires/provides of `typed-scheme' language. 2011-06-22 14:28:53 -04:00
Sam Tobin-Hochstadt
9dde2a6d39 Document #% forms. 2011-06-22 14:28:52 -04:00
Sam Tobin-Hochstadt
d05d54db8e Ignore undocumented exports that are from `racket'. 2011-06-22 14:28:52 -04:00
Sam Tobin-Hochstadt
2cdf05ad5c Fix type-env-lang to handle require'/provide' better. 2011-06-22 14:28:52 -04:00
Sam Tobin-Hochstadt
f195b3c689 Remove `SomeSystemPath'. 2011-06-22 14:28:51 -04:00
Sam Tobin-Hochstadt
00f9e6342f Avoid providing renamed identifiers. 2011-06-22 12:40:51 -04:00
Matthias Felleisen
b00b2e318a last world draw shouldn't restore old draw; Closes PR 11994 2011-06-22 10:53:14 -04:00
Matthew Flatt
52825c68a1 fix `codeblock' handling of spaces
for a chunk that also includes newlines
2011-06-22 07:49:15 -06:00
Matthew Flatt
3f95fabf7c add --latex-section' mode to scribble' 2011-06-22 07:49:15 -06:00
Sam Tobin-Hochstadt
9be4b16703 Rename SomeSystemPath to `Path-For-Some-System' 2011-06-21 15:34:50 -04:00
Sam Tobin-Hochstadt
d8c972734d Fix missing documentation of alias forms. 2011-06-21 15:34:50 -04:00
Sam Tobin-Hochstadt
fbc76a3074 Support additional `provide'. 2011-06-21 15:34:50 -04:00
Sam Tobin-Hochstadt
2f274b7892 Include `typed-scheme' language in doc check. 2011-06-21 15:34:50 -04:00
Eric Dobson
0f6fde5003 Fixes TR regexp regression. Closes PR11991. 2011-06-21 15:34:50 -04:00
Jay McCarthy
39aea2e6c1 Clarifying function contracts for s/s/d callers 2011-06-21 13:32:12 -06:00
Matthew Flatt
73f6a2b392 document `scribble' command-line use 2011-06-21 06:45:44 -06:00
Robby Findler
78006b5720 redex: adjust the 'horizontal rule-pict-style so that it doesn't add space after the last rule
extend render-reduction-relation-rules so you can specify rule indicies instead of just
         the names of the rules
2011-06-21 06:32:51 +08:00
Matthew Flatt
3daf61f605 dc clarification on `thread-suspend' 2011-06-20 14:46:14 -06:00
Matthew Flatt
b4e3e065ac gtk: fix menu-bar height handling to work right with Ubuntu's patch to support out-of-frame menu bars in Unity 2011-06-20 14:46:14 -06:00
Eli Barzilay
8990177c75 Correction to the small correction 2011-06-20 16:45:33 -04:00
Eli Barzilay
f08ce64e07 Small correction 2011-06-20 15:41:57 -04:00
Matthew Flatt
da2b3f94fb fix initial panel size
so that it doesn't force an enclosing frame to grow
2011-06-20 10:28:56 -06:00
Matthew Flatt
f3da5f7fd8 adjust and document net/url HTTPS support 2011-06-20 08:00:43 -06:00
Eli Barzilay
e74f70393f Hack: make the `net/url' implementation handle both "http" and "https" urls, dispatching to the plain tcp functions or the ssl one.
(See "HACK" comment for a description on how this is done.)
2011-06-20 06:30:09 -04:00
Eli Barzilay
debd1f9f1e Recketizing much in `net/*', mass ".ss" -> ".rkt" conversion in .scrbl files.
(Some other minor things here and there.)
2011-06-20 04:27:14 -04:00
Robby Findler
e008fc3399 improved the error messsage for contract violations of preferences:add-callback 2011-06-20 15:09:00 +08:00
Robby Findler
62a337231a added more options into the place-chan-rand test; seems to still (rarely) cause a crash 2011-06-20 05:35:25 +08:00
Matthew Flatt
13da5a79d7 fix dialog modality 2011-06-19 08:22:08 -06:00
Vincent St-Amour
8c5e215876 The format change script should not be run by drdr. 2011-06-18 08:41:20 -04:00
Eli Barzilay
f0691d07cc Switch to racket, clarify no setting for `drdr:command-line'. 2011-06-17 21:56:02 -04:00
Eli Barzilay
661108e777 Make the osx64 build have the right configure flag 2011-06-17 21:56:02 -04:00
Matthew Flatt
f34a31cac9 "under <platform>" -> "on <platform>"; "X" -> "Unix"
I originally picked "under" as the preposition to go before
 a platform name, but obviously you should build "on" a
 platform, and "under" suddenly annoys me. The choice of "on"
 is now codified in the documentation style guide. Meanwhile,
 "Unix" insted of "X" seems more clear and consistent in the
 `racket/gui' docs.

 More usefully, this patch also fixes a few out-of-date
 platform-specific claims.
2011-06-17 18:54:43 -06:00
Matthew Flatt
5a5800d513 place-specific low-level "sleep" function
to make racket/gui work right with places (running
 in just one of them) on Mac OS X
2011-06-17 17:03:21 -06:00
Vincent St-Amour
88dafca69f Update test format. 2011-06-17 18:18:04 -04:00
Vincent St-Amour
f9205665e4 Add a section on performance debugging to the TR guide. 2011-06-17 18:18:04 -04:00
Vincent St-Amour
26b909744c Display irritants nicely. 2011-06-17 18:18:04 -04:00
Vincent St-Amour
e8dcee732e Don't merge missed optimizations repeatedly, which artificially increases badness. 2011-06-17 18:18:04 -04:00
Vincent St-Amour
fc08b4d401 Display badness of missed optimizations. 2011-06-17 18:18:04 -04:00
Vincent St-Amour
9dbca39cfe Use write instead of display for syntax in logs. 2011-06-17 18:18:04 -04:00
Vincent St-Amour
dda1b1c880 Don't keep useless return values around. 2011-06-17 18:18:04 -04:00
Vincent St-Amour
847e4b2e23 Do duplicate detection at the expanded syntax level, instead of the source level. 2011-06-17 18:18:04 -04:00
Vincent St-Amour
866225b659 Adapt the log update script to work on specific files. 2011-06-17 18:18:04 -04:00
Vincent St-Amour
fddf189530 Report opts and missed opts in terms of the original programs, not in terms of expanded code. 2011-06-17 18:18:04 -04:00
Vincent St-Amour
fc25b43293 Add script to update test files to new log formats. 2011-06-17 18:18:03 -04:00
Vincent St-Amour
86efbc8396 Specify opt or missed opt in the TR log format. 2011-06-17 18:18:03 -04:00
Vincent St-Amour
d9256f2b76 Refactoring. 2011-06-17 18:18:03 -04:00
Vincent St-Amour
9f78a92613 Fix test log to use new format. 2011-06-17 18:18:03 -04:00
Vincent St-Amour
1a2080fc97 Handle the case where we would need to merge with multiple children at once. 2011-06-17 18:18:02 -04:00
Vincent St-Amour
e095976c8b Simplify log sorting. 2011-06-17 18:18:02 -04:00
Vincent St-Amour
8d2f66faa6 First attempt at handling missed optimization cascades.
Currently, if missed optimizations a and b are of the same kind, a is caused
by b, and b is caused by c, we merge them into a single miss with cause c.

This works in some cases, but fails in others.
2011-06-17 18:18:02 -04:00
Vincent St-Amour
6de90b7185 Sort irritants by source location. 2011-06-17 18:18:02 -04:00
Vincent St-Amour
c5ca1422a2 Abstract out printing of missed optimization log messages. 2011-06-17 18:18:02 -04:00
Vincent St-Amour
4c31b08554 Put logging code in its own file. 2011-06-17 18:18:02 -04:00
Vincent St-Amour
c54717d557 Have more structure to missed optimizations, for eventual handling of nesting and/or missed optimization cascades. 2011-06-17 18:18:02 -04:00
Vincent St-Amour
6b5095df2d Have multiple irritants for missed optimizations. 2011-06-17 18:18:02 -04:00
Vincent St-Amour
cb706aab9c Change log message to reflect new behavior. 2011-06-17 18:18:02 -04:00
Vincent St-Amour
f547b99ed5 Remove useless irritant. 2011-06-17 18:18:02 -04:00
Vincent St-Amour
9528f63cf0 Swap miss region and irritant. 2011-06-17 18:18:02 -04:00
Vincent St-Amour
647ae4fe9a Report missed optimizations for unary float operations. 2011-06-17 18:18:01 -04:00
Vincent St-Amour
cc129adb39 Make unary float optimizations less restrictive. 2011-06-17 18:18:01 -04:00
Vincent St-Amour
484fb029f1 Rephrase a missed optimization message. 2011-06-17 18:18:01 -04:00
Vincent St-Amour
a319ba1058 Fix missed-optimization tests to also look for optimization messages. 2011-06-17 18:18:01 -04:00
Vincent St-Amour
e8621f58ea Fix optimization tests to also look for missed-optimization messages. 2011-06-17 18:18:01 -04:00
Vincent St-Amour
28692786b3 Have optimizer test harness look only at log messages that came from the optimizer. 2011-06-17 18:18:01 -04:00
Vincent St-Amour
641dd731ab Fix optimizer test harness to use the new syntax of with-logging-to-port. 2011-06-17 18:18:01 -04:00
Vincent St-Amour
81d6e380da Add a "unique" key to log messages that are sent by the optimizer. 2011-06-17 18:18:01 -04:00
Vincent St-Amour
09015722e3 Use with-logging-to-port from unstable. 2011-06-17 18:18:01 -04:00
Vincent St-Amour
47f48c08ad Revise with-logging-to-port to avoid the extra dummy log entry. 2011-06-17 18:18:01 -04:00
Vincent St-Amour
a2afe2c285 Adapt the optimizer's test harness for the new logging strategy. 2011-06-17 18:18:01 -04:00
Vincent St-Amour
7347da4919 Use racket's logging facilities for the optimizer logs. 2011-06-17 18:18:01 -04:00
Vincent St-Amour
28cbad21b9 Add a directory for optimizer tests that we know fail. 2011-06-17 18:18:00 -04:00
Vincent St-Amour
9ae4f82c0a Sort optimizer logs by source location, to prepare for eventual user consumption. 2011-06-17 18:18:00 -04:00
Vincent St-Amour
5a151420e4 Keep source location around for derived pair optimizations. 2011-06-17 18:18:00 -04:00
Vincent St-Amour
b8b061fb39 Don't print duplicate log entries. 2011-06-17 18:18:00 -04:00
Vincent St-Amour
147032e428 Extra test for precision loss. 2011-06-17 18:18:00 -04:00
Vincent St-Amour
0432ea16cb Add an extra test that checks for non-reporting of false positives. 2011-06-17 18:18:00 -04:00
Vincent St-Amour
b598c4a1eb close-call -> missed-optimization 2011-06-17 18:18:00 -04:00
Vincent St-Amour
c73bc6c918 Report unexpected complex types in arithmetic expressions. 2011-06-17 18:18:00 -04:00
Vincent St-Amour
2a7254a324 Add in-complex-layer?. 2011-06-17 18:18:00 -04:00
Vincent St-Amour
2a4a4e8184 Generalize reporting of wasted precision to arbitrary exact arithmetic expressions. 2011-06-17 18:18:00 -04:00
Vincent St-Amour
ec696f26ae Add an arith-expr syntax class, to simplify parts of the optimizer. 2011-06-17 18:17:59 -04:00
Vincent St-Amour
b64b49b078 Move layer predicates to their own file. 2011-06-17 18:17:59 -04:00
Vincent St-Amour
cd027109c9 Report when exact arithmetic is used inside float expressions, which may make the extra precision useless. 2011-06-17 18:17:59 -04:00
Vincent St-Amour
fb36786c4d Add failing test for nicer reporting of cascades of missed optimizations. 2011-06-17 18:17:59 -04:00
Vincent St-Amour
5d4ef5c624 Add a test case for close-calls on all-real arithmetic expressions. 2011-06-17 18:17:59 -04:00
Vincent St-Amour
89ca99210e Report close calls for pair/mpair optimizations. 2011-06-17 18:17:59 -04:00
Vincent St-Amour
526a84f10b Add extra checks to avoid spurious close call reporting involving integer operations. 2011-06-17 18:17:59 -04:00
Vincent St-Amour
95bf94577c Show irritant for the currently detected close calls. 2011-06-17 18:17:59 -04:00
Vincent St-Amour
0fab9e11ad Revert "Fix optimizer expected log format."
This reverts commit bdf1073f17.

Return that test to the new format, which it was originally written in.
2011-06-17 18:17:59 -04:00
Vincent St-Amour
33962befd4 Made logging format more compact and less ambiguous. 2011-06-17 18:17:59 -04:00
Vincent St-Amour
26cc2cf6dc Add layer predicates. 2011-06-17 18:17:59 -04:00
Vincent St-Amour
7b2c6f5765 First attempt at logging unexpected Real types popping up. 2011-06-17 18:17:58 -04:00
Vincent St-Amour
2e0dd6467a Add support for close-call tests to the TR test harness. 2011-06-17 18:17:58 -04:00
Vincent St-Amour
303e1f7f88 Add logging infrastructure to log close calls. 2011-06-17 18:17:58 -04:00
Matthew Flatt
6f42c6ed5e win32: fix checkable menu item to toggle on selection
Closes PR 11985
2011-06-17 16:02:49 -06:00
Robby Findler
f8f289adc0 fix random place tests 2011-06-18 05:15:36 +08:00
Robby Findler
611a844877 run the place channel random tests 2011-06-18 04:55:27 +08:00
Vincent St-Amour
8f092e8330 These changes break with bad sandboxes.
Revert "Fix interface."
Revert "Add more scribble forms that evaluate code and display the results."

This reverts commit a621eaf041.
This reverts commit 7e9dbded4c.
2011-06-17 15:18:48 -04:00
Sam Tobin-Hochstadt
55a25a825a Disable this test. 2011-06-17 15:17:20 -04:00
Eric Dobson
1348887bd1 Cleaned up base-env. Added comments about untyped identifiers.
Used one-of/c to clean up some types.
2011-06-17 15:17:20 -04:00
Eric Dobson
0671945a8d Moved tests for equality to unit tests 2011-06-17 15:17:20 -04:00
Eric Dobson
b326269133 Moved new TR symbol testing into unit tests. 2011-06-17 15:17:20 -04:00
Eric Dobson
3a13cf0e78 Moved TR string testing to unit tests. 2011-06-17 15:17:20 -04:00
Eric Dobson
feeccc062b Added types for reading and writing operations 2011-06-17 15:17:19 -04:00
Eric Dobson
029651b9ee Added types for regexp operations. Changed Regexp to correspond to regexp?. 2011-06-17 15:17:19 -04:00
Eric Dobson
3e1a95750d Added public names for recently added types 2011-06-17 15:17:19 -04:00
Eric Dobson
6f3bbad367 Added types for I/O operations 2011-06-17 15:17:19 -04:00
Eric Dobson
54a12afb49 Added types and some tests for port operations 2011-06-17 15:17:19 -04:00
Eric Dobson
c77e906c7a Added types and tests for equality operations. 2011-06-17 15:17:19 -04:00
Eric Dobson
2d152bac79 Added types and tests for raising and handling exceptions 2011-06-17 15:17:19 -04:00
Eric Dobson
4ba12dd20e Added types and tests for symbol operations 2011-06-17 15:17:19 -04:00
Eric Dobson
ab23db7b5b Added types and tests for string operations 2011-06-17 15:17:19 -04:00
Vincent St-Amour
a621eaf041 Fix interface. 2011-06-17 14:47:16 -04:00
Vincent St-Amour
7e9dbded4c Add more scribble forms that evaluate code and display the results. 2011-06-17 14:04:38 -04:00
Eli Barzilay
f6620d5754 Close the input port so that the file can be deleted on windows. 2011-06-17 13:19:24 -04:00
Matthew Flatt
7089a17ba2 fix `make-limited-input-port' limit tracking for committed peeks
and make the port thread-safe
2011-06-17 11:14:50 -06:00
Matthew Flatt
b1e47eba45 add `place-message-allowed?' and fix related problems
Closes PR 11983
2011-06-17 10:33:27 -06:00
Matthew Flatt
c7d86ed3a6 mach-o: fix generating embedding executables
aimed at fixing DrRacket startup on Lion
2011-06-17 08:46:09 -06:00
Robby Findler
8e80af6f42 random testing for messages sent over place channels
related to PR 11983
2011-06-17 18:46:59 +08:00
Robby Findler
524d533392 added edit-sequence when flushing the delegate updates 2011-06-17 15:46:52 +08:00
Robby Findler
24d11805ac attempt to try to make the contour window feel faster by delaying the work until nothing has happened for 250 msec 2011-06-17 12:43:14 +08:00
Robby Findler
835762903c if we're highlighting something in the defs window, make sure the window is shown
closes PR 11977
2011-06-17 12:43:09 +08:00
Eli Barzilay
7af058dcb2 Add a subsection on getting github pull requests in the easy way.
(And update some links.)
2011-06-16 21:37:48 -04:00
Eli Barzilay
35e4662b94 Disable drdr for the whole directory. 2011-06-16 21:37:48 -04:00
Danny Yoo
d78fccb75b Fixing the comment-at-end-of-file bug (PR#11982) 2011-06-16 21:37:48 -04:00
Eli Barzilay
768baa5983 Pass around the form name so that an error from the sandbox will show a
more useful error.
2011-06-16 21:37:48 -04:00
Eli Barzilay
d4dec81c91 Switch to `#lang', reformat, and some minor improvements. 2011-06-16 21:37:47 -04:00
Eli Barzilay
43d1c240a1 Add an error message when the sandbox doesn't capture its output as a string. 2011-06-16 21:37:47 -04:00
Eli Barzilay
831b69a146 Add activity graphs from gmane. 2011-06-16 21:37:47 -04:00
Matthew Flatt
523cec90c6 fix JITted multi-valued `begin0' in a single-value context
and generate simpler code for constrained cases, including
 single-value contexts and ignored results

 Closes PR 11979
2011-06-16 18:16:02 -06:00
Vincent St-Amour
26541ffbbd Unify types and filter behavior of not and false?. 2011-06-16 18:08:44 -04:00
Matthew Flatt
c9e98a5f1f Scribble Latex Unicode fixes 2011-06-16 15:06:15 -06:00
Stevie Strickland
477c5acb2a Fix names in test to make them test-specific. 2011-06-16 16:51:38 -04:00
Matthew Flatt
56423f330e `procedure-arity-includes?' reports #f for keyword-requiring procs
by default; a new optional argument restores the old behavior
  (but the default behavior is consistent with the old docs and with
  the vast majority of existing uses)

 The implementation is ugly for performance reasons. A new primitive
  `prop:arity-incomplete' property determines when to return #f for
  `procedure-arity-includes?' in default mode. A nicer implementation
  would be to redefine `procedure-arity-includes?' at the kw-proc level,
  but the bytecode optimizer's and JIT's treatment of the built-in
  `procedure-arity-includes?' is important. The implementation choice
  could be revisited after cross-module inlining is implemented.

 Closes PR 11978
2011-06-16 12:36:16 -06:00
Stevie Strickland
649fe2f276 Fix #%app bindings for `with-contract'-based contract forms.
Closes PR11975.
2011-06-16 14:25:01 -04:00
Danny Yoo
e35e005a1c added example of making an evaluator for interaction 2011-06-16 12:09:55 -04:00
Matthew Flatt
a919062143 support progress evts in result of `make-limited-input-port'
and also adjust initial position in various port constructions
 to use `file-position' instead of `port-next-location'
2011-06-16 09:18:47 -06:00
Matthew Flatt
83d002a9aa fix interaction of `port-commit-peeked' and port positions
--- includes a small hack to the `make-input-port' protocol
     to specially handle a byte-string result as "true"
     from the `commit' proc
2011-06-16 08:17:14 -06:00
Matthew Flatt
80bd949531 add mode to arc' in dc-path%' to support right/bottom alignment 2011-06-16 08:17:14 -06:00
Matthew Flatt
c5b94831e4 fix colorize' nested inside (linewidth #f ...)' 2011-06-16 08:17:14 -06:00
Sam Tobin-Hochstadt
d5b25eb500 Document match-lambda**' and match[*]/derived' 2011-06-15 18:11:41 -04:00
Sam Tobin-Hochstadt
eaa156554a Add contracts for `Sequenceof' values. 2011-06-15 17:02:09 -04:00
Kevin Tew
4176f093b8 place -> dynamic-place and place-wait return value fixes 2011-06-15 11:09:02 -06:00
Vincent St-Amour
e057e6a857 Optimize in typed regions. 2011-06-15 11:20:51 -04:00
Matthew Flatt
c8999c2541 adjust `racketmodname' to ignore for-label imports
so that `@racketmodname[lazy], for example, typesets correctly
 when `lazy' is imported for-label
2011-06-15 08:23:33 -06:00
Robby Findler
9bf26ef69e add more caching to avoid calling normalize-path so much;
this should affect the test coverage coloring and the stacktrace
arrows/stop-sign window
2011-06-15 16:45:47 +08:00
Robby Findler
b9ff7dc4af thanks, Sam. 2011-06-15 12:52:39 +08:00
Robby Findler
68f34502b8 add a cache to avoid calling normalize-path so often when switching tabs
closes PR 11936
2011-06-15 11:44:25 +08:00
Robby Findler
497172f64e fix typo 2011-06-15 11:02:21 +08:00
Eli Barzilay
c0051518be Fix `{user,group,other}-{read,execute}-bit' (in the docs too).
Make the launcher template copying code try to ensure that all user
access bits are on.
2011-06-14 21:27:36 -04:00
Robby Findler
58b60a6a87 fixed lw-test.rkt test suite 2011-06-15 09:25:50 +08:00
Sam Tobin-Hochstadt
b76819a66e Wrap expected type. Closes PR 11980. 2011-06-14 19:05:16 -04:00
Eli Barzilay
71b8440adb Tweak things a little: make simple-compose*' use simple-compose' when
the first function's arity is 1, avoiding another `call-with-values'.

The difference in timing is in the noise (looks like `call-with-values'
is optimized for an arity-1 receiver), but it seems more in line with
the rest...  Incidentally, it steps around the problem in PR11981.
2011-06-14 19:02:30 -04:00
Eli Barzilay
da1c334f70 Use `apply apply' which is slightly faster for most inputs than using
`list*'.  (And add specialized cases for small inputs.)
2011-06-14 19:02:30 -04:00
Eli Barzilay
be84425bd0 Rewrite compose' and add compose1'.
The new version fixes some problems with the previous one, most notably
it can create a keyworded function when the last input is is keyworded.
`compose1' is a restricted variant that requires single values in the
composed pipeline -- besides being potentially faster (probably more
if/when there is cross module inlining), it has a semantical
justification, similar to the restricting function call arguments to
return single values, with similar robustness benefits.  The
implementation of both is done in a generalized way, and the results can
be faster for both `compose' and `compose1'.  (Not by much -- 20% and
30% resp.)

One thing that it could do is to reduce the resulting arity to match the
last given function.  I didn't do this since it adds a significant
overhead to the result.  (No strong opinion on doing that...)
2011-06-14 19:02:30 -04:00
Eli Barzilay
e80308aa15 Make `test' messages show keyword arguments too. 2011-06-14 19:02:30 -04:00
Eli Barzilay
03a5468e59 Disable drdr runs on `meta/web'.
The problem is that it spits out a warning message on stderr whenever it
can't find a git repository to extract release announcements (from
annotated tags).  Resolving this will require some way to (a) tell drdr
to ignore such output, (b) make it run the code with a $GIT_DIR
environment variable set to the git tree, or (c) make it set some
environment variable so the web build will avoid such messages.  (I
prefer the first most, and the last least.)
2011-06-14 19:02:30 -04:00
Eli Barzilay
80f0d57cdd Revise this comment 2011-06-14 19:02:30 -04:00
Eli Barzilay
45e3c4f4af Fix catching of initial exceptions to happen outside of the sandbox context,
so the error is actually printed instead of swallowed silently.

Also, fix some copy/paste uses of 'make-evaluator instead of
'make-module-evaluator in error messages, and two more in
`make-evaluator*' that lacked a "who" input.
2011-06-14 19:02:30 -04:00
Vincent St-Amour
48bf6f8290 Make type annotations optional for for*/lists: and for*/fold:. 2011-06-14 17:53:28 -04:00
Vincent St-Amour
3ff1a3320a Improve error message for untyped variables that don't come from the original program. 2011-06-14 17:53:28 -04:00
Vincent St-Amour
7a4bd387cc Change examples to use prettier types. 2011-06-14 17:53:28 -04:00
Vincent St-Amour
d43c8fc406 Tidy up TR reference. 2011-06-14 17:53:28 -04:00
Vincent St-Amour
1cf57b893c Add note about optimizing structs to the TR docs. 2011-06-14 17:53:28 -04:00
Vincent St-Amour
e3274a3cf7 Add missing word. 2011-06-14 17:53:28 -04:00
Vincent St-Amour
52e14362b5 Split the TR reference into multiple pages. 2011-06-14 17:53:28 -04:00
Vincent St-Amour
589f42feb1 Reorganize TR docs directory. 2011-06-14 17:53:27 -04:00
Vincent St-Amour
b835e8a75b Add myself to the TR doc author list. 2011-06-14 17:53:27 -04:00
Vincent St-Amour
a1787cede4 Document optionality of type annotations for the for: macros. 2011-06-14 17:53:27 -04:00
Vincent St-Amour
2922821f3c Synthesize annotations for for/lists: if possible. 2011-06-14 17:53:27 -04:00
Vincent St-Amour
f4973ff05e Remove obsolete comment. 2011-06-14 17:53:27 -04:00
Vincent St-Amour
8c92a32cbb Fix bad name. 2011-06-14 17:53:27 -04:00
Vincent St-Amour
a5bccaffe1 Allow omitting type annotation in most of the for: forms. 2011-06-14 17:53:27 -04:00
Vincent St-Amour
ef11f754e5 Fix a typo in Eric Hanchrow's name. 2011-06-14 17:53:26 -04:00
Vincent St-Amour
506980240a Allow omitting type annotation on for/fold:. 2011-06-14 17:53:26 -04:00
Asumu Takikawa
ed590b8ec5 Fix GUI and Reference doc typos 2011-06-13 17:57:21 -04:00
Asumu Takikawa
01a987bf5e Use a real contract instead of imaginary for sleep 2011-06-13 12:09:52 -04:00
Kevin Tew
939f0b1c0b rename place-dynamic to dynamic-place 2011-06-11 15:36:16 -06:00
Matthew Flatt
80c4396dc1 JIT-inline struct type property predicates and accessors 2011-06-11 08:35:34 -07:00
Robby Findler
ecf45ab426 added a missing error check to scribble decoding 2011-06-11 08:58:06 -05:00
Eric Dobson
c7f9a80de8 TR: Changed type of port->list 2011-06-10 17:22:14 -04:00
Ryan Culpepper
5bf4b1c930 moved phase-of-enclosing-module to unstable/syntax
closes PR 11970
2011-06-10 13:22:33 -06:00
Ryan Culpepper
c8a691490a syntax/parse: added literal-set->predicate
closes PR 11968
2011-06-10 13:22:26 -06:00
Ryan Culpepper
d22a16a3c7 fix guide typos
closes PR 10577
2011-06-10 12:55:57 -06:00
Ryan Culpepper
042402b023 fix guide typos
closes PR 10580
2011-06-10 12:55:57 -06:00
Ryan Culpepper
07db4277d1 fix plot documentation (view is image-snip)
closes PR 10857
2011-06-10 12:55:57 -06:00
Kevin Tew
1473b7775f Places: rename place and place/anon 2011-06-10 11:07:01 -06:00
Matthew Flatt
8f6a4c5549 fix file suffix: ".rkt" for module files 2011-06-10 09:36:10 -07:00
Matthew Flatt
460504c852 add #:unless' to for' 2011-06-10 06:21:35 -07:00
Matthew Flatt
bbd98528ba improve docs for `module-lexer' 2011-06-10 06:21:35 -07:00
Kevin Tew
f88c0bbe80 Places: Missed some send receive renames 2011-06-10 06:38:13 -06:00
Kevin Tew
21f7109204 Places: rename send receive to put get 2011-06-09 23:48:55 -06:00
Kevin Tew
dd4ee47ecd Cleanup place-channel benchmark use read-bytes 2011-06-09 23:48:25 -06:00
Vincent St-Amour
d732c12b96 Fix documentation of the for: macros. 2011-06-07 21:15:17 -04:00
Vincent St-Amour
7f55680028 Eta-expand typechecking of literals, to improve performance. 2011-06-07 21:15:17 -04:00
Eric Dobson
44d591b5ba Make sure type environment is only initialized once 2011-06-07 21:15:17 -04:00
Eric Dobson
157481ceda Added check to make sure that safe/unsafe flonumops are the same binding 2011-06-07 21:15:17 -04:00
Eric Dobson
88ce4e281c Base type environment now checks for duplicate types. 2011-06-07 21:15:17 -04:00
Kevin Tew
524b5ca50a Channels compared to dd 2011-06-07 13:53:37 -06:00
Eli Barzilay
40a88b6037 Fix TR docs wrt to `racket/function' change, close evaluators, fix
copy/paste typo in `thunk' docs.
2011-06-07 13:07:46 -04:00
Eli Barzilay
fc1b974cd2 Fix "zo-parse.rkt" wrt the inclusion of `identity' in mzlib/etc, and
switch to racket (making `begin-with-definitions' redundant).
2011-06-07 13:06:13 -04:00
Eli Barzilay
a7aad558a3 Seems that this file is never used, possibly committed by mistake. 2011-06-07 03:42:00 -04:00
Eli Barzilay
313e4e75fc Better section heading 2011-06-07 03:40:13 -04:00
Eli Barzilay
17b6ffa731 Move thunk' from unstable/function' into `racket/function'.
Actually, the new `thunk' is a nullary function, which I think is very
popular expectation for the name.  Since there are possible uses for the
any-arity version, it's added too, as `thunk*'.
2011-06-07 03:38:06 -04:00
Eli Barzilay
a70ef57f02 Move identity' from unstable/function' into `racket/function'. 2011-06-07 03:38:06 -04:00
Eli Barzilay
2eb0a94677 Removed a bogus provide and two bogus tests.
(Which worked because the same functionality is part of `racket'.)
2011-06-07 03:38:06 -04:00
Matthew Flatt
0e0426a150 document scheme_enable_garbage_collection() 2011-06-06 20:22:58 -07:00
Eli Barzilay
3f9bc25c5c Remove `eval/require' and many of its one-time uses.
(Cuts the rendering time for unstable by around 50%.)
2011-06-06 09:48:04 -04:00
Eli Barzilay
768a5fd61d Drop mstart' and mend' arguments to `success-choose' -- it's getting
the complete list of submatches anyway, so it can just `caar' and `cdar'
it.
2011-06-06 02:01:27 -04:00
Eli Barzilay
5754312120 Some reformating. The only real change is using `write-bytes' instead
of a `display' in one place.
2011-06-06 02:01:26 -04:00
Eli Barzilay
3ecdd3bc59 Specify what happens on OS X with ;-separated globs.
Also, update the `path-dialog%' intro -- it is no longer similar to the
dialog under X.
2011-06-06 02:01:26 -04:00
Robby Findler
a42068a709 fix prose slightly 2011-06-03 20:33:34 -07:00
Robby Findler
5848c1f5a6 add a note about where protected methods fit into our world 2011-06-03 20:09:16 -07:00
Eli Barzilay
045369e3b9 cocoa: fix `get-file' when any extension is allowed 2011-06-03 01:38:40 -04:00
Eli Barzilay
6a1eefe080 Move the captcha generation as a hook to the extra code, since it's a
more proper place.
2011-06-03 00:56:21 -04:00
Eli Barzilay
e9487fb0c7 Make the cocoa file dialogs deal better with ";"-separated globs.
* Note the ugly hack of adding "foo~" for every "foo" suffix.

* Note also that when "*.*" is in the glob list all files should be
  available but it looks like this isn't working yet for some reason.
2011-06-03 00:56:21 -04:00
Eli Barzilay
67d58b9041 Add *.rktl and *.rktd files as drracket files. 2011-06-03 00:56:21 -04:00
Eli Barzilay
093c8ded76 Racketify 2011-06-03 00:56:21 -04:00
Robby Findler
9e36dc8eb3 adding a missing 2htdp/image color => racket/gui color coercion
closes PR 11956
2011-06-02 16:27:09 -07:00
Matthew Flatt
b24c387dde add PLTDISABLEGC environment variable 2011-06-02 16:20:20 -07:00
Matthew Flatt
defae9be11 adjust `struct' expansion for the top level
to allow an expression (such as a property) to refer to bindings
 introduced by the `define-syntaxes' half of the expansion
2011-06-02 16:20:20 -07:00
Vincent St-Amour
1ad63e5da0 Unify doc formatting. 2011-06-02 18:39:32 -04:00
Vincent St-Amour
801354fa4a Add syntax-within? to unstable/syntax. 2011-06-02 18:37:42 -04:00
Vincent St-Amour
bb71f9b66d Fix contract generation for Exact-Rational.
Closes PR11954.
2011-06-02 16:52:46 -04:00
Vincent St-Amour
6de5f48810 Optimize sqr on floats. 2011-06-02 16:49:25 -04:00
Carl Eastlund
c8600f01a1 Added examples to documentation for for/fold/derived, for*/fold/derived,
define-sequence-syntax, and :do-in.
2011-06-02 16:10:23 -04:00
Eli Barzilay
1582f160bc * Make the drracket `default-filters' have a ";"-separated glob for all
patterns instead of one pattern per suffix.  (This was almost never
  used -- only when saving a file that is in text mode.)

* Since this default is the same that the scheme
  mode ("framework/private/scheme.rkt") sets, remove that
  setting.  (Leave it commented in case there's need to have some
  different global default.)  It makes the above default get used when
  saving a scheme-mode file.

* Finally, for some reason the code in "framework/private/finder.rkt"
  was not using these `default-filters' at all for the file open dialog
  in `*get-file'.  (I tracked it back to CVS when the code was written,
  and it was never used.)

  I made it use it now.  This is visible on gtk (and probably on
  windows, not sure what OSX does) in that openning a file would show
  you all files.  After this change, it would show only racket source
  files, but there will be an option to switch the pattern to show all files.

  ** If the previous setup (showing all files) was intentional, it would
     be better to simply change "drracket/private/main.rkt" to add the
     racket source globs before the default.  In that case it might also
     make sense to uncomment the change in scheme.rkt back in, so when
     saving the default is the racket file suffixes (but this sounds
     like a confusing UI).
2011-06-02 10:06:15 -04:00
Eli Barzilay
42fe92cd25 Split the glob patterns on ";", and add them all to the gtk dialog. 2011-06-02 09:33:53 -04:00
Eli Barzilay
ef915d0d3a Add a popup question in case there's a captcha challenge.
See in-code comments for how this is just a rough feature to be used if
needed (and improved when it becomes necessary).  That can just as well
go to the FIXME of using a string constant.
2011-06-01 17:40:25 -04:00
Eli Barzilay
18d40dca3c Use `post-impure-port' to submit the bugreport, and check the resulting
HTTP status for an error code.

If there was an error, then render the HTML like other errors, so the
user can now hit back and try to fix things.
2011-06-01 16:43:50 -04:00
Eli Barzilay
c82d8cea32 Refactor the error handling code, making it more uniform for all error cases. 2011-06-01 16:42:15 -04:00
Vincent St-Amour
c32efa727c Document with-intercepted-logging. 2011-06-01 16:11:11 -04:00
Vincent St-Amour
b71d3cf40c Fix limitations of with-intercepted-logging. 2011-06-01 16:11:10 -04:00
Vincent St-Amour
b86d759b62 Provide with-intercepted-logging. 2011-06-01 16:11:10 -04:00
Vincent St-Amour
fc705c6e29 Implement with-logging-to-port in terms of something more general. 2011-06-01 16:11:10 -04:00
Vincent St-Amour
0538f21274 Make level a keyword argument for with-logging-to-port. 2011-06-01 15:24:15 -04:00
Vincent St-Amour
fe161a780c List known limitations of with-logging-to-port. 2011-06-01 15:20:36 -04:00
Vincent St-Amour
f24f451fd9 Document show-requires. 2011-06-01 14:32:22 -04:00
Vincent St-Amour
b39f21775a Add show-requires, which is friendlier on the eyes than check-requires. 2011-06-01 14:32:22 -04:00
Vincent St-Amour
2e3e6822f3 Add documentation for check-requires. 2011-06-01 14:32:22 -04:00
Vincent St-Amour
c55c89a31f Fix format string in check-requires. 2011-06-01 14:32:21 -04:00
Carl Eastlund
5582f7591f Replaced an outdated reference to syntax-object->datum with syntax->datum. 2011-06-01 01:47:23 -04:00
Vincent St-Amour
8d96133681 Add with-logging-to-port to unstable. 2011-05-31 19:14:38 -04:00
Eli Barzilay
4276898a67 * Refactor bug-related url construction
* Add captcha url (unused, yet)

* The second argument to `call/input-url' can be a one-argument function
  since the call doesn't send it any headers.

Still needs to be done: check the HTTP response for an error status, and
make it fail as a result (currently it just assumes that any response is
fine, which can change in case of a captcha failure).  Then, add a
captcha challenge if one is found, otherwise ignore.
2011-05-31 17:36:51 -04:00
Robby Findler
b43e956c7b Redex: added to-lw/stx
plus improved the redex docs slightly and Rackety
2011-05-30 21:33:55 -05:00
Matthew Flatt
fbbb30f7b0 try to clarify intent of #:contracts' in defform' 2011-05-30 08:58:11 -06:00
Matthew Flatt
a7ae3b807e fix docs for `multi-in'
because the previous documentation didn't actually define the form;
 the examples were good, but epecting a reader to infer meaning
 from examples wasn't good enough. The use of a `module-path?' contract
 in the old docs wasn't appropriate; contracts apply to values, while
 grammar productions should be used to document syntax constraints.
 Also, `module-path?' was too permissive (only literal strings and
 identifiers are actually allowed), while the actual syntax allows
 either a single path or a sequence.
2011-05-30 08:49:46 -06:00
Matthew Flatt
bbfeb85440 mak argument to `make-immutable-hash' optional 2011-05-30 07:38:57 -06:00
Matthew Flatt
f3e1cf10aa change `hash-count' to take the lock; fix docs 2011-05-30 07:38:57 -06:00
Eli Barzilay
9e9ad2fe38 Improve the generation of bug form fields; add a captcha file for future
use if it becomes necessary.
2011-05-30 05:00:16 -04:00
Robby Findler
060b4e9b32 deinprogramm: tweak files to make scribble happy 2011-05-28 09:02:53 -05:00
Mike Sperber
a94287a076 Document lambda' and define' for DMdA/assignments. 2011-05-28 15:10:01 +02:00
Mike Sperber
c3d4e39630 Add DMdA teachpacks to documentation check.
Also, exclude obsolete DMdA exports from check.
2011-05-28 12:31:20 +02:00
Mike Sperber
a52e59a61b Add alpha-rgb-color contract to teachpack/deinprogramm/image. 2011-05-28 12:31:05 +02:00
Mike Sperber
f2f2784ae7 Add missing documentation for DMdA teachpacks. 2011-05-28 12:29:08 +02:00
Mike Sperber
24961f750c Fix predicate signatures in DMdA.
Use any -> boolean instead of %a -> boolean.
2011-05-28 12:10:51 +02:00
Eli Barzilay
8ef1d1a547 Minor tweak: use full 6 hex digits for all colors to avoid IE bogosity. 2011-05-27 18:41:45 -04:00
Eli Barzilay
7ae13761ce Protect against accidental second use of `set-news-flashes!'. 2011-05-27 18:32:58 -04:00
Eli Barzilay
13b2adc18c Switch the license text from LGPLv2 to LGPLv2.1.
This makes it correspond to the license page we have on downloads that
talks about the "lesser" GPL rather than the "library" one.

Also, change the file name to have a more friendly .txt suffix, and add
some more responsible properties for things in doc/release-notes.
2011-05-27 18:09:55 -04:00
Eli Barzilay
35f2accaf8 Make it possible for the pages to build even when there's no tag to
extract release information from.

(So it's still useful for quick tests.)
2011-05-27 17:53:45 -04:00
Eli Barzilay
c8c7898093 Add release notes pages.
Also get rid of the defunct "chronology" link at the bottom of the
community page.  It was a very old (pre-svn/git) leftover from a time
where that was relevant for people who want to participate.
2011-05-27 17:24:29 -04:00
Robby Findler
62d758ca56 sriblib/autobib: added a keyword argument to generate-bibliography to control the name of the section 2011-05-27 07:32:20 -05:00
Eli Barzilay
ad6d703225 Forgot to add the git extraction code. 2011-05-27 04:28:30 -04:00
Eli Barzilay
56820287ac Extract tag information from a git repo instead of manually specified
version/date pairs.

Also switch to using `release' structs instead of version strings.
2011-05-27 03:53:14 -04:00
Eli Barzilay
7fcbb2eb96 Fix subtle spacing issue below the short code sample section. 2011-05-27 03:53:13 -04:00
Eli Barzilay
b148010cf2 Fold in the old versions/dates into the old techreports, freeing
download/data.rkt to pull information from the git repo.
2011-05-27 03:53:13 -04:00
Eli Barzilay
8bacaebd49 "Complicate" the captcha. 2011-05-27 03:53:13 -04:00
Eli Barzilay
220e0f6d5e Improve code layout in code.rkt, move `pre' out of there.
Also improve the news-flash thing a little.
2011-05-27 03:53:13 -04:00
Eli Barzilay
15938fa6c2 Move all the old stuff into a separate file.
(This way maybe it'll be harder to bogusly start "improving" it, yet again...)
2011-05-27 03:53:13 -04:00
Eli Barzilay
28bdce5349 Shorten link names at the bottom of download pages. 2011-05-27 03:53:13 -04:00
Eli Barzilay
571b1c3d12 Switch news-flash from a box to a setter hook, some misc style. 2011-05-27 03:53:13 -04:00
John Clements
10cb0e61e2 oops, no match available here 2011-05-26 17:46:05 -07:00
John Clements
53cfbd27c1 fix to string to fulfill contract on empty input 2011-05-26 14:50:35 -07:00
Vincent St-Amour
2c470ee82a Tests for multi-in. 2011-05-26 13:53:31 -04:00
Vincent St-Amour
48b5725b2e Document extension to multi-in. 2011-05-26 11:56:31 -04:00
Vincent St-Amour
3210aa6014 Extend multi-in to deal with more general trees. 2011-05-26 11:56:31 -04:00
Vincent St-Amour
c3da0babb7 sub-in -> multi-in 2011-05-26 11:56:31 -04:00
Matthew Flatt
c0811dc220 cocoa: fix get-y' in frame%' 2011-05-26 07:29:09 -06:00
Asumu Takikawa
f4aab53efa Added option/c for possibly #f values in unstable. 2011-05-26 00:37:06 -04:00
Asumu Takikawa
7f143f03ed Add impersonator-contract? along with docs/tests.
The impersonator-contract? function checks if its argument is
a contract that is neither flat nor a chaperone contract.
2011-05-26 00:37:05 -04:00
Asumu Takikawa
78689098eb Fix docs on editor-snip% init arg 2011-05-25 23:39:38 -04:00
Asumu Takikawa
9922062c2d Make guibuilder preview work and Racketize 2011-05-25 23:39:37 -04:00
Asumu Takikawa
3e3e7362ef Fix bug in toolbar class in guibuilder 2011-05-25 23:39:37 -04:00
Robby Findler
d74810a08b fix broken earlier commit 2011-05-25 14:57:04 -05:00
Matthias Felleisen
e3c552b785 boolean-valued functions in Intermediate and up now check their results; also fixed some error messages; Closes PR 11745 2011-05-25 14:05:45 -04:00
Robby Findler
33e68022db make the two-argument version of redex-match use the right name for the procedure it returns 2011-05-25 12:45:06 -05:00
Tony Garnock-Jones
c888222fb6 Property accessors are now able to accept 1 or 2 arguments 2011-05-25 10:47:59 -04:00
Matthew Flatt
c54355482f fix GUI builder due to `pasteboard%' change way back
- the `insert' method of `pasteboard%' was always
   documented as inserting to the back by default, but the
   old C++ implementation actually inserted at the front for
   one of the overloadings; keeping the releatively new
   behavior supports more recent code at the expense of old
   code, and this commit is for old code
2011-05-25 07:32:48 -06:00
Matthew Flatt
909aaddf3d protect against nested snip deletes in `pasteboard%' 2011-05-25 07:32:47 -06:00
Matthew Flatt
e7d2cb73d9 doc formatting fixes 2011-05-25 07:32:47 -06:00
Jay McCarthy
d4417fab46 Adding a few index entries 2011-05-25 06:33:04 -06:00
Matthew Flatt
8f0921a9bd add shortcut to expand R6RS letrec' of procedures to Racket letrec' 2011-05-25 03:10:13 -06:00
Vincent St-Amour
c7d2f13dd0 Preserve source location in the optimizer. 2011-05-24 16:53:53 -04:00
Vincent St-Amour
5352593bf1 Have TR optimize at the REPL. 2011-05-24 16:53:53 -04:00
Vincent St-Amour
2cddccfe7e Improve docs for sub-in. 2011-05-24 16:53:52 -04:00
Tony Garnock-Jones
7615c2a512 Implementation, documentation and tests for adding a failure-result to property accessor procedures. 2011-05-24 16:53:52 -04:00
Tony Garnock-Jones
9ce0f9d29e Minor cleanup of documentation for make-impersonator-property. 2011-05-24 16:53:52 -04:00
Matthew Flatt
5c5e6039df gtk: fix self X-selection handling 2011-05-24 13:22:01 -06:00
Matthew Flatt
f46edbe1ff fix doc typo 2011-05-24 12:58:53 -06:00
Matthew Flatt
cc647f0ab9 use container sequence to avoid resize flicker for `text-field%' 2011-05-24 12:58:53 -06:00
John Clements
dcb5e896dd added raise-type-error to date->string, also test case 2011-05-24 10:24:31 -07:00
Casey Klein
e8e2898359 Fixes rendering of relations with `name' patterns 2011-05-24 11:58:54 -05:00
Vincent St-Amour
5e87097854 Document the sub-in require syntax. 2011-05-24 12:40:16 -04:00
Vincent St-Amour
011d43b688 Add require syntax for multiple files in the same directory/collect. 2011-05-24 12:40:09 -04:00
Vincent St-Amour
c5973bea99 Add note about modules vs REPL in performance docs. 2011-05-24 10:57:47 -04:00
Vincent St-Amour
fcf766c905 Prune dead code from Honu.
Approved by Jon Rafkind.
2011-05-24 10:57:31 -04:00
Matthew Flatt
00e17ab51f adjust Guide to warn about performance measurement in DrRacket 2011-05-24 08:02:09 -06:00
Matthew Flatt
22702a70bd typo 2011-05-24 06:28:54 -06:00
Matthew Flatt
23777f291c avoid flock() under Solaris 2011-05-24 06:18:40 -06:00
Eli Barzilay
31009166d7 Make it possible to hook up a "newsflash" below the left blurb. 2011-05-23 14:05:13 -04:00
Eli Barzilay
7f6733b617 Go down boxes too. 2011-05-23 14:05:13 -04:00
Vincent St-Amour
7b0f64de72 Don't run TR integration tests during nightly builds. 2011-05-23 13:58:28 -04:00
Stephen Chang
b4ab1bb093 fix bug in lazy stepper handling of cyclic lists 2011-05-22 01:54:46 -04:00
Jay McCarthy
291ee08736 Adding scriblib/bibtex. 2011-05-21 10:10:05 -06:00
Jay McCarthy
0332a09d10 First pass 2011-05-21 10:10:05 -06:00
Jay McCarthy
dc639df1da Parsing 2011-05-21 10:10:04 -06:00
Jay McCarthy
12f5994191 Parsing 2011-05-21 10:10:04 -06:00
Jay McCarthy
996a0366f8 Parsing 2011-05-21 10:10:04 -06:00
Jay McCarthy
eb55bc9a86 Progress 2011-05-21 10:10:04 -06:00
Jay McCarthy
5fd6f0663e Worked too long on this today 2011-05-21 10:10:04 -06:00
Jay McCarthy
e8d3ce3f3f Initial bibtex fakery 2011-05-21 10:10:03 -06:00
Robby Findler
040bd371b6 adjust the lw construction in Redex so that it uses the width of the
"canonical" way to write symbols, instead of the way they are displayed.
This makes a difference for symbols that have spaces in them or symbols
that, when displayed, look like numbers or other non-symbol things.
2011-05-20 21:52:09 -05:00
Robby Findler
ce3e46b71a fix a bug in the planet packaging code that could result in the documentation not being included 2011-05-20 10:13:45 -05:00
Eli Barzilay
f4b9b785b7 Change htdp' to a package to include doc/htdp'. 2011-05-20 04:49:09 -04:00
Matthew Flatt
4b9d88cc1d fix `sequence->stream'
Closes PR 11932
2011-05-19 15:59:08 -07:00
Robby Findler
6bc43306ca fix two format string mixup bugs (one in planet and one in the racket/cmdline library) 2011-05-19 17:52:09 -05:00
Matthew Flatt
7060fa5b75 fix problems with `letrec' splitting and constant procedures 2011-05-19 15:15:01 -07:00
Kevin Tew
518f20142c 11930 bug fix: added missing scheme_seal_parameters call 2011-05-19 11:48:23 -06:00
Matthew Flatt
b44f217cdd fix 'exact-chars Latex rendering for `multiarg-element' 2011-05-19 06:36:54 -07:00
Matthew Flatt
b6445880e2 add pre-multiplied mode for `{get,set}-argb-pixels' 2011-05-18 16:01:33 -07:00
Vincent St-Amour
006d5ef45a Typo. 2011-05-18 17:09:45 -04:00
Vincent St-Amour
3b036388d6 Remove trailing whitespace. 2011-05-18 17:09:45 -04:00
Vincent St-Amour
a1fab6ec06 Give more meaningful names to conditional contract forms. 2011-05-18 17:09:45 -04:00
Vincent St-Amour
027947eef2 Use more descriptive variable names. 2011-05-18 17:09:45 -04:00
Vincent St-Amour
c02071b262 Reduce the number of hygiene violations in rep-utils.rkt.
Beginning of an attempt to make that file comprehensible.
2011-05-18 17:09:44 -04:00
Robby Findler
91f5fbcd88 added a test case for PR 11930 2011-05-18 10:05:39 -05:00
Matthew Flatt
905eb11651 fix alpha-only mode of `get-argb-pixels'
Closes PR 11927
2011-05-17 16:00:36 -07:00
Vincent St-Amour
b65054134a Fix TR documentation to use the new location of base env files. 2011-05-17 18:30:54 -04:00
Vincent St-Amour
bc4a7df94d Better solution to the toplevel printing bug. 2011-05-17 18:30:53 -04:00
Eric Dobson
9a65545814 Path manipulation now works with SomeSystemPath correctly. 2011-05-17 18:03:48 -04:00
Eric Dobson
05af2b9e17 Split Path type into Path and OtherSystemPath. 2011-05-17 18:03:48 -04:00
Vincent St-Amour
8f6d3c7920 Avoid printing results of tests when eliminating if branches at the toplevel.
Closes PR 11928.
2011-05-17 17:47:21 -04:00
Vincent St-Amour
1ed0e84791 Move base environment files to their own subdirectory. 2011-05-17 15:16:18 -04:00
Jay McCarthy
7a8278ab2c Fixes pr11915, but alpha seems to need two Ctrl-Cs before it starts animating, not sure why 2011-05-17 11:52:15 -06:00
Robby Findler
df6be6e7f1 Adjust the menubar sizing code to explicitly take
into account the size of the dummy menu item that
was added.
  related to PR 11926
  related to PR 11893
  related to PR 11623
  related to PR 11917
2011-05-17 11:02:26 -05:00
Asumu Takikawa
47db06ac6f round -> ceiling in paint-by-numbers 2011-05-16 21:12:17 -04:00
Robby Findler
4d4a94a38a removed EoPL from the language dialog (and adjust the docs a little
to suggest using the #lang variant)
2011-05-16 16:49:02 -05:00
Sam Tobin-Hochstadt
c2291e049d Add types for some of `syntax/stx'
Add hacked types for `with-syntax' internals.
2011-05-16 14:55:17 -04:00
Sam Tobin-Hochstadt
744d1921d8 Remove duplicate definitions; reprovide from `racket/private/stx' instead. 2011-05-16 14:55:17 -04:00
Sam Tobin-Hochstadt
18e83f2f3b Fix result contract of `stx->list'. 2011-05-16 14:55:17 -04:00
Vincent St-Amour
bdf1073f17 Fix optimizer expected log format.
Optimizer log format was changed on a different branch, and this test
was written using that new format, which is not recognized on current
master.
2011-05-16 14:23:24 -04:00
Vincent St-Amour
4cd0ad4b1a Coerce reals in float expressions when valid. 2011-05-16 11:44:35 -04:00
Vincent St-Amour
e64ba228e8 Have the TR test harness skip emacs unsaved file backups. 2011-05-16 11:44:35 -04:00
Robby Findler
71770ee285 one more collection-path => collection-file-path in scribble 2011-05-16 06:51:25 -05:00
Sam Tobin-Hochstadt
e92af62ca0 Add contract generation for Set type. 2011-05-15 22:53:20 -04:00
Robby Findler
7b3039d22d an attempt to fix the 'toolbar buttons are wrong on initialization' bug in drracket 2011-05-15 21:48:21 -05:00
Matthew Flatt
66178570b6 scribble: add support for setting a document date
in Latex output, and also document and generalize
 the 'pretitle paragraph style
2011-05-15 19:42:22 -06:00
Matthew Flatt
479e8cdc27 fix arity errors detected by optimizer 2011-05-15 19:42:22 -06:00
Robby Findler
a82ae17ca8 adjust the htdp teachpack docs to use the #:use-sources keyword to demonstrate how it works 2011-05-14 20:47:38 -05:00
Matthias Felleisen
7c546d3b7c basic docs for htdp collection 2011-05-14 13:58:18 -04:00
Matthias Felleisen
490c38ee25 documentation for old teachpacks, stubs for error module, redirect for Kathy's testing module; fixes for redirects 2011-05-14 13:58:17 -04:00
Matthew Flatt
94e8419a2e fix "#lang r6rs" docs to point back to how-to-use-R6RS sections 2011-05-14 08:05:56 -06:00
Matthew Flatt
2e367626b5 win32: fix pango font-map finalization 2011-05-13 14:06:54 -06:00
Matthew Flatt
450c66d308 fix MysterX for places 2011-05-13 14:06:53 -06:00
Matthew Flatt
343568fd84 fix return type of scheme_get_place_table() 2011-05-13 14:06:52 -06:00
Matthew Flatt
a613e81fcd change protocol for extensions with places
- extension gets scheme_initialize() per-place
 - simplify allocation and fix locking for scheme_new_type()
 - better Inside docs on places
2011-05-13 14:06:51 -06:00
Matthias Felleisen
84cb649b87 removed pair? from language primitives so that HTDP works; Closes PR 10148 2011-05-13 12:55:45 -04:00
Matthias Felleisen
02512706b1 supply missing documentation 2011-05-13 12:55:44 -04:00
Matthias Felleisen
df05a41ebd turn into reasonable performance test 2011-05-13 12:55:44 -04:00
Matthew Flatt
49aadc599a ffi: add `#:in-original-place?' to deal with thread-unsafe libs
and use it for Pango, which is not thread-safe at the C level
2011-05-13 08:55:04 -06:00
Matthew Flatt
c5816ab6f9 fix doc typo 2011-05-13 08:55:03 -06:00
Robby Findler
0a0445692b fix search path problem in scribble 2011-05-13 09:05:25 -05:00
Eli Barzilay
387b6c51dd Added Mac OS X build for x86_64.
(Thanks to Stephen De Gabrielle <stephen.degabrielle at acm dot org>.)
2011-05-12 20:09:39 -04:00
Stephen Bloch
7597d2c2c6 Fixed a typo that crashed the nightly build :-( 2011-05-12 13:10:22 -04:00
Kevin Tew
c9c02f3fb0 duplicate and cycle detection for places_deserialize_worker 2011-05-12 08:28:47 -06:00
Stephen Bloch
79778e0a1e Added some illegal-argument tests to map-image.rkt.
Added test cases for these to map-image-bsl-tests.rkt.
Modified an error message from colorize, and its test cases.
Added map-image/extra and build-image/extra functions.
2011-05-12 00:51:02 -04:00
Robby Findler
1db3ae3476 fixed up printing ~s vs ~a in contract system and made the contract tests run in drdr 2011-05-11 21:20:04 -05:00
Robby Findler
c163e75023 make the generated name used for languages (introduced by define-language
and define-extended-language) be based on the name of the language so the
error message is better (but not as good as it should be)
2011-05-11 18:38:10 -05:00
Ryan Culpepper
761a4025ca fix warnings 2011-05-11 15:56:24 -06:00
Ryan Culpepper
56bb28dfc6 unstable/syntax: added explode-module-path-index 2011-05-11 15:56:24 -06:00
Ryan Culpepper
dc0138bcb7 minor doc fix (optional args last) 2011-05-11 15:56:24 -06:00
Matthew Flatt
8492f7c90b fix symbol handling in long-message transfer
as well as stack-overflow handling
2011-05-11 15:04:59 -06:00
Kevin Tew
2bc97ccf59 setup: change made to making
Much easier a change than I was imagining.
2011-05-11 12:14:36 -06:00
Eli Barzilay
7918d921ee Fix documentation for `cycle'.
Closes PR 11040.
2011-05-11 13:54:18 -04:00
Jon Rafkind
3b73fa1462 lower -> faster 2011-05-10 21:56:13 -06:00
Matthew Flatt
4671b5f2ba fix `scribble/lncs' docs 2011-05-10 20:34:28 -06:00
Matthew Flatt
515a4f7991 cocoa: fix problems using menu-bar height 2011-05-10 20:17:47 -06:00
Ryan Culpepper
b45b111960 rackunit: don't assume raised value is exn
Closes PR 11632
2011-05-10 18:17:21 -06:00
Ryan Culpepper
f6b73f01e1 rackunit: drop redundant 'params info, use error-display-handler
Closes PR 11618
2011-05-10 18:17:21 -06:00
Jon Rafkind
c11a177009 add notes about using racket/base instead of racket. closes pr 10992 2011-05-10 18:18:00 -06:00
Robby Findler
1b838cf85a add c:x;t as a keybinding for the latex shortcuts
closes PR 11871
2011-05-10 15:34:47 -05:00
Robby Findler
a1217107b2 added the scribble/lncs language 2011-05-10 14:10:28 -05:00
Robby Findler
c5f8add9ea avoid eval-compile-time-part-of-top-level when in the module language
Thanks to Ryan for spotting this call!
  Closes PR 11908
2011-05-10 14:10:28 -05:00
Matthew Flatt
0011f5957d fix rotation problems and sense of `transform'-like operations
so that they conceptually apply after the current
 transformation, instead of before the current transformation;
 more general rotation problems were related to aligned drawing
 and the calculation of the effective scale for alignment
2011-05-10 09:53:49 -06:00
Matthew Flatt
dc7e8ef379 slideshow: improve viewer inset handling 2011-05-10 09:53:49 -06:00
Matthew Flatt
2e93e0ec14 cocoa: fix frame coordinate system by using initial menu-bar height 2011-05-10 09:53:48 -06:00
Kevin Tew
94d92092a5 deep copy stack overflow check 2011-05-10 06:37:39 -06:00
Matthias Felleisen
b74c9f9df3 ensure that dimensions of canvas are below 2000 by 2000; closes PR 11907 2011-05-09 17:59:23 -04:00
Robby Findler
0e58a37105 fixed up a test (that I hadn't meant to push the last time, sigh) 2011-05-09 15:34:01 -05:00
Matthew Flatt
ca16f25cf1 fix in-list' to check argument with list?'
--- originally left out on purpose for performance reasons,
     but it was not documented as missing a test, it's obviously
     better to check for a list, and JIT changes have made
     the `list?' test inexpensive
2011-05-09 14:27:45 -06:00
Matthew Flatt
8ad8d5b7f7 fix tl-map parse & marshal 2011-05-09 12:24:05 -06:00
Matthew Flatt
a4da2a3f4c fix varref' in compiler/zo-structs', etc.
and sync docs better with implementation
2011-05-09 09:43:32 -06:00
Robby Findler
553d9ff4c6 made set/c preserve flat-contract'ness of its argument 2011-05-09 08:49:12 -05:00
Robby Findler
e41deb5cf6 more help collection documentation 2011-05-09 08:49:11 -05:00
Robby Findler
b6fc13b9eb a start on the help docs 2011-05-09 08:49:11 -05:00
Robby Findler
f60f23496d added a drracket test 2011-05-08 22:30:24 -05:00
Robby Findler
e88f86efe4 a start on the scribble/lncs language 2011-05-08 22:19:46 -05:00
Matthew Flatt
db75dddf87 fix decompiler's listing of captured top- and module-level variables 2011-05-08 17:01:23 -06:00
Matthew Flatt
02c2c173f2 Prevent #\uFFFF and #\uFFFE from being passed through to Pango
Closes PR 11904
2011-05-08 17:01:23 -06:00
Sam Tobin-Hochstadt
27aa3f7556 Add type for `error-display-handler' 2011-05-08 15:36:48 -04:00
Sam Tobin-Hochstadt
2f3e9fc655 Add types for `in-hash' etc. 2011-05-08 15:36:48 -04:00
Matthew Flatt
153d23ecf0 adjust sandbox memory-limit test timeout 2011-05-08 06:26:04 -06:00
Casey Klein
cafcb47549 Refactored reduction-relation-procs 2011-05-08 06:19:45 -05:00
Casey Klein
dd58b457a9 Fixes domain checking of unioned reduction relations 2011-05-08 05:04:16 -05:00
Robby Findler
33c848fcda added current-cache-all?, a parameter that controls the caching strategy
that apply-reduction-relation* (and thus test-->>) uses
also make apply-reduction-relation* call remove-duplicates
  on the result of apply-reduction-relation
2011-05-07 20:06:38 -05:00
Robby Findler
70b0eb8ac9 make raco setup call raise-user-error instead of error when reporting malformed command-line collection paths 2011-05-06 17:29:06 -05:00
Robby Findler
2fe1c3b80d document the help collection's top-level modules 2011-05-06 17:29:03 -05:00
Eli Barzilay
8ce2ec7580 Fix permissions on Windows.
The windows 7 build generated some weird permission issues: the toplevel
directory had a 000 permission as well as all *.exe files.  Looks like
it is due to how cygwin translates the permissions of the C:\ drive.  A
way to get around this is to have a build directory with pre-set
permissions that cygwin likes, then have the build directory in it.

(This hack might be needed for the other build machine too at some point
in the future.)

Also add /c/Windows/system32 to the PATH, otherwise MS batch files fail
(with obscure errors).
2011-05-06 14:46:39 -04:00
Eric Dobson
e9683e1dd2 Changed early failure in subtyping to all non-struct values, not just null. Closes PR 11887. 2011-05-06 11:39:01 -04:00
Matthew Flatt
e9721058fb reorgnize datatypes of less common bytecode forms
removing a layer of indirection, and setting up
 for an internal reorganization of the compiler code
2011-05-06 06:56:23 -06:00
Sam Tobin-Hochstadt
af56616fc8 Require numeric-predicates at the correct phase.
Closes PR 11897.
2011-05-05 19:04:38 -04:00
Sam Tobin-Hochstadt
507db7e5a6 Include extra-procs in the #:use-sources. 2011-05-05 19:04:38 -04:00
Vincent St-Amour
d7fd2b2e3f Add extra early failure cases to subtype* to avoid inference failures. 2011-05-05 18:54:12 -04:00
Vincent St-Amour
4b03ecde2a Integrate the TR and TR optimizer test suites. 2011-05-05 18:54:12 -04:00
Vincent St-Amour
4ea9b29d12 Remove redundant checks from TR's optimizer tests.
Checking that the optimized and non-optimized versions return the same
results is unnecessary. Optimization logs, which are checked against
an expected log, already contain the results.
2011-05-05 18:54:12 -04:00
Vincent St-Amour
7b6edb452f Rewrite the optimizer test suite to use rackunit. 2011-05-05 18:54:12 -04:00
Vincent St-Amour
fa016ea576 Keep running TR tests even if optimizer tests fail. 2011-05-05 18:54:12 -04:00
Vincent St-Amour
850d4d325d Don't display name of non-test files. 2011-05-05 18:54:12 -04:00
Eli Barzilay
b4b490b724 Win64 build should be working now 2011-05-05 18:30:03 -04:00
Robby Findler
507b1cd8fd moved the docs-complete library into rackunit
to avoid having a separate, new manual for the
  one library
2011-05-05 16:10:42 -05:00
Ryan Culpepper
abb8f63036 syntax/parse: made link to pattern-directive docs more prominent, indexed
Closes PR 11882
2011-05-05 02:17:54 -06:00
Ryan Culpepper
d9f05a61a3 syntax/parse: better error message for unbound literals 2011-05-05 02:17:54 -06:00
Robby Findler
d40b43c0a9 make the deinprogramm documentation drdr messages be accurate
(that is, I think that the complaints coming from the
   tests\deinprogramm\test-docs-complete.rkt message are
   now pointing out things for which there is actually no
   documentation, instead of pointing out the need for
   different declare-exporting declarations)
2011-05-04 18:54:28 -05:00
Robby Findler
d3c04ae701 Adjusted docs-complete to print a different message when there are no docs at all
and ... ummm... documented docs-complete
2011-05-04 18:54:25 -05:00
Robby Findler
0415bf6b7f make (many of) the rackunit examples executable
and fix a buggy example
  closes PR 11894
2011-05-04 14:02:45 -05:00
Matthew Flatt
34b8dc249e fix documented contracts for path functions
and make `cleanse-path' work for any platform's paths
  while fixing `resolve-path' checking to disallow paths
  for other platforms
 Closes PR 11891
2011-05-04 11:40:01 -06:00
Matthew Flatt
5e7d1f2d9c fix get-char-width' and get-char-height' in case font match fails 2011-05-04 11:09:12 -06:00
Casey Klein
4b03ddccb1 Fixes Redex stepper's handling of symbols quoted with || 2011-05-04 10:34:01 -05:00
Casey Klein
3187cac716 Updates to lam's new toplevel-map field 2011-05-03 17:59:52 -05:00
Eric Dobson
f3c73a197e Changed Paths to PathStrings in types where appropriate 2011-05-03 18:20:31 -04:00
Eric Dobson
44f377bcd4 Correctly instantiate poly-dotted functions with zero arguments.
Closes PR 11776. Closes PR 11545.
2011-05-03 18:20:31 -04:00
Eli Barzilay
8313c072ae Work around potential module caching problem. 2011-05-03 18:20:10 -04:00
Eli Barzilay
68cd96ac1a Added two x86_64 debian builds
(Thanks to Mason Loring Bliss <mason at blisses dot org>.)
2011-05-03 18:20:10 -04:00
Eli Barzilay
be6bc96fc8 Use $SETUP_ARGS in the PDF build too. 2011-05-03 18:20:10 -04:00
Eli Barzilay
1f2b072a7b added robby to the collects/net part, and robby+mflatt to the tests 2011-05-03 18:20:09 -04:00
Eli Barzilay
8b48802440 Improved code for `form-urlencoded->alist', should be faster too. 2011-05-03 18:20:09 -04:00
Matthew Flatt
76484e9ead fix docs
Closes PR 11888
2011-05-03 14:43:27 -06:00
Matthew Flatt
87a4132b40 fix zo-marshal' for #f toplevel-map in lam' 2011-05-03 14:43:27 -06:00
Kevin Tew
811154cb08 Indent fix 2011-05-03 14:40:02 -06:00
Kevin Tew
46dc051931 Turn places build back on, provide place-break. 2011-05-03 14:01:30 -06:00
Matthew Flatt
3bf438f580 rewrite `ffi-lib' docs with better guidance on versions 2011-05-03 13:16:21 -06:00
Matthew Flatt
4a41196dc2 win32: work around Pango(?) bug in freeing font maps 2011-05-03 10:23:35 -06:00
Matthew Flatt
6f1aa7bc00 adjust Redex example after bytecode-structure change 2011-05-03 08:53:49 -06:00
Matthew Flatt
2ada6d0e89 break link to namespaces from from closures over top-/module-level vars
- the `lam' structure from `compiler/zo-struct' changed to include a
   `toplevel-map' field

 This change helps solve a finalization problem in `racket/draw',
 which in turn sigificantly reduces the peak memory use of `raco setup'
 during the doc-building phase (because some documents load `racket/draw'
 to render images, and multiple copies of `racket/draw' were retained
 before finalization was fixed).

 The change is an extreme way to solve a specific finalization
 problem, but it's a kind of space-safety improvement; space safety
 almost never matters, but when it does, then working around a lack of
 space safety is practically impossible. In this case, it's not clear
 how to otherwise solve the `racket/draw' finalization problem.

 The improvement doesn't change the representation of closures, but it
 requires special cooperation with the GC. All closures in a module
 continue to share the same array of globals (plus syntax objects);
 that is, instead of completely flat closures, Racket uses a two-level
 environment where top-/module-level variables are grouped
 together. The code half of a closure now records which
 top-/module-level variables the body code actually uses, and the mark
 phase of GC consults this information to retain only parts of the
 top-/module-level environment frame that are actually used by some
 closure (or all of the frame if it is accessible through some other
 route).  In other words, the GC supports a kind of "dependent
 reference" to an array that is indexed by positions into the array
 --- except that the code is more in the "Racket" directory instead of
 the "GC" directory, since it's so specific to the closure
 representation.
2011-05-03 06:57:49 -06:00
Matthew Flatt
1b14c6a38e fix mistakes uncovered by optimizer warnings 2011-05-03 06:57:48 -06:00
Sam Tobin-Hochstadt
045fd7a77c Document utility predicates. 2011-05-03 08:15:37 -04:00
Eric Dobson
613e121783 Struct types now generate flat contracts when appropriate.
Closes PR 11686.
2011-05-03 08:15:37 -04:00
Ryan Culpepper
1bf95392d2 syntax/parse: added litset extension 2011-05-03 01:25:41 -06:00
Ryan Culpepper
e5e12ab01a syntax/parse: added define-syntax-class/specialize 2011-05-02 21:02:11 -06:00
Ryan Culpepper
0a048b67bb syntax/parse: refactored some parsing/checking code 2011-05-02 20:28:51 -06:00
Casey Klein
fd401ce98e Adds docs test to the test script 2011-05-02 06:02:50 -05:00
Casey Klein
b592017d05 Documents or deletes all Redex exports 2011-05-02 06:02:50 -05:00
Casey Klein
4e68a5019f Moved rewriters documentation into typesetting section 2011-05-02 06:02:49 -05:00
Casey Klein
775d31d04a Sets up the right modpaths for Redex exports 2011-05-02 06:02:49 -05:00
Robby Findler
2230605301 add a #:use-sources keyword to deinprogramm docs to get scribble to know about more of the docs 2011-05-02 05:52:59 -05:00
Robby Findler
bc9c44a5af graphics/turtles: fixed up for an 'xor-less world
(and generally brought this code into the current millenium)
2011-05-01 18:27:40 -05:00
Robby Findler
2bba4e101f fixed up the graphics/ collection's docs 2011-05-01 16:57:10 -05:00
Robby Findler
d6ef130fd2 cleaned up framework docs 2011-05-01 14:16:04 -05:00
Robby Findler
551c6866d1 add in the supported ->i forms 2011-05-01 14:15:57 -05:00
Mike Sperber
d582dd55dd Fix bug in vector signatures. 2011-05-01 11:18:10 +02:00
Robby Findler
c8d476c76e adjust scribble's racketblock renderer so that #true and #false
don't turn into #t and #f.
2011-04-30 20:35:16 -05:00
Carl Eastlund
4990029922 Added documentation for define-renaming. 2011-04-30 20:06:59 -04:00
Carl Eastlund
723d389d59 Singular version of define-renamings. 2011-04-30 20:06:59 -04:00
Carl Eastlund
01f1add1cb Made define-syntax-block less restrictive about source of bindings. 2011-04-30 20:06:59 -04:00
Sam Tobin-Hochstadt
31aa47f136 Fix a couple typos found by mflatt and the optimzer. 2011-04-30 19:49:00 -04:00
Sam Tobin-Hochstadt
db5d59a217 new version of sigplanconf.cls 2011-04-30 19:48:59 -04:00
Jay McCarthy
8708268992 Fixing problems with %is discovered by Casey 2011-04-30 12:02:41 -06:00
Eli Barzilay
1f7ac35d8e v5.1.1 stuff 2011-04-30 02:57:12 -04:00
Robby Findler
a22d370818 fix copy and paste bug (and re-indent a mis-indented line) 2011-04-29 21:11:23 -05:00
Asumu Takikawa
7eb26c5d26 Added test for get-pos/text method result. 2011-04-29 18:56:36 -04:00
Vincent St-Amour
4d24cbee60 Promote more literals at compile-time. 2011-04-29 17:16:39 -04:00
Vincent St-Amour
d9451ef4ab Run optimizer tests in a throw-away namespace to reduce memory usage. 2011-04-29 15:28:30 -04:00
Vincent St-Amour
32a8da58cb More indentation of TR keywords. 2011-04-29 15:28:30 -04:00
Asumu Takikawa
8ea0e5916d Fix horizontal-panel-mixin to use correct interface. 2011-04-29 14:11:22 -04:00
Asumu Takikawa
4b575c315b Fixed inconsistent return values for get-pos/text. 2011-04-29 14:11:21 -04:00
Sam Tobin-Hochstadt
551ad63f4e Document many more numeric types, and fix documentation for `typed/scheme' etc. 2011-04-29 13:27:38 -04:00
Sam Tobin-Hochstadt
e8f07c1dc3 Add more examples for remove', remq', `remv'. 2011-04-29 13:27:38 -04:00
Robby Findler
37c7ad81ed fixed redex.scrbl bugs 2011-04-29 08:12:51 -05:00
Stephen Bloch
0417e6b1d3 Took private files out of test-docs-complete. 2011-04-29 07:45:08 -04:00
Robby Findler
8fbefb0b6d added typesetting support for relations 2011-04-28 22:20:14 -05:00
Stephen Bloch
d3d8659183 Moved most files into private directory.
Modified main.rkt, picturing-programs.scrbl, and test-docs-complete
to reflect the new locations.
2011-04-28 22:13:41 -04:00
Stephen Bloch
8fb0f8840d Merge branch 'master' of pltgit:plt 2011-04-28 21:58:21 -04:00
Sam Tobin-Hochstadt
6a87483f38 Document a bunch of TR types and special forms. 2011-04-28 18:26:07 -04:00
Sam Tobin-Hochstadt
561d89f0af Remove uneccesary provides. 2011-04-28 18:25:22 -04:00
Sam Tobin-Hochstadt
c28f024ae0 Progress on missing docs. 2011-04-28 18:25:22 -04:00
Sam Tobin-Hochstadt
9469835be4 Add deftech for "future". 2011-04-28 18:23:53 -04:00
Sam Tobin-Hochstadt
0d246de293 Remove obselete shell script 2011-04-28 18:23:53 -04:00
Vincent St-Amour
632e36f751 Add set types to TR.
Original patch by Eric Dobson.
2011-04-28 18:22:39 -04:00
John Clements
d2a21d717c refactored stepper tool to work with tabs instead of frames 2011-04-28 13:22:12 -07:00
John Clements
e4a834e9b0 housekeeping, changed to drracket-tool, moved files to private 2011-04-28 13:22:12 -07:00
John Clements
437baf905a added simple scribblings from old doc.txt 2011-04-28 13:22:12 -07:00
Vincent St-Amour
fc531c4dbf Fix chicken output processing. 2011-04-28 16:19:59 -04:00
Vincent St-Amour
7cf64050f8 Make tabulation script more resilient to incorrect input. 2011-04-28 16:19:59 -04:00
Vincent St-Amour
e11582a522 Chicken can do scheme2 now. 2011-04-28 16:19:58 -04:00
Vincent St-Amour
5592e9b34b Add more TR keywords to tabify list. 2011-04-28 16:19:58 -04:00
Eric Dobson
cfab042e54 Added TR keywords to default tabify list 2011-04-28 16:19:58 -04:00
Robby Findler
499852087d stlc bug fix 2011-04-28 14:51:29 -05:00
Stephen Bloch
2b3386776c Merge branch 'master' of pltgit:plt 2011-04-28 12:15:41 -04:00
Robby Findler
2d28276c47 added newlines to planet's log 2011-04-28 07:35:15 -05:00
Kevin Tew
64ba1f2fa4 [Places] rename place-channel.rktl -> place-channel.rkt 2011-04-27 22:35:05 -06:00
Matthew Flatt
982503b083 share a timestamp cache across all collections during `raco setup' 2011-04-27 19:02:08 -06:00
Asumu Takikawa
836ac18667 Fix documented contracts in framework/color. 2011-04-27 17:47:30 -04:00
Carl Eastlund
943c1bd6b5 Added Typed Racket reference subsection for syntax object(-related) types:
Syntaxof, Syntax, Identifier, Syntax-E, Sexpof, Sexp, and Datum.
2011-04-27 16:46:20 -04:00
Matthew Flatt
0e229529c0 JIT-inline `procedure-arity-includes?' 2011-04-27 14:10:21 -06:00
Vincent St-Amour
69b7923cf1 Props. 2011-04-27 14:14:26 -04:00
Vincent St-Amour
99f4ae14ee Bigloo does not report time in centiseconds anymore (as of 3.6a). 2011-04-27 14:14:26 -04:00
Vincent St-Amour
31df4384e1 Chicken doesn't print GC time if the GC doesn't fire. 2011-04-27 14:14:26 -04:00
Kevin Tew
028421432d [Places] place-channel tests for large messages 2011-04-27 11:50:45 -06:00
Kevin Tew
7134b95ff1 [Places] place/anon place/thunk 2011-04-27 11:50:44 -06:00
Vincent St-Amour
6d56ddcc10 Chicken changed its timing output format. 2011-04-27 11:03:06 -04:00
Vincent St-Amour
d52c7f2d78 Typo. 2011-04-27 11:03:06 -04:00
Vincent St-Amour
33348795c9 cpstack -> cpstak 2011-04-27 11:03:06 -04:00
Vincent St-Amour
fd2d9ba0be Bigloo can't compile nucleic2. 2011-04-27 11:03:05 -04:00
Vincent St-Amour
9c9c87aa09 Remove file that was accidentally committed. 2011-04-27 11:03:05 -04:00
Vincent St-Amour
2d8b4dcc3e Fix typos in rackunit docs. 2011-04-27 10:11:05 -04:00
Vincent St-Amour
b2f7132577 Fix typos in ephemeron docs. 2011-04-27 10:11:05 -04:00
Matthew Flatt
d08d7c3364 fix string-constant doc build 2011-04-27 06:18:23 -06:00
Matthew Flatt
4cd0ba277e remove `define-wish' from BSL for now
Merge to 5.1.1
2011-04-27 06:09:30 -06:00
Robby Findler
99c030ec35 ignore serialize export 2011-04-26 23:58:09 -05:00
Robby Findler
052b257e44 fix some easy stuff missing in the browser docs 2011-04-26 23:28:01 -05:00
Robby Findler
06ed2045ae adjust check-docs so that the skipped exports are a parameter 2011-04-26 23:27:48 -05:00
Robby Findler
dc0198a784 fixed up the string constants collection 2011-04-26 23:26:19 -05:00
Matthew Flatt
d28d42a46f fix validator bug (to allow flonum-consuming proc to be cleared)
Closes PR 11879
2011-04-26 19:21:14 -06:00
Kevin Tew
a589ea42b6 [Places] added place-break primitive 2011-04-26 18:41:19 -06:00
Matthew Flatt
8679afed60 clean up C part of build
- no more attempt to support places with the Boehm GC
 - no more libatomic (which was for places + Boehm GC)
 - remove unsupported configuration options
 - strip Racket-specific configure options before libffi configure
 - port two leftover Perl scripts to Racket scripts
2011-04-26 17:14:55 -06:00
Stephen Chang
5d47e58de3 add Lazy Racket tests from Premiers cours de programmation avec Scheme (Roy) 2011-04-26 19:13:41 -04:00
Jay McCarthy
5f1b390f64 moving 2011-04-26 16:46:55 -06:00
Jay McCarthy
e09b0ed8ca Adding some docs and restricting test to valid interface 2011-04-26 16:46:40 -06:00
Jay McCarthy
f96eb908d1 These are the only modules that are intended for usage 2011-04-26 16:37:58 -06:00
Jay McCarthy
c9286ce725 Moving... 2011-04-26 16:33:01 -06:00
Jay McCarthy
38bd829434 Moving... 2011-04-26 16:33:00 -06:00
Jay McCarthy
c47a16c89b All public bindings come from this module 2011-04-26 16:32:26 -06:00
Stephen Bloch
8ff1a2a8e2 Tweaked documentation and "provide"s to agree with one another. 2011-04-26 16:52:32 -04:00
Vincent St-Amour
9740d5542b No need for EphemeronTop since ephemerons are covariant.
Closes PR 11633.
2011-04-26 15:35:22 -04:00
Eric Dobson
c221c07076 made ephemeron test correct 2011-04-26 15:35:22 -04:00
Eric Dobson
80fa8d3c97 Beginning of ephemeron patch 2011-04-26 15:35:22 -04:00
Vincent St-Amour
7800e417d2 Fix benchmarking for bigloo to work with its default options. 2011-04-26 15:35:22 -04:00
Robby Findler
2a7ca22a16 adjust picturing-programs to make declarations so that scribble can find the documented things 2011-04-26 14:11:19 -05:00
Robby Findler
d066175867 Removed tests at Chongkai's request 2011-04-26 14:11:19 -05:00
Casey Klein
1d1cdd03f5 Adds a form like term-let but using Redex patterns 2011-04-26 12:13:17 -05:00
Casey Klein
b3f45d3c84 Refactors to eliminate copied code 2011-04-26 12:13:17 -05:00
Stevie Strickland
f5de8bdabf Move scmxlated source for slatex into private.
Anyone using the sole export from slatex.rkt should really be using the
functions provided by slatex-wrapper.rkt instead, which I imagine is why
this has never been documented.
2011-04-26 13:01:18 -04:00
Jon Rafkind
d859642195 remove honu from docs check 2011-04-26 10:36:53 -06:00
Robby Findler
626bef922e dont insist that names beginning with #% are documented 2011-04-26 11:30:12 -05:00
Robby Findler
28200e733d adjusted the plai docs so that the mutator language has everything documented in a way scribble can understand 2011-04-26 11:27:28 -05:00
Ryan Culpepper
585dc9c0a3 sort names to avoid spurious changes 2011-04-25 22:51:51 -06:00
Ryan Culpepper
5ca09eeb3e document undocumented exports (data) 2011-04-25 22:18:00 -06:00
Ryan Culpepper
ced7739d22 remove undocumented export (macro-debugger) 2011-04-25 21:55:42 -06:00
Ryan Culpepper
cd108c6c00 document undocumented exports (unstable) 2011-04-25 21:51:57 -06:00
Ryan Culpepper
ee6fa14ec4 automatically filter out names from serializable structs 2011-04-25 20:24:36 -06:00
Ryan Culpepper
aac8be59ac updated syntax/parse docs 2011-04-25 20:24:35 -06:00
Ryan Culpepper
bf5248e3b5 syntax/parse: changed #:declare back to "magical" scoping 2011-04-25 20:24:35 -06:00
Robby Findler
fcfb422294 weeded out some more of the test-docs-complete.rkt files 2011-04-25 21:20:52 -05:00
Robby Findler
7701f75fb0 adjusted test-docs-complete.rkt tests 2011-04-25 19:00:01 -05:00
Asumu Takikawa
4cc0af90aa Handle SSLv2 absence gracefully and update docs. 2011-04-25 17:56:45 -04:00
Asumu Takikawa
6d1b584271 Documentation fixes in framework 2011-04-25 17:56:45 -04:00
Robby Findler
e7d0029aea added lots of new tests that our documentation is complete 2011-04-25 13:24:43 -05:00
Robby Findler
a373eac5d8 added docs-complete.rkt 2011-04-25 13:18:51 -05:00
Robby Findler
1fdfd8406d made sure that all of the mzlib/contract exports are documented
(some by using racket/contract exports and some by adding
   more docs)
2011-04-25 11:54:14 -05:00
Robby Findler
be1a0e62f7 added docs for current-contract-region 2011-04-25 11:53:23 -05:00
Robby Findler
21cbd9ad81 added the racket/contract/combinator library,
and documented and adjusted these libraries:
     racket/contract/base
     racket/contract/exists
     racket/contract/parametric (renamed from exists)
     racket/contract/region
2011-04-25 11:51:44 -05:00
Matthias Felleisen
f2a475eb43 critical bug fix in registration process; please propagate 2011-04-25 11:05:42 -04:00
Matthias Felleisen
88e0631c71 open output files in text mode 2011-04-25 11:05:42 -04:00
Vincent St-Amour
7e491392e1 Remove file that was accidentally committed. 2011-04-25 09:30:23 -04:00
Ryan Culpepper
8ad54552a1 fix references in eopl docs to assq, etc 2011-04-24 20:41:34 -06:00
Ryan Culpepper
fab332a409 let-bind assq, etc for correct object-name 2011-04-24 20:05:11 -06:00
Matthew Flatt
50878614e0 remove an unnecessary turtle check in `assoc' variants 2011-04-24 14:45:57 -06:00
Vincent St-Amour
41075df8d7 Typo. 2011-04-24 11:09:25 -04:00
Matthew Flatt
2f8006aa6b add an optional argument to `assoc'
and implement `assoc', `assq', and `assv' in Racket
2011-04-24 07:55:33 -06:00
Matthew Flatt
f4303cbef8 faster JITted path to `equal?' 2011-04-24 07:55:33 -06:00
Matthew Flatt
b1ac25023d allow additional arguments to `raise-mismatch-error'
because it's often useful to show more values, and a
 tail `raise-mismatch-error' instead of a nested `format'
 can avoid some safe-for-space work in the JIT output
2011-04-24 07:55:33 -06:00
Matthew Flatt
f54d977de1 JIT-inline `eqv?' 2011-04-24 07:55:32 -06:00
Matthew Flatt
e78a60016f fix cross-reference 2011-04-24 07:55:32 -06:00
Robby Findler
41497cec6a avoid printing stacktrace information when the exception is a exn:fail:user?.
closes PR 11874
2011-04-24 07:45:07 -05:00
Eli Barzilay
020946cb2a Disable xdg-open, since it seems like it suffers from the same problem
gnome-open does.

Relevant (but not really a solution) to PR 11869.
2011-04-23 08:51:05 -04:00
Eli Barzilay
22603f3f15 Add -j 1' to builds, and --disable-libffi' to configure. 2011-04-23 08:50:21 -04:00
Eli Barzilay
7f57fcec7e Fix the bgcolor on the mailman pages.
IE misparses a three-digit specification, so use 6 digits there.
2011-04-23 08:14:05 -04:00
Matthew Flatt
0754ad0114 safe-for-space repairs for functions with rest args 2011-04-22 15:59:33 -06:00
John Clements
b228316a8a updates to history
merge to 5.1.1 release
2011-04-22 14:28:18 -07:00
Asumu Takikawa
14ef89c37d Fix documentation for gui, draw, and framework.
- General cleanup/consistency (e.g. void -> void?)
  - Fix misdocumented methods (found violations via contracts)
2011-04-22 11:27:08 -04:00
Casey Klein
50f14dea18 Adds start term to test-->>E failure message
Closes PR 11867
2011-04-22 09:49:41 -05:00
Casey Klein
73c5d2a546 Fixes typo in redex-check docs
Closes PR 11868
2011-04-22 09:49:41 -05:00
Robby Findler
e8ce23cc9a adjust the test-engine test suite so it prints errors to stderr
and thus drdr will send email when test cases fail
2011-04-22 06:16:43 -05:00
Casey Klein
1c8c6ddbee Adds generate-term option for LHS-based generation 2011-04-22 04:43:11 -05:00
Casey Klein
362a6d75a5 Changes redex-match to suppress ..._x bindings 2011-04-22 04:43:11 -05:00
Casey Klein
24d697e83c Fixes bug in STLC example 2011-04-22 04:43:11 -05:00
Eli Barzilay
3f94c3dcfc Fix typo 2011-04-21 23:33:07 -04:00
Kevin Tew
34fd6c35dd Typo fix 2011-04-21 20:55:34 -06:00
Robby Findler
7f9bd52857 fixed a bug in the way PR 11775 was fixed
related to PR 11775
  pls. merge to release branch
2011-04-21 21:40:04 -05:00
Asumu Takikawa
45253454c7 plt-games: Fix minor bug in paint-by-numbers game. 2011-04-21 13:11:46 -04:00
Sam Tobin-Hochstadt
295cb191cf Fix undocumented binding. 2011-04-21 12:23:44 -04:00
Kevin Tew
23fa4fb684 Disable places build, using processes only. 2011-04-21 06:24:30 -06:00
Kevin Tew
6bfef986d1 Match error messasge in places.c 2011-04-21 06:24:09 -06:00
Kevin Tew
b1cd60213f Test all allowed types in place messages 2011-04-21 06:14:27 -06:00
Matthew Flatt
7a47974a69 adjust `in-vector' with ranges to cooperate with futures 2011-04-20 17:52:06 -06:00
Matthew Flatt
aed7bdf0c9 fix gc of ps/pdf/svg cairo-surface stream 2011-04-20 14:25:58 -06:00
Matthew Flatt
499800d96e fix typos 2011-04-20 14:25:53 -06:00
Sam Tobin-Hochstadt
82e6e9d19e Avoid resolving types when checking subtyping on structs.
This fixes problems with caching, because sometimes we were giving the wrong answer for nested calls to `subtype'.
2011-04-20 09:41:42 -04:00
Sam Tobin-Hochstadt
d459ad47b8 Use `in-hash' explicitly. 2011-04-20 09:41:42 -04:00
Sam Tobin-Hochstadt
fe60793b4d Add type keys for Struct and StructTop. 2011-04-20 09:41:42 -04:00
Sam Tobin-Hochstadt
6c17b01f99 Add clever comments. 2011-04-20 09:41:42 -04:00
Sam Tobin-Hochstadt
eaa63f2d1e Add debugging parameter, and wrappers for unstable/debug. 2011-04-20 09:41:42 -04:00
Sam Tobin-Hochstadt
79061150ef Add cache for `resolve-once'.
Substantial speedups on "new-metrics.rkt" test.
2011-04-20 09:41:42 -04:00
Sam Tobin-Hochstadt
0f30f5d8de Use eq? on sequence numbers. 2011-04-20 09:41:42 -04:00
Sam Tobin-Hochstadt
51083dbce6 Remove useless requires. 2011-04-20 09:41:42 -04:00
Sam Tobin-Hochstadt
7ba2b6e100 Fix typo. 2011-04-20 09:41:42 -04:00
Sam Tobin-Hochstadt
e7beef3f4f Remove unused macro.
Convert function to macro for inlining.
2011-04-20 09:41:42 -04:00
Sam Tobin-Hochstadt
05d9e1a871 Refactor to avoid duplicated code. 2011-04-20 09:41:42 -04:00
Matthew Flatt
e47c9a2f9d allow cyclic values over place channels 2011-04-20 07:21:10 -06:00
Kevin Tew
3358ec8d10 Place-channel path test cases 2011-04-20 00:01:28 -06:00
Matthew Flatt
1932a453a8 enable inlining of calls to `case-lambda' procedures
which includes calls to procedures with optional (but no keyword)
 arguments
2011-04-19 21:28:14 -06:00
Matthew Flatt
25017ef3c1 streamline expanded code for procs with optional and no keyword args 2011-04-19 21:28:14 -06:00
Matthew Flatt
a41a607cbb tweak build message again
to what I meant in the first place
2011-04-19 21:28:14 -06:00
Kevin Tew
9452f3e89b [Places] parallel-do change exn? to exn:fail? 2011-04-19 13:00:35 -06:00
Stephen Chang
3e08a61190 fix typo in guide sec 17.3.3 2011-04-19 14:32:17 -04:00
Robby Findler
8f43c9ebdb adjust the module browser so that when expansion does IO and that IO uses specials,
the specials are just ignored, instead of causing an error message
  closes PR 11854
2011-04-19 10:31:37 -05:00
Robby Findler
57b9bcfe38 fix check syntax's stdout so that it can handle specials
related to PR 11854
  merge to release, please
2011-04-19 10:31:37 -05:00
Matthew Flatt
7389eef5b2 tweak parallel-build message
Merge to 5.1.1
2011-04-19 07:24:45 -06:00
Matthew Flatt
18e3f54fa5 doc corrections
Closes PR 11865
 Merge to 5.1.1
2011-04-19 07:24:37 -06:00
Matthew Flatt
6664e20815 fix typo
Closes PR 11864
 Merge to 5.1.1
2011-04-19 07:24:22 -06:00
Stephen Chang
718b9709bc fix struct constructor application in lazy racket 2011-04-19 01:21:19 -04:00
Jon Rafkind
cdb63b9c77 show an example of define-fun-syntax and using the keywords 2011-04-18 17:27:21 -06:00
Jon Rafkind
3f572809c9 better error message when pre: or post: is used incorrectly 2011-04-18 17:27:21 -06:00
Sam Tobin-Hochstadt
0f5dfd6871 Remove useless propositional clauses. Thanks to dyoo for test case. 2011-04-18 18:42:10 -04:00
Kevin Tew
3f1a6ee94a [Places] clean up parallel-do, docs now build with places 2011-04-18 16:25:03 -06:00
Matthew Flatt
963a8214b8 fix typo
Closes PR 11862
 Merge to 5.1.1
2011-04-18 15:47:52 -06:00
Matthew Flatt
e0d26d88b6 support exact nonnegative integers as sequences 2011-04-18 14:55:02 -06:00
Eli Barzilay
49e1b47bb2 Indentation in example 2011-04-18 16:50:51 -04:00
Sam Tobin-Hochstadt
981616d504 Copy properties when optimizing bodies of lambda/define-values.
Closes PR 11860.
2011-04-18 15:41:50 -04:00
Sam Tobin-Hochstadt
187dc63493 Remove unused code. 2011-04-18 15:41:50 -04:00
Hari Prashanth
7934ac3461 Added some examples to to the TR reference docs.
Signed-off-by: Sam Tobin-Hochstadt <samth@racket-lang.org>
2011-04-18 15:41:50 -04:00
Matthew Flatt
2fa35a2a5c fix bug in thread'-based implementation of place'
which is used when parallel places are unavailable
2011-04-18 13:06:03 -06:00
Vincent St-Amour
bce90e2a71 Optimize filter operations. 2011-04-18 13:25:28 -04:00
Robby Findler
100b4d31f1 make the close icon clicky thingy not grab the focus
closes PR 10380
2011-04-18 10:31:57 -05:00
Matthew Flatt
82c5cd95aa fix typo 2011-04-18 06:34:50 -06:00
Robby Findler
d1ddc8372e fixes the warning message so that if you close it once,
then it stays closed until you click 'Run' again.
  closes PR 11783
2011-04-17 19:36:26 -05:00
Matthew Flatt
6b2219b9e5 write proper ELF section for Unix launchers/executables 2011-04-17 18:04:00 -06:00
Robby Findler
95b6f149fa adjust the close callback so that it knows what state the bug report window is in
closes PR 11773

merge to the release, please
2011-04-16 21:10:20 -05:00
Matthew Flatt
2a5fe45c7a add `namespace-attach-module-declaration'
which creates a little more sharing than the automatic
 caching of modules, but only for a program that explicitly
 attaches module declarations to share
2011-04-16 13:25:57 -06:00
Matthew Flatt
97ce26b182 cache loaded compiled modules
using a SHA1 hash stored in the marshaled bytecode; this cache
 lowers the cost of sandboxes or other uses of multiple namespaces
 when the code inspector doesn't change; the caching is almost
 transparent, but an eval handler might be called with compiled
 code that cannot be written
2011-04-16 13:24:58 -06:00
Matthew Flatt
546faf8b34 fix gl canvas created after parent is shown
Merge to 5.1.1
2011-04-16 13:24:58 -06:00
Robby Findler
8afeed8c66 fix up contract test suites 2011-04-16 07:55:49 -05:00
Robby Findler
cc091bd25c fix an ordering problem in check syntax's error message display
closes PR 11845
2011-04-16 07:38:23 -05:00
Mike Sperber
f76bee8180 Synch German string constants with latest. 2011-04-16 09:18:59 +02:00
Matthew Flatt
49903be78f gtk: fix button enable when mouse is over button 2011-04-15 16:54:49 -06:00
Ryan Culpepper
fdede6f063 syntax/parse: added docs for litset #:at kw, relaxed restriction on arg 2011-04-15 14:47:29 -06:00
Ryan Culpepper
9bc3457bbd renamed ffi/unsafe/security to ffi/file 2011-04-15 14:47:29 -06:00
Stevie Strickland
bdd5ac2d41 Document prop:contracted and impersonator-prop:contracted. 2011-04-15 16:29:17 -04:00
Robby Findler
ec50a8c5a2 additional fixes to the docs and racket/contract's exports to make them match up 2011-04-15 12:44:44 -05:00
Matthew Flatt
8d9e10f34e remove compat bins: DrScheme, MrEd.exe, MrEd.app
leaving mred (Unix and Mac OS X) for scripts
2011-04-15 07:49:45 -06:00
Matthew Flatt
f1d0811249 fix typo 2011-04-15 07:32:45 -06:00
Casey Klein
7319bd1884 Fixes test-->>E documentation 2011-04-15 04:57:01 -05:00
Casey Klein
0b9db752ca Fixes test-->>E failure message
Fixes PR 11853
2011-04-15 04:52:13 -05:00
Casey Klein
46b3a9d13d Fixes generation of any' within in-hole' context position 2011-04-14 18:32:06 -05:00
Casey Klein
319ae5f825 Deletes code that should have been deleted when named holes went away 2011-04-14 18:32:05 -05:00
Casey Klein
ff7aba9750 Moves `term-let' test to proper file 2011-04-14 18:32:05 -05:00
Matthew Flatt
5386206667 fix 'solid vs. 'opaque for mono on mono Closes PR 11839 2011-04-14 15:38:38 -06:00
Matthew Flatt
7fb5e36db1 try to fix problems from recent contract changes 2011-04-14 15:37:58 -06:00
Matthew Flatt
cae005a6a2 win32: fix window-enabling problems
Closes PR 11769
2011-04-14 14:50:44 -06:00
Robby Findler
2bceaec03a start fixing up the exports to match the docs for racket/contract 2011-04-14 15:27:27 -05:00
Robby Findler
06ed61c0d2 remove unused string-constant 2011-04-14 15:27:23 -05:00
Robby Findler
94fe317556 scheme/base => racket/base 2011-04-14 15:27:19 -05:00
Robby Findler
7b4e673081 adjust drracket's value printer to specially treat 2htdp/image images.
related to PR 11849
2011-04-14 15:26:43 -05:00
Matthew Flatt
1c60499923 fix nit: "running 2nd time" instead of "re-running 2nd time"
because "re-running 2nd time" should mean the 3rd run
2011-04-14 13:20:23 -06:00
Matthew Flatt
e655e1e6fe restore `lazy' docs 2011-04-14 13:15:51 -06:00
Matthew Flatt
192c566294 fix temp file names when building PDFs of installed docs
Closes PR 11830
2011-04-14 12:40:18 -06:00
Matthew Flatt
df4ffe3573 fix scriblib/gui-eval and pre-build pictures for Quick 2011-04-14 12:20:16 -06:00
Matthew Flatt
e734cd6127 fix `vector-map' error message
Closes PR 11828
2011-04-14 11:36:08 -06:00
Matthew Flatt
0acdd67d52 fix gaps in the `mzscheme' docs
Closes PR 11832
2011-04-14 11:16:34 -06:00
Matthew Flatt
342186b034 fix `foldl' error messages and avoid redundant checking
Closes PR 11066
2011-04-14 08:48:22 -06:00
Matthew Flatt
e747937ceb clarify mark interactions for `syntax-local-lift-require'
Closes PR 11850
2011-04-14 08:03:21 -06:00
Matthew Flatt
aed25d9097 better docs and xref on `provide' and rename transformers
Closes PR 11851
2011-04-14 07:47:40 -06:00
Matthew Flatt
f36e3ad16c small clean-ups 2011-04-13 11:00:23 -06:00
Jay McCarthy
91d98aa0fa Fixing drdr discovered problem 2011-04-13 07:31:29 -06:00
Jay McCarthy
9c19571ecd Responding to Norman's request 2011-04-12 13:59:27 -06:00
Matthew Flatt
00ca86ffc6 `xref-binding->definition-tag': fix two-argument-list mode
Closes PR 11847
2011-04-12 15:55:22 -04:00
Sam Tobin-Hochstadt
f9bf318a90 Fix `ormap' error messages in HTDP languages. 2011-04-12 14:28:33 -04:00
Ryan Culpepper
c0bd4e8dbc removed unused code from unstable/hash 2011-04-12 09:35:26 -06:00
Ryan Culpepper
033e060bf3 removed unstable/sexp-diff 2011-04-12 09:35:26 -06:00
Ryan Culpepper
459cce23be moved contents of unstable/set to racket/set 2011-04-12 09:35:26 -06:00
Ryan Culpepper
ccc70fca73 removed unused modules and code from unstable 2011-04-12 09:35:26 -06:00
Eli Barzilay
f867fea327 Prebuilt link in the all versions page, other minor fixes. 2011-04-12 07:26:27 -04:00
Eli Barzilay
52ca08a8a9 * scheme -> racket
* Use `delay/sync' to fix possible races (should fix PR11788)

* Move Chrome up after firefox since it's very widely supported now

* Add xdg-open
2011-04-12 07:26:09 -04:00
Matthew Flatt
717a61840f racket/trace: fix for expr-style printing (i.e., default `print' mode) 2011-04-11 10:01:25 -06:00
Matthew Flatt
aabd5f7bd2 gtk: fix over-eager attempt at alt- menu activation
Closes PR 11843
2011-04-11 07:39:40 -06:00
Robby Findler
658bc59a92 adjust various status controls so they don't take the focus
also added a separator menu item to the line/column number popup menu
2011-04-11 07:41:49 -05:00
Matthew Flatt
46613ccecd document scheme_malloc_stubborn
which is obsolete by referenced by the docs for `malloc'
2011-04-10 19:26:15 -06:00
Robby Findler
c4e0559db4 made the line/column thingy's popup menu be able to show the line numbers in the definitions window
- added add-line-number-menu-items
  - some minor fixes to the docs
  related to discussion in PR 11837
2011-04-10 19:38:19 -05:00
Robby Findler
3936ac8a54 correct capitolization for menu items 2011-04-10 19:38:10 -05:00
Robby Findler
2c2669bfa6 fix the handling of the drracket:show-line-numbers? preference
so the line numbers change no matter who sets the preference
2011-04-10 19:38:08 -05:00
Robby Findler
8b8c3dbc3a contract tests are mine 2011-04-10 08:08:09 -05:00
Mike Sperber
89b8c7a6f7 Synch German string constants with latest. 2011-04-10 13:22:44 +02:00
Robby Findler
77cb90a3b2 add string munging to live up to the 200 char limit for the new module browser menu item 2011-04-09 21:45:52 -05:00
Robby Findler
9fefcb2baf refactor contracts to move the opters to their own file 2011-04-09 21:45:50 -05:00
Robby Findler
570a3e58b9 renamed parametric/c to parametric->/c
and cleaned up the organization of the related files
2011-04-09 21:45:49 -05:00
Matthew Flatt
857003378a futures: more bug fixes, make `touch' safe
- bug fixes are related to allocation and runstack space
 - a `touch' within a future can complete before the `touch'ing
   future is itself `touch'ed
 - also make `length' safe (and JIT-inlined)
2011-04-09 17:12:24 -06:00
Matthew Flatt
52598af1c7 fix doc typo
Closes PR 11840
2011-04-09 17:12:23 -06:00
Stephen Chang
225c011502 fix toplevel variable dereferencing in lazy stepper
in lazy/lazy.rkt
- add 'lazy-op stepper-syntax-property to op in lazy #%app

in stepper/private/annotate.rkt
- in varref-abstraction, check for 'lazy-op operator for toplevel vars, and use
  varref-break-wrap if property = #t
2011-04-09 15:55:12 -04:00
Stephen Chang
341ed19e58 remove stepper/private/lazy-highlighting.rkt 2011-04-09 13:50:24 -04:00
Stephen Chang
d8517af898 fix stepper rendering of non constructor-style lists
in stepper/private/reconstruct.rkt
- in recon-value, list case, add quasiquote rendering when constructor-style
  printing = #f
2011-04-08 20:41:36 -04:00
Stephen Chang
4ef7e1fae3 improve lazy stepper recon of unannotated fn apps
remove stepper/private/lazy-highlighting.rkt

in stepper/private/macro-unwind.rkt:
- in fall-through, add lazy-proc to lazy #%app special case

in stepper/private/model.rkt
- in send-step, dont use highlight-table, just match top called fn in mark-list
  instead

in tests/stepper/
- add lazy stepper tests for filter and fold
2011-04-08 20:41:35 -04:00
Matthew Flatt
71df6ddc05 gtk, cocoa: fix auto-sizing of text `message%'s 2011-04-08 14:22:17 -06:00
Ryan Culpepper
f0310df85b added responsibility for tests/unstable 2011-04-08 14:19:14 -06:00
Matthew Flatt
114c64765d racket/draw: fix baseline on font substitution in "combine" mode 2011-04-08 11:44:01 -06:00
Ryan Culpepper
e0db3ed2e3 fixed tests for moved unstable libs 2011-04-08 10:30:32 -06:00
Ryan Culpepper
7828a7bfa7 moved unstable/{location,srcloc} to syntax collection
fixed bugs in unstable/wrapc
2011-04-08 08:25:22 -06:00
Ryan Culpepper
f49412add8 moved unstable/poly-c to racket/contract/parametric 2011-04-08 08:25:22 -06:00
Ryan Culpepper
937c5ea442 removed unused unstable libs (planet, planet-syntax, scribble) 2011-04-08 08:25:22 -06:00
Ryan Culpepper
daf88fea20 updated planet/scribble docs 2011-04-08 08:25:22 -06:00
Matthew Flatt
2dcd76f609 fix arity reporting for chaperoned procedures and some primitives
such as `for-each'
2011-04-08 07:54:41 -06:00
Robby Findler
bb792c977d the tabber incorrectly counted tab chars as spaces when doing indentation;
this meant that if some line were supposed to be indented in the third
  column and you had two tabs and a space on that line, the indenter
  would leave it alone. Now, if it sees tabs in the line anywhere, it just
  decides that the line is not properly indented and re-indents it
  (always using spaces)

Also: started a tabber test suite
2011-04-08 07:48:17 -05:00
Stephen Chang
5238c338b6 fix stepper tests broken by lazy stepper 2011-04-07 15:11:40 -04:00
Casey Klein
989103c3a1 Improves term-let's "too few ellipses" error
Fixes PR 10837
2011-04-07 13:17:15 -05:00
Casey Klein
143e1e66fd Improves error for references to not-yet-defined metafunctions
Fixes PR 11041
2011-04-07 13:17:15 -05:00
Stephen Chang
9f848863ff fix lazy stepper to work with print and write output-styles
in stepper/stepper-tool.rkt
- in simple-module-based-language-convert-value, add print and trad-write case

in stepper/private/macro-unwind.rkt
- in fall-through, add to procedure-extract-target case

in drracket/tool-lib.rkt
- in contract for drracket:language:simple-settings-printing-style, add
  'trad-write
2011-04-07 12:49:27 -04:00
Ryan Culpepper
ae8d945ef5 added line breaks 2011-04-07 10:42:38 -06:00
Ryan Culpepper
eb60d3d479 fixed bug in expansion of (this-package-in main) 2011-04-07 09:47:21 -06:00
Ryan Culpepper
3e5a54c9e4 unstable/syntax: removed unused code and exports 2011-04-07 09:47:20 -06:00
Ryan Culpepper
76c75d5a87 added stx-map to syntax/stx from unstable/syntax 2011-04-07 09:47:20 -06:00
Ryan Culpepper
86f65468d7 removed define-pattern-variable 2011-04-07 09:47:20 -06:00
Ryan Culpepper
73ab167522 created racket/syntax from parts of unstable/syntax 2011-04-07 09:47:20 -06:00
Ryan Culpepper
a19a0340aa added ffi/unsafe/security 2011-04-07 09:47:20 -06:00
Ryan Culpepper
0bec757e5e syntax/parse: fixed bug in ~literal uncovered by litset changes 2011-04-07 09:47:20 -06:00
Eli Barzilay
000e52d31d Minor but potentially confusing typo 2011-04-07 10:52:15 -04:00
Stephen Chang
c8dd95b3cf fix user-position stepper-property bug in lazy cond stepper unwinding
in stepper/private/macro-unwind.rkt
 - in fall-through, add special #%app case for force

 in stepper/private/reconstruct.rkt
 - in recon-inner, in called app case, combine force case with other lazy fns

 in tests/stepper/
 - add test for lazy cond unwinding problem
2011-04-06 22:29:48 -04:00
Matthew Flatt
3bf0f800a7 futures: make `future' work in a future, overhaul logging, fix bugs 2011-04-06 17:40:44 -06:00
Matthew Flatt
91cdfe9a7a fix `in-vector' range checking 2011-04-06 17:40:44 -06:00
Matthew Flatt
584f74a22b remove printf 2011-04-06 17:40:43 -06:00
Stephen Chang
5d47c0b49b in stepper/private/reconstruct.rkt
- in recon-inner, in called app case
  - add other force fns to force case (!!, !list, !!list)
  - add other list fns
    (list?, length, list-ref, etc)

in stepper/private/lazy-highlighting.rkt
- add various list fns (list?, length, list-ref, etc)

in stepper/private/macro-unwind.rkt
- in unwind-cond, disable check of user-source and user-position

in tests/stepper/
- add test for various list fns
2011-04-06 18:44:36 -04:00
Stephen Chang
e41ba9c77b in lazy/lazy.rkt
- modify cond for stepper
- add support for multiple values in stepper
  - add inspector to multiple-values struct
  - hide split-values call in ~define-values

in tests/stepper/
- add tests for cond

in stepper/private/annotate.rkt
- in annotate/top-level, allow arbitrary top-level terms
  (no error in else case), otherwise exprs like let throws error

in stepper/private/
   reconstruct.rkt
   lazy-highlighting.rkt
- add support for eq? eqv? equal? lazy fns
2011-04-06 18:44:35 -04:00
Stephen Chang
c0f8f1cdb2 lazy stepper working with infinite lists
in stepper/private/marks.rkt
- in mark-binding-value, add exception handler to catch undefined vars, so
  display-mark in break works with recursive fns

in /tests/stepper/automatic-tests.rkt
                  through-tests.rkt
- add inf list example from icfp paper

in stepper/private/model.rkt
- refactor send-step to use cond instead of unless
- in send-step, when highlight-stack = null and last-rhs != null (and lhs !=
  last-rhs), send a step with lhs = last-rhs (previously skipped whenever
  highlight-stack = null)
  - basic filter example wasnt showing result without this
  - in icfp inf list example, this shows some intermediate forcing states
  - all other existing tests passed
2011-04-06 18:42:57 -04:00
Stephen Chang
2227516673 fixing some bugs
in macro-unwind.rkt:
- in unwind-mz-let, last line, ",label" should just be "label" (no unquote)

in reconstruct.rkt
- in reconstruct-completed-define, last line, arg to attach-info should be a
quasisyntax (#`), not syntax (#')
2011-04-06 18:42:57 -04:00
Stephen Chang
348a20c0e5 in stepper/private/reconstruct.rkt
- in recon-inner, called app case, add first fn to list of special lazy fns
- in recon-value, add handling of running promises not found by
  recon-inner search
  - add optional so-far param to recon-value
- add unknown-promises-table and add case in recon-value to handle

in stepper/private/lazy-highlighting.rkt
- add (first,0) pair

in stepper/private/model.rkt
- modify lazy fn "skipping" (from lazy-highlighting.rkt) to use the skips
  only when last-rhs-exp = null; o.w. skipping is handled solely by
  examining last-rhs-exp

in tests/stepper/
- add take example from icfp paper
- add tests for unknown promises
2011-04-06 18:42:56 -04:00
Stephen Chang
d04d3fadc3 - add if tests for lazy stepper
in stepper/private/reconstruct.rkt
- in recon-inner, in called app case, add "take" to lazy fn case and fix to
  handle more than unary fns
2011-04-06 18:42:55 -04:00
Stephen Chang
49fd1fb0e0 in stepper/private/reconstruct.rkt
- in recon-value, add cases to handle list and cons
- in recon-inner, in app called case, add case to handle lazy list fns
  that contain unannotated !'s (ie cadr, cdddr, second, third, etc)

in stepper/private/model.rkt
- add highlight-stack
- in send-step, add various skip conditions when lhs = ellipses

add file stepper/private/lazy-highlighting.rkt

in tests/stepper/through-tests.rkt
   tests/stepper/automatic-tests.rkt
- add tests for list and cons fns
2011-04-06 18:42:54 -04:00
Stephen Chang
c41123ce6c existing lazy stepper tests passing
in tests/stepper/
test-engine.rkt
- add racket/private/promise to test-namespace using namespace-attach-module

automatic-tests.rkt
- add lazy tests

through-tests.rkt
- fix existing lazy tests lazy1, lazy2, lazy3

language-level-model.rkt
- fix lazy ll-model

in stepper/private/model-settings.rkt
- edit settings for lazy racket
2011-04-06 18:42:53 -04:00
Stephen Chang
6921960c5e simple example working: (define (f x) (+ x x)) (f (+ 1 2))
in stepper/private/model.rkt
- add debugging outputs
- reformat code

in stepper/private/macro-unwind.rkt:
- in fall-through
  - add case for lazy racket app
  - add case for procedure-extract-target
- in unwind, change recur procedure for fn hints to unwind
  (was recur-on-pieces)

in racket/private/promise.rkt
- add unwind fn as stepper-hint syntax property

in stepper/private/reconstruct.rkt
- add constructor application case back
- in recon-inner
  - in app called case, dont show ellipses for force
  - initialize partially-eval-promise table
  - reformat answer code
  - add caching of running promises
- in recon-value, add reconstructing of partially evaluated promises

in stepper-private/annotate.rkt
- in annotate/module-top-level, add lazy racket top level case - to hide top
  level forcer

in lazy/lazy.rkt
- use hidden-~ and hidden-! instead of ~ and !
2011-04-06 18:42:53 -04:00
Stephen Chang
2d204dc6ea in stepper/private/reconstruct.rkt:
- in find-special-value, add case for Lazy Racket
- delete final-mark-list? (unused fn)
- in skip-redex-step?
  - reformat code
  - remove constructor app case
- in recon-value
  - reformat code
  - add thunk rendering (need to require racket/private/promise)
2011-04-06 18:40:06 -04:00
Stephen Chang
0d21131a8d in lazy.rkt:
- in !*app:
  - add stepper-skipto property to skip (if lazy-proc? ...)
  - for lazy-proc, extract proc from lazy-proc struct before applying
- redefine ~define to use inferred name, so stepper can recon properly
2011-04-06 18:40:05 -04:00
Stephen Chang
89d1a1feb0 in lazy/lazy.rkt:
- remove all stepper hints and properties
- change !*app to use application instead of let
  (stepper has difficulty with temp vars of let)
2011-04-06 18:40:04 -04:00
Stephen Chang
ca4ea39123 in stepper/private/annotate.rkt:
- add cases to annotate/top-level to recognize Lazy Racket programs
2011-04-06 18:40:03 -04:00
Stephen Chang
da456f2e37 add stepper button to Lazy Racket 2011-04-06 18:40:03 -04:00
Jay McCarthy
2ebcb2afd1 Fix drdr discovered problem 2011-04-06 16:00:54 -06:00
Jay McCarthy
af57e0419c Fixes PR11793.
It was very hard to figure out why &#0; is invalid. Both the XML 1.0 and 1.1 specs say that a CharRef can be '&#' [0-9]+ ';' (sec 4.1), but there is a note on the side that it must also be a valid Char. The Char definition (sec 2.2) then lays out which characters are valid. (The 1.0 and 1.1 specs disagree though.) I've gone with the 1.1 definition.

I did not update the rest of the reader to disallow those characters in pcdata segments. If this hurts you or you morally disagree, submit another PR, please.
2011-04-06 11:14:25 -06:00
Jay McCarthy
b80728f4b9 Add another useful method re: Robby 2011-04-06 11:14:25 -06:00
Robby Findler
e928bd840c Two improvements to the mrlib/graph library and the module browser:
- improved the drawing speed in mrlib's graph pasteboard
  by caching the background arrows (optionally; only turned
  on for the module browser. in redex, this probably won't
  speed anything up so it isn't used)

- added a search feature to the module graph to help find
  dependencies; type in string and some of the graph changes
  color
2011-04-06 11:35:31 -05:00
Robby Findler
09a0109605 adjusted racket/contract/base to include fewer parts of the contract system 2011-04-06 11:35:29 -05:00
Robby Findler
2893470f27 eliminate one more use of mzlib/contract 2011-04-06 11:35:26 -05:00
Casey Klein
6fc20125b0 Adds the STLC example to the test script 2011-04-06 11:11:43 -05:00
Casey Klein
1ad2b1b938 Makes cross' work better with hide-hole'
Fixes PR 11579
2011-04-06 10:17:15 -05:00
Casey Klein
e8130a2fd1 Fixes bug in `cross' pattern handling 2011-04-06 10:17:15 -05:00
Stevie Strickland
6494bf863e Changing absent so that fields may be specified as well as methods. 2011-04-05 15:03:46 -04:00
Stevie Strickland
b35b7d98f8 Use of unsyntax inside a syntax, change to a quasisyntax. 2011-04-04 23:20:58 -04:00
Matthew Flatt
d359daa5f5 fix problem with chaperones and keywrd procedures
Closes PR 11833
2011-04-04 21:15:44 -06:00
Stevie Strickland
eafacc78a0 Adding `absent' to class contracts.
The `absent' clause lists public methods which must _not_ exist in the
contracted class.
2011-04-04 19:38:27 -04:00
Matthew Flatt
c38118f0e5 Scribble: add `alt-tag' HTML property to set HTML tag in output 2011-04-04 14:33:38 -06:00
Jon Rafkind
f50c480446 add N as an accelerator in the view menu to toggle line numbers 2011-04-04 13:46:46 -06:00
Jon Rafkind
576916d4d7 line numbers separator uses the same color as the text 2011-04-04 13:07:25 -06:00
Matthew Flatt
ef4ea23646 fix `secref' docs; document some Latex macros available for redefinition 2011-04-04 11:26:41 -06:00
Matthew Flatt
df2a875ff4 Scribble: simplify content that is conditioned on the render mode
including a new `scriblib/render-cond' library
2011-04-04 10:45:02 -06:00
Matthew Flatt
8e289018c8 adjust `scriblib/gui-eval' docs
since it's no longer needed for `racket/draw' images
2011-04-04 10:43:38 -06:00
Matthew Flatt
37f9363b90 win32: another try for horizontal wheel events 2011-04-03 16:09:11 -06:00
Matthew Flatt
342964b10a win32: ignore inapplicable WM_HSCROLL and WM_VSCROLL events 2011-04-03 15:17:10 -06:00
Matthew Flatt
b0115ee360 add 'wheel-left and 'wheel-right events 2011-04-03 09:49:56 -06:00
Matthew Flatt
cd9eb5a75c simply dependencies 2011-04-03 09:37:03 -06:00
Matthew Flatt
4c5c46deed avoid Cairo and Pango functions missing in CentOS 5.5 libs 2011-04-02 17:52:03 -06:00
Kevin Tew
0c4d90b1db codeblock line numbers 2011-04-02 16:01:21 -06:00
Robby Findler
5522c72ecb Rackety 2011-04-02 13:36:33 -05:00
Robby Findler
362f7392ed fixed add-parent bug 2011-04-02 13:36:31 -05:00
Robby Findler
77c25430af added an example with a type checker 2011-04-02 13:36:29 -05:00
Casey Klein
a4644d4d49 Disallows unquote in Redex patterns
Fixes PR 11296
2011-04-01 14:00:45 -05:00
Casey Klein
121f1761bd Fixes redex/gui typos
Closes PR 11174
2011-04-01 14:00:45 -05:00
Casey Klein
02c7680076 Fixes Guide typos 2011-04-01 14:00:45 -05:00
Casey Klein
7edfa58ef1 Adds caron s to LaTeX renderer 2011-04-01 14:00:45 -05:00
Vincent St-Amour
5200b93a0c Fix ~literal patterns in syntax-parse. 2011-04-01 14:56:17 -04:00
Vincent St-Amour
9c3bee03e7 Fix bounded-fixnum opts to only fire with the right number of arguments. 2011-04-01 14:56:17 -04:00
Robby Findler
d1414748a1 fix the contract on get-module-code
closes PR 11836
2011-04-01 11:57:55 -05:00
Robby Findler
b926b17d7e fix the obvious bug wrt to procedures returned from make-keyword-procedure, but something is still wrong
related to PR 11833
2011-04-01 09:12:05 -05:00
Ryan Culpepper
c677932baf syntax/parse: added define/syntax-parse, like define/with-syntax 2011-04-01 02:12:30 -06:00
Ryan Culpepper
896cb86dc4 syntax/parse: added phase options to define-literal-set 2011-04-01 00:57:04 -06:00
Ryan Culpepper
2e2bc02303 syntax/parse: fixed obsolete test cases 2011-04-01 00:54:29 -06:00
Robby Findler
e8eea05afc rewrote uses of mzlib/contract into racket/contract
(and other minor rackety when the occasion arose)
2011-03-31 18:21:11 -05:00
Robby Findler
44193bda4c fix ->r docs 2011-03-31 18:05:35 -05:00
Robby Findler
d4e6f99b74 fix the algorithm for determining if a > that is typed in an
XML box ends an opening tag or not
  closes PR 11792
2011-03-31 17:26:03 -05:00
Robby Findler
56ab3eecb6 make the front-end deadlock avoidance (aka pospone io) wrapper handle specials
closes PR 11831
2011-03-31 15:21:45 -05:00
Kevin Tew
26d7768d3d Rename place-channel-recv place-channel-receive 2011-03-31 13:36:40 -06:00
Kevin Tew
f7ab3fe2b3 Move raco and compiler to front of parallel compile list 2011-03-31 12:59:31 -06:00
Eli Barzilay
43275e7b0a Make the web page header a link to the main page. 2011-03-31 11:05:52 -04:00
Eli Barzilay
00a9247fa9 Add "[pdf]" links to the doc links in the learning page. 2011-03-31 10:51:09 -04:00
Eli Barzilay
b757e502af Reuse documentation links from common/links.rkt.
This also fixes the "plt-scheme.org" reference, so also fix the redex
link to use "racket-lang.org".
2011-03-31 09:57:48 -04:00
Eli Barzilay
65bfae09a3 Fix `techreport-location' use in TR pages.
Closes PR11820.
2011-03-31 06:21:45 -04:00
Eli Barzilay
bad4a40741 Fix `regexp-quote' description.
Closes PR11818.
2011-03-31 06:16:53 -04:00
Matthew Flatt
d00c8a6c71 Scribble: fixes for text output, especially inset nested flows 2011-03-30 19:53:32 -06:00
Matthew Flatt
4703265503 Scribble: use \abovedisplayskip and \belowdisplayskip for code insets 2011-03-30 18:11:33 -06:00
Robby Findler
82933e8019 fixed the 'find the word behind the insertion point' function for racket-mode completion
closes PR 11800
2011-03-30 19:07:08 -05:00
Matthew Flatt
bbc5533938 Scribble: change the way `racketblock' etc. indent/inset works
- introduce 'code-inset style for nested blocks
 - use style instead of spaces for code indentation
 - sigplanconf adds vertical space around 'code-inset
 - more ...0 variants to compose better
2011-03-30 15:12:30 -06:00
Casey Klein
8a283650c4 Updates typesetting tests
Spacing is now different by a few pixels. The change does not seem to
be Redex specific
2011-03-30 13:59:39 -05:00
Casey Klein
1312a2e52e Improves `reduction-relation' documentation
Fixes PR 10665
2011-03-30 13:59:39 -05:00
Casey Klein
6cdfa2ff73 Updates typesetting tests for new arrow drawing 2011-03-30 10:20:53 -05:00
Casey Klein
d97a2b505c Fixes matching of ..._x and ..._!_x inside ellipses 2011-03-30 10:15:17 -05:00
Robby Findler
d265231452 added some examples for pen cap and join styles 2011-03-30 09:44:54 -05:00
Robby Findler
e28a6832ca fixes descent/ascept problems and text highlighting problems in number snips
closes PR 11825
2011-03-29 22:43:26 -05:00
Robby Findler
ee82d86bd1 added docs for the mzlib/contract function combinators 2011-03-29 22:43:23 -05:00
Robby Findler
6461b1feae Rackety 2011-03-29 22:43:21 -05:00
Robby Findler
5b879d0680 add missing require, fix opt/c test suite 2011-03-29 22:43:18 -05:00
Matthew Flatt
68f7e9f33b doc clarifications 2011-03-29 19:53:06 -06:00
Casey Klein
0839f763ec Fixes a bug in the deref rule 2011-03-29 16:05:54 -05:00
Casey Klein
8f006f1a1f Fixes bugs in error transitions 2011-03-29 15:57:50 -05:00
Casey Klein
b958e21f46 Fixes another bug in the stepper's diff highlighting 2011-03-29 13:05:03 -05:00
Casey Klein
df3bc8980b Fixes a bug in the stepper's diff highlighting 2011-03-29 13:05:02 -05:00
Jay McCarthy
113e0aa184 Fix issue found by Eric Tanter 2011-03-29 09:24:36 -06:00
Matthew Flatt
ba70e05ae2 Scribble: fix Latex-renderer bug introduced by 67b7c8f3f4 2011-03-29 08:32:14 -06:00
Robby Findler
9245f4b19a move away from mzlib/contract and towards racket/contract 2011-03-28 23:04:43 -05:00
Robby Findler
6a4688b505 adjusted the comment in racket/contract/base.rkt to be more accurate 2011-03-28 23:04:40 -05:00
Robby Findler
b8c7a753d3 removed the re-providing from internal files in the contract impl. 2011-03-28 23:04:36 -05:00
Robby Findler
eb06e38065 removed commented out, long unused code (also: rackety) 2011-03-28 23:04:33 -05:00
Matthias Felleisen
8dbc1994bc small change to registration format 2011-03-28 20:14:46 -04:00
Matthias Felleisen
5e7ac9a038 fix naming of name of universe state window 2011-03-28 20:14:45 -04:00
Matthias Felleisen
5fee2676dc leftover debugging aide 2011-03-28 20:14:44 -04:00
Matthew Flatt
60dc3a5773 fix typo 2011-03-28 15:26:25 -06:00
Matthew Flatt
437f2585c9 revert "mzscheme" and "mred" collection versions
and turn off automatic "mzscheme" version dependency for
 package .plt files
2011-03-28 15:17:17 -06:00
Matthew Flatt
0fda70b7ca fix region% problems
- fail gracefully with pre 1.4 Cairo
 - clip all drawing for an empty clipping region
 - disallow `is-empty?' on a region without a DC
   (since the test depends on the DC dimensions)
2011-03-28 15:15:57 -06:00
Matthew Flatt
b0a3025c48 disable hack that turns off kerning for bitmap DCs
because it intereferes with pict metrics; also, I can't find
 a case where it is needed, maybe because other repairs
 corrected the original problem in a better way
2011-03-28 10:46:34 -06:00
Matthew Flatt
9acab4ad17 win32: 'swiss font family maps to "Arial" instead of "Helvetica" 2011-03-28 10:44:40 -06:00
Matthew Flatt
789081e2c3 fix xref 2011-03-28 10:43:25 -06:00
Matthew Flatt
5844b56a10 doc typos 2011-03-28 06:45:06 -06:00
Matthew Flatt
ad922d545c document Unix lib dependencies for racket/draw' and racket/gui/base' 2011-03-28 06:23:14 -06:00
Matthew Flatt
6e1f35a319 fix WXME stream write-bytes' and write' method results 2011-03-27 16:30:44 -06:00
Matthew Flatt
84ad491837 fix docs to explain pen cap and join styles
--- in prose, but pictures would be good, if anyone wants to add them
2011-03-27 16:27:19 -06:00
Matthew Flatt
1f790d9428 fix pen-cap support for narrow pens
by limiting a hack for bitmap drawing so that it doesn't
 affect PS/PDF drawing
2011-03-27 16:27:19 -06:00
Matthew Flatt
a20a77508f adjust inline-PDF descent to account for rounding
of the PDF bounding box
2011-03-27 16:27:19 -06:00
Matthew Flatt
67b7c8f3f4 fix PS/PDF size
since a PS/PDF bounding box is an integer, take the ceiling
 of a requested width & height
2011-03-27 16:27:19 -06:00
Robby Findler
4021f55c61 fixed up broken tests 2011-03-27 16:13:44 -05:00
Matthew Flatt
95f0d16761 clean up drawing with 0-width pens (hairline mode) 2011-03-27 14:21:21 -06:00
Matthew Flatt
009468d6a8 scriblib doc corrections and clarification 2011-03-27 14:20:17 -06:00
Robby Findler
7a427be2fd improve Redex's arrow drawing 2011-03-27 14:49:34 -05:00
Vincent St-Amour
4b4d7f5f0b Document here-figures. 2011-03-27 14:48:17 -04:00
Matthew Flatt
4e72817688 win32: clipboard fix 2011-03-27 11:22:15 -06:00
Matthew Flatt
d77c92d087 fix support for a string result from get-data' of clipboard-client%'
and properly report an error when the result from `get-data' is not
  allowed
 Closes PR 11821
2011-03-27 10:51:46 -06:00
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
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