diff options
| author | Stefan Monnier | 2014-09-22 15:20:45 -0400 |
|---|---|---|
| committer | Stefan Monnier | 2014-09-22 15:20:45 -0400 |
| commit | 9949231fb06aa4a2dfa536e9d5125a81424db3a7 (patch) | |
| tree | a2259e8489127b8685097a20a3fd3d7be222d9fe /src/ChangeLog | |
| parent | 298dfce8ac018aca6f8f1a38d7199cc28bfaf7fd (diff) | |
| parent | fc5ebc3f497a152132407d57a14cce147d59d29c (diff) | |
| download | emacs-9949231fb06aa4a2dfa536e9d5125a81424db3a7.tar.gz emacs-9949231fb06aa4a2dfa536e9d5125a81424db3a7.zip | |
Merge from emacs-24
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 230 |
1 files changed, 151 insertions, 79 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 5aad2f91834..09426cfbf99 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,75 @@ | |||
| 1 | 2014-09-22 Dmitry Antipov <dmantipov@yandex.ru> | ||
| 2 | |||
| 3 | On OSX, do not free font-specific data more than once (Bug#18501). | ||
| 4 | * macfont.m (macfont_close): Release and free font-specific data | ||
| 5 | only if it wasn't previously freed. | ||
| 6 | |||
| 7 | 2014-09-22 David Caldwell <david@porkrind.org> (tiny change) | ||
| 8 | |||
| 9 | * unexmacosx.c (dump_it): Improve error message. | ||
| 10 | |||
| 11 | 2014-09-22 Juri Linkov <juri@jurta.org> | ||
| 12 | |||
| 13 | * image.c (imagemagick_load_image): Add delay to imagemagick metadata. | ||
| 14 | (Bug#10747, bug#18334) | ||
| 15 | |||
| 16 | 2014-09-22 Eli Zaretskii <eliz@gnu.org> | ||
| 17 | |||
| 18 | * frame.c (Fmouse_position, Fset_mouse_position): Clarify the | ||
| 19 | units in which the position is measured. (Bug#18493) | ||
| 20 | |||
| 21 | * xdisp.c (redisplay_internal): Force redisplay of all windows | ||
| 22 | that show a buffer whose narrowing has changed. (Bug#18490) | ||
| 23 | |||
| 24 | 2014-09-22 Eli Zaretskii <eliz@gnu.org> | ||
| 25 | |||
| 26 | * xterm.c (x_draw_hollow_cursor, x_draw_bar_cursor): | ||
| 27 | * w32term.c (x_draw_hollow_cursor, x_draw_bar_cursor): In R2L | ||
| 28 | lines, draw the hollow-box and hbar cursors on the right side of | ||
| 29 | cursor-glyph. Thanks to martin rudalics <rudalics@gmx.at> for | ||
| 30 | testing on X. | ||
| 31 | |||
| 32 | * xterm.c (x_draw_stretch_glyph_string): | ||
| 33 | * w32term.c (x_draw_stretch_glyph_string): Fix a thinko that | ||
| 34 | caused the block cursor to disappear on a TAB in R2L lines in | ||
| 35 | every window except the leftmost one. Reported by Martin Rudalics | ||
| 36 | <rudalics@gmx.at>. | ||
| 37 | |||
| 38 | 2014-09-22 Dmitry Antipov <dmantipov@yandex.ru> | ||
| 39 | |||
| 40 | Always use matched specpdl entry to record call arguments (Bug#18473). | ||
| 41 | * lisp.h (record_in_backtrace): Adjust prototype. | ||
| 42 | * eval.c (record_in_backtrace): Return current specpdl level. | ||
| 43 | (set_backtrace_args, set_backtrace_nargs): Merge. Adjust all users. | ||
| 44 | (eval_sub, Ffuncall): Record call arguments in matched specpdl | ||
| 45 | entry and use that entry in call to backtrace_debug_on_exit. | ||
| 46 | (apply_lambda): Likewise. Get current specpdl level as 3rd arg. | ||
| 47 | (do_debug_on_call): Get current specpdl level as 2nd arg. | ||
| 48 | |||
| 49 | Prefer ptrdiff_t to int and avoid integer overflows. | ||
| 50 | * fileio.c (make_temp_name): | ||
| 51 | * font.c (font_parse_family_registry): Avoid integer | ||
| 52 | overflow on string size calculation. | ||
| 53 | * data.c (Faset): Likewise for byte index. | ||
| 54 | |||
| 55 | 2014-09-22 Eli Zaretskii <eliz@gnu.org> | ||
| 56 | |||
| 57 | Fix display of R2L lines in partial-width windows. | ||
| 58 | * xdisp.c (init_iterator): Don't use it->bidi_p before it is | ||
| 59 | assigned the correct value. | ||
| 60 | (extend_face_to_end_of_line): Account for truncation and | ||
| 61 | continuation glyphs in R2L rows when one of the fringes is not | ||
| 62 | displayed. | ||
| 63 | (display_line): Don't assign negative X offset to a row if we are | ||
| 64 | going to produce a truncation glyph for it. When handling | ||
| 65 | truncated R2L rows, consider the width of the left fringe instead | ||
| 66 | of the right one. | ||
| 67 | (produce_special_glyphs): Fix bogus assignments. | ||
| 68 | |||
| 69 | 2014-09-22 Eli Zaretskii <eliz@gnu.org> | ||
| 70 | |||
| 71 | * w32.c (fcntl): Support O_NONBLOCK fcntl on the write side of pipes. | ||
| 72 | |||
| 1 | 2014-09-22 Eli Zaretskii <eliz@gnu.org> | 73 | 2014-09-22 Eli Zaretskii <eliz@gnu.org> |
| 2 | 74 | ||
| 3 | * fileio.c (Fexpand_file_name) [DOS_NT]: Make sure newdirlim is | 75 | * fileio.c (Fexpand_file_name) [DOS_NT]: Make sure newdirlim is |
| @@ -103,17 +175,17 @@ | |||
| 103 | file names properly displayed. | 175 | file names properly displayed. |
| 104 | (do_play_sound) [WINDOWSNT]: Use Unicode APIs to play sound files | 176 | (do_play_sound) [WINDOWSNT]: Use Unicode APIs to play sound files |
| 105 | when w32-unicode-filenames is non-nil, but not on Windows 9X, | 177 | when w32-unicode-filenames is non-nil, but not on Windows 9X, |
| 106 | where these APIs are not available even in UNICOWS.DLL. Improve | 178 | where these APIs are not available even in UNICOWS.DLL. |
| 107 | the format of error messages and include the file name in them | 179 | Improve the format of error messages and include the file name in them |
| 108 | where appropriate. | 180 | where appropriate. |
| 109 | (Fplay_sound_internal) [WINDOWSNT]: Make the MS-Windows branch | 181 | (Fplay_sound_internal) [WINDOWSNT]: Make the MS-Windows branch |
| 110 | call play-sound-functions, per documentation. | 182 | call play-sound-functions, per documentation. |
| 111 | 183 | ||
| 112 | * w32.c (w32_get_long_filename, w32_get_short_filename): Constify | 184 | * w32.c (w32_get_long_filename, w32_get_short_filename): |
| 113 | the input file name arguments. | 185 | Constify the input file name arguments. |
| 114 | 186 | ||
| 115 | * w32.h (w32_get_long_filename, w32_get_short_filename): Update | 187 | * w32.h (w32_get_long_filename, w32_get_short_filename): |
| 116 | prototypes. | 188 | Update prototypes. |
| 117 | 189 | ||
| 118 | 2014-09-15 Dmitry Antipov <dmantipov@yandex.ru> | 190 | 2014-09-15 Dmitry Antipov <dmantipov@yandex.ru> |
| 119 | 191 | ||
| @@ -220,8 +292,8 @@ | |||
| 220 | * lread.c (readevalloop_eager_expand_eval): Add GCPRO and fix | 292 | * lread.c (readevalloop_eager_expand_eval): Add GCPRO and fix |
| 221 | bootstrap broken if GC_MARK_STACK == GC_USE_GCPROS_AS_BEFORE. | 293 | bootstrap broken if GC_MARK_STACK == GC_USE_GCPROS_AS_BEFORE. |
| 222 | 294 | ||
| 223 | Remove redundant GCPROs around Ffuncall and Fapply calls. This | 295 | Remove redundant GCPROs around Ffuncall and Fapply calls. |
| 224 | is safe because Ffuncall protects all of its arguments by itself. | 296 | This is safe because Ffuncall protects all of its arguments by itself. |
| 225 | * charset.c (map_charset_for_dump): Remove redundant GCPRO. | 297 | * charset.c (map_charset_for_dump): Remove redundant GCPRO. |
| 226 | * eval.c (Fapply, apply1, call0, call1, call2, call3, call4, call5) | 298 | * eval.c (Fapply, apply1, call0, call1, call2, call3, call4, call5) |
| 227 | (call6, call7): Likewise. Use compound literals where applicable. | 299 | (call6, call7): Likewise. Use compound literals where applicable. |
| @@ -511,8 +583,8 @@ | |||
| 511 | 2014-09-03 Martin Rudalics <rudalics@gmx.at> | 583 | 2014-09-03 Martin Rudalics <rudalics@gmx.at> |
| 512 | 584 | ||
| 513 | * buffer.c (scroll-bar-height): Fix typo in doc-string. | 585 | * buffer.c (scroll-bar-height): Fix typo in doc-string. |
| 514 | * frame.c (Vdefault_frame_horizontal_scroll_bars): Remove | 586 | * frame.c (Vdefault_frame_horizontal_scroll_bars): |
| 515 | variable. | 587 | Remove variable. |
| 516 | * nsfns.m (Fx_create_frame): | 588 | * nsfns.m (Fx_create_frame): |
| 517 | * w32fns.c (Fx_create_frame): | 589 | * w32fns.c (Fx_create_frame): |
| 518 | * xfns.c (Fx_create_frame): Default horizontal scroll bars to | 590 | * xfns.c (Fx_create_frame): Default horizontal scroll bars to |
| @@ -750,8 +822,8 @@ | |||
| 750 | 822 | ||
| 751 | 2014-08-28 Martin Rudalics <rudalics@gmx.at> | 823 | 2014-08-28 Martin Rudalics <rudalics@gmx.at> |
| 752 | 824 | ||
| 753 | * w32term.c (w32_horizontal_scroll_bar_handle_click): In | 825 | * w32term.c (w32_horizontal_scroll_bar_handle_click): |
| 754 | `event->y' return entire range (the size of the scroll bar minus | 826 | In `event->y' return entire range (the size of the scroll bar minus |
| 755 | that of the thumb). | 827 | that of the thumb). |
| 756 | * xterm.c (xm_scroll_callback, xaw_jump_callback): In `whole' | 828 | * xterm.c (xm_scroll_callback, xaw_jump_callback): In `whole' |
| 757 | return entire range (the scaled size of the scroll bar minus | 829 | return entire range (the scaled size of the scroll bar minus |
| @@ -771,8 +843,8 @@ | |||
| 771 | 843 | ||
| 772 | * xdisp.c (display_line): Don't assume that the call to | 844 | * xdisp.c (display_line): Don't assume that the call to |
| 773 | reseat_at_next_visible_line_start ends up at a character | 845 | reseat_at_next_visible_line_start ends up at a character |
| 774 | immediately following the newline on the previous line. Avoids | 846 | immediately following the newline on the previous line. |
| 775 | setting the ends_at_zv_p flag on screen lines that are not at or | 847 | Avoids setting the ends_at_zv_p flag on screen lines that are not at or |
| 776 | beyond ZV, which causes infloop in redisplay. For the details, see | 848 | beyond ZV, which causes infloop in redisplay. For the details, see |
| 777 | http://lists.gnu.org/archive/html/emacs-devel/2014-08/msg00368.html. | 849 | http://lists.gnu.org/archive/html/emacs-devel/2014-08/msg00368.html. |
| 778 | 850 | ||
| @@ -796,8 +868,8 @@ | |||
| 796 | (newlocale, wcscoll_l): Define substitutes for platforms that | 868 | (newlocale, wcscoll_l): Define substitutes for platforms that |
| 797 | lack them, so as to simplify the mainline code. | 869 | lack them, so as to simplify the mainline code. |
| 798 | (str_collate): Simplify the code by assuming the above definitions. | 870 | (str_collate): Simplify the code by assuming the above definitions. |
| 799 | Use wcscoll_l, not uselocale, as uselocale is too fragile. For | 871 | Use wcscoll_l, not uselocale, as uselocale is too fragile. |
| 800 | example, the old version left the Emacs in the wrong locale if | 872 | For example, the old version left the Emacs in the wrong locale if |
| 801 | wcscoll reported an error. Use 'int', not ptrdiff_t, for the int | 873 | wcscoll reported an error. Use 'int', not ptrdiff_t, for the int |
| 802 | result. Report an error if newlocale fails. | 874 | result. Report an error if newlocale fails. |
| 803 | 875 | ||
| @@ -1016,8 +1088,8 @@ | |||
| 1016 | * term.c (OUTPUT, tty_set_terminal_modes) | 1088 | * term.c (OUTPUT, tty_set_terminal_modes) |
| 1017 | (tty_set_terminal_window, tty_set_scroll_region) | 1089 | (tty_set_terminal_window, tty_set_scroll_region) |
| 1018 | (tty_clear_to_end, tty_write_glyphs, tty_write_glyphs_with_face) | 1090 | (tty_clear_to_end, tty_write_glyphs, tty_write_glyphs_with_face) |
| 1019 | (tty_ins_del_lines, tty_menu_display, tty_menu_activate): Use | 1091 | (tty_ins_del_lines, tty_menu_display, tty_menu_activate): |
| 1020 | FRAME_TOTAL_LINES instead of FRAME_LINES. | 1092 | Use FRAME_TOTAL_LINES instead of FRAME_LINES. |
| 1021 | (Fresume_tty): Use FRAME_TOTAL_LINES instead of FRAME_LINES. | 1093 | (Fresume_tty): Use FRAME_TOTAL_LINES instead of FRAME_LINES. |
| 1022 | Call change_frame_size with frame's menu bar lines subtracted | 1094 | Call change_frame_size with frame's menu bar lines subtracted |
| 1023 | from height. | 1095 | from height. |
| @@ -1068,14 +1140,14 @@ | |||
| 1068 | 1140 | ||
| 1069 | 2014-08-04 Martin Rudalics <rudalics@gmx.at> | 1141 | 2014-08-04 Martin Rudalics <rudalics@gmx.at> |
| 1070 | 1142 | ||
| 1071 | * frame.h (FRAME_HAS_HORIZONTAL_SCROLL_BARS): Condition | 1143 | * frame.h (FRAME_HAS_HORIZONTAL_SCROLL_BARS): |
| 1072 | correctly according to toolkit used. | 1144 | Condition correctly according to toolkit used. |
| 1073 | * frame.c (make_initial_frame, make_terminal_frame) | 1145 | * frame.c (make_initial_frame, make_terminal_frame) |
| 1074 | (x_set_horizontal_scroll_bars, x_set_scroll_bar_height) | 1146 | (x_set_horizontal_scroll_bars, x_set_scroll_bar_height) |
| 1075 | (Vdefault_frame_horizontal_scroll_bars): Correctly condition | 1147 | (Vdefault_frame_horizontal_scroll_bars): Correctly condition |
| 1076 | assignments according to presence of toolkit scrollbars. | 1148 | assignments according to presence of toolkit scrollbars. |
| 1077 | * window.h (WINDOW_HAS_HORIZONTAL_SCROLL_BAR): Condition | 1149 | * window.h (WINDOW_HAS_HORIZONTAL_SCROLL_BAR): |
| 1078 | correctly according to toolkit used. | 1150 | Condition correctly according to toolkit used. |
| 1079 | * window.c (set_window_scroll_bars): Set horizontal scroll bar | 1151 | * window.c (set_window_scroll_bars): Set horizontal scroll bar |
| 1080 | only if toolkit supports it. | 1152 | only if toolkit supports it. |
| 1081 | * w32term.c (w32_redeem_scroll_bar): Always redeem scroll bar if | 1153 | * w32term.c (w32_redeem_scroll_bar): Always redeem scroll bar if |
| @@ -1331,15 +1403,15 @@ | |||
| 1331 | (x_set_scroll_bar_height): Add external declarations. | 1403 | (x_set_scroll_bar_height): Add external declarations. |
| 1332 | * frame.c: (frame_inhibit_resize, frame_windows_min_size) | 1404 | * frame.c: (frame_inhibit_resize, frame_windows_min_size) |
| 1333 | (adjust_frame_size): New functions. | 1405 | (adjust_frame_size): New functions. |
| 1334 | (make_frame): Initial horizontal_scroll_bars field. Use | 1406 | (make_frame): Initial horizontal_scroll_bars field. |
| 1335 | SET_FRAME_LINES. Don't allow horizontal scroll bar in | 1407 | Use SET_FRAME_LINES. Don't allow horizontal scroll bar in |
| 1336 | minibuffer window. | 1408 | minibuffer window. |
| 1337 | (make_initial_frame, make_terminal_frame): No horizontal scroll | 1409 | (make_initial_frame, make_terminal_frame): No horizontal scroll |
| 1338 | bar in initial and terminal frames. Use adjust_frame_size. | 1410 | bar in initial and terminal frames. Use adjust_frame_size. |
| 1339 | (Fframe_total_cols): Fix doc-string. | 1411 | (Fframe_total_cols): Fix doc-string. |
| 1340 | (Fframe_total_lines, Fscroll_bar_height): New Lisp functions. | 1412 | (Fframe_total_lines, Fscroll_bar_height): New Lisp functions. |
| 1341 | (Fset_frame_height, Fset_frame_width, Fset_frame_size): Rewrite | 1413 | (Fset_frame_height, Fset_frame_width, Fset_frame_size): |
| 1342 | using adjust_frame_size. | 1414 | Rewrite using adjust_frame_size. |
| 1343 | (Qscroll_bar_height, Qhorizontal_scroll_bars) | 1415 | (Qscroll_bar_height, Qhorizontal_scroll_bars) |
| 1344 | (Qframe_windows_min_size): New symbols. | 1416 | (Qframe_windows_min_size): New symbols. |
| 1345 | (x_set_frame_parameters): Remove call of check_frame_size. | 1417 | (x_set_frame_parameters): Remove call of check_frame_size. |
| @@ -1350,8 +1422,8 @@ | |||
| 1350 | (x_set_internal_border_width, x_set_vertical_scroll_bars) | 1422 | (x_set_internal_border_width, x_set_vertical_scroll_bars) |
| 1351 | (x_set_scroll_bar_width, x_set_right_divider_width) | 1423 | (x_set_scroll_bar_width, x_set_right_divider_width) |
| 1352 | (x_set_bottom_divider_width): Rewrite using adjust_frame_size. | 1424 | (x_set_bottom_divider_width): Rewrite using adjust_frame_size. |
| 1353 | (x_set_horizontal_scroll_bars, x_set_scroll_bar_height): New | 1425 | (x_set_horizontal_scroll_bars, x_set_scroll_bar_height): |
| 1354 | functions. | 1426 | New functions. |
| 1355 | (x_figure_window_size): Rewrite to make frame display the | 1427 | (x_figure_window_size): Rewrite to make frame display the |
| 1356 | expected number of lines. | 1428 | expected number of lines. |
| 1357 | (Vdefault_frame_scroll_bars): Rewrite doc-string. | 1429 | (Vdefault_frame_scroll_bars): Rewrite doc-string. |
| @@ -1398,8 +1470,8 @@ | |||
| 1398 | compute_fringe_widths. | 1470 | compute_fringe_widths. |
| 1399 | * term.c (Fresume_tty): When changing the size of a tty frame do | 1471 | * term.c (Fresume_tty): When changing the size of a tty frame do |
| 1400 | not pass height of menu bar. | 1472 | not pass height of menu bar. |
| 1401 | (clear_tty_hooks, set_tty_hooks): Clear | 1473 | (clear_tty_hooks, set_tty_hooks): |
| 1402 | horizontal_scroll_bar_hook. | 1474 | Clear horizontal_scroll_bar_hook. |
| 1403 | (init_tty): Frame has no horizontal scroll bars. | 1475 | (init_tty): Frame has no horizontal scroll bars. |
| 1404 | * termhooks.h (enum scroll_bar_part): Add scroll_bar_move_ratio, | 1476 | * termhooks.h (enum scroll_bar_part): Add scroll_bar_move_ratio, |
| 1405 | scroll_bar_before_handle, scroll_bar_horizontal_handle, | 1477 | scroll_bar_before_handle, scroll_bar_horizontal_handle, |
| @@ -1408,25 +1480,25 @@ | |||
| 1408 | scroll_bar_to_rightmost entries. | 1480 | scroll_bar_to_rightmost entries. |
| 1409 | (enum event_kind): Add HORIZONTAL_SCROLL_BAR_CLICK_EVENT | 1481 | (enum event_kind): Add HORIZONTAL_SCROLL_BAR_CLICK_EVENT |
| 1410 | (struct terminal): Add set_horizontal_scroll_bar_hook. | 1482 | (struct terminal): Add set_horizontal_scroll_bar_hook. |
| 1411 | * w32console.c (initialize_w32_display): Clear | 1483 | * w32console.c (initialize_w32_display): |
| 1412 | horizontal_scroll_bar_hook. | 1484 | Clear horizontal_scroll_bar_hook. |
| 1413 | * w32fns.c (x_set_mouse_color): Use FRAME_W32_DISPLAY instead of | 1485 | * w32fns.c (x_set_mouse_color): Use FRAME_W32_DISPLAY instead of |
| 1414 | FRAME_X_DISPLAY. | 1486 | FRAME_X_DISPLAY. |
| 1415 | (x_clear_under_internal_border, x_set_internal_border_width): | 1487 | (x_clear_under_internal_border, x_set_internal_border_width): |
| 1416 | New functions. | 1488 | New functions. |
| 1417 | (x_set_menu_bar_lines): Rewrite using frame_inhibit_resize. Set | 1489 | (x_set_menu_bar_lines): Rewrite using frame_inhibit_resize. |
| 1418 | windows_or_buffers_changed when adding the menu bar. | 1490 | Set windows_or_buffers_changed when adding the menu bar. |
| 1419 | (x_set_tool_bar_lines): Rewrite using adjust_frame_size. | 1491 | (x_set_tool_bar_lines): Rewrite using adjust_frame_size. |
| 1420 | (x_change_tool_bar_height, x_set_scroll_bar_default_height) | 1492 | (x_change_tool_bar_height, x_set_scroll_bar_default_height) |
| 1421 | (w32_createhscrollbar): New functions. | 1493 | (w32_createhscrollbar): New functions. |
| 1422 | (w32_createscrollbar): Rename to w32_createvscrollbar. | 1494 | (w32_createscrollbar): Rename to w32_createvscrollbar. |
| 1423 | (w32_createwindow): Init WND_HSCROLLBAR_INDEX. | 1495 | (w32_createwindow): Init WND_HSCROLLBAR_INDEX. |
| 1424 | (w32_name_of_message): Replace WM_EMACS_CREATESCROLLBAR by | 1496 | (w32_name_of_message): Replace WM_EMACS_CREATESCROLLBAR by |
| 1425 | WM_EMACS_CREATEVSCROLLBAR and WM_EMACS_CREATEHSCROLLBAR. Add | 1497 | WM_EMACS_CREATEVSCROLLBAR and WM_EMACS_CREATEHSCROLLBAR. |
| 1426 | WM_EMACS_SHOWCURSOR. | 1498 | Add WM_EMACS_SHOWCURSOR. |
| 1427 | (w32_wnd_proc): Handle WM_HSCROLL case. In WM_WINDOWPOSCHANGING | 1499 | (w32_wnd_proc): Handle WM_HSCROLL case. In WM_WINDOWPOSCHANGING |
| 1428 | case do not artificially impose WM size hints. Handle | 1500 | case do not artificially impose WM size hints. |
| 1429 | WM_EMACS_SHOWCURSOR case. Replace WM_EMACS_CREATESCROLLBAR case | 1501 | Handle WM_EMACS_SHOWCURSOR case. Replace WM_EMACS_CREATESCROLLBAR case |
| 1430 | by WM_EMACS_CREATEVSCROLLBAR and WM_EMACS_CREATEHSCROLLBAR | 1502 | by WM_EMACS_CREATEVSCROLLBAR and WM_EMACS_CREATEHSCROLLBAR |
| 1431 | cases. | 1503 | cases. |
| 1432 | (my_create_tip_window): Replace WND_SCROLLBAR_INDEX by | 1504 | (my_create_tip_window): Replace WND_SCROLLBAR_INDEX by |
| @@ -1445,8 +1517,8 @@ | |||
| 1445 | pass height of menu bar to change_frame_size. | 1517 | pass height of menu bar to change_frame_size. |
| 1446 | * w32menu.c (set_frame_menubar): Rewrite using | 1518 | * w32menu.c (set_frame_menubar): Rewrite using |
| 1447 | frame_inhibit_resize. | 1519 | frame_inhibit_resize. |
| 1448 | * w32term.h (struct w32_display_info): Add | 1520 | * w32term.h (struct w32_display_info): |
| 1449 | horizontal_scroll_bar_cursor and cursor_display_counter. | 1521 | Add horizontal_scroll_bar_cursor and cursor_display_counter. |
| 1450 | (struct scroll_bar): Add horizontal. | 1522 | (struct scroll_bar): Add horizontal. |
| 1451 | (HORIZONTAL_SCROLL_BAR_INSIDE_HEIGHT) | 1523 | (HORIZONTAL_SCROLL_BAR_INSIDE_HEIGHT) |
| 1452 | (HORIZONTAL_SCROLL_BAR_LEFT_RANGE) | 1524 | (HORIZONTAL_SCROLL_BAR_LEFT_RANGE) |
| @@ -1456,8 +1528,8 @@ | |||
| 1456 | (HORIZONTAL_SCROLL_BAR_TOP_BORDER) | 1528 | (HORIZONTAL_SCROLL_BAR_TOP_BORDER) |
| 1457 | (HORIZONTAL_SCROLL_BAR_BOTTOM_BORDER) | 1529 | (HORIZONTAL_SCROLL_BAR_BOTTOM_BORDER) |
| 1458 | (HORIZONTAL_SCROLL_BAR_MIN_HANDLE): New macros. | 1530 | (HORIZONTAL_SCROLL_BAR_MIN_HANDLE): New macros. |
| 1459 | (WM_EMACS_CREATEVSCROLLBAR, WM_EMACS_CREATEHSCROLLBAR): Define | 1531 | (WM_EMACS_CREATEVSCROLLBAR, WM_EMACS_CREATEHSCROLLBAR): |
| 1460 | instead of WM_EMACS_CREATESCROLLBAR. | 1532 | Define instead of WM_EMACS_CREATESCROLLBAR. |
| 1461 | (WND_VSCROLLBAR_INDEX, WND_HSCROLLBAR_INDEX): Define instead of | 1533 | (WND_VSCROLLBAR_INDEX, WND_HSCROLLBAR_INDEX): Define instead of |
| 1462 | WND_SCROLLBAR_INDEX. | 1534 | WND_SCROLLBAR_INDEX. |
| 1463 | * w32term.c (horizontal_scroll_bar_min_handle) | 1535 | * w32term.c (horizontal_scroll_bar_min_handle) |
| @@ -1476,18 +1548,18 @@ | |||
| 1476 | scrollbar cases. | 1548 | scrollbar cases. |
| 1477 | (my_create_scrollbar): Replace with two new functions | 1549 | (my_create_scrollbar): Replace with two new functions |
| 1478 | my_create_vscrollbar and my_create_hscrollbar. | 1550 | my_create_vscrollbar and my_create_hscrollbar. |
| 1479 | (x_scroll_bar_create): New argument "horizontal". Update | 1551 | (x_scroll_bar_create): New argument "horizontal". |
| 1480 | callers accordingly. | 1552 | Update callers accordingly. |
| 1481 | (x_scroll_bar_remove, w32_condemn_scroll_bars) | 1553 | (x_scroll_bar_remove, w32_condemn_scroll_bars) |
| 1482 | (w32_redeem_scroll_bar, x_scroll_bar_clear): Handle horizontal | 1554 | (w32_redeem_scroll_bar, x_scroll_bar_clear): Handle horizontal |
| 1483 | scroll bar case. | 1555 | scroll bar case. |
| 1484 | (w32_read_socket): Handle WM_HSCROLL cae. | 1556 | (w32_read_socket): Handle WM_HSCROLL cae. |
| 1485 | (x_new_font): Don't recompute fringe widths. Use | 1557 | (x_new_font): Don't recompute fringe widths. |
| 1486 | frame_inhibit_resize. Calculate new menu bar height iff we | 1558 | Use frame_inhibit_resize. Calculate new menu bar height iff we |
| 1487 | build without toolkit. Always clear under internal border. | 1559 | build without toolkit. Always clear under internal border. |
| 1488 | (x_set_window_size): Don't check frame size or recompute | 1560 | (x_set_window_size): Don't check frame size or recompute |
| 1489 | fringes. Reset fullscreen status before applying sizes. Always | 1561 | fringes. Reset fullscreen status before applying sizes. |
| 1490 | resize as requested by pixelwise argument. Don't call | 1562 | Always resize as requested by pixelwise argument. Don't call |
| 1491 | do_pending_window_change. | 1563 | do_pending_window_change. |
| 1492 | (x_wm_set_size_hint): Add call for FRAME_SCROLL_BAR_AREA_HEIGHT. | 1564 | (x_wm_set_size_hint): Add call for FRAME_SCROLL_BAR_AREA_HEIGHT. |
| 1493 | (w32_initialize_display_info): Initialize dpyinfo's | 1565 | (w32_initialize_display_info): Initialize dpyinfo's |
| @@ -1513,8 +1585,8 @@ | |||
| 1513 | (WINDOW_TOPMOST_P, WINDOW_HAS_HORIZONTAL_SCROLL_BAR) | 1585 | (WINDOW_TOPMOST_P, WINDOW_HAS_HORIZONTAL_SCROLL_BAR) |
| 1514 | (WINDOW_CONFIG_SCROLL_BAR_HEIGHT) | 1586 | (WINDOW_CONFIG_SCROLL_BAR_HEIGHT) |
| 1515 | (WINDOW_CONFIG_SCROLL_BAR_LINES) | 1587 | (WINDOW_CONFIG_SCROLL_BAR_LINES) |
| 1516 | (WINDOW_SCROLL_BAR_LINES, WINDOW_SCROLL_BAR_AREA_HEIGHT): New | 1588 | (WINDOW_SCROLL_BAR_LINES, WINDOW_SCROLL_BAR_AREA_HEIGHT): |
| 1517 | macros. | 1589 | New macros. |
| 1518 | (WINDOW_LEFT_FRINGE_COLS, WINDOW_RIGHT_FRINGE_COLS) | 1590 | (WINDOW_LEFT_FRINGE_COLS, WINDOW_RIGHT_FRINGE_COLS) |
| 1519 | (WINDOW_FRINGE_COLS, WINDOW_FRINGE_EXTENDED_P): Remove macros. | 1591 | (WINDOW_FRINGE_COLS, WINDOW_FRINGE_EXTENDED_P): Remove macros. |
| 1520 | (WINDOW_VERTICAL_SCROLL_BAR_TYPE) | 1592 | (WINDOW_VERTICAL_SCROLL_BAR_TYPE) |
| @@ -1527,11 +1599,11 @@ | |||
| 1527 | (Fwindow_old_point, sanitize_window_sizes): New functions. | 1599 | (Fwindow_old_point, sanitize_window_sizes): New functions. |
| 1528 | (Qwindow_sanitize_window_sizes): New symbol. | 1600 | (Qwindow_sanitize_window_sizes): New symbol. |
| 1529 | (window_body_height): Count in horizontal scroll bar. | 1601 | (window_body_height): Count in horizontal scroll bar. |
| 1530 | (set_window_hscroll, Fscroll_left, Fscroll_right): Set | 1602 | (set_window_hscroll, Fscroll_left, Fscroll_right): |
| 1531 | suspend_auto_hscroll slot. | 1603 | Set suspend_auto_hscroll slot. |
| 1532 | (Fwindow_inside_edges): Count fringes pixelwise. | 1604 | (Fwindow_inside_edges): Count fringes pixelwise. |
| 1533 | (coordinates_in_window, Fcoordinates_in_window_p): Consider | 1605 | (coordinates_in_window, Fcoordinates_in_window_p): |
| 1534 | horizontal scroll bar. | 1606 | Consider horizontal scroll bar. |
| 1535 | (check_frame_size, adjust_window_margins): Remove functions and | 1607 | (check_frame_size, adjust_window_margins): Remove functions and |
| 1536 | corresponding calls. | 1608 | corresponding calls. |
| 1537 | (set_window_buffer): Initialize old_pointm and horizontal scroll | 1609 | (set_window_buffer): Initialize old_pointm and horizontal scroll |
| @@ -1547,8 +1619,8 @@ | |||
| 1547 | (Fsplit_window_internal): Inherit horizontal scroll bar type and | 1619 | (Fsplit_window_internal): Inherit horizontal scroll bar type and |
| 1548 | height. | 1620 | height. |
| 1549 | (Fdelete_window_internal): Unchain old_pointm marker. | 1621 | (Fdelete_window_internal): Unchain old_pointm marker. |
| 1550 | (window_scroll_pixel_based, Fscroll_other_window): Adjust | 1622 | (window_scroll_pixel_based, Fscroll_other_window): |
| 1551 | old_pointm. | 1623 | Adjust old_pointm. |
| 1552 | (Fwindow_text_width, Fwindow_text_height): New argument | 1624 | (Fwindow_text_width, Fwindow_text_height): New argument |
| 1553 | "pixelwise". | 1625 | "pixelwise". |
| 1554 | (struct saved_window): New fields, old_pointm, hscroll_whole, | 1626 | (struct saved_window): New fields, old_pointm, hscroll_whole, |
| @@ -1603,10 +1675,10 @@ | |||
| 1603 | (x_frame_parm_handlers): Add x_set_scroll_bar_height, | 1675 | (x_frame_parm_handlers): Add x_set_scroll_bar_height, |
| 1604 | x_set_horizontal_scroll_bars, x_set_left_fringe, | 1676 | x_set_horizontal_scroll_bars, x_set_left_fringe, |
| 1605 | x_set_right_fringe. | 1677 | x_set_right_fringe. |
| 1606 | * xmenu.c (update_frame_menubar, free_frame_menubar): Use | 1678 | * xmenu.c (update_frame_menubar, free_frame_menubar): |
| 1607 | adjust_frame_size. | 1679 | Use adjust_frame_size. |
| 1608 | * xterm.h (struct x_display_info): Add | 1680 | * xterm.h (struct x_display_info): |
| 1609 | horizontal_scroll_bar_cursor and Xatom_Horizontal_Scrollbar | 1681 | Add horizontal_scroll_bar_cursor and Xatom_Horizontal_Scrollbar |
| 1610 | slots. | 1682 | slots. |
| 1611 | (struct scroll_bar): Add horizontal slot. | 1683 | (struct scroll_bar): Add horizontal slot. |
| 1612 | (HORIZONTAL_SCROLL_BAR_INSIDE_HEIGHT) | 1684 | (HORIZONTAL_SCROLL_BAR_INSIDE_HEIGHT) |
| @@ -1629,15 +1701,15 @@ | |||
| 1629 | (x_set_toolkit_horizontal_scroll_bar_thumb) | 1701 | (x_set_toolkit_horizontal_scroll_bar_thumb) |
| 1630 | (XTset_horizontal_scroll_bar, x_net_wm_state) | 1702 | (XTset_horizontal_scroll_bar, x_net_wm_state) |
| 1631 | (x_horizontal_scroll_bar_report_motion): New functions. | 1703 | (x_horizontal_scroll_bar_report_motion): New functions. |
| 1632 | (xg_scroll_callback, x_scroll_bar_handle_click): Handle | 1704 | (xg_scroll_callback, x_scroll_bar_handle_click): |
| 1633 | horizontal scroll bars. | 1705 | Handle horizontal scroll bars. |
| 1634 | (SCROLL_BAR_HORIZONTAL_NAME): Define. | 1706 | (SCROLL_BAR_HORIZONTAL_NAME): Define. |
| 1635 | (XTset_vertical_scroll_bar): Attempt to clear areas not covered | 1707 | (XTset_vertical_scroll_bar): Attempt to clear areas not covered |
| 1636 | by scroll bar. | 1708 | by scroll bar. |
| 1637 | (XTcondemn_scroll_bars, XTredeem_scroll_bar): Rewrite. Handle | 1709 | (XTcondemn_scroll_bars, XTredeem_scroll_bar): Rewrite. |
| 1638 | horizontal scroll bars. | 1710 | Handle horizontal scroll bars. |
| 1639 | (handle_one_xevent): Handle horizontal scroll bar events. Call | 1711 | (handle_one_xevent): Handle horizontal scroll bar events. |
| 1640 | x_net_wm_state. | 1712 | Call x_net_wm_state. |
| 1641 | (x_set_window_size_1, x_wm_set_size_hint): Don't call | 1713 | (x_set_window_size_1, x_wm_set_size_hint): Don't call |
| 1642 | check_frame_size. | 1714 | check_frame_size. |
| 1643 | (x_set_window_size): Don't call check_frame_size and | 1715 | (x_set_window_size): Don't call check_frame_size and |
| @@ -1687,8 +1759,8 @@ | |||
| 1687 | 1759 | ||
| 1688 | 2014-07-25 Eli Zaretskii <eliz@gnu.org> | 1760 | 2014-07-25 Eli Zaretskii <eliz@gnu.org> |
| 1689 | 1761 | ||
| 1690 | * w32term.h (current_popup_menu, menubar_in_use): Move | 1762 | * w32term.h (current_popup_menu, menubar_in_use): |
| 1691 | declarations from w32term.c. | 1763 | Move declarations from w32term.c. |
| 1692 | 1764 | ||
| 1693 | 2014-07-25 Martin Rudalics <rudalics@gmx.at> | 1765 | 2014-07-25 Martin Rudalics <rudalics@gmx.at> |
| 1694 | 1766 | ||
| @@ -1742,8 +1814,8 @@ | |||
| 1742 | * xterm.c (handle_one_xevent): | 1814 | * xterm.c (handle_one_xevent): |
| 1743 | * gtkutil.c (xg_event_is_for_menubar): | 1815 | * gtkutil.c (xg_event_is_for_menubar): |
| 1744 | * xfns.c (x_window) [USE_X_TOOLKIT]: | 1816 | * xfns.c (x_window) [USE_X_TOOLKIT]: |
| 1745 | * xmenu.c (set_frame_menubar, free_frame_menubar): Prefer | 1817 | * xmenu.c (set_frame_menubar, free_frame_menubar): |
| 1746 | to use FRAME_MENUBAR_HEIGHT. | 1818 | Prefer to use FRAME_MENUBAR_HEIGHT. |
| 1747 | 1819 | ||
| 1748 | 2014-07-21 Dmitry Antipov <dmantipov@yandex.ru> | 1820 | 2014-07-21 Dmitry Antipov <dmantipov@yandex.ru> |
| 1749 | 1821 | ||
| @@ -1764,12 +1836,12 @@ | |||
| 1764 | 1836 | ||
| 1765 | 2014-07-21 Eli Zaretskii <eliz@gnu.org> | 1837 | 2014-07-21 Eli Zaretskii <eliz@gnu.org> |
| 1766 | 1838 | ||
| 1767 | * w32select.c (setup_windows_coding_system): Apply | 1839 | * w32select.c (setup_windows_coding_system): |
| 1768 | CODING_ANNOTATION_MASK to the common_flags member of struct | 1840 | Apply CODING_ANNOTATION_MASK to the common_flags member of struct |
| 1769 | coding_system. Reported by martin rudalics <rudalics@gmx.at>. | 1841 | coding_system. Reported by martin rudalics <rudalics@gmx.at>. |
| 1770 | 1842 | ||
| 1771 | * w16select.c (Fw16_get_clipboard_data): Apply | 1843 | * w16select.c (Fw16_get_clipboard_data): |
| 1772 | CODING_ANNOTATION_MASK to the common_flags member of struct | 1844 | Apply CODING_ANNOTATION_MASK to the common_flags member of struct |
| 1773 | coding_system. | 1845 | coding_system. |
| 1774 | 1846 | ||
| 1775 | * xdisp.c (init_iterator): Initialize it->stop_charpos to the | 1847 | * xdisp.c (init_iterator): Initialize it->stop_charpos to the |
| @@ -1777,8 +1849,8 @@ | |||
| 1777 | (handle_invisible_prop): Record in it->stop_charpos the position | 1849 | (handle_invisible_prop): Record in it->stop_charpos the position |
| 1778 | where the invisible text ends. (Bug#18035) | 1850 | where the invisible text ends. (Bug#18035) |
| 1779 | (hscroll_window_tree): Don't try hscrolling windows whose cursor | 1851 | (hscroll_window_tree): Don't try hscrolling windows whose cursor |
| 1780 | row has zero buffer position as their start position. Reported by | 1852 | row has zero buffer position as their start position. |
| 1781 | martin rudalics <rudalics@gmx.at>. | 1853 | Reported by martin rudalics <rudalics@gmx.at>. |
| 1782 | 1854 | ||
| 1783 | * xdisp.c (move_it_vertically_backward, move_it_by_lines): Prevent | 1855 | * xdisp.c (move_it_vertically_backward, move_it_by_lines): Prevent |
| 1784 | infinite looping in redisplay when display lines don't have enough | 1856 | infinite looping in redisplay when display lines don't have enough |
| @@ -2218,8 +2290,8 @@ | |||
| 2218 | are in sync with what the window wants. | 2290 | are in sync with what the window wants. |
| 2219 | (Bug#17892) | 2291 | (Bug#17892) |
| 2220 | 2292 | ||
| 2221 | * xdisp.c (display_line, display_mode_line): Call | 2293 | * xdisp.c (display_line, display_mode_line): |
| 2222 | prepare_desired_row with additional arguments, as appropriate. | 2294 | Call prepare_desired_row with additional arguments, as appropriate. |
| 2223 | 2295 | ||
| 2224 | * dispextern.h (prepare_desired_row): Adjust prototype. | 2296 | * dispextern.h (prepare_desired_row): Adjust prototype. |
| 2225 | 2297 | ||
| @@ -2308,7 +2380,7 @@ | |||
| 2308 | 2380 | ||
| 2309 | 2014-06-28 K. Handa <handa@gnu.org> | 2381 | 2014-06-28 K. Handa <handa@gnu.org> |
| 2310 | 2382 | ||
| 2311 | * coding.c (MAX_CHARBUF_SIZE): Renamed from CHARBUF_SIZE. | 2383 | * coding.c (MAX_CHARBUF_SIZE): Rename from CHARBUF_SIZE. |
| 2312 | (MIN_CHARBUF_SIZE): New macro. | 2384 | (MIN_CHARBUF_SIZE): New macro. |
| 2313 | (ALLOC_CONVERSION_WORK_AREA): New arg SIZE. Callers changed. | 2385 | (ALLOC_CONVERSION_WORK_AREA): New arg SIZE. Callers changed. |
| 2314 | 2386 | ||