Commit Graph

19612 Commits

Author SHA1 Message Date
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