Permalink
Browse files

release 0.92

  • Loading branch information...
1 parent 5cb9fd8 commit 8117a1890f8b6b5b2ce6bb83c196799e099dfea3 @pkarman pkarman committed Mar 19, 2013
View
@@ -432,3 +432,7 @@ Revision history for Perl extension Search::HiLiter.
* XML->escape() now converts single quote to ' instead of ' in order to conform with
both the HTML and XML specs.
+0.92 19 March 2013
+ * QueryParser->stemmer will now coerce return values through to_utf8() (RT #83771)
+ * fix off-by-one memory bug regression introduced in 0.91
+
View
@@ -75,6 +75,7 @@ t/37-heatmap-long-sentences.t
t/38-hiliter-multiple-terms.t
t/39-tokenizer-refcounts.t
t/40-perl517-regex.t
+t/41-hiliter-blessed-query.t
t/90-leaktrace.t
t/91-valgrind.t
t/docs/ascii.txt
View
@@ -6,7 +6,7 @@ use Carp;
use Scalar::Util qw( openhandle );
use File::Basename;
-our $VERSION = '0.91';
+our $VERSION = '0.92';
use XSLoader;
XSLoader::load( 'Search::Tools', $VERSION );
@@ -5,7 +5,7 @@ use Carp;
use Data::Dump qw( dump );
use base qw( Search::Tools::Object );
-our $VERSION = '0.91';
+our $VERSION = '0.92';
# debugging only
my $OPEN = '[';
@@ -8,7 +8,7 @@ use Search::Tools::XML;
use Search::Tools::UTF8;
use Data::Dump qw( dump );
-our $VERSION = '0.91';
+our $VERSION = '0.92';
my $XML = Search::Tools::XML->new;
@@ -6,7 +6,7 @@ use Carp;
#use Data::Dump qw( dump );
use base qw( Rose::ObjectX::CAF::MethodMaker );
-our $VERSION = '0.91';
+our $VERSION = '0.92';
=head1 NAME
@@ -6,7 +6,7 @@ use base qw( Rose::ObjectX::CAF );
use Scalar::Util qw( blessed );
use Search::Tools::MethodMaker;
-our $VERSION = '0.91';
+our $VERSION = '0.92';
__PACKAGE__->mk_accessors(qw( debug ));
@@ -13,7 +13,7 @@ use Search::Tools::UTF8;
use Search::Tools::Tokenizer;
use Search::Tools::XML;
-our $VERSION = '0.91';
+our $VERSION = '0.92';
__PACKAGE__->mk_ro_accessors(
qw(
@@ -12,7 +12,7 @@ use Search::Tools::UTF8;
use Search::Tools::XML;
use Search::Tools::RegEx;
-our $VERSION = '0.91';
+our $VERSION = '0.92';
my $XML = Search::Tools::XML->new();
my $C2E = $XML->char2ent_map;
@@ -10,7 +10,7 @@ use overload
#use Data::Dump qw( dump );
-our $VERSION = '0.91';
+our $VERSION = '0.92';
__PACKAGE__->mk_ro_accessors(
qw(
@@ -11,7 +11,7 @@ use Search::Tools::HeatMap;
use base qw( Search::Tools::Object );
-our $VERSION = '0.91';
+our $VERSION = '0.92';
# extra space here so pmvers works against $VERSION
our $ellip = ' ... ';
@@ -6,7 +6,7 @@ use base qw( Search::Tools::Object );
use Text::Aspell;
use Search::Tools::QueryParser;
-our $VERSION = '0.91';
+our $VERSION = '0.92';
__PACKAGE__->mk_accessors(
qw(
@@ -9,7 +9,7 @@ use overload
use Search::Tools; # XS required
-our $VERSION = '0.91';
+our $VERSION = '0.92';
1;
@@ -10,7 +10,7 @@ use Search::Tools; # XS required
use Carp;
use base qw( Search::Tools::TokenListUtils );
-our $VERSION = '0.91';
+our $VERSION = '0.92';
1;
@@ -9,7 +9,7 @@ use overload
use Carp;
use base qw( Search::Tools::TokenListUtils );
-our $VERSION = '0.91';
+our $VERSION = '0.92';
__PACKAGE__->mk_accessors(qw( pos num ));
@@ -3,7 +3,7 @@ use strict;
use warnings;
use Carp;
-our $VERSION = '0.91';
+our $VERSION = '0.92';
=head1 NAME
@@ -8,7 +8,7 @@ use overload
'bool' => sub { $_[0]->len; },
fallback => 1;
-our $VERSION = '0.91';
+our $VERSION = '0.92';
__PACKAGE__->mk_accessors(
qw( is_match is_hot pos str len u8len is_sentence_start is_sentence_end )
@@ -8,7 +8,7 @@ use Search::Tools::TokenList;
use Search::Tools::UTF8;
use Carp;
-our $VERSION = '0.91';
+our $VERSION = '0.92';
__PACKAGE__->mk_accessors(qw( re ));
@@ -12,7 +12,7 @@ __PACKAGE__->mk_accessors(qw( ebit ));
__PACKAGE__->mk_ro_accessors(qw( map ));
-our $VERSION = '0.91';
+our $VERSION = '0.92';
=pod
View
@@ -27,7 +27,7 @@ our @EXPORT = qw(
our $Debug = ( $ENV{PERL_DEBUG} && $ENV{PERL_DEBUG} > 2 ) ? 1 : 0;
-our $VERSION = '0.91';
+our $VERSION = '0.92';
sub to_utf8 {
my $str = shift;
View
@@ -6,7 +6,7 @@ use base qw( Search::Tools::Object );
use Search::Tools; # XS required
use Search::Tools::UTF8;
-our $VERSION = '0.91';
+our $VERSION = '0.92';
=pod
@@ -31,11 +31,11 @@ ok( my $hiliter = Search::Tools->hiliter( tty => 1, query => $query ),
my $html_copy = $html;
ok( my $hilited = $hiliter->light($html_copy), "light query object" );
-diag($hilited);
+#diag($hilited);
ok( my $str_hiliter = Search::Tools->hiliter( tty => 1, query => $str ),
"hiliter->new with bare string" );
ok( my $hilited_str = $str_hiliter->light($html_copy), "light string" );
-diag($hilited_str);
+#diag($hilited_str);

0 comments on commit 8117a18

Please sign in to comment.