Commit Graph

4978 Commits

Author SHA1 Message Date
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
juha
39fe54c5f6 Make LCL and LazUtils compile for Amiga systems (NoGUI). Issue #31186, patch from Marcus Sackrow.
git-svn-id: trunk@53853 -
2017-01-03 12:01:49 +00:00
zeljko
f684952850 Qt5: integration into LCL
git-svn-id: trunk@53807 -
2016-12-30 15:05:34 +00:00
mattias
c9680cf88a codetools: parser: added class operator copy and clone
git-svn-id: trunk@53706 -
2016-12-17 18:06:59 +00:00
mattias
418b895590 codetools: parsing operators Initialize and Finalize
git-svn-id: trunk@53682 -
2016-12-14 15:44:21 +00:00
mattias
8170f4738e codetools: test parsing Delphi class operators
git-svn-id: trunk@53670 -
2016-12-13 13:00:41 +00:00
mattias
0f58c1ef85 codetools: started test parsing record operators
git-svn-id: trunk@53668 -
2016-12-13 12:46:32 +00:00
mattias
4c62839125 codetools: tests: moved parsertest.lpi
git-svn-id: trunk@53667 -
2016-12-13 11:52:18 +00:00
mattias
de98a465dc codetools: tests: runtestscodetools.lpi
git-svn-id: trunk@53666 -
2016-12-13 11:47:19 +00:00
mattias
4b117ef8ba codetools; tests: clean up
git-svn-id: trunk@53665 -
2016-12-13 11:44:35 +00:00
mattias
028bc52289 codetools: less hints
git-svn-id: trunk@53615 -
2016-12-09 09:12:55 +00:00
mattias
c7037ac0ff codetools: fixed TCodeBuffer.FileOnDiskHasChanged when IsVirtual
git-svn-id: trunk@53532 -
2016-12-02 22:01:02 +00:00
mattias
f62bc9af4e codetools: clean up
git-svn-id: trunk@53470 -
2016-11-27 11:38:12 +00:00
juha
c266594a02 Codetools: Fix compilation in OS/X. Use CompareText in SysUtils, not in MacOSAll. Issue #31008.
git-svn-id: trunk@53468 -
2016-11-27 10:51:00 +00:00
ondrej
d43cabe221 CodeTools: support method completion without @ in Delphi mode
git-svn-id: trunk@53457 -
2016-11-25 13:32:29 +00:00
mattias
afaf9ea7d3 codetools: comment
git-svn-id: trunk@53405 -
2016-11-21 16:12:46 +00:00
mattias
aceccfc036 codetools: fixed SearchFileInDir and SearchPascalFileInDir searching using Pascal case insensitivity
git-svn-id: trunk@53398 -
2016-11-21 15:57:14 +00:00
mattias
6b7ab7bc9d codetools: fixed SearchFileInDir and SearchPascalFileInDir searching using Pascal case insensitivity
git-svn-id: trunk@53397 -
2016-11-21 15:57:00 +00:00
mattias
7ca0140e65 codetools: fixed StringToPascalConst, added tests, bug #30955
git-svn-id: trunk@53383 -
2016-11-18 17:44:17 +00:00
maxim
fc98381e53 Translations: Hungarian translation update by Péter Gábor, bug #30919
git-svn-id: trunk@53356 -
2016-11-12 12:40:05 +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
juha
8be0b04f08 CodeTools: Interpret string constants correctly. Issue #29723, patch from Bart.
git-svn-id: trunk@53266 -
2016-10-30 17:54:54 +00:00
ondrej
0e8a762c9f CodeTools: fix Copy and Delete compiler intrinsic parameters for FPC 3.1.0+
git-svn-id: trunk@53256 -
2016-10-28 20:37:01 +00:00
mattias
4d69ed3456 codetools: TTFindDeclarationTool.IsIncludeDirectiveAtPos
git-svn-id: trunk@53249 -
2016-10-28 10:49:10 +00:00
mattias
f1b926fd5e IDE: open project: read lpr and set IsPartOfProject for all used units with <in> filenames
git-svn-id: trunk@53245 -
2016-10-28 10:02:22 +00:00
mattias
72ab451ade codetools: fixed path sep normalization
git-svn-id: trunk@53229 -
2016-10-26 16:46:35 +00:00
mattias
98e64cab9d cody: fixed opening lpr file, bug #30787
git-svn-id: trunk@53207 -
2016-10-25 20:23:37 +00:00
mattias
729865999b codetools: less hints
git-svn-id: trunk@53197 -
2016-10-23 10:18:55 +00:00
mattias
08e20f0ff0 IDE: external tools: fixed show/hide window
git-svn-id: trunk@53196 -
2016-10-21 22:00:15 +00:00
mattias
cd1f78d608 codetools: fixed TStandardCodeTool.CompleteBlock to not add anything if cursor in a comment
git-svn-id: trunk@53192 -
2016-10-21 17:41:38 +00:00
mattias
b23106921b codetools: added TLinkScanner.FindFirstDirective
git-svn-id: trunk@53191 -
2016-10-21 17:41:05 +00:00
mattias
d7a2596644 codetools: fixed CleanPosIsInComment when cleanpos in front a comment
git-svn-id: trunk@53190 -
2016-10-21 17:40:37 +00:00
mattias
20a6bfdf08 codetools: tests: less hints
git-svn-id: trunk@53189 -
2016-10-21 16:49:40 +00:00
mattias
a9051948ae IDE: compile project/package: warn when passing an option twice with different values
git-svn-id: trunk@53184 -
2016-10-20 20:17:01 +00:00
mattias
94d76f9a59 codetools: ParseFPCParameters: case insensitive defines
git-svn-id: trunk@53183 -
2016-10-20 19:48:07 +00:00
mattias
bd2ab5c7bc codetools: ParseFPCParameters: moved to other fpc option parse functions
git-svn-id: trunk@53182 -
2016-10-20 17:02:59 +00:00
mattias
de0adccd6e codetools: ParseFPCParameters: alias params
git-svn-id: trunk@53181 -
2016-10-20 16:57:52 +00:00
mattias
3610fd18b2 codetools: started ParseFPCParameters
git-svn-id: trunk@53180 -
2016-10-20 16:24:52 +00:00
mattias
0248f28552 codetools: tests: fixed
git-svn-id: trunk@53178 -
2016-10-20 15:02:39 +00:00
mattias
f495d5d398 codetools: tests: renamed testrefactoring.pas
git-svn-id: trunk@53177 -
2016-10-20 14:37:14 +00:00
mattias
3677cdfb7f codetools: tests: renamed testfinddeclaration.pas
git-svn-id: trunk@53176 -
2016-10-20 14:36:10 +00:00
mattias
feb1a73e6c codetools: added option MethodDefaultSection
git-svn-id: trunk@53166 -
2016-10-19 21:51:56 +00:00
maxim
87e325a19a Cody: improved i18n, patch by Péter Gábor, bug #30746; regenerated translations and updated Russian translation
git-svn-id: trunk@53156 -
2016-10-18 22:23:44 +00:00
mattias
ebe105f987 codetools: started ParseFPCParameter
git-svn-id: trunk@53155 -
2016-10-18 13:34:55 +00:00
mattias
ce7d2bf070 codetools: tests: moved test modules to modulestest
git-svn-id: trunk@53154 -
2016-10-17 15:10:47 +00:00
mattias
541f15a9cb codetools: moved tests
git-svn-id: trunk@53152 -
2016-10-17 15:01:23 +00:00
mattias
f613ed6239 codetools: less hints
git-svn-id: trunk@53145 -
2016-10-17 13:56:30 +00:00
mattias
1cac5baa4d codetools: less hints
git-svn-id: trunk@53143 -
2016-10-17 13:50:26 +00:00
mattias
2ffb2eebdc codetools: clean up
git-svn-id: trunk@53136 -
2016-10-17 13:33:11 +00:00
mattias
e86e540a69 codetools: fixed ReadAndCompareUsedUnit, bug #30505
git-svn-id: trunk@53119 -
2016-10-14 18:51:19 +00:00
mattias
2e697531df codetools: identifier completion: fixed ilcfNeedsDo when as is next token, bug #30703
git-svn-id: trunk@53115 -
2016-10-14 18:11:56 +00:00
ondrej
c0cc369d3d IDE, CodeTools: support {scopedenums on} in "case ofall" code template
git-svn-id: trunk@53039 -
2016-09-26 18:14:15 +00:00
mattias
291ce7da29 cody: added function to insert an int64 id
git-svn-id: trunk@53019 -
2016-09-22 14:31:49 +00:00
mattias
2ee19afd56 codetools: fixed forward defined class-of
git-svn-id: trunk@52855 -
2016-08-21 19:29:50 +00:00
mattias
2b61a95171 codetools: fixed setting EndPos of ctnGenericParam, bug #30489
git-svn-id: trunk@52844 -
2016-08-20 17:30:17 +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
juha
9367da0ae5 Remove extra checks for empty strings together with IsValidIdent. It already handles an empty string.
git-svn-id: trunk@52812 -
2016-08-17 10:40:29 +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
mattias
a4ddf094a2 codetools: fixed AddWithBlock on ((i)), bug #29749
git-svn-id: trunk@52786 -
2016-08-04 20:04:12 +00:00
mattias
79f1b32221 codetools: fixed reading fpc unit cache
git-svn-id: trunk@52763 -
2016-08-01 07:45:24 +00:00
mattias
a9e52f41eb codetools: add with block: skip nested brackets, bug #29749
git-svn-id: trunk@52746 -
2016-07-24 16:47:48 +00:00
mattias
614f7eb46c codetools: fixed find include file, uninitialized var
git-svn-id: trunk@52738 -
2016-07-21 19:36:36 +00:00
mattias
4117b06b77 codetools: include file search: find include file without extension, use semicolon path separator in Delphi mode
git-svn-id: trunk@52736 -
2016-07-21 10:53:40 +00:00
mattias
5b863e3af0 codetools: example: fixed compilation
git-svn-id: trunk@52735 -
2016-07-21 10:48:16 +00:00
mattias
0bd6601f77 codetools: modeswitch unicodestrings: set FPC_UNICODESTRINGS
git-svn-id: trunk@52685 -
2016-07-14 09:28:57 +00:00
mattias
c2aed806b6 codetools: ExtractProcHead: phpAddParentProcs
git-svn-id: trunk@52683 -
2016-07-14 07:42:59 +00:00
juha
95e8ab1cd8 LCL, Codetools: Turn condition {$IFnDEF DisableWrapperFunctions} into {$IFDEF EnableWrapperFunctions} in units where it was forgotten.
git-svn-id: trunk@52678 -
2016-07-13 13:32:33 +00:00
mattias
54af11a069 codetools: identifier completion: method specifiers
git-svn-id: trunk@52647 -
2016-07-07 23:34:45 +00:00
mattias
ff5f987936 codetools: identifier completion: procedure specifiers and procedure type specifiers
git-svn-id: trunk@52646 -
2016-07-07 09:11:39 +00:00
mattias
21f07de277 codetools: identifier completion: method specifiers, patch #30352
git-svn-id: trunk@52645 -
2016-07-07 08:57:19 +00:00
ondrej
72d7b7a01a codetools: add Insert compiler intrinsic from FPC 3.1.1
git-svn-id: trunk@52567 -
2016-06-22 18:16:03 +00:00
ondrej
243ffe08c1 codetools: fix Copy() intrinsic
git-svn-id: trunk@52566 -
2016-06-22 18:02:41 +00:00
ondrej
a21850f1bc codetools: add Delete compiler intrinsic from FPC 3.1.1
git-svn-id: trunk@52565 -
2016-06-22 17:31:02 +00:00
mattias
9e4e6e88b3 codetools: include path for fpc src dir packages/rtl-*
git-svn-id: trunk@52554 -
2016-06-22 11:23:09 +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
maxim
36046a9b4d Translations: Ukrainian translation update by Olexandr Pylypchuk, bug #30250
git-svn-id: trunk@52463 -
2016-06-08 23:13:31 +00:00
maxim
207c318329 Regenerated translations
git-svn-id: trunk@52455 -
2016-06-08 21:59:41 +00:00
mattias
baadaff802 codetools: parse proc modifier compilerproc:id, bug #30237
git-svn-id: trunk@52444 -
2016-06-06 09:03:59 +00:00
ondrej
eda5b1fdca codetools: find unused units: add support for class helpers. (e.g. in "Unused units" dialog.)
git-svn-id: trunk@52411 -
2016-05-30 18:05:19 +00:00
ondrej
f12d1d31f1 codetools: show protected methods after the inherited keyword.
git-svn-id: trunk@52397 -
2016-05-27 15:35:59 +00:00
mattias
c190ac187c codetools: CleanCodeFromComments: added parameter KeepVerbosityDirectives
git-svn-id: trunk@52138 -
2016-04-07 07:38:39 +00:00
mattias
51f3338a2d translations: German: updates from Swen Heinig
git-svn-id: trunk@52067 -
2016-03-27 08:39:32 +00:00
juha
e5845a0818 Formatting
git-svn-id: trunk@52021 -
2016-03-22 21:57:06 +00:00
mattias
25f7a697e5 updated makefiles
git-svn-id: trunk@52001 -
2016-03-20 11:19:40 +00:00
maxim
58de93157f Codetools: cleaned up unused strings some more and regenerated translations
git-svn-id: trunk@51925 -
2016-03-11 23:00:59 +00:00
maxim
9b3cbbac5b IDE: Improved code completion dialog i18n
git-svn-id: trunk@51922 -
2016-03-11 22:37:16 +00:00
maxim
1a67a8c6c8 Codetools: cleaned up unused strings and regenerated translations
git-svn-id: trunk@51920 -
2016-03-11 22:17:00 +00:00
ondrej
006715e6f9 ide: use unit dialog: save recent settings in environmentopt/recent and not in codetools options, save also AllUnits check state, select first entry on filter
git-svn-id: trunk@51908 -
2016-03-10 21:58:12 +00:00
ondrej
082ad9fed9 codetools: fix TCodeBuffer.FileOnDiskHasChanged with IgnoreModifiedFlag=true
git-svn-id: trunk@51869 -
2016-03-09 08:37:34 +00:00
ondrej
3594fefc04 ide, codetools: change ClassCompleteCode into CompleteCodeInteractive
git-svn-id: trunk@51859 -
2016-03-08 16:46:12 +00:00
ondrej
3dd60b3899 ide: reload changed files dialog:
1) use TCheckListBox
2) allow to reload changed files too (unchecked by default, prefixed with *).

git-svn-id: trunk@51852 -
2016-03-07 20:36:45 +00:00
ondrej
06d19a8613 ide, codetools: implement class code creation (default: ctrl+shift+x) - the same as local code creation but the variable will be added to class/object section.
git-svn-id: trunk@51851 -
2016-03-07 20:22:33 +00:00
mattias
330696b99e fixed target cpu a64 to aarch64
git-svn-id: trunk@51816 -
2016-03-03 12:53:18 +00:00
mattias
8a70101ec3 IDE: quick fix ad warn off directive: add message pattern as comment
git-svn-id: trunk@51789 -
2016-03-01 15:41:58 +00:00
mattias
17f571cf26 components: less hints
git-svn-id: trunk@51788 -
2016-03-01 15:31:26 +00:00
mattias
6365797a00 codetools: added AddUnitWarnDirective
git-svn-id: trunk@51769 -
2016-03-01 14:30:10 +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
mattias
59dca2c44b codetools: added target os wii, bug #29737
git-svn-id: trunk@51718 -
2016-02-26 22:01:44 +00:00
mattias
7072474850 codetools: identifier completion: directive i %line%
git-svn-id: trunk@51716 -
2016-02-26 15:25:06 +00:00
ondrej
c2748fe332 codetools: use crc for identifier list item hash for speed reasons
git-svn-id: trunk@51652 -
2016-02-18 04:24:14 +00:00
ondrej
263929eb6c codetools: move StoreNodeHash to SetNode. See r51650 #a5cd34a174
git-svn-id: trunk@51651 -
2016-02-18 03:32:43 +00:00
ondrej
a5cd34a174 codetools: add StoreNodeHash for identifier list items.
Solves issue in identifier list painting after typing some text while identifier list is open.

git-svn-id: trunk@51650 -
2016-02-17 17:23:01 +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
4343883f8b codetools: revert r51425 #9305ef5172: show protected methods after the inherited keyword.
It enabled protected methods also from foreign context.

git-svn-id: trunk@51461 -
2016-01-30 19:34:22 +00:00
ondrej
b36d8209aa codetools: fix GroupLocalVariables for ranged types. Issue #29519
git-svn-id: trunk@51433 -
2016-01-27 23:13:43 +00:00
ondrej
d9e2f8e85a codetools: cleanup
git-svn-id: trunk@51428 -
2016-01-27 01:10:38 +00:00
ondrej
34fcf69c5c codetools: compare base result types for CompleteLocalVariableAssignment. Issue #29516
git-svn-id: trunk@51427 -
2016-01-27 00:48:08 +00:00
ondrej
3cc07414d3 codetools: allow methods with higher visibility in class headers with lower visibility. show them in gray color.
git-svn-id: trunk@51426 -
2016-01-26 23:50:35 +00:00
ondrej
9305ef5172 codetools: show protected methods after the inherited keyword.
git-svn-id: trunk@51425 -
2016-01-26 23:16:04 +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
2b1e36c811 codetools: fixes for the assignment atom flag.
git-svn-id: trunk@51411 -
2016-01-25 16:13:41 +00:00
ondrej
3fc41dac19 codetools: support hint modifiers not separated with semicolons as shown in FPC r32985 #207d40aab6, issue #29461.
git-svn-id: trunk@51396 -
2016-01-23 23:28:42 +00:00
ondrej
100684af05 codetools: break code completion after assignment on keywords. Issue #29448
git-svn-id: trunk@51394 -
2016-01-23 19:35:43 +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
0b41165f50 codetools: fix code completion after assignment in class methods. Issue #29448
git-svn-id: trunk@51392 -
2016-01-23 18:42:51 +00:00
ondrej
c6d56cf204 codetools: raise assignment exception instead of the first one. Issue #29448
git-svn-id: trunk@51391 -
2016-01-23 18:15:41 +00:00
ondrej
d6f267a40d codetools: allow variable code completion when cursor is after assignment. Issue #29448
git-svn-id: trunk@51390 -
2016-01-23 18:03:35 +00:00
ondrej
6fe2a8440e codetools: fix ShowCodeContext for predefined functions
git-svn-id: trunk@51386 -
2016-01-23 15:17:03 +00:00
ondrej
0ce59a4f03 codetools: fix unused units feature broken by r50266 #d49143fd83. Issue #29486
git-svn-id: trunk@51385 -
2016-01-23 11:45:55 +00:00
mattias
0b3c56aacc codetools: updated list of controllers, patch from Michael Ring
git-svn-id: trunk@51371 -
2016-01-21 12:32:47 +00:00
mattias
3c2bf43f60 codetools: added TCodeBuffer.InvalidateLoadDate
git-svn-id: trunk@51369 -
2016-01-21 12:03:28 +00:00
ondrej
139d5dc799 codetools: support class operator overloads with different result types. Issue #28875
git-svn-id: trunk@51363 -
2016-01-21 02:41:14 +00:00
ondrej
06fb297a2c codetools: fix ShowCodeContext for predefined functions
(e.g. "L := Length(|A)")

git-svn-id: trunk@51355 -
2016-01-20 14:16:59 +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
mattias
1bd944bb80 codetools: fixed parsing parameter modifier location on m68k and powerpc, bug #29350
git-svn-id: trunk@51313 -
2016-01-18 16:17:16 +00:00
mattias
5698c6ed02 codetools: CleanCodeFromComments added parameter KeepDirectives
git-svn-id: trunk@51269 -
2016-01-13 17:25:10 +00:00
ondrej
16925fa4b4 codetools: support static array helpers
git-svn-id: trunk@51216 -
2016-01-06 19:53:50 +00:00
ondrej
90b92def4e codetools: pascalreadertool: support TGenericClass<TypeReference,TypeReference>.TNestedClass (delphi mode)
git-svn-id: trunk@51140 -
2016-01-02 22:14:28 +00:00
ondrej
e0dca9c427 codetools: fix TDirectiveSequenceItem.FindValue
git-svn-id: trunk@51139 -
2016-01-02 21:44:37 +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
mattias
8a1e70fd57 IDE: use unit dialog: save choice of uses section
git-svn-id: trunk@50998 -
2015-12-22 22:39:01 +00:00
maxim
99ca72b8e9 Translations: French translation update by Gilles Vasseur, bugs #29214, #29222
git-svn-id: trunk@50970 -
2015-12-21 22:36:46 +00:00
maxim
e1239e4c94 Translations: French translation update by Gilles Vasseur, bug #29208
git-svn-id: trunk@50925 -
2015-12-18 23:55:17 +00:00
maxim
8138f89a1c Codetools: regenerated translations
git-svn-id: trunk@50914 -
2015-12-18 23:13:15 +00:00
mattias
f75d254901 codetools: verbosity
git-svn-id: trunk@50889 -
2015-12-17 22:33:49 +00:00
mattias
7896da19ae IDE: fixed searching in PATH on Windows
git-svn-id: trunk@50865 -
2015-12-17 14:34:53 +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
ondrej
3a6697bc77 codetools, lazutils, win32: less hints
git-svn-id: trunk@50822 -
2015-12-15 16:27:39 +00:00
mattias
01acb9a1bc codetools: fixed parsing variable hint modifiers not behind semicolon
git-svn-id: trunk@50721 -
2015-12-09 17:02:02 +00:00
mattias
70581fdd39 codetools: fixed search for fppkg sources, bug #29154
git-svn-id: trunk@50713 -
2015-12-08 21:18:58 +00:00
maxim
0b0f12ffd5 Translations: Hungarian translation update by Péter Gábor, bug #29118
git-svn-id: trunk@50554 -
2015-12-01 21:25:22 +00:00
mattias
704600a31f codetools: fixed compiling
git-svn-id: trunk@50476 -
2015-11-23 10:03:54 +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
8098f1092f codetools: MakeRelativePath: fixed loop when there is no shared path
git-svn-id: trunk@50455 -
2015-11-21 09:38:52 +00:00
mattias
151933ef38 codetools: less verbose
git-svn-id: trunk@50404 -
2015-11-18 22:11:52 +00:00
mattias
c14048ae32 codetools: tests: generics
git-svn-id: trunk@50349 -
2015-11-16 22:23:22 +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
mattias
a8546cf427 codetools: test for finding specialize identifier in list of ancestors
git-svn-id: trunk@50339 -
2015-11-16 20:46:28 +00:00
ondrej
6ef11b34cc codetools: fixed CalcMemSize of TDirectiveSequenceItem.
git-svn-id: trunk@50328 -
2015-11-13 16:05:29 +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
1b7e95bd67 codetools: fixed GetIdentStart* for identifiers prefixed with &.
git-svn-id: trunk@50322 -
2015-11-12 15:50:59 +00:00
ondrej
25cf6872e8 codetools: reverted exception change from rev 50320 #7fa343bb58.
git-svn-id: trunk@50321 -
2015-11-12 15:02:04 +00:00
ondrej
7fa343bb58 codetools: support identifier cache for identifiers prefixed with & (e.g. enum values).
git-svn-id: trunk@50320 -
2015-11-12 14:58:35 +00:00
mattias
c7f3cc0e1c codetools: added processor types of avr, patch #28996 from Simon Ameis
git-svn-id: trunk@50316 -
2015-11-12 10:42:15 +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
113b7618c3 codetools comments
git-svn-id: trunk@50305 -
2015-11-11 14:59:23 +00:00
mattias
63a617d5db codetools: RemoveWithBlock: fixed Unindent if indent diff is 0
git-svn-id: trunk@50280 -
2015-11-11 12:43:01 +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
mattias
05335610bd codetools: added test for var with nested class type
git-svn-id: trunk@50271 -
2015-11-10 12:33:58 +00:00
mattias
1e10c98414 codetools: tests: disabled fail test
git-svn-id: trunk@50270 -
2015-11-10 11:11:10 +00:00
mattias
40480bf39d codetools: added tests unit order and namespaces
git-svn-id: trunk@50269 -
2015-11-10 11:01:59 +00:00
ondrej
ba310dcf48 IDE, CodeTools: improved character case recognition for units and namespaces.
git-svn-id: trunk@50268 -
2015-11-10 10:38:58 +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
mattias
7395b9b047 codetools: tests with
git-svn-id: trunk@50265 -
2015-11-09 21:47:46 +00:00
mattias
a98baa8442 codetools: added FindWithBlockStatement
git-svn-id: trunk@50264 -
2015-11-09 16:32:28 +00:00
mattias
ab78cd25a0 codetools: start ctnWithStatement right behind do
git-svn-id: trunk@50263 -
2015-11-09 16:31:55 +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
mattias
f8980e1003 codetools: tests: started test for RemoveWithBlock
git-svn-id: trunk@50260 -
2015-11-08 18:15:07 +00:00
mattias
cd32c38a07 codetools: tests: renamed finddeclarationtest to testcodetools
git-svn-id: trunk@50259 -
2015-11-08 17:19:23 +00:00
mattias
f0fbc37841 codetools: tests: renamed fdtbase to finddeclarationtests.pas
git-svn-id: trunk@50258 -
2015-11-08 17:15:49 +00:00
mattias
0135b416cb cody: todos
git-svn-id: trunk@50257 -
2015-11-08 15:59:42 +00:00
mattias
5c52fa883c cody: todos
git-svn-id: trunk@50251 -
2015-11-08 10:19:31 +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
maxim
1a76f64c08 Cody: improved i18n, regenerated translations and updated Russian translation
git-svn-id: trunk@50224 -
2015-11-04 13:49:56 +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
2e8ada0af4 codetools: save file: convert encoding before opening file
git-svn-id: trunk@50210 -
2015-11-02 23:00:15 +00:00
ondrej
14e8ffa23a IDE, CodeTools: add more options and a prompt dialog for method creation. Issue #13994
git-svn-id: trunk@50196 -
2015-10-29 11:08:52 +00:00
mattias
2c929b55db cleaned up
git-svn-id: trunk@50177 -
2015-10-26 21:41:56 +00:00
mattias
105b3e0652 codetools: identifier completion: $optimization directive
git-svn-id: trunk@50161 -
2015-10-25 09:17:25 +00:00
mattias
06c04debf6 tests: ExtractFileUnitname
git-svn-id: trunk@50160 -
2015-10-24 21:50:00 +00:00
maxim
250c06913b Cody: updated Russian translation
git-svn-id: trunk@50132 -
2015-10-20 22:36:14 +00:00
mattias
655cfb0abf codetools: tests for dotted units
git-svn-id: trunk@50122 -
2015-10-19 13:30:14 +00:00
mattias
2c99963589 codetools: added tests for dotted units
git-svn-id: trunk@50121 -
2015-10-19 13:25:09 +00:00
mattias
1900575f1b codetools: added tests for dotted units
git-svn-id: trunk@50120 -
2015-10-19 13:23:15 +00:00
mattias
5c15224a08 codetools: added ExtractFileUnitname
git-svn-id: trunk@50119 -
2015-10-19 11:22:24 +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
ea4449e888 codetools: added tests helper and protected
git-svn-id: trunk@50114 -
2015-10-18 22:21:45 +00:00
mattias
86f922df9a codetools: find declaration: enum type helpers
git-svn-id: trunk@50104 -
2015-10-18 15:01:14 +00:00
mattias
68d7015320 codetools: nicer test result
git-svn-id: trunk@50103 -
2015-10-18 14:24:45 +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
8d3d4e6a6f codetools: debug
git-svn-id: trunk@50087 -
2015-10-16 21:37:34 +00:00
mattias
4245b8129c codetools: added tests bug #28866
git-svn-id: trunk@50086 -
2015-10-16 21:37:22 +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
649c60cea8 codetools: gather identifiers behind string constant dot
git-svn-id: trunk@50084 -
2015-10-16 15:53:10 +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
1125a0b930 codetools: test for default property
git-svn-id: trunk@50079 -
2015-10-16 08:09:57 +00:00
mattias
b083361b7a codetools: tests: readme
git-svn-id: trunk@50078 -
2015-10-16 08:07:03 +00:00
mattias
a4af6c3a7d codetools: test find declaration of ObjClass+Category on non darwin
git-svn-id: trunk@50077 -
2015-10-16 07:58:15 +00:00
mattias
b4c0a18792 cody: find overloads: resourcestrings and show errors if target not reachable
git-svn-id: trunk@50070 -
2015-10-15 11:10:17 +00:00
mattias
bfea0890b0 codetools: code completion: check completing method body to header as last check, patch #28819 from Ondrej
git-svn-id: trunk@50067 -
2015-10-14 23:21:24 +00:00
maxim
8dffe81769 Cody: updated Russian translation
git-svn-id: trunk@50062 -
2015-10-14 22:27:07 +00:00
mattias
ce04461f76 cody: find overloads: fixed checking methods
git-svn-id: trunk@50057 -
2015-10-14 14:11:55 +00:00
mattias
4981bd5136 cody: find overloads: keep selection on refresh
git-svn-id: trunk@50056 -
2015-10-14 13:29:56 +00:00
mattias
38c4e5243b cody: find overloads: check compatibility
git-svn-id: trunk@50055 -
2015-10-14 13:25:43 +00:00
mattias
9ddf8c3804 cody: find overloads: do not hide grid on refresh
git-svn-id: trunk@50054 -
2015-10-14 11:20:13 +00:00
mattias
d76225f6d7 codetools: local var completion: always check the identifier at cursor first
git-svn-id: trunk@50053 -
2015-10-14 10:51:53 +00:00
mattias
6716258279 codetools: code completion: create local var based on first occurence instead of at cursor, patch #28819 from Ondrej
git-svn-id: trunk@50051 -
2015-10-14 09:27:25 +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
397b374d95 codetools: tests: default property
git-svn-id: trunk@50049 -
2015-10-13 20:12:32 +00:00
mattias
12645682d5 codetools: clean up
git-svn-id: trunk@50048 -
2015-10-13 17:06:59 +00:00
mattias
b1193c668c codetools: local var completion: also try first occurrence of undefined variable
git-svn-id: trunk@50042 -
2015-10-12 23:07:12 +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
b298088ee4 codetools: added test find declaration with
git-svn-id: trunk@50040 -
2015-10-12 21:57:21 +00:00
mattias
28eba57562 codetools: parameter hints: added SetString for FPC 2.7.1+
git-svn-id: trunk@50034 -
2015-10-11 17:54:32 +00:00
mattias
2e77744a8c codetools: identifier completion: added SetString for FPC 2.7.1+, from Ondrej
git-svn-id: trunk@50033 -
2015-10-11 17:46:08 +00:00
mattias
066fb17354 codetools: added check for guesstype of helper function result
git-svn-id: trunk@50022 -
2015-10-09 12:26:09 +00:00
mattias
ced7b32ee9 codetools: FindExpressionTypeOfTerm: removed obsolete FindBaseTypeOfNode
git-svn-id: trunk@50021 -
2015-10-09 12:24:52 +00:00
mattias
f7d22a8e0c codetools: fixed test class helper default property
git-svn-id: trunk@50020 -
2015-10-09 10:29:15 +00:00
mattias
beaf4b9def codetools: added test for default property in class helper
git-svn-id: trunk@50019 -
2015-10-09 10:21:36 +00:00
mattias
d9c87e9bdd codetools: added test for default property in class helper
git-svn-id: trunk@50018 -
2015-10-09 10:17:54 +00:00