Matthew Flatt
ff8a062bfe
guarantee `current-seconds', etc. from 1/1/1970 UTC
...
For all currently supported platforms, the result was already
portable, despite the documentation's hedging.
Also fixed up the documentation in other ways, such as the fact
that `seconds->date' returns a `date*'.
2012-06-23 02:04:55 -07:00
Matthew Flatt
65313a82a7
add a #:build?' argument to
directory-list'
2012-05-16 09:43:23 -06:00
David Van Horn
f029117266
Fixes spelling errors in reference.
2012-02-21 14:21:43 -05:00
Matthew Flatt
a3ce8bf787
doc behavior of `copy-file' and modification dates on Windows
2012-01-31 07:14:25 -07:00
Matthew Flatt
ab9607b35a
adjust a doc correction
2012-01-26 09:30:25 -05:00
Rodolfo Henrique Carvalho
7d97cbecb4
Update collects/scribblings/reference/filesystem.scrbl
2012-01-25 08:48:56 -05: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
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
55a8471838
Quick typo.
2011-09-16 10:48:17 -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
Matthew Flatt
b628ae8424
remove leftover tmp file during reference build
2011-08-28 07:50:41 -06:00
Robby Findler
8fd388fde1
adjust put-preferences docs to match implementation
2011-08-27 16:41:34 -05:00
Matthew Flatt
a7855e20a8
add `raco link'
...
includes a rewrite the "Module Basics" section of the Guide
2011-08-24 09:07:14 -06:00
Matthew Flatt
2606c59a29
fix `call-with-file-lock/timeout' example
2011-08-19 15:58:05 -06:00
Matthew Flatt
11f5c84493
fix make-lock-file-name'; add
path-element?'
2011-08-19 15:46:44 -06:00
Matthew Flatt
1c04cf1b02
make `port-try-file-lock?' work for Solaris
...
Shared locking now allowed only on input port, and exclusive
locking is allowed only on output ports, which allows an implementation
via fcntl(...,F_SETLK,...).
2011-08-11 13:11:26 -06:00
Robby Findler
997813680d
change the #:get-lock-file argument of call-with-file-lock/timeout to #:lock-file
2011-08-11 09:29:31 -05:00
Robby Findler
78a999537d
clean up the contract checking for call-with-file-lock/timeout
2011-08-11 09:29:30 -05:00
Robby Findler
d3f1bed4ae
add missing sentence fragment
2011-08-09 14:07:49 -05:00
Eli Barzilay
ac26fe7554
A ton of @scheme*' ->
@racket*' and related updates.
...
Also, updates some of the mzlib files to point at `racket/*' libraries
rather than to `scheme/*' ones.
2011-06-25 04:08:47 -04:00
Eli Barzilay
debd1f9f1e
Recketizing much in `net/*', mass ".ss" -> ".rkt" conversion in .scrbl files.
...
(Some other minor things here and there.)
2011-06-20 04:27:14 -04:00
Matthew Flatt
f34a31cac9
"under <platform>" -> "on <platform>"; "X" -> "Unix"
...
I originally picked "under" as the preposition to go before
a platform name, but obviously you should build "on" a
platform, and "under" suddenly annoys me. The choice of "on"
is now codified in the documentation style guide. Meanwhile,
"Unix" insted of "X" seems more clear and consistent in the
`racket/gui' docs.
More usefully, this patch also fixes a few out-of-date
platform-specific claims.
2011-06-17 18:54:43 -06:00
Eli Barzilay
c0051518be
Fix `{user,group,other}-{read,execute}-bit' (in the docs too).
...
Make the launcher template copying code try to ensure that all user
access bits are on.
2011-06-14 21:27:36 -04:00
Matthew Flatt
22702a70bd
typo
2011-05-24 06:28:54 -06:00
Matthew Flatt
789081e2c3
fix xref
2011-03-28 10:43:25 -06:00
Matthew Flatt
a5a7076fe0
`file-or-directory-permissions': expose more info, add write mode
...
and add `user-read-bit', etc., to `racket/file'
2011-03-11 02:50:06 -06:00
Matthew Flatt
b5bc288f67
Windows: fix `path-list-string->path-list' to throw away quotes
...
--- which seems to be what the command shell does with quotes in
PATH, at least; Microsoft isn't in the habit of documenting this
sort of thing
2011-01-25 20:30:33 -07:00
Kevin Tew
bc580ac125
call-with-file-lock/timeout
2011-01-20 13:33:02 -07:00
Robby Findler
939f41670d
docs typos
2011-01-20 14:06:00 -06:00
Matthew Flatt
339ce9c594
clarification on #:timeout-lock-there' arg of
get-preference'
2011-01-18 19:52:04 -07:00
Matthew Flatt
98822cf1f9
adjust `racket/gui' and dependencies to survive a locked preference file
...
- adds a `#:timeout-lock-there' argument to `get-preference'
- fixes preference looup in `racket/gui'
- make preference names consistently use `GRacket' and consistently
fall back on `MrEd' names
- fix Emacs-style undo mode while we're at it
2011-01-18 17:37:33 -07:00
Matthew Flatt
3e2af2f39e
change locking of preferences files under Windows
...
to avoid the problem that `rename-file-or-directory' cannot
replace a file that is currently open for reading (unlike Unix)
2011-01-14 08:35:14 -07:00
Matthew Flatt
723b41b3e6
fix `rename-file-or-directory' docs to more accurately report OS behavior
2011-01-13 14:09:12 -07:00
Matthew Flatt
aa4a0faab4
doc typo
2010-12-31 09:41:30 -07:00
Matthew Flatt
dee93e6259
define-runtime-module-path-index and racket/gui/dynamic fixes
2010-11-05 15:54:46 -06:00
Matthew Flatt
75a6bfe119
improve runtime-path support for building stand-alone gui exes
2010-11-05 15:54:44 -06:00
Eli Barzilay
28946a0a43
More reformatting
2010-05-21 20:41:35 -04:00
Eli Barzilay
c4f67b3e74
Small typos, some reformatting.
...
Fixes PR10920
2010-05-21 16:30:16 -04:00
Matthew Flatt
70089070c7
clarify that 'exec-file is not necessarily an absolute path
2010-05-20 12:02:01 -06:00
Eli Barzilay
7f6efdc8be
A lot of "MrEd" -> "GRacket"s.
2010-05-16 23:46:05 -04:00
Matthew Flatt
e504acb726
use .rktl suffix for files meant to be 'load'ed
2010-05-01 09:58:16 -06:00
Matthew Flatt
835ebc0785
add in-directory
2010-05-01 08:29:53 -06:00
Matthew Flatt
2c54268228
move pref file to .rtkd extension, and automatically read from the old PLT Scheme path if the new one doesn't exist
2010-04-28 07:24:39 -06:00
Matthew Flatt
737b6fac01
rackety reference; any lingering reference to racket as scheme is a doc bug
2010-04-27 08:20:16 -06:00
Matthew Flatt
dbc4ea6e82
racketify reference more
2010-04-26 14:42:33 -06:00
Matthew Flatt
c7e723eef7
somewhat rackety core docs
2010-04-22 15:10:25 -06:00
Matthew Flatt
fdba97b1c0
rico
...
svn: r18733
2010-04-04 15:08:35 +00:00
Eli Barzilay
3d9c4b0ac5
Added --addon'/
-A', in addition to $PLTADDONDIR from revision 17121.
...
svn: r17136
2009-12-01 15:11:45 +00:00
Sam Tobin-Hochstadt
ca5f5656c0
document `file->list'
...
fix typos in contracts.
svn: r17134
2009-12-01 14:33:09 +00:00