Commit Graph

24504 Commits

Author SHA1 Message Date
Matthew Flatt
47c2fb8ba9 doc clarification on SRFI-1 exports 2012-01-18 09:50:32 -07:00
Eli Barzilay
f184222e2b Add a syntax for making lines in the status text linked. 2012-01-18 07:22:09 -05:00
Eli Barzilay
cf35df172a Make the bg-log files available on the web page too. 2012-01-18 07:17:48 -05:00
Eli Barzilay
cfa5938092 Better solution to using "$platform" -- do that only in DO_BUILD. 2012-01-18 07:17:48 -05:00
Robby Findler
50dba41043 DrRacket & Redex history updates for 5.2.1
Please merge to the release branch
2012-01-17 22:14:36 -06:00
Matthew Flatt
b51b36869e win64: fix `raco dist'
Merge to 5.2.1
2012-01-17 21:07:07 -07:00
Eli Barzilay
cabd6fabc7 Remove robots meta tags.
Indexing index pages is harmless, and also "nofollow" is appropriate for
public lists with lots of junk, advertising etc.  We have nearly zero
spam, so following links in posts is fine.
2012-01-17 22:30:48 -05:00
Matthew Flatt
4e4c40ae8c Mac OS X: work around a localtime() bug in 64-bit 10.6.8
For numbers around -67768122973228093, localtime() doesn't return in
10.6.8, while it returns NULL for 10.7.2. Work around the bug by
setting a lower bound that seems to be high enough to avoid the
problem (and that's lower than the lowest value that succeeds, so no
results are lost, at least for now).

Merge to 5.2.1
2012-01-17 16:09:46 -07:00
Robby Findler
71595a55e6 adjust the names of the dot/neato binaries to be platform-specific 2012-01-17 12:42:42 -06:00
Matthew Flatt
d85f251eb2 fix stack unsafety for rest-arg functions
If a function with a rest arg is called with argv not at the
start of the runstack, then space is allocated for the rest-arg list
on the runstack without clearing the allocated slot. The value in
the slot could be a pointer that wasn't traversed by the most recent
GC, so it could crash a GC during allocation of the rest-arg list.

Also, tweak setup code for a function of no arguments, and improve
comments in the code.

Merge to 5.2.1
2012-01-17 08:58:14 -07:00
Matthew Flatt
ddd246232e fix JIT-generated code in case of arity mismatch
The generated code was checking arity after potentially copying
arguments to the start of the runstack (i.e., if the arguments
were not already there). If too few arguments are provided, then
the copy might access past the end of the given array.

The redundant arity check removed in commit f7c506471b
had previously masked this problem. (Or the check wasn't redundant
in that sense, but it's better this way.)

Merge to 5.2.1
2012-01-17 07:33:58 -07:00
Matthew Flatt
2c88b12913 add some missing acks
Merge to 5.2.1
2012-01-17 07:33:58 -07:00
Eli Barzilay
52382442f0 Have a default "" platform so kauai can still be used to make the dmgs.
(This is just a hack, $platform should really be used only in the build
functions instead of at the toplevel.)
2012-01-17 09:27:06 -05:00
Neil Toronto
695583e90b Added clock icon
Fixed faulty bilinear interpolation in shadow intersection, removed blurring hack

Fixed caching bug (for some reason, generate-temporaries didn't create a unique symbol - note, not *identifier*; used gensym instead)

Please merge into release
2012-01-16 22:30:52 -07:00
Neil Toronto
aa0851bc45 Exposed simple rendering API (can at least render simple icons given a pict now)
Please merge into release
2012-01-16 16:39:18 -07:00
Neil Toronto
f45843d58e Added docs for images/compile-time
Added `is-a?' and `list?' tests to `compiled-bitmap' and `compiled-bitmap-list'

Please merge into release
2012-01-16 16:39:17 -07:00
Ryan Culpepper
f711f3385c macro-stepper: fix relative require bug (set current-directory)
related to PR 12486
2012-01-16 14:55:43 -07:00
Matthias Felleisen
f173b9977c fixing silly mistake, plus test; please merge 2012-01-16 16:21:25 -05:00
Matthias Felleisen
54c1f496e8 this creates a repeatable cored dump in drracket 2012-01-16 15:41:48 -05:00
Neil Toronto
ea68677d2f Icon fixes:
Split images/icons/misc into images/icons/symbol and images/icons/misc

Updated tests

Fixed Gtk assertion failure in Macro Stepper (came from "about" dialog being created before the stepper window was shown; fixed by creating it on demand)

Changed Stepper similarly (though there was no assertion failure)

Put a quote in the Macro Stepper logo

Portable recycle-icon

Removed recycle unicode from the docs (was causing PDF build to fail)

Internal API fixes

Please merge into release
2012-01-16 12:45:48 -07:00
Matthias Felleisen
10f8222bf4 added documentation for pad-handler facility 2012-01-16 12:41:15 -05:00
Matthias Felleisen
f9233bce47 added pad-handler facility 2012-01-16 12:41:13 -05:00
Robby Findler
aaeb3db534 clear the "what was the last language?" state when moving out of the module language
so that things get initialized properly when moving back into the module language.

closes PR 12493
2012-01-16 09:09:58 -06:00
Robby Findler
5d946329ca adjust two 2htdp test files so they don't run in drdr (they are interactive)
please merge to the release branch
2012-01-16 08:56:59 -06:00
Eli Barzilay
7fa08391a0 XREPL fixes
* Avoid using readline on windows (segfaults, and anyway mostly not
  useful)

* Don't try to read init file if it doesn't exist.

* Improve asking questions in the `install!' command.
2012-01-16 08:18:30 -05:00
Danny Yoo
a1da6af22d correction for performance.scrbl 2012-01-16 08:18:30 -05:00
daniel watson
75d5b42640 Guide proofread
* fix content of REPL output in quote example

* fix indentation on tail-recursive my-map code
2012-01-16 08:18:30 -05:00
Eli Barzilay
252221246d Debian squeeze is back, and a typo.
(The lenny build will not be back.)
2012-01-16 08:18:30 -05:00
Neil Toronto
f66aab8057 Removed the animated GIF of the running stickman :(
Please merge into release
2012-01-15 22:19:55 -07:00
Neil Toronto
4a09c04581 Lightened icon outlines
Added lambda icon, foot icon, search forward/back icons

Doc fixes

Stepper: icons on buttons, logo and about dialog

Macro stepper: icons on buttons, logo and about dialog

Please merge into release
2012-01-15 22:19:55 -07:00
Robby Findler
b068d9583c Remove accidentally pushed commits
For the curious, this was an attempt to change the way context
matching works.  Currently, when matching a pattern, if 'hole' is
encountered, the match succeeds and the result just includes the term
at that point. This means that when matching (in-hole p1 p2), p1
generally returns multiple results and then those results are thinned
out by matching p2 against the thing actually at the hole.

Instead, one could pass along the function that does the matching and
then, when matching a hole pattern, it could decide right at that
point whether or not the match works.

This seems like it would be a win overall, but it interferes with
caching. Specifically, most reduction systems have lots of rules
that all begin

  (--> (in-hole E ...) ...)

and, in the strategy first described above, that matching can be cached.

But in the second, it cannot. Overall, this turns out to be a slight
lose in the current version of Redex. Maybe if other things change, however,
this tradeoff will change.

Revert "IN PROGRESS: more context speedup attempt"

This reverts commit 0134b8753d.

Revert "IN PROGRESS: a possible speed up attempt; match the thing in the hole before returning the context matches instead of afterwards"

This reverts commit 11059e2b5c.
2012-01-15 21:02:48 -06:00
Eli Barzilay
4b17fe731a Disable some builds.
* The darwin build on kauai (the machine is no longer maintained, and
  has no cairo installed).

* The two debian builds (also no cairo).

* Remove comment from osx64 build (which is now done on Robby's
  machine).
2012-01-15 20:48:10 -05:00
Eli Barzilay
4d04c04aa2 New build request functionality. 2012-01-15 20:48:10 -05:00
Eli Barzilay
952ae06105 Minor bug fix: using a string as a path should be used as a path.
Previously, they were treated as require specs, which was likely bogus.

(This is unrelated to the discussion about the exists problem.)
2012-01-15 20:48:10 -05:00
Eli Barzilay
e8356b3b91 Tiny typo. 2012-01-15 20:48:10 -05:00
Eli Barzilay
3bdf05d7e1 Minor improvements, mainly to the header/status suffixes. 2012-01-15 20:48:10 -05:00
Matthew Flatt
96dea8c732 fix typo (patch from Gustavo Massaccesi)
Closes PR 12489

Merge to 5.2.1
2012-01-15 17:05:11 -07:00
Matthew Flatt
6f528c7a17 fix and generalize errortrace detection of always-ok functions 2012-01-15 17:05:11 -07:00
Robby Findler
262931bb80 adjust typesetting so the ellipsis uses the default style, not
literal-style (unless an atomic-rewriter is in place)
2012-01-14 21:32:16 -06:00
Neil Toronto
b78ee4258c Finished images/icons contracts and docs
Please merge into release
2012-01-14 14:20:28 -07:00
Robby Findler
b3c450ffc9 add 'side-condition' to define-judgment-form (it does not have an implicit
unquote like the other side-condition's do, but it is still useful
for typesetting purposes)
2012-01-14 14:52:07 -06:00
Neil Toronto
599dda4745 Removed timing examples (not reliable)
Please merge into release
2012-01-13 22:00:06 -09:00
Neil Toronto
15f48a7b03 Documented logos
Please merge into release
2012-01-13 23:51:31 -07:00
Neil Toronto
0c5ea11056 Contracts for almost all icon-producing functions
More documentation (Now contains an animated GIF! We have achieved Web 1.0!)

Fixed stop sign double-rendering bug

Compiled logos size 256 (no rendering time for sizes < 256; intended size almost instantaneous)

Please merge into release
2012-01-13 22:49:27 -07:00
Sam Tobin-Hochstadt
b75e080aee Document unicode case->. 2012-01-13 14:40:48 -05:00
Sam Tobin-Hochstadt
e3609cdb32 Refactor and improve fuzzy searching in completion. 2012-01-13 14:39:05 -05:00
Vincent St-Amour
ca11c2e4fa Add an alternate name for case->. 2012-01-13 11:28:36 -05:00
Vincent St-Amour
87a53159dd Union types instead of clobbering them in the type table.
This fixes a bug where only the last branch of a case-> type would get stored.
2012-01-13 11:28:36 -05:00
Matthew Flatt
60c418b20e fix `find-files' to convert an initial string into a path
Merge to 5.2.1
2012-01-13 07:15:15 -07:00
Matthew Flatt
108c32e11f fix macro expander performance problem
The problem is related to marks that should cancel eagerly when
a form passes through many layers of macro expansion, such as in
the sieve stress test for `syntax-rules'.
2012-01-13 06:18:38 -07:00