]>
git.ipfire.org Git - thirdparty/vala.git/log
vlad1777d [Sat, 6 May 2017 18:38:58 +0000 (21:38 +0300)]
genie: Allow method definitions in enums
https://bugzilla.gnome.org/show_bug.cgi?id=776835
vlad1777d [Sun, 30 Apr 2017 11:19:49 +0000 (14:19 +0300)]
genie: Extend "for" syntax
https://bugzilla.gnome.org/show_bug.cgi?id=781966
vlad1777d [Sun, 30 Apr 2017 21:06:45 +0000 (00:06 +0300)]
genie: More robust comment recognition
https://bugzilla.gnome.org/show_bug.cgi?id=611085
vlad1777d [Sun, 30 Apr 2017 21:06:45 +0000 (00:06 +0300)]
DO NOT MERGE Add Python script for launching genie tests.
Dr. Michael Lauer [Wed, 28 Feb 2018 12:14:53 +0000 (13:14 +0100)]
compiler: fix critical when vala is called without run args
https://bugzilla.gnome.org/show_bug.cgi?id=793657
Dr. Michael Lauer [Tue, 27 Feb 2018 12:47:46 +0000 (13:47 +0100)]
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
Rico Tzschichholz [Tue, 27 Feb 2018 08:44:56 +0000 (09:44 +0100)]
Release 0.39.92
Rico Tzschichholz [Tue, 27 Feb 2018 09:29:54 +0000 (10:29 +0100)]
tests: Fix make dist
Rico Tzschichholz [Mon, 26 Feb 2018 22:17:50 +0000 (23:17 +0100)]
gstreamer-1.0: Update to 1.13.1+
Rico Tzschichholz [Mon, 26 Feb 2018 20:10:37 +0000 (21:10 +0100)]
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
Rico Tzschichholz [Mon, 26 Feb 2018 17:53:38 +0000 (18:53 +0100)]
vapi: Fix wrong attributes
Rico Tzschichholz [Mon, 26 Feb 2018 17:53:08 +0000 (18:53 +0100)]
libgnome-menu-3.0: Add deps file
Dr. Michael Lauer [Mon, 26 Feb 2018 16:11:50 +0000 (17:11 +0100)]
posix: add feature test macro _GNU_SOURCE for exp10(3) and exp10f(3)
https://bugzilla.gnome.org/show_bug.cgi?id=614788
Dr. Michael Lauer [Mon, 26 Feb 2018 16:11:39 +0000 (17:11 +0100)]
glib-2.0: add feature test macro _GNU_SOURCE for exp10(3) and exp10f(3)
https://bugzilla.gnome.org/show_bug.cgi?id=614788
Dr. Michael Lauer [Mon, 26 Feb 2018 16:02:36 +0000 (17:02 +0100)]
posix: add feature test macro _GNU_SOURCE for pow10(3) and pow10f(3)
https://bugzilla.gnome.org/show_bug.cgi?id=614788
Dr. Michael Lauer [Mon, 26 Feb 2018 16:02:00 +0000 (17:02 +0100)]
glib-2.0: add feature test macro _GNU_SOURCE for pow10(3) and pow10f(3)
https://bugzilla.gnome.org/show_bug.cgi?id=614788
Dr. Michael Lauer [Mon, 26 Feb 2018 15:48:31 +0000 (16:48 +0100)]
gitignore: ignore macOS metadata files
Dr. Michael Lauer [Fri, 23 Feb 2018 15:27:59 +0000 (16:27 +0100)]
tests: Extend "properties" tests to increase coverage
Based on test-case from https://bugzilla.gnome.org/show_bug.cgi?id=683160
Dr. Michael Lauer [Wed, 21 Feb 2018 09:21:29 +0000 (10:21 +0100)]
posix: add feature_test_macro _GNU_SOURCE to sighandler_t
https://bugzilla.gnome.org/show_bug.cgi?id=761975
Rico Tzschichholz [Tue, 20 Feb 2018 21:50:24 +0000 (22:50 +0100)]
tests: Add linux-specific test for feature test macros
https://bugzilla.gnome.org/show_bug.cgi?id=793444
Dr. Michael Lauer [Tue, 20 Feb 2018 15:51:11 +0000 (16:51 +0100)]
linux: Add feature_test_macros to non-POSIX file control constants and dup3
https://bugzilla.gnome.org/show_bug.cgi?id=793444
Dr. Michael Lauer [Tue, 20 Feb 2018 15:47:34 +0000 (16:47 +0100)]
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
Rico Tzschichholz [Tue, 20 Feb 2018 11:56:53 +0000 (12:56 +0100)]
codegen: Add source_reference to some store_local/_field() calls
Rico Tzschichholz [Tue, 20 Feb 2018 15:40:07 +0000 (16:40 +0100)]
vapi: Update GIR-based bindings
Rico Tzschichholz [Sun, 4 Dec 2016 18:52:40 +0000 (19:52 +0100)]
tests: Add chain-up lambda regression test
https://bugzilla.gnome.org/show_bug.cgi?id=567269
Rico Tzschichholz [Sun, 18 Feb 2018 22:02:23 +0000 (23:02 +0100)]
vala: Make SemanticAnalyzer.check_arguments() independent of context
Marco Trevisan (Treviño) [Wed, 12 Jan 2011 15:47:17 +0000 (16:47 +0100)]
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
Marco Trevisan (Treviño) [Wed, 12 Jan 2011 17:41:43 +0000 (18:41 +0100)]
codegen: Use pointers when accessing constant multi-dimensional arrays
https://bugzilla.gnome.org/show_bug.cgi?id=604371
Rico Tzschichholz [Sat, 17 Feb 2018 19:56:30 +0000 (20:56 +0100)]
vala: The rank of an array-initializer should match the target's rank
https://bugzilla.gnome.org/show_bug.cgi?id=744923
Simon Werbeck [Sun, 31 Mar 2013 23:16:21 +0000 (01:16 +0200)]
Fix recursive declaration in generic base type
https://bugzilla.gnome.org/show_bug.cgi?id=688732
Rico Tzschichholz [Sat, 17 Feb 2018 08:01:37 +0000 (09:01 +0100)]
vapi: Update GIR-based bindings
Rico Tzschichholz [Sat, 17 Feb 2018 08:01:11 +0000 (09:01 +0100)]
gstreamer-1.0: Update to 1.13.1
Rico Tzschichholz [Thu, 15 Feb 2018 14:22:35 +0000 (15:22 +0100)]
vala: Properly handle array-initializers inside struct-initializers
https://bugzilla.gnome.org/show_bug.cgi?id=622178
Rico Tzschichholz [Thu, 15 Feb 2018 17:07:36 +0000 (18:07 +0100)]
codegen: Don't append fixed-length of array fields in initializers
Rico Tzschichholz [Thu, 15 Feb 2018 08:30:10 +0000 (09:30 +0100)]
manual: Update from wiki.gnome.org
Luca Bruno [Sat, 5 Apr 2014 16:47:46 +0000 (18:47 +0200)]
posix: Fix sig*set and sigprocmask parameters to be out/ref
https://bugzilla.gnome.org/show_bug.cgi?id=727425
Rico Tzschichholz [Sun, 10 Dec 2017 08:35:24 +0000 (09:35 +0100)]
libvaladoc: Prevent WITH_CGRAPH conditional having an impact on generated sources
Dr. Michael Lauer [Wed, 14 Feb 2018 10:15:46 +0000 (11:15 +0100)]
linux: add dup3
https://bugzilla.gnome.org/show_bug.cgi?id=729803
Rico Tzschichholz [Tue, 13 Feb 2018 17:23:34 +0000 (18:23 +0100)]
Release 0.39.91
Rico Tzschichholz [Tue, 13 Feb 2018 11:32:32 +0000 (12:32 +0100)]
purple: Update to 2.12.0
Rico Tzschichholz [Tue, 13 Feb 2018 09:37:03 +0000 (10:37 +0100)]
Don't warn about unused internal methods which are meant to be visible on DBus
https://bugzilla.gnome.org/show_bug.cgi?id=593902
Rico Tzschichholz [Mon, 12 Feb 2018 19:13:10 +0000 (20:13 +0100)]
vapi: Update GIR-based bindings
Rico Tzschichholz [Mon, 12 Feb 2018 10:03:05 +0000 (11:03 +0100)]
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
Rico Tzschichholz [Sun, 11 Feb 2018 17:26:09 +0000 (18:26 +0100)]
semanticanalyzer: Drop unused error_type field
Dr. Michael Lauer [Sun, 11 Feb 2018 16:18:35 +0000 (17:18 +0100)]
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
Rico Tzschichholz [Thu, 8 Feb 2018 21:06:49 +0000 (22:06 +0100)]
tests: Add some "girparser" tests to increase coverage
Rico Tzschichholz [Thu, 8 Feb 2018 15:14:42 +0000 (16:14 +0100)]
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
Rico Tzschichholz [Thu, 8 Feb 2018 11:08:42 +0000 (12:08 +0100)]
codegen: Avoid critical when connecting dynamic signals
Corentin Noël [Tue, 6 Feb 2018 23:45:27 +0000 (23:45 +0000)]
tests: Add invalid "foreach" tests to increase coverage
Rico Tzschichholz [Wed, 7 Feb 2018 21:25:09 +0000 (22:25 +0100)]
valac: Always use the given "pkg-config" and respect PKG_CONFIG envar
Rico Tzschichholz [Wed, 7 Feb 2018 22:17:40 +0000 (23:17 +0100)]
tests: Move namespaces.vala into parser and merge its main methods
Rico Tzschichholz [Wed, 7 Feb 2018 16:44:38 +0000 (17:44 +0100)]
vapi: Update GIR-based bindings
Rico Tzschichholz [Wed, 7 Feb 2018 16:43:51 +0000 (17:43 +0100)]
glib-2.0: Add KeyFile.get_locale_for_key()
Rico Tzschichholz [Wed, 7 Feb 2018 16:42:53 +0000 (17:42 +0100)]
gstreamer-1.0: Update from 1.13+ git master
Rico Tzschichholz [Mon, 5 Feb 2018 20:47:47 +0000 (21:47 +0100)]
gtk+-4.0: Update to 3.93.0+
d07b14f4
Rico Tzschichholz [Tue, 6 Feb 2018 16:52:55 +0000 (17:52 +0100)]
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
Rico Tzschichholz [Tue, 6 Feb 2018 08:01:12 +0000 (09:01 +0100)]
tests: Add various regression "codegen" tests to increase coverage
Rico Tzschichholz [Mon, 5 Feb 2018 17:14:21 +0000 (18:14 +0100)]
tests: Add "destructors" test to increase coverage
Rico Tzschichholz [Mon, 5 Feb 2018 15:19:56 +0000 (16:19 +0100)]
tests: Add invalid "method" tests to increase coverage
Rico Tzschichholz [Mon, 5 Feb 2018 14:46:09 +0000 (15:46 +0100)]
testrunner: Accept Packages in header of Invalid Code tests
Rico Tzschichholz [Mon, 5 Feb 2018 13:15:25 +0000 (14:15 +0100)]
tests: Add invalid "struct" tests to increase coverage
Rico Tzschichholz [Mon, 5 Feb 2018 12:37:04 +0000 (13:37 +0100)]
tests: Add invalid "control-semantic" tests to increase coverage
Rico Tzschichholz [Mon, 5 Feb 2018 10:08:25 +0000 (11:08 +0100)]
tests: Add invalid "control-flow" tests to increase coverage
Rico Tzschichholz [Mon, 5 Feb 2018 09:31:10 +0000 (10:31 +0100)]
tests: Add invalid "constant" tests to increase coverage
Rico Tzschichholz [Mon, 5 Feb 2018 08:39:30 +0000 (09:39 +0100)]
tests: Add invalid "property" tests to increase coverage
Rico Tzschichholz [Mon, 5 Feb 2018 07:38:24 +0000 (08:38 +0100)]
tests: Add invalid "parameter" tests to increase coverage
Corentin Noël [Mon, 5 Feb 2018 01:02:21 +0000 (01:02 +0000)]
tests: Add more "parser" tests to increase coverage
Rico Tzschichholz [Sun, 4 Feb 2018 21:09:22 +0000 (22:09 +0100)]
tests: Add invalid "field" tests to increase coverage
Rico Tzschichholz [Sun, 4 Feb 2018 11:12:43 +0000 (12:12 +0100)]
Release 0.39.7
Rico Tzschichholz [Sun, 4 Feb 2018 09:28:59 +0000 (10:28 +0100)]
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
Rico Tzschichholz [Wed, 31 Jan 2018 12:15:16 +0000 (13:15 +0100)]
tests: Additionally add $topbuilddir to PKG_CONFIG_PATH for libvala-*.pc
Rico Tzschichholz [Tue, 30 Jan 2018 11:34:58 +0000 (12:34 +0100)]
Release 0.39.6
Rico Tzschichholz [Mon, 29 Jan 2018 21:07:53 +0000 (22:07 +0100)]
Regenerate GIR-based bindings
Rico Tzschichholz [Mon, 29 Jan 2018 16:38:19 +0000 (17:38 +0100)]
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
Rico Tzschichholz [Sun, 28 Jan 2018 22:00:03 +0000 (23:00 +0100)]
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.
Rico Tzschichholz [Mon, 29 Jan 2018 16:31:21 +0000 (17:31 +0100)]
Revert "semanticanalyzer: Transform replaced_nodes field into method"
This reverts commit
c81d1f941e06a656deef48d11e795739c94dc8c4.
Ernestas Kulik [Sat, 27 Jan 2018 13:42:56 +0000 (15:42 +0200)]
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
Rico Tzschichholz [Sat, 27 Jan 2018 20:12:00 +0000 (21:12 +0100)]
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
Rico Tzschichholz [Sat, 27 Jan 2018 18:30:49 +0000 (19:30 +0100)]
tests: Add missing PrintfFormat attribute
https://bugzilla.gnome.org/show_bug.cgi?id=657378
Rico Tzschichholz [Sat, 27 Jan 2018 12:23:53 +0000 (13:23 +0100)]
codegen: Infer error parameter from abstract/virtual method implementations
https://bugzilla.gnome.org/show_bug.cgi?id=614294
Rico Tzschichholz [Thu, 25 Jan 2018 16:05:45 +0000 (17:05 +0100)]
vapi: Update GIR-based bindings
Rico Tzschichholz [Wed, 24 Jan 2018 15:12:47 +0000 (16:12 +0100)]
tests: Add test for invalid variadic function
https://bugzilla.gnome.org/show_bug.cgi?id=615450
Rico Tzschichholz [Wed, 24 Jan 2018 13:40:34 +0000 (14:40 +0100)]
vala: Variadic constructors without a real first parameter are not allowed
Rico Tzschichholz [Tue, 23 Jan 2018 09:29:29 +0000 (10:29 +0100)]
gtk+-4.0: Only override type of "event" parameters
Rico Tzschichholz [Sun, 21 Jan 2018 19:14:11 +0000 (20:14 +0100)]
libvaladoc: Keep bootstrap-support with valac >= 0.16.1
Rico Tzschichholz [Sun, 21 Jan 2018 13:03:00 +0000 (14:03 +0100)]
gtk+-4.0: Update to 3.93.0+
4d36a0bf
Rico Tzschichholz [Sun, 19 Nov 2017 16:12:12 +0000 (17:12 +0100)]
codegen: Use G_PARAM_STATIC_STRINGS
equals to G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB
Rico Tzschichholz [Fri, 19 Jan 2018 16:23:07 +0000 (17:23 +0100)]
build: Bump bootstrap requirement to 0.39.6 for --abi-stability build flag
Rico Tzschichholz [Thu, 18 Jan 2018 12:06:39 +0000 (13:06 +0100)]
codegen: Add abi-stability path for interfaces
Based on patch by Daniel Espinosa
https://bugzilla.gnome.org/show_bug.cgi?id=789069
Daniel Espinosa [Thu, 18 Jan 2018 08:32:09 +0000 (09:32 +0100)]
codegen: Add abi-stability path for classes
https://bugzilla.gnome.org/show_bug.cgi?id=789069
Daniel Espinosa [Tue, 16 Jan 2018 18:26:08 +0000 (12:26 -0600)]
compiler: Add --abi-stability option for future ABI stability enablement
https://bugzilla.gnome.org/show_bug.cgi?id=789069
Dr. Michael Lauer [Tue, 16 Jan 2018 16:06:31 +0000 (17:06 +0100)]
posix: add ctime(3)
Dr. Michael Lauer [Tue, 16 Jan 2018 15:50:26 +0000 (16:50 +0100)]
posix: fix binding of struct hostent. Make clear that gethostbyname(3) can return NULL.
Rico Tzschichholz [Sat, 20 Jan 2018 11:32:29 +0000 (12:32 +0100)]
gtk+-3.0: Fix cheader_filename of Plug and Socket
Regression of
a8e6aff63e5e1502290ba93398314acf2ad45b60
Rico Tzschichholz [Sat, 20 Jan 2018 09:49:29 +0000 (10:49 +0100)]
Regenerate GIR-based bindings
Rico Tzschichholz [Sat, 20 Jan 2018 09:41:43 +0000 (10:41 +0100)]
girparser: Set NoAccessorMethod for non-readable and construct-only properties
Rico Tzschichholz [Fri, 19 Jan 2018 07:04:18 +0000 (08:04 +0100)]
Release 0.39.5
Rico Tzschichholz [Thu, 18 Jan 2018 22:08:30 +0000 (23:08 +0100)]
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
Rico Tzschichholz [Thu, 18 Jan 2018 20:00:29 +0000 (21:00 +0100)]
tests: Add test for parameter type checking of async methods
https://bugzilla.gnome.org/show_bug.cgi?id=792660
Rico Tzschichholz [Thu, 18 Jan 2018 19:41:08 +0000 (20:41 +0100)]
vala: Skip default-value positioning check for parameters of coroutines
https://bugzilla.gnome.org/show_bug.cgi?id=644241