Jay McCarthy
dfb4bc112d
Removing the thread previously introduced which is now no longer necessary given the real problem
2012-03-23 10:47:56 -06:00
Jay McCarthy
9b579d8c2a
Fixing the error message from PR12443
2012-03-23 10:44:43 -06:00
Jay McCarthy
99f1cc44df
redex-match violates its documented contract
...
This patch fixes the problem that the hole matcher may return an empty
list rather than a #f that gets sent to the caller of redex-match. I
re-ran the Redex tests and found no violations. However, I am not
confident that there isn't a more correct place to put this '() -> #f
replacement.
I will be immediately forwarding this push email to Robby to have him
check it.
2012-03-23 06:39:14 -06:00
Matthew Flatt
523ccff762
minor doc improvements
2012-03-22 19:19:33 -06:00
Matthew Flatt
ae89e210fb
allow (submod "..")' as a shorthand for
(submod "." "..")'
...
Also, `(submod ".")' is allowed as a module path; it's not useful,
but it makes the grammar slightly more regular.
2012-03-22 18:43:11 -06:00
Matthew Flatt
876bc6f02b
doc corrections and improvements related to submodules
...
In particular, add `module+' to the Guide.
2012-03-22 15:12:55 -06:00
Kevin Tew
d4d5ca70fb
Hold reference to original thread during BEGIN_ESCAPABLE in place-channel sync
...
Fixes several bugs related to killed threads that were in the middle of
syncing on place-channels.
2012-03-22 14:52:48 -06:00
Matthew Flatt
c1dbaff6b8
revise phases section in small ways to match the guide's style
2012-03-22 12:41:55 -06:00
Matthew Flatt
5cb3422ea9
semi-export ability to extract multiple images from gif
2012-03-21 19:37:46 -06:00
Robby Findler
1b0df5d48d
fix rotate so that it can accept non-integral arguments
...
closes PR 12632
2012-03-21 19:45:45 -05:00
Ryan Culpepper
74ca931f5a
more template improvements
...
- loosen pattern variable depth rules (now compatible with syntax)
- generalize ?? form to head-templates
- doc improvements
- propagate paren-shape property
2012-03-21 17:48:10 -06:00
Ryan Culpepper
df265ddc67
syntax/parse: eliminate old minimatch struct syntaxes
2012-03-21 17:33:08 -06:00
Ryan Culpepper
6c369f2563
updates to syntax/parse/experimental/template
...
- changed substitute to use closure-compilation
- added stress/perf test for templates
- updated minimatch with vector patterns
- split substitute into separate file, minimize dependencies
- do ellipsis optimization dynamically
- validate guides: check var indexes
2012-03-21 17:33:08 -06:00
Robby Findler
f77467311a
specify 'angle's range
2012-03-21 16:59:53 -05:00
Jon Rafkind
a606f6614b
[honu] add two more tests
2012-03-20 11:32:46 -06:00
Jon Rafkind
918c87e96b
[honu] return the current expression when a semicolon is parsed
2012-03-20 11:32:46 -06:00
Matthew Flatt
47ae2b387a
fix shaodwing problem in `module*'
2012-03-20 07:28:35 -06:00
Matthew Flatt
5551e287da
fix typo
2012-03-19 14:34:33 -06:00
Sam Tobin-Hochstadt
56120d9697
Fix types for regexp-match*' and
regexp-match-positions*'.
...
Note that the keyword arguments themselves are not yet typed.
2012-03-19 15:59:34 -04:00
Vincent St-Amour
999de5a488
Fix bug in autobib's handling of urls.
2012-03-19 11:10:22 -04:00
Robby Findler
9bc1684c9b
fix problems with user-defined keybindings and the example in the docs
...
as reported on the dev mailing list by António Menezes Leitao
2012-03-19 09:58:59 -05:00
Ryan Culpepper
8392f20b8f
db: fix async test for mysql
2012-03-18 04:57:41 -06:00
Ryan Culpepper
c10bf245c5
db: fix mysql close-on-exec slowdown (TCP issue)
2012-03-18 03:31:17 -06:00
Ryan Culpepper
6b02b507a9
macro-debugger: fix parser for local-actions in mod pass 2
2012-03-18 03:31:17 -06:00
Ryan Culpepper
71772ba6c0
macro-debugger: internal debugging improvements
2012-03-18 03:31:17 -06:00
Robby Findler
4fe8cd344c
disable the drracket toolbar buttons for scribble/lp files
2012-03-17 19:24:33 -05:00
Robby Findler
9d43203990
adjusted the render-* functions so they produce .pdf if the given
...
filename ends with #rx#"[.]pdf".
2012-03-17 08:36:34 -05:00
Jay McCarthy
145efa622e
Adding #lang web-server/base
2012-03-16 11:54:46 -06:00
Jay McCarthy
a55029cf76
Fixes PR12638
2012-03-16 11:54:46 -06:00
Kevin Tew
666c0fdb57
Fix sync/timeout hang due to place channels
2012-03-16 08:18:05 -06:00
Eli Barzilay
f3a21c6aba
Remove typed versions of the cgi exceptions.
2012-03-16 03:45:35 -04:00
Eli Barzilay
9d239170cf
Add to/from bytes functions to the json library.
...
Also add a distribution specs line.
2012-03-16 02:55:35 -04:00
Eli Barzilay
818e434c60
Remove no-longer used net/cgi exceptions.
2012-03-16 02:55:35 -04:00
Jay McCarthy
03d3a8f429
Clarifying what #lang web-server has
2012-03-15 12:03:34 -06:00
Ryan Culpepper
e13cce267d
macro-debugger: workaround for instrumentation problem in provide
...
The expansion observer is not propagated to expand_all_provides.
2012-03-14 23:19:25 -06:00
Ryan Culpepper
4b6c71eaae
macro-debugger: improve internal error debugging support
2012-03-14 23:03:47 -06:00
Ryan Culpepper
57bdb62547
macro-debugger: fix deriv parser for begin-for-syntax
2012-03-14 22:25:42 -06:00
Jay McCarthy
aaf53cb1d2
Fixing recent errors
2012-03-14 13:04:30 -06:00
Jay McCarthy
240dbc3c3d
Renaming slice usage
2012-03-14 12:46:25 -06:00
Ryan Culpepper
a564110c08
syntax/parse: change expectstack rep to reduce/consolidate allocations
2012-03-13 19:50:09 -06:00
Ryan Culpepper
5db8553ea1
syntax/parse: expect:thing stores stx being matched
2012-03-13 19:50:09 -06:00
Ryan Culpepper
6cf3127cf9
syntax/parse: put failure information in syntax exn
2012-03-13 19:50:08 -06:00
Ryan Culpepper
e41ff8609c
db: trim todo file
2012-03-13 19:50:08 -06:00
Ryan Culpepper
1b7368f80c
db: fix memory leaks
...
- sqlite3: table prevented pst gc unless close-on-exec
- statement cache wrongly disabled close-on-exec
(not a leak, just gc'd very slowly)
- limit statement cache size
2012-03-13 19:50:08 -06:00
Matthew Flatt
01f1fd56b4
adjust cm to not cmopile when it's not supposed to use source
2012-03-13 18:46:28 -06:00
James Ian Johnson
6e7fb4e7ef
Bibliographies had a nondeterministic render order. Fixed. Added tests for disambiguation.
2012-03-13 18:38:31 -04:00
James Ian Johnson
337be4a677
It was possible for a multi-citation to be ambiguous and mention a something not referenced anywhere else. Added a safeguard so that the citation hash is properly populated.
2012-03-13 18:38:30 -04:00
James Ian Johnson
2c63ce2286
Added the ability to disambiguate between citations using autobib.
2012-03-13 18:38:30 -04:00
James Ian Johnson
f3dc5796be
Better disambiguation for autobib. Delays rendering bib elements because the disambiguation must be accounted for.
2012-03-13 18:38:30 -04:00
James Ian Johnson
6f1c6b7d92
Added the ability to disambiguate between citations using autobib.
2012-03-13 18:38:30 -04:00
Robby Findler
ac99b732fa
fix missing #:eval in redex tutorial
2012-03-13 16:44:38 -05:00
Matthew Flatt
99639c1999
errortrace repair
...
Closes PR 12629
2012-03-13 14:35:49 -06:00
Matthew Flatt
415b1eabc4
more load[/use-compiled] handler fixes for submodules
...
Closes PR 12630
2012-03-13 14:31:40 -06:00
Matthew Flatt
e01ebf6095
try module+' in place of
slice'
2012-03-13 14:31:40 -06:00
John Clements
8d6e9e79a4
cleanup and refactoring of run-teaching-program, minor teachpack stepper fix
...
It looks like run-teaching-program hasn't been touched in quite a while.
To begin with, the "rewrite-module" function used to add code to print
out values of non-define exprs, but this is no longer necessary. In fact,
the only thing that it does now is to discard "provide" statements, and
even this may be unnecessary. I rewrote big chunks of this (short) file
to introduce defines, eliminate unnecessary functions, and add stepper-
skip-completely annotations to the requires associated with teachpacks.
Also, it appears that the 'rep' argument to expand-teaching-program
was entirely superfluous; I removed it from the argument list, and also
from the three places in the main tree (deinprogramm, lang, and the stepper)
that call this function.
Let me know of any problems seen with teachpack requires....
2012-03-13 12:09:41 -07:00
Robby Findler
4b18db1809
special case string snips that contain only newlines. This gets an
...
extra 1/2 megabyte is savings when opening up unit-size.rkt
2012-03-13 10:15:07 -05:00
Eli Barzilay
b2d2e533f9
More changes to platform names.
2012-03-13 10:29:14 -04:00
Matthew Flatt
1228770550
Modernize platform names, especially for Mac OS X.
2012-03-13 10:29:14 -04:00
Eli Barzilay
540213236a
Major code revision for the json library.
...
* Modernize, improve, reformat, reorganize, etc.
* Use 'null as the default translation for json `null'. Add keyword
`#:null' arguments to control it, and a `json-null' parameter to
change the default. (Note that there is no ambiguity: symbols are
used in hash keys, and JSON restricts them to always be strings, so
`null' can never be a hash key.)
* Properly decode double \u-escape sequences (as UTF-16 surrogate
pairs).
* Add a keyword option to do more string encoding of all non-ASCII
characters.
* Rename `json->jsexpr' (and other way) to `string->jsexpr'. This is
because (a) after using it for a while I still can't remember which
side is which and a `string' in the name makes it clear, (b) it
follows the similar `xexpr' functions.
2012-03-13 10:29:14 -04:00
Eli Barzilay
a4ba7c8ebc
Some semi-quick tests for the json code.
...
(With some items that need to be done.)
2012-03-13 10:29:14 -04:00
Eli Barzilay
b35d1b01b2
Initial import of Dave Herman's json library.
...
This commit has the unmodified original.
2012-03-13 10:29:14 -04:00
Eli Barzilay
0eb5f09e23
Add #:match-select' and
#:gap-select' keyword arguments to
...
`regexp-match*', and the two `-positions' variants.
2012-03-13 10:29:14 -04:00
Eli Barzilay
f538c2e076
Fix a macro problem in "racket/private/string.rkt".
...
`port-success-k' is used in a single place, and instead of a simple
`lambda' expression it was used with (and ... (lambda ...)), which lead
to duplication of code. Instead, move the question into the
`regexp-loop' macro. (The compiled zo file is indeed smaller after this
change.)
2012-03-13 10:29:14 -04:00
Tom McNulty
14084d560d
Add function binding-assq-all to request-structs.rkt
2012-03-13 10:29:14 -04:00
James McCoy
89234bde9e
racket/draw: Check for libjpeg.so.8 on unix
2012-03-13 10:29:14 -04:00
Eli Barzilay
f3bb8c7104
This text is not linked from anywhere, and superseded by the guidelines
...
that Matthias maintains.
2012-03-13 10:29:14 -04:00
Eli Barzilay
43ef402274
Don't compile test files.
...
(Didn't touch the tiny "test-docs-complete" tests.)
2012-03-13 10:29:13 -04:00
Eli Barzilay
db2da10894
Improvements to the "support" section of the community page.
2012-03-13 10:29:13 -04:00
Eli Barzilay
3391aea5b4
Improve git intro text.
...
Add a description of the `insteadOf' option and a common github setup
that uses it.
2012-03-13 10:29:13 -04:00
Matthias Felleisen
0df7ef4d73
remove debugging
2012-03-13 07:19:45 -04:00
Matthew Flatt
facc8db712
change module-path?' to subsume
path?'
...
Although th eoriginal idea was to distinguish "text" paths
from derived filesystem paths, practically everythign that accepts
a module path also accepts a path. Building the generalization into
`module-path?' makes it easier to support `submod' wrappers on paths,
and it seems to fix things rather than break them.
2012-03-12 21:08:54 -06:00
Matthew Flatt
060515b9cd
extend string-literal syntax to allow surrogate-style \u pairs
...
For example, "\uD834\uDD1E" is another way to write "\U01D11E",
while "\uD834", "\uDD1E" or "\uDD1E\uD834" are still errors.
2012-03-12 21:03:20 -06:00
Matthias Felleisen
abfc3de9ba
error handler now uses Guillaume's rewrites
2012-03-12 22:49:46 -04:00
Matthias Felleisen
1d894852a4
updated todo list
2012-03-12 22:49:45 -04:00
Jay McCarthy
a75a18637d
Fixing an error in DrDr
2012-03-12 16:16:19 -06:00
Jay McCarthy
b1aae4a12d
Outputing with chunked encoding
2012-03-12 16:16:19 -06:00
Jay McCarthy
1e80084c97
Reading chunked requests
2012-03-12 16:16:19 -06:00
Jay McCarthy
04fdfbb012
Preparing for implementing chunked encoding
2012-03-12 16:16:19 -06:00
Matthew Flatt
8b5a11a39d
fix bug in `apply' expansion
2012-03-12 15:03:33 -06:00
Matthew Flatt
5dc08cbe03
decompiler repairs related to changes for submodules
2012-03-12 09:04:37 -06:00
Robby Findler
a7cb8fdc84
small improvements to the memory usage for files opened in DrRacket.
...
Before this commit, opening collects/drracket/private/unit.rkt required
about 17.5 megabytes of memory and after this commit, it is down to
about 15 megabytes.
The precise measurement I did was to create a frame and a scheme:text%
object in it, record the result of current-memory-use, open the file,
and record current-memory-use again.
For comparison, using a text:standard-style-list% object instead of
the scheme:text% requires only about 4.1 megabytes. One difference
being that there are about 3x more snips (10,204 vs 33,901 (after the
commit)), since we have one snip for each region that has a different
color in the scheme:text version, and the text:standard-style-list has
no colors and thus about two per line (there are 5006 lines in the
file).
2012-03-10 20:18:49 -06:00
Matthew Flatt
2811af1e59
fix test
2012-03-10 10:54:29 -07:00
Matthew Flatt
8eef24be87
mzlib/traceld: show submodule
2012-03-10 10:51:56 -07:00
Matthew Flatt
6e6086293c
drdr: skip traceld
...
If loaded, it prints to stderr as a load of its `main' submodule
is attempted.
2012-03-10 10:48:04 -07:00
Matthew Flatt
537f194c4e
net/imap: add TLS support
...
Based on a patch from Thomas Spurden
2012-03-10 10:47:22 -07:00
Matthew Flatt
97a64b1166
no callback for `tab-panel%' tab additions and deletions
2012-03-10 10:07:37 -07:00
Matthew Flatt
34314c1e7a
fix JIT bug
...
The bug happens with n-ary uses of arithmetic operations that
have constant arguments but couldn't be constant-folded ---
maybe due to a divide-by-zero.
2012-03-10 08:30:01 -07:00
Jay McCarthy
f8325776cf
racket/slice, expand raco test, remove begin-for-testing
2012-03-09 19:51:42 -07:00
Jay McCarthy
b73444a0f3
Adding module**, when-testing, and raco test
2012-03-09 15:54:18 -07:00
Vincent St-Amour
3f74319f46
Add mflatt to the people responsible for the tests of the syntax collect.
2012-03-09 15:19:53 -05:00
Kevin Tew
2584cb71c1
Remove /opt/plt paths from docs
2012-03-09 12:46:14 -07:00
Kevin Tew
5e20081b69
[Distributed Places] added ability to launch remote threads
2012-03-09 12:16:57 -07:00
Neil Toronto
54c8b51c32
Refactoring
2012-03-09 11:30:34 -07:00
Matthew Flatt
a81f7f289a
fix typo?
2012-03-09 10:52:29 -07:00
Matthew Flatt
85802f45f2
raco exe' uses a
main' submodule, if any
2012-03-09 10:34:57 -07:00
Matthew Flatt
6743900fc7
get-module-code repair
2012-03-09 10:34:57 -07:00
Matthew Flatt
a6a1b02de5
more doc updates for submodules
2012-03-09 10:34:57 -07:00
Matthew Flatt
54a441c0e3
DrRacket default `module*' indentation
2012-03-09 10:34:57 -07:00
Matthew Flatt
72ec4070bd
drracket: run `main' submodule
2012-03-09 10:34:56 -07:00
Matthew Flatt
3a1e8803ff
fix errortrace for submodules
2012-03-09 10:34:56 -07:00
Matthew Flatt
566759a5fa
progress on submodule docs; bug fixes
2012-03-09 10:34:56 -07:00
Matthew Flatt
3d69dfab86
first cut at submodules
2012-03-09 10:34:56 -07:00
Matthew Flatt
d74793a5f9
fix race condition on GetLastError() call
2012-03-09 10:34:56 -07:00
Robby Findler
5cb1a844fb
add ack to our sponsors
2012-03-09 10:23:38 -06:00
Robby Findler
a4b721ef3a
make some private methods actually be private methods (instead of fields)
2012-03-09 10:23:38 -06:00
Kevin Tew
c46cdf63bc
Comment out ssh to localhost example.
2012-03-08 21:50:45 -07:00
Jay McCarthy
4c9738effe
Solve copyright problems wrt James Clarks' XML tests
2012-03-08 14:19:50 -07:00
Matthias Felleisen
ad50f144df
fixed error message for shadowing clause names; Closes PR 12621
2012-03-08 11:12:42 -05:00
Ryan Culpepper
fb7c7e3793
syntax/parse: added roles, other updates/fixes
...
expr/c uses role for contract label when avail
export ~peek-not (previously missed)
fixes for integrable stxclasses
2012-03-08 07:39:42 -07:00
Ryan Culpepper
a0065b9efa
syntax/parse: cut-prompt is inherited, not threaded
2012-03-08 01:17:47 -07:00
Ryan Culpepper
14089e0ac6
syntax/parse: clean up integrable stxclass code
2012-03-08 01:17:47 -07:00
Kevin Tew
cc716392da
Distributed Places add runtime-paths, turn off tests.
2012-03-07 12:07:25 -07:00
Kevin Tew
09bed0d61e
Initial Distributed Places commit
...
Distributed Places allows the spawning of remote racket processes and
places. Distributed Places communicate transparently over TCP sockets.
2012-03-07 09:36:13 -07:00
Robby Findler
922857489a
add an example to the racket/draw guide
2012-03-06 19:14:30 -06:00
Jon Rafkind
a94b7b9260
[honu] fix some tests. always reparse the right hand side of an operator
2012-03-05 13:48:52 -07:00
Jon Rafkind
249c7b02ca
[honu] use syntax properties to differentiate parsed syntax from unparsed
2012-03-05 13:48:52 -07:00
Jon Rafkind
89f511fb3e
[honu] bind all attributes from a syntax class. allow multiple expressions in a match list
2012-03-05 13:48:52 -07:00
Robby Findler
ac568d7b3f
try using make-bitmap for the bitmaps under unix to see if drdr
...
likes that better
2012-03-05 13:48:34 -06:00
Robby Findler
519550d291
save a new set of unix bitmaps for the redex bitmap test
...
and (optimistically) turn the bitmap tests back in on in drdr
(also improve the GUI a little bit that shows the errors in
the test)
2012-03-05 11:44:45 -06:00
Robby Findler
3997eaefde
clean up redex bitmap tests (under mac os x)
2012-03-05 08:52:17 -06:00
Robby Findler
4a304643d3
Rackety
2012-03-05 08:12:02 -06:00
Robby Findler
b7caf411ae
added define-extended-judgment-form to Redex
2012-03-03 16:41:53 -06:00
Robby Findler
a0bb0430f2
separated the define-judgment-form implementation (and bind-withs)
...
into its own file
2012-03-03 16:41:52 -06:00
Neil Toronto
568828d491
Fixed graphical glitches:
...
plots too small to render margin decorations (i.e. axis and tick labels) now render without them;
plots in frames now initially render with full detail
2012-03-03 15:39:16 -07:00
Neil Toronto
610280225c
Added unstable/gui/snip (provides snip-canvas%) and docs
...
Changed plot-frame to use snip-canvas%, so resizing the frame resizes the plot; added Escape handler (closes the frame)
2012-03-03 12:37:09 -07:00
Neil Toronto
bf97780eda
Fixed an internal function contract
2012-03-03 12:37:09 -07:00
Asumu Takikawa
6edf9c16d4
turtles: better error message and improve docs
...
When uninitialized, turtles was giving a poor internal error.
Now it should tell the user to initialize. Also, added a note
in the docs about initialization.
2012-03-03 14:17:53 -05:00
Matthew Flatt
06e94d510a
openssl: another attempt to get SSL_shutdown right
2012-03-02 10:33:36 -07:00
Matthew Flatt
5630a3a1ca
racket/sandbox: use `gui-available?' at sandbox creation
...
Previously, sandbox creation used `gui?', which is the result of
`gui-available?' at the time that `racket/sandbox' is instanited.
This change makes sandbox behavior less sensitive tothe order in
which modules `require'd into a program are intiantiated.
The change depends on a new `sandbox-make-namespace' default
function for `sandbox-namespace-specs'. The new function uses
either `make-base-namespace' or `make-gui-namespace', depending
on whether the GUI library is available at that point.
A new `sandbox-gui-enabled' parameter can disable use of the
GUI library even if it is available.
The `gui?' binding is still exported for backward compatibility,
but it shouldn't be used anymore.
2012-03-02 07:47:16 -07:00
Matthew Flatt
a976c56cb9
openssl: more little fixes
...
Fix an error message broken by earlier debugging, and also
fix long-standing shutdown problems. Move basic tests to more
standard location.
2012-03-01 20:34:53 -07:00
Matthew Flatt
fc2eb1c11c
openssl: fix error handling
...
The recent thread-safety change wasn't right.
2012-03-01 15:43:04 -07:00
Sam Tobin-Hochstadt
8055d9f5f8
Allow multiple right hand sides in match/values.
...
Closes PR 12613.
2012-03-01 15:05:51 -05:00
Asumu Takikawa
04f7bdbb02
framework: add missing methods to interface and docs
...
The set-replace-start and get-replace-search-hit methods were
missing in the text:searchable<%> interface. The latter was
also undocumented.
2012-03-01 13:17:48 -05:00
Matthew Flatt
14f03bcf5b
openssl: thread safety
...
There are many SSL_() functions that produce return codes with more
information from SLL_get_error() and/or ERR_get_error(). Those need
to be grouped in an atomic section to ensure thread safety at the
level of Racket threads.
2012-03-01 11:02:48 -07:00
Matthew Flatt
1032ce8afe
openssl: make ssl-set-verify!' and
ssl-try-verify!' work on ports
...
Using the functions on a port triggers renegotiation of the
connection, which s useful for cases such as a web server that
requires a certificate only for certain paths. This functionality
also allows better testing of the SSL library.
2012-03-01 11:02:48 -07:00
Matthew Flatt
efcb607865
fix openssl problem
...
Read and write actions on an SSL port can trigger internal write
and read actions (i.e., the opposite direction). On the read side,
write pumping was performed too early before returning a "wait
for new input" event; SSL operations between the pumping and
return could trigger the need for pumping, but it never happened
because the socket was waiting for new input before taking any
new actions.
The problem would shows up specifically when Apache renegotiates
a connection to demand certificates from a client after first
determining the target of the request (i.e., when a certificate
is required ony for specific locations on the server).
Thenks to Sergey Pinaev, Timur Sufiev, and Neil Van Dyke.
2012-03-01 11:02:47 -07:00
Robby Findler
51207a2f68
Revert "topologically sort collections based on the dependencies between"
...
This reverts commit 79c6a2b1e5
.
Sorry--- I didn't mean to push this commit
2012-03-01 11:43:54 -06:00
Robby Findler
e256a396ba
add a little more discussion based on comment from mailing list
2012-03-01 11:41:00 -06:00
Robby Findler
79c6a2b1e5
topologically sort collections based on the dependencies between
...
them and use that to order 'raco setup'
The dep-list.rkt file contains code that reads .dep files
and computes the topological sort; this result is expected
to be copied over into setup-unit.rkt
2012-03-01 11:41:00 -06:00
Matthew Flatt
facb411a63
fix problems with place termination
2012-02-29 20:20:55 -07:00
Matthew Flatt
ab9f63a3a0
fix error message
2012-02-29 20:20:55 -07:00
Sam Tobin-Hochstadt
3267738425
Sort paths before fuzzing, to make drdr runs reproducible.
2012-02-29 12:01:37 -05:00
Robby Findler
a23f6dbca2
move the redex scrbl files into a scribblings subcollection and adjust timeouts
2012-02-29 07:13:36 -06:00
Eli Barzilay
f7c67b49a4
Big newline at EOF scan.
2012-02-29 00:28:11 -05:00
Robby Findler
0243b50368
Make the "F" in "Search in Files" get the underline in the menu
...
closes PR 12607
2012-02-28 21:53:03 -06:00
Robby Findler
7d683c7faf
fix error in blame assignment for -> with dot-args.
...
closes PR 12608
2012-02-28 20:15:58 -06:00
David Van Horn
b8d3219b1b
Fix contract on filebox to reflect documentation.
2012-02-28 19:40:21 -05:00
David Van Horn
68b225c992
Rename scratch to avoid running by DrDr.
2012-02-28 19:06:14 -05:00
Matthew Flatt
6e42c92a50
add some interpreter vs. closure compiler benchmarks
...
Mostly for amusement, including the contrast between
the benefits of closure compilation for a host interpreter
versus the benefits for a host compiler.
2012-02-28 15:35:39 -07:00
Matthew Flatt
70ab6d482a
fix problem with continuations
...
The problem was a misplaced allocation that could cause a GC
when the thread is in an unstable state in the process of
applying a continuation.
2012-02-28 15:35:38 -07:00
Vincent St-Amour
249c1cc666
Remove dependency on unstable/port.
2012-02-28 16:26:21 -05:00
Jay McCarthy
ffcda4741f
Fixing a safe-for-space error that Robby found
2012-02-28 14:15:07 -07:00
Jay McCarthy
eb0e188b63
Clarify error message
2012-02-28 14:15:07 -07:00
Ryan Culpepper
94ae918b0f
setup "images" collection earlier, "drracket" at end
...
This change cuts real time of "raco setup -D" almost in half
on a 4-core machine.
2012-02-28 05:27:58 -07:00
Ryan Culpepper
3e6069a70f
syntax/parse: optimize common ellipsis patterns
2012-02-28 05:27:58 -07:00
Ryan Culpepper
2a3d6d5c31
syntax/parse: add attribute-prefix check to template form
...
(template x.y) raises an error if x an attribute but x.y is not.
2012-02-28 05:27:57 -07:00
Vincent St-Amour
4a8f447dae
Remove unstable/port.
...
`port->list' does all it can do.
2012-02-27 22:03:39 -05:00
Matthew Flatt
012ef60cd5
fix non-tail loop in parallel `raco setup'
...
Deep recursion with too-few recognizable JIT frames caused
trouble with `current-continuation-marks'.
2012-02-27 14:46:03 -07:00
Jay McCarthy
172c6379d1
Test is sensitive to heap locations
2012-02-27 12:20:49 -07:00
Vincent St-Amour
f420edc5ee
Add range to racket/list.
2012-02-27 13:40:31 -05:00
Vincent St-Amour
b323acb999
Only check chaining for missed optimizations.
2012-02-27 13:40:30 -05:00
Kevin Tew
3e0e4a3f6b
Allow hashes across place channels.
2012-02-27 10:11:04 -07:00
Jay McCarthy
f29a2c0e61
Setting responsibility on EOPL test to dvh
2012-02-27 09:16:47 -07:00
Jay McCarthy
b51bd062a8
Adding indexing terms re: PR9893
2012-02-27 09:15:28 -07:00
Robby Findler
c5193f7da7
fix a bug in define-union-language
...
(this bug was somehow already covered by the existing test suites
and also make pretty much every define-union-language break)
2012-02-27 10:00:23 -06:00
Robby Findler
bd08e09b12
fix up the repl test now that picts dont render as bitmaps
...
(following up commits
ad65164c5e
and
72b9199976
)
2012-02-27 10:00:23 -06:00
Matthew Flatt
0dcc96c5eb
fix JIT, `unsafe-struct-ref', chaperone, and procedure property
2012-02-27 06:57:44 -07:00
Matthew Flatt
f9247ff3a5
fix zip/gzip bug
...
Closes PR 12605
2012-02-27 08:34:26 -05:00
Eli Barzilay
6d63c1f548
Make it possible to nest HTML outputs.
...
(This is the actual fix for PR 12604)
2012-02-27 06:46:26 -05:00
Robby Findler
fffafbab18
edit wxme docs to clarify the text-only? argument passed to read-snip
2012-02-26 21:43:44 -06:00
Matthew Flatt
188c6fdc66
add `log-max-level'
...
As suggested by Tobias Hammer
2012-02-26 22:13:02 -05:00
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