Commit Graph

19794 Commits

Author SHA1 Message Date
Sebastian 92d492e35d
donate-cpu-server.py: Limit number of functions shown in checkLibrary reports (#1641)
The checkLibraryFunction report is currently about 15 MB in size, lists more than 140000 functions and takes a long time to be generated.
Limiting the functions that are shown should save bandwidth, time and other resources on the server (and client that downloads the report).
Tested locally.
2019-02-05 10:39:40 +01:00
IOBYTE 1faae52d06 Fixed #8960 ("(debug) Unknown type 'x'." with alias in template class alias) (#1643)
* Fixed #8960 ("(debug) Unknown type 'x'." with alias in template class alias)

This commit adds non-template type alias support to the template
simplifier.  Only relatively simple type aliases are supported at this
time. More complex types will be added later.

--debug-warnings will show unsupported type aliases.

Type alias support will be removed from the symbol database in the
future.  Type alias tests have been removed from the symbol database
tests.

* Add the changes.

* Fix codacy warning.

* Fix travis warnings.
2019-02-05 08:52:23 +01:00
amai2012 a8cb6fd1a1 Fixes and new interfaces 2019-02-05 07:37:10 +01:00
Daniel Marjamäki b7631b0390 Add more timers in tokenizer 2019-02-04 21:13:59 +01:00
amai2012 f3af8b508a Additions to python.cfg 2019-02-04 20:31:21 +01:00
amai2012 704cdac292 Add configuration file for Ruby C API 2019-02-04 20:30:41 +01:00
orbitcowboy 8e1f7b2bd1 wxwidgets.cfg: Fixed wrong number of parameters for wxCHECK_RET(). 2019-02-04 20:10:37 +01:00
Sebastian 598cd468f1
donate-cpu-server.py: Add checkLibraryUseIgnore report (#1642) 2019-02-04 15:53:51 +01:00
amai2012 d24c27c9f8 donate-cpu: Postpone usage of python.cfg after release 1.87 2019-02-04 13:07:57 +01:00
versat 00eb6185fa donate-cpu-server.py: Clarify "Total time" output in time report. 2019-02-04 12:39:22 +01:00
orbitcowboy 2727a959b2 windows.cfg: Added missing <use-retval/>-tags for strcmp-functions. 2019-02-04 11:54:24 +01:00
versat dcff026da0 donate-cpu.py: Simplify check if line is not empty
In Python an empty string returns False in a conditional check. No need to calculate lenght or compare it with an empty string.
2019-02-04 11:25:29 +01:00
Sebastian 360ba33e4c
donate-cpu.py: Use Boost library configuration if appropriate (#1587)
Add check to only use boost library if boost.cfg exists since it is very new.
If the boost.cfg does not exist Cppcheck would exit with an error and we
would not get the desired results.
For now the boost library configuration detection is commented out. It
should be enabled after the release of Cppcheck 1.87.
Tested locally.
2019-02-04 11:05:14 +01:00
orbitcowboy 6e72691986 posix.cfg: Added missing <use-retval/>-tags for strcmp-functions. 2019-02-04 08:27:49 +01:00
orbitcowboy b0454252b0 wxwidgets.cfg: Added support for more interfaces. 2019-02-04 08:08:08 +01:00
amai2012 8e85aef4ea Add more interfaces 2019-02-03 22:13:30 +01:00
amai2012 c9d77db39a Change pre-defined macro from __GCC__ to __GNUC__ 2019-02-03 21:56:48 +01:00
amai2012 74f3e4cce2 Fix typo 2019-02-03 21:27:47 +01:00
amai2012 89a5eb36ad Add initial configuration file for Pytho C API 2019-02-03 21:08:42 +01:00
amai2012 b92b06d900 Refactor runastyle script: introduce functions 2019-02-03 20:51:14 +01:00
orbitcowboy acebfac176 Added missing <use-retval/>-tag to strdup()-like functions. In case the return value is not taken in account, a logical error is revealed. 2019-02-03 20:38:33 +01:00
orbitcowboy b472d74f1f gtk.cfg: Added support for g_strdup(); wxwidgets.cfg: Added <use-retval/>-flag to wxString::FromUTF8(). 2019-02-03 20:31:59 +01:00
orbitcowboy b7f43f99ca wxwidgets.cfg: Fixed typo in function name. 2019-02-03 20:25:58 +01:00
Daniel Marjamäki 23599428cb Clarify Cppcheck output 2019-02-03 19:49:27 +01:00
Daniel Marjamäki 437800f46d CLI: Added --max-ctu-depth 2019-02-03 17:51:36 +01:00
orbitcowboy 7f506517ee wxwidgets.cfg: Added support for more interfaces. 2019-02-03 17:46:55 +01:00
orbitcowboy 0c6733ad1e wxwidgets.cfg: Cleanup not needed <const/>-tag. 2019-02-03 17:44:04 +01:00
orbitcowboy 7475ab2af8 wxwidgets.cfg: Added support for more interfaces. 2019-02-03 17:41:12 +01:00
orbitcowboy a10c2eec92 wxwidgets.cfg: Added support for more interfaces. 2019-02-03 17:29:39 +01:00
orbitcowboy 3b4d1f52d7 wxwidgets.cfg: Added support for more interfaces. 2019-02-03 17:14:16 +01:00
orbitcowboy f4b890603c wxwidgets.cfg: Added support for more interfaces. 2019-02-03 16:59:02 +01:00
orbitcowboy 9510bae471 wxwidgets.cfg: Added support for more interfaces. 2019-02-03 16:36:05 +01:00
Daniel Marjamäki a4406aca32 Fixed #7845 (Leak reported when ignoring return value of 'new', even if pointer saved by constructor) 2019-02-03 12:15:05 +01:00
Daniel Marjamäki ae001d4336 Fixed #8957 (Tokenizer::setVarId: varid not set when lambda function is used) 2019-02-03 08:57:04 +01:00
Daniel Marjamäki 4457faa26b Fixed #8850 (Array in-class initialization for private member considered uninitialized) 2019-02-02 18:34:41 +01:00
Daniel Marjamäki 9d8f798aca Fixed #8951 (false postive: (style) The class 'x' does not have a constructor although it has private member variables.) 2019-02-02 18:25:26 +01:00
orbitcowboy fed8769687 wxwidgets.cfg: Added support for more interfaces. 2019-02-02 17:33:30 +01:00
orbitcowboy 24eb151f2a wxwidgets.cfg: Added support for more interfaces. 2019-02-02 17:20:27 +01:00
IOBYTE 5c0ec782f1 Add ability to time simplifyTemplates. (#1640) 2019-02-01 18:17:18 +01:00
orbitcowboy 681cb7dd90 wxwidgets.cfg: Added support for more interfaces. 2019-02-01 17:09:43 +01:00
orbitcowboy e468a35545 wxwidgets.cfg: Added support for more interfaces. 2019-02-01 15:28:20 +01:00
orbitcowboy 9ddd7163be wxwidgets.cfg: Added support for more interfaces. 2019-02-01 13:54:40 +01:00
orbitcowboy afbeb6f3bd wxwidgets.cfg: Added support for more interfaces. 2019-02-01 13:31:57 +01:00
orbitcowboy 3a236e933c wxwidgets.cfg: Added support for more interfaces. 2019-02-01 12:10:49 +01:00
orbitcowboy 556ab6f4e4 wxwidgets.cfg: Added support for wxPen::SetCap() 2019-02-01 09:01:58 +01:00
orbitcowboy b8c4b4a565 wxwidgets.cfg: Added support for wxFile::Read(). 2019-02-01 08:57:14 +01:00
Paul Fultz II 2ea1152e15 Add pcre requirement (#1638) 2019-02-01 07:05:49 +01:00
Daniel Marjamäki a878f90299 Fix Cppcheck warning about unused variable 2019-02-01 07:01:08 +01:00
IOBYTE d08aa666f6 template simplifier: fix crash on windows (#1639)
* template simplifier: fix crash on windows

Use right token when searching for template type alias to delete.

* template simplifier: fix a cppcheck warning
2019-02-01 06:59:49 +01:00
Daniel Marjamäki 8925299947 Attempt to fix MSVC compile issue 2019-02-01 00:09:07 +01:00