Commit Graph

574 Commits (8eb500c4e81229a9853e2f9bac4f39450083f3d7)

Author SHA1 Message Date
Michele Calgaro 32566accda tdehw: avoid crashing kded when using udisks/udisks2 to operate on
drives that contain dashes. This relates to issue #32.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Michele Calgaro 09835dceb7
tdehw: improved code for mount table.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Michele Calgaro 7fcf24fa4e
Extended kcharset API with new utility function.
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
Michele Calgaro 080948356f
Adapted to latest dbus-1-tqt version (TQT_DBusObjectPath inheriting from TQString).
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Michele Calgaro 536cfddc84
Use new function TQT_DBusData::getAsVariantData() instead of local
version of it.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Slávek Banko dadafca880
Fixed moc inclusion after last changes in dbus-1-tqt.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Michele Calgaro 0e7f9b8db1
Added timestamp to debug backend (kdDebug, kdWarning, ...).
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
Slávek Banko dfe3c9649f
tdehwlib: Fix the flag setting whether the storage device contains the file system.
This resolves bug 2232, bug 2607 and bug 2946.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
6 years ago
Slávek Banko 8a859540c3
Use system libdir when searching for dynamically loaded libraries.
This prevents finding an incorrect architecture on multi-arch systems.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
6 years ago
Michele Calgaro c49ee53043
Fixed support for logind power state calls.
This resolves bug 2661 and bug 2975.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Michele Calgaro 75d48a810c
Conversion exitkde -> exittde in knotify.evertsrc file. This relates to
bug 2283.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
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 8d07cff840
qt -> tqt conversion:
kdeqt -> kdetqt
qtkde -> tqtkde
qtdesigner -> tqtdesigner

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Michele Calgaro 89389861b3
qt -> tqt conversion:
QT_NO_ASCII_CAST -> TQT_NO_ASCII_CAST
QT_NO_STL -> TQT_NO_STL
QT_NO_COMPAT -> TQT_NO_COMPAT
QT_NO_TRANSLATION -> TQT_NO_TRANSLATION

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 aa83c86cd3 Fix bug reports link in about dialog
Update bug reports url to bugs.trinitydesktop.org
This resolves bug 2935

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
7 years ago
Michele Calgaro 706098c452 Fixed FTBFS caused by libcryptsetup 2.0
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
7 years ago
Slávek Banko a14adb9ab9 Add search for utempter helper
This resolves Bug 2841

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
7 years ago
Slávek Banko 051acc7df5 Fix crash in tdehwlib if /sys/devices/system/cpu/cpu* is not accessible
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
8 years ago
Roman Savochenko 4dd179aaa3 Add brightness keys support
This relates to bug 2781

Signed-off-by: Roman Savochenko <rom_as@oscada.org>
8 years ago
Slávek Banko 68d315af10 tdecore/tdeconfig_compiler: Always use tqt names of objects in the generated files
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
8 years ago
Slávek Banko e0fd34a1bd tdehwlib: Use TDENetworkDevice in TDENetworkConnectionManager instead of MAC address
Use interface name in TDENetworkConnectionManager_BackendNM instead of MAC address
This relates to bug 2748

The name of the network interface seems to be a more stable identifier than the MAC
address because the MAC address can be changed easily or even automatically - see
randomization of MAC addresses on wireless interfaces. Therefore, the use of the
MAC address as a network interface identifier was abandoned.

Beware, this change is an API / ABI change! However, most changes are internal
and the only one affected is application TDENetworkManager.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
8 years ago
Slávek Banko eb6f8213d4 tdehwlib: Add a rule for classifying parport device
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
8 years ago
Slávek Banko cc4f1996df tdehwlib: Add a rule for classifying remote control devices
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
8 years ago
Slávek Banko d1280c31d9 tdehwlib: Allow to gather connection information on virtual net devices
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
8 years ago
Slávek Banko a73511a98d tdehwlib: Allow to classify virtual devices by subsystem
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
8 years ago
Slávek Banko d2b61ae9da Fix memory leak after processing udev_monitor
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
8 years ago
Slávek Banko 1a5bc0e4ff Fix memory leak after processing udev_device
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
8 years ago
Slávek Banko ab525f2baa Fix memory leak after use XGetAtomName
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
8 years ago
Alexander Golubev d556a8752c fixup! tdecore/tdeconfig_compiler: add check/test executables
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
8 years ago
Alexander Golubev 57e73e9e4c tdecore/tdeconfig_compiler: add check/test executables
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
8 years ago
Alexander Golubev 7e73e618d0 testing: add TEST argument to tde_add_check_executable() macro
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
8 years ago
Alexander Golubev 5842fb37df tdecore: fix a crash of dcop non-GUI apps without X
Previously non-GUI apps crashed on TDEApplication::updateUserTimestamp
callback when receiving a DCOP message.

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 0c64a776dd Initial add for check target for cmake
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
8 years ago
Timothy Pearson 30c008d551 Probe partitions to get filesystem type
This fixes problems with LUKS partitions not being detected
9 years ago
Timothy Pearson b18bff9ad8 Properly classify Lenovo USB camera platform subdevices 9 years ago
Timothy Pearson 125cf0a7f2 Make cryptographic card reader detection on single readers sytems more robust 9 years ago
Timothy Pearson 2872549499 Add fallback to match udev cryptographic card reader name with PCSC vendor strings 9 years ago
Timothy Pearson d82b64cbbd Add IBM VIO device 9 years ago
Timothy Pearson d15fe834b1 Add nvmem device type 9 years ago
Michele Calgaro c7171b93f4 tdecore: Fixed hybrid suspend (aka suspend to RAM + suspend to disk) support using HAL.
org.freedesktop.Hal.Device.SystemPowerManagement/SuspendHybrid requires a parameter when invoked.
This relates to bug 2601.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
9 years ago
Michele Calgaro 92394e2850 tdecore: Improved code for hybrid suspend (aka suspend to RAM + suspend to disk).
Now code is more consistent. This relates to bug 2601.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
9 years ago
Michele Calgaro a29712773b tdecore: complete previous commit, one file was forgotten by mistake.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
9 years ago
Michele Calgaro ba3ed714c6 tdecore: Added DBus support for hybrid suspend (aka suspend to RAM + suspend to disk).
This relates to bug 2601.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
9 years ago
Michele Calgaro 3b095cf3cd tdecore: Initial support for hybrid suspend (aka suspend to RAM + suspend to disk).
Update to dbus interface and hardware device manager will be commit separately.
This relates to bug 2601.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
9 years ago
Slávek Banko 36481f68c1 Fix crash in tdehwlib on partitions without parent disk
This applies for example to the software RAID defined in the BIOS

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
9 years ago
Slávek Banko ff469a69ff Fix mountable flag for disk partitions
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
9 years ago
Slávek Banko 613eadbbc3 Add a rule for classifying ATA Compact Flash Adapter
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
9 years ago
Slávek Banko ef7180dad9 Fix icon of mounted camera in tdehwlib
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
9 years ago
Slávek Banko 5104679806 Set partition disk type and status based on the parent device
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
9 years ago
Slávek Banko f8fbb3bd78 Set hotpluggable flag for flash disks instead of removable
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
9 years ago
Slávek Banko dc350e6c64 Force removable flag for flask disks in tdehwlib
This resolves Bug 2473

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
9 years ago
Slávek Banko f4fb3a8e71 Fix crash in tdehwlib if not exists /sys/devices/system/cpu
This resolves Bug 2584

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
9 years ago
Slávek Banko 6dfc04c51a Fix ZIP drive classification in tdehwlib
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
9 years ago
Slávek Banko 6a2a9de49c Classify flash drives as HDD in tdehwlib
This relates to Bug 2473

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
9 years ago
Slávek Banko ece75495e1 Add support for udevil to mount/unmount removable drives
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
9 years ago
Slávek Banko c10124c965 Fix using of custom mountpoints with pmount in tdehwlib
This partially resolves Bug 2576

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
9 years ago
Slávek Banko 893ac9fad0 Prefer encoded disk labels in tdehwlib
because it contains unadjusted disk labels

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
9 years ago
Slávek Banko ba2a3bc188 Add floppy into disk type clasification in tdehwlib
This resolves Bug 2567

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
9 years ago
Slávek Banko 68102d50e9 Fix disk type clasification in tdehwlib
This resolves Bug 2473

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
9 years ago
Slávek Banko 075cf11458 Fix calculation of remaining charging time in TDE hardware library
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
9 years ago
Slávek Banko 912e4866ef Fix quotedPrintablecodec to support lower-case letters in hex codes
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
9 years ago
Slávek Banko 51a6bc1a56 Fix FTBFS due to missing KSSL_HAVE_SSL definition
This relates to Bug 2530

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
9 years ago
Timothy Pearson fd0de2b581 Fix hardware class file matching algorithm
Fix overly broad floppy device matching rules
This resolves Bug 2534
10 years ago
Timothy Pearson 6a0fb5c342 Add new timekeeping class to tdehwlib
Classify a number of new devices
10 years ago
Timothy Pearson feaced1b3c Add mount indicator to tdehwlib storage device icons 10 years ago
Timothy Pearson 6e6464537c Fix prior commits 10 years ago
Timothy Pearson 4e04b0a438 Fix prior commit 10 years ago
Timothy Pearson 85c0e479c1 Add GPL v3 license to TDEAboutData options 10 years ago
Timothy Pearson c0cca8ca95 Add fingerprint reader and test/measurement devices classes to tdehwlib 10 years ago
Timothy Pearson d4b7e6e7da Fix FTBFS when cryptsetup / pkcs options are disabled
This resolves Bug 2530
10 years ago
Timothy Pearson a17dfea5e7 Implement autoPIN certificate parsing 10 years ago
Timothy Pearson fa4e775460 Add autoPIN method to cryptographic card module in tdehwlib 10 years ago
Timothy Pearson 991dd06fc6 Add PKCS provider library accessor 10 years ago
Timothy Pearson b839144412 Fix yet another FTBFS due to libcryptsetup version problems 10 years ago
Timothy Pearson e38596f9f2 When reactivating card watching, if a card is inserted re-emit valid certificates to client application 10 years ago
Timothy Pearson 3c9e39e214 Fix prior commit 10 years ago
Timothy Pearson 670a4b340e Add certificate list availability signal to tdehwlib cryptographic card module 10 years ago
Timothy Pearson a611eec8a0 Update cryptographic card API to send card device with insert/remove signals 10 years ago
Timothy Pearson 64fdd666ff Add ability to decrypt multiple data objects in the same session using a cryptographic card
Add LUKS key verification routine
10 years ago
Timothy Pearson 402781f094 Add cryptographic card decryption method to tdehwlib 10 years ago
Timothy Pearson ffa54887ce Add additional cryptographic card functions to tdehwlib
Fix FTBFS on old distributions
10 years ago
Timothy Pearson 4238dc9cea Fix FTBFS when ancient versions of cryptsetup are used 10 years ago
Timothy Pearson 48efde854f Fix FTBFS when PKCS option disabled 10 years ago
Timothy Pearson 897752b61a Fix FTBFS when cryptsetup support disabled 10 years ago
Timothy Pearson 9d5f5058a1 Fix issues with X509 certificate list usage 10 years ago
Timothy Pearson c867c64aa9 Add initial LUKS key management support 10 years ago
Timothy Pearson 4c2ff1ca19 Add preliminary X509 certificate read from cryptographic cards 10 years ago
Timothy Pearson a6343654e8 Fix FTBFS when pcsc not available 10 years ago
Timothy Pearson 2b7151f46f Fix FTBFS from prior commit due to missing files 10 years ago
Timothy Pearson 31ebb6568f Add preliminary cryptographic card support to TDEHWLib 10 years ago
Timothy Pearson 5fdf839b35 Add cryptographic card device type
Add hub device type
Fix incorrect USB subclass read
10 years ago
Michele Calgaro ce9d4765cc Minor typo and style corrections.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
10 years ago
Nikolaus Klepp 022a297ed7 Fix FTBFS due to missing export lt_dlopen_flag
Signed-off-by: Nikolaus Klepp <office@klepp.biz>
10 years ago
Slávek Banko e469e42c76 Fix several issues on freebsd
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
10 years ago
Slávek Banko e443c9e0b2 Fix FTBFS on freebsd due to utmpx
[taken from FreeBSD kdelibs3 patches]

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
10 years ago
Slávek Banko a0189f32f7 Fix hang in TDENetMask::fromCIDRMask() due to point-to-point connections
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
10 years ago
Slávek Banko c6c1d781a5 Force to handle DCOP requests in KUniqueApplication (newInstance call)
This resolves Bug 2437

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
10 years ago
Timothy Pearson 669345d6b8 Classify memstick_host devices 10 years ago
Timothy Pearson 3e23bfa58d Bring keyboard icon into XDG compliance 10 years ago
Timothy Pearson 61f6eb5a1e Bring printer1 icon into XDG compliance 10 years ago
Timothy Pearson 891dbd6b98 Bring mouse icon into XDG compliance 10 years ago
Timothy Pearson 86686421b5 Rename most device icons to comply with XDG standards 10 years ago
Michele Calgaro 840c1c2217 Updated version numbers for R14.1 branch 10 years ago
Timothy Pearson 145948b3a0 Update version numbers for R14 final release 10 years ago
Timothy Pearson 066f3174aa Fix detection of laptop AC adapters 10 years ago
Timothy Pearson 08d4e3062c Do not flag disk devices/partitions as mountable if a partition table is present under the given device/partition
This relates to Bug 2232
10 years ago
Timothy Pearson e0b1bfb014 Fix a number of build warnings 10 years ago
Timothy Pearson bbd5f4476c Remove unneeded check and handler for broken TQt DnD
Application of patch 0037-dnd-timestamp-fix.patch to TQt3 verified before removal
10 years ago
Timothy Pearson 7b66a28f37 Add Hidden storage device attribute
This relates to Bug 2211
10 years ago
Timothy Pearson 3b57fe6816 Fix hardware control center crashes on device hot remove
Fix incorrect decoding of hex escaped device names
10 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
Timothy Pearson 540db0b3e7 Add very early support for compressed PPDs to make_driver_db_cups
This relates to Bug 2191
10 years ago
Timothy Pearson b03b9b071f Write composition manager available file to tmp
This relates to Bug 887
10 years ago
Timothy Pearson 6c097e6ff1 Read from X-DocPath only 10 years ago
Timothy Pearson 2cd1515186 Bring most mimetypes in line with XDG specifications. The following are not fully verified in source as of this commit due to ubiquity: html, empty, info, make, man, misc, source, unknown 10 years ago
Timothy Pearson 7446b7fa1b Add missing categories group to crystalsvg theme file 10 years ago
Timothy Pearson e1ff3591ff Bring package_development, package_games, package_graphics, package_network, package_multimedia, package_wordprocessing, edu_science, package_utilities, input_devices_settings, kcmsystem, personal, and looknfeel icons into XDG compliance 10 years ago
Timothy Pearson bab4f22f92 Bring filenew, fileopen, fileprint, filequickprint, filesave, filesaveas, fileclose, editclear, editcopy, editcut, editdelete, editpaste, folder_new, and gohome icons into XDG compliance 10 years ago
Timothy Pearson fee189b236 Bring camera icons into XDG compliance 11 years ago
François Andriot 84e3f9e06b Allow conditional build of tdehwlib 11 years ago
Timothy Pearson a3e63055fb Allow suspend/hibernate/freeze/etc. when $HOME is an NFS share
This resolves Bug 1623
11 years ago
Timothy Pearson 03518d6339 Merge branch 'master' of https://scm.trinitydesktop.org/scm/git/tdelibs 11 years ago
Timothy Pearson 7cd4adc908 Add proper refcounting option to TDEMainWindow
This relates to the discussion at:
http://lists.kde.org/?l=kde-core-devel&m=107208785431497&w=2
Clean up a few minor code formatting issues
11 years ago
François Andriot 8e7888b857 Fix FTBFS on openbsd because missing link to "util" library 11 years ago
François Andriot 8f3cf10d98 Fix FTBFS because Linux specific include in tdeapplication.cpp 11 years ago
François Andriot 439f3ba7ea Add support for openbsd in kresolver 11 years ago
François Andriot e61585edf0 Add support for openbsd pty in kpty 11 years ago
Timothy Pearson 379f344bb3 Modify bindAndListen to allow suppression of warnings when bind failures are expected as part of normal operation
This relates to Bug 1988
11 years ago
Timothy Pearson 2c850d93a7 Fix potential crash if CPU #0 is not available 11 years ago
Timothy Pearson 54578ce023 Add mimeTypePtrFast method to KFileItem
This relates to Bug 699
Clean up a couple of minor build warnings
Classify usbmisc devices
11 years ago
Michele Calgaro 2d5d779de9 Fixed tdebase FTBFS caused by commit 427ebd3 when compiling with NDEBUG.
Commit 427ebd3 remove the definition of NDEBUG if kdebug.h is included in the
compilation process. If such file is incluced in a .cpp file and not in the
corresponding .h file, FTBFS happens due to different class interface between the
class declaration and class definition.
11 years ago
Timothy Pearson 080749068b Fix accidental i18n breakage 11 years ago
Timothy Pearson 41d5228071 Fix prior commit 11 years ago
Timothy Pearson 427ebd3a97 Rename kde.pot to tde.pot
This relates to Bug 1910
11 years ago
Timothy Pearson 8c0d2c2919 Classify regulator devices 11 years ago
Timothy Pearson 20e7ea1336 Fix another case of undefined behaviour 11 years ago
Timothy Pearson 6b07d53d94 Update hardware device classification map
Fix potential infinite loop in TDEStyle
11 years ago
Timothy Pearson bd7dd86450 Fix incorrect sizes being reported on raid devices 11 years ago
Timothy Pearson 3d06098ece Add a few unclassified devices to the TDE HW manager database 11 years ago
François Andriot 4ca479102d Added support for XDG directories: music, pictures, videos, download.
This relates to bug 1499.
11 years ago
Slávek Banko 2c730f70a6 Optimize watching switches on input event devices
This relates to Bugs 1992 and 2052
11 years ago
Francois Andriot 1afbea2c25 Small bug fix
This relates to Bug 1992
11 years ago
Francois Andriot 3c9d481f7f Greatly improve tdehwlib polling performance
This relates to Bug 1992
11 years ago
Timothy Pearson 142e058e79 Add detailedFriendlyName methods to the TDE hardware manager
This breaks the ABI and relates to Bug 1666
11 years ago