Commit Graph

28303 Commits

Author SHA1 Message Date
Robby Findler
8907daf65f make the queue-callback/res function queue low-priority callbacks
This should have been like this all along; I think it can lead to
race-conditions with high-priority events. In particular, something
might be pending in the event queue and then the test suite might
queue a high-priority event to check for it, which could happen before
the event that actually does the work that's being checked for!
2012-12-09 08:55:09 -06:00
Neil Toronto
04fbb02f63 Changed argument order of binning functions for consistency with other
math/statistics functions
2012-12-08 22:50:13 -07:00
Neil Toronto
af8d02146d Documented correlation and covariance 2012-12-08 22:36:11 -07:00
Neil Toronto
73395eed94 Finished and documented counting and binning functions in `math/statistics' 2012-12-08 22:11:41 -07:00
Jonathan Schuster
6babc9ec56 Updated Delta TeX mapping with correct Unicode character 2012-12-08 21:48:17 -06:00
Jay McCarthy
0ede891de9 Lazily reading Github API keys 2012-12-08 12:07:00 -07:00
Jay McCarthy
9b9a2f4280 Make simplified P2 index to remove dep on meta 2012-12-08 09:09:40 -07:00
Jay McCarthy
1b6c4f0e72 Disabling the other screen->client call on X, re: DrDr 2012-12-08 09:09:40 -07:00
Jay McCarthy
1d36492f51 Remove build location from the test zo to satisfy zo-path 2012-12-08 09:09:40 -07:00
Jay McCarthy
0845e74d27 This way of exporting broke with git 1.8.0 2012-12-08 09:09:39 -07:00
Jay McCarthy
8d1dbdd9ad Cleaning up offical PNS server re: Danny 2012-12-08 09:09:39 -07:00
Mike Sperber
dff9728350 Synch German string constants with latest. 2012-12-08 14:37:40 +01:00
Burke Fetscher
92c5025ef1 add some random generation tests 2012-12-07 17:40:21 -06:00
Burke Fetscher
cde226c6d3 redex-generator: correctly drop failure continuations 2012-12-07 17:29:05 -06:00
Neil Toronto
fff521212f Fixed infinite printing loop
When libmpfr wasn't available, the function created by `make-not-available'
would try to print any _mpfr arguments, which would call the custom _mpfr
printer, which would try to use a libmpfr function, which would call the
function created by `make-not-available', which would try to print...
2012-12-07 11:48:46 -07:00
Sam Tobin-Hochstadt
8fc0aedb6b Increase another timeout. 2012-12-07 12:58:31 -05:00
Sam Tobin-Hochstadt
f7d7bf0aa4 Increase some DrDr timeouts. 2012-12-07 11:53:31 -05:00
David Van Horn
0dfcf634ed Change latex render units from px (pdflatex specific) to bp (tex).
The px unit is a pdflatex specific adjustable unit that is 1 bp (big
point = 1/72in) by default.  This commit changes the latex renderer to
use bp which is a standard TeX unit equivalent to the default px
value.  This change allows .tex files generated by scribble to work
with other latex engines such as xelatex.

http://nwalsh.com/tex/texhelp/Plain.html#dimensions
http://tex.stackexchange.com/questions/41370/what-are-the-possible-dimensions-sizes-units-latex-understands

Here is a small test of using scribble and xelatex:

$ cat try.scrbl
@(require scriblib/figure redex/reduction-semantics redex/pict)
@(define-language L)
@(render-term L (term 1))

$ scribble --latex try.scrbl ; xelatex try
2012-12-07 06:53:45 -06:00
Jon Zeppieri
8489448e42 ffi: fix prop:cpointer so that it works with a procedure value 2012-12-07 06:43:30 -06:00
J. Ian Johnson
a193cd9efb Peephole optimization for iterating over an empty set (no allocation). 2012-12-07 06:39:27 -06:00
Matthew Flatt
4721a79c8f define-logger: make (define-logger X)' define X-logger' 2012-12-07 06:36:31 -06:00
Matthew Flatt
ea79cc4417 benchmark noise
Remove an unnecessary manual unrolling
2012-12-07 06:36:31 -06:00
Matthew Flatt
a6eb219305 avoid spurious arity mismatch in {s,n}boyer benchmarks 2012-12-07 06:36:31 -06:00
Neil Toronto
769e8b47ec Added `array->list-array'
Cleaned up expected value code a little

Refactored running statistics objects (hid private fields, added
`update-statistics*')

Documented expected value functions and running statistics

Removed `bfpsi0' from bigfloat tests (DrDr's libmpfr doesn't have it)

Commented out custodian shutdown callback that frees MPFR's cache
(something's broken)
2012-12-06 22:52:22 -07:00
Neil Toronto
f607a3b061 Added stress test: libmpfr C struct accessor vs. Racket struct accessor 2012-12-06 22:52:22 -07:00
Vincent St-Amour
cc8bd4f294 Make srclocs serializable. 2012-12-06 17:53:04 -05:00
Neil Toronto
6e02d12beb Reimplemented `mpfr_set_z_2exp' in Racket as a fallback for older versions
of libmpfr (like DrDr's) that don't have it

Reimplemented really simple FFI functions (e.g. mpfr-prec, mpfr-exp) to
avoid calling overhead

Renamed `bigfloat-sign' to `bigfloat-signbit'

Renamed `bigfloat-sig+exp' to `bigfloat->sig+exp' (for symmetry with
`sig+exp->bigfloat')
2012-12-06 13:43:23 -07:00
Asumu Takikawa
c7162ec533 Fix TR error for missing mandatory keywords 2012-12-06 12:20:54 -05:00
Neil Toronto
2ac2262f00 Removed fallback to 'mpfr_set_z_exp - didn't work, probably never existed 2012-12-05 22:31:07 -07:00
Neil Toronto
fcc08fa89e Fixed bigfloats on Win64. Win64's long type is 32 bits and GMP's default is to
use longs for the "limbs" of bigints. However, when GMP's configure script
detects that mingw64 is compiling, it defines LONG_LONG_LIMB, which makes the
type of limbs long long, or 64 bits. This is fine; a 64-bit machine should use
64-bit ints for the digits of its bigints. It would have been nice to know
this special case earlier, though I can see why it's not advertised: most
users don't need to know, and it seems like it's obviously the right choice to
make when dealing with Win64's annoying ABI.

Made "mpfr.rkt" search for 'mpfr_set_z_exp if 'mpfr_set_z_2exp isn't found.
Hopefully this allows the bigfloat tests to finish on DrDr. If not, DrDr
will need a libmpfr upgrade.

Made some minor doc fixups
2012-12-05 20:29:59 -07:00
Philippe Mechai
00827a133a Fix language config dialog not showing when some languages are disabled 2012-12-05 18:45:04 -05:00
Ryan Culpepper
039abedc10 fix display when reader abbreviations disabled 2012-12-05 14:47:27 -05:00
Ryan Culpepper
dbf8026576 log time for macro-stepper gui steps 2012-12-05 12:19:18 -05:00
Ryan Culpepper
ce567c861e use define-logger 2012-12-05 12:19:16 -05:00
Matthew Flatt
fc7fa68039 remove test for removed library
And remove the `props' entry again.
2012-12-05 11:18:02 -06:00
Matthew Flatt
863af8c480 try again to fix props
I deleted the entry before.
2012-12-05 11:10:33 -06:00
Matthew Flatt
a559347f4c remove property for removed file 2012-12-05 08:33:50 -06:00
Matthew Flatt
8e5a42bb3c remove docs for removed library 2012-12-05 08:32:53 -06:00
Matthew Flatt
62019bbd0f raco setup: flush loaded "info-domain" when info is updated
Fixes problems updating user-specific documentation on a
package install, for example.
2012-12-05 08:26:40 -06:00
Matthew Flatt
64f0273829 fix printing problem with flvectors 2012-12-05 05:56:59 -06:00
Matthew Flatt
7a85072cf4 dist-specs and build: include math libs 2012-12-05 05:56:59 -06:00
Robby Findler
6b3b59e4a8 more "this function is useless" notes in old contract functions 2012-12-04 21:07:34 -06:00
Jay McCarthy
40964d766e Nicer indentation and fixing a typo in db reading 2012-12-04 19:41:00 -07:00
Nadeem Abdul Hamid
c0a412ed0e fix close parens behavior in interactions and comments 2012-12-04 20:39:10 -06:00
Robby Findler
d30e7c6771 clarify that flat-contract is essentially useless now 2012-12-04 19:58:19 -06:00
Vincent St-Amour
9a5db10124 Fix tests. 2012-12-04 19:29:16 -05:00
Vincent St-Amour
ac58c45477 Disable optimization of mixed-mode arithmetic that may involve exact 0.
Exact 0 turns out to also be a corner case for addition.

At this point, mixed-mode optimizations pretty much only apply for mixes
of floats and literal non-zero non-floats.
2012-12-04 19:29:16 -05:00
Vincent St-Amour
45a3b9f48d Don't warn about exact arithmetic for inexact numbers. 2012-12-04 19:29:16 -05:00
Vincent St-Amour
93939f45d0 Don't optimize mixed-mode arithmetic if it would change results. 2012-12-04 19:29:16 -05:00
Vincent St-Amour
fb73bc8b0e Fix partial bounds checking elimination.
Closes PR13341.
2012-12-04 19:29:16 -05:00