]>
git.ipfire.org Git - thirdparty/vala.git/log
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
Jürg Billeter [Sat, 21 Aug 2010 10:11:58 +0000 (12:11 +0200)]
Do not create empty type parameter lists in parser
Jürg Billeter [Sat, 21 Aug 2010 10:07:28 +0000 (12:07 +0200)]
Improve performance of SemanticAnalyzer.is_type_accessible
Jürg Billeter [Sat, 21 Aug 2010 09:55:35 +0000 (11:55 +0200)]
Create array lists in Method class only on demand
Jürg Billeter [Wed, 11 Aug 2010 21:46:41 +0000 (23:46 +0200)]
Support iteration via index to improve performance
Jürg Billeter [Wed, 11 Aug 2010 20:23:09 +0000 (22:23 +0200)]
gee: Replace interfaces by abstract classes to improve performance
Luca Bruno [Thu, 9 Sep 2010 13:42:59 +0000 (15:42 +0200)]
GObject: Add _vala_ suffix to get/set_property to avoid name clashes
Fixes bug 624594.
Luca Bruno [Tue, 31 Aug 2010 08:36:51 +0000 (10:36 +0200)]
Support to_string() for non-GType enums
Fixes bug 612081.
Florian Brosch [Wed, 8 Sep 2010 18:33:13 +0000 (20:33 +0200)]
mv remove_directory to filehelper.vala
Florian Brosch [Wed, 8 Sep 2010 16:57:50 +0000 (18:57 +0200)]
libvaladoc/filehelper: update realpath
Florian Brosch [Wed, 8 Sep 2010 16:49:34 +0000 (18:49 +0200)]
libvaladoc/importer: Allow nodes without documentation in valadoc files
Evan Nemerson [Tue, 7 Sep 2010 22:53:10 +0000 (15:53 -0700)]
gio-2.0: Fix ownership of two AppLaunchContext method return values.
Luca Bruno [Sun, 5 Sep 2010 09:21:35 +0000 (11:21 +0200)]
glib-2.0: Add [NoReturn] to Process.exit() and Process.abort().
Jürg Billeter [Sat, 4 Sep 2010 15:05:57 +0000 (17:05 +0200)]
Release 0.9.8
Evan Nemerson [Sat, 4 Sep 2010 00:02:14 +0000 (17:02 -0700)]
glib-2.0: Add binding for g_utf8_offset_to_pointer.
Jürg Billeter [Fri, 3 Sep 2010 15:04:01 +0000 (17:04 +0200)]
codegen: Fix lcopy_value function generated for fundamental classes
Jürg Billeter [Fri, 3 Sep 2010 14:55:44 +0000 (16:55 +0200)]
codegen: Fix preconditions in asynchronous methods
BianShaoLei [Thu, 2 Sep 2010 18:42:59 +0000 (11:42 -0700)]
posix: Fix SockAddr cname.
Fixes bug 628470.
Florian Brosch [Thu, 2 Sep 2010 03:34:08 +0000 (05:34 +0200)]
libvaladoc/importer: Minor valadoc file format changes
Florian Brosch [Wed, 1 Sep 2010 15:57:46 +0000 (17:57 +0200)]
libvaladoc/api: fix Method::is_static
Florian Brosch [Wed, 1 Sep 2010 05:56:30 +0000 (07:56 +0200)]
doclet/valadoc.org: fix valac warnings
Florian Brosch [Wed, 1 Sep 2010 05:32:10 +0000 (07:32 +0200)]
libvaladoc: Fix valac warnings
Florian Brosch [Wed, 1 Sep 2010 04:43:16 +0000 (06:43 +0200)]
Add *.valadoc format
Evan Nemerson [Fri, 20 Aug 2010 09:17:45 +0000 (11:17 +0200)]
Use vala-0.10 or vala-0.12 package instead of vala-1.0.
Florian Brosch [Thu, 19 Aug 2010 22:04:48 +0000 (00:04 +0200)]
add gir documentation importer
Florian Brosch [Sat, 7 Aug 2010 02:26:14 +0000 (04:26 +0200)]
libvaladoc: Add CTypeResolver
Florian Brosch [Sat, 7 Aug 2010 02:11:11 +0000 (04:11 +0200)]
doclets: rm xml doclet
Florian Brosch [Sat, 7 Aug 2010 02:00:12 +0000 (04:00 +0200)]
libvaladoc: rm support for valadoc-xml
Luca Bruno [Tue, 31 Aug 2010 07:55:59 +0000 (09:55 +0200)]
webkit-1.0: Mark WebKitWebView::create_web_view return value as owned.
Fixes bug 625569.
Jakob Westhoff [Mon, 30 Aug 2010 10:55:55 +0000 (12:55 +0200)]
gtk+-2.0, gtk+-3.0: Make gtk_image_set_from_pixmap parameters be nullable.
Fixes bug 627778.
Luca Bruno [Sat, 28 Aug 2010 09:52:44 +0000 (11:52 +0200)]
gio-2.0: GLib.Icon.to_string() return value is not unowned
Fixes bug 628119.
Evan Nemerson [Sun, 22 Aug 2010 18:04:56 +0000 (11:04 -0700)]
gio-2.0: Make Application.quit_with_data.platform_data nullable.
Jürg Billeter [Sun, 22 Aug 2010 09:14:42 +0000 (11:14 +0200)]
dova: Do not generate empty type structs for interfaces
Jürg Billeter [Sun, 22 Aug 2010 09:21:23 +0000 (11:21 +0200)]
dova: Fix header file generation
Evan Nemerson [Sun, 22 Aug 2010 03:47:28 +0000 (20:47 -0700)]
glib-2.0: Fix Variant.dup_string binding.
Evan Nemerson [Sat, 21 Aug 2010 21:47:50 +0000 (14:47 -0700)]
libsoup-2.4: Fix XMLRPC error domains.
Evan Nemerson [Sat, 21 Aug 2010 21:06:07 +0000 (14:06 -0700)]
libsoup-2.4: Move Soup.xmlrpc_* methods into Soup.XMLRPC namespace.
Evan Nemerson [Sat, 21 Aug 2010 20:39:12 +0000 (13:39 -0700)]
gtk+-2.0, gtk+-3.0: Move Gtk.stock_* methods into Gtk.Stock namespace.
Evan Nemerson [Sat, 21 Aug 2010 20:29:20 +0000 (13:29 -0700)]
gdk-2.0, gdk-3.0: Move Gdk.selection_* into Gdk.Selection namespace.
Evan Nemerson [Sat, 21 Aug 2010 20:28:29 +0000 (13:28 -0700)]
vapigen: Automatically adjust method names when setting parent.
Evan Nemerson [Sat, 21 Aug 2010 19:20:21 +0000 (12:20 -0700)]
gtk+-2.0, gtk+-3.0: Move Gtk.STOCK_* into a Gtk.Stock namespace.
Evan Nemerson [Sat, 7 Aug 2010 18:15:12 +0000 (11:15 -0700)]
codewriter: Correctly write deprecated replacement attributes.
Evan Nemerson [Sat, 7 Aug 2010 23:02:36 +0000 (16:02 -0700)]
vapigen: Support setting the parent of a symbol.
Evan Nemerson [Sat, 21 Aug 2010 18:54:28 +0000 (11:54 -0700)]
gdk-2.0: Update to 2.21.7 and mark deprecated symbols as such.
Jürg Billeter [Sat, 21 Aug 2010 17:12:16 +0000 (19:12 +0200)]
Improve consistency in constructor chain up handling
Jürg Billeter [Sat, 21 Aug 2010 16:49:38 +0000 (18:49 +0200)]
Unable to chain up to base constructor is fatal
Jürg Billeter [Sat, 21 Aug 2010 16:47:40 +0000 (18:47 +0200)]
vapigen: Fix chain up warning in subclasses of generated bindings
Jürg Billeter [Sat, 21 Aug 2010 16:36:42 +0000 (18:36 +0200)]
Fix writing of construct_function attribute
Jürg Billeter [Sat, 21 Aug 2010 16:01:29 +0000 (18:01 +0200)]
Fix assignment to construct properties
Based on patch by Marc-André Lureau, fixes bug 624259.
Jürg Billeter [Fri, 26 Feb 2010 18:23:42 +0000 (19:23 +0100)]
Refactor parser to avoid parse_*_member methods
Jürg Billeter [Fri, 13 Aug 2010 12:25:19 +0000 (14:25 +0200)]
Replace CCodeDeclarationSpace by CCodeFile
Jürg Billeter [Fri, 13 Aug 2010 11:08:36 +0000 (13:08 +0200)]
Move add_symbol_declaration out of CCodeDeclarationSpace
Luca Bruno [Fri, 20 Aug 2010 20:30:18 +0000 (22:30 +0200)]
gtk+-2.0, gtk+-3.0: Make Gtk.Menu.attach_to_widget.detacher nullable.
Fixes bug 626580.
Jürg Billeter [Fri, 20 Aug 2010 19:36:59 +0000 (21:36 +0200)]
glib-2.0: Return char instead of unichar from string element access
Use string.get_char () to retrieve unichar.
Jürg Billeter [Fri, 20 Aug 2010 19:33:47 +0000 (21:33 +0200)]
glib-2.0: Add optional index parameter to string.get_char
Jürg Billeter [Fri, 20 Aug 2010 19:01:38 +0000 (21:01 +0200)]
glib-2.0: Deprecate string.size () in favor of string.length
Jürg Billeter [Fri, 20 Aug 2010 18:41:27 +0000 (20:41 +0200)]
glib-2.0: Use byte indices for strings
Jürg Billeter [Fri, 20 Aug 2010 19:19:10 +0000 (21:19 +0200)]
Fix error handling for character literals
Jürg Billeter [Fri, 20 Aug 2010 18:42:39 +0000 (20:42 +0200)]
vapigen: Replace use of string.len () by string.length
Jürg Billeter [Fri, 20 Aug 2010 18:04:59 +0000 (20:04 +0200)]
glib-2.0: Deprecate string.len () in favor of string.length
Aaron Andersen [Fri, 20 Aug 2010 16:02:14 +0000 (18:02 +0200)]
Report error on invalid using directives
Fixes bug 626103.
Luca Bruno [Thu, 10 Jun 2010 09:00:13 +0000 (11:00 +0200)]
Support implicit GValue conversion when assigning to properties
Thanks to Michal Hruby for the test case.
Fixes bug 620706.