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
Eli Barzilay
2fd3c23393
Undo this change. Like I said on the list, it is wrong to poll the
...
environment variable every time it is accessed (especially given that
there will be a command-line option for this). I'll commit a proper
thing later tonight if I get to it.
svn: r17122
2009-12-01 02:16:19 +00:00
Carl Eastlund
b4a32ddc1c
Merged changes from branches/cce/plt+addon-dir:
...
- Added PLTADDONDIR environment variable to control the location of
generated files from Planet and Scribble, specifically by overriding
the result of (find-system-path 'addon-dir).
- Updated documentation of find-system-path to report this change.
svn: r17121
2009-12-01 02:10:50 +00:00
Sam Tobin-Hochstadt
653d0ccd66
Add in-port',
port->list', `file->list'.
...
Add documentation, tests for above.
Allow procedure argument to `fold-files' to return 2 values in all cases.
Document, test.
svn: r16453
2009-10-29 18:49:34 +00:00
Matthew Flatt
a47d94f75f
add file-or-directory-identity (4.1.2.5)
...
svn: r15623
2009-07-29 17:39:03 +00:00
Eli Barzilay
4288c6c2c7
The Scribble reader was improved to make it pull out the syntax
...
punctuations outside of the form, as it does with quote punctuations.
So things like this
#, @foo{...}
that required the space to make the @foo read as a scribble form are
now better written as
@#,foo{...}
This changes all such occurrences. (In case you see this change in
your files and are worried that there might be changes: I mechanically
verified that the result of `read'ing the modified files is identical
to the previous version.)
svn: r15111
2009-06-07 10:12:32 +00:00
Jay McCarthy
55a2990543
Fixing a typo in runtime-path documentation
...
svn: r14997
2009-05-27 11:17:05 +00:00