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
Slávek Banko
ef23612c56
Enable the use of dcopidlng during build tdelibs.
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
5 years ago
Michele Calgaro
d78af7ef55
Minor code refactoring of previous 2 commits.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
5 years ago
Slávek Banko
444839e053
tdehwlib: Re-enable OpenSSL < 1.1 compatibility
...
in tdecryptographiccarddevice.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
5 years ago
Timothy Pearson
3f6bef6371
Update for OpenSSL >= 1.1.0
...
Signed-off-by: Timothy Pearson <kb9vqf@pearsoncomputing.net>
5 years ago
TDE Gitea
9931a73e96
Reset submodule main/tdelibs/cmake to latest HEAD
5 years ago
Slávek Banko
aa244c3700
Fix typo in the SSL library check rules.
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
5 years ago
TDE Gitea
1760d33a00
Reset submodule main/tdelibs/cmake to latest HEAD
5 years ago
Michele Calgaro
92ebbebcfb
Further cleanup after removal of Qt2's TQListIterator class.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
5 years ago
Michele Calgaro
12602af928
Adjusted to TQPtrStack class. This is a minor change.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
5 years ago
Slávek Banko
dc699b4fd4
Check existing XDG folders before localization of the name.
...
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>
5 years ago
TDE Gitea
f99071ea6d
Reset submodule main/tdelibs/cmake to latest HEAD
5 years ago
Michele Calgaro
69c2d469b8
KJobViewer: make sure the printer lists is correctly updated when printers are added or removed. This relates to bug 1362.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
5 years ago
TDE Gitea
66d5e21568
Reset submodule main/tdelibs/cmake to latest HEAD
5 years ago
TDE Gitea
a052de26d8
Reset submodule main/tdelibs/cmake to latest HEAD
5 years ago
TDE Gitea
a65381aed8
Reset submodule main/tdelibs/cmake to latest HEAD
5 years ago
Michele Calgaro
8ea3d4dd87
Fixed unresponsive behavior of the shortcut setting dialog in recent
...
ditros. This resolves bug 2955.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
5 years ago
Michele Calgaro
a57ae64c11
kjobviewer: fixed initial value of KeepWindow checkbox. This was causing KJobViewer to not autostart unless the user first toggled the checkbox at least once. Relates to bug 1362.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
5 years ago
TDE Gitea
d2e09a4d2d
Reset submodule main/tdelibs/cmake to latest HEAD
5 years ago
Slávek Banko
c64685ad8d
Enable storing ELF metadata in a standard way using a common cmake module
...
for all libraries and binaries.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
5 years ago
TDE Gitea
b9ff2396ea
Reset submodule main/tdelibs/cmake to latest HEAD
5 years ago
Michele Calgaro
9cd27dbaa3
Fixed tde branding of services in tdebuildsycoca. This was creating old
...
kde-* entries in profilerc when updating file type preferences. This
relates to bug 3083.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
5 years ago
Slávek Banko
55b56c2e50
The date for updating the release information in docbook
...
entities is converted exclusively by cmake code instead
of calling the "date" binary because it may have
different options on different systems.
If the file modification date is to be determined,
GNU find is necessary.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
5 years ago
TDE Gitea
f75b63ab4e
Reset submodule main/tdelibs/cmake to latest HEAD
5 years ago
Slávek Banko
799489de17
Use the source package date or the source git repository date
...
instead of the current build date. The use of a stable date
is necessary to achieve reproducible builds.
Updating release information in docbook entities is done
directly in CMake rules. Entities will no longer be
duplicated during repeated updates.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
5 years ago
Michele Calgaro
922e81bf45
Removed unnecessary comment.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
5 years ago
Slávek Banko
8bfa123fb6
tdehwlib: Add a read of the current switch state before invoking
...
a switchChanged() signal for an EV_SW input event.
This resolves the detection of closing the lid on some hardware.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
5 years ago
Slávek Banko
f68fadda81
tdehwlib: Add event device classification according to the provided switches.
...
This will resolve event device detection on special hardware, for example,
the LID switch on Pinebook Pro.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
5 years ago
Michele Calgaro
3192a72a46
Prevent tdenetworkmanager from crashing when using unmanaged devices.
...
This relates to bug 2929.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
5 years ago
Michele Calgaro
30606e55f1
Remove remaining 'register' instructions.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
5 years ago
Slávek Banko
c088fbf55b
tdehwlib: Unify units of battery values.
...
The values from energy_* and power_now are converted
from mWh and mW to Ah and A, so that the units are
equal to values from charge_* and current_now.
This resolves issue #68 .
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
5 years ago
Michele Calgaro
8b8f5064f7
Security: remove support for $(...) in KRun which could have allowed
...
execution of malicious code. This is similar to issue #45 for .desktop
files.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
5 years ago
gregory guy
d77acb6ca5
Add a sub-menu "Logic Games" in Games.
...
This relates to bug 2882.
Signed-off-by: gregory guy <gregory-tde@laposte.net>
5 years ago
Michele Calgaro
b6953843f5
Added back build options for UDISKS2, UDISKS and UDEVIL as requested by
...
some users.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
5 years ago
Michele Calgaro
94515be234
Removed kerry related code.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
5 years ago
Michele Calgaro
e5256a1bd6
Removed beagle related code.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
5 years ago
Slávek Banko
7f7f7322f9
tdehwlib: Add allowed access for plugdev group members.
...
This is useful if the system no longer supports policy at_console.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
5 years ago
Slávek Banko
017a50624b
Improve folder icons on the speedbar.
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
5 years ago
Michele Calgaro
9dc23edee3
KJobviewer: keep "permanent window" option across sessions.
...
Taken from https://bugs.trinitydesktop.org/show_bug.cgi?id=1362 proposed
patch.
Signed-off-by: Roman Savochenko <roman@roman.home>
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
f29aa92d38
Fix private API compatibility in TDEGlobalSettings.
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
5 years ago
Michele Calgaro
de79e754fa
Make sure XDG folders are created prior to their usage.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
5 years ago
Michele Calgaro
394c9f5c0e
Improved support for XDG folders without requiring xdg-user-dirs to be installed.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
5 years ago
Slávek Banko
ecd1e4bd40
tdehwlib: Adjusted parsing of battery information
...
+ Added reading of estimated time to fully charged battery
(time_to_full_now)
The remaining time is calculated if the value is not provided
in the battery information.
If the battery does not provide charging current information,
the estimated time to charge the battery cannot be calculated.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
5 years ago
Matías Fonzo
c2adce2e13
Redirect some headers noticed by the compiler
...
/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>
5 years ago
Matías Fonzo
8d74c9c44f
Added missing headers for tdeinit/start_tdeinit.c
...
Error found when compiling against GCC9+Musl:
Scanning dependencies of target start_tdeinit
[ 51%] Building C object tdeinit/CMakeFiles/start_tdeinit.dir/start_tdeinit.c.o
/usr/src/qi/build/tdelibs-trinity-14.0.7/tdeinit/start_tdeinit.c: In function ‘set_protection’:
/usr/src/qi/build/tdelibs-trinity-14.0.7/tdeinit/start_tdeinit.c:47:16: error: storage size of ‘st’ isn’t known
47 | struct stat st;
| ^~
/usr/src/qi/build/tdelibs-trinity-14.0.7/tdeinit/start_tdeinit.c:51:9: warning: implicit declaration of function ‘lstat’ [-Wimplicit-function-declaration]
51 | if ( lstat (buf, &st) == 0) {
| ^~~~~
make[2]: *** [tdeinit/CMakeFiles/start_tdeinit.dir/build.make:63: tdeinit/CMakeFiles/start_tdeinit.dir/start_tdeinit.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:10421: tdeinit/CMakeFiles/start_tdeinit.dir/all] Error 2
make: *** [Makefile:141: all] Error 2
Signed-off-by: Matías Fonzo <selk@dragora.org>
5 years ago
Matías Fonzo
8ae17a5d9d
Use the correct macros isnan, isinf for libc compatibility
...
Changes related to this commit:
- Clean up #if mess.
- Use unconditionally the correct macros isnan, isinf.
- Remove redudant macros from the build system.
Signed-off-by: Matías Fonzo <selk@dragora.org>
5 years ago
Matías Fonzo
aa9b9581a9
Fix LibreSSL detection at tdeio/kssl/
...
Signed-off-by: Matías Fonzo <selk@dragora.org>
5 years ago
Slávek Banko
281e2da7f1
Fix building with avahi support
...
+ Avahi detection was not performed at all
+ Added missing avahi-client detection
+ Fixed FTBFS in avahi related code
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
5 years ago
Michele Calgaro
aca6b3d424
Added support for XDG_PICTURES_DIR and XDG_TEMPLATES_DIR in TDE global settings.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
5 years ago