]> git.ipfire.org Git - thirdparty/vala.git/log
thirdparty/vala.git
15 years agoCheck rank when checking array type compatibility
Jürg Billeter [Sat, 20 Mar 2010 22:06:48 +0000 (23:06 +0100)] 
Check rank when checking array type compatibility

Fixes bug 577222.

15 years agoReport error when using `construct' with incompatible properties
Jürg Billeter [Sat, 20 Mar 2010 22:02:51 +0000 (23:02 +0100)] 
Report error when using `construct' with incompatible properties

Fixes bug 574146.

15 years agoUse generics for g_object_*_{,q}data bindings
Jürg Billeter [Sat, 20 Mar 2010 21:39:34 +0000 (22:39 +0100)] 
Use generics for g_object_*_{,q}data bindings

Fixes bug 531043.

15 years agoFix memory management with inferred generic type arguments
Jürg Billeter [Sat, 20 Mar 2010 21:26:11 +0000 (22:26 +0100)] 
Fix memory management with inferred generic type arguments

15 years agoAvoid GPOINTER_TO_* macros with va_arg
Jürg Billeter [Sat, 20 Mar 2010 20:55:02 +0000 (21:55 +0100)] 
Avoid GPOINTER_TO_* macros with va_arg

15 years agoAdd va_list support
Jürg Billeter [Sat, 20 Mar 2010 20:49:09 +0000 (21:49 +0100)] 
Add va_list support

Based on patch by Michael Lauer, fixes bug 573337.

15 years agoAvoid temporary variable on struct initialization
Jürg Billeter [Sat, 20 Mar 2010 20:12:28 +0000 (21:12 +0100)] 
Avoid temporary variable on struct initialization

15 years agoFix constructor chain up within the same class
Jürg Billeter [Sat, 20 Mar 2010 18:33:31 +0000 (19:33 +0100)] 
Fix constructor chain up within the same class

Fixes bug 603375.

15 years agoInfer type arguments when calling generic methods
Jürg Billeter [Sat, 20 Mar 2010 18:12:37 +0000 (19:12 +0100)] 
Infer type arguments when calling generic methods

Fixes bug 611235.

15 years agoFix double free with owned named arguments
Jürg Billeter [Sat, 20 Mar 2010 17:33:05 +0000 (18:33 +0100)] 
Fix double free with owned named arguments

Fixes bug 601930.

15 years agoReport error on invalid array creation expressions for stacked arrays
Jürg Billeter [Sat, 20 Mar 2010 16:42:00 +0000 (17:42 +0100)] 
Report error on invalid array creation expressions for stacked arrays

Fixes bug 540730.

15 years agolibusb: Do not use `weak' modifier where it is not applicable
Jürg Billeter [Sat, 20 Mar 2010 16:25:39 +0000 (17:25 +0100)] 
libusb: Do not use `weak' modifier where it is not applicable

15 years agosqlite3: Do not use `weak' modifier where it is not applicable
Jürg Billeter [Sat, 20 Mar 2010 16:20:08 +0000 (17:20 +0100)] 
sqlite3: Do not use `weak' modifier where it is not applicable

15 years agogmodule-2.0: Do not use `weak' modifier where it is not applicable
Jürg Billeter [Sat, 20 Mar 2010 16:19:54 +0000 (17:19 +0100)] 
gmodule-2.0: Do not use `weak' modifier where it is not applicable

15 years agogstreamer-0.10: Do not hide GstBuffer.size to retain compatibility
Jürg Billeter [Sat, 20 Mar 2010 16:18:13 +0000 (17:18 +0100)] 
gstreamer-0.10: Do not hide GstBuffer.size to retain compatibility

15 years agoSupport explicit constructors for boolean, integer, and floating types
Jürg Billeter [Sat, 20 Mar 2010 16:14:01 +0000 (17:14 +0100)] 
Support explicit constructors for boolean, integer, and floating types

15 years agoImprove error reporting for local variable initializers
Jürg Billeter [Sat, 20 Mar 2010 16:05:24 +0000 (17:05 +0100)] 
Improve error reporting for local variable initializers

15 years agoDo not support constructors for boolean, integer, and floating types
Jürg Billeter [Sat, 20 Mar 2010 16:02:36 +0000 (17:02 +0100)] 
Do not support constructors for boolean, integer, and floating types

Fixes bug 578968.

15 years agoDo not warn on assignment to same variable of different instance
Jürg Billeter [Sat, 20 Mar 2010 15:50:18 +0000 (16:50 +0100)] 
Do not warn on assignment to same variable of different instance

15 years agoFix constructor chain up to generic compact classes
Jürg Billeter [Sat, 20 Mar 2010 15:40:56 +0000 (16:40 +0100)] 
Fix constructor chain up to generic compact classes

Fixes bug 594063.

15 years agogobject-2.0: Remove Object.finalize binding
Jürg Billeter [Sat, 20 Mar 2010 15:31:03 +0000 (16:31 +0100)] 
gobject-2.0: Remove Object.finalize binding

Overriding Object.finalize conflicts with destructors.

Fixes bug 592265.

15 years agoDo not allow access to instance members of outer classes
Jürg Billeter [Sat, 20 Mar 2010 15:12:08 +0000 (16:12 +0100)] 
Do not allow access to instance members of outer classes

Fixes bug 595216.

15 years agoGType: Do not allow 'type' properties
Luca Bruno [Sat, 20 Mar 2010 13:47:51 +0000 (14:47 +0100)] 
GType: Do not allow 'type' properties

Generated get_type function would cause conflicts.

Fixes bug 586817.

15 years agoAdd Signal attribute for signal declarations
Jens Georg [Sat, 12 Sep 2009 12:25:45 +0000 (14:25 +0200)] 
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.

15 years agoSupport .connect() and .connect_after() for dynamic signals
Luca Bruno [Sat, 13 Mar 2010 22:16:30 +0000 (23:16 +0100)] 
Support .connect() and .connect_after() for dynamic signals

Fixes bug 607936.

15 years agoFix disconnecting from detailed signal
Jonathan Conder [Sat, 20 Mar 2010 12:53:03 +0000 (13:53 +0100)] 
Fix disconnecting from detailed signal

Fixes bug 602293.

15 years agoD-Bus: Fix C warning with array return values in dynamic clients
Frederik Zipp [Sat, 20 Mar 2010 12:10:22 +0000 (13:10 +0100)] 
D-Bus: Fix C warning with array return values in dynamic clients

Fixes bug 612997.

15 years agoFix critical when accessing implicit result variable
Jürg Billeter [Sat, 20 Mar 2010 11:56:59 +0000 (12:56 +0100)] 
Fix critical when accessing implicit result variable

The implicit result variable is used in postconditions and in the
dova profile.

Fixes bug 601346.

15 years agoReport error when using reference parameters in async methods
Jürg Billeter [Sat, 20 Mar 2010 11:40:40 +0000 (12:40 +0100)] 
Report error when using reference parameters in async methods

Fixes bug 610624.

15 years agoDrop ReadOnly* collection classes
Jürg Billeter [Sat, 20 Mar 2010 11:10:54 +0000 (12:10 +0100)] 
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.

15 years agoglib-2.0: Drop unused PlusOperator attribute
pancake [Sat, 20 Mar 2010 10:37:41 +0000 (11:37 +0100)] 
glib-2.0: Drop unused PlusOperator attribute

Fixes bug 611164.

15 years agoWarn when using `weak' modifier where it is not applicable bd65b0d4dc74142ab00bcd9620ce798f3f304c55
Jürg Billeter [Sat, 20 Mar 2010 10:32:30 +0000 (11:32 +0100)] 
Warn when using `weak' modifier where it is not applicable

Based on patch by Jiří Zárevúcky.

15 years agoDo not use `weak' modifier where it is not applicable
Jürg Billeter [Sat, 20 Mar 2010 10:31:04 +0000 (11:31 +0100)] 
Do not use `weak' modifier where it is not applicable

15 years agoUse switch instead of do-while for string switch statements
Luca Bruno [Thu, 11 Mar 2010 12:04:26 +0000 (13:04 +0100)] 
Use switch instead of do-while for string switch statements

Fixes bug 541229.

15 years agoWarn on assignment to same variable
Jürg Billeter [Sat, 20 Mar 2010 10:01:20 +0000 (11:01 +0100)] 
Warn on assignment to same variable

15 years agoReturn NULL in to_string() for invalid enum values
Luca Bruno [Mon, 8 Mar 2010 20:48:52 +0000 (21:48 +0100)] 
Return NULL in to_string() for invalid enum values

Fixes bug 612141.

15 years agoUse fmod/fmodf for modulo operation between floating point values
Luca Bruno [Thu, 11 Mar 2010 11:10:03 +0000 (12:10 +0100)] 
Use fmod/fmodf for modulo operation between floating point values

Fixes bug 610660.

15 years agolinux: add framebuffer constants, structs, and ioctls
Michael 'Mickey' Lauer [Wed, 17 Mar 2010 16:44:55 +0000 (17:44 +0100)] 
linux: add framebuffer constants, structs, and ioctls

15 years agogstreamer-0.10: Fix Gst.Buffer subclassing
Jürg Billeter [Mon, 15 Mar 2010 20:03:24 +0000 (21:03 +0100)] 
gstreamer-0.10: Fix Gst.Buffer subclassing

15 years agoglib-2.0: GLib.static_assert returns void
Evan Nemerson [Sun, 14 Mar 2010 21:18:02 +0000 (14:18 -0700)] 
glib-2.0: GLib.static_assert returns void

15 years agojson-glib-1.0: Make json_parser_load_from_data.length default to -1
Evan Nemerson [Sun, 14 Mar 2010 20:41:29 +0000 (13:41 -0700)] 
json-glib-1.0: Make json_parser_load_from_data.length default to -1

Fixes bug 612601.

15 years agovapigen: Support default_value for arguments
Evan Nemerson [Sun, 14 Mar 2010 20:41:02 +0000 (13:41 -0700)] 
vapigen: Support default_value for arguments

15 years agoMake all Literal constructors accept null SourceReferences
Evan Nemerson [Sun, 14 Mar 2010 19:35:29 +0000 (12:35 -0700)] 
Make all Literal constructors accept null SourceReferences

15 years agoRegenerate all bindings
Evan Nemerson [Sun, 14 Mar 2010 20:48:05 +0000 (13:48 -0700)] 
Regenerate all bindings

15 years agoPurple bindings: fix excludes and add GI file
Adrien Bustany [Sun, 14 Mar 2010 20:36:32 +0000 (17:36 -0300)] 
Purple bindings: fix excludes and add GI file

15 years agoglib-2.0: Use strtol instead of atol for string.to_long
Evan Nemerson [Sun, 14 Mar 2010 19:34:01 +0000 (12:34 -0700)] 
glib-2.0: Use strtol instead of atol for string.to_long

15 years agoSplit large string literals into multiple lines
Jürg Billeter [Fri, 22 Jan 2010 23:03:06 +0000 (00:03 +0100)] 
Split large string literals into multiple lines

Based on patch by Marc-André Lureau, fixes bug 606838.

15 years agojson-glib-1.0: Use metadata instead of json-glib-1.0-custom.vala
Evan Nemerson [Sun, 14 Mar 2010 05:25:30 +0000 (21:25 -0800)] 
json-glib-1.0: Use metadata instead of json-glib-1.0-custom.vala

15 years agolibgnomeui-2.0: Update to 2.24.2.
Evan Nemerson [Sun, 14 Mar 2010 04:12:03 +0000 (20:12 -0800)] 
libgnomeui-2.0: Update to 2.24.2.

15 years agolibrsvg-2.0: Update to 2.26.0, remove librsvg-2.0-custom.vala
Evan Nemerson [Sun, 14 Mar 2010 03:57:34 +0000 (19:57 -0800)] 
librsvg-2.0: Update to 2.26.0, remove librsvg-2.0-custom.vala

15 years agogtk+-2.0: Hide many unwanted user data and destroy notify arguments
Evan Nemerson [Sun, 14 Mar 2010 03:51:12 +0000 (19:51 -0800)] 
gtk+-2.0: Hide many unwanted user data and destroy notify arguments

Fixes bug 611021.

15 years agowebkit-1.0: Update webkit bindings to 1.1.22
Diego Escalante Urrelo [Sun, 21 Feb 2010 00:14:52 +0000 (19:14 -0500)] 
webkit-1.0: Update webkit bindings to 1.1.22

Fixes bug 610569.

15 years agogtk+-2.0: Make GtkContainer::set_focus_child's argument nullable
Evan Nemerson [Sun, 14 Mar 2010 03:21:19 +0000 (19:21 -0800)] 
gtk+-2.0: Make GtkContainer::set_focus_child's argument nullable

Fixes bug 611492.

15 years agogtk+-2.0: Fix several GtkIMContext-related bindings
Evan Nemerson [Sun, 14 Mar 2010 02:50:41 +0000 (18:50 -0800)] 
gtk+-2.0: Fix several GtkIMContext-related bindings

Fixes bug 611533.

15 years agogdk-2.0: Mark Gdk.Region.get_rectangles rectangles param as out
Evan Nemerson [Sun, 14 Mar 2010 01:28:19 +0000 (17:28 -0800)] 
gdk-2.0: Mark Gdk.Region.get_rectangles rectangles param as out

Fixes bug 612632.

15 years agogtk+-2.0: Add many missing type arguments
Evan Nemerson [Sun, 14 Mar 2010 00:23:33 +0000 (16:23 -0800)] 
gtk+-2.0: Add many missing type arguments

Partially fixes bug 609875.

15 years agovapigen: Improve support for type_arguments
Evan Nemerson [Sun, 14 Mar 2010 00:17:13 +0000 (16:17 -0800)] 
vapigen: Improve support for type_arguments

Fixes bug 609693.

15 years agogstreamer-video-0.10: don't hide Gst.VideoFormat members
Evan Nemerson [Sun, 14 Mar 2010 00:02:27 +0000 (16:02 -0800)] 
gstreamer-video-0.10: don't hide Gst.VideoFormat members

15 years agogstreamer-netbuffer-0.10: Hide Gst.NetBufferClass
Evan Nemerson [Sat, 13 Mar 2010 23:51:22 +0000 (15:51 -0800)] 
gstreamer-netbuffer-0.10: Hide Gst.NetBufferClass

15 years agosdl: Remove unnecessary argument to SDL.Key.get_keys
Evan Nemerson [Sat, 13 Mar 2010 22:53:23 +0000 (14:53 -0800)] 
sdl: Remove unnecessary argument to SDL.Key.get_keys

15 years agoFix instance_pos attribute writing in VAPI files
Jürg Billeter [Sat, 13 Mar 2010 22:10:24 +0000 (23:10 +0100)] 
Fix instance_pos attribute writing in VAPI files

Fixes bug 609088.

15 years agodova: Do not write `owned' in VAPI files
Jürg Billeter [Sat, 13 Mar 2010 20:54:35 +0000 (21:54 +0100)] 
dova: Do not write `owned' in VAPI files

15 years agodova: Do not support foreach without iterator
Jürg Billeter [Sat, 13 Mar 2010 20:49:39 +0000 (21:49 +0100)] 
dova: Do not support foreach without iterator

15 years agodova: Add implicit result variable
Jürg Billeter [Sat, 13 Mar 2010 20:44:21 +0000 (21:44 +0100)] 
dova: Add implicit result variable

15 years agodova: Do not accept `owned' for property get accessors
Jürg Billeter [Sat, 13 Mar 2010 20:24:05 +0000 (21:24 +0100)] 
dova: Do not accept `owned' for property get accessors

15 years agodova: Pass structs by value by default
Jürg Billeter [Sat, 13 Mar 2010 20:00:38 +0000 (21:00 +0100)] 
dova: Pass structs by value by default

15 years agodova: Use long/ulong for 64-bit integer literals
Jürg Billeter [Sat, 13 Mar 2010 19:58:36 +0000 (20:58 +0100)] 
dova: Use long/ulong for 64-bit integer literals

15 years agodova: Classes derive from Object by default
Jürg Billeter [Sat, 13 Mar 2010 19:56:02 +0000 (20:56 +0100)] 
dova: Classes derive from Object by default

15 years agodova: Accept list, set, and map literals and tuples
Jürg Billeter [Sat, 13 Mar 2010 19:43:56 +0000 (20:43 +0100)] 
dova: Accept list, set, and map literals and tuples

15 years agoDrop support for bootstrapping with vala < 0.7.6
Jürg Billeter [Sat, 13 Mar 2010 19:32:22 +0000 (20:32 +0100)] 
Drop support for bootstrapping with vala < 0.7.6

15 years agodova: Do not support array or object member initializers
Jürg Billeter [Sat, 13 Mar 2010 19:23:19 +0000 (20:23 +0100)] 
dova: Do not support array or object member initializers

15 years agodova: Do not accept `unowned' or `owned' in dova profile
Jürg Billeter [Sat, 13 Mar 2010 19:18:28 +0000 (20:18 +0100)] 
dova: Do not accept `unowned' or `owned' in dova profile

This also changes property get accessors to return owned values.

15 years agodova: Do not require types uchar and int8 in dova profile
Jürg Billeter [Sat, 13 Mar 2010 19:14:10 +0000 (20:14 +0100)] 
dova: Do not require types uchar and int8 in dova profile

15 years agovalac: Add --nostdpkg option
Jürg Billeter [Sat, 13 Mar 2010 19:09:32 +0000 (20:09 +0100)] 
valac: Add --nostdpkg option

Do not include standard packages.

15 years agoAdd stub dova profile
Jürg Billeter [Sat, 13 Mar 2010 19:01:08 +0000 (20:01 +0100)] 
Add stub dova profile

15 years agoDo not use static modifier for extern methods
Jürg Billeter [Sat, 13 Mar 2010 17:51:02 +0000 (18:51 +0100)] 
Do not use static modifier for extern methods

Based on patch by Marc-André Lureau, fixes bug 584105.

15 years agoFix nested struct expression as method argument
Marc-André Lureau [Sat, 23 Jan 2010 16:05:25 +0000 (17:05 +0100)] 
Fix nested struct expression as method argument

Fixes bug 580046.

15 years agoSupport connect_after for signals
Luca Bruno [Sat, 16 Jan 2010 18:05:33 +0000 (19:05 +0100)] 
Support connect_after for signals

Fixes bug 560773.

15 years agoObject.new will ref_sink() the returned instance if it is floating
Luca Bruno [Sun, 28 Feb 2010 14:06:56 +0000 (15:06 +0100)] 
Object.new will ref_sink() the returned instance if it is floating

Fixes bug 555006.

15 years agoSupport array_length_type for fields
Evan Nemerson [Sat, 13 Mar 2010 17:05:14 +0000 (18:05 +0100)] 
Support array_length_type for fields

Fixes part of bug 529866.

15 years agoReport error on use of tuples
Jürg Billeter [Sat, 13 Mar 2010 16:32:48 +0000 (17:32 +0100)] 
Report error on use of tuples

Tuples are not supported as primary expressions.

Based on patch by Adam Folmert, fixes bug 597955.

15 years agobuild: Use git-version-gen
Jürg Billeter [Thu, 28 Jan 2010 00:30:58 +0000 (01:30 +0100)] 
build: Use git-version-gen

Add git-version-gen script from gnulib.

Based on patch by Marc-André Lureau.

15 years agobuild: Use separate directory for auxiliary build tools
Jürg Billeter [Fri, 12 Mar 2010 18:56:57 +0000 (19:56 +0100)] 
build: Use separate directory for auxiliary build tools

15 years agoFix use of memory profiler in multithreaded applications
Jörn Magens [Fri, 12 Mar 2010 14:50:13 +0000 (15:50 +0100)] 
Fix use of memory profiler in multithreaded applications

Fixes bug 607973.

15 years agoFix memory leak of method arguments in error case
Jürg Billeter [Thu, 11 Mar 2010 23:07:08 +0000 (00:07 +0100)] 
Fix memory leak of method arguments in error case

Fixes bug 611242.

15 years agoFix retrieving array length from constants in other source files
Jürg Billeter [Thu, 11 Mar 2010 22:33:11 +0000 (23:33 +0100)] 
Fix retrieving array length from constants in other source files

Fixes bug 612315.

15 years agolibsoup-2.4: Make Soup.Session.queue_message callback nullable
Evan Nemerson [Wed, 10 Mar 2010 19:53:30 +0000 (11:53 -0800)] 
libsoup-2.4: Make Soup.Session.queue_message callback nullable

Fixes bug 612050.

15 years agogoocanvas: Correct cname of Goo.CanvasImage.create
Evan Nemerson [Wed, 10 Mar 2010 19:18:53 +0000 (11:18 -0800)] 
goocanvas: Correct cname of Goo.CanvasImage.create

Fixes bug 612221.

15 years agorest bindings: Mark parameter as nullable
Adrien Bustany [Wed, 10 Mar 2010 18:10:48 +0000 (15:10 -0300)] 
rest bindings: Mark parameter as nullable

This commit marks the weak_object parameter of rest_proxy_call_run_async as
nullable.

15 years agorest bindings: Mark nullable parameters as such
Adrien Bustany [Wed, 10 Mar 2010 18:07:46 +0000 (15:07 -0300)] 
rest bindings: Mark nullable parameters as such

This commit marks the weak_object parameter of RestProxyCallAsyncCallback and
OAuthProxyCallAuthCallback as nullable

15 years agoUpdate libdata bindings
Adrien Bustany [Tue, 9 Mar 2010 02:15:28 +0000 (23:15 -0300)] 
Update libdata bindings

15 years agoFix flow analysis for catch clauses with specific error types
Jürg Billeter [Wed, 10 Mar 2010 16:11:50 +0000 (17:11 +0100)] 
Fix flow analysis for catch clauses with specific error types

15 years agoMark return type of `as` operator as nullable
Jürg Billeter [Wed, 10 Mar 2010 06:56:00 +0000 (07:56 +0100)] 
Mark return type of `as` operator as nullable

Fixes bug 612382.

15 years agoFix (!) non-null cast for structs
Jürg Billeter [Wed, 10 Mar 2010 06:52:06 +0000 (07:52 +0100)] 
Fix (!) non-null cast for structs

Fixes bug 612380.

15 years agoposix: Use __compar_fn_t as cname for compar_fn_t
Ryan Lortie [Wed, 10 Mar 2010 06:15:51 +0000 (01:15 -0500)] 
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.

15 years agomore GVariant vapi updates
Ryan Lortie [Wed, 10 Mar 2010 05:31:59 +0000 (00:31 -0500)] 
more GVariant vapi updates

15 years agofix typo in posix vapi ([CCOde] -> [CCode])
Ryan Lortie [Wed, 10 Mar 2010 05:31:44 +0000 (00:31 -0500)] 
fix typo in posix vapi ([CCOde] -> [CCode])

15 years agoMake BinaryExpression.get_operator_string public
Jürg Billeter [Tue, 9 Mar 2010 22:06:35 +0000 (23:06 +0100)] 
Make BinaryExpression.get_operator_string public

15 years agoFix generated destroy function wrappers
Jürg Billeter [Tue, 9 Mar 2010 20:35:21 +0000 (21:35 +0100)] 
Fix generated destroy function wrappers

The function declaration was missing the static modifier.

15 years agoUse correct marshaller for fundamental classes
Jürg Billeter [Tue, 9 Mar 2010 16:27:50 +0000 (17:27 +0100)] 
Use correct marshaller for fundamental classes

Fixes bug 611845.