]> git.pld-linux.org Git - packages/Eterm.git/commitdiff
- outdated
authorJakub Bogusz <qboosh@pld-linux.org>
Wed, 4 Oct 2006 06:26:46 +0000 (06:26 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    Eterm-deadkeys.patch -> 1.2
    Eterm-gcc4.patch -> 1.2
    Eterm-twin.patch -> 1.2

Eterm-deadkeys.patch [deleted file]
Eterm-gcc4.patch [deleted file]
Eterm-twin.patch [deleted file]

diff --git a/Eterm-deadkeys.patch b/Eterm-deadkeys.patch
deleted file mode 100644 (file)
index 0eafab7..0000000
+++ /dev/null
@@ -1,127 +0,0 @@
-http://bugs.gentoo.org/91878
-
- Tue Mar 15 16:44:09 2005                        Michael Jennings (mej)
-
- Reverted part of a patch from Chris Schoeneman <crs23@bigfoot.com>
- (changelog entry "Fri Jun 25 17:48:24 2004") which broke dead keys and
- compose-key sequences.
-
- Fixed error in saving of cut_chars attribute.
-
-Index: src/misc.c
-===================================================================
-RCS file: /cvsroot/enlightenment/eterm/Eterm/src/misc.c,v
-retrieving revision 1.25
-retrieving revision 1.26
-diff -u -r1.25 -r1.26
---- src/misc.c 11 Jan 2004 22:10:29 -0000      1.25
-+++ src/misc.c 15 Mar 2005 21:48:02 -0000      1.26
-@@ -223,6 +223,53 @@
-     return (pnew - str);
- }
-+spif_charptr_t
-+escape_string(spif_charptr_t str, spif_char_t quote, spif_int32_t maxlen)
-+{
-+    spif_charptr_t buff, s = str, pbuff;
-+
-+    D_STRINGS(("escape_string(%s %c %ld)\n", (char *) str, quote, maxlen));
-+    if (! quote) {
-+        quote = '\"';
-+    }
-+
-+    /* The escaped string will be at most twice the length of the original. */
-+    buff = SPIF_CAST(charptr) MALLOC(strlen(SPIF_CAST_PTR(char) str) * 2 + 1);
-+
-+    /* Copy and escape the string from str into buff. */
-+    for (pbuff = buff; (*s); s++, pbuff++) {
-+        if (*s == quote) {
-+            D_STRINGS(("Double-escaping \'%c\' at position %d\n", *s, s - str));
-+            *pbuff = '\\';
-+            pbuff++;
-+            *pbuff = '\\';
-+            pbuff++;
-+        } else {
-+            if (quote == '\"') {
-+                if ((*s == '\\') || (*s == '`')) {
-+                    D_STRINGS(("Escaping \'%c\' at position %d\n", *s, s - str));
-+                    *pbuff = '\\';
-+                    pbuff++;
-+                }
-+            }
-+        }
-+        D_STRINGS(("Copying \'%c\' at position %d\n", *s, s - str));
-+        *pbuff = *s;
-+    }
-+    *pbuff = 0;
-+
-+    if (maxlen) {
-+        /* Given maxlen, we know "str" can hold at least "maxlen" chars. */
-+        /*if (!spiftool_safe_strncpy(str, buff, maxlen)) {
-+            str[maxlen] = 0;
-+        }*/
-+        FREE(buff);
-+        return str;
-+    } else {
-+        return buff;
-+    }
-+}
-+
- char *
- safe_print_string(const char *str, unsigned long len)
- {
-Index: src/misc.h
-===================================================================
-RCS file: /cvsroot/enlightenment/eterm/Eterm/src/misc.h,v
-retrieving revision 1.15
-retrieving revision 1.16
-diff -u -r1.15 -r1.16
---- src/misc.h 11 Jan 2004 22:10:29 -0000      1.15
-+++ src/misc.h 15 Mar 2005 21:48:02 -0000      1.16
-@@ -40,6 +40,7 @@
- extern unsigned long str_leading_match(register const char *, register const char *);
- extern char *str_trim(char *str);
- extern int parse_escaped_string(char *str);
-+extern spif_charptr_t escape_string(spif_charptr_t str, spif_char_t quote, spif_int32_t maxlen);
- extern char *safe_print_string(const char *buff, unsigned long len);
- extern unsigned long add_carriage_returns(unsigned char *buff, unsigned long cnt);
- extern unsigned char mkdirhier(const char *);
-Index: src/options.c
-===================================================================
-RCS file: /cvsroot/enlightenment/eterm/Eterm/src/options.c,v
-retrieving revision 1.135
-retrieving revision 1.136
-diff -u -r1.135 -r1.136
---- src/options.c      23 Feb 2005 20:38:19 -0000      1.135
-+++ src/options.c      15 Mar 2005 21:48:02 -0000      1.136
-@@ -3850,7 +3863,10 @@
-     }
- #ifdef CUTCHAR_OPTION
-     if (rs_cutchars) {
--        fprintf(fp, "    cut_chars '%s'\n", rs_cutchars);
-+        spif_charptr_t cut_chars_escaped;
-+
-+        cut_chars_escaped = escape_string(SPIF_CAST(charptr) rs_cutchars, '\"', 0);
-+        fprintf(fp, "    cut_chars \"%s\"\n", (char *) cut_chars_escaped);
-     }
- #endif
-     fprintf(fp, "end misc\n\n");
-Index: src/windows.c
-===================================================================
-RCS file: /cvsroot/enlightenment/eterm/Eterm/src/windows.c,v
-retrieving revision 1.68
-retrieving revision 1.69
-diff -u -r1.68 -r1.69
---- src/windows.c      14 Dec 2004 23:24:33 -0000      1.68
-+++ src/windows.c      15 Mar 2005 21:48:12 -0000      1.69
-@@ -473,9 +473,7 @@
-         XClearWindow(Xdisplay, TermWin.vt);
-     }
-     XDefineCursor(Xdisplay, TermWin.vt, TermWin_cursor);
--    TermWin.mask = (KeyPressMask | EnterWindowMask | LeaveWindowMask | ExposureMask
--                    | ButtonPressMask | ButtonReleaseMask | Button1MotionMask
--                    | Button2MotionMask | Button3MotionMask);
-+    TermWin.mask = (EnterWindowMask | LeaveWindowMask | ExposureMask | ButtonPressMask | ButtonReleaseMask | Button1MotionMask | Button2MotionMask | Button3MotionMask);
-     XSelectInput(Xdisplay, TermWin.vt, TermWin.mask);
-     /* If the user wants a specific desktop, tell the WM that */
diff --git a/Eterm-gcc4.patch b/Eterm-gcc4.patch
deleted file mode 100644 (file)
index 4b72fd3..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-Fix building with GCC4.  Patch by Aaron Walker.
-http://bugs.gentoo.org/92485
-
---- Eterm-0.9.3/src/command.c
-+++ Eterm-0.9.3/src/command.c
-@@ -3002,9 +3002,9 @@
-     Xfd = XConnectionNumber(Xdisplay);
-     D_CMD(("Xfd = %d\n", Xfd));
-     cmdbuf_ptr = cmdbuf_endp = cmdbuf_base;
--    AT_LEAST((int) num_fds, Xfd + 1);
-+    AT_LEAST(num_fds, Xfd + 1);
-     if (pipe_fd >= 0) {
--        AT_LEAST((int) num_fds, pipe_fd + 1);
-+        AT_LEAST(num_fds, pipe_fd + 1);
-     }
-     if ((cmd_fd = command_func(argv)) < 0) {
-         print_error("Unable to run sub-command.\n");
diff --git a/Eterm-twin.patch b/Eterm-twin.patch
deleted file mode 100644 (file)
index 2155f7c..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -urN aaa/Eterm-0.9.2/src/libscream.c Eterm-0.9.2/src/libscream.c
---- aaa/Eterm-0.9.2/src/libscream.c    2002-10-21 02:42:41.000000000 +0200
-+++ Eterm-0.9.2/src/libscream.c        2003-12-10 19:24:08.000000000 +0100
-@@ -61,7 +61,7 @@
- #ifdef NS_HAVE_TWIN
- #  include <Tw/Tw.h>
--#  include <Tw/Tw_1.h>
-+#  include <Tw/Tw1.h>
- #  include <Tw/Twerrno.h>
- #endif
This page took 0.102277 seconds and 4 git commands to generate.