Commit Graph

61 Commits (a760303dd89199beb31f1df9a8f99c4eb989957b)

Author SHA1 Message Date
OBATA Akio e8860ba1a7
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>
(cherry picked from commit ad41084b8d)
3 years ago
Slávek Banko a18e805939
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>
(cherry picked from commit 81d495430d)
3 years ago
Slávek Banko efae38628b
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>
(cherry picked from commit 19f44e5ff3)
4 years ago
OBATA Akio 35bff96a9c
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>
(cherry picked from commit ac8c8ca54a)
4 years ago
OBATA Akio f250423e9d
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>
(cherry picked from commit 56c5973b6b)
4 years ago
OBATA Akio e83b6fdca0
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>
(cherry picked from commit 7827038ab4)
4 years ago
Slávek Banko 345f44fb93
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>
(cherry picked from commit 234c903a9b)
4 years ago
Slávek Banko bb46328fb4
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>
(cherry picked from commit 49614d38c9)
4 years ago
Michele Calgaro 188e2b9e2d
Remove remaining 'register' instructions.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 30606e55f1)
4 years ago
Michele Calgaro 05dbf5c0b1
Removed explicit usage of the 'register' keyword.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit aa98dbfe80)
4 years ago
Slávek Banko 927c64cc6e
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>
(cherry picked from commit 38b2b0be78)
5 years ago
Slávek Banko c527d5931f
cmake: Avoid double generating of dcop/tests files.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 83d02c95a1)
5 years ago
Slávek Banko db60dede7d
Fix CMake build dependencies for tests.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 8fc2a6ca26)
6 years ago
Slávek Banko 88291f7e7f Fix CMake build dependencies
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 1cc26703c3)
8 years ago
Slávek Banko da37928707 testing: Run tests that use DCOP in a temporary home
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit df203a23f4)
8 years ago
Slávek Banko 3c559266a6 testing: fix bash specific syntax in dcop test
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 30d5bd4d72)
8 years ago
Alexander Golubev 30c0e86109 dcop/tests: run dcop tests in a safer manner
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
(cherry picked from commit f2d8e88f09)
8 years ago
Alexander Golubev b1a20aabbe Include module into test names
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
(cherry picked from commit 6c1b8a75f2)
8 years ago
Alexander Golubev 6cab453afd Make dcop tests run without X
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
(cherry picked from commit 7f6c0b1c7d)
8 years ago
Alexander Golubev 26522796ee Fix a couple of harmless warnings
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
(cherry picked from commit e0b892796d)
8 years ago
Alexander Golubev f96187e5d8 Add dcop tests to cmake
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
(cherry picked from commit 26d76a4c04)
8 years ago
François Andriot a6ec8c20eb Fix invalid perl syntax in kdocAstUtil.pm
This resolves Bug 2543

Signed-off-by: François Andriot <francois.andriot@free.fr>
(cherry picked from commit 7be2f6784d)
9 years ago
François Andriot b04a282c62 Fix ucred support in openbsd
(cherry picked from commit 3adf509ac8)
9 years ago
Darrell Anderson 5449264ff4 Remove line breaks from stdout/stderr messages to improve readability.
(cherry picked from commit e4f16abb29)
9 years ago
Timothy Pearson 83803589ba Fix DCOP standard TQt object marshaling
This partially resolves Bug 1510
(cherry picked from commit 7e397d203c)
12 years ago
Timothy Pearson a96da2c3fe Trivial log cleanup
This closes Bug 1201
Thanks to Darrell Anderson for the patch!
(cherry picked from commit 4891e4bc15)
12 years ago
Darrell Anderson 0e50dbcabd Add source code module name to stdout/stderr message to improve readability.
(cherry picked from commit 070bc678cc)
12 years ago
Darrell Anderson a715e3607b Add source code module name [KDE-ICE error] to stdout/stderr messages to improve readability.
(cherry picked from commit 018767abe9)
12 years ago
Darrell Anderson bf45555032 Add source code module name to stdout/stderr messages to improve readability.
(cherry picked from commit c1b7fc8e57)
12 years ago
Darrell Anderson e9696710fd Add source code module name to stdout/stderr messages to improve readability.
(cherry picked from commit e15521d96b)
12 years ago
Darrell Anderson bcd4f52251 Fix inadvertent tqt changes.
(cherry picked from commit 5d9a593c1f)
12 years ago
Darrell Anderson d4b3280480 Fix typos.
(cherry picked from commit 0d043b41b4)
13 years ago
Darrell Anderson e7495712f7 GCC 4.7 fix needed to build tdebase.
This partially resolves bug report 958.
Thanks to Francois Andriot.
(cherry picked from commit 7d40df8740)
13 years ago
Timothy Pearson ffd8d17b0b Rename obsolete tq methods to standard names
(cherry picked from commit 1180237ab3)
13 years ago
Timothy Pearson 41b1d53a01 Remove additional unneeded tq method conversions
(cherry picked from commit a51cd9949c)
13 years ago
Timothy Pearson e2867c1f1e Rename old tq methods that no longer need a unique name
(cherry picked from commit 984c25aa69)
13 years ago
Timothy Pearson a9c64e7a80 Attempt to force dcopidl to accept the TQ_OBJECT macro
(cherry picked from commit aa492f2e08)
13 years ago
tpearson 80f78d20c3 Link most Trinity DSOs against the most common kdelibs libraries to compensate for linking changes in modern distributions such as Ubuntu Oneiric
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1258263 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
14 years ago
tpearson 95aea7e940 Disable DCOP logging to prevent logfile pollution
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1250812 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
14 years ago
tpearson 6e21bc798b rename the following methods:
tqfind find
tqreplace replace
tqcontains contains


git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
14 years ago
tpearson 374d939d8a Allow kdelibs to function correctly with TQt for Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1220926 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
14 years ago
samelian f9279733bf [kdelibs/dcop] link libX11 to dcopquit
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1220752 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
14 years ago
samelian b89a6a0270 [kdelibs/dcop] link libX11 to dcop
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1220747 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
14 years ago
tpearson 946bde4a62 Patch a few buffer overrun problems and odd crash potentials
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1217371 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
14 years ago
tpearson 96a33d9068 Additional TQt for Qt4 compilation fixes
This should not affect TQt for Qt3 per usual


git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1215674 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
14 years ago
tpearson f7e71d4771 Initial conversion for TQt for Qt4 3.4.0 TP2
This will also compile with TQt for Qt3, and should not cause any problems
with dependent modules such as kdebase.  If it does then it needs to be fixed!


git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1214149 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
14 years ago
samelian 0ba4e3c0a4 [kdelibs] move "-include tqt.h" directive to CMAKE_CXX_FLAGS; move TQT_CFLAGS_OTHER definitions to main CMakeLists.txt; remove useless defintions
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1213800 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
14 years ago
tpearson 10308be19e Revert automated changes
Sorry guys, they are just not ready for prime time
Work will continue as always


git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1212479 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
14 years ago
tpearson 560378aaca Automated conversion for enhanced compatibility with TQt for Qt4 3.4.0 TP1
NOTE: This will not compile with Qt4 (yet), however it does compile with Qt3


git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1211081 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
14 years ago
samelian c985853288 [kdelibs] install cmake import modules (for imported targets support)
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1190536 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
15 years ago