orbitcowboy
3473b6e5a8
wxwidgets.cfg: EVT_GRID_CMD_CELL_CHANGED requires two arguments.
2018-12-17 09:09:59 +01:00
orbitcowboy
7d8b60dcb9
wxwidgets.cfg: Improved support for some event table macros.
2018-12-17 09:01:47 +01:00
orbitcowboy
30220fa7fc
wxwidgets.cfg: Added more constants from wx/gdicmn.h
2018-12-16 17:29:45 +01:00
orbitcowboy
152df1bf00
wxWidgets.cfg: Addd more definitions from multiple wxWidgets-classes.
2018-12-16 15:31:06 +01:00
orbitcowboy
60bfa3dfc0
wxwidgets.cfg: Added support for more macro defintions from various wxWidgets-classes.
2018-12-16 15:08:50 +01:00
orbitcowboy
44b545b1c5
wxwidgets.cfg: Added support for more macro defintions from various wxWidgets-classes.
2018-12-16 14:39:24 +01:00
orbitcowboy
9dd00a8066
wxwidgets.cfg: Added more definitions from wx/defs.h
2018-12-15 10:48:36 +01:00
orbitcowboy
fbcb0d55d4
wxwidgets.cfg: Improved support for more predefined values from wx/defs.h
2018-12-14 21:29:41 +01:00
orbitcowboy
9fdb1b1675
wxwidgets.cfg: Improved support for more predefined values from wx/defs.h
2018-12-14 20:54:54 +01:00
orbitcowboy
f961aa9eca
wxwidgets.cfg: Improved support for more predefined values from wx/defs.h
2018-12-14 20:48:03 +01:00
orbitcowboy
994366c284
wxwidgets.cfg: Improved support for some defines from wx/defs.h
2018-12-14 20:00:30 +01:00
orbitcowboy
179c652e49
wxwidgets.cfg: Improved support for some wxGauge functions.
2018-12-14 19:49:01 +01:00
orbitcowboy
4bc19d269c
wxwidgets.cfg: improved support for some GDI constants.
2018-12-14 19:39:34 +01:00
orbitcowboy
888490fe6c
wxwidgets.cfg: Improved support for wxAboutDialogInfo functions.
2018-12-14 15:36:03 +01:00
orbitcowboy
02e1637553
wxwidgets.cfg: Improved support for some wxBitmap functions.
2018-12-13 17:04:02 +01:00
Daniel Marjamäki
b91ef62932
Add boost.cfg
2018-12-13 09:06:35 +01:00
orbitcowboy
1a6c3bb30e
wxwidgets.cfg: Added support for wxVector.
2018-12-12 17:23:10 +01:00
orbitcowboy
619220778e
wxwidgets.cfg: Added support for wxOVERRIDE.
2018-12-12 08:22:34 +01:00
orbitcowboy
4282c9375a
zlib.cfg: Added support for more function, defines and types.
2018-12-08 20:17:42 +01:00
Sebastian
860b7dc76f
qt.cfg: Add macro Q_DECLARE_PRIVATE ( #1510 )
...
Reference:
https://wiki.qt.io/D-Pointer#Q_DECLARE_PRIVATE_and_Q_DECLARE_PUBLIC
2018-12-07 20:03:50 +01:00
orbitcowboy
7bf5cc1ce7
windows.cfg: Added support for _finite() and _finitef().
2018-12-06 08:54:21 +01:00
orbitcowboy
eae2422653
wxwidgets:Added more classes that derive from wxWindow and implement SetPosition().
2018-11-29 16:42:03 +01:00
orbitcowboy
be3a96929f
wxwidgets.cfg: Added support for more functions from various classes.
2018-11-28 17:01:27 +01:00
orbitcowboy
4c57f0d33c
std.cfg: Improved support for std::lower_bound() and std::upper_bound().
2018-11-27 13:55:06 +01:00
orbitcowboy
ef77452444
windows.cfg: Added support for _putenv() and _wputenv().
2018-11-27 13:36:39 +01:00
orbitcowboy
18c234e277
windows.cfg: Add support for _getche() and _getwche().
2018-11-26 14:34:40 +01:00
orbitcowboy
e18c846ed9
windows.cfg: Added support for _gettch() and _getch().
2018-11-26 13:53:13 +01:00
Daniel Marjamäki
5e727f92a0
googletest: add TEST_P
2018-11-23 18:55:05 +01:00
orbitcowboy
ef05be2600
wxwidgets.cfg: Fixed FP due to overlaoded function wxSizer::Add().
2018-11-23 09:49:08 +01:00
orbitcowboy
428d0147bc
wxwidgets.cfg: Added support for wxSizer::Add().
2018-11-22 14:04:22 +01:00
orbitcowboy
d6c85118a7
wxwidgets.cfg: Improved support for some wxStaticText member functions.
2018-11-22 13:47:17 +01:00
orbitcowboy
2b9bdc52d7
wxwidgets.cfg: Added support for wxWindow::Close() and derived classes.
2018-11-22 13:31:09 +01:00
Daniel Marjamäki
ff3fd80b46
googletest.cfg: Fix file format
2018-11-21 10:20:05 +01:00
Daniel Marjamäki
9d8e5e36eb
Added a few TODO comments
2018-11-20 22:57:01 +01:00
Daniel Marjamäki
36a84c5406
add googletest.cfg
2018-11-20 18:47:27 +01:00
orbitcowboy
b4aa04db41
std.cfg: Added returnValue calculation for isless(), islessgreater() etc.
2018-11-20 16:58:33 +01:00
orbitcowboy
a722ba4f89
std.cfg: Improved return value configuration for std::min() and std::max().
2018-11-20 16:07:16 +01:00
orbitcowboy
58b3d75b62
std.cfg: Added invalidFunctionArg cfg for strchr().
2018-11-20 08:32:54 +01:00
yurii.putin
2aecd30cd8
Change cfg
...
Add some function (posix_memalign, reallocarray,aligned_alloc,valloc) to cfg. Add attribute format-str to some function.
2018-11-19 18:23:00 +01:00
orbitcowboy
df1c23f826
zlib.cfg: Added zlib.cfg (ref. https://www.zlib.net/manual.html )
2018-11-05 17:25:02 +01:00
orbitcowboy
ba28cbe0ff
gnu.cfg: Replaced '__builtin_memset' definition with macro definition, since it is equal to 'memset' from std.cfg.
2018-10-30 15:37:20 +01:00
orbitcowboy
b998dcb5aa
gnu.cfg: Added support for '__builtin_memset'.
2018-10-27 18:25:05 +02:00
Sebastian
cf44964f20
qt.cfg: Define "qreal" as "double" ( #1416 )
...
By default "qreal" is a typedef for "double".
Reference: https://doc.qt.io/qt-5/qtglobal.html#qreal-typedef
2018-10-09 14:52:09 +02:00
orbitcowboy
879803c90f
gnu.cfg: Fixed FP (nullpointer) when third parameter of epoll_ctl is set to NULL.
2018-09-25 09:07:49 +02:00
orbitcowboy
eee6cf20ff
wxwidgets.cfg: Added support for some wxObject functions.
2018-09-21 09:06:37 +02:00
orbitcowboy
b16eb32df6
wxwidgets.cfg: Added support for wxUIActionSimulator functions.
2018-09-17 17:17:13 +02:00
Daniel Marjamäki
142f921d52
remove <pure/> from strtok. It has an internal state. This fixes FPs.
2018-09-08 12:08:09 +02:00
Sebastian
78715d3eff
bsd.cfg: Add arc4random* functions with tests. ( #1344 )
...
Reference: https://www.freebsd.org/cgi/man.cgi?query=arc4random
2018-08-16 21:37:40 +02:00
orbitcowboy
576418e17d
wxwidgets.cfg: Added support for wxString::Strip().
2018-08-10 13:15:14 +02:00
Sebastian
fc7aab220e
posix.cfg: Add some pthread_attr_* functions. ( #1331 )
...
References:
http://pubs.opengroup.org/onlinepubs/7908799/xsh/pthread_attr_setstacksize.html
http://pubs.opengroup.org/onlinepubs/7908799/xsh/pthread_attr_setguardsize.html
2018-08-08 12:22:09 +02:00
orbitcowboy
c9b91c24dc
wxwidgets.cfg: Added support for wxGrid::GetCellEditor().
2018-07-31 09:11:01 +02:00
Sebastian
f862cf603f
posix.cfg: Add some pthread_mutex_* functions. ( #1320 )
...
References:
http://pubs.opengroup.org/onlinepubs/9699919799/functions/pthread_mutex_init.html
http://pubs.opengroup.org/onlinepubs/9699919799/functions/pthread_mutex_lock.html
2018-07-21 17:52:12 +02:00
rikardfalkeborn
30a8d953e3
Move sqrt{,f,l} argument checks to cfg file ( #1313 )
2018-07-20 20:56:39 +02:00
Sebastian
4ef452132c
posix.cfg,gnu.cfg: Add (get|set)hostname functions. ( #1315 )
...
Reference for POSIX gethostname:
http://pubs.opengroup.org/onlinepubs/9699919799/functions/gethostname.html
Reference for sethostname:
http://man7.org/linux/man-pages/man2/gethostname.2.html
2018-07-18 09:40:06 +02:00
rikardfalkeborn
491ee577c6
Support floats in valid config ( #1297 )
...
* Add tests for invalid ranges
* Refactor loadLibErrors
This reduces the amount of code slightly and will simplify adding
more tests.
* Handle empty valid field
Before this change, the sequence <valid></valid> in a config file would
result in a segmentation fault. Now an empty field results in the error
message:
cppcheck: Failed to load library configuration file 'mycfg.cfg'. Bad attribute value '""'
* Add support for valid for floating point arguments
Previously, it was not possible to add valid ranges to floating point
arguments since it only handled integers. This made ranges not work well
for floating point arguments since arguments were cast to integers
before the ranges were handled.
Fix this by using doubles instead of integers if the argument is a float.
Add some tests for this and make sure errors are printed with enough
precision (somewhat arbitrarily chosen).
Note that it is still only possible to add integer ranges (i.e. -1:1).
* Add support for floats in configuration valid range
Now that it is possible to handle decimal arguments, there is no reason
to not allow non-integer ranges. Take care to not allow broken
configurations.
* Move check to within if-clause
* Move asin{,f,l} and acos{,f,l} input checks to config file
2018-07-15 22:47:56 +02:00
versat
086a005a9f
microsoft_sal.cfg: Remove redundant define.
2018-07-11 14:03:00 +02:00
Mischa Aster Alff
5f2dc0a036
Fix Microsoft SAL cfg macro definitions that used - instead of _ for variable names ( #1301 )
2018-07-09 16:19:29 +02:00
Sebastian
c74ec34da8
windows.cfg: Add _TCHAR platform type. ( #1291 )
...
_TCHAR is simply the same as TCHAR. Defined in tchar.h.
More information about it:
https://social.msdn.microsoft.com/Forums/vstudio/en-US/0073fa7b-5cf5-469c-978f-2961f9d4ecb2/tchar-vs-tchar?forum=vcgeneral
2018-06-20 10:25:39 +02:00
orbitcowboy
5ad1b2bdd1
windows.cfg: Added some error codes from WinInet.h: Error codes Ref.: https://msdn.microsoft.com/en-us/library/windows/desktop/aa385465(v=vs.85).aspx .
2018-06-13 15:33:26 +02:00
orbitcowboy
77d4601fee
windows.cfg: Added System Error Codes (0-15999) Ref.: https://msdn.microsoft.com/en-us/library/windows/desktop/ms681384(v=vs.85).aspx
2018-06-13 15:20:39 +02:00
orbitcowboy
e029fe016a
windows.cfg: Added constants from Winerror.h: COM Error Codes (VOLMGR, BCD, VHD, SDIAG) Ref.: https://msdn.microsoft.com/en-us/library/windows/desktop/dd542650(v=vs.85).aspx
2018-06-13 10:16:05 +02:00
orbitcowboy
efe652f034
windows.cfg: Added constants from Winerror.h: COM Error Codes (FWP, WS, NDIS, HyperV) Ref.: https://msdn.microsoft.com/en-us/library/windows/desktop/dd542649(v=vs.85).aspx
2018-06-13 10:11:13 +02:00
orbitcowboy
3383fc6938
windows.cfg: Added Winerror.h: COM Error Codes (Security and Setup) Ref.: https://msdn.microsoft.com/en-us/library/windows/desktop/dd542646(v=vs.85).aspx
2018-06-13 09:55:11 +02:00
orbitcowboy
284da2f72e
windows.cfg: Added more constants from Winerror.h: COM Error Codes (STG, RPC) Ref.: https://msdn.microsoft.com/en-us/library/windows/desktop/dd542645(v=vs.85).aspx
2018-06-13 09:40:08 +02:00
orbitcowboy
c1668ff294
windows.cfg: Added more COM error constants.
2018-06-13 08:44:29 +02:00
orbitcowboy
4d99300339
windows.cfg: Added COM Error Codes (WPN, MBN, P2P, Bluetooth) from https://msdn.microsoft.com/en-us/library/windows/desktop/hh404142(v=vs.85).aspx
2018-06-12 15:39:08 +02:00
orbitcowboy
8354a75f66
windows.cfg: Added COM Error Codes (UI, Audio, DirectX, Codec) from Winerror.h. Ref.: https://msdn.microsoft.com/en-us/library/windows/desktop/hh404141(v=vs.85).aspx
2018-06-12 15:27:05 +02:00
orbitcowboy
4a81f6be9a
windows.cfg: Added support for some constants from PortableDevice.h. Ref.: https://msdn.microsoft.com/en-us/library/windows/desktop/dd319335(v=vs.85).aspx
2018-06-12 11:29:51 +02:00
orbitcowboy
d9f9bdda73
windows.cfg: CreatePen() removed not required <leak-ignore/>-tag.
2018-06-08 17:04:09 +02:00
orbitcowboy
64ce5dfece
windows.cfg: Added support for CreatePen().
2018-06-08 15:57:11 +02:00
Sebastian
f129d8bd6b
bsd.cfg: Add strlcpy(), fix fts_children() ( #1284 )
2018-06-08 15:42:49 +02:00
orbitcowboy
335cb480bf
posix.cfg: Added support for locale_t
2018-06-08 14:43:20 +02:00
orbitcowboy
d10788164a
windows.cfg: Added support for _locale_t
2018-06-08 14:41:56 +02:00
orbitcowboy
7bb806c22b
windows.cfg: Added support for CLSTX constants which are defined at https://msdn.microsoft.com/en-us/library/windows/desktop/ms693716(v=vs.85).aspx .
2018-06-08 14:33:13 +02:00
orbitcowboy
cb2880e7c1
windows.cfg: Added support for _mbsncpy_s_l() and _mbsncpy_s().
2018-06-07 15:35:00 +02:00
orbitcowboy
c31503557d
windows.cfg: Added support for _wcsncpy_s_l().
2018-06-07 15:24:26 +02:00
orbitcowboy
8472779c00
std.cfg: Added support for wcsncpy_s().
2018-06-07 11:57:03 +02:00
orbitcowboy
cc0f3f6cec
Formatted code, there are no functional changes [ci skip].
2018-06-06 11:15:47 +02:00
amai2012
3619aece02
Add support for umask functions
2018-06-06 10:59:34 +02:00
Sebastian
ae5da13f3a
qt.cfg: Add obsolete functions with warning and one alternative one. ( #1277 )
...
For qInstallMsgHandler there is an alternative function qInstallMessageHandler. Both are added.
For qsrand and qrand there is only a hint that the class QRandomGenerator should be used instead.
Reference: https://doc.qt.io/qt-5/qtglobal-obsolete.html
2018-06-05 21:10:35 +02:00
orbitcowboy
74b18d7fd9
windows.cfg: Added support for _strncpy_s_l().
2018-06-04 16:58:09 +02:00
orbitcowboy
fe8cab1749
Removed platform specifc constants from previous commit.
2018-06-01 12:07:46 +02:00
orbitcowboy
34372aaf00
std.cfg: Added some floating point constants from <math.h>.
2018-06-01 11:45:05 +02:00
Daniel Marjamäki
f326021a75
std.cfg: strncpy_s wrongly had <not-uninit/> in first argument
2018-05-31 07:03:07 +02:00
orbitcowboy
c7993c38b5
bsd.cfg: Added support for strlcat().
2018-05-30 16:47:00 +02:00
orbitcowboy
39feb150c0
std.cfg and windows.cfg: Added support for wcscat_s() and _tcscat_s().
2018-05-30 16:25:09 +02:00
orbitcowboy
ef82477d11
std.cfg: Do not take the return value of std::locale::global() into account.
2018-05-30 16:04:40 +02:00
orbitcowboy
d06eb3eb8f
std.cfg: Added support for strcat_s() (since C11).
2018-05-30 14:30:26 +02:00
orbitcowboy
53c53db312
windows.cfg: Added support for _mbscat_s().
2018-05-28 21:52:44 +02:00
orbitcowboy
601b3f888d
windows.cfg: Added more COM Error codes (Generic) Ref: https://msdn.microsoft.com/en-us/library/windows/desktop/dd542643(v=vs.85).aspx .
2018-05-28 21:34:12 +02:00
orbitcowboy
0f1eb0a9b2
windows.cfg: Added missing COM macros, defined at https://msdn.microsoft.com/en-us/library/windows/desktop/dd542715(v=vs.85).aspx .
2018-05-28 15:35:40 +02:00
orbitcowboy
4414bb0f1e
windows.cfg: Added support for some error codes. Ref. https://msdn.microsoft.com/en-us/library/windows/desktop/dd542643(v=vs.85).aspx .
2018-05-28 10:21:36 +02:00
orbitcowboy
75e28e46c5
windows.cfg: Added support for _mbscat().
2018-05-28 10:08:11 +02:00
versat
10292c1202
microsoft_sal.cfg: Add the missing Advanced Annotations
...
Reference: https://msdn.microsoft.com/en-us/library/windows/desktop/aa383701(v=vs.85).aspx (Advanced Annotations are near the bottom)
2018-05-25 14:26:32 +02:00
orbitcowboy
3407f3e932
windows.cfg: Added test cases for CreateThread().
2018-05-25 11:50:12 +02:00
versat
6a5bf33b0d
microsoft_sal.cfg: Add RPC SAL Annotations from rpcsal.h
2018-05-25 10:28:58 +02:00
orbitcowboy
d7c8c46c10
test std.cfg: Improved testing for strcat() and wcscat().
2018-05-25 08:36:47 +02:00
orbitcowboy
c07abdd382
windows.cfg: Added more constants from Rpcdce.h.
2018-05-24 16:00:06 +02:00
orbitcowboy
18b452111f
windows.cfg: Added constants from Rpcdce.h.
2018-05-24 15:54:01 +02:00
orbitcowboy
df8a5966bb
windows.cfg: Added constant definitions from AccCtrl.h
2018-05-24 15:49:28 +02:00