diff options
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 247 |
1 files changed, 226 insertions, 21 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index a1aa4efcc86..4d6e669612f 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,209 @@ | |||
| 1 | 2013-06-13 Kelly Dean <kellydeanch@yahoo.com> (tiny change) | ||
| 2 | |||
| 3 | * fileio.c (Fdo_auto_save): Trap errors in auto-save-hook. (Bug#14479) | ||
| 4 | |||
| 5 | 2013-06-12 Xue Fuqiao <xfq.free@gmail.com> | ||
| 6 | |||
| 7 | * fileio.c (expand_file_name): Doc fix. | ||
| 8 | |||
| 9 | 2013-06-11 Paul Eggert <eggert@cs.ucla.edu> | ||
| 10 | |||
| 11 | Tickle glib by waiting for Emacs itself, not for process 0 (Bug#14569). | ||
| 12 | * process.c (init_process_emacs) [HAVE_GLIB && !WINDOWSNT]: | ||
| 13 | Wait for self, not for 0. This can't hurt on GNU or similar | ||
| 14 | system, and may help with Cygwin. | ||
| 15 | |||
| 16 | * keyboard.c: Don't use PROP (...) as an lvalue. | ||
| 17 | (parse_tool_bar_item) [!USE_GTK && !HAVE_NS]: | ||
| 18 | Use set_prop (A, B), not PROP (A) = B. | ||
| 19 | |||
| 20 | 2013-06-10 Eli Zaretskii <eliz@gnu.org> | ||
| 21 | |||
| 22 | * xdisp.c (get_it_property): Use it->window instead of generating | ||
| 23 | a Lisp object from it->w. | ||
| 24 | |||
| 25 | 2013-06-09 Eli Zaretskii <eliz@gnu.org> | ||
| 26 | |||
| 27 | * xdisp.c (get_it_property): If it->object is a buffer, pass to | ||
| 28 | get-char-property the window that is being rendered, instead of | ||
| 29 | the buffer, to support window-specific overlays. (Bug#14575) | ||
| 30 | (compute_display_string_pos): When W is NULL, use the current | ||
| 31 | buffer as the object to pass to get-char-property. | ||
| 32 | (Fcurrent_bidi_paragraph_direction): Assign NULL to the window | ||
| 33 | pointer member of the bidi iterator, since no window is pertinent | ||
| 34 | to this function. | ||
| 35 | |||
| 36 | 2013-06-08 Eli Zaretskii <eliz@gnu.org> | ||
| 37 | |||
| 38 | * bidi.c (bidi_fetch_char): Accept additional argument, the window | ||
| 39 | being displayed, and pass it to compute_display_string_pos. | ||
| 40 | (bidi_level_of_next_char, bidi_resolve_explicit_1) | ||
| 41 | (bidi_paragraph_init): All callers changed. | ||
| 42 | |||
| 43 | * xdisp.c (init_from_display_pos, init_iterator) | ||
| 44 | (handle_single_display_spec, next_overlay_string) | ||
| 45 | (get_overlay_strings_1, reseat_1, reseat_to_string) | ||
| 46 | (push_prefix_prop, Fcurrent_bidi_paragraph_direction): | ||
| 47 | Set bidi_it.w member from it->w. | ||
| 48 | (compute_display_string_pos): Accept additional argument, the | ||
| 49 | window being displayed, and pass it to Fget_char_property. | ||
| 50 | (Bug#14575) | ||
| 51 | |||
| 52 | * dispextern.h (struct bidi_it): New member w, the window being | ||
| 53 | displayed. | ||
| 54 | (compute_display_string_pos): Adjust prototype. | ||
| 55 | |||
| 56 | 2013-06-08 Jan Djärv <jan.h.d@swipnet.se> | ||
| 57 | |||
| 58 | * xgselect.c: Remove unneeded include xterm.h. | ||
| 59 | |||
| 60 | * process.c (wait_reading_process_output): Check for NS before GLIB. | ||
| 61 | GLIB may be linked in due to rsvg, but ns_select must be called. | ||
| 62 | |||
| 63 | * xgselect.c (xg_select): Remove call to window_system_available | ||
| 64 | and g_main_context_pending at the top, so Gdk events (i.e. file | ||
| 65 | notify) are processed when Emacs is started with -nw. | ||
| 66 | |||
| 67 | 2013-06-07 Eli Zaretskii <eliz@gnu.org> | ||
| 68 | |||
| 69 | * Makefile.in (ctagsfiles1, ctagsfiles2): Don't include *.m files. | ||
| 70 | (ctagsfiles3): New variable, includes only *.m files. | ||
| 71 | (TAGS): Use an explicit language name in the regular expressions, | ||
| 72 | to avoid transformation of '/SOMETHING' by MSYS to | ||
| 73 | 'c:\MSYS\SOMETHING'. | ||
| 74 | |||
| 75 | 2013-06-07 Richard Copley <rcopley@gmail.com> (tiny change) | ||
| 76 | |||
| 77 | * epaths.in: Fix commentary to PATH_SITELOADSEARCH. | ||
| 78 | |||
| 79 | 2013-06-06 Eli Zaretskii <eliz@gnu.org> | ||
| 80 | |||
| 81 | * xdisp.c (note_mouse_highlight): When mouse-highlight is off, | ||
| 82 | still need to set the mouse pointer shape and activate help-echo. | ||
| 83 | (Bug#14558) | ||
| 84 | |||
| 85 | 2013-06-06 Paul Eggert <eggert@cs.ucla.edu> | ||
| 86 | |||
| 87 | A few porting etc. fixes for the new file monitor code. | ||
| 88 | See the thread containing | ||
| 89 | <http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00109.html>. | ||
| 90 | * gfilenotify.c (dir_monitor_callback, Fgfile_add_watch) | ||
| 91 | (Fgfile_rm_watch): Don't assume EMACS_INT is the same width as a pointer. | ||
| 92 | (dir_monitor_callback, Fgfile_rm_watch): | ||
| 93 | Use assq_no_quit instead of Fassoc, for speed. | ||
| 94 | (dir_monitor_callback, Fgfile_rm_watch): | ||
| 95 | eassert that the monitor is a fixnum. | ||
| 96 | (dir_monitor_callback): No need for CDR_SAFE. | ||
| 97 | Simplify building of lisp with alternative tails. | ||
| 98 | (Fgfile_add_watch, Fgfile_rm_watch): | ||
| 99 | Do not assume glib functions set errno reliably on failure. | ||
| 100 | (Fgfile_add_watch): Check that the monitor survives the XIL trick, | ||
| 101 | and signal an error otherwise. | ||
| 102 | (Fgfile_rm_watch): Prefer CONSP to !NILP. | ||
| 103 | Use Fdelq instead of Fdelete, for speed. | ||
| 104 | |||
| 105 | 2013-06-05 Eli Zaretskii <eliz@gnu.org> | ||
| 106 | |||
| 107 | * xdisp.c (handle_tool_bar_click): When mouse-highlight is off, | ||
| 108 | don't insist on being invoked on a highlighted tool-bar button. | ||
| 109 | Avoids losing tool-bar functionality when mouse-highlight is nil. | ||
| 110 | (note_tool_bar_highlight, note_mode_line_or_margin_highlight): | ||
| 111 | Don't highlight when mouse-highlight is nil. | ||
| 112 | (note_mouse_highlight): When mouse-highlight is nil, don't return | ||
| 113 | right away; instead, run tool-bar and mode-line highlight | ||
| 114 | subroutine, clear any existing highlight, and revert the mouse | ||
| 115 | pointer to its default shape. (Bug#14558) | ||
| 116 | |||
| 117 | 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 118 | |||
| 119 | * lisp.mk (lisp): Add prog-mode.el. | ||
| 120 | |||
| 121 | 2013-06-05 Paul Eggert <eggert@cs.ucla.edu> | ||
| 122 | |||
| 123 | Chain glib's SIGCHLD handler from Emacs's (Bug#14474). | ||
| 124 | * process.c (dummy_handler): New function. | ||
| 125 | (lib_child_handler): New static var. | ||
| 126 | (handle_child_signal): Invoke it. | ||
| 127 | (catch_child_signal): If a library has set up a signal handler, | ||
| 128 | save it into lib_child_handler. | ||
| 129 | (init_process_emacs): If using glib and not on Windows, tickle glib's | ||
| 130 | child-handling code so that it initializes its private SIGCHLD handler. | ||
| 131 | * syssignal.h (SA_SIGINFO): Default to 0. | ||
| 132 | * xterm.c (x_term_init): Remove D-bus hack that I installed on May | ||
| 133 | 31; it should no longer be needed now. | ||
| 134 | |||
| 135 | 2013-06-05 Michael Albinus <michael.albinus@gmx.de> | ||
| 136 | |||
| 137 | * emacs.c (main) [HAVE_GFILENOTIFY]: Call globals_of_gfilenotify. | ||
| 138 | |||
| 139 | * gfilenotify.c (globals_of_gfilenotify): New function. | ||
| 140 | (syms_of_gfilenotify): Move global initialization there. | ||
| 141 | |||
| 142 | * lisp.h (globals_of_gfilenotify) [HAVE_GFILENOTIFY]: Add prototype. | ||
| 143 | |||
| 144 | 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 145 | |||
| 146 | * keymap.c (Fcurrent_active_maps, Fdescribe_buffer_bindings): | ||
| 147 | * keyboard.c (menu_bar_items, tool_bar_items): | ||
| 148 | * doc.c (Fsubstitute_command_keys): Voverriding_terminal_local_map does | ||
| 149 | not override local keymaps any more. | ||
| 150 | |||
| 151 | 2013-06-04 Eli Zaretskii <eliz@gnu.org> | ||
| 152 | |||
| 153 | * window.c (Fpos_visible_in_window_p): Doc fix. (Bug#14540) | ||
| 154 | |||
| 155 | 2013-06-03 Eli Zaretskii <eliz@gnu.org> | ||
| 156 | |||
| 157 | * w32console.c (initialize_w32_display): Return the dimensions of | ||
| 158 | the console window via 2 additional arguments, not via the current | ||
| 159 | frame. This avoids crashes due to overrunning the bounds of | ||
| 160 | frame's decode_mode_spec_buffer, which is not resized following | ||
| 161 | the change of the frame dimensions from the initial 10x10. | ||
| 162 | |||
| 163 | * w32term.h (w32_initialize_display_info): Adjust prototype. | ||
| 164 | |||
| 165 | * term.c (init_tty): Take dimensions of the frame from the values | ||
| 166 | returned by initialize_w32_display. | ||
| 167 | |||
| 168 | * Makefile.in (GFILENOTIFY_CFLAGS, GFILENOTIFY_LIBS): New variables. | ||
| 169 | (ALL_CFLAGS): Add $(GFILENOTIFY_CFLAGS). | ||
| 170 | (LIBES): Add $(GFILENOTIFY_LIBS). | ||
| 171 | |||
| 172 | * w32inevt.c (handle_file_notifications): Add dummy implementation | ||
| 173 | for !HAVE_W32NOTIFY. | ||
| 174 | |||
| 175 | * w32term.c: Wrap code with HAVE_W32NOTIFY. | ||
| 176 | |||
| 177 | 2013-06-03 Jan Djärv <jan.h.d@swipnet.se> | ||
| 178 | |||
| 179 | * xgselect.c: Replace #if defined ... with #ifdef HAVE_GLIB. | ||
| 180 | |||
| 181 | * process.c (wait_reading_process_output): Call xg_select if HAVE_GLIB. | ||
| 182 | |||
| 183 | * Makefile.in (XGSELOBJ): New, xgselect.o if GLib is used, or empty. | ||
| 184 | |||
| 185 | 2013-06-03 Paul Eggert <eggert@cs.ucla.edu> | ||
| 186 | |||
| 187 | Fix minor problems found by static checking. | ||
| 188 | * data.c (pure_write_error): | ||
| 189 | Use xsignal2, not Fsignal, as Fsignal might return. | ||
| 190 | * eval.c (set_backtrace_debug_on_exit): Now static. | ||
| 191 | (backtrace_p, backtrace_top, backtrace_next, record_in_backtrace): | ||
| 192 | No longer inline. EXTERN_INLINE is needed only for functions | ||
| 193 | defined in .h files. Reindent function header as per GNU style. | ||
| 194 | (backtrace_p, backtrace_top, backtrace_next): | ||
| 195 | Mark EXTERNALLY_VISIBLE so they don't get optimized away by the | ||
| 196 | compiler or linker. Add extern decls to pacify gcc -Wall. | ||
| 197 | * frame.c, frame.h (Qgeometry, Qworkarea, Qmm_size, Qframes, Qsource): | ||
| 198 | Now static. | ||
| 199 | * frame.c (free_monitors): Define only on platforms that need it. | ||
| 200 | * nsterm.m (ns_term_init): | ||
| 201 | * process.c (catch_child_signal): | ||
| 202 | Don't worry about whether SIGCHLD is defined, as SIGCHLD is | ||
| 203 | defined on all porting targets these days. | ||
| 204 | * process.c, process.h (catch_child_signal): | ||
| 205 | Make it extern only if NS_IMPL_GNUSTEP is defined. | ||
| 206 | |||
| 1 | 2013-06-03 Eli Zaretskii <eliz@gnu.org> | 207 | 2013-06-03 Eli Zaretskii <eliz@gnu.org> |
| 2 | 208 | ||
| 3 | * w32.c (gettimeofday): Make the signature identical to prototype | 209 | * w32.c (gettimeofday): Make the signature identical to prototype |
| @@ -151,8 +357,8 @@ | |||
| 151 | (update_frame_tool_bar): Update code for GNUStep. | 357 | (update_frame_tool_bar): Update code for GNUStep. |
| 152 | (clearAll): New method. | 358 | (clearAll): New method. |
| 153 | (addDisplayItemWithImage:idx:tag:helpText:enabled:): Handle new tag | 359 | (addDisplayItemWithImage:idx:tag:helpText:enabled:): Handle new tag |
| 154 | argument. Call insertItemWithItemIdentifier when NS_IMPL_GNUSTEP. Move | 360 | argument. Call insertItemWithItemIdentifier when NS_IMPL_GNUSTEP. |
| 155 | identifierToItem setObject and activeIdentifiers addObject before | 361 | Move identifierToItem setObject and activeIdentifiers addObject before |
| 156 | call to insertItemWithItemIdentifier. | 362 | call to insertItemWithItemIdentifier. |
| 157 | (validateVisibleItems): Fix indentation. | 363 | (validateVisibleItems): Fix indentation. |
| 158 | (toolbarAllowedItemIdentifiers:): Return activeIdentifiers. | 364 | (toolbarAllowedItemIdentifiers:): Return activeIdentifiers. |
| @@ -166,19 +372,19 @@ | |||
| 166 | Use F suffix on floats. | 372 | Use F suffix on floats. |
| 167 | (ns_char_width): Returns CGFloat. | 373 | (ns_char_width): Returns CGFloat. |
| 168 | (ns_ascii_average_width): w is CGFloat instead of float. | 374 | (ns_ascii_average_width): w is CGFloat instead of float. |
| 169 | (nsfont_draw): cbuf and c are unsigned. Cast to char* in call to | 375 | (nsfont_draw): cbuf and c are unsigned. Cast to char* in call to |
| 170 | DPSxshow. | 376 | DPSxshow. |
| 171 | (ns_glyph_metrics): CGFloat instead of float. | 377 | (ns_glyph_metrics): CGFloat instead of float. |
| 172 | 378 | ||
| 173 | * nsfns.m (x_set_foreground_color, x_set_background_color): Use | 379 | * nsfns.m (x_set_foreground_color, x_set_background_color): |
| 174 | EmacsCGFloat. | 380 | Use EmacsCGFloat. |
| 175 | (ns_implicitly_set_icon_type, Fx_create_frame): Make static, remove | 381 | (ns_implicitly_set_icon_type, Fx_create_frame): Make static, |
| 176 | unused variables. | 382 | remove unused variables. |
| 177 | (Fns_read_file_name): Keep track if panel is for save. Use | 383 | (Fns_read_file_name): Keep track if panel is for save. |
| 178 | ns_filename_from_panel/ns_directory_from_panel. | 384 | Use ns_filename_from_panel/ns_directory_from_panel. |
| 179 | (Fns_list_services): delegate only used for COCOA. | 385 | (Fns_list_services): delegate only used for COCOA. |
| 180 | (Fns_convert_utf8_nfd_to_nfc): Remove warning for GNUStep. Just | 386 | (Fns_convert_utf8_nfd_to_nfc): Remove warning for GNUStep. |
| 181 | return the input if GNUStep. | 387 | Just return the input if GNUStep. |
| 182 | (x_screen_planes): Remove. | 388 | (x_screen_planes): Remove. |
| 183 | (Fxw_color_values): Use EmacsCGFloat | 389 | (Fxw_color_values): Use EmacsCGFloat |
| 184 | (Fns_display_monitor_attributes_list): Only get screen number for | 390 | (Fns_display_monitor_attributes_list): Only get screen number for |
| @@ -294,7 +500,7 @@ | |||
| 294 | 2013-05-21 Dmitry Antipov <dmantipov@yandex.ru> | 500 | 2013-05-21 Dmitry Antipov <dmantipov@yandex.ru> |
| 295 | 501 | ||
| 296 | * xdisp.c (reseat_at_previous_visible_line_start): | 502 | * xdisp.c (reseat_at_previous_visible_line_start): |
| 297 | Already declared in dispextern.h, so remove it here. | 503 | Already declared in dispextern.h, so remove it here. |
| 298 | (move_it_vertically_backward): Likewise. | 504 | (move_it_vertically_backward): Likewise. |
| 299 | 505 | ||
| 300 | 2013-05-20 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | 506 | 2013-05-20 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
| @@ -305,7 +511,7 @@ | |||
| 305 | Mention `display-monitor-attributes-list' in docstrings. | 511 | Mention `display-monitor-attributes-list' in docstrings. |
| 306 | 512 | ||
| 307 | * nsfns.m (ns_get_screen): Remove function. All uses removed. | 513 | * nsfns.m (ns_get_screen): Remove function. All uses removed. |
| 308 | (check_ns_display_info): Sync with check_x_display_info in xfns.c. | 514 | (check_ns_display_info): Sync with check_x_display_info in xfns.c. |
| 309 | (Fx_server_max_request_size, Fx_server_vendor, Fx_server_version) | 515 | (Fx_server_max_request_size, Fx_server_vendor, Fx_server_version) |
| 310 | (Fx_display_screens, Fx_display_mm_width, Fx_display_mm_height) | 516 | (Fx_display_screens, Fx_display_mm_width, Fx_display_mm_height) |
| 311 | (Fx_display_backing_store, Fx_display_visual_class) | 517 | (Fx_display_backing_store, Fx_display_visual_class) |
| @@ -461,7 +667,7 @@ | |||
| 461 | 667 | ||
| 462 | 2013-05-07 Paul Eggert <eggert@cs.ucla.edu> | 668 | 2013-05-07 Paul Eggert <eggert@cs.ucla.edu> |
| 463 | 669 | ||
| 464 | Use Gnulib ACL implementation, for benefit of Solaris etc. (Bug#14295) | 670 | Use Gnulib ACL implementation, for benefit of Solaris etc. (Bug#14295) |
| 465 | * Makefile.in (LIB_ACL): New macro. | 671 | * Makefile.in (LIB_ACL): New macro. |
| 466 | (LIBACL_LIBS): Remove. | 672 | (LIBACL_LIBS): Remove. |
| 467 | (LIBES): Use LIB_ACL, not LIBACL_LIBS. | 673 | (LIBES): Use LIB_ACL, not LIBACL_LIBS. |
| @@ -2894,11 +3100,10 @@ | |||
| 2894 | 2012-12-31 Adam Sjøgren <asjo@koldfront.dk> (tiny change) | 3100 | 2012-12-31 Adam Sjøgren <asjo@koldfront.dk> (tiny change) |
| 2895 | 3101 | ||
| 2896 | * xterm.c (scroll-bar-adjust-thumb-portion): New variable to | 3102 | * xterm.c (scroll-bar-adjust-thumb-portion): New variable to |
| 2897 | determine whether scroll bar thumb size should be adjusted or | 3103 | determine whether scroll bar thumb size should be adjusted or not. |
| 2898 | not. Use variable for MOTIF. | 3104 | Use variable for MOTIF. |
| 2899 | 3105 | ||
| 2900 | * gtkutil.c (scroll-bar-adjust-thumb-portion): Use variable for | 3106 | * gtkutil.c (scroll-bar-adjust-thumb-portion): Use variable for GTK. |
| 2901 | GTK. | ||
| 2902 | 3107 | ||
| 2903 | 2013-01-13 Jan Djärv <jan.h.d@swipnet.se> | 3108 | 2013-01-13 Jan Djärv <jan.h.d@swipnet.se> |
| 2904 | 3109 | ||
| @@ -3443,7 +3648,7 @@ | |||
| 3443 | 3648 | ||
| 3444 | 2012-12-14 Paul Eggert <eggert@cs.ucla.edu> | 3649 | 2012-12-14 Paul Eggert <eggert@cs.ucla.edu> |
| 3445 | 3650 | ||
| 3446 | Fix permissions bugs with setgid directories etc. (Bug#13125) | 3651 | Fix permissions bugs with setgid directories etc. (Bug#13125) |
| 3447 | * dired.c (Ffile_attributes): Return t as the 9th attribute, | 3652 | * dired.c (Ffile_attributes): Return t as the 9th attribute, |
| 3448 | to mark it as a placeholder. The old value was often wrong. | 3653 | to mark it as a placeholder. The old value was often wrong. |
| 3449 | The only user of this attribute has been changed to use | 3654 | The only user of this attribute has been changed to use |
| @@ -4544,7 +4749,7 @@ | |||
| 4544 | * w32term.c (x_window_to_scroll_bar): Likewise. | 4749 | * w32term.c (x_window_to_scroll_bar): Likewise. |
| 4545 | * window.c (window_list): Likewise. | 4750 | * window.c (window_list): Likewise. |
| 4546 | * xdisp.c (x_consider_frame_title): Likewise. | 4751 | * xdisp.c (x_consider_frame_title): Likewise. |
| 4547 | * xfaces.c ( Fdisplay_supports_face_attributes_p): Likewise. | 4752 | * xfaces.c (Fdisplay_supports_face_attributes_p): Likewise. |
| 4548 | * xfns.c (x_window_to_frame, x_any_window_to_frame) | 4753 | * xfns.c (x_window_to_frame, x_any_window_to_frame) |
| 4549 | (x_menubar_window_to_frame, x_top_window_to_frame): Likewise. | 4754 | (x_menubar_window_to_frame, x_top_window_to_frame): Likewise. |
| 4550 | * xmenu.c (menubar_id_to_frame): Likewise. | 4755 | * xmenu.c (menubar_id_to_frame): Likewise. |
| @@ -17776,7 +17981,7 @@ | |||
| 17776 | 17981 | ||
| 17777 | Fix memory allocation problems in Cygwin build (Bug#9273). | 17982 | Fix memory allocation problems in Cygwin build (Bug#9273). |
| 17778 | 17983 | ||
| 17779 | * unexcw.c ( __malloc_initialized): Declare external variable. | 17984 | * unexcw.c (__malloc_initialized): Declare external variable. |
| 17780 | (fixup_executable): Force the dumped emacs to reinitialize malloc. | 17985 | (fixup_executable): Force the dumped emacs to reinitialize malloc. |
| 17781 | 17986 | ||
| 17782 | * gmalloc.c [CYGWIN] (bss_sbrk_heapbase, bss_sbrk_heapinfo): | 17987 | * gmalloc.c [CYGWIN] (bss_sbrk_heapbase, bss_sbrk_heapinfo): |