Commit Graph

5202 Commits

Author SHA1 Message Date
mattias
87540a5fbf codetools: fixed copying proc param specialize
git-svn-id: trunk@56319 -
2017-11-06 13:07:36 +00:00
mattias
5a24b63f1f codetools: added test for complete method with specialize param
git-svn-id: trunk@56318 -
2017-11-06 13:06:48 +00:00
mattias
688f52440c codetools: parse specialize in param type
git-svn-id: trunk@56293 -
2017-11-06 10:12:57 +00:00
mattias
13d699e6df codetools: test specialize in param type
git-svn-id: trunk@56292 -
2017-11-06 10:12:38 +00:00
mattias
6dc2571a4c codetools: ReduceCompilerDirectives fixed crash
git-svn-id: trunk@56279 -
2017-11-04 14:44:04 +00:00
mattias
73db65e4ae codetools: examples: comments
git-svn-id: trunk@56278 -
2017-11-04 14:43:37 +00:00
mattias
49e39f4de3 codetools: formatted
git-svn-id: trunk@56276 -
2017-11-04 07:55:39 +00:00
mattias
1cacc05f7e codetools: examples: fixed getexpandedoperand
git-svn-id: trunk@56275 -
2017-11-04 07:53:54 +00:00
mattias
b68511ef69 codetools: examples fixed addmethod
git-svn-id: trunk@56274 -
2017-11-04 07:39:58 +00:00
juha
65ff63a7df Codetools example ReplaceResourceDirectives: Add a sample file to the project. Fix comment.
git-svn-id: trunk@56273 -
2017-11-03 23:54:54 +00:00
juha
f09e119113 Codetools example ReduceIfdefs: Add a sample file to the project.
git-svn-id: trunk@56272 -
2017-11-03 23:54:52 +00:00
juha
9fa334848e Codetools example h2pastest: Remove a non-existent file from project.
git-svn-id: trunk@56271 -
2017-11-03 23:54:47 +00:00
mattias
f38efed9d7 codetools: fixed FindMissingUnits
git-svn-id: trunk@56269 -
2017-11-03 23:04:48 +00:00
mattias
46c5ed7280 codetools: examples: fixed fixfilenames
git-svn-id: trunk@56268 -
2017-11-03 23:04:28 +00:00
mattias
0813733813 codetools: examples: fixed finddeclaration
git-svn-id: trunk@56267 -
2017-11-03 22:38:40 +00:00
mattias
9d8b18caee codetools: examples: fixed completeblock
git-svn-id: trunk@56266 -
2017-11-03 22:28:27 +00:00
mattias
4b044297a1 codetools: fixed example
git-svn-id: trunk@56265 -
2017-11-03 22:17:02 +00:00
mattias
070589661a codetools: fixed example
git-svn-id: trunk@56264 -
2017-11-03 22:16:07 +00:00
mattias
727f6ba694 codetools: example addmethod with fpc sources
git-svn-id: trunk@56263 -
2017-11-03 22:14:50 +00:00
juha
d894505abc CodeTools example AddFpprofCalls: show help if no filename is given. Fix memory leak.
git-svn-id: trunk@56262 -
2017-11-03 21:37:35 +00:00
mattias
d4da6d7376 codetools: cleaned up
git-svn-id: trunk@56261 -
2017-11-03 19:03:52 +00:00
mattias
e20bbbe399 codetools: fixed adding uses section to program
git-svn-id: trunk@56232 -
2017-10-29 15:43:55 +00:00
mattias
a1f502d251 cody: comments
git-svn-id: trunk@56231 -
2017-10-29 15:43:41 +00:00
mattias
5af084c055 codetools: test write components without with-do
git-svn-id: trunk@56229 -
2017-10-29 14:42:45 +00:00
mattias
b04498135d codetools: test writing with-lookuproot-do
git-svn-id: trunk@56218 -
2017-10-27 15:25:10 +00:00
mattias
036507e3ba codetools: test write end signature
git-svn-id: trunk@56217 -
2017-10-27 14:57:37 +00:00
mattias
085ac5259b codetools: test needed unit for defineproperties
git-svn-id: trunk@56213 -
2017-10-26 17:49:46 +00:00
mattias
7ac2fd7bf4 codetools: test write custom properties
git-svn-id: trunk@56211 -
2017-10-26 17:29:39 +00:00
mattias
fac364fd3b lazutils: added unit lazpasreadutil
git-svn-id: trunk@56209 -
2017-10-26 14:58:46 +00:00
mattias
acd77c3bb0 lazutils: replaced TPASObjectWriter with TCompWriterPas
git-svn-id: trunk@56208 -
2017-10-26 14:18:13 +00:00
mattias
b98ec3d5df codetools: test write DefineProperties
git-svn-id: trunk@56205 -
2017-10-26 13:41:53 +00:00
mattias
125d8c00d4 codetools: write DesignInfo
git-svn-id: trunk@56203 -
2017-10-26 10:19:52 +00:00
mattias
a32af4eb14 codetools: test writing interface
git-svn-id: trunk@56202 -
2017-10-26 09:59:40 +00:00
mattias
a64605ceec codetools: fixed GetIdentStartEndAtPosition if pos behind source
git-svn-id: trunk@56197 -
2017-10-25 20:19:02 +00:00
mattias
c448ca8778 lcl: gtk2: fixed error handling in GtkDragDataReceived, bug #32611, patch from C Western
git-svn-id: trunk@56193 -
2017-10-25 16:21:50 +00:00
mattias
3e6aa6d36d codetools: test write Name of inherited child
git-svn-id: trunk@56192 -
2017-10-25 16:12:10 +00:00
mattias
d24c83d820 codetools: test write inherited inline
git-svn-id: trunk@56191 -
2017-10-25 15:46:38 +00:00
mattias
92b6b00130 codetools: test set csInline
git-svn-id: trunk@56190 -
2017-10-25 14:42:13 +00:00
mattias
6147137b4d codetools: test write inline component
git-svn-id: trunk@56189 -
2017-10-25 14:23:03 +00:00
mattias
5644927054 codetools: test create components first
git-svn-id: trunk@56182 -
2017-10-25 09:33:52 +00:00
mattias
a8df3d1f7d codetools: test reference foreign component
git-svn-id: trunk@56179 -
2017-10-24 10:52:40 +00:00
mattias
5f84987ee3 codetools: test writing set of bool/custom int/custom char
git-svn-id: trunk@56178 -
2017-10-24 10:07:17 +00:00
mattias
40996f6530 codetools: test write component with ancestor
git-svn-id: trunk@56177 -
2017-10-23 19:39:25 +00:00
mattias
49c15efbde codetools: test writing collection
git-svn-id: trunk@56176 -
2017-10-23 18:30:56 +00:00
mattias
a9cf1443c7 codetools: test write children Parent
git-svn-id: trunk@56175 -
2017-10-23 15:20:03 +00:00
mattias
f8aec87074 codetools: test write children
git-svn-id: trunk@56174 -
2017-10-23 15:01:21 +00:00
mattias
8ba2af9481 codetools: test write tpersistent
git-svn-id: trunk@56173 -
2017-10-23 14:26:38 +00:00
mattias
d72b90506d codetools: test write variant
git-svn-id: trunk@56172 -
2017-10-23 13:08:49 +00:00
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
mattias
afc67da7ae codetools: tests: test program namespace
git-svn-id: trunk@54742 -
2017-04-26 11:04:17 +00:00
mattias
af09292110 codetools: identifier completion: list each namespace only once
git-svn-id: trunk@54740 -
2017-04-26 10:08:12 +00:00
mattias
18296584ed codetools:
- dotted unit name in term: find longest match
- dotted unit name: fixed searching in interface only interface uses section
- identifier completion: fixed list unit sub identifiers when there are longer namespaces
- identifier completion: list all name used namespaces

git-svn-id: trunk@54737 -
2017-04-26 09:55:09 +00:00
mattias
2d51c08884 codetools: tests: namespace prefixes
git-svn-id: trunk@54736 -
2017-04-26 09:32:36 +00:00
mattias
e4895d2fd0 codetools: dotted unit name tests
git-svn-id: trunk@54735 -
2017-04-26 08:40:45 +00:00
ondrej
35aaed1cd7 CodeTools: no IFDEFs for r54731 #532ce029d5
git-svn-id: trunk@54734 -
2017-04-25 10:50:58 +00:00
sekelsenmat
532ce029d5 codetools: Fixes compilation with fpc 2.6
git-svn-id: trunk@54731 -
2017-04-25 10:23:10 +00:00
mattias
a8d6670895 codetools: fixed parsing array
git-svn-id: trunk@54729 -
2017-04-25 09:52:21 +00:00
mattias
fa480d0669 codetools: tests: added array test
git-svn-id: trunk@54728 -
2017-04-25 09:52:08 +00:00
mattias
c5464ad7dc codetools: fixed compilation with fpc 2.6.4
git-svn-id: trunk@54726 -
2017-04-25 09:45:15 +00:00
mattias
6bd8281e0c codetools: updated readme
git-svn-id: trunk@54725 -
2017-04-25 09:45:02 +00:00
mattias
22350effc4 codetools: parse multi dim arrays, patch from Paul W, issue #25045
git-svn-id: trunk@54719 -
2017-04-25 07:08:42 +00:00
mattias
95545633e7 codetools: added $mode ExtPas, load hidden units MacPas, ISO7185, ExtPas, BlockRTL
git-svn-id: trunk@54714 -
2017-04-24 17:42:10 +00:00
mattias
815496f161 codetools: fixed modeswitch name blocks to cblocks
git-svn-id: trunk@54712 -
2017-04-24 17:29:19 +00:00
mattias
b432133a9a codetools: added tests for modeswitch cblocks
git-svn-id: trunk@54711 -
2017-04-24 17:28:56 +00:00
maxim
9150e859e8 Codetools: fixed typo, regenerated translations and updated Russian translation
git-svn-id: trunk@54700 -
2017-04-23 22:27:04 +00:00
mattias
e96ede4637 codetools: code completion: add proc for procvar: fixed reference-to
git-svn-id: trunk@54692 -
2017-04-22 18:10:28 +00:00
mattias
3ca49ceb2b cody: identifier dictionary: use identifier: jump to syntax error
git-svn-id: trunk@54690 -
2017-04-22 17:39:01 +00:00
mattias
0bde8fa043 codetools: define template directory: fixed skipping empty directory
git-svn-id: trunk@54688 -
2017-04-22 14:44:08 +00:00
mattias
9af0510f2d codetools: fixed id on unknown exception
git-svn-id: trunk@54686 -
2017-04-22 11:20:56 +00:00
mattias
43254f08ad codetools: sourcechangecache and directiveparser: unique ids for errors
git-svn-id: trunk@54684 -
2017-04-22 11:18:28 +00:00
mattias
f344610be5 codetools: linkscanner: unique ids for errors
git-svn-id: trunk@54682 -
2017-04-22 11:10:31 +00:00
mattias
da25c136d5 codetools: tests: use lazutils instead of lcl
git-svn-id: trunk@54681 -
2017-04-22 11:09:35 +00:00
mattias
9b7b950996 codetools: added test for in
git-svn-id: trunk@54678 -
2017-04-22 06:26:04 +00:00
mattias
e42d0903e0 codetools: fixed error msg
git-svn-id: trunk@54674 -
2017-04-21 21:24:20 +00:00
mattias
01f25f27ce codetools: debug gather unit names
git-svn-id: trunk@54671 -
2017-04-21 20:33:14 +00:00
mattias
834318e937 codetools: fixed for in constset
git-svn-id: trunk@54669 -
2017-04-21 19:48:04 +00:00
mattias
e63c991f8e codetools: test for in constset
git-svn-id: trunk@54668 -
2017-04-21 19:47:52 +00:00
mattias
34d59e8593 codetools: added predefine str
git-svn-id: trunk@54665 -
2017-04-21 18:59:41 +00:00
mattias
c6eeda0482 codetools: clean up
git-svn-id: trunk@54664 -
2017-04-21 18:59:13 +00:00
mattias
a378409b29 codetools: added unique ids for errors
git-svn-id: trunk@54663 -
2017-04-21 18:35:53 +00:00
mattias
d4d351c801 codetools: tests: clean up
git-svn-id: trunk@54662 -
2017-04-21 18:23:30 +00:00
mattias
c3b49f8828 codetools: tests: TTestPascalParser: show all elines and error column
git-svn-id: trunk@54661 -
2017-04-21 17:26:01 +00:00
mattias
f10396a790 codetools: added nativeint, nativeuint for pas2js
git-svn-id: trunk@54659 -
2017-04-21 17:05:58 +00:00
mattias
00d6a447b5 codetools: fixed resolving function result, simplified code
git-svn-id: trunk@54649 -
2017-04-20 11:36:37 +00:00
mattias
5ad98a7bcf codetools: ctnReferencTo for typeinfo, code hints and type check
git-svn-id: trunk@54642 -
2017-04-19 11:49:51 +00:00
mattias
d78b765eac codetools: keywordfunclists: use fast property Count
git-svn-id: trunk@54640 -
2017-04-19 11:02:03 +00:00
mattias
0236e179c3 codetools: referenceto: fixed endpos
git-svn-id: trunk@54637 -
2017-04-19 10:34:54 +00:00
mattias
9a0ddd60ef codetools: delphi predefined identifiers: nativeint, bools
git-svn-id: trunk@54636 -
2017-04-19 10:34:32 +00:00
mattias
d82739d93e codetools: fixed predefine dlist fpc, delphi cardinal, longint
git-svn-id: trunk@54630 -
2017-04-18 16:11:30 +00:00
mattias
63b04ac2da codetools: updated predefined identifiers
git-svn-id: trunk@54626 -
2017-04-17 15:34:14 +00:00
mattias
27336a6392 codetools: added tests for proc ovrloads of basetypes
git-svn-id: trunk@54625 -
2017-04-17 14:49:09 +00:00
mattias
0a891e4ab2 set version to 1.8.0RC1
git-svn-id: trunk@54578 -
2017-04-08 21:53:32 +00:00
juha
04cdeee412 Codetools: formatting.
git-svn-id: trunk@54570 -
2017-04-08 08:28:57 +00:00
juha
f49fbe25f1 Codetools: Use the same AVL_Tree everywhere.
git-svn-id: trunk@54564 -
2017-04-07 19:14:24 +00:00
juha
ffa67e0ff4 Fix compilation of Codetools examples and wiki test project. Clean uses sections.
git-svn-id: trunk@54563 -
2017-04-07 19:02:11 +00:00
juha
e800a738ad Copy AVL_Tree from FPC trunk and replace classes in AvgLvlTree and in CodetoolsStructs with it.
The unit in FPC packages will be used directly later.

git-svn-id: trunk@54524 -
2017-04-05 08:34:48 +00:00
mattias
bdc0034c89 codetools: external root class has no ancestor in pas2js
git-svn-id: trunk@54522 -
2017-04-04 21:18:42 +00:00
maxim
37f2d73f0a Translations: Ukrainian translation update by Olexandr Pylypchuk, bug #31614
git-svn-id: trunk@54514 -
2017-04-03 23:24:37 +00:00
mattias
1352581471 codetools: skip keywords in asm..blocks
git-svn-id: trunk@54508 -
2017-04-02 23:34:00 +00:00
mattias
2c17cc7edf codetools: pas2js: added jsvalue to predefined words
git-svn-id: trunk@54507 -
2017-04-01 22:41:09 +00:00
mattias
7547019d49 codetools: identifier completion: added concat(array), insert(array)
git-svn-id: trunk@54506 -
2017-04-01 22:07:24 +00:00
mattias
16c115f088 codetools: parse class var external
git-svn-id: trunk@54492 -
2017-03-27 22:51:14 +00:00
mattias
52bcdebadd codetools: added compiler type pas2js
git-svn-id: trunk@54488 -
2017-03-27 20:50:08 +00:00
mattias
33bab6516c codetools: parsing external class field
git-svn-id: trunk@54479 -
2017-03-24 20:47:12 +00:00
mattias
d5881ef02e codetools: implemented modeswitch externalclass
git-svn-id: trunk@54470 -
2017-03-23 10:51:07 +00:00
hnb
1903007760 CodeTools: create new callback FindIncFileInCfgCache in basiccodetools.pas filled by codetoolmanager.pas to omit compilicated unit dependencies introduced in linkscanner.pas by uses section (for modules: CodeToolManager and DefineTemplates) in implementation section (that was the reason of AV on IDE exit and memory leaks, fix for mantis #31575, #31580)
git-svn-id: trunk@54461 -
2017-03-21 23:06:36 +00:00
hnb
5231fa439a CodeTools: use for TFPCTargetConfigCache.Equals also "Includes" field
git-svn-id: trunk@54457 -
2017-03-21 22:33:21 +00:00
hnb
d5739c0615 codetools: Fix memory leak introduced in r54432 #5667c05f6c (TFPCTargetConfigCache.Includes was not freed in Clear method). Fix mantis #31575.
git-svn-id: trunk@54450 -
2017-03-21 12:05:16 +00:00
mattias
c18cdcb495 codetools: class completion: do not create bodies for external methods
git-svn-id: trunk@54448 -
2017-03-18 18:29:19 +00:00
juha
54f80e0923 CodeTools: Fix SIGSEGV introduced in r54438 #b823ce3277, part 2. Issue #31561.
git-svn-id: trunk@54447 -
2017-03-18 18:13:10 +00:00
hnb
1ca4c2796a CodeTools: Fix SIGSEGV introduced in r54438 #b823ce3277 (mantis #31561)
git-svn-id: trunk@54446 -
2017-03-18 15:25:47 +00:00
hnb
b823ce3277 CodeTools: find all *.ini files located in paths declared in fpc.cfg (-Fi option)
git-svn-id: trunk@54438 -
2017-03-17 21:21:51 +00:00
hnb
5667c05f6c CodeTools: Prepare for better support for Include (*.inc) files (collect all *.inc files from pathes added by -Fi in fpc.cfg)
git-svn-id: trunk@54432 -
2017-03-17 15:00:43 +00:00
ondrej
f04d742869 CodeTools: support dotted units when handling uses section. Issue #31539
git-svn-id: trunk@54413 -
2017-03-15 21:17:59 +00:00
maxim
c74ec53ab7 Translations: Ukrainian translation update by Olexandr Pylypchuk, bug #31463
git-svn-id: trunk@54327 -
2017-03-02 22:17:27 +00:00
mattias
9e5332edbc codetools: method completion: assembler modifier
git-svn-id: trunk@54288 -
2017-02-27 00:08:58 +00:00
mattias
f239ef10b3 codetools: forward proc completion: assembler modifier
git-svn-id: trunk@54287 -
2017-02-27 00:04:45 +00:00
mattias
8ab48719ee codetools: pas2js: use define instead of mode
git-svn-id: trunk@54285 -
2017-02-26 22:36:39 +00:00
mattias
9a663cc51d codetools: added compiler mode pas2js
git-svn-id: trunk@54284 -
2017-02-26 22:18:28 +00:00
mattias
8d2f378fed codetools: TStandardCodeTool.GetApplicationScaledStatement: check EndPos
git-svn-id: trunk@54256 -
2017-02-23 07:48:08 +00:00
marcus
7eaa1abf9f Introduce Amiga/AROS/MorphOS and MUI Widgetset to Lazarus gui settings
git-svn-id: trunk@54253 -
2017-02-22 22:16:40 +00:00
ondrej
1c7e92643d LCL, IDE: HighDPI: add Application.Scaled and Project1.Scaled property for automatic LCL-driven scaling
git-svn-id: trunk@54199 -
2017-02-19 20:02:58 +00:00
hnb
11563b2959 codetools: parser: Compatibility with FPC management operators: rename Copy to AddRef and Clone to Copy
git-svn-id: trunk@54196 -
2017-02-19 16:43:30 +00:00
maxim
491820a1f4 Translations: French translation update by Gilles Vasseur, bug #31362
git-svn-id: trunk@54119 -
2017-02-07 23:00:04 +00:00
ondrej
bf5c8ee375 CodeTools: identifier completion: allow procedures as parameters in Delphi mode. Issue #31342
git-svn-id: trunk@54076 -
2017-02-02 14:35:23 +00:00
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