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
Johan Dahlin
a6c822d505
[build] Remove gcov support
...
It's been broken for some time, remove it instead of letting
it bitrot.
2010-05-28 20:49:54 -03:00
Johan Dahlin
3bab700cd4
[doc] Document GIErrorDomainInfo methods
2010-05-28 20:49:39 -03:00
Johan Dahlin
c2b89be46e
[GITypeInfo] Document and check type
...
Document GITypeInfo and check the info type in all functions.
2010-05-28 13:47:48 -03:00
Johan Dahlin
a8eff27124
Remove leftover function
2010-05-28 08:49:49 -03:00
Johan Dahlin
27c9f77335
[girepository] Check types function/callable/arg
...
Check the info types for functions, callable and args.
Verifies that the right type is sent in
2010-05-27 23:25:36 -03:00
Johan Dahlin
e66f46042d
[girepository] Add macros for checking struct type
...
Add macros for checking the sub-struct type. These are
similar to the standard GObject macros.
2010-05-27 23:18:58 -03:00
Colin Walters
23e9949e1d
Remove g_arg_info_is_dipper from public API
...
It wasn't useful, the new g_arg_info_is_caller_allocates is.
2010-05-26 18:14:39 -04:00
Colin Walters
a20c2ad7c2
[girparser] Don't hard require caller-allocates since it breaks parsing
...
We need to support parsing older .girs for inclusion purposes. (But
we should probably have an explicit .gir version, and require the
attribute for newer versions)
2010-05-26 13:53:29 -04:00