| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
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.
|
|/ / |
|
|\|
| |
| | |
Release 0.7.0
|
| | |
|
| |\
| |/
|/| |
|
| | |
|
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| | |
* Delete version variable and function
* Use package-file
|
| | |
|
| | |
|
| |
| |
| |
| | |
This also includes tweaks to make Travis happy — tests previously did pass on my laptop but Travis's environment is different.
|
| |
| |
| |
| |
| |
| |
| | |
images.
Having all the logic in one file reduces interdependencies.
Having default images is more pleasing during the incremental loading.
|
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- 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.
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| | |
|
| | |
|
| | |
|
| |\
| | |
| | | |
closed #79
|
| | |\ |
|
| | |\ \ |
|
| | | | |
| | | | |
| | | | |
| | | | | |
This reverts commit b0ead06b42ed06218e87a0bb75dae41570592423.
|
| | | | | |
|
| |/ / /
|/| | | |
|
| | | | |
|
| | |/
| |/|
| | |
| | |
| | | |
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.
|
| | |
| | |
| | |
| | |
| | | |
* Delete version variable and function
* Use package-file
|
| |\ \
| | |/
| |/| |
Face custom
|
| | | |
|
| |/ |
|
|/|
| |
| | |
Async image loading and avatars
|
| |
| |
| |
| | |
This also includes tweaks to make Travis happy — tests previously did pass on my laptop but Travis's environment is different.
|
| |
| |
| |
| |
| |
| |
| | |
images.
Having all the logic in one file reduces interdependencies.
Having default images is more pleasing during the incremental loading.
|
| |
| |
| |
| |
| |
| |
| | |
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.
|
|/
|
|
|
|
|
|
|
| |
- 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.
|
|
|
|
|
| |
- Lambda, defun, let, etc. all have an implicit progn.
- A progn with a single form is identical to that single form.
|
| |
|
|
|
|
| |
(Besides, just "()" would have been enough anyway. No need to quote "()" or "nil".)
|
|
|
|
| |
"nil" evaluates to itself so no need to quote it.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Re-do it as a loop rather than raising an error when the search fails
and trying to catch that wholesale.
|