aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog
diff options
context:
space:
mode:
authorJoakim Verona2015-01-15 14:54:25 +0100
committerJoakim Verona2015-01-15 14:54:25 +0100
commit0298a2c6a10bc3b79cb2f45a1961dd7ac6da4e6d (patch)
tree6c7ea25ac137f5764d931e841598a3c1ea434ab0 /src/ChangeLog
parenta1124bc117e41019de49c82d13d1a72a50df977d (diff)
parent0e97c44c3699c4606a04f589828acdf9c03f447e (diff)
downloademacs-0298a2c6a10bc3b79cb2f45a1961dd7ac6da4e6d.tar.gz
emacs-0298a2c6a10bc3b79cb2f45a1961dd7ac6da4e6d.zip
merge master
Diffstat (limited to 'src/ChangeLog')
-rw-r--r--src/ChangeLog233
1 files changed, 233 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 8f441be3307..b2588f1451f 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,236 @@
12015-01-14 Eli Zaretskii <eliz@gnu.org>
2
3 * w32fns.c (w32_wnd_proc): Ignore MENUITEMINFO's dwItemData data
4 when FLAGS indicate the item is not highlighted. (Bug#19596)
5
62015-01-14 Martin Rudalics <rudalics@gmx.at>
7
8 * xmenu.c (update_frame_menubar): Remove garbaged code.
9
102015-01-14 Paul Eggert <eggert@cs.ucla.edu>
11
12 remove_slash_colon need not be inline
13 * process.c, process.h (remove_slash_colon): No longer inline.
14 This saves text bytes without hurting runtime performance.
15
162015-01-14 Dmitry Antipov <dmantipov@yandex.ru>
17
18 Avoid extra multibyteness check in ENCODE_FILE users.
19 * callproc.c (encode_current_directory, Fcall_process, call_process):
20 * dired.c (directory_files_internal, file_name_completion):
21 Do not check for STRING_MULTIBYTE because encode_file_name
22 is a no-op for unibyte strings.
23
24 * process.h (remove_slash_colon): New function.
25 * callproc.c (encode_current_directory, call_process):
26 * process.c (Fstart_process): Use it.
27
28 Consistently handle time zone specification.
29 * editfns.c (decode_time_zone): New function, refactored out from ...
30 (Fencode_time): ... adjusted user.
31 (Fset_time_zone_rule): Use decode_time_zone.
32
33 * editfns.c (make_buffer_string_both): If requested range intersects
34 the gap, don't move the latter but copy in two regions, thus avoiding
35 unnecessary relocation of buffer data.
36
372015-01-14 Paul Eggert <eggert@cs.ucla.edu>
38
39 Use bool for boolean in xmenu.c, xml.c
40 * xmenu.c (x_menu_set_in_use, popup_get_selection)
41 (Fx_menu_bar_open_internal, popup_widget_loop)
42 (x_activate_menubar, xg_crazy_callback_abort)
43 (update_frame_menubar, set_frame_menubar)
44 (initialize_frame_menubar, free_frame_menubar)
45 (create_and_show_popup_menu, x_menu_show)
46 (create_and_show_dialog, x_dialog_show):
47 * xml.c (libxml2_loaded_p, init_libxml2_functions, parse_region)
48 (Flibxml_parse_html_region, Flibxml_parse_xml_region):
49 * xrdb.c (main) [TESTRM]:
50 * xsettings.c (init_gsettings):
51 * xterm.c (XFillRectangle, xg_scroll_callback)
52 (xg_end_scroll_callback):
53 * xterm.h (x_menu_set_in_use) [USE_GTK || USE_MOTIF]:
54 Use bool for boolean.
55 * xmenu.c (TRUE): Remove; no longer used.
56 (show_help_event): Remove long-unused code.
57 (set_frame_menubar): Remove "#if 1" and corresponding "#endif" lines.
58
592015-01-13 Paul Eggert <eggert@cs.ucla.edu>
60
61 Don't say Fnext_read_file_uses_dialog_p is const
62 It's const only if a windowing system is not used; don't say it's
63 const otherwise. See:
64 http://lists.gnu.org/archive/html/emacs-devel/2015-01/msg00310.html
65 * fileio.c (next_read_file_uses_dialog_p): Remove.
66 Move guts back to ...
67 (Fnext_read_file_uses_dialog_p): ... here.
68 Don't declare as const, as make-docfile.c now has a special case
69 for this function. This is an ugly hack, but it's better than
70 lying to the compiler.
71
72 Remove now-unnecessary forward XTYPE decl
73 * lisp.h (XTYPE): Remove forward declaration. The recent merge
74 from emacs-24 fixed the problem in a better way, by moving XPNTR's
75 definition to after XTYPE's.
76
772015-01-13 Eli Zaretskii <eliz@gnu.org>
78
79 Fix problems with 32-bit wide-int build exposed by MinGW.
80 * lisp.h (XPNTR): Move definition to after XTYPE, to avoid
81 compilation error in an unoptimized build when !USE_LSB_TAG.
82
83 * w32heap.c (DUMPED_HEAP_SIZE): For 32-bit wide-int build, use the
84 same larger value as for the 64-bit build.
85
86 * w32term.h (SCROLL_BAR_PACK): Cast the result to UINT_PTR to
87 avoid compiler warnings.
88
89 * w32proc.c (Fw32_get_codepage_charset, Fw32_set_keyboard_layout):
90 Avoid compiler warnings about cast from integer to pointer of
91 different size.
92
93 * w32menu.c (menubar_selection_callback, w32_menu_show): Cast to
94 UINT_PTR instead of EMACS_INT, to avoid compiler warnings about
95 casting from integer to pointer of different size.
96 (add_menu_item): Pass the help-echo string as a pointer to
97 Lisp_String, not as a Lisp_Object.
98 (w32_menu_display_help): Use make_lisp_ptr to reconstruct a Lisp
99 string object from its C pointer.
100
101 * w32fns.c (w32_msg_pump) <WM_EMACS_UNREGISTER_HOT_KEY>: Use
102 make_lisp_ptr instead of XIL, to reconstruct a Lisp_Cons from its
103 C pointer.
104 <WM_EMACS_TOGGLE_LOCK_KEY>: msg.lparam is now a C integer.
105 (Fx_create_frame): Type-cast the result of XFASTINT to avoild
106 compiler warnings about size differences.
107 (Fw32_unregister_hot_key): Pass the tail of w32_grabbed_keys as a
108 pointer to a Lisp_Cons struct, not as a disguised EMACS_INT.
109 (Fw32_toggle_lock_key): Pass the new state of the key as a C
110 integer; use -1 for nil. Doc fix.
111
112 * .gdbinit (xgetsym): New subroutine.
113 (xsymname, xsymbol): Use it.
114 (xprintsym): No need to call xgetptr.
115
1162015-01-13 Martin Rudalics <rudalics@gmx.at>
117
118 * frame.c (adjust_frame_size): Make sure new numbers of
119 lines/columns get installed after font size change (Bug#19575).
120
1212015-01-13 Dmitry Antipov <dmantipov@yandex.ru>
122
123 Add DEFUN attributes.
124 * callint.c (Finteractive):
125 * character.c (Fcharacterp, Fmax_char):
126 * data.c (Feq, Fnull, Fconsp, Fatom, Flistp, Fnlistp, Fsymbolp)
127 (Fstringp, Fchar_or_string_p, Fintegerp, Fnatnump, Fnumberp)
128 (Ffloatp, Fbyteorder):
129 * decompress.c (Fzlib_available_p):
130 * fns.c (Fidentity):
131 * frame.c (Fframe_windows_min_size):
132 * gnutls.c (Fgnutls_error_p, Fgnutls_available_p):
133 * window.c (Fwindow__sanitize_window_sizes):
134 * xdisp.c (Ftool_bar_height):
135 * xfaces.c (Fface_attribute_relative_p): Add const attribute.
136 * emacs.c (Fkill_emacs):
137 * eval.c (Fthrow):
138 * keyboard.c (Ftop_level, Fexit_recursive_edit)
139 (Fabor_recursive_edit): Add noreturn attribute.
140
141 * search.c (fast_string_match_internal): New function,
142 consolidated from...
143 (fast_string_match, fast_string_match_ignore_case): ...functions
144 which are...
145 * lisp.h (fast_string_match, fast_string_match_ignore_case):
146 inlined from here now.
147 (fast_string_match_internal): Add prototype.
148 * dired.c (file_name_completion): Use fast_string_match_internal.
149
150 * fileio.c (next_read_file_uses_dialog_p): New workaround ...
151 (Fnext_read_file_uses_dialog_p): ... called from here to avoid
152 ATTRIBUTE_CONST dependency from #ifdefs. For details, see
153 http://lists.gnu.org/archive/html/emacs-devel/2015-01/msg00289.html.
154
1552015-01-12 Paul Eggert <eggert@cs.ucla.edu>
156
157 Port to 32-bit MingGW --with-wide-int
158 Problem reported by Eli Zaretskii in:
159 http://lists.gnu.org/archive/html/emacs-devel/2015-01/msg00265.html
160 * lisp.h (struct Lisp_Sub_Char_Table): Check that offset matches
161 what we think it is, rather than checking only its alignment (and
162 doing so incorrectly on MinGW).
163
1642015-01-12 Dmitry Antipov <dmantipov@yandex.ru>
165
166 * fileio.c (Ffile_name_as_directory, Fdirectory_file_name):
167 Remove dead NILP check.
168 * image.c (Flookup_image): Use regular format for docstring.
169 * keyboard.c (apply_modifiers_uncached): Use stpcpy.
170
1712015-01-12 Martin Rudalics <rudalics@gmx.at>
172
173 * dispnew.c (change_frame_size_1): Pass Qchange_frame_size to
174 adjust_frame_size.
175 * frame.c (frame_default_tool_bar_height): New variable.
176 (adjust_frame_size): Possibly add requested adjustment to
177 Vframe_adjust_size_history.
178 (make_frame): Initialize tool_bar_redisplayed_once slot.
179 (Fset_frame_height, Fset_frame_width, Fset_frame_size): Clarify
180 doc-string. Call adjust_frame_size unconditionally (the frame's
181 text size may remain unaltered but the pixel size may change).
182 (x_figure_window_size): If frame_default_tool_bar_height was
183 set, use it instead of calculating the tool bar height from
184 DEFAULT_TOOL_BAR_IMAGE_HEIGHT. Don't set
185 Vframe_initial_frame_tool_bar_height.
186 (Qchange_frame_size, Qxg_frame_set_char_size)
187 (Qset_window_configuration, Qx_create_frame_1)
188 (Qx_create_frame_2): New symbols.
189 (Vframe_initial_frame_tool_bar_height): Remove.
190 (Vframe_adjust_size_history): New history variable for debugging
191 frame size adjustments.
192 * frame.h (struct frame): New boolean slot
193 tool_bar_redisplayed_once.
194 (frame_default_tool_bar_height): Extern.
195 * gtkutil.c (xg_frame_set_char_size): Pass Qxg_frame_set_char_size
196 to adjust_frame_size.
197 * nsfns.m (Fx_create_frame): Pass Pass Qx_create_frame_1 and
198 Qx_create_frame_2 to adjust_frame_size.
199 * w32fns.c (x_change_tool_bar_height): Call adjust_frame_size with
200 inhibit 1 when we have not redisplayed the tool bar yet.
201 (Fx_create_frame): Pass Pass Qx_create_frame_1 and
202 Qx_create_frame_2 to adjust_frame_size.
203 * w32menu.c (set_frame_menubar): Simplify adjust_frame_size
204 call.
205 * window.c (Fset_window_configuration): Pass
206 Qset_window_configuration to adjust_frame_size.
207 * xdisp.c (redisplay_tool_bar): Assign new height to
208 frame_default_tool_bar_height.
209 (redisplay_internal): If we haven't redisplayed this frame's
210 tool bar, call redisplay_tool_bar early so we can adjust the
211 frame size accordingly.
212 * xfns.c (x_change_tool_bar_height): Call adjust_frame_size with
213 inhibit 1 when we have not redisplayed the tool bar yet.
214 (Fx_create_frame): Pass Pass Qx_create_frame_1 and
215 Qx_create_frame_2 to adjust_frame_size.
216
2172015-01-12 Paul Eggert <eggert@cs.ucla.edu>
218
219 Have 'make' output better GEN names
220 * Makefile.in (gl-stamp, globals.h): Simplify by putting the new
221 contents of globals.h into gl-stamp. This lets us use AM_V_GEN
222 more naturally so that 'make' can output more-accurate names.
223
2242015-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
225
226 * buffer.c (init_buffer_once): Initialize buffer_local_flags before
227 calling reset_buffer_local_variables, and make sure we initialize
228 it completely.
229
2302015-01-11 Dmitry Antipov <dmantipov@yandex.ru>
231
232 * coding.c (Fcoding_system_plist): Use common style for docstring.
233
12015-01-11 Paul Eggert <eggert@cs.ucla.edu> 2342015-01-11 Paul Eggert <eggert@cs.ucla.edu>
2 235
3 Port to MSB hosts without optimization 236 Port to MSB hosts without optimization