*** empty log message ***
authorroot <root>
Mon, 30 Jan 2006 20:12:37 +0000 (20:12 +0000)
committerroot <root>
Mon, 30 Jan 2006 20:12:37 +0000 (20:12 +0000)
doc/rxvt.7.pod
src/command.C
src/init.C
src/main.C
src/rsinc.h
src/screen.C

index c7f40f2babb581e8c6604c4de762a43662581d93..0d2e36612a213bdc88b8a9be25a2f7c5f0d4a841 100644 (file)
@@ -2092,11 +2092,9 @@ in combination with other switches) is:
   EWMH-hints (pid, utf8 names) and protocols (ping)
   seperate underline colour (-underlineColor)
   settable border widths and borderless switch (-w, -b, -bl)
-  visual selection (-depth)
+  visual depth selection (-depth)
   settable extra linespacing /-lsp)
   iso-14755-2 and -3, and visual feedback
-  backindex and forwardindex escape sequence
-  window op and some xterm/OSC escape sequences
   tripleclickwords (-tcw)
   settable insecure mode (-insecure)
   keysym remapping support
@@ -2105,12 +2103,20 @@ in combination with other switches) is:
   user-pty (-pty-fd)
   hold on exit (-hold)
   skip builtin block graphics (-sbg)
-  sgr modes 90..97 and 100..107
 
 It also enabled some non-essential features otherwise disabled, such as:
 
   some round-trip time optimisations
   nearest color allocation on pseudocolor screens
+  UTF8_STRING supporr for selection
+  sgr modes 90..97 and 100..107
+  backindex and forwardindex escape sequences
+  view change/zero scorllback esacpe sequences
+  locale switching escape sequence
+  window op and some xterm/OSC escape sequences
+  rectangular selections
+  trailing space removal for selections
+  verbose X error handling
 
 =item --enable-iso14755 (default: on)
 
index 0382beb45abcc74ea75bb46740ccf7c2c1e10020..1a29da998950c9b30e85e2fe05a043ce304058a1 100644 (file)
@@ -3093,7 +3093,7 @@ rxvt_term::process_escape_seq ()
       case '+':
         scr_charset_set (3, (unsigned int)cmd_getc ());
         break;
-#if ENABLE_FRILLS
+#if !ENABLE_MINIMAL
       case '6':
         scr_backindex ();
         break;
@@ -3104,7 +3104,7 @@ rxvt_term::process_escape_seq ()
       case '8':
         scr_cursor (RESTORE);
         break;
-#if ENABLE_FRILLS
+#if !ENABLE_MINIMAL
       case '9':
         scr_forwardindex ();
         break;
@@ -3507,7 +3507,7 @@ rxvt_term::process_csi_seq ()
         scr_cursor (RESTORE);
         break;
 
-#if ENABLE_FRILLS
+#if !ENABLE_MINIMAL
       case CSI_74:
         process_window_ops (arg, nargs);
         break;
@@ -3524,7 +3524,7 @@ rxvt_term::process_csi_seq ()
 }
 /*}}} */
 
-#if ENABLE_FRILLS
+#if !ENABLE_MINIMAL
 /* ARGSUSED */
 void
 rxvt_term::process_window_ops (const int *args, unsigned int nargs)
@@ -3946,7 +3946,7 @@ rxvt_term::process_xterm_seq (int op, const char *str, char resp)
                      resp);
         break;
 
-#if ENABLE_FRILLS
+#if !ENABLE_MINIMAL
       case URxvt_locale:
         if (query)
           tt_printf ("\33]%d;%-.250s%c", op, OPTION (Opt_insecure) ? locale : "", resp);
@@ -4320,7 +4320,7 @@ rxvt_term::process_sgr_mode (unsigned int nargs, const int *arg)
 
           //case 50: // not variable spacing
 
-#if ENABLE_FRILLS
+#if !ENABLE_MINIMAL
           case 90:
           case 91:             /* set bright fg color */
           case 92:
index e034d812cb17dcf12b0c0ab4eabc7c0bb175122b..22526317ee9881049ece6cc7f7daa9d3b17487af 100644 (file)
@@ -301,7 +301,7 @@ rxvt_term::init_resources (int argc, const char *const *argv)
 
   xa = display->xa;
 
-#if ENABLE_FRILLS
+#if XFT
   if (rs[Rs_depth])
     set (display, strtol (rs[Rs_depth], 0, 0));
   else
index 7ac0e415b37f16a15beae2d1edb653eb7e7592c4..d37523acd32b753a66b75eb46c90e86292b65172 100644 (file)
@@ -370,7 +370,7 @@ rxvt_emergency_cleanup ()
     (*t)->emergency_cleanup ();
 }
 
-#if ENABLE_FRILLS
+#if !ENABLE_MINIMAL
 static void
 print_x_error (Display *dpy, XErrorEvent *event)
 {
@@ -428,10 +428,10 @@ rxvt_xerror_handler (Display *display, XErrorEvent *event)
     {
       // GET_R is most likely not the terminal which caused the error,
       // so just output the error and continue
-#if ENABLE_FRILLS
-      print_x_error (display, event);
-#else
+#if ENABLE_MINIMAL
       old_xerror_handler (display, event);
+#else
+      print_x_error (display, event);
 #endif
     }
 
index 9575d5bbe22bab84ec3363bf4d21751e320dcc3f..066c5c932ede43fc944c344d5766adb8e255cd9b 100644 (file)
   def (transparent)
   def (transparent_all)
 #endif
+#if XFT
+  def (depth)
+#endif
 #if ENABLE_FRILLS
   def (transient_for)
   def (override_redirect)
   def (pty_fd)
   def (hold)
-  def (depth)
   def (ext_bwidth)
   def (int_bwidth)
   def (borderLess)
index 2db4dd8fd04845de27e02e990579513b22c85aa0..c215f995efcad660850132e30fea8bfbe412e51c 100644 (file)
@@ -1116,7 +1116,7 @@ rxvt_term::scr_tab (int count, bool ht) NOTHROW
  * Move cursor left in row.  If we're at the left boundary, shift everything
  * in that row right.  Clear left column.
  */
-#if ENABLE_FRILLS
+#if !ENABLE_MINIMAL
 void
 rxvt_term::scr_backindex () NOTHROW
 {
@@ -1133,7 +1133,7 @@ rxvt_term::scr_backindex () NOTHROW
  * Move cursor right in row.  If we're at the right boundary, shift everything
  * in that row left.  Clear right column.
  */
-#if ENABLE_FRILLS
+#if !ENABLE_MINIMAL
 void
 rxvt_term::scr_forwardindex () NOTHROW
 {
@@ -1357,7 +1357,7 @@ rxvt_term::scr_erase_screen (int mode) NOTHROW
     }
 }
 
-#if ENABLE_FRILLS
+#if !ENABLE_MINIMAL
 void
 rxvt_term::scr_erase_savelines () NOTHROW
 {
@@ -2550,7 +2550,7 @@ rxvt_term::scr_reverse_selection () NOTHROW
       && current_screen == selection.screen
       && selection.end.row >= view_start)
     {
-#if ENABLE_FRILLS
+#if !ENABLE_MINIMAL
       if (selection.rect)
         scr_xor_rect (selection.beg.row, selection.beg.col,
                       selection.end.row, selection.end.col,
@@ -2775,7 +2775,7 @@ rxvt_term::selection_paste (Window win, Atom prop, bool delete_prop) NOTHROW
   char **cl;
   int cr;
 
-#if ENABLE_FRILLS
+#if !ENABLE_MINIMAL
   // xlib is horribly broken with respect to UTF8_STRING, and nobody cares to fix it
   // so recode it manually
   if (ct.encoding == xa[XA_UTF8_STRING])
@@ -2956,7 +2956,7 @@ rxvt_term::selection_make (Time tm)
 
   for (; row <= selection.end.row; row++, col = 0)
     {
-#if ENABLE_FRILLS
+#if !ENABLE_MINIMAL
       if (selection.rect)
         {
           col = selection.beg.col;
@@ -2969,7 +2969,7 @@ rxvt_term::selection_make (Time tm)
       col = max (col, 0);
 
       if (row == selection.end.row
-#if ENABLE_FRILLS
+#if !ENABLE_MINIMAL
           || selection.rect
 #endif
           )
@@ -3002,7 +3002,7 @@ rxvt_term::selection_make (Time tm)
             new_selection_text[ofs++] = *t++;
         }
 
-#if ENABLE_FRILLS
+#if !ENABLE_MINIMAL
       if (selection.rect)
         {
           while (ofs
@@ -3373,7 +3373,7 @@ rxvt_term::selection_extend_colrow (int32_t col, int32_t row, int button3, int b
     {
       if (selection.beg.col > ROW(selection.beg.row).l //TODO//FIXME//LEN
           && !ROW(selection.beg.row).is_longer ()
-#if ENABLE_FRILLS
+#if !ENABLE_MINIMAL
           && !selection.rect
 #endif
          )
@@ -3382,7 +3382,7 @@ rxvt_term::selection_extend_colrow (int32_t col, int32_t row, int button3, int b
       if (
           selection.end.col > ROW(selection.end.row).l //TODO//FIXME//LEN
           && !ROW(selection.end.row).is_longer ()
-#if ENABLE_FRILLS
+#if !ENABLE_MINIMAL
           && !selection.rect
 #endif
          )
@@ -3409,7 +3409,9 @@ rxvt_term::selection_extend_colrow (int32_t col, int32_t row, int button3, int b
                 {
                   selection.end.row = end_row;
                   selection.end.col = ROW(end_row).l;
+# if !ENABLE_MINIMAL
                   selection_remove_trailing_spaces ();
+# endif
                   break;
                 }
             }
@@ -3448,13 +3450,13 @@ rxvt_term::selection_extend_colrow (int32_t col, int32_t row, int button3, int b
         }
     }
 
-#if ENABLE_FRILLS
+#if !ENABLE_MINIMAL
   if (selection.rect && selection.beg.col > selection.end.col)
     ::swap (selection.beg.col, selection.end.col);
 #endif
 }
 
-#if ENABLE_FRILLS
+#if !ENABLE_MINIMAL
 void
 rxvt_term::selection_remove_trailing_spaces () NOTHROW
 {
@@ -3589,7 +3591,7 @@ rxvt_term::selection_send (const XSelectionRequestEvent &rq) NOTHROW
         style = enc_text;
       else if (target == xa[XA_COMPOUND_TEXT])
         style = enc_compound_text;
-#if ENABLE_FRILLS
+#if !ENABLE_MINIMAL
       else if (target == xa[XA_UTF8_STRING])
         style = enc_utf8;
 #endif
@@ -3610,7 +3612,7 @@ rxvt_term::selection_send (const XSelectionRequestEvent &rq) NOTHROW
           selectlen = 0;
         }
 
-#if ENABLE_FRILLS
+#if !ENABLE_MINIMAL
       // xlib is horribly broken with respect to UTF8_STRING, and nobody cares to fix it
       // so recode it manually
       if (style == enc_utf8)