File: todo.md

package info (click to toggle)
gobject-introspection 1.84.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 72,336 kB
  • sloc: ansic: 562,269; python: 23,692; xml: 16,240; yacc: 1,711; perl: 1,624; sh: 1,139; lex: 510; cpp: 487; makefile: 182; javascript: 15; lisp: 1
file content (48 lines) | stat: -rw-r--r-- 1,524 bytes parent folder | download
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
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.

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