summaryrefslogtreecommitdiff
path: root/rest
AgeCommit message (Collapse)AuthorFilesLines
2011-09-05build: Make libtool generate DLLs on windowsDamien Lespiau1-0/+1
libtool needs -no-undefined to generate DLLs on windows. As that flag can't hurt (on the contrary) for other platforms, just add it to the LDFLAGS.
2011-09-05oauth-proxy: Fix format string warningDamien Lespiau1-1/+1
gcc complains about %lli here. Glib happens to define convinience macros around gint64, let's use them.
2011-07-11oauth: Add property for signature typeRoss Burton1-1/+14
2011-07-11oauth: Add GType for OAuthSignatureMethod enumRoss Burton2-0/+21
2011-07-11build: Generate GLib enum typesRoss Burton1-1/+33
2011-04-13Added documentation to rest_proxy_call_upload.Eitan Isaacson1-0/+22
2011-04-13Introduce rest_proxy_call_upload to provide progress feedback.Eitan Isaacson3-0/+143
2011-04-13proxy-call: Allow customisation of data serialization (BMC#13746)Michal Mhr2-2/+65
2011-03-29Add "disable-cookies" construction property to RestProxy.librest-0.7.9Eitan Isaacson1-7/+33
This is neccessary for Vimeo because of a bug where we get a 500 error if we pass along the cookie it provides. Fixes: https://bugs.meego.com/show_bug.cgi?id=15015
2011-03-07oauth-proxy: Added 'signature-host' property.Eitan Isaacson4-3/+78
This enables signing with a different hostname than the one in the endpoint. The case in point is Photobucket: It has "silo" URLs that are used for certain types of operations, such as api123.photobucket.com, yet the signature still expects to use api.photobucket.com in the base string. Fixes: https://bugs.meego.com/show_bug.cgi?id=14192
2011-03-07oauth-proxy: Use POST method doe OAuth 1.0 authentication.Eitan Isaacson1-0/+4
Fixes: https://bugs.meego.com/show_bug.cgi?id=13843
2011-02-23Fix a few introspection issuesMichal Hruby1-1/+5
Fixes: https://bugs.meego.com/show_bug.cgi?id=13745
2011-02-22proxy-call: Fix memory leaks in multipart form REST calls.Eitan Isaacson1-0/+4
https://bugs.meego.com/show_bug.cgi?id=13726
2011-02-10xml-node: API for manually constructing and outputting XMLTomas Frydrych6-247/+487
Split out RestXmlNode into separate source files and added simple API for manually constructing tree of RextXmlNodes and converting such a tree to a string: * xml_node_add_child() * xml_node_add_attribute() * xml_node_set_content() * xml_node_print() Includes xml test for make check
2010-09-13xml-parser: Remove unused variablelibrest-0.7.4Rob Bradford1-1/+0
2010-09-13proxy-call: Use g_error_set_literal for content from the web serverRob Bradford1-5/+5
Fixes: http://bugs.meego.com/show_bug.cgi?id=6295
2010-09-07build: Don't include Soup and libxml in includes for GIRRob Bradford1-1/+1
The librest API doesn't export API that uses these two.
2010-09-06proxy-call: The status code for the request is fetched from the messageRob Bradford1-2/+1
Therefore we don't need to save the return value from soup_session_send_message ().
2010-09-06proxy-call: Remove unused code post refactoringRob Bradford1-4/+0
The RestProxyCallClass is not needed in these functions any more since it is accessed through prepare_message ()
2010-09-06xml-parser: Remove unread 'res' variableRob Bradford1-2/+2
We never read from this variable apart from in the loop so we can instead simply compare the result of the function.
2010-09-06proxy: Fix compiler warningRob Bradford1-1/+1
2010-09-02proxy-call: Fix compiler warning with storing call closureRob Bradford1-1/+1
2010-09-02proxy-call: Turn off body buffer accumulation for continuous callRob Bradford1-0/+3
2010-09-02proxy-call: Add documentation for rest_proxy_call_continuousRob Bradford1-0/+23
2010-09-02proxy-call: Enhance documentation for rest_proxy_call_asyncRob Bradford1-1/+5
2010-09-02proxy-call: Add first pass at continuous call modeRob Bradford3-0/+144
2010-09-02build: Enable test code coverage analysisRob Bradford1-4/+5
2010-09-01Fix code formattingRoss Burton1-1/+2
2010-09-01Add cookie support to rest-proxyGary Ching-Pang Lin1-0/+5
Signed-off-by: Gary Ching-Pang Lin <chingpang@gmail.com>
2010-08-27oauth-proxy-call: Don't leak the parameter names that we stealRob Bradford1-9/+13
2010-08-27oauth-proxy-call: Prevent memory corruption by duplicating dataRob Bradford1-1/+3
2010-08-20build: Update the build systemlibrest-0.7.2Emmanuele Bassi1-32/+16
• 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>
2010-08-19xml-parser: Clear the stack in rest_xml_node_findRob Bradford1-0/+2
2010-08-19xml-parser: Fix rest_xml_node_unref so that is correctly unrefs siblingsRob Bradford1-28/+28
2010-08-12proxy-call: Adjust to the new callback always fired invariant (since d7d4d52)Rob Bradford1-16/+9
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.
2010-08-11Small documentation fixesRoss Burton2-5/+13
2010-08-06Skip non-string params in rest_params_as_string_hash_tableRoss Burton1-2/+2
2010-08-06rest-param: if we're passed NULL in _new_string, replace it with empty stringRoss Burton1-0/+6
2010-08-04Minor documentation fixesRoss Burton8-15/+31
2010-07-08oauth: do signing differently when using OAuth EchoRoss Burton1-3/+12
2010-07-08oauth: add constructor for OAuth Echo proxiesRoss Burton3-2/+47
2010-07-08Port the proxies to use RestParamRoss Burton4-47/+117
2010-07-08rest: add RestParam and RestParams typesRoss Burton5-1/+693
2010-05-28Fix leak of soup logger instancesJonathon Jongsma1-4/+7
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
2010-05-26Add a oauth2 proxyJonathon Jongsma6-0/+670
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
2010-05-17rest: small prototype fixes to clean up docsRoss Burton2-5/+5
2010-05-14Use the session callback instead of finished (BMC#842)Ross Burton3-13/+17
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.
2010-05-14Don't check for dispose or finalize when chaining upRoss Burton2-9/+5
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