Patrick Mahoney
7c2b31c61f
Change lang of struct.rkt from scheme/base to racket/base.
2012-09-04 21:57:08 -07:00
Patrick Mahoney
64e9bdd92d
Change require from mzlib/class to racket/class.
2012-09-04 21:57:08 -07:00
Matthew Flatt
ba56fd72da
racket/class: add dynamic-get-field' and
dynamic-set-field!'
2012-09-04 15:28:18 -06:00
Matthew Flatt
8bd5dbf7cc
ffi/unsafe: change `cast' to avoid pitfalls for you
...
The old `cast' didn't work right for a mismatch between
a pointer GCableness and the source or target types, and
it didn't work right for an GCable pointer with a non-zero
offset. While those pitfalls were documented, the first
of them definitely has been a source of bugs in code that
I wrote.
Also added `cpointer-gcable?'
2012-09-04 15:28:18 -06:00
Matthew Flatt
7d2ce136fa
scribble: another Latex/PDF section repair
2012-09-03 08:07:34 -06:00
Matthew Flatt
16621ad437
scribble: fix for Latex and `\Ssection' changes
2012-09-03 06:10:27 -06:00
Matthew Flatt
69d2adce4d
racket/gui: new-style error messages
2012-09-02 16:38:43 -06:00
Matthew Flatt
99de1b3efa
fix problems with `raise-range-error'
...
Problems include bad index reporting for vectors, bad treatment of
empty strings and byte strings, and misformatting of given name.
2012-09-02 15:57:01 -06:00
Matthew Flatt
64eb4f9389
racket/gui: make `editor-canvas%' fail more gracefully on too-large content
...
Closes PR 13087
2012-09-02 10:08:23 -06:00
Matthew Flatt
19b2ee5e90
racket/gui: get get-scroll-pos', etc., arguments for
canvas%'
2012-09-02 10:08:18 -06:00
Matthew Flatt
9f9f91207f
ffi/com: add an ActiveX example to the docs
2012-09-01 16:05:37 -06:00
Jay McCarthy
b68fb6f228
Obey contract in internal test
2012-09-01 12:48:14 -06:00
Marc Burns
be72d1475b
Include bindings via query string in POST request bindings.
...
The original implementation does not generate bindings from
the URL query string on POST requests. However, it is often
necessary to retrieve information from the query string on
a POST.
2012-09-01 12:12:07 -06:00
Matthew Flatt
3f825b8d20
ffi/com: fix reference counting
...
Don't AddRef() on "in" arguments, do AddRef() on "out"
or "in-out" arguments.
2012-09-01 09:48:35 -06:00
Matthew Flatt
f1ff9c6059
ffi/com: fix unmarshal of by-ref results
2012-09-01 09:48:35 -06:00
Matthew Flatt
eb7fd51d02
ffi/com: add `any ...' support for method arguments
...
Also allow `?' for the length of an array and suport VT_SAFEARRAY
arguments (mostly the same as VT_ARRAY).
2012-09-01 09:48:35 -06:00
Matthew Flatt
e407303c5e
ffi/com: add missing export
2012-09-01 09:48:34 -06:00
Matthew Flatt
3a2b562ff4
remove debugging printf
2012-09-01 09:48:34 -06:00
Robby Findler
4571afa6ab
speed up the test-engine drracket tests some
2012-08-31 20:52:48 -05:00
Robby Findler
6ca79d56fa
fix check-error so it compares the rewritten error messages,
...
not the raw error messages
2012-08-31 20:52:48 -05:00
Vincent St-Amour
a85438bc69
Add comment about the current state of the latex character table.
2012-08-31 19:31:20 -04:00
Matthew Flatt
7b2e18afc5
scribble: for Latex output, use `\Ssection', etc. for section
...
A style override might change `\section' to `\chapter', etc.
2012-08-31 16:07:10 -06:00
Matthew Flatt
9cfcf8911c
fix `in-directory' to properly propagate filesystem errors
2012-08-31 16:07:10 -06:00
Sam Tobin-Hochstadt
eed93825ab
Track mutable variables across modules.
2012-08-31 17:45:11 -04:00
Asumu Takikawa
cd23fd48cf
Comment and clarify top-level evaluation & barriers
2012-08-31 16:27:35 -04:00
Sam Tobin-Hochstadt
ab5403d1ed
Simplifying case-> to union is only safe for 1-argument functions.
...
Closes PR 13002.
2012-08-31 10:27:51 -04:00
Matthew Flatt
d841ec1bd0
propagate prefix repair to to scribble/jfp' and
scribble/lncs'
2012-08-31 07:33:08 -06:00
fbanados
0b19326ac6
include scribble/scribble-prefix.tex packages to scribble/sigplan
2012-08-31 07:33:08 -06:00
Matthew Flatt
d11e58b639
ffi/unsafe/atomic: add `in-atomic-mode?'
...
The new function can be useful for debugging, at least.
2012-08-31 07:33:08 -06:00
Ryan Culpepper
70a2ced71a
syntax/id-table: simplify use of chaperones
2012-08-29 20:44:04 -04:00
Ryan Culpepper
3ccc93590a
syntax/id-table: more work on *-id-table/c
2012-08-29 20:43:24 -04:00
Eric Dobson
e7c7e14485
Added tests to idtbl/c and fixed revealed bugs.
2012-08-29 20:25:32 -04:00
Eric Dobson
d4efe8f5aa
Clean up creation of identifiers in id-table.rkt
2012-08-29 20:25:32 -04:00
Eric Dobson
4725775126
Implemented contract for immutable id-tables.
2012-08-29 20:25:32 -04:00
Eric Dobson
8f8bc76e39
Add idtbl-chaperone and implement contracts on top of that.
2012-08-29 20:25:32 -04:00
Eric Dobson
54b82871ab
Add support for contracts on identifier tables.
2012-08-29 20:25:31 -04:00
Matthew Flatt
7291e1a24d
racket/gui win32: atomicity repair
2012-08-29 17:45:59 -06:00
Robby Findler
977fd37913
adjust contract for test:button-push so it isn't so ugly
2012-08-29 14:52:56 -05:00
Matthias Felleisen
93ca0bf9f7
eliminated stateful variables from 16 year old code, and now I know it is correct
...
Closes PR 13074
set! sucks
2012-08-29 11:35:34 -04:00
Matthew Flatt
b4fea2ff36
fix `delay/thread' error when promise-running thread terminates
2012-08-29 09:32:54 -06:00
Matthew Flatt
6039e35afd
fix race in `delay/sync'
2012-08-29 07:20:24 -06:00
Eli Barzilay
8a605626ac
New Racket version 5.3.0.21.
2012-08-29 03:30:12 -04:00
Ryan Culpepper
8ad09dee8e
fix bug typo
...
closes PR 13055
2012-08-28 23:37:00 -04:00
Ryan Culpepper
ae843f9a62
readline: prefer 5 (fast) over 6 (slow)
...
Running racket in a terminal with readline 6 has excruciating delays
in response and bizarrely slow pasting. The culprit is probably a bug
in readline v6.2 that causes the rl_event_hook to be called repeatedly
even when input is ready. See also the discussion here:
http://lists.gnu.org/archive/html/bug-readline/2012-06/msg00005.html
It's not clear whether racket can work around the issue in readline 6,
but it can at least use readline 5 instead when it is available.
2012-08-28 23:36:50 -04:00
Ryan Culpepper
ecb88ffd45
Revert "db: use channel instead of semaphore + result variable"
...
Using a sync. channel breaks kill-safety.
This reverts commit 8363db9258
.
2012-08-28 22:04:05 -04:00
Matthew Flatt
d953bc27ba
fix `ffi/unsafe/nsalloc'
...
Using `call-as-atomic' isn't right, because that allows an escape
via `call-as-nonatomic'. Assuming that `call-as-nonatomic' isn't
used, it seems like `call-as-atomic' should be ok, anyway, but
somehow its leads to unbalanced `end-atomic' calls.
2012-08-28 18:45:55 -06:00
Matthew Flatt
003613395d
fix `font%' amnipulation to work in atomic mode
2012-08-28 17:27:14 -06:00
Matthew Flatt
dba3c14746
fix editor-canvas%' internal
on-size' handling
...
The `on-size' method is called in atomic mode,
and we can't call into the editor's sizing functions
in atomic mode.
Watch out for refresh and/or window-sizing problems.
2012-08-28 17:21:45 -06:00
Matthew Flatt
b61f3f751c
port position-tracking clean-ups
...
Add `file-position*', which can return #f instead of raising
an exception when a port's position is unknown. Change
`make-input-port' and `make-output-port' to accept more
kinds of values as the initial position.
These changes make it possible to synchronize a port's
position with a `port-commit-peeked' action. It's ugly,
which I think reflect something broken about position
tracking in the port protocol (which seems difficult to fix
without breaking compaibility).
2012-08-28 16:04:41 -06:00
Asumu Takikawa
466b4e2c60
racket/generic: eliminate ctc dependency in private interface
...
Closes PR 13051
2012-08-28 17:54:35 -04:00