File: TODO

package info (click to toggle)
gobject-introspection 1.66.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 15,604 kB
  • sloc: ansic: 39,345; xml: 14,694; python: 12,688; yacc: 1,640; lex: 497; perl: 271; sh: 84; makefile: 70
file content (50 lines) | stat: -rw-r--r-- 1,643 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
GIR XML format
----------
- Document the format better
- Add attributes to connect signals to their default handlers
  and wrappers to their vfuncs
- Add a way to specify default values
- Add a way to mark init functions like gtk_init
- For argument/return values etc, store only c:identifier in the
  <class/> definition. Requires a link to the references type in the 
  Type node.
- replace gidl/gdk-pixbuf.gidl with something generated from headers,
  verify all information is available, possible to write

Binary format
-------------
- Sort arrays so that we can use bsearch for lookup
- Maybe add hashes to lookup interfaces and functions in interfaces
- Add default values
- Make annotations more flexible (and typed)

Compiler
--------
- Cleanup, maybe turn the nodes in to objects to avoid the horrific
  type switches
- Add thorough error checking

Repository
----------
- Reconsider the current clunky API, maybe an iterator approach is better
- Add thorough error checking
- Use hashes
- Maybe allow populating repositories at runtime
- Think about a system-wide repository mapping namespace ids to
  libraries/metadata files
- Fix extra indirection for out parameters in invoke

Scanner
------
- Property.readable/writable, GLibProperty.blurb/nick
- Constants
- Annotations in external files which is not source code

C API
-------
- type SYMBOL is kind of inconvenient; would be nicer to go straight to 
  boxed, etc.
- no way to construct a boxed type
- no way to access struct fields (should have a way to go field -> GArgument)
- types namespaced GI, functions namespaced g_
- no way to get GType given a GIRegisteredTypeInfo