Matthew Flatt
0695c63cb1
hack `directory-list' to avoid confusing Typed Racket
...
(hopefully temporary)
2012-05-16 18:29:16 -06:00
Matthew Flatt
662ede2bd2
Revert "work around an internal module-instantation bug"
...
This reverts commit bd75b17a23
.
It would be fine to leave the commit as-is, but I'm reverting to
make clear (and as a backup test) that the internal bug is fixed.
2012-05-16 10:41:31 -06:00
Matthew Flatt
ca33321aa7
fix phase-shifted compile-time use of `variable-reference->namespace'
2012-05-16 10:41:09 -06:00
Stevie Strickland
3dcc8ec92f
"broke it's contract" -> "broke its contract"
2012-05-16 11:44:09 -04:00
Matthew Flatt
bd75b17a23
work around an internal module-instantation bug
...
Tracking down the bug is taking a while, so I'm pushing a workaround
for now.
2012-05-16 09:43:23 -06:00
Matthew Flatt
3fbbf7cf94
add note about find-executable-path' to
subprocess', etc.
2012-05-16 09:43:23 -06:00
Matthew Flatt
65313a82a7
add a #:build?' argument to
directory-list'
2012-05-16 09:43:23 -06:00
Matthew Flatt
3a9f8eea4f
racket/gui cocoa: fix internal ObjC class names
...
"My" -> "Racket". The "My" prefix was from initial experiments,
of course, and I just never got around to changing it before.
I think these names go into a global namespace, though, at the
ObjC level, so they need to have a distinct and Racket-specific
prefix.
2012-05-16 09:43:23 -06:00
Stevie Strickland
3d8c1e200a
Fix unit contract tests to cope with contract error message changes.
2012-05-16 11:37:41 -04:00
Matthew Flatt
b0409dd232
racket/gui cocoa: fix floating-window event handling
...
Closes PR 12754
2012-05-16 08:00:50 -06:00
Matthew Flatt
d5b17210e3
racket/gui cocoa: fix 'no-sheet style for `dialog%'
2012-05-16 07:34:44 -06:00
Matthew Flatt
985eecbed7
racket/gui cocoa: fix initial eventspace hook
2012-05-16 07:21:55 -06:00
Matthew Flatt
9270936a28
instantiate require'd modules in the order that they are
require'd
...
This order is now specified, whereas the order was previously unspecified,
and the previous reverse order was an artifact of the implementation.
2012-05-16 07:12:27 -06:00
Matthew Flatt
68029b4ade
raco decompile: show `require's
2012-05-16 07:12:26 -06:00
Robby Findler
3fceae2715
adjusted the contract error messages so that the words expected/promised
...
are switched in and out based on the sense of the blame (similar to a recent
change that made given/produced swap in and out)
2012-05-15 22:08:42 -05:00
Robby Findler
dfa0305bb3
fix interaction between the framework's first-line-mixin and
...
line-numbers mixin
Specifically, when both are turned on, the #lang line now shows
the line number and shifts the "#lang ..." over to the same spot
where it is drawn when the first line is natually visible
Also, rackety
2012-05-15 22:08:42 -05:00
Matthew Flatt
e8d7b8696e
doc fix
...
Closes PR 12772
2012-05-15 20:13:12 -06:00
Matthew Flatt
b5ce4f281d
fix example
...
Closes PR 12723
2012-05-15 20:11:42 -06:00
Matthew Flatt
0c95475f4f
fixes for `scribble/srcdoc'
...
Use the new `relative-in' form to make imports
resolve correctly when they are shifted among modules.
2012-05-15 20:03:41 -06:00
Matthew Flatt
e35337dcfd
add `relative-in'
2012-05-15 20:03:41 -06:00
Neil Toronto
0c6719319f
Fixed ellipses in scaled icons after fix to draw-ellipse in commit 1432912357
(mflatt); had been relying on earlier buggy behavior
2012-05-15 11:19:05 -06:00
Matthew Flatt
ca2659698e
fix binding-to-symbol module path translation for `submod'
2012-05-14 21:57:10 -06:00
Matthew Flatt
1067aa59e3
fix docs for `syntax-local-module-exports'
2012-05-14 21:57:10 -06:00
Matthew Flatt
a4bd18ff01
fix `syntax-local-module-exports' to work with submodules
2012-05-14 21:57:10 -06:00
Matthew Flatt
0653d1c966
add `syntax-local-submodules'
2012-05-14 21:57:09 -06:00
Matthew Flatt
cee18bd887
fix expansion state on `provide' transformer exception
2012-05-14 21:57:09 -06:00
Matthew Flatt
1bf1564f90
add `variable-reference->module-path-index'
2012-05-14 21:57:09 -06:00
Matthew Flatt
b374d0d015
ffi: fix big-endian s->c conversion of bytes and shorts
2012-05-14 21:57:09 -06:00
Robby Findler
005d3b7218
add context information to hash/c (also, rackety)
2012-05-14 21:43:46 -05:00
Robby Findler
9e7eb963d7
define => define/private (in a class)
2012-05-14 21:43:46 -05:00
Kevin Tew
fbbf8579e0
[Distributed Places] Docs clean up part 2
2012-05-14 14:58:40 -06:00
Matthew Flatt
29a401b692
racket/sandbox: treat linked collections like others
2012-05-14 09:35:06 -06:00
Matthew Flatt
ea8a6a1076
fix for-syntax `set!' of unbound identifier to be a syntax error
2012-05-14 09:14:01 -06:00
Robby Findler
e4887f576d
add some code to help avoid drracket dying when the sandbox does strange things
2012-05-14 07:53:52 -05:00
Robby Findler
d2d82d325b
up the future tests timeout
2012-05-13 20:20:06 -05:00
Matthew Flatt
d93f4214a4
fix `compiler/zo-parse', etc. for phase-shift addition
2012-05-13 09:00:28 -06:00
Robby Findler
dfad46cd7a
added blame context information to vector/c and vectorof contracts
2012-05-13 08:38:57 -05:00
Matthew Flatt
f5e3182345
fix dependency of DrRacket tool module on docs
2012-05-13 07:13:18 -06:00
Matthew Flatt
7519b851d3
comment out test that creates a bad dependency
...
The right long-term solution may be a `strip' operation that
removes `test' submodules for a distribution.
2012-05-13 06:57:44 -06:00
Matthew Flatt
92db2b4fb3
zo-parse update for phase-shift syntax object marshaling
2012-05-13 06:57:44 -06:00
Matthew Flatt
84d1c6dc06
remove sfi links from the Reference
...
In consultation with Ryan. We'd prefer to have versions of all
useful things in a `racket/...' library that is consistent as
possible with Racket forms and conventions.
2012-05-13 06:57:44 -06:00
Matthew Flatt
906180ebe8
doc edits
2012-05-13 06:57:44 -06:00
Matthew Flatt
1d1f4dfc3c
fix docs on `prop:{require,provide,provide-pre}-transformer'
2012-05-13 06:57:44 -06:00
Matthew Flatt
45659b0cc1
fix doc example
...
Closes PR 12768
2012-05-13 06:57:44 -06:00
Robby Findler
0278b9e0af
fix bug in example code noted by Ray Racine
2012-05-12 22:10:10 -05:00
Robby Findler
52fa588f7a
deprecate define-contract-struct (also fix a broken require in the contract docs)
2012-05-12 22:10:04 -05:00
Robby Findler
2eb3264b44
added a test to make sure struct/dc signals an error when getting an impersonator
...
contract on an immutable field that has no dependencies
2012-05-12 22:09:09 -05:00
Matthew Flatt
bfbccb918d
fix reference to non-existant private contract module
2012-05-12 01:37:51 -06:00
Matthew Flatt
964020f288
implement scribble/srcdoc' via submodules instead of
expand'
...
Also add a `for-doc' require form, make `proc-doc' et al. provide
forms, make `provide/doc' an alias for `provide'.
2012-05-12 01:37:50 -06:00
Matthew Flatt
d836cba7c9
refine lexical scope for syntax objects from different modules
...
For example, if definitions have two unmarked `x's that originate
from different modules, make them correspond to different bindings.
This improvement will be used by `scribble/srcdoc', which will
rely on module context to connect `for-doc' requires to documentation
code that appears in the same module --- which is needed, for example,
if a macro expands to documentation code and the macro is used in
a different module.
2012-05-12 00:59:14 -06:00
Matthew Flatt
2f9a0f4b94
fix bad refactoring
2012-05-12 00:55:12 -06:00
Matthew Flatt
9412ea0707
add `syntax/quote' library
2012-05-12 00:55:12 -06:00
Matthew Flatt
67c57efa1d
fix an error message
2012-05-12 00:55:12 -06:00
Matthew Flatt
8fc3d25be4
cm: collect dependencies for submodules
2012-05-12 00:55:12 -06:00
Matthew Flatt
1432912357
racket/draw: fix outline adjustment in `draw-rectangle' and others
2012-05-12 00:55:12 -06:00
Matthew Flatt
dbd940611e
allow #f as shift for `syntax-shift-phase-level'
2012-05-12 00:55:12 -06:00
Robby Findler
698c895413
adjust struct/c so that it just expands into struct/dc
2012-05-11 22:07:52 -05:00
Jay McCarthy
93d8e89b66
Better error messages, plus fix for the tag syntax
2012-05-11 20:13:29 -06:00
Jay McCarthy
409b717ec2
Clarifying the use of the name of the argument in s/s/d
2012-05-11 20:13:29 -06:00
Robby Findler
329d3bb3c8
add some example code showing how to bind a menu to a key via the keymaps
2012-05-11 07:13:55 -05:00
Eli Barzilay
7f940de6f9
Fix `array-set!' for arrays of more than 2 dimensions.
...
Closes PR 12765.
2012-05-11 06:18:21 -04:00
Eli Barzilay
621fd87b51
Warn when a given collection has nothing to compile, abort with an error all are empty.
2012-05-11 06:18:21 -04:00
Eli Barzilay
b20575b1c9
Switch to `racket', and a bunch of code cleanups.
...
There should not be any functionality change in this commit, but please
keep an eye for possible problems.
2012-05-11 06:18:20 -04:00
Eli Barzilay
48b0b50647
Minor improvement, and recognize a ".plt" suffix in any case.
2012-05-11 06:18:20 -04:00
Robby Findler
9401a537e0
extend the opters to track if a contract has any negative blame
...
(this is similar to being flat, but struct contract (lazy ones) can
be non-flat and still have no negative blame).
Use this to optimize struct/dc contracts; specifically when a contract
has no negative blame, then we don't need to add additional wrapping
for indy-ness.
This ended up being fairly tricky to handle the case where there
are several mutually recursive define-opt/c functions. The code
tracks which definitions depend on which ones and does a graph traversal
of the dependencies to find if there is any non-negative blame
possible. Naturally, this uses Racket's macro system to communicate
between the definitions.
2012-05-10 21:59:39 -05:00
Robby Findler
7221d01483
refactored contract opters so they return structs instead
...
of (8!) multiple values
2012-05-10 21:59:39 -05:00
Kevin Tew
4c59943b0d
[Distributed Places] Remove caps and camelcase
2012-05-10 19:58:52 -06:00
Kevin Tew
154a96ab1f
[Distributed Places] Docs clean up part 1
2012-05-10 15:36:58 -06:00
Kevin Tew
076e698e8c
[Distributed Places] RMPI docs
2012-05-10 15:36:58 -06:00
Kevin Tew
c619f7cbbf
[Distributed Places] more docs, removed old functions, RMPI function renames
2012-05-10 15:36:58 -06:00
Kevin Tew
1fab365129
[Distributed Places] fix kmeans hang
2012-05-10 15:36:58 -06:00
Kevin Tew
5be7a7d980
[Distributed Places] simple MPI layer over distribute places
2012-05-10 15:36:58 -06:00
Jay McCarthy
b703148833
Fixing bad re-indent.. I think?
2012-05-10 12:37:27 -06:00
Jay McCarthy
611e8d0d17
Changing from racket to racket/base in xml, html, and web-server
2012-05-10 10:36:29 -06:00
Jay McCarthy
f675514a2b
scribble/lp on racket/base vs scheme/base
2012-05-10 10:36:29 -06:00
Jay McCarthy
042defedb6
Branch remove fix
2012-05-10 10:36:29 -06:00
Matthew Flatt
2d027e7ee5
scribble/eval: add eval:result' and
eval:results'
2012-05-09 19:11:21 -06:00
Matthias Felleisen
cc8e988346
fixed mistakes in posn documentation; Closes PR 12755
2012-05-09 12:04:44 -04:00
Ryan Culpepper
78a2ea535b
added link from Continue to db docs on servlets
2012-05-09 09:17:52 -06:00
Ryan Culpepper
00fd18bc62
db: various fixes and additions
...
- fix connection-pool for nested tx, fix race condition
- ensure connected? always nonblocking
- added and reorganized some doc sections
- added grouping, contracts to in-query
- added rows->dict
2012-05-09 09:17:52 -06:00
Ryan Culpepper
aa0d8aaa33
fix bug in db docs intro
...
closes PR 12743
2012-05-09 09:17:52 -06:00
Ryan Culpepper
902ba68dfb
db: add servlet-based test
2012-05-09 09:17:52 -06:00
Eli Barzilay
7738f21a5b
Move the srfi references to the section ends.
2012-05-09 04:11:17 -04:00
Danny Yoo
fc708c00d8
Danny's email changed.
2012-05-09 03:55:39 -04:00
Eli Barzilay
f1a7517ab6
Adds note about `system*' output.
...
(Slightly revised by Eli.)
2012-05-09 03:48:55 -04:00
Michael W
267a009e03
Adds note about system* output. UNTESTED
2012-05-09 02:46:33 -04:00
Eli Barzilay
06728e1dd2
Use absolute URLs in the quick subscription boxes.
...
Closes PR 12757.
(Also some reformatting.)
2012-05-09 02:42:52 -04:00
Eli Barzilay
f335b47a18
Apparently things work fine with readline 6 too.
2012-05-08 21:18:15 -04:00
Eli Barzilay
d04920c032
(Try to) Fix the section that talks about `apply' and keyword arguments.
...
Closes PR 12438.
2012-05-08 21:18:15 -04:00
Eli Barzilay
07d5fbe1f6
More time for the combined scribble tests.
2012-05-08 21:18:15 -04:00
Eli Barzilay
99f87cf72b
Remove prose infelicity.
...
(Reported by Shriram a while ago.)
2012-05-08 21:18:15 -04:00
Eli Barzilay
6dfcf68a12
Fix a typo.
...
Closes PR 12456.
2012-05-08 21:18:15 -04:00
Robby Findler
646403e9f6
ported the contracts in srfi/14 to racket/contract
2012-05-08 16:50:17 -05:00
Ryan Culpepper
745607a51d
added unstable/cat
2012-05-08 14:50:28 -06:00
John Clements
0196a6f97a
doc clarification for make-argb
2012-05-08 12:02:02 -07:00
Asumu Takikawa
a8994c7261
Revert "Add contract-add-context to contract system."
...
This reverts commit f3b687c8ed
.
After discussion with Robby and Stevie, we concluded that
this procedure isn't necessary for now. If we ever think
of more examples where it's useful we can bring it back.
2012-05-08 12:58:49 -04:00
Vincent St-Amour
e786149434
More precise type for flexpt.
2012-05-08 11:42:21 -04:00
Vincent St-Amour
95c2115799
Fix prims.rkt's type->contract to accept keyword arguments.
...
Necessary when some prims are used at the top-level.
2012-05-08 11:16:27 -04:00
Matthew Flatt
9a41129c69
racket/flonum: add `flexpt'
2012-05-07 20:41:14 -06:00
Ryan Culpepper
7cafd9daca
stop running stress-template in drdr
2012-05-07 15:08:22 -06:00
Ryan Culpepper
3bde72ffb0
syntax/parse: fix dependencies of experimental modules
2012-05-07 14:46:14 -06:00
Ryan Culpepper
eb3dce14cd
fix some doc contracts for submodules
2012-05-07 14:46:13 -06:00
Ryan Culpepper
0b8b0c36ef
fix check-requires for submodules
2012-05-07 14:46:13 -06:00
Ryan Culpepper
62177bc135
macro-debugger: don't shut down expansion on error (TR raises async errors)
...
related to PR 12505
2012-05-07 14:46:13 -06:00
Ryan Culpepper
2b34e0a75b
macro-debugger: more submod fixes, removed unused code & exports
2012-05-07 14:46:13 -06:00
Ryan Culpepper
6c6fa36c8c
add srfi links
2012-05-07 14:46:13 -06:00
Ryan Culpepper
f0c03ad921
macro-debugger: updates for submodules
2012-05-07 13:26:07 -06:00
Robby Findler
dd764ca83d
move the 'opt/c unknown contract' logging to the right place
2012-05-07 10:36:44 -05:00
Robby Findler
5996e8f480
finish up struct/dc
2012-05-07 10:36:44 -05:00
Robby Findler
64603d0c27
adjust the opter protocol so that opters can say either: "yes this is
...
a chaperone contract", "no it definitely isn't" or "evaluate this code
at runtime to find out"; previously only the first two options
were available to opters
(this commit also includes other tweaks here and there so won't stand alone)
2012-05-07 10:36:44 -05:00
Robby Findler
04017d83d5
start adding struct/dc contracts
2012-05-07 10:36:39 -05:00
Eli Barzilay
a4381dd1f6
Do the xref test only if "doc/reference/out.sxref" exists/
...
(Since the nightly build includes the documentation only on the main
machine.)
2012-05-07 09:12:00 -04:00
Eli Barzilay
b315000311
All of `overridden-collects/teachpack' should not be tested.
2012-05-07 09:12:00 -04:00
Eli Barzilay
55814fe7fc
Fix ,install!
...
(Questions where very broken when readline was active.)
2012-05-06 13:13:49 -04:00
Eli Barzilay
49c8a5fb28
Racketizations.
2012-05-06 13:13:16 -04:00
Eli Barzilay
17090fca4f
A bunch of fprintf' ->
eprintf' conversions (and a few related things).
2012-05-06 12:06:00 -04:00
Eli Barzilay
084f1dcea7
Use the new `wrap-line' in the scribble text renderer.
...
Looks like it's not making any changes in the current tests (which use
the text renderer), but with words that are longer than the width the
old version would stop wrapping afetr these words. Added a test file
that fails with that and succeeds with the new one. If anyone cares
about this, it's easy to make hyphenate words that are too long for a
line.
(Also fixed some redundant frustration in the bib test...)
2012-05-06 08:17:36 -04:00
Eli Barzilay
34ec391194
Some racketization (and outdent).
2012-05-06 06:29:18 -04:00
Eli Barzilay
efda1706d8
Use the new wrap-line' in
scribble/eval'.
...
This might have output that is a little better in cases where the
wrapped string is longer than `maxlen', for example, with an input of:
" x xxxxxxxxxxxxxxxx..."
and wrapping at 10 characters, the output was
" x\nxxxxxxxxxx\nxxxxxx..."
and now it's
" x xxxx\nxxxxxxxxxx\nxx..."
2012-05-06 06:15:04 -04:00
Eli Barzilay
36394500e5
Streamline all scribble tests.
2012-05-06 05:53:19 -04:00
Eli Barzilay
d28b0c0806
Use `scribble/text/wrap' in xrepl.
...
(Also organize the tests a little.)
2012-05-06 05:38:04 -04:00
Eli Barzilay
3cb4552e32
Minor fixes to `tests/lazy'.
...
* Make each test file runnable using `module+'.
* Make the space tests not print anything (unless they fail, of course).
* Make the `first-class?' case even "more first class" by defining their
and/or as functions. (Doesn't make a real difference for this test,
but nice to test more of the language.)
2012-05-06 05:38:04 -04:00
Eli Barzilay
4adc10b071
Fix test: use a new directory for the submodule tests
2012-05-06 05:38:04 -04:00
Eli Barzilay
89b9ad0dde
New wrap-line' function in a new
scribble/text/wrap' module.
...
This should probably become documented if it's stable enough. For now
it's intended for building wrapping functions, so it's only documented
in comments the file.
2012-05-06 05:38:04 -04:00
Eli Barzilay
c161540751
Fix props for "mkheart.rkt"'s new place.
2012-05-06 05:38:03 -04:00
Eli Barzilay
8605c91ccf
Minor typo
...
(Reported by Shriram a while ago.)
2012-05-06 05:38:03 -04:00
Matthew Flatt
230463fa3d
racket/gui: fix problem with recent edit-sequence change
...
Restores undo support in DrRacket, for example.
2012-05-05 22:09:13 -06:00
Matthew Flatt
c5d3750d39
try libpng15 before libpng12
2012-05-05 10:32:05 -06:00
Matthew Flatt
b30374824a
racket/draw: add #:eventspace' argument to
open-output-text-editor'
...
The argument is `(curent-eventspace)' by default, which makes ports
work better with threads.
Closes PR 12749
2012-05-05 10:32:05 -06:00
Matthew Flatt
48f7ddafe4
racket/gui: fix some concurrency problems `text%'
...
Changed `open-output-text-editor' to put its additions into
an edit sequence to better work with threads.
Fixed problems in editor-canvas refresh and resize events, where
the editor's refresh synchronization wasn't used properly.
Fixed race conditions in the the protocol that is used to separate
refreshes and edit sequences.
Related to PR 12749
2012-05-05 10:32:05 -06:00
Eli Barzilay
1fae7942d5
Add a branch indicator to the stamp, if we can find one and it's not "master".
...
Added by Sam's request.
2012-05-04 20:18:38 -04:00
MartyNeal
6e1ee717f7
Fixed `stream-add-between'.
...
Don't put an extra seperator element at the end of the stream. Brings
it in-line with the list version (`add-between') and sequence
version (`sequence-add-between'). Includes a test.
2012-05-04 20:18:38 -04:00
Asumu Takikawa
36dd749268
racket/class: remove commented code
2012-05-04 17:41:13 -04:00
Asumu Takikawa
61784877a0
Fix blame for behavioral subtyping.
...
- negative parties of interface contracts should be
the interface itself
2012-05-04 17:24:55 -04:00
Stevie Strickland
14da5dacc5
Small fixes.
...
* Use #f instead of (lambda () #f) in hash-ref call
* We want the positive blame, not negative, when interface-contracted
methods are passing through a class/c application.
* Use (interface <i>) and (class <c>) for interface and class blame.
2012-05-04 17:24:55 -04:00
Asumu Takikawa
ba8e879703
Use a weak hashtable to cache concrete instances
2012-05-04 17:24:55 -04:00
Asumu Takikawa
10967a22ce
Make class/c and interface contracts cooperate
...
- also fixed a problem with subclassing, though I'm not
sure it's quite correct yet
2012-05-04 17:24:55 -04:00
Asumu Takikawa
670154bd2b
First cut of working interface contracts.
...
- still need to fine-tune code (maybe avoid lists)
- is the blame story correct?
- weak hash table for new class copy
- interaction with class/c
2012-05-04 17:24:55 -04:00
Asumu Takikawa
f4fb628934
Changing new to (eventually) concretize interface contract methods.
...
* No-op for now, but will later do more work.
* Fix up Typed Racket to handle the new do-make-object.
2012-05-04 17:24:55 -04:00
Asumu Takikawa
f09867f6a7
Add function to find ctcs/blame for interfaces
2012-05-04 17:24:55 -04:00
Asumu Takikawa
a7e03aee2c
Add interface contract meth. names to class struct
2012-05-04 17:24:55 -04:00
Asumu Takikawa
6f4ad1de25
Add contracts to interface syntax & structures
2012-05-04 17:24:55 -04:00
Eli Barzilay
26c13d278e
Move the "mkheart.rkt" generator to a new meta directory.
2012-05-04 17:24:08 -04:00
Andreas Rottmann
53cbe874e0
Allow installation into arbitrary directories with "plt-r6rs --install"
...
Hi!
Here's an updated version of the patch, which also mentions the added
option in the docs; also the specified directory is added to the
collection paths, since compilation will fail otherwise.
From: Andreas Rottmann <a.rottmann@gmx.at>
Subject: Allow installation into arbitrary directories with "plt-r6rs --install"
Added a `--collections' option to plt-r6rs which allows to specify the
directory where libraries are installed into.
2012-05-04 17:24:08 -04:00
Jose Antonio Ortega Ruiz
6f0e79feff
Fixes for trivial typos in Reference sec. 1.2.
...
(Eli: Ancient commit on the mailing list that wasn't merged... Most
things were already fixed.)
Signed-off-by: Jose Antonio Ortega Ruiz <jao@gnu.org>
2012-05-04 17:24:07 -04:00
Stephen Bloch
8f4178e7eb
Eli's suggested patch to enable searching for picturing-programs library
...
functions (which includes image and universe) using F1 from teaching
languages.
2012-05-04 14:56:28 -04:00
Matthew Flatt
9e657a2026
racket/draw: fix handling of font hinting
2012-05-04 11:19:01 -06:00
Matthew Flatt
0dbd3f1610
redex typesetting: make token splitter more tolerant
...
Possibily the typesetting enginer should reject an ill-formed
input, instead; I'm not sure what went wrong with the input.
2012-05-04 10:20:24 -06:00
Asumu Takikawa
f3b687c8ed
Add contract-add-context to contract system.
...
This procedure is used to add blame contexts to an
existing contract. This prevents the need to re-create
the contract in order to add blame contexts.
2012-05-04 02:52:46 -04:00
Matthew Flatt
4292c6e037
fix docs for `box-cas!', fix JITted version to check mutability
2012-05-03 21:38:36 -06:00
Matthew Flatt
19d474d045
fix some tests related to the make-color' and
make-pen' addition
2012-05-03 19:22:58 -06:00
Matthew Flatt
0d88a08c48
implement branch mode JIT generation for `box-cas!'
...
Also, move slow path into common code
2012-05-03 19:22:46 -06:00
Matthew Flatt
23d46620f2
documentation tweaks
2012-05-03 19:22:46 -06:00
Aaron Turon
868dcb6d57
Add box-cas!' and
unsafe-box*-cas!'.
...
These primitives atomically update a box to a new value, as long
as the current value is the same as a provided value. They also
are future-safe.
When futures are enabled, they use low-level hardware instructions
to perform the change atomically.
2012-05-03 19:19:24 -06:00
Asumu Takikawa
b211782bcd
Lift the use of (quote-module-name) by the default current-contract-region.
2012-05-03 19:47:24 -04:00
Stevie Strickland
b2bfbad240
Add special typechecking rule for expansion of (quote-module-name).
2012-05-03 19:38:47 -04:00
Asumu Takikawa
4651ccc0ad
Fix a TR issue with syntax-local-lift-expression
2012-05-03 19:36:32 -04:00
John Clements
9f9468f7c2
check-= uses magnitude to compare number differences
2012-05-03 10:55:49 -07:00
John Clements
721af649d7
reformatting
2012-05-03 10:55:49 -07:00
Matthew Flatt
5ffb9389ac
fix `raco setup' for splicing collections
...
Closes PR 12676
2012-05-03 11:11:38 -06:00
Matthew Flatt
1b0f6cc995
doc repair
...
Closes PR 12708
2012-05-03 11:11:38 -06:00
Robby Findler
f2816e72b4
fix proc-doc/names documentation
...
closes PR 12739
2012-05-03 11:36:09 -05:00
Jay McCarthy
0e628037ab
Changes re: jGc
2012-05-03 08:51:49 -06:00
Eli Barzilay
2fa345ef9e
Revise license page with the clarification text that was sent on the list.
...
(Slightly revised.)
2012-05-03 10:25:34 -04:00
Eli Barzilay
ed2b579e3c
Fail early on a non-pair input to `list-ref'.
...
There's no index that works with non-pairs, and the generic error
message in such cases is confusing.
Closes PR12740.
2012-05-03 10:24:05 -04:00
Eli Barzilay
1eed0c3d92
Improve the windows text a bit.
2012-05-03 10:24:05 -04:00
Eli Barzilay
97850b5002
No need to use a new 'at-exp-prop property to identify newlines
...
The information is already present in the 'scribble property, so use it
instead.
2012-05-03 10:24:05 -04:00
Eli Barzilay
5fd13c82c3
Recommend using racket' rather than
gracket-text' in the handin quickstart.
2012-05-03 10:24:05 -04:00
Eli Barzilay
68544f55c1
Link to racketcon from the community page.
2012-05-03 10:24:03 -04:00
Asumu Takikawa
efc581e831
Revise Getting Started based on feedback.
2012-05-02 22:59:06 -04:00
Asumu Takikawa
420b66ca4e
Add an example to scriblib/autobib docs.
2012-05-02 22:39:06 -04:00
Stevie Strickland
4d99b83df8
Removing mzlib/class-traced.
...
Both Carl and Matthias have signed off on removing this code.
2012-05-02 19:15:53 -04:00
Vincent St-Amour
376b31cf28
Use icons to distinguish optimizations from missed optimizations.
2012-05-02 17:54:29 -04:00
Vincent St-Amour
d04a1be7ea
Add lines to separate popup entries.
2012-05-02 17:48:57 -04:00
Vincent St-Amour
a2a60cb924
Fix TR test for new contract error message format.
2012-05-02 15:14:39 -04:00
Vincent St-Amour
a62444fa3e
Optimize integers used as sequences.
2012-05-02 15:14:37 -04:00
Matthew Flatt
68e005fb2c
racket/draw: make-immutable-{color,brush,pen} => make-{color,brush,pen}
...
Also, use keywords for `make-pen' and `make-brush'.
Adding `make-pen' and `make-color' creates many conflicts among
teaching libraries, such as `2htdp/image'. These are easy to fix
up in the tree, but adding such obvious names to `racket/draw'
may create other compatibility problems, so we might have to reconsider
the names.
In consultation with Asumu.
2012-05-01 21:04:40 -06:00
Asumu Takikawa
86a976531c
Fix plot to use immutable constructors.
2012-05-01 21:20:52 -04:00
Asumu Takikawa
8db45eb557
Add immutable constructors for color%, brush%, pen%
...
- Make set-immutable a local method and document
is-immutable? as a public method
- Add some racket/draw tests
2012-05-01 21:20:52 -04:00
Matthew Flatt
466ffadb12
racket/draw: use libpng15.so.15 when available
...
E.g., Mageia 2 has libpng15, not libpng12
2012-05-01 16:48:29 -06:00
Matthew Flatt
54a6ba8d36
racket/sandbox: change syntax-object wrappers generated for locations
...
Generate wrappers consistent with a reader-level absence of `.'s,
instead of wrapping every pair. This change fixes the `syntax-e'
example in the Guide's description of syntax objects.
2012-05-01 16:48:15 -06:00
Matthew Flatt
23296615ec
scribble/eval: change string or byte-string expression handling
...
Use `datum->syntax' instead of `begin' to protect the string or byte
string. Danny Yoo suggested this change.
2012-05-01 16:48:15 -06:00
Matthias Felleisen
e04b74f22a
fix mistake in memf documentation, Closes PR 12745
2012-05-01 16:48:17 -04:00
Asumu Takikawa
3db6d1c5b2
Fix REPL hyperlink in Getting Started.
2012-05-01 15:20:28 -04:00
Asumu Takikawa
1406354869
Update Getting Started page.
2012-05-01 14:57:47 -04:00
Asumu Takikawa
db02ad9b75
Add pointers to the Guide in Reference docs.
2012-05-01 14:57:14 -04:00
Matthew Flatt
4ac4e2e8d6
fix a problem with the "self" module path index
...
This bug was introduced recently by changes to support submodules.
Closes PR 12744 (and Robby had reported it earlier)
2012-04-30 23:37:20 -06:00
Neil Toronto
be49a59e4d
Added plot-x-tick-label-angle, plot-x-tick-label-anchor, and similar for y and far axes
2012-04-30 16:12:12 -06:00
Neil Toronto
3862faee64
Fixed discrete-histogram gap and bounds calculation, expanded docs
2012-04-30 14:15:18 -06:00
Robby Findler
05859765ad
change the contract opter so that unknown contracts don't pretend to be flat
2012-04-30 14:39:27 -05:00
Robby Findler
4694a9874f
added line numbers to the syncheck test cases (and removed bogus comment)
2012-04-30 14:39:27 -05:00
Vincent St-Amour
cda496d4ed
Doc fixes.
...
One is from Eric Hanchrow.
2012-04-30 14:13:32 -04:00
Matthew Flatt
eee60c7d47
fix a test suite to work on its own
2012-04-30 06:55:20 -06:00
Matthew Flatt
da103ddc16
remove obsolete and unused MysterX doc sources
2012-04-30 06:53:17 -06:00
Robby Findler
b66f716374
adjust the unit contract tests for the new contract error messages
2012-04-29 21:45:07 -05:00
Robby Findler
8739f15057
Adjusted contract error messages to say given/produced appropriately
...
(and generally cleaned up the way values are actually put into the
code, replacing some ~a's with ~e's and some Rackety)
2012-04-29 21:29:37 -05:00
Robby Findler
33613a75a6
add an example from Neil \bot to the discrete-histogram docs
2012-04-29 21:29:37 -05:00
Matthew Flatt
393a1f441a
scribble: for Latex, pick tt encoding of <, >, and | explicitly
2012-04-29 11:23:37 -06:00
Matthew Flatt
fc1089c842
scribble: change Latex rendering of empty hidden part titles
2012-04-29 10:37:11 -06:00
Stephen Bloch
c769481d9d
Previous commit mistakenly exposed a debugging function "show-cache".
...
It is no longer exported.
2012-04-29 07:31:17 -04:00
Stephen Bloch
ddde53bed4
Documentation for fold-image and fold-image/extra.
2012-04-28 18:09:57 -04:00
Stephen Bloch
2df9ca8789
Added fold-image and fold-image/extra functions, as well as tests for
...
them.
2012-04-28 18:09:57 -04:00
Stephen Bloch
656713cbcf
Enlarged cache for get-pixel-color from one image to 3, so you can
...
alternate among three images without thrashing and re-rendering.
2012-04-28 18:09:57 -04:00
Matthias Felleisen
f95798c7b5
use deprecated from manual for teachpacks
2012-04-28 13:25:33 -04:00
Matthias Felleisen
2992fa122d
use deprecated from manual, deprecate 'deprecate' in common
2012-04-28 13:25:32 -04:00
Matthias Felleisen
9ef66b80ea
add a form to declare a module/library deprecated
2012-04-28 13:25:32 -04:00
Robby Findler
98e06248b5
properly deal with menu shortcuts that are symbols (e.g., 'f1) in
...
the "Show Active Keybindings" menu item
closes PR 12737
Thanks to Laurent Orseau for the fix!
2012-04-28 08:52:13 -05:00
Danny Yoo
a067380622
small typo
2012-04-28 05:27:34 -04:00
Eli Barzilay
16d40c3170
Fix command-line for the demodularizer.
...
Closes PR 12731.
2012-04-28 05:23:43 -04:00
Eli Barzilay
890de3af6c
Move the honu code for vim to collects/meta.
2012-04-28 05:23:43 -04:00
Eli Barzilay
904d2666aa
Completions for zsh.
2012-04-28 05:23:43 -04:00
Eli Barzilay
de98df327c
Typo (but these requirements should be eliminated eventually).
2012-04-28 05:23:43 -04:00
Robby Findler
9288fda689
set the timeout for the easter-egg test to double what it takes on my machine
2012-04-27 14:52:19 -05:00
Robby Findler
1ff580d06a
add deprecation note to htdp/image
2012-04-27 14:52:09 -05:00
Asumu Takikawa
cd67536738
class/c: allow local method names
...
Prior to this change, a method/field name defined with
define-local-method-name was not contractable.
2012-04-27 13:00:48 -04:00
Matthew Flatt
393e8b90b2
fix sorting bug in bytecode submodule table
2012-04-26 21:45:00 -06:00
Matthew Flatt
f099eec2af
save modidx submodule path in bytecode form
...
This change should have been part of 9ba663aa77
.
2012-04-26 21:45:00 -06:00
Jon Rafkind
976be2b8c9
[honu] typo in parenthesis name for the color lexer
2012-04-26 21:11:56 -06:00
Jon Rafkind
565e844228
[honu] add vim syntax file for honu
2012-04-26 18:00:46 -06:00
Matthew Flatt
e1b180ee17
honu: add `error' to compile time
2012-04-26 17:59:19 -06:00
Matthew Flatt
563909c328
scribble/bnf: add `BNF-seq-lines'
2012-04-26 17:59:19 -06:00
Asumu Takikawa
0ea558a463
class/c: fix interaction w/ absent and #:opaque
2012-04-26 14:45:50 -04:00
Asumu Takikawa
841b190ef7
Fix local member info leak due to opaque class/c
...
Prior to this change, the use of opaque class contracts
could reveal the printed names of local members names
in a class.
2012-04-26 14:45:50 -04:00
Matthew Flatt
5e4b9e3aca
racket/draw: pens and brushes from lists should be immutable
...
Closes PR 12732
2012-04-26 08:45:17 -06:00
Matthew Flatt
a8ca75b773
fix documentation example for `protect-out'
...
The example relied on the current code inspector affecting
syntax object created during `eval', but since the switch
from certificates to taints, the relevant code inspector is
determined by the namespace, and a namespace gets its code
inspector at creation time.
Closes PR 12717
2012-04-25 19:54:00 -06:00
Matthew Flatt
fc7f6bbe0f
racket/gui: add a 'no-icon style for `message-box'
2012-04-25 19:32:58 -06:00
Matthew Flatt
d6a57e073c
racket/draw win32: change default font for 'script
2012-04-25 19:17:16 -06:00
Matthew Flatt
9c025210aa
racket/gui win32: font fallback for labels
...
When the requested font isn't available, fall back to
the default font at the requested size and style
2012-04-25 19:17:16 -06:00
Matthew Flatt
418a3cd83b
racket/draw cocoa: adjust default 'script font
...
Also, adjust the way a font is converted for control labels to
strp away Pango descriptions.
2012-04-25 19:17:16 -06:00
Stephen Bloch
2d2f013465
Updated some comments; no effect on running code.
2012-04-25 17:05:56 -04:00
Stephen Bloch
924d510746
Changed the transparency of some bundled images.
2012-04-25 17:04:39 -04:00
Jay McCarthy
5c64e251e1
Fix PR 12694
2012-04-25 06:57:24 -06:00
Matthew Flatt
ffea2b2c02
ffi/unsafe/com: infer 'any type for `com-omit'
2012-04-25 00:11:57 -06:00
Matthew Flatt
9ba663aa77
preserve submoduleness in module path index for expanded submodules
...
The preserved path is exposed by a new `module-path-index-submodule'
function, and `module-path-index-join' now accepts an optional
submodule path.
Also, fixed a problem with `collapse-module-path-index' when
a module path indx is built on a resolved module path that
is a submodule path.
In addition to the main repair, `collapse-module-path[-index]' is
correctly documented to allow '(quote <sym>) rel-to paths.
Finally, `collapse-module-path-index' changed to use a symbolic
resolved module path that appears as the base of a module path
index, rather than falling back to the given rel-to path. It's
possble that the old beavior was intentional, but it wasn't tested,
and it seems more likely to have been a bug.
Closes PR 12724
2012-04-24 21:10:28 -06:00
Matthew Flatt
3c615e434b
fix resolution of relative module path in a submodule
...
Closes PR 12729
2012-04-24 16:15:29 -06:00
Robby Findler
57cae5c85b
added a skeleton 2htdp/image guide section
2012-04-24 16:11:17 -05:00
Jay McCarthy
ae38ecc564
Adding new options re Galler
2012-04-24 14:49:33 -06:00
Asumu Takikawa
555f85ac3a
Add missing method contracts for color%
2012-04-24 10:08:46 -04:00
Asumu Takikawa
1207ca77c4
Hide internal fields in color% and point%.
2012-04-24 10:08:46 -04:00
Stephen Bloch
ba8684cb63
provide provide, so it's possible to use provide and require in
...
student languages. This will be a problem if somebody writes a
function in BSL or BSLLA, provides it, requires it in a non-student
language, and uses it as an argument to a higher-order function
that isn't declared as a "higher order primitive". That is,
not very often. Even if so, just re-open the BSL or BSLLA source
file, switch languages to ISL, save it, and the problem goes away.
2012-04-24 06:37:51 -04:00
Matthias Felleisen
3e1e9c8763
removed code:comment hack that clearly never should have been there
2012-04-23 20:01:58 -04:00
Jon Rafkind
40a3161570
[honu] always keep parsing a unary operator
2012-04-23 17:18:12 -06:00
Jon Rafkind
4799d08022
[honu] dont splice the output of a macro directly into the output
2012-04-23 17:18:12 -06:00
Robby Findler
80d57148d1
fix bug in docs; closes PR 12716
2012-04-22 21:54:19 -05:00
Robby Findler
723ad6207c
add opening a file (and (hopefully) waiting for the coloring to finish)
...
and run the test three times, instead of just once
2012-04-22 08:57:50 -05:00
Robby Findler
fa7d78949e
improve recursive-contract so that it doesn't expand into as much code
...
and it has a more accurate stronger? predicate (as the new blame info
tracking stuff broke its earlier stronger? predicate)
2012-04-21 22:03:41 -05:00
Robby Findler
0621c150ec
added opters for real?, listof, and non-empty-listof
2012-04-21 16:56:24 -05:00
Robby Findler
17a723a63e
Improve the contract error messages:
...
- add context information, so we can see which part of the contract failed
- re-arrange some of the information in the contracts
2012-04-21 16:55:03 -05:00
Jon Rafkind
32a2339d04
[honu] dont create unique ids for struct fields
2012-04-20 14:08:36 -06:00
Jon Rafkind
9858ec72d2
[honu] allow syntax() form to accept a single term. provide some hash stuff
2012-04-20 14:08:36 -06:00
Jon Rafkind
b51ab5802a
[honu] replace $ with honu-$ just to be safe
2012-04-20 14:08:36 -06:00
Jon Rafkind
79b6e5611e
[honu] dont confuse identifiers with $. use = in with-syntax
2012-04-20 14:08:36 -06:00
Jon Rafkind
bb57412242
[honu] check for definitions before continuing to parse. completely parse the left hand side of an operator
2012-04-20 14:08:36 -06:00
Matthew Flatt
6dc3fbb72c
fix doc picto
2012-04-20 12:27:29 -06:00
Eli Barzilay
457908061f
Typo in the name for x86_64-osx-mac.
2012-04-19 21:53:42 -04:00
Asumu Takikawa
0b90dc49cf
Fix docs for render-term.
2012-04-19 17:37:12 -04:00
Eli Barzilay
2b76d9e5b0
A bunch of scheme' ->
racket' conversions.
...
I think that there are no user-visible changes from these changes.
2012-04-19 16:02:03 -04:00
Eli Barzilay
6f215759ae
Add string-trim' and
string-normalize-spaces'.
2012-04-19 16:02:03 -04:00
Eli Barzilay
e2e2a1e3e1
Some cleanups to "script.html".
...
Closes PR 12464.
2012-04-19 16:02:03 -04:00
Matthew Flatt
659ff05143
refine some contracts related to submodule paths
...
Merge to 5.3
2012-04-19 12:45:28 -06:00
Matthew Flatt
8600e7fe31
fix misplaced phase shift in submodule expansion
...
Merge to 5.3
2012-04-19 12:45:28 -06:00
Sam Tobin-Hochstadt
fdb4ab7025
Handle `check-expect' in non-application form.
...
Closes PR 12710.
2012-04-19 12:50:25 -04:00
Matthew Flatt
862e1628a6
fix Planet resolver for submodule tests
...
For example, `(module-declared? '(submod (planet dyoo/bf) reader) #t)'
shouldn't fail if there's no "main.rkt" to hold a `reader' submodule;
it should return #f.
Merge to 5.3, but updating cstartup.inc will require a manual merge.
2012-04-19 08:15:11 -06:00
Matthew Flatt
81eb15f655
doc correction
2012-04-19 08:15:11 -06:00
Stevie Strickland
95d784db84
Fix a ->d contract example in the reference.
2012-04-18 17:42:14 -04:00
Sam Tobin-Hochstadt
0b7674cb06
Describe `cl' syntax class in match.
...
Closes PR 12657. Merge to 5.3.
2012-04-18 17:03:17 -04:00
Stevie Strickland
d76b0dac78
Fix contract names for ->m, ->*m, case->m, and ->dm contracts.
...
This should be merged into the 5.3 release branch.
2012-04-18 15:27:36 -04:00
Robby Findler
81252541dc
add context to blame error messages
...
This is using the same idea that Stevie had, more than two
years ago(!). Sorry for not picking up on this earlier
2012-04-17 22:57:57 -05:00
Eli Barzilay
1c9de39348
Rename #:gap-select' ->
#:gap-select?' and some minor doc fixes.
2012-04-17 15:56:10 -04:00
Eli Barzilay
a14569bfe3
Web pages tweaks.
...
* Add a reference from the community page to the bug reports page.
* Make it possible to subscribe to lists right from the community page.
Improve the email input boxes with placeholder text and a short
explanation on hovering.
2012-04-17 14:04:57 -04:00
Eli Barzilay
115a3dfbac
Make it possible to run each scribble test file by itself.
2012-04-17 14:04:57 -04:00
Eli Barzilay
7360c4c3c2
Add a blurb on names in the json library.
2012-04-17 14:04:57 -04:00
Vincent St-Amour
8cbd26899f
Include both float zeroes in Non-Negative and Non-Positive types.
...
Closes PR12706.
2012-04-16 17:51:04 -04:00
Matthew Flatt
1bcf56f5e9
fix problem with continuations and `call-in-nested-thread'
...
Closes PR 12705
Merge to 5.3
2012-04-16 13:33:50 -06:00
Matthew Flatt
38e628be80
ffi/com: add support for type descriptions on values
2012-04-16 08:47:13 -06:00
Matthew Flatt
ff378d12ce
fix interaction of delimited continuations and stack overflow
...
Closes PR 12702, 12704
Merge to 5.3
2012-04-15 05:37:45 -06:00
Matthew Flatt
b09870cf7e
racket/draw: fix result on non-void `record-dc%' methods
...
Merge to 5.3
2012-04-15 05:37:44 -06:00
Matthew Flatt
4179cbfa63
enforce ranges on all integer types
...
DO NOT merge to 5.3
2012-04-15 05:37:44 -06:00
Matthew Flatt
57f101c74c
fix contract in docs
...
Merge to 5.3
2012-04-15 05:37:44 -06:00
Matthew Flatt
6566bf5d15
fix most-negative number and _int64 on a 64-bit platform
...
Closes PR 12703
Merge to 5.3
2012-04-15 05:37:44 -06:00
Matthew Flatt
2d6073f59f
docs: will executors are synchronizable events
...
Merge to 5.3
2012-04-15 05:37:35 -06:00
Ryan Culpepper
9f492c10a7
db: fix mysql large blobs, other changes
...
MySQL:
- support multi-packet data rows
- fixed very old length-coding bug (24 vs 32 bit length)
- support large params via long-data packets
- 'any' pseudo-type for parameters
- distinguish 'blob'/'text', 'var-string'/'var-binary'
- read 'text' results as string, not bytes
SQLite3:
- enabled sql types tests
2012-04-14 19:47:32 -06:00
Ryan Culpepper
2dadc4dbac
syntax/parse: increase timeout for stress-template
2012-04-14 19:47:31 -06:00
Ryan Culpepper
5d49663b83
added begin-on-demand (combo of module* and lazy-require)
2012-04-14 17:16:01 -06:00
Robby Findler
7bd1d5ed9b
fix the contract-name accessor for struct/dc contracts
2012-04-14 15:14:21 -05:00
Robby Findler
0b71ebecaf
adjust the way 'new' is laid out in the documentation to be more DrRacket-like
2012-04-14 14:54:19 -05:00
Robby Findler
2d08319b6c
mirror an earlier optimization in opt/c whereby (-> any/c ... any)
...
just turns into an arity check
2012-04-13 20:04:23 -05:00
Robby Findler
9344a7a242
fix chaperone-contract? on opt/c-produced contracts
2012-04-13 10:09:55 -05:00
Robby Findler
35e818ae50
the autosave file might be deleted by the user after it is created
...
the first time but before the file is actually saved. guard against that.
closes PR 12698
2012-04-13 10:04:25 -05:00
Robby Findler
5e03c7cf99
Added struct/dc and cleaned up a bunch of stuff in the contract
...
library (mostly in opt/c)
Specifically:
- add inlining declaration for ->i helper function
- modernized the opt/c contracts and improved them so that mutually
recursive define-opt/c functions recognize each other instead of
bailing out to the slow path.
- added =/c as an optimized contract
- improve the error message for the between and comparison opt
contracts
- adjust the blame struct so the name is created lazily, since opt/c
contracts just stick a copy o the contract into the thunk that
creates the name and we don't want to run those effects twice if we
can help it.
2012-04-12 22:49:50 -05:00
Sam Tobin-Hochstadt
fdb70316f1
Fix documentation for `implies'.
2012-04-12 16:28:52 -04:00
Jon Rafkind
c390d96780
[honu] only allow semicolons in expression sequence position
2012-04-12 12:50:44 -06:00
Jon Rafkind
fa8377883d
[honu] explicitly check for commas when parsing a comma separated expression sequence
2012-04-12 12:50:44 -06:00
Matthew Flatt
c695727aec
ffi/unsafe/com: fix arrays of 'any
2012-04-11 19:12:32 -06:00
Matthew Flatt
89307edbce
ffi/unsafe/com: avoid inclusion of no-error result code in error messages
...
Merge to 5.3
2012-04-11 17:55:12 -06:00
Matthew Flatt
bcb22a3adb
ffi/unsafe/com: repair for optional `any' arguments
...
Merge to 5.3
2012-04-11 17:49:08 -06:00
Matthew Flatt
c5e5a0349a
add #:line-number-sep' to
codeblock'
2012-04-11 11:49:01 -06:00
Matthew Flatt
7b322c151d
fix `record-dc%' test
...
Merge to 5.3
2012-04-11 11:49:01 -06:00
Matthew Flatt
3ecf06a8ba
generalize `xml/plist' to read/write any plist value
...
Merge to 5.3
2012-04-10 16:38:54 -06:00
Matthew Flatt
1914345af4
fix submodule re-`expand' problem
...
Closes PR 12691
Merge to 5.3
2012-04-10 15:57:50 -06:00
Matthew Flatt
c64c55b86f
fix mzlib contract name test
...
Merge to 5.3
2012-04-10 15:57:50 -06:00
Ryan Culpepper
211e382a70
syntax/parse: update phase discussion with begin-for-syntax
...
merge to 5.3
2012-04-10 15:50:32 -06:00
Ryan Culpepper
096e3d689b
increase drdr timeout for template stress test
...
merge to 5.3
2012-04-10 15:50:32 -06:00
Ryan Culpepper
b19c982faf
change db collect to be part of "mz" ("textual") distribution
...
merge to 5.3
2012-04-10 15:50:32 -06:00
Jon Rafkind
76632c7914
[honu] ignore parse-error tokens when building the first syntax tree
2012-04-10 13:33:06 -06:00
Kevin Tew
e3c54d6510
[Distributed Places] white space fixes
2012-04-09 13:20:27 -06:00
Kevin Tew
823c091e8b
[Distributed Places] cleanup docs
2012-04-09 13:15:00 -06:00
Kevin Tew
033cdc1413
[Distributed Places] add solo connections and tcp-connection-died handler
2012-04-09 13:15:00 -06:00
Kevin Tew
ee463056a8
[Distributed Places] fully connected network patch
2012-04-09 13:15:00 -06:00
Kevin Tew
394373ab2d
[Distributed Places] Merge place and connection
2012-04-09 13:15:00 -06:00
Jay McCarthy
4f8a13062f
Fixing PR 12690
2012-04-09 12:53:30 -06:00
Matthew Flatt
104e70bf65
fix JIT bug related to list-ref' and
list-tail'
...
Closes PR 12688
2012-04-08 17:16:36 -06:00
Matthew Flatt
f968ca3db6
add `gc-info' to doc index
2012-04-08 17:16:36 -06:00
Vincent St-Amour
f3bbe1914d
Improve type for expt.
2012-04-08 13:08:17 -04:00
Asumu Takikawa
c40ce285cf
Tweak snip/draw contracts for better error messages.
...
This commit names some intermediate class contracts,
which now print better due to a recent change by Robby.
2012-04-08 12:45:42 -04:00
Asumu Takikawa
a376725c77
Move draw/snip contracts to private/
2012-04-08 12:28:22 -04:00
Matthew Flatt
2bdcdbb197
racket/draw, racket/gui: modernize contracts, mostly in documentation
...
Use `or/c' instead of `one-of/c', `#f' instead of `false/c'.
2012-04-06 18:51:10 -06:00
Matthew Flatt
971bee1d4b
fix docs for `dump-memory-stats'
2012-04-06 18:51:10 -06:00
Matthew Flatt
351e82735b
move and rename pict `convert' support
...
Renamed `convert' to `pict-convert', etc., to avoid confusion
with `file/convert' bindings.
Moved out of `slideshow/pict' to `slideshow/pict-convert', because
most `slideshow/pict' clients do not need it.
2012-04-06 18:51:10 -06:00
Robby Findler
1a9ab0b018
made class/c use the name from the context for the name of the contract, when available
2012-04-06 16:21:10 -05:00
Robby Findler
483dde9ea8
add keywords as values that coerce into contracts
...
adjust 'one-of/c' and 'symbols' so they just use or/c (when possible)
improve or/c's stronger check so that, in the case that or/c is
getting eq or equal contracts, or/c's stronger check is as good as
'symbols'/'one-of/c's stronger check is.
2012-04-06 16:21:07 -05:00
Jon Rafkind
bbc806732c
[honu] always reparse the output of honu-expression. provide honu-comma so that it works with literal sets
2012-04-06 12:36:19 -06:00
Jon Rafkind
6531ce7547
[honu] use a local macro inside a where expression
2012-04-06 12:36:18 -06:00
Sam Tobin-Hochstadt
0b3ac2b378
Add Mozilla to supporters, add links.
2012-04-06 10:24:58 -04:00
Sam Tobin-Hochstadt
1abb027fc7
Fix Typed Racket build with contracts enabled.
2012-04-06 10:24:49 -04:00
Robby Findler
23b9d8472f
removed printf
2012-04-06 07:51:03 -05:00
Robby Findler
aaa15946fc
contract stronger fix for contract structs
2012-04-05 23:18:22 -05:00
David Van Horn
f6a8024aed
Fix documentation link for provide in eopl (mzscheme => racket).
...
Closes PR12681.
2012-04-05 23:24:43 -04:00
Vincent St-Amour
e26201b4f6
Fix type of * with no arguments.
...
Closes PR 12679.
2012-04-05 19:18:20 -04:00
J. Ian Johnson
3caf0aca23
Sort bibliographies by authors' last names.
...
(Tweaked by Vincent.)
2012-04-05 19:04:54 -04:00
Robby Findler
a475c078e2
add splicing-syntax-parameterize to the default indentation prefs
2012-04-05 17:34:45 -05:00
Robby Findler
ada5382bea
adjust the docs for response/xexpr so that it shows up as coming from
...
web-server as well as web-server/http/xexpr
2012-04-05 17:08:47 -05:00
Matthew Flatt
9d563c786a
racket/gui, win32: fix problem with modal dialogs
...
Although most events in other frames were blocked, it was
possible to bring other frames to the front and to select
menu items in other frames.
2012-04-05 06:58:53 -06:00
Matthew Flatt
20256a3f15
scribble: add 'block style for `table'
2012-04-05 06:58:53 -06:00
Robby Findler
526b659616
account for long search strings when opening the results window
...
in "search in files"
closes PR 12673
2012-04-05 07:29:40 -05:00
Robby Findler
aa8b280f1c
adjust the splay tree implementation so that it creates fewer cons
...
cells when searching in the tree
Two tricks: represent lists of nodes as improper lists so singleton
lists don't allocate a cons and pass around two accumulators that
correspond to the hd & tl of a path, instead of cons'ing that up
into a list and them immediately taking it apart again
measurement: when starting up drracket with
collects/drracket/private/unit.rkt and then waiting for the colorer to
finish, and then inserting an open quote right before the first open
quote in the file (and waiting again for the colorer to finish)
creates 249000 cons cells before this change and 116000 after this
change
After a little more work, I'm pretty much convinced that this was
the wrong approach and that the splaying implementation should just
change to not allocate the paths into lists at all, thus removing
the other 116k cons cells. (I plan to get to this another day;
it should not be difficult now that I roughly understand how these
things work.)
I also looked into top-down splaying and found these notes to
be illuminating:
http://digital.cs.usu.edu/~allan/DS/Notes/Ch22.pdf
They essentially convinced me that we cannot use top-down splaying
here, since the "reassembling" stage requires moving some arbitrary,
unexplored subtree from a right-child to a left-child, and thus the
left-subtree-length cannot be updated properly.
2012-04-05 07:14:52 -05:00
Matthew Flatt
a984f68a46
gui-debugger: update for submodules
...
Closes PR 12668
2012-04-04 07:50:41 -06:00
Matthew Flatt
16d65ed251
fix `raco demod' for new submodule fields in zo structs
2012-04-04 07:37:30 -06:00
Matthew Flatt
e62f812941
ffi/com: fix another GC problem, this time related to custodians
2012-04-04 07:16:50 -06:00
Matthew Flatt
522a92970e
ffi/com: fix GC issue related to COM events
2012-04-04 07:00:25 -06:00
Eli Barzilay
8934b64beb
Remove bold leftover reference to "search.html".
...
(This was using the custom google search, which is no longer maintained.)
Closes PR 12671.
2012-04-04 02:52:51 -04:00
Danny Yoo
8f2ea07ec5
Optimize cpt-table-lookup
...
(Tweaked by Eli.)
2012-04-04 02:52:51 -04:00
Rodolfo Henrique Carvalho
b87c2a18a4
Fix typo.
2012-04-04 02:52:51 -04:00
Matthew Flatt
6afc9d5e8c
racket/gui: fix reparent' with a
pane%' target
2012-04-03 18:36:28 -06:00
Matthew Flatt
89ef600b6e
ffi/unsafe/com: com-object->eq?' implies
equal?'
2012-04-03 18:36:27 -06:00
Matthew Flatt
e05e549021
streamline `vectorof' contact implementation
...
Saves about 10% in a benchmark that applies a
`vectorof' contract frequently.
2012-04-03 18:36:27 -06:00
Robby Findler
5dad811a5d
rackety
2012-04-03 17:08:00 -05:00
Robby Findler
404b4da138
avoid allocation for 'paren' structs
2012-04-03 17:08:00 -05:00
Stevie Strickland
f37ff698b4
Rewrite hash-keys so that only keys, not values, are accessed.
...
This distinction is important after the introduction of chaperones and
impersonators, since accessing a key and accessing its corresponding value
may have different effects, and hash-keys should only trigger the former.
2012-04-03 12:52:03 -04:00
Matthew Flatt
d635b93644
slideshow/pict: sync text' size limit with
font%'
2012-04-02 16:45:37 -06:00