aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog
diff options
context:
space:
mode:
authorKaroly Lorentey2004-12-08 22:20:27 +0000
committerKaroly Lorentey2004-12-08 22:20:27 +0000
commitfad2f6858075f49c4c8fd16f0535c287e3f14ac3 (patch)
tree843a2ffe6caea6201877e3d2f1b6b954f47344b5 /src/ChangeLog
parent856dd47583918edd7987c13334703d3e7492d8f4 (diff)
parentb11e88237593ff7556d8535305e8f342e6b61d66 (diff)
downloademacs-fad2f6858075f49c4c8fd16f0535c287e3f14ac3.tar.gz
emacs-fad2f6858075f49c4c8fd16f0535c287e3f14ac3.zip
Merged in changes from CVS trunk.
Patches applied: * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-714 Update from CVS git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-271
Diffstat (limited to 'src/ChangeLog')
-rw-r--r--src/ChangeLog457
1 files changed, 380 insertions, 77 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 0d74afca197..3064999717f 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,315 @@
12004-12-07 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
2
3 * xmenu.c (Fx_popup_menu): Correct documentation about position.
4 (xmenu_show): Do not call XTranslateCoordinates. Adjust position
5 if not given by a mouse click to correspond with x-popup-menu
6 documentation.
7
8 * config.in: Regenerate.
9
10 * gtkutil.c: Include signal.h and syssignal.h.
11 (xg_get_file_name): Block and unblock __SIGRTMIN if defined.
12
13 * alloc.c: If HAVE_GTK_AND_PTHREAD, include pthread.h,
14 new variables main_thread and alloc_mutex,
15 define (UN)BLOCK_INPUT_ALLOC to use alloc_mutex to protect
16 emacs_blocked_* calls and only do (UN)BLOCK_INPUT in the main thread.
17 If not HAVE_GTK_AND_PTHREAD, (UN)BLOCK_INPUT_ALLOC is the same as
18 (UN)BLOCK_INPUT.
19 (emacs_blocked_free, emacs_blocked_malloc)
20 (emacs_blocked_realloc): Use (UN)BLOCK_INPUT_ALLOC.
21 (uninterrupt_malloc): Initialize main_thread and alloc_mutex.
22 (reset_malloc_hooks): New function.
23
24 * lisp.h: Declare reset_malloc_hooks.
25
26 * emacs.c (Fdump_emacs): Call reset_malloc_hooks.
27
28 * keyboard.c: Conditionally include pthread.h
29 (handle_async_inpu, input_available_signalt): If not in the main
30 thread, block signal, send signal to main thread and return.
31
32 * gtkutil.c (xg_get_file_with_chooser): Handle local files only.
33 Set current folder in file chooser if default_filename is a
34 directory.
35
362004-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
37
38 * regex.c (GET_UNSIGNED_NUMBER): Signal an error when reaching the end.
39 Remove redundant correctness checks.
40 (regex_compile): Fix up error codes for \{..\} expressions.
41
422004-12-05 Richard M. Stallman <rms@gnu.org>
43
44 * regex.c (regex_compile): Fix end-of-pattern case for space.
45
462004-12-03 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
47
48 * macterm.h (cfstring_create_with_utf8_cstring): Add prototype.
49 * mac.c (cfstring_create_with_utf8_cstring): Add to prevent
50 crashes with invalid characters.
51 * macmenu.c (add_menu_item): Use it.
52 * image.c (image_load_quartz2d): Likewise.
53 * macfns.c (x_set_name, x_set_title): Likewise.
54 (Fx_file_dialog): Likewise. Use constant CFRefs instead of
55 creating them each time for labels.
56
572004-12-02 Richard M. Stallman <rms@gnu.org>
58
59 * config.in (RE_TRANSLATE_P): If make_number is not a macro,
60 don't use it here.
61
62 * eval.c (Fcalled_interactively_p): Don't check INTERACTIVE.
63 (interactive_p): Skip Scalled_interactively_p frames
64 like Sinteractive_p frames.
65
66 * data.c (Fmake_variable_buffer_local): Doc fix.
67 (Fmake_local_variable): Doc fix.
68
69 * insdel.c (insert_from_string_before_markers)
70 (insert_from_string): Don't modify buffer on empty insertion.
71
72 * window.c (Fget_lru_window, Fget_largest_window): Doc fixes.
73
742004-12-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
75
76 * macmenu.c (add_menu_item): Fallback on MacRoman if encoding
77 menu text as UTF8 fails.
78
792004-12-01 Kim F. Storm <storm@cua.dk>
80
81 * alloc.c: Add commentary for last change.
82 (XMALLOC_PUT_SIZE, XMALLOC_GET_SIZE): New macros to handle
83 sizeof(size_t) != 4.
84 (overrun_check_malloc, overrun_check_realloc, overrun_check_free):
85 Use them. Also clear header and trailer of freed memory.
86 (GC_STRING_OVERRUN_COOKIE_SIZE): Rename from GC_STRING_EXTRA.
87 (string_overrun_cookie): Rename from string_overrun_pattern.
88 (GC_STRING_EXTRA): Define from GC_STRING_OVERRUN_COOKIE_SIZE.
89
902004-12-01 Andreas Schwab <schwab@suse.de>
91
92 * lisp.h: Declare string_to_multibyte.
93
942004-12-01 Kenichi Handa <handa@m17n.org>
95
96 * w32console.c (w32con_write_glyphs): Decide coding here.
97 Adjusted for the change of encode_terminal_code.
98
99 * term.c (encode_terminal_code): Don't make it "static".
100
1012004-11-30 Kenichi Handa <handa@m17n.org>
102
103 * term.c (encode_terminal_buf, encode_terminal_bufsize): New
104 variables.
105 (encode_terminal_code): Argument changed. Encode all
106 characters at once, and return a pointer to the result of
107 encoding.
108 (write_glyphs): Decide coding here. Adjusted for the above
109 change.
110 (insert_glyphs): Likewise.
111 (term_init): Initialize encode_terminal_bufsize to 0.
112
113 * coding.c (Vcode_conversion_workbuf_name): New variable.
114 (syms_of_coding): Initialize and staticpro it.
115 (set_conversion_work_buffer): New function.
116 (run_pre_post_conversion_on_str): Use it.
117 (run_pre_write_conversin_on_c_str): New function.
118
119 * coding.h (run_pre_write_conversin_on_c_str): Extern it.
120
1212004-11-30 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
122
123 * keyboard.c: Don't undef SIGIO
124 * s/darwin.h (NO_SOCK_SIGIO): Define NO_SOCK_SIGIO on carbon
125 * Makefile.in (mac.o): Depend on blockinput.h and atimer.h.
126 (macfns.o): Don't depend on ccl.h.
127 * macfns.c (mac_frame_parm_handlers): Set handlers for
128 Qleft_fringe and Qright_fringe.
129 * macterm.c (mac_fill_rectangle_to_pixmap)
130 (mac_draw_rectangle_to_pixmap, mac_copy_area_to_pixmap)
131 (mac_copy_area_with_mask_to_pixmap, x_draw_image_foreground_1):
132 Put in #if 0.
133 (mac_scroll_area) [TARGET_API_MAC_CARBON]: Use ScrollWindowRect.
134 (x_flush) [TARGET_API_MAC_CARBON]: Don't traverse frames.
135 (XFlush) [TARGET_API_MAC_CARBON]: Define to an empty replacement.
136 (x_draw_glyph_string_background, x_draw_glyph_string_foreground)
137 [!MAC_OS8]: Added ifdef'd out code for os8. Don't use
138 XDrawImageString. Always draw background and foreground separately.
139 (x_draw_image_foreground): Use clipping instead of computing the
140 intersection rectangle.
141 (x_draw_image_glyph_string): Don't draw an image with mask to a
142 pixmap.
143 (x_redisplay_interface): Set flush_display_optional member to 0.
144 (XTread_socket): Correctly reset the TEConverter
145 object.
146
1472004-11-30 Kim F. Storm <storm@cua.dk>
148
149 * lisp.h: New defines to enable buffer overrun checking.
150 (GC_CHECK_STRING_OVERRUN, GC_CHECK_STRING_FREE_LIST)
151 (XMALLOC_OVERRUN_CHECK, GC_CHECK_CONS_LIST): Add.
152
153 * alloc.c: Add more checks for buffer overruns.
154 (XMALLOC_OVERRUN_CHECK_SIZE, xmalloc_overrun_check_header)
155 xmalloc_overrun_check_trailer, overrun_check_malloc)
156 overrun_check_realloc, overrun_check_free): Add.
157 (GC_STRING_EXTRA, string_overrun_pattern): Add.
158 (check_sblock, allocate_string_data, compact_small_strings):
159 Set and check string_overrun_pattern if GC_CHECK_STRING_OVERRUN.
160 (check_cons_list): Condition on GC_CHECK_CONS_LIST.
161 (check_string_free_list): Add.
162 (allocate_string, sweep_strings): Call check_string_free_list.
163
164 * emacs.c (malloc_initialize_hook): Don't free malloc_state_ptr if
165 XMALLOC_OVERRUN_CHECK to avoid crash during load.
166
1672004-11-29 Kim F. Storm <storm@cua.dk>
168
169 * fns.c (concat): Use SAFE_ALLOCA.
170
1712004-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
172
173 * sysdep.c (emacs_write): Don't use QUIT.
174
1752004-11-29 Kenichi Handa <handa@m17n.org>
176
177 * buffer.c (init_buffer): Set current_buffer->directory to a
178 multibyte string made by string_to_multibyte.
179
180 * emacs.c (init_cmdargs): Set unibyte strings in Vcommand_line_args.
181
1822004-11-27 Andreas Schwab <schwab@suse.de>
183
184 * alloc.c (mark_stack): Call GC_MARK_SECONDARY_STACK if defined.
185
186 * s/gnu-linux.h: Enable no-op gcpros on ia64.
187 (GC_MARK_SECONDARY_STACK) [__ia64__]: Define.
188
189 * filelock.c (lock_file_1): Call get_boot_time early.
190 Increase buffer size.
191
1922004-11-27 Eli Zaretskii <eliz@gnu.org>
193
194 * lisp.h (DECL_ALIGN): Define non-trivially only if NO_DECL_ALIGN
195 is not defined.
196
1972004-11-27 Kim F. Storm <storm@cua.dk>
198
199 * search.c (syms_of_search) <search-spaces-regexp>: Move 'doc:'
200 marker out of doc string.
201
2022004-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
203
204 * s/darwin.h (POSIX_SIGNALS): Undo the removal of 2002-08-25,
205 which was not mentioned in the log.
206
2072004-11-26 Kim F. Storm <storm@cua.dk>
208
209 * fringe.c (update_window_fringes): Prefer truncation bitmaps over
210 angle bitmaps at top/bottom line.
211
212 * xdisp.c: Undo recent changes for restoring saved_face_id. Instead,
213 set it when it->method is set to next_element_from_display_vector.
214 (setup_for_ellipsis): Add LEN argument. Callers changed.
215 Set it->saved_face_id.
216 (get_next_display_element): Use loop instead of recursion.
217 Set it->saved_face_id. Combine duplicate code for ctr chars.
218 (next_element_from_display_vector): Do not set it->saved_face_id.
219 (next_element_from_ellipsis): Use setup_for_ellipsis.
220
2212004-11-26 Eli Zaretskii <eliz@gnu.org>
222
223 * eval.c (Fdefvar): Declare pdl from last change as `volatile' to
224 prevent compiler warnings.
225
2262004-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
227
228 * keyboard.c (command_loop_1): Print a message describing the key
229 the user just pressed when this key has no binding.
230
231 * sysdep.c (sys_signal): Don't use SA_RESTART if SYNC_INPUT is set.
232 (emacs_open, emacs_read, emacs_write): Check QUIT when interrupted.
233
234 * lread.c (readchar): Check QUIT when `getc' is interrupted.
235
2362004-11-24 Richard M. Stallman <rms@gnu.org>
237
238 * coding.c (run_pre_post_conversion_on_str): Bind Qinhibit_read_only.
239
240 * buffer.c (syms_of_buffer) <indicate-buffer-boundaries>: Doc fix.
241
2422004-11-24 Kim F. Storm <storm@cua.dk>
243
244 * xdisp.c (move_it_in_display_line_to, display_line):
245 Restore saved_face_id also when truncate-lines or hscrolled.
246
2472004-11-23 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
248
249 * gtkutil.c (xg_get_file_name): Rename use-old-gtk-file-dialog to
250 x-use-old-gtk-file-dialog.
251
252 * xfns.c: Define x_use_old_gtk_file_dialog.
253 (syms_of_xfns): Rename use-old-gtk-file-dialog to x-... Move it
254 outside ifdef USE_GTK.
255
2562004-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
257
258 * coding.h (ENCODE_FILE, DECODE_FILE, ENCODE_SYSTEM, DECODE_SYSTEM):
259 Don't use XFASTINT blindly.
260
261 * config.in (RE_TRANSLATE_P): Don't use XFASTINT blindly.
262
263 * indent.c (skip_invisible): Avoid non-idempotent side-effects
264 in macro arguments.
265
266 * keymap.c (Flookup_key): Check INTEGERP before XINT.
267
268 * lread.c (oblookup): Don't use XFASTINT blindly.
269
270 * window.c (Fset_window_scroll_bars): Don't use XINT if it isn't int.
271 (decode_next_window_args, window_loop): Don't use XFASTINT blindly.
272
2732004-11-23 Kim F. Storm <storm@cua.dk>
274
275 * dispextern.h (MATRIX_ROW_ENDS_IN_MIDDLE_OF_CHAR_P)
276 (MATRIX_ROW_STARTS_IN_MIDDLE_OF_CHAR_P): Not if dpvec_index is zero.
277
278 * xfaces.c (lookup_named_face): Add signal_p arg. Return -1 if
279 signal_p is zero and face name is unknown.
280 (Fx_list_fonts): Don't signal error in lookup_named_face.
281 (Fface_font): Signal error in lookup_named_face.
282 (ascii_face_of_lisp_face): Likewise.
283
284 * dispextern.h (lookup_named_face): Fix prototype.
285
286 * xdisp.c (handle_single_display_prop): Don't signal error in
287 lookup_named_face for unknown fringe face name.
288 (highlight_trailing_whitespace): Don't signal error in
289 lookup_named_face if trailing-whitespace face unknown.
290 (calc_line_height_property): Don't signal error in
291 lookup_named_face if specified face name is unknown.
292
293 * fringe.c (update_window_fringes): Show top row indicator if
294 window has header-line. Don't show arrow at bob and eob
295 if the boundary indicators are not used.
296 (Fset_fringe_bitmap_face): Signal error in lookup_named_face.
297
298 * window.c (set_window_buffer): Clear display_error_modiff.
299
3002004-11-22 Kim F. Storm <storm@cua.dk>
301
302 * fringe.c (update_window_fringes): Provide sensible fall-back
303 value for non-nil indicate-buffer-boundaries setting.
304
3052004-11-22 Markus Rost <rost@ias.edu>
306
307 * minibuf.c (Fminibuffer_complete_and_exit): Fix previous change.
308
3092004-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
310
311 * eval.c (Fdefvar): Warn when var is let-bound but globally void.
312
12004-11-21 Kim F. Storm <storm@cua.dk> 3132004-11-21 Kim F. Storm <storm@cua.dk>
2 314
3 * xdisp.c (erase_phys_cursor): Clear hollow cursor inside TEXT_AREA. 315 * xdisp.c (erase_phys_cursor): Clear hollow cursor inside TEXT_AREA.
@@ -11,9 +323,9 @@
11 * macterm.c (x_clip_to_row): Add area arg. Callers changed. 323 * macterm.c (x_clip_to_row): Add area arg. Callers changed.
12 (x_draw_hollow_cursor, x_draw_bar_cursor): Clip to TEXT_AREA. 324 (x_draw_hollow_cursor, x_draw_bar_cursor): Clip to TEXT_AREA.
13 325
14 * xdisp.c (move_it_in_display_line_to, display_line): Restore 326 * xdisp.c (move_it_in_display_line_to, display_line):
15 saved_face_id if overflow-newline-into-fringe is enabled and line 327 Restore saved_face_id if overflow-newline-into-fringe is enabled and
16 is continued before or in middle of element from display vector. 328 line is continued before or in middle of element from display vector.
17 329
18 * indent.c (Fvertical_motion): Fix last change. Use another 330 * indent.c (Fvertical_motion): Fix last change. Use another
19 method to detect if iterator moved too far ahead after reseat. 331 method to detect if iterator moved too far ahead after reseat.
@@ -27,8 +339,7 @@
27 339
282004-11-20 Luc Teirlinck <teirllm@auburn.edu> 3402004-11-20 Luc Teirlinck <teirllm@auburn.edu>
29 341
30 * fns.c (Fyes_or_no_p): Call Fread_from_minibuffer with extra 342 * fns.c (Fyes_or_no_p): Call Fread_from_minibuffer with extra argument.
31 argument.
32 * callint.c (Fcall_interactively): Ditto. 343 * callint.c (Fcall_interactively): Ditto.
33 344
342004-11-20 Stefan Monnier <monnier@iro.umontreal.ca> 3452004-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
@@ -44,7 +355,7 @@
44 (Fread_from_minibuffer): New arg KEEP_ALL. Callers changed. 355 (Fread_from_minibuffer): New arg KEEP_ALL. Callers changed.
45 356
46 * search.c (Vsearch_spaces_regexp): 357 * search.c (Vsearch_spaces_regexp):
47 Renamed from Vsearch_whitespace_regexp. All uses changed. 358 Rename from Vsearch_whitespace_regexp. All uses changed.
48 359
492004-11-20 Thien-Thi Nguyen <ttn@gnu.org> 3602004-11-20 Thien-Thi Nguyen <ttn@gnu.org>
50 361
@@ -86,8 +397,7 @@
86 397
872004-11-16 Jan Dj,Ad(Brv <jan.h.d@swipnet.se> 3982004-11-16 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
88 399
89 * gtkutil.c (xg_get_file_name): Fix typo in 400 * gtkutil.c (xg_get_file_name): Typo in HAVE_GTK_FILE_SELECTION_NEW.
90 HAVE_GTK_FILE_SELECTION_NEW.
91 401
92 * xmenu.c (x_menu_in_use): Remove. 402 * xmenu.c (x_menu_in_use): Remove.
93 (x_menu_set_in_use): Also set popup_activated_flag. 403 (x_menu_set_in_use): Also set popup_activated_flag.
@@ -6340,7 +6650,7 @@
6340 6650
63412003-06-01 David Ponce <david@dponce.com> 66512003-06-01 David Ponce <david@dponce.com>
6342 6652
6343 * termhooks.h (enum event_kind): Added new WHEEL_EVENT event. 6653 * termhooks.h (enum event_kind): Add new WHEEL_EVENT event.
6344 Declare MOUSE_WHEEL_EVENT only if MAC_OSX defined. 6654 Declare MOUSE_WHEEL_EVENT only if MAC_OSX defined.
6345 6655
6346 * keyboard.c (Qmouse_wheel): Declare only if MAC_OSX defined. 6656 * keyboard.c (Qmouse_wheel): Declare only if MAC_OSX defined.
@@ -6348,8 +6658,7 @@
6348 (discard_mouse_events): Discard WHEEL_EVENT events too. 6658 (discard_mouse_events): Discard WHEEL_EVENT events too.
6349 (lispy_wheel_names, wheel_syms): New. 6659 (lispy_wheel_names, wheel_syms): New.
6350 (syms_of_keyboard): Init and staticpro `wheel_syms'. Init and 6660 (syms_of_keyboard): Init and staticpro `wheel_syms'. Init and
6351 staticpro `Qmouse_wheel' and `mouse_wheel_syms' only if MAC_OSX 6661 staticpro `Qmouse_wheel' and `mouse_wheel_syms' only if MAC_OSX defined.
6352 defined.
6353 (make_lispy_event): Add WHEEL_EVENT handler. 6662 (make_lispy_event): Add WHEEL_EVENT handler.
6354 6663
6355 * w32term.c (construct_mouse_wheel): Construct WHEEL_EVENT. 6664 * w32term.c (construct_mouse_wheel): Construct WHEEL_EVENT.
@@ -6391,8 +6700,7 @@
6391 6700
6392 * ccl.h (struct ccl_program) <eight_bit_control>: Comment fixed. 6701 * ccl.h (struct ccl_program) <eight_bit_control>: Comment fixed.
6393 6702
6394 * ccl.c (CCL_WRITE_CHAR): Increment extra_bytes only when it is 6703 * ccl.c (CCL_WRITE_CHAR): Increment extra_bytes only when it is nonzero.
6395 nonzero.
6396 (ccl_driver): Initialize extra_bytes to ccl->eight_bit_control. 6704 (ccl_driver): Initialize extra_bytes to ccl->eight_bit_control.
6397 (setup_ccl_program): Initialize ccl->eight_bit_control to zero. 6705 (setup_ccl_program): Initialize ccl->eight_bit_control to zero.
6398 6706
@@ -6408,19 +6716,18 @@
6408 6716
64092003-05-28 Kenichi Handa <handa@m17n.org> 67172003-05-28 Kenichi Handa <handa@m17n.org>
6410 6718
6411 * coding.c (ENCODE_UNSAFE_CHARACTER): Adjusted for the name change 6719 * coding.c (ENCODE_UNSAFE_CHARACTER): Adjust for the name change
6412 of CODING_REPLACEMENT_CHARACTER. 6720 of CODING_REPLACEMENT_CHARACTER.
6413 (decode_coding_iso2022): If CODING_FLAG_ISO_SAFE, set 6721 (decode_coding_iso2022): If CODING_FLAG_ISO_SAFE, set
6414 CODING_MODE_INHIBIT_UNENCODABLE_CHAR flag in coding->mode, and 6722 CODING_MODE_INHIBIT_UNENCODABLE_CHAR flag in coding->mode, and
6415 check this flag on encoding. 6723 check this flag on encoding.
6416 (encode_coding_sjis_big5): Check 6724 (encode_coding_sjis_big5):
6417 CODING_MODE_INHIBIT_UNENCODABLE_CHAR flag of coding->mode. 6725 Check CODING_MODE_INHIBIT_UNENCODABLE_CHAR flag of coding->mode.
6418 (Fset_terminal_coding_system_internal): Set 6726 (Fset_terminal_coding_system_internal):
6419 CODING_MODE_INHIBIT_UNENCODABLE_CHAR flag in terminal_coding.mode 6727 Set CODING_MODE_INHIBIT_UNENCODABLE_CHAR flag in terminal_coding.mode
6420 instead of setting CODING_FLAG_ISO_SAFE flag in 6728 instead of setting CODING_FLAG_ISO_SAFE flag in terminal_coding.flags.
6421 terminal_coding.flags. 6729
6422 6730 * coding.h (CODING_REPLACEMENT_CHARACTER): Rename from
6423 * coding.h (CODING_REPLACEMENT_CHARACTER): Renamed from
6424 CODING_INHIBIT_CHARACTER_SUBSTITUTION. 6731 CODING_INHIBIT_CHARACTER_SUBSTITUTION.
6425 (CODING_MODE_INHIBIT_UNENCODABLE_CHAR): New macro. 6732 (CODING_MODE_INHIBIT_UNENCODABLE_CHAR): New macro.
6426 6733
@@ -6562,65 +6869,65 @@
6562 (struct frame): New member scroll_bar_actual_width which 6869 (struct frame): New member scroll_bar_actual_width which
6563 consolidates and renames the vertical_scroll_bar_extra member of 6870 consolidates and renames the vertical_scroll_bar_extra member of
6564 x_output, w32_output, and mac_output structures. All uses changed. 6871 x_output, w32_output, and mac_output structures. All uses changed.
6565 (FRAME_PIXEL_HEIGHT): Renamed from PIXEL_HEIGHT and moved 6872 (FRAME_PIXEL_HEIGHT): Rename from PIXEL_HEIGHT and moved
6566 from x/w32/macterm.h files. All uses changed. Also change code 6873 from x/w32/macterm.h files. All uses changed. Also change code
6567 which referred to f->output_data...->pixel_height. 6874 which referred to f->output_data...->pixel_height.
6568 (FRAME_PIXEL_WIDTH): Renamed from PIXEL_WIDTH and moved 6875 (FRAME_PIXEL_WIDTH): Rename from PIXEL_WIDTH and moved
6569 from x/w32/macterm.h files. All uses changed. Also change code 6876 from x/w32/macterm.h files. All uses changed. Also change code
6570 which referred to f->output_data...->pixel_width. 6877 which referred to f->output_data...->pixel_width.
6571 (FRAME_LINES): Renamed from FRAME_HEIGHT. All uses changed. 6878 (FRAME_LINES): Rename from FRAME_HEIGHT. All uses changed.
6572 Also change code which referred to f->height. 6879 Also change code which referred to f->height.
6573 (FRAME_COLS): Renamed from FRAME_WIDTH. All uses changed. 6880 (FRAME_COLS): Rename from FRAME_WIDTH. All uses changed.
6574 Also change code which referred to f->width. 6881 Also change code which referred to f->width.
6575 (FRAME_NEW_HEIGHT, FRAME_NEW_WIDTH): Remove macros; change uses 6882 (FRAME_NEW_HEIGHT, FRAME_NEW_WIDTH): Remove macros; change uses
6576 to update new_text_lines and new_text_cols members directly. 6883 to update new_text_lines and new_text_cols members directly.
6577 (FRAME_CONFIG_SCROLL_BAR_WIDTH): Renamed from 6884 (FRAME_CONFIG_SCROLL_BAR_WIDTH): Rename from
6578 FRAME_SCROLL_BAR_PIXEL_WIDTH. All uses changed. 6885 FRAME_SCROLL_BAR_PIXEL_WIDTH. All uses changed.
6579 (FRAME_CONFIG_SCROLL_BAR_COLS): Renamed from 6886 (FRAME_CONFIG_SCROLL_BAR_COLS): Rename from
6580 FRAME_SCROLL_BAR_COLS. All uses changed. 6887 FRAME_SCROLL_BAR_COLS. All uses changed.
6581 (FRAME_LEFT_SCROLL_BAR_COLS, FRAME_RIGHT_SCROLL_BAR_COLS): 6888 (FRAME_LEFT_SCROLL_BAR_COLS, FRAME_RIGHT_SCROLL_BAR_COLS):
6582 Renamed from FRAME_LEFT_SCROLL_BAR_WIDTH and 6889 Rename from FRAME_LEFT_SCROLL_BAR_WIDTH and
6583 FRAME_RIGHT_SCROLL_BAR_WIDTH, resp. All uses changed. 6890 FRAME_RIGHT_SCROLL_BAR_WIDTH, resp. All uses changed.
6584 (FRAME_SCROLL_BAR_AREA_WIDTH, FRAME_LEFT_SCROLL_BAR_AREA_WIDTH) 6891 (FRAME_SCROLL_BAR_AREA_WIDTH, FRAME_LEFT_SCROLL_BAR_AREA_WIDTH)
6585 (FRAME_RIGHT_SCROLL_BAR_AREA_WIDTH): New macros. 6892 (FRAME_RIGHT_SCROLL_BAR_AREA_WIDTH): New macros.
6586 (FRAME_TOTAL_COLS): Renamed from FRAME_WINDOW_WIDTH. 6893 (FRAME_TOTAL_COLS): Rename from FRAME_WINDOW_WIDTH.
6587 (SET_FRAME_COLS): Renamed from SET_FRAME_WIDTH. 6894 (SET_FRAME_COLS): Rename from SET_FRAME_WIDTH.
6588 (FRAME_TOTAL_COLS_ARG): Renamed from FRAME_WINDOW_WIDTH_ARG. 6895 (FRAME_TOTAL_COLS_ARG): Rename from FRAME_WINDOW_WIDTH_ARG.
6589 (WINDOW_VERTICAL_SCROLL_BAR_COLUMN): Remove unused macro. 6896 (WINDOW_VERTICAL_SCROLL_BAR_COLUMN): Remove unused macro.
6590 (WINDOW_VERTICAL_SCROLL_BAR_HEIGHT): Remove unused macro. 6897 (WINDOW_VERTICAL_SCROLL_BAR_HEIGHT): Remove unused macro.
6591 (FRAME_LINE_HEIGHT): Renamed from CANON_Y_UNIT. Unconditionally 6898 (FRAME_LINE_HEIGHT): Rename from CANON_Y_UNIT.
6592 return line_height member (it now has proper value also for 6899 Unconditionally return line_height member (it now has proper value
6593 non-window frames). 6900 also for non-window frames).
6594 (FRAME_COLUMN_WIDTH): Renamed from CANON_X_UNIT. Unconditionally 6901 (FRAME_COLUMN_WIDTH): Rename from CANON_X_UNIT. Unconditionally
6595 return new column_width member (rather than the default font width). 6902 return new column_width member (rather than the default font width).
6596 (FRAME_FRINGE_COLS, FRAME_LEFT_FRINGE_WIDTH) 6903 (FRAME_FRINGE_COLS, FRAME_LEFT_FRINGE_WIDTH)
6597 (FRAME_RIGHT_FRINGE_WIDTH): Renamed from FRAME_X_... and moved 6904 (FRAME_RIGHT_FRINGE_WIDTH): Rename from FRAME_X_... and moved
6598 from x/w32/macterm.h files. Unconditionally return corresponding 6905 from x/w32/macterm.h files. Unconditionally return corresponding
6599 member of frame structure (they now have proper values also for 6906 member of frame structure (they now have proper values also for
6600 non-window frames). 6907 non-window frames).
6601 (FRAME_TOTAL_FRINGE_WIDTH): Renamed from FRAME_FRINGE_WIDTH. 6908 (FRAME_TOTAL_FRINGE_WIDTH): Rename from FRAME_FRINGE_WIDTH.
6602 Calculate return value from left and right widths. 6909 Calculate return value from left and right widths.
6603 (FRAME_INTERNAL_BORDER_WIDTH): Unconditionally return 6910 (FRAME_INTERNAL_BORDER_WIDTH): Unconditionally return
6604 internal_border_width member (has proper value for non-window frame). 6911 internal_border_width member (has proper value for non-window frame).
6605 (FRAME_PIXEL_X_FROM_CANON_X): Renamed from PIXEL_X_FROM_CANON_X. 6912 (FRAME_PIXEL_X_FROM_CANON_X): Rename from PIXEL_X_FROM_CANON_X.
6606 (FRAME_PIXEL_Y_FROM_CANON_Y): Renamed from PIXEL_Y_FROM_CANON_Y. 6913 (FRAME_PIXEL_Y_FROM_CANON_Y): Rename from PIXEL_Y_FROM_CANON_Y.
6607 (FRAME_CANON_X_FROM_PIXEL_X): Renamed from CANON_X_FROM_PIXEL_X. 6914 (FRAME_CANON_X_FROM_PIXEL_X): Rename from CANON_X_FROM_PIXEL_X.
6608 (FRAME_CANON_Y_FROM_PIXEL_Y): Renamed from CANON_Y_FROM_PIXEL_Y. 6915 (FRAME_CANON_Y_FROM_PIXEL_Y): Rename from CANON_Y_FROM_PIXEL_Y.
6609 (FRAME_LINE_TO_PIXEL_Y): Renamed from CHAR_TO_PIXEL_ROW, 6916 (FRAME_LINE_TO_PIXEL_Y): Rename from CHAR_TO_PIXEL_ROW,
6610 consolidated from xterm.h, macterm.h, and w32term.h. 6917 consolidated from xterm.h, macterm.h, and w32term.h.
6611 (FRAME_COL_TO_PIXEL_X): Renamed from CHAR_TO_PIXEL_COL, 6918 (FRAME_COL_TO_PIXEL_X): Rename from CHAR_TO_PIXEL_COL,
6612 consolidated from xterm.h, macterm.h, and w32term.h. 6919 consolidated from xterm.h, macterm.h, and w32term.h.
6613 (FRAME_TEXT_COLS_TO_PIXEL_WIDTH): Renamed from 6920 (FRAME_TEXT_COLS_TO_PIXEL_WIDTH): Rename from
6614 CHAR_TO_PIXEL_WIDTH consolidated from x/mac/w32term.h. 6921 CHAR_TO_PIXEL_WIDTH consolidated from x/mac/w32term.h.
6615 (FRAME_TEXT_LINES_TO_PIXEL_HEIGHT): Renamed from 6922 (FRAME_TEXT_LINES_TO_PIXEL_HEIGHT): Rename from
6616 CHAR_TO_PIXEL_HEIGHT consolidated from x/mac/w32term.h. 6923 CHAR_TO_PIXEL_HEIGHT consolidated from x/mac/w32term.h.
6617 (FRAME_PIXEL_Y_TO_LINE): Renamed from PIXEL_TO_CHAR_ROW 6924 (FRAME_PIXEL_Y_TO_LINE): Rename from PIXEL_TO_CHAR_ROW
6618 consolidated from x/mac/w32term.h. 6925 consolidated from x/mac/w32term.h.
6619 (FRAME_PIXEL_X_TO_COL): Renamed from PIXEL_TO_CHAR_COL 6926 (FRAME_PIXEL_X_TO_COL): Rename from PIXEL_TO_CHAR_COL
6620 consolidated from x/mac/w32term.h. 6927 consolidated from x/mac/w32term.h.
6621 (FRAME_PIXEL_WIDTH_TO_TEXT_COLS): Renamed from 6928 (FRAME_PIXEL_WIDTH_TO_TEXT_COLS): Rename from
6622 PIXEL_TO_CHAR_WIDTH consolidated from x/mac/w32term.h. 6929 PIXEL_TO_CHAR_WIDTH consolidated from x/mac/w32term.h.
6623 (FRAME_PIXEL_HEIGHT_TO_TEXT_LINES): Renamed from 6930 (FRAME_PIXEL_HEIGHT_TO_TEXT_LINES): Rename from
6624 PIXEL_TO_CHAR_HEIGHT consolidated from x/mac/w32term.h. 6931 PIXEL_TO_CHAR_HEIGHT consolidated from x/mac/w32term.h.
6625 6932
6626 * window.h (struct window): Rename members left to left_col, 6933 * window.h (struct window): Rename members left to left_col,
@@ -6642,7 +6949,7 @@
6642 referred to XINT (w->height) * canon_y_unit. 6949 referred to XINT (w->height) * canon_y_unit.
6643 (WINDOW_LEFT_EDGE_COL): New macro. Change relevant code that 6950 (WINDOW_LEFT_EDGE_COL): New macro. Change relevant code that
6644 referred to XINT (w->left). 6951 referred to XINT (w->left).
6645 (WINDOW_RIGHT_EDGE_COL): Renamed from WINDOW_RIGHT_EDGE. Change 6952 (WINDOW_RIGHT_EDGE_COL): Rename from WINDOW_RIGHT_EDGE. Change
6646 all uses and code that referred to XINT (w->left) + XINT (w->width). 6953 all uses and code that referred to XINT (w->left) + XINT (w->width).
6647 (WINDOW_TOP_EDGE_LINE): New macro. Change relevant code that 6954 (WINDOW_TOP_EDGE_LINE): New macro. Change relevant code that
6648 referred to XINT (w->top). 6955 referred to XINT (w->top).
@@ -6657,14 +6964,14 @@
6657 (WINDOW_BOTTOM_EDGE_Y): New macro. Change relevant code that 6964 (WINDOW_BOTTOM_EDGE_Y): New macro. Change relevant code that
6658 referred to (XINT (w->top) + XINT (w->height)) * canon_y_unit. 6965 referred to (XINT (w->top) + XINT (w->height)) * canon_y_unit.
6659 (WINDOW_LEFTMOST_P): New macro. 6966 (WINDOW_LEFTMOST_P): New macro.
6660 (WINDOW_BOX_LEFT_EDGE_COL): Renamed from WINDOW_LEFT_MARGIN. 6967 (WINDOW_BOX_LEFT_EDGE_COL): Rename from WINDOW_LEFT_MARGIN.
6661 All uses changed. 6968 All uses changed.
6662 (WINDOW_BOX_RIGHT_EDGE_COL): Renamed from WINDOW_RIGHT_MARGIN. 6969 (WINDOW_BOX_RIGHT_EDGE_COL): Rename from WINDOW_RIGHT_MARGIN.
6663 All uses changed. 6970 All uses changed.
6664 (WINDOW_BOX_LEFT_EDGE_X): Renamed from 6971 (WINDOW_BOX_LEFT_EDGE_X): Rename from
6665 WINDOW_DISPLAY_LEFT_EDGE_PIXEL_X, moved from dispextern.h. 6972 WINDOW_DISPLAY_LEFT_EDGE_PIXEL_X, moved from dispextern.h.
6666 Do not exclude left fringe width. 6973 Do not exclude left fringe width.
6667 (WINDOW_BOX_RIGHT_EDGE_X): Renamed from 6974 (WINDOW_BOX_RIGHT_EDGE_X): Rename from
6668 WINDOW_DISPLAY_RIGHT_EDGE_PIXEL_X, moved from dispextern.h. 6975 WINDOW_DISPLAY_RIGHT_EDGE_PIXEL_X, moved from dispextern.h.
6669 Do not exclude fringe widths. 6976 Do not exclude fringe widths.
6670 (WINDOW_LEFT_FRINGE_WIDTH, WINDOW_RIGHT_FRINGE_WIDTH) 6977 (WINDOW_LEFT_FRINGE_WIDTH, WINDOW_RIGHT_FRINGE_WIDTH)
@@ -6691,18 +6998,18 @@
6691 FRAME_SCROLL_BAR_WIDTH. 6998 FRAME_SCROLL_BAR_WIDTH.
6692 (WINDOW_SCROLL_BAR_COLS, WINDOW_SCROLL_BAR_AREA_WIDTH) 6999 (WINDOW_SCROLL_BAR_COLS, WINDOW_SCROLL_BAR_AREA_WIDTH)
6693 (WINDOW_SCROLL_BAR_AREA_X): New macros. 7000 (WINDOW_SCROLL_BAR_AREA_X): New macros.
6694 (WINDOW_HEADER_LINE_HEIGHT): Renamed from 7001 (WINDOW_HEADER_LINE_HEIGHT): Rename from
6695 WINDOW_DISPLAY_HEADER_LINE_HEIGHT, moved from dispextern.h. 7002 WINDOW_DISPLAY_HEADER_LINE_HEIGHT, moved from dispextern.h.
6696 (WINDOW_BOX_HEIGHT_NO_MODE_LINE): Renamed from 7003 (WINDOW_BOX_HEIGHT_NO_MODE_LINE): Rename from
6697 WINDOW_DISPLAY_HEIGHT_NO_MODE_LINE, moved from dispextern.h. 7004 WINDOW_DISPLAY_HEIGHT_NO_MODE_LINE, moved from dispextern.h.
6698 (WINDOW_BOX_TEXT_HEIGHT): Renamed from 7005 (WINDOW_BOX_TEXT_HEIGHT): Rename from
6699 WINDOW_DISPLAY_PIXEL_WIDTH, moved from dispextern.h. 7006 WINDOW_DISPLAY_PIXEL_WIDTH, moved from dispextern.h.
6700 (WINDOW_TO_FRAME_PIXEL_X, WINDOW_TO_FRAME_PIXEL_Y) 7007 (WINDOW_TO_FRAME_PIXEL_X, WINDOW_TO_FRAME_PIXEL_Y)
6701 (FRAME_TO_WINDOW_PIXEL_X, FRAME_TO_WINDOW_PIXEL_Y) 7008 (FRAME_TO_WINDOW_PIXEL_X, FRAME_TO_WINDOW_PIXEL_Y)
6702 (WINDOW_TEXT_TO_FRAME_PIXEL_X): Moved here from dispextern.h. 7009 (WINDOW_TEXT_TO_FRAME_PIXEL_X): Move here from dispextern.h.
6703 (WINDOW_LEFT_MARGIN_WIDTH): Renamed from 7010 (WINDOW_LEFT_MARGIN_WIDTH): Rename from
6704 WINDOW_DISPLAY_LEFT_AREA_PIXEL_WIDTH, moved from dispextern.h. 7011 WINDOW_DISPLAY_LEFT_AREA_PIXEL_WIDTH, moved from dispextern.h.
6705 (WINDOW_RIGHT_MARGIN_WIDTH): Renamed from 7012 (WINDOW_RIGHT_MARGIN_WIDTH): Rename from
6706 WINDOW_DISPLAY_RIGHT_AREA_PIXEL_WIDTH, moved from dispextern.h. 7013 WINDOW_DISPLAY_RIGHT_AREA_PIXEL_WIDTH, moved from dispextern.h.
6707 (window_from_coordinates): Update prototype. 7014 (window_from_coordinates): Update prototype.
6708 (Fset_window_buffer): Update EXFUN. 7015 (Fset_window_buffer): Update EXFUN.
@@ -6796,7 +7103,7 @@
6796 left_margin_cols, right_margin_cols, left_fringe_width, 7103 left_margin_cols, right_margin_cols, left_fringe_width,
6797 right_fringe_width, fringes_outside_margins, scroll_bar_width, 7104 right_fringe_width, fringes_outside_margins, scroll_bar_width,
6798 and vertical_scroll_bar_type. 7105 and vertical_scroll_bar_type.
6799 (coordinates_in_window): Adapted to new fringe/margin positions 7106 (coordinates_in_window): Adapt to new fringe/margin positions
6800 and per-window fringes and scroll-bars. 7107 and per-window fringes and scroll-bars.
6801 Fix bug related to incorrectly adjusting coordinates by 7108 Fix bug related to incorrectly adjusting coordinates by
6802 frame's internal_border_width (the effect normally negible since 7109 frame's internal_border_width (the effect normally negible since
@@ -6831,7 +7138,7 @@
6831 narrow. This fixes a bug which could cause Emacs to trap if the 7138 narrow. This fixes a bug which could cause Emacs to trap if the
6832 width of the split window was less than the width of the display 7139 width of the split window was less than the width of the display
6833 margins. 7140 margins.
6834 (window_box_text_cols): Renamed from window_internal_width. 7141 (window_box_text_cols): Rename from window_internal_width.
6835 All uses changed. Adapt to per-window fringes and scroll bars. 7142 All uses changed. Adapt to per-window fringes and scroll bars.
6836 Fix bug that caused vertical separator to be subtracted also on 7143 Fix bug that caused vertical separator to be subtracted also on
6837 window frames. Fix another bug that did not reduce the returned 7144 window frames. Fix another bug that did not reduce the returned
@@ -6863,8 +7170,7 @@
6863 the width of the window. 7170 the width of the window.
6864 (Fset_window_fringes): New defun to allow user to specifically set 7171 (Fset_window_fringes): New defun to allow user to specifically set
6865 this window's fringe widths and position vs. display margins. 7172 this window's fringe widths and position vs. display margins.
6866 (Fwindow_fringes): New defun to return window's actual fringe 7173 (Fwindow_fringes): New defun to return window's actual fringe settings.
6867 settings.
6868 (Fset_window_scroll_bars): New defun to allow user to specifically 7174 (Fset_window_scroll_bars): New defun to allow user to specifically
6869 set this window's scroll bar width and position. 7175 set this window's scroll bar width and position.
6870 (Fwindow_scroll_bars): New defun to return window's actual scroll 7176 (Fwindow_scroll_bars): New defun to return window's actual scroll
@@ -6931,17 +7237,16 @@
6931 (FRAME_DEFAULT_FONT_WIDTH): Remove macro. 7237 (FRAME_DEFAULT_FONT_WIDTH): Remove macro.
6932 (PIXEL_WIDTH, PIXEL_HEIGHT) 7238 (PIXEL_WIDTH, PIXEL_HEIGHT)
6933 (FRAME_X_FRINGE_COLS, FRAME_X_FRINGE_WIDTH) 7239 (FRAME_X_FRINGE_COLS, FRAME_X_FRINGE_WIDTH)
6934 (FRAME_X_LEFT_FRINGE_WIDTH, FRAME_X_RIGHT_FRINGE_WIDTH): Moved to 7240 (FRAME_X_LEFT_FRINGE_WIDTH, FRAME_X_RIGHT_FRINGE_WIDTH): Move to
6935 frame.h and renamed [see frame.h changes]. 7241 frame.h and renamed [see frame.h changes].
6936 (CHAR_TO_PIXEL_ROW, CHAR_TO_PIXEL_COL, CHAR_TO_PIXEL_WIDTH) 7242 (CHAR_TO_PIXEL_ROW, CHAR_TO_PIXEL_COL, CHAR_TO_PIXEL_WIDTH)
6937 (CHAR_TO_PIXEL_HEIGHT, PIXEL_TO_CHAR_ROW, PIXEL_TO_CHAR_COL) 7243 (CHAR_TO_PIXEL_HEIGHT, PIXEL_TO_CHAR_ROW, PIXEL_TO_CHAR_COL)
6938 (PIXEL_TO_CHAR_WIDTH, PIXEL_TO_CHAR_HEIGHT): Moved to frame.h 7244 (PIXEL_TO_CHAR_WIDTH, PIXEL_TO_CHAR_HEIGHT): Move to frame.h
6939 and renamed [see frame.h changes]. 7245 and renamed [see frame.h changes].
6940 7246
6941 * xterm.c: Make (several) trivial substitutions for renamed and 7247 * xterm.c: Make (several) trivial substitutions for renamed and
6942 new macros in dispextern.h, frame.h and window.h. 7248 new macros in dispextern.h, frame.h and window.h.
6943 (x_draw_glyph_string_box): Adapt to per-window fringes and 7249 (x_draw_glyph_string_box): Adapt to per-window fringes and scroll-bars.
6944 scroll-bars.
6945 (scroll_run): Adapt to new fringe position. 7250 (scroll_run): Adapt to new fringe position.
6946 (glyph_rect): Use window coordinates returned from 7251 (glyph_rect): Use window coordinates returned from
6947 window_from_coordinates rather than frame_to_window_pixel_xy. 7252 window_from_coordinates rather than frame_to_window_pixel_xy.
@@ -6965,17 +7270,16 @@
6965 (FRAME_DEFAULT_FONT_WIDTH): Remove macro. 7270 (FRAME_DEFAULT_FONT_WIDTH): Remove macro.
6966 (PIXEL_WIDTH, PIXEL_HEIGHT) 7271 (PIXEL_WIDTH, PIXEL_HEIGHT)
6967 (FRAME_X_FRINGE_COLS, FRAME_X_FRINGE_WIDTH) 7272 (FRAME_X_FRINGE_COLS, FRAME_X_FRINGE_WIDTH)
6968 (FRAME_X_LEFT_FRINGE_WIDTH, FRAME_X_RIGHT_FRINGE_WIDTH): Moved to 7273 (FRAME_X_LEFT_FRINGE_WIDTH, FRAME_X_RIGHT_FRINGE_WIDTH): Move to
6969 frame.h and renamed [see frame.h changes]. 7274 frame.h and renamed [see frame.h changes].
6970 (CHAR_TO_PIXEL_ROW, CHAR_TO_PIXEL_COL, CHAR_TO_PIXEL_WIDTH) 7275 (CHAR_TO_PIXEL_ROW, CHAR_TO_PIXEL_COL, CHAR_TO_PIXEL_WIDTH)
6971 (CHAR_TO_PIXEL_HEIGHT, PIXEL_TO_CHAR_ROW, PIXEL_TO_CHAR_COL) 7276 (CHAR_TO_PIXEL_HEIGHT, PIXEL_TO_CHAR_ROW, PIXEL_TO_CHAR_COL)
6972 (PIXEL_TO_CHAR_WIDTH, PIXEL_TO_CHAR_HEIGHT): Moved to frame.h 7277 (PIXEL_TO_CHAR_WIDTH, PIXEL_TO_CHAR_HEIGHT): Move to frame.h
6973 and renamed [see frame.h changes]. 7278 and renamed [see frame.h changes].
6974 7279
6975 * w32term.c: Make (several) trivial substitutions for renamed and 7280 * w32term.c: Make (several) trivial substitutions for renamed and
6976 new macros in dispextern.h, frame.h and window.h. 7281 new macros in dispextern.h, frame.h and window.h.
6977 (x_draw_glyph_string_box): Adapt to per-window fringes and 7282 (x_draw_glyph_string_box): Adapt to per-window fringes and scroll-bars.
6978 scroll-bars.
6979 (glyph_rect): Use window coordinates returned from 7283 (glyph_rect): Use window coordinates returned from
6980 window_from_coordinates rather than frame_to_window_pixel_xy. 7284 window_from_coordinates rather than frame_to_window_pixel_xy.
6981 (XTset_vertical_scroll_bar): Adapt to per-window fringes and 7285 (XTset_vertical_scroll_bar): Adapt to per-window fringes and
@@ -7006,17 +7310,16 @@
7006 (FRAME_DEFAULT_FONT_WIDTH): Remove macro. 7310 (FRAME_DEFAULT_FONT_WIDTH): Remove macro.
7007 (PIXEL_WIDTH, PIXEL_HEIGHT) 7311 (PIXEL_WIDTH, PIXEL_HEIGHT)
7008 (FRAME_X_FRINGE_COLS, FRAME_X_FRINGE_WIDTH) 7312 (FRAME_X_FRINGE_COLS, FRAME_X_FRINGE_WIDTH)
7009 (FRAME_X_LEFT_FRINGE_WIDTH, FRAME_X_RIGHT_FRINGE_WIDTH): Moved to 7313 (FRAME_X_LEFT_FRINGE_WIDTH, FRAME_X_RIGHT_FRINGE_WIDTH): Move to
7010 frame.h and renamed [see frame.h changes]. 7314 frame.h and renamed [see frame.h changes].
7011 (CHAR_TO_PIXEL_ROW, CHAR_TO_PIXEL_COL, CHAR_TO_PIXEL_WIDTH) 7315 (CHAR_TO_PIXEL_ROW, CHAR_TO_PIXEL_COL, CHAR_TO_PIXEL_WIDTH)
7012 (CHAR_TO_PIXEL_HEIGHT, PIXEL_TO_CHAR_ROW, PIXEL_TO_CHAR_COL) 7316 (CHAR_TO_PIXEL_HEIGHT, PIXEL_TO_CHAR_ROW, PIXEL_TO_CHAR_COL)
7013 (PIXEL_TO_CHAR_WIDTH, PIXEL_TO_CHAR_HEIGHT): Moved to frame.h 7317 (PIXEL_TO_CHAR_WIDTH, PIXEL_TO_CHAR_HEIGHT): Move to frame.h
7014 and renamed [see frame.h changes]. 7318 and renamed [see frame.h changes].
7015 7319
7016 * macterm.c: Make (several) trivial substitutions for renamed and 7320 * macterm.c: Make (several) trivial substitutions for renamed and
7017 new macros in dispextern.h, frame.h and window.h. 7321 new macros in dispextern.h, frame.h and window.h.
7018 (x_draw_glyph_string_box): Adapt to per-window fringes and 7322 (x_draw_glyph_string_box): Adapt to per-window fringes and scroll-bars.
7019 scroll-bars.
7020 (glyph_rect): Use window coordinates returned from 7323 (glyph_rect): Use window coordinates returned from
7021 window_from_coordinates rather than frame_to_window_pixel_xy. 7324 window_from_coordinates rather than frame_to_window_pixel_xy.
7022 (XTset_vertical_scroll_bar): Adapt to per-window fringes and 7325 (XTset_vertical_scroll_bar): Adapt to per-window fringes and