Commit Graph

10 Commits

Author SHA1 Message Date
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
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
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
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
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