Debian Codegraph @

Changes

raw
1 Revision history for Perl extension Set::Infinite.
2
3 0.65 2010-04-26
4 - documentation fix
5
6 0.64 2010-04-26
7 - s/simmetric/symmetric/
8 reported by Richard Jelinek
9
10 0.63 2008-07-21
11 - minor tweak in union(); added tests
12
13 0.62 2008-07-20
14 - fixed a problem in union() that caused first() to return a wrong result.
15 reported by David Gang
16
17 0.61 2004-11-03
18 - some optimization of intersected_spans()
19 - bugfix: complement of the universal set is the empty set
20
21 0.60 2004-10-28
22 - _cleanup() / _no_cleanup() are obsolete
23 - easier syntax to iterate()
24
25 0.59 2004-07-01
26 - added experimental argument "backtrack_callback" to
27 iterate()
28
29 0.58 2004-06-14
30 - intersected_spans was wrong when intersecting with
31 an open set. bug report & tests by Peter Oliver
32
33 0.57 2004-04-03
34 - CPAN update
35
36 0.5602 2004-03-25
37 - fixed a test in t/select.t - Reported by David Dyck.
38 - simplified "offset"; fixed "fixtype"
39 - added "separators" test in t/infinite.t
40 - is_proper_subset / is_disjoint may return 'undef'
41 - variables $a, $b renamed
42
43 0.5601 2004-03-20
44 - iterate() first/last can deal with multiple spans
45 - removed todo: "provide a constructor to build open sets"
46 because this is already documented in new().
47 - fixed "separators" OO
48 - New methods:
49 is_span
50 is_singleton
51 is_subset
52 is_proper_subset
53 is_disjoint
54 universal_set
55 empty_set
56 minus / difference (same as "complement")
57 simmetric_difference
58
59 0.56 2004-03-17
60 - New method: clone (same as "copy")
61 - More tests & fixes: intersected_spans
62
63 0.5503 2004-03-15
64 - New method: intersected_spans
65 Suggested by Reinhold May
66 Name suggested by Dave Rolsky
67 - bugfix: first/last() of a union will try harder not to split spans.
68
69 0.5502 2004-03-14
70 - New methods: start_set / end_set
71 These are the inverse of the "until" method.
72 Suggested by Reinhold May
73
74 0.5501
75 refactored _backtrack method
76
77 0.55 2003-11-16
78 - bug fix: $set = Set::Infinite->new( -10, 0 );
79 created a set with "-10" instead of [-10..0]
80 - documents that the parameters to new() must be sorted.
81 Reported by Jim Cromie
82
83 0.5401 2003-10-21
84 specifying start > end in a constructor is a fatal error.
85
86 0.54
87 0.5308 2003-10-16
88 clears mod_perl warnings - change the order of modules and constants.
89 Patch by Dan Kubb
90
91 0.5307
92 backtracking "iterate" uses a larger span
93
94 0.5306
95 fix bug in test "inf" -> "$inf". Thanks Kingpin
96
97 0.5305
98 %_first and %_last are declared with 'use vars'
99
100 0.5304
101 added more tests: intersects/until/select
102 optimized select()
103 refactored quantize()
104
105 0.5303
106 removed Set::Infinite::Date
107 removed /_eg directory
108 simplified README
109
110 0.5302
111 select( freq => $n ) is removed.
112 - breaks Date::Set 0.28 (Date::Set 0.29 is ok)
113 select( by => [] ) default is changed to 'All'.
114 - in order to have the same behaviour as when 'freq' was omitted.
115
116 0.5301
117 refactored methods: min, max, first, last, until, iterate, offset
118 removed obsolete method: compact
119 renamed internal methods with _underline
120 removed obsolete 'date' docs
121
122 0.53 2003-09-05
123 fixes a test that fails under 5.00503
124 does not export 'new'
125
126 0.52 2003-09-04
127 change tests to run under (a broken) Perl 5.9.0
128 - infinity string contains spaces
129
130 0.51 2003-09-02
131 passes all tests under 5.00503.
132 - changed ' $var=\@_ ' to ' $var=[@_] '
133 compiles under Perl 5.00503. Patch by Mathieu Arnold.
134
135 0.50
136 count()
137 fixed: size() does not try to add 'zero' to object.
138 tests for count() and size()
139
140 0.49
141 fixed: "first/last" of intersection between recurrences
142
143 0.48
144 fixed: backtracking on a partially defined set.
145 fixed: first of a union with an empty set.
146
147 0.47
148 until allows start_set == end_set
149
150 0.46_01
151 upload to perl-date-time CVS
152
153 0.46
154 more docs
155
156 0.45
157 last works, but not for union/quantize/select/offset
158 0.44_03
159 last() can union/intersect/complement/offset
160 0.44_02
161 last() can iterate/complement
162 0.44_01
163 first(n) deprecated
164 S::I::Basic::last() enabled
165
166 0.44
167 CPAN release
168
169 0.43_01
170 'iterate' generates 'first' code
171
172 0.43
173 CPAN release
174 implemented max() of 'iterate'
175
176 0.42_05
177 implemented min() of 'iterate'
178 fixed complex union with empty set
179
180 0.42_04
181 finished removing 'our'
182
183 0.42_03 / 0.42_02
184 (idem)
185
186 0.42_01
187 more methods inherited from Set::Infinite::Basic
188
189 0.42_00
190 Set::Infinite.pm refactored into Set::Infinite::Basic
191 Set::Infinite::_Simple removed.
192
193 0.41_03
194 can intersects() to an object (it checks the reference type)
195
196 0.41_02
197 fixed copy() - copying array refs
198
199 0.41_01
200 Fixed type() inheritance problems
201 as a side effect, type() must be called with '->' syntax
202 Fixed eg/recurring.pl
203
204 0.41
205 'todo' directory renamed to _todo for Win* compatibility
206 (clashes with TODO)
207
208 0.40
209 LICENSE file
210
211 0.39_05
212 fixed 'until' test warnings (caused by malformed offset() output)
213
214 0.39_04
215 'until' works with empty sets
216 'until' has first()
217
218 0.39_03
219 'until' backtracks (slowly)
220 left a hack in max() - might remove it when last() works...
221
222 0.39_02
223 'offset' has 'first'
224 'until' has '_quantize_span'
225
226 0.39_01
227 new method 'until' -- makes it possible to join RRULEs in Date::Set::Timezone
228 hacked a fix a problem when offset-begin backtracks (offset-begin reduces
229 a set to a single element, which backtracks wrongly if the set were
230 quantized)
231 better handling of backtrack-offset values
232 fixed spaceship (again)
233 contains works better for unbounded sets
234
235 0.39
236 fixed a bug in spaceship() that affected Date::Set::Timezone
237
238 0.38 - changes to 0.37:
239 new method first()
240 min() and max() improved
241 fixed some bugs: intersection -inf with (-inf..15); "<=>"; more tests
242 new $PRETTY_PRINT global option; better TRACE
243 about 20% faster than 0.37; uses less memoization
244
245 0.37_71
246 trace works on a copy of the variables, so that autovivification
247 and cleanups don't interfere with the program.
248
249 0.37_69
250 new method _quantize_span helps some internal calculations
251
252 0.37_68
253 fixed a bug in intersection -inf with (-inf..15)
254
255 0.37_67
256 t/first.t passes all tests
257 first-select is leaking
258
259 0.37_63
260 last-quantize started
261
262 0.37_62
263 all tests pass
264 fixed Element_Inf dependency in Set::Infinite::Date.pm
265
266 0.37_61
267 tests pass
268 select should use count=> to bound set
269
270 0.37_60
271 first/unknown/union recursion fixed
272
273 0.37_59
274 first() has a cache
275
276 0.37_57
277 new $PRETTY_PRINT global option
278
279 0.37_54
280 quantize() is 'first-compatible'
281
282 0.37_51
283 min is 'more exact'
284 first-intersection uses limited recursion
285
286 0.37_49
287 trace() has 'tab-levels' - trace_open/trace_close
288
289 0.37_48
290 first complement/intersection works
291 last() removed
292
293 0.37_47
294 started last()
295 started first/last + complement
296 new t/first.t
297
298 0.37_44
299 fixed a bug in <=>
300
301 0.37_43
302 first/intersection code started (commented out)
303
304 0.37_42
305 allows inherited methods to use first()
306
307 0.37_41
308 passes tests
309
310 0.37_40
311 select/first works with freq+count or count
312 (some tests fail)
313
314 0.37_38
315 first works for union/select/quantize
316
317 0.37_37
318 first for union()
319
320 0.37_36
321 select() freq default is 1 if we have a count
322
323 0.37_35
324 first/tail works for quantize(), select(by[])
325
326 0.37_26
327 compact() is a no-op
328
329 0.37_23
330 quantize() is no longer tied; no longer generates 'undef'
331 subset values.
332 3 tests didn't pass; removed! (expected null subset values)
333 Quantize_Date.pm removed
334 Function.pm removed
335
336 0.37_19
337 removed global-cache in quantize (access was too difficult,
338 took too much time).
339
340 0.37_18
341 removed cacheing in Set::Infinite::Date (problems with 'mode'
342 internal variable).
343
344 0.37_16
345 quantize 'weekyears' internal indexes fixed
346 new tests added
347
348 0.37_11
349 Set::Infinite::Arithmetic docs revised
350
351 0.37_10
352 select() is no longer "tied"
353 lib\Set\Infinite\Select.pm removed.
354 offset doesn't use gmtime if doesn't have to.
355
356 0.37_06
357 Backtracks on complement()
358 EXCLUDE_EXT string/array correction in Makefile.PL
359 (thanks Mark Veltzer for pointing this out)
360
361 0.37_05
362 Offset.pm moved into Arithmetic.pm
363
364 0.37_04
365 removed eg/ical.pl
366 (thanks Mike Castle for pointing these out)
367 changed obsolete 'add' method to 'union' in eg/*.pl
368 removed null() docs
369
370 0.37_03
371 faster Offset.pm
372
373 0.37
374 0.36_50
375 use warnings in Set::Infinite::_Simple
376
377 0.36_49
378 remove module Set::Infinite::Element_Inf
379
380 0.36_48
381 uses native "Infinity" stringification
382
383 0.36_47
384 fixed some warnings
385
386 0.36_46
387 size return correct value for open integer sets
388 intersects/contains return undef if too_complex
389
390 0.36_45
391 min/max are cached
392 min/max work with union/intersection
393 select(), complement() not implemented (should carp!)
394
395 0.36_43
396 integer/real/tolerance are functions
397 min/max work with integer()
398
399 0.36_42
400 min/max work for offset();
401
402 0.36_41
403 min/max fixed for quantize()
404 t/backtrack.t tests 2,3 fixed; more tests
405 new methods (undocumented):
406 min_a(), max_a() return a list: (value, open-state)
407
408 0.36_40
409 internal inf == Perl Inf
410
411 0.36_36
412 complement backtracks, although not it might fail for some sets
413 (not tested at all!)
414 min/max/span/size are estimated for complex sets
415 might work for select() too.
416 list(), <=> carp for unbounded sets
417
418 0.36_11
419 backtrack method call is cleaner
420
421 0.36_10
422 _simple_intersection removed.
423 _simple_complement with parameter removed.
424
425 0.36_09
426 offset strict option removed. Was never used.
427
428 0.36_08
429 Set::Infinite::ICalset and S::I::ICal removed. use Date::Set instead.
430
431 0.36_07
432 Simple class renamed to _Simple; creates methods inside Set::Infinite
433 $self->new() creates an empty set, and copies private variables
434 from $self. This makes new() inheritance easier.
435
436 0.36
437 added 'copy' in order to allow 'subroutine-style' programming
438 instead of only 'functional' programming
439 added 'is_too_complex'
440 obsoleted modules: Set::Infinite::Date, Set::Infinite::ICal, Set::Infinite::ICalSet
441 use Date::Set instead.
442 added make_htmldoc.pl and make_readme.pl
443
444 0.34
445 added 'weekdays' option to 'offset'
446
447 0.31-0.33
448 some optimizations
449 offset is no longer 'tied' in order to try to make it faster
450 offset now *always* return an ordered set
451 quantize has better memoization control
452
453 0.30
454 optimized 'is_null' - avoids converting data to string
455 fixed examples - foreach needs ->list
456 fixed tests - thanks CPAN testers!
457 move 'type', 'tolerance', 'real', 'integer' from Simple.pm to Set::Infinite.pm
458 simpler 'contains'
459 removed tie code from Infinite.pm and Infinite::Simple.pm
460
461 0.29
462 new method 'compact'
463 offset option 'mode=>circle'
464 new method 'list'
465 new method 'no_cleanup'
466
467 offset can handle months, years
468 offset value must be array with even number of elements
469
470 select 'freq' default is set-size instead of 1.
471
472 removed internal 'compact_array'
473
474 join (" ", $a) no longer works. use join (" ", $a->list) instead.
475
476 quantize(10) no longer works. use quantize(quant=>10) instead.
477 ical_2: BYMONTHDAY did not instantiate in ical_2 unless 'print'
478 -- offset can't return array.
479
480 0.28
481 'strict' option in offset, select.
482 'strict=>0' option in quantize.
483
484 offset can handle 'negative counts from end'
485
486 0.27
487 offset 'value' can handle multiple value-pairs
488 optimized $class->new() instead of $class->new($self) in select, offset, quantize.
489
490 0.26
491 lots of problems due to $a->{list}->[$ia]->{a}
492 -- used a temp variable to split in smaller parts
493
494 new eg/ical.pl oo demo
495
496 marked 'select{interval}' option to be deleted in next release
497 select now properly handles negative by[]; checks parent index boundaries
498 masked errors in select by using a dummy variable.
499
500 cache Quantize_Date::FETCH (local to object)
501 user can 'push' new methods into 'quantize'
502
503 new 'iterate' method
504
505 better oo in Infinite.pm - most methods can now be overriden
506 array syntax corrected in Infinite.pm
507 new TRACE/trace and DEBUG_BT to help debug
508
509 0.25
510 backtracking fully implemented in: intersection, intersects, union, offset.
511 backtracking partially implemented in: quantize, select
512 backtracking is NOT implemented in: complement, size, span, max, min
513 See: backtrack.t
514
515 'epoch' support in core module. Doesn't need Date or ICal.
516
517 intersection was missing 'my $b;'
518
519 Date::sub propagates {mode}
520
521 use hash-subs to initialize quantize units
522 'quantize_date' uses 'one' as default unit
523 doesn't use Quantize.pm anymore, since Quantize_Date.pm is a superset.
524 doesn't need 'quantizer, selector, offsetter' either.
525
526 remove 'cmp' (thanks Martijn)
527 internal cache for Date and ICal object
528
529 0.24
530 offset has 'unit' parameter
531 'epoch' removed. use 0+ instead.
532 Quantize_Date is an extension of Quantize.
533 quantize, select, offset return a compact array of Set::Infinite instead of a sparse array of Set::Infinite::Simple
534 - no longer needs to test for null elements.
535
536 0.23
537 changed localtime to gmtime everywhere
538 new object type: ICal. Requires Date::ICal; marked as experimental
539 This module will not be tested if it can't find Date::ICal
540 new date method: epoch
541
542 0.22.05
543 doesn't need HTTP::Date
544 offset supports hours, in 'Date' type
545
546 put "eg/recurring.pl" in distribution. (should be there since 0.21)
547 new "Function.pm" base class for functions.
548 Used Funtion.pm for "Select.pm" and "Offset.pm"
549 Much better algorithm for "Select.pm"
550 stricter language for "quantize" - only hash allowed.
551 reduced "Simple.pm" - may be deprecated someday
552
553 Faster cleanup, max, min
554 Cleaner (faster?) union
555
556 0.21
557 new methods: "select" and "offset".
558 syntax changed: "quantize":
559 quantize( 1 ); # old syntax, still works
560 quantize( quant => 1 );
561 quantize( 'months', 1 ); # old syntax for quantize_date, still works
562 quantize( unit => 'seconds', quant => 1 ); # quantize_date
563 internal: quantize parameter order is different.
564 fixed: Quantize_Date returned Set::Infinite instead of Set::Infinite::Simple
565 fixed: Date::Add lost format
566 new: Set::Infinite::Date::day_size()
567 added: recursive test for quantize
568 changed: empty return value for quantize is "null" instead of ""; then
569 changed "null" name to "" :)
570
571 0.20
572 local "type"
573
574 0.18, 0.19
575 Set::Infinite::Element not used anymore.
576 2.3x speed improvement in tests over version 0.14.
577
578 0.17
579 Correction in Simple.pm line-ending, and TODO filename on Windows
580 Element_Inf and Date.pm test for undefined parameters on OpenBSD
581
582 0.16
583 40% speed improvement in tests over version 0.14.
584
585 0.15
586 20% speed improvement in tests over version 0.14.
587 bigint.t fails; moved to 'todo' directory.
588 `Date' fails in OpenBSD. Doesn't fail in linux or Windows.
589
590 0.14
591 Problems with Bigfloat tests - can't fix them. Moved to `todo' directory.
592 Fixed Bigint tests and warnings in other tests.
593
594 0.13
595 Simple.pm and Element.pm:
596 Corrected many warnings related to testing undef values on hash
597
598 Quantize.pm and Quantize_Date.pm
599 work on real sized chunks too - don't use `%' integer module operation.
600
601 Infinite.pm
602 quantize returns tied array. It can be used directly with `foreach'.
603 Pod and tests corrected.
604
605 Infinite.pm
606 Accepts slices as input. There are syntax problems - see "CAVEATS" in pod.
607 tests added.
608
609 Simple.pm
610 Will not cleanup if acessed as tied array, until both a and b are defined or a method is called,
611 so that we can set a, then b.
612
613 0.12
614 Correction in Set::Infinite::Simple::intersection
615 [5..5) is null
616
617 New function: quantize
618
619 0.11
620 Set::Infinite
621 Copyright message
622
623 Set::Infinite Line 8:
624 # use AutoLoader qw(AUTOLOAD);
625
626 Deep recursion on subroutine "Set::Infinite::add" at h:/util/Perl/site/lib/Set/Infinite.pm line 318.
627 Deep recursion on subroutine "Set::Infinite::Simple::new" at h:/util/Perl/site/lib/Set/Infinite.pm line 184.
628 solution:
629 Set::Infinite::Element->type and
630 Set::Infinite::Date->date_format
631 use `pop' instead of `shift', or read parameters
632
633 0.01 Mon May 14 14:43:09 2001
634 - made Makefile.PL; v.0.010
635