Commit Graph

21878 Commits

Author SHA1 Message Date
Robby Findler
75ab172281 manage the state for delegates better (used by the drracket contour window)
closes PR 12094
(cherry picked from commit 38596a9b58)
2011-08-14 09:56:57 -04:00
Robby Findler
aa27d4f1ca get rid of a broken attempt to optimize the 20,000-ft overview refreshing
closes PR 12083
(cherry picked from commit 29a843ac37)
2011-08-14 09:56:49 -04:00
Eli Barzilay
71cf6d1c15 Version number for the v5.1.3 bugfix release 2011-08-14 08:42:06 -04:00
Eli Barzilay
9a9365f80e Merge branch 'stable' into release 2011-08-03 15:26:12 -04:00
Eli Barzilay
9bd8e67e86 v5.1.2 stuff
(cherry picked from commit 89dfe3dc50)
2011-08-03 15:23:15 -04:00
Eric Dobson
f49b095c07 Fix kernel-struct tests in TR.
(cherry picked from commit e6030295ff)
2011-08-03 12:33:49 -04:00
Eli Barzilay
e75fc54f64 New Racket version 5.1.2. 2011-08-02 23:26:08 -04:00
Eli Barzilay
7ddf119c4d Update version number for the v5.1.2 release 2011-08-02 23:26:02 -04:00
Eli Barzilay
4806c15bfe Fix `unstable/time' & xrepl use.
(Just the relevant part of 1caa28d)
2011-08-02 23:24:03 -04:00
Eli Barzilay
de605d4fe1 Updated DrRacket images
(cherry picked from commit a748b35f35)
2011-08-02 23:19:18 -04:00
John Clements
f4cab3e47b updated history.
Merge to 5.1.2
(cherry picked from commit b346665c5c)
2011-07-29 01:44:39 -04:00
Matthew Flatt
2c5e9b9e42 fix problem with initialization of tag name array
The bug to lead to a crash from `(dump-memory-stats)'

Mrege to 5.1.2
(cherry picked from commit e6b4d547c9)
2011-07-27 14:14:42 -04:00
Stephen Chang
37eca3412f change recon-val in stepper to use render-to-sexpr for non-lazy lists
Picked from 8956364 and edited for conflicts due to indentation changes.
2011-07-27 12:37:15 -04:00
Stephen Bloch
861301537c Fixed an off-by-one bug in "myflip", an example for build-image. Now it passes its tests :-)
(cherry picked from commit 9a24e66df0)
2011-07-25 00:12:47 -04:00
Stephen Bloch
602ddbf48a Changed error messages in test case to match corrected error messages in
2htdp.
(cherry picked from commit ab01d563ca)
2011-07-25 00:12:43 -04:00
Matthew Flatt
7895045a1c win32: fix `copy-file' handling of file-exists error
The specific error reported by CopyFileW doesn't seem
to be documented. It's unclear whether Racket's old test
for ERROR_EXISTS_ALREADY was the wrong choice (as opposed
to ERROR_FILE_EXISTS) or whether some Windows versions
use it; we test for both for now.

Also, improve error reporting when an errno or
GetLastError() value is available.

Closes PR 12074

Merge to 5.1.2
(cherry picked from commit c9d4e0fb8c)
2011-07-25 00:11:57 -04:00
Matthew Flatt
fd6e9c28d3 fix compiler/zo-parse for sequence splice
Merge to 5.1.2
(cherry picked from commit 42f41d868a)
2011-07-23 02:23:27 -04:00
Matthias Felleisen
7ee468a857 revised history, push to release branch
(cherry picked from commit b4d091438d)
2011-07-23 02:23:17 -04:00
Matthias Felleisen
40637616ad fixed a totally misleading error message in big-bang; MUST GO INTO RELEASE
(cherry picked from commit ed7f16c872)
2011-07-22 11:22:42 -04:00
Robby Findler
cbd7e37cfc fix the png conversion code for 2htdp/image images
closes PR 12061
  please merge to the release branch
(cherry picked from commit 56b82ba83c)
2011-07-22 10:39:53 -04:00
Matthew Flatt
ad4377d44b work around win64 drawing problem
Merge to 5.1.2
(cherry picked from commit 8711aa6c5d)
2011-07-22 10:10:57 -04:00
Robby Findler
8ccff338fd add version number to release notes
please merge to release branch
(cherry picked from commit f7f3971d15)
2011-07-21 23:14:40 -04:00
Stephen Chang
631fed5386 fix lazy stepper test - lazy-cond1
(cherry picked from commit 7eedae8f69)
2011-07-21 16:08:56 -04:00
Stephen Chang
4db334ee2a add make-lazy-proc to lazy stepper skipped fns list
(Edited version of 3f79c37)
2011-07-21 16:07:58 -04:00
Matthew Flatt
4389a4671d code-inspector fix for top-level code from bytecode
Merge to 5.1.2
(cherry picked from commit 530bb1b9ba)
2011-07-20 17:24:32 -04:00
Matthew Flatt
f87c5acdf9 fix `raco ctool -e' for syntax taints
Merge to 5.1.2
(cherry picked from commit 8504996862)
2011-07-20 17:24:29 -04:00
Matthew Flatt
eddf893dc6 fix validation of top-level define-{syntaxes,values-for-syntax}
(Only appears in bytecode for non-module code.)

Merge to 5.1.2
(cherry picked from commit 0d2b08f053)
2011-07-20 17:24:27 -04:00
Matthew Flatt
196ac13bdd fix bug in .zo writing
The bug showed up in the "racket/embed.rktl" test.

Merge to 5.1.2
(cherry picked from commit 5b8a892fbb)
2011-07-20 17:24:24 -04:00
Matthew Flatt
a6e596ba71 another try at Mac OS X 10.4 x86 libraries
Merge to 5.1.2
(cherry picked from commit 30174b3c81)
2011-07-20 17:24:20 -04:00
Sam Tobin-Hochstadt
925a6ae9f2 Fix types of kernel struct constructors to include parent fields.
Merge to 5.1.2.
(cherry picked from commit 7a763a2da8)
2011-07-20 17:24:18 -04:00
Casey Klein
35bbe90dcb Updates Redex history for v5.1.2
(cherry picked from commit 7d103bdfd8)
2011-07-20 17:24:16 -04:00
Matthew Flatt
533b8ed384 fix optimizer bug related to `case-lambda' at module level
The bug triggered a crash on ARM, and probably doesn't
affect other platforms, but I'm not competely sure.

Merge to 5.1.2
(cherry picked from commit d9ae1d048d)
2011-07-19 17:29:41 -04:00
Robby Findler
45d34dda04 change autowrapping preference default
please merge to release branch
(cherry picked from commit 2a78ea9723)
2011-07-19 17:29:39 -04:00
Eli Barzilay
32b53e6549 Remove xrepl from the release branch. 2011-07-19 17:03:17 -04:00
Eli Barzilay
ccd9ab07a7 Revert "Hook XREPL into a few places where readline' and enter!' are mentioned."
This reverts commit 3223a656a6.
2011-07-19 17:01:27 -04:00
Eli Barzilay
c7bf34d387 Improve macro stepper output, and some more ,stx outputs.
(cherry picked from commit 8109299ec8)
2011-07-19 16:57:07 -04:00
Eli Barzilay
36a0fea0cc XREPL tests.
Not too much, but already tests large parts of sensitive code.  Caught a
bug where ,top would use (enter! #f) but enter grabbed the wrong
namespace since it was instantiated in the wrong namespace.
(cherry picked from commit f5e53de4d9)
2011-07-19 16:57:05 -04:00
Guillaume Marceau
d1b79946f9 Fixes the (cons an image empty) error message
(cherry picked from commit 2ae0376476)
2011-07-19 16:57:01 -04:00
Matthew Flatt
18b8751ee2 win32: fix is-maximized' in frame%'
Merge to 5.1.2
(cherry picked from commit 255549c8c8)
2011-07-19 11:39:37 -04:00
Matthew Flatt
0083418b53 cocoa: fix image paste
Closes PR 12028

 Merge to 5.1.2
(cherry picked from commit c8b3763359)
2011-07-19 11:39:05 -04:00
Carl Eastlund
a03b11befc Fixed a macro stepper bug: can't use zero? on syntax span, as it can be #f.
Please include in the upcoming release.
(cherry picked from commit 302cbb5275)
2011-07-19 11:36:32 -04:00
Eli Barzilay
1f7e9658a3 Fix reading a 'line argument: always succeeds and returns the line as-is.
(cherry picked from commit 09c8880ea0)
2011-07-19 11:36:24 -04:00
Eli Barzilay
4c8a6aefe7 Add $F for ,sh commands.
(cherry picked from commit 261288c394)
2011-07-19 11:36:21 -04:00
Eli Barzilay
e8d3223ce5 Add an example for extending xrepl, the very stupid way.
For the record, a way to do this permanently is to add something like
this to your ~/.racketrc:

  (eval '(begin
           (saved-values-char #\~)
           (defcommand eli "stuff" "eli says" ["Make eli say stuff"]
             (printf "Eli says: ~a\n" (getarg 'line)))
           (defcommand er #f "alias for errortrace" ["Runs errortrace"]
             (run-command 'errortrace)))
        (module->namespace 'xrepl/xrepl))

But this is too stupid even for a section that has "Hacking" in its title.

There should definitely be an organized way to do this.  This will
require several things:

* A decent API for doing these things for user code.  (So the above
  `eval' turns to a `require' for your file which uses this API.)  This
  goes beyond just documenting what's in there -- there are issues to
  resolve like some argument reading protocol (separating the
  declaration of argument types from the command implementation code),
  so a new command can call another with arguments that it reads.

* There should also be some ,set command for customization
  options (reading and changing) and code to use the preference file for
  doing that.  I almost started to do this, but currently there are only
  three values that this could apply to (`saved-values-char', `-number',
  and `wrap-column' (which might be better to dump and use
  `pretty-print-columns' instead)).

* Also, it might be nice to have some command to do the same for simple
  aliases.  (But this might get into shady parsing issues if it's more
  than just "I want `foo' to be an alias for an existing `bar' command".)
(cherry picked from commit 3c1e624916)
2011-07-19 11:36:17 -04:00
Eli Barzilay
3223a656a6 Hook XREPL into a few places where readline' and enter!' are mentioned.
(cherry picked from commit 5fb8390609)
2011-07-19 11:36:14 -04:00
Eli Barzilay
f8974781fe XREPL documentation.
(cherry picked from commit d7c14cbd3f)
2011-07-19 11:36:10 -04:00
Eli Barzilay
8d0db4cd35 Lots of improvements:
* Rename `make-command-{reader,evaluator}' ->  `make-xrepl-{reader,evaluator}'

* Move the commented-out ,meta block to a better place

* Protect the prompt computation against errors, to avoid infinite
  exception output if an exception is raised.

* Add ",switch ?" to query namespaces, and ",switch - <name>" to remove
  one.  Forbid resetting the default initial `*' namespace.

* Clarify that multiple arguments can be sent to ,stx and fix it to
  display the current syntax when there are no arguments.

* Various minor typos and improvements.

* Restore the use-last-arguments-by-default functionality of ,rr

* Re-do argument reading to make it easier to have a default
  argument (as in ,enter and ,edit).
(cherry picked from commit c57ab7b4fc)
2011-07-19 11:36:07 -04:00
Eli Barzilay
e0a96d3e7e Typo in the `errortrace' language description.
(cherry picked from commit 50b74c453f)
2011-07-19 11:36:02 -04:00
Eli Barzilay
c1a82bf23e Use (banner) instead of a fixed "Welcome to Racket" in the More tutorial
and in the guide.

Also, add a tag to the readline "License Issues" to be able to link to
it from the xrepl docs.
(cherry picked from commit 45394bb7b6)
2011-07-19 11:35:59 -04:00
Eli Barzilay
71ea3183ba Rename prompt-shown' -> zero-column!', and use it only in the
non-readline reader.  Use line reading for ,install!.

(Cherry-picked from 3f8bb7a, and edited conflucts because
`port-set-next-location!' is not added to the release.)
2011-07-19 11:34:29 -04:00