Commit Graph

109 Commits (32fc7e3ee3420999caa233209749c440e2cb0015)

Author SHA1 Message Date
OBATA Akio ad41084b8d Fix feature detections with CMake
* implement missing checks with CMake
* fixes and improve some detections
* remove missing but unused checks

Signed-off-by: OBATA Akio <obache@wizdas.com>
3 years ago
Slávek Banko 81d495430d
dcopclient: Use default path for XDG_RUNTIME_DIR if the variable is not set.
This resolves issue TDE/tdebase#241.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
3 years ago
Michele Calgaro 76d729c546
Fixed broken Q_FULL_TEMPLATE_INSTANTIATION define (renamed to TQ_FULL_TEMPLATE_INSTANTIATION).
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 years ago
Michele Calgaro 05ee12e2df
Fixed more uncrustify's code formatting offending files.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 years ago
Michele Calgaro 491e1c72c7
Fixed some uncrustify's code formatting offending files.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 years ago
Michele Calgaro 4f99f868f0
Renaming of files in preparation for code style tools.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 years ago
Slávek Banko 19f44e5ff3
tests: Wait for the dcop server to be ready.
Use a separate ICEAUTHORITY for tests.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
4 years ago
Michele Calgaro ed8e30bc6d
Removed code formatting modelines.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 years ago
OBATA Akio ac8c8ca54a
Add a knob to use fixed path `iceauth` tool
`system()` and `popen()` may unsafe unless using absolute command path.
Rely on PATH environment variable set by users may result in unwanted tool.

Signed-off-by: OBATA Akio <obache@wizdas.com>
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
5 years ago
OBATA Akio 56c5973b6b Fix to set DCOP_PATH properly
It is only used in dcop module and empty is unwanted situation,
so properly define it in dcop/CMakeLists.txt.
Rerevant header generation is also moved to there, and prevent
to define in main config.h file too.

Signed-off-by: OBATA Akio <obache@wizdas.com>
5 years ago
OBATA Akio 7827038ab4 Add LOCAL_PEEREID sockopt support for peer socket uid check
It is supported on NetBSD 5 and later.

Signed-off-by: OBATA Akio <obache@wizdas.com>
5 years ago
Slávek Banko 234c903a9b
dcopidlng fixes:
+ do not skip an empty class if it is declared with K_DCOP

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
5 years ago
Slávek Banko 49614d38c9
dcopidlng fixes:
+ includes may use quotation marks
+ argument types can contain multiple words
+ avoid use long, short, int or char type as the argument name
+ avoid use type as the argument name if the const qualifier is used
+ use long notation of int types
+ the arguments can be nameless
+ return types can have qualifiers
+ do not warn on inherit of the DCOPObject and TQObject classes
+ the documentation comment does not have to end on a separate line

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
5 years ago
Michele Calgaro 30606e55f1
Remove remaining 'register' instructions.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
5 years ago
Michele Calgaro aa98dbfe80
Removed explicit usage of the 'register' keyword.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
5 years ago
Slávek Banko 38b2b0be78
Process the new location of the ICEauthority file
+ our internal implementation of IceAuthFileName tests
  whether the ICEauthority file exists in the folder
  specified by the XDG_RUNTIME_DIR variable
+ DCOP client tests whether the ICEauthority file for
  a specific user exists in the user's folder based on
  the XDG_RUNTIME_DIR variable
+ tdeinit uses the IceAuthFileName() function
  instead of building the file name

This relates to bug 3027.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
5 years ago
Slávek Banko 83d02c95a1
cmake: Avoid double generating of dcop/tests files.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
5 years ago
Michele Calgaro 2cc912450d
Added TQStringVariantMap to dcop known types.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Michele Calgaro 352c8f6a21
Adjusted to latest TQVariant::TQVariant(bool) function.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Slávek Banko 8fc2a6ca26
Fix CMake build dependencies for tests.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
6 years ago
Michele Calgaro 2e0398f755
QT_NO_* -> TQT_NO_* renaming.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Michele Calgaro 2518c29202
qt -> tqt conversion:
QTDIR -> TQTDIR
QTDOC -> TQTDOC
INCDIR_QT -> INCDIR_TQT
LIBDIR_QT -> LIBDIR_TQT
QT_INC -> TQT_INC
QT_LIB -> TQT_LIB

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Michele Calgaro 50087701ab
qt -> tqt conversion:
qtlib -> tqtlib
libqt -> libtqt
QTLIB -> TQTLIB
LIBQT -> LIBTQT

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Michele Calgaro f67512dd4b
Remove QT_CLEAN_NAMESPACE/TQT_CLEAN_NAMESPACE unnecessary define.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Michele Calgaro 0c5985ae03
LIB_QT -> LIB_TQT conversion to align to updated admin module
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
7 years ago
Slávek Banko cbe888f1c4
Conversion QT_THREAD_SUPPORT -> TQT_THREAD_SUPPORT
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
7 years ago
Slávek Banko 1cc26703c3 Fix CMake build dependencies
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
8 years ago
Slávek Banko df203a23f4 testing: Run tests that use DCOP in a temporary home
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
8 years ago
Slávek Banko 30d5bd4d72 testing: fix bash specific syntax in dcop test
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
8 years ago
Alexander Golubev f2d8e88f09 dcop/tests: run dcop tests in a safer manner
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
8 years ago
Alexander Golubev 6c1b8a75f2 Include module into test names
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
8 years ago
Alexander Golubev 7f6c0b1c7d Make dcop tests run without X
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
8 years ago
Alexander Golubev e0b892796d Fix a couple of harmless warnings
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
8 years ago
Alexander Golubev 26d76a4c04 Add dcop tests to cmake
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
8 years ago
François Andriot 7be2f6784d Fix invalid perl syntax in kdocAstUtil.pm
This resolves Bug 2543

Signed-off-by: François Andriot <francois.andriot@free.fr>
9 years ago
Timothy Pearson 9ea35022d2 Fix compositing manager detection
Add advanced option to allow a DCOP call to bypass the local call-->send translation shortcut
10 years ago
François Andriot 3adf509ac8 Fix ucred support in openbsd 11 years ago
Slávek Banko e7d1b8fe33 Revert commit 1d498994 11 years ago
Timothy Pearson 1d498994f8 Include xrender library directory when linking
This relates to Bug 1199
11 years ago
Darrell Anderson d5554fcb01 Fix KDE->TDE rebranding in dcop command line help. 11 years ago
Darrell Anderson c4284606f6 Rename terminateKDE->terminateTDE 12 years ago
Darrell Anderson e4f16abb29 Remove line breaks from stdout/stderr messages to improve readability. 12 years ago
Slávek Banko c6cb3f2794 Additional k => tde renaming and fixes 12 years ago
Timothy Pearson cb17faa3e2 Bump library versions to 14.0.0
This relates to Bug 1575
12 years ago
Timothy Pearson 7e397d203c Fix DCOP standard TQt object marshaling
This partially resolves Bug 1510
12 years ago
Timothy Pearson 4891e4bc15 Trivial log cleanup
This closes Bug 1201
Thanks to Darrell Anderson for the patch!
12 years ago
Timothy Pearson 8bd62a3b0d Rename common header files for consistency with class renaming 12 years ago
Timothy Pearson d1e0cc99a2 Rename many classes and header files to avoid conflicts with KDE4 12 years ago
Timothy Pearson deac2ca49f Rename a number of classes to enhance compatibility with KDE4 12 years ago
Timothy Pearson 5159cd2beb Rename a number of libraries and executables to avoid conflicts with KDE4 12 years ago