]>
git.ipfire.org Git - thirdparty/vala.git/log
Maciej Piechotka [Wed, 21 Sep 2016 10:28:39 +0000 (12:28 +0200)]
Move to .foreach methods where it does not impact readability
https://bugzilla.gnome.org/show_bug.cgi?id=704754
Rico Tzschichholz [Tue, 28 Feb 2017 14:22:17 +0000 (15:22 +0100)]
Update internal gee from libgee 0.20.0
Rico Tzschichholz [Tue, 20 Sep 2016 21:56:04 +0000 (23:56 +0200)]
Update internal gee from libgee 0.18.1
https://bugzilla.gnome.org/show_bug.cgi?id=704754
Rico Tzschichholz [Mon, 25 Aug 2014 11:24:07 +0000 (13:24 +0200)]
Update internal gee from libgee 0.8.8+
d531caa9
Based on patch by Maciej Piechotka
https://bugzilla.gnome.org/show_bug.cgi?id=704754
Rico Tzschichholz [Tue, 2 May 2017 12:09:41 +0000 (14:09 +0200)]
Revert "codegen: Don't implicitly initialize local variables with an initializer"
This reverts commit
f5c654f76eeb1ee887f3d89eb701cf82f75a430a .
https://bugzilla.gnome.org/show_bug.cgi?id=782056
Magomed Abdurakhmanov [Tue, 2 May 2017 08:40:14 +0000 (10:40 +0200)]
scanner: Fix calculation of column value for tokens after multiline comment
https://bugzilla.gnome.org/show_bug.cgi?id=652899
Rico Tzschichholz [Fri, 28 Apr 2017 13:31:19 +0000 (15:31 +0200)]
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
Rico Tzschichholz [Fri, 24 Feb 2017 21:22:21 +0000 (22:22 +0100)]
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
Michael Biebl [Thu, 15 Sep 2016 01:41:00 +0000 (03:41 +0200)]
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
Rico Tzschichholz [Wed, 26 Apr 2017 17:36:46 +0000 (19:36 +0200)]
build: Make sure to dist all generated headers
Rico Tzschichholz [Tue, 25 Apr 2017 15:58:49 +0000 (17:58 +0200)]
manual: Update from wiki.gnome.org
Rico Tzschichholz [Mon, 24 Apr 2017 11:52:27 +0000 (13:52 +0200)]
build: Use --use-header for libraries
Reduces the size of generated c-sources while avoiding redefinitions.
Rico Tzschichholz [Mon, 24 Apr 2017 06:44:09 +0000 (08:44 +0200)]
vala: Enums require at least one value otherwise report an error
Rico Tzschichholz [Wed, 19 Apr 2017 07:45:14 +0000 (09:45 +0200)]
gio-2.0: Tweak metadata to avoid duplicated interface dependencies
Rico Tzschichholz [Tue, 18 Apr 2017 15:09:04 +0000 (17:09 +0200)]
gio-2.0: Fix GLib.Task.report_error/report_new_error()
Rico Tzschichholz [Tue, 18 Apr 2017 14:38:04 +0000 (16:38 +0200)]
gio-2.0: Fix GLib.Task constructor
https://bugzilla.gnome.org/show_bug.cgi?id=781449
Marvin W [Tue, 11 Apr 2017 15:19:58 +0000 (17:19 +0200)]
vala: Handle non-null in coalescing expression
https://bugzilla.gnome.org/show_bug.cgi?id=611223
Marvin W [Tue, 11 Apr 2017 15:19:58 +0000 (17:19 +0200)]
testrunner: Respect given VALAFLAGS
https://bugzilla.gnome.org/show_bug.cgi?id=611223
Rico Tzschichholz [Wed, 12 Apr 2017 11:19:32 +0000 (13:19 +0200)]
compiler: Add --color=WHEN option
It follows the format of other tools like diff and git-diff.
Rico Tzschichholz [Wed, 12 Apr 2017 12:06:22 +0000 (14:06 +0200)]
glib-2.0: Add quark() functions to errordomains
Rico Tzschichholz [Tue, 11 Apr 2017 12:42:46 +0000 (14:42 +0200)]
codegen: Use g_object_notify_by_pspec() to notify property-changes
Rico Tzschichholz [Fri, 14 Apr 2017 18:41:30 +0000 (20:41 +0200)]
build: Make ccode and codegen private API
valac is the only consumer and will statically link these libraries.
Rico Tzschichholz [Fri, 14 Apr 2017 18:41:30 +0000 (20:41 +0200)]
build: Add missing '\'
Rico Tzschichholz [Fri, 14 Apr 2017 18:41:30 +0000 (20:41 +0200)]
build: vapigen and vapicheck don't require ccode
Rico Tzschichholz [Fri, 14 Apr 2017 18:41:30 +0000 (20:41 +0200)]
Bump version suffix
Rico Tzschichholz [Mon, 3 Apr 2017 07:10:17 +0000 (09:10 +0200)]
glib-2.0,gio-2.0,gobject-2.0: Updates from 2.53
Rico Tzschichholz [Mon, 10 Apr 2017 12:20:25 +0000 (14:20 +0200)]
gstreamer: Update to 1.11.90+
Rico Tzschichholz [Mon, 3 Apr 2017 06:12:02 +0000 (08:12 +0200)]
Release 0.36.1
Rico Tzschichholz [Sun, 2 Apr 2017 11:37:16 +0000 (13:37 +0200)]
vapigen: Add --nostdpkg option like in valac
Rico Tzschichholz [Sat, 1 Apr 2017 15:11:58 +0000 (17:11 +0200)]
gtk+-4.0: Update to 3.90.0
Rico Tzschichholz [Thu, 30 Mar 2017 19:28:49 +0000 (21:28 +0200)]
gtk+-4.0: Update to 3.89.5+
1202082b
Rico Tzschichholz [Thu, 30 Mar 2017 19:08:44 +0000 (21:08 +0200)]
gtk+-2.0,gtk+-3.0: Mark "intersection" param of Widget.intersect() as out
Rico Tzschichholz [Mon, 27 Mar 2017 18:29:24 +0000 (20:29 +0200)]
vapi: Update GIR-based bindings
Rico Tzschichholz [Mon, 27 Mar 2017 13:27:01 +0000 (15:27 +0200)]
glib-2.0: Add missing version macro and constants
Rico Tzschichholz [Mon, 27 Mar 2017 07:42:44 +0000 (09:42 +0200)]
gstreamer-1.0: Fix Pad.set_*_function() bindings
https://bugzilla.gnome.org/show_bug.cgi?id=750838
Rico Tzschichholz [Mon, 27 Mar 2017 07:40:41 +0000 (09:40 +0200)]
girparser: Add destroy argument for metadata
https://bugzilla.gnome.org/show_bug.cgi?id=750838
Timm Bäder [Sat, 5 Nov 2016 20:50:43 +0000 (21:50 +0100)]
glib-2.0: unichar.to_string doesn't return null
Timm Bäder [Tue, 1 Nov 2016 09:35:47 +0000 (10:35 +0100)]
subroutine: Set parent_node of body block
Rico Tzschichholz [Wed, 22 Mar 2017 18:16:06 +0000 (19:16 +0100)]
codegen: Don't leak target-reference when casting/assigning owned delegates
Regression of
6d07669384cdb70c3c657dba67d5048212f25da9
https://bugzilla.gnome.org/show_bug.cgi?id=780426
Rico Tzschichholz [Wed, 22 Mar 2017 15:04:00 +0000 (16:04 +0100)]
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
Rico Tzschichholz [Wed, 22 Mar 2017 13:39:32 +0000 (14:39 +0100)]
vala: Slightly improve lamdba-expression error on target-type mismatch
Rico Tzschichholz [Wed, 22 Mar 2017 13:13:26 +0000 (14:13 +0100)]
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
Marvin W [Mon, 20 Mar 2017 17:50:06 +0000 (18:50 +0100)]
method: Always consider compatible with itself
This is even the case with unresolved types.
https://bugzilla.gnome.org/show_bug.cgi?id=773135
Rico Tzschichholz [Sat, 18 Mar 2017 15:22:19 +0000 (16:22 +0100)]
vapi: Update GIR-based bindings
Rico Tzschichholz [Sat, 18 Mar 2017 08:17:54 +0000 (09:17 +0100)]
Release 0.36.0
Alistair Thomas [Mon, 6 Mar 2017 18:44:24 +0000 (18:44 +0000)]
Rework NEWS for 0.36.0 release
Ole André Vadla Ravnås [Tue, 14 Mar 2017 19:44:45 +0000 (20:44 +0100)]
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
Marvin W [Tue, 14 Mar 2017 17:04:07 +0000 (18:04 +0100)]
codegen: Properly null-out source on ownership-transfer of delegates
Rico Tzschichholz [Tue, 14 Mar 2017 14:41:01 +0000 (15:41 +0100)]
gio-2.0: Add/"Unlock" missing GTask symbols
Rico Tzschichholz [Tue, 14 Mar 2017 12:55:47 +0000 (13:55 +0100)]
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.
Alistair Thomas [Thu, 9 Mar 2017 21:33:50 +0000 (21:33 +0000)]
valac: State default output directory is current working directory
https://bugzilla.gnome.org/show_bug.cgi?id=740303
Rico Tzschichholz [Tue, 14 Mar 2017 10:49:13 +0000 (11:49 +0100)]
tests: Merge two main methods
Rico Tzschichholz [Sun, 12 Mar 2017 19:32:26 +0000 (20:32 +0100)]
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
Rico Tzschichholz [Sun, 12 Mar 2017 18:59:20 +0000 (19:59 +0100)]
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
Rico Tzschichholz [Mon, 13 Mar 2017 12:53:59 +0000 (13:53 +0100)]
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
Rico Tzschichholz [Mon, 13 Mar 2017 07:22:44 +0000 (08:22 +0100)]
Release 0.35.90
Rico Tzschichholz [Mon, 13 Mar 2017 07:20:27 +0000 (08:20 +0100)]
manual: xsltproc is required for all targets
Rico Tzschichholz [Sun, 12 Mar 2017 21:33:34 +0000 (22:33 +0100)]
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
Rico Tzschichholz [Sun, 12 Mar 2017 20:55:42 +0000 (21:55 +0100)]
poppler-glib: Update to 0.52.0
Alistair Thomas [Sun, 12 Mar 2017 19:29:48 +0000 (19:29 +0000)]
manual: Add language="vala" attribute to Devhelp version
Alistair Thomas [Sat, 11 Mar 2017 23:15:31 +0000 (23:15 +0000)]
manual: Add a README about editing the manual
Alistair Thomas [Sat, 11 Mar 2017 22:52:00 +0000 (22:52 +0000)]
manual: Add pdf target that uses WeasyPrint
Alistair Thomas [Sat, 11 Mar 2017 21:33:18 +0000 (21:33 +0000)]
manual: Add print target for single page HTML and CSS paged media styling
Alistair Thomas [Wed, 8 Mar 2017 21:01:41 +0000 (21:01 +0000)]
manual: Add navigation links to top bar
Alistair Thomas [Sun, 5 Mar 2017 20:07:26 +0000 (20:07 +0000)]
manual: Generate section and sub-section numbers
Alistair Thomas [Fri, 3 Mar 2017 19:11:24 +0000 (19:11 +0000)]
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
Alistair Thomas [Sat, 11 Mar 2017 21:36:56 +0000 (21:36 +0000)]
manual: Update from wiki.gnome.org
Rico Tzschichholz [Sat, 11 Mar 2017 16:50:08 +0000 (17:50 +0100)]
vapi: Update GIR-based bindings
Rico Tzschichholz [Sat, 11 Mar 2017 09:34:34 +0000 (10:34 +0100)]
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.
Rico Tzschichholz [Tue, 7 Mar 2017 22:12:37 +0000 (23:12 +0100)]
class: Perform more thorough compatibility check of inherited properties
https://bugzilla.gnome.org/show_bug.cgi?id=779038
Simon Werbeck [Thu, 14 Aug 2014 19:47:44 +0000 (21:47 +0200)]
vala: Disallow private accessors in overridable properties
https://bugzilla.gnome.org/show_bug.cgi?id=603491
Rico Tzschichholz [Thu, 9 Mar 2017 09:53:17 +0000 (10:53 +0100)]
Mark chained relational expressions as stable
https://bugzilla.gnome.org/show_bug.cgi?id=677022
Rico Tzschichholz [Wed, 8 Mar 2017 21:55:52 +0000 (22:55 +0100)]
codegen: Fix base-access from within overriding struct-property-accessor
Based on patch by gandalfn
https://bugzilla.gnome.org/show_bug.cgi?id=764481
Alistair Thomas [Sat, 11 Jun 2016 13:02:32 +0000 (14:02 +0100)]
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
Rico Tzschichholz [Wed, 8 Mar 2017 09:31:33 +0000 (10:31 +0100)]
gstreamer-1.0: Mark *.make_writable with "ReturnsModifiedPointer"
https://bugzilla.gnome.org/show_bug.cgi?id=759255
Rico Tzschichholz [Wed, 8 Mar 2017 09:28:37 +0000 (10:28 +0100)]
girparser: Add metadata-support for "returns_modified_pointer"
https://bugzilla.gnome.org/show_bug.cgi?id=759255
Rico Tzschichholz [Wed, 8 Mar 2017 08:50:02 +0000 (09:50 +0100)]
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
Rico Tzschichholz [Tue, 7 Mar 2017 18:07:26 +0000 (19:07 +0100)]
gtk+-3.0: Widget.override_* are deprecated since 3.16
https://bugzilla.gnome.org/show_bug.cgi?id=777782
Rico Tzschichholz [Tue, 7 Mar 2017 17:23:50 +0000 (18:23 +0100)]
manual: Update timestamps of directory-targets
Rico Tzschichholz [Tue, 7 Mar 2017 15:49:20 +0000 (16:49 +0100)]
signalmodule: Fix deprecation of signals
Rico Tzschichholz [Tue, 7 Mar 2017 15:30:03 +0000 (16:30 +0100)]
signalmodule: Add signal-emitter declaration if needed
https://bugzilla.gnome.org/show_bug.cgi?id=779609
Rico Tzschichholz [Tue, 7 Mar 2017 09:51:30 +0000 (10:51 +0100)]
Release 0.35.7
Rico Tzschichholz [Sun, 5 Mar 2017 17:00:40 +0000 (18:00 +0100)]
docs: Generate and update manpages
Carlos Garnacho [Mon, 6 Mar 2017 13:23:19 +0000 (14:23 +0100)]
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
Rico Tzschichholz [Mon, 6 Mar 2017 07:51:51 +0000 (08:51 +0100)]
tests: Add "finish_instance = false" test-case
Also references IOSteam.splice_async() as compilation check.
https://bugzilla.gnome.org/show_bug.cgi?id=710103
Florian Brosch [Sun, 20 Oct 2013 15:21:01 +0000 (17:21 +0200)]
gio-2.0: Fix IOStream.splice_async()
Florian Brosch [Sun, 20 Oct 2013 15:19:35 +0000 (17:19 +0200)]
gdk-pixbuf-2.0: Fix Pixbuf.save_to_stream_async()
Florian Brosch [Tue, 15 Oct 2013 23:38:09 +0000 (01:38 +0200)]
Add "finish_instance" CCode attribute
https://bugzilla.gnome.org/show_bug.cgi?id=710103
Carlos Garnacho [Mon, 6 Mar 2017 12:16:45 +0000 (13:16 +0100)]
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
Carlos Garnacho [Mon, 6 Mar 2017 12:17:40 +0000 (13:17 +0100)]
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
Carlos Garnacho [Mon, 6 Mar 2017 10:40:24 +0000 (11:40 +0100)]
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
Rico Tzschichholz [Sun, 5 Mar 2017 22:19:44 +0000 (23:19 +0100)]
vapi: Update GIR-based bindings
Rico Tzschichholz [Sun, 5 Mar 2017 18:57:41 +0000 (19:57 +0100)]
glib-2.0: Update "g_utf8_make_valid" binding
Rico Tzschichholz [Mon, 27 Feb 2017 15:59:32 +0000 (16:59 +0100)]
memberaccess: Don't resolve base_method/property twice
https://bugzilla.gnome.org/show_bug.cgi?id=779219
Francisco Serna [Tue, 14 Feb 2017 21:05:13 +0000 (16:05 -0500)]
signalmodule: Add support for array-parameters with rank > 1
https://bugzilla.gnome.org/show_bug.cgi?id=778632
Rico Tzschichholz [Fri, 4 Nov 2016 17:06:37 +0000 (18:06 +0100)]
tests: Add a bunch of chain-up tests
https://bugzilla.gnome.org/show_bug.cgi?id=567269
Rico Tzschichholz [Sun, 5 Mar 2017 11:44:38 +0000 (12:44 +0100)]
glib-2.0: Add bindings for GPOINTER_TO_* as from_pointer()
Daniel Espinosa [Thu, 2 Mar 2017 20:30:51 +0000 (14:30 -0600)]
libxml-2.0: Adding missing API and nullable parameters
https://bugzilla.gnome.org/show_bug.cgi?id=779490
Rico Tzschichholz [Thu, 2 Mar 2017 17:24:47 +0000 (18:24 +0100)]
manual: Actually install files into "bookdir" instead of a subfolder
Niko Tyni [Mon, 19 Oct 2015 20:56:36 +0000 (23:56 +0300)]
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