]> git.ipfire.org Git - thirdparty/vala.git/log
thirdparty/vala.git
14 years agoRename vala.vapi to libvala.vapi to match pkg-config name
Jürg Billeter [Tue, 5 Oct 2010 18:21:23 +0000 (20:21 +0200)] 
Rename vala.vapi to libvala.vapi to match pkg-config name

14 years agoRelease 0.11.0 0.11.0
Jürg Billeter [Mon, 4 Oct 2010 13:16:48 +0000 (15:16 +0200)] 
Release 0.11.0

14 years agobuild: Fix distcheck
Jürg Billeter [Mon, 4 Oct 2010 13:27:28 +0000 (15:27 +0200)] 
build: Fix distcheck

14 years agoglib-2.0: add MainContext.invoke and invoke_full
Ryan Lortie [Mon, 4 Oct 2010 12:35:14 +0000 (08:35 -0400)] 
glib-2.0: add MainContext.invoke and invoke_full

14 years agogtk+-2.0, gtk+-3.0: transfer ownership of TextBuffer.get_text return
Rob Powell [Mon, 4 Oct 2010 02:00:00 +0000 (19:00 -0700)] 
gtk+-2.0, gtk+-3.0: transfer ownership of TextBuffer.get_text return

Fixes bug 630741.

14 years agogedit-2.20: transfer ownership of Gedit.Document.get_uri return value
Rob Powell [Mon, 4 Oct 2010 01:59:08 +0000 (18:59 -0700)] 
gedit-2.20: transfer ownership of Gedit.Document.get_uri return value

Partially fixes bug 630741.

14 years agogobject-2.0: Add GBinding bindings
Evan Nemerson [Mon, 4 Oct 2010 00:32:37 +0000 (17:32 -0700)] 
gobject-2.0: Add GBinding bindings

Based on patch by Gregor Burger, fixes bug 629791.

14 years agoglib-2.0: Update GDateTime binding
Jürg Billeter [Sun, 3 Oct 2010 22:49:22 +0000 (00:49 +0200)] 
glib-2.0: Update GDateTime binding

14 years agogtk+-3.0: Update to 2.91.0
Jürg Billeter [Sun, 3 Oct 2010 21:20:30 +0000 (23:20 +0200)] 
gtk+-3.0: Update to 2.91.0

14 years agocairo: Update to 1.10.0
Jürg Billeter [Sun, 3 Oct 2010 21:20:05 +0000 (23:20 +0200)] 
cairo: Update to 1.10.0

14 years agoSupport adding new source files while visiting the code tree
Luca Bruno [Mon, 23 Aug 2010 18:51:48 +0000 (20:51 +0200)] 
Support adding new source files while visiting the code tree

14 years agoMove package adding logic to CodeContext
Luca Bruno [Mon, 23 Aug 2010 17:42:44 +0000 (19:42 +0200)] 
Move package adding logic to CodeContext

14 years agoMove source file adding logic to CodeContext
Luca Bruno [Mon, 23 Aug 2010 16:21:31 +0000 (18:21 +0200)] 
Move source file adding logic to CodeContext

14 years agoCodeWriter: Do not write extern in EXTERNAL mode
Jürg Billeter [Sun, 3 Oct 2010 19:54:12 +0000 (21:54 +0200)] 
CodeWriter: Do not write extern in EXTERNAL mode

14 years agoAlways use public accessibility for enum values
Jürg Billeter [Sun, 3 Oct 2010 20:10:00 +0000 (22:10 +0200)] 
Always use public accessibility for enum values

14 years agocodegen: Fix GVariant to array conversion in async methods
Jürg Billeter [Sun, 3 Oct 2010 17:26:53 +0000 (19:26 +0200)] 
codegen: Fix GVariant to array conversion in async methods

14 years agodova: Fix crash on replaced expressions in list and set literals
Jürg Billeter [Thu, 30 Sep 2010 19:27:50 +0000 (21:27 +0200)] 
dova: Fix crash on replaced expressions in list and set literals

14 years agodova: Fix critical on ellipsis parameter
Jürg Billeter [Sun, 26 Sep 2010 11:26:23 +0000 (13:26 +0200)] 
dova: Fix critical on ellipsis parameter

14 years agomysql: Automatically get length of arrays returned by Result methods.
Evan Nemerson [Sat, 2 Oct 2010 22:00:05 +0000 (15:00 -0700)] 
mysql: Automatically get length of arrays returned by Result methods.

14 years agomysql: Add several enums, bindings for the Mysql.Field members.
Jukka-Pekka Iivonen [Sat, 2 Oct 2010 21:47:44 +0000 (14:47 -0700)] 
mysql: Add several enums, bindings for the Mysql.Field members.

Fixes bug 627804.

14 years agoclutter-1.0: Fix LayoutManager.get_preferred_{height,width} bindings.
Evan Nemerson [Sat, 2 Oct 2010 20:12:07 +0000 (13:12 -0700)] 
clutter-1.0: Fix LayoutManager.get_preferred_{height,width} bindings.

Fixes bug 628036.

14 years agosqlite3: Assorted memory management fixes for strings and blobs.
Evan Nemerson [Mon, 27 Sep 2010 20:01:41 +0000 (13:01 -0700)] 
sqlite3: Assorted memory management fixes for strings and blobs.

14 years agoAppend errordomain doc comments to generated C files
Jürg Billeter [Thu, 30 Sep 2010 15:04:50 +0000 (17:04 +0200)] 
Append errordomain doc comments to generated C files

14 years agodova: Support type checks and silent casts
Jürg Billeter [Thu, 30 Sep 2010 09:10:26 +0000 (11:10 +0200)] 
dova: Support type checks and silent casts

14 years agoGenie: Fix ownership of inline allocated arrays
Jamie McCracken [Tue, 28 Sep 2010 03:46:18 +0000 (23:46 -0400)] 
Genie: Fix ownership of inline allocated arrays

14 years agoGenie: Do not create empty type parameter lists in parser
Jamie McCracken [Tue, 28 Sep 2010 03:37:18 +0000 (23:37 -0400)] 
Genie: Do not create empty type parameter lists in parser

14 years agoGenie: Fix accessibility of Enums
Jamie McCracken [Tue, 28 Sep 2010 03:30:30 +0000 (23:30 -0400)] 
Genie: Fix accessibility of Enums

14 years agoRename pkg-config file from vala to libvala
Jürg Billeter [Sun, 26 Sep 2010 08:27:10 +0000 (10:27 +0200)] 
Rename pkg-config file from vala to libvala

This should make clear that it should only be used for libvala.

14 years agoAdd hard dependency on vala-0.10 package.
Evan Nemerson [Wed, 22 Sep 2010 00:09:14 +0000 (02:09 +0200)] 
Add hard dependency on vala-0.10 package.

14 years agolibvaladoc/ctyperesolver: Resolve unbrowsable nodes
Florian Brosch [Tue, 21 Sep 2010 22:49:23 +0000 (00:49 +0200)] 
libvaladoc/ctyperesolver: Resolve unbrowsable nodes

14 years agoFix build with vala 0.10.0
Florian Brosch [Sun, 19 Sep 2010 15:31:02 +0000 (17:31 +0200)] 
Fix build with vala 0.10.0

14 years agoReport error when using pointer arithmetic with void*
Jürg Billeter [Mon, 20 Sep 2010 18:04:32 +0000 (20:04 +0200)] 
Report error when using pointer arithmetic with void*

14 years agocodegen: Fix missing _inner_error_ declaration in constructors
Jürg Billeter [Mon, 20 Sep 2010 16:04:03 +0000 (18:04 +0200)] 
codegen: Fix missing _inner_error_ declaration in constructors

14 years agoRelease 0.10.0
Jürg Billeter [Fri, 17 Sep 2010 22:24:31 +0000 (00:24 +0200)] 
Release 0.10.0

14 years agogio-2.0: Fix g_settings_list_* bindings
Jürg Billeter [Fri, 17 Sep 2010 21:55:36 +0000 (23:55 +0200)] 
gio-2.0: Fix g_settings_list_* bindings

Fixes bug 629860.

14 years agogio-2.0: Update to GLib master
Jürg Billeter [Fri, 17 Sep 2010 22:11:42 +0000 (00:11 +0200)] 
gio-2.0: Update to GLib master

14 years agogio-2.0: Add DBusConnection.get_proxy_sync to gio-2.0-custom.vala
Jürg Billeter [Fri, 17 Sep 2010 22:10:27 +0000 (00:10 +0200)] 
gio-2.0: Add DBusConnection.get_proxy_sync to gio-2.0-custom.vala

14 years agoglib-2.0: make HashFunc and EqualFunc generic delegates
Maciej Piechotka [Fri, 17 Sep 2010 18:54:21 +0000 (11:54 -0700)] 
glib-2.0: make HashFunc and EqualFunc generic delegates

Fixes bug 625878.

14 years agoglib-2.0: make CompareFunc and CompareDataFunc generic delegates
Maciej Piechotka [Mon, 2 Aug 2010 21:44:38 +0000 (23:44 +0200)] 
glib-2.0: make CompareFunc and CompareDataFunc generic delegates

Fixes bug 625877.

14 years agoglib-2.0: Add GDateTime bindings
Jürg Billeter [Thu, 16 Sep 2010 12:46:47 +0000 (14:46 +0200)] 
glib-2.0: Add GDateTime bindings

14 years agogtksourceview-2.0: make SourceCompletionProvider.get_icon nullable
Evan Nemerson [Fri, 17 Sep 2010 06:21:09 +0000 (23:21 -0700)] 
gtksourceview-2.0: make SourceCompletionProvider.get_icon nullable

Fixes bug 628774.

14 years agoposix: add getpwnam binding
Robert Ancell [Fri, 17 Sep 2010 06:12:58 +0000 (23:12 -0700)] 
posix: add getpwnam binding

Fixes bug 628933.

14 years agoreadline: fix the completion_matches binding
Philip Withnall [Tue, 7 Sep 2010 16:06:58 +0000 (17:06 +0100)] 
readline: fix the completion_matches binding

14 years agoreadline: fix the cname of CompentryFunc
Philip Withnall [Tue, 7 Sep 2010 16:06:26 +0000 (17:06 +0100)] 
readline: fix the cname of CompentryFunc

14 years agoreadline: fix the signature of CompletionFunc
Philip Withnall [Tue, 7 Sep 2010 15:37:00 +0000 (16:37 +0100)] 
readline: fix the signature of CompletionFunc

14 years agoreadline: fix the attempted_completion_function binding
Philip Withnall [Tue, 7 Sep 2010 15:10:31 +0000 (16:10 +0100)] 
readline: fix the attempted_completion_function binding

Fixes bug 628966.

14 years agoglib-2.0: Add several missing symbols for glib-2.26.
Evan Nemerson [Fri, 17 Sep 2010 05:32:07 +0000 (22:32 -0700)] 
glib-2.0: Add several missing symbols for glib-2.26.

15 years agoglib-2.0: Add g_key_file_get/set_int64 bindings
Jürg Billeter [Thu, 16 Sep 2010 20:46:39 +0000 (22:46 +0200)] 
glib-2.0: Add g_key_file_get/set_int64 bindings

15 years agogirparser: Report error on unsupported GIR version
Jürg Billeter [Thu, 16 Sep 2010 15:39:58 +0000 (17:39 +0200)] 
girparser: Report error on unsupported GIR version

Fixes bug 629805.

15 years agogirwriter: Fix crash in attribute handling
Jürg Billeter [Thu, 16 Sep 2010 15:32:53 +0000 (17:32 +0200)] 
girwriter: Fix crash in attribute handling

Fixes bug 629364.

15 years agoD-Bus: Add missing gio.h include for GDBus servers
Jürg Billeter [Thu, 16 Sep 2010 14:51:51 +0000 (16:51 +0200)] 
D-Bus: Add missing gio.h include for GDBus servers

15 years agoD-Bus: Do not use GLib.Application in tests
Jürg Billeter [Wed, 15 Sep 2010 20:52:37 +0000 (22:52 +0200)] 
D-Bus: Do not use GLib.Application in tests

GApplication will not be available in GLib 2.26.

15 years agogirparser: Fix detection of asynchronous methods
Jürg Billeter [Wed, 15 Sep 2010 18:39:38 +0000 (20:39 +0200)] 
girparser: Fix detection of asynchronous methods

15 years agoWrite GIR version 1.2 instead of version 1.1
Evan Nemerson [Mon, 6 Sep 2010 22:40:03 +0000 (15:40 -0700)] 
Write GIR version 1.2 instead of version 1.1

Fixes bug 628927.

15 years agogirparser: Set array_length_cname
Jürg Billeter [Wed, 15 Sep 2010 18:09:16 +0000 (20:09 +0200)] 
girparser: Set array_length_cname

Fixes bug 629691.

15 years agoAdd array_length_cname attribute for parameters
Jürg Billeter [Wed, 15 Sep 2010 18:00:37 +0000 (20:00 +0200)] 
Add array_length_cname attribute for parameters

15 years agogirparser: Update to parameter index handling used in GIR version 1.2
Jürg Billeter [Mon, 13 Sep 2010 20:07:54 +0000 (22:07 +0200)] 
girparser: Update to parameter index handling used in GIR version 1.2

15 years agogirparser: Update to prefix handling used in GIR version 1.2
Jürg Billeter [Mon, 13 Sep 2010 20:05:21 +0000 (22:05 +0200)] 
girparser: Update to prefix handling used in GIR version 1.2

15 years agogirparser: Support alias syntax used in GIR version 1.2
Jürg Billeter [Mon, 13 Sep 2010 18:54:19 +0000 (20:54 +0200)] 
girparser: Support alias syntax used in GIR version 1.2

15 years agogirparser: Support type names used in GIR version 1.2
Jürg Billeter [Mon, 13 Sep 2010 18:44:06 +0000 (20:44 +0200)] 
girparser: Support type names used in GIR version 1.2

15 years agoReport error when throwing internal errors from public methods
Jürg Billeter [Tue, 14 Sep 2010 07:34:09 +0000 (09:34 +0200)] 
Report error when throwing internal errors from public methods

15 years agoFix crash on invalid constructor chain up
Jürg Billeter [Mon, 13 Sep 2010 20:19:39 +0000 (22:19 +0200)] 
Fix crash on invalid constructor chain up

Fixes bug 628182.

15 years agoFix to_string method for enums
Jürg Billeter [Mon, 13 Sep 2010 17:41:07 +0000 (19:41 +0200)] 
Fix to_string method for enums

15 years agocodegen: Fix missing _inner_error_ declaration in destructors
Jürg Billeter [Mon, 13 Sep 2010 17:26:30 +0000 (19:26 +0200)] 
codegen: Fix missing _inner_error_ declaration in destructors

Fixes bug 629366.

15 years agoHost parvala in git
Ryan Lortie [Sat, 11 Sep 2010 18:14:31 +0000 (14:14 -0400)] 
Host parvala in git

15 years agoCodeWriter: add 'new' to methods where appropriate
Ryan Lortie [Sat, 11 Sep 2010 16:16:37 +0000 (12:16 -0400)] 
CodeWriter: add 'new' to methods where appropriate

15 years agoCheck accessibility of constants
Jürg Billeter [Fri, 10 Sep 2010 16:07:41 +0000 (18:07 +0200)] 
Check accessibility of constants

15 years agoReport error for private virtual methods
Jürg Billeter [Fri, 10 Sep 2010 15:57:44 +0000 (17:57 +0200)] 
Report error for private virtual methods

15 years agoCodeWriter: Do not do any sorting in FAST mode
Jürg Billeter [Fri, 10 Sep 2010 15:34:43 +0000 (17:34 +0200)] 
CodeWriter: Do not do any sorting in FAST mode

Order of virtual methods matters for fast-vapis

15 years agoUnresolvedType: Override is_disposable method
Jürg Billeter [Fri, 10 Sep 2010 07:48:45 +0000 (09:48 +0200)] 
UnresolvedType: Override is_disposable method

15 years agoDo not require interface implementations in fast-vapi
Jürg Billeter [Fri, 10 Sep 2010 07:38:40 +0000 (09:38 +0200)] 
Do not require interface implementations in fast-vapi

15 years agoCodeWriter: Support external symbols
Jürg Billeter [Fri, 10 Sep 2010 07:32:48 +0000 (09:32 +0200)] 
CodeWriter: Support external symbols

15 years agoPort remaining code nodes to use accept_children for visiting children
Luca Bruno [Thu, 3 Jun 2010 08:32:31 +0000 (10:32 +0200)] 
Port remaining code nodes to use accept_children for visiting children

Fixes bug 566870.

15 years agoCodeWriter: Support non-constant expressions as default arguments
Jürg Billeter [Fri, 10 Sep 2010 06:47:53 +0000 (08:47 +0200)] 
CodeWriter: Support non-constant expressions as default arguments

15 years agocodegen: Fix external constants
Jürg Billeter [Fri, 10 Sep 2010 06:33:52 +0000 (08:33 +0200)] 
codegen: Fix external constants

15 years agocodegen: Fix GValue memory leak after boxing
Jürg Billeter [Thu, 9 Sep 2010 17:53:54 +0000 (19:53 +0200)] 
codegen: Fix GValue memory leak after boxing

Fixes bug 623543.

15 years agoD-Bus: Support instantiating GDBus proxy with specific DBusConnection
Ole André Vadla Ravnås [Sat, 7 Aug 2010 00:04:49 +0000 (02:04 +0200)] 
D-Bus: Support instantiating GDBus proxy with specific DBusConnection

15 years agocodegen: Fix missing _inner_error_ declaration in property accessors
Jürg Billeter [Thu, 9 Sep 2010 16:05:55 +0000 (18:05 +0200)] 
codegen: Fix missing _inner_error_ declaration in property accessors

15 years agocodegen: Report error on unsupported use of array concatenation 89c0afc73b3d0d9aa34403f831361610c1bddf45
Jürg Billeter [Thu, 9 Sep 2010 15:58:10 +0000 (17:58 +0200)] 
codegen: Report error on unsupported use of array concatenation

15 years agocodegen: Fix struct copy function for structs with array fields
Jürg Billeter [Thu, 9 Sep 2010 15:57:25 +0000 (17:57 +0200)] 
codegen: Fix struct copy function for structs with array fields

15 years agocodegen: Use builder API 7a429688cdf0fd16cc1503a7666681792e309da8
Jürg Billeter [Sat, 14 Aug 2010 13:24:18 +0000 (15:24 +0200)] 
codegen: Use builder API

15 years agoAdd builder API to CCodeFunction
Jürg Billeter [Sat, 14 Aug 2010 11:42:17 +0000 (13:42 +0200)] 
Add builder API to CCodeFunction

15 years agoAdd CCodeFile.add_function_declaration and CCodeFunction.is_declaration
Jürg Billeter [Sat, 14 Aug 2010 11:04:55 +0000 (13:04 +0200)] 
Add CCodeFile.add_function_declaration and CCodeFunction.is_declaration

15 years agocodegen: Skip visiting fast-vapis
Ryan Lortie [Sat, 28 Aug 2010 17:39:26 +0000 (19:39 +0200)] 
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%.

15 years agoCodeWriter: Do not replace .vapi if unchanged
Ryan Lortie [Sat, 28 Aug 2010 14:30:05 +0000 (16:30 +0200)] 
CodeWriter: Do not replace .vapi if unchanged

Steal some logic from the CCodeWriter to avoid replacing .vapi output if
nothing has changed.

15 years agocodegen: Run partial codegen on fast vapi files
Ryan Lortie [Sat, 28 Aug 2010 13:11:24 +0000 (15:11 +0200)] 
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).

15 years agoCodeWriter: Omit cheader_filename for fast vapi
Ryan Lortie [Fri, 27 Aug 2010 12:25:56 +0000 (14:25 +0200)] 
CodeWriter: Omit cheader_filename for fast vapi

15 years agovalac: Output make-style dependency file
Ryan Lortie [Wed, 25 Aug 2010 14:10:30 +0000 (16:10 +0200)] 
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.

15 years agoProperties, Methods: Relax some checks
Ryan Lortie [Tue, 24 Aug 2010 19:58:32 +0000 (21:58 +0200)] 
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.

15 years agoSymbol: Add SourceFileType source_type
Ryan Lortie [Tue, 24 Aug 2010 19:51:55 +0000 (21:51 +0200)] 
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.

15 years agoSourceFileType: Add SourceFileType.NONE
Ryan Lortie [Tue, 24 Aug 2010 19:49:17 +0000 (21:49 +0200)] 
SourceFileType: Add SourceFileType.NONE

15 years agovalac: Add --use-fast-vapi commandline argument
Ryan Lortie [Tue, 24 Aug 2010 17:33:50 +0000 (19:33 +0200)] 
valac: Add --use-fast-vapi commandline argument

Accepts an input file that was previously produced with the --fast-vapi=
commandline argument.

15 years agoSourceFile: Add SourceFileType.FAST enum value
Ryan Lortie [Tue, 24 Aug 2010 17:31:04 +0000 (19:31 +0200)] 
SourceFile: Add SourceFileType.FAST enum value

15 years agovalac: Add --fast-vapi= commandline argument
Ryan Lortie [Tue, 24 Aug 2010 17:32:25 +0000 (19:32 +0200)] 
valac: Add --fast-vapi= commandline argument

Outputs a file with the given name using CodeWriterType.FAST

15 years agoCodeWriter: Add CodeWriterType.FAST enum value 89a1243a4f066cc9652b26f86eb94fd038874982
Ryan Lortie [Tue, 24 Aug 2010 17:22:21 +0000 (19:22 +0200)] 
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.

15 years agoMemberAccess: Fix crash in .to_string()
Ryan Lortie [Tue, 24 Aug 2010 17:25:43 +0000 (19:25 +0200)] 
MemberAccess: Fix crash in .to_string()

MemberAccess.to_string() would crash if it was run before the symbol
resolver.  Fix that.

15 years agoUnresolvedType: Improve .to_string()
Ryan Lortie [Tue, 24 Aug 2010 17:24:58 +0000 (19:24 +0200)] 
UnresolvedType: Improve .to_string()

Include nullable designation and generic type arguments in the output.

15 years agoCodeWriter: Introduce CodeWriterType enumeration
Ryan Lortie [Tue, 24 Aug 2010 17:10:24 +0000 (19:10 +0200)] 
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'.

15 years agoSourceFile: Introduce SourceFileType enumeration
Ryan Lortie [Tue, 24 Aug 2010 17:01:39 +0000 (19:01 +0200)] 
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'.

15 years agoSimplify attribute objects
Jürg Billeter [Sat, 21 Aug 2010 11:01:26 +0000 (13:01 +0200)] 
Simplify attribute objects