| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
svn path=/trunk/; revision=980
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
svn path=/trunk/; revision=977
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
* giscanner/dumper.py (_link): fix link failure when
introspecting girepository itself by ordering the command line
options better
svn path=/trunk/; revision=966
|
|
|
|
|
|
|
|
| |
* giscanner/dumper.py (_link): prefer uninstalled libraries to
installed ones so that we don't introspect an older, installed
version
svn path=/trunk/; revision=965
|
|
|
|
|
|
|
|
|
|
|
|
| |
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-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-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-19 Johan Dahlin <jdahlin@async.com.br>
* giscanner/cachestore.py:
Catch ValueError exceptions.
svn path=/trunk/; revision=950
|
|
|
|
|
|
|
|
|
|
| |
2008-11-18 Johan Dahlin <jdahlin@async.com.br>
* giscanner/cachestore.py:
Catch BadPickleGet exceptions as well.
svn path=/trunk/; revision=942
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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=934
|
|
|
|
| |
svn path=/trunk/; revision=932
|
|
|
|
| |
svn path=/trunk/; revision=927
|
|
|
|
| |
svn path=/trunk/; revision=921
|
|
|
|
| |
svn path=/trunk/; revision=916
|
|
|
|
| |
svn path=/trunk/; revision=913
|
|
|
|
| |
svn path=/trunk/; revision=912
|
|
|
|
|
|
| |
absolute .la filename
svn path=/trunk/; revision=892
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-11-12 Johan Dahlin <jdahlin@async.com.br>
* gir/Makefile.am:
* giscanner/glibtransformer.py:
* tools/g-ir-scanner:
Add a GIRepository-2.0.gir. Change the libtool lookup slightly
so we can just pass in --library=foo/bar/baz.la and the scanner
does the right thing.
Don't warn for _get_type() functions if they don't take any
parameters
svn path=/trunk/; revision=890
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-11-11 Tommi Komulainen <tommi.komulainen@iki.fi>
Based on patch by Johan Bilien.
* giscanner/transformer.py (_create_member, _create_parameter):
Resolve types here as well.
(_resolve_type_name_1): Try resolving using 'ctype' first since
it's least ambiguous. Fixes struct member type resolution with
similarly named types, e.g. Gdk.PangoRendererClass and
Pango.RendererClass
* tests/scanner/foo*: Add test.
svn path=/trunk/; revision=887
|
|
|
|
| |
svn path=/trunk/; revision=883
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Certain types like GIConv and GdkAtom are pointers internally but don't
look like pointers when referenced. They have the form.
typedef struct _X *X;
Parse these as structures/records but mark them in the gir with a 'disguised'
attribute so that we know that they need special handling.
In the typelib treat them like any other structure.
svn path=/trunk/; revision=872
|
|
|
|
|
|
|
|
|
|
|
| |
2008-11-09 Jürg Billeter <j@bitron.ch>
* giscanner/ast.py:
* giscanner/girwriter.py:
Write throws attribute for virtual functions, fixes bug 559703
svn path=/trunk/; revision=871
|
|
|
|
|
|
|
|
|
|
| |
2008-11-07 Johan Dahlin <jdahlin@async.com.br>
* giscanner/libtoolimporter.py
(LibtoolImporter.load_module): Set module.__loader__ as per PEP 302.
svn path=/trunk/; revision=870
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-11-07 Johan Dahlin <jdahlin@async.com.br>
* giscanner/libtoolimporter.py (LibtoolImporter.find_module): Clear
up some confusion about the second argument to find_module, it's
actually the packages __path__ attribute which we can safely ignore
for our purposes.
svn path=/trunk/; revision=869
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-11-07 Owen Taylor <otaylor@redhat.com>
Bug 559737 – Deal with continuations in macros
* giscanner/giscannerlexer.l: Treat continuation lines the same
as regular newlines. This makes the scanner not complain about
#define foo(x) \ <stuff> inside a C file. There's no attempt
however to handle parsing macro definitions split across lines.
svn path=/trunk/; revision=868
|
|
|
|
|
|
|
|
|
|
|
| |
2008-11-07 Johan Dahlin <jdahlin@async.com.br>
* giscanner/cachestore.py:
Handle broken cache entries, write only filesystems and
running out of diskspace.
svn path=/trunk/; revision=867
|
|
|
|
|
|
|
|
|
|
| |
2008-11-07 Owen Taylor <otaylor@redhat.com>
* giscanner/giscannermodule.c (pygi_source_scanner_lex_filename):
Set current_filename before lexing the file so error messages
are reported in the right file.
svn path=/trunk/; revision=866
|
|
|
|
| |
svn path=/trunk/; revision=863
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-11-04 Johan Dahlin <jdahlin@async.com.br>
* giscanner/__init__.py:
* giscanner/ast.py:
* giscanner/cachestore.py:
* giscanner/cgobject.py:
* giscanner/girparser.py:
* giscanner/girwriter.py:
* giscanner/giscannermodule.c:
* giscanner/glibast.py:
* giscanner/glibtransformer.py:
* giscanner/libtoolimporter.py:
* giscanner/minixpath.py:
* giscanner/odict.py:
* giscanner/sourcescanner.c:
* giscanner/sourcescanner.h:
* giscanner/sourcescanner.py:
* giscanner/transformer.py:
* giscanner/utils.py:
* giscanner/xmlwriter.py:
* COPYING:
Relicense the giscanner library under LGPLv2+.
This has been approved by all contributors.
svn path=/trunk/; revision=862
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-11-01 Owen Taylor <otaylor@redhat.com>
Bug 558848 giparser.py: shared library should be optional
When parsing a .gir, allow the shared-library attribute
of <namespace/> to be missing: this corresponds to the handling
in libgirepository and elsewhere.
svn path=/trunk/; revision=860
|
|
|
|
| |
svn path=/trunk/; revision=852
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-10-31 Tommi Komulainen <tommi.komulainen@iki.fi>
* giscanner/Makefile.am:
* tests/invoke/Makefile.am:
* tests/repository/Makefile.am: List in-tree libraries first in
LDADD / LIBADD. If installed library is listed first, the
resulting binary will prefer installed version to one in .libs,
possibly making 'make check' behave strangely.
svn path=/trunk/; revision=849
|
|
|
|
|
|
|
|
|
| |
2008-10-30 Tommi Komulainen <tommi.komulainen@iki.fi>
* giscanner/ast.py: map 'id' (ObjC) to 'any' type to stop
gir-repository from choking with gdk/quartz
svn path=/trunk/; revision=847
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-10-30 Johan Dahlin <jdahlin@async.com.br>
* giscanner/giscannermodule.c (calc_attrs_length),
(pygi_collect_attributes):
* giscanner/xmlwriter.py:
Write a C version of the xml namespace formatter.
Saves 15% of the time it takes to create a gtk gir.
svn path=/trunk/; revision=846
|
|
|
|
|
|
|
|
|
|
| |
2008-10-30 Johan Dahlin <jdahlin@async.com.br>
* giscanner/xmlwriter.py: Abstract attribute formatting
to a function external to the XMLWriter class.
svn path=/trunk/; revision=845
|
|
|
|
| |
svn path=/trunk/; revision=844
|
|
|
|
|
|
|
|
|
|
| |
2008-10-30 Johan Dahlin <jdahlin@async.com.br>
* giscanner/scannerlexer.l:
Parse and discard __typeof and __attribute.
svn path=/trunk/; revision=843
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-10-30 Johan Dahlin <jdahlin@async.com.br>
* giscanner/girparser.py:
Remove arguments from the constructor, move them to
separate accessors. Add a new parse_tree method
which takes an element tree instance.
* tools/g-ir-scanner:
Update callsite for this
* giscanner/Makefile.am:
* giscanner/cachestore.py:
* giscanner/transformer.py:
Cache the include parsing. Saves ~25% time when
creating vte (which includes everything up to gtk+).
svn path=/trunk/; revision=842
|
|
|
|
| |
svn path=/trunk/; revision=841
|
|
|
|
| |
svn path=/trunk/; revision=840
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-10-30 Johan Dahlin <jdahlin@async.com.br>
* giscanner/girparser.py:
* giscanner/transformer.py:
Avoid parsing parameters, types etc when parsing
includes. Should speed up include parsing a bit.
svn path=/trunk/; revision=838
|
|
|
|
|
|
|
|
|
|
|
| |
2008-10-30 Johan Dahlin <jdahlin@async.com.br>
* giscanner/girparser.py:
Avoid big if/else and use a dispatch table like
approach.
svn path=/trunk/; revision=837
|
|
|
|
|
|
|
|
|
|
| |
2008-10-30 Johan Dahlin <jdahlin@async.com.br>
* giscanner/transformer.py:
Clean up include parsing and registration.
svn path=/trunk/; revision=836
|
|
|
|
|
|
|
|
|
|
| |
2008-10-30 Johan Dahlin <jdahlin@async.com.br>
* giscanner/transformer.py:
Clean up imports
svn path=/trunk/; revision=834
|