Commit Graph

27284 Commits

Author SHA1 Message Date
Matthew Flatt
06db2f9a74 JIT: add missing buffer-limit check
The missing check affected PPC especially.
2012-11-19 19:24:45 -07:00
Matthew Flatt
a9d2a8a764 file/untar: try to better accomodate Windows permissions 2012-11-19 17:11:21 -07:00
Matthew Flatt
68bdf190d7 switch raco pkg install' to use file/untgz' 2012-11-19 17:01:01 -07:00
Matthew Flatt
0f47069f98 add file/untgz 2012-11-19 17:01:01 -07:00
Matthew Flatt
3a76581a36 add file/untar 2012-11-19 17:01:00 -07:00
Vincent St-Amour
6a7b971cd6 Only generate ->* contracts when arguments are really optional arguments.
Closes PR13274.
2012-11-19 17:35:07 -05:00
Vincent St-Amour
bdfd7f8d6f Add -d0 flag to Chicken benchmarks.
Recommended by Mario Goulart.
2012-11-19 17:35:07 -05:00
Vincent St-Amour
29cfc48c5e Fix citation disabiguation when authors differ. 2012-11-19 17:35:07 -05:00
Asumu Takikawa
a9201f68dd Fix typo
Related to PR 13241
2012-11-19 16:29:56 -05:00
Asumu Takikawa
dc609f46f0 Fix some docs. Add an example too. 2012-11-19 15:38:13 -05:00
Matthew Flatt
3e505af4f9 remove `sirmail'
SirMail is moving to its own repo:
 https://github.com/mflatt/sirmail
Install with
 raco pkg install sirmail
2012-11-19 12:15:01 -07:00
Matthew Flatt
deb3c87c32 avoid a compiler warning 2012-11-19 09:41:32 -07:00
Matthew Flatt
0f5308514a fix docs for `time'
The `time' form allows multiple forms and as an internal-definition
context.
2012-11-19 09:38:58 -07:00
Matthew Flatt
be20ecc8f3 minor bytecode-compiler fix
A bogus flag was propagated to closure information. This flag
was ignored by the validator, but not `zo-parse'. Make the validator
reject the bogus flag, too, while fixing the compiler.
2012-11-19 09:36:16 -07:00
Matthew Flatt
702df4b07a racket/gui/dynamic: make gui-dynamic-require' pull from racket/gui/base'
It was pulling from `scheme/gui/base', instead. The one from `scheme/gui/base'
is now different and still pulls from `scheme/gui/base'.

This could break some programs that accidentally depended on `scheme/gui/base'
exports from `gui-dynamic-require', but it's more likely to fix problems.
2012-11-19 08:13:48 -07:00
Matthew Flatt
d90fbaeff4 scheme/gui/base: fix module-attach problem in `make-gui-base-namespace'
The `scheme/base' module had become unreachable from the `mred' module.
While that normally would be a good thing, it lead to troublesome
multiple instantiations of `scheme/base' that caused problems for
attaching further modules to the namespace.
2012-11-19 07:56:48 -07:00
Matthew Flatt
843aa670e9 racket/gui: fix docs for `printer-dc%' and related functions
A page-setup dialog is now available on all platforms, which means
that no dialog will appear when a `pirinter-dc%' is created. Meanwhile,
note that `end-doc' normally shows a (different) dialog.
2012-11-18 10:31:21 -07:00
Matthew Flatt
345fce71d5 another fix to bytecode compiler's propoagation of local-type info
This one is related to shifting type info when the closure is
made smaller due to lifting of something that used to be in
the closure. The `games/pousse/robot' module exposed the bug.
2012-11-18 10:31:20 -07:00
Matthew Flatt
afca33b78b fix to bytecode compiler's propoagation of local-type info
This is another old bug that could have caused validation failures
with flonums, but it showed up with fixnum tracking because fixnums
are more common (e.g., from `string-length').

There were really two bugs: information installed at the
wrong offet in one place, and a failure to detect that information
should be propagated in a different place. Fixing both avoids
a validation problem with `html/sgml-reader'.
2012-11-18 10:31:20 -07:00
Matthew Flatt
81fc033f93 JIT: refactor unboxing flostack to better support other datatypes
Instead of keeping offsets in terms of `double's, keep it in
terms of bytes. This change is a step toward putting other kinds
of values on the flostack, such as extended-precision floats.
2012-11-18 10:31:20 -07:00
Matthew Flatt
4e6f8af667 JIT: fix a bug related to self-tail calls
The last argument in a self-tail cal is treated specially and
not immediately stored on the "runstack". Space was formerly
allocated for it, though, and under certain circumstances
that space was not initialized. I think a combination of thread
timing, GC timing, and flonum boxing could potentially lead to a
crash (but constructing a test case is really difficult).
2012-11-18 10:31:20 -07:00
Matthew Flatt
7a8f5f20fc bytecode compiler: replace table of local types with flags on primitives
This change makes it easier to annotate more primitives, so functions like
`integer-length' are now annotated as producing a fixnum.
2012-11-18 10:31:20 -07:00
Matthew Flatt
c5d3178602 change representation of optimization flags on primitives
Makes room for a lot more.
2012-11-18 10:31:20 -07:00
Matthew Flatt
42f74b5982 JIT tweak: stack-clearing operations do not disturb registers 2012-11-18 10:31:20 -07:00
Matthew Flatt
be4ce3ed66 skip some unneeded fixnum tests in JIT-generated code 2012-11-18 10:31:20 -07:00
Matthew Flatt
4041e65a86 JIT simplification
The scheme_generate_arith() function effectively had its own
copy of of the general scheme_generate_two_args() function that
predates the general one. Using scheme_generate_two_args()
instead simplifies and clarifies the code.
2012-11-18 10:31:20 -07:00
Neil Toronto
68af24780d Manually applied Jens Axel's patch to add `random-prime' 2012-11-17 21:19:46 -09:00
Jens Axel Søgaard
e655e97a83 Better example for prime-omega 2012-11-17 21:03:47 -09:00
Jens Axel Søgaard
69f6d8ce52 Added prime-omega 2012-11-17 21:02:59 -09:00
Neil Toronto
1e52736089 Documentation style changes
Fixes after merge weirdness from pull request (specifically, removed `bfrandom' from "mpfr.rkt" again)
Removed dependence of math/flonum on math/bigfloat (better build parallelization)
Changed `divides?' to return #f when its first argument is 0
Made return type of `quadratic-character' more precise
Made argument types more permissive:
 * second argument to `solve-chinese'
 * second argument to `next-primes'
 * second argument to `prev-primes'
2012-11-17 21:02:37 -09:00
Jens Axel Søgaard
db500e8b58 Fixed next-prime and prev-prime problem 2012-11-17 21:02:37 -09:00
Jens Axel Søgaard
7e89adece4 Moved links to margin. Added more links 2012-11-17 21:02:37 -09:00
Jens Axel Søgaard
f208d0dae8 Add note about untyped- in docs for next-prime and prev-prime 2012-11-17 21:02:37 -09:00
Jens Axel Søgaard
bbef490fb0 Fixed missing import for curry 2012-11-17 21:02:36 -09:00
Jens Axel Søgaard
9307cbb120 Changed size of prime arrary to 10000 2012-11-17 21:02:36 -09:00
Jens Axel Søgaard
2178282fd6 Documentation for order, orders, primitive-root, exists-primitive-root?, primitive-roots 2012-11-17 21:02:36 -09:00
Jens Axel Søgaard
0af1cb034e Documentation of tangent-number, quadratic-solutions, quadratic-residue and quadratic-character 2012-11-17 21:02:36 -09:00
Jens Axel Søgaard
63b5f47989 Documentation on mediant 2012-11-17 21:02:36 -09:00
Jens Axel Søgaard
00a886ea0c Documentation on polygonal numbers 2012-11-17 21:02:36 -09:00
Jens Axel Søgaard
f68cc0ada6 More documentation on number theoretic functions 2012-11-17 21:02:36 -09:00
Jens Axel Søgaard
8b99eb5b6a Headline in docs 2012-11-17 21:02:36 -09:00
Jens Axel Søgaard
e81f9eb146 Added bindings to number theoretic functions 2012-11-17 21:02:36 -09:00
Robby Findler
4ba1c119d4 fix bug in recent tooltip-related commit 2012-11-17 21:26:02 -06:00
Robby Findler
9298353e90 add recent changes to HISTORY 2012-11-17 20:17:19 -06:00
Robby Findler
e449e275ab removed the deinprogramm one-line-summary's because they are
just the same as the language names, and so look a bit silly
in tooltips now
2012-11-17 20:15:19 -06:00
Robby Findler
4774d7fea0 made the 'one-line-summary' of the drracket languages be in tooltips,
instead of in a message% object near the bottom of the dialog
2012-11-17 20:15:19 -06:00
Ryan Culpepper
ba1f4a6b22 fix for ssl-set-verify-hostname! 2012-11-17 16:46:10 -05:00
Ryan Culpepper
c5f8aa41ee add some basic notes on using ssl securely 2012-11-17 16:35:03 -05:00
Ryan Culpepper
5cdb967251 added ssl-set-verify-hostname! 2012-11-17 15:36:18 -05:00
Ryan Culpepper
1c0e08f0a6 do security-guard check in ssl-load... 2012-11-17 14:47:13 -05:00