Commit Graph

220 Commits

Author SHA1 Message Date
juha
83b5ba73f2 Codetools: Comment out functions in BasicCodetools dealing with CreateForm. Methods in StdCodetools are used.
git-svn-id: trunk@63006 -
2020-04-17 09:32:13 +00:00
ondrej
b21a3831c1 CodeTools: ofall() code macro: keep & prefixes. Issue #35801
git-svn-id: trunk@62244 -
2019-11-15 21:38:13 +00:00
juha
2599738437 Codetools: Fix function FindNextIncludeDirective when an include file name is quoted.
git-svn-id: trunk@60675 -
2019-03-15 11:23:21 +00:00
mattias
967bf6dfd1 IDE: fix invalid localized package names
git-svn-id: trunk@57961 -
2018-05-18 21:34:39 +00:00
mattias
e1dcfde200 codetools: identifier completion: list pas2js default units
git-svn-id: trunk@57952 -
2018-05-18 07:31:39 +00:00
mattias
cab4029da6 codetools: fixed rangechecking
git-svn-id: trunk@57114 -
2018-01-18 21:23:38 +00:00
mattias
b8a4422c7f codetools: identifier completion fixed empy Prefix
git-svn-id: trunk@57038 -
2018-01-10 08:30:25 +00:00
juha
6810c626df LazUtils: Change "Character" to "Codepoint" in LazUTF8 function names to be more accurate and to avoid confusion.
git-svn-id: trunk@56692 -
2017-12-11 19:44:22 +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
dbf2c24c6e codetools: GetIdentStartEndAtPosition: check if within number
git-svn-id: trunk@56170 -
2017-10-23 11:48:46 +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
08bd7d6206 IDE: parse project default namespace
git-svn-id: trunk@54767 -
2017-04-28 22:27:06 +00:00
mattias
aa5717bb55 codetools: search units with namespaces
git-svn-id: trunk@54745 -
2017-04-26 18:36:04 +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
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
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
7ca0140e65 codetools: fixed StringToPascalConst, added tests, bug #30955
git-svn-id: trunk@53383 -
2016-11-18 17:44:17 +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
mattias
81599322c4 codetools: started FindFileAtCursor
git-svn-id: trunk@53269 -
2016-10-30 23:42:40 +00:00
juha
9367da0ae5 Remove extra checks for empty strings together with IsValidIdent. It already handles an empty string.
git-svn-id: trunk@52812 -
2016-08-17 10:40:29 +00:00
mattias
c190ac187c codetools: CleanCodeFromComments: added parameter KeepVerbosityDirectives
git-svn-id: trunk@52138 -
2016-04-07 07:38:39 +00:00
juha
e5845a0818 Formatting
git-svn-id: trunk@52021 -
2016-03-22 21:57:06 +00:00
mattias
5698c6ed02 codetools: CleanCodeFromComments added parameter KeepDirectives
git-svn-id: trunk@51269 -
2016-01-13 17:25:10 +00:00
ondrej
1b7e95bd67 codetools: fixed GetIdentStart* for identifiers prefixed with &.
git-svn-id: trunk@50322 -
2015-11-12 15:50:59 +00:00
ondrej
ba310dcf48 IDE, CodeTools: improved character case recognition for units and namespaces.
git-svn-id: trunk@50268 -
2015-11-10 10:38:58 +00:00
ondrej
d49143fd83 IDE, CodeTools: support for unit names with dots. Issue #22235
git-svn-id: trunk@50266 -
2015-11-09 22:23:19 +00:00
juha
653b5dd43a Codetools, unit FileProcs: Disable conditionally wrapper functions. For testing define DisableWrapperFunctions and build Lazarus.
git-svn-id: trunk@49504 -
2015-07-07 11:43:38 +00:00
mattias
09320e4420 codetools: clean up
git-svn-id: trunk@48669 -
2015-04-06 18:07:35 +00:00
mattias
8cbb9b1f87 IDE: codebrowser: show only 5000 items
git-svn-id: trunk@46863 -
2014-11-15 14:45:14 +00:00
mattias
9ddf3d4196 codetools: FindAbstractMethods: search class interfaces
git-svn-id: trunk@45593 -
2014-06-21 15:35:46 +00:00
mattias
4b4c8ddb37 codetools: fixed parsing nested directives in plain sources
git-svn-id: trunk@45505 -
2014-06-13 22:14:39 +00:00
mattias
a7c4d5af38 IDE: fpc msg parser: fix position for message identifier not found
git-svn-id: trunk@45339 -
2014-06-04 19:11:48 +00:00
mattias
d683f4106d codetools: less hints
git-svn-id: trunk@44084 -
2014-02-15 23:41:42 +00:00
mattias
f66fa252fc IDE: renamed SetPathDelims to GetForcedPathDelims
git-svn-id: trunk@42698 -
2013-09-09 10:28:10 +00:00
mattias
ac4996ff62 replaced SetDirSeparators with SetPathDelims
git-svn-id: trunk@42685 -
2013-09-08 20:58:12 +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
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
501b3263a0 codetools: UseTabs
git-svn-id: trunk@40790 -
2013-04-11 10:58:56 +00:00
mattias
752ae4ef0b codetools: fixed FindCommentEnd
git-svn-id: trunk@38203 -
2012-08-08 12:07:17 +00:00
mattias
d21465be10 codetools: started skipping codetools skip comments
git-svn-id: trunk@38190 -
2012-08-06 22:37:08 +00:00
mattias
5a6462019e codetools: searching compiler: search first in dir of fpc.exe, then in PATH
git-svn-id: trunk@37262 -
2012-05-13 08:31:43 +00:00
mattias
4ea260ab19 codetools: fixed name conflict comparetext
git-svn-id: trunk@35899 -
2012-03-12 08:08:43 +00:00
mattias
93cb3d2b93 codetools: added CompareText
git-svn-id: trunk@35890 -
2012-03-11 15:56:49 +00:00
mattias
e3eb046488 codetools: clean up
git-svn-id: trunk@35734 -
2012-03-05 14:28:42 +00:00
mattias
5e854c0599 codetools: added HasTxtWord
git-svn-id: trunk@35677 -
2012-03-03 17:02:11 +00:00
mattias
4bf4fdc891 codetools: fixed substring
git-svn-id: trunk@35661 -
2012-03-03 10:35:58 +00:00
mattias
95659a5d58 codetools: added substring
git-svn-id: trunk@35657 -
2012-03-03 00:22:26 +00:00