Commit Graph

2832 Commits

Author SHA1 Message Date
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
4411050278 codetools: copy variables
git-svn-id: trunk@26883 -
2010-07-28 23:43:40 +00:00
mattias
42321c5664 codetools: FindSmartHint: show hint for declaration
git-svn-id: trunk@26882 -
2010-07-28 22:48:35 +00:00
maxim
1b4106187b * 1) renamed Czech translation files to *.cs.po (in accordance with ISO 639-1 standard). This makes automatic Czech translation selection work. Bug #17048.
2) Czech translation updates from chronos.

git-svn-id: trunk@26878 -
2010-07-28 20:58:37 +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
6d3739d9ba codetools: fpc unit paths setdirseparator
git-svn-id: trunk@26866 -
2010-07-27 18:20:01 +00:00
mattias
ba563f5b7d codetools: auto indenter: object, dispinterface, cppclass, objcclass, objccategory, objcprotocol
git-svn-id: trunk@26862 -
2010-07-27 17:21:23 +00:00
mattias
d66103ac53 codetools: debugging
git-svn-id: trunk@26856 -
2010-07-27 14:51:53 +00:00
mattias
d926fdf04a codetools: fpc cache: check PATH
git-svn-id: trunk@26854 -
2010-07-27 13:52:57 +00:00
mattias
07c7749729 codetools: allow in operator in constants
git-svn-id: trunk@26851 -
2010-07-27 10:23:59 +00:00
mattias
0ed44a071c codetools: warning about not able to create test file
git-svn-id: trunk@26850 -
2010-07-27 10:10:36 +00:00
mattias
5a1cba9ff7 codetools: fixed crash, if fpc returns no search paths
git-svn-id: trunk@26847 -
2010-07-27 09:06:55 +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
fa429f7556 codetools: fpc src rules for packages/winceunits
git-svn-id: trunk@26838 -
2010-07-26 11:09:41 +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
1ce765fdda codetools: check if ppu exists in fpc ppu search path, bug #17033
git-svn-id: trunk@26835 -
2010-07-26 08:04:24 +00:00
mattias
39450e7d0d codetools: fpc cache: using case insensitive trees
git-svn-id: trunk@26827 -
2010-07-25 08:57:43 +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
688eb04f0d codetools: delete temp file
git-svn-id: trunk@26824 -
2010-07-24 23:19:21 +00:00
mattias
93b8c80fa1 codetools: check fpc paths: save cache
git-svn-id: trunk@26823 -
2010-07-24 23:19:10 +00:00
maxim
9bc17cf53f regenerated translations; updated Russian translation
git-svn-id: trunk@26822 -
2010-07-24 23:11:09 +00:00
mattias
7f590e0497 codetools: fixed getting compiler target os, cpu
git-svn-id: trunk@26821 -
2010-07-24 22:57:39 +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
afe16f9489 IDE: code browser: fixed scanning IDE
git-svn-id: trunk@26808 -
2010-07-24 11:52:24 +00:00
mattias
11e862fcaa codetools: fixed sub parsing class interface
git-svn-id: trunk@26803 -
2010-07-24 10:33:33 +00:00
mattias
978187a18d codetools: fixed error position
git-svn-id: trunk@26802 -
2010-07-24 10:32:15 +00:00
mattias
2b2c5d9831 codetools: parsing deeper nodes, even if higher node has errors, bug #8093
git-svn-id: trunk@26799 -
2010-07-24 10:07:57 +00:00
mattias
5f4f03d6e9 IDE: using new codetools FPC caches
IDE: fixed macro FPCVer for multiple versions used by fpc.exe
IDE: fixed rescan of FPC sources if not changed, bug #16824
codetools: replaced fpc source heuristic with rule set, needed for bug #13912, #14572
IDE: fixed unneeded rescan of fpc sources if only target changed, needed for 12828
IDE: fixed calling compiler on every start, needed by lazarus on a stick
codetools: fixed search for fpc units without ppu, needed for 15534
IDE: implemented cache for fpc include files, needed by debugger
lazbuild: fixed using non default lclwidgettype of lpi
IDE: fixed auto update if fpc.cfg or target compiler changed, needed for 16824

git-svn-id: trunk@26796 -
2010-07-24 08:12:27 +00:00
mattias
bbb27946d7 codetools: fixed endless loop, bug #17013
git-svn-id: trunk@26787 -
2010-07-22 22:51:58 +00:00
mattias
3ebbb2a0a9 codetools: store errors for jit parsed nodes, bug #16992
git-svn-id: trunk@26778 -
2010-07-22 11:35:42 +00:00
mattias
a6fb6c5e13 codetools: fixed saving find declaration result in parent cache, bug #16985
git-svn-id: trunk@26752 -
2010-07-20 13:06:23 +00:00
mattias
2124f02726 codetools: accelerated ExtractProc
git-svn-id: trunk@26751 -
2010-07-20 12:37:09 +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
76a66d83d4 codetools: implemented TCodeToolManager.DirectoryCachePoolGetUnitFromSet
git-svn-id: trunk@26728 -
2010-07-18 21:07:44 +00:00
mattias
d69e334eb4 codetools: FindBaseType: resolve optional function result after caching result
git-svn-id: trunk@26725 -
2010-07-18 11:22:40 +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
35c4e1f637 codetools: node caches: unbind from owner always
git-svn-id: trunk@26717 -
2010-07-17 13:03:17 +00:00
mattias
ab251fbfb9 codetools: TCodeTreeNode.Clear: clear cache
git-svn-id: trunk@26716 -
2010-07-17 12:58:24 +00:00
mattias
47c41f9993 codetools: parsing record case unitname.type of
git-svn-id: trunk@26703 -
2010-07-16 22:02:08 +00:00
mattias
87dd07beb4 codetools: fpcdefines: support for empty target cpu and os
git-svn-id: trunk@26697 -
2010-07-16 20:06:08 +00:00
mattias
20c18d6616 codetools: copy only calling specifiers when completing a forward proc, bug #16953
git-svn-id: trunk@26692 -
2010-07-16 18:51:03 +00:00
mattias
c7463d7343 IDE: fixed mem leak
git-svn-id: trunk@26658 -
2010-07-14 23:07:30 +00:00
mattias
7728cf1e4e codetools: started unitsets
git-svn-id: trunk@26656 -
2010-07-14 23:01:12 +00:00
maxim
85e63da42c Czech translation update by chronos, bug #16925
git-svn-id: trunk@26654 -
2010-07-14 20:43:51 +00:00
mattias
d62007a174 codetools: clean up
git-svn-id: trunk@26648 -
2010-07-14 15:35:36 +00:00
maxim
724c4cb9aa components: commit automatic package file changes
git-svn-id: trunk@26634 -
2010-07-14 00:39:03 +00:00
maxim
3ae2bebe0d updated Russian translation
git-svn-id: trunk@26633 -
2010-07-14 00:37:39 +00:00
mattias
10bd683ca8 codetools: fpc template from config cache
git-svn-id: trunk@26628 -
2010-07-13 15:47:21 +00:00
mattias
216f4dccf1 codetools: autoindenter: forward class definition
git-svn-id: trunk@26620 -
2010-07-13 13:16:49 +00:00
mattias
bc14bcf0a2 codetools: completeblock: complete if parent and child same indented
git-svn-id: trunk@26619 -
2010-07-13 13:01:13 +00:00
mattias
55dcc22df2 codetools: fpcdefines: check cache validity
git-svn-id: trunk@26618 -
2010-07-13 11:42:46 +00:00
mattias
b23492619f codetools: completeblock: check if unindented line starts new block
git-svn-id: trunk@26617 -
2010-07-13 10:06:40 +00:00
mattias
893f722018 codetools: fpcdefines: tcomponent
git-svn-id: trunk@26613 -
2010-07-13 08:01:19 +00:00
mattias
c38a01e0ae codetools: fpccache: notifications
git-svn-id: trunk@26608 -
2010-07-12 11:58:42 +00:00
mattias
7ece9907af codetools: fpcdefines: started supported caching multiple targets
git-svn-id: trunk@26605 -
2010-07-12 07:31:43 +00:00
mattias
7e74198f7d codetools: completeblock: improved for class
git-svn-id: trunk@26604 -
2010-07-11 20:46:35 +00:00
mattias
cd02fc8a59 IDE: identifier completion: fixed indent on override method
git-svn-id: trunk@26595 -
2010-07-11 12:20:03 +00:00
mattias
b4b5016f20 codetools: completeblock: complete if unindent and cursor at unindent or in empty line
git-svn-id: trunk@26594 -
2010-07-11 11:27:44 +00:00
mattias
ad682260a7 codetools: auto indenter: start first class section automatically
git-svn-id: trunk@26593 -
2010-07-11 09:46:33 +00:00
mattias
56bf0c43a2 codetools: FindDeclarationOfPropertyPath: enum of set
git-svn-id: trunk@26585 -
2010-07-10 20:27:30 +00:00
maxim
766eea94fc IDE: Portuguese translation update from Marcelo B Paula, bug #16889.
git-svn-id: trunk@26556 -
2010-07-09 22:39:47 +00:00
mattias
4bf027e470 codetools: identifier completion: check for directives behind
git-svn-id: trunk@26553 -
2010-07-09 20:43:01 +00:00
mattias
3e90d1e023 codetools: reduced debugging
git-svn-id: trunk@26552 -
2010-07-09 20:20:12 +00:00
mattias
1e473ef5c9 codetools: BuildTree: check if last error was in implementation and only interface is needed, bug #16867
git-svn-id: trunk@26551 -
2010-07-09 20:18:28 +00:00
mattias
54ce6e667b codetools: fixed range of FindCommentInFront
git-svn-id: trunk@26546 -
2010-07-09 12:48:05 +00:00
mattias
29839a9707 codetools: findreferences: search declaration comment, bug #13497
git-svn-id: trunk@26542 -
2010-07-08 21:41:56 +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
16b539c6de codetools: auto indenter: fixed reparsing example
git-svn-id: trunk@26526 -
2010-07-08 12:31:31 +00:00
mattias
c0682eae27 codetools: completeblock when typing begin
git-svn-id: trunk@26515 -
2010-07-07 22:40:38 +00:00
mattias
0b3a7661b0 codetools: completeblock: add newline, bug
git-svn-id: trunk@26512 -
2010-07-07 20:07:49 +00:00
mattias
2e8ba297f0 IDE: show readonly icon for readonly properties, bug #16851
git-svn-id: trunk@26511 -
2010-07-07 19:08:00 +00:00
mattias
379d004c13 codetools: autoindenter: pasting var section after sub proc
git-svn-id: trunk@26485 -
2010-07-06 13:38:47 +00:00
mattias
7a771b74e5 codetools: auto indenter: check first for exact match, then for any match, improved case block handling
git-svn-id: trunk@26482 -
2010-07-06 12:24:30 +00:00
mattias
82ca00f5f5 codetools: debugging
git-svn-id: trunk@26473 -
2010-07-05 16:18:26 +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
ef4fa43915 IDE: identifier completion: add := even if there is a semicolon at end
git-svn-id: trunk@26470 -
2010-07-05 12:35:42 +00:00
mattias
f9840ae34a IDE: when changing build IDE extra options, invalidate macros, bug #16844
git-svn-id: trunk@26467 -
2010-07-05 07:41:47 +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
6bbf89bd59 codetools: fixed rename identifier
git-svn-id: trunk@26459 -
2010-07-04 12:51:33 +00:00
mattias
421757e81f codetools: fixed rename identifier
git-svn-id: trunk@26458 -
2010-07-04 12:48:49 +00:00
mattias
1970e9cd23 codetools: auto indenter: insert procedure
git-svn-id: trunk@26456 -
2010-07-04 10:16:09 +00:00
mattias
14c0ca0b26 codetools: FindDanglingComponentEvents: check sub persistents in properties, bug #16831
git-svn-id: trunk@26455 -
2010-07-04 09:10:59 +00:00
mattias
97ae6679ec codetools: identifier completion: request semicolon even for statement starts
git-svn-id: trunk@26454 -
2010-07-04 07:36:30 +00:00
mattias
1751469cc8 codetools: completeblock: ignore open brackets on semicolon
git-svn-id: trunk@26453 -
2010-07-04 07:29:19 +00:00
mattias
e454ee7c16 codetools: completeblock: begin ;, bug #16836
git-svn-id: trunk@26452 -
2010-07-04 07:23:42 +00:00
mattias
09c1e1892f codetools: find references: limit scope for local variables, bug #16826
git-svn-id: trunk@26436 -
2010-07-03 08:09:07 +00:00
mattias
946f34ba8f codetools: find references: fixed error handling
git-svn-id: trunk@26434 -
2010-07-02 23:11:47 +00:00
mattias
4d65ff6a5d codetools: search for ctnIndentifier with unit prefixes, bug #11577
git-svn-id: trunk@26424 -
2010-07-02 19:59:54 +00:00
mattias
e03811d82e codetools: clean up
git-svn-id: trunk@26423 -
2010-07-02 19:43:27 +00:00
mattias
75f8643d7d codetools: parsing class inheritance with error position on unexpected token, bug #8093
git-svn-id: trunk@26422 -
2010-07-02 19:28:11 +00:00
mattias
2a0f2fb91f codetools: updated Makefile
git-svn-id: trunk@26401 -
2010-07-01 23:38:23 +00:00
mattias
7655eb7144 codetools: fixed ExtractCodeFromMakefile
git-svn-id: trunk@26399 -
2010-07-01 23:29:06 +00:00
mattias
ddca91c04b codetools: auto indenter: fixed endless loop, bug #16822
git-svn-id: trunk@26386 -
2010-07-01 11:37:03 +00:00
mattias
846ae78bbe codetools: updated example
git-svn-id: trunk@26382 -
2010-07-01 09:49:24 +00:00
maxim
9948041f1d regenerated translations; updated Russian translation
git-svn-id: trunk@26373 -
2010-06-30 21:27:16 +00:00
mattias
78b2105e0c codetools: FindIdentifierInUsesSection raise error after checking others
git-svn-id: trunk@26342 -
2010-06-30 07:38:02 +00:00
mattias
fa33562c9b codetools: CheckWholeUnitParsed: clear ignore error position
git-svn-id: trunk@26337 -
2010-06-30 04:59:12 +00:00
mattias
63fb9e4fd8 codetools: added ChangeStamp for all boss files
git-svn-id: trunk@26334 -
2010-06-30 04:44:00 +00:00
mattias
c2313cc163 codetools: added debugging
git-svn-id: trunk@26331 -
2010-06-29 17:53:04 +00:00
mattias
8cbbc108e0 codetools: class completion: class properties, bug #16812
git-svn-id: trunk@26330 -
2010-06-29 17:04:36 +00:00
mattias
2fae5d61df codetools: identifier completion: property keywords
git-svn-id: trunk@26303 -
2010-06-27 18:30:31 +00:00
mattias
9df7b33b05 codetools: identifier completion: added class keywords property etc at start of variable
git-svn-id: trunk@26301 -
2010-06-27 17:41:29 +00:00
mattias
dee92243f1 codetools: expreval: support for defined(#var)
git-svn-id: trunk@26296 -
2010-06-27 16:49:58 +00:00
mattias
d0d753564d IDE: define template use default flag
git-svn-id: trunk@26286 -
2010-06-24 19:19:34 +00:00
mattias
4abd567ce9 IDE: started fallback define templates
git-svn-id: trunk@26281 -
2010-06-24 15:47:28 +00:00
mattias
c94fd8c234 codetools: fixed find identififier references corresponding proc node
git-svn-id: trunk@26248 -
2010-06-22 07:01:12 +00:00
mattias
687ee0e749 anchordocking: restore constraints for custom dock sites
git-svn-id: trunk@26247 -
2010-06-22 06:45:42 +00:00
mattias
5b07f80b00 IDE: lazcontrols: added codetools values, create dummy package if lpk not found, package link, Makefile
git-svn-id: trunk@26245 -
2010-06-21 22:50:36 +00:00
mattias
234a5b2de1 codetools: find main declaration: find corresponding method parameter, bug #16398
git-svn-id: trunk@26223 -
2010-06-21 09:04:50 +00:00
mattias
c36728ab23 codetools: added modeswitch objectivec2
git-svn-id: trunk@26221 -
2010-06-21 07:01:57 +00:00
mattias
02207605d0 codetools: AddPublishedVariable: fixed check if var exists
git-svn-id: trunk@26210 -
2010-06-20 14:56:13 +00:00
mattias
cde3a2dc45 codetools: clean up
git-svn-id: trunk@26154 -
2010-06-16 22:34:05 +00:00
mattias
ed39d1d953 codetools: comment
git-svn-id: trunk@26131 -
2010-06-15 13:26:22 +00:00
mattias
2a0aad5e01 codetools: GetStringConstAsFormatString treat " as normal character
git-svn-id: trunk@26036 -
2010-06-11 07:16:41 +00:00
mattias
a0f0155c4a codetools: lcl defines split for gtk2
git-svn-id: trunk@26028 -
2010-06-10 15:56:51 +00:00
mattias
f4e38dd872 IDE: identifier completion: do not auto add assignment operator for array types
git-svn-id: trunk@25960 -
2010-06-07 08:07:25 +00:00
mattias
886f997841 codetools: find identifier references: limit scope
git-svn-id: trunk@25959 -
2010-06-06 22:23:44 +00:00
mattias
5aed4cd577 codetools: fixed TPascalReaderTool.MoveCursorToPropType not raising exception
git-svn-id: trunk@25905 -
2010-06-04 22:09:11 +00:00
mattias
a15b25d274 codetools: CheckLFM: check types even if parent types was not found
git-svn-id: trunk@25847 -
2010-06-02 19:20:22 +00:00
mattias
8ab26fb242 xmlcfg: fixed reading values of root node
git-svn-id: trunk@25844 -
2010-06-02 17:26:00 +00:00
marc
c334353214 * Updated Lithuanian translation by Valdas Jankūnas
git-svn-id: trunk@25825 -
2010-06-01 22:45:09 +00:00
mattias
d23bee7225 xmlcfg: invalidate path cache on deleting nodes
git-svn-id: trunk@25819 -
2010-06-01 19:34:24 +00:00
mattias
9e6de7a287 xmlcfg: fixed DeletePath
git-svn-id: trunk@25817 -
2010-06-01 17:14:55 +00:00
mattias
2d71a18201 codetools: fixed overflow
git-svn-id: trunk@25779 -
2010-05-30 18:02:50 +00:00
mattias
525e8f2516 LCL: renamed addhandler parameter AsLast to AsFirst, because this is more intuitive
git-svn-id: trunk@25768 -
2010-05-30 13:59:44 +00:00
mattias
d5d6dd3fb4 codetools: accelerated linkscanner
git-svn-id: trunk@25742 -
2010-05-28 23:34:08 +00:00
mattias
8d37056ee1 codetools: accelerated linkscanner
git-svn-id: trunk@25741 -
2010-05-28 23:19:43 +00:00
mattias
e2538d01bc codetools: removed cafBegin
git-svn-id: trunk@25737 -
2010-05-28 18:47:50 +00:00
mattias
5aeebfa0f3 codetools: accelerated TCustomCodeTool.ReadNextAtom
git-svn-id: trunk@25736 -
2010-05-28 18:35:34 +00:00
mattias
c5e9008159 codetools: accelerated TCustomCodeTool.ReadNextAtom
git-svn-id: trunk@25735 -
2010-05-28 18:23:02 +00:00
mattias
c620d9cf20 codetools: optimized TLinkScanner.ReadNextToken
git-svn-id: trunk@25734 -
2010-05-28 18:12:02 +00:00
mattias
6ddd7b8a04 codetools: optimized TLinkScanner.ReadNextToken
git-svn-id: trunk@25733 -
2010-05-28 17:59:00 +00:00
mattias
9e4991ff9f codetools: optimized TLinkScanner.SkipComment
git-svn-id: trunk@25731 -
2010-05-28 17:40:11 +00:00
mattias
3992b33b89 codetools: accelerated TLinkScanner.SkipComment
git-svn-id: trunk@25730 -
2010-05-28 17:12:04 +00:00
mattias
9a8dce2b4e codetools: accelerated TCodeCache.SaveIncludeLinksDataToList
git-svn-id: trunk@25689 -
2010-05-27 13:30:02 +00:00
mattias
5c3930c99d codetools: saving includelinks compressed
git-svn-id: trunk@25688 -
2010-05-27 13:08:11 +00:00
mattias
ca21c39ff3 codetools: indenter: added for, for do
git-svn-id: trunk@25683 -
2010-05-27 09:40:15 +00:00
mattias
f6f1568eab codetools: include links: use date
git-svn-id: trunk@25682 -
2010-05-27 08:15:16 +00:00
mattias
e05038a12d codetools: do not load old include links
git-svn-id: trunk@25681 -
2010-05-27 08:02:59 +00:00
mattias
07d10376f3 codetools: clean up
git-svn-id: trunk@25674 -
2010-05-26 22:35:20 +00:00
mattias
9590345c0c codetools: accelerated TSourceLog.BuildLineRanges
git-svn-id: trunk@25670 -
2010-05-26 22:11:33 +00:00
mattias
5fbd79e843 added TXMLConfig.HasChildPaths
git-svn-id: trunk@25650 -
2010-05-25 23:06:45 +00:00
mattias
bc526dfe8e TXMLConfig: implemented path cache
git-svn-id: trunk@25649 -
2010-05-25 23:01:51 +00:00
mattias
bb55ccecbd IDE: started upgrade of xml units
git-svn-id: trunk@25647 -
2010-05-25 20:37:53 +00:00
mattias
ddb29579bd codetools: parsing enum types with deprecated, bug #16544
git-svn-id: trunk@25600 -
2010-05-24 09:48:35 +00:00
mattias
331b05a147 IDE: started block completion on char
git-svn-id: trunk@25556 -
2010-05-20 21:44:03 +00:00
mattias
7029a5ebf8 IDE: codecontext hints: added ranged array type
git-svn-id: trunk@25533 -
2010-05-20 10:13:19 +00:00
mattias
0a5e197f49 IDE: codecontext: added string[]
git-svn-id: trunk@25528 -
2010-05-20 09:04:13 +00:00
mattias
0e3f868fb4 codetools: fixed FindLineEndOrCodeInFrontOfPosition to return the start of the line end, bug #16519
git-svn-id: trunk@25526 -
2010-05-20 08:03:53 +00:00
mattias
eaa1ff2fba IDE: added quickfix for note local variable not used, remove
git-svn-id: trunk@25498 -
2010-05-18 14:45:02 +00:00
mattias
01193ff9e0 codetools: GetValuesOfCaseVariable: resolve function results, needed by macro ofall
git-svn-id: trunk@25467 -
2010-05-16 15:43:35 +00:00
mattias
eccc2cda0f codetools: FindExprTypeAsString for function results
git-svn-id: trunk@25454 -
2010-05-16 10:39:22 +00:00
mattias
65f048b55b codetools: added TFPCDefinesCache
git-svn-id: trunk@25386 -
2010-05-13 21:34:07 +00:00
mattias
7fe1c5270e codetools: check if fpc cfg needs update
git-svn-id: trunk@25383 -
2010-05-13 18:59:00 +00:00
mattias
65ea6e89fd xml reader: fixed compilation
git-svn-id: trunk@25371 -
2010-05-13 15:56:32 +00:00
mattias
d9273b1f94 codetools: fixed reading config
git-svn-id: trunk@25343 -
2010-05-12 20:01:42 +00:00
mattias
7d34ac4326 added updated xmlreader/writer units
git-svn-id: trunk@25342 -
2010-05-12 19:50:23 +00:00
mattias
e5a74ccd2b codetools: reduced warnings
git-svn-id: trunk@25340 -
2010-05-12 19:38:45 +00:00
mattias
39c8ccd392 codetools: load/save fpc config and sources
git-svn-id: trunk@25338 -
2010-05-12 16:56:10 +00:00
mattias
dc88662419 codetools: load/save fpc sources
git-svn-id: trunk@25335 -
2010-05-12 16:31:25 +00:00
mattias
5dbb743c2f codetools: load/save fpc configs
git-svn-id: trunk@25333 -
2010-05-12 15:49:48 +00:00
martin
65712f8d8d SourceLog, send only one notification, if changed
git-svn-id: trunk@25284 -
2010-05-09 19:08:02 +00:00
mattias
4809be32c6 codetools: fixed FindCOdeOrLineEndInFrontOf for bracket close, bug #16419
git-svn-id: trunk@25238 -
2010-05-07 11:04:50 +00:00
mattias
5355942e1a codetools: cache for fpc listing
git-svn-id: trunk@25223 -
2010-05-05 18:59:20 +00:00
mattias
da949d64ae IDE: codetools: load/save fpc source listing
git-svn-id: trunk@25221 -
2010-05-05 17:18:55 +00:00
mattias
3bb94e2091 codetools: parsing target compiler
git-svn-id: trunk@25216 -
2010-05-05 13:29:35 +00:00
mattias
e6e762d899 codetools: reading unit modifier library, experimental, deprecated
git-svn-id: trunk@25211 -
2010-05-05 11:32:46 +00:00
mattias
37135e517a codetools: reduced debugging
git-svn-id: trunk@25209 -
2010-05-05 10:43:18 +00:00
mattias
ff8ec805a1 codetools: storing tried fpc cfgs
git-svn-id: trunk@25208 -
2010-05-05 10:40:05 +00:00
mattias
9361e5a7ae IDE: fixed change file line ending
git-svn-id: trunk@25195 -
2010-05-04 20:58:31 +00:00
mattias
9968ec7168 LCL: TTreeView: added OnAddition
git-svn-id: trunk@25192 -
2010-05-04 20:20:13 +00:00
mattias
24013e71ef codetools: fixed crash
git-svn-id: trunk@25191 -
2010-05-04 19:58:17 +00:00
mattias
cf55952b42 removed OldAutoSize
git-svn-id: trunk@25190 -
2010-05-04 19:16:18 +00:00
mattias
03a54bdb36 codetools: identifier completion: add system units
git-svn-id: trunk@25188 -
2010-05-04 18:17:52 +00:00
mattias
1a15552418 codetools: started save/load fpc target cache
git-svn-id: trunk@25187 -
2010-05-04 17:52:17 +00:00
mattias
bc5304c425 codetools: started load/save fpc source file names
git-svn-id: trunk@25172 -
2010-05-04 09:21:09 +00:00
mattias
083a214ec4 codetools: started caching fpc defines
git-svn-id: trunk@25129 -
2010-05-02 10:23:21 +00:00
maxim
472e074354 Portuguese translation updates and improvements from Marcelo B Paula, bug #16384
git-svn-id: trunk@25118 -
2010-05-01 21:38:18 +00:00
mattias
f6dfa6e457 codetools: function to report fpc source duplicates and missing units
git-svn-id: trunk@25117 -
2010-05-01 19:40:35 +00:00
mattias
872f2090ec codetools: fixed FindLineEndOrCodeInFrontOfPosition
git-svn-id: trunk@25113 -
2010-05-01 18:49:16 +00:00
mattias
9a54275b4e codetools: started fpc source checking
git-svn-id: trunk@25112 -
2010-05-01 18:27:38 +00:00
mattias
b226bae7a4 codetools: debugging
git-svn-id: trunk@25111 -
2010-05-01 18:09:10 +00:00
mattias
63fc880084 codetools: comment
git-svn-id: trunk@25109 -
2010-05-01 17:53:11 +00:00
mattias
a846877b84 codetools: adjust fpc source rules for httpd
git-svn-id: trunk@25108 -
2010-05-01 17:39:24 +00:00
mattias
6668b94759 codetools: parsing var a:b; external 'lib' name 'var'
git-svn-id: trunk@25081 -
2010-04-30 15:33:56 +00:00
mattias
798bfa1b72 IDE: using normal bounds or restore
git-svn-id: trunk@25077 -
2010-04-30 07:15:25 +00:00
mattias
c766ccbcaa codetools: fpc source units: return list of conflicts
git-svn-id: trunk@25076 -
2010-04-30 06:49:36 +00:00
mattias
e3d0dab672 codetools: fpc sources: simplified fpc source scores
git-svn-id: trunk@25074 -
2010-04-29 21:24:13 +00:00
mattias
2dcf65e139 codetools: fpc sources: fixed fpc source score
git-svn-id: trunk@25073 -
2010-04-29 21:21:07 +00:00
mattias
d9a053b0da codetools: fpc sources: ignore fpmake.pp units
git-svn-id: trunk@25072 -
2010-04-29 20:59:18 +00:00
mattias
1f5959b00a codetools: added more fpc source scores
git-svn-id: trunk@25071 -
2010-04-29 20:43:32 +00:00
mattias
06f583ae49 codetools: using fpc source rules
git-svn-id: trunk@25064 -
2010-04-29 09:00:49 +00:00
mattias
7787ab48a2 codetools: started reading fpc source rules
git-svn-id: trunk@25050 -
2010-04-28 23:33:34 +00:00
mattias
8214147870 codetools: started rule set for fpc sources
git-svn-id: trunk@25049 -
2010-04-28 23:04:45 +00:00
mattias
027fe93e96 codetools: started rule set for fpc sources
git-svn-id: trunk@25048 -
2010-04-28 23:04:32 +00:00
mattias
0e85fb36ac codetools: fpc source rules adding
git-svn-id: trunk@25041 -
2010-04-28 17:42:58 +00:00
mattias
914394bb12 codetools: started fpc source rules
git-svn-id: trunk@25040 -
2010-04-28 17:39:13 +00:00
mattias
0b64f42042 codetools: identifier completion: do not eat unit not found error when searching ancestors
git-svn-id: trunk@25035 -
2010-04-28 17:15:24 +00:00
mattias
c2e7239df1 codetools: started function to gather fpc source units
git-svn-id: trunk@25029 -
2010-04-28 12:34:51 +00:00
mattias
de960ec11d codetools: added function to find all fpc units
git-svn-id: trunk@25023 -
2010-04-28 08:44:31 +00:00
mattias
c48d57385a codetools: function to run fpc and get macros and unit search paths
git-svn-id: trunk@25018 -
2010-04-27 21:24:27 +00:00
mattias
ce48109571 codetools: function to run fpc and get info
git-svn-id: trunk@25016 -
2010-04-27 20:06:45 +00:00
mattias
2a85bf2409 codetools: added function to get fpc info
git-svn-id: trunk@25015 -
2010-04-27 20:01:27 +00:00
mattias
e9d4b90835 codetools: identifier completion: list used units
git-svn-id: trunk@24999 -
2010-04-27 10:14:49 +00:00
mattias
ca57327310 codetools: added parse function for fpc -i output
git-svn-id: trunk@24998 -
2010-04-27 09:42:59 +00:00
mattias
bdfcf514b1 codetools: started fpc info
git-svn-id: trunk@24995 -
2010-04-27 08:16:20 +00:00
mattias
3160329041 codetools: simple runtool
git-svn-id: trunk@24983 -
2010-04-26 21:53:07 +00:00
mattias
7a5869db43 codetools: removed TGatherFileProgress
git-svn-id: trunk@24970 -
2010-04-26 14:48:50 +00:00
mattias
e8430676fb codetools: added msg string to progres
git-svn-id: trunk@24969 -
2010-04-26 14:31:42 +00:00
mattias
8b4777eebd codetools: added GatherFiles
git-svn-id: trunk@24967 -
2010-04-26 13:40:25 +00:00
mattias
4db8628bf5 codetools: FilenameIsMatching: fixed asterisk in brackets
git-svn-id: trunk@24966 -
2010-04-26 13:33:30 +00:00
mattias
a66aa3f7cb codetools: FilenameIsMatching: fixed asterisk
git-svn-id: trunk@24965 -
2010-04-26 13:10:09 +00:00
mattias
b885edf472 codetools: FilenameIsMatching: fixed bracket at end of mask, FindPathInSearchPath: using CompareFilenames
git-svn-id: trunk@24964 -
2010-04-26 12:22:02 +00:00
maxim
641fe2bd69 Portuguese language updates by Marcelo B Paula (part of bug #16312)
git-svn-id: trunk@24803 -
2010-04-21 21:30:30 +00:00
mattias
908f074127 codetools: fixed range check in TIdentifierList.CompletePrefix
git-svn-id: trunk@24767 -
2010-04-20 22:56:31 +00:00
mattias
bce545c4f8 codetools: fixed FindLineEndOrCodeInFrontOfPosition stopping at empty lines
git-svn-id: trunk@24744 -
2010-04-20 16:24:36 +00:00
mattias
7e95a219cd codetools: added OS haiku, bug #16294
git-svn-id: trunk@24742 -
2010-04-20 14:45:12 +00:00
mattias
e47cce723c laz_xmlcfg: using CompareText
git-svn-id: trunk@24731 -
2010-04-20 10:32:41 +00:00
mattias
1ae2b9cefb codetools: class completion: update changed proc with semicolon, bug #16201
git-svn-id: trunk@24703 -
2010-04-18 18:26:20 +00:00
mattias
e0b2912421 codetools: defines for synedit SrcPath to IDEIntf for sub directories
git-svn-id: trunk@24702 -
2010-04-18 18:10:12 +00:00
mattias
5e7550c376 codetools: FindStartOfTerm: fixed if no token belongs to the variable
git-svn-id: trunk@24673 -
2010-04-17 16:14:52 +00:00
mattias
bd7b2381bc codetools: fixed uninitialized variable, bug #16268
git-svn-id: trunk@24669 -
2010-04-17 15:38:24 +00:00
mattias
5565573175 codetools: fixed parsing constant of type
git-svn-id: trunk@24668 -
2010-04-17 15:31:41 +00:00
mattias
b4e952229d codetools: fixed endless loop if source ends in constant of type
git-svn-id: trunk@24667 -
2010-04-17 15:29:26 +00:00
mattias
5dafb4b21e codetools: do not beautify identifiers in comment, bug #16209
git-svn-id: trunk@24664 -
2010-04-17 15:05:45 +00:00
mattias
fc1a088b05 translations: german: updates from Joerg Braun
git-svn-id: trunk@24660 -
2010-04-17 12:08:54 +00:00
maxim
2307ac43f0 Codetools: updated Russian translation
git-svn-id: trunk@24640 -
2010-04-15 23:30:07 +00:00
paul
585da14064 codetools: regenerate translations
git-svn-id: trunk@24637 -
2010-04-15 22:11:21 +00:00
paul
526fcbcc5f codetools: add support for class constructors and class destructors
git-svn-id: trunk@24630 -
2010-04-15 13:00:14 +00:00
mattias
35197f4b0d codetools: fpc units in packages/fcl* have higher priority
git-svn-id: trunk@24600 -
2010-04-12 14:29:36 +00:00
maxim
7927528a95 Russian translation: some more improvements
git-svn-id: trunk@24548 -
2010-04-09 22:55:20 +00:00
mattias
5fa2b18a5f codetools: TCodeBufXMLConfig: property KeepFileAttributes
git-svn-id: trunk@24504 -
2010-04-08 12:46:16 +00:00
mattias
7380a8de8d codetools: implemented TCodeBufXMLConfig
git-svn-id: trunk@24500 -
2010-04-08 12:30:26 +00:00
mattias
314c61457e codetools: FindStartOfAtom check if at start of string constant, bug #16203
git-svn-id: trunk@24446 -
2010-04-05 20:02:16 +00:00
maxim
9cdf3fa212 Codetools: fixed compilation with FPC < 2.5.1 (broken in rev. 24391)
git-svn-id: trunk@24392 -
2010-04-04 13:26:44 +00:00
mattias
468b3feea5 codetools: fixed compilation with fpc 2.5.1
git-svn-id: trunk@24391 -
2010-04-04 10:42:46 +00:00
mattias
cc85994222 codetools: when writing to an existing file: invalidate file cache only for that file
git-svn-id: trunk@24347 -
2010-04-01 12:04:21 +00:00
mattias
7906cc5720 codetools: using FileAgeCached
git-svn-id: trunk@24343 -
2010-04-01 11:34:11 +00:00
mattias
795893ae06 codetools: TCodeBuffer.FileDateOnDisk using cache
git-svn-id: trunk@24342 -
2010-04-01 11:32:26 +00:00
mattias
9b4acf11b6 codetools: TCodeBuffer.FileOnDiskNeedsUpdate using cache
git-svn-id: trunk@24341 -
2010-04-01 11:19:19 +00:00
mattias
674746ce0d codetools: TFindDeclarationTool.CheckDependsOnNodeCaches, check each tool only once, even if writelock is not activated
git-svn-id: trunk@24287 -
2010-03-29 13:10:26 +00:00
mattias
c5bbdc8b0e codetools: reduced debugging
git-svn-id: trunk@24272 -
2010-03-29 08:02:54 +00:00
mattias
eff858c038 codetools: added consistency check for TFindDeclarationTool.AddToolDependency
git-svn-id: trunk@24271 -
2010-03-29 08:00:46 +00:00
mattias
a0fc2ffad5 codetools: fixed AddListToTreeOfPCodeXYPosition freeing old position, bug #15942
git-svn-id: trunk@24260 -
2010-03-27 23:38:32 +00:00
mattias
6bcc6465df codetools: FindLineEndOrCodeInFrontOfPosition do not skip semicolon by default, bug #16123
git-svn-id: trunk@24236 -
2010-03-27 08:08:54 +00:00
mattias
a7d3b7998d codetools: implemented enumtype. expression
git-svn-id: trunk@24229 -
2010-03-26 19:28:06 +00:00
mattias
86c263f657 codetools: FindLineEndOrCodeInFrontOfPosition added scanning for string constants, bug #16072
git-svn-id: trunk@24225 -
2010-03-26 15:06:54 +00:00
mattias
7e820e2a53 codetools: fixed adding semicolon to procedure heads, bug #16062
git-svn-id: trunk@24221 -
2010-03-26 13:52:12 +00:00
mattias
d3f232387d codetools: changed RetypeClassVariables parameter to tree
git-svn-id: trunk@24219 -
2010-03-26 12:24:47 +00:00
martin
4e55c6562f Codetools: Better support for hint directives after properties
git-svn-id: trunk@24218 -
2010-03-26 12:00:21 +00:00
mattias
a74bc652d2 codetools: added RetypeClassVariables
git-svn-id: trunk@24215 -
2010-03-25 21:16:32 +00:00
mattias
b5f152ec80 translations: german: updates from Joerg Braun
git-svn-id: trunk@24119 -
2010-03-20 19:34:27 +00:00
mattias
fc19399e97 codetools: added TDefinePool.GetFPCVerFromFPCTemplate
git-svn-id: trunk@24034 -
2010-03-16 13:29:29 +00:00
mattias
540dd5ad02 codetools: clean up
git-svn-id: trunk@23913 -
2010-03-10 09:59:20 +00:00
mattias
f778e14f09 codetools: improved error message, when unit of include file is not known
git-svn-id: trunk@23906 -
2010-03-09 22:28:30 +00:00
maxim
8e10349b20 updated and improved Russian translation, readded LazResExplorer Russian translation.
git-svn-id: trunk@23880 -
2010-03-08 17:38:37 +00:00
mattias
3129fa2571 codetools: fixed using SetPropertyVariableName
git-svn-id: trunk@23875 -
2010-03-08 11:19:34 +00:00
mattias
d131d2469d codetools: fixed line indenter unindent for next token
git-svn-id: trunk@23830 -
2010-03-03 16:24:54 +00:00
mattias
5141759d58 codetools: line indenter: fixed endless loop, bug #15533
git-svn-id: trunk@23828 -
2010-03-03 10:48:44 +00:00
mattias
40ef364f5d codetools: identifier completion: True, False
git-svn-id: trunk@23822 -
2010-03-02 10:02:42 +00:00
paul
77c5c6b95a codetools: support more modeswitch values
git-svn-id: trunk@23821 -
2010-03-02 03:50:32 +00:00
mattias
6f4027077c codetools: BuildLineRanges one pass
git-svn-id: trunk@23819 -
2010-03-02 01:23:32 +00:00
mattias
0472d5aed6 codetools: resolve operand @identifier directly
git-svn-id: trunk@23816 -
2010-03-01 23:49:57 +00:00
mattias
cee2c094a7 codetools: fixed showing illegal qualifier
git-svn-id: trunk@23813 -
2010-03-01 22:40:55 +00:00
mattias
153ddcdffa codetools: fixed parsing library without interface and implementation
git-svn-id: trunk@23791 -
2010-02-25 15:39:39 +00:00
mattias
26d4a856a5 codetools: reduced debugging
git-svn-id: trunk@23788 -
2010-02-25 10:32:20 +00:00
mattias
523fc39684 IDE: delphi project converter: fixed changing uses section
git-svn-id: trunk@23781 -
2010-02-24 21:57:50 +00:00
mattias
1c3f06dbb0 codetools: class interface completion: fixed searching existing procs, bug #15823
git-svn-id: trunk@23768 -
2010-02-23 19:42:54 +00:00
mattias
34bcf2c445 codetools: fixed ConvertDelphiToLazarusSource reparse after adding mode delphi
git-svn-id: trunk@23767 -
2010-02-23 12:01:42 +00:00
mattias
0d857ce551 codetools: implemented simple macro parsing
git-svn-id: trunk@23694 -
2010-02-11 18:19:35 +00:00
mattias
db764f04ed codetools: spotting macros
git-svn-id: trunk@23691 -
2010-02-11 11:00:01 +00:00
mattias
94d8b4b2b7 codetools: macro directive: storing values
git-svn-id: trunk@23690 -
2010-02-11 10:51:44 +00:00
mattias
aa19597663 codetools: macro directive: started storing macro sources
git-svn-id: trunk@23689 -
2010-02-11 10:35:38 +00:00
mattias
2f83b48d84 codetools: macro directive: setting macros on/off
git-svn-id: trunk@23688 -
2010-02-11 10:11:45 +00:00
mattias
885e19158d codetools: fixed parsing empty implementation section
git-svn-id: trunk@23673 -
2010-02-09 19:32:25 +00:00
mattias
c368ff5ba7 codetools: improved debugging
git-svn-id: trunk@23672 -
2010-02-09 19:20:45 +00:00
mattias
9b0d596224 lcl+codetools: CreateRelativePath: support for double pathdelims
git-svn-id: trunk@23666 -
2010-02-09 13:36:20 +00:00
paul
e20b46d170 languages: update Russian translations by Maxim
git-svn-id: trunk@23665 -
2010-02-09 01:38:46 +00:00
mattias
0ca654e75d codetools: search in virtual directory first virtual units
git-svn-id: trunk@23652 -
2010-02-06 01:23:13 +00:00
mattias
d9170c2e4a codetools: started otheridentifiertree, removed TcodeTreeNode.GetRootNode use GetRoot instead
git-svn-id: trunk@23588 -
2010-01-29 09:06:32 +00:00
mattias
32cf1ff162 translations: portuguese: updates from Marcelo B Paula
git-svn-id: trunk@23543 -
2010-01-23 20:42:29 +00:00
mattias
462d545377 codetools: define templates for fcl-async
git-svn-id: trunk@23529 -
2010-01-22 12:10:45 +00:00
paul
040bb76815 ide, codetools, packager: use Classes.TGetStrProc instead of similar locally defined types by Alexander S. Klenin (issue #0015556)
git-svn-id: trunk@23514 -
2010-01-21 02:24:16 +00:00
mattias
48254f0c98 codetools: fixed error handling for invalid . operator
git-svn-id: trunk@23512 -
2010-01-20 23:12:24 +00:00
mattias
44fe02f669 codetools: fixed array operator []
git-svn-id: trunk@23511 -
2010-01-20 23:08:51 +00:00