summaryrefslogtreecommitdiff
path: root/rest
AgeCommit message (Collapse)AuthorFilesLines
2010-04-15Fix introspection generation in distchecklibrest-0.6.3Ross Burton1-2/+2
2010-04-15proxy/proxy-call/xml-parser: Guard public function entry pointsRob Bradford3-24/+136
Fixes: http://bugzilla.meego.com/show_bug.cgi?id=273
2010-04-13rest-xml-parser: Remove redundant GObject methodsRoss Burton1-40/+0
2010-04-13rest-xml-parser: Remove pointless private structRoss Burton1-35/+22
2010-04-06rest-xml-parser: Remove duplicate free for the reader in finalizeRob Bradford1-2/+0
2010-03-25oauth-proxy-call: Free the list of hash table keysRob Bradford1-5/+5
Fixes the following leak: ==18990== 101,971 (1,048 direct, 100,923 indirect) bytes in 25 blocks are definitely lost in loss record 66 of 73 ==18990== at 0x4C2391E: malloc (vg_replace_malloc.c:207) ==18990== by 0x644E552: g_malloc (gmem.c:131) ==18990== by 0x64643C7: g_slice_alloc (gslice.c:824) ==18990== by 0x6443F7D: g_list_prepend (glist.c:169) ==18990== by 0x64376B8: g_hash_table_get_keys (ghash.c:1306) ==18990== by 0x6C51F4A: _prepare (oauth-proxy-call.c:60) ==18990== by 0x6C4EB25: prepare_message (rest-proxy-call.c:636) ==18990== by 0x6C4F152: rest_proxy_call_async (rest-proxy-call.c:696) ==18990== by 0xB221BDC: online_notify (twitter.c:567) ==18990== by 0xB2224DF: credentials_updated (twitter.c:592) ==18990== by 0x945CE33: gconf_listeners_notify (in /usr/lib/libgconf-2.so.4.1.5) ==18990== by 0x946A97F: (within /usr/lib/libgconf-2.so.4.1.5)
2010-03-24oauth-proxy-call: Free the encoded string that we add to the header stringRob Bradford1-1/+3
This resolves the following leak: ==14633== 848 bytes in 28 blocks are definitely lost in loss record 54 of 75 ==14633== at 0x4C2391E: malloc (vg_replace_malloc.c:207) ==14633== by 0x4C23AA7: realloc (vg_replace_malloc.c:429) ==14633== by 0x644E47D: g_realloc (gmem.c:170) ==14633== by 0x6468353: g_string_maybe_expand (gstring.c:361) ==14633== by 0x64694D9: g_string_sized_new (gstring.c:386) ==14633== by 0x56F6E6F: soup_uri_encode (soup-uri.c:617) ==14633== by 0x6C51D7B: _prepare (oauth-proxy-call.c:162) ==14633== by 0x6C4EB25: prepare_message (rest-proxy-call.c:636) ==14633== by 0x6C4F152: rest_proxy_call_async (rest-proxy-call.c:696) ==14633== by 0xB221BDC: online_notify (twitter.c:563) ==14633== by 0xB2224AF: credentials_updated (twitter.c:588) ==14633== by 0x945CE33: gconf_listeners_notify (in /usr/lib/libgconf-2.so.4.1.5)
2010-03-24rest-xml-parser: Free the textReader after we close itRob Bradford1-0/+1
This resolves the following leak: ==10948== 43,296 (672 direct, 42,624 indirect) bytes in 2 blocks are definitely lost in loss record 109 of 124 ==10948== at 0x4C2391E: malloc (vg_replace_malloc.c:207) ==10948== by 0x71460DA: xmlNewTextReader (in /usr/lib/libxml2.so.2.7.4) ==10948== by 0x71465A1: xmlReaderForMemory (in /usr/lib/libxml2.so.2.7.4) ==10948== by 0x6C4FF5D: rest_xml_parser_parse_from_data (rest-xml-parser.c:345) ==10948== by 0xB2211C4: node_from_call (twitter.c:142) ==10948== by 0xB221E5B: verify_cb (twitter.c:487) ==10948== by 0x6C4EF78: _call_async_finished_cb (rest-proxy-call.c:557) ==10948== by 0x5BC43EC: g_closure_invoke (gclosure.c:767) ==10948== by 0x5BD7CDA: signal_emit_unlocked_R (gsignal.c:3247) ==10948== by 0x5BD9081: g_signal_emit_valist (gsignal.c:2980) ==10948== by 0x5BD9552: g_signal_emit (gsignal.c:3037) ==10948== by 0x56E8FAE: soup_message_io_finished (soup-message-io.c:177) ==10948==
2010-03-19Revert "Remove oauth_proxy_auth_step"Ross Burton2-0/+117
This reverts commit cf01d69f3bbcb899e12c48d8fb59cd56bb69a0c3.
2010-03-09Remove oauth_proxy_auth_stepRoss Burton2-117/+0
2010-03-09Use oauth_proxy_call_parse_token_reponse in request_token/access_tokenRoss Burton1-29/+4
2010-03-09Add oauth_proxy_call_parse_token_reponse to parse token responsesRoss Burton2-0/+25
2010-03-09Remove stale TODORoss Burton1-2/+0
2010-03-02Change struct definition to please GIR parser (MB#9674)Ross Burton1-4/+7
2009-11-11Fix rest/Rest-0.6.gir generationRoss Burton1-1/+1
2009-11-11Use AM_V_GEN not QUIET_GENRoss Burton1-2/+2
2009-11-11Fix soup pkgconfig name when building introspection dataRoss Burton1-1/+1
2009-11-10Add build machinery for GObject introspection generationJoshua Lock1-0/+43
2009-10-12Mark GErrors which shouldn't be freed as constRoss Burton4-6/+6
2009-10-09Fix makefilelibrest-0.6.1MOBLIN-2-1Ross Burton1-1/+1
2009-10-08Fix the default function when calling access_tokenRoss Burton1-1/+1
2009-10-08Split the Facebook and Flickr backends to librest-extrasRoss Burton12-1349/+25
2009-10-08Add more class paddingRoss Burton6-0/+18
2009-10-08Add 8 padding pointers for future use to the core class structsRoss Burton2-1/+10
2009-10-08Version the library and headerRoss Burton1-6/+6
2009-08-11Remove the useless error argument from rest_proxy_call_cancellibrest-0.6Ross Burton2-14/+3
2009-08-05Add oauth_proxy_is_oauth10a()Ross Burton3-15/+94
2009-08-04Clarify API documentation for the oauth_verifier parameterRoss Burton1-4/+4
2009-08-04Clarify API documentation for the oauth_callback parameterRoss Burton1-8/+6
2009-08-04Add test suite for flickr_proxy_is_successfulRoss Burton2-0/+39
2009-08-04Add flickr_proxy_is_successfulRoss Burton2-0/+39
2009-08-04Add a FlickrProxy error quarkRoss Burton2-0/+8
2009-08-04Destroy a hash instead of unreffing to show that we want it really goneRoss Burton1-1/+1
2009-08-04Free the param list when signing Flickr callsRoss Burton1-1/+1
2009-08-04Add TODOsRoss Burton1-0/+9
2009-08-03Add async forms of oauth_proxy_request_token and _access_tokenRoss Burton2-1/+116
2009-08-03Fix typo in oauth_proxy_request_token documentationRoss Burton1-1/+1
2009-08-03Rename callback to callback_uri in request_tokenRoss Burton2-5/+5
2009-08-03Add more documentation to OAuthProxyRoss Burton2-72/+175
2009-08-03Move the verifier into _access_tokenRoss Burton2-15/+4
2009-07-31Add some new API to support OAuth 1.0a easilyRoss Burton4-3/+108
2009-07-31When constructing the OAuth header, steal any oauth params that have been setRoss Burton1-0/+24
2009-07-31Delete trailing whitespaceRoss Burton4-17/+17
2009-07-31Handle NULL frob correctly when constructing URLsRoss Burton1-2/+2
2009-06-29Fixed Authorization header to only include oauth parametersMatt Wood1-19/+23
Signed-off-by: Ross Burton <ross@linux.intel.com>
2009-06-29Enable soup debugging on synchronous callsMatt Wood1-0/+2
2009-05-29Add rest_proxy_call_sync, for threaded appsRoss Burton2-0/+26
2009-05-29Add a sync SoupSession to RestProxy and expose _send_messageRoss Burton2-0/+21
2009-05-29Factor out the message result handlingRoss Burton1-9/+21
2009-05-29Split out the message creation when callingRoss Burton1-30/+47