Commit Graph

33133 Commits

Author SHA1 Message Date
Eric Dobson
f321098cce Inline some local variables in cgen/seq. 2014-05-26 08:22:34 -07:00
Eric Dobson
f6588df220 Remove top-arr. 2014-05-26 08:22:12 -07:00
Eric Dobson
01b2b8376e Add performance hint to var-promote. 2014-05-26 08:13:17 -07:00
Eric Dobson
9efa4af051 Make initial version of structural type recursion, and use it. 2014-05-26 08:13:16 -07:00
Eric Dobson
cadc2dcb8f Merge var-promote and var-demote. 2014-05-26 08:13:16 -07:00
Eric Dobson
ee4e07f5eb Add tests for promote/demote.
Also fix promotion/demotion in hashtables and kw arguments.
2014-05-26 08:13:16 -07:00
Eric Dobson
5e4eecc8c6 Make promote-demote no longer a unit. 2014-05-26 08:13:16 -07:00
Matthew Flatt
7137c8d6a6 racket/unit: fix signature handling of define-values/invoke-unit/infer
Closes PR 14453
2014-05-26 08:43:34 +01:00
Jordan Johnson
cd9e46edc2 Re-exported types from openssl. 2014-05-25 22:51:43 -04:00
Jordan Johnson
44460d383d Lifted types & main openssl lib to separate files.
Noticed that typed wrappers for some other libs (e.g., db) would use
the types but not necessarily the functions, so it seems logical to
separate the types.

Also, after I built Racket on my Mac, it failed to find
openssl/main.rkt named as it was — signaled an error that indicated it
was looking in <my git repo>/pkgs/htdp-pkgs/htdp-lib/typed/openssl.rkt
— so I lifted openssl/main.rkt out to openssl.rkt
2014-05-25 22:51:43 -04:00
Jordan Johnson
a651845605 Added openssl, openssl/sha1, and openssl/md5.
Also, listed new libs in TR scribble docs.
2014-05-25 22:51:43 -04:00
Matthew Flatt
0e9f468d3f repair JIT bug
The bug incorrectly tracks the value that is available in virtual
register R0 --- only in the case that some value was known to be ready
in R0, and some other value was known to be ready in R1, and a value
is moved from R1 to R0.

Closes PR 14523
2014-05-25 21:45:20 +01:00
Robby Findler
5c2c3c65ff remove the "variable not a prefix" side-condition from the r6rs model 2014-05-25 03:39:47 -05:00
Robby Findler
747b5cd46e remove unique? side-conditions from the r6rs language due to the _!_ semantics change 2014-05-25 03:39:46 -05:00
Robby Findler
f26a5b60d7 fix bug in recent _!_ semantics change 2014-05-24 11:58:25 -05:00
Robby Findler
69c96c628d Change the semantics for _!_ variables when they are under ellipses
In particular, make the semantics less insane. There is now a
much simpler description of how these two interact (see docs)

Altho this is a backwards incompatible change, it seems relatively
unlikely to affect anyone negatively and it makes the R6RS semantics
better and makes it possible to think about enumerating expressions
from that grammar
2014-05-23 21:57:50 -05:00
Robby Findler
ec01c7689c bring down below 102 lines 2014-05-23 21:57:49 -05:00
Robby Findler
cc2366bc29 added non-terminal-gap-space 2014-05-23 17:38:40 -05:00
Matthew Flatt
bcafba989f racket/unit: repairs related to signature extension
Fix signature extension so that the scope of identifiers in the
extended signature behaves the same as `open`.

Also, fix `struct` (or generally `define-values-for-export`)
in its interaction with `open` and `unit-from-context` (two
different bugs).
2014-05-23 18:58:42 +01:00
Burke Fetscher
8ed5a32d5d redex: fix stepper
This was exposed by the removal of the undefined value.

It's not clear if there was a bug lurking here or not.
The call to "move" was being bypassed on the initialization
of "pb", so the side effect of setting "set-visible?" wouldn't
have happened. Either that really didn't cause any problems,
or perhaps things looked strange briefly until the user did
something.
2014-05-23 12:38:56 -05:00
Robby Findler
81cd1e3404 vectorof contract: add some tests and make flat variant subscribe to the val-first protocol 2014-05-23 10:16:03 -05:00
Vincent St-Amour
7abf555a8a Make group-by preserve the ordering of the original list. 2014-05-22 14:19:48 -07:00
Robby Findler
fbcada2045 fix mangling of drracket io test 2014-05-22 14:33:01 -05:00
Robby Findler
3ae93442d3 bring down below 102 columns 2014-05-22 14:28:29 -05:00
Robby Findler
4c108b09de add box/c tests (should have been included in 37a4a9ada6) 2014-05-22 14:28:14 -05:00
Robby Findler
f36dc28102 adjust drracket IO test to be more forgiving to IO order 2014-05-22 14:28:14 -05:00
Robby Findler
c0dfc135c0 tweak save-file docs based on my own earlier confusion 2014-05-22 14:28:14 -05:00
Robby Findler
28963f2365 fix bug introduced in 23d5cf56 2014-05-22 14:28:14 -05:00
Matthew Flatt
52e2d7b1c9 Makefile: add IF EXISTS guard on del for a Win32 target
Fixes Windows installer builds in a fresh working directory.
2014-05-22 17:52:51 +01:00
Robby Findler
37a4a9ada6 adjust box/c to use the val-first-projection protocol 2014-05-21 23:42:49 -05:00
Robby Findler
1f1d1a38aa minor cleanups to contract-random-generate's API 2014-05-21 12:10:45 -05:00
Eric Dobson
42acb08399 Make unfold use typecase instead of subst. 2014-05-21 09:39:56 -07:00
Jay McCarthy
aaa892646a Add section on separate compilation to reference 2014-05-21 10:14:21 -06:00
Robby Findler
dd0f0b6141 add -z flag
for zeroing out the margins when printing a slideshow
2014-05-21 10:49:49 -05:00
Matthew Flatt
dfeba12997 MzCOM: avoid the ATL framework
Building MzCOM without ATL means that Visual Studio Express --- or
other free compilers, in principle --- can build MzCOM. It also cleans
up and simplifies the build.

The non-ATL implementation is based on "Com in Plain C" by
Jeff Glatt, and uses a lot of his code (with instructive
comments intact).
2014-05-21 08:58:33 +01:00
Matthew Flatt
165bae6c2c repair and streamline VS 2008 projects 2014-05-21 08:51:37 +01:00
Eric Dobson
895ab035d2 Remove unused variable in constraint struct. 2014-05-20 20:57:43 -07:00
Eric Dobson
993748909f Simplify constraint->type. 2014-05-20 20:57:42 -07:00
Eric Dobson
6cc10cdb18 Remove unused code in subst-gen, and remove internal error. 2014-05-20 20:57:42 -07:00
Eric Dobson
7e7350691f Make subst-gen not duplicate call to values. 2014-05-20 20:57:42 -07:00
Eric Dobson
5ab3eb81fd Unset contracts enabled by default for TR. 2014-05-20 20:57:26 -07:00
Eric Dobson
f42a7b9fc9 Re-enable Values and cgen/seq, and fix contracts on substitute.
After longer testing confirmed that this was just to strict contracts on
substitute.
2014-05-20 20:52:43 -07:00
Robby Findler
6be845ff30 do a better job of keeping the err/out ports IO in the right order
... in the case that IO happens during the 'first-opened' method,
e.g., during teachpack running in an empty REPL
2014-05-20 17:25:22 -05:00
Robby Findler
4db7477b0d fix timeout computation in the REPL io
In the case that the flush queue was empty, the first byte that
comes it would appear to have come from a long time ago and
thus get flushed immediately.

Instead, when the first byte comes in, we restart the timer at that
point, intead of holding the old value
2014-05-20 17:20:31 -05:00
Robby Findler
23d5cf568e clean up initialization of the teachpacks in an empty repl
In more detail, the way the initial namespace was being set up was
different than the way that you get if you just hit 'Run' on an
empty program. So change the initial namespace creation to more closely
mimic the way an running an empty program works.
2014-05-20 17:20:31 -05:00
Matthew Flatt
a57e712ba3 add scheme_jit_now() 2014-05-20 09:01:40 +01:00
Matthew Flatt
9b78847be0 add unix-style makefile target
Also, revise "INSTALL.txt" to better explain the build options.
2014-05-20 09:01:40 +01:00
Eric Dobson
90341fa8fb Rollback using cgen/seq for values because the generated substitutions have issues. 2014-05-20 00:06:11 -07:00
Eric Dobson
d83b2b8ec2 Split out shared code for generating dbound prefixes. 2014-05-19 21:34:53 -07:00
Eric Dobson
9073315931 Merge case for applying polydotted functions. 2014-05-19 21:34:53 -07:00