Commit Graph

21991 Commits

Author SHA1 Message Date
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
84b9cf6b90 fix non-place-friendly parts of finalizer support 2011-08-04 06:57:32 -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
Vincent St-Amour
1a661256f8 Abstract printing of function types. 2011-08-03 17:39:14 -04:00
Jon Rafkind
4324a1a33d [honu] add colored lexer so drracket can color honu syntax appropriately 2011-08-03 14:37:26 -06:00
Jon Rafkind
adecdd5603 [honu] return a parse error if the lexer couldnt find any other matching regex 2011-08-03 14:37:26 -06:00
Eli Barzilay
89dfe3dc50 v5.1.2 stuff 2011-08-03 15:23:14 -04:00
Robby Findler
595272d19a use a (dark) red italic font for online check syntax errors 2011-08-03 13:39:58 -05:00
Matthias Felleisen
7de873f431 added syntax property to universe 'disappeared-use so that keywords in world clauses point to origin and have docs 2011-08-03 14:29:33 -04:00
Matthias Felleisen
c938fdf419 added syntax property 'disappeared-use so that keywords in world clauses point to origin and have docs 2011-08-03 14:25:29 -04:00
Matthias Felleisen
ac919568a6 fix doc bug, with 50386760dd this truly; Closes PR 10559 2011-08-03 11:42:11 -04:00
Matthias Felleisen
50386760dd added launch-many-worlds/proc; Closes 10559 2011-08-03 11:20:05 -04:00
Robby Findler
29a843ac37 get rid of a broken attempt to optimize the 20,000-ft overview refreshing
closes PR 12083
2011-08-03 09:58:23 -05:00
Matthew Flatt
113f889592 correct correction 2011-08-03 08:46:33 -06:00
Matthew Flatt
22c8cdec0b another more doc correction
(should have been part of the previous commit)
2011-08-03 08:40:55 -06:00
Matthew Flatt
6634332458 doc repairs
Thanks to Yin Wang
2011-08-03 08:33:04 -06:00
Matthew Flatt
3a51e80751 fix rendering of transparent structures 2011-08-03 08:14:57 -06:00
Matthew Flatt
37c43c23d6 gtk: fix refresh freeze/thaw and reparent interaction
Closes PR 11947
2011-08-02 20:00:56 -06:00
Matthew Flatt
9a14b47ccc doc typo
Closes PR 12006
2011-08-02 17:15:23 -06:00
Matthew Flatt
3ffa731f80 fix docs
Closes PR 12011
2011-08-02 17:07:39 -06:00
Matthew Flatt
3b8d00029e fix `namespace-attach-module{-declaration}' problem
Closes PR 12048
2011-08-02 17:06:12 -06:00
Robby Findler
b972a0940d Added online expansion and compilation of files
being edited in DrRacket (via places)

Added an API to let tools have access to that
  information (and compute more stuff)

Used that to make an online version of Check Syntax
  which led to a separately callable Check Syntax API.
2011-08-02 16:28:16 -05:00
Robby Findler
33cf3a167b add test case for PR 12084, clean up exception predicates in test suite a little 2011-08-02 16:28:13 -05:00
Robby Findler
32becaf860 added a #:security-guard argument to:
managed-compile-zo
  make-caching-managed-compile-zo
  make-compilation-manager-load/use-compiled-handler
that gets used when compiled files, dep files, and compiled/ directories are created.
2011-08-02 16:28:10 -05:00
Eli Barzilay
63af93f1b4 Minor typo in macro, closes PR12084.
(Committed for Robby)
2011-08-02 16:56:02 -04:00
Eli Barzilay
a748b35f35 Updated DrRacket images 2011-08-02 16:56:02 -04:00
Eli Barzilay
1caa28df28 Fix `unstable/time' & xrepl use. 2011-08-02 16:56:02 -04:00
Eli Barzilay
68fce6d9db Revert "Have DrDr keep ignoring the random seeds."
(Since DrDr never ignored that text.)

This reverts commit e972c0c392.
2011-08-02 16:56:02 -04:00
Eli Barzilay
e52e7defae Much improved `wrapped-output'. 2011-08-02 16:56:02 -04:00
Vincent St-Amour
3f40742968 Remove bash completion for commands we don't provide. 2011-08-02 15:14:07 -04:00
Matthew Flatt
fba1777b8a fix contract 2011-08-02 06:48:54 -06:00
Matthias Felleisen
8e176bc275 added documentation for Carl's ... in the student languages; otherwise 2e dots in templates look ugly 2011-08-01 20:13:20 -04:00
Matthew Flatt
9a5bae277a set self modidx on primitive modules
which fixes a crash related to `module->namespace'
2011-08-01 15:16:04 -06:00
Matthew Flatt
7977d1817e expose the scribble' command-line driver as racket/render' 2011-08-01 14:40:49 -06:00
Matthew Flatt
5ef147397c add missing items to the release notes
Merge to 5.1.2
2011-08-01 13:15:17 -06:00