2022-09-03 Rico Tzschichholz <ricotz@ubuntu.com> Release 0.56.3 2022-09-03 星外之神 <wszqkzqk@qq.com> vala: Avoid problems with '\' in #line directives on Windows Replace '\' with '/' in SourceFile.relative_path like in CodeContext.realpath(). F:/msys64/home/x/test/test.vala.c: In function '_vala_main': F:/msys64/home/x/test/test.vala.c:12:9: warning: unknown escape sequence: '\M' 12 | #line 3 "C:\MyFiles\test.vala" | ^~~~~~~~~~~~~~~~~~~~~~ Fixes https://gitlab.gnome.org/GNOME/vala/issues/1353 2022-09-03 Rico Tzschichholz <ricotz@ubuntu.com> glib-2.0: Use g_abort for GLib.Process.abort() beginning with 2.50 Fixes https://gitlab.gnome.org/GNOME/vala/issues/1350 2022-08-15 Rico Tzschichholz <ricotz@ubuntu.com> vala: Make try-statement parsing more resilient Regression of f5934184d050d1a19f394fdab6f2ee66ff30965f Fixes https://gitlab.gnome.org/GNOME/vala/issues/1304 2022-08-10 Rico Tzschichholz <ricotz@ubuntu.com> atspi-2: Fix a few binding errors 2022-08-01 Rico Tzschichholz <ricotz@ubuntu.com> gidlparser: Set source reference of parameters 2022-07-30 Rico Tzschichholz <ricotz@ubuntu.com> vala: Don't unconditionally expect ObjectType of Class Fixes https://gitlab.gnome.org/GNOME/vala/issues/1341 2022-07-19 Rico Tzschichholz <ricotz@ubuntu.com> gtk+-3.0: Correctly unhide BindingSet.by_class to avoid Version attribute 2022-07-14 Rico Tzschichholz <ricotz@ubuntu.com> doap: Demote idle maintainers to authors Requested by Michael Catanzaro <mcatanzaro@gnome.org> Release 0.56.2 2022-07-01 Rico Tzschichholz <ricotz@ubuntu.com> vapi: Add rest-1.0 bindings vapi: Add geocode-glib-2.0 binding 2022-06-14 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Check cname of fields and methods against reserved identfiers Fixes https://gitlab.gnome.org/GNOME/vala/issues/1329 codegen: Split reserved identifiers for C and Vala codegen: Make sure to initialize static collections vala: Avoid critical in SourceFile.get_mapped_length() See https://gitlab.gnome.org/GNOME/vala/issues/1330 2022-06-04 Corentin Noël <corentin.noel@collabora.com> vapi: Add initial wayland-client binding Allow to properly use gtk4-wayland. 2022-06-02 Gustav Hartvigsson <gustav.hartvigsson@gmail.com> glib2.0: Add abs() to int8/int16/int32/ssize_t Fixes https://gitlab.gnome.org/GNOME/vala/issues/1328 2022-05-31 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Detect usage of static type-parameter in runtime context Compact classes doesn't carry runtime information of its type-parameters. In case this information is required we need report an error. Fixes https://gitlab.gnome.org/GNOME/vala/issues/1326 2022-05-10 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Correctly set array-length for NoAccessorMethods properties If value is a null-terminated array then calculate and set its length. Fixes https://gitlab.gnome.org/GNOME/vala/issues/1316 2022-04-22 Rico Tzschichholz <ricotz@ubuntu.com> Release 0.56.1 2022-04-20 Rico Tzschichholz <ricotz@ubuntu.com> manual: Update from wiki.gnome.org vapi: Update GIR-based bindings gstreamer: Update from 1.21.0+ git main 2022-04-15 Rico Tzschichholz <ricotz@ubuntu.com> gtk4: Split out gtk4-wayland and gtk4-x11 into separate bindings Fixes https://gitlab.gnome.org/GNOME/vala/issues/1308 2022-04-07 Rico Tzschichholz <ricotz@ubuntu.com> valadoc: Include path to doclet in error message 2022-04-07 m-shinder <mihail@shinder.ml> gtk4: Fix GLib.Value parameter in ContentProvider.get_value() Value is `out caller-allocates` and it is also initialized by caller. 2022-04-04 Rico Tzschichholz <ricotz@ubuntu.com> vala: Improve accessibility check inside member initializer Fixes https://gitlab.gnome.org/GNOME/vala/issues/1300 2022-03-29 Rico Tzschichholz <ricotz@ubuntu.com> vala: Don't allow nullable enum value as real GObject property It is basically a boxed integer value. Fixes https://gitlab.gnome.org/GNOME/vala/issues/1074 2022-03-28 Rico Tzschichholz <ricotz@ubuntu.com> vapi: Update GIR-based bindings gstreamer: Update from 1.21+ git main 2022-03-19 Lorenz Wildberg <lorenz@wild-fisch.de> Add release notes for 0.56 2022-03-17 Rico Tzschichholz <ricotz@ubuntu.com> Release 0.56.0 2022-03-15 Rico Tzschichholz <ricotz@ubuntu.com> vapi: Add webkit2gtk-4.1 bindings 2022-03-09 Rico Tzschichholz <ricotz@ubuntu.com> libarchive: Fix a few binding errors 2022-03-08 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Drop confusing warning when accessing interface members Making assumptions for member access using the current class is not correct. Introduced by 0aace7bd6d3ec72e77f4eabbb7d5fffd3b2e86a8 2022-03-07 Rico Tzschichholz <ricotz@ubuntu.com> SDL2_ttf: Fix a few binding errors tiff: Fix a few binding errors glib-2.0: Fix memory management of TestSuite.add*/get_root() with 2.70 Fixes https://gitlab.gnome.org/GNOME/vala/issues/1295 2022-03-04 Rico Tzschichholz <ricotz@ubuntu.com> Release 0.55.91 vapi: Regenerate GIR-based bindings to pick up previously skipped delegate parameters girparser: Don't count instance-parameter when checking for backwards closure reference Fixes https://gitlab.gnome.org/GNOME/vala/issues/721 2022-02-28 Rico Tzschichholz <ricotz@ubuntu.com> gstreamer-video-1.0: Fix a few binding errors gstreamer-base-1.0: Fix a few bindings errors gstreamer-audio-1.0: Fix a few binding errors gst-editing-services-1.0: Fix BaseEffect.set_time_translation_funcs() gtk4: Fix content_deserialize_async() libgrss: Fix FeedItem.get_geo_point() parameters libarchive: Fix a few binding errors libgsf-1: Fix a few binding errors girparser: Add support for "copy_/free_function" metadata for compact classes girparser: Handle duplicated and unnamed symbols Issue warnings and skip such symbols to avoid errors on vala's side. 2022-02-26 Princeton Ferro <princetonferro@gmail.com> g-i: Update gidl binding to include type hierarchy The IdlNode* classes should be declared as subclasses of IdlNode, that way the compiler can be sure that casting from an IdlNode is safe. 2022-02-25 Rico Tzschichholz <ricotz@ubuntu.com> Release 0.55.90 2022-02-24 Rico Tzschichholz <ricotz@ubuntu.com> vapi: Regenerate GIR-based bindings to pick up type_id of error domains girparser: Pick up type_id of error domains codegen: Emit GType definition for error domains Fixes https://gitlab.gnome.org/GNOME/vala/issues/699 codegen: Default to "has_type_id = false" for external error-domains glib-2.0: Add type_id of GLib.Error glib-2.0: Annotate error-domains with "has_type_id = false" codegen: Emit G_DEFINE_AUTO_CLEANUP_CLEAR_FUNC() for structs Fixes https://gitlab.gnome.org/GNOME/vala/issues/1293 codegen: Emit G_DEFINE_AUTOPTR_CLEANUP_FUNC() for interfaces with base class Fixes https://gitlab.gnome.org/GNOME/vala/issues/1292 codegen: Split out GTypeModule.generate_autoptr_cleanup() 2022-02-22 Rico Tzschichholz <ricotz@ubuntu.com> vapi: gtk4-unix-print is GIR-based glib-2.0: Update 2.70/72 symbols vapi: Update GIR-based bindings gstreamer: Update from 1.21.0+ git main vala: Allow delegate without target to be used as constant type vala: Keep error-code symbol reference in callable expression context vala: Add common CallableExpression.call property API vala: Drop unused MemberAccess.creation_member property API tests: Extend "direct access to error code" test to increase coverage tests: Add invalid "error creation" tests to increase coverage tests: Fix objectcreation-no-creation-method.test vala: Member reference for ObjectCreationExpression is never null 2022-02-12 Rico Tzschichholz <ricotz@ubuntu.com> tests: Add more Werror=... flags 2022-02-11 Rico Tzschichholz <ricotz@ubuntu.com> vala: Only add catch clause if an inner error is possible See d9f702289b4b39683d0c9361e1ea02fd51ecae22 build: Update git-version-gen to latest upstream From commit b5a3c17daa05f6d76f70369e7cbeefe0db012499 of https://git.savannah.gnu.org/cgit/gnulib.git/log/build-aux/git-version-gen build: Update gitlog-to-changelog to latest upstream From commit b5a3c17daa05f6d76f70369e7cbeefe0db012499 of https://git.savannah.gnu.org/cgit/gnulib.git/tree/build-aux/gitlog-to-changelog 2022-02-10 Rico Tzschichholz <ricotz@ubuntu.com> vala: Catch and throw possible inner error of lock statements See 40c1dbfbfedb6c4a6b88df045eb1c2e7bdd38d93 Fixes https://gitlab.gnome.org/GNOME/vala/issues/83 2022-02-10 Rico Tzschichholz <ricotz@ubuntu.com> Release 0.55.3 2022-02-09 Rico Tzschichholz <ricotz@ubuntu.com> vala: Clear SemanticAnalyzer.current_{symbol,source_file} when not needed anymore vala: Free empty stack list for code contexts While having the stack list created on demand, make sure to destroy it when it is not required anymore. Otherwise it will be leaked without an option to avoid that to happen. gtkmodule: Recurse inner classes of ObjectTypeSymbols (2) gtkmodule: Improve UI parsing and handling of nested objects and properties Don't restrict GtkCallback to instance methods gtkmodule: Recurse inner classes of ObjectTypeSymbols test/gtktemplate: Use correct class name 2022-02-06 Rico Tzschichholz <ricotz@ubuntu.com> vala: Remove some public API from symbols and types parser: Clean up creation of constant declaration 2022-02-06 Rico Tzschichholz <ricotz@ubuntu.com> parser: Allow usage of dynamic on VarType dynamic var foo = bar.get_foo(); Fixes https://gitlab.gnome.org/GNOME/vala/issues/187 2022-02-06 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Stop generating wrappers for dynamic property access vala: Move dynamic property errors to semantic analyzer pass 2022-02-04 Rico Tzschichholz <ricotz@ubuntu.com> vala: Make sure to drop our "trap" jump target in case of an error Otherwise this can result in an infinite loop in FlowAnalyzer.intersect() Improve source reference for jump out of finally block Fixes https://gitlab.gnome.org/GNOME/vala/issues/1287 2022-02-04 Rico Tzschichholz <ricotz@ubuntu.com> vapi: Update GIR-based bindings gio-2.0,glib-2.0,gobject-2.0: Update 2.72 symbols gtk4: Update to 4.6.0+06ec4ec1 gstreamer: Update from 1.19.90+ git main 2022-02-03 Rico Tzschichholz <ricotz@ubuntu.com> tests: Relax dependency of asynchronous/method-main-async.vala on build environment See 45fe8523ad392f1aaa0f24d83b63e91774938775 Fixes https://gitlab.gnome.org/GNOME/vala/issues/1286 2022-02-03 Niels De Graef <nielsdg@redhat.com> gtk4: Specify sentinel for GtkAcessible methods 2022-01-31 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Use correct target/destroy of delegate field initializer Fixes https://gitlab.gnome.org/GNOME/vala/issues/1285 2022-01-30 Rico Tzschichholz <ricotz@ubuntu.com> vala: Improve check of generic type references in static contexts Fixes https://gitlab.gnome.org/GNOME/vala/issues/1284 tests: Generic type inference for static methods only in compact classes vala: Add missing TraverseVisitor.visit_data_type() vala: Some simplifications while TypeParameter is a TypeSymbol 2022-01-28 Rico Tzschichholz <ricotz@ubuntu.com> Release 0.55.2 manual: Update from wiki.gnome.org 2022-01-26 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Write array length of formal parameters with fixed length "void foo (gint i[3]) { ... }" instead of "void foo (gint* i) { ... }" 2022-01-26 wxx <769218589@qq.com> vala: Transform assignment of an array element as needed Fixes https://gitlab.gnome.org/GNOME/vala/issues/889 Fixes https://gitlab.gnome.org/GNOME/vala/issues/1258 2022-01-25 Nikola Hadžić <nikola.hadzic.000@protonmail.com> v4l2: Update V4l2.Capabilities and fix some inline arrays posix: Add limits.h binding alsa: Add/fix *.alloca() functions vapi: Add linux-media bindings (linux/media.h) 2022-01-25 Nahuel Gomez <contact@nahuelgomez.com.ar> glib-2.0: Fix criticals in string.joinv() with arrays that start with null 2022-01-25 Rico Tzschichholz <ricotz@ubuntu.com> parser: Improve handling of nullable VarType in with-statement 2022-01-25 Princeton Ferro <princetonferro@gmail.com> codegen: Cast generic return value from g_sequence_get() Use convert_from_generic_pointer() to generate C code without warnings when accessing scalar elements from a GSequence. Addtionally check type arguments of given GSequence during codegen. In addition to 44195a02c9d26453dc698282deb4947425a4b0b1 2022-01-25 Lorenz Wildberg <lorenz@wild-fisch.de> vala: Add support to infer return type of dynamic signals 2022-01-25 Princeton Ferro <princetonferro@gmail.com> vala: Add foreach statement support for GLib.Sequence It is now possible to use foreach with a GLib.Sequence 2022-01-24 Princeton Ferro <princetonferro@gmail.com> vala: Add foreach statement support for GLib.Array It is now possible to use foreach with a GLib.Array 2022-01-24 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Access of stack allocated struct is guaranteed to be non null Found by -Werror=address with GCC 12 See https://gitlab.gnome.org/GNOME/vala/issues/1282 2022-01-24 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Don't uncoditionally null check callback_func for GLib.Closure Found by -Werror=address with GCC 12 See https://gitlab.gnome.org/GNOME/vala/issues/1282 2022-01-23 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Access of inline allocated array is guaranteed to be non null and improve null check for container in slice expression Found by -Werror=address with GCC 12 See https://gitlab.gnome.org/GNOME/vala/issues/1282 2022-01-21 Rico Tzschichholz <ricotz@ubuntu.com> gtk4: Update to 4.6.0+a092986a gstreamer: Update from 1.19.3+ git master glib-2.0,gio-2.0: Update 2.72 symbols 2022-01-19 Princeton Ferro <princetonferro@gmail.com> vala: async-ize main block when yield is used This allows yield statements and expressions to be used in the main block. 2022-01-19 Rico Tzschichholz <ricotz@ubuntu.com> vala: Make Vala.Variable an abstract class 2022-01-18 Rico Tzschichholz <ricotz@ubuntu.com> vala: Implement missing YieldStatement.accept() parser: Reduce the source reference of main block method to its beginning The end contains broken information which lead to a crash while trying to report this multi-line source reference. 2022-01-18 Alvarito050506 <donfrutosgomez@gmail.com> codegen: Avoid symbol clashes with "va_*" from "stdarg.h" A few more symbol clashes with the va_* macros from stdarg.h, that seem to happen only in some systems, like Alpine Linux or NetBSD. 2022-01-17 Princeton Ferro <princetonferro@gmail.com> codegen: Add support for async main If main() is async then setup a new GMainLoop and call _vala_main() asynchronously. Fixes https://gitlab.gnome.org/GNOME/vala/issues/1275 2022-01-16 Rico Tzschichholz <ricotz@ubuntu.com> vala: Require lvalue access of delegate target/destroy "fields" In addition to c054da918a40f8ef93c1a006034fb6ab4717c135 See https://gitlab.gnome.org/GNOME/vala/issues/857 2022-01-14 Rico Tzschichholz <ricotz@ubuntu.com> Release 0.55.1 vapi: Update GIR-based bindings gtk4: Update to 4.6.0+06e5da45 2022-01-09 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Generated SimpleType structs don't have a type id Set "CCode.has_type_id" in CCodeStructModule.generate_struct_declaration() like in GTypeModule.visit_struct() for SimpleType structs which might be executed too late. In addition to 2e798fc3f8e9af25a4c231c2561894d9f0a0be50 2022-01-08 Rico Tzschichholz <ricotz@ubuntu.com> Sync NEWS from 0.54 vapi: Update GIR-based bindings 2022-01-06 Rico Tzschichholz <ricotz@ubuntu.com> tests: Skip runtime of array length type test on "32-bit" 2022-01-05 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Clear existing length values when revisiting a slice expression Fixes https://gitlab.gnome.org/GNOME/vala/issues/1274 tests: Add "async signal handler" test to increase coverage 2022-01-04 Rico Tzschichholz <ricotz@ubuntu.com> Add native support to specify non default length-type for arrays string[:long] foo = new string[:long] { "foo" }; This applies to generated bindings where this new syntax will be picked up. It will apply a stricter variable type checking for such array types. Fixes https://gitlab.gnome.org/GNOME/vala/issues/607 2022-01-04 Lorenz Wildberg <lorenz@wild-fisch.de> Support "emit" for explicit signal emission If "foo" is a signal then "foo.emit (...);" is allowed now additionally to "foo (...);". This is required to emit dynamic signals. 2022-01-03 Rico Tzschichholz <ricotz@ubuntu.com> tests: Add XFAIL tests if undefined behavior sanitizer is enabled In addition to d3bfaa4ae34c0e6c7a7a9d124e6c3a276c545391 tests: Skip constants/member-access-enum.vala for ASAN In addition to 50414570d1b54a6106a9a64274bb84977d817616 2022-01-03 Val Och <v19930312@gmail.com> codegen: Use __once instead of __volatile in generated code This better reflects purpose of relevant variables, especially given that they aren't volatile anymore on GLib 2.68+. 2022-01-03 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Initialize "result" variable on declaration for abstract methods only codegen: Cast given default-value of struct with possible member initializer Fixes https://gitlab.gnome.org/GNOME/vala/issues/1272 codegen: Allow boxing of non-external SimpleType structs Fixes https://gitlab.gnome.org/GNOME/vala/issues/1273 2021-12-28 Rico Tzschichholz <ricotz@ubuntu.com> gio-2.0: Add custom MemoryOutputStream.with_*data() wrappers Fixes https://gitlab.gnome.org/GNOME/vala/issues/1271 2021-12-27 Rico Tzschichholz <ricotz@ubuntu.com> vala: Show source location when reporting deprecations Revert "Make more use of native GLib.Regex syntax" This reverts commit b2ef0ed8d2c37a813f9ad8b35c7a7e4a1d639e1c. 2021-12-22 Rico Tzschichholz <ricotz@ubuntu.com> Make more use of native GLib.Regex syntax 2021-12-21 Rico Tzschichholz <ricotz@ubuntu.com> parser: Improve partial classes support Fixes https://gitlab.gnome.org/GNOME/vala/issues/370 vala: Correctly replace "in" expression in pre-/postconditions of method Fixes https://gitlab.gnome.org/GNOME/vala/issues/1269 2021-12-17 Rico Tzschichholz <ricotz@ubuntu.com> vala: Silently accept unsafe assignment of "0" literal to enum type In addition to 9f1de7ae875b59939ca6200e08dddd69106fb486 Properly use [Flags] feature for ModifierFlags and CCodeModifiers See 2afaae5e0755b2d8619808d2d148761b92c355b5 2021-12-16 Rico Tzschichholz <ricotz@ubuntu.com> vala: Non nullable enum types are simple types Fixes a regression of 5b6345a6386b05aaf3f11cb3572940413eb878a8 vala: Allow unsafe assignment of integer to enum while reporting a notice Sync NEWS from 0.54 2021-12-15 Rico Tzschichholz <ricotz@ubuntu.com> girparser: Avoid possibily creating duplicated attributes Don't append an attribute without checking if there is an existing one. In case the attribute already exists append the new key/value pairs. vapi: Update GIR-based bindings 2021-12-15 Corentin Noël <corentin.noel@collabora.com> gstreamer-1.0: Unskip the ElementFactory.make/create_full() symbols Also add floating reference to all the new creation functions. 2021-12-14 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Initialize type parameter properties for generics earlier If g_object_new() is used then additionally initialize type parameter properties with it. Fixes https://gitlab.gnome.org/GNOME/vala/issues/67 2021-12-14 Rico Tzschichholz <ricotz@ubuntu.com> tests: Add "type-parameter property clash" test to increase coverage This needs to be handled gracefully. So throwing an error is no option. 2021-12-13 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Use a dedicated EmitContext for _variant_get*() functions vala: Report statement parsing error if it is not meant to be an expression Fixes https://gitlab.gnome.org/GNOME/vala/issues/1261 2021-12-12 Rico Tzschichholz <ricotz@ubuntu.com> vala: Drop duplicate check for unsupported flag of struct methods vala: Drop duplicate check for unsupported flag of creation methods tests: Add more "chain up" tests to increase coverage 2021-12-12 Rico Tzschichholz <ricotz@ubuntu.com> vala: Set is_yield_expression in async context when chaining up to async base ctor vala-CRITICAL **: vala_member_access_get_inner: assertion 'self != NULL' failed vala-CRITICAL **: vala_member_access_get_member_name: assertion 'self != NULL' failed Avoid these spurious criticals and trigger the currently expected error. 2021-12-11 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Correctly handle chain up of struct creation methods Fixes https://gitlab.gnome.org/GNOME/vala/issues/1264 tests: Add missing tests/structs/struct-static-field-initializer.c-expected 2021-12-08 wxx <769218589@qq.com> vala: NullLiteral is not a valid argument for string concatenation Fixes https://gitlab.gnome.org/GNOME/vala/issues/1260 2021-12-06 Rico Tzschichholz <ricotz@ubuntu.com> gtkmodule: Handle nested closure elements and bind them accordingly Fixes https://gitlab.gnome.org/GNOME/vala/issues/1262 2021-12-02 Lorenz Wildberg <lorenz@wild-fisch.de> tests/girwriter: Use the actual expected output of our girwriter 2021-12-02 Rico Tzschichholz <ricotz@ubuntu.com> build: Update git-version-gen to latest upstream From commit 378351df7e63daca234c581f086b542026e07a27 of https://git.savannah.gnu.org/cgit/autoconf.git/tree/build-aux/git-version-gen 2021-12-01 Alexander Kanavin <alex.kanavin@gmail.com> vapigen.m4: use $PKG_CONFIG_SYSROOT_DIR This is necessary in cross-compiling environments, where directories returned by pkg-config should be prefixed with sysroot location. 2021-11-30 Rico Tzschichholz <ricotz@ubuntu.com> vala: Check accessibility of initializer for constant and enum value glib-2.0: Always use the actual C type for CCode.array_length_type 2021-11-29 Rico Tzschichholz <ricotz@ubuntu.com> Sync NEWS from 0.54 tests: Add missing methods/parameter-ccode-type.vala In addition to 0e097710e37b671b17ed1da330dd83b9e2340602 vapi: Update GIR-based bindings 2021-11-28 Lorenz Wildberg <lorenz@wild-fisch.de> tests: Rename colliding test case to avoid conflict 2021-11-28 Rico Tzschichholz <ricotz@ubuntu.com> vapi: Add gnome-desktop-4, gnome-bg-4 and gnome-rr-4 bindings Fixes https://gitlab.gnome.org/GNOME/vala/issues/1257 gnome-desktop-3.0: Some parameter fixes 2021-11-27 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Accept CCode.type attribute on parameters Fixes https://gitlab.gnome.org/GNOME/vala/issues/876 codegen: Drop inconsistent space for ObjectType parameters 2021-11-26 Rico Tzschichholz <ricotz@ubuntu.com> tests: Rename colliding test cases to avoid conflicts webkit2gtk-*.0: Update to 2.35.1 build: Add "test-update" which passed UPDATE_EXPECTED=1 to refresh c-expected vala: Fix signals with generic return In addition to 36999b5ffd63cc56a8648791b02bf07e7da88077 2021-11-25 Rico Tzschichholz <ricotz@ubuntu.com> vala: Report error on missing gio-2.0 package for async constructors Fixes https://gitlab.gnome.org/GNOME/vala/issues/1256 tests: Add runtime checks to signals tests and increase coverage 2021-11-24 Rico Tzschichholz <ricotz@ubuntu.com> tests/girwriter: Increase coverage tests: Add [Profile] method test to increase coverage vala: Add [Profile] as known attribute for methods ccode: Fix CCodeUnaryExpression.write() for PREFIX_INCREMENT/PREFIX_DECREMENT Regression of 0f65d306f5a2eca7ea798e5c835cf66b6e327c8e 2021-11-23 Rico Tzschichholz <ricotz@ubuntu.com> genie: Accept accessibility and async modifiers on "construct" creation methods Fixes https://gitlab.gnome.org/GNOME/vala/issues/1235 gstreamer-base-1.0: Some parameter fixes gstreamer: Update from 1.19.3+ git master Fixes https://gitlab.gnome.org/GNOME/vala/issues/1255 2021-11-20 Rico Tzschichholz <ricotz@ubuntu.com> tests: Remove wrongly committed files 2021-11-20 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Add missing check while overriding virtual async interface methods This fixes a couple of criticals and possibly faulty C code. In addition to fc246aa7f8cbc6cb176724246a0187e19fe91198 See https://gitlab.gnome.org/GNOME/vala/issues/852 2021-11-17 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Check required length of enum type name for GType support Add corresponding tests for types which have support for GType 2021-11-17 Rico Tzschichholz <ricotz@ubuntu.com> vala: Check for unavailable value-type of variable initializer Regression of 6690ea0e3c6f0d81d849e13548efc8c0809149cc Fixes https://gitlab.gnome.org/GNOME/vala/issues/1253 2021-11-15 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Add and use CCodeConstantIdentifier for accessing constants If an address to a constant value is required then its identifier needs to be used instead of referring to a temporary copy. Fixes a regression of f1a8f2a4c6771124abd61fd0ebfa991c846575fe Found by -fsanitize=address 2021-11-14 Rico Tzschichholz <ricotz@ubuntu.com> vapi: Update GIR-based bindings glib-2.0: Update 2.72 symbols 2021-11-12 Rico Tzschichholz <ricotz@ubuntu.com> gdbus: Use g_dbus_method_invocation_take_error() as simplification 2021-11-12 Yotam Nachum <me@yotam.net> vala: Don't allow casting real structs to classes or simple-types This led to C compiler errors or obvious runtimes failures. Fixes https://gitlab.gnome.org/GNOME/vala/issues/1249 2021-11-08 Colin Kiama <colinkiama@gmail.com> vala: Don't allow casting to void Fixes https://gitlab.gnome.org/GNOME/vala/issues/1070 2021-11-08 Lorenz Wildberg <lorenz@wild-fisch.de> vala: Add multi-line support to Vala.Report To fix multi-line errors, the "^~~~"-underline appears now under all lines and columns between the begin and end of the source reference. Also a line number with a "|" at the left side is added for better finding the source of the error. This helps also one-line errors. Fixes https://gitlab.gnome.org/GNOME/vala/issues/764 2021-11-07 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Emit constants without initializer list in defines section Fixes https://gitlab.gnome.org/GNOME/vala/issues/440 2021-11-06 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Use CCodeConstant for member access of constant symbol This broke assumptions in CCodeBaseModule.is_constant_ccode_expression() vala: Drop SemanticAnalyzer.is_type_accessible() vala: Add accessibility check of type for constants and structs base type tests: Fix mixed up naming of base-type tests for classes tests: Add more "statement" tests for genie to increase coverage 2021-11-06 Yotam Nachum <me@yotam.net> gtkmodule: Improve error message for invalid signal element in ui-file 2021-11-05 Rico Tzschichholz <ricotz@ubuntu.com> tests: Fix Makefile.am tests: Add more "declaration" tests for genie to increase coverage genie: Use TokenType.EXCEPTION instead of TokenType.ERRORDOMAIN 2021-11-04 Rico Tzschichholz <ricotz@ubuntu.com> genie: Properly handle plain "get" or "set" property accessors Fixes https://gitlab.gnome.org/GNOME/vala/issues/1248 2021-11-03 Rico Tzschichholz <ricotz@ubuntu.com> genie: Accept INTERR token before type arguments when parsing type Fixes https://gitlab.gnome.org/GNOME/vala/issues/1245 2021-11-03 Alistair Thomas <astavale@yahoo.co.uk> genie: Amend text of indent and dedent for error messages Fixes https://gitlab.gnome.org/GNOME/vala/issues/497 2021-11-02 Rico Tzschichholz <ricotz@ubuntu.com> parser: Better handling of misplaced switch sections Fixes https://gitlab.gnome.org/GNOME/vala/issues/1246 parser: Split out Parser.parse_switch_section_statement() 2021-11-01 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Stop generating wrappers for dynamic signal connections codegen: Split out GSignalModule.emit_signal() vala: Using SignalHandler.disconnect() is required for dynamic signals tests: Extend "dynamic" signal test to increase coverage 2021-10-30 Nikola Hadžić <NH000@nikolahadzic.in.rs> alsa: Add more API and fix a few things 2021-10-30 Rico Tzschichholz <ricotz@ubuntu.com> tests: Add missing tests/objects/class-partial.c-expected vala: Add support for nested methods (local functions) Fixes https://gitlab.gnome.org/GNOME/vala/issues/1232 2021-10-30 Simon Werbeck <simon.werbeck@gmail.com> Add support for partial classes Fixes https://gitlab.gnome.org/GNOME/vala/issues/370 2021-10-30 Rico Tzschichholz <ricotz@ubuntu.com> gstreamer-1.0: Make Gst.Uri a sealed class girparser: Accept "sealed" for transformed records and compact classes 2021-10-30 Lorenz Wildberg <lorenz@wild-fisch.de> vala: Improve error message for invalid handler of dynamic signal 2021-10-30 Rico Tzschichholz <ricotz@ubuntu.com> Sync NEWS from 0.54 2021-10-25 Rico Tzschichholz <ricotz@ubuntu.com> vapi: Add webkit2gtk-5.0 bindings vapi: Add libsoup-3.0 binding Required by webkit2gtk-5.0 vapi: Update GIR-based bindings gstreamer: Update from 1.19.2+ git main 2021-10-25 Rico Tzschichholz <ricotz@ubuntu.com> Revert "Use ErrorType-based collection for CodeNode.get_error_types()" Unfortunately, it is causing issues with the way the GIR/GIDL parser works. This reverts commit 0751a9e3bf46fc830d3e7ca3d0cfd3ae48846e68. 2021-10-23 Rico Tzschichholz <ricotz@ubuntu.com> tests: Add "throws error code" tests to increase coverage Use ErrorType-based collection for CodeNode.get_error_types() vala: Improve CodeWriter.visit_catch_clause() Properly output general catch clause vala: Implement CodeWriter.visit_foreach_statement() parser: Make sure ErrorCodes are accessible as needed codegen: Use ErrorType.error_domain if possible vala: Report error for non ErrorType in throws tests: Add "no error type in catch" tests to increase coverage vala: Replace and drop UnaryExpression.find_member_access() tests: Add invalid "unary decrement" test to increase coverage tests: Add more invalid "(un)lock" tests to increase coverage 2021-10-21 Rico Tzschichholz <ricotz@ubuntu.com> vala: Correctly output signature of callable throwing error vala: Really check compatiblity of error types for delegate symbol Fixes https://gitlab.gnome.org/GNOME/vala/issues/1242 2021-10-19 Rico Tzschichholz <ricotz@ubuntu.com> Sync NEWS from 0.54 2021-10-18 Rico Tzschichholz <ricotz@ubuntu.com> tests: Split "Variant (de)serialization" test to trigger one error at a time tests: Extend "access virtual signal of interface" test to increase coverage tests: Add more invalid "member access" tests to increase coverage tests: Add missing tests/enums/bug614424.c-expected tests: Add "instance access to implicit to_string() method of enum" test tests: Add invalid "target/destroy access" tests to increase coverage 2021-10-17 Rico Tzschichholz <ricotz@ubuntu.com> vala: Set more missing source references of CodeNode instances codegen: Move some errors to semantic analyzer pass parser: Don't bail parsing of yield expression on error Reporting the error is enough to handle this properly. tests: Avoid causing unrelated errors in invalid test cases tests: Add more "type-arguments" tests to increase coverage tests: Rename invalid yield-return test to avoid conflict 2021-10-15 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Actually free data when using "remove(_all)" on GLib.Queue/(S)List When using e.g. GLib.List.remove() there is no context/feedback whether an item was removed or needed manual free'ing. Replace such calls with custom wrappers where items required free'ing if they were found. Fixes https://gitlab.gnome.org/GNOME/vala/issues/1238 2021-10-15 Rico Tzschichholz <ricotz@ubuntu.com> vala: More thorough check of ValueType and set CodeNode.error on failure vala: No need to run return_type.check() twice for method tests: Add more "type-arguments" tests to increase coverage tests/girwriter: Add missing type-argument gee: Add missing type-arguments 2021-10-14 Rico Tzschichholz <ricotz@ubuntu.com> girparser: Add support for "ref_/ref_sink_/unref_function" metadata for classes Fixes https://gitlab.gnome.org/GNOME/vala/issues/1233 2021-10-14 wxx <769218589@qq.com> vala: Parameter following ellipsis parameter is not allowed Fixes https://gitlab.gnome.org/GNOME/vala/issues/1237 2021-10-01 Rico Tzschichholz <ricotz@ubuntu.com> glib-2.0: Add Unicode 14.0 symbols Set TypeParameter as symbol of GenericType vala: Drop RealLiteral.get_type_name() vala: Set source references of created DataType instances in OCE This improves error message for expected type arguments. vala: Preserve the source reference when resolving data types 2021-09-29 Rico Tzschichholz <ricotz@ubuntu.com> vala: Add optional SourceReference parameter to DataType classes Bump version suffix to 0.56 glib-2.0: Update 2.70 symbols gtk4: Update to 4.5.0~da5efea6 gio-2.0: Update to 2.71.0~a0d2efdc tests: Add "integer/float literal" tests to increase coverage tests: Add missing generics/null-type.c-expected 2021-09-27 Rico Tzschichholz <ricotz@ubuntu.com> vala: Accept NullType as generic type argument 2021-09-25 Rico Tzschichholz <ricotz@ubuntu.com> docs: Add myself to AUTHORS docs: Bump vala version references in README.md build: At least valac 0.16.1 is required 2021-09-22 Rico Tzschichholz <ricotz@ubuntu.com> vala: Multi-dimensional params-array not allowed Fixes https://gitlab.gnome.org/GNOME/vala/issues/1230 2021-09-21 Rico Tzschichholz <ricotz@ubuntu.com> Release 0.54.1 gtk4: Update to 4.5.0~3e20ecd6 gstreamer: Update from 1.19.0+ git master 2021-09-20 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Sealed class in external package is not special Don't falsely generate macros and typedefs leading to conflicts Regression of 7ebb25ffa2226a8a098b8b1ea2cef64d1015b4de Fixes https://gitlab.gnome.org/GNOME/vala/issues/1229 2021-09-18 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Add type declaration for implicit temporary local variable 2021-09-17 Rico Tzschichholz <ricotz@ubuntu.com> Release 0.54.0 2021-09-15 Rico Tzschichholz <ricotz@ubuntu.com> vala: Don't restrict element type of GLib.Array Fixes https://gitlab.gnome.org/GNOME/vala/issues/1227 2021-09-15 Gustav Hartvigsson <gustav.hartvigsson@gmail.com> valadoc: Correctly format background of inline @link's Tested in Firefox, Chromium and Gnome Web. Fixes https://gitlab.gnome.org/GNOME/vala/issues/1226 2021-09-15 Rico Tzschichholz <ricotz@ubuntu.com> tests: Add missing cast-void-not-allowed.c-expected 2021-09-14 Rico Tzschichholz <ricotz@ubuntu.com> vala: Warn about unsupported cast to void and drop it Fixes https://gitlab.gnome.org/GNOME/vala/issues/1070 2021-09-07 Rico Tzschichholz <ricotz@ubuntu.com> gio-2.0: Unhide a few usable symbols which are marked not introspectable Fixes https://gitlab.gnome.org/GNOME/vala/issues/1222 2021-09-04 Rico Tzschichholz <ricotz@ubuntu.com> Release 0.53.2 2021-09-03 Rico Tzschichholz <ricotz@ubuntu.com> vapi: Update GIR-based bindings gtk4: Update to 4.5.0~e681fdd9 gstreamer: Update from 1.19.0+ git master 2021-09-01 Rico Tzschichholz <ricotz@ubuntu.com> glib-2.0: Add RefString since 2.58 Thanks to Jiří Janoušek See https://gitlab.gnome.org/GNOME/vala/issues/666 Fixes https://gitlab.gnome.org/GNOME/vala/issues/723 2021-08-31 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Add missing cast to access base-class members in class/static ctor Regression of 9cbd53b8d79aa4c394ddf49e766f2c15fc476906 Fixes https://gitlab.gnome.org/GNOME/vala/issues/1221 2021-08-30 Rico Tzschichholz <ricotz@ubuntu.com> glib-2.0: Current constants in GLib.Math are part of glib.h Fixes https://gitlab.gnome.org/GNOME/vala/issues/1220 2021-08-30 Princeton Ferro <princetonferro@gmail.com> codegen: Fix property access inside opaque compact class Avoid using "priv" when accessing a private or internal field backing a property of a compact class. 2021-08-28 Rico Tzschichholz <ricotz@ubuntu.com> gtk4: Update to 4.5.0~2db8d7f6 pango: Update to 1.49.0+54e1aed0 gstreamer: Update from 1.19.0+ git master 2021-08-20 Rico Tzschichholz <ricotz@ubuntu.com> Release 0.53.1 2021-08-18 Princeton Ferro <princetonferro@gmail.com> girwriter: Improve struct creation method binding Struct creation methods are supposed to have `void` return type and take an implicit `self` as the first instance parameter. 2021-08-18 Rico Tzschichholz <ricotz@ubuntu.com> webkit2gtk-4.0: Update to 2.33.3 2021-08-17 Rico Tzschichholz <ricotz@ubuntu.com> tests: Add more "null-safe access" tests to increase coverage See https://gitlab.gnome.org/GNOME/vala/issues/1216 Sync NEWS from 0.52 2021-08-14 wxx <769218589@qq.com> vala: Disallow resize() for constant arrays See https://gitlab.gnome.org/GNOME/vala/issues/944 2021-08-14 Ole André Vadla Ravnås <oleavr@gmail.com> gobject-2.0: Fix the Closure.invoke() signature The return value must be initialized by the caller, as is clear from GLib's internal callers, and e.g. dummy_closure_marshal() on the callee side. So it appears the GLib type annotation is incorrect, as it specifies `out` but should be `inout`. 2021-08-10 Rico Tzschichholz <ricotz@ubuntu.com> vapi: Update GIR-based bindings gstreamer: Update from 1.19.0+ git master gtk4: Update to 4.3.2+04f3c805 girwriter: Write missing c:type attribute of compact class record Thanks to Niels De Graef 2021-08-06 Jeremy Philippe <jeremy.philippe@gmail.com> vala: Add support for null-safe access operator This implements support for the "null-safe" operator of C# (also called "safe navigation" operator). var foo = bar?.foo; var foo = bar?.foo(); var foo = bar?[3]; var foo = bar?[1:2]; It applies to plain member access, method calls, element access and slice expressions (including void method calls, which are simply bypassed if the inner expression is null). Fixes https://gitlab.gnome.org/GNOME/vala/issues/522 2021-08-06 Rico Tzschichholz <ricotz@ubuntu.com> Slightly improve source_reference for get_dup_func_expression() 2021-08-05 Rico Tzschichholz <ricotz@ubuntu.com> Add support for sealed classes Fixes https://gitlab.gnome.org/GNOME/vala/issues/278 girparser: Add support for "final" class attribute girwriter: Fix position of "result" parameter for struct constructor Thanks to Princeton Ferro Regenerate GIR-based bindings for improved instance method detection Fixes https://gitlab.gnome.org/GNOME/vala/issues/1210 girparser: Improve instance method detection See https://gitlab.gnome.org/GNOME/vala/issues/1210 girparser: Add "move-to" value of functions as Version.replacement girparser: Never skip "function" elements 2021-07-23 Princeton Ferro <princetonferro@gmail.com> girwriter: Add explicit writable attribute to all field elements This addresses issues with bindings to Vala structs. vala: this_parameter property for subroutines is nullable 2021-07-19 Rico Tzschichholz <ricotz@ubuntu.com> tests: Don't check generated C for conditional glib test 2021-07-17 Rico Tzschichholz <ricotz@ubuntu.com> vala: Rely on DataType.to_qualified_string() implementation for error-types DataType.type_symbol is properly initialized and can be used. Fixes https://gitlab.gnome.org/GNOME/vala/issues/1206 2021-07-16 Rico Tzschichholz <ricotz@ubuntu.com> tests: Add expected generated C sources testrunner: Allow checking generated C sources 2021-07-16 satmandu <satadru@umich.edu> docs: Update bootstrap instructions in README.md 2021-07-15 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Fix params-array in constructor for struct Fixes https://gitlab.gnome.org/GNOME/vala/issues/1202 2021-07-15 Princeton Ferro <princetonferro@gmail.com> glib-2.0: Add Uri.to_string/to_string_partial() (since 2.66) 2021-07-12 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Use detroy_value() for delete statement It is required to deal with special free functions here. Fixes https://gitlab.gnome.org/GNOME/vala/issues/1201 2021-07-11 Rico Tzschichholz <ricotz@ubuntu.com> gio-2.0,glib-2.0: Add new symbols from 2.69.0 2021-07-09 Rico Tzschichholz <ricotz@ubuntu.com> vapi: Update GIR-based bindings gtk4: Update to 4.3.1+6818eee8 webkit2gtk-4.0: Update to 2.33.2 gstreamer: Update from 1.19.0+ git master 2021-07-07 Princeton Ferro <princetonferro@gmail.com> glib-2.0: expected_type and return value of VariantDict.lookup_value() is nullable 2021-06-30 Dr. Michael Lauer <mickey@vanille-media.de> linux: Fix i2c-dev constants This commit enables basic i2c operations (open/read/write/close) from userland. Further i2c / smbus transfer modes are on the way. 2021-06-30 Rico Tzschichholz <ricotz@ubuntu.com> linux: Fix some bindings errors 2021-06-30 Dr. Michael Lauer <mickey@vanille-media.de> linux: Substitute linux/if.h with net/if.h There is an age-old conflict between linux/if.h (the kernel header) and net/if.h (the userland header) that leads to compile errors due to redeclaration of certain network-related structures, see e.g. the following links: - https://bugs.launchpad.net/ubuntu/+source/eglibc/+bug/673073 - https://lists.debian.org/debian-kernel/2017/06/msg00003.html - https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=824442 FWIW, it still seems to be a very current problem which I just stumbled over _again_. By now all the relevant structures should have counterparts in net/if.h, so let's try to just not include the kernel header, but use the userland header instead. 2021-06-30 Dr. Michael Lauer <mickey@vanille-media.de> linux: Add SocketCAN bindings, and ISOTP constants and options 2021-06-28 Rico Tzschichholz <ricotz@ubuntu.com> Recognize multiple valid CCode.gir_namespace/_version attributes in VAPI files Fixes https://gitlab.gnome.org/GNOME/vala/issues/1189 testrunner: Add support for girwriter tests girwriter: Respect GIR.name for constants, errordomains and delegates See https://gitlab.gnome.org/GNOME/vala/issues/1196 2021-06-25 Rico Tzschichholz <ricotz@ubuntu.com> tests/girwriter: Add missing [Flags] annotation 2021-06-24 Michael James Gratton <mike@vee.net> javascriptcoregtk-4.0: Fix JSC.Class.add_property() binding 2021-06-24 Rico Tzschichholz <ricotz@ubuntu.com> build: Use jing to verify generated GIR file, if available girwriter: Use "optional" and "nullable" instead of deprecated "allow-none" Fixes https://gitlab.gnome.org/GNOME/vala/issues/1131 ccode: Avoid trailing space after #else of CCodeIfSection In addition to 994b4cb078643d9bb1842fa60ecb69891e1e7b87 2021-06-23 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Fix variadic constructors for compact classes and structs Fixes https://gitlab.gnome.org/GNOME/vala/issues/1195 2021-06-08 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Implementing GLib.Source.prepare/check is optional since 2.36 2021-06-06 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Allow null to initialize non-null struct inside initializer list Fixes https://gitlab.gnome.org/GNOME/vala/issues/594 2021-06-04 Rico Tzschichholz <ricotz@ubuntu.com> Sync NEWS from 0.52 2021-05-26 Rico Tzschichholz <ricotz@ubuntu.com> glib-2.0: Add missing has_typedef attributes on SourceFuncs delegates gtk+-3.0: Update to 3.24.29+f9fe28ce gtk4: Update to 4.3.0+24f0ae1d pango: Mark language parameter of AttrIterator.get_font() as out webkit2gtk-4.0: Update to 2.33.1 gstreamer: Update from 1.19.0+ git master vala: Parameter following params-array parameter is not allowed Fixes https://gitlab.gnome.org/GNOME/vala/issues/1183 2021-05-22 Ole André Vadla Ravnås <oleavr@gmail.com> codegen: Fix support for public fields on GLib.Source subclasses 2021-05-22 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Factor out compact_class_has_instance_struct_member() 2021-05-21 Ole André Vadla Ravnås <oleavr@gmail.com> gio-2.0: Improve DatagramBased.create_source() binding 2021-05-20 Rico Tzschichholz <ricotz@ubuntu.com> codegen/vala: Improve check for GLib.Source derived classes 2021-05-20 Princeton Ferro <princetonferro@gmail.com> codegen: Introduce VALA_EXPORT for public symbols to improve portability Use it as replacement for "extern" and attribute every public symbol. We want to ensure that public symbols are exported, which isn't the default when generating a shared library in MSVC, for example. 2021-05-20 Princeton Ferro <princetonferro@gmail.com> ccode: Allow appending `#elif`, `#else` cases to CCodeIfSection 2021-05-20 Rico Tzschichholz <ricotz@ubuntu.com> ccode: Allow to add defines in a special section 2021-05-17 Rico Tzschichholz <ricotz@ubuntu.com> build: Add --enable-test-ubsan configure option and "test-ubsan" make target tests: Add "no-reply" DBus test to increase coverage 2021-05-17 Ole André Vadla Ravnås <oleavr@gmail.com> codegen: Skip GDBus reply handling when async callback is NULL To optimize `proxy.method.begin ()` to be a simple fire and forget all the way down to the protocol level. 2021-05-10 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Mark entry point method implementation "_vala_main" as static Thanks to Al Thomas 2021-05-08 Alistair Thomas <astavale@yahoo.co.uk> doc: Update man page to include more information on profiles 2021-05-07 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Don't add errornous cast for unknown type_symbol This causes invalid C code for reference transfer of GenericType. Regression of 7ae2f115a702439bd94bf09867b38019f39d010f Fixes https://gitlab.gnome.org/GNOME/vala/issues/1180 2021-05-04 Rico Tzschichholz <ricotz@ubuntu.com> Add support for variadic delegates There can't be a generated wrapper to mitigate possible differences, therefore the signatures must perfectly match and an explicit cast is required. Fixes https://gitlab.gnome.org/GNOME/vala/issues/160 2021-05-04 Rico Tzschichholz <ricotz@ubuntu.com> gstreamer-rtp-1.0: Move some static functions to matching parent symbols gstreamer-rtp-1.0: Fix some bindings errors Fixes https://gitlab.gnome.org/GNOME/vala/issues/1177 gstreamer-rtp-1.0: Fix typo in re-parenting for RTCP symbols Errornous introduction of Gst.RTPC instead of Gst.RTCP vapi: Update GIR-based bindings build: Add "test-asan" make target for convenience codegen: More use of get_this_{class|interface}_cexpression() codegen: Always use G_TYPE_INSTANCE_GET_CLASS/INTERFACE for external symbols (2) and get_ccode_type_get_function() for SourceFileType.SOURCE symbols. codgen: Generalize CCodeBaseModule.get_this_interface_cexpression() 2021-05-03 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Add CCodeBaseModule.get_this_class_cexpression() and use where possible codegen: Replace wrongly hard coded usage of G_OBJECT_GET_CLASS This is used by plain GTypeInstance classes as well. codegen: Drop unreachable code handling (Un)LockStatements tests: Refactor "fields" test to increase coverage tests: Add "ThreadPool" test to increase coverage 2021-05-03 Corentin Noël <corentin.noel@collabora.com> vala: Add foreach statement support for GLib.GenericArray It is now possible to use foreach with a GLib.GenericArray type 2021-05-03 Rico Tzschichholz <ricotz@ubuntu.com> codegen: GArray, GByteArray and GPtrArray are reference counted 2021-05-02 Rico Tzschichholz <ricotz@ubuntu.com> Sync NEWS from 0.52 2021-04-28 Rico Tzschichholz <ricotz@ubuntu.com> tests: Add "properties in structs" test to increase coverage tests: Extend "array field intializer" test to increase coverage tests: Add "generic array" test to increase coverage tests: Add "delete" test to increase coverage 2021-04-27 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Don't use G_GNUC_INTERNAL on implicit type specific fields The actual field was never handled that way, so don't apply it at all when --hide-internal is passed. Introduced by 970f58989a2863faca11e30fdbcf4da1273a6acd which claimed to apply it to methods only. Fixes https://gitlab.gnome.org/GNOME/vala/issues/1178 2021-04-24 Rico Tzschichholz <ricotz@ubuntu.com> vala: Report a warning for unhandled errors in destructors Fixes https://gitlab.gnome.org/GNOME/vala/issues/1176 codegen: Add missing "_return" label and "_inner_error*_" declaration in dtors 2021-04-20 Rico Tzschichholz <ricotz@ubuntu.com> vala: length-type of arrays must not be nullable (2) 2021-04-19 Rico Tzschichholz <ricotz@ubuntu.com> glib-2.0: Wrap TimeZone.identifier() constuctor for proper error support This allows to handle possible null returned by this constructor. codegen: Emit external creation methods in bindings These must be chained up to an existing constructor of the parent symbol tests: Add more "DBus" tests to increase coverage tests: Add "generics reference transfer" test to increase coverage 2021-04-19 Rico Tzschichholz <ricotz@ubuntu.com> tests: Extend "finally block execution" test to increase coverage In addition to 9f21d0b182edad861f93a91674787b8b3b4fc2c5 See https://bugzilla.gnome.org/show_bug.cgi?id=579101 2021-04-19 Rico Tzschichholz <ricotz@ubuntu.com> codegen: More use of get_variable_cexpression() codegen: Use if-clause for is_in_destructor() condition to be more clear codegen: Unify handling of GenericType arguments/parameters Make TypeParameter a TypeSymbol to resolve functions with attributes codegen: Add get_generic_type_expression() and handle GenericType earlier This unifies the code for GenericType in get_type_id_expression(), get_dup_func_expression() and get_destroy_func_expression(). codegen: Fix access to captured generics in async method of interfaces (2) See https://gitlab.gnome.org/GNOME/vala/issues/537 codegen: Apply gconstpointer to gpointer cast to GenericType only vala: Properly check GLib.Object naming convention for properties 2021-04-16 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Make sure to include <sys/types.h> for ssize_t (POSIX) Fixes 636d63af21bba64df8b5e67c8290126c8fcd95cf with musl 2021-04-15 Rico Tzschichholz <ricotz@ubuntu.com> Support explicit nullable var-type declarations var? foo = "foo"; unowned var? bar = "bar"; Fixes https://gitlab.gnome.org/GNOME/vala/issues/1146 2021-04-15 Rico Tzschichholz <ricotz@ubuntu.com> vapi: Update GIR-based bindings vala: length-type of arrays must not be nullable parser: Include INTERR token in source_reference of parsed types codegen: Use ssize_t for length variables in common array helper functions A signed integer is required, while -1 is allowed as length for arrays codegen: Use ArrayType.length_type in type specific wrappers vapi: Remove gedit-2.20 bindings The bindings are obsolete and unsupported vapi: Remove webkit-1.0 bindings The bindings are obsolete and unsupported parser: Allow empty member-initializer and accept trailing comma parser: Minor semantic checks to improve error messages vala: Refactor UnresolvedSymbol/Type constructors vala: Improve semantic check of simple type structs vala: Add Profile.LIBC as synonym for POSIX and accept "libc" profile Bump version suffix to 0.54 2021-04-12 Rico Tzschichholz <ricotz@ubuntu.com> Release 0.52.2 2021-04-12 Nahuel Gomez Castro <nahual_gomca@outlook.com.ar> glib-2.0: Add simple_generics attribute to GenericArray.find_custom() 2021-04-12 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Don't free unowned heap allocated struct Regression of 63551acaf0d83fac8b50904c2759c1098fbfaa71 2021-04-11 Rico Tzschichholz <ricotz@ubuntu.com> tests: Extend "GArray" tests to increase coverage codegen: Don't free temp-var for element-access to array with boxed structs (2) See https://gitlab.gnome.org/GNOME/vala/issues/1174 2021-04-11 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Don't free temp-var for element-access to array with boxed structs Check the symbol_reference of inner element-access as needed. Regression of 63551acaf0d83fac8b50904c2759c1098fbfaa71 Fixes https://gitlab.gnome.org/GNOME/vala/issues/1174 2021-04-08 Rico Tzschichholz <ricotz@ubuntu.com> Release 0.52.1 tests: Extend "this chainup in compact class" test 2021-04-07 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Don't call *_instance_init() in compact class chainup Found by -fsanitize=address 2021-04-06 Rico Tzschichholz <ricotz@ubuntu.com> libusb: Fix some bindings errors libusb-1.0: Fix some bindings errors x11: Fix some bindings errors zlib: Fix some bindings errors pixman-1: Fix some bindings errors 2021-04-06 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Don't override valid target/destroy of previous lambda argument This does not enable proper support for delegates sharing a data argument, but allows this special case. See https://gitlab.gnome.org/GNOME/vala/issues/59 2021-04-06 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Always use CCodeConstant for NULL codegen: Fix default value of get_ccode_destroy_notify_pos() and make use of it 2021-04-05 Rico Tzschichholz <ricotz@ubuntu.com> javascriptcoregtk-4.0,webkit2gtk-web-extension-4.0: Fix some binding errors girwriter: Don't use instance-parameter inside callback (2) Fixes https://gitlab.gnome.org/GNOME/vala/issues/1167 2021-04-01 Rico Tzschichholz <ricotz@ubuntu.com> girwriter: Don't use instance-parameter inside callback Fixes https://gitlab.gnome.org/GNOME/vala/issues/1167 tests/girwriter: Add tests for implicit parameters in virtual-method/callback codegen: Improve handling of ellipsis parameter in get_ccode_name() 2021-03-31 Rico Tzschichholz <ricotz@ubuntu.com> girwriter: namespace expects "c:symbol-prefixes" attribute In addition to ef9c592dac6ee3a6db39e924de423e23e5f4a4ef See https://gitlab.gnome.org/GNOME/vala/issues/1038 2021-03-31 Rico Tzschichholz <ricotz@ubuntu.com> gio-2.0: Fix TlsPassword.get_value() binding gtk+-3.0: Fix ModuleInitFunc binding rest-0.7: Fix OAuthProxyAuthCallback binding 2021-03-21 Rico Tzschichholz <ricotz@ubuntu.com> parser: Stricter mode for chained member initializer with --keep-going Regression of 86bc23f2d7295ae3b2f5f79449d2c5a4a7a93a58 Fixes https://gitlab.gnome.org/GNOME/vala/issues/1158 2021-03-20 Rico Tzschichholz <ricotz@ubuntu.com> vala: Mark tranformed static member-access as qualified Regression of 1084348f3a6d1113dfc09b3bb5ca6b94a0d812e9 See https://gitlab.gnome.org/GNOME/vala/issues/270 2021-03-20 Rico Tzschichholz <ricotz@ubuntu.com> libvaladoc/girimporter: parse_constant() use "c:identifier" attribute first 2021-03-20 Rico Tzschichholz <ricotz@ubuntu.com> libvaladoc/girimporter: Don't guess length of xml header, iterate forward to <repository> If e.g. the xml header is missing, it resulted in errors like: error: expected start element of `repository' error: unsupported GIR version (null) (supported: 1.2) 2021-03-19 Rico Tzschichholz <ricotz@ubuntu.com> girparser: Don't guess length of xml header, iterate forward to <repository> If e.g. the xml header is missing, it resulted in errors like: error: expected start element of `repository' error: unsupported GIR version (null) (supported: 1.2) 2021-03-17 Akarin <769218589@qq.com> gsl: Add BLAS module Fixes https://gitlab.gnome.org/GNOME/vala/issues/1149 2021-03-17 Rico Tzschichholz <ricotz@ubuntu.com> Release 0.52.0 2021-03-16 Rico Tzschichholz <ricotz@ubuntu.com> vala: Check for unused attributes unconditionally vapi: Fix a couple of attribute typos gio-2.0: Add some missing NoWrapper and CCode.has_typedef attributes girparser: Add support for NoWrapper metadata for methods 2021-03-16 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Include "glib.h" for deprecated symbols (GOBJECT) It is required for G_GNUC_DEPRECATED in declarations of enums, delegates, methods, property accessors and structs. Fixes https://gitlab.gnome.org/GNOME/vala/issues/1155 2021-03-15 Rico Tzschichholz <ricotz@ubuntu.com> gtk4-unix-print: Switch to gir Use a temporary symlink to Gtk-4.0.gir which includes the required symbol defintions. girparser: Handle empty "<type/>" element and report an error gstreamer: Update from 1.19.0+ git master gtk4: Update to 4.1.2 webkit2gtk-4.0: Update to 2.31.91 2021-03-14 Rico Tzschichholz <ricotz@ubuntu.com> build: Add --enable-test-asan configure option List XFAIL tests if address sanatizer is enabled 2021-03-14 Rico Tzschichholz <ricotz@ubuntu.com> linux: Provide Input.Event.input_event_sec/input_event_usec fields Mark Input.Event.time as deprecated See https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit?id=152194fe9c3f Fixes https://gitlab.gnome.org/GNOME/vala/issues/1152 2021-03-14 Rico Tzschichholz <ricotz@ubuntu.com> vala: Improve error for incompatible expressions in conditional expression gsl: Fix more binding errors girparser: Allow overriding of "Compact" attribute for classes gtk4: Add Gtk.INVALID_LIST_POSITION Fixes https://gitlab.gnome.org/GNOME/vala/issues/1151 2021-03-12 Rico Tzschichholz <ricotz@ubuntu.com> gsl: Fix some binding errors gnutls: Fix some binding errors 2021-03-10 Rico Tzschichholz <ricotz@ubuntu.com> Release 0.51.91 vapi: Update GIR-based bindings vala: Replace all type parameter occurances in parameters for signal delegate Improves 36999b5ffd63cc56a8648791b02bf07e7da88077 codegen: Drop inner casts before converting between generics and integers Found by -Wpointer-to-int-cast 2021-03-09 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Don't add generics arguments/parameters to async finish method codegen: Don't ever create null-aware free macro for GenericType tests: Add "string concat" test for POSIX to increase coverage codegen: Fix access to captured generics in async method of interfaces Fixes https://gitlab.gnome.org/GNOME/vala/issues/537 2021-03-09 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Use the one available source_reference for internal error This will at least provide some pointer to where things are going wrong. In addition to 837d593e00d1a3ca8a6f2d13fb1514bed7672965 See https://gitlab.gnome.org/GNOME/vala/issues/436 2021-03-09 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Free intermediate temp-variables of postcondition expression and not clearing "temp_ref_values" caused invalid references later. Fixes https://gitlab.gnome.org/GNOME/vala/issues/80 2021-03-07 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Report error for missing type-arguments of HashTable (de)serialization Fixes https://gitlab.gnome.org/GNOME/vala/issues/1147 vala: Check (optional) type-arguments of array creation expression vala: Check array type of declarations for errornous type-arguments vala: Move type-argument/-parameter count check to DataType.check_type_arguments() gio-2.0: Add some missing type-arguments glib-2.0: Add some missing type-arguments 2021-03-07 Rico Tzschichholz <ricotz@ubuntu.com> vala: Add missing null-check in DataType.get_type_signature() If an instance struct field can not be resolved to a valid type-signature then bail. This fixes criticals like: g_string_insert_len: assertion 'len == 0 || val != NULL' failed 2021-03-06 Rico Tzschichholz <ricotz@ubuntu.com> Release 0.51.90 gdbus: Don't leak memory of deserialized arguments on error in wrapper method Found by -fsanitize=address gtk4: Update to 4.1.1+f8f90d85 vala: Fix ownership inheritance of "unowned var" in foreach statement 2021-03-05 Rico Tzschichholz <ricotz@ubuntu.com> tests: Add more "gir" tests to increase coverage testrunner: Include Gio-2.0/gio-2.0 for GIR tests too Use pre-resolved symbol/type of SemanticAnalyzer if possible codegen: More use of get_ccode_type_name() 2021-03-05 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Inherit GType from base struct of SimpleType structs GValue functions and marshaller type are inherited from base structs already. This avoids invalid C code which referenced an unavailable GType. 2021-03-04 Rico Tzschichholz <ricotz@ubuntu.com> tests: Add more "gir" tests to increase coverage Regenerate GIR-based bindings to pick up missing class methods girparser: Evaluate "glib:type-struct" twice to pick up reparented structs codegen: "_first_array" parameter for params-array is variadic too Not following this resulted in mismatching signature assumptions between caller and callee if the callable throws an error. 2021-03-03 Rico Tzschichholz <ricotz@ubuntu.com> tests: Extend "pre-post increment" test to increase coverage tests: Add "target-glib=auto" tests to increase coverage tests: Add some tests to increase coverage vala: Fix build with valac < 0.44 vala: Report warning if --target-glib=auto was not evaluated successfully and don't try to process the valid "auto" string any further. codegen: More use of get_ccode_type_name() Regenerate GIR-based bindings to pick up missing type_cname attributes girparser: Reuse populated Node.gtype_struct_for instead of resolving again This fixes the discovery of non-default type_cname for re-parented symbols. 2021-02-27 Rico Tzschichholz <ricotz@ubuntu.com> Release 0.51.3 vapi: Update GIR-based bindings glib-2.0: Add new symbols from 2.68 webkit2gtk-4.0: Update to 2.31.90 tests: Add some "unary expressions" tests to increase coverage 2021-02-27 Rico Tzschichholz <ricotz@ubuntu.com> vala: Report error for invalid inner operand of unary expressions This fixes criticals like: vala_unary_expression_is_integer_type: assertion 'type != NULL' failed 2021-02-27 Rico Tzschichholz <ricotz@ubuntu.com> vala: Set proper source_reference for implicit "this" and "result" variables tests: Add more "unsupported creation method" tests to increase coverage 2021-02-26 Rico Tzschichholz <ricotz@ubuntu.com> vala: Include "stdlib.h" for Enum.to_string() (POSIX) Fixes https://gitlab.gnome.org/GNOME/vala/issues/1143 codegen: Include "string.h" for strcmp() (POSIX) vala: Improve context check whether property is writeable on assignments 2021-02-24 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Don't wrongly emit declaration for default-handler of signals This is done in GTypeModule.generate_interface_declaration() 2021-02-22 Rico Tzschichholz <ricotz@ubuntu.com> vapi: Update GIR-based bindings 2021-02-21 Rico Tzschichholz <ricotz@ubuntu.com> tests: Add more "girparser" tests to increase coverage vala: Don't allow "in" operation with different enum types Fixes https://gitlab.gnome.org/GNOME/vala/issues/1139 vala: Infer needle type for "in" expression on enum Fixes https://gitlab.gnome.org/GNOME/vala/issues/1138 2021-02-20 Rico Tzschichholz <ricotz@ubuntu.com> tests/girwriter: Increase coverage girwriter: Output default handler of signals 2021-02-19 Rico Tzschichholz <ricotz@ubuntu.com> codegen: CCodeBaseModule.get_type_id_expression () won't return null vala: Generics value holding struct pointer requires casting on access Fixes https://gitlab.gnome.org/GNOME/vala/issues/347 codegen: Don't use volatile modifier in glib API when targetting >= 2.68 See https://gitlab.gnome.org/GNOME/glib/merge_requests/1719 2021-02-18 Rico Tzschichholz <ricotz@ubuntu.com> Release 0.51.2 2021-02-16 Rico Tzschichholz <ricotz@ubuntu.com> vala: Properly parse and handle chained initialization of members Make MemberInitializer an Expression, so it is possible to descibe nested/chained member initializers in the AST. Fixes https://gitlab.gnome.org/GNOME/vala/issues/1137 2021-02-16 Rico Tzschichholz <ricotz@ubuntu.com> vala: Move SemanticAnalyzer.vist_member_initializer() to MemberInitializer vala: Simplify Expression.parent_statement codegen: Report error for unsupported symbol_reference of MemberInitializer vala: Capturing va_list parameters/variables is not allowed Fixes https://gitlab.gnome.org/GNOME/vala/issues/1136 codewriter: Don't write trailing ";" after body of WithStatement codewriter: Output valid vala syntax for LoopStatement 2021-02-15 Rico Tzschichholz <ricotz@ubuntu.com> vapi: Update GIR-based bindings gstreamer: Update from 1.19.0+ git master 2021-02-13 Rico Tzschichholz <ricotz@ubuntu.com> vala: Include type-checks in preconditions of methods for type narrowing See https://gitlab.gnome.org/GNOME/vala/issues/894 vala: Check type-arguments in base-types/prerequisites of class/interface Fixes https://gitlab.gnome.org/GNOME/vala/issues/404 2021-02-12 Rico Tzschichholz <ricotz@ubuntu.com> Release 0.51.1 2021-02-08 Rico Tzschichholz <ricotz@ubuntu.com> sdl2: Fix a couple of binding errors and attribute issues codegen: Include <string.h> for memcpy usage in _vala_memdup2() 2021-02-07 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Strip all nested occurances of CCodeCastExpression Triggered by 63551acaf0d83fac8b50904c2759c1098fbfaa71 See https://gitlab.gnome.org/GNOME/vala/issues/1134 2021-02-07 Rico Tzschichholz <ricotz@ubuntu.com> build: Ease source for AC_LANG_SOURCE of CGRAPH check libvaladoc: Add wrapper for "agedge" of graphviz 2021-02-07 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Correctly retrieve symbol_reference of nested cast expressions Regression of 63551acaf0d83fac8b50904c2759c1098fbfaa71 Fixes https://gitlab.gnome.org/GNOME/vala/issues/1134 2021-02-06 Rico Tzschichholz <ricotz@ubuntu.com> vapi: Add libunwind-generic binding gio-2.0: Update to 2.67.3 gtk4: Update to 4.1.0+2712f536 gstreamer: Update from 1.19.0+ git master 2021-02-05 Rico Tzschichholz <ricotz@ubuntu.com> gee: Replace Memory.dup() with GLib.malloc() and Memory.copy() gstreamer-1.0: Set CCode.type_id of MiniObject to G_TYPE_BOXED Fixed https://gitlab.gnome.org/GNOME/vala/issues/1133 2021-02-04 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Replace "g_memdup" with "_vala_memdup2" for target glib < 2.68 "_vala_memdup2" is a copy of "g_memdup2" available in glib >= 2.68 glib-2.0: Add new symbols from 2.68 codegen: Use g_memdup2 if target glib >= 2.68 is set See https://gitlab.gnome.org/GNOME/glib/issues/2319 testrunner: Add "-Werror=return-stack-address" flag 2021-02-04 Rico Tzschichholz <ricotz@ubuntu.com> vala: Add Block.unreachable_exit and have it set accordingly by FlowAnalyzer Use this control flow information in codegen rather than doing an educated guess based on occurring ReturnStatement nodes. See https://gitlab.gnome.org/GNOME/vala/issues/838 2021-02-04 Rico Tzschichholz <ricotz@ubuntu.com> tests: Don't leak array if length is -1 Found by -fsanitize=address codegen: Chain up to base struct destroy function Found by -fsanitize=address 2021-02-03 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Don't leak memory moving heap-allocated struct to stack Found by -fsanitize=address codegen: Use temp_ref_values list instead of patching the AST Simplyfies 5328619a8141aa11341d479428ebfdcec0ff9756 codegen: Don't leak GLib.Value when implicitly unboxing it Found by -fsanitize=address vala: Don't allow GLib.Value casting to nullable struct/simple types vala: GLib.Value unboxing returns unowned value codegen: Use g_boxed_free in free-wrapper for heap-allocated GLib.Value dup-wrapper is specifically using g_boxed_copy already 2021-02-02 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Don't leak array memory after it was implicitly copied Found by -fsanitize=address 2021-02-01 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Improve handling of recursive DelegateType Move dedicated test case into a separate file codegen: Make sure types of implicit delegate parameters are declared codegen: Use CCodeDeclaratorSuffix to emit array length of constants ccode: Minor API cleaning and additions vala: Rename Loop to LoopStatement and introduce a common base class codegen: Also check array type of variable argument for ref parameters codegen: Add get_ccode_no_wrapper() and use it 2021-01-31 Rico Tzschichholz <ricotz@ubuntu.com> girparser: Set CCode.type_cname for classes if it doesn't match our default tests/girwriter: Add tests for async methods attributed with NoWrapper codegen: Don't emit invoker for async methods attributed with NoWrapper libxml-2.0: Fix a few binding errors fuse: Fix a few binding errors 2021-01-30 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Always use G_TYPE_INSTANCE_GET_CLASS/INTERFACE for external symbols and get_ccode_type_get_function() for SourceFileType.SOURCE symbols. codegen: Handle NoWrapper attribute of async methods on caller side codegen: Allow CCode.type_cname for classes and use get_ccode_type_name() girparser: Apply "type_get_function" metadata for classes and inferfaces codegen: Add CCode.type_get_function and get_ccode_type_get_function() Allow to overide the macro name, and join get_ccode_class_get_function () and get_ccode_interface_get_function(). gtk+-2.0,javascriptcoregtk-4.0: Wrong usage of CCode.type_cname attribute girwriter: Don't emit invoker for methods attributed with NoWrapper codegen: Don't emit invoker for methods attributed with NoWrapper codegen: Handle NoWrapper attribute of interface methods on caller side vala: NoWrapper methods must be declared abstract or virtual gio-2.0: Pick up missing invoker for some AppInfo/File.*() methods gdk-pixbuf-2.0: Fix Pixbuf.save_to_streamv_async() gobject-2.0: Fix a few binding errors gdk-3.0,gdk-x11-3.0,gtk+-3.0,gtk4: Fix a few binding errors 2021-01-28 Rico Tzschichholz <ricotz@ubuntu.com> Add further support for params arrays in constructors In addition to 98ab3da89640b8b8a6c67044b4df1194672774bb See https://gitlab.gnome.org/GNOME/vala/issues/128 2021-01-27 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Improve support of SimpleType struct constructors Additionally stop generating broken and superfluous dup/free functions, and don't create not used GType declarations. vala: Don't allow disposable SimpleType structs gstreamer-1.0: Fix a few binding errors posix: Fix a few binding errors libgvc: Fix a few binding errors sqlite3: Fix a few binding errors bzlib: Fix a few binding errors alsa: Fix a few binding errors curses: Fix a few binding errors 2021-01-26 Rico Tzschichholz <ricotz@ubuntu.com> girparser: Apply "destroy_notify_cname" metadata for fields vala: Add CallableExpression interface for MethodCall/ObjectCreationExpression goocanvas-2.0: Fix some field types pango: Fix a few binding errors gobject-2.0: Fix a few binding errors gio-2.0,gtk+-3.0,gtk4: Drop explicit c-type attributes of va_list parameters gio-2.0: Fix binding of PollableOutputStream.write*_nonblocking() cairo: Fix some ctor binding errors 2021-01-25 Rico Tzschichholz <ricotz@ubuntu.com> cairo: Fix a few binding errors gtk+-3.0,gtk4: Fix some delegate return values and parameters girparser: Apply "delegate_target" metadata for methods and parameters vala: Don't prepend "unowned" in VarType and leave that to the CodeWriter codewriter: Append new-line for nested block statements 2021-01-23 Rico Tzschichholz <ricotz@ubuntu.com> vala: Apply stricter condition for lambda to delegate assignment This moves an internal codegen error to the semantic-analyzer. codegen: Clean up expression casts in CCodeAssignmentModule.visit_assignment() 2021-01-22 Ole André Vadla Ravnås <oleavr@gmail.com> vala: Avoid critical when trying to use symbol_reference of ElementAccess Regression of 6e7be51cb5455e9c5c721d4ba5121a6ab04673dd 2021-01-21 Rico Tzschichholz <ricotz@ubuntu.com> tests: Add more "parser" tests to increase coverage 2021-01-20 Rico Tzschichholz <ricotz@ubuntu.com> vala: Improve prototype-string of CallableType Update THANKS from git log 2021-01-20 Rico Tzschichholz <ricotz@ubuntu.com> valadoc: Replace png icons with elementary's svg version These match what was introduced by 8af8158c106eaafe12a628514f74e5788274d8d2 The icons were written by Daniel Foré for valadoc.org. They were taken from https://github.com/Valadoc/valadoc-org 2021-01-20 Rico Tzschichholz <ricotz@ubuntu.com> vapi: Update GIR-based bindings gstreamer: Update from 1.19.0+ git master gtk4: Update to 4.0.2 2021-01-19 Rico Tzschichholz <ricotz@ubuntu.com> girparser: Discover our very own array length fields vala: Make Class.is_compat/is_immutable/is_singleton read-only libvaladoc: Correctly retrieve value for Api.Class.is_compact 2021-01-19 Simon Werbeck <simon.werbeck@gmail.com> Add support for 'opaque' compact classes This change intruduces a new attribute switch [Compact (opaque = true)] which allows to completely hide the implementation of a compact class. This is especially useful for libraries when maintaining a stable abi. An 'opaque' compact class exposes no struct definition in the generated c header, only a typedef is provided. As such, certain requirements apply for members of such classes: - Access to instance fields must be either private or internal. - No abstract/virtual methods or properties are allowed. Fixes https://gitlab.gnome.org/GNOME/vala/issues/1129 2021-01-18 Rico Tzschichholz <ricotz@ubuntu.com> girwriter: Write instance-parameter elements Fixes https://gitlab.gnome.org/GNOME/vala/issues/1128 tests: Extend "girparser" test and use vapigen to parse generated gir vala: Let method representing property accessor inherit GIR.visible attribute vala: Set this_parameter of method representing property accessor 2021-01-17 Rico Tzschichholz <ricotz@ubuntu.com> tests: Add more invalid "GtkTemplate" tests to increase coverage 2021-01-17 Rico Tzschichholz <ricotz@ubuntu.com> vala: Don't allow assigning GtkChild fields/properties These are handled exclusively by GtkBuilder See https://gitlab.gnome.org/GNOME/vala/issues/1121 2021-01-16 Rico Tzschichholz <ricotz@ubuntu.com> vala: GtkChild fields/properties must be declared as unowned The backing field won't be assigned to hold a dedicated reference. gtk_widget_class_bind_template_child_full will make it point to the instance owned by GtkBuilder. This avoids doing a rogue (but safe) call of _g_object_unref0 on already disposed child. Fixes https://gitlab.gnome.org/GNOME/vala/issues/1121 2021-01-15 Rico Tzschichholz <ricotz@ubuntu.com> libvaladoc/html: Don't sort struct fields to keep their original order This follows their special handling done in Codewriter.visit_struct(). In addition to a336d75586acb534aff55ca86425eb8f3aa45de4 2021-01-15 Reuben Thomas <rrt@sc3d.org> libvaladoc: Fix typos copyright year 2021-01-14 Reuben Thomas <rrt@sc3d.org> glib-2.0: Improve type of OptionEntry.flags field 2021-01-14 Rico Tzschichholz <ricotz@ubuntu.com> Regenerate GIR-based bindings gdk-pixbuf-2.0: Update to 2.42.3~ 2021-01-14 Rico Tzschichholz <ricotz@ubuntu.com> girparser: Minor improvement to field getter detection Allow DataType.compatible() to be called without initialized SemanticAnalyzer Additionally report a warning if field collides with method 2021-01-14 Rico Tzschichholz <ricotz@ubuntu.com> girparser: Handle anonymous delegate not backed by virtual-method or signal 2021-01-12 Rico Tzschichholz <ricotz@ubuntu.com> webkit2gtk-4.0: Update to 2.31.1 vala: Improve detection of duplicate package source files 2021-01-11 Rico Tzschichholz <ricotz@ubuntu.com> Sync NEWS from 0.50 2021-01-09 Rico Tzschichholz <ricotz@ubuntu.com> gio-2.0: Update to 2.67.2+46097e9b gtk4: Update to 4.0.1 2021-01-06 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Fix assignment of casted struct value to property Usage of address-of operator requires lvalue access. Therefore use a temporary variable to be passed to property setter. Fixes https://gitlab.gnome.org/GNOME/vala/issues/1126 2021-01-04 Rico Tzschichholz <ricotz@ubuntu.com> vapi: Update GIR-based bindings gstreamer: Update from 1.19.0+ git master 2021-01-03 Rico Tzschichholz <ricotz@ubuntu.com> gio-2.0: Update to 2.67.1+2bd86268 gobject-2.0: Add new symbols from 2.68 glib-2.0: Add new symbols from 2.68 2021-01-02 Rico Tzschichholz <ricotz@ubuntu.com> tests: Add "string switch" test to increase coverage 2021-01-01 Rico Tzschichholz <ricotz@ubuntu.com> tests: Add more "array field initializer" tests to increase coverage codegen: Don't leak memory on internal value comparison of property setter 2020-12-31 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Don't leak memory of already assigned out-parameter on error Fixes https://gitlab.gnome.org/GNOME/vala/issues/1123 2020-12-30 Rico Tzschichholz <ricotz@ubuntu.com> glib-2.0: Make PtrArray a subclass of GenericArray 2020-12-30 Simon Werbeck <simon.werbeck@gmail.com> codegen: Support chain up to simple generics constructor This allows subclassing bindings like GLib.HashTable and GLib.Sequence that require implicit DestroyNotify parameters to chain up. Fixes https://gitlab.gnome.org/GNOME/vala/issues/342 2020-12-30 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Clean up handling of type parameters in generate_cparameters() codegen: Drop superfluous "method_has_wrapper" helper codegen: Use CCodeInvalidExpression instead of place holders tests: Add "array creation" tests to increase coverage 2020-12-29 Mario Daniel Ruiz Saavedra <desiderantes93@gmail.com> SDL2_image: Add save functions Add save functions for JPG and PNG formats. 2020-12-29 Chris White <cxwembedded@gmail.com> gstreamer-1.0: Fix direction of Gst.Iterator.fold() ret parameter See https://gitlab.gnome.org/GNOME/vala/issues/1014 2020-12-28 Rico Tzschichholz <ricotz@ubuntu.com> gtk4: Update to 4.0.0+0fcf01dd vala: Ownership transfer of inline-allocated array is not allowed Fixes https://gitlab.gnome.org/GNOME/vala/issues/931 2020-12-22 Rico Tzschichholz <ricotz@ubuntu.com> gtk4: Don't rename binding for gtk_css_provider_load_from_data Fixes https://gitlab.gnome.org/GNOME/vala/issues/1117 2020-12-22 Ulrich Küttler <kuettler@gmail.com> vala: SliceExpression need to return heap-allocated or unowned references Fixes https://gitlab.gnome.org/GNOME/vala/issues/1120 2020-12-21 Rico Tzschichholz <ricotz@ubuntu.com> vala: value_type of PointerIndirection expressions must not be owned A member-access making the wrong assumption of a previous copy resulted in a double free. Fixes https://gitlab.gnome.org/GNOME/vala/issues/1118 2020-12-21 Rico Tzschichholz <ricotz@ubuntu.com> codewriter: Wrap AddressofExpression and PointerIndirection in parens vala: Add missing TraverseVisitor.visit_addressof_expression() vala: Use common visitor schema for PointerIndirection expressions Not doing so breaks assumptions of the CodeWriter leading to a mangled output. 2020-12-17 Mario Daniel Ruiz Saavedra <desiderantes93@gmail.com> SDL2_ttf: Add some missing methods for the Font class Migrate existing methods to use GLib types instead of arrays (string16, unichar, unichar2) and fix some code style issues. 2020-12-16 Rico Tzschichholz <ricotz@ubuntu.com> gtk4: Update to 4.0 2020-12-11 Rico Tzschichholz <ricotz@ubuntu.com> webkit2gtk-4.0: Update to 2.30.3 gstreamer: Update from 1.19.0+ git master gtk4: Update to 3.99.5.1+2d3a3986 2020-12-10 Chris White <cxwembedded@gmail.com> gstreamer-1.0: Fix direction of GLib.Value typed parameters Use `out` for functions that take an uninitialized GLib.Value. Use `ref` for functions that take a GLib.Value initialized with a particular type. Remove unused Gst.ControlBindingConvert Note that the destination is nullable, but not expressly marked as such, in gst_value_intersect, gst_value_subtract and gst_message_parse_property_notify. Fixes https://gitlab.gnome.org/GNOME/vala/issues/1014 2020-12-09 Reuben Thomas <rrt@sc3d.org> vapi: Add enchant-2 bindings for Enchant 2.x 2020-12-03 Rico Tzschichholz <ricotz@ubuntu.com> vala: Report an error if gio-2.0 is missing for DBus support 2020-12-02 Christopher White <cwhite@d3engineering.com> glib-2.0: Bind assert_cmp* functions Add assert_cmpstr, assert_cmpint, assert_cmpuint, assert_cmphex, assert_cmpfloat, assert_cmpfloat_with_epsilon and assert_cmpvariant. Add enum GLib.CompareOperator which defines the supported operators. "g_assert_cmpint(foo,==,1)" translates to "assert_cmpint(foo, EQ, 1)" Based on patch by Luca Bruno Fixes https://gitlab.gnome.org/GNOME/vala/issues/395 2020-12-02 Reuben Thomas <rrt@sc3d.org> vapi: Add gnu.vapi with binding for getopt_long() and some other GNU APIs 2020-11-28 Rico Tzschichholz <ricotz@ubuntu.com> gtk4: Use correct cheader_include for wayland/x11 gdk backend Fixes https://gitlab.gnome.org/GNOME/vala/issues/1112 2020-11-25 Rico Tzschichholz <ricotz@ubuntu.com> glib-2.0: Add GLib.[S]List.is_empty() convenience methods for non-null 2020-11-19 Rico Tzschichholz <ricotz@ubuntu.com> Sync NEWS from 0.50 manual: Update from wiki.gnome.org gio-2.0: Update to 2.67.0+6e9ed964 gstreamer: Update from 1.19.0+ git master gtk4: Update to 3.99.4+7551f85d 2020-11-15 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Apply CCodeModifiers.PRINTF to "string_printf" (POSIX) Found by clang with "posix/string-printf" test ccode: Use __attribute__ replacements of G_GNUC_* for posix profile 2020-11-14 Rico Tzschichholz <ricotz@ubuntu.com> tests: Add "translated string constant" test to increase coverage tests: Add "constructor with inner error" test to increase coverage tests: Add string.printf() test to increase coverage tests: Add more "delegate" tests to increase coverage codegen: Drop obsolete dedicated handling of property value-parameter Revert errornous git push This reverts commit 9319f309dd97532a3174de995a83884739d70460. This reverts commit 9ccdd25eaf0c57ac0cb18380b81d76a9d7113f7f. This reverts commit 6689c356dade08a0d04a4d6f3add15a71125e925. This reverts commit 4f560d0bb2753bed14b2f0688f2d3e686a39d6ca. DEBUG vala: More copying of dedicated data-type instances for code-nodes vala: Require a valid DataType instance for every TargetValue codegen: Use Expression.target_type/value_type in visit_cast_expression() CastExpression.type_reference is meant to hold the actual target type. codegen: Improve GValueModule.visit_cast_expression() Re-use the result of the GValue-getter invocation vala: Properly restore SemanticAnalyzer.current_symbol to its original value vala: Make sure parent_symbol for special async parameters is available vala: Cache async parameter lists of coroutine methods 2020-11-14 Arne Hoch <derhoch@gmail.com> linux: Add missing struct in cname for Spi.IocTransfer There is no typedef, so "struct spi_ioc_transfer" needs to be used. 2020-11-11 Rico Tzschichholz <ricotz@ubuntu.com> vapigen: Avoid superfluous cast 2020-11-11 Rico Tzschichholz <ricotz@ubuntu.com> vala: Add support for type narrowing This causes type of given variable to be narrowed for the correspoding child block of an if-statement. Foo foo = ...; if (foo is Bar) { // foo represents a non-null Bar instance inside this block } This makes conditional-expressions behaving similar. ... = (foo is Bar) ? "foo is instance of Bar here" : "..."; Fixes https://gitlab.gnome.org/GNOME/vala/issues/894 2020-11-10 Reuben Thomas <rrt@sc3d.org> posix: Add POSIX, GNU and BSD Regex APIs The POSIX and GNU APIs are closely related in GNU’s implementation, so it makes sense to put them here. GNU regex also provides the old BSD APIs, which are just a couple of function calls, so provide them too. posix: Add freopen binding, as FILE.reopen() 2020-11-10 Rico Tzschichholz <ricotz@ubuntu.com> glib-2.0: Improve GenericArray.length property 2020-11-10 Corentin Noël <corentin@elementary.io> codegen: Report internal error for unsupported collection type in foreach 2020-11-10 Rico Tzschichholz <ricotz@ubuntu.com> vala: Accept "unowned var" as type for foreach variable declaration In addition to 39331e235f1183223c8ea685e3501ab4ca932c8f See https://gitlab.gnome.org/GNOME/vala/issues/152 2020-11-10 Rico Tzschichholz <ricotz@ubuntu.com> vala: Avoid taking extra reference of foreach collection for index iteration 2020-11-07 Rico Tzschichholz <ricotz@ubuntu.com> gstreamer: Update from 1.19.0+ git master 2020-11-06 Rico Tzschichholz <ricotz@ubuntu.com> gtk4: Update to 3.99.4+0d82faa2 2020-11-05 Rico Tzschichholz <ricotz@ubuntu.com> girwriter: Infer gir_namespace/version from target GIR filename See https://gitlab.gnome.org/GNOME/vala/issues/606 Perform runtime version check of libvala Fixes https://gitlab.gnome.org/GNOME/vala/issues/88 tests: Actually export PKG_CONFIG_PATH and LD_LIBRARY_PATH in tests extra 2020-11-05 Corentin Noël <corentin@elementary.io> glib-2.0: Add GenericArray.find_custom() as variant of find_with_equal_func() This allows the needle to be a different type as the actual element type. The implementation of ArraySearchFunc<G,T> is more customizable this way. 2020-11-05 Reuben Thomas <rrt@sc3d.org> testrunner: A lot of simplifications tests: Use Automake’s parallel test driver to speed up running tests Fixes https://gitlab.gnome.org/GNOME/vala/issues/1094 2020-11-02 Rico Tzschichholz <ricotz@ubuntu.com> vala: Use DataType.compatible() to check for string concatenation Make the checks match the ones performed by the code-generator to prevent invalid c-code to be created. See https://gitlab.gnome.org/GNOME/vala/issues/1100 2020-10-28 Mario Daniel Ruiz Saavedra <desiderantes93@gmail.com> vapi: Add SDL 2.x bindings Fixes https://gitlab.gnome.org/GNOME/vala/issues/1032 vapi: Remove SDL 1.x bindings See https://gitlab.gnome.org/GNOME/vala/issues/1032 2020-10-27 Rico Tzschichholz <ricotz@ubuntu.com> valadoc: Correctly set verbose flag on CodeContext libvaladoc/girimporter: Skip "docsection" elements in <namespace> See https://gitlab.gnome.org/GNOME/gobject-introspection/-/merge_requests/226 2020-10-26 Rico Tzschichholz <ricotz@ubuntu.com> vala: Make use of new printf-like API of Report.*() codegen: Make use of new printf-like API of Report.*() vala: Convert Report.*() to real printf-like functions This simplifies code on the caller side. valadoc: Refactor setup of main runtime 2020-10-25 Rico Tzschichholz <ricotz@ubuntu.com> curses: Correctly use [PrintfFormat] attribute 2020-10-25 Rico Tzschichholz <ricotz@ubuntu.com> valadoc: Don't call CodeContext.pop() on empty stack Otherwise this results in an expected assertion. Fixes https://gitlab.gnome.org/GNOME/vala/issues/1064 2020-10-24 Rico Tzschichholz <ricotz@ubuntu.com> vala: CodeNode.source_reference is optional, so let the API respect that 2020-10-23 Jeremy Philippe <jeremy.philippe@gmail.com> codegen: More use of delegate_target_type and delegate_target_destroy_type (2) 2020-10-22 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Update outdated array _size_ variable of captured local-variable Fixes https://gitlab.gnome.org/GNOME/vala/issues/1090 gtkmodule: Support "binding" to bind GtkCallback to class of given property Fixes https://gitlab.gnome.org/GNOME/vala/issues/1093 2020-10-21 Reuben Thomas <rrt@sc3d.org> curses: Add Terminfo API set, function keycodes F(n) and minor changes Some terminfo-related API were already bound (mvcur, vidattr, vidputs); move these all together, and add missing symbols (all from term.h). Bind the “F(n)” macro for function key codes. Annotate VidputsPutcFunc for correct C generation. Add attribute A_ITALIC (ncurses extension). curses: Remove initial “w” from some Window method names for consistency 2020-10-21 Reuben Thomas <rrt@sc3d.org> glib-2.0: Add return codes to FileStream.putc/puts(), like posix The corresponding C functions return a status code; make the GLib types the same as the Posix types. This gives these functions the correct type signature for use where a putc-like function is required. 2020-10-21 Rico Tzschichholz <ricotz@ubuntu.com> alsa: Fix PcmDevice.set_poll_descriptors_revents() binding Fixes https://gitlab.gnome.org/GNOME/vala/issues/1092 gtk4: Update to 3.99.3+8880e3bd Fixes https://gitlab.gnome.org/GNOME/vala/issues/1089 vala: Allow markup-reader to accept spaces around '=' of attribute assignment 2020-10-20 Rico Tzschichholz <ricotz@ubuntu.com> gio-2.0: Fix binding of Resolver.lookup_service*() 2020-10-19 Rico Tzschichholz <ricotz@ubuntu.com> vapi: Update GIR-based bindings gstreamer: Update from 1.19.0+ git master gtk4: Update to 3.99.3+25a1c421 libvaladoc: Don't filter-out generic type-parameters of delegates 2020-10-18 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Don't use inferred type for temp-value to access generic property Fixes https://gitlab.gnome.org/GNOME/vala/issues/1088 2020-10-15 Reuben Thomas <rrt@sc3d.org> doc/vala-gen-introspect.1: fix a typo 2020-10-15 Rico Tzschichholz <ricotz@ubuntu.com> testrunner: Add "-Werror=return-local-addr" flag posix: Declare fstat, stat, lstat and fstatat as public Fixes https://gitlab.gnome.org/GNOME/vala/issues/1086 2020-10-12 Rico Tzschichholz <ricotz@ubuntu.com> rest-0.7: Fix ParamsIter.next() binding Thanks to Rasmus Thomsen 2020-10-07 Jeremy Philippe <jeremy.philippe@gmail.com> codegen: Reduce get_delegate_target/get_delegate_target_destroy_notify calls codegen: More use of delegate_target_type and delegate_target_destroy_type 2020-10-06 Rico Tzschichholz <ricotz@ubuntu.com> glib-2.0: Fix return-type of Uri.parse_params() binding 2020-10-05 Rico Tzschichholz <ricotz@ubuntu.com> gtk4: Update to 3.99.2+2b036744 2020-10-03 Rico Tzschichholz <ricotz@ubuntu.com> gtk4: Attribute Gsk.ShaderArgsBuilder.free_to_args with DestroysInstance gtk4: Update to 3.99.2+949f22b8 2020-09-30 Rico Tzschichholz <ricotz@ubuntu.com> vala: Issue an error on void initializer for local-variable 2020-09-29 Rico Tzschichholz <ricotz@ubuntu.com> Don't use broken and unsupported cast expression as statement Bump version suffix to 0.52 2020-09-28 Rico Tzschichholz <ricotz@ubuntu.com> Release 0.50.1 libvaladoc: Fix a couple of C compiler warnings g-i: Fix a couple of C compiler warnings vapi: Update GIR-based bindings gstreamer: Update from 1.19.0+ git master gtk4: Update to 3.99.1+15b635d7 testrunner: Filter external -0X flags to preserve current default -O0 2020-09-27 Rico Tzschichholz <ricotz@ubuntu.com> build: Stop passing obsolete --use-header testrunner: Pass --enable-checking to increase coverage codegen: Don't pass CCodeFunctionCall to NULL-aware free macro This resulted in invalid C code: error: lvalue required as left operand of assignment 2020-09-27 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Don't falsly use g_return_val_if_fail() for async creation method Asynchronous creation methods are represented by 5 functions, "*_new", "*_new_finish", "*_construct", "*_construct_co" and "*_construct_finish". The argument checks are emitted in "*_construct" which is a void function and cannot return any value. Regression of 43f3e2ca534d082433fbe62aa347b7af443f9f33 Fixes https://gitlab.gnome.org/GNOME/vala/issues/1077 2020-09-27 Nick Schrader <nick.schrader@mailbox.org> vala: Recognize previously inserted implicit access to with-variable Replaces b2746b9c3a2edc17ae7d27b30123fe0aeec52f82 Fixes https://gitlab.gnome.org/GNOME/vala/issues/1043 2020-09-27 Nick Schrader <nick.schrader@mailbox.org> vala: Prioritize the usage of an existing with-variable instance 2020-09-22 Rico Tzschichholz <ricotz@ubuntu.com> webkit2gtk-4.0: Update to 2.30.1 gtk4: Update to 3.99.1+ee75bae8 2020-09-18 Rico Tzschichholz <ricotz@ubuntu.com> parser: Allow to begin expression with statement keyword Fixes https://gitlab.gnome.org/GNOME/vala/issues/1073 2020-09-17 Rico Tzschichholz <ricotz@ubuntu.com> vala: Improve parsing of with-statement and allow it as embedded statement gtk4: Update to 3.99.1+35c3a60c 2020-09-12 Rico Tzschichholz <ricotz@ubuntu.com> gtk4: Update to 3.99.1+9afdb41b 2020-09-12 Rico Tzschichholz <ricotz@ubuntu.com> gtk4: Don't skip LayoutManager.create_layout_child() It is marked as not introspectable for some reason. Fixes https://gitlab.gnome.org/GNOME/vala/issues/1071 2020-09-10 Rico Tzschichholz <ricotz@ubuntu.com> Release 0.50.0 vapi: Update GIR-based bindings gstreamer: Update from 1.18.0+ git master poppler-glib: Update to 20.09.0 2020-09-07 Rico Tzschichholz <ricotz@ubuntu.com> codegen: The actual struct size is required for calloc (POSIX) Found by -Werror=array-bounds on ppc64el with gcc 10.2 and musl 1.2 basic_types_arrays.c:1268:2: error: 'memcpy' forming offset [8, 23] is out of the bounds [0, 8] [-Werror=array-bounds] 1268 | memcpy (dup, self, sizeof (Foo)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Fixes https://gitlab.gnome.org/GNOME/vala/issues/1068 2020-09-04 Rico Tzschichholz <ricotz@ubuntu.com> Release 0.49.92 2020-09-02 Rico Tzschichholz <ricotz@ubuntu.com> gtk4: Update to 3.99.0+6c9fe63a 2020-09-02 Rico Tzschichholz <ricotz@ubuntu.com> Don't use locale dependent string functions on syntax strings Replace usage of string.down() with string.ascii_down(), and string.up() with string.ascii_up() Fixes https://gitlab.gnome.org/GNOME/vala/issues/1067 2020-08-29 Rico Tzschichholz <ricotz@ubuntu.com> vapi: Update GIR-based bindings gtk4: Update to 3.99.0+02d57f1f 2020-08-27 Rico Tzschichholz <ricotz@ubuntu.com> libvaladoc/gtkdoc-importer: Don't let parse_block_taglet() return null This caused criticals like: valadoc_taglets_param_set_is_c_self_param: assertion 'self != NULL' failed 2020-08-27 Rico Tzschichholz <ricotz@ubuntu.com> libvaladoc/gtkdoc-importer: Correctly retrieve "url" from "ulink" elements This caused criticals like: g_uri_parse_scheme: assertion 'uri != NULL' failed 2020-08-27 Rico Tzschichholz <ricotz@ubuntu.com> libvaladoc/girimporter: Fallback to "name" for callback This caused criticals like: valadoc_importer_gir_documentation_importer_attach_comment: assertion 'cname != NULL' failed 2020-08-24 Rico Tzschichholz <ricotz@ubuntu.com> girparser: Additionally fallback to "glib:type-name" to retrieve the cname 2020-08-24 Rico Tzschichholz <ricotz@ubuntu.com> libvaladoc/girimporter: Fallback to "glib:type-name" for class, interface and record This caused criticals like: valadoc_importer_gir_documentation_importer_attach_comment: assertion 'cname != NULL' failed 2020-08-24 Rico Tzschichholz <ricotz@ubuntu.com> libvaladoc/girimporter: Improve parse_symbol_doc() and don't use parse_doc() 2020-08-23 Rico Tzschichholz <ricotz@ubuntu.com> libvaladoc/girimporter: Skip "attribute" elements This is the same patch as in commit 6ea19c61015d0dd6cacb581397c8fe37ace9df4a Release 0.49.91 gio-2.0: Socket.receive*.buffer parameters are not "out" glib-2.0: Update GLib.Uri API (since 2.66) glib-2.0: Add GLib.UriParamsIter bindings (since 2.66) gio-unix-2.0: Add g_unix_mount_copy and g_unix_mount_point_copy gio-unix-2.0: Add g_unix_mount_point_at and g_unix_mount_points_get 2020-08-22 Rico Tzschichholz <ricotz@ubuntu.com> gtk4: Resolve a few conflicts of methods with virtual-methods 2020-08-20 Rico Tzschichholz <ricotz@ubuntu.com> vala: Add ObjectCreationExpression.to_string() 2020-08-19 Rico Tzschichholz <ricotz@ubuntu.com> vala: Additionally break on ObjectCreationExpression in "tainted" check Fix various typos in comments and strings See https://gitlab.gnome.org/GNOME/vala/issues/1063 manual: Update from wiki.gnome.org 2020-08-18 Alistair Thomas <astavale@yahoo.co.uk> codegen: Always include base_struct declaration if available This fixes inheritance of structs across source files while not using a header file. Fixes https://gitlab.gnome.org/GNOME/vala/issues/464 2020-08-17 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Don't append unreachable clean-up section of Block Found by -Werror=unreachable-code Improvements for https://gitlab.gnome.org/GNOME/vala/issues/838 Fixes https://gitlab.gnome.org/GNOME/vala/issues/169 2020-08-17 Rico Tzschichholz <ricotz@ubuntu.com> Revert "codegen: Don't append unreachable clean-up section of Block" This reverts commit 8f3a0a0b64e0c7fbcc9231c3058247920dd6eeda. 2020-08-15 Rico Tzschichholz <ricotz@ubuntu.com> doc: Update AUTHORS in manpages Release 0.49.90 gtk4: Update to 3.99.0+e6e2d6b4 pango: Update from 1.46.0 gstreamer: Update from 1.17.2+ git master webkit2gtk-4.0: Update to 2.29.91 2020-08-14 Rico Tzschichholz <ricotz@ubuntu.com> vala: Set parent_node for child nodes of lambda-expression Fixes https://gitlab.gnome.org/GNOME/vala/issues/1062 2020-08-13 Rico Tzschichholz <ricotz@ubuntu.com> tests: Add "pre-post-increment with side effect" tests to increase coverage See https://gitlab.gnome.org/GNOME/vala/issues/1061 2020-08-13 Rico Tzschichholz <ricotz@ubuntu.com> Force usage of temporary variables for "tainted" member accesses This is required to handle the side effect of postfix- and unary- increment/decrement expressions. Regression of 32ffc862417be39d42a1b8eeb3d0748b3e138aff and b9035aaf17a9a97a070812a8ee83251fd3893b1e Fixes https://gitlab.gnome.org/GNOME/vala/issues/1061 2020-08-13 Rico Tzschichholz <ricotz@ubuntu.com> vala: Move transformation of unary increment/decrement to codegen In preparation for https://gitlab.gnome.org/GNOME/vala/issues/1061 Add TraverseVisitor for traversing the tree with a callback This will allow cleaning up virtual methods of code nodes and more stateful to stateless code conversion. 2020-08-11 Rico Tzschichholz <ricotz@ubuntu.com> tests: Don't rely on undefined use-after-free behaviour of glibc Makes this check work with musl >= 1.2.1 https://bugzilla.gnome.org/show_bug.cgi?id=736774 2020-08-10 Rico Tzschichholz <ricotz@ubuntu.com> tests: Add "nested namespace" girwriter test to increase coverage See https://gitlab.gnome.org/GNOME/vala/issues/1059 tests: Add "constant and union" gir test to increase coverage tests: Add "property accessor with try statement" test to increase coverage tests: Add more "invalid" tests to increase coverage 2020-08-10 Rico Tzschichholz <ricotz@ubuntu.com> Revert "girwriter: Use appropriate get_ccode_* functions" This reverts commit 7b0498d4f4fcaa3bd9e04d65560324847136f0ac. Fixes https://gitlab.gnome.org/GNOME/vala/issues/1059 2020-08-10 Rico Tzschichholz <ricotz@ubuntu.com> Release 0.49.2 2020-08-09 Rico Tzschichholz <ricotz@ubuntu.com> vapi: Update GIR-based bindings gstreamer: Update from 1.17.2+ git master gtk4: Update to 3.99.0+358b698e 2020-08-09 Jeremy Philippe <jeremy.philippe@gmail.com> posix: Declare WRDE_APPEND constant as public 2020-08-09 Rico Tzschichholz <ricotz@ubuntu.com> posix: Add missing "has_typedef" attribute for some delegates 2020-08-07 Rico Tzschichholz <ricotz@ubuntu.com> goocanvas-2.0: Fix some field ownerships and types Fixes https://gitlab.gnome.org/GNOME/vala/issues/1057 codegen: Support non-virtual signals with default handler Fixes https://gitlab.gnome.org/GNOME/vala/issues/1056 2020-08-06 Rico Tzschichholz <ricotz@ubuntu.com> tests: Add "return in construct/destructor" tests to increase coverage tests: Add "enum typed property" tests to increase coverage vala: Switch context if with-variable is not owned by with-statement ifself See https://gitlab.gnome.org/GNOME/vala/issues/1043 gtk4: Update to 3.99.0+83e9b5b4 2020-08-05 Rico Tzschichholz <ricotz@ubuntu.com> vala: Mark tranformed member-access as qualified Regression of 866258f688d781f3536892b8f93abdd3112198ec See https://gitlab.gnome.org/GNOME/vala/issues/57 2020-08-05 Rico Tzschichholz <ricotz@ubuntu.com> gio-2.0: Include "gio/gsettingsbackend.h" for GLib.SettingsBackend members Fixes https://gitlab.gnome.org/GNOME/vala/issues/1054 girparser: Add support for string "feature_test_macro" metadata codegen: Include header for base-symbols when connecting vfuncs This eases the handling of types which are split over different headers. 2020-08-04 Rico Tzschichholz <ricotz@ubuntu.com> pango: Update from 1.45.4+ gstreamer: Update from 1.17.2+ git master gtk4: Update to 3.99.0+bbb15f65 2020-08-04 Rico Tzschichholz <ricotz@ubuntu.com> vala: Inherit CCode.returns_floating_reference attribute from base method Regression of 49a6d475052ec476140c545a26ac8d5abe35c849 Fixes https://gitlab.gnome.org/GNOME/vala/issues/1053 2020-08-03 Rico Tzschichholz <ricotz@ubuntu.com> Update manpages Release 0.49.1 2020-08-02 Rico Tzschichholz <ricotz@ubuntu.com> gio-unix-2.0: Fix "g_unix_mount_for" binding Fixes https://gitlab.gnome.org/GNOME/vala/issues/1052 2020-08-01 Rico Tzschichholz <ricotz@ubuntu.com> glib-2.0: Add GLib.File.set_contents_full() binding (since 2.66) gstreamer: Update from 1.17.2+ git master gtk4: Update to 3.99.0+d743e757 2020-07-29 Rico Tzschichholz <ricotz@ubuntu.com> Sync NEWS from 0.48 webkit2gtk-4.0: Update to 2.29.4 gtk4,gtk4-unix-print: Update to 3.98.5+23dcf36e 2020-07-28 Rico Tzschichholz <ricotz@ubuntu.com> girwriter: Use appropriate get_ccode_* functions This will pick up possible CCode.*name attributes girwriter: Internal fields/vfuncs in type-symbols are public in C Fixes https://gitlab.gnome.org/GNOME/vala/issues/513 2020-07-27 Rico Tzschichholz <ricotz@ubuntu.com> girwriter: Don't include symbols outside of a namespace Additionally report a warning for symbols which doesn't fulfill this rule. Fixes https://gitlab.gnome.org/GNOME/vala/issues/241 2020-07-27 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Properly destroy elements of an inline struct array Fixes https://gitlab.gnome.org/GNOME/vala/issues/365 2020-07-25 Rico Tzschichholz <ricotz@ubuntu.com> vapi: Update GIR-based bindings gtk+-3.0: Update to 3.24.21+ffe2df7b gtk4: Update to 3.98.5+f2bdb1fb gstreamer: Update from 1.17.2+ git master 2020-07-23 Rico Tzschichholz <ricotz@ubuntu.com> girparser: Skip 'docsection' elements in <namespace> See https://gitlab.gnome.org/GNOME/gobject-introspection/-/merge_requests/226 2020-07-22 Rico Tzschichholz <ricotz@ubuntu.com> vala: Check error-type accessibility of creation methods and delegates 2020-07-22 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Check param for null before using it Regression of 5490b0b21a4089d803d51c91311430d60d266f7b This caused criticals like: vala_get_ccode_array_length: assertion 'node != NULL' failed See https://gitlab.gnome.org/GNOME/vala/issues/929 2020-07-21 Rico Tzschichholz <ricotz@ubuntu.com> vala: Mark with-statements as experimental See https://gitlab.gnome.org/GNOME/vala/issues/327 2020-07-20 Rico Tzschichholz <ricotz@ubuntu.com> vala: Allow prototype access to signal with emitter Fixes https://gitlab.gnome.org/GNOME/vala/issues/1040 tests: Add "access vfunc pointer" test to increase coverage 2020-07-20 Jean Pierre Dudey <me@jeandudey.tech> girwriter: Write c:symbol-prefix on supported elements This specifies the symbol prefix, e.g.: window in gtk_window_new Fixes https://gitlab.gnome.org/GNOME/vala/issues/1038 2020-07-20 Jean Pierre Dudey <me@jeandudey.tech> girwriter: Write c:type="void" when name="none" This is to match g-ir-scanner behaviour of using the c:type to identify void return value. girwriter: Add c:identifier-prefixes to <namespace> c:prefix is deprecated and c:identifier-prefixes should be used. 2020-07-20 Rico Tzschichholz <ricotz@ubuntu.com> glib-2.0: Drop type_id from GLib.Error, let it be handled internally Regression of 4db1b33e7a8424e12abc85342111e75bd07c7aa9 Fixes https://gitlab.gnome.org/GNOME/vala/issues/1039 2020-07-20 Rico Tzschichholz <ricotz@ubuntu.com> vala: Improve check of expression passed to yield Report a proper error and fix codegen cricical when a signal is given: vala_ccode_function_add_expression: assertion 'expression != NULL' failed See https://gitlab.gnome.org/GNOME/vala/issues/1039 2020-07-18 Rico Tzschichholz <ricotz@ubuntu.com> gstreamer: Update from 1.17.2+ git master gtk4: Update to 3.98.5+4da3edd4 2020-07-17 Rico Tzschichholz <ricotz@ubuntu.com> tests: Fix "methods/extern" test with -Werror=address and gcc 5.4.0 gtk+-3.0: Resolve conflicts of signals with properties gtk4: Resolve conflict of DropTarget.drop signal with property Fixes https://gitlab.gnome.org/GNOME/vala/issues/1033 girparser: Warn about conflicting signals and properties vala: Fix code indentation libvaladoc: Support exporting the `class` modifier on fields 2020-07-17 Corentin Noël <corentin.noel@collabora.com> libvaladoc: Support exporting the `class` modifier on methods 2020-07-16 Rico Tzschichholz <ricotz@ubuntu.com> vala: Tranform instance member-access to a static one if possible There is a warning issued already and this cleans up the AST to prevent unwanted behaviour in the code-generator, which resulted in the invocation of "CCodeBaseModule.emit_temp_var()" and criticals like: vala_ccode_function_add_declaration: assertion 'self != NULL' failed vala_ccode_function_add_assignment: assertion 'self != NULL' failed Fixes https://gitlab.gnome.org/GNOME/vala/issues/270 2020-07-15 Rico Tzschichholz <ricotz@ubuntu.com> vala: Use inheritted scopes of base-types/prerequisites to resolve symbols Fixes https://gitlab.gnome.org/GNOME/vala/issues/54 vala: Fully qualify member-access when using-directive was used to resolve Fixes https://gitlab.gnome.org/GNOME/vala/issues/57 2020-07-14 Rico Tzschichholz <ricotz@ubuntu.com> tests: Add "pre/post-increment" tests to increase coverage testrunner: Add "-Werror=tautological-pointer-compare" flag codegen: Inline allocated and constant arrays are never NULL Found by -Werror=tautological-pointer-compare vapi: Disable deprecation warnings when checking bindings 2020-07-13 Rico Tzschichholz <ricotz@ubuntu.com> vala: Remove some public API from expressions and statements (2) codegen: Make use of CCode.cname for label name of CatchClause 2020-07-12 Rico Tzschichholz <ricotz@ubuntu.com> vapi: Update GIR-based bindings gstreamer: Update from 1.17.2+ git master gtk4: Update to 3.98.5+191e0e8d webkit2gtk-4.0: Update to 2.29.3 2020-07-11 Rico Tzschichholz <ricotz@ubuntu.com> vala: Handle parameter initializer without value-type This caused criticals like: vala_data_type_compatible: assertion 'self != NULL' failed See https://gitlab.gnome.org/GNOME/vala/issues/1029 2020-07-11 Rico Tzschichholz <ricotz@ubuntu.com> testrunner: Add more -Werror=* flags codegen: Properly compare string if binary-expression contains string-literal Found by -Werror=address 2020-07-08 Rico Tzschichholz <ricotz@ubuntu.com> tests: Add "unique namespace" test A namespace symbol is unique for a given name in its CodeContext. This means attributes are inherited accross all occurances. 2020-07-06 Rico Tzschichholz <ricotz@ubuntu.com> vapi: Update GIR-based bindings gtk4: Update to 3.98.5+26d83b1a gstreamer: Update from 1.17.2+ git master 2020-07-05 Rico Tzschichholz <ricotz@ubuntu.com> tests: Extend "default gtype" tests to increase coverage glib-2.0: Add more explicit type_id attributes for various symbols 2020-07-04 Rico Tzschichholz <ricotz@ubuntu.com> vala: Return copy of constant type in get_value_type_for_symbol() vala: Recursive check of assignment target to recognize constants See https://gitlab.gnome.org/GNOME/vala/issues/944 vala: Property must be writable when invoking ReturnsModifiedPointer method Fixes https://gitlab.gnome.org/GNOME/vala/issues/1023 vala: Don't allow "resize" invocation on variable with unowned array type Fixes https://gitlab.gnome.org/GNOME/vala/issues/928 gtk4: Fix binding of CClosureExpression ctor Fixes https://gitlab.gnome.org/GNOME/vala/issues/1024 2020-07-03 Rico Tzschichholz <ricotz@ubuntu.com> glib-2.0: Add AtomicUint, an alternation of AtomicInt for uint Fixes https://gitlab.gnome.org/GNOME/vala/issues/915 2020-07-02 Rico Tzschichholz <ricotz@ubuntu.com> gtk4: Improve Gtk.ParamSpecExpression binding codegen: Handle "gtk_param_spec_expression" in get_param_spec() codegen: Cache type_symbol in get_param_spec() vala: Improve error handling of nested initializer lists This avoids reporting consequential errors. vala: Don't loose invalid_syntax when copying array type for local variable Fixes https://gitlab.gnome.org/GNOME/vala/issues/942 tests: Don't use invalid syntax to declare local variable with array type See https://gitlab.gnome.org/GNOME/vala/issues/942 vala: Avoid subsequent critical caused by invalid array type for constant 2020-06-30 Rico Tzschichholz <ricotz@ubuntu.com> manual: Update from wiki.gnome.org Sync NEWS from 0.48 vapi: Update GIR-based bindings gstreamer: Update from 1.17.1+ git master gtk4: Update to 3.98.5+fca2ba96 gtk4: Mark optional methods of Gdk.Paintable interface as virtual Fixes https://gitlab.gnome.org/GNOME/vala/issues/1021 2020-06-26 Rico Tzschichholz <ricotz@ubuntu.com> webkit2gtk-4.0: Update to 2.29.2 gio-2.0: Add new symbols from 2.66 glib-2.0: Add GLib.Uri bindings (since 2.66) 2020-06-26 Rico Tzschichholz <ricotz@ubuntu.com> vala: Don't carry floating reference into unknown target type expression A floating reference result of a method, which may throw an error, needs to be sinked when passed as argument for ellipsis parameter. Fixes https://gitlab.gnome.org/GNOME/vala/issues/1018 2020-06-26 Rico Tzschichholz <ricotz@ubuntu.com> tests: Add "named argument" test to increase coverage gtk4: Update to 3.98.5+1d1f618a vala: Improve parameter check of "get" method meant to be used by foreach (2) Actually all integer-types as index parameter. 2020-06-26 Rico Tzschichholz <ricotz@ubuntu.com> vala: Improve parameter check of "get" method meant to be used by foreach The index-based iteration requires the "get" method to take one integer compatible parameter. Otherwise continue checking other options. Fixes https://gitlab.gnome.org/GNOME/vala/issues/1017 2020-06-25 Rico Tzschichholz <ricotz@ubuntu.com> gtk4: Update to 3.98.5+c0cbf9db 2020-06-25 Chris White <cxwembedded@gmail.com> build: Update git-version-gen to latest upstream From commit 8a09003664733eb6bef031f56ef9cd575e403023 of https://git.savannah.gnu.org/cgit/autoconf.git/tree/build-aux/git-version-gen 2020-06-25 Michael Gratton <mike@vee.net> glib-2.0: data of GLib.Bytes is allowed to be null Ctors accepting uint8 arrays accept null as 0-sized array and the `get_data` may return null if the size of the buffer is 0. https://developer.gnome.org/glib/stable/glib-Byte-Arrays.html 2020-06-20 Rico Tzschichholz <ricotz@ubuntu.com> parser: Avoid mitigation for missing token if it follows DOT or DOUBLE_COLON Rolling back to a DOT/DOUBLE_COLON token will retrigger the attempt to parse an incomplete member access. Regression of 4368a4fa667148378dcdbd251a4ae4e00c9a8e5a Fixes https://gitlab.gnome.org/GNOME/vala/issues/987 2020-06-18 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Cast initializer-list to struct for non-constant/non-array assignments Avoid invalid c-code and use the correct syntax for compound literals. Fixes https://gitlab.gnome.org/GNOME/vala/issues/1013 2020-06-17 Rico Tzschichholz <ricotz@ubuntu.com> gtk4: Prefix value names of PaintableFlags with "STATIC_" Fixes https://gitlab.gnome.org/GNOME/vala/issues/1011 girparser: Actually respect given cprefix metadata for enumerations vala: Use available CodeContext instance for VersionAttribute.check() 2020-06-16 Rico Tzschichholz <ricotz@ubuntu.com> vapi: Update GIR-based bindings gtk4: Update to 3.98.5+2cc39fe2 gstreamer: Update from 1.17.0+ git master pango: Update from 1.45.2 2020-06-15 Rico Tzschichholz <ricotz@ubuntu.com> vala: Use correct value-type for ArrayCreationExpression used as argument Copy fixed_length and inline_allocated attributes from formal-target-type. Fixes https://gitlab.gnome.org/GNOME/vala/issues/1009 2020-06-14 Rico Tzschichholz <ricotz@ubuntu.com> libvaladoc: Remove unused Api.Class.get_finalize_function_name() API 2020-06-14 Rico Tzschichholz <ricotz@ubuntu.com> Consistently use get_ccode_lower_case_prefix() for function names Create the expected name for "constructor" and "finalize" functions which are non-public API. Fixes https://gitlab.gnome.org/GNOME/vala/issues/1008 2020-06-11 Rico Tzschichholz <ricotz@ubuntu.com> vala: Reduce calls of CodeContext.get() tests: Build typelib if g-ir-compiler is available 2020-06-11 Corentin Noël <corentin.noel@collabora.com> libvaladoc/girimporter: Skip "function-macro" elements This is the same patch as in commit f51d9dfdaf97ab5b8377d7e5bb78cfc9b232dc86 2020-06-10 Rico Tzschichholz <ricotz@ubuntu.com> girwriter: Append symbol-attributes to callback field rather than its type Fixes https://gitlab.gnome.org/GNOME/vala/issues/1006 gtk4: Update to 3.98.5+d2235b71 2020-06-09 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Add implicit parameter and instance checks in async method This is already done for every non-async method and can be disabled by passing --disable-assert. See https://gitlab.gnome.org/GNOME/vala/issues/1005 2020-06-09 Rico Tzschichholz <ricotz@ubuntu.com> gstreamer-audio-1.0: Adjustments for Gst.Audio.Sink class extension 2020-06-08 Rico Tzschichholz <ricotz@ubuntu.com> pango: Update from 1.45.1 2020-06-07 Rico Tzschichholz <ricotz@ubuntu.com> gstreamer: Update from 1.17.0+ git master vapi: Update GIR-based bindings glib-2.0,gobject-2.0: Add new symbols from 2.66 2020-06-06 Rico Tzschichholz <ricotz@ubuntu.com> vala: Correctly handle qualified struct type reference in initializer list Construct member-access including namespace of inferred struct type. Fixes https://gitlab.gnome.org/GNOME/vala/issues/1004 2020-06-05 Rico Tzschichholz <ricotz@ubuntu.com> vala: Fix typo in comments 2020-06-04 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Don't call get_ccode_finish_instance() with non-async methods and restrict evaluation of CCode.finish_* attributes to async methods only 2020-06-02 Nick Schrader <nick.schrader@mailbox.org> Add support for "with" statement Creates data type scoped blocks which allow implicit member access to the given expression or declaration statement. with (expr) { ...; } Within the with-block the expression's members can be directly accessed without the member access operator. Members may hide local, class and instance varibales with the same name. Instance variables are still accessible through this. A local variable can be directly declared in the with statement header. Hidden local and class variables are currently not directly accessible (using this for class members generates the expected warning). Fixes https://gitlab.gnome.org/GNOME/vala/issues/327 2020-06-02 Rico Tzschichholz <ricotz@ubuntu.com> vala: Add InvalidExpression as replacement for erroneous nodes instead This type is meant to be used where a successful parsing or transforming cannot be achieved and the usage of "null" is not possible. 2020-05-27 Rico Tzschichholz <ricotz@ubuntu.com> vala: Improve source documentation 2020-05-27 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Improve array-dup-wrapper for empty arrays Guard against negative lengths and consistently return NULL if allocated size would be 0. See https://gitlab.gnome.org/GNOME/vala/issues/999 2020-05-27 Rico Tzschichholz <ricotz@ubuntu.com> Revert "codegen: Dup arrays only if length > 0, this consistently returns NULL (POSIX)" This reverts commit 18847c9221362081c9a9d37e2922f3e3ea648088. Fixes https://gitlab.gnome.org/GNOME/vala/issues/999 2020-05-26 wb9688 <36312-wb9688@users.noreply.gitlab.gnome.org> Simon Werbeck <simon.werbeck@gmail.com> parser: Map empty start/end index to 0/length for slice expressions This allows a syntax like a[:], a[2:] or a[:3] for arrays and strings. Fixes https://gitlab.gnome.org/GNOME/vala/issues/238 2020-05-24 Rico Tzschichholz <ricotz@ubuntu.com> tests: Extend "s[p]lice" tests to increase coverage codegen: Dup arrays only if length > 0, this consistently returns NULL (POSIX) Revert "glib-2.0: Map given end == 0 for string.slice/splice() to string.length" This reverts commit f844ad1c02fb5b17e923a7ba4e69cf2a7df96a14. 2020-05-23 wb9688 <36312-wb9688@users.noreply.gitlab.gnome.org> glib-2.0: Map given end == 0 for string.slice/splice() to string.length Fixes https://gitlab.gnome.org/GNOME/vala/issues/179 2020-05-23 Rico Tzschichholz <ricotz@ubuntu.com> gtk+-3.0: Deprecated abstract methods are not required to be implemented 2020-05-19 Rico Tzschichholz <ricotz@ubuntu.com> Sync NEWS from 0.48 vapi: Update GIR-based bindings gstreamer: Update from 1.17.0+ git master webkit2gtk-4.0: Update to 2.29.1 2020-05-18 Rico Tzschichholz <ricotz@ubuntu.com> gtk4: Update to 3.98.3+028942c8 girparser: Add support for boolean "new" argument for methods vala: Explicit "new" method may be incompatible with a posssible base method 2020-05-18 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Use loop index instead of get_ccode_pos() for ellipsis parameter Otherwise this will cause an index clash resulting in loosing the first variable list parameter. Regression of b1cb7036bee1f21e98e93ac34b31a95eeed32815 Fixes https://gitlab.gnome.org/GNOME/vala/issues/995 2020-05-10 Rico Tzschichholz <ricotz@ubuntu.com> gtk4: Update to 3.98.3+386b36a6 2020-05-10 Rico Tzschichholz <ricotz@ubuntu.com> vala: Transform cast from integer-type to boxed-type Don't generate faulty c-code with results in segmentation faults. Fixes https://gitlab.gnome.org/GNOME/vala/issues/992 2020-05-10 Rico Tzschichholz <ricotz@ubuntu.com> vala: Transform cast from floating-type to boxed-type Don't generate invalid c-code leading to "cannot convert to a pointer type" Fixes https://gitlab.gnome.org/GNOME/vala/issues/991 2020-05-10 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Correctly handle cast-expression of real struct to nullable struct Don't generate invalid c-code leading to "cannot convert to a pointer type" Fix https://gitlab.gnome.org/GNOME/vala/issues/991 2020-05-09 Rico Tzschichholz <ricotz@ubuntu.com> vala: Set value_type of undefined member-access to avoid further criticals 2020-05-08 Rico Tzschichholz <ricotz@ubuntu.com> Use "str_equal" as equal_func for ArrayList<string> instances parser: Use [Flags] for ModifierFlags 2020-05-07 Rico Tzschichholz <ricotz@ubuntu.com> vala: Use stable hash for methods in HashMap of implicit_implementations Fixes https://gitlab.gnome.org/GNOME/vala/issues/990 valadoc: Add implicit "Posix" using-directive for POSIX profile 2020-05-07 Rico Tzschichholz <ricotz@ubuntu.com> valadoc: Keep using add_package() for default packages and handle POSIX Caused empty documentations for glib-2.0 and gobject-2.0 after bd73f1ba11c387c919ad06d44badfd7065d1e35f Fixes https://gitlab.gnome.org/GNOME/vala/issues/989 2020-05-05 Rico Tzschichholz <ricotz@ubuntu.com> vala: params-array parameter is not allowed in abstract/virtual method Fixes https://gitlab.gnome.org/GNOME/vala/issues/985 vala: SemanticAnalyzer.get_instance_base_type() is not allowed to return null This is private internal API. 2020-05-05 Rico Tzschichholz <ricotz@ubuntu.com> vala: Allow node_reference being null in SemanticAnalyzer.get_instance_base_type() This allows a wider usage of DataType.get_actual_type() without an actual reference to the AST. This is private internal API. 2020-05-02 Rico Tzschichholz <ricotz@ubuntu.com> gtk4: Update to 3.98.3+429e0bfa 2020-04-27 Rico Tzschichholz <ricotz@ubuntu.com> gitignore: Update and add some IDE files vala: Check coverage of switch on enum-type and issue warnings if needed See https://gitlab.gnome.org/GNOME/vala/issues/777 2020-04-23 Rico Tzschichholz <ricotz@ubuntu.com> Sync NEWS from 0.48 tests: Extend "fastvapi" test to increase coverage 2020-04-23 Rico Tzschichholz <ricotz@ubuntu.com> Revert "vala: Set default_construction_method in semantic-analyzer check if required" This reverts commit d176f179581fac880f5598bb53b3475392af2c4b. Fixes https://gitlab.gnome.org/GNOME/vala/issues/982 2020-04-21 Rico Tzschichholz <ricotz@ubuntu.com> Sync NEWS from 0.48 tests: Fix make dist gtk4: Update to 3.98.3 2020-04-20 Rico Tzschichholz <ricotz@ubuntu.com> gtk4: Update to 3.98.2+2869f80b 2020-04-19 Rico Tzschichholz <ricotz@ubuntu.com> gio-2.0: Add "async_result_pos" attributes to *.call_with_unix_fd_list() Fixes https://gitlab.gnome.org/GNOME/vala/issues/340 girparser: Improve detection of AsyncReadyCallback/AsyncResult parameters girparser: Drop special handling of GLib.Data, GLib.PtrArray and GLib.String girparser: Move special handling for certain parameters to process_callable() - Detect delegate throwing error when GLib.Error out-parameter exists - Mark method as async based on finding an AsyncReadyCallback parameter - Apply null-literal default-value for trailing GLib.Cancellable? parameters codegen: Fix default of CCode.pos for parameters in async methods 2020-04-18 Rico Tzschichholz <ricotz@ubuntu.com> gtk4: Update to 3.98.2+6a4f7889 vapi: Update GIR-based bindings glib-2.0: Add Unicode 13.0 symbols 2020-04-17 Princeton Ferro <princetonferro@gmail.com> vala: Ensure non-empty argument list for "disconnect" before accessing it Avoids an internal assertion on accessing an empty collection. 2020-04-16 Rico Tzschichholz <ricotz@ubuntu.com> tests: Actually make the "version check" tests work tests: Add "version check" tests to increase coverage Use several symbols from glib-2.0 >= 2.50 and refer to custom pkg-config file defining 2.48.0 as version. vala: Quote symbol on report by version attribute check vala: Perform version check for types of non-external variable declarations vala: Don't perform version check on internal lambda method glib-2.0: Guard Pid.to_string() with GLIB_2_50 to deal with G_PID_FORMAT Otherwise building with glib-2.0 < 2.50 breaks due availability check of GLib.Pid.FORMAT. vala: Fix cleaning of output in CodeContext.pkg_config_modversion() Revert "vala: Drop mitigation in CodeContext.pkg_config_modversion() when it failed" This reverts commit 09e565a511f43e48737b0bfb881ccfb32cf0ab82. 2020-04-15 Rico Tzschichholz <ricotz@ubuntu.com> vala: Check assigned handler of dynamic signal before proceeding further This fixes criticals if an errornous expression was given. codegen: Check vfunc of abstract/virtual properties for NULL before using it Fixes https://gitlab.gnome.org/GNOME/vala/issues/153 codegen: Check vfunc of abstract/virtual methods for NULL before using it Fixes https://gitlab.gnome.org/GNOME/vala/issues/153 2020-04-15 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Fix base-access to non-abstract/non-virtual properties Don't unconditionally try to access vfuncs and actually emit assignments. Fixes https://gitlab.gnome.org/GNOME/vala/issues/204 2020-04-13 Rico Tzschichholz <ricotz@ubuntu.com> testrunner: Add -Werror=array-bounds 2020-04-13 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Use specified indices to access multidimensional array constants This fixes compile issues together with -Waggressive-loop-optimizations and warnings with -Warray-bounds. Fixes https://gitlab.gnome.org/GNOME/vala/issues/905 2020-04-12 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Correctly handle signals returning real non-nullable struct Fixes https://gitlab.gnome.org/GNOME/vala/issues/466 2020-04-12 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Use get_value_*_function() in GSignalModule.generate_marshaller() This makes sure to pick up the intended function like the generated ones for fundamental classes. Fixes https://gitlab.gnome.org/GNOME/vala/issues/468 2020-04-11 Andrea Del Signore <sejerpz@gmail.com> codegen: Fix binary 'in' operator on array with boxed value-typed needle See https://gitlab.gnome.org/GNOME/vala/issues/951 2020-04-11 Princeton Ferro <princetonferro@gmail.com> parser: Handle incomplete expression statements Incomplete expression statements are parsed as expression statements now, rather than local variable declarations. This primarily affects incomplete member access expressions at the end of blocks. 2020-04-11 Rico Tzschichholz <ricotz@ubuntu.com> vala: Add SourceLocation.to_string() vala: Add SourceReference.contains() 2020-04-11 Rico Tzschichholz <ricotz@ubuntu.com> gstreamer-1.0: Don't skip GST_*_FORMAT strings Partially reverts 10b87427a263886b0e36d5f4a297d6e079b74b6e Fixes https://gitlab.gnome.org/GNOME/vala/issues/970 2020-04-11 Princeton Ferro <princetonferro@gmail.com> vala: Don't use possibly uninitialized backing field of package_name Don't check _package_name directly, which may be null at the time installed_version is accessed. This fixes a bug where Vala wouldn't generate errors when using symbols that are unavailable for a package version. Introduced by 7f0e90a5c34f437b7ab8f9197a9d42fc835b1a60 Fixes https://gitlab.gnome.org/GNOME/vala/issues/971 2020-04-11 Rico Tzschichholz <ricotz@ubuntu.com> vala: Drop mitigation in CodeContext.pkg_config_modversion() when it failed See https://gitlab.gnome.org/GNOME/vala/issues/971 2020-04-10 vanadiae <48521955+Vanadiae@users.noreply.github.com> glib-2.0: Fix Filename.canonicalize() binding of g_canonicalize_filename The required attibutes were not applied correctly when introduced by c124f827557420b620f7118cfbabb15d83b4a3e6 2020-04-09 Rico Tzschichholz <ricotz@ubuntu.com> gstreamer-app-1.0: Don't merge Src.push_buffer_*() signal with its method Fixes https://gitlab.gnome.org/GNOME/vala/issues/968 2020-04-08 Rico Tzschichholz <ricotz@ubuntu.com> vala: Set default_construction_method in semantic-analyzer check if required Doing this in the parser is not reasonable while this is clearly a sematic requirement. 2020-04-07 Rico Tzschichholz <ricotz@ubuntu.com> tests: Add "Bus/DBusConnection.get_proxy*()" tests to increase coverage 2020-04-06 Rico Tzschichholz <ricotz@ubuntu.com> Sync NEWS from 0.48 gobject-2.0: Add ParamSpec/Signal.is_valid_name() since 2.66 gio-2.0: Update to 2.65.0~a136776e 2020-04-05 Rico Tzschichholz <ricotz@ubuntu.com> gstreamer: Update from 1.17.0+ git master gtk4: Update to 3.98.2+11495027 2020-04-05 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Don't pass CCodeCastExpression to NULL-aware free macro This resulted in invalid C code: error: lvalue required as left operand of assignment Fixes https://gitlab.gnome.org/GNOME/vala/issues/953 2020-04-05 Corentin Noël <corentin@elementary.io> gdbus: Use GDBusProxy API to set `g-interface-info` at initialization time This allows GDBusProxy subclasses to have the g-interface-info assigned even when the class hasn't been created by Vala itself. Keep obsolete setting of 'vala-dbus-interface-info' to preserve backwards compatibility. 2020-04-05 Corentin Noël <corentin@elementary.io> tests: Extend "DBus signals" test to increase coverage This adds code coverage for generating multiple signals, tests for arrays and ensures that the private signals are not leaking. 2020-04-05 Rico Tzschichholz <ricotz@ubuntu.com> vala: Warn about usage of override to implement abstract interface methods Fixes criticals in GAsyncModule.visit_method() vala_symbol_get_parent_symbol: assertion 'self != NULL' failed which were introduced with 12db9b7eeb1f53975010d89839d554b5fcf99831 2020-04-05 Mason Bogue <scythe@ortsz.com> vala: Drop --use-header compiler option and enable it by default Import definitions from generated header files if available Fixes https://gitlab.gnome.org/GNOME/vala/issues/713 2020-04-05 Mason Bogue <scythe@ortsz.com> codegen: Use defintions of public header in internal header if available Add CCode API to distinguish between public and internal header files. See https://gitlab.gnome.org/GNOME/vala/issues/713 2020-04-05 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Correctly handle transformation of translated string-literal constants The required header includes were not emited to the correct declaration space. codegen: Include "glib.h" for G_BEGIN_DECLS/G_END_DECLS usage 2020-04-04 Rico Tzschichholz <ricotz@ubuntu.com> vala: Parse standalone integer/real literals as expression statement Issue an error in the semantic check to forbid such statements. Parsing such an errornous expression-statement failed since 5464767cfa5a8dbbc5f46293693ca627b8fcc46d Fixes https://gitlab.gnome.org/GNOME/vala/issues/961 2020-04-02 Rico Tzschichholz <ricotz@ubuntu.com> tests: Extend "array foreach" test to increase coverage 2020-04-01 Rico Tzschichholz <ricotz@ubuntu.com> vala: Consider boolean types are compatible with each other tests: Add "expression as argument" tests to increase coverage 2020-03-31 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Correct field declaration for captured inline-allocated array Also pass proper size to memset for local temp variables of inline-allocated arrays in asynchronous context. Fixes https://gitlab.gnome.org/GNOME/vala/issues/954 2020-03-31 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Don't free value if property setter takes ownership Correctly handle owned property accessor in object initializer. In addition to c0e955db075d3d155782c167a0abb81e0dce5f59 See https://gitlab.gnome.org/GNOME/vala/issues/953 2020-03-31 Rico Tzschichholz <ricotz@ubuntu.com> tests: Add "local clash with implicit this" test to increase coverage tests: Add "switch enum" test to increase coverage 2020-03-30 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Avoid critical trying to serialize an unsupported type to Variant Fixes https://gitlab.gnome.org/GNOME/vala/issues/952 2020-03-29 Rico Tzschichholz <ricotz@ubuntu.com> vala: Handle all ctors and dtors in CodeWriter vala: Handle unlock() statement in CodeWriter 2020-03-25 Simon Werbeck <simon.werbeck@gmail.com> vala: Support struct initializer list in non-constant array A struct initializer list contained in an array initializer list is now transformed to a struct creation expression. The pre-existing logic ensures that constant expressions are not transformed. Fixes https://gitlab.gnome.org/GNOME/vala/issues/949 2020-03-25 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Append initializer for "_*_size_" of array field in internal struct Fixes https://gitlab.gnome.org/GNOME/vala/issues/914 vala: Move setting of target profile and standard packages into CodeContext 2020-03-25 Rico Tzschichholz <ricotz@ubuntu.com> girparser: Strip "Enum"-suffix only from enumeration This lead to superfluous symbol clashes when applied widely. e.g. GLib.ParamSpecEnum which is subclass of GLib.ParamSpec Introduced with 37201b0016a6f710dea6c9db08ff351641086686 2020-03-25 Rico Tzschichholz <ricotz@ubuntu.com> vala: Add Expression.is_always_true/false() helpers tests: Add "throw in loops" tests to increase coverage 2020-03-24 Rico Tzschichholz <ricotz@ubuntu.com> vala: Remove some public API from expressions and statements 2020-03-23 Rico Tzschichholz <ricotz@ubuntu.com> Bump version suffix to 0.50 Release 0.48.2 manual: Update from wiki.gnome.org vapi: Update GIR-based bindings gstreamer: Update from 1.17.0+ git master gtk4: Update to 3.98.1 2020-03-22 Rico Tzschichholz <ricotz@ubuntu.com> tests: Drop usage of "--main main" and avoid ambigious entry-points 2020-03-21 Rico Tzschichholz <ricotz@ubuntu.com> codegen: IntegerLiteral is a valid constant size for inline-allocated array In addition to b95a766454eb914f4eb5a68e9040e03faffabf52 See https://gitlab.gnome.org/GNOME/vala/issues/910 2020-03-21 Rico Tzschichholz <ricotz@ubuntu.com> vala: Inline-allocated array can't be instantiated with creation expression This generalizes 0554ed7ad9cefe0f56e53dc00be88488dfa788bf Fixes https://gitlab.gnome.org/GNOME/vala/issues/926 2020-03-19 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Include "glib.h" for g_return_*() usage Fixes https://gitlab.gnome.org/GNOME/vala/issues/940 glib-2.0: Add binding for g_win32_ftruncate() gio-2.0: Add binding for g_io_error_from_win32_error() 2020-03-19 ZUHONG TAO <taozuhong@gmail.com> glib-2.0: Add missing IOChannel's win32 API 2020-03-19 Rico Tzschichholz <ricotz@ubuntu.com> parser: Improve error message for invalid ArrayCreationExpression Fixes https://gitlab.gnome.org/GNOME/vala/issues/939 2020-03-18 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Initialize temp-var for property array length before calling getter Regression of d33e9fbca63674b7dfa339c25a9d5e27cce187f3 2020-03-18 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Use memset to initialize inline-allocated array with non-constant size In addition to a0bb129e5a2e8580eb272d9a68ba054e7b170dba Fixes https://gitlab.gnome.org/GNOME/vala/issues/910 2020-03-17 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Improve handling of "array_length_type" attribute This affects methods, parameters, field and properties. Fixes https://gitlab.gnome.org/GNOME/vala/issues/938 2020-03-17 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Inherit "array_length_type" from (base-/base-interface) parameter/property/method See https://gitlab.gnome.org/GNOME/vala/issues/938 codegen: Use correctly typed array-length variable for delegate invocation codegen: Use correctly typed array-length variable for property-getter vala: Inherit lambda parameter attributes from delegate ... by setting base_parameter accordingly vala: Improve copy of required attributes from delegate to lamdba method 2020-03-17 Corentin Noël <corentin@elementary.io> posix: Add pathconf and fpathconf bindings Also bind the named constants to use them. 2020-03-14 Rico Tzschichholz <ricotz@ubuntu.com> vala: Accept enum-values as length for inline allocated arrays Fixes https://gitlab.gnome.org/GNOME/vala/issues/935 2020-03-13 Rico Tzschichholz <ricotz@ubuntu.com> valadoc: Create and register current Vala.CodeContext properly 2020-03-13 Rico Tzschichholz <ricotz@ubuntu.com> vala: Use error() instead of Report.error() inside of CodeContext.get() This is a bad thing while Report.error() actually uses CodeContext.get() Regression of e436f2833dc332e3fd728fe6f6b2cd7f224dcf33 2020-03-13 Rico Tzschichholz <ricotz@ubuntu.com> vapi: Add cairo-gobject binding and update reverse depends if appropriate 2020-03-13 Corentin Noël <corentin@elementary.io> cairo: Add missing type_id attributes guarded by GOBJECT define When Cairo is built with GObject support wrapper, it provides cairo-gobject.h that defines GType and GBoxed structures and enums. 2020-03-13 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Correctly access captured parameter in precondition of method Fixes https://gitlab.gnome.org/GNOME/vala/issues/144 codegen: Emit postconditions before free'ing local variables It was possible to cause segmentation-faults or use-after-free errors. 2020-03-12 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Reset outdated array _size_ variable after use as ref parameter Fixes https://gitlab.gnome.org/GNOME/vala/issues/929 2020-03-12 Rico Tzschichholz <ricotz@ubuntu.com> vapigen: Define "GOBJECT" corresponding to set profile of CodeContext This is required to evaluate pre-processor directives correctly in sourced bindings. Fixes https://gitlab.gnome.org/GNOME/vala/issues/933 2020-03-11 ZUHONG TAO <taozuhong@gmail.com> glib-2.0: Add binding for g_poll() Fixes https://gitlab.gnome.org/GNOME/vala/issues/924 2020-03-11 Rico Tzschichholz <ricotz@ubuntu.com> Release 0.48.1 2020-03-11 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Avoid symbol clashes with "va_*" from "stdarg.h" Make a better choice for naming the local variables in CCodeArrayModule.append_params_array() In addition to 98ab3da89640b8b8a6c67044b4df1194672774bb Fixes https://gitlab.gnome.org/GNOME/vala/issues/923 2020-03-10 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Move ObjectTypeSymbol casting to GTypeModule codegen: Factor out GValueModule codegen: Move GLibValue into a separate source-file codegen: Cleanup GLibValue helper functions tests: Extend "GLib.Value (un-)boxing" test to increase coverage 2020-03-09 Rico Tzschichholz <ricotz@ubuntu.com> gtk4: Update to 3.98+2da445f9 vapi: Update GIR-based bindings 2020-03-08 Rico Tzschichholz <ricotz@ubuntu.com> poppler-glib: Update to 0.85 Fixes https://gitlab.gnome.org/GNOME/vala/issues/922 2020-03-08 Rico Tzschichholz <ricotz@ubuntu.com> vala: Real struct-type without type_id can't be used for GObject property It caused an invalid usage of G_TYPE_POINTER with g_param_spec_boxed(). Fixes https://gitlab.gnome.org/GNOME/vala/issues/921 2020-03-08 Rico Tzschichholz <ricotz@ubuntu.com> glib-2.0: Add missing "type_id" or "has_type_id" attributes to structs See https://gitlab.gnome.org/GNOME/vala/issues/921 codegen: Actually respect "delegate_target" attribute of method/parameter codegen: Inherit "delegate_target" from (base-/base-interface) parameter/property/method codegen: Inherit "array" attributes from (base/base-interface) property codegen: Don't re-evaluate "itype" when "deleg" variable is already available vala: Fix search for Parameter.base_parameter glib-2.0: Memory profiling ("g_mem_*") is deprecated since 2.46 2020-03-07 Rico Tzschichholz <ricotz@ubuntu.com> test: Fix "GenericAccessors" test tests: Extend "GenericAccessors" test to increase coverage 2020-03-07 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Add destroy of parameter in vfunc of delegate property setter The vfunc of an owned setter requires a destroy parameter. Support for this was introduced with 1e90d53dba0eff6ec2babd8292676099308dd4f6 Fixes https://gitlab.gnome.org/GNOME/vala/issues/919 2020-03-06 Rico Tzschichholz <ricotz@ubuntu.com> tests: Rerun a few tests with POSIX profile to increase coverage tests: Split array tests to provide a GLib-independent test codegen: Replace hard-coded "gsize" with resolved "size_t" linux: Don't depend on GLib.Time when using POSIX profile 2020-03-06 Rico Tzschichholz <ricotz@ubuntu.com> codewriter: Output inner interface declarations Missing in d79401ad13a4bc5121f5ae187547c53b6a0a7701 Fixes https://gitlab.gnome.org/GNOME/vala/issues/918 2020-03-03 Rico Tzschichholz <ricotz@ubuntu.com> Release 0.48.0 manual: Update from wiki.gnome.org 2020-03-03 Princeton Ferro <princetonferro@gmail.com> vala: Prevent possible stack-overflow in Class.is_subtype_of() girparser: Delay adding of "GLib.Object" prerequisite to interfaces 2020-03-02 Rico Tzschichholz <ricotz@ubuntu.com> girparser: Decrease return_array_length_idx for transformed function vala: Don't create temp-variable for array concatenation expression Found by scan-build codegen: Don't emit error-variable of CatchClause if not used Found by scan-build codegen: g_clear_error() sets pointer target to NULL already codegen: Add more "low-level" includes of "glib.h" 2020-03-01 Rico Tzschichholz <ricotz@ubuntu.com> vala: Report an internal error for unavailable context and bail If calling CodeContext.get/pop() with an empty stack present then there is no way to recover so bail. 2020-03-01 Princeton Ferro <princetonferro@gmail.com> vala: Fix circular reference in EnumValueType vala: Fix circular reference in Property Add missing CodeContext.pop() calls Release previously pushed CodeContext instances from static list. 2020-03-01 Rico Tzschichholz <ricotz@ubuntu.com> vapi: Update GIR-based bindings 2020-02-24 Rico Tzschichholz <ricotz@ubuntu.com> Release 0.47.92 2020-02-22 Rico Tzschichholz <ricotz@ubuntu.com> vala: Add local-variables to current scope regardless its error state This avoids subsequent errors which are not useful to report when the user actually defined it. 2020-02-20 Rico Tzschichholz <ricotz@ubuntu.com> vala: Skip UsingDirective if error is set 2020-02-20 Princeton Ferro <princetonferro@gmail.com> vala: Handle unavailable type-symbol in Constant.check_const_type() This caused criticals like: vala_typesymbol_is_subtype_of: assertion 'self != NULL' failed 2020-02-20 Rico Tzschichholz <ricotz@ubuntu.com> vala: Don't analyze error-type of errornous catch-clauses vala: Properly set CodeNode.error when reporting an error (2) vala: Don't check for unhandled error if error is set on body This is how Method and CreationMethod behave already. vala: Bail ThrowStatement.get_error_types() if error is set This caused criticals when error_expression is not correct. vala: Rely on more implementations of Block in SwitchSection It was possible that statements in switch-sections were not processed by the semantic-analyzer. Therefore they were not checked for errors and marked as such. vala: Rework ReturnStatement.check to handle "current_return_type == null" Thanks to Daniel Espinosa Ortiz. tests: Add invalid "return" tests to increase coverage 2020-02-20 Rico Tzschichholz <ricotz@ubuntu.com> vapi: Add some fundamental deps files When using --nostdpkg those are important to have. See https://gitlab.gnome.org/GNOME/vala/issues/911 2020-02-19 Rico Tzschichholz <ricotz@ubuntu.com> vala: Prevent possible stack-overflow in Class.is_compact/is_immutable Guard recursive call on base_class in is_compact and is_immutable by checking for cyclic class declaration. 2020-02-19 Princeton Ferro <princetonferro@gmail.com> vala: Method representing a LambdaExpression might be null on an error This caused criticals like: vala_method_get_closure: assertion 'self != NULL' failed 2020-02-19 Rico Tzschichholz <ricotz@ubuntu.com> Add support for sealed classes in bindings The "sealed" keyword was available and parsed for a long time. So simply pick it up information and expose it in the AST. Issue an error when it is used in vala source. See https://gitlab.gnome.org/GNOME/vala/issues/278 2020-02-19 Rico Tzschichholz <ricotz@ubuntu.com> vala: Never add "null" in ForeachStatement.get_defined_variables() See https://gitlab.gnome.org/GNOME/vala/issues/911 2020-02-18 Rico Tzschichholz <ricotz@ubuntu.com> vala: Don't process arguments of MethodCall if error is set This caused criticals like: vala_method_get_closure: assertion 'self != NULL' failed 2020-02-18 Rico Tzschichholz <ricotz@ubuntu.com> vala: Set error and return early on invalid index in ElementAccess This caused criticals like: vala_code_node_check: assertion 'self != NULL' failed 2020-02-18 Rico Tzschichholz <ricotz@ubuntu.com> vala: Don't process initializer of parameter if error is set This caused criticals like: vala_data_type_compatible: assertion 'self != NULL' failed vala_code_node_to_string: assertion 'self != NULL' failed 2020-02-18 Rico Tzschichholz <ricotz@ubuntu.com> tests: Add "GObject and GType class lifetime" tests to increase coverage 2020-02-18 Rico Tzschichholz <ricotz@ubuntu.com> vala: Handle PointerType and VoidType in Constant.check_const_type() This caused criticals like: vala_typesymbol_is_subtype_of: assertion 'self != NULL' failed 2020-02-18 Rico Tzschichholz <ricotz@ubuntu.com> testrunner: Pass G_DEBUG=fatal-warnings to invalid test 2020-02-17 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Don't initialize stack-allocated array with local-constant length Fixes https://gitlab.gnome.org/GNOME/vala/issues/910 Release 0.47.91 manual: Update from wiki.gnome.org pango: Update and add harfbuzz-gobject as dependency See https://gitlab.gnome.org/GNOME/pango/issues/458 2020-02-17 Rico Tzschichholz <ricotz@ubuntu.com> vapi: Add harfbuzz-gobject binding Mark it as experimental while is it subject to change. Fixes https://gitlab.gnome.org/GNOME/vala/issues/909 2020-02-16 Rico Tzschichholz <ricotz@ubuntu.com> gtk4: Update to 3.98.0+410dbdf6 girparser: Report a warning for conflicting class and instance methods gstreamer: Update from 1.17.0+ git master webkit2gtk-4.0: Update to 2.27.90 gtk+-*.0,gtk4: Fix iter parameter of TextIter.order() Fixes https://gitlab.gnome.org/GNOME/vala/issues/908 2020-02-10 Rico Tzschichholz <ricotz@ubuntu.com> vala: Properly set CodeNode.error when reporting an error 2020-02-05 Rico Tzschichholz <ricotz@ubuntu.com> testrunner: Invalid tests and therefore expected failures must return 1 vala: Don't ignore errors in Parameter and acknowledge them further This avoids useless subsequent errors and possible criticals while operating on broken AST. vala: Fix base-access check for compact classes (2) See 84de99560ee96afa8cb80db3b342d584a72188cd Correct a few spelling errors in user visible strings 2020-02-04 Rico Tzschichholz <ricotz@ubuntu.com> Release 0.47.4 2020-02-03 Rico Tzschichholz <ricotz@ubuntu.com> vala: Use some replacement for an unavailable identifier string parser: Make parse_identifier more robust ... when --keep-going was passed 2020-02-03 Princeton Ferro <princetonferro@gmail.com> parser: Make parse_embedded_statement_without_block more robust ... when --keep-going was passed 2020-02-03 Rico Tzschichholz <ricotz@ubuntu.com> parser: Make parse_argument_list/parse_initializer more robust ... when --keep-going was passed or the input appears to be incomplete parser: Handle delimiters inside of parse_argument_list/parse_initializer parser: Deal with certain missing delimiters and let the parser continue codegen: Make *_try_id specific to emit-context instead being global states vapi: Update GIR-based bindings gtk4: Update to 3.96.0+4ab12ab7 2020-02-01 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Explicitly include <glib.h> as needed for null-literal codegen: Explicitly include header for length-type of arrays vala: Inline allocated arrays require length or initializer Fixes https://gitlab.gnome.org/GNOME/vala/issues/903 2020-01-30 Rico Tzschichholz <ricotz@ubuntu.com> tests: Add more "parser" tests to increase coverage 2020-01-29 Princeton Ferro <princetonferro@gmail.com> vala: Improve detection of recursive struct declarations Introduced with da2d58c95f39fd142dc845f5df9cdcd55be32476 Fixes https://gitlab.gnome.org/GNOME/vala/issues/902 2020-01-28 Corentin Noël <corentin@elementary.io> javascriptcoregtk-4.0: Make JSC.Class usable by defining the right callback 2020-01-25 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Handle different type-symbols in visit_base_access() It is required to distinguish between classes, compact classes, structs and simple-type structs. Fixes https://gitlab.gnome.org/GNOME/vala/issues/901 2020-01-25 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Skip StructRegisterFunction for boolean/integer/floating types Fixes https://gitlab.gnome.org/GNOME/vala/issues/901 vala: Fix base-access check for compact classes See 84de99560ee96afa8cb80db3b342d584a72188cd 2020-01-22 Rico Tzschichholz <ricotz@ubuntu.com> Release 0.47.3 2020-01-21 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Cast instance parameter in member-initializer for base-properties This fixes warnings issued with -Wincompatible-pointer-types Fixes https://gitlab.gnome.org/GNOME/vala/issues/899 2020-01-21 Simon Werbeck <simon.werbeck@gmail.com> codegen: Commonized generation of public/private fields codegen: Refactor generation of fields for ccode structs Introduce a common method to add field including its possible composite fields for array and delegate types. 2020-01-20 Rico Tzschichholz <ricotz@ubuntu.com> vapi: Update GIR-based bindings gstreamer: Update from 1.17.0+ git master gtk4: Update to 3.96.0+7e2e92a8 webkit2gtk-4.0: Update to 2.27.4 Regenerate for GIR-based bindings to apply explicit ctype attributes girparser: Apply explicitly given ctype metadata attributes on callables girparser: Improve source_reference of parameters 2020-01-20 Princeton Ferro <princetonferro@gmail.com> vala: Always bail if there are semantic errors Previously introduced by 1430c461d4a45026331663989113feb195588255 2020-01-15 Rico Tzschichholz <ricotz@ubuntu.com> Add further support for params arrays This brings support for params-arrays in normal vala source code. The parameter is a null-terminated array which is represented as variadic parameter in generated C. This feature is considered experimental for now. Fixes https://gitlab.gnome.org/GNOME/vala/issues/128 2020-01-14 Rico Tzschichholz <ricotz@ubuntu.com> glib-2.0: Let (u)int.try_parse() return false if there is an unparsed part This is how our other try_parse() implementions behave. 2020-01-14 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Use result value of assignment rather than its computation An inline assignment of an array-length, like int j = --i.length; resulted in a faulty tranformation i_length1 = i_length1 - 1; j = i_length1 - 1; Regression of 80d4bf61e0c3100c839f3fdbcb5218996b6afd5f Fixes https://gitlab.gnome.org/GNOME/vala/issues/895 2020-01-13 Princeton Ferro <princetonferro@gmail.com> parser: Extend source_reference of parenthesized expr to cover "( ... )" 2020-01-11 Jeremy Philippe <jeremy.philippe@gmail.com> vala: Fix short-circuiting behavior of coalescing operator It is closely modeled after how ConditionalExpression implements short-circuiting behavior. Fixes https://gitlab.gnome.org/GNOME/vala/issues/534 2020-01-08 Jeremy Philippe <jeremy.philippe@gmail.com> vala: Non-nullable value-type in coalesce expression needs to be copied The code generated by the coalesce expression could lead to stale pointers to the stack if the right-side expression is an immediate value (such as an integer literal or a struct). Fixes https://gitlab.gnome.org/GNOME/vala/issues/893 2020-01-08 Jeremy Philippe <jeremy.philippe@gmail.com> vala: Infer target_type in coalescing expressions Correctly handle reference tranfers of inner expressions. Fixes https://gitlab.gnome.org/GNOME/vala/issues/892 2020-01-07 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Don't set implemenation of interface property to its own A base-class is allowed to provide interface implementations for methods and properties. If those exist without an explicit implementation in the sub-class we then we end up finding the interface property itself. Using that is obviously wrong and causes a cyclic call stack. Fixes https://gitlab.gnome.org/GNOME/vala/issues/891 2020-01-07 Rico Tzschichholz <ricotz@ubuntu.com> Release 0.47.2 tests: Fix make distcheck vapi: Update GIR-based bindings gstreamer: Update from 1.17.0+ git master gtk4: Update to 3.96.0+448a4023 2020-01-06 Jeremy Philippe <jeremy.philippe@gmail.com> glib-2.0: Reset errno before calling strto*() functions. Standard library functions only set errno on error and these particular functions return an "in-band" error indicator (the error indicator is also a normal return value). 2020-01-06 Jeremy Philippe <jeremy.philippe@gmail.com> genie: Fix parser's inner state when a struct is declared after a class If the struct is declared after a class and has a default creation method, the parser will raise a "missing return type in method ..." error. The cause of the bug is that the global 'class_name' variable is not updated when the parser encounters a struct, so the previous value is used, and if a class has been parsed before, this value will be the name of the class instead of the struct. 2019-12-21 Rico Tzschichholz <ricotz@ubuntu.com> compiler: Add "--depfile" option writing package dependencies to given file This is meant to be used by build systems before invoking rebuilds 2019-12-21 Jeremy Philippe <jeremy.philippe@gmail.com> vala: Allow to override base interface properties explicitly 2019-12-09 Rico Tzschichholz <ricotz@ubuntu.com> vapi: Update GIR-based bindings vala: Check before accessing "name" of parent_symbol which might be null 2019-12-06 Rico Tzschichholz <ricotz@ubuntu.com> glib-2.0: Add new symbols from 2.64 glib-2.0: Add to_string() for GLib.PollFd and GLib.Pid codegen: Don't attribute *_get_type_once() with G_GNUC_CONST Follow up on 6b03920e39bc3900148d02ea5c2ddc13d6e91091 2019-12-05 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Improve *_get_type() fast path (requires glib >= 2.58) Uses G_GNUC_NO_INLINE if glib >= 2.58 is targetted otherwise the compiler is free to inline the separate *_get_type_once() function. Follows the changes introduced in glib by https://gitlab.gnome.org/GNOME/glib/commit/e924f777369710221c3e0a9d7bf40392a27d1fa4 See https://gitlab.gnome.org/GNOME/glib/issues/541 and https://gitlab.gnome.org/GNOME/vala/issues/879 2019-12-05 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Remove unreachable code in TypeRegisterFunction.init_from_type() Not used since 79b1a3e39a3d2bac9fbe40c99336b3b89e374571 2019-12-03 Rico Tzschichholz <ricotz@ubuntu.com> vala: Don't allow "va_list" as return-type or type of fields Fixes https://gitlab.gnome.org/GNOME/vala/issues/884 2019-12-02 Rico Tzschichholz <ricotz@ubuntu.com> vala: Improve error message for unsupported inner types and declarations 2019-11-27 Rico Tzschichholz <ricotz@ubuntu.com> gstreamer: Update from 1.17.0+ git master gtk4: Update to 3.96.0+9f69c7f3 webkit2gtk-4.0: Update to 2.27.3 test: Add some "method-call" tests to increase coverage vala: Don't report further errors if MemberInitializer.check() failed vala: Don't ignore inner errors in Block and acknowledge them further This avoids useless subsequent errors and possible criticals while operating on broken AST. 2019-11-26 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Fix precondition in creation method of structs vala: Include type_name to default implementation of CCode.to_string() 2019-11-25 Rico Tzschichholz <ricotz@ubuntu.com> scanner: Improve check of "\u" escape sequence scanner: "\x" requires two hex digits at most and ignore leading zero #2 vala: Drop Namespace.remove_struct() 2019-11-24 Rico Tzschichholz <ricotz@ubuntu.com> vala: Let the parser have set namespace members as static ... and move error reporting for invalid members into check() parser: Implicit "main" method of main-block is public and static scanner: "\x" requires two hex digits at most tests: Add "member-access" tests to increase coverage tests: Add "scanner" tests to increase coverage tests: Extend "float and integer" tests to increase coverage 2019-11-21 Rico Tzschichholz <ricotz@ubuntu.com> pango: Update to 1.44+ vapi: Update GIR-based bindings gtk4: Update to 3.96.0+5e11a2ae gstreamer: Update from 1.17.0+ git master 2019-11-21 Rico Tzschichholz <ricotz@ubuntu.com> vala: Add a basic parameter check for [Print] methods and add tests to increase coverage Introdruced with ea8cd97480a7a560cfd8ae3f060f63638b7d9de4 2019-11-19 Rico Tzschichholz <ricotz@ubuntu.com> tests: Fix and make fast-vapi test actually fatal vala: Keep formal_target_type when transforming method-call/object-creation Fixes https://gitlab.gnome.org/GNOME/vala/issues/835 2019-11-18 Rico Tzschichholz <ricotz@ubuntu.com> vala: Improve handling of "void" as generic type Fixes https://gitlab.gnome.org/GNOME/vala/issues/878 vala: VoidType is actually compatible with itself See https://gitlab.gnome.org/GNOME/vala/issues/878 2019-11-17 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Use result of CCodeBaseModule.get_this_type() vala: Check "this_parameter" if available vala: Unify "this_parameter" creation using SemanticAnalyzer.get_this_type() 2019-11-17 Rico Tzschichholz <ricotz@ubuntu.com> vala: Allow SemanticAnalyzer.get_this_type() to handle more symbols and append possible type-parameters to match get_data_type_for_symbol() Suported symbol types are Method, Property, Constructor and Destructor 2019-11-17 Rico Tzschichholz <ricotz@ubuntu.com> gidl/girparser: Creation methods must not be marked as static vala: scope "owner" of constructor/destructor subroutines is already set 2019-11-16 Rico Tzschichholz <ricotz@ubuntu.com> tests: Add "invalid address-of" test to increase coverage 2019-11-15 Rico Tzschichholz <ricotz@ubuntu.com> vala: Don't require constant initializer in fast-vapi Regression of 984c034256de3830d6daa0ab6f5eff108dea09bb Extend --fast-vapi test by using --use-fast-vapi See https://github.com/dino/dino/issues/646 and https://gitlab.gnome.org/GNOME/vala/issues/461 2019-11-14 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Share generate_struct_*() helpers between classes and interfaces codegen: Fix vfunc signature of delegate-typed property in interface vala: Report error for async creation expression without yield codegen: Fix support of dynamic DBus methods 2019-11-12 Rico Tzschichholz <ricotz@ubuntu.com> test: Add "GLib.Closure parameter" test to increase coverage test: Add "GLib.Log constants" tests to increase coverage 2019-11-11 Rico Tzschichholz <ricotz@ubuntu.com> Release 0.47.1 Sync NEWS from 0.46 2019-11-09 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Commonize the determining of return-type for delegates and methods codegen: Use SemanticAnalyzer.get_data_type_for_symbol() vala: Make Callable derive from Symbol This is a better choice as common base-class. vala: Set GLib.Error as symbol of error-types if no error-domain was given glib-2.0: Add "has_typedef = false" to custom MarkupParser*Func delegates 2019-11-08 Rico Tzschichholz <ricotz@ubuntu.com> vala: Improve check of delegate assignments and initializers Fixes https://gitlab.gnome.org/GNOME/vala/issues/875 2019-11-06 Rico Tzschichholz <ricotz@ubuntu.com> vala: Restore DestroysInstance behaviour for non-compact classes Although this attribute is not meant to be applied on methods of reference counted classes, the original behaviour should not be changed silently. Regression of 3d83f31a659bd179e8a867dd054126ac6f22e82b Fixes https://gitlab.gnome.org/GNOME/vala/issues/873 2019-11-06 Rico Tzschichholz <ricotz@ubuntu.com> compiler: Add "--list-sources" options to output a list of all sources Fixes https://gitlab.gnome.org/GNOME/vala/issues/872 vapi: Update GIR-based bindings gstreamer: Update from 1.17.0+ git master 2019-11-06 Ole André Vadla Ravnås <oleavr@gmail.com> vala: Add missing gmodule-2.0 to Requires.private of pkg-config file 2019-11-06 Rico Tzschichholz <ricotz@ubuntu.com> libvaladoc: Move gmodule-2.0 to Requires.private of pkg-config file It is not required by the public API 2019-11-05 Rico Tzschichholz <ricotz@ubuntu.com> vala: Support "unowned var" to declare local variables Based on patch by Aaron Andersen Fixes https://gitlab.gnome.org/GNOME/vala/issues/152 2019-11-05 Rico Tzschichholz <ricotz@ubuntu.com> gtk4,gtk4-unix-print: Update to 3.96.0+fbea677a g-i: Ignore flags like -mfpmath=sse, -msse or -msse2 g-i: Avoid use of uninitialized "markup" warning g-i: Calculate size correctly, avoid use-after-free gio-2.0: Use custom TaskReadyCallback delegate in Task.report*_error() vala: Don't mark method as used on recursive usage of itself See https://gitlab.gnome.org/GNOME/vala/issues/100 2019-11-05 Rico Tzschichholz <ricotz@ubuntu.com> vala: Write value of constants/enums in fast-vapi if they are constant only Introduced by 89a1243a4f066cc9652b26f86eb94fd038874982 Fixes https://gitlab.gnome.org/GNOME/vala/issues/461 2019-11-04 Rico Tzschichholz <ricotz@ubuntu.com> vala: Add GenericType.dup/destroy fields This provides direct access to the according values of generic-types and type-parameters. Fixes https://gitlab.gnome.org/GNOME/vala/issues/190 2019-11-04 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Make type-parameter properties readable Those are immutable while being construct-only properties. See https://gitlab.gnome.org/GNOME/vala/issues/190 2019-11-03 Rico Tzschichholz <ricotz@ubuntu.com> tests: Add invalid "multiple base classes" tests to increase coverage vala: Improve error reporting for invalid interface prerequisites Fixes https://gitlab.gnome.org/GNOME/vala/issues/437 codegen: G_DEFINE_AUTOPTR_CLEANUP_FUNC must not declared more than once Follow on f413cb32470d9c2598416772bc0166c6f974ec9f 2019-11-01 Rico Tzschichholz <ricotz@ubuntu.com> girwriter: Fix position of priv field (--abi-stability) See https://gitlab.gnome.org/GNOME/vala/issues/850 girwriter: Add readable="0"/private="1" attribute to type-specific fields 2019-10-31 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Fix setting of generic-type properties for gobject style chain up Correctly refer to their canonical names. See https://bugzilla.gnome.org/show_bug.cgi?id=654702 2019-10-29 Florian Brosch <flo.brosch@gmail.com> vala: Improve error message for arrays as type arguments vala: Do not allow to change .length of arrays with fixed length This would result in invalid C code. vala: Do not allow to .resize() on arrays with fixed length 2019-10-29 Florian Brosch <flo.brosch@gmail.com> vala: Infer array length of inline allocated arrays for fields Don't allow non-arrays as initializer for inline allocated arrays Same as 0f0bca7e0519af13d9217fbca2c20ce67cd3baba See https://bugzilla.gnome.org/show_bug.cgi?id=644046 2019-10-29 Florian Brosch <flo.brosch@gmail.com> vala: Do not allow += for arrays with fixed length 2019-10-29 Rico Tzschichholz <ricotz@ubuntu.com> gtk+-*.0: Fix iter parameter of TextBuffer.backspace() glib-2.0: Add new symbols from 2.64 2019-10-29 Alberto Fanjul <albertofanjul@gmail.com> gtksourceview-2.0: Fix iter parameter in SourceBuffer.backward/forward/... 2019-10-24 Rico Tzschichholz <ricotz@ubuntu.com> vala: Don't falsely resolve binary-expression to bool Fixes https://gitlab.gnome.org/GNOME/vala/issues/869 2019-10-23 Rico Tzschichholz <ricotz@ubuntu.com> linux: Add memfd_create(2) tests: Add invalid "silent cast of array" test to increase coverage tests: Add "typeof" tests for fundamental GLib.Type 2019-10-23 Rico Tzschichholz <ricotz@ubuntu.com> vala: Issue warning when passing arrays to typeof(), except for "string[]" Passing arrays resolve to G_TYPE_INVALID, and "string[]" to G_TYPE_STRV See https://gitlab.gnome.org/GNOME/vala/issues/868 2019-10-22 Rico Tzschichholz <ricotz@ubuntu.com> vapi: Update GIR-based bindings webkit2gtk-4.0: Update to 2.27.2 girparser: Detect and replace "-" in parameter names ... to avoid generating bindings with invalid syntax. glib-2.0: Check errno for EINVAL and ERANGE in *.try_parse() 2019-10-21 Rico Tzschichholz <ricotz@ubuntu.com> tests: Make (u)int.try_parse() tests more 32bit friendly libuse-1.0: Remove unused private "malloc" binding posix: Bind some essential memory allocation functions glib-2.0: Add (u)int.try_parse() See https://gitlab.gnome.org/GNOME/vala/issues/649 2019-10-21 Rico Tzschichholz <ricotz@ubuntu.com> glib-2.0: Add optional "base" parameter to *.parse/try_parse() of integers Appending optional parameters to method implementations in VAPIs is not an API break. Fixes https://gitlab.gnome.org/GNOME/vala/issues/223 2019-10-20 Rico Tzschichholz <ricotz@ubuntu.com> libusb-1.0: Don't depend on glib-2.0 2019-10-19 Evan Nemerson <evan@coeus-group.com> libusb-1.0: Use a wrapper for Context.get_device_list() See https://gitlab.gnome.org/GNOME/vala/issues/151 2019-10-19 Rico Tzschichholz <ricotz@ubuntu.com> vala: Allow direct access to array-typed members in POSIX profile codegen: Correctly transform arguments of Array.resize() for realloc (POSIX) codegen: Create alternative for G_N_ELEMENTS in POSIX profile codegen: Add required includes or generate used symbols (POSIX) codegen: Replace specific hardcoded TRUE/FALSE references (POSIX) codegen: Make destroy_value() handle array-types in POSIX profile codegen: Replace specific hardcoded "GDestroyNotify" references (POSIX) codegen: Use alternative for g_memdup in POSIX profile codegen: Use alternative for g_renew in POSIX profile codegen: Use alternative for g_new0 in POSIX profile codegen: Use alternative for g_free in POSIX profile codegen: Replace hardcoded "gpointer" references (POSIX) Only applied up to CCodeDelegateModule codegen: Replace hardcoded "gint"/"int" references (POSIX) Only applied up to CCodeDelegateModule codegen: Replace hardcoded "gboolean" references (POSIX) Only applied up to CCodeDelegateModule codegen: Use alternative for g_strcmp0 in POSIX profile 2019-10-18 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Reduce code duplications when generation base-access valadoc: Rename FormalParameter to Parameter tests: Extend "property base-access" interface test to increase coverage 2019-10-17 Rico Tzschichholz <ricotz@ubuntu.com> tests: Fix makefile syntax :( codegen: Use G_TYPE_INSTANCE_GET_INTERFACE to get vtable for base-access Usage of the pre-assigned *_parent_iface field is only possible in classes which explicitly implement an interface. tests: Add "default-handler with base-access" signal test to increase coverage tests: Extent "post-condition" virtual method test to increase coverage codegen: Drop unreachable and misplaced code Dropped with 8aa6299ea7a39e7a652ce3896324aaa47af99a18 and falsely reintroduced with 7a429688cdf0fd16cc1503a7666681792e309da8 tests: Extent "girwriter" test to increase coverage 2019-10-16 Rico Tzschichholz <ricotz@ubuntu.com> girwriter: Restore behaviour for delegate-types Regression introduced by 061c02a91056b2f8c8b4cc985db4aec9c0a235fc vapi: Update GIR-based bindings webkit2gtk-4.0: Update to 2.27.1 gstreamer: Update from 1.17.0+ git master glib-2.0: Add binding for "warning_once()" since 2.64 vala: Accept interface as inner type for object-type symbols Fixes https://gitlab.gnome.org/GNOME/vala/issues/697 2019-10-16 Rico Tzschichholz <ricotz@ubuntu.com> vala: Respect --abi-stability in Class/Interface.accept_children() Add common implementation to ObjectTypeSymbol.accept_children() and match generate_class_struct_declaration() and generate_interface_declaration() Accepting fields earlier for interfaces in not a concern while there is no support for instance/class fields yet. 2019-10-16 Rico Tzschichholz <ricotz@ubuntu.com> glib-2.0: Add new symbols from 2.64 2019-10-15 Rico Tzschichholz <ricotz@ubuntu.com> tests: Add "wrongly named constructor" tests codegen: ErrorType is not a Symbol 2019-10-14 Rico Tzschichholz <ricotz@ubuntu.com> vala: Use private argument_list field instead of get_argument_list() 2019-10-13 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Replace if-else-tree with switch in CCodeBaseModule.visit_binary_expression() vala: Replace if-else-tree with switch in BinaryExpression.check() vala: Replace if-else-tree with switch in UnaryExpression.check() 2019-10-11 Rico Tzschichholz <ricotz@ubuntu.com> parser: `owned` is not allowed on Constants This avoids criticals and broken c-code. libvaladoc: Fix ownership declarations of Constants 2019-10-10 Rico Tzschichholz <ricotz@ubuntu.com> Sync NEWS from 0.46 glib-2.0: Guard against passing null source to GLib.Memory.copy() Found by -fsanitize=undefined libvaladoc: Remove TypeReference.pass_ownership API libvaladoc: Drop unused code libvaladoc: Fix parameter and property ownership declarations valadoc/tests: Use type for property which is compatible with owned getter 2019-10-09 Simon Werbeck <simon.werbeck@gmail.com> codegen: Fix custom reference-counting for compact classes This fix defers emitting G_DEFINE_AUTOPTR_CLEANUP_FUNC when a compact class defines custom unref function and set by ccode "unref_function". codegen: Make CCodeBaseModule.generate_method_declaration() return bool This is how CCodeBaseModule.generate_enum_declaration() works already. 2019-10-09 Michael Gratton <mike@vee.net> glib-2.0: Add binding for "gettext()" Despite this actually comes from "libintl.h" refer to "gi18n-lib.h" to trigger GETTEXT_PACKAGE error. Fixes https://gitlab.gnome.org/GNOME/vala/issues/864 2019-10-08 Rico Tzschichholz <ricotz@ubuntu.com> Regenerate GIR-based bindings to pick up copy/free attributes Fixes https://gitlab.gnome.org/GNOME/vala/issues/863 codegen: Use gtype-boxed API for structs with "g_boxed_free" attribute See https://gitlab.gnome.org/GNOME/vala/issues/863 girparser: Add required copy/free attributes for gtype-boxed structs See https://gitlab.gnome.org/GNOME/vala/issues/863 2019-10-05 Rico Tzschichholz <ricotz@ubuntu.com> vapi: Perform syntax and semantic check for all bindings on "make check" vala: Don't issue a warning for non-public struct fields in bindings tokyocabinet: Fix deprecation warnings gnutls: Fix "use of possibly unassigned parameter" warnings avahi-client: Fix "use of possibly unassigned parameter" warnings xcb: Fix "missing return statement at end of subroutine body" errors 2019-10-04 Rico Tzschichholz <ricotz@ubuntu.com> vala: Fix compatible/disposable check between structs and their subtypes This fixes memory leaks due to missing copy/destroy and improperly created dup functions and allows direct assignment between structs and their subtypes. Fixes https://gitlab.gnome.org/GNOME/vala/issues/861 2019-10-04 Rico Tzschichholz <ricotz@ubuntu.com> tests: Extend "fastvapi" test to increase coverage 2019-10-03 Rico Tzschichholz <ricotz@ubuntu.com> vala: Add DelegateType.target/destroy fields to access its user-data Fixes https://gitlab.gnome.org/GNOME/vala/issues/857 vala: Add delegate_target_type and delegate_target_destroy_type to SemanticAnalyzer This is a plain copy from CCodeBaseModule. 2019-10-03 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Support gobject property of delegates not carrying their target Properly evaluate given delegate_target attribute on properties to create the expected API. Fixes https://gitlab.gnome.org/GNOME/vala/issues/856 2019-10-03 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Allow passing/retrieving any delegate to/from varargs parameter Initialize target/notify cvalues of delegate-typed arguments/result of inferred varargs parameters and va_list.arg() calls. Only the actual function pointer will be passed or retrieved. The target and destroy values will be null. 2019-10-03 Rico Tzschichholz <ricotz@ubuntu.com> tests: Add dedicated "delegate without target through varargs" test codegen: Silence warning about copying if delegate doesn't carry its target codegen: Initialize delegate temp-var which is assigned by property getter Found by -Werror=maybe-uninitialized codegen: Preserve full access to delegate variables and its target/destroy cvalues Don't unconditionally set delegate_target_destroy_notify_cvalue to NULL for any variable access. glib-2.0: Set default_value attribute for GLib.pointer docs: Mention requirement of autoconf-archive as build-dependency 2019-10-02 Rico Tzschichholz <ricotz@ubuntu.com> vala: Unify backing symbol instance of data-types (2) 2019-10-02 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Support gobject property of null-terminated array without length Properly evaluate given array_length and array_null_terminated attributes on properties to create the expected API. Fixes https://gitlab.gnome.org/GNOME/vala/issues/855 2019-10-01 Rico Tzschichholz <ricotz@ubuntu.com> Sync NEWS from 0.46 ccode: Implicitly register declaration for added CCodeFunction This will prevent the user's vala source to override implicitly defined functions of vala's boilerblate for a type. codegen: Accept children after generating type specific declarations 2019-09-30 Rico Tzschichholz <ricotz@ubuntu.com> vala: Micro optimizations vala: Drop DelegateType.to_qualified_string() which is duplicated code and not needed while using DataType.type_symbol for delegate-types too. vala: Move common implementations to CallableType vala: Unify backing symbol instance of data-types vala: Micro optimizations for Assignment vala: Micro optimizations for MemberAccess vala: Micro optimizations for MethodCall vala: Micro optimizations for SemanticAnalyzer valadoc: Follow rename of DataType data_type property to type_symbol codegen: Follow rename of DataType data_type property to type_symbol vala: Rename DataType.data_type property to DataType.type_symbol vala: Return unowned references of internal helper symbols vala: Let DataType.get_return_type() return an unowned reference vala: Let methods return an unowned reference to internal collections Correctly state ownership in documentation since those were never a copy. gtk4: Constructors of Gtk.MediaFile needs to be static functions gtk4: Update to 3.96.0+bcea9652 gstreamer: Update from 1.17.0+ git master 2019-09-29 Rico Tzschichholz <ricotz@ubuntu.com> vala: Perform stricter compatibility check for delegates This currently requires to consider compatible delegates as equal. 2019-09-26 Rico Tzschichholz <ricotz@ubuntu.com> vala: Allow to override virtual interface implementations Fixes https://gitlab.gnome.org/GNOME/vala/issues/852 2019-09-25 Rico Tzschichholz <ricotz@ubuntu.com> vala: Add package_name to missing member error for external MemberAccess This provides information about the origin of the accessed symbol. vala: Warn when directly accessing member of silent cast-expression "foo as TypeSymbol" may result in `null' and accessing it without check is not recommended. If the invocation context provides information that `null' is not a possible result then use an unsafe cast "(TypeSymbol) foo". codegen: Move type-argument checks to SemanticAnalyzer and don't apply type-argument check on external symbols. codegen: Move a bunch of methods to static functions Bump version suffix to 0.48 2019-09-24 Rico Tzschichholz <ricotz@ubuntu.com> vala: Output "params" qualifier of parameters vala: Report dedicated error message for params-array parameter mismatch tests: Add more "invalid expression" tests to increase coverage tests: Add "main block" parser test to increase coverage tests: Extent "post-condition" creation method test to increase coverage tests: Extend preprocessor-vala test with VALA_0_46 2019-09-23 Rico Tzschichholz <ricotz@ubuntu.com> tests: Add invalid "parser" tests to increase coverage tests: Add "qualified member/symbol access" tests to increase coverage 2019-09-22 Rico Tzschichholz <ricotz@ubuntu.com> gio-unix-2.0: Fix DesktopAppInfo.get_string(), UnixFDMessage.steal_fds() ... and DesktopAppInfoLookup.get_default_for_uri_scheme() Additionally adjust some header references. 2019-09-22 Rico Tzschichholz <ricotz@ubuntu.com> Directly use "memmove()" while g_memmove() is deprecated since 2.40 gobject-2.0: Some cherry-picking from GIR generated binding valadoc: Explicitly pass --pkg libgvc ... to deal with a race with valadoc@PACKAGE_SUFFIX@.deps generation Revert "libvaladoc: Include valadoc@PACKAGE_SUFFIX@.deps into tarball" This reverts commit 53b09d40ae78f119e4efc853663db43b9a1ff7b8. 2019-09-18 Arnaud Bonatti <arnaud.bonatti@gmail.com> glib-2.0: DateTime.from_iso8601() can take a null TimeZone 2019-09-17 Rico Tzschichholz <ricotz@ubuntu.com> libvaladoc: Include valadoc@PACKAGE_SUFFIX@.deps into tarball While valadoc@PACKAGE_SUFFIX@.vapi is included there is no reason to exclude this one. 2019-09-16 Rico Tzschichholz <ricotz@ubuntu.com> sqlite3: Fix use of possibly unassigned parameter `errmsg' Release 0.46.1 2019-09-15 Rico Tzschichholz <ricotz@ubuntu.com> gio-unix-2.0: Add UnixMountEntry.get_root_path() since 2.60 gstreamer: Update from 1.17.0+ git master gtk4: Update to 3.96.0+97231ca2 2019-09-15 Rico Tzschichholz <ricotz@ubuntu.com> gtk+-3.0: Fix ownership mismatch of ColorButton.rgba property-accessor Regression of 9a5cc9e58e160d8bb5308fe5bfc8b433d8c269f5 in combination with our gtk+-3.0 metadata: // Keep properties non-abstract as before *#interface.*#property abstract=false Fixes https://gitlab.gnome.org/GNOME/vala/issues/844 2019-09-14 Rico Tzschichholz <ricotz@ubuntu.com> vala: Run FlowAnalyzer on all given source-files This is a regression triggered by 8f3a0a0b64e0c7fbcc9231c3058247920dd6eeda where we rely on information gathered by it and its changes to the AST. Silence "never used" warnings for external-package symbols. Fixes https://gitlab.gnome.org/GNOME/vala/issues/843 2019-09-09 Rico Tzschichholz <ricotz@ubuntu.com> vapi: Update GIR-based bindings valadoc: Explicitly pass --pkg libvala@PACKAGE_SUFFIX@ as for doclets/tests 2019-09-05 Rico Tzschichholz <ricotz@ubuntu.com> Release 0.46.0 2019-09-04 Rico Tzschichholz <ricotz@ubuntu.com> vala: Reject unary operations on nullable integer/floating and boolean type Prefer to report a semantic error rather than creating invalid c-code. Fixes https://gitlab.gnome.org/GNOME/vala/issues/772 2019-09-04 Rico Tzschichholz <ricotz@ubuntu.com> libvaladoc: Don't traverse into close circles with parent SymbolResolver.resolve_thrown_list() adds error-type nodes which are allowed to be NodeType.ERROR_DOMAIN and NodeType.CLASS. This can result in a cycle on invoking Node.accept_all_children(), Node.parse_comments() or Node.check_comments() Fixes https://gitlab.gnome.org/GNOME/vala/issues/829 2019-09-03 Rico Tzschichholz <ricotz@ubuntu.com> vala: Exclude nullable simple-type structs from gobject-property support Defining "bool? { owned get; set; }" in a GObject class resulted in: "error: The type `bool' doesn't declare a GValue take function" Fixes a regression of 3af1cfb3bf6b1d3d4a8116382e6eda702f7335bf and reverts to the old behavior for nullable simple-type structs. 2019-09-03 Jeremy Philippe <jeremy.philippe@gmail.com> tests: Add regression test for genie struct construction 2019-09-03 Rico Tzschichholz <ricotz@ubuntu.com> genie: Creation methods should not be static Revealed by ba8122d3a64e44eac44c5254c93fb181df601b0a 2019-09-02 Rico Tzschichholz <ricotz@ubuntu.com> json-glib-1.0: Change abstract methods of Serializable to virtual All those interface methods have default implementations. Additionally drop superfluous metadata. Fixes https://gitlab.gnome.org/GNOME/vala/issues/840 2019-09-02 Rico Tzschichholz <ricotz@ubuntu.com> Add boolean CodeContext.keep_going and corresponding compiler option If keep_going is set then check() will continue after hitting errors in resolver and analyzer. 2019-09-02 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Don't unconditionally add/return internal "result" variable Found by -Werror=unreachable-code See https://gitlab.gnome.org/GNOME/vala/issues/838 2019-09-02 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Don't cause double-free due append_local_free() in uncaught-errors See https://gitlab.gnome.org/GNOME/vala/issues/838 2019-09-02 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Don't append unreachable clean-up section of Block Found by -Werror=unreachable-code See https://gitlab.gnome.org/GNOME/vala/issues/838 2019-09-02 Jeremy Philippe <jeremy.philippe@gmail.com> glib-2.0: Add missing "DestroysInstance" attributes to Mutex/Locker API glib-2.0: Fix MutexLocker binding 2019-09-02 Jeremy Philippe <jeremy.philippe@gmail.com> glib-2.0: Use 'GStatBuf' as ctype for 'Stat' The documentation of g_stat () states: In Microsoft's compiler, by default struct stat means one with 64-bit time fields while in MinGW struct stat is the legacy one with 32-bit fields. To hopefully clear up this mess, the gstdio.h header defines a type GStatBuf which is the appropriate struct type depending on the platform and/or compiler being used. On POSIX it is just struct stat, but note that even on POSIX platforms, stat() might be a macro. 2019-09-02 Jeremy Philippe <jeremy.philippe@gmail.com> codewriter: Write "weak" modifier for properties 2019-09-02 Rico Tzschichholz <ricotz@ubuntu.com> girparser/gidlparser: "value_owned = true" by default for property types This represents an internal implementation detail which is available from vala sources and it does not effect the ownership of property accessors. tests: Add dedicated "property ownership" tests 2019-09-01 Rico Tzschichholz <ricotz@ubuntu.com> gstreamer: Update from 1.17.0+ git master gio-2.0: Drop metadata for NativeSocketAddress 2019-08-29 Rico Tzschichholz <ricotz@ubuntu.com> tests: Extend "pre- and post-condition" test to increase coverage 2019-08-28 Rico Tzschichholz <ricotz@ubuntu.com> vala: Move find_parent_type_symbol/get_this_type() to SemanticAnalyzer glib-2.0: Add new symbols from 2.62 vapi: Update GIR-based bindings gstreamer: Update from 1.17.0+ git master Regenerate GIR-based bindings to pick up out/ref instance-parameters gtk4: Regenerate to pick up DestroyInstance attributes Fixes https://gitlab.gnome.org/GNOME/vala/issues/836 girparser: Improve evalution of instance-parameter information See https://gitlab.gnome.org/GNOME/vala/issues/836 2019-08-21 Rico Tzschichholz <ricotz@ubuntu.com> libsoup-2.4: soup_auth_new is not a constructor but a factory method Fixes https://gitlab.gnome.org/GNOME/vala/issues/791 vapi: Update GIR-based bindings gstreamer: Update from 1.17.0+ git master 2019-08-19 Rico Tzschichholz <ricotz@ubuntu.com> Release 0.45.91 2019-08-17 Rico Tzschichholz <ricotz@ubuntu.com> vala: Add missing closing brace/bracket in to_string() 2019-08-16 Rico Tzschichholz <ricotz@ubuntu.com> vala: Init formal_target_type of ArrayCreationExpr from InitializerList formal_target_type is expected to be set when inferring generic type parameters. Fixes https://gitlab.gnome.org/GNOME/vala/issues/835 2019-08-08 Rico Tzschichholz <ricotz@ubuntu.com> linux: Add more Input and update UserspaceInput bindings Fixes https://gitlab.gnome.org/GNOME/vala/issues/830 2019-08-06 Rico Tzschichholz <ricotz@ubuntu.com> cairo: Add 1.16 symbols 2019-08-06 Michael Gratton <mike@vee.net> sqlite3: Bind sqlite3_expanded_sql() and sqlite3_normalised_sql() 2019-08-05 Rico Tzschichholz <ricotz@ubuntu.com> Release 0.45.90 2019-08-04 Mart Raudsepp <leio@gentoo.org> valadoc: Install icons and doclets to API dependent folders This allows to co-install different valadoc versions as for the compiler. 2019-08-04 Rico Tzschichholz <ricotz@ubuntu.com> vapi: Update GIR-based bindings glib-2.0: Add new symbols and deprecations from 2.62 2019-07-30 Rico Tzschichholz <ricotz@ubuntu.com> vala: Support static methods in error-domains Actually generate methods defined inside error-domains and state that instance methods are not supported yet. See https://gitlab.gnome.org/GNOME/vala/issues/829 2019-07-26 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-07-25 David Hewitt <davidmhewitt@gmail.com> x11: Fix return type of XInternAtoms and XGetAtomNames bindings 2019-07-24 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Move private type-struct to type-definition section codegen: Append line-break after G_DEFINE_AUTOPTR_CLEANUP_FUNC In addition to 38781a502b7381ef5383ae282fa33ddda9b493ed 2019-07-23 Rico Tzschichholz <ricotz@ubuntu.com> tests: Add GMutex and GRecMutex test to increase coverage 2019-07-22 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Use G_TYPE_CHECK_INSTANCE_CAST for comparisons with interfaces Avoids "comparison of distinct pointer types lacks a cast" warning for such cases. vapi: Update GIR-based bindings gstreamer: Update from 1.17.0+ git master girparser: Handle "function-macro" by skipping them See https://gitlab.gnome.org/GNOME/gobject-introspection/merge_requests/159 2019-07-21 Jim Mason <jmason@ibinx.com> vala: Fix mixup of target_glib_major/minor in set_target_glib_version() Introduced with 3d926c1288b3ec4fd692dd1de6b91fb6c2090183 Fixes https://gitlab.gnome.org/GNOME/vala/issues/825 2019-07-19 Rico Tzschichholz <ricotz@ubuntu.com> vala: Implicit GValue cast requires GOBJECT profile This fixes criticals like vala_data_type_get_data_type: assertion 'self != NULL' failed Regression of 7d771a0c07d63cb7605cbdc28dd8df50719731f8 2019-07-19 Rico Tzschichholz <ricotz@ubuntu.com> vala: NoAccessorMethod checks require GOBJECT profile This fixes criticals like vala_class_real_is_subtype_of: assertion 't != NULL' failed Regression of a6441ec3c27e059d32501a4e09c937ac668f3ad9 2019-07-19 Rico Tzschichholz <ricotz@ubuntu.com> vala: 'construct' is not supported in POSIX profile This fixes criticals like vala_class_real_is_subtype_of: assertion 't != NULL' failed Regession of 6c8c75f59024b32230b1c13ea344a568f19b86df 2019-07-19 Rico Tzschichholz <ricotz@ubuntu.com> posix: Fix return-value of mknod() and c-include for tcgetsid() Introduced with 535f2734d19875ccc1f170841b72eba0c4adad1e 2019-07-19 Christian Kellner <christian@kellner.me> posix: add *at() calls and related constants Add missing calls from the *at() call family that was added in POSIX.1-2008, and related constants. Fixes https://gitlab.gnome.org/GNOME/vala/issues/823 2019-07-18 Rico Tzschichholz <ricotz@ubuntu.com> webkit2gtk-4.0: Fix WebContext.initialize_notification_permissions() Bind it as WebContext.init_notification_permissions() to avoid conflict. 2019-07-16 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> Release 0.45.3 2019-07-09 Rico Tzschichholz <ricotz@ubuntu.com> glib-2.0: Fix RecMutexLocker binding vapi: Update GIR-based bindings gtk4: Update to 3.96.0+b05d1676 gstreamer: Update from 1.17.0+ git master glib-2.0: Add new symbols from 2.62 glib-2.0: Add binding for g_strv_equal() (since 2.60) 2019-07-08 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-05 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-05 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-04 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Don't write declaration of extern symbols with given header The corresponding header will provide the declaration and therefore fix build with -Werror=redundant-decls. Set cheader_filename for implicit to_string() method of enums which is transformed into symbol calls from glib-object.h. This avoids the leak of an superfluous prototype of that method into the generated c code. Fixes https://gitlab.gnome.org/GNOME/vala/issues/745 2019-07-04 Rico Tzschichholz <ricotz@ubuntu.com> vala: Add Symbol.is_extern and use/set is accordingly This actually holds the information whether a symbol was declared with `extern` modificator. Adjust the setting of Symbol.external and usage of Symbol.external_package. See https://gitlab.gnome.org/GNOME/vala/issues/745 2019-07-01 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-01 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-17 Rico Tzschichholz <ricotz@ubuntu.com> Release 0.45.2 tests: Null-terminate arrays for compatibility test of uint8 and uchar Fixes https://gitlab.gnome.org/GNOME/vala/issues/809 2019-06-17 Rico Tzschichholz <ricotz@ubuntu.com> vala: Only warn about imcompatible type of external construct property This is to reduce the initial fallout. Fixes https://gitlab.gnome.org/GNOME/vala/issues/803 2019-06-15 Rico Tzschichholz <ricotz@ubuntu.com> gtk+-3.0: Update to 3.24.9~18177388 gtk4: Update to 3.96.0+8cfdd6c5 vapi: Update GIR-based bindings gstreamer: Update from 1.17.0+ git master girparser: Skip 'attribute' elements 2019-06-14 Rico Tzschichholz <ricotz@ubuntu.com> vala: Use non-deprecated GLib.ModuleFlags values genie: Make 'self' match its TokenType name girwriter: Report error on secondary top-level namespace to be written Fixes https://gitlab.gnome.org/GNOME/vala/issues/805 codegen: Use array_length of collection variable instead of expression libvaladoc: Use non-deprecated GLib.ModuleFlags values 2019-06-08 Rico Tzschichholz <ricotz@ubuntu.com> gmodule-2.0: Build from GIR 2019-06-06 Rico Tzschichholz <ricotz@ubuntu.com> glib-2.0: Add Unicode 12.0 symbols 2019-06-05 Rico Tzschichholz <ricotz@ubuntu.com> genie: Drop unused "writeonly" token gtk4: Update to 3.96.0+69016825 2019-05-27 Rico Tzschichholz <ricotz@ubuntu.com> gtk4: Update to 3.96.0+cfe648eb gstreamer: Update from 1.17.0+ git master webkit2gtk-4.0: Update to 2.25.1 2019-05-23 Rico Tzschichholz <ricotz@ubuntu.com> vapi: Update GIR-based bindings gstreamer: Update from 1.17.0+ git master 2019-05-20 Rico Tzschichholz <ricotz@ubuntu.com> Release 0.45.1 vala: Strip "basedir" from Source.filename attribute This is gives some control over the written relative filenames and fixes make distcheck due of out-of-source-dir building. gtk4: Update to 3.96.0+322507f2 2019-05-17 Rico Tzschichholz <ricotz@ubuntu.com> 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 2019-05-16 Rico Tzschichholz <ricotz@ubuntu.com> 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 2019-05-16 Rico Tzschichholz <ricotz@ubuntu.com> Regenerate GIDL-based bindings to fix getter ownership of struct properties Regenerate GIR-based bindings to fix getter ownership of struct properties vala: Trust "value_owned" when writing property getter 2019-05-16 Rico Tzschichholz <ricotz@ubuntu.com> vala: No-accessor struct properties in GLib.Object class must be owned Real structs are returned as heap-allocated structor by g_object_get() and not defining them with owned getter results in memory leaks. Additionally force DelegateType, PointerType and ValueType as unowned to preserve the current behaviour for binding generation. 2019-05-16 Rico Tzschichholz <ricotz@ubuntu.com> 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 2019-05-15 Rico Tzschichholz <ricotz@ubuntu.com> vapi: Update GIR-based bindings gstreamer: Update from 1.17.0+ git master gtk4: Update to 3.96.0+6a27fe15 2019-05-13 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Always use G_TYPE_CHECK_INSTANCE_TYPE for external symbols and get_ccode_type_check_function() for SourceFileType.SOURCE symbols. 2019-05-07 Rico Tzschichholz <ricotz@ubuntu.com> girparser: Add support for string "ctype" metadata https://gitlab.gnome.org/GNOME/vala/issues/793 2019-05-06 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Support GObject properties with nullable GType-based struct type Fixes https://gitlab.gnome.org/GNOME/vala/issues/792 2019-05-03 Rico Tzschichholz <ricotz@ubuntu.com> girwriter: Write implicit fields for arrays and delegates girwriter: Write implicit parameters and properties for generics 2019-05-01 Rico Tzschichholz <ricotz@ubuntu.com> compiler: Add OptionFlags.NO_ARG to deprecated "--thread" option It was defined with OptionArg.NONE and never took an extra argument. Regression of d8e810680f370fac7e9a5e80f8d94316707625c2 2019-05-01 Rico Tzschichholz <ricotz@ubuntu.com> vapi: Update GIR-based bindings gstreamer: Update from 1.17.0+ git master gtk4: Update to 3.94.0+724ec3ca girwriter: Only replace existing GIR files if they changed Same how it is done in CodeWriter.write_file() 2019-04-29 Rico Tzschichholz <ricotz@ubuntu.com> 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 2019-04-28 Rico Tzschichholz <ricotz@ubuntu.com> tests: Actually define SkippedStruct as struct for girwriter 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() tests: Adjust for fuzzy generated GIR header In addition to fd3fedf3e7fd56162e5721d9e7487784b009c75b girwriter: Don't write "property" attribute for non-gobject properties codegen: Move construct property checks to SemanticAnalyzer pass codegen: Move GObject property validity checks to SemanticAnalyzer valadoc/tests: construct properties require GLib.Object derived class 2019-04-27 Rico Tzschichholz <ricotz@ubuntu.com> tests: Fix namespace attributes for girwriter 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. 2019-04-24 Rico Tzschichholz <ricotz@ubuntu.com> build: Pass some useful G_LOG_DOMAIN definitions 2019-04-23 Rico Tzschichholz <ricotz@ubuntu.com> tests: More "unassigned variable" tests to increase coverage 2019-04-19 Rico Tzschichholz <ricotz@ubuntu.com> vapi: Add graphene-1.0 to allow smoother transition to graphene-gobject-1.0 2019-04-18 Rico Tzschichholz <ricotz@ubuntu.com> tests: Add "fast-vapi" test to increase coverage 2019-04-18 Rico Tzschichholz <ricotz@ubuntu.com> vala: Write "Source" attribute in fast-vapi mode This enables users to reference to the original source of a symbol. [Source (filename = "...", line = ..., column = ...)] 2019-04-17 Rico Tzschichholz <ricotz@ubuntu.com> javascriptcoregtk-4.0: Update to 2.24.1 gtk4: Update to 3.94.0+2656f5b4 gstreamer: Update from 1.15.90+ git master 2019-04-14 Rico Tzschichholz <ricotz@ubuntu.com> tests: Extend "foreach" tests to increase coverage tests: Extend "assigned local variable" control flow tests 2019-04-11 Rico Tzschichholz <ricotz@ubuntu.com> parser: Set correct end source-reference of Block for embedded statement 2019-04-10 Rico Tzschichholz <ricotz@ubuntu.com> 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. 2019-04-09 Rico Tzschichholz <ricotz@ubuntu.com> Sync NEWS from 0.44 2019-04-08 Rico Tzschichholz <ricotz@ubuntu.com> libarchive: Fix Archive.[set_]mode/perm() and add Archive.FileMode Keep FileType as special case of FileMode for filetype methods. gtk4: Update to 3.94.0+2594593d gdk-3.0,gtk+-3.0: Update from 3.24.7+ gstreamer: Update from 1.15.2+ git master codegen: Always assign original variable when consuming instance to destroy Fixes https://gitlab.gnome.org/GNOME/vala/issues/781 2019-04-07 Luca Bruno <lucabru@src.gnome.org> vala: Use global CodeContext to retrieve root_symbol 2019-04-06 Rico Tzschichholz <ricotz@ubuntu.com> vala: Include possible "result" to defined variables of Method tests: Add "unassigned local variable in while" test tests: Extend "assigned local variable" control flow tests Cover condition statements of WhileStatement and ConditionalExpression 2019-04-04 Rico Tzschichholz <ricotz@ubuntu.com> pango: Fix StringBuilder parameter of scan_word() 2019-04-02 Rico Tzschichholz <ricotz@ubuntu.com> build: Require --with-cgraph configure flag when cross-compiling Fixes https://gitlab.gnome.org/GNOME/vala/issues/775 2019-04-01 Rico Tzschichholz <ricotz@ubuntu.com> valadoc: Drop obsolete "Driver" API 2019-03-31 Rico Tzschichholz <ricotz@ubuntu.com> Sync NEWS from 0.44 Add explicit "default: break;" statements for coverage of enum-typed switch libvaladoc: Handle missing Run.Style.NONE in switch libvaladoc: Handle missing Content.List.Bullet.ORDERED in switch 2019-03-29 Rico Tzschichholz <ricotz@ubuntu.com> gtk4: Update to 3.94.0+f273eca7 2019-03-28 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Implement silent-cast for GLib.Variant Fixes https://gitlab.gnome.org/GNOME/vala/issues/767 gstreamer-1.0: Fix TypeFind and TypeFindFactory method references gobject-introspection-1.0: Fix TypeInfo and TypeTag method references Fixes https://gitlab.gnome.org/GNOME/vala/issues/778 2019-03-28 Rico Tzschichholz <ricotz@ubuntu.com> girparser: Create correct output in get_default_lower_case_suffix() It must match the output of CCodeAttribute.get_default_lower_case_suffix() Add metadata support to set lower_case_csuffix See https://gitlab.gnome.org/GNOME/vala/issues/778 2019-03-27 Rico Tzschichholz <ricotz@ubuntu.com> vala: Report error for unsupported operator instead of assertion docs: Bump glib requirement in README.md tests: Add "struct (un)boxing" variant test 2019-03-26 Rico Tzschichholz <ricotz@ubuntu.com> vala: Don't replace assignments for local variables with non-null simple-types Reintroduce e701142da4601ece5ca71cc4484728b08969c74e See https://gitlab.gnome.org/GNOME/vala/issues/755 2019-03-26 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Handle "modulo" operation on floating-types in CCodeAssignmentModule Duplication with CCodeBaseModule.visit_binary_expression() See https://gitlab.gnome.org/GNOME/vala/issues/755 2019-03-25 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Use available *_unref functions in G_DEFINE_AUTOPTR_CLEANUP_FUNC Compact classes might have a unref_function in external packages. Therefore subclassing them resulted in an errornous reference to free_function. 2019-03-25 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Move implicit GValue cast for comparison to BinaryExpression Handle "==" and "!=" only as it was done before. This generates correct c-code for boxed simple-types and will perform value-based comparisons. See https://bugzilla.gnome.org/show_bug.cgi?id=585063 2019-03-25 Rico Tzschichholz <ricotz@ubuntu.com> vapi: Update GIR-based bindings gstreamer: Update from 1.15.2+ git master gio-2.0: Revert enum-typed flags parameters in Socket API See https://gitlab.gnome.org/GNOME/glib/merge_requests/728 2019-03-22 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Use default-value to pass element_size to GArray constructor Based on patch by Jakub Kaszycki codegen: Resolve generics in sizeof-expression of parameter initializer codegen: Don't create special GArray clear-func for non-null structs Based on patch by Jakub Kaszycki codegen: Move try_cast_variant_to_type() to GVariantModule.visit_cast_expression() codegen: Move get_type_signature() to DataType ccode: Rename CCodeFeatureTestMacro to CCodeDefine and generalize it This now serves as base for CCodeMacroReplacement too. 2019-03-22 Corentin Noël <corentin@elementary.io> tests: Add more invalid "assignment" tests to increase coverage tests: Add a field starting with a digit test 2019-03-20 Rico Tzschichholz <ricotz@ubuntu.com> tests: Add some invalid "array slice" tests to increase coverage 2019-03-19 Rico Tzschichholz <ricotz@ubuntu.com> vala: Bump implicit target-glib to 2.48 Missing in 1229ead2f945d913b3264f898f363aa4bf46f217 See https://gitlab.gnome.org/GNOME/vala/issues/671 2019-03-19 Rico Tzschichholz <ricotz@ubuntu.com> vala: Add CodeContext.get_source_file() and perform some sanity checks codegen: No need to retrieve CodeContext.save_csources inside loop glib-2.0: Don't annotate dedicated GLib.assert_*() functions with [Assert] Fixes https://gitlab.gnome.org/GNOME/vala/issues/769 codegen: Move and make a few methods to static functions vala: Variadic parameters are not supported for async methods 2019-03-18 Corentin Noël <corentin@elementary.io> vapi: Rename graphene-1.0 to graphene-gobject-1.0 It is the actual name of the pkg-config to use 2019-03-17 Rico Tzschichholz <ricotz@ubuntu.com> vapi: Remove vte, vte-2.90 bindings Fixes https://gitlab.gnome.org/GNOME/vala/issues/584 codegen: Handle ArrayType in visit_delete_statement() as delete allows them vala: Report error for yield statements without async context 2019-03-17 Rico Tzschichholz <ricotz@ubuntu.com> vala: Report error for public creation methods of abstract classes Only report a warning for external creation methods to reduce the initial fallout. Fixes https://gitlab.gnome.org/GNOME/vala/issues/766 2019-03-17 Rico Tzschichholz <ricotz@ubuntu.com> vala: Add support for --target-glib=auto Determine target-glib according to the available version of glib-2.0. Fixes https://gitlab.gnome.org/GNOME/vala/issues/761 2019-03-17 Rico Tzschichholz <ricotz@ubuntu.com> Require and target GLib >= 2.48 The next stable release of vala will happen 3.5 years after the release of GLib 2.48.0. Fixes https://gitlab.gnome.org/GNOME/vala/issues/671 2019-03-17 Rico Tzschichholz <ricotz@ubuntu.com> Bump version suffix to 0.46 Release 0.44.1 2019-03-16 Rico Tzschichholz <ricotz@ubuntu.com> vapi: Update GIR-based bindings gtk4: Update to 3.94.0+f14d998c gstreamer: Update from 1.15.2+ git master 2019-03-15 Rico Tzschichholz <ricotz@ubuntu.com> libgvc: Some additions and ownership/return-type fixes libvaladoc: Don't try to create a Content.ListItem when there is none glib-2.0: Add string.validate_len() since 2.60 2019-03-14 Rico Tzschichholz <ricotz@ubuntu.com> vte-2.90: Mark as deprecated, it was replaced by vte-2.91 2019-03-12 Rico Tzschichholz <ricotz@ubuntu.com> parser: Implicit creation method of abstract classes must be protected Mark defined constructors of abstract classes as protected gio-2.0: SocketAddress.from_native() is a factory method not a constructor 2019-03-10 Rico Tzschichholz <ricotz@ubuntu.com> vala: Allow assignment of 0U to enum types Don't restrict unsigned 0 literal to flags-enums though. ccodegen: Use unsigned default value for flags-enum tests: Add "method ccode return-type" test to increase coverage https://bugzilla.gnome.org/show_bug.cgi?id=699956 tests: Extend "struct with delegate" test to increase coverage gsignal: Move disconnect error from signal-module to semantic-analyzer pass Add corresponding invalid test to increase coverage gsignal: Use guint to represent flags-enum in custom GMarshalFunc tests: Extend "detailed signal" test to increase coverage gsignal: get_detail_cexpression/get_signal_name_cexpression must not be null 2019-03-09 Rico Tzschichholz <ricotz@ubuntu.com> Release 0.44.0 2019-03-08 Rico Tzschichholz <ricotz@ubuntu.com> parser: Don't include member-initializer in src-ref of object-creation-expr parser: Don't include initializer in src-ref of array-creation-expression parser: Extend source_reference of initializer-list to cover "{ ... }" parser: Exclude trailing semicolon from source_reference of statements parser: Don't include assigned value in source_reference of constants This is how it is done for fields already. parser: Restrict source_reference for catch/lock expression to its header 2019-03-07 Rico Tzschichholz <ricotz@ubuntu.com> gtk4: Update to 3.94.0+eacbeb9e vapi: Update GIR-based bindings gstreamer: Update from 1.15.2+ git master 2019-03-06 Rico Tzschichholz <ricotz@ubuntu.com> vala: More regular invocations of check() on inferred Expression.value_type tests: Add regression test for generic-type interference of static function 2019-03-03 Rico Tzschichholz <ricotz@ubuntu.com> Release 0.43.92 2019-03-01 Rico Tzschichholz <ricotz@ubuntu.com> tests: Extent "post-condition" method test to increase coverage vapi: Update GIR-based bindings gtk4: Update to 3.94.0+b4ae491b codegen: Include "glib-object.h" for typeof expression 2019-03-01 Rico Tzschichholz <ricotz@ubuntu.com> vala: Don't ignore qualified parent when inferring type of enum member Regression of 33c91a04f758c89f0402994a6df894e6c2032def https://bugzilla.gnome.org/show_bug.cgi?id=666035 2019-02-28 Rico Tzschichholz <ricotz@ubuntu.com> vala: Correctly perform compatibility check of array length-type Regression of 36671ae5def89b46384e627a467247c834948254 https://gitlab.gnome.org/GNOME/vala/issues/607 2019-02-27 Rico Tzschichholz <ricotz@ubuntu.com> girwriter: Always use get_gir_name() for TypeSymbols codegen: Respect finish[_vfunc]_name attributes defined in vala sources codegen: Replace gvaluecollector_h_needed with dedidated add_include() calls 2019-02-26 Rico Tzschichholz <ricotz@ubuntu.com> poppler-glib: Update to 0.74 tests: Extent "girwriter" test to increase coverage girwriter: Support transfer-ownership="container" for arrays genieparser: Don't create VoidType unconditionally 2019-02-26 Alistair Thomas <astavale@yahoo.co.uk> genie: Allow the main function "init" to return an integer as exit status Fixes https://gitlab.gnome.org/GNOME/vala/issues/402 tests: Add some Genie tests to increase coverage testrunner: Add support for Genie source files (.gs) 2019-02-25 Rico Tzschichholz <ricotz@ubuntu.com> gobject-2.0: Add SignalHandler.disconnect_by_data() 2019-02-24 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Respect array_length_cname attribute for global fields codegen: Add get_variable_array_length_cname() and use as possible This also replaces get_parameter_array_length_cname() codegen: Replace if-else-tree with switch in visit_binary_expression() codegen: Replace if-else-tree with switch in visit_unary_expression() tests: TypeModule allows registering static types since 2.56 This prevents fatal runtime testing. 2019-02-23 Rico Tzschichholz <ricotz@ubuntu.com> tests: Add "custom types" struct tests to increase coverage tests: Add "constructor chain up" generics test to increase coverage tests: Add "null-terminated array" delegate test to increase coverage tests: Add "struct in array" test to increase coverage tests: Add "to_string" enum test to increase coverage tests: Add "ModuleInit" test to increase coverage codegen: Only emit declaration of *_register_type if needed This allows to add a test case for ModuleInit with -Werror=redundant-decls codegen: Allow to associate CCodeFile to actual SourceFile codegen: Rename to CCodeMethodCallModule.generate_enum_to_string_function() 2019-02-21 Rico Tzschichholz <ricotz@ubuntu.com> Release 0.43.91 glib-2.0: Add "delegate_target = false" to Log.writer_journald/_standard_streams/_default In addition to d9bab3f04f8c9713929ab1ef166472b5f8c84ee7 tests: Add regression test for modulo operation on double and float https://bugzilla.gnome.org/show_bug.cgi?id=610660 2019-02-21 Rico Tzschichholz <ricotz@ubuntu.com> Revert "vala: Don't replace assignments for local variables with non-null simple-types" This reverts commit e701142da4601ece5ca71cc4484728b08969c74e. Fixes https://gitlab.gnome.org/GNOME/vala/issues/755 2019-02-20 Rico Tzschichholz <ricotz@ubuntu.com> girparser: Correctly set array_length_type for delegates returning an array Fixes https://gitlab.gnome.org/GNOME/vala/issues/754 webkit2gtk-4.0: Update to 2.23.91 gtk4: Update to 3.94.0+02e856f6 atk-1.0: Adjust for upstream revert of Implementor using G_DEFINE_INTERFACE See https://gitlab.gnome.org/GNOME/atk/commit/96d13ae47f6f77445483ee8a0d7d6569a95f35bf 2019-02-16 Rico Tzschichholz <ricotz@ubuntu.com> vapi: Update GIR-based bindings gtk4: Update to 3.94.0+bea1a02e webkit2gtk-4.0: Update to 2.23.90 2019-02-14 Rico Tzschichholz <ricotz@ubuntu.com> libvaladoc: Properly support the output of async constructors Fixes https://gitlab.gnome.org/GNOME/vala/issues/753 2019-02-14 Rico Tzschichholz <ricotz@ubuntu.com> clutter-1.0: Drop deprecated from Actor.pick() The signal "pick" was deprecated with 1.12, but not the virtual method. Fixes https://gitlab.gnome.org/GNOME/vala/issues/625 2019-02-12 Rico Tzschichholz <ricotz@ubuntu.com> valadoc: Report warning if resources for doclet could not be copied 2019-02-10 Rico Tzschichholz <ricotz@ubuntu.com> vapi: Drop gdk-x11-3.0 from GIDL_BINDINGS gio-unix-2.0: Add DesktopAppInfo.get_string_list() since 2.60 gtk+-unix-print-*.0: Fix PrintJob.get_page_ranges(), Printer.get_hard_margins() gtk4-unix-printer: Update to 3.94.0+a872c41f and fix PrintJob.get_page_ranges(), Printer.get_hard_margins() gtk4: Update to 3.94.0+a872c41f gstreamer: Update from 1.15.1+ git master 2019-02-06 Rico Tzschichholz <ricotz@ubuntu.com> Revert "valadoc: Update API tests" This reverts commit 881333fe7a8ecf64de21633c165b0db0db2e41ff. 2019-02-06 Rico Tzschichholz <ricotz@ubuntu.com> Revert "valadoc: Drop duplicated code to add source files and use CodeContext API" This reverts commit 54ba304eddd05264cbb9eacd734914938f50c7e4. Fixes https://gitlab.gnome.org/GNOME/vala/issues/748 2019-02-06 Rico Tzschichholz <ricotz@ubuntu.com> gtk4: Update to 3.94.0+d2d35e52 vapi: Follow GTK upstream rename to gtk4 and gtk4-unix-print 2019-02-03 Rico Tzschichholz <ricotz@ubuntu.com> Release 0.43.90 codegen: Pass lambda expression of variable initializer to signal connect 2019-01-30 Rico Tzschichholz <ricotz@ubuntu.com> vapi: Add goocanvas-2.0 bindings Fixes https://gitlab.gnome.org/GNOME/vala/issues/739 vapi: Update GIR-based bindings gdk-3.0: Update to 3.24.4+a0129f55 gtk+-4.0: Update to 3.94.0+a7fa1cf6 gstreamer: Update from 1.15.1+ 2019-01-29 Rico Tzschichholz <ricotz@ubuntu.com> goocanvas: Update from 1.0.0+af07af5d g-i: Fix return value on error in start_discriminator() 2019-01-29 Rico Tzschichholz <ricotz@ubuntu.com> libvaladoc: Don't change the size of an array in-parameter Avoid a possible memory issue while the resize of an array reference is possible, the new length can't be propagated back to the caller. Issue an warning for unexpected string lengths. 2019-01-26 Rico Tzschichholz <ricotz@ubuntu.com> vala: Parser doesn't ensure "protected" to be applied on TypeSymbol members Probably ObjectTypeSymbol should be enforced. 2019-01-25 Rico Tzschichholz <ricotz@ubuntu.com> vala: Check inferred variable_type of LocalVariables 2019-01-24 Guillaume Poirier-Morency <guillaumepoiriermorency@gmail.com> glib-2.0: Bind g_log_writer_journald/_standard_streams/_default as LogWriterFunc Fixes https://gitlab.gnome.org/GNOME/vala/issues/559 2019-01-24 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Properly handle and catch inner-error of finally-block If all inner-errors are caught there is no jump-out of the current finally- block therefore the control-flow analyzer is happy. To make this work the surrounding inner-error must not be used or changed here. Fixes https://gitlab.gnome.org/GNOME/vala/issues/742 2019-01-23 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Replace some unfortunate asserts with internal error reports vala: Both arguments of NC_() must be constant for this call to be constant 2019-01-21 Rico Tzschichholz <ricotz@ubuntu.com> Release 0.43.6 2019-01-21 Rico Tzschichholz <ricotz@ubuntu.com> vala: Don't tweak closure on static lambdas Regression of 92ba4e178723b1aa6404da556c79b08abe5eaf05 Fixes https://gitlab.gnome.org/GNOME/vala/issues/740 2019-01-21 Corentin Noël <corentin@elementary.io> gst-editing-services-1.0: Fix some construtors and (un)hide symbols 2019-01-21 Rico Tzschichholz <ricotz@ubuntu.com> tests: Add asynchronous "catch-error-scope" regression test See https://gitlab.gnome.org/GNOME/vala/issues/741 2019-01-21 Rico Tzschichholz <ricotz@ubuntu.com> Revert "codegen: Use copies of error_variable of catch-clauses for nested usage" This reverts commit 765c39c73c3096dd1de984db023763ec13448ef5. Fixes https://gitlab.gnome.org/GNOME/vala/issues/741 2019-01-21 Rico Tzschichholz <ricotz@ubuntu.com> libvaladoc/girimporter: Skip "source-position" elements See https://gitlab.gnome.org/GNOME/gobject-introspection/merge_requests/75 javascriptcoregtk-4.0: Fix GLib.Callback parameters which can't hold target 2019-01-20 Michal Proszek <michal.proszek@gmail.com> genie: Support `protected` accessibility and allow explicit `public` Fixes https://gitlab.gnome.org/GNOME/vala/issues/346 2019-01-20 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Don't apply address-of operator on literals when casting to array Regression of 5f316333d6a803e4240b5cccc95a6abd2294137b https://bugzilla.gnome.org/show_bug.cgi?id=777194 2019-01-19 Corentin Noël <corentin@elementary.io> libvaladoc: Build backing Vala.SourceFile for GIRs processed by importer This fixes criticals when reporting errors and warnings Fixes https://gitlab.gnome.org/GNOME/vala/issues/738 2019-01-19 Rico Tzschichholz <ricotz@ubuntu.com> Release 0.43.5 2019-01-18 Corentin Noël <corentin@elementary.io> valadoc: Specify that the "--driver" option is deprecated Fixes https://gitlab.gnome.org/GNOME/vala/issues/736 2019-01-18 Rico Tzschichholz <ricotz@ubuntu.com> compiler: Report deprecated command-line option "--thread" 2019-01-17 Rico Tzschichholz <ricotz@ubuntu.com> glib-2.0: Add Queue.clear_full() since 2.60 2019-01-16 Rico Tzschichholz <ricotz@ubuntu.com> vapi: Update GIR-based bindings gtk+-4.0: Update to 3.94.0+9b15c690 gdk-3.0,gtk+-3.0: Update to 3.24.3+9c8f1478 gstreamer: Update from 1.15+ git master 2019-01-15 Rico Tzschichholz <ricotz@ubuntu.com> vala: Multiple lamdba arguments in method call should all use closure scope This does not enable proper support for delegates sharing a data argument, but allows this special case. See https://gitlab.gnome.org/GNOME/vala/issues/59 2019-01-15 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Use get_ccode_*name/get_parameter_cexpression() for Parameters codegen: Remove CCodeBaseModule.get_result_cexpression() codegen: Simplify get_*_cexpression() and split out get_cexpression() codegen: Check reserved_identifiers in CCodeAttribute.get_default_name() This is a step for wider usage of get_ccode_name() on variables 2019-01-14 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Only set "sentinel" CCode attribute for node if requested This should restrict this being set only on Method nodes. codegen: Don't evaluate "pos" CCode attribute early codegen: Simplify some code around get_ccode_delegate_target() invocations codegen: Handle "delegate_target" as proper CCode attribute Check if the given variable actually denotes to a delegate type which accepts a target parameter. codegen: Rely on get_ccode_delegate_target() for delegate variables only codegen: Use get_ccode_delegate_target_name() for fields Replace get_delegate_target_destroy_notify_cname (get_ccode_name (...)) codegen: Add "destroy_notify_cname" CCode attribute and the corresponding helper get_delegate_target_destroy_notify_cname() codegen: Use copies of error_variable of catch-clauses for nested usage Calling visit_local_variable() multiple times on the same instance of a LocalVariable causes issues. 2019-01-13 Rico Tzschichholz <ricotz@ubuntu.com> libsoup-2.4: Fix Message.add_*_handler() by unhiding user_data parameter See https://gitlab.gnome.org/GNOME/vala/issues/731 codegen: Don't add data parameter for "instance_init" of compact classes See b5260359255637d77ebc367d26c853ac6459f67d 2019-01-12 Rico Tzschichholz <ricotz@ubuntu.com> vala: Allow direct access to the integer constants of an error-domain Fixes https://gitlab.gnome.org/GNOME/vala/issues/732 2019-01-11 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Include "stddef.h" in CCodeBaseModule.destroy_value() (POSIX) Fixes https://gitlab.gnome.org/GNOME/vala/issues/730 codegen: Set owner for ValaDestroyNotify (POSIX) Fixes https://gitlab.gnome.org/GNOME/vala/issues/730 2019-01-10 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Emit struct declaration typedef before resolving its fields This a regression when compiling a circular dependency of delegates with structs. Regression of 7adb3a45bb8d663c0cfca55af26b7e6f7292b14a See https://gitlab.gnome.org/GNOME/vala/issues/318 2019-01-10 Rico Tzschichholz <ricotz@ubuntu.com> vapi: Regenerate GIR-based bindings to fix non-standard error position Fixes https://gitlab.gnome.org/GNOME/vala/issues/265 girparser: Recognize error parameter before delegate target parameter Fixes https://gitlab.gnome.org/GNOME/vala/issues/265 2019-01-10 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Add "error_pos" CCode attribute and use it as needed This makes it possible to use non-standard error parameter positions within the vala source. Fixes https://gitlab.gnome.org/GNOME/vala/issues/728 2019-01-10 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Use a parameter-map for creation of delegate declaration This is required to take instance_pos into account and will allow the error parameter to be put before the target (aka instance) in delegates. See https://gitlab.gnome.org/GNOME/vala/issues/728 2019-01-09 Rico Tzschichholz <ricotz@ubuntu.com> gdk-pixbuf-2.0: Make PixbufSaveFunc usable This delegates does place its target at the end, where vala expects the error parameter. Vala does not support that at this point. See https://gitlab.gnome.org/GNOME/vala/issues/728 2019-01-09 Rico Tzschichholz <ricotz@ubuntu.com> atspi-2: Drop superfluous Atspi-2.0-custom.vala atk: Drop superfluous metadata atk: Don't use a custom SignalEmissionHook while it is part of gobject-2.0 2019-01-08 Rico Tzschichholz <ricotz@ubuntu.com> vala: Async methods don't allow out-parameters before in-parameters out-parameters are always handled in the *_finish implementation and therefore are asynchronous. Report an error for occurances in source and a warning for GIR sources where convert them to pointer-types to create a usuable signature for bindings. Fixes https://gitlab.gnome.org/GNOME/vala/issues/636 2019-01-08 Rico Tzschichholz <ricotz@ubuntu.com> gio-2.0: Make DBusInterface[GS]etPropertyFunc usable These delegates don't place their target at the end, but their error parameter. Vala does not support that at this point. Introduced with 1df2c050ba29c84026a14e7ee23fa6bcd00b1044 See https://gitlab.gnome.org/GNOME/vala/issues/728 2019-01-08 Rico Tzschichholz <ricotz@ubuntu.com> gio-2.0: Drop superfluous metadata gio-2.0: Use only metadata for DBusConnection.send_message_with_reply() gio-2.0: Use metadata for SocketConnection.factory_create_connection() gio-2.0: Add CancellableSource ctor and update PollableSource ctors 2019-01-07 Rico Tzschichholz <ricotz@ubuntu.com> vala: Use dedicated error message for assignments to literals 2019-01-06 Rico Tzschichholz <ricotz@ubuntu.com> Release 0.43.4 glib-2.0: Add RecMutexLocker since 2.60 valadoc: Update API tests valadoc: Drop duplicated code to add source files and use CodeContext API gobject-2.0: Minor syncing from GIR gdbus: Cast instance and result of g_async_initable_new_finish() call This will silence those incompatible-pointer-types warnings 2019-01-05 Jiří Janoušek <janousek.jiri@gmail.com> sqlite3: Correct return C type of Statement.column_text & Value.to_text 2019-01-05 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Add missing data parameter to GTypeInfo callbacks Found by -Werror=cast-function-type gdbus: Properly set annotations field of GDBus*Info struct to NULL Found by -Werror=missing-field-initializers tests: Extend "DBus errors" tests to increase coverage 2019-01-05 Alistair Thomas <astavale@yahoo.co.uk> docs: Add a basic CONTRIBUTING.md file that links to the relevant Wiki page 2019-01-05 Rico Tzschichholz <ricotz@ubuntu.com> gtk+-4.0: Update to 3.94.0+4404afc9 gtk+-3.0: Update to 3.24.2+a8e07254 vapi: Update GIR-based bindings gstreamer: Update from 1.15+ git master 2019-01-05 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Don't check boolean values for (in)equality in GTask API This resolves any value but 0 to true as it is suppose to be. /* invalid */ if (condition == TRUE) do_foo (); /* valid */ if (another_condition) do_bar (); See https://gitlab.gnome.org/GNOME/glib/issues/1636 2019-01-04 Rico Tzschichholz <ricotz@ubuntu.com> tests: Fix try_parse() tests to not compare to already free'd memory Found with valgrind codegen: Cast instance parameter for property access in object-initializer This will silence those incompatible-pointer-types warnings 2019-01-03 Jiří Janoušek <janousek.jiri@gmail.com> gio-2.0: Fix File.replace_contents_bytes_async() Closes https://gitlab.gnome.org/GNOME/vala/merge_requests/37 2019-01-02 Rico Tzschichholz <ricotz@ubuntu.com> Drop leftover deprecated syntax support of += and -= for dynamic signals See https://gitlab.gnome.org/GNOME/vala/issues/676 vala: Drop unused Enum.remove_all_values() libvaladoc: Skip empty Version.replacement attribute to avoid critical gobject-2.0: Use correct array-length-type for returned arrays 2019-01-02 Rico Tzschichholz <ricotz@ubuntu.com> glib-2.0: Use correct array-length-type for returned arrays As usual length is returned by an implicit out-parameter where the provided target variable must have a matching data type. Discovered by -fstack-protector-all See https://gitlab.gnome.org/GNOME/gitg/issues/171 2019-01-01 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Always use ccode attribute for ref/unref/free function names 2018-12-31 Rico Tzschichholz <ricotz@ubuntu.com> vala: Report invalid instance member access to property See https://gitlab.gnome.org/GNOME/vala/issues/605 2018-12-30 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Add default_value for CType to initialize variables if needed Fixes https://gitlab.gnome.org/GNOME/vala/issues/724 2018-12-27 Rico Tzschichholz <ricotz@ubuntu.com> build: Don't leak libvalaccode symbols to libvaladoc 2018-12-26 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Use temp-vars for ellipsis out-arguments to fix memory management Fixes https://gitlab.gnome.org/GNOME/vala/issues/722 2018-12-26 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Use temp-var for MethodCall with out/ref arguments Checking arguments of a MethodCall expression is required for varidic methods where checking parameters isn't sufficient. Doing this makes looking for out/ref parameters superfluous. Fixes https://gitlab.gnome.org/GNOME/vala/issues/722 2018-12-20 Rico Tzschichholz <ricotz@ubuntu.com> vala: Allow explicit interface methods to be virtual 2018-12-20 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Use properly checked implicit interface implementations Collect implicit interface implementations in AST and avoid doing the same checks twice. This caused double vfunc assignments if an implementation is provided while a method with the same name is available in prerequisite class. See https://bugzilla.gnome.org/show_bug.cgi?id=536863 and https://bugzilla.gnome.org/show_bug.cgi?id=652098 Fixes https://gitlab.gnome.org/GNOME/vala/issues/548 2018-12-20 Rico Tzschichholz <ricotz@ubuntu.com> vala: Search in all interfaces for an implementation match and don't bail early The first imcompatible method match doesn't mean there is no match for another interface. This might mean an implementation is missing which will be covered by the semantic check of the parent class. Fixes https://gitlab.gnome.org/GNOME/vala/issues/548 2018-12-20 Rico Tzschichholz <ricotz@ubuntu.com> vala: No need to look further if an implementations was found 2018-12-20 Rico Tzschichholz <ricotz@ubuntu.com> vala: Don't just guess and check for a matching base_interface_method too This fixes class with multiple interfaces which require implementations of methods with conflicting naming while the explicit interface-type reference is not present yet. Extend the present test-case for runtime checking. This will still silently connect matching base-class methods as before as introduced in e1a3ff9470763e7c6ff5a887036390bd418f4e46 Fixes https://gitlab.gnome.org/GNOME/vala/issues/548 2018-12-20 Rico Tzschichholz <ricotz@ubuntu.com> vala: Add Method.compatible_no_error() vala: Allow get_actual_type() to be used for expected failures If the passed node_reference is null there won't be any error reporting. The resovled DataType will be an InvalidType on errors as usual. vala: Add GenericType.get_actual_type() 2018-12-18 Rico Tzschichholz <ricotz@ubuntu.com> vapi: Update GIR-based bindings gtk+-4.0: Update to 3.94.0+a99bd2a4 gtk+-3.0: Update to 3.24.2+eb821cb8 gstreamer: Update from 1.15+ git master webkitgtk-4.0: Update to 2.23.1 poppler-glib: Update to 0.71 2018-12-16 Rico Tzschichholz <ricotz@ubuntu.com> vala: Array with fixed length don't require explicit instantiation Fixes https://gitlab.gnome.org/GNOME/vala/issues/720 tests: Warnings and criticals should be fatal on compile time too testrunner: Warnings and criticals should be fatal on compile time too 2018-12-14 Rico Tzschichholz <ricotz@ubuntu.com> Release 0.43.2 2018-12-11 Rico Tzschichholz <ricotz@ubuntu.com> codegen: GType classes require including "glib-object.h" Move the include at a better position to cover more cases. gobject-introspection-1.0: Pick up version attribute fixes vapi: Regenerate GIR-based bindings to fix non-standard async methods See https://gitlab.gnome.org/GNOME/vala/issues/709 2018-12-11 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Handle non-default AsyncResult parameter position Unfortunately gdbus-codegen puts the AsyncResult parameter after possible out-parameters therefore there is an "async_result_pos" attribute required to handle this correctly. Vala supposely follows the common practice to put the AsyncResult before out-parameters by default. Fixes https://gitlab.gnome.org/GNOME/vala/issues/709 2018-12-08 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Always emit constants with initializer-list generate_constant_declaration() handles both definition and declaration. This is important when using --use-header where the actual definition would never be written and we ended up with an "extern const ..." in the header only. Fixes https://gitlab.gnome.org/GNOME/vala/issues/81 2018-12-07 Rico Tzschichholz <ricotz@ubuntu.com> tests: Add "emit order" tests 2018-12-07 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Emit delegate/enum typedefs to type-declaration section This fixes compilation of circular dependency of delegates with enums, structs, classes and interfaces. Resolve interface prerequisites after writing forward declarations to fix entagled delegate dependencies in them. Fixes https://gitlab.gnome.org/GNOME/vala/issues/318 2018-12-06 Rico Tzschichholz <ricotz@ubuntu.com> tests: Add "subtype cycle" tests to increase coverage 2018-12-06 Florian Brosch <flo.brosch@gmail.com> vala: Break possible endless loop in SymbolResolver.get_type_for_struct() Required to deal with invalid code containing base struct cycles. Fixes https://gitlab.gnome.org/GNOME/vala/issues/444 2018-12-06 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Interfaces require including "glib-object.h" Release 0.43.1 2018-12-05 Rico Tzschichholz <ricotz@ubuntu.com> vapi: Update GIR-based bindings gtk+-4.0: Update to 3.94.0+8de1ba2c gstreamer: Update from 1.15+ git master girparser: Skip possible docs in transparent union See https://gitlab.gnome.org/GNOME/gobject-introspection/merge_requests/75 2018-12-04 Corentin Noël <corentin@elementary.io> vala: Trigger understandable errors with GLib target version 2018-12-03 Rico Tzschichholz <ricotz@ubuntu.com> girparser: Skip "source-position" elements See https://gitlab.gnome.org/GNOME/gobject-introspection/merge_requests/75 2018-12-01 Vivek Raj <vivekrajr@live.com> vala: Use clearer error message for automatic properties in interfaces Fixes https://gitlab.gnome.org/GNOME/vala/issues/656 2018-11-30 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Emit initializer for enum-value into wanted declaration space Fixes https://gitlab.gnome.org/GNOME/vala/issues/167 vala: Allow null-type as intializer for static struct fields See 1a4a14d5550bb23414c0dc66e8951f4b03bd4137 2018-11-29 Rico Tzschichholz <ricotz@ubuntu.com> vala: Report dedicated error for static field/property initializer in struct This fixes criticals and doesn't rely on codegen error reporting. Fixes https://gitlab.gnome.org/GNOME/vala/issues/446 2018-11-29 Rico Tzschichholz <ricotz@ubuntu.com> vala: Admit that structs are emtpy even with a static property See https://gitlab.gnome.org/GNOME/vala/issues/446 2018-11-28 Timm Bäder <mail@baedert.org> codegen: Mark needle parameter of internal array-contains methods as const This will avoid some -Wdiscarded-qualifiers warnings. Fixes https://gitlab.gnome.org/GNOME/vala/issues/504 2018-11-28 Rico Tzschichholz <ricotz@ubuntu.com> vala: Don't emit member access of assignments on static properties Fixes https://gitlab.gnome.org/GNOME/vala/issues/573 build: Fix typo in --enable-debug check codegen: Add support for delegate parameters in signals Fixes https://gitlab.gnome.org/GNOME/vala/issues/205 2018-11-27 Rico Tzschichholz <ricotz@ubuntu.com> vala: Make check_arguments() more verbose and don't bail on first error Fixes https://gitlab.gnome.org/GNOME/vala/issues/438 vala: Type check for errors require an error expression Fixes https://gitlab.gnome.org/GNOME/vala/issues/362 tests: Simplify "errors/errors" test a bit vala: Add missing re-check guards for Do/For/WhileStatement and SwitchLabel tests: Add and improve "foreach iterator" tests to increase coverage tests: Add invalid "switch" tests to increase coverage 2018-11-25 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Actually create method cast for base interface method as needed Keep the fallback to base method for now. This will silence some incompatible pointer type warnings. 2018-11-25 Jiří Janoušek <janousek.jiri@gmail.com> valadoc: Add --fatal-warnings command line option To be able to treat warnings as fatal. 2018-11-25 Rico Tzschichholz <ricotz@ubuntu.com> glib-2.0: Cast strcmp to GCompareFunc This will silence some incompatible pointer type warnings. build: Use dedicated PACKAGE_VALADOC_* defines libvaladoc: Drop cname parameter from Api.* constructors libvaladoc: Clean up Api.Field constructor libvaladoc: Clean up Api.Signal constructor libvaladoc: Clean up Api.TypeSymbol constructor libvaladoc: Clean up Api.ErrorDomain/ErrorCode constructor libvaladoc: Clean up Api.Method constructor libvaladoc: Clean up Api.Struct constructor libvaladoc: Clean up Api.Interface constructor libvaladoc: Clean up Api.Class constructor libvaladoc: Drop unused to_string() methods valadoc: Drop some get_ccode_*() wrappers libvaladoc: Clean up Api.Property/PropertyAccessor constructor libvaladoc: Clean up Api.TypeReference constructor libvaladoc: Drop PropertyAccessorType libvaladoc: Drop PropertyBindingType libvaladoc: Drop AttributeArgument libvaladoc: Drop MethodBindingType libvaladoc: Drop Api.Member libvaladoc: Drop Api.Browsable libvaladoc: Replace SymbolAccessibility with Vala.SymbolAccessibility libvaladoc: Replace FormalParameterType with Vala.ParameterDirection 2018-11-24 Rico Tzschichholz <ricotz@ubuntu.com> tests: Add default defines test for VALA_0_XX and GLIB_2_XX 2018-11-24 Rico Tzschichholz <ricotz@ubuntu.com> vala: Move setting of default defines for VALA_0_XX and GLIB_2_XX to Context This avoids duplicated code and reduces the setup burden for library users. Also start to warn about redefinitions, especially for our default defines. 2018-11-22 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Don't use temp variable for stack allocated simple type assignment vala: Don't replace assignments for local variables with non-null simple-types codegen: Don't emit unused temp variable for element access assignments Regression of 2bcda488725cf28b3c3c358f2c348632bb7ba232 tests: Extend assignment and array element access tests vala: Minor clean up assignment to binary expression transformation codegen: Replace if-else-tree with switch build: Add --enable-debug configure option 2018-11-21 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Don't emit type_id for enum in non GOBJECT profile codegen: Don't explicitly add glib headers, using symbols will do that See https://gitlab.gnome.org/GNOME/vala/issues/623 codegen: Improve adding of delegate target type declaration codegen: Add required headers for ctor/dtor of compact classes and structs codegen: Add type declaration for errors and error domains as needed codegen: Add type declarations required for generics as needed vala: Use DataType.get_type_arguments() vala: Add Delegate/Method/ObjectTypeSymbol.has_type_parameters() and use them tests: Add some minimal test cases to catch insufficient headers glib-2.0: Drop g_object_unref which is part of gobject-2.0 codegen: Add target/destroy type declarations for delegates as needed This improves the support of POSIX profile. codegen: Add profile specific delegate target/destroy types Make sure to use them in all delegate related contexts. This improves the support of POSIX profile. 2018-11-21 Alistair Thomas <astavale@yahoo.co.uk> posix: Add CommandPipe as a sub-type of FILE A FILE opened with popen() should be closed with pclose() This is enabled by adding CommandPipe as a sub-class of FILE Fixes https://gitlab.gnome.org/GNOME/vala/issues/645 2018-11-20 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Make sure to include declarations for delegate typed parameters So call generate_type_declaration() with all parameter types. vapi: Update GIR-based bindings gtk+-4.0: Update to 3.94.0+40ae5c13 gdk-x11-3.0,gtk+-3.0: Update to 3.24.1+356f1f59 gstreamer: Update from 1.15+ git master 2018-11-20 Rico Tzschichholz <ricotz@ubuntu.com> parser: Use comment which was already retrieved in parse_declaration() This caused to loose comment of first element of enums and error domains. Regression of 540aa1492c342f482be6838b97f54437f3b776e4 2018-11-20 Alistair Thomas <astavale@yahoo.co.uk> docs: Update build instructions and move them to README.md Updates the links for building Vala and how to bootstrap the build docs: Use Markdown for README and move to README.md 2018-11-19 Rico Tzschichholz <ricotz@ubuntu.com> gobject-2.0: Attribute all symbols with cheader_filename = "glib-object.h" This is essential to pick up the correct header inclusion while the GLib namespace of glib-2.0 and gobject-2.0 is merged internally. testrunner: Add -Werror=strict-prototypes ccode: Add void to delegate typedef declarations without parameters Found with -Werror=strict-prototypes testrunner: Pass buildsystem's CC through to valac ccode: Don't allow more than one consecutive empty lines in generated code 2018-11-19 Michael James Gratton <mike@vee.net> valadoc: Adjust stylesheet to unbreak Epiphany Fixes https://gitlab.gnome.org/GNOME/vala/issues/644 2018-11-19 Rico Tzschichholz <ricotz@ubuntu.com> valadoc: Fix a few errors and warnings in stylesheet 2018-11-18 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Add ccode getters for GType functions of Classes and Interfaces and use them where possible. girwriter: Write glib-type attributes for Enums/Structs with type_id codegen: Fix canonical string for quark of error domains 2018-11-17 Rico Tzschichholz <ricotz@ubuntu.com> vala: Fix bootstrap with valac >= 0.16.1 vala: Compact classes don't allow private/class fields and to lock fields This conveniently moves 2 error reports from codegen to semantic check too. vala: Remove superfluous return_if_fail() tests: Add "static fields" to compact class to increase coverage tests: Add bug specific "lock test" https://bugzilla.gnome.org/show_bug.cgi?id=629593 vala: Clean up constructor/destructor API of Class/Struct genieparser: Use dedicated Class.add_constructor/destructor() methods 2018-11-16 Corentin Noël <corentin@elementary.io> tests: Add more GLib.Array tests codegen: Add destroy function for GLib.Array Fixes https://gitlab.gnome.org/GNOME/vala/issues/572 glib-2.0: Avoid double-free in GLib.Array if clear_func is set 2018-11-16 Rico Tzschichholz <ricotz@ubuntu.com> glib-2.0: Add missing Array.set_clear_func() binding valadoc: Use new to_string() methods of enumerations in InitializerBuilder libvaladoc: Use Scanner.get_identifier_or_keyword() instead of outdated copy 2018-11-15 Rico Tzschichholz <ricotz@ubuntu.com> vala: Use new to_string() methods of enumerations in CodeWriter vala: Add AssignmentOperator.to_string() vala: Add SymbolAccessibility.to_string() vala: Add UnaryOperator.to_string() vala: Add BinaryOperator.to_string() tests: Add enum/errordomain tests for GIR parser to increase coverage 2018-11-14 Rico Tzschichholz <ricotz@ubuntu.com> doc: Include dependencies for internal-api-docs to get reference linking valadoc/html: Skip package dependency if target directory already exists Simply assume we already generated the documentation for this dependency in a previous invocation running with --deps. libvaladoc: Add type_id to Api.Enum/Interface libvaladoc: Actually assign type_id of Api.Structs libvaladoc: Link against private libvalaccodegen codegen: Fix get_ccode_name() for properties Handle them the same way as signals and hold the canonical representation as ccode name. libvaladoc/html: Sort symbols and members where possible libvaladoc: Match property signature with vala's codewriter 2018-11-13 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Transfer ownership of compact class to DestroysInstance method Otherwise it is impossible to call an instance method of a compact class which is a destructor. See https://gitlab.gnome.org/GNOME/vala/issues/645 2018-11-13 Corentin Noël <corentin@elementary.io> gio-2.0: Add missing File.new_build_filename() 2018-11-12 Rico Tzschichholz <ricotz@ubuntu.com> tests: Avoid use of g_ptr_array_find() which requires glib >= 2.54 2018-11-09 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Deprecate "ctype" ccode-attribute This is an alias for "type" glib-2.0: Replace ctype ccode-attributes with type codegen: Deprecate "finish_function" ccode-attribute This is an alias for "finish_name" gio-2.0: Replace finish_function ccode-attributes with finish_name 2018-11-08 Rico Tzschichholz <ricotz@ubuntu.com> vapi: Some random fixes on old bindings vala: Copy CCode instance_pos argument from virtual/abstract base methods https://bugzilla.gnome.org/show_bug.cgi?id=540483 vala: Add CodeNode.copy_attribute_*() helper methods Provides an easy way to copy a specific attribute argument from another code node if the source has it set. tests: Add GenericArray (GPtrArray) tests codegen: Fix method pointer cast if instance isn't at first position By unconditionally putting the instance at first position the CCode instance_pos attribute was not accounted for. Sync NEWS from 0.42 2018-11-07 Rico Tzschichholz <ricotz@ubuntu.com> vala: Check for matching ownership of type-arguments Non-boxed simple types can't be unowned and are therefore ignored. Fixes https://gitlab.gnome.org/GNOME/vala/issues/696 2018-11-07 Rico Tzschichholz <ricotz@ubuntu.com> gstreamer: Update from 1.15+ git master gio-2.0: Result of DBusMessage.get_header() is unowned gtk+-4.0: Update to 3.94.0+b4b30b49 2018-11-06 Alistair Thomas <astavale@yahoo.co.uk> glib-2.0: Add array length to string.skip Fixes https://gitlab.gnome.org/GNOME/vala/issues/695 2018-11-06 Rico Tzschichholz <ricotz@ubuntu.com> vala: Don't check for GLib.Variant casting in POSIX profile 2018-11-05 Rico Tzschichholz <ricotz@ubuntu.com> testrunner: Add -Werror=missing-prototypes codegen: Add prototype for *_new() of abstact compact classes Found with -Werror=missing-prototypes 2018-11-04 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Don't emit *_free() of derived compact classes Found with -Werror=missing-prototypes codegen: Add prototype for *_register_type() function Found with -Werror=missing-prototypes gdk-3.0: Fix type-argument in return-type of Device.get_axes() vala: Use is_weak() for type-arguments in DataType.to_qualified_string() gdbus: Don't pass null to get_ccode_array_length_type() to fix criticals 2018-11-03 Rico Tzschichholz <ricotz@ubuntu.com> testrunner: Check if compiler flags are supported before using them Use AX_CHECK_COMPILE_FLAG to collect TEST_CFLAGS in configure. vala: Drop "explicit" from ValaSourceFile and use "from_commandline" 2018-11-03 Alistair Thomas <astavale@yahoo.co.uk> codegen: Add replacement for G_(BEGIN|END)_DECLS in non GOBJECT profile Fixes https://gitlab.gnome.org/GNOME/vala/issues/622 2018-11-03 Rico Tzschichholz <ricotz@ubuntu.com> libvaladoc: Add "unlock" to keywords in Highligher vala: Fix TokenType.HASH.to_string() testrunner: Add -Werror=maybe-uninitialized testrunner: Add -Werror=declaration-after-statement testrunner: Add -Werror=duplicated-branches/duplicated-cond 2018-11-02 George Barrett <bob@bob131.so> codegen: Infer index type of foreach on array from ArrayType.length_type https://gitlab.gnome.org/GNOME/vala/issues/607 2018-11-02 Rico Tzschichholz <ricotz@ubuntu.com> girwriter: Remove hardcoded "int" length type and use ArrayType.length_type codegen: Keep respecting CCode array_length_type of Parameter/Method/Delegate codegen: Support marshalling ArrayType.length_type in signals gdbus: Remove hardcoded "int" length type and use ArrayType.length_type 2018-11-02 George Barrett <bob@bob131.so> codegen: Remove hardcoded "int" length type and use ArrayType.length_type https://gitlab.gnome.org/GNOME/vala/issues/607 2018-11-02 Rico Tzschichholz <ricotz@ubuntu.com> vala: Add ArrayType.length_type and ArrayCreationExpression.length_type https://gitlab.gnome.org/GNOME/vala/issues/607 2018-11-02 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Initialize internal temp-variables used as reference parameter When casting Variant to multi-dimensional arrays the length fields are used as out-parameters and needs to be initialized. They are not guaranteed to be all set in _variant_get*() in this case. Fixes tests with -Werror=maybe-uninitialized 2018-11-01 Rico Tzschichholz <ricotz@ubuntu.com> glib-2.0: Add binding for g_test_add() Fixes https://gitlab.gnome.org/GNOME/vala/issues/524 2018-11-01 Ali Sabil <ali.sabil@gmail.com> codegen: Fix regex literal compile flags The GRegex GRegexCompileFlags were declared as GRegexMatchFlags, leading to a C compiler warning. 2018-10-31 Rico Tzschichholz <ricotz@ubuntu.com> vala: Drop DataType.is_array() and use usual type check as anywhere else 2018-10-30 Rico Tzschichholz <ricotz@ubuntu.com> glib-2.0: Computing length once is enough in string.to_utf8()/splice() tests: Add more string method tests 2018-10-29 Rico Tzschichholz <ricotz@ubuntu.com> tests: Make "/errors/errors" test fatal doc: Fix build of internal-api-docs 2018-10-28 Rico Tzschichholz <ricotz@ubuntu.com> manual: Update from wiki.gnome.org 2018-10-27 Rico Tzschichholz <ricotz@ubuntu.com> testrunner: Compile and run tests separately testrunner: Reset $run_prefix before generating next test script vala: Let UsingDirective hold reference to UnresolvedSymbol instances only This should break a cyclic reference of SourceReference and Namespace. tests: Add some "using directive" tests to increase coverage 2018-10-26 Rico Tzschichholz <ricotz@ubuntu.com> tests: Add "captured unassigned local variable" test tests: Add "assigned local variables" tests 2018-10-25 Rico Tzschichholz <ricotz@ubuntu.com> tests: Add implicit conversion tests for GLib.Variant 2018-10-24 Rico Tzschichholz <ricotz@ubuntu.com> vala: Implement get_*_variables() for ConditionalExpression 2018-10-24 Luca Bruno <lucabru@src.gnome.org> vala: Don't navigate the resolver tree if a node has been checked already 2018-10-24 Rico Tzschichholz <ricotz@ubuntu.com> vala: Make source_reference optional for ObjectCreationExpression vala: Implement check() for StatementList 2018-10-23 Rico Tzschichholz <ricotz@ubuntu.com> vala: DataType for GLib.Error should be should resolved as ErrorType vala: Add some missing type copying 2018-10-23 Luca Bruno <lucabru@src.gnome.org> vala: Fix and add more to_string() methods to expressions 2018-10-23 Rico Tzschichholz <ricotz@ubuntu.com> vala: Add source_reference to local variable of catch-clause vala: Fix several AST construction/parenting issues 2018-10-23 Luca Bruno <lucabru@src.gnome.org> vala: Add missing replace_expression() implementations Recurse arguments when getting error types for method calls Collect error_types on demand to allow transformations vala: Always analyze nodes after they are inserted into the AST 2018-10-22 Rico Tzschichholz <ricotz@ubuntu.com> gobject-2.0,gtk+-*.0: Fix some GLib.Value out/ref parameters This is required due to GLib.Value being bound as struct. 2018-10-21 Rico Tzschichholz <ricotz@ubuntu.com> vapi: Update GIR-based bindings gstreamer: Update from 1.15+ git master codegen: Improve ccode for fixed-length array parameters https://gitlab.gnome.org/GNOME/vala/issues/163 2018-10-20 Rico Tzschichholz <ricotz@ubuntu.com> valaparser: Don't allow to declare array parameters with "type array[]" It is required to have a fixed length like "type array[3]". Fixes https://gitlab.gnome.org/GNOME/vala/issues/163 2018-10-19 Rico Tzschichholz <ricotz@ubuntu.com> girwriter: Fix ctype of out/ref and array parameters tests: Add "method override with compatible delegate parameter" test 2018-10-17 Rico Tzschichholz <ricotz@ubuntu.com> vala: Move nullable setting of LocalVariable with reference type to check() ... and keep skipping it in non-null mode. Originally introduced with 80c18a1d1ff357be7f1d0f50f1aa331f206a0a0a Fixes https://gitlab.gnome.org/GNOME/vala/issues/684 2018-10-17 Rico Tzschichholz <ricotz@ubuntu.com> Add support for SingleInstance attribute for GObject classes Fixes https://gitlab.gnome.org/GNOME/vala/issues/647 2018-10-16 Rico Tzschichholz <ricotz@ubuntu.com> test: Add some invalid "non-null" tests 2018-10-09 Rico Tzschichholz <ricotz@ubuntu.com> ccode: Fix typo and actually check "end_decls" Note both begin_decls and end_decls must be either not null or null. Fixes https://gitlab.gnome.org/GNOME/vala/issues/672 2018-10-08 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Initialize internal temp-variables used as reference parameter Variables for delegate-targets and array-lengths passed as reference in method calls should be initialized to fix "make check" with -O3. gstreamer: Update from 1.15+ git master codegen: Make unreachable error an internal error This is meant to be caught in ElementAccess.check() codegen: Replace invalid array-length assert with internal error While the test-suite triggers this assert with an invalid test an explicit crash is not wanted. tests: Extent "girwriter" test to increase coverage 2018-10-08 Rico Tzschichholz <ricotz@ubuntu.com> build: Allow disabling the build of valadoc Allow disabling build of valadoc with configure option --disable-valadoc Fixes https://gitlab.gnome.org/GNOME/vala/issues/596 2018-09-26 Rico Tzschichholz <ricotz@ubuntu.com> build: Unconditionally add conditional VALAFLAGS to make bootstrap This avoids another configure pass after an initial build with an older valac <= 0.39.5.8. See https://gitlab.gnome.org/GNOME/gnome-build-meta/issues/44 2018-09-23 Rico Tzschichholz <ricotz@ubuntu.com> vapi: Update GIR-based bindings gstreamer: Update from 1.15+ git master gtk+-4.0: Update to 3.94.0+d90e2733 2018-09-22 Rico Tzschichholz <ricotz@ubuntu.com> Drop deprecated syntax support of # modifier and operator owned modifier and (owned) cast should be used instead for a long time. Fixes https://gitlab.gnome.org/GNOME/vala/issues/677 2018-09-22 Rico Tzschichholz <ricotz@ubuntu.com> Drop deprecated syntax support of += and -= for signals The connect/disconnect methods should be used instead for a long time. Fixes https://gitlab.gnome.org/GNOME/vala/issues/676 2018-09-22 Rico Tzschichholz <ricotz@ubuntu.com> Move some errors from signal-module to the semantic-analyzer pass tests: Add some invalid "signal" tests to increase coverage 2018-09-22 Rico Tzschichholz <ricotz@ubuntu.com> vala: Enforce "return yield ..." syntax to be expected "yield return ..." wasn't handled correctly and resulted in broken c-code. Fixes https://gitlab.gnome.org/GNOME/vala/issues/675 2018-09-22 Rico Tzschichholz <ricotz@ubuntu.com> codewriter: Prepend "yield" if is_yield_expression is set on MethodCall/ObjectCreationExpression tests: Add some "yield" test to increase coverage tests: Add invalid "object creation" tests to increase coverage tests: Update field "owned to unowned" test to increase coverage tests: Add invalid variable declaration tests to increase coverage 2018-09-21 Rico Tzschichholz <ricotz@ubuntu.com> vala: Return early for invalid initializer of local variable declarations tests: Add invalid "property for Object() chainup" tests to increase coverage tests: Add invalid "construct without GObject" test to increase coverage tests: Add invalid "method to delegate" test to increase coverage tests: Add invalid "duplicating instance" test to increase coverage tests: Add "missing class prerequisite for interface" test to increase coverage tests: Add "GenericAccessors" tests to increase coverage tests: Add invalid "array concatenation" test to increase coverage tests: Add "unsupported use of length field" test to increase coverage 2018-09-20 Alistair Thomas <astavale@yahoo.co.uk> glib-2.0: Add feature_test_macro details for Time struct's methods glib-2.0: Set DateTime.now () to use local time zone as the default 2018-09-20 Rico Tzschichholz <ricotz@ubuntu.com> vapi: Update GIDL-based bindings to fix unsupported type-arguments valadoc: Fix some string escaping which gettext complains about vala: Check if ArrayType supports its given element-type in analyzer pass 2018-09-20 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Fix typo in is_pure_ccode_expression() Note that this method is not used anymore and should likely be dropped. Introduced with e086fada22eb7221cdbe34d7d4ac41445a50130a Fixes https://gitlab.gnome.org/GNOME/vala/issues/673 2018-09-20 Rico Tzschichholz <ricotz@ubuntu.com> g-i: Fix use after free in scanner Fixes https://gitlab.gnome.org/GNOME/vala/issues/674 2018-09-19 Rico Tzschichholz <ricotz@ubuntu.com> x11: Add binding for XCreateSimpleWindow libxml-2.0: Add missing context parameter in OutputWriteCallback vala: Add Block.get_local_constants() 2018-09-18 Rico Tzschichholz <ricotz@ubuntu.com> gtk+-3.0: Treat Gtk.IconInfo as GLib.Object which it is since 3.8 This change is backwards incompatible! See https://gitlab.gnome.org/GNOME/vala/issues/663 2018-09-18 Rico Tzschichholz <ricotz@ubuntu.com> codewriter: Use List.sort() instead of custom local implementation 2018-09-17 Rico Tzschichholz <ricotz@t-online.de> codegen: Emit G_DEFINE_AUTOPTR_CLEANUP_FUNC() for classes This requires --target-glib=2.44 Fixes https://gitlab.gnome.org/GNOME/vala/issues/670 2018-09-17 Rico Tzschichholz <ricotz@ubuntu.com> Bump version suffix Release 0.42.1 2018-09-17 Rico Tzschichholz <ricotz@ubuntu.com> vapigen: Warn if the library argument doesn't match any package attribute GIR files can contain a package key referring to the pkg-config name which is the recommended and even required naming of a vapi. Fixes https://gitlab.gnome.org/GNOME/vala/issues/669 2018-09-17 Rico Tzschichholz <ricotz@ubuntu.com> vapi: Update GIR-based bindings gtk+-4.0: Update to 3.94.0+f3e6d00d tests: Actually check canonical cname of properties and signals test: Add property lock test 2018-09-09 Rico Tzschichholz <ricotz@ubuntu.com> tests: Check uchar[] and uint8[] compatibility vapi: Add gnome-desktop-3.0 bindings Fixes https://gitlab.gnome.org/GNOME/vala/issues/668 vapi: Remove libgda-4.0, libgda-report-4.0 bindings Fixes https://gitlab.gnome.org/GNOME/vala/issues/667 2018-09-07 Rico Tzschichholz <ricotz@ubuntu.com> glib-2.0: Add some 2.58 symbols 2018-09-06 Rico Tzschichholz <ricotz@ubuntu.com> vapi: Update GIR-based bindings 2018-08-31 Rico Tzschichholz <ricotz@ubuntu.com> Release 0.42.0 2018-08-30 Rico Tzschichholz <ricotz@ubuntu.com> gstreamer: Update from 1.15+ git master 2018-08-28 Rico Tzschichholz <ricotz@ubuntu.com> vapi: Update GIR-based bindings webkit2gtk-4.0: Update to 2.21.92 2018-08-18 Rico Tzschichholz <ricotz@ubuntu.com> Release 0.41.92 manual: Update from wiki.gnome.org 2018-08-17 Rico Tzschichholz <ricotz@ubuntu.com> vala: Don't bail early on property with not supported default value This avoids independent consequential errors. codegen: Call ref_sink on Object.new_valist/new_with_properties if needed gstreamer: Update from 1.15+ git master webkit2gtk-4.0: Update to 2.21.91 2018-08-16 Rico Tzschichholz <ricotz@ubuntu.com> glib-2.0: Add float.parse/try_parse() https://gitlab.gnome.org/GNOME/vala/issues/649 2018-08-13 Abderrahim Kitouni <akitouni@gnome.org> build: Correctly quote square brackets in regular expression Square brackets are quotation characters in autoconf, and need to be further quoted to appear in the resulting script. 2018-08-13 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Fix floating reference regression with Variants Let ConditionalExpression sink floating references. Fixes https://gitlab.gnome.org/GNOME/vala/issues/661 2018-08-12 Rico Tzschichholz <ricotz@ubuntu.com> glib-2.0: Add missing return of Queue.remove*() and add HashTable.foreach_steal() 2018-08-11 Rico Tzschichholz <ricotz@ubuntu.com> Release 0.41.91 2018-08-10 Rico Tzschichholz <ricotz@ubuntu.com> glib-2.0: Add (u)long.parse/try_parse() https://gitlab.gnome.org/GNOME/vala/issues/649 2018-08-09 Rico Tzschichholz <ricotz@ubuntu.com> Use dedicated version api of libvala internally as well vala: Add consts/methods to retrieve and check library version https://gitlab.gnome.org/GNOME/vala/issues/304 gdk-3.0: Atom is an IntegerType tests: Add invalid test for "unsupported stacked arrays" tests: No, really, stacked arrays are not supported vapi: Regenerate GIR-based bindings to fix unsupported type-arguments girparser: Actually resolve type-arguments to be able to box them if needed 2018-08-08 Rico Tzschichholz <ricotz@ubuntu.com> Replace `%s` with `%s' in format strings of output messages 2018-08-05 Rico Tzschichholz <ricotz@ubuntu.com> gtk+-4.0: Update to 3.94.0+4e868584 gtk+-3.0: Update to 3.23.2+6b6e53fd gstreamer: Update from 1.15+ git master 2018-08-02 Rico Tzschichholz <ricotz@ubuntu.com> tests: Deal with libtool differences resulting in lt-valac vs valac in vapi 2018-08-01 Rico Tzschichholz <ricotz@ubuntu.com> tests: Add "gtktemplate" test to increase coverage tests: Add "girwriter" test to increase coverage Fixes https://gitlab.gnome.org/GNOME/vala/issues/158 tests: Add more "method" tests to increase coverage 2018-08-01 Carlos Garnacho <carlosg@gnome.org> codegen: Free errors after returning them on the GDBusMethodInvocation Those are being leaked otherwise. Fixes https://gitlab.gnome.org/GNOME/vala/issues/657 2018-07-30 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Call ref_sink on objects passed to generic type Regression of 6f1d0947bed9260436e7d2da18977b3925cdb0bd Fixes https://gitlab.gnome.org/GNOME/vala/issues/655 2018-07-27 Rico Tzschichholz <ricotz@ubuntu.com> glib-2.0: Add Array.remove*() wrapper to avoid leaking generic elements 2018-07-26 Rico Tzschichholz <ricotz@ubuntu.com> Release 0.41.90 Sync NEWS from 0.40 codegen: Add source_reference to unsupported floating reference error 2018-07-26 Rico Tzschichholz <ricotz@ubuntu.com> Revert "codegen: Stop taking explicit references on 'this' for captured blocks" This reverts commit 75e61cfbadb3d98f44835665d25fa3b836cbceb5. See https://gitlab.gnome.org/GNOME/vala/issues/654 2018-07-26 Rico Tzschichholz <ricotz@ubuntu.com> glib-2.0: Variant.byte() takes an uint8 argument glib-2.0: Add Unicode 11.0 symbols 2018-07-23 Rico Tzschichholz <ricotz@ubuntu.com> webkit2gtk-4.0: Update to 2.21.5 gstreamer: Update from 1.15+ git master gtk+-4.0: Update to 3.94.0+20deda2b gtk+-3.0: Update to 3.23.1+5b527d69 2018-07-16 Rico Tzschichholz <ricotz@ubuntu.com> manual: Update from wiki.gnome.org gstreamer-rtsp-server-1.0: Update from 1.15+ git master Fixes https://gitlab.gnome.org/GNOME/vala/issues/653 gstreamer: Update from 1.15+ git master gtk+-4.0: Update to 3.94.0+bf5f27c6 2018-07-13 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Don't emit g_type_add_instance_private() for dynamic types This fixes warnings like "sys:1: Warning: cannot add private field to invalid (non-instantiatable) type ..." Regression of df56f916e52e5efe3876afed59a6190f6cead1c8 2018-07-13 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Move interface_init calls before g_type_add_instance_private() Revert "codegen: Don't emit g_type_add_instance_private() in *_register_type()" This reverts commit cb669029dbd56e1d60586b39161f4948250c2f56. 2018-07-13 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Don't emit g_type_add_instance_private() in *_register_type() This fixes warnings like "sys:1: Warning: cannot add private field to invalid (non-instantiatable) type ..." Regression of df56f916e52e5efe3876afed59a6190f6cead1c8 2018-07-12 Rico Tzschichholz <ricotz@ubuntu.com> tests: Add invalid "empty" enum/errordomain tests to increase coverage gio-2.0: Add custom IOError.from_errno() to make it work as expected Fixes https://gitlab.gnome.org/GNOME/vala/issues/253 2018-07-12 Rico Tzschichholz <ricotz@ubuntu.com> parser: Accept "empty" enums/error-domains This drops the semantic check from the parser. Actual errors will be caught later by the SemanticAnalyzer. See https://gitlab.gnome.org/GNOME/vala/issues/253 2018-07-12 Rico Tzschichholz <ricotz@ubuntu.com> vala: Report error for error-domains without any code 2018-07-12 Corentin Noël <corentin.noel@collabora.co.uk> libusb-1.0: Add some missing symbols 2018-07-12 Rico Tzschichholz <ricotz@ubuntu.com> girparser: Handle unsupported aliases which could not be fully processed This avoids criticals for e.g. aliases of error-domains 2018-07-11 Rico Tzschichholz <ricotz@ubuntu.com> gtk+-4.0: Update to 3.94.0+7030e08f gdk-3.0,gtk+-3.0: Update to 3.23.0+df045423 2018-07-09 Rico Tzschichholz <ricotz@ubuntu.com> gobject-2.0: Add missing symbols test: Add missing '\'s codegen: Do not create a shadowing *_private_offset variable in GtkModule This is globally available since df56f916e52e5efe3876afed59a6190f6cead1c8 2018-07-08 Rico Tzschichholz <ricotz@ubuntu.com> vala: Report error for invalid base access in method/property of compact class codegen: Fix invocation of abstract/virtual methods with NoWrapper in compact classes 2018-07-05 Rico Tzschichholz <ricotz@ubuntu.com> girwriter: Add boolean GIR visible attribute to allow skipping symbols "visibility = false" will be transformed into introspectable="0" in the resulting GIR file. Attributed namespaces will be skipped altogether. 2018-07-05 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Allow TypeModule subclasses as parameter-type in module-init-method Fixes https://gitlab.gnome.org/GNOME/vala/issues/648 gobject-2.0: Add lower_case_csuffix attributes to Type* symbols Regenerate GIDL-based bindings gidl: Properly resolve "time_t" codegen: Let methods return -1 on error by default if possible Fixes https://gitlab.gnome.org/GNOME/vala/issues/526 codewriter: Output bodies of code-blocks if in VAPIGEN mode Fixes https://gitlab.gnome.org/GNOME/vala/issues/231 2018-07-04 Alistair Thomas <astavale@yahoo.co.uk> valadoc: Use HTML5 doctype in HTML doclet 2018-07-04 Rico Tzschichholz <ricotz@ubuntu.com> glib-2.0: Add Process.spawn_async_with_fds() gio-unix-2.0: Add DesktopAppInfo.launch_uris_as_manager_with_fds() vapi: Update GIR-based bindings gstreamer: Update from 1.15+ git master gtk+-4.0: Update to 3.94.0+14620423 2018-07-04 Alistair Thomas <astavale@yahoo.co.uk> vala: Allow read-only properties See https://gitlab.gnome.org/GNOME/vala/merge_requests/10 2018-07-04 David Hewitt <davidmhewitt@gmail.com> vala: Break reference chain between DataType and Symbol if possible See https://gitlab.gnome.org/GNOME/vala/issues/635 2018-07-04 Alistair Thomas <astavale@yahoo.co.uk> libvaladoc: Change link to Valadoc wiki page for HTML doclet See https://gitlab.gnome.org/GNOME/vala/merge_requests/12 2018-06-30 Alistair Thomas <astavale@yahoo.co.uk> doc: Fix links in the Manual The DocBook source for the Vala Reference Manual is now only available through HTTPS. Update the XSLT so links are correctly translated to in document links again. 2018-06-21 Rico Tzschichholz <ricotz@ubuntu.com> gtk+-4.0: Change type of Gdk.Key.* constants to uint gdk-3.0: Change type of Gdk.Key.* constants to uint Fixes https://gitlab.gnome.org/GNOME/vala/issues/643 clutter-1.0: Change type of Clutter.Key.* constants to uint girparser: Allow changing the type of constants using metadata See https://gitlab.gnome.org/GNOME/vala/issues/643 2018-06-20 Rico Tzschichholz <ricotz@ubuntu.com> vapi: Update GIR-based bindings gtk+-4.0: Update to 3.93.0+29fee2e8 2018-06-18 Alistair Thomas <astavale@yahoo.co.uk> glib-2.0: Make Source.attach() use the default MainContext by default glib-2.0: Source.dispatch() accepts a null SourceFunc codegen: Fix warning for source_funcs parameter of g_source_new() 2018-06-18 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Avoid using deprecated "g_type_class_add_private" 2018-06-16 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Actually treat GLib.Source as compact class Make sure to not create a new dedicated struct for derived types and reference them as GSource. See https://gitlab.gnome.org/GNOME/vala/issues/641 2018-06-16 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Custom abstract methods of GLib.Source are handled differently Regression of 28b4f45b709622e821e86655f245fdcb75d3afaf Fixes https://gitlab.gnome.org/GNOME/vala/issues/641 2018-06-14 Rico Tzschichholz <ricotz@ubuntu.com> girwriter: construct-only properties don't have a setter method girwriter: Output deprecated="1" girwriter: Don't write any custom attributes Fixes https://gitlab.gnome.org/GNOME/vala/issues/608 tests: Add invalid array initializer tests to increase coverage tests: Add invalid assignment tests to increase coverage 2018-06-13 Rico Tzschichholz <ricotz@ubuntu.com> tests: Add more invalid class tests to increase coverage vala: Drop unreachable code tests: Add invalid "duped constructor/destructor" test to increase coverage tests: Add invalid "type-argument" tests to increase coverage gtk+-4.0: Update to 3.93.0+b1f934d3 gstreamer: Update from 1.15+ git master webkit2gtk-4.0: Update to 2.21.4 Revert "libvaladoc: Avoid superfluous references of Rule" This reverts commit 85d3dffc0e8dfaf6549a730be918aece7afff951. 2018-06-12 Rico Tzschichholz <ricotz@ubuntu.com> libvaladoc: Avoid superfluous references of Rule libvaladoc: Avoid superfluous references of MarkupWriter libvaladoc: Avoid superfluous references of SignatureBuilder libvaladoc: Replace void* with corresponding Vala API Revert "Fix make check" This reverts commit c0a23c28e964e41798a22fe2866508ad2b37110e. valadoc: Fix TreeBuilder.create_array() for stacked Arrays 2018-06-10 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Consistently use gpointer for delegate targets 2018-06-10 Corentin Noël <corentin@elementary.io> valadoc: Use a more modern stylesheet and icons The icons used in the documentation were recently completely rewritten by Daniel Foré for valadoc.org. I just rendered the icons from https://github.com/Valadoc/valadoc-org to PNG using Inkscape. The stylesheet is also derived from the valadoc.org one to keep a consistent design across all the Vala resources. 2018-06-10 Rico Tzschichholz <ricotz@ubuntu.com> glib-2.0: Make Bytes.slice() use the memory-efficient Bytes.from_bytes() Fixes https://gitlab.gnome.org/GNOME/vala/issues/638 glib-2.0: Fix Bytes.with_free_func() 2018-06-06 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Unify some delegate-type check patterns 2018-06-03 Rico Tzschichholz <ricotz@ubuntu.com> vapi: Add gst-editing-services-1.0 bindings gstreamer: Update from 1.15+ git master gdk-pixbuf-2.0: Update to 2.37.0~5ec6746e gio-2.0: Update to 2.57.1+05fe1106 gtk+-3.0: Update to 3.22.30+9ac7f906 gtk+-4.0: Update to 3.93.0+f4c1a404 2018-06-02 Rico Tzschichholz <ricotz@ubuntu.com> glib-2.0: Do not mark simple-type out-parameters as nullable Fixes g_utf8_*, g_ucs4_* and g_utf16_ bindings which were introduced with 5c5245d1ca3616c0d4f861efff07418ddc67e294 Fixes https://gitlab.gnome.org/GNOME/vala/issues/634 2018-06-02 Alistair Thomas <astavale@yahoo.co.uk> gio-2.0: Mark ActionEntry.parameter_type/state fields as nullable Fixes https://gitlab.gnome.org/GNOME/vala/issues/632 2018-05-31 Rico Tzschichholz <ricotz@ubuntu.com> gio-2.0: Delegate fields of DBus*VTable do not have implicit target fields 2018-05-31 Rico Tzschichholz <ricotz@ubuntu.com> gio-2.0: Apply delegate_target = false on ActionEntry callbacks and make them weak They break struct ABI and the "require_copy/destroy" check in codegen while being defined with target. Fixes https://gitlab.gnome.org/GNOME/vala/issues/630 2018-05-31 Rico Tzschichholz <ricotz@ubuntu.com> girparser: Add support for bool delegate_target https://gitlab.gnome.org/GNOME/vala/issues/520 2018-05-31 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Handle delegate_target attribute of fields Delegate fields without a delegate target don't require special handling on copy/destroy. Fixes https://gitlab.gnome.org/GNOME/vala/issues/520 2018-05-30 Rico Tzschichholz <ricotz@ubuntu.com> gio-2.0: Add default to all io_priority parameters xcb: Drop vala-specific deprecations <= vala-0.22 pango: Drop vala-specific deprecations <= vala-0.22 libsoup-2.4: Drop vala-specific deprecations <= vala-0.22 gtk+-3.0: Drop vala-specific deprecations <= vala-0.22 gtk+-2.0: Drop vala-specific deprecations <= vala-0.22 gio-2.0: Drop vala-specific deprecations <= vala-0.22 gdk-pixbuf-2.0: Drop vala-specific deprecations <= vala-0.22 gdk-3.0: Drop vala-specific deprecations <= vala-0.22 gdk-2.0: Drop vala-specific deprecations <= vala-0.22 clutter-gtk-1.0: Drop vala-specific deprecations <= vala-0.22 clutter-1.0: Drop vala-specific deprecations <= vala-0.22 atk: Drop vala-specific deprecations <= vala-0.22 2018-05-28 Rico Tzschichholz <ricotz@ubuntu.com> Update bugtracker links to https://gitlab.gnome.org/GNOME/vala/issues 2018-05-22 Rico Tzschichholz <ricotz@ubuntu.com> webkit2gtk-4.0: Update to 2.21.2 2018-05-21 Rico Tzschichholz <ricotz@ubuntu.com> manual: Update from wiki.gnome.org codegen: Avoid critical for array in-parameters with custom length-type Regression of 049b9b3943831e6dd242889a8196bd88b7858268 2018-05-21 Rico Tzschichholz <ricotz@ubuntu.com> tests: Drop fatal assert on big-endian archs The assert isn't required to verify this specific fix, but obviously shows another underlying issue. https://bugzilla.gnome.org/show_bug.cgi?id=796313 2018-05-20 Rico Tzschichholz <ricotz@ubuntu.com> glib-2.0: Fix IConv.iconv() https://bugzilla.gnome.org/show_bug.cgi?id=634753 codegen: Fix casting of length for "ref" array parameters javascriptcoregtk-4.0: buffer of String.get_utf8_cstring() is not "ref" https://bugzilla.gnome.org/show_bug.cgi?id=788113 2018-05-19 Rico Tzschichholz <ricotz@ubuntu.com> compiler: Warn if --gir is used without --library https://bugzilla.gnome.org/show_bug.cgi?id=708693 girwriter: Properly output variadic methods and use introspectable="0" This also fixes several criticals caused by "ellipsis" parameter glib-2.0: Add HashTable.steal_extended(), GenericArray.steal_index(_fast)() gio-unix-2.0: Add UnixMountEntry.get_options() vapi: Update GIR-based bindings gtk+-4.0: Update to 3.93.0+3a860719 gstreamer: Update from 1.15+ git master vala: Remove unused Interface.prepend_prerequisite() 2018-05-17 Rico Tzschichholz <ricotz@ubuntu.com> vala: Allow specifying the nick of enum values https://bugzilla.gnome.org/show_bug.cgi?id=625209 2018-05-17 Stef Walter <stefw@redhat.com> Use default_init instead of base_init when registering interfaces Using base_init() is overly complex, requires multi-initialization guards, and in the case of vala generated code these are currently not thread safe. The recommended approach is to use default_init() to initialize interfaces. It is called only once, solves thread safety issues. https://bugzilla.gnome.org/show_bug.cgi?id=699550 2018-05-16 Rico Tzschichholz <ricotz@ubuntu.com> girwriter: Drop errornous indent 2018-05-16 Evgeny Bobkin <evgen.ibqn@gmail.com> genie: Add support for the \uXXXX escape sequence An additional checks to validate the escape sequences \xYY and \uYYYY were added, where Y represents a hex digit. Ported from 04422d716cf226b5e8a6c11306e07adbde26fd67 2018-05-16 Rico Tzschichholz <ricotz@ubuntu.com> scanner: Accept backreferences \1 through \99 in regex literals https://bugzilla.gnome.org/show_bug.cgi?id=728574 2018-05-15 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Avoid critical in get_basic_type_info() when there is no signature https://bugzilla.gnome.org/show_bug.cgi?id=729517 2018-05-14 Rico Tzschichholz <ricotz@ubuntu.com> vala: Abstract and virtual methods may not be variadic The chain-up of the variadic parameter is not possible. https://bugzilla.gnome.org/show_bug.cgi?id=643088 2018-05-14 Rico Tzschichholz <ricotz@ubuntu.com> ccode: Properly depend on in-tree built libvala 2018-05-14 Rico Tzschichholz <ricotz@ubuntu.com> vala: Don't return null if no rank attribute was found There was already an error message introduced with 3158ae7a0f990b44f114d51498636e669609af0d https://bugzilla.gnome.org/show_bug.cgi?id=660991 2018-05-14 Rico Tzschichholz <ricotz@ubuntu.com> genie: Add support for the \v escape charactor https://bugzilla.gnome.org/show_bug.cgi?id=664689 scanner: Accept \R and \N escape sequences in regex literals https://bugzilla.gnome.org/show_bug.cgi?id=749576 2018-05-12 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Don't include the full absolute path in line directives Only write source's filename prepended by the path relative to the directory the valac call origined from. https://bugzilla.gnome.org/show_bug.cgi?id=769935 2018-05-12 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Fix serializing multidimensional arrays The same type signature was being used for every dimension of the array. Based on patch by Abderrahim Kitouni https://bugzilla.gnome.org/show_bug.cgi?id=735437 2018-05-12 Rico Tzschichholz <ricotz@ubuntu.com> vapi: Remove mx-1.0 bindings https://bugzilla.gnome.org/show_bug.cgi?id=796041 2018-05-09 Rico Tzschichholz <ricotz@ubuntu.com> vala: Transfer floating-reference attribute while casting https://bugzilla.gnome.org/show_bug.cgi?id=795920 codegen: Guard get_default_ref_sink_function() against null base-class 2018-05-08 Rico Tzschichholz <ricotz@ubuntu.com> gobject-2.0: Make constructor of ParamSpecBoxed public 2018-05-08 Dr. Michael Lauer <mickey@vanille-media.de> posix: Bind va_list and add string.concat() (POSIX) This fixes string templates when using the POSIX profile. 2018-05-08 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Support string comparision (POSIX) Reintroduce POSIX profile This reverts commit ca020bf04a09fe16e5583eea5a3a341e7796bff5. 2018-05-01 Rico Tzschichholz <ricotz@ubuntu.com> gtk+-4.0: Update to 3.93.0+d506799e vapi: Update GIR-based bindings gstreamer: Update from 1.15+ git master gtk+-4.0: Update to 3.93.0+2cf55c16 2018-04-30 Rico Tzschichholz <ricotz@ubuntu.com> posix: Add missing cname = "int" to Posix.Signal enum 2018-04-28 Michael James Gratton <mike@vee.net> sqlite3: Add additional constants for flags of Database.open_v2() https://bugzilla.gnome.org/show_bug.cgi?id=795627 2018-04-27 Rico Tzschichholz <ricotz@ubuntu.com> tests: Treat new lock/unlock tests as compile-only which they are 2018-04-26 Rico Tzschichholz <ricotz@ubuntu.com> vala: Transform Struct.*_rank() methods into "rank" property 2018-04-25 Rico Tzschichholz <ricotz@ubuntu.com> Regenerate bindings to accommodate for "unlock" being a keyword now https://bugzilla.gnome.org/show_bug.cgi?id=795545 2018-04-25 Rico Tzschichholz <ricotz@ubuntu.com> parser: Add support for explicit "unlock" syntax By providing more control over the internal support for Mutex creation and usage, this allows a more complex resource control while having an explicit way to unlock a previously locked lockable. lock (foo); ... unlock (foo); https://bugzilla.gnome.org/show_bug.cgi?id=795545 2018-04-25 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Respect cname ccode-attribute of lockable fields https://bugzilla.gnome.org/show_bug.cgi?id=795521 vala: Transform Lockable.*_lock_used() methods into "lock_used" property vala: Constants and signals are not lockable libarchive: Fix 'buffer' ownership in read_data_block() and ReadCallback() https://bugzilla.gnome.org/show_bug.cgi?id=795079 2018-04-24 Rico Tzschichholz <ricotz@ubuntu.com> codewriter: Add 'new' to symbols if needed to match the original source https://bugzilla.gnome.org/show_bug.cgi?id=614686 2018-04-24 Rico Tzschichholz <ricotz@ubuntu.com> webkit2gtk-4.0: Add JSC namespace to javascriptcoregtk-4.0 and fix depends Make JS namespace deprecated since 2.22 accordingly https://bugzilla.gnome.org/show_bug.cgi?id=795497 2018-04-23 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Support automatic properties as GtkChild https://bugzilla.gnome.org/show_bug.cgi?id=787034 codegen: Reuse already retrieved get_attribute_string ("GtkTemplate", "ui") codegen: Avoid ref/unref of AttributeCache when calling get_ccode_attribute() 2018-04-22 Corentin Noël <corentin@elementary.io> libarchive: Update to 3.0 https://bugzilla.gnome.org/show_bug.cgi?id=795079 2018-04-22 Rico Tzschichholz <ricotz@ubuntu.com> libarchive: Add "has_typedef = false" attributes to delegates as needed https://bugzilla.gnome.org/show_bug.cgi?id=795079 gtk+-3.0: Update to 3.22.30+21fddc39 gtk+-4.0: Update to 3.93.0+7a09cd4c gstreamer: Update from 1.15+ git master webkit2gtk-4.0: Update to 2.21.1 girparser: Deal with missing "name" attribute by falling back on "c:type" This is simply a last resort to report a meaningfull error. glib-2.0: Add TimeZone.offset() constructor 2018-04-19 Jeeyong Um <conr2d@gmail.com> vala: Report an error when initializing non-auto properties https://bugzilla.gnome.org/show_bug.cgi?id=795225 2018-04-19 Rico Tzschichholz <ricotz@ubuntu.com> codegen: *Drop* support for non-auto property initializer in gobjects Partly reverts 73e553ac3488d641fb08b275bcf2636e3cf0de67 https://bugzilla.gnome.org/show_bug.cgi?id=701978 https://bugzilla.gnome.org/show_bug.cgi?id=795225 2018-04-19 Rico Tzschichholz <ricotz@ubuntu.com> vala: Accessors of abstract properties cannot have bodies https://bugzilla.gnome.org/show_bug.cgi?id=795225 vala: Move creation of reference field from parser into property 2018-04-16 Rico Tzschichholz <ricotz@ubuntu.com> Revert "codegen: Handle property initializers of non-gobject classes" This reverts commit 9b3eedbe81718a7a0bd9e5a97e4796e0eaa65e7f. 2018-04-15 Jakub Kaszycki <kuba@kaszycki.net.pl> bzlib: Add bzalloc/bzfree fields to Stream https://bugzilla.gnome.org/show_bug.cgi?id=794409 2018-04-15 David Hewitt <davidmhewitt@gmail.com> json-glib-1.0: Mark return-type of gvariant_deserialize*() as nullable https://bugzilla.gnome.org/show_bug.cgi?id=795265 2018-04-15 Rico Tzschichholz <ricotz@ubuntu.com> vala: Treat floating method-return-type as nullable if error may be thrown https://bugzilla.gnome.org/show_bug.cgi?id=795265 codegen: Don't apply ref_sink_function if target_type is floating_reference glib-2.0: Mark str parameter of Variant.take_string() as owned 2018-04-14 Ole André Vadla Ravnås <oleavr@gmail.com> codegen: Keep arrays alive during async server method calls When calling a co-routine it is the caller's responsibility to ensure that arrays stay alive for the duration of the call. The GDBus server code emitted did not do this, resulting in use-after-free. https://bugzilla.gnome.org/show_bug.cgi?id=783002 2018-04-14 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Handle property initializers of non-gobject classes 73e553ac3488d641fb08b275bcf2636e3cf0de67 introduced this for GObject classes only Add a warning for property default values in structs and compact classes. https://bugzilla.gnome.org/show_bug.cgi?id=795225 2018-04-14 Rico Tzschichholz <ricotz@ubuntu.com> vala: Support anonymous definitions of delegates in bindings If a library header does not include a defintion for a delegate then bindings can use the CCode annotation "has_typedef = false" which will force creation of typedef in generated source-file. [CCode (has_typedef = false)] public delegate void Func (); https://bugzilla.gnome.org/show_bug.cgi?id=794920 2018-04-14 Rico Tzschichholz <ricotz@ubuntu.com> gtk+-2.0: Set NoAccessorMethod on Gtk.Radio*.group properties The type of get/set_group() doesn't match the property type. gtk+-*.0: Set NoAccessorMethod on Gtk.Radio*.group properties The type of get/set_group() doesn't match the property type. girparser: Add support for NoAccessorMethod metadata 2018-04-13 Rico Tzschichholz <ricotz@ubuntu.com> vapi: Update GIR-based bindings gtk+-4.0: Update to 3.93.0+fc6018f1 gstreamer: Update from 1.15+ git master webkit2gtk-4.0: Update to 2.20.1 glib-2.0: Add DateTime.get_timezone() and TimeZone.get_identifier() 2018-04-09 Rico Tzschichholz <ricotz@ubuntu.com> glib-2.0: Add Intl.get_language_names_with_category() 2018-04-08 Rico Tzschichholz <ricotz@ubuntu.com> vala: Avoid some superfluous reference taking in Attribute 2018-04-07 David Hewitt <davidmhewitt@gmail.com> analyzer: Break cyclic references of BasicBlock https://bugzilla.gnome.org/show_bug.cgi?id=794979 2018-04-07 Rico Tzschichholz <ricotz@ubuntu.com> analyzer: Clean up collections for check_variables() after finished 2018-04-06 Rico Tzschichholz <ricotz@ubuntu.com> gstreamer: Update from 1.15+ git master libgsf-1: Update to 1.14.42+ https://bugzilla.gnome.org/show_bug.cgi?id=794777 gtk+-4.0: Update to 3.93.0+ff738269 2018-04-04 Rico Tzschichholz <ricotz@ubuntu.com> vala: Fix return-type of BasicBlock.get_successors() https://bugzilla.gnome.org/show_bug.cgi?id=794979 2018-04-02 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Use get_ccode_param_spec_function() codegen: Avoid some superfluous reference taking in CCodeAttribute codegen: Reuse result of get_type_declaration() 2018-04-01 Rico Tzschichholz <ricotz@ubuntu.com> gtk+-4.0: Update to 3.93.0+f2937f8c codegen: Apply G_PARAM_EXPLICIT_NOTIFY on properties with "notify = false" This requires --target-glib=2.42 to be passed. 2018-03-29 Rico Tzschichholz <ricotz@ubuntu.com> gtk+-3.0: Fix regression of StatusIcon.position_menu() https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=891629 2018-03-28 Rico Tzschichholz <ricotz@ubuntu.com> gdbus: Fix missing declaration of _fd_list for async methods https://bugzilla.gnome.org/show_bug.cgi?id=794566 2018-03-27 Rico Tzschichholz <ricotz@ubuntu.com> gtk+-*.0: Hide dedicated constructors of compact classes bound as structs https://bugzilla.gnome.org/show_bug.cgi?id=794733 Drop trailing spaces/tabs It was about time to do this. tests: Add GLib.ParamSpec tests to increase coverage glib-2.0: Use g_value_*et_schar instead of depecated g_value_*et_char g_value_get_char is broken on platforms where the char type is unsigned, such as ARM and PowerPC. gobject-2.0: Add ParamSpecGType 2018-03-25 Rico Tzschichholz <ricotz@ubuntu.com> vapi: Update GIR-based bindings webkit2gtk-4.0: Update to 2.20.0 2018-03-24 Rico Tzschichholz <ricotz@ubuntu.com> posix: Include sys/sysmacros.h for major(), minor() and makedev() Relying on sys/types.h is fatal since glibc 2.27 and was deprecated since glibc 2.25. https://bugzilla.gnome.org/show_bug.cgi?id=794651 2018-03-24 Rico Tzschichholz <ricotz@ubuntu.com> clutter-1.0: Avoid duplications of implemented interfaces 2018-03-24 Dr. Michael Lauer <mickey@vanille-media.de> posix: Add to_string to NLItem and add NLTime Patch based on https://github.com/elementary/calendar/blob/master/vapi/posix-extension.vapi Note: NLTime is actually a glibc'ism, but in the absence of a glibc.vapi, posix.vapi is an acceptable place. See also bug #793443. 2018-03-22 Rico Tzschichholz <ricotz@ubuntu.com> vapi: Remove twitter-glib-1.0 bindings https://bugzilla.gnome.org/show_bug.cgi?id=794609 2018-03-22 Rico Tzschichholz <ricotz@ubuntu.com> vapi: Remove gdu and gdu-gtk bindings Their replacement is udisks2 for a long time. https://bugzilla.gnome.org/show_bug.cgi?id=794608 2018-03-22 Rico Tzschichholz <ricotz@ubuntu.com> libgsf-1: Fix metadata warnings and Outfile.new_child*() 2018-03-22 Rico Tzschichholz <ricotz@ubuntu.com> gtk+-*.0: Fix iter parameter of TextView.backward*/forward*/move_visually() Those methods are changing the passed iter structure and therefore it needs be marked as ref for vala taking this into account. https://bugzilla.gnome.org/show_bug.cgi?id=794345 2018-03-22 Rico Tzschichholz <ricotz@ubuntu.com> gtk+-4.0: Update to 3.93.0+b01ee88f 2018-03-21 Michal Hruby <michal.mhr@gmail.com> codegen: Stop taking explicit references on 'this' for captured blocks Use g_signal_connect_closure() and g_object_watch_closure() in GObject environments to control their life-cycles. https://bugzilla.gnome.org/show_bug.cgi?id=624624 2018-03-21 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Free generic elements of glib collections It needs to be possible to use parameters or fields/properties which hold dup/free functions for a generic type in scope. This required to make the destroy_func being a parameter with the benefit of being able to use g_*_free_all directly and adding a _g_node_free_all wrapper with a compatible signature. https://bugzilla.gnome.org/show_bug.cgi?id=694765 2018-03-21 Rico Tzschichholz <ricotz@ubuntu.com> gobject-2.0: Fix bootstrap with valac < 0.26 codegen: Deprecate implicit copy of arrays, use explicit copy method https://bugzilla.gnome.org/show_bug.cgi?id=650663 gobject-2.0: Make GLib.Signal a struct of uint and bind g_signal_new* gobject-2.0: Pick up some fixes and additions from GIR libgsf-1: Switch to GIR and update to 1.14.42 2018-03-20 Rico Tzschichholz <ricotz@ubuntu.com> webkit-1.0: Update to 2.4.11 vapi: Remove libsoup-2.2 bindings https://bugzilla.gnome.org/show_bug.cgi?id=794480 vapi: Remove tracker-indexer-module-1.0 bindings https://bugzilla.gnome.org/show_bug.cgi?id=794479 vapi: Remove rest-0.6 bindings https://bugzilla.gnome.org/show_bug.cgi?id=794477 vapi: Remove GStreamer 0.10 bindings https://bugzilla.gnome.org/show_bug.cgi?id=793417 vapi: Remove clutter-gst-1.0 binding https://bugzilla.gnome.org/show_bug.cgi?id=793418 Bump version suffix valadoc: Bump VALA_0_xx defines and glib_minor to match 0.40 series tests: Add basic GLib.Node test 2018-03-19 Rico Tzschichholz <ricotz@ubuntu.com> gtk+-4.0: Update to 3.93.0+f7326ff8 codegen: Don't add target fields for captured delegates without target codegen: Don't add length fields for captured fixed-length array variables gtk+-4.0: Update to 3.93.0+1a137377 gdk-3.0,gtk+-3.0: Update to 3.22.29 vapi: Add libgeoclue-2.0 bindings https://bugzilla.gnome.org/show_bug.cgi?id=794376 gstreamer-1.0: Add gstreamer-webrtc-1.0 bindings gstreamer: Update to 1.13.91 2018-03-12 Dr. Michael Lauer <mickey@vanille-media.de> posix: Add Posix IPC (Message Queue, Named Semaphores, Shared Memory) posix: Add System V IPC (shared memory, semaphores, message queues) linux: Add constants from program_invocation_name(3) linux: Add psiginfo(3) posix: Add strsignal(3) and psignal(3) posix: Add perror(3) 2018-03-11 Rico Tzschichholz <ricotz@ubuntu.com> Release 0.40.0 gtk+-4.0: Update to 3.93.0+527d265b 2018-03-08 Dr. Michael Lauer <mickey@vanille-media.de> linux: Add missing constants for input subsystem 2018-03-07 Dr. Michael Lauer <mickey@vanille-media.de> linux: rfkill: Add new values for RfKillType linux: Add more SO_ socket options posix: Add ptsname(3) linux: add getgroups(2), setgroups(2), getresgid(2), getresuid(2), setresgid(2), setresuid(2) Based on a VAPI by Colin Watson. posix: Add setegid(2) and seteuid(2) 2018-03-06 Dr. Michael Lauer <mickey@vanille-media.de> posix: getpass(3) returns null on error. posix: Fix crypt(3), now that we have feature test macros. Note that crypt(3) returns 'null' on error. 2018-03-06 Dr. Michael Lauer <mickey@vanille-media.de> posix: Add wordexp(3), wordexp_t, and assorted constants Based on a patch by Andre Masella. https://bugzilla.gnome.org/show_bug.cgi?id=663633 2018-03-06 Dr. Michael Lauer <mickey@vanille-media.de> posix: Add fnmatch(3) and assorted constants. Based on a patch by Andre Masella. https://bugzilla.gnome.org/show_bug.cgi?id=663633 2018-03-05 Rico Tzschichholz <ricotz@ubuntu.com> vapi: Update GIR-based bindings gstreamer-1.0: Update to 1.13.90 2018-02-28 Dr. Michael Lauer <mickey@vanille-media.de> compiler: fix critical when vala is called without run args https://bugzilla.gnome.org/show_bug.cgi?id=793657 2018-02-27 Dr. Michael Lauer <mickey@vanille-media.de> alsa: add the major part of the ALSA Sequencer API Based on a patch by Wayne Blaszczyk. https://bugzilla.gnome.org/show_bug.cgi?id=763127 2018-02-27 Rico Tzschichholz <ricotz@ubuntu.com> Release 0.39.92 tests: Fix make dist 2018-02-26 Rico Tzschichholz <ricotz@ubuntu.com> gstreamer-1.0: Update to 1.13.1+ 2018-02-26 Rico Tzschichholz <ricotz@ubuntu.com> method: Check with same rules for dbus compatibility as in GBusModule Only issue warning if the method would actually be end up on DBus as per generate_interface_method_call_function() or get_method_info(). Based on patch by Corentin Noël https://bugzilla.gnome.org/show_bug.cgi?id=793859 2018-02-26 Rico Tzschichholz <ricotz@ubuntu.com> vapi: Fix wrong attributes libgnome-menu-3.0: Add deps file 2018-02-26 Dr. Michael Lauer <mickey@vanille-media.de> posix: add feature test macro _GNU_SOURCE for exp10(3) and exp10f(3) https://bugzilla.gnome.org/show_bug.cgi?id=614788 glib-2.0: add feature test macro _GNU_SOURCE for exp10(3) and exp10f(3) https://bugzilla.gnome.org/show_bug.cgi?id=614788 posix: add feature test macro _GNU_SOURCE for pow10(3) and pow10f(3) https://bugzilla.gnome.org/show_bug.cgi?id=614788 glib-2.0: add feature test macro _GNU_SOURCE for pow10(3) and pow10f(3) https://bugzilla.gnome.org/show_bug.cgi?id=614788 gitignore: ignore macOS metadata files 2018-02-23 Dr. Michael Lauer <mickey@vanille-media.de> tests: Extend "properties" tests to increase coverage Based on test-case from https://bugzilla.gnome.org/show_bug.cgi?id=683160 2018-02-21 Dr. Michael Lauer <mickey@vanille-media.de> posix: add feature_test_macro _GNU_SOURCE to sighandler_t https://bugzilla.gnome.org/show_bug.cgi?id=761975 2018-02-20 Rico Tzschichholz <ricotz@ubuntu.com> tests: Add linux-specific test for feature test macros https://bugzilla.gnome.org/show_bug.cgi?id=793444 2018-02-20 Dr. Michael Lauer <mickey@vanille-media.de> linux: Add feature_test_macros to non-POSIX file control constants and dup3 https://bugzilla.gnome.org/show_bug.cgi?id=793444 2018-02-20 Dr. Michael Lauer <mickey@vanille-media.de> codegen: Add support for feature test macros This adds new CCode string attribute 'feature_test_macro = "VALUE"'. Such values will be added before the headers section as '#define VALUE'. https://www.gnu.org/software/libc/manual/html_node/Feature-Test-Macros.html https://bugzilla.gnome.org/show_bug.cgi?id=793444 2018-02-20 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Add source_reference to some store_local/_field() calls vapi: Update GIR-based bindings 2018-02-19 Rico Tzschichholz <ricotz@ubuntu.com> tests: Add chain-up lambda regression test https://bugzilla.gnome.org/show_bug.cgi?id=567269 vala: Make SemanticAnalyzer.check_arguments() independent of context 2018-02-17 Marco Trevisan (Treviño) <mail@3v1n0.net> codegen: Add valid support for const multi-dimensional arrays For example this const int[,,] tri_numbers = {{{1, 2, 3}, {5, 5, 6}}, {{6, 7}}}; correctly transfoms to const gint tri_numbers[2][2][3] = {{{1, 2, 3}, {5, 5, 6}}, {{6, 7}}}; https://bugzilla.gnome.org/show_bug.cgi?id=604371 2018-02-17 Marco Trevisan (Treviño) <mail@3v1n0.net> codegen: Use pointers when accessing constant multi-dimensional arrays https://bugzilla.gnome.org/show_bug.cgi?id=604371 2018-02-17 Rico Tzschichholz <ricotz@ubuntu.com> vala: The rank of an array-initializer should match the target's rank https://bugzilla.gnome.org/show_bug.cgi?id=744923 2018-02-17 Simon Werbeck <simon.werbeck@gmail.com> Fix recursive declaration in generic base type https://bugzilla.gnome.org/show_bug.cgi?id=688732 2018-02-17 Rico Tzschichholz <ricotz@ubuntu.com> vapi: Update GIR-based bindings gstreamer-1.0: Update to 1.13.1 2018-02-15 Rico Tzschichholz <ricotz@ubuntu.com> vala: Properly handle array-initializers inside struct-initializers https://bugzilla.gnome.org/show_bug.cgi?id=622178 codegen: Don't append fixed-length of array fields in initializers manual: Update from wiki.gnome.org 2018-02-14 Luca Bruno <lucabru@src.gnome.org> posix: Fix sig*set and sigprocmask parameters to be out/ref https://bugzilla.gnome.org/show_bug.cgi?id=727425 2018-02-14 Rico Tzschichholz <ricotz@ubuntu.com> libvaladoc: Prevent WITH_CGRAPH conditional having an impact on generated sources 2018-02-14 Dr. Michael Lauer <mickey@vanille-media.de> linux: add dup3 https://bugzilla.gnome.org/show_bug.cgi?id=729803 2018-02-13 Rico Tzschichholz <ricotz@ubuntu.com> Release 0.39.91 purple: Update to 2.12.0 Don't warn about unused internal methods which are meant to be visible on DBus https://bugzilla.gnome.org/show_bug.cgi?id=593902 2018-02-12 Rico Tzschichholz <ricotz@ubuntu.com> vapi: Update GIR-based bindings 2018-02-12 Rico Tzschichholz <ricotz@ubuntu.com> build: Don't install vapicheck This tool can't be used to check the syntax of vapi files as the name suggests. So better drop it until it gets some fixing. https://bugzilla.gnome.org/show_bug.cgi?id=793370 2018-02-11 Rico Tzschichholz <ricotz@ubuntu.com> semanticanalyzer: Drop unused error_type field 2018-02-11 Dr. Michael Lauer <mickey@vanille-media.de> vala: Issue a warning on DBus methods which are not throwing an Error It is recommended to throw "GLib.Error" or "GLib.DBusError, GLib.IOError". This will be turned into an error at some point. https://bugzilla.gnome.org/show_bug.cgi?id=792277 2018-02-08 Rico Tzschichholz <ricotz@ubuntu.com> tests: Add some "girparser" tests to increase coverage 2018-02-08 Rico Tzschichholz <ricotz@ubuntu.com> compiler: Prefix headers for set_cheader_override() if includedir is given We need to account for changes done by SourceFile.get_cinclude_filename() https://bugzilla.gnome.org/show_bug.cgi?id=793299 2018-02-08 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Avoid critical when connecting dynamic signals 2018-02-08 Corentin Noël <corentin@elementary.io> tests: Add invalid "foreach" tests to increase coverage 2018-02-08 Rico Tzschichholz <ricotz@ubuntu.com> valac: Always use the given "pkg-config" and respect PKG_CONFIG envar tests: Move namespaces.vala into parser and merge its main methods 2018-02-07 Rico Tzschichholz <ricotz@ubuntu.com> vapi: Update GIR-based bindings glib-2.0: Add KeyFile.get_locale_for_key() gstreamer-1.0: Update from 1.13+ git master gtk+-4.0: Update to 3.93.0+d07b14f4 2018-02-06 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Fix GDestroyNotify of delegate parameters in delegate declaration delegate void Func (owned Func func); incompatible pointer type: expected ‘void (**)(void *)’ but argument is of type ‘GDestroyNotify {aka void (*)(void *)}’ https://bugzilla.gnome.org/show_bug.cgi?id=639059 2018-02-06 Rico Tzschichholz <ricotz@ubuntu.com> tests: Add various regression "codegen" tests to increase coverage 2018-02-05 Rico Tzschichholz <ricotz@ubuntu.com> tests: Add "destructors" test to increase coverage tests: Add invalid "method" tests to increase coverage testrunner: Accept Packages in header of Invalid Code tests tests: Add invalid "struct" tests to increase coverage tests: Add invalid "control-semantic" tests to increase coverage tests: Add invalid "control-flow" tests to increase coverage tests: Add invalid "constant" tests to increase coverage tests: Add invalid "property" tests to increase coverage tests: Add invalid "parameter" tests to increase coverage 2018-02-05 Corentin Noël <corentin@elementary.io> tests: Add more "parser" tests to increase coverage 2018-02-05 Rico Tzschichholz <ricotz@ubuntu.com> tests: Add invalid "field" tests to increase coverage 2018-02-04 Rico Tzschichholz <ricotz@ubuntu.com> Release 0.39.7 2018-02-04 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Don't try to infer error argument on async begin methods Only the async finish method might have an error parameter. Regression of 527dac8050fe90d7a28619383f11e968ab5c9a77 https://bugzilla.gnome.org/show_bug.cgi?id=793158 2018-01-31 Rico Tzschichholz <ricotz@ubuntu.com> tests: Additionally add $topbuilddir to PKG_CONFIG_PATH for libvala-*.pc 2018-01-30 Rico Tzschichholz <ricotz@ubuntu.com> Release 0.39.6 2018-01-29 Rico Tzschichholz <ricotz@ubuntu.com> Regenerate GIR-based bindings 2018-01-29 Rico Tzschichholz <ricotz@ubuntu.com> girparser: Don't accept methods as property-accessor which throw errors This should be considered a temporary fix. https://bugzilla.gnome.org/show_bug.cgi?id=792998 2018-01-29 Rico Tzschichholz <ricotz@ubuntu.com> girparser: Ignore conflicting closure/destroy indexes Reverse references from closure/destroy parameters back to the callback break our later logic, so skip this additional information. Revert "semanticanalyzer: Transform replaced_nodes field into method" This reverts commit c81d1f941e06a656deef48d11e795739c94dc8c4. 2018-01-27 Ernestas Kulik <ernestask@gnome.org> codegen: Fix return-type for cancelled async creation methods of classes While gcc just puts out a warning clang actually fails due to -Werror=return-type. https://bugzilla.gnome.org/show_bug.cgi?id=792942 2018-01-27 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Internally generated delegates don't require a typedef Otherwise doing so results in a malformed declaration. https://bugzilla.gnome.org/show_bug.cgi?id=787521 2018-01-27 Rico Tzschichholz <ricotz@ubuntu.com> tests: Add missing PrintfFormat attribute https://bugzilla.gnome.org/show_bug.cgi?id=657378 codegen: Infer error parameter from abstract/virtual method implementations https://bugzilla.gnome.org/show_bug.cgi?id=614294 2018-01-25 Rico Tzschichholz <ricotz@ubuntu.com> vapi: Update GIR-based bindings 2018-01-24 Rico Tzschichholz <ricotz@ubuntu.com> tests: Add test for invalid variadic function https://bugzilla.gnome.org/show_bug.cgi?id=615450 vala: Variadic constructors without a real first parameter are not allowed 2018-01-23 Rico Tzschichholz <ricotz@ubuntu.com> gtk+-4.0: Only override type of "event" parameters 2018-01-21 Rico Tzschichholz <ricotz@ubuntu.com> libvaladoc: Keep bootstrap-support with valac >= 0.16.1 gtk+-4.0: Update to 3.93.0+4d36a0bf 2018-01-20 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Use G_PARAM_STATIC_STRINGS equals to G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB build: Bump bootstrap requirement to 0.39.6 for --abi-stability build flag 2018-01-20 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Add abi-stability path for interfaces Based on patch by Daniel Espinosa https://bugzilla.gnome.org/show_bug.cgi?id=789069 2018-01-20 Daniel Espinosa <esodan@gmail.com> codegen: Add abi-stability path for classes https://bugzilla.gnome.org/show_bug.cgi?id=789069 compiler: Add --abi-stability option for future ABI stability enablement https://bugzilla.gnome.org/show_bug.cgi?id=789069 2018-01-20 Dr. Michael Lauer <mickey@vanille-media.de> posix: add ctime(3) posix: fix binding of struct hostent. Make clear that gethostbyname(3) can return NULL. 2018-01-20 Rico Tzschichholz <ricotz@ubuntu.com> gtk+-3.0: Fix cheader_filename of Plug and Socket Regression of a8e6aff63e5e1502290ba93398314acf2ad45b60 Regenerate GIR-based bindings girparser: Set NoAccessorMethod for non-readable and construct-only properties 2018-01-19 Rico Tzschichholz <ricotz@ubuntu.com> Release 0.39.5 2018-01-18 Rico Tzschichholz <ricotz@ubuntu.com> codewriter: Don't use string.replace() to apply header_to_override The underlying regex causes faulty replacements. https://bugzilla.gnome.org/show_bug.cgi?id=731322 2018-01-18 Rico Tzschichholz <ricotz@ubuntu.com> tests: Add test for parameter type checking of async methods https://bugzilla.gnome.org/show_bug.cgi?id=792660 vala: Skip default-value positioning check for parameters of coroutines https://bugzilla.gnome.org/show_bug.cgi?id=644241 2018-01-18 Rico Tzschichholz <ricotz@ubuntu.com> Revert "Do not warn about non-default parameters for coroutines." Breaks parameter inference for async method overrides. This reverts commit dd24a1bfe1a78bf1a37d35f5d8dd6480fd4a8941. https://bugzilla.gnome.org/show_bug.cgi?id=792660 2018-01-18 Daniel Espinosa <esodan@gmail.com> codegen: Factor-out generators for struct entries of class members This way they can be reused in the abi-stability paths later. https://bugzilla.gnome.org/show_bug.cgi?id=789069 2018-01-17 Rico Tzschichholz <ricotz@ubuntu.com> vala: Move constant lists from Class/Interface up to ObjectTypeSymbol vala: Move inner-type lists from Class/Interface up to ObjectTypeSymbol Inner-types are classes, structs, enums and delegates 2018-01-17 Daniel Espinosa <esodan@gmail.com> vala: Move member lists from Class/Interface up to ObjectTypeSymbol Members are fields, methods, properties and signals https://bugzilla.gnome.org/show_bug.cgi?id=789069 2018-01-16 Rico Tzschichholz <ricotz@ubuntu.com> vapi: Update GIR-based bindings 2018-01-15 Rico Tzschichholz <ricotz@ubuntu.com> test: Drop workaround for fixed bug with compact classes https://bugzilla.gnome.org/show_bug.cgi?id=533977 2018-01-15 Daniel Espinosa <esodan@gmail.com> codegen: Add support for abstract/virtual methods and properties in compact classes Reworked and extened by Rico Tzschichholz https://bugzilla.gnome.org/show_bug.cgi?id=741465 2018-01-12 Rico Tzschichholz <ricotz@ubuntu.com> webkit2gtk-web-extension-4.0: Fix DOM.EventTarget interface 2018-01-10 Rico Tzschichholz <ricotz@ubuntu.com> gtk+-4.0: Update to 3.93.0+60d3378d libwnck-3.0: Update to 3.24.1 webkit2gtk-4.0: Update to 2.19.5 2018-01-09 Rico Tzschichholz <ricotz@ubuntu.com> Regenerate GIR-based bindings 2018-01-09 Rico Tzschichholz <ricotz@ubuntu.com> girparser: Improve instance method detection Improve reparenting static namespace functions to their presumably parent structures. Only allow this if the first parameter is not defined as (out) or (inout) Unfortunately, while this patch fixes detection, nothing can be done about breaking API. Based on patch by Simon Werbeck <simon.werbeck@gmail.com> https://bugzilla.gnome.org/show_bug.cgi?id=732460 2018-01-09 Rico Tzschichholz <ricotz@ubuntu.com> valadoc: Less string copying valadoc: Drop custom realpath() valadoc: Drop custom SourceLocation valadoc: Drop custom MarkupReader gio-unix-2.0: Update to 2.55.1 2018-01-09 Michael James Gratton <mike@vee.net> libvaladoc: Add support for single line documentation comments This is useful for example in annotating properties: /** Returns the current state of the frobnocator. */ public State frob { get; set; }; * libvaladoc/documentation/documentationparser.vala (DocumentationParser.init_valadoc_rules): Split Comment rule up into single and multi-line versions. Duplication Paragraph creation and cleanup for single-line comments. https://bugzilla.gnome.org/show_bug.cgi?id=736483 2018-01-09 Michael James Gratton <mike@vee.net> libvaladoc: Allow @link tags to be split over multiple lines * libvaladoc/documentation/documentationparser.vala (DocumentationParser.init_valadoc_rules): Allow both SP and NL in general tag rule to separate tag name and body. * libvaladoc/taglets/tagletlink.vala (Link): Allow multiple further SP and NL chars before the link. https://bugzilla.gnome.org/show_bug.cgi?id=646982 2018-01-08 Rico Tzschichholz <ricotz@ubuntu.com> Release 0.39.4 ccode: Don't write trailing space in function declarations/definitions https://bugzilla.gnome.org/show_bug.cgi?id=688447 vala: Add pkgdatadir and pkglibdir to pkg-config file vapi: Update GIR-based bindings vapigen: Add coverage build-flags 2018-01-07 Rico Tzschichholz <ricotz@ubuntu.com> tests: Add invalid "base" tests to increase coverage tests: Add "while (false)" test to increase coverage tests: Add "continue" parser test to increase coverage tests: Add "preprocessor" parser test to increase coverage tests: Add "assignment" operator parser tests to increase coverage tests: Add "do-while" parser tests to increase coverage tests: Add "iterator" methods tests to increase coverage tests: Add "contains" method test to increase coverage tests: Add "dynamic" signal and property tests to increase coverage tests: Add explicit "move" and "resize" array tests to increase coverage tests: Add "initially-unowned" test to increase coverage tests: Add "tuple" parser test to increase coverage tests: Add "template" parser test to increase coverage valadoc: Add coverage build-flags valadoc/tests: split VALAFLAGS over multiple lines in testrunner.sh codegen: Drop dead lambda-in-constructor path Unreachable since 097b31af35cd587674a8cddd5dccc49c01b89858 vala: Replace if-else-tree with switch 2018-01-06 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Add destroy out-param when invoking delegate returned by delegate https://bugzilla.gnome.org/show_bug.cgi?id=792077 vapi: Update GIR-based bindings gtk+-4.0: Update to 3.93.0+3c38ebb9 gtk+-3.0: Update to 3.22.26+6f26d0dc 2018-01-05 Rico Tzschichholz <ricotz@ubuntu.com> gtk+-2.0: Don't hide user_data parameter in Clipboard.set_with_data() https://bugzilla.gnome.org/show_bug.cgi?id=792237 gtk+-3.0: Don't hide user_data parameter in Clipboard.set_with_data() https://bugzilla.gnome.org/show_bug.cgi?id=792237 2018-01-03 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Only add property-enum and GParamSpec-array for GObject classes codegen: Use g_enum/flags_to_string while targeting glib >= 2.54 g-i: Update type qualifiers Release 0.39.3 gtk+-4.0: Update to 3.93.0+6aeae2c8 2018-01-02 Rico Tzschichholz <ricotz@ubuntu.com> vapi: Update GIR-based bindings gstreamer-1.0: Update from 1.13+ git master webkit2gtk-4.0: Update to 2.19.3 2018-01-02 Rico Tzschichholz <ricotz@ubuntu.com> parser: Allow custom invocations of parse_file() Use CodeContext of SourceFile if needed https://bugzilla.gnome.org/show_bug.cgi?id=791936 2018-01-02 Rico Tzschichholz <ricotz@ubuntu.com> gtk+-4.0: Update to 3.93.0+fcc8d778 2017-12-20 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Fix chain-up regression with real non-null struct parameters Regression of b9035aaf17a9a97a070812a8ee83251fd3893b1e https://bugzilla.gnome.org/show_bug.cgi?id=791785 2017-12-15 Rico Tzschichholz <ricotz@ubuntu.com> semanticanalyzer: Transform replaced_nodes field into method vala: Move next_lambda_id into LambdaExpression vala: Replace more public fields 2017-12-14 Rico Tzschichholz <ricotz@ubuntu.com> vala: Add dedicated BinaryExpression.chained() constructor vala: Add dedicated CastExpression.silent() constructor codegen: Avoid silent casts if not needed semanticanalyzer: Directly access local datatypes in check_print_format() codegen: Don't hold reference of CodeContext in TypeRegisterFunction Release taken references to CodeContext after using it https://bugzilla.gnome.org/show_bug.cgi?id=712694 vala: Use CodeContext.root instead of SemanticAnalyzer.root_symbol https://bugzilla.gnome.org/show_bug.cgi?id=712694 girwriter: Use local reference to current CodeContext 2017-12-13 Jukka-Pekka Iivonen <jp0409@jippii.fi> parser: Accept comma-separated list in case-statements of switchs switch (i) { case 0, 1, 2: break; } https://bugzilla.gnome.org/show_bug.cgi?id=614015 2017-12-13 Alistair Thomas <astavale@yahoo.co.uk> gtk+-2.0: Mark MessageDialog constructor parameter, message_format, as nullable https://bugzilla.gnome.org/show_bug.cgi?id=791570 2017-12-13 Alistair Thomas <astavale@yahoo.co.uk> vapi: Remove librsvg-2.0 binding This binding was upstreamed 19 June 2012. See: https://git.gnome.org/browse/librsvg/commit/?id=729a3d6b6486faa92c7a56a5a4f5bf04173c8624 https://bugzilla.gnome.org/show_bug.cgi?id=776025 2017-12-13 Alistair Thomas <astavale@yahoo.co.uk> vapi: Remove libgdata bindings This binding was upstreamed 24 February 2013. See: https://git.gnome.org/browse/libgdata/commit/?id=2186969875520d535704f61280f62145932b4948 https://bugzilla.gnome.org/show_bug.cgi?id=776024 2017-12-13 Alistair Thomas <astavale@yahoo.co.uk> vapi: Remove gtksourceview-3.0 bindings This binding was upstreamed 12 August 2014. See: https://git.gnome.org/browse/gtksourceview/commit/?id=44742519a806240a528fd61a19027cf2c24bdf02 and have been partially removed from Vala back in 2014: https://git.gnome.org/browse/vala/commit/?id=dbc07519e666c2ab9a2ecbee8dc550c0a3741204 https://bugzilla.gnome.org/show_bug.cgi?id=776023 2017-12-13 Alistair Thomas <astavale@yahoo.co.uk> vapi: Remove libgnome-keyring binding This binding has been upstreamed since 28 June 2012. See https://git.gnome.org/browse/libgnome-keyring/commit/?id=ea1476c1a941d71d6d7be90aa6fc5b8ba8da7c83 https://bugzilla.gnome.org/show_bug.cgi?id=776022 2017-12-13 Alistair Thomas <astavale@yahoo.co.uk> vapi: Remove gedit 3 binding The bindings have been upstreamed since 17 February 2014. See https://git.gnome.org/browse/gedit/commit/?id=e16b196c32cd288bc186abff19e5a23af5f83422 https://bugzilla.gnome.org/show_bug.cgi?id=776021 2017-12-13 Rico Tzschichholz <ricotz@ubuntu.com> Make use of GLib.OPTION_REMAINING instead of "" glib-2.0: Add GLib.OPTION_REMAINING and GLib.OptionFlags.NONE 2017-12-11 Rico Tzschichholz <ricotz@ubuntu.com> Release 0.39.2 Regenerate GIR-based bindings girparser: Don't mark simple-type out-parameters with '?' as nullable Using '?' on simple-types has a different meaning in vala and would create a boxed-type which is not compatible with the original type. 2017-12-10 Rico Tzschichholz <ricotz@ubuntu.com> gtk+-4.0: Update to 3.93.0+6af4947e gtk+-3.0: Fix lost GLib.InitiallyUnowned inheritance of Gtk.Widget gtk+-3.0: Drop obsolete GIDL sources https://bugzilla.gnome.org/show_bug.cgi?id=730746 2017-12-10 Rico Tzschichholz <ricotz@ubuntu.com> gtk+-3.0: Switch to GIR Initially based on patch by Evan Nemerson https://bugzilla.gnome.org/show_bug.cgi?id=730746 2017-12-09 Rico Tzschichholz <ricotz@ubuntu.com> vapi: Update GIR-based bindings gstreamer-1.0: Update from 1.13+ git master gtk+-4.0: Update to 3.93.0+8233cf36 gtk+-4.0: Add some fixes from gtk+-3.0 Regenerate GIR-based bindings girparser: Accept setters with boolean return-type as valid property-accessor girparser: Handle metadata for fields inside a transparent union gtk+-3.0: Fix FileChooser.add_choice() SemanticAnalyzer.get_data_type_for_symbol() doesn't require a TypeSymbol Improve error message for missing type-parameter on enclosing type https://bugzilla.gnome.org/show_bug.cgi?id=587905 2017-12-09 Rico Tzschichholz <ricotz@ubuntu.com> SemanticAnalyser.get_actual_type() should never return null So better return an InvalidType in case of error. https://bugzilla.gnome.org/show_bug.cgi?id=587905 2017-12-07 George Barrett <bob@bob131.so> codegen: Don't create null-safe destroy-wrapper for GenericType https://bugzilla.gnome.org/show_bug.cgi?id=791283 2017-12-06 Rico Tzschichholz <ricotz@ubuntu.com> Move type_parameter property to GenericType vala: Convert last non-type-check-based usages of GenericType instances tests: Add further "use of generics in constructor" test https://bugzilla.gnome.org/show_bug.cgi?id=593137 Use type-check to determine a GenericType vala: Don't transform an explicit "null" into a valid format-string https://bugzilla.gnome.org/show_bug.cgi?id=791215 2017-12-05 Rico Tzschichholz <ricotz@ubuntu.com> ccode: Replace if-else-tree with switch girparser: Allow change of parameter names 2017-12-05 Philip Withnall <withnall@endlessm.com> glib-2.0: Fix potential null pointer dereference in string.joinv() The logic in the ‘is the array null or empty’ check was disjunctive rather than conjunctive. If (str_array == null), the condition would have short-circuited and tried to evaluate str_array.length, which would have crashed. Coverity CID: #1462389 (spotted when scanning Tracker) https://bugzilla.gnome.org/show_bug.cgi?id=791257 2017-11-30 George Barrett <bob@bob131.so> gobject-2.0: Add missing GType constants for fundamentals At present, only a handful of the G_TYPE_* are declared as constants GType defines, adding a hurdle to vala programs wanting to use GObject's fundamental type introspection facilities. This commit simply adds declarations for all the constant-valued GTypes listed in the GObject documentation. https://bugzilla.gnome.org/show_bug.cgi?id=791023 2017-11-30 Alistair Thomas <astavale@yahoo.co.uk> posix: Move signal constants to an enum and add a few missing ones Added signal constants: CLD, EMT, INFO, IO, LOST, PWR, WINCH This patch also adds Valadoc documentation for the signals based on the Open Group documentation for signal.h and the header bits/signum.h in GNU's libc version 2.22 (http://pubs.opengroup.org/onlinepubs/7908799/xsh/signal.h.html) https://bugzilla.gnome.org/show_bug.cgi?id=790958 2017-11-29 Rico Tzschichholz <ricotz@ubuntu.com> libvaladoc: Actually resolve "percnt;" to '%' 2017-11-28 Rico Tzschichholz <ricotz@ubuntu.com> Release 0.39.1 Update NEWS from 0.38 branch gtk+-4.0: Update to 3.93.0+2d797dd8 gstreamer-1.0: Update from 1.13+ git master webkit2gtk-4.0: Update to 2.19.2 gtk+-3.0: Update to 3.22.26+9ce824d3 2017-11-27 Rico Tzschichholz <ricotz@ubuntu.com> vala: Improve error output of mismatching overriding methods Include the prototype-string of base-method for easier error finding. codegen: Discover invalid member access to instance field https://bugzilla.gnome.org/show_bug.cgi?id=790903 tests: Invalid Code needs to be recoginized explicitly by an compiler error Running with G_DEBUG=fatal-warnings makes those fail to easily, so only pass it to positive test-cases. 2017-11-26 Rico Tzschichholz <ricotz@ubuntu.com> doclets: Include libvala headers as needed vala: Add MarkupReader.from_string() and support add support for "percnt;" 2017-11-25 Jakub Kaszycki <kuba@kaszycki.net.pl> libvaladoc: Fix fatal typo in GtkdocRenderer.visit_symbol_link() https://bugzilla.gnome.org/show_bug.cgi?id=790266 2017-11-24 Rico Tzschichholz <ricotz@ubuntu.com> vala: Methods need to throw compatible error if target delegate throws one valaparser: Improve handling of unowned/owned keyword occurrences Don't throw an error on unexpected owned/unowned classification and output why it is superfuous in this context. 2017-11-22 Rico Tzschichholz <ricotz@ubuntu.com> tests: Make lambda tests fatal and add some more cases 2017-11-22 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Avoid use of temp-var for some callables returning ValueType It is safe to do for callables which don't have out/ref parameters without breaking the control-flow. https://bugzilla.gnome.org/show_bug.cgi?id=789071 2017-11-22 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Avoid use of temp-var to access in/ref parameters https://bugzilla.gnome.org/show_bug.cgi?id=789071 valadoc: Acknowledge possible properties in structs https://bugzilla.gnome.org/show_bug.cgi?id=784705 2017-11-22 Rico Tzschichholz <ricotz@ubuntu.com> gstreamer-1.0: Bind GST_TIME_ARGS, GST_STIME_ARGS formatting macros Gst.ClockTime ts = 0ULL; print ("%" + Gst.TIME_FORMAT + "\n", Gst.TIME_ARGS (ts)); https://bugzilla.gnome.org/show_bug.cgi?id=750840 2017-11-22 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Add boolean "use_inplace" ccode-attribute for methods This can be use to avoid temp-variables for an expanding macro. https://bugzilla.gnome.org/show_bug.cgi?id=750840 2017-11-20 Rico Tzschichholz <ricotz@ubuntu.com> glib-2.0: Add optional 'unparsed' parameter to *.try_parse () This reintroduces a dropped feature of string.to_*() while returning the maybe available unparsed part of the string. https://bugzilla.gnome.org/show_bug.cgi?id=774124 2017-11-20 Evan Nemerson <evan@coeus-group.com> gstreamer-1.0: Bind GST_DEBUG_BIN_TO_DOT_FILE/*_WITH_TS https://bugzilla.gnome.org/show_bug.cgi?id=785215 2017-11-20 Rico Tzschichholz <ricotz@ubuntu.com> gobject-2.0: Add some missing symbols G_SIGNAL_FLAGS_MASK, G_SIGNAL_MATCH_MASK, g_source_set_closure, g_source_set_dummy_callback 2017-11-19 Rico Tzschichholz <ricotz@ubuntu.com> vala: Allow unscoped enum values where possible If the scope for an enumeration value can be determined from current context it is possible to omit the enum's scope. Based on patch by Timo Kluck https://bugzilla.gnome.org/show_bug.cgi?id=666035 2017-11-19 Rico Tzschichholz <ricotz@ubuntu.com> vala: Report error for missing type-parameter on enclosing type Make a qualified guess for the cause of the problem instead of triggering an assertion. https://bugzilla.gnome.org/show_bug.cgi?id=587905 2017-11-19 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Enforce name-length >= 3 for structs using GType https://bugzilla.gnome.org/show_bug.cgi?id=764041 2017-11-19 Rico Tzschichholz <ricotz@ubuntu.com> compiler: Properly parse arguments for vala interpeter-mode Arguments for the target need to be passed with --run-args from now on. https://bugzilla.gnome.org/show_bug.cgi?id=663070 2017-11-19 Rico Tzschichholz <ricotz@ubuntu.com> Allow to pass compatible delegates to signal.connect() https://bugzilla.gnome.org/show_bug.cgi?id=787521 vala: Include sender-type parameter to prototype-string of signal-delegates https://bugzilla.gnome.org/show_bug.cgi?id=787521 tests: Clean up control-flow/sideeffects ccode: Reformat function declaration and definition for better readability https://bugzilla.gnome.org/show_bug.cgi?id=688447 codegen: Factor out static getters for ccode-attributes https://bugzilla.gnome.org/show_bug.cgi?id=788837 codegen: Install as private library for sharing between internal components https://bugzilla.gnome.org/show_bug.cgi?id=788837 2017-11-18 Rico Tzschichholz <ricotz@ubuntu.com> vapi: Update GIR-based bindings gtk+-4.0: Update to 3.93.0+a8531605 gtk+-3.0: Update to 3.22.26 gio-2.0,glib-2.0: Update to 2.55.0 Regenerate GIDL-based bindings gidlparser: Fix cname format of renamed signals https://bugzilla.gnome.org/show_bug.cgi?id=731547 vala: Subtype of string is allowed as constant 2017-11-14 Alistair Thomas <astavale@yahoo.co.uk> tests: split VALAFLAGS over multiple lines in testrunner.sh This improves readability of script and makes it easier for out of tree patches to the script. https://bugzilla.gnome.org/show_bug.cgi?id=790321 2017-11-04 Rico Tzschichholz <ricotz@ubuntu.com> vapi: Update GIR-based bindings webkit2gtk-4.0: Update to 2.19.1 gtk+-4.0: Update to 3.93.0+481b5d1b 2017-10-26 Daniel Espinosa <esodan@gmail.com> libxml-2.0: Add DTD methods https://bugzilla.gnome.org/show_bug.cgi?id=789442 2017-10-25 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Avoid possible conflicts with internal property/signal defines https://bugzilla.gnome.org/show_bug.cgi?id=788964 2017-10-24 Rico Tzschichholz <ricotz@ubuntu.com> vapi: Update GIR-based bindings gtk+-4.0: Update to 3.93.0+4d44865f 2017-10-21 Rico Tzschichholz <ricotz@ubuntu.com> vapi: Update GIR-based bindings gtk+-4.0: Update to 3.93.0+9e78fbaa gtk+-4.0: Update to 3.92.1 gtk+-4.0: Split Gsk.RenderNode into several classes 2017-10-11 Rico Tzschichholz <ricotz@ubuntu.com> gio-2.0: Fix FileReadMoreCallback and File.load_partial_contents_async() FileReadMoreCallback expects the same target as AsyncReadyCallback here. vapi: Update GIR-based bindings gtk+-4.0: Update to 3.91.2+1c232ed5 2017-10-10 Rico Tzschichholz <ricotz@ubuntu.com> Regenerate GIR-based bindings https://bugzilla.gnome.org/show_bug.cgi?id=788775 2017-10-10 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Prioritize "array_length=true" over "array_null_terminated=true" If arrays claim to have an array-length and also are null-terminated then use and rely on the given length. Adapt the girparser for this and add "array_length = true" accordingly. https://bugzilla.gnome.org/show_bug.cgi?id=788775 2017-10-08 Rico Tzschichholz <ricotz@ubuntu.com> libxml-2.0: Fix header of XPath.Context.register_ns() 2017-10-06 Rico Tzschichholz <ricotz@ubuntu.com> gio-2.0: "address" parameter of Socket.receive_message() is optional webkit2gtk-4.0: Actually update to 2.18 2017-10-05 Rico Tzschichholz <ricotz@ubuntu.com> vapi: Update GIR-based bindings gstreamer-1.0: Update from 1.13+ git master 2017-09-29 Rico Tzschichholz <ricotz@ubuntu.com> gnutls: Fix free_function ccode-attribute of Certificate Remove an extra space which breaks null-safe free-wrapper generation. Thanks to getzze https://bugzilla.gnome.org/show_bug.cgi?id=788181 2017-09-25 Rico Tzschichholz <ricotz@ubuntu.com> vapi: Update GIR-based bindings gtk+-4.0: Update to 3.91.2+d09f6951 2017-09-21 Rico Tzschichholz <ricotz@ubuntu.com> glib-2.0: Add DateTime.from_iso8601() vala: Initialize CodeContext.*_directories fields 2017-09-15 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Use array_length_cexpr to support fixed-arrays for return-values Based on patch by David Lechner https://bugzilla.gnome.org/show_bug.cgi?id=784691 2017-09-15 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Report warning if property-type is not compatible with GLib.Object Not all types are supported to be used for "real" Object-properties. Therefore start to report a warning instead of not registering it silently. https://bugzilla.gnome.org/show_bug.cgi?id=693932 2017-09-15 Rico Tzschichholz <ricotz@ubuntu.com> glib-2.0: Use type-id/marshaller-type for (u)int16/(u)short from (u)int32 https://bugzilla.gnome.org/show_bug.cgi?id=693932 2017-09-11 Rico Tzschichholz <ricotz@ubuntu.com> Bump version suffix Release 0.38.1 gtk+-4.0: Update to 3.91.2+b0e8d848 2017-09-09 Rico Tzschichholz <ricotz@ubuntu.com> method: Use prototype-string for return-type mismatch Include owndership transfer classifier to fix deficiency of faa7dc16046a4a002ad23c90cf4ca1f9007adaa2 vala: Update list of used attributes 2017-09-08 Rico Tzschichholz <ricotz@ubuntu.com> build: Fix vapidir args for libgvc codegen: Try to use a more unique internal define for properties https://bugzilla.gnome.org/show_bug.cgi?id=787436 2017-09-07 Rico Tzschichholz <ricotz@ubuntu.com> glib-2.0: Bind g_convert_with_fallback() and g_convert_with_iconv() libvaladoc: Avoid some lambdas by re-using methods doc: Add support to build docs for vala itself doclet/html: Allow creation of links without performing browsable-check Evaluate "--no-browsable-check" argument for html-doclet gtk+-4.0: Update to 3.91.2+80e32390 2017-09-06 Alistair Thomas <astavale@yahoo.co.uk> docs: Clarify SGR as Select Graphic Rendition 2017-09-06 Rico Tzschichholz <ricotz@ubuntu.com> docs: Fix syntax of several documentation blocks 2017-09-05 Jasper Lievisse Adriaanse <jasper@openbsd.org> valadoc: Don't use 'stderr' as variable name It might clash with the definition in stdio.h, e.g. on OpenBSD. https://bugzilla.gnome.org/show_bug.cgi?id=787305 2017-09-04 Rico Tzschichholz <ricotz@ubuntu.com> glib-2.0: Fix MainContext.check() glib-2.0: OptionEntry[] params are null-terminated Release 0.38.0 2017-09-03 Rico Tzschichholz <ricotz@ubuntu.com> gio-2.0: Application.set_default() is not an instance method pangocairo: CairoFontMap.set_default() is not an instance method gtk+-3.0: Update to 3.22.19+70b61973 gtk+-4.0: Update to 3.91.2+b5afe757 2017-09-03 Daniel Espinosa <esodan@gmail.com> libxml-2.0: Bind xmlLastElementChild and xmlPreviousElementSibling https://bugzilla.gnome.org/show_bug.cgi?id=787201 2017-09-02 Rico Tzschichholz <ricotz@ubuntu.com> Improve error while method is incompatible with delegate Add virtual DataType.to_prototype_string() and use a common implementation in CallableType for its descendents. vala: Add CallableType as base for DelegateType, MethodType, SignalType 2017-09-02 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Add support for "type-func" in ui-files If "type-func" attribute is given then prefer it over "class" if matching it to a known object is possible. https://bugzilla.gnome.org/show_bug.cgi?id=787033 2017-09-02 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Initialize temp-variable for fixed-size arrays to zero first https://bugzilla.gnome.org/show_bug.cgi?id=787152 2017-08-28 Rico Tzschichholz <ricotz@ubuntu.com> Release 0.37.91 2017-08-27 Rico Tzschichholz <ricotz@ubuntu.com> gtk+-3.0: Update to 3.22.19 vapi: Update GIR-based bindings codegen: Use given dup_function for structs 2017-08-27 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Adjust format-index for printf/scanf-methods which throw errors If there is no explicit FormatArg annotation while this method throws an error, it is required to mark the parameter located right before ellipsis as format-arg to account for the parameter shifting caused by the inserted GError parameter. https://bugzilla.gnome.org/show_bug.cgi?id=781061 2017-08-26 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Actually write declaration for GNodeTraverseFunc wrapper This fixes a very old typo which causes the wrong declaration to be written and results in a double definition. https://bugzilla.gnome.org/show_bug.cgi?id=786845 2017-08-26 Rico Tzschichholz <ricotz@ubuntu.com> libvaladoc: Fix some -Wincompatible-pointer-types warnings girparser: Better support of "cprefix" argument in metadata girparser: Support "cname" argument in metadata tests: Add regression test https://bugzilla.gnome.org/show_bug.cgi?id=761736 2017-08-24 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Don't transfer ownership of local-variable if target-type is unknown https://bugzilla.gnome.org/show_bug.cgi?id=736774 vapi: Add javascriptcoregtk-4.0 and avoid skips in webkit2gtk*-4.0 2017-08-23 Rico Tzschichholz <ricotz@ubuntu.com> tests: Fix dbus/filedescriptor-errors.test Avoid the creation of a conflicting "pipe" symbol which is defined by unistd.h while using posix. This has been hidden by the current test framework, testrunner.sh, because that script adds a namespace around each test. 2017-08-23 Alistair Thomas <astavale@yahoo.co.uk> tests: Fix test delegates/bug659778.vala GObject type names must be atleast three characters long (https://developer.gnome.org/gobject/stable/gtype-conventions.html). The test for delegates/bug659778.vala uses an enum name of TE, which is too short and when compiled produces the runtime errors: GLib-GObject-WARNING **: type name 'TE' is too short GLib-CRITICAL **: g_once_init_leave: assertion 'result != 0' failed and the test program does not terminate. This has been hidden by the current test framework, testrunner.sh, because that script adds a namespace around each test. https://bugzilla.gnome.org/show_bug.cgi?id=786652 2017-08-23 Alistair Thomas <astavale@yahoo.co.uk> Add .editorconfig file EditorConfig (http://editorconfig.org/) has become the de facto standard for defining the use of white space in project files. Code editors then choose the right settings automatically when a file is edited. https://bugzilla.gnome.org/show_bug.cgi?id=786620 2017-08-21 Rico Tzschichholz <ricotz@ubuntu.com> testrunner: Add missing quotes Release 0.37.90 vapi: Update GIR-based bindings 2017-08-20 Rico Tzschichholz <ricotz@ubuntu.com> valadoc/tests: Add ./vala/.libs rather than ./gee/.libs to LD_LIBRARY_PATH build: Add missing include of Makefile.common doclets: Explicitly link against libvala-*.la https://bugzilla.gnome.org/show_bug.cgi?id=786534 2017-08-19 Rico Tzschichholz <ricotz@ubuntu.com> vapigen: Mark given source-files as such and force girparser to handle them E.g. gtk+-4.0 is *one* library with multiple namespaces and gir files. So we need to handle this case and allow all explicitly given GIR files to be parsed. valadoc/tests: Add the source vapi directory to driver-test https://bugzilla.gnome.org/show_bug.cgi?id=786505 2017-08-16 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Include glib-object.h for Structs with type_id g-i: Fix deprecation warnings 2017-08-15 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Include glib-object.h for Enums with type_id 2017-08-10 Rico Tzschichholz <ricotz@ubuntu.com> gtk+-4.0: Make Gsk.Texturer.for_*() static factory methods Release 0.37.2 vapi: Update GIR-based bindings 2017-08-09 Rico Tzschichholz <ricotz@ubuntu.com> gtk+-4.0: Update to 3.91.2 2017-08-07 Rico Tzschichholz <ricotz@ubuntu.com> gobject-2.0: Add required type_id attributes to all ParamSpec subclasses 2017-08-02 kosmolot <kosmolot17@yandex.com> libxml-2.0: Update Xml.ParserOption https://bugzilla.gnome.org/show_bug.cgi?id=785585 2017-08-02 Rico Tzschichholz <ricotz@ubuntu.com> gtk+-4.0: Update metadata and fix Widget.size_allocate 2017-08-01 Rico Tzschichholz <ricotz@ubuntu.com> vapi: Update GIR-based bindings 2017-07-17 Rico Tzschichholz <ricotz@ubuntu.com> vapi: Update GIR-based bindings libvaladoc: Avoid nullable enum as property-type https://bugzilla.gnome.org/show_bug.cgi?id=784927 2017-07-08 Rico Tzschichholz <ricotz@ubuntu.com> valadoc: Drop superfluous VALA_0_32 conditionals Fixes tests while bootstapping with valac < 0.31/32 libvaladoc: Keep bootstrap-support with valac >= 0.16.1 2017-07-07 Jens Georg <mail@jensge.org> libgdata: Make Authorizer.reauth_* methods virtual Implementations can opt to not implement them https://bugzilla.gnome.org/show_bug.cgi?id=779229 2017-07-07 Rico Tzschichholz <ricotz@ubuntu.com> glib-2.0: Update Unicode symbols 2017-07-03 Rico Tzschichholz <ricotz@ubuntu.com> Release 0.37.1 build: Use --use-header for libvaladoc Reduces the size of generated c-sources while avoiding redefinitions. vapi: Update GIR-based bindings 2017-06-27 Rico Tzschichholz <ricotz@ubuntu.com> Merge valadoc 0.36.0 Consider valadoc a part of vala's toolchain and therefore let it live in the main repository. With this merge there is no need to maintain multiple driver sources since only one is required from now on. There is no dependency on gee-0.8 and vala's internal gee copy has made to be sufficient. The libvaladoc library will be suffixed with vala's version suffix too. Besides this renaming the rest of the valadoc file layout is kept the same. https://bugzilla.gnome.org/show_bug.cgi?id=782782 2017-06-27 Rico Tzschichholz <ricotz@ubuntu.com> libgvc: Add WITH_CGRAPH conditionals gee: Add some useful symbols from gee-0.8 build: Generate libvala-0.XX.vapi in vala Drop superfluous inheriting from GLib.Object Prepare valadoc source-tree for merge 2017-06-26 Rico Tzschichholz <ricotz@ubuntu.com> manual: Update from wiki.gnome.org 2017-06-21 Rico Tzschichholz <ricotz@ubuntu.com> girwriter: Write length-parameters of arrays with rank > 1 https://bugzilla.gnome.org/show_bug.cgi?id=758019 compiler: Use API_VERSION instead of stripping PACKAGE_SUFFIX girparser: Fix parsing of delegate-alias without target "has_target" is a ccode-attribute-based property, so don't explicitly set it and rely on attribute-list-copy. Otherwise there will a fatal duplicated CCode attribute. glib-2.0: Add bindings for g_ascii_string_to_(un)signed() 2017-06-20 Rico Tzschichholz <ricotz@ubuntu.com> webkit2gtk-4.0: Update to 2.17.4 2017-06-19 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Don't allow assigning delegate if no target/closure is available https://bugzilla.gnome.org/show_bug.cgi?id=598869 codegenerator: Add source_reference parameter to CodeGenerator.store_*() codegen: NoAccessorMethod attribute is allowed for gobject-properties only 2017-06-17 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Nullable ValueType requires POINTER as marshaller signature This is missing in https://bugzilla.gnome.org/show_bug.cgi?id=758816 https://bugzilla.gnome.org/show_bug.cgi?id=783897 2017-06-17 Rico Tzschichholz <ricotz@ubuntu.com> vapi: Update GIR-based bindings 2017-06-12 Carlos Garnacho <carlosg@gnome.org> codegen: Make the task_complete flag for < 2.44 more similar to >= 2.44 According to the g_task_get_completed() docs (which we rely on for glib >= 2.44 targets): "This changes from FALSE to TRUE after the task's callback is invoked, and will return FALSE from inside the callback". So to make the code paths most similar to >= 2.44 (when g_task_get_completed is available), wrap the GAsyncReadyCallback with one of our own, that just invokes the nested callback (if any) and turns on the flag. Also remove the code turning on the flag on finish(), it's superfluous now and there are no guarantees that it will be invoked. https://bugzilla.gnome.org/show_bug.cgi?id=783543 2017-06-11 Rico Tzschichholz <ricotz@ubuntu.com> gir-importer: Ignore <attribute> tags 2017-06-07 Daniel Espinosa <esodan@gmail.com> compiler: Add --gresourcesdir option In case a gresources.xml is located in a different directory than its corresponding resources, --gresourcesdir will add additional search locations for UI files of Gtk+ templates. https://bugzilla.gnome.org/show_bug.cgi?id=783133 2017-06-07 Ole André Vadla Ravnås <oleavr@gmail.com> gvariant: Optimize (de)serialization of arrays with type-signature "ay" https://bugzilla.gnome.org/show_bug.cgi?id=772426 2017-06-07 Rico Tzschichholz <ricotz@ubuntu.com> vapi: Update GIR-based bindings gio-2.0: Use default 'length = null' for DataInputStream.read_line_utf8* https://bugzilla.gnome.org/show_bug.cgi?id=783351 2017-06-07 Rico Tzschichholz <ricotz@ubuntu.com> gio-2.0: Add DBusConnection 'closed' signal as 'on_closed' It was masked by property with same name. https://bugzilla.gnome.org/show_bug.cgi?id=684358 2017-06-07 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Support renamed signals The CCode attribute 'cname' needs to be the canonical representation as it is expected in C. https://bugzilla.gnome.org/show_bug.cgi?id=731547 2017-06-02 Rico Tzschichholz <ricotz@ubuntu.com> gobject-2.0: Add GLib.ParamSpecPointer 2017-05-30 Rico Tzschichholz <ricotz@ubuntu.com> gtk+-4.0: Update to 3.91.0+a4e80efe 2017-05-23 Rico Tzschichholz <ricotz@ubuntu.com> vapi: Update GIR-based bindings 2017-05-18 Rico Tzschichholz <ricotz@ubuntu.com> vapi: Update GIR-based bindings 2017-05-17 Rico Tzschichholz <ricotz@ubuntu.com> tests: Add some constructor tests glib-2.0: Always use valid version-string for Version.deprecated_since Install libvala-0.xx.vapi to "global" vapi directory This is how libraries with vala bindings are expected to behave and so should vala itself. codegen: Use *_free_full to free GLib.List, GLib.SList and GLib.Queue g_list_free_full and g_slist_free_full are available since 2.28. g_queue_free_full is available since 2.32. 2017-05-17 Rico Tzschichholz <ricotz@ubuntu.com> Require and target GLib >= 2.40 The next stable release of vala will happen 3.5 years after the release of GLib 2.40.0. https://bugzilla.gnome.org/show_bug.cgi?id=782005 2017-05-17 Rico Tzschichholz <ricotz@ubuntu.com> gdbus: Don't leak nested HashTable on deserialization Additionally make sure types derived from string are freed, e.g. ObjectPath https://bugzilla.gnome.org/show_bug.cgi?id=782719 2017-05-15 Rico Tzschichholz <ricotz@ubuntu.com> tests: Additional basic-types tests for dbus 2017-05-13 Rico Tzschichholz <ricotz@ubuntu.com> vapi: Update GIR-based bindings poppler-glib: Update to 0.54.0 2017-05-09 Rico Tzschichholz <ricotz@ubuntu.com> vala: Don't warn about deprecated symbols if installed_version is older 2017-05-09 Luca Bruno <lucabru@src.gnome.org> codegen: Fix finally blocks with async yields The Method.yield_count is not correct because in C the finally blocks may be emitted twice. https://bugzilla.gnome.org/show_bug.cgi?id=741929 2017-05-07 Rico Tzschichholz <ricotz@ubuntu.com> gtk+-4.0: Update Container.forall/set_focus_child() 2017-05-04 Rico Tzschichholz <ricotz@ubuntu.com> glib-2.0: Add bindings for g_ptr_array_find/_find_with_equal_func() vapi: Update GIR-based bindings 2017-05-02 Rico Tzschichholz <ricotz@ubuntu.com> Revert "codegen: Don't implicitly initialize local variables with an initializer" This reverts commit f5c654f76eeb1ee887f3d89eb701cf82f75a430a. https://bugzilla.gnome.org/show_bug.cgi?id=782056 2017-05-02 Magomed Abdurakhmanov <maqdev@gmail.com> scanner: Fix calculation of column value for tokens after multiline comment https://bugzilla.gnome.org/show_bug.cgi?id=652899 2017-04-30 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Unref GLib.AsyncResult on uncaught errors in coroutines Ignoring the warning of uncaught error in async methods resulted in leaking a reference to the scopes GLib.AsyncResult. https://bugzilla.gnome.org/show_bug.cgi?id=641171 2017-04-30 Rico Tzschichholz <ricotz@ubuntu.com> codewriter: Update timestamps of generated c-files if needed If a changed source-file produces the same ccode we currently leave existing files untouched. Although it is better to update the modification timestamp of those to at least meet the one of associated source-file. https://bugzilla.gnome.org/show_bug.cgi?id=683286 2017-04-26 Michael Biebl <mbiebl@gmail.com> tests: Use dbus-run-session instead of dbus-launch dbus-launch is X11-specific and contains a lot of legacy code to support X11 autolaunching. It should not be part of the Wayland future. Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=836067 https://bugzilla.gnome.org/show_bug.cgi?id=771455 2017-04-26 Rico Tzschichholz <ricotz@ubuntu.com> build: Make sure to dist all generated headers 2017-04-25 Rico Tzschichholz <ricotz@ubuntu.com> manual: Update from wiki.gnome.org build: Use --use-header for libraries Reduces the size of generated c-sources while avoiding redefinitions. 2017-04-24 Rico Tzschichholz <ricotz@ubuntu.com> vala: Enums require at least one value otherwise report an error 2017-04-19 Rico Tzschichholz <ricotz@ubuntu.com> gio-2.0: Tweak metadata to avoid duplicated interface dependencies 2017-04-18 Rico Tzschichholz <ricotz@ubuntu.com> gio-2.0: Fix GLib.Task.report_error/report_new_error() gio-2.0: Fix GLib.Task constructor https://bugzilla.gnome.org/show_bug.cgi?id=781449 2017-04-17 Marvin W <git@larma.de> vala: Handle non-null in coalescing expression https://bugzilla.gnome.org/show_bug.cgi?id=611223 testrunner: Respect given VALAFLAGS https://bugzilla.gnome.org/show_bug.cgi?id=611223 2017-04-17 Rico Tzschichholz <ricotz@ubuntu.com> compiler: Add --color=WHEN option It follows the format of other tools like diff and git-diff. glib-2.0: Add quark() functions to errordomains codegen: Use g_object_notify_by_pspec() to notify property-changes 2017-04-14 Rico Tzschichholz <ricotz@ubuntu.com> build: Make ccode and codegen private API valac is the only consumer and will statically link these libraries. build: Add missing '\' build: vapigen and vapicheck don't require ccode Bump version suffix 2017-04-10 Rico Tzschichholz <ricotz@ubuntu.com> glib-2.0,gio-2.0,gobject-2.0: Updates from 2.53 gstreamer: Update to 1.11.90+ 2017-04-03 Rico Tzschichholz <ricotz@ubuntu.com> Release 0.36.1 vapigen: Add --nostdpkg option like in valac 2017-04-01 Rico Tzschichholz <ricotz@ubuntu.com> gtk+-4.0: Update to 3.90.0 2017-03-30 Rico Tzschichholz <ricotz@ubuntu.com> gtk+-4.0: Update to 3.89.5+1202082b gtk+-2.0,gtk+-3.0: Mark "intersection" param of Widget.intersect() as out 2017-03-27 Rico Tzschichholz <ricotz@ubuntu.com> vapi: Update GIR-based bindings glib-2.0: Add missing version macro and constants gstreamer-1.0: Fix Pad.set_*_function() bindings https://bugzilla.gnome.org/show_bug.cgi?id=750838 girparser: Add destroy argument for metadata https://bugzilla.gnome.org/show_bug.cgi?id=750838 2017-03-24 Timm Bäder <mail@baedert.org> glib-2.0: unichar.to_string doesn't return null subroutine: Set parent_node of body block 2017-03-22 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Don't leak target-reference when casting/assigning owned delegates Regression of 6d07669384cdb70c3c657dba67d5048212f25da9 https://bugzilla.gnome.org/show_bug.cgi?id=780426 2017-03-22 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Fix delegate initializer for instance fields Set delegate-target to "self" which is available in *_instance_init(). https://bugzilla.gnome.org/show_bug.cgi?id=683925 2017-03-22 Rico Tzschichholz <ricotz@ubuntu.com> vala: Slightly improve lamdba-expression error on target-type mismatch 2017-03-22 Rico Tzschichholz <ricotz@ubuntu.com> vala: Perform arguments-check against actual .end() method-signature This results in error message referring to the actual expected signature. https://bugzilla.gnome.org/show_bug.cgi?id=684208 2017-03-21 Rico Tzschichholz <ricotz@ubuntu.com> Release 0.36.0 doc: Generate and update manpages 2017-03-20 Marvin W <git@larma.de> method: Always consider compatible with itself This is even the case with unresolved types. https://bugzilla.gnome.org/show_bug.cgi?id=773135 2017-03-18 Rico Tzschichholz <ricotz@ubuntu.com> vapi: Update GIR-based bindings Release 0.36.0 2017-03-18 Alistair Thomas <astavale@yahoo.co.uk> Rework NEWS for 0.36.0 release 2017-03-14 Ole André Vadla Ravnås <oleavr@gmail.com> vala: Fix MemberAccess.is_non_null() for EnumValue constants This is because an EnumValue object does not have a type reference. https://bugzilla.gnome.org/show_bug.cgi?id=780050 2017-03-14 Marvin W <git@larma.de> codegen: Properly null-out source on ownership-transfer of delegates 2017-03-14 Rico Tzschichholz <ricotz@ubuntu.com> gio-2.0: Add/"Unlock" missing GTask symbols vala: Make MarkupReader a simple class *not* derived from GLib.Object MarkupReader contains 3 properties which emit a g_object_notify() on every set which is not wanted and generates useless overhead. 2017-03-14 Alistair Thomas <astavale@yahoo.co.uk> valac: State default output directory is current working directory https://bugzilla.gnome.org/show_bug.cgi?id=740303 2017-03-14 Rico Tzschichholz <ricotz@ubuntu.com> tests: Merge two main methods 2017-03-14 Rico Tzschichholz <ricotz@ubuntu.com> signalmodule: Handle nullable ValueTypes properly and treat them as pointer Nullable value-types are actually pointers to heap-allocated structures. Therefore a pointer-based marshaller is required for those types. https://bugzilla.gnome.org/show_bug.cgi?id=758816 2017-03-13 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Add some missing to predefined marshallers from glib g_cclosure_marshal_VOID__BOXED g_cclosure_marshal_VOID__VARIANT g_cclosure_marshal_BOOLEAN__BOXED_BOXED 2017-03-13 Rico Tzschichholz <ricotz@ubuntu.com> Introduce $API_VERSION as base for $PACKAGE_SUFFIX and for usage in manual This goes along with unbreaking the manual-build with libxslt < 1.1.27. https://bugzilla.gnome.org/show_bug.cgi?id=779968 2017-03-13 Rico Tzschichholz <ricotz@ubuntu.com> Require gee-0.8 >= 0.19.91 https://bugzilla.gnome.org/show_bug.cgi?id=774653 Release 0.35.90 manual: xsltproc is required for all targets 2017-03-12 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Property equality check can't be applied to non-automatic-bodies This is check was introduced with 64b9bfc1bc0abfed45ad07a8ebaef8a5f167f848 https://bugzilla.gnome.org/show_bug.cgi?id=779955 2017-03-12 Rico Tzschichholz <ricotz@ubuntu.com> poppler-glib: Update to 0.52.0 2017-03-12 Alistair Thomas <astavale@yahoo.co.uk> manual: Add language="vala" attribute to Devhelp version manual: Add a README about editing the manual manual: Add pdf target that uses WeasyPrint manual: Add print target for single page HTML and CSS paged media styling manual: Add navigation links to top bar manual: Generate section and sub-section numbers manual: Add version information and copyright to manual The documentation is downloaded from the GNOME wiki. So the same copyright notice is used. The wiki states (c) The GNOME Project at the bottom of each page. The license for all new documentation is CC-BY-SA 4.0. See https://wiki.gnome.org/DocumentationProject/Guide/Licensing manual: Update from wiki.gnome.org 2017-03-11 Rico Tzschichholz <ricotz@ubuntu.com> vapi: Update GIR-based bindings codegen: Accessor of interface-property might be absent Avoid criticals while unconditionaly trying to chain-up to non-existing property-accessors without checking for null. 2017-03-10 Rico Tzschichholz <ricotz@ubuntu.com> class: Perform more thorough compatibility check of inherited properties https://bugzilla.gnome.org/show_bug.cgi?id=779038 2017-03-09 Simon Werbeck <simon.werbeck@gmail.com> vala: Disallow private accessors in overridable properties https://bugzilla.gnome.org/show_bug.cgi?id=603491 2017-03-09 Rico Tzschichholz <ricotz@ubuntu.com> Mark chained relational expressions as stable https://bugzilla.gnome.org/show_bug.cgi?id=677022 2017-03-08 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Fix base-access from within overriding struct-property-accessor Based on patch by gandalfn https://bugzilla.gnome.org/show_bug.cgi?id=764481 2017-03-08 Alistair Thomas <astavale@yahoo.co.uk> enchant: Minor fixes Remove superfluous cname_prefix namespace-attribute. Add get_version() and fix array-length-type of Dict.suggest(). https://bugzilla.gnome.org/show_bug.cgi?id=767522 2017-03-08 Rico Tzschichholz <ricotz@ubuntu.com> gstreamer-1.0: Mark *.make_writable with "ReturnsModifiedPointer" https://bugzilla.gnome.org/show_bug.cgi?id=759255 girparser: Add metadata-support for "returns_modified_pointer" https://bugzilla.gnome.org/show_bug.cgi?id=759255 2017-03-08 Rico Tzschichholz <ricotz@ubuntu.com> gstreamer-1.0: Fix Gst.Base.Adapter.map/take bindings There is no explicit array-length returned while it is implicitly related to the in-parameter those methods are taking. https://bugzilla.gnome.org/show_bug.cgi?id=705987 2017-03-07 Rico Tzschichholz <ricotz@ubuntu.com> gtk+-3.0: Widget.override_* are deprecated since 3.16 https://bugzilla.gnome.org/show_bug.cgi?id=777782 manual: Update timestamps of directory-targets signalmodule: Fix deprecation of signals signalmodule: Add signal-emitter declaration if needed https://bugzilla.gnome.org/show_bug.cgi?id=779609 Release 0.35.7 2017-03-06 Rico Tzschichholz <ricotz@ubuntu.com> docs: Generate and update manpages 2017-03-06 Carlos Garnacho <carlosg@gnome.org> codegen: Check there is a return error location before using it Fixes client-side dbus generation on methods that don't throw any error. https://bugzilla.gnome.org/show_bug.cgi?id=779652 2017-03-06 Rico Tzschichholz <ricotz@ubuntu.com> tests: Add "finish_instance = false" test-case Also references IOSteam.splice_async() as compilation check. https://bugzilla.gnome.org/show_bug.cgi?id=710103 2017-03-06 Florian Brosch <flo.brosch@gmail.com> gio-2.0: Fix IOStream.splice_async() gdk-pixbuf-2.0: Fix Pixbuf.save_to_stream_async() Add "finish_instance" CCode attribute https://bugzilla.gnome.org/show_bug.cgi?id=710103 2017-03-06 Carlos Garnacho <carlosg@gnome.org> tests: Add "use_string_marshalling = true" dbus-test Commit 09e6818d01e introduced the possibility of inserting _error labels at the end of functions, which make C compilers angry. This "test" (no actual tests are run, just compile correctness is checked here) triggers some of these situations. the "test3" abstract method is trickier though, it doesn't warn but produces code with early returns, which in practice means possible leaks. https://bugzilla.gnome.org/show_bug.cgi?id=778540 2017-03-06 Carlos Garnacho <carlosg@gnome.org> codegen: Avoid early return on sync dbus methods returning an error If there are arguments that need freeing, we need to fall through the _error label, if there is any. https://bugzilla.gnome.org/show_bug.cgi?id=778540 2017-03-06 Carlos Garnacho <carlosg@gnome.org> codegen: Only add _error path if there's parameters that require unref Fixes the _error label from being set at the end of a compound statement if there are no values to unref. https://bugzilla.gnome.org/show_bug.cgi?id=778540 2017-03-06 Rico Tzschichholz <ricotz@ubuntu.com> vapi: Update GIR-based bindings 2017-03-05 Rico Tzschichholz <ricotz@ubuntu.com> glib-2.0: Update "g_utf8_make_valid" binding memberaccess: Don't resolve base_method/property twice https://bugzilla.gnome.org/show_bug.cgi?id=779219 2017-03-05 Francisco Serna <Francisco.Serna@jhuapl.edu> signalmodule: Add support for array-parameters with rank > 1 https://bugzilla.gnome.org/show_bug.cgi?id=778632 2017-03-05 Rico Tzschichholz <ricotz@ubuntu.com> tests: Add a bunch of chain-up tests https://bugzilla.gnome.org/show_bug.cgi?id=567269 glib-2.0: Add bindings for GPOINTER_TO_* as from_pointer() 2017-03-02 Daniel Espinosa <daniel.espinosa@pwmc.mx> libxml-2.0: Adding missing API and nullable parameters https://bugzilla.gnome.org/show_bug.cgi?id=779490 2017-03-02 Rico Tzschichholz <ricotz@ubuntu.com> manual: Actually install files into "bookdir" instead of a subfolder 2017-03-02 Niko Tyni <ntyni@debian.org> gtkmodule: Preserve order of required-gtype-classes for reproducibility The elements of current_required_app_classes end up in the generated code in g_type_ensure() statements. The order of these can vary between builds when using a HashSet, breaking reproducibilty. See https://wiki.debian.org/ReproducibleBuilds https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=802528 2017-03-01 Rico Tzschichholz <ricotz@ubuntu.com> glib-2.0: Fix g_bookmark_file_load_from_*/to_file bindings BookmarkFile.load_from_file, load_from_data_dirs and to_file may also throw FileError in addition to BookmarkFileError. gio-2.0: Re-add old bindings for DBus{Connection|ObjectManagerClient|Proxy} Keep backwards compatibility for those async-constructor which were dropped with 4123914c1eecf16696d53cc25367440c221be94d vapi: Add libgrss bindings https://bugzilla.gnome.org/show_bug.cgi?id=779318 2017-03-01 Daniel Espinosa <daniel.espinosa@pwmc.mx> Set libxml2 method accepting nullable 2017-02-28 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Default to void-return for vfunc pointer cast of *_async methods This make it match vala's generated code of async-module. To properly account for non-void *_async methods we require some additional metadata since only the return-type of *_finish method is known. 2017-02-28 Rico Tzschichholz <ricotz@ubuntu.com> gdk-pixbuf-2.0: Use correct finish-func for Pixbuf.from_stream_at_scale_async() https://bugzilla.gnome.org/show_bug.cgi?id=779366 codegen: Fix vfunc pointer cast for async method implementation/override codegen: Cast destroy_data for g_cclosure_new to GClosureNotify 2017-02-27 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Cast *_destroy_func arg of generic-types calls to GDestroyNotify gobject-2.0: Add some missing "array_length_type" annotations 2017-02-27 Corentin Noël <corentin@elementary.io> Add option to generate SVG charts https://bugzilla.gnome.org/show_bug.cgi?id=761137 2017-02-27 Rico Tzschichholz <ricotz@ubuntu.com> Release 0.35.6 glib-2.0: Add more Error bindings 2017-02-25 Rico Tzschichholz <ricotz@ubuntu.com> glib-2.0: Mark delegates in Test.add_data_func/add_func() as scope=async https://bugzilla.gnome.org/show_bug.cgi?id=739725 vapi: Update GIR-based bindings codegen: Cast vfunc pointer assigns of abstract overrides https://bugzilla.gnome.org/show_bug.cgi?id=777958 codegen: Pass pointer of matching type to property-getter https://bugzilla.gnome.org/show_bug.cgi?id=777958 2017-02-24 Rico Tzschichholz <ricotz@ubuntu.com> tests: Enable -Werror=int-conversion 2017-02-24 Nikolay Orlyuk <virkony@gmail.com> codegen: Fix instance parameter for property setter in SimpleType structs Add test-case and fix code generator for call to the setter to pass instance as a value rather than as a pointer to value. Based on patches by Nathan Summers. https://bugzilla.gnome.org/show_bug.cgi?id=657346 2017-02-24 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Don't add static modifier to abstract property setters https://bugzilla.gnome.org/show_bug.cgi?id=673389 gtk+-X.0: Mark "iter" param of ListStore.remove() as ref 2017-02-23 Rico Tzschichholz <ricotz@ubuntu.com> cairo: Add bindings for cairo_*_user_data() 2017-02-23 Alistair Thomas <astavale@yahoo.co.uk> manual: Initial import of manual.xml from wiki.gnome.org https://bugzilla.gnome.org/show_bug.cgi?id=779090 manual: Switch to using DocBook from wiki.gnome.org as source https://bugzilla.gnome.org/show_bug.cgi?id=779090 2017-02-22 Alistair Thomas <astavale@yahoo.co.uk> doc: Rename doc/vala to doc/manual Clarify contents of directory with new name 2017-02-21 Rico Tzschichholz <ricotz@ubuntu.com> tests: Add N-D array tests 2017-02-21 mrmacete <mrmacete@protonmail.ch> gdbus: Fix memleak using g_task_propagate_pointer https://bugzilla.gnome.org/show_bug.cgi?id=778993 2017-02-21 Rico Tzschichholz <ricotz@ubuntu.com> Add Deprecated/Version attribute tests https://bugzilla.gnome.org/show_bug.cgi?id=778640 2017-02-21 Corentin Noël <corentin@elementary.io> Add support for the Version tag that replaces the Deprecated tag https://bugzilla.gnome.org/show_bug.cgi?id=778640 2017-02-20 Rico Tzschichholz <ricotz@ubuntu.com> vapi: Update GIR-based bindings glib-2.0: Add G_CHECKSUM_SHA384 2017-02-18 Carlos Garnacho <carlosg@gnome.org> dbus: Move send_message() call before _error label Commit 09e6818d01 changed dbus server paths so requests fell back to freeing allocated memory on errors. However certain kinds of dbus replies issue a final g_dbus_connection_send_message() there. In case of errors, _reply_message will be NULL, and the error paths would have already issued g_dbus_method_invocation_return_gerror(), so the g_dbus_connection_send_message() call is both unnecessary and warns on the NULL argument. So move the DBus reply before the _error label. https://bugzilla.gnome.org/show_bug.cgi?id=778540 2017-02-18 Carlos Garnacho <carlosg@gnome.org> tests: Add test for dbus fd passing failures The server will exhaust all fds before the fd list in the dbus request is opened. We do expect it to fail in the client. https://bugzilla.gnome.org/show_bug.cgi?id=778540 2017-02-18 Dr. Michael Lauer <mickey@vanille-media.de> linux: add non-posix fcntl constants Fixes bugs 729804 and 729805 https://bugzilla.gnome.org/show_bug.cgi?id=729804 https://bugzilla.gnome.org/show_bug.cgi?id=729805 2017-02-17 Vladislav <naumovvladislav@mail.ru> geniescanner: Remove trailing spaces/tabs https://bugzilla.gnome.org/show_bug.cgi?id=611085 2017-02-17 Rico Tzschichholz <ricotz@ubuntu.com> genieparser: Allow comma-separated identifiers in definition of enums https://bugzilla.gnome.org/show_bug.cgi?id=776833 2017-02-16 Rico Tzschichholz <ricotz@ubuntu.com> gobject-2.0: Fix bootstrap build with valac < 0.26 2017-02-15 Rico Tzschichholz <ricotz@ubuntu.com> glib-2.0: Mark va_list.arg() with simple-generics to allow int64 or double Bump valac requirements Fix make check tests: Fix build and update for API changes tests: Sync testrunner.sh Cflags from vala 2017-02-14 Rico Tzschichholz <ricotz@ubuntu.com> Annotate methods with PrintfFormat where needed configure.ac: Update project information doap: Update urls and add myself Release 0.35.5 gobject-2.0: Reinstate required "lower_case_csuffix" of TypeModule Release 0.35.4 gobject-2.0: Fix cheader typo sdl: Make Palette and PixelFormat a struct https://bugzilla.gnome.org/show_bug.cgi?id=778052 2017-02-14 Rico Tzschichholz <ricotz@ubuntu.com> gobject-2.0: Add a bunch of missing symbols Additions for ObjectClass, Type, TypeClass, TypeInterface are based on patch by therebedragons111 https://bugzilla.gnome.org/show_bug.cgi?id=771828 2017-02-13 Rico Tzschichholz <ricotz@ubuntu.com> vapi: Update GIR-based bindings 2017-02-13 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Don't create duplicated complete-async code Treat methods with non-void return-type special while they require a return statement. This does not account for a trailing superfluous "return" which will still trigger this code-duplication. https://bugzilla.gnome.org/show_bug.cgi?id=778302 2017-02-13 Carlos Garnacho <carlosg@gnome.org> gdbus: Handle errors when extracting fds from dbus messages On the right situations (eg. fd exhaustion), both g_dbus_message_get_unix_fd_list() and g_unix_fd_list_get() should be considered failable here. Add proper error handling to avoid triggering glib warnings. https://bugzilla.gnome.org/show_bug.cgi?id=778540 2017-02-13 Carlos Garnacho <carlosg@gnome.org> gdbus: Ensure extracted data from the GVariant is freed on error This will make extracted variables properly freed when extracting those fails at some point. https://bugzilla.gnome.org/show_bug.cgi?id=778540 2017-02-13 Carlos Garnacho <carlosg@gnome.org> gdbus: Initialize intermediate variables Those may be left uninitialized after error handling paths are introduced, so invalid data might be attempted to be freed later on. https://bugzilla.gnome.org/show_bug.cgi?id=778540 2017-02-12 Rico Tzschichholz <ricotz@ubuntu.com> Fix broken 20a1536f9911c1aadbfbe046bc01afc57bb724a5 https://bugzilla.gnome.org/show_bug.cgi?id=777697 2017-02-12 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Support casting arbitary value-types to arrays Also calculate a valid length for the resulting array. This enables easier usage of common uint8[]-based buffer API. https://bugzilla.gnome.org/show_bug.cgi?id=777194 2017-02-12 Rico Tzschichholz <ricotz@ubuntu.com> vala: Non-null initializers are not allowed for owned namespace fields https://bugzilla.gnome.org/show_bug.cgi?id=777697 2017-02-12 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Fix memory leak when using object initializer for properties Assigning values to properties this way leads to a ref/copy of the source and therefore requires a unref/destroy afterwards. https://bugzilla.gnome.org/show_bug.cgi?id=766739 2017-02-09 Rico Tzschichholz <ricotz@ubuntu.com> glib-2.0: Add uuid_string_* symbols 2017-02-08 Michael James Gratton <mike@vee.net> codegen: Don't return void for non-nullable simple-type structs https://bugzilla.gnome.org/show_bug.cgi?id=778224 2017-02-04 Rico Tzschichholz <ricotz@ubuntu.com> gdk-2.0: Include gdk/gdkkeysyms.h for Gdk.Key Required since gdk.h doesn't include gdk/gdkkeysyms.h as gdk-3.0 does. https://bugzilla.gnome.org/show_bug.cgi?id=778173 2017-02-01 Rico Tzschichholz <ricotz@ubuntu.com> vapi: Update GIR-based bindings 2017-01-22 Rico Tzschichholz <ricotz@ubuntu.com> vapi: Update GIR-based bindings 2017-01-17 Rico Tzschichholz <ricotz@ubuntu.com> vapi: Update GIR-based bindings vapi: Remove clutter-json-1.0 It went obsolete since Clutter 1.6.0 has been released, 6 years ago. vapi: "ref" functions must return an unowned value Otherwise vala would automatically add a corresponding "unref" call. gtk+-4.0: Update to 3.89.3 2017-01-16 Ole André Vadla Ravnås <oleavr@gmail.com> tests: Add testcase for double-free regression https://bugzilla.gnome.org/show_bug.cgi?id=777242 2017-01-16 Rico Tzschichholz <ricotz@ubuntu.com> Revert "codegen: g_free is already NULL-safe" This reverts commit 5b024e44077b6738855b6b2e92d913b75fda3444. https://bugzilla.gnome.org/show_bug.cgi?id=777242 2017-01-10 Rico Tzschichholz <ricotz@ubuntu.com> Fix build with -Werror=switch Release 0.35.3 gtk+-4.0: Update to 3.89.2+57a11ca2 2017-01-07 Rico Tzschichholz <ricotz@ubuntu.com> vapi: Update GIR-based bindings gtk+-4.0: Update to 3.89.2+1e6fce97 2017-01-05 Rico Tzschichholz <ricotz@ubuntu.com> gobject-introspection-1.0: Prettify and fix the whole thing https://bugzilla.gnome.org/show_bug.cgi?id=775812 Regenerate GIR-based bindings girparser: Let alias inherit more information from base_type 2017-01-05 Abderrahim Kitouni <a.kitouni@gmail.com> D-Bus: support [DBus (signature = ...)] for properties This was working for methods and signals, but not for properties. Also add tests for all cases. https://bugzilla.gnome.org/show_bug.cgi?id=744595 2017-01-05 Rico Tzschichholz <ricotz@ubuntu.com> vala: Fix output of syntax errors reports get_error() did not take printf-formatted strings, it expected fully populated ones for direct usage with Report.error(). Output error message with report_parse_error() from try-catch-statements. https://bugzilla.gnome.org/show_bug.cgi?id=776827 2017-01-04 Rico Tzschichholz <ricotz@ubuntu.com> girparser: Allow to specify the base_type of an alias Regenerate GIR-based bindings girparser: Improve function to method conversion Update the array-length, closure and destroy indexes if needed. Drop instance_pos attribute if it refers to the first parameter which is the default anyway. Move writing of G_GNUC_DEPRECATED down to CCodeDeclarator implementations Doing so in CCodeDeclaration is error-prone. CCodeVariableDeclarator still requires special handling which isn't done here. ccodefunction: Only add G_GNUC_DEPRECATED to declarations 2017-01-03 Rico Tzschichholz <ricotz@ubuntu.com> vapi: Add gtk+-unix-print-4.0 bindings vapi: Add gtk+-unix-print-2.0 bindings vapi: Add gtk+-unix-print-3.0 bindings 2017-01-02 Rico Tzschichholz <ricotz@ubuntu.com> gtk+-4.0: Update to 3.89.2+b993acfe 2016-12-29 Rico Tzschichholz <ricotz@ubuntu.com> gtk+-3.0: Update to 3.22.5+a1aee460 vapi: Update GIR-based bindings 2016-12-17 Rico Tzschichholz <ricotz@ubuntu.com> vapi: Update GIR-based bindings 2016-12-14 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Re-use CCodeIdentifier ("_data_") 2016-12-14 Carlos Garnacho <carlosg@gnome.org> codegen: Compensate for the lack of g_task_get_completed on glib < 2.44 If a target glib between 2.36 and 2.44 is used, store a boolean var in the async task data, which is initialized to FALSE and set to TRUE in the async task callback, so async-forced-to-sync like the async generator example can block until the task is complete. There is one special case, if the async task receives no callback to execute, the boolean flag is set to TRUE right away, as it will be "finished" by the first time it's checked. https://bugzilla.gnome.org/show_bug.cgi?id=763345 2016-12-14 Rico Tzschichholz <ricotz@ubuntu.com> Release 0.35.2 2016-12-12 Rico Tzschichholz <ricotz@ubuntu.com> gtk+-4.0: Make Gsk.Renderer.for_window() a static factory method 2016-12-11 Rico Tzschichholz <ricotz@ubuntu.com> vapi: Update GIR-based bindings 2016-12-10 Rico Tzschichholz <ricotz@ubuntu.com> vala: Check inferred generic-types of MemberAccess Although avoid this check for simple-generic accesses where this would be too strict and not wanted. https://bugzilla.gnome.org/show_bug.cgi?id=775466 2016-12-10 Matthias Berndt <matthias_berndt@gmx.de> vala: Check generic-types count of DelegateType https://bugzilla.gnome.org/show_bug.cgi?id=772204 2016-12-08 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Reference struct fields with their actual cname https://bugzilla.gnome.org/show_bug.cgi?id=775761 2016-12-07 Simon Werbeck <simon.werbeck@gmail.com> Improve constructor chain-up checks The only valid expressions for chaining up are: * this[.named] () * base[.named] () * Object () - for GObject style chain-ups This patch should prevent invalid chain-ups such as: * Foo.named (), where Foo is not a valid base class * (new Foo ()) (), i.e. invoking expressions that return an object In preparation to fixing bug 567269, is_chainup() was turned into a property. 2016-12-05 Rico Tzschichholz <ricotz@ubuntu.com> vapi: Update GIR-based bindings 2016-12-05 Yu Feng <rainwoodman@gmail.com> girwriter: Add fullname GIR attribute, and set fullname of GObject.Type In gir files generated by Vala, members of type GType is referenced with name "GObject.Type", but GObject-introspection expect it to be "GType". While there was no way to override the fully qualified GIR name of a member, this patch adds [GIR (fullname = "GType")] to fix the mismatch for GObject.Type. https://bugzilla.gnome.org/show_bug.cgi?id=775591 2016-12-01 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Add function-prototypes for all register-type calls Make sure to match the list of called register-type calls and include implemented classes and interfaces. https://bugzilla.gnome.org/show_bug.cgi?id=775446 2016-12-01 Rico Tzschichholz <ricotz@ubuntu.com> gtk+-4.0: Update to 3.89.1+e09b78f7 2016-11-30 Rico Tzschichholz <ricotz@ubuntu.com> methodcall: Don't try to remove N_/NC_ while they are properly handled in C This avoids messing around with the ownership and properly invokes copying if needed. https://bugzilla.gnome.org/show_bug.cgi?id=642350 2016-11-29 Rico Tzschichholz <ricotz@ubuntu.com> vapi: Update GIR-based bindings 2016-11-27 Rico Tzschichholz <ricotz@ubuntu.com> tests: Add gir-test for fixed-size arrays 2016-11-24 Rico Tzschichholz <ricotz@ubuntu.com> vapi: Update GIR-based bindings girparser: No support for fixed-size array as return-value Due to the special syntax for those arrays it lead to omitting the array-qualifier and therefore generating broken bindings. 2016-11-22 Rico Tzschichholz <ricotz@ubuntu.com> Release 0.35.1 2016-11-21 Rico Tzschichholz <ricotz@ubuntu.com> gstreamer-1.0: Make ElementFactory.get_static_pad_templates fully "unowned" https://bugzilla.gnome.org/show_bug.cgi?id=774791 2016-11-20 Rico Tzschichholz <ricotz@ubuntu.com> vapi: Update GIR-based bindings 2016-11-19 Carlos Garnacho <carlosg@gnome.org> codegen: Use GTask instead of GSimpleAsyncResult if 2.36 target is selected GTask brings some differences compared to GSimpleAsyncResult. Most namely, g_task_return*() operations perform at once the async result data asignment and the caller's main context activation. This is something that has to be done exactly once, so the code flow has slight changes to ensure that. Also, the async operation data used to be attached early through g_simple_async_result_set_op_res_gpointer, only to be maybe replaced by the real return data. If GTask is being used, we set this data through g_task_set_task_data(). There's code out there relying on immediate return here when state is !=0. As GTask always defers the finalization to an idle in its main context, ensure the source is dispatched and the task completed before returning. https://bugzilla.gnome.org/show_bug.cgi?id=763345 2016-11-16 Rico Tzschichholz <ricotz@ubuntu.com> gtk+-4.0: Update to 3.89.0+48e7f419 2016-11-13 Rico Tzschichholz <ricotz@ubuntu.com> vapi: Update GIR-based bindings gtk+-4.0: Update to 3.89.0+2520662d 2016-11-12 Rico Tzschichholz <ricotz@ubuntu.com> Fix build with -Werror=redundant-decls Fix build with -Werror=enum-compare 2016-11-11 Rico Tzschichholz <ricotz@ubuntu.com> tests: Enable -Werror=redundant-decls codegen: Don't write declaration of CreationMethod for compact-classes twice https://bugzilla.gnome.org/show_bug.cgi?id=772661 ccode: Fix and disable deprecating EnumValue This still requires GCC 6.0 and later to work. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47043 driver/0.36.x: Follow libvala API change Move "blurb", "nick" and "notify" into Property Transform CCode*'s "deprecated" into using CCodeNode's "modifiers" 2016-11-10 Rico Tzschichholz <ricotz@ubuntu.com> tests: Add missing main() in bug641418-*.test codegen: g_free is already NULL-safe codegen: Don't implicitly initialize local variables with an initializer Don't initilize local variable if not requested codegen: Remove unused create_local() codegen: Make get_temp_variable() default to init=false Revert "Always initialize temp variables to fix fatal warnings of GCC 4.8" This reverts commit eeb861dfba147bc37cfc7a9c22e1b582cf20ff31. 2016-11-09 Rico Tzschichholz <ricotz@ubuntu.com> Add G_GNUC_PRINTF/SCANF attribute for Printf/ScanfFormat functions https://bugzilla.gnome.org/show_bug.cgi?id=710862 2016-11-08 Rico Tzschichholz <ricotz@ubuntu.com> Transform CCodeParameter's "format_arg" into CCodeNode's "modifiers" Add CCodeNode "modifiers" and transform CCodeFunction's "attributes" to it vala: Clean up PropertyAccessor API 2016-11-08 Alistair Thomas <astavale@yahoo.co.uk> vala: check a property has an accessor and/or a mutator Fixes https://bugzilla.gnome.org/show_bug.cgi?id=773956 2016-11-07 Rico Tzschichholz <ricotz@ubuntu.com> gtk+-4.0: Update to 3.89.0+fa7d77d4 codegen: Add G_GNUC_FORMAT attribute for FormatArg function-pointers tests: More cases of FormatArg functions 2016-11-07 Jürg Billeter <j@bitron.ch> codegen: Add G_GNUC_FORMAT attribute for FormatArg functions https://bugzilla.gnome.org/show_bug.cgi?id=774060 tests: Enable -Werror=format-nonliteral 2016-11-07 Rico Tzschichholz <ricotz@ubuntu.com> vala: Pass through the format-literal https://bugzilla.gnome.org/show_bug.cgi?id=774060 2016-11-07 Richard Wiedenhöft <richard@wiedenhoeft.xyz> Fix broken destruction of null-terminated arrays in async data structs https://bugzilla.gnome.org/show_bug.cgi?id=762819 2016-11-06 Rico Tzschichholz <ricotz@ubuntu.com> doap: Add description as required Drop obsolete MAINTAINERS file Add myself to doap Update bugreport and package urls 2016-11-05 Timm Bäder <mail@baedert.org> method: Print encountered type if return types mismatch If a class overrides a method of a base type, print both the encountered return type and the return type expected by the base class. https://bugzilla.gnome.org/show_bug.cgi?id=769501 2016-11-05 Rico Tzschichholz <ricotz@ubuntu.com> gtk+-4.0: Fix cheader_filename for Gdk and update to 3.89.0+a47fb1c4 2016-11-04 Andrea Del Signore <sejerpz@gmail.com> girwriter: Use the correct tag- and element-name for an annotation The correct syntax is <attribute name=".." value=".."/> https://bugzilla.gnome.org/show_bug.cgi?id=769597 2016-11-03 Severin Heiniger <severinheiniger@gmail.com> codegen: Allow underscores in type parameter names https://bugzilla.gnome.org/show_bug.cgi?id=644938 2016-11-03 Jürg Billeter <j@bitron.ch> tests: Enable -Werror=format-security 2016-11-03 Jürg Billeter <j@bitron.ch> codegen: Avoid temporary variables for calls to [FormatArg] methods This prevents bogus C compiler warnings with -Wformat-nonliteral. https://bugzilla.gnome.org/show_bug.cgi?id=769229 2016-11-03 Jürg Billeter <j@bitron.ch> Do not use non-literal printf format strings Add [FormatArg] attribute to Parser.get_error glib-2.0: Add [FormatArg] attributes to gettext functions Support [FormatArg] attribute for parameters This attribute specifies that the method takes and returns a printf or scanf format string without modifying the order or types of expected arguments, e.g., to translate the format string. This allows the compiler to check the printf/scanf arguments. 2016-11-03 Rico Tzschichholz <ricotz@ubuntu.com> Fix deprecation of class/struct fields Respect the "deprecated" attributes given to class and struct fields, while actually adding G_GNUC_DEPRECATED to their declaration. codegen: Simplify get_enum_value_canonical_cconstant() codegen: Simplify get_signal_canonical_constant() glib-2.0: Add simple fast-path to string.replace() vapi: Update GIR-based bindings gtk+-4.0: Update to 3.89.0+c9a313a1 2016-11-01 Rico Tzschichholz <ricotz@ubuntu.com> parser: Cache current token if possible codegen: Mark GLibValue as internal 2016-11-01 Jürg Billeter <j@bitron.ch> Check printf arguments of object creation expressions 2016-11-01 Rico Tzschichholz <ricotz@ubuntu.com> vapi: Add unstable bindings for gtk+-4.0 (based on 3.89.0+3c1f7267) Don't create constant Regex on demand and use static field where possible ccodewriter: Use private _bol field instead of property writer: Some string optimizations field: Drop unused methods vala: Add missing TokeType cases for to_string() Avoid some string copying 2016-10-30 Rico Tzschichholz <ricotz@ubuntu.com> ccode: Replace if-else-tree with switch vala: Avoid superfluous string copying codegen: Some simplifications Use more "...".printf to concat strings codegen: Drop superfluous dynamic-type cast webkit2gtk-4.0: Update to 2.15.1 gdk-3.0: Update to 3.22.2+0ad5d51d 2016-10-27 Rico Tzschichholz <ricotz@ubuntu.com> vapi: Update GIR-based bindings 2016-10-25 Rico Tzschichholz <ricotz@ubuntu.com> build: Conditionally adjust VALAFLAGS in case of proper bootsrapped builds This adds --hide-internal to VALAFLAGS to allow symbols to be marked 'internal' in Vala source files and not appear in the dynamic symbol table of libvala. The build system checks for minimum valac version to fullfill required support of needed VALAFLAGS. https://bugzilla.gnome.org/show_bug.cgi?id=771920 2016-10-25 Evan Nemerson <evan@coeus-group.com> codegen: Only emit notify signals if the value actually changed https://bugzilla.gnome.org/show_bug.cgi?id=631267 2016-10-24 Rico Tzschichholz <ricotz@ubuntu.com> gdk-3.0: Update to 3.22.1+a1115c05 2016-10-20 Luca Bruno <lucabru@src.gnome.org> Add explicit copy method for arrays https://bugzilla.gnome.org/show_bug.cgi?id=650663 2016-10-20 Matthias Berndt <matthias_berndt@gmx.de> vapi: Add missing type parameters for delegates https://bugzilla.gnome.org/show_bug.cgi?id=772204 2016-10-19 Rico Tzschichholz <ricotz@ubuntu.com> gdk-pixbuf-2.0: Use metadata instead of custom defintions for Pixbuf glib-2.0: Some nullable arguments in GLib.Test.* https://bugzilla.gnome.org/show_bug.cgi?id=772964 2016-10-18 Rico Tzschichholz <ricotz@ubuntu.com> glib-2.0: Add "g_utf8_make_valid" binding gio-unix-2.0: Add "g_unix_mounts_for" binding gio-unix-2.0: Fix "g_unix_mount_at" binding vapi: Update GIR-based bindings girparser: Avoid fatal handling of nameless unions 2016-10-18 Philip Withnall <philip.withnall@collabora.co.uk> ccode: Add missing newline after gnuc deprecations attribute In generated C code, code wrapped by G_GNUC_[BEGIN|END]_IGNORE_DEPRECATIONS was missing a newline after the BEGIN attribute, which was causing compilation failures. Fix that by adding the missing newline. https://bugzilla.gnome.org/show_bug.cgi?id=773129 2016-10-18 Ting-Wei Lan <lantw@src.gnome.org> valadoc: Call setlocale in main function It is required to correctly show translated messages on some locales. https://bugzilla.gnome.org/show_bug.cgi?id=760435 2016-10-18 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Support deprecating properties and their accessors Use G_PARAM_DEPRECATED for properties and in addition their accessor methods will be marked as deprecated. Guard internal accessors calls with G_GNUC_BEGIN/END_IGNORED_DEPRECATIONS to silence unavoidable warnings. Based on patch by Simon Werbeck <simon.werbeck@gmail.com> https://bugzilla.gnome.org/show_bug.cgi?id=732449 2016-10-17 Rico Tzschichholz <ricotz@ubuntu.com> valaparser: Allow casts of pointer expressions without enclosing parens Based on patch by Geert Jordaens <geert.jordaens@telenet.be> https://bugzilla.gnome.org/show_bug.cgi?id=590641 2016-10-15 Rico Tzschichholz <ricotz@ubuntu.com> Regenerate GIR-based bindings girparser: Use type_id information from gir if not already overridden Regenerate for GIR-based bindings including array-related metadata fixes https://bugzilla.gnome.org/show_bug.cgi?id=772902 2016-10-15 Rico Tzschichholz <ricotz@ubuntu.com> girparser: More complete parsing of field information Especially to retrieve available array-length information. https://bugzilla.gnome.org/show_bug.cgi?id=772902 2016-10-13 Sam Thursfield <ssssam@gmail.com> Warn about mismatched parameter direction before mismatched type https://bugzilla.gnome.org/show_bug.cgi?id=664049 2016-10-12 Simon Werbeck <simon.werbeck@gmail.com> Support [HasEmitter] for vala sources https://bugzilla.gnome.org/show_bug.cgi?id=681356 codegen: Use g_signal_emit where possible https://bugzilla.gnome.org/show_bug.cgi?id=641828 2016-10-12 Rico Tzschichholz <ricotz@ubuntu.com> vapi: Update GIR-based bindings 2016-10-12 Alistair Thomas <astavale@yahoo.co.uk> genie: Add empty file check to read_token () Vala.SourceFile uses GLib.MappedFile.get_contents () to read a source file. This can return null if the file is empty. Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=633083 2016-10-11 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Trigger deprecation warning for NoArrayLength from a better place Make use of Callable to replace some if-else-trees 2016-10-11 Luca Bruno <lucabru@src.gnome.org> vala: Add common Callable interface for Method, Delegate and Signal. https://bugzilla.gnome.org/show_bug.cgi?id=639124 2016-10-10 Rico Tzschichholz <ricotz@ubuntu.com> Ignore --thread commandline option and drop all gthread-2.0 references With vala 0.32 there was no further support for glib < 2.32. 2016-10-09 Rico Tzschichholz <ricotz@ubuntu.com> clutter-gst-3.0: Fix constructor which wasn't detected as such 2016-10-08 Ben Iofel <iofelben@gmail.com> Fix typo in Run.Style enum 2016-10-08 Rico Tzschichholz <ricotz@ubuntu.com> polkit-gobject-1: Fix constructors which weren't detected as such polkit-gobject-1: Fix constructors which weren't detected as such gio-2.0: Fix constructor which wasn't detected as such clutter-gst-3.0: Fix constructors which weren't detected as such clutter-1.0: Fix constructors which weren't detected as such 2016-10-08 Jordan Yelloz <jordan@yelloz.me> codegen: Include gio/gio.h for "use_string_marshalling" Using [DBus (use_string_marshalling = true)] requires G_DBUS_ERROR symbols and therefore needs gio/gio.h while e.g. defining enum in dedicated file. https://bugzilla.gnome.org/show_bug.cgi?id=768588 2016-10-08 Rico Tzschichholz <ricotz@ubuntu.com> Deny access to protected constructors Based on patch by Timm Bäder <mail@baedert.org> https://bugzilla.gnome.org/show_bug.cgi?id=760031 2016-10-08 Daniel Pfeifer <daniel@pfeifer-mail.de> libarchive: Add ReadDisk https://bugzilla.gnome.org/show_bug.cgi?id=668654 2016-10-08 Rico Tzschichholz <ricotz@ubuntu.com> gdk-3.0: Use only metadata for EventKey, Screen, Window, update Rectangle Add missing generic-type arguments of delegates https://bugzilla.gnome.org/show_bug.cgi?id=772204 tests: Don't rely on external delegate defintions 2016-10-06 Simon Werbeck <simon.werbeck@gmail.com> vala: Check accessibility of default arguments https://bugzilla.gnome.org/show_bug.cgi?id=648030 2016-10-06 Jürg Billeter <j@bitron.ch> Do not report internal error for invalid code with nested generics Reported-by: Matthias Berndt <matthias_berndt@gmx.de> 2016-10-06 Matthias Berndt <matthias_berndt@gmx.de> vala: Check type arguments in DataType.equals https://bugzilla.gnome.org/show_bug.cgi?id=641418 2016-10-05 Simon Werbeck <simon.werbeck@gmail.com> codegen: Fix array length of array returned by lambda This ensures that the right default values are used for missing ccode attributes. https://bugzilla.gnome.org/show_bug.cgi?id=761360 2016-10-05 Simon Werbeck <simon.werbeck@gmail.com> codegen: Fix emission of constant array length https://bugzilla.gnome.org/show_bug.cgi?id=756376 2016-10-05 Rico Tzschichholz <ricotz@ubuntu.com> gio-2.0 Update SettingsBackend related bindings gio-2.0: Use only metadata for IOStream, InputStream, OutputStream 2016-10-03 Rico Tzschichholz <ricotz@ubuntu.com> glib-2.0: Add UCS-4 and UTF-16 related bindings https://bugzilla.gnome.org/show_bug.cgi?id=740818 vapi: Update GIR-based bindings 2016-10-02 Rico Tzschichholz <ricotz@ubuntu.com> tests: Add async generator example to cover an edge case https://bugzilla.gnome.org/show_bug.cgi?id=763345 2016-10-01 Rico Tzschichholz <ricotz@ubuntu.com> clutter-gst-2.0: Skip VideoTexture.get_audio_streams/get_subtitle_tracks Upstream didn't implement the Player interface correctly, so the types are not matching up. clutter-gst-3.0: Fix Playback.audio_streams/subtitle_tracks property-type rest-0.7: Fix some ownership problems 2016-09-30 Rico Tzschichholz <ricotz@ubuntu.com> Fix non-matching generic types of inferface implementations Bump version to 0.35.0 Fix 'static const' warnings with vala 0.33.1 driver: Add support for vala-0.36 2016-09-29 Rico Tzschichholz <ricotz@ubuntu.com> Add CCode finish_vfunc_name to used attrs 2016-09-28 Matthias Berndt <matthias_berndt@gmx.de> Fix type checking when using generics in combination with subtyping https://bugzilla.gnome.org/show_bug.cgi?id=615830 2016-09-27 George Barrett <bob@bob131.so> gsl.vapi: Fix attribute typos At the moment, the are a few CCode attributes containing typos in the bindings for the GNU Scientific Library. This patch rectifies the ones that valac explicitly complains about. https://bugzilla.gnome.org/show_bug.cgi?id=772004 2016-09-26 Jürg Billeter <j@bitron.ch> Fix type parameter check for overriding generic methods https://bugzilla.gnome.org/show_bug.cgi?id=771964 Reported-by: Sebastian Reichel <sre@ring0.de> 2016-09-25 Rico Tzschichholz <ricotz@ubuntu.com> tests: Additional test-cases taken from transform-branch Bump version suffix 2016-09-24 Rico Tzschichholz <ricotz@ubuntu.com> gio-2.0: Use metadata instead of custom defintions for Initable gio-2.0: Use metadata instead of custom definitions for DBusMessage gio-2.0: Fix async constructors of DBusConnection, DBusObjectManagerClient and DBusProxy tests: Add async constructor test https://bugzilla.gnome.org/show_bug.cgi?id=659886 gio-2.0: Keep GLib.Socket API compatible with gio < 2.48 https://bugzilla.gnome.org/show_bug.cgi?id=769222 gio-2.0: Fix binding of Resolver.lookup_service*() 2016-09-22 Jens Georg <mail@jensge.org> glib-2.0: Fix binding of Markup.collect_attributes Array parameters don't have an associcated length parameter but are null-terminated. https://bugzilla.gnome.org/show_bug.cgi?id=771790 2016-09-21 Rico Tzschichholz <ricotz@ubuntu.com> glib-2.0: Update Unicode symbols 2016-09-20 Rico Tzschichholz <ricotz@ubuntu.com> webkit2gtk: URI*.get_http_headers returns unowned Soup.MessageHeaders Those are actually annotated "transfer none" in the webkit's source. https://bugzilla.gnome.org/show_bug.cgi?id=741175 2016-09-20 Rico Tzschichholz <ricotz@ubuntu.com> Add support for the \v escape charactor https://bugzilla.gnome.org/show_bug.cgi?id=664689 glib-2.0: Allow null as argmument for string.escape() 2016-09-19 Jürg Billeter <j@bitron.ch> Release 0.34.0 2016-09-19 Rico Tzschichholz <ricotz@ubuntu.com> vapi: Update GIR-based bindings vapi: Add PolicyKit bindings, polkit-agent-1 and polkit-gobject-1 https://bugzilla.gnome.org/show_bug.cgi?id=605465 2016-09-18 Simon Werbeck <simon.werbeck@gmail.com> Check for assignment to constant This simply checks if the left-hand side is a constant and if so raises an error. Fixes bug 771626 2016-09-18 Rico Tzschichholz <ricotz@ubuntu.com> gio-2.0: Force finish_vfunc_name of Volume.mount() to "mount_finish" https://bugzilla.gnome.org/show_bug.cgi?id=677769 codegen: Add support for finish_vfunc_name in CCode 2016-09-17 Rico Tzschichholz <ricotz@ubuntu.com> glib-2.0: Update Unicode symbols 2016-09-17 Rico Tzschichholz <ricotz@ubuntu.com> Revert "valainterface: Don't allow 'type' properties" Breaks build of udisks2.vapi This reverts commit 8e4cdfd6488c467a3028831e8d6183286c4f399d. 2016-09-17 Timm Bäder <mail@baedert.org> valainterface: Don't allow 'type' properties https://bugzilla.gnome.org/show_bug.cgi?id=723258 2016-09-17 Jürg Billeter <j@bitron.ch> tests: Add test for nested conditional expression 2016-09-17 Rico Tzschichholz <ricotz@ubuntu.com> vapi: Update gobject-introspection-1.0 and libsoup-2.4 https://bugzilla.gnome.org/show_bug.cgi?id=760491 https://bugzilla.gnome.org/show_bug.cgi?id=732070 2016-09-17 Michele Dionisio <michele.dionisio@gmail.com> D-Bus: Support DBus.timeout attribute for client methods https://bugzilla.gnome.org/show_bug.cgi?id=737913 2016-09-16 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Distinguish between Enum and Flags for their to_string() This fixes a GLib-critical while using g_enum_get_value() on a GFlagsClass. Therefore use g_flags_get_first_value() if needed. Patch by therebedragons111 https://bugzilla.gnome.org/show_bug.cgi?id=763831 2016-09-16 Rico Tzschichholz <ricotz@ubuntu.com> vala: Don't force array-elements to be owned, unowned ones are supported Passing an (unowned string) array literal to a function causes the array elements to be freed afterwards, even though they should not be. This causes the array elements to be double freed. While assigning the literal to an intermediate variable and passing that to the function masks this error of the ArrayCreationExpression. https://bugzilla.gnome.org/show_bug.cgi?id=761307 2016-09-15 Rico Tzschichholz <ricotz@ubuntu.com> build: Some minor modernizations 2016-09-15 Andreas Henriksson <andreas.henriksson@endian.se> vapigen: Install vapigen*.pc in multiarch compatible location This makes the pkgconfigdir path consistent to what is already used in (toplevel) Makefile.am. 2016-09-15 Steven Oliver <oliver.steven@gmail.com> codegen: Add C11 keywords https://bugzilla.gnome.org/show_bug.cgi?id=724967 2016-09-15 Rico Tzschichholz <ricotz@ubuntu.com> gobject-2.0: Make FlagsClass.values weak In addition to 950f081bae86a98a7918b5fc4a9c3acd15681c8e 2016-09-14 Rico Tzschichholz <ricotz@ubuntu.com> gtk+-2.0/3.0: Make event nullable for CellRenderer.start_editing() https://bugzilla.gnome.org/show_bug.cgi?id=764493 clutter-gst-2.0/3.0: Fix init_with_args() binding https://bugzilla.gnome.org/show_bug.cgi?id=764259 gstreamer-base-1.0: Fix PushSrc.create/alloc() binding https://bugzilla.gnome.org/show_bug.cgi?id=762499 gdk-3.0: Window.create_similar_image_surface() returns Cairo.ImageSurface https://bugzilla.gnome.org/show_bug.cgi?id=768759 gstreamer-player-1.0: Add metadata gstreamer-player-1.0: Some binding fixes https://bugzilla.gnome.org/show_bug.cgi?id=759865 2016-09-14 Ben <iofelben+github@gmail.com> glib-2.0: Fix SearchFunc argument order for {List,SList,Queue}.search() The function takes two gconstpointer arguments, the List element's data as the first argument and the given user data. https://bugzilla.gnome.org/show_bug.cgi?id=754137 2016-09-13 Rico Tzschichholz <ricotz@ubuntu.com> vapi: Update GIR-based bindings glib-2.0: Update to 2.49.7 2016-09-12 Jürg Billeter <j@bitron.ch> Release 0.33.1 2016-09-12 Ernestas Kulik <ernestas.kulik@gmail.com> sqlite3: Allow some values to be nullable This fixes Database.get_table() as it throws an error when compiling in strict non-null mode and also features tweaks in Database.{_,}exec and Statement.column_text signatures to accomodate potential null returns. https://bugzilla.gnome.org/show_bug.cgi?id=754238 2016-09-12 Jee-Yong Um <conr2d@gmail.com> glib-2.0: Fix wrong return type of OptionContext.get_description() OptionContext.get_description() should return 'unowned string', but it does not return any value currently. (void) https://bugzilla.gnome.org/show_bug.cgi?id=771123 2016-09-09 Rico Tzschichholz <ricotz@ubuntu.com> gtk+-3.0: Update to 3.21.5+4cd8e6c5 vapi: Update GIR-based bindings 2016-09-01 Evan Nemerson <evan@nemerson.com> gstreamer-0.10: mark as deprecated Apparently the GStreamer people consider 0.10 deprecated, not just in a lower-activity maintenance mode. Fixes bug 719597. 2016-09-01 Evan Nemerson <evan@nemerson.com> gstreamer-1.0: remove experimental tag 2016-09-01 Arnaud Bonatti <arnaud.bonatti@gmail.com> Mark the icon property of GtkModelButton as nullable. https://bugzilla.gnome.org/show_bug.cgi?id=770180 2016-08-30 Rico Tzschichholz <ricotz@ubuntu.com> gobject-2.0: Fix and make FlagsValue a struct Based on patch by therebedragons111 https://bugzilla.gnome.org/show_bug.cgi?id=769903 2016-08-30 Rico Tzschichholz <ricotz@ubuntu.com> gtk+-3.0: Update to 3.21.5 vapi: Update GIR-based bindings 2016-08-19 Rico Tzschichholz <ricotz@ubuntu.com> gtk+-3.0: Update to 3.21.4+edce8f4d vapi: Update GIR-based bindings 2016-08-11 Rico Tzschichholz <ricotz@ubuntu.com> gtk+-3.0: Update to 3.21.4+64c15545 vapi: Update GIR-based bindings 2016-08-01 Rico Tzschichholz <ricotz@ubuntu.com> gtk+-3.0: Update to 3.21.4+e4c072fc vapi: Update GIR-based bindings 2016-07-27 Rico Tzschichholz <ricotz@ubuntu.com> glib-2.0: Add new symbols for 2.50 gtk+-3.0: Update to 3.21.4+0f329195 gidlparser: Make sure to only handle the needed cairo symbols vapi: Update GIR-based bindings 2016-07-21 Guillaume Poirier-Morency <guillaumepoiriermorency@gmail.com> json-glib-1.0: Fix 'Json.Serializable' interface metadata - mark 'Serializable.find_property' nullable - mark 'Serializable.default_deserialize_property.value' as 'out' parameter These should be fixed upstream with specific GIR annotations, but in the meantime, it's important to have that interface usable. Fix metadata indentation for, it was mixed with space and tabs. https://bugzilla.gnome.org/show_bug.cgi?id=768380 2016-07-21 Guillaume Poirier-Morency <guillaumepoiriermorency@gmail.com> libxml-2.0: Fix 'htmlEncodeEntities' and 'UTF8ToHtml' using 'ref' instead of 'out' The passed buffer lengths are updated by these calls to indicate how much has been read and written. Using a 'out' parameter does not let one initialize them with the buffer lenghts. https://bugzilla.gnome.org/show_bug.cgi?id=768143 2016-07-21 Chris Daley <chebizarro@gmail.com> posix: Correct documentation comment for crypt() https://bugzilla.gnome.org/show_bug.cgi?id=767047 2016-07-21 Rico Tzschichholz <ricotz@ubuntu.com> gobject-2.0: Fix binding of ParamSpec.get_default_value() 2016-07-18 Rico Tzschichholz <ricotz@ubuntu.com> vapi: Update GIR-based bindings gidlparser: Special handling for some ambiguous cairo symbols 2016-07-15 Jürg Billeter <j@bitron.ch> Report internal error for invalid type parameter comparison 2016-07-15 Matthias Berndt <matthias_berndt@gmx.de> Check type parameters when comparing types Fix the broken implementation of TypeParameter.equals. Fixes bug 768823. 2016-07-12 Rico Tzschichholz <ricotz@ubuntu.com> cairo: Fix Context.show_text_glyphs() binding cairo: Add new symbols for 1.16 cairo: Pass through vapigen to sort and fully qualify symbols 2016-07-08 Rico Tzschichholz <ricotz@ubuntu.com> gtk+-3.0: Update to 3.21.3+25fed034 gidlparser: Support returns_floating_reference metadata gstreamer: Update to 1.9.1 glib-2.0: Add new symbols for 2.50 vapi: Update GIR-based bindings 2016-06-26 Rico Tzschichholz <ricotz@ubuntu.com> vapi: Update GIR-based bindings 2016-06-25 Matthias Berndt <matthias_berndt@gmx.de> Set parent_node for resolved base types 2016-06-25 Matthias Berndt <matthias_berndt@gmx.de> Check type arguments recursively This fixes error checking for code like this: class Foo<T> {} void main(string[] args) { Foo<Foo<string, string>> foo = null; } Fixes bug 767092. 2016-06-25 Jürg Billeter <j@bitron.ch> tests: Support tests with invalid code 2016-06-25 Matthias Berndt <matthias_berndt@gmx.de> Add missing tokens to TokenType.to_string() 2016-06-18 Ting-Wei Lan <lantw@src.gnome.org> vapigen: Call setlocale in main function It is required to correctly show translated messages on some locales. https://bugzilla.gnome.org/show_bug.cgi?id=760436 2016-06-15 Mario Daniel Ruiz Saavedra <desiderantes@rocketmail.com> glib-2.0: Fix wrong signature for GLib.Regex.check_replacement() The signature was missing the replacement parameter. https://bugzilla.gnome.org/show_bug.cgi?id=765013 2016-06-13 Rico Tzschichholz <ricotz@ubuntu.com> gtk+3.0: Fix Gtk.Range.get_range_border() gtk+-3.0: Update to 3.21.2+32a37351 genie: Warn about "const static" declarations where "static" is superfluous vapi: Fix "static consts" warnings tests: Fix "static const" warning valaparser: Warn about "static const" declarations where "static" is superfluous 2016-06-12 Rico Tzschichholz <ricotz@ubuntu.com> vapi: Update GIR-based bindings 2016-06-01 Rico Tzschichholz <ricotz@ubuntu.com> Regenerate GIR-based bindings girparser: Respect "fixed-size" of arrays girparser: Respect "zero-terminated" annotation for fields 2016-05-31 Rico Tzschichholz <ricotz@ubuntu.com> gstreamer: Skip private padding fields 2016-05-31 Aurélien Zanelli <aurelien.zanelli@darkosphere.fr> gstreamer-controller-1.0: Rename DirectControlBinding.new_absolue to 'with_absolute' ... and fix a fatal syntax error due '..' https://bugzilla.gnome.org/show_bug.cgi?id=765785 2016-05-28 Rico Tzschichholz <ricotz@ubuntu.com> gio-unix-2.0: Fix DesktopAppInfo.get_keywords() Fixes bug 766456 2016-05-25 Rico Tzschichholz <ricotz@ubuntu.com> vapi: Update GIR-based bindings 2016-05-18 Rico Tzschichholz <ricotz@ubuntu.com> vapi: Update GIR-based bindings driver: Add support for vala-0.34 2016-05-11 Rico Tzschichholz <ricotz@ubuntu.com> vapi: Update GIR-based bindings 2016-05-09 Jürg Billeter <j@bitron.ch> Bump version suffix 2016-04-28 Rico Tzschichholz <ricotz@ubuntu.com> gtk+-3.0: Update to 3.21.1+ vapi: Add graphene-1.0 vapi: Update GIR-based bindings Regenerate GIR-based bindings 2016-04-24 Rico Tzschichholz <ricotz@ubuntu.com> girparser: Respect "transfer container" and support (unowned type)[] arrays 2016-04-23 Rico Tzschichholz <ricotz@ubuntu.com> gstreamer: Update to 1.8.1 2016-04-14 Steven Oliver <oliver.steven@gmail.com> glib-2.0: Add abs() to float and double https://bugzilla.gnome.org/show_bug.cgi?id=764663 2016-04-11 Rico Tzschichholz <ricotz@ubuntu.com> atk: Update from gir gtk+-2.0: Mark arguments as 'out' for Entry.get_text_area_size() gtk+-3.0: Mark arguments as 'out' for Entry.get_frame_size() 2016-04-07 Maciej Borzecki <maciej.borzecki@open-rnd.pl> libnl-3.0.vapi: extend VAPI The patch extends VAPI of libnl-3.0 with cache manager (nl_cache_mngr_*), additional methods of LinkCache and a helper CachedLink type. The CachedLink type is a wrapper for the Link object, however since the object is obtained from cache, rtnl_link_put() must be used a free function. Fixes bug 763303 2016-04-07 Luca Bruno <lucabru@src.gnome.org> gtk+-2.0, gtk+-3.0: Make CellEditable.start_editing event parameter nullable Fixes bug 764489 2016-03-30 Ben Iofel <iofelben@gmail.com> File Helper: Copy directories recursively 2016-03-21 Rico Tzschichholz <ricotz@ubuntu.com> vapi: Update GIR-based bindings 2016-03-21 Jürg Billeter <j@bitron.ch> Release 0.32.0 2016-03-18 Rico Tzschichholz <ricotz@ubuntu.com> vapi: Update GIR-based bindings gtk+-3.0: Update to 3.19.12 2016-03-12 Rico Tzschichholz <ricotz@ubuntu.com> json-glib-1.0: Keep compatibility with 1.0.x and lower 2016-03-08 Alistair Thomas <astavale@yahoo.co.uk> linux: add dependency on <sys/socket.h> to <linux/if.h> in Linux.Network https://bugzilla.gnome.org/show_bug.cgi?id=763227 2016-03-08 Rico Tzschichholz <ricotz@ubuntu.com> gtk+-3.0: Update to 3.19.11+ json-glib-1.0: Update to 1.1.2 gstreamer: Update to 1.7.90 2016-03-01 Rico Tzschichholz <ricotz@ubuntu.com> vapi: Update GIR-based bindings 2016-02-25 Rico Tzschichholz <ricotz@ubuntu.com> gstreamer: Update to 1.7.2+ 2016-02-21 Rico Tzschichholz <ricotz@ubuntu.com> gstreamer: Update to 1.7.2 2016-02-20 Rico Tzschichholz <ricotz@ubuntu.com> vapi: Update GIR-based bindings 2016-02-19 Rico Tzschichholz <ricotz@ubuntu.com> gtk+-3.0: Further syncing from g-i-generated binding 2016-02-17 Rico Tzschichholz <ricotz@ubuntu.com> gdk-3.0, gtk+-3.0: Update to 3.19.9 2016-02-14 Rico Tzschichholz <ricotz@ubuntu.com> vapi: Update GIR-based bindings gtk+-3.0: Update to 3.19.8+3f4f914f 2016-02-09 Jürg Billeter <j@bitron.ch> Revert "codegen: Create only one vala-array helper function per array-type" This reverts commit fba08583d940af80a0d6b7045294de00c568d6a4. https://bugzilla.gnome.org/show_bug.cgi?id=761736 2016-02-09 Jürg Billeter <j@bitron.ch> vala: Fix critical warning with dynamic properties 2016-02-08 Rico Tzschichholz <ricotz@ubuntu.com> gio-2.0: "inbuf" argument of Converter.convert() is not nullable 2016-02-07 Rico Tzschichholz <ricotz@ubuntu.com> glib-2.0: Fix wrong Version annotation and really add binding for g_close 2016-02-07 Jürg Billeter <j@bitron.ch> Release 0.31.1 2016-02-07 Rico Tzschichholz <ricotz@ubuntu.com> vapi: Regenerate all bindings due Cond/Mutex changes glib-2.0: Add Version annotations and more new symbols Require and target GLib >= 2.32 The next stable release of vala will happen four years after the release of GLib 2.32.0. 2016-02-06 Rico Tzschichholz <ricotz@ubuntu.com> gtk+-3.0: Update and further syncing with introspection annotations glib-2.0: Fix DuplicateFunc 2016-02-05 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Properly handle PointerType/VoidType in get_ccode_lower_case_name() codegen: Properly handle GenericType in get_ccode_lower_case_name() codegen: Properly handle DelegateType in get_ccode_lower_case_name() 2016-02-04 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Create only one vala-array helper function per array-type gobject-2.0: Add some fixes and information from introspection data 2016-02-03 Rico Tzschichholz <ricotz@ubuntu.com> gobject-2.0: Pass through vapigen to sort and fully qualify symbols glib-2.0: StringBuilder.free_to_bytes() consumes the given instance gdk-3.0, gtk+-3.0: Update to 3.19.8+feabf353 2016-02-01 Rico Tzschichholz <ricotz@ubuntu.com> gtk+-3.0: Further syncing with introspection annotations 2016-01-31 Rico Tzschichholz <ricotz@ubuntu.com> vapi: Update GIR-based bindings girparser: Do not unconditionally make a delegate owned Actually check if there are closure and destroy arguments available. 2016-01-30 Rico Tzschichholz <ricotz@ubuntu.com> vapi: Update GIR-based bindings gdk-3.0, gtk+-3.0: Update to 3.19.8 2016-01-30 Luca Bruno <lucabru@src.gnome.org> glib-2.0: fix Version on some symbols glib-2.0: fix Version usage Merge branch 'wip/x-version' Regenerate all bindings with [Version] Always check unused attrs. Add [Version] to known attrs 2016-01-30 Florian Brosch <flo.brosch@gmail.com> gtk-3.0: Use [Version] instead of [Deprecated] and [Experimental] gtk+-2.0: Use [Version] instead of [Deprecated] and [Experimental] gdk-2.0: Use [Version] instead of [Deprecated] and [Experimental] Deprecate [Deprecated] and [Experimental] librsvg-2.0: Use [Version] instead of [Deprecated] and [Experimental] gdk-x11-3.0: Use [Version] instead of [Deprecated] and [Experimental] gdk-pixbuf-2.0: Use [Version] instead of [Deprecated] and [Experimental] gio-2.0: Use [Version] instead of [Deprecated] and [Experimental] clutter-gtk-1.0: Use [Version] instead of [Deprecated] and [Experimental] mx-1.0: Use [Version] instead of [Deprecated] and [Experimental] gdk-3.0: Use [Version] instead of [Deprecated] and [Experimental] pango: Use [Version] instead of [Deprecated] and [Experimental] libsoup-2.4: Use [Version] instead of [Deprecated] and [Experimental] clutter: Use [Version] instead of [Deprecated] and [Experimental] atk-1.0: Use [Version] instead of [Deprecated] and [Experimental] glib-2.0: Use [Version] instead of [Deprecated] and [Experimental] xcb: Use [Version] instead of [Deprecated] and [Experimental] sqlite3: Use [Version] instead of [Deprecated] and [Experimental] libpanelapplet-2.0: Use [Version] instead of [Deprecated] and [Experimental] libbonoboui-2.0: Use [Version] instead of [Deprecated] gobject-2.0: Add [Version] attributes 2016-01-30 Florian Brosch <flo.brosch@gmail.com> Introduce [Version (...)] Parameters: since: string, version number experimental: bool (was: [Experimental]) experimental_until: string, version number deprecated_since: string, version number (was: [Deprecated (since="")]) replacement: string, symbol name (was: [Deprecated (replacement="")]) deprecated: bool (was: [Deprecated]) Used symbols labeled with [Version (since = "")] are checked against the locally installed package version. Use --disable-since-check to avoid this behaviour. Fixes bug 678912. 2016-01-30 Luca Bruno <lucabru@src.gnome.org> codegen: fix criticals when duplicating unowned instnaces Fixes bug 632174 2016-01-28 Corentin Noël <corentin@elementary.io> vala: check for null parent symbol 2016-01-28 Peter Lamby <peterlamby@web.de> Add missing cheader attribute for luaL_loadfile 2016-01-28 Ben Iofel <iofelben@gmail.com> codegen: add code for [Profile] missed in cf193ab75 Symbol: fix docs for owner and scope 2016-01-20 Rico Tzschichholz <ricotz@ubuntu.com> gdk-3.0, gtk+-3.0: Update to 3.19.7 2016-01-18 Rico Tzschichholz <ricotz@ubuntu.com> vapi: Update GIR-based bindings 2016-01-17 Rico Tzschichholz <ricotz@ubuntu.com> gdk-3.0, gtk+-3.0: Update to 3.19.6+44d94a4a 2016-01-17 Florian Brosch <flo.brosch@gmail.com> html: Allow to change +/- icons in CSS 2016-01-16 Florian Brosch <flo.brosch@gmail.com> html: Open external links in a new tab/window 2016-01-14 Florian Brosch <flo.brosch@gmail.com> Fix typo 2016-01-10 Florian Brosch <flo.brosch@gmail.com> libvaladoc: Add highlighter for C, XML, Vala 2016-01-10 Philip Withnall <philip.withnall@collabora.co.uk> gtkdoc: Fix generated markup for source code blocks Just emitting <programlisting> doesn’t work, as gtk-doc will insert <para> tags in the middle of the code block, generating invalid markup. Instead of trying to reinvent how gtk-doc does things, just emit the gtk-doc shorthand markup for a code block and let gtk-doc generate the markup. https://bugzilla.gnome.org/show_bug.cgi?id=725194 2016-01-10 Philip Withnall <philip.withnall@collabora.co.uk> charts: Fix error handling if gvRenderData() returns an error If libgvc was not built properly or is running against incorrectly versioned plugins, gvRenderData() can fail and return a null string. Ensure libvaladoc handles this correctly. https://bugzilla.gnome.org/show_bug.cgi?id=711590 2016-01-10 Philip Withnall <philip.withnall@collabora.co.uk> libvaladoc: Improve error message on failing to load a driver https://bugzilla.gnome.org/show_bug.cgi?id=711559 2016-01-10 Florian Brosch <flo.brosch@gmail.com> Add colored output Use --no-color to disable colors Use VALA_COLORS to change colors E.g. VALA_COLORS = "error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01:quote=01" 2016-01-10 Florian Brosch <flo.brosch@gmail.com> Allow to link to named constructors directly Fixes bug #746062 Hide namespaces without visible members Fixes bug #744950 2016-01-10 Ben Iofel <iofelben+github@gmail.com> HTML doclet: don't write '-' with no description 2016-01-08 Rico Tzschichholz <ricotz@ubuntu.com> vapi: Update GIR-based bindings 2016-01-05 Ben Iofel <iofelben+github@gmail.com> Markdown parser: fix method call on null 2016-01-04 Ben Iofel <iofelben+github@gmail.com> README: update link to wiki 2015-12-30 Thomas Martitz <kugel@rockbox.org> girparser: add support for gintptr and guintptr types. Modelled after existing size_t/ssize_t support, i.e. map to corresponding types from glib-2.0.vapi. 2015-12-28 Rico Tzschichholz <ricotz@ubuntu.com> vapi: Update GIR-based bindings gdk-3.0, gtk+-3.0: Update to 3.19.5+8bfbb2c1 2015-12-26 Thomas Martitz <kugel@rockbox.org> glib-2.0: add support for gintptr and guintptr types Modelled after existing size_t/ssize_t support, i.e. aliased to long/ulong. Must be fixed for proper win32 support. Fixes bug 759437 2015-12-24 Luca Bruno <lucabru@src.gnome.org> manpage: add --no-color 2015-12-21 Rico Tzschichholz <ricotz@ubuntu.com> vapi: Add gio-windows-2.0 Includes some more g_win32 bindings and fixes. Fixes bug 650052 2015-12-16 Peter Lamby <peterlamby@web.de> Fix typo in valadoc 2015-12-16 Rico Tzschichholz <ricotz@ubuntu.com> vapi: Update GIR-based bindings gdk-3.0, gtk+-3.0: Update to 3.19.5 2015-12-05 Rico Tzschichholz <ricotz@ubuntu.com> vapi: Update GIR-based bindings gtk+-3.0: Update to 3.19.4 2015-11-27 Rico Tzschichholz <ricotz@ubuntu.com> driver: Add support for vala-0.32 Bump version suffix 2015-11-25 nieka@dsv.nl <nieka@dsv.nl> genie: anonymous functions as function return values and assignment to variables Fixes bug 746704 2015-11-24 Rico Tzschichholz <ricotz@ubuntu.com> vapi: Update GIR-based bindings gdk-x11-3.0: Add to GIR_BINDINGS gtk+-3.0: Update to 3.19.3 gstreamer-1.0: Fix bindings of Buffer.new_wrapped_full / Memory.new_wrapped 2015-11-23 Rico Tzschichholz <ricotz@ubuntu.com> clutter-gst-1.0: remove from GIR_BINDINGS It is outdated and won't receive updates anyway. gtk+-2.0,gtk+-3.0: make list_action_prefixes/list_style_properties transfer container Fixes bug 671748. gidlparser: Support transfer_container metadata for arrays gio-2.0: Fix Socket.receive_message Fixes bug 749980. glib-2.0: Fix g_unix_open_pipes binding Fixes bug 751291. 2015-11-23 Rico Tzschichholz <ricotz@ubuntu.com> gstreamer-1.0: Add Caps.simple, Fix URIHandler interface, Buffer.copy_into Thanks to Pierre Lamot! Fixes bug 750836, bug 750837, bug 750839. 2015-11-22 Rico Tzschichholz <ricotz@ubuntu.com> clutter-1.0: Fix Clutter*Event bindings ClutterEvent structs have hidden fields and must be exposed as compact classes. Fixes bug 618536. 2015-11-22 Florian Brosch <flo.brosch@gmail.com> avahi-clent: Fix a typo 2015-11-22 Rico Tzschichholz <ricotz@ubuntu.com> gtk+-3.0: Update to 3.19.2 gobject-2.0: ObjectClass.list_properties returns unowned elements vapi: Update GIR-based bindings 2015-11-11 Ben Iofel <iofelben@gmail.com> Fix parameter names in the documentation for libvala Fixes bug 755917 2015-10-31 Rico Tzschichholz <ricotz@ubuntu.com> gtk+-3.0: Fix ListBoxUpdateHeaderFunc while making "before" nullable 2015-10-28 Rico Tzschichholz <ricotz@ubuntu.com> gio-2.0: MemoryIn/OutputStream, use a default destroy-function for uint8[] data gtk+-3.0: Update to 3.19.1 2015-10-27 Al Thomas <astavale@yahoo.co.uk> posix: add crypt(), deprecate getpass() Fixes bug 756315 2015-10-27 Rico Tzschichholz <ricotz@ubuntu.com> gio-2.0: Fix type of ActionEntry.change_state_callback glib-2.0: Add bindings for g_hostname_* glib-2.0: Add binding for AsyncQueue.timeout_pop/timeout_pop_unlocked gtk+-2.0, gtk+-3.0: Make Image.get_gicon.size out 2015-10-26 Rico Tzschichholz <ricotz@ubuntu.com> vapi: Update GIR-based bindings 2015-10-22 Rico Tzschichholz <ricotz@ubuntu.com> gtk+-3.0: Update to 3.19.0~92a136ff gobject-2.0: Bind BoxedCopyFunc/BoxedFreeFunc 2015-10-18 Luca Bruno <lucabru@src.gnome.org> gtkmodule: clear out [GtkChild] on properties it not supported Fixes bug 731622 2015-10-13 Rico Tzschichholz <ricotz@ubuntu.com> driver: Drop support for vala-0.16/18 2015-09-30 Ben Iofel <iofelben@gmail.com> girparser: remove dead code Fixes bug 755826 2015-09-28 Rico Tzschichholz <ricotz@ubuntu.com> Bump version to 0.30.0 2015-09-23 Rico Tzschichholz <ricotz@ubuntu.com> gtk+-2.0: Update to 2.24.28 Drop Ubuntu specific changes which sneaked in here some time ago. gtk+-3.0: Update to 3.18.0 2015-09-18 Jürg Billeter <j@bitron.ch> Release 0.30.0 2015-09-14 Rico Tzschichholz <ricotz@ubuntu.com> gtk+-3.0: Update to 3.17.8+d5f17549 vapi: Update GIR-based bindings gtk+-3.0: Make callback-scope async according to introspection annoations 2015-09-08 Rico Tzschichholz <ricotz@ubuntu.com> glib-2.0: add new symbols for 2.46 vapi: Update GIR-based bindings 2015-09-07 Rico Tzschichholz <ricotz@ubuntu.com> gtk+-2.0: add scope async to Gtk.Clipboard request/set_with methods gtk+-3.0: add scope async to Gtk.Clipboard request/set_with methods 2015-09-07 Luca Bruno <lucabru@src.gnome.org> gtk+-3.0: use wildcard for Gtk.Clipboard request methods gtk+-3.0: lt-vapigen -> vapigen gtk+-3.0: add scope async to Gtk.Clipboard request methods 2015-08-18 Rico Tzschichholz <ricotz@ubuntu.com> vapi: Update GIR-based bindings webkit2gtk-4.0: Update to 2.9.90 gtk+-3.0: Update to 3.17.7 2015-08-12 Luca Bruno <lucabru@src.gnome.org> posix: add PrintfFormat to syslog() Fixes bug 752031 2015-08-11 Jürg Billeter <j@bitron.ch> Release 0.29.3 2015-08-11 Luca Bruno <lucabru@src.gnome.org> Set gir_shared_library argument to be null by default, avoid breaking API 2015-08-11 David Lechner <david@lechnology.com> Add --shared-library option for GIR files Fixes bug 585116 2015-08-10 Rico Tzschichholz <ricotz@ubuntu.com> vapi: Update GIR-based bindings webkit2gtk-4.0: Update to 2.9.5 2015-08-05 Rico Tzschichholz <ricotz@ubuntu.com> gtk+-3.0: Update to 3.17.5+e34ab356 2015-07-30 Evan Nemerson <evan@nemerson.com> glib-2.0: make DirUtils.mkdtemp transfer ownership 2015-07-23 Rico Tzschichholz <ricotz@ubuntu.com> webkit2gtk-4.0: Update to 2.9.4 2015-07-22 Jordan Yelloz <jordan@yelloz.me> glib-2.0: added g_get_user_runtime_dir () This has been in GLib since 2.28 2015-07-21 Rico Tzschichholz <ricotz@ubuntu.com> vapi: Update GIR-based bindings gtk+-3.0: Update to 3.17.5 2015-07-06 Rico Tzschichholz <ricotz@ubuntu.com> gtk+-3.0: Update to 3.17.4+abc47d7f gtk+-3.0: Further syncing with introspection annotations 2015-07-03 Rico Tzschichholz <ricotz@ubuntu.com> gio-unix-2.0: Fix binding of g_desktop_app_info_launch_uris_as_manager https://bugzilla.gnome.org/show_bug.cgi?id=748828 2015-07-01 Rico Tzschichholz <ricotz@ubuntu.com> gtk+3.0: Properly specify argument of Widget.touch_event as Gdk.EventTouch 2015-06-23 Luca Bruno <lucabru@src.gnome.org> codegen: check for null value before calling g_strv_length Fixes bug 751338 2015-06-22 Jürg Billeter <j@bitron.ch> Release 0.29.2 Fix 64-bit negative integer literals 2015-06-21 Rico Tzschichholz <ricotz@ubuntu.com> gtk+-3.0: Update to 3.17.3+3b43951b vapi: Update GIR-based bindings 2015-06-21 Luca Bruno <lucabru@src.gnome.org> gstreamer-1.0: use boxed GValue functions for MiniObject Fixes bug 742734 add missing test from previous commit parser: -val is now parsed as a literal instead of unary expression Fixes bug 643612 gio-2.0: cleanup, unhide Subprocess.new 2015-06-21 Rico Tzschichholz <ricotz@ubuntu.com> codegen: fix generating struct equal function Fixes bug 749952 2015-06-16 Rico Tzschichholz <ricotz@ubuntu.com> glib-2.0: Conditionally use boxed OptionGroup since 2.44 Revert "glib-2.0: Conditionally use boxed OptionContext since 2.44" This reverts commit 559a92b2256835dc6f933733a30cd98d462b33b0. 2015-05-27 Jürg Billeter <j@bitron.ch> Release 0.29.1 2015-05-26 Rico Tzschichholz <ricotz@ubuntu.com> gio-2.0: Update to 2.45.2 2015-05-22 Rico Tzschichholz <ricotz@ubuntu.com> gtk+-3.0: Update to 3.17.1+39f91d7c vapi: Update GIR-based bindings 2015-05-09 Rico Tzschichholz <ricotz@ubuntu.com> vapi: Update GIR-based bindings 2015-04-30 Rico Tzschichholz <ricotz@ubuntu.com> vapi: Update GIR-based bindings gtk+-3.0: Update to 3.17.1 2015-04-23 Rico Tzschichholz <ricotz@ubuntu.com> vapi: Update GIR-based bindings 2015-04-22 Rico Tzschichholz <ricotz@ubuntu.com> driver: Add support for vala-0.30 2015-04-10 Maciek Borzecki <maciek.borzecki@gmail.com> posix: add tcp constants Fixes bug 747586 2015-04-08 Luca Bruno <lucabru@src.gnome.org> gtk+-3.0: Remove TargetEntry constructor Fixes bug 743271 2015-04-08 Dr. Michael Lauer <mickey@vanille-media.de> posix: add gethostbyname(3) and assorted struct 2015-04-08 Dr. Michael Lauer <mickey@vanille-media.de> Revert "posix: add gethostbyname(3) and assorted struct" This reverts commit 0d8aea145d90ab04a57e2868b0cc56693ddd7e8d. (Due to mixed whitespace, nothing functional wrong with the commit) 2015-04-08 Rico Tzschichholz <ricotz@ubuntu.com> gtk+-3.0: Update to 3.16.1 2015-04-07 Dr. Michael Lauer <mickey@vanille-media.de> posix: add gethostbyname(3) and assorted struct linux.vapi: add missing structs for wireless extension API libnl-1.vapi libnl-2.0.vapi libnl-3.0.vapi: fix Netlink.Address.get_label binding 2015-03-25 Rico Tzschichholz <ricotz@ubuntu.com> vapi: Update GIR-based bindings 2015-03-22 Jürg Billeter <j@bitron.ch> Bump version suffix Release 0.28.0 2015-03-20 Rico Tzschichholz <ricotz@ubuntu.com> webkit2gtk-4.0: Update to 2.7.92 gstreamer-1.0: Backport some fixes from gstreamer 1.5/1.6 git 2015-03-18 Jürg Billeter <j@bitron.ch> Release 0.27.2 2015-03-18 Rico Tzschichholz <ricotz@ubuntu.com> glib: get_filename_charsets "returns" unowned string[] tests: Replace test for bug 743877 using g_get_filename_charsets() Preserve compatibility with glib >= 2.24 2015-03-18 Luca Bruno <lucabru@src.gnome.org> glib-2.0: provide access to original ThreadPool.free() Fixes bug 746262 2015-03-17 Rico Tzschichholz <ricotz@ubuntu.com> vapi: Update GIR-based bindings gio-unix-2.0: Update to 2.43.92 gtk+-3.0: Update to 3.15.12 2015-03-13 Luca Bruno <lucabru@src.gnome.org> codegen: use real function in set/get property also for ConcreteAccessor Fixes bug 743049 2015-03-04 Rico Tzschichholz <ricotz@ubuntu.com> gen-introspect: Support the C99 'bool' type 2015-03-04 Luca Bruno <lucabru@src.gnome.org> Fix source filenames having non-utf8 path components Fixes bug 742071 codegen: handle out param of null-terminated array Fixes bug 743877 2015-02-28 Rico Tzschichholz <ricotz@ubuntu.com> gio-2.0: Fix one more appearances of void* to GLib.Object gio-2.0: Fix some appearances of void* to GLib.Object gtksourceview-3.0: Update to 3.15.90 2015-02-27 Luca Bruno <lucabru@src.gnome.org> x11: make WindowAttributes.screen unowned Fixes bug 745133 2015-02-26 Rico Tzschichholz <ricotz@ubuntu.com> vapi: Update GIR-based bindings gtk+-3.0: Update to 3.15.9 2015-02-24 Luca Bruno <lucabru@src.gnome.org> codegen: Return a default value in delegate wrappers Fixes bug 744639 2015-02-17 Evan Nemerson <evan@nemerson.com> gio-2.0: fix ListModel.get_item binding 2015-02-16 Rico Tzschichholz <ricotz@ubuntu.com> glib-2.0: Conditionally use boxed OptionContext since 2.44 vapi: Update GIR-based bindings gtk+-3.0: Fix model argument type for ListBox.bind_model() gtk+-3.0: Update to 3.15.7 2015-02-15 Luca Bruno <lucabru@src.gnome.org> glib-2.0: Fix VariantDict.insert Fixes bug 744542 2015-02-10 Rico Tzschichholz <ricotz@ubuntu.com> gtk+-3.0: Update to 3.15.5~4dee1646 vapi: Update GIR-based bindings 2015-01-29 Rico Tzschichholz <ricotz@ubuntu.com> gtk+-2.0,gtk+-3.0: Gtk.tree_get_row_drag_data does not pass ownership of tree_model 2015-01-28 Rico Tzschichholz <ricotz@ubuntu.com> gtk+-3.0: Update to 3.15.4+f3d95d05 gtk+-2.0,gtk+-3.0: Gtk.MenuPositionFunc, x and y are inout, not just out. https://bugzilla.gnome.org/show_bug.cgi?id=674537 2015-01-20 Rico Tzschichholz <ricotz@ubuntu.com> vapi: Update GIR-based bindings 2015-01-13 Rico Tzschichholz <ricotz@ubuntu.com> clutter-1.0: Update to 1.21.3+7eb1a3d3 gtk+-3.0: Update to 3.15.3+0d85e265 2015-01-13 Jürg Billeter <j@bitron.ch> Use GLib.Environment instead of GLib.Environ GLib.Environ is not available in GLib < 2.32. 2015-01-12 Jürg Billeter <j@bitron.ch> Release 0.27.1 2015-01-12 Luca Bruno <lucabru@src.gnome.org> codegen: Fix detailed signal disconnect in async methods Fixes bug 742621 2015-01-03 Rico Tzschichholz <ricotz@ubuntu.com> vapi: Update GIR-based bindings 2014-12-28 Luca Bruno <lucabru@src.gnome.org> girparser: Take in account base property for ConcreteAccessor Property had NoAccessorMethod when the overridden interface property had ConcreteAccessor. Now we lookup the base interface property to fix ownership according to the base accessors and remove NoAccessorMethod. Fixes bug 742012 2014-12-25 Daiki Ueno <dueno@src.gnome.org> gtkmodule: Respect "alias" attribute in gresource Though undocumented, glib-compile-resources looks at "alias" attribute of "file" element and maps the physical file name to a logical path name. https://bugzilla.gnome.org/show_bug.cgi?id=741743 2014-12-24 Luca Bruno <lucabru@src.gnome.org> codegen: allow "type" property if it's NoAccessorMethod Fixes bug 741862 2014-12-22 Luca Bruno <lucabru@src.gnome.org> Add DBus visible to used attrs Regenerate all the bindings with ConcreteAccessor Support concrete accessors for abstract properties in bindings Fixes bug 730744 Fix test of previous commit a6df1b9 2014-12-21 Luca Bruno <lucabru@src.gnome.org> codegen: Fix (unowned foo)[] to foo[] array copy Fixes bug 731017 Allow SimpleType object initializer without a default constructor Fixes bug 740600 2014-12-17 Rico Tzschichholz <ricotz@ubuntu.com> Add clutter-gst-3.0 bindings gtk+-3.0: Mark gtk_scrollable_get_border as virtual vapi: Update GIR-based bindings gtk+-3.0: Update to 3.15.3 2014-12-16 Garrett Regier <garrett.regier@riftio.com> girwriter: Fix writing type for out params The extra '*' is required for g_type_info_is_pointer() to return TRUE. This fixes PyGObject marshaling for an interface vfunc with a Boxed out param. https://bugzilla.gnome.org/show_bug.cgi?id=741604 2014-12-13 Luca Bruno <lucabru@src.gnome.org> Add CCode notify to known attrs 2014-12-12 Luca Bruno <lucabru@src.gnome.org> Add trivial test for the previous commit codegen: Support constant unary expressions in field initializers 2014-12-09 Luca Bruno <lucabru@src.gnome.org> Add Description to known attrs Add Signal to known attrs 2014-12-08 Rico Tzschichholz <ricotz@ubuntu.com> bindings: Update GIR-based bindings gtk+-3.0: Update to 3.15.2+8c3f04e7 2014-12-06 Luca Bruno <lucabru@src.gnome.org> Add used DBus attribute and fix UnixMountEntry lower_case_cprefix Fixes bug 741089 2014-12-05 Evan Nemerson <evan@nemerson.com> glib-2.0: add default values for setlocale arguments 2014-12-05 Luca Bruno <lucabru@src.gnome.org> Support XOR operation for booleans Fixes bug 729907 2014-12-05 Simon Werbeck <simon.werbeck@gmail.com> Set array lengths for result variable These where missing when generating postconditions Fixes bug 737222 2014-12-05 Simon Werbeck <simon.werbeck@gmail.com> Improve pre/postcondition messages 2014-12-04 Luca Bruno <lucabru@src.gnome.org> Error when lambda parameter has incompatible direction with the delegate Fixes bug 740894 Add other missing CCode arguments, NoWrapper and DestroysInstance Add more used attributes Fixes bug 741089 2014-12-03 Luca Bruno <lucabru@src.gnome.org> Add ScanfFormat to used attributes Add more default attributes Fix recent syntax errors with older valac Warn about unused attributes This may not be the best approach, but it's a start 2014-12-02 Rico Tzschichholz <ricotz@ubuntu.com> gen-introspect: Merge some lexer changes taken from g-i gio-unix-2.0: Fix g_desktop_app_info_search binding Add binding for g_strfreev in addition for conveniently free'ing the returned array elements. 2014-12-01 Rico Tzschichholz <ricotz@ubuntu.com> gen-introspect: Increase lexer buffer size to 1048576, taken from g-i glib-2.0: unowned array-elements are supported since 0.26, so use it glib-2.0: Add binding for g_strv_contains, g_option_context_?et_strict_posix gobject-2.0: Add binding for g_type_get_instance_count 2014-11-30 Rico Tzschichholz <ricotz@ubuntu.com> gtk+-3.0: Update to 3.15.2 bindings: Update GIR-based bindings bindings: Update GIR-based bindings 2014-11-24 Rico Tzschichholz <ricotz@ubuntu.com> bindings: Update GIR-based bindings 2014-11-17 Rico Tzschichholz <ricotz@ubuntu.com> glib2.0: Fix string.tokenize_and_fold binding 2014-11-17 Simon Werbeck <simon.werbeck@gmail.com> Recursively infer generic type arguments Slightly changed by Luca Bruno. Fixes bug 626783 2014-11-16 Rico Tzschichholz <ricotz@ubuntu.com> bindings: Update GIR-based bindings gtk+-3.0: Update to 3.15.1+ecfcb3e2 2014-11-15 Marc-André Lureau <marcandre.lureau@gmail.com> vapigen: add delegate_target_cname Fixes bug 740154 2014-11-15 Luca Bruno <lucabru@src.gnome.org> Update gio vapi after vala-girs update 2014-11-14 Luca Bruno <luca.bruno@immobiliare.it> gobject-2.0: Add DestroysInstance to Binding.unbind() Fixes bug 740117 2014-11-14 Zeeshan Ali (Khattak) <zeeshanak@gnome.org> gtk+-3.0: Mark gtk_popover_bind_model args as nullable Fixes bug 740116 2014-11-10 Evan Nemerson <evan@nemerson.com> gstreamer-1.0: fix MapInfo.data array length 2014-11-08 Luca Bruno <lucabru@src.gnome.org> gtk+-2.0, gtk+-3.0: make TextBuffer insert methods ref the iter Yes, this breaks users of this api. Can't do better, sorry. Fixes bug 736198 2014-11-03 Evan Nemerson <evan@nemerson.com> gio-2.0: mark many methods in GFile as virtual posix: add IPPROTO_* bindings 2014-10-31 Luca Bruno <lucabru@src.gnome.org> Use .ascii_up() instead of .up() Fixes bug 739393 2014-10-31 Rico Tzschichholz <ricotz@ubuntu.com> gtk+-3.0: Update to 3.15.1+89e12495 bindings: Update GIR-based bindings webkit2gtk-4.0: Update to 2.7.1 2014-10-25 Luca Bruno <lucabru@src.gnome.org> Add test for commit 0f0bca7e0519 2014-10-25 Florian Brosch <flo.brosch@gmail.com> Infer array length of inline allocated arrays Fixes bug 644046. 2014-10-25 Luca Bruno <lucabru@src.gnome.org> fix typo for non-constant field initializers 2014-10-22 Rico Tzschichholz <ricotz@ubuntu.com> bindings: Update GIR-based bindings gtk+-3.0: Update to 3.15.0 2014-10-21 Evan Nemerson <evan@nemerson.com> gtksourceview-3.0: remove from GIR_BINDINGS gtksourceview distributes bindings upstream these days, no need to keep the deprecated copy in the Vala repository updated. 2014-10-16 Evan Nemerson <evan@nemerson.com> pango, pangocairo: update to git master This adds a lot of nullability fixes from bug #731022 glib-2.0: set cname for SearchFunc gtk+-3.0: add some default values webkit2gtk-web-extension-4.0: add missing *-custom.vala webkit2gtk-web-extension-4.0: add delegate for EventTarget listener 2014-10-16 Rico Tzschichholz <ricotz@ubuntu.com> gio-2.0: Update from 2.42 branch 2014-10-13 Luca Bruno <luca.bruno@immobiliare.it> gstreamer-1.0: remove owned to floating reference parameters Commit 6296d34707 (bug 730983) added the owned keyword back without any reason. Fixes bug 738012 2014-10-13 Luca Bruno <luca.bruno@immobiliare.it> gtk+-3.0: Add a11y.h header to accessible objects Based on patch by Peter Vagner Fixes bug 735265 2014-10-06 Rico Tzschichholz <ricotz@ubuntu.com> cairo: Add some missing 1.12.x and pre 1.13.x bindings 2014-10-03 Rico Tzschichholz <ricotz@ubuntu.com> gtk+-3.0: Fix lost special includes for GtkIMContext/GtkPlug/GtkSocket 2014-10-02 Rico Tzschichholz <ricotz@ubuntu.com> Add clutter-gdk-1.0, clutter-x11-1.0 bindings 2014-10-01 Florian Brosch <flo.brosch@gmail.com> Add ownership-checks for field initializers Do not report errors for automatic interface properties twice 2014-09-30 Rico Tzschichholz <ricotz@ubuntu.com> gtk+-3.0: Update to 3.14.1 2014-09-26 Rico Tzschichholz <ricotz@ubuntu.com> gtk+-2.0, gtk+-3.0: Further syncing with introspection annotations 2014-09-25 Rico Tzschichholz <ricotz@ubuntu.com> webkit2gtk-web-extension-4.0: Add libsoup-2.4 dependency 2014-09-23 Rico Tzschichholz <ricotz@ubuntu.com> rest-0.7: Add libsoup-2.4 dependency driver: Add support for vala-0.28 vapi: Actually build and install rest-extras-0.7 bindings Add rest-extras-0.7 bindings gee: Fix HashMap destructor name 2014-09-23 Florian Brosch <flo.brosch@gmail.com> Improve error message for virtual/override/abstract class methods Add additional checks for main methods Fixes bug 708391. parser: Do not accept "static class"-members instead of ignoring "class" parser: Warn on if/else/lock without body Fixes bug 682906. 2014-09-23 Florian Brosch <flo.brosch@gmail.com> Check destructor names Edit: make it an error instead of warning Fixes bug 655343. 2014-09-23 Florian Brosch <flo.brosch@gmail.com> Add colored output Use --no-color to disable colors Use VALA_COLORS to change colors E.g. VALA_COLORS = "error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01:quote=01" Fixes bug 734627. 2014-09-23 Jürg Billeter <j@bitron.ch> Bump version suffix 2014-09-22 Jürg Billeter <j@bitron.ch> Release 0.26.0 2014-09-22 Rico Tzschichholz <ricotz@ubuntu.com> webkit2gtk-4.0: Update to 2.5.90 2014-09-20 Rico Tzschichholz <ricotz@ubuntu.com> vapigen: Don't override VALAC and use the available one like the rest There is no reason to special case vapigen while the rest of the source is built with the available valac version. For a proper build bootstrapping is required anyway. For internal testing of the just-built valac the testsuite should suffice. 2014-09-19 Rico Tzschichholz <ricotz@ubuntu.com> bindings: Update GIR-based bindings 2014-09-19 Luca Bruno <luca.bruno@immobiliare.it> Revert "Fix regression when assigning owned expressions to unowned variables." This reverts commit ba1fa0759989dcbb9046c7dfc06cce6c4aa23411. Due to bug #736774 2014-09-15 Jürg Billeter <j@bitron.ch> Release 0.25.4 2014-09-14 Luca Bruno <lucabru@src.gnome.org> girwriter: Write accessor methods for interface properties Fixes bug 733115 2014-09-11 Rico Tzschichholz <ricotz@ubuntu.com> gtk+-3.0: Update to 3.13.9~ bindings: Update GIR-based bindings 2014-09-09 Luca Bruno <lucabru@src.gnome.org> Resolve symbols in named arguments Fixes bug 736235 2014-09-07 Evan Nemerson <evan@nemerson.com> gtk+-2.0, gtk+-3.0: add missing GObject interface prerequisite 2014-09-06 Luca Bruno <lucabru@src.gnome.org> Fix critical on method varargs introduced by 7b6ee1be Fixes bug 736168 2014-09-05 Luca Bruno <luca.bruno@immobiliare.it> Fix regression when assigning owned expressions to unowned variables. The regression was introduced by db462e6f919da758fb. Fixes bug 736016 2014-09-03 Richard Wiedenhöft <richard@wiedenhoeft.xyz> Added option --vapi-comments to include comments in vapi-files 2014-09-03 Rico Tzschichholz <ricotz@ubuntu.com> bindings: Update GIR-based bindings 2014-09-02 Florian Brosch <flo.brosch@gmail.com> Add support for unowned/weak array elements drivers: Mark arrays as unowned instead of weak ctypresolver: signals: register default implementations signals: collect default implementations embedded: Fix check() for relative paths doap++ xcb: re-add GetPropertyReply.format 2014-09-02 Florian Brosch <flo.brosch@gmail.com> GirWriter: do not generate <errordomain> elements Invalid: <errordomain name="..." get-quark="..." codes="..."> <enumeration ...> Valid: <enumeration name="..." c:type=".." glib:error-domain="..."> 2014-09-01 Jürg Billeter <j@bitron.ch> Release 0.25.3 2014-08-31 Rico Tzschichholz <ricotz@ubuntu.com> gtk+-2.0, gtk+-3.0: Revert Gtk.Widget "constructor" changes 2014-08-29 Simon Werbeck <simon.werbeck@gmail.com> Forbid non-constant initializers for static fields in compact classes Fixes bug 636509 2014-08-29 Luca Bruno <luca.bruno@immobiliare.it> Fix critical when using binary expression in a generics context Fixes bug 735117 2014-08-29 Florian Brosch <flo.brosch@gmail.com> gir-importer: docbook: process all <doc-* tags gir: ignore type struct docs girmetadata: allow to override <ONLINE> gir-importer: docbook: resolve internal links gir-importer: markdown: resolve internal links Allow to inherit from imported docs html: add <meta charset="UTF-8"/> gir-importer: skip <union> elements without ctype-attributes Split process-comments into parse and check runs ctyperesolver, virtual signals: register function pointer names docbook: improve implicit parameter handling Improve handling for c::this docbook-parser: Accept symbols with trailing 's' Improve CTypeResolver for virtual/abstract methods gir-importer: add support for markdown 2014-08-29 Rico Tzschichholz <ricotz@ubuntu.com> gtk+-2.0, gtk+-3.0: Fix falsely "owned"-marked properties https://bugzilla.gnome.org/show_bug.cgi?id=735538 https://bugzilla.gnome.org/show_bug.cgi?id=735640 2014-08-29 Florian Brosch <flo.brosch@gmail.com> xcb: merge Xcb.GetPropertyReply and Xcb.GetPropertyReply 2014-08-27 Florian Brosch <flo.brosch@gmail.com> glib-2.0: Environ.get_variable return value should not be owned 2014-08-26 Rico Tzschichholz <ricotz@ubuntu.com> bindings: Update GIR-based bindings 2014-08-26 Simon Werbeck <simon.werbeck@gmail.com> Fix critical for silent cast Fixes bug 696110 2014-08-26 Rico Tzschichholz <ricotz@ubuntu.com> driver/0.26.x: Follow API change and require valac >= 0.25.2 2014-08-24 Jürg Billeter <j@bitron.ch> Release 0.25.2 2014-08-24 Simon Werbeck <simon.werbeck@gmail.com> Make sure type check expression has valid type Fixes bug 696729 2014-08-24 Rico Tzschichholz <ricotz@ubuntu.com> driver/0.24.x: Drop support for unstable valac <= 0.23.1 2014-08-24 Jürg Billeter <j@bitron.ch> Test error type check 2014-08-24 Rico Tzschichholz <ricotz@ubuntu.com> gtk+-2.0, gtk+-3.0: Fix gtk_target_list_find gtk+-2.0, gtk+-3.0: GtkCssProviderError/GtkPrintError are errordomains gtk+-2.0, gtk+-3.0: Gtk.get_default_language is unowned gtk+-2.0, gtk+-3.0: Radio/ActionCallback are only vala-helper types gtk+-2.0, gtk+-3.0: Make Widget.get/set_parent compatible with its property gtk+-2.0, gtk+-3.0: more various fixes gtk+-2.0, gtk+-3.0: port more annotations from the GIR version gtk+-2.0: port "struct" annotations from the GIR version gtk+-2.0, gtk+-3.0: Hide non-public symbols gtk+-3.0: port "struct" annotations from the GIR version gtk+-3.0: Add type_ids and abstract annotations for classes gtk+-2.0, gtk+-3.0: port lots of annotations from the GIR version 2014-08-24 Jürg Billeter <j@bitron.ch> codegen: Remove support for GLib < 2.24 2014-08-24 Rico Tzschichholz <ricotz@ubuntu.com> Require and target GLib >= 2.24 The next stable release of vala will happen four years after the release of GLib 2.24.0. build: Generate only xz-tarballs build: Make building vapigen non-optional build: Avoid using ".." for referencing paths and reorganize valac-calls 2014-08-23 Jürg Billeter <j@bitron.ch> D-Bus: Fix proxy creation in separate source file D-Bus: Set g-interface-info when creating proxy objects D-Bus: Move interface info definition from server to common module 2014-08-23 Simon Werbeck <simon.werbeck@gmail.com> Error on non-const field initializer in namespace Fixes bug 569259 2014-08-22 Rico Tzschichholz <ricotz@ubuntu.com> bindings: Update GIR-based bindings 2014-08-21 Luca Bruno <lucabru@src.gnome.org> Report warning instead of error for private struct fields 2014-08-20 Rico Tzschichholz <ricotz@ubuntu.com> gtksourceview-3.0: Update to 3.13.90 and mark as deprecated 2014-08-19 Evan Nemerson <evan@nemerson.com> gtk+-3.0: Application.get_menu_by_id return value should not be owned 2014-08-19 Luca Bruno <luca.bruno@immobiliare.it> glib-2.0: fix Hmac.update bindings Fixes bug 735041 2014-08-17 Rico Tzschichholz <ricotz@ubuntu.com> gobject-2.0: Add binding for g_value_init_from_instance bindings: Update GIR-based bindings gtk+-3.0: Update to 3.13.7 2014-08-17 Evan Nemerson <evan@nemerson.com> gtk+-2.0, gtk+-3.0: mark test_display_button_window as variadic 2014-08-14 Luca Bruno <lucabru@src.gnome.org> parser: Report error only for private instance fields in structs Fixes bug 734787 2014-08-13 Evan Nemerson <evan@nemerson.com> linux: improve backtrace bindings Some minor improvements have been made to backtrace_symbols; we no longer leak the return value and it is marked as nullable. This also adds a Backtrace namespace for some better bindings which treat the backtrace as an array of void* instead of just a void*. 2014-08-12 XZS <d.f.fischer@web.de> glib-2.0: make VariantDict.end return a floating reference The underlying implementation returns a floating reference. Reflecting this in the vapi silences the warning about g_variant_unref called once too many. Fixes bug 734611 2014-08-12 XZS <d.f.fischer@web.de> glib: make the parameter of VariantDict constructor nullable The underlying glib implementation accepts null to initialize an empty dictionary. The vapi now reflects this, defaulting the single parameter to null. Fixes bug 734612 2014-08-11 Rico Tzschichholz <ricotz@ubuntu.com> webkit2gtk: Update to 2.5.2 2014-08-11 Luca Bruno <lucabru@src.gnome.org> Report an error when parsing non-public struct fields Fixes bug 683413 Add Simon Werbeck to THANKS 2014-08-11 Simon Werbeck <simon.werbeck@gmail.com> Add some missing get_used_variables methods Fixes bug 734315 2014-08-10 Rico Tzschichholz <ricotz@ubuntu.com> gtk+-3.0: Update to 3.13.6~ 2014-08-05 Rico Tzschichholz <ricotz@ubuntu.com> poppler-glib: Update to 0.26.3 2014-08-05 Evan Nemerson <evan@nemerson.com> bindings: Update GIR-based bindings 2014-08-04 Evan Nemerson <evan@nemerson.com> Replace WebKit 3.0 bindings with 4.0. WebKitGTK+ is bumping their API version to 4.0 starting with 2.5.1. These bindings haven't been part of a stable Vala release, so it should be safe to just bump the version we distribute, too, instead of adding 4.0 alongside 3.0. 2014-08-03 Luca Bruno <lucabru@src.gnome.org> Add lvalue_access = false to Mutex and Cond Fixes bug 733500 2014-08-01 Andre Klapper <a9016009@gmx.de> doap: add <programming-language> 2014-07-30 Olav Vitters <olav@vitters.nl> doap category core 2014-07-23 Jürg Billeter <j@bitron.ch> Release 0.25.1 2014-07-23 Rico Tzschichholz <ricotz@ubuntu.com> gtk+-3.0: Update to 3.13.5 2014-07-14 Robert Ancell <robert.ancell@canonical.com> compiler: Support configurable pkg-config command so can cross compile Fixes bug 690456 2014-07-13 Rico Tzschichholz <ricotz@ubuntu.com> gtk+-3.0: Application.get_menu_by_id returns owned value 2014-07-13 Florian Brosch <flo.brosch@gmail.com> Warn if -o is used in combination with -C Warn if C files are used in combination with -C Warn if --save-temps is used in combination with -C Warn if -X is used in combination with -C 2014-07-13 Rico Tzschichholz <ricotz@ubuntu.com> gtk+-3.0: Update to 3.13.4~f2c6b31e 2014-07-12 Evan Nemerson <evan@nemerson.com> gstreamer-video-1.0: Info.finfo is unowned Fixes bug 731895. 2014-07-12 Yaakov Selkowitz <yselkowitz@users.sourceforge.net> clutter-gst-1.0: fix deps ClutterGst.VideoSink subclasses Gst.Navigation since commit 47305de837090f3bdb21183bcac51a056561b639 Fixes bug 732138. 2014-07-12 Evan Nemerson <evan@nemerson.com> Add .dir-locals.el (emacs configuration file) This just helps people using emacs use the correct settings when working on vala. gtk+-3.0: make TextIter.copy return value nullable Fixes bug 732884. 2014-07-10 Florian Brosch <flo.brosch@gmail.com> glib-2.0: Fix bindings for g_hash_table_size 2014-07-09 Evan Nemerson <evan@nemerson.com> bindings: update GIR-based bindings to latest git librsvg-2.0: remove from gir-bindings target The librsvg bindings distributed with Vala have been deprecated in favor of those distributed with librsvg for some time now. By removing them from the gir-bindings target we can avoid API changes and keep CI working while still updating the GIR for valadoc.org. 2014-07-07 Simon Werbeck <simon.werbeck@gmail.com> Detect format string errors when instancing errors Fixes bug 732530 2014-07-02 Rico Tzschichholz <ricotz@ubuntu.com> gtk+-3.0: Update to 3.13.4~b238d556 2014-07-02 Evan Nemerson <evan@nemerson.com> codegen: cast instead of trying to guess *_CLASS macro name Fixes bug 732413 2014-07-01 Evan Nemerson <evan@nemerson.com> webkit2gtk-3.0, webkit2gtk-web-extension-3.0: update to 2.4.3 2014-06-30 Jürg Billeter <j@bitron.ch> Mark regular expression literals as stable Fixes part of bug 677022. 2014-06-30 Simon Werbeck <simon.werbeck@gmail.com> Fix comparison of nullable value types Fixes bug 678791 2014-06-30 Evan Nemerson <evan@nemerson.com> gstreamer-rtsp-server-1.0: update to fix C header filename 2014-06-29 Evan Nemerson <evan@nemerson.com> gstremaer-rtsp-server-1.0: add gstreamer-net-1.0 to deps 2014-06-28 Simon Werbeck <simon.werbeck@gmail.com> Set G_SIGNAL_DEPRECATED on annotated signals When using the [Deprecated] attribute on a signal, the corresponding signal flag is now set upon signal creation. This requires that --target-glib is set accordingly Fixes bug 732381 2014-06-28 Luca Bruno <lucabru@src.gnome.org> Fix previous 6c36eb4 commit 2014-06-28 Luca Bruno <lucabru@src.gnome.org> codewriter: Do not write (unowned string)[] for constants The element type of a constant array is forced to be unowned in the parser. Therefore we don't write (unowned string) to avoid breaking vapi parsing uselessly with older valac versions. Fixes bug 732080 2014-06-27 Evan Nemerson <evan@nemerson.com> vala.m4: don't escape modules argument to VALA_CHECK_MODULES Fixes bug 729495. 2014-06-27 Luca Bruno <lucabru@src.gnome.org> Call g_signal_handlers_destroy on gtypeinstance finalizer Fixes bug 708130 2014-06-27 Evan Nemerson <evan@nemerson.com> girwriter: fall back on gir_namespace if GIR name is not available girwriter: fix *Private type name for nested classes Fixes bug 641559. glib-2.0: change constructor for GenericArray with glib-2.0 >= 2.30 Fixes bug 732251. glib-2.0: mark PtrArray as deprecated in favor of GenericArray GenericArray is much nicer, and if you really want to use pointers (which you don't) you can always do GenericArray<void*>. 2014-06-26 Evan Nemerson <evan@nemerson.com> gstreamer-1.0: update bindings to latest git 2014-06-26 Evan Nemerson <evan@nemerson.com> gstreamer-rtsp-server-1.0: update bindings The previous bindings only worked for an unstable pre-release version of gstreamer-rtsp-server-1.0. The new (stable) version is not backwards compatible, so neither can the Vala bindings be. Since we had to break backwards compatibilitiy, why not go big? I've taken the opportunity to move the bindings into the Gst.RTSPServer namespace to better match the other gstreamer bindings, as well as other assorted less-disruptive clean-ups. Fixes bug 723910. 2014-06-26 Rico Tzschichholz <ricotz@ubuntu.com> gdk-3.0, gtk+-3.0: Update to 3.13.3 2014-06-22 Evan Nemerson <evan@nemerson.com> posix: the atexit callback does not have a target 2014-06-18 Evan Nemerson <evan@nemerson.com> glib-2.0: add non-null support for string.joinv Updated patch after fixing accessing .length of arrays in the non-nullable semantics Fixes bug 728656 2014-06-18 Luca Bruno <lucabru@src.gnome.org> non-nullable: Accessing array methods is safe when the array is null Partially fixes bug 728656 2014-06-18 Evan Nemerson <evan@nemerson.com> Use ascii_up/down instead of utf8 up/down when generating identifiers Fixes bug 731795. 2014-06-15 Luca Bruno <lucabru@src.gnome.org> gvariant module: Fix memory leak when deserializing hashtables with gvariant Fixes bug 698260 2014-06-15 Evan Nemerson <evan@nemerson.com> glib-2.0: rename HashSet to GenericSet There is a Gee.HashSet which was causing conflicts for projects using "using Gee;" (specifically, folks and gnome-contacts). 2014-06-14 Luca Bruno <lucabru@src.gnome.org> glib-2.0: support Variant objv Fixes bug 729695 2014-06-13 Evan Nemerson <evan@nemerson.com> cairo-xcb, xcb-iccm, xcb: deprecate in favor of vala-extra-vapis 2014-06-12 Evan Nemerson <evan@nemerson.com> gio-2.0: maintain backwards compatibility with old ActionEntry binding glib-2.0: add static methods back into Sequence, marked as deprecated They are, it seems, usable by calling them as if they were instance methods. However, doing so causes a warning from valac ("Access to static member ... with an instance reference"). glib-2.0: add HashTable.take and length 2014-06-12 Evan Nemerson <evan@nemerson.com> glib-2.0: add GLib.HashSet This is basically just a convenience wrapper around GLib.HashTable where the key and value are set to the same value, providing a set data type instead of a map. Fixes bug 686609. 2014-06-12 Evan Nemerson <evan@nemerson.com> gio-2.0: callbacks in ActionEntry must not have a target Fixes bug 681896. Revert "gobject-2.0: make ObjectClass.list_properties transfer container" Breaks bootstrapping with valac <= 0.24 2014-06-12 Evan Nemerson <evan@nemerson.com> gobject-2.0: make TypeClass non-reference-counted The ref function was always broken and would generate invalid C, so this should be safe. Fixes bug 679481. 2014-06-12 Evan Nemerson <evan@nemerson.com> glib-2.0: don't use the container type's generic in static methods Fixes bug 669816. glib-2.0: mark many constants as const instead of static Fixes bug 646143. gobject-2.0: make ObjectClass.list_properties transfer container Fixes bug 620419. gtk+-2.0: add WidgetClass.set_scroll_adjustments_signal binding Fixes bug 611498. gstreamer-1.0: update to 1.3.2.1~d99e6215 Fixes bug 730983. 2014-06-11 Rico Tzschichholz <ricotz@ubuntu.com> gio-unix-2.0: update to 2.41.0 gtk+-3.0: update to 3.13.3~200bdf1a gobject-2.0: Bind G_PARAM_EXPLICIT_NOTIFY 2014-06-11 Evan Nemerson <evan@nemerson.com> gtk+-3.0: set Editable type_cname Fixes bug 731499. 2014-06-05 Evan Nemerson <evan@nemerson.com> girparser: only replace ref/unref funcs with better matches 2014-06-03 Luca Bruno <luca.bruno@immobiliare.it> girparser: use identifier prefix from GIR when appropriate Fixes bug 731066 codegen: Simplify field initialization for struct types Fixes bug 703996 2014-06-01 Robert Ancell <robert.ancell@canonical.com> xcb: Replies are nullable and errors are optional Also a few whitespace consistency changes thrown in. 2014-06-01 Robert Ancell <robert.ancell@canonical.com> xcb: Add helper methods for GetPropertyReply Add helper methods for GetPropertyReply so you don't have to access a void pointer. https://bugzilla.gnome.org/show_bug.cgi?id=730230 2014-06-01 Robert Ancell <robert.ancell@canonical.com> xcb: Add more methods and use Vala types for accessing data https://bugzilla.gnome.org/show_bug.cgi?id=730218 2014-05-31 Luca Bruno <lucabru@src.gnome.org> gobject: Add Binding.unbind Fixes bug 730967 2014-05-31 Evan Nemerson <evan@nemerson.com> glib-2.0: remove HashTable.get_keys_as_array This was causing a syntax error when trying to compile Vala with an older version of valac (whatever is in gnome-continuous). It looks like we should hold off on adding stuff with this syntax until next cycle. glib-2.0: add HashTable.get_keys_as_array girparser: handle multiple identifier-prefixes in namespaces 2014-05-29 Rico Tzschichholz <ricotz@ubuntu.com> glib2.0: Mark StaticPrivate as deprecated 2014-05-29 Timm Bäder <mail@baedert.org> gtkmodule: Error out on malformed signal definition Connecting to a signal in a gtk composite template needs both the signal's name and a handler function to connect to. 2014-05-29 Rico Tzschichholz <ricotz@ubuntu.com> gstreamer-1.0: Add gstreamer-allocators-1.0 and gstreamer-riff-1.0 2014-05-29 Evan Nemerson <evan@nemerson.com> json-glib-1.0: update to 1.0.2 2014-05-28 Evan Nemerson <evan@nemerson.com> girparser: don't deprecate children of deprecated containers GObject Introspection doesn't support marking entire types as deprecated, so we end up with a lot of places where the type isn't deprecated, but every method, property, field, signal, etc. in it is, which causes a lot of spew during compilation. This patch allows us to easily deprecate a type in metadata and any extra deprecation information on child symbols will be omitted. girparser: improve support for changing symbol types away from instance This makes it possible to move a symbol from an instance method of one type to a constructor of another, or to a static method. girparser: support return_void metadata argument This allows us to generate backwards compatible signatures for functions with a void return value and a single out param for a struct from metadata files instead of resorting to *-custom.vala. Update GIR-based bindings. gstreamer-1.0: update to latest git. Using bindings some libraries, such as gstreamer-audio-1.0, will break compatibility with gstreamer 1.0 since gstreamer didn't include single-include headers until 1.2. libsoup-2.4: deprecate Buffer.new and MessageBody.append These functions require the user to correctly specify a Soup.MemoryUse argument, but that's easy to get wrong without understanding how the memory is managed. Alternatives for these functions which will always transfer ownership of the memory have been in place since 2.32, so from now on we will emit a warning when someone tries to use the old versions. 2014-05-27 Raul Gutierrez Segales <rgs@collabora.co.uk> glib-2.0: add accessor for GArray's data field Fixes bug 651505 2014-05-27 Evan Nemerson <evan@nemerson.com> codegen: put exception checks inside of a G_UNLIKELY Fixes bug 730702 2014-05-24 Rico Tzschichholz <ricotz@ubuntu.com> gdk-3.0, gtk+-3.0: update to 3.13.1~3f140d53 2014-05-22 Rico Tzschichholz <ricotz@ubuntu.com> gdk-3.0: update to 3.13.1~a61a11a4 2014-05-21 Evan Nemerson <evan@nemerson.com> gdk-3.0: update to 3.13.1~701adf81 2014-05-18 Luca Bruno <lucabru@src.gnome.org> Support explicit interface methods implementation Fixes bug 652098 2014-05-18 Evan Nemerson <evan@nemerson.com> gudev-1.0: update to latest git Most of the metadata has been moved into annotations upstream. 2014-05-17 Luca Bruno <lucabru@src.gnome.org> Fix gir and gidl bindings due to (unowned type)[] arrays Revert "girparser: Make array element type owned by default" This reverts commit 1c814e174d161102ea3288121f6b4c09c8b46482. girparser: Make array element type owned by default Fix writing vapis with (unowned type)[] Support (unowned type)[] syntax for transfer-container arrays Fixes bug 571486 2014-05-17 Evan Nemerson <evan@nemerson.com> goocanvas: mark as deprecated atk: update to 2.13.1~d44970bd gdk-pixbuf-2.0: update to latest git 2014-05-16 Evan Nemerson <evan@nemerson.com> webkitgtk-3.0: add metadata file 2014-05-16 Rico Tzschichholz <ricotz@ubuntu.com> gtk+3.0: Update to 3.13.1+ 2014-05-16 Lasse Schuirmann <lasse@schuirmann.net> libarchive: Update to version 3 Fixes bug 668654 2014-05-15 Robert Ancell <robert.ancell@canonical.com> xcb: Add drawing API https://bugzilla.gnome.org/show_bug.cgi?id=730148 xcb: Add Xcb.Connection.create_pixmap https://bugzilla.gnome.org/show_bug.cgi?id=730103 2014-05-14 Evan Nemerson <evan@nemerson.com> Add webkit2gtk-3.0 and webkit2gtk-web-extension-3.0 bindings. Fixes bug 676249. 2014-05-14 Robert Ancell <robert.ancell@canonical.com> xcb: Add Xcb.Connection.get_atom_name https://bugzilla.gnome.org/show_bug.cgi?id=730099 xcb: Missing EnterNotifyEvent, LeaveNotifyEvent, KeymapNotifyEvent, VisibilityNotifyEvent, ReparentNotifyEvent, GravityNotifyEvent, CirculateNotifyEvent, PropertyNotifyEvent, SelectionNotifyEvent, ColormapNotifyEvent, MappingNotifyEvent classes https://bugzilla.gnome.org/show_bug.cgi?id=730097 2014-05-14 Robert Ancell <robert.ancell@canonical.com> xcb: Remove unnecessary padding fields Some structures allow access to the padding fields from the C structures. Since these don't do anything except make the memory be set out correctly there's no reason to access them from Vala. https://bugzilla.gnome.org/show_bug.cgi?id=730094 2014-05-14 Robert Ancell <robert.ancell@canonical.com> xcb: Add methods to access pixmap formats https://bugzilla.gnome.org/show_bug.cgi?id=730092 xcb: Add missing fields to Xcb.Setup, Xcb.Screen and Xcb.VisualType https://bugzilla.gnome.org/show_bug.cgi?id=730091 xcb: Fix depth iterator methods https://bugzilla.gnome.org/show_bug.cgi?id=730089 xcb: Add binding for xcb_connection_has_error https://bugzilla.gnome.org/show_bug.cgi?id=730088 xcb: Fix visuals iterator methods https://bugzilla.gnome.org/show_bug.cgi?id=730090 2014-05-13 Robert Ancell <robert.ancell@canonical.com> xcb: Set correct C name for Xcb.ScreenIterator.next https://bugzilla.gnome.org/show_bug.cgi?id=730086 2014-05-11 Christian Persch <chpe@gnome.org> glib-2.0: Allow null hooks for OptionGroup Allow null pre-parse, post-parse, error and translation hooks. Fixed bug #729954. 2014-05-08 Evan Nemerson <evan@nemerson.com> pango: update to latest git 2014-05-06 Ryan Lortie <desrt@desrt.ca> girparser: grok "nullable" Understand the new "nullable" attribute in .gir files. Presently, this is mostly an alias for allow-none='', but it will also allows a new feature: we can explicitly mark out parameters as having a nullable type (as a distinct concept from accepting 'NULL' as a parameter to the C function call in order to ignore the result). .gir may eventually want to remove allow-none='' some day, so make sure we also accept nullable='' in all places that we accepted allow-none='' to mean 'can be NULL'. https://bugzilla.gnome.org/show_bug.cgi?id=660879 2014-04-30 Al Thomas <astavale@yahoo.co.uk> codegen: Uppercase strings in ASCII, otherwise broken for some locales Fixes bug 704468 2014-04-29 Rico Tzschichholz <ricotz@ubuntu.com> gtk+-3.0: Perform missing rebuild Fixes e657266432c73b292a17e5207184ebed4dd3ef44 2014-04-29 Kyrylo Polezhaiev <polezhaiev@ukr.net> libpq: Fix syntax error Fixes bug 729177 2014-04-29 Rico Tzschichholz <ricotz@ubuntu.com> gdk-3.0, gtk+3.0: Update to 3.13.1 2014-04-28 Evan Nemerson <evan@nemerson.com> gio-unix-2.0: fix DesktopAppInfo.list_actions return value 2014-04-24 Rico Tzschichholz <ricotz@ubuntu.com> gtk+3.0: Update to 3.13.0~ gio-2.0: Update to 2.41.0~ 2014-04-18 Ryan Lortie <desrt@desrt.ca> gtk+-3.0: add new GtkListBox selection API metadata copied from the similar api on GtkFlowBox (which is where the GtkListBox API itself was modelled from). https://bugzilla.gnome.org/show_bug.cgi?id=728474 2014-04-18 Ryan Lortie <desrt@desrt.ca> gtk+-3.0: fix flowbox selection foreach API The callback doesn't have a destroy notify, so don't mark it 'owned'. Additionally, it's not OK to pass a NULL callback to a foreach function. https://bugzilla.gnome.org/show_bug.cgi?id=728474 2014-04-14 Evan Nemerson <evan@nemerson.com> gtk+-3.0, gtk+-2.0: make TargetList constructor argument nullable Fixes bug 728126. glib-2.0: add OptionContext.parse_strv Fixes bug 728111. 2014-04-08 Evan Nemerson <evan@nemerson.com> gtksourceview-3.0: update to latest git 2014-04-07 Luca Bruno <lucabru@src.gnome.org> gtk+3.0: fix Application.set_accels_for_action array parameter Fixes bug 727752 2014-04-06 Simon Werbeck <simon.werbeck@gmail.com> codegen: Fix local and field names starting with a digit Fixes bug 647018 2014-04-05 Luca Bruno <lucabru@src.gnome.org> girparser: reset cheader_filenames before parsing a gir Remove gedit-2.20 from all-bindings due to a random bug. Sometimes it's successful, sometimes it's not. gobject-introspection-1.0: regenerate according to vala-girs geocode-glib-1.0: update to 3.12.0-5-g7eb1490 Remove gedit from all-bindings as it will be shipped upstream gdl-3.0: Update after the GdkEvent change from struct to class 2014-04-05 Simon Werbeck <simon.werbeck@gmail.com> codegen: Do not generate generic destroy func for non-disposable structs Fixes bug 727652 2014-04-03 Rico Tzschichholz <ricotz@ubuntu.com> x11: Don't use camel-cased names for methods In addition to d00ddbf098d50a4ccf81faec12d186be04c7f975 2014-04-01 Luca Bruno <lucabru@src.gnome.org> libnotify: Updated to 0.7.6-3-gda49c8c See https://bugzilla.gnome.org/show_bug.cgi?id=667904 2014-04-01 Stefano Facchini <stefano.facchini@gmail.com> glib: Add G_SOURCE_CONTINUE/G_SOURCE_REMOVE 2014-03-31 Luca Bruno <lucabru@src.gnome.org> girparser: Support interface aliases 2014-03-31 Robert Ancell <robert.ancell@canonical.com> x11: Add some missing API The functions: XClearWindow XCreatePixmap XSetWindowBackgroundPixmap The XSetCloseDownMode enumerations The following events: FocusChangeEvent ExposeEvent GraphicsExposeEvent NoExposeEvent VisibilityEvent ResizeRequestEvent SelectionClearEvent SelectionRequestEvent ColormapEvent MappingEvent ErrorEvent KeymapEvent Fixes bug 727113 2014-03-30 Luca Bruno <lucabru@src.gnome.org> atk: Update and fix metadata Fixes bug 727029 2014-03-30 Simon <simon.werbeck@gmail.com> Support non-literal length in fixed-size arrays Now any constant integer expression can be used as length for fixed-size arrays. Fixes bug 638993 2014-03-26 Rico Tzschichholz <ricotz@ubuntu.com> Add tests for enums annotated with [Flags] 2014-03-26 Rico Tzschichholz <ricotz@t-online.de> cairo: Update some enums and consts 2014-03-25 Rico Tzschichholz <ricotz@ubuntu.com> Make PropertyAccessorType a flag to correctly handle its possible states driver: Add support for vala-0.26 2014-03-25 Evan Nemerson <evan@nemerson.com> gdk-pixbuf-2.0: make Pixbuf.save_to_stream variadic 2014-03-25 Jürg Billeter <j@bitron.ch> Bump version suffix 2014-03-25 Rico Tzschichholz <ricotz@t-online.de> clutter-1.0: Update to 1.18.0 geocode-glib-1.0: Update to 3.12.0 gtk+-3.0: Update to 3.12.0 2014-03-24 Maciej Piechotka <uzytkownik2@gmail.com> Hide internal methods in ABI Fixes bug 700157 2014-03-24 Jürg Billeter <j@bitron.ch> Release 0.24.0 2014-03-23 Luca Bruno <lucabru@src.gnome.org> tests: Use sed '$d' because head -n -1 is not portable Fixes bug 726908 2014-03-20 Luca Bruno <lucabru@src.gnome.org> gstreamer-0.10: Set GstURIHandler.get_uri_type vfunc to get_type Fixes bug 726745 gidlparser: Do not set nullable to void type codegen: Inherit array_length and array_null_terminated of methods Fixes bug 726744 2014-03-20 Rico Tzschichholz <ricotz@t-online.de> x11: Add missing evtype field of GenericEventCookie 2014-03-16 Luca Bruno <lucabru@src.gnome.org> gstreamer-1.0: Make Bin.add first parameter unowned gstreamer-1.0: Make Bin.add_many first parameter unowned Fixes bug 702969 gstreamer-1.0: Make Element.add_pad parameter unowned Fixes bug 702960 Add test for bug 726347 2014-03-16 Richard Wiedenhöft <richard.wiedenhoeft@gmail.com> Accept single ellipsis parameter for instance methods Fixes bug 726347 2014-03-16 Steven Oliver <oliver.steven@gmail.com> libpq: Add PQping enum and functions Fixes bug 722878 2014-03-14 Luca Bruno <lucabru@src.gnome.org> gtk+-2.0, gtk+-3.0: Make ComboBox.set_active_iter parameter nullable Fixes bug 726141 2014-03-14 Simon <simon.werbeck@gmail.com> codewriter: Emit 'unowned' keyword for local variables Fixes bug 726312 2014-03-13 David King <amigadave@amigadave.com> gio-2.0: Update to 2.39.91+ Fixes bug 726057 2014-03-06 Rico Tzschichholz <ricotz@ubuntu.com> cogl-1.0: Fix some array arguments in Cogl.Texture 2014-03-06 Luca Bruno <lucabru@src.gnome.org> gio-2.0: Also make Action.get_state_hint nullable gio-2.0: Make Action.state, state_type and parameter_type nullable Fixes bug 725367 dbusserver: Rename the generated "parameters" identifier Fixes bug 725555. 2014-03-05 Zeeshan Ali (Khattak) <zeeshanak@gnome.org> gtk+-3.0: Correct binding for IconView.convert_widget_to_bin_window_coords The last two arguments are 'out'. 2014-03-03 Colin Watson <cjwatson@ubuntu.com> glib-2.0: Add missing C header for symlink Fixes bug 725151. posix: Declare Group.gr_mem as null-terminated Fixes bug 725149. 2014-03-02 Luca Bruno <lucabru@src.gnome.org> girparser: Add array_null_terminated, fixes hand-written change in gio 2014-03-02 Will Szumski <will@cowboycoders.org> girwriter: Set scope=call for delegates when async or notified does not apply Fixes bug 725012. girwriter: Don't add target for delegates without target Fixes bug 725073. 2014-03-02 Stef Walter <stefw@redhat.com> build: Fix missing backslashes in lists https://bugzilla.gnome.org/show_bug.cgi?id=725496 2014-02-18 Jürg Billeter <j@bitron.ch> Release 0.23.3 2014-02-18 Rico Tzschichholz <ricotz@t-online.de> gtk+-3.0: Update to 3.11.6 2014-02-17 Evan Nemerson <evan@coeus-group.com> gedit: deprecate in favor of bindings distributed by gedit. See bug #724172. 2014-02-16 Paolo Borelli <pborelli@gnome.org> gio-2.0: fix add_main_option_entries 2014-02-16 Rico Tzschichholz <ricotz@ubuntu.com> gio-2.0: Update to 2.39.5+ 2014-02-16 Evan Nemerson <evan@coeus-group.com> gio-2.0: update to 2.39.5 glib-2.0: add new symbols for 2.40 glib-2.0: add missing symbols from 2.38 2014-02-15 Rico Tzschichholz <ricotz@ubuntu.com> gtk+-3.0: Update from git 2014-02-11 Ryan Lortie <desrt@desrt.ca> vala.m4: honour CC, CPPFLAGS, CFLAGS, LDFLAGS These variables may be set to values that are required to build executables. Make sure we honour them from vala.m4 when attempting to check for packages. https://bugzilla.gnome.org/show_bug.cgi?id=724176 2014-02-11 Rico Tzschichholz <ricotz@ubuntu.com> libvaladoc/api: Correctly handle construct-only properties 2014-02-09 Ryan Lortie <desrt@desrt.ca> gen-introspect: pretend to be lint Some system headers (notably <stdarg.h> on FreeBSD) get upset when they see an unexpected compiler. We go out of our way to pass -U__GNUC__ to cpp from the scanner code during gen-introspect and this is causing problems. As a workaround, we can pretend to be lint, which fixes the issue at least for FreeBSD. https://bugzilla.gnome.org/show_bug.cgi?id=722954 2014-02-04 Jürg Billeter <j@bitron.ch> Release 0.23.2 2014-02-04 Jürg Billeter <j@bitron.ch> gdk-3.0: Fix GdkEvent* bindings GdkEvent structs have hidden fields and must be exposed as compact classes. Fixes bug 713240. 2014-02-04 Rico Tzschichholz <ricotz@ubuntu.com> gtk+-3.0: Update to (nearly) 3.11.6 2014-02-03 Luca Bruno <lucabru@src.gnome.org> girparser: Shut warning about unused experimental metadata gstreamer-1.0: Fix ElementFactory.get_static_pad_templates return type Fixes bug 720694 2014-02-03 Rico Tzschichholz <ricotz@ubuntu.com> clutter-1.0: Update to 1.17.2 2014-02-03 Luca Bruno <lucabru@src.gnome.org> girparser: Shut unused destroys_instance warning girparser: Add type_id metadata 2014-02-03 Jürg Billeter <j@bitron.ch> codewriter: Fix spacing for property accessor attributes 2014-01-29 Evan Nemerson <evan@coeus-group.com> glib-2.0: fix qsort_with_data binding Fixes bug 640786. glib-2.0: add search functions for (S)List and Queue Fixes bug 540415. tests: remove unnecessary main argument from bug723195 test glib-2.0: fix string.joinv for empty (but not null) arrays Fixes bug 723195. 2014-01-28 Luca Bruno <lucabru@src.gnome.org> gtkmodule: Ensure child gtypes are initialized before creating the template Fixes bug 720282 Fix regression in method calls that throw errors with Value target type Related to bug 723009 2014-01-27 Luca Bruno <lucabru@src.gnome.org> Add build-aux/test-driver to .gitignore 2014-01-26 Luca Bruno <lucabru@src.gnome.org> Fix regression when coalescing: value owned if either of the two is owned Drop LocalVariable.floating usage, replaced by create_temp_access Avoid unnecessary copies when using the coalescing operator Fixes bug 661985 Use create_temp_access instead of local.floating in ObjectCreation Use create_temp_access instead of local.floating in MethodCall Add create_temp_access to properly access a temp variable after transformation Fix semantics for coalesce operator when target_type is null. Fixes bug 639482 2014-01-25 Luca Bruno <lucabru@src.gnome.org> codegen: Always assume external interface properties are gobject properties 2014-01-25 Richard Wiedenhöft <richard.wiedenhoeft@gmail.com> codegen: Do not emit notify-signal for non-abstract interface properties Fixes bug 722968 2014-01-25 Luca Bruno <lucabru@src.gnome.org> codegen: Reduce the number of temporary variables If a temporary variable has been generated internally, do not create another regardless of whether it's floating or not. Fix calling methods on struct pointers Fixes bug 686190 2014-01-25 Richard Wiedenhöft <richard.wiedenhoeft@gmail.com> libpq.vapi: added condition LIBPQ_9_3 Fixes bug 698004. 2014-01-25 Evan Nemerson <evan@coeus-group.com> glib-2.0: make string.joinv handle non-null-terminated arrays Fixes bug 686451. 2014-01-23 Rico Tzschichholz <ricotz@ubuntu.com> gtksourceview-3.0: Update to 3.11.3 gtk+-3.0: Update to 3.11.5+ 2014-01-18 Rico Tzschichholz <ricotz@ubuntu.com> build: Bump valac requirement to 0.15.1 to match minimal driver support 2014-01-18 Koop Mast <kwm@rainbow-runner.nl> Use POSIX redirect, for portability. This fixes: "Syntax error: Bad fd number". on POSIX sh. https://bugzilla.gnome.org/show_bug.cgi?id=722486 2014-01-18 Jesse van den Kieboom <jessevdk@gmail.com> gtk+-3.0: Nullable GtkListBox::row_selected.row https://bugzilla.gnome.org/show_bug.cgi?id=722490 2014-01-18 Steven Oliver <oliver.steven@gmail.com> glib-2.0: Add G_LOG_2_BASE_10 constant Fixes bug 722466 2014-01-18 Rico Tzschichholz <ricotz@ubuntu.com> driver/0.24.x: Don't overwrite VALAFLAGS build: Don't rely on bashism and use $(shell ...) 2014-01-17 Rico Tzschichholz <ricotz@ubuntu.com> drivers: Drop compatibility for older unstable valac releases build: Add missing condition for valac <= 0.23.1 driver builds driver: Drop support for vala-0.14 2014-01-16 Luca Bruno <lucabru@src.gnome.org> glib-2.0: Fix short.abs() to be an instance method 2014-01-16 Steven Oliver <oliver.steven@gmail.com> glib-2.0: Add abs() to short type Fixes bug 722067 2014-01-16 Rico Tzschichholz <ricotz@ubuntu.com> Bump version to 0.23.2 doclet/html: Rename source folder match the doclet driver/0.24.x: Fix build with valac 0.23.1+ git master build: Follow VALA_FLAGS renaming build: Avoid shipping generated c-code in tarball Also clean up and refactor Makefiles on the way. build: Enable maintainer-mode by default 2014-01-11 Rico Tzschichholz <ricotz@ubuntu.com> gtk+-3.0: Update to 3.11.3+ gdk-x11-3.0: Switch to GIR 2014-01-11 Luca Bruno <lucabru@src.gnome.org> codegen: Support "foo is G" 2014-01-11 Luca Bruno <lucabru@src.gnome.org> Fix coalescing operator semantics check. The left operand was not put in any code block before the check, thus it wasn't able to transform itself. Fixes bug 691514. 2014-01-06 Luca Bruno <lucabru@src.gnome.org> gtktemplate: Handle callbacks for detailed signals Fixes bug 720825 2014-01-06 Richard Wiedenhöft <richard.wiedenhoeft@gmail.com> posix: Added methods read and write to class FILE Fixes bug 721478 2014-01-05 Rico Tzschichholz <ricotz@ubuntu.com> librsvg-2.0: Switch to GIR This binding is still deprecated and it shipped upstream since 2.26.2. Despite that update it one last time to ship a proper vapi rather than an out-dated erroneous one. 2014-01-04 Luca Bruno <lucabru@src.gnome.org> codegen: Fix memory leak introduced by fe9beb82b6809 2014-01-04 Jesse van den Kieboom <jessevdk@gmail.com> girwriter: Derive gir namespace from base name Instead of using the full filename specified by --gir to derive the gir namespace, this patch uses only the base name of the file specified by --gir. https://bugzilla.gnome.org/show_bug.cgi?id=721452 2014-01-04 Luca Bruno <lucabru@src.gnome.org> girparser: Handle delegate aliases Fixes bug 667751 girparser: Fix some source reference when reporting errors after parsing gtk+-2.0, gtk+-3.0: Improve TextMark constructor with nullables and defaults 2013-12-23 Rico Tzschichholz <ricotz@ubuntu.com> build: Regenerate c-code on build-system changes build: More use of $(top_builddir) build: Clean up configure.ac and fix make (dist)check build: Add missing cflags/libs references of libgvc 2013-12-22 Jürg Billeter <j@bitron.ch> Release 0.23.1 2013-12-21 Maciej Piechotka <uzytkownik2@gmail.com> Allow using lambdas within enums. Fixes bug 659778 2013-12-21 Sergio Costas <raster@rastersoft.com> Add xcb-icccm bindings. Fixes bug 720225. 2013-12-17 Rico Tzschichholz <ricotz@ubuntu.com> gdk-3.0, gtk+-3.0: Update to 3.11.3 gio-2.0: Update to 2.39.2 2013-12-15 Maciej Piechotka <uzytkownik2@gmail.com> Handle the integers and enums in generic closure wrapper Handle edge-case when the one of generic parameters of delegate is an integer in closure or method. 2013-12-14 Philip Withnall <philip.withnall@collabora.co.uk> build: Fix a typo in a variable name in configure.ac https://bugzilla.gnome.org/show_bug.cgi?id=711590 2013-12-14 Marc-André Lureau <marcandre.lureau@gmail.com> codegen: use #if GLIB_CHECK_VERSION for init functions Tarballs with generated code should compile without warnings, and work with various versions of glib (assuming the rest of the code is correctly up to date, which is often the case if you don't use newer functions) https://bugzilla.gnome.org/show_bug.cgi?id=692218 2013-12-14 Luca Bruno <lucabru@src.gnome.org> analyzer: Fix critical when catch clause does not catch an ErrorType Based on patch by Severin Heiniger. Fixes bug 670806. 2013-12-14 Nathan Summers <rock@gimp.org> codegen: Fix crash vapi properties with no get body but with set body Fixes bug 657348. 2013-12-14 Richard Schwarting <aquarichy@gmail.com> libxml-2.0: Fix EntityDesc lookup and value_lookup cname Fixes bug 703083. 2013-12-14 Jesse van den Kieboom <jessevdk@gmail.com> Make Vala.Method._base_interface_method weak This fixes a circular reference for interface methods which have themselves as their base method. https://bugzilla.gnome.org/show_bug.cgi?id=712683 2013-12-12 Sergio Costas <raster@rastersoft.com> xcb: Major changes and fixes. Fixes bug 720225. 2013-12-11 Niclas Lockner <niclaslockner@gmail.com> glib-2.0: Added [DestroysInstance] to Thread.join() Fixes bug 720249. 2013-12-10 Evan Nemerson <evan@coeus-group.com> cogl-1.0: fix read_pixels pixels argument gtk-2.0, gtk-3.0: fix rgb_to_hsv argument directions 2013-12-04 Rico Tzschichholz <ricotz@ubuntu.com> atk: Update to 2.11.3 2013-11-28 Rico Tzschichholz <ricotz@ubuntu.com> libnotify: Switch to GIR 2013-11-27 Rico Tzschichholz <ricotz@t-online.de> libpeas-gtk-1.0: Add bindings based on 1.8.1 2013-11-24 Luca Bruno <lucabru@src.gnome.org> codegen: Zero length of arrays when transferring ownership This allows var data = (owned) aGenericArray.data; without later setting data.len = 0 manually. 2013-11-19 Rico Tzschichholz <ricotz@ubuntu.com> clutter-1.0: Update to 1.16.2 gtk+-3.0: Update to 3.11.2 2013-11-14 Rico Tzschichholz <ricotz@t-online.de> gdk-3.0, gtk+-3.0: Update to 3.11.1+ 2013-11-14 Rico Tzschichholz <ricotz@ubuntu.com> gio-2.0, gio-unix-2.0: Update to 2.39.1 2013-11-08 Philip Withnall <philip@tecnocode.co.uk> posix: Fix cname of NLItem This fixes the C type of variables of Vala type NLItem. Closes: https://bugzilla.gnome.org/show_bug.cgi?id=685039 2013-11-07 Rico Tzschichholz <ricotz@t-online.de> driver: Add matching VALA_0_XX defines to every driver This is needed to properly handle conditional sources and avoid parsing failures. 2013-11-05 Rico Tzschichholz <ricotz@ubuntu.com> vapi: Install packagekit-glib2 bindings 2013-11-04 Jesse van den Kieboom <jessevdk@gmail.com> Allow dynamic type registration of generated dbus proxy classes https://bugzilla.gnome.org/show_bug.cgi?id=711423 2013-11-03 Jesse van den Kieboom <jessevdk@gmail.com> gtk+ 3.0 vapi: make Gtk.Range.get_range_rect return rect https://bugzilla.gnome.org/show_bug.cgi?id=711337 2013-10-30 Rico Tzschichholz <ricotz@ubuntu.com> clutter-gst-1.0/2.0: Update to 1.6.0/2.0.8 driver: Add support for vala-0.24 2013-10-30 Rico Tzschichholz <ricotz@t-online.de> gio-2.0: Fix default-value warnings of Subprocess.communicate* 2013-10-29 Rico Tzschichholz <ricotz@ubuntu.com> gio-2.0: Update to 2.39.0+ packagekit-glib2: Update to 0.8.12 gtk+-3.0: Update to 3.11.0 Bump version suffix 2013-10-26 Luca Bruno <lucabru@src.gnome.org> gio-2.0: Update. New Notification and Subprocess api Based on patch by Florian Müllner. Fixes bug 710912. 2013-10-26 Luca Bruno <lucabru@src.gnome.org> Revert "gio-2.0: Fix uint8[]/char** types for contents parameters for g_file_[load|replace]_contents()" This reverts commit e4ef6fb72f560da385a09d262ef8afd2b64a1fc8. Fix memory leak when assigning an owned gvariant to an unowned variable Fixes bug 710882. 2013-10-26 Philip Withnall <philip.withnall@collabora.co.uk> glib-2.0: Fix type of g_hash_table_iter_next() parameters to always be gpointer https://bugzilla.gnome.org/show_bug.cgi?id=710868 gio-2.0: Fix uint8[]/char** types for contents parameters for g_file_[load|replace]_contents() https://bugzilla.gnome.org/show_bug.cgi?id=710867 2013-10-24 Ryan Lortie <desrt@desrt.ca> bindings: update libnotify binding Also add a new metadata for _get_server_caps() return value https://bugzilla.gnome.org/show_bug.cgi?id=710838 2013-10-23 Philip Withnall <philip.withnall@collabora.co.uk> gio-2.0: Add ‘throws’ to DBusObjectManagerClient.new[_for_bus]() https://bugzilla.gnome.org/show_bug.cgi?id=710643 2013-10-23 Rico Tzschichholz <ricotz@ubuntu.com> gtksourceview-3.0: Update to 3.10.1 2013-10-21 Luca Bruno <lucabru@src.gnome.org> Merge branch 'staging' Conflicts: vala/valagirparser.vala 2013-10-20 Luca Bruno <lucabru@src.gnome.org> girparser: Support new gir format (deprecated, doc-version, doc-deprecated) 2013-10-17 Luca Bruno <lucabru@src.gnome.org> Fix crash due to not copying a type 2013-10-12 Rico Tzschichholz <ricotz@ubuntu.com> gtk+-3.0: Fix output parameter of SymbolicColor.resolve 2013-10-12 Evan Nemerson <evan@coeus-group.com> gstreamer-1.0: fix functions which return floating references GStreamer uses the (transfer floating) annotation for these, which g-i recognizes as an alias for (transfer none), therefore there is no way to pick them up in vapigen. 2013-10-12 Richard Schwarting <aquarichy@gmail.com> libxml-2.0: add CCode type annotations for xmlChar* strings. Fixes bug 677359. 2013-10-12 Evan Nemerson <evan@coeus-group.com> gstreamer-video-1.0: make Info.finfo field nullable Fixes bug 709558. 2013-10-10 Rico Tzschichholz <ricotz@t-online.de> gtk+3.0: Mark region argument of *shape_combine_region nullable 2013-10-09 Evan Nemerson <evan@coeus-group.com> girparser: skip doc-version, -deprecated, and -stability These element aren't in GObject Introspection yet, but should be coming soon. Since we don't want to parse the docbook we'll just skip them instead of tryin to add the information to the VAPI. 2013-10-07 Timm Bäder <mail@baedert.org> gtkmodule: Throw error on [GtkChild] in non-[GtkTemplate] class If this happens, the author most probably just forgot to add the [GtkTemplate] attribute and we throw an error. gtkmodule: Throw an error if the ui resource has no template 2013-10-07 Luca Bruno <lucabru@src.gnome.org> Revert "Set parent_node and always copy datatype when assigned to code nodes." This reverts commit a09c9e93af0d64b9331c274de573465fe070b722. Fixes bug 709587. 2013-10-06 Luca Bruno <lucabru@src.gnome.org> Set parent_node and always copy datatype when assigned to code nodes. This is a delicate patch that fixes subtle memory corruption bugs in libvala users and the compiler itself. It might break some application, so this commit is open for testing. 2013-10-05 Evan Nemerson <evan@coeus-group.com> cogl-pango-1.0, libgdata: add missing dependencies sdl, sdl-image: remove default params preceding parass without defaults They cause a warning from valac, and you always have to provide values for them in Vala, so they really aren't doing any good. avahi-client: remove deprecated methods which throw errors. They were wrapper methods which caused a dependency on avahi-gobject which should not exist. They were deprecated several years ago with the goal of removing them at some point, and I think that time has come. vapi: Add missing has_type_id = false in non-GObject bindings. vapi: Remove trailing whitespace. sqlite3: add missing has_type_id = false annotations to enums. 2013-10-02 Luca Bruno <lucabru@src.gnome.org> Fix subtle bug in flowanalyzer that made the compiler crash By not copying the datatype the parent_node was overwritten. The bug was reproducible only with G_SLICE=always-malloc . 2013-09-30 Philip Withnall <philip@tecnocode.co.uk> gtk+-3.0: Mark Gtk.Application.remove_accelerator() parameter as nullable Closes: https://bugzilla.gnome.org/show_bug.cgi?id=709084 2013-09-29 Luca Bruno <lucabru@src.gnome.org> codegen: Inherit array_{length,null_terminated} from base parameter First commit to start inheriting ccode attributes of parameters from base parameters of base methods. Partially fixes bug 642885. 2013-09-29 Jürg Billeter <j@bitron.ch> Revert "codegen: Inherit array_{length,null_terminated} from base parameter" This reverts commit ebfe7b7411f413a8631fec22e704a0d8921f4417. 2013-09-29 Luca Bruno <lucabru@src.gnome.org> codegen: Inherit array_{length,null_terminated} from base parameter First commit to start inheriting ccode attributes of parameters from base parameters of base methods. Partially fixes bug 642885. 2013-09-24 Rico Tzschichholz <ricotz@ubuntu.com> gtk+-3.0: Update to 3.10.0 2013-09-24 Florian Brosch <flo.brosch@gmail.com> devhelp: Generate better keywords devhelp: Add missing keywords 2013-09-23 Jürg Billeter <j@bitron.ch> Release 0.22.0 2013-09-22 Arnel A. Borja <arnelborja@src.gnome.org> cairo: Fixes to RecordingSurface, PdfSurface and SvgSurface bindings Fixes bug 708564. 2013-09-21 Luca Bruno <lucabru@src.gnome.org> Support chain up to constructv functions. 2013-09-20 Florian Brosch <flo.brosch@gmail.com> glib-2.0: de-deprecate string.offset 2013-09-18 Rico Tzschichholz <ricotz@ubuntu.com> gtk+-3.0: Update to 3.9.16 2013-09-18 Florian Brosch <flo.brosch@gmail.com> libxml-2.0: Fix SchemaValidCtxt 2013-09-17 Richard Schwarting <aquarichy@gmail.com> Add a modified libgvc-vapi Contains the new CGraph API 2013-09-16 Rico Tzschichholz <ricotz@t-online.de> codegen: Don't define varidic helper *_constructv_full as static Avoid adding the static _constructv_full method to the header file of libraries since it is causing failures using -Wunused-function. 2013-09-15 Florian Brosch <flo.brosch@gmail.com> basic doclet: Add "wiki-index-name" Used by valadoc.org 2013-09-15 Evan Nemerson <evan@coeus-group.com> gio-2.0: re-add MenuModel.get_item_links G-I now marks this function as un-introspectable because it currently cannot deal with annotations on virtual methods without invokers, and annotations are required for this method because one of the arguments is a GHashTable. libsoup-2.4: fix symbol name in some deprecated since annotations Fixes bug 708047. bindings: update GIR-based GNOME bindings from jhbuild 2013-09-14 Florian Brosch <flo.brosch@gmail.com> Add support for cgraphs Based on patch by Richard Schwarting Fixes bug 703688. 2013-09-13 Jürg Billeter <j@bitron.ch> Release 0.21.2 2013-09-12 Rico Tzschichholz <ricotz@ubuntu.com> libnotify: Update to 0.7.6 2013-09-11 Rico Tzschichholz <ricotz@t-online.de> atspi-2: Update to 2.9.91 gtksourceview-3.0: Update to 3.9.91 2013-09-09 Evgeny Bobkin <evgen.ibqn@gmail.com> Add geocode-glib bindings 2013-09-09 Jamie McCracken <jamie.mccrack@gmail.com> Genie: Fixed use of print statements when variables are null 2013-09-06 Rico Tzschichholz <ricotz@ubuntu.com> girparser: Discover ref/unref methods Add ability to find ref/unref methods and add corresponding ccode attributes. Additionally rebuild all gir bindings to pick up the changes. https://bugzilla.gnome.org/show_bug.cgi?id=666796 2013-09-06 Rico Tzschichholz <ricotz@ubuntu.com> gtk+-2.0, gtk+-3.0: Fixes for Icon* related bindings and some deprecations 2013-09-05 Rico Tzschichholz <ricotz@ubuntu.com> vapi: Some more scope=async updates In addition to 3e20fd82c05daa60005aaff11411cd1814beb778 2013-09-04 Rico Tzschichholz <ricotz@ubuntu.com> libsoup-2.4: Actually it is SOUP_STATUS_ This fixes the previous commit. libsoup-2.4: Keep using SOUP_STATUS_CODE_ cprefix for KnownStatusCode This preserves backwards compatibility with <= 2.42.* gdk-3.0, gdk-x11-3.0, gtk+-3.0: Update to 3.9.14 2013-08-31 Jussi Kukkonen <jussi.kukkonen@intel.com> posix: Correct sockaddr.sa_data field name Fixes bug 707180. 2013-08-30 Rico Tzschichholz <ricotz@ubuntu.com> gstreamer-1.0: Update to 1.0.10 gdk-3.0, gtk+-3.0: Update to 3.9.13+ 2013-08-29 Rico Tzschichholz <ricotz@ubuntu.com> vala: Fix default-value warning 2013-08-29 Rico Tzschichholz <ricotz@t-online.de> gtk3: annotate nullable label args 2013-08-29 Rico Tzschichholz <ricotz@ubuntu.com> packagekit-glib2: Update to 0.8.10 2013-08-28 Jürg Billeter <j@bitron.ch> gio-2.0: remove default argument from g_file_load_contents Fixes bug 706761. girparser: accept empty tuple for parameters without initializer 2013-08-27 Florian Brosch <flo.brosch@gmail.com> Importer: Resolve c::*_finish methods gir-importer: Ignore <annotation> tags 2013-08-26 Luca Bruno <lucabru@src.gnome.org> Do not warn about non-default parameters for coroutines. Reopens bug 644241. 2013-08-26 Luca Bruno <lucabru@src.gnome.org> girparser: Support scope=async parameters. Based on patch by Evan. Fixes bug 704176. 2013-08-26 Rico Tzschichholz <ricotz@ubuntu.com> gedit: Update to 3.9.90 clutter-1.0: Update to 1.15.90 2013-08-25 Evan Nemerson <evan@coeus-group.com> json-glib-1.0: fix functions which return floating GVariants 2013-08-24 Luca Bruno <lucabru@src.gnome.org> Do not warn for non-default parameter if it's ellipsis 2013-08-24 Richard Wiedenhöft <richard.wiedenhoeft@gmail.com> posix.vapi: Added bindings for getaddrinfo Fixes bug 705204. posix.vapi: Added constant AF_UNSPEC Fixes bug 705204. 2013-08-24 Simon Werbeck <simon.werbeck@gmail.com> Warn if a parameter without default follows a parameter with default value Fixes bug 644241. 2013-08-24 Luca Bruno <lucabru@src.gnome.org> libarchive: Fix read_data_block C name Fixes bug 704612. 2013-08-24 Heiher <admin@heiher.info> Fix vala --version Fixes bug 673972 2013-08-23 Rico Tzschichholz <ricotz@ubuntu.com> gtksourceview-3.0: Update to 3.9.90 libsoup-2.4: Update to 2.43.90 2013-08-21 Rico Tzschichholz <ricotz@ubuntu.com> atk: Update to 2.9.4 libwnck-3.0: Update to 3.4.7 gdk-x11-3.0, gtk+-3.0: Update to 3.9.12 2013-08-15 Rico Tzschichholz <ricotz@ubuntu.com> gdk-3.0, gtk+-3.0: Update to 3.9.11++ 2013-08-12 Rico Tzschichholz <ricotz@t-online.de> gstreamer-1.0: Update to 1.0.9 2013-08-09 Rico Tzschichholz <ricotz@t-online.de> gio-unix-2.0: Update to 2.37.5 2013-08-08 Rico Tzschichholz <ricotz@t-online.de> vapi: Update GIDL/GIR binding lists 2013-08-08 Rico Tzschichholz <ricotz@ubuntu.com> gdk-3.0, gtk+-3.0: Update to 3.9.11+ 2013-08-07 Rico Tzschichholz <ricotz@ubuntu.com> codegen: Fix connect/disconnect of dynamic signals Make dynamic wrapper function return handler id for later disconnect. https://bugzilla.gnome.org/show_bug.cgi?id=705461 2013-08-07 Paolo Borelli <pborelli@gnome.org> gtk+-3.0: add gtk_list_box_prepend 2013-08-02 Ignacio Casal Quinteiro <ignacio.casal@nice-software.com> Make add_tick_callback callback owned 2013-08-02 Jürg Billeter <j@bitron.ch> Release 0.21.1 2013-08-01 Rico Tzschichholz <ricotz@t-online.de> gdk-2.0: Update to 2.24.20 2013-07-31 Rico Tzschichholz <ricotz@ubuntu.com> gtk+-2.0: Update to 2.24.20 gtk+-3.0: Update to 3.9.10 2013-07-30 Rico Tzschichholz <ricotz@ubuntu.com> glib-2.0: A bunch of enum/flags updates 2013-07-29 Rico Tzschichholz <ricotz@ubuntu.com> glib-2.0: Add various new symbols gtk+-3.0: Update to 3.9.9 2013-07-29 Michal Hruby <michal.mhr@gmail.com> glib-2.0: Add GSource methods introduced in glib 2.36 2013-07-27 Luca Bruno <lucabru@src.gnome.org> Align gtk templates to new gtk+/glib api Based on patch by ebassi. 2013-07-27 Rico Tzschichholz <ricotz@ubuntu.com> gdk-x11-2.0, gdk-x11-3.0: Update using 2.24.20, 3.9.8 2013-07-26 Rico Tzschichholz <ricotz@ubuntu.com> gio-2.0: Fix out params of MenuModel.get_item_attributes and .get_item_links https://bugzilla.gnome.org/show_bug.cgi?id=704931 poppler-glib: Update to 0.23.4 2013-07-25 Maciej Piechotka <uzytkownik2@gmail.com> Add CCode ordering attribute for interfaces 2013-07-25 Rico Tzschichholz <ricotz@ubuntu.com> gstreamer-1.0: Define ref/unref methods of MiniObject subclasses Also define some copy/free methods and include more fixes on the way. 2013-07-23 Rico Tzschichholz <ricotz@ubuntu.com> gio-2.0: Updated from g-i master 2013-07-23 Evgeny Bobkin <evgen.ibqn@gmail.com> scanner: Fix regression for the \x escape sequence Allow a variable hex digit length for \x with a low boundary set to 1 https://bugzilla.gnome.org/show_bug.cgi?id=704709 Add support for the \uXXXX escape sequence An additional checks to validate the escape sequences \xYY and \uYYYY were added, where Y represents a hex digit. https://bugzilla.gnome.org/show_bug.cgi?id=704709 2013-07-19 Rico Tzschichholz <ricotz@ubuntu.com> gstreamer-1.0: Fix TagList.get_boolean regression 2013-07-17 Rico Tzschichholz <ricotz@ubuntu.com> gdk-pixbuf-2.0: Update to 2.29.2 atk: Update to 2.9.3 gdk-3.0: Update to 3.9.8 gstreamer-1.0: Update to 1.0.8 girwriter: Fix handling of delegate params Regression of d74c5fb0654ef5985d763a7847c8013de781aac3 2013-07-16 Evan Nemerson <evan@coeus-group.com> gio-2.0: update to git master 2013-07-14 Luca Bruno <lucabru@src.gnome.org> codegen: Allow scope=async delegates to be used in vala code Fixes bug 703804 2013-07-10 Stef Walter <stefw@redhat.com> gtk+-2.0, gtk+-3.0: Properly tag ownership on FileChooser.add_filter Fixes bug 703816 2013-07-04 Raphael Isemann <teemperor@googlemail.com> posix: Add mlockall and munlockall Fixes bug 703617 2013-06-29 Ignacio Casal Quinteiro <icq@gnome.org> Update gtk+ 3 vapi to latest upstream 2013-06-28 Luca Bruno <lucabru@src.gnome.org> gtktemplate: Allow connecting signals of the template class itself 2013-06-27 Evan Nemerson <evan@coeus-group.com> gtk+-2.0, gtk+-3.0: TextBuffer.get_slice return value should be owned 2013-06-23 Luca Bruno <lucabru@src.gnome.org> poppler-glib: Drop unnecessary dependencies Thanks to tarnyko for the patch. Fixes bug 702873. 2013-06-22 Luca Bruno <lucabru@src.gnome.org> codegen: Don't convert GValue/GVariant on non-null cast Fixes bug 702846 2013-06-21 Luca Bruno <lucabru@src.gnome.org> Fix base access of properties Fixes another bug in 702736 Do not allow abstract, virtual and override at the same time for properties Fixes bug 702736 xmlparser: Support single quotes for attributes 2013-06-19 Rico Tzschichholz <ricotz@t-online.de> glib-2.0: Add version fields and check_version 2013-06-19 Evan Nemerson <evan@coeus-group.com> libusb-1.0: make Device a compact class, other minor changes 2013-06-17 Ignacio Casal Quinteiro <icq@gnome.org> gtk+ 3.0 vapi: mark listbox funcs as owned 2013-06-17 Stefano Facchini <stefano.facchini@gmail.com> gtk+-3.0: mark nullable arguments in ListBox API 2013-06-16 Ignacio Casal Quinteiro <icq@gnome.org> Update gtk+ 3.0 vapi to latest upstream 2013-06-15 Rico Tzschichholz <ricotz@ubuntu.com> doclets/htm: Properly use Valadoc.Html namespace Fix warnings accessing static members 2013-06-14 Rico Tzschichholz <ricotz@ubuntu.com> libvaladoc: Fix deprecation warning Fix deprecation warnings of gee-0.8 driver: Add support for vala-0.22 2013-06-13 Luca Bruno <lucabru@src.gnome.org> girwriter: Don't emit scope async and notified at the same time Fixes bug 702180 2013-06-13 Jürg Billeter <j@bitron.ch> Bump version suffix 2013-06-12 Luca Bruno <lucabru@src.gnome.org> Always initialize temp variables to fix fatal warnings of GCC 4.8 GCC 4.8 is being strict on possible uninitialized variables. This may or not may be a temporary solution. Always initializing variables shouldn't be a problem, apart missing possible bugs in the generated code. 2013-06-11 Luca Bruno <lucabru@src.gnome.org> codegen: Support non-auto property initializer in gobjects Fixes bug 701978 Add testcase for missed postconditions in methods returning void Add postconditions when exiting from methods returning void girwriter: Add scope="notified" to owned delegates Fixes bug 688012 2013-06-09 Luca Bruno <lucabru@src.gnome.org> Fix criticals due to commit a31a2a77dd60e70137448751 2013-06-06 Michal Hruby <michal.mhr@gmail.com> GIRWriter: Properly emit transfer-ownership=container 2013-06-05 Luca Bruno <lucabru@src.gnome.org> Warn about copying delegates being not supported rather than being discouraged Warn when owned keyword is not used for called_once delegates Fix object creation that have delegate parameters being called once Fix broken parens introduced by previous commits 2013-06-04 Luca Bruno <lucabru@src.gnome.org> Fix memory leak when defining async functions targeting glib < 2.20. Fixes bug 684182 Support owned keyword for delegates called once gtktemplate: Verbose error reporting when ui resource is not found gtktemplate: Static type checking of [GtkChild] gtktemplate: Static type checking of [GtkCallback] using gresources 2013-06-04 Avi Levy <avi.w.levy@gmail.com> Treat signal parameters that have G_TYPE_STRING type as strings. Fixes bug 701488 2013-05-28 Ignacio Casal Quinteiro <icq@gnome.org> gtk+ 3: headerbar subtitle can be null Update gtk+-3.0 to latest upstream 2013-05-23 Luca Bruno <lucabru@src.gnome.org> Add support for Gtk widget templates. Created a new codegen gtkmodule. 2013-05-21 Jürg Billeter <j@bitron.ch> Fix C code generated for local string array constants Fixes bug 646970. 2013-05-21 Jürg Billeter <j@bitron.ch> Set target_type for start and stop values of slice expressions This ensures type conversions are generated as needed. Fixes bug 698997. 2013-05-15 Evan Nemerson <evan@coeus-group.com> cairo: add lots of missing bindings 2013-05-12 Luca Bruno <lucabru@src.gnome.org> Add another unfortunate CCode ctype alias for type Add (unfortunate) CCode finish_function alias for function_name. 2013-05-10 Luca Bruno <lucabru@src.gnome.org> Fix crash introduced by previous patch. 2013-05-10 Luca Bruno <lucabru@src.gnome.org> codegen: Cast return values if [CCode (type)] is supplied Patch by avi.w.levy@gmail.com Fixes bug 699956. 2013-05-09 Luca Bruno <lucabru@src.gnome.org> Fix declaration of local variables with the same name in coroutines Fixes bug 699994. 2013-05-05 Luca Bruno <lucabru@src.gnome.org> Support calling async methods with varargs 2013-04-27 Evan Nemerson <evan@coeus-group.com> glib-2.0: fix typo in RWLock.reader_trylock 2013-04-26 Maciej Piechotka <uzytkownik2@gmail.com> After GLib 2.30 the GLib.AtomicInt.add returns int 2013-04-26 Anatol Pomozov <anatol.pomozov@gmail.com> Fix spelling errors using 'codespell' tool 2013-04-18 Maciej Piechotka <uzytkownik2@gmail.com> Add bindings to GLib.Once Add GLib.get_num_processors 2013-04-14 Nikolay Orlyuk <virkony@gmail.com> posix.vapi: add missing getopt part Fixes bug 694508. 2013-04-13 Paolo Borelli <pborelli@gnome.org> gtk+-3.0: fix gtk_builder_add_objects_from_resource 2013-04-10 Florian Brosch <flo.brosch@gmail.com> gir-importer: Add support for <instance-parameter> 2013-04-08 Jürg Billeter <j@bitron.ch> Release 0.20.1 2013-03-31 Evan Nemerson <evan@coeus-group.com> gtksourceview-2.0: fix SourceGutter.set_cell_{data,size}_func 2013-03-29 Simon Werbeck <simon.werbeck@gmail.com> Check parameter directions in inherited methods Fixes bug 695214. 2013-03-28 Simon Werbeck <simon.werbeck@gmail.com> Set correct parent_statement for MemberInitializer Fixes bug 603056. 2013-03-27 Evan Nemerson <evan@coeus-group.com> gtk+-3.0: make IconInfo a compact class instead of a GObject Fixes bug 695831. json-glib-1.0: the get_root() methods return values are nullable. 2013-03-26 Jürg Billeter <j@bitron.ch> Release 0.20.0 2013-03-25 Luca Bruno <luca.bruno@immobiliare.it> Support non-null cast for enum values Fixes bug 673879. 2013-03-22 Luca Bruno <lucabru@src.gnome.org> codegen: Destroy value of "as" cast in case the result is null Fixes bug 695671. 2013-03-20 Luca Bruno <lucabru@src.gnome.org> gtk+-2.0, gtk+-3.0: Fix TreePath.to_string and TreeView.get_visible_range Based on patch by shuerhaaken. Fixes bug 695812. 2013-03-20 Luca Bruno <lucabru@src.gnome.org> gtk+-2.0, gtk+-3.0: Fix IconView.get_visible_range Based on patch by shuerhaaken. Fixes bug 695833. 2013-03-19 Florian Brosch <flo.brosch@gmail.com> coding style changes 2013-03-18 Evan Nemerson <evan@coeus-group.com> glib-2.0, gtk+-3.0: make parameter string for goption nullable Fixes bug 696055. 2013-03-17 Paolo Borelli <pborelli@gnome.org> gtk+-3.0: make TreeView::set_search_entry nullable 2013-03-02 Jesse van den Kieboom <jessevdk@gnome.org> Updated gtk+-3.0 to lastest master https://bugzilla.gnome.org/show_bug.cgi?id=695017 2013-02-21 Evan Nemerson <evan@coeus-group.com> bindings: update GIR-based bindings 2013-02-20 Evan Nemerson <evan@coeus-group.com> girparser: support renaming fields in metadata Previously we allowed metadata to change field names, but did not set the cname CCode attribute, which would cause invalid C to be generated. 2013-02-20 Jürg Billeter <j@bitron.ch> Release 0.19.0 2013-02-19 Evan Nemerson <evan@coeus-group.com> gtk+-3.0: make drag_begin event arg nullable Fixes bug 691237. vapis: regenerate GIR-based bindings girparser: mark non-simpletype struct return values as nullable Functions which return structs currently generate incorrect C code since valac thinks the struct is actually an out argument. This patch will mark the return values of functions returning structs as nullable in order to prevent valac from adding extra arguments. 2013-02-18 Marcin Lewandowski <www@saepia.net> gstreamer-0.10: add some deprecation annotations Fixes bug 682207. 2013-02-18 Evan Nemerson <evan@coeus-group.com> glib-2.0: fix g_variant_new_fixed_array binding The elements argument needs to be a generic array, with the type depending on the element_type argument. 2013-02-17 Michael Hofmann <mh21@mh21.de> gtk+-3.0: Fix colors parameter of ColorChooser.add_palette Fixes bug 694037. 2013-02-17 Evan Nemerson <evan@coeus-group.com> glib-2.0: add StringBuilder.insert_len and overwrite* bindings 2013-02-16 Evan Nemerson <evan@coeus-group.com> girparser: warn instead of error on unrecognized metadata arguments girparser: add support for "floating" metadata argument vte-2.90: remove some obsolete metadata 2013-02-14 Evan Nemerson <evan@coeus-group.com> Remove libxklavier bindings. There hasn't been a release since they were added and it looks like libxklavier is going to be shipping them. The only user I'm aware of is Caribou, and they are already shipping a local copy. x11: set Event GIR name to XEvent 2013-02-11 Evan Nemerson <evan@coeus-group.com> glib-2.0: add missing C header for g_fopen girparser: be a bit more forgiving about unexpected elements in a GIR girwriter: fix name of *Class structs for nested types in GIRs Fixes bug 689500. 2013-02-11 shuerhaaken <interflug1@gmx.net> gtk+-3.0: hide extraneous CellArea.foreach parameter Fixes bug 693308. 2013-02-11 Evan Nemerson <evan@coeus-group.com> Regenerate many GIR-based bindings 2013-02-09 Martin Pitt <martinpitt@gnome.org> posix: Add binding for major(), minor(), makedev() Fixes bug 693411. posix: Fix superfluous array length argument for realpath() Fixes bug 693410. 2013-02-09 Evan Nemerson <evan@coeus-group.com> glib-2.0: use g_fopen for FileStream.open Fixes bug 691622. curses: make Curses.Color a struct with the correct cname Fixes bug 693456. 2013-02-08 Evan Nemerson <evan@coeus-group.com> libxml-2.0: revert 5fcabbfa x11: add VisualInfo bindings 2013-02-08 Richard Schwarting <aquarichy@gmail.com> libxml-2.0: add Buffer Fixes bug 677355. libxml-2.0: add HashTable Partially fixes bug 677355. libxml-2.0: Expose xmlBuffer as Xml.Buffer Partially fixes bug 677355. libxml-2.0: Expose xmlSetNs Fixes bug 677726. 2013-02-08 Evan Nemerson <evan@coeus-group.com> posix: add read_vectors and write_vectors Fixes bug 679035. vapigen.m4: emit error if no GOBJECT_INTROSPECTION_* macro is called Fixes bug 684275. x11: add has_destroy_function = false to WindowAttributes Fixes bug 690870. 2013-02-08 David Ma <dma724332@gmail.com> posix: add Flock struct Fixes bug 690871. 2013-02-08 Evan Nemerson <evan@coeus-group.com> x11: add Display.list_properties and XA_STRING Fixes bug 690905. 2013-02-08 Dan Callaghan <djc@djc.id.au> libxml-2.0: fix Xml.Dtd property cnames Fixes bug 692060. libxml-2.0: add xmlSearchNs and xmlSearchNsByHref Fixes bug 692061. 2013-02-08 Pierre Lamot <pierre.lamot@yahoo.fr> curses: add vprintw and vscanw bindings to Window Fixes bug 692748. 2013-02-08 Evan Nemerson <evan@coeus-group.com> libxml-2.0: add some schema-related bindings gdl-3.0: update to 3.7.3 Fixes bug 693127. 2013-02-07 Florian Brosch <flo.brosch@gmail.com> gtkdoc: Document implicit struct functions libvaladoc: Add Struct.copy_function_cname, Struct.destroy_function_cname gtkdoc: Avoid warnings for undocumented parameters gtkdoc: Improve docs for generics 0.20.x: Add support for [GenericAccessors] 0.18.x: Add support for [GenericAccessors] 0.14.x: Fix TypeParameter.base 0.16.x: Fix TypeParameter.base 0.18.x: Fix TypeParameter.base 0.20.x: Fix TypeParameter.base 2013-02-05 Florian Brosch <flo.brosch@gmail.com> gtkdoc: Improve documentation for _get and _set 2013-02-02 Jasper St. Pierre <jstpierre@mecheye.net> valagirparser: Ignore the new instance-parameter tag g-ir-scanner will now start emitting the instance parameter; since vala doesn't need this, just skip it. https://bugzilla.gnome.org/show_bug.cgi?id=693054 2013-02-02 Evan Nemerson <evan@coeus-group.com> clutter-1.0: fix Color.get_static return value 2013-01-22 Evan Nemerson <evan@coeus-group.com> glib-2.0: mark Thread.set_priority and Thread.foreach as deprecated 2013-01-18 Rico Tzschichholz <ricotz@t-online.de> codegen: Use equal method of base-struct for derived structs https://bugzilla.gnome.org/show_bug.cgi?id=690380 2013-01-11 Evan Nemerson <evan@coeus-group.com> clutter-1.0: undeprecate BinAlignment enum. 2013-01-10 Evan Nemerson <evan@coeus-group.com> clutter-1.0: avoid deprecation warning for BinLayout constructor 2013-01-08 Rico Tzschichholz <ricotz@t-online.de> gstreamer-1.0: Update to 1.0.5 2012-12-29 Rico Tzschichholz <ricotz@t-online.de> pango: Update to 1.32.5 2012-12-29 Luca Bruno <lucabru@src.gnome.org> posix: Add fchmod 2012-12-29 Rico Tzschichholz <ricotz@t-online.de> clutter-gtk-1.0: Update to 1.4.2 clutter-1.0: Update to 1.13.2 gstreamer-1.0: Update to 1.0.4 2012-12-20 Rico Tzschichholz <ricotz@t-online.de> x11: add some contansts and mark some enums as flags 2012-12-17 Jürg Billeter <j@bitron.ch> gtk+-3.0: Update to 3.6.2 2012-12-16 Rico Tzschichholz <ricotz@t-online.de> pixman-1: multiple fixes, mainly for Pixman.Image 2012-12-16 Evan Nemerson <evan@coeus-group.com> gdk-3.0: do not implicitly pass array length to property_change Fixes bug 689286. libxml-2.0: fix Html.Doc.new_no_dtd cname Fixes bug 689368. 2012-12-16 Rico Tzschichholz <ricotz@t-online.de> gobject-2.0: Update and fix some enums which are actually flags 2012-12-06 Luca Bruno <lucabru@src.gnome.org> gstreamer-interfaces-0.10: Fix cheader_filename of StreamVolume Based on patch by Reiner Merk. Fixes bug 689541. 2012-12-02 Luca Bruno <lucabru@src.gnome.org> resolver: Accept children of DeleteStatement Fixes bug 689464. 2012-12-02 Jan Dvořák <mordae@anilinux.org> linux: Make If* enums public Fixes bug 689466. 2012-12-02 Evan Nemerson <evan@coeus-group.com> atk: update bindings to account for changes made in atk 2012-12-01 Evan Nemerson <evan@coeus-group.com> glib-2.0: make MainContext.ref_thread_default return value owned 2012-11-30 Florian Brosch <flo.brosch@gmail.com> libvaladoc: Use --api-version instead of --version 2012-11-29 Luca Bruno <lucabru@src.gnome.org> Document --api-version in the man page 2012-11-29 Rico Tzschichholz <ricotz@t-online.de> driver: Drop support for vala-0.10/0.12 2012-11-29 Jürg Billeter <j@bitron.ch> Add --api-version option 2012-11-29 Luca Bruno <lucabru@src.gnome.org> libgsf-1: Use uint8[] for InputMemory creation methods Based on patch by Hodong Kim. Fixes bug 689026. 2012-11-29 Florian Brosch <flo.brosch@gmail.com> driver: Add support for vala-0.20 2012-11-28 Luca Bruno <lucabru@src.gnome.org> codegen: Fix passing nullable structs to non-nullable parameters Fixes bug 685177. 2012-11-28 Florian Brosch <flo.brosch@gmail.com> Fix make check for older valac versions 2012-11-27 Florian Brosch <flo.brosch@gmail.com> gee-0.8 gtkdoc-scanner: Add support for , ", ' 2012-11-25 Daiki Ueno <ueno@unixuser.org> atspi-2: Add new bindings Fixes bug 688442. 2012-11-25 Florian Brosch <flo.brosch@gmail.com> configure.in -> configure.ac 2012-11-25 Daiki Ueno <ueno@unixuser.org> libxklavier: Add new bindings Fixes bug 688358. 2012-11-25 Luca Bruno <lucabru@src.gnome.org> gstreamer-0.10: Fix Element.request_pad Based on patch by Marcin Lewandowski. Fixes bug 682208. 2012-11-25 Víctor Manuel Jáquez Leal <vjaquez@igalia.com> gstreamer-1.0: Mark argv as unowned in Gst.init_check() Fixes bug 689003. 2012-11-22 Luca Bruno <lucabru@src.gnome.org> libgsf-1: Fix type_id to match the unusual libgsf convention Fixes bug 688851. 2012-11-21 Luca Bruno <lucabru@src.gnome.org> gio-2.0: Add throws to DBusProxy.new and .create_for_bus Fixes bug 688815. 2012-11-21 Evan Nemerson <evan@coeus-group.com> glib-2.0: set GLib.GenericArray GIR name to PtrArray. girwriter: write GArray and GPtrArray to GIRs as arrays. 2012-11-20 Thomas Wood <thomas.wood@intel.com> glib-2.0: remove GLib.DateTime.add_milliseconds This function was removed before glib 2.26 was released. https://bugzilla.gnome.org/show_bug.cgi?id=688712 2012-11-19 Luca Bruno <lucabru@src.gnome.org> Support scope = "async" on parameters. This flag is still useful on delegates such as ThreadFunc that are always scope = "async" by default. The flag on the parameter will override the flag has been set on the delegate. libgsf-1: No array length for Infile.child_by_aname.names Fixes bug 688556. 2012-11-19 Florian Brosch <flo.brosch@gmail.com> Fix generic-api-test (out -> @out) libvaladoc: Avoid multiple imports libvaladoc: .valadoc-importer: Fix encoding issues libvaladoc/content: SourceCode: Strip leading and trailing empty lines 2012-11-17 Florian Brosch <flo.brosch@gmail.com> libvaladoc: .valadoc-importer: Add support for ::append and ::prepend 2012-11-15 Rico Tzschichholz <ricotz@t-online.de> gstreamer-1.0: update deps accordingly 2012-11-15 Evan Nemerson <evan@coeus-group.com> gio-2.0: assorted minor fixes 2012-11-14 Jürg Billeter <j@bitron.ch> gstreamer-1.0: Update to 1.0.2 2012-11-14 Jürg Billeter <j@bitron.ch> gtk+-3.0: Fix gtk_css_provider_get_named binding Fixes bug 688292. Reported-by: Pascal Garber <jumplink@gmail.com> 2012-11-13 Jürg Billeter <j@bitron.ch> Fix source reference of switch sections 2012-11-11 Jürg Billeter <j@bitron.ch> gtk+-3.0: Fix gtk_grid_attach_next_to binding Fixes bug 682477. codegen: Fix memory leak when chaining up in fundamental classes Fixes bug 684776. codegen: Fix g_simple_async_result_new in interface methods Fixes bug 684557. 2012-11-11 Sebastian Pölsterl <sebp@k-d-w.org> Added gstreamer-rtsp-server-1.0 bindings Fixes bug 687039. 2012-11-11 Jürg Billeter <j@bitron.ch> linux: Fix uinput_user_dev binding Based on patch by Pascal Garber. Fixes bug 687602. 2012-11-11 Andreas Fenkart <andreas.fenkart@streamunlimited.com> gstreamer-0.10: removed static from transition_next/current. Fixes bug 687807. 2012-11-11 Robert Ancell <robert.ancell@canonical.com> posix: Add nl_langinfo Fixes 685039. 2012-11-11 Simon Werbeck <simon.werbeck@gmail.com> Forbid `resize' method for multi-dimensional array Fixes bug 687943. 2012-11-11 Jürg Billeter <j@bitron.ch> gtk+-3.0: Add gtk_widget_has_grab binding Reported-by: Hans Baier <hansfbaier@googlemail.com> 2012-11-10 Jürg Billeter <j@bitron.ch> codegen: Retain array length for cast from/to generic array Fixes bug 687728. 2012-11-03 Arnel A. Borja <kyoushuu@yahoo.com> Fix build for Windows - Replace POSIX calls for spawning process with functions from Windows API when compiling for Windows - Add EXEEXT to valac and vapigen paths - Remove EXEEXT from scripts Fixes bug 685180. 2012-11-03 Evan Nemerson <evan@coeus-group.com> glib-2.0: add float.ROUNDS and RADIX 2012-11-01 Evan Nemerson <evan@coeus-group.com> glib-2.0: add Process.check_exit_status binding 2012-11-01 Florian Brosch <flo.brosch@gmail.com> importer: gir: Process callback comments 2012-10-26 Michal Hruby <michal.mhr@gmail.com> [PATCH] gtkdoc: Accept multiple *.so files 2012-10-24 Dmitry Vagin <dmitry2004@yandex.ru> posix: mark inet_ntop as nullable Fixes bug 678988. 2012-10-24 Evan Nemerson <evan@coeus-group.com> atk: fix Util.add_global_event_listener callback type Fixes bug 685552. 2012-10-23 Evan Nemerson <evan@coeus-group.com> gtk+-2.0, gtk+-3.0: assorted minor fixes 2012-10-22 Evan Nemerson <evan@coeus-group.com> gtk+-3.0: fix nullability of ColorChooserDialog constructor arguments gtk+-2.0, gtk+-3.0: make RadioButton radio_group_member args nullable 2012-10-21 Evan Nemerson <evan@coeus-group.com> clutter-1.0: remove "out" from several caller-allocates parameters 2012-10-20 Rico Tzschichholz <ricotz@t-online.de> tests: Add D-Bus test for dictionary passing 2012-10-20 Evan Nemerson <evan@coeus-group.com> gtk+-2.0, gtk+-3.0: improvements for Gtk.ScaleButton constructor args 2012-10-20 Jürg Billeter <j@bitron.ch> codegen: Fix fields initialized by functions returning an array Fixes bug 686336. 2012-10-20 Evan Nemerson <evan@coeus-group.com> gkt+-2.0, gtk+-3.0: fix Gtk.HSV.get_* arguments 2012-10-19 Jürg Billeter <j@bitron.ch> GDBus: Initialize array length variable in property get wrappers This fixes a gcc warning when building with -O3. Based on patch by Marc-Antoine Perennou. Fixes bug 686123. 2012-10-19 Evan Nemerson <evan@coeus-group.com> gtk+-3.0: mark Gtk.FontChooserDialog construtor arguments as nullable 2012-10-19 Jürg Billeter <j@bitron.ch> codegen: Do not call g_type_init when targeting GLib >= 2.36 Fixes bug 686222. codegen: Do not call g_thread_init when targeting GLib >= 2.32 2012-10-19 Evan Nemerson <evan@coeus-group.com> gtk+-2.0, gtk+-3.0: fix FileChooserButton.with_dialog argument type 2012-10-18 Evan Nemerson <evan@coeus-group.com> gtk+-2.0, gtk+-3.0: the parameter passed to Gtk.init can be null 2012-10-17 Florian Brosch <flo.brosch@gmail.com> libvaladoc: is_browsale: check parents 2012-10-16 Evan Nemerson <evan@coeus-group.com> glib-2.0: use g_async_queue_new_full instead of g_async_queue_new glib-2.0: mark envp parameters in GLib.Environ methods as nullable glib-2.0: add generic type arguments to PtrArray sort callbacks 2012-10-15 Florian Brosch <flo.brosch@gmail.com> libvaladoc: Mark TypeParameter as unbrowsable libvaladoc: Escape names if necessary 2012-10-14 Florian Brosch <flo.brosch@gmail.com> doclet/gtkdoc: Escape text and source code Accept {@inheritDoc} in comments without parent documentation 2012-10-11 Evan Nemerson <evan@coeus-group.com> glib-2.0: add missing parameters to Test.rand_double_range 2012-10-10 Evan Nemerson <evan@coeus-group.com> vapigen: support GIRDIRS variable in Makefile.vapigen 2012-10-09 Evan Nemerson <evan@coeus-group.com> gstreamer-0.10: add GIR namespace and version info glib-2.0: generic-related improvements to Tree 2012-10-09 Rico Tzschichholz <ricotz@t-online.de> gstreamer-1.0: update to 1.0.1 2012-10-09 Evan Nemerson <evan@coeus-group.com> libxml-2.0: add has_type_id = false to all enums 2012-10-04 Jürg Billeter <j@bitron.ch> Bump version suffix 2012-10-03 Jürg Billeter <j@bitron.ch> gtk+-3.0: Fix gtk_application_inhibit binding Fixes bug 685425. 2012-10-02 Florian Brosch <flo.brosch@gmail.com> Fix make distcheck Improve {@inheritDoc} 2012-10-01 Rico Tzschichholz <ricotz@t-online.de> bindings: update GIR-based bindings. 2012-09-24 Jürg Billeter <j@bitron.ch> Release 0.18.0 Report error for signals with variable argument lists Fixes bug 683922. 2012-09-16 Jürg Billeter <j@bitron.ch> Release 0.17.7 codegen: Do not use deprecated functions for lock statements Fixes bug 662810. 2012-09-16 Robert Ancell <robert.ancell@canonical.com> gtk+-3.0: Gtk.TextBuffer.create_tag should allow null tag name Fixes bug 684069. 2012-09-16 Rico Tzschichholz <ricotz@t-online.de> pango: set AttrIterator free_function 2012-09-16 Evan Nemerson <evan@coeus-group.com> girparser: add cname for constructors not prefixed with new_ bindings: update GIR-based bindings. clutter-1.0: upgrade to 1.11.15 linux: make backtrace_symbols return unowned You are supposed to free() the result of backtrace_symbols, but not each element in the array. The current binding will free each element which will likely result in a crash. Since we don't currently support owned arrays of unowned values (bug #571486), making the whole thing unowned and leaking (unless you call free manually) is the best we can do right now. 2012-09-15 Jamie McCracken <jamie.mccrack@gmail.com> x11: Add missing XA_STRING atom GENIE: Updated genie to include fixes from vala parser 2012-09-12 Rico Tzschichholz <ricotz@t-online.de> add libgnome-menu-3.0 bindings 2012-09-09 Jürg Billeter <j@bitron.ch> codegen: Fix memory management when assigning to captured parameters Fixes bug 683646. 2012-09-08 Jürg Billeter <j@bitron.ch> codegen: Fix memory leak with owned delegate parameters in async methods Fixes bug 683600. 2012-09-05 Evan Nemerson <evan@coeus-group.com> gtk+-3.0: mark ResizeMode.IMMEDIATE as deprecated Fixes bug 679771. gtk+-3.0: mark deprecated symbols as such 2012-09-04 Daiki Ueno <ueno@unixuser.org> x11: Add GenericEvent bindings Fixes bug 683310. 2012-09-03 Jürg Billeter <j@bitron.ch> Release 0.17.6 2012-09-03 Philip Withnall <philip@tecnocode.co.uk> gobject-2.0: Mark parameter of WeakRef() and WeakRef.set() as nullable Fixes bug 683227. 2012-09-03 Marc-André Lureau <marcandre.lureau@gmail.com> glib-2.0: Add g_utime binding Fixes bug 682115. 2012-08-29 Florian Brosch <flo.brosch@gmail.com> libvaladoc/html: Fix nullptr in write_documentation 2012-08-29 Jamie McCracken <jamie.mccrack@gmail.com> Genie: Fix functions can take only one Generic as argument (611191) 2012-08-24 Jürg Billeter <j@bitron.ch> Accept non-automatic properties with default value The default value is passed to the GParamSpec. The property will not implicitly be set to the default value during object construction unless it is a construct property. 2012-08-21 Rico Tzschichholz <ricotz@t-online.de> build: Fix the last commit, sorry :\ build: Fix make dist 2012-08-21 Florian Brosch <flo.brosch@gmail.com> icons: s/font: monospace/font-family: monospace libvaladoc: Accept error codes in @throws 2012-08-20 Florian Brosch <flo.brosch@gmail.com> tests: Add missing vapi 2012-08-20 Jürg Billeter <j@bitron.ch> Release 0.17.5 2012-08-20 Heiher <admin@heiher.info> x11: Add XImage bindings Fixes bug 681961. 2012-08-20 Alexandre Rostovtsev <tetromino@gentoo.org> vapigen.m4: use $vapigen_pkg_name as the name of the vapigen package We should use $vapigen_pkg_name, not "vapigen", as the name of the vapigen package; if the second parameter to VAPIGEN_CHECK is set, then $vapigen_pkg_name != "vapigen". Fixes bug 682203. 2012-08-20 Evan Nemerson <evan@coeus-group.com> Add gst-plugins-base-1.0 bindings. Add gstreamer-1.0 core bindings. girparser: support "experimental" in metadata 2012-08-18 Florian Brosch <flo.brosch@gmail.com> doclets/gtkdoc: Fix [Deprecated] 2012-08-17 Florian Brosch <flo.brosch@gmail.com> libvaladoc: Api.Class: Add is_compact 2012-08-17 Marcin Lewandowski <www@saepia.net> posix: Add getpwuid, getgrnam, and getgrgid bindings Fixes bug 682015. glib-2.0: Remove invalid get_name/set_name bindings from MainContext Fixes bug 681923. 2012-08-17 Florian Brosch <flo.brosch@gmail.com> libvaladoc/api: Add finalize and free function names to Api.Class doclets/gtkdoc: Register struct type macro/function 2012-08-17 Philip Withnall <philip@tecnocode.co.uk> doclets/gtkdoc: Handle ‘Deprecated’ attributes in the gtk-doc doclet On visiting a ‘Deprecated’ attribute, emit a ‘Deprecated’ header in the gtk-doc comment. This includes logic to warn the user if the ‘since’ or ‘replacement’ arguments are missing from the attribute, and suitable boilerplate if they are. This means that deprecated Vala symbols are now correctly listed in the gtk-doc deprecation index. 2012-08-17 Florian Brosch <flo.brosch@gmail.com> libvaladoc/api: Hide unbrowsable property getters and setters 2012-08-16 Philip Withnall <philip@tecnocode.co.uk> driver/*: Fix access modifiers for property getters/setters. doclets/gtkdoc: Fix generation of gtk-doc links to error codes They were being handled by the catch-all case, which doesn’t correctly add ‘CAPS’ to the link. 2012-08-16 Evan Nemerson <evan@coeus-group.com> pango: set free_function on Attribute to pango_attribute_destroy Fixes bug 682006. girparser: support symbol_type and instance_idx in metadata 2012-08-16 Philip Withnall <philip@tecnocode.co.uk> doclets/gtkdoc: Hide ‘_construct’ functions from gtk-doc documentation The main ‘my_class_construct’ C function is hidden already, but secondary ‘_construct’ functions for named constructors are not. This fixes that, adding the ‘_construct’ functions to gtk-doc’s ‘private’ symbol section. doclets/gtkdoc: Add a gtk-doc header for non-static delegates ‘user_data’ Non-static delegates take in a generated ‘user_data’ parameter, which needs some (boilerplate) documentation. doclets/gtkdoc: Add gtk-doc headers for property accessor ‘result_length’ parameters When getting or setting arrays, Vala generates input or output result length parameters, which need to have some (boilerplate) documentation. doclets/gtkdoc: Add a brief description to the gtk-doc comments for property accessors They were missing before. This includes boilerplate text about memory management of the input/return types in C. doclets/gtkdoc: Print a warning if gtk-doc sections will be missing a long description If a Valadoc comment is used as the description for a gtk-doc section, gtk-doc will emit a warning if only a short description is provided. This pseudo-forwards that warning to the Valadoc output (from the *-undocumented.txt file) so it doesn’t get lost. doclet/gtkdoc: Generate gtk-doc comments for class and interface structs This includes headers for abstract methods, as well as the ‘parent_class’ and ‘parent_iface’ fields. Add support for ‘standard’ and ‘private’ subsections in gtk-doc *-sections.txt This shuts gtk-doc up about a lot of symbols which aren’t documented by Valadoc’s gtk-doc doclet. This includes support for the standard and private symbols in classes, interfaces and error domains. 2012-08-16 Florian Brosch <flo.brosch@gmail.com> libvaladoc: Add metadata for gtkdoclet 2012-08-15 Jürg Billeter <j@bitron.ch> Support subclassing of GLib.Source Fix critical for static fields with initializers in compact classes gio-2.0: Fix g_dbus_message_get_body binding gio-2.0: Fix g_dbus_connection_send_message_with_reply binding codegen: Drop extra copy of captured unowned parameters in async methods codegen: Fix double free of captured owned parameters in async methods 2012-08-15 Florian Brosch <flo.brosch@gmail.com> tests: Update generic-api-test 2012-08-15 Philip Withnall <philip@tecnocode.co.uk> Fix tree builder processing of the static status of delegates The logic for specifying whether delegates are static was inverted. Tidy up appending of colons to gtk-doc comments gtk-doc prefers to have colons on the first line of every documentation comment. Link to classes rather than constructors if the constructors don’t exist If a link would resolve to a constructor, but that constructor doesn’t exist, link to the class itself instead. 2012-08-14 Philip Withnall <philip@tecnocode.co.uk> doclet/gtkdoc: Implement @throws taglet in the gtk-doc comment converter This now appends a paragraph to the gtk-doc comment explaining that particular throw value and description. 2012-08-14 Philip Withnall <philip@tecnocode.co.uk> doclet/gtkdoc: Use <code> rather than <blockquote> in for monospace in the gtkdoc doclet <blockquote> is a block-level element, but Valadoc’s ``backtick syntax`` for monospaced text is meant to be inline. Use <code> instead. Helps: https://bugzilla.gnome.org/show_bug.cgi?id=681721 2012-08-14 Florian Brosch <flo.brosch@gmail.com> Add tests for drivers 2012-08-14 Jürg Billeter <j@bitron.ch> Support static methods in generic classes 2012-08-13 Jürg Billeter <j@bitron.ch> Support virtual interface properties Fixes bug 681671. 2012-08-13 Florian Brosch <flo.brosch@gmail.com> Add tests for MarkupReader 2012-08-13 Evan Nemerson <evan@coeus-group.com> girparser: set CCode type_id for enumerations pango: switch to GIR Fixes bug 681424. 2012-08-13 Florian Brosch <flo.brosch@gmail.com> Add tests for libvaladoc/parser and gtkdoc-scanner 2012-08-10 Florian Brosch <flo.brosch@gmail.com> libvaladoc: Move Api.NodeType to api/nodetype.vala drivers: fix namespace comment selection libvaladoc: fix vala 0.14.x compatibility libvaladoc/html: Show all known sub-structs libvaladoc: register child structs libvaladoc: Drop deprecated methods libvaladoc: rename Api.Interface.get_all_implemented_interface_list to get_full_implemented_interface_list libvaladoc/html: Add "All known members inherited from " 2012-08-09 Florian Brosch <flo.brosch@gmail.com> gtkcommentparser: Fix --verbose gir-importer: Process implicit parameters 2012-08-08 Florian Brosch <flo.brosch@gmail.com> Test symbol resolution in closures 2012-08-08 Jürg Billeter <j@bitron.ch> Fix symbol resolution in closures girwriter: Fix index of length parameter for methods returning arrays Fixes bug 681411. 2012-08-07 Florian Brosch <flo.brosch@gmail.com> gtkdoc: accept %<numeric> libvaladoc/api: Fix memory cycle: method.base_method <> method 2012-08-07 Evan Nemerson <evan@coeus-group.com> bindings: mark bindings for deprecated libraries as such bindings: update gir based bindings libnl-3.0: change format of some comments to avoid confusing valadoc libpeas-1.0: add deps file Add gobject-introspection-1.0 bindings Fixes bug 572261. rest-0.7: add deps file with gio-2.0 2012-08-07 Florian Brosch <flo.brosch@gmail.com> driver/0.18.x: Add support for vala-0.17.4 2012-08-06 Florian Brosch <flo.brosch@gmail.com> libvaladoc/parser: add workaround for broken symbol resolver (valac 0.17.4) 2012-08-06 Jürg Billeter <j@bitron.ch> codewriter: Support fixed-length arrays Fixes bug 618689. 2012-08-06 Florian Brosch <flo.brosch@gmail.com> libvaladoc: accept @return in constructors libvaladoc: accept "Vala ??.??.??-dirty" as driver format 2012-08-06 Dmitry Vagin <dmitry2004@yandex.ru> posix: Fix in6_addr and in_addr bindings Fixes bug 679036. 2012-08-06 Tristan Brindle <t.c.brindle@gmail.com> Ignore .h files passed to compiler Fixes bug 663088. 2012-08-06 Jürg Billeter <j@bitron.ch> Release 0.17.4 Do not warn when calling .begin or .end on static async method 2012-08-06 Colin Walters <walters@verbum.org> building.txt: Update to mention vala-bootstrap 2012-08-06 Jürg Billeter <j@bitron.ch> posix: Do not access static members with instance references Fix incorrect warning on constructor chain up Do not require explicit `this' to access generated to_string method Fixes bug 614424. 2012-08-06 Jacques-Pascal Deplaix <jp.deplaix@gmail.com> vte, vte-2.90: Fix Vte.get_user_shell binding 2012-08-06 Jürg Billeter <j@bitron.ch> Warn when accessing static members with an instance reference Fixes bug 661034. Do not access static members with instance references 2012-08-06 Jürg Billeter <j@bitron.ch> Drop warnings about unused internal symbols when using fast vapi files It is impossible to determine whether internal symbols are used when using fast vapi files. Fixes bug 680218. 2012-08-06 Jürg Billeter <j@bitron.ch> Drop POSIX profile Drop Dova profile 2012-08-06 Jeremy Whiting <jpwhiting@kde.org> Support [GenericAccessors] attribute for interfaces This adds internal abstract functions to enable access to the element type from within a generic interface. These functions are implicitly implemented by all classes that implement interfaces with the [GenericAccessors] attribute. Fixes bug 640330. 2012-08-06 Florian Brosch <flo.brosch@gmail.com> error/warning message improvements 2012-08-02 Simon Werbeck <simon.werbeck@gmail.com> Allow trailing comma in initializer list Fixes bug 618858. 2012-08-02 Jürg Billeter <j@bitron.ch> Accept comments in preprocessing directives Fixes bug 680874. glib-2.0: Use async scope for GThreadFunc Fixes bug 680931. Support [CCode (scope = "async")] attribute for delegates 2012-08-02 Geert Jordaens <geert.jordaens@telenet.be> Improve error message for static access to instance variables Fixes bug 642254. 2012-08-02 Mikkel Kamstrup Erlandsen <mikkel.kamstrup@canonical.com> D-Bus: Support fd passing with GFileDescriptorBased Fixes bug 662815. 2012-08-02 Marc-André Lureau <marcandre.lureau@gmail.com> gobject-2.0: Set bind_property() default flag Use GLib.BindingFlags.DEFAULT by default. Fixes bug 676745. 2012-08-01 Daiki Ueno <ueno@unixuser.org> codegen: Fix signature of array_contains for inline arrays Fixes bug 672116. 2012-08-01 Jürg Billeter <j@bitron.ch> codegen: Fix GMutex finalization with GLib 2.32 Fixes bug 670366. 2012-08-01 Simon Werbeck <simon.werbeck@gmail.com> Recompute length when casting between array types This patch makes casting, e.g., from int[] to uchar[] work as expected by adjusting the array length field. Fixes bug 515408. 2012-08-01 Jürg Billeter <j@bitron.ch> codegen: Fix va_start argument in methods throwing errors Fixes bug 620673. tests: Improve test for bug 620673 2012-07-31 Jürg Billeter <j@bitron.ch> Deprecate implicit .begin for async methods D-Bus: Add missing gio.h include for GDBus error domains 2012-07-30 Siegfried-Angel Gevatter Pujals <siegfried.gevatter@collabora.co.uk> codegen: Fix variadic constructors Fixes bug 620675. 2012-07-28 Evan Nemerson <evan@coeus-group.com> Update GIR-based bindings. girparser: support class methods Fixes bug 666800. girparser: add GIR name attribute to reparented types 2012-07-27 Jens Georg <mail@jensge.org> vala.m4: Fix calling VALA_CHECK_PACKAGES multiple times If you call VALA_CHECK_PACKAGES more than once, each call would append its packages to the list of checked packages. Also fixes a leading whitespace error. Fixes bug 675389. 2012-07-27 Jens Georg <mail@jensge.org> vala.m4: Fix typo Fixes bug 675388. 2012-07-21 Florian Brosch <flo.brosch@gmail.com> doclets/devhelp: Imrpove page titles doclets/htm: Imrpove page titles 2012-07-21 Evan Nemerson <evan@coeus-group.com> gobject-2.0: add Closure.SIZE for sizeof(GClosure) gtk+-3.0: update to 3.5.9 2012-07-21 Florian Brosch <flo.brosch@gmail.com> libvaladoc: Improve plugin selection (#676453) libvaladoc: Avoid reparsing of comments libvaladoc/taglets: error/warning message improvements libvaladoc/html: Add methods to package overviews libvaladoc/api: Fix documentation for Method.is_override libvaladoc/api: Fix documentation for Method.is_static libvaladoc/api: Drop glib_error libvaladoc: Add context check for @return libvaladoc: Add context check for @throws libvaladoc: ErrorReporter: Drop ErrorType libvaladoc: @throws: Check for unthrown exceptions 2012-07-20 Evan Nemerson <evan@coeus-group.com> gnome-keyring-1: deprecate in favor of bindings distributed upstream gio-2.0: make DataInputStream.read_line*.length default to null 2012-07-18 Richard Schwarting <aquarichy@gmail.com> glib-2.0: Add g_test_fail binding Fixes bug 679361. 2012-07-18 Jürg Billeter <j@bitron.ch> udisks2: Regenerate gdk-pixbuf-2.0: Regenerate Fixes bug 680060. girparser: Fix async creation methods throwing errors 2012-07-18 Simon Werbeck <simon.werbeck@gmail.com> Support 'using' directive with nested namespace in fast-vapi Fixes bug 672960. 2012-07-18 Jürg Billeter <j@bitron.ch> Fix async object creation expressions Fixes bug 680063. codegen: Fix access to null-terminated array properties Fixes bug 623518. 2012-07-18 Sébastien Wilmet <swilmet@src.gnome.org> glib-2.0: add string.get_prev_char() This is the opposite of string.get_next_char(). There is a difference though, to be more convenient in a loop: get_next_char() returns the current chararcter, and the next index. get_prev_char() returns the previous character, and the previous index. Fixes bug 655185. 2012-07-17 Florian Brosch <flo.brosch@gmail.com> libvaladoc/api: Add missing parameters to signals 2012-07-16 Jürg Billeter <j@bitron.ch> Release 0.17.3 gtk+-2.0, gtk+-3.0: Fix gtk_selection_data_get_targets binding Fixes bug 679830. codegen: Fix conversion from generic pointer to long integer Fixes bug 660621. Require and target GLib >= 2.18 This allows valac to use gintptr and guintptr. The next stable release of vala will happen four years after the release of GLib 2.18.0. 2012-07-12 Maciej Piechotka <uzytkownik2@gmail.com> Merge attributes on merge of namespace On merge the attribute of second namespace were silently ignored. This patch treats them as they were specified sequentially. Fixes bug 666478. 2012-07-12 Maciej Piechotka <uzytkownik2@gmail.com> codegen: Fix array move when the areas don't overlap Fixes bug 667452. 2012-07-03 Robert Ancell <robert.ancell@canonical.com> gtk+-3.0: Fix gtk_application_add_accelerator nullable parameter 2012-06-28 Dmitry Vagin <dmitry2004@yandex.ru> posix: fix inet_ntop binding, clean up some style issues Fixes bug 678988. 2012-06-26 Dmitry Vagin <dmitry2004@yandex.ru> libpq: fix freeing of Postgres.Notify Fixes bug 678910. 2012-06-26 Evan Nemerson <evan@coeus-group.com> gio-2.0: fix Settings.bind_with_mapping This method is skipped in the GIR because of the shared user_data parameter. Vala doesn't support this, either, so to get around it we have to set has_target = false on the delegates and pass the void* manually. This also changes the names of the relevant delegates so there is no collision if/when the issue is resolved in GIO. 2012-06-26 Jürg Billeter <j@bitron.ch> girparser: Fix criticals on varargs functions girparser: Fix criticals when encountering async creation methods Fix crash due to incorrect copy of attribute list Fixes bug 678824. 2012-06-26 Evan Nemerson <evan@coeus-group.com> gdk-pixbuf-2.0: remove some obsolete metadata 2012-06-25 Evan Nemerson <evan@coeus-group.com> GIR parser: allow setting async finish functions in GIR GIR parser: add default value to GCancellable arguments when possible 2012-06-25 Florian Müllner <fmuellner@gnome.org> vapi: Add missing GVariantTypes to glib-2.0 2012-06-25 Alexander Larsson <alexl@redhat.com> Update vapi file for latest gtk+ git master 2012-06-24 Evan Nemerson <evan@coeus-group.com> codegen: allow integer-derived types as generic arguments Fixes bug 677658. 2012-06-24 Jürg Billeter <j@bitron.ch> GAsync: Support async creation methods Fixes bug 659886. codegen: Bring object creation implementation closer to method call gio-2.0: Mark AsyncInitable.init_async as virtual 2012-06-24 Evan Nemerson <evan@coeus-group.com> Generate correct unref expressions for subtypes of special cases Fixes bug 617377. 2012-06-24 Jürg Billeter <j@bitron.ch> girwriter: Write return value before parameters Fixes bug 669552. gtk+-2.0, gtk+-3.0: Fix gtk_widget_style_get_property binding Fixes bug 671896. 2012-06-24 Jürg Billeter <j@bitron.ch> Report error when accessing constants of outer methods This is planned to be supported. https://bugzilla.gnome.org/show_bug.cgi?id=678617 2012-06-24 Jürg Billeter <j@bitron.ch> Release 0.17.2 2012-06-23 Jürg Billeter <j@bitron.ch> codegen: Fix memory leak accessing automatic property with owned getter Fixes bug 678630. codegen: Fix line directives for ref_sink Fixes bug 678237. 2012-06-23 Evan Nemerson <evan@coeus-group.com> codegen: use glib macros instead of trying to guess correct names Fixes bugs 675433, 673707, and 675364. 2012-06-22 Evan Nemerson <evan@coeus-group.com> libgda-4.0, libgda-report-4.0, librsvg-2.0: deprecate These libraries now distribute Vala bindings upstream which should be preferred over those distributed with Vala. vapigen: support deprecated namespace annotations in metadata files Give priority to unversioned vapi directory This allows bindings distributed with upstream libraries to be prioritized over bindings distributed with Vala. 2012-06-20 Evan Nemerson <evan@coeus-group.com> glib-2.0: make GLib.Pid inherit from int Partially fixes bug 678420. vapigen.m4: add an argument for the default value The new argument allows people to specify a default value for enabling Vala API generation (the default default value remains "auto"). This is to accomodate projects, such as librsvg, which want more predictable builds. 2012-06-17 Evan Nemerson <evan@coeus-group.com> gdk-3.0: Gdk.EventKey does not have a GType Fixes bug 678217. 2012-06-16 Evan Nemerson <evan@coeus-group.com> bindings: update GIR-based bindings 2012-06-14 Florian Brosch <flo.brosch@gmail.com> driver/0.18.x: Add support for vala-0.17.1+ 2012-06-14 Jürg Billeter <j@bitron.ch> codegen: Fix .begin on async methods returning structs gtk+-3.0: Fix gtk_entry_get_text_area bindings 2012-06-13 Sam Thursfield <ssssam@gmail.com> gio-2.0: make Drive and Volume get_sort_key method virtual 2012-06-13 Evan Nemerson <evan@coeus-group.com> gdk-x11-2.0, gdk-x11-3.0: fix X11Display.broadcast_startup_message Fixes bug 677986. clutter-1.0: update bindings to latest git, remove obsolete data girparser: handle multiple symbol prefixes 2012-06-12 Evan Nemerson <evan@coeus-group.com> girparser: allow setting base_type of boxed types in metadata Fixes bug 677906. 2012-06-12 Michal Hruby <michal.mhr@gmail.com> girwriter: Use transfer-ownership=none for InitiallyUnowned based constructors 2012-06-11 Alberto Ruiz <alberto.ruiz@canonical.com> bindings: Add gir_namespace and gir_version to dbus-glib-1.vapi 2012-06-09 Evan Nemerson <evan@coeus-group.com> clutter-1.0: update to latest git Fixes bug 669815. 2012-06-08 Thijs Vermeir <thijsvermeir@gmail.com> codegen: check return value before ref_sink the value When a function is expected to give back a floating reference, the caller is trying to ref_sink the reference after calling this function. But when the function fails and returns NULL, the ref_sink function is still called. This can lead to a runtime warning as the ref_sink function is not expecting a NULL value. Additionally remove all ref_sink_function_void, as this is only for C convenience. 2012-06-08 Evan Nemerson <evan@coeus-group.com> gtk+-3.0: update to 3.5.5 Fixes bug 674090. gtk+-2.0, gtk+-3.0: include necessary headers for IMContext(Info) types Fixes bug 635664. gtk+-2.0, gtk+-3.0: make TreeView.get_tooltip_context.x and y ref Fixes bug 669507. 2012-06-08 Robert Ancell <robert.ancell@canonical.com> gtk+-3.0: Gtk.Scrollbar constructor allows null adjustment Fixes bug 669516. 2012-06-08 David King <amigadave@amigadave.com> gtk+-2.0, gtk+-3.0: fix Gtk.test_init Fixes bug 669767. 2012-06-08 Jesse van den Kieboom <jesse.vandenkieboom@epfl.ch> gtk+-2.0, gtk+-3.0: add is_ref annotation for TreeStore.remove Fixes bug 675402. Added is_out annotation for StyleContext.lookup_color Fixes bug 675403. 2012-06-08 Evan Nemerson <evan@coeus-group.com> gtk+-3.0: hide SelectionData.get_data_with_length length parameter Fixes bug 676849. gtk+-3.0: add information to generate 2d0e7f49 dbus-glib-1: add dbus_g_connection_open binding Fixes bug 622043. 2012-06-08 Alexander Kurtz <kurtz.alex@googlemail.com> x11: Enable some fields which were previously commented out. https://bugzilla.gnome.org/show_bug.cgi?id=669374 2012-06-08 Evan Nemerson <evan@coeus-group.com> gstreamer-0.10: correct type id of Gst.TypeFindFactory Partially fixes bug 675364. 2012-06-08 Richard Schwarting <aquarichy@gmail.com> libxml-2.0: add missing cnames to some Doc fields Fixes bug 677354. 2012-06-08 Evan Nemerson <evan@coeus-group.com> gdk-3.0: mark Gdk.Atom as derived from uint 2012-06-06 Colin Walters <walters@verbum.org> autogen.sh: Honor NOCONFIGURE=1 See http://people.gnome.org/~walters/docs/build-api.txt 2012-06-06 Evan Nemerson <evan@coeus-group.com> glib-2.0: add ThreadPool.with_owned_data and ThreadPool.add This allows for more intuitive use of ThreadPool. The old bindings are marked as deprecated but kept in place to maintain backwards compatibility. Fixes bug 676741. gstreamer-0.10: fix Bus.create_watch return value type 2012-06-05 Jacques-Pascal Deplaix <jp.deplaix@gmail.com> vte, vte-2.90: fix Vte.Terminal.match_check binding Fixes bug 676882. 2012-06-05 Thijs Vermeir <thijsvermeir@gmail.com> gstreamer-base-0.10: fix gst_push_src_create binding gstreamer-video-0.10: fix gst_video_get_size_from_caps binding 2012-06-03 Richard Schwarting <aquarichy@gmail.com> libxml-2.0: add SaveCtxt bindings Partially fixes bug 677355. 2012-06-02 Jürg Billeter <j@bitron.ch> Release 0.17.1 codegen: Fix assertion failure on empty string switch statement Fixes bug 677205. Improve assertion messages Fixes bug 658825. Use SourceLocation in SourceReference GVariant: Fix memory leak when boxing and unboxing variants Fixes bug 674201. gnome-keyring-1: Fix gnome_keyring_item_get_info_sync binding Fixes bug 677256. codegen: Fix infinite recursion when using lambda in destructor Fixes bug 677261. glib-2.0: Fix typo in FileSeek attribute 2012-06-01 Evan Nemerson <evan@coeus-group.com> glib-2.0: set FileSeek cname to "int" 2012-05-31 Jürg Billeter <j@bitron.ch> Add --enable-gobject-tracing option Inserts g_object_set_data (object, "vala-creation-function", METHOD) after object creation. 2012-05-30 Jürg Billeter <j@bitron.ch> gio-2.0: Fix g_mount_get_sort_key binding Fixes bug 677073. 2012-05-30 Evan Nemerson <evan@coeus-group.com> bindings: update numerous bindings to latest versions clutter-gtk-1.0, gdk-pixbuf-2.0, gio-2.0, json-glib-1.0, libgdata, libsoup-2.4, libwnck-3.0, and mx-1.0 2012-05-29 Jürg Billeter <j@bitron.ch> glib-2.0: Include glib/gstdio.h when using DirUtils or Stat 2012-05-29 Alexander Larsson <alexl@redhat.com> Update clutter vapi to final Clutter 1.10. 2012-05-28 Michal Hruby <michal.mhr@gmail.com> gdk-pixbuf-2.0: Rename take_data to with_unowned_data glib-2.0: Add Bytes.new_with_owner with an owned generic argument 2012-05-25 Evan Nemerson <evan@coeus-group.com> gdk-3.0, libsoup-2.4, poppler-glib, rest-0.7, vte-2.90: update 2012-05-25 Zeeshan Ali (Khattak) <zeeshanak@gnome.org> gdk-pixbuf-2.0: Change ownership of Pixbuf.from_data.data This also adds a Pixbuf.take_data which behaves like the old version. This can be helpful for avoiding unnecessary copies, but is easy to get wrong. Thanks to Patryk Zawadzki <patrys@pld-linux.org> for help in finding this issue out. Fixes bug 676695. 2012-05-25 Michal Hruby <michal.mhr@gmail.com> glib-2.0: Add a few Source methods 2012-05-25 Jürg Billeter <j@bitron.ch> codegen: Fix capturing element variable of foreach without iterator Support virtual interface signals Fixes bug 676802. 2012-05-23 Marc-André Lureau <marcandre.lureau@gmail.com> glib-2.0: annotate nullable GLib.Uri arguments and return values g_uri_*() functions can take null values, return null as a normal operation, ex: parse_scheme() returns null when no scheme... https://bugzilla.gnome.org/show_bug.cgi?id=676609 2012-05-22 Evan Nemerson <evan@coeus-group.com> posix: add statvfs and fstatvfs function bindings statvfs is called statvfs_exec since just using statvfs would conflict with the existing statvfs type. 2012-05-14 Alexander Larsson <alexl@redhat.com> Add direct vfunc accessors for Widget.get_preferred_height/width These are available as get_preferred_height_internal and get_preferred_width_internal similarly to the existing get_preferred_height_for_width_internal and get_preferred_width_for_height_internal methods. 2012-05-13 Aaron Andersen <aaron@fosslib.net> posix: Add parse and to_string methods and string.printf Fixes bug 666436. 2012-05-10 Colin Walters <walters@verbum.org> build: Fix regression in previous commit build: Note that we don't support srcdir != builddir 2012-05-08 Florian Brosch <flo.brosch@gmail.com> libvaladoc/html: Turn namespace/package-notes into links 2012-05-06 Evan Nemerson <evan@coeus-group.com> gtk+-2.0, gtk+-3.0: make TextTag constructor's parameter nullable Change permissions on a lot of files Many files which have no business being executed were marked as executable. All files (except for autogen.sh and tests/testrunner.sh) are now 0664 and directories are 0775. 2012-05-05 Florian Brosch <flo.brosch@gmail.com> Add support for valac 0.18.0 2012-05-05 Philip Flarsheim <philip.flarsheim@gmail.com> glib-2.0: add Hmac bindings Fixes bug 670243. 2012-05-05 Evan Nemerson <evan@coeus-group.com> gobject-2.0: add Type.{get,set}_qdata methods Fixes bug 673392. gio-2.0: set error domain in metadata instead of custom vala Fixes bug 669497. gio-2.0: update to git master 2012-05-04 Evan Nemerson <evan@coeus-group.com> rest-0.7: update to git master Fixes bug 670488. 2012-04-30 Evan Nemerson <evan@coeus-group.com> gsl: correct MultifitLinearWorkspace construct/free C names Fixes bug 670838. 2012-04-30 Jesus Menendez-Castellano <jesus.menendez.castellano@gmail.com> posix: add execv(p) and sigqueue methods, make sigval_t a simple type Fixes bug 673391. 2012-04-30 Christian Persch <chpe@gnome.org> Use correct variable name to add vapigen directories Fixes bug 675097. 2012-04-29 Luca Bruno <lucabru@src.gnome.org> glib-2.0: Move Unicode* and NormalizeMode enums under GLib Fixes bug 675082. 2012-04-28 Jürg Billeter <j@bitron.ch> Release 0.17.0 codegen: Fix profiling for recursive methods glib-2.0: Update GUnicodeScript and GUnicodeBreakType bindings Fixes bug 674660. 2012-04-26 Jürg Billeter <j@bitron.ch> glib-2.0: Use correct GTest*Func bindings on GLib >= 2.26 2012-04-21 Robert Ancell <robert.ancell@canonical.com> posix: Add stat fields for high precision access/modification/status change timestamps (POSIX.1-2008) 2012-04-20 Jürg Billeter <j@bitron.ch> Add support for [Profile] method attribute This allows simple method-level profiling. Requires GCC. 2012-04-18 Rodney Dawes <dobey.pwns@gmail.com> vala.m4: Add VALA_CHECK_MODULES and VALA_PROG_VAPIGEN Fixes bug 642301. 2012-04-12 Robert Ancell <robert.ancell@canonical.com> posix: Add utimensat and futimens bindings 2012-04-11 Jürg Billeter <j@bitron.ch> glib-2.0: Fix return type of GTraverseFunc binding 2012-04-08 Florian Brosch <flo.brosch@gmail.com> driver: Trim lines in *.dep files 2012-04-07 Jürg Billeter <j@bitron.ch> posix: Add ffs binding 2012-04-05 Luca Bruno <lucabru@src.gnome.org> gtk+-2.0, gtk+-3.0: Fix TargetList.add_table binding Based on patch by Axel FILMORE. Fixes bug 673117. 2012-03-30 Jürg Billeter <j@bitron.ch> codegen: Generate typedefs for boolean, integer, and floating types Bump version suffix 2012-03-26 Florian Brosch <flo.brosch@gmail.com> libvaladoc: Fix typo in ValadocDocumentationScanner libvaladoc: documentation fixes libvala: Add support for libvala-0.16 2012-03-26 Jürg Billeter <j@bitron.ch> Release 0.16.0 glib-2.0: Add g_dir_make_tmp binding Fixes bug 672846. 2012-03-21 Jürg Billeter <j@bitron.ch> codegen: Fix delegate target C name for static fields Fixes bug 671110. 2012-03-17 Jürg Billeter <j@bitron.ch> glib-2.0: Hide Thread constructors when targeting GLib < 2.32 Fixes bug 672284. 2012-03-11 Alberto Ruiz <alberto.ruiz@canonical.com> glib-2.0: Adds PREFIX_ERROR_POSITION to GLib.MarkupParseFlags 2012-03-11 Alberto Ruiz <aruiz@gnome.org> glib-2.0: Adds GLib.MarkupParseContext.get_user_data () Fixes bug #671749 2012-03-09 Jürg Billeter <j@bitron.ch> Add udisks2 bindings 2012-03-09 Luca Bruno <lucabru@src.gnome.org> gtk+-3.0: Fix autogeneration of ColorButton.get_rgba Apologies for approving commit 51044a92ed44776e6. 2012-03-09 Luca Bruno <lucabru@src.gnome.org> gio-2.0: Mark TlsCertificate as a concrete class Keep the class concrete for backward compatibility. Fixes bug 671459. 2012-03-06 Robert Ancell <robert.ancell@canonical.com> gtk+-3.0: Fix output parameter of Gtk.ColorButton.get_rgba Fixes bug 669386. 2012-03-06 Luca Bruno <lucabru@src.gnome.org> glib-2.0: Add generic to ThreadPool.set_sort_function callback Thanks to Paul Jakma for the patch. Fixes bug 670205. 2012-03-06 Aaron Andersen <aaron@fosslib.net> posix: Fix several string functions Fixes bug 671309. 2012-03-06 Luca Bruno <lucabru@src.gnome.org> gtk+-2.0, gtk+-3.0: Unset virtual to Container.forall Fixes bug 671394. 2012-02-27 Florian Brosch <flo.brosch@gmail.com> libvaladoc/html: Sort subnamespaces in navis 2012-02-26 Florian Brosch <flo.brosch@gmail.com> libvaladoc: gir-importer: Error reporting improvements doclet/devhelp: Add name="" to <book> 2012-02-25 Jürg Billeter <j@bitron.ch> Release 0.15.2 gtk+-3.0: Add Widget.get_preferred_width_for_height_internal 2012-02-24 Jens Georg <mail@jensge.org> libsoup2.4: Fix arguments for MessageHeaders.get_range https://bugzilla.gnome.org/show_bug.cgi?id=670602 2012-02-23 Jürg Billeter <j@bitron.ch> gdk-3.0: Fix gdk_window_destroy binding again 2012-02-21 Stefano Debenedetti <ste@demaledetti.net> posix: Add SockAddrIn6, In6Addr and inet_pton Fixes bug 670492. 2012-02-17 Luca Bruno <lucabru@src.gnome.org> glib-2.0: Make SourceFuncs a struct Thanks to Paula Jakma for the patch. Fixes bug 669756. 2012-02-15 Florian Brosch <flo.brosch@gmail.com> valadoc: LinkHelper: turn get_package_link into a virtual method 2012-02-13 Evan Nemerson <evan@coeus-group.com> glib-2.0: add g_thread_new and g_thread_try_new bindings 2012-02-12 Evan Nemerson <evan@coeus-group.com> gtk+-3.0: update to 3.3.15 2012-02-11 Luca Bruno <lucabru@src.gnome.org> gio-2.0: Include gunixfdlist.h for UnixFDList 2012-02-11 Jens Georg <mail@jensge.org> gstreamer-0.10: Add returns_floatin_reference to Element.make_from_uri https://bugzilla.gnome.org/show_bug.cgi?id=669166 2012-02-10 Luca Bruno <lucabru@src.gnome.org> codegen: Allow usage of gtype structs inheriting non-gtype struct The behavior of type_id is different, but get/set/take/marshaller aren't as specific as type_id. Therefore this patch enhances without breaking. Fixes bug 669604. 2012-02-10 Evan Nemerson <evan@coeus-group.com> Support --target-glib argument 2012-02-10 Florian Brosch <flo.brosch@gmail.com> libvaladoc: mark @deprecated as deprecated libvaladoc: docparser: Fix invalid cast in lists 2012-02-10 Evan Nemerson <evan@coeus-group.com> glib-2.0: add some missing deprecation information 2012-02-09 Luca Bruno <lucabru@src.gnome.org> gio-2.0: send_message_with_reply.out_serial is not out in vala Fixes a regression introduced by the switch to GIR. Support initializer list for structs that have a base type Fixes bug 669580. 2012-02-08 Jesse van den Kieboom <jesse.vandenkieboom@epfl.ch> Added bindings for Object.new_valist https://bugzilla.gnome.org/show_bug.cgi?id=669654 Added bindings for HashTable<K,V>.foreach_remove https://bugzilla.gnome.org/show_bug.cgi?id=669653 Added error when not exporting any namespaces for GIR https://bugzilla.gnome.org/show_bug.cgi?id=669551 2012-02-07 Florian Brosch <flo.brosch@gmail.com> gtkdoc-renderer: Fix broken escapes gtkdoc-renderer: Avoid possible \n in signal/property-links 2012-02-07 Luca Bruno <lucabru@src.gnome.org> gdk-pixbuf-2.0: Fix regression against PixbufSaveFunc The regression was introduced by the switch to gir. Fixes bug 669518. 2012-02-06 Luca Bruno <lucabru@src.gnome.org> codegen: Fix C warning when passing lambda free functions Fixes bug 663651. 2012-02-06 Alexander Kurtz <kurtz.alex@googlemail.com> sdl: Make AudioSpec a struct, then fix Audio.open(), load() and mix() Fixes bug 669279. 2012-02-06 Luca Bruno <lucabru@src.gnome.org> codegen: Add support for delegate_target_cname in CCode 2012-02-05 Philip Withnall <philip@tecnocode.co.uk> vapi: Add glib-unix.h functions to glib-2.0.vapi To bind the things in glib-unix.h. Creating a separate glib-unix-2.0.vapi is unneccessary because these functions are present in libglib-2.0.so itself, rather than a separate library. They just require the glib-unix.h header to be included. Closes: https://bugzilla.gnome.org/show_bug.cgi?id=667894 2012-02-05 Ryan Lortie <desrt@desrt.ca> glib: add .data to StringBuilder To do the same thing as string.data, but without the strlen() (since we already know this from the GString's length field). https://bugzilla.gnome.org/show_bug.cgi?id=669313 2012-02-03 Ryan Lortie <desrt@desrt.ca> gtk+-3.0: some updates - complete the move of the app-menu and menubar properties into GtkApplication - add GtkActionable interface and its implementations - add gtk_menu_(bar_)new_from_model() APIs - drop a premature add of gtk_window_setup_persistent_state() 2012-02-02 Alexander Kurtz <kurtz.alex@googlemail.com> glib-2.0: Mark OptionEntry.arg_description as nullable Fixes bug 669241. glib-2.0: AsyncQueue.try_pop() and timed_pop() may return null Fixes bug 669242. 2012-02-01 Luca Bruno <lucabru@src.gnome.org> clutter-1.0: Add Box.layout_manager to not break code using old clutter The Box.layout_manager property has been removed in commit 81cade2a and broke code using old clutter versions. 2012-02-01 Nathan Phillip Brink <binki@gentoo.org> tests: Honor CFLAGS, LDFLAGS, and CPPFLAGS Fixes bug 664606. 2012-02-01 Jens Georg <mail@jensge.org> gstreamer-0.10: Add returns_floating_reference to gst_parse_bin_* https://bugzilla.gnome.org/show_bug.cgi?id=669060 2012-02-01 Evan Nemerson <evan@coeus-group.com> libsoup-2.4: add type arguments for datalist arguments to form funcs x11: add GIR name for XID Add gir-bindings and gidl-bindings Makefile targets in vapi/ poppler-glib: switch to GIR clutter-1.0: update bindings girparser: support changing names of virtual methods without wrappers Fixes bug 668991. codegen: support virtual functions with vfunc_name but no invokers Partially fixes 668991. 2012-01-31 Florian Brosch <flo.brosch@gmail.com> gtk-importer: Allow "struct [id]*] inside docbook type tags 2012-01-31 Luca Bruno <lucabru@src.gnome.org> gtk+-2.0, gtk+-3.0: Mark Button.set_label parameter as nullable Fixes bug 669058. 2012-01-30 Florian Brosch <flo.brosch@gmail.com> gtkdoc-parser: Allow <title> in ordered and itemized lists gtkdoc-parser: Fix possible infinite loop gtkdoc-importer: Add support for orderedlist 2012-01-29 Florian Brosch <flo.brosch@gmail.com> gtkdoc-importer: Add support for refsect3 gtkdoc-importer: Add support for variablelist gtkdoc-importer: Add support for sections libvaladoc: Accept block content in list-items 2012-01-29 Luca Bruno <lucabru@src.gnome.org> cogl-1.0: Use a static method instead of a constructor for Cogl.Path The Cogl.Path constructor never worked, use a static method instead. codegen: Fix getting NoAccessorMethod properties of real struct type libpeas-1.0: Fix ExtensionSetForeachFunc binding Fixes bug 660362. 2012-01-29 Florian Brosch <flo.brosch@gmail.com> gtkdoc-importer: Allow mixed content in refsect2 gtkdoc-parser: Add a helper for mixed content gtkdoc-importer: Add support for abbrev gtkdoc-importer: Add support for literallayout gtkdoc-importer: Add support for informaltable 2012-01-28 Florian Brosch <flo.brosch@gmail.com> gtkdoc-importer: Add support for computeroutput gtkdoc-importer: Add support for varname gtkdoc-importer: Fix to_string for xml-close gtkdoc-importer: Add support for figures libvaladoc: gtkdoc: Add support for important gtkdoc-importer: Merge rule for example & informalexample 2012-01-28 Luca Bruno <lucabru@src.gnome.org> gtk+-3.0: Mark WidgetPath.iter_has_region.flags as out Fixes bug 668854. 2012-01-28 Florian Brosch <flo.brosch@gmail.com> Add a metadata-format for gir files 2012-01-27 Florian Brosch <flo.brosch@gmail.com> libvaladoc: Add support for SourceCode attributes Add support for vala 0.15.1 Embedded: Search images relative to the file doclets/devhelp: Add full wiki-support 2012-01-26 Jürg Billeter <j@bitron.ch> Release 0.15.1 Consider GLib.Object?[] compatible to GLib.Object[] Fixes bug 667600. Update .gitignore Add missing file 2012-01-26 Florian Brosch <flo.brosch@gmail.com> Check type of default arguments Report warning for type arguments in type check expressions Report warning for type arguments in typeof expressions girwriter: Add <doc> support girparser: Add support for comments Do not allow overriding content property in Comment class gee: Add MapIterator 2012-01-26 Luca Bruno <lucabru@src.gnome.org> cogl-1.0: Cogl.get_viewport parameter has no array length 2012-01-26 Jürg Billeter <j@bitron.ch> Add packagekit-glib2 bindings 2012-01-25 Florian Brosch <flo.brosch@gmail.com> libvaladoc: Allow conditional spaces in headlines 2012-01-24 Jürg Billeter <j@bitron.ch> Fix possibly unassigned parameter 2012-01-24 Ryan Lortie <desrt@desrt.ca> codegen: Do not use g_object_class_override_property Instead, always install our own new property with what we believe the correct type is. This avoids a problem with libgee providing properties on some classes that implement two interfaces having the same property name with different types. Fixes bug 666728. 2012-01-24 Luca Bruno <lucabru@src.gnome.org> Allow specialization of generic properties Fixes bug 667668. 2012-01-23 Colin Walters <walters@verbum.org> vapigen: Use install-data-hook for .pc file symbolic link The $(pkgconfigdir) may not have been created when we're just in the install-exec phase. 2012-01-23 Florian Brosch <flo.brosch@gmail.com> libvaladoc: Fix broken nullchecks in parser.error & warning libvaladoc: add helpers for valadoc.org libvaladoc: drop varargs for signatures with implicit parameters 2012-01-23 Luca Bruno <lucabru@src.gnome.org> codegen: Use NULL as default C value for nullable structs Fixes bug 665904. codegen: MemberAccess already refers to base property Fixes bug 667803. Initialize the variable directly when assigning a struct creation Some structs like WeakRef or potentially Mutex can't use temporary variables during initialization. 2012-01-23 Florian Brosch <flo.brosch@gmail.com> Fix -D 2012-01-22 Alexander Kurtz <kurtz.alex@googlemail.com> Add xtst bindings Fixes bug 647465. 2012-01-22 Evan Nemerson <evan@coeus-group.com> posix: don't use owned for resolved_path argument 2012-01-22 Luca Bruno <lucabru@src.gnome.org> posix: add realpath binding Fixes bug 655020. 2012-01-22 Rico Tzschichholz <ricotz@t-online.de> Add some missing files to EXTRA_DIST 2012-01-22 Evan Nemerson <evan@coeus-group.com> glib-2.0, gobject-2.0: add new symbols from 2.32 gio-2.0: update to 2.31.12 gtk+-3.0: make ThemingEngine.register_property.parse_func nullable Fixes bug 666906. gdk-2.0: use uint8[] for Bitmap and Pixmap.create_from_data data Fixes bug 646339. 2012-01-22 Nicolas Bruguier <nicolas.bruguier@supersonicimagine.fr> pixman-1: Fix pixman Region[16/32] and add Fixed from double/int funcs Fixes bug 641962. 2012-01-22 Alexander Kurtz <kurtz.alex@googlemail.com> x11: add several type definitions from X.h Fixes bug 647464. 2012-01-21 Florian Brosch <flo.brosch@gmail.com> tag sizeof as constant 2012-01-21 Evan Nemerson <evan@coeus-group.com> Makefile.vapigen: use *_FILES instead of *_GIR The more generic variable name is more appropriate since there may be one or more custom vala file in addition to the GIR. Add autotools vapigen integration for upstream bindings Fixes bug 649526. 2012-01-20 Evan Nemerson <evan@coeus-group.com> mx-1.0: various fixes for Image.set_from_buffer/data methods Fixes bug 668318. 2012-01-19 Evan Nemerson <evan@coeus-group.com> codegen: support free_function_address_of annotation glib-2.0: add GByteArray bindings 2012-01-18 Michael 'Mickey' Lauer <mickey@vanille-media.de> linux: change IfAddrs structure to be more useful in conjunction with getnameinfo() posix: fix socklen_t and its usage in getnameinfo Acked-by: Luca Bruno <lethalman88@gmail.com> 2012-01-18 Luca Bruno <lucabru@src.gnome.org> codegen: Reintroduce memory leak when using generics in interfaces The bug was present in older Vala versions. Reintroducing it to avoid breaking old code, until a proper fix is found. See bug 666480. 2012-01-17 Florian Brosch <flo.brosch@gmail.com> Check left parameter of is 2012-01-17 Evan Nemerson <evan@coeus-group.com> Add gdl-3.0 bindings clutter-gtk-1.0: switch to GIR Add cogl-pango-1.0 bindings gio-2.0: re-add custom delegates for ActionEntry callbacks 2012-01-16 Florian Brosch <flo.brosch@gmail.com> libvaladoc/html: Keep error-reporter for derived doclets libvaladoc: gtkdoc-parser: Fix possible segfault in footnotes libvaladoc: ModuleLoader cleanups 2012-01-14 Florian Brosch <flo.brosch@gmail.com> libvaladoc: ModuleLoader cleanups 2012-01-14 Luca Bruno <lucabru@src.gnome.org> Check accessibility of type arguments 2012-01-13 Luca Bruno <lucabru@src.gnome.org> codegen: Fix type check for vfunc returning SimpleType structs Fixes bug 667890. 2012-01-13 Philip Withnall <philip@tecnocode.co.uk> readline: Make the parameter of VcpFunc be nullable Fixes bug 667893. 2012-01-13 Fabian Deutsch <fabian.deutsch@gmx.de> avahi-client: deprecated wrapper methods which throw errors First step towards fixing 665375. 2012-01-12 Evan Nemerson <evan@coeus-group.com> gio-2.0: don't hide UnixSocketAddressType in gio-2.0 2012-01-12 Luca Bruno <lucabru@src.gnome.org> gio-2.0: Ultimate fixes gio-2.0: Fix some regressions intruduced by the GIR switch 2012-01-12 Evan Nemerson <evan@coeus-group.com> gio-2.0: remove obsolete gio-2.0 GIDL data libgdata, libpeas-1.0, libwnck-3.0, pangocairo, rest-0.7: update girwriter: do not emit a package as a dependency of itself atk, gdk-3.0, gdk-pixbuf-2.0, gtksourceview-3.0, mx-1.0: update libsoup-2.4: update to 2.37.3 gio-2.0: switch to GIR 2012-01-09 Fabian Deutsch <fabian.deutsch@gmx.de> gtk+-2.0, gtk+-3.0: Mark BuilderConnectFunc.connect_object as nullable Fixes bug 667524. 2012-01-09 Florian Brosch <flo.brosch@gmail.com> libvaladoc: gir-reader: accept @<id>(::|:|->|.)(<gid>) 2012-01-07 Luca Bruno <lucabru@src.gnome.org> codegen: Don't copy array parameters when captured Also allow uncopiable compact classes to be captured. Fixes bug 639054. 2012-01-07 Evan Nemerson <evan@coeus-group.com> webkit-1.0: update to 1.6.1 2012-01-07 Florian Brosch <flo.brosch@gmail.com> libvaladoc/html: Add style for {{{source}}} 2012-01-07 Michael 'Mickey' Lauer <mickey@vanille-media.de> posix: add getnameinfo(3) and assorted constants posix: add members for SockAddr struct 2012-01-07 Florian Brosch <flo.brosch@gmail.com> libvaladoc: gir-reader: Unescape %, @, (, ), &, # libvaladoc/html: Signals: Hide content listing 2012-01-07 Evan Nemerson <evan@coeus-group.com> clutter-1.0: add keysyms Fixes bug 628103. clutter-1.0: update to 1.9.2 2012-01-06 Ryan Lortie <desrt@desrt.ca> gtk+-3.0: add gtk_window_setup_persistent_state() 2012-01-06 Florian Brosch <flo.brosch@gmail.com> libvaladoc: gir-reader: accept #[id].[id|func] libvaladoc/html: Hide redundant links 2012-01-06 Marc-André Lureau <marcandre.lureau@gmail.com> gio-2.0: add a few nullable from Menu https://bugzilla.gnome.org/show_bug.cgi?id=667431 gio-2.0: add a few nullable from GSimpleAction https://bugzilla.gnome.org/show_bug.cgi?id=667428 2012-01-06 Florian Brosch <flo.brosch@gmail.com> Fix segfault triggered by valac-errors libvaladoc: reorder @param libvaladoc: @parameter: check for existence 2012-01-06 Ryan Lortie <desrt@desrt.ca> glib-2.0.vapi: add new GHashTable API g_hash_table_add() and g_hash_table_contains() were just added to GLib so add them here. It's now possible to say 'if (key in table) { }'. 2012-01-06 Florian Brosch <flo.brosch@gmail.com> libvaladoc/api: Signals: Add missing "signal" keyword to signatuers 2012-01-06 Ryan Lortie <desrt@desrt.ca> gio-2.0.vapi: some action related updates 2012-01-06 Florian Brosch <flo.brosch@gmail.com> libvaladoc: gir-reader: accept #[id]->[id|func] libvaladoc: gir-reader: allow _ as prefix in function names libvala: gir-reader: fix spaces/newlines in img-alt-text libvaladoc: gir-reader: Improve @-quirks-mode libvaladoc: gir-reader: accept π, >, <, &solidus; 2012-01-05 Florian Brosch <flo.brosch@gmail.com> libvaladoc: gir-reader: accept @... libvaladoc: gir-reader: improve short descs 2012-01-05 Marc-André Lureau <marcandre.lureau@gmail.com> Set correct default value for Pango.Weight https://bugzilla.gnome.org/show_bug.cgi?id=662974 2012-01-05 Marc-André Lureau <marcandre.lureau@gmail.com> gidl parse default_value for enums It can be useful for correct default value in properties https://bugzilla.gnome.org/show_bug.cgi?id=662974 2012-01-05 Luca Bruno <lucabru@src.gnome.org> girparser: Only reparent static methods within the same GIR 2012-01-05 Florian Brosch <flo.brosch@gmail.com> libvaldoc/html: Add missing - between ns and short desc 2012-01-05 Zeeshan Ali (Khattak) <zeeshanak@gnome.org> gtk+-3.0: Correct binding for GtkSpinButton::input.new_value Fixes bug 667329. 2012-01-05 Florian Brosch <flo.brosch@gmail.com> Add initial reading-support for <doc> Add warning & note tags 2012-01-04 Luca Bruno <lucabru@src.gnome.org> gtk+-3.0: Mark ThemingEngine.has_region.flags as out parameter Fixes bug 667208. 2011-12-25 Aaron Andersen <aaron@fosslib.net> codegen: Generate _dup() and _free() for structs in the posix profile Fixes bug 665815. 2011-12-25 Jacques-Pascal Deplaix <jp.deplaix@gmail.com> glib-2.0: Fix some issues for the experimental non-null checks Fixes bug 651841. 2011-12-25 Marc-André Lureau <marcandre.lureau@gmail.com> clutter-1.0: Make State.set_key.source_state_name parameter nullable Fixes bug 661018. 2011-12-25 Luca Bruno <lucabru@src.gnome.org> clutter-1.0: Regenerate bindings from debian sid GIR 2011-12-24 Michael 'Mickey' Lauer <mickey@vanille-media.de> posix: add tzset(3) and assorted constants 2011-12-23 Evan Nemerson <evan@coeus-group.com> gtk+-2.0, gtk+-3.0: make IconTheme.list_icons.context nullable 2011-12-23 Philip Withnall <philip@tecnocode.co.uk> glib-2.0, gio-2.0: Fix some nullable types in ContentType, Icon, HashTable Fixes bug 666699. 2011-12-23 Olaf <yggtrash@googlemail.com> x11: Set array_length to false for ModifierKeymap.modifiermap Fixes bug 666099. 2011-12-22 Luca Bruno <lucabru@src.gnome.org> gdk-3.0: Drop the abstract keyword from the Cursor class Vala does not allow creating new Cursor if the class is abstract. As it doesn't affect its usage at all, drop the keyword instead of breaking the backward compatibility. Fixes bug 665624. 2011-12-22 Luca Bruno <lucabru@src.gnome.org> girparser: Allow specifying abstract metadata for classes cogl-1.0: Use cogl-pango/cogl-pango.h header for pango symbols Fixes bug 665953. 2011-12-22 Jens Georg <mail@jensge.org> gstreamer-0.10: Fix several ownership transfer when adding children gst_bin_add, gst_bin_add_many and gst_element_add_pad only transfer ownership if the reference is floating, otherwise increasing the refcount. The reference is added by gst_object_set_parent. Fixes bug 666358. 2011-12-22 Zeeshan Ali (Khattak) <zeeshanak@gnome.org> gtk+-2.0, gtk+-3.0: Make Editable.insert_text.position be a ref parameter Fixes bug 666021. 2011-12-22 Timo Kluck <tkluck@infty.nl> gobject-2.0: Fix ValueTransform and BindingTransformFunc The destination GValue is already being initialized by the caller. Fixes bug 665966. 2011-12-21 Jürg Billeter <j@bitron.ch> gtk+-3.0: Update to 3.3.6 gio-2.0: Update to 2.31.6 2011-12-21 Luca Bruno <lucabru@src.gnome.org> gio-2.0: Make AsyncInitable.init_async virtual instead of abstract Fixes bug 666348. 2011-12-20 Simon Busch <morphis@gravedo.de> linux: Add bindings for rtc_time and fix the Rtc.WakeAlarm.time field posix: Fix termios and fd_set related functions 2011-12-20 Luca Bruno <lucabru@src.gnome.org> Revert "posix: Mark several termios and fd_set parameters as ref" This reverts commit 7b34e0ca7dc5d6cef5b75e8d8f7dc2723050df0d. 2011-12-20 Ryan Lortie <desrt@desrt.ca> gtk3 vapi: GtkApplication additions gio vapi: GApplication, Menus, ActionGroup updates 2011-12-19 Florian Brosch <flo.brosch@gmail.com> driver: merge 0.13.* and 0.14.* 2011-12-18 Florian Brosch <flo.brosch@gmail.com> libvaladoc: parser: Fix broken ? libvaladoc: gir-importer, c-resolver : various improvements drivers: merge 0.11.* and 0.12.* 2011-12-18 Jürg Billeter <j@bitron.ch> codegen: Fix external fields 2011-12-17 Klaus Kurzmann <mok@fluxnetz.de> libnl-3.0: add bindings 2011-12-16 Evan Nemerson <evan@coeus-group.com> gtk+-2.0, gtk+-3.0: fix IconTheme.get_search_path argument type 2011-12-16 Jürg Billeter <j@bitron.ch> gtk+-3.0: Improve Dialog.get_content_area binding gtk_dialog_get_content_area always returns a pointer to GtkBox. 2011-12-15 Jürg Billeter <j@bitron.ch> Do not install vala.m4 with --disable-unversioned This avoids file conflicts with parallel installations. 2011-12-11 Simon Busch <morphis@gravedo.de> posix: Mark several termios and fd_set parameters as ref GVariant: Close the switch statement in the generated to_string() of enums posix: Set the C name of Posix.tm to "struct tm" 2011-12-10 Aaron Andersen <aaron@fosslib.net> Support creation of arrays with nullable elements Partially fixes bug 571486. 2011-12-09 Jürg Billeter <j@bitron.ch> Report error on duplicate attributes 2011-12-09 Jürg Billeter <j@bitron.ch> gtk+-3.0: Fix gtk_widgets_compute_expand bindings Based on patch by Alexander Larsson. Fixes bug 665860. 2011-12-09 Luca Bruno <lucabru@src.gnome.org> girparser: Fix criticals on calculate_common_prefix 2011-12-08 Simon Busch <morphis@gravedo.de> alsa: Fix default value of a Mixer.register() parameter linux: Squash declaration of multiple CCode into a single CCode attribute 2011-12-07 Simon Busch <morphis@gravedo.de> linux: Set array_length=false for IfReq.ifr_name 2011-12-05 Jürg Billeter <j@bitron.ch> Release 0.15.0 2011-12-05 Frederik 'playya' Sdun <Frederik.Sdun@googlemail.com> gstreamer-0.10: Set is_out="1" for Gst.message.parse_progress 2011-12-05 Florian Brosch <flo.brosch@gmail.com> vapis: strip documentation comments 2011-12-04 Michael 'Mickey' Lauer <mickey@vanille-media.de> linux: add structures and constants for SPI (Serial Peripheral Interface) 2011-12-02 Zeeshan Ali (Khattak) <zeeshanak@gnome.org> glib-2.0: Update bindings for g_format_*() Fixes bug 665161. 2011-12-02 David Kozub <zub@linux.fjfi.cvut.cz> glib-2.0: add IOSource to make IOChannel.create_watch safer and easier 2011-11-30 Florian Brosch <flo.brosch@gmail.com> doclets: Fix text size in html & devhelp 2011-11-28 Florian Brosch <flo.brosch@gmail.com> gir: basic reading support 2011-11-24 Luca Bruno <lucabru@src.gnome.org> gio-2.0: Make InputStream.read and OutputStream.write abstract Based on patch by Paul Jakma. Fixes bug 664734. 2011-11-23 Jürg Billeter <j@bitron.ch> gio-2.0: Fix error type in g_dbus_send_message_with_reply binding gio-2.0: Fix g_dbus_send_message_with_reply and GUnixFDList bindings 2011-11-22 Luca Bruno <lucabru@src.gnome.org> codegen: Destroy the elements of GQueue When destroying a GQueue also destroy its elements like we do with GList, GSList and GNode. Fixes bug 664529. 2011-11-21 Luca Bruno <lucabru@src.gnome.org> gio-2.0: Mark IOStream.input_stream and output_stream as abstract Based on patch by Paul Jakma. Fixes bug 664465. 2011-11-21 Luca Bruno <lucabru@src.gnome.org> gidlparser: Support abstract metadata for properties 2011-11-21 Marc-André Lureau <marcandre.lureau@gmail.com> gtk+-3.0: Move render functions in StyleContext Fixes bug 664117. 2011-11-21 Jason Conti <jason.conti@gmail.com> docs: Rename the .devhelp2 file to match the directory name When searching for devhelp books, devhelp expects the .devhelp2 filename to match the directory name. Fixes bug 664167. 2011-11-18 Marc-André Lureau <marcandre.lureau@gmail.com> libxml-2.0: xmlParseURI and xmlParseURIRaw return a nullable string Fixes bug 664334. 2011-11-17 Luca Bruno <lucabru@src.gnome.org> gtk+-3.0: Fix BindingArg, BindingSignal and BindingEntry.add_signal Fixes bug 664240. 2011-11-17 Jens Georg <mail@jensge.org> gtk+-3.0: Adjustment in gtk_scale_new can be null Fixes bug 664253. 2011-11-15 Luca Bruno <lucabru@src.gnome.org> glib-2.0: Add Log.remove_handler Fixes bug 664143. 2011-11-15 Daniel Silverstone <dsilvers@codethink.co.uk> Make .vapi files on the command line generate quoted includes Use #include "..." rather than #include <...> 2011-11-15 Luca Bruno <lucabru@src.gnome.org> posix: Fix the socketpair function Patch by Paul Jakma. Fixes bug 664121. 2011-11-11 Luca Bruno <lucabru@src.gnome.org> codegen: Fix type check of ref parameters Fixes bug 663818. 2011-11-08 Luca Bruno <lucabru@src.gnome.org> gtk+-2.0, gtk+-3.0: Mark TextBuffer.insert_text.pos as ref parameter Based on patch by Lars Uebernickel. Fixes bug 663621. 2011-11-07 Luca Bruno <lucabru@src.gnome.org> Report error if type args were provided for a method without type params Fixes bug 663534. 2011-11-07 Jens Georg <mail@jensge.org> gstreamer-0.10: Fix ElementFactory methods and ElementFactoryListType Set proper return type and ownership for ElementFactory.list_filter and ElementFactory.list_get_elements as well as making ElementFactoryListType inherit from int64. Fixes bug 663499. 2011-11-06 Evan Nemerson <evan@coeus-group.com> pango: fix Context.get_matrix return value 2011-11-05 Luca Bruno <lucabru@src.gnome.org> treebuilder: Fix regression when passing the cname for accessors Fixes bug 662783. 2011-11-05 Florian Brosch <flo.brosch@gmail.com> driver/0.13: vapidir-fix 2011-11-04 Fabian Deutsch <fabian.deutsch@gmx.de> gstreamer-0.10: Add returns_floating_reference to ElementFactory methods Fixes bug 663145. 2011-11-03 Luca Bruno <lucabru@src.gnome.org> girparser: Box structs when used in type arguments Fixes bug 663058. 2011-11-03 Marc-André Lureau <marcandre.lureau@gmail.com> glib-2.0: add Sequence.lookup() and SequenceIter.set() methods Fixes bug 663271. 2011-11-03 Florian Brosch <flo.brosch@gmail.com> Add doap file driver: 0.14: Add throws declaration to signatures drivers: Add 0.16.x 2011-11-02 Luca Bruno <lucabru@src.gnome.org> codegen: Fix memory leak when destroying generic variables codegen: Fix capturing generic variables within generic methods Fixes bug 663210. 2011-11-01 Luca Bruno <lucabru@src.gnome.org> codegen: Fix capturing generic variables having instance type parameters Fixes bug 663134. codegen: Fix C warning when copying immutable classes 2011-10-29 Luca Bruno <lucabru@src.gnome.org> GAsync: Don't pass generic arguments to .end() calls Fixes bug 661961. 2011-10-29 Marc-André Lureau <marcandre.lureau@gmail.com> gtk+-3.0: Several fixes in the bindings Fixes bug 662940. 2011-10-24 Marc-André Lureau <marcandre.lureau@gmail.com> posix: Set the returned type of putc, puts and printf to int Fixes bug 662592. 2011-10-21 Luca Bruno <lucabru@src.gnome.org> gdk-3.0: Fix regression to the bindings of GdkXEvent Using non-simpletype struct might not be safe as Vala might dereference the pointer to void. The regression was introduced by the switch to gir. 2011-10-21 Fabian Deutsch <fabian.deutsch@gmx.de> avahi-gobject: add port argument to EntryGroup.add_service method Split avahi-client out from avahi-gobject. Fixes bug 662175. 2011-10-21 Luca Bruno <lucabru@src.gnome.org> girparser: Warn when virtual methods don't match wrapper methods girparser: Warn when signals don't match emitter methods gedit: Fix bindings of Document.load and save methods Fixes bug 661813. 2011-10-19 Marc-André Lureau <marcandre.lureau@gmail.com> cairo: Add bindings for some enum values and functions Fixes bug 662185. 2011-10-18 Evan Nemerson <evan@coeus-group.com> gtk+-3.0, gtk+-2.0: make Gtk.Style.clone transfer ownership gtk+-3.0, gtk+-2.0: work around gtk_style_copy signature mismatch Fixes bug 662077. 2011-10-17 Luca Bruno <lucabru@src.gnome.org> codegen: Don't create temp var in transform_value if lvalue isn't allowed Fixes bug 657378. GVariant: Fix unboxing of Variant to a real non-null struct Fixes bug 661945. 2011-10-16 Evan Nemerson <evan@coeus-group.com> glib-2.0: add annotations for using GTimeSpan as a GObject property 2011-10-15 David Kozub <zub@linux.fjfi.cvut.cz> glib-2.0: Add get_monotonic_time() and get_real_time() 2011-10-14 Luca Bruno <lucabru@src.gnome.org> codegen: Fix is_reference_counting() result for interfaces Fixes a regression introduced by commit 5956bf5074d4508c. Fixes bug 661620. 2011-10-09 Luca Bruno <lucabru@src.gnome.org> girparser: Add has_type_id=false for structs without registered GType Fixes regressions introduced by the switch to gir. Fixes bug 661291. 2011-10-09 Luca Bruno <lucabru@src.gnome.org> girparser: Do not create ArrayType twice with array metadata argument 2011-10-08 Jürg Billeter <j@bitron.ch> hal: Fix libhal_find_device_by_capability binding 2011-10-08 Luca Bruno <lucabru@src.gnome.org> gtk+-2.0, gtk+-3.0: Fix TextBuffer.delete and delete_interactive bindings Fixes bug 661232. 2011-10-06 Florian Brosch <flo.brosch@gmail.com> doclets/devhelp && htm: Fix output directory creation 2011-10-05 Florian Brosch <flo.brosch@gmail.com> drivers: Add 0.14.x driver libvaladoc/html: BasicDoclet: <title> improvements 2011-10-05 Marc-André Lureau <marcandre.lureau@gmail.com> cogl-1.0, clutter-gtk-1.0: Make get_option_group() transfer ownership Fixes bug 661014. 2011-10-04 Luca Bruno <lucabru@src.gnome.org> glib-2.0: Fix default value for static RecMutex, RWLock and Private 2011-10-04 Luca Bruno <lucabru@src.gnome.org> mx-1.0: Fix regression about Draggable and Droppable virtual methods The regression was introduced by the mx-1.0 switch to GIR. Fixes bug 633902. 2011-10-03 Luca Bruno <lucabru@src.gnome.org> glib-2.0: Set default value of StaticMutex to G_STATIC_MUTEX_INIT Fixes bug 660764. 2011-10-02 Luca Bruno <lucabru@src.gnome.org> Fix small mistake in previous commit, use "_data_" instead of "data" Unwantedly missed to amend the commit after refreshing the patch. codegen: Avoid name clashes in the closure struct Fixes bug 596861. 2011-09-30 Luca Bruno <lucabru@src.gnome.org> Explicitly set type_id for boxed types converted to compact classes Fixes bug 660576. 2011-09-30 Fabian Deutsch <fabian.deutsch@gmx.de> posix: Add glob() Fixes bug 659131. 2011-09-29 Luca Bruno <lucabru@src.gnome.org> codegen: Use real_get/set_* functions as helpers for NoAccessorMethod props If the base property has no accessors the class->vfunc are not defined so we can only use our accessors. With this commit we exploit the already defined real_get and real_set functions. Fixes bug 658006. 2011-09-29 Luca Bruno <lucabru@src.gnome.org> codegen: Do not set accessor vfunc for NoAccessorMethod properties Partially fixes bug 658006. linux: Remove extra parameter from forkpty() Fixes bug 660473. 2011-09-29 Luca Bruno <lucabru@src.gnome.org> Fix regression when calling .resize() or .move() on arrays inside structs The check for lvalue access has been extended to arrays for simplifying the conditions. Fixes bug 660426. 2011-09-28 Oliver Sauder <os@esite.ch> libpeas-1.0: Add missing ExtensionSet constructor Partially fixes bug 660361. 2011-09-26 Luca Bruno <lucabru@src.gnome.org> codegen: Do not treat void* to not leak memory anymore It wasn't possible to let void* variables take the ownership of an expression as it's always been freed afterwards. Simple generics can be used to enforce ownership instead of void*. Fixes bug 659975. 2011-09-24 Evan Nemerson <evan@coeus-group.com> gio-2.0: fix ask-question and show-processes signals in MountOperation Fixes bug 659979. 2011-09-23 Evan Nemerson <evan@coeus-group.com> gdk-3.0: make Screen and Window inherit from GObject atk: various improvements, including some regressions fixes atk: switch to GIR Fixes bug 654402. girparser: allow changing record names in metadata girparser: fix parsing of nullable types 2011-09-23 Andre Masella <andre.p.masella@gmail.com> zlib: Mark GZFileStream as compact Fixes bug 659931. bzlib: add BZFILE binding Fixes bug 656710. 2011-09-23 Evan Nemerson <evan@coeus-group.com> linux: add struct ifaddrs binding Fixes bug 659000. gdk-pixbuf-2.0: switch to GIR Fixes bug 649875. gdk-3.0: switch to GIR Fixes bugs 551184, 649875. 2011-09-22 Evan Nemerson <evan@coeus-group.com> glib-2.0: fix GenericArray.sort* bindings Add libwnck-3.0 bindings Fixes bug 658158. 2011-09-19 Sergej Reich <sergej.reich@googlemail.com> sdl: Make GetClipRect, PollEvent and WaitEvent parameter to be out Fixes bug 659398. 2011-09-19 Luca Bruno <lucabru@src.gnome.org> gtk+-2.0, gtk+-3.0: Make TextBuffer.insert iter parameter be ref The insert method will update the iter to point to the end of the inserted text. Fixes bug 659350. 2011-09-17 Jürg Billeter <j@bitron.ch> Bump version suffix Release 0.14.0 gtk+-3.0: Update to 3.1.18 gio-2.0: Update to 2.29.90 2011-09-15 Jürg Billeter <j@bitron.ch> glib-2.0: Add g_unichar_*compose bindings 2011-09-12 Evan Nemerson <evan@coeus-group.com> glib-2.0: add data member to GenericArray 2011-09-11 Evan Nemerson <evan@coeus-group.com> girparser: obey zero-terminated="0" girparser: correctly detect error domains in newer GIRs 2011-09-10 Luca Bruno <lucabru@src.gnome.org> codegen: Fix lambda expressions in instance destructor Fixes bug 646362. codegen: Use get_this_type() to simplify several if statements 2011-09-09 Jürg Billeter <j@bitron.ch> build: Enable maintainer mode by default 2011-09-09 Luca Bruno <lucabru@src.gnome.org> Fix lambda expressions in static and class destructors codegen: Fix emitting the static destructor of classes 2011-09-08 Luca Bruno <lucabru@src.gnome.org> gtksourceview-2.0: Fix SourceCompletionContext.get_iter bindings Fixes bug 658555. Add regression tests for commit 5319240be4724f1 Fix length access to multidimensional arrays and access to array fields 2011-09-07 Florian Brosch <flo.brosch@gmail.com> driver-0.13.x: Add basic gir support 2011-09-07 Jürg Billeter <j@bitron.ch> Release 0.13.4 2011-09-07 Luca Bruno <lucabru@src.gnome.org> mx-1.0: Fix several regressions introduced by the switch to GIR 2011-09-06 Raul Gutierrez Segales <rgs@collabora.co.uk> Fix Path.build_path call used for --includedir Commit af0aa50c misses the separator for Path.build_path. Fixes bug 658355. 2011-09-06 Luca Bruno <lucabru@src.gnome.org> codegen: Fix determining the default cheaders of symbols Fixes a regression introduced by the attributes refactoring. The refactoring missed a check on the cheaders of the parent symbol. Fixes bug 658338. 2011-09-05 Luca Bruno <lucabru@src.gnome.org> Use Path.build_path instead of using raw string.printf Fixes a regression introduced by commit 7f7a991aa7689137e166. Using Path.build_path prevents having double slash (//) in the path which could be interpreted as comments by the C compiler. Fixes bug 658296. 2011-09-05 Jürg Billeter <j@bitron.ch> glib-2.0: Add C_ and NC_ bindings 2011-09-02 Luca Bruno <lucabru@src.gnome.org> codegen: Do not try to unbox a GValue from a GValue Fixes bug 658048. Revert "Set lvalue access for struct properties" This reverts commit f9186d12f28911d98e6f41d58f595fa81de602cb. Set lvalue access for struct properties Fixes bug 658046. Use '/' as directory separator instead of using build_filename Fixes bug 657501. 2011-09-01 Florian Brosch <flo.brosch@gmail.com> Various cleanups 2011-09-01 Luca Bruno <lucabru@src.gnome.org> posix: Make termios.c_cc field be an inline array Fixes bug 657644. codegen: Do not hardcode the cname for abstract/virtual property accessor codegen: Enable real_cname CCode for property accessors girparser: Set NoAccessorMethod properly for abstract properties girparser: Make interface properties be abstract by default json-glib-1.0: Update to version 0.13.4 mx-1.0: Update to version 1.3.1 clutter-1.0: Update to version 1.7.10 2011-08-31 Luca Bruno <lucabru@src.gnome.org> girwriter: Drop unwanted call when writing abstract methods Fixes bug 657860. pango: Fix LayoutLine.index_to_x and x_to_index bindings glib-2.0: Add StringBuilder.insert_unichar 2011-08-31 Luca Bruno <lucabru@src.gnome.org> codegen: Fix equal function for SimpleType structs with only static fields The function produced wrong results if the struct had static fields but no instance fields. Fixes bug 657813. 2011-08-30 Jürg Billeter <j@bitron.ch> gio-2.0: Fix g_application_command_line_print* bindings 2011-08-30 Luca Bruno <lucabru@src.gnome.org> codegen: Fix definition of property getter for SimpleType structs Based on patch by Nathan Summers. Partially fixes bug 657346. 2011-08-30 Luca Bruno <lucabru@src.gnome.org> codegen: Do not add null-check for SimpleType structs codegen: Fix create_type_check_statement when result is a SimpleType struct 2011-08-28 Evan Nemerson <evan@coeus-group.com> gio-2.0: make File.parse_name return value transfer ownership 2011-08-28 Luca Bruno <lucabru@src.gnome.org> Show loaded packages in verbose mode Fixes bug 657523. 2011-08-27 Luca Bruno <lucabru@src.gnome.org> codegen: Use a zero-initializer also for SimpleType structs codegen: Guard target_value to be non-null in visit_expression Fixes bug 657499. codegen: Move typecheck of self down to methods vfunc codegen: Add type check in property vfunc Fixes bug 657481. 2011-08-27 Evan Nemerson <evan@coeus-group.com> mx-1.0: add missing metadata mx-1.0: switch to GIR gio-2.0: fixes for pollable input and output streams 2011-08-26 Luca Bruno <lucabru@src.gnome.org> codegen: Drop unnecessary temp variable when methods return a struct codegen: Do not emit the temp variable when methods return a struct The temporary variable holding the result was uselessly emitted in the generated C code if the parent node was an expression statement. codegen: Set result of object creation to be an lvalue codegen: Drop useless temp variable when creating structs Partially fixes 657378. Warn for deprecated and experimental only for symbols in external packages Fixes bug 657283. 2011-08-25 Evan Nemerson <evan@coeus-group.com> linux: fix Linux.CLOCK_MONOTONIC_RAW binding gio-2.0: fix DBusObject.get_interfaces return value gtk+-2.0: add type arguments to Table.children field Fixes bug 655586. 2011-08-24 Luca Bruno <lucabru@src.gnome.org> glib-2.0: Fix MarkupParser bindings Fixes bug 657262. 2011-08-23 Luca Bruno <lucabru@src.gnome.org> gudev-1.0: Switch to GIR 2011-08-22 Luca Bruno <lucabru@src.gnome.org> girparser: Fix reporting unused metadata girparser: Use c:symbol-prefixes as lower_case_cprefix when available 2011-08-22 Jürg Billeter <j@bitron.ch> Release 0.13.3 codegen: Remove unused variable 2011-08-21 Luca Bruno <lucabru@src.gnome.org> pangocairo: Switch to GIR gdk-3.0 Make pixbuf_get_from_surface return an owned instance Fixes bug 656990. 2011-08-19 Abderrahim Kitouni <a.kitouni@gmail.com> Make Vala.Report.{errors,warnings} fields protected 2011-08-17 Luca Bruno <lucabru@src.gnome.org> posix: Set ioctl() cheader to be sys/ioctl.h Fixes bug 656690. codegen: Skip precondition check for parameters in the posix profile Fixes bug 648204. 2011-08-17 Luca Bruno <lucabru@src.gnome.org> codegen: Add null check for non-null struct parameters Commit 94d4b1e91a437f739b42f fixes another relevant part of the bug. Fixes bug 656693. 2011-08-17 Luca Bruno <lucabru@src.gnome.org> codewriter: Write type parameters for struct declaration Based on patch by Andre Masella. Fixes bug 656708. 2011-08-17 Luca Bruno <lucabru@src.gnome.org> codewriter: Factorize writing type parameters in write_type_parameters 2011-08-16 Luca Bruno <lucabru@src.gnome.org> codegen: Assign to temp varable when passing a nullable struct argument Assign possible (*expr) to a temp variable to ensure copying the struct. Fixes bug 656693. 2011-08-16 Luca Bruno <lucabru@src.gnome.org> codegen: Always copy struct on access only when it's non-nullable We currently don't copy the nullable struct, only the reference, therefore useless. 2011-08-16 Jürg Billeter <j@bitron.ch> Release 0.13.2 2011-08-16 Luca Bruno <lucabru@src.gnome.org> Do not lookup for .deps file when passing .vapi files to valac Fixes bug 648336. Add syntax for creating array of pointers Fixes bug 647222. Add PointerType.get_actual_type Fixes bug 646792. 2011-08-15 Luca Bruno <lucabru@src.gnome.org> Check if the constants used as switch labels are duplicated Fixes bug 656481. codegen: Fix leak when casting from variant to another type Fixes bug 656398. codegen: Make try_cast_variant_to_type be effect-free 2011-08-15 Jürg Billeter <j@bitron.ch> girparser: Accept function in record, boxed, union, enumeration Used by gobject-introspection 1.29.17+. This commit ignores the function elements but they could replace our own static method detection in the future. 2011-08-14 Luca Bruno <lucabru@src.gnome.org> codegen: Do not warn when copying delegates with --enable-deprecated Fixes bug 656266. 2011-08-13 Jürg Billeter <j@bitron.ch> dova: Do not require double in dova profile 2011-08-13 Florian Brosch <flo.brosch@gmail.com> driver/0.10.x: Fix get_method_binding_type, static driver/0.10.x: Add support for attributes driver/0.10.x: Fix type parameter creation for methods and implemented interfaces driver/0.11.0: Add support for attributes version/0.11.0: Fix get_method_binding_type, static 2011-08-12 Florian Brosch <flo.brosch@gmail.com> driver/0.11.0: Fix type parameter creation for methods and implemented interfaces driver/0.11.x: Fix type parameter creation for methods and implemented interfaces version/0.11.x: Fix get_method_binding_type, static driver/0.12.x: Add support for attributes driver/0.12.x: Fix type parameter creation for methods and implemented interfaces ver/0.12.x: Fix get_method_binding_type, static driver/*, libvaladoc: Move ChildSymbolRegistrar to libvaladoc libvaladoc/html: Add non-static methods to namespace-content libvaladoc/api: Class: Hide "static" modifier for functions driver/0.13.x: Fix get_method_binding_type, static driver/0.13.x: Fix type parameter creation for methods and implemented interfaces 2011-08-12 Jürg Billeter <j@bitron.ch> glib-2.0: Ensure to use volatile modifier for atomic operations 2011-08-12 Florian Brosch <flo.brosch@gmail.com> libvaladoc/html: Mark deprecated symbols 2011-08-11 Luca Bruno <lucabru@src.gnome.org> girparser: Support specifying struct=false for records Use locale-independent formatting in CodeNode.set_attribute_double libgdata: Switch to GIR Fixes bug 655192. girparser: Do not reorder the cancellable parameter in async methods The feature was incomplete and flawed. Set the type of initializer lists to be non-nullable 2011-08-11 Florian Brosch <flo.brosch@gmail.com> driver/0.13: Add support for attributes libvaladoc: Add support for attributes libvaladoc/api: Delegate: build_signature: Add missing keyword 2011-08-10 Jürg Billeter <j@bitron.ch> dova: Fix main method with args parameter 2011-08-10 Aaron Andersen <aaron@fosslib.net> sdl: Fix bindings for several methods, delegates and classes Let Thread and Timer classes be unmanaged by vala. Fixes bug 655143. 2011-08-08 Luca Bruno <lucabru@src.gnome.org> readline: Fix cname of several delegates Fixes bug 656146. gstreamer-0.10: Set ref_sink_function_void for Gst.Object codegen: Add ref_sink_function_void argument to CCode 2011-08-07 Evan Nemerson <evan@coeus-group.com> x11: include GIR namespace and version gtk+-3.0: correct Plug and Socket to use X.Window where necessary Fixes bug 656049. gtk+-3.0: correct Scrollable type_cname 2011-08-06 Florian Brosch <flo.brosch@gmail.com> driver/0.13.x: Make use of Vala.CCodeBaseModule.get_ccode_nick 2011-08-06 Luca Bruno <lucabru@src.gnome.org> codegen: Add get_ccode_nick and get_ccode_blurb for properties 2011-08-06 Florian Brosch <flo.brosch@gmail.com> driver/0.13.x: Migrate to valac-master 2011-08-06 Luca Bruno <lucabru@src.gnome.org> gidlparser: Guess NoAccessorMethod for interface properties Fixes bug 656072. Regenerate bindings for commit 1a399423fc95d codegen: Fix regression when getting type_id of data types 2011-08-06 Abderrahim Kitouni <a.kitouni@gmail.com> girparser: Fix virtual signals in interfaces The default handler is marked "abstract" and was considered to be an emitter 2011-08-05 Andrea Del Signore <sejerpz@tin.it> gedit: Add new bindings for Gedit-3.0 Fixes bug 645624. 2011-08-04 Luca Bruno <lucabru@src.gnome.org> Fix lambda expression regression The regression was introduced by commit fec66bf087618263c57. Instead of making a shallow copy of all attributes, the ccode bits are now moved to the codegen in order to reflect the original code. Move DataType.get_cdeclarator_suffix to the codegen build: Drop ccode dependency from libvalacore Move EnumValue.get_canonical_cconstant to the codegen girparser: Map provided namespaces using gir_namespace girparser: Set GIR name when symbols get renamed girparser: Map vala symbols to gir symbols when GIR attribute is available girparser: Map all gir namespaces before parsing gir files 2011-08-03 Luca Bruno <lucabru@src.gnome.org> Set target_type of switch statement expression to be non-nullable Fixes bug 655908. gidlparser: Use lower_case_cprefix when available also for classes 2011-08-03 Jürg Billeter <j@bitron.ch> codegen: Small refactoring for generic type parameters 2011-08-03 Michal Hruby <michal.mhr@gmail.com> GDBus: Make sure signals are disconnected when unregistering an object 2011-08-02 Luca Bruno <lucabru@src.gnome.org> Guard for possible errors when checking the value of constants Fixes bug 655726. Fix symbol resolution for local constants Fixes bug 649562. girparser: Support lower_case_csuffix build: Use in-tree vapis when building the bindings 2011-08-01 Florian Brosch <flo.brosch@gmail.com> Bumb version to 0.3.1 driver: Fix segfault on dispose 2011-08-01 Jürg Billeter <j@bitron.ch> codegen: Do not use temp var when accessing floating locals codegen: Do not use temp var when accessing single-assignment locals Fix flow analysis for reference transfer expressions 2011-08-01 Luca Bruno <lucabru@src.gnome.org> Regenerate all bindings gstreamer: Enforce the use of Gst.Value over GLib.Value atk, gudev-1.0, libgda-4.0, vte: Drop some unnecessary metadata Drop C specific methods from the code tree girwriter: Don't use C specific methods of code nodes codegen: Use CCodeAttribute instead of C specific methods of code nodes codegen: Add CCodeAttribute codewriter: Do not use C specific methods of code nodes gidlparser: Do not use C specific methods of code nodes girparser: Do not use C specific methods of code nodes Drop destroy_function dependency from Struct.is_disposable On-demand Method.printf_format and scanf_format On-demand Method.returns_floating_reference On-demand Method.has_construct_function Drop Symbol.process_experimental_attribute On-demand Symbol.experimental Drop Symbol.process_deprecated_attribute On-demand Symbol.replacement On-demand Symbol.deprecated_since On-demand Symbol.deprecated On-demand Struct.is_immutable On-demand Struct.decimal_floating_type On-demand Struct.signed On-demand Struct.width On-demand Struct.rank On-demand Struct.is_floating_type On-demand Struct.is_integer_type On-demand Struct.is_boolean_type On-demand Struct.is_simple_type On-demand Class.is_immutable On-demand Class.is_compact On-demand Delegate.has_target Add helper methods to CodeNode for dealing with attributes Add attributes cache to code nodes Specify default values in Attribute methods Regenerate all bindings with reordered attributes and arguments codewriter: Reorder attributes and arguments Regenerate all bindings build: Add rules for building all the bindings build: Fix rule for building gtksourceview-3.0 x11: Fix cname of Screen methods x11: Turn Visual into a compact class without memory management 2011-08-01 Vito Piserchia <johndoe@metatype.it> posix, linux: Add bindings for clockid_t and clock_gettime Fixes bug 652739. 2011-08-01 Luca Bruno <lucabru@src.gnome.org> codegen: Make creation of InitiallyUnowned objects be effect-free 2011-07-31 Michal Hruby <michal.mhr@gmail.com> glib-2.0: Support syntactic sugar on HashTable 2011-07-30 Florian Brosch <flo.brosch@gmail.com> Bumb version to 0.3.0 doclets/gtkdoclet: FormalParameter: Fix null ptr warning triggered by generic types libvaladoc/api: Enum: Fix get_cname () valadoc: Fix doclet selection (.../doclets vs .../doclet) 2011-07-29 Giulio Paci <giuliopaci@interfree.it> libxml-2.0: add many methods to ParserCtxt Fixes bug 655543. 2011-07-29 Simon Wenner <simon@wenner.ch> gtk+-2.0, gtk+-3.0: UIManager.add_ui action param should be nullable 2011-07-29 Florian Brosch <flo.brosch@gmail.com> libvaladoc: importer: drop gir support libvaladoc: DocumentationParser: Allow multiple spaces in a row libvaladoc: Fix new warnings Disable static libraries valadoc: ModuleLoader: Fix dispose error valadoc: Improve plugin selection drivers: Add 0.10.x driver drivers: Add 0.11.0 driver drivers: Add 0.11.x driver, x > 0 drivers: Add 0.12.x driver driver/0.13.x: Allow to process vapis directly just as source files driver/0.13.x: Add ChildSymbolRegistrar libvaladoc: drop dependency on libvala libvala: Move tree creation out into a plugin libvaladoc: Move all libvala-related calls to api/driver.vala and api/symbolresolver.vala tests: Add ErrorReporter tests libvaladoc: Fix broken dependencies in valadoc-1.0.pc.in and valadoc-1.0.deps.in Add test framework error reporter improvements Fix various compile time warnings vala-0.13.0 migration 2011-07-28 Luca Bruno <lucabru@src.gnome.org> codegen: Fix critial when casting a method prototype access to a delegate codegen: Use _vala_ prefix for out parameters Fixes bug 638310. doclets/gtkdoc: Fix the output of SourceCode elements Fixes bug 648986. doclets/gtkdoc: Do not document target_destroy_notify if type is not owned Fixes bug 637088. doclets/gtkdoc: Fix documenting thrown errors Partially fixes bug 637088. doclets/gtkdoc: Do not set section comment from a namespace with empty doc Fixes bug 648985. Allow implicit conversion from pointer to GValue Fixes bug 654143. 2011-07-28 Michal Hruby <michal.mhr@gmail.com> Add rest-0.7 bindings Fixes bug 655411. 2011-07-27 Michal Hruby <michal.mhr@gmail.com> Fix a gcc warning when returning struct in an interface method 2011-07-27 Luca Bruno <lucabru@src.gnome.org> libpeas-1.0: Regenerate bindings to take in account abstract classes 2011-07-27 Evan Nemerson <evan@coeus-group.com> Add gtksourceview-3.0 bindings Fixes bug 627761. 2011-07-26 Luca Bruno <lucabru@src.gnome.org> libarchive: Add support_format_raw method to Read class Fixes bug 655372. girparser: Add more complex renaming using regex replace girparser: Fix renaming of types that are used as property types girparser: Support cprefix metadata for the namespace girparser: Fix renaming classes and interfaces 2011-07-26 Evan Nemerson <evan@coeus-group.com> gstreamer*-0.10: update bindings to 0.10.35.1 Fixes bug 647860. 2011-07-25 Evan Nemerson <evan@coeus-group.com> Remove gtksourceview-3.0 bindings Wait until we can rename the GtkSource namespace to Gtk. gobject-2.0: fix ParamSpec.internal binding Fixes bug 652900. Add gtksourceview-3.0 bindings Fixes bug 627761. 2011-07-25 Philip Withnall <philip@tecnocode.co.uk> gio-2.0: Fix the GIcon and GLoadableIcon bindings Fixes bug 655154. 2011-07-25 Evan Nemerson <evan@coeus-group.com> libgda-4.0: update to 4.2.4 2011-07-24 Luca Bruno <lucabru@src.gnome.org> build: Add an all-bindings rule for building all bindings at once clutter-1.0, libsoup-2.4: Regenerate to take in account abstract classes build: Add rule for building vte-2.90 bindings and missing PHONY rules vte-2.90: Fix metadata for Pty.new_foreign girparser: Properly handle the c:symbol-prefix hint for lower_case_cprefix girparser: Fix applying metadata to glib:boxed Report an error on element access with wrong number of indices libxml-2.0: Set gir_namespace and gir_version to libxml2-2.0 2011-07-23 Evan Nemerson <evan@coeus-group.com> gio-2.0: make ContentType.guess_for_tree return an array 2011-07-22 Luca Bruno <lucabru@src.gnome.org> gdk-3.0: Add GDK_NONE binding Fixes bug 655094. 2011-07-21 Luca Bruno <lucabru@src.gnome.org> Fix sender_type in Signal.get_handler_type() Fixes bug 654934. 2011-07-21 Jürg Billeter <j@bitron.ch> dova: Do not use owned setters for public fields build: Require valac >= 0.12.0 to build from git Fixes bug 655061. 2011-07-21 Ryan Lortie <desrt@desrt.ca> glib vapi: fgets() can return NULL posix vapi: fgets() can return NULL 2011-07-20 Luca Bruno <lucabru@src.gnome.org> webkit-1.0: Mark uri parameter of WebView.hovering_over_link as nullable Based on patch by Jacques-Pascal Deplaix. Fixes bug 654980. 2011-07-20 Luca Bruno <lucabru@src.gnome.org> gtk+-2.0, gtk+-3.0: Fix bindings of Widget.get_requisition 2011-07-20 Luca Bruno <lucabru@src.gnome.org> gtk+-3.0: Hide the creation method of Requisition The method gtk_requisition_new is provided to help bindings of high-level languages, but it isn't needed for vala. Fixes bug 642298. 2011-07-19 Andre Masella <andre.p.masella@gmail.com> libxml-2.0: Fix cname of Xml.Doc.url field Fixes bug 654928. 2011-07-19 Luca Bruno <lucabru@src.gnome.org> codegen: Fix return of out parameters whose type is multi-dimensional array codegen: Add push_line and pop_line for writing line directives Fixes bug 635095. 2011-07-18 Luca Bruno <lucabru@src.gnome.org> ccode: Add current_line in CCodeFunction to be set for added statements D-Bus: Include gio.h when using the register_object function Fixes bug 654782. 2011-07-17 Luca Bruno <lucabru@src.gnome.org> pango: Mark list_families.families parameter as out in Context and FontMap Fixes bug 654794. girparser: Handle the abstract attribute of the gir for classes 2011-07-17 Luca Bruno <lucabru@src.gnome.org> pango: Mark return value of Language.from_string to be unowned Fixes regression introduced by commit 5d6c21cebd3c5a. Fixes bug 654785. 2011-07-16 Luca Bruno <lucabru@src.gnome.org> codegen: Use temporary variables in array element access Fixes bug 654753. girparser: Fix owned and unowned metadata arguments girparser: Allow specifying default value to Metadata.get_bool girparser: Fix typo when calling element_get_type in parse_parameter build: Add make rules to generate libsoup-2.4 and libpeas-1.0 bindings build: Add make rules to generate clutter-1.0 and json-glib-1.0 bindings codegen: Support gobject-style chainup to base class that has generics Fixes bug 654702. 2011-07-15 Luca Bruno <lucabru@src.gnome.org> libsoup-2.4: Don't use properties for accessing Message headers and body Enable flow analysis for out parameters Fixes bug 638363. Fix usage of possibly unassigned out parameters glib-2.0: Set lvalue_access to false for va_list Fixes bug 654646. codegen: Don't use temp vars when accessing types that forbid lvalue access Add support for specifying whether a type allows lvalue access or not by using the lvalue_access argument of the CCode attribute. 2011-07-15 Jürg Billeter <j@bitron.ch> dova: Ensure DovaArray is declared before use 2011-07-15 Todd Fischer <todd.fischer@ridgerun.com> posix: Add bindings for constants SIG_BLOCK, UNBLOCK and SETMASK Fixes bug 654624. 2011-07-15 Marcin Lewandowski <www@saepia.net> gstreamer-0.10: Fix ownership of get accessor of Object.name property Fixes bug 654631. 2011-07-15 Luca Bruno <lucabru@src.gnome.org> codegen: Fix handling of leaked values in transform_value Fixes bug 654619. 2011-07-13 Luca Bruno <lucabru@src.gnome.org> girparser: Fix wrong usage of nullable structs as parameters 2011-07-12 Luca Bruno <lucabru@src.gnome.org> gtk+-2.0, gtk+-3.0: Add PrintfFormat to methods of GtkMessageDialog Based on patch by Robert Ancell. Fixes bug 654439. 2011-07-11 Luca Bruno <lucabru@src.gnome.org> Fix explicit cast of instance method access to a delegate type Fixes bug 539166. 2011-07-11 Florian Brosch <flo.brosch@gmail.com> codegen: Fix vararg-parameters in interfaces 2011-07-10 Luca Bruno <lucabru@src.gnome.org> GAsync: Fix capturing type parameters in async methods Fixes bug 654337. GAsync: Fix generating finish method for generic async methods Fixes bug 654336. clutter-1.0: Switch to GIR Fixes bugs 643773 and 630679. codegen: Fix returning local variables 2011-07-09 Luca Bruno <lucabru@src.gnome.org> codegen: Support ownership transfer of non-null struct types Fixes bug 596144. 2011-07-08 Luca Bruno <lucabru@src.gnome.org> codegen: Use create_temp_value and load_temp_value on property access GAsync: Support generic types in async methods Fixes bug 653861. girparser: Add errordomain metadata 2011-07-07 Luca Bruno <lucabru@src.gnome.org> libsoup-2.4: Switch to GIR libpeas-1.0: Add missing libpeas-1.0.vapi to Makefile.am vte-2.90: Add new bindings Fixes bug 627410. 2011-07-06 Luca Bruno <lucabru@src.gnome.org> codegen: Use GLibValue.lvalue when taking the address of an expression Fixes bug 648364. codegen: Copy the result.value_type in transform_value codegen: Add lvalue field to GLibValue codegen: Use store_temp_value in visit_end_full_expression codegen: Use create_temp_value in try_cast_variant_to_type codegen: Use create_temp_value in copy_value codegen: Use create_temp_value in copy_value of array module codegen: Replace temp_ref_vars with temp_ref_values using TargetValue codegen: Use store_temp_value in visit_return_statement codegen: Use create_temp_value in visit_string_switch_statement codegen: Use create_temp_value in store_property codegen: Use create_temp_value in try_cast_value_to_type codegen: Use create_temp_value in handle_struct_argument codegen: Use create_temp_value in visit_binary_expression codegen: Use store_temp_value in visit_reference_transfer_expression codegen: Use create_temp_value in visit_object_creation_expression codegen: Use create_temp_value in struct initializer codegen: Simplify emit of postfix expression codegen: Drop useless temporary variable in visit_cast_expression codegen: Drop useless temp variable when accessing base methods codegen: Drop useless temporary variables when storing a property codegen: Cleanup simple assignment codegen: Drop useless temporary variable in simple assignment codegen: Drop useless temporary variable in array creation codegen: Make copy_value be effect-free Fixes bug 634782. codegen: Make transform_value be effect-free codegen: Use temporary variables when accessing a property codegen: Use temporary variables when accessing a variable Fixes bugs 626038 and 572091. Add actual_value_type to TargetValue Don't set target_value of assignment if parent is an expression statement codegen: Add create_temp_value, load_temp_value and store_temp_value codegen: Cleanup emit_temp_var Set lvalue to inner expression when accessing array length field Set lvalue to inner member access having type non-nullable struct Set lvalue to inner expression of method call that returns modified pointer Set lvalue to the inner expression of address-of expression Set parent_node of the postfix inner expression Set parent_node of the expression of delete statements Add get_defined_variables in PostfixExpression codegen: Unset array_size_cvalue in load_variable codegen: Use lvalue of the assignment when emitting array add Emit left-handed side of assignment when it's a field or parameter access GAsync: Push method symbol only when needed when generating async functions Fixes possible regressions of commit 9b22a27ed5ca78b74f56df7 and commit ab011012db8f5087939514c. codegen: Use get_parameter_cvalue in return_out_parameter Using load_parameter is not needed when assigning to the same parameter. 2011-07-06 Jürg Billeter <j@bitron.ch> Release 0.13.1 build: Require automake 1.11 for silent rules 2011-07-05 Luca Bruno <lucabru@src.gnome.org> girwriter: Do not write constructors of abstract classes Fix arithmetic expressions whose operands have different types codegen: Fix boxing of value type different than the target type 2011-07-05 Ryan Lortie <desrt@desrt.ca> Update gio-2.0 vapi to GLib git master Regenerate gtk+-3.0 vapi Drop -DGTK_DISABLE_DEPRECATED to avoid losing a bunch of old symbols (mostly the H/V variants of boxes, scrollbars and so on). 2011-07-05 Luca Bruno <lucabru@src.gnome.org> codegen: Fix returning inline allocated arrays Fixes bug 653908. gstreamer-0.10: Fix Pad.get_fixed_caps_func and get_proxy_(get/set)caps Fixes bug 639883. 2011-07-02 Michal Hruby <michal.mhr@gmail.com> libpeas-1.0: Added vapi based on Peas-1.0 2011-07-01 Luca Bruno <lucabru@src.gnome.org> sqlite3: Rename sqlite3_callback parameter to callback Avoid possible conflicts with the C type sqlite3_callback. 2011-06-29 Luca Bruno <lucabru@src.gnome.org> gtk+-3.0: Mark ThemingEngine.state_is_running progress to be out Fixes bug 653669. gtk+-3.0: Mark StyleProperties.register_property parse_func as nullable Fixes bug 653671. gtk+-3.0: Fix Gtk.ThemingEngine.get_background_color bindings gtk+-2.0, gtk+-3.0: Mark TreeModel.rows_reordered.iter to be nullable Fixes bug 653577. 2011-06-28 Alexander Larsson <alexl@redhat.com> pango: Fix PangoAttrShape and PangoAttrDataCopyFunc bindings Fixes bug 653528. 2011-06-28 Luca Bruno <lucabru@src.gnome.org> codewriter: Write simple_generics argument for methods gidlparser: Support setting simple_generics to methods GAsync: Fix returning out parameters from async methods Fixes bug 640721. GAsync: Use store_parameter when generating the async function codegen: Rename coroutine data variable to _data_ 2011-06-27 Luca Bruno <lucabru@src.gnome.org> gtk+-2.0, gtk+-3.0: Fix CellRenderer.get_alignment and get_padding bindings Based on patch by Alexander Larsson. Fixes bug 653527. 2011-06-27 Luca Bruno <lucabru@src.gnome.org> girparser: Add cprefix metadata argument for classes codewriter: Write lower_case_cprefix for classes Add set_lower_case_cprefix method to Class codegen: Do not declare virtual function for default signal handlers Fixes bug 615637. codegen: Support calling methods that return modified pointer on properties Fixes bug 589928. 2011-06-26 Luca Bruno <lucabru@src.gnome.org> tests: Add regression test for bug 653391 gtk+-2.0, gtk+-3.0: Add bindings for TREE_SORTABLE_*_SORT_COLUMN_ID Fixes bug 653379. codegen: Do not free captured parameters in return statements Fixes bug 653391. 2011-06-26 Luca Bruno <lucabru@src.gnome.org> gtk+-2.0, gtk+-3.0: Fix ActionCallback bindings and usage in fields Fix the regression introduced by commit 227214f0d92b06e029961. Fixes bug 653046. 2011-06-26 Luca Bruno <lucabru@src.gnome.org> codewriter: Write delegate_target for fields gidlparser: Add no_delegate_target metadata for fields 2011-06-25 Luca Bruno <lucabru@src.gnome.org> glib-2.0, tokyocabinet: Fix usage of delegate_target attribute Remove code that references unused ByRef and InstanceByReference 2011-06-22 Luca Bruno <lucabru@src.gnome.org> gtk+-3.0: Fix ThemingEngine.get_* and lookup_color return values Fixes bug 653188. codegen: Fix warning about copying delegate parameters in async method 2011-06-22 Luca Bruno <lucabru@src.gnome.org> codegen: Fix regression when setting delegate properties The regression was introduced by 1e90d53dba0eff6ec2b. Fixes bug 653138. 2011-06-21 Luca Bruno <lucabru@src.gnome.org> gtk+-2.0, gtk+-3.0: Mark ActionCallback delegate to not have a target Fixes bug 653046. 2011-06-21 Adrien Bustany <abustany@gnome.org> gtk+-3.0: Fix gtk_text_iter_backward_find_char binding 2011-06-18 Luca Bruno <lucabru@src.gnome.org> codegen: Drop useless get_temp_variable usage in visit_regex_literal gtk+-3.0: Add ellipsis to ThemingEngine.get method Fixes bug 652886. gtk+-2.0, gtk+-3.0: Mark r,g,b parameters of HSV.to_rgb as out parameters Fixes bug 652796. codegen: Fix foreach on inline allocated arrays Fixes bug 652549. 2011-06-17 Luca Bruno <lucabru@src.gnome.org> Support ref and out parameters in lambda expressions Fixes bug 622570. codegen: Fix equality expression with nullable enum values Fixes bug 652781. 2011-06-17 Vito Piserchia <johndoe@metatype.it> linux: Add socket options Fixes bug 652735. 2011-06-17 Jürg Billeter <j@bitron.ch> Release 0.13.0 Enable vapigen by default cogl-1.0: Add cogl_color_init_from_{4f,4ub} bindings gnet-2.0: Fix syntax errors 2011-06-17 Alexander Larsson <alexl@redhat.com> libnotify: Remove outdated dependencies 2011-06-17 Jürg Billeter <j@bitron.ch> Fix .begin and .end on async methods using generic types Fixes bug 652763. 2011-06-16 Luca Bruno <lucabru@src.gnome.org> Fix target_type of inner expression for generic field access The target_type of inner expression must have the actual type arguments. Fixes a regression introduced by 4935646d325911198e1fbf1c4f0734be03341c. 2011-06-16 Jürg Billeter <j@bitron.ch> gtk+-3.0: Fix GtkPlug and GtkSocket bindings 2011-06-14 Luca Bruno <lucabru@src.gnome.org> gobject-introspection: Fix TypeTag in gidl.vapi 2011-06-14 Jürg Billeter <j@bitron.ch> gtk+-3.0: Fix GtkWidget::*_event bindings 2011-06-13 Luca Bruno <lucabru@src.gnome.org> gdk-pixbuf-2.0: Fix PixbufSaveFunc and Pixbuf.save_to_callbackv bindings Based on patch by Robert Ancell. Fixes bug 652441. 2011-06-13 Luca Bruno <lucabru@src.gnome.org> tests: Add regression test for bug 623092 2011-06-12 Robert Ancell <robert.ancell@canonical.com> zlib: Make next_in and next_out buffers in Stream be unowned Fixes bug 652344. 2011-06-12 Luca Bruno <lucabru@src.gnome.org> codegen: Fix access to arrays with fixed length Fixes bug 652380. 2011-06-11 Oliver Sauder <os@esite.ch> gdk-2.0, gdk-3.0: Fix GdkDevice bindings Fixes bug 652343. 2011-06-11 Luca Bruno <lucabru@src.gnome.org> gidlparser: Support nullable metadata for properties 2011-06-10 Luca Bruno <lucabru@src.gnome.org> x11: Add more function bindings Partially fixes bug 647496. GAsync: Fix the definition of async virtual methods in interfaces Fixes bug 652252. 2011-06-09 Luca Bruno <lucabru@src.gnome.org> girparser: Remove unused variables girparser: Add closure argument for metadata codegen: Support owned delegate parameter in set accessor Transfer ownership of owned value parameter in set accessor codegen: Fix memory leak in set accessor with owned value Fixes bug 652181. 2011-06-08 Luca Bruno <lucabru@src.gnome.org> girparser: Only rely on virtual-method for marking a method as virtual 2011-06-08 Oliver Sauder <os@esite.ch> gtk+-2.0, gtk+-3.0: Fix return value of gtk_target_table_new_from_list Fixes bug 652137. 2011-06-08 Luca Bruno <lucabru@src.gnome.org> gio-2.0: Fix Bus.watch_name and watch_name_on_connection bindings Fixes bug 652123. 2011-06-07 Luca Bruno <lucabru@src.gnome.org> tests: Add ref-testing for the GIR parser 2011-06-05 Luca Bruno <lucabru@src.gnome.org> gtk+-2.0, gtk+-3.0: Mark TreeModel.get_path return value as nullable Fixes bug 651871. girparser: Set vfunc_name for virtual methods if name differs from invoker gtk+-2.0, gtk+-3.0: Make TreeModel.ref_node and unref_node be virtual Fixes bug 651872. 2011-06-04 Luca Bruno <lucabru@src.gnome.org> Move custom_return_type_cname CCode attribute down to Method girparser: Threat union with registered GType as boxed type 2011-06-04 Oliver Sauder <os@esite.ch> x11: Add XGetInputFocus method to Display Fixes bug 651853. 2011-06-03 Luca Bruno <lucabru@src.gnome.org> girparser: Handle array length index for return values Fixes bug 651773. 2011-06-03 Jürg Billeter <j@bitron.ch> Fix critical when calling generated enum to_string method 2011-06-03 Luca Bruno <lucabru@src.gnome.org> girparser: Always parse gtype structs as records even if they're disguised girparser: Ensure that cname of guessed accessor methods is correct girparser: Fix finding invoker method for virtual methods 2011-06-02 Luca Bruno <lucabru@src.gnome.org> D-Bus: Require class prerequisite for dbus interfaces Fixes bug 651715. 2011-06-01 Jürg Billeter <j@bitron.ch> codegen: Remove incorrect check when returning arrays from async methods codegen: Clarify handling of self for closures 2011-05-31 Michael 'Mickey' Lauer <mickey@vanille-media.de> alsa: fix snd_pcm_write* and and snd_pcm_read* 2011-05-31 Luca Bruno <lucabru@src.gnome.org> Collect used variables in postfix expression for flow analysis 2011-05-31 Robert Ancell <robert.ancell@canonical.com> cairo: Add missing Device class and Surface methods Fixes bug 651507. 2011-05-30 Jürg Billeter <j@bitron.ch> ccode: Fix line breaking of string literals with octal escape sequences 2011-05-30 Michael 'Mickey' Lauer <mickey@vanille-media.de> linux: bind i2c and smbus subsystem linux: bind uinput (userspace input) subsystem alsa: bind PCM subsystem posix: add inet_ntop(3) and corresponding constants linux: add misc. non-posix termios constants 2011-05-30 Luca Bruno <lucabru@src.gnome.org> codegen: Support passing real non-null structs as ref/out varargs Fixes bug 651441. 2011-05-29 Luca Bruno <lucabru@src.gnome.org> girparser: Fix criticals when enums or error domains have no children girparser: Threat non-boxed disguised records as compact classes Fixes bug 651408. 2011-05-29 Jürg Billeter <j@bitron.ch> glib-2.0: Simplify creation of GLib.Sequence dova: Allow structs without default constructor 2011-05-29 Luca Bruno <lucabru@src.gnome.org> codegen: Fix definition of fields when array length cname is specified Fixes bug 588203. Enable control flow analysis for variable declarations Fixes bug 651311. Use accept_children in DataType Fixes bug 566870. 2011-05-28 Luca Bruno <lucabru@src.gnome.org> tests: Add regression test for bug 609642 tests: Shut vala warning against asynchronous/bug641182.vala codegen: Do not initialize temp variable when getting delegate property Fixes bug 641182. codegen: Fix closures in creation methods of classes without base class Fixes bug 642899. 2011-05-27 Luca Bruno <lucabru@src.gnome.org> girparser: Skip elements with attribute private="1" tests: Add -X -g to the compilation flags 2011-05-26 Luca Bruno <lucabru@src.gnome.org> Fix checking for abstract/virtual methods inside structs Fixes bug 643711. girparser: Fix criticals when autoreparenting methods due to aliases girparser: Special case array of ctype GStrv as a null terminated array Fixes bug 645139. gtk+-2.0: Fix Gtk.Fixed.children type arguments Fixes bug 646334. codegen: Open block for try statements Fixes bug 651145. codewriter: Fix writing methods inside error domains 2011-05-25 Luca Bruno <lucabru@src.gnome.org> girparser: Allow specifying type for property in metadata Always set value_owned to false for pointers Fixes bug 650993. girparser: Fix reparenting symbols to known containers girparser: Autoreparent namespace methods before processing children girparser: Add sentinel metadata argument codegen: Forbid creating closures for delegates without target Fixes bug 645841. 2011-05-24 Luca Bruno <lucabru@src.gnome.org> codegen: Guard pointer indirection of lengths when returning arrays Fixes bug 638415. girparser: Add array_length_field metadata girparser: Do not assume method with same name of property is a getter girparser: Add printf_format metadata 2011-05-23 Luca Bruno <lucabru@src.gnome.org> girparser: Fix setting cname for fields of nested structs Fixes bug 650768. 2011-05-23 Luca Bruno <lucabru@src.gnome.org> gtk+-3.0: Add FileFilter.set_filter_name and get_filter_name Vala does not allow specifying methods that do not override interface abstract methods (get_name and set_name in this case from Gtk.Buildable). Workaround the issue by renaming the methods as this feature isn't going to be implemented anytime soon. Fixes bug 647122. 2011-05-23 Luca Bruno <lucabru@src.gnome.org> girwriter: Fix field callback of virtual async methods Fixes bug 646202. girwriter: Add self parameter to the callback of virtual methods field Fixes bug 650607. 2011-05-22 Jürg Billeter <j@bitron.ch> codegen: Fix criticals for interfaces without class prerequisite Fixes bug 642804. 2011-05-21 Jürg Billeter <j@bitron.ch> glib-2.0: Simplify creation of GLib.Array Do not accept static as type modifier Fixes bug 650686. 2011-05-20 Jürg Billeter <j@bitron.ch> D-Bus: Fix use of Bus.get_proxy outside async methods Fixes bug 644275. 2011-05-20 Alexander Kojevnikov <alexander@kojevnikov.com> tests: Do not use xargs GNU extension in the test runner Fixes bug 644884. 2011-05-20 Alexander Kojevnikov <alexander@kojevnikov.com> tests: Search path for bash Bash on BSDs is not in /bin. Fixes bug 644876. 2011-05-20 Jürg Billeter <j@bitron.ch> codegen: Fix memory management in generic methods Fixes bug 648903. Fix critical with invalid constant initializers Fixes bug 640390. Support arrays of void pointers Fixes bug 600171. 2011-05-20 Luca Bruno <lucabru@src.gnome.org> codegen: Fix copy of fixed arrays when elements require copy Fixes bug 613840. codegen: Drop ccomma expressions in copy_value 2011-05-19 Luca Bruno <lucabru@src.gnome.org> girparser: Fix adding error types to functions Fixes a regression of commit 0d5af7406b390f937acc1 accidentally missing the check on throws_string. 2011-05-18 Jürg Billeter <j@bitron.ch> codegen: Discourage copying delegates with target Target destroy notify cannot be copied, which means that memory management will often not work as expected. Use ownership transfer, unowned target variable, or extra closure instead. 2011-05-18 Luca Bruno <lucabru@src.gnome.org> girparser: Allow specifying the error thrown from a function in metadata girparser: Make type arguments be owned by default The GIR format has no information on how to transfer ownership of type arguments. Thus we assume that type arguments are unowned only if transfer-ownership is "container". 2011-05-17 Luca Bruno <lucabru@src.gnome.org> codegen: Don't hardcode C identifiers in return_out_parameter 2011-05-17 Jürg Billeter <j@bitron.ch> gtk+-3.0: Fix gtk_style_context_get and gtk_style_context_get_style gtk+-3.0: Fix GtkWidget::grab_broken_event binding gtk+-3.0: Fix gtk_widget_size_allocate binding Fixes bug 650296. Apply `new' modifier to signal default handlers gtk+-3.0: Add GtkWidgetClass.activate_signal binding 2011-05-16 Luca Bruno <lucabru@src.gnome.org> GType: Connect default signal handlers in interfaces GType: Support virtual signals in interfaces Fixes bug 642809. 2011-05-16 Jürg Billeter <j@bitron.ch> gdk-3.0: Fix gdk_window_destroy binding gtk+-3.0: Fix gtk_widget_set_window gtk+-3.0: Fix gtk_*_get_preferred_* bindings Fixes bug 650295. 2011-05-15 Robert Ancell <robert.ancell@gmail.com> librsvg-2.0: Add librsvg/rsvg-cairo.h header to cairo methods Fixes bug 642649. 2011-05-15 Luca Bruno <lucabru@src.gnome.org> codewriter: Write cheader_filename for methods not in a Namespace codegen: Use store_value when assigning the new value to out arguments This fixes: * Assigning the _size variable for arrays (was missing) * Assigning the delegate destroy notify (was missing) * Array parameters with no length (crashed the compiler) codegen: Rename store_variable to store_value and make it public codegen: Add GLibValue.ctype to be used with lvalues Cast the assigned rvalue to the ctype of the lvalue. codegen: Fix get_parameter_cvalue to consider no_array_length 2011-05-14 Luca Bruno <lucabru@src.gnome.org> girparser: Drop the parameter before the ellipsis having first_ prefix 2011-05-14 Duncan Mac-Vicar P <duncan@kde.org> linux: Fix InotifyFlags and InotifyMaskFlags bindings Fixes bug 650165. 2011-05-13 Luca Bruno <lucabru@src.gnome.org> linux: Add has_type_id=false to structs and enums Fixes bug 650069. 2011-05-12 Luca Bruno <lucabru@src.gnome.org> girparser: Handle unions inside boxed classes Fixes bug 649760. 2011-05-12 Sam Thursfield <ssssam@gmail.com> glib-2.0: Fix Log.set_fatal_mask and set_always_fatal bindings Partially fixes bug 649644. 2011-05-12 Luca Bruno <lucabru@src.gnome.org> codegen: Don't spit out critical when returning unowned delegate 2011-05-11 Nicolas Bruguier <nicolas.bruguier@supersonicimagine.fr> xcb: Add missing methods and enhance Connection bindings Fixes bug 613954. 2011-05-11 Luca Bruno <lucabru@src.gnome.org> gio-2.0: Use out uint8[] for File.load_* methods Fixes bug 594376. codegen: Fix accessing variables without delegate target codegen: Don't use simple struct initializer if local is a GValue Fixes bug 621176. 2011-05-10 Luca Bruno <lucabru@src.gnome.org> girparser: Set no_array_length if metadata specifies array argument gmodule-2.0: Add gir_namespace and gir_version information girparser: Fix getting the cname of the constructor parent class gio-2.0, gio-unix-2.0, gdk-pixbuf-2.0: Fix cancellable parameters Fixes bug 649873. 2011-05-09 Luca Bruno <lucabru@src.gnome.org> codegen: Remove unused variable codegen: Fix regression when capturing an unowned delegate variable 2011-05-08 Luca Bruno <lucabru@src.gnome.org> codegen: Use store_field for object initializer codegen: Get the instance using get_local_cvalue for object creation codegen: Use store_field in generate_struct_copy_function GAsync: Use full result of copy_value in generate_async_function codegen: Use store_field in add_struct_copy_function codegen: Save some block data members for captured parameters codegen: Use TargetValue methods in capture_parameter Fixes capturing arrays with no array length and delegates with no target. codegen: Fix result of copy_value for arrays codegen: Unowned delegates can't become owned when captured or in coroutine From a semantic view point it's neither possible to transfer ownership to an unowned delegate nor destroy its target. 2011-05-07 Luca Bruno <lucabru@src.gnome.org> codegen: Fix transform_value result when target_type is null codegen: Get rid of transform_expression It was not possible to return any extra temporary variable from transform_expression for compound types like arrays or delegates, thus producing subtle bugs. codegen: Use transform_value instead of transform_expression codegen: Drop Expression dependency from transform_value codegen: Drop Expression dependency from generate_delegate_wrapper codegen: Start porting transform_expression to transform_value codegen: Get rid of get_ref_cexpression codegen: Use copy_value instead of get_ref_cexpression codegen: Drop Expression dependency in copy_value codegen: Introduce non_null in GLibValue codegen: Return TargetValue from copy_value 2011-05-05 Luca Bruno <lucabru@src.gnome.org> codegen: Remove unused variable in gtype module codegen: Replace trivial get_ref_cexpression calls with copy_value 2011-05-05 Jürg Billeter <j@bitron.ch> gtk+-3.0: Fix GtkBorder, gtk_icon_info_*, gtk_style_context_* bindings Fixes bug 649495. 2011-05-05 Luca Bruno <lucabru@src.gnome.org> girparser: Merge all nodes that collide with a property and are getters girparser: Add null check when setting the alias cname codegen: Complete porting of GSignal and GType modules to use ccode codegen: Fix the transformation of elseif cascades using ccode ccodegen: Port the remaining code to use the ccode builder codegen: Fix regression when generating get_property The regression was introduced by b481d032269abe0d8bc1c538b due to the wrong declaration of boxed and length variables. 2011-05-04 Luca Bruno <lucabru@src.gnome.org> codegen: Get rid of get_unref_expression codegen: Use destroy_value in emit_simple_assignment D-Bus: Use destroy_local instead of get_unref_expression GObject: Use destroy_value in add_get_property_function GObject: Use ccode in add_get_property_function GError: Use destroy_value in return_with_exception GAsync: Use destroy_local and destroy_parameter in generate_free_function codegen: Use ccode in generate_free_function of the gasync module codegen: Remove useless append_function in gasync module codegen: Use destroy_value in destroy function wrappers codegen: Use destroy_value in method calls codegen: Drop destroy_variable in favor of destroy_value codegen: Add array_length_cexpr in GLibValue codegen: Use get_array_length_cvalue to get the product of all dimensions 2011-05-03 Luca Bruno <lucabru@src.gnome.org> codegen: Add copy_value for symmetry with destroy_value codegen: Use store_local and get_local_cvalue in postfix expressions 2011-05-02 Luca Bruno <lucabru@src.gnome.org> girparser: Fix adding Cancellable as last parameter girparser: Add get_cname and get_lower_case_cprefix to Node Mark the inner expression of unary increment/decrement to be lvalue Mark the inner expression of postfix expression to be lvalue 2011-05-01 Luca Bruno <lucabru@src.gnome.org> girparser: Only process static methods of root namespace girparser: Do not add default constructor to compact classes glib-2.0: Add Node n_children() method and fix nth_child() Fixes bug 649052. 2011-04-30 Luca Bruno <lucabru@src.gnome.org> codegen: Use store_field for struct initializer codegen: Cast to field or parameter ctype on assignment Forbid pointer indirection for void type Fixes bug 648890. 2011-04-30 Luca Bruno <lucabru@src.gnome.org> vte: Fix Terminal.fork_command_full binding Based on patch by Jacques-Pascal Deplaix. Fixes bug 649004. 2011-04-30 Luca Bruno <lucabru@src.gnome.org> gdk-3.0: Mark Device.grab cursor parameter to be nullable Fixes bug 649011. gdk-2.0, gdk-3.0: Fix Keymap.get_entries_for_keycode binding Fixes bug 649013. codegen: Fix array ownership transfer codegen: Store array_null_terminated information into GLibValue 2011-04-29 Jürg Billeter <j@bitron.ch> codegen: Move freeing of locals to append_scope_free method 2011-04-29 Maciej Piechotka <uzytkownik2@gmail.com> codegen: Fix execution order of finally blocks Fixes bug 648807. 2011-04-29 Luca Bruno <lucabru@src.gnome.org> Add documentation for --metadatadir in the valac and vapigen manpage gstreamer-0.10: Mark Clock.wait jitter parameter to be out Fixes bug 648684. 2011-04-29 Oliver Sauder <os@esite.ch> gio-2.0: Make return value for File.query_filesystem_info be owned Fixes bug 648814. 2011-04-29 Luca Bruno <lucabru@src.gnome.org> gdk-3.0: Fix Gdk.threads_add_* bindings Fixes bug 648744. 2011-04-28 Luca Bruno <lucabru@src.gnome.org> codegen: Create local variable for the foreach iterator codegen: Call visit_local_variable on the foreach element variable codegen: Call visit_local_variable on the foreach collection variable 2011-04-27 Luca Bruno <lucabru@src.gnome.org> codegen: Use CatchClause.error_variable instead of variable_name 2011-04-27 Maciej Piechotka <uzytkownik2@gmail.com> Fix creation of lambdas inside interface methods Fixes bug 648320. 2011-04-27 Jürg Billeter <j@bitron.ch> codegen: Fix memory leak for return statements in inner blocks variable_accessible_in_finally was not correctly working as symbol lookup failed due to local.active set to false by visit_member_access. codegen: Free locals before executing finally block Inner variables should be freed before outer variables. 2011-04-26 Luca Bruno <lucabru@src.gnome.org> girparser: Refactoring, create GIR nodes to improve the tree analysis glib-2.0: Set type_id for Pid x11: Set type_id for Atom 2011-04-25 Luca Bruno <lucabru@src.gnome.org> glib-2.0: Ultimate fix for Thread.foreach bindings Fixes bug 648588. glib-2.0: Set simple_generics for Thread.foreach Fixes bug 648588. 2011-04-24 Daniel Svensson <dsvensson@gmail.com> gtk+-2.0, gtk+-3.0: Mark *_get_layout_offsets parameters to be out Fixes bug 648540. 2011-04-23 Daniel Svensson <dsvensson@gmail.com> gtk+-2.0, gtk+-3.0: Mark Range.get_slider_range parameters to be out Fixes bug 648503. gdk-2.0, gdk-3.0: Mark Window.get_root_coords parameters to be out Fixes bug 648505. avahi-gobject: Use string.length instead of deprecated string.size() Fixes bug 648506. 2011-04-23 Luca Bruno <lucabru@src.gnome.org> girparser: Fix parsing selectors and matching girparser: Assume methods with the same name of a property are getters 2011-04-22 Luca Bruno <lucabru@src.gnome.org> Fix checking access to async callback for base methods Fixes regression introduced by 474611603ae6df7792f4dc2f107. Fix default free function for classes Fixes bug 642362. 2011-04-22 Luca Bruno <lucabru@src.gnome.org> gio-2.0: Use uint8[] for Socket buffers in send/receive methods Based on patch by Robert Ancell. Fixes bug 642528. 2011-04-22 Luca Bruno <lucabru@src.gnome.org> girparser: Auto detect real-non-null-struct out parameter as return type girparser: Allow specifying whether a boxed type is a struct 2011-04-19 Luca Bruno <lucabru@src.gnome.org> girparser: Don't mark out parameters as nullable The allow_none in the GIR format is referred to the storage location. girparser: Assume fixed-size arrays are not null terminated glib-2.0: Rename DataTestFunc to TestDataFunc Fixes bug 645178. libpq: Fix several function bindings having parameters with array type Fixes bug 644308. 2011-04-17 Ryan Lortie <desrt@desrt.ca> gio-2.0: GSettingsBindSetMapping returns owned The old binding says it returns an 'unowned GLib.Variant', which is a pretty difficult proposition for a mapping function... 2011-04-17 Jürg Billeter <j@bitron.ch> girparser: Remove unused variables 2011-04-17 Luca Bruno <lucabru@src.gnome.org> json-glib-1.0: Remove unnecessary metadata girparser: Fix owned by default assumption for parameter types girparser: Use new syntax for selecting gir elements Old syntax discriminated only between properties and signals. New syntax is pattern#selector where selector refers to an element name. 2011-04-16 Luca Bruno <lucabru@src.gnome.org> json-glib-1.0: Switch to gir girparser: Fix detecting gunichar type as unichar 2011-04-16 Colomban Wendling <ban@herbesfolles.org> glib-2.0: Fix ChildWatchSource binding Fixes bug 647911. 2011-04-16 Luca Bruno <lucabru@src.gnome.org> Forbid access to async callback out of the relative async method Fixes bug 646945. 2011-04-16 Diego Dompe <ddompe@gmail.com> gstreamer-0.10: Fix Gst.Message parse_qos* methods binding Fixes bug 647679. 2011-04-16 Luca Bruno <lucabru@src.gnome.org> gio-2.0: Mark data parameter of ContentType.guess as nullable Fixes bug 647804. 2011-04-13 Ryan Lortie <desrt@desrt.ca> GVariantType: add GVariantType.VARDICT G_VARIANT_TYPE_VARDICT = "a{sv}" in GLib 2011-04-10 Jim Nelson <jim@yorba.org> gio-2.0: Make ResolverError be an errordomain Fixes bug 646983. 2011-04-09 Daniel Hams <daniel.hams@gmail.com> gidlparser: Support hiding interfaces with metadata Fixes bug 627298. 2011-04-09 Luca Bruno <lucabru@src.gnome.org> Fix binary operations between nullable types Based on patch by Geert Jordaens. Fixes bug 591552. 2011-04-09 Luca Bruno <lucabru@src.gnome.org> Forbid implicit construction for SimpleType structs Fixes bug 616600. 2011-04-08 Jürg Billeter <j@bitron.ch> dova: Convert Array to struct 2011-04-08 Luca Bruno <lucabru@src.gnome.org> codegen: Fix lvalue access to fields 2011-04-07 Luca Bruno <lucabru@src.gnome.org> Delegate processing of common Field attributes to the Variable base class 2011-04-07 Jürg Billeter <j@bitron.ch> dova: Fix assignment to variables of generic type 2011-04-07 Luca Bruno <lucabru@src.gnome.org> x11: Use XCloseDisplay free function for Display Fixes bug 625662. 2011-04-07 Joshua Simmons <simmons.44@gmail.com> x11: Add missing XMapRaised function, ErrorCode and WindowClass enums Partially fixes bug 625662. 2011-04-06 Luca Bruno <lucabru@src.gnome.org> libgda-4.0, gedit-2.20: Fix gedit typo and GdaXaTransactionId.data Fixes bug 627035. codegen: Drop MemberAccess creation in struct destroy function gtksourceview-2.0: Fix cheader filename for SourceCompletionWords Fixes bug 617321. 2011-04-05 Luca Bruno <lucabru@src.gnome.org> codegen: Drop MemberAccess creation for disposing of 'this' in block data 2011-04-05 Michal Hruby <michal.mhr@gmail.com> gidlparser: Support error types for delegates Fixes bug 644420. 2011-04-05 Joakim Sindholt <opensource@zhasha.com> codegen: Copy the delegate target when copying structs Fixes bug 639751. 2011-04-05 Marin Moulinier <marin.star1@gmail.com> cairo: Fix cairo_read_func_t and cairo_write_func_t bindings Fixes bug 645766. 2011-04-05 Alexander Kurtz <kurtz.alex@googlemail.com> x11: Fix Display.display_string bindings 2011-04-05 Jürg Billeter <j@bitron.ch> Allow access to length of constant array in constant initializer lists Fixes bug 643010. codegen: Fix initializer lists for structs with array fields 2011-04-05 Emmanuele Bassi <ebassi@linux.intel.com> vapi: Update clutter-gtk-1.0 bindings The metadata and files of clutter-gtk-1.0 were still referencing clutter-gtk-0.10 includes and shared object. The clutter-gtk-1.0 metadata has been regenerated against the current 1.0.0 tarball. 2011-04-04 Alexander Kurtz <kurtz.alex@googlemail.com> x11: Add function bindings to deal with KeySym and KeyCode 2011-04-04 Luca Bruno <lucabru@src.gnome.org> codewriter: Write enum cname when it differs from the default cname Based on patch by Evan Nemerson. Fixes bug 615493. 2011-04-04 Luca Bruno <lucabru@src.gnome.org> codegen: Drop MemberAccess creation for static field initialization 2011-04-04 Alexander Kurtz <kurtz.alex@googlemail.com> x11: Fix get_keyboard_mapping and keysym_to_keycode bindings 2011-04-04 Michal Hruby <michal.mhr@gmail.com> gidlparser: Add support for array return values in delegates Partially fixes bug 644420. Support array_length_type for delegate return values Partially fixes bug 644420. 2011-04-04 Luca Bruno <lucabru@src.gnome.org> Fix InterfaceType cname to refer to Interface type_cname girparser: Always set the type_id for classes and interfaces Support setting type_id to Vala.Interface girparser: Fix processing deprecation. girparser: Store all attributes in girdata for all symbols. markupreader: Add get_attributes() method returning a copy of attributes. girparser: Set cheader_filename for all symbols. girparser: Fix setting ownership for parameters. girparser: Parse signals in parse_function. girparser: Add constructor to boxed types. girparser: Provide default constructor for classes. girparser: Merge virtual method specified in metadata. girparser: Support ByteArray arrays. Allow setting cname of ErrorCode. girparser: Use the same function for enumeration, bitfield and error domain. girparser: Mark bitfield to be Flags girparser: Remove redundant code for checking out parameters. girparser: Move parse_constructor inside common parse_function. girparser: Add metadata argument to override scope attribute. girparser: Use ArrayList for symbols info because field ordering matters. girparser: Fix assuming parameter names of signal from virtual method. girparser: Support async constructors. girparser: Use an HashSet for merged symbols. girparser: Move handle_async_methods into the merge_add_process. girparser: Support negative integer literals in metadata. vapigen: Fix marking gir metadata as source. girparser: Support aliases whose base type is a SimpleType. girparser: Never skip symbol if skip=false is explicited in metadata. girparser: Skip private structs. girparser: Report unused metadata only if repository has been parsed. girparser: Property without accessor must have owned get. girparser: Assume arrays without length are null terminated. girparser: Better support for arrays in return type. girparser: Rename array_length_pos to array_length_idx in metadata. girparser: Rename MethodInfo to ParameterInfo. girparser: Guess array length type for arrays girparser: Fix unowned keyword in metadata types girparser: Fix parsing arrays in metadata types girparser: Support specifying symbols in metadata girparser: Fix support for signals metadata. girparser: Support null literals in metadata girparser: Set the base type for classes defined in custom vala files. girparser: Skip priv fields girparser: Simplify postprocessing callbacks. Use symbols info for records. girparser: Don't add NoAccessorMethod if there is a setter girparser: Fix mapping gsize to size_t and gssize to ssize_t. girparser: Remove all type arguments when using type_arguments metadata. girparser: Support reparenting static methods in namespace girparser: Support -custom.vala files Add --metadatadir option to specify path for GIR metadata 2011-04-04 Jürg Billeter <j@bitron.ch> Drop deprecated support for D-Bus GLib GDBus should be used instead. 2011-04-03 Jürg Billeter <j@bitron.ch> Bump version suffix Release 0.12.0 2011-04-03 Marco Trevisan (Treviño) <mail@3v1n0.net> D-Bus: Avoid invalid C code when using reserved names as parameters Fixes bug 643744. 2011-04-02 Jürg Billeter <j@bitron.ch> codegen: Fix use of property assignments as subexpressions Fixes bug 640171. glib-2.0: Add string.get_next_char Fixes bug 645150. 2011-04-02 Jürg Billeter <j@bitron.ch> codegen: Fix array size variable on assignment The array size of the right-hand side should not be used as the copy may have a different size. Fixes bug 646294. 2011-04-02 Jürg Billeter <j@bitron.ch> glib-2.0: Add g_unichar_ismark binding 2011-04-02 Luca Bruno <lucabru@src.gnome.org> codegen: Fix look-up of next closure block Methods that are not closures don't capture parent blocks. Fixes bug 646345. 2011-03-31 Michael 'Mickey' Lauer <mickey@vanille-media.de> linux: start with binding the Wireless Extension API (WEXT) infrastructure linux: bind IFNAMSIZ from linux/if.h to fix net/if.h conflict add necessary netinet/in.h include to Linux.Network.IfReq 2011-03-30 Alexander Kurtz <kurtz.alex@googlemail.com> x11: Fix typo 2011-03-30 Ryan Lortie <desrt@desrt.ca> GDBusConnection.call 'reply_type' is nullable GVariant binding: add get_child() method GActionGroup bindings: add some metadata gidl parser: add interface type_cname attribute This is how to specify eg. GActionIface vs. GActionInterface 2011-03-29 Jürg Billeter <j@bitron.ch> Fix DelegateType.copy girwriter: Set scope for callback parameters of async methods 2011-03-27 Jürg Billeter <j@bitron.ch> codegen: Fix freeing on assignment to fields of generic type Fixes bug 645773. 2011-03-27 Luca Bruno <lucabru@src.gnome.org> codegen: Fix leak when destroying null terminated arrays 2011-03-26 Michael 'Mickey' Lauer <mickey@vanille-media.de> linux: add ioctls and structures for n_gsm n_gsm is a new line discipline that implements the 3GPP 07.10 multiplexing protocol in the kernel. linux: add makedev(3), major(3), and minor(3) 2011-03-24 Jürg Billeter <j@bitron.ch> gtk+-3.0: Update to 3.0.5 2011-03-23 Jürg Billeter <j@bitron.ch> gio-2.0: Fix g_data_input_stream_read_line_finish binding Fixes bug 639211. D-Bus: Emit cast to avoid C warning for signal handling in clients D-Bus: Remove extra semicolon to avoid C warning D-Bus: Add missing string.h includes 2011-03-23 Luca Bruno <lucabru@src.gnome.org> codegen: Always call _finish() after yield Fixes bug 645606. 2011-03-23 Ryan Lortie <desrt@desrt.ca> glib binding: mark VariantType [Immutable] This gets us proper behaviour with respect to functions that return unowned VariantType (which is 'const GVariantType *' in C). 2011-03-23 Jürg Billeter <j@bitron.ch> girwriter: Skip methods with va_list parameters gobject-introspection does not currently support va_list parameters. 2011-03-22 Jürg Billeter <j@bitron.ch> D-Bus: Support DBus.signature attribute for struct fields Fixes bug 645528. vte: Update to 0.27.90 Fixes bug 627410. codegen: Fix freeing of owned parameters Fixes bug 645177. 2011-03-20 tfischer <tfischer@ridgerun.com> posix: Add setlogmask() and LOG_UPTO(). Fixes bug 645189. 2011-03-20 Luca Bruno <lucabru@src.gnome.org> gio-2.0: Fix InetAddress.from_bytes bindings Based on patch by Robert Ancell. Fixes bug 644974. 2011-03-20 Marco Trevisan (Treviño) <mail@3v1n0.net> gio-2.0: Fix Bus.own_name and own_name_on_connection bindings. 2011-03-19 Robert Ancell <robert.ancell@canonical.com> posix: Support handling SA_SIGINFO with sigaction Closes bug 633769 2011-03-19 Oliver Sauder <os@esite.ch> gdk-2.0, gdk-3.0: Fix atom name bindings https://bugzilla.gnome.org/show_bug.cgi?id=645215 2011-03-17 Michal Hruby <michal.mhr@gmail.com> gtk+-2.0, gtk+-3.0: Fix more clipboard-related bindings Fixes bug 645071. 2011-03-17 Luca Bruno <lucabru@src.gnome.org> glib-2.0: Fix KeyFile get_comment and set_comment bindings 2011-03-16 Jürg Billeter <j@bitron.ch> Release 0.11.7 D-Bus: Fix Connection.get_proxy.begin calls D-Bus: Fix get_proxy.begin calls 2011-03-16 Jürg Billeter <j@bitron.ch> glib-2.0: Do not use strnlen strnlen is not available on all systems. Fixes bug 644550. 2011-03-15 Ryan Lortie <desrt@desrt.ca> Write delegates as qualified types in code writer Fixes bug 643927. 2011-03-15 Marco Trevisan (Treviño) <mail@3v1n0.net> Add support for [Experimental] attribute Report a warning when using experimental symbols. The GIDL parser has been updated, too, and bindings have been regenerated. Fixes bug 644779. 2011-03-14 Ryan Lortie <desrt@desrt.ca> gio: one more fix for GActionGroup.list_actions() We must explicitly specify that the array is null-terminated. 2011-03-14 Ryan Lortie <desrt@desrt.ca> gio: fix binding for GActionGroup.list_actions() vapigen was detecting gchar ** g_action_group_list_actions (GActionGroup *action_group); as public abstract unowned string list_actions (); Add some metadata to clear that up and regenerate the vapi. 2011-03-14 Michal Hruby <michal.mhr@gmail.com> gdk-pixbuf-2.0: Fix binding for serialize method 2011-03-13 Ryan Lortie <desrt@desrt.ca> Revert "GModule vapi: add missing close() method" This reverts commit 09b06c19dd7eb965f02d26305e810a9126e9bc93. g_module_close() is the free function. 2011-03-13 Ryan Lortie <desrt@desrt.ca> GModule vapi: add missing close() method 2011-03-12 Jürg Billeter <j@bitron.ch> gtk+-2.0, gtk+-3.0: Fix gtk_tree_view_column_cell_get_position binding 2011-03-11 Michal Hruby <michal.mhr@gmail.com> pango: Multiple binding fixes Fixes bug 642293. 2011-03-10 Michal Hruby <michal.mhr@gmail.com> gtk+-2.0, gtk+-3.0: Fix TreeModelFilter.set_modify_func Fixes bug 643852. gtk+-2.0, gtk+-3.0: Fix get_selection_bounds binding Fixes bug 644158. cairo: Mark filename parameter for PdfSurface nullable Fixes bug 644158. tests: Add test for fixed size arrays 2011-03-10 Jürg Billeter <j@bitron.ch> codegen: Fix assignment to fixed-length array variable Fixes bug 644413. 2011-03-10 Luca Bruno <lucabru@src.gnome.org> codegen: Drop MemberAccess creation for field finalization codegen: Drop MemberAccess creation for field array initializer codegen: Add convenience load_this_parameter() method codegen: Use TargetValue instead of Expression for field instance 2011-03-10 Michal Hruby <michal.mhr@gmail.com> gtk+-2.0, gtk+-3.0: Fix Gtk.TextBuffer serialize and deserialize methods gtk+-2.0, gtk+-3.0: Fix Gtk.TextBufferDeserializeFunc 2011-03-06 Luca Bruno <lucabru@src.gnome.org> gtk+-2.0, gtk+-3.0: Fix binding for TextTagTable.foreach 2011-03-05 Luca Bruno <lucabru@src.gnome.org> codegen: Don't check for comma expression in get_field_cvalue All comma expressions have been dropped, so it's not possible that an inner C expression is a comma expression. codegen: Don't check for comma expression in visit_addressof_expression All comma expressions have been dropped, so it's not possible that an inner C expression is a comma expression. codegen: Drop useless comma expression when copying GValue codegen: Drop useless comma expression when using chained expressions codegen: Drop useless comma expression when handling struct arguments 2011-03-03 Luca Bruno <lucabru@src.gnome.org> codegen: Drop useless comma expression in GType module codegen: Drop useless comma expression in GSignal module codegen: Drop useless comma expression in GObject module codegen: Drop useless comma expression in method call codegen: Drop unused code from the base module 2011-03-02 Ryan Lortie <desrt@desrt.ca> GVariant binding: bind g_variant_{get,new}_va I didn't bind these because I didn't know that it was possible to use va_list from Vala. It is, so bind them. 2011-03-01 Michael 'Mickey' Lauer <mickey@vanille-media.de> Linux: add epoll(7) and friends Based on a patch by Stefano Debenedetti Closes bug #641790 2011-03-01 Marco Trevisan (Treviño) <mail@3v1n0.net> Posix: added sched_ functions support Scheduler functions included Closes bug #639344 2011-03-01 Jürg Billeter <j@bitron.ch> CodeWriter: Write [Diagnostics] attribute 2011-03-01 Luca Bruno <lucabru@src.gnome.org> codegen: Drop unnecessary comma expressions in method calls 2011-03-01 Frederik 'playya' Sdun <Frederik.Sdun@googlemail.com> Add support for async signal handlers Fixes bug 602594. 2011-03-01 Michal Hruby <michal.mhr@gmail.com> girwriter: Don't use constructor tag with structs girwriter: Fix output of interface structs girwriter: Fix indices for delegate parameters 2011-03-01 Luca Bruno <lucabru@src.gnome.org> codegen: Drop unnecessary comma expressions in member access 2011-02-28 Michal Hruby <michal.mhr@gmail.com> gobject-2.0: Add binding for Signal.get_invocation_hint 2011-02-28 Luca Bruno <lucabru@src.gnome.org> gtk+-2.0, gtk+-3.0: Fix gtk_tree_view_column_cell_get_position binding. Fixes bug 642635. 2011-02-28 Ilya Mezhirov <mezhirov@gmail.com> libgsf-1: Fix cheader_filename for OutputGio. Fixes bug 642370. 2011-02-28 Florian Brosch <flo.brosch@gmail.com> libvaladoc/api: Add API documentation for Struct libvaladoc: Add API documentation for MarkupWriter libvaladoc: Add API documentation for Doclet libvaladoc/api: Remove unused source file libvaladoc/ErrorReporter: Drop unused enum definition `ErrorLevel' libvaladoc: Add API documentation for CTypeResolver libvaladoc/api: Add API documentation for Namespace libvaladoc/api: Add API documentation for Method libvaladoc/api: Add API documentation for Interface libvaladoc/api: Add API documentation for Package libvaladoc/api: Add API documentation for NodeBuilder libvaladoc/api: Add API documentation for Signal libvaladoc/api: Add API documentation for PropertyAccessor libvaladoc/api: Add API documentation for Property libvaladoc/api: Add API documentation for Errorcode libvaladoc/api: Add API documentation for Errordomain libvaladoc/api: Add API documentation for FormalParameter libvaladoc/api: Add API documentation for Node libvaladoc/api: Add API documentation for TypeReference libvaladoc/api: Add API documentation for SignatureBuilder libvaladoc/api: Add API documentation for TypeParameter libvaladoc/api: Add API documentation for TypeSymbol libvaladoc/api: Add API documentation for Enumvalue libvaladoc/api: Add API documentation for Item libvaladoc: Add API documentation for file utils libvaladoc: Add API documentation for Settings libvaladoc/api: Add API documentation for Enum libvaladoc/api: Add API documentation for Tree libvaladoc/api: Add API documentation for Field libvaladoc/api: Add API documentation for Constant libvaladoc/api: Add API documentation for Browsable 2011-02-28 Jamie McCracken <jamie.mccrack@gmail.com> Genie: Fix parameter attributes (patch by Arc Riley) 2011-02-27 Florian Brosch <flo.brosch@gmail.com> libvaladoc/api: Fix typo in Class libvaladoc/api: Add API documentation for Delegate libvaladoc/api: Add API documentation for Class libvaladoc/api: Add API documentation for Symbol libvaladoc/api: Add API documentation for Pointer libvaladoc/api: Add API documentation for Array libvaladoc/api: Add API documentation for Visitor 2011-02-26 Jürg Billeter <j@bitron.ch> gtk+-3.0: Fix gtk_widget_adjust_size_* bindings 2011-02-25 Florian Brosch <flo.brosch@gmail.com> Hide vala warnings by default Drop --enable-checking Drop --enable-deprecated Add --version Increase version number (0.2.1) 2011-02-24 Florian Brosch <flo.brosch@gmail.com> doclets/gtkodc: Do not generate *.c files for thrown errordomains Fixes bug 637087. 2011-02-24 Michal Hruby <michal.mhr@gmail.com> gtk+-2.0, gtk+-3.0: Fix a few Clipboard related bindings 2011-02-24 Jim Nelson <jim@yorba.org> gtk+-2.0, gtk+-3.0: Fix GtkToggleActionEntry binding Fixes bug 643152. 2011-02-24 Michal Hruby <michal.mhr@gmail.com> gidlparser: Fix null-terminated array parameters in delegates 2011-02-24 Florian Brosch <flo.brosch@gmail.com> libvaladoc: TypeReference: Add missing null checks doclets/gtkdoc: Work around crash in scanobj (free, invalid next size) doclets/gtkdoc: Fix a few runtime warnings (null ptr) 2011-02-23 Jürg Billeter <j@bitron.ch> codegen: Use destroy_field in finalizers Fix crash on assignment to array length field 2011-02-22 Jürg Billeter <j@bitron.ch> codegen: Use destroy_variable in store_* codegen: Add destroy_local, destroy_parameter, and destroy_field This is in line with load_* and store_* methods. Use store_local and store_parameter for simple assignments codegen: Use temporary variable for string concatenation gio-2.0: Fix g_application_local_command_line binding Fixes bug 642885. 2011-02-22 Michal Hruby <michal.mhr@gmail.com> gdk-2.0, gdk-3.0: Fix Gdk.Rectangle.intersect binding 2011-02-22 Jürg Billeter <j@bitron.ch> girparser: Mark methods and properties as extern Fixes bug 642611. gtk+-2.0, gtk+-3.0: Fix GtkActionEntry binding Fixes bug 642427. 2011-02-21 Michal Hruby <michal.mhr@gmail.com> rest-0.6: Mark the new_call method as virtual 2011-02-20 Michal Hruby <michal.mhr@gmail.com> rest-0.6: Fix multiple issues with the bindings 2011-02-20 Florian Brosch <flo.brosch@gmail.com> doclet/gtkdoc: Use -X to pass .c and .h files instead of scanning basedir 2011-02-18 Florian Brosch <flo.brosch@gmail.com> libvaladoc/api: TypeReference: Drop type_name libvaladoc/api: TypeReference: Improve is_weak & is_unowned 2011-02-16 Florian Brosch <flo.brosch@gmail.com> libvaladoc/html: Escape {{{text}}} libvaladoc/html: Cells: Fix text alignment libvaladoc: DocumentationParser: Fix row- and collspan libvaladoc/html: LinkHelper: Fix wiki name translation libvaladoc: Add Content.WikiLink libvaladoc: documentationparser: Do not allow two spaces in a a row 2011-02-16 Jürg Billeter <j@bitron.ch> codegen: Add get_field_cvalue and load_field codegen: Add get_parameter_cvalue and load_parameter in dova codegen: Use TargetValue for ref and out expressions 2011-02-16 Luca Bruno <lucabru@src.gnome.org> codegen: Drop unnecessary comma expressions when boxing values codegen: Drop unnecessary comma expressions in silent casts Assume temporary variable owns value depending on the relative expression. 2011-02-15 Jürg Billeter <j@bitron.ch> codegen: Move array length handling to load_variable 2011-02-15 Luca Bruno <lucabru@src.gnome.org> ccodegen: Drop unnecessary comma expressions at end of full expressions With this change object creation expressions that refer to a local variable and have simple struct initializer will directly emit the creation expression instead of setting it as C expression. codegen: Drop unnecessary comma expressions in initializers 2011-02-15 Florian Brosch <flo.brosch@gmail.com> gtkdoc: rename --nohtml to --no-html doclets/gtkdoc: Use ErrorReporter instead of GLib.warning Allow doclets to report errors & warnings doclet/gtkdoc: Process external c files libvaladoc: Collect external c files 2011-02-14 Jürg Billeter <j@bitron.ch> Release 0.11.6 Allow casts in constant initializers 2011-02-14 Florian Brosch <flo.brosch@gmail.com> doclet/gtkdoc: @see, @link: Fix nullptr error on unresolved types 2011-02-14 Ryan Lortie <desrt@desrt.ca> GVariant binding: add lookup APIs 2011-02-14 Florian Brosch <flo.brosch@gmail.com> libvaladoc: migrate to new string api 2011-02-13 Jürg Billeter <j@bitron.ch> codegen: Use builder API to free captured variables 2011-02-13 Luca Bruno <lucabru@src.gnome.org> codegen: Guard array length access on simple assignment codegen: Replace get_unref_expression_ with destroy_variable 2011-02-11 Stefano Debenedetti <ste@demaledetti.net> posix: Add recv() function binding. Fixes bug 641785. glib-2.0: Fix PollFunc delegate binding. Fixes bug 641789. posix: Fix poll and ppoll bindings. Fixes bug 641788. 2011-02-11 Jürg Billeter <j@bitron.ch> Add clutter-gtk-1.0 bindings Fixes bug 642013. 2011-02-10 Jürg Billeter <j@bitron.ch> glib-2.0: Improve performance of string.substring on large strings 2011-02-09 Jürg Billeter <j@bitron.ch> gtk+-2.0, gtk+-3.0: Fix gtk_style_copy binding Fixes bug 641950. Allow use of N_("foo") in constant initializer lists 2011-02-08 Jürg Billeter <j@bitron.ch> Fix signals with generic parameters Fixes bug 628639. Support translated string constants Fixes bug 641543. Report error for constants with non-constant expressions 2011-02-08 Florian Brosch <flo.brosch@gmail.com> doclets/gtkdoc: Replace deprecated function calls libvaladoc: Replace deprecated function calls 2011-02-08 Jürg Billeter <j@bitron.ch> codegen: Fix property accessor definitions with custom cname Fixes bug 641781. 2011-02-07 Jürg Billeter <j@bitron.ch> gtk+-3.0: Fix gtk_widget_get_preferred_* bindings gtk+-2.0, gtk+-3.0: Fix gtk_text_iter_{begins,ends}_tag bindings gdk-3.0: Fix GdkRectangle binding Fixes bug 637901. Fix null-terminated array parameters in signals Fixes bug 641715. 2011-02-07 Frederik 'playya' Sdun <Frederik.Sdun@googlemail.com> gio-2.0: add array_null_terminated annotions in DBus Introspection 2011-02-07 Evan Nemerson <evan@coeus-group.com> pixman-1: fix Image ref and unref functions 2011-02-07 Jürg Billeter <j@bitron.ch> gio-2.0: Fix g_application_local_command_line binding Fixes bug 641512. 2011-02-07 Florian Brosch <flo.brosch@gmail.com> valadoc/api: FormalParameter: Allow complex default values 2011-02-06 Florian Brosch <flo.brosch@gmail.com> libvaladoc/api: FormalParameter: mark default values as literals 2011-02-06 Luca Bruno <lucabru@src.gnome.org> json-glib-1.0: Make Object.set_member node parameter owned cogl-1.0: Fix Matrix from_array, get_inverse and transform_point clutter-1.0: Fix Actor methods about transformation matrix and rotation. Fixed methods are apply_transform, get_tranformation_matrix and get_rotation. 2011-02-05 Evan Nemerson <evan@coeus-group.com> clutter-1.0: make entries parameter of init_with_args an array Fixes bug 639657. 2011-02-05 Marc-André Lureau <marcandre.lureau@gmail.com> libsoup-2.4: Move form_* methods into Form and fix ownership issues Fixes bug 640841. 2011-02-05 Evan Nemerson <evan@coeus-group.com> Add pixman-1 bindings linux: add omapfb bindings 2011-02-04 Evan Nemerson <evan@coeus-group.com> glib-2.0: add missing parameter to Variant.dup_bytestring gdk-pixbuf-2.0: make return value of Gdk.Pixbuf.flip nullable gio-2.0: use GLib.Func for Cancellable.connect argument 2011-02-03 Florian Brosch <flo.brosch@gmail.com> libvaladoc: turn all singletons into regular classes doclets: drop deprecated valadoc.org-doclet libvaladoc/html: HtmlRenderer: null-ptr-fix 2011-02-02 Florian Brosch <flo.brosch@gmail.com> libvaladoc/html: HtmlRenderer: Deprecated: Add missing space libvaladoc/documentation: Fix a few limitations in the grammar Fix no_bullet 2011-02-01 Florian Brosch <flo.brosch@gmail.com> libvaladoc/html: process Paragraph.horizontal_align 2011-01-29 Jürg Billeter <j@bitron.ch> glib-2.0: Add parse and try_parse methods to boolean and numeric types This deprecates string.to_bool and string.to_int*. 2011-01-28 Jürg Billeter <j@bitron.ch> Do not use verbose error reporting for deprecation warnings 2011-01-25 Jürg Billeter <j@bitron.ch> gio-2.0: Fix GDBusProxy::g-properties-changed binding 2011-01-24 Evan Nemerson <evan@coeus-group.com> mx-1.0: Make Padding a struct instead of a compact class 2011-01-23 Andrea Del Signore <sejerpz@tin.it> gtksourceview-2.0: Fix SourceCompletionContext and SourceCompletionProvider 2011-01-21 Jürg Billeter <j@bitron.ch> Release 0.11.5 2011-01-21 Luca Bruno <lucabru@src.gnome.org> Add test for throwing errors from catch clauses 2011-01-21 Sebastian Dröge <sebastian.droege@collabora.co.uk> gstreamer-pbutils-0.10: Use custom ref/unref functions for Gst.EncodingTarget 2011-01-21 Arun Raghavan <arun.raghavan@collabora.co.uk> gstreamer-pbutils-0.10: Update for 0.10.32 Main change is the addition of encoding profiles and related API. 2011-01-20 Jürg Billeter <j@bitron.ch> glib-2.0: Add string.last_index_of_char This deprecates string.rchr. glib-2.0: Add string.last_index_of This deprecates string.rstr. 2011-01-20 Michal Hruby <michal.mhr@gmail.com> girwriter: Fix methods returning arrays 2011-01-20 Luca Bruno <lucabru@src.gnome.org> Add *~ to .gitignore 2011-01-20 Jürg Billeter <j@bitron.ch> GAsync: Fix capturing parameters in async methods codegen: Set closure pointers to NULL after unref codegen: Revert not_in_coroutine convenience parameter Commit fb0c4bb7 broke closures in async methods. Add test for closures in async methods 2011-01-20 Evan Nemerson <evan@coeus-group.com> glib-2.0: Make GLib.Log.default_handler a GLib.LogFunc Fixes bug 638682. tokyocabinet: Fix delegate target cname for Tree.cmp 2011-01-19 Evan Nemerson <evan@coeus-group.com> girparser: Support unnamed arguments for all types Fixes bug 636996. 2011-01-19 Geert Jordaens <geert.jordaens@telenet.be> libusb-1.0: Add TransferFlags, use Posix.timeval not GLib.TimeVal 2011-01-19 Luca Bruno <lucabru@src.gnome.org> codegen: Rename append_array_size and get_array_sizes to *_length(s) The code of these two functions actually append a length C expression to the array expression, not its size. codegen: Add not_in_coroutine convenience parameter to get an lvalue codegen: Add convenience is_in_coroutine() function 2011-01-19 Jürg Billeter <j@bitron.ch> codegen: Use store_local in visit_local_variable Based on patch by Luca Bruno. codegen: Move main declaration to the beginning in visit_local_variable codegen: Simplify visit_local_variable codegen: Remove unnecessary temporary variables in visit_local_variable codegen: Simplify visit_local_variable 2011-01-19 Evan Nemerson <evan@coeus-group.com> gstreamer-0.10: Correct metadata order and use void* instead of pointer vapigen: Fix handling of arrays and nullability when parsing types 2011-01-19 Luca Bruno <lucabru@src.gnome.org> codegen: Add CCodeFunction.add_assignment convenience function codegen: Add get_parameter_cvalue and load_parameter Fix capturing delegate parameters in async method. Fixes bug 639591. 2011-01-19 Michael Terry <mike@mterry.name> gio-2.0: Set Settings.get_string as transferring ownership 2011-01-18 Luca Bruno <lucabru@src.gnome.org> codegen: Use get_local_cvalue to unref local variables 2011-01-18 Michal Hruby <michal.mhr@gmail.com> girwriter: Fix methods returning non-null structs 2011-01-18 Jürg Billeter <j@bitron.ch> D-Bus: Fix use of dbus-glib interfaces in multiple source files 2011-01-17 Luca Bruno <lucabru@src.gnome.org> gtk+-3.0, gdk-3.0: Set gir namespace version to 3.0. unique-1.0: Fix MessageData.set binding. Fixes bug 639694. 2011-01-16 Jürg Billeter <j@bitron.ch> Move handling of common attributes from Field and Parameter to Variable vapigen: Fix metadata pattern handling 2011-01-15 Javier Jardón <jjardon@gnome.org> posix: Add writev and readv POSIX compliant functions. Fixes bug 639306. 2011-01-15 Jürg Billeter <j@bitron.ch> Release 0.11.4 gtk+-3.0: Fix gtk_tree_model_iter_previous binding glib-2.0: Add string.index_of_char This deprecates string.chr. glib-2.0: Add string.index_of This deprecates string.str. glib-2.0: Add string.index_of_nth_char This deprecates string.utf8_offset, string.offset, string.pointer_to_offset, and string.ndup. 2011-01-15 Luca Bruno <lucabru@src.gnome.org> Use gdestroynotify_type in codegen instead of looking it up everytime. 2011-01-15 Jürg Billeter <j@bitron.ch> glib-2.0: Add string.valid_char glib-2.0: Add string.char_count D-Bus: Support get_proxy with generic type in GDBus clients Fixes bug 612517. D-Bus: Fix string-marshalled enum handling in async GDBus servers Add get_type functions to symbols file Fixes bug 637909. 2011-01-15 Luca Bruno <lucabru@src.gnome.org> glib-2.0: Set default_value of time_t to 0 Fixes bug 615108. 2011-01-15 Jürg Billeter <j@bitron.ch> webkit-1.0: Add generic type arguments Based on patch by Igor Boev, fixes bug 639150. Remove unused variable in parser D-Bus: Handle invalid values for string-marshalled enums in GDBus Fixes bug 607559. GVariant: Add error parameter for enum from_string functions gtk+-3.0: Update to 2.99.2 vapigen: Support hidden attribute for interface implementations gdk-pixbuf-2.0: Update to 2.23.0 gio-2.0: Update to 2.27.91 2011-01-15 Luca Bruno <lucabru@src.gnome.org> gtk+-2.0, gtk+-3.0: Mark gtk_layout_new parameters nullable. Fixes bug 639156. gdk-2.0, gdk-3.0: Mark EventButton.axes and EventMotion.axes to be an array. Fixes bug 639570. posix: Add shutdown() and shutdown constants. Fixes bug 638916. 2011-01-15 Jürg Billeter <j@bitron.ch> gtk+-3.0: Fix gtk_widget_destroy binding Fixes bug 638290. Allow arbitrary method calls in yield expressions Fixes bug 612172. 2011-01-15 Luca Bruno <lucabru@src.gnome.org> Fix base class method compatibility check with the ellipsis parameter Fixes bug 633218. Support reference transfer for delegates Fixes bug 632411. girwriter: Fix string annotations 2011-01-14 Jürg Billeter <j@bitron.ch> gtk+-3.0: Fix gtk_cell_renderer_get_preferred_* bindings Fixes bug 639551. 2011-01-13 Jürg Billeter <j@bitron.ch> D-Bus: Fix memory leak in error handling in async GDBus servers codegen: Limit scope of locals freed on errors thrown from catch clauses This fixes double unref of closures. codegen: Merge append_local_free and append_error_free codegen: Always add default label to switch statements codegen: Fix crash on string switch statement with just a default label Fixes bug 639387. 2011-01-12 Raul Gutierrez Segales <raul.gutierrez.segales@collabora.co.uk> gio-2.0: Mark ContentType.guess filename parameter to be nullable. 2011-01-10 Luca Bruno <lucabru@src.gnome.org> gio-2.0: Mark GLib.Socket.accept return value to be owned. Based on patch by Stefano Debenedetti. Fixes bug 638912. 2011-01-10 Luca Bruno <lucabru@src.gnome.org> gio-2.0: Add missing metadata for previous commit setting IOError throws. Previous commit was 58f542837b1f0204b4 that only affected the gio-2.0.vapi. webkit-1.0: Last parameter of WebKitWebView::load_error is GLib.Error. Fixes bug 639096. 2011-01-09 Luca Bruno <lucabru@src.gnome.org> gnome-keyring-1: Make store_password_sync keyring parameter nullable. Support owned delegate parameters in delegates. Fixes bug 639059. gio-2.0: set_error_if_cancelled and condition_wait throw IOError. 2011-01-09 Jürg Billeter <j@bitron.ch> D-Bus: Fix warning and leak in proxy creation in dbus-glib clients 2011-01-08 Jürg Billeter <j@bitron.ch> D-Bus: Add interface to signal match rule for dbus-glib clients Fixes bug 631126. Do not install GObject properties for D-Bus interfaces They were never properly implemented in the proxy classes. Latest GLib release prints critical warnings due to the missing implementation. Fix formal_target_type in conditional expressions Fixes bug 638902. x11: Add XK_Super_L and XK_Super_R bindings 2011-01-06 Daniel Svensson <dsvensson@gmail.com> avahi-gobject: Make Avahi.Protocol an enum instead of struct. 2011-01-06 Jürg Billeter <j@bitron.ch> json-glib-1.0: Update for 0.12.0 2011-01-05 Jürg Billeter <j@bitron.ch> Release 0.11.3 2011-01-05 Luca Bruno <lucabru@src.gnome.org> girparser: Fix checking end element in parse_boxed 2011-01-05 Jürg Billeter <j@bitron.ch> glib-2.0: Use int for string.length 2011-01-05 Luca Bruno <lucabru@src.gnome.org> girparser: Skip priv fields when parsing record girparser: Fix parsing glib:boxed 2011-01-04 Jürg Billeter <j@bitron.ch> glib-2.0: Fix GVariantClass binding 2011-01-04 Andreas Brauchli <a.brauchli@elementarea.net> clutter-gtk-0.10: Fix init_with_args bindings. Fixes bug 635522. 2011-01-04 Luca Bruno <lucabru@src.gnome.org> gtk+-2.0, gtk+-3.0: Fix gtk_init_add and gtk_quit_add bindings. Fixes bug 638496. 2010-12-29 Jürg Billeter <j@bitron.ch> gtksourceview-2.0: Fix gtk_source_completion_proposal_get_* bindings GVariant: Fix serialization of empty hash tables cairo: Add fields to cairo_matrix_t binding pango: Fix pango_attr_list_change binding 2010-12-27 Michael 'Mickey' Lauer <mickey@vanille-media.de> linux: synchronize MountFlags with newer kernels 2010-12-26 Michael 'Mickey' Lauer <mickey@vanille-media.de> linux: bind more from linux/if_addr.h 2010-12-26 Jürg Billeter <j@bitron.ch> dbus-glib-1: Fix cname of RawMessageType and RawType enums Fixes bug 637971. 2010-12-23 Oliver Sauder <os@esite.ch> x11: Add missing binding for XUngrabKey. 2010-12-23 Jürg Billeter <j@bitron.ch> codegen: Replace emit_property_assignment by store_property codegen: Use separate C statements for implicit GValue conversions codegen: Remove unused code for property assignments 2010-12-23 Michael 'Mickey' Lauer <mickey@vanille-media.de> linux: bind more of netlink, rtnetlink, and arp posix: add send(2), sendto(2), and sendmsg(2) 2010-12-23 Jürg Billeter <j@bitron.ch> Do not allow default values for ref parameters 2010-12-23 Luca Bruno <lucabru@src.gnome.org> Only allow null default value for out parameters Fixes bug 636096. 2010-12-23 Jürg Billeter <j@bitron.ch> gio-unix-2.0: Fix g_unix_mounts_get binding 2010-12-23 Michael 'Mickey' Lauer <mickey@vanille-media.de> linux: add setsockopt(2) level constants Although setsockopt(2) itself is part of POSIX, the level constants are not. 2010-12-22 Michael 'Mickey' Lauer <mickey@vanille-media.de> linux: add more netlink constants posix: add socklen_t, setsockopt(2), and getsockopt(2) 2010-12-22 Raul Gutierrez Segales <raul.gutierrez.segales@collabora.co.uk> gobject-2.0: Set Type.interfaces() array length type to guint. 2010-12-22 Jürg Billeter <j@bitron.ch> gen-introspect: Fix exit code for missing header files Fixes bug 633596. vapigen: Fix GIDL parse error reporting Fixes bug 633597. codegen: Fix C warning when deserializing GVariant arrays D-Bus: Fix C warning in GDBus servers 2010-12-21 Jürg Billeter <j@bitron.ch> codegen: Generate struct copy and destroy functions only if needed D-Bus: Fix C warnings in GDBus servers D-Bus: Fix C warnings in GDBus clients codegen: Do not create unused real functions for interface methods codegen: Generate async ready functions only if needed codegen: Avoid writing C statements with no effect codegen: Use separate C statements for D-Bus object registration codegen: Use separate C statements for signal connect expressions codegen: Use separate C statements for array resize expressions codegen: Use separate C statements for array add expressions codegen: Use separate C statements for postfix expressions codegen: Avoid unnecessary property getter calls 2010-12-20 Jürg Billeter <j@bitron.ch> D-Bus: Support BusName sender parameter in GDBus servers 2010-12-20 Luca Bruno <lucabru@src.gnome.org> girparser: Ensure interfaces have at least one instantiable prerequisite When parsing a GIR file, add a prerequisite on GLib.Object to interfaces which don't have an instantiable prerequisite specified in the GIR file, as g-ir-scanner considers this prerequisite to be implicit. Based on commit 65bc5e64725900961ec, reverts fc7fe82fbd0b19b6caaf7ef. Fixes bug 624923. 2010-12-20 Jürg Billeter <j@bitron.ch> gio-2.0: Fix g_application_run binding Fixes bug 635890. 2010-12-20 Andreas Fenkart <andreas.fenkart@streamunlimited.com> gstreamer-0.10: transfer ownership of arguments in Element.message_full Fixes bug 635721. 2010-12-20 Luca Bruno <lucabru@src.gnome.org> gtk+-2.0, gtk+-3.0: Make gtk_entry_buffer_* string[] parameters be char[]. Fixes bug 635628. gtk+-2.0, gtk+-3.0: Make gtk_entry_buffer_new initial_chars be uint8[]. Fixes bug 636004. 2010-12-19 Jürg Billeter <j@bitron.ch> Improve syntax error message for missing type in foreach Fixes bug 635903. Detect shadowed variable for foreach statement without iterator 2010-12-19 Luca Bruno <lucabru@src.gnome.org> Fix symbol resolution and enable control flow analysis for signals Fixes bug 635820. Support delegates with owned delegate return types Fixes bug 633839. Report error on invalid initializer expression Fixes bug 637521. 2010-12-18 Evan Nemerson <evan@coeus-group.com> glib-2.0: use simple_generics for GLib.Thread.self 2010-12-17 Anatol Pomozov <anatol.pomozov@gmail.com> posix: Add pread and pwrite POSIX compliant functions. Fixes bug 636734. 2010-12-17 Luca Bruno <lucabru@src.gnome.org> glib-2.0: Add HashTable.find method and HRFunc delegate. Based on Alexander Krivács Schrøder patch. Fixes bug 636786. 2010-12-15 Luca Bruno <lucabru@src.gnome.org> dova: Report error if can't infer element type for list/set/map literals Fix missing source references for some generated MemberAccess 2010-12-09 Evan Nemerson <evan@coeus-group.com> GIR writer: support bitfields when generating GIRs 2010-12-07 Arun Raghavan <arun.raghavan@collabora.co.uk> gstreamer-pbutils-0.10: Update for 0.10.31 2010-11-30 Evan Nemerson <evan@coeus-group.com> posix: Add struct utsname binding 2010-11-25 Evan Nemerson <evan@coeus-group.com> json-glib-1.0: Fix ownership of several GObject serialization functions 2010-11-21 Evan Nemerson <evan@coeus-group.com> Regenerate several bindings to account changes to vapigen and libvala Regenerated gdl-1.0, gstreamer-app-0.10, gstreamer-cdda-0.10, gstreamer-controller-0.10, gudev-1.0, hildon-1, libgda-report-4.0 purple rest-extras-0.6 unique-1.0. mx-1.0: Remove abstract for several Draggable and Droppable methods Fixes bug 633902. 2010-11-20 Jürg Billeter <j@bitron.ch> codegen: Fix local variable access in dova 2010-11-18 Luca Bruno <lucabru@src.gnome.org> clutter-1.0: Mark ClutterEvent.get_coords parameters as out 2010-11-16 Evan Nemerson <evan@coeus-group.com> gtk+-2.0, gtk+-3.0: Mark Widget.style_get_property.value as out libusb-1.0: Use uint8[] instead of uchar[] for binary data zlib: Use uint8[] for binary data 2010-11-15 Jürg Billeter <j@bitron.ch> Fix check for missing return statements in non-void methods 2010-11-14 Evan Nemerson <evan@coeus-group.com> glib-2.0: Add UserDirectory.N_DIRECTORIES zlib: Remove values from enums 2010-11-11 Jürg Billeter <j@bitron.ch> glib-2.0, gio-2.0: Update to 2.27.3 codegen: Fix capturing array parameters Fixes bug 633688. Report error for signal handlers throwing errors codegen: Fix C code generated for returns in closures in constructors Fixes bug 634551. codegen: Fix crash when accessing arrays of unknown length Fixes bug 634556. 2010-11-11 Evan Nemerson <evan@coeus-group.com> gtk+-2.0, gtk+-3.0: Mark IconTheme.load_icon as transferring ownership 2010-11-10 Evan Nemerson <evan@coeus-group.com> gnome-vfs-2.0: Regenerate bindings to fix several const names gdu, gdu-gtk: Regenerate bindings and add generic type arguments glib-2.0: Add missing GIR names for (u)char and (s)size_t vapigen: Improve type_name and type_arguments parsing girwriter: Flatten symbols nested in a way not supported by GIR Fixes bug 619865. 2010-11-08 Jürg Billeter <j@bitron.ch> Release 0.11.2 2010-11-08 Evan Nemerson <evan@coeus-group.com> codegen: Omit free function from unowned simple generic arguments Fixes bug 627198. 2010-11-08 Jürg Billeter <j@bitron.ch> girparser: Remove unused get_double method codegen: Fix unsafe C generated for array slices Argument evaluation order is not guaranteed in C. 2010-11-08 Evan Nemerson <evan@coeus-group.com> libnotify: Update to 0.7.0 Fixes bug 633819. 2010-11-08 Luca Bruno <lucabru@src.gnome.org> vapi: Remove nested namespaces GIR information. Affected packages are gdk-3.0, gio-2.0, gtk+-2.0 and gtk+-3.0. 2010-11-08 Abderrahim Kitouni <a.kitouni@gmail.com> codewriter: Do not write GIR information for nested namespaces 2010-11-08 Evan Nemerson <evan@coeus-group.com> girparser: fix array length parsing girparser: Update parsing of alias element to 1.2 syntax 2010-11-08 Luca Bruno <lucabru@src.gnome.org> girparser: Set type_cname of interfaces from the relative struct cname. Fixes bug 625026. girparser: Skip class field that refer to the parent instance girparser: Add vfunc_name, abstract and virtual arguments girparser: Guess virtual method wrapper variant when possible 2010-11-08 Luca Bruno <lethalman88@gmail.com> girparser: Do not add Object prerequisite before symbol resolution 2010-11-08 Luca Bruno <lucabru@src.gnome.org> girparser: Use array_length_pos argument for parameters girparser: Use string.replace instead of string.joinv girparser: Fix Strv properties girparser: Add default argument for parameters girparser: Add out/ref arguments girparser: Don't add hidden symbols girparser: Add symbol deprecation girparser: Support regex in name argument girparser: Report unused metadata information girparser: Support symbol reparenting girparser: Support tweaking type and type arguments in the metadata girparser: Support a special metadata pattern for root namespace girparser: Add metadata stack while parsing the gir, generalize merging girparser: Autoreparent static methods to the best-matching symbol girparser: Postprocess aliases 2010-11-08 Luca Bruno <lethalman88@gmail.com> girparser: Skip creating structs for *Class and *Iface 2010-11-08 Luca Bruno <lucabru@src.gnome.org> girparser: Postprocess symbols girparser: Add common parse_symbol_from_string method girparser: Replace parse_metadata with MetadataParser vapigen: Add --disable-warnings and use --quiet to tune reports verbosity 2010-11-08 Luca Bruno <lethalman88@gmail.com> girparser: Generate default parameter names for callbacks girparser: Add missing source references to classes and structs girparser: Parse included GIR files girparser: Stop parsing if the context already has the provided package vapigen: Remove misleading --metadata, each .gir must have its own .metadata. Fixes bug 624278. vapigen: Honor --directory option as output directory vapigen: Remove obsolete code for handling omitted --library option 2010-11-08 Alban Browaeys <prahal@yahoo.com> Genie: Fix lists and dicts with libgee 0.7 The delegate type used for equal and hash functions changed in libgee 0.7. However, as libgee 0.5+ takes care of setting reasonable default functions, simply removing the corresponding code from the Genie parser fixes this incompatibility. 2010-11-08 Jürg Billeter <j@bitron.ch> codegen: Fix C code generated for out array arguments in async methods 2010-11-06 Jürg Billeter <j@bitron.ch> gtk+-3.0: Update to 2.91.3 gdk-pixbuf-2.0: Update to 2.22.1 gio-2.0: Update to 2.27.2 2010-11-05 Evan Nemerson <evan@coeus-group.com> libsoup-2.4: use uint8[] instead of string for Buffer.data 2010-11-03 Thijs Vermeir <thijsvermeir@gmail.com> gstreamer-0.10: fix GCallback casting in probe functions 2010-11-03 Evan Nemerson <evan@coeus-group.com> gtk+-2.0, gtk+-3.0: mark Style.get_style_property value argument as out 2010-11-03 Víctor Manuel Jáquez Leal <vjaquez@igalia.com> codegen: Fix reserved identifiers in delegate parameters Fixes bug 633250. 2010-11-03 Evan Nemerson <evan@coeus-group.com> glib-2.0: make Func, ThreadFunc, HFunc, Thread, and ThreadPool generic sqlite3: update to 3.7.2 2010-11-02 Evan Nemerson <evan@coeus-group.com> gtk+-2.0, gtk+-3.0: fix CellRenderer.get_fixed_size arguments pango: fix ownership of AttrList.get_iterator return value pango: fix ownership of GlyphItem.split return value 2010-11-02 Florian Brosch <flo.brosch@gmail.com> Fix building with Vala 0.12 branch (commit b6c980fe26b3b51399d9bb6cd92a36e900d6eff6) 2010-11-01 Evan Nemerson <evan@coeus-group.com> gio-2.0: make AppInfo.create_from_commandline.application_name nullable glib-2.0: add GTimeSpec binding 2010-10-31 Jürg Billeter <j@bitron.ch> D-Bus: Fix typo in DBusConnection.get_proxy support for GDBus clients 2010-10-31 Evan Nemerson <evan@coeus-group.com> gdk-pixbuf-2.0: fix several return types 2010-10-30 Evan Nemerson <evan@coeus-group.com> gio-2.0: Fix ownership of several callbacks 2010-10-29 Jürg Billeter <j@bitron.ch> gobject-2.0: Fix GEnumValue binding 2010-10-29 Evan Nemerson <evan@coeus-group.com> Fix building with Vala 0.12 branch 2010-10-29 Florian Brosch <flo.brosch@gmail.com> prepare code for new evaluation order 2010-10-29 Jürg Billeter <j@bitron.ch> codegen: Fix structs with array fields Add Subroutine class 2010-10-28 Florian Brosch <flo.brosch@gmail.com> libvaladoc/api: rename tree.parse_comments to process_comments libvaladoc: Allow to inherit documentation from other packages. (#629531) libvaladoc/taglets: Allow to inherit class and struct documentation libvaladoc: Change monospace-rule from `<run>` to ``<run>`` libvaladoc/importer: Fix runtime warning in valadoc-importer. (Parser.parse: content != null) 2010-10-28 Jürg Billeter <j@bitron.ch> Replace SemanticAnalyzer with CodeContext in CodeNode.check parameter Add CodeContext.check method Rename FormalParameter to Parameter Add FlowAnalyzer.mark_unreachable codegen: Add CodeGenerator.store_local codegen: Add get_array_size_cvalue and set_array_size_cvalue codegen: Add destroy_value function codegen: Add CodeGenerator.load_local codegen: Add CodeGenerator.create_local method 2010-10-27 Evan Nemerson <evan@coeus-group.com> gio-2.0: make Icon.new_for_string return value transfer ownership 2010-10-26 Jürg Billeter <j@bitron.ch> codegen: Fix crash on delegates with varargs codegen: Fix critical with delegate properties 2010-10-26 Frederik 'playya' Sdun <Frederik.Sdun@googlemail.com> gio-2.0: Update GDBus bindings 2010-10-26 Jürg Billeter <j@bitron.ch> codegen: Fix support for g_boxed_copy 2010-10-25 Jürg Billeter <j@bitron.ch> Support use of generics in closures pango: Fix PangoGlyph and PangoGlyphString bindings D-Bus: Support register_object with generic type in GDBus servers Release 0.11.1 gtk+-3.0: Update to GTK+ master vapigen: Support type_name attribute for signal return types gio-2.0: Update to GLib master vapigen: Support hidden attribute for signal parameters Fix use of uninitialized variable in static constructors Fixes bug 633013. pango: Fix PangoAnalysis binding gio-2.0: Various error type fixes gio-2.0: Fix g_data_input_stream_read_upto binding gio-2.0: Fix metadata file GVariant: Fix C warning in array serialization D-Bus: Fix C warnings when using file descriptor passing with GDBus D-Bus: Fix C warnings in GDBus clients gio-2.0: Fix g_memory_output_stream_new binding 2010-10-24 Jürg Billeter <j@bitron.ch> Genie: Report error on print expressions with uneven parentheses Genie: Fix out of bounds access in scanner 2010-10-24 Evan Nemerson <evan@coeus-group.com> pango: mark several arguments as out 2010-10-23 Jürg Billeter <j@bitron.ch> D-Bus: Update file descriptor passing test to binding changes D-Bus: Fix crash on interfaces without methods in GDBus servers Remove unused ObjectCreationExpression.constructor property D-Bus: Ignore non-abstract methods in interfaces of GDBus clients D-Bus: Require gio-unix only when using file descriptor passing D-Bus: Register error domains before calls in GDBus clients Error domains need to be registered with GDBus to support error type mapping. D-Bus: Support Cancellable parameter in GDBus clients D-Bus: Add test for file descriptor passing D-Bus: Add support for receiving file descriptors with GDBus D-Bus: Add support for sending file descriptors with GDBus D-Bus: Use type signature 'h' for file descriptor passing with GDBus Support UnixInputStream, UnixOutputStream, and Socket. D-Bus: Use lowlevel message API for methods in GDBus servers This will be required for file descriptor passing. D-Bus: Use builder API for interface_method_call in GDBus servers D-Bus: Use proper source_object in callbacks of async calls with GDBus D-Bus: Use lowlevel message API for method calls in GDBus clients This will be required for file descriptor passing. codegen: Support null elements in GenericArray codegen: Fix uncaught errors in constructors and destructors 2010-10-23 Evan Nemerson <evan@coeus-group.com> gio-2.0: Move g_content_type_* functions into a ContentType namespace Fixes bug 624053. 2010-10-23 Robert Ancell <robert.ancell@gmail.com> glib-2.0: add g_strsignal binding Fixes bug 628934. 2010-10-23 Philip Withnall <philip.withnall@collabora.co.uk> gobject-2.0: finish GClosure bindings Fixes bug 629074. 2010-10-23 Evan Nemerson <evan@coeus-group.com> cogl-1.0: Update to 1.5.1. Fixes bug 625445. gtksourceview-2.0: Make some interface methods virtual, not abstract Fixes bug 628704. gio-2.0: pass GLib.Priority.DEFAULT by default to io_priority arguments gio-2.0: use uint8[] for buffers instead of void* vapigen: fix handling of type_name on fields 2010-10-22 Evan Nemerson <evan@coeus-group.com> glib-2.0: Use gfloat/gdouble/gchar for cnames of float/double/string 2010-10-22 Jürg Billeter <j@bitron.ch> pango: Fix PangoGlyphItemIter binding 2010-10-21 Jürg Billeter <j@bitron.ch> codegen: Do not set delegate target where target is not applicable codegen: Fix critical on delegate cast codegen: Fix lambda expressions passed to GClosure parameters Set target_type for default arguments to fix delegate parameters codegen: Add assertions to detect missing delegate target values codegen: Fix memory leak on ignored return values codegen: Add helper functions to work with TargetValue codegen: Set TargetValue.value_type codegen: Remove fallback in delegate target handling codegen: Fix crash when throwing errors from struct constructors Fixes bug 618461. build: Require valac >= 0.10.0 to build from git Fixes bug 631729. tests: Always enable gio-2.0 package Fixes bug 622634. codegen: Fix C warning in destructors Support return statements in constructors and destructors Fixes bug 573763. 2010-10-20 Jürg Billeter <j@bitron.ch> D-Bus: Fix overriding and interface methods in GDBus servers Fixes bug 631044. D-Bus: Report error on invalid use of register_object in GDBus servers D-Bus: Fix crash for properties with unowned getter in GDBus servers Fixes bug 630832. D-Bus: Add async Bus.get_proxy method for GDBus clients Fixes bug 622611. D-Bus: Support cached property values in GDBus clients 2010-10-20 Jürg Billeter <j@bitron.ch> D-Bus: Add flags parameter to get_proxy_sync methods This also changes the default flags to DBusProxyFlags.NONE, which enables property caching. Fixes bug 631228. 2010-10-20 Jürg Billeter <j@bitron.ch> tests: Enable extra checks during C compilation 2010-10-19 Evan Nemerson <evan@coeus-group.com> gio-2.0: Do not mark out arguments as nullable 2010-10-19 Jürg Billeter <j@bitron.ch> codegen: Fix cast from non-array to array Array length will be set to -1 as there is no length information available in this case. valac: Set locale from environment 2010-10-19 Jiří Zárevúcky <zarevucky.jiri@gmail.com> Report error when variable or property type is void Fixes bug 628693. 2010-10-19 Jürg Billeter <j@bitron.ch> Support take_value_function for structs Fix side effects in assertions gio-2.0: Fix GDBusError binding D-Bus: Add test for sending and receiving errors D-Bus: Add test for calling void methods 2010-10-18 Jürg Billeter <j@bitron.ch> Fix out arguments to vararg methods Fix connecting to dynamic signals with non-void return type Fixes bug 622089. D-Bus: Fix tiny code duplication for method calls in GDBus clients codegen: Add return_default_value helper method 2010-10-17 Jürg Billeter <j@bitron.ch> codegen: Remove fallback in array length handling codegen: Use append_array_size for reference transfer expressions codegen: Use builder API for reference transfer expressions codegen: Use append_array_size for out and ref arguments 2010-10-17 Jürg Billeter <j@bitron.ch> Fix side-effects in array element assignments Make sure to not evaluate the index multiple times. Fixes bug 632322. 2010-10-16 Evan Nemerson <evan@coeus-group.com> gio-unix-2.0: Use correct C header for FileDescriptorBased 2010-10-16 Jürg Billeter <j@bitron.ch> Do not consider fixed-length arrays as disposable Fixes bug 630184. codegen: Support array concatenation for captured variables Fixes bug 630159. codegen: Fix crash when concatenating array parameters Fixes bug 570846. GAsync: Fix async methods in structs Fixes bug 629602. Improve error message for declaration in embedded statement Fixes bug 615230. 2010-10-16 Jürg Billeter <j@bitron.ch> Report error when trying to use stacked arrays Stacked array support was never completed. Report an error instead of generating incorrect C code. Fixes bug 546603, bug 548428, bug 548429, bug 565865, bug 565872, bug 571322, bug 572649, and bug 576611. 2010-10-16 Jürg Billeter <j@bitron.ch> GObject: Check for incompatible properties in constructor chain up Fixes bug 622119. 2010-10-16 Frederik Zipp <fzipp@gmx.de> codegen: Fix gcc warning for methods implementing generic interface Fixes bug 626056. 2010-10-16 Jürg Billeter <j@bitron.ch> codegen: Fix crash on nested try in finally clause Fixes bug 632078. tests: Fix /objects/methods test codegen: Fix out parameters in void methods codegen: Guard access to out parameters to allow null arguments Fixes bug 591673. CodeWriter: Write accessibility for property accessors Use public accesibility by default for property accessors Fixes bug 623493. codegen: Fix lock statements in classes without private fields Fixes bug 629593. Report error when trying to disconnect lambda expression from signal Fixes bug 631022. 2010-10-16 Evan Nemerson <evan@coeus-group.com> codegen: Don't try to create a GClosure for null Fixes bug 631269. 2010-10-16 Jürg Billeter <j@bitron.ch> girwriter: Fix fixed-length arrays Fixes bug 631529. codegen: Support resize and concatenation on the same array Fixes bug 631540. Consider unowned and owned types equivalent if they are not disposable Fixes bug 631920. Report error when trying to create an array of delegates with targets Fixes bug 632017. codegen: Fix assignment to struct properties without accessors Fixes bug 632137. codegen: Use builder API to store properties 2010-10-14 Jürg Billeter <j@bitron.ch> codegen: Fix critical when using postconditions Fixes bug 631812. Fix marshaller signature for signals with array parameters Fixes bug 604829. D-Bus: Add missing dbus-glib.h include for interfaces without methods Fixes bug 583390. codegen: Use separate C statements for property access Fixes bug 585847. 2010-10-14 Evan Nemerson <evan@coeus-group.com> girwriter: Write deprecated attributes when appropriate Fixes bug 614712. 2010-10-14 Jürg Billeter <j@bitron.ch> glib-2.0: Fix g_variant_new_tuple binding Fixes bug 631549. glib-2.0: Add ungetc binding Fixes bug 629665. codegen: Fix freeing of GLists with null elements Fixes bug 585341. glib-2.0: Fix GArray binding Fixes bug 575069. codegen: Use separate C statements for memory management codegen: Use separate C statements for out arguments codegen: Simplify method calls with array arguments Do not allow passing owned ref argument to unowned reference parameter codegen: Fix use of uninitialized temporary variables Fixes bug 602208. 2010-10-13 Jürg Billeter <j@bitron.ch> D-Bus: Fix use of uninitialized variables in dbus-glib error handling Fixes bug 615003. Add suport for local constants Fixes bug 530623. dbus-glib-1: Fix dbus_connection_get_g_connection binding 2010-10-12 Jürg Billeter <j@bitron.ch> gio-2.0: Fix g_themed_icon_get_names binding 2010-10-11 Luca Bruno <lucabru@src.gnome.org> cairo: Set cairo_path_data_type_t cname to PathDataType enum 2010-10-11 Jürg Billeter <j@bitron.ch> Fix use of N_ in constant initializers codegen: Fix method references in constant initializers 2010-10-10 Evan Nemerson <evan@coeus-group.com> Move several enums into the Vala namespace 2010-10-10 Jürg Billeter <j@bitron.ch> codegen: Fix const warnings for temporary variables of method calls codegen: Fix types of temporary variables when using GArray or va_list codegen: Fix preconditions GVariant: Fix critical on unsupported types glib-2.0: Do not use dbus-glib GType for GLib.ObjectPath codegen: Use builder API in GVariant and GDBus modules D-Bus: Refactor marshalling in GDBus clients codegen: Use builder API for array add wrapper codegen: Use builder API for array length codegen: Use builder API for array move codegen: Use builder API for array free codegen: Use builder API for struct array free codegen: Use builder API for struct copy function codegen: Use builder API for struct destroy function codegen: Use builder API for array contains wrapper codegen: Use builder API for dup0 functions codegen: Use builder API for regex init function codegen: Use builder API for collection free wrapper codegen: Use builder API for free func wrapper codegen: Use builder API for dup func wrapper codegen: Use builder API for struct dup wrapper codegen: Use builder API for numeric equal function codegen: Use builder API for struct equal function codegen: Do not use C statement nodes in property accessors Require and target GLib >= 2.16 This allows valac to use g_strcmp0. The next stable release of vala will happen three years after the release of GLib 2.16.0. codegen: Use separate C statements for array creation expressions codegen: Drop unnecessary comma expressions in creation expressions codegen: Use separate C statements for object creation expressions codegen: Drop unnecessary comma expressions in local variables codegen: Drop unnecessary comma expression in postfix expressions codegen: Drop unnecessary comma expressions in return statements codegen: Drop unnecessary comma expressions in assignments codegen: Use separate C statements for assignments codegen: Use separate C statements for method calls codegen: Do not use accept_children for properties Accepting initializer may have side-effects. 2010-10-09 Jürg Billeter <j@bitron.ch> Report error when trying to use async method as delegate codegen: Use set_delegate_target for method access codegen: Use set_delegate_target for null literals codegen: Use set_delegate_target for field access codegen: Use set_delegate_target for local variable access codegen: Use set_delegate_target for parameter access codegen: Use set_delegate_target for lambda expressions codegen: Use append_array_size for null literals codegen: Use append_array_size for constant access codegen: Use append_array_size for field access codegen: Use append_array_size for local variable access codegen: Use append_array_size for parameter access codegen: Use append_array_size for array creation expressions Add TargetValue class codegen: Add get_cvalue and set_cvalue helper methods 2010-10-08 Jürg Billeter <j@bitron.ch> Update .gitignore dova: Rename integer types codegen: Fix uninitialized variable in constructors throwing errors D-Bus: Support no-reply methods in GDBus clients and servers Fixes bug 618892. 2010-10-07 Jürg Billeter <j@bitron.ch> codegen: Fix critical on symbols without source reference D-Bus: Fix dbus-glib servers Fix address-of operator for pointer element access codegen: Fix double free with GValue boxing Fixes bug 631356. 2010-10-06 Ryan Lortie <desrt@desrt.ca> SourceFile: change the definition of 'used' Consider a source file as used only if actual C code (or declarations) have been generated from something in that source file. This greatly reduces the number of dependencies listed for compilations that touch a large number of symbols in trivial ways without really making use of them (for example, when listing a very large number of unused fast-vapi files, as parvala does). Fixes bug 630144. 2010-10-06 Jürg Billeter <j@bitron.ch> Make address-of operator work on all variables Fixes bug 631247. 2010-10-06 Darren Warner <darren@dazwin.com> CodeWriter: Write error types for delegates Fixes bug 629798. 2010-10-06 Jürg Billeter <j@bitron.ch> GVariant: Fix serialization of empty arrays Fixes bug 631097. Fix crash on element access with generic methods Fixes bug 626868. codegen: Fix critical on unsupported struct field 2010-10-05 Jürg Billeter <j@bitron.ch> Rename vala.vapi to libvala.vapi to match pkg-config name 2010-10-04 Jürg Billeter <j@bitron.ch> Release 0.11.0 build: Fix distcheck 2010-10-04 Ryan Lortie <desrt@desrt.ca> glib-2.0: add MainContext.invoke and invoke_full 2010-10-04 Rob Powell <rob@yorba.org> gtk+-2.0, gtk+-3.0: transfer ownership of TextBuffer.get_text return Fixes bug 630741. gedit-2.20: transfer ownership of Gedit.Document.get_uri return value Partially fixes bug 630741. 2010-10-04 Evan Nemerson <evan@coeus-group.com> gobject-2.0: Add GBinding bindings Based on patch by Gregor Burger, fixes bug 629791. 2010-10-04 Jürg Billeter <j@bitron.ch> glib-2.0: Update GDateTime binding 2010-10-03 Jürg Billeter <j@bitron.ch> gtk+-3.0: Update to 2.91.0 cairo: Update to 1.10.0 2010-10-03 Luca Bruno <lethalman88@gmail.com> Support adding new source files while visiting the code tree Move package adding logic to CodeContext Move source file adding logic to CodeContext 2010-10-03 Jürg Billeter <j@bitron.ch> CodeWriter: Do not write extern in EXTERNAL mode Always use public accessibility for enum values codegen: Fix GVariant to array conversion in async methods dova: Fix crash on replaced expressions in list and set literals dova: Fix critical on ellipsis parameter 2010-10-03 Evan Nemerson <evan@coeus-group.com> mysql: Automatically get length of arrays returned by Result methods. 2010-10-03 Jukka-Pekka Iivonen <jp0409@jippii.fi> mysql: Add several enums, bindings for the Mysql.Field members. Fixes bug 627804. 2010-10-02 Evan Nemerson <evan@coeus-group.com> clutter-1.0: Fix LayoutManager.get_preferred_{height,width} bindings. Fixes bug 628036. sqlite3: Assorted memory management fixes for strings and blobs. 2010-09-30 Jürg Billeter <j@bitron.ch> Append errordomain doc comments to generated C files dova: Support type checks and silent casts 2010-09-28 Jamie McCracken <jamie.mccrack@gmail.com> Genie: Fix ownership of inline allocated arrays Genie: Do not create empty type parameter lists in parser Genie: Fix accessibility of Enums 2010-09-26 Jürg Billeter <j@bitron.ch> Rename pkg-config file from vala to libvala This should make clear that it should only be used for libvala. 2010-09-22 Evan Nemerson <evan@coeus-group.com> Add hard dependency on vala-0.10 package. 2010-09-22 Florian Brosch <flo.brosch@gmail.com> libvaladoc/ctyperesolver: Resolve unbrowsable nodes Fix build with vala 0.10.0 2010-09-20 Jürg Billeter <j@bitron.ch> Report error when using pointer arithmetic with void* codegen: Fix missing _inner_error_ declaration in constructors 2010-09-18 Jürg Billeter <j@bitron.ch> Release 0.10.0 gio-2.0: Fix g_settings_list_* bindings Fixes bug 629860. gio-2.0: Update to GLib master gio-2.0: Add DBusConnection.get_proxy_sync to gio-2.0-custom.vala 2010-09-17 Maciej Piechotka <uzytkownik2@gmail.com> glib-2.0: make HashFunc and EqualFunc generic delegates Fixes bug 625878. glib-2.0: make CompareFunc and CompareDataFunc generic delegates Fixes bug 625877. 2010-09-17 Jürg Billeter <j@bitron.ch> glib-2.0: Add GDateTime bindings 2010-09-17 Evan Nemerson <evan@coeus-group.com> gtksourceview-2.0: make SourceCompletionProvider.get_icon nullable Fixes bug 628774. 2010-09-17 Robert Ancell <robert.ancell@gmail.com> posix: add getpwnam binding Fixes bug 628933. 2010-09-17 Philip Withnall <philip.withnall@collabora.co.uk> readline: fix the completion_matches binding readline: fix the cname of CompentryFunc readline: fix the signature of CompletionFunc readline: fix the attempted_completion_function binding Fixes bug 628966. 2010-09-17 Evan Nemerson <evan@coeus-group.com> glib-2.0: Add several missing symbols for glib-2.26. 2010-09-16 Jürg Billeter <j@bitron.ch> glib-2.0: Add g_key_file_get/set_int64 bindings girparser: Report error on unsupported GIR version Fixes bug 629805. girwriter: Fix crash in attribute handling Fixes bug 629364. D-Bus: Add missing gio.h include for GDBus servers 2010-09-15 Jürg Billeter <j@bitron.ch> D-Bus: Do not use GLib.Application in tests GApplication will not be available in GLib 2.26. girparser: Fix detection of asynchronous methods 2010-09-15 Evan Nemerson <evan@coeus-group.com> Write GIR version 1.2 instead of version 1.1 Fixes bug 628927. 2010-09-15 Jürg Billeter <j@bitron.ch> girparser: Set array_length_cname Fixes bug 629691. Add array_length_cname attribute for parameters girparser: Update to parameter index handling used in GIR version 1.2 girparser: Update to prefix handling used in GIR version 1.2 girparser: Support alias syntax used in GIR version 1.2 girparser: Support type names used in GIR version 1.2 2010-09-14 Jürg Billeter <j@bitron.ch> Report error when throwing internal errors from public methods 2010-09-13 Jürg Billeter <j@bitron.ch> Fix crash on invalid constructor chain up Fixes bug 628182. Fix to_string method for enums codegen: Fix missing _inner_error_ declaration in destructors Fixes bug 629366. 2010-09-11 Ryan Lortie <desrt@desrt.ca> Host parvala in git CodeWriter: add 'new' to methods where appropriate 2010-09-10 Jürg Billeter <j@bitron.ch> Check accessibility of constants Report error for private virtual methods CodeWriter: Do not do any sorting in FAST mode Order of virtual methods matters for fast-vapis UnresolvedType: Override is_disposable method Do not require interface implementations in fast-vapi CodeWriter: Support external symbols 2010-09-10 Luca Bruno <lethalman88@gmail.com> Port remaining code nodes to use accept_children for visiting children Fixes bug 566870. 2010-09-10 Jürg Billeter <j@bitron.ch> CodeWriter: Support non-constant expressions as default arguments codegen: Fix external constants 2010-09-09 Jürg Billeter <j@bitron.ch> codegen: Fix GValue memory leak after boxing Fixes bug 623543. 2010-09-09 Ole André Vadla Ravnås <oleavr@gmail.com> D-Bus: Support instantiating GDBus proxy with specific DBusConnection 2010-09-09 Jürg Billeter <j@bitron.ch> codegen: Fix missing _inner_error_ declaration in property accessors codegen: Report error on unsupported use of array concatenation codegen: Fix struct copy function for structs with array fields codegen: Use builder API Add builder API to CCodeFunction Add CCodeFile.add_function_declaration and CCodeFunction.is_declaration 2010-09-09 Ryan Lortie <desrt@desrt.ca> codegen: Skip visiting fast-vapis Skip visiting fast-vapis in the code generator when not writing a header file. For builds with a very large number of fast-vapi files this can reduce compile time by more than 50%. CodeWriter: Do not replace .vapi if unchanged Steal some logic from the CCodeWriter to avoid replacing .vapi output if nothing has changed. codegen: Run partial codegen on fast vapi files Run the C code generator for fast-vapi files in order to populate the header file. Add some early-exits to avoid doing unnecessary work (and to avoid crashes caused by assumptions that there will actually be code to output). CodeWriter: Omit cheader_filename for fast vapi 2010-09-09 Ryan Lortie <desrt@desrt.ca> valac: Output make-style dependency file Add a --deps= option to the compiler to write out a make-style dependency file. The name of the target used is the name of the dependency file itself. This lets the dependency file serve as a stamp for the C file (which may or may not be touched depending if it was changed). The dependency output is always touched. 2010-09-09 Ryan Lortie <desrt@desrt.ca> Properties, Methods: Relax some checks Only enforce property/method body requirements in the case that the SourceFileType is SOURCE. This allows fast-vapi to slip through without complaints. 2010-09-09 Ryan Lortie <desrt@desrt.ca> Symbol: Add SourceFileType source_type Pass this through from the SourceFileType of the source file. If there is no source file, use SourceFileType.NONE. Redefine 'external_package' in terms of this new property. 2010-09-09 Ryan Lortie <desrt@desrt.ca> SourceFileType: Add SourceFileType.NONE valac: Add --use-fast-vapi commandline argument Accepts an input file that was previously produced with the --fast-vapi= commandline argument. SourceFile: Add SourceFileType.FAST enum value valac: Add --fast-vapi= commandline argument Outputs a file with the given name using CodeWriterType.FAST 2010-09-09 Ryan Lortie <desrt@desrt.ca> CodeWriter: Add CodeWriterType.FAST enum value Designed to emit .vapi files before the resolution stage has run. Includes 'using' in the output so that the resolver can figure it out later. Also includes the values of constants and enums so that headers are not required. 2010-09-09 Ryan Lortie <desrt@desrt.ca> MemberAccess: Fix crash in .to_string() MemberAccess.to_string() would crash if it was run before the symbol resolver. Fix that. UnresolvedType: Improve .to_string() Include nullable designation and generic type arguments in the output. 2010-09-09 Ryan Lortie <desrt@desrt.ca> CodeWriter: Introduce CodeWriterType enumeration CodeWriterType has 3 possible values: DUMP INTERNAL EXTERNAL and replaces CodeWriter.emit_internal and CodeWriter.dump_tree booleans with a new field called 'type'. 2010-09-09 Ryan Lortie <desrt@desrt.ca> SourceFile: Introduce SourceFileType enumeration SourceFileType has 2 possible values: SOURCE PACKAGE and replaces the CodeWriter.external_package boolean with a new field called 'file_type'. 2010-09-09 Jürg Billeter <j@bitron.ch> Simplify attribute objects Do not create empty type parameter lists in parser Improve performance of SemanticAnalyzer.is_type_accessible Create array lists in Method class only on demand Support iteration via index to improve performance gee: Replace interfaces by abstract classes to improve performance 2010-09-09 Luca Bruno <lethalman88@gmail.com> GObject: Add _vala_ suffix to get/set_property to avoid name clashes Fixes bug 624594. 2010-09-09 Luca Bruno <lucabru@src.gnome.org> Support to_string() for non-GType enums Fixes bug 612081. 2010-09-08 Florian Brosch <flo.brosch@gmail.com> mv remove_directory to filehelper.vala libvaladoc/filehelper: update realpath libvaladoc/importer: Allow nodes without documentation in valadoc files 2010-09-08 Evan Nemerson <evan@coeus-group.com> gio-2.0: Fix ownership of two AppLaunchContext method return values. 2010-09-05 Luca Bruno <lucabru@src.gnome.org> glib-2.0: Add [NoReturn] to Process.exit() and Process.abort(). 2010-09-04 Jürg Billeter <j@bitron.ch> Release 0.9.8 2010-09-04 Evan Nemerson <evan@coeus-group.com> glib-2.0: Add binding for g_utf8_offset_to_pointer. 2010-09-03 Jürg Billeter <j@bitron.ch> codegen: Fix lcopy_value function generated for fundamental classes codegen: Fix preconditions in asynchronous methods 2010-09-02 BianShaoLei <bianshaolei@gmail.com> posix: Fix SockAddr cname. Fixes bug 628470. 2010-09-02 Florian Brosch <flo.brosch@gmail.com> libvaladoc/importer: Minor valadoc file format changes 2010-09-01 Florian Brosch <flo.brosch@gmail.com> libvaladoc/api: fix Method::is_static doclet/valadoc.org: fix valac warnings libvaladoc: Fix valac warnings Add *.valadoc format 2010-09-01 Evan Nemerson <evan@coeus-group.com> Use vala-0.10 or vala-0.12 package instead of vala-1.0. 2010-09-01 Florian Brosch <flo.brosch@gmail.com> add gir documentation importer libvaladoc: Add CTypeResolver doclets: rm xml doclet libvaladoc: rm support for valadoc-xml 2010-08-31 Luca Bruno <lucabru@src.gnome.org> webkit-1.0: Mark WebKitWebView::create_web_view return value as owned. Fixes bug 625569. 2010-08-30 Jakob Westhoff <jakob@westhoffswelt.de> gtk+-2.0, gtk+-3.0: Make gtk_image_set_from_pixmap parameters be nullable. Fixes bug 627778. 2010-08-28 Luca Bruno <lethalman88@gmail.com> gio-2.0: GLib.Icon.to_string() return value is not unowned Fixes bug 628119. 2010-08-22 Evan Nemerson <evan@coeus-group.com> gio-2.0: Make Application.quit_with_data.platform_data nullable. 2010-08-22 Jürg Billeter <j@bitron.ch> dova: Do not generate empty type structs for interfaces dova: Fix header file generation 2010-08-22 Evan Nemerson <evan@coeus-group.com> glib-2.0: Fix Variant.dup_string binding. 2010-08-21 Evan Nemerson <evan@coeus-group.com> libsoup-2.4: Fix XMLRPC error domains. libsoup-2.4: Move Soup.xmlrpc_* methods into Soup.XMLRPC namespace. gtk+-2.0, gtk+-3.0: Move Gtk.stock_* methods into Gtk.Stock namespace. gdk-2.0, gdk-3.0: Move Gdk.selection_* into Gdk.Selection namespace. vapigen: Automatically adjust method names when setting parent. gtk+-2.0, gtk+-3.0: Move Gtk.STOCK_* into a Gtk.Stock namespace. codewriter: Correctly write deprecated replacement attributes. vapigen: Support setting the parent of a symbol. gdk-2.0: Update to 2.21.7 and mark deprecated symbols as such. 2010-08-21 Jürg Billeter <j@bitron.ch> Improve consistency in constructor chain up handling Unable to chain up to base constructor is fatal vapigen: Fix chain up warning in subclasses of generated bindings Fix writing of construct_function attribute Fix assignment to construct properties Based on patch by Marc-André Lureau, fixes bug 624259. Refactor parser to avoid parse_*_member methods Replace CCodeDeclarationSpace by CCodeFile Move add_symbol_declaration out of CCodeDeclarationSpace 2010-08-20 Luca Bruno <lethalman88@gmail.com> gtk+-2.0, gtk+-3.0: Make Gtk.Menu.attach_to_widget.detacher nullable. Fixes bug 626580. 2010-08-20 Jürg Billeter <j@bitron.ch> glib-2.0: Return char instead of unichar from string element access Use string.get_char () to retrieve unichar. glib-2.0: Add optional index parameter to string.get_char glib-2.0: Deprecate string.size () in favor of string.length glib-2.0: Use byte indices for strings Fix error handling for character literals vapigen: Replace use of string.len () by string.length glib-2.0: Deprecate string.len () in favor of string.length 2010-08-20 Aaron Andersen <aaron@fosslib.net> Report error on invalid using directives Fixes bug 626103. 2010-08-20 Luca Bruno <lethalman88@gmail.com> Support implicit GValue conversion when assigning to properties Thanks to Michal Hruby for the test case. Fixes bug 620706. 2010-08-20 Luca Bruno <lethalman88@gmail.com> Extend signal details to support string expressions Fixes bug 566909. 2010-08-20 Evan Nemerson <evan@coeus-group.com> valac: Add --fatal-warnings option Fixes bug 615708. 2010-08-20 Jürg Billeter <j@bitron.ch> Fix memory leak when freeing nullable structs without free function Based on patch by Geert Jordaens, fixes bug 571264. D-Bus: Add missing gio.h include for GDBus clients Use relative path as specified on the command-line in error messages Fixes bug 591683. Deprecate use of D-Bus GLib GDBus should be used instead. 2010-08-20 Luca Bruno <lethalman88@gmail.com> doclets/gtkdoc: Add type_id and comments to non-GObject classes Fix ellipsis parameter position in generated methods Fixes bug 620673. Add mutex field in priv structures for properties Fixes bug 625200. 2010-08-20 Evan Nemerson <evan@coeus-group.com> Fix handling of exceptions in property accessors Fixes bug 627090. 2010-08-20 Luca Bruno <lethalman88@gmail.com> Honor array_length_type when generating method parameters Based on patch by Sam Thursfield, fixes bug 621830. Support abstract/virtual delegate properties with target Fixes bug 623888. 2010-08-20 Carlo Teubner <carlo.teubner@gmail.com> Fix crash on invalid switch expression Fixes bug 626397. 2010-08-20 Jürg Billeter <j@bitron.ch> Call ref_sink also on result of Object.newv if necessary 2010-08-20 Luca Bruno <lethalman88@gmail.com> Fix ref_sink of Gtk.Window created with GLib.Object.new Fixes bug 618750. 2010-08-20 Jürg Billeter <j@bitron.ch> Fix passing real non null struct arguments to vararg methods Based on patch by Luca Bruno, fixes bug 625758. 2010-08-20 Evan Nemerson <evan@coeus-group.com> libsoup-2.4: Many small argument and data type fixes. vapigen: Allow metadata to specify the type_name of properties. gdk-pixbuf-2.0: Use uint8[] for binary data. 2010-08-20 Luca Bruno <lethalman88@gmail.com> doclets/gtkdoc: Do not add transfer full annotation for delegates doclets/gtkdoc: Fix parameters order 2010-08-20 Evan Nemerson <evan@coeus-group.com> libsoup-2.4: Use uint8[] in Message.set_{request,response} gdk-pixbuf-2.0: Make Pixbuf.save_to_buffer use uint8 instead of char 2010-08-19 Florian Brosch <flo.brosch@gmail.com> rasqal: add *.deps-file sdl-gfx, sdl-image, sdl-mixer, sdl-net, sdl-ttf: add .deps-files 2010-08-19 Evan Nemerson <evan@coeus-group.com> glib-2.0: Add g_int64_hash and g_int64_equal bindings. 2010-08-19 Luca Bruno <lethalman88@gmail.com> doclets/gtkdoc: Add some comments for implicit parameters C1;2403;0cdoclets/gtkdoc: Improve generation of SECTION comments doclets/gtkdoc: Fix parameters order in signals 2010-08-19 Jürg Billeter <j@bitron.ch> dova: Add support for [NoThrow] methods Bump version suffix Release 0.9.7 Fix regression introduced by codegen refactoring 2010-08-18 Jürg Billeter <j@bitron.ch> Release 0.9.6 2010-08-17 Jürg Billeter <j@bitron.ch> girparser: Fix hidden parameters at the end of the parameter list 2010-08-17 Rumen Zarev <rumen.coding@gmail.com> poppler-glib: Make PopplerAction* be structs without type id. Fixes bug 627070. 2010-08-14 Marc-André Lureau <marcandre.lureau@gmail.com> codegen: check delegate type has_target in object creation expr Fixes bug 626949. 2010-08-14 Marc-André Lureau <marcandre.lureau@gmail.com> readline.vapi: include stdio.h before readline.h This solves compilation error with the readline sample from the wiki http://live.gnome.org/Vala/InputSamples. Fixes bug 626883. 2010-08-13 Ralf Michl <ralf@michl.info> dova: Fix generated main function 2010-08-12 Philip Withnall <philip.withnall@collabora.co.uk> girparser: Add support for parsing error domains Fixes bug 625837. 2010-08-12 Jürg Billeter <j@bitron.ch> gtk+-2.0, gtk+-3.0: Fix gtk_widget_new binding Fix dbus-glib support Fix Symbol.get_cheader_filenames codegen: Small refactoring in method generation codegen: Small refactoring in property accessor generation codegen: Add EmitContext class codegen: Drop CCodeModule Do not create array lists where not necessary Do not create CCodeLineDirective objects if not needed Remove unused local from member access module 2010-08-12 Evan Nemerson <evan@coeus-group.com> gedit-2.20: Make Window.create_tab_from_uri.encoding nullable. Fixes bug 626458. 2010-08-12 Maciej Piechotka <uzytkownik2@gmail.com> libdaemon: Use correct type for PID in fork and pid_file_is_running. Fixes bug 626540. 2010-08-12 Evan Nemerson <evan@coeus-group.com> vapigen: support for setting exception types in metadata files Fixes bug 620677. 2010-08-10 Jürg Billeter <j@bitron.ch> Fix generic classes with GObject constructors Append temporary variables in order of declaration Use emit instead of accept and accept_children in code generator 2010-08-09 Jürg Billeter <j@bitron.ch> Drop deprecated support for assigning to construct-only properties vala-gen-introspect: Fix script with version suffix Release 0.9.5 2010-08-09 Florian Brosch <flo.brosch@gmail.com> Allow overriding content property in Comment class Remove trailing whitespace from content in markup reader Fix line and column counter in markup reader 2010-08-09 Luca Bruno <lethalman88@gmail.com> GAsync: Fix array parameters without length Fixes bug 626053. 2010-08-09 Jürg Billeter <j@bitron.ch> valac: Enable version header by default Keep it disabled when building vala itself for bootstrapping reasons. 2010-08-09 Marc-André Lureau <marcandre.lureau@gmail.com> Add vala.m4 with VALA_CHECK_PACKAGES macro Fixes bug 626321. 2010-08-09 Michal Hruby <michal.mhr@gmail.com> glib-2.0: Add g_node_unlink binding 2010-08-09 Stef Walter <stef@memberwebs.com> glib-2.0: Add GNode bindings Fixes bug 543454. Automatically free GNode data when appropriate 2010-08-07 Andrea Del Signore <sejerpz@tin.it> Add gedit-2.20 bindings 2010-08-07 Evan Nemerson <evan@coeus-group.com> tokyocabinet: Various type and name fixes, add tchdbsetdfunit 2010-08-07 Andrea Del Signore <sejerpz@tin.it> gtksourceview-2.0: Various fixes for GtkSourceCompletion. 2010-08-07 Jürg Billeter <j@bitron.ch> dova: Support string literals without allocation 2010-08-06 Jürg Billeter <j@bitron.ch> dova: Fix default values for boolean and numeric types dova: Do not emit empty arrays for empty lists, sets, or maps dova: Do not generate empty type structs for delegates 2010-08-06 Evan Nemerson <evan@coeus-group.com> libsoup-2.4: Use length for SoupMessageBody.data array length. gdk-pixbuf-2.0: Remove custom.vala file, use metadata instead. 2010-08-06 Ryan Lortie <desrt@desrt.ca> finish removing dconf vapi oops :) drop dconf vapi dconf ships it for itself 2010-08-05 Florian Brosch <flo.brosch@gmail.com> Process & > < " ' in markup reader 2010-08-05 Jürg Billeter <j@bitron.ch> Add version suffix to installed files to allow parallel installation Define VALA_X_Y according to compiler version dova: Do not generate empty structs 2010-08-05 Evan Nemerson <evan@coeus-group.com> gstreamer-0.10: Fix gst_init_check arguments 2010-08-05 Frederik Zipp <fzipp@gmx.de> glib-2.0: Fix GIConv binding. 2010-08-05 Evan Nemerson <evan@coeus-group.com> liboobs-1: Update to 2.30.1 vte: Update to 0.24.3 gstreamer-*-0.10: Add missing type arguments 2010-08-04 Evan Nemerson <evan@coeus-group.com> tokyocabinet: Add Tokyo Cabinet bindings. glib-2.0: Add string.data property clutter-1.0: Move Stage.event to avoid conflict with inherited signal Fixes bug 624988. 2010-08-04 Frederik Zipp <fzipp@gmx.de> hildon-1: Mark delegate arguments owned and hide DestroyNotify args Fixes bug 625010. 2010-08-04 Evan Nemerson <evan@coeus-group.com> libxml-2.0: Make Doc.save_format_file return an int Fixes bug 625089. 2010-08-04 Rafael Monica <monraaf@gmail.com> goocanvas: Several data type fixes. Fixes bug 625268. 2010-08-04 Evan Nemerson <evan@coeus-group.com> clutter-1.0: Do not pass a length to Actor.get_abs_allocation_vertices Fixes bug 625859. 2010-08-04 Geert Jordaens <geert.jordaens@telenet.be> glib-2.0: Use GLib FORMAT where possible to fix format warnings Fixes bug #618404. 2010-08-04 Ryan Lortie <desrt@desrt.ca> Don't emit extra temp variables in array dup funcs Reset the temp variables list back to empty at the start of emitting the array dup function and restore it at the end. 2010-08-04 Marc-André Lureau <marcandre.lureau@gmail.com> Better error message for invalid number of arguments Fixes bug 608187. 2010-08-04 Evan Nemerson <evan@coeus-group.com> Support null source references in more places Fixes bug 617713. 2010-08-04 Vlad Grecescu <b100dian@gmail.com> Fix writing of object creation expressions with --dump-tree Fixes bug 618784. 2010-08-04 Luca Bruno <lethalman88@gmail.com> Use the CCodeBlock generated for SwitchSection Fixes bug 610673. 2010-08-04 Marc-André Lureau <marcandre.lureau@gmail.com> Write CCode attributes for property accessors in VAPI files Fixes bug 614206. Fix default values of flag enums Fixes bug 605812. 2010-08-04 Evan Nemerson <evan@coeus-group.com> Build system fixes to pass make distcheck 2010-08-03 Florian Brosch <flo.brosch@gmail.com> libvaladoc/api: adds GLib.Error to exception lists libaladoc/html: rm exception listing from documentation configure.in: add silent rules 2010-08-03 Evan Nemerson <evan@coeus-group.com> pangocairo: Fix ango_cairo_context_{get,set}_shape_renderer bindings. 2010-08-03 Jürg Billeter <j@bitron.ch> Append enum doc comments to generated C files 2010-08-03 Evan Nemerson <evan@coeus-group.com> gtk+-2.0, gtk+-3.0: Make Gtk.Border a compact class, not a struct. 2010-08-03 Luca Bruno <lethalman88@gmail.com> doclets/gtkdoc: Scan all headers to get all the C declarations doclets/gtkdoc: Fix ignoring headers. Call gtkdoc-scan on specific headers 2010-08-02 Luca Bruno <lethalman88@gmail.com> doclets/gtkdoc: Fix finding headers and handling of external C files doclets/gtkdoc: Call pkg-config only for existing packages 2010-08-02 Evan Nemerson <evan@coeus-group.com> glib-2.0: Add g_logv binding. 2010-08-02 Luca Bruno <lethalman88@gmail.com> doclets/gtkdoc: Split async method documentation with _finish doclets/gtkdoc: Fix creating temporary directories 2010-08-02 Thijs Vermeir <thijsvermeir@gmail.com> gstreamer-net-0.10: fix gst_net_time_provider_new binding 2010-08-01 Florian Brosch <flo.brosch@gmail.com> libvaladoc: vala 0.9.4 migration 2010-07-31 Michael Terry <michael.terry@canonical.com> glib-2.0: Support bytestring Variants. Fixes bug 624986. 2010-07-31 Evan Nemerson <evan@coeus-group.com> gio-2.0: Make g_settings_{get,set}_strv use arrays. Fixes bug 625689. gdk-2.0: Fix gdk_threads_add_* arguments. Fixes bug 625238. 2010-07-30 Rafael Monica <monraaf@gmail.com> gtk+-2.0, gtk+-3.0: Don't use sentinel in ListStore.new and TreeStore.new. Fixes bug 625137. 2010-07-30 Maciej Piechotka <uzytkownik2@gmail.com> glib-2.0: Add vprintf to FileStream Fixes bug 625512. 2010-07-30 Luca Bruno <lethalman88@gmail.com> glib-2.0: Add exit, abort, raise, and signal bindings. glib-2.0: Add [NoReturn] to GLib.error. 2010-07-29 Ali Sabil <ali.sabil@gmail.com> clutter-1.0: Fix the ClutterVertex binding 2010-07-27 Jürg Billeter <j@bitron.ch> Release 0.9.4 Append doc comments to generated C files 2010-07-27 Evan Nemerson <evan@coeus-group.com> gtk+-2.0, gtk+-3.0: Make gtk_text_buffer_set_text.len default to -1. 2010-07-27 Jürg Billeter <j@bitron.ch> Simplify signal handler assignment check Simplify is_address_of_possible Add Variable class Derive EnumValue from Constant Rename Constant.initializer to Constant.value Remove Member class Remove visit_member 2010-07-27 Thijs Vermeir <thijsvermeir@gmail.com> gstreamer-0.10: add new upstream API's 2010-07-25 Evan Nemerson <evan@coeus-group.com> cogl-1.0: Return value of Cogl.Matrix.get_array doesn't have a length. 2010-07-23 Jürg Billeter <j@bitron.ch> dova: Make methods equals, hash, and to_string null-safe dova: Fix cname of null type 2010-07-22 Evan Nemerson <evan@coeus-group.com> sdl: Create wrapper method for SDL.Video.list_modes Fixes bug 624086. 2010-07-22 Rafael Monica <monraaf@gmail.com> gstreamer-controller-0.10: Fix arguments of several methods. Fixes bug 624876. 2010-07-22 Frederik Zipp <fzipp@gmx.de> clutter-1.0: Fix methods with owned delegate parameters. 2010-07-22 Evan Nemerson <evan@coeus-group.com> Fix clutter_container_add and clutter_container_remove bindings. Fixes bug 623999. clutter-1.0: fix clutter_binding_pool_install_action binding Fixes bug 624165. 2010-07-21 Philip Withnall <philip.withnall@collabora.co.uk> girparser: Ensure interfaces have at least one instantiable prerequisite When parsing a GIR file, add a prerequisite on GLib.Object to interfaces which don't have an instantiable prerequisite specified in the GIR file, as g-ir-scanner considers this prerequisite to be implicit. Fixes bug 624923. 2010-07-21 Philip Withnall <philip.withnall@collabora.co.uk> girparser: Add mapping from GIR's gsize to Vala's size_t girparser: Completely ignore <doc> tags 2010-07-21 Michal Hruby <michal.mhr@gmail.com> vapigen: Support shared finish methods 2010-07-21 Jürg Billeter <j@bitron.ch> dova: Fix use of interfaces in generics Fixes bug 613640. dova: Support string equality expressions dova: Disable assert handling It does not work well enough yet. 2010-07-21 Evan Nemerson <evan@coeus-group.com> glib-2.0, posix: Add g_stat, g_lstat, and lstat bindings. glib-2.0: Add g_file_error_from_errno binding. 2010-07-20 Michal Hruby <michal.mhr@gmail.com> gtk+-2.0, gtk+-3.0: Fix gtk_recent_info_* bindings 2010-07-20 Jürg Billeter <j@bitron.ch> vapigen: Support array_length_type for method return values GAsync: Fix extern async methods 2010-07-19 Evan Nemerson <evan@coeus-group.com> Update several bindings to newer versions atk to 1.30.0, gconf-2.0 to 2.28.1, gdk-2.0 to 2.21.2, gdk-x11-2.0 to 2.21.2, gio-2.0 to 2.25.11, gnome-vfs-2.0 to 2.24.3, json-glib-1.0 to 0.11.1, libgnome-menu to 2.30.0, libnotify to 0.5.0, libsoup-2.4 to 2.30.2, libwnck-1.0 to 2.30.0 vapigen: do not remove all values from enums in custom.vala files 2010-07-19 Martin Olsson <martin@minimum.se> zlib: include zlib.h when using crc32() 2010-07-19 Alexander Kojevnikov <alexander@kojevnikov.com> cairo: Fix ScaledFont constructor binding Fixes bug 622353. 2010-07-19 BianShaoLei <bianshaolei@gmail.com> zlib: Fix dest length argument for Utility.compress and uncompress. Fixes bug 623088. 2010-07-19 Evan Nemerson <evan@coeus-group.com> gtksourceview-2.0: Make argument to gtk_source_buffer_new nullable Fixes bug 623517. 2010-07-19 Frederik Zipp <fzipp@gmx.de> clutter-gst-1.0: Fix return types and bind VideoTexture properties Fixes bug 624201. 2010-07-19 Evan Nemerson <evan@coeus-group.com> gtk+-2.0, gtk+-3.0: use delegates for relevant GClosure arguments Fixes bug 624481. 2010-07-18 Jürg Billeter <j@bitron.ch> dova: Improve support for any class dova: Drop checked exceptions Replace error parameter by global variable. dova: Do not let Value subclass Object dova: Fix code generated for instance casts Parse `sealed' declaration modifier dova: Use any as top-level class 2010-07-17 Lionel Landwerlin <llandwerlin@gmail.com> posix: Add execlp method Fixes bug 623600. 2010-07-17 Jürg Billeter <j@bitron.ch> dova: Fix access to string.data from outside dova-core dova: Do not change cname of basic types in code generator 2010-07-17 Simon Wenner <simon@wenner.ch> gdk-2.0: Add missing type arguments Fixes bug 624043. 2010-07-17 Evan Nemerson <evan@coeus-group.com> gtk+-2.0, gtk+-3.0: Make Gtk.Scale.add_mark's markup argument nullable Fixes bug 624442. 2010-07-17 Philip Withnall <philip.withnall@collabora.co.uk> glib-2.0: Add PrintfFormat annotation to GLib.Error constructor Fixes bug 622485. glib-2.0: Add bindings for GDebugKey and g_parse_debug_string() Fixes bug 623148. 2010-07-17 Evan Nemerson <evan@coeus-group.com> gio-2.0: Add ellipsis to GLib.Settings.get and GLib.Settings.set Fixes bug 623551. 2010-07-17 Philip Withnall <philip.withnall@collabora.co.uk> glib-2.0: Add binding for g_test_log_set_fatal_handler() Fixes bug 623868. 2010-07-17 Martin Olsson <martin@minimum.se> glib-2.0: Make return value of GLib.Dir.read_name() nullable Fixes bug 624096. 2010-07-17 Frederik Zipp <fzipp@gmx.de> gobject-2.0: Bind G_TYPE_IS_ENUM and G_TYPE_IS_FLAGS Fixes bug 624194. 2010-07-17 Maciej Piechotka <uzytkownik2@gmail.com> glib-2.0: Add slice allocation bindings Fixes bug 624458. 2010-07-17 Evan Nemerson <evan@coeus-group.com> libsoup-2.4: fixes for SoupMessageBody.flatten and SoupLoggerPrinter 2010-07-17 Joshua Simmons <simmons.44@gmail.com> lua: add bindings for lua reference system Fixes bug 624411. 2010-07-17 Jürg Billeter <j@bitron.ch> dova: Add support for [ThreadLocal] fields dova: Fix public fields in Dova.Object 2010-07-16 Jürg Billeter <j@bitron.ch> dova: Use decimal128 instead of _Decimal128 dova: Include dova-base.h/dova-types.h 2010-07-14 Jürg Billeter <j@bitron.ch> Release 0.9.3 dova: Pass argc and argv to dova_init dova: Fix number literals while bootstrapping 2010-07-13 Jürg Billeter <j@bitron.ch> dova: Support public and protected instance fields in classes Internally handled as properties to avoid ABI issues. Fixes bug 623503. 2010-07-13 Jürg Billeter <j@bitron.ch> dova: Use unsigned hash codes Fix naming issue with abstract async methods Fixes bug 623943. dova: Add initial value boxing and unboxing support 2010-07-12 Jürg Billeter <j@bitron.ch> Fix base access in generic classes Fixes bug 623685. 2010-07-12 Philip Withnall <philip.withnall@collabora.co.uk> Mark GObject *_get_type() functions as constant Add the G_GNUC_CONST attribute to the declarations of all *_get_type() functions, since they are constant functions. Fixes bug 622399. 2010-07-12 Jürg Billeter <j@bitron.ch> Do not require GLib.EnumValue class in bindings Preparation to fix bug 624094. gobject-2.0: Fix EnumClass and FlagsClass bindings girwriter: Do not write generic type parameters Fixes bug 624109. girwriter: Write version 1.1 Fix side effects in assertions Fixes bug 624129. gio-2.0: Fix g_content_type_* bindings 2010-07-11 Jürg Billeter <j@bitron.ch> dova: Fix inline allocated array fields in instances dova: Fix delegate declarations dova: Fix static field initialization dova: Add support for module init function dova: Write all C code to a single file This extends possibilities of internal members and enables global optimizations by the C compiler. 2010-07-10 Jürg Billeter <j@bitron.ch> Require index setters to return void dova: Fix memory handling of elements in list, set, and map literals Fixes bug 624036. dova: Fix delegates with generic return types dova: Fix generic virtual methods 2010-07-10 Luca Bruno <lethalman88@gmail.com> glib-2.0: Add vprintf variant functions 2010-07-09 Jürg Billeter <j@bitron.ch> dova: Use simple . instead of -> for pointer member access dova: Fix nested generics dova: Fix memory handling of list, set, and map literals and tuples Fixes bug 623915. dova: Use static modifier for delegate wrappers 2010-07-08 Jürg Billeter <j@bitron.ch> girparser: Handle asynchronous methods Fixes bug 623255. girparser: Fix support for boxed types Fixes bug 623254. Add support for g_boxed_free / g_boxed_copy 2010-07-08 Sebastian Dröge <sebastian.droege@collabora.co.uk> gstreamer-0.10: Use generic delegates for the Gst.Iterator functions This fixes memory leaks among other things when using the iterators. vapigen: Add support for type_parameters for delegates Also add support for type_name for delegate parameters. 2010-07-08 Jürg Billeter <j@bitron.ch> Reverse free order for local variables Last created should be destroyed first. dova: Fix generic delegates 2010-07-07 Jürg Billeter <j@bitron.ch> dova: Fix generic subclasses dova: Support calling equals on generic type parameters Write [NoReturn] in VAPI files 2010-07-04 Jürg Billeter <j@bitron.ch> clutter-1.0: Fix clutter_score_append binding 2010-07-03 Jürg Billeter <j@bitron.ch> dova: Do not leak args array passed to main dova: Add missing include for Dova.Array dova: Fix symbol resolving in list, set, and map literals and tuples dova: Fix non-void lambda expressions Prepare support for generic delegates dova: Add support for object literals 2010-07-02 Michal Hruby <michal.mhr@gmail.com> glib-2.0: Fix g_regex_replace_eval binding 2010-07-02 Jürg Billeter <j@bitron.ch> dova: Fix closures in constructors Add support for [Print] method attribute This stringifies and concatenates all arguments you pass to the method. 2010-07-01 Jürg Billeter <j@bitron.ch> girparser: Skip elements with introspectable="0" Fixes bug 623224. 2010-06-30 Jürg Billeter <j@bitron.ch> Add experimental vala tool for use with #! Ignore #! line at the top of source files Add experimental support for main blocks dova: Fix typing of character literals 2010-06-29 Jürg Billeter <j@bitron.ch> Support newlines in double quoted string literals girparser: Support delegates with target Fixes bug 621834. girparser: Fix callback parameters with destroy_notify girparser: Fix parameter index calculation girparser: Fix callback parsing 2010-06-29 Evan Nemerson <evan@coeus-group.com> girparser: Use the same code for parsing callbacks as methods Fixes part of bug 621834. 2010-06-29 Jürg Billeter <j@bitron.ch> girparser: Fix critical warnings 2010-06-29 Abderrahim Kitouni <a.kitouni@gmail.com> girwriter: Fix closure attribute for delegate targets The code was assuming that data_type would be a Delegate for a DelegateType while it is null. girparser: Add an exception for Atk.Implementor Atk.Implementor has a GType name of AtkImplementorIface and this is what gobject-introspection uses. 2010-06-29 Jürg Billeter <j@bitron.ch> glib-2.0: Allow using sizeof for element size in GLib.Array constructor 2010-06-29 Abderrahim Kitouni <a.kitouni@gmail.com> girparser: StringBuilder is GLib.String not GObject.String 2010-06-29 Colin Walters <walters@verbum.org> [autogen.sh] Support NOCONFIGURE, like gnome-common 2010-06-29 Ryan Lortie <desrt@desrt.ca> D-Bus: fix function signature for object vtable Make the 'user_data' argument for the method call and property get/set functions for GDBus services have the proper 'gpointer' type instead of 'gpointer*'. Also the GDestroyNotify. D-Bus: emit casts to C code to squash warnings one more D-Bus: emit casts to C code to squash warnings GDBusConnection.emit_signal() takes null first arg 2010-06-29 Jürg Billeter <j@bitron.ch> D-Bus: Fix error domain registration with GDBus 2010-06-28 Jürg Billeter <j@bitron.ch> D-Bus: Fix error handling in GDBus servers 2010-06-28 Luca Bruno <lethalman88@gmail.com> Do not allow .begin() and .end() in yield statement Fixes bug 622707. Fix CCode generator to treat errors as reference types Fixes bug 622797. Support derived structs with no fields, report an error otherwise Fixes bug 622777. 2010-06-28 Jürg Billeter <j@bitron.ch> Fix assigning null to GVariant variable gio-2.0: Fix g_bus_{own,watch}_name* bindings Support using GClosure for delegate parameters gio-2.0: Drop GSettingsBackend bindings The GSettingsBackend API is not considered stable. Fix error propagation in constructor chain up Fixes bug 623049. 2010-06-28 Evan Nemerson <evan@coeus-group.com> gio-2.0: Add lots of default values, mostly for Cancellable parameters Fixes bug 613471. Copy default_expression in FormalParameter.copy 2010-06-28 Jürg Billeter <j@bitron.ch> gio-2.0: Various fixes for g_dbus_* bindings Fix writing of async creation methods in VAPI files 2010-06-28 Evan Nemerson <evan@coeus-group.com> vapigen: Hide async *_finish methods Fixes bug 614045. 2010-06-28 Jürg Billeter <j@bitron.ch> dova: Do not accept multi-dimensional arrays as they are not supported 2010-06-27 Jürg Billeter <j@bitron.ch> Remove bindings for short-lived gdk-pixbuf-3.0 dbus-glib-1: Add dbus_g_thread_init binding Fixes bug 622507. dova: Fix string size when using escaped characters glib-2.0: Skip ObjectPath class when using dbus-glib-1 Fix operator string for inequality expression dova: Fix value_size for struct types dova: Fix struct variable initialization 2010-06-26 Jürg Billeter <j@bitron.ch> dova: Fix closures in static methods dova: Add support for closures dova: Support string element access 2010-06-24 Sebastian Dröge <sebastian.droege@collabora.co.uk> gstreamer-0.10: Let all ref methods return an unowned value Otherwise the return value will immediately be unreffed if it isn't stored somewhere, making the ref a no-op. gstreamer-0.10: Fix Gst.SystemClock bindings gstreamer-0.10: Mark Gst.Index and Gst.PluginFeature as abstract gstreamer-0.10: Fix Gst.Structure bindings gstreamer-0.10: Fix Gst.Registry bindings Some nullable and parameter ownership changes gstreamer-0.10: Fix Gst.Query bindings gstreamer-0.10: Fix Gst.Preset interface bindings gstreamer-0.10: Fix Gst.Poll and Gst.PollFD bindings 2010-06-24 Adrien Bustany <abustany@gnome.org> rest-0.6: Fix OAuthProxyCall This commit properly tags OAuthProxyCall as a subclass of Rest.ProxyCall rest-0.6: Fix XmlParser This commit properly tags XmlParser as a GObject 2010-06-23 Luca Bruno <lethalman88@gmail.com> Fix copying struct parameters for lambdas and async methods. Fixes bug 622422. 2010-06-23 Sebastian Dröge <sebastian.droege@collabora.co.uk> gstreamer-0.10: Fix Gst.Plugin and Gst.PluginFeature bindings Some ownership issues, return/parameter type issues, etc. gstreamer-0.10: Fix GstParse bindings Some ownership, return type and nullable fixes 2010-06-23 Sebastian Dröge <sebastian.droege@collabora.co.uk> Use atomic ref/unref for closure data This prevents potential problems if it's used from multiple threads, which could happen with GStreamer for example. Fixes bug #622476. 2010-06-23 Sebastian Dröge <sebastian.droege@collabora.co.uk> gstreamer-0.10: Fix Gst.Pipeline bindings Some ownership and nullable changes. gstreamer-0.10: Fix Gst.Pad bindings Many changes to ownerships, functions with callbacks, etc. 2010-06-22 Sebastian Dröge <sebastian.droege@collabora.co.uk> gstreamer-0.10: Fix Gst.Iterator.fold() binding The value should be an out parameter, which is initialized and set by the fold function. 2010-06-22 Jürg Billeter <j@bitron.ch> Fix some missing source references for generated nodes Deny access to instance members from nullable references This only applies to the experimental strict non-null mode. 2010-06-21 Jürg Billeter <j@bitron.ch> dova: Add assert support dbus-glib-1: Readd ObjectPath class to restore backward compatibility 2010-06-21 Frederik Zipp <fzipp@gmx.de> glib-2.0: add unichar.to_string method 2010-06-21 Evan Nemerson <evan@coeus-group.com> glib-2.0: add GenericArray.length, correct type for PtrArray.set_size 2010-06-21 Martin Olsson <martin@minimum.se> libgvc: add subgraph functionality and add name attribute for Gvc.Node Fixes bug 622233. 2010-06-20 Evan Nemerson <evan@coeus-group.com> gtk+-2.0, gtk+-3.0: fix return value of Gtk.AccelGroup.find Fixes bug 617963. 2010-06-20 Andreas Obergrusberger <tradiaz@yahoo.de> x11: add screensaver related functions Fixes bug 622185. 2010-06-20 Evan Nemerson <evan@coeus-group.com> zlib: add crc32 and adler32 to ZLib.Utility Fixes bug 622200. 2010-06-20 Jürg Billeter <j@bitron.ch> Release 0.9.2 gtk+-3.0: Fix GtkRadioAction:group and GtkRadioButton:group bindings 2010-06-20 Luca Bruno <lethalman88@gmail.com> gtk+-2.0: Fix GtkRadioAction:group and GtkRadioButton:group bindings Fixes bug 621754. 2010-06-20 Simon Wenner <simon@wenner.ch> glib-2.0: Add g_utf8_collate_key* bindings Fixes bug 621151. 2010-06-20 Luca Bruno <lethalman88@gmail.com> Do not support assigning to `this' Fixes bug 620120. 2010-06-20 Ryan Lortie <desrt@desrt.ca> GVariant parsing API 2010-06-20 Jürg Billeter <j@bitron.ch> gtk+-3.0: Fix gtk_tree_path_get_indices_with_depth binding glib-2.0: Support GVariant as fundamental type This requires GLib 2.25.10. D-Bus: Support [DBus (signature = "...")] Variant This makes it possible to use GVariant in D-Bus clients and servers without automatic boxing/unboxing. 2010-06-20 Luca Bruno <lethalman88@gmail.com> Do not allow ++ or -- before regex literals in scanner Fixes bug 621923. D-Bus: Support no-reply methods in static libdbus clients Fixes bug 618892. 2010-06-20 Jürg Billeter <j@bitron.ch> D-Bus: Report error when trying to create proxy for non-D-Bus interface Fixes bug 603494. D-Bus: Fix signal name mangling in dynamic dbus-glib clients Fixes bug 583207. D-Bus: Port tests to GDBus Support GVariant casts and GDBus clients and servers Move ObjectPath class from dbus-glib-1 to glib-2.0 gio-2.0: Move g_bus_* bindings to GLib.Bus namespace gtk+-3.0: Fix gtk_application_new binding Fixes bug 621323. gio-2.0: Improve GApplication binding gtk+-3.0: Drop sealed fields Fixes bug 616127. D-Bus: Move D-Bus helpers to DBusModule 2010-06-19 Luke Benstead <kazade@gmail.com> libarchive: fix cname of Archive.Write.write_header Fixes bug 622056. 2010-06-19 Aaron Andersen <aaron@fosslib.net> sdl-image: various nullability and type fixes, add some missing items Fixes bug 619319. 2010-06-19 Evan Nemerson <evan@coeus-group.com> clutter-1.0: Text.position_to_coords float params are out and nullable Fixes bug 621491. girparser: handle scope="async" annotations Fixes bug 620387. girparser: add special case for GPtrArray and GArray Fixes bug 618660. 2010-06-18 Evan Nemerson <evan@coeus-group.com> girparser: improve support for generic type arguments 2010-06-18 Zeeshan Ali (Khattak) <zeeshanak@gnome.org> gststreamer-0.10: Revert some changes The following fields were transformed to methods to make them read-only for vala as they are macros for C: * Gst.Message.type * Gst.Message.src * Gst.Event.type * Gst.Event.src Reverting this change as it breaks the build for rygel (and any app using these APIs from vala 0.8.x) and its not so important anyways. 2010-06-18 Jürg Billeter <j@bitron.ch> gtk+-3.0: Update to 2.90.3 gio-2.0: Update to 2.25.9 2010-06-17 Jürg Billeter <j@bitron.ch> dova: Support overriding properties dova: Support internal fields dova: Fix flow analysis of error handling in non-void methods dova: Fix virtual methods throwing errors 2010-06-16 Jim Nelson <jim@yorba.org> gdk-2.0: Add GDK_NONE binding Fixes bug 621318. 2010-06-16 Michael Terry <michael.terry@canonical.com> gtk+-3.0: Fix gtk_application_new binding Fixes bug 621323. 2010-06-16 Luca Bruno <lethalman88@gmail.com> Do not allow abstract properties in non-abstract classes Fixes bug 621184. Handle struct equality for simple types and opaque structures. Fixes bug 618217. GIR writer: Fix crash on struct creation methods Fixes bug 621495. 2010-06-16 Mikkel Kamstrup Erlandsen <mikkel.kamstrup@canonical.com> D-Bus: Add missing casts for async server methods Fixes bug 621692. 2010-06-16 Jürg Billeter <j@bitron.ch> D-Bus: Add missing string.h include GAsync: Fix virtual async methods returning structs Fixes bug 621768. 2010-06-16 Luca Bruno <lethalman88@gmail.com> GAsync: Support returning structs from async methods Fixes bug 620740. 2010-06-16 Jürg Billeter <j@bitron.ch> dova: Fix warning when throwing errors in constructors dova: Fix throwing errors in constructors dova: Rename equal method to equals 2010-06-15 Jürg Billeter <j@bitron.ch> D-Bus: Support string arrays in variants Fixes bug 602003. glib-2.0: Fix memory leak in GenericArray.set Solution suggested by Evan Nemerson. D-Bus: Fix declaration of proxy_new functions when used in other files 2010-06-15 Evan Nemerson <evan@coeus-group.com> vapigen: Add support for deprecated metadata attributes codegen: write G_GNUC_DEPRECATED in generated C where appropriate Add support for [Deprecated] attribute Fixes bug 614712. 2010-06-15 Jürg Billeter <j@bitron.ch> glib-2.0: Add GLib.GenericArray (generic version of GLib.PtrArray) Based on patch by Evan Nemerson. glib-2.0: Use simple generics for HashTable creation method 2010-06-15 Evan Nemerson <evan@coeus-group.com> Support simple generics for creation methods 2010-06-13 Adrien Bustany <abustany@gnome.org> rest-0.6: Make Rest.ProxyCall a GObject The Rest.ProxyCall class was incorrectly detected as a Compact, non GObject class by vapigen. 2010-06-13 Evan Nemerson <evan@coeus-group.com> gudev-1.0: fix Device.get_property_keys and Client.query_by_subsystem 2010-06-10 Jürg Billeter <j@bitron.ch> Add gdk-pixbuf-3.0, gdk-3.0, gdk-x11-3.0, and gtk+-3.0 bindings gio-2.0: Update to 2.25.8 2010-06-08 Jürg Billeter <j@bitron.ch> dova: Fix temporary variables used for throw statements dova: Add initial support for error handling dova: Unable to chain up to base constructor is fatal 2010-06-07 Jürg Billeter <j@bitron.ch> Release 0.9.1 2010-06-07 Mikkel Kamstrup Erlandsen <mikkel.kamstrup@canonical.com> dbus-glib-1: Add binding for dbus_g_connection_unregister_g_object Fixes bug 620543. 2010-06-07 Evan Nemerson <evan@coeus-group.com> Never mark *_register_type functions as static *_register_type functions are called by the module init function, which might reside in a different file. Fixes bug 617850. 2010-06-07 Luca Bruno <lethalman88@gmail.com> Deprecate use of += and -= for signals The connect/disconnect methods should be used instead. Fixes bug 617571. 2010-06-07 Rémy Saissy <remy.saissy@gmail.com> Create destination directory when writing C files Fixes bug 612336. 2010-06-07 Luca Bruno <lethalman88@gmail.com> gdk-pixbuf-2.0: add ellipsis to gdk_pixbuf_save_to_callback. Fixes bug 620667. 2010-06-06 Abderrahim Kitouni <a.kitouni@gmail.com> Allow running the symbol resolver more than once Fixes bug 620753. 2010-06-06 Evan Nemerson <evan@coeus-group.com> gio-2.0: return value of g_inet_address_to_bytes is an array 2010-06-05 Jürg Billeter <j@bitron.ch> Do not depend on declaration order for constants Fixes bug 618890. 2010-06-05 Luca Bruno <lethalman88@gmail.com> D-Bus: Keep instance alive when calling dynamic async D-Bus methods 2010-06-05 Luca Bruno <lethalman88@gmail.com> Fix crash when passing method as argument to dynamic method Target type is not set for arguments of dynamic methods. Fixes bug 620037. 2010-06-05 Jürg Billeter <j@bitron.ch> dova: Add experimental backend dova: Accept volatile modifier for fields and parameters dova: Do not use infix for creation methods of basic types dova: Support pointer arithmetic dova: Support list concatenation dova: Support string concatenation dova: Support delegates dova: Support tuples dova: Support calling hash on generic type parameters dova: Do not use gpointer for generic types dova: Support string templates dova: Prepare support for decimal floating point types dova: Use Dova.Array as type of arrays dova: Fix memory management of interfaces Fixes bug 609089. dova: Support inline allocated array parameters Fix ownership of inline allocated arrays Implement replace_expression for constant initializers 2010-06-04 Darren Warner <darren@dazwin.com> build: Use $(srcdir) instead of relative paths Fixes bug 620048. 2010-06-03 Evan Nemerson <evan@coeus-group.com> libvaladoc: fix detection of static delegates 2010-06-02 Thijs Vermeir <thijsvermeir@gmail.com> gstreamer0.10: Fix bindings for gst_clock_new_*_id Fix bindings for gst_clock_new_periodic_id and gst_clock_new_single_shot_id 2010-05-30 Luca Bruno <lethalman88@gmail.com> gtk+-2.0: Gtk.Widget.get_allocation allocation parameter is out. Fixes bug 620050. gtk+-2.0: Tree move_after.iter and move_before.iter are ref parameters. Fixes bug 619357. 2010-05-29 Evan Nemerson <evan@coeus-group.com> json-glib-1.0: hide user data arguments from two methods 2010-05-28 Jürg Billeter <j@bitron.ch> Do not set error flag when using delegate prototype as argument 2010-05-27 Rémy Saissy <remy.saissy@gmail.com> Fix crash when compiling empty .vala file Fixes bug 619422. 2010-05-27 Evan Nemerson <evan@coeus-group.com> Update documentation Fixes bug 615710. Do not add extra argument to unref functions Fixes bug 615481. 2010-05-27 Tobias Mueller <tobiasmue@gnome.org> gobject-introspection: Use proper format string for g_error g_error expects a format string as first argument which it is now given. This fixes a potential format string vulnerability. Fixes bug 615552. 2010-05-27 Tobias Mueller <tobiasmue@gnome.org> gobject-introspection: Free allocated memory and fix format strings g_markup_printf_escaped allocates memory which now is free()d. Also, move from g_string_append_printf to g_string_append because it has a clearer and easier semantic and is less error prone. In fact, this fixes potential format string vulnerabilties. Fixes bug 615552. 2010-05-27 Michael 'Mickey' Lauer <mickey@vanille-media.de> linux: add non-posix sysconf(3) configuration names posix: add sysconf(3) and assorted constants 2010-05-27 Adrien Bustany <abustany@gnome.org> Add rest-extras bindings to Makefile.am Add bindings for rest-extras-0.6 2010-05-27 Adrien Bustany <abustany@gnome.org> rest-0.6: Various fixes This commit cleans the .metadata file, and fixes the ProxyCall binding. The classes FacebookProxy and FlickrProxy are now part of the rest-extras-0.6 package, so information concerning them can be removed from the metadata file. ProxyCall was not marked as being a GObject. 2010-05-25 Adrien Bustany <abustany@gnome.org> libesmtp bindings: Fix sentinel in smtp_set_header Add libesmtp bindings libgdata bindings: Fix cprefix on PicasaWeb classes libgdata bindings: Fix type_id for PicasaWebFile vapi: update libgdata bindings 2010-05-24 Jamie McCracken <jamie.mccrack gmail com> Genie: Added Regex literals Genie: Fix assertion failure on large rollback in parser Genie: Report error on duplicate constructor or destructor in class Genie: Support array and string slices Genie: Fix base access in async methods Genie: Support named arguments Genie: Support non-null casts 2010-05-24 Jamie McCracken <jamie.mccrack@gmail.com> Genie: Added string templating 2010-05-22 Evan Nemerson <evan@coeus-group.com> glib-2.0: add GLib.IOChannel.win32_socket and win32_messages 2010-05-22 Luca Bruno <lethalman88@gmail.com> gnome-keyring-1: fix GetStringCallback.str and NETWORK_PASSWORD 2010-05-22 Florian Brosch <flo.brosch@gmail.com> doclet/*: don't visit thrown exceptions and signal children anymore doclets/*: Remove unnecessary directories doclet/xml: Fix link-taglet libvaladoc/api rename Visitable to Browsable libvaladoc/api rename full_name () to get_full_name () libvaladoc/api rm uncalled creation method visitor 2010-05-21 Evan Nemerson <evan@coeus-group.com> Add mx-1.0 bindings gtk+-2.0: set default values for Gtk.Box.pack_start and end arguments glib-2.0: use g_strcmp0 instead of strcmp 2010-05-20 Jakob Westhoff <jakob@westhoffswelt.de> Fixed save_to_buffer methods inside the gdk-pixbuf bindings The gdk-pixbuf bindings were using the wrong method definiton for the methods gdk_pixbuf_save_to_buffer and gdk_pixbuf_save_to_bufferv, which made them unusable. This commit introduces a -custom.vala file to fix this problem and create usable method signatures. 2010-05-20 Evan Nemerson <evan@coeus-group.com> gnutls: fix a couple cnames, and change a char* to a string 2010-05-20 Florian Brosch <flo.brosch@gmail.com> libvaladoc/api: rm return types from creation methods 2010-05-17 Evan Nemerson <evan@coeus-group.com> rest-0.6: rename rest to rest-0.6, update to version 0.6.1 2010-05-16 Evan Nemerson <evan@coeus-group.com> glib-2.0: add g_qsort_with_data binding libgda-4.0: add many type_arguments, several other small fixes libgda-4.0: fix vfunc names om Gda.DataModel and Gda.Lockable gconf-2.0: add several missing type arguments, some ownership fixes gnome-keyring-1: add missing type_arguments 2010-05-16 Nicolas Joseph <nicolas.joseph@valaide.org> gdl-1.0: update to 2.30.0 Fixes bug 615397. 2010-05-16 Evan Nemerson <evan@coeus-group.com> x11: fix type mismatch warning in X.Display.get_window_property Fixes bug 609561. 2010-05-16 Fabian Deutsch <fabian.deutsch@gmx.de> Add orc-0.4 binding Fixes bug 618570. 2010-05-16 Shawn Ferris <shawnmferris@yahoo.com> libgda-4.0: several small miscellaneous fixes Fixes bug 615421. 2010-05-14 Nicolas Joseph <nicolas.joseph@valaide.org> gtk+-2.0: Gtk.AccelMap.lookup_entry key parameter is out Fixes bug 617962. 2010-05-14 Evan Nemerson <evan@coeus-group.com> gtk+-2.0: make Gtk.AccelKey a struct Fixes bug 617963. 2010-05-14 Gregor Burger <gregor.burger@uibk.ac.at> gtk+-2.0: gtk_icon_theme_choose_icon.icon_names does not have a length Fixes bug 618574. gio-2.0: make g_file_has_parent.parent nullable Fixes bug 618441. 2010-05-14 Derek Dai <daiderek@gmail.com> glib-2.0: add binding for g_unichar_get_script and GUnicodeScript enum Fixes bug 618428. 2010-05-14 Julian Andres Klode <jak@jak-linux.org> sqlite3: Add sqlite3_create_collation binding. Add the sqlite3_create_collation binding which makes it possible to define custom collation sequences. Fixes bug 618406. 2010-05-14 Julian Andres Klode <jak@jak-linux.org> sqlite3: Cast errmsg to char** in C. Vala's string out arguments are const char**, but sqlite3_exec() and sqlite3_get_table() expect 'char**'. Add [CCode (type = "char**")] to cast them to the wanted type, thus avoiding a warning from the C compiler. Fixes bug 618457. 2010-05-14 Julian Andres Klode <jak@jak-linux.org> sqlite3: Fix wrappers to not assign to invalid output parameter. Check that the output parameter is not null before assigning to it. Without this, passing null as errmsg results in segfaults since the function dereferences a null pointer. Fixes bug 61845. 2010-05-11 Michal Hruby <michal.mhr@gmail.com> glib-2.0: Add g_strrstr and g_strrstr_len bindings 2010-05-11 Evan Nemerson <evan@coeus-group.com> gstreamer-base-0.10: fix ownership of BaseTransform.transform_caps 2010-05-11 Michael 'Mickey' Lauer <mickey@vanille-media.de> linux.vapi: bind sethostname(2) exposing both parameters 2010-05-10 Alexander Kojevnikov <alexander@kojevnikov.com> gstreamer: Fix Gst.Structure.get_clock_time() binding gstreamer: Fix Gst.Pad.query_* bindings 2010-05-10 Michael 'Mickey' Lauer <mickey@vanille-media.de> linux: add ioctl(2) ioctl(2) is also defined in Posix.vapi, however the POSIX XSR option (with stropts.h) is only supported on some Linux distributions. 2010-05-07 Michael 'Mickey' Lauer <mickey@vanille-media.de> linux: add sethostname(2) posix: add gethostname(2) 2010-05-06 Evan Nemerson <evan@coeus-group.com> html: fix invalid HTML in <h1> libvaladoc: fix plugin system to work with latest valac 2010-05-05 Florian Brosch <flo.brosch@gmail.com> libvaladoc/html: fix missing links in "all known"-lists 2010-05-05 Evan Nemerson <evan@coeus-group.com> gdk-2.0: buf argument of gdk_draw_*_image doesn't have an array length Fixes bug 617534. glib-2.0: add binding for GLib.HashTable.lookup_extended Fixes bug 617358. gio-2.0: fix callbacks for sources created with Socket.create_source Fixes bug 617069. sqlite3: add binding for sqlite3_update_hook 2010-05-04 Evan Nemerson <evan@coeus-group.com> Add man page for valadoc valadoc: clean up --help output valadoc: fix --help output for --doclet option. doclet/gtkdoc: fix failure to build outside of the source directory 2010-05-04 Luca Bruno <lethalman88@gmail.com> doclets/gtkdoclet: Add support for dbus interfaces Api: Add methods to support dbus interfaces documentation doclets/gtkdoclet: Fix handling undocumented parameters. Support not-error. doclets/gtkdoclet: Support error-domains annotation doclets/gtkdoclet: Group @see taglets doclets/gtkdoclet: Add support for referencing properties doclets/gtkdoclet: Better support for signals doclets/gtkdoclet: Do not add an header only for annotations if the comment is empty doclets/gtkdoclet: Use %NULL when manually commenting errors doclets/gtkdoclet: Use LD_LIBRARY_PATH. Take in consideration existing environment variables doclets/gtkdoclet: Fix unconditionated .strip() usage doclets/gtkdoclet: Properly handle property accessors doclets/gtkdoclet: Do not write C comments file in append mode doclets/gtkdoclet: Support method throws. Add manual headers doclets/gtkdoclet: Support documenting delegates and its formal parameters 2010-05-01 Evan Nemerson <evan@coeus-group.com> glib-2.0: set default value of StringBuilder.truncate to 0 sqlite3: add methods to get the source of data in a query result 2010-04-29 Travis Reitter <travis.reitter@collabora.co.uk> glib-2.0: fix argument type of several TestCase constructor arguments Fixes bug 617193. 2010-04-29 Mike Massonnet <mike.massonnet@gmail.com> glib-2.0: fix incompatible type warning in g_key_file_set_string_list Fixes bug 582092. 2010-04-29 Evan Nemerson <evan@coeus-group.com> vapigen: support setting array_length_type for parameters glib-2.0: add GLib.FileUtils.get/set_data methods glib-2.0: set has_type_id = false for int16 and uint16 2010-04-29 Travis Reitter <travis.reitter@collabora.co.uk> vala-gen-introspect: Support packages without prefix Uninstalled packages may use an empty string as prefix. Do not ignore valid header files when PREFIX is an empty string and the header path starts with a dot. Fixes bug 615119. 2010-04-29 Jürg Billeter <j@bitron.ch> GAsync: Fix finish function for methods with value type out parameters Fixes bug 617087. 2010-04-28 Jürg Billeter <j@bitron.ch> Report error on incorrect use of [ModuleInit] Fixes bug 616805. 2010-04-28 Michal Hruby <michal.mhr@gmail.com> vapigen: Apply array attributes from finish method to async as well vapigen: Support finish_name attribute for async methods 2010-04-28 Jukka-Pekka Iivonen <jp0409@jippii.fi> Support regular expression literals after more tokens Fixes bug 615558. Fix regular expression literals when used in multiple source files Fixes part of bug 615558. 2010-04-28 Jürg Billeter <j@bitron.ch> Fix crash when using type names as conditions Report error when using ellipsis without named parameter Fixes bug 615450. 2010-04-28 Luca Bruno <lethalman88@gmail.com> Fix delegate target usage in async methods Fixes bug 612641. 2010-04-28 Evan Nemerson <evan@coeus-group.com> atk: make Atk.State inherit from uint64 Fixes bug 613949. 2010-04-28 Luca Bruno <lethalman88@gmail.com> gtk+-2.0: make Gtk.init_with_args.translation_domain argument nullable Fixes bug 614517. 2010-04-28 Allison Barlow <allison@yorba.org> gdk-2.0: mark gdk_gc_get_values.values as out Fixes bug 617000. 2010-04-27 Luca Bruno <lethalman88@gmail.com> Keep closure / instance alive when calling async methods with callbacks Fixes bug 616383. 2010-04-27 Sebastian Dröge <sebastian.droege@collabora.co.uk> Use G_TYPE_ERROR instead of G_TYPE_POINTER for GLib >= 2.26 Fixes bug 616588. 2010-04-27 Marc-André Lureau <marcandre.lureau@gmail.com> build: INSTALL is updated by automake, remove it Fixes part of bug 615402. 2010-04-27 Marc-André Lureau <marcandre.lureau@gmail.com> build: Delete .version in autogen to pick up new version This is recommended by git-version-gen script. Fixes part of bug 615402. 2010-04-27 Luca Bruno <lethalman88@gmail.com> Add GValue support for interfaces with non-GObject class prerequisite Fixes bug 615904. Fix struct initialization when the instance variable is captured Fixes bug 615940. 2010-04-27 Víctor Manuel Jáquez Leal <vjaquez@igalia.com> vapigen: Support type_id attribute for classes Fixes bug 615633. 2010-04-27 Marc-André Lureau <marcandre.lureau@gmail.com> GRegex is available only in the GObject profile Fixes bug 615321. 2010-04-27 Evan Nemerson <evan@coeus-group.com> Support array_length_type for method parameters Fixes bug 529866. 2010-04-27 Jürg Billeter <j@bitron.ch> Fix generated code when mixing closures and simple lambda expressions Fixes bug 615444. 2010-04-27 Evan Nemerson <evan@coeus-group.com> gnutls: fix numerous errors preventing gnutls from being usable. 2010-04-26 Evan Nemerson <evan@coeus-group.com> clutter-1.0: fix Stage.read_pixels binding Fixes bug 616448. mysql: mark Database.fetch_row as null terminated, several other fixes Fixes bug 615925. gio-2.0: GLib.Converter.convert bytes_read and bytes_written are out gio-2.0: set default value of g_zlib_compressor_new.level to -1 gtk+-2.0: expose Gtk.CellEditable.start_editing 2010-04-22 Michael 'Mickey' Lauer <mickey@vanille-media.de> libnl-2.0: bind attribute as compact class; bind dump infrastructure linux: rtnetlink routing / discovery messages 2010-04-20 Travis Reitter <treitter@gmail.com> vapigen: Support is_array attribute for delegate parameters Fixes bug 615971. 2010-04-19 Michael 'Mickey' Lauer <mickey@vanille-media.de> linux: add reboot(2) and assorted commands 2010-04-19 Michal Hruby <michal.mhr@gmail.com> glib-2.0: add several additional gettext related bindings 2010-04-19 Sebastian Dröge <sebastian.droege@collabora.co.uk> vapigen: support type_arguments for signal/delegate return types Fixes bug 615837. 2010-04-19 Evan Nemerson <evan@coeus-group.com> libxml-2.0: correct cname for Xml.Node.ns_def Fixes bug 616037. glib-2.0: mark return value of GLib.MappedFile.get_contents as unowned sqlite3: add many missing bindings 2010-04-17 Ali Sabil <ali.sabil@gmail.com> posix: Fix posix_fadvise binding Fixes bug 615418. Add clutter-gst-1.0 bindings Fixes bug 608336. 2010-04-16 Jürg Billeter <j@bitron.ch> vapigen: Support instance_pos attribute for delegates 2010-04-16 Luca Bruno <lethalman88@gmail.com> Make C code modules and declaration space public Fixes bug 615775. 2010-04-15 Evan Nemerson <evan@coeus-group.com> vapigen: add support for type_arguments on signal parameters 2010-04-11 Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com> glib-2.0: fix binding of g_variant_get_string 2010-04-11 Ali Sabil <ali.sabil@gmail.com> Fix code generation for destroy_notify calls for delegate targets Fixes bug 615440. 2010-04-10 Luca Bruno <lethalman88@gmail.com> doclet/gtkdoc: Added first version 2010-04-10 Evan Nemerson <evan@coeus-group.com> gnome-vfs-2.0: fix ownership and type arguments on several methods sqlite3: add wrapper methods for sqlite3_exec and sqlite3_get_table Fixes bug 579364. sqlite3: add binding for user defined function API 2010-04-10 Michael 'Mickey' Lauer <mickey@vanille-media.de> alsa: fix SimpleChannelId enum 2010-04-09 Michael 'Mickey' Lauer <mickey@vanille-media.de> alsa: bind simple mixer API 2010-04-09 Jürg Billeter <j@bitron.ch> glib-2.0: Set D-Bus type signature for uchar Fixes bug 615282. 2010-04-09 Sebastian Dröge <sebastian.droege@collabora.co.uk> gstreamer: Use generic Gst.Iterator with correct type arguments everywhere 2010-04-09 Evan Nemerson <evan@coeus-group.com> gstreamer-0.10: make GstIterator a generic vapigen: add support for type_parameters attribute vapigen: fix a crash if type_name is used for pointer arguments Fixes bug 614348. Make argument of NullType constructor nullable libsoup-2.4: update to 2.30.0 Fixes bug 615047. 2010-04-09 Jürg Billeter <j@bitron.ch> Fix crash on valid recursive struct usage Fixes bug 614417. Fix assignment to array fields using array_length_type Fixes bug 614919. 2010-04-08 Sebastian Dröge <sebastian.droege@collabora.co.uk> gstreamer: Fix and clean up Gst.Object bindings gstreamer: Fix and cleanup Gst.MiniObject bindings gstreamer: Fix and clean up Gst.Message bindings 2010-04-08 Jürg Billeter <j@bitron.ch> Fix type declaration order for captured variables and parameters 2010-04-08 Sebastian Dröge <sebastian.droege@collabora.co.uk> gstreamer: The Gst.Bin and Gst.Pipeline constructors can take null-strings as parameter gstreamer: Enable all the enum methods/constants after vapigen was fixed gstreamer: First go at fixing Gst.Iterator bindings This has to be converted to simple generics later once generic delegates are supported. See bug #615040. gstreamer: Gst.IndexFactory binding fixes gstreamer: Fix Gst.IndexFactory bindings gstreamer: Fix Gst.Index and related types gstreamer: Fix Gst.ImplementsInterface bindings gstreamer: Fix Gst.GhostPad bindings gstreamer: Fix GstFormat bindings, needs bug #614543 fixed first gstreamer: gst_filter_run() return value is owned by the caller gstreamer: Add some more (uncommented) enum methods for later use gstreamer: Add some more macro bindings for Gst.Buffer gstreamer: Fix some random ownership/nullable problems gstreamer: Add copy() methods for all MiniObject subclasses gstreamer: Fix Gst.Event bindings Ownership of parameters/returns, nullability, etc. gstreamer: Fix gst_error_get_message() return ownership gstreamer: Add Gst.DebugCategory.get() to get a previously registered debug category by name gstreamer: Fix Gst.ElementFactory bindings Use correct ownership of returns/parameters, correct generic types and hide private API. gstreamer: Fix Gst.Element bindings Set correct nullable attributes and ownership information on parameters/returns and hide private API. gstreamer: Hide private fields from Gst.DebugCategory gstreamer: Fix Gst.Clock bindings This fixes parameter/return ownership, hiding of private fields, correct assigning of functions to classes, etc. gstreamer: Add ref/unref/ref_sink/sink methods to all relevant types and correctly bind the replace functions gstreamer: Properly inherit Event/Query/Message from MiniObject ...and add ref/unref functions for them to prevent compiler warnings. gstreamer: Fix ownerships and static-ness of Gst.ChildProxy methods gstreamer: Fix ownerships in Gst.Caps bindings and remove private API gstreamer: Fix ownerships and nullablility of parameters/return types in Gst.Bus bindings Also mark all fields as hidden, they're private! gstreamer: Fix ownerships parameters/returns of Gst.BufferList bindings gstreamer: Fix Gst.Bin parameter/return ownerships and generic type gstreamer: Fix AllocTrace bindings gstreamer: Remove unneeded entries in the metadata file gstreamer: Fix and cleanup Gst.Buffer bindings tests: Add a test for enum methods and constants Add support for constant members inside enums 2010-04-08 Jürg Billeter <j@bitron.ch> vapigen: Support declaration of enum methods in -custom.vala Based on patch by Sebastian Drög, fixes bug 614543. dbus-glib-1: Add stub DBusGMethodInvocation binding 2010-04-07 Sebastian Dröge <sebastian.droege@collabora.co.uk> gstreamer: Gst.AppSrc.push_buffer() takes ownership of the buffer 2010-04-07 Nicolas Bruguier <nicolas.bruguier@supersonicimagine.fr> libxml-2.0: assorted SAX-related fixes Fixes bug 613953. 2010-04-07 Evan Nemerson <evan@coeus-group.com> gtksourceview-2.0: update to 2.10.0 2010-04-04 Florian Brosch <flo.brosch@gmail.com> libvaladoc: weak string -> unowned string 2010-04-03 Evan Nemerson <evan@coeus-group.com> Add gdu and gdu-gtk bindings to the build system. libsoup-2.4: add many missing type_arguments Partially fixes bug 609875. 2010-04-02 Evan Nemerson <evan@coeus-group.com> gdk-2.0: add many missing type_arguments Partially fixes bug 609875. clutter-1.0: add missing type_arguments for several new methods Partially fixes bug 609875. gtk+-2.0: Make Gtk.Window's arg default value Gtk.WindowType.TOPLEVEL vapigen: add support for member access based default values gsl: Do not use `weak' modifier where it is not applicable 2010-04-02 Jürg Billeter <j@bitron.ch> Add gdu and gdu-gtk bindings 2010-04-02 Florian Brosch <flo.brosch@gmail.com> doclets/valadoc.org: icon path fix 2010-04-02 Michael 'Mickey' Lauer <mickey@vanille-media.de> linux: bind console ioctls, structs, and enums linux: bind virtual terminal ioctls, structs, and constants 2010-04-02 Evan Nemerson <evan@coeus-group.com> gstreamer-cdda,dataprotocol-0.10: fix some invalid enum values libnl-2.0: add linux as a dependency fuse: fix reference to Posix.mode_t in Fuse.Create 2010-04-01 Jürg Billeter <j@bitron.ch> D-Bus: Fix string array properties in client interfaces Fix virtual write-only properties Fix construct properties in interfaces 2010-03-31 Jürg Billeter <j@bitron.ch> Release 0.8.0 valac: Do not enable experimental-non-null with --enable-experimental 2010-03-31 Jukka-Pekka Iivonen <jp0409@jippii.fi> Use thread-safe initialization for regular expression literals Fixes bug 613943. 2010-03-31 Sergey Nizovtsev <snizovtsev@gmail.com> Fix memory management with g_object_get and struct properties Fixes bug 613918. 2010-03-31 Jürg Billeter <j@bitron.ch> gtk+-2.0: Update to 2.20.0 gio-2.0: Update to 2.24.0 2010-03-31 Luca Bruno <lethalman88@gmail.com> Support string[] (G_TYPE_STRV) properties for GObject Fixes bug 614355. 2010-03-31 Gordon Allott <gord.allott@canonical.com> Add clutter-gtk-0.10 bindings Fixes bug 614376. 2010-03-31 Jürg Billeter <j@bitron.ch> Fix code generation for unreachable declaration statements 2010-03-31 René Post <rene@xpt.nl> cogl-1.0: fix cogl_path_polygon and cogl_path_polyline bindings 2010-03-31 Ali Sabil <ali.sabil@gmail.com> cogl-1.0: update to 1.2.4 2010-03-30 Nicolas Bruguier <nicolas.bruguier@supersonicimagine.fr> gdk-2.0: mark Gdk.Window.input_shape_combine_mask as nullable Fixes bug 613952. dbus-glib-1: various enhancements Fixes bug 613951. 2010-03-30 Łukasz Pankowski <lukpank@o2.pl> dbus-glib-1: Fix Connection.get_connection, other small changes Fixes bug 611270. 2010-03-30 Sebastian Dröge <sebastian.droege@collabora.co.uk> gstreamer: Don't use the accessor method when accessing Gst.Pad:caps property Gst.Pad.get_caps() returns something completely different than the caps property. Fixes bug #608005. 2010-03-29 Evan Nemerson <evan@coeus-group.com> clutter-1.0: update to 1.2.4 Fixes bug 614268. 2010-03-29 Jürg Billeter <j@bitron.ch> Fix invalid has_type_id attributes in bindings 2010-03-28 Ryan Lortie <desrt@desrt.ca> Add missing args to Variant.new_from_data and fix argument order. update GVariant bindings 2010-03-28 Jürg Billeter <j@bitron.ch> Add [CCode (destroy_notify_pos = ...)] attribute for simple generics 2010-03-28 Michael 'Mickey' Lauer <mickey@vanille-media.de> readline: s/weak/unowned/ 2010-03-27 Sebastian Dröge <sebastian.droege@collabora.co.uk> gstreamer: Gst.ByteWriter is a subclass of Gst.ByteReader gstreamer: Add gstreamer-cdda-0.10 bindings gstreamer: Add gstreamer-app-0.10 bindings gstreamer: Regenerate vapi files and update metadata files to use the correct headers gstreamer: Update GStreamer introspection files to 0.10.28 ...and also remove lots of unstable API which was included here, most probably because the introspection files were generated with a patch GStreamer version (e.g. on Maemo). 2010-03-27 Jürg Billeter <j@bitron.ch> vapigen: Support pointer type for type arguments and field types D-Bus: Support [DBus (timeout = ...)] attribute in static clients The attribute can be applied to D-Bus methods, properties, and parent declarations. The timeout is specified in milliseconds. 2010-03-27 Evan Nemerson <evan@coeus-group.com> gio-2.0: various ownership and type_arguments fixes for generics 2010-03-27 Julian Andres Klode <jak@jak-linux.org> gio-2.0: several GLib.VolumeMonitor methods falsely marked as unowned Fixes bug 614044. 2010-03-26 Jürg Billeter <j@bitron.ch> D-Bus: Fix criticals when using generic errors valac: Fix C warning in add_package method Fixes bug 532902. Do not use thread-safe type registration in plugins Plugin types are registered when module is being initialized. Never try to use GValue take functions for primitive types 2010-03-25 Sebastian Dröge <sebastian.droege@collabora.co.uk> glib-2.0.vapi: Fix stupid typo in the GByteArray type ID compiler: Automatically define GLIB_2_XX if --target-glib is used glib-2.0.vapi: Add some more type ids gobject-2.0.vapi: Add free function for GValueArray glib-2.0.vapi: Add some more unref/ref functions when using newer GLib 2010-03-25 Jürg Billeter <j@bitron.ch> gio-unix-2.0: Fix header filenames for some classes 2010-03-25 Luca Bruno <lethalman88@gmail.com> Support adding modules in derived code generators 2010-03-25 Jukka-Pekka Iivonen <jp0409@jippii.fi> Add experimental support for regular expression literals Fixes bug 607702. 2010-03-25 Jürg Billeter <j@bitron.ch> Require and target GLib >= 2.14 Regular expression literals will require GLib 2.14. Thread-safe get_type functions also require GLib 2.14. Generating code for GLib 2.12 is still possible by using --target-glib=2.12. Eliminate unnecessary error check after try statements This fixes a C warning about missing return in non-void function. 2010-03-25 Jim Nelson <jim@yorba.org> gdk-pixbuf-2.0: metadata fix to make Gdk.PixbufError an errordomain Fixes bug 613861. 2010-03-25 Evan Nemerson <evan@coeus-group.com> gdk-pixbuf-2.0: GdkPixbufDestroyNotify doesn't have a length parameter Fixes bug 613855. vapigen: support no_array_length for delegate parameters 2010-03-24 Luca Bruno <lethalman88@gmail.com> Add support for generic array duplication Fixes bug 613745. 2010-03-24 Jürg Billeter <j@bitron.ch> Fix struct initialization with member initializers Fixes bug 613825. 2010-03-24 Evan Nemerson <evan@coeus-group.com> glib-2.0: add byte order swap macros Fixes bug 613473. glib-2.0: add g_date_set_time_t binding 2010-03-24 Jürg Billeter <j@bitron.ch> Update THANKS from git log dova: Do not require @"..." for string templates Support string interpolation in normal "..." strings. Fix passing delegate field without target as method argument Fixes bug 592769. 2010-03-24 Jiří Zárevúcky <zarevucky.jiri@gmail.com> Fix lock statement This patch converts lock statements into try finally statements to ensure that unlock is always called. Fixes bug 582553. 2010-03-23 Jürg Billeter <j@bitron.ch> Fix temporary variable handling for class field initializers Use BOXED marshaller for compact classes with type id 2010-03-23 Tomaž Vajngerl <quikee@gmail.com> libxml-2.0: add support for TextWriter Fixes bug 610573. 2010-03-23 Evan Nemerson <evan@coeus-group.com> Add libgda-report-4.0 bindings, based on patch by Shawn Ferris Fixes bug 604208. 2010-03-23 Shawn Ferris <shawnmferris@yahoo.com> libgda-4.0: add ellipsis to gda_data_model_array_new_with_g_types Partially fixes bug 604208. 2010-03-23 Evan Nemerson <evan@coeus-group.com> libgda-4.0: update to 4.0.8, regenerate gdk-2.0: GdkEvent* structs do not have a type id Fixes bug 585476. gudev-1.0: make GUdev.DeviceNumber inherit from Posix.dev_t libxml-2.0: remove superfluous (and deprecated) static from delegates 2010-03-23 Jürg Billeter <j@bitron.ch> Fix assertion failure on large rollback in parser Fixes bug 573080. 2010-03-22 Jürg Billeter <j@bitron.ch> gdk-2.0: Fix gdk_property_get binding Fixes bug 611250. Fix automatic property access in structs Fixes bug 609142. Fix crash on invalid field initializer Fixes bug 608635. Fix public array fields with initializers Fixes bug 609066. Fix private fixed-length array fields Fixes bug 609171. Report error when using instance method as argument in static methods Fixes bug 598839. Generate dummy return statement to avoid C warning Do not generate C code for unreachable Vala code Fixes bug 598190. Avoid conflicts for internal array size variables Fixes bug 570547. 2010-03-22 Jürg Billeter <j@bitron.ch> Improve error message on duplicate definition Display location of previous definition. Fixes bug 591977. 2010-03-22 Jürg Billeter <j@bitron.ch> Fix code generation for large integer literals Fixes bug 583669. Fix error message on duplicate definition in root namespace Fixes bug 601349. Simplify for statements whose condition is false Fixes bug 601351. Fix declaration of free function for compact classes Fixes bug 605495. Fix instance access check for static lambda expressions Fixes bug 612139. Report error when using instance member as initializer in static method Visit all expressions in flow analyzer 2010-03-22 Tomaž Vajngerl <quikee@gmail.com> libxml-2.0: Add XmlIO callbacks Fixes bug 600295. 2010-03-22 Jürg Billeter <j@bitron.ch> Simplify while statements whose condition is false Fixes bug 601339. 2010-03-22 Jim Nelson <jim@yorba.org> Add gudev-1.0 bindings. Fixes bug 606172. 2010-03-22 Jürg Billeter <j@bitron.ch> Set error field when detecting duplicate switch label 2010-03-22 Michal Hruby <michal.mhr@gmail.com> Fix compatibility with GLib 2.16 for D-Bus and GAsync support Fixes bug 598546. 2010-03-22 Adam Folmert <afolmert@gmail.com> Capture array size variable in closures as well Fixes bug 599951. Fix protected member access in interfaces Fixes bug 609726. 2010-03-22 Sebastian Dröge <sebastian.droege@collabora.co.uk> Use g_type_class_add_private() when targeting GLib >= 2.24 Fixes bug 592942. 2010-03-22 Adam Folmert <afolmert@gmail.com> Fix postconditions for methods returning structs Fixes bug 602927. 2010-03-21 Luca Bruno <lethalman88@gmail.com> Separate async state switch from the code using goto and labels Fixes bug 602200. 2010-03-21 Marc-André Lureau <marcandre.lureau@gmail.com> Use TypeRegisterFunction for enum/flags Fixes bug 592904. 2010-03-21 Luca Bruno <lethalman88@gmail.com> Report error on duplicate switch label Fixes bug 572556. 2010-03-21 Jürg Billeter <j@bitron.ch> Fix code generated for interface implementations with error mismatch Fixes bug 598862. Fix struct initialization in async methods 2010-03-21 Luca Bruno <lethalman88@gmail.com> Rename _main to _vala_main to avoid conflicts Fixes bug 582540. 2010-03-21 Jürg Billeter <j@bitron.ch> Add experimental support for chained relational expressions Based on patch by Marc-André Lureau, fixes bug 606480. D-Bus: Add simple signal test Fix implicit GValue conversion from owned values Fix crash when unable to infer generic type arguments Fix crash with owned property getters and interfaces Fix memory leak with owned property getters and g_object_get Fixes bug 576152. Fix struct initialization when temporary variables are used Fixes bug 613513. GAsync: Fix async methods with struct parameters Fixes bug 613484. 2010-03-21 Michal Hruby <michal.mhr@gmail.com> D-Bus: Fix methods returning GLib.Value in dynamic clients 2010-03-21 Jürg Billeter <j@bitron.ch> Fix closures in property accessors Fixes bug 613483. Fix member access for derived generic types Fixes bug 613486. Fix variable shadowing check with implicit result variable in properties Do not warn when internal member is unused with --internal-header Fixes bug 613035. gtk+-2.0: Fix GtkRadioToolButton:group binding vapigen: Report error when omitting --library option Fixes bug 611322. Do not allow access to members using generic types without type args Fixes bug 604649. Report error when number of type arguments does not match Fix fixed-length array fields Fixes bug 603293. Fix printf format in GIRWriter Avoid generating unused temporary variables with out arguments Avoic C warnings for some possibly unused functions Use exact pointer type in CodeContext.push to fix C warning Use default in switch to fix C warning 2010-03-21 julien <ljpupfr@gmail.com> libxml-2.0: add several missing free_functions Fixes bug 604321. 2010-03-21 Evan Nemerson <evan@coeus-group.com> libsoup-2.4: fix arguments to several methods which take delegates Do not use `weak' modifier in *-custom.vala where it is not applicable 2010-03-21 Marc-André Lureau <marcandre.lureau@gmail.com> build: Enable silent rules by default 2010-03-21 Jürg Billeter <j@bitron.ch> valac: Add --enable-version-header option Writes Vala version in generated files. Disabled by default for bootstrapping reasons. Based on patch by Marc-André Lureau, fixes bug 608371. 2010-03-21 Frederik Zipp <fzipp@gmx.de> sdl, tiff: Do not use `weak' modifier where it is not applicable Fixes bug 613426. 2010-03-20 Jürg Billeter <j@bitron.ch> gtk+-2.0: Hide gtk_tree_iter_{copy,free} bindings Current bindings are broken, however, these functions should never be used from Vala anyway. Fixes bug 595697. 2010-03-20 Jürg Billeter <j@bitron.ch> Check rank when checking array type compatibility Fixes bug 577222. Report error when using `construct' with incompatible properties Fixes bug 574146. Use generics for g_object_*_{,q}data bindings Fixes bug 531043. Fix memory management with inferred generic type arguments Avoid GPOINTER_TO_* macros with va_arg Add va_list support Based on patch by Michael Lauer, fixes bug 573337. Avoid temporary variable on struct initialization Fix constructor chain up within the same class Fixes bug 603375. Infer type arguments when calling generic methods Fixes bug 611235. Fix double free with owned named arguments Fixes bug 601930. Report error on invalid array creation expressions for stacked arrays Fixes bug 540730. libusb: Do not use `weak' modifier where it is not applicable sqlite3: Do not use `weak' modifier where it is not applicable gmodule-2.0: Do not use `weak' modifier where it is not applicable gstreamer-0.10: Do not hide GstBuffer.size to retain compatibility Support explicit constructors for boolean, integer, and floating types Improve error reporting for local variable initializers Do not support constructors for boolean, integer, and floating types Fixes bug 578968. Do not warn on assignment to same variable of different instance Fix constructor chain up to generic compact classes Fixes bug 594063. 2010-03-20 Jürg Billeter <j@bitron.ch> gobject-2.0: Remove Object.finalize binding Overriding Object.finalize conflicts with destructors. Fixes bug 592265. 2010-03-20 Jürg Billeter <j@bitron.ch> Do not allow access to instance members of outer classes Fixes bug 595216. 2010-03-20 Luca Bruno <lethalman88@gmail.com> GType: Do not allow 'type' properties Generated get_type function would cause conflicts. Fixes bug 586817. 2010-03-20 Jens Georg <mail@jensge.org> Add Signal attribute for signal declarations This supports the following arguments: - detailed (bool) -> G_SIGNAL_DETAILED - run (string) ["first", "last", "cleanup"] -> G_SIGNAL_RUN_* - no_recurse (bool) -> G_SIGNAL_NO_RECURSE - action (bool) -> G_SIGNAL_ACTION - no_hooks (bool) -> G_SIGNAL_NO_HOOKS The default is unchanged (G_SIGNAL_RUN_LAST and nothing else). Fixes bug 577623. 2010-03-20 Luca Bruno <lethalman88@gmail.com> Support .connect() and .connect_after() for dynamic signals Fixes bug 607936. 2010-03-20 Jonathan Conder <j@skurvy.no-ip.org> Fix disconnecting from detailed signal Fixes bug 602293. 2010-03-20 Frederik Zipp <fzipp@gmx.de> D-Bus: Fix C warning with array return values in dynamic clients Fixes bug 612997. 2010-03-20 Jürg Billeter <j@bitron.ch> Fix critical when accessing implicit result variable The implicit result variable is used in postconditions and in the dova profile. Fixes bug 601346. 2010-03-20 Jürg Billeter <j@bitron.ch> Report error when using reference parameters in async methods Fixes bug 610624. Drop ReadOnly* collection classes They are not very useful in the compiler as they are not immutable, which means that they do not allow iteration while modifying the underlying collection. 2010-03-20 pancake <pancake@youterm.com> glib-2.0: Drop unused PlusOperator attribute Fixes bug 611164. 2010-03-20 Jürg Billeter <j@bitron.ch> Warn when using `weak' modifier where it is not applicable Based on patch by Jiří Zárevúcky. Do not use `weak' modifier where it is not applicable 2010-03-20 Luca Bruno <lethalman88@gmail.com> Use switch instead of do-while for string switch statements Fixes bug 541229. 2010-03-20 Jürg Billeter <j@bitron.ch> Warn on assignment to same variable 2010-03-19 Luca Bruno <lethalman88@gmail.com> Return NULL in to_string() for invalid enum values Fixes bug 612141. Use fmod/fmodf for modulo operation between floating point values Fixes bug 610660. 2010-03-17 Michael 'Mickey' Lauer <mickey@vanille-media.de> linux: add framebuffer constants, structs, and ioctls 2010-03-15 Jürg Billeter <j@bitron.ch> gstreamer-0.10: Fix Gst.Buffer subclassing 2010-03-14 Evan Nemerson <evan@coeus-group.com> glib-2.0: GLib.static_assert returns void json-glib-1.0: Make json_parser_load_from_data.length default to -1 Fixes bug 612601. vapigen: Support default_value for arguments Make all Literal constructors accept null SourceReferences Regenerate all bindings 2010-03-14 Adrien Bustany <abustany@gnome.org> Purple bindings: fix excludes and add GI file 2010-03-14 Evan Nemerson <evan@coeus-group.com> glib-2.0: Use strtol instead of atol for string.to_long 2010-03-14 Jürg Billeter <j@bitron.ch> Split large string literals into multiple lines Based on patch by Marc-André Lureau, fixes bug 606838. 2010-03-14 Evan Nemerson <evan@coeus-group.com> json-glib-1.0: Use metadata instead of json-glib-1.0-custom.vala libgnomeui-2.0: Update to 2.24.2. librsvg-2.0: Update to 2.26.0, remove librsvg-2.0-custom.vala gtk+-2.0: Hide many unwanted user data and destroy notify arguments Fixes bug 611021. 2010-03-14 Diego Escalante Urrelo <descalante@igalia.com> webkit-1.0: Update webkit bindings to 1.1.22 Fixes bug 610569. 2010-03-14 Evan Nemerson <evan@coeus-group.com> gtk+-2.0: Make GtkContainer::set_focus_child's argument nullable Fixes bug 611492. gtk+-2.0: Fix several GtkIMContext-related bindings Fixes bug 611533. gdk-2.0: Mark Gdk.Region.get_rectangles rectangles param as out Fixes bug 612632. gtk+-2.0: Add many missing type arguments Partially fixes bug 609875. vapigen: Improve support for type_arguments Fixes bug 609693. gstreamer-video-0.10: don't hide Gst.VideoFormat members gstreamer-netbuffer-0.10: Hide Gst.NetBufferClass 2010-03-13 Evan Nemerson <evan@coeus-group.com> sdl: Remove unnecessary argument to SDL.Key.get_keys 2010-03-13 Jürg Billeter <j@bitron.ch> Fix instance_pos attribute writing in VAPI files Fixes bug 609088. dova: Do not write `owned' in VAPI files dova: Do not support foreach without iterator dova: Add implicit result variable dova: Do not accept `owned' for property get accessors dova: Pass structs by value by default dova: Use long/ulong for 64-bit integer literals dova: Classes derive from Object by default dova: Accept list, set, and map literals and tuples Drop support for bootstrapping with vala < 0.7.6 dova: Do not support array or object member initializers dova: Do not accept `unowned' or `owned' in dova profile This also changes property get accessors to return owned values. dova: Do not require types uchar and int8 in dova profile valac: Add --nostdpkg option Do not include standard packages. Add stub dova profile Do not use static modifier for extern methods Based on patch by Marc-André Lureau, fixes bug 584105. 2010-03-13 Marc-André Lureau <marcandre.lureau@gmail.com> Fix nested struct expression as method argument Fixes bug 580046. 2010-03-13 Luca Bruno <lethalman88@gmail.com> Support connect_after for signals Fixes bug 560773. Object.new will ref_sink() the returned instance if it is floating Fixes bug 555006. 2010-03-13 Evan Nemerson <evan@coeus-group.com> Support array_length_type for fields Fixes part of bug 529866. 2010-03-13 Jürg Billeter <j@bitron.ch> Report error on use of tuples Tuples are not supported as primary expressions. Based on patch by Adam Folmert, fixes bug 597955. 2010-03-13 Jürg Billeter <j@bitron.ch> build: Use git-version-gen Add git-version-gen script from gnulib. Based on patch by Marc-André Lureau. 2010-03-12 Jürg Billeter <j@bitron.ch> build: Use separate directory for auxiliary build tools 2010-03-12 Jörn Magens <interflug1@gmx.net> Fix use of memory profiler in multithreaded applications Fixes bug 607973. 2010-03-12 Jürg Billeter <j@bitron.ch> Fix memory leak of method arguments in error case Fixes bug 611242. 2010-03-11 Jürg Billeter <j@bitron.ch> Fix retrieving array length from constants in other source files Fixes bug 612315. 2010-03-10 Evan Nemerson <evan@coeus-group.com> libsoup-2.4: Make Soup.Session.queue_message callback nullable Fixes bug 612050. goocanvas: Correct cname of Goo.CanvasImage.create Fixes bug 612221. 2010-03-10 Adrien Bustany <abustany@gnome.org> rest bindings: Mark parameter as nullable This commit marks the weak_object parameter of rest_proxy_call_run_async as nullable. rest bindings: Mark nullable parameters as such This commit marks the weak_object parameter of RestProxyCallAsyncCallback and OAuthProxyCallAuthCallback as nullable Update libdata bindings 2010-03-10 Jürg Billeter <j@bitron.ch> Fix flow analysis for catch clauses with specific error types Mark return type of `as` operator as nullable Fixes bug 612382. Fix (!) non-null cast for structs Fixes bug 612380. 2010-03-10 Ryan Lortie <desrt@desrt.ca> posix: Use __compar_fn_t as cname for compar_fn_t There is no standard name in the ISO C specification for this type. compar_fn_t isn't defined anywhere. comparison_fn_t is a glibc extension that is only defined with _GNU_SOURCE. __compar_fn_t at least has the advantage of always working on glibc. 2010-03-10 Ryan Lortie <desrt@desrt.ca> more GVariant vapi updates fix typo in posix vapi ([CCOde] -> [CCode]) 2010-03-09 Jürg Billeter <j@bitron.ch> Make BinaryExpression.get_operator_string public Fix generated destroy function wrappers The function declaration was missing the static modifier. Use correct marshaller for fundamental classes Fixes bug 611845. Fix constants used in multiple source files Fixes bug 611246. 2010-03-07 Sandino Flores <tigrux@gmail.com> gstreamer-0.10: Fix arguments for Gst.Pad.start_task Fixes bug 612061. 2010-03-07 Hohoo <grejppi@gmail.com> libvaladoc/html: typo icons/*.css: typo 2010-03-05 Martin Olsson <martin@minimum.se> libgvc: add Gvc.Graph.read_string and Gvc.Context.render_data Based on a patch by pancake <pancake@youterm.com> Fixes bug 611007. 2010-03-05 Evan Nemerson <evan@coeus-group.com> gio-2.0: nullability fixes for g_file_replace_contents Fixes bug 611282. gstreamer-0.10: Clean up Gst.Buffer.data binding Fixes bug 610330. vapigen: fix changing the type_name of an array field via metadata 2010-03-05 Adrien Bustany <abustany@gnome.org> twitter-glib bindings: Mark TwitterError as errordomain twitter-glib bindings: Fix signal param nullability This commit marks the status param of the TwitterClient::status-received signal as being nullable. 2010-03-03 Adrien Bustany <abustany@gnome.org> POSIX binding: add sigaction function 2010-03-03 Ryan Lortie <desrt@desrt.ca> Dehackify GVariantBuilder bindings 2010-03-03 Jürg Billeter <j@bitron.ch> Fix memory management of captured variables in error handlers Fixes bug 611624. Support returns_floating_reference attribute for methods 2010-03-02 Adrien Bustany <abustany@gnome.org> Twitter-glib bindings: Fix error types Errors in the TwitterClient signals were typed as gpointer. This commit changes their type to GError. 2010-03-01 Jürg Billeter <j@bitron.ch> Fix expression type of new GLib.Error (...) Fixes bug 610584. 2010-03-01 Evan Nemerson <evan@coeus-group.com> vapigen: Add support for array_length_cname for fields 2010-02-28 Rob Taylor <rob.taylor@codethink.co.uk> fuse: Various fixes 2010-02-28 Luca Bruno <lethalman88@gmail.com> Add CharacterLiteral.to_string() to fix writing vapi file 2010-02-26 Florian Brosch <flo.brosch@gmail.com> libvaladoc: new chart infrastructure 2010-02-26 Jürg Billeter <j@bitron.ch> posix: Fix timespec binding 2010-02-25 Patrick Dignan <dignan.patrick@gmail.com> avahi-gobject: Fix typo in COLLISION constant Fixes bug 611037. 2010-02-25 Luca Bruno <lethalman88@gmail.com> gobject-2.0: Use instance_pos=0 in WeakNotify delegate. Fixes bug 609834. 2010-02-25 Evan Nemerson <evan@coeus-group.com> glib-2.0: locale arguments to KeyFile methods should be nullable Fixes bug 609145. gio-unix-2.0: update to 2.22.4 Fixes bug 610074. 2010-02-24 Ryan Lortie <desrt@desrt.ca> glib vapi: add new GVariant binding glib vapi: rip out old GVariant bindings 2010-02-24 Luca Bruno <lethalman88@gmail.com> Do not support instance field initializers in structs Fixes bug 567711. 2010-02-24 Jürg Billeter <j@bitron.ch> Fix coverage-report Makefile rule 2010-02-24 Ryan Lortie <desrt@desrt.ca> GAsync: Hold refcount on 'self' while waiting Fixes bug 610912. 2010-02-23 Florian Brosch <flo.brosch@gmail.com> libvaladoc/html: introduce a new css resolver 2010-02-23 Jürg Billeter <j@bitron.ch> Clear array ouptut parameters 2010-02-23 Florian Brosch <flo.brosch@gmail.com> libvala/html: introduce new link helper 2010-02-19 Luca Bruno <lethalman88@gmail.com> gobject-2.0: Add convenience method Object.disconnect() 2010-02-19 Adam Folmert <afolmert@gmail.com> Fix error message for 'incompatible operand' - added line number Fixes bug 610414. 2010-02-19 Evan Nemerson <evan@coeus-group.com> glib-2.0: Make GLib.String.erase erase the entire string by default 2010-02-19 Florian Brosch <flo.brosch@gmail.com> libvaladoc/vapi: index for sub-classes / required classes / implementing classes / sub-interfaces libvaladoc/html: provides new indexed information (Bug #599960) 2010-02-19 Martin Olsson <martin@minimum.se> Add libgvc (graphviz) bindings. Fixes bug 596656. 2010-02-19 Luca Bruno <lethalman88@gmail.com> gio-2.0: Nullability fix fro GSocketService incoming signal, regenerate 2010-02-18 Jürg Billeter <j@bitron.ch> Support nullable error types in VAPI files 2010-02-17 Sandino Flores <sandino@ti.com> Fix arguments of FileStream read write Fixes 610218 2010-02-16 Jürg Billeter <j@bitron.ch> Fix public struct constants Fixes bug 610067. 2010-02-16 Sandino Flores <tigrux@gmail.com> gstreamer-0.10: Gst.PluginDesc is a structure Gst.PluginDesc must be binded as structure and not a class. Fixes bug 610065 2010-02-15 Ryan Lortie <desrt@desrt.ca> Add alternative iterator protocol for foreach If the iterator object has a .next_value() function that returns a nullable type then we iterate by calling this function until it returns null. Fixes bug 609812. 2010-02-14 Adrien Bustany <abustany@gnome.org> libxml bindings: Improve coverage This commit adds the following functions: - xmlNextElementSibling - xmlFirstElementChild - xmlChildElementCount libxml binding: Fix static delegates The syntax has changed from static delegate to [CCode (has_target=false)]. This commit fixes the libxml binding. 2010-02-14 Evan Nemerson <evan@coeus-group.com> libxml-2.0: Fix instance position in several methods Fixes bug 609814. 2010-02-13 Nicolas Joseph <gege2061@redaction-developpez.com> Add GDL bindings Fixes bug 609294. 2010-02-13 Marc-André Lureau <marcandre.lureau@gmail.com> glib-2.0: add likely, unlikely and static_assert Fixes bug 608935. 2010-02-13 Michael 'Mickey' Lauer <mickey@vanille-media.de> readline: various fixes to delegates and attributes It's now possible to do readline completion. 2010-02-12 Sandino Flores <tigrux@gmail.com> glib-2.0: add bindings for fread and fwrite Fixes bug 609496. 2010-02-12 Víctor Manuel Jáquez Leal <vjaquez@igalia.com> Put the instance_pos attribute in delegates in code writer Fixes bug 609591. gstreamer-0.10: regenerate gi and vapi files gstreamer-0.10: hide the members of the GstIterator structure The members of the GstIterator structure are private, so they should be hidden, instead of the accesor functions. Also, the parameter elem in gst_iterator_next outs a value. gstreamer-0.10: Add Gst.TagSetter interface 2010-02-12 Jürg Billeter <j@bitron.ch> D-Bus: Add DBus.Object.get_all method GAsync: Declare functions for abstract async methods Fixes bug 598266. 2010-02-12 Evan Nemerson <evan@coeus-group.com> gdk-2.0: update to 2.18.6 Fixes bug 609293. 2010-02-12 Simon Wenner <simon@wenner.ch> gnome-keyring-1: Add out to some parameters of *_sync methods. Fixes bug 609261. 2010-02-12 Evan Nemerson <evan@coeus-group.com> Update delegate has_target syntax in *-custom.vala 2010-02-12 Jürg Billeter <j@bitron.ch> D-Bus: Handle errors on property access in static clients 2010-02-12 yselkowitz <yselkowitz@users.sourceforge.net> several build fixes 2010-02-11 Adrien Bustany <abustany@gnome.org> GIR parser: Always add the cname attribute to generated methods 2010-02-11 Marc-André Lureau <marcandre.lureau@gmail.com> Fix unsafe C generated when copying array property Argument evaluation order is not guaranteed in C. Fixes bug 607280. 2010-02-11 Robin Sonefors <ozamosi@flukkost.nu> Support `in' operator for arrays This is already supported for some non-array types, so this patch merely extends it. Fixes bug 602511. 2010-02-11 Jürg Billeter <j@bitron.ch> glib-2.0: Fix g_utf8_validate binding 2010-02-10 Florian Brosch <flo.brosch@gmail.com> html-doclet: header and foother fix 2010-02-10 Jürg Billeter <j@bitron.ch> Fix closures in constructors Fixes bug 602138. Fix error handling checks in switch statements D-Bus: Fix memory leaks when handling signals in static clients D-Bus: Fix memory leaks when calling async methods in static clients GObject: Fix invalid code with string-derived properties Fixes bug 609475. Allow using array element access as ref and out method arguments Fixes bug 609388. 2010-02-10 Florian Brosch <flo.brosch@gmail.com> libvaladoc: rm useless ? from container in check function vala 0.7.10 migration libvaladoc: documentation importer 2010-02-09 Florian Brosch <flo.brosch@gmail.com> valadoc.org: navigation fix valadoc.org: chart path fix 2010-02-08 Florian Brosch <flo.brosch@gmail.com> valadoc.org: switch to static content 2010-02-08 Adrien Bustany <madcat@mymadcat.com> purple bindings: Add files to Makefile.am purple bindings: Put the .deps file in the right folder Add bindings for libpurple 2010-02-08 Jürg Billeter <j@bitron.ch> linux: Do not use doc comment for file header comment dbus-glib-1: Add bindings for constants from libdbus Fixes bug 598629. D-Bus: Move DataType.get_type_signature to D-Bus modules Fixes bug 607558. glib-2.0: Add g_main_context_*_thread_default bindings 2010-02-07 Florian Brosch <flo.brosch@gmail.com> new xml doclet 2010-02-07 Jürg Billeter <j@bitron.ch> Fix crash when opening file fails Based on patch by pancake, fixes bug 606837. 2010-02-05 Jürg Billeter <j@bitron.ch> Do not use string.replace GRegex requires GLib 2.14. 2010-02-04 Jürg Billeter <j@bitron.ch> Post-release version bump Release 0.7.10 Do not check unexpected errors if there is a general catch clause Fixes bug 608553. Do not check unexpected errors within finally blocks Jump out of finally block is not supported. glib-2.0: Include stdlib.h when using abs function family Include string.h when using strcmp Fix symbol resolving in enums Fix crash on invalid field initializer Fixes bug 595725. GAsync: Support async callback from closure Fixes bug 608184. Fix symbol resolving for base types of structs Fixes bug 607955. 2010-02-04 Michael 'Mickey' Lauer <mickey@vanille-media.de> linux: bind mount(2) and friends as well as the rest of net/if.h, net/route.h 2010-02-03 Jürg Billeter <j@bitron.ch> D-Bus: Fix crash on properties without set accessors dbus-glib-1: Fix type id of BusName dbus-glib-1: Fix marshalling of ObjectPath 2010-02-03 Marc-André Lureau <marcandre.lureau@gmail.com> Use intermediate variables to initialize static structs Fixes bug 608250. 2010-02-03 Rob Taylor <rob.taylor@codethink.co.uk> Fix GIR writing to only add <include> lines for API dependencies This refactors GIRWriter quite a bit so we can collect the GIR namespace dependencies when writing the type names, so only namespaces that are actually used get <include> lines. 2010-02-03 Michael 'Mickey' Lauer <mickey@vanille-media.de> posix: bind struct sockaddr_in 2010-02-03 Evan Nemerson <evan@coeus-group.com> libsoup-2.4: nullability fixes for Soup.MessageHeaders methods Fixes bug 604907. 2010-02-03 Luca Bruno <lethalman88@gmail.com> libxml-2.0: many binding improvements, add Html namespace Fixes bug 606633. 2010-02-03 Evan Nemerson <evan@coeus-group.com> Change many static delegates to has_target = false cairo: Use closure param to ReadFunc and WriteFunc for delegate target tracker-indexer-module-1.0: regenerate 2010-02-02 Michael 'Mickey' Lauer <mickey@vanille-media.de> dbus-glib-1: bind more lowlevel (raw) dbus entities from libdbus This allows us to do more advanced things such as constructing or inspecting method calls part by part. 2010-02-01 Jürg Billeter <j@bitron.ch> GAsync: Support calling async methods that finish immediately Fixes bug 608708. Fix protected member access check in inner classes 2010-02-01 Rob Taylor <rob.taylor@codethink.co.uk> GIR Namespace support This patch introduces two new CCode annotations for use in VAPI files, gir_namespace and gir_version. This allows us to correctly map vala namespaces to gobject-introspection namespaces when generating GIR files. The mapping is actually done on a SourceFile level. This allows us to work around cases where one vala namespace maps into multiple GIR namespaces (in particular, GLib vs GLib and GObject). In the absense of annotations, the old 'guess it' method will be applied. This commit also adds annotations to some core vapis. Fixes bug 584683. 2010-02-01 Jürg Billeter <j@bitron.ch> Do not consider struct creation as chain-up Fixes bug 608548. 2010-01-31 Michael 'Mickey' Lauer <mickey@vanille-media.de> posix: use new syntax for delegates without target 2010-01-29 Jürg Billeter <j@bitron.ch> Fix foreach for inline-allocated arrays Fixes bug 607547. 2010-01-29 Marc-André Lureau <marcandre.lureau@gmail.com> Initialize array_size in init_fragment Fixes bug 607714. D-Bus: Fix access to array structs members in static clients Fixes bug 607799. Perform flow analysis on lambda expressions Fixes bug 606478. 2010-01-29 Jürg Billeter <j@bitron.ch> Report error for instance methods used as delegates without target Implement coalescing operator ?? Based on patch by Marc-André Lureau, fixes bug 580816. 2010-01-29 Marc-André Lureau <marcandre.lureau@gmail.com> Enforce protected member restrictions Fixes bug 592577. Error on usage of protected outside classes and interfaces Fixes bug 601347. 2010-01-29 Jürg Billeter <j@bitron.ch> D-Bus: Fix output array parameters in servers Fix relational operations involving nullable types Fixes bug 600652. Support equality checking on nullable boolean and numeric types Fixes bug 608434. 2010-01-29 Marc-André Lureau <marcandre.lureau@gmail.com> Respect signal accessibility This is at the vala level. GObject signals are somewhat public, if you get the name or signal id, by introspection for example. Fixes bug 592579. 2010-01-29 Jürg Billeter <j@bitron.ch> Support chaining up to constructors in structs Based on patch by Marc-André Lureau, fixes bug 606482. 2010-01-29 Marc-André Lureau <marcandre.lureau@gmail.com> Do not put new in front of struct creation in code writer Fixes bug 607937. Remove traces of NoArrayLength, and warn on its usage Fixes bug 607567. 2010-01-29 Jürg Billeter <j@bitron.ch> Convert conditions in if statements to bool if necessary Fixes part of bug 608434. 2010-01-29 Luca Bruno <lethalman88@gmail.com> Fix generic type resolution for arrays of generic types Arrays of generic types are still only supported for pointer-based element types. Fixes bug 568972. 2010-01-29 Marc-André Lureau <marcandre.lureau@gmail.com> Initialize DelegateType local variables Fixes bug 607902. 2010-01-29 Adrien Bustany <madcat@mymadcat.com> Update rest.vapi file Fix cheader_filename in rest-custom.vala Automatic generation generates the wrong header filename for RestProxy 2010-01-28 Adrien Bustany <madcat@mymadcat.com> Restore missing function in rest.vapi The last commit on rest.vapi removed rest_proxy_new_call, probably because the -custom file was omitted during generation. This commit restores it. 2010-01-27 Jürg Billeter <j@bitron.ch> Fix bug number used in test for bug 567181 2010-01-27 Thijs Vermeir <thijsvermeir@gmail.com> GError: Fix leak when throwing an error in the constructor Fixes bug 567818. 2010-01-27 Jürg Billeter <j@bitron.ch> Do not generate unnecessary error check after throw statement Fixes bug 589942. Distinguish between unhandled and unexpected errors This fixes C warnings due to unexpected error handling. 2010-01-26 Evan Nemerson <evan@coeus-group.com> glib-2.0: revert previous patch against MarkupParser callbacks. The new version sacrificed usability for theoretical correctness, and was not well received. 2010-01-26 Jürg Billeter <j@bitron.ch> Warn when using deprecated static modifier on delegates 2010-01-26 Jiří Zárevúcky <zarevucky.jiri@gmail.com> glib-2.0: fix MarkupParser callbacks. Fixes bug 607195. 2010-01-26 Jamie McCracken <jamiemcc gnome org> Genie: Removed unused FOREACH keyword Patch from Sandino Flores Moreno <tigrux@gmail.com> 2010-01-25 Evan Nemerson <evan@coeus-group.com> gtk+-2.0: Fix gtk_combo_box_set_row_separator_func binding Fixes bug 606919. 2010-01-25 Sandino Flores <tigrux@gmail.com> gtk+-2.0: add missing type list for gtk_icon_view_get_selected_items Fixes bug 607279. 2010-01-25 Evan Nemerson <evan@coeus-group.com> gdk-2.0: Fix types of several Gdk.Event*.state fields Fixes bug 607337. json-glib-1.0: always include json-glib.h Fixes bug 605924. 2010-01-25 Luca Bruno <lethalman88@gmail.com> glib-2.0: Add G_KEY_FILE_DESKTOP_* declarations. Fixes bug 607676. 2010-01-25 Evan Nemerson <evan@coeus-group.com> vapigen: Add support for base types and ranks in structs Fixes bug 605039. 2010-01-25 Jürg Billeter <j@bitron.ch> vapigen: Support base_class attribute for boxed types 2010-01-25 Evan Nemerson <evan@coeus-group.com> gtk+-2.0: Gtk.MessageDialog:buttons does not have an accessor method Fixes bug 607992. libsoup-2.4: SoupMessageBody.data should be uing8[], not string. Fixes bug 605862. 2010-01-25 Luca Bruno <lethalman88@gmail.com> gio-2.0: source_object of SimpleAsyncResult constructor is nullable. Fixes bug 607149. 2010-01-25 Eric Alber <eric.alber@gmail.com> goocanvas: update to version 0.15 Fixes bug 607236. 2010-01-24 Ali Sabil <ali.sabil@gmail.com> clutter-1.0: Fix clutter_container_raise/lower_child bindings 2010-01-21 Ali Sabil <ali.sabil@gmail.com> clutter-1.0: Fix clutter_actor_get_stage binding clutter-1.0: Fix clutter_actor_transform_stage_point binding 2010-01-20 Jürg Billeter <j@bitron.ch> Fix return without value for preconditions in constructors 2010-01-20 Marc-André Lureau <marcandre.lureau@gmail.com> Accept pre- and postconditions for constructors Fixes bug 607110. 2010-01-19 Marc-André Lureau <marcandre.lureau@gmail.com> GValue: Fix boxing and unboxing structs Fixes bug 590987. 2010-01-18 Marc-André Lureau <marcandre.lureau@gmail.com> Do not allow assignment with incompatible pointers That patch makes type check with pointer more strict. Fixes bug 574486. 2010-01-18 Luca Bruno <lethalman88@gmail.com> Support casting nullable structs to non-nullable structs Fixes bug 588832. 2010-01-17 Jordan Yelloz <jordan.yelloz@gmail.com> GIR parser: Add support for parsing callback types 2010-01-17 Jürg Billeter <j@bitron.ch> Fix constructor of markup reader 2010-01-17 Abderrahim Kitouni <a.kitouni@gmail.com> GIR writer: Write user_data parameter for delegates GIR writer: Write parent_instace and priv fields GIR writer: Write virtual signal handlers GIR writer: Fix cname for vfunc <callback> element GIR writer: Embed <callback> inside <field> for virtual methods See gobject-introspection commit f8693bda. GIR writer: Add parent_class to the class struct GIR writer: Always include GLib and GObject 2010-01-16 Jürg Billeter <j@bitron.ch> Fix has_type_id attribute writing in VAPI files 2010-01-16 Jürg Billeter <j@bitron.ch> Write has_type_id attribute for structs in VAPI files Make sure we don't lose has_type_id if it's false. Based on patch by Marc-André Lureau, fixes bug 606580. 2010-01-16 Jürg Billeter <j@bitron.ch> Fix freeing ThreadPool Adds special case for g_thread_pool_free, which takes 3 arguments. Based on patch by Evan Nemerson, fixes bug 542725. 2010-01-16 Luca Bruno <lethalman88@gmail.com> Return handler id when connecting signal handlers Fixes bug 537146. GAsync: Fix .end instance argument Fixes bug 606780. 2010-01-16 Jürg Billeter <j@bitron.ch> libsoup-2.4: Fix soup_message_headers_get_content_disposition binding libsoup-2.4: Fix SoupBuffer binding vapigen: Support ref_function attribute for boxed types 2010-01-14 Jürg Billeter <j@bitron.ch> Fix order dependency in type resolution with derived integer types 2010-01-14 Evan Nemerson <evan@coeus-group.com> dbus-glib-1: Add bindings for DBusGProxy::destroy signal. 2010-01-13 Evan Nemerson <evan@coeus-group.com> mysql: Fix mysql_init binding. Fixes bug 603085. 2010-01-13 Make Massonnet <mike.massonnet@gmail.com> gtk+-2.0: parent argument to Gtk.show_about_dialog is nullable. Fixes bug 605051. 2010-01-13 Michael B. Trausch <mike@trausch.us> glib-2.0: Add GLib.Log.set_always_fatal and GLib.Log.set_fatal_mask. Fixes bug 605179. 2010-01-13 Eric Alber <eric.alber@gmail.com> gobject-2.0: add many missing GParamSpec related bindings Fixes bug 605969. 2010-01-13 Evan Nemerson <evan@coeus-group.com> gio-2.0: argument to BufferedInputStream.peek_buffer should be out Fixes bug 606627. 2010-01-13 Simon Wenner <simon@wenner.ch> libsoup-2.4: SessionSync and Async.with_options require ellipsis Fixes bug 605383. 2010-01-13 Evan Nemerson <evan@coeus-group.com> gconf-2.0: several ownership and nullability fixes. Based on patch by Michal Hruby, fixes bug 605449. 2010-01-13 Jürg Billeter <j@bitron.ch> json-glib-1.0: Fix json_gobject_to_data binding 2010-01-11 Ali Sabil <ali.sabil@gmail.com> glib-2.0: Fix array length for g_base64_decode clutter-1.0: Fixed the clutter_texture_set_from_rgb_data and clutter_texture_set_from_yuv_data bindings 2010-01-10 Jürg Billeter <j@bitron.ch> Fix crash on array creation expressions throwing errors Fixes bug 606503. 2010-01-10 Raffaele Sandrini <raffaele@sandrini.ch> json-glib-1.0: Fix parameter ownership 2010-01-10 Jürg Billeter <j@bitron.ch> json-glib-1.0: Update to 0.10.0 2010-01-09 Jürg Billeter <j@bitron.ch> glib-2.0: Bind GPid as integer type Fix assignment to captured array variables 2010-01-09 Jörn Magens <interflug1@gmx.net> valac: Add --enable-mem-profiler option Enables the GLib memory profiler. Fixes bug 530627. 2010-01-09 Yu Feng <rainwoodman@gmail.com> Run destructor code before member destruction in compact classes Fixes bug 600285. 2010-01-09 Jiří Zárevúcky <zarevucky.jiri@gmail.com> Report error for non-automatic properties with default value Fixes bug 584065. 2010-01-09 Jürg Billeter <j@bitron.ch> Use unmangled value_name in to_string for enums Fix cast expressions in string templates Fixes bug 598659. Support multiple variable declarators in for initializer Fixes bug 601350. Support bitwise complement with enums Fixes bug 597542. Support to_string for enums 2010-01-08 Jürg Billeter <j@bitron.ch> Report error on duplicate constructor or destructor in class Fixes bug 600581. 2010-01-08 pancake <pancake@youterm.com> Improve display name of creation methods Fixes bug 601803. 2010-01-08 Jürg Billeter <j@bitron.ch> Consider negative literals constant Fixes bug 605158. Fix type declaration for constants Fixes bug 605813. Fix nullable struct properties Fixes bug 606202. 2010-01-08 Jiří Zárevúcky <zarevucky.jiri@gmail.com> Write catch clauses and lambda expressions with --dump-tree Fixes bug 605887. 2010-01-08 Jürg Billeter <j@bitron.ch> Fix type resolution with derived integer types 2010-01-07 Marc-André Lureau <marcandre.lureau@gmail.com> GValue: Support implicit cast in equality check Fixes bug 585063. GValue: Move explicit cast support to separate function 2010-01-07 Jürg Billeter <j@bitron.ch> Support struct comparison Based on patch by Marc-André Lureau, fixes bug 530605. 2010-01-07 Marc-André Lureau <marcandre.lureau@gmail.com> GValue: Fix cast from nullable GLib.Value Fixes bug 585050. 2010-01-06 Rob Powell <rob@yorba.org> Fix interfaces in GTypeModule-based plugins Fixes bug 601343. 2010-01-06 Jamie McCracken <jamiemcc gnome org> Genie: support automatic line continuations 2010-01-05 pancake <pancake@youterm.com> curses: Add wresize binding and basic mouse support 2010-01-05 Michael 'Mickey' Lauer <mickey@vanille-media.de> libnl-2.0: fix RouteAddress include header 2010-01-03 Michael 'Mickey' Lauer <mickey@vanille-media.de> libnl-2.0: bind attributes, message headers, callbacks linux: add syscall(2), gettid(2), and add more netlink constants 2010-01-01 Jürg Billeter <j@bitron.ch> poppler-glib: Fix poppler_page_get_crop_box binding 2010-01-01 Jakob Westhoff <jakob@westhoffswelt.de> poppler-glib: Fix PopplerRectangle binding Fixes bug 605853. 2009-12-24 Evan Nemerson <evan@coeus-group.com> gstreamer-0.10: Add type_id for Gst.Structure. 2009-12-23 Jürg Billeter <j@bitron.ch> Fix virtual methods returning structs GAsync: Struct return value fix D-Bus: More struct return value fixes in static clients and servers Fixes bug 602510. gtk+-2.0: Fix gtk_rc_style_create_style binding vapigen: Fix crash in parse_signal Use dominance algorithm by Cooper, Harvey, and Kennedy Improves performance of flow analysis. Generate reverse postorder instead of preorder list in flow analyzer Only generate depth-first list once per method in flow analyzer Improves performance. Add FlowAnalyzer.analyze_body to simplify code 2009-12-20 Jürg Billeter <j@bitron.ch> gio-2.0: Fix g_data_input_stream_read_* bindings Fixes bug 605066. Update slice syntax in code writer 2009-12-20 Evan Nemerson <evan@coeus-group.com> cogl-1.0: Cogl.Texture.from_data data does not provide array length. Fixes bug 604108. libsoup-2.4: Fix soup_message_headers_get_content_type binding. Fixes bug 604907. gio-2.0: Several ownership fixes, mostly in GResolver. Fixes bug 604969. 2009-12-19 Xavier Bestel <xavier.bestel@free.fr> glib-2.0: Add some missing GLib.Scanner methods. Fixes bug 603796. 2009-12-19 Evan Nemerson <evan@coeus-group.com> gstreamer-0.10: Gst.Value.get/set_date expect a GLib.Date. Fixes bug 601766. gstreamer-controller-0.10: Fix Gst.LFOWaveform enum. Fixes bug 603725. gtk+-2.0: Gtk.get_current_event_state's argument should be out. Fixes bug 603751. gtk+-2.0: Fix Gtk.Notebook.switch_page signal binding. Fixes bug 604746. 2009-12-19 Jürg Billeter <j@bitron.ch> Post-release version bump Release 0.7.9 Fix crash on invalid cast expressions Fixes bug 601614. D-Bus: Support struct return values in dynamic clients Fixes bug 603493. D-Bus: Support struct return values in static clients and servers Fix calling methods that have out parameters and return structs Do not allow assigning to construct-only properties of foreign objects Fixes bug 604590. Fix type declaration for sizeof expressions Fix crash with unsupported use of multi-dimensional array length Fixes bug 604589. 2009-12-19 Jürg Billeter <j@bitron.ch> Initial support for array slices Add support for slice expressions such as array[1:5] to retrieve a slice of length 4 starting at the second element of the array. Slice expressions are also supported for strings and other types that provide an appropriate slice method. Based on patch by Robin Sonefors, fixes bug 571352. 2009-12-19 Jürg Billeter <j@bitron.ch> glib-2.0: Add string.splice method glib-2.0: Add string.slice method 2009-12-17 Arun Raghavan <arun.raghavan@collabora.co.uk> vala-gen-introspect: Allow absolute path in .files This allows one to specify absolute paths to headers and libraries in .files. This will make it possible to generate the VAPI as part of the library's build process. 2009-12-15 Jürg Billeter <j@bitron.ch> Print error domain and code of uncaught errors 2009-12-15 Jürg Billeter <j@bitron.ch> valac: Add --symbols option Writes the name of each exported function to the specified file. Based on patch by Haakon Sporsheim, fixes bug 586494. 2009-12-15 Jürg Billeter <j@bitron.ch> gstreamer-0.10: Fix GstCoreError binding Fixes bug 604601. 2009-12-13 Jürg Billeter <j@bitron.ch> Report error when field initializers may throw errors gstreamer-0.10: Fix gst_bus_add_watch binding Use gst_bus_add_watch_full to accept owned delegates. Write parameter positions in VAPI files NULL-terminate array copies 2009-12-08 Jürg Billeter <j@bitron.ch> Fix vapi/Makefile.am 2009-12-06 Jürg Billeter <j@bitron.ch> valac: Require --header when using --use-header 2009-12-03 Evan Nemerson <evan@coeus-group.com> gio-2.0: Fix many async functions which don't end in _async. Fixes bug 598657. 2009-12-02 Evan Nemerson <evan@coeus-group.com> Fix some typos in CCode attributes. clutter-1.0: Clutter.get_option_group* functions transfer ownership. Fixes bug 602688. 2009-12-02 Julian Andres Klode <jak@jak-linux.org> Add libarchive bindings. Bind libarchive(3) to a large extent; excluding the ACL functions which are severely underdocumented. 2009-12-02 Evan Nemerson <evan@coeus-group.com> unique-1.0: update to unique-1.1.6. Fixes bug 603609. 2009-11-28 Michael 'Mickey' Lauer <mickey@vanille-media.de> linux: add rfkill event structure, flags, and constants 2009-11-27 Jürg Billeter <j@bitron.ch> glib-2.0: Do not use size_t for GString.len GString methods are not size_t safe and binding the len field as size_t is inconvenient for application developers due to the inconsistent handling in GLib. 2009-11-25 Zeeshan Ali (Khattak) <zeeshanak@gnome.org> gstreamer-0.10: Don't expose class structures Hide the class structs from metadata file and custom bind the virtual functions. 2009-11-25 Michael 'Mickey' Lauer <mickey@vanille-media.de> linux: fix InotifyMaskFlags enum and add missing values CLOSE and MOVE 2009-11-24 Evan Nemerson <evan@coeus-group.com> gtk+-2.0: Gtk.SelectionData.get_data does not return an array length. Fixes bug 602776. 2009-11-24 Eric Alber <eric.alber@gmail.com> glib-2.0: Add missing g_ptr_array_index() binding. Fixes bug 595781. 2009-11-24 Philipp Zabel <philipp.zabel@gmail.com> sqlite3: add progress_handler method and ProgressCallback delegate Fixes bug 602702. 2009-11-23 Michael 'Mickey' Lauer <mickey@vanille-media.de> linux: add adjtime(2) and adjtimex(2) with assorted flags and constants 2009-11-21 Evan Nemerson <evan@coeus-group.com> gtk+-2.0: nullability fixes for GtkToolButton and descendants. Fixes bug 602273. 2009-11-20 Evan Nemerson <evan@coeus-group.com> glib-2.0: Fix GLib.ValueArray.values binding. posix: Fix FILE bindings (copy from GLib.FileStream), and add popen. Fixes bug 595880. 2009-11-20 Jukka-Pekka Iivonen <jp0409@jippii.fi> Add readline bindings. Fixes bug 563057. 2009-11-16 Evan Nemerson <evan@coeus-group.com> gdk-pixbuf-2.0: Allow Gdk.PixbufLoader.write to specify array length. Fixes bug 597870. 2009-11-16 Jürg Billeter <j@bitron.ch> GAsync: Fix base access in async methods Fixes bug 601558. 2009-11-16 Nicolas Bruguier <nicolas.bruguier@supersonicimagine.fr> x11: Add drawable, pixmap and RECTANGLE structs. Fixes bug 598174. 2009-11-16 James Campos <james.r.campos@gmail.com> gtksourceview-2.0: Fix gtksourceview's guess_language method. Fixes bug 601934. 2009-11-16 Sebastian Noack <sebastian.noack@gmail.com> Add avahi-gobject bindings. Fixes bug 601777. 2009-11-15 pancake <pancake@youterm.com> valac: Do not check for an entry point when using C source files 2009-11-14 Ali Sabil <ali.sabil@gmail.com> clutter-1.0: use the specialized Cogl.Handle classes for the Clutter.Texture Cogl properties 2009-11-13 Jürg Billeter <j@bitron.ch> Fix invalid memory access in scanner on unbalanced parentheses Fixes bug 601789. 2009-11-13 Evan Nemerson <evan@coeus-group.com> gtk+-2.0: Mark adjustment argument to GtkV/HScrollbar as nullable. Fixes bug 597622. gtk+-2.0: Mark Gtk.Widget.can_focus as not having an accessor method, to preserve compatibility with GTK+ < 2.18. Fixes bug 601221. 2009-11-13 Adrien Bustany <madcat@mymadcat.com> rest: Convert ProxyError and ProxyCallError to errordomain. Fixes bug 601737. 2009-11-13 Johann Prieur <johann.prieur@gmail.com> vapigen: Support hidden attribute for enum values 2009-11-13 Florian Brosch <flo.brosch@gmail.com> glib-2.0: Add g_build_path binding 2009-11-13 Evan Nemerson <evan@coeus-group.com> gtk+-2.0: make several Gtk.Entry.set_icon_* parameters nullable. Fixes bug 600597. libgsf-1: Update to 1.14.16, regenerate. Partially fixes bug 600295. 2009-11-12 Ali Sabil <ali.sabil@gmail.com> clutter-1.0: fixed the Stage.color property accessors 2009-11-11 Ali Sabil <ali.sabil@gmail.com> clutter-1.0: use the specialized Cogl.Handle classes for the Clutter.Shader.get_cogl_*() methods clutter-1.0: changed the return value of Clutter.Stage.get_default() to Clutter.Stage gobject-2.0: add GLib.ParamSpec.set_value_default (). glib-2.0: add GLib.Scanner.config binding. 2009-11-11 Adrien Bustany <madcat@mymadcat.com> Add twitter-glib-1.0 bindings. Fixes bug 593033. 2009-11-11 Levi Bard <taktaktaktaktaktaktaktaktaktak@gmail.com> sdl-ttf: add missing SDL namespace to SDL.RWops arguments. 2009-11-11 Evan Nemerson <evan@coeus-group.com> Add ccss-1 and remove gl-1.0 from vapi/Makefile.am Don't use "using" in *.vapi. Fixes bug 593195. 2009-11-11 Ali Sabil <ali.sabil@gmail.com> Add initial ccss-1 bindings 2009-11-10 Ali Sabil <ali.sabil@gmail.com> clutter-1.0: Replaced the clutter-1.0 bindings with generated ones Based on patch from Frederik Zipp cogl-1.0: Replaced the cogl-1.0 bindings with generated ones 2009-11-10 Evan Nemerson <evan@coeus-group.com> glib-2.0: replace many (u)long variables with (s)size_t and time_t Fixes bug 592188. 2009-11-10 Sebastian Noack <sebastian.noack@gmail.com> gnutls, zlib: Use array_length_cname, not array_length_name. Fixes bug 601256. 2009-11-10 Levi Bard <taktaktaktaktaktaktaktaktaktak@gmail.com> sdl-net: fix incorrect IPAddress.from_host binding. Fixes bug 601296. 2009-11-09 Michael 'Mickey' Lauer <mickey@vanille-media.de> linux: bind backtrace(3), backtrace_symbols(3), and backtrace_symbols_fd() support for application self-debugging as found in glibc since version 2.1 linux: add DirEntType for the d_type extension of struct dirent libnl fixes bind libnl-2.0 and fix libnl-1 to compile with the old version of libnl, libnl-1 was actually developed against libnl-2.0, which is fixed with this commit. 2009-11-07 Philipp Zabel <philipp.zabel@gmail.com> glib-2.0: fix GLib.MarkupParseContext.pop binding This method does not take a GLib.MarkupParser parameter. Fixes bug 599053. 2009-11-07 Philipp Zabel <philipp.zabel@gmail.com> pango: fix Pango.Attribute constructors' transfer of ownership and Pango.Scale The Pango.attr_*_new constructors return owned Pango.Attribute references. Pango.Scale is not an enum. Turn it into a namespace with double constants. The latter is needed so for Pango.attr_scale_new, because it is impossible to convert from enum Pango.Scale to double. Fixes bug 600993. 2009-11-07 Evan Nemerson <evan@coeus-group.com> libgdata: Fix query_all_albums, several type check functions, regenerate. Fixes bug 597191. 2009-11-07 Philipp Zabel <philipp.zabel@gmail.com> hildon-1: fix Hildon.gtk_init binding Finishes fixing bug 598656. 2009-11-07 Philipp Zabel <philipp.zabel@gmail.com> hildon-1: un-hide Hildon.Note.note_type property This needs to be visible if one wants to subclass Hildon.Note. Partially fixes bug 598656. 2009-11-07 Philipp Zabel <philipp.zabel@gmail.com> hildon-1: update to Fremantle bindings Partially fixes bug 598656. 2009-11-07 Philipp Zabel <philipp.zabel@gmail.com> hildon-1: add Hildon specific gtk+-2.0 modifications in hildon-1-custom.vala Hildon depends on a modified GTK. Instead of polluting gtk+-2.0.vapi with Hildon specific modifications, add those bindings here. Partially fixes bug 598656. 2009-11-07 Evan Nemerson <evan@coeus-group.com> gdk-2.0: Fix Gdk.Device.get_axis binding. Fixes bug 598834. libosso: Use tabs instead of spaces, do not spread methods across multiple lines. 2009-11-07 Philipp Zabel <philipp.zabel@gmail.com> libosso: fix struct Rpc bindings osso_rpc_free_val should be destroy_function instead of unref_function. The value union contained in osso_rpc_t is not a GLib.Value Fixes bug 599052. 2009-11-07 Evan Nemerson <evan@coeus-group.com> libgnome-2.0: Fix gnome_execute_* bindings. Fixes bug 599346. 2009-11-07 Jens Georg <mail@jensge.org> Add libmagic bindings. Fixes bug 599811. 2009-11-06 Thijs Vermeir <thijsvermeir@gmail.com> gstreamer-0.10: gst_caps_to_string transfers ownership 2009-11-05 Michael 'Mickey' Lauer <mickey@vanille-media.de> posix: bind InAddr as SimpleType since functions do actually require this to be passed by value 2009-11-05 Jürg Billeter <j@bitron.ch> GAsync: Fix virtual async methods Fixes bug 600827. 2009-11-04 Jürg Billeter <j@bitron.ch> Post-release version bump Release 0.7.8 2009-11-02 Jürg Billeter <j@bitron.ch> gtk+-2.0: Fix gtk_icon_info_load_icon binding Support enums as generic type arguments 2009-11-01 Florian Brosch <flo.brosch@gmail.com> BasicDoclet: Fix exception headline 2009-10-31 Jürg Billeter <j@bitron.ch> gdk-2.0: Fix gdk_window_set_back_pixmap binding 2009-10-31 Didier 'Ptitjes <ptitjes at free dot fr> Parser: Accept -, =, ==, |, ||, and ^ in runs 2009-10-31 Colomban Wendling <ban@herbesfolles.org> posix: Add the three waitpid() flags Add WNOHANG, WUNTRACED and WCONTINUED. Fixes bug 597020. 2009-10-31 Łukasz Pankowski <lukpank@o2.pl> posix: Add SIG_DFL, SIG_ERR, and SIG_IGN Fixes bug 595872. 2009-10-31 Didier 'Ptitjes <ptitjes@free.fr> Documentation fixes 2009-10-31 Jürg Billeter <j@bitron.ch> Fix critical warnings when using signals in interfaces 2009-10-31 Michael 'Mickey' Lauer <mickey@vanille-media.de> linux.vapi: add more posix extensions and BSDisms: * inet_aton(3) * openpty(3) * forkpty(3) * login_tty(3) posix.vapi: add accept(2), connect(2), and listen(2) posix.vapi: add inet_addr(3), inet_ntoa(3), htonl(3), htons(3), ntohl(3), ntohs(3), and InAddr posix.vapi: add {get|set}priority(2) and PRIO_ constants from resource.h posix.vapi: add nice(2) 2009-10-31 Didier 'Ptitjes <ptitjes at free dot fr> Parser: Make {{{ source code }}} acceptable inline Parser: Fix embedded Parser: Fix simple links 2009-10-31 Ryan Lortie <desrt@desrt.ca> posix: fix qsort binding 2009-10-31 Didier 'Ptitjes <ptitjes at free dot fr> Parser: Add support for <<BR>> Parser: Add support for lists Html: Fix typo in navigation generation 2009-10-31 Florian Brosch <flo.brosch@gmail.com> libvaladoc: remove needless linebreak in front of </ in MarkupWriter 2009-10-28 Manuel Wiesinger <m.wiesinger@gmx.net> devhelp-doclet: html-doclet: fix constructor list class in css 2009-10-28 Matthias Linda <mlistcool@hotmail.com> Icons: new errordomain- and errorcode icons 2009-10-28 Tim Kirchner <rpg2.kirchner@googlemail.com> Icons: add enum-value icon 2009-10-28 Florian Brosch <flo.brosch@gmail.com> Api: remove SymbolAccessibility Api: Fix null-pointer bug in EnumValue-signatures Api: Fix EnumValue and ErrorCode accessibility html-doclet: add EnumValue and ErrorCode to documentation html: List EnumValues and ErrorCodes the same way as other symbols 2009-10-28 Jürg Billeter <j@bitron.ch> GAsync: Fix temporary variable initialization in loops Fixes bug 599568. Fix static property access in instance methods Fixes bug 599892. Fix delegates returning structs Fixes bug 595610. 2009-10-28 Florian Brosch <flo.brosch@gmail.com> typesymbol: coding style fixes libvaladoc: fix "throws" statement in build_signature for methods and delegates signaturebuilder: add support for basic type highlighting markupwriter: move xml-declaration back to the constructor + flag basicdoclet: Fix broken id-attribute in content headline 2009-10-27 Shawn Ferris <shawn.ferris@gmail.com> libgda-4.0: Fix gda_data_model_get_*value_at bindings Fixes bug 599523. 2009-10-27 Matias De la Puente <mfpuente.ar@gmail.com> gtk+-2.0: Update to GTK+ 2.18 Fixes bug 599607. 2009-10-27 Jürg Billeter <j@bitron.ch> gtk+-2.0: Fix GtkScale::format-value binding Fixes bug 599727. 2009-10-27 Jürg Billeter <j@bitron.ch> GASync: Do not declare async data struct too early Async data struct declaration depends on declarations of local variable types and thus must be appended after visiting the method body. Fixes bug 599767. 2009-10-27 Alexander Bokovoy <ab@altlinux.org> Clean up unused GError in case of catch statement without arguments When catch statement has no arguments, no access to a GError is possible from Vala source code. Therefore, do not create temporary variable which is not used. Also, clear error object as it is not passed upwards then. 2009-10-27 Florian Brosch <flo.brosch@gmail.com> basicdoclet: remove enum and errordomain signatures from index basicdoclet: Fix syntax highlighting typereference: use unowned in favor of weak markupwriter: fix (null) in attribute values 2009-10-26 Jürg Billeter <j@bitron.ch> x11: Add XGrabKey and XKeysymToKeycode bindings libwnck-1.0: Fix WnckScreen and WnckWindow bindings 2009-10-26 Didier Ptitjes <ptitjes@free.fr> Fix trailling whitespaces 2009-10-26 Florian Brosch <flo.brosch@gmail.com> licence information update 2009-10-25 Didier Ptitjes <ptitjes@free.fr> Html: Reorganized and cleaned files Html: Re-enable sort of members in navigation valadoc.org: Remove trailling .doclet.vala.swp file 2009-10-25 Florian Brosch <flo.brosch@gmail.com> devhelp-plugin: independent css file drop libxml2 dependency 2009-10-23 Florian Brosch <flo.brosch@gmail.com> MarkupWriter: Split into a general purpose markup writer and a html-writer 2009-10-22 Jürg Billeter <j@bitron.ch> D-Bus: Fix signals with string array parameters in dynamic clients Fixes bug 599071. 2009-10-22 Jörn Magens <joernmagens@gmx.de> zlib: Various improvements Fixes bug 599014. 2009-10-22 Florian Brosch <flo.brosch@gmail.com> icon install path fix libhtmlhelpers -> libvaladoc 2009-10-21 Jürg Billeter <j@bitron.ch> Deprecate assigning to construct-only properties Object (property: value) constructor chain up is recommended to set construct-only properties. GObject: Check arguments of Object constructor chain up Support named arguments with ellipsis parameters Support (!) non-null casts Support constructor chain up to GObject using Object (...) 2009-10-21 Florian Brosch <flo.brosch@gmail.com> rm of conditional doclet directories devhelp-doclet: _renderer: null pointer fix valadoc.org-doclt: api export 2009-10-20 Florian Brosch <flo.brosch@gmail.com> temporary rm of gee.sort from html-navigation (g_object_unref-assertions) 2009-10-20 Jürg Billeter <j@bitron.ch> Check number of generic type arguments of base types Fixes bug 598658. Register all types when using [ModuleInit] Fixes bug 553928. Fix error messages for unsupported signal parameters Fixes bug 598865. 2009-10-20 Jürg Billeter <j@bitron.ch> glib-2.0: Fix GMarkupParser binding As the GMarkupParser struct only stores function pointers and no targets, no destroy function is necessary. Fixes bug 595925. 2009-10-20 Didier "Ptitjes <ptitjes@free.fr> Html: Don't wrap html source in signatures Api: Make symbol names bold in signatures Api: Take accessibility in account for property accessors Api: Remove ? in signatures of TypeReference to TypeParameters Html: Reorder entries to make navigation and lists consistent Fix build against Vala master Html: Sort members in the navigation Html: Include signatures in content lists Api: Fix missing ';' in property accessor signatures Fix namespace resolution Html: Reuse get_html_css_class where possible Api: Finally remove the unused stuff Api: Remove *Handler interfaces Html: Refactor BasicDoclet.write_navi_* Html: Refactor BasicDoclet.write_*_content Html: Fix typo Html: Simplify css stylesheets by using descendant selectors Html: Enhance pretty print Html: Introduce MarkupWriter to pretty-print generated html 2009-10-19 Jürg Billeter <j@bitron.ch> D-Bus: Fix error handling in static async clients 2009-10-19 Florian Brosch <flo.brosch@gmail.com> minor wiki renderer fixes (\n) 2009-10-18 Ryan Lortie <desrt@desrt.ca> Allow use of .gir directly from valac - add a --girdir parameter to the compiler - make --pkg fall back to searching for a .gir file if it can't find a .vapi file also: - change the search order for .vapi files: XDG dirs are searched before the compiled-in (--prefix) data directory, now. Fixes bug 598817. 2009-10-18 Jürg Billeter <j@bitron.ch> Use strict non-null types with --enable-experimental-non-null Do not consider local variables nullable or nullable types compatible to non-null types when using --enable-experimental-non-null. Do not split conditional expressions in asserts Fixes bug 577619. 2009-10-17 Jürg Billeter <j@bitron.ch> Fix capturing arrays and delegates Fixes bug 598738. 2009-10-17 Ryan Lortie <desrt@desrt.ca> vapigen: Don't emit ".@new" on default constructor Special-case a constructor name of "new" appearing in a .gir file to be the default constructor. 2009-10-17 Florian Brosch <flo.brosch@gmail.com> Add initial support for valadoc.org Fix support for images 2009-10-16 Didier 'Ptitjes <ptitjes@free.fr> Api: Introduce Visitor and refactor Valadoc.Doclet Api: Move to api/, make class names consistent and update Makefile Api: Move all classes to the Valadoc.Api namespace Make protected API documented by default Api: Fix handling of constructors Remove the vapis from git and fix Makefiles 2009-10-16 Jürg Billeter <j@bitron.ch> GAsync: Fix non-closure lambda expressions in instance methods Fixes bug 598697. GAsync: Fix abstract interface implementations Fixes bug 598698. 2009-10-16 Didier 'Ptitjes <ptitjes@free.fr> Api: Introduce in-tree signature building Visit type parameters of generic methods 2009-10-16 Jürg Billeter <j@bitron.ch> GAsync: Fix object creation expressions throwing errors Fixes bug 598677. 2009-10-16 Didier 'Ptitjes <ptitjes@free.fr> Update .gitignore 2009-10-16 pancake <pancake@youterm.com> 'make install' archlinux 2009-10-15 Florian Brosch <flo.brosch@gmail.com> htmlhelpers, interface: constant listing 2009-10-15 Frederik 'playya' Sdun <Frederik.Sdun@googlemail.com> Check signature of overriding methods for async 2009-10-15 Jürg Billeter <j@bitron.ch> gtk+-2.0: Fix gtk_tree_view_set_row_separator_func binding Fixes bug 596913. 2009-10-15 Florian Brosch <flo.brosch@gmail.com> - external libgee 2009-10-15 Jürg Billeter <j@bitron.ch> Report error when signal exists more than once in type hierarchy Warn if signal hides member in base class 2009-10-15 Didier 'Ptitjes <ptitjes@free.fr> Content: Rename Highlighted to Run and prepare it for signatures Api: Remove Basic and DocumentedElement 2009-10-14 Didier 'Ptitjes <ptitjes@free.fr> Api: Remove settings reference in nodes Api: Remove references to the tree root in nodes Api: Externalize nodes creation Api: Refactor the API tree 2009-10-14 Thijs Vermeir <thijsvermeir@gmail.com> D-Bus: dynamic wrapper functions are always static 2009-10-13 Philipp Zabel <philipp.zabel@gmail.com> Add to_uint64 to string class 2009-10-13 Nicolas Bruguier <nicolas.bruguier@supersonicimagine.fr> cairo: Add cairo_rectangle struct and set cairo_matrix_t has not type id 2009-10-12 pancake <pancake@youterm.com> posix: Add atoi/atol/atoll/strlen bindings posix: Add FILE bindings 2009-10-12 Jamie McCracken <jamie.mccrack@gmail.com> Genie: Handle casts involving arrays/lists/dicts correctly 2009-10-12 pancake <pancake@youterm.com> posix: Support string concatenation in POSIX profile 2009-10-12 Jürg Billeter <j@bitron.ch> posix: Fix dup0 wrappers in POSIX profile posix: Fix array creation and destruction in POSIX profile Based on patch by pancake. 2009-10-12 pancake <pancake@youterm.com> Add `asm` to the list of C99 keywords Fixes bug 597354. 2009-10-12 Jürg Billeter <j@bitron.ch> Do not use Gee namespace to avoid conflict with libgee D-Bus: Support D-Bus interfaces with prerequisites Fixes bug 598073. 2009-10-12 Didier 'Ptitjes <ptitjes@free.fr> Reorganize some classes and remove some garbage Fix support for tables Initial import of the rewrited parser Move to new gee Fix braces 2009-10-11 Jürg Billeter <j@bitron.ch> Fix generic type resolution with nested generic types in base types Fix memory management of string templates 2009-10-11 Marc-André Lureau <marcandre.lureau@gmail.com> Allow recursive structs when nullable That way: struct S { S? nullable; } 2009-10-11 Jürg Billeter <j@bitron.ch> Fix type declaration for cast expressions Generate class struct when using member initializers for fields Fixes bug 598060. 2009-10-10 John Carr <john.carr@unrouted.co.uk> gobject-2.0.vapi: Add get_class method that returns an ObjectClass 2009-10-10 Jürg Billeter <j@bitron.ch> Insert "%s" argument in printf calls with non-literal format string Add support for string templates 2009-10-09 Julian Andres Klode <jak@jak-linux.org> glib-2.0: Add ScannerMsgFunc and Scanner.msg_handler 2009-10-09 Jürg Billeter <j@bitron.ch> valac: Add --use-header command-line option 2009-10-09 Sebastian Pölsterl <sebp@k-d-w.org> Use g_set_error_literal in dbus proxy methods This fixes a compiler warning about invalid format string. 2009-10-08 Jürg Billeter <j@bitron.ch> gio-2.0: Fix g_vfs_get_* bindings 2009-10-08 Frederik Sdun <frederik.sdun@googlemail.com> Fix verbatim strings ending with `"` 2009-10-06 Jürg Billeter <j@bitron.ch> glib-2.0: Add g_ascii_strcasecmp binding 2009-10-05 Jürg Billeter <j@bitron.ch> GAsync: Fix async methods with delegate parameters Fixes bug 597294. Fix owned default arguments Fixes bug 597426. 2009-10-03 Jürg Billeter <j@bitron.ch> Fix return statements in creation methods Fixes bug 597161. 2009-10-02 Jürg Billeter <j@bitron.ch> Fix generated code for stack-allocated arrays Fixes bug 595751. 2009-10-02 Michael B. Trausch <mike@trausch.us> x11: Fix XWindowAttributes Fixes bug 597068. 2009-10-02 Jürg Billeter <j@bitron.ch> GAsync: Fix connecting signal handlers in async methods Fixes bug 595755. Fix memory management for closures used as signal handlers Fixes bug 597155. 2009-10-01 Jürg Billeter <j@bitron.ch> Report error on unexpected closing brace at end of file glib-2.0: Add default arguments for g_main_loop_new binding 2009-10-01 Michael 'Mickey' Lauer <mickey@vanille-media.de> glib-2.0: Fix g_regex_get_pattern binding 2009-10-01 Jürg Billeter <j@bitron.ch> glib-2.0: Use enum for ByteOrder gstreamer-0.10: Update to GStreamer 0.10.24 2009-09-30 David Binderman <dcb314@hotmail.com> gobject-introspection: Fix memory leak in GIdlWriter Fixes bug 596806. 2009-09-30 Jürg Billeter <j@bitron.ch> GError: Fix error propagation in creation methods vapicheck: Fix unhandled error Fix detection of unhandled errors in blocks 2009-09-30 Sebastian Dröge <sebastian.droege@collabora.co.uk> Update gobject-introspection/grealpath.h from gobject-introspectio This fixes the build on Windows and GNU/Hurd 2009-09-30 Jürg Billeter <j@bitron.ch> D-Bus: Fix marshalling of GLib.Value parameters Fixes bug 596862. Report error when trying to capture ref or out parameter Add test for bug 579101 2009-09-29 Jürg Billeter <j@bitron.ch> Do not use char for non-ASCII character literals Fixes bug 596785. Fix memory management when returning captured variables Fixes bug 596726. Fix return type of closure unref function Support postfix operator on array members Fixes bug 596637. 2009-09-28 Jürg Billeter <j@bitron.ch> Fix delegate variables in GObject creation methods Fixes bug 596621. 2009-09-27 Jürg Billeter <j@bitron.ch> Post-release version bump Release 0.7.7 2009-09-27 Gordon Allott <gord.allott@canonical.com> x11: Add XMoveWindow binding 2009-09-27 Philipp Zabel <philipp.zabel@gmail.com> gio-2.0: Fix g_file_mount_enclosing_volume binding vapigen: Support async attribute for methods 2009-09-27 Michael B. Trausch <mike@trausch.us> Add `do not modify' note at the top of generated C files Fixes bug 595797. 2009-09-27 Mark Lee <marklee@src.gnome.org> gobject-2.0: Add g_object_notify binding Adds a binding for g_object_notify(), named Object.notify_property. It is named differently because of the pre-existing "notify" signal, which has a different signature. Fixes bug 562486. 2009-09-27 Jamie McCracken <jamiemcc gnome org> Genie: Fixed comments for copyright statements Copyright comments at top of genie files now have those comments propgated to the generated c files 2009-09-27 Jürg Billeter <j@bitron.ch> Free temporary variables used in instance field initializers 2009-09-27 Jamie McCracken <jamiemcc gnome org> Genie: Briought Genie up to date with Vala Added Async support Added bug fixes Added improved warnings Added improved array handling code Added support for constants in interfaces 2009-09-27 Jürg Billeter <j@bitron.ch> gtk+-2.0: Do not use const with GtkTreePath Fixes bug 593567. Only use const for immutable structs Fix crash in CCodeVariableDeclarator without initializer 2009-09-27 Didier 'Ptitjes <ptitjes@free.fr> Fix CCodeNode.line for variable initializers and return statements 2009-09-27 Jürg Billeter <j@bitron.ch> GIR writer: Fix name and c:type written for delegate parameters 2009-09-27 Jan Hudec <bulb@ucw.cz> GIR writer: Fix generation of array and delegate parameters Array and delegate parameters correspond to multiple parameters at the C level. GObject-introspection expects them them to be written separately, with special attributes refering to the main ones. Since implicit output arguments must be generated for return values, writing params and return values was combined to common methods. They were always used together, so the main downside is the method now takes long list of arguments to cover all the cases. Note that only default argument positions are supported. 2009-09-27 Jan Hudec <bulb@ucw.cz> GIR writer: Fix generation of async methods GObject-Introspection does not have any special support for async methods, so we need to write them out as two entries corresponding to the .begin and .end submethods respectively. To avoid code duplication, the Vala.GirWriter.write_signature method is split in two. The inner one takes all attributes that differ between sync and async.begin/end methods as additional arguments and is called twice for the async methods. 2009-09-27 Didier 'Ptitjes <ptitjes@free.fr> Make type links showing relative names Add support for constants in interfaces Support for relative searching of symbols Fix implicit using directives 2009-09-27 Jürg Billeter <j@bitron.ch> Only move initializer to declaration when reordering is safe In general it is not safe to move non-constant initializer lists to the variable declaration at the beginning of the block. Fix non-constant struct initializer lists Fixes bug 583603. 2009-09-27 Mark Lee <marklee@src.gnome.org> glib-2.0: add binding for g_get_language_names() Adding to the Intl namespace, as its documentation is listed in the "Internationalization" section of the GLib docs. Fixes GNOME bug #596456. 2009-09-27 Shawn Ferris <shawn.ferris@gmail.com> Add libgda-4.0 bindings Fixes bug 570372. 2009-09-26 Jürg Billeter <j@bitron.ch> Add support for coverage analysis using gcov and lcov 2009-09-26 Travis Watkins <amaranth@ubuntu.com> webkit-1.0: Update to WebKitGTK+ 1.1.14 Fixes bug 595585. 2009-09-26 Didier 'Ptitjes <ptitjes@free.fr> D-Bus: Support marshalling enumerations as strings Fixes bug 580984. 2009-09-26 Jürg Billeter <j@bitron.ch> Add test for bug 595538 Add test for bug 595639 Add test for bug 595735 Add test for bug 595587 Add test for bug 596177 Add test for bug 593260 Fix calling methods returning structs and throwing errors Argument order was incorrect, fixes bug 596228. Speed up test infrastructure The updated test runner builds all tests at once to speed up testing. valac: Add --disable-warnings command-line option valac: Add --main command-line option This enables selecting a specific method as entry point. Support using directives inside namespaces 2009-09-26 Didier 'Ptitjes <ptitjes@free.fr> glib-2.0: Fix g_test_create_case binding 2009-09-25 Jürg Billeter <j@bitron.ch> Support CCode type attribute for parameters of creation methods Fix critical on invalid chain up 2009-09-25 Didier 'Ptitjes <ptitjes@free.fr> Fixed string to char* casts in Scanner and SourceFile GType: Fix C warnings for methods in interface_init 2009-09-25 Jürg Billeter <j@bitron.ch> GType: Fix C warnings for properties in interface_init Based on patch by Didier 'Ptitjes. Fix missing const with virtual properties 2009-09-25 Zeeshan Ali (Khattak) <zeeshanak@gnome.org> glib-2.0: Bind g_log_default_handler() 2009-09-25 Jürg Billeter <j@bitron.ch> glib-2.0: Add default arguments to g_option_context_new binding Fix static owned delegate fields Fix parsing array creation expressions using nested namespaces Fixes bug 596246. Fix calling generic instance methods Fixes bug 596246. 2009-09-24 Jürg Billeter <j@bitron.ch> Fix use of generics in async methods in generic types Fixes bug 596177. glib-2.0: Fix g_log binding gtk+-2.0: Hide private GtkLabel.text 2009-09-23 Jens Georg <mail@jensge.org> glib-2.0: Support owned delegates with Timeout.add_seconds Fixes bug 595933. 2009-09-22 Jürg Billeter <j@bitron.ch> Simplify &(*foo) and *(&foo) to foo Fix nullable struct properties Fixes bug 595587. Fix virtual methods returning structs Fixes bug 595954. GAsync: Fix closures in instance async methods 2009-09-22 Adam Dingle <adam@yorba.org> glib-2.0: Fix Idle.add default argument Fixes bug 595885. 2009-09-22 Jürg Billeter <j@bitron.ch> Fix leak when calling methods with unowned delegate parameters Fixes bug 595879. 2009-09-21 Jürg Billeter <j@bitron.ch> GAsync: Fix return type declaration in header files Fixes bug 595613. D-Bus: Support name attribute for members in clients and servers Fixes bug 595587. Fix C code name for types nested in interfaces Fix abstract async methods Fixes bug 595735. Fix memory management of closures in async methods GObject: Remove unused klass variable from constructors 2009-09-19 Jürg Billeter <j@bitron.ch> GObject: Reuse parent_class variable in constructors Fixes bug 559354. GObject: Do not register nullable struct properties with GObject Fixes part of bug 595587. More delegate fixes Fix memory management in generic methods Fix handling of owned delegates Fixes bug 595639. 2009-09-19 Florian Brosch <flo.brosch@gmail.com> - apiwriter >> libvaladoc 2009-09-18 Florian Brosch <flo.brosch@gmail.com> - maintainer-clean fixes - new taglet init function 2009-09-18 Jürg Billeter <j@bitron.ch> Fix nested closures Fixes bug 595538. Fix methods returning owned delegates Post-release version bump Release 0.7.6 2009-09-17 Jürg Billeter <j@bitron.ch> GAsync: Fix result parameter in .end GAsync: Fix propagating errors from async methods gio-2.0: Fix GAsyncReadyCallback binding Fix throwing errors in async methods 2009-09-17 Levi Bard <taktaktaktaktaktaktaktaktaktak@gmail.com> sdl: Fix SDL_WM_GetCaption and FPSmanager binding 2009-09-17 Jürg Billeter <j@bitron.ch> Fix passing captured variables as out arguments Keep input parameters alive in closures and async methods 2009-09-17 Florian Brosch <flo.brosch@gmail.com> - paragraph plugins - a few renamings 2009-09-17 Jürg Billeter <j@bitron.ch> glib-2.0: Support owned delegates with Timeout.add Report error when capturing uninitialized variables in closures glib-2.0: Support owned delegates with Idle.add Fix time_t binding Fix methods returning nullable structs Remove duplicated code for connecting signal handlers Ensure interfaces are declared in header files Do not initialize temporary variables where not necessary Improve readability of reference counting Fixes bug 472740. GAsync: Fix calling async methods from async methods without yield 2009-09-17 Yu Feng <rainwoodman@gmail.com> Fix `this' access in default signal handlers Fixes bug 593734. 2009-09-17 Jürg Billeter <j@bitron.ch> vapigen: Fix signals in interfaces 2009-09-17 Florian Brosch <flo.brosch@gmail.com> - libhtml >> libdoclet 2009-09-17 Jürg Billeter <j@bitron.ch> Fix closures in constructors 2009-09-16 Jürg Billeter <j@bitron.ch> Fix closures in creation methods Never capture implicit `this' parameter D-Bus: Fix name conflicts in async client methods Fix name conflicts in closures GAsync: Fix name conflicts 2009-09-16 Florian Brosch <flo.brosch@gmail.com> - repository reorganisation - .gitignore 2009-09-16 Julian Andres Klode <jak@jak-linux.org> linux: Add mremap(2) call This is a Linux-specific enhancement to the mmap() function set implemented in posix.vapi. 2009-09-16 Jürg Billeter <j@bitron.ch> D-Bus: Fix server methods returning structs GAsync: Fix missing gio.h include for virtual async methods Fix closures used as signal handlers D-Bus: Test async client and server methods with out parameters GAsync: Fix async methods with out parameters D-Bus: Fix return statement in error handling of async server methods D-Bus: Fix async server methods returning arrays Fix virtual methods returning structs GAsync: Fix async methods returning arrays or delegates GAsync: Fix generating array dup/copy wrappers from async method Add experimental support for closures in async methods 2009-09-16 Julian Andres Klode <jak@jak-linux.org> posix: Introduce ftruncate() and truncate() posix: Add sys/mman.h memory management functions Add support for the complete POSIX set of functions in mman.h like mmap(), munmap() and mprotect() and also support the MLR and XSI extension functions. 2009-09-16 Jürg Billeter <j@bitron.ch> Declare base properties of inherited interface implementations GAsync: Another temp variable fix GAsync: Various fixes for temp variables in coroutines GAsync: Report error on missing gio-2.0 package Fix array and delegate variable handling in closures and coroutines GObject: Only declare boxed variable when used Do not declare result variable if it is unused GObject: Declare property accessors used in get/set_property Do not declare private symbols in internal header Fix jump statements with captured variables 2009-09-15 Jürg Billeter <j@bitron.ch> GObject: Fix boxed property handling 2009-09-15 Adrien Bustany <madcat@mymadcat.com> Add librest bindings Fixes bug 593032. 2009-09-15 Jan Hudec <bulb@ucw.cz> gobject-2.0: Bind g_object_newv 2009-09-15 Jiří Zárevúcky <zarevucky.jiri@gmail.com> Add gnutls bindings Fixes bug 594392. 2009-09-15 Michael 'Mickey' Lauer <mickey@vanille-media.de> Add alsa bindings Fixes bug 593768. Add linux bindings Fixes bug 593770. 2009-09-15 Mark Lee <marklee@src.gnome.org> gnome-vfs-2.0: Fix gnome_vfs_*xfer* bindings The progress_callback parameters are nullable. Fixes bug 593836. 2009-09-15 Eric Alber <eric.alber@gmail.com> libxml-2.0: Add xmlNewNs binding Fixes bug 593854. goocanvas: Nullable fixes for goo_canvas_item_* Fixes bug 594445. 2009-09-15 Evan Nemerson <evan@polussystems.com> gtk+-2.0: Fix gtk_tree_view_get_columns binding TreeView.get_columns returns a GList of unowned GtkTreeViewColumn. Fixes bug 591191. 2009-09-15 Evan Nemerson <evan@polussystems.com> libpanelapplet-2.0: Add PanelAppletOrient and some missing methods Fixes bug 590544. zlib: Many enhancements for memory/stream based operations Fixes bug 577804. glib-2.0: add GLib.HashTable.foreach Fixes bug 577365. 2009-09-15 Víctor Manuel Jáquez Leal <vjaquez@igalia.com> gstreamer-0.10: Turn gst_object_replace into a static function Fixes bug 591979. 2009-09-15 Jürg Billeter <j@bitron.ch> Add man or boy test Support capturing parameters in closures Add support for closures Fixes bug 554781. Do not report inherited interface implementations as unused libepc-1.0: Regenerate bindings Fixes bug 595247. Report error when trying to pass signal as argument Fixes bug 584350. Report error for properties using `async' or `throws' Return structs via out parameter Fixes bug 534781. 2009-09-15 Sebastian Dröge <sebastian.droege@collabora.co.uk> GIR parser: Handle anonymous unions and structs inside unions Fixes bug 594228. 2009-09-15 Florian Brosch <flo.brosch@gmail.com> - true, false, null tags 2009-09-15 Jürg Billeter <j@bitron.ch> GAsync: Fix GSourceFunc callbacks in virtual methods D-Bus: Fix uninitialized error variable in servers 2009-09-14 Jürg Billeter <j@bitron.ch> Add generic_type_pos CCode attribute for macros 2009-09-14 Didier 'Ptitjes <ptitjes@free.fr> D-Bus: Fix error handling in static clients Fixes bug 581101. D-Bus: Fix error handling in servers Fixes part of bug 581101. D-Bus: Set D-Bus name for DBus.Error errordomain 2009-09-14 Jürg Billeter <j@bitron.ch> D-Bus: Add get_dbus_name helper method 2009-09-14 Ryan Lortie <desrt@desrt.ca> GVariant binding fixes 2009-09-14 Jürg Billeter <j@bitron.ch> Fix virtual struct properties Do not support use of generics in static methods of generic types Fixes bug 589071. Fix string switch statements with owned switch expression Fixes bug 591879. Fix C warnings in parser 2009-09-14 Didier 'Ptitjes <ptitjes@free.fr> Add support for constants in interfaces 2009-09-14 Jürg Billeter <j@bitron.ch> vapigen: Support owned_get metadata attribute for properties Fixes bug 592462. 2009-09-14 Mark Lee <marklee@src.gnome.org> Do not check for an entry point when compiling a library Fixes bug 594291. 2009-09-14 Jürg Billeter <j@bitron.ch> Fix crash when using invalid conditional expressions Fixes bug 594400. 2009-09-14 Martin Olsson <martin@minimum.se> libxml-2.0: Fix xmlGetProp/xmlGetNsProp/xmlGetNoNsProp bindings Fixes bug 594414. 2009-09-14 Jürg Billeter <j@bitron.ch> GAsync: Fix .begin on async methods that may throw errors Report error when declaring signals with static modifier Fixes bug 594440. Fix postconditions in namespace methods Fixes bug 595134. Fix crash when using postfix expressions with read-only properties Fixes bug 595145. 2009-09-14 Jan Hudec <bulb@ucw.cz> GIR writer: Fix generation of implemented interfaces The list of implemented interfaces is expected as <implements name="Interface1" /> <implements name="Interface2" /> ... by gobject-introspection library (as of 0.6.3), but was written as <implements> <implements name="Interface1" /> <implements name="Interface2" /> ... </implements> by Vala.GIRWriter. Note, that vapigen expects the same format as gobject-introspection, so it was not able to read vala-written .girs before the change and is able to read them properly now. Fixes bug 584576. 2009-09-14 Jürg Billeter <j@bitron.ch> gobject-2.0: Add bindings for more G_TYPE_* constants Fixes bug 591972. gstreamer-0.10: Fix gst_parse_launchv binding Report error when using yield expressions outside async methods gio-2.0: Nullable fixes for GSocketListener bindings 2009-09-13 Jürg Billeter <j@bitron.ch> D-Bus: Fix invalid code generated for error handling in servers GAsync: Do not warn when not using .begin This improves backwards compatibility. Warn about unhandled errors in property accessors Also drop dynamic error warning from constructors gobject-2.0: Fix GParameter binding gtk+-2.0: Fix GtkRecentData binding Fixes bug 559647. Add has_copy_function and has_destroy_function struct attributes 2009-09-13 Jürg Billeter <j@bitron.ch> Do not warn about unhandled errors of dynamic method calls It is impossible to know at compile-time what error types dynamic methods may throw, so it does not make sense to warn about possibly unhandled errors in this case. Fixes bug 548439. 2009-09-13 Jürg Billeter <j@bitron.ch> Fix crash with type check expressions Fixes bug 594399. D-Bus: Test async client and server support Fix crash with virtual async methods Fix testrunner to support multiple packages gio-2.0: Correctly bind asynchronous methods GAsync: Fix .begin and add support for .end Based on patch by Didier 'Ptitjes. GAsync: Fix virtual async methods GType: Remove duplicated code for interface vfunc declarators D-Bus: Support async server methods GAsync: Fix declarations of async methods Fixes bug 573417. D-Bus: Small refactoring of generated message handlers Inline sending of reply in preparation for supporting asynchronous handlers. 2009-09-13 Didier 'Ptitjes <ptitjes@free.fr> GAsync: Remove check for reference parameter types in async methods 2009-09-13 Jürg Billeter <j@bitron.ch> GAsync: Require yield expression for async method calls GAsync: Support GSourceFunc callbacks in async methods Replace `yields' by `async' method modifier GAsync: Drop async_only attribute support GAsync: Drop the synchronous version of async methods GAsync: Do not schedule idle handler for yield statements 2009-09-12 Florian Brosch <flo.brosch@gmail.com> - internal support 2009-09-11 Alexander Bokovoy <ab@altlinux.org> glib-2.0: Fix g_key_file_set_comment binding 2009-09-09 Florian Brosch <flo.brosch@gmail.com> - constructor name bug (.new) 2009-09-07 Didier 'Ptitjes <ptitjes@free.fr> GAsync: Add gio.h include in header for public async methods 2009-09-06 Florian Brosch <flo.brosch@gmail.com> {@inheritDoc} bug 2009-09-06 Jürg Billeter <j@bitron.ch> GValue: Support conversion from and to string[] Detect use of possibly uninitialized variables in properties Consider fixed length array variables as defined 2009-09-05 Florian Brosch <flo.brosch@gmail.com> - vapi documentation 2009-09-05 Jürg Billeter <j@bitron.ch> Write type parameters of generic methods in VAPI files Add support for properties in structs 2009-09-05 Mark Lee <marklee@src.gnome.org> gtk+-2.0: Fix Gtk.MessageDialog constructor binding The constructor for GtkMessageDialog, gtk_message_dialog_new, takes a printf-style format at the end of its parameter list (as opposed to ending its varargs with a NULL sentinel). Fixes GNOME Bug #593995. 2009-09-05 Jürg Billeter <j@bitron.ch> Fix crash when creating structs in member initializer 2009-09-04 Florian Brosch <flo.brosch@gmail.com> - valadoc.org-doclet: documentation exporter Comment handling improvements Fixes bug 529040, bug 540513, and bug 546096. 2009-09-03 Eric Alber <eric.alber@gmail.com> gstreamer-0.10: Fix gst_xml_* bindings Fixes bug 593853. 2009-09-03 Michael 'Mickey' Lauer <mickey@vanille-media.de> Add libnl-1 bindings Fixes bug 593769. 2009-09-03 Víctor Manuel Jáquez Leal <vjaquez@igalia.com> gstreamer-0.10: gst_bus_poll return value can be null Fixes bug 592345. 2009-09-03 Michal Hruby <michal.mhr@gmail.com> gobject-2.0: Fix binding for the dispose method Fixes bug 592269. 2009-09-03 Jürg Billeter <j@bitron.ch> gstreamer-0.10: Fix gst_element_class_get_pad_template_list Fixes bug 593973. Do not write default param_spec_function in VAPI files 2009-09-03 Evan Nemerson <evan@polussystems.com> glib-2.0: time_t does not have a type_id Fixes bug 587150. 2009-09-03 Ryan Lortie <desrt@desrt.ca> add g_variant_unref to bindings note that if you call g_variant_unref() directly as a function then some versions of GCC have a bug that will cause invalid code to be emitted. this declaration is really only meant to be used as a callback. 2009-09-03 Jürg Billeter <j@bitron.ch> Chain up to g_object_new where possible Fixes bug 593159. Support creation method chain up to g_object_new Do not chain up creation methods when using construct block Fix chain up to creation methods with variable argument lists 2009-09-03 Ryan Lortie <desrt@desrt.ca> fix binding of GVariant parse functions 2009-09-02 Ryan Lortie <desrt@desrt.ca> add dconf vapi (hand-written) add conditional GTree refcounts with -D GLIB_2_22 GVariant binding fixups 2009-09-02 John Carr <john.carr@unrouted.co.uk> girwriter: Make sure the default constructor is called new 2009-09-02 Jürg Billeter <j@bitron.ch> Struct instance fields are always public 2009-09-02 Sebastian Dröge <sebastian.droege@collabora.co.uk> Add test for accessing class/static fields from class methods 2009-09-02 Ryan Lortie <desrt@desrt.ca> add initial GSettings support to gio-2.0 vapi Add partial GVariant bindings to glib VAPI 2009-09-01 Jürg Billeter <j@bitron.ch> GObject: Fix boxed properties GObject properties that are boxed types were incorrectly being declared as pointer types when the properties were installed. Based on patch by Mark Lee, fixes bug 592493. 2009-09-01 Sebastian Dröge <sebastian.droege@collabora.co.uk> Fix access checks for instance and class members Do not allow access to instance members from static or class constructors/destructors. Allow access to class members from class methods. Fixes bug 592930 and bug 593255. 2009-09-01 Jürg Billeter <j@bitron.ch> gdk-2.0: Fix gdk_window_new binding 2009-08-31 Martin Olsson <martin@minimum.se> libxml-2.0: Fix xmlNewDocRawNode binding Fixes bug 593219. 2009-08-31 Jürg Billeter <j@bitron.ch> gtk+-2.0: Fix GtkBuildable custom methods Fixes bug 593489, based on patch by Nicolas Bruguier. 2009-08-31 Nicolas Bruguier <nicolas.bruguier@supersonicimagine.fr> gtk+-2.0: Fix gtk_notebook_insert_page* Fixes bug 593490. 2009-08-31 Jürg Billeter <j@bitron.ch> vapigen: Support virtual="0" 2009-08-31 Nicolas Bruguier <nicolas.bruguier@supersonicimagine.fr> gtk+-2.0: gtk_window_set_focus parameter can be null Fixes bug 593491. 2009-08-31 Jürg Billeter <j@bitron.ch> Fix crash with certain default arguments Fixes bug 593499. gtk+-2.0: Fix gtk_button_get_alignment binding Fixes bug 593578. gtk+-2.0: Fix gtk_editable_select_region binding Fixes bug 593579. gobject-2.0: Add constructor to GLib.Object class 2009-08-27 Didier 'Ptitjes <ptitjes@free.fr> Fix use of generics in base expressions inside constructors Fixes bug 593137. 2009-08-27 Jürg Billeter <j@bitron.ch> Fix memory management in generic methods Fixes bug 593260. 2009-08-25 Michael 'Mickey' Lauer <mickey@vanille-media.de> posix: Fix struct tm binding 2009-08-23 Jamie McCracken <jamiemcc gnome org> Fix scanning of case where single line comments are appended to end of a line Fixes GNOME Bug 592369 - compiler is complaining about indentation if there are comments Porperly parse types when using array of/list of/dict of type Fixes GNOME Bug 592366 - list doesn't work as well as ArrayList 2009-08-20 Mark Lee <marklee@src.gnome.org> valac: Add flag to specify a separate basedir for the public header This basedir is used in the VAPI file. Needed because of the way that build systems such as Waf deal with the location of the public header. Fixes GNOME Bug #589964. 2009-08-20 Jürg Billeter <j@bitron.ch> Fix array length access for parameters using reserved identifiers 2009-08-19 Evan Nemerson <evan@polussystems.com> posix: add gettimeofday() and settimeofday() bindings. Fixes bug 592189. 2009-08-18 Jürg Billeter <j@bitron.ch> gnome-keyring-1: Fix GnomeKeyring.AttributeList binding 2009-08-18 Alberto Ruiz <aruiz@codethink.co.uk> vapigen: Interfaces should be marked as external by default. 2009-08-17 Mark Lee <marklee@src.gnome.org> gtk+-2.0: Fix Gtk.Table:row-spacing binding gtk_table_set_row_spacing() should not be emitted by Vala as an accessor method for GtkTable's row-spacing property, as it has a different function signature. Fixes GNOME Bug #592110. 2009-08-17 Jürg Billeter <j@bitron.ch> Do not allow creation of objects without constructor Fixes bug 578417. 2009-08-17 Thijs Vermeir <thijsvermeir@gmail.com> gstreamer-0.10: fix some bindings 2009-08-17 Mark Lee <marklee@src.gnome.org> gobject-2.0: fix binding for ObjectClass.list_properties The array length type for the return value of g_object_class_list_properties() is guint, not int. Fixes GNOME Bug #592108. 2009-08-17 Jürg Billeter <j@bitron.ch> Do not chain up constructors when using construct properties Accept external property accessors without body 2009-08-17 j.smit <j.smit@vdnberg.net> gnet-2.0: Fix bindings for several delegates. Fixes bug 590936. 2009-08-17 Evan Nemerson <evan@polussystems.com> gtk+-2.0: Fix some GtkStatusIcon signals Fixes bug 590951. 2009-08-16 Jürg Billeter <j@bitron.ch> Report error when trying to modify strings Fixes bug 588038. gdk-2.0: Fix virtual methods in Gdk.Drawable class Fixes bug 591288. glib-2.0: Return character instead of number in char.to_string Fixes bug 590557. 2009-08-16 Evan Nemerson <evan@polussystems.com> posix: Add sync, fsync, and fdatasync bindings Fixes bug 590550. 2009-08-16 Jürg Billeter <j@bitron.ch> Report error on unsupported constructor chain up Fixes bug 581362. Report error on invalid creation method declarations Fixes bug 572060. Ensure constructors are chained up Fixes bug 571453. Fix creation methods in abstract classes Add default construction method to abstract classes to allow chain up. Do not generate _new functions for construction methods in abstract classes, only generate _construct functions. Support relational and arithmetic operations with enum values Fixes bug 562265. Respect accessibility of creation methods Fixes bug 560974. Report error on unsupported type check expressions Fixes bug 585344. glib-2.0: Add g_strdelimit binding Fixes bug 530396. 2009-08-16 Michal Hruby <michal.mhr@gmail.com> cairo: Fix cairo_image_surface_get_data binding ImageSurface.get_data() method returns unowned data. 2009-08-16 Jürg Billeter <j@bitron.ch> cairo: Add cairo_clip_extents binding and various fixes Fixes bug 591915. Check case expressions in switch statements Fixes bug 577052. Replace in_creation_method field by property Replace current_return_type field by property Simplify current symbol tracking Replace current_type_symbol, current_class, current_struct, current_method, and current_property_accessor fields by properties. 2009-08-15 Jürg Billeter <j@bitron.ch> Do not treat external main methods as entry points 2009-08-15 Sebastian Pölsterl <sebp@k-d-w.org> glib-2.0: Added TimeoutSource.seconds constructor 2009-08-15 Víctor Manuel Jáquez Leal <vjaquez@igalia.com> gstreamer-0.10: set the delegate target position for gst_iterator_fold Fixes bug 591815. 2009-08-15 Jürg Billeter <j@bitron.ch> Replace Vala.InstanceCast class by method glib-2.0: Fix g_strchomp, g_strchug, and g_strstrip bindings Strings are immutable in Vala. Fixes bug 571470. Report error on missing or duplicate entry point Fixes bug 591819. Check for unhandled errors in creation methods Fixes bug 571973. 2009-08-15 Mark Lee <marklee@src.gnome.org> gobject-2.0: Add binding for g_value_array_copy Fixes bug 591370. 2009-08-15 Mark Lee <marklee@src.gnome.org> Arrays: Add array_length_type annotation to methods Adds support for the array_length_type CCode annotation, which allows methods with non-int array length parameters to be declared properly. Fixes possible crashes. Also adds Vala.CType, to work around the temporary variable type limitations. This fix only works with array return types, not with array parameters. Partially fixes bug 529866. 2009-08-12 Sebastian Pölsterl <sebp@k-d-w.org> glib-2.0: Fixed Source.remove binding Source.remove returns bool 2009-08-10 Jürg Billeter <j@bitron.ch> Use g_signal_connect_object also for lambda expressions Fixes bug 591240. Fix cast from non-array to array type Fixes bug 590785. 2009-08-04 Rob Taylor <rob.taylor@codethink.co.uk> Add missing dependencies for cogl-1.0 bindings Add initial clutter-1.0 vala bindings. These were generated using gobject-introspection and then manually corrected, so there may be a number of issues. They are usable right now, but should be considered a work-in-progress. 2009-08-04 Jürg Billeter <j@bitron.ch> glib-2.0: Add string.to_utf8() method 2009-08-03 Jürg Billeter <j@bitron.ch> Fix lambda expressions in property accessors Fixes bug 590626. 2009-08-03 Jaap A. Haitsma <jaap@haitsma.org> gio-2.0: mtime in FileInfo.get_modification_time is an out parameter 2009-08-02 Jürg Billeter <j@bitron.ch> Post-release version bump Release 0.7.5 2009-08-02 Evan Nemerson <evan@polussystems.com> Fix bindings to use the new syntax for fixed-length arrays Fixes bug 590477. 2009-08-02 Jürg Billeter <j@bitron.ch> D-Bus: Fix crash when using unsupported types in dynamic clients Fixes bug 586479. Fix calling generic methods from generic types Report error when overriding method with static method 2009-08-01 inter <interflug1@gmx.net> curses: make stdscr curscr and newscr not constant Curses example on wiki compiles again 2009-08-01 Frederik <scumm_fredo@gmx.net> Make PutUnion public vala tiff example now works 2009-08-01 Jürg Billeter <j@bitron.ch> Fix memory leak when freeing arrays of structs Fixes bug 589144. GObject: Do not use G_PARAM_WRITABLE for private setters Fixes bug 589310. Support [ScanfFormat] attribute Fixes bug 589930. Improve CamelCase to lower_case transformation Fixes bug 585718. 2009-08-01 Michael B. Trausch <mike@trausch.us> x11: Fix Window binding 2009-08-01 Evan Nemerson <evan@polussystems.com> Support [CCode (free_function_address_of = true)] attribute Fixes bug 589795. 2009-08-01 Mark Lee <marklee@src.gnome.org> posix: Update syntax for fixed-length array definition The syntax for fixed-length arrays changed in commit 5843b781. Fixes bug 590433. 2009-07-31 Jürg Billeter <j@bitron.ch> Fix critical on invalid element access Fixes bug 590339. Drop duplicate declaration of creation methods 2009-07-30 Jürg Billeter <j@bitron.ch> Arrays: Fix inline-allocated arrays 2009-07-30 Jürg Billeter <j@bitron.ch> Arrays: Change syntax for fixed-length arrays To clarify the difference to normal arrays and allow declaration of inline-allocated arrays of unknown length, the new syntax is: int array[3]; 2009-07-29 Jürg Billeter <j@bitron.ch> Retain array length across casts Fix chaining up constructors in generic classes GObject: Fix complex construct property assignments GIR parser: Skip checks not relevant for bindings Allow derived compact classes with instance fields in bindings glib-2.0: Add GStaticMutex bindings Fix name mangling in NULL check for out parameters Fix flow analysis in finally blocks Fixes bug 590069. 2009-07-28 Jürg Billeter <j@bitron.ch> Fix critical when using general catch clauses 2009-07-28 Jiří Zárevúcky <zarevucky.jiri@gmail.com> Fix error handling in catch clauses Fix jump statements in try with finally Fixes bug 579101. 2009-07-28 Didier 'Ptitjes <ptitjes@free.fr> D-Bus: GType-based client proxy instantiation Add internal DBus.get_object_from_type method to dbus-glib-1 binding, fixes bug 571831. D-Bus: Register client proxy class with interface Fixes part of bug 571831. 2009-07-28 Jürg Billeter <j@bitron.ch> Add parentheses to called functions where necessary 2009-07-28 Didier 'Ptitjes <ptitjes@free.fr> Add factory method for creating instance register functions D-Bus: Move filter/match initialization to proxy constructor 2009-07-28 Jürg Billeter <j@bitron.ch> Add limited support for derived compact classes Fixes bug 578603. Removed Boxed pseudo-class Report error when declaring virtual methods as extern See bug 584400. Fix error message when trying to invoke object Based on patch by Andreas Brauchli, fixes bug 574910. Support virtual default handler for signals Based on patch by Yu Feng, fixes part of 571685. Support delegates without target as generic type arguments Based on patch by Levi Bard, fixes bug 519949. 2009-07-28 Mark Lee <marklee@src.gnome.org> Add support for iterating over GValueArrays via foreach Implements working support for using ValueArrays in foreach statements. Both owned and unowned Value element types are implemented, including a testcase. Example: void print_array (ValueArray array) { foreach (Value value in array) { message ("Value: %s", value.strdup_contents ()); } } Fixes bug 588742. 2009-07-28 Marc-André Lureau <marcandre.lureau@gmail.com> Owned struct parameters should not be const This code fails to compile, because vala tries to free() a const value. public virtual void qset (Quark field, owned Value? value) { ... } 2009-07-28 Mark Lee <marklee@src.gnome.org> GIR writer: add c:prefix support for namespaces Emit a c:prefix attribute for namespaces, if the cprefix exists, fixes bug 583862. 2009-07-28 Frederik Sdun <frederik.sdun@googlemail.com> GValue: Support implicit conversion to nullable GValue Fixes bug 589155. 2009-07-28 Jukka-Pekka Iivonen <jp0409@jippii.fi> posix: Add setsid, mknod, and tcgetsid bindings Fixes bug 589970. 2009-07-28 Jürg Billeter <j@bitron.ch> Remove unused methods Support delegate properties Based on patch by Julien Fontanet, fixes bug 543879. 2009-07-28 Evan Nemerson <evan@polussystems.com> Make some functions which return Gtk.IconInfo transfer ownership Fixes bug #589530 2009-07-27 Levi Bard <taktaktaktaktaktaktaktaktaktak@gmail.com> Support locks with static fields Fixes bug 537461. 2009-07-27 Reuben Dunnington <reuben.dunnington@gmail.com> gtk+-2.0: Fix gtk_tree_view_get_*_area bindings Fixes bug 589924. 2009-07-27 Evan Nemerson <evan@polussystems.com> Add libusb-1.0 bindings Fixes bug 589913. libftdi: Update to libftdi-0.16, adapt to libusb changes Fixes bug 589911. libusb: Numerous improvements to the API Fixes bug 589910. 2009-07-27 Michael B. Trausch <mike@trausch.us> glib-2.0: Add binding for ngettext to support plural strings Fixes bug 589735. 2009-07-27 Evan Nemerson <evan@polussystems.com> Make many copy methods transfer ownership Fixes bug 589309. 2009-07-27 Evan Nemerson <evan@coeus-group.com> vapigen: Make quotes around metadata arguments optional Fixes bug 588171. pango: Various PangoAttribute-related fixes Fixes bug 587645. vapigen: Support overriding memory management functions in metadata Fixes bug 589307. 2009-07-27 Jürg Billeter <j@bitron.ch> glib-2.0: Add FileStream.read_line method Based on patch by Frederik and Nicolas Joseph, fixes bug 582178. 2009-07-27 Evan Nemerson <evan@polussystems.com> Use (s)size_t instead of (u)long in several string methods Fixes bug 577352. 2009-07-27 Jürg Billeter <j@bitron.ch> Report error when initializing constants or fields in bindings Fixes bug 556197. Add GError parameter for overriding methods where necessary Check the error types of the base method as well, fixes bug 548283. Only register GObject properties with valid names Fixes bug 547252. Fix non-GObject interface properties in GObject classes Fixes bug 539658. 2009-07-26 Jürg Billeter <j@bitron.ch> Do not use GLib-specific code outside GObject profile 2009-07-26 Jaap A. Haitsma <jaap@haitsma.org> Forgot to add librsvg-2.0-custom.vala in commit 1c8740642f759e82eb936af88a89ab310b9e3e12 gconf-2.0: Fix GConf.Client.get_entry binding (bgo#589739) The "locale" parameter in gconf_client_get_entry can be NULL. Fixes GNOME Bug #589739. Patch by Mark Lee <marklee@src.gnome.org> 2009-07-23 Thijs Vermeir <thijsvermeir@gmail.com> gstreamer-0.10: add bindings for some GstClockTime methods Add bindings for GST_TIME_ARGS and GST_CLOCK_TIME_IS_VALID 2009-07-23 Alberto Ruiz <aruiz@codethink.co.uk> Scanner has now a public static method to check if a token is a keyword or an identifier. CodeWriter uses that method to figure out whether it should add a @ prefix or not. Add support for Array parameters with no array_legth (fixes #589446) 2009-07-22 Rob Taylor <rob.taylor@codethink.co.uk> Remove debug statements in the gir parser positional parameter handling Make vapigen obey deps files for --pkg arguments. debugging for empty struct warning Cope with throws in a constructor Attempt to correctly generate positional information for closures and array lengths support .deps files when using new .gir files. 2009-07-21 Didier 'Ptitjes <ptitjes@free.fr> Support taking address of generic variables Fixes bug 589236. 2009-07-21 Florian Brosch <flo.brosch@gmail.com> - valadoc.org doclet improvements - html-writer, initial work - bug fixes 2009-07-20 Sebastian Pölsterl <sebp@k-d-w.org> gstreamer-0.10: Fixed gst_iterator_find_custom binding Don't hide user_data parameter. Fixes bug #589147 2009-07-18 Florian Brosch <flo.brosch@gmail.com> Bug #400882 2009-07-18 Jaap A. Haitsma <jaap@haitsma.org> librsvg-2.0: make DimensionData a struct, regenerate bindings Patch by Evan Nemerson <evan@polussystems.com> Fixes bug #588652 vapigen: allow metadata to set type_id Patch by Evan Nemerson <evan@polussystems.com> Fixes bug #588703 2009-07-17 Jürg Billeter <j@bitron.ch> gio-2.0: Regenerate bindings Fix source filename mangling 2009-07-16 Jaap A. Haitsma <jaap@haitsma.org> libgdata: add libgdata bindings Fixes bug #588719 Patch by Víctor Manuel Jáquez Leal <vjaquez@igalia.com> 2009-07-16 Jiří Zárevúcky <zarevucky.jiri@gmail.com> Add support for static properties Fixes bug 586166. 2009-07-16 Jürg Billeter <j@bitron.ch> Fix crash when using dynamic properties on unsupported types GIR parser: Support constructors throwing errors 2009-07-13 Jürg Billeter <j@bitron.ch> Check for valac >= 0.7.0 in autogen.sh 2009-07-13 Jaap A. Haitsma <jaap@haitsma.org> gtk+-2.0: regenerate binding with new vapigen 2009-07-12 Jürg Billeter <j@bitron.ch> glib-2.0: Use locale-independent g_ascii_strtod 2009-07-11 Jaap A. Haitsma <jaap@haitsma.org> gio-unix-2.0: Various improvements to UnixMountEntry Fixes bug 586017 Patch by Evan Nemerson <evan@polussystems.com> gtk+-2.0: Fix TreeView.get_columns binding Fixes bug #588009 glib-2.0: Fix unescape_string and unescape_segment Fixes bug #588011 glib-2.0: Make ByteArray.data use ByteArray.len as length. Fixes bug 586162 Patch by Evan Nemerson <evan@polussystems.com> 2009-07-11 Jürg Billeter <j@bitron.ch> Fix crash in scanner 2009-07-10 Jaap A. Haitsma <jaap@haitsma.org> gstreamer-netbuffer-0.10: Fix GstNetBuffer binding Fixes bug 565026. 2009-07-10 Evan Nemerson <evan@polussystems.com> pangocairo: Fix pango_cairo_create_* bindings pango_cairo_create_{context,layout} transfer ownership, fixes bug 587840. gdk-2.0: Fix GdkNativeWindow binding Fixes bug 587157. librsvg-2.0: rsvg_handle_new_from_data takes an array Fixes bug 583475. gdk-2.0: Fix gdk_property_change binding The data parameter to gdk_property_change should not include array length, fixes bug 583235. glib-2.0: Fix GIOFlags binding Prepend IS_ to IOFlags.READABLE, WRITEABLE, and SEEKABLE, fixes bug 567387. glib-2.0: Add more GMarkup bindings Add g_markup_collect_attributes, g_markup_parser_context_push, g_markup_parser_context_pop, and GMarkupCollectType bindings, based on patch by Yu Feng, fixes bug 564704. gnome-keyring-1: Fix GNOME_KEYRING_ constant bindings Fixes bug 556632. 2009-07-10 Jürg Billeter <j@bitron.ch> glib-2.0: Add GHashTableIter binding Based on patch by Yu Feng, fixes bug 571779. libpanelapplet-2.0: Fix PanelApplet::change_background binding Based on patch by Yu Feng, fixes bug 555566. 2009-07-10 Evan Nemerson <evan@polussystems.com> libwnck-1.0: Fix WnckScreen::active_*_changed signals Fixes part of bug 555566. gtk+-2.0: Fix gtk_container_forall and signal bindings Fixes part of bug 555566. glib-2.0: Add g_ascii_dtostr and g_ascii_formatd bindings Fixes bug 541450. 2009-07-10 Jürg Billeter <j@bitron.ch> Check type of constants Fixes bug 587947. Check type of field initializers 2009-07-09 Vlad Grecescu <b100dian@gmail.com> Write constructors with --dump-tree Fixes bug 581663. 2009-07-08 Jaap A. Haitsma <jaap@haitsma.org> Add VALAFLAGS Fixes bug 585070. 2009-07-08 Matias De la Puente <mfpuente.ar@gmail.com> glib-2.0: Add Windows compatibility functions Fixes bug 584636. 2009-07-08 Jürg Billeter <j@bitron.ch> glib-2.0: Set type_id for GQuark Fixes bug 584306. 2009-07-08 Jukka-Pekka Iivonen <jp0409@jippii.fi> posix: Add math functions posix: Add signal functions Fixes bug 584145. 2009-07-08 Mark Lee <marklee@src.gnome.org> vapigen: Do not doubly-link to the static libgee In the Vala Team PPA, it was reported that the vapigen binary did not run, due to the fact that Gee classes were being registered multiple times. The problem was fixed by removing the explicit reference to libgee in LDADD, as it is already included via libvala. Fixes bug 585120. 2009-07-08 Jürg Billeter <j@bitron.ch> Fix short and ushort properties in GObject classes Fixes bug 587493. 2009-07-08 Jordan Yelloz <jordan.yelloz@gmail.com> GIR parser: Fix case for cprefix 2009-07-08 Jürg Billeter <j@bitron.ch> Fix GTypeModule-based plugins 2009-07-07 Michael B. Trausch <mbt@zest.trausch.us> Add gnet-2.0 bindings 2009-07-07 Jürg Billeter <j@bitron.ch> GAsync: Fix critical warning 2009-07-04 Jürg Billeter <j@bitron.ch> GAsync: Remove unused result variable from coroutines 2009-07-04 Didier 'Ptitjes <ptitjes@free.fr> GAsync: Implement the finish function The finish function returns the values stored in the closure as out parameters and method return value. 2009-07-04 Jaap A. Haitsma <jaap@haitsma.org> GlyphInfo, GlyphGeometry, GlyphVisAttr must be struct not class. 2009-07-04 Florian Brosch <flo.brosch@gmail.com> . - valac 4.7.5 - initial valadoc.org doclet changes for the new webside 2009-07-03 Didier 'Ptitjes <ptitjes@free.fr> GAsync: Fix uncaught error's return statement FALSE must be returned in coroutines, independent of the return type. GAsync: Fix closure's field names Parameter names must be escaped like other Vala variables. GAsync: Fix generated sync method variant Yield statements must be ignored in synchronous variant. D-Bus: Add DBusModule.get_type_signature method Replace DataType.get_type_signature() calls. GIR writer: Fix g-i names for base types 2009-07-03 Jürg Billeter <j@bitron.ch> GIR parser: Fix callback parameters in virtual methods gio-2.0: Regenerate bindings 2009-07-01 Jaap A. Haitsma <jaap@haitsma.org> Add g_file_hash and g_file_equal as HashFunc and EqualFunc Fixes bug #587412 Patch by Jens Georg <mail@jensge.org> 2009-06-30 Jürg Billeter <j@bitron.ch> Report error for invalid escape sequences Fixes bug 587375. 2009-06-28 Jürg Billeter <j@bitron.ch> Post-release version bump Release 0.7.4 Fix GStrv properties in bindings Fixes bug 587068. webkit-1.0: Update to WebKitGTK+ 1.1.10 2009-06-28 Jaap A. Haitsma <jaap@haitsma.org> Gst.Navigation requires Gst.Element Patch by Victor Manuel Jaquez Leal <vjaquez@igalia.com> Fixes bug #584912 2009-06-26 Jaap A. Haitsma <jaap@haitsma.org> Add .doap file Patch by Julien Fontanet Fixes bug #586856 2009-06-26 Matias De la Puente <mfpuente.ar@gmail.com> gtksourceview-2.0: Fix gtk_source_language_manager binding 2009-06-26 Jürg Billeter <j@bitron.ch> D-Bus: Support registering objects with low-level connections 2009-06-25 Matias De la Puente <mfpuente.ar@gmail.com> gtk+-2.0: Fix gtk_file_chooser_get_files binding Fixes bug 585865. gio-2.0: Fix g_file_replace_contents{,_finish} bindings g_file_replace_contents{,_finish}.new_etag transfers ownership, according to the docs. Fixes bug 585612. 2009-06-25 Víctor Manuel Jáquez Leal <vjaquez@igalia.com> gstreamer-0.10: Fix gst_iterator_fold binding Fixes bug 585588. gstreamer-pbutils-0.10: Fix gst_install_plugins_async binding Fixed gst_install_plugins_async function parameters, fixes bug 585586. 2009-06-25 Jürg Billeter <j@bitron.ch> vapigen: Use GObject profile 2009-06-25 lariamat <interflug1@gmx.net> gio-2.0: Fix g_data_input_stream_read_*_finish bindings Fixes bug 585266. 2009-06-25 Michael B. Trausch <mike@trausch.us> posix: Fix getpgid binding The getpgid function call takes a single parameter, the PID of the process the user is interested in getting the PGID for, per POSIX and Linux man pages. 2009-06-25 Jukka-Pekka Iivonen <jp0409@jippii.fi> Add postgres bindings Fixes bug 583357. 2009-06-25 Jürg Billeter <j@bitron.ch> Add parenthesis to macro substitutions where necessary Based on patch by Yu Feng. 2009-06-25 Matias De la Puente <mfpuente.ar@gmail.com> gtksourceview-2.0: Fix SourcePrintCompositor binding Fixes bug 585894. 2009-06-25 Jürg Billeter <j@bitron.ch> Fix type declaration for static fields Fix use of nullable GLib.Value 2009-06-23 Florian Brosch <flo.brosch@gmail.com> - @throws-bug - nested list-bug 2009-06-22 Florian Brosch <flo.brosch@gmail.com> - devhelp-doclet: package documentation support 2009-06-21 Florian Brosch <flo.brosch@gmail.com> - documentation language improvements - package documentation support 2009-06-21 Jaap A. Haitsma <jaap@haitsma.org> x, y are output parameter in get_tooltip_context methods Fixes bug #586487 2009-06-17 Jürg Billeter <j@bitron.ch> Inherit ref_function_void CCode attribute Fixes bug 586077. 2009-06-16 Jürg Billeter <j@bitron.ch> POSIX: Do not accept `construct' in parser Treat casts of C constants as constants 2009-06-16 Víctor Manuel Jáquez Leal <vjaquez@igalia.com> gstreamer-0.10: Replace deprecated # syntax by owned Fixes bug 585587. 2009-06-15 Jürg Billeter <j@bitron.ch> D-Bus: Check ownership for property getters in clients Properties used in D-Bus clients require owned get accessor. D-Bus: Fix variable conflict with server properties gtk+-2.0: Add gtk_tree_view_row_expanded binding Fixes bug 536480. D-Bus: Test arrays D-Bus: Test properties D-Bus: Support array properties in clients D-Bus: Fix memory leaks in server properties Free allocated memory used for properties in D-Bus servers. Fix notify warning for array properties Fix type checks for virtual and abstract properties Take ownership into account when checking inherited properties. 2009-06-14 Jürg Billeter <j@bitron.ch> Generate C89 compatible code for string switch statements Based on patch by Ali Sabil. Fix implicit casts involving Gst.Value Based on patch by Víctor Manuel Jáquez Leal, fixes bug 585018. D-Bus: Support array properties in servers Fixes bug 585434. Fix abstract and virtual array properties Support array properties Fixes bug 536706. 2009-06-12 Jürg Billeter <j@bitron.ch> gtk+-2.0: Fix GtkWidget.window binding gtksourceview-2.0: Regenerated with GtkSourceView 2.7.1 2009-06-07 Jürg Billeter <j@bitron.ch> gstreamer-0.10: Fix gst_tag_list_get_date* bindings Fixes bug 582250. 2009-06-06 Jürg Billeter <j@bitron.ch> GAsync: Fix freeing of return value 2009-06-06 Didier 'Ptitjes <ptitjes@free.fr> GAsync: Fix missing cast when creating GSimpleAsyncResult object 2009-06-06 Jürg Billeter <j@bitron.ch> Fix error handling of inner object creation expressions Fixes bug 569770. 2009-06-06 Didier 'Ptitjes <ptitjes@free.fr> Propagate uncaught errors in try statements Fixes bug 579388. Fix unreachable catch clause detection Fixes part of bug 579388. 2009-06-06 Jürg Billeter <j@bitron.ch> Fix type checking for ref and out arguments Fixes bug 570058. Report error for recursive value types Fixes bug 584573. Convert for loops into simple loops Convert do loops into simple loops Convert while loops into simple loops Simplifies and fixes bugs in semantic and flow analysis and code generation. Based on patch by Levi Bard, fixes bug 570091. 2009-06-04 Харин Роман <HarinRoman@kranky-studio.ru> cairo: Fix enum bindings 2009-06-04 Jürg Billeter <j@bitron.ch> Report error when declaring private fields in compact classes Fixes bug 583300. Support postconditions in normal methods Fixes bug 529680. Use result variable in C for method results This eliminates the long C return statements and will help when adding support for postconditions in normal methods. GValue: Add support for implicit and explicit casts Based on patch by Andrea Del Signore, fixes bug 528436. 2009-06-03 Frédéric-Emmanuel PICCA <picca@synchrotron-soleil.fr> gsl: Fix gsl_multiroot_function binding 2009-06-03 Zeeshan Ali (Khattak) <zeeshanak@gnome.org> gtk+-2.0: Fix gtk_file_chooser_get_{filenames,uris} bindings gtk+-2.0: GtkTreeRowReference should be immutable Fixes bug 584632. 2009-06-03 Jürg Billeter <j@bitron.ch> gio-2.0: Fix g_file_monitor_directory binding Fixes bug 527793. Check compatibility of generic type arguments Fixes bug 520952. Add initial support for static methods in generic types Fixes bug 471512. Add initial support for generic methods Fixes bug 492483. 2009-06-02 Jürg Billeter <j@bitron.ch> gio-2.0: Fix g_file_hash binding Based on patch by Richard Schwarting, fixes bug 578092. 2009-06-01 Jürg Billeter <j@bitron.ch> gee: Fix memory leak in HashMap.remove and HashSet.remove Fixes bug 584440. 2009-06-01 Łukasz Pankowski <lukpank@o2.pl> glib-2.0: Fix g_key_file_load_from_* bindings KeyFile.load_from_file, load_from_dirs and load_from_data_dirs may also throw FileError in addition to KeyFileError. Fixes bug 582517. 2009-06-01 Mark Lee <marklee@src.gnome.org> gnome-vfs-2.0: Fix GnomeVFS.MimeApplication bindings Make sure the proper header is emitted for GnomeVFSMimeApplication. gnome-vfs-2.0: GnomeVFS.FileSize binding fixes GnomeVFSFileSize is a typedef'd uint64, not a compact class. gnome_vfs_read.bytes_read and gnome_vfs_write.bytes_written are out parameters. 2009-06-01 Jürg Billeter <j@bitron.ch> glib-2.0: Revert GLib.KeyFile.to_data change g_key_file_to_data never throws an error. Revert earlier change and add explanation as comment. 2009-06-01 Mark Lee <marklee@src.gnome.org> gnome-desktop-2.0: Fix gnome_desktop_item_{get,set}_strings bindings gnome_desktop_item_get_strings and gnome_desktop_item_set_strings use NULL-terminated string arrays. Fixes bug 582974. 2009-06-01 Jürg Billeter <j@bitron.ch> D-Bus: Fix array freeing in servers Fixes bug 566207. 2009-05-31 Jürg Billeter <j@bitron.ch> gdk-x11-2.0: Regenerate bindings with new x11 bindings Based on patch by Alexandre Moreira. 2009-05-31 Michael B. Trausch <mike@trausch.us> x11: Enhance X11 bindings and fix some cnames This patch fixes cnames for the X11 bindings and provides bindings for new methods which came from my original bindings that I wrote for AllTray earlier this year. 2009-05-31 Didier 'Ptitjes <ptitjes@free.fr> GAsync: Add empty statement after labels C does not allow labels at end of compound statements. 2009-05-31 Jürg Billeter <j@bitron.ch> D-Bus: Fix memory leaks in servers Free allocated memory used for parameters and return values in D-Bus servers. Based on patch by Sebastian Pölsterl, fixes bug 566207. Declare types used in implicit casts Fixes bug 584163. Fix handling of non-ASCII characters in comments GAsync: Include gio/gio.h when needed 2009-05-31 Didier 'Ptitjes <ptitjes@free.fr> posix: Add pseudo terminal functions Add posix_openpt(3), grantpt(3), and unlockpt(3) bindings. 2009-05-31 Jürg Billeter <j@bitron.ch> D-Bus: Do not crash when calling methods after disconnecting from bus Throw error instead. 2009-05-28 Frederik Sdun <frederik.sdun@googlemail.com> D-Bus: Fix using static methods as async callbacks 2009-05-28 Mark Lee <marklee@src.gnome.org> GIR writer: Remove GLib.Regex reference The GRegex reference prevents compilation with GLib 2.12. The code has been replaced with equivalent code derived from the string class. Fixes bug 584098. 2009-05-26 Jürg Billeter <j@bitron.ch> Post-release version bump Release 0.7.3 glib-2.0: Fix time_t binding Fixes bug 583177. 2009-05-25 Mark Lee <marklee@src.gnome.org> glib-2.0: Fix GLib.KeyFile.to_data binding g_keyfile_to_data should throw a KeyFileError instead of having an optional out error parameter. gdk-2.0: Fix gdk_color_to_string binding gdk_color_to_string returns a newly allocated string, so it needs to be annotated as such. Fixes bug 583791. 2009-05-25 Travis Watkins <amaranth@ubuntu.com> gtk+-2.0: Fix gtk_builder_* and gtk_tree_view_* bindings Fixes bug 583004. 2009-05-25 Víctor Manuel Jáquez Leal <vjaquez@igalia.com> gstreamer-audio-0.10: Fix GstBaseAudio*SlaveMethod enums Fixes bug 582992. 2009-05-25 Mike Massonnet <mike.massonnet@gmail.com> gtk+-2.0: Fix gtk_notebook_* bindings Fixes bug 583687. 2009-05-25 Mark Lee <marklee@src.gnome.org> gio-2.0: Fix the g_app_info_launch binding g_app_info_launch.launch_context is nullable, according to the docs. Fixes bug 583586. gtk+-2.0: Fix gtk_alignment_get_padding binding All of the parameters for gtk_alignment_get_padding are out parameters. Fixes bug 583828. 2009-05-25 Jürg Billeter <j@bitron.ch> gtk+-2.0: Fix GtkTextBuffer:text binding vapigen: Add accessor_method metadata for properties 2009-05-24 Jim Nelson <jim@yorba.org> gdk-pixbuf-2.0: Fix memory leaks Fix memory leaks in gdk_pixbuf_flip and gdk_pixbuf_rotate_simple bindings. Fixes bug 582694. 2009-05-24 Jürg Billeter <j@bitron.ch> Do not declare construct-only properties in header files Fixes bug 580386. 2009-05-20 Jürg Billeter <j@bitron.ch> glib-2.0: Fix CompareDataFunc parameters Fix lock statement when used on non-private fields Fixes bug 579613. 2009-05-19 Florian Brosch <flo.brosch@gmail.com> - cleanups - Minor bug fixes. - Fix many valac warnings. 2009-05-18 Brosch Florian <flo.brosch@gmail.com> - valac-0.7.1 - cleanups 2009-05-17 Didier 'Ptitjes <ptitjes@free.fr> GIR writer: Generate <package/> tag GIR writer: Generate correct GIR namespace name and version Add --gir option to enable GIR generation 2009-05-17 Michael 'Mickey' Lauer <mickey@vanille-media.de> posix: Add bind(2) This needs to use variable argument list since the actual parameters vary with the socket family. posix: Add readlink(2) and ttyname_r(3) 2009-05-14 Didier 'Ptitjes <ptitjes@free.fr> Fix null pointer access on out parameter clearing Fixes bug 580667. 2009-05-12 Marc-André Lureau <marcandre.lureau@gmail.com> build: Use m4 dir for autoconf macros 2009-05-09 Jürg Billeter <j@bitron.ch> Rename gobject directory to codegen 2009-05-09 Jukka-Pekka Iivonen <jukka-pekka.iivonen@nokia.com> posix: Add poll.h and unistd.h bindings 2009-05-09 Matias De la Puente <mfpuente.ar@gmail.com> posix: Add sys/select.h bindings posix: Add termios.h bindings posix: Add more string.h bindings 2009-05-09 Jürg Billeter <j@bitron.ch> Fix handling of empty cprefix in CCode attribute of a namespace 2009-05-09 Michael 'Mickey' Lauer <mickey@vanille-media.de> posix: add setgid(2) and setuid(2) 2009-05-09 Jürg Billeter <j@bitron.ch> Remove unused CodeContext.memory_management property Add --vapi command-line option The --vapi command-line option generates a .vapi file with the public API. Remove unused CodeContext.library property 2009-05-08 Jürg Billeter <j@bitron.ch> Support enum values as array indices Fix parameter type declaration of signals 2009-05-08 Jürg Billeter <j@bitron.ch> Add initial support for POSIX profile Add --profile command-line option. Code compiled with valac --profile posix will not depend on GLib or GObject. However, many language features are currently not supported with the POSIX profile. 2009-05-07 Frederik <scumm_fredo@gmx.net> lua: Update bindings Fixes bug 575707. 2009-05-07 Mark Lee <marklee@svn.gnome.org> gnome-keyring-1: Fix GnomeKeyringNetworkPasswordData binding The correct unref function for GnomeKeyring.NetworkPasswordData is gnome_keyring_network_password_free(). Fixes part of bug 578204. 2009-05-07 Mark Lee <marklee@svn.gnome.org> gnome-keyring-1: Fix gnome_keyring_set_network_password_sync binding The item_id parameter for GnomeKeyring.set_network_password_sync needs to be annotated as an "out" parameter. Fixes part of bug 578204. 2009-05-07 Mark Lee <marklee@svn.gnome.org> gnome-keyring-1: Update to gnome-keyring 2.26.0 Fixes part of bug 578204. 2009-05-07 Jürg Billeter <j@bitron.ch> Add initial x11, xcb, and cairo-xcb bindings Fixes bug 515435. gdk-2.0: Fix GdkEvent binding Bind GdkEvent as a class instead of a struct. Based on patch by Evan Nemerson, fixes bug 580862. Post-release version bump Release 0.7.2 2009-05-07 Didier 'Ptitjes <ptitjes@free.fr> GIR parser: Add c:prefix parsing GIR parser: Fix virtual method and signal parsing GIR parser: Mark constants as external to not require initializer GIR parser: Fix allow-none attribute parsing in fields and return values GIR parser: Fix construct-only attribute parsing for properties GIR parser: Parse class constants GIR parser: Fix c:type parsing in types and constructor return value GIR parser: Handle module GModule in namespace GLib 2009-05-07 Levi Bard <taktaktaktaktaktaktaktaktaktak@gmail.com> Move delegate typedef to right position Fixes bug 580513. 2009-05-07 Jürg Billeter <j@bitron.ch> Support delegates with delegate parameters and results Based on patch by Levi Bard, fixes bug 578415. 2009-05-07 Levi Bard <taktaktaktaktaktaktaktaktaktak@gmail.com> Fix initialization of nullable structs Fixes bug 579758. 2009-05-07 Mark Lee <git@lazymalevolence.com> json-glib-1.0: Fix bindings Fix JsonSerializable, json_serializable_deserialize_property, json_construct_gobject, json_serialize_gobject, and json_node_get_value bindings. Fixes bug 581068. 2009-05-07 Krzysztof Kotlenga <piernik@gmail.com> dbus-glib-1: Add DBusNameFlag binding Fixes bug 579043. 2009-05-07 William Swanson <swansontec@gmail.com> libgsf-1: Use owned modifier instead of the deprecated # modifier Fixes bug 581392. 2009-05-07 Levi Bard <taktaktaktaktaktaktaktaktaktak@gmail.com> Fix delegate out parameters Fixes bug 578412. 2009-05-07 Evan Nemerson <evan@polussystems.com> gdk-pixbuf-2.0: Fix gdk_pixbuf_copy binding Make Gdk.Pixbuf.copy() transfer ownership. Based on patch by Qball Cow, fixes bug 581367. 2009-05-07 Ryan Lortie <desrt@desrt.ca> glib-2.0: Fix g_key_file_to_data binding Fixes bug 580348. 2009-05-07 Jürg Billeter <j@bitron.ch> webkit-1.0: Fix WebKitWebView::hovering_over_link binding Fixes bug 579191. gdk-2.0: Fix gdk_pixmap_new binding Fixes bug 578163. 2009-05-07 Feng Yu <fengyu@dhcp5-240.iucf.indiana.edu> gtk+-2.0: Add Gtk.Container.forall_internal Add Gtk.Container.forall_internal to work around the inconsistent forall binding. Fixes bug 543872. 2009-05-07 Jürg Billeter <j@bitron.ch> Fix crash when using `in' operator 2009-05-05 Jürg Billeter <j@bitron.ch> Do not depend on uint64 in semantic analyzer Fix handling of numeric types in symbol resolver Accept numeric base types in struct declaration Fix instance parameter type for numeric types GIR writer: Do not use string.replace GRegex requires GLib 2.14. GIR writer: Replace escape_attribute_string by Markup.escape_text 2009-05-05 Sebastian Pölsterl <sebp@k-d-w.org> Replaced deprecated # syntax with new owned syntax 2009-05-04 Jürg Billeter <j@bitron.ch> GType: Declare inherited methods in interface implementations Fixes bug 581290. Declare parameter types of signals 2009-04-30 Didier 'Ptitjes <ptitjes@free.fr> GIR writer: Generate annotations on all elements GIR writer: Improve errordomain generation Generate get-quark and codes attributes on errordomain and generate enum for error codes. GIR writer: Generate enum values and c:identifer attributes GIR writer: Generate throws attribute Generate throws attribute on constructors, methods and callbacks. GIR writer: Improve property generation Generate readable, construct and construct-only attributes on property. GIR writer: Generate property's cannonical name instead of name GIR writer: Generate c:type attribute on callbacks GIR writer: Generate allow-none attributes Generate allow-none attributes on parameters, return values and fields. GIR writer: Fix missing transfer-ownership attributes Fix missing transfer-ownership attribute on parameters and return value. 2009-04-30 Jürg Billeter <j@bitron.ch> GIR writer: Fix critical warnings 2009-04-30 Didier 'Ptitjes <ptitjes@free.fr> GIR writer: Generate constant c:identifier and value GIR writer: Support pointer types and generic types Generate type correctly with adhoc c:type (pointer types and parametered types). GIR writer: Generate abstract attribute for abstract classes GIR writer: Fix virtual method generation Generate virtual and abstract methods correctly (method + virtual-method + callback in type struct). GIR writer: Avoid generating parameters tag if not necessary GIR writer: Generate static methods correctly GIR writer: Generate type structs for classes and interfaces Generate type attributes for all enum|class|interface tags Generate c:type, glib:type-name and glib:get-type attributes for all enum|class|interface tags. 2009-04-27 Jürg Billeter <j@bitron.ch> Fix declarations of struct copy and free functions 2009-04-26 Thijs Vermeir <thijsvermeir@gmail.com> cairo: fix cname of Cairo.Format 2009-04-25 Ali Sabil <ali.sabil@gmail.com> Avoid C compiler warning for abstract interface implementations Fixes bug 571522. 2009-04-23 Jürg Billeter <j@bitron.ch> gtk+-2.0: Fix gtk_entry_completion_set_match_func binding gdk-pixbuf-2.0: Fix gdk_pixbuf_get_file_info binding 2009-04-23 Sebastian Spaeth <sebastian@sspaeth.de> cairo: Fix cairo_image_surface_get_data binding Fixes bug 579803. 2009-04-21 Jürg Billeter <j@bitron.ch> hal: Add libhal_device_get_property_{bool,double} bindings 2009-04-20 Jürg Billeter <j@bitron.ch> Post-release version bump Release 0.7.1 Fix local variable initialization of basic types 2009-04-17 Jim Nelson <jim@yorba.org> gtk+-2.0: Fix gtk_tree_selection_set_select_function binding 2009-04-17 Ali Sabil <ali.sabil@gmail.com> gstreamer-rtp-0.10: Turn GstRTCPPacket into a struct libxml-2.0.vapi: use the owned modifier instead of the deprecated # modifier 2009-04-16 Ali Sabil <ali.sabil@gmail.com> Fix a critical when using a catch block without a variable 2009-04-15 Levi Bard <taktaktaktaktaktaktaktaktaktak@gmail.com> Fix GType declaration for structs Fixes bug 578162. Fix crash with invalid property default expressions Do not check type compatibility on the default expression of a property if it fails semantic analysis. Fixes bug 576122. Fix crash on invalid binary expressions Fixes bug 571960. 2009-04-15 Samuel Cormier-Iijima <sciyoshi@gmail.com> Strip whitespace from lines in .deps files Fixes bug 560712. 2009-04-15 Jürg Billeter <j@bitron.ch> Fix temp variable declaration in internal VAPI properties Remove gnet-2.0 bindings The generated bindings are broken as the C library does not follow the usual naming conventions. If there is still demand for gnet-2.0 bindings, manual bindings should be added. Warn when using deprecated # modifier or operator Update code using deprecated # modifier or operator 2009-04-15 Jürg Billeter <j@bitron.ch> Introduce new signal connect/disconnect syntax foo.clicked.connect (handler); Fixes bug 566847. 2009-04-14 Jürg Billeter <j@bitron.ch> Do not check GList/GSList references against NULL NULL is a valid empty GList/GSList. Based on patch by Yu Feng, fixes bug 578198. 2009-04-14 Jamie McCracken <jamiemcc gnome org> fix bug in printing string literal in Genie 2009-04-14 Jürg Billeter <j@bitron.ch> Add --verbose command-line option Currently just prints C compiler command-line before execution. Fixes bug 559890. 2009-04-14 Jamie McCracken <jamiemcc gnome org> Fix bug in print statement 2009-04-14 Jürg Billeter <j@bitron.ch> Support set accessors in internal VAPI properties Fixes bug 545187. Regenerate more bindings libgnomeui-2.0: Replace references to Gtk.DestroyNotify Fixes bug 578947. vapigen: Fix constants Support external constants Update bindings to not use static modifier for delegates Replace static modifier for delegates by attribute Replace `static' modifier for delegates without a user_data parameter by [CCode (has_target = false)] as we only support this for bindings, it is not considered a language feature. Fixes bug 526549. Use fully-qualified name in the code writer Fixes bug 516859. 2009-04-14 Jamie McCracken <jamiemcc gnome org> Updated genie parser to match vala parser in functionality and bug fixes 2009-04-14 Jürg Billeter <j@bitron.ch> Remove generated .c files on make maintainer-clean Fixes bug 509146. Avoid C compiler warning in string switch statements Fixes bug 505856. Fix array and delegate arguments in creation and virtual methods 2009-04-14 Jamie McCracken <jamiemcc gnome org> Updated genie scanner to handle all new/missing vala tokens and directives 2009-04-13 Jamie McCracken <jamiemcc gnome org> Report error when using conflicting method modifiers in Genie parser Added support for static properties in Genie parser Fix error message when encountering invalid character literals in Genie parser Added property attributes to Genie parser Added missing source reference to Genie parser 2009-04-13 Jamie <jamie@jamie-laptop.(none)> Fixed codegen problem 2009-04-12 Jürg Billeter <j@bitron.ch> Fix names of methods generated from lambda expressions Fix virtual methods throwing errors Fixes bug 578778. Ensure string.h is included when using memcpy vapigen: Remove unused method Include glib-object.h when declaring fundamental classes 2009-04-11 Jürg Billeter <j@bitron.ch> gtk+-2.0: Fix gtk_image_get_stock binding Based on patch by Simon Wenner, fixes bug 578687. 2009-04-10 Jürg Billeter <j@bitron.ch> Declare base types of pointer types 2009-04-10 Jürg Billeter <j@bitron.ch> Arrays: Add experimental support for fixed-length arrays Local fixed-length arrays are allocated on the stack. int[3] array = { 1, 2, 3 }; Fixes bug 492481. 2009-04-10 Jürg Billeter <j@bitron.ch> Remove result variable warning Implicit result variable not planned for Vala 1.0. Remove unused cheader_filename field Do not delete existing .c files Fixes bug 501585. Remove unused CodeContext.save_cheaders property Remove unused get_cheader_filename methods 2009-04-10 Michael 'Mickey' Lauer <mickey@vanille-media.de> posix: Add struct group, getgrent, setgrent, endgrent Signed-Off-By: Michael 'Mickey' Lauer <mlauer@vanille-media.de> posix: Add struct passwd, setpwent, getpwent, endpwent Signed-Off-by: Michael 'Mickey' Lauer <mlauer@vanille-media.de> glib-2.0: Fix g_find_program_in_path binding 2009-04-10 Jürg Billeter <j@bitron.ch> Improve handling of reserved identifiers Avoid conflicts between reserved identifiers and generated code for local variables and formal parameters. Fixes bug 469335 and bug 515225. 2009-04-08 Jürg Billeter <j@bitron.ch> Move common code from GObjectModule to GTypeModule Regenerate GTK+ bindings 2009-04-08 Rob Taylor <rob.taylor@codethink.co.uk> Merge branch 'master' into internal-vapi Override cheader to internal cheader when writing the internal vapi. 2009-04-08 Jürg Billeter <j@bitron.ch> D-Bus: Fix static modifiers for helper functions 2009-04-08 Sebastian Pölsterl <sebp@k-d-w.org> gstreamer-audio-0.10: Update bindings gstreamer-netbuffer-0.10: Update bindings gstreamer-riff-0.10: Update bindings gstreamer-rtp-0.10: Update bindings gstreamer-rtsp-0.10: Update bindings gstreamer-tag-0.10: Update bindings gstreamer-video-0.10: Update bindings gstreamer-check-0.10: Update bindings gstreamer-base-0.10: Update bindings 2009-04-08 Jürg Billeter <j@bitron.ch> D-Bus: Fix memory leak in introspection handler GError: Fix uncaught errors in creation methods 2009-04-08 Rob Taylor <rob.taylor@codethink.co.uk> Merge branch 'master' into internal-vapi 2009-04-08 Jürg Billeter <j@bitron.ch> Use basename of C file in line directive 2009-04-08 Rob Taylor <rob.taylor@codethink.co.uk> Add ability to override certain cheaders when using CodeWriter 2009-04-08 Jürg Billeter <j@bitron.ch> Emit line directive when there is no corresponding Vala line 2009-04-08 Rob Taylor <rob.taylor@codethink.co.uk> Merge branch 'master' into internal-vapi 2009-04-08 Jürg Billeter <j@bitron.ch> Add constant and delegate declarations to internal header Add delegate declarations to header file 2009-04-08 Levi Bard <taktaktaktaktaktaktaktaktaktak@gmail.com> Add constant declarations to header file Fixes bug 578267. 2009-04-08 Jürg Billeter <j@bitron.ch> Declare return types of delegates 2009-04-07 Rob Taylor <rob.taylor@codethink.co.uk> Merge branch 'master' of git://git.gnome.org/vala 2009-04-07 David Janzso <ext-david.2.janzso@nokia.com> doc: Move array types from reference to value types 2009-04-07 Rob Taylor <rob.taylor@codethink.co.uk> small fixes for invocation with --internal-vapi 2009-04-07 Michael B. Trausch <mike@trausch.us> posix: Add exit and abort bindings 2009-04-07 Michael 'Mickey' Lauer <mickey@vanille-media.de> posix: Add mkfifo(3) and unlink(2) bindings posix: Add socketpair and pipe bindings posix: Add opendir and friends 2009-04-07 Rob Taylor <rob.taylor@codethink.co.uk> Add support for saving out the internal api as a vapi 2009-04-07 Jürg Billeter <j@bitron.ch> Declare static fields when used Fixes bug 578127. 2009-04-07 Ali Sabil <ali.sabil@gmail.com> Fix const-incorrect code generated for string interface properties getters Fixes bug 577960. 2009-04-07 Jürg Billeter <j@bitron.ch> dbus-glib-1: Fix dbus_error_init binding cairo: Fix cairo_*_extents bindings 2009-04-06 Jürg Billeter <j@bitron.ch> D-Bus: Avoid redefinition of callback wrapper 2009-04-06 Nicolas Joseph <gege2061@redaction-developpez.com> gdk-2.0: Fix gdk_display_get_pointer binding Fixes bug 577925. gtksourceview-2.0: Fix gtk_source_style_scheme_manager_get_* bindings Fixes bug 577890. gtksourceview-2.0: Fix GtkSourceStyleSchemeManager binding Fixes bug 577886. 2009-04-06 Mark Lee <marklee@svn.gnome.org> gdk-2.0: fix gdk*_add_client_message_filter bindings Hide the data parameters for Gdk.add_client_message_filter() and Gdk.Display.add_client_message_filter(). Fixes bug 577766. 2009-04-06 Jürg Billeter <j@bitron.ch> Report error when trying to use signals as expressions Fixes bug 437431. Fix nested context information 2009-04-06 Ali Sabil <ali.sabil@gmail.com> Declare property types in interfaces Fix declaration order of interfaces and field types Declare property types in classes 2009-04-05 Jürg Billeter <j@bitron.ch> Fix declaration order of classes and field types Fix temp variable declaration in internal VAPI methods Fix error messages when using preprocessing directives The line information was off when skipping conditional sections. Post-release version bump Release 0.7.0 Drop legacy header support Switch build system to not use legacy headers 2009-04-03 Thijs Vermeir <thijsvermeir@gmail.com> Drop type check statements if assertions are disabled 2009-04-03 Mark Lee <marklee@svn.gnome.org> gnome-keyring-1: Fix gnome_keyring_find_network_password_sync binding The results parameter for GnomeKeyring.find_network_password_sync needs to be annotated as an "out" parameter. Fixes bug 577810. 2009-04-03 Jürg Billeter <j@bitron.ch> More error domain declaration fixes Fixes bug 577738. Fix leading whitespace in preprocessing directives Make sender parameter in signal handlers optional Signal handler should not need to know the sender. This also makes it possible to use the exact same parameter list for signal declaration and signal handler. Update man page Support conditional compilation Add -D SYMBOL commandline option to define conditional symbols. Support precondition directives #if, #elif, #else, and #endif. Fixes bug 434515. 2009-04-02 Jürg Billeter <j@bitron.ch> Error domain declaration fixes 2009-04-02 Ali Sabil <ali.sabil@gmail.com> Add support for generating of a C header file for the internal API Added the --internal-header compiler flag to enable the generation of a C header file for the internal API. 2009-04-02 Jürg Billeter <j@bitron.ch> Support [CCode (delegate_target = false)] attribute for fields 2009-04-01 Jürg Billeter <j@bitron.ch> Free local variables in GObject constructors Fixes bug 577641. D-Bus: Fix parameters in signal wrappers 2009-04-01 Ali Sabil <ali.sabil@gmail.com> Always include glib.h in the generated header files 2009-04-01 Jürg Billeter <j@bitron.ch> Declare enum when accessing enum value 2009-03-31 Jürg Billeter <j@bitron.ch> glib-2.0: Fix g_hash_table_new* bindings Fixes bug 577460. 2009-03-31 Ali Sabil <ali.sabil@gmail.com> Declare typeof() operand types Fix crash with dynamic property access 2009-03-31 Jürg Billeter <j@bitron.ch> Declare element types of array parameters Fixes bug 577466. Drop redundant struct declaration call Declare element types of arrays Declare field types in structs Add parameter type declarations to header file valac: Default basedir to current directory valac -C src/foo.vala should generate the file src/foo.c. Rework header file generation Generate single C header file for public API, do not use header files for internal API. Fixes bug 471244, bug 571037, bug 572536, and bug 575629. Post-release version bump Release 0.6.0 2009-03-30 Thijs Vermeir <thijsvermeir@gmail.com> Improve flow analysis of catch clauses Duplicated catch clauses for the same error are detected as an error and unreachable catch clauses due to preceding catch clauses are reported with a warning. GError: Check the error code if available in the catch clause 2009-03-30 Jürg Billeter <j@bitron.ch> GError: Include error code in cname of error type 2009-03-30 Thijs Vermeir <thijsvermeir@gmail.com> GError: Check error domain before propagating Check the error domain of the method before propagating the method up and print a critical when the domain cannot be handled by the method. 2009-03-30 Jürg Billeter <j@bitron.ch> glib-2.0: Fix g_match_info_fetch* bindings Fix crash with nested lambda expressions Fixes bug 570872. glib-2.0: Add GStaticRWLock binding Use thread-local storage for context stack Make it possible to use libvala from multiple threads by using a thread-local stack of CodeContext objects. Based on patch by Andrea Del Signore, fixes bug 573041. glib-2.0: Fix g_static_private_set binding Fix side-effects in assignments Do not evaluate the left-hand side of an assignment multiple times if it could have side-effects. Based on patch by Levi Bard, fixes bug 543483. 2009-03-30 Matías De la Puente <mfpuente.ar@gmail.com> Add V4L2 bindings Fixes bug 572692. glib-2.0: Add g_format_size_for_display binding Fixes bug 572867. 2009-03-30 Andrea Del Signore <sejerpz@tin.it> glib-2.0: Add GPrivate and GStaticPrivate bindings Fixes bug 573043. 2009-03-30 Feng Yu <fengyu@dhcp5-240.iucf.indiana.edu> Use vfunc_name for base access Base access should respect Method.vfunc_name instead of using Method.name. Fixes bug 577114. 2009-03-29 Abderrahim Kitouni <a.kitouni@gmail.com> Fix initialization of delegate fields When initializing the delegate field at creation, its target was not set. Fixes part of bug 571171. 2009-03-29 Evan Nemerson <evan@coeus-group.com> gdk-2.0: Fix gdk_spawn_on_screen* bindings Fix various parameters in Gdk.spawn_on_screen() and Gdk.spawn_on_screen_with_pipes(). Fixes bug 570350. gtk+-2.0: Fix gtk_file_chooser_get_* bindings Fix memory leaks when using several Gtk.FileChooser methods. Fixes bug 575824. 2009-03-29 Nicolas Joseph <gege2061@redaction-developpez.com> glib-2.0: Add g_get_charset binding Fixes bug 576205. 2009-03-29 Zygmunt Krynicki <zkrynicki@gmail.com> bzlib: Fix stream bindings Fixes bug 576119. 2009-03-29 Mike Massonnet <mike.massonnet@gmail.com> glib-2.0: Fix process signal bindings Fixes bug 575671. 2009-03-29 Evan Nemerson <evan@polussystems.com> glib-2.0: Fix g_timeout_add_seconds_full and g_source_set_callback Make GLib.Timeout.add_seconds_full and GLib.Source.set_callback generate the appropriate GDestroyNotify arguments automatically. Fixes bug 577048. 2009-03-29 Evan Nemerson <evan@coeus-group.com> libsoup-2.4: Fixes for several xmlrpc-related functions Fixes bug 576768. vapigen: Allow metadata files to set PrintfFormat Fixes bug 576765. 2009-03-29 Víctor Manuel Jáquez Leal <vjaquez@igalia.com> gstreamer-0.10: caps in gst_pad_set_caps can be nullable According to the documentation, the caps argument in gst_pad_set_caps can be nullable. Fixes bug 576061. 2009-03-29 Víctor Manuel Jáquez Leal <vjaquez@igalia.com> gstreamer-0.10: gst_element_set_bus parameter is nullable gst_element_set_bus () function can set a bus as NULL value in order to remove the current element bus, so the parameter can be nullable in the vala context. Fixes bug 575534. 2009-03-29 Víctor Manuel Jáquez Leal <vjaquez@igalia.com> gstreamer-pbutils-0.10: Ownership transfer fixes According to the documentation, these functions return newly-allocated structures, so they must transfer the ownership in vala context in order to prevent memory leaks. Fixes bug 575532. 2009-03-29 Evan Nemerson <evan@coeus-group.com> gtk+-2.0: Fix gtk_text_view_get_line_yrange binding Set is_out on y and height parameters of gtk_text_view_get_line_yrange, fixes bug 571719. 2009-03-29 Víctor Manuel Jáquez Leal <vjaquez@igalia.com> gconf-2.0: gconf_client_get_without_default transfers ownership Fixes bug 575535. 2009-03-29 Jürg Billeter <j@bitron.ch> Fix member access when overriding signal class handler Fixes bug 575475. 2009-03-29 Sebastian Pölsterl <sebp@k-d-w.org> Include dbus-glib-lowlevel.h file when DBus is used to avoid compiler warnings 2009-03-29 Jakob Westhoff <jakob@westhoffswelt.de> sdl: Fix SDL_GetKeyName binding Fixes bug 577129. 2009-03-29 Didier 'Ptitjes <ptitjes@free.fr> Write custom attributes in VAPI files Fixes bug 577063. 2009-03-29 Iain <iain@gnome.org> glib-2.0: Add GPtrArray bindings Fixes bug 575864. 2009-03-29 Jürg Billeter <j@bitron.ch> Fix freeing GLib.PtrArray objects 2009-03-29 Sebastian Pölsterl <sebp@k-d-w.org> D-Bus: Unregister path on object destruction Fixes bug 576874. 2009-03-26 Evan Nemerson <evan@coeus-group.com> Bug 575099: Add librsvg-2.0 bindings vapigen: Bug 575098: Allow is_ref and is_out for delegate parameters 2009-03-26 Jukka-Pekka Iivonen <jukka-pekka.iivonen@nokia.com> glib-2.0: Bug 568177: More GLib.Math constants 2009-03-26 Feng Yu <fengyu@dhcp5-240.iucf.indiana.edu> Bug 574403: Direction of formal parameters ignored When copying a formal parameter, the direction should also be copied. This fix might also fix other bizarre issues related to copying formal parameters. 2009-03-26 Didier 'Ptitjes <ptitjes@free.fr> Generate <c:include/> tags Add mandatory xmlns attributes Signed-off-by: Didier 'Ptitjes <ptitjes@free.fr> Fix namespace tag indentation Signed-off-by: Didier 'Ptitjes <ptitjes@free.fr> 2009-03-26 Hans Baier <hansfbaier@googlemail.com> libglade-2.0.vapi: nullable arguments in register_widget 2009-03-25 Jürg Billeter <j@bitron.ch> libglade-2.0: Fix GladeNewFunc binding vapigen: Support transfer_ownership for delegates Add attribute to support owned delegate return values. 2009-03-25 Ali Sabil <ali.sabil@gmail.com> gstreamer-0.10: Fix gst_bus_post binding Message parameter of gst_bus_post takes ownership. 2009-03-17 Michael 'Mickey' Lauer <mickey@vanille-media.de> posix.vapi: signal is allowed to be null (restoring the original handler) posix.vapi: rename stat struct and add actual stat + fstat calls 2009-03-17 Zeeshan Ali (Khattak) <zeeshanak@gnome.org> gstreamer-0.10: Fix gst_element_get_compatible_pad binding Caps parameter of gst_element_get_compatible_pad is nullable. gstreamer-0.10: Fix gst_ghost_pad_new binding Name parameter of gst_ghost_pad_new is nullable. gstreamer-0.10: Fix gst_element_post_message binding Message parameter of gst_element_post_message takes ownership. 2009-03-14 Thijs Vermeir <thijsvermeir@gmail.com> posix: add lseek binding posix: fix cname of off_t 2009-03-11 Thijs Vermeir <thijsvermeir@gmail.com> gstreamer-0.10: gst_pad_template_new.caps takes ownership 2009-03-11 Jürg Billeter <j@bitron.ch> gobject: Add CCodeDeclarationSpace class The CCodeDeclarationSpace class abstracts access to the various declaration fragments used to generate C header and source files. 2009-03-09 Zeeshan Ali (Khattak) <zeeshanak@gnome.org> glib-2.0: Add string.to_bool() 2009-03-09 Matías De la Puente <mfpuente.ar@gmail.com> gstreamer-interfaces-0.10: Fix some headers and GLib.List types 2009-03-07 Jürg Billeter <j@bitron.ch> D-Bus: Fix marshalling arrays of structs 2009-03-07 Hans Baier <hansfbaier@googlemail.com> posix.vapi: add pid_t and kill 2009-03-07 Jürg Billeter <j@bitron.ch> libnotify: Fix notify_notification_new binding gtk+-2.0: Fix gtk_mount_operation_new binding gdk-2.0: Fix gdk_draw_rgb_image binding 2009-03-07 Thijs Vermeir <thijsvermeir@gmail.com> posix: Fix cname of mode_t 2009-03-06 Thijs Vermeir <thijsvermeir@gmail.com> posix: Remove trailing NULL from ioctl 2009-03-04 Thijs Vermeir <thijsvermeir@gmail.com> posix.vapi: Fix type of mode argumentent on creat function 2009-03-03 Jukka-Pekka Iivonen <jukka-pekka.iivonen@nokia.com> Add Maemo libosso bindings 2009-03-03 Jürg Billeter <j@bitron.ch> GIR parser: Add support for static methods in interfaces Patch by Didier Villevalois, fixes part of bug 559704 2009-03-03 Ali Sabil <ali.sabil@gmail.com> gstreamer-rtp-0.10: regenerated with gstreamer-0.10.21 gstreamer-base-0.10: Fix GstBaseTransform.transform_size binding 2009-03-02 Maciej Piechotka <uzytkownik2@gmail.com> gio-2.0: Fixed GLib.DataInputStream string-reading methods 2009-03-02 Michael 'Mickey' Lauer <mickey@vanille-media.de> posix.vapi: add remaining syslog constants posix.vapi: add syslog and friends posix.vapi: open has two forms, one with a mode_t, one without glib-2.0: Fix get_system_config_dirs binding get_system_config_dirs() needs the same treatment as get_system_data_dirs() 2009-02-27 Matías De la Puente <mfpuente.ar@gmail.com> libftdi: Various fixes 2009-02-27 Mark Lee <bugzilla-gnome-org@lazymalevolence.com> libxml-2.0: Add xmlXPathRegisterNs binding glib-2.0: Add g_uri_list_extract_uris binding glib-2.0: Fix g_object_get_property binding 2009-02-27 Jürg Billeter <j@bitron.ch> GIR parser: Add support for unions and boxed types Based on patch by Didier Villevalois, fixes part of bug 559704 GIR parser: Add support for package and c:include tags Based on patch by Didier Villevalois, fixes part of bug 559704 Remove .bzrignore 2009-02-27 Levi Bard <taktaktaktaktaktaktaktaktaktak@gmail.com> Mark arrays as null terminated in GLib binding Add [CCode (array_null_terminated = true)] to array parameters and return values in glib-2.0.vapi. 2009-02-27 Jürg Billeter <j@bitron.ch> Generate ChangeLog from git log Add gitlog-to-changelog script from gnulib and a dist-hook to generate ChangeLog file when creating tarballs.
Generated by dwww version 1.15 on Sun Jun 16 14:52:53 CEST 2024.