[Jifty-commit] r2437 - in jifty/trunk: bin examples/MyWeblog/etc lib/Jifty/Web/Form/Field

jifty-commit at lists.jifty.org jifty-commit at lists.jifty.org
Sat Dec 30 00:39:17 EST 2006


Author: jesse
Date: Sat Dec 30 00:39:15 2006
New Revision: 2437

Modified:
   jifty/trunk/   (props changed)
   jifty/trunk/bin/jifty
   jifty/trunk/examples/MyWeblog/etc/config.yml
   jifty/trunk/lib/Jifty/Web/Form/Field/Button.pm
   jifty/trunk/lib/Jifty/Web/Form/Field/Radio.pm

Log:
 r46569 at pinglin:  jesse | 2006-12-30 00:38:23 -0500
 * bin/jifty covered sigterm in a way that could cause zombie processes uner fastcgi


Modified: jifty/trunk/bin/jifty
==============================================================================
--- jifty/trunk/bin/jifty	(original)
+++ jifty/trunk/bin/jifty	Sat Dec 30 00:39:15 2006
@@ -11,5 +11,5 @@
 }
 
 use Jifty::Script;
-$SIG{INT} = $SIG{TERM} = sub { warn "Stopped\n"; exit; };
+local $SIG{INT} = sub { warn "Stopped\n"; exit; };
 Jifty::Script->dispatch();

Modified: jifty/trunk/examples/MyWeblog/etc/config.yml
==============================================================================
--- jifty/trunk/examples/MyWeblog/etc/config.yml	(original)
+++ jifty/trunk/examples/MyWeblog/etc/config.yml	Sat Dec 30 00:39:15 2006
@@ -11,7 +11,7 @@
     Password: ''
     RecordBaseClass: Jifty::DBI::Record::Cachable
     User: ''
-    Version: 0.0.1
+    Version: 0.0.3
   DevelMode: 1
   L10N: 
     PoDir: share/po
@@ -19,7 +19,8 @@
   Mailer: Sendmail
   MailerArgs: []
 
-  Plugins: []
+  Plugins:
+   - Login: {}
 
   PubSub: 
     Backend: Memcached

Modified: jifty/trunk/lib/Jifty/Web/Form/Field/Button.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Web/Form/Field/Button.pm	(original)
+++ jifty/trunk/lib/Jifty/Web/Form/Field/Button.pm	Sat Dec 30 00:39:15 2006
@@ -6,6 +6,19 @@
 use base qw/Jifty::Web::Form::Field/;
 __PACKAGE__->mk_accessors(qw/button_as_link/);
 
+
+=head1 NAME
+
+Jifty::Web::Form::Field::Button
+
+=cut
+
+=head1 SUMMARY
+
+L<Jifty::Web::Form::Field::Button/> is a L<Jifty::Web::Form::Field>
+
+=head1 METHODS
+
 =head2 accessors
 
 Provide the C<button_as_link> accessor (in addition to

Modified: jifty/trunk/lib/Jifty/Web/Form/Field/Radio.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Web/Form/Field/Radio.pm	(original)
+++ jifty/trunk/lib/Jifty/Web/Form/Field/Radio.pm	Sat Dec 30 00:39:15 2006
@@ -47,6 +47,7 @@
     my $display = $opt->{'display'};
     my $value   = defined $opt->{'value'} ? $opt->{'value'} : '';
 
+    
     my $id = $self->element_id . "-" . $value;
     $id =~ s/\s+/_/;
     my $field = qq! <input type="radio" !;
@@ -60,6 +61,8 @@
     $field .= qq! /><label for="@{[ $id ]}"!;
     $field .= $self->_widget_class;
     $field .= qq!>$display</label>\n!;
+    $field = qq{<span class="radiooption">$field</span>};
+
     Jifty->web->out($field);
     '';
 }


More information about the Jifty-commit mailing list