aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
...
| * | Only a few commands use twitter_message_id_from_command_arg(), others wereWilmer van der Gaast2012-11-25-6/+15
| | | | | | | | | | | | | | | still using a decimal scanf format string. Messy code duplication. :-(
| * | Use hex for show_ids, but stick to the 2-char maximum. a 256-message backlogWilmer van der Gaast2012-11-25-5/+5
| | | | | | | | | | | | | | | really should be enough.
| * | To address #991, adding a strict commands mode, where one has to use "post"Wilmer van der Gaast2012-11-25-14/+27
| | | | | | | | | | | | | | | to post tweets.
| * | Fixed one potential memory leak, and re-remembered that for GLib + valgrindWilmer van der Gaast2012-11-25-1/+4
| | | | | | | | | | | | | | | you REALLY need to set G_SLICE=always-malloc. Argh!
| * | Finally cleaned up the show-tweet functions.Wilmer van der Gaast2012-11-25-78/+69
| | |
| * | Fixing two oopses from my last commit.Wilmer van der Gaast2012-11-25-2/+3
| | |
| * | Changed mode/room management a little bit.Wilmer van der Gaast2012-11-25-48/+51
| | |
| * | s/twitter_msg/twitter_log/ and use it in a few more places.Wilmer van der Gaast2012-11-25-22/+37
| | |
| * | Show DMs the right way. With mode=many and show_ids=off they'll look justWilmer van der Gaast2012-11-25-6/+12
| | | | | | | | | | | | | | | | | | like tweets but that's what you get with bad settings.. Also, don't show DMs from ourselves.
| * | Clean up streaming HTTP event handler, which should fix crash-bugs with GLib.Wilmer van der Gaast2012-11-25-0/+3
| | | | | | | | | | | | | | | Forgot to do this so far because my libevent code let me get away with it.
| * | Fix documentation for show_ids setting, it's on by default for a while already.Wilmer van der Gaast2012-11-25-1/+1
| | |
| * | Minor rework: Always fill td->log now and use it not just for show_ids, butWilmer van der Gaast2012-11-25-50/+86
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | also for stream deduplication. Also, drop tweets from unknown people unless fetch_mentions is set. The stream will feed us that spam either way but not everyone wants to see it. Last, fixing a bug where in streaming mode, per-user last tweet times were no longer getting tracked.
| * | Increasing http_client buffersize to 4KB. You'd think that with things likeWilmer van der Gaast2012-11-24-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | MTU in mind it's not a very useful change, but I seem to be getting data in bigger chunks most of the time. Likely because with SSL you have record (?) boundaries and compression. This should reduce I/O overhead just a little bit.
| * | Add help info for "stream" setting. Also, disable it for non-Twitter accounts.Wilmer van der Gaast2012-11-24-5/+31
| | |
| * | Fixing one obvious memory leak.Wilmer van der Gaast2012-11-24-0/+2
| | |
| * | Some code for handling disconnect/event messages.Wilmer van der Gaast2012-11-20-0/+41
| | |
| * | Merge mainline.Wilmer van der Gaast2012-11-17-130/+65
| |\ \
| * | | Decode incoming DMs.Wilmer van der Gaast2012-11-12-25/+76
| | | |
| * | | Bugfix: Two commits ago I broke cleanup of the account_on_timeout() handler,Wilmer van der Gaast2012-11-12-2/+1
| | | | | | | | | | | | | | | | | | | | taking down every IM connection 2m after setup.
| * | | Fixed valgrind warnings in JSON_O_FOREACH.Wilmer van der Gaast2012-11-12-3/+4
| | | |
| * | | Extend keepalive code to time out connections when pings don't getWilmer van der Gaast2012-11-11-2/+31
| | | | | | | | | | | | | | | | | | | | acknowledged, using this for Twitter streams and MSN so far.
| * | | Detect and handle streaming connection loss.Wilmer van der Gaast2012-11-11-0/+13
| | | |
| * | | Tiny cleanup. Fixing some memory leaks (why did I not notice so far thatWilmer van der Gaast2012-11-11-14/+12
| | | | | | | | | | | | | | | | | | | | those free()s were commented out?).
| * | | Mostly finished HTTP streaming support: Shrink the buffer and add aWilmer van der Gaast2012-11-11-3/+27
| | | | | | | | | | | | | | | | | | | | http_close().
| * | | Realised I don't need delimited=length at all, objects are guaranteed to beWilmer van der Gaast2012-11-11-32/+22
| | | | | | | | | | | | | | | | | | | | CRLF-terminated.
| * | | Showing tweets now, and leaking less memory. Still lots of cleanup leftWilmer van der Gaast2012-11-11-31/+73
| | | | | | | | | | | | | | | | | | | | to do.
| * | | Very immature code for reading from the streaming API. It reads from aWilmer van der Gaast2012-11-10-14/+93
| | | | | | | | | | | | | | | | | | | | | | | | fixed URL and tried to parse individual JSON objects. Not doing anything useful with it.
| * | | Reworked http_client a little bit to support streaming besides just bufferingWilmer van der Gaast2012-11-10-62/+131
| | | | | | | | | | | | | | | | | | | | a complete response before giving it back to the caller.
| * | | Removed xmltree dependency entirely.Wilmer van der Gaast2012-11-10-22/+17
| | | |
| * | | Fixed the last parser (generic handler which just remembers status IDs).Wilmer van der Gaast2012-11-09-4/+3
| | | | | | | | | | | | | | | | | | | | | | | | xmltree.h include can almost be removed, it's just used for return values now.
| * | | Fix compiler warning (missed glib include in json_util).Wilmer van der Gaast2012-11-09-0/+1
| | | |
| * | | One difference in json.h: use "long long" instead of "long" for integerWilmer van der Gaast2012-11-09-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | types, or it might be too small to contain Twitter message IDs on for example GCC+i386.
| * | | Updated error response parsing. Also, use this for 401 responses so for exampleWilmer van der Gaast2012-11-09-14/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the auth errors caused by NTP desync are clearer: <root> twitter - Login error: Authentication failure (401 Unauthorized (Timestamp out of bounds))
| * | | Getting better. Corruption fixed, fetching of mentions fixed, error handlingWilmer van der Gaast2012-11-09-7/+15
| | | | | | | | | | | | | | | | | | | | "fixed".
| * | | It logs in and fetches statuses! \o/ But, some corruption..Wilmer van der Gaast2012-11-08-64/+98
| | | |
| * | | Type safety check.Wilmer van der Gaast2012-11-05-0/+4
| | | |
| * | | Can log in now. Fails to fetch timelines though, which is going to be theWilmer van der Gaast2012-11-05-72/+42
| | | | | | | | | | | | | | | | | | | | more annoying part anyway. Plus, I want streaming API stuff instead.
| * | | Add json_util.c with helper functions. Keeping them in a separate file toWilmer van der Gaast2012-11-05-1/+79
| | | | | | | | | | | | | | | | | | | | avoid making *any* changes to the third-party json.c.
| * | | s/.xml/.json/. Good luck getting that working again.Wilmer van der Gaast2012-11-04-23/+23
| | | |
| * | | Use the new JSON code for OAuth2 processing.Wilmer van der Gaast2012-10-28-63/+18
| | | | | | | | | | | | | | | | | | | | | | | | Starting to see the use of convenience functions to dig through many layers of structs..
| * | | Add json.[ch], update debian/copyright with license info.Wilmer van der Gaast2012-10-28-360/+956
| | | |
* | | | Improved failure handling in jabber_si_handle_request(). If the imcbWilmer van der Gaast2012-12-18-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | callback fails, we shouldn't try to continue the ft and dereference the NULL ptr it returned.
* | | | Fixed minor memory leak.Wilmer van der Gaast2012-12-02-1/+2
| | | |
* | | | Error handling fix in xmltree. Fixes a problem where if the start of theWilmer van der Gaast2012-12-02-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | stream is spread over two packets (or SSL records in this case), xt_handle() would report a fatal error (which normally means the connection has failed and should be abandoned immediately). Returning 1 is likely more correct; just the fact that there's no data to process yet is not a fatal failure. This fixes potential issues with Google Talk when using OpenSSL (which seems to be feeding data on record boundaries, even if additional records have already been received).
* | | | Remove claims that BitlBee with NSS for SSL is supported or even preferred.Wilmer van der Gaast2012-12-02-5/+5
| | | |
* | | | Removing comment about new syntax for the "account" command, which by nowWilmer van der Gaast2012-12-02-2/+1
| |/ / |/| | | | | | | | | | | is two years old already.
* | | Remove ssl_bogus.c, it really shouldn't be used anymore since it builds aWilmer van der Gaast2012-11-12-92/+2
| | | | | | | | | | | | | | | next-to-useless binary.
* | | Cleaning up struct im_connection a little bit.Wilmer van der Gaast2012-11-11-18/+0
| | |
* | | SSL fixes from Michal Suchanek.Wilmer van der Gaast2012-10-30-4/+6
| | |
* | | Debian packaging changes: Depend on different gnutls dev package.Wilmer van der Gaast2012-10-30-1/+9
| | |