rubyzip 0.9.1 → 2.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (103) hide show
  1. checksums.yaml +7 -0
  2. data/README.md +354 -0
  3. data/Rakefile +15 -104
  4. data/TODO +0 -1
  5. data/lib/zip/central_directory.rb +212 -0
  6. data/lib/zip/compressor.rb +9 -0
  7. data/lib/zip/constants.rb +115 -0
  8. data/lib/zip/crypto/decrypted_io.rb +40 -0
  9. data/lib/zip/crypto/encryption.rb +11 -0
  10. data/lib/zip/crypto/null_encryption.rb +43 -0
  11. data/lib/zip/crypto/traditional_encryption.rb +99 -0
  12. data/lib/zip/decompressor.rb +31 -0
  13. data/lib/zip/deflater.rb +34 -0
  14. data/lib/zip/dos_time.rb +53 -0
  15. data/lib/zip/entry.rb +719 -0
  16. data/lib/zip/entry_set.rb +88 -0
  17. data/lib/zip/errors.rb +19 -0
  18. data/lib/zip/extra_field/generic.rb +44 -0
  19. data/lib/zip/extra_field/ntfs.rb +94 -0
  20. data/lib/zip/extra_field/old_unix.rb +46 -0
  21. data/lib/zip/extra_field/universal_time.rb +77 -0
  22. data/lib/zip/extra_field/unix.rb +39 -0
  23. data/lib/zip/extra_field/zip64.rb +70 -0
  24. data/lib/zip/extra_field/zip64_placeholder.rb +15 -0
  25. data/lib/zip/extra_field.rb +103 -0
  26. data/lib/zip/file.rb +468 -0
  27. data/lib/zip/filesystem.rb +643 -0
  28. data/lib/zip/inflater.rb +54 -0
  29. data/lib/zip/input_stream.rb +180 -0
  30. data/lib/zip/ioextras/abstract_input_stream.rb +122 -0
  31. data/lib/zip/ioextras/abstract_output_stream.rb +43 -0
  32. data/lib/zip/ioextras.rb +21 -140
  33. data/lib/zip/null_compressor.rb +15 -0
  34. data/lib/zip/null_decompressor.rb +19 -0
  35. data/lib/zip/null_input_stream.rb +10 -0
  36. data/lib/zip/output_stream.rb +198 -0
  37. data/lib/zip/pass_thru_compressor.rb +23 -0
  38. data/lib/zip/pass_thru_decompressor.rb +31 -0
  39. data/lib/zip/streamable_directory.rb +15 -0
  40. data/lib/zip/streamable_stream.rb +52 -0
  41. data/lib/zip/version.rb +3 -0
  42. data/lib/zip.rb +72 -0
  43. data/samples/example.rb +44 -32
  44. data/samples/example_filesystem.rb +16 -19
  45. data/samples/example_recursive.rb +54 -0
  46. data/samples/gtk_ruby_zip.rb +84 -0
  47. data/samples/qtzip.rb +25 -34
  48. data/samples/write_simple.rb +10 -13
  49. data/samples/zipfind.rb +38 -45
  50. metadata +182 -91
  51. data/ChangeLog +0 -1504
  52. data/NEWS +0 -144
  53. data/README +0 -72
  54. data/install.rb +0 -22
  55. data/lib/download_quizzes.rb +0 -119
  56. data/lib/quiz1/t/solutions/Bill Guindon/solitaire.rb +0 -205
  57. data/lib/quiz1/t/solutions/Carlos/solitaire.rb +0 -111
  58. data/lib/quiz1/t/solutions/Dennis Ranke/solitaire.rb +0 -111
  59. data/lib/quiz1/t/solutions/Florian Gross/solitaire.rb +0 -301
  60. data/lib/quiz1/t/solutions/Glen M. Lewis/solitaire.rb +0 -268
  61. data/lib/quiz1/t/solutions/James Edward Gray II/solitaire.rb +0 -132
  62. data/lib/quiz1/t/solutions/Jamis Buck/bin/main.rb +0 -13
  63. data/lib/quiz1/t/solutions/Jamis Buck/lib/cipher.rb +0 -230
  64. data/lib/quiz1/t/solutions/Jamis Buck/lib/cli.rb +0 -24
  65. data/lib/quiz1/t/solutions/Jamis Buck/test/tc_deck.rb +0 -30
  66. data/lib/quiz1/t/solutions/Jamis Buck/test/tc_key-stream.rb +0 -19
  67. data/lib/quiz1/t/solutions/Jamis Buck/test/tc_keying-algorithms.rb +0 -31
  68. data/lib/quiz1/t/solutions/Jamis Buck/test/tc_solitaire-cipher.rb +0 -66
  69. data/lib/quiz1/t/solutions/Jamis Buck/test/tc_unkeyed-algorithm.rb +0 -17
  70. data/lib/quiz1/t/solutions/Jamis Buck/test/tests.rb +0 -2
  71. data/lib/quiz1/t/solutions/Jim Menard/solitaire_cypher.rb +0 -204
  72. data/lib/quiz1/t/solutions/Jim Menard/test.rb +0 -47
  73. data/lib/quiz1/t/solutions/Moses Hohman/cipher.rb +0 -97
  74. data/lib/quiz1/t/solutions/Moses Hohman/deck.rb +0 -140
  75. data/lib/quiz1/t/solutions/Moses Hohman/solitaire.rb +0 -14
  76. data/lib/quiz1/t/solutions/Moses Hohman/test_cipher.rb +0 -68
  77. data/lib/quiz1/t/solutions/Moses Hohman/test_deck.rb +0 -146
  78. data/lib/quiz1/t/solutions/Moses Hohman/test_util.rb +0 -38
  79. data/lib/quiz1/t/solutions/Moses Hohman/testsuite.rb +0 -5
  80. data/lib/quiz1/t/solutions/Moses Hohman/util.rb +0 -27
  81. data/lib/quiz1/t/solutions/Niklas Frykholm/solitaire.rb +0 -151
  82. data/lib/quiz1/t/solutions/Thomas Leitner/solitaire.rb +0 -198
  83. data/lib/zip/stdrubyext.rb +0 -111
  84. data/lib/zip/tempfile_bugfixed.rb +0 -195
  85. data/lib/zip/zip.rb +0 -1847
  86. data/lib/zip/zipfilesystem.rb +0 -609
  87. data/lib/zip/ziprequire.rb +0 -90
  88. data/samples/gtkRubyzip.rb +0 -86
  89. data/test/alltests.rb +0 -9
  90. data/test/data/file1.txt +0 -46
  91. data/test/data/file1.txt.deflatedData +0 -0
  92. data/test/data/file2.txt +0 -1504
  93. data/test/data/notzippedruby.rb +0 -7
  94. data/test/data/rubycode.zip +0 -0
  95. data/test/data/rubycode2.zip +0 -0
  96. data/test/data/testDirectory.bin +0 -0
  97. data/test/data/zipWithDirs.zip +0 -0
  98. data/test/gentestfiles.rb +0 -157
  99. data/test/ioextrastest.rb +0 -208
  100. data/test/stdrubyexttest.rb +0 -52
  101. data/test/zipfilesystemtest.rb +0 -831
  102. data/test/ziprequiretest.rb +0 -43
  103. data/test/ziptest.rb +0 -1599
data/ChangeLog DELETED
@@ -1,1504 +0,0 @@
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
- 2006-06-30 09:25 thomas
10
-
11
- * NEWS, lib/zip/zip.rb: Bumped version number and reformatted NEWS
12
- a bit.
13
-
14
- 2006-06-29 22:49 technorama
15
-
16
- * lib/zip/zip.rb, NEWS: documentation additions
17
-
18
- 2006-04-30 06:25 technorama
19
-
20
- * TODO, lib/zip/zip.rb, test/ziptest.rb: add documentation and test
21
- for new ZipFile::extract
22
-
23
- 2006-04-30 06:22 technorama
24
-
25
- * lib/zip/zip.rb: add some of the API suggestions from sf.net
26
- #1281314
27
-
28
- 2006-04-30 05:55 technorama
29
-
30
- * lib/zip/zip.rb: apply patch for bug #1446926
31
-
32
- 2006-04-30 05:54 technorama
33
-
34
- * lib/zip/zip.rb: apply patch for bug #1459902
35
-
36
- 2006-04-26 17:17 technorama
37
-
38
- * lib/zip/zip.rb: add ZipFile @restore_*, documentation update
39
-
40
- 2006-04-07 21:13 technorama
41
-
42
- * test/: gentestfiles.rb, zipfilesystemtest.rb, ziptest.rb:
43
- additional tests
44
-
45
- 2006-03-28 04:11 technorama
46
-
47
- * lib/zip/zip.rb: start of unix_uid, unix_gid, restore_* support
48
-
49
- 2006-03-28 03:49 technorama
50
-
51
- * lib/zip/zip.rb: follow_symlinks is now optional
52
-
53
- 2006-03-28 03:32 technorama
54
-
55
- * lib/zip/zip.rb: add eof? methods
56
-
57
- 2006-03-28 03:31 technorama
58
-
59
- * test/ziptest.rb: eof? tests
60
-
61
- 2006-02-26 09:57 technorama
62
-
63
- * README: add to authors
64
-
65
- 2006-02-26 09:56 technorama
66
-
67
- * TODO: [no log message]
68
-
69
- 2006-02-25 12:04 thomas
70
-
71
- * lib/zip/zip.rb, test/ziptest.rb: Did away with ZipStreamableFile.
72
-
73
- 2006-02-23 08:03 technorama
74
-
75
- * lib/zip/zip.rb: unix file permissions. symlink support. rework
76
- ZipEntry and delegate classes. reduce memory usage during
77
- decompression.
78
-
79
- 2006-02-22 23:44 technorama
80
-
81
- * lib/zip/zipfilesystem.rb: update permissionInt for mkdir
82
-
83
- 2006-02-04 10:42 thomas
84
-
85
- * lib/zip/: ioextras.rb, zip.rb: Merged patch from oss-ruby.
86
-
87
- 2005-11-19 16:17 thomas
88
-
89
- * lib/zip/zip.rb: [no log message]
90
-
91
- 2005-11-08 08:23 thomas
92
-
93
- * lib/zip/ioextras.rb: Accepted patch from oss-ruby
94
-
95
- 2005-10-07 09:54 thomas
96
-
97
- * TODO: [no log message]
98
-
99
- 2005-09-06 21:19 thomas
100
-
101
- * lib/zip/zip.rb: [no log message]
102
-
103
- 2005-09-06 21:08 thomas
104
-
105
- * NEWS: [no log message]
106
-
107
- 2005-09-06 21:04 thomas
108
-
109
- * lib/zip/zip.rb, test/gentestfiles.rb, test/ziptest.rb: Fixed
110
- problem on windows - tempfile has to be set to binmode again when
111
- it is reopened
112
-
113
- 2005-09-04 16:45 thomas
114
-
115
- * Rakefile: [no log message]
116
-
117
- 2005-09-04 16:33 thomas
118
-
119
- * TODO: [no log message]
120
-
121
- 2005-09-04 15:43 thomas
122
-
123
- * test/ziptest.rb: [no log message]
124
-
125
- 2005-09-03 10:27 thomas
126
-
127
- * NEWS: [no log message]
128
-
129
- 2005-09-03 10:02 thomas
130
-
131
- * TODO, lib/zip/zip.rb: [no log message]
132
-
133
- 2005-09-03 09:57 thomas
134
-
135
- * lib/zip/ioextras.rb, lib/zip/zip.rb, test/ziptest.rb: Merged
136
- patch from oss-ruby at technorama.net
137
-
138
- 2005-09-03 09:54 thomas
139
-
140
- * test/ziptest.rb: Added failing test that shows that read and gets
141
- don't mix currently
142
-
143
- 2005-08-29 08:50 thomas
144
-
145
- * lib/zip/: ioextras.rb, zip.rb: [no log message]
146
-
147
- 2005-08-29 08:41 thomas
148
-
149
- * NEWS, lib/zip/zip.rb: [no log message]
150
-
151
- 2005-08-29 08:35 thomas
152
-
153
- * lib/zip/zip.rb: [no log message]
154
-
155
- 2005-08-29 08:26 thomas
156
-
157
- * lib/zip/zip.rb: [no log message]
158
-
159
- 2005-08-07 14:27 thomas
160
-
161
- * lib/zip/zip.rb, NEWS: [no log message]
162
-
163
- 2005-08-06 11:12 thomas
164
-
165
- * lib/zip/: ioextras.rb, zip.rb: [no log message]
166
-
167
- 2005-08-03 18:54 thomas
168
-
169
- * lib/zip/zip.rb: Read/write in chunks to preserve memory
170
-
171
- 2005-07-02 15:08 thomas
172
-
173
- * lib/zip/zip.rb: Applied received patch concerning FreeBSD 4.5
174
- issue
175
-
176
- 2005-04-03 16:52 thomas
177
-
178
- * samples/.cvsignore: [no log message]
179
-
180
- 2005-04-03 16:50 thomas
181
-
182
- * samples/: qtzip.rb, zipdialogui.ui: Added a qt example
183
-
184
- 2005-03-31 21:58 thomas
185
-
186
- * lib/zip/zip.rb, test/ziptest.rb: [no log message]
187
-
188
- 2005-03-31 21:05 thomas
189
-
190
- * test/zipfilesystemtest.rb: [no log message]
191
-
192
- 2005-03-17 18:17 thomas
193
-
194
- * Rakefile: [no log message]
195
-
196
- 2005-03-17 18:11 thomas
197
-
198
- * NEWS, README, lib/zip/zip.rb: [no log message]
199
-
200
- 2005-03-17 18:04 thomas
201
-
202
- * install.rb: Fixed install.rb
203
-
204
- 2005-03-03 18:38 thomas
205
-
206
- * Rakefile: [no log message]
207
-
208
- 2005-02-27 16:23 thomas
209
-
210
- * lib/zip/ziprequire.rb: Added documentation to ziprequire
211
-
212
- 2005-02-27 16:17 thomas
213
-
214
- * README, TODO, lib/zip/ziprequire.rb: Added documentation to
215
- ziprequire
216
-
217
- 2005-02-27 15:02 thomas
218
-
219
- * Rakefile, test/ziptest.rb: [no log message]
220
-
221
- 2005-02-19 21:30 thomas
222
-
223
- * lib/zip/ioextras.rb, lib/zip/stdrubyext.rb,
224
- lib/zip/tempfile_bugfixed.rb, lib/zip/zip.rb,
225
- lib/zip/ziprequire.rb, test/ioextrastest.rb,
226
- test/stdrubyexttest.rb, test/zipfilesystemtest.rb,
227
- test/ziprequiretest.rb, test/ziptest.rb: Added more rdoc and
228
- changed the remaining tests to Test::Unit
229
-
230
- 2005-02-19 20:28 thomas
231
-
232
- * lib/zip/: ioextras.rb, zip.rb: Added documentation to
233
- ZipInputStream and ZipOutputStream
234
-
235
- 2005-02-18 10:27 thomas
236
-
237
- * README: [no log message]
238
-
239
- 2005-02-17 23:21 thomas
240
-
241
- * README, Rakefile: Added ppackage (publish package) task to
242
- Rakefile
243
-
244
- 2005-02-17 22:49 thomas
245
-
246
- * README, Rakefile, TODO: Added pdoc (publish doc) task to Rakefile
247
-
248
- 2005-02-17 21:27 thomas
249
-
250
- * README, Rakefile, TODO, lib/zip/stdrubyext.rb, lib/zip/zip.rb,
251
- lib/zip/zipfilesystem.rb: Added a bunch of documentation
252
-
253
- 2005-02-17 09:47 thomas
254
-
255
- * test/ziptest.rb: [no log message]
256
-
257
- 2005-02-16 20:04 thomas
258
-
259
- * NEWS, README, Rakefile: Improved documentation and added rdoc
260
- task to Rakefile
261
-
262
- 2005-02-16 19:01 thomas
263
-
264
- * NEWS, Rakefile, lib/zip/zip.rb: [no log message]
265
-
266
- 2005-02-16 18:47 thomas
267
-
268
- * Rakefile, samples/example.rb, samples/example_filesystem.rb,
269
- samples/gtkRubyzip.rb, samples/write_simple.rb,
270
- samples/zipfind.rb, test/.cvsignore, test/gentestfiles.rb:
271
- Improvements to Rakefile
272
-
273
- 2005-02-15 23:35 thomas
274
-
275
- * NEWS, TODO: [no log message]
276
-
277
- 2005-02-15 23:26 thomas
278
-
279
- * Rakefile, rubyzip.gemspec: Now uses Rake to build gem
280
-
281
- 2005-02-15 22:52 thomas
282
-
283
- * Rakefile: [no log message]
284
-
285
- 2005-02-15 22:39 thomas
286
-
287
- * lib/zip/zip.rb, test/.cvsignore, test/ziptest.rb, NEWS: Fixed
288
- compatibility issue with ruby 1.8.2. Migrated test suite to
289
- Test::Unit
290
-
291
- 2005-02-15 22:10 thomas
292
-
293
- * NEWS, lib/zip/ioextras.rb, lib/zip/stdrubyext.rb,
294
- lib/zip/tempfile_bugfixed.rb, lib/zip/zip.rb,
295
- lib/zip/zipfilesystem.rb, lib/zip/ziprequire.rb, test/.cvsignore,
296
- test/file1.txt, test/file1.txt.deflatedData, test/file2.txt,
297
- test/gentestfiles.rb, test/ioextrastest.rb,
298
- test/notzippedruby.rb, test/rubycode.zip, test/rubycode2.zip,
299
- test/stdrubyexttest.rb, test/testDirectory.bin,
300
- test/zipWithDirs.zip, test/zipfilesystemtest.rb,
301
- test/ziprequiretest.rb, test/ziptest.rb, test/data/.cvsignore,
302
- test/data/file1.txt, test/data/file1.txt.deflatedData,
303
- test/data/file2.txt, test/data/notzippedruby.rb,
304
- test/data/rubycode.zip, test/data/rubycode2.zip,
305
- test/data/testDirectory.bin, test/data/zipWithDirs.zip,
306
- zip/ioextras.rb, zip/stdrubyext.rb, zip/tempfile_bugfixed.rb,
307
- zip/zip.rb, zip/zipfilesystem.rb, zip/ziprequire.rb: Changed
308
- directory structure
309
-
310
- 2005-02-13 22:44 thomas
311
-
312
- * Rakefile, TODO: [no log message]
313
-
314
- 2005-02-13 22:38 thomas
315
-
316
- * rubyzip.gemspec: [no log message]
317
-
318
- 2005-02-13 21:53 thomas
319
-
320
- * install.rb: Made install.rb independent of the current path
321
- (fixes bug reported by Drew Robinson)
322
-
323
- 2004-12-12 11:22 thomas
324
-
325
- * NEWS, TODO, samples/write_simple.rb, zip/zip.rb: Fixed 'version
326
- needed to extract'-field wrong in local headers
327
-
328
- 2004-05-02 15:17 thomas
329
-
330
- * rubyzip.gemspec: Added gemspec contributed by Chad Fowler
331
-
332
- 2004-04-02 07:25 thomas
333
-
334
- * NEWS, zip/zip.rb: Fix for FreeBSD 4.9
335
-
336
- 2004-03-29 00:28 thomas
337
-
338
- * NEWS: [no log message]
339
-
340
- 2004-03-28 17:59 thomas
341
-
342
- * NEWS: [no log message]
343
-
344
- 2004-03-28 15:23 thomas
345
-
346
- * zip/zip.rb: Use RUBY_VERSION not VERSION constant
347
-
348
- 2004-03-28 14:51 thomas
349
-
350
- * zip/zip.rb: Only use bugfixed Tempfile implementation if the ruby
351
- version hasnt been fixed (contributed by Nobu Nakada)
352
-
353
- 2004-03-28 14:46 thomas
354
-
355
- * zip/tempfile_bugfixed.rb: Compatibility with DelegateClass in
356
- ruby version 1.8.1 and newer
357
-
358
- 2004-03-27 16:09 thomas
359
-
360
- * test/stdrubyexttest.rb, zip/stdrubyext.rb: Patch for
361
- stdrubyext.rb from Nobu Nakada
362
-
363
- 2004-03-27 15:52 thomas
364
-
365
- * zip/: ioextras.rb, zip.rb, zipfilesystem.rb, ziprequire.rb: [no
366
- log message]
367
-
368
- 2004-03-27 15:30 thomas
369
-
370
- * test/ioextrastest.rb, test/stdrubyexttest.rb, zip/ioextras.rb:
371
- converted some files to unix line-endings
372
-
373
- 2004-03-25 16:34 thomas
374
-
375
- * NEWS, install.rb, zip/tempfile_bugfixed.rb, zip/zip.rb:
376
- Significantly reduced memory footprint when modifying zip files
377
-
378
- 2004-03-16 18:20 thomas
379
-
380
- * install.rb, test/alltests.rb, test/ioextrastest.rb,
381
- test/stdrubyexttest.rb, test/ziptest.rb, zip/ioextras.rb,
382
- zip/zip.rb: IO utility classes moved to new file ioextras.rb.
383
- Tests moved to new file ioextrastest.rb
384
-
385
- 2004-02-27 13:21 thomas
386
-
387
- * NEWS, zip/zip.rb: Optimization to avoid decompression and
388
- recompression
389
-
390
- 2004-01-30 16:17 thomas
391
-
392
- * NEWS: [no log message]
393
-
394
- 2004-01-30 16:07 thomas
395
-
396
- * README, test/zipfilesystemtest.rb, test/ziptest.rb,
397
- zip/stdrubyext.rb, zip/zip.rb, zip/zipfilesystem.rb: Applied
398
- extra-field patch
399
-
400
- 2003-12-13 16:57 thomas
401
-
402
- * TODO: [no log message]
403
-
404
- 2003-12-13 16:53 thomas
405
-
406
- * zip/zip.rb: [no log message]
407
-
408
- 2003-12-10 00:25 thomas
409
-
410
- * test/ziptest.rb: (Temporary) fix to bug reported by Takashi Sano
411
-
412
- 2003-10-03 11:05 thomas
413
-
414
- * zip/: stdrubyext.rb, zip.rb: Thanks to Clifford Heath for
415
- noticing that Time.to_binary_dos_date and time were reversed
416
-
417
- 2003-08-23 09:42 thomas
418
-
419
- * test/ziptest.rb, zip/zip.rb, NEWS: Fixed ZipFile.get_ouput_stream
420
- bug - data was never written to zip
421
-
422
- 2003-08-21 16:05 thomas
423
-
424
- * install.rb: [no log message]
425
-
426
- 2003-08-21 16:01 thomas
427
-
428
- * alltests.rb, stdrubyexttest.rb, zipfilesystemtest.rb,
429
- ziprequiretest.rb, ziptest.rb, test/alltests.rb,
430
- test/stdrubyexttest.rb, test/zipfilesystemtest.rb,
431
- test/ziprequiretest.rb, test/ziptest.rb: Moved all test ruby
432
- files to test/
433
-
434
- 2003-08-21 15:54 thomas
435
-
436
- * NEWS, install.rb, stdrubyext.rb, stdrubyexttest.rb, zip.rb,
437
- zipfilesystem.rb, zipfilesystemtest.rb, ziprequire.rb,
438
- ziprequiretest.rb, ziptest.rb, samples/example.rb,
439
- samples/example_filesystem.rb, samples/gtkRubyzip.rb,
440
- samples/zipfind.rb, zip/stdrubyext.rb, zip/zip.rb,
441
- zip/zipfilesystem.rb, zip/ziprequire.rb: Moved all production
442
- source files to zip/ so they are in the same dir as when they are
443
- installed
444
-
445
- 2003-08-21 15:31 thomas
446
-
447
- * NEWS, TODO, alltests.rb: [no log message]
448
-
449
- 2003-08-21 15:26 thomas
450
-
451
- * filearchive.rb, filearchivetest.rb, fileutils.rb: Removed
452
- filearchive.rb, filearchivetest.rb and fileutils.rb
453
-
454
- 2003-08-21 15:24 thomas
455
-
456
- * samples/.cvsignore, samples/example_filesystem.rb, zip.rb: Added
457
- samples/example_filesystem.rb. Fixed Tempfile creation for
458
- entries created with get_output_stream where entries were in a
459
- subdirectory
460
-
461
- 2003-08-21 15:15 thomas
462
-
463
- * zip.rb, ziptest.rb: Fixed mkdir bug. ZipFile.mkdir didn't work if
464
- the zipfile doesn't exist already
465
-
466
- 2003-08-21 15:05 thomas
467
-
468
- * ziptest.rb: [no log message]
469
-
470
- 2003-08-21 14:53 thomas
471
-
472
- * TODO, zipfilesystemtest.rb: Globbing test placeholder commented
473
- out
474
-
475
- 2003-08-21 14:32 thomas
476
-
477
- * zipfilesystem.rb, zipfilesystemtest.rb: Implemented ZipFsDir.new
478
- and open
479
-
480
- 2003-08-21 14:19 thomas
481
-
482
- * zipfilesystem.rb, zipfilesystemtest.rb: Implemented DirFsIterator
483
- and tests
484
-
485
- 2003-08-20 22:50 thomas
486
-
487
- * NEWS, TODO: [no log message]
488
-
489
- 2003-08-20 22:45 thomas
490
-
491
- * zipfilesystemtest.rb: [no log message]
492
-
493
- 2003-08-20 22:44 thomas
494
-
495
- * zipfilesystem.rb, zipfilesystemtest.rb: Implemented
496
- ZipFsDir.foreach, ZipFsDir.entries now reimplemented in terms of
497
- it
498
-
499
- 2003-08-20 22:25 thomas
500
-
501
- * README: [no log message]
502
-
503
- 2003-08-20 18:08 thomas
504
-
505
- * zipfilesystem.rb, zipfilesystemtest.rb: [no log message]
506
-
507
- 2003-08-20 17:30 thomas
508
-
509
- * zipfilesystem.rb: All access from ZipFsFile and ZipFsDir to
510
- ZipFile is now routed through ZipFileNameMapper which has the
511
- single responsibility of mapping entry/filenames
512
-
513
- 2003-08-20 17:18 thomas
514
-
515
- * alltests.rb, stdrubyext.rb, stdrubyexttest.rb: Added
516
- stdrubyexttest.rb and added test test_select_map
517
-
518
- 2003-08-20 16:10 thomas
519
-
520
- * zipfilesystem.rb: ZipFsDir was in the wrong module. ZipFileSystem
521
- now has a ctor that creates ZipFsDir and ZipFsFile instances,
522
- instead of creating them lazily. It then passes the dir instance
523
- to the file instance and vice versa
524
-
525
- 2003-08-20 15:55 thomas
526
-
527
- * zip.rb, zipfilesystem.rb, zipfilesystemtest.rb: ZipFsFile.open
528
- honours chdir
529
-
530
- 2003-08-20 15:39 thomas
531
-
532
- * stdrubyext.rb, zip.rb, zipfilesystem.rb, zipfilesystemtest.rb,
533
- ziptest.rb: Fixed ZipEntry::parent_as_string. Implemented
534
- ZipFsDir.chdir, pwd and entries including test
535
-
536
- 2003-08-19 15:44 thomas
537
-
538
- * zip.rb, zipfilesystem.rb, zipfilesystemtest.rb: Implemented
539
- ZipFsDir.mkdir
540
-
541
- 2003-08-19 15:07 thomas
542
-
543
- * zipfilesystem.rb, zipfilesystemtest.rb: Implemented
544
- ZipFsDir.delete (and aliases rmdir and unlink)
545
-
546
- 2003-08-19 14:33 thomas
547
-
548
- * zipfilesystem.rb, zipfilesystemtest.rb: Another dummy
549
- implementation and commented out a test for select() which can be
550
- added later
551
-
552
- 2003-08-18 20:40 thomas
553
-
554
- * ziptest.rb: Honoured 1.8.0 Object.to_a deprecation warning
555
-
556
- 2003-08-18 20:30 thomas
557
-
558
- * zip.rb, ziptest.rb, samples/example.rb, samples/zipfind.rb:
559
- Converted a few more names to ruby underscore style that I missed
560
- with the automated processing the first time around
561
-
562
- 2003-08-18 18:39 thomas
563
-
564
- * zip.rb, zipfilesystem.rb, zipfilesystemtest.rb, ziptest.rb:
565
- Implemented Zip::ZipFile.get_output_stream
566
-
567
- 2003-08-17 18:28 thomas
568
-
569
- * README, install.rb, stdrubyext.rb, zipfilesystem.rb,
570
- zipfilesystemtest.rb: Updated README with Documentation section.
571
- Updated install.rb. Fixed three tests that failed on 1.8.0.
572
-
573
- 2003-08-14 05:40 thomas
574
-
575
- * zipfilesystem.rb, zipfilesystemtest.rb: Added empty
576
- implementations of atime and ctime
577
-
578
- 2003-08-13 17:08 thomas
579
-
580
- * simpledist.rb: Moved simpledist to a separate repository called
581
- 'misc'
582
-
583
- 2003-08-13 16:31 thomas
584
-
585
- * NEWS: [no log message]
586
-
587
- 2003-08-13 16:29 thomas
588
-
589
- * stdrubyext.rb, zip.rb, zipfilesystem.rb, zipfilesystemtest.rb,
590
- ziprequire.rb, ziprequiretest.rb, ziptest.rb, samples/example.rb,
591
- samples/gtkRubyzip.rb, samples/zipfind.rb: Changed all method
592
- names to the ruby convention underscore style
593
-
594
- 2003-08-13 15:18 thomas
595
-
596
- * alltests.rb, zipfilesystem.rb, zipfilesystemtest.rb: Implemented
597
- a lot more of the stat methods. Mostly with dummy implementations
598
- that return values that indicate that these features aren't
599
- supported
600
-
601
- 2003-08-13 11:44 thomas
602
-
603
- * zipfilesystem.rb, zipfilesystemtest.rb: Implemented more methods
604
- and tests in zipfilesystem. Mostly empty methods as permissions
605
- and file types other than files and directories are not supported
606
-
607
- 2003-08-13 11:29 thomas
608
-
609
- * install.rb, stdrubyext.rb, zip.rb, zipfilesystem.rb,
610
- zipfilesystemtest.rb: Addd file stdrubyext.rb and moved the
611
- modifications to std ruby classes to it. Refactored the ZipFsStat
612
- tests and ZipFsStat. Added Module.forwardMessages and used it to
613
- implement the forwarding of calls in ZipFsStat
614
-
615
- 2003-08-13 10:39 thomas
616
-
617
- * zipfilesystem.rb, zipfilesystemtest.rb: Added
618
- Zip::ZipFsFile::ZipFsStat and started implementing it and its
619
- methods
620
-
621
- 2003-08-13 10:02 thomas
622
-
623
- * zipfilesystem.rb, zipfilesystemtest.rb, ziptest.rb: Updated and
624
- added missing copyright notices
625
-
626
- 2003-08-13 10:00 thomas
627
-
628
- * zip.rb, zipfilesystem.rb, zipfilesystemtest.rb: zipfilesystem.rb
629
- is becoming big and not everyone will want to use that code.
630
- Therefore zip.rb no longer requires it. Instead you must require
631
- zipfilesystem.rb itself if you want to use it
632
-
633
- 2003-08-13 09:51 thomas
634
-
635
- * zipfilesystem.rb, zipfilesystemtest.rb: Implemented dummy
636
- permission test methods
637
-
638
- 2003-08-13 06:37 thomas
639
-
640
- * TODO, zip.rb, ziptest.rb: Merged from patch from Kristoffer
641
- Lunden. Fixed more 1.8.0 incompatibilites - tests run on 1.8.0
642
- now
643
-
644
- 2003-08-12 19:18 thomas
645
-
646
- * zip.rb: Get rid of 1.8.0 warning
647
-
648
- 2003-08-12 19:14 thomas
649
-
650
- * ziptest.rb: ruby 1.8.0 compatibility fix
651
-
652
- 2003-08-12 19:13 thomas
653
-
654
- * NEWS, zip.rb: ruby-zlib 0.6.0 compatibility fix
655
-
656
- 2002-12-22 20:12 thomas
657
-
658
- * zip.rb: [no log message]
659
-
660
- 2002-09-16 22:11 thomas
661
-
662
- * NEWS: [no log message]
663
-
664
- 2002-09-15 17:16 thomas
665
-
666
- * samples/zipfind.rb: [no log message]
667
-
668
- 2002-09-15 00:02 thomas
669
-
670
- * samples/zipfind.rb: [no log message]
671
-
672
- 2002-09-14 22:59 thomas
673
-
674
- * samples/zipfind.rb: Added simple zipfind script
675
-
676
- 2002-09-13 23:53 thomas
677
-
678
- * TODO: Added TODO about openmode for zip entries binary/ascii
679
-
680
- 2002-09-13 20:54 thomas
681
-
682
- * NEWS: ziptest now runs without errors with ruby-1.7.2-4 (Andy's
683
- latest build)
684
-
685
- 2002-09-13 20:51 thomas
686
-
687
- * zip.rb, ziprequiretest.rb, ziptest.rb: ziptest now runs without
688
- errors with ruby-1.7.2-4 (Andy's latest build)
689
-
690
- 2002-09-12 00:20 thomas
691
-
692
- * zipfilesystemtest.rb: Improved ZipFsFile.delete/unlink test
693
-
694
- 2002-09-12 00:12 thomas
695
-
696
- * test/.cvsignore: [no log message]
697
-
698
- 2002-09-12 00:10 thomas
699
-
700
- * zipfilesystem.rb, zipfilesystemtest.rb: Implemented
701
- ZipFsFile.delete/unlink
702
-
703
- 2002-09-11 22:22 thomas
704
-
705
- * alltests.rb: [no log message]
706
-
707
- 2002-09-11 22:18 thomas
708
-
709
- * NEWS, zip.rb, zipfilesystem.rb, zipfilesystemtest.rb: Fixed
710
- AbstractInputStream.each_line ignored its aSeparator argument.
711
- Implemented more ZipFsFile methods
712
-
713
- 2002-09-11 21:28 thomas
714
-
715
- * zip.rb, zipfilesystem.rb, zipfilesystemtest.rb: ZipFileSystem is
716
- now a module instead of a class, and is mixed into ZipFile,
717
- instead of being made available as a property fileSystem
718
-
719
- 2002-09-10 23:45 thomas
720
-
721
- * NEWS: Updated NEWS file
722
-
723
- 2002-09-10 23:26 thomas
724
-
725
- * zip.rb: [no log message]
726
-
727
- 2002-09-10 22:39 thomas
728
-
729
- * NEWS, zip.rb, ziptest.rb: Fix bug: rewind should reset lineno.
730
- Fix bug: Deflater.read uses separate buffer from produceInput
731
- (feeding gets/readline etc)
732
-
733
- 2002-09-09 23:48 thomas
734
-
735
- * .cvsignore: [no log message]
736
-
737
- 2002-09-09 22:55 uid26649
738
-
739
- * zip.rb, ziptest.rb: Implemented ZipInputStream.rewind and
740
- AbstractInputStream.lineno. Tests for both
741
-
742
- 2002-09-09 20:31 thomas
743
-
744
- * zip.rb, ziptest.rb: ZipInputStream and ZipOutstream (thru their
745
- AbstractInputStream and AbstractOutputStream now lie about being
746
- kind_of?(IO)
747
-
748
- 2002-09-08 16:38 thomas
749
-
750
- * zipfilesystemtest.rb: [no log message]
751
-
752
- 2002-09-08 16:07 thomas
753
-
754
- * filearchive.rb, filearchivetest.rb, zip.rb, ziptest.rb: Moved
755
- String additions from filearchive.rb to zip.rb (and moved tests
756
- along too to ziptest.rb). Added ZipEntry.parentAsString and
757
- ZipEntrySet.parent
758
-
759
- 2002-09-08 15:28 thomas
760
-
761
- * ziptest.rb: Implemented ZipEntrySetTest.testDup and testCompound
762
-
763
- 2002-09-08 15:17 thomas
764
-
765
- * TODO, zip.rb, ziptest.rb: Replaced Array with EntrySet for
766
- keeping entries in a zip file. Tagged repository before this
767
- commit, so this change can be rolled back, if it stinks
768
-
769
- 2002-09-07 20:21 thomas
770
-
771
- * zip.rb, ziptest.rb: Implemented ZipEntry.<=>
772
-
773
- 2002-09-07 14:48 thomas
774
-
775
- * ziptest.rb: Removed unused code
776
-
777
- 2002-08-11 15:14 thomas
778
-
779
- * zip.rb, ziptest.rb: Made some changes to accomodate ruby 1.7.2
780
-
781
- 2002-07-27 15:25 thomas
782
-
783
- * zipfilesystem.rb, zipfilesystemtest.rb: Implemented ZipFsFile.new
784
-
785
- 2002-07-27 00:30 thomas
786
-
787
- * zipfilesystem.rb, zipfilesystemtest.rb: Implemented
788
- ZipFsFile.pipe
789
-
790
- 2002-07-27 00:25 thomas
791
-
792
- * zipfilesystem.rb, zipfilesystemtest.rb: Implemented
793
- ZipFsFile.link
794
-
795
- 2002-07-27 00:23 thomas
796
-
797
- * zipfilesystem.rb, zipfilesystemtest.rb: Implemented
798
- ZipFsFile.symlink
799
-
800
- 2002-07-27 00:20 thomas
801
-
802
- * zipfilesystem.rb, zipfilesystemtest.rb: Implemented
803
- ZipFsFile.readlink, wrapped ZipFileSystem class in Zip module
804
-
805
- 2002-07-27 00:14 thomas
806
-
807
- * zipfilesystem.rb, zipfilesystemtest.rb: Implemented
808
- ZipFsFile.zero?
809
-
810
- 2002-07-27 00:01 thomas
811
-
812
- * zipfilesystem.rb, zipfilesystemtest.rb: Implemented test for
813
- ZipFsFile.directory?
814
-
815
- 2002-07-26 23:56 thomas
816
-
817
- * zipfilesystem.rb, zipfilesystemtest.rb: Implemented
818
- ZipFsFile.socket?
819
-
820
- 2002-07-26 23:50 thomas
821
-
822
- * zipfilesystem.rb, zipfilesystemtest.rb: Implemented
823
- ZipFsFile.join
824
-
825
- 2002-07-26 23:32 thomas
826
-
827
- * zipfilesystem.rb, zipfilesystemtest.rb: Implemented
828
- ZipFsFile.ftype
829
-
830
- 2002-07-26 23:19 thomas
831
-
832
- * zipfilesystem.rb, zipfilesystemtest.rb: Implemented
833
- ZipFsFile.blockdev?
834
-
835
- 2002-07-26 23:12 thomas
836
-
837
- * zipfilesystem.rb, zipfilesystemtest.rb: Implemented
838
- ZipFsFile.size? (slightly different from size)
839
-
840
- 2002-07-26 23:03 thomas
841
-
842
- * zipfilesystem.rb, zipfilesystemtest.rb: Implemented
843
- ZipFsFile.split
844
-
845
- 2002-07-26 23:00 thomas
846
-
847
- * zipfilesystem.rb, zipfilesystemtest.rb: Implemented
848
- ZipFsFile.symlink?
849
-
850
- 2002-07-26 22:58 thomas
851
-
852
- * alltests.rb, zip.rb, zipfilesystem.rb, zipfilesystemtest.rb:
853
- Implemented ZipFsFile.mtime
854
-
855
- 2002-07-26 17:08 thomas
856
-
857
- * zipfilesystem.rb, zipfilesystemtest.rb: Implement ZipFsFile.file?
858
-
859
- 2002-07-26 17:06 thomas
860
-
861
- * zip.rb, ziptest.rb: Implemented ZipEntry.file?
862
-
863
- 2002-07-26 16:57 thomas
864
-
865
- * alltests.rb, filearchive.rb, filearchivetest.rb, zip.rb,
866
- zipfilesystem.rb, zipfilesystemtest.rb, ziprequire.rb,
867
- ziptest.rb: Implemented ZipFileSystem::ZipFsFile.size
868
-
869
- 2002-07-26 16:41 thomas
870
-
871
- * zipfilesystem.rb, zipfilesystemtest.rb: [no log message]
872
-
873
- 2002-07-26 16:40 thomas
874
-
875
- * test/zipWithDirs.zip: Changed zipWithDirs.zip so all the entries
876
- in it have unix file endings
877
-
878
- 2002-07-26 16:12 thomas
879
-
880
- * alltests.rb, zip.rb, zipfilesystem.rb, zipfilesystemtest.rb:
881
- Started implementing ZipFileSystem
882
-
883
- 2002-07-26 15:56 thomas
884
-
885
- * test/zipWithDirs.zip: Added a zip file for testing with a
886
- directory structure
887
-
888
- 2002-07-22 21:40 thomas
889
-
890
- * TODO: [no log message]
891
-
892
- 2002-07-22 17:49 thomas
893
-
894
- * TODO: [no log message]
895
-
896
- 2002-07-21 18:20 thomas
897
-
898
- * NEWS: [no log message]
899
-
900
- 2002-07-21 18:12 thomas
901
-
902
- * TODO: Updated TODO with a refactoring idea for FileArchive
903
-
904
- 2002-07-21 17:59 thomas
905
-
906
- * filearchive.rb, filearchivetest.rb: Added some FileArchiveAdd
907
- tests and cleaned up some of the FileArchive tests. extract and
908
- add now have individual test fixtures.
909
-
910
- 2002-07-21 16:02 thomas
911
-
912
- * filearchive.rb, filearchivetest.rb: Added tests for extract
913
- called with regex src arg and Enumerable src arg
914
-
915
- 2002-07-21 15:37 thomas
916
-
917
- * filearchivetest.rb: Added test for continueOnExistsProc when
918
- extracting from a file archive
919
-
920
- 2002-07-20 17:13 thomas
921
-
922
- * TODO, filearchivetest.rb, fileutils.rb, ziptest.rb,
923
- test/.cvsignore: Added (failing) tests for FileArchive.add, added
924
- code for creating test files for FileArchive.add tests. Added
925
- fileutils.rb, which is borrowed from ruby 1.7.2
926
-
927
- 2002-07-20 16:07 thomas
928
-
929
- * filearchive.rb, filearchivetest.rb: [no log message]
930
-
931
- 2002-07-20 16:05 thomas
932
-
933
- * filearchivetest.rb: Added tests for String extensions
934
-
935
- 2002-07-20 02:20 thomas
936
-
937
- * alltests.rb, ziprequiretest.rb, ziptest.rb: [no log message]
938
-
939
- 2002-07-20 00:42 thomas
940
-
941
- * install.rb: [no log message]
942
-
943
- 2002-07-20 00:42 thomas
944
-
945
- * TODO: Updated TODO
946
-
947
- 2002-07-20 00:35 thomas
948
-
949
- * filearchive.rb, filearchivetest.rb: All FileArchive.extract tests
950
- run
951
-
952
- 2002-07-19 23:11 thomas
953
-
954
- * filearchive.rb, filearchivetest.rb: [no log message]
955
-
956
- 2002-07-19 19:41 thomas
957
-
958
- * filearchivetest.rb: [no log message]
959
-
960
- 2002-07-19 19:06 thomas
961
-
962
- * filearchive.rb, filearchivetest.rb: [no log message]
963
-
964
- 2002-07-19 18:48 thomas
965
-
966
- * filearchive.rb, filearchivetest.rb, zip.rb: [no log message]
967
-
968
- 2002-07-08 13:41 thomas
969
-
970
- * TODO: [no log message]
971
-
972
- 2002-06-11 19:47 thomas
973
-
974
- * filearchive.rb, filearchivetest.rb, zip.rb, ziptest.rb: [no log
975
- message]
976
-
977
- 2002-05-25 00:41 thomas
978
-
979
- * simpledist.rb: Added hackish script for creating dist files
980
-
981
- 2002-04-30 21:22 thomas
982
-
983
- * TODO: [no log message]
984
-
985
- 2002-04-30 21:16 thomas
986
-
987
- * filearchive.rb, filearchivetest.rb: [no log message]
988
-
989
- 2002-04-30 20:40 thomas
990
-
991
- * filearchive.rb, filearchivetest.rb: Improved testing and wrote
992
- some of the skeleton of extract. Still to do: Fix glob, so it
993
- returns a hashmap instead of a list. The map will need to map the
994
- full entry name to the last part of the name (which is only
995
- really interesting for recursively extracted entries, otherwise
996
- it is just the name). Glob.expandPathList should also output
997
- directories with a trailing slash, which is doesn't right now.
998
-
999
- 2002-04-30 19:52 thomas
1000
-
1001
- * filearchive.rb, filearchivetest.rb: Implemented the first few
1002
- tests for FileArchive
1003
-
1004
- 2002-04-24 22:06 thomas
1005
-
1006
- * ziprequire.rb, ziprequiretest.rb: Appended copyright message to
1007
- ziprequire.rb and ziprequiretest.rb
1008
-
1009
- 2002-04-24 20:59 thomas
1010
-
1011
- * zip.rb: Made ZipEntry tolerate invalid dates
1012
-
1013
- 2002-04-21 00:57 thomas
1014
-
1015
- * NEWS, TODO, zip.rb, ziptest.rb: Read and write entry modification
1016
- date/time correctly
1017
-
1018
- 2002-04-20 02:44 thomas
1019
-
1020
- * ziprequiretest.rb, test/rubycode2.zip: improved ZipRequireTest
1021
-
1022
- 2002-04-20 02:39 thomas
1023
-
1024
- * ziprequire.rb: Made a warning go away
1025
-
1026
- 2002-04-20 02:38 thomas
1027
-
1028
- * ziprequire.rb, ziprequiretest.rb, test/notzippedruby.rb,
1029
- test/rubycode.zip: Fixed a bug in ziprequire. Added
1030
- ziprequiretest.rb and test data files
1031
-
1032
- 2002-04-19 22:43 thomas
1033
-
1034
- * zip.rb, ziptest.rb: Added recursion support to Glob module
1035
-
1036
- 2002-04-18 21:37 thomas
1037
-
1038
- * NEWS, TODO, zip.rb, ziptest.rb: Added Glob module and GlobTest
1039
- unit test suite. This module provides the functionality to expand
1040
- a 'glob pattern' given a list of files - Next step is to use this
1041
- module in ZipFile
1042
-
1043
- 2002-04-01 22:55 thomas
1044
-
1045
- * NEWS: [no log message]
1046
-
1047
- 2002-04-01 21:16 thomas
1048
-
1049
- * TODO, zip.rb, ziprequire.rb: Added ziprequire.rb which contains a
1050
- proof-of-concept implementation of a require implementation that
1051
- can load ruby modules from a zip file. Needs unit tests and
1052
- polish.
1053
-
1054
- 2002-03-31 01:13 thomas
1055
-
1056
- * README: [no log message]
1057
-
1058
- 2002-03-30 16:14 thomas
1059
-
1060
- * TODO: [no log message]
1061
-
1062
- 2002-03-30 01:52 thomas
1063
-
1064
- * .cvsignore, README, zip.rb: Added rdoc markup (only #:nodoc:all
1065
- modifiers) to zip.rb. Made README 'RDoc compliant'
1066
-
1067
- 2002-03-29 23:29 thomas
1068
-
1069
- * TODO: [no log message]
1070
-
1071
- 2002-03-29 23:26 thomas
1072
-
1073
- * example.rb, samples/.cvsignore, samples/example.rb,
1074
- samples/gtkRubyzip.rb: Moved example.rb to samples/. Added
1075
- another sample gtkRubyzip.rb
1076
-
1077
- 2002-03-29 20:12 thomas
1078
-
1079
- * NEWS, TODO: [no log message]
1080
-
1081
- 2002-03-29 20:06 thomas
1082
-
1083
- * .cvsignore, file1.txt, file1.txt.deflatedData, testDirectory.bin,
1084
- ziptest.rb, test/.cvsignore, test/file1.txt,
1085
- test/file1.txt.deflatedData, test/file2.txt,
1086
- test/testDirectory.bin: Added test/ directory and moved the
1087
- manually created test data files into it. Changed ziptest.rb so
1088
- it runs in test/ directory
1089
-
1090
- 2002-03-29 19:43 thomas
1091
-
1092
- * TODO: [no log message]
1093
-
1094
- 2002-03-29 18:15 thomas
1095
-
1096
- * NEWS, zip.rb, ziptest.rb: Don't decompress and recompress zip
1097
- entries when changing zip file
1098
-
1099
- 2002-03-29 17:50 thomas
1100
-
1101
- * zip.rb: Performance optimization: Only write new ZipFile, if it
1102
- has been changed. The test suite runs in half the time now.
1103
-
1104
- 2002-03-28 22:12 thomas
1105
-
1106
- * TODO: [no log message]
1107
-
1108
- 2002-03-23 17:31 thomas
1109
-
1110
- * TODO: [no log message]
1111
-
1112
- 2002-03-22 22:47 thomas
1113
-
1114
- * NEWS: [no log message]
1115
-
1116
- 2002-03-22 22:25 thomas
1117
-
1118
- * NEWS, TODO: [no log message]
1119
-
1120
- 2002-03-22 22:18 thomas
1121
-
1122
- * ziptest.rb: Found the tests that didn't use blocks to make sure
1123
- input streams are closed as soon as they arent used anymore and
1124
- got rid of the GC.start
1125
-
1126
- 2002-03-22 22:12 thomas
1127
-
1128
- * ziptest.rb: All tests run on windows ruby 1.6.6
1129
-
1130
- 2002-03-22 10:38 thomas
1131
-
1132
- * zip.rb, ziptest.rb: Windows fixes: Fixed ZipFile.initialize which
1133
- needed to open zipfile file in binary mode. Added another
1134
- workaround for the return value from File.open(name) where name
1135
- is the name of a directory - ruby returns different exceptions in
1136
- linux, win/cygwin and windows. A number of tests failed because
1137
- in windows you cant delete a file that is open. Fixed by changing
1138
- ziptest.rb to use ZipInputStream.getInputStream with blocks a few
1139
- places. There is a hack in CommanZipFileFixture.setup where the
1140
- GC is explicitly invoked. Should be fixed with blocks instead.
1141
- The only currently failing test fails because the test data
1142
- creation fails to add a comment to 4entry.zip, because echo eats
1143
- the remainder of the line including the pipe character and the
1144
- following zip -z 4 entry.zip command
1145
-
1146
- 2002-03-21 22:18 thomas
1147
-
1148
- * NEWS: [no log message]
1149
-
1150
- 2002-03-21 22:12 thomas
1151
-
1152
- * NEWS, README, TODO, install.rb: Added install.rb
1153
-
1154
- 2002-03-21 21:45 thomas
1155
-
1156
- * ziptest.rb: [no log message]
1157
-
1158
- 2002-03-21 20:54 thomas
1159
-
1160
- * NEWS, TODO: [no log message]
1161
-
1162
- 2002-03-21 20:34 thomas
1163
-
1164
- * .cvsignore, TODO, zip.rb, ziptest.rb: Added
1165
- test_extractDirectoryExistsAsFileOverwrite and fixed to pass
1166
-
1167
- 2002-03-21 20:22 thomas
1168
-
1169
- * zip.rb, ziptest.rb: Extraction of directory entries is now
1170
- supported
1171
-
1172
- 2002-03-20 21:59 thomas
1173
-
1174
- * NEWS: [no log message]
1175
-
1176
- 2002-03-20 21:24 thomas
1177
-
1178
- * COPYING, README, README.txt: Removed COPYING, renamed README.txt
1179
- to README. Updated README
1180
-
1181
- 2002-03-20 21:18 thomas
1182
-
1183
- * example.rb: Fixed example.rb added example that shows zip file
1184
- manipulation with Zip::ZipFile
1185
-
1186
- 2002-03-20 21:00 thomas
1187
-
1188
- * .cvsignore: [no log message]
1189
-
1190
- 2002-03-20 20:56 thomas
1191
-
1192
- * TODO, zip.rb, ziptest.rb: Directories can now be added (not
1193
- recursively, the directory entry itself. Directories are
1194
- recognized by a empty entries with a trailing /. The purpose of
1195
- storing them explicitly in the zip file is to be able to store
1196
- permission and ownership information
1197
-
1198
- 2002-03-20 20:08 thomas
1199
-
1200
- * TODO, zip.rb, ziptest.rb: zip.rb depended on ftools but it was
1201
- only included in ziptest.rb
1202
-
1203
- 2002-03-20 19:07 thomas
1204
-
1205
- * zip.rb, ziptest.rb: ZipError is now a subclass of StandardError
1206
- instead of RuntimeError. ZipError now has several subclasses.
1207
-
1208
- 2002-03-19 22:26 thomas
1209
-
1210
- * TODO: [no log message]
1211
-
1212
- 2002-03-19 22:19 thomas
1213
-
1214
- * TODO, ziptest.rb: Unit test ZipFile.getInputStream with block
1215
-
1216
- 2002-03-19 22:11 thomas
1217
-
1218
- * TODO, zip.rb, ziptest.rb: Unit test for adding new entry with
1219
- name that already exists in archive, and fixed to pass test
1220
-
1221
- 2002-03-19 21:40 thomas
1222
-
1223
- * TODO, zip.rb, ziptest.rb: Added unit tests for rename to existing
1224
- entry
1225
-
1226
- 2002-03-19 20:42 thomas
1227
-
1228
- * TODO: [no log message]
1229
-
1230
- 2002-03-19 20:40 thomas
1231
-
1232
- * TODO, zip.rb, ziptest.rb: Unit test calling ZipFile.extract with
1233
- block
1234
-
1235
- 2002-03-18 21:06 thomas
1236
-
1237
- * TODO: [no log message]
1238
-
1239
- 2002-03-18 21:05 thomas
1240
-
1241
- * zip.rb, ziptest.rb: ZipFile#commit now reinitializes ZipFile.
1242
-
1243
- 2002-03-18 20:42 thomas
1244
-
1245
- * TODO, zip.rb, ziptest.rb: Refactoring:
1246
-
1247
- Collapsed ZipEntry and ZipStreamableZipEntry into ZipEntry.
1248
-
1249
- Collapsed BasicZipFile and ZipFile into ZipFile.
1250
-
1251
- 2002-03-18 18:05 thomas
1252
-
1253
- * zip.rb: Removed method that was never called
1254
-
1255
- 2002-03-17 22:33 thomas
1256
-
1257
- * TODO: [no log message]
1258
-
1259
- 2002-03-17 22:25 thomas
1260
-
1261
- * ziptest.rb: Run tests with =true as default
1262
-
1263
- 2002-03-17 22:22 thomas
1264
-
1265
- * NEWS, TODO, zip.rb, ziptest.rb: Now runs with -w switch without
1266
- warnings
1267
-
1268
- 2002-03-17 21:10 thomas
1269
-
1270
- * .cvsignore: [no log message]
1271
-
1272
- 2002-03-17 21:04 thomas
1273
-
1274
- * zip.rb, ziptest.rb: Down to one failing test
1275
-
1276
- 2002-03-17 20:36 thomas
1277
-
1278
- * zip.rb, ziptest.rb: [no log message]
1279
-
1280
- 2002-03-17 17:22 thomas
1281
-
1282
- * TODO, zip.rb, ziptest.rb: [no log message]
1283
-
1284
- 2002-02-25 19:42 thomas
1285
-
1286
- * TODO: Added more todos
1287
-
1288
- 2002-02-23 15:51 thomas
1289
-
1290
- * zip.rb: [no log message]
1291
-
1292
- 2002-02-23 15:30 thomas
1293
-
1294
- * zip.rb, ziptest.rb: [no log message]
1295
-
1296
- 2002-02-23 14:16 thomas
1297
-
1298
- * zip.rb, ziptest.rb: [no log message]
1299
-
1300
- 2002-02-03 18:47 thomas
1301
-
1302
- * ziptest.rb: [no log message]
1303
-
1304
- 2002-02-02 15:58 thomas
1305
-
1306
- * example.rb, zip.rb, ziptest.rb: [no log message]
1307
-
1308
- 2002-02-02 00:16 thomas
1309
-
1310
- * .cvsignore: [no log message]
1311
-
1312
- 2002-02-02 00:14 thomas
1313
-
1314
- * example.rb, zip.rb, ziptest.rb: Renamed SimpleZipFile to
1315
- BasicZipFile
1316
-
1317
- 2002-02-02 00:09 thomas
1318
-
1319
- * TODO: [no log message]
1320
-
1321
- 2002-02-02 00:01 thomas
1322
-
1323
- * ziptest.rb: More test cases - all of them failing, so now there
1324
- are 18 failing test cases. Three more test cases to implement,
1325
- then it is time for the production code
1326
-
1327
- 2002-02-01 21:49 thomas
1328
-
1329
- * ziptest.rb: [no log message]
1330
-
1331
- 2002-02-01 21:34 thomas
1332
-
1333
- * ziptest.rb: Also run SimpleZipFile tests for ZipFile.
1334
-
1335
- 2002-02-01 20:11 thomas
1336
-
1337
- * example.rb, zip.rb, ziptest.rb: ZipFile renamed to SimpleZipFile.
1338
- The new ZipFile will have many more methods that are useful for
1339
- managing archives.
1340
-
1341
- 2002-01-29 20:30 thomas
1342
-
1343
- * TODO: [no log message]
1344
-
1345
- 2002-01-26 00:18 thomas
1346
-
1347
- * NEWS: [no log message]
1348
-
1349
- 2002-01-26 00:14 thomas
1350
-
1351
- * ziptest.rb: In unit test: work around ruby/cygwin weirdness. You
1352
- get an Errno::EEXISTS instead of an Errno::EISDIR if you try to
1353
- open a file for writing that is a directory.
1354
-
1355
- 2002-01-26 00:02 thomas
1356
-
1357
- * ziptest.rb: Fixed test that failed on windows because of CRLF
1358
- line ending
1359
-
1360
- 2002-01-25 23:58 thomas
1361
-
1362
- * ziptest.rb: [no log message]
1363
-
1364
- 2002-01-25 23:29 thomas
1365
-
1366
- * .cvsignore, example.rb, zip.rb: Fixed bug reading from empty
1367
- deflated entry in zip file
1368
-
1369
- 2002-01-25 23:01 thomas
1370
-
1371
- * .cvsignore: [no log message]
1372
-
1373
- 2002-01-25 22:56 thomas
1374
-
1375
- * ziptest.rb: [no log message]
1376
-
1377
- 2002-01-25 22:51 thomas
1378
-
1379
- * NEWS, README.txt, zip.rb, ziptest.rb: Zip write support is now
1380
- fully functional in the form of ZipOutputStream.
1381
-
1382
- 2002-01-25 21:12 thomas
1383
-
1384
- * zip.rb, ziptest.rb: [no log message]
1385
-
1386
- 2002-01-25 20:37 thomas
1387
-
1388
- * zip.rb, ziptest.rb: [no log message]
1389
-
1390
- 2002-01-20 16:00 thomas
1391
-
1392
- * zip.rb, ziptest.rb: Added Deflater and DeflaterTest.
1393
-
1394
- 2002-01-20 00:39 thomas
1395
-
1396
- * .cvsignore: [no log message]
1397
-
1398
- 2002-01-20 00:23 thomas
1399
-
1400
- * .cvsignore: Added .cvsignore file
1401
-
1402
- 2002-01-20 00:09 thomas
1403
-
1404
- * zip.rb, ziptest.rb: Added ZipEntry.writeCDirEntry and misc minor
1405
- fixes
1406
-
1407
- 2002-01-19 23:28 thomas
1408
-
1409
- * example.rb, zip.rb, ziptest.rb: NOTICE: Not all tests run!!
1410
-
1411
- ZipOutputStream in progress
1412
-
1413
- Wrapped rubyzip in namespace module Zip.
1414
-
1415
- 2002-01-17 18:52 thomas
1416
-
1417
- * ziptest.rb: Fail nicely if the user doesn't have info-zip
1418
- compatible zip in the path
1419
-
1420
- 2002-01-10 18:02 thomas
1421
-
1422
- * zip.rb: Adjusted chunk size to 32k after a few perf measurements
1423
-
1424
- 2002-01-09 22:10 thomas
1425
-
1426
- * README.txt: License now same as rubys, not just GPL
1427
-
1428
- 2002-01-06 00:19 thomas
1429
-
1430
- * README.txt: [no log message]
1431
-
1432
- 2002-01-05 23:09 thomas
1433
-
1434
- * NEWS, README.txt: Updated NEWS file
1435
-
1436
- 2002-01-05 23:05 thomas
1437
-
1438
- * README.txt, zip.rb, ziptest.rb, zlib.c.diff: Added tests for
1439
- decompressors and a tests for ZipLocalEntry,
1440
- ZipCentralDirectoryEntry and ZipCentralDirectory for handling of
1441
- corrupt data
1442
-
1443
- 2002-01-05 22:21 thomas
1444
-
1445
- * file1.txt.deflatedData: deflated data extracted from a zip file.
1446
- contains file1.txt
1447
-
1448
- 2002-01-05 20:05 thomas
1449
-
1450
- * zip.rb: Changed references to Inflate to Zlib::inflate for
1451
- compatibility with ruby-zlib-0.5
1452
-
1453
- 2002-01-05 19:28 thomas
1454
-
1455
- * README.txt, zip.rb, ziptest.rb: [no log message]
1456
-
1457
- 2002-01-05 01:52 thomas
1458
-
1459
- * example.rb, NEWS: [no log message]
1460
-
1461
- 2002-01-05 01:37 thomas
1462
-
1463
- * COPYING, README.txt: [no log message]
1464
-
1465
- 2002-01-05 01:31 thomas
1466
-
1467
- * ziptest.rb: Fixed problem with test file creation
1468
-
1469
- 2002-01-05 01:15 thomas
1470
-
1471
- * README.txt: Updated README.txt
1472
-
1473
- 2002-01-05 01:13 thomas
1474
-
1475
- * zip.rb, ziptest.rb: ZipFile now works
1476
-
1477
- 2002-01-04 21:51 thomas
1478
-
1479
- * testDirectory.bin, zip.rb, ziptest.rb:
1480
- ZipCentralDirectoryEntryTest now runs
1481
-
1482
- 2002-01-04 18:40 thomas
1483
-
1484
- * ziptest.rb: Changed
1485
- ZIpLocalNEtryTest::test_ReadLocalEntryHeaderOfFirstTestZipEntry
1486
- so it works on both unix too. It only worked on windows because
1487
- the test made assumptions about the compressed size and crc of an
1488
- entry, but that differs depending on the OS because of the CRLF
1489
- thing.
1490
-
1491
- 2002-01-04 18:37 thomas
1492
-
1493
- * README.txt: Added note about zlib.c patch
1494
-
1495
- 2002-01-02 18:48 thomas
1496
-
1497
- * README.txt, example.rb, file1.txt, zip.rb, ziptest.rb,
1498
- zlib.c.diff: Initial revision
1499
-
1500
- 2002-01-02 18:48 thomas
1501
-
1502
- * README.txt, example.rb, file1.txt, zip.rb, ziptest.rb,
1503
- zlib.c.diff: initial
1504
-