Commit Graph

247 Commits (dd57fbdc35151e6305bafc8705950370210b49b4)

Author SHA1 Message Date
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 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 a3b86c2690 Fix security issue CVE-2017-6410
[taken from RedHat kdelibs patches]

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
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 c18840c76f Fix previous commit typo.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
7 years ago
Michele Calgaro bcdfbb95e9 Fixed service lookup in KOpenWithDlg. Default is now to lookup by
desktop path and not by name, to avoid returning the wrong service when
two or more .desktop files where using the same "Name" field.
This resolves bug 2734 (together with the changes made in applications/kcmautostart)

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
7 years ago
Slávek Banko 45cf7d13eb KSSL: Set hostname in TLSext to enable SNI support
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
8 years ago
Slávek Banko adb9d9d2b0 KSSL: Use TLS_client_method instead of TLSv1_client_method
This enables TLS protocols newer than v1.0
This resolves bug 2764

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
8 years ago
Michele Calgaro 05bcfa76fc Fixed code for tdefiledialog which caused the problem explained in bug
2743. Using the new code, editing the path information in a
tdefiledialog and pressing the "open/save" button will behave exactly in
the same way as if ENTER was pressed after editing the path and before
pressing "open/save".

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
8 years ago
Michele Calgaro 00051ff7dd Reverted commit 53e36f6d (master), c8ff908d (r14.0.x)
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
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 4d3d8d8653 testing: run tdeio/kmimetypetest with temporary profile
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
8 years ago
Alexander Golubev ed74769bfa tdeio: add tests
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
8 years ago
Alexander Golubev f54496a1f2 tdeio/kmimemagic: remove MAGIC_CONTINUE flag
This resolves bug 2713

The MAGIC_CONTINUE flag resulted in a malformed mimemagic responses
like "application/x-executable\012- application/octet-stream"
instead of just "application/x-executable".

This string being unparsed then caused the KMimeType::findByURL() to
fallback to application/octet-stream for nearly every mimetype.

Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
8 years ago
Slávek Banko e1861cb681 Added support for OpenSSL 1.1
Some KOpenSSLProxy methods have been renamed to be consistent
with OpenSSL 1.1 API names and to prevent hidden API changes.
To ensure API / ABI compatibility, the original methods are
still included but have been marked as deprecated.

+ SSLv23_client_method => TLS_client_method
+ X509_STORE_CTX_set_chain => X509_STORE_CTX_set0_untrusted
+ sk_dup => OPENSSL_sk_dup
+ sk_free => OPENSSL_sk_free
+ sk_new => OPENSSL_sk_new
+ sk_num => OPENSSL_sk_num
+ sk_pop => OPENSSL_sk_pop
+ sk_push => OPENSSL_sk_push
+ sk_value => OPENSSL_sk_value

Additional methods have been added to KOpenSSLProxy to support
the new OpenSSL 1.1 API functions that provide access to the
(now) opaque SSL structures. Compatibility with OpenSSL < 1.1
is handled internally in KOpenSSLProxy.

+ BIO_get_data
+ DSA_get0_key
+ DSA_get0_pqg
+ EVP_PKEY_base_id
+ EVP_PKEY_get0_DSA
+ EVP_PKEY_get0_RSA
+ RSA_get0_key
+ X509_CRL_get0_lastUpdate
+ X509_CRL_get0_nextUpdate
+ X509_OBJECT_get0_X509
+ X509_OBJECT_get_type
+ X509_STORE_CTX_get_current_cert
+ X509_STORE_CTX_get_error
+ X509_STORE_CTX_get_error_depth
+ X509_STORE_CTX_set_error
+ X509_STORE_get0_objects
+ X509_STORE_set_verify_cb
+ X509_get0_signature
+ X509_getm_notAfter
+ X509_getm_notBefore
+ X509_subject_name_cmp
+ _SSL_session_reused
+ _SSL_set_options

Method "KSSL::setSession" has been renamed to "KSSL::takeSession"
and its functionality has changed: the session is now transferred
from the argument object to the invoked object. Since it is only
used internally in TDE and the functionality is different, the
method with the previous name has not been preserved.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
8 years ago
Slávek Banko 261a3b7a12 Fix security issue CVE-2016-6232
Based on https://quickgit.kde.org/?p=karchive.git&a=commitdiff&h=0cb243f6

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
8 years ago
Emanoil Kotsev f3fadb884d tdeio: fixed up certificate handling when certificate has expired. Also clean
up the code.

Signed-off-by: Emanoil Kotsev <deloptes@gmail.com>
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
8 years ago
Emanoil Kotsev 7406ed0563 Fixed handling of certificate "permanent" acceptance. This relates to
bug 1287.
Signed-off-by: Emanoil Kotsev <deloptes@gmail.com>

Partially cleaned up and modified.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
8 years ago
Michele Calgaro 53e36f6db0 Fixed two issues with KFileDialog:
- if the user types a new path manually, the new location was not used. Instead the older path was taken.
  In case the typed path does not exists, an error message is displayed
- if the user selected a path from the autocompletion lists using the mouse, the new selected location was
  not used when slotOK was invoked.
This resolves bug 2654.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
9 years ago
Timothy Pearson 07dbb3b5c9 Parse GENERALIZEDTIME ASN structures
This fixes certificate dates beyond year 2049.
9 years ago
Timothy Pearson 7faae2b255 Fix invalid headers in PNG files and optimize for size 9 years ago
Slávek Banko 0b90885d90 Fix FTBFS due to non-existent include
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
9 years ago
Slávek Banko 491c2e4503 Remove warnings about missing embedded ELF icons
Add file name for which the issue occurs into debug message

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
9 years ago
Slávek Banko 026a0ccdcd Compile MIME magic file
This partially resolves Bug 2217

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
9 years ago
Slávek Banko 1540a5aade Revert a small portion of commit e0b1bfb0
This resolves Bug 2562

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
9 years ago
Slávek Banko b0ac7d2879 Fix mimetype detection using magic library
for mime types not contained in TDE settings
This resolves Bug 2392

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
9 years ago
Timothy Pearson 62a597d752 Fix crash on KSSLCertificate deallocation when a CRL is held in the KSSLCertificate object 9 years ago
Timothy Pearson 9bf244dd97 Fix memory leak when deleting a KSSLCertificate that holds a CRL 9 years ago
Timothy Pearson 5896a404bc Add initial CRL support to KSSLCertificate 10 years ago
Timothy Pearson 70bb9dde2a Fix compiler warnings from ignored write return values 10 years ago
Timothy Pearson c51a15f04a Fix unused variable compiler warnings 10 years ago
Timothy Pearson 5e9959ef85 Fix compiler warnings 10 years ago
Timothy Pearson 59e5235822 Fix compiler warning regarding missing braces 10 years ago
Nikolaus Klepp 3be9f300c9 Fix FTBFS on freebsd
This resolves Bug 2431

Signed-off-by: Nikolaus Klepp <office@klepp.biz>
10 years ago
Slávek Banko 6ebff39751 Improve ACL detection for CMake build
Fix hidden visibility in posixacladdons

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
10 years ago
Slávek Banko dfd680030c Add include directory for internal libltdl
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
10 years ago
Michele Calgaro a1f23c813a Fixed wrong DocPath strings. This relates to bug 2319
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
10 years ago
Timothy Pearson 6ddd04baca Properly identify desktop files
This resolves a rather major glitch with Device Links noted on the mailing list
10 years ago
Timothy Pearson e0b1bfb014 Fix a number of build warnings 10 years ago
Timothy Pearson 6c097e6ff1 Read from X-DocPath only 10 years ago
Timothy Pearson f12e618a17 Fix stragglers that were not properly renamed in the XDG standardization commits 10 years ago
Timothy Pearson 207e134713 Fix exec icon location and bring it into XDG compliance 10 years ago
Timothy Pearson 6111385e9a Fix remaining issues from mimetype icon rename 10 years ago
Timothy Pearson db7f8030fa Repair mimetype icon usage, part 1. The following are not fully verified in source as of this commit due to ubiquity: info, unknown 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 ce1138c8ba Bring mail_forward, mail_new, mail_replyall, mail_reply, mail_send, player_pause, player_play, player_stop, player_rew, player_fwd, player_start, player_end, rotate_ccw, rotate_cw, window_fullscreen, window_nofullscreen, window_new, viewmagfit, viewmag+, viewmag1, and viewmag- 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 acc29a93bb Fix incorrect Download string in TDEFileSpeedBar 10 years ago
Timothy Pearson ff57382179 Second part of prior commit 11 years ago
Timothy Pearson d46b1b9c64 Fix ServiceTypes, ExcludeServiceTypes, and DocPath desktop file entries to match XDG specifications 11 years ago
Timothy Pearson e95efe5790 Second part of prior commit 11 years ago
François Andriot 8f11758253 Fix FTBFS with libmagic < 4.23 11 years ago
Slávek Banko 03a61295af Fix FTBFS on missing magic_getpath 11 years ago
Timothy Pearson 58c3aed2bb Do not use magic_version function if magic version support not available
This relates to Bug 656
11 years ago
Timothy Pearson c359057caa Makes favorite URLs in TDE file open/save dialogs global (sared amongst all applications) by default
This commits the following patch from Bug 1499:
 tdelibs: fix kurlbar global
11 years ago
Timothy Pearson f8790c70f8 Fix certain shell scripts not being identified
This relates to Bug 656
Clean up some old development debug statements
11 years ago
Timothy Pearson 30c2b7e4bd Autodetect downloaded mime type and compare against category; if wallpaper downloads something other than image abort
This relates to Bug 2127
11 years ago
Timothy Pearson e5f898219a Fix libmime database load once and for all
This relates to Bug 656
11 years ago
Timothy Pearson 62bfcbe478 Fix loading of additional mime magic files
This resolves Bug 656
11 years ago
Timothy Pearson 9cb7d73182 Push the following patches to GIT from Bug 1499:
tdelibs: disable kfiledialogbox OK button if user has no permission on file
 tdelibs: fix https loop
 tdelibs: fix groups in kdialogpropertiesdialog
 tdelibs: avoid assertion in tdeio karchive
11 years ago
Thomas McGuire ddbe23e90d Support writing empty directories to ZIP files. 11 years ago
François Andriot 78a66b11dd Disable environment-based completion in kurlcompletion on openbsd 11 years ago
François Andriot 9c7a8637ed Fix FTBFS because undefined __progname in tdeio_connection 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
Timothy Pearson 8066e87c6c Use libmagic for mime type determination
This relates to Bug 656, Bug 661, and others
11 years ago
Timothy Pearson 6d268f3c55 Remove unused KMimeMagic::mergeBufConfig method in preparation for converting to libmagic
This relates to Bug 656
11 years ago
Timothy Pearson e1f2a0bb29 Fix accidental regression introduced in prior commit 11 years ago
Timothy Pearson a21cb20628 Add fast mimetype accessor for use by Konqueror when checking for media device icons
This relates to Bug 699
11 years ago
Slávek Banko c2c65a6695 Fix re-read configuration from prior commit 4bfc4550 11 years ago
Timothy Pearson 4bfc4550d2 Prevent spurious translation warning from being emitted
This relates to Bug 2076
11 years ago
Timothy Pearson e3db584672 Do not allow device link creation/modification if no device is specified
This relates to Bug 2076
11 years ago
Timothy Pearson 5a3c9e4641 Display correct icon and icon widget type in Properties dialog of media device nodes
This relates to Bug 1612
11 years ago
Slávek Banko 13d6174c92 Fix stale "localurl" jobs
This resolves Bug 1902
11 years ago
Michele Calgaro 29c4dd8212 Rebranding: TDE Control Center --> Trinity Control Center 11 years ago
Timothy Pearson fd930ef959 Partially revert commit 6f56182
This relates to Bug 1666
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
Timothy Pearson f348cf011d Export elf metadata extraction methods and header
Properly embed versioning information into major libraries
11 years ago
Francois Andriot 6f5618209f Fix stale tdeioslave spawned by kdirlister
This resolves Bug 1902
11 years ago
Darrell Anderson 333a2116d6 Branding cleanup. 11 years ago
Darrell Anderson f404fa7f95 Update *.protocol files in support of commit 50741cc5. 11 years ago
Michele Calgaro 6b4be5f2df Fix -tdehtml-* rename regression. This resolves bugs 1825 and 1692 11 years ago
Darrell Anderson 83e3902c17 Reorganize tdeioslave help handbooks, fix related protocol files and issues, update and add handbooks. 11 years ago
Slávek Banko 62ac96e110 Fix tdecore directories of linked libraries 11 years ago
Darrell Anderson 1872b105e0 Rebranding, tooltip, and What's This string cleanup. 11 years ago
Timothy Pearson a179d5d696 Fix crash in mount/umount operations when using pmount
Remove unneeded hack in dirlister for media device root directory
11 years ago
Darrell Anderson 68060dedf3 KDE->TDE branding cleanup. 11 years ago
Slávek Banko 56068041d4 Fix KDiskFreeSp for mount points with UTF8 characters 11 years ago
Francois Andriot 47bbb9e40b Add '/run' folder to the slow freq polling directories list 11 years ago
Timothy Pearson 23006eeac7 Fix incorrect labelling of local media:/ tdeioslave files in the TDEFileItem class
This relates to Bug 1708
11 years ago
Darrell Anderson 1060593d12 Add end-of-file newlines. 11 years ago
Darrell Anderson 72849e2a6f Fix remnant QMIN/QMAX to TQMIN/TQMAX. 11 years ago
Darrell Anderson a655766d43 Rename KDEsu->TDEsu to provide consistency with previous renamings.
This relates to bug report 1707.
11 years ago
Timothy Pearson e757d3d6ae Check if SSL symbols exist before attempting to load them
This relates to Bug 1655
11 years ago
Darrell Anderson 66eec2bf31 Update XDG mimetypes. 11 years ago
Michele Calgaro 645993e7d8 Move focus to file name in rename dialog during copying files
This resolves Bug 1686
11 years ago
Slávek Banko 2a415f233f Cleanup KFilterDev::size warning 11 years ago
Darrell Anderson c9e6442846 Clarify source of identical kdWarning messages. 12 years ago
Slávek Banko bb36045b59 Add sbin into the paths for search binary during substitute uid
This resolves Bug 1494
12 years ago
Slávek Banko 1a41909ef9 Fix unintended renaming of magic string for TDEWallet files
This resolves Bug 1658

TDEWallet remains compatible with KWallet, and therefore
it is not practical to change the magic string. If in the
future will not be possible to maintain compatibility,
magic string will be changed afterwards.
12 years ago
Darrell Anderson 28b080a4bf Additional k -> tde renaming 12 years ago
Slávek Banko e2f981b140 Fix starting KDE4 applications
This resolves Bug 1654
12 years ago
Slávek Banko c6cb3f2794 Additional k => tde renaming and fixes 12 years ago
Darrell Anderson 97c19ee120 Rename KWallet to TDEWallet. 12 years ago
Timothy Pearson bab94d8378 Rename KWallet to TDEWallet 12 years ago
Timothy Pearson cb17faa3e2 Bump library versions to 14.0.0
This relates to Bug 1575
12 years ago
Alexander Golubev a5ba7ad712 Improved creation backtraces 12 years ago
Darrell Anderson 365f030613 Add compilation support to enable/disable
[KDE4] suffix in KDE4 menu items.
This resolves bug report 1563.
12 years ago
Alexander Golubev 35748811a4 Added check the conditions for building backtrace handler 12 years ago
Timothy Pearson a166b1dade Add ability to generate proper backtraces in tdeio crash handler 12 years ago
Francois Andriot a67a48107f Fix security issue when displaying certificate informations (CVE-2011-3365) 12 years ago
Francois Andriot 7f328ba699 Add XZ tdeioslave
Based on KDE GIT commit bbe9e8f5
12 years ago
Timothy Pearson d2f1ad161d Fix errant extra source line in GIT hash b4a23465 12 years ago
Timothy Pearson b4a23465b6 Use standard unicode forward slash representation if available instead of nonstandard HTML encoding
This resolves Bug 269
12 years ago
Timothy Pearson c5463fddb1 Fix incorrect positions and heights in open/save dialogs when nonstandard font sizes are in use 12 years ago
Darrell Anderson 274dd3ccb3 Fix XDG ShowOnlyIn/NotShowIn conflicts with KDE4. Add cmake
WITH_OLD_XDG_STD configure support to retain old style support
for potential problematic distros. This resolves bug report 1364.
12 years ago
Timothy Pearson 8188a65884 Fix kdirlister crash
This resolves Bug 1476
12 years ago
Timothy Pearson 7217eca586 Fix KDirLister failure to emit events for all watchers of a given path
Fix KURL comparison
12 years ago
Timothy Pearson 30b0af1f01 Fix URL handling of media/builtin-* mimetypes
This partially resolves Bug 976
Add missing ACL support to CMake build files
12 years ago
Timothy Pearson bfc7b3bdbe Add preliminary udisks eject support
Fix additional tdeioslave dirlister problems
12 years ago
Timothy Pearson 4d6667159e Fix a number of problems with the forwarding slave and dirlister
Fix TDE HW library not detecting mounted drives
12 years ago
Timothy Pearson f6402c325a Fix a number of issues with the forwarding tdeioslave
This relates to Bug 1450
12 years ago
Timothy Pearson 06b65e787b Honor application suid requests even if they are directed at KDE 12 years ago
Timothy Pearson 658707d49e Resolve remainder of Bug 891 12 years ago
Timothy Pearson 9a2e58b31d Broaden KDE4 application detection critera
This resolves Bug 891
Thanks to Darrell Anderson for the patch!
12 years ago
Francois Andriot 5975b91a25 Honor the "Forever" option when accepting ssl certificates. 12 years ago
Laurent Dard b61f0c4777 Partial fix for incorrect mimetype detection.
This partially resolves bug report 656.
12 years ago
Timothy Pearson 71abba5631 Fix prior commit 12 years ago
Timothy Pearson ed99a30644 Rename additional header files to avoid conflicts with KDE4 12 years ago
Timothy Pearson 8bd62a3b0d Rename common header files for consistency with class renaming 12 years ago
Timothy Pearson 43636e0371 Rename kcompletionbox 12 years ago
Timothy Pearson 546d2312d9 Rename KComp to avoid conflicts with KDE4 12 years ago
Timothy Pearson 5466d52073 Rename KCmd to avoid conflicts with KDE4 12 years ago
Timothy Pearson 4b3606f910 Rename KCrash to avoid conflicts with KDE4 12 years ago
Timothy Pearson f2bfcad7ff Rename KIcon to enhance compatibility with KDE4 12 years ago
Timothy Pearson d1e0cc99a2 Rename many classes and header files to avoid conflicts with KDE4 12 years ago
Timothy Pearson d888cfa39e Fix FTBFS 12 years ago
Timothy Pearson deac2ca49f Rename a number of classes to enhance compatibility with KDE4 12 years ago
Timothy Pearson 0c9d97065a Rename KLock and KTrader to avoid conflicts with KDE4 12 years ago
Timothy Pearson 59d153016b Rename KLocale to enhance compatibility with KDE4 12 years ago
Timothy Pearson 8bc199f487 Rename KStartup for enhanced compatibility with KDE4 12 years ago
Timothy Pearson d3afa6baf9 Rename KStandard for enhanced compatibility with KDE4 12 years ago
Timothy Pearson 12f3d421cd Rename KShared 12 years ago
Timothy Pearson 21bc754111 Fix a few remaining references to kio_ 12 years ago
Timothy Pearson bcd8b9bb10 Rename a few build variables for overall consistency 12 years ago
Timothy Pearson 7427e43835 Rename KHTML and kiobuffer 12 years ago
Timothy Pearson 5159cd2beb Rename a number of libraries and executables to avoid conflicts with KDE4 12 years ago