Commit Graph

1467 Commits

Author SHA1 Message Date
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
Mischa Aster Alff 5f2dc0a036 Fix Microsoft SAL cfg macro definitions that used - instead of _ for variable names (#1301) 2018-07-09 16:19:29 +02:00
Sebastian c74ec34da8 windows.cfg: Add _TCHAR platform type. (#1291)
_TCHAR is simply the same as TCHAR. Defined in tchar.h.
More information about it:
https://social.msdn.microsoft.com/Forums/vstudio/en-US/0073fa7b-5cf5-469c-978f-2961f9d4ecb2/tchar-vs-tchar?forum=vcgeneral
2018-06-20 10:25:39 +02:00
orbitcowboy 5ad1b2bdd1 windows.cfg: Added some error codes from WinInet.h: Error codes Ref.: https://msdn.microsoft.com/en-us/library/windows/desktop/aa385465(v=vs.85).aspx. 2018-06-13 15:33:26 +02:00
orbitcowboy 77d4601fee windows.cfg: Added System Error Codes (0-15999) Ref.: https://msdn.microsoft.com/en-us/library/windows/desktop/ms681384(v=vs.85).aspx 2018-06-13 15:20:39 +02:00
orbitcowboy e029fe016a windows.cfg: Added constants from Winerror.h: COM Error Codes (VOLMGR, BCD, VHD, SDIAG) Ref.: https://msdn.microsoft.com/en-us/library/windows/desktop/dd542650(v=vs.85).aspx 2018-06-13 10:16:05 +02:00
orbitcowboy efe652f034 windows.cfg: Added constants from Winerror.h: COM Error Codes (FWP, WS, NDIS, HyperV) Ref.: https://msdn.microsoft.com/en-us/library/windows/desktop/dd542649(v=vs.85).aspx 2018-06-13 10:11:13 +02:00
orbitcowboy 3383fc6938 windows.cfg: Added Winerror.h: COM Error Codes (Security and Setup) Ref.: https://msdn.microsoft.com/en-us/library/windows/desktop/dd542646(v=vs.85).aspx 2018-06-13 09:55:11 +02:00
orbitcowboy 284da2f72e windows.cfg: Added more constants from Winerror.h: COM Error Codes (STG, RPC) Ref.: https://msdn.microsoft.com/en-us/library/windows/desktop/dd542645(v=vs.85).aspx 2018-06-13 09:40:08 +02:00
orbitcowboy c1668ff294 windows.cfg: Added more COM error constants. 2018-06-13 08:44:29 +02:00
orbitcowboy 4d99300339 windows.cfg: Added COM Error Codes (WPN, MBN, P2P, Bluetooth) from https://msdn.microsoft.com/en-us/library/windows/desktop/hh404142(v=vs.85).aspx 2018-06-12 15:39:08 +02:00
orbitcowboy 8354a75f66 windows.cfg: Added COM Error Codes (UI, Audio, DirectX, Codec) from Winerror.h. Ref.: https://msdn.microsoft.com/en-us/library/windows/desktop/hh404141(v=vs.85).aspx 2018-06-12 15:27:05 +02:00
orbitcowboy 4a81f6be9a windows.cfg: Added support for some constants from PortableDevice.h. Ref.: https://msdn.microsoft.com/en-us/library/windows/desktop/dd319335(v=vs.85).aspx 2018-06-12 11:29:51 +02:00
orbitcowboy d9f9bdda73 windows.cfg: CreatePen() removed not required <leak-ignore/>-tag. 2018-06-08 17:04:09 +02:00
orbitcowboy 64ce5dfece windows.cfg: Added support for CreatePen(). 2018-06-08 15:57:11 +02:00
Sebastian f129d8bd6b
bsd.cfg: Add strlcpy(), fix fts_children() (#1284) 2018-06-08 15:42:49 +02:00
orbitcowboy 335cb480bf posix.cfg: Added support for locale_t 2018-06-08 14:43:20 +02:00
orbitcowboy d10788164a windows.cfg: Added support for _locale_t 2018-06-08 14:41:56 +02:00
orbitcowboy 7bb806c22b windows.cfg: Added support for CLSTX constants which are defined at https://msdn.microsoft.com/en-us/library/windows/desktop/ms693716(v=vs.85).aspx. 2018-06-08 14:33:13 +02:00
orbitcowboy cb2880e7c1 windows.cfg: Added support for _mbsncpy_s_l() and _mbsncpy_s(). 2018-06-07 15:35:00 +02:00
orbitcowboy c31503557d windows.cfg: Added support for _wcsncpy_s_l(). 2018-06-07 15:24:26 +02:00
orbitcowboy 8472779c00 std.cfg: Added support for wcsncpy_s(). 2018-06-07 11:57:03 +02:00
orbitcowboy cc0f3f6cec Formatted code, there are no functional changes [ci skip]. 2018-06-06 11:15:47 +02:00
amai2012 3619aece02 Add support for umask functions 2018-06-06 10:59:34 +02:00
Sebastian ae5da13f3a
qt.cfg: Add obsolete functions with warning and one alternative one. (#1277)
For qInstallMsgHandler there is an alternative function qInstallMessageHandler. Both are added.
For qsrand and qrand there is only a hint that the class QRandomGenerator should be used instead.
Reference: https://doc.qt.io/qt-5/qtglobal-obsolete.html
2018-06-05 21:10:35 +02:00
orbitcowboy 74b18d7fd9 windows.cfg: Added support for _strncpy_s_l(). 2018-06-04 16:58:09 +02:00
orbitcowboy fe8cab1749 Removed platform specifc constants from previous commit. 2018-06-01 12:07:46 +02:00
orbitcowboy 34372aaf00 std.cfg: Added some floating point constants from <math.h>. 2018-06-01 11:45:05 +02:00
Daniel Marjamäki f326021a75 std.cfg: strncpy_s wrongly had <not-uninit/> in first argument 2018-05-31 07:03:07 +02:00
orbitcowboy c7993c38b5 bsd.cfg: Added support for strlcat(). 2018-05-30 16:47:00 +02:00
orbitcowboy 39feb150c0 std.cfg and windows.cfg: Added support for wcscat_s() and _tcscat_s(). 2018-05-30 16:25:09 +02:00
orbitcowboy ef82477d11 std.cfg: Do not take the return value of std::locale::global() into account. 2018-05-30 16:04:40 +02:00
orbitcowboy d06eb3eb8f std.cfg: Added support for strcat_s() (since C11). 2018-05-30 14:30:26 +02:00
orbitcowboy 53c53db312 windows.cfg: Added support for _mbscat_s(). 2018-05-28 21:52:44 +02:00
orbitcowboy 601b3f888d windows.cfg: Added more COM Error codes (Generic) Ref: https://msdn.microsoft.com/en-us/library/windows/desktop/dd542643(v=vs.85).aspx. 2018-05-28 21:34:12 +02:00
orbitcowboy 0f1eb0a9b2 windows.cfg: Added missing COM macros, defined at https://msdn.microsoft.com/en-us/library/windows/desktop/dd542715(v=vs.85).aspx. 2018-05-28 15:35:40 +02:00
orbitcowboy 4414bb0f1e windows.cfg: Added support for some error codes. Ref. https://msdn.microsoft.com/en-us/library/windows/desktop/dd542643(v=vs.85).aspx. 2018-05-28 10:21:36 +02:00
orbitcowboy 75e28e46c5 windows.cfg: Added support for _mbscat(). 2018-05-28 10:08:11 +02:00
versat 10292c1202 microsoft_sal.cfg: Add the missing Advanced Annotations
Reference: https://msdn.microsoft.com/en-us/library/windows/desktop/aa383701(v=vs.85).aspx (Advanced Annotations are near the bottom)
2018-05-25 14:26:32 +02:00
orbitcowboy 3407f3e932 windows.cfg: Added test cases for CreateThread(). 2018-05-25 11:50:12 +02:00
versat 6a5bf33b0d microsoft_sal.cfg: Add RPC SAL Annotations from rpcsal.h 2018-05-25 10:28:58 +02:00
orbitcowboy d7c8c46c10 test std.cfg: Improved testing for strcat() and wcscat(). 2018-05-25 08:36:47 +02:00
orbitcowboy c07abdd382 windows.cfg: Added more constants from Rpcdce.h. 2018-05-24 16:00:06 +02:00
orbitcowboy 18b452111f windows.cfg: Added constants from Rpcdce.h. 2018-05-24 15:54:01 +02:00
orbitcowboy df8a5966bb windows.cfg: Added constant definitions from AccCtrl.h 2018-05-24 15:49:28 +02:00
orbitcowboy 792d5a7cf4 windows.cfg: Added missing COM macros, defined at https://msdn.microsoft.com/en-us/library/windows/desktop/dd542715(v=vs.85).aspx. 2018-05-24 15:27:40 +02:00
Sebastian 8b94bfaf0a
windows.cfg: Add macros SUCCEEDED() and FAILED(). (#1264)
Somehow the opposite inner condition is not detected when macros are used. I created this ticket: https://trac.cppcheck.net/ticket/8596
2018-05-24 14:52:32 +02:00
Sebastian aa3722feea
windows.cfg: Add lstrlen() configuration and tests. (#1239)
Reference: https://msdn.microsoft.com/en-us/library/windows/desktop/ms647492(v=vs.85).aspx
2018-05-17 15:43:01 +02:00
orbitcowboy 3ad8fa5288 windows.cfg: Improved support for more types. 2018-05-16 16:26:40 +02:00
Sebastian 748f50cf85
windows.cfg: Add 32/64 bit time related functions and types. (#1236)
Fix declaration comments for _localtime32_s() and _localtime64_s().
Add functions _time32 and _time64, and types __time32_t and __time64_t.
References: https://docs.microsoft.com/en-us/cpp/c-runtime-library/reference/localtime-s-localtime32-s-localtime64-s
https://docs.microsoft.com/en-us/cpp/c-runtime-library/reference/time-time32-time64
2018-05-16 12:42:50 +02:00
Sebastian fdc98e5665
std.cfg: Add rsize_t and errno_t configurations. (#1229) 2018-05-16 10:12:37 +02:00
orbitcowboy 4e38627a3d windows.cfg: Improved support for Windows types (ref. https://msdn.microsoft.com/en-us/library/windows/desktop/aa383751(v=vs.85).aspx ). 2018-05-16 09:16:12 +02:00
orbitcowboy 98e64e76f7 windows.cfg: Improved support for Windows types (ref. https://msdn.microsoft.com/en-us/library/windows/desktop/aa383751(v=vs.85).aspx ). 2018-05-16 00:23:58 +02:00
orbitcowboy 3e3a8af267 windows.cfg: Improved support for Windows types (ref. https://msdn.microsoft.com/en-us/library/windows/desktop/aa383751(v=vs.85).aspx ). 2018-05-16 00:09:45 +02:00
orbitcowboy d0089fe305 windows.cfg: Added missing PFLOAT definition. 2018-05-15 09:43:28 +02:00
Sebastian 50aa3620da
posix.cfg: Add minsize to readlink[at] function configurations (#1216) 2018-05-09 18:20:45 +02:00
Sebastian 90bc8b7404
posix.cfg: Add not-bool to last arguments where appropriate. (#1204)
Add not-bool function argument configuration where appropriate to catch errors like this: df4ca5fb72
2018-05-08 09:30:08 +02:00
Sebastian 0a95fb4b70
qt.cfg: Add some QStandardItem[Model] functions (#1200) 2018-05-02 21:03:55 +02:00
Sebastian 6208ee4af1 std.cfg: Add asctime_s function configuration with tests (#1191)
* std.cfg: Add asctime_s function configuration with tests

* std.cfg: Remove redundant/not needed not-bool attributes.
2018-04-27 23:51:16 +02:00
orbitcowboy eb922a140a wxwidgets.cfg: Added support for wxOVERRIDE. 2018-04-27 23:18:34 +02:00
Sebastian 4b104c4576
std.cfg: Add some missing C++11 declarations comments and not-bool attributes (#1183) 2018-04-25 08:54:36 +02:00
Sebastian 038064436d std.cfg: Fix minsize configuration for vsprintf (#1188)
minsize with argvalue for arg 2 which is a char pointer makes no sense.
Changing it to minsize with strlen for arg 2 results in false positives
(and i think false negatives too).
In std.c a test with a valid vsprintf usage is added that would result
in a FP when minsize with strlen for arg 2 would be used.
2018-04-25 02:52:19 +02:00
Sebastian 40c42f2de7
qt.cfg: Add some functions used in the GUI, remove redundant const (#1189) 2018-04-24 16:37:55 +02:00
Sebastian 86d54c63c6
qt.cfg: Add more QString:: methods, fix errors. (#1185)
Additionally fix QString::sprintf() and QString::asprintf()
configurations.

Fix typo in quin[i]tptr.

Add warning for QString::sprintf and QString::vsprintf.
These functions are obsolete since Qt5, see
https://doc.qt.io/qt-5/qstring-obsolete.html
2018-04-24 12:23:23 +02:00
Sebastian b53c4b2032 std.cfg: Add std::vector function configurations and tests (#1180) 2018-04-19 16:41:25 +02:00
versat 3a52f217d3 microsoft_sal.cfg: Add some missing annotations 2018-04-13 11:39:26 +02:00
Sebastian 9e623b15b1
windows.cfg: Add SetFilePointer() function configuration (#1167) 2018-04-12 16:09:11 +02:00
Sebastian 26e22a9f5c
qt.cfg: Add/Enhance Qt macros and functions (#1164)
Qt macro Q_D() is disabled for now until ticket 8479 gets fixed.
2018-04-12 13:40:02 +02:00
Sebastian c39a3e3f1c
windows string macros: Handle _T, _TEXT and TEXT internally, add tests (#1163)
Remove TEXT() macro from windows.cfg and handle it internally where it
can be correctly simplified (Ansi vs. Unicode).
Also add handling of _TEXT() macro which is just a synonym for _T().
Add tests to verify correct function and macro simplification.
2018-04-12 08:52:31 +02:00
Sebastian a36dad918a std.cfg: Add std::make_pair() (#1165) 2018-04-11 19:16:55 +02:00
orbitcowboy ef62207ada std.cfg: Added more tests for some std::vector functions. 2018-04-11 17:21:26 +02:00
versat 8aa71d62a0 Revert "windows.cfg: Add macros _TEXT() and _T() (#1161)"
This reverts commit 9db64ca934.
2018-04-11 08:37:15 +02:00
Sebastian 3fc53eb122 std.cfg: Add std::[w]string::compare() with tests (#1162) 2018-04-10 21:07:39 +02:00
Sebastian 9db64ca934
windows.cfg: Add macros _TEXT() and _T() (#1161) 2018-04-10 18:39:59 +02:00
orbitcowboy 270635eb1f wxwidgets.cfg: Improved support for wxString to number conversion functions. 2018-04-07 20:27:02 +02:00
orbitcowboy 6e21d5ab84 wxwidgets.cfg: Added support for wxAtoi, wxAtol and wxAtof. 2018-04-04 21:29:55 +02:00
orbitcowboy d7072136dc wxwidgets.cfg: Added support for wxMenuBar::Append(). 2018-03-31 13:34:40 +02:00
orbitcowboy 43aac4696e wxwidgets.cfg: Added support for more functions. 2018-03-31 13:23:12 +02:00
Sebastian 3c5777fbc6
windows library: Add config for some Local* functions (#1139)
Add configuration and tests for LocalAlloc, LocalFree and some other
Local* functions.
LocalReAlloc is currently not configured as an alloc/dealloc function
(like realloc is not configured in std.cfg), i am not sure how to
correctly configure it.
2018-03-29 20:47:22 +02:00
Sebastian bbb43155bf
qt.cfg: Fix false positives for function disconnect (#1137)
There is no problem with a null pointer as third argument. 0 is used as
wildcard and stands for all receivers for example.
2018-03-27 15:54:24 +02:00
orbitcowboy 98b4c5689f wxwidgets.cfg: Improved support for more wxWidgets macros. 2018-03-27 14:24:59 +02:00
Sebastian d3284d5d54 std.cfg: Add strncpy_s and strncat_s (#1136) 2018-03-26 18:38:26 +02:00