Eli Barzilay
db5c6e02d7
Typo fixes, thanks to David Van Horn.
2011-08-23 12:08:37 -04:00
Robby Findler
034e4f2364
add test cases for old file 2htdp/image file formats
...
(and fix corresponding bugs)
2011-08-23 07:12:11 -05:00
Robby Findler
1f02106318
2htdp/image
...
normalize the internal representation of bitmaps so it always uses an alpha
bitmap instead of sometimes using a mask bitmap and sometimes using alpha.
This also fixes a bug where the library would get consfused when it saved
a bitmap to a file, since it didn't record if it was an alpha bitmap or not.
This improves the save files that contain images, cutting the size for bitmaps
in half (bringing the drracket save file down to a mere 25x larger than the
png file format for the example I was using...)
2011-08-22 19:09:52 -05:00
Robby Findler
f22ec82d96
fix brain fart
...
closes PR 12126
2011-08-22 19:09:51 -05:00
Robby Findler
8ccf50b84b
use the pre-multiplied alphas when comparing images for 2htdp/image
2011-08-22 19:09:50 -05:00
Stephen Chang
35f3a29020
fix lazy stepper tests
...
add case to annotate/module-top-level in stepper/private/annotate.rkt
2011-08-22 17:58:22 -04:00
Sam Tobin-Hochstadt
3f3f99d849
Revert "Give appropriate inferred names to `big-bang' clause RHSs."
...
This reverts commit 5c95e8d46d
which was accidentally committed.
2011-08-22 17:37:30 -04:00
James Ian Johnson
e12472bdf7
Changed rec-id black magic to a more robust syntax parameter solution.
2011-08-22 17:04:16 -04:00
James Ian Johnson
a873675832
Fixed a hygiene issue with rep-utils. Rec-ids were in improper phase.
2011-08-22 17:04:16 -04:00
Sam Tobin-Hochstadt
5c95e8d46d
Give appropriate inferred names to `big-bang' clause RHSs.
2011-08-22 17:04:16 -04:00
Jay McCarthy
cee3d251ee
This file uses this-expression-source-directory to implement this-package-version-symbol, but that comes from mzlib/etc which was not required
2011-08-22 14:15:04 -06:00
Matthew Flatt
853e47f05e
fix broken-link reporting by `scribble'
2011-08-22 07:58:05 -06:00
Matthew Flatt
fc5fc02e5e
doc `has-alpha-channel?' method
2011-08-22 07:58:04 -06:00
Sam Tobin-Hochstadt
e39abf17da
Typed version of `racket/date'.
...
Contracts make it hard to have this library automatically typed.
2011-08-22 09:46:12 -04:00
Eli Barzilay
2bc2050c08
Fix when showing the description of a module.
...
Set `current-load-relative-directory' to the path of the module file so
paths that it resolves in the description (in `describe-modeul') are not
bogus.
2011-08-22 07:49:49 -04:00
Robby Findler
e2e2cedead
typo
2011-08-21 22:02:32 -05:00
Matthew Flatt
bdadc453e0
fix `compile-collection-zos'
2011-08-21 11:43:59 -06:00
Matthias Felleisen
accb677f0e
write and read files in 'text' mode; Closes PR12120
2011-08-21 13:35:06 -04:00
Robby Findler
963dc808fa
fix bug in the way planet was setting up the state for the installation process
2011-08-20 19:15:46 -05:00
Eli Barzilay
a0baee8ab9
Sandbox fixes
...
* When `accept-lang?' is #t turn the reader flag on, but otherwise don't
change it
* turn on the `read-accept-reader' flag which is needed after all
* two refactoring typos
* some more reformatting
2011-08-20 16:14:01 -04:00
Matthew Flatt
a587f047d6
test fixes for Windows
2011-08-20 11:08:12 -06:00
Matthew Flatt
345b06838d
FFI: add C arrays and unions
2011-08-20 10:24:32 -06:00
Jay McCarthy
994092ea33
Allowing paths in convert-file and changing test to not be sensitive to cwd
2011-08-20 08:14:29 -06:00
Robby Findler
9f6862d12e
more time for the planet resolver thread safety test
2011-08-20 07:33:14 -05:00
Eli Barzilay
102f3636a3
The Ubuntu build is actually Karmic now.
2011-08-20 06:26:40 -04:00
Eli Barzilay
bc0c466233
Some more let' ->
define' uses.
2011-08-20 06:26:40 -04:00
Eli Barzilay
da3c6c9be2
Set read-accept-lang' to #t when reading a module in
make-module-evaluator'.
...
Also, some reformatting including uses of `define'.
2011-08-20 06:12:55 -04:00
Eli Barzilay
dc2e4352e0
Add some extra safety when using ns' for the namespace, get rid of factored away unnecessary
r' binding.
2011-08-20 05:38:54 -04:00
Matthew Flatt
e61ea772bb
fix `path-element?' collision
...
Is there a better name than `path-piece?'?
2011-08-19 19:54:36 -06:00
Jon Rafkind
758edda5ce
[honu] accidentally added these files, so removing them
2011-08-19 17:21:56 -06:00
Jon Rafkind
242337286d
[honu] move test to the tests collection
2011-08-19 17:13:22 -06:00
Jon Rafkind
6b766cd395
[honu] add list comprehensions
2011-08-19 17:12:14 -06:00
Jon Rafkind
816b1747e9
[honu] fix if
2011-08-19 17:12:13 -06:00
Jon Rafkind
c6e35ff665
[honu] move test file. minor cleanups to the parsing code
2011-08-19 17:12:13 -06:00
Jon Rafkind
47d613f4ec
add 'exit-code as an available symbol to the status procedure returned by process
2011-08-19 17:12:13 -06:00
Jon Rafkind
60aabdc8c5
[honu] don't stop parsing the current expression after invoking a macro.
...
add a file to help test honu.
2011-08-19 17:12:13 -06:00
Matthew Flatt
2606c59a29
fix `call-with-file-lock/timeout' example
2011-08-19 15:58:05 -06:00
Matthew Flatt
11f5c84493
fix make-lock-file-name'; add
path-element?'
2011-08-19 15:46:44 -06:00
Matthew Flatt
32da8e2b1f
fix same-scaled test
2011-08-19 13:15:36 -06:00
Matthew Flatt
89581f5e21
putting the "drscheme" collection last isn't useful anymore
2011-08-19 13:09:26 -06:00
Matthew Flatt
3f447b39e2
refactor some parallel-build code
...
- simpler and more reliable break protocol
- use logging instead of `eprintf' for non-exception errors
- avoid runtime code duplication in parallel-do macro
- fix some non-tail calls that should be tail calls
- print relevant place in "making" lines
- minor source formatting
2011-08-19 12:56:27 -06:00
Matthew Flatt
1b0abe85c7
trivial doc fix
2011-08-19 12:52:19 -06:00
Matthew Flatt
349c54f3c0
fix optimizer test
2011-08-19 12:51:49 -06:00
Robby Findler
2f1cf64b96
adjust timeout
2011-08-19 13:45:18 -05:00
Sam Tobin-Hochstadt
ae55d5afb6
Mark place-chan-rand as random for DrDr.
2011-08-19 14:25:23 -04:00
Jay McCarthy
3cd6be5931
I believe this fixes PR12117. The teaching languages rely on syntax/struct. (I have run the teaching language tests, but do not other uses of syntax/struct.) It appears that syntax/struct has been incorrectly creating this information for some time. The problem is that it would end the static info with a #f if the selectors or setters were omitted, but reading the documentation implies that there should be a final #f in either case. I've therefore changed the boolean to an or over the flags
2011-08-19 11:30:42 -06:00
Sam Tobin-Hochstadt
292feaad43
Useful error message when `with-type' used in a typed module.
2011-08-19 11:34:37 -04:00
James Ian Johnson
7af3d35bb3
Fixed compile failure.
2011-08-19 11:09:24 -04:00
James Ian Johnson
58d84d79db
Removed e from fold-pat attributes.
2011-08-19 11:09:24 -04:00
James Ian Johnson
def3834aa2
Fixed a comment inconsistency about double quotation.
2011-08-19 11:09:24 -04:00
James Ian Johnson
06edc3153f
Adding clarifying comments to rep-utils.rkt
2011-08-19 11:09:24 -04:00
Robby Findler
4d5a3fa971
Rackety (indentation, let->define, mzscheme->racket/base, module -> #lang)
2011-08-19 09:26:37 -05:00
Robby Findler
5455a16f47
fix bugs in the file locking protocol for planet packages
...
(in particular, support re-entrancy)
2011-08-19 09:26:36 -05:00
Matthew Flatt
d185c2a0df
fix optimizer bug
...
Also fix missing copy-propagation opportunity
2011-08-19 07:35:39 -06:00
Matthew Flatt
7eb2042bd9
fix compiler handling of top-/module-level constants
...
The JIT and bytecode compiler disagreed on the definition of
"constant". Now there are two levels: "constant" means constant across
all instantiations, and "fixed" means constant for a given instantation.
The JIT uses this distinction to generate direct-primitive calls
or not. (Without the distinction, a direct jump to `reverse' could
be wrong, because `racket/base' might get instantiated with the
JIT disabled or not.)
Also, fixed a bug in the JIT's `vector-set!' code in the case that
the target vector is a top-/module-level reference that is ready,
fixed, or constant.
2011-08-19 06:32:44 -06:00
Matthias Felleisen
e01e72a7ed
allow left-aligned figures
2011-08-18 18:26:14 -04:00
Eli Barzilay
18e8b92fa1
`purify-http-port' returns a new port, so make it close the old one.
2011-08-18 18:11:09 -04:00
Eli Barzilay
6091a5d972
Added explicit copyleft page to the website.
...
...to allow inclusion of text in wikipedia.
2011-08-18 18:11:09 -04:00
Eli Barzilay
38558b5fa7
typo in the description
2011-08-18 18:11:09 -04:00
Matthew Flatt
39edc5a599
`scribble' reports broken cross references by default
2011-08-18 13:05:37 -06:00
Matthew Flatt
ab477b958c
fix reader graph-notation equivalence
2011-08-18 12:54:52 -06:00
Matthew Flatt
8eefaba187
fix `regexp-match' performance for short matches on long strings
...
More specifically, for a string of length N and a match that
only looks at the first M characters, the complexity of
`regexp-match' is now O(M) instead of O(N). This allows
`regexp-split' to be O(N) for a string instead of O(N^2).
Also, fixed a bug in non-greedy matching that could affect
both long strings and input ports.
2011-08-18 09:26:09 -06:00
Matthew Flatt
09b4a55d87
Revert "Fix a scribble test for plural "Examples""
...
The test was correct, and e4729afdbf
fixes the bug.
This reverts commit 4eaab11d14
.
2011-08-17 20:43:12 -06:00
Matthew Flatt
e4729afdbf
fix plurality of `examples' label
2011-08-17 20:43:06 -06:00
Sam Tobin-Hochstadt
bdcc63b229
Handle apply for functions with no rest arguments.
2011-08-17 18:19:47 -04:00
Vincent St-Amour
cfec4280d3
Fix DrRacket test.
2011-08-17 17:34:55 -04:00
Jon Rafkind
07715da5e9
[honu] dont remove syntaxes that end expressions from the stream so macros can consume them. add a simple cond macro
2011-08-17 13:47:58 -06:00
Jon Rafkind
85110e177b
[honu] handle unary operators. add some common functions and binary operators
2011-08-17 13:47:58 -06:00
Casey Klein
53e80f6f38
Adds a syncheck:add-arrow example to the docs
2011-08-17 11:59:43 -05:00
Casey Klein
2eced78000
Fixes indentation
2011-08-17 11:59:43 -05:00
Vincent St-Amour
c8a930550e
Fix DrRacket tests.
2011-08-17 12:12:54 -04:00
Vincent St-Amour
83c7abb250
Move the "other editors" section later in the guide.
2011-08-17 11:37:25 -04:00
Sam Tobin-Hochstadt
5979a42448
Use a temporary directory to eliminate DrDr races in running benchmarks.
2011-08-17 11:24:53 -04:00
Eli Barzilay
9608c0f041
When a file is missing the ftp client throws an error, catch it.
2011-08-17 10:00:55 -04:00
Eli Barzilay
cc69dfbd71
Typo in error message.
2011-08-17 10:00:55 -04:00
Eli Barzilay
4eaab11d14
Fix a scribble test for plural "Examples"
2011-08-17 10:00:55 -04:00
Matthew Flatt
dfd58a2cdd
adjust sandbox to give S-expression input "original" status
2011-08-17 06:22:27 -06:00
Robby Findler
a221e4bba2
move some helper files into the private/ directory for drracket tests
2011-08-17 06:19:23 -05:00
Robby Findler
9495145ea5
add more info to try to debug planet failure
2011-08-17 06:04:07 -05:00
Stephen Chang
d0175722e8
fix lazy.scrbl so it compiles properly
2011-08-17 02:07:43 -04:00
Stephen Chang
af3e0cea01
updated Lazy Racket to use racket/base
...
updated Lazy Racket to use racket/base instead of mzscheme
2011-08-17 01:48:58 -04:00
Casey Klein
cee4566ed4
Makes test work when compilation strips source locations
2011-08-16 19:18:18 -05:00
Sam Tobin-Hochstadt
52fb1e3460
Add more elements to the list of things that are events.
2011-08-16 18:10:02 -04:00
Robby Findler
cc4de51fb0
- make the planet module resolver thread safe
...
- fixed planet to actually use the uninstalled (.plt file) cache
- linkage code was completely broken, so it now stubbed out (see the file to
resurrect it)
- other minor cleanups
2011-08-16 15:30:55 -05:00
Casey Klein
de732dd538
DrDr-disables the Redex Check Syntax test module
...
run-tests.rkt runs it itself
2011-08-16 14:32:34 -05:00
Casey Klein
e485e9f348
Tests define-judgment-form and metafunction renaming
...
Closes PR 11469
2011-08-16 14:32:34 -05:00
Casey Klein
9e2e11e9c4
Tests metafunction Check Syntax arrows
2011-08-16 14:32:33 -05:00
Casey Klein
efa04066c6
Tests define-judgment-form's Check Syntax interaction
2011-08-16 14:32:33 -05:00
Sam Tobin-Hochstadt
5870fec9c9
Simplify definition of (legacy) `typed-scheme' language.
2011-08-16 14:54:46 -04:00
Vincent St-Amour
01bc5b2822
Add ParenFace to the other editors docs.
2011-08-16 14:53:43 -04:00
Vincent St-Amour
d05f138ed2
Add precision to sequence-fold's doc.
2011-08-16 12:09:39 -04:00
Vincent St-Amour
ff0d843a09
Fix handling of impersonated vectors when bounds are fixnums.
2011-08-16 12:09:39 -04:00
Vincent St-Amour
a6e633ae2f
Formatting.
2011-08-16 12:09:38 -04:00
Vincent St-Amour
59f5f24736
Make error messages more consistent.
2011-08-16 12:09:38 -04:00
Sam Tobin-Hochstadt
39459ec9c4
Document typed/scheme' versions of
require/typed' and `require-typed-struct'.
2011-08-16 12:07:53 -04:00
Matthew Flatt
8264e77585
gtk: fix frame for text-field%' and other
canvas%'es
2011-08-16 08:12:31 -06:00
Matthew Flatt
099a0eebed
improve codeblock' and
racketblock' docs
...
including an explanation of the advantages and drawbacks of each
2011-08-16 08:02:50 -06:00
Matthew Flatt
4555254380
add code' to
scribble/manual'
2011-08-16 07:53:05 -06:00
Matthew Flatt
c7e7d0d8ff
make racket' preserve
#t' versus `#true'
2011-08-16 07:53:05 -06:00
Matthew Flatt
a1eaecb337
add an #:escape' clause to all
schemeblock'-like forms
2011-08-16 07:53:05 -06:00
Sam Tobin-Hochstadt
4c56a94eb1
DrDr repairs.
2011-08-16 08:14:39 -04:00
Eli Barzilay
ae80150a79
v5.1.3 stuff
2011-08-16 03:41:22 -04:00
Sam Tobin-Hochstadt
c54fc6d6d7
Refactor unit tests to handle tests that need base-special-env separately.
2011-08-15 21:39:31 -04:00
Sam Tobin-Hochstadt
8ecc2a4da4
Refactor base-special-env to run at phase 0.
...
Unfortunately, it can no longer be required normally, and forces changes to test suites.
2011-08-15 21:39:31 -04:00
Sam Tobin-Hochstadt
11167aa214
Better error message when id is unbound in `make-env'.
2011-08-15 21:39:31 -04:00
Sam Tobin-Hochstadt
13ef3849fc
Fix type of file->bytes-lines
2011-08-15 21:39:30 -04:00
Sam Tobin-Hochstadt
b25aae230b
re-enable type for port->bytes-lines
2011-08-15 21:39:30 -04:00
Casey Klein
72059c908b
Fixes check syntax bug
2011-08-15 17:50:11 -05:00
Casey Klein
a0f2db7574
Drops `traces' call to make the file DrDr-friendly
2011-08-15 12:46:14 -05:00
Casey Klein
98eaaebc65
Improves error messages for Redex definition forms
2011-08-15 12:46:14 -05:00
Vincent St-Amour
3b9fcdea92
Formatting.
2011-08-15 12:56:28 -04:00
Vincent St-Amour
93e96fbabb
Add samth as responsible for the typed benchmarks.
2011-08-15 12:52:23 -04:00
Vincent St-Amour
8dba93646a
Remove redundant logging message.
2011-08-15 12:19:54 -04:00
Vincent St-Amour
2a80582ed9
Fix arity raising for letrec.
2011-08-15 12:19:54 -04:00
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
Robby Findler
c2fdf43189
add a file I shoudl have added in an earlier commit (for the drracket read-language docs)
2011-08-05 09:02:34 -07:00
Casey Klein
576272362b
Adds define-judgment-form form
2011-08-05 07:19:23 -05:00
Casey Klein
8887ea2ef3
Refactors meta-function implementation further
2011-08-05 07:19:22 -05:00
Casey Klein
6e38233286
Deletes dead code
2011-08-05 07:19:22 -05:00
Casey Klein
7898018cad
Factors out name-consistency check
2011-08-05 07:19:22 -05:00
Casey Klein
24dc005ff4
Removes special case for typesetting recursive calls
...
This case doesn't appear necessary, since LWs are constructed in an
expansion step that occurs after all of the meta-function names
(including the current one) are bound.
2011-08-05 07:19:21 -05:00
Casey Klein
c1198d0687
Makes tests executable from outside their directory
2011-08-05 07:19:21 -05:00
Casey Klein
3dc677d270
Factors out parsing of relation contracts
2011-08-05 07:19:21 -05:00
Casey Klein
c9c2bb8ad7
Refactors construction of meta-function and relation lws
2011-08-05 07:19:20 -05:00
Eli Barzilay
1a65678924
Add a note to the command-line help text, and describe the functionality
...
in case someone really wants to use this.
2011-08-05 02:44:57 -04:00
Eli Barzilay
d048954f04
Poll mirrors for the download web pages.
...
This is triggered by an environment variable that points at a file that
is used to cache polling results. If the variable is not specified just
use all mirror links as usual. This way, for random builds when people
try things out there is no problem, while the nightly builds (and my
manual builds when there are changes) do the right thing.
The file holds information about the polls, and verifies that the
download exists -- if not, the link is not shown. If it is, then it
tries to get the size of the remote file (via HEAD or via FTP), and if
it doesn't match our download information, then drop it too. If no size
informaion is available, include it, but re-poll after a few days. Even
if the size matches, a re-poll will be done after a month, so stale
mirrors will not stick.
2011-08-05 02:05:59 -04:00
Eli Barzilay
5a7ddd6611
Add an optional path argument to `ftp-directory-list'.
2011-08-05 01:14:16 -04:00
Eli Barzilay
6a1336e75e
Return a file size string when possible.
...
This takes the advice from
http://files.stairways.com/other/ftp-list-specs-info.txt
further: search for the date by an explicit occurrence of a known month
name. This means that we won't see files with bad names (they'd be
filtered out of the result), but the filtered out entries are ones that
would not be usable with `ftp-make-file-seconds'.
When the month is found, and the entry is a file, look for a number
preceding the month, and if found, return it as the file size string.
This is a minor change in the API. (But it's probably better to either
revise it further, or eventually make it irrelevant by exposing the
interesting functionality via `net/url'.)
2011-08-05 01:14:16 -04:00
Eli Barzilay
4daaa84636
Removed a bunch of bytes->strings conversions since output does that anyway.
...
Also got rid of `filter-tcp-data', and just use `port->lines' instead.
2011-08-05 01:14:16 -04:00
Eli Barzilay
234015b34d
Make `ftp-make-file-seconds' use a correct year instead of 2002.
...
This function was using 2002 when there's no year... Updated it to use
the last occurrence of the guessed date, as described at
http://files.stairways.com/other/ftp-list-specs-info.txt
This function still looks pretty bogus -- the RFC does *not* say
anything about the format of response to `LIST', so it's whatever
semi-random thing the server does. (The above link looks like an
attempt to fix it, but I didn't see anything more official than that.)
From some looking around, it looks like ftp clients just try a bunch of
patterns against the text. Add also warnings in the documentation about
this.
2011-08-05 01:14:16 -04:00
Eli Barzilay
99d48abcf3
Remove all mentions of `locale' from the docs.
...
It's utf-8 now, but that's the default in the docs anyway.
2011-08-05 01:14:16 -04:00
Eli Barzilay
ba48669ead
Use UTF-8 and CRLF in the ftp client
...
RFC 2640 specifies that all transport strings are assumed UTF-8 if they
can be parsed as such. To make this complete it should really send a
FEAT and check that the result has "UTF8", but it's kind of redundant
since there's not much else to do if it isn't.
Also, switch to a more correct line endings of CRLF when sending
messages to the server.
2011-08-05 01:14:16 -04:00
Eli Barzilay
1be5019978
Switch from the "du -h" output in "installers.txt" to plain byte counts.
2011-08-05 01:14:16 -04:00
Robby Findler
0c6bc11ac3
start a section for documenting the symbols that DrRacket passes to a language's get-info proc
...
add docs for a few of these, notably the syntax colorer
2011-08-04 21:40:29 -07:00
Tony Garnock-Jones
54285e2f92
Correct type on typed variant of module->namespace.
2011-08-04 13:34:14 -04:00
Matthew Flatt
941dacd966
gtk: set app name on startup
...
Closes PR 11896
Closes PR 11408
2011-08-04 09:27:05 -06:00
Matthew Flatt
71621bfd72
remove unsupported MDI styles and method
...
Closes PR 12042
2011-08-04 08:02:54 -06:00
Matthew Flatt
1bc8978ce8
cocoa: fix list-box scrolling
...
Closes PR 11948
2011-08-04 07:38:10 -06:00
Matthew Flatt
cdf2085703
gtk: fix frame position tracking
...
Closes PR 11931
2011-08-04 06:45:18 -06:00
Robby Findler
78bdcbd071
clear the online expansion error message as soon as the buffer is modified
...
(instead of waiting for the next attempt to fail/succeed)
2011-08-03 23:40:54 -07:00
Robby Findler
337dbf8540
try to use the given security guard when deleting files, too
2011-08-03 23:40:51 -07:00
Eli Barzilay
a6705c4f07
Typo fix
2011-08-03 22:00:22 -04:00
Vincent St-Amour
5d4e5ed393
Break long lines.
2011-08-03 17:39:16 -04:00
Vincent St-Amour
b124d68f40
Improve error message for calls to 'sort' when inference fails.
2011-08-03 17:39:15 -04:00
Vincent St-Amour
1a661256f8
Abstract printing of function types.
2011-08-03 17:39:14 -04:00
Jon Rafkind
4324a1a33d
[honu] add colored lexer so drracket can color honu syntax appropriately
2011-08-03 14:37:26 -06:00
Jon Rafkind
adecdd5603
[honu] return a parse error if the lexer couldnt find any other matching regex
2011-08-03 14:37:26 -06:00
Eli Barzilay
89dfe3dc50
v5.1.2 stuff
2011-08-03 15:23:14 -04:00
Robby Findler
595272d19a
use a (dark) red italic font for online check syntax errors
2011-08-03 13:39:58 -05:00
Matthias Felleisen
7de873f431
added syntax property to universe 'disappeared-use so that keywords in world clauses point to origin and have docs
2011-08-03 14:29:33 -04:00
Matthias Felleisen
c938fdf419
added syntax property 'disappeared-use so that keywords in world clauses point to origin and have docs
2011-08-03 14:25:29 -04:00