Commit graph

15 commits

Author SHA1 Message Date
Ivailo Monev
575b10a273 kpty: format and indent
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-06-20 05:30:06 +03:00
Ivailo Monev
b4017ba41a kpty: remove unused QByteArray object
build with clang v14, -Wall in CXXFLAGS and still got not warning for
it being unused

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-12-08 01:56:24 +02:00
Ivailo Monev
2dd643cfab kpty: fill buffers with zeros
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-10-07 01:17:49 +03:00
Ivailo Monev
29a8459798 generic: remove checks for system headers that should be present
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-09-23 15:42:09 +03:00
Ivailo Monev
1c1bab4da8 generic: do not initialize QAtomicInt and QAtomicPointer<T> via assignment
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-05-30 22:07:52 +03:00
Ivailo Monev
3fb0674831 generic: replace QLinkedList<T> with QList<T>
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-01-29 17:07:12 +02:00
Ivailo Monev
c244f74158 kpty: use uninitialized buffers
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-07-17 20:26:51 +03:00
Ivailo Monev
3221b7bbe6 generic: make use of Katie's OS definitions
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-02-18 17:45:41 +02:00
Ivailo Monev
d2c5598a0f generic: DragonFly BSD build fixes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2020-12-25 00:14:07 +00:00
Ivailo Monev
5d2d39e853 generic: drop support for operating systems Katie does not support
replace internal definitions with Q_OS_<OS> alternatives checks while at it

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-02-25 04:48:18 +02:00
Ivailo Monev
bbc0b5a3f8 generic: misc cleanups
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-09-30 23:38:25 +00:00
Ivailo Monev
3e06b05004 generic: use QAtomicInt/QAtomicPointer instead of QBasicAtomicInt/QBasicAtomicPointer
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-09-30 23:37:55 +00:00
Ivailo Monev
352b640187 kpty: declare KPtyPrivate and KPtyDevicePrivate as class rather than struct
because Q_DECLARE_PUBLIC() declares class clangs emmits warning that the
classes were previously declared as structs, this change is kinda of revert
of previous series of struct <-> class warnings fixes and may need changes
in other places (such as konsole from kde-baseapps) to fix the same issues
given that now the forementioned classes declaration has changed

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2015-10-31 13:03:20 +02:00
Ivailo Monev
82fc15f54b generic: use CMake moc instead of automoc4 by default
for compatibilty reasons automoc4 support is not removed but it
shall be in the future. automoc4 has not been maintained for a
while (last commit is from 2011) and the stable release is from
2009.

CMake version >= 2.8.6 provides the functionality for mocking so
I see no reason to not make use of it.
2015-02-27 07:40:26 +00:00
Ivailo Monev
814163a8dc initial import 2014-11-13 01:04:59 +02:00