Commit Graph

714 Commits

Author SHA1 Message Date
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
mattias
815fe6af00 codetools: do not try to search in record ancestors
git-svn-id: trunk@37090 -
2012-04-29 18:33:24 +00:00
mattias
40fdca11df codetools: GetSmartHint: use unit
git-svn-id: trunk@37089 -
2012-04-29 18:31:03 +00:00
mattias
8be47d95a1 codetools: GetSmartHint: property params and type
git-svn-id: trunk@37087 -
2012-04-29 18:21:33 +00:00
mattias
b5a7e440c9 codetools: GetSmartHint: add inheritance
git-svn-id: trunk@37083 -
2012-04-29 12:52:03 +00:00
mattias
e158e14d5b codetools: getsmarthing: array of
git-svn-id: trunk@37082 -
2012-04-29 12:48:27 +00:00
mattias
b65f87aa5b codetools: getsmarthing: enum: add "enum"
git-svn-id: trunk@37081 -
2012-04-29 12:47:10 +00:00
mattias
20f137ac1f codetools: getsmarthing: simplified
git-svn-id: trunk@37080 -
2012-04-29 12:45:33 +00:00
mattias
c5f819c616 codetools: getsmarthing: class variables
git-svn-id: trunk@37079 -
2012-04-29 12:41:36 +00:00
mattias
3c82a53c6b codetools: find declaration: selfunit.implementationidentifie
git-svn-id: trunk@37078 -
2012-04-29 10:35:52 +00:00
mattias
c98e01db84 codetools: resolve expr: thisunitname.implementationenidentifier
git-svn-id: trunk@37073 -
2012-04-29 09:28:15 +00:00
mattias
5b0d16c0df codetools: identifier completion: unit name of self
git-svn-id: trunk@37071 -
2012-04-28 20:42:57 +00:00
mattias
e055f6003b codetools: fixed find declaration
git-svn-id: trunk@36982 -
2012-04-22 22:46:47 +00:00
mattias
9d8803bbcc codetools: identifier completion: fixed continue searching
git-svn-id: trunk@36981 -
2012-04-22 21:26:33 +00:00
mattias
11216625db codetools: fixed search in hidden used units
git-svn-id: trunk@36978 -
2012-04-22 20:15:40 +00:00
mattias
297804938e codetools: fixed searching identifier in program, library
git-svn-id: trunk@36975 -
2012-04-22 18:33:35 +00:00
mattias
f2b5e73135 codetools: fixed find declaration in library starting in initialization, bug #21832
git-svn-id: trunk@36974 -
2012-04-22 18:25:25 +00:00
mattias
28123ac857 codetools: fixed treating initialization, finalization as statements
git-svn-id: trunk@36973 -
2012-04-22 18:15:24 +00:00
mattias
4d57d078dd codetools: find inheritance of objccategory
git-svn-id: trunk@36458 -
2012-03-30 13:47:49 +00:00
mattias
d87025efb7 codetools: auto dereferencing on mode switch autoderef
git-svn-id: trunk@36152 -
2012-03-18 19:10:51 +00:00
mattias
6fdd286ea2 codetools: fixed type of property
git-svn-id: trunk@35791 -
2012-03-07 08:35:47 +00:00
mattias
2b47f40c2f codetools: find declaration of default property without type
git-svn-id: trunk@35789 -
2012-03-07 06:26:37 +00:00
mattias
dd14bccb30 codetools: less verbosity
git-svn-id: trunk@35727 -
2012-03-05 11:20:32 +00:00
mattias
dd23bc3128 codetools: fixed typo
git-svn-id: trunk@35440 -
2012-02-18 13:55:21 +00:00
mattias
af96f00a7e codetools: fixed typo
git-svn-id: trunk@35439 -
2012-02-18 13:54:38 +00:00
mattias
3f83e596a3 codetools: fixed resolving children of global property
git-svn-id: trunk@35438 -
2012-02-18 13:53:11 +00:00
mattias
30b1e72d4f codetools: fixed find global property in used unit
git-svn-id: trunk@35398 -
2012-02-16 10:53:28 +00:00
mattias
5f47718cdd codetools: when cursor pos outside code: give more details
git-svn-id: trunk@35178 -
2012-02-06 12:37:28 +00:00
mattias
bce270836b codetools: FindEndOfExpression: parse inherited
git-svn-id: trunk@34919 -
2012-01-25 13:07:36 +00:00
mattias
6d491f1977 codetools: IsParamExprListCompatibleToNodeList: fixed returning tcCompatible if a param is only compatible
git-svn-id: trunk@34856 -
2012-01-22 11:55:59 +00:00
mattias
6e8cb6fb9b codetools: not searching in system units again
git-svn-id: trunk@34855 -
2012-01-22 11:35:07 +00:00
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