Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
Fixes: http://bugs.meego.com/show_bug.cgi?id=6295
|
|
The librest API doesn't export API that uses these two.
|
|
Therefore we don't need to save the return value from
soup_session_send_message ().
|
|
The RestProxyCallClass is not needed in these functions any more since it is
accessed through prepare_message ()
|
|
We never read from this variable apart from in the loop so we can instead
simply compare the result of the function.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Signed-off-by: Gary Ching-Pang Lin <chingpang@gmail.com>
|
|
|
|
|
|
• Use an autoconf released in this millenium
• Use the LT macros for libtool
• Do not create SGML templates for gtk-doc, and speed up the build
• Place every build-related file under build/
• Update the introspection.m4
• Use the introspection makefile rules
Signed-off-by: Emmanuele Bassi <ebassi@linux.intel.com>
|
|
|
|
|
|
Since the callback is always fired when the call is completed, cancelled or an
error situation. We need to adapt the code for rest_proxy_call_cancel so that
it doesn't unref the call object a second time.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
When adding a feature, the soup session takes a reference on the feature, so we
need to unref it after adding in order for it not to leak.
http://bugs.meego.com/show_bug.cgi?id=2500
|
|
This new class provides a proxy class for oauth2-based web services, such as the
new facebook graph API. The basic idea is as follows:
- Construct a OAuth2Proxy object
- Build a login url with _build_login_url(_full)()
- Display said url in a browser widget (e.g. webkit) and listen for redirects to
the specified 'redirect_uri'
- Extract the access token from the uri that you are redirected to
- Set the access token for the proxy with _set_access_token()
http://bugs.meego.com/show_bug.cgi?id=2265
|
|
|
|
Use the completed callback in soup_session_queue_message instead of connecting
to finished on the message itself. I'm not entirely why the behaviour is
different but this fixes #842 where an async call make inside another async call
would end up with the original message "finishing" again, causing infinite
loops.
|
|
|
|
|
|
Fixes: http://bugzilla.meego.com/show_bug.cgi?id=273
|
|
|
|
|
|
|
|
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)
|
|
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)
|
|
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==
|
|
This reverts commit cf01d69f3bbcb899e12c48d8fb59cd56bb69a0c3.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|