]> git.cworth.org Git - sup/log
sup
17 years agoMerge branch 'master' into next
William Morgan [Wed, 27 Feb 2008 17:52:00 +0000 (09:52 -0800)]
Merge branch 'master' into next

17 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

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

17 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

17 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

17 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.

17 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

17 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.

17 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

17 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.

17 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.

17 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

17 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

17 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

17 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.)

17 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.

17 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,

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

17 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

17 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

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

17 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)

17 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

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

17 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)

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

17 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

17 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

17 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

17 years agoMerge branch 'startup-hook' into next
William Morgan [Wed, 20 Feb 2008 02:50:58 +0000 (18:50 -0800)]
Merge branch 'startup-hook' into next

17 years agoadd a startup hook
Nicolas Pouillard [Tue, 19 Feb 2008 10:17:59 +0000 (11:17 +0100)]
add a startup hook

17 years agoMerge branch 'master' into next
William Morgan [Tue, 19 Feb 2008 17:32:44 +0000 (09:32 -0800)]
Merge branch 'master' into next

17 years agobugfix in mime viewing success/failure logic
William Morgan [Tue, 19 Feb 2008 17:32:15 +0000 (09:32 -0800)]
bugfix in mime viewing success/failure logic

17 years agoMerge branch 'master' of git+ssh://wmorgan@repo.or.cz/srv/git/sup
William Morgan [Tue, 19 Feb 2008 17:18:22 +0000 (09:18 -0800)]
Merge branch 'master' of git+ssh://wmorgan@repo.or.cz/srv/git/sup

17 years agoMerge branch 'parse-tweaks' into next
William Morgan [Mon, 18 Feb 2008 14:01:11 +0000 (06:01 -0800)]
Merge branch 'parse-tweaks' into next

17 years agoremove requirement that space follows the colon in header parsing
William Morgan [Mon, 18 Feb 2008 14:00:47 +0000 (06:00 -0800)]
remove requirement that space follows the colon in header parsing

17 years agoMerge branch 'draft-colors' into next
William Morgan [Sat, 16 Feb 2008 19:19:56 +0000 (11:19 -0800)]
Merge branch 'draft-colors' into next

17 years agoShow drafts in red, in thread-index-mode.
Nicolas Pouillard [Sat, 9 Feb 2008 12:05:29 +0000 (13:05 +0100)]
Show drafts in red, in thread-index-mode.

This patch would help to think about finishing drafts.

17 years agoMerge branch 'cancel-search'
William Morgan [Sat, 16 Feb 2008 14:08:36 +0000 (06:08 -0800)]
Merge branch 'cancel-search'

17 years agoMerge branches 'tag-nouns', 'initial-view-fix', 'id-reordering', 'file-attachment...
William Morgan [Sat, 16 Feb 2008 14:04:52 +0000 (06:04 -0800)]
Merge branches 'tag-nouns', 'initial-view-fix', 'id-reordering', 'file-attachment-fix', 'ask-getch-fix' and 'startup-compose'

17 years agoMerge branch 'load-all-threads'
William Morgan [Sat, 16 Feb 2008 14:01:24 +0000 (06:01 -0800)]
Merge branch 'load-all-threads'

17 years agoMerge branch 'master' into next
William Morgan [Sat, 16 Feb 2008 13:56:13 +0000 (05:56 -0800)]
Merge branch 'master' into next

17 years agohandle keycode 127 like KEY_BACKSPACE
Nicolas Pouillard [Tue, 12 Feb 2008 09:46:09 +0000 (10:46 +0100)]
handle keycode 127 like KEY_BACKSPACE

17 years agoMerge branch 'maildir-speedup-redo' into next
William Morgan [Sat, 16 Feb 2008 13:55:19 +0000 (05:55 -0800)]
Merge branch 'maildir-speedup-redo' into next

17 years agomaildir speedup: don't scan directory except when polling
William Morgan [Thu, 7 Feb 2008 18:36:47 +0000 (10:36 -0800)]
maildir speedup: don't scan directory except when polling

17 years agoMerge branch 'master' into next
William Morgan [Sat, 16 Feb 2008 13:19:27 +0000 (05:19 -0800)]
Merge branch 'master' into next

17 years agohandle keycode 127 like KEY_BACKSPACE
Nicolas Pouillard [Tue, 12 Feb 2008 09:46:09 +0000 (10:46 +0100)]
handle keycode 127 like KEY_BACKSPACE

17 years agoMerge branch 'maildir-speedup'
William Morgan [Thu, 14 Feb 2008 21:42:59 +0000 (13:42 -0800)]
Merge branch 'maildir-speedup'

17 years agoMerge branch 'master' into next
William Morgan [Thu, 14 Feb 2008 21:35:40 +0000 (13:35 -0800)]
Merge branch 'master' into next

17 years agosomehow search-results-mode.rb acquired an executable bit. remove.
William Morgan [Thu, 14 Feb 2008 21:35:12 +0000 (13:35 -0800)]
somehow search-results-mode.rb acquired an executable bit. remove.

17 years agoMerge branch 'startup-compose' into next
William Morgan [Thu, 7 Feb 2008 22:12:39 +0000 (14:12 -0800)]
Merge branch 'startup-compose' into next

17 years agoadd --commit option to spawn a compose-mode upon startup
William Morgan [Thu, 7 Feb 2008 22:12:11 +0000 (14:12 -0800)]
add --commit option to spawn a compose-mode upon startup

17 years agosquash me
William Morgan [Thu, 7 Feb 2008 19:13:09 +0000 (11:13 -0800)]
squash me

17 years agoclean up command-line argument help text
William Morgan [Thu, 7 Feb 2008 19:09:45 +0000 (11:09 -0800)]
clean up command-line argument help text

17 years agomaildir speedup: don't scan directory except when polling
William Morgan [Thu, 7 Feb 2008 18:36:47 +0000 (10:36 -0800)]
maildir speedup: don't scan directory except when polling

17 years agoMerge branch 'master' into next
William Morgan [Thu, 7 Feb 2008 17:53:27 +0000 (09:53 -0800)]
Merge branch 'master' into next

17 years agominor Message improvements: add #remove_ref, and make save return true
William Morgan [Thu, 7 Feb 2008 17:52:46 +0000 (09:52 -0800)]
minor Message improvements: add #remove_ref, and make save return true

17 years agoMerge branch 'rake-gem-REL' into next
William Morgan [Tue, 5 Feb 2008 17:49:14 +0000 (09:49 -0800)]
Merge branch 'rake-gem-REL' into next

17 years agoallow user to make a gem with a specific version number
Giorgio Lando [Tue, 5 Feb 2008 17:31:14 +0000 (18:31 +0100)]
allow user to make a gem with a specific version number

If one want to make a gem from a git version of sup, he can also
want to define a version number (e.g. in the form <previous public
release>.1, so that when a new version is released the gem will be
updated nonetheless). With this patch the version can be defined with
the REL environment variable (as in ferret Rakefile)

17 years agoMerge branch 'dispatch-and-prev-redo' into next
William Morgan [Tue, 5 Feb 2008 17:45:48 +0000 (09:45 -0800)]
Merge branch 'dispatch-and-prev-redo' into next

17 years agoadd ] as a dispatch-and-previous prefix in thread-view-mode
William Morgan [Tue, 5 Feb 2008 17:21:03 +0000 (09:21 -0800)]
add ] as a dispatch-and-previous prefix in thread-view-mode

17 years agoadd ] as a dispatch-and-previous prefix in thread-view-mode
William Morgan [Tue, 5 Feb 2008 17:21:03 +0000 (09:21 -0800)]
add ] as a dispatch-and-previous prefix in thread-view-mode

17 years agoMerge branch 'master' into next
William Morgan [Tue, 5 Feb 2008 16:35:07 +0000 (08:35 -0800)]
Merge branch 'master' into next

17 years agobugfix: save sources.yaml on successfull sup-sync run
William Morgan [Tue, 5 Feb 2008 16:33:39 +0000 (08:33 -0800)]
bugfix: save sources.yaml on successfull sup-sync run

The previous fix actulaly broke things, because sup-sync would never update
sources.yaml.

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

17 years agoapply before-edit hook to all possible headers in reply-mode
William Morgan [Mon, 4 Feb 2008 17:31:24 +0000 (09:31 -0800)]
apply before-edit hook to all possible headers in reply-mode

17 years agoMerge branch 'refine-search' into next
William Morgan [Sun, 3 Feb 2008 05:07:05 +0000 (21:07 -0800)]
Merge branch 'refine-search' into next

17 years agotweak Refine Search keybinding
Christopher Warrington [Sun, 3 Feb 2008 03:49:19 +0000 (21:49 -0600)]
tweak Refine Search keybinding

Refine Search is now bound to |. On most standard 104-key keyboards,
this appears to be shifted \, which fits in nicely since \ is global
search now.

17 years agofix crash when refining search
Christopher Warrington [Sun, 3 Feb 2008 03:49:04 +0000 (21:49 -0600)]
fix crash when refining search

Refine Search no longer crashes.

17 years agoMerge branch 'master' into next
William Morgan [Sun, 3 Feb 2008 04:53:50 +0000 (20:53 -0800)]
Merge branch 'master' into next

17 years agosepuku -> seppuku
ian [Thu, 31 Jan 2008 17:48:30 +0000 (12:48 -0500)]
sepuku -> seppuku

17 years agoMerge branch 'master' into next
William Morgan [Sun, 3 Feb 2008 04:51:33 +0000 (20:51 -0800)]
Merge branch 'master' into next

17 years agoupdate index display on label editing. not sure how this got lost...
William Morgan [Sun, 3 Feb 2008 04:50:45 +0000 (20:50 -0800)]
update index display on label editing. not sure how this got lost...

17 years agoMerge branches 'dispatch-next-fix', 'handle-deletion-fix' and 'handle-spam-fix' into...
William Morgan [Sun, 3 Feb 2008 04:19:25 +0000 (20:19 -0800)]
Merge branches 'dispatch-next-fix', 'handle-deletion-fix' and 'handle-spam-fix' into next

17 years agoThreadIndexMode: handle spam updates
William Morgan [Sun, 3 Feb 2008 04:18:48 +0000 (20:18 -0800)]
ThreadIndexMode: handle spam updates

17 years agoThreadIndexMode: handle deleted updates correctly
William Morgan [Sun, 3 Feb 2008 04:16:19 +0000 (20:16 -0800)]
ThreadIndexMode: handle deleted updates correctly

17 years agodon't automatically save with dispatch-and-kill
William Morgan [Sun, 3 Feb 2008 04:14:46 +0000 (20:14 -0800)]
don't automatically save with dispatch-and-kill

17 years agomake dispatch-and-next still dispatch for the final thread in the list
William Morgan [Sun, 3 Feb 2008 04:01:57 +0000 (20:01 -0800)]
make dispatch-and-next still dispatch for the final thread in the list

17 years agoMerge branch 'ask-getch-fix' into next
William Morgan [Sun, 3 Feb 2008 01:49:12 +0000 (17:49 -0800)]
Merge branch 'ask-getch-fix' into next

17 years agobugfix: BufferManager#ask_getch not clearing the flash message
William Morgan [Sun, 3 Feb 2008 01:48:37 +0000 (17:48 -0800)]
bugfix: BufferManager#ask_getch not clearing the flash message

17 years agoMerge branch 'file-attachment-fix' into next
William Morgan [Sun, 3 Feb 2008 01:33:57 +0000 (17:33 -0800)]
Merge branch 'file-attachment-fix' into next

17 years agodon't write my own version of File.expand_path
William Morgan [Sun, 3 Feb 2008 01:33:16 +0000 (17:33 -0800)]
don't write my own version of File.expand_path

17 years agoMerge branch 'file-attachment-fix' into next
William Morgan [Sun, 3 Feb 2008 01:28:03 +0000 (17:28 -0800)]
Merge branch 'file-attachment-fix' into next

17 years agohandle ~-expansion in BufferManager#ask_for_file final answers
William Morgan [Sun, 3 Feb 2008 01:27:23 +0000 (17:27 -0800)]
handle ~-expansion in BufferManager#ask_for_file final answers

17 years agoprotect EditMessageMode#attach_file from file errors
William Morgan [Sun, 3 Feb 2008 01:14:02 +0000 (17:14 -0800)]
protect EditMessageMode#attach_file from file errors

17 years agoMerge branch 'cancel-search' into next
William Morgan [Sun, 3 Feb 2008 01:02:30 +0000 (17:02 -0800)]
Merge branch 'cancel-search' into next

17 years agoremove additional message about using ^G to cancel
William Morgan [Sun, 3 Feb 2008 01:01:17 +0000 (17:01 -0800)]
remove additional message about using ^G to cancel

17 years agoMerge branch 'next' into id-reordering
William Morgan [Sun, 3 Feb 2008 00:55:25 +0000 (16:55 -0800)]
Merge branch 'next' into id-reordering

17 years agoreturn sources in id-order, with non-archived sources first
Grant Hollingworth [Fri, 18 Jan 2008 17:06:49 +0000 (12:06 -0500)]
return sources in id-order, with non-archived sources first

To speed up the user's view of polling, deal with sources that affect
the inbox before (for example) large mailing lists. It seemed tidier to
implement this in Index rather than PollManager.

I changed "@sources.values" to "sources" in some other methods for
clarity, which I think in this case outweighs lost efficiency.

17 years agoMerge branch 'initial-view-fix' into next
William Morgan [Sun, 3 Feb 2008 00:42:48 +0000 (16:42 -0800)]
Merge branch 'initial-view-fix' into next

17 years agomove column jump size back to 2
William Morgan [Sun, 3 Feb 2008 00:41:44 +0000 (16:41 -0800)]
move column jump size back to 2

17 years agofix ThreadViewMode#jump_to_next_open to deal with left alignment correctly
William Morgan [Sun, 3 Feb 2008 00:04:53 +0000 (16:04 -0800)]
fix ThreadViewMode#jump_to_next_open to deal with left alignment correctly

17 years agoMerge branches 'run-mailcap', 'stop-saving', 'from-additions', 'rfc2047-name-fix...
William Morgan [Sat, 2 Feb 2008 23:14:45 +0000 (15:14 -0800)]
Merge branches 'run-mailcap', 'stop-saving', 'from-additions', 'rfc2047-name-fix' and 'update-fix'

17 years agoMerge branch 'tag-nouns' into next
William Morgan [Thu, 31 Jan 2008 06:19:04 +0000 (22:19 -0800)]
Merge branch 'tag-nouns' into next

17 years agouse "contact" instead of "thread" as the tagged noun in contact-list-mode
William Morgan [Thu, 31 Jan 2008 06:18:28 +0000 (22:18 -0800)]
use "contact" instead of "thread" as the tagged noun in contact-list-mode

17 years agoallow specifying a noun for tagged items, instead of always using "thread"
William Morgan [Thu, 31 Jan 2008 06:16:54 +0000 (22:16 -0800)]
allow specifying a noun for tagged items, instead of always using "thread"

The "Apply to ..." prompt is generated by the tagger. Sometimes you're not
tagging threads, though, you're tagging something else. (E.g. in
contact-list-mode.)

17 years agoMerge branch 'master' into next
William Morgan [Mon, 28 Jan 2008 20:21:52 +0000 (12:21 -0800)]
Merge branch 'master' into next

17 years agodon't crash when people.txt is corrupted
William Morgan [Mon, 28 Jan 2008 20:15:38 +0000 (12:15 -0800)]
don't crash when people.txt is corrupted

This was a debug check, but if Sup crashes when writing out people.txt,
this will prevent it from ever starting again!

17 years agoMerge branch 'rfc2047-name-fix' into next
William Morgan [Fri, 25 Jan 2008 05:40:51 +0000 (21:40 -0800)]
Merge branch 'rfc2047-name-fix' into next

17 years agobugfix: rfc2047-encoded names shouldn't be saved (was email, should be name)
William Morgan [Fri, 25 Jan 2008 05:39:20 +0000 (21:39 -0800)]
bugfix: rfc2047-encoded names shouldn't be saved (was email, should be name)