/
ChangeLog
383 lines (304 loc) · 21.2 KB
/
ChangeLog
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
2009-11-13 Satoshi Yatagawa <yata_github@y.hauN.org>
* twittering-mode.el (twittering-convert-last-timeline-retrieved):
New defun to keep a backward compatibility.
(twittering-last-host, twittering-last-method): Call it.
2009-11-09 Satoshi Yatagawa <yata_github@y.hauN.org>
* twittering-mode.el (twittering-mode-map): Bind "L" to
`twittering-other-user-list-interactive'.
* twittering-mode.el (twittering-other-user-list-interactive): Set
default username interactively.
(twittering-other-user-list-interactive): Fix typo.
* twittering-mode.el (twittering-make-http-request): Use let
instead of let*.
2009-11-07 Satoshi Yatagawa <yata_github@y.hauN.org>
* twittering-mode.el: Add (preliminary) Lists support.
* twittering-mode.el (twittering-other-user-list-interactive): New
command.
* twittering-mode.el (twittering-get-list): New defun.
(twittering-get-list-index): Likewise.
(twittering-http-get-list-index-sentinel): Likewise.
* twittering-mode.el (twittering-last-timeline-retrieved): Now it
expects a list, not a string.
(twittering-last-host, twittering-last-method): New defuns.
(twittering-list-index-retrieved): New defvar.
* twittering-mode.el (twittering-get-twits): Rename from
twittering-get-timeline.
(twittering-get-timeline): Call twittering-get-twits instead
of (previous) twittering-get-timeline.
(twittering-current-timeline): Likewise.
(twittering-erase-old-statuses): Likewise.
(twittering-goto-next-status): Likewise.
* twittering-mode.el (twittering-make-http-request): New defun.
(twittering-http-get): Use it.
(twittering-http-post): Likewise.
* twittering-mode.el (twittering-http-get): Add new local variable
`server' which point to "twitter.com", "api.twitter.com", or your
nearest proxy server. Otherwise `host' always point to
"twitter.com" or "api.twitter.com".
(twittering-http-post): Likewise.
* twittering-mode.el (twittering-http-post): Add new argument
`host'.
(twittering-http-post): Change handling of the argument
`method'. Now it expects `(concat method-class "/" method)'.
* twittering-mode.el (twittering-update-status-if-not-blank):
Adjust for change to twittering-http-post.
(twittering-update-lambda): Likewise.
(twittering-update-jojo): Likewise.
* twittering-mode.el (twittering-get-twits): Set parameter `count'
from twittering-get-count if existing.
2009-09-01 Alberto Garcia <agarcia@igalia.com>
* twittering-mode.el (twittering-retweet):
Don't set the original status ID when retweeting.
2009-08-23 Yuto Hayamizu <y.hayamizu@gmail.com>
* twittering-mode.el (twittering-keybind-message): add. displaying important keybindings in minibuffer
2009-08-22 Yuto Hayamizu <y.hayamizu@gmail.com>
* twittering-mode.el (twittering-get-username): add
(twittering-get-password): changed prompt
(twittering-status-to-status-datum): added a new text property 'uri-in-text'
(twittering-enter): use 'uri-in-text'
2009-08-19 Alberto Garcia <agarcia@igalia.com>
* twittering-mode.el
(twittering-image-type):
Use external 'file' program if available to detect image types,
and store the results in memory to avoid having to call it once
and again.
(twittering-format-status):
Pass full image path to `twittering-image-type'
2009-06-18 Alberto Garcia <agarcia@igalia.com>
* twittering-mode.el (twittering-http-get)
(twittering-http-get-default-sentinel)
(twittering-get-timeline, twittering-mode-map)
(twittering-current-timeline-noninteractive)
(twittering-current-timeline, twittering-erase-old-statuses):
Get rid of the `twittering-last-timeline-interactive' global
variable.
2009-06-18 Tsuyoshi CHO <Tsuyoshi.CHO+develop@Gmail.com>
* twittering-mode.el (twittering-sign-simple-string)
(twittering-sign-string-default-function)
(twittering-sign-string-function, twittering-sign-string): Add
new.
(twittering-update-status-if-not-blank): Fix params, support sign.
2009-06-18 Tsuyoshi CHO <Tsuyoshi.CHO+develop@Gmail.com>
* twittering-mode.el (twittering-mode-map)
(twittering-format-status, twittering-retweet): Add new feature
ReTweet
2009-06-18 Alberto Garcia <agarcia@igalia.com>
* twittering-mode.el
(twittering-status-to-status-datum):
Read 'in_reply_to_status_id' and 'in_reply_to_user_id' attributes.
(twittering-format-status):
Add new '%r' format string for " in reply to user".
(twittering-update-status-if-not-blank):
Code refactoring. No need to use (format) to convert a string.
2009-06-18 Tsuyoshi CHO <Tsuyoshi.CHO+develop@Gmail.com>
* twittering-mode.el (twittering-status-format)
(twittering-format-status, twittering-status-to-status-datum)
(twittering-update-status-if-not-blank, twittering-enter): Fix
in_reply_to_status_id support not work problem, and marge Alberl
patch below.
2009-06-17 Tsuyoshi CHO <Tsuyoshi.CHO+develop@Gmail.com>
* twittering-mode.el (twittering-last-timeline-interactive): New
add variable.
(twittering-new-tweets-count): Ditto.
(twittering-new-tweets-hook): Ditto.
(twittering-mode-map): Add new binding v/V
(twittering-http-get-default-sentinel): Add new hook support
`twittering-new-tweets-hook'.
(twittering-render-timeline, twittering-get-timeline): Support
console emacs.
(twittering-current-timeline-interactive): Add new function.
(twittering-current-timeline-noninteractive): Ditto.
(twittering-other-user-timeline): Ditto.
(twittering-other-user-timeline-interactive): Ditto.
(twittering-status-to-status-datum): Add support status id and
reply to id.
(twittering-update-status-if-not-blank): Ditto.
(twittering-update-status-from-minibuffer): Ditto.
2009-03-12 Tsuyoshi CHO <Tsuyoshi.CHO+develop@Gmail.com>
* twittering-mode.el (twittering-start): Update target chagne to
current.
2009-03-12 Tsuyoshi CHO <Tsuyoshi.CHO+develop@Gmail.com>
* twittering-mode.el: Append new methods by Alberto Garcia
<agarcia@igalia.com>'s patch.
(twittering-get-timeline): Add new general method. Old name is
`twittering-friends-timeline'.
(twittering-friends-timeline): Renew use general method.
(twittering-replies-timeline): Add new.
(twittering-public-timeline): Ditto.
(twittering-user-timeline): Ditto.
(twittering-current-timeline): Ditto.
(twittering-last-timeline-retrieved): Add new variable.
(twittering-mode-map): Add new key binding.
(twittering-erase-old-statuses): Support multi method.
(twittering-timer): Comment update.
(twittering-icon-mode): Ditto.
(twittering-http-post): Ditto.
(twittering-get-response-body): Ditto.
(twittering-cache-status-datum): Ditto and Fix renaming.
(twittering-timeline-data, twittering-timeline-last-update):
Rename.
(twittering-render-timeline): Ditto.
(twittering-icon-mode): Fix renaming.
(twittering-http-get-default-sentinel): Ditto.
(twittering-format-status): Fix indentation.
2009-03-09 Tsuyoshi CHO <Tsuyoshi.CHO+develop@Gmail.com>
* twittering-mode.el (twittering-mode): Add keybind in Major mode
docstirng by Alex Schröder <kensanata@gmail.com>
2008-08-03 Tsuyoshi CHO <Tsuyoshi.CHO+develop@Gmail.com>
* twittering-mode.el (twittering-mode-version): Update to 0.6
* twittering-mode.el (twittering-friends-timeline-last-update): 新
規変数
(twittering-setftime, twittering-local-strftime)
(twittering-global-strftime): `twittering-local-strftime'を機能分
割
(twittering-http-get): オプション引数`parameters'を追加、他調整
(twittering-http-post): 同上の調整
(twittering-status-to-status-datum): last-updateを更新する処理を追
加
(twittering-friends-timeline, twittering-erase-old-statuses):
statusのupdate時にsinceをパラメータと指定する処理をサポート
2008-07-21 Tsuyoshi CHO <Tsuyoshi.CHO+develop@Gmail.com>
* twittering-mode.el (twittering-http-get, twittering-http-post):
改行が1つ多かったので除去
2008-05-11 Tsuyoshi CHO <Tsuyoshi.CHO+develop@Gmail.com>
* twittering-mode.el (twittering-format-status): id/user-idのフォー
マット整形。時間情報にuriを付与。Nicholasのパッチにより全体に
username情報を付与
(twittering-status-to-status-datum): username/user-screen-nameにつ
いて整理
(twittering-get-status-url): 新規関数(マクロでもいいんだけど...)
2008-05-01 Tsuyoshi CHO <Tsuyoshi.CHO+develop@Gmail.com>
* twittering-mode.el : 全体のコメント修正、以下の修正は大部分を
gan2さんが実施した
(twittering-mode-version): 新規関数
(twittering-timer): コメント追加
(twittering-scroll-mode, twittering-jojo-mode)
(twittering-icon-mode): Nicholas Riley <njriley@uiuc.edu>さんのパッ
チ採用、バッファローカル化
(list-push): 新規マクロ
(twittering-mode-map): キーバインド変更
(twittering-mode-hook): フック変数新規作成(以前から利用してたけど
定義がなかった)
(twittering-render-friends-timeline): Nicholas Riley
<njriley@uiuc.edu>さんのパッチ採用、ステータスの挿入正常化
(twittering-goto-next-status)
(twittering-get-next-username-face-pos)
(twittering-goto-previous-status)
(twittering-get-previous-username-face-pos)
(twittering-goto-next-status-of-user)
(twittering-goto-previous-status-of-user)
(twittering-get-username-at-pos, twit): 新規関数
2008-02-08 Tsuyoshi CHO <Tsuyoshi.CHO+develop@Gmail.com>
* twittering-mode.el : 全体的に整形、Proxy、Safe Password、
User-Agent、Major mode stringを対応。Version 0.3
(twittering-mode-version): 暫定のバージョン定数を定義
(twittering-proxy-use): プロキシ関係設定を導入 from <http://d.hatena.ne.jp/lurdan/20080108/1199775387>
(twittering-proxy-server): 同上
(twittering-proxy-port, twittering-proxy-user): 同上
(twittering-proxy-password): 同上
(twittering-toggle-proxy): 同上
(twittering-user-agent-default-function): 同上
(twittering-user-agent-default-function): デフォルトUser-Agent生成関数
(twittering-user-agent-function): User-Agent生成関数指定変数を導入
(twittering-user-agent): 内部でのUser-Agent生成関数
(twittering-tmp-dir): ユーザー固有のImageTmpDirを生成 from <http://d.hatena.ne.jp/odz/20071021/1192957783>
(twittering-mode-map): プロキシの有効無効のキーバインド定義
(twittering-mode-string): メジャーモード文字列を変数定義
(twittering-mode): メジャーモード開始時に文字列を設定
(twittering-http-get): プロキシ、User-Agentによる処理を追加
(twittering-http-post): 同上
(twittering-get-password): パスワードを動的に確認する関数を定義
2007-10-14 Y. Hayamizu <haya@haya-laptop-ubuntu>
* twittering-mode.el : Naoya T. <naoya.t@aqua.plala.or.jp>, masa_edw のパッチをとりこむ
(twittering-url-encode): 使わないので削除
(twittering-decode-html-entities): patched: 数値エンティティだけでなく,asciiエンティティにも対応.
(twittering-font-lock-keywords): font-lock-keywordsを削除.text propertyによって設定する.
(twittering-format-status): patched: statusとformat-strからstatusの表示用文字列を生成.
(twittering-scroll-mode): patched: 新しいtwitがあったときに,カーソルもスクロールするか固定するかを設定するマイナモード, masa_edwのパッチ
(twittering-status-format): twitの表示方法をきめるテンプレート文字列
(twittering-icon-mode): patched: ifをwhenにおかえた.nilを渡されたときはマイナモードのスイッチに振舞を変更
(twittering-local-strftime): patched: 時間をフォーマット文字列に従い文字列化
(twittering-mode-init-variables): font-lock-modeは,Emacs21系ではautoloadするために一度呼ぶ必要がある. icon-mode, scroll-modeをマイナモードに登録.
(twittering-inspect-object): 使わないので削除
(twittering-http-get-default-sentinel): エラーを追いやすくするため,condition-caseを廃止
(twittering-status-to-status-datum): 全てのデータを抽出するようコード追加.ユーザ名,URIリンク表示などの処理もここで.
2007-10-13 Y. Hayamizu <haya@haya-laptop-ubuntu>
* twittering-mode.el (twittering-font-lock-keywords): ユーザー名のフェイスを適用する規則を修正.アイコン画像を表示したときに,下線が画像にかからないようにした.
(twittering-render-friends-timeline): ポイントが特定のtwitに対して固定されるようにした(patch from masa_edw)
2007-10-12 Y. Hayamizu <haya@haya-laptop-ubuntu>
* twittering-mode.el (twittering-idle-time): つかわないので削除
(twittering-get-or-generate-buffer): バッファ取得のための関数.存在しないバッファだったら,新たに生成して返す.
(twittering-buffer): Variable:twittering-bufferを名前に持つバッファを返す関数.このバッファを使う場合は,(twittering-buffer)によって取得する.
(twittering-http-buffer): twittering-bufferと同じ
(twittering-wget-buffer): twittering-bufferと同じ
2007-10-11 Y. Hayamizu <haya@haya-laptop-ubuntu>
* twittering-mode.el (twittering-icon-mode): アイコンを表示するか否かのフラグ
(twittering-wget-buffer): アイコン画像をwgetで取得するプロセスのバッファ
(twittering-icon-mode): アイコンの表示/非表示を切り換えるコマンド
(twittering-tmp-dir): アイコンの画像を保存するディレクトリ
(twittering-image-stack): ダウンロードすべきアイコン画像のリスト
(twittering-image-type): 画像の種類を判別する関数
(twittering-render-friends-timeline): friends timelineを表示する部分を切り出した
2007-10-10 Y. Hayamizu <haya@haya-laptop-ubuntu>
* twittering-mode.el: バージョン番号をつけた 0.1.0
2007-10-07 Y. Hayamizu <haya@haya-laptop-ubuntu>
* twittering-mode.el (twittering-http-get-default-sentinel): http-bufferを毎回生成-削除するのをやめて,内容をeraseして使い回すようにした.
(twittering-http-get-default-sentinel):HTTPレスポンスのステータスコードが上手く拾えなかったときの処理を追加
(twittering-http-get-default-sentinel): カレントバッファか*twittering*のときは,friends-timelineを更新してもポイントの位置が変わらないように修正.
2007-09-24 Y. Hayamizu <haya@haya-laptop-ubuntu>
* twittering-mode.el (twittering-status-to-status-datum): URIをクリック可能にする処理を追加
2007-09-23 Y. Hayamizu <haya@haya-laptop-ubuntu>
* twittering-mode.el (twittering-uri-face): URI用のフェイス
(twittering-click): クリック時に実行されるコマンド
(twittering-enter): EnterかC-mが押されたときに実行されるコマンド
2007-09-19 Y. Hayamizu <haya@haya-laptop-ubuntu>
* twittering-mode.el (twittering-mode-syntax-table): "(double quote)を,文字列クオートと認識しないようにsytax-tableを変更.
(twittering-friends-timeline): friends timelineの取得したデータを保存しておく変数.twittering modeが起動している限り,この変数に取得したstatusを随時追加してゆく.
(cl): assocrefをinnner defunして,バイトコンパイル時にWarningが出ていた.clパッケージのfletを使うことでWarningが出ないように解決した.
(twittering-status-to-status-datum): twittering-status-to-lineから名前変更
(twittering-friends-timeline-data): twittering-friends-timelineから名前変更
(twittering-status-to-status-datum): idもstatus datumに含めるようにした.
(twittering-cache-status-datum): status datumをdata-var(デフォルトはtwittering-friends-timeline-data)にキャッシュする関数.すでにあるstatus datumを渡すとnil,新しいstatus datumを渡すとtを返してdata-varに追加する.
(twittering-http-get-default-sentinel):過去のstatus datumをキャッシュして,バッファに過去のstatusも表示されるようにした.
(twittering-erase-old-statuses): 21件目以降の古いstatusを消す関数.実際はキャッシュを全部消して,twittering-http-getを呼んでいるだけ.C-c C-eにバインド.
(twittering-username-face): ユーザ名用のface.(defface <name>)の後に(defvar <name>)で使用可能になった.なぜ?
(twittering-status-to-status-datum): ユーザ名のテキストにmouse-face属性と,uri属性(ユーザのページのURI)を付加するようにした.
(twittering-click-username): ユーザ名をクリックするか,C-mを押したときに起動するコマンド.
(twittering-mode-map): vimライクなキーバインドを追加
(twittering-mode): twittering-mode-hookでfont-lock-defaultsが設定された後に,font-lock-mode を2回呼んで変更を反映させるようにした.
(twittering-mode-init-variables): twittering-username-faceの定義をこの関数の中にうつした.
(twittering-browse-user-page): twittering-click-usernameから名前変更.
(twittering-update-status-interactive): twittering-update-statusから名前変更.
(twittering-reply-to-user): ユーザ名上でEnterを押すとこの関数が呼びだされるようにキーバインド変更.ミニバッファに @<ユーザ名> が自動挿入される.
(twittering-view-user-page): twittering-browse-user-pageから名前変更.C-c C-vにバインド.
(twittering-update-status-if-not-blank): 引数statusが,空白文字のみか, @<ユーザ名> のみの場合には nil を返し,他の文字も含む場合には POSTしてtを返す関数.
(twittering-update-status-from-minibuffer): ミニバッファからstatusを更新するための関数.無効な文字(twittering-update-status-if-not-blankで判定)が入力された場合は,有効な文字列が入力されるまでループする.
2007-09-12 Y. Hayamizu <haya@haya-laptop-ubuntu>
* twittering-mode.el (twittering-ucs-to-char): Emacs21系では,Mule-UCSがロードされていないと,(decode-char 'ucs HOGE)がnilになり,文字コードを取得できないことがある.そこで,ucs-to-charが使える環境ではucs-to-charを,使えない環境(Emacs22など)ではdecode-charを使うように自動で切り替えるマクロを書いた.
2007-09-10 Y. Hayamizu <haya@haya-laptop-ubuntu>
* twittering-mode.el (twittering-refresh-buffer): 使わないので削除
(twittering-http-post-default-sentinel): condition-case でエラーハンドリングするようにした.
(twittering-http-get-default-sentinel): *twittering*バッファをread-onlyにした
(twittering-http-post-default-sentinel): condition-case でエラーハンドリングするコードを追加.
(twittering-start): 複数のタイマが走らないように,twittering-timerがnilでない=既存のタイマが走っている場合は一旦twittering-stopを呼び出してからタイマをスタートするようにした.
2007-09-09 Y. Hayamizu <haya@haya-laptop-ubuntu>
* twittering-mode.el: リリース
(case-string): CarbonEmacs (Emacs22)で,case-stringを呼びだすコードよりも前にdefmacroを持ってきたら,警告が出ないという報告.
(twittering-decode-html-entities): ucs-to-charの使用をやめ,(decode-char 'ucs ...)を使うことに. (reported by masa_edw)
(twittering-update-status): read-from-minibufferの7番目の引数にtを指定し,input methodをカレントバッファから継承するようにした.
(twittering-decode-html-entities): string-to-intはobsoleteなので,string-to-numberに変更 (reported by masa_edw)
(twittering-get-response-header): (setq (get-buffer ...)) となっていたので,(setq buffer (get-buffer ...))に修正. twittering-get-response-bodyも同様
(twittering-timer-action): twittering-refresh-triggerは既に使っていない変数だったので削除した
(debug-print): マクロが最初にコンパイルされる時点では,debug-modeが変数として宣言されていないので,debug-modeの判断まで含めたコードを吐くようにした.
(twittering-http-post-default-sentinel): xml-parse.elのかわりに,xml.el(Emacs標準?)を使うように変更したことに伴い書き換えた
(twittering-get-response-body): xml-parse.elのかわりに,xml.el(Emacs標準?)を使うように変更したことに伴い書き換えた
(twittering-xmltree-to-status): xml-parse.elのかわりに,xml.el(Emacs標準?)を使うように変更したことに伴い書き換えた
(twittering-status-lines): xml-parse.elのかわりに,xml.el(Emacs標準?)を使うように変更したことに伴い書き換えた
(twittering-status-to-line): xml-parse.elのかわりに,xml.el(Emacs標準?)を使うように変更したことに伴い書き換えた
(twittering-get-timeline): xml-parse.elのかわりに,xml.el(Emacs標準?)を使うように変更したことに削除
(twittering-status-lines): xml-parse.elのかわりに,xml.el(Emacs標準?)を使うように変更したことに削除
(twittering-parse-xml): xml-parse.elのかわりに,xml.el(Emacs標準?)を使うように変更したことに削除
(twittering-timer-interval): twittering-refresh-intervalから名前変更
(twittering-inspect-object): 任意のLispオブジェクトを文字列で表現できるユーティリティ関数
(twittering-timer-action): xml.elにより処理が軽くなったので,一定時間間隔での更新に変更.
(twittering-xmltree-to-status): Emacs21とEmacs22のxml.elの差異を吸収するコードを追加.Emacs22では,ノードのリストに空の文字列が混入することがあるため,文字列を除去するようにした.