diff --git a/PowerEditor/scintilla.original.forUpdating/lexilla525.zip b/PowerEditor/scintilla.original.forUpdating/lexilla526.zip similarity index 68% rename from PowerEditor/scintilla.original.forUpdating/lexilla525.zip rename to PowerEditor/scintilla.original.forUpdating/lexilla526.zip index eef755e4e..4c68594fe 100644 Binary files a/PowerEditor/scintilla.original.forUpdating/lexilla525.zip and b/PowerEditor/scintilla.original.forUpdating/lexilla526.zip differ diff --git a/PowerEditor/scintilla.original.forUpdating/scintilla535.zip b/PowerEditor/scintilla.original.forUpdating/scintilla536.zip similarity index 76% rename from PowerEditor/scintilla.original.forUpdating/scintilla535.zip rename to PowerEditor/scintilla.original.forUpdating/scintilla536.zip index c2a47cb4c..1f2122530 100644 Binary files a/PowerEditor/scintilla.original.forUpdating/scintilla535.zip and b/PowerEditor/scintilla.original.forUpdating/scintilla536.zip differ diff --git a/lexilla/.gitattributes b/lexilla/.gitattributes index 78e1cd116..ce2f02599 100644 --- a/lexilla/.gitattributes +++ b/lexilla/.gitattributes @@ -25,6 +25,7 @@ **.folded text **.adoc text **.asp text +**.aspx text **.php text **.vb text **.cmake text diff --git a/lexilla/cppcheck.suppress b/lexilla/cppcheck.suppress index e09a888c3..78420dd1a 100644 --- a/lexilla/cppcheck.suppress +++ b/lexilla/cppcheck.suppress @@ -1,5 +1,6 @@ // 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. @@ -17,103 +18,140 @@ noExplicitConstructor // code legibility. passedByValue +// cppcheck 2.11 can't find system headers on Win32. +missingIncludeSystem + +// cppcheck seems to believe that unique_ptr::get returns void* instead of char** +arithOperationsOnVoidPointer:lexilla/lexlib/WordList.cxx + // This could be fixed but it should be rewritten to use string_view which doesn't have resize uselessCallsSubstr:lexilla/lexers/LexCPP.cxx +// cppcheck 2.11 limits checking of complex functions unless --check-level=exhaustive but that +// only finds one false issue in LexRuby +checkLevelNormal:lexilla/lexers/LexBash.cxx +checkLevelNormal:lexilla/lexers/LexCPP.cxx +checkLevelNormal:lexilla/lexers/LexHTML.cxx +checkLevelNormal:lexilla/lexers/LexPerl.cxx +checkLevelNormal:lexilla/lexers/LexRuby.cxx + +// Cppcheck wrongly assumes string_view::remove_prefix can not empty the view +knownConditionTrueFalse:lexilla/test/TestLexers.cxx + // Suppress most lexer warnings since the lexers are maintained by others redundantCondition:lexilla/lexers/LexA68k.cxx -constParameter:lexilla/lexers/LexAbaqus.cxx +constParameterReference:lexilla/lexers/LexAbaqus.cxx +constParameterReference:lexilla/lexers/LexAsciidoc.cxx constParameterCallback:lexilla/lexers/LexAsn1.cxx knownConditionTrueFalse:lexilla/lexers/LexAU3.cxx shadowVariable:lexilla/lexers/LexAU3.cxx -constParameter:lexilla/lexers/LexBaan.cxx +constParameterReference:lexilla/lexers/LexBaan.cxx unreadVariable:lexilla/lexers/LexBaan.cxx -constParameter:lexilla/lexers/LexBash.cxx +variableScope:lexilla/lexers/LexBaan.cxx +constParameterPointer:lexilla/lexers/LexBaan.cxx +constParameterReference:lexilla/lexers/LexBash.cxx variableScope:lexilla/lexers/LexBash.cxx +constVariable:lexilla/lexers/LexBasic.cxx variableScope:lexilla/lexers/LexCmake.cxx knownConditionTrueFalse:lexilla/lexers/LexCmake.cxx -constParameter:lexilla/lexers/LexCLW.cxx +constParameterReference:lexilla/lexers/LexCLW.cxx knownConditionTrueFalse:lexilla/lexers/LexCLW.cxx -constParameter:lexilla/lexers/LexCoffeeScript.cxx +constParameterReference:lexilla/lexers/LexCoffeeScript.cxx +constParameterPointer:lexilla/lexers/LexCoffeeScript.cxx knownConditionTrueFalse:lexilla/lexers/LexCoffeeScript.cxx -constParameter:lexilla/lexers/LexCPP.cxx +constParameterReference:lexilla/lexers/LexCPP.cxx variableScope:lexilla/lexers/LexCSS.cxx variableScope:lexilla/lexers/LexDataflex.cxx knownConditionTrueFalse:lexilla/lexers/LexECL.cxx +variableScope:lexilla/lexers/LexECL.cxx +constParameterPointer:lexilla/lexers/LexEDIFACT.cxx knownConditionTrueFalse:lexilla/lexers/LexEiffel.cxx variableScope:lexilla/lexers/LexErlang.cxx +knownConditionTrueFalse:lexilla/lexers/LexErrorList.cxx knownConditionTrueFalse:lexilla/lexers/LexEScript.cxx constParameter:lexilla/lexers/LexFortran.cxx +constParameterReference:lexilla/lexers/LexFortran.cxx redundantContinue:lexilla/lexers/LexFortran.cxx knownConditionTrueFalse:lexilla/lexers/LexFSharp.cxx -constParameter:lexilla/lexers/LexGDScript.cxx +constParameterReference:lexilla/lexers/LexGDScript.cxx variableScope:lexilla/lexers/LexGui4Cli.cxx -constParameter:lexilla/lexers/LexHaskell.cxx -constParameter:lexilla/lexers/LexHex.cxx +constParameterReference:lexilla/lexers/LexHaskell.cxx +constParameterReference:lexilla/lexers/LexHex.cxx knownConditionTrueFalse:lexilla/lexers/LexHex.cxx -constParameter:lexilla/lexers/LexHTML.cxx +constParameterReference:lexilla/lexers/LexHTML.cxx +constVariable:lexilla/lexers/LexHollywood.cxx variableScope:lexilla/lexers/LexInno.cxx -constParameter:lexilla/lexers/LexJulia.cxx +constParameterReference: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 +constParameterReference:lexilla/lexers/LexLaTeX.cxx +constParameterReference:lexilla/lexers/LexMagik.cxx +constParameterReference:lexilla/lexers/LexMarkdown.cxx +constParameterReference:lexilla/lexers/LexMatlab.cxx unreadVariable:lexilla/lexers/LexMatlab.cxx +variableScope:lexilla/lexers/LexMatlab.cxx variableScope:lexilla/lexers/LexMetapost.cxx -constParameter:lexilla/lexers/LexModula.cxx +constParameterReference:lexilla/lexers/LexModula.cxx variableScope:lexilla/lexers/LexModula.cxx +constParameterReference:lexilla/lexers/LexMPT.cxx variableScope:lexilla/lexers/LexMSSQL.cxx shadowArgument:lexilla/lexers/LexMySQL.cxx -constParameter:lexilla/lexers/LexNim.cxx -constParameter:lexilla/lexers/LexNimrod.cxx +constParameterReference:lexilla/lexers/LexNim.cxx +constParameterReference: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 +knownConditionTrueFalse:lexilla/lexers/LexOpal.cxx +constParameterReference:lexilla/lexers/LexOScript.cxx variableScope:lexilla/lexers/LexPB.cxx -constParameter:lexilla/lexers/LexPerl.cxx +constParameterReference:lexilla/lexers/LexPerl.cxx knownConditionTrueFalse:lexilla/lexers/LexPerl.cxx -constParameter:lexilla/lexers/LexPython.cxx +constParameterReference:lexilla/lexers/LexPO.cxx +constParameterReference:lexilla/lexers/LexPython.cxx shadowVariable:lexilla/lexers/LexPowerPro.cxx knownConditionTrueFalse:lexilla/lexers/LexPowerPro.cxx variableScope:lexilla/lexers/LexProgress.cxx -constParameter:lexilla/lexers/LexRaku.cxx +constParameterReference: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 +constParameterReference:lexilla/lexers/LexRuby.cxx +constParameterReference:lexilla/lexers/LexRust.cxx knownConditionTrueFalse:lexilla/lexers/LexScriptol.cxx variableScope:lexilla/lexers/LexSpecman.cxx unreadVariable:lexilla/lexers/LexSpice.cxx -constParameter:lexilla/lexers/LexSTTXT.cxx +constParameterReference:lexilla/lexers/LexSTTXT.cxx knownConditionTrueFalse:lexilla/lexers/LexTACL.cxx clarifyCalculation:lexilla/lexers/LexTADS3.cxx -constParameter:lexilla/lexers/LexTADS3.cxx +constParameterReference:lexilla/lexers/LexTADS3.cxx unreadVariable:lexilla/lexers/LexTCL.cxx invalidscanf:lexilla/lexers/LexTCMD.cxx -constParameter:lexilla/lexers/LexTeX.cxx +constParameterPointer:lexilla/lexers/LexTCMD.cxx +constParameterReference:lexilla/lexers/LexTeX.cxx variableScope:lexilla/lexers/LexTeX.cxx knownConditionTrueFalse:lexilla/lexers/LexTxt2tags.cxx knownConditionTrueFalse:lexilla/lexers/LexVB.cxx -constParameter:lexilla/lexers/LexVerilog.cxx +constParameterReference:lexilla/lexers/LexVerilog.cxx variableScope:lexilla/lexers/LexVerilog.cxx badBitmaskCheck:lexilla/lexers/LexVerilog.cxx uselessCallsSubstr:lexilla/lexers/LexVerilog.cxx -constParameter:lexilla/lexers/LexVHDL.cxx +constParameterReference:lexilla/lexers/LexVHDL.cxx +constVariable:lexilla/lexers/LexVHDL.cxx shadowVariable:lexilla/lexers/LexVHDL.cxx unreadVariable:lexilla/lexers/LexVHDL.cxx variableScope:lexilla/lexers/LexVHDL.cxx unreadVariable:lexilla/lexers/LexVisualProlog.cxx +variableScope:lexilla/lexers/LexVisualProlog.cxx +shiftTooManyBitsSigned:lexilla/lexers/LexVisualProlog.cxx unreadVariable:lexilla/lexers/LexX12.cxx -constVariable:lexilla/lexers/LexX12.cxx +constVariableReference:lexilla/lexers/LexX12.cxx +constParameterPointer:lexilla/lexers/LexX12.cxx uselessCallsSubstr:lexilla/lexers/LexX12.cxx -constParameter:lexilla/lexers/LexYAML.cxx +constParameterReference:lexilla/lexers/LexYAML.cxx +constParameterPointer:lexilla/lexers/LexYAML.cxx knownConditionTrueFalse:lexilla/lexers/LexYAML.cxx // These are due to Accessor::IndentAmount not declaring the callback as taking a const. @@ -124,15 +162,12 @@ 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 +constVariableReference:lexilla/lexers/LexCSS.cxx +constVariableReference:lexilla/lexers/LexCrontab.cxx +constVariableReference:lexilla/lexers/LexGui4Cli.cxx +constVariableReference:lexilla/lexers/LexKix.cxx +constVariableReference:lexilla/lexers/LexMetapost.cxx +constVariableReference:lexilla/lexers/LexOpal.cxx // Suppress everything in test example files *:lexilla/test/examples/* diff --git a/lexilla/doc/Lexilla.html b/lexilla/doc/Lexilla.html index 87d64a0fd..99f6e738c 100644 --- a/lexilla/doc/Lexilla.html +++ b/lexilla/doc/Lexilla.html @@ -9,7 +9,7 @@ - +