diff options
| author | Joakim Verona | 2013-09-10 23:52:26 +0200 |
|---|---|---|
| committer | Joakim Verona | 2013-09-10 23:52:26 +0200 |
| commit | 63dae8e97d343fd4ebfe3dc08f0e8dc932630a4c (patch) | |
| tree | e5078c5545c777e21944a9ee4199a6f2c6d25ca9 /src/ChangeLog | |
| parent | 92aeabcc8a007f521a664e3aee092eb80ad0f49a (diff) | |
| download | emacs-63dae8e97d343fd4ebfe3dc08f0e8dc932630a4c.tar.gz emacs-63dae8e97d343fd4ebfe3dc08f0e8dc932630a4c.zip | |
merge upstream
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 459 |
1 files changed, 459 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 5d5a811b3c4..4e08178989e 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,464 @@ | |||
| 1 | 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 2 | |||
| 3 | * eval.c (Feval): Document the new use of `lexical'. | ||
| 4 | |||
| 5 | 2013-09-09 Dmitry Antipov <dmantipov@yandex.ru> | ||
| 6 | |||
| 7 | Review and drop old frame resize hack. | ||
| 8 | * frame.h (struct frame): Remove force_flush_display_p. | ||
| 9 | * dispnew.c (update_frame): Adjust user and don't call | ||
| 10 | flush_frame here. The comment has said that there was an issues | ||
| 11 | with redisplaying fringes, but I don't see any differences with | ||
| 12 | and without this hack. Hopefully we can continue without it. | ||
| 13 | * xdisp.c (clear_garbaged_frames): Adjust user and do not clear | ||
| 14 | current frame matrices twice if resized_p is set. | ||
| 15 | |||
| 16 | 2013-09-09 Dmitry Antipov <dmantipov@yandex.ru> | ||
| 17 | |||
| 18 | Do not populate pure Xism x_sync to other ports. | ||
| 19 | * frame.h (x_sync): Move under HAVE_X_WINDOWS. | ||
| 20 | * frame.c (other_visible_frames) [HAVE_X_WINDOWS]: Use as such. | ||
| 21 | * nsfns.m, w32xfns.c (x_sync): Remove no-op. | ||
| 22 | * w32term.h (x_sync): Remove prototype. | ||
| 23 | |||
| 24 | 2013-09-09 Dmitry Antipov <dmantipov@yandex.ru> | ||
| 25 | |||
| 26 | Cleanup frame flushing. | ||
| 27 | * dispextern.h (struct redisplay_interface): | ||
| 28 | Drop flush_display_optional because flush_display is enough | ||
| 29 | for X and flushing via RIF is just a no-op for others. | ||
| 30 | * frame.h (flush_frame): New function. | ||
| 31 | * dispnew.c (update_frame): | ||
| 32 | * minibuf.c (read_minibuf): | ||
| 33 | * xdisp.c (echo_area_display, redisplay_preserve_echo_area): | ||
| 34 | Use it. | ||
| 35 | * keyboard.c (detect_input_pending_run_timers): Do not flush | ||
| 36 | all frames but selected one in redisplay_preserve_echo_area. | ||
| 37 | * nsterm.m (ns_flush): Remove no-op. | ||
| 38 | (ns_redisplay_interface): Adjust user. | ||
| 39 | * w32term.h (x_flush): Remove no-op. | ||
| 40 | (w32_redisplay_interface): Adjust user. | ||
| 41 | * xterm.c (x_flush): Simplify because we do not flush all | ||
| 42 | frames at once any more. Adjust comment. | ||
| 43 | (x_redisplay_interface): Adjust user. | ||
| 44 | |||
| 45 | 2013-09-07 Paul Eggert <eggert@cs.ucla.edu> | ||
| 46 | |||
| 47 | Port --without-x --enable-gcc-warnings to Fedora 19. | ||
| 48 | * gfilenotify.c (globals_of_gfilenotify): | ||
| 49 | Call g_type_init only if using an older glib version that needs it. | ||
| 50 | |||
| 51 | 2013-09-06 Dmitry Antipov <dmantipov@yandex.ru> | ||
| 52 | |||
| 53 | * lisp.h (last_glyphless_glyph_frame, last_glyphless_glyph_face_id) | ||
| 54 | (last_glyphless_glyph_merged_face_id): Remove declarations. | ||
| 55 | * dispextern.h (merge_glyphless_glyph_face): Add prototype. | ||
| 56 | * xdisp.c (last_glyphless_glyph_frame, last_glyphless_glyph_face_id) | ||
| 57 | (last_glyphless_glyph_merged_face_id): Now static. | ||
| 58 | (merge_escape_glyph_face): New function, refactored from... | ||
| 59 | (get_next_display_element): ...here. | ||
| 60 | (merge_glyphless_glyph_face): New function, refactored from... | ||
| 61 | (produce_glyphless_glyph): ...here... | ||
| 62 | * term.c (produce_glyphless_glyph): ...and here. | ||
| 63 | |||
| 64 | 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 65 | |||
| 66 | * eval.c (eval_sub): Only call Ffunction if necessary. | ||
| 67 | |||
| 68 | 2013-09-06 Dmitry Antipov <dmantipov@yandex.ru> | ||
| 69 | |||
| 70 | Attempt to make redisplay more selective when changing cursor type. | ||
| 71 | * frame.h (struct frame): New bitfield cursor_type_changed. | ||
| 72 | * xdisp.c (cursor_type_changed): Remove. | ||
| 73 | (try_cursor_movement, redisplay_window, try_window_id) | ||
| 74 | (set_frame_cursor_types, try_window_reusing_current_matrix): | ||
| 75 | Adjust to use per-frame bitfield. | ||
| 76 | (redisplay_internal): Look for cursor type change on each visible | ||
| 77 | frame and consider all frames if cursor type has been changed on | ||
| 78 | the frame other than selected. If cursor type has been changed on | ||
| 79 | selected frame only, do not use fast update. | ||
| 80 | |||
| 81 | 2013-09-06 Dmitry Antipov <dmantipov@yandex.ru> | ||
| 82 | |||
| 83 | Attempt to make redisplay more selective when changing fonts. | ||
| 84 | * frame.h (struct frame): New bitfield fonts_changed. | ||
| 85 | * dispextern.h (fonts_changed_p, adjust_glyphs): Remove declaration. | ||
| 86 | (adjust_frame_glyphs): Add prototype. | ||
| 87 | * dispnew.c (fonts_changed_p): Remove. | ||
| 88 | (adjust_glyphs): Remove because we do not | ||
| 89 | adjust matrices on all frames at once any more. | ||
| 90 | (adjust_frame_glyphs): Block and unblock input here. | ||
| 91 | (adjust_glyph_matrix): Use fonts_changed. | ||
| 92 | (change_frame_size_1): Use adjust_frame_glyphs. | ||
| 93 | * font.c (font_open_entity): Use fonts_changed. | ||
| 94 | * frame.c (set_menu_bar_lines, Fmake_terminal_frame): | ||
| 95 | * w32fns.c (x_set_menu_bar_lines, x_set_tool_bar_lines, Fx_show_tip): | ||
| 96 | * window.c (Fdelete_other_windows_internal, Fwindow_resize_apply) | ||
| 97 | (Fsplit_window_internal, Fdelete_window_internal, grow_mini_window) | ||
| 98 | (shrink_mini_window, Fresize_mini_window_internal) | ||
| 99 | (window_scroll_pixel_based, Fset_window_configuration) | ||
| 100 | (apply_window_adjustment, Fset_window_vscroll): | ||
| 101 | * xfns.c (x_set_menu_bar_lines, x_set_tool_bar_lines, Fx_show_tip): | ||
| 102 | Use adjust_frame_glyphs. | ||
| 103 | * xdisp.c (redisplay_tool_bar, redisplay_window, try_window) | ||
| 104 | (try_window_reusing_current_matrix, try_window_id, display_line) | ||
| 105 | (IT_EXPAND_MATRIX_WIDTH): Use fonts_changed. | ||
| 106 | (redisplay_internal): Consider fonts_changed and adjust frame | ||
| 107 | matrices for each frame only if the frame is visible. If font | ||
| 108 | has been changed on some frame during full redisplay, retry | ||
| 109 | only visible frames where the font has been actually changed. | ||
| 110 | |||
| 111 | 2013-09-05 Dmitry Antipov <dmantipov@yandex.ru> | ||
| 112 | |||
| 113 | Cache current header and mode line height for each window. | ||
| 114 | * window.h (struct window): New fields mode_line_height | ||
| 115 | and header_line_height. | ||
| 116 | * window.c (make_window): Initialize them. | ||
| 117 | * dispextern.h (CURRENT_MODE_LINE_HEIGHT) | ||
| 118 | (CURRENT_HEADER_LINE_HEIGHT): Use them. Adjust comment. | ||
| 119 | (current_mode_line_height, current_header_line_height): | ||
| 120 | Remove declaration. | ||
| 121 | * xdisp.c (current_mode_line_height, current_header_line_height): | ||
| 122 | Remove. | ||
| 123 | (pos_visible_p, init_xdisp): Adjust user. | ||
| 124 | (redisplay_window): Invalidate mode_line_height and | ||
| 125 | header_line_height if current and desired matrices do not agree. | ||
| 126 | |||
| 127 | 2013-09-05 Dmitry Antipov <dmantipov@yandex.ru> | ||
| 128 | |||
| 129 | * fontset.c, window.c, xdisp.c (toplevel): Use TERM_HEADER. | ||
| 130 | * xfaces.c (toplevel) [HAVE_X_WINDOWS]: Do not include xterm.h twice. | ||
| 131 | |||
| 132 | 2013-09-05 Dmitry Antipov <dmantipov@yandex.ru> | ||
| 133 | |||
| 134 | Make --without-x compatible with --enable-gcc-warnings. | ||
| 135 | * font.c (register_font_driver): Move check under HAVE_WINDOW_SYSTEM. | ||
| 136 | * font.h (struct font_driver): Move draw, get_bitmap and free_bitmap | ||
| 137 | members under HAVE_WINDOW_SYSTEM. | ||
| 138 | * keyboard.c (make_lispy_focus_out): Likewise. | ||
| 139 | (record_menu_key): Move under HAVE_MENUS. | ||
| 140 | * xdisp.c (toplevel): Move hourglass_shown_p, hourglass_atimer and | ||
| 141 | THIN_SPACE_WIDTH under HAVE_WINDOW_SYSTEM. | ||
| 142 | (syms_of_xdisp): Adjust user. | ||
| 143 | (window_box_edges): Define only if HAVE_WINDOW_SYSTEM. | ||
| 144 | (start_hourglass, cancel_hourglass): | ||
| 145 | * xfaces.c (toplevel): Likewise with PT_PER_INCH, | ||
| 146 | clear_font_table_count, CLEAR_FONT_TABLE_COUNT | ||
| 147 | and CLEAR_FONT_TABLE_NFONTS. | ||
| 148 | (set_font_frame_param, clear_face_gcs, realize_non_ascii_face): | ||
| 149 | Declare only if HAVE_WINDOW_SYSTEM. | ||
| 150 | (lface_same_font_attributes_p, clear_face_gcs): Define only | ||
| 151 | if HAVE_WINDOW_SYSTEM. | ||
| 152 | |||
| 153 | 2013-09-05 Dmitry Antipov <dmantipov@yandex.ru> | ||
| 154 | |||
| 155 | * frame.c (check_minibuf_window): Update 'frame' with frame pointer. | ||
| 156 | * xterm.c (x_scroll_bar_handle_click) [!USE_TOOLKIT_SCROLL_BARS]: | ||
| 157 | Don't pass C integer to XINT (tiny fix for 2013-09-03 change). | ||
| 158 | |||
| 159 | 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 160 | |||
| 161 | * cmds.c (Fself_insert_command): Don't pass a non-integer to XINT. | ||
| 162 | |||
| 163 | 2013-09-04 Paul Eggert <eggert@cs.ucla.edu> | ||
| 164 | |||
| 165 | * alloc.c (make_event_array): First arg is now ptrdiff_t, not int. | ||
| 166 | This fixes a type error on hosts where ptrdiff_t is wider than int. | ||
| 167 | |||
| 168 | 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 169 | |||
| 170 | * keyboard.c (read_key_sequence_vs): New function. | ||
| 171 | (Fread_key_sequence_vector, Fread_key_sequence): Use it to factor out | ||
| 172 | common code. | ||
| 173 | |||
| 174 | * callint.c (Fcall_interactively): Always return a vector for 'K'. | ||
| 175 | |||
| 176 | 2013-09-04 Paul Eggert <eggert@cs.ucla.edu> | ||
| 177 | |||
| 178 | Makefile improvements. | ||
| 179 | * Makefile.in (config.status): Don't use double-colon rules, as | ||
| 180 | they are not portable according to POSIX. Fix shell typo with `; | ||
| 181 | I guess this rule has never been tested? | ||
| 182 | (VCSWITNESS): New macro, to override any environment var. | ||
| 183 | |||
| 184 | 2013-09-04 Dmitry Antipov <dmantipov@yandex.ru> | ||
| 185 | |||
| 186 | * xterm.h (struct x_display_info): Do not track X connection | ||
| 187 | fd separately because it is always available from Display. | ||
| 188 | * xterm.c (x_term_init, x_delete_terminal, x_delete_display): | ||
| 189 | Adjust users. | ||
| 190 | |||
| 191 | 2013-09-03 Dmitry Antipov <dmantipov@yandex.ru> | ||
| 192 | |||
| 193 | * buffer.c (drop_overlay): | ||
| 194 | * fileio.c (restore_point_unwind): Prefer unchain_marker to | ||
| 195 | Fset_marker (X, Qnil, ...) (which is the same but a bit slower). | ||
| 196 | |||
| 197 | 2013-09-03 Dmitry Antipov <dmantipov@yandex.ru> | ||
| 198 | |||
| 199 | * buffer.c (Fmake_overlay, Fmove_overlay): | ||
| 200 | * intervals.c (set_point_from_marker): | ||
| 201 | * print.c (PRINTPREPARE): Prefer signal_error | ||
| 202 | to plain error and report unsuitable marker too. | ||
| 203 | |||
| 204 | 2013-09-03 Dmitry Antipov <dmantipov@yandex.ru> | ||
| 205 | |||
| 206 | * xterm.h (struct scroll_bar): Prefer int to Lisp_Object | ||
| 207 | for 'dragging' member. | ||
| 208 | (struct x_output): Remove set-but-unused leftovers | ||
| 209 | 'left_before_move' and 'top_before_move'. | ||
| 210 | * gtkutil.c (xg_set_toolkit_scroll_bar_thumb): | ||
| 211 | * xterm.c (xt_action_hook, xm_scroll_callback, xg_scroll_callback) | ||
| 212 | (xg_end_scroll_callback, xaw_jump_callback, xaw_scroll_callback) | ||
| 213 | (x_set_toolkit_scroll_bar_thumb, x_scroll_bar_create) | ||
| 214 | (x_scroll_bar_set_handle, XTset_vertical_scroll_bar) | ||
| 215 | (x_scroll_bar_handle_click, x_scroll_bar_note_movement) | ||
| 216 | (x_scroll_bar_report_motion, x_set_offset): Related users changed. | ||
| 217 | * xfns.c, image.c (XLIB_ILLEGAL_ACCESS): No longer needed. | ||
| 218 | |||
| 219 | 2013-09-03 Jan Djärv <jan.h.d@swipnet.se> | ||
| 220 | |||
| 221 | * nsfont.m (INVALID_GLYPH): New define. | ||
| 222 | (nsfont_encode_char): Use INVALID_GLYPH. | ||
| 223 | (ns_uni_to_glyphs): Ditto, check for NSNullGlyph (Bug#15138). | ||
| 224 | |||
| 225 | 2013-09-02 Dmitry Antipov <dmantipov@yandex.ru> | ||
| 226 | |||
| 227 | * xterm.c (x_last_mouse_movement_time): Revert last change. | ||
| 228 | This code should use XDisplayMotionBufferSize to check display's | ||
| 229 | motion history first, and there are few other issues as well. | ||
| 230 | (x_scroll_bar_note_movement): Pass XMotionEvent rather than XEvent. | ||
| 231 | (handle_one_xevent): Adjust user. | ||
| 232 | |||
| 233 | 2013-09-02 Martin Rudalics <rudalics@gmx.at> | ||
| 234 | |||
| 235 | * dispnew.c (Flast_nonminibuf_frame): Move from here ... | ||
| 236 | * frame.c (Flast_nonminibuf_frame): ... to here. | ||
| 237 | (check_minibuf_window): Don't abort if no window was found | ||
| 238 | (Bug#15247). | ||
| 239 | |||
| 240 | 2013-09-02 Dmitry Antipov <dmantipov@yandex.ru> | ||
| 241 | |||
| 242 | Use XGetMotionEvents to ask the last mouse motion time from X server. | ||
| 243 | * xterm.c (X_MOTION_HISTORY): Default to 1. | ||
| 244 | (x_last_mouse_movement_time) [X_MOTION_HISTORY]: New function. | ||
| 245 | (x_last_mouse_movement_time) [!X_MOTION_HISTORY]: Legacy version. | ||
| 246 | (note_mouse_movement, x_scroll_bar_note_movement) [!X_MOTION_HISTORY]: | ||
| 247 | Ifdef away legacy code. | ||
| 248 | (XTmouse_position, x_scroll_bar_report_motion): | ||
| 249 | Use x_last_mouse_movement_time. | ||
| 250 | (handle_one_xevent): Use event.xunmap and not event.xmap when handling | ||
| 251 | UnmapNotify event. | ||
| 252 | |||
| 253 | 2013-09-02 Dmitry Antipov <dmantipov@yandex.ru> | ||
| 254 | |||
| 255 | * msdos.c (last_mouse_window): Move to... | ||
| 256 | (dos_rawgetc): ...this function and adjust comment. | ||
| 257 | * nsterm.m (last_window): Rename to last_mouse_window, move to... | ||
| 258 | (mouseMoved): ...this function and adjust comment. | ||
| 259 | * w32term.c (last_window): Likewise with... | ||
| 260 | (w32_read_socket): ...this function. | ||
| 261 | * xterm.c (last_window): Likewise with... | ||
| 262 | (handle_one_xevent): ...this function. | ||
| 263 | |||
| 264 | 2013-09-02 Dmitry Antipov <dmantipov@yandex.ru> | ||
| 265 | |||
| 266 | * window.h (Vmouse_window, Vmouse_event): Remove the leftovers. | ||
| 267 | * xterm.c (toplevel): Drop obsolete comment and move compose_status... | ||
| 268 | (handle_one_xevent): ...to here. | ||
| 269 | (STORE_KEYSYM_FOR_DEBUG): Move under ENABLE_CHECKING and make no-op | ||
| 270 | otherwise. | ||
| 271 | |||
| 272 | 2013-09-02 Dmitry Antipov <dmantipov@yandex.ru> | ||
| 273 | |||
| 274 | * msdos.c (IT_set_terminal_window): Remove no-op. | ||
| 275 | (initialize_msdos_display): Adjust terminal setup. | ||
| 276 | * w32console.c (w32con_set_terminal_window): Remove no-op. | ||
| 277 | (initialize_w32_display): Adjust terminal setup. | ||
| 278 | * w32term.c (w32_set_terminal_window): Remove no-op. | ||
| 279 | (w32_create_terminal): Adjust terminal setup. | ||
| 280 | * xterm.c (XTset_terminal_window): Remove no-op. | ||
| 281 | (x_create_terminal): Adjust terminal setup. | ||
| 282 | |||
| 283 | 2013-09-01 Dmitry Antipov <dmantipov@yandex.ru> | ||
| 284 | |||
| 285 | * nsterm.m (ns_set_terminal_modes, ns_reset_terminal_modes): | ||
| 286 | Remove no-ops. | ||
| 287 | (ns_create_terminal): Adjust terminal setup. | ||
| 288 | * w32term.c (w32_set_terminal_modes, w32_reset_terminal_modes): | ||
| 289 | Remove no-ops. | ||
| 290 | (w32_create_terminal): Adjust terminal setup. | ||
| 291 | * xterm.c (XTset_terminal_modes, XTreset_terminal_modes): | ||
| 292 | Remove no-ops. | ||
| 293 | (x_create_terminal): Adjust terminal setup. | ||
| 294 | |||
| 295 | 2013-09-01 Dmitry Antipov <dmantipov@yandex.ru> | ||
| 296 | |||
| 297 | * dispextern.h (SET_TEXT_POS_FROM_MARKER): Indent. | ||
| 298 | (CLIP_TEXT_POS_FROM_MARKER): New macro. | ||
| 299 | * dispnew.c (buffer_posn_from_coords): | ||
| 300 | * window.c (Fwindow_end, displayed_window_lines): | ||
| 301 | * xdisp.c (redisplay_mode_lines): Use it. | ||
| 302 | |||
| 303 | 2013-09-01 Jan Djärv <jan.h.d@swipnet.se> | ||
| 304 | |||
| 305 | * fontset.c (face_for_char): Check char in the current face font first | ||
| 306 | if HAVE_NS (Bug#15138). | ||
| 307 | |||
| 308 | 2013-08-31 Martin Rudalics <rudalics@gmx.at> | ||
| 309 | |||
| 310 | * window.c (temp_output_buffer_show): Make sure window returned | ||
| 311 | by display_buffer is live (Bug#15213). | ||
| 312 | |||
| 313 | 2013-08-30 Dmitry Antipov <dmantipov@yandex.ru> | ||
| 314 | |||
| 315 | Minor cleanup to avoid forward declarations. | ||
| 316 | * coding.h (struct ccl_spec): Remove forward declaration. | ||
| 317 | * composite.h (toplevel): Include font.h. | ||
| 318 | (struct composition_it, struct face, struct font_metrics): | ||
| 319 | Remove forward declaration. | ||
| 320 | * dispextern.h (struct image, struct atimer): Likewise. | ||
| 321 | * emacsgtkfixed.h (struct frame): Likewise. | ||
| 322 | * emacsgtkfixed.c (toplevel): Reorder headers and drop stdio.h. | ||
| 323 | * font.h (struct font_driver, struct font, struct glyph_string) | ||
| 324 | (struct face): Remove forward declaration. | ||
| 325 | * fontset.h (struct face, struct font): Likewise. | ||
| 326 | * frame.h (toplevel): Style cleanup. | ||
| 327 | (enum output_method): Move to... | ||
| 328 | * termhooks.h (enum output_method): ...here. | ||
| 329 | (struct glyph, struct frame, struct ns_display_info) | ||
| 330 | (struct x_display_info, struct w32_display_info): | ||
| 331 | Remove forward declaration. | ||
| 332 | * xterm.h (toplevel): Include termhooks.h. | ||
| 333 | (struct font, struct window, struct glyph_matrix, struct frame) | ||
| 334 | (struct input_event, struct face, struct image): Remove forward | ||
| 335 | declaration. | ||
| 336 | * gtkutil.h (struct _widget_value): Likewise. | ||
| 337 | * keyboard.h (toplevel): Include termhooks.h. | ||
| 338 | (struct input_event): Remove forward declaration. | ||
| 339 | |||
| 340 | 2013-08-29 Dmitry Antipov <dmantipov@yandex.ru> | ||
| 341 | |||
| 342 | * intervals.c (set_point_from_marker): New function. | ||
| 343 | * editfns.c (Fgoto_char): | ||
| 344 | * process.c (Finternal_default_process_filter): | ||
| 345 | * window.c (select_window_1): Use it. | ||
| 346 | * buffer.h (set_point_from_marker): Add prototype. | ||
| 347 | |||
| 348 | 2013-08-29 Eli Zaretskii <eliz@gnu.org> | ||
| 349 | |||
| 350 | * w32.c (term_winsock): Call release_listen_threads before calling | ||
| 351 | WSACleanup. | ||
| 352 | (_sys_wait_accept): Wait for accept event in a loop with a finite | ||
| 353 | timeout, instead of waiting indefinitely. Will hopefully avoid | ||
| 354 | hanging during exit because WSACleanup deadlocks waiting for the | ||
| 355 | event object to be released. (Bug#14333) | ||
| 356 | |||
| 357 | * w32proc.c (release_listen_threads): New function, signals all | ||
| 358 | the reader threads that listen for connections to stop waiting. | ||
| 359 | |||
| 360 | * w32.h (release_listen_threads): Add prototype. | ||
| 361 | |||
| 362 | 2013-08-29 Dmitry Antipov <dmantipov@yandex.ru> | ||
| 363 | |||
| 364 | * alloc.c (Fmake_marker, build_marker): Zero need_adjustment | ||
| 365 | field of new marker (for sanity and safety). | ||
| 366 | * lisp.h (XSETMARKER): Remove unused macro (it doesn't work | ||
| 367 | anyway because XMISCTYPE is a function and can't be an lvalue). | ||
| 368 | |||
| 369 | 2013-08-29 Dmitry Antipov <dmantipov@yandex.ru> | ||
| 370 | |||
| 371 | * xterm.c (x_clear_area): Lost 7th arg because it is always False. | ||
| 372 | (x_after_update_window_line, x_scroll_bar_create): | ||
| 373 | (x_scroll_bar_set_handle, XTset_vertical_scroll_bar): | ||
| 374 | (handle_one_xevent, x_clear_frame_area): | ||
| 375 | * gtkutil.c (xg_clear_under_internal_border, xg_update_scrollbar_pos): | ||
| 376 | * xfns.c (x_set_menu_bar_lines, x_set_tool_bar_lines): Adjust users. | ||
| 377 | * xterm.h (x_clear_area): Adjust prototype. | ||
| 378 | |||
| 379 | 2013-08-29 Dmitry Antipov <dmantipov@yandex.ru> | ||
| 380 | |||
| 381 | Hook scanning and indentation functions to find_newline. This helps | ||
| 382 | to avoid duplicated code and renders more respect to newline cache. | ||
| 383 | * lisp.h (scan_newline): Prefer ptrdiff_t to EMACS_INT. | ||
| 384 | * cmds.c (Fforward_line): | ||
| 385 | * indent.c (scan_for_column, Fcurrent_indentation, indented_beyond_p): | ||
| 386 | Use find_newline and avoid unnecessary point movements. | ||
| 387 | * search.c (scan_newline): Implement on top of find_newline. | ||
| 388 | |||
| 389 | 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 390 | |||
| 391 | * eval.c (Ffuncall): Fix handling of ((lambda ..) ..) in lexically | ||
| 392 | scoped code (bug#11258). | ||
| 393 | |||
| 394 | 2013-08-28 Davor Cubranic <cubranic@stat.ubc.ca> (tiny change) | ||
| 395 | |||
| 396 | * nsterm.m (last_window): New variable. | ||
| 397 | (EV_TRAILER2): New macro. | ||
| 398 | (EV_TRAILER): Call EV_TRAILER2. | ||
| 399 | (mouseMoved:): Add support for mouse-autoselect-window | ||
| 400 | on nextstep (Bug#6888). | ||
| 401 | |||
| 402 | 2013-08-28 Andreas Schwab <schwab@suse.de> | ||
| 403 | |||
| 404 | * regex.c (CHAR_CHARSET, CHARSET_LEADING_CODE_BASE, CHAR_HEAD_P) | ||
| 405 | (SINGLE_BYTE_CHAR_P, SAME_CHARSET_P, MAKE_CHAR, BYTE8_TO_CHAR): | ||
| 406 | Remove unused macro definitions. | ||
| 407 | (CHARSET_RANGE_TABLE_BITS, EXTEND_RANGE_TABLE) | ||
| 408 | (SET_RANGE_TABLE_WORK_AREA_BIT, SET_RANGE_TABLE_WORK_AREA): | ||
| 409 | Only define if emacs. | ||
| 410 | |||
| 411 | 2013-08-28 Dmitry Antipov <dmantipov@yandex.ru> | ||
| 412 | |||
| 413 | Prefer enum glyph_row_area to int where appropriate. | ||
| 414 | * dispextern.h (enum glyph_row_area): Add ANY_AREA member. | ||
| 415 | Fix comment. | ||
| 416 | (window_box, window_box_width, window_box_left, window_box_left_offset) | ||
| 417 | (window_box_right, window_box_right_offset): Adjust prototypes. | ||
| 418 | * xdisp.c (window_box, window_box_width, window_box_left) | ||
| 419 | (window_box_left_offset, window_box_right, window_box_right_offset): | ||
| 420 | Use enum glyph_row_area. Adjust users and tweak comment where needed. | ||
| 421 | (window_box_edges): Likewise. Lost 2nd arg since it is always ANY_AREA. | ||
| 422 | * nsterm.m (ns_clip_to_row): | ||
| 423 | * w32term.c (w32_clip_to_row): | ||
| 424 | * xterm.c (x_clip_to_row): Likewise. | ||
| 425 | |||
| 426 | 2013-08-28 Dmitry Antipov <dmantipov@yandex.ru> | ||
| 427 | |||
| 428 | * buffer.c (Foverlays_at, Foverlays_in, Fnext_overlay_change) | ||
| 429 | (Fprevious_overlay_change): Fast path for buffer with no overlays. | ||
| 430 | |||
| 431 | 2013-08-28 Paul Eggert <eggert@cs.ucla.edu> | ||
| 432 | |||
| 433 | * Makefile.in (SHELL): Now @SHELL@, not /bin/sh, | ||
| 434 | for portability to hosts where /bin/sh has problems. | ||
| 435 | |||
| 436 | 2013-08-28 Dmitry Antipov <dmantipov@yandex.ru> | ||
| 437 | |||
| 438 | Redesign redisplay interface to drop global output_cursor. | ||
| 439 | * dispextern.h (struct redisplay_interface): Remove cursor_to member. | ||
| 440 | (toplevel): Remove declaration of output_cursor. | ||
| 441 | (set_output_cursor, x_cursor_to): Remove prototype. | ||
| 442 | * window.h (struct window): New member output_cursor. | ||
| 443 | (output_cursor_to): New function to replace RIF member. | ||
| 444 | * dispnew.c (redraw_overlapped_rows, update_marginal_area) | ||
| 445 | (update_text_area, set_window_cursor_after_update): Use it. | ||
| 446 | * xdisp.c (output_cursor, set_output_cursor, x_cursor_to): Remove. | ||
| 447 | (x_write_glyphs, x_insert_glyphs, x_clear_end_of_line): | ||
| 448 | * nsterm.m (ns_update_window_begin, ns_update_window_end): | ||
| 449 | * w32term.c (x_update_window_begin, x_update_window_end): | ||
| 450 | * xterm.c (x_update_window_begin, x_update_window_end): | ||
| 451 | Adjust to use per-window output cursor. | ||
| 452 | |||
| 1 | 2013-08-27 Paul Eggert <eggert@cs.ucla.edu> | 453 | 2013-08-27 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 454 | ||
| 455 | Simplify SELECT_TYPE-related code. | ||
| 456 | Like EMACS_TIME, this portability layer is no longer needed, since | ||
| 457 | Emacs has been using fd_set as a portability layer for some time. | ||
| 458 | * sysselect.h (FD_SETSIZE): Rename from MAXDESC. All uses changed. | ||
| 459 | (SELECT_TYPE): Remove. All uses changed to fd_set. | ||
| 460 | (fd_set) [!FD_SET]: New typedef. | ||
| 461 | |||
| 3 | Simplify EMACS_TIME-related code. | 462 | Simplify EMACS_TIME-related code. |
| 4 | This portability layer is no longer needed, since Emacs has been | 463 | This portability layer is no longer needed, since Emacs has been |
| 5 | using struct timespec as a portability layer for some time. | 464 | using struct timespec as a portability layer for some time. |