Commit Graph

5139 Commits

Author SHA1 Message Date
mattias
ccea2a4b40 codetools: complete property: set defaults, complex type
git-svn-id: trunk@56526 -
2017-11-28 14:39:38 +00:00
mattias
4e2b9026d4 codetools: test complete property
git-svn-id: trunk@56525 -
2017-11-28 14:38:56 +00:00
mattias
e6f4323328 codetools: added test property completion with specialize type
git-svn-id: trunk@56524 -
2017-11-28 14:24:22 +00:00
mattias
5b452794dd codetools: test class completion for objfpc generic
git-svn-id: trunk@56523 -
2017-11-28 13:34:07 +00:00
mattias
512b7c6179 codetools: test JumpToMethod methods
git-svn-id: trunk@56522 -
2017-11-28 13:27:41 +00:00
mattias
78e914cc82 codetools: test JumpToMethod intf to impl for single proc
git-svn-id: trunk@56521 -
2017-11-28 13:00:22 +00:00
mattias
5b565ad568 codetools: parse guid in dispinterface, bug #32742
git-svn-id: trunk@56520 -
2017-11-28 09:19:47 +00:00
mattias
ec8cc2e82f codetools: test attribute in dispinterface
git-svn-id: trunk@56519 -
2017-11-28 09:19:19 +00:00
mattias
18a2d7544e codetools: test FindCodeContext with missing close bracket
git-svn-id: trunk@56516 -
2017-11-27 21:52:57 +00:00
mattias
775c5e6b04 codetools: clean up
git-svn-id: trunk@56514 -
2017-11-27 21:30:31 +00:00
mattias
2b911c68c1 codetools: FindCodeContext of attribute params
git-svn-id: trunk@56513 -
2017-11-27 21:29:04 +00:00
mattias
4a688b6468 codetools: added test for FindCodeContext of attribute params
git-svn-id: trunk@56512 -
2017-11-27 21:28:50 +00:00
mattias
fa28ac6748 codetools: added test FindCodeContext for proc type
git-svn-id: trunk@56511 -
2017-11-27 16:24:59 +00:00
mattias
60dce6d601 codetools: parse delphi generic inside generic
git-svn-id: trunk@56510 -
2017-11-27 16:15:57 +00:00
mattias
c1d0ee32a3 codetools: test parse delphi generic inside generic
git-svn-id: trunk@56509 -
2017-11-27 16:15:44 +00:00
mattias
c6cafa62ff codetools: parse generic param list of non generic record
git-svn-id: trunk@56508 -
2017-11-27 15:07:46 +00:00
mattias
37c6ae0b00 codetools: added test for mode delphi generic proc inside normal record
git-svn-id: trunk@56507 -
2017-11-27 15:00:54 +00:00
mattias
c43215a213 codetools: added TCodeContextInfoItem.AsDebugString
git-svn-id: trunk@56506 -
2017-11-27 14:41:27 +00:00
mattias
0d87d46948 codetools: added test for FindCodeContext procs
git-svn-id: trunk@56505 -
2017-11-27 13:50:11 +00:00
mattias
cb90757df0 codetools: fixed parsing deprecated
git-svn-id: trunk@56486 -
2017-11-24 17:45:42 +00:00
mattias
da085a91ea codetools: test parsing deprecated
git-svn-id: trunk@56485 -
2017-11-24 17:45:31 +00:00
mattias
7060f8549c codetools: clean up
git-svn-id: trunk@56479 -
2017-11-24 00:11:26 +00:00
mattias
de5a31e9b5 codetools: fixed parsing delphi specialized interface ancestor, bug #32715
git-svn-id: trunk@56477 -
2017-11-23 23:53:58 +00:00
mattias
c9a3a1cfe0 codetools: tests: parse delphi specialized interface ancestor
git-svn-id: trunk@56476 -
2017-11-23 23:53:03 +00:00
mattias
fbcfb574e4 codetools: fixed parsing till initialization start
git-svn-id: trunk@56472 -
2017-11-23 12:05:57 +00:00
mattias
a816c9155d codetools: test find declaration in initialization
git-svn-id: trunk@56471 -
2017-11-23 12:05:26 +00:00
mattias
727afc4dbd codetools: changed TAtomRing to support longer ring, full two way
git-svn-id: trunk@56465 -
2017-11-22 10:58:30 +00:00
mattias
5b052ebd36 codetools: parse attributes
git-svn-id: trunk@56402 -
2017-11-14 11:01:14 +00:00
mattias
a9808b040a codetools: test parsing attributes
git-svn-id: trunk@56401 -
2017-11-14 10:59:46 +00:00
mattias
98be7f19c0 cody: identifier db: replaced speedbuttons with checkboxes, so that tabstop works
git-svn-id: trunk@56387 -
2017-11-13 12:39:50 +00:00
juha
ba12198061 Codetools: Formatting. Add an assertion for issue #32340.
git-svn-id: trunk@56376 -
2017-11-12 17:50:29 +00:00
juha
55d8b5ed1a Codetools: Find declaration for a used unit also when caret is at its end. Issue #32606.
git-svn-id: trunk@56366 -
2017-11-11 16:06:39 +00:00
mattias
87da0fc570 codetools: clean up
git-svn-id: trunk@56361 -
2017-11-11 10:07:34 +00:00
juha
0e12730671 IDE: Show dotted unit names in Code Explorer. Issue #32663.
git-svn-id: trunk@56360 -
2017-11-11 09:25:39 +00:00
juha
6a0191fb70 Formatting for IDEQuestionDialog parameters.
git-svn-id: trunk@56346 -
2017-11-10 08:46:19 +00:00
mattias
92c78dc830 codetools: fixed class completion for method with specialize in mdoe delphi
git-svn-id: trunk@56323 -
2017-11-06 14:53:11 +00:00
mattias
dd4b6615a3 codetools: test complete method with specialize in delphi mode
git-svn-id: trunk@56322 -
2017-11-06 14:52:47 +00:00
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