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