Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2014-05-22 | Correctness fixes | Peter Wu | 3 | -41/+46 | |
* Throw interrupted exception when interrupted instead of swallowing it, otherwise shutdown will take a longer time. * Decrease number of tweets that must be requested after confirming that the request was successful. * Style: convert to foreach; white-space. * Properly terminate if stop is requested. * Make executeRequest take care of re-queing requests if needed. | |||||
2014-05-22 | Properly close files after load/save | Peter Wu | 1 | -16/+14 | |
2014-05-22 | Rename getResp to getJson | Peter Wu | 4 | -16/+16 | |
2014-05-22 | Removed unused port. | Maurice Laveaux | 1 | -2/+0 | |
* I dun goofed. | |||||
2014-05-22 | Added saving and loaded the search cache. | Maurice Laveaux | 1 | -12/+56 | |
* TODO: threads don't exit safe, so cache is not valid. | |||||
2014-05-22 | Removed unused source files | Maurice Laveaux | 47 | -5375/+0 | |
* Removed the shitty examples. | |||||
2014-05-22 | Implemented basic search functionality. | Maurice Laveaux | 2 | -13/+372 | |
* Usage, search <screen_name> <amount_tweets>. | |||||
2014-05-22 | Fixed: Twitter API didn't throw RateLimitException. | Maurice Laveaux | 1 | -2/+2 | |
2014-05-22 | Removed all JSON references. | Maurice Laveaux | 2 | -5/+0 | |
2014-05-22 | Refactored JSON to GSON's implementation. | Maurice Laveaux | 7 | -85/+97 | |
* Changed JSONException to JsonParseException. | |||||
2014-05-22 | Updated the Requesters to throw RateLimitException. | Maurice Laveaux | 5 | -17/+54 | |
* The exception contains the reset timestamp in unix time. | |||||
2014-05-22 | Changed Main so it handles Response objects. | Maurice Laveaux | 1 | -15/+12 | |
2014-05-22 | Added the Search interface. | Maurice Laveaux | 1 | -0/+49 | |
2014-05-22 | Changed Request response to a new Response class. | Maurice Laveaux | 6 | -64/+86 | |
* Response contains the JsonElement, tickrate, reset and leftover data. * Removed getJsonRelaxed, because it was not used elsewhere. | |||||
2014-05-08 | Delete junk | Peter Wu | 6 | -548/+0 | |
2014-05-08 | CompressableDataWriter: fix corruption for cfile | Peter Wu | 1 | -0/+4 | |
2014-05-07 | Compare against exactly class, not just the compatible class | Peter Wu | 1 | -1/+1 | |
CompressableDataWriter extends DataWriter. We require classes to be an exact match. This fixes disabling file, and (re-)enabling cfile even if that target is not changed. | |||||
2014-05-07 | Fix null ptr when close/commit | Peter Wu | 1 | -1/+8 | |
commit closes everything via safeClose, so ensure that tweetGenerated re-opens it if necessary. Fixes: ƒ commit € Exception in thread "Thread-7" java.lang.NullPointerException at io.DataWriter.writeObject(DataWriter.java:137) at io.DataWriter.tweetGenerated(DataWriter.java:85) at provider.CompositeResultListener.tweetGenerated(CompositeResultListener.java:51) at io.StreamImpl$Poller.processObject(StreamImpl.java:255) at io.StreamImpl$Poller.run(StreamImpl.java:245) at java.lang.Thread.run(Thread.java:744) | |||||
2014-05-07 | Display user for tweet, strip whitespace around keyword | Peter Wu | 2 | -1/+5 | |
2014-05-07 | Add flush command | Peter Wu | 3 | -2/+39 | |
2014-05-07 | Add timing state information | Peter Wu | 2 | -0/+22 | |
2014-05-07 | Add command to repeat last command. | Peter Wu | 1 | -1/+10 | |
2014-05-07 | Shutdown hook for safely closing files | Peter Wu | 1 | -0/+8 | |
2014-05-07 | F it, get rid of junk | Peter Wu | 1 | -15/+0 | |
2014-05-07 | Prevent enabling both cfile and file | Peter Wu | 2 | -3/+15 | |
2014-05-07 | Get rid of separate profiles | Peter Wu | 8 | -79/+12 | |
These are always available from the tweets themselves... | |||||
2014-05-07 | Allow commit to disconnect for empty keywords, detect dead connection | Peter Wu | 2 | -6/+21 | |
2014-05-07 | Set read timeout for streaming | Peter Wu | 1 | -0/+3 | |
2014-05-07 | Fix deadlock in Poller if worker thread stops/dies | Peter Wu | 1 | -0/+10 | |
2014-05-07 | StreamImpl: make (un)watchKeywords support a list | Peter Wu | 1 | -4/+20 | |
2014-05-07 | Use IOUtils.closeQuietly for less verbosity | Peter Wu | 1 | -13/+3 | |
2014-05-03 | TweetShell: Safely close files to prevent file corruption | Peter Wu | 1 | -0/+2 | |
2014-05-03 | DataWriter: first read, then open for writing | Peter Wu | 1 | -2/+3 | |
Prevents occasional "Unexpected end of ZLIB input stream" errors. | |||||
2014-05-03 | DataWriter: better detect errors in reading data | Peter Wu | 1 | -6/+13 | |
Now print the faulty line and line number. Using BufferedReader instead of Scanner also gave me a hint of the error, so let's stick to it. | |||||
2014-05-03 | Rename config option, default to converting uncompressed files | Peter Wu | 1 | -2/+2 | |
2014-05-03 | CompressableDataWriter: use separate .gz-suffixed file | Peter Wu | 1 | -91/+72 | |
Do not use the same name for compressed and uncompressed files, it is confusing and non-standard. Now it'll use a ".gz"-suffixed file, writing all changes from the uncompressed file if requested. | |||||
2014-05-03 | Display stats when converting an uncompressed file | Peter Wu | 1 | -0/+18 | |
2014-05-03 | More compression fixes | Peter Wu | 1 | -9/+12 | |
* Fix magic check (bytes are read as signed numbers...). * Assume that a file can be compressed if the file is too small. * Try to convert a file only if the gzip detection is correctly closed. | |||||
2014-05-02 | Accept multiple commands (for automation) | Peter Wu | 2 | -8/+15 | |
Instead of `./run.sh shell target +file`, and then manually running add and commit, you can now use: ./run.sh shell 'target +file' 'add samsung' commit Quoting is necessary because of the spaces. | |||||
2014-05-02 | Properly close files and stream on exit | Peter Wu | 3 | -7/+32 | |
2014-05-02 | Accept "force-gzip" option to force compression | Peter Wu | 1 | -2/+4 | |
2014-05-02 | Fix compression move which actually lost some data | Peter Wu | 1 | -28/+21 | |
rename tricks somehow failed, but apparently there is a reliable Files.move() operation. Add some more debugging messages. | |||||
2014-05-02 | DataWriter should not open files in constructor | Peter Wu | 3 | -21/+47 | |
Right now Store instances are created in the constructor of DataWriter. This causes issues, namely that Store instances are unable to use DataWriter in its constructor. The real-world implication is that convertUncompressed in CompressableDataWriter is unusable for the CompressedStore. | |||||
2014-05-02 | Reject commits without keywords | Peter Wu | 2 | -1/+16 | |
2014-05-02 | Fix typo in DataWriter | Peter Wu | 1 | -1/+1 | |
2014-05-02 | Abort if file cannot be read, don't leak on error | Peter Wu | 1 | -11/+17 | |
2014-05-02 | CompressableDataWriter: Implement conversion from uncompressed | Peter Wu | 1 | -1/+64 | |
2014-05-02 | Support compressed files | Peter Wu | 2 | -2/+99 | |
2014-05-02 | Adjust target command help message, print available targets | Peter Wu | 1 | -7/+10 | |
2014-05-02 | DataWriter: don't leak input fd | Peter Wu | 1 | -1/+10 | |