Commit Graph

80 Commits

Author SHA1 Message Date
Robby Findler
cce76eba00 fix bug in untar when unpacking a tar file with top-level files 2013-04-03 10:18:02 -05:00
Matthew Flatt
2412611c07 file/untgz: allow extra bytes after tar content
Closes PR 13641
Closes PR 13644
2013-03-31 07:29:06 -06:00
Matthew Flatt
e93f977603 file/untar: handle unknown extensions by skipping
Also, add/improve logging.
2013-03-31 06:59:12 -06:00
Asumu Takikawa
a764f20375 Minor sha1 doc fixes 2013-03-09 17:13:59 -05:00
Matthew Flatt
d113e79fb5 file/untgz: fix race 2013-02-25 06:44:45 -07:00
Eli Barzilay
c7173cd1c6 Improve `file' tests.
* Move sha1 test to the same place, to be run like the others.

* Unify tests for untar and unzip.

* Also improve them: test results instead of failing with errors.  Also,
  generate random text to archive, and use 0 for group+other permission
  bits (to avoid world writable results on an error).
2013-02-24 15:16:00 -05:00
Eli Barzilay
49ab87eadc "PLT Scheme Inc" -> "PLT Design Inc" 2013-02-12 08:06:30 -05:00
Danny Yoo
c6775cc060 Fix to inflate: treat EOF as a character, as in the C code.
closes PR 13489.

In the C code, inflate is allowed to peek at least one character
beyond the extent of a deflated byte sequence.  The thread related to
the bug report of PR 13489 documents that deflate can peek beyond EOF.
2013-02-05 17:02:36 -07:00
Eli Barzilay
79b9acd444 2012 -> 2013 2013-01-09 01:17:26 -05:00
Philippe Mechai
3fdd834c6c add missing icon resizing in replace-icons
When replacing icons in an exe file, if the icon is smaller than the target
size and it has an alpha mask it is not resized which lead to an error.
2012-11-27 09:23:45 -07:00
Danny Yoo
1b4ebef117 file/sha1: fix problem with leading zeros
Closes PR 13212
2012-11-27 07:42:48 -07:00
Matthew Flatt
8a77d87a30 add file/unzip
Based on Dave Herman's "zip.plt" Planet package.
2012-11-20 10:12:27 -07:00
Matthew Flatt
a9d2a8a764 file/untar: try to better accomodate Windows permissions 2012-11-19 17:11:21 -07:00
Matthew Flatt
0f47069f98 add file/untgz 2012-11-19 17:01:01 -07:00
Matthew Flatt
3a76581a36 add file/untar 2012-11-19 17:01:00 -07:00
Eli Barzilay
672910f27b Lots of bad TAB eliminations.
I started from tabs that are not on the beginning of lines, and in
several places I did further cleanings.

If you're worried about knowing who wrote some code, for example, if you
get to this commit in "git blame", then note that you can use the "-w"
flag in many git commands to ignore whitespaces.  For example, to see
per-line authors, use "git blame -w <file>".  Another example: to see
the (*much* smaller) non-whitespace changes in this (or any other)
commit, use "git log -p -w -1 <sha1>".
2012-11-07 11:22:20 -05:00
Eli Barzilay
14d8c8b5a5 Newlines at EOFs. 2012-11-06 14:07:15 -05:00
Danny Yoo
dcf4d8b040 adding close-eval at the end of scribble files that have a toplevel evaluator 2012-11-01 15:32:53 -06:00
Matthew Flatt
99274b203a doc fix
Closes PR 13105
2012-09-20 17:49:50 -06:00
Eli Barzilay
18883681a2 Convert all uses of (integer-in 0 255) to `byte?'. 2012-07-22 13:00:05 -04:00
Asumu Takikawa
403aaac7d4 Moved some mzlib library implementations to racket
The libraries moved were:
  - mzlib/control      => racket/control
  - mzlib/date         => racket/date
  - mzlib/deflate      => file/gzip
  - mzlib/inflate      => file/gunzip
  - mzlib/port         => racket/port
  - mzlib/process      => racket/system
  - mzlib/runtime-path => racket/runtime-path
  - mzlib/shared       => racket/shared
  - mzlib/unit         => racket/unit
  - mzlib/unit-exptime => racket/unit-exptime
  - mzlib/zip          => file/zip

The old modules in mzlib are now pointers to the
new modules. These are all modules that were already
redirected in the documentation.
2012-07-11 18:26:10 -04:00
Matthew Flatt
964020f288 implement scribble/srcdoc' via submodules instead of expand'
Also add a `for-doc' require form, make `proc-doc' et al. provide
forms, make `provide/doc' an alias for `provide'.
2012-05-12 01:37:50 -06:00
Eli Barzilay
3718600125 2011 -> 2012 2011-12-31 15:16:59 -05:00
Matthew Flatt
243332f429 move .ico support from raco exe' internals to file/ico' 2011-11-16 14:45:32 -07:00
Matthew Flatt
be0260792e fix doc typos 2011-08-10 08:28:13 -06:00
Eli Barzilay
3157955d40 ".ss" -> ".rkt" scan done. 2011-07-02 10:37:53 -04:00
Ryan Culpepper
1b702a2ae3 docs reorganization
added tutorial, racket categories
  relabeled some other categories
  normalized manual names: de-bolded, changed some names
2011-07-01 17:16:53 -06:00
Matthew Flatt
59731368fc add ffi/winapi; use it in mzlib/os
Closes PR 12007
2011-07-01 10:42:17 -06: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
Robby Findler
507b1cd8fd moved the docs-complete library into rackunit
to avoid having a separate, new manual for the
  one library
2011-05-05 16:10:42 -05:00
Matthew Flatt
1b14c6a38e fix mistakes uncovered by optimizer warnings 2011-05-03 06:57:48 -06:00
Robby Findler
e7d0029aea added lots of new tests that our documentation is complete 2011-04-25 13:24:43 -05:00
Robby Findler
615bc86668 added pdf-bytes+bounds to the docs for file/convertible and then used it
to make scribble render inline picts with a nearly good looking baseline
2011-03-14 19:38:29 -05:00
Eli Barzilay
59be514889 Use LGPL, after permission from Dorai and Jens 2011-02-21 07:04:42 -05:00
Matthew Flatt
18eb7c86b5 get-resource' and write-resource': support .ini files 2011-02-05 07:39:29 -07:00
David Van Horn
760a58b65d Fixes more spelling errors. 2011-02-04 19:44:13 -07:00
Matthew Flatt
337500552c `file/resource': improve compatibility
by generating "failure" results instead of exn:fail:unsupported
2011-02-04 14:25:09 -07:00
Matthew Flatt
b4ce4bbd2c add `file/resource' 2011-02-04 13:39:49 -07:00
Eli Barzilay
1f49e35b21 2010 -> 2011 2010-12-31 15:59:39 -05:00
Matthew Flatt
1b56d84155 have the pict datatype support conversion to PNG, EPS, or PDF bytes 2010-11-26 11:50:07 -07:00
Matthew Flatt
bd0ca0bcec add file/convertible 2010-11-26 10:53:45 -07:00
Jay McCarthy
209d2a0cda Documenting md5 feature 2010-08-19 16:34:14 -06:00
Matthew Flatt
94799247ee add file/sha1 and use it in openssl/sha1 when OpenSSL fails to load 2010-07-13 16:07:03 -06:00
Robby Findler
f5c18d3300 removed more unnecessary ->d's 2010-07-10 10:01:24 -05:00
Robby Findler
f5310b2908 removed unnecessary ->d contracts (they were actually just -> contracts), plus a little Racketying that I missed in the last commit. 2010-07-10 10:01:24 -05:00
Robby Findler
1f89bea08d Rackety 2010-07-10 10:01:24 -05:00
Eli Barzilay
0ffe4c1efb Revert "Adding XPM parser"
Not needed, since an XPM parser was already implemented.

This reverts commit 4d58a10ff4.
2010-06-23 07:34:40 -04:00
Jay McCarthy
4d58a10ff4 Adding XPM parser 2010-06-22 11:33:06 -06:00