]>
git.ipfire.org Git - thirdparty/vala.git/log
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
Jürg Billeter [Mon, 4 Oct 2010 13:16:48 +0000 (15:16 +0200)]
Release 0.11.0
Jürg Billeter [Mon, 4 Oct 2010 13:27:28 +0000 (15:27 +0200)]
build: Fix distcheck
Ryan Lortie [Mon, 4 Oct 2010 12:35:14 +0000 (08:35 -0400)]
glib-2.0: add MainContext.invoke and invoke_full
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.
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.
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.
Jürg Billeter [Sun, 3 Oct 2010 22:49:22 +0000 (00:49 +0200)]
glib-2.0: Update GDateTime binding
Jürg Billeter [Sun, 3 Oct 2010 21:20:30 +0000 (23:20 +0200)]
gtk+-3.0: Update to 2.91.0
Jürg Billeter [Sun, 3 Oct 2010 21:20:05 +0000 (23:20 +0200)]
cairo: Update to 1.10.0
Luca Bruno [Mon, 23 Aug 2010 18:51:48 +0000 (20:51 +0200)]
Support adding new source files while visiting the code tree
Luca Bruno [Mon, 23 Aug 2010 17:42:44 +0000 (19:42 +0200)]
Move package adding logic to CodeContext
Luca Bruno [Mon, 23 Aug 2010 16:21:31 +0000 (18:21 +0200)]
Move source file adding logic to CodeContext
Jürg Billeter [Sun, 3 Oct 2010 19:54:12 +0000 (21:54 +0200)]
CodeWriter: Do not write extern in EXTERNAL mode
Jürg Billeter [Sun, 3 Oct 2010 20:10:00 +0000 (22:10 +0200)]
Always use public accessibility for enum values
Jürg Billeter [Sun, 3 Oct 2010 17:26:53 +0000 (19:26 +0200)]
codegen: Fix GVariant to array conversion in async methods
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
Jürg Billeter [Sun, 26 Sep 2010 11:26:23 +0000 (13:26 +0200)]
dova: Fix critical on ellipsis parameter
Evan Nemerson [Sat, 2 Oct 2010 22:00:05 +0000 (15:00 -0700)]
mysql: Automatically get length of arrays returned by Result methods.
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.
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.
Evan Nemerson [Mon, 27 Sep 2010 20:01:41 +0000 (13:01 -0700)]
sqlite3: Assorted memory management fixes for strings and blobs.
Jürg Billeter [Thu, 30 Sep 2010 15:04:50 +0000 (17:04 +0200)]
Append errordomain doc comments to generated C files
Jürg Billeter [Thu, 30 Sep 2010 09:10:26 +0000 (11:10 +0200)]
dova: Support type checks and silent casts
Jamie McCracken [Tue, 28 Sep 2010 03:46:18 +0000 (23:46 -0400)]
Genie: Fix ownership of inline allocated arrays
Jamie McCracken [Tue, 28 Sep 2010 03:37:18 +0000 (23:37 -0400)]
Genie: Do not create empty type parameter lists in parser
Jamie McCracken [Tue, 28 Sep 2010 03:30:30 +0000 (23:30 -0400)]
Genie: Fix accessibility of Enums
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.
Evan Nemerson [Wed, 22 Sep 2010 00:09:14 +0000 (02:09 +0200)]
Add hard dependency on vala-0.10 package.
Florian Brosch [Tue, 21 Sep 2010 22:49:23 +0000 (00:49 +0200)]
libvaladoc/ctyperesolver: Resolve unbrowsable nodes
Florian Brosch [Sun, 19 Sep 2010 15:31:02 +0000 (17:31 +0200)]
Fix build with vala 0.10.0
Jürg Billeter [Mon, 20 Sep 2010 18:04:32 +0000 (20:04 +0200)]
Report error when using pointer arithmetic with void*
Jürg Billeter [Mon, 20 Sep 2010 16:04:03 +0000 (18:04 +0200)]
codegen: Fix missing _inner_error_ declaration in constructors
Jürg Billeter [Fri, 17 Sep 2010 22:24:31 +0000 (00:24 +0200)]
Release 0.10.0
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.
Jürg Billeter [Fri, 17 Sep 2010 22:11:42 +0000 (00:11 +0200)]
gio-2.0: Update to GLib master
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
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.
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.
Jürg Billeter [Thu, 16 Sep 2010 12:46:47 +0000 (14:46 +0200)]
glib-2.0: Add GDateTime bindings
Evan Nemerson [Fri, 17 Sep 2010 06:21:09 +0000 (23:21 -0700)]
gtksourceview-2.0: make SourceCompletionProvider.get_icon nullable
Fixes bug 628774.
Robert Ancell [Fri, 17 Sep 2010 06:12:58 +0000 (23:12 -0700)]
posix: add getpwnam binding
Fixes bug 628933.
Philip Withnall [Tue, 7 Sep 2010 16:06:58 +0000 (17:06 +0100)]
readline: fix the completion_matches binding
Philip Withnall [Tue, 7 Sep 2010 16:06:26 +0000 (17:06 +0100)]
readline: fix the cname of CompentryFunc
Philip Withnall [Tue, 7 Sep 2010 15:37:00 +0000 (16:37 +0100)]
readline: fix the signature of CompletionFunc
Philip Withnall [Tue, 7 Sep 2010 15:10:31 +0000 (16:10 +0100)]
readline: fix the attempted_completion_function binding
Fixes bug 628966.
Evan Nemerson [Fri, 17 Sep 2010 05:32:07 +0000 (22:32 -0700)]
glib-2.0: Add several missing symbols for glib-2.26.
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
Jürg Billeter [Thu, 16 Sep 2010 15:39:58 +0000 (17:39 +0200)]
girparser: Report error on unsupported GIR version
Fixes bug 629805.
Jürg Billeter [Thu, 16 Sep 2010 15:32:53 +0000 (17:32 +0200)]
girwriter: Fix crash in attribute handling
Fixes bug 629364.
Jürg Billeter [Thu, 16 Sep 2010 14:51:51 +0000 (16:51 +0200)]
D-Bus: Add missing gio.h include for GDBus servers
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.
Jürg Billeter [Wed, 15 Sep 2010 18:39:38 +0000 (20:39 +0200)]
girparser: Fix detection of asynchronous methods
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.
Jürg Billeter [Wed, 15 Sep 2010 18:09:16 +0000 (20:09 +0200)]
girparser: Set array_length_cname
Fixes bug 629691.
Jürg Billeter [Wed, 15 Sep 2010 18:00:37 +0000 (20:00 +0200)]
Add array_length_cname attribute for parameters
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
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
Jürg Billeter [Mon, 13 Sep 2010 18:54:19 +0000 (20:54 +0200)]
girparser: Support alias syntax 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
Jürg Billeter [Tue, 14 Sep 2010 07:34:09 +0000 (09:34 +0200)]
Report error when throwing internal errors from public methods
Jürg Billeter [Mon, 13 Sep 2010 20:19:39 +0000 (22:19 +0200)]
Fix crash on invalid constructor chain up
Fixes bug 628182.
Jürg Billeter [Mon, 13 Sep 2010 17:41:07 +0000 (19:41 +0200)]
Fix to_string method for enums
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.
Ryan Lortie [Sat, 11 Sep 2010 18:14:31 +0000 (14:14 -0400)]
Host parvala in git
Ryan Lortie [Sat, 11 Sep 2010 16:16:37 +0000 (12:16 -0400)]
CodeWriter: add 'new' to methods where appropriate
Jürg Billeter [Fri, 10 Sep 2010 16:07:41 +0000 (18:07 +0200)]
Check accessibility of constants
Jürg Billeter [Fri, 10 Sep 2010 15:57:44 +0000 (17:57 +0200)]
Report error for private virtual methods
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
Jürg Billeter [Fri, 10 Sep 2010 07:48:45 +0000 (09:48 +0200)]
UnresolvedType: Override is_disposable method
Jürg Billeter [Fri, 10 Sep 2010 07:38:40 +0000 (09:38 +0200)]
Do not require interface implementations in fast-vapi
Jürg Billeter [Fri, 10 Sep 2010 07:32:48 +0000 (09:32 +0200)]
CodeWriter: Support external symbols
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.
Jürg Billeter [Fri, 10 Sep 2010 06:47:53 +0000 (08:47 +0200)]
CodeWriter: Support non-constant expressions as default arguments
Jürg Billeter [Fri, 10 Sep 2010 06:33:52 +0000 (08:33 +0200)]
codegen: Fix external constants
Jürg Billeter [Thu, 9 Sep 2010 17:53:54 +0000 (19:53 +0200)]
codegen: Fix GValue memory leak after boxing
Fixes bug 623543.
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
Jürg Billeter [Thu, 9 Sep 2010 16:05:55 +0000 (18:05 +0200)]
codegen: Fix missing _inner_error_ declaration in property accessors
Jürg Billeter [Thu, 9 Sep 2010 15:58:10 +0000 (17:58 +0200)]
codegen: Report error on unsupported use of array concatenation
Jürg Billeter [Thu, 9 Sep 2010 15:57:25 +0000 (17:57 +0200)]
codegen: Fix struct copy function for structs with array fields
Jürg Billeter [Sat, 14 Aug 2010 13:24:18 +0000 (15:24 +0200)]
codegen: Use builder API
Jürg Billeter [Sat, 14 Aug 2010 11:42:17 +0000 (13:42 +0200)]
Add builder API to CCodeFunction
Jürg Billeter [Sat, 14 Aug 2010 11:04:55 +0000 (13:04 +0200)]
Add CCodeFile.add_function_declaration and CCodeFunction.is_declaration
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%.
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.
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).
Ryan Lortie [Fri, 27 Aug 2010 12:25:56 +0000 (14:25 +0200)]
CodeWriter: Omit cheader_filename for fast vapi
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.
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.
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.
Ryan Lortie [Tue, 24 Aug 2010 19:49:17 +0000 (21:49 +0200)]
SourceFileType: Add SourceFileType.NONE
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.
Ryan Lortie [Tue, 24 Aug 2010 17:31:04 +0000 (19:31 +0200)]
SourceFile: Add SourceFileType.FAST enum value
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
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.
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.
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.
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'.
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'.
Jürg Billeter [Sat, 21 Aug 2010 11:01:26 +0000 (13:01 +0200)]
Simplify attribute objects