summaryrefslogtreecommitdiff
path: root/ext/Safe
Commit message (Collapse)AuthorAgeFilesLines
* Move Safe from ext/ to dist/Nicholas Clark2009-09-2912-1552/+0
|
* Fix Safe tests under PERL_CORE and make safeops.t run againRafael Garcia-Suarez2009-08-301-6/+2
|
* Remove test boilerplate from Safe testsRafael Garcia-Suarez2009-08-306-21/+1
| | | | | | (except safeops.t, which needs to have the perl sources available, so it must be skipped when run from the CPAN distribution. However it's currently skipped under a core build too.)
* Don't install Safe in arch directory if this is a core build or if we're >= ↵Rafael Garcia-Suarez2009-08-301-2/+3
| | | | | | | | 5.11.0 The first condition is to allow to install properly on perls <= 5.10.1 from CPAN, while remaining buildable when the ext/ reorganisation is integrated in maint-5.10.
* Add missing files from the Safe CPAN distributionRafael Garcia-Suarez2009-08-306-1/+149
| | | | This allows to remove the .gitignore file there.
* Bump Safe version to 2.19Rafael Garcia-Suarez2009-08-251-1/+1
|
* Merge branch 'blead' into dual/SafeRafael Garcia-Suarez2009-08-251-2/+4
|\
| * bump Safe version to 2.18David Mitchell2009-08-191-1/+1
| |
| * [perl #68530] "version::CLASS" warning in Safe.pmDavid Mitchell2009-08-171-2/+4
| | | | | | | | | | | | | | If any of the std variables being aliased into the Safe::rootN package don't actually exist, and if they are not one of the special "don't warn" variables, then you can get an 'only used once' warning. So lets not. (Also bumps version number).
* | t/safeuniversal.t failure under 5.8.9Jerry D. Hedden2009-08-071-4/+5
|/ | | | | | | | | | | | | | | [RT CPAN #48505] The "no warnings 'redefined'" directives in the compartments in t/safeuniversal.t cause test failures under 5.8.9 because warnings.pm has a 'use Carp' directive and Carp.pm uses 'eval' to 'require Carp::Heavy'. The attached patch replaces the "no warnings 'redefined'" directive with a $SIG{__WARN__} trap for 5.8.9. While the redefine warning for UNIVERSAL::can is suppressed by the trap, the warning UNIVERSAL::isa still shows up. However, the failing test will now pass under 5.8.9.
* Silence warnings in test with 5.10.0Rafael Garcia-Suarez2009-06-281-0/+3
|
* Bump Safe version to 2.17 for CPAN releaseRafael Garcia-Suarez2009-06-281-1/+1
|
* Mark all .t and .pm files as non executableRafael Garcia-Suarez2009-06-062-0/+0
|
* More gitignore adjustmentsRafael Garcia-Suarez2009-02-131-0/+1
| | | | | | | | | Ignore lib/Attribute, now that Attribute::Handlers is under ext/. Ignore generated Makefile.PL files for Safe and Attribute-Handlers. I preferred putting those in specific .gitignore files instead of ignoring Makefile.PLs in the whole ext/ hierarchy, in order to ensure a less confusing git behaviour for future generations.
* make_ext.pl now generates a Makefile.PL if needed.Nicholas Clark2009-02-121-8/+0
| | | | Remove ext/Safe/Makefile.PL as a proof of concept.
* Move Safe.pm into ext/Safe, and temporarily give it a Makfile.PLNicholas Clark2009-02-102-0/+642
|
* Fix test to pass en 5.6.2 (unpack is needed by version.pm there)Rafael Garcia-Suarez2008-02-111-1/+1
| | | p4raw-id: //depot/perl@33278
* Adapt Safe innards to older (XS) versions of version.pmRafael Garcia-Suarez2008-02-051-1/+1
| | | p4raw-id: //depot/perl@33238
* Add a new test for SafeRafael Garcia-Suarez2008-02-051-0/+30
| | | p4raw-id: //depot/perl@33237
* Document why ok() is being used instead of like(), to stop someoneNicholas Clark2008-01-291-0/+2
| | | | | undoing it. p4raw-id: //depot/perl@33105
* Make this test pass with the Test::More that comes with perl 5.6.2Rafael Garcia-Suarez2008-01-291-3/+3
| | | p4raw-id: //depot/perl@33102
* New tests for new ops. Most of them are TODORafael Garcia-Suarez2008-01-181-1/+7
| | | p4raw-id: //depot/perl@32995
* More tests for SafeRafael Garcia-Suarez2007-10-171-2/+19
| | | p4raw-id: //depot/perl@32117
* New test for SafeRafael Garcia-Suarez2007-10-121-0/+29
| | | p4raw-id: //depot/perl@32104
* Avoid ext/Safe/t/safeops.t needing to keep its tests in lockstep withNicholas Clark2006-11-121-363/+373
| | | | | opcode.pl OP order. p4raw-id: //depot/perl@29250
* Remove :base_io from the set of default "safe" opcodes.Rafael Garcia-Suarez2005-07-201-0/+2
| | | | | | | This fixes bug [perl #36213] "Possible flaw in Safe.pm/Opcode.pm that allows access to any file" but introduces a backward compatibility issue. p4raw-id: //depot/perl@25204
* returning would be good, too.Jarkko Hietaniemi2003-08-121-1/+1
| | | p4raw-id: //depot/perl@20640
* No dor in maint.Jarkko Hietaniemi2003-08-121-0/+1
| | | p4raw-id: //depot/perl@20639
* Add a new regression test for Safe : tests that all opsRafael Garcia-Suarez2003-08-111-0/+415
| | | | | | can be trapped by a Safe compartement (except for the ones that can't.) p4raw-id: //depot/perl@20623
* No more ext/*/*.t, move them all to ext/*/t.Jarkko Hietaniemi2003-07-283-0/+0
| | | p4raw-id: //depot/perl@20269
* Upgrade Safe.pm to 2.09 after CPAN backport.Artur Bergman2002-10-063-13/+18
| | | | | Fix testcases to run properly outside perl core build enviroment. p4raw-id: //depot/perl@17980
* Complement to change #17976 :Rafael Garcia-Suarez2002-10-041-3/+18
| | | | | | | there was a similar bug on rdo(). Increment $Safe::VERSION. p4raw-link: @17976 on //depot/perl: 33f7e1aa9bf0173d92dc0c0b35d57754dbf6c87e p4raw-id: //depot/perl@17977
* Fix bug #17744, suggested by Andreas Jurenda,Rafael Garcia-Suarez2002-10-041-0/+33
| | | | | tweaked by rgs (security hole in Safe). p4raw-id: //depot/perl@17976
* Change the warning message "%s trapped by operation mask"Rafael Garcia-Suarez2002-10-031-1/+1
| | | | | to include '' around the op name. Document it in perldiag. p4raw-id: //depot/perl@17973
* Re: Réf. : Re: PATCH proposal for ext/Safe/safe2.tNicholas Clark2002-03-151-0/+3
| | | | | Message-ID: <20020314230522.GG363@Bagpuss.unfortu.net> p4raw-id: //depot/perl@15230
* Extra paranoia from Nicholas Clark.Jarkko Hietaniemi2002-03-141-4/+8
| | | p4raw-id: //depot/perl@15224
* Re: PATCH proposal for ext/Safe/safe2.tNicholas Clark2002-03-141-7/+8
| | | | | Message-ID: <20020313142250.G92566@plum.flirble.org> p4raw-id: //depot/perl@15223
* The Grand Trek: move the *.t files from t/ to lib/ and ext/.Jarkko Hietaniemi2001-06-182-0/+213
| | | | | | | | | | | | | | | | | | | | | | | | No doubt I made some mistakes like missed some files or misnamed some files. The naming rules were more or less: (1) if the module is from CPAN, follows its ways, be it t/*.t or test.pl. (2) otherwise if there are multiple tests for a module put them in a t/ (3) otherwise if there's only one test put it in Module.t (4) helper files go to module/ (locale, strict, warnings) (5) use longer filenames now that we can (but e.g. the compat-0.6.t and the Text::Balanced test files still were renamed to be more civil against the 8.3 people) installperl was updated appropriately not to install the *.t files or the help files from under lib. TODO: some helper files still remain under t/ that could follow their 'masters'. UPDATE: On second thoughts, why should they. They can continue to live under t/lib, and in fact the locale/strict/warnings helpers that were moved could be moved back. This way the amount of non-installable stuff under lib/ stays smaller. p4raw-id: //depot/perl@10676
* perl 5.003_01: [patch re-organisation and patch series introduction]Charles Bailey1996-07-313-808/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is my patch _01 to perl5.003. This patch contains the last few months' worth of bugfixes and additions, since the patch to version 5.003 was deliberately kept small. A summary of major revisions and additions can be found in the diff of the Changes file from the standard distribution, which is the first diff in the patch below. The detailed changes to each file are described at the head of the diff for that file, on lines beginning with #~, so you can extract the comments by saying perl -ne 'print if /^(?:#~|diff)/'. This patch is a series of context diffs, since some people have mentioned that their copy of patch can't handle unidiffs. Please apply it to a clean copy of perl5.003 using patch -p1 -N. Before applying the patch, please execute the following commands, or their moral equivalent; you may feed this patch to /bin/sh in order to do so. Enjoy. Charles Bailey <bailey@genetics.upenn.edu> July 31, 1996 [ re-organisation changes: # The code for the Safe extension has been subsumed into the Opcode extension, # though the calling sequence hasn't changed rm -rf ext/Safe rm -f t/lib/safe.t # Removed due to copyright notice. Text documentation is supplied. rm -f ext/SDBM_File/sdbm/readme.ps # Changes subsumed into new version of DB_File rm -f os2/diff.db_file # Moved to main source directory as README.os2 rm -f os2/README ]
* Add NAME attribute to suppress MakeMaker "guess" warningPerl 5 Porters1996-06-231-0/+1
|
* perl 5.002perl-5.002Andy Dougherty1996-02-281-6/+9
| | | | | [editor's note: changes seem to be mostly module updates, documentation changes and some perl API macro additions]
* perl 5.002gamma: ext/Safe/Safe.xsPerl 5 Porters1996-02-111-2/+2
| | | | | Added +1 to maxo at Malcom's suggestion. AIX will probably stil get bad free().
* VERSION PatchPaul Marquess1996-02-061-2/+5
|
* perl5.002beta3Perl 5 Porters1996-02-023-11/+296
| | | | | | | | | | | | | | | | | [editor's note: no patch file was found for this release, so no fine-grained changes] I can't find the password for our ftp server, so I had to drop it into ftp://ftp.sems.com/pub/incoming/perl5.002b3.tar.gz, which is a drop directory you can't ls. The current plan is that Andy is gonna whack on this a little more, and then release a gamma in a few days when he's happy with it. So don't get carried away. This is now *late* beta. In other words, have less than the appropriate amount of fun. :-) Larry
* Patch for older compilers which had namespace confusion.Perl 5 Porters1996-01-051-4/+4
|
* Patch from Andreas.Perl 5 Porters1996-01-111-2/+13
|
* perl 5.002beta2 patchPerl 5 Porters1996-01-131-1/+4
| | | | | Disable prototypes. Disable pod2man.
* This is patch.2b1g to perl5.002beta1.Andy Dougherty1995-12-213-0/+502
cd to your perl source directory, and type patch -p1 -N < patch.2b1g This patch is just my packaging of Tom's documentation patches he released as patch.2b1g. Patch and enjoy, Andy Dougherty doughera@lafcol.lafayette.edu Dept. of Physics Lafayette College, Easton PA 18042