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
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
facb411a63
fix problems with place termination
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
Eli Barzilay
f7c67b49a4
Big newline at EOF scan.
2012-02-29 00:28:11 -05: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
Jay McCarthy
ffcda4741f
Fixing a safe-for-space error that Robby found
2012-02-28 14:15:07 -07:00
Vincent St-Amour
4a8f447dae
Remove unstable/port.
...
`port->list' does all it can do.
2012-02-27 22:03:39 -05: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
Kevin Tew
3e0e4a3f6b
Allow hashes across place channels.
2012-02-27 10:11:04 -07: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
Matthew Flatt
188c6fdc66
add `log-max-level'
...
As suggested by Tobias Hammer
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
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
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
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
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
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
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
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
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
Eli Barzilay
c007c345f9
A bunch of more typos like the ones in David's commit.
2012-02-21 14:21:43 -05:00
Matthew Flatt
a12f9831a3
add optional newline argument to `base64-encode'
2012-02-21 06:14:44 -07: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
Jay McCarthy
1b054eed1b
Making change suggested by Norman Gray
2012-02-20 10:50:48 -07:00
Matthew Flatt
a884c91720
ffi/unsafe: add `array-length'
...
Closes PR 12576
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
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
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
240773ae6f
single-flonum? is not provided by TR's internals anymore.
2012-02-18 23:23:59 -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
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
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
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
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
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
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
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
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
Ryan Culpepper
5a1badf397
syntax/parse: added template metafunctions
...
Also fixed some bugs and added simple optimizations.
2012-02-10 22:12:54 -07: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
03ebf0d3de
Update tests for new log format.
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
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
Eli Barzilay
88da3effc4
"indicies" -> "indices", as noted by Rodolfo Carvalho.
2012-02-09 13:59:20 -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
654ccb277f
db: added cursors
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
db3c96a2a0
Added tests for opaque class/c contracts.
2012-02-08 22:47:16 -05:00
Kevin Tew
4f3bec1792
pr# 12542 fixed - All symbol types are now allowed across place channels.
2012-02-08 10:21:59 -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
Matthew Flatt
8cf49dfdb1
fix format of some error messages
...
Closes 12536
2012-02-04 05:32:00 -07:00
Eli Barzilay
9f662b6467
Fix typo and minor improvement.
2012-02-04 03:03:17 -05:00
Matthew Flatt
c979e690a5
fix test to work right with imprecise GC
2012-02-02 06:32:55 -07: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
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
Vincent St-Amour
5e7d67ffa7
Include more information in TR optimizer test failures.
2012-01-31 15:43:56 -05: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
Matthew Flatt
706d5026ac
fix bytecode compiler bug
...
Certain `lambda'-lifting operations can cause information
about the flonumness of a variable to get lost, leading
to a mismatch between the closure's flags and flags on
a variable reference. (The bytecode validator could detect the
bug when loading the broken bytecode. The broken information,
meanwhile, was only used by the JIT.)
2012-01-30 10:30:51 -07:00
Sam Tobin-Hochstadt
c16e48a083
Fix internal constructor name for struct:' so that
struct-out' works.
...
Closes PR 12447
Related to PR 12516
2012-01-28 09:47:15 -05:00
Jon Rafkind
99daf6a9d1
[honu] fix tests
2012-01-26 15:23:20 -07:00
Jon Rafkind
d7a35c1eb8
[honu] use = for mutation to be consistent with other uses. put where clauses of list comprehensions on the right side
2012-01-26 13:32:51 -07:00
Jon Rafkind
a1869fa2f1
[honu] then is optional in "if". allow multiple sequences in for. add for/fold
2012-01-26 13:32:51 -07:00
Jay McCarthy
8be9abf1d4
Verify that the HTML tags really do have their empty-tag behavior
2012-01-25 16:48:11 -07:00
Jay McCarthy
ce73175427
Changing the defaults for empty tag shorthand in XML
2012-01-25 16:48:11 -07:00
Sam Tobin-Hochstadt
f70c1b213f
`sort' now infers properly -- test passes.
...
Please merge to release.
2012-01-24 05:19:01 -05:00
Matthew Flatt
481e061440
adjust `raco ctool --c-mods' and related to work with places
...
That is, the generated declare_modules() function registers the
module-declaration code so that it is run in any new place, too.
Merge to 5.2.1
2012-01-19 13:14:02 -07:00
Matthew Flatt
c723aeeb6a
fix position counting in `read-byte'
...
Merge to 5.2.1
2012-01-19 13:14:02 -07:00
Matthew Flatt
6c4cd0e9c2
fix raco ctool --c-mods' for
racket'
...
Merge to 5.2.1
2012-01-19 13:14:02 -07:00
Matthew Flatt
350d0b1edf
fix `raco make -j'
...
Closes PR 12491
Merge to 5.2.1
2012-01-19 13:14:02 -07:00
Matthew Flatt
eb0cbcb3c4
sort out for-require' vs. for-
load' paths to a sandbox evaluator
...
The two became tangled in commit f7c16fc8
, and then 952ae06105
adjusted the tangling in a way that broke code. This commit
further adjusts tangling in a way that hopefully causes fewer
compatibility problems, but it also splits inputs to
`make-evaluator' so that a programmer can choose more explicitly.
2012-01-19 13:14:02 -07:00
Robby Findler
c9e4c88b7c
fix a bug in check syntax where it would attempt to (as part of the
...
coloring for blame assignment in check syntax) try to color
the right-hand side of a binding that actually comes from
a lambda-bound variable (and thus crash for not finding the
right-hand side)
2012-01-19 13:20:41 -06:00
Jon Rafkind
276cb4150d
[honu] replace = with in
2012-01-18 14:15:54 -07:00
Jon Rafkind
6552d3f2cd
[honu] allow classes to accept 0 constructor parameters. add 'to' as a binary operator that creates a list of numbers
2012-01-18 12:34:51 -07:00
Matthew Flatt
ddd246232e
fix JIT-generated code in case of arity mismatch
...
The generated code was checking arity after potentially copying
arguments to the start of the runstack (i.e., if the arguments
were not already there). If too few arguments are provided, then
the copy might access past the end of the given array.
The redundant arity check removed in commit f7c506471b
had previously masked this problem. (Or the check wasn't redundant
in that sense, but it's better this way.)
Merge to 5.2.1
2012-01-17 07:33:58 -07:00
Matthew Flatt
6f528c7a17
fix and generalize errortrace detection of always-ok functions
2012-01-15 17:05:11 -07:00
Vincent St-Amour
ca11c2e4fa
Add an alternate name for case->.
2012-01-13 11:28:36 -05:00
Vincent St-Amour
87a53159dd
Union types instead of clobbering them in the type table.
...
This fixes a bug where only the last branch of a case-> type would get stored.
2012-01-13 11:28:36 -05:00
Matthew Flatt
60c418b20e
fix `find-files' to convert an initial string into a path
...
Merge to 5.2.1
2012-01-13 07:15:15 -07:00
Matthew Flatt
8c092f093b
clean up and generalize optimizer support for omittable primitives
...
For example, the optimizer knew to drop `(cons x y)' if the result
is unused, but not `(pair? x)'.
2012-01-11 06:58:39 -07:00
Matthew Flatt
7850a26dfe
fix bytecode optimizer bugs
...
Certain unsafe operations were allowed to propagate across a
`lambda' boundary (where space safety is known not to be an issue),
which could lead to duplicate uses of a "once used" variable if
the relevant `lambda' is inlined.
Furthermore, `lambda' boundary crossing wasn't detected in the case
that the operation to propagate was propagated through an intermediate
variable without a `lambda' crossing.
Merge to 5.2.1
2012-01-11 05:30:11 -07:00
Matthew Flatt
ff41a896bc
add ffi/com',
ffi/unsafe/com'
2012-01-10 18:35:32 -07:00
Matthew Flatt
8b54dc43c8
fix problem printing symbols with unicode chars
...
Specifically, special-casing letters (such as sigma) were not
handled correctly.
Merge to 5.2.1
2012-01-09 16:55:39 -07:00
Matthew Flatt
7b4fd9b275
make draw-mem test more reliable
2012-01-09 16:08:28 -07:00
Matthew Flatt
23010fc495
add #:fail' option to
collection-file-path' and `collection-path'
...
Merge a variant to 5.2.1
2012-01-09 15:59:05 -07:00
Matthew Flatt
3d76aa5c32
fix I/O race in test
2012-01-09 13:29:56 -07:00
Jon Rafkind
c9788909ea
[honu] fix for literal sets generated in a macro. replace . with -> for classes in the linq example
2012-01-09 10:38:11 -07:00
Jon Rafkind
dc16449dd5
[honu] change to honu extension
2012-01-09 10:38:11 -07:00
Ryan Culpepper
dba35c3116
db: added nested transactions
2012-01-08 23:25:53 -07:00
Ryan Culpepper
62e117bfe6
added tests for srfi/13 from SXML codebase
2012-01-08 23:25:53 -07:00
Matthew Flatt
7153fbd4d5
net/mime: allow any subtype, exns as exn:fail subtypes; doc fixes
2012-01-08 12:14:51 -07:00
Robby Findler
95ac3c86f7
fixed bug in the way aug:keymap extracts the names
...
now it should return only the canonical names of the keybindings
(instead of potentially returning both the canonical and
non-canonicalized names)
2012-01-08 07:07:56 -06:00
Matthew Flatt
fd019a3478
add on-subwindow-focus' to
window<%>'
...
relevant to PR 12474
2012-01-07 21:17:12 -07:00
Jay McCarthy
061007f30f
Fixing last dumb mistake?
2012-01-05 14:57:08 -07:00
Jay McCarthy
c2355caef6
Finalizing initial pass on GC2
...
It was not a problem with the particular collector. All allocation
sites need to update the gc-roots-key with their static information.
2012-01-04 19:55:24 -07:00
Jay McCarthy
55e1df1445
See last commit
2012-01-04 19:55:24 -07:00
Jay McCarthy
f80292b4cf
Converting mutators
2012-01-04 19:55:24 -07:00
Jay McCarthy
e4755a5ffc
New GC code
2012-01-04 19:55:24 -07:00
Jay McCarthy
ef1278d6e1
Adding radio and checkbox groups to formlets
2012-01-03 15:05:37 -07:00
Matthew Flatt
2b2c44774f
fix scheme_basic_env() reset behavior
...
Also, fix test to that it DrDr will run it.
2012-01-02 15:03:49 +01:00
Matthew Flatt
3a1df23be6
fix `text-outline' test to include a curve
2011-12-26 06:27:22 -06:00
Matthew Flatt
1c63784517
for record-dc%', record initial configuration after each
erase'
...
Closes PR 12460
2011-12-25 19:26:39 -06:00
Matthew Flatt
6c5c170565
racket/draw: add text-outline' to
dc-path%'
2011-12-25 18:20:39 -06:00
Matthew Flatt
5bfaea25fe
fix draw-polygon' on pairs instead of
point%'s
...
Closes PR 12455
2011-12-23 07:25:59 -06:00
Ryan Culpepper
e086d237cd
moved unstable/mutated-vars back to typed-racket
2011-12-18 13:57:49 -07:00
Ryan Culpepper
6ac708a3da
pruned unstable/syntax
2011-12-18 13:57:49 -07:00
Ryan Culpepper
a4c6c7cfce
pruned unstable/port
2011-12-18 13:57:48 -07:00
Ryan Culpepper
bc7401d4d9
pruned unstable/function
2011-12-18 13:57:48 -07:00
Ryan Culpepper
e4e89b0bc9
removed unstable/exn (moved code to single use in web-server)
2011-12-18 13:57:44 -07:00
Ryan Culpepper
53fc18008c
removed unstable/dict (no uses)
2011-12-18 13:57:14 -07:00
Ryan Culpepper
4f9da1fd1c
pruned unstable/define
2011-12-18 13:56:00 -07:00
Ryan Culpepper
f99d79ef10
pruned unstable/contract
...
Removed unused code. Removed nat/c, pos/c as they correspond to
standard predicates.
2011-12-18 13:56:00 -07:00
Matthew Flatt
4fed17704a
avoid `racket/gui' tests that can't work on X
2011-12-18 07:27:32 -07:00
Vincent St-Amour
664245ae69
Add in-slice sequences.
...
Patch from David Vanderson.
2011-12-16 13:50:25 -05:00
Matthew Flatt
c9d214138e
make `choice-evt' take O(N) time for N arguments
...
Delay flattening nested `choice-evt's to `sync'.
2011-12-15 16:04:08 -07:00
Sam Tobin-Hochstadt
ff74b262cf
Global seed to debug fuzzer timeouts.
2011-12-15 13:53:04 -05:00
Sam Tobin-Hochstadt
7802eda605
Better types for fourth' --
tenth'.
2011-12-14 19:06:05 -05:00
Matthew Flatt
ee775c3cc3
intern strings, etc. only when making syntax objects, not in `read'
...
Rename `read-intern-literal' to `datum-intern-literal'.
Interning is needed only in `read-syntax' or `datum->syntax' to
set up the invariants that the bytecode compiler needs for cross-module
optimization. When `read'ing numbers from a data file, meanwhile,
interning slows things down a lot and doesn't seem worthwhile.
2011-12-14 16:03:44 -07:00
Matthew Flatt
b87a7c0ec9
fix `raco make --no-deps'
2011-12-13 06:13:17 -07:00
Matthew Flatt
b99eb54f16
fix race in subprocess test
2011-12-13 06:13:16 -07:00
Matthew Flatt
25dd8727cb
add datum-case', etc. as
syntax/datum'
...
This library is used by Redex, which wants a `syntax'-like template
language, but for datum values instead of syntax objects. Using
`datum-case' and `datum' generates much less code. Redex uses
only a small part of the general functionality, so adding
`syntax/datum' could be overkill. It's implemented by generalizing
the `syntax-case' and `syntax' pattern matching and template
constructing code, though; it's not a lot of extra code, and it's
easiest to generalize completely. We may find other uses for
datum templates, too.
2011-12-12 08:13:20 -07:00
Sam Tobin-Hochstadt
eb38783750
Fix type of `remove-duplicates'.
...
Also fix type inference for functions with mandatory keyword arguments in other cases.
Related to PR 12434.
2011-12-10 17:28:34 -05:00
Matthew Flatt
bf90cf9028
fix problems printing symbols with unicode chars
2011-12-10 11:43:59 -07:00
Sam Tobin-Hochstadt
f23baef8aa
Opaque types may overlap with anything.
...
Closes PR 12434.
2011-12-09 18:11:51 -05:00
Matthew Flatt
596e7683b5
Merge branch 'master' of racket-lang.org:plt
2011-12-09 10:36:58 -07:00
Matthew Flatt
287d5cedf5
add `pseudo-random-generator-vector?'
...
Also, adjust docs to clarify that `vector->pseudo-random-generator!'
can be used as a more complete seeding function.
2011-12-09 09:12:17 -07:00
Matthew Flatt
1da5b859b7
more info for failing test
2011-12-09 08:01:52 -07:00
Sam Tobin-Hochstadt
64f9af0a84
Minor fix to fuzzer.
2011-12-08 19:59:47 -05:00
Vincent St-Amour
b5d393d939
Add TR support for gcd and lcm on rationals.
2011-12-08 17:13:50 -05:00
Matthew Flatt
4a387c5b6a
add some missing checks on bytecode parsing
...
The `tests/racket/stress/fuzz' test fails much less frequently,
though problems certainly remain.
2011-12-08 13:42:09 -07:00
Matthew Flatt
657be87c66
generalize gcd' and
lcm' to work on rationals
2011-12-08 09:25:39 -07:00
Matthew Flatt
7e666b4b45
add stream' to
racket/stream'
...
based on a pull request from Dan King
2011-12-08 09:25:34 -07:00
Jay McCarthy
e62940734f
Fixing changed test
2011-12-07 08:15:38 -07:00
Sam Tobin-Hochstadt
a497300fbe
Drop some trivially-pure code.
2011-12-06 17:20:32 -05:00
Matthew Flatt
be80e7d864
fix an over-eager reordering by the bytecode compiler
...
The over-eager transformation could be space-unsafe, and it
could duplicate an unsafe operation whose result is used only
once in a function that eds up being inlined multiple times.
2011-12-04 06:52:33 -07:00
Matthew Flatt
745c4b6470
fix another way that `racket/gui' instances can leak
2011-12-02 15:48:29 -07:00
Matthew Flatt
7397f710e2
fix reconstruction of `provide' forms in module expansion
2011-12-02 13:58:39 -07:00
Matthew Flatt
96330556e7
fix secondary hash-code for weak hashes
2011-12-02 12:11:52 -07:00
Robby Findler
2e54a89773
adjust drracket's repl so that it renders convertible things by turning them into .png's.
2011-12-02 08:10:32 -06:00
Matthew Flatt
545b37ff0d
add racket/performance-hint' with
begin-encourage-inline'
2011-12-01 10:26:48 -07:00
Matthew Flatt
99032a75d0
inline map',
for-each', andmap', and
ormap'
...
More generally, support a
(define _id (begin 'compiler-hint:cross-module-inline _proc-expr))
hint, which is how the compiler determines that `map', etc., are
candidates for inlining.
2011-12-01 06:59:27 -07:00
Eli Barzilay
a9b1f993d4
Remove redundant execution bit from some files, convert one CRLF file to LFs.
2011-12-01 03:54:32 -05:00
Vincent St-Amour
29bea4863e
Add group-by to unstable/list.
2011-11-30 17:54:28 -05:00
Vincent St-Amour
8509b81f47
Allow integers as sequences in TR.
2011-11-30 17:54:27 -05:00
Robby Findler
c338e5bfe3
remove now-unneeded debugging printfs from drracket's module-lang test suite
2011-11-30 08:24:20 -06:00
Robby Findler
458e2c2282
some long overdue Rackety: renaming the 'scheme:' exports of the framework to 'racket:'
2011-11-30 06:45:50 -06:00
Robby Findler
11994bd4f8
fix a bug in the module lexer; it was returning the wrong length for the tokens
...
it creates when the #lang line isn't well-formed (eg "#lang racke").
closes PR 12399
2011-11-28 21:16:31 -06:00
Matthew Flatt
cb341e1f48
make in-sequences' and
in-cycle' accept 0 sequences
...
Plus doc clarifications.
2011-11-28 13:51:24 -07:00
Robby Findler
153dd73f6b
adjust drracket to clean up the code that sets the initial value of
...
current-directory and current-load-relative-directory and to make
current-directory's initial value be the user's home directory
2011-11-28 13:29:55 -06:00
Robby Findler
462a348f19
fix bugs in the way the Racket|Disable Tests menu item worked
...
also adjust the test-engine-test.rkt test suite to bring it into
sync with the changes to the way the DrRacket REPL works from
commit bfa6b1d953
2011-11-28 00:13:59 -06:00
Matthew Flatt
fca5ceecc9
switch `codeblock' to strings instead of bytes
...
Also, fix scribble lexer line counting.
Closes PR 12225
2011-11-27 11:06:21 -07:00
Matthew Flatt
8b7370a4f9
fix printing of hash tables with chaperones
...
Closes PR 12276
2011-11-27 09:56:44 -07:00