Skip to content

Commit

Permalink
Fix trailing whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
benohara committed Mar 27, 2013
1 parent 79a7ff4 commit bce2124
Show file tree
Hide file tree
Showing 22 changed files with 100 additions and 100 deletions.
2 changes: 1 addition & 1 deletion curl/curlrc
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ fail
ftp-create-dirs
ftp-ssl
ftp-pasv
ftp-method = nocwd
ftp-method = nocwd

#proxy = xxx.xxx.xxx.xxx:80

10 changes: 5 additions & 5 deletions grc/conf.gcc
Original file line number Diff line number Diff line change
Expand Up @@ -7,33 +7,33 @@
# Ben O'Hara <[email protected]>
#

#
#
regexp=\bgcc\b
colours=yellow
count=more
.........
#
#
regexp=^[^:\s]*?:\d+:
colours=bold magenta
.........
regexp=^[^:\s]*?:
colours=cyan
count=once
.........
#
#
regexp=\`[A-Za-z0-9_():&*]+( const)?\'
colours=magenta
.........
# -O
regexp=\-O\d
regexp=\-O\d
colours=green
.........
# -o
regexp=\-o\s.+\b
colours=yellow
.........
# warning and error won't work, unless you redirect also
# stderr to grcat
# stderr to grcat
#
# warning
regexp=warning:.*
Expand Down
2 changes: 1 addition & 1 deletion grc/conf.irclog
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ colours=bold green
=======
# everything in parentheses
regexp=\(.+?\)
colours=green
colours=green
count=more
=======
# channel name
Expand Down
2 changes: 1 addition & 1 deletion grc/conf.ldap
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#

# Intended for colouring LDIF output (from ldap tools)
# comments
# comments
regexp=^#.*
colours=green
count=stop
Expand Down
12 changes: 6 additions & 6 deletions irssi/config
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ servers = (
{ address = "eu.irc6.net"; chatnet = "IRCnet"; port = "6667"; },
{ address = "open.ircnet.net"; chatnet = "IRCnet"; port = "6667"; },
{ address = "irc.efnet.org"; chatnet = "EFNet"; port = "6667"; },
{
{
address = "irc.undernet.org";
chatnet = "Undernet";
port = "6667";
},
{ address = "irc.dal.net"; chatnet = "DALnet"; port = "6667"; },
{
{
address = "irc.quakenet.org";
chatnet = "QuakeNet";
port = "6667";
Expand Down Expand Up @@ -50,7 +50,7 @@ chatnets = {
max_whois = "4";
max_query_chans = "5";
};
EFNet = {
EFNet = {
type = "IRC";
max_kicks = "4";
max_msgs = "3";
Expand All @@ -74,7 +74,7 @@ chatnets = {
max_msgs = "3";
max_whois = "30";
};
OFTC = {
OFTC = {
type = "IRC";
max_kicks = "1";
max_msgs = "3";
Expand All @@ -92,7 +92,7 @@ chatnets = {
max_msgs = "3";
max_whois = "30";
};
Rizon = {
Rizon = {
type = "IRC";
max_kicks = "1";
max_msgs = "3";
Expand Down Expand Up @@ -307,7 +307,7 @@ settings = {
hilights = (
{ text = "**Your Nick**"; color = "%M"; nick = "yes"; word = "yes"; }
);
keyboard = (
keyboard = (
{ key = "meta-[M"; id = "command"; data = "mouse_xterm "; }
);

Expand Down
38 changes: 19 additions & 19 deletions irssi/scripts/autorun/adv_windowlist.pl
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
# # [email protected] Extra chanact_show_mode and chanact_chop_status
# # }}}
# }}}
#
#
# {{{ FURTHER THANKS TO
# ############
# # buu, fxn, Somni, Khisanth, integral, tybalt89 for much support in any aspect perl
Expand Down Expand Up @@ -106,7 +106,7 @@
# Please help me find a solution to this:
# this be your statusbar, it is using up the maximum term size
# [[1=1]#abc [2=2]#defghi]
#
#
# now consider this example:i
# "ascii" characters are marked with ., utf-8 characters with *
# [[1=1]#... [2=2]#...***]
Expand Down Expand Up @@ -737,7 +737,7 @@ ()
$custSort = $1;
}

my @wins =
my @wins =
sort {
(
( (int($a->{$custSort}) <=> int($b->{$custSort})) * $custSortDir )
Expand Down Expand Up @@ -864,7 +864,7 @@ ()
((Irssi::settings_get_str('fancy_abbrev') =~ /^head/i) ?
length($name) :
(length($name) / 2));
my $cut = int($middle - (abs($diff) / 2) + .55);
my $cut = int($middle - (abs($diff) / 2) + .55);
$cut = 1 if $cut < 1;
$cut = length($name) - abs($diff) - 1 if $cut > (length($name) -
abs($diff) - 1);
Expand Down Expand Up @@ -1023,7 +1023,7 @@ sub screenSize { # from nicklist.pl
# set screen width
$screenWidth = $col-1;
$screenHeight = $row-1;

# on some recent systems, "screen -X fit; screen -X width -w 50" doesn't work, needs a sleep in between the 2 commands
# so we wait a second before setting the width
Irssi::timeout_add_once(100, sub {
Expand Down Expand Up @@ -1262,7 +1262,7 @@ sub runsub {
screenFullRedraw();
}
);


# }}}

Expand Down Expand Up @@ -2129,9 +2129,9 @@ sub runsub {

sub Class::Classless::X::AUTOLOAD {
# This's the big dispatcher.

my $it = shift @_;
my $m = ($Class::Classless::X::AUTOLOAD =~ m/([^:]+)$/s )
my $m = ($Class::Classless::X::AUTOLOAD =~ m/([^:]+)$/s )
? $1 : $Class::Classless::X::AUTOLOAD;

croak "Can't call Class::Classless methods (like $m) without an object"
Expand Down Expand Up @@ -2163,7 +2163,7 @@ sub runsub {
# : &Class::Classless::X::ISA_TREE($it);
# # Get the linearization of the ISA tree
# # ISA-memoization happens in the ISA_TREE function.

for(; $i < @$lineage; ++$i) {

if( !defined($no_fail) and exists($lineage->[$i]{'NO_FAIL'}) ) {
Expand All @@ -2181,7 +2181,7 @@ sub runsub {
if(ref($v) eq 'CODE') { # normal case, I expect!
# Used to have copying of the arglist here.
# But it was apparently useless, so I deleted it
unshift @_,
unshift @_,
$it, # $_[0] -- target object
# a NEW callstate
bless([$m, $i, $lineage, $no_fail, $prevstate ? 1 : 0],
Expand Down Expand Up @@ -2224,19 +2224,19 @@ sub runsub {
# I stopped being able to understand this algorithm about five
# minutes after I wrote it.
use strict;

my $set_cache = 0; # flag to set the cache on the way out

if(exists($_[0]{'ISA_CACHE'})) {
return @{$_[0]{'ISA_CACHE'}}
if defined $_[0]{'ISA_CACHE'}
and ref $_[0]{'ISA_CACHE'};

# Otherwise, if exists but is not a ref, it's a signal that it should
# be replaced at the earliest, with a listref
$set_cache = 1;
}

my $has_mi = 0; # set to 0 on the first node we see with 2 parents!
# First, just figure out what's in the tree.
my %last_child = ($_[0] => 1); # as if already seen
Expand All @@ -2246,7 +2246,7 @@ sub runsub {
# 2) $x is the last child of $y,
# so that means that $y can be pushed to the stack only after
# we've pushed $x to the stack.

my @tree_nodes;
{
my $current;
Expand Down Expand Up @@ -2331,7 +2331,7 @@ sub runsub {
}
}
#print "Contents of out: ", nodelist(@out), "\n";

$_[0]{'ISA_CACHE'} = \@out if $set_cache;
return @out;
}
Expand Down Expand Up @@ -2362,7 +2362,7 @@ sub runsub {
# Returns true for $X->isa($Y) iff $Y is $X or is an ancestor of $X.

return unless ref($_[0]) && ref($_[1]);
return scalar(grep {$_ eq $_[1]} &Class::Classless::X::ISA_TREE($_[0]));
return scalar(grep {$_ eq $_[1]} &Class::Classless::X::ISA_TREE($_[0]));
}

###########################################################################
Expand Down Expand Up @@ -2449,7 +2449,7 @@ sub runsub {
# - fixed bug in handling channel #$$
# - typo on line 200 spotted by f0rked
# - reset background colour at the beginning of an entry
#
#
# 0.4d
# - fixed order of disabling statusbars
# - several attempts at special chars, without any real success
Expand All @@ -2460,7 +2460,7 @@ sub runsub {
# - make it so the dynamic sub is actually deleted
# - fix a bug with removing of the last separator
# - take into consideration parse_special
#
#
# 0.3b
# - automatically kill old statusbars
# - reset on /reload
Expand Down
8 changes: 4 additions & 4 deletions irssi/scripts/autorun/hilightwin.pl
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@

use Irssi;
use POSIX;
use vars qw($VERSION %IRSSI);
use vars qw($VERSION %IRSSI);

$VERSION = "0.02";
%IRSSI = (
authors => "Timo \'cras\' Sirainen, Mark \'znx\' Sangster",
contact => "tss\@iki.fi, znxster\@gmail.com",
contact => "tss\@iki.fi, znxster\@gmail.com",
name => "hilightwin",
description => "Print hilighted messages to window named \"hilight\"",
license => "Public Domain",
Expand All @@ -29,13 +29,13 @@ sub sig_printtext {
if(Irssi::settings_get_bool('hilightwin_showprivmsg')) {
$opt = MSGLEVEL_HILIGHT|MSGLEVEL_MSGS;
}

if(
($dest->{level} & ($opt)) &&
($dest->{level} & MSGLEVEL_NOHILIGHT) == 0
) {
$window = Irssi::window_find_name('hilight');

if ($dest->{level} & MSGLEVEL_PUBLIC) {
$text = $dest->{target}.": ".$text;
}
Expand Down
Loading

0 comments on commit bce2124

Please sign in to comment.