| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
|
|
| |
2008-12-10 Johan Bilien <jobi@via.ecp.fr>
Bug 563998 – Cache the GIBaseInfo for GTypes
* girepository/girepository.c (g_irepository_find_by_gtype):
add a cache of GType -> GIBaseInfo.
svn path=/trunk/; revision=991
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-12-09 Johan Bilien <jobi@via.ecp.fr>
Bug 562545 – Add function taking / returning GValue
* tests/everything/everything.[ch]: add a test of function taking and
returning "const GValue *"
svn path=/trunk/; revision=990
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-12-09 Johan Dahlin <johan@async.com.br>
* giscanner/cachestore.py (CacheStore.store): Use
shutil.move instead of os.rename, since it will
automatically fall back to copying+remove if the
src directory is on a different partition from
the dst directory.
svn path=/trunk/; revision=989
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-12-08 Tristan Van Berkom <tristan.van.berkom@gmail.com>
Bug 563742 – introspection should record the introduced version of
symbols marked with the "Since:" tag
reviewed by: Johan
* giscanner/ast.py:
* giscanner/girwriter.py:
* giscanner/scannerlexer.l:
* giscanner/transformer.py:
* tests/scanner/annotation-1.0-expected.gir:
* tests/scanner/annotation-1.0-expected.tgir:
* tests/scanner/annotation.c (annotation_versioned):
* tests/scanner/annotation.h:
svn path=/trunk/; revision=988
|
|
|
|
|
|
|
|
|
|
|
| |
2008-12-08 Johan Dahlin <johan@async.com.br>
* giscanner/cachestore.py (_get_cachedir): Don't require
HOME to be set and if it set, don't require the
directory to exist.
svn path=/trunk/; revision=987
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-12-08 Johan Dahlin <johan@async.com.br>
* giscanner/cachestore.py (CacheStore.store): Dump the cache
file to a temporary file and rename it the expected filename
only when it's completely written.
This should make the cache more roboust when run in parallel,
and hopefully avoid triggering bugs in Python.
svn path=/trunk/; revision=985
|
|
|
|
|
|
|
|
| |
With the default YY_BUF_SIZE value, the lexer was aborting with a cryptic
error message on source files containing really long comment blocks.
Fixes bug 562971 – g-ir-scanner failure on libgpod headers
svn path=/trunk/; revision=983
|
|
|
|
| |
svn path=/trunk/; revision=982
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-11-30 Johan Dahlin <jdahlin@async.com.br>
Bug 562289 – Race when removing invalid cache
* giscanner/cachestore.py:
ENOENT is mapped to a OSError, not IOError.
svn path=/trunk/; revision=979
|
|
|
|
|
|
|
|
|
|
| |
2008-11-27 Johan Dahlin <jdahlin@async.com.br>
* gir/glib-2.0.c: Add return value transfer annotation
for g_markup_escape_text.
svn path=/trunk/; revision=978
|
|
|
|
| |
svn path=/trunk/; revision=977
|
|
|
|
|
|
|
|
| |
It's easier to just use a Makefile rule and dependencies.
This corresponds with a change made to gir-repository to fix
srcdir != builddir issues.
svn path=/trunk/; revision=976
|
|
|
|
|
|
|
|
|
|
| |
2008-11-25 Johan Dahlin <jdahlin@async.com.br>
* configure.ac:
Post release version bump
svn path=/trunk/; revision=975
|
|
|
|
|
|
|
|
|
|
| |
2008-11-25 Johan Dahlin <jdahlin@async.com.br>
* NEWS:
Release 0.6.1
svn path=/trunk/; revision=973
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-11-25 Colin Walters <walters@verbum.org>
Bug 559705 – Missing association between static methods and classes
* docs/typelib-format.txt:
* girepository/ginfo.c (g_function_info_get_flags):
* girepository/girmodule.c (g_ir_module_build_typelib):
* girepository/girnode.c (g_ir_node_get_size),
(g_ir_node_build_typelib):
* girepository/girparser.c (start_function):
* girepository/gtypelib.c (g_typelib_check_sanity),
(validate_header), (validate_function_blob):
* girepository/gtypelib.h:
* giscanner/ast.py:
* giscanner/girwriter.py:
* giscanner/glibtransformer.py:
* tests/scanner/foo-1.0-expected.gir:
* tests/scanner/foo-1.0-expected.tgir:
* tests/scanner/foo.h:
svn path=/trunk/; revision=972
|
|
|
|
|
|
|
| |
to execute through libtool since libtool would have
created a wrapper if it was found at link time
svn path=/trunk/; revision=969
|
|
|
|
|
|
|
|
|
| |
2008-11-25 Johan Dahlin <jdahlin@async.com.br>
* giscanner/ast.py: Define socklen_t as an alias for int32.
svn path=/trunk/; revision=968
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-11-25 Johan Dahlin <jdahlin@async.com.br>
* giscanner/glibtransformer.py:
* tools/g-ir-scanner:
Execute the dumper program through libtool if it's installed,
so we avoid loading the installed version.
svn path=/trunk/; revision=964
|
|
|
|
|
|
|
|
|
|
| |
2008-11-24 Johan Dahlin <jdahlin@async.com.br>
* girepository/gdump.c (dump_type): Remove a warning,
be less verbose on error on fundamental types.
svn path=/trunk/; revision=963
|
|
|
|
|
|
|
|
|
|
|
| |
2008-11-23 Johan Dahlin <jdahlin@async.com.br>
* giscanner/dumper.py: Add license headers,
refactor into a class, avoid some duplication and do some
extra pedantic checks.
svn path=/trunk/; revision=962
|
|
|
|
|
|
|
|
|
|
| |
2008-11-23 Johan Dahlin <jdahlin@async.com.br>
Make it compilable with -Werror on my system by adding
a couple of prototypes and including headers.
svn path=/trunk/; revision=960
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-11-23 Johan Dahlin <jdahlin@async.com.br>
Bug 562022 – gobject-introspection needs python headers
* configure.ac: fail without python headers present.
Patch by: Tom Parker
svn path=/trunk/; revision=959
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-11-21 Johan Dahlin <jdahlin@async.com.br>
Bug 561617 – Return value array annotations
* giscanner/transformer.py:
* tests/scanner/annotation.c (annotation_return_array):
* tests/scanner/annotation.h:
Add support for (array) for return value annotations as well.
svn path=/trunk/; revision=957
|
|
|
|
|
|
|
|
|
|
| |
2008-11-20 Johan Bilien <jobi@via.ecp.fr>
* tests/everything/everything.[ch]: add a test function which calls a
closure.
svn path=/trunk/; revision=954
|
|
|
|
|
|
|
|
|
|
| |
2008-11-19 Johan Dahlin <jdahlin@async.com.br>
* giscanner/cachestore.py:
Catch ValueError exceptions.
svn path=/trunk/; revision=950
|
|
|
|
| |
svn path=/trunk/; revision=947
|
|
|
|
| |
svn path=/trunk/; revision=946
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In order to set and get enum and flag fields in structures, we need
to know the integral type that the enumeration is stored as. We are already
computing that at compile time in order to compute struct offsets, so the
easiest thing to do is to save that in the typelib.
* docs/typelib-format.txt girepository/girnode.[ch] girepository/giroffsets.c
girepository/gtypelib.h: Add 'storage_type' to the typelib format for EnumBlob
and compute and save it at compile time.
* girepository/girepository.h girepository/ginfo.c:
Add g_enum_info_get_storage_type().
* girepository/gfield.c: Implement reading and writing enum and flags fields
based on the storage type.
http://bugzilla.gnome.org/show_bug.cgi?id=561296
svn path=/trunk/; revision=944
|
|
|
|
|
|
|
|
|
| |
* tests/everything/everything.[ch]: Add TestEnum and TestFlags to the Everything
test module and register them as GTypes.
https://bugzilla.gnome.org/show_bug.cgi?id=561296
svn path=/trunk/; revision=943
|
|
|
|
|
|
|
|
|
|
| |
2008-11-18 Johan Dahlin <jdahlin@async.com.br>
* giscanner/cachestore.py:
Catch BadPickleGet exceptions as well.
svn path=/trunk/; revision=942
|
|
|
|
|
|
|
| |
* tests/everything/everything.c: Fix doc comment annotations
for test_struct_b_clone() to refer to the right function.
svn path=/trunk/; revision=941
|
|
|
|
|
|
|
|
|
|
|
|
| |
* giscanner/glibtransformer.py (GLibTransformer.__init__): fix
spelling of GHashTable. #561135
* tests/scanner/annotation.c (annotation_object_get_hash):
* tests/scanner/annotation-1.0-expected.gir:
* tests/scanner/annotation-1.0-expected.tgir: add a test of
GHashTable annotations
svn path=/trunk/; revision=940
|
|
|
|
| |
svn path=/trunk/; revision=939
|
|
|
|
| |
svn path=/trunk/; revision=938
|
|
|
|
| |
svn path=/trunk/; revision=936
|
|
|
|
|
|
|
|
|
|
|
| |
Add a '*' to the serialization for the cases where we set is_pointer
in the type blob we write out depending on node->is_pointer. Don't
add the '*' in the cases where is_pointer is set or not set in a
fixed fashion.
http://bugzilla.gnome.org/show_bug.cgi?id=561087
svn path=/trunk/; revision=931
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Include the size and alignment of structures and unions in the typelib,
and add getter methods to retrieve them from GIStructInfo/GIUnionInfo.
* docs/typelib-format.txt girepository/gtypelib.h girepository/girnode.c
girepository/girmodule.c girepository/gtypelib.c: Add size and alignment
to StructBlob and UnionBlob.
* girepository/ginfo.c girepository/girepository.h:
Add g_[struct|union]_get[size|alignment]().
* test/offsets/gen-gitestoffsets: Test overall structure size and alignment.
svn path=/trunk/; revision=930
|
|
|
|
|
|
|
|
| |
Add convenience functions g_field_info_set_field() and
g_field_info_get_field() to set and get fields based on the offsets
in GIFieldInfo.
svn path=/trunk/; revision=929
|
|
|
|
| |
svn path=/trunk/; revision=928
|
|
|
|
| |
svn path=/trunk/; revision=927
|
|
|
|
| |
svn path=/trunk/; revision=926
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-11-14 Johan Dahlin <jdahlin@async.com.br>
* tests/everything/everything.c (test_array_int_in),
(test_array_gtype_in):
* tests/everything/everything.h:
Rename the int/gtype array tests. Make the return value
useful, an aggregation of the array input values.
svn path=/trunk/; revision=924
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-11-14 Johan Dahlin <jdahlin@async.com.br>
* tests/everything/Makefile.am:
* tests/everything/everything.c:
* tests/everything/everything.h:
* tests/everything/gitesttypes.c:
* tests/everything/gitesttypes.h:
Rename gitesttypes.[ch] to everything.[ch]
svn path=/trunk/; revision=923
|
|
|
|
| |
svn path=/trunk/; revision=921
|
|
|
|
| |
svn path=/trunk/; revision=920
|
|
|
|
| |
svn path=/trunk/; revision=919
|
|
|
|
| |
svn path=/trunk/; revision=912
|
|
|
|
| |
svn path=/trunk/; revision=911
|
|
|
|
| |
svn path=/trunk/; revision=910
|
|
|
|
|
|
|
|
|
| |
2008-11-13 Tommi Komulainen <tommi.komulainen@iki.fi>
* tests/everything/gitesttypes.c (test_filename_return): Return
strings in filename encoding.
svn path=/trunk/; revision=909
|