Johan Dahlin
9313f23ed5
[GIVInterfaceInfo] Document and check args
2010-06-12 11:14:36 -03:00
Johan Dahlin
401baff470
[GIObjectInfo] Fix a typo and document a func
2010-06-12 11:14:22 -03:00
Johan Dahlin
a9a1fdabd8
[gir_writer_write] Document properly
2010-06-11 21:06:31 -03:00
Johan Dahlin
2e570b7704
[g_property_info_get_flags] Document properly
2010-06-11 21:06:02 -03:00
Johan Dahlin
bd0c9a4170
[gitypelib-internal.h] Add missing <public>
2010-06-11 21:05:42 -03:00
Johan Dahlin
55c7dc37ac
[GIObjectInfo] Document and check types
2010-06-11 20:51:32 -03:00
Johan Dahlin
d89eb01974
[GICallableInfo] Fix a typo in the doc
2010-06-11 20:16:29 -03:00
Johan Dahlin
1eca3abe67
[docs] Add struct hierarchy to each section
2010-06-11 20:16:00 -03:00
Johan Dahlin
5a0016133a
[GIVFuncInfo] Document and check args
2010-06-11 11:11:46 -03:00
Johan Dahlin
4af59a4c04
[GIPropertyInfo] Document and check args
2010-06-11 11:10:52 -03:00
Tomeu Vizoso
d9bbf572b0
Allow for methods in GLib
...
* girepository/gitypelib.c: Don't complain about constructors
returning types other than objects or interfaces if the container
type isn't an object or interface itself.
* giscanner/glibtransformer.py: Don't give up parsing a method just
because it's in the GLib namespace.
https://bugzilla.gnome.org/show_bug.cgi?id=621069
2010-06-09 08:38:04 -03:00
Tomeu Vizoso
ba97c98827
Use a default value for transfer-ownership in properties.
2010-06-08 19:20:06 +02:00
Tomeu Vizoso
518765acf3
Support the (transfer) annotation for properties.
...
* girepository/*: Add g_property_info_get_ownership_transfer() and write
the transfer attribute of properties into the typelib.
* giscanner/*: Parse the (transfer) annotation and write it into the .gir.
* tools/generate.c: Read the transfer annotation for properties and write
to the .tgir.
https://bugzilla.gnome.org/show_bug.cgi?id=620484
2010-06-08 17:35:12 +02:00
Johan Dahlin
b2575e8210
Philip, you didn't write all of this
2010-06-08 11:28:02 -03:00
Johan Dahlin
825c230941
[gisignalinfo] Document and check parameters
2010-06-07 17:20:02 -03:00
Johan Dahlin
27511f220b
[girwriter] Refactor out of generate.c
...
Move out the girwriter out of generate.c. Still a private API,
but that will probably change in the future.
2010-06-07 10:52:43 -03:00
Johan Dahlin
06d778dc3c
[Makefile.am] Reindent
2010-06-07 10:29:53 -03:00
Johan Dahlin
6b4647c088
[girepository] Kill girffi-private.h
2010-06-06 23:22:57 -03:00
Johan Dahlin
1edafae79e
[girepository] Don't include girffi.h everywhere
2010-06-06 23:17:46 -03:00
Johan Dahlin
91c621b9db
[giregisteredtypeinfo] Document and check parameters
2010-06-06 23:04:15 -03:00
Johan Dahlin
a23a697664
[gitypes] Remove a comment and move G_END_DECLS
2010-06-06 22:57:28 -03:00
Johan Dahlin
c47ecdee41
[build] Install gistructinfo.h
2010-06-06 22:57:14 -03:00
Johan Dahlin
a2df86f9f6
[giconstantinfo] Document and check parameters
2010-06-06 22:48:08 -03:00
Johan Dahlin
6e11316e28
[gifieldinfo] Document g_field_info_get_flags
2010-06-06 22:47:50 -03:00
Johan Dahlin
501238c318
Remove left-over comments
2010-06-06 22:47:21 -03:00
Johan Dahlin
dc4a7e9e32
[giregisteredtype] Flags have a GType
2010-06-06 22:47:02 -03:00
Johan Dahlin
e57e4f2868
[gifunction.h] Move GIFunctionInfoFlags to gitypes.h
2010-06-06 19:55:00 -03:00
Johan Dahlin
c223abfa36
[girepository] Move the rest out of ginfo.ch
2010-06-06 19:54:53 -03:00
Johan Dahlin
baf36f793e
[girepository] Move GIRegisteredTypeInfo out of ginfo.ch
2010-06-06 19:28:35 -03:00
Johan Dahlin
94d52d910c
[gifieldinfo] Document, indent and check params
...
Document the remaining functions, indent to match coding style
and check so that all info params are set and of the right type.
2010-06-06 13:35:14 -03:00
Johan Dahlin
f05d309f57
[gifunctioninfo] Move over invoke function
...
Move over g_function_info_invoke to gifunctioninfo.c
2010-06-06 13:27:16 -03:00
Johan Dahlin
e6733fd92e
[gfield] Move over field set/get impl.
...
Move over the GIFieldInfo set/get value implementation
over to gifieldinfo.c
2010-06-06 13:27:12 -03:00
Johan Dahlin
8d2ae7fa90
[girepository] Move GIFieldInfo out of ginfo.ch
2010-06-06 13:11:23 -03:00
Johan Dahlin
bbc69cefaa
[girepository] Move GIEnumInfo out of ginfo.ch
2010-06-06 13:09:08 -03:00
Johan Dahlin
dab5e1ddaf
[girepository] Move GIErrorDomainInfo out of ginfo.ch
2010-06-06 13:01:26 -03:00
Johan Dahlin
edcce0af88
[girepository] Move GITypeInfo out of ginfo.ch
2010-06-06 12:58:28 -03:00
Johan Dahlin
4d3a528f5d
[girepository] Move the enums
...
Move the est of the enums over to gitypes.h
2010-06-05 12:59:33 -03:00
Johan Dahlin
2e91ba3b3e
[girepository] Move GIArgInfo out of ginfo.ch
2010-06-05 12:40:34 -03:00
Johan Dahlin
6d51857f01
[gitypes.h] Do not include gibaseinfo.h
...
To avoid cyclic dependencies
2010-06-05 12:40:34 -03:00
Johan Dahlin
968850eaf1
[girepository] Fix a couple of typos
2010-06-05 12:40:34 -03:00
Johan Dahlin
292033c7dc
[girepository] Move GICallableInfo out of ginfo.ch
2010-06-05 12:40:28 -03:00
Tomeu Vizoso
d531541b8a
Fix marshalling of GStrv.
...
* gir/gimarshallingtests.[hc]: Add a test for GStrv in function args and
as struct fields.
* girepository/giroffsets.c: Correctly compute the size of structs with
array fields
* girepository/girparser.c: Set is_pointer to FALSE for arrays with
fixed size that are inside structs.
* giscanner/glibtransformer.py: Special case GStrv as arrays of utf8.
* giscanner/annotationparser.py: Make full transfer the default for
arrays of char* returned by functions.
https://bugzilla.gnome.org/show_bug.cgi?id=620170
2010-06-02 19:36:59 +02:00
Johan Dahlin
6436e013c9
[girepository] Fix the remaning headers as well
2010-06-01 10:23:46 -03:00
Johan Dahlin
6edee7684c
[girepository] Fix include path
...
We're installing the headers without the girepository/ prefix,
so remove that in all internal headers to not break the out of
tree scanning.
2010-06-01 10:15:12 -03:00
Johan Dahlin
a94a11b5c0
[gifunctioninfo] Move out to another file
...
Move out GIFunctionInfo to gifunctioninfo.[ch]
2010-05-31 17:55:52 -03:00
Johan Dahlin
64ee6cb5b0
[gtypelib.ch] Rename to gitypelib.ch
...
Rename gtypelib.h -> gitypelib-internal.h and rename
gtypelib.c to gitypelib.c
2010-05-31 17:47:50 -03:00
Johan Dahlin
67126e38d4
[girepository] Split out GIBaseInfo
...
Split out GIBaseInfo to a separate source file.
Move out definitions to gibaseinfo.h/gitypelib.h/gitypes.h
and girepository-private.h
Install gibaseinfo.h/gitypelib.h and gitypes.h as well, but
require users to include girepository.h
2010-05-31 17:47:45 -03:00
Johan Dahlin
7a383b6126
[girepository] Correct GI_IS_ENUM_INFO macro
...
A GIEnumInfo represents either an enum or a set of flags
2010-05-30 21:56:25 -03:00
Johan Dahlin
58ac4f880a
[ginfo] Document enum and enum values
...
Document GIEnumInfo and GIValueInfo
2010-05-30 21:55:55 -03:00
Johan Dahlin
81a263edfe
[info] Fix-up prototype indentation
2010-05-30 21:55:45 -03:00