Debian Codegraph @

Changes

raw
1 Revision history for Perl extension List-SomeUtils
2
3 0.59 2022-12-10
4
5 * Require Module::Implementation 0.04. Without this tests fail. Reported by
6 Eric Brine. GH #11.
7
8
9 0.58 2019-10-26
10
11 [BACKWARDS INCOMPATIBILITY]
12
13 * Fixed a number of bugs in the handling of empty lists. The any_u(), all_u(),
14 none_u(), notall_u(), and one_u() functions returned an empty list in list
15 context instead of undef. This is in direct opposition to the documentation
16 which has always said that it returned undef. Note that the
17 List::SomeUtils::XS code had the _correct_ behavior, so most users probably
18 have never experienced this bug.
19
20 [IMPROVEMENTS]
21
22 * Fixed some doc issues. Closes #7.
23
24
25 0.57 2017-12-12 (TRIAL RELEASE)
26
27 [BACKWARDS INCOMPATIBILITY]
28
29 * Fixed a number of bugs in the handling of empty lists. The any_u(), all_u(),
30 none_u(), notall_u(), and one_u() functions returned an empty list in list
31 context instead of undef. This is in direct opposition to the documentation
32 which has always said that it returned undef. Note that the
33 List::SomeUtils::XS code had the _correct_ behavior, so most users probably
34 have never experienced this bug.
35
36
37 0.56 2017-07-22
38
39 * Make sure we depend on the latest LSU::XS if the system support XS.
40
41
42 0.55 2017-07-22
43
44 * Fixed incorrect comments in doc examples for uniq().
45
46 * Added a new function, mode(), requested by Jerrad Pierce. GH #2.
47
48
49 0.54 2017-06-01
50
51 * Moved issue tracking to GitHub.
52
53
54 0.53 2016-08-14
55
56 * Replaced Exporter::Tiny with Exporter.
57
58
59 0.52 2016-05-06
60
61 * Updated to latest ExtUtils::HasCompiler and simplified dynamic
62 prereqs. Patch by Karen Etheridge. GitHub #3.
63
64
65 0.51 2016-02-27
66
67 * No code changes. The last release was missing a Changes entry.
68
69
70 0.50 2016-02-27
71
72 * This is List::MoreUtils under a different name with fewer configure-time
73 prereqs.
74
75 * The "import as old versions" feature present in LMU does not exist in this
76 distribution.
77
78
79 0.413 2015-06-10
80
81 - Fix compiling in c++ mode (depreciated, but some people seem to
82 require it). Solves RT#104690
83
84
85 0.412 2015-05-19
86
87 - release 0.411_001 without further changes
88
89 0.411_001 2015-05-11
90
91 - move generation of test endpoints to author stage as requested per issue/#9
92 - add a rough guide for contributors
93 - fix rt#103251 to avoid removing bundled stuff by accident
94 - Fix compilation errors under cl (Thanks to jddurand)
95
96
97 0.410 2015-03-30
98
99 - release 0.409_003 after no further issues came up
100
101
102 0.409_003 2015-03-27
103
104 - update bundled bootstrap modules
105 * Data::Tumbler to 0.010
106 * Test::WriteVariants to 0.012
107 * Config::AutoConf to 0.311
108 - fix spelling (and add stop-words for names etc. in author tests)
109
110
111 0.409_002 2015-03-23
112
113 - fix multiple mg_get can break weird tie's (thanks to leont)
114 - fix test run using PERL5OPT=d:Confess (thanks kentl & ribasushi)
115 - use base instead of parent, cause parent isn't bundled before 5.10.1
116 (smoke report from SREZIC)
117 - update bundled modules (for bootstrapping) and ppport.h (from 3.25
118 to 3.31)
119
120
121 0.409_001 2015-03-21
122
123 - fix RT#102885: uniq bug broke tied array (reported by [email protected])
124 - fix issue/8: Macros introduced in dfd851147f cause problems with MSVC
125 (reported by A. Sinan Unur)
126 - Update ppport.h from 3.25 to 3.31
127
128
129 0.408 2015-03-18
130
131 - fix RT#102840: uniq broken for call-by-function-return (reported by
132 Jean-Damien Durand), with a new test case thanks to Thomas Sibley
133 - fix RT#102853: hent_val accesses (reported by Brad Forschinger with
134 a reasonable patch)
135 - fix RT#102833: Compilation error with perl 5.21.7+ (reported by
136 Slaven Rezic)
137 - fix regex for RT#44518 test
138
139
140 0.407 2015-03-17
141
142 - Added one(), onlyidx(), onlyval() (RT#73134, MHASCH) and onlyres()
143 - improve XS maintainability
144 - document how uniq/distinct deal with undef (RT#49800)
145 - add bsearchidx to satisfy RT#63470
146 - add singleton to satisfy RT#94382
147 - fix RT#82039 - uniq changes the type of its arguments
148 - fix RT#44518 again
149
150
151 0.406 2015-03-03
152
153 - add new functions firstres and lastres in addition to firstidx, lastidx,
154 firstval and lastval
155 - regenerate MANIFEST to bundle README.md
156
157
158 0.405 2015-02-14
159
160 - fix RT#78527 - first_val/last_val in documentation
161 - fix RT#102055 - ExtUtils::MakeMaker required version absurdly high
162 - update README (deploy it as README.md now)
163 - fix compiler issue for older/ansi-c89 compilers
164 - remove local compat workarounds in favour for ppport.h
165
166
167 0.404 2015-01-28
168
169 - fix ancient toolchains (PREREQ_PM & Co. set appropriately),
170 reported by ilmari
171 - bump version required of Test::More to 0.96 (#toolchain
172 calls it a "sane subset")
173 - fix some meta-data #toolchain pointed out
174
175
176 0.403 2015-01-27
177
178 - remove most recent stable perl recommendation from meta to
179 workaround misbehaving CPAN clients blocking update
180 - update copyright date
181 - ensure AUTHOR is a string on older toolchains
182
183
184 0.402 2014-12-17
185
186 - bump Config::AutoConf and Test::WriteVariants requirement for
187 improved 5.6 compatibility (fixes rt#101121)
188 - use base instead of parent in configure stage (improves building
189 on 5.6)
190 - fix rt#101067 by applying patch from Father Chrysostomos (thanks
191 to Lukas Mai (MAUKE) for reporting and explaining)
192
193
194 0.401 2014-12-08
195
196 - update bundled Config::AutoConf to 0.307
197 - release after long testing period
198
199
200 0.400_010 2014-12-08
201
202 - bundle configure_requires using inc::latest
203 - fix RT#96596 by checking types before starting logic ...
204 * RT#86260 reported the same issue
205 - lower minimum perl required to 5.6
206 - switch to check_produce_loadable_xs_build of Config::AutoConf 0.306
207
208
209 0.400_009 2014-05-05
210
211 - improve documentation (David Golden, Jens Rehsack)
212 - bundle non-core modules (compared to 5.14)
213
214
215 0.400_008 2014-04-24
216
217 - fix none for 0.24 and clarify API tag documentation (David Golden)
218 - refactor import tags for clarity (David Golden)
219
220
221 0.400_007 2014-04-22
222
223 - cut out exporter-related cruft; it was only necessary when needing
224 to choose between multiple implementations (Toby Inkster)
225 - Reorganize and clarify documentation (David Golden)
226 - revise SYNOPSIS and DESCRIPTION for revised export model (David
227 Golden)
228 - introduce ":like_*" import tags (Toby Inkster, Jens Rehsack)
229 - remove Data::Tumbler and Module::Pluggable from configure
230 dependencies, they're coming with Test::WriteVariants
231
232
233 0.400_006 2014-04-01
234
235 - fix typos in POD (RT#87490 - thanks to David Steinbrunner)
236 - refactor LMU as discussed with David Golden, Tim Bunce and
237 Toby Inkster
238
239
240 0.400_005 2014-03-24
241
242 - rename implementations from alias => relax and tassilo => strict
243 - remove 'sno' implementation
244 - add precedence 'default' in addition to 'all' for those who prefer
245 strict over relax
246 - move dependency Module::Runtime from configure to runtime
247
248
249 0.400_004 2014-03-21
250
251 - Switch from Sub::Exporter to Exporter::Tiny (Toby Inkster)
252 - fix issues on older perls back to 5.8.1 (Config::AutoConf
253 will not do out of the box, but this can be fixed)
254 - fix backward compatibility issues (RT#94013 in conjunction
255 with RT#93995)
256 Details needs to be discussed with Moose community (unless
257 they stop caring) to get out of distinguishing hell as soon
258 as possible
259 - fix some spelling issues reported by David Steinbrunner
260 (RT#86347)
261 - clarify depedencies, especially recommended ones
262 - add some additional tests to prove reported bugs (informed
263 reporters when not reproducable)
264
265
266 0.400_003 2014-03-18
267
268 - fix compile error on threaded perls (RT#93934 - thanks Andreas
269 Koenig for reporting)
270 - fix exporter configuration (RT#93929 - thanks Andreas Koenig for
271 reporting)
272 - fix RT#40905 by allowing choose an appropriate implementation
273 - add test for RT#76749 - seems not reproducable (but hopefully
274 reporter David J. Oswald can fix the test to help fixing the
275 issue beyond)
276
277
278 0.400_002 2014-03-16
279
280 - reduce minimum perl version to 5.8.1
281 - split implementations between existing authors
282 - switch to DynaLoader and Sub::Exporter
283 - rely for testing on Test::WriteVariants and Data::Tumbler
284 (DBI::Test technology to improve tests)
285 - fix 64-bit integer precision (RT#93207 reported by Dana Jacobsen)
286
287
288 0.400_001 2013-10-11
289
290 - Reformat Changes as per CPAN::Changes::Spec
291 - taking FIRSTCOME power and move repository to GitHub
292 - merge Tassilo's 0.25_nn dev releases back
293 * mark "any" and "all" as "to be discussed"
294 ==> API changes made by Alias/ADAMK
295 - bump version to clarify new age (contributors welcome!)
296 - bump minimum perl version to 5.8.3
297
298
299 0.33 2011-08-04
300
301 - Updated can_xs to fix a bug in it
302
303
304 0.32 2011-05-20
305
306 - Production release, no other changes
307
308
309 0.31_02 2011-03-21
310
311 - More accurate detection of XS support (ADAMK)
312
313
314 0.31_01 2011-03-21
315
316 - Updating copyright year (ADAMK)
317 - Teak documentation of all() and none() (WYANT)
318 - Memory leak fixed for apply() and XS version restored (ARC)
319 - Memory leak fixed for indexes() and XS version restored (ARC)
320 - Memory leak fixed for part() and XS version restored (ARC)
321
322
323 0.30 2010-12-16
324
325 - Change the way we localise PERL_DL_NONLAZY to false to remove
326 a warning that some people were seeing. The new approach is taken
327 from the way that List::Util does it.
328
329
330 0.29 2010-12-08
331
332 - Removed an erroneous Test::NoWarnings dependency
333
334
335 0.28 2010-12-07
336
337 - Switching to a production release
338 - Restored the regression test for RT #38630 from 0.23.
339 As apply() was disabled in 0.27_04 this test will only act
340 to validate the future XS restoration of apply().
341 - Adding uniq warning tests, disabled initially
342
343
344 0.27_04 2010-12-06
345
346 - The behaviour of any/all/none/notall has changed when
347 passed a null list to treat a null list as a legitimate list.
348 Instead of returning C<undef> the functions now return the
349 following: any {} == false, all {} == true, none {} == true,
350 notall {} == false.
351 Resolves #40905: Returning undef when none is passed an empty
352 - Disabled the leaking XS versions of part(), apply() and indexes()
353
354
355 0.27_03 2010-12-06
356
357 - General house cleaning
358
359
360 0.27_02 2010-12-01
361
362 - Reduced test suite peak memory consumption by 5-10 meg
363 - Added the 'distinct' alias for the uniq function, for people that
364 like their chained map/grep/sort pipelines with a SQL'ish flavour.
365 - Expanded test suite for the any() group of functions.
366 - The any() group of functions now strictly always return scalar
367 boolean true, false and undef to match the XS version.
368
369
370 0.27_01 2012-12-01
371
372 - Refactored the split test scripts into a common test module
373 to be shared between both the Perl and XS versions.
374 - Reapply fix for http://rt.cpan.org/Ticket/Display.html?id=39847
375 "minmax error: unpredictable results with lists of 1 element"
376
377
378 0.26 2010-11-23
379
380 - No changes
381 - Some parts of the CPAN cloud were confusing my 0.24
382 release with the older deleted 0.24. Bumping version
383 past Tassilo's to clarify things.
384
385
386 0.24 2010-11-22
387
388 - No changes, switching to a production version
389
390
391 0.23_01 2010-09-25
392
393 - First attempt at repackaging the List::SomeUtils code in
394 Makefile.PL and release toolchain similar to Params::Util
395
396
397 0.25_02 2009-08-01
398
399 - MS VC++ 7 doesn't like inline nor 'long long'
400 (patch provided by Taro Nishino (taro DOT nishino AT gmail.com)
401 - Newx isbn't around in older perls so use New(0,...) instead
402
403
404 0.25_01 2009-07-30
405
406 - it seems the only way of handling the stack that works on all
407 flavors of the multicall API is by making a shallow copy of it
408 and use that between the PUSH/POP_MULTICALL bracket
409 - fix awkward ok() override in List-SomeUtils.t so that it reports
410 line numbers in test failures properly
411
412
413 0.24 2009-07-19
414
415 - List::SomeUtils was not handling the stack properly when the stack was grown
416 from inside code-references
417 - a couple of tests for each_arrayref were calling each_array
418
419
420 0.23 2009-04-19
421
422 - BACKWARDS INCOMPATIBLE CHANGE:
423 fixed: Returning undef when none is passed an empty array is counterintuitive
424 (http://rt.cpan.org/Ticket/Display.html?id=40905)
425 - fixed: minmax error: unpredictable results with lists of 1 element
426 (http://rt.cpan.org/Ticket/Display.html?id=39847)
427 - fixed: bug: uniq doesn't like undef values.
428 uniq warns on undef values
429 (http://rt.cpan.org/Ticket/Display.html?id=37533)
430 (http://rt.cpan.org/Ticket/Display.html?id=43214)
431 - fixed: bug in pairwise when $a and $b are lexically defined using my
432 (http://rt.cpan.org/Ticket/Display.html?id=44518)
433 - fixed: Big memory leak with XS part()
434 (http://rt.cpan.org/Ticket/Display.html?id=41097)
435 - fixed: memory leak in indexes() [XS]
436 (http://rt.cpan.org/Public/Bug/Display.html?id=41494)
437 - reduced memory-requirements for the part() tests as that was responsible
438 for a lot of unnecessary test-failures
439 - new function bsearch() which performs a binary search
440
441
442 0.22 2006-07-02
443
444 - SvPV_nolen doesn't exist on pre 5.6 perls
445
446
447 0.21 2006-06-18
448
449 - propagate dies from inside the code-reference of pairwise to
450 caller
451
452
453 0.20 2006-04-25
454
455 - part() would destroy the list elements when changing
456 an array in place (@list = part { ... } @list)
457
458
459 0.19 2006-03-13
460
461 - working down myself the queue of suggestions:
462 part() added
463 (Ricardo SIGNES <rjbs AT cpan DOT org>)
464
465
466 0.18 2006-02-25
467
468 - each_arrayref (XS) couldn't deal with refs to list literals
469 (brought up by David Filmer <usenet AT DavidFilmer DOT com>
470 in comp.lang.perl.misc)
471
472
473 0.17 2005-12-07
474
475 - each_arrayref had no XS implementation and wasn't
476 mentioned in the PODs
477 (patch by Anno Siegel <siegel AT zrz DOT tu-berlin DOT de>)
478
479
480 0.16 2005-11-14
481
482 - a dangling semicolon in some macros prevented
483 the XS portion to compile on some compilers
484 (Lars Thegler <lars AT thegler DOT dk>)
485
486
487 0.15 2005-11-11
488
489 - 0.13 and 0.14 broke the module on 5.6.x
490 (spotted by Thomas A. Lowery <tlowery AT cc3 DOT com>)
491 - internals changed to make use of the new MULTICALL API
492 which had to be backported to 5.005_x
493
494
495 0.14 2005-11-10
496
497 - 0.13 fixed the leaks but rendered the XS part uncompilable
498 for perls < 5.6.0: Fixed
499 (spotted by Lars Thegler <lars AT thegler DOT dk>)
500
501
502 0.13 2005-11-09
503
504 - nearly all functions receiving a CODE-block as first
505 argument had a hefty memory-leak: Fixed
506 (spotted by Thomas A. Lowery <tlowery AT cc3 DOT com>)
507
508
509 0.12 2005-09-28
510
511 - first_index and each_arrayref weren't exportable
512 (spotted by Darren Duncan)
513
514
515 0.11 2005-09-27
516
517 - make sure that Test::Pod and Test::Pod::Coverage are
518 installed in the required minimum versions
519 (thanks to Ricardo Signes <rjbs AT cpan DOT org>)
520
521
522 0.10 2005-04-01
523
524 - new function minmax() with comparisons in O(3n/2 - 2)
525 - some POD corrections (Adam Kennedy)
526 - POD- and POD-coverage tests
527
528
529 0.09 2004-12-04
530
531 - 0.08 only fixed uniq() for scalar context
532
533
534 0.08 2004-12-03
535
536 - uniq() was not mentioned in the perldocs and only had
537 the XS implementation
538 - uniq() also produced wrong results on 5.8.0
539 (thanks to Slaven Rezic for spotting it and suggesting
540 a workaround)
541 - the test-suite triggered a bug in 5.6.x perls
542 - the test-suite now tests both the XS- and Perl-implementation
543 - a wrong example in the perldocs fixed (Ron Savage)
544
545
546 0.07 2004-12-01
547
548 - new functions:
549 after, after_incl, before, before_incl, indexes
550 lastval, firstval, pairwise, each_array, natatime,
551 mesh (all from Eric J. Roodes' List::MoreUtil).
552
553
554 0.06 2004-11-14
555
556 - new function 'apply' on behalf of Brian McCauley
557 (<nobull AT mail DOT com>)
558
559
560 0.05 2004-09-18
561
562 - merged in insert_after() and insert_after_string() from
563 List::Utils which is now obsolete
564 (thanks to James Keenan <jkeen AT verizon DOT net> and
565 Terrence Brannon <terry AT hcoop DOT net>)
566
567
568 0.04 2004-07-10
569
570 - renamed to List::SomeUtils on suggestion by
571 Steve Purkis <spurkis AT quiup DOT com>
572
573
574 0.03 2004-07-09
575
576 - some compilers don't like the stale goto labels
577 without any statement following. Fixed.
578 (Robert Rothenberg <wlkngowl AT i-2000 DOT com>)
579
580
581 0.02 2004-07-08
582
583 - added Perl implementations of all functions
584 as a fallback
585 (Adam Kennedy <adam AT phase-n DOT com>)
586
587
588 0.01 2004-07-05
589
590 - original version; created by h2xs 1.23 with options
591 -b 5.5.3 -A -n List::Any