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
Ryan Culpepper
44e26d493d
try to make tmp file path shorter (for drdr)
2013-02-16 15:18:55 -05:00
Eli Barzilay
93063be2b7
Remove binary file that was added by mistake.
2013-02-16 13:41:38 -05:00
Eli Barzilay
9e9adeae0c
Consistent capitalization for "GRacket".
2013-02-16 13:41:38 -05:00
Matthew Flatt
83900f0d20
fix up some cross references
2013-02-16 09:49:24 -07:00
Matthew Flatt
9b04aef0f8
fix a problem with `syntax-local-lift-require' at top level
...
The problem was exposed by improved error checking
in the expander to detect references to exports of a module that
is not yet visited, and as triggered by the documentation for
`2htdp/planetcute'.
2013-02-16 09:29:16 -07:00
Matthew Flatt
72c39ca7ff
test fixups
2013-02-16 08:56:21 -07:00
Robby Findler
fbeecdc1aa
add gc log following info to the drr performance monitor
2013-02-16 07:39:33 -06:00
Mike Sperber
5db56e3186
Synch German string constants with latest.
2013-02-16 10:52:42 +01:00
Robby Findler
d5ffb1e3c0
add in the rest of the double barred chars (╬ and company)
...
and adjust the existing ones a little
2013-02-16 00:09:26 -06:00
Robby Findler
1ee765c7e3
fix bad test
2013-02-16 00:09:25 -06:00
Eli Barzilay
f27a48e46f
Commentage.
2013-02-16 00:49:17 -05:00
Matthew Flatt
c8ae8c419a
scribble Latex: support all 2d-cond characters
2013-02-15 21:09:18 -07: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
Matthew Flatt
0c37849f81
racket/gui: fix contract of set-value' in
gauge%'
2013-02-15 16:02:53 -07:00
Asumu Takikawa
9ef9330d4e
Informative error message for raco pkg remove
...
When a user tries to remove a package installed in a
different scope, notify them.
2013-02-15 15:44:31 -05:00
Eli Barzilay
173f2896bd
v5.3.3 installers info
2013-02-15 15:36:31 -05:00
Asumu Takikawa
e7a434559f
Add a missing contract
2013-02-15 15:25:07 -05: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
Robby Findler
93bf0cd663
fix 2d lexer for the case when the #2d expression
...
isn't in the leftmost column
2013-02-15 10:29:34 -06:00
Robby Findler
4df519d8d7
I'm responsible for 2d
2013-02-15 07:47:42 -06:00
Matthew Flatt
655444ada9
racket/snip: contract repairs
2013-02-14 19:49:48 -07:00
Matthew Flatt
6a218e196a
racket/enter: another submodule repair
...
When a submodule is required from the load handler and no such
module is available, the load handler is not supposed to raise
an exception.
2013-02-14 19:47:40 -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
d5c1a75e38
racket/gui cocoa: fix over-eager refresh for 'gl canvas%
2013-02-14 19:47:40 -07:00
Robby Findler
ca8ad3b88b
try to be slightly smarter about invalidating the green region
...
in the line numbers when it moves around
specifically, if the before and after green line are right
next to each other, then put it into a single edit sequence
(which unions the invalidated regions); if not, then we
may be jumping far away, so invalidate the two regions
and redraw them separately
2013-02-14 19:51:08 -06:00
Robby Findler
30ca1f0baf
add syntax coloring for 2d syntax
2013-02-14 19:51:08 -06:00
chrdimo
79b8661e13
restoring the link to unix sockets docs
2013-02-14 20:27:03 -05:00
chrdimo
a4f4773597
docs for option contracts
2013-02-14 19:56:43 -05:00
chrdimo
26726ba26f
tests for option contracts
2013-02-14 19:55:10 -05:00
chrdimo
ee81c98ae9
extending option contracts; now handle procedures, vectors, hashes, struct instances, adding support for invariants for vectors, hashes and struct instances
2013-02-14 19:53:26 -05:00
chrdimo
61e896c8d7
small fix in blame-update and small change in error message for multiple blame labels
2013-02-14 19:50:56 -05:00
Matthew Flatt
a96b093d97
ffi/unsafe: unbreak
2013-02-14 17:30:10 -07:00
Matthew Flatt
ccabbaa36e
fix `current-subprocess-custodian-mode' for a #f argument
2013-02-14 17:30:10 -07:00
Matthew Flatt
6c49aee3a6
doc: add some links
2013-02-14 17:30:10 -07:00
Eric Dobson
5ed26e806b
Make lists with minimum lengths be a subtype of sequences.
2013-02-14 18:24:52 -05:00
Eric Dobson
3c31803c19
Add a simple-Union and Bottom, and have code use them.
...
Requires splitting out the match expanders from base-abbrev.
2013-02-14 18:24:52 -05:00
Eric Dobson
b4beabc977
Make tc-let do unions correctly.
2013-02-14 18:24:52 -05:00
Vincent St-Amour
60959467cf
Fix optimization of unary complex - and /.
2013-02-14 18:24:52 -05:00
Vincent St-Amour
c6029cacf8
Fix optimizations for complex unboxing.
...
Omitted parts were not used properly.
2013-02-14 18:24:52 -05:00
Vincent St-Amour
29a181175f
Improve a number of numeric function types.
...
Closes PR13468.
2013-02-14 18:24:52 -05: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
Asumu Takikawa
ed13e87734
Refactor contracts
2013-02-14 18:22:47 -05:00
Matthew Flatt
dfdc22ea12
doc repair
...
Closes PR 13415
2013-02-14 15:55:07 -07: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
Matthew Flatt
99d5dc95bf
add ackn
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
Ryan Culpepper
1cb6c03488
clean up socket code
2013-02-14 17:19:08 -05:00
Ryan Culpepper
b3afbdd485
added unstable/socket
2013-02-14 17:19:08 -05:00
Ryan Culpepper
7a0b100ce0
tests for unstable/macro-testing
2013-02-14 17:19:08 -05:00
Danny Yoo
9ed78f2752
Include zero-width-space in string-normalize.
...
Closes PR 12683.
2013-02-14 13:24:31 -07:00
Matthew Flatt
f1b4c86519
net/ftp: put temp file for download in directory of destination
2013-02-14 13:03:58 -07:00
Matthew Flatt
294bed209e
macro expander fix
...
Repair 73e07f576b
added an item to a list without incrementing a
counter for the list length, which cause a different element of
the list to be dropped, which could mess up binding resolution in
arbitrarily bad ways.
(Ths bug falls into the "how did this not get exposed earlier?" bin,
although part of the answer is that it requires a combination of
module re-expansion and simplification of syntax objects in the
residual program.)
Closes PR 13428
2013-02-14 07:11:16 -07:00
Ryan Culpepper
fbee1ed9c7
change stxparse tests to use unstable/macro-testing
2013-02-13 16:14:49 -05:00
Ryan Culpepper
1ef3845873
added unstable/macro-testing
2013-02-13 16:14:45 -05:00
Robby Findler
7dff18c385
add for/set and it's varieties to the default prefs
2013-02-13 10:50:06 -06:00
Matthew Flatt
c6eb82524b
fix `syntax-local-module-exports' for submodules in expand mode
2013-02-13 08:28:23 -07:00
Matthew Flatt
8c2c84f74f
fix context for `#%module-begin' form in a submodule
2013-02-13 08:28:22 -07:00
Matthew Flatt
4a0adb6a74
fix syntax-local-submodules' in
expand' mode
2013-02-13 08:28:22 -07:00
Jay McCarthy
6ae2c71ed5
Add raco show -d and showing package deps on failed remove
2013-02-13 07:47:59 -07:00
Robby Findler
4494788017
fix rendering of example in Guide
...
closes PR 13517
2013-02-13 07:25:36 -06:00
Danny Yoo
db0234fb6f
Amend comment.
2013-02-12 20:18:54 -07:00
Danny Yoo
29031f0972
Replace <wbr> and <span class='mywbr'> </span> with zero-width-space.
...
The zero width space is a more robust way to add place to line-wrap,
according to: http://www.quirksmode.org/oddsandends/wbr.html
Closes PR 13305.
2013-02-12 19:50:13 -07:00
Robby Findler
11ca461bf0
covered a missing case in the oc-status state machine
2013-02-12 16:50:34 -06:00
Eric Dobson
67c6d7804d
Add tests for subtyping -poly. Closes PR13510.
2013-02-12 17:07:02 -05:00
Matthew Flatt
7f5b295308
fix problem with the initial continuation prompt
...
(Got it wrong in 2f7d4b5e.)
Closes PR 13494
2013-02-12 14:17:57 -07:00
Matthew Flatt
5c896395cd
racket/gui: fix some contracts in docs
2013-02-12 14:17:57 -07:00
Robby Findler
d1357f2294
avoid a wrapper on callbacks that get stored in a weak table
...
This fixes a bug in DrRacket where by changing the font size
would cause the line numbers to encroach on the space allotted
to the main text of the definitions window (or, if the font size
is getting smaller, make a large gap)
2013-02-12 13:46:20 -06:00
Robby Findler
53853d696a
add increase/decrease font size menu items (ala browsers)
2013-02-12 13:46:19 -06:00
Danny Yoo
61ddb91815
Correct Help Desk Search so it handles keywords and hash-colon-keyword lexemes.
...
Closes PR 13470.
2013-02-12 12:25:11 -07:00
Eli Barzilay
49ab87eadc
"PLT Scheme Inc" -> "PLT Design Inc"
2013-02-12 08:06:30 -05:00
Eli Barzilay
2f4183242e
Some shuffling of text, and a `-wiki' for all wiki links.
2013-02-12 06:45:30 -05:00
Eli Barzilay
4f13b3f1d5
More code therapy.
2013-02-12 04:49:12 -05:00
Eli Barzilay
08174ec5e4
Misc code improvements, help text typo.
2013-02-12 02:34:48 -05:00
Patrick Mahoney
894d7267fb
Changes to move all games to Racket from Mzscheme.
...
Signed-off-by: Patrick Mahoney <paddy.mahoney@gmail.com>
2013-02-12 02:07:43 -05:00
Eli Barzilay
0ded7e4e26
Typo in error message
2013-02-12 01:52:03 -05:00
Robby Findler
89a2ff451e
add long-missing space
2013-02-11 22:08:02 -06:00
Robby Findler
8edd010bec
improve ->'s source location tracking
...
closes PR 13514
2013-02-11 20:37:15 -06:00
Danny Yoo
97005589e4
Add links to the Wiki from the Community page.
2013-02-11 18:42:39 -07:00
Vincent St-Amour
0bccf6b0b0
Forbid singleton types for integers whose type is platform-dependent.
...
Closes PR13501.
2013-02-11 14:30:19 -05:00
Danny Yoo
b9d1194225
Correct hyperlinks to 2htdp/image.
2013-02-11 08:43:43 -07:00
Jay McCarthy
2e7f4ba54a
Allowing github URLs from PNRs to use illegal package names
2013-02-11 06:10:58 -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
Matthew Flatt
2fc7cad446
racket/enter: fix for `enter!' related to submodules
...
The load handler didn't obey the protocol with respect to a second
argument that is a list starting with #f.
Closes PR 13096
2013-02-10 05:57:25 -07:00
Danny Yoo
f1e7051652
Override readline's getc function to use Racket's read-byte.
...
Eliminates the busy-polling behavior observed in Mac OS X when
xrepl is required at the regular repl.
Closes PR 13350.
2013-02-10 05:54:52 -07:00
Robby Findler
246939f781
tighten up the checks in the place where the framework receives
...
values from the lexer (for syntax coloring)
2013-02-09 20:42:34 -06:00
Asumu Takikawa
59eb1ad13c
Use up-to-date struct syntax in example
2013-02-09 19:42:21 -05:00
Robby Findler
2c35a98ad8
Adjust keybinding code to fall back from
...
get-active-canvas to get-canvas
Unclear if this is a bug in get-active-canvas or not
closes PR 13507
2013-02-09 14:58:21 -06:00
Robby Findler
5c21ab0e42
try to make the bug report form more robust when the
...
attempt to get the (nonexistent) captcha fails
2013-02-09 11:45:40 -06:00
Robby Findler
916f5d8ede
add a test case
...
related to PR 13505
2013-02-09 11:45:40 -06:00
Matthew Flatt
dd50ac8652
catch module-not-available mimatches earlier
2013-02-08 22:57:37 -06:00
Matthew Flatt
d73ae88220
test case for `for' repair
...
Provided by Ryan to go with a85a71984d
.
2013-02-08 22:57:37 -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
Neil Toronto
670efed007
Increased timeout for matrix tests
2013-02-08 12:18:48 -07:00
Sam Tobin-Hochstadt
4797173e58
Properly unquote in error message.
...
Fixes PR 13505.
2013-02-08 12:30:31 -05:00
J. Ian Johnson
469a69772c
For/product treated like for/sum for special annotation. Also allowed no annotation to be consistent with the docs.
2013-02-08 11:32:21 -05:00
Eric Dobson
40a9794c8f
Add missing pure functions.
2013-02-08 11:19:10 -05:00
Eric Dobson
19241c0979
Make overlap more precise.
2013-02-08 11:19:10 -05:00
Eric Dobson
c2b8671169
Fix :print-type. Closes PR13503.
2013-02-08 11:19:09 -05:00
Jay McCarthy
cd202f5411
Supporting headers and stateless in web-server/test
2013-02-08 07:01:36 -07:00
Robby Findler
995d4a4704
adjust test cases for recent changes to the lexers
2013-02-07 21:25:02 -06:00
Vincent St-Amour
830db3c908
Add extra tests and warning about -PosIntNotFixnum.
2013-02-07 15:19:42 -05:00
Eric Dobson
9030da217b
Make static single flonum checks correct.
...
Closes PR13499.
2013-02-07 15:19:42 -05:00
Asumu Takikawa
9636a70f8b
Add a test for PR 13490
...
The bug itself was already fixed by Eric Dobson
2013-02-07 13:49:50 -05:00
Robby Findler
4b9d43ce00
unbreak plai random mutator tests
2013-02-07 11:16:04 -06:00
Robby Findler
86b1f276eb
tweak raco test output, yet again
2013-02-07 10:16:16 -06:00
Robby Findler
6c93cfea56
move dir-chars.rkt to unstable/2d to unbreak dependencies
2013-02-07 10:16:10 -06:00
Robby Findler
7750cf9800
change raco test's announcements to say "raco test"
2013-02-07 06:58:11 -06:00
Robby Findler
642ef7f136
dont use raco test for encode.rkt (as it expects command-line
...
arguments and doesn't have a test submodule)
2013-02-07 06:56:26 -06:00
Ryan Culpepper
a85a71984d
preserve lexical context, src, etc for sequence syntax expansion
...
The previous version of the code replaced the implicit #%app with
the kernel #%app (ie, #%plain-app), causing sequence functions
that take keyword arguments to fail.
2013-02-06 18:01:59 -05:00
Vincent St-Amour
117c81e2a6
Increase timeout for TR random testing.
2013-02-06 17:28:13 -05:00
Robby Findler
bb216d142c
2d
2013-02-06 15:55:20 -06:00
Matthew Flatt
0aaf6b8086
make raco test' more like
racket'
...
Instad of `(dynamic-require .. #f)', use `(dynamic-require .. 0)', which
has the effect of making compile-time code "available" (see docs) in
case the loaded module uses `eval' on syntax objects that refer to
non-kernel syntax.
2013-02-06 18:09:03 +01:00
Robby Findler
e7e64f4006
a better version of deac3fa2b3
...
This time with test cases, and also without changing the
semantics of unhighlight-range
related to PR 13488
2013-02-05 20:52:35 -06:00
Danny Yoo
c6775cc060
Fix to inflate: treat EOF as a character, as in the C code.
...
closes PR 13489.
In the C code, inflate is allowed to peek at least one character
beyond the extent of a deflated byte sequence. The thread related to
the bug report of PR 13489 documents that deflate can peek beyond EOF.
2013-02-05 17:02:36 -07:00
Danny Yoo
31b66484b3
Add test case to show bug with inflate.
...
related to PR 13489.
2013-02-05 17:02:21 -07:00
Vincent St-Amour
bf2768f2c5
Allow cast in typed/racket/no-check.
2013-02-05 16:57:42 -05:00
Vincent St-Amour
83413e4704
Fix docs for text-based TR optimization logging.
...
Closes PR13493.
2013-02-05 16:57:41 -05:00
Robby Findler
deac3fa2b3
fix a bug in highlight-range exposed by the contour window
...
closes PR 13488
related to PR 13491
2013-02-05 15:38:31 -06:00
Robby Findler
12ebfa2cf4
make #:keywords have different color prefs in DrRacket
...
closes PR 13492
2013-02-05 12:32:48 -06:00
Robby Findler
014abe64c0
Rackety
2013-02-05 12:32:48 -06:00
Robby Findler
76cc599ff9
fix bug in check syntax introduced when adding the
...
new green, mouse-over, which-identifiers-are-the-same bubbles
2013-02-05 12:32:48 -06:00
Robby Findler
405e51bb05
adjust contour to track edit sequences better
...
Specifically when there is no delegate and an edit
sequence is started, track that differently in case
a delegate is set before the edit sequence ends
(in which case we don't want to end the edit
sequence in the delegate since we didn't start it
there)
related to PR 13491
2013-02-05 12:32:48 -06:00
Jay McCarthy
fb915825e9
Allowing PNR to decide which github checksum is used
2013-02-05 07:25:31 -07:00
Jay McCarthy
fa4548f401
Using raco test by default, differently
2013-02-05 07:25:31 -07:00
Jay McCarthy
78a69de14f
Undo this for now
2013-02-05 07:25:31 -07:00
Jay McCarthy
0f6a5195b3
Add login link
2013-02-05 07:25:31 -07:00
Jay McCarthy
7f6d85f734
Use raco test by default
2013-02-05 07:25:31 -07:00
Matthew Flatt
6c58cde2aa
repair for snip% change
...
Fixes a problem with 755377ca82
.
2013-02-05 15:22:29 +01: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
755377ca82
racket/snip: make text snips accomodate height changes via substitution
...
Instead of assumning that the snip's text will match a font's height
metrics, check and remember the actual metrics if its doesn't match,
which accomodates font substitions (e.g., when using #\u2144 under
Windows).
2013-02-05 11:44:38 +01:00
Matthew Flatt
c17c7cd1b0
dc<%>: fix baseline for slow-path non-combined text drawing
...
For example, fix baseline when drawing "a\u2144" with the
default fonr under Windows, where #\u2144 is subtituted from
another font.
2013-02-05 11:44:38 +01:00
Matthew Flatt
442f6eaaae
fix `regexp-match' variants given a long string and an output port
...
... again; commit d194fa6245
turned out to be incomplete.
2013-02-05 11:44:38 +01:00
Robby Findler
2b7c6e32a9
adjust raco test so it test the command-line
...
arguments to the empty vector before running anything
2013-02-04 20:38:34 -06:00
Robby Findler
f749ab1538
minor cleanup
2013-02-04 20:38:26 -06:00
Vincent St-Amour
b42034f98b
Exclude the right zeroes when checking for equality.
2013-02-04 14:32:44 -05:00
Vincent St-Amour
568f401bdc
Don't special case typechecking of =.
...
Its type is more useful than the special typing rule.
2013-02-04 14:32:44 -05:00
Eric Dobson
9e8cc6af3c
Add types for imaginary numbers and fix type of exact? and inexact?.
2013-02-04 14:32:44 -05:00
Vincent St-Amour
ec04467282
Add extra tests for contract generation and float zeroes.
2013-02-04 14:32:44 -05:00
Eric Dobson
e656bdb1c5
Make generated contracts for Floats include NaN.
...
Closes PR13464.
2013-02-04 14:32:44 -05:00
Danny Yoo
ab3c69ceaa
Correct the test case so it executes the error path we want.
2013-02-04 11:24:26 -07:00
Danny Yoo
7146289c34
PR 13471: Add cycle-detection during lex-abbrev expansion to raise appropriate syntax error.
...
Also add test cases for lex-abbrev cycle detection.
2013-02-04 11:24:26 -07:00
Robby Findler
042ec40a7b
adjust class/c to compute projections once, instead of once per
...
use of the resulting contract
2013-02-04 07:13:00 -06:00
Robby Findler
44e91ea961
change printouts from raco test to be slightly more informative
2013-02-03 15:31:40 -06:00
Robby Findler
9fd4698be9
adjust raco test so that it accepts multiple -s arguments on the command-line
...
This is, afaict, a completely backwards compatible way to add this
functionality in the sense that any of the non-error command-line
arguments passed to raco test before still do precisely the same
things
2013-02-03 13:14:55 -06:00
Robby Findler
efb3bf0684
Spelling error
...
Also, Rackety
2013-02-03 13:14:54 -06:00
Robby Findler
ab55d43312
give up on the "find the close paren strategy that doesn't
...
edit the buffer" attempt
In other words, go back to (a rackety version of) the old
implementation of the get-close-paren method
2013-02-03 11:22:46 -06:00
Robby Findler
af61f1b98e
change the default test coverage colors
...
After some consultation with my class this quarter,
it seems clear that the previous defaults and nearby
variations are completely hopeless for colorblind people
(there are at least 3 in this class). So go with the
defaults used in the HtDP languages, which have been
vetted by saidsame 3 people.
2013-02-03 09:25:24 -06:00
Robby Findler
9c3afd455a
fix find-seconds error reporting to say "find-seconds" instead
...
of "find-secs"
2013-02-03 07:29:07 -06: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
Robby Findler
25f92f8e9e
fix a problem with the way that check syntax's interval map
...
tracks information about the program
2013-02-02 19:35:09 -06:00
Sam Tobin-Hochstadt
2e8ffe7400
Fix sequence-lift
for multiple valued sequences.
...
Also minor fixups of the rest of `unstable/sequence`.
2013-02-02 18:16:35 -05:00
Robby Findler
8aa3e1d473
another close-paren insertion repair
...
(this one causes runtime errors, not
bad behavior)
2013-02-02 09:10:17 -06: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
Robby Findler
a90434b080
avoid a deadlock introduced in recent identifier highlighting commit
2013-02-01 19:17:51 -06:00
Matthew Flatt
0583616dd7
racket/date: change current-date', add
date*->seconds'
2013-02-01 15:00:24 -08:00
Matthew Flatt
f8c7a79b36
fix `raco link' test
2013-02-01 15:00:23 -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
Eli Barzilay
86bff2fa13
v5.3.2 installers info
2013-01-31 22:56:35 -05:00
Robby Findler
8aadc03719
more close paren adjustment repairs
2013-01-31 21:11:11 -06: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
219f9dc358
fix close paren correction code
2013-01-31 15:07:20 -06:00
Robby Findler
9d10a33e43
make the online check syntax error message font
...
size match the user's preferred font size
(useful in a classroom / talk setting)
2013-01-31 11:23:21 -06:00
Robby Findler
74c97cfc90
Rackety
2013-01-31 11:23:20 -06:00
Robby Findler
a3cde5fb42
adjust check syntax so it highlights all identifiers with the same
...
binding site (with a green/yellow bubble) when the mouse moves over
any one of them
This change comes about because of the recent fixes to the
interactivity wrt to the rename menu. Basically, in order to fix the
bug (but still preserve the interactivity optimization), check syntax
changed from sending the information "here is a place to offer a
rename for these identifiers" to "here is a set of identifiers that
are all free-identifier=?" (the difference being that the latter does
not imply you got them all (which enables the optimization) and that
the information is slightly less rename-menu specific (which enables
the change in this commit))
2013-01-31 10:58:04 -06:00
Robby Findler
b4ec1de386
unbreak drr
2013-01-30 21:48:22 -06:00
Robby Findler
f9f6c4c3a1
fix some bugs in union-find
...
(thanks to random testing)
2013-01-30 20:47:55 -06: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
dc4a74ddf3
fix bug in commit 4c4161ce2b
2013-01-30 15:11:28 -06:00
Matthew Flatt
6f2ff6af49
web page: videos link and other small changes
2013-01-30 11:11:07 -07:00
Robby Findler
4c4161ce2b
guard a call to invalidate-bitmap-cache in
...
check syntax so it only happens when something
would draw differently
2013-01-30 11:54:47 -06:00
Robby Findler
5a55f64444
fix the random property; sadly still doesn't find the bug Danny found
2013-01-29 19:24:54 -06:00
Robby Findler
8013ccf60e
improvements to union find suggested by Sam and Danny
2013-01-29 19:02:57 -06:00
Robby Findler
f0450d716b
fixes the responsiveness optimization disabled in
...
c8bee5acf7
2013-01-29 19:02:32 -06:00
Robby Findler
33747ec9ab
added union-find to the data collection
2013-01-29 15:48:41 -06:00
Vincent St-Amour
5efaa004f0
Fix test for invalid fixnum quotient optimization.
...
The test depended on fixnum width, which is not portable.
2013-01-29 16:15:00 -05:00
Vincent St-Amour
0bc60a77c8
Improve type of exact? and exact->inexact.
...
Adapted from a pull request by Eric Dobson.
2013-01-29 12:35:29 -05:00
Vincent St-Amour
32b3dfc528
Fix type of quotient on fixnums.
...
Closes PR13466.
2013-01-29 12:35:29 -05:00
Robby Findler
32529d89c0
adjust randomized racket machine tests to print to
...
stderr on failure and to not print anything on success
2013-01-29 06:57:07 -06:00
Matthew Flatt
28493dcc88
repairs to extflonum changes
2013-01-29 05:53:30 -07:00
Eric Dobson
10655a8373
Fix syntax/c. Closes PR13447.
2013-01-29 06:34:51 -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
Neil Toronto
aed3b39546
Added flexp2',
fllog2', `fllogb'; refactored and documented flonum testing
...
Note: With this refactoring, `math/utils' no longer depends on `rackunit'.
* (flexp2 x) computes (flexpt 2.0 x) but in about 1/3 the time for integer
`x' using a lookup table. Written for exact argument reduction in `fllog2'
after discovering that (flexpt 2.0 x) was the main performance bottleneck.
* (fllog2 x) computes (/ (fllog x) (fllog 2.0)) with near perfect accuracy.
Invented an algorithm to compute it with at least 8 extra bits before
final rounding; quite pleased with the result. Needed `fllog2' to ensure
(fllogb 2.0 x) would be exact when `x' is a power of two.
* (fllogb b x) computes (/ (fllog x) (fllog b)) with better accuracy, and
also handles limit values in a way that's consistent with the mathematical
limits. When those are ambiguous, it's consistent with `flexpt', which
follows IEEE 754 and C99. Otherwise returns +nan.0. See docs for details.
* `bflogb' is currently just for testing `fllogb'.
* Refactored FPU testing and documented it. So far, the only documented way
to do it is by calling `test-floating-point', which runs a comprehensive
deterministic+randomized suite of tests and returns a list representing
failed tests. I'll document individual tests after I document flonum
expansions and result/error functions like `fl+/error'.
* Added `fllog2' and `fllogb' to the flonum tests.
2013-01-28 17:44:33 -07:00
chrdimo
e0a7329d86
Merge branch 'master' of pltgit:plt
2013-01-28 19:36:45 -05:00
chrdimo
7223c503f2
adding docs entry for blame update
2013-01-28 19:36:36 -05:00
chrdimo
b00810360b
fixing backwards compatibility problems for blame-positive and blame-negative
2013-01-28 16:56:32 -05:00
chrdimo
5348a4d2de
fixing docs and tests for maybe/c (old option/c)
2013-01-28 16:55:33 -05:00
Eric Dobson
3c02bb1abb
Type check with expected type when checking recursive loops.
...
Closes PR12678.
2013-01-28 16:03:01 -05:00
Eric Dobson
13ff5883fe
Do not update subtype and resolve caches when subtyping.
...
Closes PR13412.
2013-01-28 15:35:56 -05:00
Robby Findler
c8bee5acf7
disable a broken responsiveness optimization
2013-01-28 10:30:46 -06:00
chrdimo
5808b0c4a0
adding option contracts in unstable
2013-01-28 01:09:05 -05:00