Commit Graph

34 Commits

Author SHA1 Message Date
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
skalogryz
5f20a3f950 chelper: improve const type qualifier parsing
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1275 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-08-12 09:18:28 +00:00
skalogryz
6eda53c6b7 chelper: fix for long prefixed types parsing
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1273 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-08-11 06:07:30 +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