mirror of
https://github.com/notepad-plus-plus/notepad-plus-plus.git
synced 2025-08-28 05:08:30 +02:00
update to Scinitlla Release 5.3.5 (https://www.scintilla.org/scintilla535.zip) Released 31 May 2023. On Win32, implement IME context sensitivity with IMR_DOCUMENTFEED. Feature #1310. On Win32 remove dependence on MSIMG32.DLL by replacing AlphaBlend by GdiAlphaBlend. Bug #1923. On Qt, stop movement of IME candidate box. On Qt, report correct caret position within paragraph for IME retrieve surrounding text. On Qt for Cocoa, fix crash in entry of multi-character strings with IME. and Lexilla Release 5.2.5 (https://www.scintilla.org/lexilla525.zip) Released 31 May 2023. Add CharacterSetArray constructor without setBase initial argument for common case where this is setNone and the initialSet argument completely defines the characters. This shortens and clarifies use of CharacterSetArray. Bash: implement highlighting inside quoted elements and here-docs. Controlled with properties lexer.bash.styling.inside.string, lexer.bash.styling.inside.backticks, lexer.bash.styling.inside.parameter, and lexer.bash.styling.inside.heredoc. Issue #154, Issue #153, Feature #1033. Bash: add property lexer.bash.command.substitution to choose how to style command substitutions. 0 → SCE_SH_BACKTICKS; 1 → surrounding "$(" and ")" as operators and contents styled as bash code; 2 → use distinct styles (base style + 64) for contents. Choice (2) is a provisional feature and details may change before it is finalized. Issue #153. Bash: fix nesting of parameters (SCE_SH_PARAM) like ${var/$sub/"${rep}}"}. Issue #154. Bash: fix single character special parameters like $? by limiting style. Issue #154. Bash: treat "$$" as special parameter and end scalars before "$". Issue #154. Bash: treat "<<" in arithmetic contexts as left bitwise shift operator instead of here-doc. Issue #137. Batch: style SCE_BAT_AFTER_LABEL used for rest of line after label which is not executed. Issue #148. F#: Lex interpolated verbatim strings as verbatim. Issue #156. VB: allow multiline strings when lexer.vb.strings.multiline set. Issue #151. Close #13729
148 lines
6.4 KiB
Plaintext
148 lines
6.4 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.
|
|
|
|
// 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
|
|
|
|
// Some non-explicit constructors are used for conversions or are private to lexers
|
|
noExplicitConstructor
|
|
|
|
// The performance cost of by-value passing is often small and using a reference decreases
|
|
// code legibility.
|
|
passedByValue
|
|
|
|
// This could be fixed but it should be rewritten to use string_view which doesn't have resize
|
|
uselessCallsSubstr:lexilla/lexers/LexCPP.cxx
|
|
|
|
// Suppress most lexer warnings since the lexers are maintained by others
|
|
redundantCondition:lexilla/lexers/LexA68k.cxx
|
|
constParameter:lexilla/lexers/LexAbaqus.cxx
|
|
constParameterCallback:lexilla/lexers/LexAsn1.cxx
|
|
knownConditionTrueFalse:lexilla/lexers/LexAU3.cxx
|
|
shadowVariable:lexilla/lexers/LexAU3.cxx
|
|
constParameter:lexilla/lexers/LexBaan.cxx
|
|
unreadVariable:lexilla/lexers/LexBaan.cxx
|
|
constParameter:lexilla/lexers/LexBash.cxx
|
|
variableScope:lexilla/lexers/LexBash.cxx
|
|
variableScope:lexilla/lexers/LexCmake.cxx
|
|
knownConditionTrueFalse:lexilla/lexers/LexCmake.cxx
|
|
constParameter:lexilla/lexers/LexCLW.cxx
|
|
knownConditionTrueFalse:lexilla/lexers/LexCLW.cxx
|
|
constParameter:lexilla/lexers/LexCoffeeScript.cxx
|
|
knownConditionTrueFalse:lexilla/lexers/LexCoffeeScript.cxx
|
|
constParameter:lexilla/lexers/LexCPP.cxx
|
|
variableScope:lexilla/lexers/LexCSS.cxx
|
|
variableScope:lexilla/lexers/LexDataflex.cxx
|
|
knownConditionTrueFalse:lexilla/lexers/LexECL.cxx
|
|
knownConditionTrueFalse:lexilla/lexers/LexEiffel.cxx
|
|
variableScope:lexilla/lexers/LexErlang.cxx
|
|
knownConditionTrueFalse:lexilla/lexers/LexEScript.cxx
|
|
constParameter:lexilla/lexers/LexFortran.cxx
|
|
redundantContinue:lexilla/lexers/LexFortran.cxx
|
|
knownConditionTrueFalse:lexilla/lexers/LexFSharp.cxx
|
|
constParameter:lexilla/lexers/LexGDScript.cxx
|
|
variableScope:lexilla/lexers/LexGui4Cli.cxx
|
|
constParameter:lexilla/lexers/LexHaskell.cxx
|
|
constParameter:lexilla/lexers/LexHex.cxx
|
|
knownConditionTrueFalse:lexilla/lexers/LexHex.cxx
|
|
constParameter:lexilla/lexers/LexHTML.cxx
|
|
variableScope:lexilla/lexers/LexInno.cxx
|
|
constParameter:lexilla/lexers/LexJulia.cxx
|
|
knownConditionTrueFalse:lexilla/lexers/LexJulia.cxx
|
|
unreadVariable:lexilla/lexers/LexJulia.cxx
|
|
variableScope:lexilla/lexers/LexJulia.cxx
|
|
variableScope:lexilla/lexers/LexLaTeX.cxx
|
|
constParameter:lexilla/lexers/LexLaTeX.cxx
|
|
constParameter:lexilla/lexers/LexMagik.cxx
|
|
constParameter:lexilla/lexers/LexMatlab.cxx
|
|
unreadVariable:lexilla/lexers/LexMatlab.cxx
|
|
variableScope:lexilla/lexers/LexMetapost.cxx
|
|
constParameter:lexilla/lexers/LexModula.cxx
|
|
variableScope:lexilla/lexers/LexModula.cxx
|
|
variableScope:lexilla/lexers/LexMSSQL.cxx
|
|
shadowArgument:lexilla/lexers/LexMySQL.cxx
|
|
constParameter:lexilla/lexers/LexNim.cxx
|
|
constParameter:lexilla/lexers/LexNimrod.cxx
|
|
knownConditionTrueFalse:lexilla/lexers/LexNimrod.cxx
|
|
variableScope:lexilla/lexers/LexNimrod.cxx
|
|
variableScope:lexilla/lexers/LexNsis.cxx
|
|
knownConditionTrueFalse:lexilla/lexers/LexNsis.cxx
|
|
variableScope:lexilla/lexers/LexOpal.cxx
|
|
constParameter:lexilla/lexers/LexOScript.cxx
|
|
variableScope:lexilla/lexers/LexPB.cxx
|
|
constParameter:lexilla/lexers/LexPerl.cxx
|
|
knownConditionTrueFalse:lexilla/lexers/LexPerl.cxx
|
|
constParameter:lexilla/lexers/LexPython.cxx
|
|
shadowVariable:lexilla/lexers/LexPowerPro.cxx
|
|
knownConditionTrueFalse:lexilla/lexers/LexPowerPro.cxx
|
|
variableScope:lexilla/lexers/LexProgress.cxx
|
|
constParameter:lexilla/lexers/LexRaku.cxx
|
|
variableScope:lexilla/lexers/LexRaku.cxx
|
|
redundantInitialization:lexilla/lexers/LexRegistry.cxx
|
|
constParameter:lexilla/lexers/LexRuby.cxx
|
|
knownConditionTrueFalse:lexilla/lexers/LexRuby.cxx
|
|
constParameter:lexilla/lexers/LexRust.cxx
|
|
knownConditionTrueFalse:lexilla/lexers/LexScriptol.cxx
|
|
variableScope:lexilla/lexers/LexSpecman.cxx
|
|
unreadVariable:lexilla/lexers/LexSpice.cxx
|
|
constParameter:lexilla/lexers/LexSTTXT.cxx
|
|
knownConditionTrueFalse:lexilla/lexers/LexTACL.cxx
|
|
clarifyCalculation:lexilla/lexers/LexTADS3.cxx
|
|
constParameter:lexilla/lexers/LexTADS3.cxx
|
|
unreadVariable:lexilla/lexers/LexTCL.cxx
|
|
invalidscanf:lexilla/lexers/LexTCMD.cxx
|
|
constParameter:lexilla/lexers/LexTeX.cxx
|
|
variableScope:lexilla/lexers/LexTeX.cxx
|
|
knownConditionTrueFalse:lexilla/lexers/LexTxt2tags.cxx
|
|
knownConditionTrueFalse:lexilla/lexers/LexVB.cxx
|
|
constParameter:lexilla/lexers/LexVerilog.cxx
|
|
variableScope:lexilla/lexers/LexVerilog.cxx
|
|
badBitmaskCheck:lexilla/lexers/LexVerilog.cxx
|
|
uselessCallsSubstr:lexilla/lexers/LexVerilog.cxx
|
|
constParameter:lexilla/lexers/LexVHDL.cxx
|
|
shadowVariable:lexilla/lexers/LexVHDL.cxx
|
|
unreadVariable:lexilla/lexers/LexVHDL.cxx
|
|
variableScope:lexilla/lexers/LexVHDL.cxx
|
|
unreadVariable:lexilla/lexers/LexVisualProlog.cxx
|
|
unreadVariable:lexilla/lexers/LexX12.cxx
|
|
constVariable:lexilla/lexers/LexX12.cxx
|
|
uselessCallsSubstr:lexilla/lexers/LexX12.cxx
|
|
constParameter:lexilla/lexers/LexYAML.cxx
|
|
knownConditionTrueFalse:lexilla/lexers/LexYAML.cxx
|
|
|
|
// These are due to Accessor::IndentAmount not declaring the callback as taking a const.
|
|
// Changing this could cause problems for downstream projects.
|
|
constParameterCallback:lexilla/lexers/LexEiffel.cxx
|
|
constParameterCallback:lexilla/lexers/LexGDScript.cxx
|
|
constParameterCallback:lexilla/lexers/LexPython.cxx
|
|
constParameterCallback:lexilla/lexers/LexScriptol.cxx
|
|
constParameterCallback:lexilla/lexers/LexVB.cxx
|
|
|
|
constVariable:lexilla/lexers/LexCSS.cxx
|
|
constVariable:lexilla/lexers/LexCrontab.cxx
|
|
constVariable:lexilla/lexers/LexGui4Cli.cxx
|
|
constVariable:lexilla/lexers/LexKix.cxx
|
|
constVariable:lexilla/lexers/LexMetapost.cxx
|
|
constVariable:lexilla/lexers/LexOpal.cxx
|
|
|
|
// cppcheck appears wrong as atKeyPath must be remembered between loops
|
|
variableScope:lexilla/lexers/LexRegistry.cxx
|
|
|
|
// Suppress everything in test example files
|
|
*:lexilla/test/examples/*
|
|
|
|
// Suppress everything in catch.hpp as won't be changing
|
|
*:lexilla/test/unit/catch.hpp
|
|
// cppcheck gives up inside catch.hpp
|
|
*:lexilla/test/unit/UnitTester.cxx
|
|
*:lexilla/test/unit/unitTest.cxx
|
|
|
|
// cppcheck fails REQUIRE from Catch
|
|
comparisonOfFuncReturningBoolError:lexilla/test/unit/*.cxx
|