xref: /openbsd-src/gnu/usr.bin/perl/dist/Safe/Changes (revision b8851fcc53cbe24fd20b090f26dd149e353f6174)
1*b8851fccSafresh12.39 xxxxx
2*b8851fccSafresh1    - reval was not propagating void context properly.
3*b8851fccSafresh1      The fix is partly in Opcode, so it requires 5.21.8 or higher.
4*b8851fccSafresh1
5*b8851fccSafresh12.38 Mon Aug 04 2014
6*b8851fccSafresh1    - critical bugfix: outside packages could be replaced (fix in Opcode)
7*b8851fccSafresh1
8*b8851fccSafresh12.37 Sat Jun 22 2013
9*b8851fccSafresh1    - Doc and presentation nits
10*b8851fccSafresh1
11*b8851fccSafresh12.36 Thu May 23 18:08:48 2013
12*b8851fccSafresh1    - Doc and test fixes for newer perls
13*b8851fccSafresh1
1491f110e0Safresh12.35 Thu Feb 21 2013
1591f110e0Safresh1    - localize %SIG in the Safe compartment
1691f110e0Safresh1    - actually check that we call execution methods on a Safe object
1791f110e0Safresh1
1891f110e0Safresh12.34
1991f110e0Safresh1    - Test bug #111462, Safe + %^H + disallowed ops (Father Chrysostomos)
2091f110e0Safresh1      cf Perl 5 change 42440e3c68e8bafb7e2a74763360939de0fad6be
2191f110e0Safresh1
2291f110e0Safresh12.33 Tue Apr  3 2012
23*b8851fccSafresh1      Don't eval code under "no strict" (Father Chrysostomos)
2491f110e0Safresh1      cf. Perl 5 change 25dc25e774abbe993644899cf4d9f9925a9fb9a8
2591f110e0Safresh1
2691f110e0Safresh12.32 Sat Mar 31 2012
2791f110e0Safresh1    - Make Safe play nice with Devel::Cover
2891f110e0Safresh1
29898184e3Ssthen2.31 Fri Jan 20 2012
30898184e3Ssthen    - Now need to use code points above 255 to get SWASHNEW to load
31898184e3Ssthen
32898184e3Ssthen2.30 Tue Dec  6 2011
33898184e3Ssthen    - Fix bad interaction with loading Tie::Hash::NamedCapture
34898184e3Ssthen      on perls >= 5.14.0 [rt.cpan.org #72872]
35898184e3Ssthen
36898184e3Ssthen2.29 Sun Oct 31 2010
37898184e3Ssthen    - Add &version::vxs::VCMP to Safe's default share
38898184e3Ssthen
39898184e3Ssthen2.28 Mon Sep 13 2010
40898184e3Ssthen    - Avoid infinite loop in _find_code_refs.
41898184e3Ssthen      Patch by Yasushi Nakajima (rt.cpan.org #61262)
42898184e3Ssthen
43b39c5158Smillert2.27 Thu Apr 29 2010
44b39c5158Smillert    - Wrap coderefs returned by reval() and rdo()
45b39c5158Smillert    - Add even more version::vxs routines to the default share
46b39c5158Smillert
47b39c5158Smillert2.26 Mon Mar  9 2010
48b39c5158Smillert    - Restore compatibility with perls < 5.8.9
49b39c5158Smillert
50b39c5158Smillert2.25 Sun Mar  7 2010
51b39c5158Smillert    - More security fixes by Nick Cleaton
52b39c5158Smillert
53b39c5158Smillert2.24 Sat Mar  6 2010
54b39c5158Smillert    - Clean the stashes from the Safe compartment after evaluation of code.
55b39c5158Smillert      (Nick Cleaton, Tim Bunce, Rafael Garcia-Suarez)
56b39c5158Smillert    - Add methods wrap_code_ref and wrap_code_refs_within (Tim Bunce)
57b39c5158Smillert    - Share SWASHGET in perls < 5.10 (R.G-S)
58b39c5158Smillert    - Add more version::vxs routines to the default share (Tatsuhiko Miyagawa)
59b39c5158Smillert
60b39c5158Smillert2.23 Mon Feb 22 2010
61b39c5158Smillert    - Install Safe in "site" instead of "perl" for perls > 5.10
62b39c5158Smillert    - [perl #72942] Can't perform unicode operations in Safe compartment
63b39c5158Smillert      (Tim Bunce)
64b39c5158Smillert    - Add some symbols from version::vxs to the default share
65b39c5158Smillert
66b39c5158Smillert2.22 Thu Feb 11 2010
67b39c5158Smillert    fix [perl #72700]: An exception thrown from a closure was getting lost.
68b39c5158Smillert    (Tim Bunce)
69b39c5158Smillert
70b39c5158Smillert2.21 Thu Jan 14 2010
71b39c5158Smillert    fix [perl #72068]: An anonymous sub created by the Safe container will have
72b39c5158Smillert    bogus arguments passed to it.
73b39c5158Smillert
74b39c5158Smillert2.20 Tue Dec 1 2009
75b39c5158Smillert    fix [rt.cpan.org #51574] Safe.pm sort {} bug accessing $a and $b with
76b39c5158Smillert        -Dusethreads (Tim Bunce)
77b39c5158Smillert
78b39c5158Smillert2.19 Tue Aug 25 2009
79b39c5158Smillert    t/safeuniversal.t failure under 5.8.9 (Jerry D. Hedden)
80b39c5158Smillert
81b39c5158Smillert2.18 released with perl 5.10.1
82b39c5158Smillert    [perl #68530] "version::CLASS" warning in Safe.pm (Dave Mitchell)
83b39c5158Smillert
84b39c5158Smillert2.17 Sun Jun 28 2009
85b39c5158Smillert    Sync with code reorganisation in bleadperl
86b39c5158Smillert    Plus new tests
87b39c5158Smillert
88b39c5158Smillert2.16 Thu Mar 13 2008
89b39c5158Smillert    Fix a few backcompat issues:
90b39c5158Smillert
91b39c5158Smillert    Change 33503 on 2008/03/13 by rgs@stcosmo
92b39c5158Smillert	Regexp::DESTROY was only added in 5.8.1
93b39c5158Smillert
94b39c5158Smillert    Change 33278 on 2008/02/11 by rgs@stcosmo
95b39c5158Smillert	Fix test to pass en 5.6.2 (unpack is needed by version.pm there)
96b39c5158Smillert
97b39c5158Smillert2.15 Wed Feb  6 2008
98b39c5158Smillert    Change 33238 on 2008/02/05 by rgs@stcosmo
99b39c5158Smillert	Adapt Safe innards to older (XS) versions of version.pm
100b39c5158Smillert
101b39c5158Smillert    Change 33237 on 2008/02/05 by rgs@stcosmo
102b39c5158Smillert	Add a new test for Safe
103b39c5158Smillert
104b39c5158Smillert    Change 33236 on 2008/02/05 by rgs@stcosmo
105b39c5158Smillert	Fix CPAN bug #32896: make version.pm loadable in a Safe compartment
106b39c5158Smillert
107b39c5158Smillert    Change 33170 on 2008/02/01 by nicholas@nicholas-bouvard
108b39c5158Smillert	Break apart the list of functions defined in universal.c by perl
109b39c5158Smillert	version (from 5.8.8 upwards)
110b39c5158Smillert
111b39c5158Smillert2.14 Mon Jan 30 2008
112b39c5158Smillert	- Make Safe work with Perl 5.6 (changes 33102 and 33105 to perl)
113b39c5158Smillert
114b39c5158Smillert2.13 Mon Jan 28 2008
115b39c5158Smillert	- Backport the bleadperl version to CPAN. Changes:
116b39c5158Smillert
117b39c5158Smillert    Change 33096 on 2008/01/28 by rgs@stcosmo
118b39c5158Smillert
119b39c5158Smillert	    Bump the version of Safe
120b39c5158Smillert
121b39c5158Smillert    Change 33093 on 2008/01/28 by rgs@stcosmo
122b39c5158Smillert
123b39c5158Smillert	    In Safe, load Carp::Heavy only if it exists (to remain
124b39c5158Smillert	    compatible with older perls)
125b39c5158Smillert
126b39c5158Smillert    Change 32597 on 2007/12/08 by rgs@counterfly
127b39c5158Smillert
128b39c5158Smillert	    Change maintainer address for Safe.
129b39c5158Smillert
130b39c5158Smillert    Change 32103 on 2007/10/12 by rgs@counterfly
131b39c5158Smillert
132b39c5158Smillert	    Funny symbol table names can be shared, too
133b39c5158Smillert
134b39c5158Smillert    Change 32102 on 2007/10/12 by rgs@counterfly
135b39c5158Smillert
136b39c5158Smillert	    Share the internal XS functions defined in universal.c
137b39c5158Smillert	    to Safe compartments
138b39c5158Smillert
139b39c5158Smillert    Change 31610 on 2007/07/13 by rgs@stcosmo
140b39c5158Smillert
141b39c5158Smillert	    Use new style L<> links in POD
142b39c5158Smillert
143b39c5158Smillert    Change 26814 on 2006/01/13 by rgs@stencil
144b39c5158Smillert
145b39c5158Smillert	    Add a link to the Opcode doc in Safe.
146b39c5158Smillert	    (see RT CPAN ticket #8579)
147b39c5158Smillert
148b39c5158Smillert2.11 Fri Jul  2 2004
149b39c5158Smillert	- Backport the bleadperl version to CPAN. Changes:
150b39c5158Smillert
151b39c5158Smillert    Change 22898 by rgs@valis on 2004/06/03 09:02:31
152b39c5158Smillert
153b39c5158Smillert	Carp was mostly unusable with Safe because it may require
154b39c5158Smillert	Carp::Heavy at run-time (while require() is forbidden.)
155b39c5158Smillert	Have Safe load Carp::Heavy.
156b39c5158Smillert
157b39c5158Smillert    Change 21063 by rgs@rgs-home on 2003/09/07 18:25:23
158b39c5158Smillert
159b39c5158Smillert	Subject: [PATCH] Re: [perl #23656] Safe reval bleeds local variable values
160b39c5158Smillert	From: Dave Mitchell <davem@fdgroup.com>
161b39c5158Smillert	Date: Sun, 7 Sep 2003 19:14:44 +0100
162b39c5158Smillert	Message-ID: <20030907181444.GA7058@fdgroup.com>
163b39c5158Smillert
164b39c5158Smillert2.09 Sun Oct  6 14:12:40 CEST 2002
165b39c5158Smillert	- Upgraded the Makefile.PL to install Safe.pm to the correct place.
166b39c5158Smillert	- Made it work on 5.6 at least, maybe even on 5.005?
167b39c5158Smillert
168b39c5158Smillert2.08 Sat Oct  5 18:05:32 CEST 2002
169b39c5158Smillert	- First CPAN release, prompted by bug number 17744 on rt.perl.org.
170b39c5158Smillert	  http://bugs6.perl.org/rt2/Ticket/Display.html?id=17744
171b39c5158Smillert	- Change 17977 by rgs@rgs-home on 2002/10/04 20:01:54
172b39c5158Smillert	  Complement to change #17976 :
173b39c5158Smillert	  there was a similar bug on rdo().
174b39c5158Smillert	  Increment $Safe::VERSION.
175b39c5158Smillert	- Change 17976 by rgs@rgs-home on 2002/10/04 19:44:48
176b39c5158Smillert	  Fix bug #17744, suggested by Andreas Jurenda,
177b39c5158Smillert	  tweaked by rgs (security hole in Safe).
178b39c5158Smillert	- Change 17973 by rgs@rgs-home on 2002/10/03 20:34:13
179b39c5158Smillert	  Change the warning message "%s trapped by operation mask"
180b39c5158Smillert	  to include '' around the op name. Document it in perldiag.
181b39c5158Smillert	- Change 17729 by hv@hv-star.knots.net on 2002/08/17 02:33:15
182b39c5158Smillert	  Subject: [PATCH] Safe.pm documentation
183b39c5158Smillert          From: Slaven Rezic <slaven.rezic@berlin.de>
184b39c5158Smillert          Date: Sat, 10 Aug 2002 19:30:38 +0200 (CEST)
185b39c5158Smillert          Message-id: <200208101730.g7AHUc9p001668@vran.herceg.de>
186