diff options
author | markd <markd@pkgsrc.org> | 2004-08-21 12:16:45 +0000 |
---|---|---|
committer | markd <markd@pkgsrc.org> | 2004-08-21 12:16:45 +0000 |
commit | e4bd69f18e47d25f70da2fd90f1fdbbd1c948987 (patch) | |
tree | f51bda5311ff58da588e8ee0e0c28b58d023b0bf /x11/kdelibs3/patches/patch-ap | |
parent | d71dd4bcf4d5ee8d27d82f6987621dd11d87a9a7 (diff) | |
download | pkgsrc-e4bd69f18e47d25f70da2fd90f1fdbbd1c948987.tar.gz |
Update to KDE 3.3
* Rewrite the name-resolution routines so that true asynchronous lookups
are possible (multithreaded). Thiago Macieira
* kconf_update has now support for updating files other than config
files. Waldo Bastian
* Crypto certificates import without user interaction Helge Deller
* KEditToolbar: Add support for arranging actions via drag&drop. Sandro
Giessl
* Move KNewStuff to kdelibs, making it usable for KDE-Edu etc. Josef
Spillner
* Introduce KIMIface, a generic DCOP interface to instant messaging/chat
clients, and support libraries for other KDE apps, enabling loosely
coupled integration. Will Stephenson
* Show actions icons in the configure shortcut dialog. Olivier Goffart
* KKeyDialog: add widget (based on klistviewsearchline) for searching
shortcuts Cristian Tibirna
* User visible feedback if invocation of browser, help Center or mailer
fails
* KImgIO
o Add EXR image plugin, supports reading high dynamic range files.
Brad Hards
o Add support for SGI images (a.k.a. "RGB" images). These do typically
have file extensions *.rgb, *.rgba, *.sgi, or *.bw. The SGI image
file format is a de-facto standard for textures, for example in 3D
modeling. Melchior Franz
o Add read support for DDS images (Direct Draw Surface). This format
is mainly used for textures in DirectX. Ignacio Castaño
* libkabc
o Write support and SSL/TLS for the LDAP resource Szombathelyi György
* KLocale
o Try harder to find message translations if a string is not translated
in the primary language of the user, but available in other languages
that the user has chosen in kcontrol. Heiko Evermann
* KSpell2
o Introduction of the new spellchecking library fixing all of KSpell
shortcomings. Zack Rusin
* KHTML part
o KHTML: Merge text shifting from WebCore. Leo Savernik
o KHTML: Type-ahead find Arend van Beelen jr.
o Copy To->IM Contact... context menu entry. Using kimproxy, allow one
to initiate a file transfer from Konqueror. Will Stephenson
o Added "Open in This Window" in popup frame submenu
o New context menu when text is selected which allows lookup in default
search engine
o Fixed and improved Access Key support: now activated by pressing and
releasing the ctrl key. When activated, the accesskey mode displays all
accesskeys available in tooltips Jean-Baptiste Mardelle
Diffstat (limited to 'x11/kdelibs3/patches/patch-ap')
-rw-r--r-- | x11/kdelibs3/patches/patch-ap | 187 |
1 files changed, 0 insertions, 187 deletions
diff --git a/x11/kdelibs3/patches/patch-ap b/x11/kdelibs3/patches/patch-ap deleted file mode 100644 index 4cdb88e55c1..00000000000 --- a/x11/kdelibs3/patches/patch-ap +++ /dev/null @@ -1,187 +0,0 @@ -$NetBSD: patch-ap,v 1.8 2004/08/11 13:51:14 markd Exp $ - -Index: dcopserver.cpp -=================================================================== -RCS file: /home/kde/kdelibs/dcop/dcopserver.cpp,v -retrieving revision 1.160.2.3 -diff -u -p -r1.160.2.3 dcopserver.cpp ---- dcop/dcopserver.cpp 30 Apr 2004 15:00:08 -0000 1.160.2.3 -+++ dcop/dcopserver.cpp 26 Jul 2004 09:03:06 -0000 -@@ -443,35 +443,78 @@ write_iceauth (FILE *addfp, IceAuthDataE - fprintf (addfp, "\n"); - } - -+#ifndef HAVE_MKSTEMPS -+#include <string.h> -+#include <strings.h> - --#ifndef HAVE_MKSTEMP --static char *unique_filename (const char *path, const char *prefix) --#else --static char *unique_filename (const char *path, const char *prefix, int *pFd) --#endif -+/* this is based on code taken from the GNU libc, distributed under the LGPL license */ -+ -+/* Generate a unique temporary file name from TEMPLATE. -+ -+ TEMPLATE has the form: -+ -+ <path>/ccXXXXXX<suffix> -+ -+ SUFFIX_LEN tells us how long <suffix> is (it can be zero length). -+ -+ The last six characters of TEMPLATE before <suffix> must be "XXXXXX"; -+ they are replaced with a string that makes the filename unique. -+ -+ Returns a file descriptor open on the file for reading and writing. */ -+ -+int mkstemps (char* _template, int suffix_len) - { --#ifndef HAVE_MKSTEMP --#ifndef X_NOT_POSIX -- return ((char *) tempnam (path, prefix)); --#else -- char tempFile[PATH_MAX]; -- char *tmp; -+ static const char letters[] = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"; -+ char *XXXXXX; -+ int len; -+ int count; -+ int value; -+ -+ len = strlen (_template); -+ -+ if ((int) len < 6 + suffix_len || strncmp (&_template[len - 6 - suffix_len], "XXXXXX", 6)) -+ return -1; -+ -+ XXXXXX = &_template[len - 6 - suffix_len]; -+ -+ value = rand(); -+ for (count = 0; count < 256; ++count) -+ { -+ int v = value; -+ int fd; -+ -+ /* Fill in the random bits. */ -+ XXXXXX[0] = letters[v % 62]; -+ v /= 62; -+ XXXXXX[1] = letters[v % 62]; -+ v /= 62; -+ XXXXXX[2] = letters[v % 62]; -+ v /= 62; -+ XXXXXX[3] = letters[v % 62]; -+ v /= 62; -+ XXXXXX[4] = letters[v % 62]; -+ v /= 62; -+ XXXXXX[5] = letters[v % 62]; -+ -+ fd = open (_template, O_RDWR|O_CREAT|O_EXCL, 0600); -+ if (fd >= 0) -+ /* The file does not exist. */ -+ return fd; -+ -+ /* This is a random value. It is only necessary that the next -+ TMP_MAX values generated by adding 7777 to VALUE are different -+ with (module 2^32). */ -+ value += 7777; -+ } -+ /* We return the null string if we can't find a unique file name. */ -+ _template[0] = '\0'; -+ return -1; -+} - -- snprintf (tempFile, PATH_MAX, "%s/%sXXXXXX", path, prefix); -- tmp = (char *) mktemp (tempFile); -- if (tmp) -- { -- char *ptr = (char *) malloc (strlen (tmp) + 1); -- if (ptr != NULL) -- { -- strcpy (ptr, tmp); -- } -- return (ptr); -- } -- else -- return (NULL); - #endif --#else -+ -+static char *unique_filename (const char *path, const char *prefix, int *pFd) -+{ - char tempFile[PATH_MAX]; - char *ptr; - -@@ -480,43 +523,10 @@ static char *unique_filename (const char - if (ptr != NULL) - { - strcpy(ptr, tempFile); -- *pFd = mkstemp(ptr); -+ *pFd = mkstemps(ptr, 0); - } - return ptr; --#endif --} -- --#if 0 --Status SetAuthentication_local (int count, IceListenObj *listenObjs) --{ -- int i; -- for (i = 0; i < count; i ++) { -- char *prot = IceGetListenConnectionString(listenObjs[i]); -- if (!prot) continue; -- char *host = strchr(prot, '/'); -- char *sock = 0; -- if (host) { -- *host=0; -- host++; -- sock = strchr(host, ':'); -- if (sock) { -- *sock = 0; -- sock++; -- } -- } --#ifndef NDEBUG -- qDebug("DCOPServer: SetAProc_loc: conn %d, prot=%s, file=%s", -- (unsigned)i, prot, sock); --#endif -- if (sock && !strcmp(prot, "local")) { -- chmod(sock, 0700); -- } -- IceSetHostBasedAuthProc (listenObjs[i], HostBasedAuthProc); -- free(prot); -- } -- return 1; - } --#endif - - #define MAGIC_COOKIE_LEN 16 - -@@ -529,28 +539,19 @@ SetAuthentication (int count, IceListenO - int original_umask; - int i; - QCString command; --#ifdef HAVE_MKSTEMP - int fd; --#endif - - original_umask = umask (0077); /* disallow non-owner access */ - - path = getenv ("DCOP_SAVE_DIR"); - if (!path) - path = "/tmp"; --#ifndef HAVE_MKSTEMP -- if ((addAuthFile = unique_filename (path, "dcop")) == NULL) -- goto bad; - -- if (!(addfp = fopen (addAuthFile, "w"))) -- goto bad; --#else - if ((addAuthFile = unique_filename (path, "dcop", &fd)) == NULL) - goto bad; - - if (!(addfp = fdopen(fd, "wb"))) - goto bad; --#endif - - if ((*_authDataEntries = static_cast<IceAuthDataEntry *>(malloc (count * 2 * sizeof (IceAuthDataEntry)))) == NULL) - goto bad; |