Matthew Flatt
2d7b97ece9
doc and terminology fix
2012-02-26 22:13:02 -05:00
Matthew Flatt
bf5ab2a1c9
fix test to be reliable
...
The original variant depended on floating-point precision of pow().
2012-02-26 22:13:02 -05:00
Matthew Flatt
21a07ae9d6
fix problems with `(_fun #:in-original-place? #t ....)'
...
The old implementation could cause deadlock by blocking on a semaphore
while waiting for the original place to run a callback, but a master
GC might be needed (and the blocked place wouldn't get the signal).
Beside fixing that problem, a potential memory leak is fixed in
calling an ffi funcition and having a Racket->C unmarshaling fail.
Also, the GC marking routine for a `place' value didn't reference the
place's underlying `place_obj' value.
2012-02-26 22:13:01 -05:00
Matthew Flatt
f79e2b4ee0
fix problems with `record-dc%' and composition
...
Recorded clipping, transformations, and alpha didn't compose with
the target DC's existing clipping, transformations, and alpha.
2012-02-26 22:13:01 -05:00
Matthew Flatt
40fb54248d
add missing docs for transform' method of
dc-path%'
2012-02-26 22:13:01 -05:00
Eli Barzilay
069e917cca
Fix a very old typo in the pre-built "binaries" directory index.
...
Closes PR 12604.
2012-02-26 18:58:24 -05:00
Jens Axel Søgaard
ac9c155feb
Bugfix for `graphics/turtles'
...
The orange triangle is now updated after each turtle command. The erase
pen is now 2 pixels wide: before this, (draw 100) (erase 100) didn't
erase the line, but gave a grey line.
2012-02-26 15:55:30 -05:00
Neil Toronto
50df61fc4e
Fixed typo in introduction
2012-02-25 22:47:09 -07:00
Neil Toronto
3ed1a78713
Made plot snips resizeable
2012-02-25 22:47:09 -07:00
Matthew Flatt
dc1d4e80dd
fix incorrect GC decls hard-wired into xform
...
Closes PR 12602
2012-02-26 03:58:21 +00:00
Robby Findler
36323cf3be
added a pict-snip test case
2012-02-25 21:42:40 -06:00
Robby Findler
ad65164c5e
added a snipclass for pict-snip
2012-02-25 21:25:09 -06:00
Robby Findler
72b9199976
use record-dc% for drawing picts in the DrRacket repl
2012-02-25 17:59:07 -06:00
Robby Findler
f61f0830e5
change register-toolbar-button so that it accepts a number
...
argument and uses that to order the buttons in the DrRacket
panel.
Also, order all of the buttons via these numbers in
a more sane way
2012-02-25 16:57:49 -06:00
Robby Findler
df504d482e
fixed bug in list/c's first-order checking code
2012-02-25 16:57:49 -06:00
Matthew Flatt
645ca02e92
racket/draw: add `record-dc%'
2012-02-25 20:57:56 +00:00
Sam Tobin-Hochstadt
678941ce5a
Pass temporary value for Un' along in recursive call in
substitute'.
...
Closes PR 12600.
2012-02-24 20:25:53 -05:00
Ryan Culpepper
fa5e57335c
macro-debugger: right-click also changes syntax selection
...
fixes PR 12442
2012-02-24 17:51:41 -07:00
Ryan Culpepper
d4ac5e11ef
ryanc is responsible for tests/data
2012-02-24 16:59:22 -07:00
David Van Horn
7491e172ea
EOPL test suite re-written in Racket-based #lang eopl and rackunit
...
The eopl language is now racket-based rather than mzscheme-based. This
test-suite, which was originally distributed on the book's web-site has
been re-written in the new language. Changes include dropping all
drscheme-init.scm and top.scm files. Remaining files were renamed to
use the .rkt extension and edited to use the #lang syntax (instead of
modulue). Require and provide forms were changed to reflect racket's
syntax instead of mzscheme's (eg, only-in vs. only). Several
occurrences of one-armed ifs were changed to use when and unless. All
tests have been run successfully.
2012-02-24 14:46:18 -05:00
David Van Horn
b5a4ffcd55
Import allcode.zip into test suite.
2012-02-24 14:46:17 -05:00
Eli Barzilay
0de95a0a79
Do a timeout for http polls too.
...
(Turns out that some network problems can lead to a timeout after
several hours...)
2012-02-24 14:46:17 -05:00
Robby Findler
4eba0862cf
fix struct-info related bug in provide/contract
...
that John Clements pointed out on the Racket
mailing list
2012-02-24 13:10:12 -06:00
Robby Findler
ca9e8d742f
add missing defaults to calls to syntax-local-value
2012-02-24 11:31:06 -06:00
Matthew Flatt
60c1bc6638
fix problem with `get-module-code'
...
As reported and fixed by Timur Sufiev
2012-02-24 17:06:20 +00:00
Robby Findler
df4dbe615f
add a convertible interface to texpict that lets
...
values be convertiable to picts.
use that interface in DrRacket, but via the suboptimal
screen-bitmap route (for now)
2012-02-24 10:48:19 -06:00
Robby Findler
868cc4388f
go back to make-bitmap for pict turned into bitmaps via file/convertible
...
the lack of alpha (under windows) seems to outweigh the various
font drawing bugs/shortcomings
2012-02-24 08:15:05 -06:00
Robby Findler
9ffc18a000
adjust plai's gc2/mutator so that primitive applications are
...
special and primtives not in an application position is a syntax error
2012-02-24 08:15:03 -06:00
Asumu Takikawa
f092a96333
gui-debugger: closing the debugger should break
2012-02-23 19:52:29 -05:00
Asumu Takikawa
8170da3d10
gui-debugger: Racketize
2012-02-23 19:52:29 -05:00
Asumu Takikawa
41f60ac95f
gui-debugger: update icons using Neil's icon set.
2012-02-23 19:52:29 -05:00
Asumu Takikawa
4f982fddfd
gui-debugger: add a close button
2012-02-23 19:52:29 -05:00
Matthew Flatt
eb032c2fef
improvements to the bitmap docs
2012-02-23 07:12:22 -06:00
Robby Findler
d476d3f21a
fix a bug I thought I'd fixed a while back...?
2012-02-22 16:51:48 -06:00
Robby Findler
914f9feebc
lighten some check syntax arrow colors in white-on-black mode
...
closes PR 12594
2012-02-22 16:41:46 -06:00
Matthew Flatt
a025f7e9c8
fix bug in bytecode optimizer
...
The bug is triggered by unsafe flonum operations, a
conversion that tries to make the arguments more unboxable,
and a `lambda' form within an argument to the unsafe
operation.
Closes PR 12587
2012-02-22 06:54:26 -07:00
Matthew Flatt
c1759243d4
fix a problem with the interaction of Pango and AppKit
2012-02-22 06:54:26 -07:00
Matthias Felleisen
190fbcd7ce
fixed docs for quotient; Closes PR 12593
2012-02-22 08:33:16 -05:00
Jon Rafkind
4852904035
[honu] wrap expressions with let so local macro parsers can be defined. replace more usages of %racket with racket-syntax
2012-02-21 16:19:10 -07:00
Jon Rafkind
7379684c5b
[honu] use syntax properties to differentiate racket syntax from honu syntax instead of the %racket identifier
2012-02-21 16:19:10 -07:00
Jon Rafkind
bb85c06df4
[honu] use honu->racket in more builtin forms
2012-02-21 16:19:09 -07:00
Jon Rafkind
782664316d
[honu] honu forms implemented in racket must call honu->racket on the parsed output. add an example to do ocaml style pattern matching
2012-02-21 16:19:09 -07:00
Jon Rafkind
549a7522e3
[honu] add syntactic patterns. parse the output of macros using a local define-syntax (kind of hackish)
2012-02-21 16:19:09 -07:00
Robby Findler
1945ff2709
add make-platform-bitmap
...
also: use it in pict's rendering and
remove redex's platform-specific font choice
(going back to using 'modern on all platforms)
closes PR 12554
2012-02-21 16:19:45 -06:00
Eli Barzilay
c007c345f9
A bunch of more typos like the ones in David's commit.
2012-02-21 14:21:43 -05:00
David Van Horn
f029117266
Fixes spelling errors in reference.
2012-02-21 14:21:43 -05:00
David Van Horn
49064bc802
EOPL mzscheme => racket; closes PR10478.
2012-02-21 14:21:43 -05:00
Eli Barzilay
bfb731e065
Add robots.txt, to avoid spiders hammering the server via gitweb.
2012-02-21 14:21:43 -05:00
Robby Findler
bdd82c1b45
chop up the planetcute image
...
closes PR 12584
2012-02-21 12:21:07 -06:00
Matthew Flatt
b9012a2504
COM doc and error fixups
2012-02-21 06:14:44 -07:00
Matthew Flatt
b656219f8a
net/smtp: fix auth encoding to not add extra CRLFs
...
Closes PR 12501
2012-02-21 06:14:44 -07:00
Matthew Flatt
a12f9831a3
add optional newline argument to `base64-encode'
2012-02-21 06:14:44 -07:00
Robby Findler
7c3464f9d7
add marks on quoted identifiers so that, when they are used later, they bind properly
2012-02-20 21:30:24 -06:00
Sam Tobin-Hochstadt
b4af99babb
Fix types of numerics etc with expected type.
2012-02-20 18:45:33 -05:00
Robby Findler
7109e92b04
add gc2 support to random mutator
2012-02-20 15:29:00 -06:00
Robby Findler
3f5a45e904
fix broken vector->roots
2012-02-20 15:29:00 -06:00
Robby Findler
c42675f80c
adjust gc2's mutator language:
...
- give names to user functions that matches the user's names
(if the third bullet goes away, then the function
mutator-lift needs to be adjusted so that it uses
procedure-rename in order to preserve the improvement
in this bullet)
- change exn? to exn:fail? (to avoid catching break exns)
- change lang so that primitives (the ones in the
provide-flat-prims/lift declaration) are not allocated
in the user's space (treat them as if they are constants)
This change makes it easier to build up and explain the
GC api, piece by piece. That is, you can first run a program
that contains just a constant (and explain it) with only a
subset of the api. Then you can do something like (+ 1 2)
and explain it, both without getting into how procedures work.
(This is helpful for the way I run my lectures)
2012-02-20 15:29:00 -06:00
Sam Tobin-Hochstadt
a8bdb9d6ce
Speed up and improve tc-literal
. Now uses expected types more, and more sensibly.
...
Closes PR 12586.
2012-02-20 15:09:51 -05:00
Sam Tobin-Hochstadt
74c9265d66
Improve restrict
, and allow caller to control what type is returned for failure.
2012-02-20 15:09:51 -05:00
Sam Tobin-Hochstadt
99f01f5260
Fix overlap with sequences.
2012-02-20 15:09:51 -05:00
Vincent St-Amour
c7234772a4
Support relative path requires in performance report.
2012-02-20 14:02:07 -05:00
Jay McCarthy
1b054eed1b
Making change suggested by Norman Gray
2012-02-20 10:50:48 -07:00
Jay McCarthy
75a326e027
Better explanation of DrDr's behavior
2012-02-20 10:50:48 -07:00
Jay McCarthy
d7aa944eba
Squelch newline citations
2012-02-20 10:50:47 -07:00
Matthew Flatt
a884c91720
ffi/unsafe: add `array-length'
...
Closes PR 12576
2012-02-20 08:09:06 -07:00
Matthew Flatt
a79080e7ed
improve docs to match improved "-h" output
2012-02-20 08:09:06 -07:00
Robby Findler
b811adda7c
fix a bug in the collector (if 'free is a symbol used in the
...
mutator, then the 'find-free-space' functions could fail)
2012-02-20 08:56:30 -06:00
Robby Findler
b2a3b3a8a2
add xor, adjust implies following Carl's comments
2012-02-20 06:25:37 -06:00
Robby Findler
297db9b305
fix bug introduced recently by special cases for ->
2012-02-19 16:25:35 -06:00
Sam Tobin-Hochstadt
88bd4cce6c
Document `quote' et al in ISL+lambda.
...
Closes PR 12585.
2012-02-19 16:24:57 -05:00
Robby Findler
d4b176dd41
clarify nor docs
2012-02-19 15:17:29 -06:00
Matthew Flatt
9ca0c34cb2
lazy: fix or' and
and' to not force last argument
...
The `or' and `and' functions already worked correctly; this
fix is for `or' and `and' as applied directly to arguments, which
expands to the `racket/base' `or' and `and' forms.
2012-02-19 07:38:29 -07:00
Robby Findler
4b2f78477a
added nand, nor, and implies to racket/bool
2012-02-19 08:05:11 -06:00
Robby Findler
ce6d1c042c
add a test suite for racket/bool
2012-02-19 08:05:11 -06:00
Robby Findler
190d011f0d
clarify boolean=? and symbol=?
2012-02-19 08:05:10 -06:00
Robby Findler
2d76c3bcab
adjust -> contract so that (-> any/c ... any) contracts are now
...
flat contracts and using (-> any/c boolean?) uses predicate/c
without special intervention.
also, fix a bug in the opter contracts
2012-02-19 08:05:10 -06:00
Vincent St-Amour
e71fa0be88
Add typed for missing finum/flonum conversions.
2012-02-18 23:38:32 -05:00
Vincent St-Amour
240773ae6f
single-flonum? is not provided by TR's internals anymore.
2012-02-18 23:23:59 -05:00
Robby Findler
d361724607
revert the logo to the released one
2012-02-18 14:32:08 -06:00
Eli Barzilay
17133dc6bc
Ownership props.
...
Add stchang to lazy & tests; some other test directories.
2012-02-17 22:24:14 -05:00
Matthew Flatt
530b353798
racket/draw: change font face name interpretation again
...
Treat a "face" as a font description only if it has a comma,
otherwise go back to treating it as a family name.
This change fixes the problem of parsing "Times New Roman"
as "Times New, Roman".
2012-02-17 11:25:15 -07:00
Sam Tobin-Hochstadt
8378b742c7
Remove guibuilder. See mred-designer on planet for a maintained alterative.
2012-02-17 10:20:59 -05:00
Asumu Takikawa
b890f7d907
Docs: fix example in FFI intro
2012-02-17 10:02:36 -05:00
Sam Tobin-Hochstadt
89b3d0ef1c
Set eli as responsible for files in tests.
2012-02-17 08:57:54 -05:00
Sam Tobin-Hochstadt
777b7a4c00
mflatt responsible for collects/mzlib
2012-02-17 08:41:54 -05:00
Matthew Flatt
11de33d4ff
remove MysterX DLL, replace with wrapper around `ffi/com'
...
The ActiveX part of MysterX is gone. The `ffi/com' re-imeplemtnation
provides only core COM support.
The "mysssink" DLL is still needed, and its source is still
in the tree, but it is downloaded in the same way as other
pre-built DLLs. The DLL no longer needs to be registered with
regsvr32.
2012-02-17 06:37:19 -07:00
Matthew Flatt
b93eaa19f4
ffi/unsafe/alloc: releaser should be able to return a value
2012-02-17 06:36:23 -07:00
Matthew Flatt
f461d9f67d
ffi: fix _x-pointer/null' when
_x' has a supertype
...
This is more specifically a bug in `_cpointer/null', but it
shows up most easily through C structs.
2012-02-17 06:36:23 -07:00
Eli Barzilay
d379465baf
Increase default timeout to 15m.
2012-02-17 07:29:52 -05:00
Vincent St-Amour
aa85692436
Clean up compiled test files to force recompiling.
2012-02-16 11:45:51 -05:00
Matthew Flatt
084278fabc
handle-evt' cannot wrap
handle-evt'
...
The prohbition against `handle-evt' on `handle-evt' is as
document and as originally intended. I'm not sure why it
was allowed.
Existing programs that use `handle-evt' incorrectly
can break. I found and fixed one incorrect use and one
questionable use in the Racket tree (which is a small
minority of the uses of `handle-evt' in the tree).
2012-02-15 18:59:24 -07:00
Eli Barzilay
cea74ad911
Infogroep mirror is back, now in http form.
2012-02-15 11:40:48 -05:00
Robby Findler
df5e7efd5e
Made an editing pass over the redex tutorial
2012-02-15 08:29:22 -06:00
Robby Findler
b194b7791f
fix garbled command line
2012-02-15 08:01:36 -06:00
Vincent St-Amour
eca43387f6
Fix tests.
2012-02-14 18:20:35 -05:00
Vincent St-Amour
37ba3672d4
Wait for compile-time logs to be processed before running optimizer tests.
...
This should solve the log ordering problems that caused non-deterministic
test failures during the nightly builds.
2012-02-14 18:20:35 -05:00
Vincent St-Amour
84e2880715
Move post-processing of missed optimization inside Performance Report.
2012-02-14 18:20:34 -05:00
Matthew Flatt
08303d9db8
fix test to not write to stderr
2012-02-14 14:27:40 -07:00
Matthew Flatt
6cd2e3c71b
add `prop:cpointer'
...
Extend `define-cstruct' to support #:property specs, which causes
the constructor and C->Racket coercsions to wrap the pointer in
a structure instance with the specified properties. Of course,
the wrapper structure has a `prop:cpointer' property so that the
wrapper can be used transparently as a C pointer.
Add missing tests and documentation for the id`->list', `list->'id,
id`->list*', and `list*->'id bindings created by `define-cstruct'.
2012-02-14 14:25:55 -07:00
Robby Findler
88e4b59a95
adjust drracket test files to use 'gracket' instead of 'racket' in drdr
2012-02-14 13:19:18 -06:00
Robby Findler
dc6522b153
added racket/future to racket (the docs already say that it is included)
2012-02-14 12:30:23 -06:00
Robby Findler
eda4d294cc
Lost the snipclass with the name (lib "collapsed-snipclass.ss" "framework")
...
somewhere between 5.1.3 and 5.2.1. Bring it back.
closes PR 12563
2012-02-14 11:26:20 -06:00
Robby Findler
0e543fc66b
adjust the way internal errors are shown in DrRacket
...
so that printing an error no longer blocks (on user actions) but still
uses the GUI. Also: when new errors are generated while a dialog box
showing an error is still open, then just ignore those errors. Also,
if an error is generated that has been shown in the last 5 minutes, ignore
the new one.
2012-02-14 11:26:20 -06:00
Robby Findler
4763fb5189
drscheme => drracket
2012-02-14 11:26:20 -06:00
Matthew Flatt
967372c23d
make an eventspace thread survive a break exception
...
When an eventspace is created, its thread implicitly calls
`yield'. It now effectively loops with `yield' and while
catching continuation aborts.
Closes PR 12566
2012-02-13 16:28:10 -07:00
Matthew Flatt
aee0868f24
fix Windows library names
2012-02-13 16:27:52 -07:00
Matthew Flatt
2c479683d1
add --launcher'/
-l' flag to `raco exe' to create launchers
...
This addition triggered several other changes:
* -k for a Mac OS X embedding is now relative to the __PLTSCHEME
segment (which means that executables won't break if you strip
them, for example)
* the command-line no longer has a limited size for Mac OS X
launchers and embedding executables
* Mac OS X GUI and Windows launchers record the creation-time
collection path, unless they are created as "relative" launchers
2012-02-13 16:27:51 -07:00
Matthew Flatt
573ce9492a
add test for bad missing-glyph handling
2012-02-13 16:27:51 -07:00
Jay McCarthy
af9bab7426
Setting mflatt responsible for file he added
2012-02-13 11:50:38 -07:00
Robby Findler
6246df1d34
bump up the timeout for the broken up repl test
2012-02-13 07:14:56 -06:00
James Swaine
46c981bcdf
Clarified futures-enabled? documentation
2012-02-12 20:42:05 -06:00
Robby Findler
f2d244cb1f
clarify auto scrollbars & on-event interaction (ie, they don't interact)
2012-02-12 20:24:17 -06:00
Robby Findler
760ec887b9
split up the REPL test to get parallelism in drdr (and hopefully avoid timeouts)
2012-02-12 19:33:35 -06:00
Sam Tobin-Hochstadt
d0fbe825e6
Parameters can overlap with procedure types.
...
Closes PR 11993.
2012-02-12 14:30:36 -05:00
James Swaine
fd7235f94a
Updated future-event docs
2012-02-12 02:05:36 -06:00
James Swaine
7114f08c0b
Added tests for would-be-future
...
Minor fixes to would-be-future
Added futures-enabled? primitive
Added primitive name to future-event struct
2012-02-12 01:32:30 -06:00
Matthew Flatt
af62391c8c
win32: fix canvas% control border drawing
...
Use the system-supplied region to intersect with the
window region, so that drawng the border doesn't replace
the window content.
See also Kieron Hardy's post on the users' list, 2/7/12.
2012-02-11 08:45:32 -07:00
Mike Sperber
73f188c9e8
Synch German string constants with latest.
2012-02-11 14:54:21 +01:00
Ryan Culpepper
5a1badf397
syntax/parse: added template metafunctions
...
Also fixed some bugs and added simple optimizations.
2012-02-10 22:12:54 -07:00
James Swaine
a5676e9a68
Added would-be-future
2012-02-10 20:05:43 -06:00
Robby Findler
e4e4d70b6b
added define-union-language
2012-02-10 17:10:47 -06:00
Robby Findler
122625960d
adjust runtime errortraces in redex to manipulate namespaces a little more carefully
2012-02-10 17:10:47 -06:00
Robby Findler
6914c5667c
adjust test suite to match new lack-of-absolute-paths feature
2012-02-10 17:10:47 -06:00
Robby Findler
b93ff24fee
add two links to redex docs
2012-02-10 17:10:47 -06:00
Sam Tobin-Hochstadt
4d21ab1019
Make inference understand the relationship between Vector' and
Vectorof'.
...
Closes PR 12495.
2012-02-10 17:39:41 -05:00
Matthew Flatt
577f38f649
change `raco demod' test to write to temporary drectory
...
Also add `-o' option to `raco demod'.
2012-02-10 14:02:12 -07:00
Matthew Flatt
ecc4f4bbbe
make a sandbox test much less likely to fail
...
Give it 20 seconds to run out of memory insteda of 2 seconds. The
test is still non-deterministic, though.
2012-02-10 14:02:12 -07:00
Vincent St-Amour
593e4a4f1d
Provide require/typed/provide and require-typed-struct/provide from TR.
2012-02-10 11:30:20 -05:00
Vincent St-Amour
03ebf0d3de
Update tests for new log format.
2012-02-10 11:30:20 -05:00
Vincent St-Amour
ddb1982e01
Emit optimization logs as we optimize, instead of accumulating them.
2012-02-10 11:30:20 -05:00
Vincent St-Amour
46b9b6ea58
Explain duplicate removal.
2012-02-10 11:30:20 -05:00
Vincent St-Amour
4b84e56fa6
Don't compute the logs if no-one's reading the logs.
2012-02-10 11:30:20 -05:00
Vincent St-Amour
e134e7cd38
Simplify TR log processing and move part of it to Performance Report.
...
More messages get logged, but if no-one is listening, doesn't matter.
2012-02-10 11:30:20 -05:00
Vincent St-Amour
0452a5983f
Use trusted sandbox for Performance Report.
...
Solves permission problems.
2012-02-10 11:30:20 -05:00
Vincent St-Amour
8080669dd9
Fix typo.
2012-02-10 11:30:20 -05:00
Matthew Flatt
6abb87069c
fix error-message formatting
...
Closes PR 12565
2012-02-10 06:17:19 -07:00
Matthew Flatt
937cdf51d7
change `current-write-relative-directory' to support more path conversions
...
In particular, allow a pair of a relative-to directory and a base
directory. Paths that syntactically extend the base directory are
recorded as relative to the relative-to directory (which must
syntactically extend the base directory).
The compilation manager now sets the parameter to a pair with
the base directory as the main collection directory, if the source
file's path extends that directory's path.
This generalization solves problems created by cross-module inlining,
where the source location of a procedure in bytecode can now be in a
different file than the enclosing module's file.
Also add a test that checks whether the build directory shows up
in any ".zo", ".dep", or documentation ".html" files.
Closes PR 12549
2012-02-10 06:17:18 -07:00
Matthew Flatt
9b569aa9a2
adjust some libraries to avoid converting paths to strings too early
...
Early conversions leave absolute paths in bytecode and rendered
documentation.
2012-02-10 06:17:18 -07:00
Ryan Culpepper
06979954fa
syntax/parse: added experimental template form
...
Also added more atomic patterns to syntax-parse (previously overlooked).
2012-02-10 05:26:13 -07:00
Eli Barzilay
5a6ed440a1
Allow `get-conf' to be used with any key.
...
Make it possible to put user settings in the configuration, with the
same benefits (auto-reloading).
2012-02-10 06:05:50 -05:00
daniel watson
9835bc2f7b
Guide typos
...
* fix cond intro 'text-expr' typo in guide
* fix quote in quote title
* for -> form in quasiquote unquote-splicing shorthand
2012-02-10 02:41:48 -05:00
Rodolfo Henrique Carvalho
19f43d27aa
Typos in turtles (code and docs).
...
The name of the mathematician is Sierpinski.
* Serpinski => Sierpinski
* Rename serp => sierp.
2012-02-10 02:41:48 -05:00
Eli Barzilay
fc0fd4b537
Fix a bug where retrieving a submission would get appended to the default #lang line.
2012-02-10 00:43:26 -05:00
Matthew Flatt
284ba01db6
errortrace: skip annotation in namespace with wrong base phase
...
Closes PR 12551
2012-02-09 17:58:28 -07:00
Matthew Flatt
77bd401a2d
fix problems with marks and module for-syntax
...
Closes PR 12538
2012-02-09 17:34:15 -07:00
Matthew Flatt
6d3a458847
fix reported arity of `map' et al.
...
Closes PR 12561
2012-02-09 16:49:34 -07:00
Matthew Flatt
8000dd78ca
doc correction
2012-02-09 16:49:33 -07:00
Sam Tobin-Hochstadt
38e7fb5eb0
Relax type of `filter'.
2012-02-09 17:08:48 -05:00
Sam Tobin-Hochstadt
a5c7175e46
improve types for literal hash tables
2012-02-09 17:08:48 -05:00
Eli Barzilay
88da3effc4
"indicies" -> "indices", as noted by Rodolfo Carvalho.
2012-02-09 13:59:20 -05:00
Rodolfo Henrique Carvalho
237f64b265
Two typos.
2012-02-09 13:54:25 -05:00
Eli Barzilay
0cd6876334
Disable Win/i386-crashing test. (See comment for the reason.)
2012-02-09 13:24:51 -05:00
Eli Barzilay
38b0451b56
Lib path typo.
2012-02-09 13:07:48 -05:00
Kevin Tew
6ababab853
fix multiple places imported into the same module
2012-02-09 10:04:57 -07:00
Kevin Tew
c2f5b7e0ed
Pretty up places test code
2012-02-09 08:52:05 -07:00
Ryan Culpepper
766790b9e4
db: clean up disconnect
2012-02-08 22:32:51 -07:00
Ryan Culpepper
f142a1c5f2
db: clean up communication, locking
...
Disconnect on break exn within lock; other break-safety fixes.
2012-02-08 22:32:51 -07:00
Ryan Culpepper
f5711c6cc3
db: added prepared statement cache
2012-02-08 22:32:51 -07:00
Ryan Culpepper
6fe7e65ff0
db: clean up common tx code
2012-02-08 22:32:51 -07:00
Ryan Culpepper
654ccb277f
db: added cursors
2012-02-08 22:32:51 -07:00
Ryan Culpepper
618173c97e
db: finalize close-on-exec psts within lock
2012-02-08 22:32:51 -07:00
Ryan Culpepper
4c817d0f7f
db: clean up and reogranize common impl code
2012-02-08 22:32:50 -07:00
Asumu Takikawa
5a27a8538c
Add documentation for #:opaque keyword.
2012-02-08 22:47:16 -05:00
Asumu Takikawa
db3c96a2a0
Added tests for opaque class/c contracts.
2012-02-08 22:47:16 -05:00
Asumu Takikawa
f1557bc4be
Opaque class/c should treat field opaquely too.
2012-02-08 22:47:16 -05:00
Asumu Takikawa
3eb963f62d
Add #:opaque keyword to class/c.
...
The #:opaque keyword specifies that a class/c should be opaque.
An opaque class contract raises an error if the contracted class
contains any methods not mentioned in the contract.
2012-02-08 22:47:16 -05:00
Robby Findler
09200fc7aa
actually added the images this time
2012-02-08 19:18:59 -06:00
Robby Findler
5e0f5beee5
added Racket logo by John & Neil
2012-02-08 19:17:42 -06:00
Robby Findler
678603ae24
move the 'remove all saved bug reports' menu item to the
...
end of the menu so it is not so easy to accidentally
click on
2012-02-08 16:23:13 -06:00
Robby Findler
b3a9ae9ba2
change the font in the pink highlighting to avoid some
...
bad drawing behavior on the mac (that shows up in the
amb tutorial)
2012-02-08 16:23:13 -06:00
Jay McCarthy
dc8f47b20a
Missing require in docs
...
Fixes PR 12544
2012-02-08 11:04:54 -07:00
Kevin Tew
4f3bec1792
pr# 12542 fixed - All symbol types are now allowed across place channels.
2012-02-08 10:21:59 -07:00
Robby Findler
55b3d99d78
adjust beaucoup places in redex where the source was being
...
included in the compiled files. (also, misc minor cleanups
notably a new exercise in tut.scrbl)
closes PR 12547 --- there are still a few uses left, but they do not
seem to be coming from Redex proper:
- /Users/robby/git/plt/collects/racket/private/map.rkt still appears
in a bunch of places (there is a separate PR for that I believe),
and
- /Users/robby/git/plt/collects/redex/../private/reduction-semantics.rkt
appears in tl-test.rkt, but I do not see how it
is coming in via Redex code, so hopefully one of the other
PRs that Eli submitted is the real cause. If not, I'll revisit later
2012-02-08 09:59:44 -06:00
Robby Findler
ed22a630fd
fix predicates to return booleans
2012-02-07 20:33:05 -06:00
Robby Findler
4bac243efe
put an expression to evaluate to find the path instead of the path
...
that was there when the html file was built.
closes PR 12545 (I do not agree with Eli's proposal for fixing this so I
did it differently)
2012-02-07 16:14:09 -06:00
Robby Findler
6633387827
adjust 'bitmap' so that it saves paths as a list of strings that
...
get interpreted as a collection at runtime, instead of saving a path.
closes PR 12548
2012-02-07 15:50:53 -06:00
Robby Findler
2ca0473f1c
shrink longest line down to something more reasonable
2012-02-07 15:50:53 -06:00
Robby Findler
811a9227c3
Rackety
2012-02-07 15:50:52 -06:00
Ryan Culpepper
ed1ba3a442
syntax/parse docs: use trusted sandbox config
...
closes PR 12546
2012-02-07 13:43:26 -07:00
Ryan Culpepper
679b2d3872
lazy-require: use cm-accomplice
2012-02-07 13:43:26 -07:00
Ryan Culpepper
e2404184ee
syntax/parse: fix opaque head patterns and splicing syntax classes
...
closes PR 12537
2012-02-07 13:43:26 -07:00
Kevin Tew
2de9de9b26
place-channel-put: value not allowed in a message
...
prints out just the invalid object, not the whole message
2012-02-07 13:07:02 -07:00
Jay McCarthy
078540b17c
Fixing another problem discover because of Galler
2012-02-06 09:12:42 -07:00
Robby Findler
30239514a3
clarify 'add teachpack' menu item
...
closes PR 12540
2012-02-05 19:44:56 -06:00
Robby Findler
98a0b74b4f
up the timeout for tut.scrbl
2012-02-05 18:51:55 -06:00
Robby Findler
3f6a835572
lift some work out so it happens earlier (and less often) in
...
the -> contract combinators. This speeds up the running of the (new)
file tut.scrbl by about 10%.
2012-02-05 17:24:13 -06:00
Robby Findler
794240bf67
added a amb-based redex tutorial
2012-02-05 17:24:13 -06:00
Robby Findler
8bec634dcd
adjust covered-cases so that it always returns deterministically
...
(sorting by the strings in the result)
2012-02-05 17:24:13 -06:00
Matthias Felleisen
4e075a1f63
fixed typo, closes PR 12539
2012-02-05 10:13:31 -05:00
Matthew Flatt
a5420e41fc
fix pattern match on error message that was modified in 8cf49dfdb1
2012-02-04 07:00:35 -07:00
Matthew Flatt
8cf49dfdb1
fix format of some error messages
...
Closes 12536
2012-02-04 05:32:00 -07:00
Jordan Schatz
8a2b06574a
Two typos in the rackunit docs
2012-02-04 03:05:00 -05:00
Eli Barzilay
1c841e143f
Add `procedure-rename' to the pile of things that are not used.
...
Closes PR9811 (with no fix it).
2012-02-04 03:03:18 -05:00
Eli Barzilay
9f662b6467
Fix typo and minor improvement.
2012-02-04 03:03:17 -05:00
Eli Barzilay
f023744814
Center the release text on the page.
2012-02-04 03:03:17 -05:00
Matthias Felleisen
b63cb42acf
fixed documentation for check-within
2012-02-03 10:30:23 -05:00
Vincent St-Amour
b194916ad6
Fix printing of types in instantiation error messages.
...
Closes PR 12507.
2012-02-02 16:00:16 -05:00
Vincent St-Amour
b73421f812
Enable Performance Report in typed/racket/base and typed/scheme/base.
2012-02-02 16:00:15 -05:00
Eli Barzilay
3ddf935f20
v5.2.1 stuff
2012-02-02 14:59:30 -05:00
Rodolfo Henrique Carvalho
c3f92c26b9
Update collects/scribblings/reference/stx-trans.scrbl
2012-02-02 12:46:01 -05:00
Tim Brown
496a4513d5
Small typo in 2nd paragraph of scribblings/inside/procedures.html "a" should be "as"; update for "collects/scribblings/inside/ports.scrbl".
2012-02-02 12:46:01 -05:00
Matthew Flatt
2f5430e227
update pre-built libraries
2012-02-02 08:04:12 -07:00
Matthew Flatt
c979e690a5
fix test to work right with imprecise GC
2012-02-02 06:32:55 -07:00
Neil Toronto
a94e1fc00e
Fixed plot doc tests
...
Removed contract/c from unstable/contract
2012-02-01 22:17:25 -07:00
Neil Toronto
dc677998f0
Added JPEG compression to compiled-bitmap' and
compiled-bitmap-list'
...
Added "whirl and pinch" transform
2012-02-01 22:17:25 -07:00
Eli Barzilay
999e481785
Fix apparent bug.
...
In the new-ish code for following redirections, the `strings' argument
wasn't passed along as it did before.
2012-02-01 21:51:47 -05:00
Eli Barzilay
76ab851d2a
The "foreign-test.rktl" finally work on both windows machines.
...
To get the expected contents of the various environment variables, I
used a similar approach to what the build does in `grab_batch_vars':
* Start a cmd.exe shell (not a real shell)
* Dump the env into a buffer
* Run "... Studio/VC/vcvarsall.bat" (modifies envvars, which is why cmd
is needed)
* Dump new env into a new buffer
* Sort both buffers and compare
Hopefully it still works also on Matthew's setup.
Two other small things:
* Use ".obj" suffix on windows to avoid warning.
* Catch error when trying to delete the .so file, since on the x86_64
machine it throws an error. (I'm not sure how it *doesn't* do that
with the i386 machine.)
2012-02-01 21:51:47 -05:00
Robby Findler
977659a118
fix redex's syntax pruning to not drop the #%top binding
2012-02-01 20:09:29 -06:00
Sam Tobin-Hochstadt
7c1c0c96c0
Fix type of `raise'.
...
Closes PR 12525.
2012-02-01 20:25:05 -05:00
Jay McCarthy
47d626ee8b
Fix for an error Galler found
2012-02-01 17:06:14 -07:00
Jon Rafkind
b74ad87160
[honu] wrap the condition of when expression inside parentheses. instantiate literal sets at the proper phase for honu macros
2012-02-01 16:05:41 -07:00
Jon Rafkind
712951d347
[honu] add fun as an alias to function
2012-02-01 16:05:40 -07:00
Jon Rafkind
54449d824c
[honu] use a function keyword to define procedures and make lambdas
2012-02-01 16:05:40 -07:00
Vincent St-Amour
1b6cf730c3
Fix type of expt.
...
Closes PR 12526.
2012-02-01 16:50:40 -05:00
Vincent St-Amour
87887b7a18
Optimize n-ary fixnum comparisons (correctly).
2012-02-01 16:50:39 -05:00
Vincent St-Amour
e3be061171
Only optimize fixnum comparisons in the binary case.
...
Closes PR 12479.
2012-02-01 16:50:39 -05:00
Neil Toronto
950f034936
Pushing unfinished but stable flomap transforms so Matthew can debug a segfault
2012-02-01 09:54:25 -07:00
Neil Toronto
7d28eef00d
Moved contract/c and treeof to unstable/contracts
...
Little plot doc fixes
2012-02-01 09:44:47 -07:00
Neil Toronto
ec96e37e09
Documented unstable/flonum
2012-02-01 09:44:47 -07:00
Neil Toronto
47fcdd4916
Sped up floor-log/base and ceiling-log/base, and made them correct on flonum inputs.
...
This change significantly increases the speed of number formatting, making extreme-bounds-tests.rkt run in about 1/4 the time.
Should consider moving these into racket/math, since floor-log/base generalizes order-of-magnitude.
2012-02-01 09:44:47 -07:00
Neil Toronto
713772959f
Clipping lines now uses exact arithmetic. Fixes visual issues with plotting inexact functions at very small scales. Every plot should render correctly at every scale now.
2012-02-01 09:44:47 -07:00
Robby Findler
e8902f9981
added a hack to keep DrRacket from freezing when it is unable to
...
detect if a (n online check syntax) rename would conflict with
an existing name. (This can happen because the remote place's
custodian gets shutdown due to, for example, another tab's online
check syntax running.)
2012-01-31 21:11:16 -06:00
Robby Findler
a0ef78e97b
adjust online check syntax to try to fix a bug where renaming information
...
can get "stale" and cause DrRacket to deadlock (this commit just sets
up some stuff to make one fix possible, but that fix doesn't seem to
be working, so the actual fix is disabled (see comment in commit))
2012-01-31 21:11:16 -06:00
Robby Findler
019e57b9d7
fix docs mistake
2012-01-31 21:11:16 -06:00
Vincent St-Amour
5e7d67ffa7
Include more information in TR optimizer test failures.
2012-01-31 15:43:56 -05:00
Eli Barzilay
9813ba425f
Show how the machine identifies itself.
...
This includes `uname', and trying hard to get a domain name when `uname'
doesn't include one.
2012-01-31 14:08:18 -05:00
Matthew Flatt
a3ce8bf787
doc behavior of `copy-file' and modification dates on Windows
2012-01-31 07:14:25 -07:00
Matthew Flatt
6a4d699f5f
fix sandbox test to work on Windows
2012-01-31 07:14:25 -07:00
Danny Yoo
bbab60545e
adding gvector-remove-last!
2012-01-30 16:14:22 -07:00
Eli Barzilay
d211804c3f
The "libs" files are now under a "tags" subdirectory.
...
(Related to the server auto-publishing new tags and branches, configured
to do that in "~ftp/pub/racket/libs/{heads,tags}" respectively.)
2012-01-30 13:51:58 -05:00
Matthew Flatt
6e01d1586a
racket/gui: fix refresh for right-aligned or centered paragraphs in text%
2012-01-30 11:01:18 -07:00
Matthew Flatt
6b6beb601e
add PLT_VALIDATE_COMPILE to enable extra checking of the compiler
...
Setting the environment variable causes the bytecode compiler to run
the bytecode validator (which is normally applied to input from a
bytecode file) immediately on all of the compiler's own results.
2012-01-30 10:31:37 -07:00
Matthew Flatt
706d5026ac
fix bytecode compiler bug
...
Certain `lambda'-lifting operations can cause information
about the flonumness of a variable to get lost, leading
to a mismatch between the closure's flags and flags on
a variable reference. (The bytecode validator could detect the
bug when loading the broken bytecode. The broken information,
meanwhile, was only used by the JIT.)
2012-01-30 10:30:51 -07:00
Matthew Flatt
3bed8aee43
fix docs for `syntax-id-rules'
...
Closes PR 12519
2012-01-29 06:50:35 -07:00
Matthew Flatt
323c74fd09
added docs for a&d args of slideshow's dc procedure
...
Based on John Clements's correction
Also, improve some cross references.
2012-01-29 06:50:35 -07:00
Sam Tobin-Hochstadt
c16e48a083
Fix internal constructor name for struct:' so that
struct-out' works.
...
Closes PR 12447
Related to PR 12516
2012-01-28 09:47:15 -05:00
Sam Tobin-Hochstadt
f3e3eb10ad
Fix type of `memf' to be more permissive.
2012-01-28 09:47:15 -05:00
Jon Rafkind
99daf6a9d1
[honu] fix tests
2012-01-26 15:23:20 -07:00
Jon Rafkind
42d21a9918
[honu] erase old files
2012-01-26 13:56:05 -07:00
Jon Rafkind
100d77260a
[honu] provide assignment operators
2012-01-26 13:32:52 -07:00
Jon Rafkind
b67f5e71e6
[honu] add moere assignment operators
2012-01-26 13:32:52 -07:00
Jon Rafkind
9e8a77c5c5
[honu] fix more references to :=
2012-01-26 13:32:52 -07:00
Jon Rafkind
7e5a0285d3
[honu] replace := with =
2012-01-26 13:32:52 -07:00
Jon Rafkind
d6be1fbdee
[honu] move operators to their own module
2012-01-26 13:32:52 -07:00
Jon Rafkind
1fac120cd2
[honu] move core definition of honu-syntax to another module
2012-01-26 13:32:52 -07:00
Jon Rafkind
2b6efee854
[honu] still need :=
2012-01-26 13:32:51 -07:00
Jon Rafkind
d7a35c1eb8
[honu] use = for mutation to be consistent with other uses. put where clauses of list comprehensions on the right side
2012-01-26 13:32:51 -07:00
Jon Rafkind
2af9100a5d
[honu] make "then" keyword required for if again. start to add more loop types to for
2012-01-26 13:32:51 -07:00
Jon Rafkind
a1869fa2f1
[honu] then is optional in "if". allow multiple sequences in for. add for/fold
2012-01-26 13:32:51 -07:00
Jon Rafkind
bc30a94c72
[honu] allow list comprehensions to follow expressions
2012-01-26 13:32:50 -07:00
Eli Barzilay
31746a2d9e
Revise commented code so it can replace exiting code without dependency issues.
2012-01-26 13:20:26 -05:00
Matthew Flatt
d22ff8c5e2
improve Guide info on PLTCOLLECTS' and
raco link -d'
2012-01-26 09:30:25 -05:00
Matthew Flatt
13a5b0c623
change `ffi-lib' to not make library symbols global by default
2012-01-26 09:30:25 -05:00
Matthew Flatt
ab9607b35a
adjust a doc correction
2012-01-26 09:30:25 -05:00
Jay McCarthy
8be9abf1d4
Verify that the HTML tags really do have their empty-tag behavior
2012-01-25 16:48:11 -07:00
Jay McCarthy
ce73175427
Changing the defaults for empty tag shorthand in XML
2012-01-25 16:48:11 -07:00
Jay McCarthy
41a64cbbd8
Dealing properly with rest args in svn-style commands
2012-01-25 16:48:11 -07:00
Jay McCarthy
027b09fec8
Marking release commits specially
2012-01-25 16:48:11 -07:00
Jay McCarthy
fda7e8bad5
Fix behavior on rest arguments
2012-01-25 16:48:11 -07:00
Jay McCarthy
2d0d4823a7
Throw an error when required fields are missing, rather than letting scribble error
2012-01-25 16:48:11 -07:00
Jay McCarthy
a72ca57ccc
Fixing stupidity... for now
2012-01-25 16:48:11 -07:00
Jay McCarthy
32d1060c33
Adding branch information to commits
2012-01-25 16:48:11 -07:00
Jay McCarthy
acc95cbb56
Release branch
2012-01-25 16:48:11 -07:00
Rodolfo Henrique Carvalho
7d97cbecb4
Update collects/scribblings/reference/filesystem.scrbl
2012-01-25 08:48:56 -05:00
Eli Barzilay
d69a45210c
Add `$RKTShortName' that doesn't include the version and the platform,
...
use it to improve some installer texts.
(Also update comment about required macro definitions.)
2012-01-25 08:44:39 -05:00
Eli Barzilay
5c977f3471
Removed old "***" leftover.
2012-01-25 08:44:39 -05:00
Ryan Culpepper
0b3691691a
db: fix sqlite3 #:use-place for raco exe
2012-01-24 15:28:32 -07:00
Robby Findler
7cf563c4d9
fix some typos in a comment
2012-01-24 08:29:09 -06:00
Eli Barzilay
d21e646327
Include the platform in the windows installer's "human name".
...
(Otherwise having both installed can be confusing since the uninstaller
has the same name; also, it's good to make a reminder for people who
want the other one.)
Also, just use the platform string in the registry key uniformly.
Also add a comment about detecting Win64 if it's desirable in the
future.
2012-01-24 07:23:22 -05:00
Sam Tobin-Hochstadt
f70c1b213f
`sort' now infers properly -- test passes.
...
Please merge to release.
2012-01-24 05:19:01 -05:00
Ryan Culpepper
622a947bc4
db: added #:use-sources for db/base exports
2012-01-23 16:06:14 -07:00
Neil Toronto
f966ea8876
Removed test byproducts accidentally committed in d020c75202
...
Please merge into release
2012-01-23 15:56:12 -07:00
Neil Toronto
015625e732
PLoT documentation for new renderers and plot/utils (code changes are only to move code around so a previously public function could be public again)
...
Many little doc fixes
Closes PR 12433
Closes PR 12435
Please please please merge into release
2012-01-23 15:56:11 -07:00
Eli Barzilay
3dd9001fdd
Sort out stuff around `timeout-control'.
...
1. The contract in the docs was wrong.
2. The docs used `#f' where the code was expecting 'disable, so made it
accept both.
3. Don't recommend disabling the timer -- I had a case where the
connection was left for more than a day as a result. (Probably
because there was a message after the receipt email.)
2012-01-23 17:06:19 -05:00
Matthew Flatt
01dce00271
racket/gui: correct some casts in GUI bindings
2012-01-23 11:20:21 -07:00
Matthew Flatt
877d528ed3
improve docs for `cast' with warnings about potential bugs
2012-01-23 07:36:44 -07:00
Matthew Flatt
9d48858d53
try to fix Win64 installer: "Program Files (x86)" => "Program Files"
2012-01-21 08:10:38 -07:00
Mike Sperber
f02ec48e16
Export `read' in DMdA languages.
2012-01-21 15:43:52 +01:00
Matthias Felleisen
1d9d0401df
added rcontrol to key events and docs; robby please test
2012-01-20 16:39:13 -05:00
Neil Toronto
2465b87d84
Coolified clock-icon, added stopwatch-icon
...
Updated Performance Report toolbar icon
Updated FrTime loading icon
2012-01-20 13:16:42 -07:00
Neil Toronto
07500b27f6
Fixed error in flomap gradient calculation (borders were always getting 0.0, causing erroneous lighting)
...
Inset rendered deep-flomaps by 1px to harden against future border issues
Adjusted scatter-simulating blur (finally rid of edge sparklies!)
2012-01-20 12:39:23 -07:00
Neil Toronto
f1add6929b
Added portable hash-quote-icon, updated and recolored macro stepper toolbar icon
...
Closes PR 12422
Please merge into release
2012-01-20 12:29:52 -07:00
Neil Toronto
1b0db97919
Too many changes to cherry-pick for release
...
This reverts commit b8e3e8a04b
.
2012-01-20 11:52:17 -07:00
Eli Barzilay
2a1464b49e
Move the dmg build to weatherwax (which can now deal with it. )
...
Also, remove attempt for a smart use of `fmt' -- the problem is that now
"$platform" is not set, so the conditional didn't do anything. It would
be easy to get a conditional using `uname', but better to drop the whole
thing.
2012-01-20 11:40:11 -05:00
Neil Toronto
b8e3e8a04b
Fixed error in flomap gradient calculation (borders were always getting 0.0, causing erroneous lighting)
...
Inset rendered deep-flomaps by 1px to harden against future border issues
Adjusted scatter-simulating blur (finally rid of edge sparklies!)
Added portable hash-quote-icon, stopwatch-icon
Vertical toolbar macro stepper icon now discernable
Updated Performance Report toolbar icon
Updated FrTime loading icon
Closes PR 12422
Please merge into release
2012-01-19 21:33:22 -07:00
Matthew Flatt
484803a896
gtk: fix problem wth window freeze & thaw
...
Closes PR 12496
Merge to 5.2.1
2012-01-19 16:20:45 -07:00
Matthias Felleisen
2a34cbfb85
re-added rshift to KEYEVTS, no clue how they got lost; Closes PR12500; please merge into 5.2.1
2012-01-19 17:59:43 -05:00
Matthew Flatt
481e061440
adjust `raco ctool --c-mods' and related to work with places
...
That is, the generated declare_modules() function registers the
module-declaration code so that it is run in any new place, too.
Merge to 5.2.1
2012-01-19 13:14:02 -07:00
Matthew Flatt
c723aeeb6a
fix position counting in `read-byte'
...
Merge to 5.2.1
2012-01-19 13:14:02 -07:00
Matthew Flatt
6c4cd0e9c2
fix raco ctool --c-mods' for
racket'
...
Merge to 5.2.1
2012-01-19 13:14:02 -07:00
Matthew Flatt
350d0b1edf
fix `raco make -j'
...
Closes PR 12491
Merge to 5.2.1
2012-01-19 13:14:02 -07:00
Matthew Flatt
6b6d281dee
document raco make' flags; add
--disable-constant' flag
2012-01-19 13:14:02 -07:00
Matthew Flatt
eb0cbcb3c4
sort out for-require' vs. for-
load' paths to a sandbox evaluator
...
The two became tangled in commit f7c16fc8
, and then 952ae06105
adjusted the tangling in a way that broke code. This commit
further adjusts tangling in a way that hopefully causes fewer
compatibility problems, but it also splits inputs to
`make-evaluator' so that a programmer can choose more explicitly.
2012-01-19 13:14:02 -07:00
Robby Findler
c9e4c88b7c
fix a bug in check syntax where it would attempt to (as part of the
...
coloring for blame assignment in check syntax) try to color
the right-hand side of a binding that actually comes from
a lambda-bound variable (and thus crash for not finding the
right-hand side)
2012-01-19 13:20:41 -06:00
Eli Barzilay
fb46b12836
Adjust the installer tests to the removal of libfit.
2012-01-19 13:59:47 -05:00
Robby Findler
3b2cf3f7a4
make the tooltips for the drracket toolbar buttons go away when they
...
get any events (this shouldn't be necessary unless one gets lost
somehow, but apparently that can happen)
2012-01-19 12:14:35 -06:00
Matthias Felleisen
0a5a949d1a
fixed an old wheel-event bug and added version number to history, please propagate
2012-01-19 11:39:05 -05:00
Robby Findler
a41dbf5d7f
added a clarification to the freeze docs
2012-01-18 20:04:30 -06:00
John Clements
481bc2f00f
make sure initial update goes on eventspace thread
2012-01-18 14:51:42 -08:00
John Clements
758523bdf3
put status bar update on stepper frame eventspace
2012-01-18 14:51:42 -08:00
Jon Rafkind
276cb4150d
[honu] replace = with in
2012-01-18 14:15:54 -07:00
Jon Rafkind
ae3ff467b0
[honu] already have integer, dont need int
2012-01-18 14:10:48 -07:00
Jon Rafkind
1b81ed5d8d
[honu] add != operator. provide some other basic functions
2012-01-18 12:34:51 -07:00
Jon Rafkind
9d11622968
[honu] add a filtering clause to list comprehensions
2012-01-18 12:34:51 -07:00
Jon Rafkind
6552d3f2cd
[honu] allow classes to accept 0 constructor parameters. add 'to' as a binary operator that creates a list of numbers
2012-01-18 12:34:51 -07:00
Matthew Flatt
a823986281
doc clarifications on `frtime'
2012-01-18 10:10:28 -07:00
Matthew Flatt
47c2fb8ba9
doc clarification on SRFI-1 exports
2012-01-18 09:50:32 -07:00
Eli Barzilay
f184222e2b
Add a syntax for making lines in the status text linked.
2012-01-18 07:22:09 -05:00
Eli Barzilay
cf35df172a
Make the bg-log files available on the web page too.
2012-01-18 07:17:48 -05:00
Eli Barzilay
cfa5938092
Better solution to using "$platform" -- do that only in DO_BUILD.
2012-01-18 07:17:48 -05:00
Matthew Flatt
b51b36869e
win64: fix `raco dist'
...
Merge to 5.2.1
2012-01-17 21:07:07 -07:00
Eli Barzilay
cabd6fabc7
Remove robots meta tags.
...
Indexing index pages is harmless, and also "nofollow" is appropriate for
public lists with lots of junk, advertising etc. We have nearly zero
spam, so following links in posts is fine.
2012-01-17 22:30:48 -05:00
Robby Findler
71595a55e6
adjust the names of the dot/neato binaries to be platform-specific
2012-01-17 12:42:42 -06:00
Matthew Flatt
ddd246232e
fix JIT-generated code in case of arity mismatch
...
The generated code was checking arity after potentially copying
arguments to the start of the runstack (i.e., if the arguments
were not already there). If too few arguments are provided, then
the copy might access past the end of the given array.
The redundant arity check removed in commit f7c506471b
had previously masked this problem. (Or the check wasn't redundant
in that sense, but it's better this way.)
Merge to 5.2.1
2012-01-17 07:33:58 -07:00
Matthew Flatt
2c88b12913
add some missing acks
...
Merge to 5.2.1
2012-01-17 07:33:58 -07:00
Eli Barzilay
52382442f0
Have a default "" platform so kauai can still be used to make the dmgs.
...
(This is just a hack, $platform should really be used only in the build
functions instead of at the toplevel.)
2012-01-17 09:27:06 -05:00
Neil Toronto
695583e90b
Added clock icon
...
Fixed faulty bilinear interpolation in shadow intersection, removed blurring hack
Fixed caching bug (for some reason, generate-temporaries didn't create a unique symbol - note, not *identifier*; used gensym instead)
Please merge into release
2012-01-16 22:30:52 -07:00
Neil Toronto
aa0851bc45
Exposed simple rendering API (can at least render simple icons given a pict now)
...
Please merge into release
2012-01-16 16:39:18 -07:00
Neil Toronto
f45843d58e
Added docs for images/compile-time
...
Added `is-a?' and `list?' tests to `compiled-bitmap' and `compiled-bitmap-list'
Please merge into release
2012-01-16 16:39:17 -07:00
Ryan Culpepper
f711f3385c
macro-stepper: fix relative require bug (set current-directory)
...
related to PR 12486
2012-01-16 14:55:43 -07:00
Matthias Felleisen
f173b9977c
fixing silly mistake, plus test; please merge
2012-01-16 16:21:25 -05:00
Matthias Felleisen
54c1f496e8
this creates a repeatable cored dump in drracket
2012-01-16 15:41:48 -05:00
Neil Toronto
ea68677d2f
Icon fixes:
...
Split images/icons/misc into images/icons/symbol and images/icons/misc
Updated tests
Fixed Gtk assertion failure in Macro Stepper (came from "about" dialog being created before the stepper window was shown; fixed by creating it on demand)
Changed Stepper similarly (though there was no assertion failure)
Put a quote in the Macro Stepper logo
Portable recycle-icon
Removed recycle unicode from the docs (was causing PDF build to fail)
Internal API fixes
Please merge into release
2012-01-16 12:45:48 -07:00
Matthias Felleisen
10f8222bf4
added documentation for pad-handler facility
2012-01-16 12:41:15 -05:00
Matthias Felleisen
f9233bce47
added pad-handler facility
2012-01-16 12:41:13 -05:00
Robby Findler
aaeb3db534
clear the "what was the last language?" state when moving out of the module language
...
so that things get initialized properly when moving back into the module language.
closes PR 12493
2012-01-16 09:09:58 -06:00
Robby Findler
5d946329ca
adjust two 2htdp test files so they don't run in drdr (they are interactive)
...
please merge to the release branch
2012-01-16 08:56:59 -06:00
Eli Barzilay
7fa08391a0
XREPL fixes
...
* Avoid using readline on windows (segfaults, and anyway mostly not
useful)
* Don't try to read init file if it doesn't exist.
* Improve asking questions in the `install!' command.
2012-01-16 08:18:30 -05:00
Danny Yoo
a1da6af22d
correction for performance.scrbl
2012-01-16 08:18:30 -05:00
daniel watson
75d5b42640
Guide proofread
...
* fix content of REPL output in quote example
* fix indentation on tail-recursive my-map code
2012-01-16 08:18:30 -05:00
Eli Barzilay
252221246d
Debian squeeze is back, and a typo.
...
(The lenny build will not be back.)
2012-01-16 08:18:30 -05:00
Neil Toronto
f66aab8057
Removed the animated GIF of the running stickman :(
...
Please merge into release
2012-01-15 22:19:55 -07:00
Neil Toronto
4a09c04581
Lightened icon outlines
...
Added lambda icon, foot icon, search forward/back icons
Doc fixes
Stepper: icons on buttons, logo and about dialog
Macro stepper: icons on buttons, logo and about dialog
Please merge into release
2012-01-15 22:19:55 -07:00
Robby Findler
b068d9583c
Remove accidentally pushed commits
...
For the curious, this was an attempt to change the way context
matching works. Currently, when matching a pattern, if 'hole' is
encountered, the match succeeds and the result just includes the term
at that point. This means that when matching (in-hole p1 p2), p1
generally returns multiple results and then those results are thinned
out by matching p2 against the thing actually at the hole.
Instead, one could pass along the function that does the matching and
then, when matching a hole pattern, it could decide right at that
point whether or not the match works.
This seems like it would be a win overall, but it interferes with
caching. Specifically, most reduction systems have lots of rules
that all begin
(--> (in-hole E ...) ...)
and, in the strategy first described above, that matching can be cached.
But in the second, it cannot. Overall, this turns out to be a slight
lose in the current version of Redex. Maybe if other things change, however,
this tradeoff will change.
Revert "IN PROGRESS: more context speedup attempt"
This reverts commit 0134b8753d
.
Revert "IN PROGRESS: a possible speed up attempt; match the thing in the hole before returning the context matches instead of afterwards"
This reverts commit 11059e2b5c
.
2012-01-15 21:02:48 -06:00
Eli Barzilay
4b17fe731a
Disable some builds.
...
* The darwin build on kauai (the machine is no longer maintained, and
has no cairo installed).
* The two debian builds (also no cairo).
* Remove comment from osx64 build (which is now done on Robby's
machine).
2012-01-15 20:48:10 -05:00
Eli Barzilay
4d04c04aa2
New build request functionality.
2012-01-15 20:48:10 -05:00
Eli Barzilay
952ae06105
Minor bug fix: using a string as a path should be used as a path.
...
Previously, they were treated as require specs, which was likely bogus.
(This is unrelated to the discussion about the exists problem.)
2012-01-15 20:48:10 -05:00
Eli Barzilay
e8356b3b91
Tiny typo.
2012-01-15 20:48:10 -05:00
Eli Barzilay
3bdf05d7e1
Minor improvements, mainly to the header/status suffixes.
2012-01-15 20:48:10 -05:00
Matthew Flatt
96dea8c732
fix typo (patch from Gustavo Massaccesi)
...
Closes PR 12489
Merge to 5.2.1
2012-01-15 17:05:11 -07:00
Matthew Flatt
6f528c7a17
fix and generalize errortrace detection of always-ok functions
2012-01-15 17:05:11 -07:00
Robby Findler
262931bb80
adjust typesetting so the ellipsis uses the default style, not
...
literal-style (unless an atomic-rewriter is in place)
2012-01-14 21:32:16 -06:00
Neil Toronto
b78ee4258c
Finished images/icons contracts and docs
...
Please merge into release
2012-01-14 14:20:28 -07:00
Robby Findler
b3c450ffc9
add 'side-condition' to define-judgment-form (it does not have an implicit
...
unquote like the other side-condition's do, but it is still useful
for typesetting purposes)
2012-01-14 14:52:07 -06:00
Neil Toronto
599dda4745
Removed timing examples (not reliable)
...
Please merge into release
2012-01-13 22:00:06 -09:00
Neil Toronto
15f48a7b03
Documented logos
...
Please merge into release
2012-01-13 23:51:31 -07:00
Neil Toronto
0c5ea11056
Contracts for almost all icon-producing functions
...
More documentation (Now contains an animated GIF! We have achieved Web 1.0!)
Fixed stop sign double-rendering bug
Compiled logos size 256 (no rendering time for sizes < 256; intended size almost instantaneous)
Please merge into release
2012-01-13 22:49:27 -07:00
Sam Tobin-Hochstadt
b75e080aee
Document unicode case->.
2012-01-13 14:40:48 -05:00
Sam Tobin-Hochstadt
e3609cdb32
Refactor and improve fuzzy searching in completion.
2012-01-13 14:39:05 -05:00
Vincent St-Amour
ca11c2e4fa
Add an alternate name for case->.
2012-01-13 11:28:36 -05:00
Vincent St-Amour
87a53159dd
Union types instead of clobbering them in the type table.
...
This fixes a bug where only the last branch of a case-> type would get stored.
2012-01-13 11:28:36 -05:00
Matthew Flatt
60c418b20e
fix `find-files' to convert an initial string into a path
...
Merge to 5.2.1
2012-01-13 07:15:15 -07:00
Neil Toronto
4d1cedc913
Removed accidental dependence of images/icons/stickman on racket/gui
...
Began scribble docs
Added `compiled-bitmap' and `compiled-bitmap-list', which embed bitmaps
computed at expansion time into compiled files (safe 3D values)
Please merge into release
2012-01-12 21:48:41 -07:00
Neil Toronto
5dcfd76927
Text icon fix - works better when trimmed
...
Recycle icon (text icon of string "\u267b")
Removed debug output from plt-logo
Slightly faster bitmap <-> flomap conversion (uses bitmap%'s premultiply-alpha)
Please merge into release
2012-01-12 11:22:01 -07:00
Neil Toronto
436a1dcb71
Use running stickman in lower-right "run" indicator
...
Please merge into release
2012-01-12 11:22:01 -07:00
Neil Toronto
2313b528c4
Added standing and running stickman icons
...
Optimize rendering by looping only over the smallest rectangle with nonzero alpha
Please merge into release
2012-01-12 11:22:01 -07:00
Matthew Flatt
a1fd742ed0
change Scribble xref formats, so that HTML info works for Latex
...
There's no particular reason that any one format will have all
the information that other formats need, but it conveniently works
for now that HTML info can subsume Latex info.
2012-01-11 16:39:52 -07:00
Robby Findler
0134b8753d
IN PROGRESS: more context speedup attempt
2012-01-11 13:16:47 -06:00
Robby Findler
11059e2b5c
IN PROGRESS: a possible speed up attempt; match the thing in the hole before returning the context matches instead of afterwards
2012-01-11 13:16:46 -06:00
Robby Findler
e067a4415a
fix call to message box to remove incorrect style flag
...
merge to the release branch, please
2012-01-11 13:16:46 -06:00
Robby Findler
5e80753b48
relax the contract to match what the server actually needs
...
closes PR 12476
merge to the release branch, please
2012-01-11 13:16:46 -06:00
Robby Findler
9aecc08579
tweak the printing of syntax errors again so the "in:" part is in tt font
...
merge to the release branch, please
2012-01-11 13:16:46 -06:00
Robby Findler
d93818dd61
Change 'bitmap' to use collection-file-path (with its new #:fail) argument,
...
so that it picks up linked collections.
closes 12424
merge to the release branch, please
2012-01-11 13:16:46 -06:00
Matthew Flatt
8c092f093b
clean up and generalize optimizer support for omittable primitives
...
For example, the optimizer knew to drop `(cons x y)' if the result
is unused, but not `(pair? x)'.
2012-01-11 06:58:39 -07:00
Matthew Flatt
7850a26dfe
fix bytecode optimizer bugs
...
Certain unsafe operations were allowed to propagate across a
`lambda' boundary (where space safety is known not to be an issue),
which could lead to duplicate uses of a "once used" variable if
the relevant `lambda' is inlined.
Furthermore, `lambda' boundary crossing wasn't detected in the case
that the operation to propagate was propagated through an intermediate
variable without a `lambda' crossing.
Merge to 5.2.1
2012-01-11 05:30:11 -07:00
Matthew Flatt
ff41a896bc
add ffi/com',
ffi/unsafe/com'
2012-01-10 18:35:32 -07:00
Neil Toronto
5736695bae
Better debugger icon bomb
2012-01-10 15:21:49 -07:00
Neil Toronto
daf3ed55ba
Rewrote flomaps and rendering in Typed Racket for speed and safety
2012-01-10 13:30:32 -07:00
Neil Toronto
be4bfdff4c
Contract fix
2012-01-10 13:30:32 -07:00
Neil Toronto
6ec78137e3
Caching with weak boxes, cleanup, planet download icon
2012-01-10 13:30:32 -07:00
Robby Findler
f1a7864c63
fix bug in lw struct generation
2012-01-09 20:38:51 -06:00
Matthias Felleisen
d9176df246
replaced gamepad image with higher resolution version
2012-01-09 19:13:52 -05:00
Matthew Flatt
d56d28f0b6
protect `raco setup' from files in linked collection dirs
...
Patch by Jay McCarthy.
Merge to 5.2.1
2012-01-09 16:55:39 -07:00
Matthew Flatt
8b54dc43c8
fix problem printing symbols with unicode chars
...
Specifically, special-casing letters (such as sigma) were not
handled correctly.
Merge to 5.2.1
2012-01-09 16:55:39 -07:00
Matthew Flatt
7b4fd9b275
make draw-mem test more reliable
2012-01-09 16:08:28 -07:00
Matthew Flatt
23010fc495
add #:fail' option to
collection-file-path' and `collection-path'
...
Merge a variant to 5.2.1
2012-01-09 15:59:05 -07:00
Matthew Flatt
3b87b73555
make scriblib/figure' work with
scribble/jfp'
2012-01-09 13:29:56 -07:00
Matthew Flatt
3d76aa5c32
fix I/O race in test
2012-01-09 13:29:56 -07:00
Robby Findler
6cacd57ebc
add check-redundancy, a parameter that causes redex to print some
...
debugging information about ambiguous matching (when the ambiguity
matters)
2012-01-09 12:57:24 -06:00
Robby Findler
a12df9cea6
redex: misc cleanups:
...
- remove cache instrumentation code
- make hole->not-hole parsimonous
- change the cache size back to 63
2012-01-09 12:57:23 -06:00
Robby Findler
0c6e0a11cf
removed ambiguity from the cont-mark-transform's "a" non-terminal
...
Redex no longer has extra checks to eliminate redundant matches
(as those checks are prohibitively expensive for the lambdajs model)
so redundancy in the grammar can, when combined with context
decomposition or named patterns, lead to significant slowdowns
2012-01-09 12:57:22 -06:00
Robby Findler
4fab7f76af
tweak the compiled representation of lw structs so they take less space
...
this shrinks the size of redex/examples/r6rs/r6rs.rkt's .zo file by about 25%
2012-01-09 12:57:21 -06:00
Robby Findler
2afda360d0
redex: adjust the test suites to clean up a few things; also make the
...
hole and the-not-hole equal? to each other (like they used to be)
2012-01-09 12:57:20 -06:00
Robby Findler
93c21e34de
added a cycle check to define-language so grammars like this one:
...
(define-language L
(e e))
are rejected as syntax errors
2012-01-09 12:57:19 -06:00
Jon Rafkind
ec02c2f83a
[honu] refactor dot into syntax classes
2012-01-09 10:38:12 -07:00
Jon Rafkind
13abcf91fb
[honu] make dot a fixture so that assignment can work: v.x := 5
2012-01-09 10:38:11 -07:00
Jon Rafkind
c9788909ea
[honu] fix for literal sets generated in a macro. replace . with -> for classes in the linq example
2012-01-09 10:38:11 -07:00
Jon Rafkind
8bb8ac5859
[honu] provide #%top and #%datum for standard honu
2012-01-09 10:38:11 -07:00
Jon Rafkind
dc16449dd5
[honu] change to honu extension
2012-01-09 10:38:11 -07:00
Eli Barzilay
d539792895
* Fix showing branch in non-master builds.
...
* Show error in last status, so it's visible later.
* `show' can get a `-s' flag too.
* Remove unused `append_dots'.
2012-01-09 07:36:37 -05:00
Eli Barzilay
536f89926f
ntoronto is responsible for images.
2012-01-09 07:36:37 -05:00
Ryan Culpepper
f9339d6903
restore some of deleted unstable docs into web-server-internal docs
2012-01-08 23:25:53 -07:00
Ryan Culpepper
dba35c3116
db: added nested transactions
2012-01-08 23:25:53 -07:00
Ryan Culpepper
62e117bfe6
added tests for srfi/13 from SXML codebase
2012-01-08 23:25:53 -07:00
Eli Barzilay
62213b9f28
Allow cross-site use of the status script.
...
Also a random header change, and adjust cache frequency.
2012-01-08 21:59:04 -05:00
Eli Barzilay
b24e0d52ea
Another typo.
2012-01-08 15:23:34 -05:00
Matthew Flatt
7153fbd4d5
net/mime: allow any subtype, exns as exn:fail subtypes; doc fixes
2012-01-08 12:14:51 -07:00
Robby Findler
fbed2d5af7
remove (broken) attempt at optimization Jay suggested
...
also clean up some test cases that I wasn't sure about earlier
2012-01-08 12:13:37 -06:00
Robby Findler
0459e4fbcd
redex: when there are no duplicate names in a pattern, don't do the
...
same-name-same-bindings check
this seems to speed up the r6rs test suite by about 12% and the
lambdajs benchmark by about 25%
2012-01-08 12:13:36 -06:00
Robby Findler
ddecad0575
redex: adjust the way metafunction tracing is printed so you
...
don't see (list 'lambda (list 'x) 'x) but instead (lambda (x) x)
2012-01-08 12:13:36 -06:00
Eli Barzilay
86579b4f15
Yet more tweaks and fixes.
2012-01-08 12:58:50 -05:00
Robby Findler
95ac3c86f7
fixed bug in the way aug:keymap extracts the names
...
now it should return only the canonical names of the keybindings
(instead of potentially returning both the canonical and
non-canonicalized names)
2012-01-08 07:07:56 -06:00
Robby Findler
3bc1e8f3c0
Change the keybindings dialog to be a frame, and make it react
...
to changes in focus
closes PR 12474
2012-01-08 06:55:50 -06:00
Eli Barzilay
e0275b95ba
Drop Infogroep mirror.
...
(Keeps timing out.)
2012-01-08 03:36:50 -05:00
Eli Barzilay
107615f1fe
Some more improvements and fixes.
2012-01-08 03:36:50 -05:00
Matthew Flatt
9389947f6f
clarify docs on is-enabled?' and
is-shown?'
2012-01-07 21:17:12 -07:00
Matthew Flatt
fd019a3478
add on-subwindow-focus' to
window<%>'
...
relevant to PR 12474
2012-01-07 21:17:12 -07:00
Matthew Flatt
9ff30672fc
add deprecation note for the ActiveX part of MysterX
2012-01-07 21:17:12 -07:00
Robby Findler
78ac4d3d27
fix syntax error message display for new way that drracket's ports handle printing of snips
2012-01-07 21:04:26 -06:00
Ryan Culpepper
ca3584452e
update dist specs for icons fix, new images collection
2012-01-07 17:55:54 -07:00
Neil Toronto
89a5afa96d
Purged last SVG file
2012-01-07 16:32:56 -07:00
Neil Toronto
1a00d2d51f
Last icon rewrite!
...
This removes all the SVG sources, parsing, and marked-layer colorizing, the PNG binaries in the distribution, and the dependence of DrRacket on `slideshow/pict'.
Icons are now produced by drawing on a bitmap-dc%, inferring or building a z map, choosing a material, and sending these to a two-pass ray tracer. This is for the most part hidden behind an API consisting of functions from colors and optional sizes and materials to `bitmap%'s.
Contracts and documentation forthcoming.
2012-01-07 16:18:11 -07:00
Philippe Meunier
67beec3ae9
Updates French translation file and fixes small mistake in English one.
2012-01-08 04:25:16 +09:00
Eli Barzilay
465a8da995
Add status script.
2012-01-07 09:35:15 -05:00
Eli Barzilay
efc5a05049
Delete build directory at the start of a dispatched build.
...
Previously, if a dispatched build failed the files from the previous
build would still get copied. This was an intentional feature, since
only the compiled binaries of these builds are used, and usually these
would work fine (with the zo files that were built on the main machine).
Now, the build directory is deleted when starting, which means that any
failure in a remote build means that the whole build will fail. This
turns out to be better since when there are problems, the previous
behavior could be very confusing. In addition, the racket setup itself
rarely fails, so this won't make a difference.
2012-01-07 09:35:14 -05:00
Eli Barzilay
ecf42d077b
More build improvements.
...
* Use `ssh' to copy the repo tgz, so it can also create the build
directory in a single connection.
* Use "racket" in the build materials directory name (since it's used in
random machines).
* Use `chcon' to make files accessible to the web server under selinux.
* "YYYY-MM-DD HH:MM" in log time strings (leave the one on the web page
as is).
* Uniform machine+platform labels in headers on dispatched builds. The
main build machine doesn't have them.
2012-01-07 09:35:14 -05:00
Eli Barzilay
e0dc712002
Add a status file.
...
On dispatched builds the status is printed in their own logs in a
greppable way, and these lines are removed when these logs are displayed
as part of the main log.
2012-01-07 09:35:14 -05:00
Eli Barzilay
62abe242f2
Better tmp filenames, since it's in a "racket" directory.
2012-01-07 09:35:14 -05:00
Eli Barzilay
6616d53831
More robust use of `$htmloutput'.
2012-01-07 09:35:14 -05:00
Eli Barzilay
aa0c90a2a0
Cleanup using `$tmpdir', and set it to a subdirectory of /tmp.
2012-01-07 09:35:14 -05:00
Eli Barzilay
13db1c1a08
Simplify `port-success-choose': no need for the first argument with the
...
full match, since it can be taken from the `ms' list. (Also, some minor
reformatting.)
2012-01-07 09:35:14 -05:00
Robby Findler
e0a72fab7d
did some refactoring to prepare for making the keybindings dialog
...
be a frame and react to changes in focus of the main drracket window.
didn't finish because there does not seem to be an equivalent to
on-subwindow-focus that lets the frame detect when one of its
children gets the focus.
related to PR 12474
2012-01-07 07:11:59 -06:00
Robby Findler
950d165133
fix the not-a-language message so that the styles in the REPL are right
2012-01-06 20:59:34 -06:00
Vincent St-Amour
631c145add
Change Performance Report popups to frames instead of dialogs.
...
This fixes the lack of close button on mac.
2012-01-06 15:59:23 -05:00
Vincent St-Amour
076648fecc
Improve documentation the TR numeric tower.
2012-01-06 13:19:14 -05:00
Vincent St-Amour
f50008280b
Export Negative-Fixnum.
2012-01-06 13:19:14 -05:00
Vincent St-Amour
4556ea2992
Fix log's type for Real inputs.
2012-01-06 13:19:14 -05:00
Matthew Flatt
c1ceebb92a
fix cfg-parser' to more closely match
parser'
2012-01-06 10:43:10 +01:00
Robby Findler
20bcf80e8b
add a check to make sure we don't try to select a teachpack when the
...
user clicks on empty space
closes PR 12472
2012-01-05 23:04:07 -06:00
Jay McCarthy
061007f30f
Fixing last dumb mistake?
2012-01-05 14:57:08 -07:00
Jay McCarthy
0bf92dbc29
Forgot to update props for GC2
2012-01-05 13:23:12 -07:00
Jay McCarthy
c2355caef6
Finalizing initial pass on GC2
...
It was not a problem with the particular collector. All allocation
sites need to update the gc-roots-key with their static information.
2012-01-04 19:55:24 -07:00
Jay McCarthy
55e1df1445
See last commit
2012-01-04 19:55:24 -07:00
Jay McCarthy
caf83b911b
Initial pass on adding manual closure management
...
There are still five errors, but they seem to be errors in the sample
collector. But I need to find out.
2012-01-04 19:55:24 -07:00
Jay McCarthy
f80292b4cf
Converting mutators
2012-01-04 19:55:24 -07:00
Jay McCarthy
e4755a5ffc
New GC code
2012-01-04 19:55:24 -07:00
Robby Findler
7fb3d5c395
improve the red highlighting in drracket so that it picks
...
the first thing in the stack that's in the definitions window
(instead of just the first thing in the stack period)
2012-01-04 10:59:42 -06:00
Jay McCarthy
ef1278d6e1
Adding radio and checkbox groups to formlets
2012-01-03 15:05:37 -07:00
Jay McCarthy
4271fe4231
Improve formlet docs a little
...
Clarify that the formlet position is any expression.
2012-01-03 15:05:37 -07:00
Jay McCarthy
022ce2d8d7
Fixing PR12443
...
There is a big comment in thread.rkt that explains the problem and the
"fix". I think something better could and should be done, but I don't
know what it is.
2012-01-03 15:05:37 -07:00
Robby Findler
160fcacad6
redex: fix bug introduced in recent optimization attempts
2012-01-02 22:21:21 -06:00
Robby Findler
83758881c3
Don't attempt to drop duplicates in the non-terminal case
...
This speeds up the lambdajs model considerably because the computation
to determine duplicates is expensive and no duplicates are really
ever dropped (and, in general, I think that duplicates will only
be dropped when the grammar is ambiguous; so maybe a better thing
is to just rewrite the grammar when that happens)
2012-01-02 10:08:34 -06:00
Robby Findler
6bf42855b8
adjust plug to be parsimonious and actually shortcircuit
...
when one hole has been found
This improves the lambdajs model example's running time, presumably
because the hole is generally found near the "beginning" of the
term
2012-01-02 10:08:33 -06:00
Robby Findler
5dcbedc768
redex: adjust the caching strategy
...
Instead of using a hash-table, use the equal-hash-code directly;
this lets me evict entries only when they clobber each other,
and generally keep good cache utilization.
Also, cut the cache size by a factor of 5 while still having a
slight performance improvement on the r6rs test suite benchmark.
On that same benchmark, there are 1714812 misses in the cache, but
only 3485 times is an entry in the cache clobbered
2012-01-02 10:08:31 -06:00
Robby Findler
a6a01fd7b8
redex: fix arity-1 cache key computation
2012-01-02 10:08:31 -06:00
Robby Findler
a7a70cbca9
redex: improved the definitely-not-list definitely-not-non-list
...
computation to be more accurate
2012-01-02 10:08:30 -06:00
Robby Findler
fe1df742b3
Tried to improve redex by detecting when a pattern does not
...
have any holes, hide-holes, or names and, in that case, just
combining booleans instead of building of mtch structs.
This does seem to work on a simple benchmark. The code below
gets about 6x faster. But on the r6rs test suite, there is
no substantial change (possibly because the caching obviates
this optimization?)
lang racket/base
(require redex/reduction-semantics)
(caching-enabled? #f)
(define-language L (e (+ e e) number))
(define t
(let loop ([n 100])
(cond
[(zero? n) 1]
[else `(+ 11 ,(loop (- n 1)))])))
(define f (redex-match L e))
(time (for ([x (in-range 1000)]) (f t)))
2012-01-02 10:08:29 -06:00
Robby Findler
6f97a3a783
disable attempt at Jay's optimization
...
When I enabled this, I don't see any speedup, on the R6RS test suite
benchmark (I see minor slowdown). Here are the numbers I get, on my
laptop:
nt cache: 35537 msec
neither: 844933 msec
Jay's idea: 875306 msec
And with both on, I see a similar, minor slowdown (as compared to the
version with the nt cache).
The main difference seems to be that I'm getting about 6 "hits" per
test case on the nt-match structs (that is, I avoid work by finding an
nt-match struct) and I'm getting about 8,800 hits in the cache per
test case.
2012-01-02 10:08:29 -06:00
Robby Findler
424a535cf4
first attempt at Jay's optimization for redex
...
(only did enough to get the r6rs tests running)
2012-01-02 10:08:28 -06:00
Matthew Flatt
2b2c44774f
fix scheme_basic_env() reset behavior
...
Also, fix test to that it DrDr will run it.
2012-01-02 15:03:49 +01:00
Matthew Flatt
03808d245c
fix typo
...
reported by ozzloy
2011-12-31 17:03:50 -07:00
Eli Barzilay
3718600125
2011 -> 2012
2011-12-31 15:16:59 -05:00
Eli Barzilay
4d5ba08653
lambda' ->
λ'
2011-12-31 14:24:41 -05:00
Matthias Felleisen
32b7a1b418
created pad=, exported it, documented game pad minimally
2011-12-31 11:28:11 -05:00
Matthias Felleisen
b0de0e126e
an interactive test for various game pad configs
2011-12-31 11:28:11 -05:00
Matthias Felleisen
5867589993
initial stage of game pad, need to turn play file into test
2011-12-31 11:28:10 -05:00
Matthias Felleisen
c221131254
scheme/racket cleanup
2011-12-31 11:28:10 -05:00
Matthew Flatt
fb46daafa0
fix typo
...
Reported by J. Ian Johnson
2011-12-31 06:32:13 -07:00
Matthew Flatt
2ebff14e3e
fix typo
2011-12-31 06:32:13 -07:00
Robby Findler
f4b4e00c55
added bitmap/file
...
closes PR 12466
2011-12-29 22:18:07 -06:00
Robby Findler
4c86e2fe86
redex: memoize only the non-terminal patterns
...
remarkably, this seems to cut the time for running
the r6rs test suite in about 1/2
2011-12-29 11:01:21 -06:00
Robby Findler
57f51cf5c8
redex: use predicate/c instead of (-> any/c boolean?)
...
and a few other, minor changes
2011-12-29 10:58:26 -06:00
Robby Findler
d6ce2b61bc
redex: inline lookup-binding
2011-12-29 10:32:02 -06:00
Robby Findler
9bcb86eb0c
redex: minor cleanup
2011-12-29 10:15:52 -06:00
Robby Findler
5b2d378a77
fixed a bug in recent Redex internal pattern rewrite
...
(discovered by the random testing done for the racket machine model)
2011-12-28 23:52:56 -06:00
Eli Barzilay
753fd77858
Minor typo.
...
Closes PR12463
2011-12-28 21:09:45 -05:00
Eli Barzilay
3fcd3c04d5
Minor typo in recent new regexp.
2011-12-28 21:07:25 -05:00
Eli Barzilay
064a914fb2
Complete set of mailman template files.
...
This covers all of the html files in mailman's template directory, and
we should have a consistent look for all pages. (Including archived
messages.) Also tweak the front page to have a link to the mailman
"listinfo" page with the complete list of the hosted mailing lists.
2011-12-28 21:07:25 -05:00
Eli Barzilay
1160e423e2
Add a timeout to the ftp poll.
...
This is because the ftp mirror tends to become unresponsive often, but
it takes a huge amount of time to actually get a tmeout.
2011-12-28 21:07:24 -05:00
Eli Barzilay
fa4c073b9e
Adjust meta/web' for changes in
scribble/html'.
...
Add a `resource/referrer' abstraction for referrers, on top of plain
resources. (When the referrer is `values', it just returns the plain
resource.) Also add `url-of' to replace `get-resource-path'.
2011-12-28 21:07:24 -05:00
Eli Barzilay
787f3151de
Make a `resource' struct so it is identifiable.
...
(Also, change a `define-struct' to a `struct'.)
2011-12-28 21:07:24 -05:00
Eli Barzilay
180651d04d
Remove the `referrer' argument from resources.
...
This turned out to be a bad idea. The thing is that some resources need
to be referred to in multiple ways -- for example, different texts in
links of different kinds, or using the URL directly in some cases. The
existence of `get-resource-path' is a witness for this problem, since it
was used for such cases -- this function is removed as well.
There's no point in trying to generalize this here: instead, go back to
a simpler system where a resource always returns its URL (with an
optional argument to get an absolute URL). When a `referrer'
functionality is needed, build it on top of that, in a place where it
makes more sense. (That is, in a specific code for generating content,
where there could be a decision that resources have plain links and also
a very short link for use in navbars.) Otherwise, it's usually simpler
to just define resources and referrers separately (as different
bindings, the latter uses the former).
2011-12-28 21:07:24 -05:00
Eli Barzilay
1cd8e6cbf3
Remove the referrer argument from copyfile' and
symlink', and remove
...
the unused `content-resource' (it is not necessary).
2011-12-28 21:07:24 -05:00
Eli Barzilay
c8c13e46bb
Switch delay's to
lazy's.
2011-12-28 21:07:24 -05:00
Eli Barzilay
ace5fdf1f3
Clarify a comment for future work; a bunch of new internal definition uses.
2011-12-28 21:07:24 -05:00
Eli Barzilay
8beba3caf9
Avoid bash regexps
...
Turns out that bash's regexps (using `=~') changed so that quoting them
matches a literal string, and it seems dangerous to rely on parsing
unquoted regexps. One way around this is to put the regexp in a
variable, but for the two simple uses that this script had, it's easy to
avoid regexps completely.
2011-12-28 21:07:24 -05:00
Matthew Flatt
00cd512e06
fix doc typo
2011-12-28 19:06:07 -06:00
Robby Findler
f1bacffbdc
Adjusted rewrite-side-condition/check-errs so that it normalizes the internal
...
redex patterns a bunch:
- repeats are turned into wrappers in sequences,
- names are all explicit,
- non-terminals are wrapped with `nt',
- cross patterns always have the hyphens in them.
- ellipses names are normalized (so there are no "hidden"
name equalities); this also means that repeat patterns
can have both a regular name and a mismatch name
Also, added a match-a-pattern helper macro that checks to make sure
that functions that process patterns don't miss any cases
2011-12-28 09:46:43 -06:00
Robby Findler
c9fcde258f
docs bug (as noted by Marijn on racket-dev)
2011-12-27 08:53:35 -06:00
Robby Findler
376ad1f52c
remove 'stupid-internal-definition' and Rackety
2011-12-27 08:53:32 -06:00
Jay McCarthy
a0475c5d90
Commit from Anthony West to tutorial
2011-12-26 14:43:49 -07:00
Jay McCarthy
9723e939b4
Merge branch 'master' of git.racket-lang.org:plt
2011-12-26 14:33:20 -07:00
Jay McCarthy
ae31b19168
Synchronizable events from Tom McNulty
2011-12-26 14:33:07 -07:00
Robby Findler
e02eb9c2c1
the variable most-recent-languages-hier-list-selection used
...
to be a hierarchical-list-item<%> object, but now it is
a list of language names (same information, different data)
and one place didn't get updated.
Closes PR 12462
2011-12-26 09:50:33 -06:00
Matthew Flatt
3a1df23be6
fix `text-outline' test to include a curve
2011-12-26 06:27:22 -06:00
Michael W
ae1ca5b91a
Bugfix: text-outline now handles curves correctly
2011-12-26 06:26:58 -06:00
Matthew Flatt
e12bf33f8d
'rshift and 'rcontrol don't interrupt keybindings
...
Closes PR 12461
2011-12-25 19:39:37 -06:00
Matthew Flatt
1c63784517
for record-dc%', record initial configuration after each
erase'
...
Closes PR 12460
2011-12-25 19:26:39 -06:00
Matthew Flatt
6c5c170565
racket/draw: add text-outline' to
dc-path%'
2011-12-25 18:20:39 -06:00
Robby Findler
9bef0204bb
fix the "Show Line Numbers" menu item so its label changes
...
when the preference changes
closes PR 12459
2011-12-25 13:39:14 -06:00
Robby Findler
188f868a28
Remove the position-location cache that check syntax used to maintain for
...
the purpose of drawing arrows.
The computation to fill in the cache seems to actually be pretty quick and
the work to clear the cache when it is out of date (via a call to on-change)
can be substantial on big files, so just not maintaining the cache seems better.
(there are 7254 arrows in drracket/private/unit.rkt, stored in an interval map,
and iterating over the interval-map in a for loop seems to be time consuming)
Also, DrRacket could get into a state where switching tabs would trigger a
call to on-change, which means that switching tabs would take a few seconds.
2011-12-23 16:15:26 -06:00
Matthew Flatt
5bfaea25fe
fix draw-polygon' on pairs instead of
point%'s
...
Closes PR 12455
2011-12-23 07:25:59 -06:00
Matthew Flatt
dccc76c9b0
slight modernization of the Slideshow tutorial
2011-12-21 16:30:24 -07:00
Matthew Flatt
d020c75202
remove libfit
2011-12-21 16:17:56 -07:00
Matthew Flatt
5a7f1b15ed
mysterx: fix private/mxmain hack to avoid cross-module optimization
...
Using the old extension protocol for MysterX --- plus the hack of
a dummy source module for a kind of portability --- really should
be replaced with an FFI-based approach to the MysterX DLL.
2011-12-21 14:00:26 -07:00
Eli Barzilay
ed8e3367d4
More fixes and improvements to `net/unihead'.
...
* In base64 encoding remove all newlines from the encoded result, avoids
getting an invalid result.
* In qp encoding:
- replace all spaces by underlines, not just the first (looks like a
typo in the previous code)
- encode "?"s and "_"s too, as required for this encoding
- remove soft newlines (again, avoid an invalid result)
* Use `regexp-replace*' to encode the parts between the lines. Besides
making the code simpler, it fixes a bug in the previous code where
multiple lines would each get encoded and the results concatenated
without the newlines or any other whitespace.
* When the string to be encoded is longer than 70 characters, split and
encode the sub-parts, then concatenate the encodings with a "\n "
separator. This is done as a poor attempt to follow the line length
limits specified in rfc2047, or more concretely, to avoid sendmail's
"!\n " splitting.
2011-12-21 14:46:13 -05:00
Eli Barzilay
188c65661d
Fixes and improvements to `net/unihead'.
...
* Use `re:non-ascii' to look for a non-ascii character => faster.
* Use either CR or LF for a newline, not just LF.
* Use `regexp-replace*' to encode the parts between the lines. Besides
making the code simpler, it fixes a bug in the previous code where
multiple lines would each get encoded and the results concatenated
without the newlines or any other whitespace.
2011-12-21 14:46:13 -05:00
Matthew Flatt
dcedd6e2be
fix for `scribble --text' and tables
2011-12-21 11:27:06 -07:00
Eli Barzilay
ddcab952f7
Quote sender, subject, and recipients strings if needed.
...
There might be existing uses of `net/sendmail' that did this quoting
since this code didn't do so. Such uses would continue to work fine,
since quoted strings would already be plain ASCII, so a second quoting
would leave it as is.
Note that the quoted strings are also used as command line arguments.
It seems that sendmail deals with these all fine when they appear as
command line arguments. This means that any valid email address format
can be used, not just "raw" emails. If there are some sendmails that
don't do this, then it would be better to add a `-t' flag to let
sendmail parse the text in the message.
One caveat (not a new one): since they're passed as is, it is possible
to use two emails in a single string, as in "a@b.com, c@d.com". This
could lead to obvious problems if someone uses "Bar, Foo <foo@bar.org>"
instead of "\"Bar, Foo\" <foo@bar.org>". (Using a `-t' to parse the
content won't help with that...) The only way to avoid this would be to
parse the emails and quote the name part if needed. But that's a much
hairier piece of code.
2011-12-20 16:13:13 -05:00
Eli Barzilay
f9d07d8400
Revise `net/sendmail'.
...
* Move the `X-Mailer' header to the top, so that the interesting headers
are all together at the bottom (the top gets littered by server
headers anyway).
* Use `subprocess' directly (`process*' wasn't really doing anything
more than that).
* Allow the sender to be `#f', leaving the header out. This makes all
sendmails that I've used use the username that is running the process.
* Just search for a sendmail program: don't barf on windows, so it can
be used in case there is a sendmail.exe executable there.
* Remove `no-mail-recipients' to make it in-line with other racket code
that doesn't raise super-specific exceptions.
* Use port counting instead of doing the counts manually, much simpler
code.
2011-12-20 15:53:40 -05:00
Sam Tobin-Hochstadt
81bb8a5ea3
Improve type of `in-range'.
2011-12-19 19:41:45 -05:00
Matthew Flatt
26c0ef99ef
fix executable distribution creation on Unix
2011-12-19 12:36:16 -07:00
Ryan Culpepper
d00b93cdff
remove references to non-existent unstable module
2011-12-18 14:35:41 -07:00
Ryan Culpepper
bb93132463
uniform position for unstable header in unstable docs
2011-12-18 14:23:21 -07:00
Ryan Culpepper
59beeb2e14
minor doc fixes
2011-12-18 13:57:50 -07:00
Ryan Culpepper
933965b2c2
moved unstable/prop-contract into racket/contract/base
2011-12-18 13:57:50 -07:00
Ryan Culpepper
e086d237cd
moved unstable/mutated-vars back to typed-racket
2011-12-18 13:57:49 -07:00
Ryan Culpepper
bf21e5b765
pruned unstable/bytes (moved some code back to web-server)
...
Corrected contracts from serializable? to printable/c.
2011-12-18 13:57:49 -07:00
Ryan Culpepper
dd061bdb17
removed unstable/net/url (moved code back to web-server)
2011-12-18 13:57:49 -07:00
Ryan Culpepper
7f345fe067
removed unstable/gui/language-level
2011-12-18 13:57:49 -07:00
Ryan Culpepper
6ac708a3da
pruned unstable/syntax
2011-12-18 13:57:49 -07:00
Ryan Culpepper
d803e55a5b
removed resolved commentary from unstable/struct
2011-12-18 13:57:49 -07:00
Ryan Culpepper
7ef56fbfc5
pruned unstable/string (moved some code back to web-server)
2011-12-18 13:57:48 -07:00
Ryan Culpepper
52aefa6e35
removed unstable/require
2011-12-18 13:57:48 -07:00
Ryan Culpepper
a4c6c7cfce
pruned unstable/port
2011-12-18 13:57:48 -07:00
Ryan Culpepper
fd2554d6fc
removed unstable/path (moved code back to single use in web-server)
2011-12-18 13:57:48 -07:00
Ryan Culpepper
bc7401d4d9
pruned unstable/function
2011-12-18 13:57:48 -07:00
Ryan Culpepper
e4e89b0bc9
removed unstable/exn (moved code to single use in web-server)
2011-12-18 13:57:44 -07:00
Ryan Culpepper
f21b871760
removed unstable/dirs
2011-12-18 13:57:22 -07:00
Ryan Culpepper
53fc18008c
removed unstable/dict (no uses)
2011-12-18 13:57:14 -07:00
Ryan Culpepper
4f9da1fd1c
pruned unstable/define
2011-12-18 13:56:00 -07:00
Ryan Culpepper
f99d79ef10
pruned unstable/contract
...
Removed unused code. Removed nat/c, pos/c as they correspond to
standard predicates.
2011-12-18 13:56:00 -07:00
Ryan Culpepper
b12d284055
fixed typo
2011-12-18 13:14:03 -07:00
Matthew Flatt
6bae0fc036
clarify `letrec' spec
2011-12-18 07:27:32 -07:00
Matthew Flatt
4fed17704a
avoid `racket/gui' tests that can't work on X
2011-12-18 07:27:32 -07:00
Matthew Flatt
1b4f13e674
scribble: avoid line-break between "#" and "<void>"
2011-12-18 07:27:32 -07:00
Matthew Flatt
4b1f746714
enable R5RS map' &
for-each' (i.e., mmap' and
mfor-each') inlining
2011-12-18 07:27:32 -07:00
Mike Sperber
a657b0217e
Fix for line3d's `create-viewport-matrix'.
...
Submitted by David Herrmann.
2011-12-18 14:37:34 +01:00
Mike Sperber
16a27c6391
For DMdA languages, document which signatures work with `check-property'.
...
Namely, not the singular record signature, but the signature
constructors of `define-record-procedures-parametric'.
(We'd done this before, but that patch got reverted, without the
doc part getting reinstated.)
2011-12-18 14:18:42 +01:00
Mike Sperber
7fac9193fa
In the DMdA languages, create arbitrary for record signature without fields.
...
This way, you don't have to use define-record-procedures-parametric
for records like this:
(define-record-procedures empty
make-empty empty?
())
2011-12-18 14:18:42 +01:00
Mike Sperber
c080940d02
Fix infinite recursive signatures.
...
Such as this, submitted by Torsten Grust:
(define-record-procedures-parametric stream_ stream-of
make-stream
stream?
(stream-head stream-tail))
(define stream
(lambda (t)
(signature (stream-of t (-> (stream t))))))
(: from (number -> (stream number)))
(define from
(lambda (n)
(make-stream n (lambda () (from (+ n 1))))))
(: foo (stream number))
(define foo (from 1))
The problem was that the arbitaries got evaluated too eagerly.
2011-12-18 14:18:42 +01:00
Ryan Culpepper
6742c308d9
db: fix sqlite3 memory corruption bug
2011-12-16 19:18:46 -07:00
Vincent St-Amour
664245ae69
Add in-slice sequences.
...
Patch from David Vanderson.
2011-12-16 13:50:25 -05:00
Robby Findler
a122ea725d
fix a bug in the kill-safe abstraction that is designed to protect
...
the state that online check syntax uses (indirectly via scribble)
to lookup documentation.
since the kill-safe abstraction moved some computation over to
another thread, the values of various parameters (current-directory
in this case) were not preserved. So when scribble then ended up
resolving a module path with the wrong current directory, this
bad value got cached. Then later, when check syntax tries to figure
out what file to open to jump to it, it got the cached bogus value
(even though current-directory was right when check syntax asked
for the filename).
closes PR 12538
2011-12-15 20:37:15 -06:00
Robby Findler
a2bbcf8b00
tighten up the contract
2011-12-15 20:37:14 -06:00
Matthew Flatt
c9d214138e
make `choice-evt' take O(N) time for N arguments
...
Delay flattening nested `choice-evt's to `sync'.
2011-12-15 16:04:08 -07:00
Sam Tobin-Hochstadt
ff74b262cf
Global seed to debug fuzzer timeouts.
2011-12-15 13:53:04 -05:00
Robby Findler
fd89d560b2
fix docs
2011-12-15 10:34:06 -06:00
Robby Findler
39e4454f51
added docs for the pkg-info.ss url to planet
2011-12-15 08:44:39 -06:00
Robby Findler
a88d9ca116
missed a place to add an undatum
2011-12-15 08:44:39 -06:00
Robby Findler
c91d004729
more cleanup of the rendering for the case when (format "~s" x)
...
and (format "~a" x) are different (when 'x' is a symbol)
2011-12-15 08:44:39 -06:00
Sam Tobin-Hochstadt
7802eda605
Better types for fourth' --
tenth'.
2011-12-14 19:06:05 -05:00
Matthew Flatt
ee775c3cc3
intern strings, etc. only when making syntax objects, not in `read'
...
Rename `read-intern-literal' to `datum-intern-literal'.
Interning is needed only in `read-syntax' or `datum->syntax' to
set up the invariants that the bytecode compiler needs for cross-module
optimization. When `read'ing numbers from a data file, meanwhile,
interning slows things down a lot and doesn't seem worthwhile.
2011-12-14 16:03:44 -07:00
Jay McCarthy
a16caef298
Revising docs a little to help use dispatch-rules
2011-12-14 11:53:15 -07:00
Matthew Flatt
c8fcf2a0a4
remove datum', etc. from
mzscheme'
2011-12-14 06:37:45 -07:00
Ryan Culpepper
d312744aae
db: make debugging easier
2011-12-13 23:51:31 -07:00
Ryan Culpepper
b355abfdb3
db: allow mysql-connect without db
2011-12-13 22:18:13 -07:00
Ryan Culpepper
fd74709e1c
db: implement mysql auth plugin support, old password support
...
related to PR 12415
2011-12-13 22:17:51 -07:00
Ryan Culpepper
32c5e3c9d2
avoid resolving module-path-index (current-directory may not be set right)
2011-12-13 17:38:21 -07:00
Asumu Takikawa
1ec2f9ca82
Fix doc inconsistency for require/typed.
2011-12-13 16:54:01 -05:00
Jordan Schatz
36c720a28c
Small spelling error
2011-12-13 09:47:43 -05:00
Matthew Flatt
b87a7c0ec9
fix `raco make --no-deps'
2011-12-13 06:13:17 -07:00
Matthew Flatt
b99eb54f16
fix race in subprocess test
2011-12-13 06:13:16 -07:00
Robby Findler
610efbbe75
brutal changes to check syntax to try to see if they fix the symptom Marijn reports
2011-12-13 04:56:13 -06:00
Robby Findler
843f057024
Revert "adjust the synchronization in check syntax for reading doc results to"
...
This reverts commit 8f12372b17
.
2011-12-13 04:56:13 -06:00
Jay McCarthy
701b8ed72f
Missing data character
2011-12-12 15:54:00 -07:00
Eli Barzilay
932f7ce726
Remove "Affiliates" section which is less relevant now.
2011-12-12 16:40:42 -05:00
Robby Findler
48772f2e40
when double clicking in a comment, fall back to word-based instead
...
of sexp-based selection
closes PR 12439
2011-12-12 14:45:27 -06:00
Robby Findler
2ed8023b36
minor refactoring
2011-12-12 14:45:27 -06:00
Jay McCarthy
5701c9cc69
Apache not in docs
2011-12-12 11:33:07 -07:00
Jay McCarthy
fb18174e22
Removing stderr output from archive?
2011-12-12 10:22:52 -07:00
Matthew Flatt
25dd8727cb
add datum-case', etc. as
syntax/datum'
...
This library is used by Redex, which wants a `syntax'-like template
language, but for datum values instead of syntax objects. Using
`datum-case' and `datum' generates much less code. Redex uses
only a small part of the general functionality, so adding
`syntax/datum' could be overkill. It's implemented by generalizing
the `syntax-case' and `syntax' pattern matching and template
constructing code, though; it's not a lot of extra code, and it's
easiest to generalize completely. We may find other uses for
datum templates, too.
2011-12-12 08:13:20 -07:00
Eli Barzilay
09402178db
Bring back the search-the-web paragraph, with a pointer to SO instead.
2011-12-12 09:47:06 -05:00
Eli Barzilay
2761c9a8ac
Remove links to the cookbook and the schematics project.
...
(Both no longer active.)
2011-12-12 09:30:05 -05:00
Eli Barzilay
0514bec845
When `make-evaluator' receives a path to a file, it allows reading it.
2011-12-11 02:52:41 -05:00
Sam Tobin-Hochstadt
6fae17282f
Don't run the slides.
2011-12-10 17:38:18 -05:00
Sam Tobin-Hochstadt
adb6b79620
Filesystem errors are not internal typed racket errors.
2011-12-10 17:28:34 -05:00
Sam Tobin-Hochstadt
eb38783750
Fix type of `remove-duplicates'.
...
Also fix type inference for functions with mandatory keyword arguments in other cases.
Related to PR 12434.
2011-12-10 17:28:34 -05:00
Matthew Flatt
bf90cf9028
fix problems printing symbols with unicode chars
2011-12-10 11:43:59 -07:00
Matthew Flatt
17504a960e
more interning related to Scribble xref
2011-12-10 11:43:58 -07:00
Matthew Flatt
28ee1570ae
strip value from 'dep tag
...
The value isn't used; a 'dep tag is ony to establish
dependencies, and the relevant value is with a 'form or
'def tag. Avoiding the extra value saves another 5% in
cross-reference files.
2011-12-10 11:43:58 -07:00
Matthew Flatt
b2fade9206
read-intern strings generated by Scribble; other interning
...
This change saves a small amount of space in cross-reference files
and some space in loaded cross-reference information.
It also saves work converting strings to mutable on deserialize,
although the performance difference seems negligible.
2011-12-10 11:43:58 -07:00
Mike Sperber
0f2c5d20ea
Synch German string constants with latest.
2011-12-10 14:05:13 +01:00
Robby Findler
622bec0719
avoid (format "~s" x) in favor of (symbol->string x) for symbols
...
when doing typesetting stuff in Redex, as the former seems to have
some kind of context dependency that makes it insert ||s around
some upper-case symbols sometimes
2011-12-10 02:55:47 -06:00
Robby Findler
f8cbe1ad23
add the List Machine benchmark by Appel, Dockins, and Leroy
2011-12-10 01:34:58 -06:00
Sam Tobin-Hochstadt
f23baef8aa
Opaque types may overlap with anything.
...
Closes PR 12434.
2011-12-09 18:11:51 -05:00
Matthew Flatt
596e7683b5
Merge branch 'master' of racket-lang.org:plt
2011-12-09 10:36:58 -07:00
Matthew Flatt
40fc46a870
fix PNG reader
...
when alpha isn't wanted and image has tRNS
2011-12-09 10:33:35 -07:00
Matthew Flatt
287d5cedf5
add `pseudo-random-generator-vector?'
...
Also, adjust docs to clarify that `vector->pseudo-random-generator!'
can be used as a more complete seeding function.
2011-12-09 09:12:17 -07:00
Matthew Flatt
1da5b859b7
more info for failing test
2011-12-09 08:01:52 -07:00
Robby Findler
e55ed2dc25
improve syntax error reporting for judgment-holds in reduction relations (and
...
probably elsewhere)
2011-12-08 20:35:46 -06:00
Sam Tobin-Hochstadt
64f9af0a84
Minor fix to fuzzer.
2011-12-08 19:59:47 -05:00
Sam Tobin-Hochstadt
c22611ca2b
Fix documentation to avoid drdr warnings.
2011-12-08 19:25:55 -05:00
Vincent St-Amour
b5d393d939
Add TR support for gcd and lcm on rationals.
2011-12-08 17:13:50 -05:00
Matthew Flatt
f93c94f6ff
add 'shift, 'control, 'rshift, and 'rcontrol events
2011-12-08 15:05:41 -07:00
Matthew Flatt
4a387c5b6a
add some missing checks on bytecode parsing
...
The `tests/racket/stress/fuzz' test fails much less frequently,
though problems certainly remain.
2011-12-08 13:42:09 -07:00
Matthew Flatt
657be87c66
generalize gcd' and
lcm' to work on rationals
2011-12-08 09:25:39 -07:00
Matthew Flatt
7e666b4b45
add stream' to
racket/stream'
...
based on a pull request from Dan King
2011-12-08 09:25:34 -07:00
Ryan Culpepper
90acf8a36f
temporary fix for broken dist-specs
2011-12-07 23:38:37 -07:00
Robby Findler
cbab512dd1
adjust the way 'jump to next/prev error source loc' menu items work
...
so that they also highlight the error location in pink when jumping there
2011-12-07 16:18:17 -06:00
Ryan Culpepper
0dcafac0c9
db: improved message debugging for mysql
2011-12-07 13:23:33 -07:00
Neil Toronto
4f9b642827
Stop rendering logos at 512
2011-12-07 10:56:08 -07:00
Neil Toronto
3e895b7072
Plot performance improvement: precalculated light, view and half dir
...
Color flonum-to-byte conversion handles special flonums (hopefully helps with Marijn's problem)
2011-12-07 10:56:08 -07:00
Neil Toronto
419a7ccbc0
New icons, standardized lighting
2011-12-07 10:56:08 -07:00
Neil Toronto
4334727609
Standardized SVG icon source sizes
...
New icons
New PLaneT logo
2011-12-07 10:56:07 -07:00
Neil Toronto
9c2386e40e
Added `disk-icon', changed DrRacket "Save" icon
2011-12-07 10:50:39 -07:00
Jay McCarthy
e62940734f
Fixing changed test
2011-12-07 08:15:38 -07:00
Jay McCarthy
54298bc2fd
Closing 9646
2011-12-07 06:23:25 -07:00
Jay McCarthy
12580337f2
Fixes PR9965 and a missing doc xref
2011-12-07 06:23:25 -07:00
Sam Tobin-Hochstadt
a497300fbe
Drop some trivially-pure code.
2011-12-06 17:20:32 -05:00
Sam Tobin-Hochstadt
8f133964f2
Disable test that needs input.
2011-12-06 17:20:32 -05:00
Robby Findler
8f12372b17
adjust the synchronization in check syntax for reading doc results to
...
cope with the case where the thread has been killed (the nacks are
apparently not triggered on thread death in some cases)
(optimistically) closes PR 12427
2011-12-06 16:13:17 -06:00
Robby Findler
2899fd0903
get rid of the obscenely long menu item name
...
closes PR 12423
2011-12-06 15:42:57 -06:00
Robby Findler
8f7572bc5e
fixup the heart bitmap so it has an alpha channel and then add it into the weekend/weekday rotation
2011-12-06 15:42:57 -06:00
Jay McCarthy
6af5b312d6
Increasing timeout for benchmark
2011-12-06 11:00:49 -07:00
Robby Findler
7a5e90f48f
use build-path to construct path segments instead of putting slashes into strings
2011-12-05 21:01:28 -06:00
Robby Findler
1d03e5f711
adjust the double clicking in racket mode so that clicks on the
...
(instead of sexp-based)
closes PR 12421
2011-12-05 21:01:28 -06:00
Robby Findler
447bd44a0c
minor rackety
2011-12-05 01:14:54 -06:00
Robby Findler
f725066bf9
fix bug in the handling of side-conditions
2011-12-05 01:14:54 -06:00
Matthew Flatt
1c6354e235
fix meta/check-dists
...
(Also, use a hash table instead of an association list for a
query cache.)
2011-12-04 08:01:48 -07:00
Matthew Flatt
be80e7d864
fix an over-eager reordering by the bytecode compiler
...
The over-eager transformation could be space-unsafe, and it
could duplicate an unsafe operation whose result is used only
once in a function that eds up being inlined multiple times.
2011-12-04 06:52:33 -07:00
Sam Tobin-Hochstadt
821ec051d0
Avoid providing internal macro.
2011-12-03 18:46:01 -05:00
Matthew Flatt
7c7135f58e
Revert "typo in universe' docs for
on-new'"
...
The documentation is correct as-is.
This reverts commit eec86cdaf2
.
2011-12-03 11:21:21 -07:00
Matthew Flatt
7d2914fc8a
fix `defform[*]' handling of #:id and grammar production
...
In @defform*[#:id x1 [(qqq x1)]], for example, `#:id x1' needs to
calcel the default treatment of `x1' within `(qqq x1)' as
a metavariable, while treating `qqq' as a meta-variable.
2011-12-03 10:03:13 -07:00
Matthew Flatt
07342303e5
scribble: fix HTML rendering of table in nested flow starting item
2011-12-03 08:41:15 -07:00
Matthew Flatt
eec86cdaf2
typo in universe' docs for
on-new'
2011-12-03 08:24:32 -07:00
Matthew Flatt
788e8bb5f4
fix demod for inline-variant
2011-12-03 06:15:58 -07:00
Matthew Flatt
61fa9fe7dc
improve dist spec (where collects:' is meant instead of
package:')
2011-12-03 06:06:51 -07:00
Matthew Flatt
787437223c
remove reference to `compiler/cffi'
...
Closes PR 12413
2011-12-02 19:44:29 -07:00
Matthew Flatt
7ddbc95b51
clean up `set!' implementation in ASL to avoid catching failures
...
The code seems to pre-date the failure thunk to `syntax-local-value'.
A problem with letting an exception get raised is that it triggers
the `error-value->string' handler, which loads Slideshow pict support
in DrRacket, which loads `racket/draw' at phase 1 --- which isn't
inherenty bad, but a lot of work that can be avoided.
2011-12-02 16:02:11 -07:00
Matthew Flatt
745c4b6470
fix another way that `racket/gui' instances can leak
2011-12-02 15:48:29 -07:00
Robby Findler
ce7523f01f
more atoms can be shared now, so wrap 'em up
2011-12-02 16:38:56 -06:00
Ryan Culpepper
2e4d4e21ca
rackunit: change exn:test to extent exn:fail
...
closes PR 12393
2011-12-02 14:41:17 -07:00
Ryan Culpepper
a1c7c2b6f9
macro-stepper: fix reset/obsolete/shutdown behavior
2011-12-02 14:41:17 -07:00
Ryan Culpepper
3dc78a3d1e
macro-stepper: fix display of "confusable" objects
2011-12-02 14:41:17 -07:00
Robby Findler
e9a5cf05c7
change the strategy drracket uses for the convertible? values
2011-12-02 15:19:15 -06:00
Robby Findler
1f2d0462a9
guard against strange syntax objects being passed to 'code'
2011-12-02 15:18:18 -06:00
Matthew Flatt
7397f710e2
fix reconstruction of `provide' forms in module expansion
2011-12-02 13:58:39 -07:00
Vincent St-Amour
9417503492
Fix for/sum: when summing something other than integers.
2011-12-02 15:21:14 -05:00
Vincent St-Amour
3279ea4b61
Whitespace cleanup.
2011-12-02 15:21:14 -05:00
Matthew Flatt
96330556e7
fix secondary hash-code for weak hashes
2011-12-02 12:11:52 -07:00
Matthew Flatt
58d01d0d12
fix dist specs for "icons" change
2011-12-02 09:03:57 -07:00
Robby Findler
2e54a89773
adjust drracket's repl so that it renders convertible things by turning them into .png's.
2011-12-02 08:10:32 -06:00
Stephen Bloch
39629e8e99
map-image and map-image/extra now give their function argument x and y
...
coordinates, or not, depending on the arity of that function. This
enables one to write a simple function from color -> color and
immediately map it on an image. For the situation in which the
function is location-dependent, one can still write a function from
x,y,color -> color and map this on the image.
2011-12-02 07:09:37 -05:00
Neil Toronto
29ad6b36b6
Replaced PLaneT logo
...
Replaced stop sign icons
Fixed some icons (esp. borders on shiny)
2011-12-01 23:04:27 -07:00
Neil Toronto
076453dacc
Use bitmap' instead of
icon->pict'
...
Rename `pict->icon' to `pict->bitmap' and put in `slideshow/pict'
2011-12-01 17:04:31 -07:00
Sam Tobin-Hochstadt
daf371059d
Add link. Closes PR 9325.
2011-12-01 16:54:52 -05:00
Sam Tobin-Hochstadt
04b8962542
Fix doc mistake.
...
Close PR 9508.
2011-12-01 16:54:52 -05:00
Sam Tobin-Hochstadt
e9a045c695
Fix doc typo.
...
Related to PR 9501.
2011-12-01 16:54:52 -05:00
Sam Tobin-Hochstadt
6df35ce132
Fix doc typo.
...
Closes PR 12395.
2011-12-01 16:54:52 -05:00
Neil Toronto
73615de58f
Precision improvements for user functions that return flonums
...
Performance: 2d-plot-area% now uses flonums internally as much as possible
2011-12-01 13:26:36 -07:00
Robby Findler
1c9c31efd1
drop the weekend condition for the default icon style
2011-12-01 13:45:26 -06:00
Robby Findler
301631c0d6
add a contract for slideshow/pict's bitmap function
2011-12-01 13:45:25 -06:00
Matthew Flatt
545b37ff0d
add racket/performance-hint' with
begin-encourage-inline'
2011-12-01 10:26:48 -07:00
Matthew Flatt
1bc2441b5a
switch to syntax property for 'compiler-hint:cross-module-inline
2011-12-01 10:26:48 -07:00
Kevin Tew
958ad908ab
place scrbl fix
2011-12-01 09:54:38 -07:00
Robby Findler
45c72d0837
add a compiler-hint:cross-module-inline hint.
...
Calling this function:
(provide
(contract-out
[f (-> integer? integer?)]))
(define (f x) x)
from another module seems to speed up by about 8% with the annotation
in this commit.
2011-12-01 10:33:30 -06:00
Matthew Flatt
99032a75d0
inline map',
for-each', andmap', and
ormap'
...
More generally, support a
(define _id (begin 'compiler-hint:cross-module-inline _proc-expr))
hint, which is how the compiler determines that `map', etc., are
candidates for inlining.
2011-12-01 06:59:27 -07:00
Robby Findler
1ca79003f1
remove ? from German string constant to match similar removal from the English
...
(checked with Mike Sperber first)
2011-12-01 07:22:08 -06:00
Eli Barzilay
e0eccf7019
Make "icons" into a package, to include its documentation.
2011-12-01 03:55:44 -05:00
Eli Barzilay
a9b1f993d4
Remove redundant execution bit from some files, convert one CRLF file to LFs.
2011-12-01 03:54:32 -05:00
Eli Barzilay
fac07b964d
Make get-libs retry downloads if they look stuck.
...
This resolves a problem with the osx64 machine, where downloads seem to
just get stuck after a while, without timeout errors. Re-enable that
build.
2011-12-01 03:40:27 -05:00
Eli Barzilay
51787cab5a
Make the version tool use "Racket".
2011-12-01 03:39:13 -05:00
Robby Findler
d1c29f8621
make the names of procedures with optional arguments be basedn on the
...
lexical name instead of "core" (this only shows up in stacktraces, as
far as I can tell)
2011-11-30 16:55:55 -06:00
Robby Findler
7f96ee19e0
When opening a new file, first load the file into the definitions text
...
before wiring up / initializing the new tab. This means that the
file's name is not asked for, and thus a new "untitled" number is not
allocated too early
closes PR 12361 (and hopefully introduces no new ones)
2011-11-30 16:55:55 -06:00
Robby Findler
7b9cb97654
eliminate the word "online" from the description of
...
"instant check syntax" in the docs
2011-11-30 16:55:54 -06:00
Robby Findler
1717fb74cd
adjust the drawing of the online check syntax dot when switching languages
...
closes PR 12366 (if it wasn't closed before, that is)
2011-11-30 16:55:54 -06:00
Robby Findler
082978effe
improve the double-click-on-word behavior for scribble (generally when
...
double clicking inside a string) and when clicking on close
parentheses (specifically, only special case close parens that are
actually parentheses according to the colorer, rather than special
casing all close parens).
2011-11-30 16:55:54 -06:00
Robby Findler
f07095283d
remove ? from string constant that should not have been there
2011-11-30 16:55:54 -06:00
Vincent St-Amour
c720d0f6f7
Add regexp-filter to unstable/string.
2011-11-30 17:54:28 -05:00
Vincent St-Amour
29bea4863e
Add group-by to unstable/list.
2011-11-30 17:54:28 -05:00
Vincent St-Amour
8509b81f47
Allow integers as sequences in TR.
2011-11-30 17:54:27 -05:00
Ryan Culpepper
5c20a46c3a
macro-stepper: better styling of errors, reduction steps
2011-11-30 09:24:24 -07:00
Ryan Culpepper
df3a9d8c7f
macro-stepper: fix value of absent evaluations (local actions) on error
...
related to PR 12316
2011-11-30 09:24:24 -07:00
Ryan Culpepper
0db96352bf
macro-stepper: temp fix for drracket tool
...
closes PR 12349, closes PR 10396
The macro stepper tool broke when DrRacket started doing expansion
earlier, before eval handler gets control. This commit changes the
macro stepper to just expand module contents. No REPL, no evaluation.
The long-term fix might be to make the macro stepper cooperate more
closely with the module language.
2011-11-30 09:24:24 -07:00
Ryan Culpepper
7fbd232c77
macro-stepper: display binding info for phases -5 to 5, clean up
2011-11-30 09:24:24 -07:00
Ryan Culpepper
7ebd15c4b0
db: export and document exn:fail:sql
2011-11-30 09:24:24 -07:00
Matthew Flatt
779b419c03
first cut at cross-module function inlining
...
Inline only trivial functions, such as `(empty? x)' -> `(null? x)',
to avoid generating too much code.
Bytecode includes a new `inline-variant' form, which records a
version of a function that is suitable for cross-module inlining.
Mostly, the variant let the run-time system to retain a copy
of the bytecode while JITting (and dropping the bytecode of)
the main variant, but it may be different from the main variant
in other ways that make it better for inlining (such a less loop
unrolling).
2011-11-30 07:39:36 -07:00
Matthew Flatt
1ebde53db7
fix `compiler-sizeof' docs and error message
2011-11-30 07:39:36 -07:00
Robby Findler
c338e5bfe3
remove now-unneeded debugging printfs from drracket's module-lang test suite
2011-11-30 08:24:20 -06:00
Robby Findler
458e2c2282
some long overdue Rackety: renaming the 'scheme:' exports of the framework to 'racket:'
2011-11-30 06:45:50 -06:00
Robby Findler
9db206b231
add in keymap mixin
2011-11-29 18:43:37 -06:00
Robby Findler
dd4f307a47
use an aug-keymap instead of a keymap for the scheme mode keymap container
2011-11-29 14:27:51 -06:00
Robby Findler
1c2f9cd721
adjust the handling of the scheme mode keymap so that it can go
...
before the plain text-mode keymap.
Add a doubleleftclick binding to the scheme mode keymap so that
we can have sexp-sensitive double clicking in the drracket editor
2011-11-29 13:46:23 -06:00
Robby Findler
e935b1fa8e
change the framework & drracket so that they still use the colorer
...
methods (paren matching, mostly) when the colorer is frozen
(but continue to avoid using them when the colrer is stopped)
closes PR 12374
2011-11-29 13:46:23 -06:00
Neil Toronto
f41fce1fc3
Finished icons docs, renamed racket-icon-style to default-icon-style
2011-11-29 12:11:07 -07:00
Matthias Felleisen
d6d8e4351c
removed mistakenly committed file
2011-11-29 14:04:06 -05:00
Neil Toronto
a6abce481d
Set props on icons and render-png.rkt
2011-11-29 09:21:51 -07:00
Jay McCarthy
41e35175f4
Increasing timeout
2011-11-29 06:50:54 -07:00
Neil Toronto
b4e0e17739
Doc fixes and better examples (because black icons are kewl)
2011-11-28 22:47:10 -08:00
Neil Toronto
4012373a8c
Started icon reorganization
...
- SVG icon sources
- Playback-style icons, logos, stop signs, magnifying glasses, etc., in diffuse and shiny styles
- Program to pre-render SVG files (icons/private/svg/render-png.rkt)
- Pre-rendered icons (PNGs in power-of-2 sizes)
- Made `icons' a module, with functions to conveniently load icons and convert to/from picts
- Scribble docs for `icons'
- Used new icons in DrRacket toolbar
2011-11-28 22:09:15 -08:00
Neil Toronto
918c4e97a6
Fixed a bug with small (but not epsilon) flonum bounds
2011-11-28 22:09:15 -08:00
Robby Findler
11994bd4f8
fix a bug in the module lexer; it was returning the wrong length for the tokens
...
it creates when the #lang line isn't well-formed (eg "#lang racke").
closes PR 12399
2011-11-28 21:16:31 -06:00
Robby Findler
c4a8cd65fb
disable file in drdr
2011-11-28 21:16:30 -06:00
Matthias Felleisen
acb66d094b
doc bugs fixed; Closes PR12404
2011-11-28 22:01:11 -05:00
Matthias Felleisen
00c93a1829
allow strings and symbols for name clause in world; Closes PR12403
2011-11-28 21:31:18 -05:00
Matthias Felleisen
19f8cacfcd
on-receive does not have to exist for a world to be a part of a universe, weird but feasible; Closes PR12401
2011-11-28 17:43:12 -05:00
Robby Findler
b40cc23f60
change file-creator-and-type so that it raises exn:fail:filesystem?
...
exceptions instead of exn:fail exceptions for errors having to do
with the actual attempt to change/retrieve the creator and type
(but leaving alone the type errors)
closes PR 12400
2011-11-28 15:35:42 -06:00
Robby Findler
d580518e66
adjust the autosave error code to print the stacktrace
...
related to PR 12400
2011-11-28 15:34:30 -06:00
Robby Findler
5d1a2beded
Adjusting the weekend-bitmap-swapping code so it changes dynamically
...
isntead of just checking weekendness on startup
2011-11-28 15:09:36 -06:00
Matthew Flatt
be89a1c1c4
ffi/unsafe/objc: at least load on platforms without libobjc
2011-11-28 13:51:25 -07:00
Matthew Flatt
14e0698602
raco setup: one more path simplifcation point
...
Closes PR 12355
2011-11-28 13:51:24 -07:00
Matthew Flatt
cb341e1f48
make in-sequences' and
in-cycle' accept 0 sequences
...
Plus doc clarifications.
2011-11-28 13:51:24 -07:00
Robby Findler
031b7b18be
adjust weekend logo setting code so that it works on non-mac os x platforms
2011-11-28 14:49:06 -06:00
Robby Findler
f210692a20
adjust the dock icon (under mac os x) to change on the weekends
2011-11-28 14:35:44 -06:00
Robby Findler
d381c7b40b
add the ability to pass a bitmap directly for the splash screen
2011-11-28 14:35:44 -06:00
Robby Findler
25271be3e8
set the current-load-relative-directory to #f (initially) in drracket
2011-11-28 13:57:11 -06:00
Robby Findler
153dd73f6b
adjust drracket to clean up the code that sets the initial value of
...
current-directory and current-load-relative-directory and to make
current-directory's initial value be the user's home directory
2011-11-28 13:29:55 -06:00
Robby Findler
462a348f19
fix bugs in the way the Racket|Disable Tests menu item worked
...
also adjust the test-engine-test.rkt test suite to bring it into
sync with the changes to the way the DrRacket REPL works from
commit bfa6b1d953
2011-11-28 00:13:59 -06:00
Matthew Flatt
06a1d8eb27
typo
...
Closes PR 10828
2011-11-27 18:42:11 -07:00
Matthew Flatt
27db62c9c8
typo
...
Closes PR 10822
2011-11-27 18:40:18 -07:00
Matthew Flatt
67bf8a3dd9
fix docs on the `mzscheme' language
...
Closes PR 9931
2011-11-27 18:35:02 -07:00
Matthew Flatt
5858585085
doc clarification
...
Closes PR 8460
2011-11-27 18:13:45 -07:00
Matthew Flatt
2b658fb1d4
doc clarification
...
Closes PR 8559
2011-11-27 18:02:26 -07:00
Matthew Flatt
a04272d245
fix typo and text duplication
2011-11-27 13:27:04 -07:00
Matthew Flatt
cba6323e8c
doc correction
...
Closes PR 11959
2011-11-27 11:50:22 -07:00
Matthew Flatt
97b1a9358d
fix typo
2011-11-27 11:29:45 -07:00
Matthew Flatt
b157ff2399
fix `#lang at-exp' spec and related
...
Closes PR 12174
2011-11-27 11:22:41 -07:00
Matthew Flatt
49802b7ba1
doc correction
...
Closes PR 12171
2011-11-27 11:14:58 -07:00
Matthew Flatt
a707b0c5f5
`syntax-id-rules' clarifications
...
Closes PR 12232
2011-11-27 11:11:28 -07:00
Matthew Flatt
fca5ceecc9
switch `codeblock' to strings instead of bytes
...
Also, fix scribble lexer line counting.
Closes PR 12225
2011-11-27 11:06:21 -07:00
Matthew Flatt
8b7370a4f9
fix printing of hash tables with chaperones
...
Closes PR 12276
2011-11-27 09:56:44 -07:00
Matthew Flatt
10246d7ade
fix `current-memory-use'
...
Closes PR 9896
2011-11-27 09:18:52 -07:00
Robby Findler
1b7bda5f2a
clean up the way the state of the online expansion GUI is kept.
...
This fixes a bunch of little things, including switch tabs between
windows with different states (closing PR 12341) and switching to
a non-module language.
2011-11-26 21:14:28 -06:00
Matthew Flatt
58fa3dd6d7
fix non-ELF unix starter creation
2011-11-26 19:59:53 -07:00
Robby Findler
5adc74fdf0
fix a bug in the case that the character with a breakpoint or a
...
stack highlight triangle is on the left edge of a line
closes PR 12379
2011-11-26 18:30:25 -06:00
Robby Findler
081dc6c9a1
adjust the completions box so that it doesn't raise the error mentioned in 12396 anymore
...
closes PR 12396
2011-11-26 18:30:25 -06:00
Matthew Flatt
e7ab46d505
doc repair
...
Closes PR 12281
2011-11-26 17:09:24 -07:00
Matthew Flatt
7adc61060d
doc repair
...
Closes PR 12289
2011-11-26 17:09:24 -07:00
Matthew Flatt
1175964a78
reference clarifications on string ports
...
Closes PR 12365
2011-11-26 17:09:23 -07:00
Matthew Flatt
48d5d6fca3
guide clarification on arguments to `eval'
...
Closes PR 12345
2011-11-26 17:09:23 -07:00
Matthew Flatt
8d44010725
better guide entry on "comments"
...
Closes PR 12367
2011-11-26 17:09:23 -07:00
Matthew Flatt
0772cdf2e3
fix `print-convert' on cyclic hash key
...
Closes PR 12373
2011-11-26 17:09:23 -07:00
Sam Tobin-Hochstadt
dd0a49bc62
Turn off excessive stderr output.
2011-11-26 16:06:45 -05:00
Matthew Flatt
93bcc58a0c
scribble: use Latex skull package only if needed
2011-11-26 09:01:46 -07:00
Matthew Flatt
567ee96c61
racket/draw: generalize "face" in a font% to be a description
...
Also add an option to `get-face-list' so that it can actually
return faces, instead of just families.
2011-11-26 08:48:35 -07:00
Matthew Flatt
161934c354
skip osx64 build for now
2011-11-26 06:44:37 -07:00
Neil Toronto
4a8259a4e7
Fixed some tests
2011-11-25 19:00:05 -07:00
Neil Toronto
553c72ab28
Moved some flonum stuff (e.g. flatan2, flnext, +max.0, +min.0, etc.) to unstable/flonum (will document in another commit)
...
Moved Racket-language, doc-generating "defthing" defines to unstable/latent-contract/defthing (will document in another commit)
2011-11-25 18:40:19 -07:00
Neil Toronto
59691aab83
Arrows disappear immediately upon scroll; reduce scroll delay
2011-11-25 18:40:19 -07:00
Robby Findler
e942bb1c3a
add another printf for drdr's consumption
2011-11-25 17:54:56 -06:00
Robby Findler
ca457b0052
add some debugging to see if I get more useful info for the module language test intermeittent failure
2011-11-25 15:13:11 -06:00
Robby Findler
d672a0699e
contract random cleanup
...
- remove excess printf
- fix indentation
- remove unused frequency tables
- adjust the generate table to avoid the imperative registration
2011-11-25 14:47:57 -06:00
Matthew Flatt
1ac7e7e19d
racket/class: add `dynamic-send'
2011-11-25 13:22:05 -07:00
Matthew Flatt
d421ed1bb6
racket/class: add `send/keyword-apply'
2011-11-25 13:19:42 -07:00
Matthew Flatt
bc0c2075fd
cocoa: make sure app wakes up on file event
2011-11-25 13:19:42 -07:00
Matthew Flatt
d3cbea068a
fix treatment of caps lock in keymap%
...
Somewhere along the way --- probably in porting the editor
classes to Racket --- the caps-lock specification in a keymap
string was treated the same as other modifiers, but it is
supposed to be neutral when the key string starts with ":".
Closes PR 5486, 10347, 10993, 12184
2011-11-25 13:19:42 -07:00
Robby Findler
a847186c0a
missed one place to rename contract-generate
2011-11-25 13:38:26 -06:00
Robby Findler
e0ea64c758
rename contract-generate to contract-random-generate
2011-11-25 09:09:18 -06:00
Neil Toronto
989fcc4c22
Reworked how major and minor ticks are chosen; now isosurfaces3d always shows 3-5 surfaces, and all *-ticks parameters have the same default
...
Contour and isosurface 'auto levels reorg
2D contours: z-min = z-max now makes empty plot instead of infinite loop
3D isosurfaces: d-min = d-max now makes empty plot instead of infinite loop
Fixed contracts and corner case on marching squares and cubes functions
Better selection box and point-label formatting
Increased timeout on extreme-bounds-tests.rkt
2011-11-24 21:59:16 -09:00
Neil Toronto
bf77e525cc
Points renderers fill color option
2011-11-24 21:59:16 -09:00
Neil Toronto
192539259c
Fixed extreme bounds tests
2011-11-24 21:59:16 -09:00
Neil Toronto
57f07d516d
Refactoring: plot-device% now uses dc<%>'s set-origin, simplifying uses
2011-11-24 21:59:16 -09:00
Neil Toronto
700765abb2
Plot label renderers now use tick settings to format coordinates
2011-11-24 21:59:16 -09:00
Neil Toronto
bddcd76f7f
Ensure snips handle rendering errors
...
Fraction tick formatting more reasonable for non-ticks (e.g. selection bounds, eventually plot labels)
2011-11-24 21:59:16 -09:00
Neil Toronto
547ac9c7d8
Focus tweaks to capture off-snip movement; account for split editor
2011-11-24 21:59:16 -09:00
Neil Toronto
9c5d68ead5
Plot snips no longer get focus
...
Right-click on plot snips now opens editor pop-up menu
2011-11-24 21:59:16 -09:00
Neil Toronto
2f308a5323
Click and drag to zoom 2D plots
...
Snip refactoring
2011-11-24 21:59:15 -09:00
Matthew Flatt
aab4260127
generalize brush transformation to apply to a stipple
2011-11-24 11:14:54 -07:00
Matthew Flatt
fe3b6ea003
at-exp, scribble: remove distinctness of @{}-introduced newlines
2011-11-24 09:17:34 -07:00
Robby Findler
c87cd47c64
add add-make-prefix-to-constructor tests
2011-11-24 09:42:55 -06:00
Jay McCarthy
30cc1b9a0b
Incorrect documentation
2011-11-24 08:19:09 -07:00
Matthew Flatt
a40d0f0dd1
fix pconvert test
2011-11-24 05:58:30 -07:00
Robby Findler
b7d2d5da62
Some small cleanups of Andy's contract generator code
2011-11-23 22:54:21 -06:00
Andy Gocke
b8847a53bf
Started on random testing for contracts
2011-11-23 22:54:21 -06:00
Jay McCarthy
37a7e0a2e1
Revert "Forgot to include doc change"
...
This reverts commit ccd5061c87
.
2011-11-23 11:13:21 -07:00
Jay McCarthy
41e04b33da
Revert "This fixes 10497 and potentially breaks programs that assume the query of a URL is always a list. I have fixed uses in the Web Server, which I expect is the major thing affected, but much more could be. Therefore I am skeptical this is a good idea just for the representation of ?. So, I'd like other people to review the change and let me know if they think I should revert it."
...
This reverts commit 7f9818bb3e
.
2011-11-23 11:13:20 -07:00
Jay McCarthy
9d8d36e568
Demonstrating that 10772 is fixed
2011-11-23 10:59:55 -07:00
Jay McCarthy
5bd12bb6f1
Clarifying syntax in docs
2011-11-23 10:59:55 -07:00
Jay McCarthy
ce6eab6f8e
Showing that 10546 is fixed
2011-11-23 10:59:55 -07:00
Jay McCarthy
ccd5061c87
Forgot to include doc change
2011-11-23 10:59:54 -07:00
Jay McCarthy
7f9818bb3e
This fixes 10497 and potentially breaks programs that assume the query of a URL is always a list. I have fixed uses in the Web Server, which I expect is the major thing affected, but much more could be. Therefore I am skeptical this is a good idea just for the representation of ?. So, I'd like other people to review the change and let me know if they think I should revert it.
2011-11-23 10:59:54 -07:00
Jay McCarthy
d64d620c00
Fixing PR10485
2011-11-23 10:59:54 -07:00
Matthew Flatt
6a99c93ebb
add get-colors' to
color-database<%>'
2011-11-22 20:17:58 -07:00
Matthew Flatt
c7464dcbd3
mzlib/pconvert: `add-make-prefix-to-constructor' parameter
...
Defaults to #f, which fixes constructor-style printing in `plai'
and `racket', and is set to #t for the HtDP languages.
2011-11-22 19:42:35 -07:00
Matthew Flatt
f4c1d9da06
adjust psyntax benchmark
...
The psyntax implementation relies on 3-D syntax like
(let ([s (string #\i)])
(eq? s (eval `',s)))
producing true, or maybe
(let ([s1 (string #\i)]
[s2 (string #\i)])
(eval `(eq? ',s1 ',s2)))
producing false, or probably both. Neither works now
in Racket. Hack around the problem well enough for
benchmarking purposes by using numbers in place of
strings.
2011-11-22 18:12:28 -07:00
Vincent St-Amour
7ab62d109f
Fix optimization of multi-argument float comparisons.
2011-11-22 17:52:50 -05:00
Vincent St-Amour
597f310e89
Fix typoes in the raco docs.
2011-11-22 17:52:49 -05:00
Jon Rafkind
35b3e73b2a
disable test for now
2011-11-22 13:15:21 -07:00
Jon Rafkind
a9ba721be8
[honu] add example of lexically scoped macros
2011-11-22 10:30:44 -07:00
Jon Rafkind
42caad96de
[honu] use honu-body directly in the parser
2011-11-22 10:30:44 -07:00
Jon Rafkind
4b4a369d84
[honu] abstract out delayed parsing
2011-11-22 10:30:43 -07:00
Jon Rafkind
973000adbb
[honu] delay parsing of function bodies
2011-11-22 10:30:43 -07:00
Jon Rafkind
bef2f188b3
[honu] move when macro to the honu language
2011-11-22 10:30:43 -07:00
Jon Rafkind
40eeeb6a72
[honu] dont need extra prefixes for require
2011-11-22 10:30:42 -07:00
Jon Rafkind
4c00c26cd5
[honu] clean up main file requires and provides
2011-11-22 10:30:42 -07:00
Matthew Flatt
747951decf
fix some DrDr benchmark invocations
2011-11-22 09:15:51 -07:00
Matthew Flatt
e44bd3f79d
intern literal strings, byte strings, regexps, characters, and numbers
2011-11-22 08:54:37 -07:00
Matthew Flatt
ea3cabfc45
remove more Racket-to-C compiler leftovers
2011-11-22 05:50:18 -07:00
Robby Findler
3da3e17c47
don't continue after an error when scribbling via the 'scribble html'
...
and 'scribble pdf' buttons in the drracket frame.
closes PR 12385
2011-11-21 17:23:30 -06:00
Neil Toronto
94373ea9f9
Move point label `radius' units from point; plug plot->dc API leak
2011-11-21 10:39:16 -07:00
Robby Findler
a333b43259
make the planet cmdline-tool.rkt test more informative in the case that there are planet packages installed
2011-11-21 08:27:24 -06:00
Neil Toronto
d65b85ac55
Only try to build the Syntax Check popup menu if there is Syntax Check data
2011-11-20 22:23:38 -08:00
Neil Toronto
a23808dd95
Use rational? instead of regular-real?, cut some cruft
...
Make docs compile without warnings
2011-11-20 22:23:38 -08:00
Robby Findler
e788c6f49e
adjust define-judgment-form so that it
...
a) avoids creating big intermediate lists of the same things over and over
(this closes PR 12380)
b) generates less code (by generating calls to local functions)
c) normalizes its output (sorts by the printed representation)
2011-11-20 22:50:07 -06:00
Robby Findler
0a75219438
added support for where & side-condition & judgment-holds to define-relation
...
closes PR 12382
2011-11-20 21:34:22 -06:00
Robby Findler
6ea6483221
adjust number-snip% so that it subscribes to the file/convertible
...
protocol for 'png-bytes and 'text
2011-11-20 16:38:17 -06:00
Matthew Flatt
d416dfaa8c
fix copy-file' reporting of
exn:fail:filesystem:exists?'
...
Fixes re-report for PR 12074
2011-11-19 19:40:49 -07:00
Matthew Flatt
4464f2bf19
fix `get-slides-as-picts' most-recent-slide implementation
2011-11-19 19:14:51 -07:00
Matthew Flatt
91ef073c09
expand phase-related require/provide test
...
to check for the bug fixed by 76c9996ac7
and other potential
problems
2011-11-19 07:55:34 -07:00
Matthew Flatt
c1477e945d
fix `namespace-require' on marked syntax
...
Closes PR 12381
2011-11-18 20:06:15 -07:00
Matthew Flatt
5665fe3477
fix `sequence-filer' on empty sequence
...
fix provided by Shviller
Closes PR 12383
2011-11-18 20:06:15 -07:00
Matthew Flatt
2ad78a33fb
fix `provide' for macro-introduced bindings in phase != 0,#f
2011-11-18 20:06:15 -07:00
Jon Rafkind
5d3adb84c2
[honu] add var and = at phase 1
2011-11-18 09:59:43 -07:00
Jon Rafkind
8ba0551fe5
add version 3 of libmagickwand to the ffi example
2011-11-18 09:59:43 -07:00
Matthew Flatt
f54254e9b5
ssl library versions for Ubuntu 11.10
2011-11-18 01:58:31 -07:00
Jon Rafkind
23cbc505cc
[honu] define parsing macro in the transformer phase. also provide a bunch of things from main
2011-11-17 23:34:59 -07:00
Jon Rafkind
70589a7033
[honu] create a new syntax class for parsing expressions at current-phase + 1. allow new operators to be defined using honu syntax
2011-11-17 23:34:59 -07:00
Robby Findler
b93486ed69
compile the left-hand sides of define-judgment only once, not during each time we try to check a judgment
...
related to PR 12380
2011-11-17 20:55:05 -06:00
Neil Toronto
2d0fa3a60b
UI fixes and improvements to Check Syntax
...
- Delays drawing arrows until mouse hovers for a very short time
- Delays drawing arrows when scrolling
- Tooltips appear in the correct pane when the editor is split
- Fixes infinite event queue with scrolling a split editor while a tooltip is displayed
2011-11-17 19:25:24 -07:00
Robby Findler
755dc28e55
Fixes define-relation's handling of ellipses across clauses
...
closes PR 12378
2011-11-17 17:00:11 -06:00
Jay McCarthy
36a408096c
Fixing an error in quoting found by a student this year
2011-11-17 15:16:22 -07:00
Robby Findler
3588de15d4
try to get a little more stack for the intermittent module-lang-test failure
2011-11-17 06:57:09 -06:00
Robby Findler
b726209dc5
fix the interaction between the automatic insertion of matching parens
...
and the magic fixup of opening parentheses.
This commit moves the automatic insertion of matching parens to the
scheme mode keymap, so it will now take affect in Racket mode editing,
only. Also, Rackety.
2011-11-16 19:36:18 -06:00
Robby Findler
3345415d71
Make the 'Show Replace' menu item be always enabled. Also, make it
...
set the keyboard focus to the replace editor.
It used to be disabled when the searching bar is hidden. In that case, it now
makes the searching bar visible.
2011-11-16 16:23:11 -06:00
Matthew Flatt
63f3a51ae6
win32: get default frame icon from application
...
Also, clean up icon- and cursor-loading code
2011-11-16 14:45:32 -07:00
Matthew Flatt
243332f429
move .ico support from raco exe' internals to
file/ico'
2011-11-16 14:45:32 -07:00
Jay McCarthy
0244093518
Providing parse-bindings
2011-11-16 10:31:04 -07:00
Jay McCarthy
34b64f40a9
Each tests gets its own planet directory
2011-11-16 10:31:04 -07:00
Jay McCarthy
c0f8fef313
Handle other branches
2011-11-16 10:31:04 -07:00
Asumu Takikawa
283d91be7d
Fix typos in reference.
2011-11-16 02:09:05 -05:00
Jon Rafkind
080e6bc25a
[honu] allow else patterns for match
2011-11-15 23:36:01 -07:00
Jon Rafkind
a38949d8ba
[honu] use reified syntax classes to check for literals instead of direct comparisons with free-identifier=?
2011-11-15 23:36:00 -07:00
Matthew Flatt
3bffcae3c2
fix places & executable interaction
...
Added `module-predefined?' and changed `racket -k ...'
2011-11-15 18:42:21 -07:00
Robby Findler
be996fc4db
up the timeout for the module-lang-test.rkt
2011-11-15 15:28:25 -06:00
Vincent St-Amour
0a3a71fbbc
Refine types of integer-bytes->integer' and
arithmetic-shift'.
2011-11-15 15:31:07 -05:00
Matthew Flatt
7ad81e7560
win32: enable live resize of frames
2011-11-15 12:44:26 -07:00
Jon Rafkind
219a39575a
[honu] actually check for separator for the separate ids class. parse constructor arguments with comma separated ids
2011-11-15 12:19:27 -07:00
Jon Rafkind
815c3887fb
[honu] abstract out separated identifiers
2011-11-15 12:19:26 -07:00
Neil Toronto
8f914f653f
Better error message when plot can't determine sensible bounds
2011-11-14 22:36:27 -08:00
Neil Toronto
cf75609d82
Little fixes
2011-11-14 22:01:07 -08:00
Neil Toronto
75f76986c3
Plots with intervals too small or too large for flonums (2D and 3D)
...
Bounds fixpoint computation now uses only exact rationals
Speed improvements (3d-plot-area% now uses flonums internally as much as possible)
2011-11-14 22:01:07 -08:00
Neil Toronto
20e09c9f7f
Little fixes and improvements
2011-11-14 22:01:07 -08:00
Neil Toronto
a710cbb7fe
Speed/readability improvements in contour, surface and isosurface renderers
...
Progress on customization docs
Snip fixes and UI improvements
2011-11-14 22:01:07 -08:00
Matthew Flatt
45b8e103e5
places: fix GC of unreceived place-channel messages
...
An unreceived message can have a reference to a master-allocated
value, in which case that value must be marked. This marking
is implemented by embedding a linked link within the message
memory.
2011-11-14 18:04:45 -07:00
Matthew Flatt
f6df62e501
remove junk file
2011-11-14 17:57:11 -07:00
Jon Rafkind
1f8c1950fb
[honu] allow multiple variables to be declared at once
2011-11-14 17:49:15 -07:00
Jon Rafkind
9ec39fd590
[honu] add format and a facility to convert floats to integers
2011-11-14 17:49:15 -07:00
Jon Rafkind
9d393f991f
[honu] filter out non-pattern variables
2011-11-14 17:49:15 -07:00
Jon Rafkind
0d89827a85
[honu] share the variable declaration syntax by moving the pattern to a syntax class
2011-11-14 17:49:15 -07:00
Jon Rafkind
47c6acdea5
[honu] add tests for precedence cases
2011-11-14 17:49:15 -07:00
Sam Tobin-Hochstadt
591dcc4a27
Add prop:match-expander' and
prop:legacy-match-expander'.
2011-11-14 11:03:22 -05:00
Sam Tobin-Hochstadt
81dd112f57
Move ==' to
racket/match'.
2011-11-14 11:03:22 -05:00
Sam Tobin-Hochstadt
5fe89966fc
Fix missing argument.
...
Closes PR 12356.
2011-11-14 11:03:22 -05:00
Robby Findler
d6bd1dc904
fix the require docs for the teaching languages so they mention both forms of planet require
2011-11-14 07:46:47 -06:00
Robby Findler
2f5e0206a8
more printfs to try to find what is going on in drdr with the module-lang-test.rkt
2011-11-14 07:08:37 -06:00
Jon Rafkind
5cb1834376
[honu] redo operator parsing to fix various precedence cases. add a new quasi-operator macro that can consume as much input on the right as it wants and use that to call methods on objects. change = to equal?. allow variables to be defined in classes
2011-11-14 00:45:55 -07:00
Robby Findler
870c8d28f4
move predicate/c from unstable/contract to racket/contract. In process,
...
change the implementation to special case struct procedures and to use
it in provide/contract.
This speeds up the rendering phase of the Guide documentation by more than 2x.
Thanks to Matthew for spotting the opportunity!
2011-11-13 17:19:15 -06:00
Ryan Culpepper
f38d959b3a
db: fix transaction contract bugs, added transaction tests
...
closes PR 12364
2011-11-13 15:11:12 -07:00
Ryan Culpepper
b4e856cc3c
db: fixed space leak in statement finalizer thread
...
This "fixes" the segfault in the test program, but it seems
like there must be another underlying problem.
2011-11-13 15:11:12 -07:00
Sam Tobin-Hochstadt
0754e6b702
Make autocompletion fuzzier, similar to the doc search.
...
For example, autocomplete of `cur-dir' will produce the same list of results as the documentation search, with `current-directory' first, instead of producing no results.
2011-11-13 16:33:17 -05:00
Robby Findler
38b4d11abe
add some debugging printfs in an effort to try to understand what's going wrong when this test runs in drdr
2011-11-13 08:15:02 -06:00
Robby Findler
0429471cf8
add mouse over status for free variables (only relevant for top-level languages)
2011-11-12 22:13:31 -06:00
Robby Findler
4a54411f8c
clean up the docs-build planet test case
2011-11-12 08:26:16 -06:00
Matthew Flatt
a0378a2b02
fix bug in prefab syntax marshaling
...
Closes PR 12352
2011-11-12 06:08:42 -07:00
Matthew Flatt
edec6fafd1
remove unused library (formerly used by the Racket->C compiler)
2011-11-12 05:33:20 -07:00
Matthew Flatt
13605b55db
remove accidentally added file
2011-11-12 05:33:20 -07:00
Neil Toronto
723a54a4d9
Added "Axis Transforms and Ticks" doc page
2011-11-11 18:12:40 -07:00
Matthias Felleisen
5a3c78a998
universe now terminates properly
2011-11-11 18:53:04 -05:00
Matthias Felleisen
8c91d96c50
added prefab structs to messages that universe can exchange
2011-11-11 18:53:03 -05:00
Matthew Flatt
75dd61ebc3
fix leak in `racket/draw' instantiation
2011-11-11 16:32:16 -07:00
Matthew Flatt
2de0a853dd
update sigplanconf to the version with Creative Commons license
2011-11-11 16:32:16 -07:00
Robby Findler
a1f94c4bd1
adjust planet logging so that it doesn't try to log when the logging thread is dead
...
(and thus doesn't deadlock in drdr (hopefully))
2011-11-11 16:05:24 -06:00
Robby Findler
9b4e0ad15a
add a #:draw-border? to filled-rounded-rectangle
2011-11-11 16:05:24 -06:00
Jon Rafkind
dfe33f8919
[honu] convert function bodies from honu to racket
2011-11-11 10:35:09 -07:00
Jon Rafkind
a4123ce536
[honu] rebind the result of parsing to the original pattern variable name
2011-11-11 10:35:09 -07:00
Jon Rafkind
786436b314
[honu] add some simple macro examples
2011-11-11 10:35:08 -07:00
Matthew Flatt
9f81387e85
scribble: Latex/PDF rendering of some Unicode superscript characters
2011-11-11 07:05:16 -07:00
Matthew Flatt
3cd071beb2
fix fd polling in atomic mode
2011-11-11 07:05:16 -07:00
Jon Rafkind
6e3cf95e83
[honu] parse bodies of macros early. re-parse the output of macros
2011-11-10 15:55:55 -07:00
Jon Rafkind
6b6ca7a7c3
[honu] allow %racket expressions to remain inside honu syntax and remove them after parsing
2011-11-10 15:55:54 -07:00
Robby Findler
961e280a98
add a bunch of tests to the module language test suite based on test cases in the repl test suite
...
(since the repl test suite tests the pretty big language's repl and since there was a test case
there that would have discovered a bug that we only found in the hours before the release but had
been lurking for a few days)
2011-11-10 16:31:09 -06:00
Matthew Flatt
43e421faf4
fix bytecode compiler bug
2011-11-10 13:25:06 -07:00
Neil Toronto
233323faac
Faster 3D animation: now caches actual shapes drawn
2011-11-10 12:59:43 -07:00
Neil Toronto
86a862cca9
Test case for Richard Hollos
2011-11-10 12:59:43 -07:00
Neil Toronto
bf2fbbbc49
3D stacked histograms
...
2D inverted histograms
2011-11-10 12:59:43 -07:00
Neil Toronto
8b93de59c6
Abstracted render-thread into worker-thread (preparing for animated 2D plots)
...
Endpoint-indifferent line styles (allows styles in finely chopped lines)
Adjacent polygons now gapless (faces drawn w/o antialiasing; jaggies mitigated by supersampling)
2011-11-10 12:59:43 -07:00
Neil Toronto
5bd8481aa7
2D stacked histograms, grouped histograms, collapse indistinguishable ticks, doc tests, fixes
2011-11-10 12:59:43 -07:00
Neil Toronto
56f70fb4f2
Exposed marching squares and cubes algorithms through plot/utils, speed improvements, fixes
2011-11-10 12:59:43 -07:00
Neil Toronto
ee71e01c13
Changed bounds argument contracts to (or/c regular-real? #f)
2011-11-10 12:59:43 -07:00
Neil Toronto
e878c80f0f
Adjusted light position so that at default angles, all visible rectangle faces have different shading;
...
used mild front+side lighting (e.g. late morning with the sun behind and to the left)
Fixed a tick collapse error (calculated wrong average position of collapsed ticks)
2011-11-10 12:59:43 -07:00
Neil Toronto
d477352c98
Small fixes, refactoring
...
Began finalizing the public interface to plot-device%
2011-11-10 12:59:42 -07:00
Neil Toronto
6bed60452a
Began finalizing public interface to *d-plot-area% classes
2011-11-10 12:59:42 -07:00
Neil Toronto
a4f245b273
Speed improvements in clipping
2011-11-10 12:59:42 -07:00
Neil Toronto
d953a093c7
Refactored margin fixpoint computation
2011-11-10 12:59:42 -07:00
Neil Toronto
ee9f9ffae0
Fixed ticks collapse bug;
...
Refactored tick/label parameter functions in 2d-plot-area%
2011-11-10 12:59:42 -07:00
Neil Toronto
dd471b4d73
Rename area.rkt -> plot-area.rkt
2011-11-10 12:59:42 -07:00
Neil Toronto
5a379b7236
Refactor *d-plot-area%; they are now containers for plot-device% instead of descendants of plot-area%
2011-11-10 12:59:42 -07:00
Neil Toronto
596e8b3775
Polar axes use r ticks
...
Removed r and d transforms (r needs design, d is useless)
2011-11-10 12:59:42 -07:00
Neil Toronto
4ae9ecf28e
Subdivide nonlinearly transformed 3D shapes
...
Detect possible nonconvergence in plot bounds fixpoint calculation
Collapse nearby 3D ticks
2011-11-10 12:59:42 -07:00
Neil Toronto
639ec15125
Added 'isoline' and 'isoline*' aliases for contour functions.
...
Added #:family argument to 2D label functions.
Various little fixes.
2011-11-10 12:59:41 -07:00
Neil Toronto
dab5caf67c
Expanded numbered colors to 128
2011-11-10 12:59:41 -07:00
Neil Toronto
e90ec4b69f
Added unstable/latent-contract
...
Reorganized contracts
Started exposing customization API in plot/utils
Now dog-fooding customization API in earnest
2011-11-10 12:59:41 -07:00
Neil Toronto
6b39863f1c
Source reorg
...
Added non-rendering plot elements
Optimizations
2011-11-10 12:59:41 -07:00
Neil Toronto
ae64e8683a
Parameter groups
2011-11-10 12:59:41 -07:00
Neil Toronto
afadbbf0d1
Parameter lists
...
Some tick changes
Allow #f in renderer fields
2011-11-10 12:59:41 -07:00
Neil Toronto
27538e1214
Better save/restore of parameters in plot-pict and plot3d-pict
2011-11-10 12:59:41 -07:00
Neil Toronto
4ca0729a2f
Combined renderer structs and fixpoint bounds determination
2011-11-10 12:59:41 -07:00
Neil Toronto
f593d468f7
Finished first draft of tick/axis overhaul
2011-11-10 12:59:41 -07:00
Neil Toronto
c6cc3dfb31
Split up tests to keep DrDr from timing out
2011-11-10 12:53:52 -07:00
Neil Toronto
f182a2719f
Adjusted appx. plot bound fixpoint computation; fixes a layout issue with multiple function renderers
...
Merge into 5.2
2011-11-10 12:53:52 -07:00
Matthew Flatt
5139de9cec
add `port-closed-evt'
2011-11-10 10:01:57 -07:00
Matthew Flatt
eb25a2db47
add epoll() support for Linux, kqueue() support for BSDs
...
This change builds on the blocking-I/O change to provide substantially
better performance when waiting on lots of sockets.
2011-11-10 10:01:56 -07:00
Eli Barzilay
794779b997
v5.2 stuff
2011-11-09 21:55:42 -05:00
Jon Rafkind
8fe87bd2a9
[honu] reparse honu expressions into racket expressions
2011-11-09 11:17:41 -07:00
Jon Rafkind
5aa6b0b06e
[honu] dont parse the output of syntax too early. wrap some core racket forms with %racket
2011-11-09 11:17:40 -07:00
Jon Rafkind
b25406db4c
[honu] re-attach the output of macros to the input stream. wrap racket expressions so they dont get reparsed
2011-11-09 11:17:40 -07:00
Robby Findler
3379fb8df6
fix some redex bugs caught by drdr tests
2011-11-09 06:47:38 -06:00
Robby Findler
b063604ab4
fix begin-for-syntax test
2011-11-08 22:02:12 -06:00
Matthew Flatt
2d70017091
win32: avoid line-wrap in `meesage%' display
...
Also, adjust text measuring to ensure that it is as close
as possible to measurements for a control.
2011-11-08 06:55:40 -07:00
Matthew Flatt
7d607fdd93
fix errortrace for phase N outside of module
2011-11-07 13:16:17 -07:00
Eli Barzilay
af3019fa5a
Allow internal definitions in a `for/vector' with a #:length.
...
Closes PR 12340.
2011-11-07 12:17:46 -05:00
Robby Findler
bfa6b1d953
Fixed some bugs in the double-stacktrace window; adjusted the repl to
...
be able to insert more with-stack-checkpoint calls in useful places;
adjust test suites to match the change in when the stacktrace icon
shows up
2011-11-07 07:42:14 -06:00
Robby Findler
e1ce0a0d1e
Change the drracket repl so that it doesn't show the stacktrace button
...
for syntax errors (i.e., exn:fail:syntax? exceptions)
Overall, it seems important to (in most cases) not show the stack that
leads to the point where raise-syntax-error is called, so as not to
confuse users who might think that that stack is useful information
in understanding how to fix the syntax error.
I've resisted this technique for avoiding those stacks for a long
time, mostly because common syntax errors in the standard settings
don't usually get the stacktrace button because they usually have
empty stacks (partly thanks to the with-stack-checkpoint dance).
But now that the underlying racket-generated stack is shown too, and
not just the errortrace-generated stack, it is harder to make those go
away. More precisely, DrRacket used to be able to rely on the fact
that files that were compiled to .zo files would not have the
instrumentation in them and thus stackframes from that code would not
show up in the stacktrace. No longer.
So, it seems time to try this alternative.
2011-11-06 21:14:51 -06:00
Robby Findler
cac37b0b6a
added test cases for phase issues in the module language repl
2011-11-06 21:14:51 -06:00
Mike Sperber
17ca888a97
Synch German string constants with latest.
2011-11-05 13:31:47 +01:00
Robby Findler
3f8d6eb2b2
adjust call to get-info/full so that it respects the contract
2011-11-04 21:48:04 -05:00
Matthew Flatt
64ae5268d6
fix sandbox parameterization order
2011-11-04 16:02:54 -06:00
Danny Yoo
899bc0616b
Adding an example for `define-match-expander'.
2011-11-04 11:16:35 -04:00
Robby Findler
65fd0234ad
add a unicode test to scheme-lexer.rkt
...
and change the tests so they all run with port line
counting enabled (or else the unicode test fails)
adjust module-lexer.rkt tests so they can run in either
port-counting mode or not (but currently run them all in
port-counting mode because scheme-lexer doesn't work without it)
also make a first stab at what needs to change in the module
lexer to make it work in non port line-counting mode
2011-11-03 22:41:27 -05:00
Matthew Flatt
4314b2ac28
make OpenGL gears example report a good error on failure
2011-11-03 17:42:36 -06:00
Matthew Flatt
0f6c267798
add #:fail argument to with-gl-context' in
canvas%'
2011-11-03 17:42:36 -06:00
Matthew Flatt
9bd0486ca0
fix non-tail loop in GL lock manager thread
...
The non-tail loop would cause the gears example to grandually
slow down, for example.
2011-11-03 17:42:36 -06:00
Robby Findler
b7541c5d1b
Revert "IN PROGRESS: starting to fix the repl-test for the new error icons"
...
This reverts commit 8ec968fe8f
.
2011-11-03 17:14:06 -05:00
Robby Findler
d00aed6f1b
fix the module reader for the case when there are non-ASCII unicode characters
...
in comments before the #lang line
also add an #:init-position argument to peeking-input-port
2011-11-03 17:13:17 -05:00
Robby Findler
8ec968fe8f
IN PROGRESS: starting to fix the repl-test for the new error icons
2011-11-03 17:13:17 -05:00
Matthew Flatt
4bbb2d41aa
cocoa: fix some GL problems
2011-11-03 09:12:13 -06:00
Eli Barzilay
40f3388051
Shuffle the sandbox parameters so they make a bit more sense.
...
(Specifically, more restrictions come earlier.)
2011-11-02 17:46:40 -04:00
Eli Barzilay
90f7a98dd6
Fix the default `sandbox-make-code-inspector'.
...
It now creates an inspector based on the original code inspector instead
of the (implicit) wrong default used by `make-inspector'. Change
`sandbox-make-inspector' too, to make it explicit.
2011-11-02 17:40:24 -04:00
Eli Barzilay
b9bd1db58a
Move the namespace creation so that it happens under the code-inspector.
...
This fixes a security issue where a toplevel evaluator could still use
things like `ffi/unsafe'.
2011-11-02 17:40:24 -04:00
Eli Barzilay
ad934255c5
Capitalize all subsection headers.
2011-11-02 17:40:24 -04:00
Eli Barzilay
8f1a4de253
Document `numeric'; closes PR 12338.
2011-11-02 17:40:24 -04:00
Eli Barzilay
1eec2b75e3
Improve unix installer tester.
...
* The installer is a command-line argument.
* Make it work in xterm too, by unsetting TERM.
* Works with version-less directories, from release installers.
2011-11-02 17:40:24 -04:00
Matthew Flatt
98cde53fa0
fix rename trans `free-identifier=?' propagation in int-def context
...
Closes PR 12333
2011-11-02 10:02:19 -06:00
Matthew Flatt
c7a0f1bef8
guard a space-safety test with a 3m check
2011-11-02 08:12:58 -06:00
Matthew Flatt
3885f4683b
add missing `render%' init argument doc
2011-11-02 08:12:58 -06:00
Matthew Flatt
8d91efcee4
fix `get-bytevector-all' bug
...
Closes PR 12327
2011-11-02 08:12:58 -06:00
Matthew Flatt
e361acae0b
handin server: add support for HTTPS uploads (when enabled)
2011-11-02 08:12:58 -06:00
Jay McCarthy
8b38c8e933
Changed the exn thrown
2011-11-01 13:01:09 -06:00
Jay McCarthy
6466c480b0
DrDr, test this push
2011-11-01 11:16:47 -06:00
Jay McCarthy
c2065b2128
Improving error messages for non-serializable continuation pieces
2011-11-01 11:16:47 -06:00
Robby Findler
cc86b6f06e
disable incremental-keybindings.rkt
2011-11-01 11:33:07 -05:00
Robby Findler
5128f08810
minor docs fix
2011-11-01 09:51:28 -05:00
Ryan Culpepper
98d8acfd4e
avoid including lazy-required names in (all-defined-out)
...
closes PR 12335
2011-10-31 18:19:07 -06:00
Robby Findler
8edfd4e87e
add docs for the #:stronger argument to the contract constructors
...
closes PR 12312
2011-10-31 16:59:19 -05:00
Robby Findler
0ce6c75591
Rackety (mostly letrec-values => define and minimizing dependencies)
2011-10-31 09:14:34 -05:00
Robby Findler
64dfdb3c7f
Change the expansion of reduction-relation so that it generates less code
...
(by expanding into a call to a 30 or so line procedure, instead of putting
that code directly into the result of the macro).
This produces about a 6x speedup on this reduction-relation
(reduction-relation L (--> 0 1) (--> 1 2) ... (--> 99 100))
where L is
(define-language L)
The time it takes to run "racket r6rs.rkt" in the shell from the
directory collects/redex/examples/r6rs speeds up by about 10% (15%
with errortrace enabled), in the case where all .zo files are built,
except the ones in the r6rs directory. (Also worth noting that "racket
-l redex" takes more than 50% of that time.) And the change has no
noticeable effect on the time it takes to run r6rs-test.rkt.
2011-10-31 08:53:09 -05:00
Robby Findler
41f68af64a
delay the construction of the compatible-closure grammar (the 'cross' thing)
...
until it is actually used. (This can make a big difference for large grammars
in models that don't actually use the compatible closure stuff.)
2011-10-30 22:36:53 -05:00
Ryan Culpepper
1dade8ee1d
db: added support for postgresql arrays
2011-10-30 18:51:16 -06:00
Ryan Culpepper
e2e63684de
data/order: added support for transparent structs, added tests
2011-10-30 18:51:16 -06:00
Robby Findler
e362888d6d
add a menu item to put the interactions window beside/below the definitions window
2011-10-29 20:56:42 -05:00
Matthew Flatt
d9b9cbe16a
fix space-safety bug in composable continuations
2011-10-29 09:37:12 -06:00
Mike Sperber
007927892b
Sync German string constants with latest.
2011-10-29 12:06:54 +02:00
Matthew Flatt
506aa79d14
fix editor refresh problem when line numbers are shown
...
More generally, fix horizontal refresh when an editor has left
padding. Otherwise, deleting a character in DrRacket with line
numbers shown seems sluggish, because the update waits for a
refresh event.
2011-10-28 20:01:19 -06:00
Sam Tobin-Hochstadt
3caf08da43
Fix curried function type parsing without ().
2011-10-28 15:43:29 -04:00
Eli Barzilay
d77a89ac42
Avoid spaces and caps in file names.
...
(Also fixes a bug, AFAICT, since "SpeechBubble" wasn't uniformly.)
2011-10-28 15:15:17 -04:00
Robby Findler
e9d32dfdff
adjust the planet cute images so they cooperate with executable creation better
2011-10-28 13:51:31 -05:00
Robby Findler
f48e12240a
clean up the docs for the Planet Cute images
2011-10-28 13:51:31 -05:00
Matthew Flatt
457f4a4f52
another attempt to fix the build script
2011-10-28 06:43:20 -06:00
Matthew Flatt
932ef94cb3
fix contract
2011-10-28 06:43:20 -06:00