Commit 63f778a9 authored by Patrick Griffis's avatar Patrick Griffis 💬
Browse files

3.0.0

parent 23c413fd
Changes in libsoup from 2.99.9 to 3.0.0:
* Remove unused dependency on libxml [Patrick Griffis]
* Use G_DECLARE_FINAL_TYPE when applicable and bump GLib dependency
to 2.69.1 [Patrick Griffis]
* Add PyGObject overrides for SoupMessageHeaders to behave like a dict [Patrick Griffis]
* Fix soup_message_add_status_code_handler() in Vala [Rico Tzschichholz]
* Ensure that all header values are valid UTF-8, other encodings are not
supported [Patrick Griffis]
* Support Content-Disposition headers missing a disposition-type [Patrick Griffis]
Changes in libsoup from 2.99.8 to 2.99.9:
* Make soup_message_set_method() public API [Carlos Garcia Campos]
......
......@@ -5,7 +5,7 @@
<bookinfo>
<title>libsoup Reference Manual</title>
<releaseinfo>
This documentation is for libsoup 3.0 which is in development.
This documentation is for libsoup 3.0.
You can find older versions online at <ulink role="online-location" url="https://libsoup.org/libsoup-2.4/index.html">https://libsoup.org/libsoup-2.4/</ulink>.
</releaseinfo>
</bookinfo>
......
......@@ -139,7 +139,7 @@ soup_check_version (guint major,
guint minor,
guint micro)
{
return SOUP_CHECK_VERSION (major, minor, micro);
return SOUP_CHECK_VERSION (major, (int)minor, micro);
}
/**
......
......@@ -51,20 +51,21 @@ G_BEGIN_DECLS
* this means the next stable target
*/
#if (SOUP_MINOR_VERSION % 2)
#if (SOUP_MAJOR_VERSION == 2)
#define SOUP_VERSION_CUR_STABLE (G_ENCODE_VERSION (3, 0))
#else
#define SOUP_VERSION_CUR_STABLE (G_ENCODE_VERSION (SOUP_MAJOR_VERSION, SOUP_MINOR_VERSION + 1))
#endif
#else
#define SOUP_VERSION_CUR_STABLE (G_ENCODE_VERSION (SOUP_MAJOR_VERSION, SOUP_MINOR_VERSION))
#endif
/* evaluates to the previous stable version */
#if (SOUP_MINOR_VERSION % 2)
#define SOUP_VERSION_PREV_STABLE (G_ENCODE_VERSION (SOUP_MAJOR_VERSION, SOUP_MINOR_VERSION - 1))
#if (SOUP_MINOR_VERSION == 0)
/* Can't have -1 for previous version */
# define SOUP_VERSION_PREV_STABLE (G_ENCODE_VERSION (SOUP_MAJOR_VERSION, 0))
#else
#define SOUP_VERSION_PREV_STABLE (G_ENCODE_VERSION (SOUP_MAJOR_VERSION, SOUP_MINOR_VERSION - 2))
# if (SOUP_MINOR_VERSION % 2)
# define SOUP_VERSION_PREV_STABLE (G_ENCODE_VERSION (SOUP_MAJOR_VERSION, SOUP_MINOR_VERSION - 1))
# else
# define SOUP_VERSION_PREV_STABLE (G_ENCODE_VERSION (SOUP_MAJOR_VERSION, SOUP_MINOR_VERSION - 2))
# endif
#endif
#ifndef SOUP_VERSION_MIN_REQUIRED
......
project('libsoup', 'c',
version: '2.99.9',
version: '3.0.0',
meson_version : '>= 0.53',
license : 'LGPL2',
default_options : [
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment