skalogryz
0f40ba6214
chelper: fix compilation for the latest IDE version
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5948 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2017-06-20 00:31:10 +00:00
skalogryz
7169bfbc64
chelper: updated the parsing (use includes first) and then parse the body. Added IgnoreDirectives option to force skipping of directives
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4013 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-03-09 18:39:18 +00:00
skalogryz
9bdc865712
chelper: fixed parsing standard C "signed" type names
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4012 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-03-09 04:19:46 +00:00
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
4bd67b966e
chelper: extended support for variables/constants parsing by reading its initial value.
...
added support for function body parsing. Removed a deprecated function.
fixed the preprocess handling
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4005 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-03-08 02:36:47 +00:00
skalogryz
9de53b2440
chelper: improved objc support:
...
Categories now can have protocol support.
Added parameter method direction modified (in, byref, inout .. etc)
Parsing of non-class entities (typedef, vars and funcs) within class declaration
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4004 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-03-08 02:29:00 +00:00
skalogryz
115e6a7557
chelper: updated preprocess expression valuation - using macors values. Renamed the valuation function name.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4000 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-03-06 14:08:16 +00:00
skalogryz
1af6c4c6f1
chelper: improve expression parsing detection of typecast vs (expression) - added standard set of c types and ctypeinfo library
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3997 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-03-06 04:32:31 +00:00
skalogryz
016c43335d
chelper: added defined() function valuation
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3994 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-03-05 18:20:40 +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
fb4365096d
chelper: modified the parsing approach of the unit. currently breaks compatibility with chelper
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3986 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-03-03 03:45:41 +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
4759c5fcdd
chelper: extended log functions with overload counterparts
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3984 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-03-03 03:43:40 +00:00
skalogryz
3a121294b0
chelper: cleanup error message generator. added obj-c class bit sized fields support
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3983 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-03-03 03:42:45 +00:00
skalogryz
bacca9d664
chelper: support for macros with variable arguments. end offset of a comment
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3982 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-03-03 03:06:50 +00:00
skalogryz
0b7b50f476
chelper: added support for C++ enum element types. Refactored parsing next entity - added EndOffset, intComments
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3972 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-03-01 06:32:55 +00:00
skalogryz
48490fd3c5
chelper: updates in the converter help file and default behaviour
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3970 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-02-28 04:56:08 +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
c073635355
chelper: fixed default tab selection and parameters loading (broken by previous change)
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2198 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-12-25 05:24:55 +00:00
skalogryz
552ef34e87
chelper: replace TNotebook with TPageControl
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2197 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-12-25 03:25:54 +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
039afe9efa
chelper: added explicit unit mode
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1397 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-12-05 23:46:23 +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
07d1f556a6
chelper: added support for #import preprocessor, and c block objects declaration parsing
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1376 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-11-20 03:07:24 +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
a34c31748e
chelper: use the internal converter by default
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1297 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-08-19 14:15:16 +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
bc54e2acb4
chelper: fix defines handling
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1293 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-08-18 08:14:42 +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
1298a4708a
chelper: fix for parsing headers with unprintable characters
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1279 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-08-12 14:24:08 +00:00
skalogryz
3116f12c1b
chelper: fix code replacement. the header's code could be corrupted if user changes cursor position, while converting process works
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1278 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-08-12 13:38:48 +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