Commit Graph

34523 Commits

Author SHA1 Message Date
Eli Barzilay
0eed0f6e0e Get rid of `special-dots-printing?'.
Asumu said that he doesn't know of any other clients of this parameter
besides my class code.
2014-10-09 16:11:16 -04:00
Eli Barzilay
2e6b82ab8e Get rid of some unused code.
Looks like some aborted attempt at abstraction, which is no longer used.
2014-10-09 16:11:16 -04:00
Asumu Takikawa
725cb99f4a Rewrite TR class form to preserve abstractions
This uses a technique discovered by Ryan and Dan that
allows the typed class macro to function without invasively
local-expanding the entire class macro (using its private
context information).

Instead, it expands into many helper macros inside the
normal class body and communicates among them using
`syntax-local-value` and compile-time state within the
class body.

This rewrite didn't save that many lines, but it did
reduce the amount of magic that's used.
2014-10-09 14:37:05 -04:00
Burke Fetscher
d17fca3838 redex: randomly choose between search heuristics 2014-10-09 12:51:24 -05:00
Asumu Takikawa
cefa13c4d7 Delete useless definition 2014-10-09 11:00:35 -04:00
Ryan Culpepper
653939ffa7 Post-release version for the v6.1.1 release 2014-10-08 14:39:56 -04:00
Burke Fetscher
ac855bcd9a add missing file from previous push 2014-10-08 11:51:45 -05:00
Burke Fetscher
566f3fbbf4 redex: fix distribution cache in search 2014-10-08 11:46:24 -05:00
Vincent St-Amour
290329e5fa Use bytes consistently in regexmatch.
Inconsistency found by Tobias Pape, see GH issue #792.
2014-10-08 12:00:04 -04:00
Matthew Flatt
f0bd4e6d71 distro-build: "detail" label rendering on download page 2014-10-08 06:25:51 -06:00
Matthew Flatt
40f5ec070a configure: add --enable-natipkg and 64-bit Linux native libraries
The `--enable-natipkg` configuration option adds "-natipkg" to the
platform library subpath. The suffix is intended to trigger the
installation of packages that supply native libraries for supported
platforms (where 64-bit Linux is the supported platform, for now, for
main-distribution packages), instead of relying on libraries installed
via the OS's package manager.

The intended client for "-natipkg" is the package-build service, where
installing packages via the OS package manager would require network
access and either trust or constrained installations. The build
machine is intentionally disconnected from the network and can only
access Racket packages, so repackaging native libraries as Racket
packages makes those libraries accessible.

A disadvantage of this approach to installing native libraries is that
it creates work for implementers of packages that access native
libraries. Those implementers will have to supply packages for 64-bit
Linux versions of native libraries to the degree needed to build and
(eventually) test the package. An advantage of the approach is that it
requires no changes to the package system; it will be cheap to replace
this approach if we find a better way to deal with native libraries
and/or OS packages in the package-build service.
2014-10-08 05:19:33 -06:00
Asumu Takikawa
e50e2eaa57 Fix type for read-bitmap
Closes PR 14729
2014-10-08 01:57:22 -04:00
Burke Fetscher
10d957be1e fix redex benchmark dependencies 2014-10-07 21:56:04 -05:00
Burke Fetscher
b1ca4340c5 fix delim-cont tests 2014-10-07 20:31:24 -05:00
Burke Fetscher
2ba4e97fa1 redex: add typed generators to the benchmark
- change delim-cont to generate a store as well
- add version of rvm that works with #:satisfying
- add version of list-machine that works with #:satisfying
- new rewrites for the above
- infrastructure to wire all of this together
2014-10-07 17:42:57 -05:00
Asumu Takikawa
f271d3b167 Adjust tc-utils too for new DrRacket protocol 2014-10-07 00:02:30 -04:00
Robby Findler
220805a6bf improve the way tooltips line things up
In particular, when a single tooltip entry has a string like:

  "wwww\n  ii"

then be sure to line up the first "i" underneath the third "w".
2014-10-06 22:12:27 -05:00
Robby Findler
8784bd984f adjust the tooltip check syntax property to insist
on the syntax object itself to identify the source,
instead of just handing over the source
2014-10-06 21:19:12 -05:00
Robby Findler
2b48e6c08a update the redex unix bitmap expected results for recent change 2014-10-06 20:16:11 -05:00
Asumu Takikawa
693355710f Add TR tooltips for type errors as well.
Adjust type tooltips to only show if there isn't a type
error on that syntax location.
2014-10-06 18:56:53 -04:00
Robby Findler
230fb91f38 fix rendering of metafunctions that use ∪, ∨, etc in the range contract 2014-10-06 17:06:47 -05:00
Neil Toronto
1e99637bf8 Added get-current-gl-context, tests (also for make-gl-bitmap), and docs 2014-10-06 16:37:06 -04:00
Asumu Takikawa
e301519a7e Add type tooltip information in TR modules
This lets DrRacket show types for expressions that
are typechecked.
2014-10-06 14:07:28 -04:00
Robby Findler
cf9a6d50e2 don't hide the tooltip frame before moving it under linux 2014-10-05 21:56:56 -05:00
Robby Findler
53aeb85759 fix editing error
closes PR 14764
2014-10-05 15:43:45 -05:00
Robby Findler
0c8834d567 make 2htdp/image's equality function ignore baselines
also some Rackety and spelling

related to PR 14760
2014-10-05 07:17:44 -05:00
Robby Findler
0f058d8cf2 require only original-enough? syntax for require annotations 2014-10-04 16:57:18 -05:00
Robby Findler
a50eeb458f add show-content as a simple way to get started with the
drracket/check-syntax library
2014-10-04 16:18:53 -05:00
Robby Findler
d46b097bc8 fix syntax error check in 'bitmap'
closes PR 14763
2014-10-04 09:29:42 -05:00
Neil Toronto
c89434d56b Add more XSync to clear the queue to avoid crashes with repeated use 2014-10-04 06:22:41 -04:00
Robby Findler
ed13d40b6f move the module browser into the drracket-tool-lib pkg
for lighter-weight reuse
2014-10-03 22:12:53 -05:00
Robby Findler
f68f329564 fix bug in 144fdb2a 2014-10-03 21:55:21 -05:00
Robby Findler
868140d91c use a new strategy for computing the baseline for the various beside functions
Instead of just taking the maximum  value of any of the baselines in the
beside case, look for the largest difference between the bottom and
the baseline and take the location of that image's baseline as the combined
baseline. If the differences are equal, take the one that is furthest away
from the top

closes PR 14760
2014-10-03 15:54:02 -05:00
Neil Toronto
36ff6d5dbb Added support for core OpenGL profiles in Linux (see set-legacy?) 2014-10-03 16:15:41 -04:00
Vincent St-Amour
b93b75706e Change prose about RacketCon videos. 2014-10-03 16:06:58 -04:00
Ryan Culpepper
f2c7218670 db: stick to ASCII for pg generated names 2014-10-03 13:07:39 -04:00
Neil Toronto
c50969d60e Use gl-config% multisample size as an upper bound instead of a lower bound 2014-10-03 13:01:57 -04:00
Robby Findler
c64a509f8a disable this file in 'raco test' 2014-10-03 10:14:58 -05:00
Matthew Flatt
9d864b1182 fix UDP improvement for Windows 2014-10-03 06:44:47 -06:00
Robby Findler
01300a7988 new unix bitmaps for redex tests to sate drdr
thanks, Jay
2014-10-03 06:48:21 -05:00
Robby Findler
6f7a633f8b remove equality to make the program easier to read
(in consultation with Jay)
2014-10-02 20:14:07 -05:00
Robby Findler
eb2db158a8 add support for macro-specified tooltips to check syntax 2014-10-02 18:47:14 -05:00
Robby Findler
2ed59fc066 add author and toc 2014-10-02 18:47:14 -05:00
Robby Findler
7e4deac707 fix a bug that disabled check syntax's tooltips
bug was introduced in august 2013
2014-10-02 18:47:14 -05:00
Robby Findler
ec82209950 remove 'print' mode from the Pretty Big language
it was buggy and fixing the bug makes it identical to write
mode, so instead of that, lets just make there not be a print mode

also, minor edits and Rackety
2014-10-02 18:47:13 -05:00
Robby Findler
33e49d0aa2 remove tests that combine outline mode with
pixel checking, as the behavior doesn't seem to be
guaranteed

also, rackety
2014-10-02 18:47:13 -05:00
Neil Toronto
6d7006e7bc Only ask for multisampling of GLX 1.4 or higher; make getting context atomic 2014-10-02 17:58:50 -04:00
Vincent St-Amour
c563b2920c John's slides. 2014-10-02 13:56:32 -04:00
Matthew Flatt
341a218ea5 racket/gui Cocoa: fix test for 10.9 2014-10-02 11:33:38 -06:00
Matthew Flatt
2a387aceea racket/network: improve UDP support
Generalize `udp-send-to`, etc., to try each possibility of
a resolved address (instead of just the first one) like
`udp-connect!` does. This matters, for example, when using
"localhost" as an address, when the machine resolves "locahost"
to both "127.0.0.1" and "::1", and when the socket is created
for the second one that would be tried.

Also, detect and discard asynchronous ICMP errors.
2014-10-02 11:33:38 -06:00