James Swaine
995af02c11
Make future trace docs point to the right place when discussing gc-info
2012-10-28 15:51:02 -03:00
Matthew Flatt
55b358f201
list PSMTabBarControl among included software
2012-10-28 12:04:37 -06:00
Sam Tobin-Hochstadt
5861bf0b9f
Make Typed Racket name printing more deterministic.
2012-10-28 13:55:02 -04:00
Matthew Flatt
ba6e383963
racket/gui gtk: fix on-subwindow-... handling
...
Handling was broken by changes to fix enter and
leave events (in commit a5d7812732
)
Merge to v5.3.1
2012-10-27 21:34:08 -06:00
Matthew Flatt
fa743d7058
remove obsolete "based on" entry
2012-10-27 21:34:08 -06:00
Robby Findler
10a8a625fa
record the (uncompiled) domain pattern with a reduction
...
relation so that context-closure can adjust the domain
closes PR 13204
2012-10-27 20:39:04 -05:00
Stephen Chang
19f88c0f80
add heap sequencing fns to data/heap
2012-10-27 21:09:29 -04:00
Sam Tobin-Hochstadt
4124c9a41b
Add more specific class types instead of Any
.
...
Fixes Insert Large Letters dialog. Merge to 5.3.1.
2012-10-27 17:44:52 -07:00
Sam Tobin-Hochstadt
7573fd7ee0
Formatting.
2012-10-27 17:44:51 -07:00
Robby Findler
54301ad5ed
fix apparent type error in the definition of in-plt?
2012-10-27 18:37:59 -05:00
Robby Findler
117fde6857
adjust the online check syntax frame/tab leak test case
...
so that it waits until online check syntax actually
finishes (otherwise, there actually is a leak;
the link is broken when the message comes back from the
other place)
2012-10-27 16:45:44 -05:00
Robby Findler
789ab0d9f0
add missing docs for color:misspelled-text-color-style-name
2012-10-27 14:42:09 -05:00
Asumu Takikawa
0d30c43a68
Add call/cc contracts to prompt-tag/c
2012-10-27 11:06:17 -04:00
Matthew Flatt
616d49124c
fix testing prop
2012-10-27 09:24:02 -06:00
Matthew Flatt
c7d3de435f
scribble Latex/PDF: use the `tocstyle' package
...
Fixes the spacing of section numbers for a section like N.M where
both N and M have two digits.
2012-10-27 09:24:02 -06:00
Robby Findler
24592a0800
adjust drracket gui test suite infrastructure so that
...
it waits for pending events to finish when looking for
new frames
2012-10-27 10:23:01 -05:00
Asumu Takikawa
b56574e4d5
scribble: add examples for most def* forms
2012-10-27 07:01:02 -04:00
Matthew Flatt
5f30cc87ea
track information about `struct' bindings during compilation
...
This tracking allows the compiler to treat structure sub-type
declarations as generating constant results, and it also allows
the compiler to recognize an applications of a constructor or
predicate as functional.
2012-10-27 07:58:56 -06:00
Matthew Flatt
736e6efc2d
recognize `struct' bindings as constant
...
The JIT takes advantage of known-constant bindings to avoid the
check that a variable is still bound to a structure predicate,
selector, or mutator; that makes the code short enough to really
inline. The inlined version takes about half the time of the
indirect version.
The compiler does not yet track bindings precisely enough to
recognize constants for sub-type declarations.
2012-10-27 06:53:21 -06:00
Robby Findler
8bc3b70a3c
clean up rectangle computations, fixing some bugs along the way
2012-10-26 21:49:45 -05:00
Robby Findler
c6caf11323
Adjust online check syntax's trace replay code so that it:
...
- lets other events be handled based on how long it has been
replaying the current trace (instead of based on the number of
pieces in the trace that have been seen)
- breaks up the syncheck:add-rename-menu pieces of the trace to
be more granular (to make the previous point work better)
This should make DrRacket more responsive when the trace is being
replayed
2012-10-26 21:49:45 -05:00
Robby Findler
e89a121ae5
add some first-cut logging information to drracket
...
to track how long events take to be handled
2012-10-26 21:49:44 -05:00
Robby Findler
7e8ac872fe
add logging to mred's event callback mechanism to record
...
how long event processing takes
2012-10-26 21:49:44 -05:00
Jay McCarthy
f16e76ca32
second attempt at removing reliance on tcp. available has been greatly simplified because it relied on the behavior the thread.rktl test is actually testing
2012-10-26 15:26:39 -06:00
Jay McCarthy
7f23a85e15
fixing PR13210
2012-10-26 14:46:43 -06:00
Sam Tobin-Hochstadt
fa5846cb0c
Flvectors and Fxvectors are higher-order if we give them restricted float types.
2012-10-26 11:09:03 -07:00
Sam Tobin-Hochstadt
c6dc1e6ece
Improve contract generation in Typed Racket.
...
This fixes several issues:
- `Parameter` generates impersonator contracts correctly
- `Any` handling now copies immutable data when possible
- `Any` now recognizes more atomic base types
Merge to 5.3.1.
2012-10-25 23:31:02 -07:00
Robby Findler
cb566b1ba4
fix font resizing performance bug in the traces window
2012-10-24 23:56:31 -05:00
Robby Findler
9d4a3a6e07
improve the performance for dragging around items in mrlib/graph
...
(used by Redex's traces window and the module browser)
2012-10-24 23:56:30 -05:00
Stevie Strickland
717cf332b6
Don't copy chaperoned immutable vectors.
2012-10-24 19:11:03 -07:00
Matthew Flatt
b239a29544
doc repair
...
Looks like it was an accidental incorrect update
Merge to v5.3.1
2012-10-24 17:03:35 -07:00
Matthew Flatt
f43172128b
fix syntax checking for `case'
...
Merge to v5.3.1
2012-10-24 13:18:53 -07:00
Matthew Flatt
1bf5fda869
fix `chaperone-prompt-tag'
2012-10-24 13:18:53 -07:00
Jay McCarthy
7b149b7f5a
Revert "Change thread test to use fake tcp with same structure"
...
This reverts commit d39780a130
.
Matthew says this test is really about TCP, so it should not be
changed. Although perhaps we can use a more basic TCP test to check if
this should be done.
2012-10-24 13:25:49 -06:00
Robby Findler
06e5239441
add rule names to the derivation struct
...
change the intermediate data structures built up
while building the derivation to use their own
structs (instead of vectors)
2012-10-24 12:30:40 -05:00
Asumu Takikawa
65338f15ec
Examples for basic pict constructors & combiners
2012-10-24 09:08:40 -04:00
Robby Findler
661f702497
attempted to clean up the derivation support
...
so that no derivation data structure creation
happens during just a normal judgment-holds,
but this was not entirely successful, so there
still is some....
Also, improved the test-util to show stacktraces
for errors (when they exist)
2012-10-23 18:31:06 -05:00
Jay McCarthy
d39780a130
Change thread test to use fake tcp with same structure
2012-10-23 11:28:27 -06:00
Jay McCarthy
552fe0f755
Test localhost tcp before running echo server test
2012-10-23 11:28:27 -06:00
Ryan Culpepper
1137b444ad
macro-stepper: show errors in provide expansion
...
closes PR 13018
2012-10-22 18:00:45 -04:00
Ryan Culpepper
5f15401561
macro stepper: fix bug re taking over run button
...
Closes PR 13019
2012-10-22 18:00:45 -04:00
John Clements
f60d57a27f
updated manual tests
2012-10-22 14:57:38 -07:00
Ryan Culpepper
b382e79210
update props for removed file
2012-10-22 16:54:48 -04:00
Ryan Culpepper
8226899df3
db: fix finalization bug
2012-10-22 13:27:59 -04:00
Robby Findler
b61f1789c7
fix bug in detecting the name of the language
...
(encoding problems)
Also, Rackety
2012-10-22 11:49:14 -05:00
Robby Findler
7355c59fb1
added the ability to extract a derivation
...
from a judgment-form via build-derivation
(returns derivation structs)
2012-10-21 23:19:54 -05:00
Robby Findler
67d52138f9
provide language, reduction relation, and typing judgment from stlc.rkt
2012-10-21 19:55:53 -05:00
Robby Findler
9baefbe725
remove bogus case in stlc typing judgment form
2012-10-21 19:55:52 -05:00
Robby Findler
9696bd7337
adjust judgment-holds so it generates less code
2012-10-21 19:55:52 -05:00
Matthew Flatt
9708a01a0a
ffi/unsafe: defend against some finalization bugs
...
Turn use of a finalized ffi callout into a reported error,
instead of a crash. Clarify the existence of the finalizer
in the docs. Fix error logging of the finalizer thread.
Merge to v5.3.1
2012-10-21 08:11:45 -06:00
Jay McCarthy
d77803b687
Adding in id-cookie library after 19th use in a Web app
2012-10-20 19:41:33 -06:00
Ryan Culpepper
6283ce733d
add test for unsolved db crash
2012-10-20 18:28:20 -04:00
Stephen Bloch
71a59cf653
Changed "right" error messages to match new actual error messages.
2012-10-20 13:31:00 -04:00
Mike Sperber
c39ad69447
Synch German string constants with latest.
2012-10-20 15:17:01 +02:00
James Swaine
196dc3de11
FV: fix layout bug with timelines containing GC's, add GC
...
node to summary hierlist
2012-10-20 01:36:20 -05:00
James Swaine
797979f0ae
FV: blocks/syncs on worker threads now show primitive name, etc.,
...
and connecting lines use different colors to show
connections between blocks on worker threads and corresponding ones
on runtime thread
2012-10-20 01:36:20 -05:00
Jay McCarthy
09dd60789a
changing tests for environments where listen fails
2012-10-19 15:24:20 -06:00
Jay McCarthy
23816b496d
Fixing typo re: pull request 156
2012-10-19 14:25:22 -06:00
Asumu Takikawa
43f99839c2
unstable: add cross-out
and backdrop
pict functions
2012-10-19 15:34:35 -04:00
Asumu Takikawa
862fd346c7
Doc typo
2012-10-19 15:06:46 -04:00
James Swaine
9a0f19da59
Fix futures-disabled build errors introduced by changes to even? and odd?
2012-10-19 13:49:05 -05:00
Matthew Flatt
e59066debe
bytecode validator: check "constant" annotations on variable references
...
Bytecode changes in two small ways to help the validator:
* a cross-module variable reference preserves the compiler's
annotation on whether the reference is constant, fixed, or other
* lifted procedures now appear in the module body just before the
definitions that use them, instead of at the beginning of the
module body
2012-10-19 11:27:52 -06:00
Ryan Culpepper
839408e6f7
ppict: allow #:next w/o placer
2012-10-19 11:35:49 -04:00
Eli Barzilay
cbfb1fdb37
A whole bunch of missing newlines at EOFs (and a few other spaceages).
2012-10-19 06:47:24 -04:00
Eli Barzilay
bc29e6ed2a
Change checksums for -h changes.
...
Also add completion for the new -R option.
2012-10-19 05:17:56 -04:00
Eli Barzilay
a03b636936
No more "planet" executable.
2012-10-19 05:17:56 -04:00
Robby Findler
3ba54a2a3e
adjust the teaching languages interactions with
...
drracket so they put the 'source' field into the
syntax objects that they create (at the very top)
this allows the debugger to connect the syntax objects
to the file that's open in drracket (the way this worked
changed a while back, but I didn't check the teaching
languages to see if the debugger was supposed to work there)
closes PR 13159
please merge to the release branch
2012-10-18 22:07:11 -05:00
James Swaine
05e0836b88
Make odd? and even? future-safe
2012-10-18 21:22:11 -05:00
Danny Yoo
323fc273ad
expanson -> expansion
2012-10-18 18:19:57 -04:00
James Swaine
7c8f0ce093
FV: fix drawing code to handle truncated logs, tests
2012-10-18 14:00:04 -05:00
James Swaine
4a64b81562
FV: handle empty-timeline cases more gracefully
2012-10-18 13:32:32 -05:00
James Swaine
39f2185856
FV: improve left-hand block/sync hierlist display
2012-10-18 13:32:32 -05:00
James Swaine
2ef3569381
FV: remove unused panel, make info-detail display areas drag-resizable
2012-10-18 13:32:31 -05:00
James Swaine
e7cbba271d
FV: click on node in creation graph --> select events in the future's timeline
2012-10-18 13:32:31 -05:00
James Swaine
7d0578fc3b
FV: Fix hover display "stickiness"
2012-10-18 13:32:25 -05:00
James Swaine
e57155d21e
Fix fv truncated-display issue
2012-10-18 13:31:55 -05:00
James Swaine
b94caa2d77
FV: refactoring, various layout/display fixes
2012-10-18 13:31:42 -05:00
Matthew Flatt
be538b4f69
accomodate OpenBSD linking of libssl
...
Merge to v5.3.1
2012-10-18 11:58:59 -06:00
Matthew Flatt
274d004546
racket/draw: fix problems with monochrome PNGs
...
Merge to v5.3.1
2012-10-18 10:01:20 -06:00
Burke Fetscher
484636d92e
remove extra tut-subst.rkt and tmp.rkt files
2012-10-17 23:24:44 -05:00
Robby Findler
975426f00c
fix group-test
...
merge to release branch, please
2012-10-17 20:19:15 -05:00
Matthias Felleisen
f733f149f5
fix string-ith's error message; Closes PR 13197
2012-10-17 20:27:12 -04:00
Matthias Felleisen
b48d122dd7
fixed Adam Shaw's typo, eliminated the word match
2012-10-17 20:27:12 -04:00
Matthew Flatt
e1a6d2b07d
fix raco exe' for
module+' submodules
...
Closes PR 13116
Merge to v5.3.1
2012-10-17 16:28:41 -06:00
Matthew Flatt
bd146e2d8d
fix planet `raco exe' tests
...
Merge ot v5.3.1
2012-10-17 16:28:41 -06:00
Burke Fetscher
44dd4acb44
Additional random test generation capability for Redex.
...
This adds the option to generate random terms that satisfy
judgment-forms and metafunctions.
Currently functionality does not include:
- patterns/terms using: ellipses, in-hole/hole and relatives, side-conditions, unquotes
- define-relation
- redex-check integration
2012-10-17 16:30:51 -05:00
Eli Barzilay
47a68197b6
Tidy things up.
2012-10-17 15:05:42 -04:00
Danny Yoo
18753621e1
adding examples for sequences
2012-10-17 15:05:42 -04:00
Matthew Flatt
04e8689a9b
add another argument to `{chaperone,impersonate}-prompt-tag'
...
The new argument gets to chaperone/impersonate a guard at
the prompt, and it is applied when the continuation is applied ---
based on a wrapper on th prompt tag of the continuation (as opposed to
the prompt tag of the prompt).
2012-10-17 10:24:09 -06:00
Samuel Bronson
e9d830badb
Hack to keep search.js and search-context.html up-to-date in doc/ trees by pretending that make-search.zo depends on them
2012-10-17 08:46:47 -04:00
Ryan Culpepper
67d901ccc4
fix define-for-syntax within splicing-syntax-parameterize
2012-10-16 17:58:59 -04:00
Matthew Flatt
843c722146
add an argument to `{chaperone,impersonate}-prompt-tag'
...
The new argument gets to filter results that come from a
non-composable continuation that replaces one delimited
by a prompt using the chaperoned/impersonated prompt tag.
2012-10-16 15:11:50 -04:00
Asumu Takikawa
8325db3d37
Add examples for code
macro in slideshow
2012-10-16 14:50:02 -04:00
Matthew Flatt
755cd47cc5
make chaperone-of?' accept
prop:equal+hash'
...
There appears to be no reason to block equality based on
`prop:equal+hash' when using `chaperone-of?'.
2012-10-16 12:17:42 -04:00
Robby Findler
b8f5776797
add examples to redex-match and redex-match?
...
please include in release
2012-10-16 10:51:45 -05:00
Robby Findler
5b3ac50fb9
add get-token-range to color:text<%> (it was already documented
...
as if it was there)
2012-10-16 10:51:45 -05:00
Asumu Takikawa
0eb85a1dfe
Add Guide pointers to Refs on exceptions & control
2012-10-16 01:31:20 -04:00
Eli Barzilay
d67396cbb1
Minor pickinesses.
2012-10-15 15:03:53 -04:00
Robby Findler
7ffe9f2612
adjust logger to use a name instead of an environment variable
2012-10-15 13:25:17 -05:00
Robby Findler
0ec7f47339
adjust background compilation log messages so they only appear
...
when the PLTDRBACKGROUNDCOMPILELOG environment variable is set
(since things seem stable now)
2012-10-15 12:32:46 -05:00
Vincent St-Amour
fd6e2bd6c5
Don't provide for/vector: helpers.
2012-10-15 12:03:53 -04:00
Robby Findler
4787361d7f
show a dialog box saying that aspell/ispell cannot be
...
found instead of just silently not checking the spelling
also, fix a bug in that case that used to cause drracket
to just crash
2012-10-15 07:41:42 -05:00
Matthew Flatt
79ada3b16e
fix JIT bug in struct pred/get/set corner case
...
When thie JIT guesses that an identifier is bound to a
structure predicate, getter, setter, etc., but that guess
turns out to be wrong, and the call is in a tail position,
then preserve tail-call behavior.
(Changes include some setup to inline structure constructors.)
2012-10-15 06:05:33 -04:00
Robby Findler
a59df8c7ee
add preference settings so that the misspelled words color
...
can be configured
2012-10-14 22:27:50 -05:00
Robby Findler
44a0c8a6c1
adjust spelling code so that it runs in the abortable part
...
of the syntax colorer; adjust the spelling code so that it
uses nack events to communicate, in case things get aborted
2012-10-14 21:20:36 -05:00
Robby Findler
c75cc48f5c
fix spell checker encoding
2012-10-14 18:45:10 -05:00
Robby Findler
72fa1d45a1
add capability to spell-check string constants
...
(calls out to ispell or aspell)
2012-10-14 17:40:56 -05:00
Vincent St-Amour
5bc108c7b1
Fix type of raise-range-error.
2012-10-14 17:19:35 -04:00
Michael Wijaya
4bf94de5f5
Added examples to string-ports document
...
In cooperation with Xiangqi Li and Kevin Tew
2012-10-14 17:01:22 -04:00
Vincent St-Amour
326e3ba33f
Add test.
2012-10-14 16:55:36 -04:00
Neil Toronto
cdcf8f6432
Added typed/untyped-utils (just require/untyped-contract for now)
2012-10-14 16:53:33 -04:00
Vincent St-Amour
aeddd7c18c
Document plet:.
2012-10-14 16:28:42 -04:00
Neil Toronto
9c11324cec
Added plet:
2012-10-14 16:28:42 -04:00
Neil Toronto
6f52be186b
Added working for/vector:, for*/vector:, for/flvector:, for*/flvector:
...
Closes PR13185.
2012-10-14 16:28:41 -04:00
Vincent St-Amour
3a8f4c24d9
More types for raise-* functions.
2012-10-14 15:44:55 -04:00
Eric Dobson
d31005b380
Add type for raise-argument-error in TR.
...
Closes PR13132.
2012-10-14 15:44:55 -04:00
Eric Dobson
788b046549
Make expt type more correct.
...
Closes PR13170.
2012-10-14 15:44:54 -04:00
Vincent St-Amour
844e898a54
Generate ->* contracts for functions with both optional and keyword arguments.
2012-10-14 15:44:54 -04:00
Vincent St-Amour
149d8535eb
More float conversion optimizations.
2012-10-14 15:35:50 -04:00
Asumu Takikawa
df594d3b3b
Move define/match
to racket/match
2012-10-14 14:39:36 -04:00
Matthias Felleisen
1ccedf5eb2
added checksum calculation
2012-10-14 14:32:54 -04:00
Stephen Chang
4be0219855
fix docs for define-judgment
...
clarify the places where unquotes are not allowed
2012-10-14 12:35:55 -04:00
Asumu Takikawa
be21153818
Fix typesetting of code:blank
in the Scribble docs
2012-10-14 07:34:55 -04:00
Matthew Flatt
33db9589a4
make `list-ref' future-safe even for large fixnum indices
2012-10-14 11:10:23 -04:00
Stephen Chang
93784be78d
fix define-judgment docs
...
change so mode-spec is not optional in grammar
2012-10-14 11:06:55 -04:00
Matthew Flatt
2b902d0eda
repair for picture-to-bitmap conversion
2012-10-13 17:45:07 -04:00
Mike Sperber
c8dc421ec3
Synch German string constants with latest.
2012-10-13 17:00:23 +02:00
Robby Findler
42c5b287ff
change "speculative" to "background" for the online check syntax messages
2012-10-13 08:54:11 -05:00
Mike Sperber
25e5fc715c
Synch German string constants with latest.
2012-10-13 15:48:05 +02:00
Matthew Flatt
5d65cada2e
make DrRacket's picture values convertible to PNG and PDF
2012-10-12 22:37:48 -04:00
Matthew Flatt
a755479d59
slideshow/pict repair
...
Merge to v5.3.1
2012-10-12 22:37:47 -04:00
Matthew Flatt
a150140684
raco setup: improve description of `--doc-pdf'
...
Merge to v5.3.1
2012-10-12 22:37:47 -04:00
Jay McCarthy
b6fc190c7a
Adding support for byte counting rather than char counting in XML
2012-10-12 17:15:13 -06:00
Vincent St-Amour
758e4ff112
Only recommend dropping exactness in truly inexact contexts.
...
Please merge to release.
2012-10-12 14:42:16 -04:00
Jon Rafkind
59ec52dd8b
[honu] remove debugging lines
2012-10-11 21:50:39 -06:00
Ryan Culpepper
678fc4d6f8
make macro stepper recover from jumps within expansion
2012-10-11 17:44:51 -04:00
Ryan Culpepper
07da9c0c3c
fixed template tests
2012-10-11 17:37:57 -04:00
Jon Rafkind
44974c54f8
inside a revealing slide (reveal n) is a predicate for whether its time to show slide n or not
2012-10-10 23:02:35 -06:00
Jon Rafkind
204333fc25
[honu] add syntax_var which is the same as define-syntax
2012-10-10 23:02:35 -06:00
Jon Rafkind
8b627ed8fd
[honu] xml example doesnt need its own < and > literals
2012-10-10 23:02:35 -06:00
Jon Rafkind
a3e2c2fae6
[honu] add xml example
2012-10-10 23:02:35 -06:00
Jon Rafkind
20ec2356cb
[honu] add macro user api
2012-10-10 23:02:34 -06:00
Jon Rafkind
d7ebe6599c
[honu] add phase{ ... }, which is like begin-for-syntax
2012-10-10 23:02:34 -06:00
Jon Rafkind
f91d9ded25
[honu] completely expand function arguments
2012-10-10 23:02:34 -06:00
Robby Findler
cb763c81b9
preserve the error-print-source parameter when installing planet packages
2012-10-10 19:46:52 -05:00
Robby Findler
f756f694e7
rename 'online' to 'speculative' in the drracket GUI.
...
closes PR 13176
2012-10-10 10:44:02 -05:00
Robby Findler
197b8308d0
fix some part of the check syntax blinking arrows infrastructure
...
to better cope with tooltips when tabs change and when the frame
becomes in-active.
related to PR 13139
2012-10-10 10:44:01 -05:00
Samuel Bronson
88e6e5bcf6
Fix a couple of doc typos.
2012-10-10 11:06:40 -04:00
Samuel Bronson
a624d8de15
Misc improvements to the doc search JavaScript code
...
* Stamp "plt-index.js" with the path of its generator.
* Fix most of the "use strict" and js2-mode warnings in scribble's
JavaScript.
* Some code improvements in the generating code too.
(With some edits by Eli.)
2012-10-10 11:05:25 -04:00
Matthew Flatt
6a82c8bb7c
Scribble Latex: more complete and consistent handling of accented letters
2012-10-10 07:13:05 -06:00
Matthew Flatt
de9ccea7f1
Scribble: add some macron accents for Latex
...
Merge to v5.3.1
2012-10-10 06:49:01 -06:00
Matthew Flatt
ebe0b64d47
racket/gui win32: fix drag-and-drop onto frame
...
Closes PR 13109
Merge to v5.3.1
2012-10-09 21:13:34 -06:00
Matthew Flatt
a414b34b14
fix `vector-append' error reporting
...
Closes PR 13151
Merge to v5.3.1
2012-10-09 21:13:22 -06:00
Matthew Flatt
75008f14d7
win32: fix combo-field% click handling
...
Closes PR 13173
Merge to v5.3.1
2012-10-09 20:05:47 -06:00
Vincent St-Amour
7d317f1e96
Recommend float-specific operations in case of unexpected complex.
...
Please merge to release.
2012-10-09 16:58:04 -04:00
Kevin Tew
40ca07ee7c
[Distributed Places] use racket -lm to launch new racket nodes instead of -tm
2012-10-09 14:29:44 -06:00
Danny Yoo
444aaf6eb7
Small typo fix
2012-10-09 14:00:34 -04:00
Sam Tobin-Hochstadt
385246f4db
Add Frame%
and message-box
types.
2012-10-09 12:07:28 -04:00
Sam Tobin-Hochstadt
6945c5bfb1
Handle contract generation for recursive class types.
2012-10-09 12:07:28 -04:00
Robby Findler
7e7ebffdd4
Adjust linux version of Redex bitmap tests
2012-10-09 09:45:52 -05:00
Robby Findler
751dcb4bd1
adjust define-judgment-form's typesetting so that it
...
tracks the lines of the premises in the source when
deciding how to linebreak the premises of the typeest form
2012-10-09 09:06:09 -05:00
Asumu Takikawa
7826efcdf5
Add examples for tabular in scribble reference
2012-10-08 23:10:52 -04:00
Sam Tobin-Hochstadt
9054d0db7d
Allow #:opaque
and #:struct
in require/typed
.
2012-10-08 16:30:43 -04:00
Robby Findler
daed2aaed0
minor Rackety and add a little more info into the log from when
...
DrRacket gets confused
2012-10-08 09:58:14 -05:00
Robby Findler
9ed7b44222
adjust the code that initializes the pre-"first Run" repl
...
construction so it has the right inspector
closes PR 13056
2012-10-08 09:58:14 -05:00
Sam Tobin-Hochstadt
0feb2a45e9
Move to fix build.
2012-10-07 21:44:47 -04:00
Sam Tobin-Hochstadt
724aee0188
Add type for in-directory
.
2012-10-07 17:45:09 -04:00
Sam Tobin-Hochstadt
630a77cea8
Improve type specifications for bitmap handling functions.
...
Fixes build issue.
2012-10-06 14:32:08 -04:00
Matthias Felleisen
6a1f50226e
typo fixed with (lambda () ..); Closes PR 13164
2012-10-05 18:00:07 -04:00
Sam Tobin-Hochstadt
6fde63007e
Allow invoking thunks on the untyped side of an Any
.
2012-10-05 17:09:07 -04:00
James Swaine
f38bd159d2
Add frame options to show-pict
2012-10-05 16:04:13 -05:00
Sam Tobin-Hochstadt
b6b5043ff9
Add typed interface for the futures visualizer.
2012-10-05 16:11:16 -04:00
Matthew Flatt
fcfff27c31
ffi/com: implement vardesc-based dispatch
...
The `title' property of IE9 triggers the new code, which wasn't
implemented before because I didn't have an example.
2012-10-05 12:26:14 -06:00
Matthew Flatt
7c5174d54e
ffi/com: faster when calling methods on many objects of same type
...
Move the method-type cache to the type-info object, instead of
the instance.
2012-10-05 11:05:42 -06:00
Matthew Flatt
5c2b00ea78
ffi/com: try to reduce overhead on `com-invoke'
...
Also, fix a potential memory bug: the exception-record value
passed to Invoke() as synthesized by `_ptr' was GCable and
movable.
2012-10-05 11:05:41 -06:00
Sam Tobin-Hochstadt
962f2472e1
Revamp handling of Any
as a contract.
...
The contract now has two major differences:
- It raises an error when it would have to wrap.
- It uses chaperones to delay errors as long as possible
In general, using `Any` as a type when exporting to untyped
code will now just work, unless the untyped code tries to
communicate values back to the typed side, in which case an
immediate error will be raised.
Much of the implementation comes from the membrane design
from [Strickland et al, OOPSLA 2012].
2012-10-05 12:39:11 -04:00
Sam Tobin-Hochstadt
b3c640870e
Simplify fast path for typechecking simple function applications.
...
Also, minorly revise subtyping code.
2012-10-05 12:12:39 -04:00
Eli Barzilay
73526b449b
Fix json treatment of eof, plus tests.
...
(Also, no need for a keyword in the interna function.)
2012-10-05 11:48:31 -04:00
Asumu Takikawa
c26faaebfa
redex: export documented but missing predicate
2012-10-05 11:42:32 -04:00
Asumu Takikawa
16b15c89f7
redex: doc fixes
2012-10-05 11:42:32 -04:00
Manu
e7db0bdac4
Added CSS rules for printing.
2012-10-05 11:15:59 -04:00
Marc Burns
25bc661a03
Fix socket leak on redirected `*-pure-port' calls.
...
A port over which a redirection is served to get-pure-port is not closed
if `get-pure-port' follows the redirection. This leaks file descriptors
on the host machine.
2012-10-05 11:14:38 -04:00
Marc Burns
fa0336bfad
Call close-output-port' on abandoned port in
ssl-abandon-port'.
...
This change causes the abandoned output port to be properly shutdown,
when the `shutdown-on-close' option is set, and decrements the mzssl
struct reference count when a port is abandoned.
Previously, the `*-[im]pure-port' methods from `net/url' would fail to
close the SSL socket associated with the connection when
`close-input-port' was called on the port object returned. This patch
causes the underlying socket to be closed when `close-input-port' is
called on SSL-based ports returned by functions in `net/url'.
2012-10-05 11:13:20 -04:00
Jon Rafkind
cb42b7ed6a
[honu] clean up requires by separating code into modules
2012-10-04 23:53:03 -06:00
Jon Rafkind
c758069a09
[honu] remove unused embedding of racket code inside a honu expression via %racket
2012-10-04 23:53:03 -06:00
Jon Rafkind
8210acc696
[honu] add postfix keyword for unary definitions
2012-10-04 23:53:03 -06:00
Jon Rafkind
afdd5c4393
[honu] support postfix unary operators
2012-10-04 23:53:03 -06:00
Jon Rafkind
84b334168b
docs for items-slide
2012-10-04 23:53:02 -06:00
Jon Rafkind
fbf153a435
add items-slide
2012-10-04 23:53:02 -06:00
Jon Rafkind
6c20513587
[honu] add binary_operator and unary_operator forms for plain expression-based operators
2012-10-04 23:53:02 -06:00
Sam Tobin-Hochstadt
8bb697108e
Fix contract-min/max base case.
2012-10-04 16:13:21 -04:00
Robby Findler
8b92ec5677
linebreaking adjustments for typographical reasons
2012-10-04 10:17:28 -05:00
Matthew Flatt
b4b723df4e
fix `in-directory'
...
Closes PR 13163
2012-10-04 06:40:36 -06:00
Matthew Flatt
683e72e9e3
scribble: make `linebreak' work more for Latex/PDF rendering
2012-10-04 06:40:36 -06:00
Robby Findler
ec05ecf558
change the dir field of the multi file search dialog
...
into a combo-field
Initial version of this commit from Kieron Hardy
2012-10-03 22:49:20 -05:00
Sam Tobin-Hochstadt
86522a1804
This pattern of typed submodules exposes Racket bugs.
2012-10-03 12:24:16 -04:00
Mike Sperber
41d6d8f579
Provide `provide' in the DMdA languages.
...
(The course at U Kiel needs this for the term project following the
intro course.)
2012-10-03 17:28:19 +02:00
Robby Findler
58c9905eff
adjust tooltip windows so they go away whenever
...
they get a mouse event
related to PR 13139
2012-10-02 20:56:34 -05:00
Matthew Flatt
4b6a57bd2e
add info on building Racket to the "Inside" document
...
Closes PR 13156
2012-10-02 15:06:27 -06:00
Samuel Bronson
1dce7e587f
scribble/private/manual-form: Implement racketgrammar in terms of racketgrammar*
...
This is just a refactoring for readability.
2012-10-02 15:06:27 -06:00
Carl Eastlund
bc681836bc
Updating read-json to produce eof when appropriate.
2012-10-02 13:46:31 -04:00
Vincent St-Amour
937c901ce7
Add separator before Optimization Coach right-click menu entry.
2012-10-02 11:24:07 -04:00
Vincent St-Amour
69873c8db8
Fix Optimization Coach's handling of paths with spaces.
2012-10-02 10:45:29 -04:00
Vincent St-Amour
6ba0c1416e
Remove out of date comment.
2012-10-02 10:18:48 -04:00
Vincent St-Amour
61b83045fc
Fix loop detection heuristic based on self-out-of-fuel.
2012-10-02 10:18:48 -04:00
Matthew Flatt
7ddd99cf52
racket/gui win32: fix duplicate pre- events for controls
2012-10-02 07:26:25 -06:00
Matthew Flatt
a5d7812732
racket/gui: skip some redundant 'enter & 'leave events
2012-10-02 07:26:25 -06:00
Robby Findler
d6a8ac85b4
added some pretty-print using term formatters and fixed the
...
docs for term->pict.
closes PR 13150
2012-10-01 23:27:48 -05:00
Robby Findler
d0f981f9cb
fix a bug in color padding code
...
closes PR 13153
2012-10-01 22:53:58 -05:00
Matthew Flatt
64bac4e573
racket/draw: fix return value of load-file' from
bitmap%'
2012-10-01 18:14:19 -06:00
Matthew Flatt
efcad101d1
win32: fix coordinates of non-client mouse events
...
Closes PR 13141
2012-10-01 13:08:24 -06:00
Jon Rafkind
dcc853e841
add docs for revealing-slide
2012-10-01 12:11:58 -06:00
Jon Rafkind
c62907da58
add revealing-slide
2012-10-01 12:03:58 -06:00
Jon Rafkind
71b7f60b29
add docs for codeblock->pict
2012-10-01 11:06:13 -06:00
Jon Rafkind
e8d0ea30b0
add codeblock->pict to convert between scribble and slideshow representations of code
2012-10-01 11:06:13 -06:00
Robby Findler
a4b79ccf66
adjust Check Syntax so that it tries to point to the
...
raw-module-path inside of a phaseless-spec (see
the #%require docs for the description of these).
Also, Rackety
in conjunction with commit 9047427
(and an earlier
commit in those files/dirs), this commit:
closes PR 7815
closes PR 10455
closes PR 10788
2012-10-01 10:47:23 -05:00
Matthew Flatt
6a5f73d3d9
scriblib/autobib: more graceful failure when bib not rendered
2012-10-01 07:14:46 -06:00
Matthew Flatt
38a49c89b9
doc improvement
2012-10-01 07:14:46 -06:00
Matthew Flatt
9047427e07
further improvements to source locations for `require' forms
2012-10-01 07:14:46 -06:00
Matthew Flatt
259a2b8c19
doc repair
2012-10-01 07:14:46 -06:00
Robby Findler
ce8d8eb763
fix the way check syntax traverses #%require expressions that it sees
...
(the way things currently stand, check syntax needs more information
from the fully expanded form, but at least now it has a better chance
to actually use that information, if it were there ...)
related to PR 7815
related to PR 10455
related to PR 10788
2012-09-29 22:09:02 -05:00
Matthew Flatt
14e276094a
improve source correlation on `require' expansion
2012-09-29 08:59:10 -06:00
Matthew Flatt
4809c11548
doc fix
2012-09-29 08:59:10 -06:00
Robby Findler
60a035889f
make tooltips go away if the drracket window isn't
...
the top-level window (and make them not appear in
that case, too)
closes PR 13139
2012-09-28 23:09:16 -05:00
Robby Findler
e958c33739
make a bunch of unmutated private fields bound to procedures into private methods
...
(the usual (define f ...) in a class confusion)
2012-09-28 22:44:27 -05:00
Robby Findler
34bd9bfa72
add a note about the red boxes
...
related to PR 13080
2012-09-28 15:54:51 -05:00
Robby Findler
e0c4e4055d
make color and pen from 2htdp/image be structs in the sense
...
that 'color' and 'pen' have compile-time info saying that
they are structs
closes PR 13146
2012-09-28 15:09:29 -05:00
Robby Findler
8971cb5981
adjust define-primitive so that it cooperates with struct-info.
...
Specifically, if there is a third argument to define-primitive, then
it uses the prop:struct-info setup, using that third argument
as the struct-info (in the list format).
2012-09-28 15:09:25 -05:00
Eli Barzilay
679c308c53
Improve setperms example.
2012-09-28 09:31:53 -04:00
Sam Tobin-Hochstadt
3b37d64936
Document ~e
from racket/format
.
2012-09-27 18:29:55 -04:00
Sam Tobin-Hochstadt
d84631bc6f
Don't provide internal identifier.
2012-09-27 18:29:43 -04:00
Eric Dobson
8a8dc66a19
Replace uses of Type? in contracts with Type/c.
2012-09-27 18:10:38 -04:00
Sam Tobin-Hochstadt
cab90c16d5
Test for appropriate predicates for invariant structs.
2012-09-27 17:26:32 -04:00
Sam Tobin-Hochstadt
ee4ba2e3dd
Fix define-typed-struct/exec
to pass struct-info.
2012-09-27 17:08:49 -04:00
Sam Tobin-Hochstadt
d066a5c1d2
Fix error message pattern for use of cons/c
.
2012-09-27 16:39:16 -04:00
Sam Tobin-Hochstadt
c07852eaf1
Ensure that identifiers defined by struct
are registered as being defined in the correct module.
2012-09-27 16:22:22 -04:00
Eric Dobson
cf4d43c04f
Made free-variance have less special cases.
2012-09-27 16:22:22 -04:00
Eric Dobson
ffe45ecce4
Working covariant applications.
2012-09-27 16:22:22 -04:00
Eric Dobson
40809e768d
WIP on fixing free-variance.
2012-09-27 16:22:22 -04:00
Eric Dobson
e3743b446c
Split adding the struct type and the bindings.
2012-09-27 16:22:22 -04:00
Eric Dobson
40236a3b26
Cleanup define-struct parsing.
2012-09-27 16:22:22 -04:00
Eric Dobson
8ea7502c12
More cleanup of struct type registration.
2012-09-27 16:22:21 -04:00
Eric Dobson
d84391b695
More struct work
2012-09-27 16:22:21 -04:00
Eric Dobson
626f807f00
Removed cert value.
2012-09-27 16:22:21 -04:00
Eric Dobson
8226b6764c
Cleanup of tc-struct and tc-toplevel.
2012-09-27 16:22:21 -04:00
Eric Dobson
d54a573494
Removed unused constructor-return argument.
2012-09-27 16:22:21 -04:00
Eric Dobson
54401182bb
Make tc-struct no longer have long lines.
2012-09-27 16:22:21 -04:00
Eric Dobson
12233600c1
Fix -struct to use the right number of arguments to make-Struct.
2012-09-27 16:22:21 -04:00
Eric Dobson
6fe850ce39
Clean up contracts in TR.
2012-09-27 16:22:21 -04:00
Eric Dobson
2a8512ed72
Removed unused fields in Struct
2012-09-27 16:22:21 -04:00
Eric Dobson
745403a88e
Make struct type contracts better
2012-09-27 16:22:21 -04:00
Eric Dobson
9e1cf579a4
Fix type->contract on structures. Now uses struct/c.
2012-09-27 16:22:21 -04:00
Ryan Culpepper
8ba835a3c9
added unstable/custom-write
2012-09-27 12:45:55 -04:00
Ryan Culpepper
d8296a31f5
syntax/parse/experimental/template: make errors consistent with 'syntax'
2012-09-27 12:45:55 -04:00
Robby Findler
d9a58e5a6d
fix rectangle computation for shortcircuiting drawing
...
in the module browser
closes PR 13080
2012-09-27 11:16:35 -05:00
Robby Findler
fa891703a8
clean up indentation and move arrows to the front, while I'm here
2012-09-27 11:13:26 -05:00
Robby Findler
28c1c16ed5
fix module browser's red coloring of boxes in the
...
case that a file is required as x.ss, but its name
is actually x.rkt (and similar situations)
related to PR 13080
Also, Rackety
2012-09-27 10:57:26 -05:00
Robby Findler
c5b5c6f9b5
fixes suggested by latest reviewer of the hosc submission
2012-09-27 09:48:35 -05:00
Matthew Flatt
3f59309634
ffi/unsafe doc repairs
...
Closes PR 13143
2012-09-27 08:12:56 -06:00
Matthew Flatt
afeeb56fe8
fix doc bug for `gauge%'
2012-09-27 08:12:56 -06:00
Matthew Flatt
dd4dc53e82
when PLTPICTBOX is set, include "Insert Pict Box" in DrRacket
...
Works well enoough for demos, at least.
2012-09-27 08:12:56 -06:00
Robby Findler
9b0eb1ab78
fix redex pdf generation when a string is passed
2012-09-25 15:32:38 -05:00
Jay McCarthy
a5acdb473f
Squelching port-closed error messages
2012-09-25 10:21:20 -06:00
Mike Sperber
b420e40b0e
Synch German string constants with latest.
2012-09-25 09:51:01 +02:00
Asumu Takikawa
646552b2c4
Reference: fix interface example typo
2012-09-25 01:48:56 -04:00
Robby Findler
ec6408b343
Adjust the web download phase of the install .plt file
...
menu item in drracket so that it first checks to see if
the downloaded file matches a .plt archive and, if not,
try to put some friendlier message in front of the gzip error
closes PR 9425
closes PR 13129
2012-09-24 14:11:21 -05:00
Ryan Culpepper
008d1f7f1b
syntax/parse/experimental/template: quasitemplate, template/loc
2012-09-24 13:31:03 -04:00
Matthew Flatt
44e55689a2
Scribble overview: mention tables comments, and pictures
2012-09-23 11:53:30 -05:00
Matthew Flatt
3fb12b4ff4
raco exe: handle failing submodule search correctly
...
An attempt to detect a submodule could trigger the original module
name resolver when the would-be enclosing module would be handled
by the embedding-specific resolver. When a submodule is not found
but its would-be enclosing module is embedded, then assume that
the default resolver wouldn't find the submodule, eithe --- and
therefore avoid a potential "collection not found" error.
2012-09-23 10:47:24 -05:00
Matthew Flatt
1eabd154fb
setup/path-relativize: fix for unknown root path
2012-09-22 08:11:08 -06:00
Robby Findler
c3a454aebf
Add a missing check for when arrow-records might be #f
...
closes PR 13133
2012-09-21 16:20:07 -05:00
Matthew Flatt
9b6ff5d94d
compiler/cm: fix self-dependency check for ".ss" vs. ".rkt"
2012-09-21 08:31:04 -06:00
Matthew Flatt
cb041850f4
scribble: decode a lone ` as a left "curly quote"
...
Also, add 'lsquo as allowed content.
Omitting the ` conversion in the first place was over-conservative.
There's a backward-compatibility issue with this addition (i.e., a
document might contain a backquote in a decoded context that is
meant to be rendered as a backquote), but the potential problems
seem minor.
2012-09-21 07:37:30 -06:00
Matthew Flatt
c75c0d9946
setup/dirs: fix for failure to find embedding executable
2012-09-21 07:18:55 -06:00
Matthew Flatt
99274b203a
doc fix
...
Closes PR 13105
2012-09-20 17:49:50 -06:00
Matthew Flatt
5dcebb86ac
change `stream-append' to use its last argument as the result tail
...
Closes PR 13130
2012-09-20 17:49:50 -06:00
Robby Findler
3f4b117c1a
remove redunant arguments (they were the same as the default args, in 70-something places)
2012-09-20 18:46:40 -05:00
Robby Findler
a6d74c8e3b
avoid the default handler for call-with-continuation-prompt in
...
favor of one that behaves much like it, but never escapes
closes PR 13121
2012-09-20 18:46:40 -05:00
Matthew Flatt
d05f9bacb3
slideshow/balloon: Rackety
2012-09-20 16:46:07 -06:00
Matthew Flatt
a422256393
slideshow/pict: make `colorize' accept list of bytes (as documented)
2012-09-20 16:46:07 -06:00
Matthew Flatt
39d54d2576
Slideshow viewer: "s" and "a" keys navigate next/previous by title
...
The new keys are useful for skipping animation groups. They
actually navigate by slide name, which defaults to the slide title,
but can be specified separately with the `#:name' argument to
`slide'.
2012-09-20 16:46:07 -06:00
Ryan Culpepper
8a02ff54ac
syntax/parse/experimental/template: improve prop handling & syntax checks
...
Separate parameters for props to serialize and those to transfer.
Make syntax?/list? checks on attributes explicit.
Also add continuation barrier around metafunction application.
2012-09-20 12:28:18 -04:00
Ryan Culpepper
ddcafbc6d1
syntax/parse/experimental/template: fix ellipses/depth rules again
2012-09-20 12:19:51 -04:00
Matthias Felleisen
37ff798163
sqrt 2 to show #i numbers
2012-09-20 09:05:33 -04:00
Robby Findler
0e7688349e
add syntax error check when the arrow in a reduction
...
relation isn't just an identifier
add a syntax error check when an identifier appears
under two different ellipses depths in the same pattern
2012-09-20 07:09:17 -05:00
Eli Barzilay
e4f03a4045
Improvements to "meta/images/taking-screenshots".
...
Improve text layout and avoid enforcing org-mode, improve the racket
script.
2012-09-19 23:04:25 -04:00
Eli Barzilay
f49165720c
Clarify that the `*-node' is not in the list of nodes.
2012-09-19 22:54:13 -04:00
Eli Barzilay
3e02c64cc6
Remove reference to outdated software.
2012-09-19 22:54:13 -04:00
Jay McCarthy
661079aab6
Fixing error discovered by Steven Lyde
2012-09-19 15:56:34 -06:00
Robby Findler
e6a25f65ca
fix first-order test for struct/dc contracts
...
closes PR 13090
2012-09-19 15:41:56 -05:00
Matthew Flatt
c16b696272
win32: fix for clipboard bitmap decoding
...
Closes PR 13119
2012-09-19 09:12:57 -06:00
Matthew Flatt
4f75350bf3
win32: fix(?) printing page-size calculation when in 100*mm
...
Windows provide page metrics in either 1000ths of inches or
100ths of millimeters. I think Racket's calculation was wrong
in the mm case.
2012-09-19 08:40:24 -06:00
Matthew Flatt
e68db772b2
fix grammar for fully expanded submodules
2012-09-19 06:02:44 -06:00
Matthew Flatt
07e5526d6a
switch generator' implementation to use
prompt' and `call/cc'
...
Instead of `shift' and `reset'. Performance is a little better,
since `call/cc' acts as hint to the run-time system that the
continuation doesn't need to compose.
2012-09-19 05:59:57 -06:00
Robby Findler
21e0d9e031
make check syntax traverse (module* ...) expressions
...
closes PR 13095
2012-09-19 06:48:09 -05:00
Robby Findler
ae87169d7e
eliminate some dead code (showuld have been removed in an earlier commit)
2012-09-19 06:08:03 -05:00
Robby Findler
f1dd6be88b
adjust the installer dialog so that it prints a "completed"
...
message at the end of the transcript and so that it shuts down
the installation custodian (which means that any threads or
anything like that that the .plt file's code may have created
will die, plus that the "abort installation" button will now
be greyed out)
closes PR 13122
2012-09-19 06:03:03 -05:00
Robby Findler
51d41c6cfe
adjust check syntax so that it doesn't take over the right-click
...
menu, but instead cooperates with the existing protocol
(using keymap:add-to-right-button-menu)
2012-09-19 05:19:03 -05:00
Vincent St-Amour
f1f1826bff
Move screenshot scripts to the meta collect.
2012-09-18 14:17:36 -04:00
Vincent St-Amour
a2157b86dc
Rackety and minor edits.
2012-09-18 14:17:36 -04:00
Diogo F. S. Ramos
f147871728
Add instructions on how to take screen shots
...
This instructs the adventurer on how to take screen shots using the
same look and feel used to take the ones that can be found at
`collects/scribblings/gui/image'.
There are also two scripts that might help automate this process.
2012-09-18 14:17:36 -04:00
Diogo F. S. Ramos
54ab1bfbfa
Add a Widget Gallery to Racket GUI documentation
...
It's very helpful to have a visual aid when dealing with a graphical
interface toolkit.
This patch adds an overview of the widgets available in the library
consisting of screen shots of the main ones and the snippets used to
produce them.
Each widget image link back to the full documentation.
2012-09-18 14:17:36 -04:00
Asumu Takikawa
ddaef42576
define/match: fix docs & more examples
2012-09-18 13:36:15 -04:00
Matthew Flatt
e81cd0d8d7
add `slideshow/code-pict' and code transformers
...
The `slideshow/code-pict' library is the same as `slideshow/code', but
it works in non-GUI settings. Only the `slideshow/code' library connects
the code font size to `current-font-size', though.
The `code' macro, `define-code', etc., now support "code transformers",
which are syntax bindings that trigger otherwise-unescaped transformations
in the code to typeset (which can make the code easier to read and
friendlier to auto-indentation).
2012-09-18 10:03:26 -06:00
Asumu Takikawa
59915409a5
unstable/match: forgot the tests for 1a0a06d
2012-09-17 20:21:11 -04:00
Asumu Takikawa
1a0a06db62
unstable/match: add define/match
...
Match-based function definition form that supports optional,
keyword, rest-arg, and curried arguments.
2012-09-17 19:46:46 -04:00
Ryan Culpepper
35a0e50de4
syntax/parse/experimental/template: fixed bugs, added error tests
2012-09-17 18:11:44 -04:00
Jay McCarthy
348005047b
Fixing PR13117
2012-09-17 13:03:41 -06:00
Ryan Culpepper
97954f7c37
fixed macro-stepper tests
2012-09-17 12:43:36 -04:00
Ryan Culpepper
29a9abf394
fix bad attr reference (datum attr doesn't exist)
...
That macro doesn't seem to be used anywhere. Perhaps it can just
be deleted.
2012-09-17 12:29:17 -04:00
Ryan Culpepper
fcac1fdc50
syntax/parse/experimental/template: fix bad initial environment
2012-09-17 12:29:17 -04:00
Ryan Culpepper
9d34f0f147
db: added support for postgresql 9.2 types (json, ranges)
...
Other major changes:
- pg code now uses only binary format
- pg timestamptz now always UTC (tz = 0), added doc section
- added contracts to most pg "can't-convert" errors
2012-09-17 12:29:17 -04:00
Robby Findler
c675cf47f0
adjust the print-to-ps preference in DrRacket so that you can also
...
choose to print to pdf as well. Also, enable the preference
under linux (ie, make it available to be chosen-- all platforms
still default to printing via the platform-specific mechanism)
2012-09-17 10:47:22 -05:00
Matthias Felleisen
b1ba81d0cc
replace example for string=; Closes PR 13112
2012-09-17 06:57:07 -04:00
Ryan Culpepper
f621855aa3
racket/unit lang uses racket/base and racket/unit
...
Probably fixes PR 13118
2012-09-16 17:12:02 -04:00
Ryan Culpepper
d70e80e837
racket/format: change ~r to accept #:notation argument
...
Another possibility would be
#:exponential? (or/c boolean? (-> rational? boolean?))
but that violates the "everything's a boolean" convention.
2012-09-16 17:12:02 -04:00
Matthew Flatt
d1cd4621de
racket/draw: add make-dc' convenience method to
bitmap%'
2012-09-14 15:58:47 -06:00
Matthew Flatt
7fd4f59e5a
racket/draw: doc overview fix and tweaks
2012-09-14 15:37:11 -06:00
Matthew Flatt
fc52248446
add #:break' and
#:final' to `for' forms
...
Support for break clauses complicates expansion to `for/fold/derived';
a new `syntax/for-body' library provides a helper for macros that need
to split a `for'-style body into a prefix part and wrappable part.
2012-09-14 14:57:35 -06:00
Matthew Flatt
c28d3190b2
doc fix for `in-producer'
2012-09-14 13:03:06 -06:00
Matthew Flatt
adb5c01ac4
racket/generator: add optional #:arity' clause to
in-generator'
...
Allows the use of `in-generator' to produce multiple values in a
position other than immediately within `for' (where the arity
can be inferred).
Closes PR 11662
2012-09-14 13:02:55 -06:00
Matthew Flatt
ff35e7c95b
racket/gui: fix docs on reparenting (which is now possible)
...
Closes PR 13108
2012-09-13 14:17:14 -06:00
Matthew Flatt
ade2d7a4a4
minor doc fixes
2012-09-13 14:17:14 -06:00
Matthew Flatt
11045a0384
improve editor-canvas resizing
...
A recent bug fix involved moving part of an `editor-canvas%' resize
out of atomic mode by queueing a callback (because the resize involves
quesrying the editor for its size, etc.), but then the callback
happens after a canvas is shown, which can cause it to appear with
bogus initial scrollbars. Queue the callback instead as a "refresh"
level callback, which gets a chance to run before a frame is made
visible.
2012-09-13 14:17:14 -06:00
Asumu Takikawa
e71caa5d06
Fix doc contracts for continuation aborts
2012-09-13 14:48:46 -04:00
Matthew Flatt
4cc475ad68
Scribble: fix problem with URL redirection
2012-09-13 11:05:52 -06:00
Matthew Flatt
6b7acd187b
reference: fix docs for Windows path cleansing
2012-09-13 11:05:52 -06:00
Matthias Felleisen
f4576c4941
fixed pad equality; Closes PR 13106
2012-09-13 07:33:41 +02:00
Robby Findler
c069fa67a9
adjust the find-in-files initial config dialog to
...
get the "global" framework keybindings
closes PR 13110
2012-09-13 00:31:17 -05:00
Matthew Flatt
ac5965a1dc
racket/set: add set-first' and
set-rest'
2012-09-12 17:57:03 -06:00
Robby Findler
b8acee5655
small cleanup
2012-09-12 15:41:37 -05:00
Matthew Flatt
e7b1af845b
compiler/cm: repair related to compiled-file-roots
2012-09-12 12:03:08 -06:00
Matthew Flatt
906ddb7fbf
Windows: avoid Unix-specific test
2012-09-12 11:19:51 -06:00
Matthew Flatt
3fb42cf3f1
scribble/html-properties: allow URLs in css-addition' and
js-addition'
2012-09-11 18:52:59 -06:00
Matthew Flatt
9162fc2504
racket/html-properties: add `js-addition'
2012-09-11 17:39:12 -06:00
Matthew Flatt
dc925d2d8c
scribble HTML: add head-extra' and support for
attributes'
...
For a part that corresponds to an HTML page.
2012-09-11 17:18:14 -06:00
Matthew Flatt
7a8ebdab7b
add `xml/xexpr'
...
Exports `xexpr?' and `xexpr/c' without dependencies on the rest of
the `xml' library.
2012-09-11 17:17:38 -06:00
Matthew Flatt
f1671f2044
fix default logging levels for stderr and syslog
2012-09-11 13:18:18 -06:00
Matthew Flatt
4f351dd6b1
add `current-compiled-file-roots', PLTCOMPILEDROOTS, and -R/--compiled
...
The new parameter (and supporting environment variables and
command-line flags) can bytecode lookup to a tree other than
where a source file resides, so that sources and generated
compiled files can be kept separate. It also supports storing
bytecode files in a version-specific location (either with
the source or elsewhere).
2012-09-11 13:18:18 -06:00
Asumu Takikawa
3daec14cbb
racket/generic: better error message in empty case
...
Closes PR 13048
2012-09-11 14:43:19 -04:00
Vincent St-Amour
1975014c55
Remove TR optimizer log key, made redundant by named loggers.
2012-09-11 13:48:14 -04:00
Vincent St-Amour
ab328ea80b
Fix TR tests for new logging system.
2012-09-11 13:48:14 -04:00
Vincent St-Amour
805a6477a7
Use named loggers to tell TR and inliner logs apart.
2012-09-11 13:48:14 -04:00
Vincent St-Amour
251159e64a
Allow launching OC when it's already running.
2012-09-11 13:48:14 -04:00
Vincent St-Amour
39100bd3e3
Fix OC for new logging system.
2012-09-11 13:48:14 -04:00
Vincent St-Amour
5a24b57a95
Fix unstable/logging to work with the new logging system.
2012-09-11 13:48:14 -04:00
Robby Findler
0fd52435a4
add a note about "" in with-compound-rewriter
2012-09-09 23:45:54 -05:00
Vincent St-Amour
adceb4322a
Integers include inexact single-float integers.
...
Closes PR13103.
2012-09-09 15:46:29 -04:00
Vincent St-Amour
729d154deb
Fix types of comparisons between zero and non-negative integer types.
2012-09-08 18:51:38 -04:00
Robby Findler
9b15450b08
export and document enabled-shown-button?
...
label-of-enabled/shown-button-in-top-level-window?
and button-in-top-level-focusd-window?
2012-09-08 15:58:25 -05:00