orbitcowboy
08b2669a4c
wxwidgets.cfg: Added support for more interfaces.
2019-06-03 13:23:34 +02:00
orbitcowboy
a44ea9f2ed
windows.cfg: Added support for more interfaces.
2019-06-02 13:44:30 +02:00
orbitcowboy
9a41b51a04
gnu.cfg: Added support for isascii_l(), which is a GNU-extension.
2019-05-31 11:24:41 +02:00
orbitcowboy
608ea2f250
posix.cfg: Cleanup not required arg.
2019-05-31 11:24:04 +02:00
orbitcowboy
76738692f2
posix.cfg: Added support for isascii().
2019-05-31 11:21:50 +02:00
orbitcowboy
c13e17ed71
Revert "posix.cfg: Added support for more interfaces."
...
This reverts commit e596bd63f8
.
2019-05-31 11:18:11 +02:00
orbitcowboy
e596bd63f8
posix.cfg: Added support for more interfaces.
2019-05-31 11:15:43 +02:00
orbitcowboy
ec2278c717
posix.cfg: Added support for more interfaces.
2019-05-31 11:06:25 +02:00
orbitcowboy
e0b1eee4af
wxwidgets.cfg: Added support for more interfaces.
2019-05-31 10:37:36 +02:00
orbitcowboy
a27c88f99b
wxwidgets.cfg: Added support for more interfaces.
2019-05-30 17:27:57 +02:00
orbitcowboy
221e96e473
wxwidgets.cfg: Added support for more interfaces.
2019-05-30 17:14:33 +02:00
orbitcowboy
368fa4f54f
wxwidgets.cfg: Added support for more interfaces.
2019-05-30 14:57:43 +02:00
orbitcowboy
67c2d90887
wxwidgets.cfg: Added support for more interfaces.
2019-05-30 14:46:42 +02:00
orbitcowboy
16e36d66f9
wxwidgets.cfg: Added support for more interfaces.
2019-05-30 14:41:42 +02:00
orbitcowboy
774556dc10
wxwidgets.cfg: Added support for wxStaticBitmap::SetBackgroundColour().
2019-05-28 10:52:46 +02:00
orbitcowboy
0b903d12fc
wxwidgets.cfg: Added support for more interfaces.
2019-05-28 10:46:34 +02:00
orbitcowboy
6a6e42f3eb
wxwidgets.cfg: Added support for more interfaces.
2019-05-28 10:38:32 +02:00
orbitcowboy
197cade317
wxwidgets.cfg: Added (partial) support for wxString::append().
2019-05-28 09:03:16 +02:00
orbitcowboy
cf89f40e32
wxwidgets.cfg: Added support for more interfaces.
2019-05-28 08:58:26 +02:00
orbitcowboy
66e8ec90de
wxwidgets.cfg: Added support for wxWindow::ClientToScreen().
2019-05-28 08:50:38 +02:00
orbitcowboy
02d307a231
posix.cfg: Added partial support for scandir() and a TODO comment.
2019-05-25 23:32:28 +02:00
orbitcowboy
8f2a84ec6c
posix.cfg: Added support for telldir().
2019-05-25 22:49:01 +02:00
orbitcowboy
e9aaa5edfa
posix.cfg: Added support for more interfaces.
2019-05-22 09:33:44 +02:00
orbitcowboy
fbf98b421a
posix.cfg: Removed invalid argument checks from functions that accept 'AT_FDCWD', which set to -100 on some systems.
2019-05-21 21:09:16 +02:00
orbitcowboy
ed2aa52bbf
posix.cfg: Fixed duplicate name 'fstat' -> 'fstatat'.
2019-05-21 16:25:53 +02:00
orbitcowboy
8c0e4a2fc7
posix.cfg: Removed the validation range option from the first parameter of fstatat(). Reference: https://pubs.opengroup.org/onlinepubs/9699919799/functions/fstatat.html
2019-05-21 16:23:41 +02:00
orbitcowboy
e63b3a44d8
posix.cfg: Added support for fstatat().
2019-05-21 15:21:48 +02:00
orbitcowboy
03b4447350
posix.cfg: Added support for flockfile(), funlockfile() and trylockfile().
2019-05-18 11:29:30 +02:00
orbitcowboy
570969be08
posix.cfg: Added support for lockf().
2019-05-18 11:07:43 +02:00
orbitcowboy
e85e722fb4
posix.cfg: Added support for fchownat().
2019-05-18 10:59:40 +02:00
orbitcowboy
62c4199bcd
posix.cfg: Added support for fchmodat().
2019-05-18 10:54:17 +02:00
orbitcowboy
c0c9f33323
posix.cfg: Added support for mkdirat().
2019-05-18 10:46:17 +02:00
orbitcowboy
d0606844b7
posix.cfg: Added support for umask().
2019-05-17 15:52:27 +02:00
Daniel Marjamäki
e80181d35a
astyle formatting
...
[ci skip]
2019-05-17 09:32:14 +02:00
orbitcowboy
0469111750
gnu.cfg: Improved configuration for mkostemp(), mkstemps() and mkostemps().
2019-05-16 16:02:05 +02:00
orbitcowboy
719eb25ba9
posix.cfg: Improved configuration for 'mkstemp()' and added test cases to ensure resource leaks are caught.
2019-05-16 15:53:22 +02:00
orbitcowboy
fd416eadce
wxwidgets.cfg: Added support for more interfaces.
2019-05-13 16:51:34 +02:00
orbitcowboy
9567076845
wxwidgets.cfg: Added support for more interfaces.
2019-05-10 08:54:58 +02:00
Sebastian
aa837075a5
wxwidgets.cfg: Add smart pointers from wxWidgets ( #1828 )
2019-05-09 20:04:39 +02:00
orbitcowboy
6b2db79af9
wxwidgets.cfg: Added support for more interfaces.
2019-05-09 15:31:49 +02:00
orbitcowboy
03d7c82019
wxwidgets.cfg: Added support for more interfaces.
2019-05-05 14:37:26 +02:00
orbitcowboy
961f5c173b
wxwidgets.cfg: Added support for more interfaces.
2019-05-05 14:28:22 +02:00
orbitcowboy
d0d671761a
wxwidgets.cfg: Added support for more interfaces.
2019-05-04 17:46:17 +02:00
orbitcowboy
a439b5dcc6
wxwidgets.cfg: Added support for wxArtProvider::GetBitmap()
2019-05-03 23:39:16 +02:00
orbitcowboy
de830d90c8
wxwidgets.cfg: Added support for wxMenuItem::SetBitmap()
2019-05-03 23:35:41 +02:00
orbitcowboy
49d1383ff4
wxwidgets.cfg: Added support for wxString::CmpNoCase()
2019-05-03 23:31:15 +02:00
orbitcowboy
456f1c60c4
wxwidgets.cfg: Added support for more interfaces.
2019-05-03 23:29:21 +02:00
orbitcowboy
92be62a6eb
gnu.cfg: Ensure the return value of pipe2() is taken into account.
2019-05-03 22:15:46 +02:00
orbitcowboy
cda25d7205
posix.cfg: Ensure the return value of pipe() is taken into account.
2019-05-03 22:15:30 +02:00
orbitcowboy
90c6ea53ef
posix.cfg: Added support for socketpair().
2019-05-03 20:52:10 +02:00
Sebastian
96a7c19b91
qt.cfg: Add smart pointers from Qt ( #1819 )
2019-05-03 13:21:49 +02:00
orbitcowboy
bf358408d9
wxwidgets.cfg: Added support for more interfaces.
2019-05-03 11:57:24 +02:00
orbitcowboy
deedd7493c
wxwidgets.cfg: Added support for more interfaces.
2019-05-03 11:54:24 +02:00
orbitcowboy
6a281b90b4
wxwidgets.cfg: Added support for more interfaces.
2019-05-03 11:40:49 +02:00
orbitcowboy
8b157a7b9c
wxwidgets.cfg: Added support for more interfaces.
2019-05-03 11:31:57 +02:00
orbitcowboy
93e963bac5
wxwidgets.cfg: Added support for more interfaces.
2019-05-03 11:28:30 +02:00
orbitcowboy
1c896fc7f7
wxwidgets.cfg: Added support for more interfaces.
2019-05-03 10:10:58 +02:00
orbitcowboy
0a3fdd3981
wxwidgets.cfg: Added support for more interfaces.
2019-05-03 10:03:06 +02:00
orbitcowboy
2635e7d073
wxwidgets.cfg: Added support for more interfaces.
2019-05-02 16:20:37 +02:00
orbitcowboy
9bd007520b
wxwidgets.cfg: Added support for wxStandardPaths::MSWGetShellDir().
2019-05-02 11:34:15 +02:00
orbitcowboy
b81390c098
wxwidgets.cfg: Added support for wxCONCAT(), wxSTRINGIZE_T() and wxSTRINGSIZE() macros.
2019-05-02 11:30:30 +02:00
Paul Fultz II
091f4bcf8d
Add check for unnecessary search before insertion
...
This will warn for cases where searching in an associative container happens before insertion, like this:
```cpp
void f1(std::set<unsigned>& s, unsigned x) {
if (s.find(x) == s.end()) {
s.insert(x);
}
}
void f2(std::map<unsigned, unsigned>& m, unsigned x) {
if (m.find(x) == m.end()) {
m.emplace(x, 1);
} else {
m[x] = 1;
}
}
```
In the case of the map it could be written as `m[x] = 1` as it will create the key if it doesnt exist, so the extra search is not necessary.
I have this marked as `performance` as it is mostly concerning performance, but there could be a copy-paste error possibly, although I dont think thats common.
2019-05-02 11:04:23 +02:00
orbitcowboy
76cc8ccde2
posix.cfg: Added directions for some interfaces.
2019-05-01 19:57:10 +02:00
orbitcowboy
953895278b
posix.cfg: Improved configuration fo fileno().
2019-05-01 13:58:54 +02:00
orbitcowboy
d36fcbd945
posix.cfg: Added support for dirfd().
2019-05-01 13:54:23 +02:00
orbitcowboy
c8dce14303
wxwidgets.cfg: Added support for more interfaces.
2019-04-27 18:36:48 +02:00
amai2012
b5ee9d97ef
Move some signal constants from posix.cfg to std.cfg. Add some more interfaces to posix.cfg
2019-04-26 19:26:04 +02:00
orbitcowboy
d724f86e01
gnu.cfg: Added support for tee(). Reference: http://man7.org/linux/man-pages/man2/tee.2.html
2019-04-26 17:55:47 +02:00
orbitcowboy
3ca2db062c
wxwidgets.cfg: Added support for wxRect::Contains().
2019-04-26 17:46:09 +02:00
orbitcowboy
322ef3ebb3
wxwidgets.cfg: Fixed wrong function name.
2019-04-26 17:43:19 +02:00
orbitcowboy
754e5f6529
wxwidgets.cfg: Added support for more interfaces.
2019-04-26 17:41:08 +02:00
orbitcowboy
7d0bb0dc29
posix.cfg: Improved validation of file descriptors.
2019-04-26 16:58:21 +02:00
orbitcowboy
2dd42b867f
gnu.cfg: Added support for dup3(). Reference: http://man7.org/linux/man-pages/man2/dup2.2.html
2019-04-26 16:57:43 +02:00
orbitcowboy
2d7323c65f
posix.cfg: Added support for sendfile().
2019-04-26 16:47:49 +02:00
orbitcowboy
c693e8969d
gnu.cfg: Added support for more interfaces.
2019-04-26 16:39:04 +02:00
Sebastian
53357f2f31
boost.cfg: Add configuration for Boosts smart pointers ( #1811 )
2019-04-26 12:41:44 +02:00
orbitcowboy
bc7e835524
posix.cfg: Added support for ttyname_r().
2019-04-26 10:24:10 +02:00
orbitcowboy
6d681a0959
posix.cfg: Issue a warning in case a function accepting a file descriptor is called with a negative value.
2019-04-26 10:16:29 +02:00
orbitcowboy
f288e18c2c
posix.cfg: Added support for more interfaces.
2019-04-26 09:48:38 +02:00
orbitcowboy
254cdd3b19
windows.cfg: Issue a warning in case _close() is called with a negative file descriptor.
2019-04-26 09:26:25 +02:00
orbitcowboy
c0b533c452
gnu.cfg: Warn for socket/file-descriptors having negatives values.
2019-04-25 17:07:44 +02:00
orbitcowboy
c4fb56e550
posix.cfg: Warn for socket/file-descriptors having negatives values.
2019-04-25 17:04:30 +02:00
orbitcowboy
4a91b7ec77
Merge branch 'master' of https://github.com/danmar/cppcheck
2019-04-25 16:58:47 +02:00
orbitcowboy
df49b56a6f
posix.cfg: Added support for openat(). Reference: http://man7.org/linux/man-pages/man2/openat.2.html
2019-04-25 16:56:22 +02:00
amai2012
9692c3dde7
Add macros from signal.h
2019-04-25 12:17:26 +02:00
Daniel Marjamäki
87a3d2caa1
std.cfg: Add auto_ptr and weak_ptr configs
2019-04-24 14:21:26 +02:00
Daniel Marjamäki
2513c1499b
Library: Added <smart-pointer> element
2019-04-24 13:06:58 +02:00
orbitcowboy
751902da86
posix.cfg: Added more 'direction'-attributes.
2019-04-21 12:34:44 +02:00
orbitcowboy
45a3f679b4
posix.cfg: Improved configuration for close(). Issue a warning in case close is called with a file pointer having a negative value.
2019-04-21 12:28:17 +02:00
amai2012
2788d9f7d2
Correct two recently added macros
2019-04-19 15:43:17 +02:00
amai2012
cfe11acf82
Supply BE() and ASSERT() macros
2019-04-19 12:10:42 +02:00
versat
206488c0ea
gtk.cfg: Add some g_list_*() function / macro configurations.
...
Found missing by daca@home.
2019-04-18 10:49:02 +02:00
versat
5579ea3338
motif.cfg: Add configuration for XFree()
2019-04-16 11:22:08 +02:00
orbitcowboy
2105247934
wxwidgets.cfg: Added support for wxPropertyGridManager::Enable().
2019-04-12 13:49:12 +02:00
orbitcowboy
a46136de91
wxwidgets.cfg: Added wxPathFormat constants.
2019-04-08 13:27:34 +02:00
orbitcowboy
f6136c513a
wxwidgets.cfg: Added support for wxFileName::GetPathSeparator().
2019-04-08 11:47:09 +02:00
orbitcowboy
501cea7e01
wxwidgets.cfg: Fixed wrong configuration for wxString::Mid()
2019-04-05 09:31:48 +02:00
orbitcowboy
1b9b5168d0
daca.cfg: Turned macros into functions to avoid problems with macros like 'MIN(a,b,c)'.
2019-04-05 09:28:15 +02:00
orbitcowboy
45a7038fbb
wxwidgets.cfg: Added supprot for more interfaces
2019-04-05 09:27:23 +02:00
orbitcowboy
b0168066dc
Added daca.cfg.
2019-04-05 09:05:31 +02:00
orbitcowboy
3d765eacaf
wxwidgets.cfg: Added support for more interfaces.
2019-04-05 08:44:06 +02:00
orbitcowboy
0590cebaac
wxwidgets.cfg: Added support for more interfaces.
2019-04-05 08:27:24 +02:00
versat
e0e262ae25
gnu.cfg: Use function configuration for `_()` instead of define.
...
There can be preprocessor issues if the macro is used slightly different
or preprocessor conditions are used inside the string argument.
So now a function configuration with very few assumptions is used.
It is assumed that the function does return and has one parameter.
The same configuration is added for N_() since it works similar.
2019-04-03 16:02:55 +02:00
orbitcowboy
7ac3bf5fd8
std.cfg: Removed MIN/MAX macros since they cause problems with http://cppcheck.osuosl.org:8000/amap-align
2019-04-03 09:11:48 +02:00
Daniel Marjamäki
b88cc7c19d
Fix std.cfg
2019-04-01 20:28:31 +02:00
Daniel Marjamäki
761f18c75c
Fixed #8988 (False positive: using memset on struct)
2019-04-01 19:32:03 +02:00
versat
974f01ce59
gtk.cfg: Add / improve g_str*() functions and add GTK_SIGNAL_FUNC().
2019-04-01 16:15:32 +02:00
versat
9d8b965270
gtk.cfg: Add / improve g_string_*() function configurations.
...
daca@home reported missing configurations for most of them.
2019-04-01 15:33:27 +02:00
versat
5134fefb52
gnu.cfg: Add support for bswap*() macros.
2019-04-01 14:25:59 +02:00
versat
7832d69edf
windows.cfg: Add *LANGID() macros.
2019-04-01 13:58:56 +02:00
orbitcowboy
ea7cba8bc0
windows.cfg: Added support for GetCommState().
2019-04-01 13:22:24 +02:00
orbitcowboy
0feb27e9b3
wxwidgets.cfg: Added support for wxPGProperty::SetChoices().
2019-04-01 13:19:49 +02:00
orbitcowboy
5c5f8e7db3
wxwidgets.cfg: Added support for wxPropertyGridInterface::SetPropertyHelpString().
2019-04-01 13:15:47 +02:00
orbitcowboy
e98ddb6cc5
gnu.cfg: Added support for pipe2().
2019-03-30 15:50:18 +01:00
orbitcowboy
a3b7524c84
posix.cfg: Added minsize attribute to pipe().
2019-03-30 15:49:52 +01:00
Sebastian
74babafb21
windows.cfg: Add buffer-size attribute to HeapAlloc(). ( #1770 )
2019-03-30 08:07:44 +01:00
orbitcowboy
51b0ab0e77
wxwidgets.cfg: Removed redundant defines.
2019-03-29 14:42:39 +01:00
orbitcowboy
5c01f3e6eb
wxwidgets.cfg: Added support for some defines from <wx/property.h>
2019-03-29 13:41:54 +01:00
orbitcowboy
682069d512
wxwidgets.cfg: Added support for more interfaces.
2019-03-29 10:23:01 +01:00
orbitcowboy
132b679693
wxwidgets.cfg: Added support for more interfaces.
2019-03-29 10:16:17 +01:00
orbitcowboy
2a540215b7
wxwidgets.cfg: Added support for more interfaces.
2019-03-29 10:05:25 +01:00
orbitcowboy
eadf33c911
windows.cfg: Added support for GetCommMask(). Reference: https://docs.microsoft.com/en-us/windows/desktop/api/winbase/nf-winbase-getcommmask
2019-03-29 09:41:56 +01:00
orbitcowboy
a6d40f6323
windows.cfg: Added support for FlushFileBuffers(). Reference: https://docs.microsoft.com/en-us/windows/desktop/api/fileapi/nf-fileapi-flushfilebuffers
2019-03-29 09:35:36 +01:00
orbitcowboy
0beb78e6ed
windows.cfg: Added support for PurgeCom(). Reference: https://docs.microsoft.com/en-us/windows/desktop/api/winbase/nf-winbase-purgecomm
2019-03-29 09:31:06 +01:00
orbitcowboy
7dea4bae89
windows.cfg: Added 'File Attribute Constants' from https://docs.microsoft.com/en-us/windows/desktop/fileio/file-attribute-constants
2019-03-29 09:25:39 +01:00
orbitcowboy
dea07b2033
windows.cfg: Added support for SetupComm(). Reference https://docs.microsoft.com/en-us/windows/desktop/api/winbase/nf-winbase-setupcomm
2019-03-29 09:15:58 +01:00
versat
3917a14c99
sqlite3.cfg: Add more allocation and function configurations.
2019-03-28 10:42:11 +01:00
versat
b2803f56b4
sqlite3.cfg: Add defines for SQLite constants.
2019-03-28 08:23:32 +01:00
Sebastian
6976d5c6e2
gtk.cfg: Add support for g_new() and similar macros. ( #1760 )
...
Also add / improve corresponding function configurations and some tests.
2019-03-26 10:45:06 +01:00
versat
c6cf61e704
windows.cfg: Add direction attributes for remaining functions.
2019-03-25 12:44:10 +01:00
orbitcowboy
9bfe7d74c0
windows.cfg: Fixed FP for invalidFunctionArg in second argument of _getcwd(). Reference: https://docs.microsoft.com/en-us/previous-versions/sf98bd4y(v%3Dvs.140)
2019-03-25 09:07:02 +01:00
Sebastian
8efa106d2a
windows.cfg: Add direction attributes; fix and enhance configurations. ( #1750 )
2019-03-22 19:50:27 +01:00
versat
e8d5838424
windows.cfg: Remove buffer-size for HeapAlloc(); travis problems.
...
There is an internal error somewhere in the tests for the Heap*
functions. Removing the attribute maybe makes travis happy again for
now. The problem should get fixed though.
2019-03-22 16:19:51 +01:00
versat
0d14bdac22
windows.cfg: Add "buffer-size" attributes, fix allocation configuration.
...
Memory allocated with `_aligned_*malloc*()` must be freed with
`_aligned_free*()`. Using `free()` is illegal.
See
https://docs.microsoft.com/en-us/cpp/c-runtime-library/reference/aligned-malloc
for details.
Also add tests for some of the changed functions.
2019-03-22 13:11:03 +01:00
versat
7c09b0cfe0
gnu.cfg: Add "buffer-size" attribute and tests for xcalloc().
2019-03-21 10:44:18 +01:00
versat
316475f79f
std.cfg: Add "buffer-size" attribute and tests for aligned_alloc().
2019-03-21 09:25:42 +01:00
Daniel Marjamäki
55433fce40
Library: added bufferSize parameters
2019-03-20 19:26:57 +01:00
versat
0372c9cde6
gtk.cfg: Add buffer-size attribute to `alloc` entries.
2019-03-20 16:30:28 +01:00
versat
e8c2ea5db2
qt.cfg: Add support for QApplication::translate().
2019-03-20 16:27:15 +01:00
versat
45b1c717ae
gtk.cfg: Add support for g_object_(get|set)_data[_full]().
2019-03-20 16:10:18 +01:00
versat
b6953a46d7
qt.cfg: Fixes, enhancements and adding argument directions.
2019-03-20 14:33:29 +01:00
Sebastian
432c04281a
Libraries: Move valloc() from std.cfg to posix.cfg. ( #1743 )
...
Move valloc() to posix.cfg since it is a legacy POSIX function and not
part of the standard (not even commonly used). It is not available in
msvc (Visual Studio).
2019-03-20 14:10:36 +01:00
Daniel Marjamäki
14528bcf25
Library: allowed values for the buffer-size attribute: malloc/calloc/strdup
2019-03-20 06:46:55 +01:00
versat
9b6b94336c
gnu.cfg: Add buffer-size to xmalloc; add some __builtin_*() functions.
2019-03-19 15:24:02 +01:00
versat
bb7888e70b
gnu.cfg: Add support for pvalloc() and __builtin_alloca().
2019-03-18 11:44:35 +01:00
versat
992e1293b7
ruby.cfg: Configure rb_raise() as `noreturn` function.
...
rb_raise() exits the function and returns to the ruby script.
Used for example to exit a function if arguments are not valid.
2019-03-18 10:04:29 +01:00
Sebastian
19e9e42dd7
Library: Enhance minsize configuration and allow simple values. ( #1736 )
...
Some POSIX and Windows functions require buffers of at least some
specific size. This is now possible to configure via for example this
minsize configuration: `<minsize type="value" value="26"/>`.
The range for valid buffer size values is 1 to LLONG_MAX
(9223372036854775807)
2019-03-17 14:22:26 +01:00
Daniel Marjamäki
18668a52b9
Library: Added buffer-size attribute for <alloc>
2019-03-17 10:55:15 +01:00
versat
0cb45b1f42
gtk.cfg: Add more macros and some functions used in the macros.
2019-03-15 14:51:45 +01:00
versat
6f7612de03
boost.cfg: Add argument directions; some fixes; rearrange and document.
...
- Remove redundant function configurations for the same function since
it is not (yet) possible to configure overloaded functions. Instead mark
the optional arguments with `default="0"` so the configuration works
with a different number of arguments.
- Add documentation to boost.cfg (links and function declarations).
- Rearranged configurations so functions, defines, ... are together now.
- Add `direction` for function arguments where applicable.
- Add some tests to boost.cpp.
2019-03-15 11:13:08 +01:00
Sebastian
08d41ab8af
Load std.cfg before all other libraries ( #1740 )
...
- CLI: Save the libraries that should be loaded to a list and load them
after the std.cfg has been loaded.
- GUI: Load std.cfg (and windows.cfg / posix.cfg when applicable) before
setting other options and loading the other libraries.
In the project-file-dialog the std.cfg is searched first. If some
other library fails to load is is retried with first loading std.cfg.
- boost.cfg: Enable containers that depend on std containers.
2019-03-15 06:59:37 +01:00
versat
7911684399
Run astyle [ci skip].
2019-03-14 09:58:55 +01:00
versat
3d02c10fde
gnu.cfg: Further fixes, enhancements and adding argument directions.
2019-03-14 09:26:27 +01:00
Sebastian Held
e9f25bed3f
qt.cfg: add logging macro definition ( #1738 )
2019-03-14 06:14:51 +01:00
versat
d5c5feafb2
gnu.cfg: Fixes, enhancements and adding argument directions.
2019-03-13 16:17:16 +01:00
versat
11ee9c6b90
zlib.cfg: Fixes, enhancements and adding argument directions.
2019-03-13 15:03:11 +01:00
Sebastian
1230357146
Library: Add initial configuration with tests for SQLite3 library. ( #1737 )
2019-03-13 13:57:40 +01:00
orbitcowboy
fd2a0f22a7
wxwidgets.cfg: Added support for more interfaces.
2019-03-13 13:41:54 +01:00
orbitcowboy
5a72d834ac
wxwidgets.cfg: Added support for more interfaces.
2019-03-13 11:47:13 +01:00
orbitcowboy
d0b2dd0b93
wxwidgets.cfg: Added support for more interfaces.
2019-03-12 16:43:50 +01:00
orbitcowboy
46e8c63897
wxwidgets.cfg: Added support for more interfaces.
2019-03-12 16:40:42 +01:00
orbitcowboy
948ee4668d
wxwidgets.cfg: Added support for more interfaces.
2019-03-12 16:17:23 +01:00
versat
0a57b76c79
opengl.cfg: Fix size of 64 bit types.
2019-03-12 16:09:08 +01:00
versat
1b74bca973
posix.cfg: Further fixes/enhancements; adding more argument directions.
2019-03-12 13:35:06 +01:00
versat
12941721d2
posix.cfg: Further fixes/enhancements; adding more argument directions.
2019-03-12 11:41:10 +01:00
orbitcowboy
9047751de0
wxwidgets.cfg: Added support for more interfaces.
2019-03-12 11:39:18 +01:00
orbitcowboy
3b9fb54104
wxwidgets.cfg: Added support for wxPropertyGridManager::ShowHeader().
2019-03-12 09:23:34 +01:00
versat
bb6874e4c1
posix.cfg: sched_*() functions: Enhance and add argument directions.
2019-03-12 09:17:43 +01:00
orbitcowboy
2535979f76
wxwidgets.cfg: Added support for more interfaces.
2019-03-12 08:52:12 +01:00
orbitcowboy
1657439b18
wxwidgets.cfg: Added support for more interfaces.
2019-03-11 16:33:35 +01:00
orbitcowboy
00d90d94fe
wxwidgets.cfg: Added support for more interfaces.
2019-03-11 16:04:43 +01:00
orbitcowboy
2814814af3
wxwidgets.cfg: Added support for more interfaces.
2019-03-11 16:00:45 +01:00
orbitcowboy
28ba142714
wxwidgets.cfg: Added support for more interfaces.
2019-03-11 15:55:25 +01:00
versat
f21c3b13f1
posix.cfg: Further fixes/enhancements; adding more argument directions
2019-03-11 15:40:53 +01:00
orbitcowboy
f449e75214
std.cfg: Added support for std::getline().
2019-03-11 15:32:15 +01:00
versat
33e3ce232a
posix.cfg: Fixes, enhancements and adding more argument directions.
...
Add `<use-retval/>` to htonl(), htons(), ntohl(), ntohs(), inet_addr()
and inet_ntoa().
Enhance argument configurations of message queue functions (mq_*()).
2019-03-11 14:11:47 +01:00
versat
7b958e788d
posix.cfg: Fixes and adding more argument directions.
...
Fixes: The "length" argument of mmap*() and munmap() calls must be
greater than 0.
2019-03-11 11:20:07 +01:00
orbitcowboy
b9d2a1291c
wxwidgets.cfg: Added support for more interfaces.
2019-03-10 15:37:35 +01:00
orbitcowboy
2f6a4c3885
wxwidgets.cfg: Added support for more interfaces.
2019-03-10 15:25:25 +01:00
orbitcowboy
f0d167c328
wxwidgets.cfg: Added support for more interfaces.
2019-03-10 15:18:01 +01:00
orbitcowboy
620e912bfa
wxwidgets.cfg: Added support for more interfaces.
2019-03-10 15:13:45 +01:00
orbitcowboy
7dec499219
wxwidgets.cfg: Added support for more interfaces.
2019-03-10 15:11:10 +01:00
orbitcowboy
8fa4b4b7ee
wxwidgets.cfg: Added support for more interfaces.
2019-03-10 14:59:39 +01:00
orbitcowboy
5426a984b3
windows.cfg: Removed TEXT()-macro support since it is already handled internally by Cppcheck. A corresponding comment was added into the configuration file.
2019-03-10 14:09:48 +01:00
orbitcowboy
279aef4456
wxwidgets.cfg: Added support for more interfaces.
2019-03-09 12:21:10 +01:00
orbitcowboy
91394c4a48
wxwidgets.cfg: Added support for more interfaces.
2019-03-09 12:19:34 +01:00
orbitcowboy
f0f2d1833d
windows.cfg: Added support for TEXT()-macro. Ref.: https://docs.microsoft.com/en-us/windows/desktop/api/winnt/nf-winnt-text
2019-03-09 12:07:12 +01:00
orbitcowboy
17033976f5
wxwidgets.cfg: Added support for more interfaces.
2019-03-08 18:10:38 +01:00
orbitcowboy
8bb7a899bd
wxwidgets.cfg: Added support for more interfaces.
2019-03-08 18:06:09 +01:00
orbitcowboy
e6a00b4dd5
wxwidgets.cfg: Added support for more interfaces.
2019-03-08 17:57:50 +01:00
orbitcowboy
6aef4a16e6
windows.cfg: Fixed wrong arg number in recv().
2019-03-08 13:04:39 +01:00
orbitcowboy
ecff903b4f
wxwidgets.cfg: Added support for more interfaces.
2019-03-07 07:57:21 +01:00
orbitcowboy
7a47230983
wxwidgets.cfg: Added support for more interfaces.
2019-03-07 07:53:43 +01:00
orbitcowboy
63368d41bb
wxwidgets.cfg: Added support for more interfaces.
2019-03-07 00:55:10 +01:00
Sebastian
0bab9d778b
std.cfg: Fix wprintf(), add comment to swprintf(). ( #1729 )
...
wprintf(): The format string must be initialized. So add `<not-uninit/>`
swprintf(): `<formatstr/>` should not be used because Microsoft uses the
same function with a different order of the arguments. Add comment to
document this in the library configuration also. See ticket
https://trac.cppcheck.net/ticket/4790
2019-03-06 21:13:48 +01:00
Sebastian
1fe1fc7008
gnu.cfg: Add support for non-GNU _(string) macro. ( #1726 )
...
As can be read here:
https://www.gnu.org/software/gettext//manual/html_node/Mark-Keywords.html
The _(str) macro is typically defined for a project to abbreviate the
gettext(str) call. Although this is not part of GNU it would enhance the
analysis. Cppcheck often does not know what _() is. In daca@home it is
reported thousands of times as a function without configuration.
2019-03-06 10:57:59 +01:00
versat
ecba3db9cc
posix.cfg: Start specifying direction for arguments to functions.
...
There are still many functions with arguments that need a direction
specified.
2019-03-06 10:08:46 +01:00
orbitcowboy
b7c40d972b
boost.cfg: Fixed typo in macro.
2019-03-05 19:00:13 +01:00
orbitcowboy
2ddba8f352
boost.cfg: Added support for BOOST_LOG_ATTRIBUTE_KEYWORD-macro.
2019-03-05 18:53:34 +01:00
orbitcowboy
8c0ab16863
std.cfg: Added support for more interfaces.
2019-03-05 18:13:42 +01:00
orbitcowboy
49937570b2
wxwidgets.cfg: Added more directions-attributes.
2019-03-05 17:45:29 +01:00
versat
df73f7f355
std.cfg, windows.cfg: Move strcpy_s from windows.cfg to std.cfg.
...
strcpy_s belongs to the standard so it must be in std.cfg instead of
windows.cfg.
Configuration for strcpy_s has been improved and tests were added.
Found by daca@home
2019-03-05 15:33:16 +01:00
versat
0ae24b950f
std.cfg: Add support for snprintf_s().
...
sprintf_s works very similar but it is already configured in the
windows library. Configuring sprintf_s in std.cfg leads to conflicts in
the windows configuration tests.
Found by daca@home
2019-03-05 14:44:33 +01:00
versat
ce818631ab
std.cfg: Add support for ctime_s().
2019-03-05 13:57:52 +01:00
Sebastian
9efb720a98
std.cfg: Add missing argument directions as far as possible. ( #1725 )
...
I added all argument directions i know or where i was able to find
information without too much effort. When in doubt i looked at the
Microsoft SAL annotations and used similar configurations when this
made sense.
2019-03-05 13:45:41 +01:00
Sebastian
0934577dda
Library configuration: function argument direction fixes and enhancements ( #1722 )
...
* std.cfg: Add further argument directions (in, out, inout).
* testlibrary.cpp: Add test for function argument direction configuration.
* std.cfg: runastyle and add some more direction configurations.
* library.h: Add documentation for function argument direction enum.
* Do not use "direction" library information for pointer arguments.
Also fix further unmatched uninitvar messages in std configuration
tests.
* std.cfg: Add more argument direction configurations.
* test/cfg/std.c: Add test for argument direction configuration.
* astutils.cpp: Only ignore pointer arguments for out/inout arguments.
* library.h: Use suggested documentation for argument direction enum.
2019-03-04 22:57:40 +01:00
versat
0498b9ec34
opgengl.cfg: Introduce OpenGL library configuration file.
...
Prepare donate-cpu.py to detect OpenGL library usage but comment it
out for now.
2019-03-04 14:10:06 +01:00
orbitcowboy
a4b127f6a8
wxwidgets.cfg: Added more directions-attributes.
2019-03-04 12:11:18 +01:00
orbitcowboy
782958d814
wxwidgets.cfg: Added more directions-attributes.
2019-03-04 10:53:25 +01:00
orbitcowboy
391ed97717
gtk.cfg: Added support for more macros.
2019-03-04 10:43:21 +01:00
orbitcowboy
f723c6b191
wxwidgets.cfg: Added more directions-attributes.
2019-03-04 10:32:35 +01:00
orbitcowboy
794d72d776
wxwidgets.cfg: Added more directions-attributes.
2019-03-04 10:26:37 +01:00
orbitcowboy
9c7eff5b69
wxwidgets.cfg: Added more directions-attributes.
2019-03-03 18:42:17 +01:00
orbitcowboy
a9658607d7
qt.cfg: Added support for some QTC_ASSERT()-macros. This fixes a bunch of 'unknownMacros'-warnings from daca@home.
2019-03-03 18:42:02 +01:00
orbitcowboy
8c6f1ca24f
wxwidgets.cfg: Started to add 'direction'-attributes.
2019-03-03 18:03:18 +01:00
orbitcowboy
7d266e688c
gtk.cfg: Added support for more interfaces.
2019-03-03 17:42:58 +01:00
orbitcowboy
f66dde018d
gtk.cfg: Added support for GTK_DIALOG-macro.
2019-03-03 17:28:05 +01:00
orbitcowboy
915280beec
gtk.cfg: Added support for GTK_LABEL-macro.
2019-03-03 17:25:49 +01:00
orbitcowboy
68f4243c89
gtk.cfg: Added support for GTK_TREE_VIEW-macro.
2019-03-03 17:22:35 +01:00
Sebastian
9a5fcddb5d
Library configuration: Enable configuring the direction of arguments. ( #1717 )
...
This enhances the library configuration so the direction of function
arguments can be specified (in, out, inout).
isVariableChangedByFunctionCall() uses this information now to avoid
guessing.
2019-03-01 15:47:08 +01:00
orbitcowboy
aa4265978c
std.cfg: Added support for std::list::remove().
2019-03-01 15:10:36 +01:00
orbitcowboy
16e3a0ada6
std.cfg: Added support for std::shuffle() and std::random_shuffle().
2019-03-01 15:05:10 +01:00
versat
24739dc5f2
gtk.cfg: Add support for g_message() and similar printf like functions.
...
g_error() is special because it never returns.
2019-03-01 11:20:28 +01:00
orbitcowboy
9348a627e0
std.cfg: Added support for more interfaces.
2019-03-01 09:28:46 +01:00
orbitcowboy
360823203f
windows.cfg: Ensure the return value is taken into account for memory (re)-allocation functions.
2019-03-01 08:58:53 +01:00
orbitcowboy
2fad53e4f8
std.cfg: Enusre the return value of realloc()-functions is taken into account.
2019-03-01 08:57:59 +01:00
orbitcowboy
910adb0076
wxwidgets.cfg: Added support for more interfaces.
2019-02-28 23:46:17 +01:00
orbitcowboy
fa59cb91cb
gnu.cfg: Added <use-retval/> to xrealloc() configuration.
2019-02-28 23:45:51 +01:00
orbitcowboy
c0bec7ef69
wxwidgets.cfg: Added support for wxDC::DrawEllipse().
2019-02-28 23:21:46 +01:00
orbitcowboy
f70e01b2b1
std.cfg: Added (experimental) support for MIN/MAX-macros. In case it turnes out this causes unexpected side effects, they can be easily removed.
2019-02-28 23:03:38 +01:00
orbitcowboy
b222ff14be
gnu.cfg: Added support fo xexit().
2019-02-28 22:55:17 +01:00
orbitcowboy
80e31755da
gnu.cfg: Added support for xrealloc().
2019-02-28 22:48:39 +01:00
orbitcowboy
43daaca19c
gnu.cfg: Added support for xstrdup().
2019-02-28 22:46:16 +01:00
orbitcowboy
e6d36913c8
gnu.cfg: Added support for xmalloc() and xcalloc(). Reference: https://gcc.gnu.org/onlinedocs/libiberty/Functions.html
2019-02-28 22:36:52 +01:00
Sebastian
71b1b2dd76
std.cfg: Add support for std::vector::assign(). ( #1713 )
...
Reference:
https://en.cppreference.com/w/cpp/container/vector/assign
2019-02-28 18:43:54 +01:00
versat
7ccf4b9a0d
qt.cfg: Add support for some QTimer functions.
...
Reference:
https://doc.qt.io/qt-5/qtimer.html
2019-02-28 16:07:11 +01:00
versat
f6c3749015
gtk.cfg: Add support for g_alloca() and g_newa().
...
References:
https://developer.gnome.org/glib/stable/glib-Memory-Allocation.html#g-alloca
https://github.com/GNOME/glib/blob/master/glib/galloca.h
2019-02-28 15:29:37 +01:00
Martin Ettl
fe402498e1
qt.cfg: Added support for Q_DECLARE_PUBLIC()-macro.
2019-02-27 15:38:31 +01:00
Martin Ettl
17c1733b0e
gnu.cfg: Added support for asprintf() and vasprintf(). There is a FN with memory leak detection regarding pointer args, which is already mentioned in #8980 . A comment has been added.
2019-02-27 15:17:34 +01:00
Thomas Niederberger
084c7c284e
Add missing Qt macros ( #1709 )
...
Add two Qt macros that were missing
2019-02-27 15:11:34 +01:00
Sebastian
2a45d390f3
gtk.cfg: Add support for gtk_label_new(), enhance gtk_label_get(). ( #1706 )
...
References:
https://developer.gnome.org/gtk3/stable/GtkLabel.html#gtk-label-new
https://developer.gnome.org/gtk2/stable/GtkLabel.html#gtk-label-get
Found by daca@home.
2019-02-27 12:56:21 +01:00
Sebastian
13b37631a6
std.cfg: Add support for std::vector::swap() and std::swap() ( #1700 )
...
References:
https://en.cppreference.com/w/cpp/container/vector/swap
https://en.cppreference.com/w/cpp/algorithm/swap
2019-02-26 18:21:17 +01:00
Sebastian
d7e219043a
Library configuration validation: Enhance relaxng file (arg elements) ( #1698 )
...
Make sure that the elements of function->arg contain no duplicates.
Except for 'minsize' which can be specified zero to many times.
2019-02-26 14:00:54 +01:00
Sebastian
61f911d39a
qt.cfg: Add Q_DECLARE_TR_FUNCTIONS() and others ( #1677 )
...
Add unknownMacro Q_DECLARE_TR_FUNCTIONS found via daca@home.
Add function QCoreApplication::translate() and macro
QT_DECLARE_DEPRECATED_TR_FUNCTIONS() the unknownMacro depends on.
Reference:
https://doc.qt.io/qt-5/qcoreapplication.html#Q_DECLARE_TR_FUNCTIONS
https://doc.qt.io/qt-5/qcoreapplication.html#translate
2019-02-26 13:39:37 +01:00
orbitcowboy
4e6d4e4ddd
wxwidgets.cfg: Added support for more interfaces.
2019-02-25 16:38:52 +01:00
orbitcowboy
86e3ce7a47
wxwidgets.cfg: Added support for more interfaces.
2019-02-25 16:31:16 +01:00
Andreas Bacher
587474e3b0
qt.cfg: Add support for further qtest macros & add definition for macros Q_ASSERT, Q_ASSERT_X ( #1693 )
...
Thanks!
2019-02-25 14:07:57 +01:00
Daniel Marjamäki
09d505219c
qt.cfg: add implementations for macros to avoid unreadVariable FPs
2019-02-24 20:58:07 +01:00
Daniel Marjamäki
56d68d1aae
googletest.cfg: added simple macro implementations
2019-02-24 20:52:51 +01:00
orbitcowboy
d218fa5919
std.cfg: Added support for more interfaces.
2019-02-24 18:43:07 +01:00
orbitcowboy
406b29548a
std.cfg: Added support for more interfaces.
2019-02-24 18:35:02 +01:00
Andreas Bacher
6760958e67
itions of QCOMPARE, QVERIFY & QVERIFY2, this are qtest macros not asserts ( #1690 )
...
* qt.cfg: Changed definitions of QCOMPARE, QVERIFY & QVERIFY2, this are qtest macros not asserts
* qt.cfg: Add support for further qtest macros
2019-02-24 16:44:48 +01:00
orbitcowboy
32e1d383a4
std.cfg: Added support for std::replace() and std::replace_if().
2019-02-24 00:06:38 +01:00
orbitcowboy
748fe7f25e
std.cfg: Added support for std::back_inserter().
2019-02-24 00:00:20 +01:00
orbitcowboy
c38cbd967b
std.cfg: Added support for std::reverse().
2019-02-23 23:55:13 +01:00
orbitcowboy
59d3ce2343
std.cfg: Added support for std::remove_if().
2019-02-23 23:51:11 +01:00
orbitcowboy
568887eadf
std.cfg: Added support for std::unique().
2019-02-23 23:44:23 +01:00
orbitcowboy
0fa70ebb2a
std.cfg: Added support for more interfaces.
2019-02-23 18:38:48 +01:00
orbitcowboy
216d324a59
std.cfg: Added support for more interfaces.
2019-02-23 18:35:13 +01:00
orbitcowboy
df6fb18c94
wxwidgets.cfg: Added support for more interfaces.
2019-02-23 18:20:04 +01:00
orbitcowboy
c8fab94cee
wxwidgets.cfg: Added support for more interfaces.
2019-02-23 17:11:27 +01:00
orbitcowboy
2d2f64da1b
wxwidgets.cfg: Added support for more interfaces.
2019-02-23 17:02:04 +01:00
orbitcowboy
afb0d2aab6
wxwidgets.cfg: Added support for more interfaces.
2019-02-23 16:56:35 +01:00
orbitcowboy
3f695fd453
wxwidgets.cfg: Added support for more interfaces.
2019-02-22 17:29:15 +01:00
orbitcowboy
571e6bcecc
running astyle.
2019-02-22 16:15:08 +01:00
orbitcowboy
2ef7ae4d8e
wxwidgets.cfg: Added support for more interfaces.
2019-02-22 16:14:55 +01:00
Sebastian
6a3e1eeef7
Library configuration validation: Enhance relaxng file, fix *.cfg files. ( #1685 )
...
This fixes https://trac.cppcheck.net/ticket/8985 at least for the
function configuration.
Errors in configuration files found by the new relaxng file are fixed.
2019-02-22 15:31:52 +01:00
Steven Cook
71018d6d17
boost.cfg additions ( #1680 )
2019-02-22 15:21:06 +01:00
Sebastian
70ea6bfb9b
libcerror.cfg: Add libcerror configuration file. ( #1684 )
...
The function libcerror_error_set() is currently the function for which
daca@home most often reports a missing configuration (more than 80000
times).
Official repository of libcerror: https://github.com/libyal/libcerror
The library configuration has been tested with the library libvhdi:
ftp://ftp.se.debian.org/debian/pool/main/libv/libvhdi/libvhdi_20181227.orig.tar.gz
2019-02-22 12:52:07 +01:00
orbitcowboy
b06b744887
wxwidgets.cfg: Added support for more interfaces.
2019-02-21 14:55:04 +01:00
orbitcowboy
af9cbe23f9
std.cfg: Added support for more interfaces.
2019-02-20 10:02:01 +01:00
orbitcowboy
8a4dabfe02
wxwidgets.cfg: Added support for more interfaces.
2019-02-20 09:39:00 +01:00
amai2012
6d0a1f80b4
Add more interfaces and attributes
2019-02-18 21:48:41 +01:00
orbitcowboy
0e78547b62
wxwidgets.cfg: Added support for more interfaces.
2019-02-18 18:17:56 +01:00
orbitcowboy
0e03293a54
wxwidgets.cfg: Removed duplicate <leak-ignore/>-tag. One should be enough :-).
2019-02-18 18:12:37 +01:00
orbitcowboy
7f373ea158
wxwidgets.cfg: Added support for more interfaces.
2019-02-18 18:11:29 +01:00
versat
dc63cb9f98
gtk.cfg: Add more details for g_print() and g_printerr()
...
Reference:
https://developer.gnome.org/glib/stable/glib-Warnings-and-Assertions.html#g-print
2019-02-18 16:48:46 +01:00
versat
8fb4e7dde8
gtk.cfg: Add more details to g_object_unref() configuration
...
Reference:
https://developer.gnome.org/gobject/stable/gobject-The-Base-Object-Type.html#g-object-unref
2019-02-18 16:16:10 +01:00
orbitcowboy
fa7a2ecd5a
wxwidgets.cfg: Added support for more interfaces.
2019-02-18 14:07:11 +01:00
orbitcowboy
a7b9d8de1b
std.cfg: Added support for std::ios_base::setf() and std::ostringstream::setf().
2019-02-18 12:20:34 +01:00
versat
8e11dc5b41
gtk.cfg: Add support for G_TYPE_CHECK_INSTANCE_CAST() macro
2019-02-18 11:37:19 +01:00
orbitcowboy
0284705551
wxwidgets.cfg: Added support for more interfaces.
2019-02-17 23:45:26 +01:00
orbitcowboy
831670c355
posix.cfg: Improved support for more macros and constants.
2019-02-17 23:35:34 +01:00
orbitcowboy
5135cbeecd
std.cfg: Added support for std::multiset::insert().
2019-02-17 23:15:46 +01:00
orbitcowboy
3aa131470b
std.cfg: Added support for std::vector::erase().
2019-02-17 23:10:17 +01:00
orbitcowboy
af4f3af851
std.cfg: Added support for std::fill().
2019-02-17 22:58:30 +01:00
orbitcowboy
c28abe7e35
std.cfg: Added support for std::map::insert().
2019-02-17 22:50:18 +01:00
orbitcowboy
1df9c80e81
std.cfg: Added support for std::move().
2019-02-17 22:45:45 +01:00
orbitcowboy
8820580cf6
boost.cfg: Improved support for more test macros.
2019-02-17 22:36:36 +01:00
orbitcowboy
b886590cc9
boost.cfg: Improved support for more test macros.
2019-02-17 21:14:03 +01:00
orbitcowboy
4e42f83bc8
boost.cfg: Fixed some 'unknownMacro'-warnings from daca@home.
2019-02-17 20:52:54 +01:00
amai2012
c6a9d9cf15
Initial support for CppUnit
2019-02-17 20:16:01 +01:00
amai2012
8c80c5d620
Fix typo
2019-02-17 17:50:27 +01:00
amai2012
b34fe35191
Add more interfaces
2019-02-17 17:03:40 +01:00
versat
6f57b9abfa
gtk.cfg: Add some GTK_*() instance cast macros
...
SOME GTK_*() macros most often reported as missing by daca@home are added.
2019-02-17 16:41:19 +01:00
orbitcowboy
6b1e324df0
wxwidgets.cfg: Added support for more interfaces.
2019-02-17 14:13:37 +01:00
orbitcowboy
3bef07f32f
wxwidgets.cfg: Added support for more interfaces.
2019-02-17 14:09:13 +01:00
orbitcowboy
70e5fa359f
wxwidgets.cfg: Added support for more interfaces.
2019-02-17 12:02:28 +01:00
orbitcowboy
5aee070515
wxwidgets.cfg: Added support for more interfaces.
2019-02-17 11:58:52 +01:00
orbitcowboy
6323d8d6b5
wxwidgets.cfg: Added support for more interfaces.
2019-02-17 11:53:30 +01:00
orbitcowboy
7629923b65
std.cfg: Attempt make travis happy.
2019-02-16 08:24:53 +01:00
amai2012
ac0d39a164
Add parentheses to G_OBJECT
2019-02-16 00:19:00 +01:00
amai2012
e3083ade52
Define G_OBBECJT(obj). It's #2 on daca@home checkLibraryFunction report currently
2019-02-15 21:50:32 +01:00
orbitcowboy
437e171d0d
std.cfg: Added partial support for std::transform().
2019-02-15 20:56:44 +01:00
orbitcowboy
23b771c5c8
std.cfg: Added partial support for std::sort().
2019-02-15 20:45:46 +01:00
orbitcowboy
fc84227668
wxwidgets.cfg: Added support for more interfaces.
2019-02-15 09:33:17 +01:00
versat
4dae640e8c
gtk.cfg: Add type conversion macros
...
Reference:
https://developer.gnome.org/glib/stable/glib-Type-Conversion-Macros.html
daca@home found that they are missing.
2019-02-15 08:44:21 +01:00
orbitcowboy
a6fa13b25f
wxwidgets.cfg: Added support for more interfaces.
2019-02-15 00:25:49 +01:00
orbitcowboy
e28367b268
wxwidgets.cfg: Added support for more interfaces.
2019-02-14 08:21:38 +01:00
versat
ed25ae3acb
gtk.cfg: Add some configurations often reported as missing by daca@home
...
Add two g_assert*(), g_signal_connect_data(), some g_signal_connect*() functions and macros and g_strdup_printf().
2019-02-13 15:35:46 +01:00
orbitcowboy
59433229a0
wxwidgets.cfg: Added support for more interfaces.
2019-02-13 12:32:20 +01:00
orbitcowboy
d7e66c1165
wxwidgets.cfg: Added support for more interfaces.
2019-02-13 12:17:43 +01:00
orbitcowboy
8b977f885a
wxwidgets.cfg: Added support for wxDataViewTreeCtrl::SetFont().
2019-02-13 10:28:57 +01:00
orbitcowboy
d30e86d69c
wxwidgets.cfg: Added support for wxDC:DrawPoint().
2019-02-13 09:05:38 +01:00
orbitcowboy
103ec5b5a1
std.cfg: Added support for std::wifstream::seekg().
2019-02-13 08:52:45 +01:00
orbitcowboy
7b5c010c31
windows.cfg: Added support for more interfaces.
2019-02-13 08:10:50 +01:00
orbitcowboy
81dab88413
std.cfg: Fixed wrong configuration from std::vector::pop_back().
2019-02-13 08:04:11 +01:00
orbitcowboy
40398c6c90
std.cfg: Added support for std::vector::pop_back() and std::vector::push_back ().
2019-02-12 18:52:18 +01:00
orbitcowboy
f5edc221f8
windows.cfg: Added support for MAKEINTRESOURCE-macros.
2019-02-12 13:05:41 +01:00
versat
fe6ea282d3
qt.cfg: Add support for QT_TR_NOOP* and QT_TRANSLATE_NOOP* macros
...
Reference:
https://doc.qt.io/qt-5/i18n-source-translation.html#using-qt-tr-noop-and-qt-translate-noop-in-c
2019-02-12 10:21:56 +01:00
orbitcowboy
84a1f2fcf8
wxwidgets.cfg: Added support for more interfaces.
2019-02-12 08:54:40 +01:00
orbitcowboy
6459de0aad
wxwidgets.cfg: Added support for more interfaces.
2019-02-12 08:46:09 +01:00
versat
8207e48adc
qt.cfg: Add support for macros Q_LIKELY and Q_UNLIKELY
...
Reference:
https://doc.qt.io/qt-5/qtglobal.html#Q_LIKELY
https://doc.qt.io/qt-5/qtglobal.html#Q_UNLIKELY
2019-02-12 08:21:49 +01:00
Sebastian
2c1f97d787
qt.cfg: Add support for macros `forever` and `Q_FOREVER` ( #1662 )
...
Reference:
https://doc.qt.io/qt-5/qtglobal.html#forever
https://doc.qt.io/qt-5/qtglobal.html#Q_FOREVER
2019-02-11 16:35:01 +01:00
Sebastian
d9241aa532
std.cfg: Add support for std::string::replace() ( #1661 )
...
Reference: https://en.cppreference.com/w/cpp/string/basic_string/replace
2019-02-11 16:06:48 +01:00
orbitcowboy
3d6001266e
wxwidgets.cfg: Improved support for more interfaces.
2019-02-11 16:03:00 +01:00
orbitcowboy
909de488c2
wxwidgets.cfg: Improved support for more interfaces.
2019-02-11 15:16:56 +01:00
Sebastian
3427e61383
std.cfg: Add support for std::string::assign() ( #1660 )
...
Reference: https://en.cppreference.com/w/cpp/string/basic_string/assign
2019-02-11 13:40:36 +01:00
orbitcowboy
71612d58e1
wxwidgets.cfg: Added support for wx(Const|Dynamic|Static)cast()-macros.
2019-02-11 13:25:05 +01:00
orbitcowboy
328f246e4c
wxwidgets.cfg: Improved support for more interfaces.
2019-02-11 13:18:38 +01:00
orbitcowboy
103cf4d542
wxwidgets.cfg: Improved support for more interfaces.
2019-02-11 09:38:58 +01:00
orbitcowboy
cc0f758db4
wxwidgets.cfg: Improved support for more interfaces.
2019-02-11 09:16:03 +01:00
orbitcowboy
1c205f50d1
wxwidgets.cfg: Improved support for more interfaces.
2019-02-11 08:38:22 +01:00
orbitcowboy
14a0558cbc
wxwidgets.cfg: Improved support for more interfaces.
2019-02-11 07:58:12 +01:00
orbitcowboy
67bfed10a5
wxwidgets.cfg: Added support for more interfaces.
2019-02-10 09:25:56 +01:00
orbitcowboy
1ddaa1ecf3
std.cfg: Added support for std::ifstream::seekg() and std::istream::seekg().
2019-02-09 17:13:07 +01:00
orbitcowboy
d2732e9459
std.cfg: std::string::append() added 'arg nr any'.
2019-02-09 16:58:33 +01:00
orbitcowboy
2408096cc8
std.cfg: Added support for std::string::append().
2019-02-09 16:43:08 +01:00
Sebastian
fc7494c832
std.cfg: Add support for std::map::count() ( #1655 )
...
Reference: https://en.cppreference.com/w/cpp/container/map/count
2019-02-09 09:20:42 +01:00
orbitcowboy
8819743443
wxwidgets.cfg: Added support for more interfaces.
2019-02-08 20:47:14 +01:00
orbitcowboy
8d379a8f31
wxwidgets.cfg: Added support for more interfaces.
2019-02-08 20:27:12 +01:00
orbitcowboy
7be56565f3
wxwidgets.cfg: Added support for wxSlider::SetMax() and wxSlider::SetMin().
2019-02-08 17:16:29 +01:00
orbitcowboy
0b19d17ed3
wxwidgets.cfg: Added support for more interfaces.
2019-02-08 13:12:01 +01:00
orbitcowboy
91fbc859b3
wxwidgets.cfg: Added support for more interfaces.
2019-02-08 12:03:17 +01:00
orbitcowboy
b0496cc192
wxwidgets.cfg: Added support for more interfaces.
2019-02-08 11:56:29 +01:00
versat
5e7f491bd4
qt.cfg: Add support for qFatal() which aborts the program
...
Reference: https://doc.qt.io/qt-5/qtglobal.html#qFatal
2019-02-07 15:00:54 +01:00
versat
bdbaaff361
qt.cfg: Add support for function QMenu::addAction
...
Reference: https://doc.qt.io/qt-5/qmenu.html#addAction
daca@home currently reports this as the Qt function which was most often missing a configuration.
2019-02-07 14:24:46 +01:00
Sebastian
5fe7aad5e3
qt.cfg: Add configuration and tests for macro Q_NULLPTR ( #1651 )
...
Qt defines `Q_NULLPTR` with `nullptr` if it is available, otherwise with `NULL`.
Since there seems to be no (sane) way to configure it the same way in the library configuration it is just defined with `NULL`.
2019-02-07 12:27:25 +01:00
Sebastian
55ce6d2073
qt.cfg: Add support and tests for QFile::exists function ( #1645 )
...
Found by daca@home
2019-02-06 13:23:05 +01:00
amai2012
b6681c2a2e
Improve some function properties
2019-02-05 21:30:30 +01:00
amai2012
22611c4b74
Add getopt_long,getopt_long_only to gnu.cfg
2019-02-05 21:29:56 +01:00
Sebastian
1ef13f8b06
python.cfg: Add macros DL_IMPORT and DL_EXPORT ( #1644 )
...
daca@home issues `unknownMacro` errors for these (deprecated) macros.
2019-02-05 16:12:34 +01:00
amai2012
a8cb6fd1a1
Fixes and new interfaces
2019-02-05 07:37:10 +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
orbitcowboy
2727a959b2
windows.cfg: Added missing <use-retval/>-tags for strcmp-functions.
2019-02-04 11:54:24 +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
89a5eb36ad
Add initial configuration file for Pytho C API
2019-02-03 21:08:42 +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
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
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
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
orbitcowboy
c2bda14376
wxwidgets.cfg: Added support for wxStringTokenize().
2019-01-31 14:32:21 +01:00
orbitcowboy
a427679d21
wxwidgets.cfg: Added missing const configuration.
2019-01-31 14:12:31 +01:00
orbitcowboy
65f7a17f26
wxwidgets.cfg: Added support for wxPropertyGrid::GetVIterator() and wxPropertyGridInterface::GetVIterator().
2019-01-31 14:01:09 +01:00
orbitcowboy
37727057e3
wxwidgets.cfg: Added more interfaces.
2019-01-31 13:05:23 +01:00
orbitcowboy
de8c0ff0e0
wxwidgets.cfg: Improved cfg for wxString::AfterFirst() and wxString::AfterLast() by adding 'const'.
2019-01-31 12:55:47 +01:00
orbitcowboy
0b7414973d
wxwidgets.cfg: Do not require to use the return value of wxRect::Deflate()/wxRect::Inflate().
2019-01-31 09:38:32 +01:00
orbitcowboy
77b23a5555
wxwidgets.cfg: Added support for more interfaces.
2019-01-31 09:19:44 +01:00
orbitcowboy
27bbcde2f1
wxwidgets.cfg: Added support for more interfaces.
2019-01-31 08:09:52 +01:00
orbitcowboy
980b42e9f6
wxwidgets.cfg: Added support for more interfaces.
2019-01-31 07:52:06 +01:00
orbitcowboy
7cf20af73a
wxwidgets.cfg: Added support for more interfaces.
2019-01-31 07:48:24 +01:00
orbitcowboy
ecaeb419ff
wxwidgets.cfg: Added support for more functions.
2019-01-30 15:54:13 +01:00
orbitcowboy
70c8200885
wxwidgets.cfg: Added support for wxGridCellRenderer::Draw().
2019-01-30 15:36:07 +01:00
orbitcowboy
06b155fa5d
wxwidgets.cfg: Added support for wxGridCellAttr::GetAlignment() and wxDC::GetTextExtent().
2019-01-30 14:07:06 +01:00
orbitcowboy
e2e3f724b5
wxwidgets.cfg: Improved support for more interfaces.
2019-01-30 11:12:06 +01:00
amai2012
b69b0bf57e
Small additions/corrections
2019-01-29 23:20:44 +01:00
amai2012
d6d8a871ca
Add/correct some interfaces. Move some standard interfaces from gnu.cfg to posix.cfg.
2019-01-28 23:26:53 +01:00
versat
62b9368b3c
gtk.cfg: Add configurations for g_free() and g_malloc() / g_malloc0()
...
Reference: https://developer.gnome.org/glib/stable/glib-Memory-Allocation.html
daca@home found these missing function configurations among others.
Also add tests for g_malloc() and g_free().
2019-01-28 13:47:46 +01:00
amai2012
ba4a4c3395
Add more Xt/X11 stuff
2019-01-27 23:27:46 +01:00
amai2012
0a491e166d
More Additions to the X11 Intrinsics
2019-01-27 20:27:03 +01:00
orbitcowboy
b1797ee15b
wxwidgets.cfg: Added support for SetForegroundColour() and SetBackgroundColour().
2019-01-26 12:47:41 +01:00
orbitcowboy
b33237a0eb
wxwidgets.cfg: Added support for wxPropertyGridManager::SetSplitterPosition().
2019-01-26 12:43:31 +01:00
orbitcowboy
36669d8c72
qt.cfg: Removed redundant semicolons and added support for QVERIFY2()-macro.
2019-01-26 12:26:01 +01:00
amai2012
786ce0ac5c
Add more interfaces to posix.cfg
2019-01-25 21:39:23 +01:00
orbitcowboy
0095873528
qt.cfg: Fixed typo in QCOMPARE(a,b).
2019-01-25 20:39:10 +01:00
orbitcowboy
58aea8118a
tinyxml2.cfg: Added support for XMLElement::Attribute().
2019-01-25 20:15:01 +01:00
orbitcowboy
6b48b1610c
qt.cfg: Added support for QVERIFY(expr).
2019-01-25 20:05:56 +01:00
orbitcowboy
18bce42205
qt.cfg: Added support for QCOMPARE(a,e).
2019-01-25 20:00:10 +01:00
orbitcowboy
775eb06609
wxwidgets.cfg: Added support for some various unconfigured functions from daca@home.
2019-01-25 16:02:29 +01:00
orbitcowboy
d56fd9e6fc
wxwidgets.cfg: Added support for wxGrid::SetColLabelValue().
2019-01-25 15:53:57 +01:00
orbitcowboy
662ca8d3aa
wxwidgets.cfg: Added support for some various unconfigured functions from daca@home.
2019-01-25 15:51:21 +01:00
orbitcowboy
2268063797
wxwidgets.cfg: Added support for some wxPGProperty::AppendChild().
2019-01-25 15:19:54 +01:00
orbitcowboy
e9cc84e35b
wxwidgets.cfg: Added support for some wxRect functions.
2019-01-25 15:16:20 +01:00
versat
693dcf9671
qt.cfg: Add macro Q_CLASSINFO()
...
Fix unknownMacro found by daca@home
2019-01-25 14:44:10 +01:00
orbitcowboy
ecc83e9f3b
wxwidgets.cfg: Added support for wxLocale::GetSystemLanguage().
2019-01-25 14:34:52 +01:00
orbitcowboy
f51ae2ee5b
wxwidgets.cfg: Added wxLanguage constants.
2019-01-25 14:31:56 +01:00
Sebastian
ce96ffd433
gtk.cfg: Add internationalization macros / functions ( #1623 )
...
Found via Donate CPU / daca@home.
Reference: https://developer.gnome.org/glib/stable/glib-I18N.html
Update header comment in gtk.cfg since it is now only edited manually.
2019-01-25 13:07:48 +01:00
orbitcowboy
0791ed05ca
wxwidgets.cfg: Added support for some math functions.
2019-01-25 11:30:48 +01:00
orbitcowboy
3264dc4abc
wxwidgets.cfg: Added support for wxComboBox::Append() and wxItemContainer::Append().
2019-01-25 11:06:57 +01:00
amai2012
2515b015ea
Improve configuration for bind()
2019-01-25 10:47:36 +01:00
orbitcowboy
686579ee1c
tinyxml2.cfg: Added support for XMLNode::FirstChildElement() and XMLNode::LastChildElement().
2019-01-25 10:05:57 +01:00
orbitcowboy
cbbd3e7354
wxwidgets.cfg: Added support for more unconfigured functions found by daca@home.
2019-01-25 09:56:02 +01:00
orbitcowboy
a100de9055
wxwidgets.cfg: Added support for wxEvtHandler::Disconnect().
2019-01-25 09:36:50 +01:00
orbitcowboy
23da9e9485
wxwidgets.cfg: Added support for unconfigured functions found by daca@home.
2019-01-25 08:43:10 +01:00
amai2012
8f36b7d23b
Add bind() to posix.cfg
2019-01-24 23:13:06 +01:00
Sebastian
5c91d7b4e1
gnu.cfg: Add support for gettext() and some related functions ( #1621 )
...
* gnu.cfg: Add support for gettext() and some related functions
Reference (beside some other web sites):
https://www.gnu.org/software/libc/manual/html_node/Translation-with-gettext.html
2019-01-24 23:08:42 +01:00
orbitcowboy
575f62f39c
wxwidgets.cfg: Added support for wxGrid::ClearSelection(void).
2019-01-23 16:47:14 +01:00
amai2012
a0ee1d212b
Fix parameter configuration for connect()
2019-01-23 15:33:37 +01:00
amai2012
db413d254a
Add G_CALLBACK() to gtk.cfg
2019-01-22 22:11:06 +01:00
amai2012
44c12ccb31
Add connect() to posix.cfg
2019-01-22 21:51:04 +01:00
orbitcowboy
737f357280
wxwidgets.cfg: Added support for wxPaintDC::SetFont().
2019-01-22 16:03:50 +01:00
orbitcowboy
98f4ddd9b5
wxwidgets.cfg: Added support for wxStaticText::SetFont().
2019-01-22 16:01:37 +01:00
orbitcowboy
6b61866d59
wxwidgets.cfg: Improved support for wxFileDialog functions.
2019-01-22 08:36:37 +01:00
orbitcowboy
63660fcc2b
wxwidgets.cfg: Improved support for more constants from wx/defs.h
2019-01-21 17:14:53 +01:00
orbitcowboy
030ab66e4d
wxwidgets.cfg: Added support for wxGrid::DrawTextRectangle()
2019-01-21 16:33:07 +01:00
orbitcowboy
84d80909b0
wxwidgets.cfg: Added support for wxGrid::MakeCellVisible(int row, int col).
2019-01-21 16:25:29 +01:00
orbitcowboy
ce254fe3a5
wxwidgets.cfg: Added support for macros from wx/html/htmlwin.h
2019-01-21 11:02:03 +01:00
orbitcowboy
d1c4c7d214
wxwidgets.cfg: Improved support for wxWidgets constants.
2019-01-21 10:53:24 +01:00
orbitcowboy
7bc776abea
wxwidgets.cfg: Improved support for wxWidgets macros and constants.
2019-01-21 10:50:42 +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
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
orbitcowboy
0dbe803d22
wxwidgets.cfg: Added support for IMPLEMENT_CLASS(a,b) macro.
2019-01-14 08:23:31 +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
amai2012
2adf65968b
posix.cfg: improve configuration for dlsym()
2019-01-12 21:50:02 +01:00
amai2012
400c6c8e76
Improve configuration for dlopen and add suitable test
2019-01-10 21:14:37 +01:00
amai2012
e5c7543a7d
posix.cfg: add dlopen, dlsym, dlclose
2019-01-10 18:33:44 +01:00
orbitcowboy
205179fbb8
wxwidgets.cfg: Added support for some functions from wx/dc.h
2019-01-10 16:26:00 +01:00
orbitcowboy
0557111c0c
wxwidgets.cfg: Added support for wxPropertyGridInterface::Append() and wxPropertyGridPage::Append().
2019-01-10 14:41:59 +01:00
orbitcowboy
d946ed21a0
wxwidgets.cfg: Added support for some functions from wxArrayString.
2019-01-10 14:03:12 +01:00
orbitcowboy
db29c1f148
wxwidgets.cfg: Improved support for more wxGrid functions.
2019-01-10 13:55:20 +01:00
orbitcowboy
9c2e2b866b
wxwidgets.cfg: Added support for wxSize::SetHeight() and wxSize::SetWidth().
2019-01-10 13:43:52 +01:00
orbitcowboy
984be24292
wxwidgets.cfg: Added support for wxFAIL_MSG.
2019-01-10 13:37:27 +01:00
orbitcowboy
1f3dce17f7
wxwidgets.cfg: Added support for wxColour::ChangeLightness().
2019-01-10 13:32:15 +01:00
orbitcowboy
11a4bcbb54
wxwidgets.cfg: Added support for macros from wx/listctrl.h
2019-01-10 08:26:33 +01:00
orbitcowboy
dff82c5d67
wxwidgets.cfg: Added support for macros from wx/dynarray.h
2019-01-10 08:21:13 +01:00
amai2012
97bf5de133
Add more Windows (Microsoft) macros and a few lines of related test code
2019-01-08 21:15:04 +01:00
Sebastian
0aa4910244
Boost configuration: Add macros and initial test file ( #1575 )
2019-01-08 20:30:21 +01:00
amai2012
58b8cef822
Add a few more macros to windows.cfg
2019-01-08 13:40:58 +01:00
practicalswift
0a1b3a9d6f
Fix typos ( #1568 )
2019-01-06 17:15:57 +01:00
Daniel Marjamäki
2ba5302e90
Fixed #8909 (false positive: (style) Variable 'li.LowPart' is assigned a value that is never used.)
2019-01-06 11:09:59 +01:00
orbitcowboy
394af25100
wxwidgets.cfg: Added more constants from wx/animdecod.h
2019-01-04 15:47:10 +01:00
orbitcowboy
adb7f20797
wxwidgets.cfg: Added more constants from wx/gdicmn.h
2019-01-03 21:39:35 +01:00
orbitcowboy
b6eae0168f
wxwidgets.cfg: Added more constants from wx/clrpicker.h
2019-01-03 21:32:46 +01:00
orbitcowboy
a0f4a72988
wxwidgets.cfg: Added more wxCHECK macros
2019-01-03 21:27:26 +01:00
orbitcowboy
973e61d094
wxwidgets.cfg: Added more constants from wx/defs.h
2019-01-03 21:18:30 +01:00
orbitcowboy
fdf4481d7d
wxwidgets.cfg: Added more constants from wx/fontenc.h
2019-01-03 21:13:38 +01:00
orbitcowboy
db595385f2
wxwidgets.cfg: Added more constants from wx/graphics.h
2019-01-03 21:10:33 +01:00
orbitcowboy
b2c3d9384d
wxwidgets.cfg: Added more constants from wx/dvrenderers.h
2019-01-03 21:01:15 +01:00
orbitcowboy
2bebd453ae
wxwidgets.cfg: Added more constants from wx/filepicker.h
2019-01-03 20:57:46 +01:00
orbitcowboy
233f019bab
wxwidgets.cfg: Added more constants from wxStyledTextCtrl.
2019-01-03 20:51:05 +01:00
orbitcowboy
4ecdc8ebd2
wxwidgets.cfg: Added more constants, mainly from wxStyledTextCtrl.
2019-01-03 20:48:42 +01:00
orbitcowboy
bc234e2712
wxwidgets.cfg: Added support for more constants from wx/gdicmm.h
2019-01-02 16:39:35 +01:00
orbitcowboy
d6af3d38cb
wxwidgets.cfg: Added support for constants from wx/sashwin.h
2019-01-02 16:31:22 +01:00
orbitcowboy
ac127a1cb6
wxwidgets.cfg: Added support for constants from wx/toplevel.h
2019-01-02 16:26:00 +01:00
orbitcowboy
9b31e310e4
wxwidgets.cfg: Added support for constants from wx/slider.h
2019-01-02 16:06:09 +01:00
orbitcowboy
2084413f5e
wxwidgets.cfg: Added support for constants from wx/statusbr.h
2019-01-02 15:59:54 +01:00
orbitcowboy
43f5d71410
wxwidgets.cfg: Improved support for macros from wx/listctrl.h and for some assert macros.
2019-01-02 13:25:43 +01:00
orbitcowboy
486697fc7d
wxwidgets.cfg: Added constants from wx/valtext.h
2018-12-25 11:21:03 +01:00
orbitcowboy
54d6625ffb
wxwidgets.cfg: Added support for constants from wx/dirdlg.h
2018-12-23 19:06:51 +01:00
orbitcowboy
fd34430aec
wxwidgets.cfg: Added support for constants from wx/filename.h
2018-12-23 19:00:39 +01:00
orbitcowboy
56d433c60d
wxwidgets.cfg: Added more defintitions from wx/htmlprint.h
2018-12-23 18:49:41 +01:00
orbitcowboy
c515249a78
wxwidgets.cfg: Added more defintitions from wx/htmlwin.h
2018-12-23 18:47:17 +01:00
orbitcowboy
88838002d6
wxwidgets.cfg: Added more defintitions from wx/defs.h
2018-12-23 18:37:47 +01:00
orbitcowboy
6c64146603
wxwidgets.cfg: Added constants from wx/laywin.h
2018-12-23 18:19:10 +01:00
orbitcowboy
9ebf9ff0d3
wxwidgets.cfg: Improved support for constants from wx/intl.h
2018-12-23 18:10:37 +01:00
orbitcowboy
4195cb0842
qt.cfg: Added support for Q_PLUGIN_METADATA
2018-12-23 17:51:00 +01:00
Daniel Marjamäki
e6e3987935
snprintf/g_snprintf: do not allow uninitialized target buffer
2018-12-22 20:40:47 +01:00
orbitcowboy
5be8e18d65
wxwidgets.cfg: Added some constants from wx/propgridpagestate.h
2018-12-21 14:21:57 +01:00
orbitcowboy
e7760c0db1
wxwidgets.cfg: Added support for some constants from wx/grid.h
2018-12-21 09:40:53 +01:00
orbitcowboy
56c42ad760
wxwidgets.cfg: Added support for some constants from wx/defs.h
2018-12-21 09:32:23 +01:00
orbitcowboy
ac5ba20e9c
wxwidgets.cfg: Added support for some constants from wx/toolbar.h
2018-12-21 09:28:29 +01:00
orbitcowboy
6c3a4d6b27
wxwidgets.cfg: Added support for some constants from wx/brush.h
2018-12-21 09:21:13 +01:00
orbitcowboy
a210c021fa
wxwidgets.cfg: Added support for some constants from wx/tokenzr.h
2018-12-21 09:15:15 +01:00
orbitcowboy
0934509820
wxwidgets.cfg: Added support for some constants from wx/settings.h
2018-12-21 08:57:33 +01:00
orbitcowboy
3bcf5438b2
wxwidgets.cfg: Added support for WX_DECLARE_OBJARRAY_WITH_DECL.
2018-12-21 08:32:55 +01:00
orbitcowboy
becc6f112a
wxwidgets.cfg: Added support for constants from wx/log.h
2018-12-20 19:06:26 +01:00
orbitcowboy
78a4b59136
wxwidgets.cfg: Added support for WXDLLIMPEXP_DATA_CORE macro
2018-12-20 18:50:09 +01:00
Sebastian
79d9c5b283
windows.cfg: Enhance support for IO/IOCTL functionality ( #1532 )
2018-12-20 14:43:48 +01:00
Sebastian
f8b8597a9b
windows.cfg: Add support for CreateFileA and CreateFileW ( #1529 )
...
References:
https://docs.microsoft.com/en-us/windows/desktop/api/fileapi/nf-fileapi-createfilea
https://docs.microsoft.com/en-us/windows/desktop/api/fileapi/nf-fileapi-createfilew
2018-12-19 20:20:05 +01:00
orbitcowboy
ac15c56f49
wxwidgets.cfg: Added support for some missing constants from wx/image.h
2018-12-19 16:55:03 +01:00
orbitcowboy
5b23f21d7f
wxwidgets.cfg: Added support for some missing constants from wx/dataview.h
2018-12-19 16:43:46 +01:00
orbitcowboy
a4042cc2ef
wxwidgets.cfg: Reordered defines, there are no functional change.
2018-12-19 16:41:26 +01:00
orbitcowboy
e95d2c968b
wxwidgets.cfg: Added support for some missing constants from wx/gauge.h
2018-12-19 16:39:48 +01:00
orbitcowboy
e860bc7354
wxwidgets.cfg: Added support for some missing constants from wx/propdlg.h
2018-12-19 16:35:47 +01:00
orbitcowboy
9ed0d03081
wxwidgets.cfg: Added support for some constants from wx/font.h
2018-12-19 16:33:35 +01:00
orbitcowboy
985994f609
wxwidgets.cfg: Added support for some constants from wx/propdlg.h
2018-12-19 16:15:51 +01:00
orbitcowboy
f0a365cfdc
wxwidgets.cfg: Added support for some constants from wx/utils.h
2018-12-19 16:10:57 +01:00
orbitcowboy
832fb5fe76
wxwidgets.cfg: Added support for some constants from wx/timer.h
2018-12-19 16:06:28 +01:00
orbitcowboy
f0eefd69d6
wxwidgets.cfg: Added support for some constants from wx/txtctrl.h
2018-12-19 16:04:36 +01:00
orbitcowboy
23eb8cdbc8
wxwidgets.cfg: Added support for constants from wx/anybutton.h
2018-12-19 15:54:01 +01:00
orbitcowboy
a151f313e3
wxwidgets.cfg: Added support for constants from wx/anybutton.h
2018-12-19 15:33:54 +01:00
orbitcowboy
ce0ee71b31
wxwidgets.cfg: Added support for constants from wx/filedlg.h
2018-12-19 15:29:01 +01:00
orbitcowboy
c3d44b27bd
wxwidgets.cfg: Added support for wxWINDOW_STYLE_MASK.
2018-12-19 15:19:42 +01:00
orbitcowboy
fdd00a148a
wxwidgets.cfg: Added support for more definitions from wx/defs.h.
2018-12-19 15:16:58 +01:00
orbitcowboy
b555572f9a
wxwidgets.cfg: Added support for constants from wx/valnum.h
2018-12-18 15:40:23 +01:00
orbitcowboy
13c8707b96
wxwidgets.cfg: Added support for DECLARE_APP(app) macro.
2018-12-18 15:34:25 +01:00
orbitcowboy
6768c83155
wxwidgets.cfg: Added support for constants from wx/cmdline.h
2018-12-18 15:31:32 +01:00
orbitcowboy
ac7ebd6044
wxwidgets.cfg: Improved support for macros from wx/defs.h
2018-12-18 15:19:04 +01:00
orbitcowboy
c58385f58a
wxwidgets.cfg: Improved support for more wxWidgets types.
2018-12-18 09:22:41 +01:00
orbitcowboy
c080b2750e
wxwidgets.cfg: Added support for WXDLLIMPEXP_FWD_CORE.
2018-12-18 08:20:22 +01:00
orbitcowboy
9290122c2f
wxwidgets.cfg: Added support for WX_DEFINE_ARRAY_PTR.
2018-12-17 16:58:56 +01:00
orbitcowboy
0221ec3fc2
wxwidgets.cfg: Added some wxLocal defintions.
2018-12-17 16:50:21 +01:00
orbitcowboy
a382657128
wxwidgets.cfg: Improved support for some defintions from wxGrid.
2018-12-17 15:48:26 +01:00
orbitcowboy
8195a76035
wxwidgets.cfg: Added support for definitions from wx/defs.h
2018-12-17 14:08:53 +01:00
orbitcowboy
0fc62128f6
wxwidgets.cfg: Added support for definitions from wx/colour.h
2018-12-17 13:56:34 +01:00
orbitcowboy
04ffba3a8b
wxwidgets.cfg: Added support for definitions from wx/artprov.h
2018-12-17 13:53:01 +01:00
orbitcowboy
548e529bfc
wxwidgets.cfg: Added support for more constants from wx/defs.h.
2018-12-17 13:35:33 +01:00
orbitcowboy
aba57e46c2
wxwidgets.cfg: Improved support for defines from wxDialog.
2018-12-17 13:19:58 +01:00
orbitcowboy
ad29421c33
wxwidgets.cfg: EVT_SASH_DRAGGED_RANGE takes three arguments.
2018-12-17 09:23:50 +01:00
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