aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Bump version to 0.7.1Johnson Denen2017-06-198-8/+8
|
* Catch any errors thrown during url-retrieve.Holger Dürer2017-06-192-3/+30
| | | | | On Emacs24 I've been able to reliably fail url fetching which exposed issues in loading a timeline (it aborts the loading). This catches any errors, marking the image load as failed so that we won't retry (retries are a TODO item I guess) and then succeeds the function so the rest of the timeline loading can proceed.
* More robust bad url detection.Holger Dürer2017-06-191-3/+4
|
* Bump to v0.7.0Johnson Denen2017-05-188-8/+8
|
* Merge branch 'master' into developJohnson Denen2017-05-180-0/+0
|\
| * Bump to v0.6.3Johnson Denen2017-05-158-8/+8
| |
| * Use lexical-binding in all files.Holger Dürer2017-05-158-8/+13
| | | | | | | | | | We only support Emacs 24 and 25 so are free to use sane bindings by default. To keep the linter happy, we need to declare dependency on Emacs 24 in all files.
| * Close #76Johnson Denen2017-05-152-10/+2
| | | | | | | | | | * Delete version variable and function * Use package-file
| * removed accidentally duplicated mastodon-mode-hookAlexander Griffith2017-05-151-6/+0
| |
| * Added face customization closes #124Alexander Griffith2017-05-152-8/+37
| |
| * Add tests for mastodon-media.elHolger Dürer2017-05-153-9/+195
| | | | | | | | This also includes tweaks to make Travis happy — tests previously did pass on my laptop but Travis's environment is different.
| * Move the rendering of images fully into mastodon-media.el and use default ↵Holger Dürer2017-05-153-25/+160
| | | | | | | | | | | | | | images. Having all the logic in one file reduces interdependencies. Having default images is more pleasing during the incremental loading.
| * Make the image loading asynchronous.Holger Dürer2017-05-151-24/+46
| | | | | | | | | | | | | | Now that we are also loading avatars there is a lot of image loading to do to show the timeline. We can do the loading asynchronously to let the user have a look at the toots already while image loading is incrementally proceeding. We can no longer enforce caching of avatar loading since the variable is consulted when the response parsing happens at which point the dynamic binding we had used so far has gone out of scope again.
| * Show users' avatars plus other image work.Holger Dürer2017-05-153-45/+86
| | | | | | | | | | | | | | | | | | - Shows users' avatars (makes only sense if Emacs is built with imagemagick) - Scales media attachement previews to a max size (if Emacs is built with imagemagick) - Enable cacheing of image fetches Known issues: - We should really cache the avatars to avoid having multiple identical images in memory.
* | replaced declare-function with autoloadalexjgriffith2017-05-187-44/+44
| |
* | Replace uses of replace-regexp with search-forward and replace-match.Holger Dürer2017-05-183-4/+11
| |
* | Remove most byte-compile warnings.Holger Dürer2017-05-1811-110/+130
| | | | | | | | | | | | | | We do this by - moving vars into the files where they are (mostly) used - "declaring" vars used elsewhere with the (defvar <var-name>) pattern, - declaring functions defined in others functions rather than loading the file via require.
* | Putting buffer name and update function in buffer local varalexjgriffith2017-05-183-144/+80
| | | | | | | | | | | | | | | | | | | | removed tests for previous version documented mastodon-buffer-spec getters moved mastodon-buffer-spec to mastodon.el combined mastodon-tl--get and mastodon-tl--init, along with other cleanups
* | Fix for #84Alexander Griffith2017-05-182-17/+117
| | | | | | | | | | | | | | | | | | | | | | | | changed more-json in mastodon-tl-tests to recieve an endpont more evocative names and fixed whitespace replaced remaining end eith endpoint-plist added basic unit tests for endpoint selection replaced equalp with equal in tests
* | fixed #133 replaced regex with a trim functionAlexander Griffith2017-05-161-1/+2
| |
* | Fix #131 with refined regexp patternJohnson Denen2017-05-151-1/+1
| |
* | Add Matrix notification to TravisJohnson Denen2017-05-151-0/+7
| |
* | Merge pull request #123 from alexjgriffith/image-nl-placementJohnson Denen2017-05-151-7/+13
|\ \ | | | | | | closed #79
| * \ Merge branch 'develop' into image-nl-placementalexjgriffith2017-05-153-17/+32
| |\ \
| * \ \ adjusted for async image loadingAlexander Griffith2017-05-125-55/+442
| |\ \ \
| * | | | Revert "Adjusted for async image changes"Alexander Griffith2017-05-125-442/+56
| | | | | | | | | | | | | | | | | | | | This reverts commit b0ead06b42ed06218e87a0bb75dae41570592423.
| * | | | Adjusted for async image changesAlexander Griffith2017-05-125-56/+442
| | | | |
| * | | | closed #79Alexander Griffith2017-05-121-9/+12
| | |_|/ | |/| |
* | | | Bump to v0.6.3Johnson Denen2017-05-158-8/+8
| | | |
* | | | Use lexical-binding in all files.Holger Dürer2017-05-158-8/+13
| |_|/ |/| | | | | | | | | | | We only support Emacs 24 and 25 so are free to use sane bindings by default. To keep the linter happy, we need to declare dependency on Emacs 24 in all files.
* | | Close #76Johnson Denen2017-05-152-10/+2
| | | | | | | | | | | | | | | * Delete version variable and function * Use package-file
* | | Merge pull request #125 from alexjgriffith/face-customJohnson Denen2017-05-132-8/+31
|\ \ \ | |_|/ |/| | Face custom
| * | removed accidentally duplicated mastodon-mode-hookAlexander Griffith2017-05-131-6/+0
| | |
| * | Added face customization closes #124Alexander Griffith2017-05-132-8/+37
|/ /
* | Merge pull request #121 from hdurer/async-image-loadingAlexander Griffith2017-05-125-55/+439
|\ \ | |/ |/| Async image loading and avatars
| * Add tests for mastodon-media.elHolger Dürer2017-05-123-9/+195
| | | | | | | | This also includes tweaks to make Travis happy — tests previously did pass on my laptop but Travis's environment is different.
| * Move the rendering of images fully into mastodon-media.el and use default ↵Holger Dürer2017-05-103-25/+160
| | | | | | | | | | | | | | images. Having all the logic in one file reduces interdependencies. Having default images is more pleasing during the incremental loading.
| * Make the image loading asynchronous.Holger Dürer2017-05-101-24/+46
| | | | | | | | | | | | | | Now that we are also loading avatars there is a lot of image loading to do to show the timeline. We can do the loading asynchronously to let the user have a look at the toots already while image loading is incrementally proceeding. We can no longer enforce caching of avatar loading since the variable is consulted when the response parsing happens at which point the dynamic binding we had used so far has gone out of scope again.
| * Show users' avatars plus other image work.Holger Dürer2017-05-083-45/+86
|/ | | | | | | | | - Shows users' avatars (makes only sense if Emacs is built with imagemagick) - Scales media attachement previews to a max size (if Emacs is built with imagemagick) - Enable cacheing of image fetches Known issues: - We should really cache the avatars to avoid having multiple identical images in memory.
* Clean up use of progn.Holger Dürer2017-05-055-27/+21
| | | | | - Lambda, defun, let, etc. all have an implicit progn. - A progn with a single form is identical to that single form.
* Fix some whitespace issues.Holger Dürer2017-05-052-5/+5
|
* Use the more canonical "nil" instead of "'()" when we don't mean an empty list.Holger Dürer2017-05-052-6/+6
| | | | (Besides, just "()" would have been enough anyway. No need to quote "()" or "nil".)
* Don't quote nil.Holger Dürer2017-05-051-3/+3
| | | | "nil" evaluates to itself so no need to quote it.
* Moved decode-coding-string out of tl functionsalexjgriffith2017-05-052-8/+8
|
* Merged nested letsalexjgriffith2017-05-051-3/+3
|
* #114 Swapped customize-set-value to letalexjgriffith2017-05-051-4/+3
|
* removed fonting from shr-render-region callAlexander Griffith2017-05-051-1/+4
|
* Re-do the "Media_Links::" processing.Holger Dürer2017-05-051-38/+31
| | | | | Re-do it as a loop rather than raising an error when the search fails and trying to catch that wholesale.
* Removed the superfluous if around mapconcat and Renamed images media previewalexjgriffith2017-05-051-9/+4
|
* Added suport for multiple media display per tootalexjgriffith2017-05-051-7/+10
|