Commit Graph

33325 Commits

Author SHA1 Message Date
Robby Findler
e658e48b01 improve drracket to offer spelling suggestions and to jump to next misspelled word 2014-06-17 03:27:14 -05:00
Robby Findler
9423007652 add to the framework's spell checking support
the ability to determine if specific spots in the editor correspond to
misspelled words
2014-06-17 03:27:13 -05:00
Matthew Flatt
36aaf3dd7b bitwise-bit-field: repair fixnum overflow problems
Bug reported by Roman Klochkov
2014-06-17 07:17:16 +01:00
Matthew Flatt
f3c8638366 raco test: add --heartbeat flag
Useful when running many tests in parallel to keep track of a test
that is running especially long (and maybe stuck).
2014-06-17 07:17:16 +01:00
Matthew Flatt
034acfa514 raco test: handling of spurious files
A `--drdr` run shouldn't stop because a discoevered file
disappears (such as one generated temporarily by a test).

Also, use new style for some errors.
2014-06-17 07:17:16 +01:00
Matthew Flatt
ad34e983f2 move some test-generated files to temp dir 2014-06-17 07:17:16 +01:00
Matthew Flatt
1c9db0d07c avoid re-generating some bitmaps on test 2014-06-17 07:17:16 +01:00
Eric Dobson
fecaf5127d Correctly instantiate poly dots during inference.
This removes the need for the cache of type variables for instantiating
dotted variables, because we instantiate the uses at once.

Closes PR 14576.
Closes PR 14577.
Closes PR 14579.
Closes PR 14580.
2014-06-16 23:01:39 -07:00
Eric Dobson
6d975ea6bb Make cgen/seq for lists be used more often. 2014-06-16 21:51:24 -07:00
Eric Dobson
050c1022c9 Replace abstract-results with replace-names.
Also moves large comment over to with replace names since it is now
doing the heavy lifting.
2014-06-16 21:08:00 -07:00
Eric Dobson
1ec00bb602 Correctly add scopes to incoming objects in replace-names. 2014-06-16 21:08:00 -07:00
Eric Dobson
2ba070c6b3 Make tc-results->values not drop filters. 2014-06-16 21:07:59 -07:00
Eric Dobson
bb25a2332c Add test requiring filters on AnyValues. 2014-06-16 21:07:59 -07:00
Eric Dobson
2f39323b8c Simplify values->tc-results.
Also fixes a bug in subst-tc-results not substituting into the dotted
type.
2014-06-16 21:07:59 -07:00
Eric Dobson
577b00a170 Merge open-Values and values->tc-results. 2014-06-16 20:57:53 -07:00
Eric Dobson
8d7f12a793 Remove bad branch it tc-lambda, and support code in values->tc-results.
The branch was bad because Values is not a valid Type/c.
2014-06-16 20:24:00 -07:00
Eric Dobson
911b3ee8ee Substitute into the dotted type of tc-results. 2014-06-16 20:07:19 -07:00
Eric Dobson
385729260f Make the filter actually be opened up in the AnyValues case. 2014-06-16 20:07:18 -07:00
Eric Dobson
8e63b65fa2 Add a bunch of unit tests for open-Values. 2014-06-16 20:07:18 -07:00
Eric Dobson
2922440fdd Move to open-Values instead of open-Result. 2014-06-16 20:07:18 -07:00
Matthew Flatt
1407e0cc9f win32-in-place: fix prep of libraries needed by raco setup 2014-06-16 11:41:00 +01:00
Matthew Flatt
6778604bd2 Makefile: improve DESTDIR support 2014-06-16 11:41:00 +01:00
Matthew Flatt
4f96f6fe62 Windows: long double fix for MSVC 2013 2014-06-16 10:25:34 +01:00
Matthew Flatt
cee00a1c6e Windows build: use msbuild instead of devenv or vsexpress 2014-06-16 10:25:34 +01:00
Robby Findler
64fd649ee5 add keyboard shortcuts to unsaved dialog warning on mac os x
closes PR 12927
closes PR 10708
closes PR 8996
2014-06-15 04:16:02 -05:00
Matthew Flatt
65b564566b INSTALL.txt: fix instructions for make unix-style 2014-06-15 09:26:18 +01:00
Matthew Flatt
5e3ddea2ae syntax-local-lift-...: fix for use during module visit
Closes PR 14573
2014-06-15 09:24:11 +01:00
Matthew Flatt
16114823dc make installers: propagate SOURCE_MODE to clients 2014-06-15 07:37:10 +01:00
Eric Dobson
f47159be46 Add vars to tvar environment when infering poly function applications. 2014-06-14 15:53:02 -07:00
Matthias Felleisen
3df3cd2b9d fixed indexing and typo; Closes PR 14575, Closes PR 14564 2014-06-14 15:11:53 -04:00
Eric Dobson
76c3ec443f Remove ability to check unreachable code.
If code is unreachable then looking up any variable should return
Bottom. But implementing checking unreachable code that way is not that
useful.
2014-06-14 11:40:05 -07:00
Robby Findler
151e4cfac4 add missing guard 2014-06-14 06:04:43 -05:00
Robby Findler
fd3aaf6f20 fix struct/dc's flatness test so that contracts with lazy fields aren't flat
closes PR 14558
2014-06-14 04:03:15 -05:00
Vincent St-Amour
8b6d3e9117 Fix occurrence typing when comparing Byte and Positive-Rationa.
Closes PR14568.
2014-06-13 21:59:56 -07:00
Stephen Chang
243e607477 add note in syntax-parse docs about #:with and #:declare interaction 2014-06-13 14:43:29 -04:00
Matthew Flatt
49691c4000 fix glib build for Windows 64
The previous build attempted to cooperate with Valgrind in a way that
truncates a 64-bit address to a 32-bit address. Disable Valgrind
cooperation. (Other builds seem ok for now, but future rebuilds will
disable Valgrind cooperation for them, too.)
2014-06-13 16:32:51 +01:00
Matthew Flatt
dda2520a12 fix --enable-sgcdebug build 2014-06-13 16:32:51 +01:00
Matthew Flatt
aa487175ad change default MSVC projects to Visual Studio 2010 (version 10) and up
Visual Studio 2008 is still supported by "9.sln" projects and
".vcproj" files, while ".sln" and ".vcxproj" work for 2010, 2012,
and 2013. The "build.bat" script detects which version of
Visual Studio is active and uses the appropriate ".sln" files.

The bad news is that we have two copies of each project until we
decide to drop support for Visual Studio 2008. (We had two copies
before, but one copy was unmaintained.) The good news is that
we have only 2 copies of each project, because recent versions of
Visual Studio are willing to use 2010 projects as-is.

Change project and related files to text instead of always CRLF,
because that seems to be ok for modern Windows tools.
2014-06-13 16:32:51 +01:00
Matthew Flatt
b7610c405d distro-build: move a file out that is accessed directly
The "pack-all.rkt" file is needed before (and only before) the
distro-build package itself is ready, so move it to the "racket/src"
directory.
2014-06-13 16:32:51 +01:00
Robby Findler
c06542b393 bring back accidentally clobbered value-contract tests 2014-06-13 08:33:16 -05:00
Robby Findler
0a0c62a1e6 add has-blame? and value-blame 2014-06-13 08:28:40 -05:00
Robby Findler
56801372f0 add a test for behavior that's not currently liked 2014-06-13 05:43:08 -05:00
Robby Findler
3c6f0d5d04 add a test case to be sure recursive-contract accepts
values with sharing but without cycles
2014-06-13 03:02:20 -05:00
Robby Findler
17451d9662 Revert "change recursive-contract to reject cyclic values"
This reverts commit d664ee1430.

This commit broke recursive-contract because it disallowed any sharing,
not just cycles. And fixing this in the obvious way leads to about a 20x
slowdown (compared to v6.0's recursive-contract) on the micro-benchmark
mentioned in the original change to recursive contract.

So, for now, just go back to accepting cycles.
2014-06-13 03:02:19 -05:00
Robby Findler
d664ee1430 change recursive-contract to reject cyclic values
For a few reasons:

 - this seems to fit better with how TR already works

 - cyclic values are something that, at least in my experience,
   abstractions are not generally equipped to handle (and,
   perhaps worse, don't seem all that useful when weighed against
   the non-termination problems that can come up)

 - there was a suspicious case in the projection where, when a
   cycle was detected the projection just returned its argument
   (the place in the diff for this commit where there is now a
   call to raise-blame-error). I couldn't get this to cause problems,
   but this might just be because I'm not smart enough

related to PR 14559
2014-06-12 23:54:52 -05:00
Robby Findler
bebf41a36e change the render-metafunction #:contract? argument default to #f 2014-06-12 23:54:52 -05:00
Ryan Culpepper
f03a62a6c2 db/postgresql: disconnect on EOF at ready-for-query 2014-06-12 18:27:44 -04:00
Ryan Culpepper
f526d1b1c9 db: connection-pool checks connection is connected before handing out 2014-06-12 17:46:07 -04:00
Ryan Culpepper
d0eff55de5 better error message for unused #:declare clause 2014-06-12 17:03:41 -04:00
Ryan Culpepper
848067c5db fix typo 2014-06-12 14:34:25 -04:00