svn commit: r420857 - /perl/Apache-SizeLimit/trunk/RELEASE

2006-07-11 Thread geoff
Author: geoff
Date: Tue Jul 11 07:12:23 2006
New Revision: 420857

URL: http://svn.apache.org/viewvc?rev=420857&view=rev
Log:
don't make the next release 1.0 _automatically_

Modified:
perl/Apache-SizeLimit/trunk/RELEASE

Modified: perl/Apache-SizeLimit/trunk/RELEASE
URL: 
http://svn.apache.org/viewvc/perl/Apache-SizeLimit/trunk/RELEASE?rev=420857&r1=420856&r2=420857&view=diff
==
--- perl/Apache-SizeLimit/trunk/RELEASE (original)
+++ perl/Apache-SizeLimit/trunk/RELEASE Tue Jul 11 07:12:23 2006
@@ -90,7 +90,7 @@
 5. Announce the package
 
   a. post ... to the modperl, announce lists
-  Subject: [ANNOUNCE] Apache-SizeLimit 0.9
+  Subject: [ANNOUNCE] Apache-SizeLimit 0.90
  include 
   - MD5 sig (as it comes from CPAN upload announce).
   - the latest Changes
@@ -102,7 +102,7 @@
   b. edit ./Changes:
  - start a new item with incremented version + '-dev'
 
-  =item 1.0-dev
+  =item 0.91-dev
 
   c. bump up version numbers in this file to make it easier to do the
  next release.
@@ -110,4 +110,4 @@
  $ perl -pi -e 's/(\d+)\.(\d+)/join(".", $1, $2+1)/eg' RELEASE
 
   d. commit Changes
- % svn ci -m "start 1.0-dev cycle" Changes RELEASE lib/Apache/SizeLimit.pm
+ % svn ci -m "start 0.91-dev cycle" Changes RELEASE lib/Apache/SizeLimit.pm




svn commit: r420847 - /perl/Apache-SizeLimit/trunk/Changes

2006-07-11 Thread autarch
Author: autarch
Date: Tue Jul 11 06:45:15 2006
New Revision: 420847

URL: http://svn.apache.org/viewvc?rev=420847&view=rev
Log:
Remove -dev in preparation for final release.
Add release date I hope to hit ;)

Modified:
perl/Apache-SizeLimit/trunk/Changes

Modified: perl/Apache-SizeLimit/trunk/Changes
URL: 
http://svn.apache.org/viewvc/perl/Apache-SizeLimit/trunk/Changes?rev=420847&r1=420846&r2=420847&view=diff
==
--- perl/Apache-SizeLimit/trunk/Changes (original)
+++ perl/Apache-SizeLimit/trunk/Changes Tue Jul 11 06:45:15 2006
@@ -6,7 +6,7 @@
 
 =over 6
 
-=item 0.9-dev
+=item 0.9 2006-07-12
 
 Copied from the mod_perl 1 core for an independent CPAN release.
 [Philip M. Gollucci <[EMAIL PROTECTED]>]




svn commit: r420845 - /perl/Apache-SizeLimit/trunk/README

2006-07-11 Thread autarch
Author: autarch
Date: Tue Jul 11 06:44:27 2006
New Revision: 420845

URL: http://svn.apache.org/viewvc?rev=420845&view=rev
Log:
Update README with pod2text

Modified:
perl/Apache-SizeLimit/trunk/README

Modified: perl/Apache-SizeLimit/trunk/README
URL: 
http://svn.apache.org/viewvc/perl/Apache-SizeLimit/trunk/README?rev=420845&r1=420844&r2=420845&view=diff
==
--- perl/Apache-SizeLimit/trunk/README (original)
+++ perl/Apache-SizeLimit/trunk/README Tue Jul 11 06:44:27 2006
@@ -224,6 +224,10 @@
 pretty efficient (a lot more efficient than reading it from the /proc fs
 anyway).
 
+According to recent tests on OSX (July, 2006), "BSD::Resource" simply
+reports zero for process and shared size on that platform, so OSX is not
+supported by "Apache::SizeLimit".
+
   AIX?
 Uses "BSD::Resource::getrusage()" to determine process size. Not sure if
 the shared memory calculations will work or not. AIX users?




svn commit: r420844 - /perl/Apache-SizeLimit/trunk/lib/Apache/SizeLimit.pm

2006-07-11 Thread autarch
Author: autarch
Date: Tue Jul 11 06:43:41 2006
New Revision: 420844

URL: http://svn.apache.org/viewvc?rev=420844&view=rev
Log:
Fix pod mistake.

Modified:
perl/Apache-SizeLimit/trunk/lib/Apache/SizeLimit.pm

Modified: perl/Apache-SizeLimit/trunk/lib/Apache/SizeLimit.pm
URL: 
http://svn.apache.org/viewvc/perl/Apache-SizeLimit/trunk/lib/Apache/SizeLimit.pm?rev=420844&r1=420843&r2=420844&view=diff
==
--- perl/Apache-SizeLimit/trunk/lib/Apache/SizeLimit.pm (original)
+++ perl/Apache-SizeLimit/trunk/lib/Apache/SizeLimit.pm Tue Jul 11 06:43:41 2006
@@ -599,7 +599,7 @@
 
 According to recent tests on OSX (July, 2006), C simply
 reports zero for process and shared size on that platform, so OSX is
-not supported by C.
 
 =head2 AIX?
 




svn commit: r420843 - in /perl/Apache-SizeLimit/trunk: Changes Makefile.PL lib/Apache/SizeLimit.pm t/apache/all.t

2006-07-11 Thread autarch
Author: autarch
Date: Tue Jul 11 06:42:58 2006
New Revision: 420843

URL: http://svn.apache.org/viewvc?rev=420843&view=rev
Log:
Removed support for Darwin OS (OSX). Added a note to the docs
explaining why.

Modified:
perl/Apache-SizeLimit/trunk/Changes
perl/Apache-SizeLimit/trunk/Makefile.PL
perl/Apache-SizeLimit/trunk/lib/Apache/SizeLimit.pm
perl/Apache-SizeLimit/trunk/t/apache/all.t

Modified: perl/Apache-SizeLimit/trunk/Changes
URL: 
http://svn.apache.org/viewvc/perl/Apache-SizeLimit/trunk/Changes?rev=420843&r1=420842&r2=420843&view=diff
==
--- perl/Apache-SizeLimit/trunk/Changes (original)
+++ perl/Apache-SizeLimit/trunk/Changes Tue Jul 11 06:42:58 2006
@@ -51,6 +51,10 @@
 Fixed calculation of shared memory on BSD.
 [Philip M. Gollucci <[EMAIL PROTECTED]>]
 
+Removed support for OSX, because testing shows that BSD::Resource is
+not working on that platform.
+[Dave Rolsky <[EMAIL PROTECTED]>]
+
 =item 0.05 mp2 core / not released
 
 =item 0.04 not released

Modified: perl/Apache-SizeLimit/trunk/Makefile.PL
URL: 
http://svn.apache.org/viewvc/perl/Apache-SizeLimit/trunk/Makefile.PL?rev=420843&r1=420842&r2=420843&view=diff
==
--- perl/Apache-SizeLimit/trunk/Makefile.PL (original)
+++ perl/Apache-SizeLimit/trunk/Makefile.PL Tue Jul 11 06:42:58 2006
@@ -12,7 +12,7 @@
 $prereqs{'Linux::Smaps'} = 0;
 }
 }
-elsif ( $Config{'osname'} =~ /(bsd|aix|darwin)/i ) {
+elsif ( $Config{'osname'} =~ /(bsd|aix)/i ) {
 $prereqs{'BSD::Resource'} = 0;
 }
 elsif ( $Config{'osname'} eq 'MSWin32' ) {

Modified: perl/Apache-SizeLimit/trunk/lib/Apache/SizeLimit.pm
URL: 
http://svn.apache.org/viewvc/perl/Apache-SizeLimit/trunk/lib/Apache/SizeLimit.pm?rev=420843&r1=420842&r2=420843&view=diff
==
--- perl/Apache-SizeLimit/trunk/lib/Apache/SizeLimit.pm (original)
+++ perl/Apache-SizeLimit/trunk/lib/Apache/SizeLimit.pm Tue Jul 11 06:42:58 2006
@@ -192,8 +192,8 @@
 *_platform_check_size = \&_linux_size_check;
 }
 }
-elsif ( $Config{'osname'} =~ /(?:bsd|aix|darwin)/i ) {
-# will getrusage work on all BSDs?  I should hope so.
+elsif ( $Config{'osname'} =~ /(?:bsd|aix)/i ) {
+# on OSX, getrusage() is returning 0 for proc & shared size.
 _load('BSD::Resource');
 
 *_platform_check_size   = \&_bsd_size_check;
@@ -248,8 +248,7 @@
 }
 
 # rss is in KB but ixrss is in BYTES.
-# This is true on at least FreeBSD, OpenBSD, NetBSD, and Darwin - Phil
-# Gollucci
+# This is true on at least FreeBSD, OpenBSD, & NetBSD - Phil Gollucci
 sub _bsd_size_check {
 my @results = BSD::Resource::getrusage();
 my $max_rss   = $results[2];
@@ -597,6 +596,10 @@
 Uses C to determine process size.  This is
 pretty efficient (a lot more efficient than reading it from the
 F fs anyway).
+
+According to recent tests on OSX (July, 2006), C simply
+reports zero for process and shared size on that platform, so OSX is
+not supported by Chttp://svn.apache.org/viewvc/perl/Apache-SizeLimit/trunk/t/apache/all.t?rev=420843&r1=420842&r2=420843&view=diff
==
--- perl/Apache-SizeLimit/trunk/t/apache/all.t (original)
+++ perl/Apache-SizeLimit/trunk/t/apache/all.t Tue Jul 11 06:42:58 2006
@@ -19,7 +19,7 @@
 $ok &= need_module('Linux::Smaps');
 }
 }
-elsif ( $Config{'osname'} =~ /(bsd|aix|darwin)/i ) {
+elsif ( $Config{'osname'} =~ /(bsd|aix)/i ) {
 $ok &= need_module('BSD::Resource');
 }
 elsif ( $Config{'osname'} eq 'MSWin32' ) {