OSDN Git Service
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>
Ivailo Monev [Sat, 28 Nov 2020 03:06:18 +0000 (03:06 +0000)]
update FreeBSD pkg-plist file to account for the translations
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 28 Nov 2020 02:58:12 +0000 (02:58 +0000)]
review katie_setup_target() style
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 28 Nov 2020 02:57:34 +0000 (02:57 +0000)]
remove unused and internal QCoreApplicationPrivate::isTranslatorInstalled()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 28 Nov 2020 02:41:49 +0000 (02:41 +0000)]
correct variables in katie_check_defined()
CMAKE_REQUIRED_FLAGS is a string, not list
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 27 Nov 2020 23:38:20 +0000 (23:38 +0000)]
reimplement QTranslator via gettext/libintl
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 27 Nov 2020 23:23:27 +0000 (23:23 +0000)]
workaround some CMake and BSD issues
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 27 Nov 2020 15:42:26 +0000 (15:42 +0000)]
French translation correction
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 27 Nov 2020 03:25:40 +0000 (03:25 +0000)]
remove unused linguist classes, typedefs and function
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 27 Nov 2020 03:24:52 +0000 (03:24 +0000)]
mark QTranslator::translate() as virtual
when the overload was merged as per the TODO virtual specifier was not
added by mistake
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 27 Nov 2020 02:13:48 +0000 (02:13 +0000)]
fix possible sm_performSaveYourself() thread-safety issue
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 27 Nov 2020 01:23:41 +0000 (01:23 +0000)]
check for pthread_stackseg_np() during build
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 27 Nov 2020 01:14:22 +0000 (01:14 +0000)]
OpenBSD build fix
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 27 Nov 2020 01:01:59 +0000 (01:01 +0000)]
use arc4random() in qrand() if available
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 27 Nov 2020 00:47:34 +0000 (00:47 +0000)]
pass CMAKE_THREAD_LIBS_INIT to pthread_attr_get_np() test
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 26 Nov 2020 20:55:08 +0000 (20:55 +0000)]
remove unused QThreadData::clearCurrentThreadData()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 26 Nov 2020 19:46:05 +0000 (19:46 +0000)]
remove stub QNetworkSessionPrivate::setALREnabled()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 26 Nov 2020 19:36:18 +0000 (19:36 +0000)]
remove unused set_font_bits() argument
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 26 Nov 2020 19:35:53 +0000 (19:35 +0000)]
avoid branch in QFontPrivate constructor
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 26 Nov 2020 18:58:50 +0000 (18:58 +0000)]
fix some QByteArrayMatcher and QStringMatcher bugs
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 26 Nov 2020 18:05:58 +0000 (18:05 +0000)]
set correct Section type for QDateTimeParser::last
upstream commit:
https://github.com/qt/qtbase/commit/
c459ea84c4abb1bc68bc76dbbd4889a0f5bf4125
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 26 Nov 2020 17:39:24 +0000 (17:39 +0000)]
remove unused QDateTimeParser member and enum
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 26 Nov 2020 17:18:56 +0000 (17:18 +0000)]
do not handle NAN and INFINITY explicitly in QLocalePrivate::bytearrayToDouble()
std::strtod() should support such cases, even case-insensitive occurences
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 26 Nov 2020 16:10:11 +0000 (16:10 +0000)]
remove redundant QT_PLUGIN definition
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 26 Nov 2020 15:56:09 +0000 (15:56 +0000)]
effectively revert
26bf3aacd32f9ceda5a45c8114f0f50260ac120e
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 26 Nov 2020 02:01:53 +0000 (02:01 +0000)]
make use of dbus_signature_validate() and dbus_signature_validate_single()
both methods are available in atleast D-Bus v0.32 and v1.5.12 is
required so no reason not to do that
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
asd
Ivailo Monev [Thu, 26 Nov 2020 01:12:21 +0000 (01:12 +0000)]
prefix getpagesize() call in Heap::allocateBlock()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 26 Nov 2020 00:38:49 +0000 (00:38 +0000)]
remove unused QBearerEngine members
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 26 Nov 2020 00:27:54 +0000 (00:27 +0000)]
make use of Q_DECL_ALIGN() and Q_ALIGNOF() in JSC
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 25 Nov 2020 23:37:10 +0000 (23:37 +0000)]
get rid of QTDIR environment variable
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 25 Nov 2020 23:12:43 +0000 (23:12 +0000)]
invoke make from minsize.sh and debug.sh in FreeBSD and Solari compatible way
FreeBSD does not have `nproc` and Solaris (OpenIndiana) uses dmake which
requires space separator to recognize the jobs argument
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 25 Nov 2020 22:54:08 +0000 (22:54 +0000)]
remove the condition for system proxies support
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 25 Nov 2020 22:42:03 +0000 (22:42 +0000)]
update tables data to CLDR v38
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 25 Nov 2020 22:29:37 +0000 (22:29 +0000)]
do not export QSettingsPrivate for test builds
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 25 Nov 2020 22:26:39 +0000 (22:26 +0000)]
remove unused internal build functionality
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 25 Nov 2020 16:21:23 +0000 (16:21 +0000)]
pass any extra crossdeb.sh arguments to debootstrap
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 25 Nov 2020 15:38:59 +0000 (15:38 +0000)]
check for timegm(), tm.tm_gmtoff and tm.tm_zone during build
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 25 Nov 2020 15:13:42 +0000 (15:13 +0000)]
check for posix_memalign(), pthread_attr_get_np() and madvise() during build
replace mmap() calls with QT_MMAP() so that mmap64() is called when
supported by the host while at it and remove conditions that are
assumed to always be true
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 25 Nov 2020 02:36:33 +0000 (02:36 +0000)]
remove redundant QDir forward declaration in qsslsocket header and obsolete TODO
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 25 Nov 2020 00:28:24 +0000 (00:28 +0000)]
replace qstrtod(), qstrtoll() and qstrtoull() with their body
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 24 Nov 2020 21:12:06 +0000 (21:12 +0000)]
update README
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 24 Nov 2020 18:14:33 +0000 (18:14 +0000)]
do not enable madvise() use on Hurd for JSC
Hurd does not have MAD_FREE
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 24 Nov 2020 18:04:33 +0000 (18:04 +0000)]
ignore build directory on Debian GNU/Hurd
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 24 Nov 2020 17:53:28 +0000 (17:53 +0000)]
do not enable madvise() use on Solaris for JSC
not available if _POSIX_C_SOURCE > 2 or _XPG4_2 is defined which is the
default on OpenIndiana
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 24 Nov 2020 16:57:44 +0000 (16:57 +0000)]
remove unused QT_NO_ARM_EABI definiton
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 24 Nov 2020 16:31:33 +0000 (16:31 +0000)]
get rid of QT_LINUXBASE
note that arpa/inet.h is included in qnet_unix_p header unconditionally
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 24 Nov 2020 16:14:38 +0000 (16:14 +0000)]
remove obsolete IsKeypadKey and IsPrivateKeypadKey workaround
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 24 Nov 2020 15:57:30 +0000 (15:57 +0000)]
replace QT_LINUXBASE with FT_ERRORS_H definition check
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 24 Nov 2020 15:45:56 +0000 (15:45 +0000)]
remove redundant Q_OS_BSD4 definiton from qglobal header
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 24 Nov 2020 14:55:11 +0000 (14:55 +0000)]
review JSC platform defines
all supported operating systems have posix_memalign() declaration but
its use was enabled only for Haiku originally, now it will be used on
all of them
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 24 Nov 2020 14:24:54 +0000 (14:24 +0000)]
use single variable assignment in QHttpNetworkReplyPrivate::readBodyVeryFast()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 24 Nov 2020 13:40:09 +0000 (13:40 +0000)]
remove declaration of non-existing QApplicationPrivate::isAlien()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 24 Nov 2020 13:31:08 +0000 (13:31 +0000)]
remove unused QApplicationPrivate::widgetCount member
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 24 Nov 2020 13:22:03 +0000 (13:22 +0000)]
remove unused QApplicationPrivate::tryModalHelper() argument
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 24 Nov 2020 13:18:38 +0000 (13:18 +0000)]
remove unused qt_tryModalHelper()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 24 Nov 2020 13:15:53 +0000 (13:15 +0000)]
remove declaration of non-existing QApplicationPrivate::x11_initialize_style()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 24 Nov 2020 13:05:18 +0000 (13:05 +0000)]
remove unused BeginPaintInfo::windowSurfaceRecreated member
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 24 Nov 2020 12:20:09 +0000 (12:20 +0000)]
QImageReader test review
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 24 Nov 2020 12:14:48 +0000 (12:14 +0000)]
undefine ISLESS macro once it is not needed in quuid source file
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 23 Nov 2020 22:30:58 +0000 (22:30 +0000)]
eliminate main thread store
fixes RCC runtime crash on NetBSD
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 23 Nov 2020 21:40:54 +0000 (21:40 +0000)]
remove stub declaration of non-existing QThreadPrivate::setCurrentThread()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 23 Nov 2020 19:19:02 +0000 (19:19 +0000)]
QKqueueFileSystemWatcherEngine review
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 23 Nov 2020 17:09:54 +0000 (17:09 +0000)]
big endian build fix
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 23 Nov 2020 14:02:38 +0000 (14:02 +0000)]
avoid temporaries in QLocalSocketPrivate
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 23 Nov 2020 14:02:24 +0000 (14:02 +0000)]
rework named paper size table lookup
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 23 Nov 2020 13:50:38 +0000 (13:50 +0000)]
use static objects for mutexes in JSC
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 23 Nov 2020 03:32:21 +0000 (03:32 +0000)]
deal with TODOs in QAbstractSocket
upstream commits:
https://github.com/qt/qtbase/commit/
4669d657d29ae883db746b7cbfed367758943ee9
https://github.com/qt/qtbase/commit/
b5f2dd65ac0bec4f40ab22464a243b1ac06e294b
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 23 Nov 2020 03:03:57 +0000 (03:03 +0000)]
prefix function calls in qnetworkinterface_unix source file
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 23 Nov 2020 02:54:46 +0000 (02:54 +0000)]
prefix select() and times() function calls
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 23 Nov 2020 02:54:29 +0000 (02:54 +0000)]
build fix for the case when QT_HAVE_GETIFADDRS is not defined
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 22 Nov 2020 19:02:17 +0000 (19:02 +0000)]
remove redundant QFileSystemEngine::isCaseSensitive()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 22 Nov 2020 19:01:59 +0000 (19:01 +0000)]
remove unused QFileInfoGatherer members
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>