Commit Graph

31 Commits

Author SHA1 Message Date
skalogryz
928a3c8a17 chelper: extended parsing of mulitple header files
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4006 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-03-08 02:37:29 +00:00
skalogryz
679a1c6762 chelper: added handling of c-preprocessor condition directives
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3993 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-03-05 15:27:26 +00:00
skalogryz
75b09e07c3 chelper: further changes to match c-preprocess text processing. added precompiler evaluation
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3990 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-03-05 05:01:11 +00:00
skalogryz
d51ddefe7d chelper: revising c preprocess handling. added new routines to prepare and collection preprocessing information
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3989 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-03-04 18:15:02 +00:00
skalogryz
e85c36df87 * cleanup unused variables
* added processing for C++ sections (extern "C")
* added additional error comment 

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3987 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-03-03 14:43:23 +00:00
skalogryz
ca3c9c7339 chelper: additional functions for the new parsing aproach
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3985 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-03-03 03:44:46 +00:00
skalogryz
81fa7edc30 chelper: update verbose information
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3967 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-02-26 05:54:25 +00:00
skalogryz
c936345d90 chelper: updated objc converting. fixing Caption issue with the Chelper options window, #18529
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1479 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-02-01 02:05:53 +00:00
skalogryz
ef7c96d2da chelper: c-blocks declarations are skipped if declared as variable or parameter of objc method
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1377 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-11-20 04:24:38 +00:00
skalogryz
5145fc762a chelper: fix libname writting for non external functions
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1301 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-08-24 22:15:44 +00:00
skalogryz
a2ed7be821 chelper: added library name for external functions
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1299 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-08-23 09:00:13 +00:00
skalogryz
c04c5c61e2 chelper: fix mem leaks in cconverter
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1296 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-08-19 14:01:26 +00:00
skalogryz
0c1371c95f chelper: added internal converter into the package. todo: fix leaks and improve performance
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1295 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-08-19 13:10:40 +00:00
skalogryz
830f08a5ce chelper: fix structs and c-types parsing and improve error reporting
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1294 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-08-19 12:24:30 +00:00
skalogryz
9955c92eb0 chelper: fix for error reporting, empty comments are now converted as well
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1292 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-08-18 07:08:08 +00:00
skalogryz
90fda595b9 chelper: added parser error reports
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1291 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-08-17 12:29:27 +00:00
skalogryz
86e7cf7017 chelper: fix comments parsing
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1290 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-08-16 14:46:33 +00:00
skalogryz
297f9b4d2b chelper: added support for bitpacked structures
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1289 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-08-16 13:42:06 +00:00
skalogryz
dd80a33837 chelper: fix for objc methods, protocols parsing and writting
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1288 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-08-16 13:23:30 +00:00
skalogryz
e3d745b988 chelper: added obj-c properties writting to pascal
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1287 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-08-16 09:10:30 +00:00
skalogryz
21e815aa2d chelper: added parsing for objc2.0 properties
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1286 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-08-15 20:24:17 +00:00
skalogryz
019dddefcd chelper: removed some debug output. implemented objcprotocol parsing and writting
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1285 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-08-15 19:35:32 +00:00
skalogryz
838a446e4a chelper: improved objc interface parsing and code generation
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1284 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-08-15 11:53:16 +00:00
skalogryz
2a5f151adc chelper: started objc syntax support
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1283 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-08-14 20:17:44 +00:00
skalogryz
2c90d92b2e chelper: fix enum writting as const for all in once mode
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1282 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-08-13 13:40:40 +00:00
skalogryz
5efd49f60b chelper: added whole header convertion (ctrl+shift+b)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1281 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-08-13 06:16:55 +00:00
skalogryz
03694fedf4 chelper: fix typedef parsing and converting for multiple type names declared at typedef
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1277 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-08-12 13:06:31 +00:00
skalogryz
fc28fcccd9 chelper: improved function declaration parsing and extern variables pascal code generation
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1276 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-08-12 12:00:21 +00:00
skalogryz
ab0048814a chelper: *fix enum type converting, if used as function return type* improve expression converting* improve enumeration value assignment* implement writting unions* fixes type name and variable name selection (to avoid pascal names conflicts)* fix function converting with single void* parameter
* c-parsing fixes* IDE lock for multiple ctrl+b presses



git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1272 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-08-09 20:29:26 +00:00
skalogryz
2f5829eff6 chelper: a small fix to prevent writting the same comment twice
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1271 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-08-08 15:25:28 +00:00
skalogryz
bf781d24bc chelper: initial check in
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1270 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-08-07 21:53:59 +00:00