Commit Graph

355 Commits

Author SHA1 Message Date
mattias
94948dde5e codetools: RemoveUnitFromUsesSection: when removing the last unit remove empty lines in front too, bug #18055
git-svn-id: trunk@28498 -
2010-11-26 12:23:25 +00:00
mattias
337ec99248 codetools: configscript: comparing string and number
git-svn-id: trunk@28482 -
2010-11-25 16:20:01 +00:00
vincents
74b8243c58 code tools examples: fixed compilation after r26515 #c0682eae27.
git-svn-id: trunk@27810 -
2010-10-22 12:44:54 +00:00
mattias
ca800a022a codetools: fixed skipping else
git-svn-id: trunk@27515 -
2010-09-28 19:17:03 +00:00
mattias
b5a26a3c72 codetools: fixed stack pop
git-svn-id: trunk@27511 -
2010-09-28 17:12:12 +00:00
mattias
0f2583abfe codetools: fixed RunAssignment clean up
git-svn-id: trunk@27510 -
2010-09-28 16:08:59 +00:00
mattias
aefa18ebf4 codetools: config parser: += assignment
git-svn-id: trunk@26968 -
2010-08-01 22:38:52 +00:00
mattias
121d88afc3 codetools: cfg parser: typecasts
git-svn-id: trunk@26966 -
2010-08-01 22:04:26 +00:00
mattias
d4b9573bfb codetools: FindDeclaration: jump by default to next declaration
git-svn-id: trunk@26961 -
2010-08-01 08:43:02 +00:00
mattias
df930dcc3f codetools: cfg parser: comparison operators
git-svn-id: trunk@26948 -
2010-07-31 21:57:32 +00:00
mattias
f5db6e94da codetools: cfg parser: and, or, xor
git-svn-id: trunk@26943 -
2010-07-31 20:29:54 +00:00
mattias
54eafc0686 codetools: not operator
git-svn-id: trunk@26941 -
2010-07-31 18:40:29 +00:00
mattias
6bcec286b1 codetools: config parser, more keywords
git-svn-id: trunk@26907 -
2010-07-29 22:12:35 +00:00
mattias
01e74e733f codetools: fixed parsing string constant without end
git-svn-id: trunk@26906 -
2010-07-29 15:34:26 +00:00
mattias
448387e85a codetools: config error handling
git-svn-id: trunk@26905 -
2010-07-29 14:33:23 +00:00
mattias
bc861b9767 codetools: check if ppu path exists
git-svn-id: trunk@26898 -
2010-07-29 10:03:17 +00:00
mattias
96a51375f0 codetools: write number of ppu search paths
git-svn-id: trunk@26886 -
2010-07-29 00:20:25 +00:00
mattias
2af1e1f4f1 codetools: fixed warning about non ppu in ppu search path
git-svn-id: trunk@26884 -
2010-07-28 23:48:35 +00:00
mattias
fe884e4da1 codetools: example run script
git-svn-id: trunk@26877 -
2010-07-28 17:06:57 +00:00
mattias
4719ce7c31 IDE; project inspector: reset menu item
git-svn-id: trunk@26875 -
2010-07-28 17:03:41 +00:00
mattias
11e50df91f codetools: added TCustomCodeTool.CodePosToCleanPos
git-svn-id: trunk@26873 -
2010-07-28 16:54:57 +00:00
mattias
ae141f28c1 codetools: started config with if for build modes
git-svn-id: trunk@26872 -
2010-07-28 15:27:12 +00:00
mattias
d926fdf04a codetools: fpc cache: check PATH
git-svn-id: trunk@26854 -
2010-07-27 13:52:57 +00:00
mattias
902ff34fcd codetools: testfpcsrcunitrules: write fpcsrcdir
git-svn-id: trunk@26840 -
2010-07-26 13:16:47 +00:00
mattias
b965ac5878 codetools: fpc src rules: check case insensitive, when no target compiler use defaults
git-svn-id: trunk@26839 -
2010-07-26 13:13:10 +00:00
mattias
47a231cc35 codetools: testfpcsrcunitrules: added flag to check a unit
git-svn-id: trunk@26837 -
2010-07-26 10:45:26 +00:00
mattias
288d85bcae codetools: fixed testfpcsrcunitrules when no ppu exists
git-svn-id: trunk@26836 -
2010-07-26 10:08:00 +00:00
mattias
0713dbfc33 codetools: fpc cache: using case insensitive trees
git-svn-id: trunk@26826 -
2010-07-25 08:56:16 +00:00
mattias
aa4b6036a5 codetools: check fpc paths: show candidates for missing source files
git-svn-id: trunk@26825 -
2010-07-24 23:55:32 +00:00
mattias
93b8c80fa1 codetools: check fpc paths: save cache
git-svn-id: trunk@26823 -
2010-07-24 23:19:10 +00:00
mattias
fb3ccb1f50 codetools: check fpc paths: show duplicate souce files with ppu files
git-svn-id: trunk@26820 -
2010-07-24 22:30:53 +00:00
mattias
215d412d9d codetools: check fpc paths: show duplicate souce files
git-svn-id: trunk@26819 -
2010-07-24 19:39:21 +00:00
mattias
d0e4b0f9f2 codetools: check fpc paths: show ppu files without source
git-svn-id: trunk@26818 -
2010-07-24 19:33:10 +00:00
mattias
cd9bcbc7d0 codetools: check fpc paths: show duplicate units in ppu search path
git-svn-id: trunk@26817 -
2010-07-24 19:20:36 +00:00
mattias
8100a2780c codetools: started test tool for fpc src rules
git-svn-id: trunk@26813 -
2010-07-24 16:07:31 +00:00
mattias
9a69db4955 codetools: started collecting FPC units from set
git-svn-id: trunk@26738 -
2010-07-19 15:59:57 +00:00
mattias
0d135358b4 codetools: block completion: consider comments in front of insert pos
git-svn-id: trunk@26737 -
2010-07-19 12:37:02 +00:00
mattias
eeb043e59e codetools: TCodeToolsOptions.InitWithEnvironmentVariables: search for default
git-svn-id: trunk@26736 -
2010-07-19 12:19:30 +00:00
mattias
7dc32fc395 codetools: fpc cache: handle missing compiler file
git-svn-id: trunk@26735 -
2010-07-19 12:08:13 +00:00
mattias
3920c1a238 codetools: started init with new fpc cache
git-svn-id: trunk@26721 -
2010-07-18 00:50:13 +00:00
mattias
af31f6d34d IDE: indentation examples: multi line parameter list
git-svn-id: trunk@26527 -
2010-07-08 12:33:07 +00:00
mattias
67d24912a8 IDE: auto indentation template file: example for case plus statement
git-svn-id: trunk@26472 -
2010-07-05 14:08:15 +00:00
mattias
2f6e099b6a codetools: autoindenter: do not align to last closed sibling block if block has no start of its own, bug #16837
git-svn-id: trunk@26466 -
2010-07-05 07:25:15 +00:00
mattias
846ae78bbe codetools: updated example
git-svn-id: trunk@26382 -
2010-07-01 09:49:24 +00:00
mattias
d3f232387d codetools: changed RetypeClassVariables parameter to tree
git-svn-id: trunk@24219 -
2010-03-26 12:24:47 +00:00
mattias
a74bc652d2 codetools: added RetypeClassVariables
git-svn-id: trunk@24215 -
2010-03-25 21:16:32 +00:00
mattias
b8581d21e4 codetools: examples: fixed comment
git-svn-id: trunk@22944 -
2009-12-03 11:40:47 +00:00
mattias
0c3ffe4f45 codetools: added example file for methodjumping
git-svn-id: trunk@22943 -
2009-12-03 11:38:21 +00:00
mattias
3b25d319c3 codetools: examples: fixed title
git-svn-id: trunk@22942 -
2009-12-03 11:34:57 +00:00
mattias
2f778c1f3b codetools: fixed adding published method into implicit first published section
git-svn-id: trunk@22941 -
2009-12-03 11:29:47 +00:00
mattias
5cdcfd3451 codetools: fixed compilation of examples
git-svn-id: trunk@22940 -
2009-12-03 11:10:47 +00:00
mattias
1d47d3d54a IDE: when no lps file: open main unit
git-svn-id: trunk@22939 -
2009-12-03 10:59:32 +00:00
mattias
646abd53bf codetools: fixed compilation of some examples
git-svn-id: trunk@22936 -
2009-12-03 10:28:17 +00:00
mattias
ca19910ffe codetools: fixed exmaple
git-svn-id: trunk@22811 -
2009-11-26 20:45:07 +00:00
mattias
7d0ed7d072 codetools: reduced debugging
git-svn-id: trunk@22808 -
2009-11-26 19:16:23 +00:00
mattias
58f1799eae codetools: added example testexpreval
git-svn-id: trunk@22807 -
2009-11-26 19:12:41 +00:00
mattias
cf8c233871 codetools: parsing cppclass
git-svn-id: trunk@22601 -
2009-11-15 15:43:53 +00:00
mattias
ddad9c8091 codetools: implemented objcclass
git-svn-id: trunk@21689 -
2009-09-13 21:31:32 +00:00
mattias
dbd54e5026 codetools test: added test for try if finally
git-svn-id: trunk@21424 -
2009-08-23 12:57:23 +00:00
mattias
0fcb8b8adb tests: codetools completeblock: added test results
git-svn-id: trunk@21342 -
2009-08-20 06:44:46 +00:00
mattias
4a05e3f8e0 codetools: completeblock test result
git-svn-id: trunk@21336 -
2009-08-19 21:49:25 +00:00
mattias
5ca1c74263 codetools: more complete block exmaples
git-svn-id: trunk@21333 -
2009-08-19 21:05:44 +00:00
mattias
0b32b2d284 small updates
git-svn-id: trunk@20993 -
2009-07-28 15:14:49 +00:00
mattias
d25179de98 codetools: complete block: do not add semicolon in front of an else, bug #14021
git-svn-id: trunk@20689 -
2009-06-21 11:16:35 +00:00
mattias
51d5f674d6 codetools: block completion: added example for if then begin else
git-svn-id: trunk@20688 -
2009-06-21 10:56:50 +00:00
mattias
a1c288222b codetools: moved indenter to TCodeToolManager
git-svn-id: trunk@20480 -
2009-06-06 16:16:51 +00:00
mattias
6bf2f76a84 codetools: added example for begin begin end
git-svn-id: trunk@20456 -
2009-06-05 18:12:53 +00:00
mattias
62772a8398 codetools: started tool to explore fpc sources
git-svn-id: trunk@20435 -
2009-06-05 12:49:01 +00:00
mattias
58acb9da65 codetools: completeblock: fixed closing nested if else
git-svn-id: trunk@20433 -
2009-06-05 11:38:03 +00:00
mattias
8f78d9aa6a codetools: complete block: checking for end., bug #13895
git-svn-id: trunk@20383 -
2009-06-03 21:34:04 +00:00
mattias
cb61eaabf5 codetools: added more indentation examples
git-svn-id: trunk@20378 -
2009-06-03 17:14:42 +00:00
mattias
552a63960f codetools: local var assignment completion: address operator
git-svn-id: trunk@20377 -
2009-06-03 17:10:17 +00:00
mattias
520cd91793 codetools: indentations: parsing source behind
git-svn-id: trunk@20314 -
2009-05-30 16:07:41 +00:00
mattias
8ac8d4e9f9 codetools: indentations: considering tabs
git-svn-id: trunk@20297 -
2009-05-29 10:40:52 +00:00
mattias
3c38e445f7 codetools: added class section to indentation parser
git-svn-id: trunk@20294 -
2009-05-29 10:19:25 +00:00
mattias
4cfb35e54c codetools: more examples
git-svn-id: trunk@20292 -
2009-05-29 08:02:22 +00:00
mattias
65968ad5bf codetools: complete block: insert needed spaces in front of first line
git-svn-id: trunk@20291 -
2009-05-29 07:59:13 +00:00
mattias
178f494111 codetools: complete block: use first atom for inner indent
git-svn-id: trunk@20280 -
2009-05-28 11:43:48 +00:00
mattias
9938f293e5 codetools: clean up
git-svn-id: trunk@20279 -
2009-05-28 11:38:34 +00:00
mattias
daf4fa8599 codetools: added test while begin
git-svn-id: trunk@20278 -
2009-05-28 11:37:18 +00:00
mattias
4c328019d2 codetools: added example to test complete block
git-svn-id: trunk@20277 -
2009-05-28 11:24:53 +00:00
mattias
00d6ae5915 codetools: added test for complete block
git-svn-id: trunk@20276 -
2009-05-28 11:23:40 +00:00
mattias
56d71374e0 codetools: added debugging output for indentation parser
git-svn-id: trunk@20203 -
2009-05-25 12:22:11 +00:00
mattias
dc7e254692 codetools: indentation procedures
git-svn-id: trunk@20199 -
2009-05-25 11:35:26 +00:00
mattias
0b64430386 IDE: code context hints: compute size with bold
git-svn-id: trunk@20177 -
2009-05-24 21:26:51 +00:00
mattias
295dbd896e codetools: indentation parser: added identifier sections
git-svn-id: trunk@20176 -
2009-05-24 21:20:41 +00:00
mattias
608612c9e0 clean up
git-svn-id: trunk@20150 -
2009-05-23 23:55:49 +00:00
mattias
f2e68dee8c codetools: complete block: use existing semicolon
git-svn-id: trunk@20149 -
2009-05-23 23:52:09 +00:00
mattias
fafb745f2d codetools: example for indentation parser
git-svn-id: trunk@20144 -
2009-05-23 11:03:33 +00:00
mattias
5ae268758c codetools: added example
git-svn-id: trunk@20142 -
2009-05-23 10:40:19 +00:00
mattias
fd88c3a5bd codetools: find declaration of selfunit.identifier
git-svn-id: trunk@19795 -
2009-05-04 10:10:07 +00:00
mattias
91fc870ec6 codetools: using less memory for global identifier table
git-svn-id: trunk@19693 -
2009-04-29 13:47:04 +00:00
mattias
9a76510f83 codetools: added example for unused units
git-svn-id: trunk@19286 -
2009-04-09 12:57:21 +00:00
mattias
e02b35ad83 clean up
git-svn-id: trunk@17732 -
2008-12-08 18:08:12 +00:00
mattias
2629831200 codetools: fixed fpc source directory definitions if blocks
git-svn-id: trunk@17731 -
2008-12-08 17:58:16 +00:00
mattias
fe7b742f0b codetools: creating FPC source defines with appended pathdelim
git-svn-id: trunk@17729 -
2008-12-08 15:01:18 +00:00
mattias
fa43353907 clean up
git-svn-id: trunk@17716 -
2008-12-07 22:48:52 +00:00
mattias
ef52dfede9 codetools: SImpleInit: allow overriding TargetOS
git-svn-id: trunk@17715 -
2008-12-07 22:39:47 +00:00
mattias
991a580e12 codetools: extended examples to sue environment variable FPCTARGET
git-svn-id: trunk@17714 -
2008-12-07 22:09:57 +00:00
mattias
f2f66fafb1 codetools: implemented if declared(unicodestring)
git-svn-id: trunk@17622 -
2008-11-28 08:43:22 +00:00
mattias
0258b583f2 codetools: fixed examples
git-svn-id: trunk@16360 -
2008-09-01 20:08:28 +00:00
mattias
9032caa4fd UTF-8: added ExpandFilenameUTF8
git-svn-id: trunk@16272 -
2008-08-27 11:25:01 +00:00
mattias
69cfe88898 using UTF-8 for file operations and environment variables
git-svn-id: trunk@16236 -
2008-08-25 22:32:23 +00:00
mattias
726ba21866 codetools: clean up
git-svn-id: trunk@15932 -
2008-07-31 14:37:06 +00:00
mattias
889efdd935 codetools: c pareser: implemented parsing __attribute__ after param list
git-svn-id: trunk@15918 -
2008-07-30 11:30:05 +00:00
mattias
cb341f3456 codetools: c paresers: implemented function with return type pointer
git-svn-id: trunk@15917 -
2008-07-30 09:56:31 +00:00
mattias
aad576fab2 codetools: h2pas: automatic finding of enclosing IFNDEF
git-svn-id: trunk@15916 -
2008-07-30 09:40:50 +00:00
mattias
110712e59c codetools: h2pas: allowing in #if && || > < >= <=
git-svn-id: trunk@15915 -
2008-07-30 06:58:20 +00:00
mattias
41d5425de5 codetools: h2pas example: added defines, undefines, outputfile and multiple input files
git-svn-id: trunk@15905 -
2008-07-28 16:16:42 +00:00
mattias
3c1f8a71b4 IDE: moved some more code from pkgboss to packagegraph
git-svn-id: trunk@15744 -
2008-07-11 13:42:42 +00:00
mattias
911017a6d4 codetools: ppu: changed output of example to pascal
git-svn-id: trunk@15678 -
2008-07-05 22:37:52 +00:00
mattias
66e647c642 codetools: ppu: implemented auto disableding units with broken dependencies
git-svn-id: trunk@15666 -
2008-07-03 15:39:31 +00:00
mattias
7e45858274 codetools: ppu: added heuristic to create FPC groups
git-svn-id: trunk@15665 -
2008-07-03 14:57:57 +00:00
mattias
7e17414073 codetools: ppu graph: reporting missing units
git-svn-id: trunk@15656 -
2008-07-02 14:09:44 +00:00
mattias
bf2774ed3d codetools: added unit ppugraph to parse groups of ppu files
git-svn-id: trunk@15655 -
2008-07-02 13:41:40 +00:00
mattias
2c1f769392 codetools: ppu: implemented storing initialization and finalization section and reading mangled name of a proc
git-svn-id: trunk@15652 -
2008-07-02 11:51:38 +00:00
mattias
5da63800d7 codetools: ppu: implemented storing and reading uses sections
git-svn-id: trunk@15651 -
2008-07-02 11:24:38 +00:00
mattias
26812face7 codetools: added example for parsing ppu files
git-svn-id: trunk@15583 -
2008-06-27 10:27:06 +00:00
mattias
f32d59efb7 codetools: started ppu parser
git-svn-id: trunk@15579 -
2008-06-26 16:54:02 +00:00
mattias
5e41e48a30 codetools: remove empty methods: implemented returning list of removed definitions
git-svn-id: trunk@14986 -
2008-04-26 19:18:57 +00:00
mattias
5399b1c322 codetools: removing empty methods: auto removing class completion comment
git-svn-id: trunk@14971 -
2008-04-25 13:31:19 +00:00
mattias
c0fef1b31e codetools: added function to remove empty method bodies
git-svn-id: trunk@14970 -
2008-04-25 12:35:55 +00:00
mattias
cc954306a9 codetools: added function to find empty method bodies
git-svn-id: trunk@14969 -
2008-04-25 12:11:17 +00:00
mattias
3d48fcca42 IDE: implemented experimental TPersistentPropertyEditor.GetValues for multi forms
git-svn-id: trunk@14751 -
2008-04-04 16:25:44 +00:00
mattias
a31259b22c codetools: h2p: workaround for fpc var/const string bug
git-svn-id: trunk@14682 -
2008-03-28 15:10:26 +00:00
mattias
f0bbffbdde codetools: h2p: implemented converting typedef variable
git-svn-id: trunk@14681 -
2008-03-28 14:36:05 +00:00
mattias
a7ea084059 codetools: h2p example: writing output unit to disk
git-svn-id: trunk@14673 -
2008-03-28 09:44:14 +00:00
mattias
cf5329f598 codetools: h2p: removing redefiend macros
git-svn-id: trunk@14667 -
2008-03-27 20:18:27 +00:00
mattias
635062877c codetools: c parser: fixed parsing numbers
git-svn-id: trunk@14663 -
2008-03-27 11:10:46 +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
aeceb42992 codetools: h2p: implemented converting c octal numbers
git-svn-id: trunk@14649 -
2008-03-26 11:30:17 +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
29a732e300 codetools: h2p: implemented writing directives as pascal
git-svn-id: trunk@14639 -
2008-03-25 14:07:54 +00:00
mattias
36cbdb7c58 codetools: h2p: implemented building directives tree
git-svn-id: trunk@14637 -
2008-03-25 13:44:01 +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
9b34769c83 codetools: h2p: implemented writing variables as pascal code
git-svn-id: trunk@14608 -
2008-03-21 21:36:58 +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
c592a2172d codetools: auto resolving auto generated name conflicts
git-svn-id: trunk@14563 -
2008-03-18 10:29:09 +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