r12252 - in /branches/upstream/libtk-objscanner-perl/current: ChangeLog META.yml Makefile.PL ObjScanner.pm README t/pseudo_hash.t

ghostbar-guest at users.alioth.debian.org ghostbar-guest at users.alioth.debian.org
Wed Jan 9 00:22:29 UTC 2008


Author: ghostbar-guest
Date: Wed Jan  9 00:22:29 2008
New Revision: 12252

URL: http://svn.debian.org/wsvn/?sc=1&rev=12252
Log:
[svn-upgrade] Integrating new upstream version, libtk-objscanner-perl (2.012)

Modified:
    branches/upstream/libtk-objscanner-perl/current/ChangeLog
    branches/upstream/libtk-objscanner-perl/current/META.yml
    branches/upstream/libtk-objscanner-perl/current/Makefile.PL
    branches/upstream/libtk-objscanner-perl/current/ObjScanner.pm
    branches/upstream/libtk-objscanner-perl/current/README
    branches/upstream/libtk-objscanner-perl/current/t/pseudo_hash.t

Modified: branches/upstream/libtk-objscanner-perl/current/ChangeLog
URL: http://svn.debian.org/wsvn/branches/upstream/libtk-objscanner-perl/current/ChangeLog?rev=12252&op=diff
==============================================================================
--- branches/upstream/libtk-objscanner-perl/current/ChangeLog (original)
+++ branches/upstream/libtk-objscanner-perl/current/ChangeLog Wed Jan  9 00:22:29 2008
@@ -1,49 +1,60 @@
-2004-07-30  domi  <domi at komarr.grenoble.hp.com> v2.010
+2007-10-09  Dominique Dumont  <dominique.dumont at hp.com> v2.012
+
+	* ObjScanner.pm: Added require 5.006
+	* Makefile.PL: Added require 5.006 to avoid automatic test 
+	  failures from tester.cpan.org
+
+2007-09-20  Dominique Dumont  <dominique.dumont at hp.com> v2.011
+
+	* ObjScanner.pm (Populate): pseudo hashes are disabled for perl >=
+	5.009
+
+2004-07-30  domi  <domi at komarr.grenoble.hp.com> v2.010
 
 	* ObjScanner.pm:
 	Showing tied info can be disabled by option or menu (exclusive or)
 	Removed unnecessary 'ROOT:' word from top level label
 
-2004-07-28  domi  <domi at komarr.grenoble.hp.com> v2.009
+2004-07-28  domi  <domi at komarr.grenoble.hp.com> v2.009
 
-	* ObjScanner.pm v2.8: Applied patch from MAREKR at cpan.org (See
+	* ObjScanner.pm v2.8: Applied patch from MAREKR at cpan.org (See
 	https://rt.cpan.org/Ticket/Display.html?id=5197) to better handle
 	pseudo hashes (even though pseudo hashes are still obsolete)
 
-2004-07-27  domi  <domi at komarr.grenoble.hp.com> v2.008
+2004-07-27  domi  <domi at komarr.grenoble.hp.com> v2.008
 
 	* ObjScanner.pm : Applied Slaven Rezic's patch which fixes
 	image associated to array elements. (See
 	https://rt.cpan.org/Ticket/Display.html?id=6831)
 
-2003-11-28  Dominique Dumont  <domi at komarr.grenoble.hp.com>
+2003-11-28  Dominique Dumont  <domi at komarr.grenoble.hp.com>
 
 	* t/basic.t (new): works with Tk804.025 
 
-2003-11-19  Dominique Dumont  <domi at komarr.grenoble.hp.com>
+2003-11-19  Dominique Dumont  <domi at komarr.grenoble.hp.com>
 
 	* ObjScanner.pm v2.6: all configuration options can be called with
 	a hyphen (i.e '-title' instead of 'title')
 	(scan_object): call pack with hyphenated option (otherwise it
 	breaks on Solaris with Tk800.025)
 
-2003-11-14  Dominique Dumont  <domi at komarr.grenoble.hp.com>
+2003-11-14  Dominique Dumont  <domi at komarr.grenoble.hp.com>
 
 	* ObjScanner.pm: v2.5: replaced obsolete WeakRef module by
 	Scalar::Util
 	Note that pseudo-hashes are deprecated. 
 
-2003-03-21  Dominique Dumont  <domi at komarr.grenoble.hp.com>
+2003-03-21  Dominique Dumont  <domi at komarr.grenoble.hp.com>
 
 	* ObjScanner.pm v 2.4 (analyse_element): 
 	- recognize weak references
 
-2003-02-28  Dominique Dumont v2.3  <domi at komarr.grenoble.hp.com>
+2003-02-28  Dominique Dumont v2.3  <domi at komarr.grenoble.hp.com>
 
 	* ObjScanner.pm (scan_object): 
 	- added autonomous scan popup widget
 
-2003-01-31  Dominique Dumont  <domi at komarr.grenoble.hp.com>
+2003-01-31  Dominique Dumont  <domi at komarr.grenoble.hp.com>
 
 	* ObjScanner.pm v2.1 : 
 	External changes:
@@ -58,19 +69,19 @@
 	  ObjScanner
 	- internal methods are re-organized for easier sub-classing
 
-2001-01-17  Dominique Dumont  <domi at komarr.grenoble.hp.com> v1.022
+2001-01-17  Dominique Dumont  <domi at komarr.grenoble.hp.com> v1.022
 
 	* ObjScanner.pm (isPseudoHash): small bug fix
 	* Makefile.PL: added Tk in PREREQ_PM
 
-2001-01-12  Dominique Dumont  <domi at komarr.grenoble.hp.com> v1.021
+2001-01-12  Dominique Dumont  <domi at komarr.grenoble.hp.com> v1.021
 
 	* Makefile.PL: fixed Makefile.PL
 
 	* ObjScanner.pm:
 	- added pseudo hash viewer
 
-2000-06-07  Dominique Dumont  <domi at ISPSERV.grenoble.hp.com> v1.019
+2000-06-07  Dominique Dumont  <domi at ISPSERV.grenoble.hp.com> v1.019
 
 	* ObjScanner.pm: 
 
@@ -82,61 +93,61 @@
 	5: add 'open folder' image and display it when item has displayed
 	   children
 
-2000-04-17  Dominique Dumont  <domi at ispserv.grenoble.hp.com> v1.018
+2000-04-17  Dominique Dumont  <domi at ispserv.grenoble.hp.com> v1.018
 
 	* ObjScanner.pm: 
 	- fixed a bug related to root display
 	- added a patch provided by Rudi Farkas to display a watch cursor
 	  when displaying a sub-object
 
-1999-07-06  Dominique Dumont  <domi at barrayar.grenoble.hp.com> v1.017
+1999-07-06  Dominique Dumont  <domi at barrayar.grenoble.hp.com> v1.017
 
 	* ObjScanner.pm (element): bug fix on string display
 	* Thanks to Rudi Farkas for contributing test cases with
 	Math::BigInt and Filehandle
 
-1999-05-31  Dominique Dumont  <domi at barrayar.grenoble.hp.com> v1.016
+1999-05-31  Dominique Dumont  <domi at barrayar.grenoble.hp.com> v1.016
 
 	* ObjScanner.pm: 
 	- Better support of complex (perl wise) objects
 	- added 'destroyable' parameters
 	- updated 'CAVEATS' doc
 
-1999-04-29  Dominique Dumont  <domi at barrayar.grenoble.hp.com> v1.014
+1999-04-29  Dominique Dumont  <domi at barrayar.grenoble.hp.com> v1.014
 
 	* ObjScanner.pm (element): Support REF and SCALAR, and does not
  	choke on GLOB ,CODE.
 
-1999-04-21  Dominique Dumont  <domi at barrayar.grenoble.hp.com> v1.013
+1999-04-21  Dominique Dumont  <domi at barrayar.grenoble.hp.com> v1.013
 
 	* ObjScanner.pm : Complete re-write. It now uses HList instead of 
 	data dumper.
 
-1999-01-20  Dominique Dumont  <domi at barrayar.grenoble.hp.com> v1.11
+1999-01-20  Dominique Dumont  <domi at barrayar.grenoble.hp.com> v1.11
 
 	* ObjScanner.pm: removed dependance on Tk::Multi, better doc,
           don't wrap lines in Text widget.
 
-v0.5: 1998-08-18  Dominique Dumont  <domi at barrayar.grenoble.hp.com>
+v0.5: 1998-08-18  Dominique Dumont  <domi at barrayar.grenoble.hp.com>
 
 	* ObjScanner.pm: simplified and adapted for new Multi::Text
 
-1998-06-25  Dominique Dumont  <domi at barrayar.grenoble.hp.com>
+1998-06-25  Dominique Dumont  <domi at barrayar.grenoble.hp.com>
 
 	* 0.4 cleanup remaining traces in test.pl
 
-Tue Mar 17 15:09:42 1998  Dominique Dumont  <domi at marlis.grenoble.hp.com>
+Tue Mar 17 15:09:42 1998  Dominique Dumont  <domi at marlis.grenoble.hp.com>
 
 	* 0.3 : Accepts '-stuff' parameters (instead of 'stuff')
 
-Thu Feb 12 18:07:00 1998  Dominique Dumont  <domi at marlis.grenoble.hp.com>
+Thu Feb 12 18:07:00 1998  Dominique Dumont  <domi at marlis.grenoble.hp.com>
 
 	* 0.2 : Patch made by Achim Bohnet (Thanks)
 
 	o removed AutoLoadeer because
 	don't use AutoLoader for 3 little function
 	defs.  Every 'use AutoLoader' does search auto/mod/ule/autoload.ix
-	in @INC.  I think that this is much more expensive than having perl
+	in  at INC.  I think that this is much more expensive than having perl
         compile the 3 subs (Tom C. mentioned that perl can compile ~10000
 	lines/sec).
 
@@ -149,7 +160,7 @@
 	o Makefile.PL: Tk::Multi does not exist. Changed to check for Tk::Multi::Text
 
 
-Fri Feb  6 18:15:06 1998  Dominique Dumont  <domi at marlis.grenoble.hp.com>
+Fri Feb  6 18:15:06 1998  Dominique Dumont  <domi at marlis.grenoble.hp.com>
 
 	* 0.1 Beta version. Better AutoLoader usage. Fix minor problem
 	to smooth inheriting Tk::ObjScanner

Modified: branches/upstream/libtk-objscanner-perl/current/META.yml
URL: http://svn.debian.org/wsvn/branches/upstream/libtk-objscanner-perl/current/META.yml?rev=12252&op=diff
==============================================================================
--- branches/upstream/libtk-objscanner-perl/current/META.yml (original)
+++ branches/upstream/libtk-objscanner-perl/current/META.yml Wed Jan  9 00:22:29 2008
@@ -1,7 +1,7 @@
 # http://module-build.sourceforge.net/META-spec.html
 #XXXXXXX This is a prototype!!!  It will change in the future!!! XXXXX#
 name:         Tk-ObjScanner
-version:      2.010
+version:      2.012
 version_from: ObjScanner.pm
 installdirs:  site
 requires:
@@ -12,4 +12,4 @@
     Tk::ROText:                    0
 
 distribution_type: module
-generated_by: ExtUtils::MakeMaker version 6.17
+generated_by: ExtUtils::MakeMaker version 6.30_01

Modified: branches/upstream/libtk-objscanner-perl/current/Makefile.PL
URL: http://svn.debian.org/wsvn/branches/upstream/libtk-objscanner-perl/current/Makefile.PL?rev=12252&op=diff
==============================================================================
--- branches/upstream/libtk-objscanner-perl/current/Makefile.PL (original)
+++ branches/upstream/libtk-objscanner-perl/current/Makefile.PL Wed Jan  9 00:22:29 2008
@@ -1,4 +1,7 @@
 use ExtUtils::MakeMaker;
+
+require 5.006 ;
+
 # See lib/ExtUtils/MakeMaker.pm for details of how to influence
 # the contents of the Makefile that is written.
 WriteMakefile
@@ -12,7 +15,7 @@
     'demo/objscan.pl' => '$(INST_LIB)/Tk/demos/widtrib/objscan.pl'
    },
    ABSTRACT   => 'A scanner to view an object\'s attribute',
-   AUTHOR     => 'Dominique Dumont (domi at barrayar.grenoble.hp.com)',
+   AUTHOR     => 'Dominique Dumont (ddumont at cpan.org)',
    'PREREQ_PM' =>
    {
     'Tk' => 0,

Modified: branches/upstream/libtk-objscanner-perl/current/ObjScanner.pm
URL: http://svn.debian.org/wsvn/branches/upstream/libtk-objscanner-perl/current/ObjScanner.pm?rev=12252&op=diff
==============================================================================
--- branches/upstream/libtk-objscanner-perl/current/ObjScanner.pm (original)
+++ branches/upstream/libtk-objscanner-perl/current/ObjScanner.pm Wed Jan  9 00:22:29 2008
@@ -1,6 +1,8 @@
-# 	$Id: ObjScanner.pm,v 2.10 2004/07/30 11:57:35 domi Exp $	
+# 	$Id: ObjScanner.pm,v 2.12 2007-10-09 11:21:08 domi Exp $	
 
 package Tk::ObjScanner;
+
+require 5.006;
 
 use strict;
 use warnings ;
@@ -64,7 +66,7 @@
 our @ISA = qw(Tk::Derived Tk::Frame);
 *isa = \&UNIVERSAL::isa;
 
-our $VERSION = sprintf "%d.%03d", q$Revision: 2.10 $ =~ /(\d+)\.(\d+)/;
+our $VERSION = sprintf "%d.%03d", q$Revision: 2.12 $ =~ /(\d+)\.(\d+)/;
 
 Tk::Widget->Construct('ObjScanner');
 
@@ -143,8 +145,13 @@
     my $display_view_pseudo_button = defined $args->{'-view_pseudo'} ||
       defined $args->{view_pseudo} ? 0 : 1;
 
-   my $view_pseudo = delete $args->{'-view_pseudo'} || 
+    my $view_pseudo = delete $args->{'-view_pseudo'} || 
       delete $args->{'view_pseudo'} || 0;
+
+    # override option for feature not supported by Perl 5.09 and later
+    if ($] >= 5.009) {
+	$view_pseudo = 0 ;
+    }
 
     croak "Missing caller argument in ObjScanner\n" 
       unless defined  $cw->{chief};
@@ -739,7 +746,8 @@
 
 =item C<-view_pseudo>
 
-If set, will interpret pseudo hashes as hash (default 0)
+If set, will interpret pseudo hashes as hash (default 0). This option
+is disabled for Perl 5.09 and later.
 
 =item C<-show_tied>
 
@@ -806,7 +814,7 @@
 
 Dominique Dumont, dominique.dumont at hp.com
 
-Copyright (c) 1997-2004 Dominique Dumont. All rights reserved.
+Copyright (c) 1997-2004,2007 Dominique Dumont. All rights reserved.
 This program is free software; you can redistribute it and/or
 modify it under the same terms as Perl itself.
 

Modified: branches/upstream/libtk-objscanner-perl/current/README
URL: http://svn.debian.org/wsvn/branches/upstream/libtk-objscanner-perl/current/README?rev=12252&op=diff
==============================================================================
--- branches/upstream/libtk-objscanner-perl/current/README (original)
+++ branches/upstream/libtk-objscanner-perl/current/README Wed Jan  9 00:22:29 2008
@@ -50,7 +50,7 @@
 
 Legal mumbo jumbo:
 
- Copyright (c) 1997-2003 Dominique Dumont. All rights reserved.
+ Copyright (c) 1997-2004,2007 Dominique Dumont. All rights reserved.
  This program is free software; you can redistribute it and/or
  modify it under the same terms as Perl itself.
 

Modified: branches/upstream/libtk-objscanner-perl/current/t/pseudo_hash.t
URL: http://svn.debian.org/wsvn/branches/upstream/libtk-objscanner-perl/current/t/pseudo_hash.t?rev=12252&op=diff
==============================================================================
--- branches/upstream/libtk-objscanner-perl/current/t/pseudo_hash.t (original)
+++ branches/upstream/libtk-objscanner-perl/current/t/pseudo_hash.t Wed Jan  9 00:22:29 2008
@@ -7,7 +7,8 @@
 # Change 1..1 below to 1..last_test_to_print .
 # (It may become useful if the test is moved to ./t subdirectory.)
 
-BEGIN { $| = 1; print "1..4\n"; }
+BEGIN { $| = 1; 
+	print "1..", $] >= 5.009 ? '1' : '4' ,"\n"; }
 END {print "not ok 1\n" unless $loaded;}
 use Tk ;
 use ExtUtils::testlib ; 
@@ -19,6 +20,8 @@
 my $trace = shift || 0 ;
 
 ######################### End of black magic.
+
+exit if $] >= 5.009 ;
 
 # Insert your test code below (better if it prints "ok 13"
 # (correspondingly "not ok 13") depending on the success of chunk 13




More information about the Pkg-perl-cvs-commits mailing list