Commit Graph

5348 Commits

Author SHA1 Message Date
Martin
47177f39ca Codetools: Testcase, add a few options for upcoming tests 2021-12-04 14:20:45 +01:00
mattias
de1209eefb codetools: started test for nested alias class 2021-12-04 08:43:25 +01:00
mattias
8f307159a6 codetools: fixed tests when no pas2js found 2021-12-03 12:05:40 +01:00
Juha
c3a2bf802b Codetools: Prevent identifier being added many times. A hack but works. Issue #37384. 2021-11-25 15:19:54 +02:00
Juha
021deb1dee Codetools: Formatting, cleanup. 2021-11-25 15:18:22 +02:00
Juha
2849fb27e9 Codetools: Hunt for issue #37384. 2021-11-25 02:18:38 +02:00
mattias
3891f57067 codetools: sourcecloser: warning if something is wrong with implementation section 2021-11-18 22:40:39 +01:00
mattias
f84b6b1c5a codetools: fixed parsing sub proc of anonymous proc 2021-11-18 22:40:39 +01:00
Juha
937b6bdfef Codetools: Ignore empty () in function description. Generate function body correctly. Issue #39441, patch by Domingo Galmés. 2021-10-30 23:17:29 +03:00
mattias
0354b47bc4 updated makefiles 2021-10-18 14:32:30 +02:00
Martin
8d41aa5e99 IDE: Fix endless loop in codetools. Issues #39306 and #39387 2021-10-11 13:50:48 +02:00
Juha
7ca9ba2fb6 Support more calling conventions. Issue #39405, patch by Pavel. 2021-10-04 11:10:27 +03:00
Juha
555a0bb5fc CodeTools: Support case-insensitive {$Align X} etc. directives. Issue #39339, patch by PeaZomboss. 2021-10-01 16:31:42 +03:00
Juha
8eeeef47c6 Codetools: Eliminate a variable. 2021-10-01 16:31:42 +03:00
mattias
e542d3a317 codetools: clean up 2021-08-09 18:38:49 +02:00
juha
1c9f70830c Codetools: Add webassembly and other new targets from FPC trunk. Issue #39131, patch by Alfred.
git-svn-id: trunk@65356 -
2021-07-03 21:09:29 +00:00
juha
57339c6efd CodeTools: Allow a "var" section inside a record with {$modeswitch advancedrecords}. Issue #38957, patch by Domingo Galmés.
git-svn-id: trunk@65275 -
2021-06-18 17:58:28 +00:00
mattias
91763f2247 set trunk version to 2.3.0
git-svn-id: trunk@65242 -
2021-06-15 14:00:39 +00:00
maxim
d2acf5f8b8 CodeTools: fixed typo in TryFirstLocalIdentOccurence function name
git-svn-id: trunk@65209 -
2021-06-10 22:31:48 +00:00
maxim
14a12ecb59 CodeTools: fixed typos related to 'occur' word
git-svn-id: trunk@65193 -
2021-06-10 22:07:39 +00:00
mattias
e70b03a463 codetools: readparamtype: use ReadTypeReference
git-svn-id: trunk@65081 -
2021-05-02 15:37:01 +00:00
mattias
8fb7b558f3 codetools: test GenericsDelphi_FuncParam
git-svn-id: trunk@65080 -
2021-05-02 15:33:23 +00:00
pascal
246e2a5ac2 codetools: extended test (some are still failing)
git-svn-id: trunk@65072 -
2021-04-30 10:38:31 +00:00
pascal
7a252352cf codetools: added new test: find declaration for generic lists and arrays with member of default array property (still fails for generic array)
git-svn-id: trunk@65071 -
2021-04-30 10:32:34 +00:00
pascal
d1fdd59831 codetools: fixed program name of test
git-svn-id: trunk@65070 -
2021-04-30 04:59:19 +00:00
pascal
4e21c34991 codetools: partly fixed find declaration for members of default array property
git-svn-id: trunk@65069 -
2021-04-30 00:42:41 +00:00
pascal
88eaecc93d codetools: added new test
git-svn-id: trunk@65068 -
2021-04-30 00:37:11 +00:00
mattias
b9fb3cc8bc codetools: FindDeclarationOfIdentAtParam return proc head instead of proc
git-svn-id: trunk@65010 -
2021-04-17 11:22:26 +00:00
mattias
4a77082939 codetools: test rename proc
git-svn-id: trunk@65009 -
2021-04-17 11:21:39 +00:00
pascal
cb6eb68d7e codetools: added test TTestRefactoring.TestRenameProcReferences
git-svn-id: trunk@64998 -
2021-04-15 12:40:31 +00:00
pascal
052438a840 codetools: test for regression due to generic type fixes
git-svn-id: trunk@64980 -
2021-04-13 08:16:29 +00:00
mattias
01bf54a2cc codetools: test RenameIdentifier
git-svn-id: trunk@64978 -
2021-04-12 18:49:28 +00:00
mattias
55040cc650 codetools: added test for FindDeclaration proc property
git-svn-id: trunk@64966 -
2021-04-11 15:49:23 +00:00
mattias
25a802c34b codetools: fix for fpc 3.2+
git-svn-id: trunk@64965 -
2021-04-11 14:59:24 +00:00
mattias
13450f46a2 codetools: FindReferences for unit names
git-svn-id: trunk@64931 -
2021-04-06 00:11:28 +00:00
mattias
bd5b47ce14 codetools: GetCompatiblePublishedMethods check if class or property missing
git-svn-id: trunk@64842 -
2021-03-20 11:28:01 +00:00
pascal
1ceca464e8 codetools: added DISCARDRESULT to IsKeyWordProcedureSpecifier
git-svn-id: trunk@64817 -
2021-03-15 10:08:54 +00:00
juha
2fa9987008 IDE, Codetools: Simplify LoadAncestorDependencyHidden. Use "out" parameter when appropriate.
git-svn-id: trunk@64762 -
2021-03-07 13:24:51 +00:00
mattias
4ec7483328 codetools: updated controller types, issue #38596
git-svn-id: trunk@64761 -
2021-03-07 11:39:46 +00:00
mattias
8faf2f2b80 codetools: fixed event assignment completion keep spaces in front of := operator
git-svn-id: trunk@64750 -
2021-03-05 18:26:11 +00:00
juha
9046b533af LazUtils: New LazStartsStr and similar functions. StartsStr etc. in StrUtils return False for empty sub-string, thus Delphi incompatible.
git-svn-id: trunk@64743 -
2021-03-04 08:58:54 +00:00
mattias
16eb8abc21 cody: fixed vk_up on empty
git-svn-id: trunk@64724 -
2021-03-02 18:04:30 +00:00
mattias
341a3f7a74 codetools: fixed TFindDeclarationTool.FindUnitReferences search in uses section, bug #38559
git-svn-id: trunk@64704 -
2021-02-28 23:34:09 +00:00
mattias
bacadab499 codetools: less hints
git-svn-id: trunk@64699 -
2021-02-28 22:39:26 +00:00
mattias
ed63a0aaea codetools: less hints
git-svn-id: trunk@64696 -
2021-02-28 22:12:36 +00:00
mattias
d3ab310266 codetools: fixed parsing var w:word platform = 1 platform
git-svn-id: trunk@64692 -
2021-02-28 21:33:21 +00:00
mattias
17781940eb codetools: added tests
git-svn-id: trunk@64691 -
2021-02-28 21:32:43 +00:00
mattias
4ba43eba0b codetools: fixed parsing var c:word = 1 deprecated, issue #38554
git-svn-id: trunk@64688 -
2021-02-28 08:59:14 +00:00
mattias
f7e8f4b52e codetools: test bug #38554
git-svn-id: trunk@64687 -
2021-02-28 08:58:42 +00:00
mattias
ac82b9e9bc codetools: less hints
git-svn-id: trunk@64683 -
2021-02-28 08:51:52 +00:00