sup 0.8.1 → 0.9
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of sup might be problematic. Click here for more details.
- data/CONTRIBUTORS +13 -6
- data/History.txt +19 -0
- data/ReleaseNotes +35 -0
- data/bin/sup +82 -77
- data/bin/sup-add +7 -7
- data/bin/sup-config +104 -85
- data/bin/sup-dump +4 -5
- data/bin/sup-recover-sources +9 -10
- data/bin/sup-sync +121 -100
- data/bin/sup-sync-back +18 -15
- data/bin/sup-tweak-labels +24 -21
- data/lib/sup.rb +53 -33
- data/lib/sup/account.rb +0 -2
- data/lib/sup/buffer.rb +47 -22
- data/lib/sup/colormap.rb +6 -6
- data/lib/sup/contact.rb +0 -2
- data/lib/sup/crypto.rb +34 -23
- data/lib/sup/draft.rb +6 -14
- data/lib/sup/ferret_index.rb +471 -0
- data/lib/sup/hook.rb +30 -43
- data/lib/sup/hook.rb.BACKUP.8625.rb +158 -0
- data/lib/sup/hook.rb.BACKUP.8681.rb +158 -0
- data/lib/sup/hook.rb.BASE.8625.rb +155 -0
- data/lib/sup/hook.rb.BASE.8681.rb +155 -0
- data/lib/sup/hook.rb.LOCAL.8625.rb +142 -0
- data/lib/sup/hook.rb.LOCAL.8681.rb +142 -0
- data/lib/sup/hook.rb.REMOTE.8625.rb +145 -0
- data/lib/sup/hook.rb.REMOTE.8681.rb +145 -0
- data/lib/sup/imap.rb +18 -8
- data/lib/sup/index.rb +70 -528
- data/lib/sup/interactive-lock.rb +74 -0
- data/lib/sup/keymap.rb +26 -26
- data/lib/sup/label.rb +2 -4
- data/lib/sup/logger.rb +54 -35
- data/lib/sup/maildir.rb +41 -6
- data/lib/sup/mbox.rb +1 -1
- data/lib/sup/mbox/loader.rb +18 -6
- data/lib/sup/mbox/ssh-file.rb +1 -7
- data/lib/sup/message-chunks.rb +36 -23
- data/lib/sup/message.rb +126 -46
- data/lib/sup/mode.rb +3 -2
- data/lib/sup/modes/console-mode.rb +108 -0
- data/lib/sup/modes/edit-message-mode.rb +15 -5
- data/lib/sup/modes/inbox-mode.rb +2 -4
- data/lib/sup/modes/label-list-mode.rb +1 -1
- data/lib/sup/modes/line-cursor-mode.rb +18 -18
- data/lib/sup/modes/log-mode.rb +29 -16
- data/lib/sup/modes/poll-mode.rb +7 -9
- data/lib/sup/modes/reply-mode.rb +5 -3
- data/lib/sup/modes/scroll-mode.rb +2 -2
- data/lib/sup/modes/search-results-mode.rb +9 -11
- data/lib/sup/modes/text-mode.rb +2 -2
- data/lib/sup/modes/thread-index-mode.rb +26 -16
- data/lib/sup/modes/thread-view-mode.rb +84 -39
- data/lib/sup/person.rb +6 -8
- data/lib/sup/poll.rb +46 -47
- data/lib/sup/rfc2047.rb +1 -5
- data/lib/sup/sent.rb +27 -20
- data/lib/sup/source.rb +90 -13
- data/lib/sup/textfield.rb +4 -4
- data/lib/sup/thread.rb +15 -13
- data/lib/sup/undo.rb +0 -1
- data/lib/sup/update.rb +0 -1
- data/lib/sup/util.rb +51 -43
- data/lib/sup/xapian_index.rb +566 -0
- metadata +57 -46
- data/lib/sup/suicide.rb +0 -36
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sup
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: "0.9"
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- William Morgan
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-
|
12
|
+
date: 2009-10-01 14:34:52 -04:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -141,63 +141,74 @@ files:
|
|
141
141
|
- bin/sup-sync
|
142
142
|
- bin/sup-sync-back
|
143
143
|
- bin/sup-tweak-labels
|
144
|
-
- lib/ncurses.rb
|
145
144
|
- lib/sup.rb
|
146
|
-
- lib/
|
147
|
-
- lib/sup/
|
148
|
-
- lib/sup/
|
149
|
-
- lib/sup/
|
150
|
-
- lib/sup/person.rb
|
151
|
-
- lib/sup/rfc2047.rb
|
152
|
-
- lib/sup/account.rb
|
153
|
-
- lib/sup/buffer.rb
|
154
|
-
- lib/sup/horizontal-selector.rb
|
155
|
-
- lib/sup/textfield.rb
|
145
|
+
- lib/ncurses.rb
|
146
|
+
- lib/sup/hook.rb.REMOTE.8625.rb
|
147
|
+
- lib/sup/poll.rb
|
148
|
+
- lib/sup/hook.rb.BASE.8625.rb
|
156
149
|
- lib/sup/source.rb
|
157
|
-
- lib/sup/
|
150
|
+
- lib/sup/crypto.rb
|
151
|
+
- lib/sup/horizontal-selector.rb
|
152
|
+
- lib/sup/mode.rb
|
153
|
+
- lib/sup/interactive-lock.rb
|
154
|
+
- lib/sup/hook.rb.BACKUP.8681.rb
|
155
|
+
- lib/sup/account.rb
|
156
|
+
- lib/sup/imap.rb
|
158
157
|
- lib/sup/maildir.rb
|
158
|
+
- lib/sup/contact.rb
|
159
|
+
- lib/sup/message.rb
|
160
|
+
- lib/sup/label.rb
|
161
|
+
- lib/sup/index.rb
|
162
|
+
- lib/sup/keymap.rb
|
163
|
+
- lib/sup/hook.rb.LOCAL.8681.rb
|
164
|
+
- lib/sup/rfc2047.rb
|
159
165
|
- lib/sup/tagger.rb
|
166
|
+
- lib/sup/util.rb
|
167
|
+
- lib/sup/textfield.rb
|
168
|
+
- lib/sup/xapian_index.rb
|
169
|
+
- lib/sup/hook.rb.BACKUP.8625.rb
|
170
|
+
- lib/sup/sent.rb
|
160
171
|
- lib/sup/undo.rb
|
161
|
-
- lib/sup/
|
162
|
-
- lib/sup/hook.rb
|
163
|
-
- lib/sup/
|
172
|
+
- lib/sup/mbox.rb
|
173
|
+
- lib/sup/hook.rb.LOCAL.8625.rb
|
174
|
+
- lib/sup/person.rb
|
175
|
+
- lib/sup/ferret_index.rb
|
176
|
+
- lib/sup/thread.rb
|
164
177
|
- lib/sup/update.rb
|
165
|
-
- lib/sup/
|
178
|
+
- lib/sup/hook.rb
|
166
179
|
- lib/sup/message-chunks.rb
|
167
|
-
- lib/sup/
|
168
|
-
- lib/sup/
|
169
|
-
- lib/sup/
|
170
|
-
- lib/sup/
|
171
|
-
- lib/sup/
|
172
|
-
- lib/sup/
|
173
|
-
- lib/sup/mode.rb
|
174
|
-
- lib/sup/contact.rb
|
175
|
-
- lib/sup/keymap.rb
|
176
|
-
- lib/sup/modes/resume-mode.rb
|
177
|
-
- lib/sup/modes/poll-mode.rb
|
178
|
-
- lib/sup/modes/thread-view-mode.rb
|
180
|
+
- lib/sup/colormap.rb
|
181
|
+
- lib/sup/buffer.rb
|
182
|
+
- lib/sup/logger.rb
|
183
|
+
- lib/sup/hook.rb.REMOTE.8681.rb
|
184
|
+
- lib/sup/hook.rb.BASE.8681.rb
|
185
|
+
- lib/sup/draft.rb
|
179
186
|
- lib/sup/modes/label-search-results-mode.rb
|
180
|
-
- lib/sup/modes/
|
181
|
-
- lib/sup/modes/
|
182
|
-
- lib/sup/modes/
|
183
|
-
- lib/sup/modes/edit-message-mode.rb
|
187
|
+
- lib/sup/modes/completion-mode.rb
|
188
|
+
- lib/sup/modes/thread-index-mode.rb
|
189
|
+
- lib/sup/modes/reply-mode.rb
|
184
190
|
- lib/sup/modes/forward-mode.rb
|
191
|
+
- lib/sup/modes/compose-mode.rb
|
192
|
+
- lib/sup/modes/thread-view-mode.rb
|
185
193
|
- lib/sup/modes/person-search-results-mode.rb
|
194
|
+
- lib/sup/modes/help-mode.rb
|
195
|
+
- lib/sup/modes/file-browser-mode.rb
|
196
|
+
- lib/sup/modes/edit-message-mode.rb
|
197
|
+
- lib/sup/modes/console-mode.rb
|
198
|
+
- lib/sup/modes/contact-list-mode.rb
|
199
|
+
- lib/sup/modes/poll-mode.rb
|
186
200
|
- lib/sup/modes/inbox-mode.rb
|
187
|
-
- lib/sup/modes/
|
201
|
+
- lib/sup/modes/log-mode.rb
|
188
202
|
- lib/sup/modes/scroll-mode.rb
|
189
|
-
- lib/sup/modes/search-results-mode.rb
|
190
|
-
- lib/sup/modes/compose-mode.rb
|
191
|
-
- lib/sup/modes/line-cursor-mode.rb
|
192
|
-
- lib/sup/modes/thread-index-mode.rb
|
193
|
-
- lib/sup/modes/contact-list-mode.rb
|
194
|
-
- lib/sup/modes/completion-mode.rb
|
195
|
-
- lib/sup/modes/file-browser-mode.rb
|
196
|
-
- lib/sup/modes/reply-mode.rb
|
197
203
|
- lib/sup/modes/text-mode.rb
|
198
|
-
- lib/sup/
|
199
|
-
- lib/sup/
|
204
|
+
- lib/sup/modes/label-list-mode.rb
|
205
|
+
- lib/sup/modes/resume-mode.rb
|
206
|
+
- lib/sup/modes/line-cursor-mode.rb
|
207
|
+
- lib/sup/modes/search-results-mode.rb
|
208
|
+
- lib/sup/modes/buffer-list-mode.rb
|
200
209
|
- lib/sup/mbox/ssh-file.rb
|
210
|
+
- lib/sup/mbox/loader.rb
|
211
|
+
- lib/sup/mbox/ssh-loader.rb
|
201
212
|
has_rdoc: false
|
202
213
|
homepage: http://sup.rubyforge.org/
|
203
214
|
post_install_message:
|
@@ -220,7 +231,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
220
231
|
requirements: []
|
221
232
|
|
222
233
|
rubyforge_project:
|
223
|
-
rubygems_version: 1.
|
234
|
+
rubygems_version: 1.3.1
|
224
235
|
signing_key:
|
225
236
|
specification_version: 2
|
226
237
|
summary: A console-based email client with the best features of GMail, mutt, and emacs. Features full text search, labels, tagged operations, multiple buffers, recent contacts, and more.
|
data/lib/sup/suicide.rb
DELETED
@@ -1,36 +0,0 @@
|
|
1
|
-
module Redwood
|
2
|
-
|
3
|
-
class SuicideManager
|
4
|
-
include Singleton
|
5
|
-
|
6
|
-
DELAY = 5
|
7
|
-
|
8
|
-
def initialize fn
|
9
|
-
@fn = fn
|
10
|
-
@die = false
|
11
|
-
@thread = nil
|
12
|
-
self.class.i_am_the_instance self
|
13
|
-
FileUtils.rm_f @fn
|
14
|
-
end
|
15
|
-
|
16
|
-
bool_reader :die
|
17
|
-
|
18
|
-
def start
|
19
|
-
@thread = Redwood::reporting_thread("suicide watch") do
|
20
|
-
while true
|
21
|
-
sleep DELAY
|
22
|
-
if File.exists? @fn
|
23
|
-
FileUtils.rm_f @fn
|
24
|
-
@die = true
|
25
|
-
end
|
26
|
-
end
|
27
|
-
end
|
28
|
-
end
|
29
|
-
|
30
|
-
def stop
|
31
|
-
@thread.kill if @thread
|
32
|
-
@thread = nil
|
33
|
-
end
|
34
|
-
end
|
35
|
-
|
36
|
-
end
|