Commit Graph

662 Commits

Author SHA1 Message Date
mattias
4be5c93609 IDE: fpdoc editor: create fpdoc files for fpc units
git-svn-id: trunk@34847 -
2012-01-21 17:23:50 +00:00
mattias
0d8546c33a codetools: fixed find references
git-svn-id: trunk@34842 -
2012-01-21 15:07:55 +00:00
mattias
edf146fe37 codetools: find identifier references: only search after uses section
git-svn-id: trunk@34833 -
2012-01-21 11:51:11 +00:00
mattias
8f6bddb835 codetools: find identifier references: fixed searching local identifiers
git-svn-id: trunk@34832 -
2012-01-21 11:39:20 +00:00
mattias
d5279b31a9 codetools: find declaration: fixed searching in default ancestor
git-svn-id: trunk@34797 -
2012-01-19 16:29:12 +00:00
mattias
0bb0793310 codetools: do not search default class ancestor if there is another class ancestor
git-svn-id: trunk@34777 -
2012-01-18 14:02:54 +00:00
mattias
bdd8d247fb codetools: fixed TLinkScanner.SourceName
git-svn-id: trunk@34776 -
2012-01-18 13:50:24 +00:00
mattias
c0a0f6ce67 codetools: searching hidden used units cmem for #usevalgrind, fpextres for FPC_HAS_WinLikeResources, iso7185 for mode iso, profile for #useprofiler, fpcylix,dynlibs for #usekylix, controller macro #controllerunit, modeswitch bojpas for mode delphi and objpas
git-svn-id: trunk@34775 -
2012-01-18 13:38:43 +00:00
mattias
ee53888381 codetools: fixed modeswitch
git-svn-id: trunk@34774 -
2012-01-18 12:53:18 +00:00
mattias
81d67bcdc6 codetools: checklfm: fixed searching types
git-svn-id: trunk@34768 -
2012-01-18 01:54:53 +00:00
juha
03d1306b86 Codetools & LazUtils: Replace const string arrays with RTTI value and WriteStr()
git-svn-id: trunk@34757 -
2012-01-15 23:50:39 +00:00
mattias
4d8500282c codetools: fixed resolving identifier backward in term
git-svn-id: trunk@34734 -
2012-01-14 16:00:11 +00:00
mattias
1c8d8b843e codetools: resolve sub identifier in type definition: search forward too
git-svn-id: trunk@34720 -
2012-01-12 23:12:01 +00:00
mattias
724765c335 codetools: param completion for @pointertype
git-svn-id: trunk@34714 -
2012-01-12 14:10:11 +00:00
mattias
eae537252c codetools: param completion: extend uses section
git-svn-id: trunk@34711 -
2012-01-11 15:37:19 +00:00
mattias
13f554a1f4 codetools: clean up unit not found code
git-svn-id: trunk@34677 -
2012-01-09 13:23:48 +00:00
mattias
f10bff7b73 codetools: findreferences: fixed searching interface when alias is declared there
git-svn-id: trunk@34618 -
2012-01-06 13:32:47 +00:00
mattias
9221f3df77 codetools: FindUnitFileInUsesSection: clean up
git-svn-id: trunk@34615 -
2012-01-06 11:49:59 +00:00
mattias
eff8ba3ed4 codetools: FindUnitFileInUsesSection: quick check with unit name
git-svn-id: trunk@34614 -
2012-01-06 11:45:10 +00:00
mattias
01a38c08c2 codetools: findreferences: check first if declaration unit is used
git-svn-id: trunk@34613 -
2012-01-06 11:35:27 +00:00
mattias
114db28e1d codetools: find references: end string constants at line end
git-svn-id: trunk@34612 -
2012-01-06 10:49:16 +00:00
mattias
8b271c0245 codetools: fixed searching default class ancestor
git-svn-id: trunk@34585 -
2012-01-04 22:56:59 +00:00
mattias
f8a838fe73 codetools: target jvm: default class ancestor is jlobject
git-svn-id: trunk@34564 -
2012-01-03 17:28:56 +00:00
mattias
ed7ffcbdab codetools: added TFindDeclarationTool.IsHiddenUsedUnit
git-svn-id: trunk@34198 -
2011-12-15 05:47:52 +00:00
mattias
14c6d767c7 codetools: readded check for unitname
git-svn-id: trunk@34096 -
2011-12-10 19:37:33 +00:00
juha
5fd93058b5 IDE & packager: add units to uses section only if needed. Issue #20844
git-svn-id: trunk@34093 -
2011-12-10 18:50:03 +00:00
mattias
c0b5148b09 codetools: FindEnumeratorOfClass using aliastype
git-svn-id: trunk@34089 -
2011-12-10 17:40:25 +00:00
juha
a1d1d88896 Codetools: Fix a problem with event handler generation caused by r33955 #ce5458acf2. Issue #20813
git-svn-id: trunk@33964 -
2011-12-04 23:25:46 +00:00
mattias
1ade9a4158 codetools: FindDeclarationNodeInInterface: using interface cache
git-svn-id: trunk@33936 -
2011-12-04 10:58:00 +00:00
mattias
e495ee3a4d codetools: clean up, nicer identifiers
git-svn-id: trunk@33476 -
2011-11-11 10:55:36 +00:00
mattias
f3798fc2dc codetools: TFindDeclarationTool.FindCodeToolForUsedUnit: ignore invalid UnitNameAtom
git-svn-id: trunk@33465 -
2011-11-10 19:52:07 +00:00
juha
8a0c538440 Codetools: add debug line in TFindDeclarationParams to indicate a potential memory leak.
git-svn-id: trunk@33431 -
2011-11-09 11:09:28 +00:00
mattias
722f1a1d1f codetools: TFindDeclarationTool.FindEnumeratorOfClass: fixed enumerator in other unit
git-svn-id: trunk@32823 -
2011-10-11 18:13:07 +00:00
mattias
3da6eb7633 codetools: ResolveRoundBracketOpen extractoperand at start
git-svn-id: trunk@32758 -
2011-10-07 15:07:05 +00:00
juha
c2bef94f98 Codetools: Add an assertion that reveals a problem causing issue #20202
git-svn-id: trunk@32736 -
2011-10-07 09:26:51 +00:00
mattias
131939d14e codetools: GetExpandedOperand: allow Result,Self in with-block
git-svn-id: trunk@32474 -
2011-09-23 15:52:26 +00:00
mattias
ae67ba05c7 codetools: fixed initial search flags for local var completion
git-svn-id: trunk@32467 -
2011-09-23 09:30:06 +00:00
mattias
e59acfda40 codetools: safety check
git-svn-id: trunk@32459 -
2011-09-22 20:57:28 +00:00
mattias
517f95cae4 codetools: GetExpandedOperand: simply copying [] content
git-svn-id: trunk@32426 -
2011-09-19 20:18:37 +00:00
mattias
bbf2217ed8 codetools: fixed context of FindTermTypeAsString, bug #20255
git-svn-id: trunk@32353 -
2011-09-15 15:22:45 +00:00
mattias
871b285d8f codetools: GetExpandedOperand: typecast
git-svn-id: trunk@32296 -
2011-09-11 20:57:31 +00:00
mattias
ddb174b1da codetools: workaround for GetExpandedOperand and With
git-svn-id: trunk@32281 -
2011-09-11 09:44:11 +00:00
mattias
921dd0404b codetools: started GetExpandedOperand
git-svn-id: trunk@32262 -
2011-09-10 18:21:13 +00:00
mattias
df52f97ad3 codetools: find all with candidates
git-svn-id: trunk@32221 -
2011-09-08 01:02:10 +00:00
mattias
9f20be8b62 codetools: clean up
git-svn-id: trunk@32126 -
2011-08-30 17:48:32 +00:00
mattias
57f884134f codetools: TFindDeclarationTool.FindUnitSource: dotted names
git-svn-id: trunk@32125 -
2011-08-30 17:47:41 +00:00
mattias
fb4c0b4a54 codetools: TFindDeclarationTool.FindUnitInUsesSection: dotted names
git-svn-id: trunk@32124 -
2011-08-30 17:38:17 +00:00
mattias
bfc8af0f07 codetools: TFindDeclarationTool.FindNameInUsesSection: dotted names
git-svn-id: trunk@32123 -
2011-08-30 17:34:12 +00:00
mattias
e509196a2b codetools: TFindDeclarationTool.FindDeclarationInUsesSection: dotted names
git-svn-id: trunk@32122 -
2011-08-30 17:28:11 +00:00
mattias
684ea95b51 codetools: deprecated GetUnitNameForUsesSection
git-svn-id: trunk@32108 -
2011-08-30 09:28:53 +00:00
mattias
76ed2c599f codetools: param specifier out only if modeswitch out is on
git-svn-id: trunk@32062 -
2011-08-26 11:38:37 +00:00
juha
6feb51b924 Codetools: improve code completion with generics. Issue #19118, patch from Anton
git-svn-id: trunk@32040 -
2011-08-24 19:23:03 +00:00
maxim
db322bd785 Codetools: improved localization
git-svn-id: trunk@32020 -
2011-08-20 17:17:01 +00:00
maxim
ab89769de4 Codetools: fixed typo in function name
git-svn-id: trunk@32019 -
2011-08-20 17:02:54 +00:00
juha
52a0ff3f37 CodeTools: improve generics support (also nested generics types). Issue #18373, patch from Anton
git-svn-id: trunk@32016 -
2011-08-20 07:07:32 +00:00
mattias
f5dd2491a8 codetools: fixed findtermofexpr for enumeration type
git-svn-id: trunk@31489 -
2011-07-01 12:59:40 +00:00
mattias
1fc6a30b76 codetools: local var completion: fixed search type of const set
git-svn-id: trunk@31248 -
2011-06-16 11:25:07 +00:00
mattias
ca83cd6512 codetools: find declaration: alias of property type
git-svn-id: trunk@31247 -
2011-06-16 11:14:42 +00:00
mattias
057f07d894 codetools: validate node caches on every BuildTree, not only when unit changed
git-svn-id: trunk@31218 -
2011-06-14 14:48:12 +00:00
mattias
a4edea9f79 codetools: undo use str
git-svn-id: trunk@31217 -
2011-06-14 13:23:05 +00:00
mattias
faef63fad1 codetools: clean up
git-svn-id: trunk@31210 -
2011-06-14 10:24:55 +00:00
mattias
eee0c925ff codetools: ancestor of dispinterface is IDispatch
git-svn-id: trunk@31169 -
2011-06-11 16:26:17 +00:00
mattias
94614e7872 codetools: find declaration: search in system units if program has no header
git-svn-id: trunk@30983 -
2011-05-31 07:48:52 +00:00
mattias
b0b0e73b4d codetools: fixed FindExprTypeAsString for ctnEnumIdentifier
git-svn-id: trunk@30963 -
2011-05-29 13:05:22 +00:00
mattias
e6b930f85f codetools: find declaration: TMyClass.Create.Member
git-svn-id: trunk@30922 -
2011-05-27 07:06:03 +00:00
mattias
a75a29091c codetools: find declaration: inherited;
git-svn-id: trunk@30920 -
2011-05-27 05:41:52 +00:00
mattias
4e3bb381e3 codetools: AddVariable: interface and implementation
git-svn-id: trunk@30898 -
2011-05-25 15:49:27 +00:00
mattias
52a0595c1a codetools: find declaration: fixed inherited
git-svn-id: trunk@30889 -
2011-05-24 19:33:28 +00:00
mattias
4b9216499c codetools: find declaration: fixed result of Result
git-svn-id: trunk@30887 -
2011-05-24 18:10:22 +00:00
mattias
e18cb57493 codetools: fixed TFindDeclarationTool.ConvertNodeToExpressionType ctnProperty
git-svn-id: trunk@30869 -
2011-05-23 13:47:48 +00:00
mattias
c948e3016f IDE: FindDeclarationOfIDEControl: search nested components
git-svn-id: trunk@30844 -
2011-05-21 23:40:31 +00:00
mattias
53866fee38 cody: declare var: with statement
git-svn-id: trunk@30841 -
2011-05-21 21:22:42 +00:00
mattias
f56deb1139 codetools: fixed crash
git-svn-id: trunk@30793 -
2011-05-18 10:42:15 +00:00
mattias
f99cfe3556 codetools: clean up
git-svn-id: trunk@30784 -
2011-05-17 12:47:25 +00:00
mattias
84ea3ef4f9 codetools: record case variable is now a ctnVarDefinition, bug #18368
git-svn-id: trunk@30781 -
2011-05-17 09:53:10 +00:00
mattias
620d81dfe3 codetools: FindTermTypeAsString: use alias
git-svn-id: trunk@30768 -
2011-05-16 14:51:35 +00:00
mattias
ead66ada80 codetools: ReadOperandAtCursor: support alias
git-svn-id: trunk@30767 -
2011-05-16 14:39:45 +00:00
mattias
a1778d544d codetools: TFindDeclarationTool.FindTermTypeAsString: using alias
git-svn-id: trunk@30759 -
2011-05-16 09:47:48 +00:00
mattias
23c34d4e8a codetools: fixed findbasetypenode alias endless loop
git-svn-id: trunk@30757 -
2011-05-16 06:57:13 +00:00
mattias
156372ea58 codetools: alias for FindBaseTypeOfNode
git-svn-id: trunk@30751 -
2011-05-15 23:18:33 +00:00
mattias
fa76ed282c codetools: fixed freeing the wrong params
git-svn-id: trunk@30749 -
2011-05-15 21:14:31 +00:00
mattias
2cbc2f4f5a codetools: added single step cache for base types
git-svn-id: trunk@30748 -
2011-05-15 18:42:09 +00:00
mattias
db0352889c cody: try except
git-svn-id: trunk@30738 -
2011-05-15 10:08:12 +00:00
mattias
83bf96457b codetools: find declaration: fixed constructor result type, fixed param compatiblity for convertable
git-svn-id: trunk@30737 -
2011-05-15 07:56:50 +00:00
mattias
5ac8c9c243 codetools: fixed evaluating boolean and boolean
git-svn-id: trunk@30734 -
2011-05-14 21:56:05 +00:00
mattias
02459ee3e2 codetools: find declaration on result: jump via result type node
git-svn-id: trunk@30714 -
2011-05-13 07:43:21 +00:00
mattias
84bb0408ff codetools: find declaration of Result: jump to result variable/type
git-svn-id: trunk@30701 -
2011-05-12 19:07:56 +00:00
mattias
2e13294077 codetools: modeswitch result-
git-svn-id: trunk@30700 -
2011-05-12 19:02:39 +00:00
mattias
557c962f0c codetools: changed CompielrModeSwitch to set
git-svn-id: trunk@30698 -
2011-05-12 18:46:00 +00:00
mattias
fbca65edab codetools: find declaration: fixed search Result
git-svn-id: trunk@30697 -
2011-05-12 17:19:58 +00:00
mattias
27c0fdd062 codetools: FindSMartHint: replace comments to single space
git-svn-id: trunk@30696 -
2011-05-12 16:40:23 +00:00
mattias
934a90187a codetools: RemoveWithBlock: unindent
git-svn-id: trunk@30614 -
2011-05-07 23:10:20 +00:00
mattias
0f7d9b552c codetools: fixed calculating binary operators, bug #17759
git-svn-id: trunk@30601 -
2011-05-07 16:26:52 +00:00
mattias
e39bb2d05b codetools: reading operand: old tp style character constants, bug #19260
git-svn-id: trunk@30600 -
2011-05-07 16:19:57 +00:00
mattias
be30cfeca4 codetools: local variable assignment completion: parsing string constant with old TP style character constants, bug #19260
git-svn-id: trunk@30559 -
2011-05-05 20:08:42 +00:00
mattias
7a98756abb codetools: added cache to FindReferences
git-svn-id: trunk@30547 -
2011-05-04 13:40:35 +00:00
mattias
dd0fc4c825 IDE: codehelp: improved debugging
git-svn-id: trunk@30266 -
2011-04-11 21:25:55 +00:00
mattias
67b58b4044 codetools: fixed rescan of modified initialization section, fixed check if a virtual file has changed on disl
git-svn-id: trunk@30177 -
2011-04-04 10:55:39 +00:00
mattias
2af49962ac codetools: parse programs without program keyword
git-svn-id: trunk@30035 -
2011-03-27 14:19:18 +00:00
mattias
e58c0558d2 codetools: added PublishedMethodExists, GetCompatiblePublishedMethods without typedata
git-svn-id: trunk@29956 -
2011-03-21 09:56:35 +00:00