/
ChangeLog
1091 lines (842 loc) · 48.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
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
2010-01-10 Yuto Hayamizu <y.hayamizu@gmail.com>
* test/test-twittering-mode.el (test-status-not-blank-p): add a
testcase reproducing the bug of twittering-status-not-blank-p.
* twittering-mode.el (twittering-use-native-retweet): renamed from
twittering-use-native-retweets
(twittering-status-not-blank-p): bug fix: return nil if a status
is ended by '@foo'.
2010-01-09 Satoshi Yatagawa <yata_github@y.hauN.org>
* twittering-mode.el (twittering-status-to-status-datum): Change
retweet related variables to local scope from global one.
* twittering-mode.el (twittering-extract-timeline-spec): Change
syntax of error message to fit the GNU Emacs Lisp convention.
(twittering-timeline-spec-to-host-method): Likewise.
(twittering-get-and-render-timeline): Likewise.
* twittering-mode.el (twittering-extract-timeline-spec): Remove an
unnecessary call to `format' because all arguments of `error' pass
to `format'.
(twittering-timeline-spec-to-host-method): Likewise.
(twittering-get-and-render-timeline): Likewise.
* twittering-mode.el (twittering-read-username-with-completion):
Convert a list of username strings to an alist before calling
`completing-read' to work on Emacs21; same as
`twittering-read-timeline-spec-with-completion'.
* twittering-mode.el (twittering-icon-path): Delete function.
2010-01-09 Tadashi MATSUO <tad@mymail.twin.jp>
* twittering-mode.el (twittering-http-get-list-index-sentinel):
`save-excursion' had no effect because of the following
`set-buffer'. This is fixed so that `save-excursion' saves the
state of `temp-buffer'.
(twittering-get-response-header): Likewise.
(twittering-get-response-body): Likewise.
(twittering-tinyurl-get): Likewise.
(twittering-tinyurl-get): `buffer' are killed even if
`search-forward-regexp' fails.
2010-01-08 Yuto Hayamizu <y.hayamizu@gmail.com>
* twittering-mode.el (twittering-percent-encode): bug fix:
'\n','\r','\t' were not encoded correctly.
2010-01-08 Satoshi Yatagawa <yata_github@y.hauN.org>
* twittering-mode.el (twittering-use-show-minibuffer-length): Add
suggestion into a docstring.
2010-01-08 Yuto Hayamizu <y.hayamizu@gmail.com>
* twittering-mode.el (twittering-status-not-blank-p): bug fix:
always return nil with strings with trailing newline.
2010-01-08 Tadashi MATSUO <tad@mymail.twin.jp>
* twittering-mode.el (twittering-image-type): Try to detect image
type with `image-type-from-data' at first.
(twittering-retrieve-image): Do not invoke `convert' if Emacs
supports the image type and resize is not required.
2010-01-08 Yuto Hayamizu <y.hayamizu@gmail.com>
* twittering-mode.el (twittering-tmp-dir): delete
(twittering-icon-mode): don't make temp dir
(twittering-image-data-table): add. hash table where image data
are stored. key:(<url> . <size>),value:(<type> . <binary-data>)
(twittering-use-wget): delete
(twittering-image-type): re-implemented. Now it just returns a
type of a given image.
(twittering-make-display-spec-for-icon): Now it receives image URL
as an argument.
(twittering-retrieve-image): Now it receives image URL as an
argument.
(twittering-url-copy-file-async): delete
(twittering-retrieve-image-without-wget): delete
(twittering-retrieve-image-with-wget): delete
(twittering-retrieve-image): changed default image type from png
to xpm
(twittering-image-type): bug fix in the case of bitmap
(twittering-retrieve-image): handle error of determining image
type.
(twittering-image-type): let case-fold-search is t.
* url-emacs21/*: add url library for emacs21
2010-01-07 Yuto Hayamizu <y.hayamizu@gmail.com>
* twittering-mode.el (twittering-url-reserved-p): bug fix: some
reserved characters considered unreserved. Thanks to IMAI
Toshiyuki
(twittering-cert-file): add
(twittering-ensure-ca-cert): generate temporary file for CA certificate
2010-01-06 Satoshi Yatagawa <yata_github@y.hauN.org>
* twittering-mode.el (twittering-http-get-default-sentinel): Move
`debug-printf' to outside of `unwind-protect' because we expect
that mostly code of this function should be executed by way of
BODYFORM of `unwind-protect', not UNWINDFORM.
(twittering-http-post-default-sentinel): Likewise.
* twittering-mode.el (twittering-http-get-list-index-sentinel): Add
`debug-printf' same as `twittering-http-get-default-sentinel'.
* twittering-mode.el (twittering-status-not-blank-p): Fix and
modify a regexp pattern.
2010-01-06 Tadashi MATSUO <tad@mymail.twin.jp>
* twittering-mode.el
(twittering-read-timeline-spec-with-completion): return nil for
an invalid timeline spec string. The function is unified with
`twittering-read-timeline-spec-string-with-completion'. If the
argument `as-string' is non-nil, it returns a spec string.
(twittering-update-mode-line): the delimiter followed by a
timeline spec string on mode-line is changed to a whitespace.
(twittering-timeline-spec-bookmark): new variable for timeline
spec bookmark.
(twittering-extract-timeline-spec): support timeline spec
bookmark.
(twittering-equal-string-as-timeline): add.
(twittering-get-and-render-timeline): accept a timeline spec
string as well as a S-expression.
`twittering-last-requested-timeline-spec' will be updated even if
the requested spec essentially equals to the current one.
(twittering-initial-timeline-spec): replaced by
`twittering-initial-timeline-spec-string'.
(twittering-last-requested-timeline-spec): replaced by
`twittering-last-requested-timeline-spec-string'.
(twittering-last-retrieved-timeline-spec): replaced by
`twittering-last-retrieved-timeline-spec-string'.
(twittering-initial-timeline-spec-string): added to replace
`twittering-initial-timeline-spec'.
(twittering-last-requested-timeline-spec-string): added to replace
`twittering-last-requested-timeline-spec'.
(twittering-last-retrieved-timeline-spec-string): added to replace
`twittering-last-retrieved-timeline-spec'.
(twittering-last-timeline-spec-string): removed.
(twittering-visit-timeline): call
`twittering-get-and-render-timeline' with a timeline spec string
just as it has been input by the user.
(twittering-extract-timeline-spec): `bookmark' is renamed `alias'.
(twittering-timeline-spec-alias): this variable replaces
`twittering-timeline-spec-bookmark'.
* test/test-twittering-mode.el (timeline-spec): add tests of
timeline spec normalization.
2010-01-04 Satoshi Yatagawa <yata_github@y.hauN.org>
* twittering-mode.el (twittering-get-response-header): Change
syntax of error message to fit the GNU Emacs Lisp convention.
(twittering-get-response-body): Likewise.
(twittering-tinyurl-get): Likewise.
* twittering-mode.el (twittering-start-http-session): Change
syntax of question message to fit the GNU Emacs Lisp convention.
* twittering-mode.el (twittering-user-agent-default-function): Use
`format' instead of `concat' to easy understand.
(twittering-sign-string-default-function): Likewise.
* twittering-mode.el (twittering-start-http-session): Remove an
unnecessary call to `format' because all arguments of `error' pass
to `format'.
(twittering-make-http-request): Likewise.
(twittering-url-copy-file-async): Likewise.
2010-01-04 Tadashi MATSUO <tad@mymail.twin.jp>
* twittering-mode.el (twittering-last-requested-timeline-spec):
new variable storing the last requested timeline spec.
(twittering-last-retrieved-timeline-spec): new variable storing
the last successfully retrieved timeline spec.
(twittering-last-timeline-retrieved): removed.
(twittering-last-host): removed.
(twittering-last-method): removed.
(twittering-convert-last-timeline-retrieved): removed.
(twittering-last-timeline-spec): removed.
(twittering-get-twits): do not update the information of the last
request.
(twittering-get-and-render-timeline): update the information of
the last request instead of `twittering-get-twits'.
(twittering-current-timeline): replace `twittering-get-twits' by
`twittering-get-and-render-timeline'.
(twittering-erase-old-statuses): replace `twittering-get-twits' by
`twittering-get-and-render-timeline'.
(twittering-initial-timeline-spec): new variable.
2010-01-03 Tadashi MATSUO <tad@mymail.twin.jp>
* twittering-mode.el, test/test-twittering-mode.el: rebase the
`timeline-spec' branch. The new timeline spec based on
S-expression is introduced.
* twittering-mode.el (twittering-timeline-spec-to-string): add.
(twittering-extract-timeline-spec): add.
(twittering-string-to-timeline-spec): add.
(twittering-timeline-spec-singlep): add.
(twittering-timeline-spec-to-host-method): add.
(twittering-host-method-to-timeline-spec): add.
(twittering-last-timeline-spec): add.
(twittering-last-timeline-spec-string)
(twittering-add-timeline-history): modified for new timeline spec.
(twittering-update-mode-line): modified for new timeline spec.
(twittering-get-twits-with-timeline-spec): modified for new
timeline spec.
(twittering-read-timeline-spec-string-with-completion): add.
(twittering-read-timeline-spec-with-completion): modified for new
timeline spec.
(twittering-get-timeline, twittering-get-list): replaced with
`twittering-get-twits-with-timeline-spec'.
(twittering-get-and-render-timeline): renamed from
`twittering-get-twits-with-timeline-spec'.
* test/test-twittering-mode.el (timeline-spec): add tests for new
timeline spec.
2010-01-03 Michael D. Ivey <ivey@gweezlebur.com>
* twittering-mode.el (twittering-retweet): Add support for native
retweets
2010-01-03 Yuto Hayamizu <y.hayamizu@gmail.com>
* twittering-mode.el (twittering-tinyurl-get): more descriptive
error message
(twittering-url-copy-file-async): more descriptive error message
2010-01-02 Alberto Garcia <agarcia@igalia.com>
* twittering-mode.el (twittering-start-http-ssl-session):
Set noninteractive using lexical-let so the HTTP sentinel can
receive its value and `twittering-new-tweets-hook' works
correctly.
2010-01-02 Satoshi Yatagawa <yata_github@y.hauN.org>
* twittering-mode.el (twittering-use-show-minibuffer-length): New
defvar to enable/disable a function which is show the number of
charactors in minibuffer.
(twittering-update-status-from-minibuffer): Refer it to add/remove
hooks.
2009-12-30 Yuto Hayamizu <y.hayamizu@gmail.com>
* test/server.rb: add. Twitter API and Proxy mock server
* twittering-mode.el (twittering-get-response-header)
(twittering-get-response-body): Raise an error on broken
responses.
2009-12-30 Tadashi MATSUO <tad@mymail.twin.jp>
* twittering-mode.el (twittering-get-response-header): On failure,
the function returns an empty string instead of the whole contents
of the buffer.
(twittering-get-response-body): When the function fails to find
the tail of header, it returns nil without trying to parse a
region.
(twittering-find-proxy): add new function for
finding proxy.
(twittering-setup-proxy): add new function for configuring
`twittering-proxy-server' and `twittering-proxy-port' if they have
not been configured yet.
(twittering-mode-init-variables): invokes
`twittering-setup-proxy'.
2009-12-30 Satoshi Yatagawa <yata_github@y.hauN.org>
* twittering-mode.el (twittering-get-response-header): Correct a
reference to an unbound object. This problem was found by highmt.
2009-12-30 Yuto Hayamizu <y.hayamizu@gmail.com>
* test/el-test-runner.el (with-network): add macro. body of
with-network is executed only when 'NETWORK' env var is set.
* twittering-mode.el (twittering-image-type): No temporary files
for resing images. Use standard in/out and temporary buffers
instead.
(twittering-convert-fix-size): set 48px as the default size of
icon images.
2009-12-30 Tadashi MATSUO <tad@mymail.twin.jp>
* twittering-mode.el (twittering-image-type): Don't generate
redundant temporary files. The image format is specified by
the command line instead of a file extension.
2009-12-30 Satoshi Yatagawa <yata_github@y.hauN.org>
* twittering-mode.el (twittering-image-type): Don't set a third
argument of `make-temp-file' to work on Emacs21.
2009-12-29 Satoshi Yatagawa <yata_github@y.hauN.org>
* twittering-mode.el (twittering-get-response-header): Add an
optional third argument for `search-forward-regexp'.
2009-12-29 Yuto Hayamizu <y.hayamizu@gmail.com>
* twittering-mode 0.9.0 release
* twittering-mode.el (twittering-start-http-session): check if
curl can use https or not.
(twittering-get-response-body): bug fix: goto the beginning of
buffer before search-forward. 'xml-parse-region' doesn't return
when parsing unbalanced XML.
(twittering-start-http-session): Use call-process instead of
shell-command-to-string. If 'curl-program' contains space
characters, shell-command fails.
2009-12-29 Satoshi Yatagawa <yata_github@y.hauN.org>
* twittering-mode.el (twittering-get-response-body): Return nil
explicitly when a broken XML data passed into `xml-parse-region'.
(twittering-http-get-default-sentinel): Adjust callers.
(twittering-http-post-default-sentinel): Likewise.
* twittering-mode.el (twittering-http-post-default-sentinel): Add
`debug-printf' same as `twittering-http-get-default-sentinel'.
* twittering-mode.el (twittering-http-post-default-sentinel):
Change a regexp pattern for HTTP response status line; same as
`twittering-http-get-default-sentinel'.
(twittering-http-get-list-index-sentinel): Likewise.
2009-12-29 Yuto Hayamizu <y.hayamizu@gmail.com>
* twittering-mode.el: load mule-ucs if needed (emacs21)
(twittering-start-http-ssl-session): add 'Expect: ' header field
for avoiding '417 Expectation Failed' HTTP response error. See
http://d.hatena.ne.jp/imait/20091228/1262004813 and
http://www.escafrace.co.jp/blog/09/10/16/1008
* twittering-mode.el: load 'cl' only at compile
time. cf. http://www.gnu.org/software/emacs/manual/html_node/cl/Overview.html
2009-12-28 Yuto Hayamizu <y.hayamizu@gmail.com>
* twittering-mode.el (twittering-get-response-header)
(twittering-get-response-body): inefficient code were
replaced. thanks to Tadashi MATSUO
2009-12-27 Tadashi MATSUO <tad@mymail.twin.jp>
* twittering-mode.el (twittering-show-minibuffer-length): keeps
activated mark from being forcefully deactivated.
2009-12-27 Yuto Hayamizu <y.hayamizu@gmail.com>
* test/run-test.sh: add. invoke unit test for each emacsen
* Makefile (check): add check rule.
* test/el-test-runner.el (twittering-run-test): exit with
appropriate status code.
* test.el (test-transform-body): add. transforms the body of
`defcase' recursively
(defcase): use `test-transform-body'
* test/run-test.el (twittering-run-test): colorize resulting
outputs
2009-12-27 Satoshi Yatagawa <yata_github@y.hauN.org>
* twittering-mode.el (twittering-http-post-default-sentinel):
Check if buffer live-p before killing it.
(twittering-http-get-list-index-sentinel): Likewise.
* twittering-mode.el (twittering-setup-minibuffer): Remove an
unnecessary call.
* twittering-mode.el (twittering-other-user-list-interactive): Fix
condition to detect a cancel.
* twittering-mode.el (twittering-http-get-list-index-sentinel):
Use `search-forward-regexp' instead of `search-forward' to fix a
meaningless search.
2009-12-26 Tadashi MATSUO <tad@mymail.twin.jp>
* twittering-mode.el (twittering-format-string): reimplement
without `block'.
(twittering-format-string): invokes a function in replacement
table with a context alist.
(twittering-retweet): replacement table is adapted to the new
`twittering-format-string'.
(twittering-format-status): reimplement with
`twittering-format-string'.
2009-12-26 Yuto Hayamizu <y.hayamizu@gmail.com>
* twittering-mode.el (twittering-ensure-ca-cert): kludge for ssl
certificate problem.
(twittering-start-http-ssl-session): use
`twittering-ensure-ca-cert'
2009-12-25 Satoshi Yatagawa <yata_github@y.hauN.org>
* twittering-mode.el (twittering-show-minibuffer-length): Replace
`minibufferp' by `minibuffer-window-active-p' to work this on
Emacs21.
(twittering-show-minibuffer-length): Change a message style for
Emacs23.
(twittering-setup-minibuffer, twittering-finish-minibuffer): Hook
`post-command-hook' instead of `after-change-functions' to work in
cooperation with SKK.
2009-12-25 Satoshi Yatagawa <yata_github@y.hauN.org>
* twittering-mode.el (twittering-tinyurl-get): Fix typo to resolve
error "Symbol's value as variable is void". This problem was found
by naota.
2009-12-25 Yuto Hayamizu <y.hayamizu@gmail.com>
* twittering-mode.el (twittering-show-minibuffer-length): disabled
on Emacs21 because `minibufferp' is not available.
(twittering-update-status-from-minibuffer): set
`minibuffer-message-timeout' to `nil'. `t' causes error on
Emacs23.
2009-12-23 Satoshi Yatagawa <yata_github@y.hauN.org>
* twittering-mode.el (twittering-show-minibuffer-length): New
defun to show the number of charactors in minibuffer.
(twittering-setup-minibuffer): New defun to add it to
`after-change-functions'; invoke via `minibuffer-setup-hook'.
(twittering-finish-minibuffer): New defun to remove it from
`after-change-functions'; invoke via `minibuffer-exit-hook'.
* twittering-mode.el (twittering-update-status-from-minibuffer):
Set `minibuffer-setup-hook' and `minibuffer-exit-hook' temporarily.
2009-12-23 Yuto Hayamizu <y.hayamizu@gmail.com>
* test/test-twittering-mode.el (tinyurl): add test for tinyurl
* twittering-mode.el (twittering-tinyurl-get): fix for emacs22.
In emacs22, there's "^M" at the end of a buffer created by
url-retrieve
(twittering-tinyurl-get): fix by cvmat
2009-12-22 Tadashi MATSUO <tad@mymail.twin.jp>
* twittering-mode.el (twittering-tinyurl-get): retrieves a
shortened URL without `url-insert'.
(twittering-url-copy-file-async): add new
function for downloading a file asynchronously.
(twittering-retrieve-image-without-wget): retrieves images
asynchronously with `twittering-url-copy-file-async'.
2009-12-22 Yuto Hayamizu <y.hayamizu@gmail.com>
* twittering-mode.el (twittering-ucs-to-char): turned into
function from macro
(twittering-update-lambda, twittering-update-jojo): more portable
string expression. Executable only in Japanese environment.
(twittering-tinyurl-get): use with-temp-buffer with url-insert
2009-12-21 Tadashi MATSUO <tad@mymail.twin.jp>
* twittering-mode.el (twittering-icon-path): `require' is added.
(twittering-tinyurl-get, twittering-retrieve-image-without-wget):
The dependency on `mm-url' is removed by using `url' library.
(twittering-http-application-headers):
`Content-Length' is added to `headers'.
2009-12-22 Satoshi Yatagawa <yata_github@y.hauN.org>
* twittering-mode.el (twittering-get-host-method-from-timeline-spec)
(twittering-get-timeline-spec): Add more timeline specification.
* test/test-twittering-mode.el (timeline-spec): add more tests for
timeline specification.
2009-12-20 Tadashi Matsuo <tad@mymail.twin.jp>
* test/test-twittering-mode.el (timeline-spec): add tests for
timeline specification.
* twittering-mode.el (twittering-get-host-method-from-timeline-spec)
(twittering-get-timeline-spec): Add new functions for timeline
specification.
(twittering-update-mode-line): Shows timeline specification.
(twittering-render-timeline): Invokes
`twittering-update-mode-line' to update the mode-line.
(twittering-timeline-history): Add new variable for history of
timeline specifications.
(twittering-add-timeline-history): Add new function for adding
timeline history.
(twittering-http-get-default-sentinel): Invokes
`twittering-add-timeline-history' to update history when
retrieving tweets successfully.
(twittering-other-user-list-interactive): The codes for retrieving
list index synchronously are extracted as the new function
`twittering-get-list-sync'.
(twittering-get-list-index-sync): Add new function for retrieving
list synchronously.
(twittering-read-list-name): Add new function for reading a list
name from the minibuffer.
(twittering-read-timeline-spec-with-completion): Add new function
for reading timeline specification from the minibuffer.
(twittering-get-twits-with-timeline-spec): Add new function for
retrieving tweets with timeline specification.
(twittering-visit-timeline): Add new function for visiting a
timeline.
(twittering-mode-map): The key "V" is bound to
'twittering-visit-timeline'.
2009-12-20 Yuto Hayamizu <y.hayamizu@gmail.com>
* twittering-mode.el (twittering-update-mode-line): add
(twittering-toggle-proxy, twittering-icon-mode)
(twittering-scroll-mode, twittering-jojo-mode): use
update-mode-line
2009-12-19 Yuto Hayamizu <y.hayamizu@gmail.com>
* twittering-mode.el (twittering-use-ssl): add
(twittering-find-curl-program): add
(twittering-start-http-ssl-session): add
(twittering-start-http-non-ssl-session): add
(twittering-http-application-headers): add
(twittering-http-get): rewritten by using start-http-session
(twittering-http-post): rewritten by using start-http-session
(twittering-http-post-default-sentinel): use the same argument
format of http-get-default-sentinel
2009-12-16 Yuto Hayamizu <y.hayamizu@gmail.com>
* twittering-mode.el (twittering-tinyurl-replace-at-point):
distinguish between URL and others based on
`bounds-of-thing-at-point'.
2009-12-15 haya <haya@starfish.unicus.ddo.jp>
* twittering-mode.el (twittering-status-not-blank-p): fix invalid escape sequence
(twittering-tinyurl-replace-at-point): disabled when 'mm-url' doesn't exist.
2009-12-12 Alberto Garcia <agarcia@igalia.com>
* twittering-mode.el (twittering-retrieve-image-without-wget):
Kill buffer after retrieving the image
2009-12-11 Satoshi Yatagawa <yata_github@y.hauN.org>
* twittering-mode.el (twittering-tinyurl-get): Call
`mm-url-insert' only if argument `longurl' is non-nil to avoid
error "Wrong type argument", otherwise return nil explicitly.
(twittering-tinyurl-replace-at-point): Replace a region with
newurl when `newurl' is non-nil.
2009-12-07 Naohiro Aota <naota@elisp.net>
* twittering-mode.el (twittering-http-get-default-sentinel): Check
if buffer live-p before killing it.
2009-12-07 Yuto Hayamizu <y.hayamizu@gmail.com>
* twittering-mode.el (twittering-read-username-with-completion):
rename from `twittering-get-username-with-completion'
(twittering-make-list-from-assoc): simplified
(twittering-other-user-timeline-interactive): changed init string
to nil
2009-12-06 NAKAYA Toshiharu <toshiharu.nakaya@gmail.com>
* twittering-mode.el (twittering-retrieve-image-without-wget): set
require-final-newline is nil locally since emacs can not save icon
images because of "error in process filter: save-buffer: Text is
read-only".
2009-12-06 Tadashi MATSUO <matsuo@i.ci.ritsumei.ac.jp>
* twittering-mode.el (twittering-use-wget): new variable for
specifying whether the external command `wget' should be used.
(twittering-retrieve-image): new function for retrieving icon
images with/without wget.
(twittering-get-twits): retrieve images with
`twittering-retrieve-image'.
(twittering-use-convert): add a new variable specifying whether
the external command `convert' should be used.
(twittering-make-display-spec-for-icon): new function for
generating properties for icon with/without cropping the image.
(twittering-retrieve-image-without-wget): write an image as binary
explicitly.
2009-12-05 Satoshi Yatagawa <yata_github@y.hauN.org>
* twittering-mode.el (twittering-get-username-with-completion):
New defun as a wrapper function for read-from-minibuffer.
(twittering-follow): Call it instead of read-from-minibuffer.
(twittering-other-user-timeline-interactive): Likewise.
(twittering-other-user-list-interactive): Likewise.
* twittering-mode.el (twittering-make-list-from-assoc): New defun.
2009-12-04 Yuto Hayamizu <y.hayamizu@gmail.com>
* test/test-twittering-mode.el (sign-string): add test
* twittering-mode.el (twittering-current-hashtag): docstring
(twittering-idle-time): removed (unused?)
2009-12-03 Tadasohi MATSUO <tad@mymail.twin.jp>
* twittering-mode.el (twittering-mode-map): define bindings so
as to be also valid even on non-window terminal.
2009-12-02 Naohiro Aota <naota@elisp.net>
* twittering-mode.el (twittering-icon-path): New funciton.
(twittering-format-status): Use it.
(twittering-get-twits): Ditto; wget now invoked for each icon.
2009-12-01 Satoshi Yatagawa <yata_github@y.hauN.org>
* twittering-mode.el (twittering-update-status-from-minibuffer):
Add more strict length check for status.
* twittering-mode.el (twittering-status-not-blank-p): New defun to
separate a check code from twittering-update-status-if-not-blank.
(twittering-update-status-from-minibuffer): Integrate a post code
from twittering-update-status-if-not-blank.
(twittering-update-status-if-not-blank): Remove.
2009-11-30 Yuto Hayamizu <y.hayamizu@gmail.com>
* twittering-mode.el (twittering-max-number-of-tweets-on-retrieval)
(twittering-number-of-tweets-on-retrieval): add
(twittering-http-get-list-index-sentinel): restore the variable
'indexes' removed by mistake
(twittering-get-twits): use 'twittering-number-of-tweets-on-retrieval'
These changes were made by cvmat. thanks.
2009-11-29 Yuto Hayamizu <y.hayamizu@gmail.com>
* twittering-mode.el (twittering-status-to-status-datum): defined
screen-name-in-text property
(twittering-enter)
(twittering-other-user-timeline-interactive)
(twittering-other-user-timeline):
put a screen-name-in-text ahead of other elements(uri, ...)
2009-11-28 Yuto Hayamizu <y.hayamizu@gmail.com>
* test/run-test.el (twittering-run-test): use test.el
* twittering-mode.el (twittering-http-get, twittering-http-post):
use a temp-buffer for each connection. This change solved the
problem caused by concurrent HTTP request.
(twittering-get-response-header, twittering-get-response-body):
requires 'buffer' because now each http request is associated with
its temp buffer
(twittering-http-buffer): removed
2009-11-19 Tadashi MATSUO <tad@mymail.twin.jp>
* twittering-mode.el (twittering-format-string): Add new function
to format strings with a user-defined table.
(twittering-retweet): Use 'twittering-format-string'.
2009-11-18 Alberto Garcia <agarcia@igalia.com>
* twittering-mode.el
(+twittering-direct-message, twittering-mode-map):
New `twittering-direct-message' function to send direct messages.
2009-11-15 Naohiro Aota <naota@elisp.net>
* twittering-mode.el (twittering-convert-fix-size): New variable.
(twittering-image-type): Use it; Resize icons to fix size if the
above variable is set.
2009-11-15 Yuto Hayamizu <y.hayamizu@gmail.com>
* test/test-twittering-mode.el, test/run-test.el, test/elunit.el: add unit testing framework elunit.
* twittering-mode.el (twittering-goto-next-thing,
(twittering-goto-previous-thing): add new commands.
(twittering-goto-previous-status): check whether prev-pos is not nil.
(twittering-set-current-hashtag, twittering-hashtag-history): add functions to support hashtag. Set the current hashtag with C-c C-h.
(twittering-update-status-from-minibuffer): use the current hashtag if set.
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-10 Satoshi Yatagawa <yata_github@y.hauN.org>
* twittering-mode.el (twittering-follow): New command.
(twittering-unfollow): Likewise.
(twittering-manage-friendships): New defun.
* twittering-mode.el (twittering-favorite): New command.
(twittering-unfavorite): Likewise.
(twittering-manage-favorites): New defun.
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-11-06 Naohiro Aota <naota@elisp.net>
* twittering-mode.el (twittering-image-type): Support bitmap type
using `convert'.
(twittering-convert-program): New varibale.
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
docstring 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と同じ