2008-04-30 Mike Kestner <mkestner@novell.com>

* parser/gapi2xml.pl: put class struct field in the signal elems.
	* atk/atk-api-2.12.raw:
	* gdk/gdk-api-2.12.raw:
	* gtk/gtk-api-2.12.raw:

svn path=/trunk/gtk-sharp/; revision=102238
This commit is contained in:
Mike Kestner 2008-04-30 19:42:11 +00:00
parent 4afdaf6602
commit a3f799ceb0
5 changed files with 347 additions and 339 deletions

View file

@ -1,3 +1,10 @@
2008-04-30 Mike Kestner <mkestner@novell.com>
* parser/gapi2xml.pl: put class struct field in the signal elems.
* atk/atk-api-2.12.raw:
* gdk/gdk-api-2.12.raw:
* gtk/gtk-api-2.12.raw:
2008-04-28 Mike Kestner <mkestner@novell.com>
* glib/Value.cs : Add GParam support and beef up the Boxed

View file

@ -358,7 +358,7 @@
</method>
</interface>
<interface name="Component" cname="AtkComponent">
<signal name="BoundsChanged" cname="bounds_changed" when="LAST">
<signal name="BoundsChanged" cname="bounds_changed" when="LAST" field_name="bounds_changed">
<return-type type="void" />
<parameters>
<parameter type="AtkComponent*" name="component" />
@ -783,7 +783,7 @@
</method>
</interface>
<interface name="Hypertext" cname="AtkHypertext">
<signal name="LinkSelected" cname="link_selected" when="LAST">
<signal name="LinkSelected" cname="link_selected" when="LAST" field_name="link_selected">
<return-type type="void" />
<parameters>
<parameter type="AtkHypertext*" name="hypertext" />
@ -912,7 +912,7 @@
</method>
</interface>
<interface name="Selection" cname="AtkSelection">
<signal name="SelectionChanged" cname="selection_changed" when="LAST">
<signal name="SelectionChanged" cname="selection_changed" when="LAST" field_name="selection_changed">
<return-type type="void" />
<parameters>
<parameter type="AtkSelection*" name="selection" />
@ -1055,7 +1055,7 @@
</method>
</interface>
<interface name="Table" cname="AtkTable">
<signal name="RowInserted" cname="row_inserted" when="LAST">
<signal name="RowInserted" cname="row_inserted" when="LAST" field_name="row_inserted">
<return-type type="void" />
<parameters>
<parameter type="AtkTable*" name="table" />
@ -1063,7 +1063,7 @@
<parameter type="gint" name="num_inserted" />
</parameters>
</signal>
<signal name="ColumnInserted" cname="column_inserted" when="LAST">
<signal name="ColumnInserted" cname="column_inserted" when="LAST" field_name="column_inserted">
<return-type type="void" />
<parameters>
<parameter type="AtkTable*" name="table" />
@ -1071,7 +1071,7 @@
<parameter type="gint" name="num_inserted" />
</parameters>
</signal>
<signal name="RowDeleted" cname="row_deleted" when="LAST">
<signal name="RowDeleted" cname="row_deleted" when="LAST" field_name="row_deleted">
<return-type type="void" />
<parameters>
<parameter type="AtkTable*" name="table" />
@ -1079,7 +1079,7 @@
<parameter type="gint" name="num_deleted" />
</parameters>
</signal>
<signal name="ColumnDeleted" cname="column_deleted" when="LAST">
<signal name="ColumnDeleted" cname="column_deleted" when="LAST" field_name="column_deleted">
<return-type type="void" />
<parameters>
<parameter type="AtkTable*" name="table" />
@ -1087,19 +1087,19 @@
<parameter type="gint" name="num_deleted" />
</parameters>
</signal>
<signal name="RowReordered" cname="row_reordered" when="LAST">
<signal name="RowReordered" cname="row_reordered" when="LAST" field_name="row_reordered">
<return-type type="void" />
<parameters>
<parameter type="AtkTable*" name="table" />
</parameters>
</signal>
<signal name="ColumnReordered" cname="column_reordered" when="LAST">
<signal name="ColumnReordered" cname="column_reordered" when="LAST" field_name="column_reordered">
<return-type type="void" />
<parameters>
<parameter type="AtkTable*" name="table" />
</parameters>
</signal>
<signal name="ModelChanged" cname="model_changed" when="LAST">
<signal name="ModelChanged" cname="model_changed" when="LAST" field_name="model_changed">
<return-type type="void" />
<parameters>
<parameter type="AtkTable*" name="table" />
@ -1489,7 +1489,7 @@
</method>
</interface>
<interface name="Text" cname="AtkText">
<signal name="TextChanged" cname="text_changed" when="LAST">
<signal name="TextChanged" cname="text_changed" when="LAST" field_name="text_changed">
<return-type type="void" />
<parameters>
<parameter type="AtkText*" name="text" />
@ -1497,20 +1497,20 @@
<parameter type="gint" name="length" />
</parameters>
</signal>
<signal name="TextCaretMoved" cname="text_caret_moved" when="LAST">
<signal name="TextCaretMoved" cname="text_caret_moved" when="LAST" field_name="text_caret_moved">
<return-type type="void" />
<parameters>
<parameter type="AtkText*" name="text" />
<parameter type="gint" name="location" />
</parameters>
</signal>
<signal name="TextSelectionChanged" cname="text_selection_changed" when="LAST">
<signal name="TextSelectionChanged" cname="text_selection_changed" when="LAST" field_name="text_selection_changed">
<return-type type="void" />
<parameters>
<parameter type="AtkText*" name="text" />
</parameters>
</signal>
<signal name="TextAttributesChanged" cname="text_attributes_changed" when="LAST">
<signal name="TextAttributesChanged" cname="text_attributes_changed" when="LAST" field_name="text_attributes_changed">
<return-type type="void" />
<parameters>
<parameter type="AtkText*" name="text" />
@ -1931,7 +1931,7 @@
<property name="NumberOfAnchors" cname="number-of-anchors" type="gint" readable="true" />
<property name="EndIndex" cname="end-index" type="gint" readable="true" />
<property name="StartIndex" cname="start-index" type="gint" readable="true" />
<signal name="LinkActivated" cname="link_activated" when="LAST">
<signal name="LinkActivated" cname="link_activated" when="LAST" field_name="link_activated">
<return-type type="void" />
<parameters>
<parameter type="AtkHyperlink*" name="link_" />
@ -2100,7 +2100,7 @@
<property name="AtkObjectNamePropertyTableSummary" cname="atk_object_name_property_table_summary" type="AtkObject" readable="true" writeable="true" />
<property name="AtkObjectNamePropertyTableCaptionObject" cname="atk_object_name_property_table_caption_object" type="AtkObject" readable="true" writeable="true" />
<property name="AtkObjectNamePropertyHypertextNumLinks" cname="atk_object_name_property_hypertext_num_links" type="gint" readable="true" />
<signal name="ChildrenChanged" cname="children_changed" when="LAST">
<signal name="ChildrenChanged" cname="children_changed" when="LAST" field_name="children_changed">
<return-type type="void" />
<parameters>
<parameter type="AtkObject*" name="accessible" />
@ -2108,21 +2108,21 @@
<parameter type="gpointer" name="changed_child" />
</parameters>
</signal>
<signal name="FocusEvent" cname="focus_event" when="LAST">
<signal name="FocusEvent" cname="focus_event" when="LAST" field_name="focus_event">
<return-type type="void" />
<parameters>
<parameter type="AtkObject*" name="accessible" />
<parameter type="gboolean" name="focus_in" />
</parameters>
</signal>
<signal name="PropertyChange" cname="property_change" when="LAST">
<signal name="PropertyChange" cname="property_change" when="LAST" field_name="property_change">
<return-type type="void" />
<parameters>
<parameter type="AtkObject*" name="accessible" />
<parameter type="AtkPropertyValues*" name="values" />
</parameters>
</signal>
<signal name="StateChange" cname="state_change" when="LAST">
<signal name="StateChange" cname="state_change" when="LAST" field_name="state_change">
<return-type type="void" />
<parameters>
<parameter type="AtkObject*" name="accessible" />
@ -2130,13 +2130,13 @@
<parameter type="gboolean" name="state_set" />
</parameters>
</signal>
<signal name="VisibleDataChanged" cname="visible_data_changed" when="LAST">
<signal name="VisibleDataChanged" cname="visible_data_changed" when="LAST" field_name="visible_data_changed">
<return-type type="void" />
<parameters>
<parameter type="AtkObject*" name="accessible" />
</parameters>
</signal>
<signal name="ActiveDescendantChanged" cname="active_descendant_changed" when="LAST">
<signal name="ActiveDescendantChanged" cname="active_descendant_changed" when="LAST" field_name="active_descendant_changed">
<return-type type="void" />
<parameters>
<parameter type="AtkObject*" name="accessible" />

View file

@ -674,7 +674,7 @@
<field name="DoubleClickDistance" cname="double_click_distance" type="guint" />
<field name="ButtonX" cname="button_x" array_len="2" type="gint" />
<field name="ButtonY" cname="button_y" array_len="2" type="gint" />
<signal name="Closed" cname="closed" when="LAST">
<signal name="Closed" cname="closed" when="LAST" field_name="closed">
<return-type type="void" />
<parameters>
<parameter type="GdkDisplay*" name="display" />
@ -882,7 +882,7 @@
</method>
</object>
<object name="DisplayManager" cname="GdkDisplayManager" parent="GObject">
<signal name="DisplayOpened" cname="display_opened" when="LAST">
<signal name="DisplayOpened" cname="display_opened" when="LAST" field_name="display_opened">
<return-type type="void" />
<parameters>
<parameter type="GdkDisplayManager*" name="display_manager" />
@ -1848,13 +1848,13 @@
</object>
<object name="Keymap" cname="GdkKeymap" parent="GObject">
<field name="Display" cname="display" type="GdkDisplay*" />
<signal name="DirectionChanged" cname="direction_changed" when="LAST">
<signal name="DirectionChanged" cname="direction_changed" when="LAST" field_name="direction_changed">
<return-type type="void" />
<parameters>
<parameter type="GdkKeymap*" name="keymap" />
</parameters>
</signal>
<signal name="KeysChanged" cname="keys_changed" when="LAST">
<signal name="KeysChanged" cname="keys_changed" when="LAST" field_name="keys_changed">
<return-type type="void" />
<parameters>
<parameter type="GdkKeymap*" name="keymap" />
@ -2065,13 +2065,13 @@
<field name="Resolution" cname="resolution" type="double" />
<property name="FontOptions" cname="font-options" type="gpointer" readable="true" writeable="true" />
<property name="Resolution" cname="resolution" type="gdouble" readable="true" writeable="true" />
<signal name="SizeChanged" cname="size_changed" when="LAST">
<signal name="SizeChanged" cname="size_changed" when="LAST" field_name="size_changed">
<return-type type="void" />
<parameters>
<parameter type="GdkScreen*" name="screen" />
</parameters>
</signal>
<signal name="CompositedChanged" cname="composited_changed" when="LAST">
<signal name="CompositedChanged" cname="composited_changed" when="LAST" field_name="composited_changed">
<return-type type="void" />
<parameters>
<parameter type="GdkScreen*" name="screen" />
@ -5379,7 +5379,7 @@
</object>
<object name="PixbufLoader" cname="GdkPixbufLoader" parent="GObject">
<field name="Priv" cname="priv" type="gpointer" />
<signal name="SizePrepared" cname="size_prepared" when="LAST">
<signal name="SizePrepared" cname="size_prepared" when="LAST" field_name="size_prepared">
<return-type type="void" />
<parameters>
<parameter type="GdkPixbufLoader*" name="loader" />
@ -5387,13 +5387,13 @@
<parameter type="int" name="height" />
</parameters>
</signal>
<signal name="AreaPrepared" cname="area_prepared" when="LAST">
<signal name="AreaPrepared" cname="area_prepared" when="LAST" field_name="area_prepared">
<return-type type="void" />
<parameters>
<parameter type="GdkPixbufLoader*" name="loader" />
</parameters>
</signal>
<signal name="AreaUpdated" cname="area_updated" when="LAST">
<signal name="AreaUpdated" cname="area_updated" when="LAST" field_name="area_updated">
<return-type type="void" />
<parameters>
<parameter type="GdkPixbufLoader*" name="loader" />
@ -5403,7 +5403,7 @@
<parameter type="int" name="height" />
</parameters>
</signal>
<signal name="Closed" cname="closed" when="LAST">
<signal name="Closed" cname="closed" when="LAST" field_name="closed">
<return-type type="void" />
<parameters>
<parameter type="GdkPixbufLoader*" name="loader" />

File diff suppressed because it is too large Load diff

View file

@ -949,6 +949,7 @@ sub addSignalElem
my $method = "";
if ($spec =~ /_OFFSET\s*\(\w+,\s*(\w+)\)/) {
$method = $1;
$sig_elem->setAttribute('field_name', $1);
} else {
@args = split(/,/, $spec);
my $rettype = parseTypeToken ($args[7]);