Commit Graph

662 Commits

Author SHA1 Message Date
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
mattias
f00e8050b6 codetools: clean up
git-svn-id: trunk@29912 -
2011-03-19 16:24:08 +00:00
juha
f38190794b Formatting: joined lines where only ');' was split to its own line, in procedure defs.
git-svn-id: trunk@29871 -
2011-03-16 16:52:28 +00:00
mattias
160a97f228 codetools: changed TDefinePool.ChangeStep to integer
git-svn-id: trunk@29800 -
2011-03-11 22:44:22 +00:00
mattias
517bd4b789 codetools: use global changesteps for quick updateneeded checks
git-svn-id: trunk@29787 -
2011-03-10 22:22:47 +00:00
mattias
77566ccf65 codetools: implemented scanning units in smaller chunks and successive scanning without deleting nodes
git-svn-id: trunk@29769 -
2011-03-09 20:52:44 +00:00
mattias
cbc1fddf56 codetools: cextended
git-svn-id: trunk@29731 -
2011-03-05 09:53:59 +00:00
mattias
c66163d8f3 codetools: allow anoynymous records, bug #18838
git-svn-id: trunk@29696 -
2011-03-01 06:19:55 +00:00
mattias
551d4b11f1 codetools: improved smart hints for types, patch #18777
git-svn-id: trunk@29603 -
2011-02-18 20:10:34 +00:00
mattias
ad16dee4b9 codetools: searching in multiple class ancestors, bug #18733
git-svn-id: trunk@29465 -
2011-02-11 11:14:41 +00:00
mattias
b3a8dd03b1 fixed typos: childs
git-svn-id: trunk@29440 -
2011-02-10 09:37:16 +00:00
mattias
602515e7d2 codetools: identifier completion: fixed search in type of var/const
git-svn-id: trunk@29418 -
2011-02-07 22:55:37 +00:00
mattias
6495ad0a79 codetools: find declaration: search in type of constant/variable
git-svn-id: trunk@29415 -
2011-02-07 14:42:26 +00:00
mattias
0c415f0a1d codetools: find declaration: started search in type of var/const
git-svn-id: trunk@29407 -
2011-02-07 10:05:58 +00:00
mattias
8cd980cb5b codetools: fixed simple init
git-svn-id: trunk@29402 -
2011-02-06 11:07:47 +00:00
mattias
3943d23f9b codetools: started nested classes, replaced ctnClassType with ctnTypeSection, ctnClassConst with ctnConstSection, class type,const,var sections are now childs of visibility sections
git-svn-id: trunk@29390 -
2011-02-05 10:09:22 +00:00
mattias
05be735961 codetools: parsing advanced records
git-svn-id: trunk@29359 -
2011-02-03 20:38:14 +00:00
mattias
19c0b3a5a2 codetools: always parse class nodes
git-svn-id: trunk@29336 -
2011-02-02 19:33:04 +00:00
mattias
d33c7a2a37 codetools: BuildInterfaceIdentifierCache: check if no source code, bug #18586
git-svn-id: trunk@29163 -
2011-01-23 10:23:10 +00:00
mattias
fc610a8a98 codetools: findreferences: fixed searching procs 18153
git-svn-id: trunk@28619 -
2010-12-04 16:58:00 +00:00
paul
188361e605 codetools: support new class/generics syntax. like the next:
{ 
 TFoo = class
  const
    Value = 5;
  type
    TBar = integer;
  var
    FSomeField: Integer;
    procedure Dosomething;
  end;  
}

git-svn-id: trunk@28513 -
2010-11-27 18:25:25 +00:00
mattias
503cc8dcad codetools: fixed FindDeclaration if cursor beyond scanned code, bug #17639
git-svn-id: trunk@28325 -
2010-11-18 18:49:20 +00:00
mattias
1805cdf4fb codetools: FindStartOfTerm: check for invalid context
git-svn-id: trunk@28195 -
2010-11-13 00:13:23 +00:00
vincents
56646eb28c removed support for compiled units in .ppw files, this is obsolete after fpc 1.0 (issue #16067)
git-svn-id: trunk@28053 -
2010-11-03 09:48:49 +00:00
mattias
5f8d11d5c2 codetools: CompleteLocalVariableAsParameter: fixed skipping sub context
git-svn-id: trunk@27977 -
2010-10-30 14:10:21 +00:00
mattias
ef525bda22 codetools: fixed FindStartOFindStartOfAtomfAtom if at start of string constant
git-svn-id: trunk@27688 -
2010-10-13 22:11:06 +00:00
mattias
6ebaacbba1 codetools: clean up and debugging
git-svn-id: trunk@27498 -
2010-09-28 10:51:08 +00:00
mattias
bb7cd19447 codetools: fixed type of low(array[enum])
git-svn-id: trunk@27064 -
2010-08-11 06:21:19 +00:00
mattias
e96aee5bab codetools: reduced debugging
git-svn-id: trunk@26985 -
2010-08-03 07:44:18 +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
c39d7423cb codetools: fixed TFindDeclarationTool.FindExpressionResultType.ExecuteStack precedence
git-svn-id: trunk@26942 -
2010-07-31 18:59:13 +00:00
mattias
4ab9dcd97e codetools: fixed FindExpressionTypeOfTerm resolve function result
git-svn-id: trunk@26934 -
2010-07-31 15:32:52 +00:00
mattias
42321c5664 codetools: FindSmartHint: show hint for declaration
git-svn-id: trunk@26882 -
2010-07-28 22:48:35 +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
d69e334eb4 codetools: FindBaseType: resolve optional function result after caching result
git-svn-id: trunk@26725 -
2010-07-18 11:22:40 +00:00
mattias
ab251fbfb9 codetools: TCodeTreeNode.Clear: clear cache
git-svn-id: trunk@26716 -
2010-07-17 12:58:24 +00:00
mattias
7728cf1e4e codetools: started unitsets
git-svn-id: trunk@26656 -
2010-07-14 23:01:12 +00:00
mattias
56bf0c43a2 codetools: FindDeclarationOfPropertyPath: enum of set
git-svn-id: trunk@26585 -
2010-07-10 20:27:30 +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
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
14c0ca0b26 codetools: FindDanglingComponentEvents: check sub persistents in properties, bug #16831
git-svn-id: trunk@26455 -
2010-07-04 09:10:59 +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
78b2105e0c codetools: FindIdentifierInUsesSection raise error after checking others
git-svn-id: trunk@26342 -
2010-06-30 07:38:02 +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
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
cde3a2dc45 codetools: clean up
git-svn-id: trunk@26154 -
2010-06-16 22:34:05 +00:00
mattias
886f997841 codetools: find identifier references: limit scope
git-svn-id: trunk@25959 -
2010-06-06 22:23:44 +00:00
mattias
0a5e197f49 IDE: codecontext: added string[]
git-svn-id: trunk@25528 -
2010-05-20 09:04:13 +00:00
mattias
eccc2cda0f codetools: FindExprTypeAsString for function results
git-svn-id: trunk@25454 -
2010-05-16 10:39:22 +00:00
mattias
b226bae7a4 codetools: debugging
git-svn-id: trunk@25111 -
2010-05-01 18:09:10 +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
e9d4b90835 codetools: identifier completion: list used units
git-svn-id: trunk@24999 -
2010-04-27 10:14:49 +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
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
a7d3b7998d codetools: implemented enumtype. expression
git-svn-id: trunk@24229 -
2010-03-26 19:28:06 +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
0ca654e75d codetools: search in virtual directory first virtual units
git-svn-id: trunk@23652 -
2010-02-06 01:23:13 +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
mattias
4bd6581d25 codetools: fixed find declaration on last identifier of expression
git-svn-id: trunk@23508 -
2010-01-20 18:00:13 +00:00
mattias
a8e2247fae codetools: fixed resolving property[]
git-svn-id: trunk@23507 -
2010-01-20 16:35:45 +00:00
paul
6a33b4b69e codetools: add WordBool and QWordBool predefined fpc types
git-svn-id: trunk@23505 -
2010-01-20 14:45:36 +00:00
paul
9e02d5824f codetools: distinct dispinterface and other interfaces
git-svn-id: trunk@23500 -
2010-01-20 13:18:11 +00:00
mattias
227801c427 codetools: implemented parsing class property
git-svn-id: trunk@23406 -
2010-01-09 16:27:36 +00:00
mattias
842f26f8f3 codetools: ctnGenericParam changed form compatible to exact, bug #15317
git-svn-id: trunk@23087 -
2009-12-11 21:32:05 +00:00
mattias
2f998fb898 codetools: search unit objcbase in modeswitch objectivec1
git-svn-id: trunk@22765 -
2009-11-25 12:13:28 +00:00
mattias
6ba3e8f884 codetools: search unit objc in modeswitch objc
git-svn-id: trunk@22764 -
2009-11-25 12:05:27 +00:00
mattias
837f13ad0c codetools: parsing specialize in class inheritage brackets, bug #15081
git-svn-id: trunk@22649 -
2009-11-17 12:11:33 +00:00
mattias
b64abcbd7a codetools: parsing objccategory
git-svn-id: trunk@22611 -
2009-11-16 00:39:35 +00:00
mattias
cf8c233871 codetools: parsing cppclass
git-svn-id: trunk@22601 -
2009-11-15 15:43:53 +00:00
mattias
e19baa54d3 codetools: find declaration: added robust check
git-svn-id: trunk@22467 -
2009-11-07 10:40:17 +00:00
mattias
5404f199d5 codetools: reduced debugging
git-svn-id: trunk@22458 -
2009-11-06 07:19:45 +00:00
mattias
ef97e3ee6b codetools: code completion: enumeration of arrays
git-svn-id: trunk@22433 -
2009-11-04 18:56:30 +00:00
mattias
2375a8fcaf codetools: code completion: enumeration of settype
git-svn-id: trunk@22432 -
2009-11-04 18:35:29 +00:00
mattias
55a336b95f codetools: operator enumerator: interface
git-svn-id: trunk@22430 -
2009-11-04 15:42:58 +00:00
mattias
ef08824411 codetools: code completion: operator enumerator current
git-svn-id: trunk@22429 -
2009-11-04 15:07:08 +00:00
mattias
1631325da4 codetools: local var completion for enumerator of class
git-svn-id: trunk@22419 -
2009-11-04 00:23:52 +00:00
mattias
a0bc0d475c codetools: code completion for string iterators
git-svn-id: trunk@22412 -
2009-11-03 23:03:27 +00:00
mattias
dae3bc507c codetools: fixed FindStartOfTerm ignoring next atom if it is not under EndPos
git-svn-id: trunk@22399 -
2009-11-03 10:38:35 +00:00
mattias
61560943a1 codetools: FindExpressionTypeOfTerm fixed searching start of term
git-svn-id: trunk@22391 -
2009-11-03 00:40:57 +00:00
mattias
4483337f54 codetools: FindStartOfTerm: check next atom
git-svn-id: trunk@22361 -
2009-10-31 17:19:00 +00:00
mattias
c12d17af61 codetools: FindStartOfTerm: fixed starting in an atom
git-svn-id: trunk@22340 -
2009-10-29 14:28:19 +00:00
paul
79ff6ed4bc components, ide, ideintf: change UnitName identifier to AUnitName inside classes (preparations for the new TObject.UnitName method)
git-svn-id: trunk@22327 -
2009-10-29 08:40:22 +00:00
mattias
170f532285 codetools: sealed and abstract classes
git-svn-id: trunk@22300 -
2009-10-27 00:02:41 +00:00
mattias
40097a760a codetools: local var param completion: searching complex proc calls
git-svn-id: trunk@22201 -
2009-10-17 10:15:33 +00:00
mattias
0fa1382ee5 codetools: fixed using wrong tool during rename identifier
git-svn-id: trunk@21873 -
2009-09-25 22:10:37 +00:00
mattias
30535703d0 codetools: find declaration: quick check if cursor in code
git-svn-id: trunk@21713 -
2009-09-15 15:27:52 +00:00
mattias
c66ecbfe45 codetools: objcprotocol
git-svn-id: trunk@21694 -
2009-09-13 23:00:19 +00:00
mattias
ddad9c8091 codetools: implemented objcclass
git-svn-id: trunk@21689 -
2009-09-13 21:31:32 +00:00
mattias
c286c1ba10 codetools: identifier completion: compiler function objselector, find predefined identifier
git-svn-id: trunk@21686 -
2009-09-13 14:06:03 +00:00
mattias
6120ad89ba codetools: added debugging
git-svn-id: trunk@21655 -
2009-09-11 21:23:53 +00:00
mattias
0db8bb8288 codetools: added debuggin
git-svn-id: trunk@21651 -
2009-09-11 17:55:35 +00:00