77ec2752d2f15e5e755d5e27ceea6d34ee2d7a7a
[elisp/mixi.git] / ChangeLog
1 2006-12-26  OHASHI Akira  <bg66@koka-in.org>
2
3         * mixi.el (mixi-post-error): New error symbol.
4         (mixi-post-error): New macro.
5         (mixi-post-form): New macro.
6         (mixi-make-form-data): New function.
7         (mixi-url-retrieve): Add optional argument `extra-headers'.
8         (mixi-url-post-form): New function.
9         (mixi-w3m-post-form): Ditto.
10         (with-mixi-post-form): New macro.
11         (mixi-post-diary-key-regexp): New constant.
12         (mixi-post-diary-id-regexp): Ditto.
13         (mixi-post-diary-title-regexp): Ditto.
14         (mixi-post-diary-body-regexp): Ditto.
15         (mixi-post-diary-succeed-regexp): Ditto.
16         (mixi-post-diary): New function.
17
18 2006-12-26  OHASHI Akira  <bg66@koka-in.org>
19
20         * mixi.el (mixi-url-retrieve): Simplify.
21
22 2006-12-25  OHASHI Akira  <bg66@koka-in.org>
23
24         * mixi.el (mixi-diary-comment-list-regexp): Follow the change of mixi.
25
26 2006-12-25  OHASHI Akira  <bg66@koka-in.org>
27
28         * mixi.el (mixi-save-cache): Change the location of cache files.
29         (mixi-load-cache): Ditto.
30
31 2006-12-25  OHASHI Akira  <bg66@koka-in.org>
32
33         * sb-mixi.el (shimbun-get-headers): Use `mixi-bbs-p'.
34         (shimbun-mixi-get-comment-p): Abolish.
35         (shimbun-mixi-get-headers): Follow the change above.
36
37 2006-12-25  OHASHI Akira  <bg66@koka-in.org>
38
39         * mixi.el (mixi-event-time-regexp): Fix regexp.
40         (mixi-event-title-regexp): Ditto.
41         (mixi-event-owner-regexp): Ditto.
42         (mixi-event-date-regexp): Ditto.
43         (mixi-event-place-regexp): Ditto.
44         (mixi-event-detail-regexp): Ditto.
45         (mixi-event-limit-regexp): Ditto.
46         (mixi-event-members-regexp): Ditto.
47         (mixi-realize-event): Follow the change above.
48
49 2006-12-25  OHASHI Akira  <bg66@koka-in.org>
50
51         * mixi.el (with-mixi-retrieve): Check whether on the login page
52         strictly.
53
54 2006-12-22  OHASHI Akira  <bg66@koka-in.org>
55
56         * mixi.el (mixi-realization-error): Use buffer variable only when it
57         is bound and debug-on-error is t.
58
59 2006-12-22  OHASHI Akira  <bg66@koka-in.org>
60
61         * mixi.el (mixi-realization-error): New error symbol.
62         (mixi-realization-error): New macro.
63         (mixi-realize-friend): Use it.
64         (mixi-realize-diary): Ditto.
65         (mixi-realize-community): Ditto.
66         (mixi-realize-topic): Ditto.
67         (mixi-realize-event): Ditto.
68         (mixi-realize-message): Ditto.
69
70 2006-12-22  OHASHI Akira  <bg66@koka-in.org>
71
72         * mixi.el (mixi-get-friends): Rename ARGS argument to FRIEND-OR-RANGE.
73         (mixi-get-diaries): Ditto.
74         (mixi-get-communities): Ditto.
75         (mixi-get-messages): Rename ARGS argument to BOX-OR-RANGE.
76         (mixi-get-introductions): Rename ARGS argument to FRIEND-OR-RANGE.
77
78 2006-12-19  OHASHI Akira  <bg66@koka-in.org>
79
80         * mixi.el (mixi-object-realized-p): Rename from
81         `mixi-object-realize-p'.
82         (mixi-realize-friend): Rename from `mixi-friend-realize'.
83         (mixi-friend-nick): Follow the change above.
84         (mixi-friend-name): Ditto.
85         (mixi-friend-sex): Ditto.
86         (mixi-friend-address): Ditto.
87         (mixi-friend-age): Ditto.
88         (mixi-friend-birthday): Ditto.
89         (mixi-friend-blood-type): Ditto.
90         (mixi-friend-birthplace): Ditto.
91         (mixi-friend-hobby): Ditto.
92         (mixi-friend-job): Ditto.
93         (mixi-friend-organization): Ditto.
94         (mixi-friend-profile): Ditto.
95         (mixi-realize-diary): Rename from `mixi-diary-realize'.
96         (mixi-diary-time): Follow the change above.
97         (mixi-diary-title): Ditto.
98         (mixi-diary-content): Ditto.
99         (mixi-realize-community): Rename from `mixi-community-realize'.
100         (mixi-community-name): Follow the change above.
101         (mixi-community-birthday): Ditto.
102         (mixi-community-owner): Ditto.
103         (mixi-community-category): Ditto.
104         (mixi-community-members): Ditto.
105         (mixi-community-open-level): Ditto.
106         (mixi-community-authority): Ditto.
107         (mixi-community-description): Ditto.
108         (mixi-realize-topic): Rename from `mixi-topic-realize'.
109         (mixi-topic-time): Follow the change above.
110         (mixi-topic-title): Ditto.
111         (mixi-topic-owner): Ditto.
112         (mixi-topic-content): Ditto.
113         (mixi-realize-event): Rename from `mixi-event-realize'.
114         (mixi-event-time): Follow the change above.
115         (mixi-event-title): Ditto.
116         (mixi-event-owner): Ditto.
117         (mixi-event-date): Ditto.
118         (mixi-event-place): Ditto.
119         (mixi-event-detail): Ditto.
120         (mixi-event-limit): Ditto.
121         (mixi-event-members): Ditto.
122         (mixi-realize-message): Rename from `mixi-message-realize'.
123         (mixi-message-owner): Follow the change above.
124         (mixi-message-title): Ditto.
125         (mixi-message-time): Ditto.
126         (mixi-message-content): Ditto.
127
128 2006-12-19  OHASHI Akira  <bg66@koka-in.org>
129
130         * sb-mixi.el (shimbun-mixi-comment-article): Rename from
131         `shimbun-comment-article'.
132         (shimbun-article): Follow the change above.
133
134 2006-12-19  OHASHI Akira  <bg66@koka-in.org>
135
136         * mixi.el (mixi-parse-buffer): Use `sleep-for' instead of `sit-for'.
137
138 2006-12-18  OHASHI Akira  <bg66@koka-in.org>
139
140         * mixi.el (mixi-friend-nick-regexp): Follow the change of mixi.
141         (mixi-friend-name-regexp): Ditto.
142         (mixi-friend-sex-regexp): Ditto.
143         (mixi-friend-hobby-regexp): Ditto.
144         (mixi-friend-realize): Follow the change above.
145         (mixi-community-birthday-regexp): Follow the change of mixi.
146         (mixi-community-owner-regexp): Ditto.
147         (mixi-community-category-regexp): Ditto.
148         (mixi-community-members-regexp): Ditto.
149         (mixi-community-open-level-regexp): Ditto.
150         (mixi-community-authority-regexp): Ditto.
151
152 2006-12-18  OHASHI Akira  <bg66@koka-in.org>
153
154         * sb-mixi.el (shimbun-mixi-make-subject): Add SHIMBUN argument.
155         (shimbun-mixi-get-headers): Follow the change above.
156
157         * mixi.el (mixi-topic-community-regexp): New regexp.
158         (mixi-topic-realize): Use it.
159         (mixi-event-community-regexp): New regexp.
160         (mixi-event-realize): Use it.
161         (mixi-bbs-list): New constant.
162         (mixi-bbs-p): New macro.
163         (mixi-bbs-community): New function.
164
165 2006-12-18  OHASHI Akira  <bg66@koka-in.org>
166
167         * mixi.el (mixi-curl-cookie-file): Change the default value to
168         ~/.mixi/cookies.txt.
169
170 2006-12-14  OHASHI Akira  <bg66@koka-in.org>
171
172         * mixi.el (mixi-object-title): Remove application dependant codes.
173         (mixi-object-content): Ditto.
174
175         * sb-mixi.el (shimbun-mixi-make-subject): Follow the change above.
176         (shimbun-mixi-make-body): Ditto.
177
178 2006-12-14  OHASHI Akira  <bg66@koka-in.org>
179
180         * mixi.el (mixi-friend-nick-regexp): Follow the change of mixi.
181         (mixi-friend-realize): Ditto.
182
183 2006-12-14  OHASHI Akira  <bg66@koka-in.org>
184
185         * mixi.el (mixi-object-p): Check whether class is symbol.
186         (mixi-read-object): New function.
187         (mixi-cache-file-regexp): New regexp.
188         (mixi-cache-regexp): Use it.
189         (mixi-save-cache): Remove the prefix of file name.
190         (mixi-read-cache): Use `mixi-read-object' instead of `puthash'.
191         (mixi-load-cache): Follow the change above.
192         (mixi-make-friend): Add all slots to the argument. 
193         (mixi-make-diary): Ditto.
194         (mixi-make-community): Ditto.
195         (mixi-make-topic): Ditto.
196         (mixi-make-event): Ditto.
197         (mixi-make-message): Ditto.
198
199 2006-12-12  OHASHI Akira  <bg66@koka-in.org>
200
201         * mixi.el (mixi-url-retrieve): Simplify.
202
203 2006-12-11  OHASHI Akira  <bg66@koka-in.org>
204
205         * mixi.el (mixi-diary-time-regexp): Follow the change of mixi;
206         Fix regexp.
207         (mixi-diary-title-regexp): Ditto.
208         (mixi-diary-content-regexp): Ditto.
209         (mixi-diary-realize): Follow the change above.
210
211 2006-12-11  OHASHI Akira  <bg66@koka-in.org>
212
213         * mixi.el (mixi-search-bbs-list-page): New macro.
214         (mixi-search-bbs-list-regexp): New regexp.
215         (mixi-search-bbses): New function.
216
217 2006-12-11  OHASHI Akira  <bg66@koka-in.org>
218
219         * mixi.el (mixi-search-community-list-page): New macro.
220         (mixi-search-community-list-regexp): New regexp.
221         (mixi-search-communities): New function.
222
223 2006-12-11  OHASHI Akira  <bg66@koka-in.org>
224
225         * mixi.el (mixi-cache-expires): Set the default value to nil.
226
227 2006-12-08  OHASHI Akira  <bg66@koka-in.org>
228
229         * sb-mixi.el (shimbun-mixi-initialize-comment-cache): Abolish.
230         (initialize-instance): Follow the change above.
231         (shimbun-close): Set the comment cache to nil.
232
233 2006-12-08  OHASHI Akira  <bg66@koka-in.org>
234
235         * mixi.el (mixi-topic-comment-list-regexp): Fix regexp.
236         (mixi-message): Rename the STRING argument to STRINGS.
237         (mixi-login): Follow the cange above.
238         (mixi-parse-buffer): Fix error message.
239
240 2006-12-07  OHASHI Akira  <bg66@koka-in.org>
241
242         * mixi.el (mixi-diary-owner-nick-regexp): Fix regexp.
243         (mixi-topic-owner-regexp): Ditto.
244
245 2006-12-05  OHASHI Akira  <bg66@koka-in.org>
246
247         * sb-mixi.el (shimbun-mixi-logout-p): New user option.
248         (shimbun-mixi-initialize-comment-cache): New macro.
249         (initialize-instance): Use it.
250         (shimbun-close): New method.
251
252 2006-12-04  OHASHI Akira  <bg66@koka-in.org>
253
254         * mixi.el (mixi-url-encode-and-quote-percent-string): New function.
255         (mixi-search-diary-list-page): New macro.
256         (mixi-search-diary-list-regexp): New regexp.
257         (mixi-search-diaries): New function.
258         (mixi-diary-closed-regexp): New regexp.
259         (mixi-diary-realize): Use it.
260
261         * sb-mixi.el (shimbun-mixi-group-alist): Fix docs.
262
263 2006-12-04  OHASHI Akira  <bg66@koka-in.org>
264
265         * mixi.el (mixi-diary-content-regexp): Fix regexp.
266
267 2006-12-01  OHASHI Akira  <bg66@koka-in.org>
268
269         * mixi.el (mixi-diary-comment-list-page): Use `full=1' instead of
270         `page=%d'.
271         (mixi-get-comments): Get comments in latest order.
272
273 2006-12-01  OHASHI Akira  <bg66@koka-in.org>
274
275         * mixi.el (mixi-parse-buffer): Rename from `mixi-retrieve-1', and
276         swap `buffer' argument and `url'.
277         (mixi-url-retrieve): Follow the change above.
278         (mixi-w3m-retrieve): Ditto.
279         (mixi-curl-retrieve): Ditto.
280
281 2006-11-30  OHASHI Akira  <bg66@koka-in.org>
282
283         * mixi.el (mixi-get-matched-items): Rename `max-numbers' to `range',
284         and swap `range' and `regexp'.
285         (mixi-get-friends): Follow the change above.
286         (mixi-get-favorites): Ditto.
287         (mixi-get-logs): Ditto.
288         (mixi-get-diaries): Ditto.
289         (mixi-get-new-diaries): Ditto.
290         (mixi-get-communities): Ditto.
291         (mixi-get-bbses): Ditto.
292         (mixi-get-new-bbses): Ditto.
293         (mixi-get-comments): Ditto.
294         (mixi-get-new-comments): Ditto.
295         (mixi-get-messages): Ditto.
296         (mixi-get-introductions): Ditto.
297
298 2006-11-30  OHASHI Akira  <bg66@koka-in.org>
299
300         * sb-mixi.el (shimbun-comment-article): Simplify.
301
302 2006-11-29  OHASHI Akira  <bg66@koka-in.org>
303
304         * sb-mixi.el (shimbun-comment-article): Cache the content of all
305         comment.
306
307 2006-11-29  OHASHI Akira  <bg66@koka-in.org>
308
309         * sb-mixi.el (shimbun-mixi): Add the COMMENT-CACHE slot.
310         (initialize-instance): New method.
311         (shimbun-mixi-get-headers): Cache the content of comment.
312         (shimbun-comment-article): Use cache.
313         (shimbun-article): Follow the change above.
314
315 2006-11-28  OHASHI Akira  <bg66@koka-in.org>
316
317         * sb-mixi.el (shimbun-mixi-x-face-alist): New variable.
318
319 2006-11-28  OHASHI Akira  <bg66@koka-in.org>
320
321         * mixi.el (mixi-object-title): Follow the event object.
322         (mixi-object-content): Ditto.
323         (mixi-bbs-owner): New alias.
324         (mixi-bbs-id): Ditto.
325         (mixi-bbs-time): Ditto.
326         (mixi-bbs-title): Ditto.
327         (mixi-bbs-content): Ditto.
328
329         * sb-mixi.el (shimbun-mixi-make-subject): Follow the change above.
330         (shimbun-mixi-make-body): Ditto.
331         
332 2006-11-27  OHASHI Akira  <bg66@koka-in.org>
333
334         * mixi.el (mixi-event-cache): New variable.
335         (mixi-make-event): New function.
336         (mixi-event-url-regexp): New constant.
337         (mixi-make-event-from-url): New function.
338         (mixi-event-p): New macro.
339         (mixi-event-page): Ditto.
340         (mixi-event-time-regexp): New regexp.
341         (mixi-event-title-regexp): Ditto.
342         (mixi-event-owner-regexp): Ditto.
343         (mixi-event-date-regexp): Ditto.
344         (mixi-event-place-regexp): Ditto.
345         (mixi-event-detail-regexp): Ditto.
346         (mixi-event-limit-regexp): Ditto.
347         (mixi-event-members-regexp): Ditto.
348         (mixi-event-realize): New function.
349         (mixi-event-community): New accessor method.
350         (mixi-event-id): Ditto.
351         (mixi-event-time): Ditto.
352         (mixi-event-title): Ditto.
353         (mixi-event-owner): Ditto.
354         (mixi-event-date): Ditto.
355         (mixi-event-place): Ditto.
356         (mixi-event-detail): Ditto.
357         (mixi-event-limit): Ditto.
358         (mixi-event-members): Ditto.
359         (mixi-event-set-time): Ditto.
360         (mixi-event-set-title): Ditto.
361         (mixi-event-set-owner): Ditto.
362         (mixi-event-set-date): Ditto.
363         (mixi-event-set-place): Ditto.
364         (mixi-event-set-detail): Ditto.
365         (mixi-event-set-limit): Ditto.
366         (mixi-event-set-members): Ditto.
367         (mixi-bbs-list-page): Rename from `mixi-topic-list-page'.
368         (mixi-bbs-list-regexp): Rename from `mixi-topic-list-regexp'.
369         (mixi-get-bbses): Rename from `mixi-get-topics'.
370         (mixi-new-bbs-list-page): Rename from `mixi-new-topic-list-page'.
371         (mixi-new-bbs-list-regexp): Rename from `mixi-new-topic-list-regexp'.
372         (mixi-get-new-bbses): Rename from `mixi-get-new-topics'.
373         (mixi-bbs-list-regexp): Follow the change above.
374         (mixi-get-bbses): Ditto.
375         (mixi-new-bbs-list-regexp): Ditto.
376         (mixi-get-new-bbses): Ditto.
377         (mixi-event-comment-list-page): New function.
378         (mixi-event-comment-list-regexp): New constant.
379
380         * sb-mixi.el (shimbun-mixi-group-alist): Follow the change above.
381         (shimbun-mixi-make-subject): Ditto.
382         (shimbun-mixi-make-xref): Ditto.
383         (shimbun-mixi-get-headers): Ditto.
384         (shimbun-get-headers): Ditto.
385         (shimbun-mixi-make-body): New function.
386         (shimbun-article): Follow the change above.
387
388 2006-11-27  OHASHI Akira  <bg66@koka-in.org>
389
390         * sb-mixi.el (shimbun-mixi-get-headers): Don't quit even if there are
391         comments which have already gotten.
392
393 2006-11-27  OHASHI Akira  <bg66@koka-in.org>
394
395         * mixi.el (mixi-topic-content-regexp): Fix regexp.
396         (mixi-topic-realize): Follow the change above.
397
398 2006-11-25  OHASHI Akira  <bg66@koka-in.org>
399
400         * mixi.el (mixi-save-cache): Use `symbol-value' instead of
401         `default-value'.
402
403 2006-11-24  OHASHI Akira  <bg66@koka-in.org>
404
405         * mixi.el (mixi-directory): Rename from `mixi-cache-directory'.
406         (mixi-cache-regexp): New regexp.
407         (mixi-save-cache): New function.
408         (mixi-read-cache): Ditto.
409         (mixi-load-cache): Ditto.
410
411 2006-11-24  OHASHI Akira  <bg66@koka-in.org>
412
413         * mixi.el (mixi-retrieve): New macro.
414         (mixi-retrieve-1): Use it.
415         (mixi-login): Ditto.
416         (mixi-logout): Ditto.
417         (with-mixi-retrieve): Ditto.
418
419 2006-11-23  OHASHI Akira  <bg66@koka-in.org>
420
421         * mixi.el (mixi-url-retrieve): Rename from `mixi-w3-retrieve'.
422         (mixi-retrieve-function): Follow the change above.
423
424 2006-11-22  OHASHI Akira  <bg66@koka-in.org>
425
426         * mixi.el (mixi-w3-retrieve): Use `decode-coding-string' instead of
427         `mm-decode-coding-string'.
428
429 2006-11-22  OHASHI Akira  <bg66@koka-in.org>
430
431         * sb-mixi.el (shimbun-get-headers): Simplify.
432
433 2006-11-22  OHASHI Akira  <bg66@koka-in.org>
434
435         * mixi.el (mixi-message-owner-regexp): Fix regexp.
436         (mixi-message-title-regexp): Ditto.
437         (mixi-message-time-regexp): Ditto.
438         (mixi-message-realize): Follow the change above.
439
440 2006-11-22  OHASHI Akira  <bg66@koka-in.org>
441
442         * mixi.el (mixi-log-list-regexp): Fix regexp.
443
444 2006-11-22  OHASHI Akira  <bg66@koka-in.org>
445
446         * sb-mixi.el (shimbun-comment-article): Simplify.
447
448 2006-11-22  KAMO Tomoyuki  <kto2038@yahoo.co.jp>
449
450         * mixi.el (mixi-get-matched-items): Fix the condition for quitting
451         retrieval.
452
453 2006-11-20  OHASHI Akira  <bg66@koka-in.org>
454
455         * sb-mixi.el (shimbun-mixi-get-comment-p): New user option.
456         (shimbun-mixi-get-headers): Use it.
457
458 2006-11-11  OHASHI Akira  <bg66@koka-in.org>
459
460         * mixi.el (mixi-topic-content-regexp): Fix regexp.
461         (mixi-topic-realize): Follow the change above.
462         (mixi-topic-comment-list-regexp): Fix regexp.
463         (mixi-diary-comment-list-regexp): Follow the change above.
464         (mixi-get-comments): Ditto.
465
466 2006-11-11  OHASHI Akira  <bg66@koka-in.org>
467
468         * mixi.el (mixi-topic-comment-list-page): Use `all' instead of '%d'.
469
470 2006-11-10  OHASHI Akira  <bg66@koka-in.org>
471
472         * mixi.el (mixi-get-new-comments): Return diaries instead of comments.
473
474 2006-11-10  OHASHI Akira  <bg66@koka-in.org>
475
476         * sb-mixi.el (shimbun-mixi-group-alist): Add `messages' to default
477         value.
478         (shimbun-mixi-make-xref): Follow the change above.
479
480 2006-11-10  OHASHI Akira  <bg66@koka-in.org>
481
482         * sb-mixi.el (shimbun-mixi-get-headers): Stop getting comment's
483         headers when it was already shown.
484         (shimbun-get-headers): Follow the change above.
485
486 2006-11-10  OHASHI Akira  <bg66@koka-in.org>
487
488         * sb-mixi.el: New file.
489
490 2006-11-10  OHASHI Akira  <bg66@koka-in.org>
491
492         * mixi.el (mixi-expand-url): Don't expand twice.
493
494 2006-11-10  OHASHI Akira  <bg66@koka-in.org>
495
496         * mixi.el (mixi-log-list-regexp): Fix regexp.
497         (mixi-community-owner-regexp): Ditto.
498         (mixi-topic-owner-regexp): Ditto.
499         (mixi-topic-content-regexp): Ditto.
500         (mixi-diary-comment-list-regexp): Ditto.
501         (mixi-topic-comment-list-regexp): Ditto.
502         (mixi-message-owner-regexp): Ditto.
503         (mixi-introduction-list-regexp): Ditto.
504         (mixi-my-introduction-list-regexp): Ditto.
505
506 2006-11-09  OHASHI Akira  <bg66@koka-in.org>
507
508         * mixi.el (mixi-object-owner): New accessor method.
509         (mixi-object-time): Ditto.
510         (mixi-object-title): Ditto.
511
512 2006-11-09  OHASHI Akira  <bg66@koka-in.org>
513
514         * mixi.el (mixi-make-friend-from-url): Support my object.
515         (mixi-make-object-from-url): Ditto.
516
517 2006-11-08  OHASHI Akira  <bg66@koka-in.org>
518
519         * mixi.el (mixi-friend-realize): Don't remove markup.
520         (mixi-diary-realize): Ditto.
521         (mixi-community-realize): Ditto.
522         (mixi-topic-realize): Ditto.
523         (mixi-get-comments): Ditto.
524         (mixi-message-realize): Ditto.
525         (mixi-get-introductions): Ditto.
526
527 2006-11-08  OHASHI Akira  <bg66@koka-in.org>
528
529         * mixi.el (mixi-object-url-regexp): New regexp.
530         (mixi-friend-url-regexp): Ditto.
531         (mixi-diary-url-regexp): Ditto.
532         (mixi-topic-url-regexp): Ditto.
533         (mixi-message-url-regexp): Ditto.
534         (mixi-community-url-regexp): Ditto.
535         (mixi-make-object-from-url): New function.
536         (mixi-make-friend-from-url): Ditto.
537         (mixi-make-diary-from-url): Ditto.
538         (mixi-make-community-from-url): Ditto.
539         (mixi-make-topic-from-url): Ditto.
540         (mixi-make-message-from-url): Ditto.
541         (mixi-object-content): New accessor method.
542
543 2006-11-06  OHASHI Akira  <bg66@koka-in.org>
544
545         * mixi.el (mixi-expand-url): New macro.
546         (mixi-w3-retrieve): Use it.
547         (mixi-w3m-retrieve): Ditto.
548         (mixi-curl-retrieve): Ditto.
549
550 2006-11-01  OHASHI Akira  <bg66@koka-in.org>
551
552         * mixi.el (mixi-diary-comment-list-regexp): Fix regexp.
553         (mixi-topic-comment-list-regexp): Ditto.
554         (mixi-get-comments): Follow the change above.
555
556 2006-10-28  OHASHI Akira  <bg66@koka-in.org>
557
558         * mixi.el (mixi-message-box-list): New constant.
559         (mixi-message-box-p): New macro.
560         (mixi-message-box-name): New function.
561         (mixi-get-messages): Use them.
562
563 2006-10-25  OHASHI Akira  <bg66@koka-in.org>
564
565         * mixi.el (mixi-remove-markup): When STRING is nil, insert a null
566         string.
567         (mixi-make-introduction): New function.
568         (mixi-introduction-p): New macro.
569         (mixi-introduction-parent): New accessor method.
570         (mixi-introduction-owner): Ditto.
571         (mixi-introduction-content): Ditto.
572         (mixi-introduction-list-page): New macro.
573         (mixi-introduction-list-regexp): New regexp.
574         (mixi-my-introduction-list-regexp): Ditto.
575         (mixi-get-introductions): New function.
576
577 2006-10-25  Daiki Ueno  <ueno@unixuser.org>
578
579         * mixi.el (mixi-retrieve-function): Try to select
580         mixi-retrieve-function automatically.
581
582 2006-10-25  OHASHI Akira  <bg66@koka-in.org>
583
584         * mixi.el (mixi-cache-expires): Add new constant.
585         (mixi-cache-expired-p): Follow the change above.
586
587 2006-10-25  OHASHI Akira  <bg66@koka-in.org>
588
589         * mixi.el (mixi-retrieve-function): Use `radio' instead of `choice'.
590         (mixi-default-email): Ditto.
591         (mixi-default-password): Ditto.
592         (mixi-cache-expires): Ditto.
593
594 2006-10-25  Daiki Ueno  <ueno@unixuser.org>
595
596         * mixi.el (mixi-time-less-p): Normalize encoded time.
597         (mixi-time-add): Ditto.
598
599 2006-10-24  OHASHI Akira  <bg66@koka-in.org>
600
601         * mixi.el (mixi-object-timestamp): New accessor method.
602         (mixi-cache-expired-p): Use it.
603         (mixi-object-realize-p): New alias.
604         (mixi-object-set-timestamp): New accessor method.
605         (mixi-object-touch): New macro.
606         (mixi-friend-realize-p): Abolish.
607         (mixi-friend-touch): Ditto.
608         (mixi-diary-realize-p): Ditto.
609         (mixi-diary-touch): Ditto.
610         (mixi-community-realize-p): Ditto.
611         (mixi-community-touch): Ditto.
612         (mixi-topic-realize-p): Ditto.
613         (mixi-topic-touch): Ditto.
614         (mixi-message-realize-p): Ditto.
615         (mixi-message-touch): Ditto.
616         (mixi-friend-realize): Follow the change above.
617         (mixi-diary-realize): Ditto.
618         (mixi-community-realize): Ditto.
619         (mixi-topic-realize): Ditto.
620         (mixi-message-realize): Ditto.
621
622 2006-10-24  OHASHI Akira  <bg66@koka-in.org>
623
624         * mixi.el (mixi-message-cache): New variable.
625         (mixi-make-message): New function.
626         (mixi-message-p): New macro.
627         (mixi-message-page): Ditto.
628         (mixi-message-owner-regexp): New regexp.
629         (mixi-message-title-regexp): Ditto.
630         (mixi-message-time-regexp): Ditto.
631         (mixi-message-content-regexp): Ditto.
632         (mixi-message-realize): New function.
633         (mixi-message-realize-p): New accessor method.
634         (mixi-message-id): Ditto.
635         (mixi-message-box): Ditto.
636         (mixi-message-owner): Ditto.
637         (mixi-message-title): Ditto.
638         (mixi-message-time): Ditto.
639         (mixi-message-content): Ditto.
640         (mixi-message-touch): Ditto.
641         (mixi-message-set-owner): Ditto.
642         (mixi-message-set-title): Ditto.
643         (mixi-message-set-time): Ditto.
644         (mixi-message-set-content): Ditto.
645         (mixi-message-list-page): New macro.
646         (mixi-message-list-regexp): New regexp.
647         (mixi-get-messages): New function.
648
649 2006-10-24  Daiki Ueno  <ueno@unixuser.org>
650
651         * mixi.el (with-mixi-decoded-time-value): Abolished.
652         (mixi-encode-time-value): Abolished.
653         (mixi-time-less-p): Simplified.
654         (mixi-time-add): Simplified.
655         (mixi-seconds-to-time): Simplified.
656
657 2006-10-24  OHASHI Akira  <bg66@koka-in.org>
658
659         * mixi.el (with-mixi-retrieve): Put `edebug-form-spec'.
660         (with-mixi-decoded-time-value): Ditto.
661
662 2006-10-24  OHASHI Akira  <bg66@koka-in.org>
663
664         * mixi.el (mixi-get-matched-items): Fix when MAX-NUMBERS is nil.
665
666 2006-10-24  OHASHI Akira  <bg66@koka-in.org>
667
668         * mixi.el (mixi-diary-comment-list-page): Use `%d' instead of `all'
669         for page parameter.
670         (mixi-topic-comment-list-page): Ditto.
671         (mixi-get-comments): Use `max-numbers' instead of 1.
672         (mixi-get-matched-items): Exit when the same items got already.
673
674 2006-10-23  OHASHI Akira  <bg66@koka-in.org>
675
676         * mixi.el (toplevel): Don't use the FILENAME argument of `require'.
677
678 2006-10-23  OHASHI Akira  <bg66@koka-in.org>
679
680         * mixi.el (with-mixi-decoded-time-value): New macro.
681         (mixi-encode-time-value): New function.
682         (mixi-time-less-p): Ditto.
683         (mixi-time-add): Ditto.
684         (mixi-seconds-to-time): Ditto.
685         (mixi-cache-expired-p): Use them.
686
687 2006-10-23  OHASHI Akira  <bg66@koka-in.org>
688
689         * mixi.el (mixi-get-friends): Change the FRIEND and the MAX-NUMBERS
690         argument to the ARGS argument.
691         (mixi-get-diaries): Ditto.
692         (mixi-get-communities): Ditto.
693
694         * mixi.el (mixi-get-matched-items): Change the MAX-PAGES argument to
695         MAX-NUMBERS.
696         (mixi-friend-max-pages): Abolish.
697         (mixi-favorite-max-pages): Ditto.
698         (mixi-log-max-pages): Ditto.
699         (mixi-diary-max-pages): Ditto.
700         (mixi-new-diary-max-pages): Ditto.
701         (mixi-community-max-pages): Ditto.
702         (mixi-topic-max-pages): Ditto.
703         (mixi-new-topic-max-pages): Ditto.
704         (mixi-new-comment-max-pages): Ditto.
705         (mixi-get-friends): Add the MAX-NUMBERS argument.
706         (mixi-get-favorites): Ditto.
707         (mixi-get-logs): Ditto.
708         (mixi-get-diaries): Ditto.
709         (mixi-get-new-diaries): Ditto.
710         (mixi-get-communities): Ditto.
711         (mixi-get-topics): Ditto.
712         (mixi-get-new-topics): Ditto.
713         (mixi-get-comments): Ditto.
714         (mixi-get-new-comments): Ditto.
715
716 2006-10-23  Daiki Ueno  <ueno@unixuser.org>
717
718         * mixi.el (mixi-curl-retrieve): Make the temp buffer unibyte.
719
720 2006-10-23  Daiki Ueno  <ueno@unixuser.org>
721
722         * mixi.el (mixi-curl-retrieve): New function.
723         (mixi-retrieve-function): Don't use NOERROR arg of require.
724
725 2006-10-23  OHASHI Akira  <bg66@koka-in.org>
726
727         * mixi.el (mixi-get-matched-items): Don't convert string to number.
728         (mixi-login): Ditto.
729         (mixi-make-me): Ditto.
730         (mixi-friend-page): Ditto.
731         (mixi-friend-list-page): Ditto.
732         (mixi-diary-page): Ditto.
733         (mixi-diary-list-page): Ditto.
734         (mixi-community-page): Ditto.
735         (mixi-community-realize): Ditto.
736         (mixi-community-list-page): Ditto.
737         (mixi-topic-page): Ditto.
738         (mixi-topic-realize): Ditto.
739         (mixi-topic-list-page): Ditto.
740         (mixi-diary-comment-list-page): Ditto.
741         (mixi-topic-comment-list-page): Ditto.
742         (mixi-get-logs): Ditto.
743         (mixi-get-comments): Ditto.
744
745 2006-10-23  OHASHI Akira  <bg66@koka-in.org>
746
747         * mixi.el: Try to require `url' and `w3m'.
748         (mixi-get-comments): Fix typo.
749
750 2006-10-23  OHASHI Akira  <bg66@koka-in.org>
751
752         * mixi.el (mixi-retrieve-function): New user option.
753         (mixi-retrieve): Abolish.
754         (mixi-w3-retrieve): New function.
755         (mixi-w3m-retrieve): Ditto.
756         (mixi-retrieve-1): Ditto.
757         (mixi-login): Follow the change above.
758         (with-mixi-retrieve): Ditto.
759
760 2006-10-23  OHASHI Akira  <bg66@koka-in.org>
761
762         * mixi.el: Require `url' instead of `w3m'.
763         (mixi-retrieve): Follow the change above.
764         (mixi-login): Ditto.
765         (mixi-continuously-access-interval): Increase to 4.0.
766         (mixi-verbose): Abolish.
767         (mixi-friend-to-id): Ditto.
768         (mixi-community-to-id): Ditto.
769
770 2006-10-22  OHASHI Akira  <bg66@koka-in.org>
771
772         * mixi.el (mixi-make-community): New slot `members'.
773         (mixi-community-members): New accessor method.
774         (mixi-community-set-members): Ditto.
775         (mixi-community-members-regexp): New regexp.
776         (mixi-community-realize): Use them.
777
778         * mixi.el (mixi-make-community): New slot `open level'.
779         (mixi-community-open-level): New accessor method.
780         (mixi-community-set-open-level): Ditto.
781         (mixi-community-open-level-regexp): New regexp.
782         (mixi-community-realize): Use them.
783
784         * mixi.el (mixi-make-community): New slot `authority'.
785         (mixi-community-authority): New accessor method.
786         (mixi-community-set-authority): Ditto.
787         (mixi-community-authority-regexp): New regexp.
788         (mixi-community-realize): Use them.
789
790 2006-10-22  OHASHI Akira  <bg66@koka-in.org>
791
792         * mixi.el (mixi-make-friend): New slot `sex'.
793         (mixi-friend-sex): New accessor method.
794         (mixi-friend-set-sex): Ditto.
795         (mixi-friend-name-sex-regexp): Rename from `mixi-friend-name-regexp'.
796         (mixi-my-name-regexp): Abolish.
797         (mixi-friend-realize): Use them.
798
799         * mixi.el (mixi-make-friend): New slot `address'.
800         (mixi-friend-address): New accessor method.
801         (mixi-friend-set-address): Ditto.
802         (mixi-friend-address-regexp): New regexp.
803         (mixi-friend-realize): Use them.
804
805         * mixi.el (mixi-make-friend): New slot `age'.
806         (mixi-friend-age): New accessor method.
807         (mixi-friend-set-age): Ditto.
808         (mixi-friend-age-regexp): New regexp.
809         (mixi-friend-realize): Use them.
810
811         * mixi.el (mixi-make-friend): New slot `birthday'.
812         (mixi-friend-birthday): New accessor method.
813         (mixi-friend-set-birthday): Ditto.
814         (mixi-friend-birthday-regexp): New regexp.
815         (mixi-friend-realize): Use them.
816
817         * mixi.el (mixi-make-friend): New slot `blood type'.
818         (mixi-friend-blood-type): New accessor method.
819         (mixi-friend-set-blood-type): Ditto.
820         (mixi-friend-blood-type-regexp): New regexp.
821         (mixi-friend-realize): Use them.
822
823         * mixi.el (mixi-make-friend): New slot `birthplace'.
824         (mixi-friend-birthplace): New accessor method.
825         (mixi-friend-set-birthplace): Ditto.
826         (mixi-friend-birthplace-regexp): New regexp.
827         (mixi-friend-realize): Use them.
828
829         * mixi.el (mixi-make-friend): New slot `hobby'.
830         (mixi-friend-hobby): New accessor method.
831         (mixi-friend-set-hobby): Ditto.
832         (mixi-friend-hobby-regexp): New regexp.
833         (mixi-friend-realize): Use them.
834
835         * mixi.el (mixi-make-friend): New slot `job'.
836         (mixi-friend-job): New accessor method.
837         (mixi-friend-set-job): Ditto.
838         (mixi-friend-job-regexp): New regexp.
839         (mixi-friend-realize): Use them.
840
841         * mixi.el (mixi-make-friend): New slot `organization'.
842         (mixi-friend-organization): New accessor method.
843         (mixi-friend-set-organization): Ditto.
844         (mixi-friend-organization-regexp): New regexp.
845         (mixi-friend-realize): Use them.
846
847         * mixi.el (mixi-make-friend): New slot `profile'.
848         (mixi-friend-profile): New accessor method.
849         (mixi-friend-set-profile): Ditto.
850         (mixi-friend-profile-regexp): New regexp.
851         (mixi-friend-realize): Use them.
852
853 2006-10-21  OHASHI Akira  <bg66@koka-in.org>
854
855         * mixi.el (mixi-friend-max-pages): Abolish; Move to toplevel defvar.
856         (mixi-favorite-max-pages): Ditto.
857         (mixi-log-max-pages): Ditto.
858         (mixi-diary-max-pages): Ditto.
859         (mixi-new-diary-max-pages): Ditto.
860         (mixi-community-max-pages): Ditto.
861         (mixi-topic-max-pages): Ditto.
862         (mixi-new-topic-max-pages): Ditto.
863         (mixi-new-comment-max-pages): Ditto.
864
865 2006-10-20  OHASHI Akira  <bg66@koka-in.org>
866
867         * mixi.el (mixi): Use `mixi' instead of `Mixi'.
868         (mixi-url): Ditto.
869         (mixi-coding-system): Ditto.
870         (mixi-continuously-access-interval): Ditto.
871         (mixi-message): Ditto.
872         (mixi-login): Ditto.
873
874 2006-10-20  OHASHI Akira  <bg66@koka-in.org>
875
876         * mixi.el (mixi-login): Tiny fix.
877         (mixi-accept-adult-contents): Fix docs.
878
879 2006-10-20  OHASHI Akira  <bg66@koka-in.org>
880
881         * mixi.el (mixi-login): Return an error when `w3m-use-cookies' is nil.
882
883 2006-10-20  OHASHI Akira  <bg66@koka-in.org>
884
885         * mixi.el: Importing mixi.el.