Commit Graph

223 Commits

Author SHA1 Message Date
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
thomas a8e57d185a 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 09:44:47 +00:00
thomas 939f9715bb 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 09:29:42 +00:00
thomas 7ad91da08a Added Zip::ZipFsFile::ZipFsStat and started implementing it and its methods 2003-08-13 08:39:01 +00:00
thomas 45e47fd0e8 Updated and added missing copyright notices 2003-08-13 08:02:32 +00:00
thomas dce2fbc560 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 08:00:52 +00:00
thomas 4dbe7e8087 Implemented dummy permission test methods 2003-08-13 07:51:42 +00:00
thomas 634f4c32d4 Merged from patch from Kristoffer Lunden. Fixed more 1.8.0 incompatibilites - tests run on 1.8.0 now 2003-08-13 04:37:58 +00:00
thomas 2ad564f0ca Get rid of 1.8.0 warning 2003-08-12 17:18:40 +00:00
thomas 07f8301a47 ruby 1.8.0 compatibility fix 2003-08-12 17:14:29 +00:00
thomas 990280339e ruby-zlib 0.6.0 compatibility fix 2003-08-12 17:13:34 +00:00
thomas 8d06d611dd *** empty log message *** 2002-12-22 19:12:51 +00:00
thomas 57f582825d *** empty log message *** 2002-09-16 20:11:24 +00:00
thomas c42b6a72ec *** empty log message *** 2002-09-15 15:16:39 +00:00
thomas e16b5d1ea7 *** empty log message *** 2002-09-14 22:02:01 +00:00
thomas 1d9d8061ee Added simple zipfind script 2002-09-14 20:59:29 +00:00