]>
git.notmuchmail.org Git - sup/log
William Morgan [Wed, 13 May 2009 20:07:14 +0000 (13:07 -0700)]
bugfix: index label parsing code incorrect
Apparently split(/\s+/) is significantly different from split (which is
equivalent to split(" ")) in at least one case:
>> " a b c ".split(/\s+/)
=> ["", "a", "b", "c"]
>> " a b c ".split
=> ["a", "b", "c"]
This patch refactors the majority of uses of split(/\s+/) to a String#symbolize
method, which is correct.
William Morgan [Wed, 13 May 2009 19:47:50 +0000 (12:47 -0700)]
minor: remove ucfirst (use capitalize instead)
William Morgan [Mon, 4 May 2009 12:37:04 +0000 (05:37 -0700)]
bugfix: poll.rb assuming all messages have froms
This was throwing an exception, so now it's protected. The from is only
necessary for the after-poll hook.
William Morgan [Sun, 26 Apr 2009 14:28:16 +0000 (10:28 -0400)]
make sup-files.rb print out all files when executed
This makes it easy to do something like:
vi `ruby ./sup-files.rb`
to edit all files.
William Morgan [Thu, 23 Apr 2009 12:41:19 +0000 (08:41 -0400)]
improve mime-view and mime-decode hook documentation
William Morgan [Mon, 13 Apr 2009 14:53:35 +0000 (07:53 -0700)]
trivial: display attachment sizes
William Morgan [Thu, 9 Apr 2009 17:35:50 +0000 (10:35 -0700)]
Merge branches 'dont-canonicalize-email-addresses', 'multi-remove-labels', 'merge-labels', 'background-save' and 'encoding-misspellings'
William Morgan [Sun, 29 Mar 2009 16:36:54 +0000 (09:36 -0700)]
bugfix: catch invalid regular expressions in tag-matching
William Morgan [Sun, 29 Mar 2009 15:42:32 +0000 (11:42 -0400)]
Merge branch 'default-colors'
William Morgan [Fri, 27 Mar 2009 12:37:44 +0000 (05:37 -0700)]
bugfix bugfix: preserve recipient_email email address
When responding to an email with a recipient_email field (i.e. an Envelope-To
header), look up the name in the account list, but keep the original email
address.
William Morgan [Thu, 26 Mar 2009 19:39:46 +0000 (12:39 -0700)]
bugfix: reply from addresses drop the names
In the new world of no Person canonicalization, we instead need to go
through Account (which does map the name) when we use #recipient_email.
Various comment improvements as well.
William Morgan [Wed, 25 Mar 2009 17:07:12 +0000 (10:07 -0700)]
update webpage to reference blog and fix 0.7 release date
William Morgan [Wed, 25 Mar 2009 15:49:56 +0000 (08:49 -0700)]
overwrite from and to fields in index when saving a message
See comments in the code. This allows you to forcibly update the from/to
address stored in the index for messages, which means you can correct
the bad stuff stored in there due to previous versions of Sup that
canonicalized email addresses.
William Morgan [Wed, 25 Mar 2009 15:49:22 +0000 (08:49 -0700)]
properly parse email addresses store in index
See comments in code. Email addresses are stored in the index in a bizarre
format, but we can re-parse them.
William Morgan [Wed, 25 Mar 2009 15:06:32 +0000 (08:06 -0700)]
remove references to PersonManager in tests
Nicolas Pouillard [Mon, 16 Mar 2009 18:38:17 +0000 (19:38 +0100)]
Remove the now useless PersonManager
Replace PersonManager.person_for by Person.from_address
and PersonManager.people_for by Person.from_address_list
Nicolas Pouillard [Mon, 16 Mar 2009 18:38:02 +0000 (19:38 +0100)]
Close the "remove email->name mapping" issue
Nicolas Pouillard [Mon, 16 Mar 2009 18:37:38 +0000 (19:37 +0100)]
Remove the people.txt mapping.
William Morgan [Wed, 25 Mar 2009 13:25:48 +0000 (06:25 -0700)]
rework Rakefile for "rake gem" and "rake tarball"
Move version into sup-version.rb and filelist into sup-files.rb. Rake gem
now builds the gem; rake tarball builds the tarball. No Hoe involved.
Update release-script accordingly.
William Morgan [Wed, 25 Mar 2009 12:33:45 +0000 (05:33 -0700)]
make ThreadIndexMode#save optionally threaded
The call to #save during #cleanup needs to block because this is where
state gets saved immediately before exit. Other calls to #save, e.g.
those triggered by "$", can be backgrounded.
William Morgan [Wed, 25 Mar 2009 03:21:21 +0000 (20:21 -0700)]
background-threadify message state saving
William Morgan [Mon, 23 Mar 2009 15:55:09 +0000 (08:55 -0700)]
don't add :unread and :inbox for dupes
Allow merging in of labels from duplicate messages, EXCEPT for
:unread and :inbox labels. (These two have special semantics
and, in contrast to the other special-semantics labels, might
appear on a new message.)
William Morgan [Mon, 23 Mar 2009 15:33:24 +0000 (08:33 -0700)]
foreground colors should stay "black", not "default"
Whoops. The previous change was overbroad. Background colors that were "black"
should now be "default", but foreground "black" should stay "black".
William Morgan [Mon, 23 Mar 2009 15:19:07 +0000 (08:19 -0700)]
change default background colors from "black" to "default"
This allows transparent terminals to work correctly.
Thanks to Chris Benuzzi <cbenuzzi@gmail.com>.
Mark Alexander [Mon, 23 Mar 2009 15:08:13 +0000 (11:08 -0400)]
make ncurses use terminal default colors
Nicolas Pouillard [Mon, 16 Mar 2009 18:56:17 +0000 (19:56 +0100)]
decoding: handle more misspellings, in particular ISO-8859-15
Nicolas Pouillard [Mon, 16 Mar 2009 18:41:08 +0000 (19:41 +0100)]
Fix a bug in sup-tweak-label when multiple sources are given.
Resent...
Nicolas Pouillard [Mon, 16 Mar 2009 18:35:43 +0000 (19:35 +0100)]
Allow multi_edit_labels to remove labels using -lab (the "; l" key binding)
William Morgan [Mon, 23 Mar 2009 14:35:28 +0000 (10:35 -0400)]
update release-script for new process
No longer using Hoe. Manual build & upload process.
William Morgan [Mon, 23 Mar 2009 14:35:24 +0000 (10:35 -0400)]
add sup.gemspec
William Morgan [Mon, 23 Mar 2009 14:33:25 +0000 (10:33 -0400)]
remove welcome to sup message
Sorry, I just found it too irritating.
William Morgan [Mon, 23 Mar 2009 14:25:34 +0000 (10:25 -0400)]
minor README tweaks
William Morgan [Mon, 23 Mar 2009 14:11:16 +0000 (10:11 -0400)]
update unit tests to reflect header parsing
Blank headers now have a value of "", not nil. Nothing wrong with that.
The test captures behavior that doesn't really matter, but I've updated
it to at least reflect reality.
William Morgan [Mon, 23 Mar 2009 14:08:29 +0000 (10:08 -0400)]
fix contributor list in index.html
William Morgan [Sun, 22 Mar 2009 17:49:12 +0000 (10:49 -0700)]
bugfix: previous bugfix was broken.
That will teach me to commit without testing!
William Morgan [Sun, 22 Mar 2009 17:41:56 +0000 (13:41 -0400)]
bugfix: sporadic hash traversal error
Don't modify header hash in place while traversing with #each, because
apparently that's a problem for Ruby. But only sometimes.
Based on a patch by Rick Tessner <rick.tessner@gmail.com>.
William Morgan [Sun, 22 Mar 2009 16:59:40 +0000 (12:59 -0400)]
remake CONTRIBUTORS
William Morgan [Sun, 22 Mar 2009 16:46:03 +0000 (12:46 -0400)]
minor whitespace cleanup
Mark Alexander [Sun, 22 Mar 2009 16:42:55 +0000 (12:42 -0400)]
correctly parse headers starting with empty lines
Handle message headers that are split across multiple lines and start
with a blank line.
Patch modified slightly by William Morgan.
Nicolas Pouillard [Mon, 16 Mar 2009 18:39:40 +0000 (19:39 +0100)]
Fix a recurring bug about killed threads.
Resent...
William Morgan [Mon, 16 Mar 2009 12:48:00 +0000 (08:48 -0400)]
prepare for 0.7 release
William Morgan [Mon, 16 Mar 2009 11:53:12 +0000 (07:53 -0400)]
bugfix: allow unset default_attachment_save_dir
If this variable isn't set in the config file, don't die.
Steve Goldman [Sun, 23 Nov 2008 20:59:49 +0000 (15:59 -0500)]
use offscreen lines for textfield overflow
In the To:, Cc:, Bcc:, etc., prompts, the TextField was initializing
an NCurses form with zero offscreen lines. So when the user typed too
many addresses at the prompt the cursor wrapped around and everything
they had typed was clobbered. This patch initializes the form object
to have 256 offscreen lines (I had no rationale for 256 except that it
is a nice, big power of two). Now the user can type plenty of names
and the wrap-around works as the user would expect.
Steve Goldman [Sun, 23 Nov 2008 19:39:10 +0000 (14:39 -0500)]
show matching aliases before email addresses in auto complete
Steve Goldman [Sun, 23 Nov 2008 19:44:29 +0000 (14:44 -0500)]
git status should ignore emacs temp files
Steve Goldman [Sun, 23 Nov 2008 19:29:36 +0000 (14:29 -0500)]
make ctrl-c prompt user if sup should die ungracefully
Steve Goldman [Sun, 23 Nov 2008 18:53:09 +0000 (13:53 -0500)]
Display a default save path for attachments
Let the user specify a default path for saving attachments with
:default_attachment_save_dir: in config.yaml, and display this path in
front of the filename when saving an attachment in thread view mode.
Nicolas Pouillard [Sun, 16 Nov 2008 17:32:12 +0000 (18:32 +0100)]
Allow to hit 'y' to send a draft in thread-view-mode
Nicolas Pouillard [Sun, 16 Nov 2008 17:18:33 +0000 (18:18 +0100)]
decoding rules: ignore ascii-7bit and normalize utf-7
Nicolas Pouillard [Sun, 16 Nov 2008 17:17:59 +0000 (18:17 +0100)]
Add a limit:<int> search operator to limit the number of results
William Morgan [Wed, 26 Nov 2008 23:41:51 +0000 (15:41 -0800)]
Merge branch 'master' into next
Rich Lane [Tue, 11 Nov 2008 17:52:50 +0000 (12:52 -0500)]
fix class name collision in testcases
'rake test' was broken because both testcases' classes had the same name and
the setup method was overridden. This patch changes the class name in
test_mbox_parsing.
William Morgan [Wed, 26 Nov 2008 23:23:38 +0000 (15:23 -0800)]
minor cleanups
William Morgan [Wed, 26 Nov 2008 23:23:35 +0000 (15:23 -0800)]
for duplicate messages, merge labels rather than discard them
Nicolas Pouillard [Fri, 14 Nov 2008 13:28:56 +0000 (14:28 +0100)]
Do nothing on an unknown-8bit encoding.
Nicolas Pouillard [Fri, 14 Nov 2008 12:31:02 +0000 (13:31 +0100)]
Factor the Iconv decoding code, and be more lenient on encodings.
Nicolas Pouillard [Fri, 14 Nov 2008 12:29:25 +0000 (13:29 +0100)]
Add a --query option to sup-tweak-labels.
William Morgan [Sun, 16 Nov 2008 00:43:42 +0000 (16:43 -0800)]
Merge commit 'c45207/hook-state-bag' into next
William Morgan [Sun, 16 Nov 2008 00:37:22 +0000 (16:37 -0800)]
Merge commit 'c45207/shutdown-hook' into next
William Morgan [Tue, 11 Nov 2008 20:40:32 +0000 (12:40 -0800)]
don't die when a draft discarded multiple times
This can happen when you open the same draft in multiple
buffers, and discard or send it multiple times.
Christopher Warrington [Mon, 10 Nov 2008 11:27:35 +0000 (05:27 -0600)]
adds a cross-hook variable storage mechanism
Adds two hook helper methods, get and set, that allow hooks to pass
values to each other. Also, updates the documentation for hooks
to reflect these new commands (as well as the old ones).
Christopher Warrington [Mon, 10 Nov 2008 10:26:29 +0000 (04:26 -0600)]
added a shutdown hook
A shutdown hook has been added. It runs during sup's shutdown,
right before Redwood::finish is called.
Steve Goldman [Fri, 7 Nov 2008 20:04:33 +0000 (15:04 -0500)]
don't downcase names before looking them up in the alias to person map, since keys in that map aren't downcased.
Nicolas Pouillard [Thu, 6 Nov 2008 15:00:02 +0000 (16:00 +0100)]
save contacts.txt on '$'
William Morgan [Mon, 10 Nov 2008 04:47:44 +0000 (20:47 -0800)]
remove H as a help trigger, since thread-view-mode overwrites it anyways
William Morgan [Mon, 10 Nov 2008 04:45:58 +0000 (20:45 -0800)]
add a friendly message when starting sup
William Morgan [Mon, 10 Nov 2008 04:17:27 +0000 (20:17 -0800)]
Merge branch 'index-locking' into next
William Morgan [Mon, 10 Nov 2008 04:16:38 +0000 (20:16 -0800)]
make #load_entry_for_id return something safely useable outside the index mutex
William Morgan [Mon, 10 Nov 2008 03:59:47 +0000 (19:59 -0800)]
Merge branch 'index-locking' into next
William Morgan [Mon, 10 Nov 2008 03:59:43 +0000 (19:59 -0800)]
Merge branch 'master' into next
William Morgan [Mon, 10 Nov 2008 03:56:42 +0000 (19:56 -0800)]
issue updates
Israel Herraiz [Tue, 4 Nov 2008 14:07:21 +0000 (15:07 +0100)]
wrap text attachments
William Morgan [Fri, 7 Nov 2008 06:18:45 +0000 (22:18 -0800)]
protect ferret index #[] access
William Morgan [Thu, 6 Nov 2008 21:25:18 +0000 (13:25 -0800)]
Merge branch 'index-locking' into next
William Morgan [Thu, 6 Nov 2008 21:11:12 +0000 (13:11 -0800)]
synchronize access to ferret
William Morgan [Thu, 6 Nov 2008 20:31:40 +0000 (12:31 -0800)]
synchronize access to sources
William Morgan [Wed, 5 Nov 2008 18:41:34 +0000 (10:41 -0800)]
Merge branch 'master' into next
William Morgan [Wed, 5 Nov 2008 18:41:30 +0000 (10:41 -0800)]
fix hoe dependency removal
William Morgan [Wed, 5 Nov 2008 18:32:45 +0000 (10:32 -0800)]
bugfix patch: sort labels upon save by string values, in case they're symbols
William Morgan [Sun, 2 Nov 2008 19:29:49 +0000 (11:29 -0800)]
add self as recipient on crypted sent messages
patch from "Tomas Pospisek ML" <tpo2@sourcepole.ch>
William Morgan [Sun, 2 Nov 2008 18:54:33 +0000 (10:54 -0800)]
Merge branch 'master' into next
William Morgan [Sun, 2 Nov 2008 18:53:29 +0000 (10:53 -0800)]
pluralize minute(s) second(s)
patch from "Tomas Pospisek ML" <tpo2@sourcepole.ch>
William Morgan [Sun, 2 Nov 2008 18:52:47 +0000 (10:52 -0800)]
accept "yes" when asked so
patch from Thomas Pospisek ML" <tpo2@sourcepole.ch>
Decklin Foster [Sat, 1 Nov 2008 18:04:56 +0000 (14:04 -0400)]
Sam is the author of rfc2047.rb
We need this in Debian so that our copy of the authors list covers all code
in the package.
Decklin Foster [Sun, 26 Oct 2008 18:31:12 +0000 (14:31 -0400)]
Don't redirect run-mailcap to /dev/null
It gets confused about stdout not being a terminal, and HTML attachments will
be converted to text/plain which uses the needsterminal entry for less(1).
Decklin Foster [Sun, 26 Oct 2008 18:30:03 +0000 (14:30 -0400)]
Read in X-Foo headers
William Morgan [Mon, 20 Oct 2008 02:41:01 +0000 (19:41 -0700)]
Merge branch 'master' into next
Israel Herraiz [Sun, 19 Oct 2008 10:53:52 +0000 (12:53 +0200)]
keybinding to show a list of unread messages
this patch adds a global keybinding to make a search of all the unread
messages. I use this quite often, and maybe it can be useful for
others too.
The keybinding is 'U'.
Nicolas Pouillard [Fri, 17 Oct 2008 08:55:37 +0000 (10:55 +0200)]
Sort the contents of labels.txt
This enable better behaviors when versioning this
kind of files.
William Morgan [Tue, 14 Oct 2008 20:10:48 +0000 (13:10 -0700)]
fix up IMAP deletion
William Morgan [Tue, 14 Oct 2008 01:14:29 +0000 (18:14 -0700)]
add #mark_as_deleted and #expunge to Redwood::IMAP. completely untested!
Ditz-issue:
2673f091c15dd90222a59621a1842d4ef0a743f7
Nicolas Pouillard [Mon, 29 Sep 2008 16:55:16 +0000 (18:55 +0200)]
Enclosed messages as proper sub-parts
Raw message closed by default.
In-lined sub-parts of the enclosed message.
Nicolas Pouillard [Mon, 29 Sep 2008 17:09:37 +0000 (19:09 +0200)]
new issue: Pulling new threads should not shift the cursor.
William Morgan [Mon, 4 Aug 2008 02:54:10 +0000 (19:54 -0700)]
prepare for 0.6 release
William Morgan [Thu, 31 Jul 2008 01:01:30 +0000 (18:01 -0700)]
point webpage to Gitorious repository
William Morgan [Thu, 31 Jul 2008 00:55:01 +0000 (17:55 -0700)]
unassign all undone issues from 0.6
William Morgan [Thu, 31 Jul 2008 00:51:30 +0000 (17:51 -0700)]
issue updates
Ben Walton [Wed, 4 Jun 2008 00:17:01 +0000 (20:17 -0400)]
maildir cpu usage regression fix
This small tweak resolves the cpu usage issue pointed out by Grant Hollingworth
on sup-talk (http://rubyforge.org/pipermail/sup-talk/2008-May/001539.html).
William Morgan [Thu, 31 Jul 2008 00:46:27 +0000 (17:46 -0700)]
Merge commit 'origin/ncurses-widechar'
William Morgan [Thu, 31 Jul 2008 00:34:21 +0000 (17:34 -0700)]
add .ditz-plugins