Commit Graph

203 Commits

Author SHA1 Message Date
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
thomas a521de1003 Added TODO about openmode for zip entries binary/ascii 2002-09-13 21:53:59 +00:00
thomas b8f57c0fd0 ziptest now runs without errors with ruby-1.7.2-4 (Andy's latest build) 2002-09-13 18:51:04 +00:00
thomas 431c4e34f5 Improved ZipFsFile.delete/unlink test 2002-09-11 22:20:40 +00:00
thomas db739fe25b *** empty log message *** 2002-09-11 22:12:11 +00:00
thomas 1bea5b6abf Implemented ZipFsFile.delete/unlink 2002-09-11 22:10:34 +00:00
thomas 63db9cd8f9 *** empty log message *** 2002-09-11 20:22:29 +00:00
thomas c87c046eff Fixed AbstractInputStream.each_line ignored its aSeparator argument. Implemented more ZipFsFile methods 2002-09-11 20:18:24 +00:00
thomas 1096d37477 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-11 19:28:32 +00:00
thomas bc4c9d4ab0 Updated NEWS file 2002-09-10 21:45:45 +00:00
thomas 525d954ed8 *** empty log message *** 2002-09-10 21:26:19 +00:00
thomas a4a338d035 Fix bug: rewind should reset lineno. Fix bug: Deflater.read uses separate buffer from produceInput (feeding gets/readline etc) 2002-09-10 20:39:47 +00:00
thomas ea4fdd6723 *** empty log message *** 2002-09-09 21:48:08 +00:00
uid26649 f7d84129fd Implemented ZipInputStream.rewind and AbstractInputStream.lineno. Tests for both 2002-09-09 20:55:48 +00:00
thomas fb965b541b ZipInputStream and ZipOutstream (thru their AbstractInputStream and AbstractOutputStream now lie about being kind_of?(IO) 2002-09-09 18:31:16 +00:00
thomas a775b087d9 *** empty log message *** 2002-09-08 14:38:58 +00:00
thomas 4580ff889d 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 14:07:49 +00:00
thomas 2668152853 Implemented ZipEntrySetTest.testDup and testCompound 2002-09-08 13:28:40 +00:00
thomas 10bd09b086 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-08 13:17:17 +00:00
thomas 2236fc7814 Implemented ZipEntry.<=> 2002-09-07 18:21:19 +00:00
thomas 94566a0b0e Removed unused code 2002-09-07 12:48:03 +00:00