summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2005-05-21 05:26:02 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2005-05-21 05:26:02 +0000
commit686dafb30b46e4bed0c1925dc489432aba2c9ac7 (patch)
tree4af8d346a014ee40b24f9111bbc43f76217e661b
parentdf4c9234a339965ae4365db51ac4d82cc2a38814 (diff)
downloadgobject-introspection-686dafb30b46e4bed0c1925dc489432aba2c9ac7.tar.gz
Updates.
2005-05-21 Matthias Clasen <mclasen@redhat.com> * TODO: Updates. * gidl.dtd: Updates. * src/g-idl-offsets.pl: A perl script which reads a .gidl file, creates, compiles and runs a C file, and folds the resulting struct offsets back into the .gidl file.
-rw-r--r--TODO1
-rw-r--r--gidl.dtd27
2 files changed, 20 insertions, 8 deletions
diff --git a/TODO b/TODO
index df5d8e46..5797a771 100644
--- a/TODO
+++ b/TODO
@@ -4,7 +4,6 @@ XML format
- Write a scanner to create XML from annotated headers
- Add attributes to connect signals to their default handlers
and wrappers to their vfuncs
-- Add attributes for struct offsets
- Add a way to specify default values
- Add a way to specify annotations
- Add a way to mark init functions like gtk_init
diff --git a/gidl.dtd b/gidl.dtd
index d134fc12..f86c970f 100644
--- a/gidl.dtd
+++ b/gidl.dtd
@@ -34,7 +34,9 @@
parent CDATA #REQUIRED
type-name CDATA #REQUIRED
get-type CDATA #REQUIRED
- deprecated (0|1) #IMPLIED >
+ deprecated (0|1) #IMPLIED
+ cname CDATA #IMPLIED
+ class CDATA #IMLIED >
<!ELEMENT implements (interface+) >
@@ -53,7 +55,9 @@
<!ATTLIST interface name CDATA #REQUIRED
type-name CDATA #REQUIRED
get-type CDATA #REQUIRED
- deprecated (0|1) #IMPLIED >
+ deprecated (0|1) #IMPLIED
+ cname CDATA #IMPLIED
+ class CDATA #IMLIED >
<!ELEMENT requires ((interface|object)*) >
@@ -78,13 +82,19 @@
<!ATTLIST vfunc name CDATA #REQUIRED
must-chain-up (0|1) #IMPLIED
override (always|never|maybe) #IMPLIED
- is-class-closure (0|1) #IMPLIED >
+ is-class-closure (0|1) #IMPLIED
+ cname #IMPLIED
+ offset #IMPLIED >
<!ELEMENT field EMPTY >
<!ATTLIST field name CDATA #REQUIRED
type CDATA #REQUIRED
bits CDATA #IMPLIED
- branch CDATA #IMPLIED>
+ readable (0|1) #IMPLIED
+ writable (0|1) #IMPLIED
+ branch CDATA #IMPLIED
+ cname CDATA #IMPLIED
+ offset CDATA #IMPLIED >
<!ELEMENT enum (member+) >
<!ATTLIST enum name CDATA #REQUIRED
@@ -108,17 +118,20 @@
<!ATTLIST boxed name CDATA #REQUIRED
type-name CDATA #IMPLIED
get-type CDATA #IMPLIED
- deprecated (0|1) #IMPLIED >
+ deprecated (0|1) #IMPLIED
+ cname CDATA #IMPLIED >
<!ELEMENT struct ((field|method)*) >
<!ATTLIST struct name CDATA #REQUIRED
- deprecated (0|1) #IMPLIED >
+ deprecated (0|1) #IMPLIED
+ cname CDATA #IMPLIED >
<!ELEMENT union (discriminator?,(constructor|field|method)*) >
<!ATTLIST union name CDATA #REQUIRED
type-name CDATA #IMPLIED
get-type CDATA #IMPLIED
- deprecated (0|1) #IMPLIED >
+ deprecated (0|1) #IMPLIED
+ cname CDATA #IMPLIED >
<!ELEMENT discriminator EMPTY >
<!ATTLIST discriminator offset CDATA #REQUIRED