aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Wishlist section to reference Waffle.io boardSean Allred2014-11-021-5/+5
|
* Kill two tasks on the wishlist -- they're done!Sean Allred2014-11-021-5/+0
|
* Update README.orgSean Allred2014-11-021-0/+1
| | | Add Waffle.io badge
* Merge pull request #6 from vermiculus/precompiled-filtersSean Allred2014-11-025-31/+123
|\ | | | | Precompiled filters
| * Simplify filter-store-all by modifying *-storeSean Allred2014-11-021-19/+18
| |
| * Fix get-sample-data and avoid `find-file-noselect'Sean Allred2014-11-021-8/+7
| |
| * Implement and use `stack-cache-get' and `-set'Sean Allred2014-11-022-22/+32
| |
| * Let-bind stack-cache-directory insteadSean Allred2014-11-021-1/+1
| | | | | | | | | | There are several variables and functions that depend on it; simply binding the filter-cache file isn't enough.
| * Let-bind user-emacs-directory to cwdSean Allred2014-11-022-8/+11
| | | | | | | | | | | | | | Useful for testing locally, since now you can simply blow away the `.stackmode' directory instead of searching for it in `.emacs.d'. At any rate, it keeps everything in the project tidy.
| * Consolidate testing variables and print requestsSean Allred2014-11-021-2/+4
| |
| * Fix test cases re file persistenceSean Allred2014-11-021-15/+14
| | | | | | | | | | | | | | | | | | Every time the test was getting run, it would create the file, but not delete it. This meant that tests were not idempotent and artifacts from previous tests were persisting into the next ones. Use `make-temp-file' to let-bind `stack-filter-cache-file' to a temporary file. It is guaranteed to be empty when the tests begin.
| * Store compiled filter for question browsingSean Allred2014-11-021-1/+4
| |
| * Introduce persistent storage for filtersSean Allred2014-11-022-0/+58
| |
| * Checkdoc fileSean Allred2014-11-021-4/+5
| |
| * Fix return when file already existsSean Allred2014-11-021-2/+1
| |
| * Convenience function for retrieving cache filesSean Allred2014-11-021-1/+5
| | | | | | | | | | This should be sorted somewhere... Maybe stack-cache.el needs to be its own file.
| * Add function to retrieve cache filesSean Allred2014-11-021-0/+9
| |
| * Modify directory-local variables everywhereSean Allred2014-11-021-0/+1
| | | | | | | | Use this file for your own development environment.
| * Whitespace normalization in stack-filter.elSean Allred2014-11-021-10/+11
| |
| * Add cache directory as a customizable variableSean Allred2014-11-021-0/+4
|/
* Merge pull request #5 from vermiculus/convenience-functionsSean Allred2014-11-025-65/+78
|\ | | | | Add a convenience function to sort through large data structures. Also move tests to test/ and add sample data for real use-case tests later.
| * Use a simpler construct to test filter inclusionSean Allred2014-11-022-48/+7
| | | | | | | | | | Also removed tests for `stack-core-filter-data--item-in-tree' since it no longer exists.
| * Kill test cruftSean Allred2014-11-011-1/+0
| |
| * More readable test cases; whitespaceSean Allred2014-11-011-26/+20
| |
| * Remove test cruftSean Allred2014-11-011-2/+0
| |
| * Introduce `stack-core-silent-requests' as defaultSean Allred2014-11-011-0/+5
| | | | | | | | If this value is `t', requests will default to being silent.
| * Return the correct type from filterSean Allred2014-11-012-31/+86
| | | | | | | | Vectors should not be turning into lists. See test cases.
| * Return -no-value if it cannot find sampleSean Allred2014-11-011-1/+3
| | | | | | | | | | | | Allows build to continue if it cannot find the file. This is for reading in sample data. I'm not really sure why the local build cannot find the file, but I will figure it out later today.
| * Fix syntax issueSean Allred2014-11-012-3/+8
| |
| * Make the sample data loader a functionSean Allred2014-11-011-1/+1
| |
| * Use correct directory for testSean Allred2014-11-011-1/+1
| | | | | | | | | | | | | | | | I really should be testing locally before I push... live and learn. Locally, it's erroring out saying that it reached the end of file during parsing. I don't know how this is the case, but we'll see what Travis says.
| * Fix testSean Allred2014-11-011-1/+7
| |
| * More work on data filter; add testsSean Allred2014-11-016-1296/+37
| |
| * Merge branch 'convenience-functions' of github.com:vermiculus/stack-mode ↵Sean Allred2014-11-010-0/+0
| |\ | | | | | | | | | into convenience-functions
| | * Add sample data for development testingSean Allred2014-11-012-0/+1228
| | |
| | * Add function to filter data structureSean Allred2014-11-012-0/+23
| | | | | | | | | | | | | | | | | | | | | | | | Only works on flat structures right now. This should be used and let-bound to a variable when that variable is going to be used a lot. Theoretically, it should be faster than traversing through the entire data structure. Think of this as a Emacs-local version of the API's own filter.
| | * Consolidate test statementsSean Allred2014-11-011-3/+1
| | |
| * | Add sample data for development testingSean Allred2014-11-012-0/+1228
| | |
| * | Add function to filter data structureSean Allred2014-11-012-0/+23
| | | | | | | | | | | | | | | | | | | | | | | | Only works on flat structures right now. This should be used and let-bound to a variable when that variable is going to be used a lot. Theoretically, it should be faster than traversing through the entire data structure. Think of this as a Emacs-local version of the API's own filter.
| * | Consolidate test statementsSean Allred2014-11-011-3/+1
|/ /
* | Update README.orgSean Allred2014-11-011-1/+1
| | | | | | Specify master branch for Travis badge
* | Move tests and sample data to test/Sean Allred2014-11-014-0/+1295
|/
* Support older versions than 24.3Sean Allred2014-11-011-2/+1
|
* Use `url-retrieve-synchronously' dependendentlySean Allred2014-11-012-2/+7
| | | | | | | | Emacs 24.3 supposedly does not have a second argument to `url-retrieve-synchronously'. Introduce a switch dependent on `emacs-minor-version'. This hopefully fixes the url- issue.
* Strip properties from string sent to json-readSean Allred2014-10-311-1/+3
|
* Handle case where API response is compressedSean Allred2014-10-312-41/+64
| | | | | | | | | | | The StackExchange API explicitly states that responses to requests are gzipped. For some reason, they are not zipped when called locally on my machine, but they are zipped when run from Travis CI. I do not know if `url-retrieve-synchronously' is performing any magic. When I curl the request, I receive a gzipped response (as expected). A proper fix for this would be to somehow advise `url-*' to request as curl does.
* Housekeeping and performance enhancementsSean Allred2014-10-311-8/+9
|
* Update .travis.ymlSean Allred2014-10-311-0/+8
| | | Add gitter integration
* Add Gitter badgeSean Allred2014-10-311-0/+1
|
* Add debug-on-error to testsArtur Malabarba2014-10-311-0/+1
|