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.563 by sf-exg, Sat Jun 19 09:13:51 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;
815#endif 820#endif
821
822// expand the sequence into a static array
823// works even without ENABLE_COMBINING
824template<typename T, int max_size_ = 48>
825struct rxvt_compose_expand_static
826{
827#if ENABLE_COMBINING
828 enum { max_size = max_size_ };
829
830 T chrs[max_size];
831
832 // expand sequence and return start ptr
833 // guarantees at least one output
834 // get the length with length () on that ptr
835 T *operator ()(unicode_t c)
836 {
837 T *cur = chrs + max_size;
838
839 while (ecb_expect_false (IS_COMPOSE (c)))
840 if (ecb_expect_true (c - COMPOSE_LO < rxvt_composite.v.size ()))
841 {
842 compose_char *cc = &rxvt_composite.v [c - COMPOSE_LO];
843
844 if (cc->c2 != NOCHAR)
845 {
846 cur -= cur > chrs; *cur = cc->c2;
847 }
848
849 c = cc->c1;
850 }
851 else
852 c = NOCHAR;
853
854 cur -= cur > chrs; *cur = c;
855
856 return cur;
857 }
858
859 int length (T *first)
860 {
861 return chrs + max_size - first;
862 }
863#else
864 T chr;
865
866 T *operator ()(text_t c);
867 {
868 chr = c;
869 return &chr;
870 }
871
872 int length (T *first)
873 {
874 return 1;
875 }
876#endif
877};
816 878
817/****************************************************************************/ 879/****************************************************************************/
818 880
819#ifdef KEYSYM_RESOURCE 881#ifdef KEYSYM_RESOURCE
820class keyboard_manager; 882class keyboard_manager;
1115#endif 1177#endif
1116 1178
1117#if ENABLE_OVERLAY 1179#if ENABLE_OVERLAY
1118 overlay_base ov; 1180 overlay_base ov;
1119 1181
1120 void scr_swap_overlay () NOTHROW; 1182 void scr_swap_overlay () noexcept;
1121 void scr_overlay_new (int x, int y, int w, int h) NOTHROW; 1183 void scr_overlay_new (int x, int y, int w, int h) noexcept;
1122 void scr_overlay_off () NOTHROW; 1184 void scr_overlay_off () noexcept;
1123 void scr_overlay_set (int x, int y, 1185 void scr_overlay_set (int x, int y,
1124 text_t text, 1186 text_t text,
1125 rend_t rend = OVERLAY_RSTYLE) NOTHROW; 1187 rend_t rend = OVERLAY_RSTYLE) noexcept;
1126 void scr_overlay_set (int x, int y, const char *s) NOTHROW; 1188 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; 1189 void scr_overlay_set (int x, int y, const wchar_t *s) noexcept;
1128#endif 1190#endif
1129 1191
1130 vector<void *> allocated; // free these memory blocks with free() 1192 vector<void *> allocated; // free these memory blocks with free()
1131 1193
1132 int parent_x, parent_y; // parent window position relative to root, only updated on demand 1194 int parent_x, parent_y; // parent window position relative to root, only updated on demand
1173# endif 1235# endif
1174#endif 1236#endif
1175 1237
1176 long vt_emask, vt_emask_perl, vt_emask_xim, vt_emask_mouse; 1238 long vt_emask, vt_emask_perl, vt_emask_xim, vt_emask_mouse;
1177 1239
1178 void vt_select_input () const NOTHROW 1240 void vt_select_input () const noexcept
1179 { 1241 {
1180 XSelectInput (dpy, vt, vt_emask | vt_emask_perl | vt_emask_xim | vt_emask_mouse); 1242 XSelectInput (dpy, vt, vt_emask | vt_emask_perl | vt_emask_xim | vt_emask_mouse);
1181 } 1243 }
1182 1244
1183#if ENABLE_PERL 1245#if ENABLE_PERL
1247 XPoint spot; // most recently sent spot position 1309 XPoint spot; // most recently sent spot position
1248 1310
1249 void im_destroy (); 1311 void im_destroy ();
1250 void im_cb (); im_watcher im_ev; 1312 void im_cb (); im_watcher im_ev;
1251 void im_set_size (XRectangle &size); 1313 void im_set_size (XRectangle &size);
1252 void im_set_position (XPoint &pos) NOTHROW; 1314 void im_set_position (XPoint &pos) noexcept;
1253 void im_set_color (unsigned long &fg, unsigned long &bg); 1315 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); 1316 void im_set_preedit_area (XRectangle &preedit_rect, XRectangle &status_rect, const XRectangle &needed_rect);
1255 1317
1256 bool im_is_running (); 1318 bool im_is_running ();
1257 void im_send_spot (); 1319 void im_send_spot ();
1261 1323
1262 // command.C 1324 // command.C
1263 void key_press (XKeyEvent &ev); 1325 void key_press (XKeyEvent &ev);
1264 void key_release (XKeyEvent &ev); 1326 void key_release (XKeyEvent &ev);
1265 1327
1266 wchar_t next_char () NOTHROW; 1328 wchar_t next_char () noexcept;
1267 wchar_t cmd_getc () THROW ((class out_of_input)); 1329 wchar_t cmd_getc ();
1268 uint32_t next_octet () NOTHROW; 1330 uint32_t next_octet () noexcept;
1269 uint32_t cmd_get8 () THROW ((class out_of_input)); 1331 uint32_t cmd_get8 ();
1270 1332
1271 void cmd_parse (); 1333 void cmd_parse ();
1272 void mouse_report (XButtonEvent &ev); 1334 void mouse_report (XButtonEvent &ev);
1273 void button_press (XButtonEvent &ev); 1335 void button_press (XButtonEvent &ev);
1274 void button_release (XButtonEvent &ev); 1336 void button_release (XButtonEvent &ev);
1339 void set_widthheight (unsigned int newwidth, unsigned int newheight); 1401 void set_widthheight (unsigned int newwidth, unsigned int newheight);
1340 void get_window_origin (int &x, int &y); 1402 void get_window_origin (int &x, int &y);
1341 1403
1342 // screen.C 1404 // screen.C
1343 1405
1344 bool option (uint8_t opt) const NOTHROW 1406 bool option (uint8_t opt) const noexcept
1345 { 1407 {
1346 return options[opt >> 3] & (1 << (opt & 7)); 1408 return options[opt >> 3] & (1 << (opt & 7));
1347 } 1409 }
1348 1410
1349 void set_option (uint8_t opt, bool set = true) NOTHROW; 1411 void set_option (uint8_t opt, bool set = true) noexcept;
1350 1412
1351 int fgcolor_of (rend_t r) const NOTHROW 1413 int fgcolor_of (rend_t r) const noexcept
1352 { 1414 {
1353 int base = GET_BASEFG (r); 1415 int base = GET_BASEFG (r);
1354#ifndef NO_BRIGHTCOLOR 1416#ifndef NO_BRIGHTCOLOR
1355 if (r & RS_Bold 1417 if (r & RS_Bold
1356# if ENABLE_STYLES 1418# if ENABLE_STYLES
1360 base += minBrightCOLOR - minCOLOR; 1422 base += minBrightCOLOR - minCOLOR;
1361#endif 1423#endif
1362 return base; 1424 return base;
1363 } 1425 }
1364 1426
1365 int bgcolor_of (rend_t r) const NOTHROW 1427 int bgcolor_of (rend_t r) const noexcept
1366 { 1428 {
1367 int base = GET_BASEBG (r); 1429 int base = GET_BASEBG (r);
1368#ifndef NO_BRIGHTCOLOR 1430#ifndef NO_BRIGHTCOLOR
1369 if (r & RS_Blink 1431 if (r & RS_Blink
1370# if ENABLE_STYLES 1432# if ENABLE_STYLES
1375#endif 1437#endif
1376 return base; 1438 return base;
1377 } 1439 }
1378 1440
1379 // modifies first argument(!) 1441 // modifies first argument(!)
1380 void tt_paste (char *data, unsigned int len) NOTHROW; 1442 void tt_paste (char *data, unsigned int len) noexcept;
1381 void paste (char *data, unsigned int len) NOTHROW; 1443 void paste (char *data, unsigned int len) noexcept;
1382 void scr_alloc () NOTHROW; 1444 void scr_alloc () noexcept;
1383 void scr_blank_line (line_t &l, unsigned int col, unsigned int width, rend_t efs) const NOTHROW; 1445 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; 1446 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; 1447 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); 1448 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; 1449 int scr_scroll_text (int row1, int row2, int count) noexcept;
1388 void copy_line (line_t &dst, line_t &src); 1450 void copy_line (line_t &dst, line_t &src);
1389 void scr_reset (); 1451 void scr_reset ();
1390 void scr_release () NOTHROW; 1452 void scr_release () noexcept;
1391 void scr_clear (bool really = false) NOTHROW; 1453 void scr_clear (bool really = false) noexcept;
1392 void scr_refresh () NOTHROW; 1454 void scr_refresh () noexcept;
1393 bool scr_refresh_rend (rend_t mask, rend_t value) NOTHROW; 1455 bool scr_refresh_rend (rend_t mask, rend_t value) noexcept;
1394 void scr_erase_screen (int mode) NOTHROW; 1456 void scr_erase_screen (int mode) noexcept;
1395#if ENABLE_FRILLS 1457#if ENABLE_FRILLS
1396 void scr_erase_savelines () NOTHROW; 1458 void scr_erase_savelines () noexcept;
1397 void scr_backindex () NOTHROW; 1459 void scr_backindex () noexcept;
1398 void scr_forwardindex () NOTHROW; 1460 void scr_forwardindex () noexcept;
1399#endif 1461#endif
1400 void scr_touch (bool refresh) NOTHROW; 1462 void scr_touch (bool refresh) noexcept;
1401 void scr_expose (int x, int y, int width, int height, bool refresh) NOTHROW; 1463 void scr_expose (int x, int y, int width, int height, bool refresh) noexcept;
1402 void scr_recolor (bool refresh = true) NOTHROW; 1464 void scr_recolor (bool refresh = true) noexcept;
1403 void scr_remap_chars () NOTHROW; 1465 void scr_remap_chars () noexcept;
1404 void scr_remap_chars (line_t &l) NOTHROW; 1466 void scr_remap_chars (line_t &l) noexcept;
1405 1467
1406 enum cursor_mode { SAVE, RESTORE }; 1468 enum cursor_mode { SAVE, RESTORE };
1407 1469
1408 void scr_poweron (); 1470 void scr_poweron ();
1409 void scr_soft_reset () NOTHROW; 1471 void scr_soft_reset () noexcept;
1410 void scr_cursor (cursor_mode mode) NOTHROW; 1472 void scr_cursor (cursor_mode mode) noexcept;
1411 void scr_do_wrap () NOTHROW; 1473 void scr_do_wrap () noexcept;
1412 void scr_swap_screen () NOTHROW; 1474 void scr_swap_screen () noexcept;
1413 void scr_change_screen (int scrn); 1475 void scr_change_screen (int scrn);
1414 void scr_color (unsigned int color, int fgbg) NOTHROW; 1476 void scr_color (unsigned int color, int fgbg) noexcept;
1415 void scr_rendition (int set, int style) NOTHROW; 1477 void scr_rendition (int set, int style) noexcept;
1416 void scr_add_lines (const wchar_t *str, int len, int minlines = 0) NOTHROW; 1478 void scr_add_lines (const wchar_t *str, int len, int minlines = 0) noexcept;
1417 void scr_backspace () NOTHROW; 1479 void scr_backspace () noexcept;
1418 void scr_tab (int count, bool ht = false) NOTHROW; 1480 void scr_tab (int count, bool ht = false) noexcept;
1419 void scr_gotorc (int row, int col, int relative) NOTHROW; 1481 void scr_gotorc (int row, int col, int relative) noexcept;
1420 void scr_index (enum page_dirn direction) NOTHROW; 1482 void scr_index (enum page_dirn direction) noexcept;
1421 void scr_erase_line (int mode) NOTHROW; 1483 void scr_erase_line (int mode) noexcept;
1422 void scr_E () NOTHROW; 1484 void scr_E () noexcept;
1423 void scr_insdel_lines (int count, int insdel) NOTHROW; 1485 void scr_insdel_lines (int count, int insdel) noexcept;
1424 void scr_insdel_chars (int count, int insdel) NOTHROW; 1486 void scr_insdel_chars (int count, int insdel) noexcept;
1425 void scr_scroll_region (int top, int bot) NOTHROW; 1487 void scr_scroll_region (int top, int bot) noexcept;
1426 void scr_cursor_visible (int mode) NOTHROW; 1488 void scr_cursor_visible (int mode) noexcept;
1427 void scr_autowrap (int mode) NOTHROW; 1489 void scr_autowrap (int mode) noexcept;
1428 void scr_relative_origin (int mode) NOTHROW; 1490 void scr_relative_origin (int mode) noexcept;
1429 void scr_insert_mode (int mode) NOTHROW; 1491 void scr_insert_mode (int mode) noexcept;
1430 void scr_set_tab (int mode) NOTHROW; 1492 void scr_set_tab (int mode) noexcept;
1431 void scr_rvideo_mode (bool on) NOTHROW; 1493 void scr_rvideo_mode (bool on) noexcept;
1432 void scr_report_position () NOTHROW; 1494 void scr_report_position () noexcept;
1433 void set_font_style () NOTHROW; 1495 void set_font_style () noexcept;
1434 void scr_charset_choose (int set) NOTHROW; 1496 void scr_charset_choose (int set) noexcept;
1435 void scr_charset_set (int set, unsigned int ch) NOTHROW; 1497 void scr_charset_set (int set, unsigned int ch) noexcept;
1436 void scr_move_to (int y, int len) NOTHROW; 1498 void scr_move_to (int y, int len) noexcept;
1437 bool scr_page (int nlines) NOTHROW; 1499 bool scr_page (int nlines) noexcept;
1438 bool scr_page (enum page_dirn direction, int nlines) NOTHROW 1500 bool scr_page (enum page_dirn direction, int nlines) noexcept
1439 { 1501 {
1440 return scr_page (direction * nlines); 1502 return scr_page (direction * nlines);
1441 } 1503 }
1442 bool scr_changeview (int new_view_start) NOTHROW; 1504 bool scr_changeview (int new_view_start) noexcept;
1443 void scr_bell () NOTHROW; 1505 void scr_bell () noexcept;
1444 void scr_printscreen (int fullhist) NOTHROW; 1506 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; 1507 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; 1508 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; 1509 void scr_reverse_selection () noexcept;
1448 void scr_dump (int fd) NOTHROW; 1510 void scr_dump (int fd) noexcept;
1449 1511
1450 void selection_check (int check_more) NOTHROW; 1512 void selection_check (int check_more) noexcept;
1451 void selection_changed () NOTHROW; /* sets want_refresh, corrects coordinates */ 1513 void selection_changed () noexcept; /* sets want_refresh, corrects coordinates */
1452 void selection_request (Time tm, int selnum = Sel_Primary) NOTHROW; 1514 void selection_request (Time tm, int selnum = Sel_Primary) noexcept;
1453 void selection_clear (bool clipboard = false) NOTHROW; 1515 void selection_clear (bool clipboard = false) noexcept;
1454 void selection_make (Time tm); 1516 void selection_make (Time tm);
1455 bool selection_grab (Time tm, bool clipboard = false) NOTHROW; 1517 bool selection_grab (Time tm, bool clipboard = false) noexcept;
1456 void selection_start_colrow (int col, int row) NOTHROW; 1518 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; 1519 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; 1520 void selection_extend_colrow (int32_t col, int32_t row, int button3, int buttonpress, int clickchange) noexcept;
1459 void selection_remove_trailing_spaces () NOTHROW; 1521 void selection_remove_trailing_spaces () noexcept;
1460 void selection_send (const XSelectionRequestEvent &rq) NOTHROW; 1522 void selection_send (const XSelectionRequestEvent &rq) noexcept;
1461 void selection_click (int clicks, int x, int y) NOTHROW; 1523 void selection_click (int clicks, int x, int y) noexcept;
1462 void selection_extend (int x, int y, int flag) NOTHROW; 1524 void selection_extend (int x, int y, int flag) noexcept;
1463 void selection_rotate (int x, int y) NOTHROW; 1525 void selection_rotate (int x, int y) noexcept;
1464 1526
1465 // xdefaults.C 1527 // xdefaults.C
1466 void rxvt_usage (int type); 1528 void rxvt_usage (int type);
1467 const char **get_options (int argc, const char *const *argv); 1529 const char **get_options (int argc, const char *const *argv);
1468 int parse_keysym (const char *str, unsigned int &state); 1530 int parse_keysym (const char *str, unsigned int &state);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines