Commit Graph

1250 Commits

Author SHA1 Message Date
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