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
orbitcowboy
792d5a7cf4
windows.cfg: Added missing COM macros, defined at https://msdn.microsoft.com/en-us/library/windows/desktop/dd542715(v=vs.85).aspx .
2018-05-24 15:27:40 +02:00
Sebastian
8b94bfaf0a
windows.cfg: Add macros SUCCEEDED() and FAILED(). ( #1264 )
...
Somehow the opposite inner condition is not detected when macros are used. I created this ticket: https://trac.cppcheck.net/ticket/8596
2018-05-24 14:52:32 +02:00
Sebastian
aa3722feea
windows.cfg: Add lstrlen() configuration and tests. ( #1239 )
...
Reference: https://msdn.microsoft.com/en-us/library/windows/desktop/ms647492(v=vs.85).aspx
2018-05-17 15:43:01 +02:00
orbitcowboy
3ad8fa5288
windows.cfg: Improved support for more types.
2018-05-16 16:26:40 +02:00
Sebastian
748f50cf85
windows.cfg: Add 32/64 bit time related functions and types. ( #1236 )
...
Fix declaration comments for _localtime32_s() and _localtime64_s().
Add functions _time32 and _time64, and types __time32_t and __time64_t.
References: https://docs.microsoft.com/en-us/cpp/c-runtime-library/reference/localtime-s-localtime32-s-localtime64-s
https://docs.microsoft.com/en-us/cpp/c-runtime-library/reference/time-time32-time64
2018-05-16 12:42:50 +02:00
Sebastian
fdc98e5665
std.cfg: Add rsize_t and errno_t configurations. ( #1229 )
2018-05-16 10:12:37 +02:00
orbitcowboy
4e38627a3d
windows.cfg: Improved support for Windows types (ref. https://msdn.microsoft.com/en-us/library/windows/desktop/aa383751(v=vs.85).aspx ).
2018-05-16 09:16:12 +02:00
orbitcowboy
98e64e76f7
windows.cfg: Improved support for Windows types (ref. https://msdn.microsoft.com/en-us/library/windows/desktop/aa383751(v=vs.85).aspx ).
2018-05-16 00:23:58 +02:00
orbitcowboy
3e3a8af267
windows.cfg: Improved support for Windows types (ref. https://msdn.microsoft.com/en-us/library/windows/desktop/aa383751(v=vs.85).aspx ).
2018-05-16 00:09:45 +02:00
orbitcowboy
d0089fe305
windows.cfg: Added missing PFLOAT definition.
2018-05-15 09:43:28 +02:00
Sebastian
50aa3620da
posix.cfg: Add minsize to readlink[at] function configurations ( #1216 )
2018-05-09 18:20:45 +02:00
Sebastian
90bc8b7404
posix.cfg: Add not-bool to last arguments where appropriate. ( #1204 )
...
Add not-bool function argument configuration where appropriate to catch errors like this: df4ca5fb72
2018-05-08 09:30:08 +02:00
Sebastian
0a95fb4b70
qt.cfg: Add some QStandardItem[Model] functions ( #1200 )
2018-05-02 21:03:55 +02:00
Sebastian
6208ee4af1
std.cfg: Add asctime_s function configuration with tests ( #1191 )
...
* std.cfg: Add asctime_s function configuration with tests
* std.cfg: Remove redundant/not needed not-bool attributes.
2018-04-27 23:51:16 +02:00
orbitcowboy
eb922a140a
wxwidgets.cfg: Added support for wxOVERRIDE.
2018-04-27 23:18:34 +02:00
Sebastian
4b104c4576
std.cfg: Add some missing C++11 declarations comments and not-bool attributes ( #1183 )
2018-04-25 08:54:36 +02:00
Sebastian
038064436d
std.cfg: Fix minsize configuration for vsprintf ( #1188 )
...
minsize with argvalue for arg 2 which is a char pointer makes no sense.
Changing it to minsize with strlen for arg 2 results in false positives
(and i think false negatives too).
In std.c a test with a valid vsprintf usage is added that would result
in a FP when minsize with strlen for arg 2 would be used.
2018-04-25 02:52:19 +02:00
Sebastian
40c42f2de7
qt.cfg: Add some functions used in the GUI, remove redundant const ( #1189 )
2018-04-24 16:37:55 +02:00
Sebastian
86d54c63c6
qt.cfg: Add more QString:: methods, fix errors. ( #1185 )
...
Additionally fix QString::sprintf() and QString::asprintf()
configurations.
Fix typo in quin[i]tptr.
Add warning for QString::sprintf and QString::vsprintf.
These functions are obsolete since Qt5, see
https://doc.qt.io/qt-5/qstring-obsolete.html
2018-04-24 12:23:23 +02:00
Sebastian
b53c4b2032
std.cfg: Add std::vector function configurations and tests ( #1180 )
2018-04-19 16:41:25 +02:00
versat
3a52f217d3
microsoft_sal.cfg: Add some missing annotations
2018-04-13 11:39:26 +02:00
Sebastian
9e623b15b1
windows.cfg: Add SetFilePointer() function configuration ( #1167 )
2018-04-12 16:09:11 +02:00
Sebastian
26e22a9f5c
qt.cfg: Add/Enhance Qt macros and functions ( #1164 )
...
Qt macro Q_D() is disabled for now until ticket 8479 gets fixed.
2018-04-12 13:40:02 +02:00
Sebastian
c39a3e3f1c
windows string macros: Handle _T, _TEXT and TEXT internally, add tests ( #1163 )
...
Remove TEXT() macro from windows.cfg and handle it internally where it
can be correctly simplified (Ansi vs. Unicode).
Also add handling of _TEXT() macro which is just a synonym for _T().
Add tests to verify correct function and macro simplification.
2018-04-12 08:52:31 +02:00
Sebastian
a36dad918a
std.cfg: Add std::make_pair() ( #1165 )
2018-04-11 19:16:55 +02:00
orbitcowboy
ef62207ada
std.cfg: Added more tests for some std::vector functions.
2018-04-11 17:21:26 +02:00
versat
8aa71d62a0
Revert "windows.cfg: Add macros _TEXT() and _T() ( #1161 )"
...
This reverts commit 9db64ca934
.
2018-04-11 08:37:15 +02:00
Sebastian
3fc53eb122
std.cfg: Add std::[w]string::compare() with tests ( #1162 )
2018-04-10 21:07:39 +02:00
Sebastian
9db64ca934
windows.cfg: Add macros _TEXT() and _T() ( #1161 )
2018-04-10 18:39:59 +02:00
orbitcowboy
270635eb1f
wxwidgets.cfg: Improved support for wxString to number conversion functions.
2018-04-07 20:27:02 +02:00
orbitcowboy
6e21d5ab84
wxwidgets.cfg: Added support for wxAtoi, wxAtol and wxAtof.
2018-04-04 21:29:55 +02:00
orbitcowboy
d7072136dc
wxwidgets.cfg: Added support for wxMenuBar::Append().
2018-03-31 13:34:40 +02:00
orbitcowboy
43aac4696e
wxwidgets.cfg: Added support for more functions.
2018-03-31 13:23:12 +02:00