Robby Findler
5c109946c2
add support to struct/dc to name the selector directly
...
and use that in struct/c
closes PR 13054
closes PR 13461
related to PR 13050
2013-02-16 17:24:11 -06:00
Matthew Flatt
23d0627acc
scribble: improve HTML handling of 'unnumbered and 'toc-hidden
...
A part with style property 'toc-hidden no longer
hides child sections, which makes it consistent with Latex/PDF
rendering.
A part with style 'grouper and 'unnumbered does not make its
child parts render as more nested, which is consistent with
'gruper without 'unnumbered. An unnumbered grouper is represented
as "" in a section-number list (while #f is still used for
unnumbered non-grouper layers).
2013-02-15 20:11:18 -07:00
Matthew Flatt
80a22493bd
doc clarification
2013-02-15 16:02:53 -07:00
Michael Filonenko
840fc9c657
full unboxing for extflonums, plus `ffi/unsafe' support
...
Includes a repair for floating-point `min' and `max' that affects all
x86 builds that use SSE arithmetic, leaving the (otherwise unused)
floating-point stack in a bad state, which might have affected
x87-using C/foreign libraries running alongside Racket.
2013-02-15 12:15:34 -07:00
Matthew Flatt
b22ac3b990
compiler/cm-accompice: log to a logger named 'cm-accomplice
2013-02-14 19:47:40 -07:00
Matthew Flatt
6c49aee3a6
doc: add some links
2013-02-14 17:30:10 -07:00
Asumu Takikawa
471a1e1ee6
Refactor documentation of pen%, font%, brush%
2013-02-14 18:22:48 -05:00
Asumu Takikawa
bf4e69fea9
Export racket/draw's helper contracts and document them
2013-02-14 18:22:48 -05:00
Matthew Flatt
3cd4ee1c0d
ffi/unsafe: allow multiple values for a `(_fun ... -> _racket)' result
...
Closes PR 13496
2013-02-14 15:45:26 -07:00
Matthew Flatt
421cb24138
add `port-counts-lines?'
2013-02-14 15:45:26 -07:00
Tobias Hammer
7e2b443fa9
Support for multiple value return from wrap-evt and handle-evt
...
wrap/handle-evt that receives multiple values must have a handler function with adequate arity.
struct.c:
change contract for wrap/handle-evt from (any/c -> any) to procedure?
thread.c:
adjust sync processing
sync.rktl:
add test for handle-evt, wrap-evt and prop:evt
2013-02-14 15:45:26 -07:00
Danny Yoo
9ed78f2752
Include zero-width-space in string-normalize.
...
Closes PR 12683.
2013-02-14 13:24:31 -07:00
Robby Findler
4494788017
fix rendering of example in Guide
...
closes PR 13517
2013-02-13 07:25:36 -06:00
Matthew Flatt
5c896395cd
racket/gui: fix some contracts in docs
2013-02-12 14:17:57 -07:00
Eli Barzilay
49ab87eadc
"PLT Scheme Inc" -> "PLT Design Inc"
2013-02-12 08:06:30 -05:00
Danny Yoo
b9d1194225
Correct hyperlinks to 2htdp/image.
2013-02-11 08:43:43 -07:00
Robby Findler
1420ce4ed2
clarify colorer docs
...
Also, some cleanups of the code and
make the syntax-color/ library docs
point to color:text<%> instead of
color:text% (as the interesting information
is attached to the interface, not the class)
2013-02-10 10:30:28 -06:00
Danny Yoo
c19b8a4f7c
Correct the contract in Example 3 to use and/c.
...
Closes PR 13486.
2013-02-08 14:05:46 -07:00
Matthew Flatt
d0cfc34a77
racket/gui/base: fix menu-bar%'
get-frame' to return 'root
...
Return 'root istead of exposing the (hidden) root frame for
a menu bar that is shown when no frames are visible.
2013-02-05 11:44:38 +01:00
Matthew Flatt
660fc4d7b3
racket/gui: add doc cross-reference
2013-02-05 11:44:38 +01:00
Matthew Flatt
573924e3ac
fix doc typo
...
Closes PR 13483
2013-02-02 19:41:59 -08:00
Matthew Flatt
1995b2ffd5
fix doc mistake
...
Closes PR 13482
2013-02-02 19:41:59 -08:00
Matthew Flatt
4c98570fb6
reference: fix typo and terminology for `with-continuation-mark'
...
Closes PR 13478
2013-02-02 05:58:42 -08:00
Matthew Flatt
404e884cd5
racket/gui: doc clarifications on refreshes and edit sequences
2013-02-01 18:23:29 -08:00
Matthew Flatt
0583616dd7
racket/date: change current-date', add
date*->seconds'
2013-02-01 15:00:24 -08:00
Matthew Flatt
318c45a772
Scribble: fix docs on Latex commands for parts and part references
2013-02-01 11:00:14 -08:00
Matthew Flatt
09d4aa3d79
Scribble: add scribble/book' and
scribble/report' languages
...
These languages set the default class for Latex rendering, and also
adjust Latex commands so that top-level sections are chapters, etc.
2013-02-01 10:15:53 -08:00
Matthew Flatt
c0c2eda628
Scribble: add 'grouper and 'hidden-number part style properties
...
Also, clean up documentation and implementation of 'unnumbered and
'hidden.
2013-02-01 10:15:53 -08:00
Matthew Flatt
6f99bfb801
More: clarify how to use DrRacket instead of plain `racket'
2013-01-31 15:37:36 -08:00
Danny Yoo
74a0252b24
Fix typo.
2013-01-31 14:27:22 -07:00
Robby Findler
afb61944db
bring back the syncheck:add-rename-menu method in a way
...
that preserves backwards compatibility for the
drracket/check-syntax library
2013-01-30 20:47:55 -06:00
Robby Findler
f0450d716b
fixes the responsiveness optimization disabled in
...
c8bee5acf7
2013-01-29 19:02:32 -06:00
Michael Filonenko
17b8092641
extflonums
...
An extflonum is like a flonum, but with 80-bit precision and
not a number in the sense of `number?': only operations such as
`extfl+' work on extflonums, and only on platforms where extflonums
can be implemented by hardware without interefering with flonums
(i.e., on platforms where SSE instructions are used for
double-precision floats).
[Patch provided by Michael Filonenko and revised by Matthew.]
The compiler tracks information about bindings that are known to
hold extflonums, but the JIT does not yet exploit this information
to unbox them (except as intermediate results).
2013-01-28 18:17:06 -07:00
chrdimo
7223c503f2
adding docs entry for blame update
2013-01-28 19:36:36 -05:00
Stephen Chang
15d41a787e
add examples for make-struct-info in docs
2013-01-26 14:06:04 -05:00
Matthew Flatt
0742424093
ffi/com: doc correction
2013-01-25 05:08:46 -07:00
Robby Findler
27442fa44c
make contracts slightly more readable for
...
the get-location arguments to make-input-port
and make-output-port
2013-01-24 22:04:47 -06:00
Matthew Flatt
17865bfa84
scribble/latex-properties: add `command-extras'
...
This style property is a way to add to the Latex output that is
ignored for HTML and other output.
2013-01-24 06:43:10 -05:00
Matthew Flatt
21c8ef6e91
doc clarification on readtable procedures
2013-01-24 06:43:10 -05:00
Matthew Flatt
b38036f36d
doc clarification
...
Based on Tobias's text from the PR.
Closes PR 13441
2013-01-24 06:43:10 -05:00
Asumu Takikawa
3ddde6a7e9
Equip parameter/c
with separate in/out contracts
2013-01-23 14:45:59 -05:00
Sam Tobin-Hochstadt
40d2fd65b0
Add OrderedAnd patterns, and use them in ?
patterns.
...
This guarantees that patterns like (? pred pat) will
always check `pred` before matching any of `pat`.
However, `and` patterns are not required to match left-
to-right.
2013-01-22 14:59:41 -05:00
Matthew Flatt
c298062259
racket/match: add doc note on `for-syntax' exports
2013-01-22 09:12:00 +01:00
Matthew Flatt
48e0509381
add `file-truncate'
2013-01-18 11:03:46 -06:00
Matthew Flatt
a605452b0f
minor doc repair
2013-01-18 11:03:46 -06:00
Asumu Takikawa
15a73e2c00
Example for with-handlers
2013-01-18 10:39:36 -05:00
Sam Tobin-Hochstadt
230172cf94
Use syntax-procedure-alias-property
with struct constructor procedures as well.
...
This uses a new `racket/private/procedure-alias` module
which provides the relevant symbol via `protect-out`.
2013-01-14 14:27:33 -05:00
Matthew Flatt
2adf0bdf2e
ffi/unsafe/objc docs: clarification on `import-class'
...
Merge to v5.3.2
2013-01-13 15:33:48 -07:00
Ryan Culpepper
1109e0f86d
fix rounding in ~r, docs
...
Merge to 5.3.2.
2013-01-13 15:52:08 -05:00
Vincent St-Amour
2c8e5f9acb
Move Optimization Coach to PLaneT 2.
2013-01-11 18:40:23 -05:00