Commit Graph

5328 Commits

Author SHA1 Message Date
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
juha
d1b15edcfe Codetools: Improve parsing of recursive generics structures. Issue #34824, patch from soerensen3.
git-svn-id: trunk@62693 -
2020-03-05 10:47:05 +00:00
mattias
1ba42be4c3 codetools: test varargs
git-svn-id: trunk@62659 -
2020-02-22 09:03:05 +00:00
mattias
3007a4b542 codetools: parse varargs of type
git-svn-id: trunk@62655 -
2020-02-21 11:42:49 +00:00
mattias
6f178bc229 codetools: test varargs of type
git-svn-id: trunk@62654 -
2020-02-21 11:42:41 +00:00
mattias
5ff82c12a9 codetools: fixed IsCompilerExecutable
git-svn-id: trunk@62651 -
2020-02-20 09:08:19 +00:00
mattias
a5a26cdaec codetools: IsCompilerExecutable now allows fpc* and ppc*, bug #36689
git-svn-id: trunk@62650 -
2020-02-20 09:03:44 +00:00
maxim
ed7473f789 Codetools: AVR controller information update to the latest support in FPC trunk. The list is now sorted. Patch by Christo Crause, bug #36707.
git-svn-id: trunk@62643 -
2020-02-17 23:28:35 +00:00
juha
ec192ce438 Codetools: In function IsCompilerExecutable fix dcc extension check and fix return value.
git-svn-id: trunk@62634 -
2020-02-16 16:10:46 +00:00
juha
29d750ae6a Codetools: Support Codecompletion inside "with begin end" block. May fix other cases, too. Issue #0023782, patch from jefferywa.
git-svn-id: trunk@62470 -
2019-12-30 13:59:12 +00:00
juha
9aaa7c7143 IDE: Disable 'Guess Misplaced IFDEF/ENDIF' feature until it gets fixed. Can be enabled by defining GuessMisplacedIfdef.
git-svn-id: trunk@62427 -
2019-12-21 08:11:26 +00:00
juha
6a3024178c Codetools: fix compilation. Issue #36409.
git-svn-id: trunk@62403 -
2019-12-15 21:34:56 +00:00
juha
46beb34edb IDE: New target OS - DragonFlyBSD. Issue #36409, patch from CudaText man.
git-svn-id: trunk@62401 -
2019-12-15 21:10:39 +00:00
mattias
b6112f516e codetools: parse property; experimental; platform
git-svn-id: trunk@62394 -
2019-12-14 18:02:51 +00:00
mattias
ee86d9985c codetools: test property; experimental; platform
git-svn-id: trunk@62393 -
2019-12-14 18:02:43 +00:00
ondrej
b21a3831c1 CodeTools: ofall() code macro: keep & prefixes. Issue #35801
git-svn-id: trunk@62244 -
2019-11-15 21:38:13 +00:00
ondrej
fde024d03d CodeTools: fix &-prefixed identifier comparison. Fixes #32561
git-svn-id: trunk@62243 -
2019-11-15 21:18:09 +00:00
ondrej
d3e927b65c CodeTools: CodeCompletion: include templates (optional). Issue #34389
git-svn-id: trunk@62240 -
2019-11-15 19:26:51 +00:00
ondrej
86a7065f15 CodeTools: declare for-in variable for interfaces. Issue #35290
git-svn-id: trunk@62239 -
2019-11-15 19:21:40 +00:00
juha
1ff30d6bfd Codetools: Add unit names correctly to project source. Issue #35803.
git-svn-id: trunk@62169 -
2019-11-03 16:45:48 +00:00
juha
45446f15b8 Formatting
git-svn-id: trunk@62168 -
2019-11-03 16:45:42 +00:00
juha
6bb1d0f3da Codetools: Support namespaced units in places where function IsValidIdent is called.
git-svn-id: trunk@62135 -
2019-10-27 15:46:19 +00:00
juha
a2c685b569 Codetools: Rename a namespaced unit correctly in project source. Issue #35803.
git-svn-id: trunk@62134 -
2019-10-27 15:46:17 +00:00
mattias
ea9b316ba6 codetools: added modeswitch msImplicitFunctionSpecialization
git-svn-id: trunk@62067 -
2019-10-16 10:27:16 +00:00
mattias
79aa478b8d codetools: fixed find declaration multidim[,].sub
git-svn-id: trunk@61962 -
2019-10-03 14:35:55 +00:00
mattias
fc24b68aa6 codetools: test multidim[,].sub
git-svn-id: trunk@61961 -
2019-10-03 14:35:42 +00:00
maxim
bfc5807673 Translations: Ukrainian translation update by Olexandr Pylypchuk, bug #36097
git-svn-id: trunk@61907 -
2019-09-20 23:42:25 +00:00
maxim
58bc01ccf8 Translations: Slovak translation update by LacaK, bug #36088
git-svn-id: trunk@61906 -
2019-09-20 23:25:41 +00:00
mattias
c1a8c22f07 codetools: sourcecloser: fixed cleaning up unit begin block
git-svn-id: trunk@61871 -
2019-09-13 19:23:20 +00:00
mattias
927af7729c codetools: omit end keyword of unit begin block
git-svn-id: trunk@61870 -
2019-09-13 19:22:42 +00:00
mattias
87a7521bad codetools: fixed class completion with function result type params
git-svn-id: trunk@61717 -
2019-08-17 18:35:58 +00:00
mattias
f167da7d21 codetools: added test class completion with function result type params
git-svn-id: trunk@61716 -
2019-08-17 18:35:47 +00:00
maxim
bd9bfc01d4 Translations: Turkish translation update by Onur ERÇELEN, bug #35865
git-svn-id: trunk@61612 -
2019-07-21 22:57:16 +00:00
mattias
f0aa8dbf58 IDE: define codetools values for custom options -Ciro -g -g- -gw -Sah, issue #35771, from Yuriy Sydorov
git-svn-id: trunk@61483 -
2019-06-26 17:23:33 +00:00
mattias
c48756a9cc codetools: fixed parsing non advanced records
git-svn-id: trunk@61479 -
2019-06-26 14:09:31 +00:00
mattias
66cbca668d codetools: fixed parsing, issue #35713
git-svn-id: trunk@61375 -
2019-06-13 06:53:27 +00:00
mattias
d86e447ba3 codetools: fixed result, issue #35632
git-svn-id: trunk@61373 -
2019-06-12 22:22:15 +00:00
mattias
6042984507 codetools: fixed result, issue #35632
git-svn-id: trunk@61368 -
2019-06-12 15:33:06 +00:00
juha
79b8e496b5 IDE: Use proper case for Target OS names. Issue #35589, patch from Alexey Tor.
git-svn-id: trunk@61274 -
2019-05-22 14:41:36 +00:00
maxim
dd661a10de Translations: regenerated all relevant translation files after r61231 #5b72fe1d56
git-svn-id: trunk@61233 -
2019-05-16 23:10:15 +00:00
maxim
b68407fc52 Translations: regenerated all relevant translation files after r61225 #75a8b1b83c
git-svn-id: trunk@61226 -
2019-05-13 23:21:39 +00:00
mattias
7906467427 codetools: sourcecloser: keep implementation keyword
git-svn-id: trunk@61197 -
2019-05-10 13:18:14 +00:00
mattias
e408bd979a IDE: fixed adding event, when property unit has no implementation section
git-svn-id: trunk@61195 -
2019-05-10 13:11:43 +00:00
mattias
2248ddea17 codetools: added option -M syntaxmode
git-svn-id: trunk@61193 -
2019-05-10 08:23:03 +00:00
mattias
1d8e8b2751 codetools: fixed node start class sections
git-svn-id: trunk@61109 -
2019-05-03 08:54:34 +00:00
joost
cb9c628098 Codetools: Enabled possibility to compile with fpmake
git-svn-id: trunk@61027 -
2019-04-20 19:02:05 +00:00
mattias
507da49bf0 codetools: fixed mem leak FPM.UnitToSrc
git-svn-id: trunk@60711 -
2019-03-17 20:50:37 +00:00
juha
a7f4ce33ff Codetools: Reuse code in TPascalReaderTool.ExtractSourceName.
git-svn-id: trunk@60676 -
2019-03-15 11:23:33 +00:00
juha
2599738437 Codetools: Fix function FindNextIncludeDirective when an include file name is quoted.
git-svn-id: trunk@60675 -
2019-03-15 11:23:21 +00:00
mattias
be9ae3b82b codetools: added fpc errorcn.msg encoding info CP936
git-svn-id: trunk@60672 -
2019-03-14 19:52:29 +00:00
mattias
5ecb90b18b codetools: RunFPCVerbose: append always -Fr if available
git-svn-id: trunk@60670 -
2019-03-14 19:41:30 +00:00
mattias
1f371c8960 codetools: parse fpc output: keep FULLVERSION value
git-svn-id: trunk@60661 -
2019-03-13 07:10:43 +00:00
mattias
7c75981ce8 codetools: identifier completion: added $DispatchField, $DispatchStrField for pas2js
git-svn-id: trunk@60658 -
2019-03-12 11:40:34 +00:00
mattias
aab3418c8c codetools: fixed objcclass
git-svn-id: trunk@60629 -
2019-03-09 12:12:10 +00:00
mattias
21554fa1b3 codetools: added FindProc
git-svn-id: trunk@60627 -
2019-03-08 23:02:29 +00:00
mattias
7167eb3bd1 codetools: fixed GetPascalCompilerForDirectory using same algo as TLinkScanner
git-svn-id: trunk@60592 -
2019-03-05 10:12:21 +00:00
mattias
9f27095fee codetools: added IsPas2jsTargetOS IsPas2jsTargetCPU, removed deprecated functions
git-svn-id: trunk@60590 -
2019-03-05 09:43:24 +00:00
mattias
19c2881ef0 codetools: fixed compiler version check
git-svn-id: trunk@60583 -
2019-03-04 13:32:26 +00:00
mattias
41a3fb6d01 codetools: TPCTargetConfigCache.Update: check if Units<>nil
git-svn-id: trunk@60580 -
2019-03-04 12:50:38 +00:00
mattias
bb2ef7b609 undo 60575
git-svn-id: trunk@60576 -
2019-03-04 08:00:18 +00:00
mattias
e3b4ad515f startlazarus: fixed regression, issue #35184, Cyrax
git-svn-id: trunk@60575 -
2019-03-04 07:57:40 +00:00
mattias
ac3b7f22d0 codetools: comment
git-svn-id: trunk@60553 -
2019-03-01 17:55:36 +00:00