Vincent St-Amour
63b5747018
Formatting.
2011-08-15 12:19:54 -04:00
Vincent St-Amour
becaac8c18
Have arity raising play nice with Check Syntax.
2011-08-15 12:19:54 -04:00
Vincent St-Amour
b536445cde
Fix visibility of arity-raised bindings.
2011-08-15 12:19:54 -04:00
Jay McCarthy
b8084b94b1
Better error messages for missing relations
2011-08-15 10:06:22 -06:00
Jay McCarthy
89ce37d90c
Broke one
2011-08-15 10:06:22 -06:00
Jay McCarthy
cd92964eef
Converting away from racket to racket/base
2011-08-15 10:06:21 -06:00
Jay McCarthy
b207f1051a
De-unitizing cookies and making the serializable
2011-08-15 10:06:21 -06:00
Jay McCarthy
80192e3c57
Fix crash when committer has new issue but no files of their own
2011-08-15 10:06:21 -06:00
Matthew Flatt
26fe665dd7
fix lncs and jfp class file download
2011-08-15 09:58:21 -06:00
Matthew Flatt
8989e810fb
fix over-eager bytecode transformation
2011-08-15 09:36:38 -06:00
Matthew Flatt
a95ce7dc5a
remove debugging output
2011-08-15 06:45:42 -06:00
Eli Barzilay
d61eb53686
Lots of documentation formatting.
...
Started as fixing misindented definitions, then more indentations, then
a bunch of similar things (square brackets, huge spaces at end-of-lines,
etc).
2011-08-15 07:50:04 -04:00
Eli Barzilay
d3d9514b1c
typo
2011-08-15 05:05:29 -04:00
Eli Barzilay
f297c98c1a
Heavily revise this test.
...
- Simplify code
- Remove bogus leftover (tests) in the end
- Resolve deadlock that resulted from using `tcp-abandon-port' in
`net/ftp'
- Actually there's no need for threads, probably because of small size
of data, so keep it.
- Use scribble syntax instead of here-strings, and move the text out of
the way.
2011-08-15 02:37:39 -04:00
Eli Barzilay
d9a55675f7
Typo in env var setting.
2011-08-15 02:37:39 -04:00
Eli Barzilay
16271950a3
Avoid running files that will try to download tex sources.
2011-08-15 02:37:39 -04:00
Eli Barzilay
87b0d35908
Make the "other editors" page be called that, also the source; also comment unused author line.
2011-08-15 02:37:39 -04:00
Matthias Felleisen
6716b9b96a
made 23238 stable w/ shared file prefix; Closes PR 12093 again
2011-08-14 22:29:20 -04:00
Robby Findler
00d3f72f21
fix up a few bugs, improve the docs, and start a test suite for the
...
new check syntax direct-to-traversal api
2011-08-14 14:32:45 -05:00
Sam Tobin-Hochstadt
fdcb22ea32
comment out type that produces strange duplicate error message.
2011-08-14 13:40:42 -04:00
Sam Tobin-Hochstadt
54c044c36a
Fix initial type environment for new-style keyword functions.
2011-08-14 13:40:42 -04:00
Sam Tobin-Hochstadt
2d094db270
Fix typechecking of `#%variable-reference'
2011-08-14 13:40:42 -04:00
Sam Tobin-Hochstadt
25084de5a7
Use regular define for `open-input-file' and friends.
2011-08-14 13:40:41 -04:00
Sam Tobin-Hochstadt
5f29dcdc23
Make keyword procedure syntax bindings structs with accessors for higher-order and core implementations.
2011-08-14 13:40:41 -04:00
Robby Findler
3bf9ae25e2
add a note about the disappeared properties
...
to the check syntax section of the manual
2011-08-14 08:16:14 -05:00
Eli Barzilay
f6fe18a736
Leave the platform colors as is.
2011-08-13 20:38:21 -04:00
Eli Barzilay
891df4919c
De-emphasize the platform selection to minimize people getting confused by it.
2011-08-13 20:38:21 -04:00
Robby Findler
1553658369
tweak planet logging so the "PLaneT: " prefix is more consistently there
2011-08-13 15:03:31 -05:00
Robby Findler
b300bae75c
added the lang/htdp-langs-save-file-prefix library
...
to help detect HtDP-lang save files
2011-08-13 15:03:29 -05:00
Robby Findler
3f987d76b7
improve the way check syntax draws arrows
...
(a little bit thicker line and some alpha)
2011-08-13 15:03:26 -05:00
Matthias Felleisen
6067cab1ef
changed convert-file to accommodate drracket generated files; this is brittle
2011-08-13 12:02:59 -04:00
Matthias Felleisen
1c4b8edcad
an improved error message for the kind of problem discussed in PR 12093
2011-08-13 12:02:59 -04:00
Matthias Felleisen
631bfeb301
added newline at end
2011-08-13 12:02:59 -04:00
Matthew Flatt
5be429dc99
fix procedure-name inference for keyword procedures
...
Closes PR 12111
2011-08-13 08:27:20 -06:00
Mike Sperber
e286898f8b
Synch German string constants with latest.
2011-08-13 16:25:18 +02:00
Matthew Flatt
f46a0e2519
make compile-omit-paths' apply to
scribblings' sources
2011-08-13 07:43:56 -06:00
Matthew Flatt
461af202c5
implement 'border style for `panel%'
2011-08-13 07:00:51 -06:00
Eli Barzilay
093d2304a8
Add an email alert whenever an ok mirror link changed to being omitted.
2011-08-12 19:47:43 -04:00
Eli Barzilay
046817a328
Better randomization of poll dates -- multiply the range by a factor of 1..2.
2011-08-12 19:47:43 -04:00
Matthew Flatt
456e9befd3
fix refresh' on
window<%>'s other than `canvas%'s
2011-08-12 17:03:28 -06:00
Jon Rafkind
d374fab4ca
[honu] add some examples
2011-08-12 15:16:39 -06:00
Jon Rafkind
0bac61f538
[honu] add flow operator which composes functions from right to left
2011-08-12 15:16:39 -06:00
Jon Rafkind
d4763da563
[honu] add structs and use . to lookup the field names in a struct instance
2011-08-12 15:16:39 -06:00
Jon Rafkind
5157a333bb
[honu] use brackets to do list lookup instead of using dot
2011-08-12 15:16:39 -06:00
Sam Tobin-Hochstadt
d948626fac
Use syntax-track-origin more pervasively to get the right arrows in check syntax.
2011-08-12 11:09:11 -04:00
Matthew Flatt
ce4286c722
fix bug in keyword-argument calls
...
Closes PR 12104
2011-08-12 07:24:39 -06:00
Casey Klein
cd1281fa65
Changes example from arithmetic to pairs
2011-08-12 04:33:38 -05:00
Vincent St-Amour
281e1003e3
Add disappeared uses to have optimized code play nice with check-syntax.
2011-08-11 18:25:46 -04:00
Vincent St-Amour
271f696c58
Refactoring.
2011-08-11 18:25:46 -04:00
Vincent St-Amour
cef410f5e2
Rename a parameter to better reflect what it's for.
2011-08-11 18:25:46 -04:00
Matthew Flatt
c81222e4c8
fix `call-with-file-lock/timeout' checking
2011-08-11 13:23:24 -06:00
Matthew Flatt
1c04cf1b02
make `port-try-file-lock?' work for Solaris
...
Shared locking now allowed only on input port, and exclusive
locking is allowed only on output ports, which allows an implementation
via fcntl(...,F_SETLK,...).
2011-08-11 13:11:26 -06:00
Robby Findler
997813680d
change the #:get-lock-file argument of call-with-file-lock/timeout to #:lock-file
2011-08-11 09:29:31 -05:00
Robby Findler
78a999537d
clean up the contract checking for call-with-file-lock/timeout
2011-08-11 09:29:30 -05:00
Asumu Takikawa
d12b617292
Added a match expander for objects in unstable.
2011-08-10 20:37:21 -04:00
Robby Findler
71c6483f4f
trace the language-position require(s) specially
...
so as not to turn them red when there is no use
of something exported by them in the program
closes PR 12100
2011-08-10 19:12:04 -05:00
Jon Rafkind
17f1ac53be
[honu] add dot as an operator. parse parenthesized expressions
2011-08-10 17:33:43 -06:00
Jon Rafkind
c8695ddf2e
[honu] set associativty for operators
2011-08-10 17:33:43 -06:00
Danny Yoo
91068e4085
adding example to the prose about using (for-syntax (for-syntax ...))
2011-08-10 16:28:42 -04:00
Danny Yoo
b72977963c
small fix to plural
2011-08-10 16:28:42 -04:00
Casey Klein
66be55215a
Fixes Redex doc's links to examples
2011-08-10 15:20:13 -05:00
Vincent St-Amour
8bcb7f2636
More TR test failures more easily detectable.
2011-08-10 15:45:54 -04:00
Robby Findler
708ca63c34
Revert "start making planet thread safe" -- didn't mean to push that one. Whoops, sorry.
...
This reverts commit 5bd969693c
.
2011-08-10 12:37:13 -05:00
Casey Klein
4d1651645a
Improves error message for premise typos
2011-08-10 12:24:02 -05:00
Casey Klein
a2dc2d9540
Fixes arity checks outside define-judgment-form
2011-08-10 12:24:02 -05:00
Casey Klein
d66c48ecf7
Updates STLC example to use define-judgment-form
2011-08-10 12:24:01 -05:00
Casey Klein
87f3541979
Adds support for ellipsis-repeated premises
2011-08-10 12:24:01 -05:00
Casey Klein
f803f187bd
Adds bigger define-judgment-form examples
2011-08-10 12:24:01 -05:00
Casey Klein
31ec46170d
Adds STLC example to README
2011-08-10 12:24:01 -05:00
Casey Klein
88cd7cd303
Adds with-compound-rewriters typesetting form
2011-08-10 12:24:00 -05:00
Casey Klein
29ffea3b76
Uses examples' in explanation of judgment form
where' clauses
2011-08-10 12:24:00 -05:00
Casey Klein
d2a58bc05f
Restores the explanation of define-relation contracts.
2011-08-10 12:24:00 -05:00
Casey Klein
52c50dd67e
Adds an alternative syntax for define-judgment-form rules
...
The conclusion may come last instead of first when a sequence of
dashes precedes it.
2011-08-10 12:24:00 -05:00
Casey Klein
dbfbf59256
Changes syntax for define-judgment-form mode and contract specs
2011-08-10 12:23:59 -05:00
Casey Klein
d58a743b89
Fixes define-judgment-form at the top-level with errortrace enabled
2011-08-10 12:23:59 -05:00
Matthew Flatt
3ab067bc33
cocoa: fix sign on `get-display-left-top-inset' x result
...
Also fix frame placement on screens other than the main screen.
2011-08-10 11:13:58 -06:00
Robby Findler
dc326c9501
change some prints to fprintfs to make it easier to remove debugging printfs from this file when checking in
2011-08-10 12:02:49 -05:00
Robby Findler
83e70af006
fix the initial frame position code for the multiple monitors case
2011-08-10 12:02:49 -05:00
Robby Findler
5bd969693c
start making planet thread safe
2011-08-10 12:02:49 -05:00
Matthew Flatt
1c1d1934f4
ftp: fix data download for some servers
2011-08-10 08:28:13 -06:00
Matthew Flatt
be0260792e
fix doc typos
2011-08-10 08:28:13 -06:00
Matthew Flatt
cc78030cd2
download LNCS and JFP class files on demand
2011-08-10 08:28:13 -06:00
Robby Findler
e043297ef8
use the supplied security guard in one more place where compiler/cm needs write permission
2011-08-10 07:45:14 -05:00
Asumu Takikawa
f818405dee
Fix typo.
2011-08-10 01:28:34 -04:00
Matthew Flatt
306e091f35
fix a `(with-handlers ([exn? ....]) ....)'
2011-08-09 16:33:18 -06:00
Matthew Flatt
2d06f4247f
keyword-function repairs
2011-08-09 16:33:17 -06:00
Matthew Flatt
001cb75bac
syntax-taint repairs
...
for problems exposed by more agressive arming of `lambda'
and `#%app'
2011-08-09 16:33:17 -06:00
Matthew Flatt
f646511ca7
first small step toward cross-module optimization
...
Mainly propagates constantness for the benefit of keyword
applications, but also propagates simple constants
2011-08-09 16:33:17 -06:00
Matthew Flatt
5352d670c4
generalize #%variable-reference' and add
variable-reference-constant?'
...
Use the new functions to make the expansion of keyword applications
to known procedure work with mutation.
2011-08-09 16:33:17 -06:00
Matthew Flatt
39a96dd699
add `prop:liberal-define-context'
2011-08-09 16:33:16 -06:00
Matthew Flatt
3b031d6c87
`define' + keyword lambda at top/module level => static checking
...
When `define' binds a keyword procedure at the top level or module
level, then it actually binds syntax that checks (i.e., warns
if arith or keywords are bad) and optimizes (i.e., avoids checking
keywords or allocating keyword-argument lists) first-order uses of
the procedure.
Checking and conversion are currently only performed for top-
and module-level bindings, because some macros detect the difference
between a variable or syntax definition --- notably `class' and
`unit'. A related problem in `class' is that the expansion
produces multiple definitions (for direct access to the fast
version of the function), which `class' turns into fields instead
of methods.
2011-08-09 16:33:15 -06:00
Jon Rafkind
2f2e1e6a03
[honu] add :: as the infix cons operator
2011-08-09 16:25:28 -06:00
Jon Rafkind
0871117538
[honu] add [] as a list form
2011-08-09 16:25:28 -06:00
Jon Rafkind
ab0a21db99
[honu] add quote and quasiquote
2011-08-09 16:25:27 -06:00
Jon Rafkind
4538335b1c
[honu] return a void expression if there is no current expression waiting to be processed
2011-08-09 16:25:27 -06:00
Robby Findler
d3f1bed4ae
add missing sentence fragment
2011-08-09 14:07:49 -05:00
Ryan Culpepper
e7a6d757dc
change manual name to "DrRacket Plugins"
2011-08-09 12:29:28 -06:00
Ryan Culpepper
707fdadd1b
unstable/gui/pict (blur): removed mode arg, true gaussian blur code
2011-08-09 12:29:28 -06:00
Ryan Culpepper
57bb02ef32
unstable/gui/pict (shadow-frame): only blur visible parts of shadow
2011-08-09 12:29:28 -06:00
Ryan Culpepper
78c784ed6f
unstable/gui/pict (blur):
...
fix blur wrt smoothing mode
refactored code, used macros for inlining
added #:pre-inset?
2011-08-09 12:29:28 -06:00
Ryan Culpepper
95ce7ec6ed
scribble style (capitalize section names)
2011-08-09 12:29:28 -06:00
Ryan Culpepper
6442a2777b
unstable/gui/pict: added shadow-frame and arch
2011-08-09 12:29:28 -06:00
Ryan Culpepper
2a0153cadb
unstable/gui/pict: added scale-to
2011-08-09 12:29:27 -06:00
Ryan Culpepper
efa8051a57
moved tag-pict, etc from unstable/gui/ppict to unstable/gui/pict
2011-08-09 12:29:27 -06:00
Ryan Culpepper
d1fcbc0a7c
merged unstable/gui/blur into unstable/gui/pict
2011-08-09 12:29:27 -06:00
Ryan Culpepper
19ec1fbccd
split off unstable/gui/pict module (no racket/gui dependency)
...
added examples to docs
2011-08-09 12:09:08 -06:00
Jon Rafkind
3bcf99b8f6
[honu] parse brace-enclosed code as an expression
2011-08-09 11:57:52 -06:00
Jon Rafkind
b823df23a7
[honu] handle empty files
2011-08-09 11:57:52 -06:00
Jon Rafkind
182cded2a3
[honu] return the last expression if two atomic expressions occur in sequence. add a simple for loop macro
2011-08-09 11:57:52 -06:00
Jon Rafkind
8a352da71c
re-enable test
2011-08-09 11:57:51 -06:00
John Clements
afc01ca2d1
updated expected (cons 1 2) error message
2011-08-09 09:42:23 -04:00
Jay McCarthy
cf5192226e
The FrTime docs need to be heavily revised and this won't happen shortly, so turning off these tests
2011-08-09 06:42:09 -06:00
Jay McCarthy
6da3ac36ec
Test is sensitive to contract messages
2011-08-09 06:42:09 -06:00
Asumu Takikawa
09e92ec81a
Recommend vim-racket plugin instead of .vimrc hacks
2011-08-09 01:37:01 -04:00
Robby Findler
40c68df514
fix the auto-square-bracket thing for with-syntax
...
closes PR 12096
2011-08-08 19:30:13 -05:00
Matthew Flatt
f34c0329bf
scribble/manual: add `current-display-width' parameter
2011-08-08 17:10:54 -06:00
Robby Findler
c908e08dd6
fix the text of the slideshow tutorial to talk about #:bullet instead of item/bullet
...
closes PR 12095
2011-08-08 16:50:46 -05:00
Jay McCarthy
26ddc5273f
Mistake
2011-08-08 12:39:23 -06:00
Jay McCarthy
756e86c9a7
DrDr racket not new enough
2011-08-08 12:39:23 -06:00
Jay McCarthy
fd90ab4c9b
Note installation step
2011-08-08 12:39:23 -06:00
Jay McCarthy
24899d05cd
Communicating with program
2011-08-08 12:39:23 -06:00
Jay McCarthy
64e41704e8
Splitting messages
2011-08-08 12:39:23 -06:00
Jay McCarthy
6b91638405
Updating help page
2011-08-08 12:39:22 -06:00
Jay McCarthy
a4f70ae598
Fixing PR12085
2011-08-08 12:39:22 -06:00
Jay McCarthy
f0e52b80df
Adding generalization of log to serve/servlet
2011-08-08 12:39:21 -06:00
Jay McCarthy
a11734d990
Getting it working after the crash
2011-08-08 12:39:21 -06:00
Jon Rafkind
aac511dfb6
disabled the wrong test. this is the right one
2011-08-08 10:32:08 -06:00
Robby Findler
d1e3765af7
added save-svg-image
2011-08-07 19:35:29 -05:00
Jon Rafkind
3e8ad26b1f
need a single expression so the test doesnt fail
2011-08-07 18:24:30 -06:00
Jon Rafkind
513d73068e
disable honu test for now
2011-08-07 17:51:29 -06:00
Robby Findler
38596a9b58
manage the state for delegates better (used by the drracket contour window)
...
closes PR 12094
2011-08-07 18:39:22 -05:00
Eli Barzilay
dae2ac4519
Move the lncs ignore into its own directory.
2011-08-06 21:00:53 -04:00
Eli Barzilay
d952a05ea9
Make mzlib/etc' reprovide
identity' from `racket/function'.
2011-08-06 20:59:16 -04:00
Robby Findler
1218cbfef6
improve send error message in the case that there is only one arg
...
closes PR 12091
2011-08-06 19:27:02 -05:00
Matthew Flatt
2d4e14dca8
fix a kill-safety problem in the module name resolver
2011-08-06 08:25:36 -06:00
Robby Findler
fc50be1caa
when moving the insertion point due to a search, use call-as-primary-owner
...
to scroll the right editor
closes PR 12080
2011-08-05 23:33:51 -05:00
Robby Findler
eeb79e0e48
add more detail to the hopefully-help-me-debug log messages that drracket reports about the online check syntax bug
2011-08-05 21:39:35 -05:00
Robby Findler
a090a0e903
adjust the tabify and tabify-selection methods so they do nothing when the colorer is frozen or stopped
...
closes PR 12087
2011-08-05 21:39:31 -05:00
Robby Findler
7a001e3dd2
avoid using paren balancing stuff when the colorer is frozen (when user pushes f1)
...
closes PR 12088
2011-08-05 21:39:28 -05:00
Vincent St-Amour
6e6d16b6c9
Add documentation about using Racket with popular text editors.
2011-08-05 17:31:13 -04:00
Matthias Felleisen
e3c3418fae
i hate git mv and rm
2011-08-05 12:50:49 -04:00
Matthias Felleisen
a61ecf1583
organized tests according to style file
2011-08-05 12:46:26 -04:00
Matthias Felleisen
a51e2494b6
bug fix: when the initial world is a final world, big-bang should use only the final draw handler -- if it exists
2011-08-05 12:46:25 -04:00
Matthias Felleisen
271f1c19ef
added directory for tests expected to fail
2011-08-05 12:46:25 -04:00
Matthew Flatt
f7fd274e80
fix `defstruct' to use more long-name layout options
2011-08-05 10:03:38 -06:00
Matthew Flatt
ad7fddf878
add column-attributes' support and use it to fix
struct' rendering
2011-08-05 10:03:38 -06:00
Matthew Flatt
b7afb3cf8f
Scribble: support for "boxable" blocks in Latex output
...
For example, if you make a multi-column table with a
`racketblock' in each column, then the columns size
to fit the code --- instead of forcing the table width
to match the page width and forcing each column to take
an equal share width.
2011-08-05 10:03:38 -06:00
Matthew Flatt
4ac85de974
Scribble: style adjustments to deter code wrapping
...
For HTML, the style used in the output of `racketblock' now
disables line wrapping, and the Rkt text styles inherit
line-wrap behavior. This doesn't solve the general problem
of code overflowing the horizontal space, but it makes the
failure mode usefully better.
A new 'vertical-inset nested-flow style is used by
`defproc', `defform', etc. It has no effect for HTML,
but it introduces suitable vertical space for Latex output
(in case you want to use `defproc' in a SIGPLAN-format
paper, for example).
2011-08-05 10:03:37 -06:00
Matthew Flatt
378ca5ffc2
Scribble Latex: change 'boxed to use a blue vertical bar
...
... to the left of a definition, instead of a horizontal line
before the definition
2011-08-05 10:03:37 -06:00
Matthew Flatt
a2446dc019
fix `reverse' error message
...
Closes PR 12090
2011-08-05 10:03:37 -06:00