Permalink
Commits on Mar 3, 2012
  1. Fix the escape of a query string in a search timeline spec.

    cvmat committed Mar 3, 2012
    * twittering-mode.el: Fix the escape of a query string in a search
    timeline spec.
    (twittering-timeline-spec-to-string): correctly escape a query of
    a search timeline spec.
    (twittering-extract-timeline-spec): correctly decode a query
    string with escaped characters.
    * test/test-twittering-mode.el: Add tests of search timeline
    specs.
Commits on Nov 26, 2011
  1. Fix the strange cursor motion when moving it with logical lines.

    cvmat committed Nov 26, 2011
    Thanks to lemit who reported the problem.
    
    * twittering-mode.el: Fix the strange behavior on moving the
    cursor according to logical lines. Thanks to lemit who reported
    the problem.
    (twittering-mode-setup): bind `inhibit-field-text-motion' to
    non-nil as a buffer-local variable. If it is nil, the field
    property attached tweets interferes with the cursor motion based
    on logical lines.
Commits on Nov 13, 2011
  1. Fix the bug that obsolete macros may be used on byte-compilation.

    cvmat committed Nov 13, 2011
    Thanks to HKey who has discovered the bug.
    
    * twittering-mode.el: Fix the bug that unconditionally adds
    `emacs21' and `url-emacs21' into `load-path' on byte-compilation.
    On byte-compilation, the directories `emacs21' and `url-emacs21',
    which are included in the repository of twittering-mode, were
    unconditionally added into `load-path'. Due to this bug, some
    macros were embedded as obsolete definitions for Emacs21 in the
    result of byte-compilation. Some functions in the result cause
    errors on Emacs 22 or later because the obsolete definitions
    conflict with Emacs newer than 21. On Emacs 22 or later, the
    directories are no longer added to `load-path' on
    byte-compilation.
    Thanks to HKey who has discovered the bug.
Commits on Aug 17, 2011
  1. Correctly store icons when `twittering-convert-fix-size' is nil.

    cvmat committed Aug 17, 2011
    * twittering-mode.el: Correctly store icons when
    `twittering-convert-fix-size' is nil.
    (twittering-save-icon-properties): correctly generate stored
    representation of icon images when its size is not specified
    explicitly.
Commits on Aug 13, 2011
  1. Save icons correctly when `twittering-icon-storage-limit' is nil.

    cvmat committed Aug 13, 2011
    Thanks to HufflepuffBR who reported this problem.
    
    * twittering-mode.el: Save icons correctly when
    `twittering-icon-storage-limit' is nil. Thanks to HufflepuffBR who
    reported this problem.
    (twittering-save-icon-properties): fix the list representation of
    stored data when `twittering-icon-storage-limit' is nil.
Commits on Jul 28, 2011
  1. Output embedded certificates as a file instead of a directory.

    cvmat committed Jul 28, 2011
    * twittering-mode.el: Output embedded certificates as a single
    file instead of a directory including them. This avoids the
    management of multiple hashes for each certificate.
    (twittering-cert-file): new variable replacing
    `twittering-cert-directory'.
    (twittering-cert-directory): removed.
    (twittering-ca-cert-list): new variable replacing
    `twittering-ca-cert-alist'.
    (twittering-ca-cert-alist): removed.
    (twittering-delete-ca-cert): remove a single file including
    multiple certificates.
    (twittering-ensure-ca-cert): prepare a single file including
    multiple certificates instead of a directory including multiple
    files.
    (twittering-make-connection-info): replace the parameter
    `cacert-directory-fullpath' with `cacert-file-fullpath'.
    (twittering-send-http-request-curl): use the option `--cacert'
    instead of `--capath'.
    (twittering-send-http-request-wget): use the option
    `--ca-certificate' instead of `--ca-directory'.
  2. Embed a new root CA certificate to follow an update of the server.

    cvmat committed Jul 28, 2011
    * twittering-mode.el: Embed a new root CA certificate to follow
    an update of the server.
    (twittering-ca-cert-alist): add a new root CA certificate,
    `GeoTrust Global CA' in order to follow the update of the server
    certificate of `search.twitter.com'.
  3. The hash by newer algorithm is also generated for each certificate.

    cvmat committed Jul 28, 2011
    Thanks to Sakuma who reported this problem.
    
    * twittering-mode.el: The hash by newer algorithm introduced in
    OpenSSL 1.0.0 is also generated for each certificate. This is
    required because OpenSSL 1.0.0 and later fails to find an
    appropriate certificate if its name is based on the hash by the
    older algorithm which has been used by OpenSSL before 1.0.0.
    Thanks to Sakuma who reported this problem.
    (twittering-ca-cert-alist): redefined as a constant. And each
    entry has the hash generated by OpenSSL 1.0.0 and later.
    (twittering-delete-ca-cert): delete multiple files for each
    certificate.
    (twittering-ensure-ca-cert): generate two files for each
    certificate, where their names are the hash by the older algorithm
    used by OpenSSL before 1.0.0 and the other hash by the newer
    algorithm used by OpenSSL 1.0.0 and later.
Commits on Jul 25, 2011
  1. Fix a bug occurring when editing a tweet from non-managed buffers.

    cvmat committed Jul 25, 2011
    Thanks to mofigan who reported this problem.
    
    * twittering-mode.el: Fix a bug that moves the cursor by calling
    `twittering-update-status-interactive' from buffers which are not
    managed by `twittering-mode'. Thanks to mofigan who reported this
    problem.
    (twittering-ensure-whole-of-status-is-visible): do not change
    window configuration unless the given window is bound to a buffer
    managed by `twittering-mode'.
  2. Fix the API call for `user_timeline'.

    cvmat committed Jul 25, 2011
    Thanks to Makoto Fujiwara who reported this problem.
    
    * twittering-mode.el: Fix the API call for `user_timeline' in
    order to prevent Twitter from confusing a username consisting of
    digits with a user id. Thanks to Makoto Fujiwara who reported this
    problem.
    (twittering-call-api): fix the API call for `user_timeline'. The
    new implementation gives a username as a query parameter. This
    prevents Twitter from confusing a username consisting of digits
    with a user id.
Commits on Jul 19, 2011
  1. Embed another root CA certificate to follow an update of the server.

    cvmat committed Jul 19, 2011
    * twittering-mode.el: Embed another root CA certificate to follow
    an update of the server. Now, the server certificate for
    `api.twitter.com' is updated and it cannot be verified by the
    already embedded certificate `Equifax Secure Certificate
    Authority'. So, a root CA certificate `VeriSign Class 3 Public
    Primary CA - G2' is also embedded, which is used for verifying the
    server `api.twitter.com'.
    (twittering-cert-file): removed.
    (twittering-delete-ca-cert-file): removed.
    (twittering-cert-directory): new variable.
    (twittering-delete-ca-cert): new function.
    (twittering-ensure-ca-cert): prepare a directory including
    multiple CA certificates instead of a single file. Now this
    function generates "VeriSign Class 3 Public Primary CA - G2".
    (twittering-make-connection-info): replace the parameter
    `cacert-fullpath' with `cacert-directory-fullpath'.
    (twittering-send-http-request-native): remove redundant bindings.
    (twittering-send-http-request-curl): follow the modification of
    the parameter generated by `twittering-make-connection-info'.
    (twittering-send-http-request-wget): likewise.
    * cert/equifax.pem: removed. This certificate had not been used.
    * cert/Equifax_Secure_Certificate_Authority.cer: Add a certificate
    that has been used. It was retrieved from
    https://www.geotrust.com/resources/root_certificates/certificates/Equifx_Secure_Certificate_Authority.cer ,
    which is used only for verifying the server `search.twitter.com'.
    * cert/PCA-3G2.pem: Add a root certificate. It is retrieved from
    https://www.verisign.com/repository/roots/root-certificates/PCA-3G2.pem ,
    which is used for verifying the server `api.twitter.com'.
Commits on Jul 16, 2011
  1. Fix the function for HMAC-SHA1.

    cvmat committed Jul 16, 2011
    * twittering-mode.el: Fix the function for HMAC-SHA1 so that it
    always return a correct digest.
    (twittering-sha1): new function. This function can return a
    correct digest without regard to the current coding system.
    For very long object, the function `sha1' uses an external program
    and coding system for the program is not correctly specified.
    Therefore, the result may depend on the current coding system.
    The new function is an alternative without the above problem.
    (twittering-hmac-sha1): use `twittering-sha1' instead of `sha1'.
  2. Add tests for HMAC-SHA1.

    cvmat committed Jul 16, 2011
    * test/test-twittering-mode.el: Add tests for HMAC-SHA1.
Commits on May 21, 2011
  1. Fix the display of messages about authorization.

    cvmat committed May 21, 2011
    * twittering-mode.el: Fix the display of messages about
    authorization.
    (twittering-send-http-request): do not display a message on
    authorization.
    (twittering-http-get-verify-credentials-sentinel): directly
    display a message whether the authorization succeeded or not.
    `twittering-send-http-request' does not display it.
  2. Fix the message for dead process on basic authentication.

    cvmat committed May 21, 2011
    * twittering-mode.el: Fix the message for dead process on basic
    authentication.
    (twittering-verify-credentials): make the message for dead process
    on basic authentication similar as that on OAuth/xAuth
    authentication.
Commits on May 15, 2011
  1. Ignore errors on `xml-parse-region'.

    cvmat committed May 15, 2011
    * twittering-mode.el: Ignore errors on `xml-parse-region'.
    (twittering-xml-parse-region): return nil if an error happens on
    `xml-parse-region'.
  2. Confirm that the process is alive on waiting for its sentinel.

    cvmat committed May 15, 2011
    * twittering-mode.el: Confirm that the process is alive on waiting
    for its sentinel.
    (twittering-oauth-get-token-alist): check whether the process is
    alive on waiting for the invocation of the sentinel for the
    process.
    (twittering-tinyurl-get): likewise.
    (twittering-verify-credentials): likewise.
    (twittering-get-list-sync): use `twittering-process-alive-p'.
  3. Ensure that a sentinel for a valid proces is invoked.

    cvmat committed May 15, 2011
    * twittering-mode.el: Ensure that a sentinel is invoked when a
    process is started successfully.
    (twittering-start-process-with-sentinel): new function.
    (twittering-send-http-request-native): ensure that the given
    sentinel is invoked when the process is started successfully.
    (twittering-send-http-request-curl): replace `start-process' with
    `twittering-start-process-with-sentinel' in order to ensure that
    the sentinel is invoked.
    (twittering-send-http-request-wget): likewise.
Commits on May 7, 2011
  1. Fix and add tests of proxy configuration.

    cvmat committed May 7, 2011
    * test/test-twittering-mode.el: Fix and add tests of proxy
    configuration. Now they do not depend on environment variables.
Commits on May 5, 2011
  1. Add directories to `load-path' on byte-compilation on Emacs21.

    cvmat committed May 5, 2011
    * twittering-mode.el: Add some directories for Emacs21 to
    `load-path' even when byte-compiling the file on Emacs21.
  2. Replace the symbol `us-ascii' for a coding-system with `iso-safe'.

    cvmat committed May 5, 2011
    * twittering-mode.el: Replace the symbol `us-ascii' for a
    coding-system with `iso-safe', which is valid even on Emacs21.
    (twittering-ensure-ca-cert): use `iso-safe' instead of `us-ascii'
    as a coding-system for ASCII.
    (twittering-start-http-session-curl-https-p): likewise.
    (twittering-initialize-global-variables-if-necessary): likewise.
Commits on Apr 23, 2011
  1. Fix coding system for some operations.

    cvmat committed Apr 23, 2011
    Thanks to Moto_Dong who reported the problem.
    
    * twittering-mode.el: Fix coding system for some operations so
    that they work well even if the default coding system is
    `utf-16le-dos'. Thanks to Moto_Dong who reported the problem.
    (twittering-ensure-ca-cert): explicitly specify coding-system.
    (twittering-start-http-session-curl-https-p): likewise.
    (twittering-read-from-encrypted-file): likewise.
    (twittering-write-and-encrypt): likewise.
    (twittering-load-icon-properties): likewise.
    (twittering-initialize-global-variables-if-necessary): likewise.
    (twittering-status-not-blank-p): likewise.
Commits on Apr 21, 2011
  1. updated how-to-release

    hayamiz committed Apr 21, 2011
Commits on Apr 8, 2011
  1. Add the variable `twittering-fallback-image-format'.

    cvmat committed Apr 8, 2011
    * twittering-mode.el: Add the variable
    `twittering-fallback-image-format'.
    (twittering-fallback-image-format): new variable.
    (twittering-create-image-pair): use the value of
    `twittering-fallback-image-format' as the fallback format instead
    of directly using 'xpm.
  2. Add pre-defined edit skeletons.

    cvmat committed Apr 8, 2011
    * twittering-mode.el: Add pre-defined edit skeletons.
    (twittering-extract-matched-substring-all): new function.
    (twittering-edit-skeleton-alist): add some examples of edit
    skeletons.
    (twittering-edit-skeleton-inherit-hashtags): new function for an
    edit skeleton.
    (twittering-edit-skeleton-inherit-mentions): likewise.
  3. Introduce "edit skeleton".

    cvmat committed Apr 8, 2011
    * twittering-mode.el: Introduce "edit skeleton".
    (twittering-edit-skeleton-footer): new variable.
    (twittering-edit-skeleton-footer-history): new variable.
    (twittering-edit-skeleton-alist): new variable.
    (twittering-switch-edit-skeleton): new function.
    (twittering-edit-skeleton-change-footer): new function.
    (twittering-edit-skeleton-insert-base): new function.
    (twittering-edit-skeleton-insert): new function.
    (twittering-update-status-from-pop-up-buffer): insert the current
    edit skeleton before editing a tweet.
    (twittering-update-status-from-minibuffer): likewise.
  4. `twittering-direct-message' posts a tweet with direct message API.

    cvmat committed Apr 8, 2011
    * twittering-mode.el: `twittering-direct-message' always posts a
    tweet with direct message API.
    (twittering-direct-message): always post a tweet with direct
    message API.
  5. "U" pushes a URI of a tweet on text without a uri property.

    cvmat committed Apr 8, 2011
    * twittering-mode.el: "U" pushes a URI of a tweet on text without
    a uri property.
    (twittering-push-uri-onto-kill-ring): push a URI of a tweet unless
    the currently pointed character has a uri property.
  6. Fix headers for a proxy.

    cvmat committed Apr 8, 2011
    * twittering-mode.el: Fix headers for a proxy.
    (twittering-make-connection-info): extract proxy information from
    `connection-info' instead of directly referring to
    `twittering-http-proxy-user', `twittering-http-proxy-password',
    etc.
    (twittering-send-http-request-native): generate the
    "Proxy-Authorization" header correctly and give the absolute URI
    as the request URI when the connection is peformed via a proxy.
    (twittering-send-http-request-urllib): add "Proxy-Authorization"
    header if necessary.
    (twittering-http-application-headers): do not add headers related
    to a proxy. They are added in functions for each connection
    method.