1d04d5aab3
+ fixed function-type parsing and pascal code generation. Added some macroses from AvailabilityMacros.h to default.ini
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@750 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-03-24 22:13:48 +00:00
7143b44fd1
+ single line function declaration
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@733 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-03-09 10:40:54 +00:00
aa2708fd56
+ fixed bugs noted by Josef Ryan (inproper function body, bugs with preprocessor).
...
+ modifications in the units structure.
- replaced usage IgnoreTokens (and removed) with TokenReplace
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@732 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-03-09 10:27:56 +00:00
9fa9abbd3f
added experimental switch -useRef, suggested by Ryan Jonas
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@727 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-02-28 13:53:56 +00:00
6f30ade18f
fixed external functions and variables naming (underscores)
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@726 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-02-28 10:11:19 +00:00
079f53052f
added "-id" parameter for quick replace "objc.id" type usage
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@725 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-02-28 09:17:42 +00:00
e03fc46597
fixes pascal header comments messup
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@724 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-02-28 07:04:07 +00:00
c331110de0
+ removed comments from pascal external variables.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@723 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-02-26 13:17:21 +00:00
0c2e22da08
+ added external functions and variables pascal code generation.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@722 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-02-25 19:40:38 +00:00
888fe094b7
+ started of pascal code generation for objc20 properties
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@711 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-02-16 20:30:58 +00:00
136187d85e
+ started separation of ObjCParserUtils unit to ObjCtoPas
...
* changed Pascal method name generation. Each parameter ':' is now replaced underscore
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@710 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-02-16 11:50:17 +00:00
2dfc304bcf
+ fixed to write out preceding header file comments
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@675 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-01-26 09:17:47 +00:00
a0f8752046
* improved preprocessor support
...
+ tt_String token type added
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@664 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-01-18 14:05:34 +00:00
d650978c91
+ objc 2.0 properties parsing (no pascal code generated yet)
...
+ objc protocol parsing
* cleaning the code
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@661 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-01-17 22:24:04 +00:00
76eccaaa0c
+ additional empty line after {} - exlusion for 'FORWARD' section. FORWARD section is to be used only once, so it's not required
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@476 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-06-09 08:12:20 +00:00
81763fac6a
fixed on usage msgSend function for parametered functions; fix for returning structures as a result
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@446 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-04-30 13:51:19 +00:00
ece0e03c29
fixed config file usage, that prevented from using more than one config file; fixed result types not converted to objc.id, fixed file including
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@445 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-04-29 14:10:17 +00:00
aa43c0f2c5
*parsing function type structure field fixed... some testing is still is needed, *supported config file sections are exteneded
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@440 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-04-25 13:47:19 +00:00
252d362cfa
*getClass method should become class method for proper class method calling
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@439 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-04-23 10:02:36 +00:00
85ef68394d
*fixed method naming *method constants are moved to implementation *fixed bit size struct fields
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@438 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-04-23 07:59:44 +00:00
783f9c197f
* nested types fixed
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@436 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-04-22 11:13:59 +00:00
7574dbc5dc
*pascal method implementation is fixed. (objc_send, _fpret, _stret)...
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@435 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-04-22 08:07:37 +00:00
f6f101c184
* calling objc methods are fixed, overload method name fixed
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@426 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-04-17 13:58:59 +00:00
0d6ffd6e22
* objc methods parsing fixed (for untyped methods) * struct (unions) parsing fixed
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@425 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-04-16 14:33:21 +00:00
30ea3d4d03
unions convertion added
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@423 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-04-15 14:13:34 +00:00
9eff426166
=*converting keys improved (mainunit ignoreinclude)
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@409 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-04-08 10:45:08 +00:00
472b178afe
*mainunit and ingoreinclude keys are implemented *added additional lines to make generated code more readable *unparsed lines are added as a line comments
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@408 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-04-08 09:22:54 +00:00
3dd7651b27
objective-c, type parsing improved, expressions parsing improved, bad pascal generated code bug fixed
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@407 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-04-07 14:06:35 +00:00
691c3853d5
some bugs fixed
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@402 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-04-02 14:22:28 +00:00
e39229a140
updated to the latest ObjCParserTypes
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@400 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-04-01 06:29:04 +00:00
e6d0e75dd6
updated, fixed ifndef usage
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@397 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-03-28 13:03:13 +00:00
9b8390f12f
updated
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@393 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-03-28 10:25:27 +00:00
85e84a4bc5
added enum types support, #ifdef
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@391 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-03-27 15:28:02 +00:00
b4449bd3f0
this file is required for producing pascal output
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@386 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-03-25 08:24:19 +00:00