[Rt-commit] [svn] r1870 - in rt/branches/PLATANO-EXPERIMENTAL-CSS:
. bin html/Elements html/Elements/CollectionAsTable lib
lib/RT lib/RT/Interface/Web sbin
jesse at pallas.eruditorum.org
jesse at pallas.eruditorum.org
Thu Nov 11 03:54:28 EST 2004
Author: jesse
Date: Thu Nov 11 03:54:27 2004
New Revision: 1870
Modified:
rt/branches/PLATANO-EXPERIMENTAL-CSS/ (props changed)
rt/branches/PLATANO-EXPERIMENTAL-CSS/bin/standalone_httpd.in
rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Elements/Callback
rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Elements/CollectionAsTable/ParseFormat
rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Elements/Header
rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Elements/TicketList
rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Elements/TitleBoxStart
rt/branches/PLATANO-EXPERIMENTAL-CSS/lib/RT.pm.in
rt/branches/PLATANO-EXPERIMENTAL-CSS/lib/RT/CurrentUser.pm
rt/branches/PLATANO-EXPERIMENTAL-CSS/lib/RT/Interface/Web/Handler.pm
rt/branches/PLATANO-EXPERIMENTAL-CSS/sbin/rt-test-dependencies.in
Log:
r9132 at tinbook: jesse | 2004-11-11T04:51:29.581756Z
r9028 at tinbook: jesse | 2004-11-10T10:25:42.564475Z
r9024 at tinbook (orig r1777): autrijus | 2004-11-10T10:08:17.041433Z
r3565 at not: autrijus | 2004-11-10T10:08:34.482570Z
* Various warning avoidance patches.
r9025 at tinbook (orig r1778): autrijus | 2004-11-10T10:08:41.221082Z
r3566 at not: autrijus | 2004-11-10T10:08:56.876914Z
* Under developer mode, do not let Mason cache object files on var/.
r9026 at tinbook (orig r1779): autrijus | 2004-11-10T10:09:04.430896Z
r3567 at not: autrijus | 2004-11-10T10:09:08.775089Z
* Add Module::Refresh as a dependency.
Modified: rt/branches/PLATANO-EXPERIMENTAL-CSS/bin/standalone_httpd.in
==============================================================================
--- rt/branches/PLATANO-EXPERIMENTAL-CSS/bin/standalone_httpd.in (original)
+++ rt/branches/PLATANO-EXPERIMENTAL-CSS/bin/standalone_httpd.in Thu Nov 11 03:54:27 2004
@@ -117,7 +117,7 @@
my ( $method, $request_uri, $proto, undef ) = split;
#$request_uri =~ s#\\#/#g;
- $RT::Logger->info("<- $peername: $_");
+ $RT::Logger->info("<- $peername: $_\n");
my ( $file, undef, $query_string ) =
( $request_uri =~ /([^?]*)(\?(.*))?/ ); # split at ?
#$file =~ s/%([\dA-Fa-f]{2})/chr(hex($1))/eg; # decode url-escaped entities
Modified: rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Elements/Callback
==============================================================================
--- rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Elements/Callback (original)
+++ rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Elements/Callback Thu Nov 11 03:54:27 2004
@@ -44,7 +44,8 @@
%#
%# END BPS TAGGED BLOCK }}}
<%once>
-my (%cache, $check);
+my %cache;
+my $check = '';
</%once>
<%init>
# checks for inode change time for each callback directory
Modified: rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Elements/CollectionAsTable/ParseFormat
==============================================================================
--- rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Elements/CollectionAsTable/ParseFormat (original)
+++ rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Elements/CollectionAsTable/ParseFormat Thu Nov 11 03:54:27 2004
@@ -48,17 +48,13 @@
</%ARGS>
<%init>
-use Regexp::Common qw(delimited);
+use Regexp::Common;
my @Columns;
-#my $quoted = qr[$RE{delimited}{-delim=>qq{\'\"}}|(?:\{|\}|\w|\.)+];
-my $justquoted = qr[$RE{delimited}{-delim=>qq{\'\"}}];
-#my $quoted = $RE{quoted}{-esc};
-my $word = qr [(?:\{|\}|\w|\.)+];
-while ($Format =~ /($justquoted|$word)/igx) {
+while ($Format =~ /($RE{delimited}{-delim=>qq{\'"}}|[{}\w.]+)/go) {
my $col = $1;
- if ($col =~ /^$RE{quoted}{-esc}$/) {
+ if ($col =~ /^$RE{quoted}$/o) {
substr($col,0,1) = "";
substr($col,-1,1) = "";
}
Modified: rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Elements/Header
==============================================================================
--- rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Elements/Header (original)
+++ rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Elements/Header Thu Nov 11 03:54:27 2004
@@ -47,7 +47,7 @@
<HTML>
<HEAD>
<TITLE><%$Title%></TITLE>
-% if ($Refresh > 0) {
+% if ($Refresh) {
<META HTTP-EQUIV="REFRESH" CONTENT="<%$Refresh%>">
% }
@@ -85,7 +85,7 @@
<& /Elements/Callback, %ARGS &>
<&|/l, "<b>".$session{'CurrentUser'}->Name."</b>" &>Logged in as [_1]</&>
% unless ($RT::WebExternalAuth and !$RT::WebFallbackToInternalAuth) {
-| <A HREF="<%$RT::WebPath%>/NoAuth/Logout.html<%$URL && "?URL=".$URL%>"><&|/l&>Logout</&></a>
+| <A HREF="<%$RT::WebPath%>/NoAuth/Logout.html<%$URL ? "?URL=".$URL : ''%>"><&|/l&>Logout</&></a>
% }
% } else {
<&|/l&>Not logged in.</&>
Modified: rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Elements/TicketList
==============================================================================
--- rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Elements/TicketList (original)
+++ rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Elements/TicketList Thu Nov 11 03:54:27 2004
@@ -100,7 +100,7 @@
% }
% }
<%INIT>
-my $maxitems;
+my $maxitems = 0;
$Format ||= $RT::DefaultSearchResultFormat;
# Scrub the html of the format string to remove any potential nasties.
Modified: rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Elements/TitleBoxStart
==============================================================================
--- rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Elements/TitleBoxStart (original)
+++ rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Elements/TitleBoxStart Thu Nov 11 03:54:27 2004
@@ -73,7 +73,7 @@
$bodyclass => undef
$title_href => undef
$title => undef
-$title_class => undef
+$title_class => ''
$titleright_href => undef
$titleright => undef
Modified: rt/branches/PLATANO-EXPERIMENTAL-CSS/lib/RT.pm.in
==============================================================================
--- rt/branches/PLATANO-EXPERIMENTAL-CSS/lib/RT.pm.in (original)
+++ rt/branches/PLATANO-EXPERIMENTAL-CSS/lib/RT.pm.in Thu Nov 11 03:54:27 2004
@@ -265,7 +265,12 @@
## Mason). It will log all problems through the standard logging
## mechanism (see above).
-$SIG{__WARN__} = sub {$RT::Logger->warning($_[0])};
+$SIG{__WARN__} = sub {
+ # The 'wide character' warnings has to be silenced for now, at least
+ # until HTML::Mason offers a sane way to process both raw output and
+ # unicode strings.
+ $RT::Logger->warning($_[0]) if index($_[0], 'Wide character in ') != 0;
+};
#When we call die, trap it and log->crit with the value of the die.
Modified: rt/branches/PLATANO-EXPERIMENTAL-CSS/lib/RT/CurrentUser.pm
==============================================================================
--- rt/branches/PLATANO-EXPERIMENTAL-CSS/lib/RT/CurrentUser.pm (original)
+++ rt/branches/PLATANO-EXPERIMENTAL-CSS/lib/RT/CurrentUser.pm Thu Nov 11 03:54:27 2004
@@ -366,7 +366,7 @@
if ( ( !defined $self->{'LangHandle'} )
|| ( !UNIVERSAL::can( $self->{'LangHandle'}, 'maketext' ) )
|| (@_) ) {
- if ( (!$RT::SystemUser || $self->id == $RT::SystemUser->id() )) {
+ if ( !$RT::SystemUser or ($self->id || 0) == $RT::SystemUser->id() ) {
@_ = qw(en-US);
}
Modified: rt/branches/PLATANO-EXPERIMENTAL-CSS/lib/RT/Interface/Web/Handler.pm
==============================================================================
--- rt/branches/PLATANO-EXPERIMENTAL-CSS/lib/RT/Interface/Web/Handler.pm (original)
+++ rt/branches/PLATANO-EXPERIMENTAL-CSS/lib/RT/Interface/Web/Handler.pm Thu Nov 11 03:54:27 2004
@@ -55,6 +55,7 @@
allow_globals => [qw(%session)],
# Turn off static source if we're in developer mode.
static_source => ($RT::DevelMode ? '0' : '1'),
+ use_object_files => ($RT::DevelMode ? '0' : '1'),
autoflush => 0
) };
Modified: rt/branches/PLATANO-EXPERIMENTAL-CSS/sbin/rt-test-dependencies.in
==============================================================================
--- rt/branches/PLATANO-EXPERIMENTAL-CSS/sbin/rt-test-dependencies.in (original)
+++ rt/branches/PLATANO-EXPERIMENTAL-CSS/sbin/rt-test-dependencies.in Thu Nov 11 03:54:27 2004
@@ -182,6 +182,7 @@
HTML::TokeParser
WWW::Mechanize
Test::WWW::Mechanize
+Module::Refresh
.
$deps{'FASTCGI'} = [ _( << '.') ];
More information about the Rt-commit
mailing list