aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon-media.el
Commit message (Collapse)AuthorAgeFilesLines
* Remove most byte-compile warnings.Holger Dürer2017-05-181-11/+14
| | | | | | | 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.
* Bump to v0.6.3Johnson Denen2017-05-151-1/+1
|
* Use lexical-binding in all files.Holger Dürer2017-05-151-1/+2
| | | | | 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.
* Add tests for mastodon-media.elHolger Dürer2017-05-121-9/+14
| | | | 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-101-6/+112
| | | | | | | 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-081-36/+55
| | | | | | | | | - 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.
* Fix some whitespace issues.Holger Dürer2017-05-051-2/+2
|
* Use the more canonical "nil" instead of "'()" when we don't mean an empty list.Holger Dürer2017-05-051-2/+2
| | | | (Besides, just "()" would have been enough anyway. No need to quote "()" or "nil".)
* 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.
* Fix failing lint stepJohnson Denen2017-04-291-0/+1
|
* Fixed defgroup docstring for mastodon-mediaeAlexander Griffith2017-04-241-2/+2
|
* fixed formatting and conventions for #41Alexander Griffith2017-04-241-18/+19
|
* Fix #41 cleaned up forkAlexander Griffith2017-04-241-1/+5
|
* Now using mastodon-http--getAlexander Griffith2017-04-241-9/+9
|
* Fix #41 fixed function aliaseAlexander Griffith2017-04-241-5/+6
|
* Fixed #41, inline imagesAlexander Griffith2017-04-241-0/+97