summaryrefslogtreecommitdiff
path: root/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
...
* Bug 563998 – Cache the GIBaseInfo for GTypesJohan Bilien2008-12-101-0/+7
| | | | | | | | | | | | 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
* Bug 562545 – Add function taking / returning GValueJohan Bilien2008-12-091-0/+7
| | | | | | | | | | | | 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
* Use shutil.move instead of os.rename, since it will automatically fallJohan Dahlin2008-12-091-1/+9
| | | | | | | | | | | | | 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
* Bug 563742 – introspection should record the introduced version ofTristan Van Berkom2008-12-091-0/+16
| | | | | | | | | | | | | | | | | | | | | 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
* Don't require HOME to be set and if it set, don't require the directory toJohan Dahlin2008-12-081-0/+6
| | | | | | | | | | | 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
* Dump the cache file to a temporary file and rename it the expectedJohan Dahlin2008-12-081-0/+8
| | | | | | | | | | | | | 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
* raise YY_BUF_SIZE to 65536 up from the default 16384.Christophe Fergeau2008-12-031-0/+9
| | | | | | | | 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
* ChangeLogColin Walters2008-12-011-0/+5
| | | | svn path=/trunk/; revision=982
* Bug 562289 – Race when removing invalid cacheJohan Dahlin2008-11-301-0/+7
| | | | | | | | | | | | 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
* Add return value transfer annotation for g_markup_escape_text.Johan Dahlin2008-11-271-0/+5
| | | | | | | | | | 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
* Add --libtool option which we expect Automake-using people to passColin Walters2008-11-261-0/+7
| | | | svn path=/trunk/; revision=977
* Remove hand-rolled generation of .tgirColin Walters2008-11-261-0/+6
| | | | | | | | 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
* Post release version bumpJohan Dahlin2008-11-251-0/+5
| | | | | | | | | | 2008-11-25 Johan Dahlin <jdahlin@async.com.br> * configure.ac: Post release version bump svn path=/trunk/; revision=975
* Release 0.6.1GOBJECT_INTROSPECTION_0_6_1Johan Dahlin2008-11-251-0/+6
| | | | | | | | | | 2008-11-25 Johan Dahlin <jdahlin@async.com.br> * NEWS: Release 0.6.1 svn path=/trunk/; revision=973
* Bug 559705 – Missing association between static methods and classesColin Walters2008-11-251-0/+20
| | | | | | | | | | | | | | | | | | | | | | | | | 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
* Revert earlier libtool change, there's no needJohan Dahlin2008-11-251-5/+0
| | | | | | | to execute through libtool since libtool would have created a wrapper if it was found at link time svn path=/trunk/; revision=969
* Define socklen_t as an alias for int32.Johan Dahlin2008-11-251-0/+2
| | | | | | | | | 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
* Execute the dumper program through libtool if it's installed, so we avoidJohan Dahlin2008-11-251-0/+7
| | | | | | | | | | | | 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
* Remove a warning, be less verbose on error on fundamental types.Johan Dahlin2008-11-241-1/+6
| | | | | | | | | | 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
* Add license headers, refactor into a class, avoid some duplication and doJohan Dahlin2008-11-231-0/+6
| | | | | | | | | | | 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
* Make it compilable with -Werror on my system by adding a couple ofJohan Dahlin2008-11-231-0/+5
| | | | | | | | | | 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
* Bug 562022 – gobject-introspection needs python headersJohan Dahlin2008-11-231-0/+7
| | | | | | | | | | | | 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
* Bug 561617 – Return value array annotationsJohan Dahlin2008-11-211-0/+9
| | | | | | | | | | | | | | 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
* add a test function which calls a closure.Johan Bilien2008-11-201-0/+5
| | | | | | | | | | 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
* Catch ValueError exceptions.Johan Dahlin2008-11-191-0/+5
| | | | | | | | | | 2008-11-19 Johan Dahlin <jdahlin@async.com.br> * giscanner/cachestore.py: Catch ValueError exceptions. svn path=/trunk/; revision=950
* fix builddir != srcdirTommi Komulainen2008-11-181-0/+4
| | | | svn path=/trunk/; revision=947
* Use sizeof() instead of hard-coding struct sizesColin Walters2008-11-181-0/+5
| | | | svn path=/trunk/; revision=946
* Add "storage type" to the typelib data for enumsOwen Taylor2008-11-181-0/+19
| | | | | | | | | | | | | | | | | | | | | 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
* Add enums to the Everything test moduleOwen Taylor2008-11-181-0/+9
| | | | | | | | | * 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
* Catch BadPickleGet exceptions as well.Johan Dahlin2008-11-181-0/+5
| | | | | | | | | | 2008-11-18 Johan Dahlin <jdahlin@async.com.br> * giscanner/cachestore.py: Catch BadPickleGet exceptions as well. svn path=/trunk/; revision=942
* Fix doc comment annotations for test_struct_b_clone()Owen Taylor2008-11-171-0/+5
| | | | | | | * tests/everything/everything.c: Fix doc comment annotations for test_struct_b_clone() to refer to the right function. svn path=/trunk/; revision=941
* fix spelling of GHashTable. #561135Dan Winship2008-11-171-0/+10
| | | | | | | | | | | | * 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
* Bug 552568 - All the argv parameters in Gtk.gir map char*** to int8Colin Walters2008-11-171-0/+9
| | | | svn path=/trunk/; revision=939
* Ensure we always call init_globalsColin Walters2008-11-171-0/+5
| | | | svn path=/trunk/; revision=938
* Bug 559706 - Interface prerequisitesColin Walters2008-11-171-0/+13
| | | | svn path=/trunk/; revision=936
* Respect is_pointer in serialize_type()Owen Taylor2008-11-161-0/+11
| | | | | | | | | | | 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
* Bug 560825 – Add size and alignment to typelibOwen Taylor2008-11-161-0/+16
| | | | | | | | | | | | | | | | 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
* Bug 552371 – implement struct field get/setOwen Taylor2008-11-161-1/+10
| | | | | | | | 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
* Bug 560241 - Out-arguments should not be marked as being pointers in all casesColin Walters2008-11-161-0/+6
| | | | svn path=/trunk/; revision=928
* Bug 560241 - Out-arguments should not be marked as being pointers in all casesColin Walters2008-11-161-0/+8
| | | | svn path=/trunk/; revision=927
* ChangelogColin Walters2008-11-151-0/+5
| | | | svn path=/trunk/; revision=926
* Rename the int/gtype array tests. Make the return value useful, anJohan Dahlin2008-11-141-0/+8
| | | | | | | | | | | | | 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
* Rename gitesttypes.[ch] to everything.[ch]Johan Dahlin2008-11-141-0/+9
| | | | | | | | | | | | | | 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
* Bug 560708 – Fix zero-termination defaults for arrays with length=Colin Walters2008-11-131-0/+9
| | | | svn path=/trunk/; revision=921
* Bug 557788 - Return types for constructors in generated typelib bogusColin Walters2008-11-131-0/+9
| | | | svn path=/trunk/; revision=920
* girepository/girffi.c: Fix "Unexpected time for time_t" message.Owen Taylor2008-11-131-0/+5
| | | | svn path=/trunk/; revision=919
* Bug 558436 - avoid having scanner load app codeColin Walters2008-11-131-0/+20
| | | | svn path=/trunk/; revision=912
* g_irepository_dump implementationColin Walters2008-11-131-0/+7
| | | | svn path=/trunk/; revision=911
* Add a file to include with Makefile fragments useful for scanner invocationColin Walters2008-11-131-0/+5
| | | | svn path=/trunk/; revision=910
* Return strings in filename encoding.Tommi Komulainen2008-11-131-0/+5
| | | | | | | | | 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