aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog
diff options
context:
space:
mode:
authorJoakim Verona2013-03-26 16:14:01 +0100
committerJoakim Verona2013-03-26 16:14:01 +0100
commit48c226c2c2592e31a47559bd1689fcc4354d9479 (patch)
tree2f79cf5a16930fbd09d965be98b6d145c9984eb6 /src/ChangeLog
parente11705b616777a8a72363b2037d989987630e863 (diff)
parent9536ec028c24fbedf617b67e98a108504e5b1e73 (diff)
downloademacs-48c226c2c2592e31a47559bd1689fcc4354d9479.tar.gz
emacs-48c226c2c2592e31a47559bd1689fcc4354d9479.zip
auto upstream
Diffstat (limited to 'src/ChangeLog')
-rw-r--r--src/ChangeLog278
1 files changed, 272 insertions, 6 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 288996fffb2..ce0455a4981 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,273 @@
12013-03-26 Eli Zaretskii <eliz@gnu.org>
2
3 * w32.c (_PROCESS_MEMORY_COUNTERS_EX) [_WIN32_WINNT < 0x0500]:
4 Define only for _WIN32_WINNT less than 0x0500.
5 (_ANONYMOUS_UNION, _ANONYMOUS_STRUCT) [!_W64]: Don't define for
6 MinGW64.
7 Move inclusion of time.h before sys/time.h, so that MinGW64 could
8 see its own definitions of 'struct timeval' and 'struct timezone'.
9
10 Fix incompatibilities between MinGW.org and MinGW64 headers.
11 * w32term.c (WCRANGE, GLYPHSET): Don't define if _W64 is defined.
12
13 * w32.c (REPARSE_DATA_BUFFER): Guard with
14 MAXIMUM_REPARSE_DATA_BUFFER_SIZE being defined.
15
162013-03-25 Jan Djärv <jan.h.d@swipnet.se>
17
18 * xterm.c: Include X11/XKBlib.h
19 (XTring_bell): Use XkbBell if HAVE_XKB (Bug#14041).
20
212013-03-24 Andreas Schwab <schwab@linux-m68k.org>
22
23 * alloc.c (xpalloc, Fgarbage_collect): Reorder conditions that are
24 written backwards.
25 * blockinput.h (input_blocked_p): Likewise.
26 * bytecode.c (exec_byte_code): Likewise.
27 * callproc.c (call_process_kill, call_process_cleanup)
28 (Fcall_process): Likewise.
29 * ccl.c (ccl_driver, resolve_symbol_ccl_program)
30 (Fccl_execute_on_string): Likewise.
31 * character.c (string_escape_byte8): Likewise.
32 * charset.c (read_hex): Likewise.
33 * cm.c (calccost): Likewise.
34 * data.c (cons_to_unsigned): Likewise.
35 * dired.c (directory_files_internal, file_name_completion):
36 Likewise.
37 * dispnew.c (scrolling_window, update_frame_1, Fsleep_for)
38 (sit_for): Likewise.
39 * doc.c (Fsubstitute_command_keys): Likewise.
40 * doprnt.c (doprnt): Likewise.
41 * editfns.c (hi_time, decode_time_components, Fformat): Likewise.
42 * emacsgtkfixed.c: Likewise.
43 * fileio.c (file_offset, Fwrite_region): Likewise.
44 * floatfns.c (Fexpt, fmod_float): Likewise.
45 * fns.c (larger_vector, make_hash_table, Fmake_hash_table):
46 Likewise.
47 * font.c (font_intern_prop): Likewise.
48 * frame.c (x_set_alpha): Likewise.
49 * gtkutil.c (get_utf8_string): Likewise.
50 * indent.c (check_display_width): Likewise.
51 * intervals.c (create_root_interval, rotate_right, rotate_left)
52 (split_interval_right, split_interval_left)
53 (adjust_intervals_for_insertion, delete_node)
54 (interval_deletion_adjustment, adjust_intervals_for_deletion)
55 (merge_interval_right, merge_interval_left, copy_intervals)
56 (set_intervals_multibyte_1): Likewise.
57 * keyboard.c (gobble_input, append_tool_bar_item): Likewise.
58 * keymap.c (Fkey_description): Likewise.
59 * lisp.h (FIXNUM_OVERFLOW_P, vcopy): Likewise.
60 * lread.c (openp, read_integer, read1, string_to_number):
61 Likewise.
62 * menu.c (ensure_menu_items): Likewise.
63 * minibuf.c (read_minibuf_noninteractive): Likewise.
64 * print.c (printchar, strout): Likewise.
65 * process.c (create_process, Faccept_process_output)
66 (wait_reading_process_output, read_process_output, send_process)
67 (wait_reading_process_output): Likewise.
68 * profiler.c (make_log, handle_profiler_signal): Likewise.
69 * regex.c (re_exec): Likewise.
70 * regex.h: Likewise.
71 * search.c (looking_at_1, Freplace_match): Likewise.
72 * sysdep.c (get_child_status, procfs_ttyname)
73 (procfs_get_total_memory): Likewise.
74 * systime.h (EMACS_TIME_VALID_P): Likewise.
75 * term.c (dissociate_if_controlling_tty): Likewise.
76 * window.c (get_phys_cursor_glyph): Likewise.
77 * xdisp.c (init_iterator, redisplay_internal, redisplay_window)
78 (try_window_reusing_current_matrix, try_window_id, pint2hrstr):
79 Likewise.
80 * xfns.c (Fx_window_property): Likewise.
81 * xmenu.c (set_frame_menubar): Likewise.
82 * xselect.c (x_get_window_property, x_handle_dnd_message):
83 Likewise.
84 * xsmfns.c (smc_save_yourself_CB): Likewise.
85 * xterm.c (x_scroll_bar_set_handle): Likewise.
86
872013-03-24 Dmitry Antipov <dmantipov@yandex.ru>
88
89 * xfaces.c (Finternal_face_x_get_resource): Allow 3rd (frame) argument
90 to be optional or nil. Adjust comment and convert it to docstring.
91 * xselect.c (Fx_send_client_event): Rename to Fx_send_client_message.
92 * frame.c (display_x_get_resource, Fx_get_resource): Break long line.
93
942013-03-24 Paul Eggert <eggert@cs.ucla.edu>
95
96 Static checking by GCC 4.8-20130319.
97 * image.c (gif_load): Assume pass < 3 to pacify GCC.
98 * process.c (Fset_process_datagram_address)
99 (Fmake_network_process): Check get_lisp_to_sockaddr_size return value.
100 * xdisp.c (get_char_face_and_encoding):
101 (get_glyph_face_and_encoding): Ensure that *CHAR2B is initialized.
102 (get_glyph_face_and_encoding): Prepare face before possibly using it.
103 (get_per_char_metric): Don't use CHAR2B if it might not be initialized.
104
1052013-03-24 Ken Brown <kbrown@cornell.edu>
106
107 * w32fns.c (emacs_abort) [CYGWIN]: Define `_open' as a macro to
108 fix compilation on 64-bit Cygwin, where underscores are not
109 automatically prepended.
110
111 * w32term.c (w32_initialize): Silence compiler warning.
112
1132013-03-23 Eli Zaretskii <eliz@gnu.org>
114
115 * w32term.c (w32fullscreen_hook): Use FRAME_NORMAL_WIDTH,
116 FRAME_NORMAL_HEIGHT, and FRAME_PREV_FSMODE, instead of static
117 variables, to save and restore frame dimensions. Use
118 FRAME_NORMAL_LEFT and FRAME_NORMAL_TOP to restore frame position
119 after returning from a 'fullscreen' configuration. use
120 SendMessage instead of PostMessage to send the SC_RESTORE message,
121 to avoid races between the main thread and the input thread.
122
123 * w32term.h (struct w32_output): New members normal_width,
124 normal_height, normal_top, normal_left, and prev_fsmode.
125 (FRAME_NORMAL_WIDTH, FRAME_NORMAL_HEIGHT, FRAME_NORMAL_TOP)
126 (FRAME_NORMAL_LEFT, FRAME_PREV_FSMODE): New macros to access these
127 members of a frame.
128
129 * w32term.c (w32fullscreen_hook): Record last value of the frame's
130 'fullscreen' parameter. Always record previous width and height
131 of the frame, except when switching out of maximized modes, so
132 that they could be restored correctly, instead of resetting to the
133 default frame dimensions. Send SC_RESTORE command to the frame,
134 unless we are going to send SC_MAXIMIZE, to restore the frame
135 resize hints in the mouse pointer shown by the window manager.
136 (Bug#14032)
137
138 * frame.c (get_frame_param): Now extern for WINDOWSNT as well.
139
140 * lisp.h (get_frame_param): Adjust conditions for prototype
141 declaration.
142
1432013-03-22 Ken Brown <kbrown@cornell.edu>
144
145 * unexcw.c: Drop unneeded inclusion of w32common.h.
146 (report_sheap_usage): Declare.
147 (read_exe_header): Add magic numbers for x86_64.
148 (fixup_executable): Fix printf format specifier for unsigned long
149 argument.
150
1512013-03-22 Dmitry Antipov <dmantipov@yandex.ru>
152
153 * frame.h (struct frame): Put menu_bar_window under #ifdef
154 because this member is not needed when X toolkit is in use.
155 (fset_menu_bar_window):
156 * dispnew.c (clear_current_matrices, clear_desired_matrices)
157 (free_glyphs, update_frame):
158 * xdisp.c (expose_frame): Likewise.
159 (display_menu_bar): Likewise. Remove redundant eassert.
160 * window.h (WINDOW_MENU_BAR_P): Always define to 0 if X
161 toolkit is in use.
162
1632013-03-21 Paul Eggert <eggert@cs.ucla.edu>
164
165 Use functions and constants to manipulate Lisp_Save_Value objects.
166 This replaces code that used macros and strings and token-pasting.
167 The change makes the C source a bit easier to follow,
168 and shrinks the Emacs executable a bit.
169 * alloc.c: Verify some properties of Lisp_Save_Value's representation.
170 (make_save_value): Change 1st arg from string to enum. All callers
171 changed.
172 (INTX): Remove.
173 (mark_object): Use if, not #if, for GC_MARK_STACK.
174 * lisp.h (SAVE_VALUEP, XSAVE_VALUE, XSAVE_POINTER, XSAVE_INTEGER)
175 (XSAVE_OBJECT): Now functions, not macros.
176 (STRING_BYTES_BOUND): Now just a macro, not a constant too;
177 the constant was never used.
178 (SAVE_SLOT_BITS, SAVE_VALUE_SLOTS, SAVE_TYPE_BITS, SAVE_TYPE_INT_INT)
179 (SAVE_TYPE_INT_INT_INT, SAVE_TYPE_OBJ_OBJ, SAVE_TYPE_OBJ_OBJ_OBJ)
180 (SAVE_TYPE_OBJ_OBJ_OBJ_OBJ, SAVE_TYPE_PTR_INT, SAVE_TYPE_PTR_OBJ)
181 (SAVE_TYPE_PTR_PTR, SAVE_TYPE_PTR_PTR_OBJ, SAVE_TYPE_MEMORY):
182 New constants.
183 (struct Lisp_Save_Value): Replace members area, type0, type1, type2,
184 type3 with a single member save_type. All uses changed.
185 (save_type, set_save_pointer, set_save_integer): New functions.
186 * print.c (PRINTX): Remove.
187
188 * alloc.c: Remove redundant static declarations.
189
1902013-03-20 Dmitry Antipov <dmantipov@yandex.ru>
191
192 * window.h (struct window): Convert left_col, top_line, total_lines
193 and total_cols from Lisp_Objects to integers. Adjust comments.
194 (wset_left_col, wset_top_line, wset_total_cols, wset_total_lines):
195 Remove.
196 (WINDOW_TOTAL_COLS, WINDOW_TOTAL_LINES, WINDOW_LEFT_EDGE_COL)
197 (WINDOW_TOP_EDGE_LINE): Drop Lisp_Object to integer conversion.
198 * dispnew.c, frame.c, w32fns.c, window.c, xdisp.c, xfns.c:
199 Adjust users where appropriate.
200
2012013-03-20 Dmitry Antipov <dmantipov@yandex.ru>
202
203 * frame.h (struct frame): Drop resx and resy because the same data is
204 available from window system-specific output context. Adjust users.
205 (default_pixels_per_inch_x, default_pixels_per_inch_y): New
206 functions to provide defaults when no window system available.
207 (FRAME_RES_X, FRAME_RES_Y): New macros.
208 (NUMVAL): Moved from xdisp.c.
209 * font.c (font_pixel_size, font_find_for_lface, font_open_for_lface)
210 (Ffont_face_attributes, Fopen_font):
211 * image.c (gs_load):
212 * w32font.c (fill_in_logfont):
213 * xdisp.c (calc_pixel_width_or_height):
214 * xfaces.c (Fx_family_fonts, set_lface_from_font): Use them.
215 * xsettings.c (apply_xft_settings): Drop frame loop and adjust comment.
216
2172013-03-20 Kenichi Handa <handa@gnu.org>
218
219 * coding.c (syms_of_coding): Initialize disable_ascii_optimization
220 to 1 (temporary workaround until a bug related to ASCII
221 optimization is fixed).
222
2232013-03-19 Dmitry Antipov <dmantipov@yandex.ru>
224
225 * window.c (Fwindow_combination_limit, Fset_window_combination_limit):
226 Signal error if window is not internal. Adjust docstring.
227 (delete_all_child_windows): Use combination_limit to save the buffer.
228 (Fset_window_configuration): Adjust accordingly.
229 * print.c (syms_of_print): Initialize debugging output not here...
230 (init_print_once): ...but in a new function here.
231 * lisp.h (init_print_once): Add prototype.
232 * emacs.c (main): Add call to init_print_once. Adjust comments.
233
2342013-03-18 Dmitry Antipov <dmantipov@yandex.ru>
235
236 * window.c (window_resize_check, window_resize_apply)
237 (window_from_coordinates, recombine_windows, set_window_buffer)
238 (make_parent_window, Fwindow_resize_apply, resize_frame_windows)
239 (Fsplit_window_internal, Fdelete_window_internal)
240 (freeze_window_starts): Use bool for booleans.
241 * window.h (window_frame_coordinates, resize_frame_windows)
242 (freeze_window_starts, set_window_buffer): Adjust prototypes.
243
2442013-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
245
246 * dispnew.c (bitch_at_user): Use `user-error'.
247
2482013-03-17 Ken Brown <kbrown@cornell.edu>
249
250 * dispextern.h (RGB_PIXEL_COLOR): Move here from image.c. Use it
251 as return type of image_background. (Bug#13981)
252 * image.c (RGB_PIXEL_COLOR): Move to dispextern.h.
253
2542013-03-16 Jan Djärv <jan.h.d@swipnet.se>
255
256 * nsterm.m (updateFrameSize:): Change resize increments if needed.
257 (ns_select): Don't return with result uninitialized.
258
259 * nsterm.h (EmacsSavePanel, EmacsOpenPanel): Add getFilename
260 and getDirectory.
261
262 * nsfns.m (ns_filename_from_panel, ns_directory_from_panel):
263 New functions.
264 (Fns_read_file_name): ret is BOOL. If ! dir_only_p, don't choose
265 directories. If filename is nil, get directory name (Bug#13932).
266 Use getFilename and getDirectory.
267 (getFilename, getDirectory): New methods for EmacsSavePanel and
268 EmacsOpenPanel.
269 (ok:): In EmacsOpenPanel, if we can't choose directories, just return.
270
12013-03-15 Paul Eggert <eggert@cs.ucla.edu> 2712013-03-15 Paul Eggert <eggert@cs.ucla.edu>
2 272
3 * coding.c (decode_coding_gap): Fix typo caught by static checking. 273 * coding.c (decode_coding_gap): Fix typo caught by static checking.
@@ -23,10 +293,6 @@
23 (syms_of_coding): Declare disable-ascii-optimization as a Lisp 293 (syms_of_coding): Declare disable-ascii-optimization as a Lisp
24 variable. 294 variable.
25 295
26 * global.h (struct emacs_globals): New member
27 f_disable_ascii_optimization.
28 (disable_ascii_optimization): New macro.
29
30 * lisp.h (adjust_after_replace): Cancel externing it. 296 * lisp.h (adjust_after_replace): Cancel externing it.
31 (insert_from_gap): Adjust prototype. 297 (insert_from_gap): Adjust prototype.
32 298
@@ -5093,8 +5359,8 @@
5093 a public macro and no need to inline by hand. 5359 a public macro and no need to inline by hand.
5094 5360
50952012-09-26 Tomohiro Matsuyama <tomo@cx4a.org> 53612012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
5096 Stefan Monnier <monnier@iro.umontreal.ca> 5362 Stefan Monnier <monnier@iro.umontreal.ca>
5097 Juanma Barranquero <lekktu@gmail.com> 5363 Juanma Barranquero <lekktu@gmail.com>
5098 5364
5099 * profiler.c: New file. 5365 * profiler.c: New file.
5100 * Makefile.in (base_obj): Add profiler.o. 5366 * Makefile.in (base_obj): Add profiler.o.