Commit Graph

238 Commits

Author SHA1 Message Date
thomas 0c3d4f81f9 *** empty log message *** 2004-03-28 22:28:53 +00:00
thomas 6e4674b503 *** empty log message *** 2004-03-28 15:59:02 +00:00
thomas cea9b2ae81 Use RUBY_VERSION not VERSION constant 2004-03-28 13:23:50 +00:00
thomas c49e9556e0 Only use bugfixed Tempfile implementation if the ruby version hasnt been fixed (contributed by Nobu Nakada) 2004-03-28 12:51:34 +00:00
thomas 08aa8872ed Compatibility with DelegateClass in ruby version 1.8.1 and newer 2004-03-28 12:46:36 +00:00
thomas f849b2fa21 Patch for stdrubyext.rb from Nobu Nakada 2004-03-27 15:09:50 +00:00
thomas 01cf112518 *** empty log message *** 2004-03-27 14:52:08 +00:00
thomas fddb1f871f converted some files to unix line-endings 2004-03-27 14:30:18 +00:00
thomas 9d45f0be59 Significantly reduced memory footprint when modifying zip files 2004-03-25 15:34:42 +00:00
thomas 749a5ed53b IO utility classes moved to new file ioextras.rb. Tests moved to new file ioextrastest.rb 2004-03-16 17:20:26 +00:00
thomas bc24757a2e Optimization to avoid decompression and recompression 2004-02-27 12:21:32 +00:00
thomas 35d840d7da *** empty log message *** 2004-01-30 15:17:14 +00:00
thomas c3949e3e73 Applied extra-field patch 2004-01-30 15:07:56 +00:00
thomas d024c87c47 *** empty log message *** 2003-12-13 15:53:53 +00:00
thomas b9cea40f1a (Temporary) fix to bug reported by Takashi Sano 2003-12-09 23:25:44 +00:00
thomas 24fbba4288 Thanks to Clifford Heath for noticing that Time.to_binary_dos_date and time were reversed 2003-10-03 09:05:55 +00:00
thomas 918e66145f Fixed ZipFile.get_ouput_stream bug - data was never written to zip 2003-08-23 07:42:55 +00:00
thomas b545c5996d *** empty log message *** 2003-08-21 14:05:57 +00:00
thomas 4b20a579ee Moved all test ruby files to test/ 2003-08-21 14:01:49 +00:00
thomas fb2493d9f4 Moved all production source files to zip/ so they are in the same dir as when they are installed 2003-08-21 13:54:32 +00:00
thomas e638583c65 *** empty log message *** 2003-08-21 13:31:05 +00:00
thomas a16533bb62 Removed filearchive.rb, filearchivetest.rb and fileutils.rb 2003-08-21 13:26:59 +00:00
thomas bf265c4a39 Added samples/example_filesystem.rb. Fixed Tempfile creation for entries created with get_output_stream where entries were in a subdirectory 2003-08-21 13:24:10 +00:00
thomas 3e960b7228 Added samples/example_filesystem.rb. Fixed Tempfile creation for entries created with get_output_stream where entries were in a subdirectory 2003-08-21 13:24:10 +00:00
thomas fbb87ad1bf Fixed mkdir bug. ZipFile.mkdir didn't work if the zipfile doesn't exist already 2003-08-21 13:15:37 +00:00
thomas 6c8db0e5a7 *** empty log message *** 2003-08-21 13:05:43 +00:00
thomas 15e97b2e81 Globbing test placeholder commented out 2003-08-21 12:53:47 +00:00
thomas e552697eb8 Implemented ZipFsDir.new and open 2003-08-21 12:32:01 +00:00
thomas b3ff998cdd Implemented DirFsIterator and tests 2003-08-21 12:19:00 +00:00
thomas e16b4d8e1b *** empty log message *** 2003-08-20 20:45:42 +00:00
thomas 68743787d3 Implemented ZipFsDir.foreach, ZipFsDir.entries now reimplemented in terms of it 2003-08-20 20:44:12 +00:00
thomas b9d332b7eb *** empty log message *** 2003-08-20 20:25:39 +00:00
thomas 0f778f55fb *** empty log message *** 2003-08-20 16:08:07 +00:00
thomas ac4b5f9021 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 15:30:03 +00:00
thomas aa6cc0e3bf Added stdrubyexttest.rb and added test test_select_map 2003-08-20 15:18:42 +00:00
thomas a47b107314 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 14:10:20 +00:00
thomas 2f4123429c ZipFsFile.open honours chdir 2003-08-20 13:55:21 +00:00
thomas 82c1f7d016 Fixed ZipEntry::parent_as_string. Implemented ZipFsDir.chdir, pwd and entries including test 2003-08-20 13:39:56 +00:00
thomas d37c57ff0b Implemented ZipFsDir.mkdir 2003-08-19 13:44:46 +00:00
thomas 482b05c733 Implemented ZipFsDir.delete (and aliases rmdir and unlink) 2003-08-19 13:07:24 +00:00
thomas e884127a28 Another dummy implementation and commented out a test for select() which can be added later 2003-08-19 12:33:23 +00:00
thomas 9a65c87060 Honoured 1.8.0 Object.to_a deprecation warning 2003-08-18 18:40:16 +00:00
thomas 61c032f080 Converted a few more names to ruby underscore style that I missed with the automated processing the first time around 2003-08-18 18:30:26 +00:00
thomas 11f35418cd Implemented Zip::ZipFile.get_output_stream 2003-08-18 16:39:50 +00:00
thomas a3c2ba99e2 Updated README with Documentation section. Updated install.rb. Fixed three tests that failed on 1.8.0. 2003-08-17 16:28:18 +00:00
thomas d7926f517a Added empty implementations of atime and ctime 2003-08-14 03:40:49 +00:00
thomas 764641d14f Moved simpledist to a separate repository called 'misc' 2003-08-13 15:08:20 +00:00
thomas 7d9dd17fe2 *** empty log message *** 2003-08-13 14:31:45 +00:00
thomas ef5eedb1f2 Changed all method names to the ruby convention underscore style 2003-08-13 14:29:53 +00:00
thomas 8c1bca6122 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 13:18:25 +00:00