diff options
| author | Joakim Verona | 2013-04-09 00:21:04 +0200 |
|---|---|---|
| committer | Joakim Verona | 2013-04-09 00:21:04 +0200 |
| commit | e25d341cec1ebaee2b96d627d99d4d7b92dee6b0 (patch) | |
| tree | a837c08c8ff2a6054964bd73469f6386368300e7 /src/ChangeLog | |
| parent | 9639da1e26683b6a54d255bb07a24dd6e0fae354 (diff) | |
| parent | 6fcdab68b3e73354fb17f4c8c4f8199d6f63cf30 (diff) | |
| download | emacs-e25d341cec1ebaee2b96d627d99d4d7b92dee6b0.tar.gz emacs-e25d341cec1ebaee2b96d627d99d4d7b92dee6b0.zip | |
xdisp fix
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 267 |
1 files changed, 266 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 6698cfe0fcf..cb6930f9acc 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,268 @@ | |||
| 1 | 2013-04-07 Eli Zaretskii <eliz@gnu.org> | ||
| 2 | |||
| 3 | * fileio.c (ACL_NOT_WELL_SUPPORTED): Define macro for WINDOWSNT. | ||
| 4 | |||
| 5 | 2013-04-07 Romain Francoise <romain@orebokech.com> | ||
| 6 | |||
| 7 | Ignore additional platform-specific ACL errors (Bug#13702). | ||
| 8 | * fileio.c (ACL_NOT_WELL_SUPPORTED): New macro copied from gnulib. | ||
| 9 | (Fcopy_file, Fset_file_acl) [HAVE_POSIX_ACL]: Use it. | ||
| 10 | |||
| 11 | 2013-03-31 Jan Djärv <jan.h.d@swipnet.se> | ||
| 12 | |||
| 13 | * nsterm.m (ns_mouse_position): Use NS_FRAME_P instead of checking | ||
| 14 | f->output_data.ns. | ||
| 15 | |||
| 16 | 2013-04-07 Paul Eggert <eggert@cs.ucla.edu> | ||
| 17 | |||
| 18 | Fix --enable-profiling bug introduced by 2013-02-25 change (Bug#13783). | ||
| 19 | This bug was introduced by my 2013-02-25 change that simplified | ||
| 20 | data_start configuration. Without this change, on GNU/Linux | ||
| 21 | an Emacs configured with --enable-profiling fails immediately | ||
| 22 | due to a profiler signal. | ||
| 23 | * Makefile.in: Compile with $(PROFILING_CFLAGS), but do not link | ||
| 24 | with these flags. On platforms where special flags are needed | ||
| 25 | when linking temacs, the flags are now in LD_SWITCH_SYSTEM_TEMACS. | ||
| 26 | (ALL_CFLAGS): Remove $(PROFILING_CFLAGS). | ||
| 27 | (.c.o, .m.o): Compile with $(PROFILING_CFLAGS). | ||
| 28 | |||
| 29 | 2013-04-07 Dmitry Antipov <dmantipov@yandex.ru> | ||
| 30 | |||
| 31 | Get rid of some platform-specific functions examining window | ||
| 32 | system and its capabilities. This is a partial rework of the | ||
| 33 | 2013-04-05 change. | ||
| 34 | * lisp.h (have_menus_p): Remove prototype. This function is | ||
| 35 | replaced with platform-independent window_system_available. | ||
| 36 | (check_window_system): Move to... | ||
| 37 | * frame.h (decode_window_system_frame, window_system_available): | ||
| 38 | ...here, add new prototypes. | ||
| 39 | * frame.c (window_system_available, decode_window_system_frame): | ||
| 40 | New functions. | ||
| 41 | (check_window_system): Platform-independent now. | ||
| 42 | * xterm.h (x_in_use): Remove declaration. | ||
| 43 | (check_x_frame): | ||
| 44 | * w32term.h (check_x_frame): | ||
| 45 | * nsterm.h (check_x_frame): Remove prototypes. This function | ||
| 46 | is replaced with platform-independent decode_window_system_frame. | ||
| 47 | * msdos.c (have_menus_p): Remove. | ||
| 48 | * nsfns.m (check_window_system, have_menus_p, check_ns_frame): | ||
| 49 | Remove platform-specific functions. Use check_window_system, | ||
| 50 | decode_window_system_frame and check_ns_display_info where | ||
| 51 | appropriate. Minor style and comment tweaks. | ||
| 52 | * w32fns.c (w32_in_use, check_window_system, have_menus_p) | ||
| 53 | (check_x_frame): Likewise. | ||
| 54 | * xfns.c (x_in_use, check_window_system, have_menus_p, check_x_frame): | ||
| 55 | Likewise. | ||
| 56 | * fileio.c, fns.c, font.c, fontset.c, image.c, menu.c, nsmenu.m: | ||
| 57 | * nsselect.m, nsterm.m, w32font.c, w32menu.c, xfaces.c, xgselect.c: | ||
| 58 | * xmenu.c, xselect.c: All related users changed. | ||
| 59 | |||
| 60 | 2013-04-03 Kenichi Handa <handa@gnu.org> | ||
| 61 | |||
| 62 | The following changes is to optimize the code for reading UTF-8 | ||
| 63 | files. | ||
| 64 | |||
| 65 | * coding.c (check_ascii): Renamed from detect_ascii. Return value | ||
| 66 | changed. Check EOL format. Do not call adjust_coding_eol_type | ||
| 67 | here. | ||
| 68 | (check_utf_8): New function. | ||
| 69 | (adjust_coding_eol_type): Do nothing if already adjusted. | ||
| 70 | (detect_coding): Compare the return value of check_ascii with | ||
| 71 | coding->src_bytes. Call adjust_coding_eol_type if necessary. | ||
| 72 | (decode_coding_gap): Optimize for valid UTF-8. | ||
| 73 | |||
| 74 | 2013-03-21 Kenichi Handa <handa@gnu.org> | ||
| 75 | |||
| 76 | * coding.c (syms_of_coding): Cancel previous change. | ||
| 77 | |||
| 78 | * insdel.c (insert_from_gap): Fix previous change. | ||
| 79 | |||
| 80 | 2013-04-05 Dmitry Antipov <dmantipov@yandex.ru> | ||
| 81 | |||
| 82 | Consistently use platform-specific function to detect window system. | ||
| 83 | * lisp.h (check_window_system): New prototype. This function is | ||
| 84 | going to replace check_x, check_w32 and check_ns. | ||
| 85 | (have_menus_p): Mention msdos.c in comment. | ||
| 86 | * fontset.c (check_window_system_func): Remove. Adjust all users. | ||
| 87 | * fontset.h (check_window_system_func): Remove prototype. | ||
| 88 | * nsterm.h (check_ns): | ||
| 89 | * xterm.h (check_x): | ||
| 90 | * w32term.h (check_w32): Likewise. | ||
| 91 | * menu.c (Fx_popup_menu): Use check_window_system. | ||
| 92 | * msdos.c (check_window_system): Define for MS-DOS. | ||
| 93 | * nsfns.m (check_window_system): Define for NS. Adjust all users. | ||
| 94 | * w32fns.c (check_window_system): Likewise for MS-Windows. | ||
| 95 | * xfns.c (check_window_system): Likewise for X. | ||
| 96 | * font.c, frame.c, nsmenu.m, nsselect.m, nsterm.m, w32menu.c: | ||
| 97 | * xfaces.c, xmenu.c: Use check_window_system where appropriate. | ||
| 98 | |||
| 99 | 2013-04-02 Paul Eggert <eggert@cs.ucla.edu> | ||
| 100 | |||
| 101 | Prefer < to > in range checks such as 0 <= i && i < N. | ||
| 102 | This makes it easier to visualize quantities on a number line. | ||
| 103 | This patch doesn't apply to all such range checks, | ||
| 104 | only to the range checks affected by the 2013-03-24 change. | ||
| 105 | This patch reverts most of the 2013-03-24 change. | ||
| 106 | * alloc.c (xpalloc, Fgarbage_collect): | ||
| 107 | * ccl.c (ccl_driver, resolve_symbol_ccl_program): | ||
| 108 | * character.c (string_escape_byte8): | ||
| 109 | * charset.c (read_hex): | ||
| 110 | * data.c (cons_to_unsigned): | ||
| 111 | * dispnew.c (update_frame_1): | ||
| 112 | * doc.c (Fsubstitute_command_keys): | ||
| 113 | * doprnt.c (doprnt): | ||
| 114 | * editfns.c (hi_time, decode_time_components): | ||
| 115 | * fileio.c (file_offset): | ||
| 116 | * fns.c (larger_vector, make_hash_table, Fmake_hash_table): | ||
| 117 | * font.c (font_intern_prop): | ||
| 118 | * frame.c (x_set_alpha): | ||
| 119 | * gtkutil.c (get_utf8_string): | ||
| 120 | * indent.c (check_display_width): | ||
| 121 | * keymap.c (Fkey_description): | ||
| 122 | * lisp.h (FIXNUM_OVERFLOW_P, vcopy): | ||
| 123 | * lread.c (read1): | ||
| 124 | * minibuf.c (read_minibuf_noninteractive): | ||
| 125 | * process.c (wait_reading_process_output): | ||
| 126 | * search.c (Freplace_match): | ||
| 127 | * window.c (get_phys_cursor_glyph): | ||
| 128 | * xdisp.c (redisplay_internal): | ||
| 129 | * xsmfns.c (smc_save_yourself_CB): | ||
| 130 | Prefer < to > for range checks. | ||
| 131 | * dispnew.c (sit_for): Don't mishandle NaNs. | ||
| 132 | This fixes a bug introduced in the 2013-03-24 change. | ||
| 133 | * editfns.c (decode_time_components): Don't hoist comparison. | ||
| 134 | This fixes another bug introduced in the 2013-03-24 change. | ||
| 135 | |||
| 136 | 2013-03-31 Dmitry Antipov <dmantipov@yandex.ru> | ||
| 137 | |||
| 138 | * frame.h (struct frame): Drop scroll_bottom_vpos | ||
| 139 | member becaue all real users are dead long ago. | ||
| 140 | (FRAME_SCROLL_BOTTOM_VPOS): Remove. | ||
| 141 | * xdisp.c (redisplay_internal): Adjust user. | ||
| 142 | |||
| 143 | 2013-03-30 Darren Ho <darren.hoo@gmail.com> (tiny change) | ||
| 144 | |||
| 145 | * nsmenu.m (showAtX:Y:for:): setLevel to | ||
| 146 | NSPopUpMenuWindowLevel (Bug#13998). | ||
| 147 | |||
| 148 | 2013-03-30 Jan Djärv <jan.h.d@swipnet.se> | ||
| 149 | |||
| 150 | * nsterm.h (ns_get_pending_menu_title, ns_check_menu_open) | ||
| 151 | (ns_check_pending_open_menu): Declare. | ||
| 152 | |||
| 153 | * nsmenu.m (ns_update_menubar): Correct NSTRACE. | ||
| 154 | (x_activate_menubar): Update the menu with title that matches | ||
| 155 | ns_get_pending_menu_title, and call | ||
| 156 | ns_check_pending_openmenu (Bug#12698). | ||
| 157 | (menuWillOpen:): New method. | ||
| 158 | (menuNeedsUpdate:): Add check for ! COCOA || OSX < 10.5 (Bug#12698). | ||
| 159 | |||
| 160 | * nsterm.m (menu_will_open_state, menu_mouse_point) | ||
| 161 | (menu_pending_title): New varaibles. | ||
| 162 | (ns_get_pending_menu_title, ns_check_menu_open) | ||
| 163 | (ns_check_pending_open_menu): New functions. | ||
| 164 | |||
| 165 | 2013-03-29 Dmitry Antipov <dmantipov@yandex.ru> | ||
| 166 | |||
| 167 | * indent.c (current_column_bol_cache): Remove leftover which is not | ||
| 168 | used in Fmove_to_column any more. | ||
| 169 | (current_column, scan_for_column): Adjust users. | ||
| 170 | * keyboard.c (last_point_position_buffer, last_point_position_window): | ||
| 171 | Remove leftovers which are not used for recording undo any more. | ||
| 172 | (command_loop_1, syms_of_keyboard): Adjust users. | ||
| 173 | * xdisp.c (last_max_ascent): Remove leftover which is not used in | ||
| 174 | redisplay_window any more. | ||
| 175 | (move_it_to): Adjust user. | ||
| 176 | |||
| 177 | 2013-03-29 Juanma Barranquero <lekktu@gmail.com> | ||
| 178 | |||
| 179 | * makefile.w32-in ($(BLD)/filelock.$(O), $(BLD)/filelock.$(O)): | ||
| 180 | Update dependencies. | ||
| 181 | |||
| 182 | 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 183 | |||
| 184 | * lisp.h (save_type, XSAVE_POINTER, set_save_pointer, XSAVE_INTEGER) | ||
| 185 | (set_save_integer, XSAVE_OBJECT, XSAVE_VALUE): Move to avoid | ||
| 186 | forward references. | ||
| 187 | |||
| 188 | 2013-03-28 Dmitry Antipov <dmantipov@yandex.ru> | ||
| 189 | |||
| 190 | * window.h (struct window): Replace hchild, vchild and buffer slots | ||
| 191 | with the only contents slot. This is possible because each valid | ||
| 192 | window may have either the child window (in vertical or horizontal | ||
| 193 | combination) or buffer to display (for the leaf window). Using that, | ||
| 194 | a lof of operations to traverse and/or change window hierarchies may | ||
| 195 | be simplified. New member horizontal is used to distinguish between | ||
| 196 | horizontal and vertical combinations of internal windows. | ||
| 197 | (WINDOW_LEAF_P, WINDOW_HORIZONTAL_COMBINATION_P) | ||
| 198 | (WINDOW_VERTICAL_COMBINATION_P): New macros. | ||
| 199 | (WINDOW_VALID_P, WINDOW_LIVE_P): Adjust to match struct window changes. | ||
| 200 | * window.c (wset_hchild, wset_vchild): Remove. Adjust all users. | ||
| 201 | Use contents slot, not buffer, where appropriate. | ||
| 202 | (wset_combination): New function. | ||
| 203 | (wset_buffer): Add eassert. | ||
| 204 | (Fframe_first_window): Simplify the loop reaching first window. | ||
| 205 | (Fwindow_buffer): Use WINDOW_LEAF_P. | ||
| 206 | (Fwindow_top_child): Use WINDOW_VERTICAL_COMBINATION_P. | ||
| 207 | (Fwindow_left_child): Use WINDOW_HORIZONTAL_COMBINATION_P. | ||
| 208 | (unshow_buffer): Convert initial debugging check to eassert. | ||
| 209 | (replace_window, recombine_windows, Fdelete_other_windows_internal) | ||
| 210 | (make_parent_window, window_resize_check, window_resize_apply) | ||
| 211 | (resize_frame_windows, Fsplit_window_internal, Fdelete_window_internal) | ||
| 212 | (Fset_window_configuration, delete_all_child_windows, save_window_save): | ||
| 213 | Adjust to match struct window changes. | ||
| 214 | (window_loop): Check for broken markers in CHECK_ALL_WINDOWS. | ||
| 215 | (mark_window_cursors_off, count_windows, get_leaf_windows) | ||
| 216 | (foreach_window_1): Simplify the loop. | ||
| 217 | * alloc.c (mark_object): Do not check for the leaf window because | ||
| 218 | internal windows has no glyph matrices anyway. | ||
| 219 | * dispnew.c (clear_window_matrices, showing_window_margins_p) | ||
| 220 | (allocate_matrices_for_window_redisplay, fake_current_matrices) | ||
| 221 | (allocate_matrices_for_frame_redisplay, free_window_matrices) | ||
| 222 | (build_frame_matrix_from_window_tree, mirror_make_current) | ||
| 223 | (frame_row_to_window, mirror_line_dance, check_window_matrix_pointers) | ||
| 224 | (update_window_tree, set_window_update_flags): Simplify the loop. | ||
| 225 | (sync_window_with_frame_matrix_rows): Enforce live window. | ||
| 226 | Use contents slot, not buffer, where appropriate. | ||
| 227 | * frame.c (set_menu_bar_lines_1): Use WINDOW_VERTICAL_COMBINATION_P | ||
| 228 | and WINDOW_HORIZONTAL_COMBINATION_P. | ||
| 229 | (make_frame_visible_1): Simplify the loop. | ||
| 230 | Use contents slot, not buffer, where appropriate. | ||
| 231 | * xdisp.c (hscroll_window_tree, mark_window_display_accurate) | ||
| 232 | (redisplay_windows, redisplay_mode_lines, update_cursor_in_window_tree) | ||
| 233 | (expose_window_tree): Likewise. | ||
| 234 | Use contents slot, not buffer, where appropriate. | ||
| 235 | * textprop.c (get_char_property_and_overlay): Add CHECK_LIVE_WINDOW | ||
| 236 | to avoid deleted windows. Use contents slot instead of buffer. | ||
| 237 | * buffer.c, dispextern.h, editfns.c, fileio.c, font.c, fringe.c: | ||
| 238 | * indent.c, insdel.c, keyboard.c, keymap.c, minibuf.c, msdos.c: | ||
| 239 | * nsfns.m, nsmenu.m, nsterm.m, print.c, w32fns.c, w32menu.c, xfaces.c: | ||
| 240 | * xfns.c, xmenu.c: Use contents slot, not buffer, where appropriate. | ||
| 241 | |||
| 242 | 2013-03-28 Eli Zaretskii <eliz@gnu.org> | ||
| 243 | |||
| 244 | * w32fns.c (w32_wnd_proc) [ENABLE_CHECKING]: Add code to help | ||
| 245 | identify the reasons for assertion violations in bug#14062 and | ||
| 246 | similar ones. | ||
| 247 | (Fx_show_tip): Fix compilation error under | ||
| 248 | "--enable-check-lisp-object-type". (Bug#14073) | ||
| 249 | |||
| 250 | * image.c (g_error_free) [WINDOWSNT]: Add DEF_IMGLIB_FN. | ||
| 251 | Reported by <rzl24ozi@gmail.com>. | ||
| 252 | |||
| 253 | 2013-03-28 Dmitry Antipov <dmantipov@yandex.ru> | ||
| 254 | |||
| 255 | * xdisp.c (with_echo_area_buffer_unwind_data): Save window | ||
| 256 | start marker... | ||
| 257 | (unwind_with_echo_area_buffer): ...to restore it here. This | ||
| 258 | is needed to ensure that... | ||
| 259 | (redisplay_window): ...both window markers are valid here, | ||
| 260 | which is verified by eassert. | ||
| 261 | * editfns.c (save_excursion_save): Do not assume that | ||
| 262 | selected_window always displays the buffer. | ||
| 263 | * buffer.c (Fbuffer_swap_text): Adjust window start markers. | ||
| 264 | Fix comment. | ||
| 265 | |||
| 1 | 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca> | 266 | 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2 | 267 | ||
| 3 | * casetab.c (init_casetab_once): Don't abuse the ascii eqv table for | 268 | * casetab.c (init_casetab_once): Don't abuse the ascii eqv table for |
| @@ -298,7 +563,7 @@ | |||
| 298 | 563 | ||
| 299 | * coding.c (decode_coding_gap): Fix typo caught by static checking. | 564 | * coding.c (decode_coding_gap): Fix typo caught by static checking. |
| 300 | 565 | ||
| 301 | 2013-03-15 handa <handa@gnu.org> | 566 | 2013-03-15 Kenichi Handa <handa@gnu.org> |
| 302 | 567 | ||
| 303 | * insdel.c (insert_from_gap): New arg text_at_gap_tail. | 568 | * insdel.c (insert_from_gap): New arg text_at_gap_tail. |
| 304 | (adjust_after_replace): Make it back to static. Delete the third | 569 | (adjust_after_replace): Make it back to static. Delete the third |