Commit Graph

876 Commits

Author SHA1 Message Date
mattias
52bcdebadd codetools: added compiler type pas2js
git-svn-id: trunk@54488 -
2017-03-27 20:50:08 +00:00
ondrej
f4189582b8 CodeTools: support "array of XYZ" in code completion (Ctrl+Shift+C). Issue #31341
git-svn-id: trunk@54075 -
2017-02-02 13:19:06 +00:00
joost
1de2cbf586 general: Updated address of the Free Software Foundation in copyright messages
git-svn-id: trunk@54031 -
2017-01-29 21:04:32 +00:00
mattias
8d43a73be1 codetools: avltree: new consistencycheck
git-svn-id: trunk@53925 -
2017-01-11 12:41:05 +00:00
mattias
a330b075c2 codetools: FindDeclarationAndOverloads: added option fdlfOneOverloadPerUnit
git-svn-id: trunk@53872 -
2017-01-03 16:39:30 +00:00
mattias
baa0147222 codetools: fixed FindDeclarationAndOverloads on interface function
git-svn-id: trunk@53871 -
2017-01-03 16:24:36 +00:00
mattias
028bc52289 codetools: less hints
git-svn-id: trunk@53615 -
2016-12-09 09:12:55 +00:00
mattias
4eaf02c3a1 codetools: FindFileAtCursor: unit name, search in comment
git-svn-id: trunk@53311 -
2016-11-08 12:20:40 +00:00
mattias
37069d7601 codetools: FindFileAtCursor: test literal
git-svn-id: trunk@53299 -
2016-11-05 14:56:50 +00:00
mattias
47fc941c8f codetools: FindFileAtCursor: disabled directives
git-svn-id: trunk@53289 -
2016-11-02 14:21:44 +00:00
mattias
9e59740549 codetools: FindFileAtCursor: fixed find enabled include directive of empth file
git-svn-id: trunk@53288 -
2016-11-02 13:34:48 +00:00
mattias
8d7e2139ee codetools: test FindFileAtCursor
git-svn-id: trunk@53277 -
2016-11-01 19:56:42 +00:00
mattias
81599322c4 codetools: started FindFileAtCursor
git-svn-id: trunk@53269 -
2016-10-30 23:42:40 +00:00
mattias
4d69ed3456 codetools: TTFindDeclarationTool.IsIncludeDirectiveAtPos
git-svn-id: trunk@53249 -
2016-10-28 10:49:10 +00:00
mattias
2ee19afd56 codetools: fixed forward defined class-of
git-svn-id: trunk@52855 -
2016-08-21 19:29:50 +00:00
ondrej
2e76894327 CodeTools: don't rescan FPC directory twice due to the same unit (e.g. when the FPC dir is corrupted)
git-svn-id: trunk@52818 -
2016-08-17 16:43:05 +00:00
ondrej
f3ee10c357 IDE, CodeTools: rescan FPC directory cache automatically. Issue #30475
git-svn-id: trunk@52809 -
2016-08-16 22:32:22 +00:00
ondrej
243ffe08c1 codetools: fix Copy() intrinsic
git-svn-id: trunk@52566 -
2016-06-22 18:02:41 +00:00
juha
d5346b5108 Formatting
git-svn-id: trunk@52529 -
2016-06-20 08:51:12 +00:00
bart
e12b65390b Fix some more spelling errors.
git-svn-id: trunk@52490 -
2016-06-12 16:32:39 +00:00
juha
e5845a0818 Formatting
git-svn-id: trunk@52021 -
2016-03-22 21:57:06 +00:00
ondrej
30819f343a codetools: prevent endless loop in TFindDeclarationTool.GetSmartHint. Issue #29754
git-svn-id: trunk@51760 -
2016-02-29 17:59:32 +00:00
ondrej
fef0aed03e revert r51463 #2022201d06+r51465: IfThen was removed from FPC.
git-svn-id: trunk@51577 -
2016-02-10 16:36:57 +00:00
ondrej
1aef9cf770 codetools: make IfThen available only for FPC 3.1+
git-svn-id: trunk@51465 -
2016-01-31 19:22:19 +00:00
ondrej
2022201d06 codetools: add IfThen compiler intrinsic. Issue #29555
added to FPC in r33036 #2e2567a84d.

git-svn-id: trunk@51463 -
2016-01-31 17:03:50 +00:00
ondrej
207682336d codetools: fix go to real class declaration for fsfSkipClassForward. Issue #29515
git-svn-id: trunk@51462 -
2016-01-30 20:19:55 +00:00
ondrej
f2bd239ee0 codetools: fix smarthint for sets
git-svn-id: trunk@51424 -
2016-01-26 18:36:23 +00:00
ondrej
f2bfc63670 codetools: go to real class declaration for fsfSkipClassForward. Issue #29515
git-svn-id: trunk@51423 -
2016-01-26 18:19:34 +00:00
ondrej
dfcb38ee6a codetools: allow code completion for valid but not closed instructions. Issue #29448
git-svn-id: trunk@51393 -
2016-01-23 19:13:58 +00:00
ondrej
c91dcd1309 codetools: fix PREC->PRED function name typo.
git-svn-id: trunk@51354 -
2016-01-20 13:52:32 +00:00
ondrej
696ae12a21 codetools: add Default compiler magic
git-svn-id: trunk@51353 -
2016-01-20 13:50:12 +00:00
ondrej
16925fa4b4 codetools: support static array helpers
git-svn-id: trunk@51216 -
2016-01-06 19:53:50 +00:00
ondrej
d8163c8187 codetools: prevent AV for incomplete generic types
git-svn-id: trunk@51138 -
2016-01-02 21:07:28 +00:00
ondrej
491df20f71 codetools: support helpers for array types
git-svn-id: trunk@51107 -
2016-01-01 22:26:43 +00:00
ondrej
29a6b11e16 codetools: enumerator can be also an interface
git-svn-id: trunk@50840 -
2015-12-16 07:25:29 +00:00
ondrej
599e0821fb codetools: enumerator can be also a record
git-svn-id: trunk@50826 -
2015-12-15 21:21:42 +00:00
ondrej
44119ab600 codetools: fix for-in enumeration type. Issue #29192
git-svn-id: trunk@50825 -
2015-12-15 21:04:06 +00:00
mattias
ab813332d0 IDE: search fppkg .fpm files for ppus in default compiler unit path
git-svn-id: trunk@50473 -
2015-11-22 18:40:48 +00:00
mattias
399acc7c84 codetools: find declaration: simple find specialized ancestor
git-svn-id: trunk@50348 -
2015-11-16 22:19:30 +00:00
mattias
07d6956baa codetools: identifier completion: show generic parameters
git-svn-id: trunk@50341 -
2015-11-16 21:28:38 +00:00
ondrej
98109a4973 codetools: fixed SCOPEDENUMS in a different unit.
git-svn-id: trunk@50327 -
2015-11-13 16:04:27 +00:00
ondrej
9697e1140e codetools: refactoring of linkscanner directive sequences.
git-svn-id: trunk@50326 -
2015-11-13 13:17:13 +00:00
ondrej
1ceb9b1665 codetools: fixed resolve type alias of expression in brackets.
git-svn-id: trunk@50325 -
2015-11-13 10:42:24 +00:00
ondrej
794c959cde codetools: added support of SCOPEDENUMS directive.
git-svn-id: trunk@50324 -
2015-11-13 10:10:17 +00:00
ondrej
fb34c4b45f codetools: code creation support in a parameter of procedure variables.
git-svn-id: trunk@50308 -
2015-11-11 19:31:19 +00:00
mattias
8b2da06204 codetools: find declaration: FindBaseTypeOfNode: check if type
git-svn-id: trunk@50273 -
2015-11-10 13:39:51 +00:00
mattias
5215fb80eb codetools: find declaration: fixed resolving complex alias, bug #27312
git-svn-id: trunk@50272 -
2015-11-10 13:21:42 +00:00
ondrej
d49143fd83 IDE, CodeTools: support for unit names with dots. Issue #22235
git-svn-id: trunk@50266 -
2015-11-09 22:23:19 +00:00
ondrej
99dee96a0a CodeTools: use TAVLTree in TTypeAliasOrderList instead of array of string.
git-svn-id: trunk@50261 -
2015-11-08 21:35:45 +00:00
ondrej
1b015d1034 codetools: ignore constant operand in operator comparison if the other operand has a defined type.
git-svn-id: trunk@50230 -
2015-11-05 06:21:21 +00:00
ondrej
508bcddf07 IDE: CodeTools, CodeCreation: more integer types for operator comparison.
git-svn-id: trunk@50226 -
2015-11-04 17:24:05 +00:00
ondrej
db5d7eaeaf IDE: improved TTypeAliasOrderList.Create
git-svn-id: trunk@50218 -
2015-11-04 09:46:25 +00:00
ondrej
62d50f53a1 IDE: CodeTools, CodeCreation: compare operand types in operator evaluation, issue #28953
git-svn-id: trunk@50217 -
2015-11-04 07:13:58 +00:00
mattias
90ec47f43b codetools: find declaration: fixed Result in operator proc, bug #28877
git-svn-id: trunk@50118 -
2015-10-19 09:47:00 +00:00
mattias
3b84c9a585 codetools: find protected members in class helpers, bug #28810, patch from Ondrej
git-svn-id: trunk@50115 -
2015-10-18 22:27:22 +00:00
mattias
86f922df9a codetools: find declaration: enum type helpers
git-svn-id: trunk@50104 -
2015-10-18 15:01:14 +00:00
mattias
0ca8f14eff codetools: added tests for type helpers
git-svn-id: trunk@50102 -
2015-10-18 13:55:49 +00:00
mattias
0075408ba2 codetools: fixed resolving dot after pointer in mode delphi
git-svn-id: trunk@50101 -
2015-10-18 13:38:49 +00:00
mattias
a5c1278946 codetools: fixed resolving dot after class, bug #28876
git-svn-id: trunk@50100 -
2015-10-18 13:32:15 +00:00
mattias
174015662d codetools: fixed resolve first identifier in term
git-svn-id: trunk@50085 -
2015-10-16 17:45:47 +00:00
mattias
ccd0eeebaf codetools: find declaration of string constant dot identifier
git-svn-id: trunk@50083 -
2015-10-16 15:37:23 +00:00
mattias
80b57e35e4 codetools: less verbose
git-svn-id: trunk@50082 -
2015-10-16 09:41:01 +00:00
mattias
de4a5aaa57 codetools: FindStartOfTerm: allow numbers and string constants, needed for type helpers
git-svn-id: trunk@50080 -
2015-10-16 09:39:55 +00:00
mattias
38c4e5243b cody: find overloads: check compatibility
git-svn-id: trunk@50055 -
2015-10-14 13:25:43 +00:00
mattias
b3ff6d8167 codetools: fixed find declaration default property, bug #28847
git-svn-id: trunk@50050 -
2015-10-13 20:13:05 +00:00
mattias
7895129320 codetools: finddeclaration: cache in ctnWithVar instead of ctnWithStatement
git-svn-id: trunk@50041 -
2015-10-12 21:58:15 +00:00
mattias
ced7b32ee9 codetools: FindExpressionTypeOfTerm: removed obsolete FindBaseTypeOfNode
git-svn-id: trunk@50021 -
2015-10-09 12:24:52 +00:00
mattias
0ba4515139 codetools: fixed finding default property in class helper, bug #28809, patch from Ondrej
git-svn-id: trunk@50017 -
2015-10-09 10:14:21 +00:00
mattias
fb472b1555 codetools: fixed find enumerator in class helper
git-svn-id: trunk@50014 -
2015-10-09 08:57:29 +00:00
mattias
b605c39631 codetools: code completion: support class constructors/destructors, patch #25130 from Ondrej Pokorny
git-svn-id: trunk@49996 -
2015-10-08 14:20:54 +00:00
mattias
60e08d1047 codetools: fixed using last found helper
git-svn-id: trunk@49994 -
2015-10-08 13:53:33 +00:00
mattias
851bfd3a7d codetools: replace helper: keep AVLNode, it may be in use by the iterator
git-svn-id: trunk@49993 -
2015-10-08 13:38:33 +00:00
mattias
c18721377e codetools: debugging
git-svn-id: trunk@49992 -
2015-10-08 10:27:52 +00:00
mattias
62736acf82 codetools: identifier completion+events: simplified collecting helpers
git-svn-id: trunk@49983 -
2015-10-07 23:08:11 +00:00
mattias
7eec3d4b45 codetools: identifier completion+events: fixed collecting helpers, patch #28794
git-svn-id: trunk@49982 -
2015-10-07 22:44:05 +00:00
mattias
7625688d59 cody: find overloads: add nodes for classes and ancestors
git-svn-id: trunk@49959 -
2015-10-06 17:38:06 +00:00
mattias
5086ce6b4a codetools: fixed TFindDeclarationParams.Create calls, bug #28410
git-svn-id: trunk@49887 -
2015-09-28 18:10:26 +00:00
mattias
ff65e8f6c6 codetools: fixed FindHelpers when params.ContextNode changes
git-svn-id: trunk@49882 -
2015-09-27 20:02:29 +00:00
mattias
0896a48942 codetools: fixed TFindDeclarationParams.Create to only allocate, not changing Tool.CurPos, collect helpers on demand
git-svn-id: trunk@49875 -
2015-09-27 10:44:39 +00:00
mattias
2e36d4e2c3 codetools: fixed MoveToLastIdentifierThroughDots from Ondrej
git-svn-id: trunk@49868 -
2015-09-22 15:28:51 +00:00
mattias
f4836cb1da codetools: GetSmartHint: ctnSetType: fixed
git-svn-id: trunk@49837 -
2015-09-16 08:50:37 +00:00
mattias
fca3ce09ec codetools: GetSmartHint: ctnSetType: limitless
git-svn-id: trunk@49836 -
2015-09-16 08:23:22 +00:00
mattias
ca9e9967a2 codetools: GetSmartHint: ctnSetType: append initial value, from Ondrej Pokorny
git-svn-id: trunk@49835 -
2015-09-16 08:22:26 +00:00
mattias
87f3fd5da2 codetools: GetSmartHint: ctnSetType fixed copy
git-svn-id: trunk@49834 -
2015-09-16 08:19:40 +00:00
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