2002-07-01 Rachel Hestilow <hestilow@ximian.com>

* generator/gtkapi.xml:
	* parser/build.pl: Fix to use 3.0 (accidentally reverted in
	last commit).

	* generator/SymbolTable.cs (simple_types): Map gssize and gsize.
	* parser/Gdk.metadata: Tag PixbufLoader.Write's data parameter
	as array.

svn path=/trunk/gtk-sharp/; revision=5533
This commit is contained in:
Rachel Hestilow 2002-07-02 03:35:07 +00:00
parent 23d3fa3808
commit 00e98b4c30
6 changed files with 864 additions and 3 deletions

View file

@ -1,3 +1,13 @@
2002-07-01 Rachel Hestilow <hestilow@ximian.com>
* generator/gtkapi.xml:
* parser/build.pl: Fix to use 3.0 (accidentally reverted in
last commit).
* generator/SymbolTable.cs (simple_types): Map gssize and gsize.
* parser/Gdk.metadata: Tag PixbufLoader.Write's data parameter
as array.
2002-07-01 Rachel Hestilow <hestilow@ximian.com>
* generator/gtkapi.xml:

View file

@ -55,6 +55,10 @@ namespace GtkSharp.Generation {
simple_types.Add ("GPtrArray", "System.IntPtr[]");
simple_types.Add ("GType", "int");
simple_types.Add ("GError", "IntPtr");
// gsize is a system-specific typedef in glibconfig.h,
// but this should work for now
simple_types.Add ("gsize", "uint");
simple_types.Add ("gssize", "int");
// FIXME: These ought to be handled properly.
simple_types.Add ("GList", "System.IntPtr");

View file

@ -4632,7 +4632,826 @@
<field cname="destroy_func" type="GtkDestroyNotify"/>
</struct>
</namespace>
<namespace name="Gtk" library="libgtkhtml-2.so.0"/>
<namespace name="Gtk" library="libgtkhtml-3.0.so.0">
<enum name="HTMLCommandType" cname="GtkHTMLCommandType" type="enum">
<member cname="GTK_HTML_COMMAND_UNDO" name="Undo"/>
<member cname="GTK_HTML_COMMAND_REDO" name="Redo"/>
<member cname="GTK_HTML_COMMAND_COPY" name="Copy"/>
<member cname="GTK_HTML_COMMAND_COPY_AND_DISABLE_SELECTION" name="CopyAndDisableSelection"/>
<member cname="GTK_HTML_COMMAND_CUT" name="Cut"/>
<member cname="GTK_HTML_COMMAND_PASTE" name="Paste"/>
<member cname="GTK_HTML_COMMAND_CUT_LINE" name="CutLine"/>
<member cname="GTK_HTML_COMMAND_INSERT_PARAGRAPH" name="InsertParagraph"/>
<member cname="GTK_HTML_COMMAND_INSERT_TAB" name="InsertTab"/>
<member cname="GTK_HTML_COMMAND_INSERT_RULE" name="InsertRule"/>
<member cname="GTK_HTML_COMMAND_INSERT_RULE_PARAM" name="InsertRuleParam"/>
<member cname="GTK_HTML_COMMAND_INSERT_IMAGE_PARAM" name="InsertImageParam"/>
<member cname="GTK_HTML_COMMAND_INSERT_TAB_OR_INDENT_MORE" name="InsertTabOrIndentMore"/>
<member cname="GTK_HTML_COMMAND_INSERT_TAB_OR_NEXT_CELL" name="InsertTabOrNextCell"/>
<member cname="GTK_HTML_COMMAND_MAKE_LINK" name="MakeLink"/>
<member cname="GTK_HTML_COMMAND_REMOVE_LINK" name="RemoveLink"/>
<member cname="GTK_HTML_COMMAND_DELETE" name="Delete"/>
<member cname="GTK_HTML_COMMAND_DELETE_BACK" name="DeleteBack"/>
<member cname="GTK_HTML_COMMAND_DELETE_BACK_OR_INDENT_DEC" name="DeleteBackOrIndentDec"/>
<member cname="GTK_HTML_COMMAND_SELECTION_MODE" name="SelectionMode"/>
<member cname="GTK_HTML_COMMAND_DISABLE_SELECTION" name="DisableSelection"/>
<member cname="GTK_HTML_COMMAND_BOLD_ON" name="BoldOn"/>
<member cname="GTK_HTML_COMMAND_BOLD_OFF" name="BoldOff"/>
<member cname="GTK_HTML_COMMAND_BOLD_TOGGLE" name="BoldToggle"/>
<member cname="GTK_HTML_COMMAND_ITALIC_ON" name="ItalicOn"/>
<member cname="GTK_HTML_COMMAND_ITALIC_OFF" name="ItalicOff"/>
<member cname="GTK_HTML_COMMAND_ITALIC_TOGGLE" name="ItalicToggle"/>
<member cname="GTK_HTML_COMMAND_UNDERLINE_ON" name="UnderlineOn"/>
<member cname="GTK_HTML_COMMAND_UNDERLINE_OFF" name="UnderlineOff"/>
<member cname="GTK_HTML_COMMAND_UNDERLINE_TOGGLE" name="UnderlineToggle"/>
<member cname="GTK_HTML_COMMAND_STRIKEOUT_ON" name="StrikeoutOn"/>
<member cname="GTK_HTML_COMMAND_STRIKEOUT_OFF" name="StrikeoutOff"/>
<member cname="GTK_HTML_COMMAND_STRIKEOUT_TOGGLE" name="StrikeoutToggle"/>
<member cname="GTK_HTML_COMMAND_SIZE_MINUS_2" name="SizeMinus2"/>
<member cname="GTK_HTML_COMMAND_SIZE_MINUS_1" name="SizeMinus1"/>
<member cname="GTK_HTML_COMMAND_SIZE_PLUS_0" name="SizePlus0"/>
<member cname="GTK_HTML_COMMAND_SIZE_PLUS_1" name="SizePlus1"/>
<member cname="GTK_HTML_COMMAND_SIZE_PLUS_2" name="SizePlus2"/>
<member cname="GTK_HTML_COMMAND_SIZE_PLUS_3" name="SizePlus3"/>
<member cname="GTK_HTML_COMMAND_SIZE_PLUS_4" name="SizePlus4"/>
<member cname="GTK_HTML_COMMAND_SIZE_INCREASE" name="SizeIncrease"/>
<member cname="GTK_HTML_COMMAND_SIZE_DECREASE" name="SizeDecrease"/>
<member cname="GTK_HTML_COMMAND_ALIGN_LEFT" name="AlignLeft"/>
<member cname="GTK_HTML_COMMAND_ALIGN_CENTER" name="AlignCenter"/>
<member cname="GTK_HTML_COMMAND_ALIGN_RIGHT" name="AlignRight"/>
<member cname="GTK_HTML_COMMAND_INDENT_ZERO" name="IndentZero"/>
<member cname="GTK_HTML_COMMAND_INDENT_INC" name="IndentInc"/>
<member cname="GTK_HTML_COMMAND_INDENT_INC_OR_NEXT_CELL" name="IndentIncOrNextCell"/>
<member cname="GTK_HTML_COMMAND_INDENT_DEC" name="IndentDec"/>
<member cname="GTK_HTML_COMMAND_PREV_CELL" name="PrevCell"/>
<member cname="GTK_HTML_COMMAND_INDENT_PARAGRAPH" name="IndentParagraph"/>
<member cname="GTK_HTML_COMMAND_BREAK_AND_FILL_LINE" name="BreakAndFillLine"/>
<member cname="GTK_HTML_COMMAND_SPACE_AND_FILL_LINE" name="SpaceAndFillLine"/>
<member cname="GTK_HTML_COMMAND_PARAGRAPH_STYLE_NORMAL" name="ParagraphStyleNormal"/>
<member cname="GTK_HTML_COMMAND_PARAGRAPH_STYLE_H1" name="ParagraphStyleH1"/>
<member cname="GTK_HTML_COMMAND_PARAGRAPH_STYLE_H2" name="ParagraphStyleH2"/>
<member cname="GTK_HTML_COMMAND_PARAGRAPH_STYLE_H3" name="ParagraphStyleH3"/>
<member cname="GTK_HTML_COMMAND_PARAGRAPH_STYLE_H4" name="ParagraphStyleH4"/>
<member cname="GTK_HTML_COMMAND_PARAGRAPH_STYLE_H5" name="ParagraphStyleH5"/>
<member cname="GTK_HTML_COMMAND_PARAGRAPH_STYLE_H6" name="ParagraphStyleH6"/>
<member cname="GTK_HTML_COMMAND_PARAGRAPH_STYLE_ADDRESS" name="ParagraphStyleAddress"/>
<member cname="GTK_HTML_COMMAND_PARAGRAPH_STYLE_PRE" name="ParagraphStylePre"/>
<member cname="GTK_HTML_COMMAND_PARAGRAPH_STYLE_ITEMDOTTED" name="ParagraphStyleItemdotted"/>
<member cname="GTK_HTML_COMMAND_PARAGRAPH_STYLE_ITEMROMAN" name="ParagraphStyleItemroman"/>
<member cname="GTK_HTML_COMMAND_PARAGRAPH_STYLE_ITEMDIGIT" name="ParagraphStyleItemdigit"/>
<member cname="GTK_HTML_COMMAND_PARAGRAPH_STYLE_ITEMALPHA" name="ParagraphStyleItemalpha"/>
<member cname="GTK_HTML_COMMAND_MODIFY_SELECTION_UP" name="ModifySelectionUp"/>
<member cname="GTK_HTML_COMMAND_MODIFY_SELECTION_DOWN" name="ModifySelectionDown"/>
<member cname="GTK_HTML_COMMAND_MODIFY_SELECTION_LEFT" name="ModifySelectionLeft"/>
<member cname="GTK_HTML_COMMAND_MODIFY_SELECTION_RIGHT" name="ModifySelectionRight"/>
<member cname="GTK_HTML_COMMAND_MODIFY_SELECTION_PAGEUP" name="ModifySelectionPageup"/>
<member cname="GTK_HTML_COMMAND_MODIFY_SELECTION_PAGEDOWN" name="ModifySelectionPagedown"/>
<member cname="GTK_HTML_COMMAND_MODIFY_SELECTION_BOL" name="ModifySelectionBol"/>
<member cname="GTK_HTML_COMMAND_MODIFY_SELECTION_EOL" name="ModifySelectionEol"/>
<member cname="GTK_HTML_COMMAND_MODIFY_SELECTION_BOD" name="ModifySelectionBod"/>
<member cname="GTK_HTML_COMMAND_MODIFY_SELECTION_EOD" name="ModifySelectionEod"/>
<member cname="GTK_HTML_COMMAND_MODIFY_SELECTION_PREV_WORD" name="ModifySelectionPrevWord"/>
<member cname="GTK_HTML_COMMAND_MODIFY_SELECTION_NEXT_WORD" name="ModifySelectionNextWord"/>
<member cname="GTK_HTML_COMMAND_CAPITALIZE_WORD" name="CapitalizeWord"/>
<member cname="GTK_HTML_COMMAND_UPCASE_WORD" name="UpcaseWord"/>
<member cname="GTK_HTML_COMMAND_DOWNCASE_WORD" name="DowncaseWord"/>
<member cname="GTK_HTML_COMMAND_SPELL_SUGGEST" name="SpellSuggest"/>
<member cname="GTK_HTML_COMMAND_SPELL_PERSONAL_DICTIONARY_ADD" name="SpellPersonalDictionaryAdd"/>
<member cname="GTK_HTML_COMMAND_SPELL_SESSION_DICTIONARY_ADD" name="SpellSessionDictionaryAdd"/>
<member cname="GTK_HTML_COMMAND_SEARCH" name="Search"/>
<member cname="GTK_HTML_COMMAND_SEARCH_INCREMENTAL_FORWARD" name="SearchIncrementalForward"/>
<member cname="GTK_HTML_COMMAND_SEARCH_INCREMENTAL_BACKWARD" name="SearchIncrementalBackward"/>
<member cname="GTK_HTML_COMMAND_SEARCH_REGEX" name="SearchRegex"/>
<member cname="GTK_HTML_COMMAND_FOCUS_FORWARD" name="FocusForward"/>
<member cname="GTK_HTML_COMMAND_FOCUS_BACKWARD" name="FocusBackward"/>
<member cname="GTK_HTML_COMMAND_POPUP_MENU" name="PopupMenu"/>
<member cname="GTK_HTML_COMMAND_PROPERTIES_DIALOG" name="PropertiesDialog"/>
<member cname="GTK_HTML_COMMAND_CURSOR_FORWARD" name="CursorForward"/>
<member cname="GTK_HTML_COMMAND_CURSOR_BACKWARD" name="CursorBackward"/>
<member cname="GTK_HTML_COMMAND_INSERT_TABLE_1_1" name="InsertTable11"/>
<member cname="GTK_HTML_COMMAND_TABLE_INSERT_COL_AFTER" name="TableInsertColAfter"/>
<member cname="GTK_HTML_COMMAND_TABLE_INSERT_COL_BEFORE" name="TableInsertColBefore"/>
<member cname="GTK_HTML_COMMAND_TABLE_INSERT_ROW_AFTER" name="TableInsertRowAfter"/>
<member cname="GTK_HTML_COMMAND_TABLE_INSERT_ROW_BEFORE" name="TableInsertRowBefore"/>
<member cname="GTK_HTML_COMMAND_TABLE_DELETE_COL" name="TableDeleteCol"/>
<member cname="GTK_HTML_COMMAND_TABLE_DELETE_ROW" name="TableDeleteRow"/>
<member cname="GTK_HTML_COMMAND_TABLE_CELL_INC_CSPAN" name="TableCellIncCspan"/>
<member cname="GTK_HTML_COMMAND_TABLE_CELL_DEC_CSPAN" name="TableCellDecCspan"/>
<member cname="GTK_HTML_COMMAND_TABLE_CELL_INC_RSPAN" name="TableCellIncRspan"/>
<member cname="GTK_HTML_COMMAND_TABLE_CELL_DEC_RSPAN" name="TableCellDecRspan"/>
<member cname="GTK_HTML_COMMAND_TABLE_CELL_JOIN_LEFT" name="TableCellJoinLeft"/>
<member cname="GTK_HTML_COMMAND_TABLE_CELL_JOIN_RIGHT" name="TableCellJoinRight"/>
<member cname="GTK_HTML_COMMAND_TABLE_CELL_JOIN_UP" name="TableCellJoinUp"/>
<member cname="GTK_HTML_COMMAND_TABLE_CELL_JOIN_DOWN" name="TableCellJoinDown"/>
<member cname="GTK_HTML_COMMAND_TABLE_BORDER_WIDTH_INC" name="TableBorderWidthInc"/>
<member cname="GTK_HTML_COMMAND_TABLE_BORDER_WIDTH_DEC" name="TableBorderWidthDec"/>
<member cname="GTK_HTML_COMMAND_TABLE_BORDER_WIDTH_ZERO" name="TableBorderWidthZero"/>
<member cname="GTK_HTML_COMMAND_TEXT_SET_DEFAULT_COLOR" name="TextSetDefaultColor"/>
<member cname="GTK_HTML_COMMAND_SELECT_WORD" name="SelectWord"/>
<member cname="GTK_HTML_COMMAND_SELECT_LINE" name="SelectLine"/>
<member cname="GTK_HTML_COMMAND_SELECT_PARAGRAPH" name="SelectParagraph"/>
<member cname="GTK_HTML_COMMAND_SELECT_PARAGRAPH_EXTENDED" name="SelectParagraphExtended"/>
<member cname="GTK_HTML_COMMAND_SELECT_ALL" name="SelectAll"/>
<member cname="GTK_HTML_COMMAND_CURSOR_POSITION_SAVE" name="CursorPositionSave"/>
<member cname="GTK_HTML_COMMAND_CURSOR_POSITION_RESTORE" name="CursorPositionRestore"/>
<member cname="GTK_HTML_COMMAND_CURSOR_BOD" name="CursorBod"/>
<member cname="GTK_HTML_COMMAND_CURSOR_EOD" name="CursorEod"/>
<member cname="GTK_HTML_COMMAND_BLOCK_REDRAW" name="BlockRedraw"/>
<member cname="GTK_HTML_COMMAND_UNBLOCK_REDRAW" name="UnblockRedraw"/>
<member cname="GTK_HTML_COMMAND_ZOOM_IN" name="ZoomIn"/>
<member cname="GTK_HTML_COMMAND_ZOOM_OUT" name="ZoomOut"/>
<member cname="GTK_HTML_COMMAND_ZOOM_RESET" name="ZoomReset"/>
<member cname="GTK_HTML_COMMAND_TABLE_SPACING_INC" name="TableSpacingInc"/>
<member cname="GTK_HTML_COMMAND_TABLE_SPACING_DEC" name="TableSpacingDec"/>
<member cname="GTK_HTML_COMMAND_TABLE_SPACING_ZERO" name="TableSpacingZero"/>
<member cname="GTK_HTML_COMMAND_TABLE_PADDING_INC" name="TablePaddingInc"/>
<member cname="GTK_HTML_COMMAND_TABLE_PADDING_DEC" name="TablePaddingDec"/>
<member cname="GTK_HTML_COMMAND_TABLE_PADDING_ZERO" name="TablePaddingZero"/>
<member cname="GTK_HTML_COMMAND_DELETE_TABLE" name="DeleteTable"/>
<member cname="GTK_HTML_COMMAND_DELETE_TABLE_ROW" name="DeleteTableRow"/>
<member cname="GTK_HTML_COMMAND_DELETE_TABLE_COLUMN" name="DeleteTableColumn"/>
<member cname="GTK_HTML_COMMAND_DELETE_TABLE_CELL_CONTENTS" name="DeleteTableCellContents"/>
<member cname="GTK_HTML_COMMAND_GRAB_FOCUS" name="GrabFocus"/>
<member cname="GTK_HTML_COMMAND_KILL_WORD" name="KillWord"/>
<member cname="GTK_HTML_COMMAND_KILL_WORD_BACKWARD" name="KillWordBackward"/>
<member cname="GTK_HTML_COMMAND_TEXT_COLOR_APPLY" name="TextColorApply"/>
</enum>
<enum name="HTMLCursorSkipType" cname="GtkHTMLCursorSkipType" type="enum">
<member cname="GTK_HTML_CURSOR_SKIP_ONE" name="One"/>
<member cname="GTK_HTML_CURSOR_SKIP_WORD" name="Word"/>
<member cname="GTK_HTML_CURSOR_SKIP_PAGE" name="Page"/>
<member cname="GTK_HTML_CURSOR_SKIP_ALL" name="All"/>
</enum>
<enum name="HTMLEditorEventType" cname="GtkHTMLEditorEventType" type="enum">
<member cname="GTK_HTML_EDITOR_EVENT_COMMAND_BEFORE" name="CommandBefore"/>
<member cname="GTK_HTML_EDITOR_EVENT_COMMAND_AFTER" name="CommandAfter"/>
<member cname="GTK_HTML_EDITOR_EVENT_IMAGE_URL" name="ImageUrl"/>
<member cname="GTK_HTML_EDITOR_EVENT_DELETE" name="Delete"/>
</enum>
<enum name="HTMLEtchStyle" cname="GtkHTMLEtchStyle" type="enum">
<member cname="GTK_HTML_ETCH_IN" name="In"/>
<member cname="GTK_HTML_ETCH_OUT" name="Out"/>
<member cname="GTK_HTML_ETCH_NONE" name="None"/>
</enum>
<enum name="HTMLFontStyle" cname="GtkHTMLFontStyle" type="flags">
<member cname="GTK_HTML_FONT_STYLE_DEFAULT" name="Default"/>
<member cname="GTK_HTML_FONT_STYLE_SIZE_1" name="Size1" value="1"/>
<member cname="GTK_HTML_FONT_STYLE_SIZE_2" name="Size2" value="2"/>
<member cname="GTK_HTML_FONT_STYLE_SIZE_3" name="Size3" value="3"/>
<member cname="GTK_HTML_FONT_STYLE_SIZE_4" name="Size4" value="4"/>
<member cname="GTK_HTML_FONT_STYLE_SIZE_5" name="Size5" value="5"/>
<member cname="GTK_HTML_FONT_STYLE_SIZE_6" name="Size6" value="6"/>
<member cname="GTK_HTML_FONT_STYLE_SIZE_7" name="Size7" value="7"/>
<member cname="GTK_HTML_FONT_STYLE_SIZE_MASK" name="SizeMask" value="0x7"/>
<member cname="GTK_HTML_FONT_STYLE_BOLD" name="Bold" value="1 &lt;&lt; 3"/>
<member cname="GTK_HTML_FONT_STYLE_ITALIC" name="Italic" value="1 &lt;&lt; 4"/>
<member cname="GTK_HTML_FONT_STYLE_UNDERLINE" name="Underline" value="1 &lt;&lt; 5"/>
<member cname="GTK_HTML_FONT_STYLE_STRIKEOUT" name="Strikeout" value="1 &lt;&lt; 6"/>
<member cname="GTK_HTML_FONT_STYLE_FIXED" name="Fixed" value="1 &lt;&lt; 7"/>
<member cname="GTK_HTML_FONT_STYLE_SUBSCRIPT" name="Subscript" value="1 &lt;&lt; 8"/>
<member cname="GTK_HTML_FONT_STYLE_SUPERSCRIPT" name="Superscript" value="1 &lt;&lt; 9"/>
</enum>
<enum name="HTMLParagraphAlignment" cname="GtkHTMLParagraphAlignment" type="enum">
<member cname="GTK_HTML_PARAGRAPH_ALIGNMENT_LEFT" name="Left"/>
<member cname="GTK_HTML_PARAGRAPH_ALIGNMENT_RIGHT" name="Right"/>
<member cname="GTK_HTML_PARAGRAPH_ALIGNMENT_CENTER" name="Center"/>
</enum>
<enum name="HTMLParagraphStyle" cname="GtkHTMLParagraphStyle" type="enum">
<member cname="GTK_HTML_PARAGRAPH_STYLE_NORMAL" name="Normal"/>
<member cname="GTK_HTML_PARAGRAPH_STYLE_H1" name="H1"/>
<member cname="GTK_HTML_PARAGRAPH_STYLE_H2" name="H2"/>
<member cname="GTK_HTML_PARAGRAPH_STYLE_H3" name="H3"/>
<member cname="GTK_HTML_PARAGRAPH_STYLE_H4" name="H4"/>
<member cname="GTK_HTML_PARAGRAPH_STYLE_H5" name="H5"/>
<member cname="GTK_HTML_PARAGRAPH_STYLE_H6" name="H6"/>
<member cname="GTK_HTML_PARAGRAPH_STYLE_ADDRESS" name="Address"/>
<member cname="GTK_HTML_PARAGRAPH_STYLE_PRE" name="Pre"/>
<member cname="GTK_HTML_PARAGRAPH_STYLE_ITEMDOTTED" name="Itemdotted"/>
<member cname="GTK_HTML_PARAGRAPH_STYLE_ITEMROMAN" name="Itemroman"/>
<member cname="GTK_HTML_PARAGRAPH_STYLE_ITEMDIGIT" name="Itemdigit"/>
<member cname="GTK_HTML_PARAGRAPH_STYLE_ITEMALPHA" name="Itemalpha"/>
</enum>
<enum name="HTMLStreamStatus" cname="GtkHTMLStreamStatus" type="enum">
<member cname="GTK_HTML_STREAM_OK" name="Ok"/>
<member cname="GTK_HTML_STREAM_ERROR" name="Error"/>
</enum>
<callback name="HTMLPrintCallback" cname="GtkHTMLPrintCallback">
<return-type type="void"/>
<parameters>
<parameter type="GtkHTML*" name="html"/>
<parameter type="GnomePrintContext*" name="print_context"/>
<parameter type="gdouble" name="x"/>
<parameter type="gdouble" name="y"/>
<parameter type="gdouble" name="width"/>
<parameter type="gdouble" name="height"/>
<parameter type="gpointer" name="user_data"/>
</parameters>
</callback>
<callback name="HTMLSaveReceiverFn" cname="GtkHTMLSaveReceiverFn">
<return-type type="gboolean"/>
<parameters>
<parameter type="gpointer" name="engine"/>
<parameter type="const-gchar*" name="data"/>
<parameter type="size_t" name="len"/>
<parameter type="gpointer" name="user_data"/>
</parameters>
</callback>
<callback name="HTMLStreamCloseFunc" cname="GtkHTMLStreamCloseFunc">
<return-type type="void"/>
<parameters>
<parameter type="GtkHTMLStream*" name="stream"/>
<parameter type="GtkHTMLStreamStatus" name="status"/>
<parameter type="gpointer" name="user_data"/>
</parameters>
</callback>
<callback name="HTMLStreamTypesFunc" cname="GtkHTMLStreamTypesFunc">
<return-type type="char**"/>
<parameters>
<parameter type="GtkHTMLStream*" name="stream"/>
<parameter type="gpointer" name="user_data"/>
</parameters>
</callback>
<callback name="HTMLStreamWriteFunc" cname="GtkHTMLStreamWriteFunc">
<return-type type="void"/>
<parameters>
<parameter type="GtkHTMLStream*" name="stream"/>
<parameter type="const-gchar*" name="buffer"/>
<parameter type="size_t" name="size"/>
<parameter type="gpointer" name="user_data"/>
</parameters>
</callback>
<object name="HTML" cname="GtkHTML" parent="GtkLayout">
<field cname="editor_bindings" type="GtkBindingSet*"/>
<field cname="iframe_parent" type="GtkWidget*"/>
<field cname="frame" type="HTMLObject*"/>
<field cname="editor_api" type="GtkHTMLEditorAPI*"/>
<field cname="editor_data" type="gpointer"/>
<field cname="engine" type="HTMLEngine*"/>
<field cname="pointer_url" type="gchar*"/>
<field cname="hand_cursor" type="GdkCursor*"/>
<field cname="arrow_cursor" type="GdkCursor*"/>
<field cname="ibeam_cursor" type="GdkCursor*"/>
<field cname="selection_x1" type="gint"/>
<field cname="selection_y1" type="gint"/>
<field cname="in_selection" bits="1" type="guint"/>
<field cname="button1_pressed" bits="1" type="guint"/>
<field cname="debug" bits="1" type="guint"/>
<field cname="allow_selection" bits="1" type="guint"/>
<field cname="hadj_connection" type="guint"/>
<field cname="vadj_connection" type="guint"/>
<field cname="binding_handled" type="gboolean"/>
<field cname="priv" type="GtkHTMLPrivate*"/>
<signal name="TitleChanged" cname="title_changed" when="FIRST">
<return-type type="void"/>
<parameters>
<parameter type="GtkHTML*" name="html"/>
<parameter type="const-gchar*" name="new_title"/>
</parameters>
</signal>
<signal name="UrlRequested" cname="url_requested" when="FIRST">
<return-type type="void"/>
<parameters>
<parameter type="GtkHTML*" name="html"/>
<parameter type="const-gchar*" name="url"/>
<parameter type="GtkHTMLStream*" name="handle"/>
</parameters>
</signal>
<signal name="LoadDone" cname="load_done" when="FIRST">
<return-type type="void"/>
<parameters>
<parameter type="GtkHTML*" name="html"/>
</parameters>
</signal>
<signal name="LinkClicked" cname="link_clicked" when="FIRST">
<return-type type="void"/>
<parameters>
<parameter type="GtkHTML*" name="html"/>
<parameter type="const-gchar*" name="url"/>
</parameters>
</signal>
<signal name="SetBase" cname="set_base" when="FIRST">
<return-type type="void"/>
<parameters>
<parameter type="GtkHTML*" name="html"/>
<parameter type="const-gchar*" name="base_url"/>
</parameters>
</signal>
<signal name="SetBaseTarget" cname="set_base_target" when="FIRST">
<return-type type="void"/>
<parameters>
<parameter type="GtkHTML*" name="html"/>
<parameter type="const-gchar*" name="base_url"/>
</parameters>
</signal>
<signal name="OnUrl" cname="on_url" when="FIRST">
<return-type type="void"/>
<parameters>
<parameter type="GtkHTML*" name="html"/>
<parameter type="const-gchar*" name="url"/>
</parameters>
</signal>
<signal name="Redirect" cname="redirect" when="FIRST">
<return-type type="void"/>
<parameters>
<parameter type="GtkHTML*" name="html"/>
<parameter type="const-gchar*" name="url"/>
<parameter type="int" name="delay"/>
</parameters>
</signal>
<signal name="Submit" cname="submit" when="FIRST">
<return-type type="void"/>
<parameters>
<parameter type="GtkHTML*" name="html"/>
<parameter type="const-gchar*" name="method"/>
<parameter type="const-gchar*" name="url"/>
<parameter type="const-gchar*" name="encoding"/>
</parameters>
</signal>
<signal name="ObjectRequested" cname="object_requested" when="LAST">
<return-type type="gboolean"/>
<parameters>
<parameter type="GtkHTML*" name="html"/>
<parameter type="*" name=""/>
</parameters>
</signal>
<signal name="CurrentParagraphStyleChanged" cname="current_paragraph_style_changed" when="FIRST">
<return-type type="void"/>
<parameters>
<parameter type="GtkHTML*" name="html"/>
<parameter type="GtkHTMLParagraphStyle" name="new_style"/>
</parameters>
</signal>
<signal name="CurrentParagraphIndentationChanged" cname="current_paragraph_indentation_changed" when="FIRST">
<return-type type="void"/>
<parameters>
<parameter type="GtkHTML*" name="html"/>
<parameter type="guint" name="new_indentation"/>
</parameters>
</signal>
<signal name="CurrentParagraphAlignmentChanged" cname="current_paragraph_alignment_changed" when="FIRST">
<return-type type="void"/>
<parameters>
<parameter type="GtkHTML*" name="html"/>
<parameter type="GtkHTMLParagraphAlignment" name="new_alignment"/>
</parameters>
</signal>
<signal name="InsertionFontStyleChanged" cname="insertion_font_style_changed" when="FIRST">
<return-type type="void"/>
<parameters>
<parameter type="GtkHTML*" name="html"/>
<parameter type="GtkHTMLFontStyle" name="style"/>
</parameters>
</signal>
<signal name="InsertionColorChanged" cname="insertion_color_changed" when="FIRST">
<return-type type="void"/>
<parameters>
<parameter type="GtkHTML*" name="html"/>
<parameter type="GdkColor*" name="color"/>
</parameters>
</signal>
<signal name="SizeChanged" cname="size_changed" when="FIRST">
<return-type type="void"/>
<parameters>
<parameter type="GtkHTML*" name="html"/>
</parameters>
</signal>
<signal name="IframeCreated" cname="iframe_created" when="FIRST">
<return-type type="void"/>
<parameters>
<parameter type="GtkHTML*" name="html"/>
<parameter type="GtkHTML*" name="iframe"/>
</parameters>
</signal>
<signal name="Scroll" cname="scroll" when="LAST">
<return-type type="void"/>
<parameters>
<parameter type="GtkHTML*" name="html"/>
<parameter type="GtkOrientation" name="orientation"/>
<parameter type="GtkScrollType" name="scroll_type"/>
<parameter type="gfloat" name="position"/>
</parameters>
</signal>
<signal name="CursorMove" cname="cursor_move" when="LAST">
<return-type type="void"/>
<parameters>
<parameter type="GtkHTML*" name="html"/>
<parameter type="GtkDirectionType" name="dir_type"/>
<parameter type="GtkHTMLCursorSkipType" name="skip"/>
</parameters>
</signal>
<signal name="OnCommand" cname="command" when="LAST">
<return-type type="gboolean"/>
<parameters>
<parameter type="GtkHTML*" name="html"/>
<parameter type="GtkHTMLCommandType" name="com_type"/>
</parameters>
</signal>
<method name="BeginContent" cname="gtk_html_begin_content">
<return-type type="GtkHTMLStream*"/>
<parameters>
<parameter type="gchar*" name="content_type"/>
</parameters>
</method>
<method name="SetDefaultContentType" cname="gtk_html_set_default_content_type">
<return-type type="void"/>
<parameters>
<parameter type="gchar*" name="content_type"/>
</parameters>
</method>
<method name="SetDefaultBackgroundColor" cname="gtk_html_set_default_background_color">
<return-type type="void"/>
<parameters>
<parameter type="GdkColor*" name="c"/>
</parameters>
</method>
<method name="SetParagraphAlignment" cname="gtk_html_set_paragraph_alignment">
<return-type type="void"/>
<parameters>
<parameter type="GtkHTMLParagraphAlignment" name="alignment"/>
</parameters>
</method>
<method name="SetMagnification" cname="gtk_html_set_magnification">
<return-type type="void"/>
<parameters>
<parameter type="gdouble" name="magnification"/>
</parameters>
</method>
<method name="AllowSelection" cname="gtk_html_allow_selection">
<return-type type="void"/>
<parameters>
<parameter type="gboolean" name="allow"/>
</parameters>
</method>
<method name="ImagePreload" cname="gtk_html_image_preload">
<return-type type="void"/>
<parameters>
<parameter type="const-gchar*" name="url"/>
</parameters>
</method>
<method name="InsertGtkHtml" cname="gtk_html_insert_gtk_html">
<return-type type="void"/>
<parameters>
<parameter type="GtkHTML*" name="to_be_destroyed"/>
</parameters>
</method>
<method name="Save" cname="gtk_html_save">
<return-type type="gboolean"/>
<parameters>
<parameter type="GtkHTMLSaveReceiverFn" name="receiver"/>
<parameter type="gpointer" name="data"/>
</parameters>
</method>
<method name="SelectParagraphExtended" cname="gtk_html_select_paragraph_extended">
<return-type type="void"/>
</method>
<constructor cname="gtk_html_new_from_string">
<parameters>
<parameter type="const-gchar*" name="str"/>
<parameter type="gint" name="len"/>
</parameters>
</constructor>
<method name="Cut" cname="gtk_html_cut">
<return-type type="void"/>
</method>
<method name="ZoomOut" cname="gtk_html_zoom_out">
<return-type type="void"/>
</method>
<method name="Begin" cname="gtk_html_begin">
<return-type type="GtkHTMLStream*"/>
</method>
<method name="SelectAll" cname="gtk_html_select_all">
<return-type type="void"/>
</method>
<method name="ImageRef" cname="gtk_html_image_ref">
<return-type type="void"/>
<parameters>
<parameter type="const-gchar*" name="url"/>
</parameters>
</method>
<method name="SetBase" cname="gtk_html_set_base">
<return-type type="void"/>
<parameters>
<parameter type="const-char*" name="url"/>
</parameters>
</method>
<method name="PrintSetMaster" cname="gtk_html_print_set_master">
<return-type type="void"/>
<parameters>
<parameter type="GnomePrintMaster*" name="print_master"/>
</parameters>
</method>
<method name="RequestPaste" cname="gtk_html_request_paste">
<return-type type="int"/>
<parameters>
<parameter type="GdkAtom" name="selection"/>
<parameter type="gint" name="type"/>
<parameter type="gint32" name="time"/>
</parameters>
</method>
<method name="SetParagraphStyle" cname="gtk_html_set_paragraph_style">
<return-type type="void"/>
<parameters>
<parameter type="GtkHTMLParagraphStyle" name="style"/>
</parameters>
</method>
<method name="Command" cname="gtk_html_command">
<return-type type="gboolean"/>
<parameters>
<parameter type="const-gchar*" name="command_name"/>
</parameters>
</method>
<method name="ToggleFontStyle" cname="gtk_html_toggle_font_style">
<return-type type="void"/>
<parameters>
<parameter type="GtkHTMLFontStyle" name="style"/>
</parameters>
</method>
<method name="SetAllowFrameset" cname="gtk_html_set_allow_frameset">
<return-type type="void"/>
<parameters>
<parameter type="gboolean" name="allow"/>
</parameters>
</method>
<method name="LoadFromString" cname="gtk_html_load_from_string">
<return-type type="void"/>
<parameters>
<parameter type="const-gchar*" name="str"/>
<parameter type="gint" name="len"/>
</parameters>
</method>
<method name="SetColor" cname="gtk_html_set_color">
<return-type type="void"/>
<parameters>
<parameter type="HTMLColor*" name="color"/>
</parameters>
</method>
<constructor cname="gtk_html_new"/>
<method name="GetParagraphStyle" cname="gtk_html_get_paragraph_style">
<return-type type="GtkHTMLParagraphStyle"/>
</method>
<method name="ImagesUnref" cname="gtk_html_images_unref">
<return-type type="void"/>
</method>
<method name="GetBase" cname="gtk_html_get_base">
<return-type type="const-char*"/>
</method>
<method name="Undo" cname="gtk_html_undo">
<return-type type="void"/>
</method>
<method name="SelectWord" cname="gtk_html_select_word">
<return-type type="void"/>
</method>
<method name="UpdateStyles" cname="gtk_html_update_styles">
<return-type type="void"/>
</method>
<method name="SetFontStyle" cname="gtk_html_set_font_style">
<return-type type="void"/>
<parameters>
<parameter type="GtkHTMLFontStyle" name="and_mask"/>
<parameter type="GtkHTMLFontStyle" name="or_mask"/>
</parameters>
</method>
<method name="GetUrlObjectRelative" cname="gtk_html_get_url_object_relative">
<return-type type="char*"/>
<parameters>
<parameter type="HTMLObject*" name="o"/>
<parameter type="const-char*" name="url"/>
</parameters>
</method>
<method name="SelectParagraph" cname="gtk_html_select_paragraph">
<return-type type="void"/>
</method>
<method name="Print" cname="gtk_html_print">
<return-type type="void"/>
<parameters>
<parameter type="GnomePrintContext*" name="print_context"/>
</parameters>
</method>
<method name="PrintGetPagesNum" cname="gtk_html_print_get_pages_num">
<return-type type="gint"/>
<parameters>
<parameter type="GnomePrintContext*" name="print_context"/>
<parameter type="gdouble" name="header_height"/>
<parameter type="gdouble" name="footer_height"/>
</parameters>
</method>
<method name="AppendHtml" cname="gtk_html_append_html">
<return-type type="void"/>
<parameters>
<parameter type="const-gchar*" name="html_src"/>
</parameters>
</method>
<method name="ZoomIn" cname="gtk_html_zoom_in">
<return-type type="void"/>
</method>
<method name="LoadEmpty" cname="gtk_html_load_empty">
<return-type type="void"/>
</method>
<method name="SetTitle" cname="gtk_html_set_title">
<return-type type="void"/>
<parameters>
<parameter type="const-char*" name="title"/>
</parameters>
</method>
<method name="GetUrlBaseRelative" cname="gtk_html_get_url_base_relative">
<return-type type="char*"/>
<parameters>
<parameter type="const-char*" name="url"/>
</parameters>
</method>
<method name="GetAllowFrameset" cname="gtk_html_get_allow_frameset">
<return-type type="gboolean"/>
</method>
<method name="EnableDebug" cname="gtk_html_enable_debug">
<return-type type="void"/>
<parameters>
<parameter type="gboolean" name="debug"/>
</parameters>
</method>
<method name="EditMakeCursorVisible" cname="gtk_html_edit_make_cursor_visible">
<return-type type="gboolean"/>
</method>
<method name="SetIframeParent" cname="gtk_html_set_iframe_parent">
<return-type type="void"/>
<parameters>
<parameter type="GtkWidget*" name="parent"/>
<parameter type="HTMLObject*" name="frame"/>
</parameters>
</method>
<method name="GetEditable" cname="gtk_html_get_editable">
<return-type type="gboolean"/>
</method>
<method name="ImagesRef" cname="gtk_html_images_ref">
<return-type type="void"/>
</method>
<method name="SetEditorApi" cname="gtk_html_set_editor_api">
<return-type type="void"/>
<parameters>
<parameter type="GtkHTMLEditorAPI*" name="api"/>
<parameter type="gpointer" name="data"/>
</parameters>
</method>
<method name="End" cname="gtk_html_end">
<return-type type="void"/>
<parameters>
<parameter type="GtkHTMLStream*" name="handle"/>
<parameter type="GtkHTMLStreamStatus" name="status"/>
</parameters>
</method>
<method name="Export" cname="gtk_html_export">
<return-type type="gboolean"/>
<parameters>
<parameter type="const-char*" name="type"/>
<parameter type="GtkHTMLSaveReceiverFn" name="receiver"/>
<parameter type="gpointer" name="data"/>
</parameters>
</method>
<method name="Paste" cname="gtk_html_paste">
<return-type type="void"/>
</method>
<method name="ModifyIndentByDelta" cname="gtk_html_modify_indent_by_delta">
<return-type type="void"/>
<parameters>
<parameter type="gint" name="delta"/>
</parameters>
</method>
<method name="SetIndent" cname="gtk_html_set_indent">
<return-type type="void"/>
<parameters>
<parameter type="gint" name="level"/>
</parameters>
</method>
<method name="HasUndo" cname="gtk_html_has_undo">
<return-type type="gboolean"/>
</method>
<method name="DropUndo" cname="gtk_html_drop_undo">
<return-type type="void"/>
</method>
<method name="GetTitle" cname="gtk_html_get_title">
<return-type type="const-gchar*"/>
</method>
<method name="InsertHtml" cname="gtk_html_insert_html">
<return-type type="void"/>
<parameters>
<parameter type="const-gchar*" name="html_src"/>
</parameters>
</method>
<method name="JumpToAnchor" cname="gtk_html_jump_to_anchor">
<return-type type="gboolean"/>
<parameters>
<parameter type="const-gchar*" name="anchor"/>
</parameters>
</method>
<method name="SetEditable" cname="gtk_html_set_editable">
<return-type type="void"/>
<parameters>
<parameter type="gboolean" name="editable"/>
</parameters>
</method>
<method name="Write" cname="gtk_html_write">
<return-type type="void"/>
<parameters>
<parameter type="GtkHTMLStream*" name="handle"/>
<parameter type="const-gchar*" name="buffer"/>
<parameter type="size_t" name="size"/>
</parameters>
</method>
<method name="GetParagraphAlignment" cname="gtk_html_get_paragraph_alignment">
<return-type type="GtkHTMLParagraphAlignment"/>
</method>
<method name="ZoomReset" cname="gtk_html_zoom_reset">
<return-type type="void"/>
</method>
<method name="PrintWithHeaderFooter" cname="gtk_html_print_with_header_footer">
<return-type type="void"/>
<parameters>
<parameter type="GnomePrintContext*" name="print_context"/>
<parameter type="gdouble" name="header_height"/>
<parameter type="gdouble" name="footer_height"/>
<parameter type="GtkHTMLPrintCallback" name="header_print"/>
<parameter type="GtkHTMLPrintCallback" name="footer_print"/>
<parameter type="gpointer" name="user_data"/>
</parameters>
</method>
<method name="Redo" cname="gtk_html_redo">
<return-type type="void"/>
</method>
<method name="ImageUnref" cname="gtk_html_image_unref">
<return-type type="void"/>
<parameters>
<parameter type="const-gchar*" name="url"/>
</parameters>
</method>
<method name="SelectLine" cname="gtk_html_select_line">
<return-type type="void"/>
</method>
<method name="Copy" cname="gtk_html_copy">
<return-type type="void"/>
</method>
<method name="GetObjectById" cname="gtk_html_get_object_by_id">
<return-type type="gpointer"/>
<parameters>
<parameter type="const-gchar*" name="id"/>
</parameters>
</method>
<method name="SetBlocking" cname="gtk_html_set_blocking">
<return-type type="void"/>
<parameters>
<parameter type="gboolean" name="block"/>
</parameters>
</method>
</object>
<struct name="HTMLEditorAPI" cname="GtkHTMLEditorAPI">
<callback cname="check_word">
<return-type type="gboolean"/>
<parameters>
<parameter type="GtkHTML*" name="html,"/>
</parameters>
</callback>
<callback cname="suggestion_request">
<return-type type="void"/>
<parameters>
<parameter type="GtkHTML*" name="html,"/>
</parameters>
</callback>
<callback cname="add_to_session">
<return-type type="void"/>
<parameters>
<parameter type="GtkHTML*" name="html,"/>
</parameters>
</callback>
<callback cname="add_to_personal">
<return-type type="void"/>
<parameters>
<parameter type="GtkHTML*" name="html,"/>
</parameters>
</callback>
<callback cname="command">
<return-type type="gboolean"/>
<parameters>
<parameter type="GtkHTML*" name="html,"/>
</parameters>
</callback>
<callback cname="event">
<return-type type="GValue*"/>
<parameters>
<parameter type="GtkHTML*" name="html,"/>
</parameters>
</callback>
<callback cname="create_input_line">
<return-type type="GtkWidget*"/>
<parameters>
<parameter type="GtkHTML*" name="html,"/>
</parameters>
</callback>
<callback cname="set_language">
<return-type type="void"/>
<parameters>
<parameter type="GtkHTML*" name="html,"/>
</parameters>
</callback>
</struct>
</namespace>
<namespace name="Gdk" library="gdk-x11-2.0">
<enum name="AxisUse" cname="GdkAxisUse" type="enum">
<member cname="GDK_AXIS_IGNORE" name="Ignore"/>
@ -6879,7 +7698,7 @@
<method name="Write" cname="gdk_pixbuf_loader_write">
<return-type type="gboolean"/>
<parameters>
<parameter type="const-guchar*" name="buf"/>
<parameter type="const-guchar*" name="buf" array="1"/>
<parameter type="gsize" name="count"/>
<parameter type="GError**" name="error"/>
</parameters>

View file

@ -14,4 +14,18 @@
</data>
</rule>
<!-- array hints -->
<rule>
<class name="GdkPixbufLoader">
<method>Write</method>
</class>
<data>
<attribute target="param">
<filter level="type">const-guchar*</filter>
<name>array</name>
<value>1</value>
</attribute>
</data>
</rule>
</metadata>

View file

@ -12,7 +12,7 @@ unlink ($file);
"libgnome-2.0.1/libgnome" => "Gnome:libgnome-2.so.0",
"libgnomecanvas-2.0.1/libgnomecanvas" => "Gnome:libgnomecanvas-2.so.0",
"libgnomeui-2.0.1/libgnomeui" => "Gnome:libgnomeui-2.so.0",
"gtkhtml/src" => "Gtk:libgtkhtml-2.0.so.0");
"gtkhtml/src" => "Gtk:libgtkhtml-3.0.so.0");
foreach $dir (keys %srcs) {
($ns, $lib) = split (/:/, $srcs{$dir});

View file

@ -14,4 +14,18 @@
</data>
</rule>
<!-- array hints -->
<rule>
<class name="GdkPixbufLoader">
<method>Write</method>
</class>
<data>
<attribute target="param">
<filter level="type">const-guchar*</filter>
<name>array</name>
<value>1</value>
</attribute>
</data>
</rule>
</metadata>