Commit Graph

1620 Commits

Author SHA1 Message Date
mattias
69027e680e codetools: h2p: implemented removing unused defines
git-svn-id: trunk@14668 -
2008-03-27 20:40:57 +00:00
mattias
cf5329f598 codetools: h2p: removing redefiend macros
git-svn-id: trunk@14667 -
2008-03-27 20:18:27 +00:00
mattias
f02bfe9efa codetools: h2p: implemented converting && and || in macro values
git-svn-id: trunk@14666 -
2008-03-27 19:12:51 +00:00
mattias
bdeca6f19c codetools: h2p: updated comments
git-svn-id: trunk@14665 -
2008-03-27 11:40:42 +00:00
mattias
54398675ff codetools: h2p: implemented converting | and & in macro values
git-svn-id: trunk@14664 -
2008-03-27 11:25:21 +00:00
mattias
635062877c codetools: c parser: fixed parsing numbers
git-svn-id: trunk@14663 -
2008-03-27 11:10:46 +00:00
mattias
fc6e52e515 codetools: h2p: added safety check
git-svn-id: trunk@14660 -
2008-03-26 17:52:58 +00:00
mattias
dce2481e79 codetools: c parser: fixed mem leak
git-svn-id: trunk@14659 -
2008-03-26 17:42:58 +00:00
mattias
ab2e97512f codetools: h2p: fixed creating nested procedure types
git-svn-id: trunk@14658 -
2008-03-26 17:37:05 +00:00
mattias
66c97d67f0 codetools: h2p: implemented nested function types
git-svn-id: trunk@14657 -
2008-03-26 17:25:57 +00:00
mattias
33fceb4802 codetools: c parser: clean up
git-svn-id: trunk@14656 -
2008-03-26 16:26:47 +00:00
mattias
a0fb82a994 codetools: h2p: implemented parsing struct parameters and fixed simplifying if elseif else endif
git-svn-id: trunk@14655 -
2008-03-26 15:48:48 +00:00
mattias
f6717eb256 codetools: h2p: implemented simplifying empty ifdefs
git-svn-id: trunk@14652 -
2008-03-26 14:41:04 +00:00
mattias
3b57267fa1 codetools: h2p: implemented recognizing (void*)0
git-svn-id: trunk@14651 -
2008-03-26 13:44:43 +00:00
mattias
74426aae84 codetools: h2p: implemented recognizing constant identifiers in macro values
git-svn-id: trunk@14650 -
2008-03-26 13:29:28 +00:00
mattias
aeceb42992 codetools: h2p: implemented converting c octal numbers
git-svn-id: trunk@14649 -
2008-03-26 11:30:17 +00:00
mattias
647adc1d77 codetools: h2p: implemented converting c hex numbers
git-svn-id: trunk@14648 -
2008-03-26 11:24:46 +00:00
mattias
271e95a54b codetools: h2p: implemented converting simple macro constants to pascal constants
git-svn-id: trunk@14647 -
2008-03-26 10:25:39 +00:00
mattias
2fc48743e4 codetools: h2p: auto replacing special macro chars
git-svn-id: trunk@14646 -
2008-03-26 09:45:36 +00:00
mattias
e159c54b13 codetools: h2p: clean up
git-svn-id: trunk@14645 -
2008-03-26 09:33:43 +00:00
mattias
00936481e1 codetools: h2p: started simplify directives#
git-svn-id: trunk@14641 -
2008-03-25 17:55:57 +00:00
mattias
f36a751b57 codetools: h2p: implemented macro values and stati
git-svn-id: trunk@14640 -
2008-03-25 15:43:07 +00:00
mattias
29a732e300 codetools: h2p: implemented writing directives as pascal
git-svn-id: trunk@14639 -
2008-03-25 14:07:54 +00:00
mattias
2e78fdbf51 codetools: h2p: implemented writing error directives as pascal
git-svn-id: trunk@14638 -
2008-03-25 13:58:25 +00:00
mattias
36cbdb7c58 codetools: h2p: implemented building directives tree
git-svn-id: trunk@14637 -
2008-03-25 13:44:01 +00:00
mattias
4e86ff8611 codetools: h2p: started directive nodes
git-svn-id: trunk@14636 -
2008-03-25 12:36:39 +00:00
mattias
d4d10d65ce codetools: h2p: implemented writing record case as pascal
git-svn-id: trunk@14635 -
2008-03-25 11:27:38 +00:00
mattias
8b66effeab codetools: h2p: implemented writing procedure types as pascal
git-svn-id: trunk@14634 -
2008-03-25 10:50:56 +00:00
mattias
b7829c6cc9 codetools: h2p: writing line numbers for skipped items
git-svn-id: trunk@14633 -
2008-03-25 10:28:59 +00:00
mattias
04d285bc25 codetools: h2p: implemented wrinting simple records as pascal
git-svn-id: trunk@14632 -
2008-03-25 10:19:57 +00:00
mattias
2241f84b14 codetools: h2p: implemented writing enums as pascal
git-svn-id: trunk@14630 -
2008-03-25 09:45:07 +00:00
mattias
0187d5938a codetools: h2p: implemented writing simple procedure param lists as pascal
git-svn-id: trunk@14619 -
2008-03-22 22:33:33 +00:00
mattias
fde5bd6197 codetools: h2p: implemented writing simple procedures as pascal
git-svn-id: trunk@14618 -
2008-03-22 22:27:21 +00:00
mattias
df6b850e40 codetools: h2p: implemented writing simple types as pascal
git-svn-id: trunk@14616 -
2008-03-22 21:58:49 +00:00
mattias
3e15890632 IDE: checking package Makefile.fpc changes ignoring comments and empty lines
git-svn-id: trunk@14613 -
2008-03-22 21:39:34 +00:00
mattias
5c76657004 codetools: h2p: writing global pascal variables
git-svn-id: trunk@14609 -
2008-03-21 21:52:52 +00:00
mattias
9b34769c83 codetools: h2p: implemented writing variables as pascal code
git-svn-id: trunk@14608 -
2008-03-21 21:36:58 +00:00
mattias
6a65fad10e codetools: updated defines for fpgui widgetset
git-svn-id: trunk@14602 -
2008-03-20 17:30:28 +00:00
mattias
bcc1df0450 codetools: h2p: implemented parsing defines
git-svn-id: trunk@14586 -
2008-03-19 14:39:07 +00:00
mattias
baebd44d83 codetools: h2p: implemented parsing #if and #elif expressions
git-svn-id: trunk@14585 -
2008-03-19 14:18:59 +00:00
mattias
d3f729367b codetools: h2p: parsing ifdef, undef, ifndef
git-svn-id: trunk@14582 -
2008-03-19 12:38:51 +00:00
mattias
2db3882300 codetools: c parser: implemented parsing directives
git-svn-id: trunk@14581 -
2008-03-19 12:33:53 +00:00
mattias
46bfc75db8 codetools: h2p: implemented #endif
git-svn-id: trunk@14580 -
2008-03-19 09:55:05 +00:00
mattias
70de988f83 codetools: h2p: implemented typedef function pointers
git-svn-id: trunk@14577 -
2008-03-18 17:35:31 +00:00
mattias
ad20039e2e codetools: h2p: implemented struct alias
git-svn-id: trunk@14576 -
2008-03-18 16:58:12 +00:00
mattias
ff62c04c02 codetools: h2p: implemented union
git-svn-id: trunk@14575 -
2008-03-18 16:40:41 +00:00
mattias
fcb2e8f8cb codetools: h2p: implemented typedef struct
git-svn-id: trunk@14574 -
2008-03-18 16:02:33 +00:00
mattias
f483eda4a5 codetools: h2p: implemented parameter type ...
git-svn-id: trunk@14572 -
2008-03-18 15:09:39 +00:00
mattias
b8caa1a665 codetools: h2p: implemented function list parameters
git-svn-id: trunk@14571 -
2008-03-18 14:57:47 +00:00
mattias
229b2913b9 codetools: c parser: implemented parsing function parameter names
git-svn-id: trunk@14570 -
2008-03-18 14:05:40 +00:00
mattias
fb6acb3313 codetools: c parser: implemented parsing function parameters
git-svn-id: trunk@14569 -
2008-03-18 13:38:22 +00:00
mattias
261b5cdc0f codetools: h2p: ignore function modifiers for result type
git-svn-id: trunk@14568 -
2008-03-18 12:26:04 +00:00
mattias
8972d10822 codetools: h2p: implemented nested definitions
git-svn-id: trunk@14567 -
2008-03-18 11:57:20 +00:00
mattias
893c996a5e codetools: h2p: implemented struct
git-svn-id: trunk@14566 -
2008-03-18 10:58:49 +00:00
mattias
dc866d786a codetools: h2p: implemented enum values
git-svn-id: trunk@14565 -
2008-03-18 10:52:19 +00:00
mattias
175ccd7f03 codetools: h2p: implemented enums
git-svn-id: trunk@14564 -
2008-03-18 10:46:33 +00:00
mattias
c592a2172d codetools: auto resolving auto generated name conflicts
git-svn-id: trunk@14563 -
2008-03-18 10:29:09 +00:00
mattias
bd6c6feddd codetools: h2p: fixed parsing c decimal number
git-svn-id: trunk@14557 -
2008-03-17 17:47:57 +00:00
mattias
3b1f623c30 codetools: h2p: implemented auto generating array types
git-svn-id: trunk@14556 -
2008-03-17 17:44:46 +00:00
mattias
d3dd7651c4 codetools: h2p: implemented auto generating pointer types
git-svn-id: trunk@14555 -
2008-03-17 16:47:02 +00:00
mattias
7593e06d86 codetools: implemented conversion of simple c declarations
git-svn-id: trunk@14553 -
2008-03-17 15:37:43 +00:00
mattias
535542bc52 codetools: h2p: keeping ctool, creating var nodes
git-svn-id: trunk@14552 -
2008-03-17 11:14:07 +00:00
mattias
db1b64812b codetools: h2p: added trees for pascal and c names
git-svn-id: trunk@14551 -
2008-03-17 10:58:20 +00:00
mattias
d2aed0e2c3 codetools: added more ctypes
git-svn-id: trunk@14550 -
2008-03-17 09:53:21 +00:00
mattias
a234e5944d codetools: c parser: distinguish function and variable
git-svn-id: trunk@14549 -
2008-03-17 09:31:34 +00:00
marc
3393285e94 * Improved localization of Package Links dialog by Maxim Ganetsky
* updateed po files

git-svn-id: trunk@14548 -
2008-03-16 23:58:17 +00:00
marc
71b7fb62a7 * Improved localization of sourceedtor popup menu and updated Russin translation by Maxim Ganetsky
* Updated po files

git-svn-id: trunk@14547 -
2008-03-16 23:49:22 +00:00
mattias
55e69f1c40 codetools: fixed parsing var type with initial values
git-svn-id: trunk@14543 -
2008-03-15 22:03:28 +00:00
mattias
38f016b913 codetools: implemented parsing c enum ID name
git-svn-id: trunk@14542 -
2008-03-15 21:41:30 +00:00
mattias
af9f3ff803 codetools: implemented parsing c enum block name
git-svn-id: trunk@14541 -
2008-03-15 21:39:50 +00:00
mattias
b68a8161c1 codetools: implemented getting variable type end without constant
git-svn-id: trunk@14540 -
2008-03-15 18:57:10 +00:00
mattias
ebcd336655 codetools: fixed remving space in front of const
git-svn-id: trunk@14539 -
2008-03-15 18:49:24 +00:00
mattias
3c69d6a067 codetools: added ctypes pointer types
git-svn-id: trunk@14538 -
2008-03-15 18:46:27 +00:00
mattias
0b277dd71a codetools: added ctypes pointer types
git-svn-id: trunk@14537 -
2008-03-15 18:44:30 +00:00
mattias
3f7eaa4892 h2pas: fixed commenting complex macros
git-svn-id: trunk@14535 -
2008-03-15 14:00:25 +00:00
mattias
1d92eaff9e codetools: fixed FixForwardDefinitions result when no definitions found
git-svn-id: trunk@14534 -
2008-03-15 13:39:41 +00:00
mattias
d8cf78193b codetools: fixed FindAliasDefinitions crash when no alias found
git-svn-id: trunk@14533 -
2008-03-15 13:34:04 +00:00
mattias
3ed0e65d2b codetools: fixed cleaning up in FixMissingH2PasDirectives
git-svn-id: trunk@14532 -
2008-03-15 13:31:19 +00:00
mattias
40018b4221 codetools: added table of ctypes
git-svn-id: trunk@14529 -
2008-03-15 13:07:47 +00:00
mattias
095053bca9 codetools: implemented extracting c function types
git-svn-id: trunk@14525 -
2008-03-15 10:53:32 +00:00
mattias
abd08bc5f4 codetools: implemented parsing var a:b; export name c;, bug #11002
git-svn-id: trunk@14524 -
2008-03-15 10:24:12 +00:00
mattias
e940726de1 codetools: implemented TH2PasTool.HasCVariableSimplePascalType
git-svn-id: trunk@14523 -
2008-03-15 10:14:01 +00:00
mattias
137d8db3f6 codetools: implemented TCCodeParserTool.ExtractCode
git-svn-id: trunk@14520 -
2008-03-14 12:58:26 +00:00
mattias
e097dc36e5 codetools: c parser: fixed variable name start-end pos
git-svn-id: trunk@14519 -
2008-03-14 12:28:29 +00:00
mattias
0ab8d02996 codetools: c parser: reduced verbosity
git-svn-id: trunk@14518 -
2008-03-14 12:24:02 +00:00
mattias
d8737e8a09 codetools: added h2ptree, converted some consistencychecks to exceptions
git-svn-id: trunk@14517 -
2008-03-14 11:56:14 +00:00
laurent
83b7c87e0f Update French languages
git-svn-id: trunk@14505 -
2008-03-12 21:20:46 +00:00
mattias
02c06730c7 codetools: implemented parsing c const
git-svn-id: trunk@14502 -
2008-03-12 14:38:20 +00:00
mattias
ceb551d1a8 codetools: added examples for c const
git-svn-id: trunk@14488 -
2008-03-10 16:43:38 +00:00
vincents
035ee959b3 fixed compilation with fpc 2.3.1, which does not allow passing literal chars to formal const parameters (bug #10949)
git-svn-id: trunk@14452 -
2008-03-07 10:17:39 +00:00
mattias
fb384fe93a updated README.txt
git-svn-id: trunk@14422 -
2008-03-05 11:42:46 +00:00
mattias
58e4529589 codetools: started h2pastool
git-svn-id: trunk@14407 -
2008-03-04 13:23:11 +00:00
mattias
4e6ffac026 codetools: implemented parsing struct name
git-svn-id: trunk@14387 -
2008-03-03 17:05:16 +00:00
mattias
735da60bb7 codetools: implemented parsing typedef functions
git-svn-id: trunk@14386 -
2008-03-03 16:49:19 +00:00
mattias
b82d0ebf3f codetools: implemented parsing unsigned shhort
git-svn-id: trunk@14383 -
2008-03-03 11:35:08 +00:00
mattias
97a2a2f9e8 codetools: added error position to c parser
git-svn-id: trunk@14382 -
2008-03-03 11:16:28 +00:00
paul
7234fee1f0 don't try to access empty string members
git-svn-id: trunk@14369 -
2008-03-03 02:54:00 +00:00
marc
ea2b67af4b * updated Russian translation by Maxim Ganetsky
git-svn-id: trunk@14335 -
2008-02-29 23:23:56 +00:00
mattias
06639f326d codetools: implemented parsing end bracket of extern
git-svn-id: trunk@14329 -
2008-02-29 19:34:59 +00:00
mattias
deb076e47d codetools: implemented parsing pointer to function
git-svn-id: trunk@14328 -
2008-02-29 19:29:41 +00:00
mattias
59d9edd4e7 codetools: implemented parsing initial constant of variable
git-svn-id: trunk@14327 -
2008-02-29 19:26:00 +00:00
mattias
e6f1b79af9 codetools: implemented parsing union
git-svn-id: trunk@14322 -
2008-02-29 17:53:42 +00:00
mattias
3339383d3f synedit: fixed SetTopLine ScrollWindowEx delta, bug #8479
git-svn-id: trunk@14321 -
2008-02-29 17:23:01 +00:00
mattias
ab2ebe4ec9 codetools: implemnted parsing variables pointer struct
git-svn-id: trunk@14320 -
2008-02-29 17:16:37 +00:00
mattias
095cf0e3c4 codetools: implemented parsing struct variable
git-svn-id: trunk@14318 -
2008-02-29 16:46:15 +00:00
mattias
16cdbab6c5 codetools: implemented parsing struct variable
git-svn-id: trunk@14315 -
2008-02-29 14:40:33 +00:00
mattias
7145dce634 codetools: implemented parsing function header
git-svn-id: trunk@14314 -
2008-02-29 14:31:46 +00:00
mattias
8d36f6dd13 codetools: implemented parsing struct
git-svn-id: trunk@14312 -
2008-02-29 13:34:38 +00:00
mattias
5c469d66fa codetools: implemented parsing typedef
git-svn-id: trunk@14310 -
2008-02-29 12:55:53 +00:00
marc
28a173889d * updated Spanish translation by Jose Angel
git-svn-id: trunk@14305 -
2008-02-28 22:22:19 +00:00
mattias
cab6632f4c codetools: implemented some more c tokens
git-svn-id: trunk@14301 -
2008-02-28 13:06:06 +00:00
mattias
0e9a820edc codetools: implemented parsing c enums
git-svn-id: trunk@14291 -
2008-02-27 22:59:53 +00:00
mattias
e033e82e6d codetools: fixed using the right keyword DoIt function
git-svn-id: trunk@14290 -
2008-02-27 20:15:49 +00:00
mattias
da92985afe IDE: updated translations
git-svn-id: trunk@14286 -
2008-02-27 15:53:18 +00:00
mattias
9519c2624f codetools: implemented start of extern c
git-svn-id: trunk@14283 -
2008-02-27 15:22:12 +00:00
mattias
1825f74f2a codetools: implemented parsing c directives
git-svn-id: trunk@14282 -
2008-02-27 14:50:50 +00:00
mattias
e5c953b67b codetools: implemented TCCodeParserTool.Replace
git-svn-id: trunk@14281 -
2008-02-27 14:10:09 +00:00
mattias
e748b6291f codetools: moved AdjustPositionAfterInsert
git-svn-id: trunk@14280 -
2008-02-27 14:08:53 +00:00
mattias
ce09782485 codetools: started c parser
git-svn-id: trunk@14279 -
2008-02-27 14:05:42 +00:00
mattias
c5b0d677e4 codetools: started example for h2pas
git-svn-id: trunk@14278 -
2008-02-27 13:49:35 +00:00
mattias
4ef23076cb codetools: started conversion of codetools to normal package
git-svn-id: trunk@14262 -
2008-02-26 16:12:23 +00:00
mattias
e0c523e862 codetools: accelerated loading include links
git-svn-id: trunk@14190 -
2008-02-19 11:37:30 +00:00
mattias
4a973fd05a h2pas: improved debugging
git-svn-id: trunk@14187 -
2008-02-19 08:42:21 +00:00
mattias
b961973398 codetools: find declaration: implemented if string is ansistring
git-svn-id: trunk@14167 -
2008-02-16 22:57:10 +00:00
mattias
dbdbd492a7 codetools: fixed remvong redefinitions of connected sections
git-svn-id: trunk@14163 -
2008-02-16 20:28:28 +00:00
mattias
0611fdb50b h2pas: codetools: fixed removing whole sections when removing redefinitions
git-svn-id: trunk@14154 -
2008-02-15 22:45:30 +00:00
mattias
e3f5d4cae9 codetools: fixed removing triple redefinitions
git-svn-id: trunk@14153 -
2008-02-15 22:18:13 +00:00
mattias
12698f650c codetools: removed generic from the list of global keywords
git-svn-id: trunk@14151 -
2008-02-15 21:57:46 +00:00
mattias
a807ae157b h2pas: extended tool to add implicit types for adding implicit function types
git-svn-id: trunk@14147 -
2008-02-15 20:41:29 +00:00
mattias
157bab37f1 codetools: fixed compilation
git-svn-id: trunk@14142 -
2008-02-15 18:36:31 +00:00
mattias
9ee445c286 added c header file example with lots of typical c constructs
git-svn-id: trunk@14141 -
2008-02-15 17:41:20 +00:00
mattias
f3b6a2f28c added Hakan Kizilhan to contributors
git-svn-id: trunk@14117 -
2008-02-13 11:41:51 +00:00
mattias
746753524e codetools: fixed parsing (* comments
git-svn-id: trunk@14115 -
2008-02-12 17:51:41 +00:00
mattias
ac191520f1 h2pas: added tool to add units to the uses section
git-svn-id: trunk@14114 -
2008-02-12 17:02:51 +00:00
mattias
e585127ec0 h2pas: finished tool to comment fucntions that are too complex for h2pas
git-svn-id: trunk@14110 -
2008-02-12 13:26:13 +00:00
mattias
29d9cb29f8 codetools: added some simple c code parser functions
git-svn-id: trunk@14094 -
2008-02-11 20:20:32 +00:00
mattias
59077ba016 codetools: fixed code completion for semicolons after procs bugs #10741
git-svn-id: trunk@13937 -
2008-01-31 13:53:10 +00:00
mattias
cd21cbb318 codetools: FindDeclarationAndOverload: fixed starting search on proc name
git-svn-id: trunk@13932 -
2008-01-31 10:30:23 +00:00
mattias
1802d34238 IDE: improved xml parser to keep TDomText nodes
git-svn-id: trunk@13928 -
2008-01-30 22:29:50 +00:00
mattias
07978ee092 IDE: fixed using ReadXMLFile to read lpk files
git-svn-id: trunk@13915 -
2008-01-29 22:27:23 +00:00
mattias
999e8b059d IDE: TXMLConfig.Flush does not save if Filename empty, TLazPackage extended to save to string, package system extended to revert packages not edited and to check changed packages on disk, disk diff dlg extended to show changes of packages
git-svn-id: trunk@13913 -
2008-01-29 17:52:05 +00:00
mattias
8810e42aec laz_xmlread: whitespace chars behind ags is now stored in text nodes
git-svn-id: trunk@13880 -
2008-01-25 19:13:38 +00:00
mattias
d67d20840b codetools: fixed FindNextComment bug #10650
git-svn-id: trunk@13791 -
2008-01-19 08:36:36 +00:00
mattias
91f054ad10 codetools: implemented parsing on Exception do, bug #9291
git-svn-id: trunk@13702 -
2008-01-09 22:33:28 +00:00
mattias
876cefb855 codetools: CreateMethod: implemented adding units for parameter types, bug #10594
git-svn-id: trunk@13693 -
2008-01-09 19:45:29 +00:00
mattias
21bc42839b LCL: fixed compilation for fpc 2.3.1
git-svn-id: trunk@13692 -
2008-01-09 19:41:37 +00:00
mattias
f9cbb95fc4 codetools: fixed parsing classes containing only the inheritage brackets, but no end (bug #10563)
git-svn-id: trunk@13644 -
2008-01-05 23:04:14 +00:00
mattias
a7dbaa80d2 codetools: fixed wrong tool context in FindClassNodeForLFMObject
git-svn-id: trunk@13598 -
2008-01-02 23:35:25 +00:00
mattias
e59a6c5881 IDE: codeexplorer: sorted class section constants for visibility
git-svn-id: trunk@13572 -
2008-01-02 00:55:06 +00:00
mattias
516622ca91 codetools: beautify method now keeps directives unchanged
git-svn-id: trunk@13563 -
2008-01-01 22:16:21 +00:00