Commit Graph

32694 Commits

Author SHA1 Message Date
Max New
889ad57fff Fix typo in redex docs 2014-02-03 12:30:52 -06:00
Eric Dobson
7b8b2cf324 Add tests for fixnum operations on the boundary conditions.
Also change type of - on negative fixnums to be more precise.
2014-02-03 09:31:19 -08:00
Robby Findler
f774a9098e fix error message for set-field! and dynamic-set-field! 2014-02-03 10:06:06 -06:00
Robby Findler
a75e770534 add missing provide 2014-02-02 22:00:10 -06:00
Robby Findler
7bec967c0d adjust class/c so the expansion is slightly smaller
that is, instead of (class/c [m (->m integer? integer?)] n) turning
into a call to a constructor that has calls to coerce-contract for
the 'm' method, it instead expands the 'n' method contract into an
identifier reference (that isnt' bound to #f, since #f is coercable to
a contract) and the 'm' contract argument just sits there in the expansion
2014-02-02 21:34:30 -06:00
Robby Findler
2989918a4f break up class/c's representation into the internal and external parts
The main change in this commit is to refactor the class/c projection
such that it actually build two classes internally when only a single
class/c is applied to a single class. The goal is to further adjust
class/c so that the projection corresponding to the external method
contracts goes away (to be replaced by a new strategy) and the
projection corresponding to the internal method contracts gets delayed
using some as-yet-underminded strategy that avoids creating the new
class until someone actually creates a subclass.

This commit, but itself, however is a performance lose to the tune of
about 2 megabytes in DrRacket's startup footprint. Hopefully this
doesn't last too long.
2014-02-02 08:28:39 -06:00
Robby Findler
5c1fb8686d edito 2014-02-02 07:35:41 -06:00
Matthew Flatt
a6c28c2c06 raco setup: fix test for installing doc CSS to user-specific location
For example, if a package is installed in user scope where no
user-scope documentation is already built, CSS files need to be
in place for the main page of user-specific documentation.
2014-02-01 09:46:46 -07:00
Matthew Flatt
01a5dd2dbf document parameter settings of a new place 2014-02-01 09:46:45 -07:00
Mike Sperber
bfe39644a1 Synch German string constants with latest. 2014-02-01 15:19:16 +01:00
Ryan Culpepper
b97e6d6acd v5.93 installers info 2014-01-31 18:20:50 -05:00
Asumu Takikawa
f1adc8e856 Update typed/net/url
Closes PR 14330
2014-01-31 11:35:30 -05:00
Robby Findler
b7bd13aedd minor clarification to specify #:opaque more fully 2014-01-31 09:20:14 -06:00
Robby Findler
4ecba66b8d add one more missing require from recent class/c file rearrangement 2014-01-31 09:07:51 -06:00
Matthew Flatt
b6218097d2 srfi/34: work with else frmo racket or mzscheme 2014-01-31 07:05:13 -07:00
Eric Dobson
9eacbec35e Remove extra in-set type annotation. 2014-01-30 23:34:45 -08:00
Robby Findler
ced62b8975 add missing export 2014-01-30 22:42:48 -06:00
Robby Findler
a12ebdeff9 move the class/c implementation into its own file 2014-01-30 16:32:05 -06:00
Asumu Takikawa
7476ca0ac0 Handle kw λs when useful annotations are missing
Closes PR 14322
2014-01-30 11:38:06 -05:00
Asumu Takikawa
dc41219463 Check kw function definitions w/o type annotations
Instead of trying to check the expansion as-is (which
always fails), check the core function and reconstruct the
keyword function type.

Closes PR 11253
2014-01-30 11:37:24 -05:00
Matthew Flatt
24025fe5ed unix-style install: preserve build stamp
Instead of preserving specific configuration entries, it's probably
better to preserve all of them that are not specifically replaced.
I'm going with the simpler change for now, though.
2014-01-29 18:12:39 -07:00
Matthew Flatt
ed007e0fa0 fix another potential overflow in fixnum expt
This commit is a follow-up to e96d592735. The bug fixed this time is
more subtle, because the overflowing computation is never used, but
that doesn't matter in terms of avoiding undefined behavior.

Thanks for Pascal Cuoq and John Regehr.
2014-01-29 16:26:04 -07:00
Matthew Flatt
f22a895060 racket/gui: add [set-]undo-preserves-all-history[?] to editor<%>
This change allows undo configuration of individuals editors to
Emacs-style undo (in addition to the 'GRacket:emacs-undo global
preference that is read on startup).

Also, fix a bug in Emacs-style undo that dates from the port of
the editor into Racket.
2014-01-29 16:26:04 -07:00
Asumu Takikawa
94393586a6 Minor doc fixes in Reference and Inside 2014-01-29 00:00:16 -05:00
Matthew Flatt
be58be349a racket/gui: fixups for mod3-5 event additions
Move new initialization arguments to the end to avoid backward
incompatibility, add fields to `module-event%`, and include history
notes in the documentation.
2014-01-28 12:28:16 -07:00
Jay McCarthy
e7f0f3587a Record information about other key modifiers on X11/GTK
In particular, Mod4 is used for the Command button when you run Linux
on Mac hardware. I don't know how to get the others, but added them
for safety.
2014-01-28 07:37:22 -07:00
Jay McCarthy
f7e903d493 new drdr meta 2014-01-28 07:37:22 -07:00
Matthew Flatt
8177be0b99 distro-build: record "" build stamp (especially for release mode) 2014-01-28 07:32:44 -07:00
Matthew Flatt
387dd2117b distro-build: always include version number in directory for source 2014-01-28 07:32:44 -07:00
Matthew Flatt
ce63c5b75f racket/gui: correct undo array resize for Emacs-style undo 2014-01-28 07:32:44 -07:00
Asumu Takikawa
c8554e2489 Fix keyword function type conversion in TR
Makes rest arguments work properly and handles
keywords passed in by sorted order.
2014-01-28 00:13:43 -05:00
Asumu Takikawa
b9493ab142 Fix parsing for keyword & rest arg function types
Closes PR 14309
2014-01-28 00:13:12 -05:00
Asumu Takikawa
fd0431986e Doc fixes to Inside guide
Fix a documented type and make a definition link for
SCHEME_PRIM_CLOSURE_ELS.
2014-01-27 13:37:36 -05:00
Eric Dobson
4e9d15306c Fix type of parameter? to correctly account for variance.
Closes PR 14315.
2014-01-27 08:51:10 -08:00
Eric Dobson
2016ab1c2f Add rough draft of docs for Top/Bot to quiet DrDr. 2014-01-27 08:36:35 -08:00
Matthew Flatt
b07fa81950 unix: fix gracket-based launcher creation
The launcher was always create assuming a specific relative path
from the "bin" drectory to the "lib" directory, but that relative
path changes in a Unix-style install.
2014-01-27 08:20:58 -07:00
Matthew Flatt
e96d592735 expt: avoid undefined integer overflow in fixnum implementation
Also, extend fixnum fast path to work more often in 64-bit mode.

More review would be appreciated to help ensure that the revised
implementation avoids undefined behavior in C.
2014-01-26 21:02:28 -07:00
Matthew Flatt
58b898bc13 fix in-directory for a non-#f argument, not inline for clause
Closes PR 14312
2014-01-26 19:15:03 -07:00
Robby Findler
23d583fe0d add default-equiv and some examples in docs 2014-01-26 19:58:15 -06:00
Matthew Flatt
13b1d0733a racket/gui cocoa: fix atomicity of refresh
Atomicity was accidentally turned off in ca0418d47d.

For whatever reason, this bug seems to cause lots of trouble with
32-bit Mac OS X and not as much for 64-bit Mac OS X.
2014-01-26 18:38:40 -07:00
Matthew Flatt
bc018585ac avoid a malloc(0)
This is unlikely to fix any problems, but I think malloc(0) is not
specified by C99.
2014-01-26 18:38:40 -07:00
Matthew Flatt
791ec4cfb1 recognize "1.0.1e" for openssl libraries 2014-01-26 18:38:40 -07:00
Matthias Felleisen
4579cfbe72 how to run tests 2014-01-26 18:03:03 -05:00
Matthias Felleisen
25537f7daf test: added equiv predicate 2014-01-26 18:03:03 -05:00
Matthias Felleisen
22681c5639 doc: added equiv predicate 2014-01-26 18:03:02 -05:00
Matthias Felleisen
6da7f382fc code: added equiv predicate 2014-01-26 18:03:02 -05:00
Robby Findler
b020b8aee7 up timeout for test-htdp.rkt
Judging from how the length of the transcript before the timeout kicks in,
the timeout is happening around 75% of the way down. So give it a bit more
time than that.
2014-01-25 22:00:21 -06:00
Robby Findler
a89ac52215 fix (hopefully) the Move Tab Left and Move Tab Right shortcut keybindings 2014-01-25 21:42:01 -06:00
Robby Findler
90a9b951b7 fix test for new default ordering of main & test modules in drracket 2014-01-25 21:42:01 -06:00
Eric Dobson
7fabf5f3fc Make parse type use literal-syntax-classes.
Fixes arrows in check-syntax.
Adds actual bindings for Top and Bot filters.
Make tests give more info on failure, and change test to not use Number.
2014-01-25 17:48:20 -08:00