mksm-rubyzip 0.9.3
Sign up to get free protection for your applications and to get access to all the features.
- data/ChangeLog +1081 -0
- data/NEWS +144 -0
- data/README +72 -0
- data/Rakefile +110 -0
- data/TODO +16 -0
- data/install.rb +22 -0
- data/lib/zip/ioextras.rb +158 -0
- data/lib/zip/stdrubyext.rb +111 -0
- data/lib/zip/tempfile_bugfixed.rb +195 -0
- data/lib/zip/zip.rb +1849 -0
- data/lib/zip/zipfilesystem.rb +609 -0
- data/lib/zip/ziprequire.rb +90 -0
- data/samples/example.rb +69 -0
- data/samples/example_filesystem.rb +34 -0
- data/samples/gtkRubyzip.rb +86 -0
- data/samples/qtzip.rb +101 -0
- data/samples/write_simple.rb +13 -0
- data/samples/zipfind.rb +74 -0
- data/test/alltests.rb +9 -0
- data/test/data/file1.txt +46 -0
- data/test/data/file1.txt.deflatedData +0 -0
- data/test/data/file2.txt +1504 -0
- data/test/data/notzippedruby.rb +7 -0
- data/test/data/rubycode.zip +0 -0
- data/test/data/rubycode2.zip +0 -0
- data/test/data/testDirectory.bin +0 -0
- data/test/data/zipWithDirs.zip +0 -0
- data/test/gentestfiles.rb +157 -0
- data/test/ioextrastest.rb +208 -0
- data/test/stdrubyexttest.rb +52 -0
- data/test/zipfilesystemtest.rb +831 -0
- data/test/ziprequiretest.rb +43 -0
- data/test/ziptest.rb +1602 -0
- metadata +86 -0
data/ChangeLog
ADDED
@@ -0,0 +1,1081 @@
|
|
1
|
+
2006-07-01 10:04 thomas
|
2
|
+
|
3
|
+
* Rakefile: Don't autorequire zip/zip - autorequire is deprecated.
|
4
|
+
|
5
|
+
2006-06-30 09:28 thomas
|
6
|
+
|
7
|
+
* Rakefile: [no log message]
|
8
|
+
|
9
|
+
* NEWS, lib/zip/zip.rb: Bumped version number and reformatted NEWS
|
10
|
+
a bit.
|
11
|
+
|
12
|
+
2006-06-29 22:49 technorama
|
13
|
+
|
14
|
+
* lib/zip/zip.rb, NEWS: documentation additions
|
15
|
+
|
16
|
+
2006-04-30 06:25 technorama
|
17
|
+
|
18
|
+
* TODO, lib/zip/zip.rb, test/ziptest.rb: add documentation and test
|
19
|
+
for new ZipFile::extract
|
20
|
+
|
21
|
+
* lib/zip/zip.rb: add some of the API suggestions from sf.net
|
22
|
+
#1281314
|
23
|
+
|
24
|
+
* lib/zip/zip.rb: apply patch for bug #1446926
|
25
|
+
|
26
|
+
* lib/zip/zip.rb: apply patch for bug #1459902
|
27
|
+
|
28
|
+
2006-04-26 17:17 technorama
|
29
|
+
|
30
|
+
* lib/zip/zip.rb: add ZipFile @restore_*, documentation update
|
31
|
+
|
32
|
+
2006-04-07 21:13 technorama
|
33
|
+
|
34
|
+
* test/: gentestfiles.rb, zipfilesystemtest.rb, ziptest.rb:
|
35
|
+
additional tests
|
36
|
+
|
37
|
+
2006-03-28 04:11 technorama
|
38
|
+
|
39
|
+
* lib/zip/zip.rb: start of unix_uid, unix_gid, restore_* support
|
40
|
+
|
41
|
+
* lib/zip/zip.rb: follow_symlinks is now optional
|
42
|
+
|
43
|
+
* lib/zip/zip.rb: add eof? methods
|
44
|
+
|
45
|
+
* test/ziptest.rb: eof? tests
|
46
|
+
|
47
|
+
2006-02-26 09:57 technorama
|
48
|
+
|
49
|
+
* README: add to authors
|
50
|
+
|
51
|
+
* TODO: [no log message]
|
52
|
+
|
53
|
+
2006-02-25 12:04 thomas
|
54
|
+
|
55
|
+
* lib/zip/zip.rb, test/ziptest.rb: Did away with ZipStreamableFile.
|
56
|
+
|
57
|
+
2006-02-23 08:03 technorama
|
58
|
+
|
59
|
+
* lib/zip/zip.rb: unix file permissions. symlink support. rework
|
60
|
+
ZipEntry and delegate classes. reduce memory usage during
|
61
|
+
decompression.
|
62
|
+
|
63
|
+
2006-02-22 23:44 technorama
|
64
|
+
|
65
|
+
* lib/zip/zipfilesystem.rb: update permissionInt for mkdir
|
66
|
+
|
67
|
+
2006-02-04 10:42 thomas
|
68
|
+
|
69
|
+
* lib/zip/: ioextras.rb, zip.rb: Merged patch from oss-ruby.
|
70
|
+
|
71
|
+
2005-11-19 16:17 thomas
|
72
|
+
|
73
|
+
* lib/zip/zip.rb: [no log message]
|
74
|
+
|
75
|
+
2005-11-08 08:23 thomas
|
76
|
+
|
77
|
+
* lib/zip/ioextras.rb: Accepted patch from oss-ruby
|
78
|
+
|
79
|
+
2005-10-07 09:54 thomas
|
80
|
+
|
81
|
+
* TODO: [no log message]
|
82
|
+
|
83
|
+
2005-09-06 21:19 thomas
|
84
|
+
|
85
|
+
* lib/zip/zip.rb: [no log message]
|
86
|
+
|
87
|
+
* NEWS: [no log message]
|
88
|
+
|
89
|
+
* lib/zip/zip.rb, test/gentestfiles.rb, test/ziptest.rb: Fixed
|
90
|
+
problem on windows - tempfile has to be set to binmode again when
|
91
|
+
it is reopened
|
92
|
+
|
93
|
+
2005-09-04 16:45 thomas
|
94
|
+
|
95
|
+
* Rakefile: [no log message]
|
96
|
+
|
97
|
+
* TODO: [no log message]
|
98
|
+
|
99
|
+
* test/ziptest.rb: [no log message]
|
100
|
+
|
101
|
+
2005-09-03 10:27 thomas
|
102
|
+
|
103
|
+
* NEWS: [no log message]
|
104
|
+
|
105
|
+
* TODO, lib/zip/zip.rb: [no log message]
|
106
|
+
|
107
|
+
* lib/zip/ioextras.rb, lib/zip/zip.rb, test/ziptest.rb: Merged
|
108
|
+
patch from oss-ruby at technorama.net
|
109
|
+
|
110
|
+
* test/ziptest.rb: Added failing test that shows that read and gets
|
111
|
+
don't mix currently
|
112
|
+
|
113
|
+
2005-08-29 08:50 thomas
|
114
|
+
|
115
|
+
* lib/zip/: ioextras.rb, zip.rb: [no log message]
|
116
|
+
|
117
|
+
* NEWS, lib/zip/zip.rb: [no log message]
|
118
|
+
|
119
|
+
* lib/zip/zip.rb: [no log message]
|
120
|
+
|
121
|
+
* lib/zip/zip.rb: [no log message]
|
122
|
+
|
123
|
+
2005-08-07 14:27 thomas
|
124
|
+
|
125
|
+
* lib/zip/zip.rb, NEWS: [no log message]
|
126
|
+
|
127
|
+
2005-08-06 11:12 thomas
|
128
|
+
|
129
|
+
* lib/zip/: ioextras.rb, zip.rb: [no log message]
|
130
|
+
|
131
|
+
2005-08-03 18:54 thomas
|
132
|
+
|
133
|
+
* lib/zip/zip.rb: Read/write in chunks to preserve memory
|
134
|
+
|
135
|
+
2005-07-02 15:08 thomas
|
136
|
+
|
137
|
+
* lib/zip/zip.rb: Applied received patch concerning FreeBSD 4.5
|
138
|
+
issue
|
139
|
+
|
140
|
+
2005-04-03 16:52 thomas
|
141
|
+
|
142
|
+
* samples/.cvsignore: [no log message]
|
143
|
+
|
144
|
+
* samples/: qtzip.rb, zipdialogui.ui: Added a qt example
|
145
|
+
|
146
|
+
2005-03-31 21:58 thomas
|
147
|
+
|
148
|
+
* lib/zip/zip.rb, test/ziptest.rb: [no log message]
|
149
|
+
|
150
|
+
* test/zipfilesystemtest.rb: [no log message]
|
151
|
+
|
152
|
+
2005-03-17 18:17 thomas
|
153
|
+
|
154
|
+
* Rakefile: [no log message]
|
155
|
+
|
156
|
+
* NEWS, README, lib/zip/zip.rb: [no log message]
|
157
|
+
|
158
|
+
* install.rb: Fixed install.rb
|
159
|
+
|
160
|
+
2005-03-03 18:38 thomas
|
161
|
+
|
162
|
+
* Rakefile: [no log message]
|
163
|
+
|
164
|
+
2005-02-27 16:23 thomas
|
165
|
+
|
166
|
+
* lib/zip/ziprequire.rb: Added documentation to ziprequire
|
167
|
+
|
168
|
+
* README, TODO, lib/zip/ziprequire.rb: Added documentation to
|
169
|
+
ziprequire
|
170
|
+
|
171
|
+
* Rakefile, test/ziptest.rb: [no log message]
|
172
|
+
|
173
|
+
2005-02-19 21:30 thomas
|
174
|
+
|
175
|
+
* lib/zip/ioextras.rb, lib/zip/stdrubyext.rb,
|
176
|
+
lib/zip/tempfile_bugfixed.rb, lib/zip/zip.rb,
|
177
|
+
lib/zip/ziprequire.rb, test/ioextrastest.rb,
|
178
|
+
test/stdrubyexttest.rb, test/zipfilesystemtest.rb,
|
179
|
+
test/ziprequiretest.rb, test/ziptest.rb: Added more rdoc and
|
180
|
+
changed the remaining tests to Test::Unit
|
181
|
+
|
182
|
+
* lib/zip/: ioextras.rb, zip.rb: Added documentation to
|
183
|
+
ZipInputStream and ZipOutputStream
|
184
|
+
|
185
|
+
2005-02-18 10:27 thomas
|
186
|
+
|
187
|
+
* README: [no log message]
|
188
|
+
|
189
|
+
2005-02-17 23:21 thomas
|
190
|
+
|
191
|
+
* README, Rakefile: Added ppackage (publish package) task to
|
192
|
+
Rakefile
|
193
|
+
|
194
|
+
* README, Rakefile, TODO: Added pdoc (publish doc) task to Rakefile
|
195
|
+
|
196
|
+
* README, Rakefile, TODO, lib/zip/stdrubyext.rb, lib/zip/zip.rb,
|
197
|
+
lib/zip/zipfilesystem.rb: Added a bunch of documentation
|
198
|
+
|
199
|
+
* test/ziptest.rb: [no log message]
|
200
|
+
|
201
|
+
2005-02-16 20:04 thomas
|
202
|
+
|
203
|
+
* NEWS, README, Rakefile: Improved documentation and added rdoc
|
204
|
+
task to Rakefile
|
205
|
+
|
206
|
+
* NEWS, Rakefile, lib/zip/zip.rb: [no log message]
|
207
|
+
|
208
|
+
* Rakefile, samples/example.rb, samples/example_filesystem.rb,
|
209
|
+
samples/gtkRubyzip.rb, samples/write_simple.rb,
|
210
|
+
samples/zipfind.rb, test/.cvsignore, test/gentestfiles.rb:
|
211
|
+
Improvements to Rakefile
|
212
|
+
|
213
|
+
2005-02-15 23:35 thomas
|
214
|
+
|
215
|
+
* NEWS, TODO: [no log message]
|
216
|
+
|
217
|
+
* Rakefile, rubyzip.gemspec: Now uses Rake to build gem
|
218
|
+
|
219
|
+
* Rakefile: [no log message]
|
220
|
+
|
221
|
+
* lib/zip/zip.rb, test/.cvsignore, test/ziptest.rb, NEWS: Fixed
|
222
|
+
compatibility issue with ruby 1.8.2. Migrated test suite to
|
223
|
+
Test::Unit
|
224
|
+
|
225
|
+
* NEWS, lib/zip/ioextras.rb, lib/zip/stdrubyext.rb,
|
226
|
+
lib/zip/tempfile_bugfixed.rb, lib/zip/zip.rb,
|
227
|
+
lib/zip/zipfilesystem.rb, lib/zip/ziprequire.rb, test/.cvsignore,
|
228
|
+
test/file1.txt, test/file1.txt.deflatedData, test/file2.txt,
|
229
|
+
test/gentestfiles.rb, test/ioextrastest.rb,
|
230
|
+
test/notzippedruby.rb, test/rubycode.zip, test/rubycode2.zip,
|
231
|
+
test/stdrubyexttest.rb, test/testDirectory.bin,
|
232
|
+
test/zipWithDirs.zip, test/zipfilesystemtest.rb,
|
233
|
+
test/ziprequiretest.rb, test/ziptest.rb, test/data/.cvsignore,
|
234
|
+
test/data/file1.txt, test/data/file1.txt.deflatedData,
|
235
|
+
test/data/file2.txt, test/data/notzippedruby.rb,
|
236
|
+
test/data/rubycode.zip, test/data/rubycode2.zip,
|
237
|
+
test/data/testDirectory.bin, test/data/zipWithDirs.zip: Changed
|
238
|
+
directory structure
|
239
|
+
|
240
|
+
2005-02-13 22:44 thomas
|
241
|
+
|
242
|
+
* Rakefile, TODO: [no log message]
|
243
|
+
|
244
|
+
* rubyzip.gemspec: [no log message]
|
245
|
+
|
246
|
+
* install.rb: Made install.rb independent of the current path
|
247
|
+
(fixes bug reported by Drew Robinson)
|
248
|
+
|
249
|
+
2004-12-12 11:22 thomas
|
250
|
+
|
251
|
+
* NEWS, TODO, samples/write_simple.rb: Fixed 'version needed to
|
252
|
+
extract'-field wrong in local headers
|
253
|
+
|
254
|
+
2004-05-02 15:17 thomas
|
255
|
+
|
256
|
+
* rubyzip.gemspec: Added gemspec contributed by Chad Fowler
|
257
|
+
|
258
|
+
2004-04-02 07:25 thomas
|
259
|
+
|
260
|
+
* NEWS: Fix for FreeBSD 4.9
|
261
|
+
|
262
|
+
2004-03-29 00:28 thomas
|
263
|
+
|
264
|
+
* NEWS: [no log message]
|
265
|
+
|
266
|
+
2004-03-28 17:59 thomas
|
267
|
+
|
268
|
+
* NEWS: [no log message]
|
269
|
+
|
270
|
+
2004-03-27 16:09 thomas
|
271
|
+
|
272
|
+
* test/stdrubyexttest.rb: Patch for stdrubyext.rb from Nobu Nakada
|
273
|
+
|
274
|
+
* test/: ioextrastest.rb, stdrubyexttest.rb: converted some files
|
275
|
+
to unix line-endings
|
276
|
+
|
277
|
+
2004-03-25 16:34 thomas
|
278
|
+
|
279
|
+
* NEWS, install.rb: Significantly reduced memory footprint when
|
280
|
+
modifying zip files
|
281
|
+
|
282
|
+
2004-03-16 18:20 thomas
|
283
|
+
|
284
|
+
* install.rb, test/alltests.rb, test/ioextrastest.rb,
|
285
|
+
test/stdrubyexttest.rb, test/ziptest.rb: IO utility classes moved
|
286
|
+
to new file ioextras.rb. Tests moved to new file ioextrastest.rb
|
287
|
+
|
288
|
+
2004-02-27 13:21 thomas
|
289
|
+
|
290
|
+
* NEWS: Optimization to avoid decompression and recompression
|
291
|
+
|
292
|
+
2004-01-30 16:17 thomas
|
293
|
+
|
294
|
+
* NEWS: [no log message]
|
295
|
+
|
296
|
+
* README, test/zipfilesystemtest.rb, test/ziptest.rb: Applied
|
297
|
+
extra-field patch
|
298
|
+
|
299
|
+
2003-12-13 16:57 thomas
|
300
|
+
|
301
|
+
* TODO: [no log message]
|
302
|
+
|
303
|
+
2003-12-10 00:25 thomas
|
304
|
+
|
305
|
+
* test/ziptest.rb: (Temporary) fix to bug reported by Takashi Sano
|
306
|
+
|
307
|
+
2003-08-23 09:42 thomas
|
308
|
+
|
309
|
+
* test/ziptest.rb, NEWS: Fixed ZipFile.get_ouput_stream bug - data
|
310
|
+
was never written to zip
|
311
|
+
|
312
|
+
2003-08-21 16:05 thomas
|
313
|
+
|
314
|
+
* install.rb: [no log message]
|
315
|
+
|
316
|
+
* alltests.rb, stdrubyexttest.rb, zipfilesystemtest.rb,
|
317
|
+
ziprequiretest.rb, ziptest.rb, test/alltests.rb,
|
318
|
+
test/stdrubyexttest.rb, test/zipfilesystemtest.rb,
|
319
|
+
test/ziprequiretest.rb, test/ziptest.rb: Moved all test ruby
|
320
|
+
files to test/
|
321
|
+
|
322
|
+
* NEWS, install.rb, stdrubyext.rb, stdrubyexttest.rb, zip.rb,
|
323
|
+
zipfilesystem.rb, zipfilesystemtest.rb, ziprequire.rb,
|
324
|
+
ziprequiretest.rb, ziptest.rb, samples/example.rb,
|
325
|
+
samples/example_filesystem.rb, samples/gtkRubyzip.rb,
|
326
|
+
samples/zipfind.rb: Moved all production source files to zip/ so
|
327
|
+
they are in the same dir as when they are installed
|
328
|
+
|
329
|
+
* NEWS, TODO, alltests.rb: [no log message]
|
330
|
+
|
331
|
+
* filearchive.rb, filearchivetest.rb, fileutils.rb: Removed
|
332
|
+
filearchive.rb, filearchivetest.rb and fileutils.rb
|
333
|
+
|
334
|
+
* samples/.cvsignore, samples/example_filesystem.rb, zip.rb,
|
335
|
+
samples/example_filesystem.rb: Added
|
336
|
+
samples/example_filesystem.rb. Fixed Tempfile creation for
|
337
|
+
entries created with get_output_stream where entries were in a
|
338
|
+
subdirectory
|
339
|
+
|
340
|
+
* zip.rb, ziptest.rb: Fixed mkdir bug. ZipFile.mkdir didn't work if
|
341
|
+
the zipfile doesn't exist already
|
342
|
+
|
343
|
+
* ziptest.rb: [no log message]
|
344
|
+
|
345
|
+
* TODO, zipfilesystemtest.rb: Globbing test placeholder commented
|
346
|
+
out
|
347
|
+
|
348
|
+
* zipfilesystem.rb, zipfilesystemtest.rb: Implemented ZipFsDir.new
|
349
|
+
and open
|
350
|
+
|
351
|
+
* zipfilesystem.rb, zipfilesystemtest.rb: Implemented DirFsIterator
|
352
|
+
and tests
|
353
|
+
|
354
|
+
2003-08-20 22:50 thomas
|
355
|
+
|
356
|
+
* NEWS, TODO: [no log message]
|
357
|
+
|
358
|
+
* zipfilesystemtest.rb: [no log message]
|
359
|
+
|
360
|
+
* zipfilesystem.rb, zipfilesystemtest.rb: Implemented
|
361
|
+
ZipFsDir.foreach, ZipFsDir.entries now reimplemented in terms of
|
362
|
+
it
|
363
|
+
|
364
|
+
* README: [no log message]
|
365
|
+
|
366
|
+
* zipfilesystem.rb, zipfilesystemtest.rb: [no log message]
|
367
|
+
|
368
|
+
* zipfilesystem.rb: All access from ZipFsFile and ZipFsDir to
|
369
|
+
ZipFile is now routed through ZipFileNameMapper which has the
|
370
|
+
single responsibility of mapping entry/filenames
|
371
|
+
|
372
|
+
* alltests.rb, stdrubyext.rb, stdrubyexttest.rb: Added
|
373
|
+
stdrubyexttest.rb and added test test_select_map
|
374
|
+
|
375
|
+
* zipfilesystem.rb: ZipFsDir was in the wrong module. ZipFileSystem
|
376
|
+
now has a ctor that creates ZipFsDir and ZipFsFile instances,
|
377
|
+
instead of creating them lazily. It then passes the dir instance
|
378
|
+
to the file instance and vice versa
|
379
|
+
|
380
|
+
* zip.rb, zipfilesystem.rb, zipfilesystemtest.rb: ZipFsFile.open
|
381
|
+
honours chdir
|
382
|
+
|
383
|
+
* stdrubyext.rb, zip.rb, zipfilesystem.rb, zipfilesystemtest.rb,
|
384
|
+
ziptest.rb: Fixed ZipEntry::parent_as_string. Implemented
|
385
|
+
ZipFsDir.chdir, pwd and entries including test
|
386
|
+
|
387
|
+
2003-08-19 15:44 thomas
|
388
|
+
|
389
|
+
* zip.rb, zipfilesystem.rb, zipfilesystemtest.rb: Implemented
|
390
|
+
ZipFsDir.mkdir
|
391
|
+
|
392
|
+
* zipfilesystem.rb, zipfilesystemtest.rb: Implemented
|
393
|
+
ZipFsDir.delete (and aliases rmdir and unlink)
|
394
|
+
|
395
|
+
* zipfilesystem.rb, zipfilesystemtest.rb: Another dummy
|
396
|
+
implementation and commented out a test for select() which can be
|
397
|
+
added later
|
398
|
+
|
399
|
+
2003-08-18 20:40 thomas
|
400
|
+
|
401
|
+
* ziptest.rb: Honoured 1.8.0 Object.to_a deprecation warning
|
402
|
+
|
403
|
+
* zip.rb, ziptest.rb, samples/example.rb, samples/zipfind.rb:
|
404
|
+
Converted a few more names to ruby underscore style that I missed
|
405
|
+
with the automated processing the first time around
|
406
|
+
|
407
|
+
* zip.rb, zipfilesystem.rb, zipfilesystemtest.rb, ziptest.rb:
|
408
|
+
Implemented Zip::ZipFile.get_output_stream
|
409
|
+
|
410
|
+
2003-08-17 18:28 thomas
|
411
|
+
|
412
|
+
* README, install.rb, stdrubyext.rb, zipfilesystem.rb,
|
413
|
+
zipfilesystemtest.rb: Updated README with Documentation section.
|
414
|
+
Updated install.rb. Fixed three tests that failed on 1.8.0.
|
415
|
+
|
416
|
+
2003-08-14 05:40 thomas
|
417
|
+
|
418
|
+
* zipfilesystem.rb, zipfilesystemtest.rb: Added empty
|
419
|
+
implementations of atime and ctime
|
420
|
+
|
421
|
+
2003-08-13 17:08 thomas
|
422
|
+
|
423
|
+
* simpledist.rb: Moved simpledist to a separate repository called
|
424
|
+
'misc'
|
425
|
+
|
426
|
+
* NEWS: [no log message]
|
427
|
+
|
428
|
+
* stdrubyext.rb, zip.rb, zipfilesystem.rb, zipfilesystemtest.rb,
|
429
|
+
ziprequire.rb, ziprequiretest.rb, ziptest.rb, samples/example.rb,
|
430
|
+
samples/gtkRubyzip.rb, samples/zipfind.rb: Changed all method
|
431
|
+
names to the ruby convention underscore style
|
432
|
+
|
433
|
+
* alltests.rb, zipfilesystem.rb, zipfilesystemtest.rb: Implemented
|
434
|
+
a lot more of the stat methods. Mostly with dummy implementations
|
435
|
+
that return values that indicate that these features aren't
|
436
|
+
supported
|
437
|
+
|
438
|
+
* zipfilesystem.rb, zipfilesystemtest.rb: Implemented more methods
|
439
|
+
and tests in zipfilesystem. Mostly empty methods as permissions
|
440
|
+
and file types other than files and directories are not supported
|
441
|
+
|
442
|
+
* install.rb, stdrubyext.rb, zip.rb, zipfilesystem.rb,
|
443
|
+
zipfilesystemtest.rb: Addd file stdrubyext.rb and moved the
|
444
|
+
modifications to std ruby classes to it. Refactored the ZipFsStat
|
445
|
+
tests and ZipFsStat. Added Module.forwardMessages and used it to
|
446
|
+
implement the forwarding of calls in ZipFsStat
|
447
|
+
|
448
|
+
* zipfilesystem.rb, zipfilesystemtest.rb: Added
|
449
|
+
Zip::ZipFsFile::ZipFsStat and started implementing it and its
|
450
|
+
methods
|
451
|
+
|
452
|
+
* zipfilesystem.rb, zipfilesystemtest.rb, ziptest.rb: Updated and
|
453
|
+
added missing copyright notices
|
454
|
+
|
455
|
+
* zip.rb, zipfilesystem.rb, zipfilesystemtest.rb: zipfilesystem.rb
|
456
|
+
is becoming big and not everyone will want to use that code.
|
457
|
+
Therefore zip.rb no longer requires it. Instead you must require
|
458
|
+
zipfilesystem.rb itself if you want to use it
|
459
|
+
|
460
|
+
* zipfilesystem.rb, zipfilesystemtest.rb: Implemented dummy
|
461
|
+
permission test methods
|
462
|
+
|
463
|
+
* TODO, zip.rb, ziptest.rb: Merged from patch from Kristoffer
|
464
|
+
Lunden. Fixed more 1.8.0 incompatibilites - tests run on 1.8.0
|
465
|
+
now
|
466
|
+
|
467
|
+
2003-08-12 19:18 thomas
|
468
|
+
|
469
|
+
* zip.rb: Get rid of 1.8.0 warning
|
470
|
+
|
471
|
+
* ziptest.rb: ruby 1.8.0 compatibility fix
|
472
|
+
|
473
|
+
* NEWS, zip.rb: ruby-zlib 0.6.0 compatibility fix
|
474
|
+
|
475
|
+
2002-12-22 20:12 thomas
|
476
|
+
|
477
|
+
* zip.rb: [no log message]
|
478
|
+
|
479
|
+
2002-09-16 22:11 thomas
|
480
|
+
|
481
|
+
* NEWS: [no log message]
|
482
|
+
|
483
|
+
2002-09-15 17:16 thomas
|
484
|
+
|
485
|
+
* samples/zipfind.rb: [no log message]
|
486
|
+
|
487
|
+
* samples/zipfind.rb: [no log message]
|
488
|
+
|
489
|
+
2002-09-14 22:59 thomas
|
490
|
+
|
491
|
+
* samples/zipfind.rb: Added simple zipfind script
|
492
|
+
|
493
|
+
2002-09-13 23:53 thomas
|
494
|
+
|
495
|
+
* TODO: Added TODO about openmode for zip entries binary/ascii
|
496
|
+
|
497
|
+
* NEWS: ziptest now runs without errors with ruby-1.7.2-4 (Andy's
|
498
|
+
latest build)
|
499
|
+
|
500
|
+
* zip.rb, ziprequiretest.rb, ziptest.rb: ziptest now runs without
|
501
|
+
errors with ruby-1.7.2-4 (Andy's latest build)
|
502
|
+
|
503
|
+
2002-09-12 00:20 thomas
|
504
|
+
|
505
|
+
* zipfilesystemtest.rb: Improved ZipFsFile.delete/unlink test
|
506
|
+
|
507
|
+
* test/.cvsignore: [no log message]
|
508
|
+
|
509
|
+
* zipfilesystem.rb, zipfilesystemtest.rb: Implemented
|
510
|
+
ZipFsFile.delete/unlink
|
511
|
+
|
512
|
+
2002-09-11 22:22 thomas
|
513
|
+
|
514
|
+
* alltests.rb: [no log message]
|
515
|
+
|
516
|
+
* NEWS, zip.rb, zipfilesystem.rb, zipfilesystemtest.rb: Fixed
|
517
|
+
AbstractInputStream.each_line ignored its aSeparator argument.
|
518
|
+
Implemented more ZipFsFile methods
|
519
|
+
|
520
|
+
* zip.rb, zipfilesystem.rb, zipfilesystemtest.rb: ZipFileSystem is
|
521
|
+
now a module instead of a class, and is mixed into ZipFile,
|
522
|
+
instead of being made available as a property fileSystem
|
523
|
+
|
524
|
+
2002-09-10 23:45 thomas
|
525
|
+
|
526
|
+
* NEWS: Updated NEWS file
|
527
|
+
|
528
|
+
* zip.rb: [no log message]
|
529
|
+
|
530
|
+
* NEWS, zip.rb, ziptest.rb: Fix bug: rewind should reset lineno.
|
531
|
+
Fix bug: Deflater.read uses separate buffer from produceInput
|
532
|
+
(feeding gets/readline etc)
|
533
|
+
|
534
|
+
2002-09-09 23:48 thomas
|
535
|
+
|
536
|
+
* .cvsignore: [no log message]
|
537
|
+
|
538
|
+
2002-09-09 22:55 uid26649
|
539
|
+
|
540
|
+
* zip.rb, ziptest.rb: Implemented ZipInputStream.rewind and
|
541
|
+
AbstractInputStream.lineno. Tests for both
|
542
|
+
|
543
|
+
2002-09-09 20:31 thomas
|
544
|
+
|
545
|
+
* zip.rb, ziptest.rb: ZipInputStream and ZipOutstream (thru their
|
546
|
+
AbstractInputStream and AbstractOutputStream now lie about being
|
547
|
+
kind_of?(IO)
|
548
|
+
|
549
|
+
2002-09-08 16:38 thomas
|
550
|
+
|
551
|
+
* zipfilesystemtest.rb: [no log message]
|
552
|
+
|
553
|
+
* filearchive.rb, filearchivetest.rb, zip.rb, ziptest.rb: Moved
|
554
|
+
String additions from filearchive.rb to zip.rb (and moved tests
|
555
|
+
along too to ziptest.rb). Added ZipEntry.parentAsString and
|
556
|
+
ZipEntrySet.parent
|
557
|
+
|
558
|
+
* ziptest.rb: Implemented ZipEntrySetTest.testDup and testCompound
|
559
|
+
|
560
|
+
* TODO, zip.rb, ziptest.rb: Replaced Array with EntrySet for
|
561
|
+
keeping entries in a zip file. Tagged repository before this
|
562
|
+
commit, so this change can be rolled back, if it stinks
|
563
|
+
|
564
|
+
2002-09-07 20:21 thomas
|
565
|
+
|
566
|
+
* zip.rb, ziptest.rb: Implemented ZipEntry.<=>
|
567
|
+
|
568
|
+
* ziptest.rb: Removed unused code
|
569
|
+
|
570
|
+
2002-08-11 15:14 thomas
|
571
|
+
|
572
|
+
* zip.rb, ziptest.rb: Made some changes to accomodate ruby 1.7.2
|
573
|
+
|
574
|
+
2002-07-27 15:25 thomas
|
575
|
+
|
576
|
+
* zipfilesystem.rb, zipfilesystemtest.rb: Implemented ZipFsFile.new
|
577
|
+
|
578
|
+
* zipfilesystem.rb, zipfilesystemtest.rb: Implemented
|
579
|
+
ZipFsFile.pipe
|
580
|
+
|
581
|
+
* zipfilesystem.rb, zipfilesystemtest.rb: Implemented
|
582
|
+
ZipFsFile.link
|
583
|
+
|
584
|
+
* zipfilesystem.rb, zipfilesystemtest.rb: Implemented
|
585
|
+
ZipFsFile.symlink
|
586
|
+
|
587
|
+
* zipfilesystem.rb, zipfilesystemtest.rb: Implemented
|
588
|
+
ZipFsFile.readlink, wrapped ZipFileSystem class in Zip module
|
589
|
+
|
590
|
+
* zipfilesystem.rb, zipfilesystemtest.rb: Implemented
|
591
|
+
ZipFsFile.zero?
|
592
|
+
|
593
|
+
* zipfilesystem.rb, zipfilesystemtest.rb: Implemented test for
|
594
|
+
ZipFsFile.directory?
|
595
|
+
|
596
|
+
2002-07-26 23:56 thomas
|
597
|
+
|
598
|
+
* zipfilesystem.rb, zipfilesystemtest.rb: Implemented
|
599
|
+
ZipFsFile.socket?
|
600
|
+
|
601
|
+
* zipfilesystem.rb, zipfilesystemtest.rb: Implemented
|
602
|
+
ZipFsFile.join
|
603
|
+
|
604
|
+
* zipfilesystem.rb, zipfilesystemtest.rb: Implemented
|
605
|
+
ZipFsFile.ftype
|
606
|
+
|
607
|
+
* zipfilesystem.rb, zipfilesystemtest.rb: Implemented
|
608
|
+
ZipFsFile.blockdev?
|
609
|
+
|
610
|
+
* zipfilesystem.rb, zipfilesystemtest.rb: Implemented
|
611
|
+
ZipFsFile.size? (slightly different from size)
|
612
|
+
|
613
|
+
* zipfilesystem.rb, zipfilesystemtest.rb: Implemented
|
614
|
+
ZipFsFile.split
|
615
|
+
|
616
|
+
* zipfilesystem.rb, zipfilesystemtest.rb: Implemented
|
617
|
+
ZipFsFile.symlink?
|
618
|
+
|
619
|
+
* alltests.rb, zip.rb, zipfilesystem.rb, zipfilesystemtest.rb:
|
620
|
+
Implemented ZipFsFile.mtime
|
621
|
+
|
622
|
+
* zipfilesystem.rb, zipfilesystemtest.rb: Implement ZipFsFile.file?
|
623
|
+
|
624
|
+
* zip.rb, ziptest.rb: Implemented ZipEntry.file?
|
625
|
+
|
626
|
+
* alltests.rb, filearchive.rb, filearchivetest.rb, zip.rb,
|
627
|
+
zipfilesystem.rb, zipfilesystemtest.rb, ziprequire.rb,
|
628
|
+
ziptest.rb: Implemented ZipFileSystem::ZipFsFile.size
|
629
|
+
|
630
|
+
* zipfilesystem.rb, zipfilesystemtest.rb: [no log message]
|
631
|
+
|
632
|
+
* test/zipWithDirs.zip: Changed zipWithDirs.zip so all the entries
|
633
|
+
in it have unix file endings
|
634
|
+
|
635
|
+
* alltests.rb, zip.rb, zipfilesystem.rb, zipfilesystemtest.rb:
|
636
|
+
Started implementing ZipFileSystem
|
637
|
+
|
638
|
+
* test/zipWithDirs.zip: Added a zip file for testing with a
|
639
|
+
directory structure
|
640
|
+
|
641
|
+
2002-07-22 21:40 thomas
|
642
|
+
|
643
|
+
* TODO: [no log message]
|
644
|
+
|
645
|
+
* TODO: [no log message]
|
646
|
+
|
647
|
+
2002-07-21 18:20 thomas
|
648
|
+
|
649
|
+
* NEWS: [no log message]
|
650
|
+
|
651
|
+
* TODO: Updated TODO with a refactoring idea for FileArchive
|
652
|
+
|
653
|
+
* filearchive.rb, filearchivetest.rb: Added some FileArchiveAdd
|
654
|
+
tests and cleaned up some of the FileArchive tests. extract and
|
655
|
+
add now have individual test fixtures.
|
656
|
+
|
657
|
+
* filearchive.rb, filearchivetest.rb: Added tests for extract
|
658
|
+
called with regex src arg and Enumerable src arg
|
659
|
+
|
660
|
+
* filearchivetest.rb: Added test for continueOnExistsProc when
|
661
|
+
extracting from a file archive
|
662
|
+
|
663
|
+
2002-07-20 17:13 thomas
|
664
|
+
|
665
|
+
* TODO, filearchivetest.rb, fileutils.rb, ziptest.rb,
|
666
|
+
test/.cvsignore: Added (failing) tests for FileArchive.add, added
|
667
|
+
code for creating test files for FileArchive.add tests. Added
|
668
|
+
fileutils.rb, which is borrowed from ruby 1.7.2
|
669
|
+
|
670
|
+
* filearchive.rb, filearchivetest.rb: [no log message]
|
671
|
+
|
672
|
+
* filearchivetest.rb: Added tests for String extensions
|
673
|
+
|
674
|
+
* alltests.rb, ziprequiretest.rb, ziptest.rb: [no log message]
|
675
|
+
|
676
|
+
* install.rb: [no log message]
|
677
|
+
|
678
|
+
* TODO: Updated TODO
|
679
|
+
|
680
|
+
* filearchive.rb, filearchivetest.rb: All FileArchive.extract tests
|
681
|
+
run
|
682
|
+
|
683
|
+
2002-07-19 23:11 thomas
|
684
|
+
|
685
|
+
* filearchive.rb, filearchivetest.rb: [no log message]
|
686
|
+
|
687
|
+
* filearchivetest.rb: [no log message]
|
688
|
+
|
689
|
+
* filearchive.rb, filearchivetest.rb: [no log message]
|
690
|
+
|
691
|
+
* filearchive.rb, filearchivetest.rb, zip.rb: [no log message]
|
692
|
+
|
693
|
+
2002-07-08 13:41 thomas
|
694
|
+
|
695
|
+
* TODO: [no log message]
|
696
|
+
|
697
|
+
2002-06-11 19:47 thomas
|
698
|
+
|
699
|
+
* filearchive.rb, filearchivetest.rb, zip.rb, ziptest.rb: [no log
|
700
|
+
message]
|
701
|
+
|
702
|
+
2002-05-25 00:41 thomas
|
703
|
+
|
704
|
+
* simpledist.rb: Added hackish script for creating dist files
|
705
|
+
|
706
|
+
2002-04-30 21:22 thomas
|
707
|
+
|
708
|
+
* TODO: [no log message]
|
709
|
+
|
710
|
+
* filearchive.rb, filearchivetest.rb: [no log message]
|
711
|
+
|
712
|
+
* filearchive.rb, filearchivetest.rb: Improved testing and wrote
|
713
|
+
some of the skeleton of extract. Still to do: Fix glob, so it
|
714
|
+
returns a hashmap instead of a list. The map will need to map the
|
715
|
+
full entry name to the last part of the name (which is only
|
716
|
+
really interesting for recursively extracted entries, otherwise
|
717
|
+
it is just the name). Glob.expandPathList should also output
|
718
|
+
directories with a trailing slash, which is doesn't right now.
|
719
|
+
|
720
|
+
* filearchive.rb, filearchivetest.rb: Implemented the first few
|
721
|
+
tests for FileArchive
|
722
|
+
|
723
|
+
2002-04-24 22:06 thomas
|
724
|
+
|
725
|
+
* ziprequire.rb, ziprequiretest.rb: Appended copyright message to
|
726
|
+
ziprequire.rb and ziprequiretest.rb
|
727
|
+
|
728
|
+
* zip.rb: Made ZipEntry tolerate invalid dates
|
729
|
+
|
730
|
+
2002-04-21 00:57 thomas
|
731
|
+
|
732
|
+
* NEWS, TODO, zip.rb, ziptest.rb: Read and write entry modification
|
733
|
+
date/time correctly
|
734
|
+
|
735
|
+
2002-04-20 02:44 thomas
|
736
|
+
|
737
|
+
* ziprequiretest.rb, test/rubycode2.zip: improved ZipRequireTest
|
738
|
+
|
739
|
+
* ziprequire.rb: Made a warning go away
|
740
|
+
|
741
|
+
* ziprequire.rb, ziprequiretest.rb, test/notzippedruby.rb,
|
742
|
+
test/rubycode.zip: Fixed a bug in ziprequire. Added
|
743
|
+
ziprequiretest.rb and test data files
|
744
|
+
|
745
|
+
2002-04-19 22:43 thomas
|
746
|
+
|
747
|
+
* zip.rb, ziptest.rb: Added recursion support to Glob module
|
748
|
+
|
749
|
+
2002-04-18 21:37 thomas
|
750
|
+
|
751
|
+
* NEWS, TODO, zip.rb, ziptest.rb: Added Glob module and GlobTest
|
752
|
+
unit test suite. This module provides the functionality to expand
|
753
|
+
a 'glob pattern' given a list of files - Next step is to use this
|
754
|
+
module in ZipFile
|
755
|
+
|
756
|
+
2002-04-01 22:55 thomas
|
757
|
+
|
758
|
+
* NEWS: [no log message]
|
759
|
+
|
760
|
+
* TODO, zip.rb, ziprequire.rb: Added ziprequire.rb which contains a
|
761
|
+
proof-of-concept implementation of a require implementation that
|
762
|
+
can load ruby modules from a zip file. Needs unit tests and
|
763
|
+
polish.
|
764
|
+
|
765
|
+
2002-03-31 01:13 thomas
|
766
|
+
|
767
|
+
* README: [no log message]
|
768
|
+
|
769
|
+
2002-03-30 16:14 thomas
|
770
|
+
|
771
|
+
* TODO: [no log message]
|
772
|
+
|
773
|
+
* .cvsignore, README, zip.rb: Added rdoc markup (only #:nodoc:all
|
774
|
+
modifiers) to zip.rb. Made README 'RDoc compliant'
|
775
|
+
|
776
|
+
2002-03-29 23:29 thomas
|
777
|
+
|
778
|
+
* TODO: [no log message]
|
779
|
+
|
780
|
+
* example.rb, samples/.cvsignore, samples/example.rb,
|
781
|
+
samples/gtkRubyzip.rb: Moved example.rb to samples/. Added
|
782
|
+
another sample gtkRubyzip.rb
|
783
|
+
|
784
|
+
* NEWS, TODO, TODO: [no log message]
|
785
|
+
|
786
|
+
* .cvsignore, file1.txt, file1.txt.deflatedData, testDirectory.bin,
|
787
|
+
ziptest.rb, test/.cvsignore, test/file1.txt,
|
788
|
+
test/file1.txt.deflatedData, test/file2.txt,
|
789
|
+
test/testDirectory.bin: Added test/ directory and moved the
|
790
|
+
manually created test data files into it. Changed ziptest.rb so
|
791
|
+
it runs in test/ directory
|
792
|
+
|
793
|
+
* TODO: [no log message]
|
794
|
+
|
795
|
+
* NEWS, zip.rb, ziptest.rb: Don't decompress and recompress zip
|
796
|
+
entries when changing zip file
|
797
|
+
|
798
|
+
* zip.rb: Performance optimization: Only write new ZipFile, if it
|
799
|
+
has been changed. The test suite runs in half the time now.
|
800
|
+
|
801
|
+
2002-03-28 22:12 thomas
|
802
|
+
|
803
|
+
* TODO: [no log message]
|
804
|
+
|
805
|
+
2002-03-23 17:31 thomas
|
806
|
+
|
807
|
+
* TODO: [no log message]
|
808
|
+
|
809
|
+
2002-03-22 22:47 thomas
|
810
|
+
|
811
|
+
* NEWS: [no log message]
|
812
|
+
|
813
|
+
* NEWS, TODO: [no log message]
|
814
|
+
|
815
|
+
* ziptest.rb: Found the tests that didn't use blocks to make sure
|
816
|
+
input streams are closed as soon as they arent used anymore and
|
817
|
+
got rid of the GC.start
|
818
|
+
|
819
|
+
* ziptest.rb: All tests run on windows ruby 1.6.6
|
820
|
+
|
821
|
+
* zip.rb, ziptest.rb: Windows fixes: Fixed ZipFile.initialize which
|
822
|
+
needed to open zipfile file in binary mode. Added another
|
823
|
+
workaround for the return value from File.open(name) where name
|
824
|
+
is the name of a directory - ruby returns different exceptions in
|
825
|
+
linux, win/cygwin and windows. A number of tests failed because
|
826
|
+
in windows you cant delete a file that is open. Fixed by changing
|
827
|
+
ziptest.rb to use ZipInputStream.getInputStream with blocks a few
|
828
|
+
places. There is a hack in CommanZipFileFixture.setup where the
|
829
|
+
GC is explicitly invoked. Should be fixed with blocks instead.
|
830
|
+
The only currently failing test fails because the test data
|
831
|
+
creation fails to add a comment to 4entry.zip, because echo eats
|
832
|
+
the remainder of the line including the pipe character and the
|
833
|
+
following zip -z 4 entry.zip command
|
834
|
+
|
835
|
+
2002-03-21 22:18 thomas
|
836
|
+
|
837
|
+
* NEWS: [no log message]
|
838
|
+
|
839
|
+
* NEWS, README, TODO, install.rb: Added install.rb
|
840
|
+
|
841
|
+
* ziptest.rb: [no log message]
|
842
|
+
|
843
|
+
* NEWS, TODO: [no log message]
|
844
|
+
|
845
|
+
* .cvsignore, TODO, zip.rb, ziptest.rb: Added
|
846
|
+
test_extractDirectoryExistsAsFileOverwrite and fixed to pass
|
847
|
+
|
848
|
+
* zip.rb, ziptest.rb: Extraction of directory entries is now
|
849
|
+
supported
|
850
|
+
|
851
|
+
2002-03-20 21:59 thomas
|
852
|
+
|
853
|
+
* NEWS: [no log message]
|
854
|
+
|
855
|
+
* COPYING, README, README.txt: Removed COPYING, renamed README.txt
|
856
|
+
to README. Updated README
|
857
|
+
|
858
|
+
* example.rb: Fixed example.rb added example that shows zip file
|
859
|
+
manipulation with Zip::ZipFile
|
860
|
+
|
861
|
+
* .cvsignore: [no log message]
|
862
|
+
|
863
|
+
* TODO, zip.rb, ziptest.rb: Directories can now be added (not
|
864
|
+
recursively, the directory entry itself. Directories are
|
865
|
+
recognized by a empty entries with a trailing /. The purpose of
|
866
|
+
storing them explicitly in the zip file is to be able to store
|
867
|
+
permission and ownership information
|
868
|
+
|
869
|
+
* TODO, zip.rb, ziptest.rb: zip.rb depended on ftools but it was
|
870
|
+
only included in ziptest.rb
|
871
|
+
|
872
|
+
* zip.rb, ziptest.rb: ZipError is now a subclass of StandardError
|
873
|
+
instead of RuntimeError. ZipError now has several subclasses.
|
874
|
+
|
875
|
+
2002-03-19 22:26 thomas
|
876
|
+
|
877
|
+
* TODO: [no log message]
|
878
|
+
|
879
|
+
* TODO, ziptest.rb: Unit test ZipFile.getInputStream with block
|
880
|
+
|
881
|
+
* TODO, zip.rb, ziptest.rb: Unit test for adding new entry with
|
882
|
+
name that already exists in archive, and fixed to pass test
|
883
|
+
|
884
|
+
* TODO, zip.rb, ziptest.rb: Added unit tests for rename to existing
|
885
|
+
entry
|
886
|
+
|
887
|
+
* TODO: [no log message]
|
888
|
+
|
889
|
+
* TODO, zip.rb, ziptest.rb: Unit test calling ZipFile.extract with
|
890
|
+
block
|
891
|
+
|
892
|
+
2002-03-18 21:06 thomas
|
893
|
+
|
894
|
+
* TODO: [no log message]
|
895
|
+
|
896
|
+
* zip.rb, ziptest.rb: ZipFile#commit now reinitializes ZipFile.
|
897
|
+
|
898
|
+
* TODO, zip.rb, ziptest.rb: Refactoring:
|
899
|
+
|
900
|
+
Collapsed ZipEntry and ZipStreamableZipEntry into ZipEntry.
|
901
|
+
|
902
|
+
Collapsed BasicZipFile and ZipFile into ZipFile.
|
903
|
+
|
904
|
+
* zip.rb: Removed method that was never called
|
905
|
+
|
906
|
+
2002-03-17 22:33 thomas
|
907
|
+
|
908
|
+
* TODO: [no log message]
|
909
|
+
|
910
|
+
* ziptest.rb: Run tests with =true as default
|
911
|
+
|
912
|
+
* NEWS, TODO, zip.rb, ziptest.rb: Now runs with -w switch without
|
913
|
+
warnings
|
914
|
+
|
915
|
+
* .cvsignore: [no log message]
|
916
|
+
|
917
|
+
* zip.rb, ziptest.rb: Down to one failing test
|
918
|
+
|
919
|
+
* zip.rb, ziptest.rb: [no log message]
|
920
|
+
|
921
|
+
* TODO, zip.rb, ziptest.rb: [no log message]
|
922
|
+
|
923
|
+
2002-02-25 19:42 thomas
|
924
|
+
|
925
|
+
* TODO: Added more todos
|
926
|
+
|
927
|
+
2002-02-23 15:51 thomas
|
928
|
+
|
929
|
+
* zip.rb: [no log message]
|
930
|
+
|
931
|
+
* zip.rb, ziptest.rb: [no log message]
|
932
|
+
|
933
|
+
* zip.rb, ziptest.rb: [no log message]
|
934
|
+
|
935
|
+
2002-02-03 18:47 thomas
|
936
|
+
|
937
|
+
* ziptest.rb: [no log message]
|
938
|
+
|
939
|
+
2002-02-02 15:58 thomas
|
940
|
+
|
941
|
+
* example.rb, zip.rb, ziptest.rb: [no log message]
|
942
|
+
|
943
|
+
* .cvsignore: [no log message]
|
944
|
+
|
945
|
+
* example.rb, zip.rb, ziptest.rb: Renamed SimpleZipFile to
|
946
|
+
BasicZipFile
|
947
|
+
|
948
|
+
* TODO: [no log message]
|
949
|
+
|
950
|
+
* ziptest.rb: More test cases - all of them failing, so now there
|
951
|
+
are 18 failing test cases. Three more test cases to implement,
|
952
|
+
then it is time for the production code
|
953
|
+
|
954
|
+
2002-02-01 21:49 thomas
|
955
|
+
|
956
|
+
* ziptest.rb: [no log message]
|
957
|
+
|
958
|
+
* ziptest.rb: Also run SimpleZipFile tests for ZipFile.
|
959
|
+
|
960
|
+
* example.rb, zip.rb, ziptest.rb: ZipFile renamed to SimpleZipFile.
|
961
|
+
The new ZipFile will have many more methods that are useful for
|
962
|
+
managing archives.
|
963
|
+
|
964
|
+
2002-01-29 20:30 thomas
|
965
|
+
|
966
|
+
* TODO: [no log message]
|
967
|
+
|
968
|
+
2002-01-26 00:18 thomas
|
969
|
+
|
970
|
+
* NEWS: [no log message]
|
971
|
+
|
972
|
+
* ziptest.rb: In unit test: work around ruby/cygwin weirdness. You
|
973
|
+
get an Errno::EEXISTS instead of an Errno::EISDIR if you try to
|
974
|
+
open a file for writing that is a directory.
|
975
|
+
|
976
|
+
* ziptest.rb: Fixed test that failed on windows because of CRLF
|
977
|
+
line ending
|
978
|
+
|
979
|
+
2002-01-25 23:58 thomas
|
980
|
+
|
981
|
+
* ziptest.rb: [no log message]
|
982
|
+
|
983
|
+
* .cvsignore, example.rb, zip.rb: Fixed bug reading from empty
|
984
|
+
deflated entry in zip file
|
985
|
+
|
986
|
+
* .cvsignore: [no log message]
|
987
|
+
|
988
|
+
* ziptest.rb: [no log message]
|
989
|
+
|
990
|
+
* NEWS, README.txt, zip.rb, ziptest.rb: Zip write support is now
|
991
|
+
fully functional in the form of ZipOutputStream.
|
992
|
+
|
993
|
+
* zip.rb, ziptest.rb: [no log message]
|
994
|
+
|
995
|
+
* zip.rb, ziptest.rb: [no log message]
|
996
|
+
|
997
|
+
2002-01-20 16:00 thomas
|
998
|
+
|
999
|
+
* zip.rb, ziptest.rb: Added Deflater and DeflaterTest.
|
1000
|
+
|
1001
|
+
* .cvsignore: [no log message]
|
1002
|
+
|
1003
|
+
* .cvsignore: Added .cvsignore file
|
1004
|
+
|
1005
|
+
* zip.rb, ziptest.rb: Added ZipEntry.writeCDirEntry and misc minor
|
1006
|
+
fixes
|
1007
|
+
|
1008
|
+
2002-01-19 23:28 thomas
|
1009
|
+
|
1010
|
+
* example.rb, zip.rb, ziptest.rb: NOTICE: Not all tests run!!
|
1011
|
+
|
1012
|
+
ZipOutputStream in progress
|
1013
|
+
|
1014
|
+
Wrapped rubyzip in namespace module Zip.
|
1015
|
+
|
1016
|
+
2002-01-17 18:52 thomas
|
1017
|
+
|
1018
|
+
* ziptest.rb: Fail nicely if the user doesn't have info-zip
|
1019
|
+
compatible zip in the path
|
1020
|
+
|
1021
|
+
2002-01-10 18:02 thomas
|
1022
|
+
|
1023
|
+
* zip.rb: Adjusted chunk size to 32k after a few perf measurements
|
1024
|
+
|
1025
|
+
2002-01-09 22:10 thomas
|
1026
|
+
|
1027
|
+
* README.txt: License now same as rubys, not just GPL
|
1028
|
+
|
1029
|
+
2002-01-06 00:19 thomas
|
1030
|
+
|
1031
|
+
* README.txt: [no log message]
|
1032
|
+
|
1033
|
+
2002-01-05 23:09 thomas
|
1034
|
+
|
1035
|
+
* NEWS, README.txt, NEWS: Updated NEWS file
|
1036
|
+
|
1037
|
+
* README.txt, zip.rb, ziptest.rb, zlib.c.diff: Added tests for
|
1038
|
+
decompressors and a tests for ZipLocalEntry,
|
1039
|
+
ZipCentralDirectoryEntry and ZipCentralDirectory for handling of
|
1040
|
+
corrupt data
|
1041
|
+
|
1042
|
+
* file1.txt.deflatedData: deflated data extracted from a zip file.
|
1043
|
+
contains file1.txt
|
1044
|
+
|
1045
|
+
* zip.rb: Changed references to Inflate to Zlib::inflate for
|
1046
|
+
compatibility with ruby-zlib-0.5
|
1047
|
+
|
1048
|
+
* README.txt, zip.rb, ziptest.rb: [no log message]
|
1049
|
+
|
1050
|
+
* example.rb, NEWS: [no log message]
|
1051
|
+
|
1052
|
+
* COPYING, README.txt: [no log message]
|
1053
|
+
|
1054
|
+
* ziptest.rb: Fixed problem with test file creation
|
1055
|
+
|
1056
|
+
* README.txt: Updated README.txt
|
1057
|
+
|
1058
|
+
* zip.rb, ziptest.rb: ZipFile now works
|
1059
|
+
|
1060
|
+
2002-01-04 21:51 thomas
|
1061
|
+
|
1062
|
+
* testDirectory.bin, zip.rb, ziptest.rb:
|
1063
|
+
ZipCentralDirectoryEntryTest now runs
|
1064
|
+
|
1065
|
+
* ziptest.rb: Changed
|
1066
|
+
ZIpLocalNEtryTest::test_ReadLocalEntryHeaderOfFirstTestZipEntry
|
1067
|
+
so it works on both unix too. It only worked on windows because
|
1068
|
+
the test made assumptions about the compressed size and crc of an
|
1069
|
+
entry, but that differs depending on the OS because of the CRLF
|
1070
|
+
thing.
|
1071
|
+
|
1072
|
+
* README.txt: Added note about zlib.c patch
|
1073
|
+
|
1074
|
+
2002-01-02 18:48 thomas
|
1075
|
+
|
1076
|
+
* README.txt, example.rb, file1.txt, zip.rb, ziptest.rb,
|
1077
|
+
zlib.c.diff: initial
|
1078
|
+
|
1079
|
+
* README.txt, example.rb, file1.txt, zip.rb, ziptest.rb,
|
1080
|
+
zlib.c.diff: Initial revision
|
1081
|
+
|