| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
* codegen/defsgen.py (DefsWriter.write_enum_defs): Add option (-p)
to use the modulename as a hint to the prefix of functions and
type codes. Provide way to identify untyped enums and flags and
print defs for them as well.
svn path=/trunk/; revision=975
|
|
|
|
|
|
|
|
|
| |
* codegen/__init__.py (__all__): Add defsgen to __all__ list.
* codegen/h2def.py (find_enum_defs): Strip out # directives from
enum defintions.
(clean_func): Change ' * G_CONST_RETURN * ' to '** '
svn path=/trunk/; revision=974
|
|
|
|
|
|
|
| |
* codegen/Makefile.am (codegen_PYTHON): Add defsgen.py
svn path=/trunk/; revision=973
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* codegen/defsgen.py (typecode): Use the passed in prefix as a
hint when creating a typecode.
(split_prefix,write_enum_defs,_write_obj_helper): Add function to
use passed in prefix as a hint when splitting an object name into
module and name.
* codegen/h2def.py (DefsWriter.write_enum_defs): Make sure the
prefix ends with a _ i.e. really handle the GDK_FONT_FONT,
GDK_FONT_FONTSET case.
svn path=/trunk/; revision=972
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-09-08 Paul Pogonyshev <pogonyshev@gmx.net>
Bug 551056 – make codegen not import when corresponding argument
types are not registered
* codegen/override.py (import_pat): Add support for optional 'for'
clause.
(Overrides.__parse_override): Handle it.
* codegen/codegen.py (SourceWriter.write_imports)
(SourceWriter.write_object_imports): Adapt for changes in
get_imports() return value.
(is_registered_object): New function.
svn path=/trunk/; revision=967
|
|
|
|
| |
svn path=/trunk/; revision=960
|
|
|
|
| |
svn path=/trunk/; revision=919
|
|
|
|
| |
svn path=/trunk/; revision=918
|
|
|
|
| |
svn path=/trunk/; revision=917
|
|
|
|
| |
svn path=/trunk/; revision=915
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-08-02 Johan Dahlin <johan@gnome.org>
* codegen/docgen.py:
Remove SGML support, require python 2.4, modernize,
PEP-8ify. Make it run on gio.
* codegen/definitions.py:
Make property iterable
* gio/gio.defs:
Include the gio-types.defs file.
svn path=/trunk/; revision=914
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-07-15 Paul Pogonyshev <pogonyshev@gmx.net>
* codegen/pygobject-codegen-2.0.in: Rename from
'pygtk-codegen-2.0.in'.
* configure.ac:
* codegen/Makefile.am: Update accordingly.
svn path=/trunk/; revision=813
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-07-15 Johan Dahlin <johan@gnome.org>
Bug 450659 – h2def.py - export 'typedef struct' object definitions not
working
* codegen/h2def.py:
Patch by Lauro Moura
svn path=/trunk/; revision=807
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-07-14 Johan Dahlin <johan@gnome.org>
* codegen/argtypes.py:
Map GSeekType to an int
* gio/gfileinfo.override:
* gio/ginputstream.override:
* gio/goutputstream.override:
Add comments for missing API
svn path=/trunk/; revision=798
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-07-14 Paul Pogonyshev <pogonyshev@gmx.net>
* codegen/definitions.py (ReturnType): New class.
(MethodDefBase.__init__): Make 'self.ret' a 'ReturnType' instance,
not string. Accept 'optional' flag.
* codegen/argtypes.py (ArgMatcher.get_reverse_ret): Test if
'ptype' has true 'optional' attribute and copy it to 'props' then.
* codegen/reversewrapper.py (ReturnType.support_optional): New
class field, False by default.
(GObjectReturn.support_optional, GObjectReturn.write_decl)
(GObjectReturn.write_conversion): Support optional return.
svn path=/trunk/; revision=796
|
|
|
|
|
|
|
|
|
|
|
| |
2008-07-14 Paul Pogonyshev <pogonyshev@gmx.net>
* pygobject-2.0.pc.in: Add 'codegendir' variable.
* codegen/pygtk-codegen-2.0.in: Make 'codegendir' refer to
PyGObject's codegen, not PyGTK's one --- the latter will be
removed (first part of bug #542821).
svn path=/trunk/; revision=795
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-07-08 Murray Cumming <murrayc@murrayc.com>
* codegen/h2def.py: clean_func(): Strip GSEAL out, to avoid us
thinking that there are many functions called GSEAL (merge from
PyGTK).
2008-01-29 Olivier Crete <tester@tester.ca>
* codegen/h2def.py (DefsWriter.__init__): Fix copy-paste
typos (merge from PyGTK).
svn path=/trunk/; revision=794
|
|
|
|
|
|
|
|
|
| |
2008-04-21 Johan Dahlin <johan@gnome.org>
* codegen/h2def.py: Update link to defs format discussion
svn path=/trunk/; revision=778
|
|
|
|
|
|
|
|
|
| |
2008-04-06 Johan Dahlin <johan@gnome.org>
* codegen/argtypes.py (arg): Add goffset to the int64 arg type
svn path=/trunk/; revision=757
|
|
2008-01-19 Johan Dahlin <johan@gnome.org>
* Makefile.am:
* codegen/Makefile.am:
* codegen/README.defs:
* codegen/__init__.py:
* codegen/argtypes.py:
* codegen/code-coverage.py:
* codegen/codegen.py:
* codegen/createdefs.py:
* codegen/definitions.py:
* codegen/defsconvert.py:
* codegen/defsgen.py:
* codegen/defsparser.py:
* codegen/docextract.py:
* codegen/docextract_to_xml.py:
* codegen/docgen.py:
* codegen/h2def.py:
* codegen/mergedefs.py:
* codegen/missingdefs.py:
* codegen/mkskel.py:
* codegen/override.py:
* codegen/pygtk-codegen-2.0.in:
* codegen/reversewrapper.py:
* codegen/scanvirtuals.py:
* codegen/scmexpr.py:
* configure.ac:
* gio/Makefile.am:
* gio/__init__.py:
* gio/gio-types.defs:
* gio/gio.defs:
* gio/gio.override:
* gio/giomodule.c: (init_gio):
* gio/unix-types.defs:
* gio/unix.defs:
* gio/unix.override:
* gio/unixmodule.c: (initunix):
Import codegen from pygtk.
Add initial gio and gio.unix bindings.
svn path=/trunk/; revision=730
|