diff options
| author | Xue Fuqiao | 2013-08-04 10:59:08 +0800 |
|---|---|---|
| committer | Xue Fuqiao | 2013-08-04 10:59:08 +0800 |
| commit | 99191b89ff64172740add88e67f163619a07830c (patch) | |
| tree | 828d1ac7c917076703b9d4a3746ff7480bd97f0d /src/ChangeLog | |
| parent | ab419665caa6e2ad7465cf59ef902cc4ad1d2117 (diff) | |
| parent | 2ad0a067728ccc7f8b32b0c3db1677ca351943fe (diff) | |
| download | emacs-99191b89ff64172740add88e67f163619a07830c.tar.gz emacs-99191b89ff64172740add88e67f163619a07830c.zip | |
Merge from mainline.
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 196 |
1 files changed, 192 insertions, 4 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index bfe4dfaf39a..69e00cadbe9 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,191 @@ | |||
| 1 | 2013-08-03 Paul Eggert <eggert@cs.ucla.edu> | ||
| 2 | |||
| 3 | * composite.h: Minor fixups. | ||
| 4 | (composition_registered_p): Rename from COMPOSITION_REGISTERD_P | ||
| 5 | to fix a misspelling, and change it to an inline function while | ||
| 6 | we're at it (it need not be a macro). All uses changed. | ||
| 7 | (composition_method, composition_valid_p): | ||
| 8 | Rewrite to avoid assignments in if-conditions. | ||
| 9 | |||
| 10 | 2013-08-03 Dmitry Antipov <dmantipov@yandex.ru> | ||
| 11 | |||
| 12 | Do not use global Lisp_Object in composition macros. | ||
| 13 | * composite.h (composition_temp): Remove declaration. | ||
| 14 | (COMPOSITION_METHOD, COMPOSITION_VALID_P): Replace with... | ||
| 15 | (composition_method, composition_valid_p): ...inline functions. | ||
| 16 | (compose_region): Remove the leftover. | ||
| 17 | * composite.c (composition_temp): Remove. | ||
| 18 | (run_composition_function, update_compositions) | ||
| 19 | (composition_compute_stop_pos, composition_adjust_point) | ||
| 20 | (Ffind_composition_internal): | ||
| 21 | * coding.c (handle_composition_annotation): | ||
| 22 | * xdisp.c (handle_composition_prop, check_point_in_composition): | ||
| 23 | Related users changed. | ||
| 24 | |||
| 25 | 2013-08-03 Dmitry Antipov <dmantipov@yandex.ru> | ||
| 26 | |||
| 27 | Drop FRAME_PTR typedef. | ||
| 28 | * composite.c, font.c, font.h, fontset.c, fontset.h, frame.c, frame.h: | ||
| 29 | * ftfont.c, ftxfont.c, gtkutil.c, gtkutil.h, image.c, keyboard.c: | ||
| 30 | * menu.c, menu.h, msdos.c, nsfns.m, nsfont.m, nsmenu.m, nsterm.h: | ||
| 31 | * nsterm.m, scroll.c, term.c, w32fns.c, w32font.c, w32font.h: | ||
| 32 | * w32inevt.c, w32inevt.h, w32menu.c, w32notify.c, w32term.c, w32term.h: | ||
| 33 | * w32uniscribe.c, w32xfns.c, widget.c, window.c, xdisp.c, xfaces.c: | ||
| 34 | * xfns.c, xfont.c, xftfont.c, xmenu.c, xselect.c, xterm.c: | ||
| 35 | All related users changed. | ||
| 36 | |||
| 37 | 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 38 | |||
| 39 | * eval.c (default_toplevel_binding): New function. | ||
| 40 | (Fdefvar): Use it. | ||
| 41 | (unbind_to, backtrace_eval_unrewind): Do a bit of CSE simplification. | ||
| 42 | (Fdefault_toplevel_value, Fset_default_toplevel_value): New subrs. | ||
| 43 | (syms_of_eval): Export them. | ||
| 44 | * data.c (Fdefault_value): Micro cleanup. | ||
| 45 | * term.c (init_tty): Use "false". | ||
| 46 | |||
| 47 | 2013-08-02 Dmitry Antipov <dmantipov@yandex.ru> | ||
| 48 | |||
| 49 | Fix X GC leak in GTK and raw (no toolkit) X ports. | ||
| 50 | * xterm.c (x_free_frame_resources): If white and black relief | ||
| 51 | GCs are allocated, always free them here. | ||
| 52 | * xfns.c (x_make_gc): Omit redundant initialization. | ||
| 53 | * widget.c (create_frame_gcs): Remove the leftover. | ||
| 54 | (EmacsFrameDestroy): Do nothing because all GCs are now freed | ||
| 55 | in x_free_frame_resources. | ||
| 56 | |||
| 57 | 2013-08-02 Jan Djärv <jan.h.d@swipnet.se> | ||
| 58 | |||
| 59 | * nsterm.m (windowWillResize:toSize:): Only change title if | ||
| 60 | ! maximizing_resize && FULLSCREEN_NONE (Bug#15005). strdup title before | ||
| 61 | modifying it. | ||
| 62 | (viewDidEndLiveResize): New method. | ||
| 63 | |||
| 64 | * nsterm.h (EmacsView): Add maximizing_resize, put it and old_title | ||
| 65 | inside NS_IMPL_COCOA. | ||
| 66 | |||
| 67 | 2013-08-02 Dmitry Antipov <dmantipov@yandex.ru> | ||
| 68 | |||
| 69 | * insdel.c (adjust_after_replace, replace_range, del_range_2): | ||
| 70 | Do not check whether undo is enabled because record_insert and | ||
| 71 | record_delete does that themselves. | ||
| 72 | |||
| 73 | 2013-08-02 Dmitry Antipov <dmantipov@yandex.ru> | ||
| 74 | |||
| 75 | * xterm.h (struct x_output) [HAVE_X_I18N]: Remove xic_base_fontname | ||
| 76 | member which is not really used any more. | ||
| 77 | (FRAME_XIC_BASE_FONTNAME): Remove. | ||
| 78 | * xfns.c (xic_free_fontset): Adjust user. | ||
| 79 | * xmenu.c (mouse_position_for_popup, x_activate_menubar) | ||
| 80 | (update_frame_menubar, set_frame_menubar, free_frame_menubar) | ||
| 81 | (create_and_show_popup_menu, xmenu_show, create_and_show_dialog) | ||
| 82 | (xdialog_show): Use eassert for debugging check. | ||
| 83 | * w32term.c (x_unfocus_frame): Remove unused dummy function. | ||
| 84 | |||
| 85 | 2013-08-01 Paul Eggert <eggert@cs.ucla.edu> | ||
| 86 | |||
| 87 | * fileio.c, fns.c (merge): Move extern decl from here ... | ||
| 88 | * lisp.h (merge): ... to here. | ||
| 89 | |||
| 90 | 2013-08-01 Dmitry Antipov <dmantipov@yandex.ru> | ||
| 91 | |||
| 92 | Fix last font-related change. | ||
| 93 | * w32font.h (w32font_list_internal, w32font_match_internal): | ||
| 94 | Fix prototype. | ||
| 95 | * w32uniscribe.c (uniscribe_list, uniscribe_match): | ||
| 96 | (uniscribe_list_family): Adjust to match font API change. | ||
| 97 | MS-Windows breakage reported by Juanma Barranquero <lekktu@gmail.com> | ||
| 98 | at http://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00006.html. | ||
| 99 | |||
| 100 | 2013-08-01 Dmitry Antipov <dmantipov@yandex.ru> | ||
| 101 | |||
| 102 | * frame.h (FRAME_MOUSE_UPDATE): | ||
| 103 | * nsterm.m (ns_frame_up_to_date): Omit redundant check | ||
| 104 | whether hlinfo->mouse_face_mouse_frame is non-NULL. | ||
| 105 | |||
| 106 | 2013-08-01 Dmitry Antipov <dmantipov@yandex.ru> | ||
| 107 | |||
| 108 | Avoid redundant Lisp_Object <-> struct frame conversions in font API. | ||
| 109 | * font.h (struct font_driver): Change list, match, and list_family | ||
| 110 | functions to accept struct frame * as first arg. | ||
| 111 | * font.c (font_score, font_compare, font_sort_entities): Remove | ||
| 112 | prototypes. | ||
| 113 | (font_sort_entities, font_list_entities, font_select_entity): | ||
| 114 | (font_find_for_lface, Flist_fonts, Ffont_family_list): Adjust to | ||
| 115 | match font API change. | ||
| 116 | * xfont.c (xfont_list, xfont_match, xfont_list_family): | ||
| 117 | * ftfont.c (ftfont_list, ftfont_match, ftfont_list_family): | ||
| 118 | * ftxfont.c (ftxfont_list, ftxfont_match): | ||
| 119 | * xftfont.c (xftfont_list, xftfont_match): | ||
| 120 | * nsfont.m (nsfont_list, nsfont_match, nsfont_list_family): | ||
| 121 | * w32font.c (w32font_list, w32font_match, w32font_list): | ||
| 122 | (w32font_list_internal, w32_font_match_internal): Likewise. | ||
| 123 | * xfaces.c (Fx_family_fonts): Adjust user. | ||
| 124 | |||
| 125 | 2013-08-01 Dmitry Antipov <dmantipov@yandex.ru> | ||
| 126 | |||
| 127 | Do not use pure Xism x_wm_set_icon_position in non-X ports. | ||
| 128 | * frame.c (x_set_frame_parameters): Call to x_wm_set_icon_position | ||
| 129 | only if HAVE_X_WINDOWS is in use. | ||
| 130 | * frame.h (x_set_frame_parameters): Move under HAVE_X_WINDOWS. | ||
| 131 | * nsterm.m (x_wm_set_icon_position): Remove no-op. | ||
| 132 | * w32term.c (x_wm_set_icon_position): Likewise. | ||
| 133 | * w32fns.c (x_icon): Adjust user. | ||
| 134 | |||
| 135 | 2013-08-01 Dmitry Antipov <dmantipov@yandex.ru> | ||
| 136 | |||
| 137 | * xterm.c (last_mouse_press_frame): Remove the | ||
| 138 | leftover which is not really used any more. | ||
| 139 | (handle_one_xevent, syms_of_xterm): Adjust users. | ||
| 140 | (x_flush): Call XFlush once per each X display, not frame. | ||
| 141 | This is better because this code always unconditionally skips | ||
| 142 | non-X frames in Vframe_list and issues the only XFlush if we | ||
| 143 | have more than one X frame on the same X display. | ||
| 144 | (any_help_event_p, x_draw_glyph_string_background, x_display_ok): | ||
| 145 | Use bool for booleans. | ||
| 146 | (x_draw_glyph_string_background, cvt_string_to_pixel): | ||
| 147 | (cvt_pixel_dtor): Drop unnecessary prototypes. | ||
| 148 | * xterm.h (x_display_ok): Adjust prototype. | ||
| 149 | |||
| 150 | 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru> | ||
| 151 | |||
| 152 | Drop unnecessary functions that deals with frame pixel size. | ||
| 153 | * frame.h, msdos.h, w32term.h, xterm.h (x_pixel_width) | ||
| 154 | (x_pixel_height): Drop prototypes. | ||
| 155 | * msdos.c, nsfns.m, w32fns.c, xfns.c (x_pixel_width) | ||
| 156 | (x_pixel_height): Drop implementations. | ||
| 157 | * frame.c (Fframe_pixel_height): Use FRAME_PIXEL_HEIGHT | ||
| 158 | which should be always valid for window frame. | ||
| 159 | (Frame_pixel_width): Likewise with FRAME_PIXEL_WIDTH. | ||
| 160 | * w32menu.c (Fx_popup_dialog): | ||
| 161 | * xmenu.c (Fx_popup_dialog): Likewise for both. | ||
| 162 | |||
| 163 | 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru> | ||
| 164 | |||
| 165 | * frame.c (Fmake_terminal_frame): Use store_in_alist to setup | ||
| 166 | frame parameters and call to Fmodify_frame_parameters just once. | ||
| 167 | (Fset_frame_height, Fset_frame_width): Mention nil frame in docstring. | ||
| 168 | (Fset_frame_size, Fset_frame_position): Use decode_live_frame | ||
| 169 | and mention nil frame in docstring. | ||
| 170 | |||
| 171 | 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru> | ||
| 172 | |||
| 173 | * frame.c (make_frame, x_set_frame_parameters): Use bool for boolean. | ||
| 174 | (x_figure_window_size): Likewise. Adjust to return long. | ||
| 175 | (syms_of_frame): Do not DEFSYM Qterminal_live_p. | ||
| 176 | (toplevel): Move Qterminal_live_p to... | ||
| 177 | * terminal.c (toplevel): ...here, make it static, and... | ||
| 178 | (syms_of_terminal): ...DEFSYM here. | ||
| 179 | * frame.h (Qterminal_live_p): Remove declaration. | ||
| 180 | (make_frame, x_figure_window_size): Adjust prototype. | ||
| 181 | * nsfns.m (Fx_create_frame): Use long for window flags. | ||
| 182 | |||
| 183 | 2013-07-30 Paul Eggert <eggert@cs.ucla.edu> | ||
| 184 | |||
| 185 | Fix tempfile bug on platforms lacking mkostemp and mkstemp (Bug#14986). | ||
| 186 | * callproc.c (create_temp_file) [! (HAVE_MKOSTEMP || HAVE_MKSTEMP)]: | ||
| 187 | Do not assume that emacs_close (INT_MAX) is a no-op. | ||
| 188 | |||
| 1 | 2013-07-30 Dmitry Antipov <dmantipov@yandex.ru> | 189 | 2013-07-30 Dmitry Antipov <dmantipov@yandex.ru> |
| 2 | 190 | ||
| 3 | * xfaces.c (make_face_cache): For struct face_cache, prefer | 191 | * xfaces.c (make_face_cache): For struct face_cache, prefer |
| @@ -325,7 +513,7 @@ | |||
| 325 | code a bit. It makes no difference on POSIXish platforms but | 513 | code a bit. It makes no difference on POSIXish platforms but |
| 326 | apparently it fixes a bug on w32. | 514 | apparently it fixes a bug on w32. |
| 327 | 515 | ||
| 328 | Fix bug where insert-file-contents closes a file twice. (Bug#14839). | 516 | Fix bug where insert-file-contents closes a file twice (Bug#14839). |
| 329 | * fileio.c (close_file_unwind): Don't close if FD is negative; | 517 | * fileio.c (close_file_unwind): Don't close if FD is negative; |
| 330 | this can happen when unwinding a zapped file descriptor. | 518 | this can happen when unwinding a zapped file descriptor. |
| 331 | (Finsert_file_contents): Unwind-protect the fd before the point marker, | 519 | (Finsert_file_contents): Unwind-protect the fd before the point marker, |
| @@ -478,7 +666,7 @@ | |||
| 478 | (make_lispy_focus_in, make_lispy_focus_out): Declare and define. | 666 | (make_lispy_focus_in, make_lispy_focus_out): Declare and define. |
| 479 | (kbd_buffer_get_event): For FOCUS_IN, make a focus_in event if no | 667 | (kbd_buffer_get_event): For FOCUS_IN, make a focus_in event if no |
| 480 | switch frame event is made. Check ! NILP (event->arg) if X11 (moved | 668 | switch frame event is made. Check ! NILP (event->arg) if X11 (moved |
| 481 | from xterm.c). Make focus_out event for FOCUS_OUT_EVENT if NS or X11 | 669 | from xterm.c). Make focus_out event for FOCUS_OUT_EVENT if NS or X11 |
| 482 | and there is a focused frame. | 670 | and there is a focused frame. |
| 483 | (head_table): Add focus-in and focus-out. | 671 | (head_table): Add focus-in and focus-out. |
| 484 | (keys_of_keyboard): Add focus-in and focus-out to Vspecial_event_map, | 672 | (keys_of_keyboard): Add focus-in and focus-out to Vspecial_event_map, |
| @@ -851,7 +1039,7 @@ | |||
| 851 | (emacswrite_sig, emacs_perror): New functions. | 1039 | (emacswrite_sig, emacs_perror): New functions. |
| 852 | * xrdb.c (fatal): Don't invoke perror, since errno might be garbage. | 1040 | * xrdb.c (fatal): Don't invoke perror, since errno might be garbage. |
| 853 | 1041 | ||
| 854 | 2013-07-08 Magnus Henoch <magnus.henoch@gmail.com> (tiny change). | 1042 | 2013-07-08 Magnus Henoch <magnus.henoch@gmail.com> (tiny change) |
| 855 | 1043 | ||
| 856 | * image.c (imagemagick_load_image): Do not use MagickExportImagePixels | 1044 | * image.c (imagemagick_load_image): Do not use MagickExportImagePixels |
| 857 | on NS even if it is present. Pixmap on NS is a void*. | 1045 | on NS even if it is present. Pixmap on NS is a void*. |
| @@ -1526,7 +1714,7 @@ | |||
| 1526 | Now static. | 1714 | Now static. |
| 1527 | * lisp.h: Remove the abovementioned defns and decls. | 1715 | * lisp.h: Remove the abovementioned defns and decls. |
| 1528 | 1716 | ||
| 1529 | Use functions, not macros, for XINT etc. (Bug#11935). | 1717 | Use functions, not macros, for XINT etc (Bug#11935). |
| 1530 | In lisp.h, prefer functions to function-like macros, and | 1718 | In lisp.h, prefer functions to function-like macros, and |
| 1531 | constants to object-like macros, when either will do. This: | 1719 | constants to object-like macros, when either will do. This: |
| 1532 | . simplifies use, as there's no more need to worry about | 1720 | . simplifies use, as there's no more need to worry about |