elisp/mixi.git
18 years agoFixed.
ueno [Wed, 25 Oct 2006 09:17:24 +0000 (09:17 +0000)]
Fixed.

18 years ago(mixi-retrieve-function): Try to select
ueno [Wed, 25 Oct 2006 09:15:26 +0000 (09:15 +0000)]
(mixi-retrieve-function): Try to select
mixi-retrieve-function automatically.

18 years ago* mixi.el (mixi-cache-expires): Add new constant.
bg66 [Wed, 25 Oct 2006 04:49:00 +0000 (04:49 +0000)]
* mixi.el (mixi-cache-expires): Add new constant.
(mixi-cache-expired-p): Follow the change above.

18 years ago* mixi.el (mixi-retrieve-function): Use `radio' instead of `choice'.
bg66 [Wed, 25 Oct 2006 04:15:36 +0000 (04:15 +0000)]
* mixi.el (mixi-retrieve-function): Use `radio' instead of `choice'.
(mixi-default-email): Ditto.
(mixi-default-password): Ditto.
(mixi-cache-expires): Ditto.

18 years agoFixed.
ueno [Wed, 25 Oct 2006 04:03:02 +0000 (04:03 +0000)]
Fixed.

18 years agoFixed.
ueno [Wed, 25 Oct 2006 03:25:16 +0000 (03:25 +0000)]
Fixed.

18 years ago(mixi-time-less-p): Normalize encoded time.
ueno [Wed, 25 Oct 2006 03:24:18 +0000 (03:24 +0000)]
(mixi-time-less-p): Normalize encoded time.
(mixi-time-add): Ditto.

18 years agoAdd comment.
bg66 [Wed, 25 Oct 2006 01:15:03 +0000 (01:15 +0000)]
Add comment.

18 years ago* mixi.el (mixi-object-timestamp): New accessor method.
bg66 [Tue, 24 Oct 2006 12:49:41 +0000 (12:49 +0000)]
* mixi.el (mixi-object-timestamp): New accessor method.
(mixi-cache-expired-p): Use it.
(mixi-object-realize-p): New alias.
(mixi-object-set-timestamp): New accessor method.
(mixi-object-touch): New macro.
(mixi-friend-realize-p): Abolish.
(mixi-friend-touch): Ditto.
(mixi-diary-realize-p): Ditto.
(mixi-diary-touch): Ditto.
(mixi-community-realize-p): Ditto.
(mixi-community-touch): Ditto.
(mixi-topic-realize-p): Ditto.
(mixi-topic-touch): Ditto.
(mixi-message-realize-p): Ditto.
(mixi-message-touch): Ditto.
(mixi-friend-realize): Follow the change above.
(mixi-diary-realize): Ditto.
(mixi-community-realize): Ditto.
(mixi-topic-realize): Ditto.
(mixi-message-realize): Ditto.

18 years agoFix typo.
bg66 [Tue, 24 Oct 2006 08:59:06 +0000 (08:59 +0000)]
Fix typo.

18 years ago* mixi.el (mixi-message-cache): New variable.
bg66 [Tue, 24 Oct 2006 08:57:24 +0000 (08:57 +0000)]
* mixi.el (mixi-message-cache): New variable.
(mixi-make-message): New function.
(mixi-message-p): New macro.
(mixi-message-page): Ditto.
(mixi-message-owner-regexp): New constant.
(mixi-message-subject-regexp): Ditto.
(mixi-message-time-regexp): Ditto.
(mixi-message-content-regexp): Ditto.
(mixi-message-realize): New function.
(mixi-message-realize-p): New accessor method.
(mixi-message-id): Ditto.
(mixi-message-box): Ditto.
(mixi-message-owner): Ditto.
(mixi-message-title): Ditto.
(mixi-message-time): Ditto.
(mixi-message-content): Ditto.
(mixi-message-touch): Ditto.
(mixi-message-set-owner): Ditto.
(mixi-message-set-title): Ditto.
(mixi-message-set-time): Ditto.
(mixi-message-set-content): Ditto.
(mixi-message-list-page): New macro.
(mixi-message-list-regexp): New constant.
(mixi-get-messages): New function.

18 years ago(mixi-seconds-to-time): Simplified.
ueno [Tue, 24 Oct 2006 03:34:42 +0000 (03:34 +0000)]
(mixi-seconds-to-time): Simplified.

18 years ago* mixi.el (with-mixi-decoded-time-value): Abolished.
ueno [Tue, 24 Oct 2006 03:33:33 +0000 (03:33 +0000)]
* mixi.el (with-mixi-decoded-time-value): Abolished.
(mixi-encode-time-value): Abolished.
(mixi-time-less-p): Simplified.
(mixi-time-add): Simplified.

18 years ago* mixi.el (with-mixi-retrieve): Put `edebug-form-spec'.
bg66 [Tue, 24 Oct 2006 02:40:21 +0000 (02:40 +0000)]
* mixi.el (with-mixi-retrieve): Put `edebug-form-spec'.
(with-mixi-decoded-time-value): Ditto.

18 years ago* mixi.el (mixi-get-matched-items): Fix when MAX-NUMBERS is nil.
bg66 [Tue, 24 Oct 2006 01:54:16 +0000 (01:54 +0000)]
* mixi.el (mixi-get-matched-items): Fix when MAX-NUMBERS is nil.

18 years ago* mixi.el (mixi-diary-comment-list-page): Use `%d' instead of `all'
bg66 [Tue, 24 Oct 2006 01:22:15 +0000 (01:22 +0000)]
* mixi.el (mixi-diary-comment-list-page): Use `%d' instead of `all'
for page parameter.
(mixi-topic-comment-list-page): Ditto.
(mixi-get-comments): Use `max-numbers' instead of 1.
(mixi-get-matched-items): Exit when the same items got already.

18 years agoFix typo.
bg66 [Mon, 23 Oct 2006 11:02:08 +0000 (11:02 +0000)]
Fix typo.

18 years ago* (toplevel): Don't use the FILENAME argument of `require'.
bg66 [Mon, 23 Oct 2006 10:56:03 +0000 (10:56 +0000)]
* (toplevel): Don't use the FILENAME argument of `require'.

18 years ago* mixi.el (with-mixi-decoded-time-value): New macro.
bg66 [Mon, 23 Oct 2006 10:42:59 +0000 (10:42 +0000)]
* mixi.el (with-mixi-decoded-time-value): New macro.
(mixi-encode-time-value): New function.
(mixi-time-less-p): Ditto.
(mixi-time-add): Ditto.
(mixi-seconds-to-time): Ditto.
(mixi-cache-expired-p): Use them.

18 years ago* mixi.el (mixi-get-friends): Change the FRIEND and the MAX-NUMBERS
bg66 [Mon, 23 Oct 2006 10:12:03 +0000 (10:12 +0000)]
* mixi.el (mixi-get-friends): Change the FRIEND and the MAX-NUMBERS
argument to the ARGS argument.
(mixi-get-diaries): Ditto.
(mixi-get-communities): Ditto.

* mixi.el (mixi-get-matched-items): Change the MAX-PAGES argument to
MAX-NUMBERS.
(mixi-friend-max-pages): Abolish.
(mixi-favorite-max-pages): Ditto.
(mixi-log-max-pages): Ditto.
(mixi-diary-max-pages): Ditto.
(mixi-new-diary-max-pages): Ditto.
(mixi-community-max-pages): Ditto.
(mixi-topic-max-pages): Ditto.
(mixi-new-topic-max-pages): Ditto.
(mixi-new-comment-max-pages): Ditto.
(mixi-get-friends): Add the MAX-NUMBERS argument.
(mixi-get-favorites): Ditto.
(mixi-get-logs): Ditto.
(mixi-get-diaries): Ditto.
(mixi-get-new-diaries): Ditto.
(mixi-get-communities): Ditto.
(mixi-get-topics): Ditto.
(mixi-get-new-topics): Ditto.
(mixi-get-comments): Ditto.
(mixi-get-new-comments): Ditto.

18 years agoFixed.
ueno [Mon, 23 Oct 2006 08:51:56 +0000 (08:51 +0000)]
Fixed.

18 years ago* mixi.el (mixi-curl-retrieve): Make the temp buffer multibyte.
ueno [Mon, 23 Oct 2006 08:47:14 +0000 (08:47 +0000)]
* mixi.el (mixi-curl-retrieve): Make the temp buffer multibyte.

18 years agoFixed a typo.
ueno [Mon, 23 Oct 2006 08:29:04 +0000 (08:29 +0000)]
Fixed a typo.

18 years agoDon't use NOERROR arg of require.
ueno [Mon, 23 Oct 2006 08:21:22 +0000 (08:21 +0000)]
Don't use NOERROR arg of require.

18 years ago* mixi.el (mixi-curl-retrieve): New function.
ueno [Mon, 23 Oct 2006 08:18:03 +0000 (08:18 +0000)]
* mixi.el (mixi-curl-retrieve): New function.

18 years ago* mixi.el (mixi-get-matched-items): Don't convert string to number.
bg66 [Mon, 23 Oct 2006 08:00:21 +0000 (08:00 +0000)]
* mixi.el (mixi-get-matched-items): Don't convert string to number.
(mixi-login): Ditto.
(mixi-make-me): Ditto.
(mixi-friend-page): Ditto.
(mixi-friend-list-page): Ditto.
(mixi-diary-page): Ditto.
(mixi-diary-list-page): Ditto.
(mixi-community-page): Ditto.
(mixi-community-realize): Ditto.
(mixi-community-list-page): Ditto.
(mixi-topic-page): Ditto.
(mixi-topic-realize): Ditto.
(mixi-topic-list-page): Ditto.
(mixi-diary-comment-list-page): Ditto.
(mixi-topic-comment-list-page): Ditto.
(mixi-get-logs): Ditto.
(mixi-get-comments): Ditto.

18 years ago* mixi.el: Try to require `url' and `w3m'.
bg66 [Mon, 23 Oct 2006 06:28:55 +0000 (06:28 +0000)]
* mixi.el: Try to require `url' and `w3m'.
(mixi-get-comments): Fix typo.

18 years ago* mixi.el (mixi-retrieve-function): New user option.
bg66 [Mon, 23 Oct 2006 05:41:34 +0000 (05:41 +0000)]
* mixi.el (mixi-retrieve-function): New user option.
(mixi-retrieve): Abolish.
(mixi-w3-retrieve): New function.
(mixi-w3m-retrieve): Ditto.
(mixi-retrieve-1): Ditto.
(mixi-login): Follow the change above.
(with-mixi-retrieve): Ditto.

18 years ago* mixi.el: Require `url' instead of `w3m'.
bg66 [Mon, 23 Oct 2006 02:06:30 +0000 (02:06 +0000)]
* mixi.el: Require `url' instead of `w3m'.
(mixi-retrieve): Follow the change above.
(mixi-login): Ditto.
(mixi-continuously-access-interval): Increase to 4.0.
(mixi-verbose): Abolish.
(mixi-friend-to-id): Ditto.
(mixi-community-to-id): Ditto.

18 years ago* mixi.el (mixi-make-community): New slot `members'.
bg66 [Sun, 22 Oct 2006 07:32:41 +0000 (07:32 +0000)]
* mixi.el (mixi-make-community): New slot `members'.
(mixi-community-members): New accessor method.
(mixi-community-set-members): Ditto.
(mixi-community-members-regexp): New constant.
(mixi-community-realize): Use them.

* mixi.el (mixi-make-community): New slot `open level'.
(mixi-community-open-level): New accessor method.
(mixi-community-set-open-level): Ditto.
(mixi-community-open-level-regexp): New constant.
(mixi-community-realize): Use them.

* mixi.el (mixi-make-community): New slot `authority'.
(mixi-community-authority): New accessor method.
(mixi-community-set-authority): Ditto.
(mixi-community-authority-regexp): New constant.
(mixi-community-realize): Use them.

18 years agoFix typo.
bg66 [Sun, 22 Oct 2006 07:05:27 +0000 (07:05 +0000)]
Fix typo.

18 years ago* mixi.el (mixi-make-friend): New slog `sex'.
bg66 [Sun, 22 Oct 2006 07:03:21 +0000 (07:03 +0000)]
* mixi.el (mixi-make-friend): New slog `sex'.
(mixi-friend-sex): New accessor method.
(mixi-friend-set-sex): Ditto.
(mixi-friend-name-sex-regexp): Rename from `mixi-friend-name-regexp'.
(mixi-my-name-regexp): Abolish.
(mixi-friend-realize): Use them.

* mixi.el (mixi-make-friend): New slog `address'.
(mixi-friend-address): New accessor method.
(mixi-friend-set-address): Ditto.
(mixi-friend-address-regexp): New constant.
(mixi-friend-realize): Use them.

* mixi.el (mixi-make-friend): New slog `age'.
(mixi-friend-age): New accessor method.
(mixi-friend-set-age): Ditto.
(mixi-friend-age-regexp): New constant.
(mixi-friend-realize): Use them.

* mixi.el (mixi-make-friend): New slog `birthday'.
(mixi-friend-birthday): New accessor method.
(mixi-friend-set-birthday): Ditto.
(mixi-friend-birthday-regexp): New constant.
(mixi-friend-realize): Use them.

* mixi.el (mixi-make-friend): New slog `blood type'.
(mixi-friend-blood-type): New accessor method.
(mixi-friend-set-blood-type): Ditto.
(mixi-friend-blood-type-regexp): New constant.
(mixi-friend-realize): Use them.

* mixi.el (mixi-make-friend): New slog `birthplace'.
(mixi-friend-birthplace): New accessor method.
(mixi-friend-set-birthplace): Ditto.
(mixi-friend-birthplace-regexp): New constant.
(mixi-friend-realize): Use them.

* mixi.el (mixi-make-friend): New slog `hobby'.
(mixi-friend-hobby): New accessor method.
(mixi-friend-set-hobby): Ditto.
(mixi-friend-hobby-regexp): New constant.
(mixi-friend-realize): Use them.

* mixi.el (mixi-make-friend): New slog `job'.
(mixi-friend-job): New accessor method.
(mixi-friend-set-job): Ditto.
(mixi-friend-job-regexp): New constant.
(mixi-friend-realize): Use them.

* mixi.el (mixi-make-friend): New slog `organization'.
(mixi-friend-organization): New accessor method.
(mixi-friend-set-organization): Ditto.
(mixi-friend-organization-regexp): New constant.
(mixi-friend-realize): Use them.

* mixi.el (mixi-make-friend): New slog `profile'.
(mixi-friend-profile): New accessor method.
(mixi-friend-set-profile): Ditto.
(mixi-friend-profile-regexp): New constant.
(mixi-friend-realize): Use them.

18 years agoFix typo.
bg66 [Sat, 21 Oct 2006 14:51:36 +0000 (14:51 +0000)]
Fix typo.

18 years ago* mixi.el (mixi-friend-max-pages): Abolish; Move to toplevel defvar.
bg66 [Sat, 21 Oct 2006 14:49:11 +0000 (14:49 +0000)]
* mixi.el (mixi-friend-max-pages): Abolish; Move to toplevel defvar.
(mixi-favorite-max-pages): Ditto.
(mixi-log-max-pages): Ditto.
(mixi-diary-max-pages): Ditto.
(mixi-new-diary-max-pages): Ditto.
(mixi-community-max-pages): Ditto.
(mixi-topic-max-pages): Ditto.
(mixi-new-topic-max-pages): Ditto.
(mixi-new-community-max-pages): Ditto.

18 years ago* mixi.el (mixi): Use `mixi' instead of `Mixi'.
bg66 [Fri, 20 Oct 2006 09:42:23 +0000 (09:42 +0000)]
* mixi.el (mixi): Use `mixi' instead of `Mixi'.
(mixi-url): Ditto.
(mixi-coding-system): Ditto.
(mixi-continuously-access-interval): Ditto.
(mixi-message): Ditto.
(mixi-login): Ditto.

18 years ago* mixi.el (mixi-login): Tiny fix.
bg66 [Fri, 20 Oct 2006 08:54:23 +0000 (08:54 +0000)]
* mixi.el (mixi-login): Tiny fix.
(mixi-accept-adult-contents): Fix docs.

18 years agoFix typo.
bg66 [Fri, 20 Oct 2006 06:18:10 +0000 (06:18 +0000)]
Fix typo.

18 years ago* mixi.el (mixi-login): Return a error when `w3m-use-cookies' is nil.
bg66 [Fri, 20 Oct 2006 06:15:37 +0000 (06:15 +0000)]
* mixi.el (mixi-login): Return a error when `w3m-use-cookies' is nil.

18 years agoImporting mixi.el. start
bg66 [Fri, 20 Oct 2006 05:45:11 +0000 (05:45 +0000)]
Importing mixi.el.