blob: 825d98e1fd352d6e6daacd56a332c6fd9cd4f24c (
plain)
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
|
2005-05-12 Matthias Clasen <mclasen@redhat.com>
* TODO: Updates
* src/gidlparser.c (start_function): Actually add
methods to objects. (Steven Walter)
* src/girepository.h:
* src/ginfo.c: Rename Transfer and Direction to
GITransfer and GIDirection. (Torsten Schoenfeld)
* tests/*: Make tests work with the changes in name
handling.
* src/gidlnode.c (find_entry_node): Parse qualified
names and generate xref nodes for them if needed. Don't
require all modules to be loaded any more.
* src/gidlmodule.c (g_idl_module_build_metadata): Choke
on '.' in names.
* src/ginfo.c (g_object_info_get_parent): Return NULL
if blob->parent is 0. Still need to make sure index
0 is not used.
* src/generate.c: Generate qualified names when
referring to non-local types. Emit transfer attribute
for return types.
* src/compiler.c (format_output): Put the function
attributes where gcc accepts them.
2005-05-11 Matthias Clasen <mclasen@redhat.com>
* src/compiler.c (main): Add a --verbose cmdline option
and only log messages if it is specified.
* src/gidlnode.h:
* src/gidlnode.c (init_stats, dump_stats): Collect some
statistics on string and type sharing.
* src/gidlmodule.c (g_idl_module_build_metadata): Use
g_message() instead of fprintf().
* src/gidlnode.c (g_idl_node_free): Make this more robust.
(g_idl_node_get_size): Implement for structs.
(g_idl_node_get_full_size): Handle parent being NULL.
(serialize_type): Handle lookup failures more gracefully.
2005-05-10 Matthias Clasen <mclasen@redhat.com>
* src/gidlnode.c (g_idl_node_get_full_size): Correct the
size calculation for 2-parameter types and for objects.
* src/compiler.c: Add a cmdline option for debug output
and install a log handler to implement it.
* src/gidlnode.c: Add some debug spew.
* TODO: Updates
* src/gidlmodule.c (g_idl_module_build_metadata): Don't
forget to count the module name when calculating the
required size for the metadata.
* src/gidlnode.c:
* src/gidlparser.c: Fix compiler warnings.
2005-05-09 Matthias Clasen <mclasen@redhat.com>
* src/compiler.c (main): Free the option context.
* gidl.dtd: Clean up handling of names. All elements
have a "name", only the elements corresponding to
actual callable functions (function, method, constructor),
have an additional "symbol" attribute holding the
dlsym()-able function name.
* src/generate.c: Adapt to generate xml matching the
new dtd.
* src/gidlparser.c:
* src/gidlnode.c: Adapt to parse the new dtd.
* tests/*.test: Adjust to the new dtd.
* metadata-format.txt:
* src/gmetadata.h: Remove the short_name field
from the ValueBlob.
* src/gmetadata.c: Shrink size of ValueBlob to 12.
* src/girepository.h:
* src/ginfo.c (g_value_info_get_short_name): Removed
2005-05-09 Matthias Clasen <mclasen@redhat.com>
* gidl.dtd: Allow constructors for boxed types,
patch by Jonathan Blandford.
2005-05-09 Matthias Clasen <mclasen@redhat.com>
* --- Initial import ---
|