aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
* 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
|
* Meging Debian upload.Wilmer van der Gaast2012-10-28-0/+7
|\
| * Just uploaded 3.0.6-1.3.0.6-1Wilmer van der Gaast2012-10-28-0/+7
| |
* | Cleaning up some more Yahoo! symbols.Wilmer van der Gaast2012-10-20-20/+18
| |
* | Some more removals. Using ifdefs instead of read deletions in Yahoo! dir toWilmer van der Gaast2012-10-20-9/+17
| | | | | | | | | | | | not make merges too complicated (although upstream really seems dead at this point :-/).
* | Massive cleanup in OSCAR.Wilmer van der Gaast2012-10-20-1831/+0
| |
* | Removing some more cruft now that I've (re)discovered ld garbage collection.Wilmer van der Gaast2012-10-20-4923/+1
| | | | | | | | | | Mostly stuff related to obsolete Y!MSG login obfuscation schemes.
* | Removing some fully dead code.Wilmer van der Gaast2012-10-19-196/+1
|/
* Yeah, sure, let's call this 3.0.6.3.0.6Wilmer van der Gaast2012-10-14-2/+19
|
* Fix charset issue in debian/changelog.Wilmer van der Gaast2012-10-05-1/+1
|
* Merge msnp18 branch. It's stable enough and really not that intrusive.Wilmer van der Gaast2012-10-01-84/+315
|\
| * Suppress own UBM messages.Wilmer van der Gaast2012-09-29-2/+13
| |
| * Support for sending messages to federated contacts. They don't seem to arriveWilmer van der Gaast2012-09-29-5/+40
| | | | | | | | | | but Pidgin seems to have the same problem.
| * Support for receiving messages via the NS (UBM command).Wilmer van der Gaast2012-09-25-3/+28
| |
| * More mainline merges.Wilmer van der Gaast2012-09-25-86/+71
| |\
| * | Fixed syntax error introduced by latest merge.Wilmer van der Gaast2012-09-22-1/+1
| | |
| * | Merge mainline.Wilmer van der Gaast2012-09-22-46/+57
| |\ \
| * \ \ Merge mainline.Wilmer van der Gaast2012-09-17-0/+31
| |\ \ \
| * | | | Notification on incoming offline messages. Life is too short to implementWilmer van der Gaast2012-09-16-1/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the SOAP code to actually fetch them but at least tell the user that s/he received something.
| * | | | One more semicolon check (BYE command).Wilmer van der Gaast2012-09-16-1/+1
| | | | |
| * | | | Don't accidentally create groupchats for 1:1 chats.Wilmer van der Gaast2012-09-16-11/+19
| | | | |
| * | | | Online status should be read properly now.Wilmer van der Gaast2012-09-16-46/+43
| | | | |
| * | | | Some more tweaks: Should show up online now, and be able to send and receiveWilmer van der Gaast2012-09-16-8/+44
| | | | | | | | | | | | | | | | | | | | | | | | | messages. Seeing online state is still a problem due to the protocol#: gunk.
| * | | | Generate a machine UUID instead of using a hardcoded one.Wilmer van der Gaast2012-09-16-3/+24
| | | | |
| * | | | MSNP18 code. It logs in now but otherwise doesn't work all too well.Wilmer van der Gaast2012-09-16-15/+63
| | | | |
* | | | | Merging 3.0.5-1.2 Debian NMU.Wilmer van der Gaast2012-09-29-1/+37
| |_|_|/ |/| | |
* | | | Move Twitter XML parsing/error checking into a separate function and use itWilmer van der Gaast2012-09-25-83/+64
| | | | | | | | | | | | | | | | | | | | everywhere. This should be a more thorough fix for #953.
* | | | xt_from_string() will return NULL if the string wasn't terminated properly.Wilmer van der Gaast2012-09-24-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Adding an extra layer of defense against truncated responses from Twitter. But as long as the response from xt_from_string() isn't NULL-checked this won't help much. So that's my next step. :-)
* | | | Add a .gdbinit that disables ASLR (added by PIE compilation) at runtimeWilmer van der Gaast2012-09-23-0/+1
| |_|/ |/| | | | | | | | | | | | | | when running inside gdb. It seems to cause one or possibly more issues and isn't really important when run inside a debugger.
* | | Since I can't figure out where the stalls are coming from at this point, atWilmer van der Gaast2012-09-22-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | least have a work-around for it. After hitting the Twitter timer a few times while a previous fetch still seems to be running, close the connection. Auto-reconnect will do the rest.