Permalink
Commits on Jul 22, 2012
  1. Fix the bug of a single tweet timeline consisting of a retweet.

    * twittering-mode.el: Fix the bug that a single tweet timeline
    consisting of a retweet causes an error. A single tweet timeline
    is registered to `twittering-timeline-data-table' in a special
    way (See `twittering-retrieve-single-tweet-sentinel'). However,
    `twittering-current-timeline-referring-id-table' did not take it
    into account.
    (twittering-current-timeline-referring-id-table): return the
    correct hash table for a single tweet timeline.
    cvmat committed Jul 22, 2012
  2. `twittering-render-replied-statuses' uses `pos' correctly.

    * twittering-mode.el: Fix the bug that
    `twittering-render-replied-statuses' may ignore the argument
    `pos'.
    (twittering-render-replied-statuses): correctly consider the
    argument `pos'.
    cvmat committed Jul 22, 2012
  3. `twittering-id-to-time' restores the milli-second parameter.

    * twittering-mode.el: `twittering-id-to-time' restores the
    milli-second parameter.
    (twittering-id-to-time): restore the milli-second parameter.
    cvmat committed Jul 22, 2012
  4. Fix the bug that RTs may not be rendered in composite timelines.

    * twittering-mode.el: Fix the bug that retweets may not be
    rendered in a composite timeline.
    (twittering-render-timeline): render a retweet if the first ID
    referring the retweet is unknown. This is necessary because a
    referring ID table of a composite timeline may lack information of
    some component timelines.
    cvmat committed Jul 22, 2012
  5. Clear list of undo entries on a pop-up edit buffer.

    * twittering-mode.el: Clear list of undo entries on a pop-up edit
    buffer.
    (twittering-update-status-from-pop-up-buffer): clear list of undo
    entries.
    cvmat committed Jul 22, 2012
Commits on May 6, 2012
  1. Visit a single tweet timeline via a URL of a tweet.

    * twittering-mode.el: Visit a single tweet timeline via a URL of a
    tweet.
    (twittering-extract-id-from-url): new function.
    (twittering-other-user-timeline): visit a single tweet timeline if
    the cursor points to a URL of a tweet.
    cvmat committed May 6, 2012
  2. Add the expanded uri to the url string as a property if possible.

    * twittering-mode.el: Add the expanded uri to the url string as a
    property if possible.
    (twittering-make-fontified-tweet-text-with-entity): add the
    expanded-uri property to the url string.
    cvmat committed May 6, 2012
  3. Support a timeline consisting of a tweet specified by its ID.

    * twittering-mode.el: Support a timeline consisting of a tweet
    specified by its ID.
    (twittering-retrieve-single-tweet-sentinel): support the retrieval
    via `twittering-call-api' with the command `retrieve-timeline'.
    (twittering-timeline-spec-to-string): support the single timeline
    spec.
    (twittering-extract-timeline-spec): likewise.
    (twittering-timeline-spec-primary-p): likewise.
    (twittering-current-timeline-data): likewise.
    (twittering-call-api): invoke the `retrieve-single-tweet' command
    if the `retrieve-timeline' command is specified with a single
    timeline spec.
    * test/test-twittering-mode.el: Add a test for the single timeline
    spec.
    * README.markdown: Add an explanation for the single timeline
    spec.
    cvmat committed May 6, 2012
  4. Fix the docstring of `twittering-call-api'.

    * twittering-mode.el: Fix the docstring of `twittering-call-api'.
    (twittering-call-api): fix the docstring for the command
    `retrieve-single-tweet'.
    cvmat committed May 6, 2012
  5. Remove routines for the filter timeline.

    * twittering-mode.el: Remove routines for the filter timeline.
    (twittering-timeline-spec-to-string): remove routines for the
    filter timeline.
    (twittering-extract-timeline-spec): likewise.
    (twittering-timeline-spec-primary-p): remove the mention to the
    filter timeline from the docstring.
    * test/test-twittering-mode.el: remove tests for the filter
    timeline.
    cvmat committed May 6, 2012
  6. Add some timeline specs to the definition of timeline spec strings.

    * twittering-mode.el: Add some timeline specs to the definition of
    timeline spec strings.
    cvmat committed May 6, 2012
Commits on Apr 1, 2012
  1. Fix the order of tags in 'README.markdown'.

    * README.markdown: Fix the order of tags.
    cvmat committed Apr 1, 2012
  2. Add a variable specifying how to open a window for an edit buffer.

    * twittering-mode.el: Add a new variable
    `twittering-pop-to-buffer-function' to specify how to open a
    window for an edit buffer. Previously, a window for an edit buffer
    was opened by invoking the function `pop-to-buffer' with
    specifying non-nil as the argument NORECORD. This was an ad-hoc
    solution of the problem that an edit buffer was assigned on a
    different window for each time. However, with the solution, a
    window for an edit buffer might be hidden by opening another
    window because the window for an edit buffer was not recorded in
    the list of recently selected windows. To avoid the behavior, new
    functions open a window with a fixed rule and record a new window
    in the list.
    (twittering-pop-to-buffer-function): new variable.
    (twittering-pop-to-buffer): new function, which just invokes the
    function specified by `twittering-pop-to-buffer-function'.
    (twittering-pop-to-buffer-simple): new function for the new
    variable `twittering-pop-to-buffer-function'.
    (twittering-pop-to-buffer-in-current-window): likewise.
    (twittering-pop-to-buffer-in-largest-window): likewise.
    (twittering-pop-to-buffer-in-bottom-largest-window): likewise.
    (twittering-update-status-from-pop-up-buffer): use
    `twittering-pop-to-buffer' instead of invoking `pop-to-buffer'
    directly.
    cvmat committed Apr 1, 2012
  3. Bind "C-cC-w" to `twittering-delete-status'.

    The binding is a future replacement for "C-cD", which violates the
    Emacs Key Binding Conventions.
    
    * twittering-mode.el: Bind "C-cC-w" to
    `twittering-delete-status'. The binding is a future replacement
    for "C-cD", which violates the Emacs Key Binding Conventions.
    (twittering-mode-map): bind "C-cC-w" to the function
    `twittering-delete-status'.
    * README.markdown: Fix the documents related to "C-cD".
    cvmat committed Apr 1, 2012
  4. Add basic key bindings to 'Quick start' in 'README.markdown'.

    * README.markdown: Add basic key bindings to the 'Quick start'
    section.
    cvmat committed Apr 1, 2012
  5. Add an explanation how to post an official/native retweet.

    * README.markdown: Add an explanation how to post an
    official/native retweet.
    cvmat committed Apr 1, 2012
  6. Fix the explanation of the key binding 'd' in 'README.markdown'.

    * README.markdown: Fix the explanation of the key binding 'd'.
    cvmat committed Apr 1, 2012
Commits on Mar 26, 2012
  1. Ensure that a pop-up edit buffer is initially marked as unmodified.

    * twittering-mode.el: Ensure that a pop-up edit buffer is
    initially marked as unmodified.
    (twittering-update-status-from-pop-up-buffer): mark the pop-up
    edit buffer as unmodified. Since the help is rendered as a
    read-only text, the buffer must be marked as unmodified
    explicitly.
    cvmat committed Mar 26, 2012
  2. Update the document in 'README.markdown'.

    * README.markdown: Update the document.
    cvmat committed Mar 26, 2012
  3. Fix a typo in 'README.markdown'.

    * README.markdown: Fix a typo.
    cvmat committed Mar 26, 2012
  4. Fix the calculation of length of a tweet including a URL.

    * twittering-mode.el: Fix the calculation of length of a tweet
    including a URL.
    (twittering-effective-length): always use the length retrieved by
    'help/configuration' API. The function previously used the minimum
    of the length by the API and the original length. This causes
    failure in posting a tweet because the t.co URL wrapper
    automatically wraps all links as of October 10, 2011.
    cvmat committed Mar 26, 2012
  5. Fix the footer of 'twittering-mode.el'.

    * twittering-mode.el: Fix the filename of the footer line.
    cvmat committed Mar 26, 2012
Commits on Mar 17, 2012
  1. Update the docstring of `twittering-initial-timeline-spec-string'.

    * twittering-mode.el: Update the docstring of the variable
    `twittering-initial-timeline-spec-string'.
    (twittering-initial-timeline-spec-string): update the docstring.
    cvmat committed Mar 17, 2012
  2. Use the time extracted from ID for forbidden or non-existent tweets.

    * twittering-mode.el: Use the time extracted from ID for forbidden
    or non-existent tweets.
    (twittering-make-alist-of-forbidden-tweet): use the time extracted
    from ID.
    (twittering-make-alist-of-non-existent-tweet): likewise.
    cvmat committed Mar 17, 2012
  3. Add a function extracting a time from an ID generated by Snowflake.

    * twittering-mode.el: Add a new function `twittering-id-to-time'
    that extracts a corresponding time from an ID generated by
    Snowflake.
    (twittering-snowflake-epoch-time): new function.
    (twittering-id-to-time): new function.
    cvmat committed Mar 17, 2012
  4. Fix a typo in 'NEWS'.

    cvmat committed Mar 17, 2012
  5. Support iterative retrieval of a series of replies.

    * twittering-mode.el: Support iterative retrieval of a series of
    replies.
    (twittering-retrieve-single-tweet-sentinel): redisplay some
    regions related to the retrieved status.
    (twittering-render-a-tweet-with-delay): new function.
    (twittering-toggle-or-retrieve-replied-statuses): new function.
    (twittering-mode-map): bind "R" to the new function
    `twittering-toggle-or-retrieve-replied-statuses'.
    cvmat committed Mar 17, 2012
  6. Regions to be redisplayed can be specified by various symbols.

    * twittering-mode.el: `twittering-redisplay-status-on-each-buffer'
    supports various symbols as a specifier of regions to be
    redisplayed.
    (twittering-redisplay-status-on-each-buffer): support other
    symbols besides `need-to-be-updated' as a specifier of regions to
    be redisplayed.
    cvmat committed Mar 17, 2012
  7. Add a new function `twittering-render-replied-statuses'.

    * twittering-mode.el: Add a new function
    `twittering-render-replied-statuses'.
    (twittering-render-replied-statuses): new function, which renders
    replied statuses even if some replied statuses have been already
    rendered.
    (twittering-show-replied-statuses): reimplemented with the new
    function `twittering-render-replied-statuses'.
    cvmat committed Mar 17, 2012
  8. Fix the behavior of `twittering-replied-statuses-visible-p'.

    * twittering-mode.el: Fix the behavior of the function
    `twittering-replied-statuses-visible-p' on a header or a footer.
    (twittering-replied-statuses-visible-p): return nil on a header or
    a footer.
    cvmat committed Mar 17, 2012
  9. Add functions for finding a region of replied statuses.

    * twittering-mode.el: Add functions for finding a region of
    replied statuses with the common base status.
    (twittering-replied-statuses-visible-p): add a docstring.
    (twittering-get-beginning-of-visible-replied-statuses): new
    function, which returns the beginning position of replied statuses
    rendered by `twittering-show-replied-statuses'.
    (twittering-get-end-of-visible-replied-statuses): new function,
    which returns the end position of replied statuses rendered by
    `twittering-show-replied-statuses'.
    (twittering-hide-replied-statuses): determine a region being
    deleted by using the new functions.
    cvmat committed Mar 17, 2012
  10. Add a new command `retrieve-single-tweet' to `twittering-call-api'.

    * twittering-mode.el: Add a new command `retrieve-single-tweet'
    to the function `twittering-call-api'.
    (twittering-retrieve-single-tweet-sentinel): new function.
    (twittering-call-api): add `retrieve-single-tweet' as a new
    command.
    (twittering-make-alist-of-forbidden-tweet): new function, which
    generates a dummy alist for a forbidden tweet.
    (twittering-make-alist-of-non-existent-tweet): new function, which
    generates a dummy alist for a non-existent tweet.
    cvmat committed Mar 17, 2012
  11. Add a new function `twittering-make-field-id-from-id'.

    * twittering-mode.el: Add a new function
    `twittering-make-field-id-from-id' which generates a field ID from
    a tweet ID instead of a tweet alist.
    (twittering-make-field-id-from-id): new function.
    (twittering-make-field-id): reimplemented with the new function
    `twittering-make-field-id-from-id'.
    cvmat committed Mar 17, 2012
  12. Remove the function `twittering-make-field-properties'.

    * twittering-mode.el: Remove the function
    `twittering-make-field-properties'. It is unnecessary because
    `twittering-render-a-field' automatically add a field property.
    (twittering-get-common-properties): update the docstring.
    (twittering-make-field-properties): removed.
    (twittering-make-field-properties-of-popped-ancestors): removed.
    (twittering-make-properties-of-popped-ancestors): new function.
    (twittering-show-replied-statuses): use
    `twittering-make-properties-of-popped-ancestors' instead of
    `twittering-make-field-properties-of-popped-ancestors'.
    cvmat committed Mar 17, 2012
  13. Record HTTP response headers on debug mode.

    * twittering-mode.el: Record HTTP response headers on debug mode.
    (twittering-get-response-header): record the extracted HTTP
    response header if `twittering-debug-mode' is non-nil.
    cvmat committed Mar 17, 2012