Commit Graph

20289 Commits

Author SHA1 Message Date
Sebastian c106dd2939
misra addon: Fix issue with unexpected encodings in loadRuleTexts() (trac 8946) (#1608)
https://trac.cppcheck.net/ticket/8946
Add tests to travis script for verifying rule text loading.
Add dummy rule text files.
misra.py: Try to find a suitable codec for rule texts file.
2019-01-18 21:30:08 +01:00
Paul Fultz II 9e4b605fca Properly find pcre (#1607) 2019-01-18 21:13:35 +01:00
IOBYTE 1acbdde302 Fixed #7417 ("syntax error" in valid code containing explicitly specialised variable template) (#1604) 2019-01-18 21:12:39 +01:00
Sebastian 4b1544d33b
library.cpp: Let tinyxml2 print a helpful error message when XML is bad (#1609)
In case the XML code of a library configuration is invalid Cppcheck now additionally prints out some helpful error description like this:
"Error=XML_ERROR_MISMATCHED_ELEMENT ErrorID=16 (0x10) Line number=304: XMLElement name=noreturn"
2019-01-18 17:10:41 +01:00
orbitcowboy 80a6d7c390 wxwidgets.cfg: Improved support for some wxGrid functions. 2019-01-18 16:03:20 +01:00
orbitcowboy 204db723e3 wxwidgets.cfg: Reordered entries: 1) Macros 2) POD-types and 3) Function defintions. 2019-01-18 15:54:37 +01:00
orbitcowboy 2ae9ba60bf wxwidgets.cfg: Added support for wxDC:DrawBitmap(). 2019-01-18 15:51:30 +01:00
orbitcowboy bbc2bcb7a8 wxwidgets.cfg: Improved support for macros from wx/property.h 2019-01-17 16:58:12 +01:00
orbitcowboy bdad1a3e3f wxwidgets.cfg: Added support for wxGrid::SetCellValue() 2019-01-17 16:41:20 +01:00
orbitcowboy ec592032a1 wxwidgets.cfg: Improved support for functions and macros from wxPGProperty. 2019-01-17 16:32:26 +01:00
versat be14517bcd donate-cpu.py: Fix too few return values in scanPackage()
In case a crash is detected the scanPackage() function returns too few values (three instead of four).
This likely leads to an exception then.
2019-01-17 14:58:15 +01:00
orbitcowboy cdae767bd8 windows.cfg: Added support for some constants from WinBase.h 2019-01-16 15:54:18 +01:00
orbitcowboy 705fa1820c windows.cfg: Added support for some constants from winnt.h and WinBase.h 2019-01-16 15:51:14 +01:00
orbitcowboy 11cf28e6ab wxwidgets.cfg: Improved support for wxArrayString functions. 2019-01-16 15:11:27 +01:00
orbitcowboy 347e3a121a wxwidgets.cfg: Added support for wxArrayString::push_back(). 2019-01-16 15:05:10 +01:00
orbitcowboy 270bceb1b6 windows.cfg: Added support for some return flags from GetHandleInformation(), ref.: https://msdn.microsoft.com/en-us/library/ms724329%28v=vs.85%29.aspx 2019-01-16 14:53:02 +01:00
orbitcowboy 6b16709b92 wxwidgets.cfg: Added support for wxTextCtrl::SetValue(). 2019-01-16 12:01:56 +01:00
orbitcowboy 061ee3e886 wxwidgets.cfg: Added support for wxButton::Enable(). 2019-01-16 10:56:47 +01:00
orbitcowboy 050fd0a64c wxwidgets.cfg: Added support for wxGrid::DrawTextRectangle(). 2019-01-16 10:49:03 +01:00
orbitcowboy cd2ac71e71 wxwidgets.cfg: Added support for wxConfigBase::Write() and wxConfigBase::Read(). 2019-01-16 09:52:24 +01:00
orbitcowboy 34f1fb6501 wxwdigets.cfg: Improved support for some wxString function. 2019-01-15 15:56:43 +01:00
Sebastian 7281a886e2
donate-cpu-server.py: Enhance formatting of latest.html output (#1605)
Column width can now be easily changed via the `column_width` array.
Increased column width for the packages column so it is more likely that the date is not dropped.
Increased the column width for the number of results since there are packages which have about 100000 results.
2019-01-15 11:39:47 +01:00
Lauri Nurmi a7a0a54557 Show a clear button in the Quick Filter text field in GUI. (#1603) 2019-01-15 10:35:23 +01:00
Lauri Nurmi 3bbd9fc9a4 Replace "virtual method" with "virtual function" in messages.
The term "method" is not really a part of C++ terminology.
2019-01-15 06:22:14 +01:00
Lauri Nurmi f267900257 Fix spelling of "overridden" in function names.
One 'd' was missing.
2019-01-15 06:22:14 +01:00
Robert Reif 6ef8dad459 template simplifier: improve namespace matching
* out of line member functions are a namespace
* template<...> and *_cast<> can't be instantiations
* refactor code to use less function parameters
* fix instantiation scopes
* use full name with namespace when available
* fallback to just matching names when full name doesn't match
2019-01-14 21:32:58 +01:00
Sebastian 37f2aa0e2d
triage tool: Add "Load from clipboard" functionality (#1599)
The user now can choose to "Load from file" or "Load from clipboard".
readme.txt has been adapted.
2019-01-14 17:49:10 +01:00
Sebastian aa40e374ac
test/cfg/runtests.sh: Qt test: Fix syntax check when "-fPIC" is required (#1600)
On linux systems (like travis) Qt often seems to be built with the option "reduce_relocations" which requires an application using it to specify the option "-fPIC".
2019-01-14 17:48:04 +01:00
IOBYTE f0cfe03f7b template simplifier: add cli --debug-template option to print the parsed template information (#1598) 2019-01-14 08:29:32 +01:00
orbitcowboy 0dbe803d22 wxwidgets.cfg: Added support for IMPLEMENT_CLASS(a,b) macro. 2019-01-14 08:23:31 +01:00
orbitcowboy c3005f08ab donate-cpu.py: Comment out boost library detection. After next release it shall be enabled again. 2019-01-13 20:37:41 +01:00
orbitcowboy 40c172fe6f tinyxml.cfg: Fixed wrong function name. 2019-01-13 18:32:49 +01:00
orbitcowboy e50a55156e Added tinyxml2.cfg. 2019-01-13 18:27:59 +01:00
orbitcowboy df25e7a0e3 wxwidgets.cfg: Improved support for more macros from various wxWidgets-classes. This fixes a bunch of 'unknownMacro' warnings from daca@home. 2019-01-13 18:13:50 +01:00
orbitcowboy fc2557d43d donate-cpu.py: Added detection of boost-library. 2019-01-13 17:55:28 +01:00
Daniel Marjamäki 22ae8bc0c8 Travis: Temporarily suppress missingOverride warnings in self check 2019-01-13 13:23:33 +01:00
Daniel Marjamäki 51afcb2f64 Fix Cppcheck missingOverride warnings 2019-01-13 13:22:36 +01:00
Daniel Marjamäki 58c007b726 Fix missingOverride warnings in democlient 2019-01-13 13:18:50 +01:00
Daniel Marjamäki ade18d978a Inline suppression for knownConditionTrueFalse FP 2019-01-13 13:18:35 +01:00
Daniel Marjamäki 900e26f651 Fix Cppcheck warning
[ci skip]
2019-01-13 13:06:51 +01:00
Daniel Marjamäki 004827afdc Travis: Remove suppressions. It seems FPs have been fixed. 2019-01-13 12:24:05 +01:00
Daniel Marjamäki 0c08503b00 Travis: Enable missingOverride checker 2019-01-13 12:21:01 +01:00
Daniel Marjamäki 1d2fd29c9d Remove Travis suppressions 2019-01-13 12:15:46 +01:00
Daniel Marjamäki 5f198662ff rephraze internal warning 2019-01-13 12:12:07 +01:00
Daniel Marjamäki c75a2265c0 Fix inline suppression. 2019-01-13 12:10:26 +01:00
Matthias Krüger d45e4287e6 travis: and job that builds on osx 2019-01-13 11:52:01 +01:00
Daniel Marjamäki 43035ff186 Remove inline suppression. The Cppcheck warning was a true positive. 2019-01-13 08:42:48 +01:00
Daniel Marjamäki d50c3de740 Remove inline suppression and fix false positive. 2019-01-13 07:59:41 +01:00
amai2012 738fef6c27 Run astyle 2019-01-12 21:51:39 +01:00
amai2012 2adf65968b posix.cfg: improve configuration for dlsym() 2019-01-12 21:50:02 +01:00