Commit Graph

4192 Commits

Author SHA1 Message Date
mattias
a1d47beded codetools: shrinked scan ranges from lsrEnd to lsrInitializationStart where possible
git-svn-id: trunk@42202 -
2013-07-25 12:49:04 +00:00
mattias
9a19939660 codetools: methodjump: ignore initialization section
git-svn-id: trunk@42201 -
2013-07-25 12:28:05 +00:00
mattias
b52f1519a6 codetools: fixed freeing scanner
git-svn-id: trunk@42196 -
2013-07-24 11:13:05 +00:00
mattias
bbabe5442e codetools: free expander
git-svn-id: trunk@42192 -
2013-07-24 07:17:09 +00:00
mattias
9242c6e0fd codetools: clean up
git-svn-id: trunk@42183 -
2013-07-23 14:26:38 +00:00
mattias
3c057df946 codetools: fixed spacing
git-svn-id: trunk@42181 -
2013-07-23 07:11:27 +00:00
mattias
e6e42e5f83 codetools: disabled complete code templates until a compatible solution is implemented
git-svn-id: trunk@42179 -
2013-07-23 07:04:44 +00:00
mattias
e02c8ef2c8 codetools: started ability to load code completion snippets from an xml files, thanks to Don Ziesig, patch #15922
git-svn-id: trunk@42177 -
2013-07-22 22:08:53 +00:00
mattias
a99023497d dci: changed -1 to Pred
git-svn-id: trunk@42174 -
2013-07-22 18:20:54 +00:00
mattias
4999eb619b codetools: arm controller units depending on -WP<x>, patch from Jeppe Johansen
git-svn-id: trunk@42168 -
2013-07-21 18:40:58 +00:00
mattias
633c1f924a cody: clean up
git-svn-id: trunk@42136 -
2013-07-19 05:58:45 +00:00
mattias
24db82d4ba translations: German: updates from Swen Heinig
git-svn-id: trunk@42089 -
2013-07-14 21:51:15 +00:00
mattias
71afb213fb codetools: rename identifier: procedure jump to prochead
git-svn-id: trunk@42074 -
2013-07-13 12:42:32 +00:00
mattias
4c88931c65 IDE: compare default target os, cpu with compiler default
git-svn-id: trunk@42063 -
2013-07-11 23:15:45 +00:00
mattias
eb4f930af7 codetools: fixed asking for the default fpc targetos and targetcpu
git-svn-id: trunk@42062 -
2013-07-11 22:25:50 +00:00
mattias
b22e3f25f8 codetools: identifier completion: i directive keywords
git-svn-id: trunk@42045 -
2013-07-09 20:44:16 +00:00
mattias
f49fed72d4 codetools: identifier completion: i directive keywords
git-svn-id: trunk@42044 -
2013-07-09 20:20:35 +00:00
mattias
0c9f482f89 codetools: fixed reraise last error when scan range increases
git-svn-id: trunk@42042 -
2013-07-09 19:53:43 +00:00
mattias
81346fae7b codetools: fixed error message if include file name is empty
git-svn-id: trunk@42041 -
2013-07-09 19:43:41 +00:00
mattias
bba30188f8 codetools: identifier completion: fixed typo
git-svn-id: trunk@42040 -
2013-07-09 19:34:27 +00:00
maxim
f0acf9fe0b Codetools: updated Russian translation
git-svn-id: trunk@41990 -
2013-07-03 22:50:19 +00:00
juha
4f96dcd578 Codetools: revert changes in TStandardCodeTool.CheckLFM from r41948 #1182ff0df2. Caused regressions. Issue #24702
git-svn-id: trunk@41984 -
2013-07-03 13:57:04 +00:00
mattias
9cbfcbcbcd codetools: comments
git-svn-id: trunk@41981 -
2013-07-03 08:06:33 +00:00
mattias
4d11ba6ac9 codetools: resourcestring
git-svn-id: trunk@41980 -
2013-07-03 07:48:30 +00:00
mattias
5403670354 codetools: when ppu found, but not source: add hint to check FPC source directory
git-svn-id: trunk@41979 -
2013-07-03 07:47:59 +00:00
juha
a90ea22ce0 Codetools: formatting
git-svn-id: trunk@41965 -
2013-07-02 12:56:54 +00:00
juha
0c732a1c4c Converter: Cleanup. Get rid of an excess variable.
git-svn-id: trunk@41959 -
2013-07-01 23:33:00 +00:00
mattias
30c64c2982 codetools: code complete: for c in char
git-svn-id: trunk@41952 -
2013-07-01 11:14:55 +00:00
mattias
e16523559c codetools: fixed parsing expression with &keyword
git-svn-id: trunk@41950 -
2013-06-30 22:40:51 +00:00
juha
1182ff0df2 Converter: Add variables in class when components (like menu item) are only in LFM. Changed also CheckLFM. Issue #24473.
git-svn-id: trunk@41948 -
2013-06-30 22:05:56 +00:00
juha
8ae11e18a5 Codetools: formatting
git-svn-id: trunk@41947 -
2013-06-30 22:05:48 +00:00
mattias
04ad21f805 lazutils: notes about thread safety
git-svn-id: trunk@41945 -
2013-06-29 17:12:53 +00:00
mattias
ff5f02afd2 IDE: callstack: search source via mangled function name
git-svn-id: trunk@41929 -
2013-06-27 17:20:03 +00:00
mattias
a411d10198 codetools: fixed uninitialized params
git-svn-id: trunk@41914 -
2013-06-27 07:22:58 +00:00
mattias
3796042759 codetools: code completion: started option to not update signatures if only case changed
git-svn-id: trunk@41909 -
2013-06-26 15:03:37 +00:00
mattias
32c3033b75 codetools: clear cursornode
git-svn-id: trunk@41902 -
2013-06-26 07:40:29 +00:00
mattias
e85d92f195 codetools: clean up
git-svn-id: trunk@41898 -
2013-06-25 15:52:28 +00:00
mattias
7f9fbd0a68 IDE: unit deps: fixed popup menu
git-svn-id: trunk@41897 -
2013-06-25 15:51:58 +00:00
mattias
7b17aaf0b3 codetools: identifier completion: ignore parser errors when gathering keywords, bug #20919
git-svn-id: trunk@41886 -
2013-06-25 09:33:37 +00:00
mattias
f7a0b09e98 codetools: clean up
git-svn-id: trunk@41884 -
2013-06-25 09:27:24 +00:00
mattias
7397ad3c22 codetools: completecode: update proc signatures, IDE: options to disable updating multiple signatures
git-svn-id: trunk@41881 -
2013-06-25 08:34:20 +00:00
mattias
7d34128f78 codetools: fixed class completion for properties with constant index
git-svn-id: trunk@41864 -
2013-06-24 12:06:05 +00:00
maxim
8dda55133d Regenerated translations; updated Russian translation
git-svn-id: trunk@41853 -
2013-06-23 19:36:15 +00:00
mattias
7201e34ba9 codetools: on variable only valid in the on block, bug #24494
git-svn-id: trunk@41842 -
2013-06-23 17:32:52 +00:00
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