]> git.notmuchmail.org Git - sup/log
sup
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 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 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 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 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 '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 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 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 'maildir-speedup'
William Morgan [Thu, 14 Feb 2008 21:42:59 +0000 (13:42 -0800)]
Merge branch 'maildir-speedup'

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

17 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

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

17 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

17 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

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

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

17 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

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

17 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

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

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

17 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

17 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

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

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

17 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

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

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

17 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

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

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

17 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

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

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

17 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

17 years agoescape all regexes used for tab completion
William Morgan [Tue, 22 Jan 2008 07:29:46 +0000 (23:29 -0800)]
escape all regexes used for tab completion

Tab completion uses many regexes, all built from user data. These need to
be escaped, or special characters will throw an exception.

17 years agomodulo the file size in a maildir, so it's <= 7 digits.
Jeff Balogh [Fri, 18 Jan 2008 08:58:33 +0000 (03:58 -0500)]
modulo the file size in a maildir, so it's <= 7 digits.

The size needs to be <= 7 digits to preserve sup's increasing id
requirement.  Otherwise, large messages (probably w/ attachments) have
an id that is a magnitude larger than small messages.

17 years agoMerge branch 'quoteline' into next
William Morgan [Tue, 22 Jan 2008 02:45:58 +0000 (18:45 -0800)]
Merge branch 'quoteline' into next

17 years agorenamed "quoteline" hook to "attribution"
Grant Hollingworth [Thu, 17 Jan 2008 17:49:21 +0000 (12:49 -0500)]
renamed "quoteline" hook to "attribution"

17 years agocase-insensitive content-type detection
William Morgan [Sat, 19 Jan 2008 17:25:20 +0000 (09:25 -0800)]
case-insensitive content-type detection

Apparently some mailers uppercase their shit. E.g.:
Content-type: text/plain; Format=Flowed; Charset=iso-8859-1

17 years agoMerge branch 'quote-detection' into next
William Morgan [Thu, 17 Jan 2008 01:19:00 +0000 (17:19 -0800)]
Merge branch 'quote-detection' into next

17 years agomore quote detection tweaking
William Morgan [Thu, 17 Jan 2008 01:18:54 +0000 (17:18 -0800)]
more quote detection tweaking

17 years agomake '#' in thread-index-mode join all tagged threads into one thread
William Morgan [Thu, 17 Jan 2008 00:50:51 +0000 (16:50 -0800)]
make '#' in thread-index-mode join all tagged threads into one thread

No way to reverse this, yet.

17 years agoTagger#apply_to_tagged can take an arbitrary action
William Morgan [Thu, 17 Jan 2008 00:47:35 +0000 (16:47 -0800)]
Tagger#apply_to_tagged can take an arbitrary action

With this change, applying operations to tagged objects can be
short-circuited by passing the desired action directly to #apply_to_tagged,
rather than requiring it to interactive prompt the user for a command.

This class could probably use a little restructuring to divorce it from
Mode.

17 years agoadd the ability to joining threads forcefully to ThreadSet
William Morgan [Thu, 17 Jan 2008 00:44:43 +0000 (16:44 -0800)]
add the ability to joining threads forcefully to ThreadSet

ThreadSet#join_threads now takes any number of threads (which must be part
of the threadset) heuristically either picks one message to be the root
(if all messages but one have a "Re:" on the subject line), or creates
a fake root. It updates the message object and marks it dirty so that a
subsequent save will preserve the new structure.

17 years ago(minor) bugfix for Container#is_reply?
William Morgan [Thu, 17 Jan 2008 00:25:45 +0000 (16:25 -0800)]
(minor) bugfix for Container#is_reply?

I guess this method hasn't been used for a while...

17 years agograb non-terminal blank lines as part of quotes
William Morgan [Wed, 16 Jan 2008 22:20:08 +0000 (14:20 -0800)]
grab non-terminal blank lines as part of quotes

This helps with those irritating mailers that do something like this:
Bob said:
<blank line, for no reason>
> quoted text
> quoted text

17 years agoloosen up quote header matching
William Morgan [Wed, 16 Jan 2008 22:07:09 +0000 (14:07 -0800)]
loosen up quote header matching

Don't try and parse all possible quote headers, just assume that they're
at least one word character followed by some quoted lines of text.