]> git.ipfire.org Git - thirdparty/vala.git/log
thirdparty/vala.git
6 years agolibvaladoc: Drop Api.Browsable
Rico Tzschichholz [Sat, 17 Nov 2018 09:11:40 +0000 (10:11 +0100)] 
libvaladoc: Drop Api.Browsable

6 years agolibvaladoc: Replace SymbolAccessibility with Vala.SymbolAccessibility
Rico Tzschichholz [Sun, 16 Sep 2018 15:06:57 +0000 (17:06 +0200)] 
libvaladoc: Replace SymbolAccessibility with Vala.SymbolAccessibility

6 years agolibvaladoc: Replace FormalParameterType with Vala.ParameterDirection
Rico Tzschichholz [Tue, 12 Jun 2018 10:46:48 +0000 (12:46 +0200)] 
libvaladoc: Replace FormalParameterType with Vala.ParameterDirection

6 years agotests: Add default defines test for VALA_0_XX and GLIB_2_XX e3e098f4f389ce857e5ac9099d170869d3ff9973
Rico Tzschichholz [Sat, 24 Nov 2018 21:43:21 +0000 (22:43 +0100)] 
tests: Add default defines test for VALA_0_XX and GLIB_2_XX

6 years agovala: Move setting of default defines for VALA_0_XX and GLIB_2_XX to Context 3d926c1288b3ec4fd692dd1de6b91fb6c2090183
Rico Tzschichholz [Sat, 24 Nov 2018 12:43:21 +0000 (13:43 +0100)] 
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.

6 years agocodegen: Don't use temp variable for stack allocated simple type assignment 32ffc862417be39d42a1b8eeb3d0748b3e138aff
Rico Tzschichholz [Thu, 22 Nov 2018 13:58:34 +0000 (14:58 +0100)] 
codegen: Don't use temp variable for stack allocated simple type assignment

6 years agovala: Don't replace assignments for local variables with non-null simple-types e701142da4601ece5ca71cc4484728b08969c74e
Rico Tzschichholz [Thu, 22 Nov 2018 11:40:23 +0000 (12:40 +0100)] 
vala: Don't replace assignments for local variables with non-null simple-types

6 years agocodegen: Don't emit unused temp variable for element access assignments bccc3acdbf1d01ee85b3bcdeb6bc5b601674bca7
Rico Tzschichholz [Thu, 22 Nov 2018 08:21:27 +0000 (09:21 +0100)] 
codegen: Don't emit unused temp variable for element access assignments

Regression of 2bcda488725cf28b3c3c358f2c348632bb7ba232

6 years agotests: Extend assignment and array element access tests
Rico Tzschichholz [Thu, 22 Nov 2018 09:36:47 +0000 (10:36 +0100)] 
tests: Extend assignment and array element access tests

6 years agovala: Minor clean up assignment to binary expression transformation
Rico Tzschichholz [Thu, 22 Nov 2018 12:05:04 +0000 (13:05 +0100)] 
vala: Minor clean up assignment to binary expression transformation

6 years agocodegen: Replace if-else-tree with switch
Rico Tzschichholz [Thu, 22 Nov 2018 11:36:21 +0000 (12:36 +0100)] 
codegen: Replace if-else-tree with switch

6 years agobuild: Add --enable-debug configure option
Rico Tzschichholz [Thu, 22 Nov 2018 13:14:28 +0000 (14:14 +0100)] 
build: Add --enable-debug configure option

6 years agocodegen: Don't emit type_id for enum in non GOBJECT profile
Rico Tzschichholz [Wed, 21 Nov 2018 13:46:37 +0000 (14:46 +0100)] 
codegen: Don't emit type_id for enum in non GOBJECT profile

6 years agocodegen: Don't explicitly add glib headers, using symbols will do that
Rico Tzschichholz [Mon, 19 Nov 2018 12:13:24 +0000 (13:13 +0100)] 
codegen: Don't explicitly add glib headers, using symbols will do that

See https://gitlab.gnome.org/GNOME/vala/issues/623

6 years agocodegen: Improve adding of delegate target type declaration
Rico Tzschichholz [Wed, 21 Nov 2018 19:20:59 +0000 (20:20 +0100)] 
codegen: Improve adding of delegate target type declaration

6 years agocodegen: Add required headers for ctor/dtor of compact classes and structs
Rico Tzschichholz [Wed, 21 Nov 2018 16:14:03 +0000 (17:14 +0100)] 
codegen: Add required headers for ctor/dtor of compact classes and structs

6 years agocodegen: Add type declaration for errors and error domains as needed
Rico Tzschichholz [Wed, 21 Nov 2018 14:33:24 +0000 (15:33 +0100)] 
codegen: Add type declaration for errors and error domains as needed

6 years agocodegen: Add type declarations required for generics as needed
Rico Tzschichholz [Wed, 21 Nov 2018 12:03:31 +0000 (13:03 +0100)] 
codegen: Add type declarations required for generics as needed

6 years agovala: Use DataType.get_type_arguments()
Rico Tzschichholz [Wed, 21 Nov 2018 12:53:42 +0000 (13:53 +0100)] 
vala: Use DataType.get_type_arguments()

6 years agovala: Add Delegate/Method/ObjectTypeSymbol.has_type_parameters() and use them
Rico Tzschichholz [Wed, 21 Nov 2018 12:18:46 +0000 (13:18 +0100)] 
vala: Add Delegate/Method/ObjectTypeSymbol.has_type_parameters() and use them

6 years agotests: Add some minimal test cases to catch insufficient headers
Rico Tzschichholz [Wed, 21 Nov 2018 16:00:19 +0000 (17:00 +0100)] 
tests: Add some minimal test cases to catch insufficient headers

6 years agoglib-2.0: Drop g_object_unref which is part of gobject-2.0
Rico Tzschichholz [Wed, 21 Nov 2018 13:52:48 +0000 (14:52 +0100)] 
glib-2.0: Drop g_object_unref which is part of gobject-2.0

6 years agocodegen: Add target/destroy type declarations for delegates as needed
Rico Tzschichholz [Wed, 21 Nov 2018 09:33:21 +0000 (10:33 +0100)] 
codegen: Add target/destroy type declarations for delegates as needed

This improves the support of POSIX profile.

6 years agocodegen: Add profile specific delegate target/destroy types
Rico Tzschichholz [Wed, 21 Nov 2018 09:25:32 +0000 (10:25 +0100)] 
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.

6 years agoposix: Add CommandPipe as a sub-type of FILE
Alistair Thomas [Mon, 25 Jun 2018 09:06:10 +0000 (10:06 +0100)] 
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

6 years agocodegen: Make sure to include declarations for delegate typed parameters
Rico Tzschichholz [Tue, 20 Nov 2018 15:38:31 +0000 (16:38 +0100)] 
codegen: Make sure to include declarations for delegate typed parameters

So call generate_type_declaration() with all parameter types.

6 years agovapi: Update GIR-based bindings
Rico Tzschichholz [Tue, 20 Nov 2018 12:06:15 +0000 (13:06 +0100)] 
vapi: Update GIR-based bindings

6 years agogtk+-4.0: Update to 3.94.0+40ae5c13
Rico Tzschichholz [Tue, 20 Nov 2018 12:04:41 +0000 (13:04 +0100)] 
gtk+-4.0: Update to 3.94.0+40ae5c13

6 years agogdk-x11-3.0,gtk+-3.0: Update to 3.24.1+356f1f59
Rico Tzschichholz [Tue, 20 Nov 2018 12:03:31 +0000 (13:03 +0100)] 
gdk-x11-3.0,gtk+-3.0: Update to 3.24.1+356f1f59

6 years agogstreamer: Update from 1.15+ git master
Rico Tzschichholz [Tue, 20 Nov 2018 12:00:55 +0000 (13:00 +0100)] 
gstreamer: Update from 1.15+ git master

6 years agoparser: Use comment which was already retrieved in parse_declaration()
Rico Tzschichholz [Tue, 20 Nov 2018 11:31:52 +0000 (12:31 +0100)] 
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

6 years agodocs: Update build instructions and move them to README.md 2a1c951dbe5691173451b404d1ca8cea661e9916
Alistair Thomas [Mon, 19 Nov 2018 23:01:53 +0000 (23:01 +0000)] 
docs: Update build instructions and move them to README.md

Updates the links for building Vala and how to bootstrap the build

6 years agodocs: Use Markdown for README and move to README.md d9a86967049de9d379487f4ab3ce91a713f21e7f
Alistair Thomas [Mon, 19 Nov 2018 22:36:09 +0000 (22:36 +0000)] 
docs: Use Markdown for README and move to README.md

6 years agogobject-2.0: Attribute all symbols with cheader_filename = "glib-object.h" 6aa412da8e16e6630814a357adbfd724d59de30d
Rico Tzschichholz [Mon, 19 Nov 2018 21:24:34 +0000 (22:24 +0100)] 
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.

6 years agotestrunner: Add -Werror=strict-prototypes 1d94694908ed3deeb0d6a2ed3234dcfb2ebc90ba
Rico Tzschichholz [Mon, 19 Nov 2018 17:06:40 +0000 (18:06 +0100)] 
testrunner: Add -Werror=strict-prototypes

6 years agoccode: Add void to delegate typedef declarations without parameters
Rico Tzschichholz [Mon, 19 Nov 2018 17:22:20 +0000 (18:22 +0100)] 
ccode: Add void to delegate typedef declarations without parameters

Found with -Werror=strict-prototypes

6 years agotestrunner: Pass buildsystem's CC through to valac
Rico Tzschichholz [Mon, 19 Nov 2018 17:05:24 +0000 (18:05 +0100)] 
testrunner: Pass buildsystem's CC through to valac

6 years agoccode: Don't allow more than one consecutive empty lines in generated code
Rico Tzschichholz [Mon, 19 Nov 2018 13:25:14 +0000 (14:25 +0100)] 
ccode: Don't allow more than one consecutive empty lines in generated code

6 years agovaladoc: Adjust stylesheet to unbreak Epiphany 2ba06ae75d4751f2d6696a688a2192d23b8536b4 8/head
Michael James Gratton [Thu, 21 Jun 2018 06:50:00 +0000 (16:50 +1000)] 
valadoc: Adjust stylesheet to unbreak Epiphany

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

6 years agovaladoc: Fix a few errors and warnings in stylesheet
Rico Tzschichholz [Mon, 19 Nov 2018 10:58:20 +0000 (11:58 +0100)] 
valadoc: Fix a few errors and warnings in stylesheet

6 years agocodegen: Add ccode getters for GType functions of Classes and Interfaces 7ec98fad71a7b9522442cbac8106711fba94cfac
Rico Tzschichholz [Sun, 18 Nov 2018 15:28:14 +0000 (16:28 +0100)] 
codegen: Add ccode getters for GType functions of Classes and Interfaces

and use them where possible.

6 years agogirwriter: Write glib-type attributes for Enums/Structs with type_id
Rico Tzschichholz [Sun, 18 Nov 2018 19:37:38 +0000 (20:37 +0100)] 
girwriter: Write glib-type attributes for Enums/Structs with type_id

6 years agocodegen: Fix canonical string for quark of error domains
Rico Tzschichholz [Sun, 18 Nov 2018 17:50:29 +0000 (18:50 +0100)] 
codegen: Fix canonical string for quark of error domains

6 years agovala: Fix bootstrap with valac >= 0.16.1 3279c5831bde814f73c0182a4de8663ebc2b1ed1
Rico Tzschichholz [Sat, 17 Nov 2018 21:21:20 +0000 (22:21 +0100)] 
vala: Fix bootstrap with valac >= 0.16.1

6 years agovala: Compact classes don't allow private/class fields and to lock fields
Rico Tzschichholz [Sat, 17 Nov 2018 14:02:01 +0000 (15:02 +0100)] 
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.

6 years agovala: Remove superfluous return_if_fail()
Rico Tzschichholz [Sat, 17 Nov 2018 12:51:14 +0000 (13:51 +0100)] 
vala: Remove superfluous return_if_fail()

6 years agotests: Add "static fields" to compact class to increase coverage
Rico Tzschichholz [Sat, 17 Nov 2018 16:22:36 +0000 (17:22 +0100)] 
tests: Add "static fields" to compact class to increase coverage

6 years agotests: Add bug specific "lock test"
Rico Tzschichholz [Sat, 17 Nov 2018 15:10:04 +0000 (16:10 +0100)] 
tests: Add bug specific "lock test"

https://bugzilla.gnome.org/show_bug.cgi?id=629593

6 years agovala: Clean up constructor/destructor API of Class/Struct
Rico Tzschichholz [Sat, 17 Nov 2018 12:49:03 +0000 (13:49 +0100)] 
vala: Clean up constructor/destructor API of Class/Struct

6 years agogenieparser: Use dedicated Class.add_constructor/destructor() methods
Rico Tzschichholz [Sat, 17 Nov 2018 12:34:07 +0000 (13:34 +0100)] 
genieparser: Use dedicated Class.add_constructor/destructor() methods

6 years agotests: Add more GLib.Array tests d85d5fda1b2aedd0dea3a144fa442962bb452fc1 29/head
Corentin Noël [Fri, 16 Nov 2018 13:55:00 +0000 (14:55 +0100)] 
tests: Add more GLib.Array tests

6 years agocodegen: Add destroy function for GLib.Array
Corentin Noël [Fri, 16 Nov 2018 07:19:55 +0000 (08:19 +0100)] 
codegen: Add destroy function for GLib.Array

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

6 years agoglib-2.0: Avoid double-free in GLib.Array if clear_func is set
Corentin Noël [Fri, 16 Nov 2018 13:55:00 +0000 (14:55 +0100)] 
glib-2.0: Avoid double-free in GLib.Array if clear_func is set

6 years agoglib-2.0: Add missing Array.set_clear_func() binding
Rico Tzschichholz [Fri, 16 Nov 2018 13:26:50 +0000 (14:26 +0100)] 
glib-2.0: Add missing Array.set_clear_func() binding

6 years agovaladoc: Use new to_string() methods of enumerations in InitializerBuilder 58b04490ff5e552cda8291a9795316592ae03333
Rico Tzschichholz [Fri, 16 Nov 2018 08:28:48 +0000 (09:28 +0100)] 
valadoc: Use new to_string() methods of enumerations in InitializerBuilder

6 years agolibvaladoc: Use Scanner.get_identifier_or_keyword() instead of outdated copy
Rico Tzschichholz [Thu, 15 Nov 2018 21:44:46 +0000 (22:44 +0100)] 
libvaladoc: Use Scanner.get_identifier_or_keyword() instead of outdated copy

6 years agovala: Use new to_string() methods of enumerations in CodeWriter 31b3ca1c491ef5c6e7c2b17080ed3d44e93b0250
Rico Tzschichholz [Thu, 15 Nov 2018 17:11:29 +0000 (18:11 +0100)] 
vala: Use new to_string() methods of enumerations in CodeWriter

6 years agovala: Add AssignmentOperator.to_string()
Rico Tzschichholz [Thu, 15 Nov 2018 16:37:29 +0000 (17:37 +0100)] 
vala: Add AssignmentOperator.to_string()

6 years agovala: Add SymbolAccessibility.to_string()
Rico Tzschichholz [Wed, 14 Nov 2018 13:35:52 +0000 (14:35 +0100)] 
vala: Add SymbolAccessibility.to_string()

6 years agovala: Add UnaryOperator.to_string()
Rico Tzschichholz [Thu, 15 Nov 2018 16:26:19 +0000 (17:26 +0100)] 
vala: Add UnaryOperator.to_string()

6 years agovala: Add BinaryOperator.to_string()
Rico Tzschichholz [Thu, 15 Nov 2018 09:57:06 +0000 (10:57 +0100)] 
vala: Add BinaryOperator.to_string()

6 years agotests: Add enum/errordomain tests for GIR parser to increase coverage
Rico Tzschichholz [Thu, 15 Nov 2018 09:23:55 +0000 (10:23 +0100)] 
tests: Add enum/errordomain tests for GIR parser to increase coverage

6 years agodoc: Include dependencies for internal-api-docs to get reference linking 6e26ea4975098824c3796d8db048681d0e809177
Rico Tzschichholz [Wed, 14 Nov 2018 21:17:43 +0000 (22:17 +0100)] 
doc: Include dependencies for internal-api-docs to get reference linking

6 years agovaladoc/html: Skip package dependency if target directory already exists
Rico Tzschichholz [Wed, 14 Nov 2018 21:12:54 +0000 (22:12 +0100)] 
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.

6 years agolibvaladoc: Add type_id to Api.Enum/Interface
Rico Tzschichholz [Wed, 14 Nov 2018 18:55:43 +0000 (19:55 +0100)] 
libvaladoc: Add type_id to Api.Enum/Interface

6 years agolibvaladoc: Actually assign type_id of Api.Structs
Rico Tzschichholz [Wed, 14 Nov 2018 14:44:43 +0000 (15:44 +0100)] 
libvaladoc: Actually assign type_id of Api.Structs

6 years agolibvaladoc: Link against private libvalaccodegen
Rico Tzschichholz [Tue, 12 Jun 2018 13:15:16 +0000 (15:15 +0200)] 
libvaladoc: Link against private libvalaccodegen

6 years agocodegen: Fix get_ccode_name() for properties
Rico Tzschichholz [Tue, 12 Jun 2018 13:40:01 +0000 (15:40 +0200)] 
codegen: Fix get_ccode_name() for properties

Handle them the same way as signals and hold the canonical representation
as ccode name.

6 years agolibvaladoc/html: Sort symbols and members where possible
Rico Tzschichholz [Wed, 14 Nov 2018 17:44:53 +0000 (18:44 +0100)] 
libvaladoc/html: Sort symbols and members where possible

6 years agolibvaladoc: Match property signature with vala's codewriter
Rico Tzschichholz [Wed, 14 Nov 2018 13:49:22 +0000 (14:49 +0100)] 
libvaladoc: Match property signature with vala's codewriter

6 years agocodegen: Transfer ownership of compact class to DestroysInstance method bf8c09bf3a5e637880941ee6f59a73e934cf609e
Rico Tzschichholz [Fri, 9 Nov 2018 14:21:16 +0000 (15:21 +0100)] 
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

6 years agogio-2.0: Add missing File.new_build_filename() 613210b2410577844bafdf8aff3cc8d50399a1a5
Corentin Noël [Tue, 13 Nov 2018 05:57:36 +0000 (06:57 +0100)] 
gio-2.0: Add missing File.new_build_filename()

6 years agotests: Avoid use of g_ptr_array_find() which requires glib >= 2.54
Rico Tzschichholz [Mon, 12 Nov 2018 09:27:45 +0000 (10:27 +0100)] 
tests: Avoid use of g_ptr_array_find() which requires glib >= 2.54

6 years agocodegen: Deprecate "ctype" ccode-attribute 300cfe1985ee6075583c73d4eddb64d09cee941f
Rico Tzschichholz [Mon, 16 Jul 2018 19:10:03 +0000 (21:10 +0200)] 
codegen: Deprecate "ctype" ccode-attribute

This is an alias for "type"

6 years agoglib-2.0: Replace ctype ccode-attributes with type
Rico Tzschichholz [Mon, 16 Jul 2018 19:08:22 +0000 (21:08 +0200)] 
glib-2.0: Replace ctype ccode-attributes with type

6 years agocodegen: Deprecate "finish_function" ccode-attribute
Rico Tzschichholz [Mon, 16 Jul 2018 17:30:31 +0000 (19:30 +0200)] 
codegen: Deprecate "finish_function" ccode-attribute

This is an alias for "finish_name"

6 years agogio-2.0: Replace finish_function ccode-attributes with finish_name
Rico Tzschichholz [Mon, 16 Jul 2018 17:25:55 +0000 (19:25 +0200)] 
gio-2.0: Replace finish_function ccode-attributes with finish_name

6 years agovapi: Some random fixes on old bindings
Rico Tzschichholz [Thu, 8 Nov 2018 18:36:54 +0000 (19:36 +0100)] 
vapi: Some random fixes on old bindings

6 years agovala: Copy CCode instance_pos argument from virtual/abstract base methods
Rico Tzschichholz [Thu, 8 Nov 2018 11:48:20 +0000 (12:48 +0100)] 
vala: Copy CCode instance_pos argument from virtual/abstract base methods

https://bugzilla.gnome.org/show_bug.cgi?id=540483

6 years agovala: Add CodeNode.copy_attribute_*() helper methods
Rico Tzschichholz [Thu, 8 Nov 2018 11:45:24 +0000 (12:45 +0100)] 
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.

6 years agotests: Add GenericArray (GPtrArray) tests
Rico Tzschichholz [Thu, 8 Nov 2018 11:10:07 +0000 (12:10 +0100)] 
tests: Add GenericArray (GPtrArray) tests

6 years agocodegen: Fix method pointer cast if instance isn't at first position
Rico Tzschichholz [Wed, 7 Nov 2018 22:00:18 +0000 (23:00 +0100)] 
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.

6 years agoSync NEWS from 0.42
Rico Tzschichholz [Thu, 8 Nov 2018 07:04:41 +0000 (08:04 +0100)] 
Sync NEWS from 0.42

6 years agovala: Check for matching ownership of type-arguments 4f5a770f20c0d13a0bee6e02af20a458aa378b1c 27/head
Rico Tzschichholz [Thu, 5 Apr 2018 06:22:25 +0000 (08:22 +0200)] 
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

6 years agogstreamer: Update from 1.15+ git master 10b87427a263886b0e36d5f4a297d6e079b74b6e
Rico Tzschichholz [Wed, 7 Nov 2018 14:21:27 +0000 (15:21 +0100)] 
gstreamer: Update from 1.15+ git master

6 years agogio-2.0: Result of DBusMessage.get_header() is unowned
Rico Tzschichholz [Wed, 7 Nov 2018 11:15:25 +0000 (12:15 +0100)] 
gio-2.0: Result of DBusMessage.get_header() is unowned

6 years agogtk+-4.0: Update to 3.94.0+b4b30b49
Rico Tzschichholz [Wed, 7 Nov 2018 09:11:01 +0000 (10:11 +0100)] 
gtk+-4.0: Update to 3.94.0+b4b30b49

6 years agoglib-2.0: Add array length to string.skip 2d276924797606ac953dbb75cf9eaf6d3363893d
Alistair Thomas [Tue, 6 Nov 2018 10:51:39 +0000 (10:51 +0000)] 
glib-2.0: Add array length to string.skip

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

6 years agovala: Don't check for GLib.Variant casting in POSIX profile
Rico Tzschichholz [Tue, 6 Nov 2018 13:08:03 +0000 (14:08 +0100)] 
vala: Don't check for GLib.Variant casting in POSIX profile

6 years agotestrunner: Add -Werror=missing-prototypes
Rico Tzschichholz [Mon, 5 Nov 2018 07:29:45 +0000 (08:29 +0100)] 
testrunner: Add -Werror=missing-prototypes

6 years agocodegen: Add prototype for *_new() of abstact compact classes
Rico Tzschichholz [Mon, 5 Nov 2018 07:28:08 +0000 (08:28 +0100)] 
codegen: Add prototype for *_new() of abstact compact classes

Found with -Werror=missing-prototypes

6 years agocodegen: Don't emit *_free() of derived compact classes
Rico Tzschichholz [Sun, 4 Nov 2018 21:49:04 +0000 (22:49 +0100)] 
codegen: Don't emit *_free() of derived compact classes

Found with -Werror=missing-prototypes

6 years agocodegen: Add prototype for *_register_type() function
Rico Tzschichholz [Sun, 4 Nov 2018 19:22:22 +0000 (20:22 +0100)] 
codegen: Add prototype for *_register_type() function

Found with -Werror=missing-prototypes

6 years agogdk-3.0: Fix type-argument in return-type of Device.get_axes()
Rico Tzschichholz [Sun, 4 Nov 2018 18:26:28 +0000 (19:26 +0100)] 
gdk-3.0: Fix type-argument in return-type of Device.get_axes()

6 years agovala: Use is_weak() for type-arguments in DataType.to_qualified_string()
Rico Tzschichholz [Sun, 4 Nov 2018 11:40:53 +0000 (12:40 +0100)] 
vala: Use is_weak() for type-arguments in DataType.to_qualified_string()

6 years agogdbus: Don't pass null to get_ccode_array_length_type() to fix criticals
Rico Tzschichholz [Sun, 4 Nov 2018 09:00:01 +0000 (10:00 +0100)] 
gdbus: Don't pass null to get_ccode_array_length_type() to fix criticals

6 years agotestrunner: Check if compiler flags are supported before using them
Rico Tzschichholz [Sat, 3 Nov 2018 16:29:21 +0000 (17:29 +0100)] 
testrunner: Check if compiler flags are supported before using them

Use AX_CHECK_COMPILE_FLAG to collect TEST_CFLAGS in configure.

6 years agovala: Drop "explicit" from ValaSourceFile and use "from_commandline"
Rico Tzschichholz [Sat, 3 Nov 2018 13:38:21 +0000 (14:38 +0100)] 
vala: Drop "explicit" from ValaSourceFile and use "from_commandline"

6 years agocodegen: Add replacement for G_(BEGIN|END)_DECLS in non GOBJECT profile
Alistair Thomas [Sat, 3 Nov 2018 13:28:52 +0000 (14:28 +0100)] 
codegen: Add replacement for G_(BEGIN|END)_DECLS in non GOBJECT profile

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

6 years agolibvaladoc: Add "unlock" to keywords in Highligher
Rico Tzschichholz [Sat, 3 Nov 2018 13:26:47 +0000 (14:26 +0100)] 
libvaladoc: Add "unlock" to keywords in Highligher