Commit graph

148 commits

Author SHA1 Message Date
Ivailo Monev
a6eaf8f7a1 compiler warning fixes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-01-02 21:29:18 +02:00
Ivailo Monev
58ef830341 copyright update
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-01-02 01:59:24 +02:00
Ivailo Monev
9ba055f7f8 remove KATIE_PLATFORM and KATIE_COMPILER
there are no compiler specific checks in the build system and only one
Linux platform check now

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-01-01 18:02:58 +02:00
Ivailo Monev
ad80751777 compiler warning fixes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2020-12-31 02:32:26 +02:00
Ivailo Monev
f871f20a67 compiler warning fix
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2020-12-31 01:30:21 +02:00
Ivailo Monev
bcd324e496 introduce PostgreSQL v13.1 support
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2020-12-27 03:53:46 +00:00
Ivailo Monev
45ea98a506 drop ODBC v2 support
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2020-12-20 06:49:46 +00:00
Ivailo Monev
280bcf33d2 static analyzer warnings fixes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2020-12-11 13:18:38 +00:00
Ivailo Monev
dacb6ba9d7 build fix
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2020-12-09 14:24:02 +00:00
Ivailo Monev
129005fc2f remove redundant break statement in qMakePSQLVersion()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2020-12-09 14:13:00 +00:00
Ivailo Monev
a21054d225 remove old MySQL versions support leftovers
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2020-12-09 13:54:38 +00:00
Ivailo Monev
9e9c8b0ee6 fix QTBUG-63108
upstream commit:
d253464172

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2020-12-09 13:06:04 +00:00
Ivailo Monev
1821084be6 add support for PostgreSQL v9.1+
drop support for versions earlier than v7.4 while at it

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2020-12-09 09:41:08 +00:00
Ivailo Monev
f2b3cd535c remove unused SQL plugins drivers constructs
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2020-12-09 09:23:42 +00:00
Ivailo Monev
57fc877a37 remove redundant Q_CLIENT_MULTI_STATEMENTS definition
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2020-12-09 06:11:21 +00:00
Ivailo Monev
edb6c50b88 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>
2020-12-03 18:41:39 +00:00
Ivailo Monev
4bd07bba01 fix PosgreSQL support for nan, inf and -inf
upstream commit:
3185b40d5d

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2020-12-03 17:02:44 +00:00
Ivailo Monev
13b48ebdb1 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>
2020-12-01 19:20:31 +00:00
Ivailo Monev
f5f3c083a4 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>
2020-12-01 03:37:14 +00:00
Ivailo Monev
f2633a27dd rename WITH_PSQL option to WITH_POSTGRESQL for consistency
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2020-11-30 16:36:05 +00:00
Ivailo Monev
760e18b19d remove unused QDateTimeParser member and enum
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2020-11-26 17:46:09 +00:00
Ivailo Monev
5717bc5056 remove redundant QT_PLUGIN definition
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2020-11-26 16:10:11 +00:00
Ivailo Monev
1ce277bb9d Solaris build fixes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2020-11-22 15:42:37 +00:00
Ivailo Monev
a956344dbf NetBSD and OpenBSD build fixes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2020-11-11 01:23:56 +02:00
Ivailo Monev
a380f56792 assume Q_OS_UNIX is defined in most source files
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2020-11-07 22:55:39 +02:00
Ivailo Monev
02387028f4 Hurd build fixes
libpqtypes-dev was required because of the PostgreSQL CMake module and even
with it CMake could not detect it in Travis environment (which is why
custom module is shipped with Katie), libmariadbd-dev does not depend on
libaio-dev even tho it should but that should be fixed in the official
MariaDB Debian package and CMake respectively, I am not going to workaround
those issues anymore just to bump on more

on Debian GNU/Hurd libpqtypes-dev and libaio-dev are not available
(atleast in the officiall main repository) and since they are not
directly required to build Katie I am removing them for that reason too

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2020-11-07 22:03:48 +02:00
Ivailo Monev
ebe43fe053 drop support for proprietary and discontinued operating systems
keeping Solaris/SunOS support due to the fact OpenIndiana exists

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2020-10-25 17:34:43 +02:00
Ivailo Monev
feb07793c7 remove unused and internal QAccessibleToolButton::actionCount()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2020-10-11 08:38:23 +03:00
Ivailo Monev
5ce23ae5ea drop obscure (24-bit) QImage formats support 2020-08-21 03:15:46 +03:00
Ivailo Monev
7eb845d86c handle JPEG quality limits in setter for performance reasons
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2020-08-11 00:30:12 +03:00
Ivailo Monev
e3049bff93 remove redundant break statements in QSvgIOHandler::option()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2020-07-27 07:30:52 -04:00
Ivailo Monev
7424267da1 drop MNG image format support
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-04-02 07:06:14 +00:00
Ivailo Monev
07bf092710 always use full paths for installation
now that CPack is no longer supported relative paths are no longer
required. this change also fixes the headers optimizations upon
installation since it requires full paths to work

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-03-09 00:36:36 +00:00
Ivailo Monev
d19b0a6ce4 drop support for static plugins
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-02-23 16:05:40 +00:00
Ivailo Monev
89e2819b29 use custom CMake module for PostgreSQL
the module CMake provides cannot detect it in Travis

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-02-13 14:31:25 +00:00
Ivailo Monev
7604ec7bf6 remove WITH_PNG AND WITH_SQLITE options, build SQLite driver into KtSql module
both are not really optional, that is why internal copies of the PNG and
SQLite projects sources are bundled.

by making the SQLite SQL driver built-in the plasma-desktop process
memory usage was reduced by roughly 4MB.

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-02-12 16:09:13 +00:00
Ivailo Monev
1102ecc943 require MySQL/MariaDB atleast v4.1.13
also check for MariaDB specific config program, header in path suffix and
library name. setting MYSQL_VERSION based on PC_MYSQL_VERSION is no longer
done since it does not report its actual version, e.g. reports 3.1.4 while
it is 10.3.18 (on Debian stable) for an example

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-01-23 15:20:25 +00:00
Ivailo Monev
41f81059d2 make JPEG, MNG and TIFF image format handlers plugins
this should reduce the startup time and memory usage since those image
formats are not used often and will allow to handle them via libvips or
other image processing library in the future

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-01-23 09:46:35 +00:00
Ivailo Monev
a02818602d simplify inline if/else statements
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-01-19 18:57:59 +00:00
Ivailo Monev
0f81581ec9 remove redundant image format plugins
handlers are built-in

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-01-15 04:23:18 +00:00
Ivailo Monev
ca00b6c4d6 replace Q_PI with M_PI from math header
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-01-10 15:16:46 +00:00
Ivailo Monev
3049209062 replace Q_ASSERT(0) with Q_ASSERT(false)
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-01-06 16:09:02 +00:00
Ivailo Monev
dea3f2ac74 include moc-generated files as local headers
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2019-12-31 00:24:20 +00:00
Ivailo Monev
883884affe use static lists for plugin keys
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2019-12-30 00:52:10 +00:00
Ivailo Monev
5b459cf0ec update copyright and add script for doing so
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2019-12-29 23:21:34 +00:00
Ivailo Monev
9a45943192 build against internal copies of libpng and sqlite if not found
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2019-12-28 17:33:39 +00:00
Ivailo Monev
9585bd773c mark certain core component options unsupported
this is mostly automated change set, a lot to be done later on
especially about the definitions in core component. the goal is
to make most of the options of the core component available so
that they can be utilized in other components and tools without
restrictions as shown by some of the changes done to the GUI
component in this commit

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2019-12-18 00:00:13 +00:00
Ivailo Monev
e85ed60606 inline and mark const some of QSvgIconEnginePrivate methods
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2019-12-13 11:49:38 +00:00
Ivailo Monev
67b8251559 fix regression since c30778d037
with the follow-up in 3d06305eac the data
was not static anymore

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2019-12-11 16:13:10 +00:00
Ivailo Monev
2d4f5428ef indent and format qsql_sqlite source file
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2019-12-11 16:08:17 +00:00