aboutsummaryrefslogtreecommitdiff
path: root/sx-cache.el
Commit message (Collapse)AuthorAgeFilesLines
* Fix #111Sean Allred2014-11-271-1/+1
|
* Fix #110Sean Allred2014-11-271-3/+3
|
* Default to NOT clear auth.Artur Malabarba2014-11-241-2/+4
|
* Make invalidate-all interactiveArtur Malabarba2014-11-241-1/+2
|
* Merge branch 'master' into invalidate-cacheJonathan Leech-Pepin2014-11-211-20/+23
|\ | | | | | | | | Conflicts: sx-cache.el - RESOLVED
| * GitHub comments -- #77Sean Allred2014-11-201-7/+3
| |
| * Add `customize' dataSean Allred2014-11-191-1/+3
| |
| * Merge branch 'master' into documentationSean Allred2014-11-191-0/+25
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: sx-method.el sx-question-list.el sx-question-mode.el sx-question.el sx-request.el sx.el
| * | Documentation -- part oneSean Allred2014-11-171-13/+18
| | | | | | | | | | | | Pushing this change to continue work elsewhere.
* | | Fix cache invalidation to behave properly.Jonathan Leech-Pepin2014-11-191-6/+11
| |/ |/| | | | | | | | | | | Use `delete-file` rather than simply setting cache to `nil`. nil is still a valid cache value which can cause reinitialization to fail. Fix bug with nil funcall.
* | Use `cl-remove-if` rather than `remove-if`Jonathan Leech-Pepin2014-11-181-1/+1
| |
* | Fix docstring.Jonathan Leech-Pepin2014-11-181-2/+1
| |
* | Provide cache invalidationJonathan Leech-Pepin2014-11-181-0/+26
|/ | | | | | | | | (sx-cache--invalidate): Invalidate provided cache. Allows for invalidating variables associated with cache using `makunbound`. Cache can be reinitialized using arg `init-method`. (sx-cache-invalidate-all): Invalidate all caches then call `sx-initialize` to reinitialize. Arg `save-auth` prevents access_token from being lost.
* Convenience argument for `cache-get'Sean Allred2014-11-111-5/+8
| | | | Allows for setting the cache if it does not exist.
* Merge branch 'master' into initializationSean Allred2014-11-081-2/+1
|\ | | | | | | | | Conflicts: sx-request.el
| * Consolidate keywords, update emailsSean Allred2014-11-081-2/+1
| |
* | Re-work filtering and cachingSean Allred2014-11-081-1/+8
|/ | | | | | | | | | | | | | | | | | | | | | | | | * sx-auth.el - Use new symbolic cache access * sx-cache.el - Implement symbolic cache access * sx-filter.el - Use symbolic cache access - Compile and save filters on-demand (more work to be done to this end) * sx-question.el - Symbolic filters * sx-request.el - Protection against infinitely recursing when compiling a filter This will be re-worked into requests (a front-end function) and 'raw' requests (a back-end function). The front-end will add convenience to the back-end. * test/tests.el Remove outdated tests
* Refactor to use `sx-` prefixSean Allred2014-11-071-0/+66
A file stackexchange.el should be added for user-facing functions.