mirror of
https://github.com/notepad-plus-plus/notepad-plus-plus.git
synced 2025-08-14 06:18:27 +02:00
Scintilla Release 5.3.8 https://www.scintilla.org/scintilla538.zip Released 5 November 2023. Fix excessive memory use when deleting contiguous ranges backwards. Notepad++ Issue #13442. Fix incorrect substitution when searching for a regular expression backwards. Bug #2405. Make SCI_MOVESELECTEDLINESUP and SCI_MOVESELECTEDLINESDOWN work for rectangular selections. Bug #2078. For Cocoa, minimum supported macOS release increased to 10.13. For Cocoa, fix invisible text on macOS 14 Sonoma. Bug #2402. For Cocoa, do nothing for suspendDrawing on macOS 10.14+ as the underlying calls have been deprecated. and lexilla Release 5.2.8 https://www.scintilla.org/lexilla528.zip Released 5 November 2023. Python: Update f-string handling to match PEP 701 and Python 3.12. Controlled with property lexer.python.strings.f.pep.701. Issue #150, Pull request #209. R: Fix escape sequence highlighting with change of for loop to while loop. Issue #206, Pull request #207. Minimum supported macOS release increased to 10.13. Related to Notepad++ issue #13442, #14188 & #14288 Tested with: https://github.com/notepad-plus-plus/notepad-plus-plus/issues/14188#issuecomment-1740088956 Result: https://github.com/notepad-plus-plus/notepad-plus-plus/issues/14188#issuecomment-1799039503 Fix #13442, fix #14188, fix #14288, close #14320
91 lines
3.6 KiB
Plaintext
91 lines
3.6 KiB
Plaintext
// File to suppress cppcheck warnings for files that will not be fixed.
|
|
// Does not suppress warnings where an additional occurrence of the warning may be of interest.
|
|
// Configured for cppcheck 2.11
|
|
|
|
// Coding style is to use assignments in constructor when there are many
|
|
// members to initialize or the initialization is complex or has comments.
|
|
useInitializationList
|
|
|
|
// These may be interesting but its not clear without examining each instance closely
|
|
// Would have to ensure that any_of/all_of has same early/late exits as current code and
|
|
// produces same result on empty collections
|
|
useStlAlgorithm
|
|
|
|
// Written with variable for consistency
|
|
knownArgument:scintilla/src/SparseVector.h
|
|
|
|
// cppcheck 2.11 can't find system headers on Win32.
|
|
missingIncludeSystem
|
|
|
|
// cppcheck 2.11 limits checking of complex functions unless --check-level=exhaustive
|
|
checkLevelNormal:scintilla/src/Editor.cxx
|
|
|
|
// The cast converts from 'unsigned char ' to 'char' so isn't unused.
|
|
// Redundant code: Found unused cast of expression 'leadByte'
|
|
constStatement:scintilla/src/Document.cxx
|
|
|
|
// ILexer5* is not pointing at logically const
|
|
constParameterPointer:scintilla/src/Document.cxx
|
|
|
|
// Some non-explicit constructors are used for conversions or are private to lexers
|
|
noExplicitConstructor
|
|
|
|
// MarginView access to all bits is safe and is better defined in later versions of C++
|
|
shiftTooManyBitsSigned:scintilla/src/MarginView.cxx
|
|
integerOverflow:scintilla/src/MarginView.cxx
|
|
|
|
// DLL entry points are unused inside Scintilla
|
|
unusedFunction:scintilla/win32/ScintillaDLL.cxx
|
|
|
|
// ScintillaDocument is providing an API and there are no consumers of the API inside Scintilla
|
|
unusedFunction:scintilla/qt/ScintillaEdit/ScintillaDocument.cpp
|
|
|
|
// Doesn't understand changing dropWentOutside in Editor
|
|
knownConditionTrueFalse:scintilla/win32/ScintillaWin.cxx
|
|
|
|
// GetData is implementing interface so shouldn't add const
|
|
constParameterPointer:scintilla/win32/ScintillaWin.cxx
|
|
|
|
// Doesn't handle intptr_t (long long) being signed
|
|
knownConditionTrueFalse:scintilla/src/Editor.cxx
|
|
knownConditionTrueFalse:scintilla/src/EditView.cxx
|
|
|
|
// cppcheck seems to believe that unique_ptr<T *[]>::get returns void* instead of T**
|
|
arithOperationsOnVoidPointer:scintilla/src/PerLine.cxx
|
|
arithOperationsOnVoidPointer:scintilla/src/PositionCache.cxx
|
|
|
|
// G_DEFINE_TYPE is too complex to pass to cppcheck
|
|
unknownMacro:scintilla/gtk/PlatGTK.cxx
|
|
|
|
// maskSmooth set depending on preprocessor allowing Wayland definition
|
|
badBitmaskCheck:scintilla/gtk/ScintillaGTK.cxx
|
|
|
|
// Changing events to const pointers changes signature and would require casts when hooking up
|
|
constParameterPointer:scintilla/gtk/ScintillaGTK.cxx
|
|
constParameterCallback:scintilla/gtk/ScintillaGTK.cxx
|
|
|
|
// Difficult to test accessibility so don't change
|
|
constParameterPointer:scintilla/gtk/ScintillaGTKAccessible.cxx
|
|
constVariableReference:scintilla/gtk/ScintillaGTKAccessible.cxx
|
|
constVariablePointer:scintilla/gtk/ScintillaGTKAccessible.cxx
|
|
|
|
// moc_ files show #error as they are not built with standard context
|
|
preprocessorErrorDirective:scintilla/qt/*.cpp
|
|
|
|
// Doesn't understand Qt slots macro
|
|
unknownMacro:scintilla/qt/ScintillaEditBase/*.h
|
|
|
|
// The performance cost of by-value passing is often small and using a reference decreases
|
|
// code legibility.
|
|
passedByValue
|
|
|
|
// Suppress everything in catch.hpp as won't be changing
|
|
*:scintilla/test/unit/catch.hpp
|
|
|
|
// Checks for moves move to variables that are not read but the moved from is checked
|
|
unreadVariable:scintilla/test/unit/*.cxx
|
|
accessMoved:scintilla/test/unit/*.cxx
|
|
|
|
// cppcheck fails REQUIRE from Catch
|
|
comparisonOfFuncReturningBoolError:scintilla/test/unit/*.cxx
|