2019-08-14 Rico Tzschichholz Release 0.36.20 2019-08-06 David Hewitt x11: Fix return type of XInternAtoms and XGetAtomNames bindings 2019-08-06 Rico Tzschichholz 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-06 Christian Kellner 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-08-06 Gran PC xtst: Fix signature of XTest.fake_relative_motion_event() See https://gitlab.gnome.org/GNOME/vala/merge_requests/67 2019-08-06 Rico Tzschichholz glib-2.0: Bind strcmp0 as GLib.CompareFunc Allows proper usage with experimental non-null Fixes https://gitlab.gnome.org/GNOME/vala/issues/810 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 cogl-1.0: Fix out-params in Cogl.get_modelview_matrix/projection_matrix/bitmasks Fixes https://gitlab.gnome.org/GNOME/vala/issues/794 codegen: Include required type-definition when casting from generic pointer Fixes https://gitlab.gnome.org/GNOME/vala/issues/828 codegen: Use G_TYPE_CHECK_INSTANCE_CAST for comparisons with interfaces Avoids "comparison of distinct pointer types lacks a cast" warning for such cases. 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 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 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 codegen: Always use G_TYPE_CHECK_INSTANCE_TYPE for external symbols and get_ccode_type_check_function() for SourceFileType.SOURCE symbols. 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() compiler: Add OptionFlags.NO_ARG to deprecated "--thread" option It was defined with OptionArg.NONE and never took an extra argument. Regression of d8e810680f370fac7e9a5e80f8d94316707625c2 tests: Add GMutex and GRecMutex test to increase coverage tests: Null-terminate arrays for compatibility test of uint8 and uchar Fixes https://gitlab.gnome.org/GNOME/vala/issues/809 tests: Check uchar[] and uint8[] compatibility tests: Properties with NoAccessorMethod return heap-allocated structs girparser: Handle "function-macro" by skipping them See https://gitlab.gnome.org/GNOME/gobject-introspection/merge_requests/159 girparser: Skip 'attribute' elements 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 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 girwriter: Don't write "property" attribute for non-gobject properties 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 tests: Extend "assigned local variable" control flow tests Cover condition statements of WhileStatement and ConditionalExpression 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.