]> git.cworth.org Git - sup/log
sup
15 years agoMerge branch 'undo-manager' into next
William Morgan [Mon, 16 Mar 2009 12:29:51 +0000 (08:29 -0400)]
Merge branch 'undo-manager' into next

15 years agoChanged README to reflect addition of undo
Mike Stipicevic [Mon, 16 Feb 2009 05:11:46 +0000 (00:11 -0500)]
Changed README to reflect addition of undo

15 years agoAdded undo for label edit
Mike Stipicevic [Mon, 16 Feb 2009 05:11:28 +0000 (00:11 -0500)]
Added undo for label edit

15 years agoAdded undo for delete thread
Mike Stipicevic [Mon, 16 Feb 2009 05:10:32 +0000 (00:10 -0500)]
Added undo for delete thread

15 years agoAdded undo for thread deletion
Mike Stipicevic [Mon, 16 Feb 2009 05:08:03 +0000 (00:08 -0500)]
Added undo for thread deletion

15 years agoAdded undo for spam
Mike Stipicevic [Mon, 16 Feb 2009 05:06:36 +0000 (00:06 -0500)]
Added undo for spam

15 years agoAdded undo for starring
Mike Stipicevic [Mon, 16 Feb 2009 05:03:57 +0000 (00:03 -0500)]
Added undo for starring

15 years agoAdded undo for archive
Mike Stipicevic [Mon, 16 Feb 2009 05:40:39 +0000 (00:40 -0500)]
Added undo for archive

15 years agoAdded UndoManager class
Mike Stipicevic [Mon, 16 Feb 2009 05:39:50 +0000 (00:39 -0500)]
Added UndoManager class

The UndoManager keeps a list of lambdas that undo actions. It's designed to be used by keypress hooks. It is initialized in the main sup thread along with UpdateManager, etc.

15 years agobugfix: allow unset default_attachment_save_dir
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.

15 years agouse offscreen lines for textfield overflow
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.

15 years agoshow matching aliases before email addresses in auto complete
Steve Goldman [Sun, 23 Nov 2008 19:39:10 +0000 (14:39 -0500)]
show matching aliases before email addresses in auto complete

15 years agogit status should ignore emacs temp files
Steve Goldman [Sun, 23 Nov 2008 19:44:29 +0000 (14:44 -0500)]
git status should ignore emacs temp files

15 years agomake ctrl-c prompt user if sup should die ungracefully
Steve Goldman [Sun, 23 Nov 2008 19:29:36 +0000 (14:29 -0500)]
make ctrl-c prompt user if sup should die ungracefully

15 years agoDisplay a default save path for attachments
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.

15 years agoAllow to hit 'y' to send a draft 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

15 years agodecoding rules: ignore ascii-7bit and normalize utf-7
Nicolas Pouillard [Sun, 16 Nov 2008 17:18:33 +0000 (18:18 +0100)]
decoding rules: ignore ascii-7bit and normalize utf-7

15 years agoAdd a limit:<int> search operator to limit the number of results
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

15 years agoMerge branch 'master' into next
William Morgan [Wed, 26 Nov 2008 23:41:51 +0000 (15:41 -0800)]
Merge branch 'master' into next

15 years agofix class name collision in testcases
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.

15 years agoDo nothing on an unknown-8bit encoding.
Nicolas Pouillard [Fri, 14 Nov 2008 13:28:56 +0000 (14:28 +0100)]
Do nothing on an unknown-8bit encoding.

15 years agoFactor the Iconv decoding code, and be more lenient on encodings.
Nicolas Pouillard [Fri, 14 Nov 2008 12:31:02 +0000 (13:31 +0100)]
Factor the Iconv decoding code, and be more lenient on encodings.

15 years agoAdd a --query option to sup-tweak-labels.
Nicolas Pouillard [Fri, 14 Nov 2008 12:29:25 +0000 (13:29 +0100)]
Add a --query option to sup-tweak-labels.

15 years agoMerge commit 'c45207/hook-state-bag' into next
William Morgan [Sun, 16 Nov 2008 00:43:42 +0000 (16:43 -0800)]
Merge commit 'c45207/hook-state-bag' into next

15 years agoMerge commit 'c45207/shutdown-hook' into next
William Morgan [Sun, 16 Nov 2008 00:37:22 +0000 (16:37 -0800)]
Merge commit 'c45207/shutdown-hook' into next

15 years agodon't die when a draft discarded multiple times
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.

15 years agoadds a cross-hook variable storage mechanism
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).

15 years agoadded a shutdown hook
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.

15 years agodon't downcase names before looking them up in the alias to person map, since keys...
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.

15 years agosave contacts.txt on '$'
Nicolas Pouillard [Thu, 6 Nov 2008 15:00:02 +0000 (16:00 +0100)]
save contacts.txt on '$'

15 years agoremove H as a help trigger, since thread-view-mode overwrites it anyways
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

15 years agoadd a friendly message when starting sup
William Morgan [Mon, 10 Nov 2008 04:45:58 +0000 (20:45 -0800)]
add a friendly message when starting sup

15 years agoMerge branch 'index-locking' into next
William Morgan [Mon, 10 Nov 2008 04:17:27 +0000 (20:17 -0800)]
Merge branch 'index-locking' into next

15 years agomake #load_entry_for_id return something safely useable outside the index mutex
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

15 years agoMerge branch 'index-locking' into next
William Morgan [Mon, 10 Nov 2008 03:59:47 +0000 (19:59 -0800)]
Merge branch 'index-locking' into next

15 years agoMerge branch 'master' into next
William Morgan [Mon, 10 Nov 2008 03:59:43 +0000 (19:59 -0800)]
Merge branch 'master' into next

15 years agoissue updates
William Morgan [Mon, 10 Nov 2008 03:56:42 +0000 (19:56 -0800)]
issue updates

15 years agowrap text attachments
Israel Herraiz [Tue, 4 Nov 2008 14:07:21 +0000 (15:07 +0100)]
wrap text attachments

15 years agoprotect ferret index #[] access
William Morgan [Fri, 7 Nov 2008 06:18:45 +0000 (22:18 -0800)]
protect ferret index #[] access

15 years agoMerge branch 'index-locking' into next
William Morgan [Thu, 6 Nov 2008 21:25:18 +0000 (13:25 -0800)]
Merge branch 'index-locking' into next

15 years agosynchronize access to ferret
William Morgan [Thu, 6 Nov 2008 21:11:12 +0000 (13:11 -0800)]
synchronize access to ferret

15 years agosynchronize access to sources
William Morgan [Thu, 6 Nov 2008 20:31:40 +0000 (12:31 -0800)]
synchronize access to sources

15 years agoMerge branch 'master' into next
William Morgan [Wed, 5 Nov 2008 18:41:34 +0000 (10:41 -0800)]
Merge branch 'master' into next

15 years agofix hoe dependency removal
William Morgan [Wed, 5 Nov 2008 18:41:30 +0000 (10:41 -0800)]
fix hoe dependency removal

15 years agobugfix patch: sort labels upon save by string values, in case they're symbols
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

15 years agoadd self as recipient on crypted sent messages
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>

15 years agoMerge branch 'master' into next
William Morgan [Sun, 2 Nov 2008 18:54:33 +0000 (10:54 -0800)]
Merge branch 'master' into next

15 years agopluralize minute(s) second(s)
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>

15 years agoaccept "yes" when asked so
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>

15 years agoSam is the author of rfc2047.rb
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.

15 years agoDon't redirect run-mailcap to /dev/null
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).

15 years agoRead in X-Foo headers
Decklin Foster [Sun, 26 Oct 2008 18:30:03 +0000 (14:30 -0400)]
Read in X-Foo headers

15 years agoMerge branch 'master' into next
William Morgan [Mon, 20 Oct 2008 02:41:01 +0000 (19:41 -0700)]
Merge branch 'master' into next

15 years agokeybinding to show a list of unread messages
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'.

15 years agoSort the contents of labels.txt
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.

15 years agofix up IMAP deletion
William Morgan [Tue, 14 Oct 2008 20:10:48 +0000 (13:10 -0700)]
fix up IMAP deletion

15 years agoadd #mark_as_deleted and #expunge to Redwood::IMAP. completely untested!
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

15 years agoEnclosed messages as proper sub-parts
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.

15 years agonew issue: Pulling new threads should not shift the cursor.
Nicolas Pouillard [Mon, 29 Sep 2008 17:09:37 +0000 (19:09 +0200)]
new issue: Pulling new threads should not shift the cursor.

15 years agoprepare for 0.6 release
William Morgan [Mon, 4 Aug 2008 02:54:10 +0000 (19:54 -0700)]
prepare for 0.6 release

15 years agopoint webpage to Gitorious repository
William Morgan [Thu, 31 Jul 2008 01:01:30 +0000 (18:01 -0700)]
point webpage to Gitorious repository

15 years agounassign all undone issues from 0.6
William Morgan [Thu, 31 Jul 2008 00:55:01 +0000 (17:55 -0700)]
unassign all undone issues from 0.6

15 years agoissue updates
William Morgan [Thu, 31 Jul 2008 00:51:30 +0000 (17:51 -0700)]
issue updates

15 years agomaildir cpu usage regression fix
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).

15 years agoMerge commit 'origin/ncurses-widechar'
William Morgan [Thu, 31 Jul 2008 00:46:27 +0000 (17:46 -0700)]
Merge commit 'origin/ncurses-widechar'

15 years agoadd .ditz-plugins
William Morgan [Thu, 31 Jul 2008 00:34:21 +0000 (17:34 -0700)]
add .ditz-plugins

15 years agoMerge commit 'origin/mark-as-spam-hook'
William Morgan [Thu, 31 Jul 2008 00:26:50 +0000 (17:26 -0700)]
Merge commit 'origin/mark-as-spam-hook'

15 years agoadd bugs dir back to master
William Morgan [Thu, 31 Jul 2008 00:18:04 +0000 (17:18 -0700)]
add bugs dir back to master

15 years agoMerge commit 'origin/reply-to-hook'
William Morgan [Thu, 31 Jul 2008 00:17:50 +0000 (17:17 -0700)]
Merge commit 'origin/reply-to-hook'

Conflicts:

lib/sup/modes/reply-mode.rb

15 years agoMerge commit 'origin/reply-from-hook'
William Morgan [Thu, 31 Jul 2008 00:16:55 +0000 (17:16 -0700)]
Merge commit 'origin/reply-from-hook'

15 years agoMerge commit 'origin/color'
William Morgan [Thu, 31 Jul 2008 00:16:45 +0000 (17:16 -0700)]
Merge commit 'origin/color'

15 years agoMerge branch 'edit-as-new-fix'
William Morgan [Thu, 19 Jun 2008 18:22:15 +0000 (11:22 -0700)]
Merge branch 'edit-as-new-fix'

15 years agoMerge branch 'attachments'
William Morgan [Thu, 19 Jun 2008 18:11:12 +0000 (11:11 -0700)]
Merge branch 'attachments'

15 years agoMerge branch 'maildir-speedup'
William Morgan [Thu, 19 Jun 2008 18:09:18 +0000 (11:09 -0700)]
Merge branch 'maildir-speedup'

15 years agoMerge branch 'non-ascii-message-id'
William Morgan [Thu, 19 Jun 2008 18:08:50 +0000 (11:08 -0700)]
Merge branch 'non-ascii-message-id'

15 years agoadd reply-from hook for user-defined handling of default from in replies
Marc Hartstein [Thu, 12 Jun 2008 16:05:46 +0000 (12:05 -0400)]
add reply-from hook for user-defined handling of default from in replies

The reply-from hook can now be used to process headers in a different manner
than the default for purposes of generating a default From: header when
replying to an email.

15 years agorespond_to? needs include_private argument
Decklin Foster [Wed, 18 Jun 2008 20:25:56 +0000 (16:25 -0400)]
respond_to? needs include_private argument

Sup started mysteriously bailing out on me today after an apt-get
update with stuff like this:

 --- ArgumentError from thread: main
wrong number of arguments (2 for 1)
/usr/lib/ruby/1.8/sup/index.rb:424:in `respond_to?'
/usr/lib/ruby/1.8/sup/index.rb:424:in `flatten'
/usr/lib/ruby/1.8/sup/index.rb:424:in `load_sources'
/usr/lib/ruby/1.8/sup/index.rb:108:in `load'
/usr/lib/ruby/1.8/sup/util.rb:497:in `send'
/usr/lib/ruby/1.8/sup/util.rb:497:in `method_missing'
/usr/bin/sup:122

I did some digging and it seems like when Array#flatten, in attempting
to figure out if it can flatten some list element recursively, sends
it :respond_to? with both arguments -- I didn't even know there was a
second one (defaults to false; see docs). But this only happened recently
or something.

Here's somewhere else this came up:
http://www.ruby-forum.com/topic/154938

So, the fix is exactly the same. Should work fine on old Ruby as well.

15 years agomake tags yellow again by default
William Morgan [Tue, 17 Jun 2008 21:29:48 +0000 (14:29 -0700)]
make tags yellow again by default

15 years agoallow signature hook to return :none for no signature
William Morgan [Fri, 6 Jun 2008 19:16:11 +0000 (12:16 -0700)]
allow signature hook to return :none for no signature

16 years agoadd fastthread dep to Rakefile
William Morgan [Wed, 4 Jun 2008 19:14:49 +0000 (12:14 -0700)]
add fastthread dep to Rakefile

16 years agoexception cleanup: synchronize access, and require fastthread
William Morgan [Wed, 4 Jun 2008 18:53:15 +0000 (11:53 -0700)]
exception cleanup: synchronize access, and require fastthread

16 years agoadding a reply-to hook for setting the default reply-to mode
Jeff Balogh [Sat, 31 May 2008 15:52:54 +0000 (11:52 -0400)]
adding a reply-to hook for setting the default reply-to mode

16 years agovarious color tweaks
William Morgan [Wed, 4 Jun 2008 02:11:34 +0000 (19:11 -0700)]
various color tweaks

- fix NME when there's no colors.yaml
- remove top-level "colors:" attribute of colors.yaml
- allow single attributes to be non-arrays
- flash at most one error
- other minor rejiggering

16 years agosup color customization
Lionel Ott [Sun, 25 May 2008 06:59:49 +0000 (08:59 +0200)]
sup color customization

- config file is located under $SUP_HOME/config.yaml and has the following
  structure

  :colors:
    :symbol_name:
      :fg: <color>
      :bg: <color>
      :attrs:
      - <attribute>

  <color> and <attribute> can take the standard values available in the curses
  environment.
  There may be multiple attributes, but they need not be present.
- if there is an error in the user provided config file a default value will
  be used (stored in the Colormap class)

16 years agobugfix: edit-as-new now preserves reply-to and references
William Morgan [Sat, 31 May 2008 17:04:58 +0000 (17:04 +0000)]
bugfix: edit-as-new now preserves reply-to and references

16 years agoadd attachment widget to thread-view-mode as well
William Morgan [Fri, 30 May 2008 15:38:37 +0000 (15:38 +0000)]
add attachment widget to thread-view-mode as well

16 years agoadded default maildir mtimes for earlier sources.yaml files
Grant Hollingworth [Mon, 26 May 2008 13:07:09 +0000 (09:07 -0400)]
added default maildir mtimes for earlier sources.yaml files

Fixes a bug introduced by 2e06f1eb. The YAML loading was explicitly passing
nil, overriding the {} default in initialize.

16 years agoMerge commit 'origin/unedited-newlines'
William Morgan [Sun, 25 May 2008 04:22:30 +0000 (21:22 -0700)]
Merge commit 'origin/unedited-newlines'

Conflicts:

lib/sup/modes/edit-message-mode.rb

16 years agoMerge commit 'origin/find-in-buffer-fix'
William Morgan [Sun, 25 May 2008 04:19:37 +0000 (21:19 -0700)]
Merge commit 'origin/find-in-buffer-fix'

16 years agoMerge commit 'origin/header-parsing-fix'
William Morgan [Sun, 25 May 2008 04:19:01 +0000 (21:19 -0700)]
Merge commit 'origin/header-parsing-fix'

16 years agoMerge commit 'origin/read-and-archive'
William Morgan [Sun, 25 May 2008 04:14:12 +0000 (21:14 -0700)]
Merge commit 'origin/read-and-archive'

16 years agoMerge commit 'origin/more-vi-keys'
William Morgan [Sun, 25 May 2008 04:12:46 +0000 (21:12 -0700)]
Merge commit 'origin/more-vi-keys'

16 years agoGmail style attachment processing
Marcus Williams [Tue, 29 Apr 2008 20:45:39 +0000 (21:45 +0100)]
Gmail style attachment processing

This patch adds:

 * the search terms "filename" and "filetype"
 * hidden/reserved attachment label to track attachments
 * new flag on thread index mode to denote an attachment '@'
 * a "has:attachment" search query.

You can now search for something like "from:phil* filetype:pdf" for all
messages from a person called phil with a pdf attachment. You can also
specify a file name for the attachment with "filename:(this is a
filename with spaces.txt)". You can use wildcards in the filename
("filename:test*.pdf"). You can search for all messages from someone
with attachments using "from:someone has:attachment"

It will require sup-sync -all to work against all sources, but attempts
to be backwards compatable with non-synced sources.

16 years agomake 'm' (compose) in thread-view-mode prompt for a to: address with a default
William Morgan [Sun, 25 May 2008 03:46:41 +0000 (20:46 -0700)]
make 'm' (compose) in thread-view-mode prompt for a to: address with a default

16 years agoa few trivial cleanups
William Morgan [Sun, 25 May 2008 03:43:55 +0000 (20:43 -0700)]
a few trivial cleanups

16 years agomaildir speedups
Ben Walton [Wed, 21 May 2008 01:00:38 +0000 (21:00 -0400)]
maildir speedups

These changes improve the speed of maildir scanning by caching the mtime of the
relevant (cur, new) subdirectories and skipping the poll if the cached mtime
indicates that there are no new files to look at.  We also save a syscall when
creating an id for a maildir entry by calling stat and using its properties
instead of File.mtime and File.size (which are wrappers around a stat call).

Currently, mtimes are cached across session in sources.yaml.  We don't cache
the message id -> filename mapping (yet?) though, so this doesn't currently buy
much.

16 years agoexact match gpg fix
ian [Wed, 21 May 2008 01:25:18 +0000 (21:25 -0400)]
exact match gpg fix

16 years agoadd ask-before-quitting stuff
Lionel Ott [Sat, 24 May 2008 19:03:26 +0000 (21:03 +0200)]
add ask-before-quitting stuff

old hotkey "q" now asks before quitting and "Q" quits immediately, the way
"q" used to work. ( should take care of
http://sup.rubyforge.org/ditz/issue-8aa7ea95f066fd0668452093b85903bd142905c9.html )

16 years agobugfix: gpg signing failures because when no trailing newlines
William Morgan [Mon, 19 May 2008 21:11:11 +0000 (14:11 -0700)]
bugfix: gpg signing failures because when no trailing newlines

when :edit_signature was false, and a non-empty signature file was used,
message bodies didn't end in a newline. for some reason GPG produces
signature output that assumes a trailing newline, even if you don't
have one.

so, now we force one if it ain't there.

16 years agofix exception when editting an empty MULTI_HEADER
Ben Walton [Fri, 16 May 2008 16:52:11 +0000 (12:52 -0400)]
fix exception when editting an empty MULTI_HEADER

In edit-message-mode, an exception is generated by pressing 'c' to edit the Cc
field when no value currently exists.  This is due to calling Array.join() on
nil.  This patch addresses the execption by forcing an empty array when the
current value is nil.