Commit Graph

792 Commits

Author SHA1 Message Date
mattias
9aaf5b19da codetools: improved smart hint for set and enums from Ondrej Pokorny
git-svn-id: trunk@49829 -
2015-09-15 20:32:16 +00:00
mattias
8d32bb263f codetools: use camelcase for system unit under Delphi, make ExpressionTypeDescNames a var, patch #28648 from Ondrej Pokorny
git-svn-id: trunk@49796 -
2015-09-09 11:16:09 +00:00
mattias
f9f232ea0b codetools: improved smarthints, show definition, patch #28610, from Ondrej Pokorny
git-svn-id: trunk@49740 -
2015-09-02 11:27:34 +00:00
mattias
631feb2095 codetools: find declaration: nobjcprotocol has no default ancestor
git-svn-id: trunk@49679 -
2015-08-16 10:57:46 +00:00
mattias
e96a385420 codetools: find declaration of objcclass.alloc
git-svn-id: trunk@49678 -
2015-08-16 09:11:02 +00:00
mattias
aa33066937 codetools: searching all compatible objccategory
git-svn-id: trunk@49666 -
2015-08-14 09:42:29 +00:00
mattias
18825bf47b codetools: test for type helper
git-svn-id: trunk@49665 -
2015-08-14 08:11:08 +00:00
mattias
26b480004f codetools: find declaration: resolve expr type of objccategory
git-svn-id: trunk@49662 -
2015-08-13 08:16:38 +00:00
mattias
40688b9497 codetools: split helper coder for objccategory
git-svn-id: trunk@49661 -
2015-08-13 07:01:44 +00:00
mattias
c4df72ddfa codetools: simplified CompareHelpersList
git-svn-id: trunk@49654 -
2015-08-11 13:32:40 +00:00
mattias
3efaeb10b7 codetools: simplified CompareHelpersList
git-svn-id: trunk@49653 -
2015-08-11 13:31:37 +00:00
mattias
fbf5029f32 codetools: simplified
git-svn-id: trunk@49652 -
2015-08-11 13:26:14 +00:00
mattias
348bc7ef4c codetools: allow "helper" variable in object
git-svn-id: trunk@49645 -
2015-08-11 12:13:32 +00:00
mattias
bb5f1d11a6 codetools: modeswitch objectivec1,2: check keywords objcclass,category,protocol only in this mode switch, fixed finding NSObject, hack for searching objccategory removed
git-svn-id: trunk@49641 -
2015-08-11 11:56:02 +00:00
juha
82acb31da2 Codetools: add deprecated notes to function wrappers. Fix compilation in example projects, packages, StartLazarus and LazBuild.
git-svn-id: trunk@49508 -
2015-07-07 15:35:28 +00:00
juha
653b5dd43a Codetools, unit FileProcs: Disable conditionally wrapper functions. For testing define DisableWrapperFunctions and build Lazarus.
git-svn-id: trunk@49504 -
2015-07-07 11:43:38 +00:00
mattias
eec44bce79 codetools: add compiler functions into system., filter predefined compiler functions, patch #28320
git-svn-id: trunk@49474 -
2015-06-30 09:22:06 +00:00
mattias
699bdb9e8f codetools: class helpers: find declaration and code completion, patch #28266, from Ondrej Pokorny
git-svn-id: trunk@49405 -
2015-06-22 10:02:11 +00:00
mattias
2f643bd4d4 codetools: move Find*UsesSection to TPascalParserTool, issue #28285
git-svn-id: trunk@49342 -
2015-06-16 09:22:42 +00:00
mattias
b1acac9beb codetools: clean up
git-svn-id: trunk@48661 -
2015-04-06 17:39:43 +00:00
mattias
e0a471dc07 codetools: clean up
git-svn-id: trunk@48660 -
2015-04-06 17:35:11 +00:00
mattias
ca91821012 codetools: fixed find nested ancestor of nested class
git-svn-id: trunk@48537 -
2015-03-30 16:23:22 +00:00
juha
232c983159 CodeTools: Initialize variables based on compiler warnings. Contains ToDo items.
git-svn-id: trunk@48480 -
2015-03-24 17:51:40 +00:00
mattias
c292a5e843 codetools: fixed crash if Result not in function
git-svn-id: trunk@48414 -
2015-03-18 17:13:09 +00:00
mattias
6eca89bfee codetools: jvm: has no iinterface
git-svn-id: trunk@48329 -
2015-03-13 00:27:39 +00:00
mattias
d48e548ada codetools: fixed search in ancestor and search ancestor
git-svn-id: trunk@48317 -
2015-03-12 23:11:19 +00:00
mattias
6cfb990ccf codetools: fixed searching ancestor class *not* in ancestors (loop) and search it in ancestors of enclosing class
git-svn-id: trunk@48292 -
2015-03-12 10:26:21 +00:00
mattias
5e1973260e codetools: fixed loop in FindEnumInContext
git-svn-id: trunk@48281 -
2015-03-12 00:41:37 +00:00
mattias
00d2898a47 codetools: implemented parsing jvm class external as no forrward, searching indirect ancestors
git-svn-id: trunk@48268 -
2015-03-11 17:21:34 +00:00
mattias
4a8bc5f9b6 codetools: find declaration: result in nested proc
git-svn-id: trunk@48085 -
2015-03-01 15:56:29 +00:00
mattias
c1329874e0 codetools: clean up
git-svn-id: trunk@47729 -
2015-02-13 08:08:16 +00:00
paul
99930b2227 codetools:
- don't stop parse of unit name on a dot while generating a hint in more cases

git-svn-id: trunk@47713 -
2015-02-12 03:34:57 +00:00
paul
1458325314 codetools:
- don't stop parse of unit name on a dot while generating a hint

git-svn-id: trunk@47712 -
2015-02-12 02:59:08 +00:00
mattias
8e7bf9cf79 codetools: code completion compiler function Assigned
git-svn-id: trunk@46962 -
2014-11-22 11:01:04 +00:00
mattias
2daf3e1e32 codetools: code completion compiler function Ord
git-svn-id: trunk@46961 -
2014-11-22 10:57:47 +00:00
mattias
eb43af9a27 codetools: code completion compiler function Assigned
git-svn-id: trunk@46960 -
2014-11-22 10:55:11 +00:00
mattias
f5e2ee41a5 codetools: find declaration and gather identifiers: labels, issue #26882
git-svn-id: trunk@46592 -
2014-10-18 10:22:38 +00:00
mattias
9ddf3d4196 codetools: FindAbstractMethods: search class interfaces
git-svn-id: trunk@45593 -
2014-06-21 15:35:46 +00:00
mattias
334403f906 codetools: find gdb line: search implementation, started searching members
git-svn-id: trunk@44935 -
2014-05-06 15:43:42 +00:00
mattias
719b45dcec codetools: fixed FindDeclaration fsfFindMainDeclaration for ctnUnit
git-svn-id: trunk@44593 -
2014-04-03 15:59:58 +00:00
juha
32adb07f4c Codetools: Prevent a wrong error message about ancestor having same name. Issue #24502, patch from ocean.
git-svn-id: trunk@44513 -
2014-03-24 22:29:25 +00:00
mattias
c8dcad58c9 codetools: identifier completion: list global properties
git-svn-id: trunk@44254 -
2014-02-26 19:11:12 +00:00
juha
3a50e1c7f2 Remove assertion in TFindDeclarationTool.FindIdentifierInInterface. Not needed after BuildInterfaceIdentifierCache return value was fixed.
git-svn-id: trunk@43574 -
2013-12-21 12:59:53 +00:00
juha
490e3b3df5 Codetools: fix return value of TFindDeclarationTool.BuildInterfaceIdentifierCache
git-svn-id: trunk@43549 -
2013-12-16 00:11:16 +00:00
mattias
fc9c962339 codetools: FindUnitSource: fixed error message if not cursor pos known
git-svn-id: trunk@43209 -
2013-10-11 15:37:55 +00:00
mattias
7d402a8415 codetools: fixed checking if resolving edged bracket open is allowed, bug #25045
git-svn-id: trunk@42868 -
2013-09-18 21:29:59 +00:00
mattias
612b486281 IDE: implement find references of used unit
git-svn-id: trunk@42686 -
2013-09-08 22:47:26 +00:00
mattias
5364c52f95 codetools: FindUsedUnitReferences
git-svn-id: trunk@42681 -
2013-09-08 19:19:55 +00:00
mattias
f300bc6edc codetools: find declaration: check for overloaded procs: stop if call() fits, bug #24901
git-svn-id: trunk@42454 -
2013-08-23 08:08:05 +00:00
mattias
c4602e0c20 codetools: fixed searching selfunit.interfaceidentifier
git-svn-id: trunk@42379 -
2013-08-10 10:15:10 +00:00
mattias
a1d47beded codetools: shrinked scan ranges from lsrEnd to lsrInitializationStart where possible
git-svn-id: trunk@42202 -
2013-07-25 12:49:04 +00:00
mattias
71afb213fb codetools: rename identifier: procedure jump to prochead
git-svn-id: trunk@42074 -
2013-07-13 12:42:32 +00:00
mattias
4d11ba6ac9 codetools: resourcestring
git-svn-id: trunk@41980 -
2013-07-03 07:48:30 +00:00
mattias
30c64c2982 codetools: code complete: for c in char
git-svn-id: trunk@41952 -
2013-07-01 11:14:55 +00:00
mattias
e16523559c codetools: fixed parsing expression with &keyword
git-svn-id: trunk@41950 -
2013-06-30 22:40:51 +00:00
mattias
7201e34ba9 codetools: on variable only valid in the on block, bug #24494
git-svn-id: trunk@41842 -
2013-06-23 17:32:52 +00:00
mattias
f4ed4c5b85 codetools: fixed code completion for c in enum
git-svn-id: trunk@41837 -
2013-06-23 16:28:50 +00:00
mattias
ad78656157 codetools: CheckParameterSyntax: fixed ([])
git-svn-id: trunk@41819 -
2013-06-23 12:45:53 +00:00
juha
673142547e Converter + codetools: try to find out why FInterfaceIdentifierCache is Nil sometimes in TFindDeclarationTool.FindIdentifierInInterface.
git-svn-id: trunk@41712 -
2013-06-14 13:45:12 +00:00
mattias
4ce8683fd7 codetools: set DirectoryCache of tool, removed auto fetching
git-svn-id: trunk@41552 -
2013-06-05 19:07:50 +00:00
juha
a9ad45f767 Codetools: make TFindDeclarationTool.CheckDirectoryCache public. Needed for converter.
git-svn-id: trunk@41426 -
2013-05-26 17:49:16 +00:00
mattias
186067a9f8 codetools: findreferences: when on proc body search proc interface
git-svn-id: trunk@41133 -
2013-05-11 19:29:04 +00:00
mattias
01e46f51c9 codetools: fixed find term type of function returning a pointer type
git-svn-id: trunk@41093 -
2013-05-09 14:42:45 +00:00
mattias
878a5a0321 codetools: undo hack
git-svn-id: trunk@40921 -
2013-04-28 22:41:31 +00:00
juha
3964d7f1f3 CodeTools: Make completion tool work correctly with hidden methods. Issue #18929, patch from Anton
git-svn-id: trunk@40918 -
2013-04-28 21:03:14 +00:00
juha
727f6ddd62 Codetools: Fix FindDeclaration tool to not finds inaccessible private/protected fields. Issue #22464, patch from Anton
git-svn-id: trunk@40909 -
2013-04-28 15:20:16 +00:00
mattias
fc203991d0 codetools: find declaration: searching in class of method: search in parent classes of nested classes
git-svn-id: trunk@40201 -
2013-02-06 19:20:29 +00:00
mattias
e9f840669c codetools: TFindDeclarationTool.CheckParameterSyntax: check comments
git-svn-id: trunk@39956 -
2013-01-24 19:39:25 +00:00
mattias
7db10c0527 codetools: fixed searching identifier in constant, bug #23643
git-svn-id: trunk@39897 -
2013-01-19 19:15:38 +00:00
mattias
a9f38a9a10 codetools: TLinkScanner.CursorToCleanPos: fixed reporting wrongly skipped code for beyond code
git-svn-id: trunk@39792 -
2013-01-06 22:57:41 +00:00
mattias
0d543afcbf codetools: more verbosity for fd fail
git-svn-id: trunk@39755 -
2013-01-03 18:34:24 +00:00
mattias
60bdd54869 codetools: added flag -dVerboseFindDeclarationFail
git-svn-id: trunk@39753 -
2013-01-03 16:30:56 +00:00
mattias
9b7bd51717 codetools: added flag -dVerboseFindDeclarationFail
git-svn-id: trunk@39751 -
2013-01-03 15:28:07 +00:00
mattias
8298e344f3 codetools: added flag -dVerboseFindDeclarationFail
git-svn-id: trunk@39749 -
2013-01-03 13:56:50 +00:00
mattias
60fd65da29 codetools: added flag -dVerboseFindDeclarationFail
git-svn-id: trunk@39748 -
2013-01-03 13:48:12 +00:00
mattias
9862bf3af8 codetools: TLinkScanner.CursorToCleanPos: fixed cursorpos outside of code
git-svn-id: trunk@39655 -
2012-12-26 09:58:20 +00:00
mattias
a00deda670 codetools: findbasetypeofnode: undo skip current context
git-svn-id: trunk@39567 -
2012-12-17 11:22:03 +00:00
mattias
8ba97d8a17 codetools: clean up
git-svn-id: trunk@39560 -
2012-12-16 10:48:05 +00:00
mattias
2f53e5d41c codetools: fixed TEventsCodeTool.FindMethodTypeInfo when type is an alias
git-svn-id: trunk@39559 -
2012-12-16 10:46:37 +00:00
mattias
0869cb145f codetools: findbasetype: skip current context in type defs
git-svn-id: trunk@39558 -
2012-12-16 10:25:33 +00:00
mattias
20382c7ed0 codetools: skipped code is now converted to special comments
git-svn-id: trunk@38521 -
2012-09-05 10:47:44 +00:00
mattias
8367792c04 codetools: resolve indexed ancestor properties, bug #22687
git-svn-id: trunk@38421 -
2012-08-28 19:55:36 +00:00
mattias
859caab881 codetools: fixed range check error
git-svn-id: trunk@38419 -
2012-08-28 14:23:59 +00:00
mattias
ac5fdad655 undo
git-svn-id: trunk@38292 -
2012-08-21 07:48:52 +00:00
mattias
8700716f40 codetools: example for skipped code
git-svn-id: trunk@38291 -
2012-08-21 07:47:20 +00:00
mattias
1bc9682635 codetools: fixed find declaration of a.b
git-svn-id: trunk@38227 -
2012-08-12 08:15:56 +00:00
mattias
51c7a42e32 codetools: workaround until CalculateBinaryOperator supports alias types
git-svn-id: trunk@38195 -
2012-08-07 07:43:49 +00:00
mattias
a5f1df8c7c codetools: fixed FindDeclarationOfIdentAtParam searching if proc()then
git-svn-id: trunk@38189 -
2012-08-06 22:36:23 +00:00
mattias
8bb7d5a78e codetools: improved unit not found error message for implicit used units
git-svn-id: trunk@38073 -
2012-07-28 12:29:00 +00:00
mattias
24dcd68f83 codetools: save parse error of operator, do not save errors outside parser, fixed parsing method name with generic parameter
git-svn-id: trunk@37482 -
2012-06-02 13:47:16 +00:00
juha
141260a23a Converter: Improve converting TabbedNotebook to TPageControl.
git-svn-id: trunk@37270 -
2012-05-13 17:08:41 +00:00
mattias
bb32bf4cdb codetools: improved error message on unit not found
git-svn-id: trunk@37265 -
2012-05-13 13:03:58 +00:00
mattias
2b2f0f00f8 codetools: improved error message on unit not found
git-svn-id: trunk@37263 -
2012-05-13 09:40:15 +00:00
mattias
1802fda674 codetools: GetSmartHint: ^, .., file of, class of
git-svn-id: trunk@37215 -
2012-05-07 16:16:17 +00:00
mattias
1eca771511 codetools: save less errors
git-svn-id: trunk@37214 -
2012-05-07 16:13:24 +00:00
mattias
855af79e42 codetools: do not save errors outside parser
git-svn-id: trunk@37213 -
2012-05-07 16:04:57 +00:00
mattias
e870b21355 codetools: fixed resolving inherited
git-svn-id: trunk@37132 -
2012-05-02 12:06:32 +00:00
mattias
d18e8e49d3 codetools: GetSmartHint: show anonymous arrays
git-svn-id: trunk@37104 -
2012-04-30 14:13:02 +00:00
mattias
5f3801e1ee codetools: nested types: Self and inherited
git-svn-id: trunk@37103 -
2012-04-30 13:37:41 +00:00
mattias
15b8f2e5c3 codetools: fixed GetSmartHint for unit
git-svn-id: trunk@37098 -
2012-04-30 08:08:02 +00:00