skalogryz
f486de07af
removed tt_None, fixed bug with improper macro handling
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@784 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-04-28 10:30:07 +00:00
skalogryz
2da70cacf0
replaced full search path of objc, with relative path '../objc'
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@776 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-04-12 08:08:07 +00:00
skalogryz
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
skalogryz
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
skalogryz
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
skalogryz
6f8dd5936a
allow -refPostFix switch to accept empty string value
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@731 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-03-07 04:54:26 +00:00
skalogryz
73e6de8fde
added Handle:=nil to .release method
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@728 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-03-06 08:18:26 +00:00
skalogryz
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
skalogryz
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
skalogryz
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
skalogryz
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
skalogryz
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
skalogryz
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
skalogryz
baddaf0b5c
+ started template support
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@721 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-02-25 19:37:55 +00:00
skalogryz
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
skalogryz
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
sekelsenmat
53ac16be22
Small fixes to fpspreadsheet and pascocoa
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@690 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-01-30 18:21:18 +00:00
skalogryz
4cf4ed40e5
+ fixed endless loop for last preprocessor directive, noted by Josef Ryan.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@676 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-01-26 20:59:20 +00:00
skalogryz
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
sekelsenmat
78930629dc
Adds NSTextView and NSColor to PasCocoa
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@673 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-01-25 11:56:47 +00:00
skalogryz
50400d4c00
* removed objcparser dependencies on units being under development.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@669 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-01-23 06:53:34 +00:00
skalogryz
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
skalogryz
d818eb1292
+ c compiler specific syntax parsing added.
...
+ GNU CC __attribute__ (...) support
* fixed custom entities parsing
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@662 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-01-17 22:29:42 +00:00
skalogryz
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
sekelsenmat
397ae7a036
Fixes an uninitialized memory bug in PasCocoa
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@588 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-10-08 11:28:15 +00:00
sekelsenmat
630333ac37
Improves pascocoa and texteditor example
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@587 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-10-06 22:40:47 +00:00
sekelsenmat
7a4abd677e
Improves pascocoa and texteditor example
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@586 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-10-06 15:44:57 +00:00
sekelsenmat
ce8ee9bb1f
Improves pascocoa and texteditor example
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@584 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-10-06 13:26:48 +00:00
sekelsenmat
b6a6f21e34
Improves texteditor example
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@583 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-10-06 02:46:47 +00:00
sekelsenmat
4215ae70c6
Adds more classes and improves texteditor example
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@576 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-09-29 02:17:34 +00:00
sekelsenmat
135760bc93
Adds more classes and improves texteditor example
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@575 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-09-29 02:12:46 +00:00
sekelsenmat
fa69e42d57
Improves Cocoa bindings
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@574 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-09-29 00:47:50 +00:00
sekelsenmat
2c5517ee19
Improves Cocoa bindings
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@519 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-07-31 17:24:12 +00:00
sekelsenmat
0bc35fc726
Improves Cocoa bindings
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@518 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-07-31 15:23:56 +00:00
sekelsenmat
9799c6d1c0
Improves Cocoa bindings
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@489 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-06-24 02:22:07 +00:00
sekelsenmat
9bd67d8d40
Improves Cocoa bindings
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@488 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-06-24 02:01:19 +00:00
sekelsenmat
9cce4454f4
Improves Cocoa bindings
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@487 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-06-21 16:35:57 +00:00
skalogryz
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
sekelsenmat
e758fe6f7a
Improves Cocoa bindings
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@475 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-06-07 16:14:22 +00:00
sekelsenmat
395a262b0d
Improves Cocoa bindings
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@474 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-06-06 21:33:58 +00:00
sekelsenmat
e6a44368b5
Improves Cocoa bindings
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@460 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-06-06 03:08:56 +00:00
sekelsenmat
997a9ff8c0
Improves Cocoa bindings
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@459 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-06-06 02:01:12 +00:00
sekelsenmat
8562b56ece
Improves Cocoa bindings
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@458 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-06-06 01:32:06 +00:00
sekelsenmat
c7b306fc4e
Improves the PasCocoa frameworks.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@452 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-05-15 12:46:29 +00:00
sekelsenmat
7dd404cae3
Improves the PasCocoa frameworks.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@450 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-05-09 22:56:59 +00:00
sekelsenmat
f5cee353e4
Improves the PasCocoa frameworks.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@449 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-05-09 22:53:04 +00:00
sekelsenmat
b5df402efa
Moves build scripts to build dir.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@448 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-05-09 20:15:38 +00:00
sekelsenmat
bc7c85f132
Improves the PasCocoa bindings. Adds a script to parse appkit. NSWindow and NSButton are already taken from the parser.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@447 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-05-09 19:51:36 +00:00
skalogryz
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
skalogryz
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