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.

Files changed (67) hide show
  1. data/CONTRIBUTORS +13 -6
  2. data/History.txt +19 -0
  3. data/ReleaseNotes +35 -0
  4. data/bin/sup +82 -77
  5. data/bin/sup-add +7 -7
  6. data/bin/sup-config +104 -85
  7. data/bin/sup-dump +4 -5
  8. data/bin/sup-recover-sources +9 -10
  9. data/bin/sup-sync +121 -100
  10. data/bin/sup-sync-back +18 -15
  11. data/bin/sup-tweak-labels +24 -21
  12. data/lib/sup.rb +53 -33
  13. data/lib/sup/account.rb +0 -2
  14. data/lib/sup/buffer.rb +47 -22
  15. data/lib/sup/colormap.rb +6 -6
  16. data/lib/sup/contact.rb +0 -2
  17. data/lib/sup/crypto.rb +34 -23
  18. data/lib/sup/draft.rb +6 -14
  19. data/lib/sup/ferret_index.rb +471 -0
  20. data/lib/sup/hook.rb +30 -43
  21. data/lib/sup/hook.rb.BACKUP.8625.rb +158 -0
  22. data/lib/sup/hook.rb.BACKUP.8681.rb +158 -0
  23. data/lib/sup/hook.rb.BASE.8625.rb +155 -0
  24. data/lib/sup/hook.rb.BASE.8681.rb +155 -0
  25. data/lib/sup/hook.rb.LOCAL.8625.rb +142 -0
  26. data/lib/sup/hook.rb.LOCAL.8681.rb +142 -0
  27. data/lib/sup/hook.rb.REMOTE.8625.rb +145 -0
  28. data/lib/sup/hook.rb.REMOTE.8681.rb +145 -0
  29. data/lib/sup/imap.rb +18 -8
  30. data/lib/sup/index.rb +70 -528
  31. data/lib/sup/interactive-lock.rb +74 -0
  32. data/lib/sup/keymap.rb +26 -26
  33. data/lib/sup/label.rb +2 -4
  34. data/lib/sup/logger.rb +54 -35
  35. data/lib/sup/maildir.rb +41 -6
  36. data/lib/sup/mbox.rb +1 -1
  37. data/lib/sup/mbox/loader.rb +18 -6
  38. data/lib/sup/mbox/ssh-file.rb +1 -7
  39. data/lib/sup/message-chunks.rb +36 -23
  40. data/lib/sup/message.rb +126 -46
  41. data/lib/sup/mode.rb +3 -2
  42. data/lib/sup/modes/console-mode.rb +108 -0
  43. data/lib/sup/modes/edit-message-mode.rb +15 -5
  44. data/lib/sup/modes/inbox-mode.rb +2 -4
  45. data/lib/sup/modes/label-list-mode.rb +1 -1
  46. data/lib/sup/modes/line-cursor-mode.rb +18 -18
  47. data/lib/sup/modes/log-mode.rb +29 -16
  48. data/lib/sup/modes/poll-mode.rb +7 -9
  49. data/lib/sup/modes/reply-mode.rb +5 -3
  50. data/lib/sup/modes/scroll-mode.rb +2 -2
  51. data/lib/sup/modes/search-results-mode.rb +9 -11
  52. data/lib/sup/modes/text-mode.rb +2 -2
  53. data/lib/sup/modes/thread-index-mode.rb +26 -16
  54. data/lib/sup/modes/thread-view-mode.rb +84 -39
  55. data/lib/sup/person.rb +6 -8
  56. data/lib/sup/poll.rb +46 -47
  57. data/lib/sup/rfc2047.rb +1 -5
  58. data/lib/sup/sent.rb +27 -20
  59. data/lib/sup/source.rb +90 -13
  60. data/lib/sup/textfield.rb +4 -4
  61. data/lib/sup/thread.rb +15 -13
  62. data/lib/sup/undo.rb +0 -1
  63. data/lib/sup/update.rb +0 -1
  64. data/lib/sup/util.rb +51 -43
  65. data/lib/sup/xapian_index.rb +566 -0
  66. metadata +57 -46
  67. 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.8.1
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-06-15 08:11:54 -07:00
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/sup/draft.rb
147
- - lib/sup/imap.rb
148
- - lib/sup/thread.rb
149
- - lib/sup/logger.rb
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/suicide.rb
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/colormap.rb
162
- - lib/sup/hook.rb
163
- - lib/sup/index.rb
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/util.rb
178
+ - lib/sup/hook.rb
166
179
  - lib/sup/message-chunks.rb
167
- - lib/sup/label.rb
168
- - lib/sup/mbox.rb
169
- - lib/sup/poll.rb
170
- - lib/sup/message.rb
171
- - lib/sup/crypto.rb
172
- - lib/sup/sent.rb
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/label-list-mode.rb
181
- - lib/sup/modes/help-mode.rb
182
- - lib/sup/modes/log-mode.rb
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/buffer-list-mode.rb
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/mbox/ssh-loader.rb
199
- - lib/sup/mbox/loader.rb
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.2.0
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.
@@ -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