2019-08-06  Rico Tzschichholz  <ricotz@ubuntu.com>

	Release 0.40.16

2019-08-05  Rico Tzschichholz  <ricotz@ubuntu.com>

	codegen: Include required type-definition when casting from generic pointer
	Fixes https://gitlab.gnome.org/GNOME/vala/issues/828

2019-08-05  David Hewitt  <davidmhewitt@gmail.com>

	x11: Fix return type of XInternAtoms and XGetAtomNames bindings

2019-08-05  Rico Tzschichholz  <ricotz@ubuntu.com>

	tests: Add GMutex and GRecMutex test to increase coverage

	codegen: Use G_TYPE_CHECK_INSTANCE_CAST for comparisons with interfaces
	Avoids "comparison of distinct pointer types lacks a cast" warning for
	such cases.

	girparser: Handle "function-macro" by skipping them
	See https://gitlab.gnome.org/GNOME/gobject-introspection/merge_requests/159

	posix: Fix return-value of mknod() and c-include for tcgetsid()
	Introduced with 535f2734d19875ccc1f170841b72eba0c4adad1e

	webkit2gtk-4.0: Fix WebContext.initialize_notification_permissions()
	Bind it as WebContext.init_notification_permissions() to avoid conflict.

2019-08-05  Christian Kellner  <christian@kellner.me>

	glib-2.0: add MappedFile.from_fd constructor
	Add the missing 'g_mapped_file_new_from_fd' constructor, added
	with glib 2.32.

	Fixes https://gitlab.gnome.org/GNOME/vala/issues/824

2019-07-16  Rico Tzschichholz  <ricotz@ubuntu.com>

	codegen: Real structs are allowed by simple generics and passed as reference
	Add the required pointer-indirections to fix invalid memory accesses.

	Fixes https://gitlab.gnome.org/GNOME/vala/issues/819

2019-07-07  Jeremy Philippe  <jeremy.philippe@gmail.com>

	build: Pass -no-undefined when linking libcodegen
	This is required to build under MinGW (and presumably Cygwin).

	Fixes https://gitlab.gnome.org/GNOME/vala/issues/820

2019-07-07  Rico Tzschichholz  <ricotz@ubuntu.com>

	codegen: Assign GValue result of function calls to temp-var on copy_value
	Regression of a94a28141e1f222d1da7e72bea4cd2d1e5242f41

	Fixes https://gitlab.gnome.org/GNOME/vala/issues/819

2019-07-02  Gran PC  <gran.pc@gmail.com>

	xtst: Fix signature of XTest.fake_relative_motion_event()
	See https://gitlab.gnome.org/GNOME/vala/merge_requests/67

2019-07-02  Rico Tzschichholz  <ricotz@ubuntu.com>

	glib-2.0: Bind strcmp0 as GLib.CompareFunc<string?>
	Allows proper usage with experimental non-null

	Fixes https://gitlab.gnome.org/GNOME/vala/issues/810

2019-06-19  Rico Tzschichholz  <ricotz@ubuntu.com>

	tests: Null-terminate arrays for compatibility test of uint8 and uchar
	Fixes https://gitlab.gnome.org/GNOME/vala/issues/809

	gtk+-3.0: Update to 3.24.9~18177388

	girparser: Skip 'attribute' elements

	codegen: Use array_length of collection variable instead of expression

	codegen: When freeing local variables don't stop at "switch" on "continue"
	So distinguish between BreakStatement and ContinueStatement to make the
	correct decision in append_local_free().

	Fixes https://gitlab.gnome.org/GNOME/vala/issues/799

	clutter-1.0: Bind Margin, PaintVolume, Point, Rect and Size as struct
	Reverts 0cd8009728245300d32009fb029898b4a3ceed8a and its confusion
	regards "caller-allocates" out-parameters

	Fixes https://gitlab.gnome.org/GNOME/vala/issues/795

	tests: Properties with NoAccessorMethod return heap-allocated structs

	cogl-1.0: Fix out-params in Cogl.get_modelview_matrix/projection_matrix/bitmasks
	Fixes https://gitlab.gnome.org/GNOME/vala/issues/794

	codegen: Always use G_TYPE_CHECK_INSTANCE_TYPE for external symbols
	and get_ccode_type_check_function() for SourceFileType.SOURCE symbols.

	girparser: Add support for string "ctype" metadata
	https://gitlab.gnome.org/GNOME/vala/issues/793

	girwriter: Write implicit fields for arrays and delegates

	girwriter: Write implicit parameters and properties for generics

	compiler: Add OptionFlags.NO_ARG to deprecated "--thread" option
	It was defined with OptionArg.NONE and never took an extra argument.

	Regression of d8e810680f370fac7e9a5e80f8d94316707625c2

	girwriter: Only replace existing GIR files if they changed
	Same how it is done in CodeWriter.write_file()

	girwriter: Populate gir_namespace/version attributes of external namespaces

	girwriter: Don't write c:include tags for symbols from external packages

	girwriter: Properly write attributes for non-GObject classes

	codegen: Make sure to call a corresponding pop_function()

	codegen: Make sure to call a corresponding pop_line()

	codegen: Make sure to call a corresponding pop_context()

	girwriter: Don't write "property" attribute for non-gobject properties

	valadoc/tests: construct properties require GLib.Object derived class

	girwriter: Properly resolve GLib.TypeInterface instead of hardcoding it
	This makes sure to pick up the dependency on GObject-2.0.gir

	girwriter: Mention that this file is generated and not meant to be modified
	Same as already done for generated vapi files.

	tests: More "unassigned variable" tests to increase coverage

	tests: Extend "foreach" tests to increase coverage

	tests: Extend "assigned local variable" control flow tests

	parser: Set correct end source-reference of Block for embedded statement

	parser: Improve source-reference of declaration block for ForStatement

	parser: Improve source-location for local Constant declarations

	parser: Don't include trailing semi-colon to ExpressionStatement

	parser: Improve source-location for LocalVariable/DeclarationStatement

	parser: Set correct end source-location for Block
	This location was off by one token.