summaryrefslogtreecommitdiffstats
path: root/kdecore
Commit message (Collapse)AuthorAgeFilesLines
* Drop weird macro and use memcpy/memset instead.Michele Calgaro2021-02-031-99/+9
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 60ef8289ae01945f48aefd2e03cf1abead4d177d)
* kpty: prevent to open pseudo ttys twice for openpty(3) platformsOBATA Akio2021-02-031-25/+38
| | | | | Signed-off-by: OBATA Akio <obache@wizdas.com> (cherry picked from commit 8f7371cddfa402a5561f46007985832b32383728)
* Add support of posix_openpt(2) to open master pseudo terminal deviceOBATA Akio2021-02-031-1/+5
| | | | | Signed-off-by: OBATA Akio <obache@wizdas.com> (cherry picked from commit 8e542575e044baf23ae636d32f1c6d4e3b8dea18)
* Add `getservbyname_r` prototype detection to CMakeOBATA Akio2021-02-031-2/+0
| | | | | | | OpenBSD's prototype is differ than glibc's one, but it is declared. Signed-off-by: OBATA Akio <obache@wizdas.com> (cherry picked from commit 6886dd7e96d475b64ac3c41a96a759c7d5fa2be9)
* Link external library for backtrace in tdecore.Slávek Banko2021-02-031-0/+1
| | | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 59debdf4f0f76222d69ad4f64c38f85f5d08313b)
* Allow to use backtrace(3) external library for kdebugOBATA Akio2021-02-031-1/+5
| | | | | Signed-off-by: OBATA Akio <obache@wizdas.com> (cherry picked from commit 2167207adc49b498536a5a8533c27fc67e0c6e9c)
* Fix to use configured openpty usability conditionOBATA Akio2021-02-031-1/+1
| | | | | | | No reason to restrict only on OpenBSD and FreeBSD here. Signed-off-by: OBATA Akio <obache@wizdas.com> (cherry picked from commit 12364c9cc38c1561e5c0b2784c7ed6af4360cb74)
* Fixed handling of svg images that caused an infinite loop (most notablyMichele Calgaro2021-02-031-2/+9
| | | | | | | Kicker was hanging with 100% CPU usage). Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit ffe8e495d7e99cc2e235a5f5ac776b72a31627ff)
* Use private linking for exported CMake targets.Slávek Banko2021-02-031-2/+3
| | | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 158b6e1152413e4fa973b70b7469bb1f256a1f38)
* Drop explicit dependencies on dcopidl and dcopidl2cpp,Slávek Banko2021-02-031-1/+0
| | | | | | | | because thanks to the replacement of KDE3 CMake macros with TDE macros, this is no longer needed. Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit c2b90055a581e9fb95a281fab53b6c56a96a4f2d)
* Check existing XDG folders before localization of the name.Slávek Banko2021-02-031-16/+48
| | | | | | | | | Some standard XDG folders may exist before the information is stored in ~/.config/user-dirs.dirs. Checking existing folders will prevent the creation of localized folders in addition to existing English ones. Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit dc699b4fd407fe4e4f887b8f2b3f44a096c9f761)
* Remove remaining 'register' instructions.Michele Calgaro2021-02-032-3/+3
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 30606e55f1a570463d837cb110b0bd4adba6643b)
* Removed explicit usage of the 'register' keyword.Michele Calgaro2021-02-038-24/+24
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit aa98dbfe80580169f3df12489a77e8b904a1d9b9)
* Fix private API compatibility in TDEGlobalSettings.Slávek Banko2021-02-032-0/+13
| | | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit f29aa92d38e9e1f353ed48f7952150437db8c890)
* Make sure XDG folders are created prior to their usage.Michele Calgaro2021-02-031-1/+36
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit de79e754fa8118d34ea804d6b4fb7056b65487fd)
* Improved support for XDG folders without requiring xdg-user-dirs to be ↵Michele Calgaro2021-02-033-115/+167
| | | | | | | installed. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 394c9f5c0e1b464aa8bc22bd65c5268acd43994d)
* Redirect some headers noticed by the compilerMatías Fonzo2021-02-031-1/+1
| | | | | | | | | | | | /usr/include/sys/poll.h:1:2: warning: #warning redirecting incorrect #include <sys/poll.h> to <poll.h> [-Wcpp] 1 | #warning redirecting incorrect #include <sys/poll.h> to <poll.h> /usr/include/sys/signal.h:1:2: warning: #warning redirecting incorrect #include <sys/signal.h> to <signal.h> [-Wcpp] 1 | #warning redirecting incorrect #include <sys/signal.h> to <signal.h> Note: <sys/signal.h> has been removed from the tdeio/tdeio/connection.cpp source - it was already declared. Signed-off-by: Matías Fonzo <selk@dragora.org> (cherry picked from commit c2adce2e133c167567df8607a32a420a9825f695)
* Added support for XDG_PICTURES_DIR and XDG_TEMPLATES_DIR in TDE global settings.Michele Calgaro2021-02-032-3/+38
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit aca6b3d42409234a19e2910443d511328c0b025a)
* Fix handling of XDG directories in TDEConfigBase. This relates to issue #60.Michele Calgaro2021-02-031-6/+32
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 3a4f7f51cfb88ab6b34918e8f79dea027d02b411)
* Security: remove support for $(...) in config keys with [$e] marker.Slávek Banko2019-08-092-32/+1
| | | | | | | | | | | | | | | | It is very unclear at this point what a valid use case for this feature would possibly be. The old documentation only mentions $(hostname) as an example, which can be done with $HOSTNAME instead. Note that $(...) is still supported in Exec lines of desktop files, this does not require [$e] anyway (and actually works better without it, otherwise the $ signs need to be doubled to obey kconfig $e escaping rules...). Based on KDE Frameworks 5 kconfig patch for CVE-2019-14744. This resolves issue #45. Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 1074eb033654bd5462677ffe694eda7805390284)
* Fix CMake build dependencies for tests.Slávek Banko2019-03-031-0/+6
| | | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 8fc2a6ca26ff8a6aaffc57357be865a8dcfecbd8)
* Use system libdir when searching for dynamically loaded libraries.Slávek Banko2019-02-271-4/+4
| | | | | | | This prevents finding an incorrect architecture on multi-arch systems. Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 8a859540c3cb306844288144a06028dc302408d6)
* Fix bug reports link in about dialogSlávek Banko2018-06-301-2/+4
| | | | | | | | Update bug reports url to bugs.trinitydesktop.org This resolves bug 2935 Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit aa83c86cd30e77bad7fdb2b047ce256a24c883b5)
* Add search for utempter helperSlávek Banko2018-02-131-2/+2
| | | | | | | This resolves Bug 2841 Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit a14adb9ab9c50cbcd95a2d2e3f42c41fecf73fb0)
* Add brightness keys supportRoman Savochenko2017-07-311-0/+10
| | | | | | | This relates to bug 2781 Signed-off-by: Roman Savochenko <rom_as@oscada.org> (cherry picked from commit 4dd179aaa3f53335428c2fda5b3d356d19349f28)
* Fix memory leak after use XGetAtomNameSlávek Banko2017-07-221-2/+5
| | | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit ab525f2baada44f6dd8c80970c2875a0b19b3a05)
* fixup! tdecore/tdeconfig_compiler: add check/test executablesAlexander Golubev2017-07-221-0/+82
| | | | | Signed-off-by: Alexander Golubev <fatzer2@gmail.com> (cherry picked from commit d556a8752c0862aa2d84a105dc8ac41b61ba7824)
* tdecore/tdeconfig_compiler: Always use tqt names of objects in the generated ↵Slávek Banko2017-07-221-9/+9
| | | | | | | files Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 68d315af1010f322cfffe58e0c2450736c4638ee)
* tdecore/tdeconfig_compiler: add check/test executablesAlexander Golubev2017-07-227-8/+10
| | | | | Signed-off-by: Alexander Golubev <fatzer2@gmail.com> (cherry picked from commit 57e73e9e4c61f9cfd9cc03fbbfa5970452e0e8a4)
* testing: add TEST argument to tde_add_check_executable() macroAlexander Golubev2017-07-221-7/+5
| | | | | Signed-off-by: Alexander Golubev <fatzer2@gmail.com> (cherry picked from commit 7e73e618d0470110b60f8f1d3211841daf99b593)
* tdecore: fix a crash of dcop non-GUI apps without XAlexander Golubev2017-07-221-4/+8
| | | | | | | | Previously non-GUI apps crashed on TDEApplication::updateUserTimestamp callback when receiving a DCOP message. Signed-off-by: Alexander Golubev <fatzer2@gmail.com> (cherry picked from commit 5842fb37df7a01decb2151a570f58fb2528b3ccd)
* Include module into test namesAlexander Golubev2017-07-221-1/+1
| | | | | Signed-off-by: Alexander Golubev <fatzer2@gmail.com> (cherry picked from commit 6c1b8a75f293ed4f1a08ec2064a2f5fa60de395b)
* Initial add for check target for cmakeAlexander Golubev2017-07-2219-25/+82
| | | | | Signed-off-by: Alexander Golubev <fatzer2@gmail.com> (cherry picked from commit 0c64a776ddecfa33a37318e79b8811d9774579ae)
* Fix a number of build warningsTimothy Pearson2017-07-223-9/+13
| | | | (cherry picked from commit e0b1bfb0140e1d484f71683e820731abdd0779d5)
* Fix tdebindings FTBFSTimothy Pearson2015-12-241-0/+6
| | | | (cherry picked from commit 3c06aad1564601e37dfce6e6bffabb4472421999)
* Allow session manager to be disable on creation when argc and argv are not ↵Timothy Pearson2015-12-242-0/+34
| | | | | | | passed to TDEApplication This relates to Bug 760 (cherry picked from commit 7cc3a975d2b1ac2d9efa6abef037533fc8bfec7c)
* Allow TDEApplication objects to be constructed without a session managerTimothy Pearson2015-12-242-2/+45
| | | | | This relates to Bug 760 (cherry picked from commit 6f4fd5e5632b2288a483430c625081a51342fdab)
* Add tdelfeditorTimothy Pearson2015-12-241-1/+2
| | | | | (small portion of original commit) (cherry picked from commit d6a4fe9ca855e094bbfe2e1ba1bba565557b1891)
* Fix quotedPrintablecodec to support lower-case letters in hex codesSlávek Banko2015-12-231-2/+3
| | | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 912e4866efdedea1a936c30ceb80d5d6df8d263d)
* Fix prior commitsTimothy Pearson2015-12-231-1/+1
| | | | (cherry picked from commit 6e6464537c7ee38d56b06846a93e18c26db83091)
* Fix prior commitTimothy Pearson2015-12-231-2/+2
| | | | (cherry picked from commit 4e04b0a438c17fc33d3424f810dbc0fb5e8666d9)
* Add GPL v3 license to TDEAboutData optionsTimothy Pearson2015-12-232-0/+10
| | | | (cherry picked from commit 85c0e479c1d997b4127748ee6a2c749378940046)
* Fix FTBFS due to missing export lt_dlopen_flagNikolaus Klepp2015-12-231-0/+2
| | | | | Signed-off-by: Nikolaus Klepp <office@klepp.biz> (cherry picked from commit 022a297ed704d1d8f51d31551b303a79c7bfdbfa)
* Fix several issues on freebsdSlávek Banko2015-12-231-5/+8
| | | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit e469e42c76000b70aebaf838f5a3c4ded184b0e3)
* Fix FTBFS on freebsd due to utmpxSlávek Banko2015-12-231-1/+1
| | | | | | | [taken from FreeBSD kdelibs3 patches] Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit e443c9e0b29809c1ba0c9133e2fea9cbc30ae937)
* Force to handle DCOP requests in KUniqueApplication (newInstance call)Slávek Banko2015-12-231-2/+12
| | | | | | | This resolves Bug 2437 Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit c6c1d781a5035e6740532366a09a48448a93666c)
* Remove unneeded check and handler for broken TQt DnDTimothy Pearson2015-12-231-41/+0
| | | | | Application of patch 0037-dnd-timestamp-fix.patch to TQt3 verified before removal (cherry picked from commit bbd5f4476c3feda235f90b458ad25d0511f53627)
* Fix FTBFS on openbsd because missing link to "util" libraryFrançois Andriot2015-12-231-1/+1
| | | | (cherry picked from commit 8e7888b85708c6e5d7a3b404c40a1bcf9c807bd0)
* Add support for openbsd in kresolverFrançois Andriot2015-12-232-18/+105
| | | | (cherry picked from commit 439f3ba7ea9aa0b850f70b520081d6bac8c83752)
* Add support for openbsd pty in kptyFrançois Andriot2015-12-231-0/+14
| | | | (cherry picked from commit e61585edf09d3136c92e255e26dc054d3e22cd7d)