Commit | Line | Data |
91c261ec |
1 | commit 0a18a49b281a5a76e75de77e45ee27ad1b807bb2 |
2 | Author: Maik Hentsche <maik@mm-double.de> |
3 | Date: Tue Jun 15 17:19:41 2010 +0200 |
4 | |
5 | Attempt at improving the perlipc docs |
6 | |
7 | commit ee84a7925f473937ece8b2db88bffc4400a8cabe |
8 | Author: Rafael Garcia-Suarez <rgs@consttype.org> |
9 | Date: Tue Jun 15 14:48:34 2010 +0200 |
10 | |
11 | Revert "It may not be obvious to a new Perl programmer that $#ary is explained in perldata.pod (see http://stackoverflow.com/questions/2997042/ )." |
12 | |
13 | This reverts commit db2ed3fb308b082577e9315ba52b2cb266a2bd0a. |
14 | |
15 | commit 4c8a458a2f2be4d98cd2b8873f15b800e9382262 |
16 | Author: Karl Williamson <khw@khw-desktop.(none)> |
17 | Date: Wed Jun 2 15:07:29 2010 -0600 |
18 | |
19 | uc(): Handle Greek YPOGEGRAMMENI |
20 | |
21 | Unicode contains two context-sensitive case-changing rules. This patch |
22 | enables one of them, dealing with the Greek YPOGEGRAMMENI. The code had |
23 | been #ifdef'd out, so the changes here are more than what the diff |
24 | shows. The reason it was #ifdef'd out was because more research was |
25 | needed to verify that it was correct, which I have now done, and think |
26 | it is. |
27 | |
28 | The issue is we may just be uppercasing a portion of the context, so |
29 | don't have complete knowledge of what should be done. This patch causes |
30 | us to move the ypogegrammeni to as far right as it should go, or to the |
31 | end of the context we know about, whichever comes first. That's the |
32 | best we can do. If it really should be moved further to the right, |
33 | there's no way we can do it, because the user has not called uc() |
34 | with the full information needed. So, in all cases, this is better than |
35 | just leaving it where it was in the input. Also, the applicable context |
36 | is limited to a logical character, that matched by /\X/, so if the user |
37 | is calling uc() on a subset of a logical character, it really is their |
38 | mistake. |
39 | |
40 | commit cc70200b5f52ae10e2985e4d11670b3b76984b4d |
41 | Author: Karl Williamson <khw@khw-desktop.(none)> |
42 | Date: Wed Jun 2 15:04:16 2010 -0600 |
43 | |
44 | t/uni/case.pl: allow extra tests of different form |
45 | |
46 | Add an option to case.pl so that the callers can run extra tests that |
47 | don't fit in with it's format. They just pass the number run to it, and |
48 | it adjusts the plan accordingly. |
49 | |
50 | commit f686127b43eb3c08a5cb1fccce5ef34212234df5 |
51 | Author: Salvador Fandino <sfandino@yahoo.com> |
52 | Date: Tue Jun 15 11:31:04 2010 +0200 |
53 | |
54 | Add support for more TCP_ constants to Socket |
55 | |
56 | (plus bump version to 1.89) |
57 | |
58 | commit 5621738aceb2535b67ff880f9ef107b9a0f8389e |
59 | Author: Karl Williamson <khw@khw-desktop.(none)> |
60 | Date: Sun May 30 21:34:53 2010 -0600 |
61 | |
62 | Remove debugging statement from mktables. |
63 | |
64 | A debugging statement was inadvertently left in which causes an |
65 | extraneous warning. |
66 | |
67 | commit db2ed3fb308b082577e9315ba52b2cb266a2bd0a |
68 | Author: Sinan Unur <sinan@unur.com> |
69 | Date: Tue Jun 8 18:53:27 2010 -0400 |
70 | |
71 | It may not be obvious to a new Perl programmer that $#ary is explained in perldata.pod (see http://stackoverflow.com/questions/2997042/ ). |
72 | |
73 | A possible solution is to place an entry in perlvar.pod pointing out |
74 | that $# was removed and pointing the user to perldata.pod for the |
75 | explanation of $#ary usage. |
76 | |
77 | commit 9b58b542ddb7ea24d774e7f780c8a19127be1f5a |
78 | Author: Rafael Garcia-Suarez <rgs@consttype.org> |
79 | Date: Tue Jun 15 10:16:35 2010 +0200 |
80 | |
81 | usemymalloc slows down newer openbsd [perl #75742] |
82 | |
83 | commit c35588eb09d732b01769aad7cf303e81b9417302 |
84 | Author: Chris 'BinGOs' Williams <chris@bingosnet.co.uk> |
85 | Date: Mon Jun 14 10:07:27 2010 +0100 |
86 | |
87 | Rename copyright section of Module::CoreList to LICENSE, fixes for my kwalitee score. |
88 | |
89 | commit 742adbff4f079f203897faa086d954cc3a26460a |
90 | Author: Andreas J. Koenig <andk@cpan.org> |
91 | Date: Mon Jun 14 09:46:15 2010 +0100 |
92 | |
93 | Update CPAN.pm to 1.94_57 |
94 | |
95 | 2010-05-24 Andreas J. Koenig <andk@cpan.org> |
96 | |
97 | * release 1.94_57 |
98 | |
99 | * bugfix: treat modules correctly that are deprecated in perl 5.12. |
100 | |
101 | * bugfix: RT #57482 and #57788 revealed that configure_requires |
102 | implicitly assumed build_requires instead of normal requires. (Reported |
103 | by Andrew Whatson and Father Chrysostomos respectively) |
104 | |
105 | * testfix: solaris should run the tests without expect because (some?) |
106 | solaris have a broken expect |
107 | |
108 | * testfix: run tests with cache_metadata off to prevent spill over |
109 | effects from previous test runs |
110 | |
111 | Signed-off-by: Chris 'BinGOs' Williams <chris@bingosnet.co.uk> |
112 | |
113 | commit 086d291379a28ceb3cd7cc6416747be8c426476b |
114 | Author: Nicholas Clark <nick@ccl4.org> |
115 | Date: Mon Jun 14 09:44:49 2010 +0200 |
116 | |
117 | Note why pp_tie can't use call_method() for a package name. |
118 | |
119 | Plus a test that would fail if it did. |
120 | |
121 | commit f4adce6b773b2b6071e0d1627f4dce6ec0c3caa7 |
122 | Author: Nicholas Clark <nick@ccl4.org> |
123 | Date: Sun Jun 13 16:25:53 2010 +0200 |
124 | |
125 | Merge flags and argc parameters to S_tied_handle_method(). |
126 | |
127 | This generates slightly smaller object code overall, which means that the "hot" |
128 | code (the non-overloaded paths through the ops) will be smaller, and hence more |
129 | likely to stay in the CPU cache. |
130 | |
131 | commit 74f0b5509afd269c59f1396fde551295bbeec7d5 |
132 | Author: Nicholas Clark <nick@ccl4.org> |
133 | Date: Sun Jun 13 15:02:14 2010 +0200 |
134 | |
135 | In S_tied_handle_method() default to mortalizing extra arguments. |
136 | |
137 | Convert the gimme argument to a flags argument, and add a flag bit to signal |
138 | that mortalization is not required. Only "BINMODE" needs this. |
139 | |
140 | commit 0240605ecd7a040cc6058409c65a3ebc6b7d489b |
141 | Author: Nicholas Clark <nick@ccl4.org> |
142 | Date: Sun Jun 13 12:38:16 2010 +0200 |
143 | |
144 | Add a gimme parameter to S_tied_handle_method(). |
145 | |
146 | This allows "GETC" to use it. |
147 | |
148 | commit bc0c81caab3813b2d61b70f94e5075bbf3a3ef69 |
149 | Author: Nicholas Clark <nick@ccl4.org> |
150 | Date: Sun Jun 13 12:12:43 2010 +0200 |
151 | |
152 | Change S_tied_handle_method() to varargs to allow extra SV parameters. |
153 | |
154 | This enables "BINMODE", "EOF" and "SYSSEEK" to use it. |
155 | |
156 | commit ebc1fde647268c1d49a6096baf6ca8a708363f5b |
157 | Author: Nicholas Clark <nick@ccl4.org> |
158 | Date: Sun Jun 13 10:34:56 2010 +0200 |
159 | |
160 | Merge simple tied handle method calls into S_tied_handle_method(). |
161 | |
162 | commit c33ef3ac654cbe35caea1d36f34c68f0e4a134ba |
163 | Author: Nicholas Clark <nick@ccl4.org> |
164 | Date: Sat Jun 12 22:29:03 2010 +0200 |
165 | |
166 | For tied file handle calls, use PUSH* when we know that the stack has space. |
167 | |
168 | Previously the code was using XPUSH* in many cases, often to push back values |
169 | recently popped off the stack. |
170 | |
171 | commit 2addaaf3b439e1adb64bd833a257ff963c73f45a |
172 | Author: Nicholas Clark <nick@ccl4.org> |
173 | Date: Sat Jun 12 20:51:19 2010 +0200 |
174 | |
175 | Remove unecessary EXTEND()s from pp_sys.c |
176 | |
177 | If we've just POP*ed something from the stack, it will already have space. |
178 | If we conditionally POP* something from the stack, avoid the EXTEND() in that |
179 | path. Also, use PUSH() rather than XPUSH() where we know that the stack is large |
180 | enough. Changes to pp_close, pp_binmode, pp_enterwrite, pp_readlink and pp_alarm. |
181 | |
182 | commit 2116934e2bf4f3c1445ea039e29ff377c3de2648 |
183 | Author: Nicholas Clark <nick@ccl4.org> |
184 | Date: Sun Jun 13 08:50:00 2010 +0100 |
185 | |
186 | In pp_eof, ensure stack space for the second argument to the tied EOF method. |
187 | |
188 | Commit 32e653230c7ccc7f added this second argument, but didn't verify that the |
189 | stack always had sufficient space for it. |
190 | |
191 | commit b0c1862166fbc7bf02b768bf81c9e1e77b5220a8 |
192 | Author: David Golden <dagolden@cpan.org> |
193 | Date: Wed Jun 9 14:53:15 2010 -0400 |
194 | |
195 | remove trailing spaces in perlvar.pod |
196 | |
197 | commit 9bf2270250326fb85445d6849ed84a94434dd12c |
198 | Author: Ævar Arnfjörð Bjarmason <avar@cpan.org> |
199 | Date: Thu May 13 22:02:25 2010 +0000 |
200 | |
201 | Link to perlport/PLATFORMS from the $^O docs |
202 | |
203 | I was looking for some actual values of $^O the other day and started |
204 | ack-ing t/. Turns out that this was documented in perlport. Link to |
205 | the relevant section to make it easy to find. |
206 | |
207 | commit b5f55170e8ef2a91497f68ff0af6ff6cded9f433 |
208 | Author: Nicholas Clark <nick@ccl4.org> |
209 | Date: Sat Jun 12 21:13:14 2010 +0100 |
210 | |
211 | Fix edge case in pp_eof where the stack extent was not checked. |
212 | |
213 | Analogous to pp_getc and pp_tell in ac3697cd90b00fae, pp_eof has a conditional |
214 | POP from the stack, but an unconditional PUSH to the stack, but no check that |
215 | the stack had space for the PUSH. This bug has been present since perl 5.000. |
216 | |
217 | commit ac3697cd90b00fae88e4f19931af920bc552e2b8 |
218 | Author: Nicholas Clark <nick@ccl4.org> |
219 | Date: Sat Jun 12 20:43:37 2010 +0100 |
220 | |
221 | Fix edge cases in pp_getc and pp_tell where the stack extent was not checked. |
222 | |
223 | Both conditionally POP a GV from the stack, but always PUSH a return value to |
224 | it. For the case where they did not POP the GV, they made no check that the |
225 | stack had space for the PUSH. This bug has been present since perl 5.000. |
226 | |
227 | commit 0f7807cda10b798e3d16820699b3a52f13a8de16 |
228 | Author: Nicholas Clark <nick@ccl4.org> |
229 | Date: Sat Jun 12 19:05:51 2010 +0100 |
230 | |
231 | Better diagnostics on detecting case sensitive file name clashes. |
232 | |
233 | commit f06daabb40d6dee8a7eda2c79bd7ee3e0b6275ec |
234 | Author: Chris 'BinGOs' Williams <chris@bingosnet.co.uk> |
235 | Date: Fri Jun 11 07:59:48 2010 +0100 |
236 | |
237 | Added new files I forgot to add for the Thread-Semaphore update |
238 | |
239 | commit 04febe174c342d1018822ab2c67fb381bb88c55f |
240 | Author: Jerry D. Hedden <jdhedden@cpan.org> |
241 | Date: Fri Jun 11 07:57:34 2010 +0100 |
242 | |
243 | [PATCH-revised] Upgrade to Thread-Semaphore 2.11 |
244 | |
245 | Added new methods ->down_nb() and ->down_force() at the suggestion of |
246 | Rick Garlick. |
247 | |
248 | Refactored methods to skip argument validation when no argument is supplied. |
249 | |
250 | Signed-off-by: Chris 'BinGOs' Williams <chris@bingosnet.co.uk> |
251 | |
252 | commit b00fc8d41de1694e3f43042249a46dd72bd0163a |
253 | Author: Nicholas Clark <nick@ccl4.org> |
254 | Date: Thu Jun 10 10:01:18 2010 +0200 |
255 | |
256 | Parameters for * in *printf must be int - add a cast to ensure this. |
257 | |
258 | Fixes a (legitimate) compiler warning present since 6e1bad6cc227c8e8. |
259 | |
260 | commit c2485e0c886f5e7d6fd27b65f085b0ba231ca557 |
261 | Author: Nicholas Clark <nick@ccl4.org> |
262 | Date: Wed Jun 9 19:53:20 2010 +0100 |
263 | |
264 | Reorder CVf_* flags to be numerically contiguous again. |
265 | |
266 | The removal of CVf_ASSERTION in 584420f022db5722 and CVf_LOCKED in |
267 | e95ab0c0d2aa1b35 left two gaps in the sequence of bits in use. |
268 | |
269 | commit ede3a6167fdc98bf29305444db6ff93c33d8155d |
270 | Author: David Golden <dagolden@cpan.org> |
271 | Date: Wed Jun 9 11:47:41 2010 -0400 |
272 | |
273 | added Chas. Owens to AUTHORS |
274 | |
275 | commit 7f315d2e5ecf9c2453606c348568dc73e5e4d390 |
276 | Author: Chas. Owens <chas.owens@gmail.com> |
277 | Date: Wed Jun 9 11:43:46 2010 -0400 |
278 | |
279 | Document $# and $* as removed |
280 | |
281 | See email thread for reference: |
282 | |
283 | http://www.nntp.perl.org/group/perl.perl5.porters/2010/06/msg160812.html |
284 | |
285 | commit 1f3ebc3b353ab41acc3013ef04412dda481b4282 |
286 | Author: Abigail <abigail@abigail.be> |
287 | Date: Tue Jun 8 16:35:52 2010 +0200 |
288 | |
289 | Resolve issue #74974: document File::Copy::copy(FILE, DIR) |
290 | |
291 | commit c1bd236350b343c4ef921b81c45eabb4ecc82569 |
292 | Author: H.Merijn Brand <h.m.brand@xs4all.nl> |
293 | Date: Tue Jun 8 15:50:05 2010 +0200 |
294 | |
295 | Fix long-standing typos in Policy_sh.SH |
296 | |
297 | This patch fixes several long-standing typos and naming confusions in |
298 | Policy_sh.SH, standardizing on the variable names used in config.sh. |
299 | This will change the behavior of Policy.sh if you happen to have been |
300 | accidentally relying on the Policy.sh incorrect behavior. I'd appreciate |
301 | feedback from anyone using Policy.sh to be sure nothing is broken by |
302 | this change. Thanks to Stoned Elipot for pointing this out. |
303 | |
304 | Signed-off-by: H.Merijn Brand <h.m.brand@xs4all.nl> |
305 | |
306 | commit e6eb90205a8cd8f42cd4d1226ea369f3ff1a14ae |
307 | Author: David Mitchell <davem@iabyn.com> |
308 | Date: Tue Jun 8 00:08:19 2010 +0100 |
309 | |
310 | perlbug: always allow change of sender address |
311 | |
312 | The code that guessed a default sender address would under some |
313 | circumstances not display this guess to the user with the option to change |
314 | it. Specifically, if $Config{cf_me} eq {login id of the user running |
315 | perlbug}. |
316 | |
317 | In my case, cf_email got set at build time (Configure default) of |
318 | 'davem@pigeon.(none)', which was then silently used. Not good! |
319 | |
320 | commit 4ea8010ab3e95796683d1a69375c8df8c4bea3fb |
321 | Author: David Mitchell <davem@iabyn.com> |
322 | Date: Mon Jun 7 23:28:26 2010 +0100 |
323 | |
324 | perlbug -d,-v: fix uninit value warnings |
325 | |
326 | commit 5f3e44b689cab8bd7cec81aa6fc21c2ec5b3489f |
327 | Author: David Mitchell <davem@iabyn.com> |
328 | Date: Mon Jun 7 22:18:35 2010 +0100 |
329 | |
330 | document revert of 'local $tied' change |
331 | |
332 | commit 89adf4e8e0de17fedf78328b32920f47635850d0 |
333 | Author: David Mitchell <davem@iabyn.com> |
334 | Date: Mon Jun 7 22:11:42 2010 +0100 |
335 | |
336 | Revert "make 'local $tied' untied" |
337 | |
338 | This reverts commit 191ad7eff570fc96c93993e4358f83e2033365d6. |
339 | |
340 | Some modules (e.g. File::chdir) relied on the current behaviour of |
341 | local $tied_scalar, so lets leave things as-is for now. See |
342 | |
343 | http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2010-05/msg00627.html |
344 | |
345 | commit e1137bc782e702f287ec7909f121d66bfb4707ba |
346 | Author: Sullivan Beck <sbeck@cpan.org> |
347 | Date: Mon Jun 7 21:58:34 2010 +0100 |
348 | |
349 | PATCH: Bump Locale-Codes from 3.12 to 3.13 |
350 | |
351 | Attached is a patch to upgrade the Locale-Codes distribution (containing |
352 | the core modules Locale::Country, Locale::Language, and |
353 | Locale::Currency) to the most recent version. |
354 | |
355 | ==== |
356 | Background: |
357 | |
358 | The core modules Locale::Country, Locale::Language, and Locale::Currency |
359 | (all part of the Locale-Codes distribution) should be updated on a |
360 | regular basis. They contain "codes" from various internet standards |
361 | which change over time. |
362 | |
363 | I plan on releasing new versions twice a year to keep the codes |
364 | up-to-date. At this point, I'm not planning on any significant code |
365 | changes (other than bug fixes), so the only significant changes |
366 | between releases should be to update the codes. |
367 | |
368 | commit 16d811d41019c65e82b767b91041c1bebb9b4407 |
369 | Author: David Mitchell <davem@iabyn.com> |
370 | Date: Mon Jun 7 18:23:43 2010 +0100 |
371 | |
372 | identify a few vars in intrpvar.h |
373 | |
374 | commit f2ed9b323720c96381a3407a26ac73176799e8ee |
375 | Author: Karl Williamson <khw@khw-desktop.(none)> |
376 | Date: Sun Jun 6 08:50:24 2010 -0600 |
377 | |
378 | regexec.c: change names of two vars for clarity |
379 | |
380 | do_utf8 is changed to utf8_target |
381 | UTF is changed to UTF_PATTERN |
382 | |
383 | This will help me keep track of the fact that there are four possible |
384 | combinations of these, and that ! do_utf8 doesn't necessarily mean don't |
385 | do utf8. |
386 | |
387 | commit 60eaec425bbc5e93d5dab2c98aa44af5d0baeb52 |
388 | Author: David Golden <dagolden@cpan.org> |
389 | Date: Mon Jun 7 07:07:10 2010 -0400 |
390 | |
391 | Remove -w recommendation in perl -h |
392 | |
393 | Abigail already said it best: |
394 | |
395 | I do not think 'perl -h' is the place to give recommendations on how |
396 | code should be written. 'perl -h' gives a list and a brief explanation |
397 | of the command line switches. IMO, it should do just that, and nothing |
398 | else. |
399 | |
400 | commit 98ccfbbf7f3673c554b54933d94b68014231a32e |
401 | Author: H.Merijn Brand <h.m.brand@xs4all.nl> |
402 | Date: Mon Jun 7 12:19:32 2010 +0200 |
403 | |
404 | Spell-check fixes in ext |
405 | |
406 | commit fb78fdcd12d30a6a41c12c697ef31593f4bc5d94 |
407 | Author: H.Merijn Brand <h.m.brand@xs4all.nl> |
408 | Date: Mon Jun 7 12:17:22 2010 +0200 |
409 | |
410 | Spell-check fixes in lib |
411 | |
412 | commit 2108160ef633eaf83b7335df0336ca1f5e0e0462 |
413 | Author: H.Merijn Brand <h.m.brand@xs4all.nl> |
414 | Date: Mon Jun 7 12:17:09 2010 +0200 |
415 | |
416 | Spell check fixes in CPAN |
417 | |
418 | already fixed upstream |
419 | |
420 | commit 4984aa345cae6d92b88b5afcf09ce72cb121191a |
421 | Author: Father Chrysostomos <sprout@cpan.org> |
422 | Date: Mon Jun 7 12:07:11 2010 +0200 |
423 | |
424 | glob crashes when %File::Glob:: is empty |
425 | |
426 | In 5.6.2, a failure to find a CORE::GLOBAL::glob after loading |
427 | File::Glob would result in a fallback to external glob via pp_glob. |
428 | Now it crashes. |
429 | |
430 | The attached patch should fix this. |
431 | |
432 | commit b3fe9f3f93e825d0b858b198dad1d2da4b7b4a95 |
433 | Author: Karl Williamson <khw@khw-desktop.(none)> |
434 | Date: Wed Jun 2 12:33:56 2010 -0600 |
435 | |
436 | perlhack: Add reference to TAP for test protocol |
437 | |
438 | commit 195c30cea8a0d6f651c1a4c8bcc30506f46cbbaa |
439 | Author: Karl Williamson <khw@khw-desktop.(none)> |
440 | Date: Wed Jun 2 12:32:19 2010 -0600 |
441 | |
442 | perlhack: fix formatting issues |
443 | |
444 | Change some lines so won't overflow 80 column width; make a link. |
445 | |
446 | commit 66fd7fd0f5a20fad5e7cda931bc1dd21789dc9b2 |
447 | Author: Karl Williamson <khw@khw-desktop.(none)> |
448 | Date: Sun May 30 14:11:52 2010 -0600 |
449 | |
450 | PATCH: uniprops.t take advantage of EBCDIC test.pl |
451 | |
452 | This patch removes the partial solution to testing on EBCDIC platforms |
453 | that was in uniprops.t (generated by mktables), and replaces it with the |
454 | simple complete solution now in test.pl |
455 | |
456 | commit d02d6d97d5eefad4e164003699595f59abb06506 |
457 | Author: David Mitchell <davem@iabyn.com> |
458 | Date: Sun Jun 6 21:09:22 2010 +0100 |
459 | |
460 | reduce size of regmatch_state.u.curlyx by 2 words |
461 | |
462 | commit 6dd2be570d715119e05672f6f0266d924022b65a |
463 | Author: David Mitchell <davem@iabyn.com> |
464 | Date: Sun Jun 6 18:48:49 2010 +0100 |
465 | |
466 | micro-optimise a bit of trie code |
467 | |
468 | commit 0bf6a637d180d2ff237212513f8b816d40ead86a |
469 | Author: Nicholas Clark <nick@ccl4.org> |
470 | Date: Sun Jun 6 11:50:56 2010 +0200 |
471 | |
472 | Test the return value of push and unshift. |
473 | |
474 | commit af5c7f63b8ce18483dfeb72829f70ee387ece366 |
475 | Author: Nicholas Clark <nick@ccl4.org> |
476 | Date: Sun Jun 6 11:46:16 2010 +0200 |
477 | |
478 | Convert tiearray.t to test.pl. |
479 | |
480 | commit 4c1b470c26738a632b119c2932798183ae51b3ec |
481 | Author: Karl Williamson <khw@khw-desktop.(none)> |
482 | Date: Sat Jun 5 11:25:58 2010 -0600 |
483 | |
484 | Change regexec.c to use new foldEQ functions |
485 | |
486 | commit e6226b18246ce7d24213c41123114ac7967ed04f |
487 | Author: Karl Williamson <khw@khw-desktop.(none)> |
488 | Date: Sat Jun 5 11:12:47 2010 -0600 |
489 | |
490 | Change name of ibcmp to foldEQ |
491 | |
492 | As discussed on p5p, ibcmp has different semantics from other cmp |
493 | functions in that it is a binary instead of ternary function. It is |
494 | less confusing then to have a name that implies true/false. |
495 | |
496 | There are three functions affected: ibcmp, ibcmp_locale and ibcmp_utf8. |
497 | ibcmp is actually equivalent to foldNE, but for the same reason that things |
498 | like 'unless' and 'until' are cautioned against, I changed the functions |
499 | to foldEQ, so that the existing names, like ibcmp_utf8 are defined as |
500 | macros as being the complement of foldEQ. |
501 | |
502 | This patch also changes the one file where turning ibcmp into a macro |
503 | causes problems. It changes it to use the new name. It also documents |
504 | for the first time ibcmp, ibcmp_locale and their new names. |
505 | |
506 | commit d51c1b21fa08933083b4723794b68ac09a7a248b |
507 | Author: Karl Williamson <khw@khw-desktop.(none)> |
508 | Date: Sat Jun 5 11:08:25 2010 -0600 |
509 | |
510 | utf8.c: further doc tweaks |
511 | |
512 | commit 48ef279ea70605b40a74c3e2c4a5c4ca2cf48054 |
513 | Author: Karl Williamson <khw@khw-desktop.(none)> |
514 | Date: Fri Jun 4 12:04:45 2010 -0600 |
515 | |
516 | utf8.c: Modify doc comment; change whitespace |
517 | |
518 | This removes the comment about the function name, and converts tabs to |
519 | blanks throughout the function, as so much of it is changing already. |
520 | |
521 | It also removes trailing whitespace in other lines of the file. |
522 | |
523 | commit 8b35872c947d4c76532f1e4874411afa9125575d |
524 | Author: Karl Williamson <khw@khw-desktop.(none)> |
525 | Date: Tue May 25 11:18:42 2010 -0600 |
526 | |
527 | Revamp ibcmp_utf8 for performance and clarity |
528 | |
529 | I had a hard time understanding how this routine worked; there were no |
530 | comments. In figuring it out, I discovered it could be made more |
531 | efficient. This routine is called over and over in the innermost loops |
532 | in regex matching, so efficiency is a concern. |
533 | |
534 | Setup is done once before the main while loop so that it now has two |
535 | conditions instead of eight. The loop was rearranged slightly to be |
536 | smaller and a couple of unneeded assignments to temporaries were |
537 | removed, and recomputation of some values was avoided. Several other |
538 | small efficiency changes were made. |
539 | |
540 | Several asserts had been commented out, saying that they make tests |
541 | fail. But they no longer do, at least on my platform. There was a |
542 | reason that they were asserts to begin with, and that is they denoted an |
543 | insane or trivial condition. Apparently there have been fixes to the |
544 | other code calling this, so I re-enabled them. |
545 | |
546 | The names of several variables were changed to be less confusing; hence |
547 | f1 means the fold buffer for string 1 whereas it used to mean its goal, |
548 | which is now g1. |
549 | |
550 | The leading indent was changed from 5 to 4 blanks. I made enough |
551 | other changes that I didn't submit this as a separate commit |
552 | |
553 | commit 970ea3cb860f5a38a7f7582cc02c1b88c0bf4b0f |
554 | Author: Karl Williamson <khw@khw-desktop.(none)> |
555 | Date: Tue May 25 11:17:22 2010 -0600 |
556 | |
557 | Clarify some documentation |
558 | |
559 | commit 5ac3629776cb773f868455ce02860eafa022c003 |
560 | Author: David Mitchell <davem@iabyn.com> |
561 | Date: Sat Jun 5 13:44:04 2010 +0100 |
562 | |
563 | silence some warnings in hv.c |
564 | |
565 | Since de0a224a057997a65d38856f1981702fca5d7c18, xhv_keys and xhv_max |
566 | are the same type, so no casting needed |
567 | |
568 | commit 4a75fa1ae0acfb6204ce925df66ec1e7f85767ce |
569 | Author: David Mitchell <davem@iabyn.com> |
570 | Date: Sat Jun 5 13:12:11 2010 +0100 |
571 | |
572 | add handy note on vtable fields |
573 | |
574 | commit 1a1a5af7b042b1599e52170095e55b02673d4c53 |
575 | Author: David Mitchell <davem@iabyn.com> |
576 | Date: Sat Jun 5 12:46:09 2010 +0100 |
577 | |
578 | update Perl_magic_methcall description |
579 | |
580 | it's now a varargs function |
581 | |
582 | commit 7c75014e4b3bd5ebe368b5d6b981f310525d1389 |
583 | Author: David Mitchell <davem@iabyn.com> |
584 | Date: Fri Jun 4 23:09:21 2010 +0100 |
585 | |
586 | fix for RT #8438: $tied->() doesn't call FETCH |
587 | |
588 | pp_entersub checked for ROK *before* calling magic. If the tied scalar |
589 | already had ROK set (perhaps from a previous time), then get magic (and |
590 | hence FETCH) wasn't called. |
591 | |
592 | commit dfae30232f1b277231b0dee813acbeca0b958afd |
593 | Author: Craig A. Berry <craigberry@mac.com> |
594 | Date: Thu Jun 3 22:17:39 2010 -0500 |
595 | |
596 | Avoid overflow warning in chop.t. |
597 | |
598 | It overflows at compile time on 32-bit architectures, so the skip |
599 | isn't enough. |
600 | |
601 | commit 613a9ec2cfb133a94ef11f3e50bdfef024885d96 |
602 | Author: David Mitchell <davem@iabyn.com> |
603 | Date: Fri Jun 4 21:30:18 2010 +0100 |
604 | |
605 | fix indendation of DM_* flag definitions |
606 | |
607 | commit 6ca8229ddb2de12c1f8f877d70989420b70a8072 |
608 | Author: David Mitchell <davem@iabyn.com> |
609 | Date: Fri Jun 4 21:28:20 2010 +0100 |
610 | |
611 | express DM_[GU]ID flags in terms of components |
612 | |
613 | commit 354b0578ec63c058cd73f018f484808b22cc8631 |
614 | Author: David Mitchell <davem@iabyn.com> |
615 | Date: Fri Jun 4 21:25:07 2010 +0100 |
616 | |
617 | rename DM_ARRAY flag to DM_ARRAY_ISA |
618 | |
619 | This better represents its current role as specifically delaying magic on |
620 | @ISA as opposed to a general array magic delay mechanism. |
621 | |
622 | commit 3a19377ba2315fce9354aa3f06bafbbbab740f1b |
623 | Author: David Mitchell <davem@iabyn.com> |
624 | Date: Fri Jun 4 21:16:48 2010 +0100 |
625 | |
626 | belatedly add a test for RT #51636: |
627 | |
628 | segmentation fault with array ties |
629 | |
630 | commit 8ef242405b8c660c02e953dbc987fbc06897af10 |
631 | Author: David Mitchell <davem@iabyn.com> |
632 | Date: Fri Jun 4 21:01:43 2010 +0100 |
633 | |
634 | Revert "Re: [perl #51636] segmentation fault with array ties" |
635 | |
636 | This reverts commit 90630e3c741716305d7f1da4df5eab5c1bee42cc. |
637 | |
638 | This fix turns out to be wrong, and also made ($<,$>)=(...) fail |
639 | (RT #75212). |
640 | |
641 | The original problem was a SEGV in av_clear(). This was mis-diagnosed |
642 | as recursive PL_delaymagic issue, and the fix was to temprarily reset |
643 | PL_delaymagic to zero. This stopped the mg_set() of $> and $> being |
644 | delayed. |
645 | |
646 | The real problem was that mg_free wasn't clearing the [GSR]MG flags |
647 | after freeing xmg_magic. This was independently fixed by commit |
648 | 68f8932eb570af656553ed44c11a23f0a216a3ec. |
649 | |
650 | commit 65c7421c80585e0d12a20773935dc01f4ffa3e42 |
651 | Author: David Mitchell <davem@iabyn.com> |
652 | Date: Fri Jun 4 17:05:21 2010 +0100 |
653 | |
654 | threads::shared: veto signal despatch if locked |
655 | |
656 | This fixes RT #74868: Safe signals changes causing hangs with threads. |
657 | |
658 | The basic issue is that due to changes in where safe signals can be |
659 | despatched, (including now on leaving scope), it's possible for a |
660 | perl-level signal handler to be called while PL_sharedsv_lock is held. |
661 | If the handler does locking or manipulation of shared vars, then deadlock |
662 | can occur. |
663 | |
664 | A robust fix for this is to ensure that the signal handler isn't called |
665 | while we have the lock. This is done using the signal handler hook added |
666 | in the previous commit. |
667 | |
668 | commit 92f022bbf8c129c6f2379a382f1eaaa5c7bd9f3f |
669 | Author: David Mitchell <davem@iabyn.com> |
670 | Date: Fri Jun 4 16:18:05 2010 +0100 |
671 | |
672 | add PL_signalhook to hook into signal dispatch |
673 | |
674 | This is initially intended for threads::shared and shouldn't (yet) |
675 | be considered part of the public API. |
676 | |
677 | commit 83918a83a5dfae8071d366c33fa37b83aabecfc4 |
678 | Author: Rafael Garcia-Suarez <rgs@consttype.org> |
679 | Date: Thu Jun 3 16:11:26 2010 +0200 |
680 | |
681 | Do not advertise Math::TrulyRandom, which hasn't been updated since 1996 |
682 | |
683 | (Spotted by Giel Goudsmit) |
684 | |
685 | commit f58883a1a38c36629a8af25cd2fe9b2c5c3fcfec |
686 | Author: Craig A. Berry <craigberry@mac.com> |
687 | Date: Thu Jun 3 07:44:17 2010 -0500 |
688 | |
689 | Remove extraneous semicolon from OP_PRIVATE_ONCE. |
690 | |
691 | Thus silencing compiler noise like: |
692 | |
693 | OP_PRIVATE_ONCE(op_aassign, OPpASSIGN_COMMON, ",COMMON"); |
694 | ........................................................^ |
695 | %CC-I-EXTRASEMI, Extraneous semicolon. |
696 | at line number 846 in file D0:[craig.blead]dump.c;1 |
697 | |
698 | commit 03d5bcf83cdbcccf9aefa373ec7b6a3dc11c5142 |
699 | Author: Vincent Pit <perl@profvince.com> |
700 | Date: Thu Jun 3 12:08:14 2010 +0200 |
701 | |
702 | Deprecate find_rundefsvoffset() |
703 | |
704 | commit 483ce06a4f6c720f66285117b98747911f62226a |
705 | Author: Vincent Pit <perl@profvince.com> |
706 | Date: Thu Jun 3 11:55:20 2010 +0200 |
707 | |
708 | The UNDERBAR macro should use find_rundefsv() as well |
709 | |
710 | commit 789bd863840ef4ff6c46f7c2ee0f3f64e0b5daa6 |
711 | Author: Vincent Pit <perl@profvince.com> |
712 | Date: Thu Jun 3 11:44:15 2010 +0200 |
713 | |
714 | Make pp_reverse fetch the lexical $_ from the correct pad |
715 | |
716 | This is achieved by introducing a new find_rundefsv() function in pad.c |
717 | |
718 | This fixes [perl #75436]. |
719 | |
720 | commit 540810e8986e170e75f4b34a7ca1f1dd5b0da3c4 |
721 | Author: Abigail <abigail@abigail.be> |
722 | Date: Tue Jun 1 18:27:43 2010 +0200 |
723 | |
724 | Skip two Japhs that use the fact that split in void context splitted |
725 | to @_. This is no longer true in 5.12.0 and upwards. |
726 | |
727 | commit 321499b5be1bfbade4d0e2e11136d1d4d87a5e7f |
728 | Author: Slaven Rezic <srezic@iconmobile.com> |
729 | Date: Thu Apr 29 16:04:35 2010 +0200 |
730 | |
731 | Document IO::Socket getsockopt and setsockopt |
732 | |
733 | get/setsockopt are not explicitly documented. Note that the documented |
734 | sockopt() method is a wrapper around get/setsockopt, but does not cover |
735 | all cases because of the hardcoded level (= SOL_SOCKET). |
736 | |
737 | commit 065144c63ee2795acbc962d225b0a3f8d7967ae3 |
738 | Author: Tony Cook <tony@develop-help.com> |
739 | Date: Tue Jun 1 09:50:08 2010 +1000 |
740 | |
741 | move the fresh_perl() tests above the environment tests |
742 | |
743 | the environment tests were resetting environment variables useful for |
744 | running fresh perls, like LD_LIBRARY_PATH. |
745 | |
746 | commit 1b1ee2ef87e2dcc8a1699cc870aefd1b91c5f645 |
747 | Author: Karl Williamson <khw@khw-desktop.(none)> |
748 | Date: Sun May 30 21:54:32 2010 -0600 |
749 | |
750 | PATCH: teach diag.t new warning function names |
751 | |
752 | A number of function names that do warnings have been added, but diag.t |
753 | hasn't kept up. |
754 | |
755 | This patch changes it to look for likely function names in embed.fnc, so |
756 | it will automatically keep up in the future. There's no need to worry |
757 | about it looking for inappropriate functions, as the syntax of messages |
758 | that it looks for is so restrictive, that there won't be false |
759 | positives. Instead there are still many messages it fails to catch. |
760 | |
761 | As a result of it's falling behind several issues have crept in. I |
762 | resolved the couple I thought were clear (including one in a comment; |
763 | diag.t doesn't strip comments, but mostly it doesn't matter), and added |
764 | the others to the <DATA> section to ignore. |
765 | are |
766 | |
767 | commit 51eec7ec9cf1a154df61e6fc6c46acab7c69b296 |
768 | Author: H.Merijn Brand <h.m.brand@xs4all.nl> |
769 | Date: Mon May 31 14:35:09 2010 +0200 |
770 | |
771 | State the requirement of a C89 compliant ANSI C-compiler |
772 | |
773 | commit c1bf42f3e6ad8f1c3d821a2ae616c5703f66237c |
774 | Author: Nicholas Clark <nick@ccl4.org> |
775 | Date: Mon May 31 13:19:22 2010 +0100 |
776 | |
777 | In Perl_pad_add_name(), use sv_upgrade() directly rather than new[AH]V(). |
778 | |
779 | As newAV() and newHV() are now merely wrappers around sv_upgrade(), and the |
780 | existing SV is always brand new and of type SVt_NULL, call them on it, rather |
781 | than disposing of it as a side effect of storing a(nother new) SV. |
782 | |
783 | Also, no need to set SvPADMY() again, as it is already set. |
784 | |
785 | Resolves RT #73092. |
786 | |
787 | commit 4c050ad563ece4467b3b083d8efcf2b62ad0b9c5 |
788 | Author: Nicholas Clark <nick@ccl4.org> |
789 | Date: Mon May 31 11:47:04 2010 +0100 |
790 | |
791 | Reorder the entry for die, moving discussion of the exit code later. |
792 | |
793 | Change to start with "C<die> raises an exception." and phrase in terms of |
794 | handling exceptions, and then how uncaught exceptions result in process exit. |
795 | Do not give details of the exit code in the first paragraph. Move this to a |
796 | later paragraph, clarify that $! is often unpredictable, and stress that 255 |
797 | is the last resort exit code. |
798 | |
799 | commit 65ab9279784aa811d78b2903b57bc0e7947dec78 |
800 | Author: Tony Cook <tony@develop-help.com> |
801 | Date: Tue Mar 16 23:46:48 2010 +1100 |
802 | |
803 | handle perl extended utf8 start bytes |
804 | |
805 | perl uses UTF8_IS_START() to test if a byte is a valid start byte, |
806 | this didn't take perl's extended UTF-8 range into account. |
807 | |
808 | commit e57ed4ecd4d7de38a79a316da8d657dad656f93f |
809 | Author: Father Chrysostomos <sprout@cpan.org> |
810 | Date: Mon May 31 20:03:11 2010 +1000 |
811 | |
812 | [perl #70075] no 6; broken |
813 | |
814 | the original patch included a fix, but this problem was fixed in |
815 | faee19b5, so only apply the test. |
816 | |
817 | commit 1408fb84de0c28007d91730cde177d893e427181 |
818 | Author: Karl Williamson <khw@khw-desktop.(none)> |
819 | Date: Sun May 30 13:05:48 2010 -0600 |
820 | |
821 | PATCH: [perl #75138] "\c`" -> " " |
822 | |
823 | Attached is a patch for some of this issue. I took Nicholas' advice, |
824 | and if the result of \cX isn't a word character, the output message will |
825 | precede it with a backslash, so the message in the example would be |
826 | |
827 | "\c`" more clearly written simply as "\ " at -e line 1. |
828 | |
829 | I think that message is true. |
830 | |
831 | I also added tests. |
832 | |
833 | There is a test that guarantees that we won't ship 5.14 with things as |
834 | they are now in it. I added wording to the comments next to that test |
835 | to be sure to verify with this email thread if we should remove the |
836 | deprecation, and mentioned that in the explanatory wording in the pod. |
837 | I support removing the deprecation, but for now I'm not touching that, |
838 | to see what other issues may yet arise before 5.14. |
839 | |
e47ad259 |
840 | commit 71648f9a69cff1f8ee90adfed51c64c3c2dfeaf1 # DOCed |
91c261ec |
841 | Author: Karl Williamson <khw@khw-desktop.(none)> |
842 | Date: Thu May 27 22:24:40 2010 -0600 |
843 | |
844 | Document tricks, work-arounds for user-defined casing |
845 | |
846 | And add a .t file to verify that it works. |
847 | |
e6b9fcab |
848 | commit abd889b86d676557bdda48bf0873bd04aa95a9ff # NODOC |
91c261ec |
849 | Author: Jerry D. Hedden <jdhedden@cpan.org> |
850 | Date: Wed May 26 14:50:39 2010 -0400 |
851 | |
852 | Un-TODO a threads-shared test that now passes |
853 | |
854 | Commit bb1bc619ea68d9703fbd3fe5bc65ae000f90151f has |
855 | fixed a threads-shared TODO test in t/object.t. |
856 | |
ca9af26c |
857 | commit 9ef2b94f54586a775e4e47eebd8bbd9e08ce5fdd # NODOC |
91c261ec |
858 | Author: Karl Williamson <khw@khw-desktop.(none)> |
859 | Date: Tue May 4 21:43:56 2010 -0600 |
860 | |
861 | Add mktables option for development use |
862 | |
863 | The -output_names option was added. It will cause the generated file |
864 | tables to not have ranges, and each line will have the character name. |
865 | This makes it easier to compare what characters are in given tables, |
866 | from version to version, or to compare the differences between |
867 | properties. |
868 | |
ca9af26c |
869 | commit 28093d0e3328797fc0783f9d909d7931ba57bd59 # NODOC |
91c261ec |
870 | Author: Karl Williamson <khw@khw-desktop.(none)> |
871 | Date: Tue May 4 15:14:24 2010 -0600 |
872 | |
873 | mktables -- don't create Names table unless asked |
874 | |
875 | This speeds up mktables by not creating the Names table unless asked to, |
876 | by someone adding it to the list of tables to be output. Perl uses a |
877 | different table than this one for charnames, so the one being suppressed |
878 | isn't generally used. Previously it was created but not output. Now, |
879 | we skip the useless creation step. |
880 | |
b3d32175 |
881 | commit ec11e5f48c39adae8dd35f4d50a4b1b04eb80b97 # HALPHALP |
91c261ec |
882 | Author: Karl Williamson <khw@khw-desktop.(none)> |
883 | Date: Tue May 4 15:10:18 2010 -0600 |
884 | |
885 | Fix priority of suppressed vs. explicitly output |
886 | |
887 | It's not clear this is a real bug, but it is a surprise. If a table is |
888 | in the suppressed list, it isn't output, even if it is in the |
889 | to-be-output override list. This latter list is non-empty only if the |
890 | user has hand-edited the the program to force an output. So this patch |
891 | makes that list have priority. |
892 | |
b3d32175 |
893 | commit 9d682c834ea42d040e5ba121ea8595c2f298b64f # NODOC |
91c261ec |
894 | Author: Karl Williamson <khw@khw-desktop.(none)> |
895 | Date: Tue May 4 11:18:59 2010 -0600 |
896 | |
897 | Remove obsolete comment |
898 | |
899 | Commit: 6c4b69c35161f79a5088d6c3070cc17a0e4978b2 made this comment |
900 | obsolete; forgot to remove it then. |
901 | |
b3d32175 |
902 | commit 959ce5bf0ff22e4213e8987e43954483009d4a8e # NODOC |
91c261ec |
903 | Author: Karl Williamson <khw@khw-desktop.(none)> |
904 | Date: Tue May 4 09:13:35 2010 -0600 |
905 | |
906 | Generate simple case folding tables only if asked |
907 | |
908 | Speed up mktables by not generating the simple case folding tables |
909 | unless asked to. Previously the simple tables were generated, and then |
910 | the full tables were initialized with them, and then overwritten with |
911 | the full mappings. This is an artifact from the fact that the data |
912 | comes to us in two files, one with the simple mappings (among other |
913 | things), and another with the full mapping overrides. Now, the full |
914 | tables are initialized from the first file, and the second file |
915 | overrides the full mappings. The simple tables are not generated by |
916 | default, so this saves, copying them. |
917 | |
b3d32175 |
918 | commit 6c68572bb711304d008bc1439d541dd69fcde4e0 # NODOC |
91c261ec |
919 | Author: Karl Williamson <khw@khw-desktop.(none)> |
920 | Date: Sun May 30 16:49:28 2010 +0200 |
921 | |
922 | Add comment about objaddr in mktables |
923 | |
924 | Slightly modified to include the commit id by Steffen. |
925 | |
b3d32175 |
926 | commit f998e60c2aa1b9879e2c7c365acd05c0799ae46a # NODOC |
91c261ec |
927 | Author: Karl Williamson <khw@khw-desktop.(none)> |
928 | Date: Mon May 3 10:06:30 2010 -0600 |
929 | |
930 | Use in-line 'no overloading' for speed |
931 | |
932 | An earlier performance enhancement was to change the subroutine that |
933 | gets the address of a ref to using 'no overloading' and then numifying |
934 | the ref, which returns its address. This patch speeds things up |
935 | slightly by in-lining the "no overloading" so that the function call |
936 | overhead is avoided. |
937 | |
938 | It also gets rid of the kludge that was done before the original |
939 | speed-up that created a local in the call stack of one of the classes so |
940 | that the address would only have to be executed once per call stack; |
941 | This was subject to failure if maintenance of the code perturbed things |
942 | so it didn't work; now the overhead is minimal, so the address is gotten |
943 | in each call. |
944 | |
d4451e15 |
945 | commit 4a68bf9d410f9046c46490523fe5d75c93632a5d # NODOC |
91c261ec |
946 | Author: Karl Williamson <khw@khw-desktop.(none)> |
947 | Date: Sun May 16 06:56:01 2010 -0600 |
948 | |
949 | Don't require doubled backslashes in perldiag.pod |
950 | |
951 | Prior to this patch, messages in perldiag.pod had to have \\ instead of |
952 | the correct single backslash in order for diag.t to not complain. |
953 | |
d4451e15 |
954 | commit b081dd7eaaec2b6ee43335645ab40cff0ca3f91a # NODOC |
91c261ec |
955 | Author: Nicholas Clark <nick@ccl4.org> |
956 | Date: Sun May 30 12:52:01 2010 +0100 |
957 | |
958 | Eliminate some newSV(0)s by merging the SV allocation with first modification. |
959 | |
86b722f7 |
960 | commit 77bac227771c643a8a6e305b2bac4665a8f772d1 # DOCed |
91c261ec |
961 | Author: Nicholas Clark <nick@ccl4.org> |
962 | Date: Sun May 30 11:51:15 2010 +0100 |
963 | |
964 | Only allocate entries for @_ when the subroutine is first called. |
965 | |
966 | Previously, @_ was allocated for every subroutine at compile time, with a |
967 | default sized AV, hence space for 4 entries. We don't actually need to |
968 | allocate the space for entries, as there is already a check at call time as to |
969 | whether @_ is long enough. |
970 | |
971 | valgrind suggests that this saves allocating 23K (on a 64 bit platform) when |
972 | running pod2man on perlfunc.pod. As well as the absolute saving, there is also |
973 | benefit in deferring allocation for subroutines actually called - for a program |
974 | which forks, @_ is less likely to be in pages shared COW with the parent. |
975 | |
976 | Resolves RT #72416. |
977 | |
bb97bb8f |
978 | commit c85ae797ecb755d3bcfabd44aa268e3e6e2e7c13 # NODOC |
91c261ec |
979 | Author: Nicholas Clark <nick@ccl4.org> |
980 | Date: Sat May 29 22:22:36 2010 +0100 |
981 | |
982 | Fix the regexp in t/porting/args_assert.t, and add 3 missing macros. |
983 | |
984 | Resolves RT #72800. |
985 | |
bb97bb8f |
986 | commit af534a0431cd837092de9abe4bff29feeeafebb3 # NODOC |
91c261ec |
987 | Author: Nicholas Clark <nick@ccl4.org> |
988 | Date: Sat May 29 22:07:04 2010 +0100 |
989 | |
990 | Properly free paren_name_list with its regexp. |
991 | |
992 | Previously the AV paren_name_list would "leak" until global destruction. |
993 | This was only an issue under -DDEBUGGING. Fixes RT #73438. |
994 | |
bb97bb8f |
995 | commit 1c8f8eb1d500716bc7368dab00869ae3be841e0c # NODOC |
91c261ec |
996 | Author: Karl Williamson <khw@khw-desktop.(none)> |
997 | Date: Thu Jan 14 21:21:37 2010 -0700 |
998 | |
999 | Clarify that count is bytes not unicode characters |
1000 | |
bb97bb8f |
1001 | commit c2dc4c7d5e51c6211637044820c7a560da7e6268 # NODOC |
91c261ec |
1002 | Author: Karl Williamson <khw@khw-desktop.(none)> |
1003 | Date: Thu Jan 14 19:19:22 2010 -0700 |
1004 | |
1005 | Display characters as Unicode for clarity |
1006 | |
bb97bb8f |
1007 | commit 35db910f236b637e47a514ee62ca3e5a98169ddd # NODOC |
91c261ec |
1008 | Author: Karl Williamson <khw@khw-desktop.(none)> |
1009 | Date: Thu Jan 14 17:36:46 2010 -0700 |
1010 | |
1011 | Add tested for corrupted regnode |
1012 | |
bb97bb8f |
1013 | commit 525aa6214fa98872c8e7604a6b63bd6c7914f3a4 # NODOC |
91c261ec |
1014 | Author: Karl Williamson <khw@khw-desktop.(none)> |
1015 | Date: Thu Jan 14 16:02:14 2010 -0700 |
1016 | |
1017 | Use sizeof instead of hard-coded array size |
1018 | |
1019 | The array should be declared with its actual size. |
1020 | |
50220c3d |
1021 | commit 22c985d500f518cdb601db921ea5b3edaa6c4ae6 # NODOC |
91c261ec |
1022 | Author: Karl Williamson <khw@khw-desktop.(none)> |
1023 | Date: Thu Jan 14 16:01:13 2010 -0700 |
1024 | |
1025 | Typo |
1026 | |
a6e352d6 |
1027 | commit 4c0f30d62c000e3bbbd4f45eb9fd4bd4b4015cf9 # DOCed |
91c261ec |
1028 | Author: Nicholas Clark <nick@ccl4.org> |
1029 | Date: Sat May 29 16:23:53 2010 +0100 |
1030 | |
1031 | When assigning to $^P, don't zero $DB::single, $DB::trace and $DB::signal. |
1032 | |
1033 | Previously, whenever a true value was assigned to $^P, all 3 were set to 0. |
1034 | Now only set them to 0 if they aren't already SvIOK(). |
1035 | |
1036 | Resolves RT #72422. |
1037 | |
216cbae1 |
1038 | commit 261c990ef860580c9092985d3f4629073a671b2f # NODOC |
91c261ec |
1039 | Author: Nicholas Clark <nick@ccl4.org> |
1040 | Date: Fri May 28 16:02:12 2010 +0100 |
1041 | |
1042 | Migrate most other op_private to name conversion into S_op_private_to_names(). |
1043 | |
216cbae1 |
1044 | commit 1fe3abee1ef8693b6241cf4cb1670e7e5e2d4a51 # NODOC |
91c261ec |
1045 | Author: Nicholas Clark <nick@ccl4.org> |
1046 | Date: Fri May 28 14:33:34 2010 +0100 |
1047 | |
1048 | In Perl_do_op_dump(), move calls to append_flags() into S_op_private_to_names() |
1049 | |
216cbae1 |
1050 | commit cd431fdedf8dec69c65efa7edc1d60005800919a # NODOC |
91c261ec |
1051 | Author: Nicholas Clark <nick@ccl4.org> |
1052 | Date: Fri May 28 14:53:04 2010 +0100 |
1053 | |
1054 | Add C_ARRAY_END(), returning a pointer to after the last element of an array. |
1055 | |
1056 | Refactor the macro append_flags() in dump.c to use it. |
1057 | |
216cbae1 |
1058 | commit 5c135d48c0468f552840e5ac9811f70aebcac766 # NODOC |
91c261ec |
1059 | Author: Nicholas Clark <nick@ccl4.org> |
1060 | Date: Fri May 28 13:53:02 2010 +0100 |
1061 | |
1062 | In Perl_do_op_dump(), reorder the ops within the if (o->op_private) clause. |
1063 | |
216cbae1 |
1064 | commit ae1f06a125e806e4a0c111878fb9da530a3df3c6 # NODOC |
91c261ec |
1065 | Author: Nicholas Clark <nick@ccl4.org> |
1066 | Date: Fri May 28 13:43:43 2010 +0100 |
1067 | |
1068 | In Perl_do_sv_dump(), use append_flags() for PVCV, PVFM and PVGP flags. |
1069 | |
216cbae1 |
1070 | commit 16cf2f8dc20a01967bab359ae99891d1259c6812 # NODOC |
91c261ec |
1071 | Author: Nicholas Clark <nick@ccl4.org> |
1072 | Date: Fri May 28 11:50:54 2010 +0100 |
1073 | |
1074 | In Perl_do_sv_dump(), for PVCV and PVFM, test for SvCOMPILED(sv) last. |
1075 | |
216cbae1 |
1076 | commit ea9ad1f28e506daa41693d2ef7ab39b8182101b1 # NODOC |
91c261ec |
1077 | Author: Nicholas Clark <nick@ccl4.org> |
1078 | Date: Fri May 28 11:26:16 2010 +0100 |
1079 | |
1080 | In Perl_do_op_dump(), move runs of op_private name tests to S_append_flags(). |
1081 | |
216cbae1 |
1082 | commit a0c2f4dde00175193ad56350e2a8982e360c6726 # NODOC |
91c261ec |
1083 | Author: Nicholas Clark <nick@ccl4.org> |
1084 | Date: Fri May 28 10:56:21 2010 +0100 |
1085 | |
1086 | Create S_append_flags() from a common code pattern in dump.c. |
1087 | |
1088 | Convert repetitive sequences of "if this bit is set, append that string" into |
1089 | structures and a function call. Use a custom macro append_flags() to make |
1090 | calling it easer. |
1091 | |
1092 | This makes the object code slightly smaller. |
1093 | |
216cbae1 |
1094 | commit eff5b9d539e47421a784cb6a5fa9366c6522a4eb # NODOC |
91c261ec |
1095 | Author: Nicholas Clark <nick@ccl4.org> |
1096 | Date: Tue Jan 5 13:06:52 2010 +0000 |
1097 | |
1098 | InPerl_boot_core_UNIVERSAL() use a data structure for calls to newXS{,proto} |
1099 | |
1100 | Replacing the longhand list of calls to newXS{,proto} with loop over a data |
1101 | structure reduces the object size by over 1K. |
1102 | |
d60f0907 |
1103 | commit dc1f0c2041dab5a98af69338d1fa501b5e90ac70 # HALPHALP |
91c261ec |
1104 | Author: Salvador Ortiz Garcia <sog@msg.com.mx> |
1105 | Date: Fri May 28 10:25:52 2010 +0200 |
1106 | |
1107 | Naif calls segfault T_PRTOBJ of the stock typemap |
1108 | |
1109 | The T_PTROBJ INPUT in stock typemap only uses 'sv_derived_from' for |
1110 | input validation, that cause a segfault when the argument passed match |
1111 | the class name. |
1112 | |
05300b4b |
1113 | commit 02927be17db68ef768a4a953e754b78a4350b226 # NODOC (verify needed) |
91c261ec |
1114 | Author: Nicholas Clark <nick@ccl4.org> |
1115 | Date: Fri May 28 07:58:19 2010 +0100 |
1116 | |
1117 | Add simple_bitmask and varies_bitmask to globvar.sym. |
1118 | |
1119 | global.sym is generated; is there a way to automate globvar.sym? |
1120 | |
05300b4b |
1121 | commit ded4dd2add376b302c561318612805c584ef9e6a # NODOC |
91c261ec |
1122 | Author: Nicholas Clark <nick@ccl4.org> |
1123 | Date: Wed Mar 17 17:16:24 2010 +0000 |
1124 | |
1125 | Convert REGNODE_{SIMPLE,VARIES} to a bitmask lookup, from a strchr() lookup. |
1126 | |
1127 | This is O(1) with no branching, instead of O(n) with branching. |
1128 | Deprecate the old implementation's externally visible variables |
1129 | PL_simple and PL_varies. Google codesearch suggests that nothing outside the |
1130 | core regexp code was using these. |
1131 | |
05300b4b |
1132 | commit 93882df08ca38a02b0381419b29fff019ec87ef7 # NODOC |
91c261ec |
1133 | Author: Nicholas Clark <nick@ccl4.org> |
1134 | Date: Wed Mar 17 16:41:27 2010 +0000 |
1135 | |
1136 | Change regcomp.pl to 0-based indexing for its arrays and loops. |
1137 | |
05300b4b |
1138 | commit e52fc5395a9d11f134b6e4ecacde7782d1af6b26 # NBODOC |
91c261ec |
1139 | Author: Nicholas Clark <nick@ccl4.org> |
1140 | Date: Wed Mar 17 13:58:25 2010 +0000 |
1141 | |
1142 | Encapsulate lookups in PL_{varies,simple} within macros REGNODE_{VARIES,SIMPLE} |
1143 | |
1144 | This allows the implementation of the lookup mechanism to change. |
1145 | |
05300b4b |
1146 | commit f9ef50a71935a8e93b4030c12dcd1206ccab71ab # NODOC |
91c261ec |
1147 | Author: Nicholas Clark <nick@ccl4.org> |
1148 | Date: Wed Mar 17 13:33:48 2010 +0000 |
1149 | |
1150 | Generate PL_simple[] and PL_varies[] with regcomp.pl, rather than hard-coding. |
1151 | |
1152 | Add a new flags column to regcomp.sym, with V if the node type is in PL_varies, |
1153 | S if it is in PL_simple, and . if a placeholder is needed because subsequent |
1154 | optional columns are present. |
1155 | |
05300b4b |
1156 | commit f8abb37e5b952f76a9e019137369e3f8ef5a58ae # NODOC |
91c261ec |
1157 | Author: Nicholas Clark <nick@ccl4.org> |
1158 | Date: Tue Mar 16 10:22:04 2010 +0000 |
1159 | |
1160 | Re-work the regcomp.sym to remove use of hard tabs. No data change. |
1161 | |
1162 | The tab separating name and type is replaced with whitespace, the tab marking |
1163 | the start of the description is replaced by a semicolon. |
1164 | |
05300b4b |
1165 | commit 5014f7dab1e8d50a8f9ba9b88aa6446cfc8189ab # NODOC |
91c261ec |
1166 | Author: Nicholas Clark <nick@ccl4.org> |
1167 | Date: Tue Mar 16 09:50:29 2010 +0000 |
1168 | |
1169 | Correct the node numbers in comments. |
1170 | |
1171 | Really, should we be maintaining these manually? |
1172 | |
05300b4b |
1173 | commit 20832bc55b5c8a1f61c1270e40b964ff1488847d # NODOC |
91c261ec |
1174 | Author: Nicholas Clark <nick@ccl4.org> |
1175 | Date: Tue Mar 16 09:48:35 2010 +0000 |
1176 | |
1177 | Remove stray tab character in definition for VERB. |
1178 | |
1179 | As VERB is "Used only for the type field of verbs" this is only a cosmetic |
1180 | change, causing that correct description to appear in the comment in |
1181 | regnodes.h. The change to regarglen doesn't affect anything, as the VERB type |
1182 | is never actually used for compiled nodes. |
1183 | |
c5075608 |
1184 | commit 1404b48744cfa915e3f54775feb4e9b6c10f3b91 # NODOC |
91c261ec |
1185 | Author: George Greer <perl@greerga.m-l.org> |
1186 | Date: Wed May 26 21:12:37 2010 -0400 |
1187 | |
1188 | Fix clang "incompatible operand types" error in ternary expressions. |
1189 | |
d4a8a3ce |
1190 | commit a6f87d8c282ba94b0308898be052d1ac956d0ea9 # HALPHALP |
91c261ec |
1191 | Author: Karl Williamson <khw@khw-desktop.(none)> |
1192 | Date: Fri May 14 08:56:46 2010 -0600 |
1193 | |
1194 | PATCH: user defined special casing for non utf8 |
1195 | |
1196 | Users can define their own case changing mappings to replace the |
1197 | standard ones. Prior to this patch, any mappings on characters whose |
1198 | ordinals are 0-222, 224-255 that resulted in multiple characters were |
1199 | ignored. |
1200 | |
1201 | Note that there still is a deficiency in that the mappings will be |
1202 | applied only to strings in utf8 format. |
1203 | |
e33229c4 |
1204 | commit 8a38a8369536df0f4eac69e5a26e9b86f9123d1d # NODOC |
91c261ec |
1205 | Author: Karl Williamson <khw@khw-desktop.(none)> |
1206 | Date: Mon May 24 11:01:10 2010 -0600 |
1207 | |
1208 | Change a few tests to use new test.pl EBCDIC stuff |
1209 | |
1210 | A few .t's are delivered here which use the new conversion functions in |
1211 | test.pl. Obviously, this commit doesn't have to be incorporated, but it |
1212 | does simplify those tests. |
1213 | |
72bc2074 |
1214 | commit f69d9fdf3f3cf041b8398a5d897daef24f0e5fa0 # NODOC |
91c261ec |
1215 | Author: Karl Williamson <khw@khw-desktop.(none)> |
1216 | Date: Mon May 24 10:50:13 2010 -0600 |
1217 | |
1218 | Add functions to test.pl for easier EBCDIC testing |
1219 | |
1220 | This patch adds functions native_to_latin1($) and latin1_to_native($) to |
1221 | test.pl. Use of these in test scripts allows for less special case code |
1222 | (or deciding to blow it off and just skip EBCDIC platforms). If a |
1223 | string is all ASCII, one has always been able to just use it and not |
1224 | worry about EBCDIC. But non-ASCII, latin1 characters have been a |
1225 | different matter. This allows one to wrap those characters in a |
1226 | function call and get automatic EBCDIC compatibility. |
1227 | |
1228 | The functions do not handle UTF-8/UTF-EBCDIC conversions. This is more |
1229 | complicated, and I was worried that that part was not appropriate for |
1230 | test.pl which should use the bare minimum of Perl functionality. These |
1231 | functions use tr///, beyond what other parts of test.pl use. |
1232 | |
69c0769c |
1233 | commit 04518cc3f43b495f85caf2ec89c8b06540a60f8c # ALREADY |
91c261ec |
1234 | Author: Nicholas Clark <nick@ccl4.org> |
1235 | Date: Tue May 25 17:23:10 2010 +0100 |
1236 | |
1237 | Fix CLONE/weakref bug revealed by adf8f095c5881bce. |
1238 | |
1239 | The AV unreferenced in the clone_params needs to be reference counted, rather |
1240 | than not referenced counted, because the fixup to ensure that all otherwise |
1241 | 0-reference count scalars have a reference (on the temps stack) happens after |
1242 | CLONE is run, and CLONE can run Perl code that causes their reference counts |
1243 | to increase from then return to zero, which prematurely triggers sv_free(). |
1244 | |
85f6e172 |
1245 | commit a77cd7b8173d6381e0eb4d3296627023900d0cb4 # NODOC |
91c261ec |
1246 | Author: H.Merijn Brand <h.m.brand@xs4all.nl> |
1247 | Date: Tue May 25 18:26:37 2010 +0200 |
1248 | |
1249 | Update rsync sources in perlhack |
1250 | |
d5c47a3d |
1251 | commit 775f1d61966fb2c5300c9c08fa931980430ed0da # NODOC |
91c261ec |
1252 | Author: Shlomi Fish <shlomif@iglu.org.il> |
1253 | Date: Mon May 24 23:40:48 2010 +0300 |
1254 | |
1255 | Add the perl equivalent for av_make. |
1256 | |
1257 | Signed-off-by: David Golden <dagolden@cpan.org> |
1258 | |
d5c47a3d |
1259 | commit a8676f70bbd19ba630d2e76288f31b4a2d7a63f1 # NODOC |
91c261ec |
1260 | Author: Shlomi Fish <shlomif@iglu.org.il> |
1261 | Date: Wed May 19 20:11:03 2010 +0300 |
1262 | |
1263 | Add the Perl equivalent for av_len. |
1264 | |
1265 | Signed-off-by: David Golden <dagolden@cpan.org> |
1266 | |
d5c47a3d |
1267 | commit 1a3362a5d4e9f2d3548e2937ecf5a9a8a1ac7898 # NODOC |
91c261ec |
1268 | Author: Shlomi Fish <shlomif@iglu.org.il> |
1269 | Date: Wed May 19 17:46:43 2010 +0300 |
1270 | |
1271 | Add a missing comma in the av_fill() docs. |
1272 | |
1273 | Minor, but still good enough for a commit. |
1274 | |
1275 | Signed-off-by: David Golden <dagolden@cpan.org> |
1276 | |
d5c47a3d |
1277 | commit 1a32886282d60539000205670909069b85d9eedd # NODOC |
91c261ec |
1278 | Author: Shlomi Fish <shlomif@iglu.org.il> |
1279 | Date: Tue May 18 17:42:52 2010 +0300 |
1280 | |
1281 | Clarify the av_fetch() documentation. |
1282 | |
1283 | Thanks to LeoNerd and Zefram on #p5p on IRC for some insights and |
1284 | suggesting versions for the modified text. I ended up using Zefram's |
1285 | version. |
1286 | |
1287 | Signed-off-by: David Golden <dagolden@cpan.org> |
1288 | |
d5c47a3d |
1289 | commit b7ff7ff211d0d5fc593efe5c9d305d197ecb8d86 # NODOC |
91c261ec |
1290 | Author: Shlomi Fish <shlomif@iglu.org.il> |
1291 | Date: Tue May 18 15:31:41 2010 +0300 |
1292 | |
1293 | Add Perl equivalent for av_exists(). |
1294 | |
1295 | This mentions that it's equivalent to exists($myarray[$key]). |
1296 | |
1297 | Signed-off-by: David Golden <dagolden@cpan.org> |
1298 | |
d5c47a3d |
1299 | commit 71282cab69578876db765e8d8aadb9cc2331ebf2 # NODOC |
91c261ec |
1300 | Author: Shlomi Fish <shlomif@iglu.org.il> |
1301 | Date: Sat May 15 22:13:59 2010 +0300 |
1302 | |
1303 | Add a Perl equivalent to av_delete(). |
1304 | |
1305 | Signed-off-by: David Golden <dagolden@cpan.org> |
1306 | |
d5c47a3d |
1307 | commit 31bde0acd044dc2a6e4ccd40fa4660a6009fcb9d # NODOC |
91c261ec |
1308 | Author: Shlomi Fish <shlomif@iglu.org.il> |
1309 | Date: Sat May 15 21:44:58 2010 +0300 |
1310 | |
1311 | Add the Perl equivalent example to av_clear. |
1312 | |
1313 | Signed-off-by: David Golden <dagolden@cpan.org> |
1314 | |
d5c47a3d |
1315 | commit 683d9ad15a8b09b17249f2efd39d10a9a251cd95 # NODOC |
91c261ec |
1316 | Author: Shlomi Fish <shlomif@iglu.org.il> |
1317 | Date: Sat May 15 21:37:46 2010 +0300 |
1318 | |
1319 | Link from GIMME_V to perlcall for a usage example. |
1320 | |
1321 | Added a link from the GIMME_V entry to perlcall for a usage example. |
1322 | |
1323 | Signed-off-by: David Golden <dagolden@cpan.org> |
1324 | |
9c4e2ac7 |
1325 | commit d5cd9e7bba185db6dc6b1e6fa215978a38ae9ea8 # NODOC |
91c261ec |
1326 | Author: Karl Williamson <khw@khw-desktop.(none)> |
1327 | Date: Mon May 24 08:08:51 2010 -0600 |
1328 | |
1329 | PATCH: correct misstatement, formats in perlunicode |
1330 | |
1331 | This is suitable for 5.12.2, but not many people use this feature. |
1332 | |
ce3fe28d |
1333 | commit 24e28fd799c14b3895ad81b7f27a6a547ac2dd44 # ALREADY |
91c261ec |
1334 | Author: Nicholas Clark <nick@ccl4.org> |
1335 | Date: Tue May 25 16:30:43 2010 +0100 |
1336 | |
1337 | Fix for typo in 0824d66743a706cd, in the expected output with threads. |
1338 | |
ce3fe28d |
1339 | commit 0824d66743a706cd268ace8fc9df03d7374c6886 # ALREADY |
91c261ec |
1340 | Author: David Mitchell <davem@iabyn.com> |
1341 | Date: Tue May 25 11:38:35 2010 +0100 |
1342 | |
1343 | add OPpDEREFed flag to avoid double mg_get() |
1344 | |
1345 | The previous commit made various ops such as rv2av unconditionally do |
1346 | an SvGETMAGIC(). Under some circumstances this could cause a double |
1347 | mg_get() (and hence double FETCH etc). In particular, when the |
1348 | proceeding op was something like aelem with OPpDEREF, the aelem would |
1349 | call vivify_ref(), which would call magic. So in peep(), mark |
1350 | OP_RV2[SAH]V ops with the new OPpDEREFed flag if the preceding op was |
1351 | OPpDEREF. Then use this flag to avoid a second dose of magic. |
1352 | |
1353 | Note that RV2GV probably needs this flag too, but there weren't any |
1354 | spare private flag bits left for that op (I think). |
1355 | |
ce3fe28d |
1356 | commit bb1bc619ea68d9703fbd3fe5bc65ae000f90151f # ALREADY |
91c261ec |
1357 | Author: Father Chrysostomos (via RT) <perlbug-followup@perl.org> |
1358 | Date: Sun Jan 17 14:32:24 2010 -0800 |
1359 | |
1360 | Deref ops ignore get-magic when SvROK(sv) |
1361 | |
1362 | This is just like bug 68192, except in this case it’s a different set |
1363 | of operators that have had this problem for much longer. |
1364 | |
ce3fe28d |
1365 | commit 6a5f8cbd14b4a44b35830907e944f1af0caeea90 # ALREADY |
91c261ec |
1366 | Author: Father Chrysostomos <sprout@cpan.org> |
1367 | Date: Mon May 24 11:56:25 2010 +0100 |
1368 | |
1369 | Just the tests from a proposed fix for 68192 |
1370 | |
1371 | The bug was fixed in a different way by davem, but the tests |
1372 | are needed as the base for a commit to follow |
1373 | |
6f9cbd70 |
1374 | commit 5f26d5fd39994d2ecb568aeb7efdba685fe9a350 # DOCed |
91c261ec |
1375 | Author: Karl Williamson <khw@khw-desktop.(none)> |
1376 | Date: Tue May 18 08:43:31 2010 -0600 |
1377 | |
1378 | Replace wrong tr/// table in perlebcdic.pod |
1379 | |
1380 | perlebcdic.pod contains a helpful table to use in tr/// to convert |
1381 | between EBCDIC and Latin1/ASCII. Unfortunately, the table is the |
1382 | inverse of the one it describes, as I discovered in following the |
1383 | directions on how it was extracted. |
1384 | |
1385 | The actual code that uses the table uses it in the inverse way, so it |
1386 | actually works correctly, but if you follow the instructions to get the |
1387 | tables corresponding to the other recognized code pages, you will get |
1388 | the inverse of the ones you wanted, and things won't work out. |
1389 | |
1390 | This patch changes the table to its inverse, and changes the sample code |
1391 | to correspond, as this is easier for the person trying to follow the |
1392 | instructions since deriving the old table is somewhat more complicated. |
1393 | |
1394 | I also changed the table to hex from octal, as that is more the norm |
1395 | these days, and I changed to recipes in the pod to print out leading |
1396 | zeros to make all the values the same length, as the table that they can |
1397 | generate has them. |
1398 | |
2f4f4fc9 |
1399 | commit 8590c068107627f63321a9736653a498cadf3a27 # NODOC |
91c261ec |
1400 | Author: Karl Williamson <khw@khw-desktop.(none)> |
1401 | Date: Tue May 18 10:02:26 2010 -0600 |
1402 | |
1403 | Remove unused, wrong #define in utf8.h |
1404 | |
1405 | is unused in the code, and is wrong for EBCDIC platforms, as there can |
1406 | be invariants there that aren't ASCII. I simply removed it. |
1407 | |
9a382194 |
1408 | commit 5df417d0a2691b4e62ac4c2403e6cf71612289f6 # NODOC |
91c261ec |
1409 | Author: Jerry D. Hedden <jdhedden@cpan.org> |
1410 | Date: Fri May 7 12:14:05 2010 -0400 |
1411 | |
1412 | Fix build warnings introduced by v5.13.0-139-ge0fa7e2 |
1413 | |
07601a2e |
1414 | commit 7c425e3cac4112a3489a559bbfc18e717d87d070 # NODOC |
91c261ec |
1415 | Author: Nicholas Clark <nick@ccl4.org> |
1416 | Date: Mon May 24 21:01:29 2010 +0100 |
1417 | |
1418 | Add Perl_clone_params_{del,new} and Perl_sv_dup to the "no threads" exclusions. |
1419 | |
ef4ed187 |
1420 | commit adf8f095c5881bcedf07b8e41072f8125e00b5a6 # NODOC |
91c261ec |
1421 | Author: Nicholas Clark <nick@ccl4.org> |
1422 | Date: Fri Feb 26 09:18:44 2010 +0000 |
1423 | |
1424 | Set PADSTALE on all lexicals at the end of sub creation. |
1425 | |
1426 | The PADSTALEness of lexicals between the 0th and 1st call to a subroutine is now |
1427 | consistent with the state between the nth and (n + 1)th call. |
1428 | |
1429 | This permits a work around in Perl_padlist_dup() to avoid leaking active pad |
1430 | data into a new thread, whilst still correctly bodging the external references |
1431 | needed by the current ?{} implementation. Fix that, and this can be removed. |
1432 | |
674803eb |
1433 | commit 05d04d9c74ee968bace5e063c9ded74f94b3df24 # DOCed |
91c261ec |
1434 | Author: Nicholas Clark <nick@ccl4.org> |
1435 | Date: Thu Feb 25 21:35:39 2010 +0000 |
1436 | |
1437 | Don't clone the contents of lexicals in pads. |
1438 | |
1439 | This stops the values of lexicals in active stack frames in the parent leaking |
1440 | into the lexicals in the child thread. |
1441 | |
1442 | With an exception for lexicals with a reference count of > 1, to cope with the |
1443 | implementation of ?{{ ... }} blocks in regexps. :-( |
1444 | |
960deebc |
1445 | commit 4cee4ca8b28e9dadc530df8ce100439bc4a78e73 # NODOC |
91c261ec |
1446 | Author: Nicholas Clark <nick@ccl4.org> |
1447 | Date: Thu Feb 25 16:56:53 2010 +0000 |
1448 | |
1449 | In Perl_pad_tidy(), merge the SvPADTMP_on() loops for padtidy_SUB and _FORMAT. |
1450 | |
173e4c4c |
1451 | commit 6de654a5795b6f7915432ff16bcdac0688492a9b # DOCed |
91c261ec |
1452 | Author: Nicholas Clark <nick@ccl4.org> |
1453 | Date: Thu Feb 25 14:21:18 2010 +0000 |
1454 | |
1455 | In Perl_padlist_dup() don't duplicate @_ or pads caused by recursion. |
1456 | |
1457 | CvDEPTH() is 0 in a new thread, so duplicating pads beyond the always-present |
1458 | first level is a waste of effort and memory. |
1459 | |
d383dd92 |
1460 | commit d5b1589c09b534ccfeb2eae26b3de9339c1bf22b # NODOC |
91c261ec |
1461 | Author: Nicholas Clark <nick@ccl4.org> |
1462 | Date: Wed Feb 10 09:57:23 2010 +0000 |
1463 | |
1464 | Convert PAD_DUP to a function Perl_padlist_dup(). |
1465 | |
1466 | assert() that pads are never AvREAL(). |
1467 | |
25e6a476 |
1468 | commit e42956688f2e0df936f1a42811962946e4e185bf # DOC (verify needed) |
91c261ec |
1469 | Author: Nicholas Clark <nick@ccl4.org> |
1470 | Date: Thu Feb 25 11:12:03 2010 +0000 |
1471 | |
1472 | When deleting CLONE_PARAMS, push any unreferenced SVs onto the temps stack. |
1473 | |
1474 | Effectively this leaves the cloned-into interpreter in a consistent state. |
1475 | In the cloned-from interpreter, the SV targets of non-reference owning pointers |
1476 | *are* referenced and managed by other pointers. SvREFCNT() == 0 SVs in the |
1477 | cloned-into interpreter result from the non-reference owning pointers being |
1478 | found and followed, but the reference owning and managing pointers not being |
1479 | part of the subsection of interpreter state cloned over. Hence, this change |
1480 | creates reference owning pointers to this SVs on the temps stack, which ensures |
1481 | that they are correctly cleaned up, and don't "leak" until interpreter |
1482 | destruction. (Which might be some time away, in a persistent process.) |
1483 | |
25e6a476 |
1484 | commit d08d57ef17162c52e2024a3ba6755f778acbc697 # NODOC |
91c261ec |
1485 | Author: Nicholas Clark <nick@ccl4.org> |
1486 | Date: Wed Feb 24 17:15:41 2010 +0000 |
1487 | |
1488 | Better ithreads cloning - add all SVs with a 0 refcnt to the temps stack. |
1489 | |
1490 | Track all SVs created by sv_dup() that have a 0 reference count. If they still |
1491 | have a 0 reference count at the end of cloning, assign a reference to each to |
1492 | the temps stack. As the temps stack is cleared at thread exit, SVs book keeping |
1493 | will be correct and consistent before perl_destruct() makes its check for |
1494 | leaked scalars. |
1495 | |
1496 | Remove special case code for checking each @_ and the parent's temp stack. |
1497 | |
32b57737 |
1498 | commit 1db366cc74404c47243e1d86efa59c6559db818e # NODOC |
91c261ec |
1499 | Author: Nicholas Clark <nick@ccl4.org> |
1500 | Date: Mon May 24 15:48:06 2010 +0100 |
1501 | |
1502 | Cleaner implementations for Perl_clone_params_{new,del} |
1503 | |
1504 | Not source or binary compatible with maint-5.12. |
1505 | |
d2d72832 |
1506 | commit f7abe70be985cb9179c2e728a593cb8a5c8e049d # NODOC (verify) |
91c261ec |
1507 | Author: Nicholas Clark <nick@ccl4.org> |
1508 | Date: Wed Feb 24 11:47:08 2010 +0000 |
1509 | |
1510 | Abstract *correct* initialisation of CLONE_PARAMS into Perl_clone_params_new(). |
1511 | |
1512 | As it allocates memory dynamically, add Perl_clone_params_del(). This will |
1513 | allow CLONE_PARAMS to be expand in future in a source and binary compatible |
1514 | fashion. |
1515 | |
1516 | These implementations of Perl_clone_params_new()/Perl_clone_params_del() jump |
1517 | through hoops to remain source and binary compatible, in particular, by not |
1518 | assuming that the structure member is present and correctly initialised. Hence |
1519 | they should be suitable for inclusion into Devel::PPPort. |
1520 | |
1521 | Convert threads.xs to use them, resolving RT #73046. |
1522 | |
9aa6229b |
1523 | commit a09252eb79f700c93c37322c1ad831cf3193571b # HALPHALP |
91c261ec |
1524 | Author: Nicholas Clark <nick@ccl4.org> |
1525 | Date: Tue Feb 23 14:48:17 2010 +0000 |
1526 | |
1527 | Convert Perl_sv_dup_inc() from a macro to a real function. |
1528 | |
cfbf992c |
1529 | commit 842c41230043ce99d4bf7b2c79aed85ce2908e89 # NODOC |
91c261ec |
1530 | Author: Nicholas Clark <nick@ccl4.org> |
1531 | Date: Wed Feb 24 15:07:51 2010 +0000 |
1532 | |
1533 | In perl_clone_using(), turn off AvREAL() on param->stashes. |
1534 | |
1535 | This is an optimisation, not a bug fix. |
1536 | |
850c82be |
1537 | commit f5d8aca1e51e677519775b879a4d41b6f78d07d2 # NODOC |
91c261ec |
1538 | Author: Zefram <zefram@fysh.org> |
1539 | Date: Mon May 24 07:38:24 2010 -0400 |
1540 | |
1541 | Add package block syntax to perldelta |
1542 | |
850c82be |
1543 | commit c4a6534165d0545c5a1273d7febaa02f28023972 # NODOC |
91c261ec |
1544 | Author: David Golden <dagolden@cpan.org> |
1545 | Date: Sun May 23 20:04:38 2010 -0400 |
1546 | |
1547 | Add perldelta entry for non-destructive substitution |
1548 | |
01154e8f |
1549 | commit 196007d1d65f1413c42844a9656643290de75eb5 # NODOC |
91c261ec |
1550 | Author: Nicholas Clark <nick@ccl4.org> |
1551 | Date: Sun May 23 21:09:13 2010 +0100 |
1552 | |
1553 | Change the API documentation from sv_2nv to sv_2nv_flags. |
1554 | |
1555 | Addendum to 39d5de13bc6d138b. |
1556 | |
7cd782e5 |
1557 | commit 702646f25c38c963340344fc4125d616ff143857 # ALREADY |
91c261ec |
1558 | Author: Zefram <zefram@fysh.org> |
1559 | Date: Sat May 22 23:10:16 2010 +0100 |
1560 | |
1561 | fix MAD handling of package block syntax |
1562 | |
1563 | There was a broken TOKEN_GETMAD attempting to handle the label preceding a |
1564 | package-block statement, where no label is actually possible. The correct |
1565 | behaviour for no label is a no-op, so just remove the TOKEN_GETMAD. |
1566 | |
01154e8f |
1567 | commit ebe8e111d12294e0144e3f276418ccacc4ff3fe2 # NODOC |
91c261ec |
1568 | Author: David Mitchell <davem@iabyn.com> |
1569 | Date: Sun May 23 15:04:37 2010 +0100 |
1570 | |
1571 | add perldelta entry for overload fixes |
1572 | |
541ee700 |
1573 | commit 847428bd7826cc0cc873c7440aba67dffca8e984 # NODOC |
91c261ec |
1574 | Author: David Golden <dagolden@cpan.org> |
1575 | Date: Sun May 23 07:51:04 2010 -0400 |
1576 | |
1577 | Format perlhist consistently by maint/dev track |
1578 | |
541ee700 |
1579 | commit f83c51e56b41b58bf562b416ffc86a6548df8f88 # NODOC |
91c261ec |
1580 | Author: David Golden <dagolden@cpan.org> |
1581 | Date: Sun May 23 07:22:32 2010 -0400 |
1582 | |
1583 | create perl5132delta |
1584 | |
541ee700 |
1585 | commit 000c65fce914409ad42f49763dbced48187b5baf # ALREADY |
91c261ec |
1586 | Author: David Golden <dagolden@cpan.org> |
1587 | Date: Sat May 22 22:46:50 2010 -0400 |
1588 | |
1589 | Rephrase perlop for non-destructive substitution |
1590 | |
541ee700 |
1591 | commit 5901ab6e45f075cff484db49565241f42c2202a5 # NODOC |
91c261ec |
1592 | Author: David Golden <dagolden@cpan.org> |
1593 | Date: Sat May 22 22:31:38 2010 -0400 |
1594 | |
1595 | Add David Caldwell to AUTHORS |
1596 | |
541ee700 |
1597 | commit 4f4d7508b0c2c114e5f52420e0e87a853c5f642a # ALREADY |
91c261ec |
1598 | Author: David Caldwell <david@porkrind.org> |
1599 | Date: Mon Nov 23 17:24:25 2009 -0800 |
1600 | |
1601 | Add s///r (non-destructive substitution). |
1602 | |
1603 | This changes s/// so that it doesn't act destructively on its target. |
1604 | Instead it returns the result of the substitution (or the original string if |
1605 | there was no match). |
1606 | |
1607 | In addition this patch: |
1608 | |
1609 | * Adds a new warning when s///r happens in void context. |
1610 | * Adds a error when you try to use s///r with !~ |
1611 | * Makes it so constant strings can be bound to s///r with =~ |
1612 | * Adds documentation. |
1613 | * Adds some tests. |
1614 | * Updates various debug code so it knows about the /r flag. |
1615 | * Adds some new 'r' words to B::Deparse. |
1616 | |
541ee700 |
1617 | commit dd9035cd5bdeced1187df399d27d526f3b30194b # NODOC |
91c261ec |
1618 | Author: Nicholas Clark <nick@ccl4.org> |
1619 | Date: Tue Nov 17 10:17:11 2009 +0000 |
1620 | |
1621 | Restore strict refs on stashes, removed by ce10b5d1ec5b5f68b0811018a415bc37. |
1622 | |
1623 | Strictures on stashes were special-cased, because the lexer was special-cased |
1624 | to avoid autovivifying stashes (in adc51b978ed1b2e9d4512c9bfa80386ac917d05a, |
1625 | now reverted), to keep the behaviour of defined %stash:: consistent. |
1626 | |
1627 | defined %stash:: is deprecated. |
1628 | |
1629 | Keep the new regression tests from ce10b5d1ec5b5f68b0811018a415bc37bb6bfe5e. |
1630 | |
dee6ca0d |
1631 | commit 223f0fb7579941d15c6185ada7e98fb53bf60852 # HALPHALP |
91c261ec |
1632 | Author: Nicholas Clark <nick@ccl4.org> |
1633 | Date: Sat Oct 24 12:22:01 2009 +0100 |
1634 | |
1635 | Re-instate the use of gv_stashpvn_flags(), and the correct non-boolean argument. |
1636 | |
1637 | This restores the change of 9bde8eb087a2c05d4c8b0394a59d28a09fe5f529. |
1638 | |
a7f63c6f |
1639 | commit 0cc522c3af5e9943da81cc0c962abc67d3df6925 # NODOC (verify) |
91c261ec |
1640 | Author: Nicholas Clark <nick@ccl4.org> |
1641 | Date: Sat Oct 24 11:36:06 2009 +0100 |
1642 | |
1643 | Remove the tokeniser hack that prevents compile-time vivification of %stash:: |
1644 | |
1645 | This was put in to ensure that defined %stash:: continued to return false after |
1646 | the implementation of hashes was changed, such that stashes were always defined. |
1647 | defined %stash:: is deprecated. |
1648 | |
1649 | This reverts the tokeniser changes of adc51b978ed1b2e9d4512c9bfa80386ac917d05a, |
1650 | 76138434928a968a390c791aec92e5f00017d01d, |
1651 | d6069db2e52f58ef65bf59f2fd453604270d2205 and part of |
1652 | 9bde8eb087a2c05d4c8b0394a59d28a09fe5f529, and updates the tests added with those |
1653 | commits to reflect the restored (but as yet unreleased) behaviour. |
1654 | |
1655 | I don't think that this should be merged to blead until after 5.12.0 ships, |
1656 | with the enabled deprecation warnings on defined %hash, as it changes subtle |
1657 | behaviour that all current released stable perls accept without warning. |
1658 | |
901c2e6a |
1659 | commit 4fa7c2bfe0a54ceffcc7c56cdc072eaeaf54cad9 # NODOC |
91c261ec |
1660 | Author: Nicholas Clark <nick@ccl4.org> |
1661 | Date: Fri May 21 20:32:28 2010 +0100 |
1662 | |
1663 | PL_in_load_module only has values 0 and 1, so can be a bool instead of int. |
1664 | |
e54740d0 |
1665 | commit fcd24582e9751804a977b6d4ef227de5a3b0343b # DOCed |
91c261ec |
1666 | Author: Nicholas Clark <nick@ccl4.org> |
1667 | Date: Sat Mar 13 11:23:46 2010 +0000 |
1668 | |
1669 | Perl_hv_fill(), count empty chains down, rather than used chains up. |
1670 | |
1671 | The assumption is that most chains of a hash are in use. |
1672 | |
1673 | Suggestion and initial patch by Ruslan Zakirov. |
1674 | |
e54740d0 |
1675 | commit 359164a0b0ca9d7142b89ef0b09c1d01437e4471 # DOCed |
91c261ec |
1676 | Author: Nicholas Clark <nick@ccl4.org> |
1677 | Date: Sun Jan 24 15:39:53 2010 +0000 |
1678 | |
1679 | Eliminate xhv_fill from struct xpvhv. |
1680 | |
e54740d0 |
1681 | commit 4d0fbddde6c5dcb972786d09de0cab6e93056b88 # DOCed |
91c261ec |
1682 | Author: Nicholas Clark <nick@ccl4.org> |
1683 | Date: Sun Jan 24 15:07:50 2010 +0000 |
1684 | |
1685 | Make HvFILL() count the allocated buckets, instead of reading a stored value. |
1686 | |
1687 | Add a function Perl_hv_fill to perform the count. This will save 1 IV per hash, |
1688 | and on some systems cause struct xpvhv to become cache aligned. |
1689 | |
e54740d0 |
1690 | commit f4431c56525a8650559872ff19c75f109a5d1190 # DOCed |
91c261ec |
1691 | Author: Nicholas Clark <nick@ccl4.org> |
1692 | Date: Sun Jan 24 10:50:02 2010 +0000 |
1693 | |
1694 | Replace boolean use of HvFILL(hv) with HvTOTALKEYS(hv), which is equivalent. |
1695 | |
cd975843 |
1696 | commit ed3b9b3c212f717939207379cdb328156dd4a01e # ALREADY |
91c261ec |
1697 | Author: David Mitchell <davem@iabyn.com> |
1698 | Date: Fri May 21 17:07:40 2010 +0100 |
1699 | |
1700 | followup to magic/overload fix |
1701 | |
1702 | 6f1401dc2acd2a2b85df22b0a74e5f7e6e0a33aa was over-enthusiastic |
1703 | on removing redundant code in the comparison ops. This code was only used |
1704 | on 64-bit #ifdef branches which is why I failed to spot it earlier. |
1705 | So restore that code! |
1706 | |
cd975843 |
1707 | commit 6f1401dc2acd2a2b85df22b0a74e5f7e6e0a33aa # ALREADY |
91c261ec |
1708 | Author: David Mitchell <davem@iabyn.com> |
1709 | Date: Fri May 21 14:18:21 2010 +0100 |
1710 | |
1711 | make overload respect get magic |
1712 | |
1713 | In most places, ops checked their args for overload *before* doing |
1714 | mg_get(). This meant that, among other issues, tied vars that |
1715 | returned overloaded objects wouldn't trigger calling the |
1716 | overloaded method. (Actually, for tied and arrays and hashes, it |
1717 | still often would since mg_get gets called beforehand in rvalue |
1718 | context). |
1719 | |
1720 | This patch does the following: |
1721 | |
1722 | Makes sure get magic is called first. |
1723 | |
1724 | Moves most of the overload code formerly included by macros at the |
1725 | start of each pp function into the separate helper functions |
1726 | Perl_try_amagic_bin, Perl_try_amagic_un, S_try_amagic_ftest, |
1727 | with 3 new wrapper macros: |
1728 | tryAMAGICbin_MG, tryAMAGICun_MG, tryAMAGICftest_MG. |
1729 | This made the code 3800 bytes smaller. |
1730 | |
1731 | Makes sure that FETCH is not called multiple times. Much of this |
1732 | bit was helped by some earlier work from Father Chrysostomos. |
1733 | |
1734 | Added new functions and macros sv_inc_nomg(), sv_dec_nomg(), |
1735 | dPOPnv_nomg, dPOPXiirl_ul_nomg, dPOPTOPnnrl_nomg, dPOPTOPiirl_ul_nomg |
1736 | dPOPTOPiirl_nomg, SvIV_please_nomg, SvNV_nomg (again, some of |
1737 | these were based on Father Chrysostomos's work). |
1738 | |
1739 | Fixed the list version of the repeat operator (x): it now only |
1740 | calls overloaded methods for the scalar version: |
1741 | (1,2,$overloaded) x 10 |
1742 | no longer erroneously calls |
1743 | x_method($overloaded,10)) |
1744 | |
1745 | The only thing I haven't checked/fixed yet is overloading the |
1746 | iterator operator, <>. |
1747 | |
078a9fc1 |
1748 | commit c4648999f2aa0b971b46a580c1258b719394072a # HALPHALP |
91c261ec |
1749 | Author: Nicholas Clark <nick@ccl4.org> |
1750 | Date: Tue Jan 26 17:03:41 2010 +0000 |
1751 | |
1752 | Remove union _xivu from _XPVCV_COMMON, and hence structs xpvcv and xpvfm |
1753 | |
1754 | Replaced with xcv_depth and xfm_lines respectively. Both structures might |
1755 | benefit from some field re-ordering. |
1756 | |
1757 | Update the descriptive comments in the definition of union _xivu. |
1758 | |
078a9fc1 |
1759 | commit 89f6f2871ea81b2c6a09311796395c610f3e3464 # HALPHALP |
91c261ec |
1760 | Author: Nicholas Clark <nick@ccl4.org> |
1761 | Date: Tue Jan 26 16:28:59 2010 +0000 |
1762 | |
1763 | Remove union _xivu from struct regexp - replace it with a non-union paren_names. |
1764 | |
1765 | This was the only user of xivu_hv in union _xivu, so remove that too. |
1766 | |
078a9fc1 |
1767 | commit de0a224a057997a65d38856f1981702fca5d7c18 # HALPHALP |
91c261ec |
1768 | Author: Nicholas Clark <nick@ccl4.org> |
1769 | Date: Mon Jan 25 14:28:30 2010 +0000 |
1770 | |
1771 | Remove union _xivu from struct xpvhv - replace it with a non-union xav_keys. |
1772 | |
078a9fc1 |
1773 | commit 4f7003f5e8adb225a16f3788ec81e193021f41e5 # HALPHALP |
91c261ec |
1774 | Author: Nicholas Clark <nick@ccl4.org> |
1775 | Date: Mon Jan 25 13:55:28 2010 +0000 |
1776 | |
1777 | Remove union _xivu from struct xpvav - replace it with a non-union xav_alloc. |
1778 | |
1779 | This was the only user of xivu_p1 in union _xivu, so remove that too. |
1780 | |
078a9fc1 |
1781 | commit 889d28b2ea2c17517fae97cf4a92bd3563aaa74f # HALPHALP |
91c261ec |
1782 | Author: Nicholas Clark <nick@ccl4.org> |
1783 | Date: Mon Jan 25 13:30:16 2010 +0000 |
1784 | |
1785 | Reinstate space optimisations to SV body structures. |
1786 | |
078a9fc1 |
1787 | commit 6e1287864cd02fb6f429f12a995e1c08e03572b9 # HALPHALP |
91c261ec |
1788 | Author: Nicholas Clark <nick@ccl4.org> |
1789 | Date: Mon Jan 25 09:27:56 2010 +0000 |
1790 | |
1791 | In the SV body, exchange the positions of the NV and stash/magic. |
1792 | |
078a9fc1 |
1793 | commit 601dfd0af0604fa7ed2cabe7f33a232b9b3908c0 # HALPHALP |
91c261ec |
1794 | Author: Nicholas Clark <nick@ccl4.org> |
1795 | Date: Fri Jan 22 15:31:49 2010 +0000 |
1796 | |
1797 | Remove all space optimisations from SV body structures. |
1798 | |
c5cc31c3 |
1799 | commit 89c1d9143a1f7d921350481bd9e3f617a2988f9c # NODOC |
91c261ec |
1800 | Author: H.Merijn Brand <h.m.brand@xs4all.nl> |
1801 | Date: Fri May 21 08:01:54 2010 +0200 |
1802 | |
1803 | The size of a character in C is per definition 1 |
1804 | |
04c16a5e |
1805 | commit 23ae7f173577cbe2d62a4f7d64340f6457c75ee3 # DOCed |
91c261ec |
1806 | Author: Sisyphus <sisyphus1@optusnet.com.au> |
1807 | Date: Thu May 20 17:56:07 2010 -0700 |
1808 | |
1809 | Fix CCINCDIR and CCLIBDIR for mingw64 cross compiler |
1810 | |
1811 | When building perl with the mingw64 x64 cross-compiler 'incpath', 'libpth', |
1812 | 'ldflags', 'lddlflags' and 'ldflags_nolargefiles' values in Config.pm and |
1813 | Config_heavy.pl are not being set correctly because, with that compiler, the |
1814 | include and lib directories are not immediately below $(CCHOME). |
1815 | |
3afe9b45 |
1816 | commit 36f77d7116441b32ff6c10307a116e105b7eabb4 # ALREADY |
91c261ec |
1817 | Author: Zefram <zefram@fysh.org> |
1818 | Date: Thu May 20 21:48:03 2010 +0100 |
1819 | |
1820 | fully test package-version-block syntax |
1821 | |
1822 | Extend the exhaustive package-version tests in t/op/packagev.t |
1823 | to test each case using package-block syntax in addition to the |
1824 | package-declaration syntax. |
1825 | |
3afe9b45 |
1826 | commit 3afb2f14ba09da7b54ce62a6f12d9703a7776666 # ALREADY |
91c261ec |
1827 | Author: Zefram <zefram@fysh.org> |
1828 | Date: Sat May 1 17:51:21 2010 +0100 |
1829 | |
1830 | additional tests for package block syntax |
1831 | |
1832 | Test that __PACKAGE__ propagates into string eval correctly. Test that |
1833 | __LINE__ is correct. Test that goto into and out of package blocks |
1834 | works correctly. |
1835 | |
3afe9b45 |
1836 | commit af5050ac60ae083ebc5a0b2a1b4289c51c622f95 # ALREADY |
91c261ec |
1837 | Author: Zefram <zefram@fysh.org> |
1838 | Date: Sat May 1 17:30:26 2010 +0100 |
1839 | |
1840 | fix SEGV with eval("package Foo {") |
1841 | |
1842 | OPs relating to the package name and version were subject to double |
1843 | freeing during error recovery from an incomplete package block. Fixed by |
1844 | using the op_latefree mechanism to shift the op free time. |
1845 | |
3afe9b45 |
1846 | commit 4e4da3acc11d96d134ed1dc0effd641e7bedb0ca # ALREADY |
91c261ec |
1847 | Author: Zefram <zefram@fysh.org> |
1848 | Date: Mon Apr 19 20:37:25 2010 +0100 |
1849 | |
1850 | support "package Foo { ... }" |
1851 | |
1852 | Package block syntax limits the scope of the package declaration to the |
1853 | attached block. It's cleaner than requiring the declaration to come |
1854 | inside the block. |
1855 | |
1acc4234 |
1856 | commit 39f3f7f442aed93239540238d19a15f6020da747 # DOCed as perf enhancement |
91c261ec |
1857 | Author: Nicholas Clark <nick@ccl4.org> |
1858 | Date: Tue Feb 23 20:35:29 2010 +0000 |
1859 | |
1860 | PL_endav can be NULL, so in S_ithread_create() no need to set it to newAV(). |
1861 | |
1acc4234 |
1862 | commit b1faab355535118c9fb99fcc343501012923ece # DOCed as perf enhancement |
91c261ec |
1863 | Author: Nicholas Clark <nick@ccl4.org> |
1864 | Date: Sat Feb 13 09:05:18 2010 +0000 |
1865 | |
1866 | Remove redundant hv_exists() calls from ithread_create()'s spec parser. |
1867 | |
1868 | hv_fetch(..., 0) won't create the element if it doesn't exist, returning a NULL |
1869 | pointer, so hv_exists() and hv_fetch() is doing two hash lookups where one would |
1870 | suffice. |
1871 | |
1872 | On this machine, reduces the object code by 3K, about 7%. Everyone's a winner. |
1873 | |
1acc4234 |
1874 | commit 4cf5eae5e58faebb6ae9e68e493cd85343f7a76c # DOCed as perf enhancement |
91c261ec |
1875 | Author: Nicholas Clark <nick@ccl4.org> |
1876 | Date: Sat Feb 13 08:31:55 2010 +0000 |
1877 | |
1878 | Change S_ithread_create() params from a single AV* to a pair of SV** pointers. |
1879 | |
1880 | This saves creating, duplicating and freeing and AV, which is only ever used for |
1881 | an internal calling convention. |
1882 | |
1acc4234 |
1883 | commit 78b7eff23b1757f7fccef902e7e706080a997e2c # DOCed as perf enhancement |
91c261ec |
1884 | Author: Nicholas Clark <nick@ccl4.org> |
1885 | Date: Sat Feb 13 08:01:45 2010 +0000 |
1886 | |
1887 | In threads.xs, convert thread->params from RV to AV. |
1888 | |
1889 | Pass around and store the array directly, rather than creating, holding and |
1890 | dereferencing a reference to it. |
1891 | |
012fc879 |
1892 | commit e77da3b2183d0f9c5ea81dc5780d9a480fc4fa88 # DOCed (verify) |
91c261ec |
1893 | Author: Nicholas Clark <nick@ccl4.org> |
1894 | Date: Tue Jan 26 12:00:56 2010 +0000 |
1895 | |
1896 | SvIVX() isn't valid on SVt_REGEXP |
1897 | |
05d5c3cb |
1898 | commit 65ac1738675fbcf49a4c9d625c0c43dd73e6ff2f # NODOC (verify) |
91c261ec |
1899 | Author: Nicholas Clark <nick@ccl4.org> |
1900 | Date: Mon Jan 25 10:53:33 2010 +0000 |
1901 | |
1902 | In sv.c, _all_ {new,del}_X* macros can be *_body_allocated. |
1903 | |
1904 | Previously those where bodies_by_type[sv_type].offset was zero were using |
1905 | {new,del}_body_typed. However, the optimiser can spot this, and generates the |
1906 | same object code. This allows simplification of the C code, and more |
1907 | flexibility to rearrange the structures without generating bugs. |
1908 | |
73a7bec3 |
1909 | commit ef01b67f31004ca818c73987384945a0fea605d6 # NODOC |
91c261ec |
1910 | Author: Ricardo Signes <rjbs@cpan.org> |
1911 | Date: Thu May 20 10:14:39 2010 -0400 |
1912 | |
1913 | update Ricardo Signes's email |
1914 | |
73a7bec3 |
1915 | commit faee19b51573e81abe8811f1256a1d27777d6d04 # DOCed |
91c261ec |
1916 | Author: Rafael Garcia-Suarez <rgs@consttype.org> |
1917 | Date: Wed May 19 20:36:12 2010 +0200 |
1918 | |
1919 | Do not try to load a feature bundle when doing "no VERSION" |