Commit Graph

19219 Commits

Author SHA1 Message Date
Matthew Flatt
1c1d1934f4 ftp: fix data download for some servers 2011-08-10 08:28:13 -06:00
Matthew Flatt
be0260792e fix doc typos 2011-08-10 08:28:13 -06:00
Matthew Flatt
cc78030cd2 download LNCS and JFP class files on demand 2011-08-10 08:28:13 -06:00
Robby Findler
e043297ef8 use the supplied security guard in one more place where compiler/cm needs write permission 2011-08-10 07:45:14 -05:00
Asumu Takikawa
f818405dee Fix typo. 2011-08-10 01:28:34 -04:00
Matthew Flatt
306e091f35 fix a `(with-handlers ([exn? ....]) ....)' 2011-08-09 16:33:18 -06:00
Matthew Flatt
2d06f4247f keyword-function repairs 2011-08-09 16:33:17 -06:00
Matthew Flatt
001cb75bac syntax-taint repairs
for problems exposed by more agressive arming of `lambda'
and `#%app'
2011-08-09 16:33:17 -06:00
Matthew Flatt
f646511ca7 first small step toward cross-module optimization
Mainly propagates constantness for the benefit of keyword
applications, but also propagates simple constants
2011-08-09 16:33:17 -06:00
Matthew Flatt
5352d670c4 generalize #%variable-reference' and add variable-reference-constant?'
Use the new functions to make the expansion of keyword applications
to known procedure work  with mutation.
2011-08-09 16:33:17 -06:00
Matthew Flatt
39a96dd699 add `prop:liberal-define-context' 2011-08-09 16:33:16 -06:00
Matthew Flatt
3b031d6c87 `define' + keyword lambda at top/module level => static checking
When `define' binds a keyword procedure at the top level or module
level, then it actually binds syntax that checks (i.e., warns
if arith or keywords are bad) and optimizes (i.e., avoids checking
keywords or allocating keyword-argument lists) first-order uses of
the procedure.

Checking and conversion are currently only performed for top-
and module-level bindings, because some macros detect the difference
between a variable or syntax definition --- notably `class' and
`unit'. A related problem in `class' is that the expansion
produces multiple definitions (for direct access to the fast
version of the function), which `class' turns into fields instead
of methods.
2011-08-09 16:33:15 -06:00
Jon Rafkind
2f2e1e6a03 [honu] add :: as the infix cons operator 2011-08-09 16:25:28 -06:00
Jon Rafkind
0871117538 [honu] add [] as a list form 2011-08-09 16:25:28 -06:00
Jon Rafkind
ab0a21db99 [honu] add quote and quasiquote 2011-08-09 16:25:27 -06:00
Jon Rafkind
4538335b1c [honu] return a void expression if there is no current expression waiting to be processed 2011-08-09 16:25:27 -06:00
Robby Findler
d3f1bed4ae add missing sentence fragment 2011-08-09 14:07:49 -05:00
Ryan Culpepper
e7a6d757dc change manual name to "DrRacket Plugins" 2011-08-09 12:29:28 -06:00
Ryan Culpepper
707fdadd1b unstable/gui/pict (blur): removed mode arg, true gaussian blur code 2011-08-09 12:29:28 -06:00
Ryan Culpepper
57bb02ef32 unstable/gui/pict (shadow-frame): only blur visible parts of shadow 2011-08-09 12:29:28 -06:00
Ryan Culpepper
78c784ed6f unstable/gui/pict (blur):
fix blur wrt smoothing mode
  refactored code, used macros for inlining
  added #:pre-inset?
2011-08-09 12:29:28 -06:00
Ryan Culpepper
95ce7ec6ed scribble style (capitalize section names) 2011-08-09 12:29:28 -06:00
Ryan Culpepper
6442a2777b unstable/gui/pict: added shadow-frame and arch 2011-08-09 12:29:28 -06:00
Ryan Culpepper
2a0153cadb unstable/gui/pict: added scale-to 2011-08-09 12:29:27 -06:00
Ryan Culpepper
efa8051a57 moved tag-pict, etc from unstable/gui/ppict to unstable/gui/pict 2011-08-09 12:29:27 -06:00
Ryan Culpepper
d1fcbc0a7c merged unstable/gui/blur into unstable/gui/pict 2011-08-09 12:29:27 -06:00
Ryan Culpepper
19ec1fbccd split off unstable/gui/pict module (no racket/gui dependency)
added examples to docs
2011-08-09 12:09:08 -06:00
Jon Rafkind
3bcf99b8f6 [honu] parse brace-enclosed code as an expression 2011-08-09 11:57:52 -06:00
Jon Rafkind
b823df23a7 [honu] handle empty files 2011-08-09 11:57:52 -06:00
Jon Rafkind
182cded2a3 [honu] return the last expression if two atomic expressions occur in sequence. add a simple for loop macro 2011-08-09 11:57:52 -06:00
Jon Rafkind
8a352da71c re-enable test 2011-08-09 11:57:51 -06:00
John Clements
afc01ca2d1 updated expected (cons 1 2) error message 2011-08-09 09:42:23 -04:00
Jay McCarthy
cf5192226e The FrTime docs need to be heavily revised and this won't happen shortly, so turning off these tests 2011-08-09 06:42:09 -06:00
Jay McCarthy
6da3ac36ec Test is sensitive to contract messages 2011-08-09 06:42:09 -06:00
Asumu Takikawa
09e92ec81a Recommend vim-racket plugin instead of .vimrc hacks 2011-08-09 01:37:01 -04:00
Robby Findler
40c68df514 fix the auto-square-bracket thing for with-syntax
closes PR 12096
2011-08-08 19:30:13 -05:00
Matthew Flatt
f34c0329bf scribble/manual: add `current-display-width' parameter 2011-08-08 17:10:54 -06:00
Robby Findler
c908e08dd6 fix the text of the slideshow tutorial to talk about #:bullet instead of item/bullet
closes PR 12095
2011-08-08 16:50:46 -05:00
Jay McCarthy
26ddc5273f Mistake 2011-08-08 12:39:23 -06:00
Jay McCarthy
756e86c9a7 DrDr racket not new enough 2011-08-08 12:39:23 -06:00
Jay McCarthy
fd90ab4c9b Note installation step 2011-08-08 12:39:23 -06:00
Jay McCarthy
24899d05cd Communicating with program 2011-08-08 12:39:23 -06:00
Jay McCarthy
64e41704e8 Splitting messages 2011-08-08 12:39:23 -06:00
Jay McCarthy
6b91638405 Updating help page 2011-08-08 12:39:22 -06:00
Jay McCarthy
a4f70ae598 Fixing PR12085 2011-08-08 12:39:22 -06:00
Jay McCarthy
f0e52b80df Adding generalization of log to serve/servlet 2011-08-08 12:39:21 -06:00
Jay McCarthy
a11734d990 Getting it working after the crash 2011-08-08 12:39:21 -06:00
Jon Rafkind
aac511dfb6 disabled the wrong test. this is the right one 2011-08-08 10:32:08 -06:00
Robby Findler
d1e3765af7 added save-svg-image 2011-08-07 19:35:29 -05:00
Jon Rafkind
3e8ad26b1f need a single expression so the test doesnt fail 2011-08-07 18:24:30 -06:00
Jon Rafkind
513d73068e disable honu test for now 2011-08-07 17:51:29 -06:00
Robby Findler
38596a9b58 manage the state for delegates better (used by the drracket contour window)
closes PR 12094
2011-08-07 18:39:22 -05:00
Eli Barzilay
dae2ac4519 Move the lncs ignore into its own directory. 2011-08-06 21:00:53 -04:00
Eli Barzilay
d952a05ea9 Make mzlib/etc' reprovide identity' from `racket/function'. 2011-08-06 20:59:16 -04:00
Robby Findler
1218cbfef6 improve send error message in the case that there is only one arg
closes PR 12091
2011-08-06 19:27:02 -05:00
Matthew Flatt
2d4e14dca8 fix a kill-safety problem in the module name resolver 2011-08-06 08:25:36 -06:00
Robby Findler
fc50be1caa when moving the insertion point due to a search, use call-as-primary-owner
to scroll the right editor
   closes PR 12080
2011-08-05 23:33:51 -05:00
Robby Findler
eeb79e0e48 add more detail to the hopefully-help-me-debug log messages that drracket reports about the online check syntax bug 2011-08-05 21:39:35 -05:00
Robby Findler
a090a0e903 adjust the tabify and tabify-selection methods so they do nothing when the colorer is frozen or stopped
closes PR 12087
2011-08-05 21:39:31 -05:00
Robby Findler
7a001e3dd2 avoid using paren balancing stuff when the colorer is frozen (when user pushes f1)
closes PR 12088
2011-08-05 21:39:28 -05:00
Vincent St-Amour
6e6d16b6c9 Add documentation about using Racket with popular text editors. 2011-08-05 17:31:13 -04:00
Matthias Felleisen
e3c3418fae i hate git mv and rm 2011-08-05 12:50:49 -04:00
Matthias Felleisen
a61ecf1583 organized tests according to style file 2011-08-05 12:46:26 -04:00
Matthias Felleisen
a51e2494b6 bug fix: when the initial world is a final world, big-bang should use only the final draw handler -- if it exists 2011-08-05 12:46:25 -04:00
Matthias Felleisen
271f1c19ef added directory for tests expected to fail 2011-08-05 12:46:25 -04:00
Matthew Flatt
f7fd274e80 fix `defstruct' to use more long-name layout options 2011-08-05 10:03:38 -06:00
Matthew Flatt
ad7fddf878 add column-attributes' support and use it to fix struct' rendering 2011-08-05 10:03:38 -06:00
Matthew Flatt
b7afb3cf8f Scribble: support for "boxable" blocks in Latex output
For example, if you make a multi-column table with a
`racketblock' in each column, then the columns size
to fit the code --- instead of forcing the table width
to match the page width and forcing each column to take
an equal share width.
2011-08-05 10:03:38 -06:00
Matthew Flatt
4ac85de974 Scribble: style adjustments to deter code wrapping
For HTML, the style used in the output of `racketblock' now
disables line wrapping, and the Rkt text styles inherit
line-wrap behavior. This doesn't solve the general problem
of code overflowing the horizontal space, but it makes the
failure mode usefully better.

A new 'vertical-inset nested-flow style is used by
`defproc', `defform', etc. It has no effect for HTML,
but it introduces suitable vertical space for Latex output
(in case you want to use `defproc' in a SIGPLAN-format
paper, for example).
2011-08-05 10:03:37 -06:00
Matthew Flatt
378ca5ffc2 Scribble Latex: change 'boxed to use a blue vertical bar
... to the left of a definition, instead of a horizontal line
before the definition
2011-08-05 10:03:37 -06:00
Matthew Flatt
a2446dc019 fix `reverse' error message
Closes PR 12090
2011-08-05 10:03:37 -06:00
Robby Findler
c2fdf43189 add a file I shoudl have added in an earlier commit (for the drracket read-language docs) 2011-08-05 09:02:34 -07:00
Casey Klein
576272362b Adds define-judgment-form form 2011-08-05 07:19:23 -05:00
Casey Klein
8887ea2ef3 Refactors meta-function implementation further 2011-08-05 07:19:22 -05:00
Casey Klein
6e38233286 Deletes dead code 2011-08-05 07:19:22 -05:00
Casey Klein
7898018cad Factors out name-consistency check 2011-08-05 07:19:22 -05:00
Casey Klein
24dc005ff4 Removes special case for typesetting recursive calls
This case doesn't appear necessary, since LWs are constructed in an
expansion step that occurs after all of the meta-function names
(including the current one) are bound.
2011-08-05 07:19:21 -05:00
Casey Klein
c1198d0687 Makes tests executable from outside their directory 2011-08-05 07:19:21 -05:00
Casey Klein
3dc677d270 Factors out parsing of relation contracts 2011-08-05 07:19:21 -05:00
Casey Klein
c9c2bb8ad7 Refactors construction of meta-function and relation lws 2011-08-05 07:19:20 -05:00
Eli Barzilay
1a65678924 Add a note to the command-line help text, and describe the functionality
in case someone really wants to use this.
2011-08-05 02:44:57 -04:00
Eli Barzilay
d048954f04 Poll mirrors for the download web pages.
This is triggered by an environment variable that points at a file that
is used to cache polling results.  If the variable is not specified just
use all mirror links as usual.  This way, for random builds when people
try things out there is no problem, while the nightly builds (and my
manual builds when there are changes) do the right thing.

The file holds information about the polls, and verifies that the
download exists -- if not, the link is not shown.  If it is, then it
tries to get the size of the remote file (via HEAD or via FTP), and if
it doesn't match our download information, then drop it too.  If no size
informaion is available, include it, but re-poll after a few days.  Even
if the size matches, a re-poll will be done after a month, so stale
mirrors will not stick.
2011-08-05 02:05:59 -04:00
Eli Barzilay
5a7ddd6611 Add an optional path argument to `ftp-directory-list'. 2011-08-05 01:14:16 -04:00
Eli Barzilay
6a1336e75e Return a file size string when possible.
This takes the advice from
  http://files.stairways.com/other/ftp-list-specs-info.txt
further: search for the date by an explicit occurrence of a known month
name.  This means that we won't see files with bad names (they'd be
filtered out of the result), but the filtered out entries are ones that
would not be usable with `ftp-make-file-seconds'.

When the month is found, and the entry is a file, look for a number
preceding the month, and if found, return it as the file size string.
This is a minor change in the API.  (But it's probably better to either
revise it further, or eventually make it irrelevant by exposing the
interesting functionality via `net/url'.)
2011-08-05 01:14:16 -04:00
Eli Barzilay
4daaa84636 Removed a bunch of bytes->strings conversions since output does that anyway.
Also got rid of `filter-tcp-data', and just use `port->lines' instead.
2011-08-05 01:14:16 -04:00
Eli Barzilay
234015b34d Make `ftp-make-file-seconds' use a correct year instead of 2002.
This function was using 2002 when there's no year...  Updated it to use
the last occurrence of the guessed date, as described at
  http://files.stairways.com/other/ftp-list-specs-info.txt

This function still looks pretty bogus -- the RFC does *not* say
anything about the format of response to `LIST', so it's whatever
semi-random thing the server does.  (The above link looks like an
attempt to fix it, but I didn't see anything more official than that.)
From some looking around, it looks like ftp clients just try a bunch of
patterns against the text.  Add also warnings in the documentation about
this.
2011-08-05 01:14:16 -04:00
Eli Barzilay
99d48abcf3 Remove all mentions of `locale' from the docs.
It's utf-8 now, but that's the default in the docs anyway.
2011-08-05 01:14:16 -04:00
Eli Barzilay
ba48669ead Use UTF-8 and CRLF in the ftp client
RFC 2640 specifies that all transport strings are assumed UTF-8 if they
can be parsed as such.  To make this complete it should really send a
FEAT and check that the result has "UTF8", but it's kind of redundant
since there's not much else to do if it isn't.

Also, switch to a more correct line endings of CRLF when sending
messages to the server.
2011-08-05 01:14:16 -04:00
Eli Barzilay
1be5019978 Switch from the "du -h" output in "installers.txt" to plain byte counts. 2011-08-05 01:14:16 -04:00
Robby Findler
0c6bc11ac3 start a section for documenting the symbols that DrRacket passes to a language's get-info proc
add docs for a few of these, notably the syntax colorer
2011-08-04 21:40:29 -07:00
Tony Garnock-Jones
54285e2f92 Correct type on typed variant of module->namespace. 2011-08-04 13:34:14 -04:00
Matthew Flatt
941dacd966 gtk: set app name on startup
Closes PR 11896
Closes PR 11408
2011-08-04 09:27:05 -06:00
Matthew Flatt
71621bfd72 remove unsupported MDI styles and method
Closes PR 12042
2011-08-04 08:02:54 -06:00
Matthew Flatt
1bc8978ce8 cocoa: fix list-box scrolling
Closes PR 11948
2011-08-04 07:38:10 -06:00
Matthew Flatt
cdf2085703 gtk: fix frame position tracking
Closes PR 11931
2011-08-04 06:45:18 -06:00
Robby Findler
78bdcbd071 clear the online expansion error message as soon as the buffer is modified
(instead of waiting for the next attempt to fail/succeed)
2011-08-03 23:40:54 -07:00
Robby Findler
337dbf8540 try to use the given security guard when deleting files, too 2011-08-03 23:40:51 -07:00
Eli Barzilay
a6705c4f07 Typo fix 2011-08-03 22:00:22 -04:00
Vincent St-Amour
5d4e5ed393 Break long lines. 2011-08-03 17:39:16 -04:00
Vincent St-Amour
b124d68f40 Improve error message for calls to 'sort' when inference fails. 2011-08-03 17:39:15 -04:00