860 lines
23 KiB
Text
Executable file
860 lines
23 KiB
Text
Executable file
2004-12-12 11:22 thomas
|
|
|
|
* NEWS, TODO, samples/write_simple.rb, zip/zip.rb: Fixed 'version
|
|
needed to extract'-field wrong in local headers
|
|
|
|
2004-05-02 15:17 thomas
|
|
|
|
* rubyzip.gemspec: Added gemspec contributed by Chad Fowler
|
|
|
|
2004-04-02 07:25 thomas
|
|
|
|
* NEWS, zip/zip.rb: Fix for FreeBSD 4.9
|
|
|
|
2004-03-28 15:23 thomas
|
|
|
|
* zip/zip.rb: Use RUBY_VERSION not VERSION constant
|
|
|
|
2004-03-28 14:51 thomas
|
|
|
|
* zip/zip.rb: Only use bugfixed Tempfile implementation if the ruby
|
|
version hasnt been fixed (contributed by Nobu Nakada)
|
|
|
|
2004-03-28 14:46 thomas
|
|
|
|
* zip/tempfile_bugfixed.rb: Compatibility with DelegateClass in
|
|
ruby version 1.8.1 and newer
|
|
|
|
2004-03-27 16:09 thomas
|
|
|
|
* test/stdrubyexttest.rb, zip/stdrubyext.rb: Patch for
|
|
stdrubyext.rb from Nobu Nakada
|
|
|
|
2004-03-27 15:30 thomas
|
|
|
|
* test/ioextrastest.rb, test/stdrubyexttest.rb, zip/ioextras.rb:
|
|
converted some files to unix line-endings
|
|
|
|
2004-03-25 16:34 thomas
|
|
|
|
* NEWS, install.rb, zip/tempfile_bugfixed.rb, zip/zip.rb:
|
|
Significantly reduced memory footprint when modifying zip files
|
|
|
|
2004-03-16 18:20 thomas
|
|
|
|
* install.rb, test/alltests.rb, test/ioextrastest.rb,
|
|
test/stdrubyexttest.rb, test/ziptest.rb, zip/ioextras.rb,
|
|
zip/zip.rb: IO utility classes moved to new file ioextras.rb.
|
|
Tests moved to new file ioextrastest.rb
|
|
|
|
2004-02-27 13:21 thomas
|
|
|
|
* NEWS, zip/zip.rb: Optimization to avoid decompression and
|
|
recompression
|
|
|
|
2004-01-30 16:07 thomas
|
|
|
|
* README, test/zipfilesystemtest.rb, test/ziptest.rb,
|
|
zip/stdrubyext.rb, zip/zip.rb, zip/zipfilesystem.rb: Applied
|
|
extra-field patch
|
|
|
|
2003-12-10 00:25 thomas
|
|
|
|
* test/ziptest.rb: (Temporary) fix to bug reported by Takashi Sano
|
|
|
|
2003-10-03 11:05 thomas
|
|
|
|
* zip/: stdrubyext.rb, zip.rb: Thanks to Clifford Heath for
|
|
noticing that Time.to_binary_dos_date and time were reversed
|
|
|
|
2003-08-23 09:42 thomas
|
|
|
|
* test/ziptest.rb, zip/zip.rb, NEWS: Fixed ZipFile.get_ouput_stream
|
|
bug - data was never written to zip
|
|
|
|
2003-08-21 16:01 thomas
|
|
|
|
* alltests.rb, stdrubyexttest.rb, zipfilesystemtest.rb,
|
|
ziprequiretest.rb, ziptest.rb, test/alltests.rb,
|
|
test/stdrubyexttest.rb, test/zipfilesystemtest.rb,
|
|
test/ziprequiretest.rb, test/ziptest.rb: Moved all test ruby
|
|
files to test/
|
|
|
|
2003-08-21 15:54 thomas
|
|
|
|
* NEWS, install.rb, stdrubyext.rb, stdrubyexttest.rb, zip.rb,
|
|
zipfilesystem.rb, zipfilesystemtest.rb, ziprequire.rb,
|
|
ziprequiretest.rb, ziptest.rb, samples/example.rb,
|
|
samples/example_filesystem.rb, samples/gtkRubyzip.rb,
|
|
samples/zipfind.rb, zip/stdrubyext.rb, zip/zip.rb,
|
|
zip/zipfilesystem.rb, zip/ziprequire.rb: Moved all production
|
|
source files to zip/ so they are in the same dir as when they are
|
|
installed
|
|
|
|
2003-08-21 15:26 thomas
|
|
|
|
* filearchive.rb, filearchivetest.rb, fileutils.rb: Removed
|
|
filearchive.rb, filearchivetest.rb and fileutils.rb
|
|
|
|
2003-08-21 15:24 thomas
|
|
|
|
* samples/.cvsignore, samples/example_filesystem.rb, zip.rb: Added
|
|
samples/example_filesystem.rb. Fixed Tempfile creation for
|
|
entries created with get_output_stream where entries were in a
|
|
subdirectory
|
|
|
|
2003-08-21 15:15 thomas
|
|
|
|
* zip.rb, ziptest.rb: Fixed mkdir bug. ZipFile.mkdir didn't work if
|
|
the zipfile doesn't exist already
|
|
|
|
2003-08-21 14:53 thomas
|
|
|
|
* TODO, zipfilesystemtest.rb: Globbing test placeholder commented
|
|
out
|
|
|
|
2003-08-21 14:32 thomas
|
|
|
|
* zipfilesystem.rb, zipfilesystemtest.rb: Implemented ZipFsDir.new
|
|
and open
|
|
|
|
2003-08-21 14:19 thomas
|
|
|
|
* zipfilesystem.rb, zipfilesystemtest.rb: Implemented DirFsIterator
|
|
and tests
|
|
|
|
2003-08-20 22:44 thomas
|
|
|
|
* zipfilesystem.rb, zipfilesystemtest.rb: Implemented
|
|
ZipFsDir.foreach, ZipFsDir.entries now reimplemented in terms of
|
|
it
|
|
|
|
2003-08-20 17:30 thomas
|
|
|
|
* zipfilesystem.rb: All access from ZipFsFile and ZipFsDir to
|
|
ZipFile is now routed through ZipFileNameMapper which has the
|
|
single responsibility of mapping entry/filenames
|
|
|
|
2003-08-20 17:18 thomas
|
|
|
|
* alltests.rb, stdrubyext.rb, stdrubyexttest.rb: Added
|
|
stdrubyexttest.rb and added test test_select_map
|
|
|
|
2003-08-20 16:10 thomas
|
|
|
|
* zipfilesystem.rb: ZipFsDir was in the wrong module. ZipFileSystem
|
|
now has a ctor that creates ZipFsDir and ZipFsFile instances,
|
|
instead of creating them lazily. It then passes the dir instance
|
|
to the file instance and vice versa
|
|
|
|
2003-08-20 15:55 thomas
|
|
|
|
* zip.rb, zipfilesystem.rb, zipfilesystemtest.rb: ZipFsFile.open
|
|
honours chdir
|
|
|
|
2003-08-20 15:39 thomas
|
|
|
|
* stdrubyext.rb, zip.rb, zipfilesystem.rb, zipfilesystemtest.rb,
|
|
ziptest.rb: Fixed ZipEntry::parent_as_string. Implemented
|
|
ZipFsDir.chdir, pwd and entries including test
|
|
|
|
2003-08-19 15:44 thomas
|
|
|
|
* zip.rb, zipfilesystem.rb, zipfilesystemtest.rb: Implemented
|
|
ZipFsDir.mkdir
|
|
|
|
2003-08-19 15:07 thomas
|
|
|
|
* zipfilesystem.rb, zipfilesystemtest.rb: Implemented
|
|
ZipFsDir.delete (and aliases rmdir and unlink)
|
|
|
|
2003-08-19 14:33 thomas
|
|
|
|
* zipfilesystem.rb, zipfilesystemtest.rb: Another dummy
|
|
implementation and commented out a test for select() which can be
|
|
added later
|
|
|
|
2003-08-18 20:40 thomas
|
|
|
|
* ziptest.rb: Honoured 1.8.0 Object.to_a deprecation warning
|
|
|
|
2003-08-18 20:30 thomas
|
|
|
|
* zip.rb, ziptest.rb, samples/example.rb, samples/zipfind.rb:
|
|
Converted a few more names to ruby underscore style that I missed
|
|
with the automated processing the first time around
|
|
|
|
2003-08-18 18:39 thomas
|
|
|
|
* zip.rb, zipfilesystem.rb, zipfilesystemtest.rb, ziptest.rb:
|
|
Implemented Zip::ZipFile.get_output_stream
|
|
|
|
2003-08-17 18:28 thomas
|
|
|
|
* README, install.rb, stdrubyext.rb, zipfilesystem.rb,
|
|
zipfilesystemtest.rb: Updated README with Documentation section.
|
|
Updated install.rb. Fixed three tests that failed on 1.8.0.
|
|
|
|
2003-08-14 05:40 thomas
|
|
|
|
* zipfilesystem.rb, zipfilesystemtest.rb: Added empty
|
|
implementations of atime and ctime
|
|
|
|
2003-08-13 17:08 thomas
|
|
|
|
* simpledist.rb: Moved simpledist to a separate repository called
|
|
'misc'
|
|
|
|
2003-08-13 16:29 thomas
|
|
|
|
* stdrubyext.rb, zip.rb, zipfilesystem.rb, zipfilesystemtest.rb,
|
|
ziprequire.rb, ziprequiretest.rb, ziptest.rb, samples/example.rb,
|
|
samples/gtkRubyzip.rb, samples/zipfind.rb: Changed all method
|
|
names to the ruby convention underscore style
|
|
|
|
2003-08-13 15:18 thomas
|
|
|
|
* alltests.rb, zipfilesystem.rb, zipfilesystemtest.rb: Implemented
|
|
a lot more of the stat methods. Mostly with dummy implementations
|
|
that return values that indicate that these features aren't
|
|
supported
|
|
|
|
2003-08-13 11:44 thomas
|
|
|
|
* zipfilesystem.rb, zipfilesystemtest.rb: Implemented more methods
|
|
and tests in zipfilesystem. Mostly empty methods as permissions
|
|
and file types other than files and directories are not supported
|
|
|
|
2003-08-13 11:29 thomas
|
|
|
|
* install.rb, stdrubyext.rb, zip.rb, zipfilesystem.rb,
|
|
zipfilesystemtest.rb: Addd file stdrubyext.rb and moved the
|
|
modifications to std ruby classes to it. Refactored the ZipFsStat
|
|
tests and ZipFsStat. Added Module.forwardMessages and used it to
|
|
implement the forwarding of calls in ZipFsStat
|
|
|
|
2003-08-13 10:39 thomas
|
|
|
|
* zipfilesystem.rb, zipfilesystemtest.rb: Added
|
|
Zip::ZipFsFile::ZipFsStat and started implementing it and its
|
|
methods
|
|
|
|
2003-08-13 10:02 thomas
|
|
|
|
* zipfilesystem.rb, zipfilesystemtest.rb, ziptest.rb: Updated and
|
|
added missing copyright notices
|
|
|
|
2003-08-13 10:00 thomas
|
|
|
|
* zip.rb, zipfilesystem.rb, zipfilesystemtest.rb: zipfilesystem.rb
|
|
is becoming big and not everyone will want to use that code.
|
|
Therefore zip.rb no longer requires it. Instead you must require
|
|
zipfilesystem.rb itself if you want to use it
|
|
|
|
2003-08-13 09:51 thomas
|
|
|
|
* zipfilesystem.rb, zipfilesystemtest.rb: Implemented dummy
|
|
permission test methods
|
|
|
|
2003-08-13 06:37 thomas
|
|
|
|
* TODO, zip.rb, ziptest.rb: Merged from patch from Kristoffer
|
|
Lunden. Fixed more 1.8.0 incompatibilites - tests run on 1.8.0
|
|
now
|
|
|
|
2003-08-12 19:18 thomas
|
|
|
|
* zip.rb: Get rid of 1.8.0 warning
|
|
|
|
2003-08-12 19:14 thomas
|
|
|
|
* ziptest.rb: ruby 1.8.0 compatibility fix
|
|
|
|
2003-08-12 19:13 thomas
|
|
|
|
* NEWS, zip.rb: ruby-zlib 0.6.0 compatibility fix
|
|
|
|
2002-09-14 22:59 thomas
|
|
|
|
* samples/zipfind.rb: Added simple zipfind script
|
|
|
|
2002-09-13 23:53 thomas
|
|
|
|
* TODO: Added TODO about openmode for zip entries binary/ascii
|
|
|
|
2002-09-13 20:54 thomas
|
|
|
|
* NEWS: ziptest now runs without errors with ruby-1.7.2-4 (Andy's
|
|
latest build)
|
|
|
|
2002-09-13 20:51 thomas
|
|
|
|
* zip.rb, ziprequiretest.rb, ziptest.rb: ziptest now runs without
|
|
errors with ruby-1.7.2-4 (Andy's latest build)
|
|
|
|
2002-09-12 00:20 thomas
|
|
|
|
* zipfilesystemtest.rb: Improved ZipFsFile.delete/unlink test
|
|
|
|
2002-09-12 00:10 thomas
|
|
|
|
* zipfilesystem.rb, zipfilesystemtest.rb: Implemented
|
|
ZipFsFile.delete/unlink
|
|
|
|
2002-09-11 22:18 thomas
|
|
|
|
* NEWS, zip.rb, zipfilesystem.rb, zipfilesystemtest.rb: Fixed
|
|
AbstractInputStream.each_line ignored its aSeparator argument.
|
|
Implemented more ZipFsFile methods
|
|
|
|
2002-09-11 21:28 thomas
|
|
|
|
* zip.rb, zipfilesystem.rb, zipfilesystemtest.rb: ZipFileSystem is
|
|
now a module instead of a class, and is mixed into ZipFile,
|
|
instead of being made available as a property fileSystem
|
|
|
|
2002-09-10 23:45 thomas
|
|
|
|
* NEWS: Updated NEWS file
|
|
|
|
2002-09-10 22:39 thomas
|
|
|
|
* NEWS, zip.rb, ziptest.rb: Fix bug: rewind should reset lineno.
|
|
Fix bug: Deflater.read uses separate buffer from produceInput
|
|
(feeding gets/readline etc)
|
|
|
|
2002-09-09 22:55 uid26649
|
|
|
|
* zip.rb, ziptest.rb: Implemented ZipInputStream.rewind and
|
|
AbstractInputStream.lineno. Tests for both
|
|
|
|
2002-09-09 20:31 thomas
|
|
|
|
* zip.rb, ziptest.rb: ZipInputStream and ZipOutstream (thru their
|
|
AbstractInputStream and AbstractOutputStream now lie about being
|
|
kind_of?(IO)
|
|
|
|
2002-09-08 16:07 thomas
|
|
|
|
* filearchive.rb, filearchivetest.rb, zip.rb, ziptest.rb: Moved
|
|
String additions from filearchive.rb to zip.rb (and moved tests
|
|
along too to ziptest.rb). Added ZipEntry.parentAsString and
|
|
ZipEntrySet.parent
|
|
|
|
2002-09-08 15:28 thomas
|
|
|
|
* ziptest.rb: Implemented ZipEntrySetTest.testDup and testCompound
|
|
|
|
2002-09-08 15:17 thomas
|
|
|
|
* TODO, zip.rb, ziptest.rb: Replaced Array with EntrySet for
|
|
keeping entries in a zip file. Tagged repository before this
|
|
commit, so this change can be rolled back, if it stinks
|
|
|
|
2002-09-07 20:21 thomas
|
|
|
|
* zip.rb, ziptest.rb: Implemented ZipEntry.<=>
|
|
|
|
2002-09-07 14:48 thomas
|
|
|
|
* ziptest.rb: Removed unused code
|
|
|
|
2002-08-11 15:14 thomas
|
|
|
|
* zip.rb, ziptest.rb: Made some changes to accomodate ruby 1.7.2
|
|
|
|
2002-07-27 15:25 thomas
|
|
|
|
* zipfilesystem.rb, zipfilesystemtest.rb: Implemented ZipFsFile.new
|
|
|
|
2002-07-27 00:30 thomas
|
|
|
|
* zipfilesystem.rb, zipfilesystemtest.rb: Implemented
|
|
ZipFsFile.pipe
|
|
|
|
2002-07-27 00:25 thomas
|
|
|
|
* zipfilesystem.rb, zipfilesystemtest.rb: Implemented
|
|
ZipFsFile.link
|
|
|
|
2002-07-27 00:23 thomas
|
|
|
|
* zipfilesystem.rb, zipfilesystemtest.rb: Implemented
|
|
ZipFsFile.symlink
|
|
|
|
2002-07-27 00:20 thomas
|
|
|
|
* zipfilesystem.rb, zipfilesystemtest.rb: Implemented
|
|
ZipFsFile.readlink, wrapped ZipFileSystem class in Zip module
|
|
|
|
2002-07-27 00:14 thomas
|
|
|
|
* zipfilesystem.rb, zipfilesystemtest.rb: Implemented
|
|
ZipFsFile.zero?
|
|
|
|
2002-07-27 00:01 thomas
|
|
|
|
* zipfilesystem.rb, zipfilesystemtest.rb: Implemented test for
|
|
ZipFsFile.directory?
|
|
|
|
2002-07-26 23:56 thomas
|
|
|
|
* zipfilesystem.rb, zipfilesystemtest.rb: Implemented
|
|
ZipFsFile.socket?
|
|
|
|
2002-07-26 23:50 thomas
|
|
|
|
* zipfilesystem.rb, zipfilesystemtest.rb: Implemented
|
|
ZipFsFile.join
|
|
|
|
2002-07-26 23:32 thomas
|
|
|
|
* zipfilesystem.rb, zipfilesystemtest.rb: Implemented
|
|
ZipFsFile.ftype
|
|
|
|
2002-07-26 23:19 thomas
|
|
|
|
* zipfilesystem.rb, zipfilesystemtest.rb: Implemented
|
|
ZipFsFile.blockdev?
|
|
|
|
2002-07-26 23:12 thomas
|
|
|
|
* zipfilesystem.rb, zipfilesystemtest.rb: Implemented
|
|
ZipFsFile.size? (slightly different from size)
|
|
|
|
2002-07-26 23:03 thomas
|
|
|
|
* zipfilesystem.rb, zipfilesystemtest.rb: Implemented
|
|
ZipFsFile.split
|
|
|
|
2002-07-26 23:00 thomas
|
|
|
|
* zipfilesystem.rb, zipfilesystemtest.rb: Implemented
|
|
ZipFsFile.symlink?
|
|
|
|
2002-07-26 22:58 thomas
|
|
|
|
* alltests.rb, zip.rb, zipfilesystem.rb, zipfilesystemtest.rb:
|
|
Implemented ZipFsFile.mtime
|
|
|
|
2002-07-26 17:08 thomas
|
|
|
|
* zipfilesystem.rb, zipfilesystemtest.rb: Implement ZipFsFile.file?
|
|
|
|
2002-07-26 17:06 thomas
|
|
|
|
* zip.rb, ziptest.rb: Implemented ZipEntry.file?
|
|
|
|
2002-07-26 16:57 thomas
|
|
|
|
* alltests.rb, filearchive.rb, filearchivetest.rb, zip.rb,
|
|
zipfilesystem.rb, zipfilesystemtest.rb, ziprequire.rb,
|
|
ziptest.rb: Implemented ZipFileSystem::ZipFsFile.size
|
|
|
|
2002-07-26 16:40 thomas
|
|
|
|
* test/zipWithDirs.zip: Changed zipWithDirs.zip so all the entries
|
|
in it have unix file endings
|
|
|
|
2002-07-26 16:12 thomas
|
|
|
|
* alltests.rb, zip.rb, zipfilesystem.rb, zipfilesystemtest.rb:
|
|
Started implementing ZipFileSystem
|
|
|
|
2002-07-26 15:56 thomas
|
|
|
|
* test/zipWithDirs.zip: Added a zip file for testing with a
|
|
directory structure
|
|
|
|
2002-07-21 18:12 thomas
|
|
|
|
* TODO: Updated TODO with a refactoring idea for FileArchive
|
|
|
|
2002-07-21 17:59 thomas
|
|
|
|
* filearchive.rb, filearchivetest.rb: Added some FileArchiveAdd
|
|
tests and cleaned up some of the FileArchive tests. extract and
|
|
add now have individual test fixtures.
|
|
|
|
2002-07-21 16:02 thomas
|
|
|
|
* filearchive.rb, filearchivetest.rb: Added tests for extract
|
|
called with regex src arg and Enumerable src arg
|
|
|
|
2002-07-21 15:37 thomas
|
|
|
|
* filearchivetest.rb: Added test for continueOnExistsProc when
|
|
extracting from a file archive
|
|
|
|
2002-07-20 17:13 thomas
|
|
|
|
* TODO, filearchivetest.rb, fileutils.rb, ziptest.rb,
|
|
test/.cvsignore: Added (failing) tests for FileArchive.add, added
|
|
code for creating test files for FileArchive.add tests. Added
|
|
fileutils.rb, which is borrowed from ruby 1.7.2
|
|
|
|
2002-07-20 16:05 thomas
|
|
|
|
* filearchivetest.rb: Added tests for String extensions
|
|
|
|
2002-07-20 00:42 thomas
|
|
|
|
* TODO: Updated TODO
|
|
|
|
2002-07-20 00:35 thomas
|
|
|
|
* filearchive.rb, filearchivetest.rb: All FileArchive.extract tests
|
|
run
|
|
|
|
2002-05-25 00:41 thomas
|
|
|
|
* simpledist.rb: Added hackish script for creating dist files
|
|
|
|
2002-04-30 20:40 thomas
|
|
|
|
* filearchive.rb, filearchivetest.rb: Improved testing and wrote
|
|
some of the skeleton of extract. Still to do: Fix glob, so it
|
|
returns a hashmap instead of a list. The map will need to map the
|
|
full entry name to the last part of the name (which is only
|
|
really interesting for recursively extracted entries, otherwise
|
|
it is just the name). Glob.expandPathList should also output
|
|
directories with a trailing slash, which is doesn't right now.
|
|
|
|
2002-04-30 19:52 thomas
|
|
|
|
* filearchive.rb, filearchivetest.rb: Implemented the first few
|
|
tests for FileArchive
|
|
|
|
2002-04-24 22:06 thomas
|
|
|
|
* ziprequire.rb, ziprequiretest.rb: Appended copyright message to
|
|
ziprequire.rb and ziprequiretest.rb
|
|
|
|
2002-04-24 20:59 thomas
|
|
|
|
* zip.rb: Made ZipEntry tolerate invalid dates
|
|
|
|
2002-04-21 00:57 thomas
|
|
|
|
* NEWS, TODO, zip.rb, ziptest.rb: Read and write entry modification
|
|
date/time correctly
|
|
|
|
2002-04-20 02:44 thomas
|
|
|
|
* ziprequiretest.rb, test/rubycode2.zip: improved ZipRequireTest
|
|
|
|
2002-04-20 02:39 thomas
|
|
|
|
* ziprequire.rb: Made a warning go away
|
|
|
|
2002-04-20 02:38 thomas
|
|
|
|
* ziprequire.rb, ziprequiretest.rb, test/notzippedruby.rb,
|
|
test/rubycode.zip: Fixed a bug in ziprequire. Added
|
|
ziprequiretest.rb and test data files
|
|
|
|
2002-04-19 22:43 thomas
|
|
|
|
* zip.rb, ziptest.rb: Added recursion support to Glob module
|
|
|
|
2002-04-18 21:37 thomas
|
|
|
|
* NEWS, TODO, zip.rb, ziptest.rb: Added Glob module and GlobTest
|
|
unit test suite. This module provides the functionality to expand
|
|
a 'glob pattern' given a list of files - Next step is to use this
|
|
module in ZipFile
|
|
|
|
2002-04-01 21:16 thomas
|
|
|
|
* TODO, zip.rb, ziprequire.rb: Added ziprequire.rb which contains a
|
|
proof-of-concept implementation of a require implementation that
|
|
can load ruby modules from a zip file. Needs unit tests and
|
|
polish.
|
|
|
|
2002-03-30 01:52 thomas
|
|
|
|
* .cvsignore, README, zip.rb: Added rdoc markup (only #:nodoc:all
|
|
modifiers) to zip.rb. Made README 'RDoc compliant'
|
|
|
|
2002-03-29 23:26 thomas
|
|
|
|
* example.rb, samples/.cvsignore, samples/example.rb,
|
|
samples/gtkRubyzip.rb: Moved example.rb to samples/. Added
|
|
another sample gtkRubyzip.rb
|
|
|
|
2002-03-29 20:06 thomas
|
|
|
|
* .cvsignore, file1.txt, file1.txt.deflatedData, testDirectory.bin,
|
|
ziptest.rb, test/.cvsignore, test/file1.txt,
|
|
test/file1.txt.deflatedData, test/file2.txt,
|
|
test/testDirectory.bin: Added test/ directory and moved the
|
|
manually created test data files into it. Changed ziptest.rb so
|
|
it runs in test/ directory
|
|
|
|
2002-03-29 18:15 thomas
|
|
|
|
* NEWS, zip.rb, ziptest.rb: Don't decompress and recompress zip
|
|
entries when changing zip file
|
|
|
|
2002-03-29 17:50 thomas
|
|
|
|
* zip.rb: Performance optimization: Only write new ZipFile, if it
|
|
has been changed. The test suite runs in half the time now.
|
|
|
|
2002-03-22 22:18 thomas
|
|
|
|
* ziptest.rb: Found the tests that didn't use blocks to make sure
|
|
input streams are closed as soon as they arent used anymore and
|
|
got rid of the GC.start
|
|
|
|
2002-03-22 22:12 thomas
|
|
|
|
* ziptest.rb: All tests run on windows ruby 1.6.6
|
|
|
|
2002-03-22 10:38 thomas
|
|
|
|
* zip.rb, ziptest.rb: Windows fixes: Fixed ZipFile.initialize which
|
|
needed to open zipfile file in binary mode. Added another
|
|
workaround for the return value from File.open(name) where name
|
|
is the name of a directory - ruby returns different exceptions in
|
|
linux, win/cygwin and windows. A number of tests failed because
|
|
in windows you cant delete a file that is open. Fixed by changing
|
|
ziptest.rb to use ZipInputStream.getInputStream with blocks a few
|
|
places. There is a hack in CommanZipFileFixture.setup where the
|
|
GC is explicitly invoked. Should be fixed with blocks instead.
|
|
The only currently failing test fails because the test data
|
|
creation fails to add a comment to 4entry.zip, because echo eats
|
|
the remainder of the line including the pipe character and the
|
|
following zip -z 4 entry.zip command
|
|
|
|
2002-03-21 22:12 thomas
|
|
|
|
* NEWS, README, TODO, install.rb: Added install.rb
|
|
|
|
2002-03-21 20:34 thomas
|
|
|
|
* .cvsignore, TODO, zip.rb, ziptest.rb: Added
|
|
test_extractDirectoryExistsAsFileOverwrite and fixed to pass
|
|
|
|
2002-03-21 20:22 thomas
|
|
|
|
* zip.rb, ziptest.rb: Extraction of directory entries is now
|
|
supported
|
|
|
|
2002-03-20 21:24 thomas
|
|
|
|
* COPYING, README, README.txt: Removed COPYING, renamed README.txt
|
|
to README. Updated README
|
|
|
|
2002-03-20 21:18 thomas
|
|
|
|
* example.rb: Fixed example.rb added example that shows zip file
|
|
manipulation with Zip::ZipFile
|
|
|
|
2002-03-20 20:56 thomas
|
|
|
|
* TODO, zip.rb, ziptest.rb: Directories can now be added (not
|
|
recursively, the directory entry itself. Directories are
|
|
recognized by a empty entries with a trailing /. The purpose of
|
|
storing them explicitly in the zip file is to be able to store
|
|
permission and ownership information
|
|
|
|
2002-03-20 20:08 thomas
|
|
|
|
* TODO, zip.rb, ziptest.rb: zip.rb depended on ftools but it was
|
|
only included in ziptest.rb
|
|
|
|
2002-03-20 19:07 thomas
|
|
|
|
* zip.rb, ziptest.rb: ZipError is now a subclass of StandardError
|
|
instead of RuntimeError. ZipError now has several subclasses.
|
|
|
|
2002-03-19 22:19 thomas
|
|
|
|
* TODO, ziptest.rb: Unit test ZipFile.getInputStream with block
|
|
|
|
2002-03-19 22:11 thomas
|
|
|
|
* TODO, zip.rb, ziptest.rb: Unit test for adding new entry with
|
|
name that already exists in archive, and fixed to pass test
|
|
|
|
2002-03-19 21:40 thomas
|
|
|
|
* TODO, zip.rb, ziptest.rb: Added unit tests for rename to existing
|
|
entry
|
|
|
|
2002-03-19 20:40 thomas
|
|
|
|
* TODO, zip.rb, ziptest.rb: Unit test calling ZipFile.extract with
|
|
block
|
|
|
|
2002-03-18 21:05 thomas
|
|
|
|
* zip.rb, ziptest.rb: ZipFile#commit now reinitializes ZipFile.
|
|
|
|
2002-03-18 20:42 thomas
|
|
|
|
* TODO, zip.rb, ziptest.rb: Refactoring:
|
|
|
|
Collapsed ZipEntry and ZipStreamableZipEntry into ZipEntry.
|
|
|
|
Collapsed BasicZipFile and ZipFile into ZipFile.
|
|
|
|
2002-03-18 18:05 thomas
|
|
|
|
* zip.rb: Removed method that was never called
|
|
|
|
2002-03-17 22:25 thomas
|
|
|
|
* ziptest.rb: Run tests with =true as default
|
|
|
|
2002-03-17 22:22 thomas
|
|
|
|
* NEWS, TODO, zip.rb, ziptest.rb: Now runs with -w switch without
|
|
warnings
|
|
|
|
2002-03-17 21:04 thomas
|
|
|
|
* zip.rb, ziptest.rb: Down to one failing test
|
|
|
|
2002-02-25 19:42 thomas
|
|
|
|
* TODO: Added more todos
|
|
|
|
2002-02-02 00:14 thomas
|
|
|
|
* example.rb, zip.rb, ziptest.rb: Renamed SimpleZipFile to
|
|
BasicZipFile
|
|
|
|
2002-02-02 00:01 thomas
|
|
|
|
* ziptest.rb: More test cases - all of them failing, so now there
|
|
are 18 failing test cases. Three more test cases to implement,
|
|
then it is time for the production code
|
|
|
|
2002-02-01 21:34 thomas
|
|
|
|
* ziptest.rb: Also run SimpleZipFile tests for ZipFile.
|
|
|
|
2002-02-01 20:11 thomas
|
|
|
|
* example.rb, zip.rb, ziptest.rb: ZipFile renamed to SimpleZipFile.
|
|
The new ZipFile will have many more methods that are useful for
|
|
managing archives.
|
|
|
|
2002-01-26 00:14 thomas
|
|
|
|
* ziptest.rb: In unit test: work around ruby/cygwin weirdness. You
|
|
get an Errno::EEXISTS instead of an Errno::EISDIR if you try to
|
|
open a file for writing that is a directory.
|
|
|
|
2002-01-26 00:02 thomas
|
|
|
|
* ziptest.rb: Fixed test that failed on windows because of CRLF
|
|
line ending
|
|
|
|
2002-01-25 23:29 thomas
|
|
|
|
* .cvsignore, example.rb, zip.rb: Fixed bug reading from empty
|
|
deflated entry in zip file
|
|
|
|
2002-01-25 22:51 thomas
|
|
|
|
* NEWS, README.txt, zip.rb, ziptest.rb: Zip write support is now
|
|
fully functional in the form of ZipOutputStream.
|
|
|
|
2002-01-20 16:00 thomas
|
|
|
|
* zip.rb, ziptest.rb: Added Deflater and DeflaterTest.
|
|
|
|
2002-01-20 00:23 thomas
|
|
|
|
* .cvsignore: Added .cvsignore file
|
|
|
|
2002-01-20 00:09 thomas
|
|
|
|
* zip.rb, ziptest.rb: Added ZipEntry.writeCDirEntry and misc minor
|
|
fixes
|
|
|
|
2002-01-19 23:28 thomas
|
|
|
|
* example.rb, zip.rb, ziptest.rb: NOTICE: Not all tests run!!
|
|
|
|
ZipOutputStream in progress
|
|
|
|
Wrapped rubyzip in namespace module Zip.
|
|
|
|
2002-01-17 18:52 thomas
|
|
|
|
* ziptest.rb: Fail nicely if the user doesn't have info-zip
|
|
compatible zip in the path
|
|
|
|
2002-01-10 18:02 thomas
|
|
|
|
* zip.rb: Adjusted chunk size to 32k after a few perf measurements
|
|
|
|
2002-01-09 22:10 thomas
|
|
|
|
* README.txt: License now same as rubys, not just GPL
|
|
|
|
2002-01-05 23:09 thomas
|
|
|
|
* NEWS, README.txt: Updated NEWS file
|
|
|
|
2002-01-05 23:05 thomas
|
|
|
|
* README.txt, zip.rb, ziptest.rb, zlib.c.diff: Added tests for
|
|
decompressors and a tests for ZipLocalEntry,
|
|
ZipCentralDirectoryEntry and ZipCentralDirectory for handling of
|
|
corrupt data
|
|
|
|
2002-01-05 22:21 thomas
|
|
|
|
* file1.txt.deflatedData: deflated data extracted from a zip file.
|
|
contains file1.txt
|
|
|
|
2002-01-05 20:05 thomas
|
|
|
|
* zip.rb: Changed references to Inflate to Zlib::inflate for
|
|
compatibility with ruby-zlib-0.5
|
|
|
|
2002-01-05 01:31 thomas
|
|
|
|
* ziptest.rb: Fixed problem with test file creation
|
|
|
|
2002-01-05 01:15 thomas
|
|
|
|
* README.txt: Updated README.txt
|
|
|
|
2002-01-05 01:13 thomas
|
|
|
|
* zip.rb, ziptest.rb: ZipFile now works
|
|
|
|
2002-01-04 21:51 thomas
|
|
|
|
* testDirectory.bin, zip.rb, ziptest.rb:
|
|
ZipCentralDirectoryEntryTest now runs
|
|
|
|
2002-01-04 18:40 thomas
|
|
|
|
* ziptest.rb: Changed
|
|
ZIpLocalNEtryTest::test_ReadLocalEntryHeaderOfFirstTestZipEntry
|
|
so it works on both unix too. It only worked on windows because
|
|
the test made assumptions about the compressed size and crc of an
|
|
entry, but that differs depending on the OS because of the CRLF
|
|
thing.
|
|
|
|
2002-01-04 18:37 thomas
|
|
|
|
* README.txt: Added note about zlib.c patch
|
|
|
|
2002-01-02 18:48 thomas
|
|
|
|
* README.txt, example.rb, file1.txt, zip.rb, ziptest.rb,
|
|
zlib.c.diff: Initial revision
|
|
|
|
2002-01-02 18:48 thomas
|
|
|
|
* README.txt, example.rb, file1.txt, zip.rb, ziptest.rb,
|
|
zlib.c.diff: initial
|
|
|