]> git.vpit.fr Git - perl/modules/Variable-Magic.git/log
perl/modules/Variable-Magic.git
15 years agoFactor some test logic in a helper module
Vincent Pit [Sun, 18 Jan 2009 15:44:41 +0000 (16:44 +0100)]
Factor some test logic in a helper module

15 years agoDocument the return values of the callbacks
Vincent Pit [Sat, 27 Dec 2008 11:31:29 +0000 (12:31 +0100)]
Document the return values of the callbacks

15 years agoMore linefeeds make the POD clearer
Vincent Pit [Sat, 27 Dec 2008 11:27:50 +0000 (12:27 +0100)]
More linefeeds make the POD clearer

15 years agoFix an offset of 1 with len magic on scalars
Vincent Pit [Sat, 27 Dec 2008 11:22:07 +0000 (12:22 +0100)]
Fix an offset of 1 with len magic on scalars

15 years agoDon't redefine VMG_COMPAT_ARRAY_PUSH_NOLEN
Vincent Pit [Wed, 17 Dec 2008 22:21:21 +0000 (23:21 +0100)]
Don't redefine VMG_COMPAT_ARRAY_PUSH_NOLEN

15 years agoThe context is actually used in vmg_sv_magicuvar() for sv_magic()
Vincent Pit [Tue, 2 Dec 2008 23:20:09 +0000 (00:20 +0100)]
The context is actually used in vmg_sv_magicuvar() for sv_magic()

15 years agoThis is 0.26 v0.26
Vincent Pit [Sat, 29 Nov 2008 23:05:47 +0000 (00:05 +0100)]
This is 0.26

15 years agoFix leaks of cloned coderefs that access lexicals
Vincent Pit [Sat, 29 Nov 2008 21:45:27 +0000 (22:45 +0100)]
Fix leaks of cloned coderefs that access lexicals

15 years agoIntroduce VMG_COMPAT_ARRAY_UNSHIFT_NOLEN_VOID to cover unshift no longer calling...
Vincent Pit [Thu, 27 Nov 2008 23:03:07 +0000 (00:03 +0100)]
Introduce VMG_COMPAT_ARRAY_UNSHIFT_NOLEN_VOID to cover unshift no longer calling len magic in void context (since 34908)

16 years agoDocument magic changes in 5.8.9
Vincent Pit [Thu, 13 Nov 2008 22:55:36 +0000 (23:55 +0100)]
Document magic changes in 5.8.9

16 years agoFix building for maint-5.8
Vincent Pit [Thu, 13 Nov 2008 22:45:28 +0000 (23:45 +0100)]
Fix building for maint-5.8

16 years agoThis is 0.25 v0.25
Vincent Pit [Wed, 12 Nov 2008 19:40:27 +0000 (20:40 +0100)]
This is 0.25

16 years agoImprove logic for the SvREFCNT_inc workaround in vmg_data_new(). Also, enable it...
Vincent Pit [Wed, 12 Nov 2008 19:07:57 +0000 (20:07 +0100)]
Improve logic for the SvREFCNT_inc workaround in vmg_data_new(). Also, enable it up to 5.8.3 included, as it was before the previous macro overhaul

16 years agoOnly enable VMG_COMPAT_ARRAY_PUSH_NOLEN for ActiveState's 5.8.[78] on Windows, as...
Vincent Pit [Wed, 12 Nov 2008 18:58:03 +0000 (19:58 +0100)]
Only enable VMG_COMPAT_ARRAY_PUSH_NOLEN for ActiveState's 5.8.[78] on Windows, as the relevant patch has been integrated for 5.8.9

16 years agoVersion macro overhaul. Enable correct behaviour for 5.8.9
Vincent Pit [Wed, 12 Nov 2008 18:56:17 +0000 (19:56 +0100)]
Version macro overhaul. Enable correct behaviour for 5.8.9

16 years agoOld Pod::Coverage don't ignore CLONE
Vincent Pit [Sat, 18 Oct 2008 13:17:24 +0000 (15:17 +0200)]
Old Pod::Coverage don't ignore CLONE

16 years agoThis is 0.24 v0.24
Vincent Pit [Sun, 12 Oct 2008 14:50:49 +0000 (16:50 +0200)]
This is 0.24

16 years agoReally fix building on perls with multiplicity but no threads
Vincent Pit [Sun, 12 Oct 2008 14:49:35 +0000 (16:49 +0200)]
Really fix building on perls with multiplicity but no threads

16 years agoThis is 0.23 v0.23
Vincent Pit [Sat, 11 Oct 2008 17:25:59 +0000 (19:25 +0200)]
This is 0.23

16 years agow->cb_dup is currently always NULL
Vincent Pit [Sat, 11 Oct 2008 16:53:46 +0000 (18:53 +0200)]
w->cb_dup is currently always NULL

16 years agoOnly build clone functions when VMG_THREADSAFE is set
Vincent Pit [Fri, 10 Oct 2008 16:55:37 +0000 (18:55 +0200)]
Only build clone functions when VMG_THREADSAFE is set

16 years agoBetter be on irc.perl.org
Vincent Pit [Thu, 2 Oct 2008 22:12:04 +0000 (00:12 +0200)]
Better be on irc.perl.org

16 years agoThis is 0.22 v0.22
Vincent Pit [Mon, 29 Sep 2008 19:38:57 +0000 (21:38 +0200)]
This is 0.22

16 years agoA little paragraph on how magic is cool
Vincent Pit [Mon, 29 Sep 2008 19:35:59 +0000 (21:35 +0200)]
A little paragraph on how magic is cool

16 years agoDisable thread safety for 5.8.x on Windows
Vincent Pit [Mon, 29 Sep 2008 19:16:22 +0000 (21:16 +0200)]
Disable thread safety for 5.8.x on Windows

16 years agoThis is 0.21_02 v0.21_02
Vincent Pit [Sat, 27 Sep 2008 23:07:41 +0000 (01:07 +0200)]
This is 0.21_02

16 years agoHide previously deleted magic tokens in vmg_svt_free (Yuval Kogman)
Vincent Pit [Sat, 27 Sep 2008 23:05:43 +0000 (01:05 +0200)]
Hide previously deleted magic tokens in vmg_svt_free (Yuval Kogman)

16 years agoThis is 0.21_01 v0.21_01
Vincent Pit [Mon, 22 Sep 2008 13:24:57 +0000 (15:24 +0200)]
This is 0.21_01

16 years agoOutput threads and threads::shared versions in threads tests
Vincent Pit [Sun, 21 Sep 2008 23:00:27 +0000 (01:00 +0200)]
Output threads and threads::shared versions in threads tests

16 years agoAdd some parenthesis to appease the compiler
Vincent Pit [Sun, 21 Sep 2008 22:37:38 +0000 (00:37 +0200)]
Add some parenthesis to appease the compiler

16 years agoRemove two unused variables
Vincent Pit [Sun, 21 Sep 2008 22:35:10 +0000 (00:35 +0200)]
Remove two unused variables

16 years agoSilence three 'mixed declaration and code' warnings
Vincent Pit [Sun, 21 Sep 2008 22:24:47 +0000 (00:24 +0200)]
Silence three 'mixed declaration and code' warnings

16 years agoShrink the context data by getting rid of the mostly useless .count member
Vincent Pit [Sun, 21 Sep 2008 22:19:16 +0000 (00:19 +0200)]
Shrink the context data by getting rid of the mostly useless .count member

16 years agoEnable thread-safety for perls that just lacks MY_CXT_CLONE
Vincent Pit [Sun, 21 Sep 2008 11:58:05 +0000 (13:58 +0200)]
Enable thread-safety for perls that just lacks MY_CXT_CLONE

16 years agoThis is 0.20 v0.20
Vincent Pit [Sat, 20 Sep 2008 23:33:37 +0000 (01:33 +0200)]
This is 0.20

16 years agot/41-clone.t needs to call wizard into an eval block
Vincent Pit [Sat, 20 Sep 2008 23:05:17 +0000 (01:05 +0200)]
t/41-clone.t needs to call wizard into an eval block

16 years agoReally don't try to read the context before we're sure we are not dirty
Vincent Pit [Sat, 20 Sep 2008 22:57:06 +0000 (00:57 +0200)]
Really don't try to read the context before we're sure we are not dirty

16 years agoTest cloning
Vincent Pit [Sat, 20 Sep 2008 22:35:31 +0000 (00:35 +0200)]
Test cloning

16 years agoMove vmg_clone() upwards
Vincent Pit [Sat, 20 Sep 2008 22:35:07 +0000 (00:35 +0200)]
Move vmg_clone() upwards

16 years agoFactor signature/wizard checks into proper functions. 'cast , undef' now throws an...
Vincent Pit [Sat, 20 Sep 2008 22:31:58 +0000 (00:31 +0200)]
Factor signature/wizard checks into proper functions. 'cast , undef' now throws an 'invalid wizard' error

16 years agoTest destructors
Vincent Pit [Sat, 20 Sep 2008 22:01:07 +0000 (00:01 +0200)]
Test destructors

16 years agoAllocate context hash iterators as soon as they are created
Vincent Pit [Sat, 20 Sep 2008 21:49:20 +0000 (23:49 +0200)]
Allocate context hash iterators as soon as they are created

16 years agoTest same signature across threads
Vincent Pit [Sat, 20 Sep 2008 21:34:29 +0000 (23:34 +0200)]
Test same signature across threads

16 years agoClone wizards across threads
Vincent Pit [Sat, 20 Sep 2008 21:12:37 +0000 (23:12 +0200)]
Clone wizards across threads

16 years agoUse 0 (store as-is) as the len when casting magic on the wizard
Vincent Pit [Sat, 20 Sep 2008 21:11:12 +0000 (23:11 +0200)]
Use 0 (store as-is) as the len when casting magic on the wizard

16 years agoRemove refcount debugging macro
Vincent Pit [Sat, 20 Sep 2008 21:09:52 +0000 (23:09 +0200)]
Remove refcount debugging macro

16 years agoThread detection macros overhaul
Vincent Pit [Sat, 20 Sep 2008 21:05:31 +0000 (23:05 +0200)]
Thread detection macros overhaul

16 years agoDon't test threads if this perl wasn't built with ithreads enabled
Vincent Pit [Sat, 20 Sep 2008 20:51:39 +0000 (22:51 +0200)]
Don't test threads if this perl wasn't built with ithreads enabled

16 years agoSkip wizard destructor during global destruction
Vincent Pit [Sat, 20 Sep 2008 14:01:08 +0000 (16:01 +0200)]
Skip wizard destructor during global destruction

16 years agoTurn READONLY on onto wizard objects
Vincent Pit [Sat, 20 Sep 2008 09:10:08 +0000 (11:10 +0200)]
Turn READONLY on onto wizard objects

16 years agoMake the module threadsafe by adding a CLONE method that clones the global state...
Vincent Pit [Fri, 19 Sep 2008 21:53:44 +0000 (23:53 +0200)]
Make the module threadsafe by adding a CLONE method that clones the global state. Test it with t/40-threads.t. Export the thread-safety status through VMG_THREADSAFE

16 years agoCorrect backtrace when wizard() croaks, and test it
Vincent Pit [Fri, 5 Sep 2008 23:25:13 +0000 (01:25 +0200)]
Correct backtrace when wizard() croaks, and test it

16 years agoPOD beautifications
Vincent Pit [Fri, 5 Sep 2008 19:00:53 +0000 (21:00 +0200)]
POD beautifications

16 years agoTest how arguments are passed to the data callback
Vincent Pit [Fri, 5 Sep 2008 17:17:32 +0000 (19:17 +0200)]
Test how arguments are passed to the data callback

16 years agoOnly enable turn the MGf_* flags on when the corresponding callback has been specified
Vincent Pit [Fri, 5 Sep 2008 16:39:50 +0000 (18:39 +0200)]
Only enable turn the MGf_* flags on when the corresponding callback has been specified

16 years agoFix the caller-into-block test that was actually testing nothing. Also use __LINE__...
Vincent Pit [Mon, 1 Sep 2008 08:14:43 +0000 (10:14 +0200)]
Fix the caller-into-block test that was actually testing nothing. Also use __LINE__ instead of hardcoding line numbers

16 years agoTest caller inside callbacks
Vincent Pit [Wed, 27 Aug 2008 20:16:26 +0000 (22:16 +0200)]
Test caller inside callbacks

16 years agoGet rid of Debian_CPANTS.txt
Vincent Pit [Wed, 27 Aug 2008 19:56:25 +0000 (21:56 +0200)]
Get rid of Debian_CPANTS.txt

16 years agoReplace XPUSHs by EXTEND/PUSHs
Vincent Pit [Wed, 27 Aug 2008 19:17:17 +0000 (21:17 +0200)]
Replace XPUSHs by EXTEND/PUSHs

16 years agoThis is 0.19 v0.19
Vincent Pit [Sat, 5 Jul 2008 15:04:11 +0000 (17:04 +0200)]
This is 0.19

16 years agoForce temps cleanup after removing the wizard from the context hash, but flag it...
Vincent Pit [Sat, 5 Jul 2008 14:43:16 +0000 (16:43 +0200)]
Force temps cleanup after removing the wizard from the context hash, but flag it as SVf_BREAK so that it won't be freed again later

16 years agoUse the new VMG_PERL_PATCHLEVEL constant to print the patchlevel in t/00-load.t
Vincent Pit [Sat, 5 Jul 2008 13:31:05 +0000 (15:31 +0200)]
Use the new VMG_PERL_PATCHLEVEL constant to print the patchlevel in t/00-load.t

16 years agoExport the patchlevel with the new VMG_PERL_PATCHLEVEL constant
Vincent Pit [Sat, 5 Jul 2008 13:05:50 +0000 (15:05 +0200)]
Export the patchlevel with the new VMG_PERL_PATCHLEVEL constant

16 years agoRemove yet another wrongly imported tests
Vincent Pit [Sat, 5 Jul 2008 11:58:28 +0000 (13:58 +0200)]
Remove yet another wrongly imported tests

16 years agoRemove PERL_API_* macros
Vincent Pit [Sat, 5 Jul 2008 11:46:57 +0000 (13:46 +0200)]
Remove PERL_API_* macros

16 years ago'uvar' magic will never be backported to 5.8, enable it only in maint-5.10 and higher
Vincent Pit [Sat, 5 Jul 2008 11:44:48 +0000 (13:44 +0200)]
'uvar' magic will never be backported to 5.8, enable it only in maint-5.10 and higher

16 years agoEnforce the API change for copy callbacks only in 5.11.x
Vincent Pit [Sat, 5 Jul 2008 11:42:53 +0000 (13:42 +0200)]
Enforce the API change for copy callbacks only in 5.11.x

16 years agoReplace old version tests by VMG_HAS_PERL_OR
Vincent Pit [Sat, 5 Jul 2008 11:42:00 +0000 (13:42 +0200)]
Replace old version tests by VMG_HAS_PERL_OR

16 years agoAdd the VMG_HAS_PERL_{AND,OR} macros to test for a patchlevel and/or a perl version
Vincent Pit [Sat, 5 Jul 2008 10:51:46 +0000 (12:51 +0200)]
Add the VMG_HAS_PERL_{AND,OR} macros to test for a patchlevel and/or a perl version

16 years agoUpdate .gitignore
Vincent Pit [Sat, 5 Jul 2008 10:21:43 +0000 (12:21 +0200)]
Update .gitignore

16 years agoThis is 0.18 v0.18
Vincent Pit [Fri, 4 Jul 2008 12:20:39 +0000 (14:20 +0200)]
This is 0.18

16 years agoSet VMG_COMPAT_ARRAY_PUSH_NOLEN for Windows ActiveState Perl 5.8.x
Vincent Pit [Fri, 4 Jul 2008 12:12:29 +0000 (14:12 +0200)]
Set VMG_COMPAT_ARRAY_PUSH_NOLEN for Windows ActiveState Perl 5.8.x

16 years agoRemove old tests that were wrongly imported
Vincent Pit [Fri, 4 Jul 2008 11:44:29 +0000 (13:44 +0200)]
Remove old tests that were wrongly imported

16 years agoEnable uvar magic when patchlevel >= 28419
Vincent Pit [Fri, 4 Jul 2008 10:10:06 +0000 (12:10 +0200)]
Enable uvar magic when patchlevel >= 28419

16 years agoImporting Variable-Magic-0.17.tar.gz v0.17
Vincent Pit [Sun, 29 Jun 2008 16:24:52 +0000 (18:24 +0200)]
Importing Variable-Magic-0.17.tar.gz

16 years agoImporting Variable-Magic-0.16.tar.gz v0.16
Vincent Pit [Sun, 29 Jun 2008 16:24:50 +0000 (18:24 +0200)]
Importing Variable-Magic-0.16.tar.gz

16 years agoImporting Variable-Magic-0.15.tar.gz v0.15
Vincent Pit [Sun, 29 Jun 2008 16:24:49 +0000 (18:24 +0200)]
Importing Variable-Magic-0.15.tar.gz

16 years agoImporting Variable-Magic-0.14.tar.gz v0.14
Vincent Pit [Sun, 29 Jun 2008 16:24:48 +0000 (18:24 +0200)]
Importing Variable-Magic-0.14.tar.gz

16 years agoImporting Variable-Magic-0.13.tar.gz v0.13
Vincent Pit [Sun, 29 Jun 2008 16:24:46 +0000 (18:24 +0200)]
Importing Variable-Magic-0.13.tar.gz

16 years agoImporting Variable-Magic-0.12.tar.gz v0.12
Vincent Pit [Sun, 29 Jun 2008 16:24:45 +0000 (18:24 +0200)]
Importing Variable-Magic-0.12.tar.gz

16 years agoImporting Variable-Magic-0.11.tar.gz v0.11
Vincent Pit [Sun, 29 Jun 2008 16:24:44 +0000 (18:24 +0200)]
Importing Variable-Magic-0.11.tar.gz

16 years agoImporting Variable-Magic-0.10.tar.gz v0.10
Vincent Pit [Sun, 29 Jun 2008 16:24:42 +0000 (18:24 +0200)]
Importing Variable-Magic-0.10.tar.gz

16 years agoImporting Variable-Magic-0.09.tar.gz v0.09
Vincent Pit [Sun, 29 Jun 2008 16:24:40 +0000 (18:24 +0200)]
Importing Variable-Magic-0.09.tar.gz

16 years agoImporting Variable-Magic-0.08.tar.gz v0.08
Vincent Pit [Sun, 29 Jun 2008 16:24:35 +0000 (18:24 +0200)]
Importing Variable-Magic-0.08.tar.gz

16 years agoImporting Variable-Magic-0.07_02.tar.gz v0.07_02
Vincent Pit [Sun, 29 Jun 2008 16:24:29 +0000 (18:24 +0200)]
Importing Variable-Magic-0.07_02.tar.gz

16 years agoImporting Variable-Magic-0.07_01.tar.gz v0.07_01
Vincent Pit [Sun, 29 Jun 2008 16:24:27 +0000 (18:24 +0200)]
Importing Variable-Magic-0.07_01.tar.gz

16 years agoImporting Variable-Magic-0.06.tar.gz v0.06
Vincent Pit [Sun, 29 Jun 2008 16:24:24 +0000 (18:24 +0200)]
Importing Variable-Magic-0.06.tar.gz

16 years agoImporting Variable-Magic-0.05.tar.gz v0.05
Vincent Pit [Sun, 29 Jun 2008 16:24:23 +0000 (18:24 +0200)]
Importing Variable-Magic-0.05.tar.gz

16 years agoImporting Variable-Magic-0.04.tar.gz v0.04
Vincent Pit [Sun, 29 Jun 2008 16:24:21 +0000 (18:24 +0200)]
Importing Variable-Magic-0.04.tar.gz

16 years agoImporting Variable-Magic-0.03.tar.gz v0.03
Vincent Pit [Sun, 29 Jun 2008 16:24:20 +0000 (18:24 +0200)]
Importing Variable-Magic-0.03.tar.gz

16 years agoImporting Variable-Magic-0.02.tar.gz v0.02
Vincent Pit [Sun, 29 Jun 2008 16:24:18 +0000 (18:24 +0200)]
Importing Variable-Magic-0.02.tar.gz

16 years agoImporting Variable-Magic-0.01 v0.01
Vincent Pit [Sun, 29 Jun 2008 16:24:01 +0000 (18:24 +0200)]
Importing Variable-Magic-0.01