2004-03-18 22:03:49 +00:00
|
|
|
SUBDIRS = . glue
|
2004-03-12 21:18:11 +00:00
|
|
|
|
2005-01-09 00:26:45 +00:00
|
|
|
pkg = gtk
|
|
|
|
pkgconfigdir=$(libdir)/pkgconfig
|
|
|
|
pkgconfig_DATA=gtk-sharp-2.0.pc
|
2004-03-12 21:18:11 +00:00
|
|
|
|
2005-01-09 00:26:45 +00:00
|
|
|
SYMBOLS = gtk-symbols.xml
|
|
|
|
INCLUDE_API = ../pango/pango-api.xml ../atk/atk-api.xml ../gdk/gdk-api.xml
|
|
|
|
METADATA = Gtk.metadata
|
|
|
|
references = ../glib/glib-sharp.dll ../pango/pango-sharp.dll ../atk/atk-sharp.dll ../gdk/gdk-sharp.dll
|
* generator/StructBase.cs: update field-generation logic a bit
* generator/CodeGenerator.cs: add a --glue-includes flag
* generator/GenerationInfo.cs: Accept glue_includes value from
Main and output it to the glue_filename.
* generator/FieldBase.cs (Ignored): handle more ignorable cases.
(CheckGlue): New method to figure out what kind of glue we'll need
for a field.
(GenerateImports): generate appropriate imports per CheckGlue.
(GenerateGlue): Generate C glue for accessing a struct field;
either a fully-C-based accessor, or a method to just return the
field's offset in the struct.
(Generate): Use the generated glue to read the field.
* generator/PropertyBase.cs (CType): if the field is a single bit,
set its type to gboolean.
* generator/ObjectGen.cs (Generate):
* generator/OpaqueGen.cs (Generate): Call GenFields.
* generator/StructField.cs: Use FieldBase's glue-generation code
to handle bitfields. [#54489]
* generator/ObjectField.cs: Generates accessors for public fields
of objects and opaque structs. [#69514]
* generator/ClassBase.cs (ClassBase): Parse <fields> nodes and
create ObjectField objects.
(GenFields): Output field properties
(IgnoreMethod): Ignore Get/Set methods that duplicate fields
* generator/Makefile.am (sources): update
* {gdk,gnome,gtk,pango}/*.metadata: Mark some additional fields as
public. Rename/retype some fields for consistency with earlier
hand-coded bindings.
* {gdk,gnome,gtk,pango}/*.custom: Remove custom methods that can
now be autogenerated.
* {gdk,gnome,gtk,pango}/glue/*.c: Remove glue methods that can now
be autogenerated
* {gdk,glade,gnome,gtk,pango,vte}/Makefile.am
* {gdk,glade,gnome,gtk,pango,vte}/glue/Makefile.am
* {gdk,gnome,gtk,pango}/glue/makefile.win32: Update
svn path=/trunk/gtk-sharp/; revision=44563
2005-05-16 14:28:55 +00:00
|
|
|
glue_includes = gtk/gtk.h
|
2004-03-12 21:18:11 +00:00
|
|
|
|
|
|
|
sources = \
|
2004-11-26 14:59:38 +00:00
|
|
|
ActionEntry.cs \
|
2004-03-12 21:18:11 +00:00
|
|
|
Application.cs \
|
2004-12-23 22:59:59 +00:00
|
|
|
BindingAttribute.cs \
|
2004-11-18 20:31:22 +00:00
|
|
|
ChildPropertyAttribute.cs \
|
2004-03-12 21:18:11 +00:00
|
|
|
ITreeNode.cs \
|
2004-12-17 20:32:33 +00:00
|
|
|
NodeCellDataFunc.cs \
|
2004-12-16 20:30:43 +00:00
|
|
|
NodeSelection.cs \
|
2004-03-12 21:18:11 +00:00
|
|
|
NodeStore.cs \
|
2004-12-16 20:30:43 +00:00
|
|
|
NodeView.cs \
|
2004-11-26 14:59:38 +00:00
|
|
|
RadioActionEntry.cs \
|
2005-01-18 03:06:15 +00:00
|
|
|
StockManager.cs \
|
2004-03-12 21:18:11 +00:00
|
|
|
ThreadNotify.cs \
|
2004-11-26 14:59:38 +00:00
|
|
|
ToggleActionEntry.cs \
|
2005-04-05 20:14:02 +00:00
|
|
|
Timeout.cs \
|
2005-05-11 19:41:45 +00:00
|
|
|
TreeEnumerator.cs \
|
2004-03-12 21:18:11 +00:00
|
|
|
TreeNodeAttribute.cs \
|
|
|
|
TreeNode.cs \
|
|
|
|
TreeNodeValueAttribute.cs
|
|
|
|
|
|
|
|
customs = \
|
|
|
|
Accel.custom \
|
|
|
|
AccelKey.custom \
|
2004-10-29 20:33:07 +00:00
|
|
|
Action.custom \
|
2004-11-26 14:59:38 +00:00
|
|
|
ActionGroup.custom \
|
2004-03-12 21:18:11 +00:00
|
|
|
Adjustment.custom \
|
2004-09-24 15:58:05 +00:00
|
|
|
Bin.custom \
|
2004-03-12 21:18:11 +00:00
|
|
|
Button.custom \
|
|
|
|
Calendar.custom \
|
2004-05-14 20:25:57 +00:00
|
|
|
CellRenderer.custom \
|
2005-01-04 18:54:02 +00:00
|
|
|
CellLayout.custom \
|
|
|
|
CellView.custom \
|
2004-05-07 17:32:32 +00:00
|
|
|
CheckMenuItem.custom \
|
2004-03-12 21:18:11 +00:00
|
|
|
Clipboard.custom \
|
|
|
|
ColorSelection.custom \
|
|
|
|
ColorSelectionDialog.custom \
|
|
|
|
Combo.custom \
|
2004-10-29 20:33:07 +00:00
|
|
|
ComboBox.custom \
|
2005-06-28 16:35:36 +00:00
|
|
|
ComboBoxEntry.custom \
|
2004-03-12 21:18:11 +00:00
|
|
|
Container.custom \
|
|
|
|
Dialog.custom \
|
2005-09-08 19:01:01 +00:00
|
|
|
Drag.custom \
|
2004-03-12 21:18:11 +00:00
|
|
|
Entry.custom \
|
2005-01-04 18:54:02 +00:00
|
|
|
EntryCompletion.custom \
|
2005-06-23 22:28:06 +00:00
|
|
|
FileChooser.custom \
|
|
|
|
FileChooserButton.custom \
|
2004-10-29 20:33:07 +00:00
|
|
|
FileChooserDialog.custom \
|
2004-10-30 02:40:00 +00:00
|
|
|
FileChooserWidget.custom \
|
2004-03-12 21:18:11 +00:00
|
|
|
FileSelection.custom \
|
2004-10-29 20:33:07 +00:00
|
|
|
FileSystemModel.custom \
|
2004-03-12 21:18:11 +00:00
|
|
|
Frame.custom \
|
2004-03-30 22:28:58 +00:00
|
|
|
HBox.custom \
|
2004-05-07 19:04:03 +00:00
|
|
|
HScale.custom \
|
2004-03-12 21:18:11 +00:00
|
|
|
IconFactory.custom \
|
|
|
|
IconSet.custom \
|
2004-10-29 20:33:07 +00:00
|
|
|
IconTheme.custom \
|
2005-01-07 19:32:23 +00:00
|
|
|
Image.custom \
|
2004-05-07 17:32:32 +00:00
|
|
|
ImageMenuItem.custom \
|
2004-09-03 15:59:29 +00:00
|
|
|
Init.custom \
|
2005-04-05 20:14:02 +00:00
|
|
|
Input.custom \
|
2004-05-10 17:37:02 +00:00
|
|
|
ItemFactory.custom \
|
2004-03-12 21:18:11 +00:00
|
|
|
Label.custom \
|
|
|
|
ListStore.custom \
|
|
|
|
MessageDialog.custom \
|
2004-08-24 19:54:09 +00:00
|
|
|
Menu.custom \
|
2004-05-07 15:48:25 +00:00
|
|
|
MenuItem.custom \
|
2004-03-12 21:18:11 +00:00
|
|
|
Notebook.custom \
|
|
|
|
Object.custom \
|
2004-05-10 17:37:02 +00:00
|
|
|
Plug.custom \
|
2004-03-12 21:18:11 +00:00
|
|
|
RadioButton.custom \
|
|
|
|
RadioMenuItem.custom \
|
|
|
|
ScrolledWindow.custom \
|
|
|
|
SelectionData.custom \
|
2004-05-28 15:05:36 +00:00
|
|
|
Settings.custom \
|
2004-05-07 19:41:36 +00:00
|
|
|
SpinButton.custom \
|
2004-03-12 21:18:11 +00:00
|
|
|
Stock.custom \
|
2005-01-06 21:41:01 +00:00
|
|
|
StockItem.custom \
|
2004-03-12 21:18:11 +00:00
|
|
|
Style.custom \
|
|
|
|
Table.custom \
|
|
|
|
TargetEntry.custom \
|
2004-10-19 14:21:48 +00:00
|
|
|
TargetList.custom \
|
2005-07-02 15:23:27 +00:00
|
|
|
TargetPair.custom \
|
|
|
|
TextAttributes.custom \
|
|
|
|
TextAppearance.custom \
|
2004-03-12 21:18:11 +00:00
|
|
|
TextBuffer.custom \
|
|
|
|
TextChildAnchor.custom \
|
|
|
|
TextIter.custom \
|
|
|
|
TextTag.custom \
|
|
|
|
TextView.custom \
|
2005-01-25 15:28:42 +00:00
|
|
|
Toolbar.custom \
|
2005-07-02 15:23:27 +00:00
|
|
|
TooltipsData.custom \
|
2004-03-12 21:18:11 +00:00
|
|
|
TreeIter.custom \
|
|
|
|
TreeModel.custom \
|
2004-10-29 20:33:07 +00:00
|
|
|
TreeModelFilter.custom \
|
2004-03-12 21:18:11 +00:00
|
|
|
TreeModelSort.custom \
|
|
|
|
TreePath.custom \
|
|
|
|
TreeSelection.custom \
|
2005-03-15 17:30:59 +00:00
|
|
|
TreeSortable.custom \
|
2004-03-12 21:18:11 +00:00
|
|
|
TreeStore.custom \
|
|
|
|
TreeViewColumn.custom \
|
|
|
|
TreeView.custom \
|
2005-01-09 00:26:45 +00:00
|
|
|
UIManager.custom \
|
2004-03-30 22:28:58 +00:00
|
|
|
VBox.custom \
|
2004-05-07 19:04:03 +00:00
|
|
|
VScale.custom \
|
2004-03-12 21:18:11 +00:00
|
|
|
Viewport.custom \
|
|
|
|
Widget.custom \
|
|
|
|
Window.custom
|
|
|
|
|
2005-01-09 00:26:45 +00:00
|
|
|
add_dist = makefile.win32 gtk-sharp-2.0.pc.in
|
2004-05-01 03:38:54 +00:00
|
|
|
|
2005-01-09 00:26:45 +00:00
|
|
|
include ../Makefile.include
|
2004-05-01 03:38:54 +00:00
|
|
|
|