Commit Graph

109 Commits

Author SHA1 Message Date
Jon Trulson 1972d3e378 dtfile: Add scroll wheel support
This patch was manually added via a diff supplied from a user on the
CDE mailing list: Michele Ghisolfo <ghisolfo.m@gmail.com>
2019-10-14 14:34:56 -06:00
chase dd68514e4f Remove hpversion.h from repository
This patch removes hpversion.h from the repository, this also untangles a
lot of ifdef mess. This closes bug CDExc19524.
2018-10-06 17:00:38 -06:00
chase 90a2b2848a remove ultrix support 2018-09-30 17:27:04 -06:00
Jon Trulson a29bd8937a dtfile: Fix up CopyCheckDeletePermission() and CheckDeletePermission
Remove calls to bogus utility functions in cases where the user is
root and the filesystem in question is an NFS filesystem.

For now, __linux___ and CSRG_BASED machines will use statfs to
determine whether to test delete-ability.  For other systems, just do
the create/delete test always if the user is root.
2018-08-25 17:38:48 -06:00
David Cantrell 9cb1f309f2 Patch out use of deprecated and now removed ustat(2) function on Linux.
dtfile makes use of ustat(2) on certain systems.  This call has been
deprecated in glibc for a while and now, as of glibc-2.28, it has been
removed.  The recommended replacement is to use statfs(2).
2018-08-25 17:10:02 -06:00
Jon Trulson ea2d3927c7 dtfile: remove register keyword 2018-06-27 22:14:51 -06:00
Peter Howkins e239c31702 dtfile/dtcopy: Change to ANSI function definitions 2018-06-28 04:14:11 +01:00
Peter Howkins e57fa0384f dtfile: Change to ANSI function definitions 2018-06-28 04:13:21 +01:00
Peter Howkins bcb6aa9fa9 dtfile: Remove define MULTIBYTE which is always on for CDE 2018-06-25 01:24:31 +01:00
chase 809c3d8bb6 Spelling fixes 2018-05-31 22:23:19 -06:00
Ulrich Wilkens 07f272122d Fix Linux rpc problems with new glibc 2018-05-31 18:00:22 -06:00
Ulrich Wilkens 16fbb15ecc Fix BSD and Sun problems after coverity fixes 2018-05-31 17:46:03 -06:00
chase 4f5e7fe5e3 Use POSIX macros for linux 2018-05-24 18:22:55 -06:00
chase 164e695cd0 remove OSF1 support 2018-05-24 14:25:26 -06:00
chase 07900bd93b Remove Unixware and openserver support 2018-05-20 12:13:07 -06:00
chase 8a4f389634 Remove UXPDS support 2018-05-15 20:27:22 -06:00
chase 3ccf3a8b86 Add missing license headers on *.hh files and others 2018-05-12 15:49:13 -06:00
Jon Trulson c936a8c065 dtfile/File.c: implement a hack to fix Ticket #19, tree icons are black
The real issue seems to be a bug in Motif.  The background color for
these tree icons is always black.  Depending on what Palette you have
selected, it's possible for the foreground color to be black.  When
this happens, you will see a black square since both fg and bg are now
black.

You can select another Palette that works (ie: foreground is white)
and the problem goes away.  So, for now, we always force a white
foreground color so the actual symbols are visible in tree mode.
2018-04-29 20:01:43 -06:00
Peter Howkins 399c1e08c3 dtfile: batch coverity fixes 2018-04-28 23:12:04 +01:00
chase 33d2749ea3 Last of the spelling fixed 2018-04-28 12:36:44 -06:00
chase 1fe5a550b2 Fix typo in license headers 2018-04-28 12:30:20 -06:00
Jon Trulson a1e23fe130 dtfile/FileOp: CID 175228 2018-04-12 11:58:34 -06:00
Jon Trulson 07fe841363 dtfile/FileDialog: CID 175220 2018-04-12 11:45:38 -06:00
Jon Trulson 1321d4c299 dtfile/SharedProcs: CID 175229 2018-04-12 11:30:59 -06:00
Jon Trulson 8e4b6605bf dtfile/dtcopy/sharedFuncs: CID 175225 2018-04-12 11:21:06 -06:00
Jon Trulson fd5fe65616 dtfile/Desktop: CID 175219,175222,175223,175226,175227 2018-04-12 11:10:42 -06:00
Jon Trulson 7c3c03388a dtfile/Encaps: CID 174844 2018-04-11 16:25:52 -06:00
Jon Trulson d8d8508fe3 dtfile/Main: CID 89623 2018-04-11 16:25:52 -06:00
Jon Trulson c73ad48482 dtfile/dtcopy/dosync: CID 89374 2018-04-11 16:25:52 -06:00
Jon Trulson 1fa5834c60 dtfile/Menu: CID 89222 2018-04-11 16:25:52 -06:00
Jon Trulson 43a5b19ea0 dtfile/dtcopy/fsrtns: CID 88868,88128 2018-04-11 16:25:52 -06:00
Jon Trulson 3ba5c25a55 dtfile/Directory: CID 88835,89096,89446,89469,89498 2018-04-11 16:25:52 -06:00
Jon Trulson ca7c8308e1 dtfile/Command: CID 88819 2018-04-11 16:25:52 -06:00
Jon Trulson 4ddbc11557 dtfile/FileOp: CID 88744,89337,89546 2018-04-11 16:25:52 -06:00
Jon Trulson aa2a529e25 dtfile/Trash: CID 88638,88815,89061,89614 2018-04-11 16:25:52 -06:00
Jon Trulson 54f8982c61 dtfile/Help: CID 88598 2018-04-11 16:25:52 -06:00
Jon Trulson 141bfca04e dtfile/FileMgr: CID 88441,89025,174801 2018-04-11 16:25:52 -06:00
Jon Trulson e2162e0800 dtfile/Find: CID 88258,87250 2018-04-11 16:25:52 -06:00
Jon Trulson 32e8827cbc dtfile/IconWindow: CID 88242,88702,89030 2018-04-11 16:25:52 -06:00
Jon Trulson 19d824c2cc dtfile/dtcopy/sharedFuncs: CID 88204,88291,88852,88861,88876 2018-04-11 16:25:52 -06:00
Jon Trulson 51b7590c63 dtfile/File: CID 88195,88595,88627,88794 2018-04-11 16:25:52 -06:00
Jon Trulson d30719f3a2 dtfile/SharedProcs: CID 88158,88337,89104,89118 2018-04-11 16:25:52 -06:00
Jon Trulson dd03c9cbf7 dtfile/FileDialog: CID 88141,88451,88658,89058 2018-04-11 16:25:52 -06:00
Jon Trulson 7e61925f1b dtfile/Desktop: CID 88133,88159,88339,88798,89331,89466 2018-04-11 16:25:52 -06:00
Jon Trulson 694b6ef5eb dtfile/Prefs: CID 88095,88407,89162,89164,89283,89445 2018-04-11 16:25:52 -06:00
Jon Trulson 56b53a30a1 Reimplement reverted commit 7fa35c to fix readlink() issues
Original implementation:

Commit: 7fa35cA
dtfile: coverity CIDs 88363,88405,89140,89612; insecure readlink

That commit caused dtfile to be unable to resolve symbolic links and
was later reverted.  This commit reimplements the fixes correctly, and
should hopefully still resolve the coverity issues as well.
2018-04-10 19:12:58 -06:00
Jon Trulson 9a3a9e3010 Revert "dtfile: coverity CIDs 88363,88405,89140,89612; insecure readlink"
This reverts commit 7fa35c29c4.
2018-04-05 15:44:37 -06:00
Jon Trulson 70f85d77cc dtfile/sharedFuncs: CID 88085; resource leak 2018-04-05 13:28:04 -06:00
Jon Trulson caa95ba67c dtfile: define MAX_PATH to PATH_MAX rather than 1024, also CID 87557 2018-04-05 12:49:06 -06:00
Jon Trulson f7d09f054d dtfile/SharedProcs.c: rework coverity 174852 fix to unbreak dtfile 2018-04-03 21:28:49 -06:00