drewski207
e5985bac85
Added the option --unit-prefix to gir2pascal so that you can add a prefix to the generated units names.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2878 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-01-06 04:58:26 +00:00
drewski207
ae7df38f31
Further fixes for gir2pascal instance-parameter
...
Improved PointerLevel detection
Added IsConst Property to Parameter types
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2877 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-01-06 04:39:27 +00:00
drewski207
ba51e1b8d9
Updated gir2pascal to add the parameter error: PPGError to functions if throws=1 is set as a property name
...
https://bugzilla.gnome.org/show_bug.cgi?id=721588
Added support for the new parameter type "instance-parameter" which is similiar to the hidden "self" param of pascal
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2876 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-01-06 02:31:04 +00:00
drewski207
82be41c270
Added option to gir2pas to disable wrapper functions and properties. Usefull if trying to use an older gtk3 version than the bindings are based on since all unresolved functions will prevent linking.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2498 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2012-08-27 03:16:20 +00:00
drewski207
d076a47b16
Fixed crash in gir2pas when a class is declared with no parent class.
...
Moved some writeln's to girError.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2497 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2012-08-27 02:16:38 +00:00
drewski207
e4dbeca47f
Added some methods to the command line reader for gir2pascal to assign tags to command line parameters.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2496 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2012-08-27 00:55:22 +00:00
drewski207
daa7d2edf2
Added option -d to gir2pas to include deprecated functions in bindings
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2495 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2012-08-26 21:39:16 +00:00
drewski207
8d7b0d7e6e
Removed CustApp dependency of gir2pas
...
Implemented some small amount of framework to create pascal classes from gobjects.
Fixed some bugs where properties would not find setters and getters properly when actually available
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2493 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2012-08-26 20:05:29 +00:00
drewski207
dc39460b7e
Latest fixes. Fixed bug where params that were pointers to types were not recognized
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2086 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-10-22 20:09:07 +00:00
drewski207
9391552baa
Added option to create dynamically linked bindings
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2058 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-10-02 16:47:06 +00:00
drewski207
3954d7a47b
various flags will now be aliased to integer. This makes using flags much easier
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2009 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-09-25 13:44:27 +00:00
drewski207
4af2dd9b50
restored dummy pointer in opaque types
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2006 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-09-24 21:26:57 +00:00
drewski207
f19af38356
Fixed overzealous type conversion of guchar
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2005 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-09-24 21:19:28 +00:00
drewski207
3580e4b530
Fixed some name resolution which caused some types to be a child of the wrong type.
...
Some Code cleanup removed unused vars etc
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2004 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-09-24 21:06:08 +00:00
drewski207
2a2c19d7d5
Removed signals from objects since they don't have them.
...
Put a limit on impleid pointer level since it was >6 for some types!
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2003 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-09-24 14:49:39 +00:00
drewski207
3d2b71e204
Fixed some more type sizes for records when they use bit sized ints. Also removed dummy pointer from empty record that
...
fixed crashes of the compiler
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2001 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-09-24 14:03:08 +00:00
drewski207
d2d5da82d1
Fixed typo
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1997 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-09-24 01:24:37 +00:00
drewski207
3e3c9f5cc3
Added note in generated units that files are autogenerated from gobject introspection
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1996 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-09-24 01:22:48 +00:00
drewski207
7a5ced7b31
Added autogeneration of types when a bit sized field is added to a record
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1995 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-09-24 01:17:12 +00:00
drewski207
ae75be9603
Added some code to create c and pascal files to test type sizes.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1994 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-09-24 00:21:23 +00:00
drewski207
da031e7514
Added gobject introspection converter. Can be used to convert .gir files into pascal units.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1982 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-09-22 00:15:42 +00:00