sup:mainline.git
7 years agobump to 0.9.1 release-0.9.1
William Morgan [Thu, 10 Dec 2009 15:07:43 +0000 (10:07 -0500)]
bump to 0.9.1

7 years agoupdate changelog etc to 0.9.1
William Morgan [Thu, 10 Dec 2009 15:07:01 +0000 (10:07 -0500)]
update changelog etc to 0.9.1

7 years agoMerge branch 'config-ask-for-to'
Rich Lane [Fri, 27 Nov 2009 19:49:40 +0000 (14:49 -0500)]
Merge branch 'config-ask-for-to'

7 years agomakes compose-mode and forward-mode ask_for_contacts logic the same
Rich Lane [Fri, 27 Nov 2009 19:49:06 +0000 (14:49 -0500)]
makes compose-mode and forward-mode ask_for_contacts logic the same

7 years agoMerge branch 'textfield-tweaks'
Rich Lane [Fri, 27 Nov 2009 19:33:20 +0000 (14:33 -0500)]
Merge branch 'textfield-tweaks'

7 years agoImplement C-W for textfields
Steven Walter [Fri, 20 Nov 2009 14:05:11 +0000 (09:05 -0500)]
Implement C-W for textfields

7 years agoMerge branch 'decode-attachment-filenames'
Rich Lane [Fri, 27 Nov 2009 19:31:38 +0000 (14:31 -0500)]
Merge branch 'decode-attachment-filenames'

7 years agoRFC 2047 decode attachment file names
Tero Tilus [Thu, 26 Nov 2009 13:00:17 +0000 (15:00 +0200)]
RFC 2047 decode attachment file names

Signed-off-by: Tero Tilus <tero@tilus.net>
8 years agoMerge branch 'config-ask-for-to'
Rich Lane [Sat, 21 Nov 2009 00:11:14 +0000 (19:11 -0500)]
Merge branch 'config-ask-for-to'

8 years agodefault ask_for_to to true
Rich Lane [Sat, 21 Nov 2009 00:10:46 +0000 (19:10 -0500)]
default ask_for_to to true

8 years agoMerge branch 'thread-view-mode-undo'
Rich Lane [Fri, 20 Nov 2009 04:43:00 +0000 (23:43 -0500)]
Merge branch 'thread-view-mode-undo'

8 years agocreate undo records in thread view
Andrew Pimlott [Thu, 12 Nov 2009 17:30:01 +0000 (09:30 -0800)]
create undo records in thread view

8 years agoMerge branch 'xapian-comment-fix'
Rich Lane [Fri, 20 Nov 2009 04:35:23 +0000 (23:35 -0500)]
Merge branch 'xapian-comment-fix'

8 years agoComment tweak, XapianIndex doesn't use GDBM anymore since 4d82ef88
Ingmar Vanhassel [Tue, 17 Nov 2009 23:25:26 +0000 (00:25 +0100)]
Comment tweak, XapianIndex doesn't use GDBM anymore since 4d82ef88

8 years agoMerge branch 'date-format-fix'
Rich Lane [Fri, 20 Nov 2009 04:28:32 +0000 (23:28 -0500)]
Merge branch 'date-format-fix'

8 years agoCorrect AM/PM selector in DATE_FORMAT.
William Erik Baxter [Sun, 15 Nov 2009 22:55:03 +0000 (17:55 -0500)]
Correct AM/PM selector in DATE_FORMAT.

8 years agoMake sup's textfield behave more like readline
Cameron Matheson [Fri, 20 Nov 2009 04:23:15 +0000 (23:23 -0500)]
Make sup's textfield behave more like readline

8 years agoMerge branch 'config-ask-for-to'
Rich Lane [Thu, 12 Nov 2009 04:27:48 +0000 (23:27 -0500)]
Merge branch 'config-ask-for-to'

8 years agoMerge branch 'display-poll-labels'
Rich Lane [Thu, 12 Nov 2009 04:26:41 +0000 (23:26 -0500)]
Merge branch 'display-poll-labels'

8 years agodisplay labels of polled messages
Peter Harkins [Wed, 11 Nov 2009 17:06:30 +0000 (11:06 -0600)]
display labels of polled messages

Original patch by Christopher Bertels.

8 years agoissue6: Added ask_for_to to match _cc, _bcc, and _subject.
Peter Harkins [Wed, 11 Nov 2009 18:40:20 +0000 (12:40 -0600)]
issue6: Added ask_for_to to match _cc, _bcc, and _subject.

The user who sets these all to false will move directly to editing
headers in their $EDITOR when composing or forwarding.

8 years agomoved deriving the cmd for bouncing to Account and fixed a bug in it
Tero Tilus [Sat, 10 Oct 2009 07:21:33 +0000 (10:21 +0300)]
moved deriving the cmd for bouncing to Account and fixed a bug in it

The default sendmail command used for bouncing mail was derived from
Account#sendmail in ThreadViewMode#bounce.  Moved it to
Account#bounce_sendmail.  Part of work towards more DRY mail bouncing
within mark-as-spam hook. The code also had a bug, "$1" (instead of $1
or "#{$1}").  Fixed it.

Signed-off-by: Tero Tilus <tero@tilus.net>
8 years agoupdate webpage to point to bugtracker (and other tweaks)
William Morgan [Sat, 7 Nov 2009 16:27:52 +0000 (11:27 -0500)]
update webpage to point to bugtracker (and other tweaks)

8 years agomake doc/NewUserGuide.txt markdown
Anthony Martinez [Thu, 22 Oct 2009 22:21:26 +0000 (16:21 -0600)]
make doc/NewUserGuide.txt markdown

With these minimally-intrusive formatting changes, NewUserGuide runs
through a Markdown filter, producing fairly pleasant results.

8 years agofix mbox date parsing: catch ArgumentError
William Morgan [Sun, 1 Nov 2009 18:43:19 +0000 (13:43 -0500)]
fix mbox date parsing: catch ArgumentError

Apparently ArgumentError is sometimes thrown on an invalid date as well.

8 years agogive exception log relative to BASE_DIR in exception message
Jon M. Dugan [Fri, 30 Oct 2009 22:10:24 +0000 (17:10 -0500)]
give exception log relative to BASE_DIR in exception message

8 years agofix bug in which custom-search substitutions are not used
Edward Z. Yang [Wed, 10 Jun 2009 05:42:50 +0000 (01:42 -0400)]
fix bug in which custom-search substitutions are not used

Signed-off-by: Edward Z. Yang <ezyang@mit.edu>
8 years agoincrease numbers in contact-list-mode
William Morgan [Mon, 12 Oct 2009 13:40:36 +0000 (06:40 -0700)]
increase numbers in contact-list-mode

8 years agodon't downcase a nil content-type
Rich Lane [Sat, 3 Oct 2009 18:19:57 +0000 (11:19 -0700)]
don't downcase a nil content-type

8 years agofix --compose option, and add a --subject option
William Morgan [Sun, 11 Oct 2009 19:29:01 +0000 (12:29 -0700)]
fix --compose option, and add a --subject option

Make this spawn a buffer immediately instead of asking something that
gets lost in all the loading messages anyways.

8 years agoinclude hook filename in error messages
William Morgan [Tue, 6 Oct 2009 15:03:03 +0000 (11:03 -0400)]
include hook filename in error messages

It's visible in the backtrace, but this makes it a little more obvious.

8 years agomore release-script updates
William Morgan [Thu, 1 Oct 2009 18:40:16 +0000 (14:40 -0400)]
more release-script updates

8 years agochange date for 0.9 release
William Morgan [Thu, 1 Oct 2009 18:33:38 +0000 (14:33 -0400)]
change date for 0.9 release

8 years agobugfix: write mbox messages in RFC2822 format
William Morgan [Thu, 1 Oct 2009 16:36:26 +0000 (12:36 -0400)]
bugfix: write mbox messages in RFC2822 format

Otherwise, non-en_US locales may screw up the mbox format and Sup won't be able
to read its own output.

8 years agominor bugfix to bring devel console up to date
William Morgan [Thu, 1 Oct 2009 16:25:02 +0000 (12:25 -0400)]
minor bugfix to bring devel console up to date

8 years agoyet another attempt to get this crypto stuff right
William Morgan [Wed, 30 Sep 2009 19:32:29 +0000 (15:32 -0400)]
yet another attempt to get this crypto stuff right

Revert these lines of code to how they were originally!

8 years agominor tweak: don't call load-more callback more than twice a second
William Morgan [Wed, 30 Sep 2009 19:55:39 +0000 (15:55 -0400)]
minor tweak: don't call load-more callback more than twice a second

Otherwise the while program starts thrashing if you downarrow very quickly.

8 years agoupdate changelog, etc. to 0.9
William Morgan [Wed, 30 Sep 2009 17:54:10 +0000 (13:54 -0400)]
update changelog, etc. to 0.9

8 years agodon't autoload message from source for snippet
William Morgan [Wed, 30 Sep 2009 17:43:22 +0000 (13:43 -0400)]
don't autoload message from source for snippet

This was actually causing some weird deadlocks with the Xapian backend, I
believe because it actually represents the snippet as nil in the index index of
"", like Ferret. Either way, since loading from the source is an expensive
operation, it should happen automatically as little as possible.

8 years agoupdate release-script to world without ditz
William Morgan [Wed, 30 Sep 2009 15:43:06 +0000 (11:43 -0400)]
update release-script to world without ditz

8 years agoMerge branch 'crypto-mime-fix'
William Morgan [Wed, 30 Sep 2009 15:04:29 +0000 (11:04 -0400)]
Merge branch 'crypto-mime-fix'

8 years agoMerge commit 'origin/alignment-tweaks'
William Morgan [Wed, 30 Sep 2009 15:04:07 +0000 (11:04 -0400)]
Merge commit 'origin/alignment-tweaks'

8 years agobugfix^3: yet more fiddling with content_type and case-insensitivity
William Morgan [Sun, 27 Sep 2009 01:37:03 +0000 (18:37 -0700)]
bugfix^3: yet more fiddling with content_type and case-insensitivity

Patch thanks to Michael Stapelberg

8 years agoMerge commit 'origin/preemptive-loading'
William Morgan [Sat, 26 Sep 2009 18:18:59 +0000 (11:18 -0700)]
Merge commit 'origin/preemptive-loading'

8 years agoaccept non-RFC3156-compliant encrypted email
William Morgan [Sat, 26 Sep 2009 18:06:07 +0000 (11:06 -0700)]
accept non-RFC3156-compliant encrypted email

8 years agobugfix bugfix: downcase strings, not other things!
William Morgan [Sat, 26 Sep 2009 17:44:46 +0000 (10:44 -0700)]
bugfix bugfix: downcase strings, not other things!

8 years agomime-decode hook: provide a "charset" variable with the attachment charset
Adeodato Simó [Fri, 10 Jul 2009 15:00:29 +0000 (17:00 +0200)]
mime-decode hook: provide a "charset" variable with the attachment charset

This is useful, for example, for HTML attachments which are sent in a
charset different from the default for the system (eg., ISO-8859-1 on an
UTF-8 system), so that the converter program can be told what charset it
should be converting from.

Signed-off-by: Adeodato Simó <dato@net.com.org.es>
8 years agomake all content-type comparisons case-insensitive
William Morgan [Sat, 26 Sep 2009 14:55:28 +0000 (07:55 -0700)]
make all content-type comparisons case-insensitive

8 years agobugfix: encrypted messages not being chunked correctly
William Morgan [Sat, 26 Sep 2009 14:44:45 +0000 (07:44 -0700)]
bugfix: encrypted messages not being chunked correctly

Thansk to Michael Stapelberg

8 years agobugfix: wrong # args for enclosedmessage without body
William Morgan [Sat, 26 Sep 2009 14:09:09 +0000 (07:09 -0700)]
bugfix: wrong # args for enclosedmessage without body

Another bugfix thanks to Carl Worth.

8 years agominor bugfix: set Person @name to nil
William Morgan [Sat, 26 Sep 2009 13:36:54 +0000 (06:36 -0700)]
minor bugfix: set Person @name to nil

Idea thanks to Carl Worth

8 years agobugfix: parse list-(un)subscribe headers correctly
William Morgan [Sat, 26 Sep 2009 13:32:21 +0000 (06:32 -0700)]
bugfix: parse list-(un)subscribe headers correctly

Also, if no subject is specified, just use "subscribe" or "unsubscribe"
instead of forcing the user to come up with something.

8 years agofix parsing of encrypted messages that contain further multipart elements
Adeodato Simó [Thu, 23 Jul 2009 17:19:51 +0000 (19:19 +0200)]
fix parsing of encrypted messages that contain further multipart elements

8 years agomove sup-sync output from stderr to stdout
William Morgan [Thu, 10 Sep 2009 14:22:37 +0000 (10:22 -0400)]
move sup-sync output from stderr to stdout

8 years agoremove redundant poll message
William Morgan [Thu, 10 Sep 2009 14:22:23 +0000 (10:22 -0400)]
remove redundant poll message

8 years agosort labels in the dump
Michael Hamann [Sun, 6 Sep 2009 21:04:22 +0000 (23:04 +0200)]
sort labels in the dump

Sorting labels in the dump is useful when you e.g. want to keep track of
your dump using an incremental backup system that records diffs, with
this patch lines in the dump will only change when there is a real
change and no longer just because the random order of the labels
changes.

8 years agoadd 'a' and 'd' keybindings to thread-view-mode to archive/delete current thread
Carl Worth [Wed, 26 Aug 2009 22:40:34 +0000 (15:40 -0700)]
add 'a' and 'd' keybindings to thread-view-mode to archive/delete current thread

These behave identically to the existing ",a" and ",d" commands, (that
is they archive or delete the current thread and then view the next).

8 years agobugfix: console mode can't start a message in #initialize
William Morgan [Wed, 9 Sep 2009 14:06:38 +0000 (10:06 -0400)]
bugfix: console mode can't start a message in #initialize

Now that it's a regular buffer, it must act like one. I've moved
the message to #run, where it kinda makes more sense. Also tweaked
a few things.

8 years agodon't require log-mode to auto-respawn
William Morgan [Wed, 9 Sep 2009 14:05:11 +0000 (10:05 -0400)]
don't require log-mode to auto-respawn

Don't require log-mode (and more importantly, subclasses thereof) to respawn.
If a buffer name is provided during initialization, respawning will be on;
otherwise, it will be off. Now e.g. console mode can use log-mode without
requiring a buffer name, or incurring potentially weird auto-respawn behavior.

8 years agoprotect getch from ctrl-c's outside of the main event loop
William Morgan [Wed, 9 Sep 2009 14:03:08 +0000 (10:03 -0400)]
protect getch from ctrl-c's outside of the main event loop

The main event loop was interpreting ctrl-c's correctly, but other getch
callers (like asking for input) were not. This change will treat ctrl-c as
ctrl-g in those cases.

8 years agoMerge branch 'custom-search-hook'
William Morgan [Tue, 8 Sep 2009 19:58:28 +0000 (15:58 -0400)]
Merge branch 'custom-search-hook'

Conflicts:
lib/sup/hook.rb
lib/sup/index.rb

8 years agofix broken merge
William Morgan [Tue, 8 Sep 2009 19:55:07 +0000 (15:55 -0400)]
fix broken merge

Whoops!

8 years agoremove out-of-date comments about the hook system
William Morgan [Tue, 8 Sep 2009 19:47:16 +0000 (15:47 -0400)]
remove out-of-date comments about the hook system

8 years agoMerge branch 'enclosed-message-display-tweaks'
William Morgan [Tue, 8 Sep 2009 19:41:17 +0000 (15:41 -0400)]
Merge branch 'enclosed-message-display-tweaks'

Conflicts:
lib/sup/message.rb

8 years agoMerge branch 'console-mode'
William Morgan [Tue, 8 Sep 2009 19:37:51 +0000 (15:37 -0400)]
Merge branch 'console-mode'

Conflicts:
bin/sup

8 years agoMerge branch 'restore-state'
William Morgan [Tue, 8 Sep 2009 19:36:29 +0000 (15:36 -0400)]
Merge branch 'restore-state'

Conflicts:
bin/sup-sync

8 years agoMerge branch 'reply-all-keybindings'
William Morgan [Tue, 8 Sep 2009 19:26:07 +0000 (15:26 -0400)]
Merge branch 'reply-all-keybindings'

8 years agoMerge branch 'logging-tweaks'
William Morgan [Tue, 8 Sep 2009 19:25:55 +0000 (15:25 -0400)]
Merge branch 'logging-tweaks'

Conflicts:
lib/sup/hook.rb

8 years agoMerge branch 'hook-local-vars'
William Morgan [Tue, 8 Sep 2009 19:24:34 +0000 (15:24 -0400)]
Merge branch 'hook-local-vars'

8 years agoalways apply label :sent to messages in sentmanager
Ben Walton [Sun, 6 Sep 2009 18:04:38 +0000 (14:04 -0400)]
always apply label :sent to messages in sentmanager

Signed-off-by: Ben Walton <bwalton@artsci.utoronto.ca>
8 years agocoerce Message#add_label (and others) arguments to symbols
William Morgan [Sun, 6 Sep 2009 14:56:20 +0000 (10:56 -0400)]
coerce Message#add_label (and others) arguments to symbols

So that hook authors can't destroy their index by adding a string as a label.

8 years agobugfix: :sent label not being applied to sent messages
William Morgan [Sun, 6 Sep 2009 13:45:25 +0000 (09:45 -0400)]
bugfix: :sent label not being applied to sent messages

At least, for mbox sent sources. Modify the mbox source so that it calls
self.labels for the message labels instead of directly using @labels. This
allows the SentLoader subclass to apply the sent label by defining #labels.

8 years agoremove debugging statements
William Morgan [Sun, 6 Sep 2009 13:37:08 +0000 (09:37 -0400)]
remove debugging statements

8 years agoMerge branch 'xapian-updates'
William Morgan [Fri, 4 Sep 2009 17:28:10 +0000 (13:28 -0400)]
Merge branch 'xapian-updates'

8 years agohandle malformed multiplart messages
Kornilios Kourtis [Tue, 28 Jul 2009 16:58:23 +0000 (19:58 +0300)]
handle malformed multiplart messages

8 years agominor sup-config output tweaks
William Morgan [Fri, 4 Sep 2009 15:21:24 +0000 (11:21 -0400)]
minor sup-config output tweaks

8 years agosup-config whitespace tweaks
William Morgan [Fri, 4 Sep 2009 15:18:19 +0000 (11:18 -0400)]
sup-config whitespace tweaks

8 years agobugfix in yaml serialization
William Morgan [Fri, 4 Sep 2009 15:14:07 +0000 (11:14 -0400)]
bugfix in yaml serialization

Objects that don't respond to before_marshal were being turned into false.
Whoops!

8 years agofail fast if config is not valid
William Morgan [Fri, 4 Sep 2009 15:13:52 +0000 (11:13 -0400)]
fail fast if config is not valid

8 years agobugfix: crypto return values when no gpg binary detected
William Morgan [Fri, 4 Sep 2009 14:29:13 +0000 (10:29 -0400)]
bugfix: crypto return values when no gpg binary detected

Tweak the return values of CryptoManager#decrypt so that the notice widget is
the first thing returned regardless. Makes the code cleaner.

8 years agomake load-more callbacks use a queue and be thread-safe
William Morgan [Thu, 3 Sep 2009 17:49:17 +0000 (13:49 -0400)]
make load-more callbacks use a queue and be thread-safe

Replaced previous insane implementation with something that actually
makes sense.

8 years agoui responsiveness tweaks
Rich Lane [Sun, 23 Aug 2009 18:46:11 +0000 (11:46 -0700)]
ui responsiveness tweaks

8 years agopreemptively load messages when scrolling
Rich Lane [Sun, 23 Aug 2009 18:46:10 +0000 (11:46 -0700)]
preemptively load messages when scrolling

8 years agorejigger alignment of messages when using 'n' and 'p'
William Morgan [Thu, 3 Sep 2009 17:08:29 +0000 (13:08 -0400)]
rejigger alignment of messages when using 'n' and 'p'

minimize horizontal movement. 'z' can be used to force alignment of
current message with left column.

8 years agomove open3 require to correct file
William Morgan [Thu, 3 Sep 2009 16:35:23 +0000 (12:35 -0400)]
move open3 require to correct file

8 years agosup-sync: restore state on messages that don't already exist
Rich Lane [Sun, 23 Aug 2009 18:36:59 +0000 (11:36 -0700)]
sup-sync: restore state on messages that don't already exist

8 years agoremove use of Object#tap
Rich Lane [Sun, 30 Aug 2009 20:28:55 +0000 (13:28 -0700)]
remove use of Object#tap

8 years agomake SUP_LOG_LEVEL self-documenting
Carl Worth [Wed, 26 Aug 2009 21:35:25 +0000 (14:35 -0700)]
make SUP_LOG_LEVEL self-documenting

The idea here is that if someone is looking at the log and not seeing
the information of interest, then the log itself should tell them
how to get more information, (by suggesting to set SUP_LOG_LEVEL
to the next lower level).

8 years agoadd UTF-8 encoding string for ArchLinux systems
Israel Herraiz [Tue, 25 Aug 2009 09:29:01 +0000 (11:29 +0200)]
add UTF-8 encoding string for ArchLinux systems

in ArchLinux, UTF-8 encoding is identified by "utf8" instead of
"UTF-8".

8 years agoreply all keybindings
Rich Lane [Sun, 23 Aug 2009 18:49:02 +0000 (11:49 -0700)]
reply all keybindings

8 years agominor: move hook load messages from info to debug
William Morgan [Tue, 1 Sep 2009 02:37:35 +0000 (22:37 -0400)]
minor: move hook load messages from info to debug

8 years agobugfix: clear cached lambda hook locals after hook call
William Morgan [Tue, 1 Sep 2009 02:32:56 +0000 (22:32 -0400)]
bugfix: clear cached lambda hook locals after hook call

8 years agorejigger sup-sync logic slightly
William Morgan [Tue, 1 Sep 2009 02:24:05 +0000 (22:24 -0400)]
rejigger sup-sync logic slightly

8 years agosup-sync: restore state on messages that don't already exist
Rich Lane [Mon, 31 Aug 2009 00:50:34 +0000 (17:50 -0700)]
sup-sync: restore state on messages that don't already exist

8 years agoremove obsolete Manifest.txt
William Morgan [Tue, 25 Aug 2009 14:04:49 +0000 (10:04 -0400)]
remove obsolete Manifest.txt

8 years agoMerge branch 'run-mailcap-fixes'
William Morgan [Tue, 25 Aug 2009 13:53:36 +0000 (09:53 -0400)]
Merge branch 'run-mailcap-fixes'

Conflicts:
lib/sup/message-chunks.rb

8 years agoMerge branch 'buffer-rolling'
William Morgan [Tue, 25 Aug 2009 13:53:04 +0000 (09:53 -0400)]
Merge branch 'buffer-rolling'

8 years agoMerge branch 'locking-refactor'
William Morgan [Tue, 25 Aug 2009 13:51:15 +0000 (09:51 -0400)]
Merge branch 'locking-refactor'

Conflicts:
bin/sup
bin/sup-sync-back
bin/sup-tweak-labels
lib/sup.rb
lib/sup/suicide.rb

8 years agoMerge branch 'ncurses-fixes'
William Morgan [Tue, 25 Aug 2009 13:39:18 +0000 (09:39 -0400)]
Merge branch 'ncurses-fixes'

Conflicts:
lib/sup/buffer.rb

8 years agoMerge branch 'various-api-refactors'
William Morgan [Tue, 25 Aug 2009 13:38:45 +0000 (09:38 -0400)]
Merge branch 'various-api-refactors'