OSDN Git Service
Ivailo Monev [Mon, 7 Dec 2020 13:19:51 +0000 (13:19 +0000)]
define QT_FASTCALL to hot attribute for architectures other than i386
this will trigger compiler warning when used in function prototype
declarations but should be worth it
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 6 Dec 2020 07:15:00 +0000 (07:15 +0000)]
correct qscript license in its man page
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 5 Dec 2020 12:01:24 +0000 (12:01 +0000)]
correct translations targets name
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 5 Dec 2020 10:32:32 +0000 (10:32 +0000)]
bump version in BSD package files
also prefix date with "d" as recommended at the bottom of
https://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/makefile-naming.html
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 5 Dec 2020 09:50:12 +0000 (09:50 +0000)]
add NLS option to FreeBSD package files
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 5 Dec 2020 07:45:34 +0000 (07:45 +0000)]
mark qUiItemRoles table as static
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 5 Dec 2020 05:42:22 +0000 (05:42 +0000)]
remove unused QEvent::Speech enum
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 5 Dec 2020 01:45:51 +0000 (01:45 +0000)]
change QmlFolderListModelPlugin license header from BSD to LGPL
most likely mistake, only qscript is BSD licensed now
upstream commit:
https://github.com/qt/qtdeclarative/commit/
a04e66191b9c61c1dc0d4e9d23172830bfd0b892
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 5 Dec 2020 01:11:01 +0000 (01:11 +0000)]
update URL TLDs
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 5 Dec 2020 01:02:28 +0000 (01:02 +0000)]
replace QHackWidget with friend declaration
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 5 Dec 2020 00:24:45 +0000 (00:24 +0000)]
build in source dir on NetBSD
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 4 Dec 2020 23:47:41 +0000 (23:47 +0000)]
fix const correctness of QMovie::scaledSize()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 4 Dec 2020 23:47:03 +0000 (23:47 +0000)]
move default case to the bottom in QErrorMessage jump helper
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 4 Dec 2020 23:10:02 +0000 (23:10 +0000)]
remove dead code from QColorDialog
upstream commit:
https://github.com/qt/qtbase/commit/
56b5706ce05895d2acab8de55abf5b7d3f69e80f
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 4 Dec 2020 21:37:04 +0000 (21:37 +0000)]
inline QWheelEvent::orientation()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 4 Dec 2020 21:35:54 +0000 (21:35 +0000)]
inline QFocusEvent::reason()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 4 Dec 2020 21:25:19 +0000 (21:25 +0000)]
fix constness of QShortcut::context()
upstream commit:
https://github.com/qt/qtbase/commit/
fa1a1421262859cc9f4f48cc16aab0d3a0033ffb
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 4 Dec 2020 21:08:23 +0000 (21:08 +0000)]
remove unused QShortcutMap methods
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 4 Dec 2020 20:49:16 +0000 (20:49 +0000)]
do not fallback to modification time in QFileSystemMetaData::fillFromStatBuf()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 4 Dec 2020 20:04:36 +0000 (20:04 +0000)]
prefix setsockopt() call in multicastMembershipHelper()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 4 Dec 2020 11:52:13 +0000 (11:52 +0000)]
update FreeBSD package files
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 4 Dec 2020 11:48:17 +0000 (11:48 +0000)]
remove redundant branch in QIODevice::seek()
missed a hunk, should've been applied with
a0ef87cd2b4063992c138230931aee3b894ec1d1
upstream commit:
https://github.com/qt/qtbase/commit/
05d980664fd3958add575712faf2abbb12b20857
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 4 Dec 2020 10:08:22 +0000 (10:08 +0000)]
lift the restriction to building outside the source directory
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 4 Dec 2020 09:41:15 +0000 (09:41 +0000)]
initial NetBSD package files
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 4 Dec 2020 09:16:11 +0000 (09:16 +0000)]
remove redundant LGPLv3 header and license files
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 4 Dec 2020 06:46:07 +0000 (06:46 +0000)]
OpenBSD package files review
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 4 Dec 2020 00:30:05 +0000 (00:30 +0000)]
remove redundant and internal component definitions
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 4 Dec 2020 00:29:33 +0000 (00:29 +0000)]
remove template reference from OpenBSD package file
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 4 Dec 2020 00:13:45 +0000 (00:13 +0000)]
initial OpenBSD package files
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 3 Dec 2020 18:45:51 +0000 (18:45 +0000)]
replace obsolete libmariadbclient with mariadb-libs dependency in Arch package file
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 3 Dec 2020 18:41:39 +0000 (18:41 +0000)]
build connman and networkmanager bearer plugins only on Linux
even the generic plugin is not fully operational for other OS but
qGetInterfaceType() can be implemented for FreeBSD since it has similar
`ifreq` structure
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 3 Dec 2020 18:31:39 +0000 (18:31 +0000)]
remove now redundant workaround in katie_check_defined()
compiled source is not executed to check its return value since
check_cxx_source_compiles() is used now
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 3 Dec 2020 18:15:13 +0000 (18:15 +0000)]
reset variables if version could not be obtained in MySQL module
minimum version is required now
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 3 Dec 2020 17:49:24 +0000 (17:49 +0000)]
add BSD license file
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 3 Dec 2020 17:35:23 +0000 (17:35 +0000)]
generate version without tag for Arch package
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 3 Dec 2020 17:18:09 +0000 (17:18 +0000)]
require PostgreSQL atleast v7.4
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 3 Dec 2020 17:02:44 +0000 (17:02 +0000)]
fix PosgreSQL support for nan, inf and -inf
upstream commit:
https://github.com/qt/qtbase/commit/
3185b40d5de1092ed2bdd83f72478a344c5fc9e9
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 3 Dec 2020 16:47:31 +0000 (16:47 +0000)]
remove currently unused HarfBuzz checks during build
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 3 Dec 2020 16:35:18 +0000 (16:35 +0000)]
remove reference to trace script
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 3 Dec 2020 16:33:39 +0000 (16:33 +0000)]
properly indent QSqlRelationalDelegate
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 3 Dec 2020 16:33:21 +0000 (16:33 +0000)]
review CMake modules inclusions
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 3 Dec 2020 05:37:33 +0000 (05:37 +0000)]
remove Doxygen related files
documentation is far from Doxygen compatible yet
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 3 Dec 2020 05:35:40 +0000 (05:35 +0000)]
no gain in using Travis anymore
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 3 Dec 2020 03:56:36 +0000 (03:56 +0000)]
remove KatieMacros CMake file
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 2 Dec 2020 19:37:55 +0000 (19:37 +0000)]
inline some QTimer methods
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 2 Dec 2020 19:07:01 +0000 (19:07 +0000)]
build fix
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 2 Dec 2020 18:58:23 +0000 (18:58 +0000)]
use foreach() for iterations in QInternalMimeData
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 2 Dec 2020 18:35:09 +0000 (18:35 +0000)]
use foreach() for iteration in QGestureEvent::gesture()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 2 Dec 2020 18:31:11 +0000 (18:31 +0000)]
inline QWindowStateChangeEvent::isOverride()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 2 Dec 2020 18:28:16 +0000 (18:28 +0000)]
use proper type for QActionEvent argument
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 2 Dec 2020 17:48:32 +0000 (17:48 +0000)]
remove unused and internal QNativeGestureEvent
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 2 Dec 2020 16:31:56 +0000 (16:31 +0000)]
remove unused and internal QDragResponseEvent
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 2 Dec 2020 16:29:58 +0000 (16:29 +0000)]
remove unused QPaintEvent::m_erased member
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 2 Dec 2020 07:07:24 +0000 (07:07 +0000)]
link D-Bus test to KtDBus from katie_dbus_test()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 2 Dec 2020 06:47:36 +0000 (06:47 +0000)]
execute GUI tests via script
it may or may not work depending on how much time is required for Xvfb
to start but should cover most cases
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 2 Dec 2020 05:43:11 +0000 (05:43 +0000)]
execute D-Bus tests with script
NetBSD does not have the daemon running by default and some environments
such as Travis may not have it either, this should make the tests pass
in such cases without any changes to the host
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 2 Dec 2020 05:02:45 +0000 (05:02 +0000)]
use qIsNaN in common D-Bus tests header
fixes build on NetBSD
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 2 Dec 2020 03:55:49 +0000 (03:55 +0000)]
check for /proc/<pid>/exe and /proc/<pid>/cmdline during build
NetBSD also support them in current version
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 1 Dec 2020 21:45:54 +0000 (21:45 +0000)]
add script for static analysis build
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 1 Dec 2020 20:37:43 +0000 (20:37 +0000)]
fix some static analyzer warnings
upstream commit:
https://github.com/qt/qtbase/commit/
8936918a651ac297c91bfd285995993b306347ab
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 1 Dec 2020 19:18:08 +0000 (19:18 +0000)]
place all private headers in single directory
should reduce the build time and also the length of the commands used
during build
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 1 Dec 2020 18:06:55 +0000 (18:06 +0000)]
remove global headers leftovers
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 1 Dec 2020 17:30:43 +0000 (17:30 +0000)]
lookup the full library paths from modules
now the BSD workaround is needed only for CMake to not fail to find
packages from the modules it provides, not for the modules Katie
provides
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 1 Dec 2020 16:56:23 +0000 (16:56 +0000)]
avoid pointer with zero comparison in QTextDocumentWriter
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 1 Dec 2020 16:55:54 +0000 (16:55 +0000)]
mark static list as const in QTextDocumentWriter::supportedDocumentFormats()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 1 Dec 2020 16:35:17 +0000 (16:35 +0000)]
remove unused CPP::ExtractImages
drop explicity gzip-ed XPM images handling while at it, it's not an
actual format
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 1 Dec 2020 16:15:35 +0000 (16:15 +0000)]
fix resolv detection on FreeBSD
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 1 Dec 2020 15:49:41 +0000 (15:49 +0000)]
add keypad and F1-F35 keys to the QKeyMapper table
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 1 Dec 2020 06:19:28 +0000 (06:19 +0000)]
QSvgTinyDocument::load() const-correctness fix
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 1 Dec 2020 06:19:03 +0000 (06:19 +0000)]
properly indent QTextTablePrivate, QTextTable and QTextImageHandler
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 1 Dec 2020 05:04:15 +0000 (05:04 +0000)]
drop ODF support
HTML is worth supporting since browsers are a thing nowdays. drop the
compressed PDF support while at it to eliminate the indirect zlib
dependency of the GUI component
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 1 Dec 2020 02:52:33 +0000 (02:52 +0000)]
get rid of the static build restriction
plugins are build as shared libraries regardless of the build type
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 30 Nov 2020 23:40:48 +0000 (23:40 +0000)]
add script for automated machine translations
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 30 Nov 2020 23:08:41 +0000 (23:08 +0000)]
oops, install fix
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 30 Nov 2020 22:37:17 +0000 (22:37 +0000)]
remove QT_TRANSLATE_NOOP3() and QT_TRANSLATE_NOOP3_UTF8() macros
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 30 Nov 2020 22:33:37 +0000 (22:33 +0000)]
typo in CodeQL workflow
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 30 Nov 2020 22:32:57 +0000 (22:32 +0000)]
minimize use of KATIE_PROCESSOR
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 30 Nov 2020 22:32:18 +0000 (22:32 +0000)]
move QT_NO_TRANSLATION to external package dependant definitions
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 30 Nov 2020 22:31:44 +0000 (22:31 +0000)]
use foreach() for iteration in QDirIteratorPrivate constructor
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 30 Nov 2020 18:33:50 +0000 (18:33 +0000)]
review build time warnings and fatal errors
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 30 Nov 2020 18:03:15 +0000 (18:03 +0000)]
drop functionality that may affect reproducible builds
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 30 Nov 2020 17:32:56 +0000 (17:32 +0000)]
drop support for QLibraryInfo::PrefixPath and QLibraryInfo::DataPath
prefix cannot be reliably set and data path is not actually required for
anything
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 30 Nov 2020 16:36:05 +0000 (16:36 +0000)]
rename WITH_PSQL option to WITH_POSTGRESQL for consistency
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 30 Nov 2020 05:19:36 +0000 (05:19 +0000)]
reimplement backtrace support via execinfo
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 30 Nov 2020 04:21:13 +0000 (04:21 +0000)]
prefix isatty() function calls
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 30 Nov 2020 03:20:18 +0000 (03:20 +0000)]
fix regression since
59a37e52e4cd2510a8fa96afeda26556a5150429
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 30 Nov 2020 02:10:31 +0000 (02:10 +0000)]
remove redundant QApplication friend declaration
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 30 Nov 2020 02:10:01 +0000 (02:10 +0000)]
bind domain to UTF-8 codeset from QTranslator::load()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 29 Nov 2020 22:14:34 +0000 (22:14 +0000)]
optimize QCoreApplication::translate()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 29 Nov 2020 21:23:26 +0000 (21:23 +0000)]
use foreach() for iteration in QApplication::alert()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 29 Nov 2020 21:21:01 +0000 (21:21 +0000)]
avoid temporaries in QApplication::topLevelAt()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 29 Nov 2020 21:18:47 +0000 (21:18 +0000)]
avoid temporary in QApplication::setOverrideCursor()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 29 Nov 2020 21:12:33 +0000 (21:12 +0000)]
remove disabled X11 workaround in qapplication_x11 source file
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 29 Nov 2020 04:00:10 +0000 (04:00 +0000)]
do not translate error codes in qt_error_string()
strerror()/strerror_r() should do translate it depending on the system
locale
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 29 Nov 2020 03:59:11 +0000 (03:59 +0000)]
remove mac/win leftovers
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 29 Nov 2020 00:13:02 +0000 (00:13 +0000)]
rework the translation related functions
this is both step back (in terms of plural support) and step forward
(in terms of missuse of QApplication::translate()) but it has to be done
to make the API somewhat sensible. note that plural forms emulation via
QString.arg() is already done in some places and
QApplication::translate() is used somewhere where it should not be. in a
nutshell, if your code does not compile it probably needs more than a
build fix
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 28 Nov 2020 19:16:51 +0000 (19:16 +0000)]
remove translations, provide POT files
many translations are bogus now and have to be reviewed thus
translations will be done anew
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 28 Nov 2020 14:24:34 +0000 (14:24 +0000)]
prefix getpid() function calls
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 28 Nov 2020 14:18:16 +0000 (14:18 +0000)]
merge QT_NO_TRANSLATION and QT_NO_TRANSLATION_BUILDER options
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 28 Nov 2020 04:07:30 +0000 (04:07 +0000)]
properly indent statement in findXdndAwareParent()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>