Mercurial > hg > xemacs-beta
comparison src/console.h @ 867:804517e16990
[xemacs-hg @ 2002-06-05 09:54:39 by ben]
Textual renaming: text/char names
abbrev.c, alloc.c, buffer.c, buffer.h, bytecode.c, callint.c, casefiddle.c, casetab.c, charset.h, chartab.c, chartab.h, cmds.c, console-gtk.h, console-msw.c, console-msw.h, console-stream.c, console-tty.c, console-x.c, console-x.h, console.h, data.c, device-msw.c, device-x.c, dialog-msw.c, dired-msw.c, dired.c, doc.c, doprnt.c, editfns.c, eldap.c, emodules.c, eval.c, event-Xt.c, event-gtk.c, event-msw.c, event-stream.c, event-unixoid.c, events.c, events.h, file-coding.c, file-coding.h, fileio.c, filelock.c, fns.c, font-lock.c, frame-gtk.c, frame-msw.c, frame-x.c, frame.c, glyphs-eimage.c, glyphs-msw.c, glyphs-x.c, glyphs.c, glyphs.h, gpmevent.c, gui-x.c, gui-x.h, gui.c, gui.h, hpplay.c, indent.c, insdel.c, insdel.h, intl-win32.c, keymap.c, line-number.c, line-number.h, lisp-disunion.h, lisp-union.h, lisp.h, lread.c, lrecord.h, lstream.c, lstream.h, md5.c, menubar-msw.c, menubar-x.c, menubar.c, minibuf.c, mule-ccl.c, mule-charset.c, mule-coding.c, mule-wnnfns.c, ndir.h, nt.c, objects-gtk.c, objects-gtk.h, objects-msw.c, objects-tty.c, objects-x.c, objects.c, objects.h, postgresql.c, print.c, process-nt.c, process-unix.c, process.c, procimpl.h, realpath.c, redisplay-gtk.c, redisplay-msw.c, redisplay-output.c, redisplay-tty.c, redisplay-x.c, redisplay.c, redisplay.h, regex.c, search.c, select-common.h, select-gtk.c, select-x.c, sound.h, symbols.c, syntax.c, syntax.h, sysdep.c, sysdep.h, sysdir.h, sysfile.h, sysproc.h, syspwd.h, systime.h, syswindows.h, termcap.c, tests.c, text.c, text.h, toolbar-common.c, tooltalk.c, ui-gtk.c, unexnt.c, unicode.c, win32.c: Text/char naming rationalization.
[a] distinguish between "charptr" when it refers to operations on
the pointer itself and when it refers to operations on text; and
[b] use consistent naming for everything referring to internal
format, i.e.
Itext == text in internal format
Ibyte == a byte in such text
Ichar == a char as represented in internal character format
thus e.g.
set_charptr_emchar -> set_itext_ichar
The pre and post tags on either side of this change are:
pre-internal-format-textual-renaming
post-internal-format-textual-renaming
See the Internals Manual for details of exactly how this was done,
how to handle the change in your workspace, etc.
author | ben |
---|---|
date | Wed, 05 Jun 2002 09:58:45 +0000 |
parents | 42375619fa45 |
children | 79c6ff3eef26 |
comparison
equal
deleted
inserted
replaced
866:613552a02607 | 867:804517e16990 |
---|---|
160 void (*set_frame_size_method) (struct frame *f, int width, int height); | 160 void (*set_frame_size_method) (struct frame *f, int width, int height); |
161 void (*set_frame_position_method) (struct frame *f, int xoff, int yoff); | 161 void (*set_frame_position_method) (struct frame *f, int xoff, int yoff); |
162 int (*frame_visible_p_method) (struct frame *f); | 162 int (*frame_visible_p_method) (struct frame *f); |
163 int (*frame_totally_visible_p_method) (struct frame *f); | 163 int (*frame_totally_visible_p_method) (struct frame *f); |
164 int (*frame_iconified_p_method) (struct frame *f); | 164 int (*frame_iconified_p_method) (struct frame *f); |
165 void (*set_title_from_intbyte_method) (struct frame *f, Intbyte *title); | 165 void (*set_title_from_ibyte_method) (struct frame *f, Ibyte *title); |
166 void (*set_icon_name_from_intbyte_method) (struct frame *f, Intbyte *title); | 166 void (*set_icon_name_from_ibyte_method) (struct frame *f, Ibyte *title); |
167 void (*set_frame_pointer_method) (struct frame *f); | 167 void (*set_frame_pointer_method) (struct frame *f); |
168 void (*set_frame_icon_method) (struct frame *f); | 168 void (*set_frame_icon_method) (struct frame *f); |
169 void (*popup_menu_method) (Lisp_Object menu, Lisp_Object event); | 169 void (*popup_menu_method) (Lisp_Object menu, Lisp_Object event); |
170 Lisp_Object (*get_frame_parent_method) (struct frame *f); | 170 Lisp_Object (*get_frame_parent_method) (struct frame *f); |
171 void (*update_frame_external_traits_method) (struct frame *f, Lisp_Object name); | 171 void (*update_frame_external_traits_method) (struct frame *f, Lisp_Object name); |
174 | 174 |
175 /* redisplay methods */ | 175 /* redisplay methods */ |
176 int (*left_margin_width_method) (struct window *); | 176 int (*left_margin_width_method) (struct window *); |
177 int (*right_margin_width_method) (struct window *); | 177 int (*right_margin_width_method) (struct window *); |
178 int (*text_width_method) (struct frame *f, struct face_cachel *cachel, | 178 int (*text_width_method) (struct frame *f, struct face_cachel *cachel, |
179 const Emchar *str, Charcount len); | 179 const Ichar *str, Charcount len); |
180 void (*output_display_block_method) (struct window *, struct display_line *, | 180 void (*output_display_block_method) (struct window *, struct display_line *, |
181 int, int, int, int, int, int, int); | 181 int, int, int, int, int, int, int); |
182 int (*divider_height_method) (void); | 182 int (*divider_height_method) (void); |
183 int (*eol_cursor_width_method) (void); | 183 int (*eol_cursor_width_method) (void); |
184 void (*output_vertical_divider_method) (struct window *, int); | 184 void (*output_vertical_divider_method) (struct window *, int); |
201 void (*output_pixmap_method) (struct window *w, Lisp_Object image_instance, | 201 void (*output_pixmap_method) (struct window *w, Lisp_Object image_instance, |
202 struct display_box *db, struct display_glyph_area *dga, | 202 struct display_box *db, struct display_glyph_area *dga, |
203 face_index findex, int cursor_start, int cursor_width, | 203 face_index findex, int cursor_start, int cursor_width, |
204 int cursor_height, int offset_bitmap); | 204 int cursor_height, int offset_bitmap); |
205 void (*output_string_method) (struct window *w, struct display_line *dl, | 205 void (*output_string_method) (struct window *w, struct display_line *dl, |
206 Emchar_dynarr *buf, int xpos, int xoffset, | 206 Ichar_dynarr *buf, int xpos, int xoffset, |
207 int start_pixpos, int width, face_index findex, | 207 int start_pixpos, int width, face_index findex, |
208 int cursor, int cursor_start, int cursor_width, | 208 int cursor, int cursor_start, int cursor_width, |
209 int cursor_height); | 209 int cursor_height); |
210 | 210 |
211 /* color methods */ | 211 /* color methods */ |
244 Lisp_Object (*find_charset_font_method) (Lisp_Object device, | 244 Lisp_Object (*find_charset_font_method) (Lisp_Object device, |
245 Lisp_Object font, | 245 Lisp_Object font, |
246 Lisp_Object charset); | 246 Lisp_Object charset); |
247 int (*font_spec_matches_charset_method) (struct device *d, | 247 int (*font_spec_matches_charset_method) (struct device *d, |
248 Lisp_Object charset, | 248 Lisp_Object charset, |
249 const Intbyte *nonreloc, | 249 const Ibyte *nonreloc, |
250 Lisp_Object reloc, | 250 Lisp_Object reloc, |
251 Bytecount offset, | 251 Bytecount offset, |
252 Bytecount length); | 252 Bytecount length); |
253 | 253 |
254 /* image methods */ | 254 /* image methods */ |
443 void *console_data; | 443 void *console_data; |
444 | 444 |
445 /* Character that causes a quit. Normally C-g. | 445 /* Character that causes a quit. Normally C-g. |
446 #### Should be possible for this not to be ASCII. (Currently works | 446 #### Should be possible for this not to be ASCII. (Currently works |
447 under Windows.) */ | 447 under Windows.) */ |
448 Emchar quit_char; | 448 Ichar quit_char; |
449 | 449 |
450 /* ----- begin partially-completed console localization of | 450 /* ----- begin partially-completed console localization of |
451 event loop ---- */ | 451 event loop ---- */ |
452 | 452 |
453 int local_var_flags; | 453 int local_var_flags; |