Commit Graph

22554 Commits

Author SHA1 Message Date
Vincent St-Amour
e0f4ec56c4 Turn off TR timing. 2011-08-30 17:00:25 -04:00
Vincent St-Amour
70aaf6bf24 Delay evaluation of numeric base env types. 2011-08-30 17:00:25 -04:00
Vincent St-Amour
f3d22879a2 Make TR timing info fit on a line. 2011-08-30 17:00:25 -04:00
Casey Klein
ecdd50da09 Tests defined-checks directly 2011-08-30 15:10:50 -05:00
Casey Klein
c25c0b2868 Deletes duplicate tests 2011-08-30 15:10:50 -05:00
Casey Klein
c0625dc30c Adds define-term form 2011-08-30 15:10:50 -05:00
Matthew Flatt
35a8359c6d remove some path case normalization
The change allows `raco setup' to reach a fixed point under Windows
for "redex/examples/cont-mark-transform".

I'm more and more convinced that `normal-case-path' is never
a good idea. In some cases, maybe it's good to recognize a
few extra equivalences, but it works badly when paths are taken
from many sources and are not consistently normalized. It's better
to just preserve case.

For basic normalization, `simplify-path' is the right choice. Use
inode identity (as `raco setup' does) when anything stronger
than `simplify-path' is needed.
2011-08-30 13:53:25 -06:00
Matthew Flatt
959db06c7c change "cache.rktd" format to be platform-independent
The format previously included relative paths in the syntax
of the platform used to run `raco setup'. While a "cache.rktd"
built on Unix would work for Windows, the reverse would not
be true. Also, `raco setup' under Windows would get confused
because it would arrive at different relative paths for the
same collection (e.g., "drracket/private" and "drracket\\private").
The portable representation of relative paths is also
normalized.

A "cache.rktd" file still has absolute paths for Planet packages
or links installed with `raco link', but that's not a problem for
packaging a distribution with a portable "cache.rktd".

Also, `raco setup' cleans "cache.rtkd" by removing collections
that are omitted and by not including collections that have no
"info.rkt"/"info.ss" file.
2011-08-30 13:53:24 -06:00
Robby Findler
0fbed43a26 Fix 'place's handling of the result of resolved-module-path-name
Plus minor cleanups:
 - fixed indentation
 - removed useless gen-create-place function
 - avoid using the guard position of syntax-case
 - drop useless datum->syntax call (it returns syntax
      objects unmodified and generate-temporary
      returns a syntax object)
 - "interal" => "internal"
 - minimized the generated code (move into a function call)
 - check to make sure constructed lambda expression is well-formed
 - check to make sure 'place' is used inside a module (or else
   several other things it use will fail)
2011-08-30 14:46:02 -05:00
Ryan Culpepper
b706fc1ebc db: cleaned up testing script, run sqlite tests by default 2011-08-30 12:04:25 -06:00
Ryan Culpepper
883e9e9e6b syntax/parse: syntax-parse sets current-syntax-context 2011-08-30 12:04:25 -06:00
Ryan Culpepper
281df3221e db: tried async execution with odbc... didn't work
Added note in TODO, my guess why not.
Fixed odbc ffi bindings, added a few more status checks.
2011-08-30 12:04:25 -06:00
Ryan Culpepper
f339060e55 db: added note on performance, edited note on isolation 2011-08-30 12:04:24 -06:00
Ryan Culpepper
418985d4c4 db: fixed issues with statement finalization (don't use weak hash)
In some cases, statements were disappearing from statement-table
without being finalized; this makes disconnect fail.
(I was only able to produce the problem when the db lib was
instantiated in a sub custodian that is later shutdown....
like the way the rackunit gui runs the test suite.)
2011-08-30 12:04:24 -06:00
Ryan Culpepper
397702808a db: fixed virtual-statement
Eliminated interface test (shallow) in favor of method test
(correct, recursive). Also made vstmts work with virtual-connections.
2011-08-30 12:04:24 -06:00
Ryan Culpepper
94456ad0ec db: moved pg-only code out of interfaces module 2011-08-30 12:04:24 -06:00
Ryan Culpepper
b3e55dc078 db: added note on sql injection, moved param paras to stmt section 2011-08-30 12:04:24 -06:00
Ryan Culpepper
1c6817426e db: added group-rows, #:group arg to query-rows 2011-08-30 12:04:24 -06:00
Ryan Culpepper
c13c22f0e4 fixed missing arg to raise-type-error 2011-08-30 12:04:24 -06:00
Kevin Tew
d5d28d3357 fix [] to {} 2011-08-30 11:27:18 -06:00
Kevin Tew
50745a8219 Accumulate fds for cleanup on exception 2011-08-30 10:02:50 -06:00
Kevin Tew
07c5c076e2 Fix cpointer and cstruct tag text 2011-08-30 09:52:06 -06:00
Sam Tobin-Hochstadt
534d89b983 Fix type of `make-temporary-file'. 2011-08-30 11:33:40 -04:00
Sam Tobin-Hochstadt
3e1eb67336 Make environments much lazier about computing types; remove useless requires.
Allow duplicate type annotations when they are the same type.
2011-08-30 11:33:40 -04:00
Jay McCarthy
2dc0098d86 Changing test phase 2011-08-30 08:52:54 -06:00
Robby Findler
936b51adf1 double planet tests timeout 2011-08-30 08:12:32 -05:00
Robby Findler
61aaf584c5 adjust the threading protocol for compilings files to be kill safe 2011-08-30 07:59:33 -05:00
Robby Findler
8ea1487eea double planet tests timeout 2011-08-30 06:52:00 -05:00
Stephen Chang
8d962c0b4f add strictness tests for Lazy Racket 2011-08-30 02:31:05 -04:00
Matthew Flatt
638dc2ed62 implement MZ_DO_NOT_INLINE() for MSVC
For 64-bit builds, MSVC has become smart enough to inline functions
in a way that interferes with the implementation of continuations,
so that (planet "williams/simulation/examples/model-2b") crashes,
for example. Explicitly disabling inlining avoids the problem by
making the C stack layout match the implementation's expectation.
2011-08-29 23:22:09 -06:00
Eli Barzilay
734fc832b7 Twitter link for @racketlang; small tweaks. 2011-08-30 01:07:32 -04:00
Eli Barzilay
449fab512b Plot doc typo.
Fixes PR12133.
2011-08-29 23:59:38 -04:00
Eli Barzilay
0f84202f78 This test can fail when running with the CGC. 2011-08-29 23:36:08 -04:00
Eli Barzilay
4ae7e05632 Finally there should be no temp file leftovers now. 2011-08-29 22:12:25 -04:00
Eli Barzilay
14357370dd Some small improvements. 2011-08-29 22:12:07 -04:00
Eli Barzilay
187110cc2c Change default temporary format from "mztmp~a" to "rkttmp~a". 2011-08-29 20:53:57 -04:00
Robby Findler
d4f4f754f1 make make-temporary-file use the source location for its template argument
(This involves making make-temporary-file be a macro instead of a procedure.)
2011-08-29 19:36:33 -05:00
Robby Findler
d2d02cc7a2 lengthened the planet tests timeout 2011-08-29 19:36:32 -05:00
Robby Findler
1efcb24575 adjust the fonts for the error message in the online check syntax 2011-08-29 19:36:31 -05:00
Eli Barzilay
4ec565ae97 Add the missing documentation for ,check-requires. 2011-08-29 17:41:35 -04:00
Eli Barzilay
a2d483bb95 Removed waterworld. 2011-08-29 16:58:03 -04:00
Eli Barzilay
f3f3af124f Removed SrPersist.
Blessed-by: Ryan
2011-08-29 16:55:42 -04:00
Eli Barzilay
1b05a2968c Quick fix
(Didn't realize that tool names are relative to the info file.)
2011-08-29 16:48:15 -04:00
Eli Barzilay
57ea31cca2 With 4f83f7f, the hack around PR7104 is no longer needed. 2011-08-29 16:36:24 -04:00
Eli Barzilay
ffbd9e16ea Some info.rkt cleanups. 2011-08-29 16:33:13 -04:00
Eli Barzilay
e788903d0e Remove a bunch of no-longer-needed `compile-omit-paths', and move the
few ones into the subcollections.
2011-08-29 16:33:12 -04:00
Eli Barzilay
d8029e4fca Organize the errortrace tests. 2011-08-29 16:33:12 -04:00
Vincent St-Amour
15aeb099ea Add Nonnegative-Integer as a synonym for Natural. 2011-08-29 15:26:12 -04:00
Eli Barzilay
0e31b37aa4 Documentation typo. 2011-08-29 15:13:01 -04:00
Eli Barzilay
0c26a38bed `scribble/tools' is Robby's. 2011-08-29 15:13:01 -04:00