Ryan Culpepper
8f2fe7a5aa
db: updated note about sqlite3.dll
...
merge to 5.2
2011-10-16 05:41:53 -06:00
Ryan Culpepper
81fa15e27b
updated documentation for syntax/trusted-xforms
...
closes PR 12269
merge to 5.2
2011-10-16 02:40:41 -06:00
Ryan Culpepper
1695d73f5b
rackunit: fixed test
...
merge to 5.2
2011-10-16 02:40:41 -06:00
Ryan Culpepper
18b3899e6a
rackunit: fix tests
...
merge to 5.2
2011-10-16 02:40:41 -06:00
Robby Findler
9ab6a93127
fix the error check
...
closes PR 12290
2011-10-15 14:00:16 -05:00
Matthew Flatt
d4f7020cd2
add cross-reference between data and read/print descriptions
...
Closes PR 11096
2011-10-15 07:20:33 -07:00
Matthew Flatt
2a39a098a6
fix docs on reading characters
...
Closes PR 11102
2011-10-15 07:20:33 -07:00
Matthew Flatt
eba0ca2d4d
add cross-ref from reference to guide on places
2011-10-15 07:20:33 -07:00
Matthew Flatt
e55e0a5e4a
reader doc fixes
...
Closes PR 11086
2011-10-15 07:20:33 -07:00
Mike Sperber
2db0791e27
Synch German string constants with latest.
2011-10-15 14:28:22 +02:00
Neil Toronto
7270c27141
Fixed x/y mixup in 'axes'
...
Removed 'plot-tick-skip' parameter
Merge into 5.2
2011-10-14 22:06:15 -06:00
Robby Findler
db2e13a09b
add a "Step Until Choice" option into the redex stepper
2011-10-14 13:37:12 -05:00
Neil Toronto
522ba14b9f
Rename plot3d-animating? -> plot->animating?
...
Combine plot-ps-interactive? and plot-pdf-interactive? into plot-ps/pdf-interactive?
Rename plot3d-ambient-light-value -> plot3d-ambient-light
Fix off-by-one 2D plot area clipping
Add warning to docs about 'fit' disappearing
Stop providing 'fit', 'derivative', 'gradient' and 'make-vec' from the 'plot' module
Merge into 5.2
2011-10-13 16:16:02 -06:00
Matthew Flatt
6d608e392c
add missing test for text% tab fix
...
Merge to 5.2
2011-10-13 06:03:10 -06:00
Matthew Flatt
5fb2f56fdf
fix tab problem in text%
...
Merge to 5.2
2011-10-13 05:57:29 -06:00
Robby Findler
770c2d14f8
swapped the backwards triangles
2011-10-12 20:46:20 -05:00
Robby Findler
a43973157b
add call to 'test-results'
2011-10-12 20:46:20 -05:00
Matthias Felleisen
8cdbd3285b
document unexpected mouse event reporting; Closes PR 12278
2011-10-12 09:37:03 -04:00
Matthew Flatt
8c2dc5ccb7
parallel `raco setup': print "running" before insead of after
...
That is, before actually running the document, so that the
"running" message is a useful indicator of what is happening
now.
2011-10-11 17:17:58 -06:00
Matthew Flatt
f2082e6eeb
fix framework doc reference to `set-icon' method
...
Merge to 5.2
2011-10-11 17:17:58 -06:00
Matthew Flatt
c74bce598b
fix Ctl-C problems in parallel `raco setup'
...
The main problem was that when a place catches an exception,
it would continue in breaks-disabled mode. Also improve
`parallel-do' to detects additional breaks when waiting on
places and propagate them, in case a place was running something
that ate the initial break.
2011-10-11 15:54:22 -06:00
Matthew Flatt
5c0956d7b1
more memory accounting fixes for places
...
Fix memory accounting to detect when messages pile up in a
place channel and when shared values (such as the result of
`make-shared-bytes') pile up. Also fix problems where a GC
or free-page purge needs to be triggered.
The implementation causes a minor API change, which is that
a place channel sent multiple times as a message generates
values that are `equal?' but no longer eq?'.
Closes PR 12273
[Do not merge to 5.2]
2011-10-11 11:26:11 -06:00
Robby Findler
4d00b13ce0
adjust the autosave gui so that closing the window doesn't cause drracket to
...
exit (this only happened on non-mac os x platforms)
include in 5.2
2011-10-11 10:44:00 -05:00
Robby Findler
95e29376fd
error message typo
...
include in 5.2
2011-10-11 10:43:37 -05:00
Robby Findler
10d19bf8d5
adjust 2htdp/image library so that it doesn't create arbitrarily large
...
bitmaps when rendering images
closes PR 12277 (except I didn't fix the make-bitmap contract)
include in 5.2
2011-10-11 08:33:50 -05:00
Matthew Flatt
32b5390ad2
add missing GC registration for places
...
Merge to 5.2
2011-10-11 06:45:14 -06:00
Matthew Flatt
dc912ee6de
third attempt to fix 64-bit Lion hidden-window problem
...
After all the previous attempts, the problem seems almost trivial:
although Apple documents `NSAnyEventMask' as the constant #xFFFFFFFF,
it's actually NSUIntegerMax (and the difference matters in 64-bit
mode).
Merge to 5.2.
2011-10-10 15:48:30 -06:00
Matthew Flatt
9fd11ac92c
Revert "another attempt to fix the 64-bit Lion hidden-window problem"
...
This reverts commit f6e5468dbb
.
Merge to 5.2
2011-10-10 15:38:42 -06:00
Matthew Flatt
5724aa1d1b
doc clarifications
...
Merge to 5.2
2011-10-10 14:45:53 -06:00
Matthew Flatt
6aaa0d44c0
fix argument-error report
...
Merge to 5.2
2011-10-10 14:18:40 -06:00
Neil Toronto
a0e2401cbe
Fixed error: attempt to divide by (void) when axis bounds' length is a multiple of 1000
...
Please merge into 5.2
2011-10-10 13:28:36 -06:00
Robby Findler
90304687f1
improve the strategy for check syntax's tail arrow information collection
...
In particular, instead of trying to collect all of the arrows and do some kind
of a smart transitive closure (that tries to avoid adding links that would "skip"
expressions but doesn't always manage it), the new code tries instead to build
the right links directly while traversing the fully expanded expression
This also seems to have been a minor performance improvement. When running the
information collection phase of check syntax (ie, not counting the time for
expansion) on a 1.8 GHz core i7, for collects/framework/private/text.rkt,
the times went from:
cpu time: 7347 real time: 7413 gc time: 211
cpu time: 7328 real time: 7393 gc time: 239
cpu time: 7356 real time: 7418 gc time: 240
to:
cpu time: 7562 real time: 7632 gc time: 265
cpu time: 7555 real time: 7618 gc time: 269
cpu time: 7552 real time: 7617 gc time: 262
closes PR 11835
do not include in 5.2
2011-10-10 14:18:01 -05:00
Robby Findler
fa98274aed
add a checkbox to the 'evaluation terminated' dialog to avoid seeing that dialog
...
closes PR 6575
don't include in 5.2
2011-10-10 14:18:01 -05:00
Eli Barzilay
ca64179b63
"half-screen" -> "right-half-screen".
...
(I don't know why this was needed, but calling it "half-screen" looks
like it's asking for future trouble.)
2011-10-10 13:35:00 -04:00
Eli Barzilay
e9db4df6c3
Clearer question about running an existing uninstaller.
2011-10-10 13:30:04 -04:00
Eli Barzilay
de40798d49
Rename "$WHERE1" -> "$BASE".
2011-10-10 13:30:03 -04:00
Kevin Tew
abc0af81d2
Slideshow --half-screen
2011-10-10 11:07:29 -06:00
Rodolfo Carvalho
a3890f7e32
Fix typo in Slideshow documentation
2011-10-10 11:49:24 -04:00
Jay McCarthy
b20ffdbe95
Fixing breakage from push 23693
2011-10-10 08:27:34 -06:00
Jay McCarthy
354283132d
Fixing PR 12271
2011-10-10 06:45:42 -06:00
Matthew Flatt
c805728d3e
fix compiler confusion: non-mutating vs reorderable unsafe ops
...
Reordering `unsafe-vector-ref' past an `unsafe-vector-set!' was
particularly bad. Meanwhile, some non-mutating operations like
`unsafe-mcar' were treated too conservatively.
Merge to 5.2
2011-10-09 19:46:24 -06:00
Matthew Flatt
b377cafdac
mark OS jmpbuf as GC-ignored
...
This change is intended to make the QNX port work, but it
should also future-proof Racket a little for other platforms.
2011-10-09 10:45:24 -06:00
Matthew Flatt
8f0fa96d69
docs and release notes for `set-icon' change
...
Merge to 5.2
2011-10-09 09:45:42 -06:00
Sam Tobin-Hochstadt
1b69d742bd
Change basic-top-level-window% to support `set-icon', and use to set icon for splash screen.
...
Closes 12241
Merge to 5.2
2011-10-09 09:43:32 -06:00
Matthew Flatt
8bd81f4806
fix ffi retain of callbacks
...
The FFI's weak table of callback procedures (to map Racket procedures
to FFI callback objects) suffered from the classic key-in-value
problem.
Closes PR 12228, probably
Merge to 5.2
2011-10-09 09:01:15 -06:00
Mike Sperber
334bf53bb9
Synch German string constants with latest.
2011-10-09 15:21:00 +02:00
Matthew Flatt
bf3f09a3c1
cocoa: fix `show #f' on already unshown frame shows it briefly
...
Merge to 5.2
2011-10-08 16:47:19 -06:00
Matthew Flatt
1bc80310e3
fix compiler bug that could cause infinite inlining loop
...
The bug was that a procedure could be incorrectly marked as
a "leaf" procedure, which could in turn cause the compiler
to keep inlining a very small procedure that calls itself.
Closes PR 12270
Merge to 5.2
2011-10-08 16:40:34 -06:00
Robby Findler
5db48b3e73
avoid calling the show method for tooltips unless the frame is shown.
...
please include in 5.2
2011-10-08 16:50:21 -05:00
Stephen Chang
79dd7df945
fix lazy stepper bug: annota of non-identifier fns
...
- fix lazy stepper bug where delaying of non-identifier fns
wasnt being properly hidden
- add test case for this bug
include in 5.2
2011-10-08 15:59:32 -04:00
Robby Findler
fcc720f43e
adjust uses of after-load-file to use the success? flag
2011-10-08 10:50:27 -05:00
Matthew Flatt
ed38297c97
editor<%> doc fixes
2011-10-08 09:12:31 -06:00
Matthew Flatt
379991c5bb
fix text% `get-paragraph-{start,end}-position' bug and doc bugs
...
Merge to 5.2
2011-10-08 09:12:30 -06:00
Robby Findler
d362bda6d3
adjust the way languages are chosen when opening a file.
...
Specifically, in the case that we're inheriting a language setting
from some earlier preference or something and the language we're
inheriting is one that saves prefixes, and the current file being
opened does not match any of the possible prefixes, then revert
to the not-a-language language, instead of using the value from
the preference
Also: finish the removal of the EoPL language level from the
DrRacket langauge dialog, and clean up the 'get guidance' dialog
Please cherrypick this commit to the 5.2 release branch
2011-10-08 09:46:06 -05:00
Matthew Flatt
41b18e3608
windows: add sqlite3.dll
...
Merge to 5.2
2011-10-08 07:18:49 -06:00
Robby Findler
1eaf53d4cb
adjust the module lexer so that it treats the entire range that
...
'read-language' uses as a single token in the case that read-language
fails. This helps it to deal with things like s-exp and at-exp
properly
closes PR 12260
2011-10-08 08:08:36 -05:00
Matthew Flatt
f6e5468dbb
another attempt to fix the 64-bit Lion hidden-window problem
...
This fix uses the same`run'-vs-`finishLaunch' technique as before,
but patches up the modal-dialog problem by calling `run' again
with a callback to start a modal loop.
Merge to 5.2.
2011-10-08 06:12:17 -06:00
Eli Barzilay
7d1b00ff69
Typo in error message detection
2011-10-08 03:02:20 -04:00
Ryan Culpepper
192e039e66
fix docs (eval) for syntax/keyword
2011-10-07 19:40:48 -06:00
Ryan Culpepper
a1009bbf26
syntax/parse: add begin-for-syntax to kernel-literals
2011-10-07 19:40:48 -06:00
Ryan Culpepper
a100395626
rackunit: prevent test case from killing test-runner thread
...
closes PR 11586
2011-10-07 19:40:48 -06:00
Ryan Culpepper
528c05b228
emphasize syntax/id-table over syntax/boundmap
2011-10-07 19:40:48 -06:00
Ryan Culpepper
00c6f91e7c
db: fix use of lazy-require
2011-10-07 19:40:48 -06:00
Ryan Culpepper
f7a6c4a3b6
rackunit: all checks return void
...
closes PR 12001
2011-10-07 19:40:48 -06:00
Ryan Culpepper
e72b9cc3fd
macro-debugger: removed simplify-marks
...
closes PR 12248
2011-10-07 19:40:48 -06:00
Ryan Culpepper
d3cb67b756
syntax/parse: fixed docs
...
closes PR 12255
2011-10-07 19:40:48 -06:00
Neil Toronto
a07af20658
Fixed >=/c contracts
2011-10-07 19:22:33 -06:00
Neil Toronto
c655cd0efb
Contract and parameter doc pages
2011-10-07 19:09:04 -06:00
Neil Toronto
50cf71466e
Reduced the number of plot-specific contracts
2011-10-07 18:05:54 -06:00
Neil Toronto
644abe30fe
Reworked number formatting for plot labels
2011-10-07 17:29:27 -06:00
Matthew Flatt
9aa93ab5ae
Revert "cocoa: change the way the app is initialied"
...
This reverts commit 60101618db
.
While this changes fixes a 64-bit Lion problem, it creates a
worse problem of breaking file and print dialogs.
2011-10-07 15:25:31 -06:00
Neil Toronto
8a60e1816a
Fixed contracts in documentation
2011-10-07 13:09:27 -06:00
Robby Findler
7aa6153da1
adjust the calls to paragraph-{start,end}-position to specify the default argument
2011-10-07 14:02:27 -05:00
Robby Findler
2339046554
shrink some long lines
2011-10-07 11:48:39 -05:00
Robby Findler
93c1d1dd36
add a 'find longest line' menu item to the edit menu
2011-10-07 11:48:39 -05:00
Robby Findler
e7197c4129
fix tooltip placement in online check syntax (only affects mac os x)
2011-10-07 11:48:24 -05:00
Robby Findler
a40f288e48
relaxed the restrictions on planet requires in the teaching languages to allow the new forms
2011-10-07 11:48:24 -05:00
Robby Findler
57deb86f7b
don't invalidate the error ranges for online check syntax when there is no admin
...
I believe that this can go wrong in the case that you edit a buffer and switch tabs
before drracket fully finishes responding to the edited buffer (due to a queue-callback
that postpones some of the response to editing the buffer) for online expansion.
At least, this is how I guess that the error below happened:
send: target is not an object: #f for method: get-view
=== context ===
/Users/robby/git/exp/plt/collects/racket/private/class-internal.rkt:4602:0: obj-error
/Users/robby/git/exp/plt/collects/drracket/private/module-language.rkt:1485:6: get-box method in .../module-language.rkt:1151:4
/Users/robby/git/exp/plt/collects/drracket/private/module-language.rkt:1397:6: invalidate-online-error-ranges method in .../module-language.rkt:1151:4
/Users/robby/git/exp/plt/collects/drracket/private/module-language.rkt:1387:6: clear-old-error method in .../module-language.rkt:1151:4
/Users/robby/git/exp/plt/collects/drracket/private/module-language.rkt:1177:6: buffer-modified method in .../module-language.rkt:1151:4
/Users/robby/git/exp/plt/collects/mred/private/wx/common/timer.rkt:34:38
/Users/robby/git/exp/plt/collects/mred/private/wx/common/queue.rkt:432:6
/Users/robby/git/exp/plt/collects/mred/private/wx/common/queue.rkt:472:32
/Users/robby/git/exp/plt/collects/mred/private/wx/common/queue.rkt:618:3
2011-10-07 11:48:24 -05:00
Matthew Flatt
b6a9330bf1
more `raco exe' cycle repairs
2011-10-07 10:32:49 -06:00
Matthew Flatt
f02ea92250
fix compiler bug related to `#%variable-reference' on local
...
The first compiler pass didn't properly shift the stack offset
when adjusting the context of a varref of a local.
Closes PR 12258
2011-10-07 09:42:33 -06:00
Eli Barzilay
f5230d858f
Catch tcp failures in the http verification.
2011-10-07 11:05:15 -04:00
Eli Barzilay
a68ea14d8b
Fix typo in symbol name, keep old one still.
...
Closes PR 12265.
2011-10-07 10:47:15 -04:00
Matthew Flatt
add50ab436
cocoa: undo hack of "-64" suffix on app names
...
Commit 60101618db
seems to address the real problem.
2011-10-07 08:05:25 -06:00
Matthew Flatt
60101618db
cocoa: change the way the app is initialied
...
Calling NSApplication's `run' works better than calling `finishLaunching'
directly, particularly in 64-bit Lion for some reason.
Relevant to PR 12102
Relevant to PR 12257
2011-10-07 08:05:15 -06:00
Neil Toronto
94a9a808ec
Closes PR 12262.
2011-10-06 19:02:31 -06:00
Neil Toronto
55f71c9fa7
Finished doc page for plot/utils
2011-10-06 19:02:31 -06:00
Sam Tobin-Hochstadt
9cc2c441ee
Add note on `match' semantics.
2011-10-06 18:32:05 -04:00
Sam Tobin-Hochstadt
463a34ec90
Revert "Fixing racket/match by removing errorneous optimization with test that shows it is broken"
...
This reverts commit 41307f1346
.
2011-10-06 18:32:05 -04:00
Sam Tobin-Hochstadt
1d9ac41772
Use unsafe-vector* instead of unsafe-vector in a few benchmarks.
2011-10-06 18:17:45 -04:00
Rodolfo Carvalho
412201796a
Fix typo in the documentation.
...
Affected section:
The Racket Guide > 17 Creating Languages
> 17.3 Defining new #lang Languages > 17.3.2 Using #lang reader
2011-10-06 17:08:22 -04:00
Neil Toronto
967fa41ad5
Merge branch 'master' of pltgit:plt
2011-10-06 14:05:14 -06:00
Neil Toronto
45dfafb0b1
Finished 3D renderer doc page
2011-10-06 14:04:51 -06:00
Neil Toronto
b5f30fd5de
Finished 2D renderer doc page
2011-10-06 13:23:49 -06:00
Eli Barzilay
de01db7bf1
Adapt front page example for the new plot.
2011-10-06 15:07:21 -04:00
Neil Toronto
ce68c697fc
Added plot-background-alpha and plot-foreground-alpha
2011-10-06 11:26:13 -06:00
Robby Findler
5829673215
adjust the scheme-lexer test suite so that it complains to stderr to fit
...
with drdr
also change two of the failing tests so they pass, but incorrectly and
add a note there to that effect so if someone does fix that eventually
they won't be confused (I hope)
2011-10-06 12:00:23 -05:00
Vincent St-Amour
f220ddc8ac
Doc typo.
2011-10-06 10:37:36 -04:00
Matthew Flatt
0f5b53d349
scribble: fix Latex renderer treatment of table cell/column styles
...
The renderer was using symbol style names as command names, but only
strings should be treated that way.
2011-10-06 07:47:38 -06:00
Matthew Flatt
79a6981684
update docs related to embedding and changes due to futures/places
2011-10-06 07:36:17 -06:00
Neil Toronto
8ae5b8c1f3
Added "Porting" section to the PLoT docs
2011-10-05 22:30:27 -06:00
Neil Toronto
cd98c4ac89
Changed 'points' contract on vecs to (listof (vector/c real? real?))
2011-10-05 20:57:24 -06:00
Matthew Flatt
7680adf486
fix compiler bug related to lifting and unbox flonums
...
As variables are dropped for lifted functions, the bitmap
for flonum closure variables was not shifted down by the
number of dropped variables.
Closes PR 12259
2011-10-05 19:25:59 -06:00
Neil Toronto
58fbc20294
Comment out 'fit' tests that randomly fail
2011-10-05 18:39:30 -06:00
Neil Toronto
11bb172acc
Merge branch 'master' of pltgit:plt
2011-10-05 18:04:48 -06:00
Neil Toronto
20987fc320
Added plot-pict and plot3d-pict for slideshow plots
...
Added x, y, width, height arguments to plot/dc and plot3d/dc
2011-10-05 18:04:11 -06:00
Jay McCarthy
41307f1346
Fixing racket/match by removing errorneous optimization with test that shows it is broken
2011-10-05 16:29:16 -06:00
Jay McCarthy
9036e9ec61
Fixing slight error when a file fails to test properly
2011-10-05 16:29:16 -06:00
Neil Toronto
c9ffe2830b
Changed uses of dynamic-require to uses of lazy-require
...
Changed return contracts of 'plot', 'plot-snip', 'plot3d' and 'plot3d-snip' to (is-a?/c image-snip%)
2011-10-05 14:31:13 -06:00
Robby Findler
d5e28ced91
fix documented contract to match actual function
2011-10-05 15:13:54 -05:00
Neil Toronto
35ef2ade0c
Keep DrDr from running (and timing out on) the slideshow-test.rkt
2011-10-05 13:27:33 -06:00
Neil Toronto
32d789d4f8
Make most of 'plot' still function without libfit (all but 'fit')
2011-10-05 13:11:04 -06:00
Neil Toronto
06bbcfd8f6
Turned off deprecation warnings in compat-tests.rkt so DrDr won't complain about them
2011-10-05 12:50:11 -06:00
Matthew Flatt
e1a82481d1
try to fix dist-specs for libfit
2011-10-05 11:46:15 -06:00
Neil Toronto
d3b5e21cae
Added new plot library and old libfit (which plot still depends on)
2011-10-05 10:26:49 -06:00
Matthew Flatt
ec380e34ed
remove built-in reader and printing support for Honu
...
This is a backward-incompatible change, but I think it's
unlikely that any code depends on the removed bindings
or reader syntax.
2011-10-05 09:40:27 -06:00
Matthew Flatt
fe1909581b
remove `raco exe' plot test
2011-10-05 09:40:27 -06:00
Robby Findler
560dfd5312
Allows selection of the various text objects inside DrRacket's display of
...
syntax objects
closes PR 6121
2011-10-05 08:43:18 -05:00
Matthew Flatt
6a8d3c34f1
win64: avoid msvcr90.dll
...
The libjpeg, libeay, and ssleay libraries for Win64 linked to
msvcr90.dll, because of the way that they were compiled with
MSVC 2008, but msvcr90.dll is not included with Win7, and
redistributing it is problematic. The new variants of the libraries
link instead of msvcrt.dll --- which you're not supposed to do
according to MS, but that's the way libraries like Gtk are
built, and it seems to be the right approach. See also
http://kobyk.wordpress.com/2007/07/20/dynamically-linking-with-msvcrtdll-using-visual-c-2005/
I built libjpeg-8, while the other two are courtesey of
http://www.indyproject.org .
Closes PR 12246
2011-10-05 06:28:31 -06:00
Matthew Flatt
f38e57ff68
add #:get-lib-dirs and #:fail args to `ffi-lib'
...
Not currently used, because an experiment that used the additions
was abandoned, but another use in the future seems likely.
2011-10-05 06:28:30 -06:00
Eli Barzilay
515c8dc6c1
Fix for `make-module-evaluator' with a file.
...
It used to work, but now it fails since when it runs "/foo/bar/baz.rkt"
racket uses 'exists with "/foo/bar". See the comment for the fix that I
used.
2011-10-05 07:20:59 -04:00
Eli Barzilay
e01e46b772
Removed the `plot' collection, in preparation for adding the new one instead.
2011-10-05 04:09:10 -04:00
Robby Findler
9b3f2427d7
make right-click in the space between the definitions and
...
interactions window pop up a menu to let you change from
vertical to horizontal orientation
2011-10-04 16:47:10 -05:00
Matthew Flatt
902ea5f7a5
fix `raco exe' for ELF starter
2011-10-04 12:59:18 -06:00
Matthew Flatt
3941a5d04f
cocoa: make grow-box-spacer zero-width for 10.7
2011-10-04 12:59:18 -06:00
Robby Findler
6fd2e9c1d3
fixed planet docs; closes PR 12178
2011-10-04 12:56:35 -05:00
Robby Findler
63593285fe
fix broken contract error message
2011-10-04 08:19:33 -05:00
Robby Findler
25413a4c05
fix the expansion of beginner-true and beginner-false so
...
they don't throw away source locations.
related to PR 12253
2011-10-03 17:11:54 -05:00
Eli Barzilay
c44d138ed1
Add "build.bat", "rbuildmode.c", and "sgc" from the worksp directory to
...
the windows source distribution.
2011-10-03 15:42:27 -04:00
Robby Findler
eb0165cae8
adjust drracket's "download plt" file functionality to follow redirections
...
closes PR 6675
2011-10-03 13:21:32 -05:00
Robby Findler
11a3d9b0ac
add support for redirections to get-pure-port and add get-pure-port/headers
2011-10-03 13:21:30 -05:00
Robby Findler
1fa6129afc
adjust the "Transfer-Encoding: chunked" code to re-use bytes more
...
agressively
2011-10-03 13:21:29 -05:00
Matthew Flatt
e640041dd6
fix raco exe' for cycles created via
define-runtime-module-path'
2011-10-03 08:59:30 -06:00
Matthew Flatt
a0378d956a
fix place refcount
...
Originally, the refcount was either 0, 1, or 2, so a `char' was
enough. It's not enough now that place channels increment the
refcount.
2011-10-03 06:39:18 -06:00
Stephen Bloch
753dfa3cb2
Fixed error messages, added tests for type errors.
2011-10-02 22:54:34 -04:00
Robby Findler
3bfce02bd6
fix my stupidity
2011-10-02 18:14:55 -05:00
Robby Findler
c455631eb3
fixed another path/string bug in the autosave recovery dialog
2011-10-02 17:19:27 -05:00
Ryan Culpepper
994c1f202c
added functions, docs for show-dependencies
2011-10-02 14:17:07 -06:00
Ryan Culpepper
38d984367e
syntax/parse: fix check-literals code (references to disappearing names)
2011-10-02 14:17:07 -06:00
Robby Findler
951de8cc51
add get-default-percentages to panel:dragable and then add a dragable panel
...
to the debugger
2011-10-02 14:34:28 -05:00
Robby Findler
721cdba2c1
adjst check syntax so that it only clears out style changes when clicking 'Run'
...
(style changes are not applied when running online check syntax)
2011-10-02 10:18:36 -05:00
Robby Findler
7b3e350f84
adjust initial value to be something less likely to cause problems
2011-10-02 08:38:27 -05:00
Mike Sperber
390d9c007d
Synch German string constants with latest.
2011-10-02 13:47:23 +02:00
Robby Findler
57042de4da
add a test case that ensures that the default values of optional arguments
...
are not subject to the argument on the contract
2011-10-01 16:03:28 -05:00
Robby Findler
533b898277
clarify the role of the #:rest portion of the contract
...
closes PR 12244
2011-10-01 15:58:50 -05:00
John Clements
79fbc970aa
minor doc updates
2011-10-01 11:28:37 -07:00
Matthew Flatt
7de96490cf
fix Windows source dist spec
2011-10-01 07:41:58 -06:00
Robby Findler
b71e562284
fix crlf mode initialization
2011-10-01 08:10:25 -05:00
Kevin Tew
e650764a4c
place-channel? returns #t for place descriptors, doc clarification
2011-09-30 17:15:11 -06:00
Kevin Tew
a7b0c33896
QNX porting
2011-09-30 17:03:50 -06:00
Robby Findler
b52086ecae
clarify the use-file-text-mode method.
2011-09-30 17:08:18 -05:00
Robby Findler
4a2757f200
Adjust DrRacket so that it saves files with CRLF
...
line terminators when:
a) running under windows, and
b) the file on the disk (when DrRacket first opens it)
contains all CRLF line endings.
In all other situations, the file is saved with LF terminators.
Before this commit, DrRacket would always use the platform-specific
convention, regardless of the original content of the file.
closes PR 12242
2011-09-30 17:08:07 -05:00
Robby Findler
c63426e92e
add docs for 'enable automatic parentheses' in prefs dialog
2011-09-30 17:08:05 -05:00
Robby Findler
b95b346a4e
adjust various plumbing to get the drracket icon to the startup screen. Only to realize
...
that the startup screen is a dialog% and thus doesn't have set-icon
related to PR 12241
2011-09-30 17:08:03 -05:00
Robby Findler
56effc21f9
adjust the preferences setting for the module language auto-text
...
so that it deals with the trailing newline in a manner consistent
with the way the rest of that code works
2011-09-30 17:08:02 -05:00
Matthew Flatt
4535f5d8cc
fix keyboard navigation (all platforms)
...
Also, fix `set-selection' in `list-box%' to not invoke the
tab panel's callback function (cocoa & gtk).
2011-09-30 13:44:24 -06:00
Sam Tobin-Hochstadt
88c7bf649c
Parallel version of k-nucleotide.
...
2x faster on very big inputs, slower on small inputs.
2011-09-30 11:42:58 -04:00
Eli Barzilay
315060625a
Robby's docs.
2011-09-30 10:51:28 -04:00
Eli Barzilay
093236fea4
Improve code generation in the framework collection.
...
Instead of generating a file for code and one for documentation, do both
via a macro instead. Most of the code is the same (modulo reformatting
in a more modern style), and instead of printing the result to a file,
it just returns it as the result of a macro. (Since this is done in a
naive way, the macro is bad -- it is unhygienic since this is basically
what it did before only through a generated file; it should eventually
be improved to avoid these hacks.)
2011-09-30 10:51:28 -04:00
Eli Barzilay
656de69636
Don't create a page-setup menu item if `file-menu:create-print?' returns #f.
2011-09-30 10:45:43 -04:00
Eli Barzilay
01c859072e
Rename "standard-menus.rkt" -> "standard-menus.rktl".
...
Since it's a file that gets included. This is likely to be temporary,
if I get on with turning the whole thing into a macro.
2011-09-30 10:45:43 -04:00
Ryan Culpepper
a22783f635
syntax/parse: added workaround for racket/runtime-path at phase>0
2011-09-30 04:13:09 -06:00
Ryan Culpepper
54fa605de9
added show-dependencies script
2011-09-30 04:13:09 -06:00
Ryan Culpepper
5befa7320f
syntax/id-table: added uncontracted private version
2011-09-30 04:13:09 -06:00
Ryan Culpepper
323aff1efb
syntax/parse: added syntax/parse/pre
...
No *residual* dependencies on racket/contract/base (the *disappearing*
macro transformers and compile-time support do use contracts, though).
2011-09-30 04:13:09 -06:00
Ryan Culpepper
1c6b8bd68e
syntax/parse: lazily load most macro transformers and compile-time support
2011-09-30 04:13:09 -06:00
Ryan Culpepper
fcbe778de0
macro-stepper: add option to disable reader macro abbreviations
2011-09-29 19:37:11 -06:00
Ryan Culpepper
8c806c184f
macro-stepper: fix reader abbreviations
2011-09-29 19:37:11 -06:00
Matthew Flatt
a0805f9b18
fix docs for `round' et al.
...
They don't return integers for +inf.0, -inf.0, and +nan.0.
2011-09-29 16:54:08 -06:00
Matthew Flatt
99fe14b080
fix problems with phase-1 syntax definitions
...
Closes PR 12234
2011-09-29 16:54:08 -06:00
Matthew Flatt
a857e9e041
fix JIT bug in `fl->fx'
...
For the case that the argument is unboxed.
Closes PR 12240
2011-09-29 16:54:08 -06:00
Matthew Flatt
73071ad186
improve GC logging (3m)
...
Show process time of start of GC and otherwise adjust to make
the output more compact, and attach a prefab struct to the
logged message to report all available data in Racket form
(including real start and end times, which are not shown in
the output).
2011-09-29 16:54:08 -06:00
Sam Tobin-Hochstadt
d279593c15
Parallel spectral-norm shootout benchmark.
2011-09-29 17:51:00 -04:00
Sam Tobin-Hochstadt
2d3a713f0d
More shootout optimization.
2011-09-29 17:51:00 -04:00
Kevin Tew
09891c9263
rounded-rectangle/border gets #:corner-radius and #:angle arguments
2011-09-29 13:48:15 -06:00
Robby Findler
2c018a749c
PR 5440 requests that the 'electric' > in XML boxes work properly in
...
this situation:
<a x="<b
and, in particular, not do this:
<a x="<b></b>
Looking into this a bit, it isnt' clear how to do this without actually
parsing the whole buffer, something that doesn't seem to be worth
the effort with the amount of use that the XML boxes seem to get
So, for now: closes PR 5440
2011-09-29 12:03:58 -05:00
Matthew Flatt
ac8990d519
add date*' and
exn:fail:syntax:unbound'
...
The `date*' structure type is an extension of `date' with
`nanosecond' and `time-zone-name' fields.
The `seconds->date' function now accepts a real and returns a
`date*'. The fractional part of its argument goes into the
`nanosecond' field.
2011-09-29 09:22:10 -06:00
Matthew Flatt
58097a12fe
inside: export scheme_alloc_flvector() and scheme_alloc_fxvector()
2011-09-29 09:14:00 -06:00
Robby Findler
3a3ce656c4
add splicing-* to the default indentation preferences setting
2011-09-29 06:55:05 -05:00
Ryan Culpepper
e7e990cc78
macro-debugger/emit: more flexible arguments for emit-remark
2011-09-28 23:52:22 -06:00
Ryan Culpepper
c074093339
check-requires: report renamings
2011-09-28 23:52:22 -06:00
Robby Findler
bef4ed1fd4
adjust frame position preferences for the case when a monitor has gone away
2011-09-28 21:04:56 -05:00
Ryan Culpepper
afc9210599
revert some (require racket/pretty) to (require scheme/pretty)
2011-09-28 19:01:27 -06:00
Robby Findler
1c630063c5
remove debugging edit
2011-09-28 19:56:37 -05:00
Robby Findler
c8cbe81e51
fix problems with the autosave recovery gui and add a drdr test for it
2011-09-28 17:06:30 -05:00
Robby Findler
abeaebcad0
remove debugging printf
2011-09-28 17:06:29 -05:00
Sam Tobin-Hochstadt
3ce46320ae
Include millisecond timings with commas.
2011-09-28 15:52:59 -04:00
Matthew Flatt
b24c8eb4dd
cocoa: fix control-refresh bug
2011-09-28 12:38:39 -06:00
Vincent St-Amour
2cc0b35ca9
Add a pointer to a vim plugin for scribble.
2011-09-28 11:34:41 -04:00
Sam Tobin-Hochstadt
f46d60c6c1
Improve tooltip time printing.
2011-09-28 11:01:08 -04:00
Robby Findler
e1d332a693
make the (non-online) check syntax error report window be resizable
...
closes PR 8161
closes PR 10177
2011-09-27 21:23:54 -05:00
Ryan Culpepper
c7f86d276c
removed useless requires
2011-09-27 19:28:44 -06:00
Ryan Culpepper
755cedc5ef
improved check-requires
...
Added option to list the names used by each KEEP or BYPASS module
and indicate how used (as reference, in syntax template, etc).
Improved BYPASS; it now gives a list of suggested replacements
(and, optionally, what dependencies each replacement satisfies).
Incompatibly changed exports of macro-debugger/analysis/check-requires;
the new analysis result type is too complicated (and volatile, still)
to document for 0 other clients; focus on the script/output instead.
Removed check-requires-script.rkt.
Updated module whitelist.
Fixed syntax-local-value when identifier later used in def ctx
(destroyed binding information). This manifested as missed references
to modules that does define-local-member-name.
Fixed identifiers without syntax-source-module such as intro'd by
unit-from-context. This manifested as missed references to modules
that provided bindings used by unit-from-context forms.
2011-09-27 19:28:44 -06:00
Ryan Culpepper
717bc17aaf
db: adjust lazy requires for cross-place mode
2011-09-27 19:28:44 -06:00
Ryan Culpepper
52a738140d
db: minimize dependencies
2011-09-27 19:28:44 -06:00
Ryan Culpepper
36149b92a7
db: added ssl support for mysql connections
2011-09-27 19:28:44 -06:00
Matthew Flatt
247a51d5bd
change `get-preference' to treat read errors the same as other bad content
...
That is, return '(), but also now log an error.
2011-09-27 19:23:17 -06:00
Matthew Flatt
2ae6d0c55f
fix expand of `#%variable-reference' on local variable
...
Closes PR 12231
2011-09-27 18:53:28 -06:00
Matthew Flatt
ec49225112
fix expand-imports' for renamed
quote'
...
Closes PR 12235
Thanks to Carl for the report and test case
2011-09-27 17:45:18 -06:00
Robby Findler
34581b7050
try using size-in-pixels for the font primitive in 2htdp/image
...
closes PR 11883
(the earlier commit with this message was just completely bogus)
2011-09-27 16:24:23 -05:00
Robby Findler
53e8ff8c82
Revert "try using size-in-pixels for the font primitive in 2htdp/image"
...
This reverts commit a5b729421a
.
2011-09-27 16:23:43 -05:00
Robby Findler
086ff122f9
clean up the way check syntax handles the various callbacks that tell it
...
that things have changed and it needs to show different stuff in the editor.
(hopefully tooltips now come and go properly)
2011-09-27 16:20:47 -05:00
Robby Findler
a5b729421a
try using size-in-pixels for the font primitive in 2htdp/image
...
closes PR 11883
2011-09-27 16:20:46 -05:00
Robby Findler
d1007842bb
add another note on keybindings to the docs
2011-09-27 09:00:11 -05:00
Robby Findler
135e3ee14d
add a 'Racket Documentation' menu item to drracket
2011-09-27 08:33:55 -05:00
Matthew Flatt
fd9a3e3926
set DrRacket WM_CLASS class name to "DrRacket"
2011-09-26 18:07:18 -06:00
Matthew Flatt
c34dff1247
add 'wmclass/".wmclass" aux executable/launcher configuration
2011-09-26 18:07:18 -06:00
Matthew Flatt
f9dabb8994
add -J/--wm-class argument to set the WM_CLASS class on Unix
2011-09-26 18:07:18 -06:00
Matthew Flatt
8711feae2d
fix `scribble -h' output
2011-09-26 18:07:18 -06:00
Robby Findler
0baa32bcf8
fix the way that the set of identifiers to rename is calculated so that
...
macros that do strange things like the one below are treated better
(define-syntax-rule (m q)
(begin (lambda (q) q)
(define q 1)))
(m x)
x
2011-09-26 13:00:23 -05:00
Robby Findler
ae34e1a960
fix a race (suggested by drdr test results)
2011-09-26 06:08:58 -05:00
Stephen Bloch
09b0a46dcd
Corrected a few error messages.
2011-09-24 12:49:05 -04:00
Matthew Flatt
e226dd7e26
add `contract-out'
2011-09-24 22:30:56 +09:00
Matthew Flatt
9d27b21f91
add provide pre-transformers
2011-09-24 22:30:56 +09:00
Matthew Flatt
1ae6cc0505
change `syntax-local-lift-module-end-declaration' for phase N
...
Lift to the end of the module, instead of the end of the
enclosing `begin-for-syntax'.
Also, fix a bug in phase 2+ visits.
2011-09-24 22:30:56 +09:00
Robby Findler
cc42ac8b1f
Rackety
2011-09-24 08:00:33 -05:00
Robby Findler
75be15700e
clear out any old check syntax information before replaying information
...
gotten from online check syntax. closes PR 12154
also fix a bug where one piece of check syntax information could be dropped
from large files
2011-09-24 08:00:32 -05:00
Mike Sperber
a2b4d30441
Synch German string constants with latest.
2011-09-24 04:58:11 +02:00
Matthias Felleisen
b90710355f
typos and one change to formulation
2011-09-23 18:40:36 -04:00
Robby Findler
abda257295
moved the 'send to repl' keystrokes to the manual (and added a test
...
suite to make sure the example code in the manual doesn't get stale)
2011-09-23 16:37:18 -05:00
Robby Findler
a553cd7a4b
be more agressive about setting the current directory during check syntax
...
also, minor Rackety
2011-09-23 16:37:17 -05:00
Vincent St-Amour
ed6d3f3a6a
Fix docs of underlay/offset.
...
Closes PR12227.
2011-09-23 16:44:09 -04:00
Vincent St-Amour
ef2acecb96
Forbid non-productive recursive types.
2011-09-23 14:40:17 -04:00
Vincent St-Amour
3851727c73
Fix acknowledgements.
2011-09-23 14:40:17 -04:00
Sam Tobin-Hochstadt
a55e86d93b
Initial parallel versions of Shootout benchmarks.
2011-09-22 15:48:22 -04:00
Robby Findler
b1a360be9d
Add the following keybindings in a (hopefully) transparent REPL-friendly way:
...
esc;c:x send-toplevel-form-to-repl
m:c:x send-toplevel-form-to-repl
c:c;c:e send-toplevel-form-to-repl
c:c;c:r send-selection-to-repl
c:c;m:e send-toplevel-form-to-repl-and-go
c:c;m:r send-selection-to-repl-and-go
c:c;c:z move-to-interactions
Took the inspiration for the list from the keybindings
available in Scheme mode in Emacs.
Closes PR 12211 (and probably others)
2011-09-22 10:51:48 -05:00
Robby Findler
2ec720176a
extend and refactor minor stuff in the framework
...
specifically add an argument to move/copy-to-edit so that it
does copy-only and export a function for trigger a submission
to the input port of a text:ports<%> object programmatically
2011-09-22 10:51:47 -05:00
Robby Findler
f07760bd02
adjust new string constant to more accurate
2011-09-22 10:51:46 -05:00
Robby Findler
469bc6ec00
change the online check syntax so it doesn't require any preferences to be
...
set up in the separate place
2011-09-22 10:51:46 -05:00
Robby Findler
52a7a96705
improve the docs for the triangle/[as][as][as] functions
...
closes PR 12219
2011-09-22 10:51:45 -05:00
John Clements
c8a15f7013
Stepper fix for possible race condition
...
Uses queue-callback to avoid a possible race condition in updating of editor
on non-eventspace thread.
Fixes PR 12217
2011-09-21 22:45:46 -07:00
Robby Findler
048fa1d7b8
get rid of the "open here" functionality
...
This is a backwards incompatible change; there is a more complex change
that just stubs this stuff out that may be better that we may need
isntead of this commit.
2011-09-21 22:53:03 -05:00
Robby Findler
c264ece3f4
added status messages to the (now often empty) error message bar
2011-09-21 22:53:03 -05:00
Robby Findler
d6f54435b7
adjust the interaction between online check syntax and the documentation
...
system to guarantee that killing online check syntax doesn't wedge the docs
information lookup process
2011-09-21 22:53:02 -05:00
Robby Findler
0ba3a8ef7c
remember the default #lang line separately from the language preference
...
closes PR 12210
2011-09-21 22:53:01 -05:00
Robby Findler
6ccffddb71
extend BSL+ test suite timeout
2011-09-21 22:53:00 -05:00
Robby Findler
d399e094ed
make tooltips and arrows come and go when scrolling (without moving the
...
mouse)
2011-09-21 22:53:00 -05:00
Robby Findler
e2f1611ab4
adjusted the color for 'is-documented' bindings in online check syntax to be
...
green so it doesn't look anythign close to how the "yellow" error messages
look
2011-09-21 22:52:59 -05:00
Ryan Culpepper
7cc1476170
syntax/parse: fix bug: integrated stxclass might not bind pvar to syntax
2011-09-21 16:58:52 -06:00
Eli Barzilay
81e0f3f3d7
Move scribblings/honu' to
honu/scribblings'.
...
Also, use `user-doc' since it's not distributed, yet.
2011-09-21 16:10:48 -04:00
Jay McCarthy
c27372c43b
Fixes pr 12216
2011-09-21 16:47:08 +09:00
Jon Rafkind
67c9e3e4af
[honu] more doc updates
2011-09-20 18:05:28 -06:00
Jon Rafkind
34689f1711
[honu] checkpoint for docs
2011-09-20 18:05:27 -06:00
Robby Findler
13e16d2b12
add preferences for displaying error messages from online expansion
...
also improved the highlighting in the margin by invalidating only the region
of the editor that actually needs redrawing
2011-09-20 17:15:04 -05:00
Robby Findler
7e27cc5331
adjust the order in which the keymaps are added to the interactions
...
window so that repl-specific bindings override the general purpose
drracket editor bindings
2011-09-20 17:15:03 -05:00
Robby Findler
d654d3e09b
add the place creation memory use to the memory-log test
...
(this required rearranging a bunch of local-member-names)
2011-09-20 17:15:02 -05:00
Robby Findler
35de11134b
adjust the way the 'there is an erorr' margin annotation draws for online
...
expansion. mostly the goal was to make it look the same on all platforms,
but it needed more sharp edges (or so I thought)
2011-09-20 17:15:00 -05:00
Robby Findler
d4f3fe4442
adjust online expansion so that the space for the error messages doesn't
...
automatically go away, but instead just becomes empty (and requires a click
on a close button to go away) so that there is less bouncing around
2011-09-20 17:14:59 -05:00
Robby Findler
b1ecffe262
add missing default arg value to close-icon% docs
2011-09-20 17:14:58 -05:00
Robby Findler
5ce47fe988
adjust a syncheck test so hopefully to avoid mutating datastructures from the wrong thread
2011-09-20 17:14:57 -05:00
Ryan Culpepper
98f7907258
disable debugging code accidentally left in
2011-09-20 15:52:29 -06:00
Matthew Flatt
0ab6637539
remove obsolete and unused Racket-to-C compiler
...
Removes `raco ctool -e/-c', `mzc -e/-c', `compile-extensions',
`compile-extensions-to-c', `compile-c-extensions', `compiler/cffi',
`compiler/comp-unit', `compiler:inner^', and most options in
`compiler/option'.
2011-09-20 15:26:39 -06:00
Ryan Culpepper
2111f136aa
updated macro-debugger tests
2011-09-20 14:49:50 -06:00
Ryan Culpepper
43d3b5d8bc
rackunit: added #:wait? arg to test/gui
2011-09-20 14:49:49 -06:00
Ryan Culpepper
40439aa4ef
removed useless requires
2011-09-20 14:49:49 -06:00
Ryan Culpepper
30d5381e98
updated macro debugger to work with begin-for-syntax changes
...
Also cleaned up support for lazy instantiation of phase>0
environments.
2011-09-20 14:49:49 -06:00
Ryan Culpepper
350c8214f8
unstable, syntax/parse: fix phase-of-enclosing-module
...
Was broken because with begin-for-syntax, offset no longer limited
to 0 or 1. But now varrefs give module base phase directly.
2011-09-20 14:27:33 -06:00
Ryan Culpepper
095b5a5131
syntax/parse: use new primitive cross-phase identifier comparison
2011-09-20 14:27:33 -06:00
Matthew Flatt
0197902309
add var-ref->mod-decl-insp' and switch
cur-code-insp' uses
...
Macros and other tools that need syntax privilege used
`(current-code-inspector)' at the module top-level to try to
capture the right code inspector at load time. It's more
consistent to instead use the enclosing module's declaration-time
inspector, and `var-ref->mod-decl-insp' provides that. The
new function works only on references to anonymous variables,
which limits access to the inspector.
The real function name is longer, of course.
2011-09-20 13:50:36 -06:00
Matthew Flatt
f21187248a
fix `raco setup' for a collection that disappears
2011-09-20 13:22:27 -06:00
Kevin Tew
099e89a297
Fix pr 12205 pass --disable-inline and --vv options through to parallel make
2011-09-20 11:10:56 -06:00
Matthew Flatt
a7c607a708
fix module expand bug
2011-09-20 09:48:48 -06:00
Matthew Flatt
5351d4c7b9
fix gc and stack-overflow problems in JIT, module expansion & run
...
The GC problem was related to generational GC and the way constant
values are associated to JIT-generated code. See `retaining_data'.
The stack-overflow problems affects the JIT, module expansion,
and module invocation.
2011-09-20 08:34:29 -06:00
Robby Findler
2fea831663
fix bug introduced in recent commit caught by drdr
2011-09-20 06:57:02 -05:00
Robby Findler
252db20c85
add menus and keybindings for jumping around to the errors in the defs
...
window
also a little line-length shrinking
2011-09-19 22:47:47 -05:00
Robby Findler
76e55071b0
use new copy-file argument that Matthew provided; this is a better fix than
...
commit f9e1c41cb0
was for the same problem
2011-09-19 15:19:04 -05:00
Casey Klein
83451fea98
Add evaluation contexts for by-need letrec calculus as an example
2011-09-19 12:20:45 -05:00
Matthew Flatt
7f887fdf60
fix problems in copy-file'; add
exists-ok?' argument
...
The non-Windows `copy-file' had a race condition, and it could
behave in bad ways if the source of a copy is not a regular
file.
2011-09-19 08:20:22 -06:00
Eli Barzilay
7513c027c9
Use "Submit to" instead of "Assignment" for the field name
...
This way it doesn't clash with courses that might use "Assignment" in
the directory names, or even a different term like "Homework".
2011-09-19 01:48:22 -04:00
Eli Barzilay
c6ad3682eb
Some racketization; rearrange and fix "client-gui.rkt" which had some
...
very broken parts.
2011-09-19 01:46:24 -04:00
Robby Findler
de62ac2f06
minor Rackety
2011-09-18 21:20:27 -05:00
Robby Findler
f9e1c41cb0
Change scribble so that is overwrites the destination file when it makes a .pdf file
...
instead of copying the file into place. This makes Lion's Preview happier (specifically
it now recognizes the file as a revision of the old one and updates itself instead of
treating it as a new file and opening a second window)
2011-09-18 21:20:27 -05:00
Matthew Flatt
e03a70025f
fix another raco setup path-normalization (especially for Windows)
2011-09-18 08:09:04 -06:00
Guillaume Marceau
9b49de16e7
Fixed 'reference to an identifier before its definition' error in *SL.
2011-09-17 22:37:45 -04:00
Matthew Flatt
f280fb14b4
places: doc repair, refine error checking, fix a test
2011-09-17 07:29:07 -06:00
Matthew Flatt
48fdcdd65d
fix a path test for windows
2011-09-17 07:29:07 -06:00
Matthew Flatt
376efea754
doc clarifications and tests for some file-locking corners
2011-09-17 07:29:07 -06:00
Mike Sperber
4c59f02cb0
Symch German string constants with latest.
2011-09-17 11:10:56 +02:00
Robby Findler
8e5bb730b3
guard a use of get-root-data in the token tree implementation
...
closes PR 12072
2011-09-16 19:04:14 -05:00
Matthew Flatt
5d10dceaf5
fix a corner case for `find-relative-path'
2011-09-16 18:03:32 -06:00
Matthew Flatt
8e9e8ee48e
doc edits
2011-09-16 17:56:53 -06:00
Matthew Flatt
39601cedcf
Revert "putting the "drscheme" collection last isn't useful anymore"
...
This reverts commit 89581f5e21
.
Putting "drscheme" last is useful because it avoids having two
places try to compile "drracket" and "drscheme" at the same time,
in which case the "drscheme" place gets stuck waiting on the
"drracket" place. Moving "drscheme" to the end is a hack, but
it improves the build time for 2-4 cores.
2011-09-16 16:36:57 -06:00
Matthew Flatt
33831cbd8a
add test to run test suite in multiple places
...
This is something we've done in the past, but it doesn't seem
to be in the tree anywhere.
Also, repair old "parallel.rktl" test.
2011-09-16 16:19:04 -06:00
Sam Tobin-Hochstadt
c55cceed8c
Two types definitely overlap if they are equal.
...
Fixes infinite loop in Whalesong compilation.
2011-09-16 17:20:31 -04:00
Sam Tobin-Hochstadt
2570fae481
Minor comment formatting.
2011-09-16 17:20:31 -04:00
Eric Dobson
1f3d68e55e
Added comments to explain TR's type on subprocess and friends.
2011-09-16 17:20:31 -04:00
Eric Dobson
7fcf28bef2
Gave subprocess and similar functions more precise types.
2011-09-16 17:20:31 -04:00
Kevin Tew
a605a97132
place* throw error on closed port
2011-09-16 13:24:39 -06:00
Robby Findler
443434fd01
adjust hangman test suite strategy; instead of waiting for a hangman frame to get teh focus,
...
instead wait for a frame in the user's eventspace that has the name "Hangman".
also, some minor rackety
2011-09-16 12:24:39 -05:00
Eli Barzilay
c5b3317daf
Make `enter!' go into a module even if there was an error when it was instantiated.
...
Previously, when trying to `enter!' into a module, an exception would
abort the whole thing, leaving the repl where it was. This behavior can
be very confusing:
> (module foo racket/base (define x 123) (error "bleh!"))
> (enter! 'foo)
bleh!
> x
reference to undefined identifier: x
> (enter! 'foo)
> x
123
Things are a little better with xrepl, since the prompt always indicates
the module that you're in. Still, it's unfortunate that a module with
an error is more likely to be something you'd want to debug -- and most
people are likely to miss the fact that entering a second time will work.
So make `enter!' catch exceptions when requiring the module, change the
namespace, and then re-raise the exception so the user sees it and is
left in the expected namespace.
2011-09-16 11:31:41 -04:00
Eli Barzilay
16cd1ad78d
Make `defproc' throw an error if two arguments have the same name.
...
Related to the already fixed PR 12114 and PR 12133, which motivated the
error, and a few additional typos of the same kind.
(Note that it uses the symbols, but that's how they'll render anyway.)
2011-09-16 11:14:18 -04:00
Eli Barzilay
f02d19553c
Protect against bad values in `current-module-declare-name'.
...
Closes PR 12125
2011-09-16 10:48:18 -04:00
daniel watson
5cc277e40f
fix missing word 'look' in git docs
2011-09-16 10:48:18 -04:00
Eli Barzilay
370678abf6
Avoid compiling wxme test files.
...
Since that requires `racket/draw', which requires libcairo, which is
missing on some build machines. It might be needed in the future, but
for now it's better to make it easier to add build machines.
2011-09-16 10:48:18 -04:00
Eli Barzilay
84d24bac80
Works up to the current version number, which is "1.0.0e".
2011-09-16 10:48:18 -04:00
Eli Barzilay
623c7493ed
Some selective #:when (not ...)' ->
#:unless ...'.
2011-09-16 10:48:18 -04:00
Eli Barzilay
55a8471838
Quick typo.
2011-09-16 10:48:17 -04:00
Eli Barzilay
26857abe43
Preserve thread values.
...
This avoid problems with tests that are broken by changing environment,
like the TR tests that implicitly rely on a specific printer.
2011-09-16 10:48:17 -04:00
Eli Barzilay
29019a42ae
Minor reformatting, indentation fixes, brackets fixes, etc.
2011-09-16 10:48:17 -04:00
Mike Sperber
e637806306
fix errortrace-conversion problem in DMdA languages
...
Follow commit 45331d1ae8
for the HtDP
languages.
2011-09-16 09:02:25 +02:00
Jon Rafkind
b4a74fc12d
[honu] return eof at the repl if an eof-object is read
2011-09-15 17:21:24 -06:00
Kevin Tew
5a28514553
Doc fixes I forgot to include in previous commit
2011-09-15 17:15:44 -06:00
Robby Findler
e7d3a2e1d8
adjust online expansion so it is off by default; also fix the preference so
...
it really actually works (and also doesn't create a place until it is turned
on at least once)
2011-09-15 17:35:04 -05:00
Jon Rafkind
808c2bdf27
[honu] read and parse a line at the repl
2011-09-15 16:01:54 -06:00
Jon Rafkind
219516b321
[honu] use an empty "begin" if nothing was parsed
2011-09-15 16:01:54 -06:00
Jon Rafkind
0b4e630b8c
[honu] return currently parsed form if a macro is seen
2011-09-15 16:01:54 -06:00
Jon Rafkind
18b18aaded
[honu] add string comparison. add test.xml file for linq example
2011-09-15 16:01:54 -06:00
Jon Rafkind
0790efd585
[honu] add order-by clause
2011-09-15 16:01:54 -06:00
Jon Rafkind
aaed60493a
[honu] recognize linq literals
2011-09-15 16:01:53 -06:00
Kevin Tew
b6972a3b7f
dynamic-place now pipes standard io to standard out and error much like system.
2011-09-15 14:53:58 -06:00
Matthew Flatt
039f9c10f3
fix calculation for hash code of a hash table
2011-09-15 14:23:44 -06:00
Matthew Flatt
87652cd32e
scribble CSS: force text-align left in RktBlk
...
Because IE seems to default to inherit while other browsers
default to left.
2011-09-15 07:25:57 -06:00
Matthew Flatt
9bd50695b5
scribble: fix HTML navigation when the main part has 'toc
2011-09-15 07:12:58 -06:00
Robby Findler
f1e960c954
adjust timeout for tests/drracket/snip/run-all.rkt
2011-09-15 06:57:44 -05:00
Eli Barzilay
3c0147bd7c
Workaround for a gui instantiation problem.
2011-09-15 00:59:45 -04:00
Matthew Flatt
4d9c7e5332
fix interactive errortrace on modules
2011-09-14 20:51:56 -06:00
Matthew Flatt
051d677f0f
place-channel fixes
...
Finalization for a place channel used a recursive, non-atomic
function, which meant that a thread switch could happen during
place-channel finalization, leaving the new thread with the
master GC and generally confused. (The random-message test
found the bug right away on my machine.)
We already have a non-recursive, non-atomic function to traverse
place messages, so collapse all modes into that one implementation.
Along the way, problems with empty structs (found by random tester)
and checking of file descriptors (test added) also fixed.
2011-09-14 20:43:36 -06:00
Mike Sperber
bbb38c0ff9
Report signature violations in the REPL.
...
In the course of this, revamp the logic that controls when the
test-results window pops up and when it doesn't.
Closes PR 12185
2011-09-14 22:00:42 +02:00
Matthew Flatt
45331d1ae8
fix errortrace-conversion problem in HtDP languages
2011-09-14 12:24:41 -06:00
Robby Findler
0e2bd262a8
add a missing degrees to radians conversion in triangle/ass
...
closes PR 12199
2011-09-14 12:35:53 -05:00
Matthew Flatt
347d4d32ba
fix broken attempt to update DrRacket for errortrace change
2011-09-14 06:54:57 -06:00
Matthew Flatt
a233697f08
fix errortrace (required API changes), add `syntax-shift-phase-level'
...
Also fix a bug in the `module' expander and streamline lazy
visits.
2011-09-13 21:04:10 -06:00
Robby Findler
437d654cc1
add some more snips to the test suite
2011-09-13 20:46:05 -05:00
Robby Findler
a4336c3997
docs for new read-snip-from-port function in the wxme library
2011-09-13 20:46:04 -05:00
Vincent St-Amour
e61d472ed3
Fix xrepl tests.
2011-09-13 17:29:47 -04:00
Robby Findler
89ef65a746
fix the collapsed snipclass so that it cooperates with the wxme library and
...
thus saved files with collapsed snips can be required in non-GUI contexts
2011-09-13 14:58:39 -05:00
Robby Findler
cbaa25c2b0
add a test so that the current version of files with collapsed snips in them
...
continue to work going forward
2011-09-13 14:56:33 -05:00
Robby Findler
621109a40a
adjust check syntax to use the new capability in free-identifier=?
2011-09-13 14:56:32 -05:00
Vincent St-Amour
297cecebcc
Fix type of random to accept any Integer.
2011-09-13 15:42:04 -04:00
Vincent St-Amour
7e9e500818
Fix case-lambda type printing.
...
Closes PR 12188.
2011-09-13 15:42:04 -04:00
Vincent St-Amour
3c3e5902e5
Switch to square brackets for REPL type display.
2011-09-13 15:42:04 -04:00
Vincent St-Amour
68d58f7d2a
Generalize types shown at the REPL, to keep types simple.
2011-09-13 15:42:04 -04:00
Jon Rafkind
386d3f4e1f
[honu] add example of for form for iterating over lists
2011-09-13 12:15:47 -06:00
Jon Rafkind
501efef8a1
[honu] dont produce an extra void expression in a block. add a for form to iterate over a list. add an example of linq with xml
2011-09-13 12:15:47 -06:00
Jon Rafkind
1650294a83
[honu] add simple class form. share the function parsing syntax class
2011-09-13 12:15:47 -06:00
Jon Rafkind
062a20f7e1
[honu] function application respects precedence so that dot can bind higher
2011-09-13 12:15:47 -06:00
Vincent St-Amour
8ae1a903fa
Compare numeric unions using a linear scan.
2011-09-13 11:22:24 -04:00
Vincent St-Amour
c63b5873e3
Optimize subtyping of numeric types.
2011-09-13 11:22:24 -04:00
Vincent St-Amour
40456b4fd8
Add a field to base types to indicate if they are numeric types or not.
2011-09-13 11:22:24 -04:00
Vincent St-Amour
32b56eb2fa
Fix whitespace.
2011-09-13 11:22:24 -04:00
Jay McCarthy
78151e073b
Fixing the handling of request bodies on non-POST methods
2011-09-13 08:57:58 -06:00
Matthew Flatt
51721e9bb5
fix contract in docs
2011-09-12 19:39:45 -06:00
Matthew Flatt
a8c0c1f8b7
simpify an example
2011-09-12 19:39:37 -06:00
Matthew Flatt
7a2e1aa900
scribble: more nowraps in HTML output
...
Avoids line-wraps for `examples' output and in function contracts
2011-09-12 19:17:08 -06:00
Matthew Flatt
c5131d428c
doc clarifications on `eq?'
2011-09-12 19:16:57 -06:00
Matthew Flatt
b7bef3b3aa
add syntax-transforming-module-expression?',
variable-reference->module-base-phase'
2011-09-12 17:08:50 -06:00
Matthew Flatt
c352ef8fce
allow different phases for `free-identifier=?' arguments
2011-09-12 17:08:50 -06:00
Matthias Felleisen
481a92f272
fixed and/or documentation, Closes PR 12197
2011-09-12 17:12:39 -04:00
Sam Tobin-Hochstadt
b91880b05a
random' always produces
Float'.
2011-09-12 16:31:00 -04:00
Sam Tobin-Hochstadt
ce7271b3f8
Sort chart data.
2011-09-12 12:30:01 -04:00
Sam Tobin-Hochstadt
d0bf047121
Add test of behavior like the "module" language in DrRacket.
2011-09-12 12:14:50 -04:00
Sam Tobin-Hochstadt
f9b0f0ce73
Move environment initialization after local expansion in Typed Racket.
...
This means that syntax errors caught by `local-expand' are reported sooner, but shouldn't change other timing results.
2011-09-12 11:52:26 -04:00
Sam Tobin-Hochstadt
ce45c12b67
Make the type of `syntax-local-module-defined-identifiers' more precise.
2011-09-12 11:52:25 -04:00
Robby Findler
566db80842
add more info into the log for the expanding place
...
specifically, when drracket kills the thread that is expanding/transforming
the program, first print out its stack trace. that way, if it is stuck
somewhere, maybe we'll get a clue as to where
2011-09-12 10:49:17 -05:00
Robby Findler
b43250a448
remove unnecessary thread creation & remove commented out code
2011-09-12 10:49:16 -05:00
Robby Findler
14441264ef
Rackety
2011-09-12 10:49:15 -05:00
Robby Findler
1ec5aee4a4
add a better link from the snip class docs to the relevant section of the
...
wxme library
2011-09-12 10:49:13 -05:00
Robby Findler
273afb266d
adjust online expansion to hold onto previously successful
...
namespace-module-registry in order to encourage the bytecode cache to
hold onto likely-to-be-useful entries a while longer
2011-09-11 08:15:46 -05:00
Robby Findler
05cd55fb04
make the right-hand side blobs (for online check syntax) look a little bit
...
better in white-on-black mode
2011-09-10 22:11:03 -05:00
Robby Findler
cd1c96d596
adjust check syntax to work with the new begin-for-syntax
2011-09-10 22:10:59 -05:00
Robby Findler
c589e1890f
make the tooltips go away more easily
2011-09-10 22:10:55 -05:00
Robby Findler
e947df4359
finally fixed up the syncheck tests so they run under windows
2011-09-10 22:10:51 -05:00
Matthew Flatt
2bd461de50
win32: fix `get-file-list' with a single file result
2011-09-10 14:56:53 -06:00
Matthew Flatt
2ecd32b86e
racket/gui: fix excessive on-size' and
on-move' callbacks
...
Especially for gtk, where a client-resize notification was
getting mixed up with a frame-configure notification. On all
platforms, `on-size' and `on-move' for a frame% were queued
at too high a priority.
2011-09-10 14:37:13 -06:00
Matthew Flatt
ec25a74b97
cocoa, gtk: enable auto list-box% horizontal scrollbars
...
Closes PR 12149
Also adjust id on NSTableColumn to be a string, because a Cocoa
warning on Lion told me to.
2011-09-10 11:14:52 -06:00
Matthew Flatt
28afc4490e
cocoa: distinguish CFBundleIdentifier for 64-bit vs. 32-bit apps
...
This is another attempt at fixing PR 12135
2011-09-10 10:53:43 -06:00
Matthew Flatt
9d4fcd8e84
better fix for TransformProcessType issue
...
GRacket registers witht a global table to indicate that
no transform is needed. (This change was intended to address
a 64-bit problem on Lion. It didn't help, but this seems
better than ignoring an error.)
2011-09-10 10:53:42 -06:00
Mike Sperber
559a37ac1e
Synch German string constants with latest.
2011-09-10 13:35:31 +02:00
Matthew Flatt
231b352bec
fix NSProcessInfo arguments hack
...
The target of the change is actually `hack-argument-replacement' in
`mred/private/coco/queue'. The replaced method can get called in
a different OS-level thread than the main thread.
Closes PR 12086
2011-09-09 22:27:34 -06:00
Matthew Flatt
446fb89af1
avoid clang warnings
...
The main change is to use C99 flexible array declarations
in structs, instead of declaring single-element arrays.
There are still a few -Wtautological-compare warnings
in 3m due to marco expansion.
2011-09-09 20:45:43 -06:00
Matthew Flatt
9c5b78e998
suppress an error message (related to Mac 10.7)
...
We could try to figure out the current state of the process,
instead, but it seems like too much work.
2011-09-09 19:22:42 -06:00
Matthew Flatt
ca0d7b5ef4
add ++aux' flag to
raco exe'
2011-09-09 17:03:18 -06:00
Matthew Flatt
735ca7f3c3
racket/gui: add `application-start-empty-handler'
2011-09-09 17:03:18 -06:00
Matthew Flatt
ce4705cedc
get-diplay-size' and
get-display-left-top-inset' use #f for failure
...
Since the number of monitors can change at any time, reliable
use of these functions requires handling failure in some way.
Handling #f results is easier (and less likely to mask other
problems) than catching exceptions.
2011-09-09 17:03:17 -06:00
Robby Findler
69832d9925
fix stupidity
2011-09-09 15:34:17 -05:00
Robby Findler
85d46008a0
missed a point when the error highlights should be cleared out
2011-09-09 14:56:54 -05:00
Robby Findler
3c89f61c36
adjust the right-margin thingies so you can mouse over them and see the
...
actual error range and click on them to go there
2011-09-09 14:43:10 -05:00
Robby Findler
0be51fefa5
don't show multiple (identical) tooltips at the same place
...
also fixes a bug that prevented tooltips from disappearing in some cases
closes PR 12190
2011-09-09 14:43:03 -05:00
lvilnis
80ece9023a
Fixed a bug where predicates would sometimes fail to match 0.0
2011-09-09 12:10:58 -04:00
Stephen Chang
3a44c34b39
Merge branch 'master' of pltgit:plt
2011-09-09 02:30:24 -04:00
Stephen Chang
65dbdafa92
add strictness tests for lazy
2011-09-09 02:30:06 -04:00
Robby Findler
db2e3ab3b6
adjust the error display to highlight in the margin instead of on top of the text
2011-09-08 22:45:42 -05:00
Matthew Flatt
b1eab296f4
fix demod for `begin-for-syntax' changes
2011-09-08 19:19:14 -06:00
Matthew Flatt
a274a7fd72
partially fix Check Syntax for `begin-for-syntax'
2011-09-08 19:12:46 -06:00
Matthew Flatt
41bdb139d4
fix a formerly overlooked `kernel-syntax-case'
...
Caught by the Check Syntax tests that use Pretty Big
2011-09-08 19:03:54 -06:00
Vincent St-Amour
68aad051e9
Reduce priority of paren matching highlighting.
2011-09-08 18:01:16 -04:00
Vincent St-Amour
7e9bf9361d
Make Performance Report highlighting high priority.
2011-09-08 18:01:16 -04:00
Vincent St-Amour
bb62ca4c2b
Fix Performance Report message in the absence of irritants.
2011-09-08 18:01:15 -04:00
Matthew Flatt
d3c56c9f13
generalized `begin-for-syntax'
2011-09-08 14:06:00 -06:00
Robby Findler
2f9f780727
add tooltips for the module level imports in check syntax
...
this also gets rid of the module-level imports as annotations in the bar
along the buttom of a drracket window, which eliminates the use of the
'drracket:check-syntax:mouse-over status line and thus:
closes PR 12186
2011-09-08 14:44:06 -05:00
Sam Tobin-Hochstadt
f61b9efea4
Color fixes, show lines for dense data.
2011-09-08 14:13:38 -04:00
Sam Tobin-Hochstadt
17a1f749d1
Save hidden serieses as well.
2011-09-08 13:07:05 -04:00
Sam Tobin-Hochstadt
bb73a9b8ae
Make the back button work.
2011-09-08 12:31:21 -04:00
Casey Klein
9944e6b3f6
Adds missing test image
2011-09-08 10:43:23 -05:00
Casey Klein
634f5c9e0c
Removes now outdated comment
2011-09-08 09:11:52 -05:00
Casey Klein
97e792200f
Gives a function a better name
2011-09-08 09:11:52 -05:00
Casey Klein
6d43376f9c
Adds support for `judgment-holds' clauses in metafunctions
2011-09-08 09:11:52 -05:00
Casey Klein
ac7856a377
Moves metafunction construction to later expansion step
2011-09-08 09:11:51 -05:00
Casey Klein
2b4f604776
Replaces use of `define-syntax-set'
2011-09-08 09:11:51 -05:00
Sam Tobin-Hochstadt
b08f2704ea
Up ssax timeout even more.
2011-09-08 08:31:25 -04:00
Robby Findler
3ade0eaca9
let the planet resolver bestow on itself more powerful filesystem inspection capabilities
2011-09-07 22:17:12 -05:00
Sam Tobin-Hochstadt
9e94c8b56c
Enable turning timings on and off.
2011-09-07 18:34:32 -04:00
Robby Findler
26f6c588fc
added a preference to restore the old run, new tab, and replace keybindings
2011-09-07 17:31:33 -05:00
Sam Tobin-Hochstadt
cd073ad549
Switch to racket/base to fix bizarre bug.
2011-09-07 16:08:00 -04:00
Sam Tobin-Hochstadt
b3b9c3fe22
Add logging to debug this timeout.
2011-09-07 10:40:51 -04:00
Eric Dobson
c62f09ac5b
Fixed subtyping for StructTop. Closes PR11099.
2011-09-07 09:17:04 -04:00
Eric Dobson
32becc2e0a
Change overlap for structs in TR. Closes PR11390.
2011-09-07 09:17:04 -04:00
Eric Dobson
53ce20d3f9
Resolve names in overlap in TR. Closes PR11392.
2011-09-07 09:17:03 -04:00
Sam Tobin-Hochstadt
7285200177
Add links to tooltips, fix second y axis on zoom.
2011-09-07 09:17:03 -04:00
Sam Tobin-Hochstadt
4577903c60
Up timeout again.
2011-09-07 07:53:33 -04:00
Matthias Felleisen
710404fd47
fixing scribble docs for check-*, step 2
2011-09-06 20:53:12 -04:00
Matthias Felleisen
6f04fe3433
fixing scribble docs for check-*
2011-09-06 20:53:12 -04:00
Jon Rafkind
6b2c251b24
[honu] remove old test file
2011-09-06 17:33:13 -06:00
Jon Rafkind
6bf5d43c37
[honu] expand honu's #%top-interaction to racket's #%top-interaction
2011-09-06 17:33:13 -06:00
Jon Rafkind
d53332c1f7
[honu] remove debugging output
2011-09-06 17:33:13 -06:00
Jon Rafkind
ffc5387ac3
[honu] configure honu runtime to use the honu syntax reader. this allows honu to be used at the repl
2011-09-06 17:33:12 -06:00
Jay McCarthy
e3cff12b06
removing old graphing system
2011-09-06 16:07:06 -06:00
Sam Tobin-Hochstadt
0dde6af581
Fancy Flot-based JS charting for DrDr timing.
...
Signed-off-by: Jay McCarthy <jay@racket-lang.org>
2011-09-06 15:45:03 -06:00
Jay McCarthy
7347b1b671
Getting ready for new graphs
2011-09-06 15:42:12 -06:00
Jay McCarthy
e9a9d79490
Better solution to pr12145
2011-09-06 15:42:12 -06:00
Jay McCarthy
ef84301f83
JSON timing data
2011-09-06 15:42:12 -06:00
Vincent St-Amour
371fcba252
here-figures shouldn't be on a page of their own.
2011-09-06 16:35:16 -04:00
Vincent St-Amour
c893502857
Forge identifiers instead of dumpster-diving.
2011-09-06 16:35:15 -04:00
Eli Barzilay
3cc51f20ac
Update and revise docs.
2011-09-06 16:32:28 -04:00
Eli Barzilay
bfc9a2ba76
Switch to `make-'-less constructors.
2011-09-06 16:32:28 -04:00
Eli Barzilay
eec994a899
Reprovide the structs from "analyzer.rkt".
...
(Also switch to `struct'.)
2011-09-06 16:32:28 -04:00
Eli Barzilay
5295e143a3
scheme' ->
racket'.
2011-09-06 16:32:28 -04:00
Robby Findler
ac8b5a7d03
fix up the teachpack code to be friendly to the drracket test suites
2011-09-06 14:40:50 -05:00
Matthias Felleisen
a74ce9d7b2
fixed docs for check-member-of and check-range
2011-09-06 15:12:38 -04:00
Ryan Culpepper
3aa16f2c26
syntax/parse: speed up "is literal bound?" check
...
Can't do check completely statically, because phase of comparison
is expression (and even default is slightly unpredictable).
So instead compute whether check would succeed for likely phase
offsets, and use list of ok offsets as run-time fast path (memv
instead of identifier-binding).
2011-09-06 12:41:03 -06:00
Ryan Culpepper
68e76a9876
syntax/parse: speed up free-identifier=?/phases when phases are same
2011-09-06 12:41:03 -06:00
Ryan Culpepper
15e3640191
db: fix #:group contract, fix sqlite headers
2011-09-06 12:41:03 -06:00
Ryan Culpepper
e6433084f3
added unstable/lazy-require
...
Also fixed lazy-require to capture and use correct namespace.
2011-09-06 12:41:03 -06:00
Ryan Culpepper
766e6c2f00
rackunit/tool: avoid attaching module to user namespace
2011-09-06 12:41:03 -06:00
Ryan Culpepper
5db417fcf2
db: add support for odbc on macosx (needs testing)
2011-09-06 12:41:03 -06:00
Ryan Culpepper
f4d712ac71
db: made sql data serializable
2011-09-06 12:41:03 -06:00
Ryan Culpepper
69a56ef683
db: clean up test suite, (test conditional) => (conditional test), timing
2011-09-06 12:41:03 -06:00
Kevin Tew
f44337e28e
Change stderr output to logging, to please drdr
2011-09-06 11:13:13 -06:00
John Clements
9b91d37032
added entry for cstruct->list converter
2011-09-06 10:05:42 -07:00
John Clements
e781072bf3
eliminate quasiquote-the-cons-application tag
2011-09-06 10:05:42 -07:00
Jay McCarthy
b2570bee3c
Fixing allowance of multiple headers
2011-09-06 10:06:23 -06:00
Jay McCarthy
7bb389cda2
Removing garbled text
2011-09-06 10:06:23 -06:00
Sam Tobin-Hochstadt
64a1aee65d
Whitespace fixes, small optimizations of union cases.
2011-09-06 11:14:57 -04:00
Sam Tobin-Hochstadt
43c0177895
Fix minor formatting error.
2011-09-06 11:14:57 -04:00
Sam Tobin-Hochstadt
076c0fe6d8
Switch to id-table, Rackety.
2011-09-06 11:07:03 -04:00
Sam Tobin-Hochstadt
41bfb878c3
Add logging to typechecker main loop.
2011-09-06 11:07:03 -04:00
Sam Tobin-Hochstadt
c25f7cea27
Micro-optimization.
2011-09-06 11:07:03 -04:00
Danny Yoo
37a81bcfce
correcting an offset error: if the string str is exactly n characters long, the use of string-ref in the last case will die.
2011-09-06 07:29:42 -05:00
Robby Findler
c30122d1fc
more adjustments to try to get the drracket test suites running in drdr
2011-09-05 20:19:17 -05:00
Robby Findler
57c59d2ed7
add yet another dialog-mixin argument to a standard dialog, this time
...
get-text-from-user
also, some minor rackety to that function/file
2011-09-05 20:19:16 -05:00
Robby Findler
09e65716d5
add missing require
2011-09-05 20:19:15 -05:00
Matthew Flatt
cf772ceebd
Corrections to the guide's places entry
2011-09-05 18:10:00 -06:00
Kevin Tew
a6b4b42982
pr# 12143 raco make -j 2, fix split-path's 'relative to byte-string conversion
2011-09-05 17:22:59 -06:00
Matthew Flatt
6d944453a7
make memory accounting and places work together
...
The `current-memory-use' function's result now includes the memory
use of places created from the calling place, and custodian memory
limits apply to memory use by places (owned by the custodian).
This change is relevant to PR 12004 in that DrRacket will no longer
crash on the example if a memory limit is in effect, but plain
Racket starts with no such limit and will exhaust all memory.
2011-09-05 13:24:22 -06:00
Eli Barzilay
50d07dc67b
typo
2011-09-05 15:22:39 -04:00
Jon Zeppieri
d44a7a480a
Moved `net/url' code from unit to module.
2011-09-05 15:22:39 -04:00
Jon Zeppieri
3f69d4c8e8
Moved `net/uri-codec' code from unit to module.
2011-09-05 15:22:39 -04:00
Jon Zeppieri
647d3fb365
Moved `net/smtp' code from unit to module.
2011-09-05 15:22:39 -04:00
Jon Zeppieri
9ab674fd0c
Moved `net/sendmail' code from unit to module.
2011-09-05 15:22:38 -04:00
Jon Zeppieri
d034297c76
Moved `net/qp' code from unit to module.
2011-09-05 15:22:38 -04:00
Jon Zeppieri
54deaac318
Moved `net/pop3' code from unit to module.
2011-09-05 15:22:38 -04:00
Jon Zeppieri
df5fef0c95
Moved `net/nntp' code from unit to module.
2011-09-05 15:22:38 -04:00
Jon Zeppieri
67ca846fd9
Moved `net/mime' code from unit to module.
2011-09-05 15:22:38 -04:00
Jon Zeppieri
9ae3840211
Moved `net/imap' code from unit to module.
2011-09-05 15:22:38 -04:00
Jon Zeppieri
095ee4e007
Moved `net/head' code from unit to module.
2011-09-05 15:22:38 -04:00
Jon Zeppieri
03237c06f2
Moved `net/ftp' code from unit to module.
2011-09-05 15:22:38 -04:00
Jon Zeppieri
a0eac7ac5c
Moved `net/dns' code from unit to module.
2011-09-05 15:22:38 -04:00
Robby Findler
cda12b39ed
more adjustment of the drracket test suites to avoid using os-given focus information
...
also increase the timeout of the io.rkt test
2011-09-05 14:13:49 -05:00
Robby Findler
14e62f6caf
when the filename changes, re-run the "what language are we in" code to
...
facilitate things in the s-exp language with relative paths
closes PR 12177
2011-09-05 14:13:48 -05:00
Sam Tobin-Hochstadt
d36257701d
Increase time limit.
2011-09-05 14:21:15 -04:00
Sam Tobin-Hochstadt
2faa761f53
Use better language for lang-info
2011-09-05 14:21:15 -04:00
Jon Zeppieri
a5222b9481
Moved `net/cgi' code from unit to module.
2011-09-05 14:17:36 -04:00
Jon Zeppieri
0104198875
Moved `net/base64' code from unit to module.
2011-09-05 14:13:04 -04:00
Eli Barzilay
9c77ea7155
Actually run the strictness-tests.
2011-09-05 13:58:33 -04:00
Robby Findler
67d17645c4
wrong super interface
2011-09-05 12:33:53 -05:00
Robby Findler
8a30ed73b7
add forgotten file
2011-09-05 09:41:49 -05:00
Robby Findler
a67f509f90
add frame:focus-table-mixin & related things to be able to make drracket
...
test suites that don't depend on the OS giving any focus messages
2011-09-05 08:30:49 -05:00
Robby Findler
bb71539233
remove extraneous path->string conversion
2011-09-05 08:30:48 -05:00
Robby Findler
e4ddd0718a
break lines better
2011-09-05 08:30:46 -05:00
Robby Findler
9253707621
added a #:dialog-mixin argument to message-box and related functions
...
Also minor rackety (just enough to get keyword arguments)
2011-09-05 08:30:45 -05:00
Robby Findler
415868f914
added a #:dialog-mixin argument to get-file, put-file, get-file-list, and get-directory
...
Also, Rackety
2011-09-05 08:30:44 -05:00
Robby Findler
80c9e3c5d5
added a note about the blue dot
2011-09-05 08:28:41 -05:00
Eli Barzilay
8c9404642b
Remove uses of `scheme' in db docs.
2011-09-05 00:34:16 -04:00
Eli Barzilay
fde857e0cb
Some more "typed-scheme" -> "typed-racket".
2011-09-05 00:34:05 -04:00
Eli Barzilay
746aea0024
"typed-scheme" -> "typed-racket".
2011-09-05 00:08:17 -04:00
Eli Barzilay
b77a841dd8
Switch to `typed/racket/base', and remove unused definition.
2011-09-04 22:08:56 -04:00
Matthew Flatt
ee6104b4fc
fix `subprocess-status' when places are enabled
...
Closes PR 12158
2011-09-04 15:55:26 -06:00
Matthew Flatt
fd0a2e9879
avoid an internal error
...
Closes PR 12138
2011-09-04 15:55:26 -06:00
Sam Tobin-Hochstadt
c0b4743b40
Tests for all Typed Racket languages, and add missing ones.
2011-09-04 12:58:13 -04:00
Sam Tobin-Hochstadt
437fc45ce4
Up timeouts for htdp-lang tests.
2011-09-04 12:16:38 -04:00
Matthew Flatt
5de2ea9547
fix absolute paths in cross-reference info
...
The absolute paths were introduced by support for parallel build,
which piggy-backs information in "in.sxref" to communicate among
processes. Since the information is persistent beyond that
cooperation, the information needs to be in relative form.
[Sorry for the reformatting noise, but the file's indentation was
especially mangled.]
2011-09-04 09:53:36 -06:00
Eli Barzilay
6ebf3ab32d
Revert "Abolish "typed-scheme"."
...
This reverts commit 49a89da818
.
(Will be redone later today.)
2011-09-04 10:27:58 -04:00
Eli Barzilay
49a89da818
Abolish "typed-scheme".
2011-09-04 08:46:03 -04:00
Eli Barzilay
e1c095e2fb
Update dist-specs for "typed-scheme" -> "typed-racket".
2011-09-04 08:46:03 -04:00
Sam Tobin-Hochstadt
09f515dff4
Add type for `make-reader-graph'.
2011-09-04 08:34:19 -04:00
Sam Tobin-Hochstadt
1a35809ee6
Document `Nonnegative-Integer'.
2011-09-04 08:33:44 -04:00
Sam Tobin-Hochstadt
0a9bc015da
Fix one more `typed-scheme'.
2011-09-04 08:31:34 -04:00
Sam Tobin-Hochstadt
3122e559cb
Fix require analysis heuristics for TS -> TR.
2011-09-03 22:47:01 -04:00
Sam Tobin-Hochstadt
4aeec8f061
Update props for typed-scheme -> typed-racket conversion.
2011-09-03 22:44:48 -04:00
Sam Tobin-Hochstadt
ff1776e522
Revert "Re-enable timing"
...
This reverts commit a134ec73ed
.
2011-09-03 20:51:35 -04:00
Sam Tobin-Hochstadt
a134ec73ed
Re-enable timing
2011-09-03 20:49:40 -04:00