*** empty log message ***
authorroot <root>
Sun, 26 Apr 2009 01:51:20 +0000 (01:51 +0000)
committerroot <root>
Sun, 26 Apr 2009 01:51:20 +0000 (01:51 +0000)
Changes
src/command.C
src/init.C
src/main.C
src/rxvt.h

diff --git a/Changes b/Changes
index 2fac325ab36dd73bd9f0b4939e12a49c9a79209a..ccee63beeda847e018946c3937a1ef3159896083 100644 (file)
--- a/Changes
+++ b/Changes
@@ -19,8 +19,12 @@ WISH: load system-wide config file even if we don't have one
 WISH: look into XAddConnectionWatch, does anybody need that?
 DUMB: support tex fonts
 
+TODO: `/etc/udev/rules.d/41-mythtv-permissions.rules'
 TODO: exg-- patch
 TODO: selection_beg/end should set screen, or so
+TODO:        - upgrade to libev-xx
+TODO: -rv interacts badly with popups.
+TODO:  - gcc-4.4/const/Milos Jakubicek.
         - the binary search algorithm to find precomposed characters
           was faulty, skipping some possible combinations (found by
           Mikachu).
@@ -31,7 +35,12 @@ TODO: selection_beg/end should set screen, or so
         - correctly reset the mbstate after an illegal
           input sequence when handling terminal output (Emanuele Giaquinta).
         - avoid redrawing wide characters with combining enabled on every
-          refresgh (reported by Mikachu).
+          refresh (reported by Mikachu).
+        - fix a typo preventing the ISO-646.1991 character set from being
+          recognized (http://achurch.org/patch-pile/).
+        - better warning for x11 font encoding detection failures, also,
+          try to decude encoding from both font properties and name
+          (adapted from http://achurch.org/patch-pile/).
 
 9.06 Sat Nov  8 17:47:18 CET 2008
        - NOTICE: this release updates terminfo/termcap.
index 8e255787a895389f3a56ae6544ce02d737bc9a6f..d7576f40d85e0acf1415ffe6d13be139bce91b2e 100644 (file)
@@ -3287,7 +3287,7 @@ rxvt_term::process_color_seq (int report, int color, const char *str, char resp)
  * XTerm escape sequences: ESC ] Ps;Pt (ST|BEL)
  */
 void
-rxvt_term::process_xterm_seq (int op, const char *str, char resp)
+rxvt_term::process_xterm_seq (int op, char *str, char resp)
 {
   int color;
   char *buf, *name;
index 6c9e6402da19f4d029bfcf779d51a618d624a8bc..33247f2badad33cef98ca82346a2705f750a9408 100644 (file)
@@ -1126,8 +1126,8 @@ rxvt_term::create_windows (int argc, const char *const *argv)
   old_width = szHint.width;
   old_height = szHint.height;
 
-  process_xterm_seq (XTerm_title,    rs[Rs_title],    CHAR_ST);
-  process_xterm_seq (XTerm_iconName, rs[Rs_iconName], CHAR_ST);
+  set_title     (rs [Rs_title]);
+  set_icon_name (rs [Rs_iconName]);
 
   classHint.res_name  = (char *)rs[Rs_name];
   classHint.res_class = (char *)RESCLASS;
index d35671c15082c083b0317aa615b7684bb22cb712..b8a9d5e9fd60fc892fa36408814d90ca9dc53f3b 100644 (file)
@@ -992,9 +992,7 @@ rxvt_term::resize_all_windows (unsigned int newwidth, unsigned int newheight, in
     }
 
   if (fix_screen || old_height == 0)
-    {
-      scr_reset ();
-    }
+    scr_reset ();
 
   // TODO, with nvidia-8178, resizes kill the alpha channel, report if not fixed in newer version
   //scr_touch (false);
@@ -1079,18 +1077,17 @@ rxvt_term::im_set_preedit_area (XRectangle &preedit_rect,
 bool
 rxvt_term::IMisRunning ()
 {
-  char *p;
   Atom atom;
   Window win;
   char server[IMBUFSIZ];
 
   /* get current locale modifier */
-  if ((p = XSetLocaleModifiers (NULL)) != NULL)
+  if (char *p = XSetLocaleModifiers (0))
     {
       strcpy (server, "@server=");
-      strncat (server, & (p[4]), IMBUFSIZ - 9); /* skip "@im=" */
+      strncat (server, p + 4, IMBUFSIZ - 9); /* skip "@im=" */
 
-      if ((p = strchr (server + 1, '@')) != NULL)      /* first one only */
+      if (p = strchr (server + 1, '@'))      /* first one only */
         *p = '\0';
 
       atom = XInternAtom (dpy, server, False);
index 0a3427a098e6f084c136d0cc60882b5c8e008ffb..c59b72707ba6a3a60ea05b1f7650b40493b5422c 100644 (file)
@@ -1256,7 +1256,7 @@ struct rxvt_term : zero_initialized, rxvt_vars, rxvt_screen
   void process_dcs_seq ();
   void process_osc_seq ();
   void process_color_seq (int report, int color, const char *str, char resp);
-  void process_xterm_seq (int op, const char *str, char resp);
+  void process_xterm_seq (int op, char *str, char resp);
   int privcases (int mode, unsigned long bit);
   void process_terminal_mode (int mode, int priv, unsigned int nargs, const int *arg);
   void process_sgr_mode (unsigned int nargs, const int *arg);