sup

A curses threads-with-tags style email client

sup-website.git

git clone https://supmua.dev/git/sup-website/

community/pipermail-archives/sup-devel/2010-10.txt (77742B) - raw

      1 From stipredirect@gmail.com  Fri Oct  1 00:52:18 2010
      2 From: stipredirect@gmail.com (Michael Stipicevic)
      3 Date: Fri, 1 Oct 2010 00:52:18 -0400
      4 Subject: [sup-devel] Exception
      5 In-Reply-To: <1285874266-sup-5868@ezyang>
      6 References: <1285874266-sup-5868@ezyang>
      7 Message-ID: <AANLkTi=DvF9DgNv2OxsB64b=GNjRm6TV12N=HRas89Dp@mail.gmail.com>
      8 
      9 >
     10 > So I guess my index is corrupted in some weird way (probably I managed
     11 > to create two mails with the same docid). I've worked around it by
     12 > commenting
     13 > out the assert, but any idea how to fix my index?
     14 >
     15 
     16 Did this happen right after you sent a message? I had to fix this by doing a
     17 dump and rebuilding the index.
     18 
     19 - Mike
     20 -------------- next part --------------
     21 An HTML attachment was scrubbed...
     22 URL: <http://rubyforge.org/pipermail/sup-devel/attachments/20101001/5032ad61/attachment.html>
     23 
     24 From ezyang@MIT.EDU  Fri Oct  1 13:13:15 2010
     25 From: ezyang@MIT.EDU (Edward Z. Yang)
     26 Date: Fri, 01 Oct 2010 13:13:15 -0400
     27 Subject: [sup-devel] Exception
     28 In-Reply-To: <AANLkTi=DvF9DgNv2OxsB64b=GNjRm6TV12N=HRas89Dp@mail.gmail.com>
     29 References: <1285874266-sup-5868@ezyang>
     30 	<AANLkTi=DvF9DgNv2OxsB64b=GNjRm6TV12N=HRas89Dp@mail.gmail.com>
     31 Message-ID: <1285953175-sup-1593@ezyang>
     32 
     33 Excerpts from Michael Stipicevic's message of Fri Oct 01 00:52:18 -0400 2010:
     34 > Did this happen right after you sent a message? I had to fix this by doing a
     35 > dump and rebuilding the index.
     36 
     37 Yep. Ouch! Although, I suppose there are worse things in life :-)
     38 
     39 Cheers,
     40 Edward
     41 
     42 From sup-bugs@masanjin.net  Mon Oct  4 00:51:43 2010
     43 From: sup-bugs@masanjin.net (anonymous)
     44 Date: Mon, 04 Oct 2010 04:51:43 +0000
     45 Subject: [sup-devel] [issue123] wrong id called on nil when trying to read
     46 	labelled mail
     47 In-Reply-To: <1286167903.01.0.143643997366.issue123@masanjin.net>
     48 Message-ID: <1286167903.01.0.143643997366.issue123@masanjin.net>
     49 
     50 
     51 New submission from anonymous:
     52 
     53 When I try to read all the messages of a specific label the program crashes and
     54 gives this error:
     55 
     56 --- RuntimeError from thread: load threads for thread-index-mode
     57 wrong id called on nil
     58 /usr/lib/ruby/gems/1.9.1/gems/sup-0.11/lib/sup.rb:17:in `id'
     59 /usr/lib/ruby/gems/1.9.1/gems/sup-0.11/lib/sup/modes/thread-index-mode.rb:234:in
     60 `block (2 levels) in update'
     61 /usr/lib/ruby/gems/1.9.1/gems/sup-0.11/lib/sup/modes/thread-index-mode.rb:234:in
     62 `each'
     63 /usr/lib/ruby/gems/1.9.1/gems/sup-0.11/lib/sup/modes/thread-index-mode.rb:234:in
     64 `sort_by'
     65 /usr/lib/ruby/gems/1.9.1/gems/sup-0.11/lib/sup/modes/thread-index-mode.rb:234:in
     66 `block in update'
     67 <internal:prelude>:8:in `synchronize'
     68 /usr/lib/ruby/gems/1.9.1/gems/sup-0.11/lib/sup/modes/thread-index-mode.rb:232:in
     69 `update'
     70 /usr/lib/ruby/gems/1.9.1/gems/sup-0.11/lib/sup/modes/thread-index-mode.rb:652:in
     71 `load_n_threads'
     72 (eval):12:in `load_n_threads'
     73 /usr/lib/ruby/gems/1.9.1/gems/sup-0.11/lib/sup/modes/thread-index-mode.rb:624:in
     74 `block in load_n_threads_background'
     75 /usr/lib/ruby/gems/1.9.1/gems/sup-0.11/lib/sup.rb:76:in `block in reporting_thread'
     76 
     77 ----------
     78 messages: 289
     79 nosy: anonymous
     80 priority: bug
     81 ruby_version: ruby 1.9.1p429 (2010-07-02 revision 28523) [x86_64-linux]
     82 status: unread
     83 sup_version: v0.11
     84 title: wrong id called on nil when trying to read labelled mail
     85 
     86 _________________________________________
     87 Sup issue tracker <sup-bugs at masanjin.net>
     88 <http://masanjin.net/sup-bugs/issue123>
     89 _________________________________________
     90 
     91 From eg@gaute.vetsj.com  Mon Oct  4 04:40:10 2010
     92 From: eg@gaute.vetsj.com (Gaute Hope)
     93 Date: Mon, 04 Oct 2010 10:40:10 +0200
     94 Subject: [sup-devel] [PATCH] utf-8 script encoding
     95 In-Reply-To: <1284720809-sup-6508@dolk>
     96 References: <1262533823-sup-5348@dolk>
     97 	<1262534836-29113-1-git-send-email-rlane@club.cc.cmu.edu>
     98 	<1262535218-sup-9718@dolk> <1264250655-sup-3062@masanjin.net>
     99 	<1266066673-sup-5419@mithink> <1284033605-sup-442@dolk>
    100 	<1284720809-sup-6508@dolk>
    101 Message-ID: <1286181492-sup-206@dolk>
    102 
    103 And force encoding on already applied labels:
    104 http://gitorious.org/sup/gautehs-mainline/commit/adc49a0a31b986701ef4c888de44d7ada65b0f4e
    105 
    106 I'd squash those, but there might be more coming up ;)
    107 
    108 - gaute
    109 
    110 Excerpts from Gaute Hope's message of 2010-09-17 12:54:00 +0200:
    111 > Excerpts from Gaute Hope's message of 2010-09-09 14:02:17 +0200:
    112 > > I put target.force_encoding 'UTF-8' on the tab completion of contacts
    113 > > and labels and that seems to have fixed the issue 36 on Ruby 1.9. See
    114 > > attached patch; or:
    115 > > http://gitorious.org/sup/gautehs-mainline/commit/c78e53f13b493afe2ce13c8f312068fe042cd126
    116 > 
    117 > Also force encoding on label search completion: 
    118 > http://gitorious.org/~gauteh/sup/gautehs-mainline/commit/009cda0e379950726c5234a8949e636194bf13e3
    119 > 
    120 > There's still an error if you try to complete multiple unicode
    121 > recipients, probably because one of the strings are not Unicode.
    122 > 
    123 > - gaute
    124 -------------- next part --------------
    125 A non-text attachment was scrubbed...
    126 Name: 0001-UTF-8-label-completion-Convert-existing-labels.patch
    127 Type: application/octet-stream
    128 Size: 798 bytes
    129 Desc: not available
    130 URL: <http://rubyforge.org/pipermail/sup-devel/attachments/20101004/288bf473/attachment.obj>
    131 
    132 From sascha-pgp@silbe.org  Tue Oct  5 07:25:33 2010
    133 From: sascha-pgp@silbe.org (Sascha Silbe)
    134 Date: Tue,  5 Oct 2010 13:25:33 +0200
    135 Subject: [sup-devel] [PATCH] fix GPG "hang" on malformed PGP message
    136 	(detached signature)
    137 Message-ID: <1286277933-4686-1-git-send-email-sascha-pgp@silbe.org>
    138 
    139 A PGP message chunk (bounded by "-----BEGIN PGP MESSAGE-----" and
    140 "-----END PGP MESSAGE-----") can contain a detached signature. By default GPG
    141 will wait for the payload to be supplied on stdin if it gets passed a lone
    142 detached signature. To the user it will appear as GPG (or sup, since they
    143 don't see any output from GPG) hanging.
    144 
    145 The best way to solve this would be enabling batch mode, but then passphrase
    146 querying without gpg-agent wouldn't work anymore. So we resort to passing
    147 --multifile which has the side effect of not allowing detached signatures.
    148 
    149 Encountered and tested with message
    150 <AANLkTin1Ysn7Fp32Eoyjo3jjhHwVrc=hMuq+okgKNfmr at mail.gmail.com> [1] on the git
    151 mailing list.
    152 
    153 [1] http://marc.info/?l=git&m=128623349711269&q=raw
    154 
    155 Signed-off-by: Sascha Silbe <sascha-pgp at silbe.org>
    156 ---
    157  lib/sup/crypto.rb |    2 +-
    158  1 files changed, 1 insertions(+), 1 deletions(-)
    159 
    160 diff --git a/lib/sup/crypto.rb b/lib/sup/crypto.rb
    161 index 289fb0e..68a57c8 100644
    162 --- a/lib/sup/crypto.rb
    163 +++ b/lib/sup/crypto.rb
    164 @@ -144,7 +144,7 @@ def decrypt payload, armor=false # a RubyMail::Message object
    165      output_fn = Tempfile.new "redwood.output"
    166      output_fn.close
    167  
    168 -    message = run_gpg "--output #{output_fn.path} --skip-verify --yes --decrypt #{payload_fn.path}", :interactive => true
    169 +    message = run_gpg "--output #{output_fn.path} --multifile --skip-verify --yes --decrypt #{payload_fn.path}", :interactive => true
    170  
    171      unless $?.success?
    172        info "Error while running gpg: #{message}"
    173 -- 
    174 1.7.1
    175 
    176 
    177 From sascha-ml-reply-to-2010-3@silbe.org  Tue Oct  5 07:42:58 2010
    178 From: sascha-ml-reply-to-2010-3@silbe.org (Sascha Silbe)
    179 Date: Tue, 05 Oct 2010 13:42:58 +0200
    180 Subject: [sup-devel] [PATCH] Fixed inline gpg crash when the end marker
    181 	is missing
    182 In-Reply-To: <1283637106-18801-1-git-send-email-michael@content-space.de>
    183 References: <AANLkTimw-xi2XCdn3R3QHoDFFv-4cD7GxCoHWxbta-0r@mail.gmail.com>
    184 	<1283637106-18801-1-git-send-email-michael@content-space.de>
    185 Message-ID: <1286278748-sup-3282@twin.sascha.silbe.org>
    186 
    187 Excerpts from Michael Hamann's message of Sat Sep 04 23:51:46 +0200 2010:
    188 
    189 > lines.between() does not check if the end marker actually exists, but
    190 > later it is assumed the marker exists. This change introduces a check
    191 > for the end marker and doesn't decrypt messages in which the end marker
    192 > is missing. This is a fix for
    193 > http://rubyforge.org/pipermail/sup-talk/2010-August/004209.html
    194 
    195 Just encountered this one with some message in the "Error when verifying
    196 tags signed using 1.7.3.1" thread [1] on the git mailing list.
    197 The patch works fine for me, thanks!
    198 
    199 FWIW, I think your approach of not trying to decrypt mails that contain
    200 no end marker is the right thing to do: If the end marker is missing,
    201 the message most likely has been garbled in other ways as well (or
    202 simply cut off in the middle), causing decryption to fail anyway.
    203 
    204 Sascha
    205 
    206 [1] http://marc.info/?t=128623049600001&r=1&w=2
    207 --
    208 http://sascha.silbe.org/
    209 http://www.infra-silbe.de/
    210 -------------- next part --------------
    211 A non-text attachment was scrubbed...
    212 Name: signature.asc
    213 Type: application/pgp-signature
    214 Size: 490 bytes
    215 Desc: not available
    216 URL: <http://rubyforge.org/pipermail/sup-devel/attachments/20101005/6c5186ee/attachment-0001.bin>
    217 
    218 From bwalton@artsci.utoronto.ca  Tue Oct  5 09:09:41 2010
    219 From: bwalton@artsci.utoronto.ca (Ben Walton)
    220 Date: Tue, 05 Oct 2010 09:09:41 -0400
    221 Subject: [sup-devel] [PATCH] Fixed inline gpg crash when the end marker
    222 	is missing
    223 In-Reply-To: <1286278748-sup-3282@twin.sascha.silbe.org>
    224 References: <AANLkTimw-xi2XCdn3R3QHoDFFv-4cD7GxCoHWxbta-0r@mail.gmail.com>
    225 	<1283637106-18801-1-git-send-email-michael@content-space.de>
    226 	<1286278748-sup-3282@twin.sascha.silbe.org>
    227 Message-ID: <1286284088-sup-3859@pinkfloyd.chass.utoronto.ca>
    228 
    229 Excerpts from Sascha Silbe's message of Tue Oct 05 07:42:58 -0400 2010:
    230 
    231 > Just encountered this one with some message in the "Error when
    232 > verifying tags signed using 1.7.3.1" thread [1] on the git mailing
    233 > list.  The patch works fine for me, thanks!
    234 
    235 Yes, me too.  Patch applied and my sup is back in business.
    236 
    237 > FWIW, I think your approach of not trying to decrypt mails that
    238 > contain no end marker is the right thing to do: If the end marker is
    239 > missing, the message most likely has been garbled in other ways as
    240 > well (or simply cut off in the middle), causing decryption to fail
    241 > anyway.
    242 
    243 I agree with this rationale.  Feeding the entire message to gpg if no
    244 end marker is seen isn't the way to go, I don't think.
    245 
    246 Rich, can this hit master?
    247 
    248 Thanks
    249 -Ben
    250 --
    251 Ben Walton
    252 Systems Programmer - CHASS
    253 University of Toronto
    254 C:416.407.5610 | W:416.978.4302
    255 
    256 
    257 From michael+sup@stapelberg.de  Wed Oct  6 18:47:43 2010
    258 From: michael+sup@stapelberg.de (Michael Stapelberg)
    259 Date: Thu, 07 Oct 2010 00:47:43 +0200
    260 Subject: [sup-devel] sup for sale
    261 In-Reply-To: <1285263695-sup-3656@alvh.no-ip.org>
    262 References: <1267109223-sup-351@masanjin.net>
    263 	<1267111506-sup-1389@peer.zerties.org>
    264 	<1285241702-sup-3344@dolk> <1285263695-sup-3656@alvh.no-ip.org>
    265 Message-ID: <1286405107-sup-889@midna.zekjur.net>
    266 
    267 Hi Alvaro,
    268 
    269 Excerpts from Alvaro Herrera's message of 2010-09-23 19:46:31 +0200:
    270 > I just want to add that it's a bit discouraging to see that the master
    271 > branch doesn't move a bit for a long time.  So it would be very good for
    272 > morale of us poor users to have someone else pushing patches, even if
    273 > it's just the minor bugfixes that we see pop up on the mailing lists.
    274 +1.
    275 
    276 Last commit on sup/mainline:master is from 2010-07-16, which is nearly three
    277 months. No offense, Rich, but if you don?t have time to merge patches and/or
    278 respond to mails either, it would be a good idea to get someone else the
    279 permissions to help you out.
    280 
    281 Best regards,
    282 Michael
    283 
    284 From rlane@club.cc.cmu.edu  Wed Oct  6 23:21:15 2010
    285 From: rlane@club.cc.cmu.edu (Rich Lane)
    286 Date: Wed, 06 Oct 2010 23:21:15 -0400
    287 Subject: [sup-devel] my list subscription is broken
    288 Message-ID: <1286421412-sup-6614@zyrg.net>
    289 
    290 Mailman claims I'm still subscribed to the sup lists even though I
    291 haven't received any mails from them for months, and I see the archive
    292 has many messages. Please CC me for now until I get this figured out.
    293 If there are any bugfixes I haven't responded to please resubmit them.
    294 
    295 From rlane@club.cc.cmu.edu  Wed Oct  6 23:08:11 2010
    296 From: rlane@club.cc.cmu.edu (Rich Lane)
    297 Date: Wed, 06 Oct 2010 23:08:11 -0400
    298 Subject: [sup-devel] sup for sale
    299 In-Reply-To: <1286405107-sup-889@midna.zekjur.net>
    300 References: <1267109223-sup-351@masanjin.net>
    301 	<1267111506-sup-1389@peer.zerties.org>
    302 	<1285241702-sup-3344@dolk> <1285263695-sup-3656@alvh.no-ip.org>
    303 	<1286405107-sup-889@midna.zekjur.net>
    304 Message-ID: <1286420330-sup-3565@zyrg.net>
    305 
    306 I'm an idiot for not realizing this earlier, but it turns out I haven't
    307 been subscribed to the sup lists since late July. I guess too many mails
    308 bounced. I've been working on other projects and Sup just fell off my
    309 radar. Sorry about that.
    310 
    311 I'd be very happy to have someone else step up to help. I haven't gone
    312 through the list archives yet, is there anyone who's volunteered?
    313 
    314 From gaudenz@soziologie.ch  Thu Oct  7 05:05:30 2010
    315 From: gaudenz@soziologie.ch (Gaudenz Steinlin)
    316 Date: Thu, 07 Oct 2010 11:05:30 +0200
    317 Subject: [sup-devel] [PATCH] prefer To and Cc adresses of accounts on reply
    318 Message-ID: <1286442230-sup-1136@meteor.durcheinandertal.local>
    319 
    320 Resending this on Rich's request.
    321 
    322 If a message was sent (To or Cc header) to an address which corresponds
    323 to an account prefer this account over the account corresponding to the
    324 address in recipient_email.
    325 
    326 This solves the problem that the wrong reply from address is chosen on
    327 mails which are sent to an account which is forwarded to another account.
    328 ---
    329  lib/sup/modes/reply-mode.rb |   15 ++++++---------
    330  1 files changed, 6 insertions(+), 9 deletions(-)
    331 
    332 diff --git a/lib/sup/modes/reply-mode.rb b/lib/sup/modes/reply-mode.rb
    333 index bbac922..d80f35b 100644
    334 --- a/lib/sup/modes/reply-mode.rb
    335 +++ b/lib/sup/modes/reply-mode.rb
    336 @@ -65,18 +65,15 @@ EOS
    337      ## if we have a value from a hook, use it.
    338      from = if hook_reply_from
    339        hook_reply_from
    340 -    ## otherwise, if the original email had an envelope-to header, try and use
    341 -    ## it, and look up the corresponding name form the list of accounts.
    342 -    ##
    343 +    ## otherwise, try and find an account somewhere in the list of to's
    344 +    ## and cc's and look up the corresponding name form the list of accounts.
    345 +    ## if this does not succeed use the recipient_email (=envelope-to) instead.
    346      ## this is for the case where mail is received from a mailing lists (so the
    347      ## To: is the list id itself). if the user subscribes via a particular
    348      ## alias, we want to use that alias in the reply.
    349 -    elsif @m.recipient_email && (a = AccountManager.account_for(@m.recipient_email))
    350 -      Person.new a.name, @m.recipient_email
    351 -    ## otherwise, try and find an account somewhere in the list of to's
    352 -    ## and cc's.
    353 -    elsif(b = (@m.to + @m.cc).find { |p| AccountManager.is_account? p })
    354 -      b
    355 +    elsif(b = (@m.to.collect {|t| t.email} + @m.cc.collect {|c| c.email} + [@m.recipient_email] ).find { |p| AccountManager.is_account_email? p })
    356 +      a = AccountManager.account_for(b)
    357 +      Person.new a.name, b
    358      ## if all else fails, use the default
    359      else
    360        AccountManager.default_account
    361 --
    362 Ever tried. Ever failed. No matter.
    363 Try again. Fail again. Fail better.
    364 ~ Samuel Beckett ~
    365 -------------- next part --------------
    366 A non-text attachment was scrubbed...
    367 Name: signature.asc
    368 Type: application/pgp-signature
    369 Size: 482 bytes
    370 Desc: not available
    371 URL: <http://rubyforge.org/pipermail/sup-devel/attachments/20101007/8ab1fd82/attachment.bin>
    372 
    373 From michael+sup@stapelberg.de  Thu Oct  7 05:32:11 2010
    374 From: michael+sup@stapelberg.de (Michael Stapelberg)
    375 Date: Thu, 07 Oct 2010 11:32:11 +0200
    376 Subject: [sup-devel] Fwd: [PATCH] prefer To and Cc adresses of accounts on
    377 	reply
    378 Message-ID: <1286443847-sup-5609@midna.zekjur.net>
    379 
    380 Hi,
    381 
    382 as you didn?t CC rich, I am forwarding this message again.
    383 
    384 --- Begin forwarded message from Gaudenz Steinlin ---
    385 From: Gaudenz Steinlin <gaudenz at soziologie.ch>
    386 To: sup-devel <sup-devel at rubyforge.org>
    387 Date: Thu, 07 Oct 2010 11:05:30 +0200
    388 Subject: [sup-devel] [PATCH] prefer To and Cc adresses of accounts on reply
    389 
    390 Resending this on Rich's request.
    391 
    392 If a message was sent (To or Cc header) to an address which corresponds
    393 to an account prefer this account over the account corresponding to the
    394 address in recipient_email.
    395 
    396 This solves the problem that the wrong reply from address is chosen on
    397 mails which are sent to an account which is forwarded to another account.
    398 ---
    399  lib/sup/modes/reply-mode.rb |   15 ++++++---------
    400  1 files changed, 6 insertions(+), 9 deletions(-)
    401 
    402 diff --git a/lib/sup/modes/reply-mode.rb b/lib/sup/modes/reply-mode.rb
    403 index bbac922..d80f35b 100644
    404 --- a/lib/sup/modes/reply-mode.rb
    405 +++ b/lib/sup/modes/reply-mode.rb
    406 @@ -65,18 +65,15 @@ EOS
    407      ## if we have a value from a hook, use it.
    408      from = if hook_reply_from
    409        hook_reply_from
    410 -    ## otherwise, if the original email had an envelope-to header, try and use
    411 -    ## it, and look up the corresponding name form the list of accounts.
    412 -    ##
    413 +    ## otherwise, try and find an account somewhere in the list of to's
    414 +    ## and cc's and look up the corresponding name form the list of accounts.
    415 +    ## if this does not succeed use the recipient_email (=envelope-to) instead.
    416      ## this is for the case where mail is received from a mailing lists (so the
    417      ## To: is the list id itself). if the user subscribes via a particular
    418      ## alias, we want to use that alias in the reply.
    419 -    elsif @m.recipient_email && (a = AccountManager.account_for(@m.recipient_email))
    420 -      Person.new a.name, @m.recipient_email
    421 -    ## otherwise, try and find an account somewhere in the list of to's
    422 -    ## and cc's.
    423 -    elsif(b = (@m.to + @m.cc).find { |p| AccountManager.is_account? p })
    424 -      b
    425 +    elsif(b = (@m.to.collect {|t| t.email} + @m.cc.collect {|c| c.email} + [@m.recipient_email] ).find { |p| AccountManager.is_account_email? p })
    426 +      a = AccountManager.account_for(b)
    427 +      Person.new a.name, b
    428      ## if all else fails, use the default
    429      else
    430        AccountManager.default_account
    431 --- End forwarded message ---
    432 
    433 From eg@gaute.vetsj.com  Thu Oct  7 06:30:10 2010
    434 From: eg@gaute.vetsj.com (Gaute Hope)
    435 Date: Thu, 07 Oct 2010 12:30:10 +0200
    436 Subject: [sup-devel] [PATCHES] resubmitted: Squash of various UTF-8 fixes
    437 	for ruby 1.9 compatability, and update status on jump.
    438 Message-ID: <1286447030-sup-6339@dolk>
    439 
    440 Hi,
    441 
    442 resubmitting a squashed version of the three patches:
    443 2010-10-04 adc49a0 Gaute Hope UTF-8 label completion: Convert existing labels (gaute/master, gaute)
    444 2010-09-17 009cda0 Gaute Hope Also force encoding on label search completion
    445 2010-09-09 c78e53f Gaute Hope Force UTF-8 on label and contact completion
    446 
    447 And one for updating status on jump:
    448 2010-09-23 64b739c Gaute Hope Update status on jump on line in line-cursor-mode
    449 
    450 All four are available on (master):
    451 http://gitorious.org/~gauteh/sup/gautehs-mainline
    452 
    453 Best regards, Gaute
    454 -------------- next part --------------
    455 A non-text attachment was scrubbed...
    456 Name: 0001-Update-status-on-jump-on-line-in-line-cursor-mode.patch
    457 Type: application/octet-stream
    458 Size: 924 bytes
    459 Desc: not available
    460 URL: <http://rubyforge.org/pipermail/sup-devel/attachments/20101007/97b414d0/attachment.obj>
    461 -------------- next part --------------
    462 A non-text attachment was scrubbed...
    463 Name: 0001-Force-UTF-8-on-label-and-contact-completion-squashed.patch
    464 Type: application/octet-stream
    465 Size: 1922 bytes
    466 Desc: not available
    467 URL: <http://rubyforge.org/pipermail/sup-devel/attachments/20101007/97b414d0/attachment-0001.obj>
    468 
    469 From sascha-ml-reply-to-2010-3@silbe.org  Thu Oct  7 07:41:44 2010
    470 From: sascha-ml-reply-to-2010-3@silbe.org (Sascha Silbe)
    471 Date: Thu, 07 Oct 2010 13:41:44 +0200
    472 Subject: [sup-devel] my list subscription is broken
    473 In-Reply-To: <1286421412-sup-6614@zyrg.net>
    474 References: <1286421412-sup-6614@zyrg.net>
    475 Message-ID: <1286449501-sup-5514@twin.sascha.silbe.org>
    476 
    477 Excerpts from Rich Lane's message of Thu Oct 07 05:21:15 +0200 2010:
    478 
    479 > If there are any bugfixes I haven't responded to please resubmit them.
    480 
    481 I have collected all my pending patches (including any discussion) plus
    482 one important fix from Michael Hamann in an mbox [1]. You can add it to
    483 sup using sup-add (giving it a distinctive label), check the discussions
    484 and apply all the patches at once using git am on the mbox.
    485 There are a few other patches in my repository [2], but there's a bug
    486 (progress indicator showing incorrect values on my armel box) I need to
    487 hunt down before posting them.
    488 
    489 If you'd prefer some other way to get the patches, please speak up.
    490 Bouncing the patch to the list won't work (mail loop detection),
    491 forwarding most likely messes the patch up (as sup doesn't support
    492 forwarding mails as an attachment) and resending the patch is tedious
    493 and looses previous discussion. So the mbox seemed like the best choice.
    494 
    495 Sascha
    496 
    497 [1] http://sascha.silbe.org/tmp/sup-pending-patches.mbox
    498 [2] git://git.silbe.org/sup (IPv6 only)
    499 -------------- next part --------------
    500 A non-text attachment was scrubbed...
    501 Name: signature.asc
    502 Type: application/pgp-signature
    503 Size: 490 bytes
    504 Desc: not available
    505 URL: <http://rubyforge.org/pipermail/sup-devel/attachments/20101007/33168224/attachment.bin>
    506 
    507 From alvherre@alvh.no-ip.org  Thu Oct  7 10:45:34 2010
    508 From: alvherre@alvh.no-ip.org (Alvaro Herrera)
    509 Date: Thu, 07 Oct 2010 10:45:34 -0400
    510 Subject: [sup-devel] my list subscription is broken
    511 In-Reply-To: <1286421412-sup-6614@zyrg.net>
    512 References: <1286421412-sup-6614@zyrg.net>
    513 Message-ID: <1286462188-sup-8766@alvh.no-ip.org>
    514 
    515 Excerpts from Rich Lane's message of mi? oct 06 23:21:15 -0400 2010:
    516 > Mailman claims I'm still subscribed to the sup lists even though I
    517 > haven't received any mails from them for months, and I see the archive
    518 > has many messages. Please CC me for now until I get this figured out.
    519 
    520 Maybe you are marked "nomail"?  The bounce processor could have done
    521 that to your subscription.
    522 
    523 > If there are any bugfixes I haven't responded to please resubmit them.
    524 
    525 There's a bunch of bugs in William's tracker, some with patches.  If
    526 things start moving again, I can offer a bit of help for triage and
    527 general cleanup.
    528 
    529 http://masanjin.net/sup-bugs/
    530 
    531 In particular,
    532 http://masanjin.net/sup-bugs/issue105
    533 
    534 Also,
    535 http://masanjin.net/sup-bugs/issue99
    536 contains a patch for another crash.
    537 
    538 -- 
    539 ?lvaro Herrera <alvherre at alvh.no-ip.org>
    540 
    541 From michael+sup@stapelberg.de  Thu Oct  7 13:21:26 2010
    542 From: michael+sup@stapelberg.de (Michael Stapelberg)
    543 Date: Thu, 07 Oct 2010 19:21:26 +0200
    544 Subject: [sup-devel] =?utf-8?q?=5BPATCH=5D_Bugfix=3A_Don=E2=80=99t_display?=
    545 	=?utf-8?q?_thread_participants_twice?=
    546 Message-ID: <1286471713-sup-9575@midna.zekjur.net>
    547 
    548 Hi,
    549 
    550 Quote from the commit message:
    551   When a participant of a thread uses different email addresses, but the same
    552   name, he would be displayed twice in the list:
    553   Participants:
    554    ? foo <foo at bar.com>
    555    ? foo <foo at qux.bar.com>
    556    ? bar <bar at bar.com>
    557   would lead to: "foo, bar, foo"
    558 
    559 Best regards,
    560 Michael
    561 -------------- next part --------------
    562 A non-text attachment was scrubbed...
    563 Name: 0001-Bugfix-Don-t-display-thread-participants-twice.patch
    564 Type: application/octet-stream
    565 Size: 1198 bytes
    566 Desc: not available
    567 URL: <http://rubyforge.org/pipermail/sup-devel/attachments/20101007/052fc466/attachment.obj>
    568 
    569 From rlane@club.cc.cmu.edu  Thu Oct  7 13:32:27 2010
    570 From: rlane@club.cc.cmu.edu (Rich Lane)
    571 Date: Thu, 07 Oct 2010 13:32:27 -0400
    572 Subject: [sup-devel] Fwd: [PATCH] prefer To and Cc adresses of accounts
    573 	on reply
    574 In-Reply-To: <1286443847-sup-5609@midna.zekjur.net>
    575 References: <1286443847-sup-5609@midna.zekjur.net>
    576 Message-ID: <1286472669-sup-8812@zyrg.net>
    577 
    578 Excerpts from Michael Stapelberg's message of Thu Oct 07 05:32:11 -0400 2010:
    579 > Hi,
    580 > 
    581 > as you didn?t CC rich, I am forwarding this message again.
    582 
    583 I actually got this one, it looks like things are working after
    584 unsubscribing and resubscribing to the list. Thanks though.
    585 
    586 From gaudenz@soziologie.ch  Thu Oct  7 13:50:13 2010
    587 From: gaudenz@soziologie.ch (Gaudenz Steinlin)
    588 Date: Thu, 07 Oct 2010 19:50:13 +0200
    589 Subject: [sup-devel] [PATCH] Explicitly specify signature hashing algorithm
    590 Message-ID: <1286473693-sup-8792@meteor.durcheinandertal.local>
    591 
    592 Sup used to add a micalg=pgp-sha1 parameter in Content-Type header of a
    593 signed message, but used whatever the user had configured as his
    594 preferred hasing algorithm in gpg.conf. This lead to unverifiable
    595 signatures in some MUAs.
    596 
    597 This adds an explicit --digest-algo option to the gpg call to override
    598 any user configured setting. It also upgrades the algorithm to sha256 as
    599 sha1 is being phased out now.
    600 ---
    601  lib/sup/crypto.rb |    4 ++--
    602  1 files changed, 2 insertions(+), 2 deletions(-)
    603 
    604 diff --git a/lib/sup/crypto.rb b/lib/sup/crypto.rb
    605 index 289fb0e..2bd5350 100644
    606 --- a/lib/sup/crypto.rb
    607 +++ b/lib/sup/crypto.rb
    608 @@ -45,14 +45,14 @@ EOS
    609  
    610      sig_fn = Tempfile.new "redwood.signature"; sig_fn.close
    611  
    612 -    message = run_gpg "--output #{sig_fn.path} --yes --armor --detach-sign --textmode --local-user '#{from}' #{payload_fn.path}", :interactive => true
    613 +    message = run_gpg "--output #{sig_fn.path} --yes --armor --detach-sign --textmode --digest-algo sha256 --local-user '#{from}' #{payload_fn.path}", :interactive => true
    614      unless $?.success?
    615        info "Error while running gpg: #{message}"
    616        raise Error, "GPG command failed. See log for details."
    617      end
    618  
    619      envelope = RMail::Message.new
    620 -    envelope.header["Content-Type"] = 'multipart/signed; protocol=application/pgp-signature; micalg=pgp-sha1'
    621 +    envelope.header["Content-Type"] = 'multipart/signed; protocol=application/pgp-signature; micalg=pgp-sha256'
    622  
    623      envelope.add_part payload
    624      signature = RMail::Message.make_attachment IO.read(sig_fn.path), "application/pgp-signature", nil, "signature.asc"
    625 -- 
    626 1.7.1
    627 
    628 --
    629 Ever tried. Ever failed. No matter.
    630 Try again. Fail again. Fail better.
    631 ~ Samuel Beckett ~
    632 -------------- next part --------------
    633 A non-text attachment was scrubbed...
    634 Name: signature.asc
    635 Type: application/pgp-signature
    636 Size: 482 bytes
    637 Desc: not available
    638 URL: <http://rubyforge.org/pipermail/sup-devel/attachments/20101007/93e0bacb/attachment.bin>
    639 
    640 From rlane@club.cc.cmu.edu  Fri Oct  8 00:17:41 2010
    641 From: rlane@club.cc.cmu.edu (Rich Lane)
    642 Date: Fri, 08 Oct 2010 00:17:41 -0400
    643 Subject: [sup-devel]
    644 	=?utf-8?q?=5BPATCH=5D_Bugfix=3A_Don=E2=80=99t_display?=
    645 	=?utf-8?q?_thread_participants_twice?=
    646 In-Reply-To: <1286471713-sup-9575@midna.zekjur.net>
    647 References: <1286471713-sup-9575@midna.zekjur.net>
    648 Message-ID: <1286511449-sup-7198@zyrg.net>
    649 
    650 Excerpts from Michael Stapelberg's message of Thu Oct 07 13:21:26 -0400 2010:
    651 > Hi,
    652 > 
    653 > Quote from the commit message:
    654 >   When a participant of a thread uses different email addresses, but the same
    655 >   name, he would be displayed twice in the list:
    656 >   Participants:
    657 >    ? foo <foo at bar.com>
    658 >    ? foo <foo at qux.bar.com>
    659 >    ? bar <bar at bar.com>
    660 >   would lead to: "foo, bar, foo"
    661 > 
    662 > Best regards,
    663 > Michael
    664 
    665 Applied to master.
    666 
    667 From rlane@club.cc.cmu.edu  Fri Oct  8 00:18:14 2010
    668 From: rlane@club.cc.cmu.edu (Rich Lane)
    669 Date: Fri, 08 Oct 2010 00:18:14 -0400
    670 Subject: [sup-devel] [PATCHES] resubmitted: Squash of various UTF-8
    671 	fixes for ruby 1.9 compatability, and update status on jump.
    672 In-Reply-To: <1286447030-sup-6339@dolk>
    673 References: <1286447030-sup-6339@dolk>
    674 Message-ID: <1286511482-sup-9940@zyrg.net>
    675 
    676 Excerpts from Gaute Hope's message of Thu Oct 07 06:30:10 -0400 2010:
    677 > Hi,
    678 > 
    679 > resubmitting a squashed version of the three patches:
    680 > 2010-10-04 adc49a0 Gaute Hope UTF-8 label completion: Convert existing labels (gaute/master, gaute)
    681 > 2010-09-17 009cda0 Gaute Hope Also force encoding on label search completion
    682 > 2010-09-09 c78e53f Gaute Hope Force UTF-8 on label and contact completion
    683 > 
    684 > And one for updating status on jump:
    685 > 2010-09-23 64b739c Gaute Hope Update status on jump on line in line-cursor-mode
    686 > 
    687 > All four are available on (master):
    688 > http://gitorious.org/~gauteh/sup/gautehs-mainline
    689 > 
    690 > Best regards, Gaute
    691 
    692 Both applied to master.
    693 
    694 From rlane@club.cc.cmu.edu  Fri Oct  8 00:20:18 2010
    695 From: rlane@club.cc.cmu.edu (Rich Lane)
    696 Date: Fri, 08 Oct 2010 00:20:18 -0400
    697 Subject: [sup-devel] [PATCH] Explicitly specify signature hashing
    698 	algorithm
    699 In-Reply-To: <1286473693-sup-8792@meteor.durcheinandertal.local>
    700 References: <1286473693-sup-8792@meteor.durcheinandertal.local>
    701 Message-ID: <1286511569-sup-4552@zyrg.net>
    702 
    703 Applied to master. I had to write some code to get the patch out of the
    704 signed message first.
    705 
    706 From rlane@club.cc.cmu.edu  Fri Oct  8 00:20:52 2010
    707 From: rlane@club.cc.cmu.edu (Rich Lane)
    708 Date: Fri, 08 Oct 2010 00:20:52 -0400
    709 Subject: [sup-devel] [PATCH] fix GPG "hang" on malformed PGP message
    710 	(detached signature)
    711 In-Reply-To: <1286277933-4686-1-git-send-email-sascha-pgp@silbe.org>
    712 References: <1286277933-4686-1-git-send-email-sascha-pgp@silbe.org>
    713 Message-ID: <1286511636-sup-3391@zyrg.net>
    714 
    715 Applied to master.
    716 
    717 From rlane@club.cc.cmu.edu  Fri Oct  8 00:21:41 2010
    718 From: rlane@club.cc.cmu.edu (Rich Lane)
    719 Date: Fri, 08 Oct 2010 00:21:41 -0400
    720 Subject: [sup-devel] [PATCH] fix searching for non-lowercase labels
    721 In-Reply-To: <1285769775-15914-1-git-send-email-sascha-pgp@silbe.org>
    722 References: <1285769775-15914-1-git-send-email-sascha-pgp@silbe.org>
    723 Message-ID: <1286511676-sup-1292@zyrg.net>
    724 
    725 Applied to master.
    726 
    727 From rlane@club.cc.cmu.edu  Fri Oct  8 00:22:14 2010
    728 From: rlane@club.cc.cmu.edu (Rich Lane)
    729 Date: Fri, 08 Oct 2010 00:22:14 -0400
    730 Subject: [sup-devel] [PATCH] prefer To and Cc adresses of accounts on
    731 	reply
    732 In-Reply-To: <1286442230-sup-1136@meteor.durcheinandertal.local>
    733 References: <1286442230-sup-1136@meteor.durcheinandertal.local>
    734 Message-ID: <1286511720-sup-8141@zyrg.net>
    735 
    736 Applied to master.
    737 
    738 From rlane@club.cc.cmu.edu  Fri Oct  8 00:22:42 2010
    739 From: rlane@club.cc.cmu.edu (Rich Lane)
    740 Date: Fri, 08 Oct 2010 00:22:42 -0400
    741 Subject: [sup-devel] [PATCH] add sendmail hook
    742 In-Reply-To: <1285769580-15705-1-git-send-email-sascha-pgp@silbe.org>
    743 References: <1285769580-15705-1-git-send-email-sascha-pgp@silbe.org>
    744 Message-ID: <1286511746-sup-4842@zyrg.net>
    745 
    746 Applied to master.
    747 
    748 From rlane@club.cc.cmu.edu  Fri Oct  8 00:23:53 2010
    749 From: rlane@club.cc.cmu.edu (Rich Lane)
    750 Date: Fri, 08 Oct 2010 00:23:53 -0400
    751 Subject: [sup-devel] [PATCH] Fixed inline gpg crash when the end marker
    752 	is missing
    753 In-Reply-To: <1283637106-18801-1-git-send-email-michael@content-space.de>
    754 References: <AANLkTimw-xi2XCdn3R3QHoDFFv-4cD7GxCoHWxbta-0r@mail.gmail.com>
    755 	<1283637106-18801-1-git-send-email-michael@content-space.de>
    756 Message-ID: <1286511817-sup-7625@zyrg.net>
    757 
    758 Applied to master.
    759 
    760 From rlane@club.cc.cmu.edu  Fri Oct  8 00:30:14 2010
    761 From: rlane@club.cc.cmu.edu (Rich Lane)
    762 Date: Fri, 08 Oct 2010 00:30:14 -0400
    763 Subject: [sup-devel] [PATCH] fix handling of multiple label: terms in
    764 	search
    765 In-Reply-To: <1285769762-15823-1-git-send-email-sascha-pgp@silbe.org>
    766 References: <1285769762-15823-1-git-send-email-sascha-pgp@silbe.org>
    767 Message-ID: <1286511847-sup-7703@zyrg.net>
    768 
    769 I like this patch, but I'm going to hold off on merging it to master
    770 until my machines are all running Xapian 1.2. I've applied it to the
    771 new and-labels branch.
    772 
    773 From eg@gaute.vetsj.com  Fri Oct  8 06:05:29 2010
    774 From: eg@gaute.vetsj.com (Gaute Hope)
    775 Date: Fri, 8 Oct 2010 12:05:29 +0200
    776 Subject: [sup-devel]
    777 	=?utf-8?q?=5BPATCH=5D_Bugfix=3A_Don=E2=80=99t_display?=
    778 	=?utf-8?q?_thread_participants_twice?=
    779 In-Reply-To: <1286511449-sup-7198@zyrg.net>
    780 References: <1286471713-sup-9575@midna.zekjur.net>
    781 	<1286511449-sup-7198@zyrg.net>
    782 Message-ID: <AANLkTi=Ppaa6jA=pKOeLPEVhhqjvDg1-cS7QUsmZ+QYK@mail.gmail.com>
    783 
    784 On Fri, Oct 8, 2010 at 6:17 AM, Rich Lane <rlane at club.cc.cmu.edu> wrote:
    785 > Excerpts from Michael Stapelberg's message of Thu Oct 07 13:21:26 -0400 2010:
    786 >> Hi,
    787 >>
    788 >> Quote from the commit message:
    789 >> ? When a participant of a thread uses different email addresses, but the same
    790 >> ? name, he would be displayed twice in the list:
    791 >> ? Participants:
    792 >> ? ?? foo <foo at bar.com>
    793 >> ? ?? foo <foo at qux.bar.com>
    794 >> ? ?? bar <bar at bar.com>
    795 >> ? would lead to: "foo, bar, foo"
    796 >>
    797 >> Best regards,
    798 >> Michael
    799 >
    800 > Applied to master.
    801 
    802 What if someone has the same name ? ;) Is it more
    803 important/likely/intuitive than anyone using two addresses?
    804 
    805 - gaute
    806 
    807 From michael+sup@stapelberg.de  Fri Oct  8 07:41:55 2010
    808 From: michael+sup@stapelberg.de (Michael Stapelberg)
    809 Date: Fri, 08 Oct 2010 13:41:55 +0200
    810 Subject: [sup-devel]
    811 	=?utf-8?q?=5BPATCH=5D_Bugfix=3A_Don=E2=80=99t_display?=
    812 	=?utf-8?q?_thread_participants_twice?=
    813 In-Reply-To: <AANLkTi=Ppaa6jA=pKOeLPEVhhqjvDg1-cS7QUsmZ+QYK@mail.gmail.com>
    814 References: <1286471713-sup-9575@midna.zekjur.net>
    815 	<1286511449-sup-7198@zyrg.net>
    816 	<AANLkTi=Ppaa6jA=pKOeLPEVhhqjvDg1-cS7QUsmZ+QYK@mail.gmail.com>
    817 Message-ID: <1286538002-sup-2671@midna.zekjur.net>
    818 
    819 Hi Gaute,
    820 
    821 Excerpts from Gaute Hope's message of 2010-10-08 12:05:29 +0200:
    822 > What if someone has the same name ? ;) Is it more
    823 > important/likely/intuitive than anyone using two addresses?
    824 If two people have exactly the same name, you would not benefit in seeing that
    825 same name twice, either. Even if one mail of the thread is new and one "Michael
    826 S." is highlighted, you still would not know which one sent the new mail. So,
    827 to avoid confusion about the same name showing up twice, I decided it would be
    828 better to not show duplicates at all.
    829 
    830 Best regards,
    831 Michael
    832 
    833 From eg@gaute.vetsj.com  Fri Oct  8 07:46:28 2010
    834 From: eg@gaute.vetsj.com (Gaute Hope)
    835 Date: Fri, 8 Oct 2010 13:46:28 +0200
    836 Subject: [sup-devel]
    837 	=?utf-8?q?=5BPATCH=5D_Bugfix=3A_Don=E2=80=99t_display?=
    838 	=?utf-8?q?_thread_participants_twice?=
    839 In-Reply-To: <1286538002-sup-2671@midna.zekjur.net>
    840 References: <1286471713-sup-9575@midna.zekjur.net>
    841 	<1286511449-sup-7198@zyrg.net>
    842 	<AANLkTi=Ppaa6jA=pKOeLPEVhhqjvDg1-cS7QUsmZ+QYK@mail.gmail.com>
    843 	<1286538002-sup-2671@midna.zekjur.net>
    844 Message-ID: <AANLkTi=ezGsXB7jHtSV1+9fREThpvPERZEOjm8TpXcVA@mail.gmail.com>
    845 
    846 On Fri, Oct 8, 2010 at 1:41 PM, Michael Stapelberg
    847 <michael+sup at stapelberg.de> wrote:
    848 > Hi Gaute,
    849 >
    850 > Excerpts from Gaute Hope's message of 2010-10-08 12:05:29 +0200:
    851 >> What if someone has the same name ? ;) Is it more
    852 >> important/likely/intuitive than anyone using two addresses?
    853 > If two people have exactly the same name, you would not benefit in seeing that
    854 > same name twice, either. Even if one mail of the thread is new and one "Michael
    855 > S." is highlighted, you still would not know which one sent the new mail. So,
    856 > to avoid confusion about the same name showing up twice, I decided it would be
    857 > better to not show duplicates at all.
    858 
    859 Sure, this isn't really a big issue (for me at least). The duplicates
    860 would be the expected behaviour (for me :)), the benefit being that
    861 you know there is one more guy/emailaccount at work here.
    862 
    863 Best regards, Gaute
    864 
    865 From bwalton@artsci.utoronto.ca  Fri Oct  8 08:07:32 2010
    866 From: bwalton@artsci.utoronto.ca (Ben Walton)
    867 Date: Fri, 08 Oct 2010 08:07:32 -0400
    868 Subject: [sup-devel]
    869 	=?utf-8?q?=5BPATCH=5D_Bugfix=3A_Don=E2=80=99t_display?=
    870 	=?utf-8?q?_thread_participants_twice?=
    871 In-Reply-To: <AANLkTi=Ppaa6jA=pKOeLPEVhhqjvDg1-cS7QUsmZ+QYK@mail.gmail.com>
    872 References: <1286471713-sup-9575@midna.zekjur.net>
    873 	<1286511449-sup-7198@zyrg.net>
    874 	<AANLkTi=Ppaa6jA=pKOeLPEVhhqjvDg1-cS7QUsmZ+QYK@mail.gmail.com>
    875 Message-ID: <1286539610-sup-1173@pinkfloyd.chass.utoronto.ca>
    876 
    877 Excerpts from Gaute Hope's message of Fri Oct 08 06:05:29 -0400 2010:
    878 
    879 > What if someone has the same name ? ;) Is it more
    880 > important/likely/intuitive than anyone using two addresses?
    881 
    882 A good point, but I'd still rather see a shorter list.  The space is
    883 limited, so squashing duplicate names is fine with me.
    884 
    885 HTH.
    886 -Ben
    887 --
    888 Ben Walton
    889 Systems Programmer - CHASS
    890 University of Toronto
    891 C:416.407.5610 | W:416.978.4302
    892 
    893 
    894 From michael@content-space.de  Fri Oct  8 08:53:56 2010
    895 From: michael@content-space.de (Michael Hamann)
    896 Date: Fri, 08 Oct 2010 14:53:56 +0200
    897 Subject: [sup-devel] [PATCH] fix GPG "hang" on malformed PGP message
    898 	(detached signature)
    899 In-Reply-To: <1286277933-4686-1-git-send-email-sascha-pgp@silbe.org>
    900 References: <1286277933-4686-1-git-send-email-sascha-pgp@silbe.org>
    901 Message-ID: <1286541818-sup-2877@mithink>
    902 
    903 Hi,
    904 
    905 Excerpts from Sascha Silbe's message of 2010-10-05 13:25:33 +0200:
    906 > -    message = run_gpg "--output #{output_fn.path} --skip-verify --yes --decrypt #{payload_fn.path}", :interactive => true
    907 > +    message = run_gpg "--output #{output_fn.path} --multifile --skip-verify --yes --decrypt #{payload_fn.path}", :interactive => true
    908 
    909 This change breaks GPG decryption completely for me, not a single
    910 message I've tried is decrypted anymore. The error message I'm getting
    911 is Error while running gpg: gpg: --output doesn't work for this command.
    912 I'm using gpg version 1.4.10. The complete gpg command that is executed
    913 is:
    914 
    915 LC_MESSAGES=C /usr/bin/gpg --quiet --batch --no-verbose --logger-fd 1 --use-agent --output /tmp/redwood.output20101008-5410-lj1dh3 --multifile --skip-verify --yes --decrypt /tmp/redwood.payload20101008-5410-1qtud0x > /tmp/redwood.output20101008-5410-2rsbb5 2> /dev/null
    916 
    917 Michael
    918 
    919 From michael@content-space.de  Fri Oct  8 10:03:36 2010
    920 From: michael@content-space.de (Michael Hamann)
    921 Date: Fri,  8 Oct 2010 16:03:36 +0200
    922 Subject: [sup-devel] [PATCH] Fix monkey-patching of Tempfile
    923 Message-ID: <1286546616-7072-1-git-send-email-michael@content-space.de>
    924 
    925 In Ruby 1.9.2 the interal function make_tmpname has changed it's
    926 parameters and the second parameter can be nil now. This breaks the
    927 monkey-patched Tempfile class in sup. Additionally, monkey-patching is
    928 not really necessary as the Tempfile class supports an array as basename
    929 instead of a string containing prefix and a suffix since Ruby version
    930 1.8.7. The only place I've found where the suffix might matter is
    931 directly in message-chunks.rb where I've changed the basename to an
    932 array. Additionally the new make_tmpname function from Ruby 1.9.2 is
    933 monkey-patched for Ruby versions lower than 1.8.7 now.
    934 
    935 NOTE: As I don't have a working Ruby 1.8 setup for sup I haven't tested
    936 this with older versions, but the code works here when the version check
    937 is changed to 1.9.3 and I can't see anything that shouldn't work with
    938 Ruby 1.8.6 and below.
    939 ---
    940  lib/sup/message-chunks.rb |   24 ++++++++++++++++++++----
    941  1 files changed, 20 insertions(+), 4 deletions(-)
    942 
    943 diff --git a/lib/sup/message-chunks.rb b/lib/sup/message-chunks.rb
    944 index c275f41..ba1834a 100644
    945 --- a/lib/sup/message-chunks.rb
    946 +++ b/lib/sup/message-chunks.rb
    947 @@ -32,9 +32,25 @@ require 'tempfile'
    948  ## attachments are quotable; Signatures are not.
    949  
    950  ## monkey-patch time: make temp files have the right extension
    951 -class Tempfile
    952 -  def make_tmpname basename, n
    953 -    sprintf '%d-%d-%s', $$, n, basename
    954 +## Backport from Ruby 1.9.2 for versions lower than 1.8.7
    955 +if RUBY_VERSION < '1.8.7'
    956 +  class Tempfile
    957 +    def make_tmpname(prefix_suffix, n)
    958 +      case prefix_suffix
    959 +      when String
    960 +        prefix = prefix_suffix
    961 +        suffix = ""
    962 +      when Array
    963 +        prefix = prefix_suffix[0]
    964 +        suffix = prefix_suffix[1]
    965 +      else
    966 +        raise ArgumentError, "unexpected prefix_suffix: #{prefix_suffix.inspect}"
    967 +      end
    968 +      t = Time.now.strftime("%Y%m%d")
    969 +      path = "#{prefix}#{t}-#{$$}-#{rand(0x100000000).to_s(36)}"
    970 +      path << "-#{n}" if n
    971 +      path << suffix
    972 +    end
    973    end
    974  end
    975  
    976 @@ -149,7 +165,7 @@ EOS
    977      end
    978  
    979      def write_to_disk
    980 -      file = Tempfile.new(@filename || "sup-attachment")
    981 +      file = Tempfile.new(["sup", @filename || "sup-attachment"])
    982        file.print @raw_content
    983        file.close
    984        file.path
    985 -- 
    986 1.7.3.1
    987 
    988 
    989 From mailinglist@flasht.de  Fri Oct  8 10:36:04 2010
    990 From: mailinglist@flasht.de (Christopher Bertels)
    991 Date: Fri, 08 Oct 2010 16:36:04 +0200
    992 Subject: [sup-devel] [PATCH] fix GPG "hang" on malformed PGP message
    993 	(detached signature)
    994 In-Reply-To: <1286541818-sup-2877@mithink>
    995 References: <1286277933-4686-1-git-send-email-sascha-pgp@silbe.org>
    996 	<1286541818-sup-2877@mithink>
    997 Message-ID: <1286548547-sup-3965@bakkdoor-thinkpad>
    998 
    999 Excerpts from Michael Hamann's message of Fr Okt 08 14:53:56 +0200 2010:
   1000 > Hi,
   1001 >
   1002 > Excerpts from Sascha Silbe's message of 2010-10-05 13:25:33 +0200:
   1003 > > -    message = run_gpg "--output #{output_fn.path} --skip-verify --yes --decrypt #{payload_fn.path}", :interactive => true
   1004 > > +    message = run_gpg "--output #{output_fn.path} --multifile --skip-verify --yes --decrypt #{payload_fn.path}", :interactive => true
   1005 >
   1006 > This change breaks GPG decryption completely for me, not a single
   1007 > message I've tried is decrypted anymore. The error message I'm getting
   1008 > is Error while running gpg: gpg: --output doesn't work for this command.
   1009 > I'm using gpg version 1.4.10. The complete gpg command that is executed
   1010 > is:
   1011 
   1012 Yup, same for me :(
   1013 
   1014 >
   1015 > LC_MESSAGES=C /usr/bin/gpg --quiet --batch --no-verbose --logger-fd 1 --use-agent --output /tmp/redwood.output20101008-5410-lj1dh3 --multifile --skip-verify --yes --decrypt /tmp/redwood.payload20101008-5410-1qtud0x > /tmp/redwood.output20101008-5410-2rsbb5 2> /dev/null
   1016 >
   1017 > Michael
   1018 --
   1019 ================================
   1020 Christopher Bertels
   1021 http://www.fancy-lang.org
   1022 http://www.adztec-independent.de
   1023 GPG Key ID: 0x2345b203
   1024 
   1025 From rlane@club.cc.cmu.edu  Fri Oct  8 16:09:33 2010
   1026 From: rlane@club.cc.cmu.edu (Rich Lane)
   1027 Date: Fri, 08 Oct 2010 16:09:33 -0400
   1028 Subject: [sup-devel] [PATCH] fix GPG "hang" on malformed PGP message
   1029 	(detached signature)
   1030 In-Reply-To: <1286548547-sup-3965@bakkdoor-thinkpad>
   1031 References: <1286277933-4686-1-git-send-email-sascha-pgp@silbe.org>
   1032 	<1286541818-sup-2877@mithink>
   1033 	<1286548547-sup-3965@bakkdoor-thinkpad>
   1034 Message-ID: <1286568562-sup-8325@zyrg.net>
   1035 
   1036 Excerpts from Christopher Bertels's message of Fri Oct 08 10:36:04 -0400 2010:
   1037 > Excerpts from Michael Hamann's message of Fr Okt 08 14:53:56 +0200 2010:
   1038 > > Hi,
   1039 > >
   1040 > > Excerpts from Sascha Silbe's message of 2010-10-05 13:25:33 +0200:
   1041 > > > -    message = run_gpg "--output #{output_fn.path} --skip-verify --yes --decrypt #{payload_fn.path}", :interactive => true
   1042 > > > +    message = run_gpg "--output #{output_fn.path} --multifile --skip-verify --yes --decrypt #{payload_fn.path}", :interactive => true
   1043 > >
   1044 > > This change breaks GPG decryption completely for me, not a single
   1045 > > message I've tried is decrypted anymore. The error message I'm getting
   1046 > > is Error while running gpg: gpg: --output doesn't work for this command.
   1047 > > I'm using gpg version 1.4.10. The complete gpg command that is executed
   1048 > > is:
   1049 > 
   1050 > Yup, same for me :(
   1051 > 
   1052 > >
   1053 > > LC_MESSAGES=C /usr/bin/gpg --quiet --batch --no-verbose --logger-fd 1 --use-agent --output /tmp/redwood.output20101008-5410-lj1dh3 --multifile --skip-verify --yes --decrypt /tmp/redwood.payload20101008-5410-1qtud0x > /tmp/redwood.output20101008-5410-2rsbb5 2> /dev/null
   1054 > >
   1055 > > Michael
   1056 
   1057 Reverted.
   1058 
   1059 From dmishd@gmail.com  Sat Oct  9 13:41:01 2010
   1060 From: dmishd@gmail.com (Hamish D)
   1061 Date: Sat, 9 Oct 2010 18:41:01 +0100
   1062 Subject: [sup-devel] trouble running git version
   1063 Message-ID: <AANLkTik08+b5j3US5-h5+WLkUOsbFxueqyvDfZ8fA=Gt@mail.gmail.com>
   1064 
   1065 Hello
   1066 
   1067 I'm cloned the git repository, and I've even written a patch, but it's
   1068 untested as I don't seem to be able to run a development version. The
   1069 error I get is:
   1070 
   1071 $ ruby -Ilib -Ilib/sup -w bin/sup
   1072 ./lib/sup/thread.rb:256: undefined method `bool_reader' for
   1073 Redwood::ThreadSet:Class (NoMethodError)
   1074        from /usr/lib/ruby/1.8/rubygems.rb:11:in `require'
   1075        from /usr/lib/ruby/1.8/rubygems.rb:11
   1076        from bin/sup:3:in `require'
   1077        from bin/sup:3
   1078 
   1079 bool_reader does exist in lib/sup/util.rb
   1080 
   1081 I am running Ubuntu (10.10/maverick) and have the sup-mail package
   1082 installed. The installed sup works fine.
   1083 
   1084 $ ruby --version
   1085 ruby 1.8.7 (2010-06-23 patchlevel 299) [x86_64-linux]
   1086 
   1087 I'm wondering if my ruby paths are part of the problem. You might have
   1088 noticed that I specified -I lib -I lib/sup above. If I miss out the
   1089 second include I get:
   1090 
   1091 $ ruby -Ilib  bin/sup
   1092 /usr/lib/ruby/1.8/sup/poll.rb:31: undefined method `[]' for
   1093 nil:NilClass (NoMethodError)
   1094        from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in
   1095 `gem_original_require'
   1096        from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
   1097        from ./lib/sup.rb:341
   1098        from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in
   1099 `gem_original_require'
   1100        from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
   1101        from bin/sup:15
   1102 
   1103 Here ruby has picked up the sup/poll.rb from the installed version
   1104 rather than the checked out version. Adding -w to this version gives a
   1105 few warnings that I don't get when using -Isup/lib:
   1106 
   1107 $ ruby -Ilib  -w bin/sup
   1108 ./lib/sup/util.rb:316: warning: `&' interpreted as argument prefix
   1109 ./lib/sup/util.rb:19: warning: method redefined; discarding old gen_lock_id
   1110 ./lib/sup/util.rb:30: warning: method redefined; discarding old dump_lock_id
   1111 ./lib/sup/message-chunks.rb:36: warning: method redefined; discarding
   1112 old make_tmpname
   1113 ./lib/sup/message.rb:285: warning: `&' interpreted as argument prefix
   1114 ./lib/sup/index.rb:553: warning: `&' interpreted as argument prefix
   1115 /usr/lib/ruby/1.8/chronic/repeaters/repeater_month_name.rb:13:
   1116 warning: useless use of > in void context
   1117 /usr/lib/ruby/1.8/chronic/repeaters/repeater_month_name.rb:19:
   1118 warning: useless use of > in void context
   1119 /usr/lib/ruby/1.8/chronic/repeaters/repeater_month_name.rb:25:
   1120 warning: useless use of < in void context
   1121 /usr/lib/ruby/1.8/sup/poll.rb:31: warning: global variable `$config'
   1122 not initialized
   1123 /usr/lib/ruby/1.8/sup/poll.rb:31: undefined method `[]' for
   1124 nil:NilClass (NoMethodError)
   1125        from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in
   1126 `gem_original_require'
   1127        from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
   1128        from ./lib/sup.rb:341
   1129        from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in
   1130 `gem_original_require'
   1131        from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
   1132        from bin/sup:15
   1133 
   1134 I've looked at the code, but the bool_reader is something messing
   1135 about with modules and classes at a deep-ish level and is beyond my
   1136 ruby understanding.
   1137 
   1138 Any ideas appreciated.
   1139 Hamish
   1140 
   1141 From dmishd@gmail.com  Sat Oct  9 14:07:07 2010
   1142 From: dmishd@gmail.com (Hamish D)
   1143 Date: Sat, 9 Oct 2010 19:07:07 +0100
   1144 Subject: [sup-devel] trouble running git version
   1145 In-Reply-To: <AANLkTik08+b5j3US5-h5+WLkUOsbFxueqyvDfZ8fA=Gt@mail.gmail.com>
   1146 References: <AANLkTik08+b5j3US5-h5+WLkUOsbFxueqyvDfZ8fA=Gt@mail.gmail.com>
   1147 Message-ID: <AANLkTinq8akFpNbZBMoRJU9T0QWQaMdq=PLBx3BVcSfx@mail.gmail.com>
   1148 
   1149 > I am running Ubuntu (10.10/maverick) and have the sup-mail package
   1150 > installed. The installed sup works fine.
   1151 
   1152 After some help in irc I've got it working. I had to uninstall the
   1153 sup-mail package and now it works.
   1154 
   1155 Hopefully having it in the list archives can save someone else a little pain ...
   1156 
   1157 Hamish
   1158 
   1159 From adam@alloy-d.net  Sat Oct  9 16:48:11 2010
   1160 From: adam@alloy-d.net (Adam Lloyd)
   1161 Date: Sat, 09 Oct 2010 16:48:11 -0400
   1162 Subject: [sup-devel] [PATCH] [mq]: mbox-path-fix
   1163 Message-ID: <42ef20fde16d0aef1f13.1286657291@nagato.alloy-d.net>
   1164 
   1165 A non-text attachment was scrubbed...
   1166 Name: sup.patch
   1167 Type: text/x-patch
   1168 Size: 460 bytes
   1169 Desc: not available
   1170 URL: <http://rubyforge.org/pipermail/sup-devel/attachments/20101009/fd4e622c/attachment.bin>
   1171 
   1172 From adam@alloy-d.net  Sat Oct  9 16:54:07 2010
   1173 From: adam@alloy-d.net (Adam Lloyd)
   1174 Date: Sat, 9 Oct 2010 16:54:07 -0400
   1175 Subject: [sup-devel] [PATCH] [mq]: mbox-path-fix
   1176 In-Reply-To: <42ef20fde16d0aef1f13.1286657291@nagato.alloy-d.net>
   1177 References: <42ef20fde16d0aef1f13.1286657291@nagato.alloy-d.net>
   1178 Message-ID: <AANLkTimgsOd8S_1BsDhJKYs70PYZ2LFKD+NisniqH1qi@mail.gmail.com>
   1179 
   1180 Argh, /me is quite embarrassed.
   1181 
   1182 Please ignore this; I'll resend my patch properly.  Apologies for the noise!
   1183 
   1184 -Adam
   1185 
   1186 
   1187 From adam@alloy-d.net  Sat Oct  9 18:11:21 2010
   1188 From: adam@alloy-d.net (Adam Lloyd)
   1189 Date: Sat, 09 Oct 2010 18:11:21 -0400
   1190 Subject: [sup-devel] [PATCH] s/@filename/@path/ in MBox#store_message
   1191 Message-ID: <a53ff2538f3de566eecc.1286662281@nagato.alloy-d.net>
   1192 
   1193  lib/sup/mbox.rb |  4 ++--
   1194  1 files changed, 2 insertions(+), 2 deletions(-)
   1195 
   1196 
   1197 @filename is undefined in MBox, so trying to store a message to an mbox
   1198 source results in a crash.  @path contains the needed information.
   1199 
   1200 This fixes issues 79 and 89, related to crashes on sending mail.
   1201 
   1202 diff --git a/lib/sup/mbox.rb b/lib/sup/mbox.rb
   1203 --- a/lib/sup/mbox.rb
   1204 +++ b/lib/sup/mbox.rb
   1205 @@ -90,8 +90,8 @@
   1206    end
   1207  
   1208    def store_message date, from_email, &block
   1209 -    need_blank = File.exists?(@filename) && !File.zero?(@filename)
   1210 -    File.open(@filename, "ab") do |f|
   1211 +    need_blank = File.exists?(@path) && !File.zero?(@path)
   1212 +    File.open(@path, "ab") do |f|
   1213        f.puts if need_blank
   1214        f.puts "From #{from_email} #{date.asctime}"
   1215        yield f
   1216 
   1217 From eg@gaute.vetsj.com  Sun Oct 10 02:56:09 2010
   1218 From: eg@gaute.vetsj.com (Gaute Hope)
   1219 Date: Sun, 10 Oct 2010 08:56:09 +0200
   1220 Subject: [sup-devel] [PATCH] s/@filename/@path/ in MBox#store_message
   1221 In-Reply-To: <a53ff2538f3de566eecc.1286662281@nagato.alloy-d.net>
   1222 References: <a53ff2538f3de566eecc.1286662281@nagato.alloy-d.net>
   1223 Message-ID: <1286693669-sup-9131@dolk>
   1224 
   1225 Excerpts from Adam Lloyd's message of 2010-10-10 00:11:21 +0200:
   1226 > This fixes issues 79 and 89, related to crashes on sending mail.
   1227 
   1228 I think your best bet is to close them yourself (if patches applied),
   1229 the issue tracker don't seem to be horribly well-maintained ;)
   1230 
   1231 - gaute
   1232 
   1233 From rlane@club.cc.cmu.edu  Sun Oct 10 03:43:56 2010
   1234 From: rlane@club.cc.cmu.edu (Rich Lane)
   1235 Date: Sun, 10 Oct 2010 03:43:56 -0400
   1236 Subject: [sup-devel] [PATCH] s/@filename/@path/ in MBox#store_message
   1237 In-Reply-To: <a53ff2538f3de566eecc.1286662281@nagato.alloy-d.net>
   1238 References: <a53ff2538f3de566eecc.1286662281@nagato.alloy-d.net>
   1239 Message-ID: <1286696600-sup-2801@zyrg.net>
   1240 
   1241 Applied to master.
   1242 
   1243 From dmishd@gmail.com  Sun Oct 10 12:25:18 2010
   1244 From: dmishd@gmail.com (Hamish D)
   1245 Date: Sun, 10 Oct 2010 17:25:18 +0100
   1246 Subject: [sup-devel] [PATCH] Adding a gpgkey option
   1247 Message-ID: <AANLkTi=dw_GeGVV90HyBXozTsb9BKL4YB4gCUH_pbtVs@mail.gmail.com>
   1248 
   1249 >From the commit message:
   1250 
   1251     Added a gpgkey option to the account settings
   1252 
   1253     This allows the user to specify the gpg key used. In addition, if
   1254     gpgkey is not set, and there is only one email address defined, then
   1255     sup will not pass any id to gpg, so gpg will use its default key.
   1256     Only if gpgkey is not set and there are multiple email addresses
   1257     will sup use the old behaviour of defining the key to use by
   1258     passing gpg the from email address.
   1259 
   1260 This has been requested before:
   1261 http://rubyforge.org/pipermail/sup-devel/2009-November/000029.html
   1262 
   1263 I've given it some basic testing (using the gpg-args hook to view the
   1264 arguments) and it appears to work as I intend it to in all 3 cases I
   1265 mention in the comment. I'm not a massively experienced ruby hacker,
   1266 so any feedback or improvements appreciated.
   1267 
   1268 Hamish
   1269 -------------- next part --------------
   1270 A non-text attachment was scrubbed...
   1271 Name: 0001-Added-a-gpgkey-option-to-the-account-settings.patch
   1272 Type: text/x-patch
   1273 Size: 4422 bytes
   1274 Desc: not available
   1275 URL: <http://rubyforge.org/pipermail/sup-devel/attachments/20101010/69c54a23/attachment.bin>
   1276 
   1277 From michael+sup@stapelberg.de  Sun Oct 10 17:02:28 2010
   1278 From: michael+sup@stapelberg.de (Michael Stapelberg)
   1279 Date: Sun, 10 Oct 2010 23:02:28 +0200
   1280 Subject: [sup-devel] [PATCH] Bugfix: fix regexp for detecting filename in
   1281 	Content-Disposition header
   1282 Message-ID: <1286744439-sup-1534@midna.zekjur.net>
   1283 
   1284 Hi,
   1285 
   1286 quote from the commit message:
   1287 
   1288     In a message written in some Microsoft mail program (the only header is
   1289     "X-MimeOLE: Produced By Microsoft Exchange V6.5"), the filename part of
   1290     the Content-Disposition header spans multiple lines (due to the filename
   1291     being very long and encoded in base64 due to the use of UTF-8):
   1292     
   1293     Content-Disposition: attachment;
   1294             filename="=?utf-8?B?VGFnIGRlciBPZmZlbmVuIFTDvHIgZGVzIFByb2pla3Rl?=
   1295             =?utf-8?B?cyBMZXJucGF0ZW5zY2hhZnRlbiBpbSBFbW1lcnRzZ3I=?=
   1296             =?utf-8?B?dW5kLmRvY3g=?="
   1297     
   1298     The previous regexp did not properly match the whole string, but only the
   1299     first line. This is fixed by adding the 'm' option (to match newlines as
   1300     characters) and using \z instead of $ ("end of string" instead of "end of
   1301     line").
   1302     
   1303     The same fix is also applied to the Content-Type header one line below.
   1304 
   1305 
   1306 Best regards,
   1307 Michael
   1308 -------------- next part --------------
   1309 A non-text attachment was scrubbed...
   1310 Name: 0001-Bugfix-fix-regexp-for-detecting-filename-in-Content-.patch
   1311 Type: application/octet-stream
   1312 Size: 2162 bytes
   1313 Desc: not available
   1314 URL: <http://rubyforge.org/pipermail/sup-devel/attachments/20101010/3b40a331/attachment.obj>
   1315 
   1316 From rlane@club.cc.cmu.edu  Mon Oct 11 21:37:59 2010
   1317 From: rlane@club.cc.cmu.edu (Rich Lane)
   1318 Date: Mon, 11 Oct 2010 21:37:59 -0400
   1319 Subject: [sup-devel] [PATCH] Bugfix: fix regexp for detecting filename
   1320 	in Content-Disposition header
   1321 In-Reply-To: <1286744439-sup-1534@midna.zekjur.net>
   1322 References: <1286744439-sup-1534@midna.zekjur.net>
   1323 Message-ID: <1286847463-sup-2613@zyrg.net>
   1324 
   1325 Applied to master.
   1326 
   1327 From rlane@club.cc.cmu.edu  Mon Oct 11 21:38:31 2010
   1328 From: rlane@club.cc.cmu.edu (Rich Lane)
   1329 Date: Mon, 11 Oct 2010 21:38:31 -0400
   1330 Subject: [sup-devel] [PATCH] Adding a gpgkey option
   1331 In-Reply-To: <AANLkTi=dw_GeGVV90HyBXozTsb9BKL4YB4gCUH_pbtVs@mail.gmail.com>
   1332 References: <AANLkTi=dw_GeGVV90HyBXozTsb9BKL4YB4gCUH_pbtVs@mail.gmail.com>
   1333 Message-ID: <1286847487-sup-2401@zyrg.net>
   1334 
   1335 Applied to master.
   1336 
   1337 From gregor@hoffleit.de  Tue Oct 12 10:34:56 2010
   1338 From: gregor@hoffleit.de (Gregor Hoffleit)
   1339 Date: Tue, 12 Oct 2010 16:34:56 +0200
   1340 Subject: [sup-devel] [PATCH] Bugfix: Set background color for starred
   1341 	messages
   1342 Message-ID: <1286893508-sup-7225@sam.mediasupervision.de>
   1343 
   1344 >From the commit message:
   1345 
   1346     For the sake of consistency, Sup should always use the starred_color
   1347     for the 'starred' column in the thread-index-mode, whether there's a
   1348     star or a blank.
   1349 
   1350     Rationale: With this patch, I'm able to set the background color of
   1351     the thread-index to bg:7 without having to change my term's
   1352     background color.  Without the patch, the background color shines
   1353     through in the starred column.
   1354 
   1355 Regards,
   1356     Gregor Hoffleit
   1357 -------------- next part --------------
   1358 A non-text attachment was scrubbed...
   1359 Name: 0001-Bugfix-Background-for-starred-messages.patch
   1360 Type: application/octet-stream
   1361 Size: 1178 bytes
   1362 Desc: not available
   1363 URL: <http://rubyforge.org/pipermail/sup-devel/attachments/20101012/b2d5e078/attachment.obj>
   1364 
   1365 From gregor@hoffleit.de  Tue Oct 12 12:15:59 2010
   1366 From: gregor@hoffleit.de (Gregor Hoffleit)
   1367 Date: Tue, 12 Oct 2010 18:15:59 +0200
   1368 Subject: [sup-devel] [PATCH] Bugfix: Correctly split list of mail addresses
   1369 Message-ID: <1286900062-sup-8729@sam.mediasupervision.de>
   1370 
   1371 >From the commit message:
   1372 
   1373     split_on_commas() fails to work correctly for wrapped header lines:
   1374 
   1375 	Cc: John Doe <john.doe at subdivision.example.com>, Foo Bar
   1376 	    <foo.bar at subdivision.example.com>
   1377 
   1378     Sup parsed this (in lib/sup/person.rb, Person.from_address_list) as:
   1379 
   1380 	Cc: John Doe <john.doe at subdivision.example.com>,
   1381 	    foo.bar <foo.bar at subdivision.example.com>
   1382 
   1383     I fixed this by normalizing the whitespace before working the
   1384     regex in split_on_commas.
   1385 
   1386 
   1387 Regards,
   1388     Gregor Hoffleit
   1389 -------------- next part --------------
   1390 A non-text attachment was scrubbed...
   1391 Name: 0005-Bugfix-Correctly-split-list-of-mail-addresses.patch
   1392 Type: application/octet-stream
   1393 Size: 1260 bytes
   1394 Desc: not available
   1395 URL: <http://rubyforge.org/pipermail/sup-devel/attachments/20101012/21433583/attachment-0001.obj>
   1396 
   1397 From gaudenz@soziologie.ch  Tue Oct 12 17:46:19 2010
   1398 From: gaudenz@soziologie.ch (Gaudenz Steinlin)
   1399 Date: Tue, 12 Oct 2010 23:46:19 +0200
   1400 Subject: [sup-devel] [PATCH] Fix signing of multipart messages
   1401 Message-ID: <1286919925-sup-9064@meteor.durcheinandertal.local>
   1402 
   1403 Hi
   1404 
   1405 Sup currently crashes when you try to sign a multipart message. This
   1406 is fixed by the first patch.
   1407 
   1408 Additionally the signatures created for multipart messages are wrong,
   1409 because the incorrect MIME-Version header is stripped before signing
   1410 but not when actually constructing the message.
   1411 
   1412 RMail automagically adds these MIME-Version headers on serialization.
   1413 This also creates problems on signature verification of signed
   1414 multipart messages. 
   1415 
   1416 The second patch addresses these two problems by monkey patching RMail
   1417 to no longer automagically add MIME-Version headers. This is not
   1418 really elegant, but I could not come up with a better way to avoid the
   1419 various side effects on signatures of automatically messing with mail
   1420 parts on serialization.
   1421 
   1422 For the monkey patch to be applied the require statements had to be
   1423 rearranged so that rmail is included before sup/util.
   1424 
   1425 If someone knows a better fix than monkey patching I would be more
   1426 than happy...
   1427 
   1428 Gaudenz
   1429 
   1430 P.S.: Do you rather prefer patches as attachments or inline patches?
   1431 --
   1432 Ever tried. Ever failed. No matter.
   1433 Try again. Fail again. Fail better.
   1434 ~ Samuel Beckett ~
   1435 -------------- next part --------------
   1436 A non-text attachment was scrubbed...
   1437 Name: 0001-Encode-multipart-messages-for-crypt-operations.patch
   1438 Type: application/octet-stream
   1439 Size: 2178 bytes
   1440 Desc: not available
   1441 URL: <http://rubyforge.org/pipermail/sup-devel/attachments/20101012/d405a120/attachment.obj>
   1442 -------------- next part --------------
   1443 A non-text attachment was scrubbed...
   1444 Name: 0002-Monkey-patch-RMails-MIME-Version-header-handling.patch
   1445 Type: application/octet-stream
   1446 Size: 3269 bytes
   1447 Desc: not available
   1448 URL: <http://rubyforge.org/pipermail/sup-devel/attachments/20101012/d405a120/attachment-0001.obj>
   1449 -------------- next part --------------
   1450 A non-text attachment was scrubbed...
   1451 Name: signature.asc
   1452 Type: application/pgp-signature
   1453 Size: 482 bytes
   1454 Desc: not available
   1455 URL: <http://rubyforge.org/pipermail/sup-devel/attachments/20101012/d405a120/attachment.bin>
   1456 
   1457 From rlane@club.cc.cmu.edu  Wed Oct 13 21:09:41 2010
   1458 From: rlane@club.cc.cmu.edu (Rich Lane)
   1459 Date: Wed, 13 Oct 2010 21:09:41 -0400
   1460 Subject: [sup-devel] [PATCH] Fix signing of multipart messages
   1461 In-Reply-To: <1286919925-sup-9064@meteor.durcheinandertal.local>
   1462 References: <1286919925-sup-9064@meteor.durcheinandertal.local>
   1463 Message-ID: <1287018379-sup-5613@zyrg.net>
   1464 
   1465 Both patches applied to master.
   1466 
   1467 Excerpts from Gaudenz Steinlin's message of Tue Oct 12 17:46:19 -0400 2010:
   1468 > P.S.: Do you rather prefer patches as attachments or inline patches?
   1469 
   1470 Either is fine. Inline patches are a little easier to discuss.
   1471 
   1472 From rlane@club.cc.cmu.edu  Wed Oct 13 21:10:02 2010
   1473 From: rlane@club.cc.cmu.edu (Rich Lane)
   1474 Date: Wed, 13 Oct 2010 21:10:02 -0400
   1475 Subject: [sup-devel] [PATCH] Bugfix: Set background color for starred
   1476 	messages
   1477 In-Reply-To: <1286893508-sup-7225@sam.mediasupervision.de>
   1478 References: <1286893508-sup-7225@sam.mediasupervision.de>
   1479 Message-ID: <1287018586-sup-9994@zyrg.net>
   1480 
   1481 Applied to master.
   1482 
   1483 From rlane@club.cc.cmu.edu  Wed Oct 13 21:10:50 2010
   1484 From: rlane@club.cc.cmu.edu (Rich Lane)
   1485 Date: Wed, 13 Oct 2010 21:10:50 -0400
   1486 Subject: [sup-devel] [PATCH] Bugfix: Correctly split list of mail
   1487 	addresses
   1488 In-Reply-To: <1286900062-sup-8729@sam.mediasupervision.de>
   1489 References: <1286900062-sup-8729@sam.mediasupervision.de>
   1490 Message-ID: <1287018638-sup-246@zyrg.net>
   1491 
   1492 Applied to master.
   1493 
   1494 From rlane@club.cc.cmu.edu  Wed Oct 13 21:22:28 2010
   1495 From: rlane@club.cc.cmu.edu (Rich Lane)
   1496 Date: Wed, 13 Oct 2010 21:22:28 -0400
   1497 Subject: [sup-devel] [PATCH] Fix monkey-patching of Tempfile
   1498 In-Reply-To: <1286546616-7072-1-git-send-email-michael@content-space.de>
   1499 References: <1286546616-7072-1-git-send-email-michael@content-space.de>
   1500 Message-ID: <1287019332-sup-3675@zyrg.net>
   1501 
   1502 Applied to master.
   1503 
   1504 From bwalton@artsci.utoronto.ca  Wed Oct 13 21:41:52 2010
   1505 From: bwalton@artsci.utoronto.ca (Ben Walton)
   1506 Date: Wed, 13 Oct 2010 21:41:52 -0400
   1507 Subject: [sup-devel] [PATCH] Fix signing of multipart messages
   1508 In-Reply-To: <1287018379-sup-5613@zyrg.net>
   1509 References: <1286919925-sup-9064@meteor.durcheinandertal.local>
   1510 	<1287018379-sup-5613@zyrg.net>
   1511 Message-ID: <1287020460-sup-8200@pinkfloyd.chass.utoronto.ca>
   1512 
   1513 Excerpts from Rich Lane's message of Wed Oct 13 21:09:41 -0400 2010:
   1514 
   1515 > Either is fine. Inline patches are a little easier to discuss.
   1516 
   1517 +1 for inline.  format-patch and send-email are excellent tool.!  The
   1518 git list is a pleasure because the code is right there to comment on,
   1519 etc.
   1520 
   1521 Thanks
   1522 -Ben
   1523 --
   1524 Ben Walton
   1525 Systems Programmer - CHASS
   1526 University of Toronto
   1527 C:416.407.5610 | W:416.978.4302
   1528 
   1529 
   1530 From gregor@hoffleit.de  Thu Oct 14 09:09:43 2010
   1531 From: gregor@hoffleit.de (Gregor Hoffleit)
   1532 Date: Thu, 14 Oct 2010 15:09:43 +0200
   1533 Subject: [sup-devel] [PATCH] RFC 2231: value encoding for Content-Disposition
   1534 Message-ID: <1287061306-sup-2581@sam.mediasupervision.de>
   1535 
   1536 [Please, comment on this one and fill in the blank...]
   1537 
   1538 RFC 2231 defines extensions to RFC 2183 disposition parameter
   1539 value mechanisms to provide value character set information
   1540 (http://greenbytes.de/tech/webdav/rfc2231.html#rfc.section.4),
   1541 e.g.:
   1542     Content-Disposition: attachment; filename*=UTF-8''foo-%c3%a4-%e2%82%ac.html
   1543 
   1544 The following pattern detects the cases described in 
   1545 http://greenbytes.de/tech/tc2231/#encoding-2231-char
   1546 (RFC2231 Encoding: Character Sets).
   1547 
   1548 TODO: The value of filename ($2) must be decoded according to
   1549 the encoding specified in $1.
   1550 
   1551 ---
   1552  lib/sup/message.rb |   11 +++++++++++
   1553  1 files changed, 11 insertions(+), 0 deletions(-)
   1554 
   1555 diff --git a/lib/sup/message.rb b/lib/sup/message.rb
   1556 index cf0e505..0b42f75 100644
   1557 --- a/lib/sup/message.rb
   1558 +++ b/lib/sup/message.rb
   1559 @@ -480,6 +480,17 @@ private
   1560          ## separated by ";". So, we match everything up to " and ; (if present).
   1561          if m.header["Content-Disposition"] && m.header["Content-Disposition"] =~ /filename="?(.*?[^\\])("|;|\z)/m
   1562            $1
   1563 +        elsif m.header["Content-Disposition"] && m.header["Content-Disposition"] =~ /filename\*=(.*)''(.*)("|;|$)/
   1564 +          ## RFC 2231 defines extensions to RFC 2183 disposition parameter
   1565 +          ## value mechanisms to provide value character set information
   1566 +          ## (http://greenbytes.de/tech/webdav/rfc2231.html#rfc.section.4),
   1567 +          ## e.g.:
   1568 +          ##     Content-Disposition: attachment; filename*=UTF-8''foo-%c3%a4-%e2%82%ac.html
   1569 +          ##
   1570 +          ## The following pattern detects the cases described in 
   1571 +          ## http://greenbytes.de/tech/tc2231/#encoding-2231-char
   1572 +          ## (RFC2231 Encoding: Character Sets).
   1573 +          ##
   1574 +          ## TODO: The value of filename ($2) must be decoded according to
   1575 +          ## the encoding specified in $1.
   1576 +          $2
   1577          elsif m.header["Content-Type"] && m.header["Content-Type"] =~ /name="?(.*?[^\\])("|;|\z)/im
   1578            $1
   1579 --
   1580 1.5.6.5
   1581  
   1582 
   1583 From dmishd@gmail.com  Sun Oct 17 15:03:48 2010
   1584 From: dmishd@gmail.com (Hamish D)
   1585 Date: Sun, 17 Oct 2010 20:03:48 +0100
   1586 Subject: [sup-devel] Fix for decrypting messages
   1587 Message-ID: <AANLkTimNtSATed=X=aOk9V2At_ESfwSgyBA1vDnwMJmw@mail.gmail.com>
   1588 
   1589 I was finding some messages weren't getting decrypted properly - I
   1590 would be told the message was decrypted, but no text would appear. But
   1591 I could decrypt it manually. Trying the dev console I found the entire
   1592 message was being parsed into headers. Eventually I worked out that
   1593 the decrypted message had "\r\n" as line breaks, while the RMail
   1594 parser expects "\n\n" as the divider between the header and body, not
   1595 "\r\n\r\n". So the patch is basically one line to take the decrypted
   1596 output and replace \r\n with \n. This is done after the signature is
   1597 verified.
   1598 
   1599 The mail client producing the emails was the Evolution mail client,
   1600 but I guess it may happen with others aswell.
   1601 
   1602 Hamish Downer
   1603 -------------- next part --------------
   1604 A non-text attachment was scrubbed...
   1605 Name: 0001-Deal-with-r-n-inside-encrypted-messages.patch
   1606 Type: text/x-patch
   1607 Size: 1200 bytes
   1608 Desc: not available
   1609 URL: <http://rubyforge.org/pipermail/sup-devel/attachments/20101017/65a6c4d5/attachment.bin>
   1610 
   1611 From dmishd@gmail.com  Sun Oct 17 18:41:45 2010
   1612 From: dmishd@gmail.com (Hamish D)
   1613 Date: Sun, 17 Oct 2010 23:41:45 +0100
   1614 Subject: [sup-devel] [PATCH] Stop worrying notice when encrypted email not
   1615 	signed
   1616 Message-ID: <AANLkTinEiJYb+-gPcEUkw=1ARwf9mENbF7EOi1eiLfWr@mail.gmail.com>
   1617 
   1618 Stop worrying notice when encrypted email not signed
   1619 
   1620 When no signature is present, there was a message saying
   1621 "Unable to determine validity of cryptographic signature".
   1622 This fix means that if there are no error messages and no
   1623 messages about signature verification then the message is
   1624 assumed to not be signed at all. This fix also saves the
   1625 encrypted messages to a temp file with a suffix of .asc
   1626 to stop gpg complaining about "unknown suffix".
   1627 
   1628 Hamish Downer
   1629 -------------- next part --------------
   1630 A non-text attachment was scrubbed...
   1631 Name: 0001-Stop-worrying-notice-when-no-signature-present.patch
   1632 Type: text/x-patch
   1633 Size: 1478 bytes
   1634 Desc: not available
   1635 URL: <http://rubyforge.org/pipermail/sup-devel/attachments/20101017/4961654e/attachment-0001.bin>
   1636 
   1637 From bwalton@artsci.utoronto.ca  Sun Oct 17 21:55:27 2010
   1638 From: bwalton@artsci.utoronto.ca (Ben Walton)
   1639 Date: Sun, 17 Oct 2010 21:55:27 -0400
   1640 Subject: [sup-devel] [PATCH] Stop worrying notice when encrypted email
   1641 	not signed
   1642 In-Reply-To: <AANLkTinEiJYb+-gPcEUkw=1ARwf9mENbF7EOi1eiLfWr@mail.gmail.com>
   1643 References: <AANLkTinEiJYb+-gPcEUkw=1ARwf9mENbF7EOi1eiLfWr@mail.gmail.com>
   1644 Message-ID: <1287366885-sup-9753@pinkfloyd.chass.utoronto.ca>
   1645 
   1646 Excerpts from Hamish D's message of Sun Oct 17 18:41:45 -0400 2010:
   1647 
   1648 > assumed to not be signed at all. This fix also saves the
   1649 > encrypted messages to a temp file with a suffix of .asc
   1650 > to stop gpg complaining about "unknown suffix".
   1651 
   1652 How about submitting these as separate patches?  They are actually to
   1653 different issues.
   1654 
   1655 They look good though.
   1656 
   1657 Thanks
   1658 -Ben
   1659 --
   1660 Ben Walton
   1661 Systems Programmer - CHASS
   1662 University of Toronto
   1663 C:416.407.5610 | W:416.978.4302
   1664 
   1665 
   1666 From dmishd@gmail.com  Mon Oct 18 14:43:26 2010
   1667 From: dmishd@gmail.com (Hamish D)
   1668 Date: Mon, 18 Oct 2010 19:43:26 +0100
   1669 Subject: [sup-devel] [PATCH] gpg related fixes (resubmitted)
   1670 Message-ID: <AANLkTimE2P7oMB6qkD=davoTghvp1t2vMhhHixG74waV@mail.gmail.com>
   1671 
   1672 I am resubmitting these patches. 0001-Give-gpg-a-known-suffix.patch
   1673 and 0001-Stop-worrying-notice-when-no-signature-present.patch are two
   1674 patches to replace the previous
   1675 0001-Stop-worrying-notice-when-no-signature-present.patch, though note
   1676 the known suffix patch is required for the second one to work.
   1677 
   1678 And I didn't put [PATCH] in the subject line when I posted
   1679 0001-Deal-with-r-n-inside-encrypted-messages.patch so I'm attaching it
   1680 to this email in case the last one was missed due to workflow etc.
   1681 
   1682 Hamish Downer
   1683 -------------- next part --------------
   1684 A non-text attachment was scrubbed...
   1685 Name: 0001-Deal-with-r-n-inside-encrypted-messages.patch
   1686 Type: text/x-patch
   1687 Size: 1200 bytes
   1688 Desc: not available
   1689 URL: <http://rubyforge.org/pipermail/sup-devel/attachments/20101018/f5501ea2/attachment.bin>
   1690 -------------- next part --------------
   1691 A non-text attachment was scrubbed...
   1692 Name: 0001-Give-gpg-a-known-suffix.patch
   1693 Type: text/x-patch
   1694 Size: 821 bytes
   1695 Desc: not available
   1696 URL: <http://rubyforge.org/pipermail/sup-devel/attachments/20101018/f5501ea2/attachment-0001.bin>
   1697 -------------- next part --------------
   1698 A non-text attachment was scrubbed...
   1699 Name: 0001-Stop-worrying-notice-when-no-signature-present.patch
   1700 Type: text/x-patch
   1701 Size: 1478 bytes
   1702 Desc: not available
   1703 URL: <http://rubyforge.org/pipermail/sup-devel/attachments/20101018/f5501ea2/attachment-0002.bin>
   1704 
   1705 From michael+sup@stapelberg.de  Wed Oct 20 05:02:43 2010
   1706 From: michael+sup@stapelberg.de (Michael Stapelberg)
   1707 Date: Wed, 20 Oct 2010 11:02:43 +0200
   1708 Subject: [sup-devel]
   1709 	=?utf-8?q?[PATCH]_Bugfix:_Don=E2=80=99t_call_handle=96added=96message_for_old_messages_with_a_new_location?=
   1710 Message-ID: <1287565270-sup-1161@midna.zekjur.net>
   1711 
   1712 Hi,
   1713 
   1714 I finally found out what made messages come up in my inbox again despite being
   1715 killed or marked as spam. Quote from the commit message:
   1716 
   1717     When sup finds a message, it always called handle_added_message which in turn
   1718     invokes add_or_unhide. This is bad, because for killed messages (or marked as
   1719     spam), this would bring the message up in the inbox again. After this commit,
   1720     handle_added_message is only called when the message is either new or an
   1721     existing location of it was updated (to update the labels).
   1722     
   1723     The normal usecase for receiving a message with the same ID is being subscribed
   1724     to a mailing list via two different mail addresses.
   1725 
   1726 Best regards,
   1727 Michael
   1728 -------------- next part --------------
   1729 A non-text attachment was scrubbed...
   1730 Name: 0001-Bugfix-Don-t-call-handle_added_message-for-old-messa.patch
   1731 Type: application/octet-stream
   1732 Size: 1845 bytes
   1733 Desc: not available
   1734 URL: <http://rubyforge.org/pipermail/sup-devel/attachments/20101020/0d54bf28/attachment.obj>
   1735 
   1736 From sup-bugs@masanjin.net  Thu Oct 21 07:33:33 2010
   1737 From: sup-bugs@masanjin.net (anonymous)
   1738 Date: Thu, 21 Oct 2010 11:33:33 +0000
   1739 Subject: [sup-devel] [issue124] Crash after sending mail,
   1740 	now crashes on entry!
   1741 In-Reply-To: <1287660813.79.0.856351379154.issue124@masanjin.net>
   1742 Message-ID: <1287660813.79.0.856351379154.issue124@masanjin.net>
   1743 
   1744 
   1745 New submission from anonymous:
   1746 
   1747 I'd just finished sending a mail and the "send mail" buffer was showing
   1748 "flushing index" in the status bar.  I pressed x to leave, and the program
   1749 crashed.  
   1750 
   1751 Now whenever I try to start sup, it briefly flashes up the inbox buffer and then
   1752 crashes.  Exception log attached.
   1753 
   1754 ----------
   1755 files: exception-log.txt
   1756 messages: 293
   1757 nosy: anonymous
   1758 priority: bug
   1759 ruby_version: 1.8.7
   1760 status: unread
   1761 sup_version: 0.11
   1762 title: Crash after sending mail, now crashes on entry!
   1763 
   1764 _________________________________________
   1765 Sup issue tracker <sup-bugs at masanjin.net>
   1766 <http://masanjin.net/sup-bugs/issue124>
   1767 _________________________________________
   1768 -------------- next part --------------
   1769 --- RuntimeError from thread: load threads for thread-index-mode
   1770 
   1771 /usr/lib/ruby/gems/1.8/gems/sup-0.11/lib/sup/index.rb:501:in `find_docid'
   1772 /usr/lib/ruby/gems/1.8/gems/sup-0.11/lib/sup/index.rb:506:in `find_doc'
   1773 /usr/lib/ruby/gems/1.8/gems/sup-0.11/lib/sup/index.rb:516:in `get_entry'
   1774 /usr/lib/ruby/gems/1.8/gems/sup-0.11/lib/sup/index.rb:193:in `build_message'
   1775 /usr/lib/ruby/1.8/monitor.rb:242:in `synchronize'
   1776 /usr/lib/ruby/gems/1.8/gems/sup-0.11/lib/sup/index.rb:525:in `synchronize'
   1777 /usr/lib/ruby/gems/1.8/gems/sup-0.11/lib/sup/index.rb:193:in `build_message'
   1778 /usr/lib/ruby/gems/1.8/gems/sup-0.11/lib/sup/index.rb:148:in `each_id_by_date'
   1779 /usr/lib/ruby/gems/1.8/gems/sup-0.11/lib/sup/thread.rb:332:in `call'
   1780 /usr/lib/ruby/gems/1.8/gems/sup-0.11/lib/sup/thread.rb:332:in `load_n_threads'
   1781 /usr/lib/ruby/gems/1.8/gems/sup-0.11/lib/sup/index.rb:148:in `each_id_by_date'
   1782 /usr/lib/ruby/gems/1.8/gems/sup-0.11/lib/sup/index.rb:239:in `each_id'
   1783 /usr/lib/ruby/gems/1.8/gems/sup-0.11/lib/sup/index.rb:239:in `each'
   1784 /usr/lib/ruby/gems/1.8/gems/sup-0.11/lib/sup/index.rb:239:in `each_id'
   1785 /usr/lib/ruby/gems/1.8/gems/sup-0.11/lib/sup/index.rb:148:in `each_id_by_date'
   1786 /usr/lib/ruby/gems/1.8/gems/sup-0.11/lib/sup/thread.rb:328:in `load_n_threads'
   1787 /usr/lib/ruby/gems/1.8/gems/sup-0.11/lib/sup/modes/thread-index-mode.rb:640:in `__unprotected_load_n_threads'
   1788 (eval):12:in `load_n_threads'
   1789 /usr/lib/ruby/gems/1.8/gems/sup-0.11/lib/sup/modes/thread-index-mode.rb:624:in `load_n_threads_background'
   1790 /usr/lib/ruby/gems/1.8/gems/sup-0.11/lib/sup.rb:76:in `reporting_thread'
   1791 /usr/lib/ruby/gems/1.8/gems/sup-0.11/lib/sup.rb:74:in `initialize'
   1792 /usr/lib/ruby/gems/1.8/gems/sup-0.11/lib/sup.rb:74:in `new'
   1793 /usr/lib/ruby/gems/1.8/gems/sup-0.11/lib/sup.rb:74:in `reporting_thread'
   1794 /usr/lib/ruby/gems/1.8/gems/sup-0.11/lib/sup/modes/thread-index-mode.rb:623:in `load_n_threads_background'
   1795 /usr/lib/ruby/gems/1.8/gems/sup-0.11/lib/sup/modes/thread-index-mode.rb:694:in `__unprotected_load_threads'
   1796 (eval):12:in `load_threads'
   1797 /usr/lib/ruby/gems/1.8/gems/sup-0.11/bin/sup:231
   1798 /usr/bin/sup:19:in `load'
   1799 /usr/bin/sup:19
   1800 
   1801 From rlane@club.cc.cmu.edu  Thu Oct 21 12:19:20 2010
   1802 From: rlane@club.cc.cmu.edu (Rich Lane)
   1803 Date: Thu, 21 Oct 2010 12:19:20 -0400
   1804 Subject: [sup-devel] [PATCH] gpg related fixes (resubmitted)
   1805 In-Reply-To: <AANLkTimE2P7oMB6qkD=davoTghvp1t2vMhhHixG74waV@mail.gmail.com>
   1806 References: <AANLkTimE2P7oMB6qkD=davoTghvp1t2vMhhHixG74waV@mail.gmail.com>
   1807 Message-ID: <1287677888-sup-7401@zyrg.net>
   1808 
   1809 All 3 patches applied to master.
   1810 
   1811 From rlane@club.cc.cmu.edu  Thu Oct 21 12:19:42 2010
   1812 From: rlane@club.cc.cmu.edu (Rich Lane)
   1813 Date: Thu, 21 Oct 2010 12:19:42 -0400
   1814 Subject: [sup-devel] [PATCH] Bugfix: Don\xe2\x80\x99t call
   1815 	handle\x96added\x96message for old messages with a new location
   1816 In-Reply-To: <1287565270-sup-1161@midna.zekjur.net>
   1817 References: <1287565270-sup-1161@midna.zekjur.net>
   1818 Message-ID: <1287677967-sup-6351@zyrg.net>
   1819 
   1820 Applied to master.
   1821 
   1822 From dmishd@gmail.com  Fri Oct 22 11:37:58 2010
   1823 From: dmishd@gmail.com (Hamish D)
   1824 Date: Fri, 22 Oct 2010 16:37:58 +0100
   1825 Subject: [sup-devel] [PATCH] Stop double quoting the protocol when sending
   1826 	encrypted emails
   1827 Message-ID: <AANLkTimk4yTtJxDj5+H4HfjthdPLQtvE=9enx6GQykRo@mail.gmail.com>
   1828 
   1829 Some friends of mine were having trouble with encrypted messages of
   1830 mine sent by sup. From the commit message:
   1831 
   1832 
   1833 Stop double quoting the protocol when sending encrypted emails
   1834 
   1835 It was the case that when encrypting emails, the content-type
   1836 header line would look like:
   1837 Content-Type: multipart/encrypted;
   1838 boundary="=-1287680456-54319-281-6673-1-=";
   1839 protocol=""application/pgp-encrypted""
   1840 It appears that rmail adds the extra quotes, so this change
   1841 makes the protocol unquoted to start with, so we end up with
   1842 correct quoting.
   1843 
   1844 
   1845 Hamish Downer
   1846 -------------- next part --------------
   1847 A non-text attachment was scrubbed...
   1848 Name: 0001-Stop-double-quoting-the-protocol-when-sending-encryp.patch
   1849 Type: text/x-patch
   1850 Size: 1163 bytes
   1851 Desc: not available
   1852 URL: <http://rubyforge.org/pipermail/sup-devel/attachments/20101022/e99cd7fb/attachment.bin>
   1853 
   1854 From michael+sup@stapelberg.de  Mon Oct 25 16:32:18 2010
   1855 From: michael+sup@stapelberg.de (Michael Stapelberg)
   1856 Date: Mon, 25 Oct 2010 22:32:18 +0200
   1857 Subject: [sup-devel] Snippet: Copy unread messages to maildir
   1858 Message-ID: <1288038555-sup-4375@midna.zekjur.net>
   1859 
   1860 Hi,
   1861 
   1862 I thought it would be a good idea to copy the unread messages from my sup inbox
   1863 to a separate maildir to access it from my phone. Turns out that once you are
   1864 spoiled with sup, you cannot go back to "normal" mail clients (k-9 mail in this
   1865 case) ;-).
   1866 
   1867 Nevertheless, I thought maybe somebody could use the code I wrote. I?m
   1868 attaching it to this mail, but beware, it still has a bug: It crashes when
   1869 exporting messages sometimes. It also uses absolute paths.
   1870 
   1871 Best regards,
   1872 Michael
   1873 -------------- next part --------------
   1874 A non-text attachment was scrubbed...
   1875 Name: copy-unread.rb
   1876 Type: application/x-ruby
   1877 Size: 850 bytes
   1878 Desc: not available
   1879 URL: <http://rubyforge.org/pipermail/sup-devel/attachments/20101025/c65cc4e9/attachment-0001.bin>
   1880 
   1881 From michael+sup@stapelberg.de  Mon Oct 25 18:13:46 2010
   1882 From: michael+sup@stapelberg.de (Michael Stapelberg)
   1883 Date: Tue, 26 Oct 2010 00:13:46 +0200
   1884 Subject: [sup-devel] [PATCH] Bugfix: mime_encode: Encode _ as =5F instead of
   1885 	=96
   1886 Message-ID: <1288044796-sup-6774@midna.zekjur.net>
   1887 
   1888 Hi,
   1889 
   1890 quote from the commit message:
   1891 
   1892     This line of code was introduced in 0d45aa38, probably by mistake. The ASCII
   1893     code in decimal for '_' (underscore) is 95 (the code says 96, but probably
   1894     another mistake), but as mime encoding is hexadecimal, we need =5F instead.
   1895     
   1896     An example of this encoding problem can be seen in one of my earlier patches
   1897     with message-id <1287565270-sup-1161 at midna.zekjur.net>.
   1898 
   1899 
   1900 Best regards,
   1901 Michael
   1902 -------------- next part --------------
   1903 A non-text attachment was scrubbed...
   1904 Name: 0001-Bugfix-mime_encode-Encode-_-as-5F-instead-of-96.patch
   1905 Type: application/octet-stream
   1906 Size: 1347 bytes
   1907 Desc: not available
   1908 URL: <http://rubyforge.org/pipermail/sup-devel/attachments/20101026/a52e7a11/attachment.obj>
   1909 
   1910 From bwalton@artsci.utoronto.ca  Mon Oct 25 20:50:00 2010
   1911 From: bwalton@artsci.utoronto.ca (Ben Walton)
   1912 Date: Mon, 25 Oct 2010 20:50:00 -0400
   1913 Subject: [sup-devel] Snippet: Copy unread messages to maildir
   1914 In-Reply-To: <1288038555-sup-4375@midna.zekjur.net>
   1915 References: <1288038555-sup-4375@midna.zekjur.net>
   1916 Message-ID: <1288054042-sup-9601@pinkfloyd.chass.utoronto.ca>
   1917 
   1918 Excerpts from Michael Stapelberg's message of Mon Oct 25 16:32:18 -0400 2010:
   1919 
   1920 > I thought it would be a good idea to copy the unread messages from
   1921 > my sup inbox to a separate maildir to access it from my phone. Turns
   1922 > out that once you are spoiled with sup, you cannot go back to
   1923 > "normal" mail clients (k-9 mail in this case) ;-).
   1924 
   1925 I just started doing this too.  My approach is different though.  I'm
   1926 using procmail to :0c (copy) any mail that is addressed directly to me
   1927 into the Inbox.  All other mail is diverted to folders like
   1928 .incoming.2010.10/.  (I have a hook that automatically adds new
   1929 sources as they appear...)
   1930 
   1931 Now, if I could get my phone to supply In-Reply-To and friends, my sup
   1932 interaction while mobile would be in much better shape!
   1933 
   1934 Thanks
   1935 -Ben
   1936 --
   1937 Ben Walton
   1938 Systems Programmer - CHASS
   1939 University of Toronto
   1940 C:416.407.5610 | W:416.978.4302
   1941 
   1942 
   1943 From tero@tilus.net  Thu Oct 28 08:05:33 2010
   1944 From: tero@tilus.net (Tero Tilus)
   1945 Date: Thu, 28 Oct 2010 15:05:33 +0300
   1946 Subject: [sup-devel] Message#text_to_chunks performance
   1947 Message-ID: <1288264300-sup-7747@tilus.net>
   1948 
   1949 Hi,
   1950 
   1951 I ran into an issue with bad behavior of Message#text_to_chunks on
   1952 long sequences of blank lines.  Apparently I have and receive quite a
   1953 few mails with batshit crazy amounts of blank lines (the worst case
   1954 sofar being almost 200 kB worth of linefeeds ... don't ask) in them
   1955 and I want to be able to deal with them without needing to leave the
   1956 poll running overnight.
   1957 
   1958 I have a na?ve fix pushed to my sup fork at github (and gitorius too).
   1959 
   1960 http://github.com/terotil/sup/tree/fix-text_to_chunks-performance
   1961 
   1962 Is the patch-to-mailinglist still the preferred flow of contribution
   1963 as stated in Wiki?  http://sup.rubyforge.org/wiki/wiki.pl?Contributing
   1964 
   1965 Do you, Rich and William, take in (properly prepared) commits from
   1966 github/gitorius forks?
   1967 
   1968 --
   1969 Tero Tilus ## 050 3635 235 ## http://tero.tilus.net/
   1970