aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
* Merge from vmiklos.Wilmer van der Gaast2013-01-05-122/+56
|\
| * skype: remove unused build system targets, references to gitMiklos Vajna2013-01-01-87/+11
| |
| * skype: make checkpatch happy again (cosmetics)Miklos Vajna2013-01-01-30/+27
| |
| * skype: support setting mood textMiklos Vajna2013-01-01-3/+16
| | | | | | | | | | Requested by martinc on IRC.
| * json: fix uninitialized variablesMiklos Vajna2013-01-01-2/+2
|/ | | | | | | json.c: In function ‘json_parse_ex’: json.c:260:30: warning: ‘string_length’ may be used uninitialized in this function [-Wmaybe-uninitialized] json.c:358:16: warning: ‘string’ may be used uninitialized in this function [-Wmaybe-uninitialized]
* Merging Skype fix from vmiklos.Wilmer van der Gaast2012-12-29-1/+7
|\
| * skype: make it not hang with >=2.2.0.35Miklos Vajna2012-12-29-1/+7
|/ | | | | | | | Sadly reading users of larger groups using the public API just hangs in newer Skype versions. Skype4Py already defines a timeout for requests, but still: startup takes *minutes*. Work this around by disabling reading of groups by default.
* I suck. This will teach me not to combine logging and actual work in sillyWilmer van der Gaast2012-12-25-1/+1
| | | | | ways.
* Whoops, remove those debugging printfs as I intended to do before merging.Wilmer van der Gaast2012-12-24-11/+2
|
* SSL session caching. You'd think that this makes Twitter stuff faster, exceptWilmer van der Gaast2012-12-24-2/+50
| | | | | Twitter webservers seem to do successful session resumes only sporadically.
* In the OpenSSL module, keep only one global SSL context instead of recreatingWilmer van der Gaast2012-12-24-10/+13
| | | | | one for every connection.
* SNI client support in GnuTLS+OpenSSL modules.Wilmer van der Gaast2012-12-24-28/+25
|
* Support /NOTICE for contacts, might be used by bots for example. Pre-ui-fixWilmer van der Gaast2012-12-24-0/+4
| | | | | these used to get a flag so OSCAR sends them as away messages IIRC, but meh.
* Fixed minor memory leak in Jabber module.Wilmer van der Gaast2012-12-24-0/+1
|
* Updated report_spam API URL to 1.1. Fixes #1011.Wilmer van der Gaast2012-12-22-1/+1
|
* Merging JSON branch. It's very stable by now, and I want more testers.Wilmer van der Gaast2012-12-22-954/+2041
|\
| * For finding since_id, don't use RT original IDs of course. :-/ This fixesWilmer van der Gaast2012-12-21-4/+3
| | | | | | | | | | duplicate-tweet issues in non-streaming mode.
| * Don't hide own tweets in streaming mode with fetch_mentions off, and moveWilmer van der Gaast2012-12-03-4/+5
| | | | | | | | | | txs_free() to the right place - fixes a memory leak.
| * Extend twitter_message_id_from_command_arg() a little bit and use it for allWilmer van der Gaast2012-12-02-88/+66
| | | | | | | | | | commands. Also fixed reply command in strict commands mode.
| * Importing json.c UTF-8 encoding fix from upstream. Not importing theWilmer van der Gaast2012-12-01-3/+4
| | | | | | | | | | | | | | | | strto(d|l) fix because I can just use GLib instead of reinventing the wheel. This should fix corruption issues with tweets in Cyrillic. I've double- checked this code against http://en.wikipedia.org/wiki/UTF-8 now and it looks correct to me.
| * Fixing integer size issue in JSON parser: Although I've changed the integerWilmer van der Gaast2012-11-27-1/+1
| | | | | | | | | | | | type to long long, the parser was still using strtol to convert numbers, truncating large numbers to LONG_MAX. Bug found by Artem Savkov, thanks!
| * Have root confirm some commands that so far gave no feedback at all, sinceWilmer van der Gaast2012-11-25-5/+30
| | | | | | | | | | "no news is good news" can be a little confusing.
| * 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.