summaryrefslogtreecommitdiff
path: root/libsoup/soup-form.h
Commit message (Collapse)AuthorAgeFilesLines
* Stop using emacs indent-tabs-modeCarlos Garcia Campos2021-03-181-1/+1
| | | | We prefer spaces now instead of tabs.
* Remove all 2.x version macrosPatrick Griffis2020-11-251-6/+6
|
* forms: remove soup_form_request_new APIscarlosgc/form-messageCarlos Garcia Campos2020-11-041-17/+0
| | | | | Add soup_message_new_from_encoded_form() and soup_message_new_from_multipart() instead.
* Split SoupMessage into client and server partscarlosgc/split-ioCarlos Garcia Campos2020-10-191-5/+5
| | | | Add SoupServerMessage and move there all the server only functionality.
* Replace SoupBuffer with GBytesPatrick Griffis2020-09-191-1/+1
|
* Reorganize source treePatrick Griffis2020-09-191-2/+2
|
* Remove deprecated SoupForm APIsPatrick Griffis2020-09-191-7/+0
|
* Do not include the header exclusion guards in the introspectionCorentin Noël2018-06-131-3/+3
|
* Mark all remaining methods with SOUP_AVAILABLE_IN_2_4Ignacio Casal Quinteiro2015-11-091-0/+8
| | | | | | | | This way we can as well redefine _SOUP_EXTERN on msvc builds with the right extern value needed for it. This is the same we do on glib and gtk+ https://bugzilla.gnome.org/show_bug.cgi?id=757146
* Rename LIBSOUP_DISABLE_DEPRECATED to SOUP_DISABLE_DEPRECATEDDan Winship2013-01-041-1/+1
| | | | | | | | | GNOME_MAINTAINER_MODE_DEFINES apparently sets LIBSOUP_DISABLE_DEPRECATED, which is now causing various jhbuild modules to break. "Fix" this by renaming the define (which is only still there because gtk-doc complains if it's not). The *right* way to get deprecation warnings/errors now is to define SOUP_VERSION_MIN_REQUIRED.
* Add per-version deprecation/availability warningsDan Winship2012-11-081-0/+2
| | | | | | | | | | | Add SOUP_VERSION_X_XX, SOUP_VERSION_MIN_REQUIRED, and SOUP_VERSION_MAX_ALLOWED, to enable version-based warnings. Tag all functions with appropriate SOUP_AVAILABLE_IN_ and SOUP_DEPRECATED_IN_ macros. Also, fix up some "Since" tags to not refer to unstable releases or non-.0 point releases.
* New type and methods for working with multipart HTTP bodies (eg,Dan Winship2008-10-011-17/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * libsoup/soup-multipart.c: New type and methods for working with multipart HTTP bodies (eg, multipart/form-data and multipart/byte-ranges) * libsoup/soup-message-headers.c (soup_message_headers_get_ranges) (soup_message_headers_set_ranges) (soup_message_headers_set_range) (soup_message_headers_get_content_range) (soup_message_headers_set_content_range): New methods for dealing with the Range and Content-Range headers. * libsoup/soup-form.h (SOUP_FORM_MIME_TYPE_URLENCODED) (SOUP_FORM_MIME_TYPE_MULTIPART): #define these MIME types here * libsoup/soup-form.c (soup_form_decode_multipart): new utility for parsing multipart/form-data forms. (soup_form_request_new_from_multipart): new utility for constructing multipart/form-data forms * libsoup/soup-headers.c (soup_headers_parse): this is now non-static, for use by soup-multipart * libsoup/soup-message-server-io.c (get_response_headers) (handle_partial_get): if the client requested a partial GET, and the SoupServer is returning the full body, rebuild the response to include only the requested range instead * tests/forms-test.c: renamed from query-test and updated to do both application/x-www-form-urlencoded and multipart/form-data tests * tests/range-test.c: test of Range/Content-Range functionality svn path=/trunk/; revision=1176
* newDan Winship2008-02-011-3/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | * libsoup/soup-date.c (soup_date_to_time_t): new * libsoup/soup-form.c (soup_form_decode): Remove "_urlencoded" from name. (And add back-compat #define.) (soup_form_encode): New, takes varargs parameters for each form construction. (soup_form_encode_hash, soup_form_encode_datalist): renamed, with back-compat #defines (soup_form_request_new, soup_form_request_new_from_hash) (soup_form_request_new_from_datalist): New methods to construct a GET or POST message with form data. * libsoup/soup-uri.c (soup_uri_set_query_from_fields): New, takes varargs like soup_form_encode(). * libsoup/soup-value-utils.c (soup_value_hash_new_with_vals) (soup_value_hash_insert_vals, soup_value_hash_lookup_vals): New routines to work with multiple value hash values at once. (soup_value_array_new): tiny wrapper, for naming consistency (soup_value_array_new_with_vals, soup_value_array_append_vals): New routines to work with multiple value array values at once. svn path=/trunk/; revision=1063
* Merge libsoup-2.4 branch to trunkDan Winship2008-01-151-0/+20
* Merge libsoup-2.4 branch to trunk svn path=/trunk/; revision=1041