]> git.notmuchmail.org Git - sup/log
sup
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 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 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 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 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 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 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 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 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 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 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 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 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

16 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

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

16 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'

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

16 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

16 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

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

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

16 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

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

16 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

16 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

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

16 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

16 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

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

16 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

16 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

16 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

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

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

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

16 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

16 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

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

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

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

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

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

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

16 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

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

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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

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

16 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

16 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

16 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

16 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'

16 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

16 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

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

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

16 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!

16 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

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

16 years agoMerge branch 'load-all-threads' into next
William Morgan [Fri, 25 Jan 2008 05:34:12 +0000 (21:34 -0800)]
Merge branch 'load-all-threads' into next

16 years agoAllow user to show all matching threads
Marcus Williams [Sat, 19 Jan 2008 19:17:03 +0000 (19:17 +0000)]
Allow user to show all matching threads

This adds a double keypress action "!!" to load all threads in the
current search/view. Obviously this can return a lot of threads, but
coupled with the cancel search option it is now easy to stop.

16 years agoMerge branch 'from-additions' into next
William Morgan [Fri, 25 Jan 2008 04:57:53 +0000 (20:57 -0800)]
Merge branch 'from-additions' into next

16 years agoMerge branch 'stop-saving' into next
William Morgan [Fri, 25 Jan 2008 04:44:20 +0000 (20:44 -0800)]
Merge branch 'stop-saving' into next

16 years agosup-sync: don't save the index and sources if an error occurred
William Morgan [Fri, 25 Jan 2008 04:42:37 +0000 (20:42 -0800)]
sup-sync: don't save the index and sources if an error occurred

If the error was caused by a particular message, saving the source file
will move the pointer past the message, so it will never get added.

16 years agoadd Person#indexable_content and call this from Message#indexable_content
William Morgan [Fri, 25 Jan 2008 04:33:41 +0000 (20:33 -0800)]
add Person#indexable_content and call this from Message#indexable_content

Move the responsibility for determining what's indexable from an email
address to the Person class.

16 years agorename Message#content to Message#indexable_content
William Morgan [Fri, 25 Jan 2008 04:17:59 +0000 (20:17 -0800)]
rename Message#content to Message#indexable_content

16 years ago(A)rchive -> (a)rchive in thread-view-mode, because keys are case-sensitive
William Morgan [Fri, 25 Jan 2008 02:55:17 +0000 (18:55 -0800)]
(A)rchive -> (a)rchive in thread-view-mode, because keys are case-sensitive

Note, e.g., "u(N)read" versus "do (n)othing"

16 years agoMerge branch 'update-fix' into next
William Morgan [Fri, 25 Jan 2008 02:51:58 +0000 (18:51 -0800)]
Merge branch 'update-fix' into next

16 years agobugfix: hidden threads don't actually reappear when asked to unhide
William Morgan [Fri, 25 Jan 2008 02:48:44 +0000 (18:48 -0800)]
bugfix: hidden threads don't actually reappear when asked to unhide

In ThreadIndexMode, the logic was a little wrong. @hidden_threads isn't
keyed by Messages but by Threads, and for incoming messages that may
belong to a thread, it's necessary to find the corresponding thread first.

This was resulting in threads that had been archived in inbox-mode not
reappearing when new messages that belonged to them arrived.

16 years agoMerge branch 'master' into next
William Morgan [Fri, 25 Jan 2008 00:23:57 +0000 (16:23 -0800)]
Merge branch 'master' into next

16 years agobugfix: ssh-file path method missing
William Morgan [Fri, 25 Jan 2008 00:23:37 +0000 (16:23 -0800)]
bugfix: ssh-file path method missing

16 years agoMerge branch 'run-mailcap' into next
William Morgan [Thu, 24 Jan 2008 23:45:40 +0000 (15:45 -0800)]
Merge branch 'run-mailcap' into next

16 years agolog run-mailcap call
William Morgan [Thu, 24 Jan 2008 23:10:15 +0000 (15:10 -0800)]
log run-mailcap call

16 years agoproperly escape filenames in call to run-mailcap
William Morgan [Thu, 24 Jan 2008 23:09:28 +0000 (15:09 -0800)]
properly escape filenames in call to run-mailcap

Otherwise, filenames with spaces never work.

16 years agoMerge branch 'cancel-search' into next
William Morgan [Wed, 23 Jan 2008 19:15:04 +0000 (11:15 -0800)]
Merge branch 'cancel-search' into next

16 years agoAdd ability to interrupt current thread operation (search)
Marcus Williams [Sat, 19 Jan 2008 18:59:14 +0000 (18:59 +0000)]
Add ability to interrupt current thread operation (search)

This adds the ability to stop the current threading operation. This is
usually a search, but its anything that ends up calling load_n_threads
in thread-index-view. The user can hit ctrl-g to stop the operation.

16 years agoMerge branch 'master' into next
William Morgan [Wed, 23 Jan 2008 18:10:53 +0000 (10:10 -0800)]
Merge branch 'master' into next

16 years agoupdate webpage for 0.4 release
William Morgan [Wed, 23 Jan 2008 18:06:49 +0000 (10:06 -0800)]
update webpage for 0.4 release

16 years agoupdate history for 0.4
William Morgan [Wed, 23 Jan 2008 17:35:28 +0000 (09:35 -0800)]
update history for 0.4

16 years agoMerge branch 'master' into next
William Morgan [Tue, 22 Jan 2008 20:24:44 +0000 (12:24 -0800)]
Merge branch 'master' into next

16 years ago(minor) remove warnings when run with -w
William Morgan [Tue, 22 Jan 2008 20:24:03 +0000 (12:24 -0800)]
(minor) remove warnings when run with -w

16 years agoMerge branches 'prev-next-improv', 'fix-warnings', 'mime-view', 'charset', 'join...
William Morgan [Tue, 22 Jan 2008 20:21:53 +0000 (12:21 -0800)]
Merge branches 'prev-next-improv', 'fix-warnings', 'mime-view', 'charset', 'join-threads', 'quoteline', 'maildir-fix' and 'regex-fix'

16 years agoMerge branch 'quote-detection'
William Morgan [Tue, 22 Jan 2008 20:21:46 +0000 (12:21 -0800)]
Merge branch 'quote-detection'

16 years agoMerge branch 'bin-lib-versions'
William Morgan [Tue, 22 Jan 2008 20:16:29 +0000 (12:16 -0800)]
Merge branch 'bin-lib-versions'

Conflicts:

lib/sup.rb