From: <twm...@li...> - 2011-04-23 13:53:20
|
Branch: refs/heads/master Home: https://github.com/hayamiz/twittering-mode Commit: c4c43f175d49fe62aa5411df9f5a22fba225d916 https://github.com/hayamiz/twittering-mode/commit/c4c43f175d49fe62aa5411df9f5a22fba225d916 Author: Tadashi MATSUO <ta...@my...> Date: 2011-04-23 (Sat, 23 Apr 2011) Changed paths: M ChangeLog M test/test-twittering-mode.el Log Message: ----------- Add a test for a timeline spec string like "#hashtag". * test/test-twittering-mode.el: add a test for a timeline spec string like "#hashtag". Commit: 3d60ae1fe695c4217e6b5ca4ead7b4dd015a7ab6 https://github.com/hayamiz/twittering-mode/commit/3d60ae1fe695c4217e6b5ca4ead7b4dd015a7ab6 Author: Tadashi MATSUO <ta...@my...> Date: 2011-04-23 (Sat, 23 Apr 2011) Changed paths: M ChangeLog M twittering-mode.el Log Message: ----------- Store the formatter function before compilation. * twittering-mode.el: Store the formatter function before compilation. (twittering-format-status-function-without-compile): new variable. (twittering-update-status-format): store the formatter function as a lambda expression before being compiled. Commit: 201a9ab132f5bdb1f87c6ead457b97b50a177233 https://github.com/hayamiz/twittering-mode/commit/201a9ab132f5bdb1f87c6ead457b97b50a177233 Author: Tadashi MATSUO <ta...@my...> Date: 2011-04-23 (Sat, 23 Apr 2011) Changed paths: M ChangeLog M twittering-mode.el Log Message: ----------- Embed expressions for fontification in the formatter function. * twittering-mode.el: Embed expressions for fontification in the formatter function instead of calling them as a function. (twittering-make-fontified-tweet-text): return an expression that fontifies a given string. The regular expressions of strings being fontified are concatenated on generating a formatter function. (twittering-generate-format-table): embed the expression fontifying a string in the formatter function. The expression will be byte-compiled by `twittering-update-status-format'. Commit: ad5a2329158150077414421620abbb0595d7e2dc https://github.com/hayamiz/twittering-mode/commit/ad5a2329158150077414421620abbb0595d7e2dc Author: Tadashi MATSUO <ta...@my...> Date: 2011-04-23 (Sat, 23 Apr 2011) Changed paths: M ChangeLog M twittering-mode.el Log Message: ----------- Redefine some functions as inline in order to improve the formatter. * twittering-mode.el: Redefine some functions as inline in order to make the formatter function more efficient. (twittering-make-common-properties): redefined as an inline function. (twittering-make-string-with-user-name-property): likewise. (twittering-make-string-with-source-property): likewise. (twittering-fill-string): likewise. (twittering-update-filled-string): likewise. (twittering-make-passed-time-string): likewise. Commit: 5207427e193374a9884907e6a0151dd111b1ed7a https://github.com/hayamiz/twittering-mode/commit/5207427e193374a9884907e6a0151dd111b1ed7a Author: Tadashi MATSUO <ta...@my...> Date: 2011-04-23 (Sat, 23 Apr 2011) Changed paths: M ChangeLog M twittering-mode.el Log Message: ----------- Reduce redundant calls of `string-match' on formatting a tweet. * twittering-mode.el: Reduce redundant calls of `string-match' on formatting a tweet. When generating a timeline spec from a string with obvious meaning, the new macros are used instead of the general function, `twittering-extract-timeline-spec'. (twittering-make-user-timeline-spec-direct): new macro. (twittering-make-list-timeline-spec-direct): new macro. (twittering-make-hashtag-timeline-spec-direct): new macro. (twittering-extract-timeline-spec): use new macros. (twittering-make-string-with-user-name-property): call the new macro `twittering-make-user-timeline-spec-direct' instead of calling `twittering-extract-timeline-spec'. (twittering-make-fontified-tweet-text): call the new macros `twittering-make-{user,list,hashtag}-timeline-spec-direct' instead of calling `twittering-extract-timeline-spec'. Compare: https://github.com/hayamiz/twittering-mode/compare/22f09d9...5207427 |