Commit Graph

178 Commits

Author SHA1 Message Date
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
skalogryz
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
skalogryz
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
skalogryz
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
skalogryz
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
skalogryz
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
skalogryz
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
skalogryz
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
skalogryz
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
skalogryz
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
skalogryz
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
skalogryz
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
sekelsenmat
7e0bcbe685 Adds parser tester.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@404 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-04-02 23:03:56 +00:00
skalogryz
4d797f023b some bugs fixed
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@403 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-04-02 14:23:02 +00:00
skalogryz
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
skalogryz
ec4c66651a some bugs fixed
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@401 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-04-02 14:20:33 +00:00
skalogryz
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
skalogryz
0c99d758e2 updated. categories are added to the class if possible
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@399 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-03-31 12:45:50 +00:00
skalogryz
6930a5c720 updated
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@398 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-03-31 12:39:54 +00:00
skalogryz
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
skalogryz
e7bebb5271 updated, fixed ifndef usage
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@396 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-03-28 13:02:45 +00:00
skalogryz
256e2072b3 updated
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@395 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-03-28 10:25:55 +00:00
skalogryz
906c18e047 updated
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@394 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-03-28 10:25:45 +00:00
skalogryz
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
skalogryz
6318c1609c updated
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@392 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-03-28 10:25:06 +00:00
skalogryz
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
skalogryz
4d76e4ee47 added enum types support, #ifdef
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@390 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-03-27 15:27:46 +00:00
skalogryz
794bde9c44 precompiler added
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@389 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-03-27 15:27:00 +00:00
skalogryz
6e9dfbe16c input.txt is not required
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@387 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-03-25 08:26:48 +00:00
skalogryz
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
skalogryz
a7ed40c8ee an update
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@385 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-03-25 08:19:15 +00:00
skalogryz
8743c9552c an update
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@384 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-03-25 08:18:55 +00:00
skalogryz
d2181a25d4 more update
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@383 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-03-25 08:17:24 +00:00
sekelsenmat
5011d22782 Improves method adding mechanism.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@379 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-03-14 01:40:16 +00:00
sekelsenmat
14130ff8dd Improves the controller of the statusitem example to be a separate objective-c class.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@378 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-03-14 01:05:09 +00:00
sekelsenmat
43d2119108 Improves controller of the statusitem example.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@377 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-03-12 01:29:11 +00:00
sekelsenmat
d3b0c99a9c Adds automatic closing when last window closes to statusitem example.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@376 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-03-11 23:52:48 +00:00
sekelsenmat
bf11da047e Improves the status item example.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@374 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-03-10 11:51:50 +00:00
sekelsenmat
6308ce38ab The statusitem example now works. Adds NSImage.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@373 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-03-10 11:01:03 +00:00
sekelsenmat
b839964d8e Improves the statusitem example.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@372 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-03-07 11:33:19 +00:00
sekelsenmat
b0eb94ed80 Adds objective-c parser from Skalogryz.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@370 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-03-04 23:34:41 +00:00
sekelsenmat
0a3f2310db Adds status item example.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@369 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-03-04 09:19:17 +00:00
sekelsenmat
958baedc78 Many improvements to the examples and Cocoa bindings.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@368 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-03-04 09:16:58 +00:00
sekelsenmat
8268740b2a Small improvements to objc 1.0 bindings.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@367 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-03-04 09:15:57 +00:00
sekelsenmat
edb6551236 Adds the capability to add subviews and adds initial NSTextField and NSStatusBar / NSStatusItem.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@364 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-03-02 02:17:37 +00:00
sekelsenmat
a736e0a50d Fixes compilation.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@361 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-02-24 13:01:05 +00:00
sekelsenmat
2c2496f08c Adds very initial conversions of various classes for NSStatusItem and NSButton support.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@360 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-02-24 13:00:13 +00:00
sekelsenmat
7765a88ee8 Improves the structure of the Cocoa bindings and merges the include files to have only one per .h header.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@359 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-02-22 22:39:15 +00:00
sekelsenmat
e0fa0aa096 Added objective-c and Cocoa bindings to Pascal
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@352 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-02-17 07:38:48 +00:00