ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/rxvt.h
(Generate patch)

Comparing rxvt-unicode/src/rxvt.h (file contents):
Revision 1.553 by root, Tue Jun 25 03:35:01 2019 UTC vs.
Revision 1.564 by root, Sat Jun 19 09:47:41 2021 UTC

135 * PROTOTYPES 135 * PROTOTYPES
136 ***************************************************************************** 136 *****************************************************************************
137 */ 137 */
138// main.C 138// main.C
139#define SET_LOCALE(locale) rxvt_set_locale (locale) 139#define SET_LOCALE(locale) rxvt_set_locale (locale)
140extern bool rxvt_set_locale (const char *locale) NOTHROW; 140extern bool rxvt_set_locale (const char *locale) noexcept;
141extern void rxvt_push_locale (const char *locale) NOTHROW; 141extern void rxvt_push_locale (const char *locale) noexcept;
142extern void rxvt_pop_locale () NOTHROW; 142extern void rxvt_pop_locale () noexcept;
143void rxvt_init (); 143void rxvt_init ();
144 144
145// misc.C 145// misc.C
146char * rxvt_wcstombs (const wchar_t *str, int len = -1); 146char * rxvt_wcstombs (const wchar_t *str, int len = -1);
147wchar_t * rxvt_mbstowcs (const char *str, int len = -1); 147wchar_t * rxvt_mbstowcs (const char *str, int len = -1);
148char * rxvt_wcstoutf8 (const wchar_t *str, int len = -1); 148char * rxvt_wcstoutf8 (const wchar_t *str, int len = -1);
149wchar_t * rxvt_utf8towcs (const char *str, int len = -1); 149wchar_t * rxvt_utf8towcs (const char *str, int len = -1);
150 150
151const char * rxvt_basename (const char *str) NOTHROW; 151const char * rxvt_basename (const char *str) noexcept;
152void rxvt_vlog (const char *fmt, va_list arg_ptr) NOTHROW; 152void rxvt_vlog (const char *fmt, va_list arg_ptr) noexcept;
153void rxvt_log (const char *fmt,...) NOTHROW; 153void rxvt_log (const char *fmt,...) noexcept;
154void rxvt_warn (const char *fmt,...) NOTHROW; 154void rxvt_warn (const char *fmt,...) noexcept;
155ecb_noreturn ecb_cold 155ecb_noreturn ecb_cold
156void rxvt_fatal (const char *fmt, ...) THROW ((class rxvt_failure_exception)); 156void rxvt_fatal (const char *fmt, ...);
157ecb_noreturn ecb_cold 157ecb_noreturn ecb_cold
158void rxvt_exit_failure () THROW ((class rxvt_failure_exception)); 158void rxvt_exit_failure ();
159 159
160void * rxvt_malloc (size_t size); 160void * rxvt_malloc (size_t size);
161void * rxvt_calloc (size_t number, size_t size); 161void * rxvt_calloc (size_t number, size_t size);
162void * rxvt_realloc (void *ptr, size_t size); 162void * rxvt_realloc (void *ptr, size_t size);
163 163
164char * rxvt_strtrim (char *str) NOTHROW; 164char * rxvt_strtrim (char *str) noexcept;
165char ** rxvt_strsplit (char delim, const char *str) NOTHROW; 165char ** rxvt_strsplit (char delim, const char *str) noexcept;
166 166
167static inline void 167static inline void
168rxvt_free_strsplit (char **ptr) NOTHROW 168rxvt_free_strsplit (char **ptr) noexcept
169{ 169{
170 free (ptr[0]); 170 free (ptr[0]);
171 free (ptr); 171 free (ptr);
172} 172}
173 173
572#define PrivMode_vt52 (1UL<<18) 572#define PrivMode_vt52 (1UL<<18)
573#define PrivMode_LFNL (1UL<<19) 573#define PrivMode_LFNL (1UL<<19)
574#define PrivMode_MouseBtnEvent (1UL<<20) 574#define PrivMode_MouseBtnEvent (1UL<<20)
575#define PrivMode_MouseAnyEvent (1UL<<21) 575#define PrivMode_MouseAnyEvent (1UL<<21)
576#define PrivMode_BracketPaste (1UL<<22) 576#define PrivMode_BracketPaste (1UL<<22)
577#define PrivMode_ExtModeMouse (1UL<<23) // xterm pseudo-utf-8 hack 577#define PrivMode_ExtMouseUTF8 (1UL<<23) // xterm pseudo-utf-8 hack
578#define PrivMode_ExtMouseRight (1UL<<24) // xterm pseudo-utf-8, but works in non-utf-8-locales 578#define PrivMode_ExtMouseUrxvt (1UL<<24) // xterm pseudo-utf-8, but works in non-utf-8-locales
579#define PrivMode_BlinkingCursor (1UL<<25) 579#define PrivMode_BlinkingCursor (1UL<<25)
580#define PrivMode_FocusEvent (1UL<<26) 580#define PrivMode_FocusEvent (1UL<<26)
581#define PrivMode_ExtMouseSGR (1UL<<27)
581 582
582#define PrivMode_mouse_report (PrivMode_MouseX10|PrivMode_MouseX11|PrivMode_MouseBtnEvent|PrivMode_MouseAnyEvent) 583#define PrivMode_mouse_report (PrivMode_MouseX10|PrivMode_MouseX11|PrivMode_MouseBtnEvent|PrivMode_MouseAnyEvent)
583 584
584#ifdef ALLOW_132_MODE 585#ifdef ALLOW_132_MODE
585# define PrivMode_Default (PrivMode_Autowrap|PrivMode_ShiftKeys|PrivMode_VisibleCursor|PrivMode_132OK) 586# define PrivMode_Default (PrivMode_Autowrap|PrivMode_ShiftKeys|PrivMode_VisibleCursor|PrivMode_132OK)
768/****************************************************************************/ 769/****************************************************************************/
769 770
770#define UNICODE_MASK 0x1fffffUL 771#define UNICODE_MASK 0x1fffffUL
771 772
772#if UNICODE_3 773#if UNICODE_3
773# define COMPOSE_LO 0x40000000UL 774# define COMPOSE_LO 0x110000UL
774# define COMPOSE_HI 0x400fffffUL 775# define COMPOSE_HI 0x1fffffUL
775# define IS_COMPOSE(n) ((int32_t)(n) >= COMPOSE_LO) 776# define IS_COMPOSE(n) ((int32_t)(n) >= COMPOSE_LO)
776#else 777#else
777# if ENABLE_PERL 778# if ENABLE_PERL
778# define COMPOSE_LO 0xe000UL // our _own_ functions don't like (illegal) surrogates 779# define COMPOSE_LO 0xe000UL // our _own_ functions don't like (illegal) surrogates
779# define COMPOSE_HI 0xf8ffUL // in utf-8, so use private use area only 780# define COMPOSE_HI 0xf8ffUL // in utf-8, so use private use area only
788// compose chars are used to represent composite characters 789// compose chars are used to represent composite characters
789// that are not representable in unicode, as well as characters 790// that are not representable in unicode, as well as characters
790// not fitting in the BMP. 791// not fitting in the BMP.
791struct compose_char 792struct compose_char
792{ 793{
793 unicode_t c1, c2; // any chars != NOCHAR are valid 794 // c1 can be any character != NOCHAR, including another compose character
795 // c2 must always be a zero-width character or NOCHAR, in case
796 // this just extends beyond the BMP.
797 unicode_t c1, c2;
794 798
795 compose_char (unicode_t c1, unicode_t c2) 799 compose_char (unicode_t c1, unicode_t c2)
796 : c1(c1), c2(c2) 800 : c1(c1), c2(c2)
797 { } 801 { }
798}; 802};
799 803
800class rxvt_composite_vec 804struct rxvt_composite_vec
801{ 805{
802 vector<compose_char> v; 806 vector<compose_char> v;
803public: 807
804 text_t compose (unicode_t c1, unicode_t c2 = NOCHAR); 808 text_t compose (unicode_t c1, unicode_t c2 = NOCHAR);
805 int expand (unicode_t c, wchar_t *r); 809 template<typename T> int expand (unicode_t c, T *r);
810 int expand (unicode_t c) { return expand (c, (text_t *)0); }
806 compose_char *operator [](text_t c) 811 compose_char *operator [](text_t c)
807 { 812 {
808 return c >= COMPOSE_LO && c < COMPOSE_LO + v.size () 813 return c >= COMPOSE_LO && c < COMPOSE_LO + v.size ()
809 ? &v[c - COMPOSE_LO] 814 ? &v[c - COMPOSE_LO]
810 : 0; 815 : 0;
811 } 816 }
812}; 817};
813 818
814extern class rxvt_composite_vec rxvt_composite; 819extern class rxvt_composite_vec rxvt_composite;
820#endif
821
822#if 0
823// expand the sequence into a static array
824// works even without ENABLE_COMBINING
825template<typename T, int max_size_ = 48>
826struct rxvt_compose_expand_static
827{
828#if ENABLE_COMBINING
829 enum { max_size = max_size_ };
830
831 T chrs[max_size];
832
833 // expand sequence and return start ptr
834 // guarantees at least one output
835 // get the length with length () on that ptr
836 T *operator ()(unicode_t c)
837 {
838 T *cur = chrs + max_size;
839
840 while (ecb_expect_false (IS_COMPOSE (c)))
841 if (ecb_expect_true (c - COMPOSE_LO < rxvt_composite.v.size ()))
842 {
843 compose_char *cc = &rxvt_composite.v [c - COMPOSE_LO];
844
845 if (cc->c2 != NOCHAR)
846 {
847 cur -= cur > chrs; *cur = cc->c2;
848 }
849
850 c = cc->c1;
851 }
852 else
853 c = NOCHAR;
854
855 cur -= cur > chrs; *cur = c;
856
857 return cur;
858 }
859
860 int length (T *first)
861 {
862 return chrs + max_size - first;
863 }
864#else
865 T chr;
866
867 T *operator ()(text_t c);
868 {
869 chr = c;
870 return &chr;
871 }
872
873 int length (T *first)
874 {
875 return 1;
876 }
877#endif
878};
815#endif 879#endif
816 880
817/****************************************************************************/ 881/****************************************************************************/
818 882
819#ifdef KEYSYM_RESOURCE 883#ifdef KEYSYM_RESOURCE
1115#endif 1179#endif
1116 1180
1117#if ENABLE_OVERLAY 1181#if ENABLE_OVERLAY
1118 overlay_base ov; 1182 overlay_base ov;
1119 1183
1120 void scr_swap_overlay () NOTHROW; 1184 void scr_swap_overlay () noexcept;
1121 void scr_overlay_new (int x, int y, int w, int h) NOTHROW; 1185 void scr_overlay_new (int x, int y, int w, int h) noexcept;
1122 void scr_overlay_off () NOTHROW; 1186 void scr_overlay_off () noexcept;
1123 void scr_overlay_set (int x, int y, 1187 void scr_overlay_set (int x, int y,
1124 text_t text, 1188 text_t text,
1125 rend_t rend = OVERLAY_RSTYLE) NOTHROW; 1189 rend_t rend = OVERLAY_RSTYLE) noexcept;
1126 void scr_overlay_set (int x, int y, const char *s) NOTHROW; 1190 void scr_overlay_set (int x, int y, const char *s) noexcept;
1127 void scr_overlay_set (int x, int y, const wchar_t *s) NOTHROW; 1191 void scr_overlay_set (int x, int y, const wchar_t *s) noexcept;
1128#endif 1192#endif
1129 1193
1130 vector<void *> allocated; // free these memory blocks with free() 1194 vector<void *> allocated; // free these memory blocks with free()
1131 1195
1132 int parent_x, parent_y; // parent window position relative to root, only updated on demand 1196 int parent_x, parent_y; // parent window position relative to root, only updated on demand
1173# endif 1237# endif
1174#endif 1238#endif
1175 1239
1176 long vt_emask, vt_emask_perl, vt_emask_xim, vt_emask_mouse; 1240 long vt_emask, vt_emask_perl, vt_emask_xim, vt_emask_mouse;
1177 1241
1178 void vt_select_input () const NOTHROW 1242 void vt_select_input () const noexcept
1179 { 1243 {
1180 XSelectInput (dpy, vt, vt_emask | vt_emask_perl | vt_emask_xim | vt_emask_mouse); 1244 XSelectInput (dpy, vt, vt_emask | vt_emask_perl | vt_emask_xim | vt_emask_mouse);
1181 } 1245 }
1182 1246
1183#if ENABLE_PERL 1247#if ENABLE_PERL
1247 XPoint spot; // most recently sent spot position 1311 XPoint spot; // most recently sent spot position
1248 1312
1249 void im_destroy (); 1313 void im_destroy ();
1250 void im_cb (); im_watcher im_ev; 1314 void im_cb (); im_watcher im_ev;
1251 void im_set_size (XRectangle &size); 1315 void im_set_size (XRectangle &size);
1252 void im_set_position (XPoint &pos) NOTHROW; 1316 void im_set_position (XPoint &pos) noexcept;
1253 void im_set_color (unsigned long &fg, unsigned long &bg); 1317 void im_set_color (unsigned long &fg, unsigned long &bg);
1254 void im_set_preedit_area (XRectangle &preedit_rect, XRectangle &status_rect, const XRectangle &needed_rect); 1318 void im_set_preedit_area (XRectangle &preedit_rect, XRectangle &status_rect, const XRectangle &needed_rect);
1255 1319
1256 bool im_is_running (); 1320 bool im_is_running ();
1257 void im_send_spot (); 1321 void im_send_spot ();
1261 1325
1262 // command.C 1326 // command.C
1263 void key_press (XKeyEvent &ev); 1327 void key_press (XKeyEvent &ev);
1264 void key_release (XKeyEvent &ev); 1328 void key_release (XKeyEvent &ev);
1265 1329
1266 wchar_t next_char () NOTHROW; 1330 wchar_t next_char () noexcept;
1267 wchar_t cmd_getc () THROW ((class out_of_input)); 1331 wchar_t cmd_getc ();
1268 uint32_t next_octet () NOTHROW; 1332 uint32_t next_octet () noexcept;
1269 uint32_t cmd_get8 () THROW ((class out_of_input)); 1333 uint32_t cmd_get8 ();
1270 1334
1271 void cmd_parse (); 1335 void cmd_parse ();
1272 void mouse_report (XButtonEvent &ev); 1336 void mouse_report (XButtonEvent &ev);
1273 void button_press (XButtonEvent &ev); 1337 void button_press (XButtonEvent &ev);
1274 void button_release (XButtonEvent &ev); 1338 void button_release (XButtonEvent &ev);
1339 void set_widthheight (unsigned int newwidth, unsigned int newheight); 1403 void set_widthheight (unsigned int newwidth, unsigned int newheight);
1340 void get_window_origin (int &x, int &y); 1404 void get_window_origin (int &x, int &y);
1341 1405
1342 // screen.C 1406 // screen.C
1343 1407
1344 bool option (uint8_t opt) const NOTHROW 1408 bool option (uint8_t opt) const noexcept
1345 { 1409 {
1346 return options[opt >> 3] & (1 << (opt & 7)); 1410 return options[opt >> 3] & (1 << (opt & 7));
1347 } 1411 }
1348 1412
1349 void set_option (uint8_t opt, bool set = true) NOTHROW; 1413 void set_option (uint8_t opt, bool set = true) noexcept;
1350 1414
1351 int fgcolor_of (rend_t r) const NOTHROW 1415 int fgcolor_of (rend_t r) const noexcept
1352 { 1416 {
1353 int base = GET_BASEFG (r); 1417 int base = GET_BASEFG (r);
1354#ifndef NO_BRIGHTCOLOR 1418#ifndef NO_BRIGHTCOLOR
1355 if (r & RS_Bold 1419 if (r & RS_Bold
1356# if ENABLE_STYLES 1420# if ENABLE_STYLES
1360 base += minBrightCOLOR - minCOLOR; 1424 base += minBrightCOLOR - minCOLOR;
1361#endif 1425#endif
1362 return base; 1426 return base;
1363 } 1427 }
1364 1428
1365 int bgcolor_of (rend_t r) const NOTHROW 1429 int bgcolor_of (rend_t r) const noexcept
1366 { 1430 {
1367 int base = GET_BASEBG (r); 1431 int base = GET_BASEBG (r);
1368#ifndef NO_BRIGHTCOLOR 1432#ifndef NO_BRIGHTCOLOR
1369 if (r & RS_Blink 1433 if (r & RS_Blink
1370# if ENABLE_STYLES 1434# if ENABLE_STYLES
1375#endif 1439#endif
1376 return base; 1440 return base;
1377 } 1441 }
1378 1442
1379 // modifies first argument(!) 1443 // modifies first argument(!)
1380 void tt_paste (char *data, unsigned int len) NOTHROW; 1444 void tt_paste (char *data, unsigned int len) noexcept;
1381 void paste (char *data, unsigned int len) NOTHROW; 1445 void paste (char *data, unsigned int len) noexcept;
1382 void scr_alloc () NOTHROW; 1446 void scr_alloc () noexcept;
1383 void scr_blank_line (line_t &l, unsigned int col, unsigned int width, rend_t efs) const NOTHROW; 1447 void scr_blank_line (line_t &l, unsigned int col, unsigned int width, rend_t efs) const noexcept;
1384 void scr_blank_screen_mem (line_t &l, rend_t efs) const NOTHROW; 1448 void scr_blank_screen_mem (line_t &l, rend_t efs) const noexcept;
1385 void scr_kill_char (line_t &l, int col) const NOTHROW; 1449 void scr_kill_char (line_t &l, int col) const noexcept;
1386 void scr_set_char_rend (line_t &l, int col, rend_t rend); 1450 void scr_set_char_rend (line_t &l, int col, rend_t rend);
1387 int scr_scroll_text (int row1, int row2, int count) NOTHROW; 1451 int scr_scroll_text (int row1, int row2, int count) noexcept;
1388 void copy_line (line_t &dst, line_t &src); 1452 void copy_line (line_t &dst, line_t &src);
1389 void scr_reset (); 1453 void scr_reset ();
1390 void scr_release () NOTHROW; 1454 void scr_release () noexcept;
1391 void scr_clear (bool really = false) NOTHROW; 1455 void scr_clear (bool really = false) noexcept;
1392 void scr_refresh () NOTHROW; 1456 void scr_refresh () noexcept;
1393 bool scr_refresh_rend (rend_t mask, rend_t value) NOTHROW; 1457 bool scr_refresh_rend (rend_t mask, rend_t value) noexcept;
1394 void scr_erase_screen (int mode) NOTHROW; 1458 void scr_erase_screen (int mode) noexcept;
1395#if ENABLE_FRILLS 1459#if ENABLE_FRILLS
1396 void scr_erase_savelines () NOTHROW; 1460 void scr_erase_savelines () noexcept;
1397 void scr_backindex () NOTHROW; 1461 void scr_backindex () noexcept;
1398 void scr_forwardindex () NOTHROW; 1462 void scr_forwardindex () noexcept;
1399#endif 1463#endif
1400 void scr_touch (bool refresh) NOTHROW; 1464 void scr_touch (bool refresh) noexcept;
1401 void scr_expose (int x, int y, int width, int height, bool refresh) NOTHROW; 1465 void scr_expose (int x, int y, int width, int height, bool refresh) noexcept;
1402 void scr_recolor (bool refresh = true) NOTHROW; 1466 void scr_recolor (bool refresh = true) noexcept;
1403 void scr_remap_chars () NOTHROW; 1467 void scr_remap_chars () noexcept;
1404 void scr_remap_chars (line_t &l) NOTHROW; 1468 void scr_remap_chars (line_t &l) noexcept;
1405 1469
1406 enum cursor_mode { SAVE, RESTORE }; 1470 enum cursor_mode { SAVE, RESTORE };
1407 1471
1408 void scr_poweron (); 1472 void scr_poweron ();
1409 void scr_soft_reset () NOTHROW; 1473 void scr_soft_reset () noexcept;
1410 void scr_cursor (cursor_mode mode) NOTHROW; 1474 void scr_cursor (cursor_mode mode) noexcept;
1411 void scr_do_wrap () NOTHROW; 1475 void scr_do_wrap () noexcept;
1412 void scr_swap_screen () NOTHROW; 1476 void scr_swap_screen () noexcept;
1413 void scr_change_screen (int scrn); 1477 void scr_change_screen (int scrn);
1414 void scr_color (unsigned int color, int fgbg) NOTHROW; 1478 void scr_color (unsigned int color, int fgbg) noexcept;
1415 void scr_rendition (int set, int style) NOTHROW; 1479 void scr_rendition (int set, int style) noexcept;
1416 void scr_add_lines (const wchar_t *str, int len, int minlines = 0) NOTHROW; 1480 void scr_add_lines (const wchar_t *str, int len, int minlines = 0) noexcept;
1417 void scr_backspace () NOTHROW; 1481 void scr_backspace () noexcept;
1418 void scr_tab (int count, bool ht = false) NOTHROW; 1482 void scr_tab (int count, bool ht = false) noexcept;
1419 void scr_gotorc (int row, int col, int relative) NOTHROW; 1483 void scr_gotorc (int row, int col, int relative) noexcept;
1420 void scr_index (enum page_dirn direction) NOTHROW; 1484 void scr_index (enum page_dirn direction) noexcept;
1421 void scr_erase_line (int mode) NOTHROW; 1485 void scr_erase_line (int mode) noexcept;
1422 void scr_E () NOTHROW; 1486 void scr_E () noexcept;
1423 void scr_insdel_lines (int count, int insdel) NOTHROW; 1487 void scr_insdel_lines (int count, int insdel) noexcept;
1424 void scr_insdel_chars (int count, int insdel) NOTHROW; 1488 void scr_insdel_chars (int count, int insdel) noexcept;
1425 void scr_scroll_region (int top, int bot) NOTHROW; 1489 void scr_scroll_region (int top, int bot) noexcept;
1426 void scr_cursor_visible (int mode) NOTHROW; 1490 void scr_cursor_visible (int mode) noexcept;
1427 void scr_autowrap (int mode) NOTHROW; 1491 void scr_autowrap (int mode) noexcept;
1428 void scr_relative_origin (int mode) NOTHROW; 1492 void scr_relative_origin (int mode) noexcept;
1429 void scr_insert_mode (int mode) NOTHROW; 1493 void scr_insert_mode (int mode) noexcept;
1430 void scr_set_tab (int mode) NOTHROW; 1494 void scr_set_tab (int mode) noexcept;
1431 void scr_rvideo_mode (bool on) NOTHROW; 1495 void scr_rvideo_mode (bool on) noexcept;
1432 void scr_report_position () NOTHROW; 1496 void scr_report_position () noexcept;
1433 void set_font_style () NOTHROW; 1497 void set_font_style () noexcept;
1434 void scr_charset_choose (int set) NOTHROW; 1498 void scr_charset_choose (int set) noexcept;
1435 void scr_charset_set (int set, unsigned int ch) NOTHROW; 1499 void scr_charset_set (int set, unsigned int ch) noexcept;
1436 void scr_move_to (int y, int len) NOTHROW; 1500 void scr_move_to (int y, int len) noexcept;
1437 bool scr_page (int nlines) NOTHROW; 1501 bool scr_page (int nlines) noexcept;
1438 bool scr_page (enum page_dirn direction, int nlines) NOTHROW 1502 bool scr_page (enum page_dirn direction, int nlines) noexcept
1439 { 1503 {
1440 return scr_page (direction * nlines); 1504 return scr_page (direction * nlines);
1441 } 1505 }
1442 bool scr_changeview (int new_view_start) NOTHROW; 1506 bool scr_changeview (int new_view_start) noexcept;
1443 void scr_bell () NOTHROW; 1507 void scr_bell () noexcept;
1444 void scr_printscreen (int fullhist) NOTHROW; 1508 void scr_printscreen (int fullhist) noexcept;
1445 void scr_xor_rect (int beg_row, int beg_col, int end_row, int end_col, rend_t rstyle1, rend_t rstyle2) NOTHROW; 1509 void scr_xor_rect (int beg_row, int beg_col, int end_row, int end_col, rend_t rstyle1, rend_t rstyle2) noexcept;
1446 void scr_xor_span (int beg_row, int beg_col, int end_row, int end_col, rend_t rstyle) NOTHROW; 1510 void scr_xor_span (int beg_row, int beg_col, int end_row, int end_col, rend_t rstyle) noexcept;
1447 void scr_reverse_selection () NOTHROW; 1511 void scr_reverse_selection () noexcept;
1448 void scr_dump (int fd) NOTHROW; 1512 void scr_dump (int fd) noexcept;
1449 1513
1450 void selection_check (int check_more) NOTHROW; 1514 void selection_check (int check_more) noexcept;
1451 void selection_changed () NOTHROW; /* sets want_refresh, corrects coordinates */ 1515 void selection_changed () noexcept; /* sets want_refresh, corrects coordinates */
1452 void selection_request (Time tm, int selnum = Sel_Primary) NOTHROW; 1516 void selection_request (Time tm, int selnum = Sel_Primary) noexcept;
1453 void selection_clear (bool clipboard = false) NOTHROW; 1517 void selection_clear (bool clipboard = false) noexcept;
1454 void selection_make (Time tm); 1518 void selection_make (Time tm);
1455 bool selection_grab (Time tm, bool clipboard = false) NOTHROW; 1519 bool selection_grab (Time tm, bool clipboard = false) noexcept;
1456 void selection_start_colrow (int col, int row) NOTHROW; 1520 void selection_start_colrow (int col, int row) noexcept;
1457 void selection_delimit_word (enum page_dirn dirn, const row_col_t *mark, row_col_t *ret) NOTHROW; 1521 void selection_delimit_word (enum page_dirn dirn, const row_col_t *mark, row_col_t *ret) noexcept;
1458 void selection_extend_colrow (int32_t col, int32_t row, int button3, int buttonpress, int clickchange) NOTHROW; 1522 void selection_extend_colrow (int32_t col, int32_t row, int button3, int buttonpress, int clickchange) noexcept;
1459 void selection_remove_trailing_spaces () NOTHROW; 1523 void selection_remove_trailing_spaces () noexcept;
1460 void selection_send (const XSelectionRequestEvent &rq) NOTHROW; 1524 void selection_send (const XSelectionRequestEvent &rq) noexcept;
1461 void selection_click (int clicks, int x, int y) NOTHROW; 1525 void selection_click (int clicks, int x, int y) noexcept;
1462 void selection_extend (int x, int y, int flag) NOTHROW; 1526 void selection_extend (int x, int y, int flag) noexcept;
1463 void selection_rotate (int x, int y) NOTHROW; 1527 void selection_rotate (int x, int y) noexcept;
1464 1528
1465 // xdefaults.C 1529 // xdefaults.C
1466 void rxvt_usage (int type); 1530 void rxvt_usage (int type);
1467 const char **get_options (int argc, const char *const *argv); 1531 const char **get_options (int argc, const char *const *argv);
1468 int parse_keysym (const char *str, unsigned int &state); 1532 int parse_keysym (const char *str, unsigned int &state);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines