Commit Graph

28918 Commits

Author SHA1 Message Date
Robby Findler
5db7715b27 add an example with html tags and attributes 2013-04-21 20:46:44 -05:00
Sam Tobin-Hochstadt
ecf02a32b4 Add #:omit-define-syntaxes to define-type. 2013-04-21 15:39:38 -04:00
Matthew Flatt
5c4a7db828 scribble/manual: add #:link-target?' to defproc', `defform', etc.
Specifying `#:link-target? #f' gets blue-box typesetting without
declaring documentaton for a binding.
2013-04-21 09:49:14 -06:00
Robby Findler
e12a685107 adjust drracket's online expansion machinery to track exns that are
passed to the error-display-handler during expansion

(not just the exn records that actually get raised)

the motivation is to do a better job with TR's way of signalling
mutiple error messages.
2013-04-21 10:16:07 -05:00
Robby Findler
5a3a5edc9a add v.5.3.4 notes to DrRacket's HISTORY.txt 2013-04-20 22:22:07 -05:00
Robby Findler
eb4e89f3ff typo in proc-docs docs. 2013-04-20 22:22:06 -05:00
Robby Findler
085170c441 adjust run.sh so it runs all of the tests 2013-04-20 22:22:06 -05:00
Asumu Takikawa
a9286ce726 Fix doc contracts 2013-04-20 23:17:59 -04:00
Matthew Flatt
2d6fd46720 raco pkg: report when downloading 2013-04-20 09:38:56 -06:00
Matthew Flatt
a9cc79c89b racket/gui cocoa: fix swapping of buttons with the 'border style
Register a button as a default button every time that it is shown,
so that multiple buttons in a frame can have the 'border style
(as long as only one is shown at a time).
2013-04-20 09:38:56 -06:00
Matthew Flatt
82457258e2 mrlib/terminal: create embedded terminal in a container sequence 2013-04-20 09:38:56 -06:00
Matthew Flatt
fd8bde94da racket/gui cocoa: avoid focus-setting loop 2013-04-20 09:38:55 -06:00
Matthew Flatt
075db0bf17 disable a GC test when running CGC 2013-04-20 09:38:55 -06:00
Eli Barzilay
4dfe89a118 Change checksums for -h changes.
Also add completions for some new flags.
2013-04-20 02:04:42 -04:00
Eli Barzilay
02d7f58cc1 raco test: make -r' and -x' mutually exclusive. 2013-04-20 02:04:42 -04:00
Matthew Flatt
96c5521196 scribble/reader: allow escape character to be non-ASCII 2013-04-19 20:46:25 -06:00
Matthew Flatt
b7f17b389a mrlib/terminal: generalize to allow an embedded terminal
That is, instead of always creating a new frame, allow the terminal
GUI to work as a panel.
2013-04-19 15:30:36 -06:00
Matthew Flatt
71aa65c33c pkg/lib: fix `installed-pkg-names' 2013-04-19 15:30:35 -06:00
Matthew Flatt
d9649ebdc5 pkg/lib: doc correction 2013-04-19 15:30:35 -06:00
Vincent St-Amour
3415280657 Extra tests. 2013-04-19 14:21:04 -04:00
Matthew Flatt
5887d7808c win64: JIT stack-trace repair
Relevant to PR 13702

Merge to 5.3.4
2013-04-19 10:17:30 -06:00
Matthew Flatt
ff580c212c fix problem with switchable-button tool tip
Closes PR 12562

Merge to v5.3.4
2013-04-19 08:19:47 -06:00
Matthew Flatt
b9ff55b7e1 upgrade libffi to 3.0.13
This upgrade is particularly for repairs to ARM and the VFP ABI.
2013-04-19 07:54:31 -06:00
Matthew Flatt
5ec31c8f65 ffi/unsafe: add _double' and _float' tests 2013-04-19 07:54:30 -06:00
Tony Garnock-Jones
38fffd3582 Complain visibly when cannot load GL shared libs, instead of swallowing error. 2013-04-19 07:54:30 -06:00
Matthew Flatt
57516164de ffi/unsafe/obj: add +A' and -A' method modes
On Cocoa, a view's `drawRect:' method can be called from a
heartbeat thread that animates controls. Such a call happens
rarely for a `canvas%' or other class where `drawRect:'
is overridden, but since it can happen, ensure that the
callback runs on the Racket thread.
2013-04-19 07:54:30 -06:00
Sam Tobin-Hochstadt
3fd9df03f7 Fix types of system etc for new keyword arguments.
This requires extending the ->optkey type constructor to support rest
arguments, and fixing the keyword function type generation code.

Testing is still limited because there's no parsing for such types.
That will be handled in a later commit.
2013-04-18 21:01:56 -04:00
Juan Francisco Cantero Hurtado
ac42864f3b Add MZ_TRY_EXTFLONUMS to OpenBSD.
Also add an error to unsupported platforms (copied from FreeBSD).

Merge to 5.3.4
2013-04-18 17:33:43 -06:00
Matthew Flatt
55a66dc4cb JIT ARM: improve stack trace
Fix a problem at the boundary of DWARF-driven backtrace
and frame-driver backtrace, as well as handling of the
JIT's different internal calling conventions.

Also, allow crossing back from frame-driven to DWARF-driven.
2013-04-18 17:22:11 -06:00
Matthew Flatt
d9f7353d63 android: disable libunwind for now
There's an issue with dl_iterate_phdr().
2013-04-18 11:14:46 -06:00
Matthew Flatt
99b1571708 src/README: improve notes on cross-compilation 2013-04-18 10:55:32 -06:00
Matthew Flatt
d44ed9ab53 configure: strip debug symbols on install by default 2013-04-18 10:55:32 -06:00
Stephen Bloch
7a33712603 Merge branch 'master' of pltgit:plt
I'm not sure why this is non-fast-forwardable, but it apparently is.
2013-04-18 12:41:51 -04:00
Stephen Bloch
6740ab5748 Corrected a variety of wrong-arg-type error messages for map-image,
build-image, et al.

Please merge to release branch.
2013-04-18 12:40:38 -04:00
Vincent St-Amour
85eab5610f Update TR history for 5.3.4. 2013-04-18 12:01:28 -04:00
Matthew Flatt
9b7e3bea12 merge history for v5.3.4
Merge to v5.3.4
2013-04-18 08:29:52 -06:00
Matthew Flatt
0c4e155b88 JIT: fix inlined char->integer' and integer->char'
Put the result in the destination register, instead of always R0.

Merge to v5.3.4
2013-04-18 08:21:55 -06:00
Matthew Flatt
e29878e7ae racket/system: make `system', etc., set PWD by default
That is, make `system' behave like a shell.
2013-04-18 07:02:05 -06:00
Matthew Flatt
4cc29194d1 Unix: initialize `current-directory' from the PWD environment variables
... when PWD is defined and when it refers to the same directory
as the result of getcwd().

A shell sets PWD before starting Racket to communicate a preferred
way of referring to the current directory, which may involve soft
links that are not reflected in getpwd().
2013-04-18 06:37:53 -06:00
Juan Francisco Cantero Hurtado
5a566771e0 Change the default stack size to safe values on OpenBSD.
With this patch racket will never grow beyond of the defaults limits of
the OS and also it doesn't limit the stack size to a fixed value.

Merge to v5.3.4
2013-04-17 17:16:02 -06:00
Matthew Flatt
75d97185c9 ARM JIT: use static configuration
The output of "/proc/cpuinfo" seems wrong for a Raspberry Pi running
the latest Raspian, because it claims ARMv6-compatible but also claims
"thumb" as a feature and 7 as the CPU architecture. Use the C compiler's
configuraton, instead, which is relatively straightforward and drops
code that will turn out to be dead.
2013-04-17 16:58:08 -06:00
Matthew Flatt
bd1ac6d77e Fix JIT for ARMv6 (i.e., no thumb support) 2013-04-17 16:58:08 -06:00
Eli Barzilay
e311de0522 Improve some printouts.
Specifically the one from ,rr.  Also make ,switch syntax error more
friendly.  Also, test for the recent xrepl fix, including its printout.
2013-04-17 16:39:10 -04:00
Eli Barzilay
ff461c0bee Sync sanity path checks to the modified configure paths. 2013-04-17 14:52:28 -04:00
Matthew Flatt
3e1ecc41b4 demote some `raco' commands
The commands `link', `pack', and `unpack' are now
discouraged in favor of `pkg'.
2013-04-17 12:28:50 -06:00
Matthew Flatt
51d48f3ab4 raco setup: --tidy mode (as needed by `raco pkg remove') and more
When a collection disappears, then documentation and metadata
cross-references need fixing up based on everything that remains
available, even though other setup actions are confined to
collections that are specifically relevant to the packages. The
new `--tidy' mode takes care of that.

Package installation now also provides `--avoid-main' when working
with packages in a scope other than installation scope, and `raco
setup' now better respects `--avoid-main' to avoid creating
executables or re-running documentation.

Also, revise the `raco' documentation to better orient it toward the
package manager.
2013-04-17 12:28:50 -06:00
Matthew Flatt
bcb05bc8cf raco setup: protect against bad info-domain cache 2013-04-17 12:28:49 -06:00
Matthew Flatt
17f2822a63 remove debugging `log-error' 2013-04-17 12:28:49 -06:00
Robby Findler
c50005870f adjust case-> so that the blame context information includes
which case of the case-> happened
2013-04-16 18:40:48 -05:00
Robby Findler
a46e4c71b6 fix case-> to not abuse procedure-chaperone
closes PR 13697
2013-04-16 18:40:48 -05:00