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

16 years ago strip out non-ascii characters from message ids, and improve documentation
William Morgan [Sun, 11 May 2008 23:18:11 +0000 (16:18 -0700)]
 strip out non-ascii characters from message ids, and improve documentation

16 years agobugfix in in-buffer search: subclass search_goto_line not being called
William Morgan [Thu, 1 May 2008 22:25:48 +0000 (15:25 -0700)]
bugfix in in-buffer search: subclass search_goto_line not being called

16 years agoparenthesized argument to quell warning
Grant Hollingworth [Mon, 28 Apr 2008 15:26:16 +0000 (11:26 -0400)]
parenthesized argument to quell warning

16 years agoremove TODO from manifest
William Morgan [Thu, 1 May 2008 21:50:32 +0000 (14:50 -0700)]
remove TODO from manifest

16 years agosimple hook that runs when thread is marked as spam
Marcus Williams [Thu, 10 Apr 2008 10:31:55 +0000 (11:31 +0100)]
simple hook that runs when thread is marked as spam

This hook adds the ability to configure further actions that take place
when a user marks a thread as spam in sup.

mark-as-spam
------------
File: $HOME/.sup/hooks/mark-as-spam.rb
This hook is run when a thread is marked as spam
Variables:
  thread: The message thread being marked as spam.

16 years agoadd tab-completion to multi add labels (;l)
Marc Hartstein [Fri, 4 Apr 2008 19:51:47 +0000 (15:51 -0400)]
add tab-completion to multi add labels (;l)

16 years agoreload label list on focus
Grant Hollingworth [Tue, 1 Apr 2008 21:49:36 +0000 (17:49 -0400)]
reload label list on focus

This ensures the unread count for each label is correct.

I often read my list mail from the label list. When I close the thread index
and go back to the label list the unread message count is wrong. This bugs me.

I'm sure a less brutal way of doing this is possible with the UpdateManager
but that seems complicated and therefore prone to errors.

16 years agoadd 'A' (archive and mark read) command to inbox-mode
Marc Hartstein [Thu, 17 Apr 2008 20:43:29 +0000 (16:43 -0400)]
add 'A' (archive and mark read) command to inbox-mode

For some email, the only meaningful content is in the subject line.  It is thus
useful to be able to dispatch this email with a single command after glancing
at it.

As 'N' moves the cursor, and 'a' doesn't clear the "unread" flag, it is
currently necessary to press "Nka" to do this on a single thread.

The 'A' command does this simple task with a single, easy-to-remember,
keystroke, but makes it harder to hit accidentally than 'a'.  A multi_ mode is
supplied.

16 years agofix alignment when printing help screen if \C-x is bound.
Marc Hartstein [Thu, 24 Apr 2008 00:43:13 +0000 (20:43 -0400)]
fix alignment when printing help screen if \C-x is bound.

Width calculations were getting off by one, causing truncated definitions.

16 years agovi-style scroll keys
Marc Hartstein [Thu, 24 Apr 2008 00:43:12 +0000 (20:43 -0400)]
vi-style scroll keys

Adds ^f/^b ^d/^u ^e/^y keybindings to scroll-mode.

16 years agofixed dlopen of libc for os x
Grant Hollingworth [Thu, 24 Apr 2008 23:10:24 +0000 (19:10 -0400)]
fixed dlopen of libc for os x

OS X likes to do its own thing.

16 years agobugfix: empty headers are ignored
William Morgan [Sat, 26 Apr 2008 21:37:46 +0000 (14:37 -0700)]
bugfix: empty headers are ignored

16 years agoadd unit tests for mbox parsing that currently fail OMG TEST-DRIVEN DEVELOPMENT
William Morgan [Sat, 26 Apr 2008 21:25:27 +0000 (14:25 -0700)]
add unit tests for mbox parsing that currently fail OMG TEST-DRIVEN DEVELOPMENT

16 years agoi suck. move BIN_VERSION and LIB_VERSION back to "git"
William Morgan [Fri, 25 Apr 2008 16:36:42 +0000 (09:36 -0700)]
i suck. move BIN_VERSION and LIB_VERSION back to "git"

16 years agohandle nil header values in crypto recipient key selection
Nicolas Pouillard [Fri, 4 Apr 2008 16:01:45 +0000 (18:01 +0200)]
handle nil header values in crypto recipient key selection

16 years agoadd CONTRIBUTORS and update manifest and webpage
William Morgan [Wed, 23 Apr 2008 18:35:30 +0000 (11:35 -0700)]
add CONTRIBUTORS and update manifest and webpage

16 years agotweak release-script to generate CONTRIBUTORS
William Morgan [Wed, 23 Apr 2008 18:33:41 +0000 (11:33 -0700)]
tweak release-script to generate CONTRIBUTORS

16 years agoremove deprecated TODO
William Morgan [Wed, 23 Apr 2008 18:29:59 +0000 (11:29 -0700)]
remove deprecated TODO

16 years agobugfix: forward/reply without saving in the editor drops all newlines
William Morgan [Wed, 23 Apr 2008 01:30:23 +0000 (18:30 -0700)]
bugfix: forward/reply without saving in the editor drops all newlines

16 years agobugfix: exception when forwarded attachment is not a known mime type
William Morgan [Wed, 23 Apr 2008 01:29:39 +0000 (18:29 -0700)]
bugfix: exception when forwarded attachment is not a known mime type

16 years agowrite sup-{exception-log, unable-to-decode}.txt in ~/.sup
Nicolas Pouillard [Thu, 3 Apr 2008 14:16:19 +0000 (16:16 +0200)]
write sup-{exception-log, unable-to-decode}.txt in ~/.sup

More precisely new destinations are:
  - ~/.sup/exception-log.txt
  - ~/.sup/unable-to-decode.txt
This patch avoid some kind of pollution.

16 years agouse read instead of readlines.join
Nicolas Pouillard [Fri, 4 Apr 2008 16:00:56 +0000 (18:00 +0200)]
use read instead of readlines.join

16 years agofinally apply ncurses wide-character patch from pierre baillet
William Morgan [Tue, 22 Apr 2008 21:29:26 +0000 (14:29 -0700)]
finally apply ncurses wide-character patch from pierre baillet

16 years agoremove link to releasenotes because it's too hard to maintain
William Morgan [Tue, 22 Apr 2008 16:57:12 +0000 (09:57 -0700)]
remove link to releasenotes because it's too hard to maintain

16 years agouse rsync instead of ssh for webpage transfers, etc
William Morgan [Tue, 22 Apr 2008 16:55:47 +0000 (09:55 -0700)]
use rsync instead of ssh for webpage transfers, etc

16 years agoadd link to ditz page
William Morgan [Tue, 22 Apr 2008 16:54:59 +0000 (09:54 -0700)]
add link to ditz page

16 years agocorrect release script
William Morgan [Tue, 22 Apr 2008 16:52:47 +0000 (09:52 -0700)]
correct release script

16 years agobump version to 0.5
William Morgan [Tue, 22 Apr 2008 16:35:41 +0000 (09:35 -0700)]
bump version to 0.5

16 years agoupdate History.txt for 0.5
William Morgan [Tue, 22 Apr 2008 16:33:21 +0000 (09:33 -0700)]
update History.txt for 0.5

16 years agobump version number in webpage
William Morgan [Tue, 22 Apr 2008 16:32:58 +0000 (09:32 -0700)]
bump version number in webpage

16 years agoadd ReleaseNotes
William Morgan [Tue, 22 Apr 2008 16:27:38 +0000 (09:27 -0700)]
add ReleaseNotes

16 years agoadd release script
William Morgan [Tue, 22 Apr 2008 15:55:21 +0000 (08:55 -0700)]
add release script

16 years agorejigger webpage quotes
William Morgan [Tue, 22 Apr 2008 16:32:00 +0000 (09:32 -0700)]
rejigger webpage quotes

16 years agoadd upload_report task to Rakefile
William Morgan [Tue, 22 Apr 2008 15:55:36 +0000 (08:55 -0700)]
add upload_report task to Rakefile

16 years agoMerge branches 'completions-hook', 'find-horizontally', 'startup-hook' and 'message...
William Morgan [Sun, 20 Apr 2008 22:07:52 +0000 (15:07 -0700)]
Merge branches 'completions-hook', 'find-horizontally', 'startup-hook' and 'message-id-normalization'

16 years agobugfix: save_yaml_object not using File.stat correctly
William Morgan [Tue, 15 Apr 2008 16:14:39 +0000 (09:14 -0700)]
bugfix: save_yaml_object not using File.stat correctly

16 years agoadd extra-contact-addresses hook
William Morgan [Sun, 6 Apr 2008 00:02:35 +0000 (17:02 -0700)]
add extra-contact-addresses hook

16 years agoadd .ditz-config to .gitignore
William Morgan [Fri, 4 Apr 2008 17:41:06 +0000 (10:41 -0700)]
add .ditz-config to .gitignore

16 years agoMerge branch 'master' into next
William Morgan [Tue, 1 Apr 2008 15:02:05 +0000 (08:02 -0700)]
Merge branch 'master' into next

16 years agounmunge Marcus's icon & window title patch (sorry!)
William Morgan [Tue, 1 Apr 2008 15:01:35 +0000 (08:01 -0700)]
unmunge Marcus's icon & window title patch (sorry!)

16 years agoMerge branch 'master' into next
William Morgan [Wed, 26 Mar 2008 16:38:41 +0000 (09:38 -0700)]
Merge branch 'master' into next

16 years agohandle carriage returns in mbox files
William Morgan [Wed, 26 Mar 2008 16:38:34 +0000 (09:38 -0700)]
handle carriage returns in mbox files

16 years agoMerge branch 'master' into next
William Morgan [Wed, 26 Mar 2008 16:13:42 +0000 (09:13 -0700)]
Merge branch 'master' into next

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 agoMerge branch 'master' into next
William Morgan [Wed, 26 Mar 2008 16:03:45 +0000 (09:03 -0700)]
Merge branch 'master' into next

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 agoMerge branch 'thread-by-subj-fix' into next
William Morgan [Mon, 17 Mar 2008 16:34:52 +0000 (09:34 -0700)]
Merge branch 'thread-by-subj-fix' into next

Conflicts:

lib/sup/index.rb

16 years agoweird ferret workaround: stringify thread-by-subject queries
William Morgan [Mon, 17 Mar 2008 16:27:46 +0000 (09:27 -0700)]
weird ferret workaround: stringify thread-by-subject queries

16 years agoindexing bugfix: normalize subjects before indexing
William Morgan [Mon, 17 Mar 2008 16:34:44 +0000 (09:34 -0700)]
indexing bugfix: normalize subjects before indexing

16 years agothreading bugfix when threading by subject
William Morgan [Mon, 17 Mar 2008 16:26:28 +0000 (09:26 -0700)]
threading bugfix when threading by subject

16 years agoMerge branch 'master' into next
William Morgan [Sun, 9 Mar 2008 17:44:01 +0000 (10:44 -0700)]
Merge branch 'master' into next

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 agoMerge branch 'speedy-index' into next
William Morgan [Fri, 29 Feb 2008 03:11:09 +0000 (19:11 -0800)]
Merge branch 'speedy-index' into next

Conflicts:

lib/sup/poll.rb

16 years agobugfix: make sup-sync work again under new index-writing scheme
William Morgan [Fri, 29 Feb 2008 02:55:19 +0000 (18:55 -0800)]
bugfix: make sup-sync work again under new index-writing scheme

Index#sync_message and PollManager#add_messages_from now take an
:force_overwrite option, which is used by sup-sync to override the
new conservative "document copy" semantics of index updates so that
index updates actually happen.

16 years agoremove minor redundancies
William Morgan [Fri, 29 Feb 2008 02:51:58 +0000 (18:51 -0800)]
remove minor redundancies

16 years agoremove logging messages
William Morgan [Fri, 29 Feb 2008 02:30:33 +0000 (18:30 -0800)]
remove logging messages

16 years agoMerge branch 'speedy-index' into next
William Morgan [Fri, 29 Feb 2008 01:21:52 +0000 (17:21 -0800)]
Merge branch 'speedy-index' into next