Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
  • 8 commits
  • 6 files changed
  • 0 commit comments
  • 1 contributor
Commits on Apr 10, 2012
@renormalist rename ChangeLog
mark new format with according name
c1fb511
@renormalist changelog++
en passant convert to new format
b174f48
@renormalist dependency to Safe.pm 2.30
...now declared differently so Dist::Zilla picks
up the required version.
57d0b07
@renormalist deactivated unused parallelization support 2a43b98
Commits on Apr 11, 2012
@renormalist fix whitespace
fix leading tabs, some trailing whitespace, but
then disable the remaining trailing whitespace check
because I want empty lines in verbatim sections.
f39c56f
@renormalist documentation cleanup
- drop some unused URLs now in META
- point URLs to metacpan.org
1d1e54f
@renormalist no more static_version in dist.ini
...as I now use V as this:

 V=0.45 dzil [build|release]

for the first Dist::Zilla based release
and then hopefully the automagic
version increment.
17143fd
@renormalist v0.45
  * Maintenance
  - use Dist::Zilla for building
  - xt/ benchmarks without Safe.pm
  - small optimizations [by Alexei Znamensky]

  * Bugfixes
  - RT#69042: use module Sys::CPU to figure # of processors
    (but deactivated completely for now)
  - RT#72059: incorrect POD syntax : =item * <text>
  - RT#76016: Please depend on Safe 2.30
aa5a129
View
160 ChangeLog → Changes
@@ -1,14 +1,24 @@
-2011-06-22 Steffen Schwigon <ss5@renormalist.net>
+Revision history for {{$dist->name}}
- * v0.44
+{{$NEXT}}
- * fix RT#68882 - the value() filter function worked odd
- [reported by Alexei "RUSSOZ" Znamensky]
+0.45 2012-04-11 10:14:02 Europe/Berlin
+ * Maintenance
+ - use Dist::Zilla for building
+ - xt/ benchmarks without Safe.pm
+ - small optimizations [by Alexei Znamensky]
-2011-04-16 Steffen Schwigon <ss5@renormalist.net>
+ * Bugfixes
+ - RT#69042: use module Sys::CPU to figure # of processors
+ (but deactivated completely for now)
+ - RT#72059: incorrect POD syntax : =item * <text>
+ - RT#76016: Please depend on Safe 2.30
- * v0.43
+0.44 2011-06-22
+ - fix RT#68882 - the value() filter function worked odd
+ [reported by Alexei "RUSSOZ" Znamensky]
+0.43 2011-04-16
* Mainly a maintenance release
* Bugfixes
@@ -22,15 +32,10 @@
- docs: hint to more slowness with Safe.pm
- run xt/ benchmarks without Safe.pm
-2011-01-04 Steffen Schwigon <ss5@renormalist.net>
-
- * v0.42
+0.42 2011-01-04
- dependency to Safe.pm raised
-2010-10-01 Steffen Schwigon <ss5@renormalist.net>
-
- * v0.41
-
+0.41 2010-10-01
* Incompatible changes:
- restrict filter expression syntax with Safe.pm
- set local $Data::DPath::USE_SAFE = 0 to enable old eval again
@@ -44,10 +49,7 @@
* Refactoring for easier code and later hopefully easier
parallelization. Currently slightly slower.
-2010-07-13 Steffen Schwigon <ss5@renormalist.net>
-
- * v0.40
-
+0.40 2010-07-13
* Incompatible API changes!
* Cleanup iterator style API and document it. It now consists of:
@@ -61,19 +63,13 @@
* Make accessing internal point attributes ("attrs") a public API
-2010-07-10 Steffen Schwigon <ss5@renormalist.net>
-
- * v0.37
-
+0.37 2010-07-10
* Introduce Iterator style context usage
- dpathi($data, $path_str) returns an iterator on which you can
do incremental searches using isearch($path_str)
- API still experimental
-2010-07-09 Steffen Schwigon <ss5@renormalist.net>
-
- * v0.36
-
+0.36 2010-07-09
* New axis ::ancestor
- selects all ancestors (parent, grandparent, etc.) of the current node
@@ -86,22 +82,13 @@
- this might make the code a bit slower again, but I hope it helps
profiling and optimizing on encapsulated small parts in the long run
-2010-04-07 Steffen Schwigon <ss5@renormalist.net>
-
- * v0.35
-
+0.35 2010-04-07
* Bummer! Fixed stupid perl version checking in tests.
-2010-03-27 Steffen Schwigon <ss5@vinyl.webit.de>
-
- * v0.34
-
+0.34 2010-03-27
* solve some CPAN testing issues
-2010-03-24 Steffen Schwigon <ss5@renormalist.net>
-
- * v0.33
-
+0.33 2010-03-24
* Fix regression that sneaked in with the //KEY-look-ahead
optimization
@@ -111,23 +98,14 @@
- comparison with Data::Path reworked
- more verbose array semantics described
-2009-09-25 Steffen Schwigon <ss5@renormalist.net>
-
- * v0.32
-
+0.32 2009-09-25
* I cannot believe that I forgot to define the dependency to
Text::Balanced! Let's see if this fixes some FAIL reports.
-2009-09-22 Steffen Schwigon <ss5@renormalist.net>
-
- * v0.31
-
+0.31 2009-09-22
* fix docs and changelog of 0.30 which appeared rather incomplete
-2009-09-22 Steffen Schwigon <ss5@renormalist.net>
-
- * v0.30
-
+0.30 2009-09-22
* Yet more speed optimizations:
- switch from Object::Tiny::RW to Class::XSAccessor::Array
- try fast ref() before falling back to slower reftype()
@@ -151,10 +129,7 @@
- //ZOMTEC[ reftype eq "Foo::Bar" ] # reftype just returns value
- //ZOMTEC[ is_reftype("Foo::Bar") ] # is_reftype checks against arg
-2009-09-17 Steffen Schwigon <ss5@renormalist.net>
-
- * v0.21
-
+0.21 2009-09-17
* even more aggressive speed optimizations:
* dropped Moose and MX::Declare completely in favor of
@@ -172,10 +147,7 @@
* thanks to Devel::NYTProf which helped a lot profiling this
-2009-09-16 Steffen Schwigon <ss5@renormalist.net>
-
- * v0.20
-
+0.20 2009-09-16
* aggressive speed optimizations, needed @ work:
* the ANYSTEP "//" not looks ahead to the following step and
@@ -188,26 +160,17 @@
* partially this led to more dirty code, I try to fix this later
-2009-08-11 Steffen Schwigon <ss5@renormalist.net>
-
- * v0.17
-
+0.17 2009-08-11
* understand even more strange perl'oid filter expressions by
using extract_codeblock instead of extract_bracketed
* tests for this
-2009-08-11 Steffen Schwigon <ss5@renormalist.net>
-
- * v0.16
-
+0.16 2009-08-11
* filter expressions can now contain slashes (just as you would
naturally expect)
-2009-08-11 Steffen Schwigon <ss5@renormalist.net>
-
- * v0.15
-
+0.15 2009-08-11
* fix semantics of filter function key(). It now provides the key
under which the value is associated.
@@ -217,10 +180,7 @@
* moved distro and development tests under xt/
-2009-07-14 Steffen Schwigon <ss5@renormalist.net>
-
- * v0.14
-
+0.14 2009-07-14
* The overloaded smartmatch "~~" does not work commutative anymore
in bleadperl and Perl 5.10.1.
@@ -228,50 +188,30 @@
* minor additions to the comparison section
-2009-07-14 Steffen Schwigon <ss5@renormalist.net>
-
- * v0.13
-
+0.13 2009-07-14
* comparison matrix Data::DPath vs. Data::Path, requested in
RT#47540, http://rt.cpan.org/Public/Bug/Display.html?id=47540
-2009-06-26 Steffen Schwigon <ss5@renormalist.net>
-
- * v0.12
-
+0.12 2009-06-26
* allow returning references into original data structure via new
frontend function "dpathr" instead of "dpath"
-2009-05-15 Steffen Schwigon <ss5@renormalist.net>
-
- * v0.11
-
+0.11 2009-05-15
* Dependencies raised to current MooseX stuff
-2009-04-16 Steffen Schwigon <ss5@renormalist.net>
-
- * v0.10
-
- * fix forgotten "use" for standalone using of ::Path
-
+0.10 2009-04-16
* new path step: nostep "." (for filter chaining and on difficult
elements, like root node)
* documentation improvements
-2009-02-12 Steffen Schwigon <ss5@renormalist.net>
-
- * v0.09
-
+0.09 2009-02-12
* Quoted special chars ("*", "//", "..") now work as keys
* compatibility with newest MooseX::Method::Signatures on class
methods [Florian Ragwitz]
-2009-02-11 Steffen Schwigon <ss5@renormalist.net>
-
- * v0.08
-
+0.08 2009-02-11
* Fix missing dependency to Test::Deep. Thanks, CPAN testers.
* v0.07
@@ -285,25 +225,16 @@
* "package" statements to help the CPAN indexer.
-2009-02-10 Steffen Schwigon <ss5@renormalist.net>
-
- * v0.05
-
+0.05 2009-02-10
* more docs
* tests for negative array indexes
-2009-02-10 Steffen Schwigon <ss5@renormalist.net>
-
- * v0.04
-
+0.04 2009-02-10
* Fix $VERSION inside MoosX::Declare'd class not recognized by
CPAN indexer
-2009-02-09 Steffen Schwigon <ss5@renormalist.net>
-
- * v0.03
-
+0.03 2009-02-09
* The first useful release, see test suite for many examples!
* much improved path tokenizer
@@ -334,12 +265,7 @@
* tests do not depend on result order
-2008-11-26 Steffen Schwigon <ss5@renormalist.net>
-
- * v0.01
-
+0.01 2008-11-26
* initial CPAN version
* basic paths, parents, placeholders
-
-
View
2  dist.ini
@@ -5,9 +5,9 @@ copyright_holder = Steffen Schwigon
[@SCHWIGON]
dist = Data-DPath
-static_version = 0.45
repository_at = github
repository = git://github.com/renormalist/data-dpath.git
repository_web = http://github.com/renormalist/data-dpath
+disable_trailing_whitespace_tests = 1
[ManifestSkip]
View
52 lib/Data/DPath.pm
@@ -804,44 +804,6 @@ Steffen Schwigon, C<< <schwigon at cpan.org> >>
Florian Ragwitz (cleaner exports, $_ scoping, general perl consultant)
-=head1 BUGS
-
-Please report any bugs or feature requests to C<bug-data-dpath at
-rt.cpan.org>, or through the web interface at
-L<http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Data-DPath>. I will
-be notified, and then you'll automatically be notified of progress on
-your bug as I make changes.
-
-=head1 SUPPORT
-
-You can find documentation for this module with the perldoc command.
-
- perldoc Data::DPath
-
-
-You can also look for information at:
-
-=over 4
-
-=item RT: CPAN's request tracker
-
-L<http://rt.cpan.org/NoAuth/Bugs.html?Dist=Data-DPath>
-
-=item AnnoCPAN: Annotated CPAN documentation
-
-L<http://annocpan.org/dist/Data-DPath>
-
-=item CPAN Ratings
-
-L<http://cpanratings.perl.org/d/Data-DPath>
-
-=item Search CPAN
-
-L<http://search.cpan.org/dist/Data-DPath>
-
-=back
-
-
=head1 SEE ALSO
There are other modules on CPAN which are related to finding elements
@@ -851,26 +813,22 @@ in data structures.
=item Data::Path
-http://search.cpan.org/dist/Data-Path
+http://metacpan.org/release/Data-Path
=item XML::XPathEngine
-http://search.cpan.org/dist/XML-XPathEngine
+http://metacpan.org/release/XML-XPathEngine
=item Tree::XPathEngine
-http://search.cpan.org/dist/Tree-XPathEngine
+http://metacpan.org/release/Tree-XPathEngine
=item Class::XPath
-http://search.cpan.org/dist/Class-XPath
+http://metacpan.org/release/Class-XPath
=item Hash::Path
-http://search.cpan.org/dist/Hash-Path
+http://metacpan.org/release/Hash-Path
=back
-
-=cut
-
-# End of Data::DPath
View
10 lib/Data/DPath/Context.pm
@@ -12,17 +12,17 @@ use Scalar::Util 'reftype';
use Data::DPath::Filters;
use Iterator::Util;
use List::Util 'min';
-use Sys::CPU;
+#use Sys::CPU;
use POSIX;
-use Safe;
+use Safe 2.30;
# run filter expressions in own Safe.pm compartment
our $COMPARTMENT;
our $THREADCOUNT;
BEGIN {
- $THREADCOUNT = $Data::DPath::PARALLELIZE ? Sys::CPU::cpu_count : 1;
- print "THREADCOUNT: $THREADCOUNT\n";
+ #$THREADCOUNT = $Data::DPath::PARALLELIZE ? Sys::CPU::cpu_count : 1;
+ #print "THREADCOUNT: $THREADCOUNT\n";
package Data::DPath::Filters;
$COMPARTMENT = Safe->new;
$COMPARTMENT->permit(qw":base_core");
@@ -497,7 +497,7 @@ See L<Iterator style|Data::DPath/"Iterator style"> for usage.
It returns the reference to the actual data from the current context's
first element. This mostly makes sense on contexts returned by
-iterators as there is only one point there.
+iterators as there is only one point there.
(Having the reference theoretically allows you to even change the data
on this point. It's not yet clear what impact this has to currently
View
2  xt/large_data.t
@@ -16,7 +16,7 @@ local $Data::DPath::USE_SAFE = 0;
BEGIN {
print "TAP Version 13\n";
plan tests => 3;
- use_ok( 'Data::DPath' );
+ use_ok( 'Data::DPath' );
}
my $base_data = {
View
2  xt/large_tapdom.t
@@ -12,7 +12,7 @@ use TAP::DOM;
BEGIN {
print "TAP Version 13\n";
plan tests => 3;
- use_ok( 'Data::DPath' );
+ use_ok( 'Data::DPath' );
}
my $tap;

No commit comments for this range

Something went wrong with that request. Please try again.