aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog
diff options
context:
space:
mode:
Diffstat (limited to 'src/ChangeLog')
-rw-r--r--src/ChangeLog126
1 files changed, 120 insertions, 6 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 6b56abbafd1..56f88f5bec4 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,117 @@
12015-02-08 Paul Eggert <eggert@cs.ucla.edu>
2
3 Minor tweaks to frame_size_history_add
4 * frame.c (frame_size_history_add): Don't assume length fits in 'int'.
5 Prefer XCAR and XCDR to Fcar and Fcdr when the arg is a cons.
6 (Fframe_after_make_frame): Simplify.
7 * gtkutil.c: Remove commented-out code.
8 * xfns.c (Fx_create_frame): Fix indenting.
9
102015-02-08 Eli Zaretskii <eliz@gnu.org>
11
12 * frame.c (Fframe_parameter): Don't replace a non-nil value of
13 foreground-color or background-color parameters with a nil value.
14 (Bug#19802)
15
162015-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
17
18 * data.c (Findirect_function): Like `symbol-function', don't signal an
19 error for void functions any more.
20
212015-02-07 Martin Rudalics <rudalics@gmx.at>
22
23 * frame.c (frame_size_history_add): New function.
24 (frame_inhibit_resize): Consider frame_inhibit_implied_resize
25 only after frame's after_make_frame slot is true.
26 Inhibit resizing fullwidth-/height frames in one direction only.
27 Update frame_size_history.
28 (adjust_frame_size): Call frame_size_history_add.
29 (make_frame): Initalize after_make_frame slot.
30 (Fmake_terminal_frame): Adjust adjust_frame_size call.
31 (Fcan_run_window_configuration_change_hook): Rename to
32 Fframe_after_make_frame. Set after_make_frame slot.
33 Return second argument.
34 (x_set_frame_parameters): Postpone handling fullscreen parameter
35 until after width and height parameters have been set.
36 Apply width and height changes only if can_x_set_window_size is true.
37 Update frame_size_history.
38 (Qadjust_frame_size_1, Qadjust_frame_size_2)
39 (Qadjust_frame_size_3, QEmacsFrameResize, Qframe_inhibit_resize)
40 (Qx_set_fullscreen, Qx_check_fullscreen, Qx_set_window_size_1)
41 (Qxg_frame_resized, Qxg_frame_set_char_size_1)
42 (Qxg_frame_set_char_size_2, Qxg_frame_set_char_size_3)
43 (Qxg_change_toolbar_position, Qx_net_wm_state)
44 (Qx_handle_net_wm_state, Qtb_size_cb, Qupdate_frame_tool_bar)
45 (Qfree_frame_tool_bar): New symbol for updating frame_size_history.
46 (Qtip_frame, Qterminal_frame): New symbols.
47 (Vframe_adjust_size_history): Rename to frame_size_history.
48 * frame.h (struct frame):
49 Rename can_run_window_configuration_change_hook slot to
50 after_make_frame.
51 (frame_size_history_add): Extern.
52 * gtkutil.c (xg_frame_resized): Call frame_size_history_add.
53 Don't set FRAME_PIXEL_WIDTH and FRAME_PIXEL_HEIGHT here.
54 (xg_frame_set_char_size): Try to preserve the status of
55 fullwidth/-height frames. Call frame_size_history_add.
56 (tb_size_cb, update_frame_tool_bar, free_frame_tool_bar)
57 (xg_change_toolbar_position): Call frame_size_history_add.
58 * w32fns.c (x_change_tool_bar_height): Handle frame's fullscreen
59 status.
60 (Fx_create_frame): Process fullscreen parameter after frame has
61 been resized.
62 (x_create_tip_frame): Pass Qtip_frame to adjust_frame_size.
63 (Fx_frame_geometry): Don't pollute pure storage.
64 * w32term.c (w32_read_socket): For WM_WINDOWPOSCHANGED,
65 WM_ACTIVATE and WM_ACTIVATEAPP set frame's visibility before
66 calling w32fullscreen_hook. For WM_DISPLAYCHANGE call
67 w32fullscreen_hook immediately.
68 (x_fullscreen_adjust, x_check_fullscreen): Remove.
69 (w32fullscreen_hook): Call change_frame_size just as with a
70 "normal" frame resize operation. Call do_pending_window_change.
71 (x_set_window_size): Try to handle fullwidth and fullheight more
72 accurately. Don't rely on w32_enable_frame_resize_hack.
73 (w32_enable_frame_resize_hack): Remove variable.
74 * widget.c (EmacsFrameResize): Remove dead code.
75 Call frame_size_history_add
76 * window.c (run_window_configuration_change_hook):
77 Check f->after_make_frame instead of
78 f->can_run_window_configuration_change_hook.
79 * xfns.c (x_change_tool_bar_height): Handle frame's fullscreen status.
80 (Fx_create_frame): Process fullscreen parameter after frame has
81 been resized.
82 (Fx_frame_geometry): Don't pollute pure storage.
83 * xterm.c (x_net_wm_state, x_handle_net_wm_state):
84 Call frame_size_history_add.
85 (do_ewmh_fullscreen): Handle x_frame_normalize_before_maximize.
86 (x_check_fullscreen): Count in menubar when calling
87 XResizeWindow. Wait for ConfigureNotify event.
88 Call frame_size_history_add.
89 (x_set_window_size_1): Remove PIXELWISE argument. Try to handle
90 changing a fullheight frame's width or a fullwidth frame's
91 height. Call frame_size_history_add.
92 (x_set_window_size): Simplify xg_frame_set_char_size and
93 x_set_window_size_1 calls.
94 (x_frame_normalize_before_maximize): New variable.
95
962015-02-07 Paul Eggert <eggert@cs.ucla.edu>
97
98 Remove no-longer-used cursor_in_echo_area code
99 * dispnew.c (set_window_cursor_after_update, update_frame_1):
100 Remove checks for negative cursor_in_echo_area, since this var is
101 a boolean, and has been a boolean for some time. Simplify.
102 * dispnew.c (init_display):
103 * xdisp.c (message3_nolog, vmessage): Use bool for boolean.
104
1052015-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
106
107 * eval.c (Ffunction): Handle the new (:documentation ...) form.
108 (syms_of_eval): Declare `:documentation'.
109
1102015-02-05 Martin Rudalics <rudalics@gmx.at>
111
112 * xdisp.c (Fwindow_text_pixel_size): Remove optional BUFFER
113 argument added on 2015-02-01.
114
12015-02-04 Paul Eggert <eggert@cs.ucla.edu> 1152015-02-04 Paul Eggert <eggert@cs.ucla.edu>
2 116
3 Remove no-longer-used two_byte_p calculations 117 Remove no-longer-used two_byte_p calculations
@@ -224,8 +338,8 @@
224 (x_horizontal_scroll_bar_report_motion, w32_read_socket) 338 (x_horizontal_scroll_bar_report_motion, w32_read_socket)
225 (w32_set_vertical_scroll_bar, w32_set_horizontal_scroll_bar) 339 (w32_set_vertical_scroll_bar, w32_set_horizontal_scroll_bar)
226 (w32_draw_window_cursor, x_new_font, x_set_offset) 340 (w32_draw_window_cursor, x_new_font, x_set_offset)
227 (x_set_window_size, x_make_frame_invisible, x_iconify_frame): Use 341 (x_set_window_size, x_make_frame_invisible, x_iconify_frame):
228 bool where appropriate. 342 Use bool where appropriate.
229 343
230 Use bool for boolean in w32fns.c 344 Use bool for boolean in w32fns.c
231 * w32fns.c (w32_defined_color, x_decode_color) 345 * w32fns.c (w32_defined_color, x_decode_color)
@@ -694,8 +808,8 @@
694 Qx_create_frame_2 to adjust_frame_size. 808 Qx_create_frame_2 to adjust_frame_size.
695 * w32menu.c (set_frame_menubar): Simplify adjust_frame_size 809 * w32menu.c (set_frame_menubar): Simplify adjust_frame_size
696 call. 810 call.
697 * window.c (Fset_window_configuration): Pass 811 * window.c (Fset_window_configuration):
698 Qset_window_configuration to adjust_frame_size. 812 Pass Qset_window_configuration to adjust_frame_size.
699 * xdisp.c (redisplay_tool_bar): Assign new height to 813 * xdisp.c (redisplay_tool_bar): Assign new height to
700 frame_default_tool_bar_height. 814 frame_default_tool_bar_height.
701 (redisplay_internal): If we haven't redisplayed this frame's 815 (redisplay_internal): If we haven't redisplayed this frame's
@@ -763,8 +877,8 @@
763 877
764 * w32fns.c (Fw32_register_hot_key): Use XINT instead of XLI. 878 * w32fns.c (Fw32_register_hot_key): Use XINT instead of XLI.
765 879
766 * w32notify.c (Fw32notify_add_watch, w32_get_watch_object): Use 880 * w32notify.c (Fw32notify_add_watch, w32_get_watch_object):
767 make_pointer_integer instead of XIL. 881 Use make_pointer_integer instead of XIL.
768 (Fw32notify_rm_watch): Use XINTPTR instead of XLI. 882 (Fw32notify_rm_watch): Use XINTPTR instead of XLI.
769 883
770 * w32inevt.c (handle_file_notifications): Use make_pointer_integer 884 * w32inevt.c (handle_file_notifications): Use make_pointer_integer