DELTA 906 50 1355
SVN  ©©B; ¨~ »	¨ysub close {
    my $self = shift;
    $self->db->disconnectENDREP
DELTA 897 1368 8722
SVN  Á0ÔW‘N ¼g ” †-¼_’ G­ F®  ‚Ä“ EÆ ˆ(Çw Œ`Ð%€n Æ7Þ¢ –I¤D€q R®  ©(€„ \­{€Š †»)set_attribute {
    sub close {
    
}login     => 'none'$self = shift;
    $self->{deleted} = 1;
    BarnOwl::message_list()->set_attribute($self => deleted => 1);
}

sub undelete {
    my $self = shift;
    $self->{deleted} = 0;
    BarnOwl::message_list()->set_attribute($self => deleted => 0    BarnOwl::message_list()->close    # Trim trailing newlines.
    $body =~ s/\n*$//;
    return "    ".$body;
}

package BarnOwl::Style::OneLine;use constant BASE_FORMAT => '%s %-13.13s %-11.11s %-12.12s ';
sub format_message($) {
  my $m = shift;

#  if ( $m->is_zephyr ) {
#    return format_zephyr($m);
#  }
  if ( $m->is_loginout ) {
    return format_login($m);
  }
  elsif ( $m->is_ping) {
    return format_ping($m);
  }
  elsif ( $m->is_admin || $m->is_loopback) {
    return format_local($m);
  }
  else {
    return format_chat($m);
  }
}

BarnOwl::_create_style("oneline", "BarnOwl::Style::OneLine::format_message", "Formats for one-line-per-messagformat_login($) {
  my $m = shift;
  return sprintf(
    BASE_FORMAT,
    '<',
    $m->type,
    uc( $m->login ),
    $m->pretty_sender)
    . ($m->login_extra ? "at ".$m->login_extra : '');
}

sub format_ping($) {
  my $m = shift;
  return sprintf(
    BASE_FORMAT,
    '<',
    $m->type,
    'PING',
    $m->pretty_sender)
}

sub format_chat($)
{
  my $m = shift;
  my $dir = lc($m->{direction});
  my $dirsym = '-';
  if ($dir eq 'in') {
    $dirsym = '<';
  }
  elsif ($dir eq 'out') {
    $dirsym = '>';
  }

  my $line;
  if ($m->is_personal) {
    $line= sprintf(BASE_FORMAT,
		   $dirsym,
		   $m->type,
		   '',
		   ($dir eq 'out'
		      ? $m->pretty_recipient
		      : $m->pretty_sender));
  }
  else {
    $line = sprintf(BASE_FORMAT,
		    $dirsym,
		    $m->context,
		    $m->subcontext,
		    ($dir eq 'out'
		       ? $m->pretty_recipient
		       : $m->pretty_sender));
  }

  my $body = $m->{body};
  $body =~ tr/\n/ /;
  $line .= $body;
  $line = BarnOwl::Style::boldify($line) if ($m->is_personal && lc($m->direction) eq 'in');
  return $line;
}

# Format locally generated messages
sub format_local($)
{
  my $m = shift;
  my $type = uc($m->{type});
  my $line = sprintf(BASE_FORMAT, '<', $type, '', '');
  my $body = $m->{body};
  $body =~ tr/\n/ /;
  return $line.$body;
}ENDREP
id: 3m.1u.r907/2485
type: file
pred: 3m.1u.r906/1948
count: 60
text: 907 103 2355 27153 9947f7cf7fab0bf870865bc96cbddbe3
props: 225 42220 81 0 685faf6a4230ea531a31a12e4b3cb565
cpath: /branches/barnowl_sqlite/owl/perlwrap.pm
copyroot: 736 /branches/barnowl_sqlite

id: 8j.1u.r907/2749
type: file
pred: 8j.1u.r906/2213
count: 3
text: 907 0 78 5314 f3124c22bdb09033433225d72aa9e506
cpath: /branches/barnowl_sqlite/owl/perl/lib/BarnOwl/MessageList/SQL.pm
copyroot: 736 /branches/barnowl_sqlite

PLAIN
K 6
SQL.pm
V 20
file 8j.1u.r907/2749
END
ENDREP
id: 8i.1u.r907/3030
type: dir
pred: 8i.1u.r906/2496
count: 3
text: 907 2976 41 41 8f2ccf9472d6fcff1a6a4f6f155e743f
cpath: /branches/barnowl_sqlite/owl/perl/lib/BarnOwl/MessageList
copyroot: 736 /branches/barnowl_sqlite

PLAIN
K 11
MessageList
V 19
dir 8i.1u.r907/3030
K 15
ModuleLoader.pm
V 21
file 77.1u.r835/46869
END
ENDREP
id: 76.1u.r907/3357
type: dir
pred: 76.1u.r906/2822
count: 7
text: 907 3250 94 94 1699be1226a6efa128e6ff720616f90f
cpath: /branches/barnowl_sqlite/owl/perl/lib/BarnOwl
copyroot: 736 /branches/barnowl_sqlite

PLAIN
K 7
BarnOwl
V 19
dir 76.1u.r907/3357
K 6
Module
V 19
dir 78.0.r689/50053
END
ENDREP
id: 4b.1u.r907/3655
type: dir
pred: 4b.1u.r906/3120
count: 21
text: 907 3565 77 77 6bef499fb9d1a58e46b3b8ba7229b149
cpath: /branches/barnowl_sqlite/owl/perl/lib
copyroot: 736 /branches/barnowl_sqlite

PLAIN
K 3
lib
V 19
dir 4b.1u.r907/3655
K 7
modules
V 20
dir 4c.1u.r905/13443
END
ENDREP
id: 4a.1u.r907/3944
type: dir
pred: 4a.1u.r906/3409
count: 102
text: 907 3856 75 75 93bec20438fb28ad3668a6a86b828645
cpath: /branches/barnowl_sqlite/owl/perl
copyroot: 736 /branches/barnowl_sqlite

PLAIN
K 4
BUGS
V 20
file 5u.0.r689/48450
K 9
ChangeLog
V 18
file h.0.r393/2438
K 11
Makefile.in
V 20
file i.1u.r899/29932
K 4
NEWS
V 16
file j.0.r5/8251
K 6
README
V 21
file 5r.1u.r880/22414
K 4
TODO
V 18
file 5s.0.r619/324
K 5
aim.c
V 20
file 22.1u.r842/3120
K 9
athstatic
V 18
file 1x.0.r533/117
K 7
buddy.c
V 20
file 3o.0.r234/19726
K 11
buddylist.c
V 20
file 3d.1u.r842/2860
K 5
cmd.c
V 18
file k.0.r405/7146
K 11
codelist.pl
V 19
file l.0.r212/11814
K 10
commands.c
V 19
file m.1u.r857/3290
K 11
config.h.in
V 18
file n.0.r707/3406
K 12
configure.in
V 19
file p.1u.r765/6427
K 9
context.c
V 18
file q.0.r209/8754
K 11
createdb.pl
V 20
file 8h.1u.r906/1746
K 6
debian
V 20
dir 63.1u.r835/45097
K 6
dict.c
V 20
file r.1u.r755/22581
K 3
doc
V 18
dir 1n.0.r589/1227
K 9
editwin.c
V 20
file s.1u.r880/22156
K 14
encapsulate.pl
V 20
file 3l.0.r225/44724
K 10
errqueue.c
V 20
file 3p.0.r242/19206
K 8
examples
V 17
dir 1s.0.r226/477
K 8
filter.c
V 20
file t.1u.r850/16575
K 15
filterelement.c
V 20
file u.1u.r905/10936
K 8
fmtext.c
V 18
file v.0.r711/1132
K 11
functions.c
V 19
file w.1u.r876/1328
K 8
global.c
V 20
file x.1u.r899/30459
K 6
help.c
V 17
file y.0.r712/145
K 9
history.c
V 17
file z.0.r283/439
K 10
install.sh
V 19
file 21.0.r122/7916
K 12
keybinding.c
V 18
file 10.0.r640/656
K 8
keymap.c
V 19
file 11.0.r209/8965
K 10
keypress.c
V 18
file 12.0.r359/996
K 6
keys.c
V 21
file 13.1u.r835/45563
K 7
libfaim
V 16
dir 23.0.r716/87
K 6
list.c
V 17
file 14.0.r635/59
K 9
logging.c
V 19
file 15.0.r730/9209
K 9
mainwin.c
V 20
file 16.1u.r869/7421
K 9
message.c
V 21
file 17.1u.r905/11195
K 13
messagelist.c
V 19
file 18.1u.r879/722
K 13
mkinstalldirs
V 19
file 3v.0.r346/1232
K 11
muxevents.c
V 18
file 3w.0.r359/781
K 9
obarray.c
V 21
file 62.1u.r755/23361
K 5
owl.c
V 21
file 19.1u.r899/33588
K 5
owl.h
V 20
file 1a.1u.r869/9165
K 10
owl_perl.h
V 20
file 8g.1u.r869/8205
K 6
pair.c
V 18
file 1z.0.r102/270
K 4
perl
V 19
dir 4a.1u.r907/3944
K 12
perlconfig.c
V 21
file 3n.1u.r880/21891
K 11
perlglue.xs
V 21
file 1v.1u.r897/11582
K 11
perlwrap.pm
V 20
file 3m.1u.r907/2485
K 9
popexec.c
V 19
file 3x.0.r364/1658
K 8
popwin.c
V 18
file 1b.0.r373/263
K 7
regex.c
V 19
file 1c.0.r597/1404
K 10
stubgen.pl
V 17
file 1d.0.r5/8659
K 7
style.c
V 19
file 3f.0.r280/1095
K 11
stylefunc.c
V 21
file 3g.1u.r899/33849
K 10
svkversion
V 18
file 6d.0.r660/834
K 1
t
V 20
dir 7y.1v.r755/27235
K 6
test.h
V 21
file 3y.1u.r755/24896
K 8
tester.c
V 21
file 1e.1u.r755/26979
K 6
text.c
V 18
file 1f.0.r575/729
K 7
timer.c
V 20
file 3e.0.r143/11961
K 6
util.c
V 19
file 1g.1u.r859/109
K 10
variable.c
V 21
file 1h.1u.r835/48467
K 6
view.c
V 19
file 1i.1u.r871/281
K 9
viewwin.c
V 19
file 1j.0.r362/1349
K 12
zbuddylist.c
V 18
file 3u.0.r330/561
K 8
zcrypt.c
V 20
file 1y.0.r219/11682
K 8
zephyr.c
V 20
file 1k.1u.r842/3900
K 8
zwrite.c
V 21
file 1l.1u.r755/27416
END
ENDREP
id: g.1u.r907/7002
type: dir
pred: g.1u.r906/6468
count: 708
text: 907 4142 2847 2847 96c52dd9abe4babc0e0a2c9026e23516
props: 835 52553 508 0 f9966ab60110465b7d071525ae423902
cpath: /branches/barnowl_sqlite/owl
copyroot: 736 /branches/barnowl_sqlite

PLAIN
K 7
CVSROOT
V 16
dir 4.0.r112/895
K 11
conf.alexmv
V 20
dir 5z.1u.r835/44045
K 12
conf.asedeno
V 18
dir 3z.0.r617/2908
K 3
owl
V 18
dir g.1u.r907/7002
END
ENDREP
id: 1.1u.r907/7421
type: dir
pred: 1.1u.r906/6888
count: 741
text: 907 7253 155 155 9e0f41cb71f785ae9a7d413ceb7180cd
props: 899 37393 249 0 eff288c0e6155743567d4ef96a1b6123
cpath: /branches/barnowl_sqlite
copyroot: 736 /branches/barnowl_sqlite

PLAIN
K 14
barnowl_sqlite
V 18
dir 1.1u.r907/7421
K 15
barnowl_unicode
V 19
dir 1.1t.r896/25966
K 7
owl-1_2
V 15
dir 1.4.r116/49
K 7
owl-2_0
V 18
dir 1.5.r306/13541
K 14
owl-2_0-branch
V 18
dir 1.1f.r317/6751
END
ENDREP
id: 2.0.r907/7886
type: dir
pred: 2.0.r906/7354
count: 121
text: 907 7666 207 207 2668b203e814e72c6437f369028d20e1
cpath: /branches
copyroot: 0 /

PLAIN
K 8
branches
V 17
dir 2.0.r907/7886
K 4
tags
V 16
dir 3.0.r391/435
K 5
trunk
V 17
dir 1.0.r900/4152
END
ENDREP
id: 0.0.r907/8150
type: dir
pred: 0.0.r906/7619
count: 907
text: 907 8033 104 104 9c1ae0ad91b00f021a33cc06a7d43d0e
props: 814 5811 257 0 1bba3ff3b0bec5c44a6f38be0d2645e9
cpath: /
copyroot: 0 /

8j.1u.t906-1 modify true false /branches/barnowl_sqlite/owl/perl/lib/BarnOwl/MessageList/SQL.pm

3m.1u.t906-1 modify true false /branches/barnowl_sqlite/owl/perlwrap.pm


8150 8344
