Bug 400231 - Internal file shouldn't be ignored by file size limit
Summary: Internal file shouldn't be ignored by file size limit
Status: RESOLVED INTENTIONAL
Alias: None
Product: kdevplatform
Classification: Developer tools
Component: language (other bugs)
Version First Reported In: git master
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-10-24 07:52 UTC by Alexander Opitz
Modified: 2018-10-25 10:12 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Opitz 2018-10-24 07:52:35 UTC
SUMMARY
It seams, phpfunctions.php is ignored as default file size limit is 5MB.

STEPS TO REPRODUCE
1. Start kdevelop

OBSERVED RESULT
kdevplatform.language: Found internal file  "/usr/share/kdevphpsupport/phpfunctions.php"  in  "/usr/share" . Ignoring file size limit!

EXPECTED RESULT
No warning on console output

SOFTWARE VERSIONS
KDE Frameworks Version: 5.52.0
Qt Version: 5.11.1
KDevelop: git-master
Comment 1 Kevin Funk 2018-10-24 08:55:53 UTC
It seems you're misreading that output. It deliberately /ignores/ the file size limit to parse the internal file.
Comment 2 Kevin Funk 2018-10-24 19:05:09 UTC
Git commit 31c8db7d876b1e9f115ae01aa80dfe0fa6ee8ba8 by Kevin Funk.
Committed on 24/10/2018 at 19:04.
Pushed by kfunk into branch '5.3'.

Remove only use of qCInfo

... turn into qCDebug (as all others)

M  +1    -1    kdevplatform/language/backgroundparser/parsejob.cpp

https://commits.kde.org/kdevelop/31c8db7d876b1e9f115ae01aa80dfe0fa6ee8ba8
Comment 3 Alexander Opitz 2018-10-25 10:12:01 UTC
Ok, thanks for that hint.