]> git.cworth.org Git - sup/log
sup
16 years agoMerge commit 'origin/find-in-buffer-fix'
William Morgan [Sun, 25 May 2008 04:19:37 +0000 (21:19 -0700)]
Merge commit 'origin/find-in-buffer-fix'

16 years agoMerge commit 'origin/header-parsing-fix'
William Morgan [Sun, 25 May 2008 04:19:01 +0000 (21:19 -0700)]
Merge commit 'origin/header-parsing-fix'

16 years agoMerge commit 'origin/read-and-archive'
William Morgan [Sun, 25 May 2008 04:14:12 +0000 (21:14 -0700)]
Merge commit 'origin/read-and-archive'

16 years agoMerge commit 'origin/more-vi-keys'
William Morgan [Sun, 25 May 2008 04:12:46 +0000 (21:12 -0700)]
Merge commit 'origin/more-vi-keys'

16 years agomake 'm' (compose) in thread-view-mode prompt for a to: address with a default
William Morgan [Sun, 25 May 2008 03:46:41 +0000 (20:46 -0700)]
make 'm' (compose) in thread-view-mode prompt for a to: address with a default

16 years agoa few trivial cleanups
William Morgan [Sun, 25 May 2008 03:43:55 +0000 (20:43 -0700)]
a few trivial cleanups

16 years agoexact match gpg fix
ian [Wed, 21 May 2008 01:25:18 +0000 (21:25 -0400)]
exact match gpg fix

16 years agoadd ask-before-quitting stuff
Lionel Ott [Sat, 24 May 2008 19:03:26 +0000 (21:03 +0200)]
add ask-before-quitting stuff

old hotkey "q" now asks before quitting and "Q" quits immediately, the way
"q" used to work. ( should take care of
http://sup.rubyforge.org/ditz/issue-8aa7ea95f066fd0668452093b85903bd142905c9.html )

16 years agobugfix: gpg signing failures because when no trailing newlines
William Morgan [Mon, 19 May 2008 21:11:11 +0000 (14:11 -0700)]
bugfix: gpg signing failures because when no trailing newlines

when :edit_signature was false, and a non-empty signature file was used,
message bodies didn't end in a newline. for some reason GPG produces
signature output that assumes a trailing newline, even if you don't
have one.

so, now we force one if it ain't there.

16 years agofix exception when editting an empty MULTI_HEADER
Ben Walton [Fri, 16 May 2008 16:52:11 +0000 (12:52 -0400)]
fix exception when editting an empty MULTI_HEADER

In edit-message-mode, an exception is generated by pressing 'c' to edit the Cc
field when no value currently exists.  This is due to calling Array.join() on
nil.  This patch addresses the execption by forcing an empty array when the
current value is nil.

16 years agobugfix in in-buffer search: subclass search_goto_line not being called
William Morgan [Thu, 1 May 2008 22:25:48 +0000 (15:25 -0700)]
bugfix in in-buffer search: subclass search_goto_line not being called

16 years agoparenthesized argument to quell warning
Grant Hollingworth [Mon, 28 Apr 2008 15:26:16 +0000 (11:26 -0400)]
parenthesized argument to quell warning

16 years agoremove TODO from manifest
William Morgan [Thu, 1 May 2008 21:50:32 +0000 (14:50 -0700)]
remove TODO from manifest

16 years agoadd tab-completion to multi add labels (;l)
Marc Hartstein [Fri, 4 Apr 2008 19:51:47 +0000 (15:51 -0400)]
add tab-completion to multi add labels (;l)

16 years agoreload label list on focus
Grant Hollingworth [Tue, 1 Apr 2008 21:49:36 +0000 (17:49 -0400)]
reload label list on focus

This ensures the unread count for each label is correct.

I often read my list mail from the label list. When I close the thread index
and go back to the label list the unread message count is wrong. This bugs me.

I'm sure a less brutal way of doing this is possible with the UpdateManager
but that seems complicated and therefore prone to errors.

16 years agoadd 'A' (archive and mark read) command to inbox-mode
Marc Hartstein [Thu, 17 Apr 2008 20:43:29 +0000 (16:43 -0400)]
add 'A' (archive and mark read) command to inbox-mode

For some email, the only meaningful content is in the subject line.  It is thus
useful to be able to dispatch this email with a single command after glancing
at it.

As 'N' moves the cursor, and 'a' doesn't clear the "unread" flag, it is
currently necessary to press "Nka" to do this on a single thread.

The 'A' command does this simple task with a single, easy-to-remember,
keystroke, but makes it harder to hit accidentally than 'a'.  A multi_ mode is
supplied.

16 years agofix alignment when printing help screen if \C-x is bound.
Marc Hartstein [Thu, 24 Apr 2008 00:43:13 +0000 (20:43 -0400)]
fix alignment when printing help screen if \C-x is bound.

Width calculations were getting off by one, causing truncated definitions.

16 years agovi-style scroll keys
Marc Hartstein [Thu, 24 Apr 2008 00:43:12 +0000 (20:43 -0400)]
vi-style scroll keys

Adds ^f/^b ^d/^u ^e/^y keybindings to scroll-mode.

16 years agobugfix: empty headers are ignored
William Morgan [Sat, 26 Apr 2008 21:37:46 +0000 (14:37 -0700)]
bugfix: empty headers are ignored

16 years agoadd unit tests for mbox parsing that currently fail OMG TEST-DRIVEN DEVELOPMENT
William Morgan [Sat, 26 Apr 2008 21:25:27 +0000 (14:25 -0700)]
add unit tests for mbox parsing that currently fail OMG TEST-DRIVEN DEVELOPMENT

16 years agoi suck. move BIN_VERSION and LIB_VERSION back to "git"
William Morgan [Fri, 25 Apr 2008 16:36:42 +0000 (09:36 -0700)]
i suck. move BIN_VERSION and LIB_VERSION back to "git"

16 years agohandle nil header values in crypto recipient key selection
Nicolas Pouillard [Fri, 4 Apr 2008 16:01:45 +0000 (18:01 +0200)]
handle nil header values in crypto recipient key selection

16 years agoadd CONTRIBUTORS and update manifest and webpage
William Morgan [Wed, 23 Apr 2008 18:35:30 +0000 (11:35 -0700)]
add CONTRIBUTORS and update manifest and webpage

16 years agotweak release-script to generate CONTRIBUTORS
William Morgan [Wed, 23 Apr 2008 18:33:41 +0000 (11:33 -0700)]
tweak release-script to generate CONTRIBUTORS

16 years agoremove deprecated TODO
William Morgan [Wed, 23 Apr 2008 18:29:59 +0000 (11:29 -0700)]
remove deprecated TODO

16 years agobugfix: exception when forwarded attachment is not a known mime type
William Morgan [Wed, 23 Apr 2008 01:29:39 +0000 (18:29 -0700)]
bugfix: exception when forwarded attachment is not a known mime type

16 years agowrite sup-{exception-log, unable-to-decode}.txt in ~/.sup
Nicolas Pouillard [Thu, 3 Apr 2008 14:16:19 +0000 (16:16 +0200)]
write sup-{exception-log, unable-to-decode}.txt in ~/.sup

More precisely new destinations are:
  - ~/.sup/exception-log.txt
  - ~/.sup/unable-to-decode.txt
This patch avoid some kind of pollution.

16 years agouse read instead of readlines.join
Nicolas Pouillard [Fri, 4 Apr 2008 16:00:56 +0000 (18:00 +0200)]
use read instead of readlines.join

16 years agoremove link to releasenotes because it's too hard to maintain
William Morgan [Tue, 22 Apr 2008 16:57:12 +0000 (09:57 -0700)]
remove link to releasenotes because it's too hard to maintain

16 years agouse rsync instead of ssh for webpage transfers, etc
William Morgan [Tue, 22 Apr 2008 16:55:47 +0000 (09:55 -0700)]
use rsync instead of ssh for webpage transfers, etc

16 years agoadd link to ditz page
William Morgan [Tue, 22 Apr 2008 16:54:59 +0000 (09:54 -0700)]
add link to ditz page

16 years agocorrect release script
William Morgan [Tue, 22 Apr 2008 16:52:47 +0000 (09:52 -0700)]
correct release script

16 years agobump version to 0.5
William Morgan [Tue, 22 Apr 2008 16:35:41 +0000 (09:35 -0700)]
bump version to 0.5

16 years agoupdate History.txt for 0.5
William Morgan [Tue, 22 Apr 2008 16:33:21 +0000 (09:33 -0700)]
update History.txt for 0.5

16 years agobump version number in webpage
William Morgan [Tue, 22 Apr 2008 16:32:58 +0000 (09:32 -0700)]
bump version number in webpage

16 years agoadd ReleaseNotes
William Morgan [Tue, 22 Apr 2008 16:27:38 +0000 (09:27 -0700)]
add ReleaseNotes

16 years agoadd release script
William Morgan [Tue, 22 Apr 2008 15:55:21 +0000 (08:55 -0700)]
add release script

16 years agorejigger webpage quotes
William Morgan [Tue, 22 Apr 2008 16:32:00 +0000 (09:32 -0700)]
rejigger webpage quotes

16 years agoadd upload_report task to Rakefile
William Morgan [Tue, 22 Apr 2008 15:55:36 +0000 (08:55 -0700)]
add upload_report task to Rakefile

16 years agoMerge branches 'completions-hook', 'find-horizontally', 'startup-hook' and 'message...
William Morgan [Sun, 20 Apr 2008 22:07:52 +0000 (15:07 -0700)]
Merge branches 'completions-hook', 'find-horizontally', 'startup-hook' and 'message-id-normalization'

16 years agobugfix: save_yaml_object not using File.stat correctly
William Morgan [Tue, 15 Apr 2008 16:14:39 +0000 (09:14 -0700)]
bugfix: save_yaml_object not using File.stat correctly

16 years agoadd extra-contact-addresses hook
William Morgan [Sun, 6 Apr 2008 00:02:35 +0000 (17:02 -0700)]
add extra-contact-addresses hook

16 years agoadd .ditz-config to .gitignore
William Morgan [Fri, 4 Apr 2008 17:41:06 +0000 (10:41 -0700)]
add .ditz-config to .gitignore

16 years agoMerge branch 'master' into next
William Morgan [Tue, 1 Apr 2008 15:02:05 +0000 (08:02 -0700)]
Merge branch 'master' into next

16 years agounmunge Marcus's icon & window title patch (sorry!)
William Morgan [Tue, 1 Apr 2008 15:01:35 +0000 (08:01 -0700)]
unmunge Marcus's icon & window title patch (sorry!)

16 years agoMerge branch 'master' into next
William Morgan [Wed, 26 Mar 2008 16:38:41 +0000 (09:38 -0700)]
Merge branch 'master' into next

16 years agohandle carriage returns in mbox files
William Morgan [Wed, 26 Mar 2008 16:38:34 +0000 (09:38 -0700)]
handle carriage returns in mbox files

16 years agoMerge branch 'master' into next
William Morgan [Wed, 26 Mar 2008 16:13:42 +0000 (09:13 -0700)]
Merge branch 'master' into next

16 years agosort contacts when saving contacts.txt
Nicolas Pouillard [Mon, 10 Mar 2008 08:11:17 +0000 (09:11 +0100)]
sort contacts when saving contacts.txt

This makes sup behave more nicely when contacts.txt is under version
control.

16 years agoset icon title as well as window title when running under X
William Morgan [Wed, 26 Mar 2008 16:10:17 +0000 (09:10 -0700)]
set icon title as well as window title when running under X

Based on a patch by Marcus Williams.

16 years agoupdated text and keybinding in label-search-results-mode
Christopher Warrington [Mon, 3 Mar 2008 08:01:20 +0000 (02:01 -0600)]
updated text and keybinding in label-search-results-mode

The text in label-search-results-mode now matches that of search-results-mode.

16 years agoMerge branch 'master' into next
William Morgan [Wed, 26 Mar 2008 16:03:45 +0000 (09:03 -0700)]
Merge branch 'master' into next

16 years agofixed off-by-one error in imap.rb and maildir.rb
Christopher Warrington [Mon, 3 Mar 2008 08:00:33 +0000 (02:00 -0600)]
fixed off-by-one error in imap.rb and maildir.rb

The end_offset reported by imap and maildir sources was incorrect if there was
only one message in the source. Since end_offset is exclusive, we must add one to
the last known id to get include all valid message ids in the range.

16 years agoMerge branch 'thread-by-subj-fix' into next
William Morgan [Mon, 17 Mar 2008 16:34:52 +0000 (09:34 -0700)]
Merge branch 'thread-by-subj-fix' into next

Conflicts:

lib/sup/index.rb

16 years agoweird ferret workaround: stringify thread-by-subject queries
William Morgan [Mon, 17 Mar 2008 16:27:46 +0000 (09:27 -0700)]
weird ferret workaround: stringify thread-by-subject queries

16 years agoindexing bugfix: normalize subjects before indexing
William Morgan [Mon, 17 Mar 2008 16:34:44 +0000 (09:34 -0700)]
indexing bugfix: normalize subjects before indexing

16 years agothreading bugfix when threading by subject
William Morgan [Mon, 17 Mar 2008 16:26:28 +0000 (09:26 -0700)]
threading bugfix when threading by subject

16 years agoMerge branch 'master' into next
William Morgan [Sun, 9 Mar 2008 17:44:01 +0000 (10:44 -0700)]
Merge branch 'master' into next

16 years agoprotect user name guessing logic from nil values
William Morgan [Sun, 9 Mar 2008 17:43:25 +0000 (10:43 -0700)]
protect user name guessing logic from nil values

16 years agoMerge branch 'sent-poll-fix'
William Morgan [Sat, 8 Mar 2008 21:56:47 +0000 (13:56 -0800)]
Merge branch 'sent-poll-fix'

16 years agoMerge branch 'speedy-index' into next
William Morgan [Fri, 29 Feb 2008 03:11:09 +0000 (19:11 -0800)]
Merge branch 'speedy-index' into next

Conflicts:

lib/sup/poll.rb

16 years agobugfix: make sup-sync work again under new index-writing scheme
William Morgan [Fri, 29 Feb 2008 02:55:19 +0000 (18:55 -0800)]
bugfix: make sup-sync work again under new index-writing scheme

Index#sync_message and PollManager#add_messages_from now take an
:force_overwrite option, which is used by sup-sync to override the
new conservative "document copy" semantics of index updates so that
index updates actually happen.

16 years agoremove minor redundancies
William Morgan [Fri, 29 Feb 2008 02:51:58 +0000 (18:51 -0800)]
remove minor redundancies

16 years agoremove logging messages
William Morgan [Fri, 29 Feb 2008 02:30:33 +0000 (18:30 -0800)]
remove logging messages

16 years agoMerge branch 'speedy-index' into next
William Morgan [Fri, 29 Feb 2008 01:21:52 +0000 (17:21 -0800)]
Merge branch 'speedy-index' into next

16 years agomessages in sources with lower ids override those in sources with higher
William Morgan [Fri, 29 Feb 2008 00:52:38 +0000 (16:52 -0800)]
messages in sources with lower ids override those in sources with higher

16 years agobugfix: index source_id and source_info are strings; cast to integers
William Morgan [Fri, 29 Feb 2008 00:50:17 +0000 (16:50 -0800)]
bugfix: index source_id and source_info are strings; cast to integers

16 years agoMerge branch 'speedy-index' into next
William Morgan [Thu, 28 Feb 2008 18:24:22 +0000 (10:24 -0800)]
Merge branch 'speedy-index' into next

16 years agohandle message "updates" by merging labels and overwriting other fields
William Morgan [Thu, 28 Feb 2008 18:21:19 +0000 (10:21 -0800)]
handle message "updates" by merging labels and overwriting other fields

Later versions of the same message typically happen because the original
was sent to a mailing list. This change merges in labels from later messages
and allows them to overwrite the other message fields (which was the
original behavior which this branch has broken).

This means that messages sent to mailing lists and then received back from
them preserve subject line rewriting and any auto-label application.

16 years agoMerge branch 'master' into next
William Morgan [Thu, 28 Feb 2008 17:21:07 +0000 (09:21 -0800)]
Merge branch 'master' into next

16 years agoworkaround for rubymail quoting bug in pgp MIME statement
William Morgan [Wed, 27 Feb 2008 17:49:29 +0000 (09:49 -0800)]
workaround for rubymail quoting bug in pgp MIME statement

16 years agoMerge branch 'master' into next
William Morgan [Wed, 27 Feb 2008 17:52:00 +0000 (09:52 -0800)]
Merge branch 'master' into next

16 years agoreadme update: Matt Armstrong's name was wrong
William Morgan [Wed, 27 Feb 2008 17:51:53 +0000 (09:51 -0800)]
readme update: Matt Armstrong's name was wrong

16 years agoMerge branch 'master' into next
William Morgan [Mon, 25 Feb 2008 17:16:37 +0000 (09:16 -0800)]
Merge branch 'master' into next

16 years agoimprove sup-sync-back "nothing to do" error message
William Morgan [Mon, 25 Feb 2008 17:16:18 +0000 (09:16 -0800)]
improve sup-sync-back "nothing to do" error message

16 years agoMerge branch 'remove-normalization' into next
William Morgan [Mon, 25 Feb 2008 17:06:25 +0000 (09:06 -0800)]
Merge branch 'remove-normalization' into next

16 years agoremove query normalization, which was both useless and broken
William Morgan [Mon, 25 Feb 2008 17:04:07 +0000 (09:04 -0800)]
remove query normalization, which was both useless and broken

OR queries were being translated incorrectly, date modifiers were being
mangled, and none of the text substitution stuff really depended on it.

16 years agoMerge branch 'sent-poll-fix' into next
William Morgan [Mon, 25 Feb 2008 05:19:37 +0000 (21:19 -0800)]
Merge branch 'sent-poll-fix' into next

16 years agosent messages: explicitly remove :unread label
William Morgan [Mon, 25 Feb 2008 05:18:51 +0000 (21:18 -0800)]
sent messages: explicitly remove :unread label

A previous change had the effect of marking all sent messages as unread.
This reverts that behavior.

16 years agoMerge branch 'message-id-normalization' into next
William Morgan [Mon, 25 Feb 2008 04:59:03 +0000 (20:59 -0800)]
Merge branch 'message-id-normalization' into next

16 years agoonly use the first 255 characters of a message id (ferret bug workaround)
William Morgan [Mon, 25 Feb 2008 04:53:23 +0000 (20:53 -0800)]
only use the first 255 characters of a message id (ferret bug workaround)

Apparently, constructing a TermQuery object with a field value of more than
255 characters never successfully matches.

This is not a good long-term solution. A good one would be to take the SHA1
of every message id instead. That will require an index rebuild, so I will
save that patch until later.

16 years agodon't tokenize message_id field in index
William Morgan [Mon, 25 Feb 2008 04:52:11 +0000 (20:52 -0800)]
don't tokenize message_id field in index

This apparently removes a whole class of Ferret parsing errors when
looking up messages by message-id.

16 years agoMerge branch 'sent-poll-fix' into next
William Morgan [Sun, 24 Feb 2008 22:56:47 +0000 (14:56 -0800)]
Merge branch 'sent-poll-fix' into next

16 years agowhoops, add labels accessor to MBox::Loader
William Morgan [Sun, 24 Feb 2008 22:51:08 +0000 (14:51 -0800)]
whoops, add labels accessor to MBox::Loader

16 years agoMerge branch 'sent-poll-fix' into next
William Morgan [Sun, 24 Feb 2008 22:34:40 +0000 (14:34 -0800)]
Merge branch 'sent-poll-fix' into next

16 years agoSentManager adds just-sent messages to the index in the standard way
William Morgan [Sun, 24 Feb 2008 22:33:09 +0000 (14:33 -0800)]
SentManager adds just-sent messages to the index in the standard way

I.e., using PollManager#add_message_from_source, rather than doing it by
hand. (Symptom: the before-add-message hook wasn't being called for
sent messages.)

16 years agogiving a block to PollManager#each_message_in_source is now optional
William Morgan [Sun, 24 Feb 2008 22:31:52 +0000 (14:31 -0800)]
giving a block to PollManager#each_message_in_source is now optional

The block is only there to allow tweaks to the message before insertion.
It's perfectly useful to call this method without the block.

16 years agoMBox::Loader#next determines labels with self.labels instead of @labels
William Morgan [Sun, 24 Feb 2008 22:28:53 +0000 (14:28 -0800)]
MBox::Loader#next determines labels with self.labels instead of @labels

This allows subclasses to define fixed #labels methods rather than
having to set a shared instance variable (which is one of the few
features of Ruby I actively hate.) SentLoader does this,

16 years agoMerge branch 'master' into next
William Morgan [Sun, 24 Feb 2008 19:46:02 +0000 (11:46 -0800)]
Merge branch 'master' into next

16 years agominor bugfix: protect call to BufferManager#flash on hook error
William Morgan [Sun, 24 Feb 2008 19:45:06 +0000 (11:45 -0800)]
minor bugfix: protect call to BufferManager#flash on hook error

16 years agoMerge branch 'speedy-index' into next
William Morgan [Thu, 21 Feb 2008 04:59:30 +0000 (20:59 -0800)]
Merge branch 'speedy-index' into next

16 years agoMerge branch 'master' into next
William Morgan [Wed, 20 Feb 2008 23:31:56 +0000 (15:31 -0800)]
Merge branch 'master' into next

16 years agobugfix: ThreadSet claiming non-relevant videos are actually relevant
William Morgan [Wed, 20 Feb 2008 17:37:50 +0000 (09:37 -0800)]
bugfix: ThreadSet claiming non-relevant videos are actually relevant

The call to @messages[mid] was a mistake because @messages is a SavingHash.
This was inserting spurious entries into @messages, which then caused
ThreadSet#relevant? to return true for any non-first messages in a thread (the
first one would be falsely added to @messages)

16 years agoshare Ferret entry information on state updates, when possible
William Morgan [Wed, 20 Feb 2008 22:38:00 +0000 (14:38 -0800)]
share Ferret entry information on state updates, when possible

16 years agominor: remove redundant LOC
William Morgan [Wed, 20 Feb 2008 22:37:54 +0000 (14:37 -0800)]
minor: remove redundant LOC

16 years agostore body text directly in index (in addition to indexing it)
William Morgan [Wed, 20 Feb 2008 17:56:38 +0000 (09:56 -0800)]
store body text directly in index (in addition to indexing it)

16 years agoMerge branch 'master' into next
William Morgan [Wed, 20 Feb 2008 18:05:43 +0000 (10:05 -0800)]
Merge branch 'master' into next

16 years agofor unparseable date headers, forge rather than discarding message entirely
William Morgan [Wed, 20 Feb 2008 18:04:59 +0000 (10:04 -0800)]
for unparseable date headers, forge rather than discarding message entirely

16 years agoMerge branch 'find-horizontally' into next
William Morgan [Wed, 20 Feb 2008 17:24:43 +0000 (09:24 -0800)]
Merge branch 'find-horizontally' into next

16 years agomake in-buffer searches move the buffer horizontally when necessary
William Morgan [Wed, 20 Feb 2008 17:24:04 +0000 (09:24 -0800)]
make in-buffer searches move the buffer horizontally when necessary