Commit Graph

5004 Commits

Author SHA1 Message Date
mattias
d320790ba2 codetools: test write variant
git-svn-id: trunk@56171 -
2017-10-23 12:55:02 +00:00
mattias
dbf2c24c6e codetools: GetIdentStartEndAtPosition: check if within number
git-svn-id: trunk@56170 -
2017-10-23 11:48:46 +00:00
mattias
0a43bac5b4 codetools: test GetValuesOfCaseVariable on enum
git-svn-id: trunk@56169 -
2017-10-23 11:47:57 +00:00
mattias
eee3db1cf7 codetools: GetValuesOfCaseVariable: WithTypeDefIfScoped default true
git-svn-id: trunk@56168 -
2017-10-23 11:22:39 +00:00
mattias
f424cce57e codetools: test GetValuesOfCaseVariable on enum
git-svn-id: trunk@56167 -
2017-10-23 11:22:14 +00:00
mattias
c210d57d51 codetools: write sets
git-svn-id: trunk@56166 -
2017-10-23 10:01:20 +00:00
mattias
b7e47080aa codetools: write enums and sets
git-svn-id: trunk@56165 -
2017-10-23 09:58:06 +00:00
maxim
7f8d55f135 Translations: French translation update by Gilles Vasseur, bug #32587
git-svn-id: trunk@56149 -
2017-10-22 22:02:51 +00:00
mattias
4151bca8e4 codetools: test write string, widestring, unicodestring
git-svn-id: trunk@56147 -
2017-10-22 19:51:14 +00:00
mattias
f5831e3b32 codetools: test writing float properties
git-svn-id: trunk@56139 -
2017-10-21 07:10:14 +00:00
juha
647d8f84ab Add powerpc64 as a CPU target. Issue #32577, patch from Alfred.
git-svn-id: trunk@56135 -
2017-10-20 10:27:45 +00:00
mattias
7ed8799425 codetools: test write bool property
git-svn-id: trunk@56133 -
2017-10-19 20:12:54 +00:00
mattias
a3fd6c3fd0 make help: fixed
git-svn-id: trunk@56116 -
2017-10-18 07:51:34 +00:00
mattias
1b5c47c94c codetools: started test pas writer
git-svn-id: trunk@56096 -
2017-10-17 15:10:16 +00:00
mattias
099b09d88d lazutils: added compwriterpas.pas
git-svn-id: trunk@56093 -
2017-10-17 12:12:46 +00:00
juha
e69881ff9d Codetools: Fix code completion for methods with empty parentheses. Issue #31960.
git-svn-id: trunk@56085 -
2017-10-16 16:12:31 +00:00
mattias
61d4aa8258 IDE: open file at cursor: show error message on fail
git-svn-id: trunk@56083 -
2017-10-16 14:06:41 +00:00
mattias
043449ee6f codetools: fixed AddUnitWarnDirective insert position
git-svn-id: trunk@56077 -
2017-10-16 11:59:40 +00:00
mattias
4a42de695f codetools: test AddUnitWarn
git-svn-id: trunk@56076 -
2017-10-16 11:59:15 +00:00
mattias
dad863f838 codetools: AddUnitWarnDirective: fixed startnode
git-svn-id: trunk@56073 -
2017-10-16 11:35:40 +00:00
mattias
75e4e316a7 codetools: fixed example
git-svn-id: trunk@56071 -
2017-10-16 11:34:04 +00:00
mattias
83340ffde9 codetools: test AddUnitWarn
git-svn-id: trunk@56070 -
2017-10-16 11:33:45 +00:00
maxim
e7b82afeec Translations: Ukrainian translation update by Olexandr Pylypchuk, bug #32544
git-svn-id: trunk@56063 -
2017-10-15 21:50:12 +00:00
juha
8e89ff11f9 CodeTools: Don't throw an error with "(" inside a comment in front of unit. Issue #32235.
git-svn-id: trunk@56054 -
2017-10-14 16:12:50 +00:00
mattias
0a29cbbac7 codetools: fixed Complete forward proc
git-svn-id: trunk@56044 -
2017-10-13 11:42:39 +00:00
mattias
90007feff1 codetools: added test for CompleteCode
git-svn-id: trunk@56043 -
2017-10-13 11:02:35 +00:00
mattias
ec271131d1 codetools: fixed CompleteCode TryAssignment loop
git-svn-id: trunk@56041 -
2017-10-13 11:00:08 +00:00
maxim
eb93f4654b Codetools: updated Russian translation
git-svn-id: trunk@56036 -
2017-10-12 22:32:30 +00:00
juha
1e16c52819 Codetools: Add dotted unit names to uses section correctly. Optimize. Issue #32247.
git-svn-id: trunk@56028 -
2017-10-11 14:04:41 +00:00
juha
04cc3c44b2 Codetools: Do not chomp a procedure name with empty brackets (). Issue #31960.
git-svn-id: trunk@56015 -
2017-10-10 09:44:07 +00:00
mattias
6bca60c00f codetools: fixed tests for fpc trunk
git-svn-id: trunk@56014 -
2017-10-10 09:26:30 +00:00
mattias
8383706bb7 codetools: fixed reparsing on changed module name
git-svn-id: trunk@56012 -
2017-10-10 09:18:10 +00:00
mattias
dfa2c1d3b6 codetools: test scan unit change a word and scan again
git-svn-id: trunk@56011 -
2017-10-10 09:13:21 +00:00
mattias
fccd4f7546 codetools: test scan program without name
git-svn-id: trunk@56010 -
2017-10-10 08:44:52 +00:00
ondrej
b5e57a129f CodeTools: allow absolute $0:$0 syntax. Issue #32506
git-svn-id: trunk@56002 -
2017-10-09 07:33:22 +00:00
mattias
8961126033 codetools: added ctnSrcName
git-svn-id: trunk@55951 -
2017-09-30 19:20:56 +00:00
mattias
027f9ab2e6 codetools: updated test dottedt unit name
git-svn-id: trunk@55950 -
2017-09-30 19:20:43 +00:00
mattias
fb8fc48319 codetools: fixed continuing parsing after source name
git-svn-id: trunk@55948 -
2017-09-30 14:29:25 +00:00
mattias
4cee79f31d codetools: fixed skipping sourcename, added TPascalParserTool.FindUsesNode
git-svn-id: trunk@55946 -
2017-09-30 13:52:10 +00:00
mattias
ccf46cda1d codetools: fixed RemoveUnitFromAllUsesSections
git-svn-id: trunk@55944 -
2017-09-30 13:14:44 +00:00
mattias
0e777d6648 codetools: property completion: fixed read/write accessor for param+index specifier
git-svn-id: trunk@55917 -
2017-09-24 17:58:26 +00:00
mattias
dd43ceac8e codetools: property completion: fixed check if store accessor with index specififer exists
git-svn-id: trunk@55915 -
2017-09-24 16:38:12 +00:00
mattias
fef3d14b6d codetools: fixed skipping program name nodes
git-svn-id: trunk@55855 -
2017-09-13 18:43:33 +00:00
mattias
80021aec47 codetools: fixed RemoveUnitFromAllUsesSections
git-svn-id: trunk@55853 -
2017-09-13 18:22:15 +00:00
mattias
bfadc91c3c codetools: find declaration of dotted program name
git-svn-id: trunk@55851 -
2017-09-13 18:05:15 +00:00
mattias
5a30e17265 codetools: updated sourcecloser example
git-svn-id: trunk@55834 -
2017-09-11 15:48:54 +00:00
ondrej
b1ddbb8f12 CodeTools: remove inline, private, public and published from keyword list - they can be used as identifiers as well. Issue #32336
git-svn-id: trunk@55779 -
2017-09-03 10:19:53 +00:00
mattias
37aa56dfc5 codetools: fpc sources: packegs/rtl-extra add include path src/SrcOS and src/SrcOS2, bug #32263
git-svn-id: trunk@55681 -
2017-08-19 08:33:17 +00:00
mattias
61703e72aa codetools: fixed finding simpleipc.inc under Windows, packages/fcl-process/src/winall include path, bug #32256
git-svn-id: trunk@55651 -
2017-08-12 08:35:43 +00:00
maxim
a1c5822f04 Translations: Ukrainian translation update by Olexandr Pylypchuk, bug #32213
git-svn-id: trunk@55609 -
2017-07-30 23:10:04 +00:00
maxim
ae97cba986 Translations: Lithuanian translation update by Valdas Jankūnas, bug #32126
git-svn-id: trunk@55502 -
2017-07-13 22:43:07 +00:00
mattias
edd5ed40ee codetools: parse generic function
git-svn-id: trunk@55485 -
2017-07-10 18:26:50 +00:00
mattias
41d6dc8ac3 codetools: added test for generic function
git-svn-id: trunk@55484 -
2017-07-10 18:26:26 +00:00
maxim
732c7f90fd Translations: Lithuanian translation update by Valdas Jankūnas, bug #32126
git-svn-id: trunk@55474 -
2017-07-08 12:47:30 +00:00
ondrej
5305e255e4 cody: save settings on exit
git-svn-id: trunk@55437 -
2017-07-04 10:41:00 +00:00
mattias
3776ce9e17 codetools: updated debugging messages
git-svn-id: trunk@55346 -
2017-06-14 07:57:16 +00:00
mattias
b3a9a3d9ce codetools: guess type of default()
git-svn-id: trunk@55331 -
2017-06-12 10:39:42 +00:00
mattias
f421cf15d7 codetools: tests: added test for guessing type of default()
git-svn-id: trunk@55330 -
2017-06-12 10:39:22 +00:00
ondrej
8ada97e2b2 codetools: Override function result string types: fix grouped parameter list (e.g. ChangeFileExt).
git-svn-id: trunk@55322 -
2017-06-11 21:21:21 +00:00
juha
4c7dc1b89b Use Delete() instead of Copy() where appropriate.
git-svn-id: trunk@55311 -
2017-06-10 16:30:27 +00:00
maxim
4a86dba032 Translations: Ukrainian translation update by Olexandr Pylypchuk, bug #31980
git-svn-id: trunk@55300 -
2017-06-09 23:00:29 +00:00
mattias
548fbd4852 codetools: added TFindDeclarationTool.FindClassMember
git-svn-id: trunk@55238 -
2017-06-05 13:29:16 +00:00
mattias
9de9ae952b codetools: less hints
git-svn-id: trunk@55237 -
2017-06-05 13:28:28 +00:00
mattias
eca0a51b27 codetools: undo
git-svn-id: trunk@55236 -
2017-06-05 13:28:15 +00:00
mattias
12ad990c7b codetools: less hints methodjumptool.pas
git-svn-id: trunk@55235 -
2017-06-05 13:25:37 +00:00
juha
e27232d4cc Fix uninitialized variables based on compiler warnings got with dfa (data flow analysis) enabled.
git-svn-id: trunk@55211 -
2017-06-04 15:14:29 +00:00
mattias
b29915c159 IDE: method property editor: edit: ask whether jump to inherited or add override
git-svn-id: trunk@55206 -
2017-06-04 09:21:06 +00:00
mattias
4975382c55 codetools: TEventsCodeTool.FindClassOfInstance: search unit in unitpath, the uses section is not enough
git-svn-id: trunk@55204 -
2017-06-04 07:30:15 +00:00
mattias
378cbd62c0 codetools: fixed TEventsCodeTool.MethodTypeDataToStr for fpc 3.0+
git-svn-id: trunk@55200 -
2017-06-04 06:45:02 +00:00
mattias
72e6211499 codetools: fixed EnableCodeCompleteTemplates
git-svn-id: trunk@55093 -
2017-05-26 09:37:40 +00:00
maxim
77b9c644a0 Translations: French translation update by Gilles Vasseur, bug #31905
git-svn-id: trunk@55084 -
2017-05-25 22:22:44 +00:00
ondrej
c3ef5a5623 CodeTools: return method overloads for compatibility after r55031 #3ec399d85a
git-svn-id: trunk@55037 -
2017-05-22 06:57:39 +00:00
ondrej
3ec399d85a CodeTools: add "Avoid unnecessary jumps" option, make it default.
git-svn-id: trunk@55031 -
2017-05-21 18:14:51 +00:00
ondrej
a5c8984ec7 CodeTools: center jumps with a percent value. Add settings for code block jump as well.
git-svn-id: trunk@55030 -
2017-05-21 13:26:38 +00:00
ondrej
2e5a01d509 codetools: fix potential endless loop
git-svn-id: trunk@54983 -
2017-05-18 22:54:41 +00:00
ondrej
1c25a7e012 codetools: Override function result string types: fix: the function definition parameter type must be string, not the value expression
git-svn-id: trunk@54982 -
2017-05-18 22:29:59 +00:00
ondrej
1079fcdcbc codetools: simplify r54976 #a52a5d0607
git-svn-id: trunk@54979 -
2017-05-18 20:56:17 +00:00
ondrej
7f78bf4c33 codetools: support UnicodeString in TFindDeclarationTool.FindExprTypeAsString
git-svn-id: trunk@54977 -
2017-05-18 20:35:27 +00:00
ondrej
a52a5d0607 codetools: implement 'Override function result string types with the first parameter expression type' code creation feature
git-svn-id: trunk@54976 -
2017-05-18 20:08:13 +00:00
mattias
c4a3e56985 cody: fixed typo
git-svn-id: trunk@54972 -
2017-05-18 15:01:37 +00:00
mattias
e6ce403f3f updates makefiles
git-svn-id: trunk@54969 -
2017-05-18 11:39:53 +00:00
maxim
edca2f5223 Translations: Ukrainian translation update by Olexandr Pylypchuk, bug #31810
git-svn-id: trunk@54938 -
2017-05-15 22:24:54 +00:00
maxim
9256ee10a2 Translations: Ukrainian translation update by Olexandr Pylypchuk, bug #31783
git-svn-id: trunk@54866 -
2017-05-10 22:40:23 +00:00
mattias
878dfd23f9 codetools: added predefined fpc identifier get_frame
git-svn-id: trunk@54859 -
2017-05-10 15:48:45 +00:00
mattias
a2e22134f1 codetools: set defines when setting modeswitches
git-svn-id: trunk@54838 -
2017-05-08 19:01:27 +00:00
mattias
09d0b3fa93 codetools: parsing modeswitch on,off
git-svn-id: trunk@54836 -
2017-05-08 18:43:04 +00:00
mattias
d315ac952d codetools: identifier completion: Delphi directives
git-svn-id: trunk@54834 -
2017-05-08 18:31:30 +00:00
mattias
497a08de97 codetools: renamed cmsBlocks to cmsCBlocks, because less confusing
git-svn-id: trunk@54831 -
2017-05-08 11:53:32 +00:00
mattias
6829a85ed6 codetools: added compiler directive switches $E, $G, $J, $O, $U
git-svn-id: trunk@54827 -
2017-05-08 11:10:44 +00:00
mattias
7518ea353a codetools: fixed guesstype of copy()
git-svn-id: trunk@54821 -
2017-05-07 09:13:40 +00:00
mattias
a8b27bfd5e codetools: tests: added guesstype of copy()
git-svn-id: trunk@54820 -
2017-05-07 09:13:12 +00:00
maxim
379fa56788 Translations: Hungarian translation update by Péter Gábor, bug #31739
git-svn-id: trunk@54785 -
2017-05-01 10:31:50 +00:00
mattias
f915aac0c7 codetools: use namespaces only for pas2js and fpc>30101
git-svn-id: trunk@54769 -
2017-04-28 22:39:47 +00:00
mattias
08bd7d6206 IDE: parse project default namespace
git-svn-id: trunk@54767 -
2017-04-28 22:27:06 +00:00
mattias
73b1b38cde codetools: fixed compilation with fpc<3.1.1
git-svn-id: trunk@54763 -
2017-04-28 10:40:01 +00:00
mattias
e87f70b765 lazutils: added MergeWithDelimiter
git-svn-id: trunk@54756 -
2017-04-27 14:33:17 +00:00
mattias
b382175cfb IDE: parse namespaces from custom compiler options
git-svn-id: trunk@54751 -
2017-04-26 19:41:08 +00:00
mattias
a067dd3411 IDE: do not pass -B when option -k or -T changes, added resourcestring
git-svn-id: trunk@54749 -
2017-04-26 19:20:54 +00:00
mattias
aa5717bb55 codetools: search units with namespaces
git-svn-id: trunk@54745 -
2017-04-26 18:36:04 +00:00
mattias
8fe94c57d5 codetools: tests: namespace in uses section
git-svn-id: trunk@54744 -
2017-04-26 18:33:51 +00:00