Commit Graph

23885 Commits

Author SHA1 Message Date
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
Neil Toronto
4d1cedc913 Removed accidental dependence of images/icons/stickman on racket/gui
Began scribble docs

Added `compiled-bitmap' and `compiled-bitmap-list', which embed bitmaps
computed at expansion time into compiled files (safe 3D values)

Please merge into release
2012-01-12 21:48:41 -07:00
Neil Toronto
5dcfd76927 Text icon fix - works better when trimmed
Recycle icon (text icon of string "\u267b")

Removed debug output from plt-logo

Slightly faster bitmap <-> flomap conversion (uses bitmap%'s premultiply-alpha)

Please merge into release
2012-01-12 11:22:01 -07:00
Neil Toronto
436a1dcb71 Use running stickman in lower-right "run" indicator
Please merge into release
2012-01-12 11:22:01 -07:00
Neil Toronto
2313b528c4 Added standing and running stickman icons
Optimize rendering by looping only over the smallest rectangle with nonzero alpha

Please merge into release
2012-01-12 11:22:01 -07:00
Matthew Flatt
84d66ca8fe MysterX repairs
Merge to 5.2.1
2012-01-12 10:55:18 -07:00
Matthew Flatt
45d72785de skip `libtool --finish' if DESTDIR is set
Merge to 5.2.1
2012-01-12 06:55:38 -07:00
Eli Barzilay
7e86136545 New Racket version 5.2.1.3. 2012-01-12 03:50:23 -05:00
Matthew Flatt
a1fd742ed0 change Scribble xref formats, so that HTML info works for Latex
There's no particular reason that any one format will have all
the information that other formats need, but it conveniently works
for now that HTML info can subsume Latex info.
2012-01-11 16:39:52 -07:00
Matthew Flatt
af9d0e6976 add missing OS X thread-data synchronization
Merge to 5.2.1
2012-01-11 14:48:21 -07:00
Robby Findler
0134b8753d IN PROGRESS: more context speedup attempt 2012-01-11 13:16:47 -06:00
Robby Findler
11059e2b5c IN PROGRESS: a possible speed up attempt; match the thing in the hole before returning the context matches instead of afterwards 2012-01-11 13:16:46 -06:00
Robby Findler
e067a4415a fix call to message box to remove incorrect style flag
merge to the release branch, please
2012-01-11 13:16:46 -06:00
Robby Findler
5e80753b48 relax the contract to match what the server actually needs
closes PR 12476

merge to the release branch, please
2012-01-11 13:16:46 -06:00
Robby Findler
9aecc08579 tweak the printing of syntax errors again so the "in:" part is in tt font
merge to the release branch, please
2012-01-11 13:16:46 -06:00
Robby Findler
d93818dd61 Change 'bitmap' to use collection-file-path (with its new #:fail) argument,
so that it picks up linked collections.

closes 12424

merge to the release branch, please
2012-01-11 13:16:46 -06:00
Matthew Flatt
8976a4c99a avoid some unnecessary work in string port creation
These changes speed up string-port creation by 10% or so in my
tests --- nearly all of that by avoiding the repeated interning
of the symbol 'string.
2012-01-11 09:42:06 -07:00
Matthew Flatt
8c092f093b clean up and generalize optimizer support for omittable primitives
For example, the optimizer knew to drop `(cons x y)' if the result
is unused, but not `(pair? x)'.
2012-01-11 06:58:39 -07:00
Matthew Flatt
7850a26dfe fix bytecode optimizer bugs
Certain unsafe operations were allowed to propagate across a
`lambda' boundary (where space safety is known not to be an issue),
which could lead to duplicate uses of a "once used" variable if
the relevant `lambda' is inlined.

Furthermore, `lambda' boundary crossing wasn't detected in the case
that the operation to propagate was propagated through an intermediate
variable without a `lambda' crossing.

Merge to 5.2.1
2012-01-11 05:30:11 -07:00
Matthew Flatt
ff41a896bc add ffi/com', ffi/unsafe/com' 2012-01-10 18:35:32 -07:00