1Changes(3) User Contributed Perl Documentation Changes(3)
2
3
4
6 REVISION HISTORY - Set::Object
7
9 • Fix "%h={}" warning, by Pauwel Coppieters
10
11 • add examples/slow-sort.pl. see RT #90070
12
14 • Use meta-spec 2, Moose -> dev.requires not runtime.recommends (GH
15 #6, RT #134034) by mohawk
16
18 • Fixed perl5.28 regressions (not cperl), for @$set args to other set
19 functions. (RT #131345). Fixed by adding missing SvGETMAGIC
20 expansions to all args.
21
22 • Bumped minimal required perl version to 5.8 for arrayref @$set
23 behavior.
24
25 • Fixed the smokers and some author tests.
26
28 • Skip installing Changes.pod (PR #5, kentfredric)
29
31 • Add test_cover and release targets
32
34 • Test fixes for -Ddefault_inc_excludes_dot, RT #120540
35
36 • Skip failing threads test <= 5.10.0
37
38 • Add CI hooks
39
41 • Davem fixed get-magic for the new arguments, fixing NetHack-Item
42 [perl #132152]
43 <https://rt.perl.org/Public/Bug/Display.html?id=132152>. See [cpan
44 #123582] <https://rt.cpan.org/Ticket/Display.html?id=123582>
45
46 • Stabilize t/misc/kwalitee.t test
47
49 • Change to Artistic License 2.0
50
51 • Add more misc tests. Add use strict to Set::Object::Weak
52
54 • Make synopsis examples work (tadzik)
55
57 • Fix RT #90070: Improve pod for sorted @$set in list context vs
58 unsorted ->elements (ftobin)
59
60 • Fix RT #87658: Typo in pod (dsteinbrunner)
61
63 • Reverts Changes.pod patch RT#85244 as it conflicts with the
64 Set::Object pod on metacpan. Also RT #85246
65
67 • Changes.pod patch by Gregor Hermann, debian perl group - RT#85244
68
70 • Fixes for 5.16 and newer - RT#83426 Sort by member names, not the
71 refs. Fix wrong weak test with globals. Changed to lexicals and
72 use strict/warnings.
73
74 • Fix t/misc/segfault.t, check SvMAGICAL before doing "mg_find"
75
76 • Fixed wrong C format types in warnings and
77 "SET_OBJECT_MAGIC_backref". Added PREREQ_PMs, make Test::LeakTrace
78 and Moose an optional dependency for t/misc/more_leaks.t
79
80 • Improve thread-safety (forbid concurrent writes), but still dealing
81 with Attempt to free non-existent shared string and Unbalanced
82 string table refcount: (1) for "8" during global destruction. - RT
83 #22760
84
85 • Add missing typemap entry const char * for 5.6
86
88 • Fixed a typo in a function which really shouldn't exist - RT#79653
89
90 • Marked a couple of functions as deprecated for removal (including
91 the above function).
92
93 • Fixed the magic cleanup code to use the appropriate macro/function
94 to clean up the magic list instead of trying to do it itself.
95 Unsurprisingly, fixes a memory leak. (RT#69967, also RT#67289)
96
98 • Fixed a portability concern for some platforms' C compilers (that
99 do not support //-style comments) - RT#52690
100
101 • Valid SIGNATURE file - RT#50492
102
104 • Fix a typo that affected building against Perls with debugging
105 enabled.
106
107 • A minor #define refactor (Yuval).
108
109 • Squash some long-standing warnings I had been ignoring for ages and
110 Havard Eidnes prompted me to fix by logging an RT ticket for it.
111
112 • Squash some global clean-up warnings.
113
115 • Methods which destroyed $@ due to internal use of "eval" now
116 properly call local($@) (Yuval)
117
118 • Fix a leak and a corner case with weak set magic, and squash some
119 warnings (Yuval)
120
121 • Define behaviour when dealing with return values from operations on
122 weak sets. No longer hard-coded "Set::Object" - may affect
123 Set::Object sub-classes (Sam).
124
125 • (post-release changelog entry) related to the previous change,
126 Set::Object::Weak::set did not use to shift the invocant off the
127 stack, which caused result sets to have the inserted sets as
128 members. It now does, fixing this bug.
129
131 • Portability: support Perls before 5.7.3, and make this dependency
132 explicit in the Makefile.PL
133
135 • Remove threads test which had inadvertantly slipped into the
136 MANIFEST from source control, and add comprehensive documentation
137 on the state of thread support in this module.
138
139 • Correct other silly MANIFEST mistakes.
140
142 • Make behaviour when dealing with items which were "undef" defined.
143 Previously it might segfault (or Bus Error on Mac OS X) on some
144 operations and Perl versions, or result in an empty string being
145 inserted.
146
147 • Fix a minor compile problem on IRIX, reported by David Cantrell.
148
150 • Sub-classing interface added; it is now much easier to make
151 Set::Object subclasses that return objects other than more
152 Set::Objects when subclassing. From Brían Mach Aon Innéirghthe.
153
155 • Fix false negative when Test::Pod::Coverage isn't installed.
156 Reported by Anna Bernathova of SuSE.
157
159 • The "->compare" function was returning "disjoint" for empty sets.
160 RT#24965. (Nigel Metheringham)
161
162 • Document lots of methods that were previously not documented.
163
164 • Fix Set::Object::Weak::set(). It was not passing its arguments to
165 "Set::Object::Weak->new()", which was very broken.
166
168 • remove bogus inclusions of Data::Dumper and Devel::Peek
169
170 • New class "Set::Object::Weak", which all weak sets should get re-
171 blessed into when you call "->weaken". Also added alternative
172 methods of constructing weak sets.
173
174 • Fix a memory leak with scalar members (the internal hash used to
175 store the items was never being freed). RT#24508.
176
178 • We could only build on gcc due to the use of variadic macros. use
179 "#ifdef" to hide this GCC-specific extension (used only for
180 debugging) from non-GCC compilers.
181
182 • Add note to man page on compatibility of "Storable" serializations
183 of "Set::Object"s between revisions.
184
186 • fix compile problem affecting some platforms
187
189 • weak reference support
190
192 • Dumping sets with scalars in them via Storable now works.
193
195 • Fix build problem on Win32 (thanks Steffen Goeldner)
196
198 • Fix Makefile.PL so this Changes.pod is not delivered as
199 "Set::Changes" :-}
200
201 • Restore compatibility with 5.6.0
202
203 • Remove some compile-time warnings, please let me know if this
204 version does not build on any platform!
205
207 • added patch from Sergey Skvortsov for backwards compatibility with
208 Perl versions before 5.8 (include >100k ppport.h!)
209
210 • removed 'set()' constructor from default export list, as its name
211 conflicts with too many other modules.
212
214 • removed debugging &_ func (was causing strange errors on 5.9.1)
215
217 • added 'set()' constructor and use-as-array-ref interface
218
220 • added 'bool' overload operator to "Set::Object". For backwards
221 compatibility, always returns true.
222
223 1.08_02, 14 Jan 2005
224 • Cutting out the "Universe" representation; this module gives plain
225 sets only.
226
227 • documentation fixes
228
229 1.08_01, 12 Jan 2005
230 • First attempt at adding support for scalars. This version tries to
231 work as closely to "Set::Scalar" as possible.
232
233 This approach will not be continued unless there are a lot of
234 requests for it to be implemented. I think it's overly
235 complicated, and not what people expect when they want a Set.
236
238 • another segfault bites the dust; this time, avoids a segfault when
239 taking a difference between sets of exactly 31 and 0 size. Same
240 root fault as the previous bug, this time I have a test case for
241 it, too.
242
244 • yet another segfault fix, this time due to incorrect use of PUSHs
245 vs XPUSHs. There is no test case for this bug unfortunately.
246
248 • Fixed segfault when attempting to remove items from an empty set
249 (fix from Richard Sterling Cox)
250
252 • some segfault fixes with Storable and Perl 5.6.1 (Perl 5.8.1 should
253 be OK)
254
256 • added various functions similar to some found in Scalar::Util, but
257 with an extra one that performs a function that lays some
258 groundwork for Container::Object ("ish_int").
259
260 Some of these functions were in the XS code anyway, and they are
261 extremely small, so I didn't see a problem with duplicating them -
262 saves an extra dependency. Plus, Graham Barr won't let me put
263 "ish_int" or "is_key" in his module.
264
265 Knowing that they are available will also assist in fixing some
266 longer standing bugs in Tangram (eg, using "$obj + 0" to get a
267 unique ID when refaddr($obj) would be better)
268
269 • lots more input marshalling; if you ever end up doing funny things
270 to a "Set::Object", then at least now you'll get a clearer error
271 message.
272
273 • more tests; Devel::Cover test coverage now at 91% (stmt), 67%
274 (branch)
275
276 • erroneously putting scalars into "Set::Object"s now no longer dumps
277 core.
278
279 • serialisation of "Set::Object" objects is now possible via the
280 Storable module (Data::Dumper still does the wrong thing, but there
281 is nothing I can do about that).
282
284 • fixed overload related bug
285
287 From original Changes file.
288
289 Revision history for Perl extension Set::Object.
290
291 0.01 Sat Jun 6 13:36:56 1998
292 - original version; created by h2xs 1.18
293
294 0.02 Sun Jul 12 1998
295 - fixed refcount bug that leaked object when hash was
296 reorganized
297 - ensured compatibility with Perl 5.004_71
298
299 1.00 mid-99
300 - fixed some bug (related to subsets?)
301 - first mature release
302
303 1.01 8 Nov 1999
304 - no longer use Perl arrays internally, now compatible with
305 Perl 5.005_62
306
307 1.02 8 May 08 2000
308 - fixed bug that miscomputed new bucket while reindexing
309
310
311
312perl v5.36.0 2023-01-20 Changes(3)