Add support for Callbacks
[platform/upstream/gobject-introspection.git] / TODO
1 XML format
2 ----------
3 - Document the format
4 - Add attributes to connect signals to their default handlers
5   and wrappers to their vfuncs
6 - Add a way to specify default values
7 - Add a way to specify annotations
8 - Add a way to mark init functions like gtk_init
9
10 Binary format
11 -------------
12 - Sort arrays so that we can use bsearch for lookup
13 - Maybe add hashes to lookup interfaces and functions in interfaces
14 - Add default values
15 - Make annotations more flexible (and typed)
16
17 Compiler
18 --------
19 - Cleanup, maybe turn the nodes in to objects to avoid the horrific
20   type switches
21 - Add thorough error checking
22
23 Repository
24 ----------
25 - Reconsider the current clunky API, maybe an iterator approach is better
26 - Add thorough error checking
27 - Use hashes
28 - Maybe allow populating repositories at runtime
29 - Think about a system-wide repository mapping namespace ids to
30   libraries/metadata files
31 - Fix extra indirection for out parameters in invoke
32
33 Scanner
34 ------
35 - Virtual functions
36 - Signals
37 - Property.readable/writable, GLibProperty.blurb/nick
38 - Constants
39 - Annotations in external files
40
41 General
42 -------
43 - More tests
44 - Check how the format scales to something the size of GTK+
45
46 C API
47 -------
48 - type SYMBOL is kind of inconvenient; would be nicer to go straight to boxed, etc.
49 - no way to construct a boxed type
50 - no way to access struct fields (should have a way to go field -> GArgument)
51 - types namespaced GI, functions namespaced g_
52 - no way to get GType given a GIRegisteredTypeInfo