X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/5961ad6cd28bd92d171949a03f362f069da82dec..893fcd38e9ef6bcb50dd9e9ed1de7caf194f8a83:/src/ChangeLog diff --git a/src/ChangeLog b/src/ChangeLog index fc61fbb133..89c640bd8c 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,176 @@ +2013-12-11 Ken Brown + + * dispextern.h (erase_phys_cursor): + * keyboard.h (make_ctrl_char): Declare prototypes if HAVE_NTGUI. + +2013-12-11 Dmitry Antipov + + * nsterm.m (x_free_frame_resources): + * term.c (tty_free_frame_resources): + * xterm.c (x_free_frame_resources): Do not check for non-NULL + face cache because it's implied by free_frame_faces anyway. + * w32term.c (x_free_frame_resources): Likewise. Do not call + free_frame_faces twice. + +2013-12-11 Rüdiger Sonderfeld + + * editfns.c (Fformat_time_string): Mention %F in the doc. + +2013-12-11 Martin Rudalics + + * window.c (resize_frame_windows): Don't return immediately when + the root window's size doesn't change - the minibuffer window + may still have to be repositioned/resized. + * xfns.c (Fx_create_frame): Always change the frame size after + initializing the frame's faces. + * xterm.c (handle_one_xevent): Don't set pixel sizes here, + change_frame_size should already have done it. + (x_new_font): Assign new tool- and menu-bar heights. + (x_set_window_size_1): Account for tool- and menu-bar heights + (Bug#16013). Don't set pixel sizes since change_frame_size + should already have done it. + +2013-12-11 Paul Eggert + + Remove the option of using libcrypto. + * Makefile.in (LIB_CRYPTO): Remove. + (LIBES): Don't use it. + +2013-12-11 Juri Linkov + + * term.c (term_get_fkeys_1): Remove non-standard IBM terminfo + as obsolete to avoid conflicts with . (Bug#13471) + +2013-12-10 Dmitry Antipov + + * xdisp.c (display_tool_bar_line): Don't extend on a previously + drawn tool bar items (Bug#16058). + * font.c (font_find_for_lface): Ensure SAFE_FREE on return. + +2013-12-09 Ken Brown + + * frame.c (get_frame_param): Make extern if HAVE_NTGUI. + + * lisp.h (get_frame_param): Adjust conditions for prototype + declaration. + +2013-12-09 Dmitry Antipov + + * gtkutil.c (USE_NEW_GTK_FONT_CHOOSER) [HAVE_FREETYPE]: + Avoid unused macro warning if configured --without-xft. + +2013-12-09 Jan Djärv + + * alloc.c (Fmemory_limit): Avoid compiler warning. Return 0 always. + +2013-12-08 Jan Djärv + + * nsterm.m (updateFrameSize:): Fix GNUStep toolbar not updating. + + * emacs.c (main): Call fixup_locale a second time for GNUStep. + +2013-12-08 Martin Rudalics + + * frame.c (x_set_font): Mark frame as garbaged (Bug#16028). + +2013-12-08 Paul Eggert + + Use libcrypto's checksum implementations if available, for speed. + * Makefile.in (LIB_CRYPTO): New macro. + (LIBES): Use it. + + * frame.h (SET_FRAME_VISIBLE): Now an inline function. + The macro didn't conform to C99 due to type mismatch, + which caused compilation failure with Sun C 5.12, + and it was confusing anyway. Include window.h to declare + redisplay_other_windows. + +2013-12-08 Stefan Monnier + + * window.c (set_window_buffer): Update mode line (bug#16084). + +2013-12-07 Paul Eggert + + Fix minor problems found by static checking. + * keyboard.c (poll_for_input_1, input_polling_used): + Define only if HAVE_NTGUI. + * xmenu.c (popup_activate_callback): Omit unnecessary + check against USE_X_TOOLKIT, which must be defined here anyway. + * xterm.c, xterm.h (x_dispatch_event) [! (USE_X_TOOLKIT || USE_MOTIF)]: + Now static. + +2013-12-07 Martin Rudalics + + * w32term.c (w32_read_socket): Fix int/Lisp_Object type mixup. + +2013-12-07 Jan Djärv + + * gtkutil.c (tb_size_cb): Call xg_height_or_width_changed. + + * nsterm.m (x_set_window_size): Remove fprintf. + (init): Define always. Set applicationDidFinishLaunchingCalled + for GNUStep. + (applicationDidFinishLaunching:): + Set applicationDidFinishLaunchingCalled. + (applicationDidBecomeActive:): Call applicationDidFinishLaunching if + not called. + + * nsterm.h (EmacsApp): Add applicationDidFinishLaunchingCalled. + + Pixel resize changes for NS (Bug#16049). + * nsterm.m (x_set_window_size): Change parameters rows/cols to + height/width. row/cols are locals. + Pass pixelwise to check_frame_size. Don't set FRAME_PIXEL_WIDTH/HEIGHT. + (updateFrameSize:): Remove gsextra. Adjust for pixelwise resize. + (windowWillResize): Remove gsextra. Calculate extra as in + updateFrameSize. + (x_new_font): Don't change frame size if fullscreen. + Change size pixelwise. + + * nsfns.m (Fx_create_frame): Call change_frame_size twice as per + comment in xfns.c. Change to pixelwise call. + +2013-12-06 Eli Zaretskii + + * buffer.c (Fset_buffer_multibyte): Invalidate buffer caches. + (Bug#16070) + +2013-12-06 Dmitry Antipov + + * xterm.c (input_signal_count): Remove. + (x_dispatch_event): Define unconditionally. + (x_make_frame_visible): Process X events until the frame + is really visible (Bug#16027). + * xterm.h (x_dispatch_event): Declare unconditionally. + +2013-12-05 Jan Djärv + + * nsfns.m (ns_frame_parm_handlers): Add right/bottom_divider_width. + + * nsterm.m (x_set_window_size): Handle pixelwise. + +2013-12-05 Martin Rudalics + + * w32term.c (x_new_font): + * xterm.c (x_new_font): Calculate new frame size from new font + size (Bug#16028). + +2013-12-04 Stefan Monnier + + * lisp.h (FOR_EACH_TAIL): New macro. + * fns.c (Fdelq): Use it to avoid inf-loops; remove QUIT. + + * window.c (select_window): Call second wset_redisplay before we change + selected_window (bug#16034). + +2013-12-04 Paul Eggert + + * bidi.c (LRM_CHAR, RLM_CHAR): Remove; no longer used. + +2013-12-04 Eli Zaretskii + + * w32xfns.c: Include window.h, to avoid a compiler warning. + 2013-12-04 Stefan Monnier * window.c (window_scroll): Mark window for redisplay (bug#16034). @@ -154,8 +327,8 @@ ON_RIGHT_DIVIDER and ON_BOTTOM_DIVIDER. (struct glyph_matrix): Replace window_left_col and window_top_line by window_pixel_left and window_pixel_top. - (WINDOW_WANTS_MODELINE_P, WINDOW_WANTS_HEADER_LINE_P): Minor - rewrite. + (WINDOW_WANTS_MODELINE_P, WINDOW_WANTS_HEADER_LINE_P): + Minor rewrite. (enum face_id): Add WINDOW_DIVIDER_FACE_ID. (draw_window_divider, move_it_to, x_draw_right_divider) (x_draw_bottom_divider, change_frame_size): Add or fix @@ -170,8 +343,8 @@ (init_display): Adjusts calls of change_frame_size. (change_frame_size, change_frame_size_1): Handle pixelwise changes. - * frame.c (Qright_divider_width, Qbottom_divider_width): New - Lisp objects. + * frame.c (Qright_divider_width, Qbottom_divider_width): + New Lisp objects. (set_menu_bar_lines_1, set_menu_bar_lines, make_frame) (make_terminal_frame, Fmake_terminal_frame, Fframe_parameters) (x_set_internal_border_width, x_set_vertical_scroll_bars) @@ -182,15 +355,15 @@ (Fframe_text_width, Fframe_text_height, Fscroll_bar_width) (Ffringe_width, Fborder_width, Fright_divider_width) (Fbottom_divider_width): New functions, defsubr them. - (Fset_frame_height, Fset_frame_width, Fset_frame_size): New - argument pixelwise. + (Fset_frame_height, Fset_frame_width, Fset_frame_size): + New argument pixelwise. (struct frame_parm_table): New members Qright_divider_width and Qbottom_divider_width. (x_set_frame_parameters): Handle parameters for pixelwise sizes. (x_report_frame_params): Handle Qright_divider_width and Qbottom_divider_width. - (x_set_right_divider_width, x_set_bottom_divider_width): New - functions. + (x_set_right_divider_width, x_set_bottom_divider_width): + New functions. (frame_resize_pixelwise): New option. * frame.h (struct frame): Add tool_bar_height, menu_bar_height, new_pixelwise, right_divider_width and bottom_divider_width; @@ -201,8 +374,8 @@ FRAME_TEXT_WIDTH respectively. (FRAME_MENU_BAR_HEIGHT, FRAME_TOOL_BAR_HEIGHT) (FRAME_RIGHT_DIVIDER_WIDTH, FRAME_BOTTOM_DIVIDER_WIDTH) - (FRAME_TEXT_TO_PIXEL_WIDTH, FRAME_PIXEL_TO_TEXT_WIDTH): New - macros. + (FRAME_TEXT_TO_PIXEL_WIDTH, FRAME_PIXEL_TO_TEXT_WIDTH): + New macros. (FRAME_TOP_MARGIN_HEIGHT, FRAME_LEFT_SCROLL_BAR_AREA_WIDTH) (FRAME_RIGHT_SCROLL_BAR_AREA_WIDTH, FRAME_SCROLL_BAR_AREA_WIDTH) (SET_FRAME_COLS, SET_FRAME_WIDTH, SET_FRAME_HEIGHT) @@ -212,8 +385,8 @@ * fringe.c (draw_fringe_bitmap_1): Handle right divder. * gtkutil.c (xg_frame_resized, xg_frame_set_char_size) (x_wm_set_size_hint): Handle frame pixel sizes. - * indent.c (compute_motion, Fcompute_motion): Call - window_body_width instead of window_body_cols. + * indent.c (compute_motion, Fcompute_motion): + Call window_body_width instead of window_body_cols. * keyboard.c (Qright_divider, Qbottom_divider): New symbols. (make_lispy_position): Handle right and bottom dividers. (Fsuspend_emacs): Pixelize call of change_frame_size. @@ -221,13 +394,13 @@ * lisp.h: Extern set_frame_param. * nsfns.m (x_set_tool_bar_lines): Pixelize call of x_set_window_size. - (Fx_create_frame): Add entry for vertical_drag_cursor. Pixelize - call of change_frame_size. + (Fx_create_frame): Add entry for vertical_drag_cursor. + Pixelize call of change_frame_size. * nsterm.h (struct ns_output): Add vertical_drag_cursor. * nsterm.m (ns_update_window_end): Optionally draw right divider. - (x_set_window_size): Add argument pixelwise. Call - check_frame_size and change_frame_size with pixelwise zero. + (x_set_window_size): Add argument pixelwise. + Call check_frame_size and change_frame_size with pixelwise zero. (ns_draw_window_divider): New function. (ns_redisplay_interface): Add ns_draw_window_divider. (updateFrameSize:): Call change_frame_size with pixelwise zero. @@ -238,12 +411,12 @@ * w32fns.c (x_set_mouse_color): Handle vertical drag cursor. (x_set_menu_bar_lines, x_set_tool_bar_lines): Calculate pixelwise. (w32_createwindow): Use scroll bar area width. - (w32_wnd_proc): Handle bottom divider width. For - WM_WINDOWPOSCHANGING return zero if we resize pixelwise. - (Fx_create_frame): Default divider width parameters. Caclulate - sizes pixelwise. Add vertical drag cursor support. - (x_create_tip_frame): Default divider widths to zero. Pixelize - call to change_frame_size. + (w32_wnd_proc): Handle bottom divider width. + For WM_WINDOWPOSCHANGING return zero if we resize pixelwise. + (Fx_create_frame): Default divider width parameters. + Caclulate sizes pixelwise. Add vertical drag cursor support. + (x_create_tip_frame): Default divider widths to zero. + Pixelize call to change_frame_size. (Fx_show_tip): Add handling of divider widths. Pixelize window position and sizes. (Fw32_frame_rect): New function. @@ -258,8 +431,8 @@ (x_update_window_end): Handle right divider. (w32_draw_fringe_bitmap, x_scroll_run) (w32_set_vertical_scroll_bar): Pixelize scrollbar widths. - (w32_read_socket): Handle SIZE_MAXIMIZED separately. Calculate - new frame sizes pixelwise. + (w32_read_socket): Handle SIZE_MAXIMIZED separately. + Calculate new frame sizes pixelwise. (x_new_font): Pixelize call to x_set_window_size. (x_check_fullscreen): Pixelize call to change_frame_size. (x_set_window_size_1, x_set_window_size): New argument @@ -278,16 +451,16 @@ (Fset_window_new_pixel, window_resize_apply_total) (Fwindow_resize_apply_total): New functions. (window_body_height, window_body_width): Rename from - window_body_lines. New argument PIXELWISE. Calculate - pixelwise. + window_body_lines. New argument PIXELWISE. + Calculate pixelwise. (Fwindow_body_height, Fwindow_body_width): New argument PIXELWISE. (coordinates_in_window, window_relative_x_coord): Use window's pixel width instead of total width. (replace_window, recombine_windows): Initialize pixel values. (resize_root_window, resize_frame_windows, grow_mini_window) - (shrink_mini_window): New argument PIXELWISE. Calculate - pixelwise. + (shrink_mini_window): New argument PIXELWISE. + Calculate pixelwise. (Fdelete_other_windows_internal, adjust_window_margins) (window_resize_check, window_resize_apply) (Fdelete_window_internal, Fresize_mini_window_internal) @@ -312,11 +485,11 @@ slots in save_window_data and saved_window. (Fset_window_scroll_bars): Fix doc-string. (window_resize_pixelwise): New variable. - (coordinates_in_window, Fcoordinates_in_window_p): Handle - dividers. + (coordinates_in_window, Fcoordinates_in_window_p): + Handle dividers. (make_parent_window): Adjust sequence_number. - (Fwindow_right_divider_width, Fwindow_bottom_divider_width): New - functions. + (Fwindow_right_divider_width, Fwindow_bottom_divider_width): + New functions. * window.h (struct window): New members new_pixel, pixel_left, pixel_top, pixel_width, pixel_height. Restore sequence_number. (wset_new_pixel): New function. @@ -350,10 +523,10 @@ encountered. (Fwindow_text_pixel_size): New function. (resize_mini_window, update_tool_bar): Calculate pixelwise. - (tool_bar_lines_needed): Rename to tool_bar_height. Calculate - pixelwise. - (Ftool_bar_lines_needed): Rename to Ftool_bar_height. Calculate - pixelwise. + (tool_bar_lines_needed): Rename to tool_bar_height. + Calculate pixelwise. + (Ftool_bar_lines_needed): Rename to Ftool_bar_height. + Calculate pixelwise. (redisplay_tool_bar): Calculate pixelwise. (redisplay_window): Calculate pixelwise. Handle dividers. (draw_glyphs, x_clear_end_of_line, note_mouse_highlight) @@ -368,8 +541,8 @@ (x_set_menu_bar_lines, x_set_tool_bar_lines): Calculate pixelwise. (x_set_scroll_bar_default_width): Default actual width to 16. (Fx_create_frame): Set sizes pixelwise. - (x_create_tip_frame): Default divider widths to zero. Pixelize - call of change_frame_size. + (x_create_tip_frame): Default divider widths to zero. + Pixelize call of change_frame_size. (Fx_show_tip): Handle divider widths. Initial pixel position and sizes. (frame_parm_handler x_frame_parm_handlers): Add divider widths.