Commit Graph

5389 Commits

Author SHA1 Message Date
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
martin
06eb834614 Implement "Select code block"
git-svn-id: trunk@64672 -
2021-02-26 22:01:33 +00:00
mattias
9baf8fe81d codetools: fixed GetSmartHint other unit
git-svn-id: trunk@64603 -
2021-02-17 13:59:24 +00:00
juha
3f78f0d62d New optimized functions in LazUtils: FilenameExtIs and FilenameExtIn. Used instead of CompareFileExt and similar.
git-svn-id: trunk@64583 -
2021-02-15 08:43:50 +00:00
mattias
62c37ad72a updated Makefiles
git-svn-id: trunk@64567 -
2021-02-13 13:01:14 +00:00
juha
77e6853ca6 Components: Reduce calls to LowerCase().
git-svn-id: trunk@64515 -
2021-02-10 13:43:15 +00:00
juha
4733d3b7a1 Fix compilation with FPC 3.0.4.
git-svn-id: trunk@64498 -
2021-02-05 20:07:12 +00:00
juha
0feb7a5662 Codetools, Debugger: Use a faster compare method for case-insensitive strings and StringLists.
git-svn-id: trunk@64465 -
2021-02-05 11:28:11 +00:00
juha
2ba0ae90c4 IDE: Formatting and cleanup.
git-svn-id: trunk@64438 -
2021-01-29 19:58:57 +00:00
juha
aeb086e9c0 IDE, Codetools: Restore CodeToolBoss.DefineTree.ClearCache calls that were removed in optimization.
git-svn-id: trunk@64417 -
2021-01-24 12:42:50 +00:00
juha
b092cee8be IDE: Optimize DefineTemplates updates for packages and project.
git-svn-id: trunk@64405 -
2021-01-19 09:20:34 +00:00
juha
dcf754c7c8 Codetools: Refactoring, move sub-procedure CalculateTemplate out from TDefineTree.Calculate.
git-svn-id: trunk@64394 -
2021-01-16 06:44:17 +00:00
juha
42850cfe4d LazUtils: Deprecate now obsolete unit LazUtf8Classes and remove its references from Lazarus code.
git-svn-id: trunk@64384 -
2021-01-14 12:41:32 +00:00
juha
36968885dd LazUtils: Rename function FilenameIsPascalUnit -> FilenameHasPascalExt. Clashed with a function in Codetools. Update references.
git-svn-id: trunk@64376 -
2021-01-11 16:16:58 +00:00
juha
3ea7788cbf Optimize CompareFileExt in different ways. Comparison of FPC/Lazarus generated files can be case-sensitive.
git-svn-id: trunk@64374 -
2021-01-10 19:07:52 +00:00
juha
edc2cc5dbb Fix StandardCodeTool.HasInterfaceRegisterProc. Simplify code for checking added unit files.
git-svn-id: trunk@64156 -
2020-11-23 10:26:46 +00:00
pascal
31d43390f6 codetools: threadvar support for pascalparsertool. Issue #36947, patch from Delcio Sbeghen.
git-svn-id: trunk@64146 -
2020-11-17 19:25:20 +00:00
juha
4321fbf6e5 LazUtils: move procedure ReplaceSubstring from LazUTF8 to LazStringUtils.
git-svn-id: trunk@64081 -
2020-10-29 15:45:34 +00:00
juha
78d5022afa IDE: Minor optimization, cleanup and formatting.
git-svn-id: trunk@64047 -
2020-10-22 13:35:04 +00:00
juha
ebad1d78ef IDE: Add iOS as target. Issue #37869, patch from Alfred.
git-svn-id: trunk@63987 -
2020-10-09 18:39:07 +00:00
mattias
9e19eed0b3 codetools: added intrinsic GetTypeKind
git-svn-id: trunk@63832 -
2020-08-26 19:09:33 +00:00
pascal
da8c2d75b5 codetools: generate local var for Length() with type SizeInt
git-svn-id: trunk@63800 -
2020-08-21 07:43:13 +00:00
pascal
7fefade33f codetools: changed some types of fpc intrinsics from Integer to SizeInt
git-svn-id: trunk@63799 -
2020-08-21 06:40:19 +00:00
pascal
4787a58f27 codetools: fixed identifier completion in or behind empty string. Issue #26964
git-svn-id: trunk@63798 -
2020-08-20 11:41:33 +00:00
mattias
ec9a94e00b codetools: added SetString overloads
git-svn-id: trunk@63683 -
2020-08-03 20:55:53 +00:00
mattias
708776f819 codetools: added SetString overloads
git-svn-id: trunk@63681 -
2020-08-03 20:53:27 +00:00
mattias
9f37792f79 codetools: added SetString overloads
git-svn-id: trunk@63679 -
2020-08-03 20:50:29 +00:00
mattias
32f1e69fdd codetools: search unit first in current directory, issue #37466
git-svn-id: trunk@63675 -
2020-08-02 16:27:24 +00:00
mattias
c85295938d codetools: tests: less hints, test search in virtual sub dir
git-svn-id: trunk@63674 -
2020-08-02 16:18:21 +00:00
mattias
2a1638310f codetools: added winapi proc modifier, issue #36927
git-svn-id: trunk@63633 -
2020-07-23 13:39:46 +00:00
juha
4fde982e86 Codetools: Find form's ancestor also when a generic form is specialized. Issue #37396, patch from Imants Gulbis.
git-svn-id: trunk@63627 -
2020-07-22 20:16:22 +00:00
mattias
61c53d6f41 LazUtils/FreeType: Separate FreeType stuff into its own package
git-svn-id: trunk@63558 -
2020-07-14 18:09:17 +00:00
mattias
8ceb09a67b make: changed default darwin lcl platform from carbon to cocoa
git-svn-id: trunk@63551 -
2020-07-13 09:00:41 +00:00
maxim
8a7112535d Translations: Chinese translation update by robsean, bug #37290
git-svn-id: trunk@63485 -
2020-07-01 21:39:48 +00:00
mattias
9dcd9ee04d updated makefiles
git-svn-id: trunk@63453 -
2020-06-28 11:01:41 +00:00
mattias
494953483e codetools: updated fallback fpc msg file
git-svn-id: trunk@63451 -
2020-06-27 19:47:52 +00:00
mattias
cefb52cf69 codetools: test add unit does not break dotted names
git-svn-id: trunk@63406 -
2020-06-20 16:03:16 +00:00
mattias
665ab3cba6 codetools: AddUnitToMainUsesSection using flags, test
git-svn-id: trunk@63404 -
2020-06-20 15:52:42 +00:00
maxim
b91524a887 Translations: Ukrainian translation update by Olexandr Pylypchuk, bug #37201
git-svn-id: trunk@63346 -
2020-06-12 15:01:32 +00:00
maxim
1db124462b CodeTools: cleaned up outdated codetools/languages/README.txt contents
git-svn-id: trunk@63340 -
2020-06-10 15:57:34 +00:00
mattias
7c7f225d4f codetools: parse proc modifier async, built-in function await
git-svn-id: trunk@63192 -
2020-05-21 10:22:41 +00:00
mattias
9364c88e45 codetools: support for xtensa cpu and freertos OS, issue #37097, from Christo Crause
git-svn-id: trunk@63185 -
2020-05-19 12:51:38 +00:00
mattias
ac6b80f0c2 codetools: fixed extract generic type param names, issue #37081, from Pascal Riekenberg
git-svn-id: trunk@63181 -
2020-05-18 10:29:22 +00:00
mattias
c64cd287c5 codetools: var completion of for-var-in-genericarray, from Pascal Riekenberg, issue #37076
git-svn-id: trunk@63160 -
2020-05-15 09:37:49 +00:00
mattias
9083125eb6 codetools: fixed semicolon after specialize on class completion, from Pascal Riekenberg
git-svn-id: trunk@63159 -
2020-05-15 08:37:03 +00:00
mattias
eb33c352df codetools: test parsing nested generic inline expression, from Pascal Riekenberg
git-svn-id: trunk@63149 -
2020-05-14 08:18:22 +00:00
mattias
9aa25f1ba7 codetools: extract generic type reference, from Pascal Riekenberg
git-svn-id: trunk@63148 -
2020-05-14 08:17:17 +00:00
mattias
36e7acabf5 codetools: fixed AV
git-svn-id: trunk@63138 -
2020-05-12 17:19:27 +00:00
mattias
1c9deb7a4c codetools: undo patch r62693 #d1b15edcfe, it broke some tests
git-svn-id: trunk@63137 -
2020-05-12 17:08:22 +00:00
mattias
797768a965 codetools: code completion for "FOR var IN" with generic class, from Pascal Riekenberg
git-svn-id: trunk@63136 -
2020-05-12 16:47:24 +00:00
mattias
ced548bb66 codetools: added example FindReferences
git-svn-id: trunk@63087 -
2020-04-27 21:11:52 +00:00
mattias
c5c9d0014f codetools: added example FindReferences
git-svn-id: trunk@63086 -
2020-04-27 21:08:35 +00:00
mattias
506b6a8af4 codetools: if fpc.exe omits last line with realcompiler, use compile in path
git-svn-id: trunk@63080 -
2020-04-25 19:11:10 +00:00
juha
83b5ba73f2 Codetools: Comment out functions in BasicCodetools dealing with CreateForm. Methods in StdCodetools are used.
git-svn-id: trunk@63006 -
2020-04-17 09:32:13 +00:00
juha
651a6436a2 Support Haiku build. Makefiles are generated from Makefile.fpc files using proper tools. Issue #36316, patch from Alfred.
git-svn-id: trunk@62890 -
2020-04-05 11:35:01 +00:00
dmitry
0cc6e203b8 codetools: adding suppot for cblocks procedural type modifier. Based on patch by Juha Manninen. bug #36752
git-svn-id: trunk@62886 -
2020-04-05 04:33:04 +00:00
juha
de38b0140e Codetools: Understand BuildIntf package with any project.
git-svn-id: trunk@62812 -
2020-03-27 20:20:43 +00:00
mattias
a472e9ef09 buildintf: split from ideintf
git-svn-id: trunk@62795 -
2020-03-22 11:58:11 +00:00
juha
de408de69e Codetools: Support ArrayToDynArray and other missing modeswitches. Issue #36796.
git-svn-id: trunk@62768 -
2020-03-15 17:55:43 +00:00
ondrej
08b5b4a244 CodeTools: support {$modeswitch multihelpers}. Issue #35911
git-svn-id: trunk@62702 -
2020-03-07 17:03:21 +00:00