Commit Graph

20546 Commits

Author SHA1 Message Date
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
Sam Tobin-Hochstadt
d2e1cc02dc Move typed-scheme to typed-racket collection.
Compatibilty typed-scheme collection left.
2011-09-03 20:49:39 -04:00
Sam Tobin-Hochstadt
55e5ecfc74 Disable this file in DrDr -- it launches DrRacket. 2011-09-03 18:43:44 -04:00
Sam Tobin-Hochstadt
9a15a1febb Reduce requires. 2011-09-03 18:43:44 -04:00
Sam Tobin-Hochstadt
77b619b7c2 Split syntax-classes out into separate file to reduce requires. 2011-09-03 18:13:54 -04:00
Sam Tobin-Hochstadt
d594e6ee49 Fix language info when running 'racket -I typed/racket'. 2011-09-03 18:13:34 -04:00
Sam Tobin-Hochstadt
4c9c02905d Add tests for non-linearity in `match-let'. 2011-09-03 18:13:34 -04:00
Matthew Flatt
a53f51d92d fix HtDP local' to work better with macros that expand to begin'
In particular, the forms within `begin' need to be partially
expanded before checking whether they're allowed.
2011-09-03 15:15:24 -06:00
Matthew Flatt
82116cc3bd add examples to regexp docs 2011-09-03 15:01:11 -06:00
Matthew Flatt
0b2beace40 add `schemecommentfont' 2011-09-03 14:57:57 -06:00
Matthew Flatt
3f09b2ea64 doc fixes
Closes PR 12157
2011-09-03 13:31:52 -06:00
Matthew Flatt
03991c778c doc contract fix
Closes PR 12163
2011-09-03 13:31:27 -06:00
Matthew Flatt
60325da48c clarify `unsafe-...*' in docs
The clarification mostly repeats information in the contract,
and we normally avoid that, but the bindings look undocumented
otherwise.

Closes PR 12162
2011-09-03 13:26:20 -06:00
Matthew Flatt
1c34ce9f19 clarify `define-struct/derived' in docs 2011-09-03 13:21:38 -06:00
Matthew Flatt
4025206bd7 fix `regexp-match' docs 2011-09-03 13:11:33 -06:00
Matthew Flatt
594447ae7e gtk: make list-box% min size non-zero for content 2011-09-03 10:44:37 -06:00
Matthew Flatt
34eb5ec983 cocoa: fix application about handler
Closes PR 12165
2011-09-03 10:35:55 -06:00
Matthew Flatt
b4ef9a09a9 cocoa: fix menu when two layers of dialogs are dismissed 2011-09-03 10:35:55 -06:00
Mike Sperber
e4da28e1c0 In German string constants, move a & menu accelerator marker
... to a more appropriate place.
2011-09-03 16:23:33 +02:00
Matthew Flatt
20a1440dcf fix build-struct-generation' to work with racket/base'
and also still works with `mzscheme'
2011-09-03 07:49:22 -06:00
Mike Sperber
981d6874de Synch German string constants with latest. 2011-09-03 13:09:38 +02:00
Eli Barzilay
dee4b7dc19 Use a `typed-racket' package to include new release notes. 2011-09-03 07:01:58 -04:00
Matthew Flatt
f5e534fd87 win32: fix canvas refresh
Refresh was wrong in the case that a canvas had been "reset"
in certain ways, such as showing and hiding, and the canvas is
drawn on before a Win32-level refresh event was processed. In
that case `on-paint' wasn't called, and it should have been.

Closes PR 12152
2011-09-02 08:27:49 -06:00
Robby Findler
171858add1 wrong check for the result of system-type 2011-09-02 08:58:22 -05:00
Matthew Flatt
d857385797 cocoa: fix switch-to-gui-app for 64-bit 2011-09-02 06:27:56 -06:00
Robby Findler
92ec3b5f0c added back the accidentally deleted port-count-lines! call
(this was actually already covered in existing drracket test suites)

closes PR 12161
2011-09-01 21:22:35 -05:00
Robby Findler
8c7846fff4 fix bug that inhibited certain menus from appearing. Also Rackety
closes PR 12155
2011-09-01 18:04:09 -05:00
Vincent St-Amour
feefa31401 Change the logging level for the optimizer logs. 2011-09-01 18:49:49 -04:00
Vincent St-Amour
645f611ae7 Remove vestigial require. 2011-09-01 18:49:48 -04:00
Matthias Felleisen
fcf4936592 improved error messages when handlers fail check-with tests 2011-09-01 18:27:25 -04:00
Matthias Felleisen
ec56bffe4a added a warning concerning cross-platform workings of teachpack 2011-09-01 18:27:24 -04:00
Kevin Tew
dbcf70db30 Fix check for interactively defined module paths. 2011-09-01 15:17:22 -06:00
Kevin Tew
7b97d09637 Add tests to props file 2011-09-01 12:02:21 -06:00
Kevin Tew
81f9bf4e1d Fix dup errors, bignum deserialization, and port names across place channels
Fix bignum deserialization
Error reporting for failed dups during place channel communications
communicate socket port names across place channels
2011-09-01 12:02:21 -06:00
Kevin Tew
261f002ce2 Error messages for using places with symbol module paths 2011-09-01 12:02:20 -06:00
Kevin Tew
6e2487bffa Guide text for places 2011-09-01 12:02:20 -06:00
Robby Findler
49dbb5d963 adjust the close/close window/close tab menu items to be more like other apps on the various platforms 2011-09-01 10:53:09 -05:00
Robby Findler
8f6fb87597 adjust keybindings to free up <menukey>-r for "Run" and <menukey>-t for "New Tab" 2011-09-01 10:53:07 -05:00
Matthew Flatt
db0db9463e adjust -X handling to make `raco exe' work on Unix
Closes PR 12151
2011-09-01 08:49:26 -06:00
Matthew Flatt
459d2422e3 gtk: fix menu-item shortcut updating 2011-09-01 07:14:06 -06:00
Matthew Flatt
9d5f45a9d1 gtk: fix border (when requested) for canvas% with scrollbars 2011-09-01 07:14:05 -06:00
Matthew Flatt
3f11ef9b11 report some errors instead of potentially ignoring them 2011-09-01 07:14:05 -06:00
Matthew Flatt
c5588f87e3 fix mach-o updating 2011-09-01 07:14:05 -06:00
Matthew Flatt
e7ec9f5eb7 document `scribble/pdf-render; 2011-09-01 07:14:03 -06:00
Matthew Flatt
ff140d721c remove doc for non-existent function 2011-09-01 07:14:02 -06:00
Robby Findler
216aee244f adjust drracket so that it copies the definitions text before evaluating it
this means that various things that try to color and otherwise show info by
changing the way the editor looks no longer need to worry about whether it
is locked and delay things in some complicated way. also, this means that
users can edit while drracket is running the program which is hopefully
less confusing.
2011-08-31 22:17:34 -05:00
James Ian Johnson
3f23a67d57 Fixed the duplicate identifier bug in match-define-values and changed identifiers to conform to naming conventions. 2011-08-31 22:27:02 -04:00
James Ian Johnson
dc61372f3c Implemented Sam's suggested changes for new forms, and added a new match/values form. 2011-08-31 21:45:21 -04:00
James Ian Johnson
93e1b634a3 Added let and define forms that generalize let-values, let*-values and define-values 2011-08-31 21:45:21 -04:00
Robby Findler
fd5019ddea added one more log line 2011-08-31 20:26:31 -05:00
Robby Findler
a98fd7f60b fixed a leak in the compile locking protocol implementation and added better logging 2011-08-31 19:05:08 -05:00
Robby Findler
fb4ae5d83d add some ellipses to the debugger value truncation 2011-08-31 19:05:07 -05:00
John Griffin
bdee3509b7 adjust debugger to print smaller version of values to improve performance 2011-08-31 19:05:05 -05:00
Vincent St-Amour
168291c89d Use the right Scribble form for flags. 2011-08-31 16:53:29 -04:00
Vincent St-Amour
d028b63a08 Fix flag name in raco exe docs. 2011-08-31 15:53:10 -04:00
Vincent St-Amour
b105093f61 Fix the Compiled-Non-Module-Expression type.
Closes PR 12150.
2011-08-31 14:29:58 -04:00
Robby Findler
8dbb879b0f adjust timeout for planet tests to 2x the number of seconds it takes to run
on my (slowish) laptop
2011-08-31 13:04:07 -05:00
Vincent St-Amour
0449c3b397 Remove useless requires. 2011-08-31 12:40:24 -04:00
Vincent St-Amour
166efdd2ec Move interactive helpers away from prims.rkt. 2011-08-31 12:40:24 -04:00
Sam Tobin-Hochstadt
36219c4b93 Use reference implementation for srfi/11.
Closes PR 12147.
2011-08-31 12:38:38 -04:00
Casey Klein
145828527f Fixes handling of pattern variables that look like metafunctions 2011-08-31 11:20:02 -05:00
Matthew Flatt
d8c04a7d57 try to fix bundle script for new "cache.rktd" format 2011-08-31 09:48:57 -06:00
Ryan Culpepper
a5bda8e0cd db: moved private contracts to db/base, removed useless requires 2011-08-31 05:40:24 -06:00
Ryan Culpepper
8611435269 db: improved locking
Tests suggest new locking is faster, but primary benefit is
detecting when thread holding lock is killed.
2011-08-31 05:40:24 -06:00
Ryan Culpepper
19b1ff101c db: fixed kill-safe-connection, improved tests 2011-08-31 05:40:24 -06:00
Ryan Culpepper
96663d4fa4 db: added #:use-place arg for ffi-based connections
SQLite and ODBC connections can use places to avoid blocking all
Racket threads.
2011-08-31 05:40:24 -06:00
Jon Rafkind
5f0a221a03 [honu] allow already parsed expression to pass through 2011-08-30 21:11:11 -06:00
Robby Findler
050d0c0fe0 fix scribble pdf button
closes PR 12141
2011-08-30 20:40:58 -05:00
Jon Rafkind
5dab69cf4b [honu] new macro test 2011-08-30 17:19:17 -06:00
Jon Rafkind
6af36bc25d [honu] treat #\return like #\newline 2011-08-30 17:19:17 -06:00
Jon Rafkind
d88b75a9b7 [honu] macros can be defined with honu syntax 2011-08-30 17:19:17 -06:00
Jon Rafkind
6c75b60d1b [honu] add assignment operator 2011-08-30 17:19:17 -06:00
Kevin Tew
b110671c5c Comment out broken place check 2011-08-30 16:21:32 -06:00
Kevin Tew
4d8833eab2 abandon unused scheme_socket_to_ports during place copy 2011-08-30 16:21:32 -06:00
Vincent St-Amour
c414b09ecf Dynamic-require the optimizer. 2011-08-30 17:54:25 -04:00
Matthias Felleisen
e4039661d4 Closes PR12140 2011-08-30 17:21:54 -04:00
Matthias Felleisen
c5155b6b75 basic fixes to figure.tex; partially addresses PR 12140 2011-08-30 17:21:53 -04:00
Robby Findler
ce0da835ce adjust the 'recently opened files' menu item so its contents are contain fewer redundant entries
amusingly I was reminded to do this by Matthew's recent commit message
saying that normal-case-path is usually a bad idea
2011-08-30 16:11:00 -05:00
Robby Findler
c11b7b3c9a double the planet tests timeout (again) 2011-08-30 16:10:59 -05:00
Vincent St-Amour
0510bb0949 Have drdr run the missed opts tests. 2011-08-30 17:00:25 -04:00
Vincent St-Amour
e0f4ec56c4 Turn off TR timing. 2011-08-30 17:00:25 -04:00
Vincent St-Amour
70aaf6bf24 Delay evaluation of numeric base env types. 2011-08-30 17:00:25 -04:00
Vincent St-Amour
f3d22879a2 Make TR timing info fit on a line. 2011-08-30 17:00:25 -04:00
Casey Klein
ecdd50da09 Tests defined-checks directly 2011-08-30 15:10:50 -05:00
Casey Klein
c25c0b2868 Deletes duplicate tests 2011-08-30 15:10:50 -05:00
Casey Klein
c0625dc30c Adds define-term form 2011-08-30 15:10:50 -05:00
Matthew Flatt
35a8359c6d remove some path case normalization
The change allows `raco setup' to reach a fixed point under Windows
for "redex/examples/cont-mark-transform".

I'm more and more convinced that `normal-case-path' is never
a good idea. In some cases, maybe it's good to recognize a
few extra equivalences, but it works badly when paths are taken
from many sources and are not consistently normalized. It's better
to just preserve case.

For basic normalization, `simplify-path' is the right choice. Use
inode identity (as `raco setup' does) when anything stronger
than `simplify-path' is needed.
2011-08-30 13:53:25 -06:00
Matthew Flatt
959db06c7c change "cache.rktd" format to be platform-independent
The format previously included relative paths in the syntax
of the platform used to run `raco setup'. While a "cache.rktd"
built on Unix would work for Windows, the reverse would not
be true. Also, `raco setup' under Windows would get confused
because it would arrive at different relative paths for the
same collection (e.g., "drracket/private" and "drracket\\private").
The portable representation of relative paths is also
normalized.

A "cache.rktd" file still has absolute paths for Planet packages
or links installed with `raco link', but that's not a problem for
packaging a distribution with a portable "cache.rktd".

Also, `raco setup' cleans "cache.rtkd" by removing collections
that are omitted and by not including collections that have no
"info.rkt"/"info.ss" file.
2011-08-30 13:53:24 -06:00
Robby Findler
0fbed43a26 Fix 'place's handling of the result of resolved-module-path-name
Plus minor cleanups:
 - fixed indentation
 - removed useless gen-create-place function
 - avoid using the guard position of syntax-case
 - drop useless datum->syntax call (it returns syntax
      objects unmodified and generate-temporary
      returns a syntax object)
 - "interal" => "internal"
 - minimized the generated code (move into a function call)
 - check to make sure constructed lambda expression is well-formed
 - check to make sure 'place' is used inside a module (or else
   several other things it use will fail)
2011-08-30 14:46:02 -05:00
Ryan Culpepper
b706fc1ebc db: cleaned up testing script, run sqlite tests by default 2011-08-30 12:04:25 -06:00
Ryan Culpepper
883e9e9e6b syntax/parse: syntax-parse sets current-syntax-context 2011-08-30 12:04:25 -06:00
Ryan Culpepper
281df3221e db: tried async execution with odbc... didn't work
Added note in TODO, my guess why not.
Fixed odbc ffi bindings, added a few more status checks.
2011-08-30 12:04:25 -06:00
Ryan Culpepper
f339060e55 db: added note on performance, edited note on isolation 2011-08-30 12:04:24 -06:00
Ryan Culpepper
418985d4c4 db: fixed issues with statement finalization (don't use weak hash)
In some cases, statements were disappearing from statement-table
without being finalized; this makes disconnect fail.
(I was only able to produce the problem when the db lib was
instantiated in a sub custodian that is later shutdown....
like the way the rackunit gui runs the test suite.)
2011-08-30 12:04:24 -06:00
Ryan Culpepper
397702808a db: fixed virtual-statement
Eliminated interface test (shallow) in favor of method test
(correct, recursive). Also made vstmts work with virtual-connections.
2011-08-30 12:04:24 -06:00
Ryan Culpepper
94456ad0ec db: moved pg-only code out of interfaces module 2011-08-30 12:04:24 -06:00
Ryan Culpepper
b3e55dc078 db: added note on sql injection, moved param paras to stmt section 2011-08-30 12:04:24 -06:00
Ryan Culpepper
1c6817426e db: added group-rows, #:group arg to query-rows 2011-08-30 12:04:24 -06:00
Ryan Culpepper
c13c22f0e4 fixed missing arg to raise-type-error 2011-08-30 12:04:24 -06:00
Kevin Tew
d5d28d3357 fix [] to {} 2011-08-30 11:27:18 -06:00
Kevin Tew
07c5c076e2 Fix cpointer and cstruct tag text 2011-08-30 09:52:06 -06:00
Sam Tobin-Hochstadt
534d89b983 Fix type of `make-temporary-file'. 2011-08-30 11:33:40 -04:00
Sam Tobin-Hochstadt
3e1eb67336 Make environments much lazier about computing types; remove useless requires.
Allow duplicate type annotations when they are the same type.
2011-08-30 11:33:40 -04:00
Jay McCarthy
2dc0098d86 Changing test phase 2011-08-30 08:52:54 -06:00
Robby Findler
936b51adf1 double planet tests timeout 2011-08-30 08:12:32 -05:00
Robby Findler
61aaf584c5 adjust the threading protocol for compilings files to be kill safe 2011-08-30 07:59:33 -05:00
Robby Findler
8ea1487eea double planet tests timeout 2011-08-30 06:52:00 -05:00
Stephen Chang
8d962c0b4f add strictness tests for Lazy Racket 2011-08-30 02:31:05 -04:00
Eli Barzilay
734fc832b7 Twitter link for @racketlang; small tweaks. 2011-08-30 01:07:32 -04:00
Eli Barzilay
449fab512b Plot doc typo.
Fixes PR12133.
2011-08-29 23:59:38 -04:00
Eli Barzilay
0f84202f78 This test can fail when running with the CGC. 2011-08-29 23:36:08 -04:00
Eli Barzilay
4ae7e05632 Finally there should be no temp file leftovers now. 2011-08-29 22:12:25 -04:00
Eli Barzilay
14357370dd Some small improvements. 2011-08-29 22:12:07 -04:00
Eli Barzilay
187110cc2c Change default temporary format from "mztmp~a" to "rkttmp~a". 2011-08-29 20:53:57 -04:00
Robby Findler
d4f4f754f1 make make-temporary-file use the source location for its template argument
(This involves making make-temporary-file be a macro instead of a procedure.)
2011-08-29 19:36:33 -05:00
Robby Findler
d2d02cc7a2 lengthened the planet tests timeout 2011-08-29 19:36:32 -05:00
Robby Findler
1efcb24575 adjust the fonts for the error message in the online check syntax 2011-08-29 19:36:31 -05:00
Eli Barzilay
4ec565ae97 Add the missing documentation for ,check-requires. 2011-08-29 17:41:35 -04:00
Eli Barzilay
a2d483bb95 Removed waterworld. 2011-08-29 16:58:03 -04:00
Eli Barzilay
f3f3af124f Removed SrPersist.
Blessed-by: Ryan
2011-08-29 16:55:42 -04:00
Eli Barzilay
1b05a2968c Quick fix
(Didn't realize that tool names are relative to the info file.)
2011-08-29 16:48:15 -04:00
Eli Barzilay
57ea31cca2 With 4f83f7f, the hack around PR7104 is no longer needed. 2011-08-29 16:36:24 -04:00
Eli Barzilay
ffbd9e16ea Some info.rkt cleanups. 2011-08-29 16:33:13 -04:00
Eli Barzilay
e788903d0e Remove a bunch of no-longer-needed `compile-omit-paths', and move the
few ones into the subcollections.
2011-08-29 16:33:12 -04:00
Eli Barzilay
d8029e4fca Organize the errortrace tests. 2011-08-29 16:33:12 -04:00
Vincent St-Amour
15aeb099ea Add Nonnegative-Integer as a synonym for Natural. 2011-08-29 15:26:12 -04:00
Eli Barzilay
0e31b37aa4 Documentation typo. 2011-08-29 15:13:01 -04:00
Eli Barzilay
0c26a38bed `scribble/tools' is Robby's. 2011-08-29 15:13:01 -04:00
Eli Barzilay
89096b8838 Added `check-requires'. 2011-08-29 15:13:00 -04:00
Sam Tobin-Hochstadt
e67415171a Improve types for some date operations; fix typo. 2011-08-29 12:08:13 -04:00
Sam Tobin-Hochstadt
8a4aee8865 Fix typo.
Reported-By: Shriram Krishnamurthi <sk@cs.brown.edu>
2011-08-29 12:08:13 -04:00
Sam Tobin-Hochstadt
d000567b79 Improve formatting of reference docs for reader abbreviations. 2011-08-29 12:08:13 -04:00
Kevin Tew
a810b30b87 remove underscore from cpointer key 2011-08-29 08:44:32 -06:00
Robby Findler
8bcbaa11d6 adjust drracket's userspace initialization so that it does not set the
user's pretty-print-columns globally; instead it just records the value
and uses parameterize to install it when printing results
2011-08-29 08:42:42 -05:00
Matthew Flatt
46a0fe9490 fix `compile-omit-files' handling for Planet packages
The bug was introduced with changes to support `raco link'.
2011-08-28 20:02:23 -06:00
Matthew Flatt
43dd4c7ab9 path normalization in setup/scribble
Needed so that `raco setup' doesn't rebuild documents as it
decides, say, that the "games/cards" document depends on
"games/scribblings\\games.scrbl" instead of
"games/scribblings/games.scrbl".

Has this been needed for a while, or did it somehow
become needed with recent changes to `raco setup' to
support `raco link'?
2011-08-28 19:20:19 -06:00
Matthew Flatt
b02e37b0b9 restore module cache
The module cache was added in 97ce26b1 (April 16, 2011),
but it was accidentally disabled in e9721058 (May 5, 2011).

This time, I figured out a way to test whether the cache is
working (other than to benchmark examples, which is how I
discovered that it wasn't working).
2011-08-28 18:15:44 -06:00
Matthew Flatt
2d1b0172fb move Reference reader & prnter docs to the model chapel
instead of having those sections buried in the I/O chapter
2011-08-28 18:15:43 -06:00
Robby Findler
64067efb04 adjust the online check syntax so that you get a subtle indication of read errors instead of just silence 2011-08-28 12:30:41 -05:00
Matthew Flatt
2692d119be fix cross-reference 2011-08-28 11:08:33 -06:00
Matthew Flatt
4f83f7f279 allow phase 1+ references to not-yet-defined bindings
For example,

 (define-for-syntax (f x) (g x))
 (define-for-syntax (g y) y)

is now allowed. The unbound-variable check for phase 1
and up is delayed until after the module body is partially expanded.
2011-08-28 10:27:31 -06:00
Matthew Flatt
b628ae8424 remove leftover tmp file during reference build 2011-08-28 07:50:41 -06:00
Ryan Culpepper
c97b3144fa db: added note for SQL Server 2011-08-27 16:31:22 -06:00
Ryan Culpepper
19774260f7 improve Continue db code: use table-exists? instead of catch all exn? 2011-08-27 16:31:22 -06:00
Ryan Culpepper
a2f75e494d db: implemented list-tables for odbc (db2, oracle only)
added dbms field to odbc connections
2011-08-27 16:31:22 -06:00
Ryan Culpepper
78f7c4fcd4 db: fix problems found by drdr
avoid running odbc-dependent modules in drdr
  fix scribble config to use abs mod paths in eval setup
2011-08-27 16:31:22 -06:00
Ryan Culpepper
92e2d1eb6e db: split off db/util/datetime module 2011-08-27 16:31:22 -06:00
Ryan Culpepper
a91e6f6452 db: "recordset" -> "rows-result", "rows" 2011-08-27 16:31:22 -06:00
Ryan Culpepper
7bd370cd33 fixed typo in Continue tutorial 2011-08-27 16:31:22 -06:00
Robby Findler
0f534be12c oops 2011-08-27 17:25:52 -05:00
Robby Findler
7c640c5c5d add a test case for starting up drracket when there is no writing to the filesystem allowed 2011-08-27 17:25:15 -05:00
Robby Findler
9fcc12b6a0 adjust drracket to be more accomodating in the presence of hostile filesystems 2011-08-27 16:41:35 -05:00
Robby Findler
8fd388fde1 adjust put-preferences docs to match implementation 2011-08-27 16:41:34 -05:00
Robby Findler
72e5e1248f make all of the planet tests run sequentially (as they manipulate global
planet state that causes them to fail when run in parallel)
2011-08-27 16:41:33 -05:00
Robby Findler
25eb851217 Revert "add more debuggin info to the thread-safe-resolver.rkt planet test to try to debug it on drdr"
I think I know why this test is failing now; no need for this info anymore

This reverts commit e88c8dbaa0.
2011-08-27 16:41:31 -05:00
Carl Eastlund
126d8192ff Added documentation example of sequence/c for multiple-valued sequences. 2011-08-27 14:46:43 -04:00
Carl Eastlund
fe3d4c9fe6 Fixed sequence/c to work with multiple-element sequences. 2011-08-27 14:13:27 -04:00
Carl Eastlund
871ea6dc76 Added tests for sequence/c with multiple-valued sequences. 2011-08-27 12:57:26 -04:00
Jay McCarthy
5c4a5ceb81 Adding another variant of libssl for CentOS 2011-08-27 06:54:50 -06:00
Jay McCarthy
33f562c5fd Adding tgz 2011-08-27 06:54:50 -06:00
Robby Findler
e88c8dbaa0 add more debuggin info to the thread-safe-resolver.rkt planet test to try to debug it on drdr 2011-08-27 07:54:12 -05:00
Robby Findler
6823941080 adjust framework get and put file functions to use simple-form-path instead
of normalize-path (I'm unsure of the ramifications of this change ...)
2011-08-27 07:54:11 -05:00
Robby Findler
1d13d1399c adjust the framework get file dialog functions to not call normalize-path unless
they've recently checked to see if the file exists
2011-08-27 07:54:10 -05:00
Robby Findler
913883fd28 adjust include-bitmap so that it does not write to the filesystem
(also, Rackety)
2011-08-27 07:54:08 -05:00
Mike Sperber
59be05131c Synch German string constants with latest. 2011-08-27 14:10:59 +02:00
Matthew Flatt
fcf24ab586 fix bug in `raco unpack'
due to recent conversion from `mzscheme' to `racket/base'
2011-08-26 19:31:06 -06:00
Matthew Flatt
733d6b97ff make libs dir to readable by default for sandboxed code
One example use is the handin server, where the ssl library
is needed to run some programs in my class. (I didn't figure
out exactly why, but it seems reasonable.)
2011-08-26 19:31:06 -06:00
Matthew Flatt
5579b12da0 fix `raco link' collection-name checking 2011-08-26 19:31:06 -06:00
Sam Tobin-Hochstadt
005923c284 Only generalize #t, not #f. 2011-08-26 14:08:40 -04:00
Sam Tobin-Hochstadt
c7ac40f33b Repair test for boolean generalization. 2011-08-26 14:08:40 -04:00
Sam Tobin-Hochstadt
598d81671a Intern based on sequence numbers for values that have them.
20% speedup on the empty program.  Closes PR 10734.
2011-08-26 14:08:40 -04:00
Sam Tobin-Hochstadt
403bb6414e Much more infrastructure for timing typed racket passes. 2011-08-26 14:08:39 -04:00
Vincent St-Amour
62a7122744 Fix TR printing. 2011-08-26 14:06:10 -04:00
Matthew Flatt
bedd7b1671 Guide corrections 2011-08-26 10:04:19 -06:00
Matthew Flatt
85790b6611 improve description of andmap' and ormap'
Based on suggestions from Dan Grossman and Ryan Culpepper
2011-08-26 10:03:53 -06:00
Matthew Flatt
71b500b49f speed up mult/unmult in `{get,set}-argb-pixels'
Also add test cases to check consistency of the results.
2011-08-26 09:13:28 -06:00
Eli Barzilay
2ef9f5ae0e Fix a bug in resolve-module-path' to do an expand-user-path', which
`file' specs do too (in `require' etc).
2011-08-26 10:13:27 -04:00
Eli Barzilay
6e50ecad99 Add $1', $2', ..., `$5' as last-value references. 2011-08-26 09:42:56 -04:00
Eli Barzilay
15211fbb42 Fix weak box tests for optional `weak-box-value' argument; add one for the new functionality. 2011-08-26 09:20:26 -04:00
Eli Barzilay
cda4479d1e Hold the saved values weakly. 2011-08-26 09:10:46 -04:00
Matthew Flatt
cc82506be5 fix alpha mult in `set-argb-pixels' 2011-08-26 07:06:31 -06:00
Matthew Flatt
290fe066b6 add optional argument to weak-box-value' and ephemeron-value' 2011-08-26 06:24:34 -06:00
Matthew Flatt
b0245395b7 add a test for undo-clickback repair 2011-08-26 06:07:57 -06:00
lvilnis
b0d909bd8f Fixed a bug with delete, undo and clickbacks in DrRacket 2011-08-26 06:07:57 -06:00
Sam Tobin-Hochstadt
ba09e906d8 Generalize #t and #f to `Boolean'. 2011-08-26 08:05:44 -04:00
Eli Barzilay
3b13b7dfc3 Added ryan as responsible for db collection; added to distribution specs. 2011-08-26 05:26:46 -04:00
Eli Barzilay
6203f53ef6 Syntax-based implementation for saved values, finally working. 2011-08-26 05:26:46 -04:00
Eli Barzilay
1db5ad97f8 Fix another bunch of "language" typos. 2011-08-26 05:26:46 -04:00
Robby Findler
22466b4158 fix a bug where drracket was not moving the menu underscores around
properly in the case that menu keybindings were disabled
2011-08-25 22:54:50 -05:00
Sam Tobin-Hochstadt
7dd209f905 Initial support for standard optional arguments. 2011-08-25 19:00:49 -04:00
Sam Tobin-Hochstadt
717476f84d Repair type of `find-relative-path'. 2011-08-25 19:00:49 -04:00
Ryan Culpepper
26145b4655 updated Continue tutorial to use db library 2011-08-25 12:56:42 -06:00
Ryan Culpepper
93222d4fba db: improved listing of db/base exports in docs 2011-08-25 12:56:42 -06:00
Ryan Culpepper
82896bfce2 db: added list-tables, table-exists? (except for ODBC, so far) 2011-08-25 12:56:42 -06:00
Ryan Culpepper
50f0a32f9e added db library 2011-08-25 12:56:42 -06:00
lvilnis
b77b379534 The "Profile" pane in DrRacket can now be dragged to resize. 2011-08-25 13:39:28 -05:00
Sam Tobin-Hochstadt
760625c031 Revise `require/typed' docs. Closes PR 11890. 2011-08-25 14:10:05 -04:00
Sam Tobin-Hochstadt
3707310250 Properly parse `Values' in types.
Closes PR 11145.
2011-08-25 14:10:05 -04:00
Sam Tobin-Hochstadt
4185da9035 Support vector arguments to `datum->syntax'.
Related to PR 10290.
2011-08-25 14:10:05 -04:00
Robby Findler
eb56a39a50 add the roots to the links info line in the bug report form 2011-08-25 12:33:33 -05:00
Robby Findler
701ea003e7 change the menu shortcuts so that file|close becomes <menukey>-shift-w when there
are multiple tabs (instead of just going away)
2011-08-25 12:33:33 -05:00