Commit Graph

4148 Commits

Author SHA1 Message Date
mattias
f4ed4c5b85 codetools: fixed code completion for c in enum
git-svn-id: trunk@41837 -
2013-06-23 16:28:50 +00:00
mattias
ad78656157 codetools: CheckParameterSyntax: fixed ([])
git-svn-id: trunk@41819 -
2013-06-23 12:45:53 +00:00
mattias
d76a13f72c IDE: parameter hints: fixed showing parameters of procedure types
git-svn-id: trunk@41816 -
2013-06-23 12:19:40 +00:00
mattias
a5e3b332c6 codetools: examples: utf8
git-svn-id: trunk@41810 -
2013-06-23 10:33:16 +00:00
mattias
24737576de IDE: new unit dependencies
git-svn-id: trunk@41782 -
2013-06-21 13:41:07 +00:00
mattias
16c8144a5d cody: unit deps: mark units with implementation uses
git-svn-id: trunk@41780 -
2013-06-21 13:02:26 +00:00
mattias
e10b91af6d cody: unit deps: expand uses sections
git-svn-id: trunk@41774 -
2013-06-21 08:01:30 +00:00
mattias
bfea494e05 cody: unit deps: scope changed
git-svn-id: trunk@41767 -
2013-06-19 06:52:20 +00:00
mattias
7d743aacab cody: unit deps: refresh
git-svn-id: trunk@41766 -
2013-06-18 21:13:42 +00:00
mattias
d7ba1292a3 cody: unit deps: stats
git-svn-id: trunk@41765 -
2013-06-18 20:33:54 +00:00
mattias
5c2a53edb6 codetools: TCTDirectoryCache: always create FListing
git-svn-id: trunk@41764 -
2013-06-18 19:06:20 +00:00
mattias
fe1ae6eae2 cody: units deps: no expand all for selected units
git-svn-id: trunk@41763 -
2013-06-18 19:05:56 +00:00
mattias
d441ae5b4f cody: unit deps: selected units: search
git-svn-id: trunk@41759 -
2013-06-17 20:47:51 +00:00
mattias
0e3e8d4fb4 cody: unit deps: all units: node hint
git-svn-id: trunk@41758 -
2013-06-17 20:29:09 +00:00
mattias
64c301cb49 cody: unit deps: all units: copy filename
git-svn-id: trunk@41757 -
2013-06-17 20:10:58 +00:00
mattias
9a7c586fea cody: unit deps: all units: expand all, collapse all
git-svn-id: trunk@41756 -
2013-06-17 19:43:16 +00:00
mattias
b3f1019ad2 cody: unit deps: all units: open package editor
git-svn-id: trunk@41755 -
2013-06-17 19:34:39 +00:00
mattias
d2a98069b8 cody: unit deps: all units: open project inspector
git-svn-id: trunk@41754 -
2013-06-17 19:32:01 +00:00
mattias
ab288bdd29 cody: unit deps: selected units: show uses
git-svn-id: trunk@41753 -
2013-06-17 19:13:17 +00:00
mattias
c79fb36ef7 cody: unit deps: selected units: show units
git-svn-id: trunk@41752 -
2013-06-17 18:38:19 +00:00
mattias
55ddd714bf cody: unit deps: all units: dbl click open unit
git-svn-id: trunk@41751 -
2013-06-17 18:04:44 +00:00
mattias
0af8ac6485 cody: unit deps: all units: search next, prev
git-svn-id: trunk@41750 -
2013-06-17 17:55:48 +00:00
mattias
a8530b763c cody: unit deps: all units: search
git-svn-id: trunk@41749 -
2013-06-17 15:23:16 +00:00
mattias
9d8484dea9 cody: unit deps: all units: filter
git-svn-id: trunk@41748 -
2013-06-17 15:04:59 +00:00
mattias
a7678fdc2f cody: unit deps: all units: icons
git-svn-id: trunk@41747 -
2013-06-17 14:52:44 +00:00
mattias
27ca29b64a cody: unit deps: all units: directory nodes
git-svn-id: trunk@41746 -
2013-06-17 14:42:29 +00:00
mattias
5ba261921d codetools: inlining
git-svn-id: trunk@41744 -
2013-06-17 13:32:38 +00:00
mattias
c97895ac60 cody: unit deps: all units: group nodes
git-svn-id: trunk@41743 -
2013-06-17 13:17:46 +00:00
mattias
8480e85171 cody: unit deps: list all units
git-svn-id: trunk@41742 -
2013-06-17 12:10:19 +00:00
mattias
d82797827f cody: unit deps: search options
git-svn-id: trunk@41733 -
2013-06-16 19:42:45 +00:00
mattias
8c8d0e7028 cody: unit deps: pkg files
git-svn-id: trunk@41732 -
2013-06-16 19:34:54 +00:00
mattias
c1636ed4e7 cody: unit deps: additional files
git-svn-id: trunk@41731 -
2013-06-16 19:18:06 +00:00
mattias
1527945fdb cody: unit deps: gui
git-svn-id: trunk@41727 -
2013-06-16 12:37:11 +00:00
mattias
1a3c2a2531 cody: made unit deps a window
git-svn-id: trunk@41723 -
2013-06-16 09:29:34 +00:00
juha
673142547e Converter + codetools: try to find out why FInterfaceIdentifierCache is Nil sometimes in TFindDeclarationTool.FindIdentifierInInterface.
git-svn-id: trunk@41712 -
2013-06-14 13:45:12 +00:00
mattias
46adf1c412 codetools: set elseif to inacrive
git-svn-id: trunk@41692 -
2013-06-12 11:44:48 +00:00
mattias
74535103a4 codetools: examples: filename as param
git-svn-id: trunk@41691 -
2013-06-12 11:43:37 +00:00
mattias
2334f84a57 codetools: fixed result of ExploreUnitDirectives
git-svn-id: trunk@41678 -
2013-06-11 14:14:02 +00:00
juha
cf11b400f8 Revert r41592 #173ff71396 "Codetools: optimize TPascalReaderTool.ExtractSourceName." Does not work in every situation.
git-svn-id: trunk@41638 -
2013-06-09 14:35:13 +00:00
mattias
945a988824 codetools: TSourceChangeCache.Begin/EndUpdate comments and clean up
git-svn-id: trunk@41626 -
2013-06-09 11:25:13 +00:00
juha
e06985f2bd Codetools: remove a useless (?) call to SourceChangeCache.Apply in AddUnitToSpecificUsesSection
git-svn-id: trunk@41618 -
2013-06-09 10:04:56 +00:00
juha
173ff71396 Codetools: optimize TPascalReaderTool.ExtractSourceName. Use already existing GetSourceNamePos.
git-svn-id: trunk@41592 -
2013-06-08 16:32:36 +00:00
juha
35b4131a89 Codetools: move similar functions dealing with unit name together.
git-svn-id: trunk@41591 -
2013-06-08 16:32:31 +00:00
juha
e724b2befa Codetools: formatting
git-svn-id: trunk@41574 -
2013-06-07 11:21:33 +00:00
mattias
a7ceaf11d7 codetools: create ctnUseUnit nodes for contains, FindMissingUnits fixes contains
git-svn-id: trunk@41556 -
2013-06-05 20:02:06 +00:00
mattias
fd298c3dcf codetools: CheckUsesSection: fix directories too
git-svn-id: trunk@41554 -
2013-06-05 19:40:40 +00:00
mattias
db4e6e9744 codetools: fixed FindDiskFilename to recursively check all directories
git-svn-id: trunk@41553 -
2013-06-05 19:30:33 +00:00
mattias
4ce8683fd7 codetools: set DirectoryCache of tool, removed auto fetching
git-svn-id: trunk@41552 -
2013-06-05 19:07:50 +00:00
juha
c8649178b3 Codetools: revert the change in FixIncludeFilenames. It must be fixed properly later.
git-svn-id: trunk@41546 -
2013-06-05 10:53:40 +00:00
juha
a15d7330b6 Codetools: use CreateRelativePath() in FixIncludeFilenames.
git-svn-id: trunk@41544 -
2013-06-04 21:42:09 +00:00
mattias
2c367b3767 codetools: identifier completion: fixed checking for hidden procs
git-svn-id: trunk@41507 -
2013-06-03 09:23:48 +00:00
mattias
3c0ed10d93 codetools: identifier completion: fixed checking for hidden procs
git-svn-id: trunk@41506 -
2013-06-03 09:04:57 +00:00
mattias
38d3882f1f codetools: fixed TPascalReaderTool.ProcNodeHasSpecifier ctnProcedureHead
git-svn-id: trunk@41504 -
2013-06-03 08:49:59 +00:00
mattias
81d66a4964 codetools: identifier completion: fixed checking for overloaded procs
git-svn-id: trunk@41498 -
2013-06-02 17:38:54 +00:00
juha
8761012e9c Less DebugLns to clutter Delphi conversion output. Fix also wrong method names in some DebugLns.
git-svn-id: trunk@41489 -
2013-06-02 10:19:41 +00:00
mattias
f665dbdab2 codetools: removed olf fpc 1.0 defines
git-svn-id: trunk@41481 -
2013-06-01 09:07:27 +00:00
juha
20f62dfb26 Revert r41458 #f3985e0657, "Codetools: remove extra typecast"
git-svn-id: trunk@41460 -
2013-05-30 11:58:55 +00:00
juha
f3985e0657 Codetools: remove extra typecast
git-svn-id: trunk@41458 -
2013-05-30 11:13:29 +00:00
juha
a9ad45f767 Codetools: make TFindDeclarationTool.CheckDirectoryCache public. Needed for converter.
git-svn-id: trunk@41426 -
2013-05-26 17:49:16 +00:00
mattias
c6da313e09 codetools: FindMissingUnits: do not find fpc sources if there is no ppu in fpc search path
git-svn-id: trunk@41412 -
2013-05-26 10:26:32 +00:00
mattias
3c5ec2b499 codetools: TFPCUnitSetCache.GetUnitSrcFile: always return source file in search path first
git-svn-id: trunk@41410 -
2013-05-26 10:08:41 +00:00
juha
ecd140c985 Improve license headers in sources, part 2. Refer to details about license, not copyright. Remove jargon about lack of warranty, it is covered in license already.
git-svn-id: trunk@41389 -
2013-05-25 09:22:25 +00:00
mattias
c9b89a44b3 codetools: debug TLSDirectiveKind
git-svn-id: trunk@41371 -
2013-05-23 12:01:53 +00:00
mattias
e4528ed2ea codetools: directive example
git-svn-id: trunk@41353 -
2013-05-22 13:59:43 +00:00
maxim
a8a031a612 Translations: reverted Arabic translation to r37531 #c73fdaff8b by request of Mazen Neifer (current Arabic translation maintainer). Reason is poor quality/machine translation, which makes hard to use translated IDE.
git-svn-id: trunk@41340 -
2013-05-21 19:34:39 +00:00
mattias
f7647f0574 codetools: identifier completion: fixed crash
git-svn-id: trunk@41263 -
2013-05-18 21:36:32 +00:00
mattias
53b20cfa97 codetools: small optimizations
git-svn-id: trunk@41262 -
2013-05-18 21:30:16 +00:00
mattias
62f6dfef9d codetools: fixed TIdentifierList.FindIdentifier searching identifier that is not a proc
git-svn-id: trunk@41261 -
2013-05-18 21:18:44 +00:00
mattias
60c696effd codetools: identifier completion: fixed range of with statement
git-svn-id: trunk@41252 -
2013-05-18 09:03:21 +00:00
mattias
2f413bde0a codetools: identifier completion: directives mixed case
git-svn-id: trunk@41250 -
2013-05-17 22:26:00 +00:00
mattias
0180b5047b codetools: sorted directives: sort for code, srcpos and cleanpos
git-svn-id: trunk@41243 -
2013-05-17 20:29:28 +00:00
mattias
bcd9ef945e codetools: fixed typo
git-svn-id: trunk@41230 -
2013-05-17 06:16:31 +00:00
mattias
7f5a187f74 codetools: fixed directory cacher FindUnitSource
git-svn-id: trunk@41202 -
2013-05-15 08:04:34 +00:00
mattias
2ad95802b4 codetools: directory cacher: fixed finding dotted units
git-svn-id: trunk@41199 -
2013-05-14 23:16:14 +00:00
mattias
ec42d1983b codetools: elseif is an else
git-svn-id: trunk@41196 -
2013-05-14 21:10:51 +00:00
mattias
2495c152c6 codetools: ifend is an end
git-svn-id: trunk@41195 -
2013-05-14 21:09:52 +00:00
mattias
2440a11cb8 codetools: linkscanner directives kind
git-svn-id: trunk@41193 -
2013-05-14 21:05:05 +00:00
mattias
f83e1b7112 IDE: source editor: set ifdef node states on page changed
git-svn-id: trunk@41185 -
2013-05-14 10:16:03 +00:00
mattias
7185e6dc61 codetools: fixed crash finding directive
git-svn-id: trunk@41182 -
2013-05-13 22:21:01 +00:00
mattias
160f654e02 codetools: linkscanner: UpdateNeeded when scanner used alon
git-svn-id: trunk@41147 -
2013-05-12 09:15:26 +00:00
mattias
2dd48ee614 codetools: linkscanner: quicker UpdateNeeded
git-svn-id: trunk@41146 -
2013-05-12 09:06:47 +00:00
mattias
7530f8b888 IDE: started ifdef update via codetools
git-svn-id: trunk@41145 -
2013-05-12 08:56:20 +00:00
mattias
910bf5ba13 codetools: fixed crash if identifier is not a node
git-svn-id: trunk@41143 -
2013-05-12 08:02:02 +00:00
mattias
186067a9f8 codetools: findreferences: when on proc body search proc interface
git-svn-id: trunk@41133 -
2013-05-11 19:29:04 +00:00
mattias
d3fc959f04 IDE: store directives when new scanner is initialized and a sourceeditor for the unit exist
git-svn-id: trunk@41132 -
2013-05-11 17:30:13 +00:00
mattias
78f5a14553 codetools: linkscanner: counter for storedirectives
git-svn-id: trunk@41128 -
2013-05-11 09:29:48 +00:00
mattias
676c8f278e codetools: updated default modeswitches
git-svn-id: trunk@41127 -
2013-05-11 08:59:02 +00:00
mattias
cd01c5a825 codetools: modeswitch FINALFIELDS and ISOUNARYMINUS
git-svn-id: trunk@41126 -
2013-05-11 08:44:14 +00:00
mattias
495e85b016 codetools: linkscannr: updateneeded if StoreDirectives changed to true
git-svn-id: trunk@41124 -
2013-05-11 08:21:06 +00:00
mattias
48d579b7f0 codetools: linkscannr: free directives when StoreDirectives false
git-svn-id: trunk@41123 -
2013-05-11 08:17:29 +00:00
mattias
e215ff7012 codetools: comments
git-svn-id: trunk@41107 -
2013-05-10 08:39:40 +00:00
mattias
1a4a760dd8 codetools: comments
git-svn-id: trunk@41106 -
2013-05-10 08:39:27 +00:00
mattias
c12c9eb25b codetools: linkscanner: FindDirective
git-svn-id: trunk@41102 -
2013-05-09 17:31:14 +00:00
mattias
ab88fca51f codetools: linkscanner: store directive levels
git-svn-id: trunk@41101 -
2013-05-09 16:17:26 +00:00
mattias
2d89a34014 codetools: clean up
git-svn-id: trunk@41100 -
2013-05-09 16:12:14 +00:00
mattias
635a23f205 codetools: TLinkScanner.DirectivesSorted
git-svn-id: trunk@41099 -
2013-05-09 16:09:20 +00:00
mattias
ba85dbc1e6 codetools: linkscanner: store directives
git-svn-id: trunk@41096 -
2013-05-09 15:34:23 +00:00
mattias
01e46f51c9 codetools: fixed find term type of function returning a pointer type
git-svn-id: trunk@41093 -
2013-05-09 14:42:45 +00:00
mattias
dc39e06d70 codetools: linkscanner: sorted inlines, started storing directives
git-svn-id: trunk@41092 -
2013-05-09 13:19:47 +00:00
mattias
5dbf82dd16 codetools: fixed complete proc from statement
git-svn-id: trunk@41087 -
2013-05-09 11:24:39 +00:00
juha
712a0979f0 Codetools: Improvement for FindContext for hidden methods. Part of issue #18929, patch from Anton
git-svn-id: trunk@41085 -
2013-05-09 08:56:19 +00:00
mattias
f08c4e6329 codetools: identifier completion: do not add unit name if identifier is in same unit
git-svn-id: trunk@41080 -
2013-05-08 18:56:17 +00:00
mattias
81fc1ab2f9 codetools: clean up
git-svn-id: trunk@41079 -
2013-05-08 18:47:29 +00:00
mattias
1f7adcb09a codetools: clean up
git-svn-id: trunk@41078 -
2013-05-08 18:46:44 +00:00
mattias
c17b193ddc codetools: clean up
git-svn-id: trunk@41077 -
2013-05-08 18:44:58 +00:00
mattias
3160d15863 codetools: comment
git-svn-id: trunk@41076 -
2013-05-08 18:43:27 +00:00
mattias
33182797f1 codetools: example addfpprofcall: add and delete calls
git-svn-id: trunk@41075 -
2013-05-08 18:41:39 +00:00
mattias
ebbd242753 codetools: addfpprofcalls: list function signatures
git-svn-id: trunk@41074 -
2013-05-08 17:57:15 +00:00
mattias
8fe38c58a3 codetools: procedure specifier syscall
git-svn-id: trunk@41073 -
2013-05-08 17:42:27 +00:00
mattias
721a088bcf codetools: started example addfpprofcalls
git-svn-id: trunk@41072 -
2013-05-08 15:47:56 +00:00
mattias
9d852637df codetools: started example addfpprofcalls
git-svn-id: trunk@41071 -
2013-05-08 15:08:21 +00:00
mattias
77326c8e80 codetools: fixed FindResourceDirective scanning only one file
git-svn-id: trunk@41007 -
2013-05-02 21:41:10 +00:00
mattias
b32a494336 codetools: directive tree: reraise last error
git-svn-id: trunk@41006 -
2013-05-02 21:40:36 +00:00
mattias
09853b3d90 codetools: init error state
git-svn-id: trunk@41005 -
2013-05-02 21:08:00 +00:00
juha
32b591a40e CodeTools: Complete local var with full qualification if type name conflicts. Issue #17777, patch from Anton
git-svn-id: trunk@40992 -
2013-05-02 09:11:10 +00:00
mattias
fb1458ce76 updated makefiles
git-svn-id: trunk@40935 -
2013-04-29 19:49:55 +00:00
mattias
b6a35980e9 codetools: fixed LineColIsOutSide
git-svn-id: trunk@40929 -
2013-04-29 10:08:49 +00:00
mattias
93bfcac232 codetools: identifier completion: fixed ilcfEndOfLine
git-svn-id: trunk@40922 -
2013-04-28 23:08:11 +00:00
mattias
878a5a0321 codetools: undo hack
git-svn-id: trunk@40921 -
2013-04-28 22:41:31 +00:00
mattias
6c82fdfde1 codetools: identifier completion: fixed when cursor outside of code, e.g. beyond end of line
git-svn-id: trunk@40920 -
2013-04-28 22:40:44 +00:00
juha
3964d7f1f3 CodeTools: Make completion tool work correctly with hidden methods. Issue #18929, patch from Anton
git-svn-id: trunk@40918 -
2013-04-28 21:03:14 +00:00
juha
44737bf779 Codetools: Do not touch {$R *.lfm} during automatical code creation. Issue #22497, patch from Anton
git-svn-id: trunk@40910 -
2013-04-28 16:29:56 +00:00
juha
727f6ddd62 Codetools: Fix FindDeclaration tool to not finds inaccessible private/protected fields. Issue #22464, patch from Anton
git-svn-id: trunk@40909 -
2013-04-28 15:20:16 +00:00
juha
3cad2a3828 Codetools: Add support for files in program header. Issue #23277, patch from Anton
git-svn-id: trunk@40908 -
2013-04-28 14:33:05 +00:00
mattias
7dfc6db3f0 ideintf: moved to components
git-svn-id: trunk@40882 -
2013-04-23 07:04:51 +00:00
mattias
6183e3ca8e codetools: extractproc: do not add const modifier when variable is modified in selection
git-svn-id: trunk@40881 -
2013-04-22 16:25:42 +00:00
mattias
2971eecad1 codetools: use GetLineIndent of beautifier
git-svn-id: trunk@40822 -
2013-04-15 10:12:26 +00:00
mattias
f47d8f4577 codetools: code completion: use GetLineIndent of beautifier
git-svn-id: trunk@40821 -
2013-04-15 10:07:23 +00:00
mattias
f1b6abfac5 codetools: stdcodetools: use GetIndentStr of beautifier
git-svn-id: trunk@40820 -
2013-04-15 09:58:00 +00:00
mattias
3c5846fe89 codetools: stdcodetools: use GetLineIndent of beautifier
git-svn-id: trunk@40819 -
2013-04-15 09:53:05 +00:00
mattias
4b82e6e707 codetools: stdcodetools: use GetIndentStr of beautifier
git-svn-id: trunk@40818 -
2013-04-15 09:40:57 +00:00
mattias
1c83932008 codetools: extract proc: use GetIndentStr of beautifier
git-svn-id: trunk@40817 -
2013-04-15 09:23:57 +00:00
mattias
e9156f83de codetools: gather identifiers: use tool beautifier
git-svn-id: trunk@40816 -
2013-04-15 09:14:12 +00:00
mattias
a0f58c4b7d codetools: moved CommentCode to TStdCodeTool
git-svn-id: trunk@40815 -
2013-04-15 09:09:08 +00:00
mattias
5ee76dbc83 codetools: code completion: use GetIndentStr of beautifier
git-svn-id: trunk@40814 -
2013-04-15 09:04:37 +00:00
mattias
57bb6ad932 codetools: added ReIndent
git-svn-id: trunk@40805 -
2013-04-14 18:45:07 +00:00
mattias
925530b425 tests: GuessIndentSize
git-svn-id: trunk@40793 -
2013-04-11 12:20:17 +00:00
mattias
09f8f9e4f4 codetools: started GuessIndentSize
git-svn-id: trunk@40792 -
2013-04-11 11:39:50 +00:00
mattias
f4cb4fec12 IDE: pass BlockTabIndent to codetools
git-svn-id: trunk@40791 -
2013-04-11 11:08:01 +00:00
mattias
501b3263a0 codetools: UseTabs
git-svn-id: trunk@40790 -
2013-04-11 10:58:56 +00:00
mattias
65d0830183 clean up dependencies
git-svn-id: trunk@40773 -
2013-04-09 20:07:08 +00:00
mattias
c38a486cb7 cody: clean up
git-svn-id: trunk@40769 -
2013-04-09 19:24:12 +00:00
mattias
006205e9c2 codetools: allow protected as variable name
git-svn-id: trunk@40762 -
2013-04-09 14:45:35 +00:00
mattias
3ea0ff5289 codetools: added PCTCfgScriptVariables
git-svn-id: trunk@40755 -
2013-04-08 22:13:08 +00:00
mattias
cf877df3c4 updated lpk makefiles
git-svn-id: trunk@40698 -
2013-04-02 10:37:47 +00:00
mattias
480fedbcc8 codetools: safety clean up on exception
git-svn-id: trunk@40681 -
2013-04-01 12:58:40 +00:00
mattias
db6d035073 cody: clean up
git-svn-id: trunk@40594 -
2013-03-20 14:46:07 +00:00
mattias
bd90241752 lazcontrols: added TLvlGraphControl
git-svn-id: trunk@40584 -
2013-03-18 18:50:49 +00:00
mattias
d16cdcf50c codetools: fpc source scores: fileinfo on target non wince, bug #24070
git-svn-id: trunk@40581 -
2013-03-18 08:25:15 +00:00
mattias
b91d1b67ee cody: clean up
git-svn-id: trunk@40533 -
2013-03-12 09:44:36 +00:00