sup:ezyang.git
8 years agoadd an after-add-message hook REVERTED-after-add-message-hook
Kevin Riggle [Fri, 21 Aug 2009 01:57:42 +0000 (21:57 -0400)]
add an after-add-message hook

I want to do some unrelated processing on each message I receive, but I
don't want to block the message being added to the index.  This patch
adds a hook which runs /after/ the message is added to the index.

8 years agofix garbaged text in textfield when using ncursesw
Benoît PIERRE [Wed, 19 Aug 2009 20:56:55 +0000 (22:56 +0200)]
fix garbaged text in textfield when using ncursesw

Apparently, field_buffer content is not initialized to blanks when using
the wide-character version of ncurses. Forcing a call to
set_field_buffer fix the problem.

8 years agofix a thread merging bug introduced by refactoring in 59f8fc2
Alex Vandiver [Tue, 18 Aug 2009 18:30:00 +0000 (14:30 -0400)]
fix a thread merging bug introduced by refactoring in 59f8fc2

Signed-off-by: Alex Vandiver <alex@chmrr.net>
8 years agoadd 'I' keybinding to raise Inbox buffer
Rich Lane [Sun, 16 Aug 2009 19:36:08 +0000 (12:36 -0700)]
add 'I' keybinding to raise Inbox buffer

8 years agomaildir: allow ', ' in the unique-name portion of a maildir filename
Carl Worth [Sat, 15 Aug 2009 04:29:43 +0000 (21:29 -0700)]
maildir: allow ', ' in the unique-name portion of a maildir filename

The maildir specification says the following about unique names:

    A unique name can be anything that doesn't contain a colon (or
    slash) and doesn't start with a dot.

    [http://cr.yp.to/proto/maildir.html]

So disallowing a unique name to have a comma breaks maildir import on
systems where there is a comma in the names.

8 years agowhen writing mbox files, output From_ line date as utc
William Morgan [Sun, 16 Aug 2009 21:01:45 +0000 (17:01 -0400)]
when writing mbox files, output From_ line date as utc

Otherwise, parsing the From_ lines later will fail!

8 years agomove xapian index loading into load_index
Rich Lane [Thu, 6 Aug 2009 19:32:44 +0000 (12:32 -0700)]
move xapian index loading into load_index

8 years agoallow sup-sync to use --start-at with --restored
William Morgan [Mon, 3 Aug 2009 16:24:10 +0000 (12:24 -0400)]
allow sup-sync to use --start-at with --restored

8 years agoport ezyang@mit.edu's chattyness patch over to xapian/ferret split
William Morgan [Wed, 5 Aug 2009 19:51:29 +0000 (15:51 -0400)]
port ezyang@mit.edu's chattyness patch over to xapian/ferret split

8 years agoxapian: drop excessively long terms
Rich Lane [Sat, 1 Aug 2009 22:56:09 +0000 (15:56 -0700)]
xapian: drop excessively long terms

8 years agoMerge branch 'xapian'
William Morgan [Mon, 3 Aug 2009 16:29:26 +0000 (12:29 -0400)]
Merge branch 'xapian'

Conflicts:
lib/sup/index.rb

8 years agoxapian: fix issue with empty ferret query
Rich Lane [Tue, 28 Jul 2009 03:19:30 +0000 (20:19 -0700)]
xapian: fix issue with empty ferret query

8 years agoxapian: fix MAX_DATE
Rich Lane [Tue, 28 Jul 2009 03:19:29 +0000 (20:19 -0700)]
xapian: fix MAX_DATE

8 years agoexplicitly load messages in testcase
Rich Lane [Tue, 28 Jul 2009 05:02:29 +0000 (22:02 -0700)]
explicitly load messages in testcase

8 years agomake logging less chatty
Edward Z. Yang [Mon, 27 Jul 2009 17:39:27 +0000 (13:39 -0400)]
make logging less chatty

Signed-off-by: Edward Z. Yang <ezyang@mit.edu>
8 years agofix broken arrow keypresses after shelling out
Edward Z. Yang [Mon, 27 Jul 2009 19:03:58 +0000 (15:03 -0400)]
fix broken arrow keypresses after shelling out

Signed-off-by: Edward Z. Yang <ezyang@mit.edu>
8 years agoUse /etc/mailname if present to determine the hostname for Message-Id
Adeodato Simó [Thu, 9 Jul 2009 19:55:17 +0000 (21:55 +0200)]
Use /etc/mailname if present to determine the hostname for Message-Id

Signed-off-by: Adeodato Simó <dato@net.com.org.es>
8 years agoeasy_decode now also catches InvalidCharacter
Nicolas Pouillard [Mon, 6 Jul 2009 07:50:09 +0000 (09:50 +0200)]
easy_decode now also catches InvalidCharacter

8 years agoUnbreak "bounce-command" hook (was referencing an nonexistent variable)
Adeodato Simó [Sat, 11 Jul 2009 11:57:55 +0000 (13:57 +0200)]
Unbreak "bounce-command" hook (was referencing an nonexistent variable)

Signed-off-by: Adeodato Simó <dato@net.com.org.es>
8 years agoxapian: dont exclude spam/etc in some internal searches
Rich Lane [Sat, 25 Jul 2009 19:27:08 +0000 (12:27 -0700)]
xapian: dont exclude spam/etc in some internal searches

8 years agoxapian: initialize sources in sup-dump
Rich Lane [Sat, 25 Jul 2009 02:50:54 +0000 (19:50 -0700)]
xapian: initialize sources in sup-dump

8 years agoxapian: fix mk_addrs args in build_message
Rich Lane [Sat, 25 Jul 2009 03:25:09 +0000 (20:25 -0700)]
xapian: fix mk_addrs args in build_message

8 years agobugfix: dates need to be truncated for xapian to index
William Morgan [Wed, 24 Jun 2009 17:30:43 +0000 (13:30 -0400)]
bugfix: dates need to be truncated for xapian to index

If dates are way out of range, the current indexing process both dies
and generates bad doc ids. This patch forces dates to be within a
reasonable range (current between 1969 and 2038.) Not necessarily the
best solution.

8 years agoexplicitly load index version, for better error messages
William Morgan [Wed, 24 Jun 2009 13:10:19 +0000 (09:10 -0400)]
explicitly load index version, for better error messages

Catching the LoadError was masking errors from not having dependent
library like xapian and gdbm. This change makes the error messages
reflect what's actually missing. Since we're adding index types at
roughly once every 3 years, an explicit list like this shouldn't be too
difficult to maintain.

8 years agodont using SavingHash#[] for membership test
Rich Lane [Sat, 20 Jun 2009 20:50:17 +0000 (13:50 -0700)]
dont using SavingHash#[] for membership test

8 years agoadd limit argument to author_names_and_newness_for_thread
Rich Lane [Sat, 20 Jun 2009 20:50:16 +0000 (13:50 -0700)]
add limit argument to author_names_and_newness_for_thread

8 years agofix String#ord monkeypatch
Rich Lane [Sat, 20 Jun 2009 20:50:15 +0000 (13:50 -0700)]
fix String#ord monkeypatch

8 years agoindex: add xapian implementation
Rich Lane [Sat, 20 Jun 2009 20:50:14 +0000 (13:50 -0700)]
index: add xapian implementation

8 years agoindex: choose index implementation with config entry or environment variable
Rich Lane [Sat, 20 Jun 2009 20:50:13 +0000 (13:50 -0700)]
index: choose index implementation with config entry or environment variable

8 years agoadd Message.indexable_{body, chunks, subject}
Rich Lane [Sat, 20 Jun 2009 20:50:12 +0000 (13:50 -0700)]
add Message.indexable_{body, chunks, subject}

8 years agoremove last external uses of ferret docid
Rich Lane [Sat, 20 Jun 2009 20:50:11 +0000 (13:50 -0700)]
remove last external uses of ferret docid

8 years agoindex: move Ferret-specific code to ferret_index.rb
Rich Lane [Sat, 20 Jun 2009 20:50:10 +0000 (13:50 -0700)]
index: move Ferret-specific code to ferret_index.rb

8 years agoindex: make wrap_subj methods private
Rich Lane [Sat, 20 Jun 2009 20:50:09 +0000 (13:50 -0700)]
index: make wrap_subj methods private

8 years agoindex: revert overeager opts->query rename in each_message_in_thread_for
Rich Lane [Sat, 20 Jun 2009 20:50:08 +0000 (13:50 -0700)]
index: revert overeager opts->query rename in each_message_in_thread_for

8 years agoindex: remove unused method fresh_thread_id
Rich Lane [Sat, 20 Jun 2009 20:50:07 +0000 (13:50 -0700)]
index: remove unused method fresh_thread_id

8 years agomove source-related methods to SourceManager
Rich Lane [Sat, 20 Jun 2009 20:50:06 +0000 (13:50 -0700)]
move source-related methods to SourceManager

8 years agoindex: move has_any_from_source_with_label? to sup-sync-back
Rich Lane [Sat, 20 Jun 2009 20:50:05 +0000 (13:50 -0700)]
index: move has_any_from_source_with_label? to sup-sync-back

8 years agoswitch DraftManager to use Message.build_from_source
Rich Lane [Sat, 20 Jun 2009 20:50:04 +0000 (13:50 -0700)]
switch DraftManager to use Message.build_from_source

8 years agoindex: remove unused method load_entry_for_id
Rich Lane [Sat, 20 Jun 2009 20:50:03 +0000 (13:50 -0700)]
index: remove unused method load_entry_for_id

8 years agoremove ferret entry from poll/sync interface
Rich Lane [Sat, 20 Jun 2009 20:50:02 +0000 (13:50 -0700)]
remove ferret entry from poll/sync interface

This leads to an extra index lookup in the sup-sync update path, but I think
it's worth it for the sake of API simplicity.

8 years agoremove load_entry_for_id call in DraftManager.discard
Rich Lane [Sat, 20 Jun 2009 20:50:01 +0000 (13:50 -0700)]
remove load_entry_for_id call in DraftManager.discard

8 years agoremove load_entry_for_id call in sup-recover-sources
Rich Lane [Sat, 20 Jun 2009 20:50:00 +0000 (13:50 -0700)]
remove load_entry_for_id call in sup-recover-sources

8 years agoindex: consistent naming
Rich Lane [Wed, 17 Jun 2009 00:24:59 +0000 (17:24 -0700)]
index: consistent naming

Replaced use of run_query with each_docid
Rename instances of ferret query objects to 'ferret_query'
Rename 'build_query' to 'build_ferret_query'
Rename hashes passed to index methods to 'query'
Rename 'parse_user_query_string' to 'parse_query'
Change 'parse_query' to return a query hash
Rename 'drop_entry' to 'delete' and modify callers to pass msgid

8 years agoindex: cleanup interface
Rich Lane [Wed, 17 Jun 2009 00:24:58 +0000 (17:24 -0700)]
index: cleanup interface

Added the public methods 'each_docid', 'each_message', and 'optimize' to the
index. Removed the 'index' and 'ferret' accessors and modified their callers to
use the new methods. Bonus fixes: sup-dump no longer skips the first message
and sup_sync --start_at can now delete unseen messages.

8 years agofix another missing part of a previous merge
William Morgan [Wed, 24 Jun 2009 13:43:07 +0000 (09:43 -0400)]
fix another missing part of a previous merge

8 years agofix missing part of a previous merge
William Morgan [Wed, 24 Jun 2009 13:42:26 +0000 (09:42 -0400)]
fix missing part of a previous merge

8 years agoMerge commit 'bwalton/bw/flexible_sent'
William Morgan [Wed, 24 Jun 2009 13:38:19 +0000 (09:38 -0400)]
Merge commit 'bwalton/bw/flexible_sent'

Conflicts:

lib/sup/poll.rb
lib/sup/sent.rb

8 years agoMerge commit 'bwalton/bw/bounce_message'
William Morgan [Wed, 24 Jun 2009 13:36:08 +0000 (09:36 -0400)]
Merge commit 'bwalton/bw/bounce_message'

8 years agoMerge branch 'labels-before-subj'
William Morgan [Wed, 24 Jun 2009 13:35:15 +0000 (09:35 -0400)]
Merge branch 'labels-before-subj'

8 years agobugfix: correct time format in sent message mbox
William Morgan [Mon, 15 Jun 2009 16:48:20 +0000 (12:48 -0400)]
bugfix: correct time format in sent message mbox

Use Time#asctime. Otherwise for strange locales, the mbox format is
not quite right and the splitter won't be able to read it!

8 years agoremove warnings about RE_UTF8
William Morgan [Mon, 15 Jun 2009 16:35:44 +0000 (09:35 -0700)]
remove warnings about RE_UTF8

8 years agofixes for ruby1.9
Rich Lane [Fri, 12 Jun 2009 19:35:52 +0000 (12:35 -0700)]
fixes for ruby1.9

Change colons in case statements to 'then'
Fix a block that didn't take enough arguments
Rename variables to avoid shadowing warnings
Use String.ord (and define it for 1.8)
Use DL::Importer on 1.9
Make require 'fastthread' optional
Copy in RE_UTF8

8 years agoupdate changelog and releasenotes for 0.8.1
William Morgan [Mon, 15 Jun 2009 15:08:28 +0000 (08:08 -0700)]
update changelog and releasenotes for 0.8.1

8 years agomake multibyte display "work" for non-utf8 locales
William Morgan [Mon, 15 Jun 2009 15:00:07 +0000 (08:00 -0700)]
make multibyte display "work" for non-utf8 locales

A nasty hack, but fixes a previous utf8-centric change.

8 years agofix reply-mode always selecting "Customized"
William Morgan [Tue, 9 Jun 2009 00:03:07 +0000 (17:03 -0700)]
fix reply-mode always selecting "Customized"

Since an earlier patch changed parse_headers, or something, the emitted header
needs to have the correct case.

8 years agoreduce quote parsing worst-case behavior
William Morgan [Mon, 8 Jun 2009 18:07:51 +0000 (14:07 -0400)]
reduce quote parsing worst-case behavior

Split a quote regex into two to increase performance on certain long strings.

Thanks to Edward Z. Yang.

8 years agoBounce Message Hook
Ben Walton [Sun, 7 Jun 2009 23:44:37 +0000 (19:44 -0400)]
Bounce Message Hook

Determine the command used to bounce a message based on a Hook instead
of a configuration option.  Instead of writing an external script that
can send the message properly based on the recipient addresses, rely
on a hook that can return the command based on the From header in the
mail being bounced as well as the intended recipients.  This is more
in line with the sup philosophy.

The default is still to strip any -t from the sendmail command of the
default account.

Signed-off-by: Ben Walton <bwalton@artsci.utoronto.ca>
8 years agoAdd message bouncing capability
Ben Walton [Sun, 7 Jun 2009 16:38:41 +0000 (12:38 -0400)]
Add message bouncing capability

Bouncing a message is akin to redirecting a mail with a .forward
entry.  It is passed back to the mail system as it sits on disk.

By pressing ! while viewing a message, you can now re-inject it to the
mail system using either the command defined in bounce_sendmail or the
sendmail command for the default account with any instance of -t
removed. The user is prompted for the recipients of the message and is
offered a chance to confirm the bounce before it is sent.

The message is _not_ stored in the sent box, as this doesn't make
sense with bounced messages (and would not show up uniquely anyway).

The bounce_sendmail configuration item allows users that require
different sendmail commands depending on where the bounce is destined
to write a wrapper around their local mail tools to pick and choose
the appropriate injection method for the message based on the
addresses passed in.  Most systems can likely use: sendmail -oem -i

Signed-off-by: Ben Walton <bwalton@artsci.utoronto.ca>
8 years agoupdate documentation to be slightly less out of date
William Morgan [Fri, 5 Jun 2009 16:40:51 +0000 (12:40 -0400)]
update documentation to be slightly less out of date

8 years agoadd sup-announce list info to webpage
William Morgan [Fri, 5 Jun 2009 16:13:22 +0000 (12:13 -0400)]
add sup-announce list info to webpage

8 years agoupdate changelog, etc for 0.8 release
William Morgan [Fri, 5 Jun 2009 15:01:37 +0000 (11:01 -0400)]
update changelog, etc for 0.8 release

8 years agodon't jump to the next open message when expanding
William Morgan [Fri, 5 Jun 2009 14:34:31 +0000 (10:34 -0400)]
don't jump to the next open message when expanding

When pressing enter to expand an entire message, don't jump to the next
open message. Only jump when you've collapsed the message.

8 years agoAdd V to view a raw message (headers and body).
Ben Walton [Thu, 4 Jun 2009 16:03:10 +0000 (12:03 -0400)]
Add V to view a raw message (headers and body).

This is an augment of the already existing view header (H) command,
but allows viewing of all mime parts in their raw form, etc.

Signed-off-by: Ben Walton <bwalton@artsci.utoronto.ca>
8 years agomake enter collapse current message in thread-view-mode
William Morgan [Fri, 5 Jun 2009 03:32:28 +0000 (23:32 -0400)]
make enter collapse current message in thread-view-mode

Pressing enter while over a text region in thread-view-mode will now
collapse the current message and move the cursor to the next open
message. (Behavior on quoted regions, sigs, attachments, etc. is
unchanged.)

This means that you can scan through a thread pretty rapidly by pressing
enter if you want to collapse the current message, or 'n' if you want
to keep it open.

8 years agoremove vestigal Iconv.normalize method
William Morgan [Tue, 2 Jun 2009 16:42:55 +0000 (09:42 -0700)]
remove vestigal Iconv.normalize method

8 years agohandle nil charset on attachments
Mark Alexander [Tue, 2 Jun 2009 16:29:13 +0000 (09:29 -0700)]
handle nil charset on attachments

8 years agorefactor iconv stuff, and normalize message body and headers
William Morgan [Tue, 2 Jun 2009 14:39:18 +0000 (07:39 -0700)]
refactor iconv stuff, and normalize message body and headers

- Message body and headers are now normalized to the current encoding.
  This should limit the amount of unprintable characters on the screen.
- No more MessageFormatError (was never being thrown anyways).
- Move exception handling to Iconv.easy_decode
- No more Message#convert_from, since Iconv.easy_decode does it all now.

8 years agoyet another utf8 bugfix: fix string subsetting
William Morgan [Sun, 31 May 2009 15:58:16 +0000 (08:58 -0700)]
yet another utf8 bugfix: fix string subsetting

... with a HORRIBLE SLOW HACK!

8 years agominor display_length optimization
William Morgan [Sun, 31 May 2009 15:57:56 +0000 (08:57 -0700)]
minor display_length optimization

8 years agoUse rake/packagegemtask
Richard Brown [Wed, 25 Mar 2009 16:00:50 +0000 (16:00 +0000)]
Use rake/packagegemtask

Add back tarball task

8 years agomove rfc2047 require to proper place
William Morgan [Sun, 31 May 2009 00:55:05 +0000 (20:55 -0400)]
move rfc2047 require to proper place

8 years agoutf8 bugfix: clear lines correctly
William Morgan [Sun, 31 May 2009 00:14:34 +0000 (17:14 -0700)]
utf8 bugfix: clear lines correctly

String#display_length must be used when clearing to the right of lines.

8 years agominor display optimization
William Morgan [Sun, 31 May 2009 00:11:01 +0000 (17:11 -0700)]
minor display optimization

Don't blank to the right unless this is the last thing we're drawing
in the line.

Not sure how much of a speedup this will give, if any, but hey, precious
milliseconds.

8 years agoCollapse attr_reader lines
Ben Walton [Sat, 9 May 2009 01:25:45 +0000 (21:25 -0400)]
Collapse attr_reader lines

Signed-off-by: Ben Walton <bwalton@artsci.utoronto.ca>
8 years agoSmall cleanup: Don't use $config in main code.
Ben Walton [Sat, 9 May 2009 01:23:48 +0000 (21:23 -0400)]
Small cleanup: Don't use $config in main code.

Switched use of $config[:sent_source] to SentManager.source_uri
to keep $config use limited to startup/initialization.

Signed-off-by: Ben Walton <bwalton@artsci.utoronto.ca>
8 years agoSent label handling change
Ben Walton [Thu, 7 May 2009 21:46:51 +0000 (17:46 -0400)]
Sent label handling change

Make PollManager add the 'sent' label if the source it's collecting
messages from is the configured sent source.  Remove the sent label
from SentLoader, which makes it even less 'special.'

Signed-off-by: Ben Walton <bwalton@artsci.utoronto.ca>
8 years agosup-config: add awareness of non-default sent source
Ben Walton [Thu, 7 May 2009 21:23:50 +0000 (17:23 -0400)]
sup-config: add awareness of non-default sent source

The user is now prompted to select a source to store sent mail in.
Only sources that are capable of storing mail are presented.  The
default sup://sent is available as an option too.

8 years agoSentManager: rework handling to allow for user specified source
Ben Walton [Thu, 7 May 2009 02:44:24 +0000 (22:44 -0400)]
SentManager: rework handling to allow for user specified source

* The handling of SentManager now allows for a parameter in config.yaml
  called sent_source.  This parameter should be the URI of the source
  that the users wishes to store outbound mail in.

* The default is sup://sent

* A FatalSourceError is raised in the event that sent_source is
  set to a source type that doesn't support the store_message() method.

* SentManager and SentLoader have been somewhat decoupled.

Signed-off-by: Ben Walton <bwalton@artsci.utoronto.ca>
8 years agoAdd store_message to IMAP, mbox and Maildir sources.
Ben Walton [Thu, 7 May 2009 02:32:50 +0000 (22:32 -0400)]
Add store_message to IMAP, mbox and Maildir sources.

With this method, each of the named source types is now capable of
acting as a destination for sent mail.

Signed-off-by: Ben Walton <bwalton@artsci.utoronto.ca>
8 years agominor update of undo message for labeling one thread
William Morgan [Thu, 28 May 2009 14:58:57 +0000 (10:58 -0400)]
minor update of undo message for labeling one thread

8 years agoMerge branch 'parser-user-query-fix'
William Morgan [Thu, 28 May 2009 14:56:14 +0000 (10:56 -0400)]
Merge branch 'parser-user-query-fix'

8 years agoMerge commit 'origin/utf8-fixes'
William Morgan [Thu, 28 May 2009 14:56:05 +0000 (10:56 -0400)]
Merge commit 'origin/utf8-fixes'

8 years agoMerge commit 'origin/undo-manager'
William Morgan [Thu, 28 May 2009 14:45:06 +0000 (10:45 -0400)]
Merge commit 'origin/undo-manager'

Conflicts:

lib/sup/modes/thread-index-mode.rb

8 years agoMerge commit 'origin/various-mbox-fixes'
William Morgan [Thu, 28 May 2009 14:31:01 +0000 (10:31 -0400)]
Merge commit 'origin/various-mbox-fixes'

Conflicts:

lib/sup/mbox.rb
test/test_mbox_parsing.rb

8 years agoMerge commit 'origin/scanning-speedups'
William Morgan [Thu, 28 May 2009 14:29:59 +0000 (10:29 -0400)]
Merge commit 'origin/scanning-speedups'

Conflicts:

bin/sup-sync
lib/sup/index.rb

8 years agoput labels before subject in thread index view
Mark Alexander [Sat, 23 May 2009 18:25:57 +0000 (11:25 -0700)]
put labels before subject in thread index view

This patch is probably controversial, and I expect it
to be rejected.  But I really like the way Gmail puts
the labels before the subject, and I've duplicated that here.
It helps out at work, where subject lines tend to be very
long, pushing the labels past the right edge of the window.

8 years agoRemove duplicate line
Alex Vandiver [Sat, 23 May 2009 04:59:23 +0000 (00:59 -0400)]
Remove duplicate line

8 years agoStandardize on backquotes for program invocations, single quotes for keypresses,...
Alex Vandiver [Thu, 19 Feb 2009 05:44:03 +0000 (00:44 -0500)]
Standardize on backquotes for program invocations, single quotes for keypresses, and double-quotes for everything else

8 years agoMinor typo fix
Alex Vandiver [Thu, 19 Feb 2009 05:37:39 +0000 (00:37 -0500)]
Minor typo fix

8 years agoCorrect "Appending A" to "Appendix A"
Alex Vandiver [Thu, 19 Feb 2009 05:37:26 +0000 (00:37 -0500)]
Correct "Appending A" to "Appendix A"

8 years agoenforce label uniqueness and internedness
William Morgan [Tue, 26 May 2009 21:39:40 +0000 (14:39 -0700)]
enforce label uniqueness and internedness

This fixes some bugs where sources have an "inbox" label specified, which
was previously treated as different from the auto-applied :inbox label, etc.

8 years agominor comment tweak
William Morgan [Tue, 26 May 2009 21:34:58 +0000 (14:34 -0700)]
minor comment tweak

8 years agofencepost bug: thread size wrong in log
William Morgan [Tue, 26 May 2009 21:22:37 +0000 (14:22 -0700)]
fencepost bug: thread size wrong in log

9 years agoremove debugging change
William Morgan [Wed, 20 May 2009 22:11:04 +0000 (15:11 -0700)]
remove debugging change

9 years agobugfix: use 64 colors, not 16
William Morgan [Wed, 20 May 2009 18:47:54 +0000 (11:47 -0700)]
bugfix: use 64 colors, not 16

9 years agomore display_length changes
William Morgan [Wed, 20 May 2009 01:04:13 +0000 (18:04 -0700)]
more display_length changes

9 years agofix display of utf8 characters so that widths are correct
William Morgan [Wed, 20 May 2009 00:39:23 +0000 (20:39 -0400)]
fix display of utf8 characters so that widths are correct

Based on a patch from Einar Lielmanis <einars@gmail.com>

9 years agomime-encode utf8 addressess and subjects in outgoing mail
William Morgan [Wed, 20 May 2009 00:27:22 +0000 (20:27 -0400)]
mime-encode utf8 addressess and subjects in outgoing mail

Based heavily on a patch from Helge Titlestad <helgedt@tihlde.org>.

9 years agoMerge commit 'origin/sup-sync-improvements'
William Morgan [Tue, 19 May 2009 23:52:52 +0000 (19:52 -0400)]
Merge commit 'origin/sup-sync-improvements'

9 years agobugfix: label counts not set correctly on new messages
William Morgan [Mon, 18 May 2009 19:12:25 +0000 (15:12 -0400)]
bugfix: label counts not set correctly on new messages

New labels were being deleted when label-list-mode was brought
up before they were sync'ed to disk. This fixes that, although
this whole thing should be changed. (See comments.)