aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog
diff options
context:
space:
mode:
authorTom Tromey2013-01-05 19:36:45 -0700
committerTom Tromey2013-01-05 19:36:45 -0700
commite078a23febca14bc919c5806670479c395e3253e (patch)
treee9e4ed91feef744d525264c31974c3ed00146bcd /src/ChangeLog
parent63d535c829a930207b64fe733228f15a554644b1 (diff)
parent7a2657fa3bedbd977f4e11fe030cb4a210c04ab4 (diff)
downloademacs-e078a23febca14bc919c5806670479c395e3253e.tar.gz
emacs-e078a23febca14bc919c5806670479c395e3253e.zip
merge from trunk
Diffstat (limited to 'src/ChangeLog')
-rw-r--r--src/ChangeLog385
1 files changed, 371 insertions, 14 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 3cf105c8003..c0c85c15ee9 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,9 +1,369 @@
12013-01-05 Eli Zaretskii <eliz@gnu.org>
2
3 * xdisp.c (dump_glyph): Align glyph data better. Use "pD" instead
4 of a non-portable "t" to print ptrdiff_t values. Allow up to 9
5 digits for buffer positions, before misalignment starts. Display
6 "0" for integer "object" field.
7 (dump_glyph_row): Adapt the header line to changes in dump_glyph.
8 Display the newline glyph more unambiguously.
9
102013-01-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
11
12 * nsterm.m (ns_draw_underwave):
13 * w32term.c (w32_draw_underwave):
14 * xterm.c (x_draw_underwave): Make underwave look more triangular
15 and also degrade gracefully for small fonts. (Bug#13000)
16
17 * nsterm.m (ns_draw_text_decoration):
18 * w32term.c (x_draw_glyph_string):
19 * xterm.c (x_draw_glyph_string): Don't use previous underline
20 thickness and position if previous underline type is underwave.
21
222013-01-04 Stefan Monnier <monnier@iro.umontreal.ca>
23
24 * fileio.c (Ffile_acl): Undocument return format.
25
262013-01-02 Glenn Morris <rgm@gnu.org>
27
28 * keymap.c (Fkey_description): Doc fix. (Bug#13323)
29
302013-01-02 Paul Eggert <eggert@cs.ucla.edu>
31
32 Simplify via eabs.
33 * dired.c (file_name_completion):
34 * doc.c (get_doc_string):
35 * floatfns.c (round2):
36 * font.c (font_score, font_delete_unmatched):
37 * fringe.c (compute_fringe_widths):
38 * lread.c (read_list):
39 * minibuf.c (Ftry_completion):
40 * term.c (tty_ins_del_lines):
41 * xterm.c (x_draw_image_foreground, x_draw_image_foreground_1):
42 Use eabs (x) rather than open-coding it as (x < 0 ? -x : x).
43
442012-12-31 Eli Zaretskii <eliz@gnu.org>
45
46 * w32.c (unsetenv): Set up the string passed to _putenv
47 correctly. See
48 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00863.html
49 for the bug this caused.
50
512012-12-30 Paul Eggert <eggert@cs.ucla.edu>
52
53 * coding.c (Qmac): Now static.
54
552012-12-30 Jan Djärv <jan.h.d@swipnet.se>
56
57 * gtkutil.c (TOOLBAR_TOP_WIDGET): New macro.
58 (xg_pack_tool_bar): Use TOOLBAR_TOP_WIDGET, condition out use of
59 handlebox_widget. Set toolbar_in_hbox to false/true, set
60 toolbar_is_packed to true.
61 (xg_update_tool_bar_sizes): Use widget returned by TOOLBAR_TOP_WIDGET.
62 (update_frame_tool_bar): Check toolbar_is_packed for packing.
63 Show all on TOOLBAR_TOP_WIDGET.
64 (free_frame_tool_bar): Check toolbar_is_packed. Use widget returned
65 by TOOLBAR_TOP_WIDGET.
66 (xg_change_toolbar_position): Use widget returned by TOOLBAR_TOP_WIDGET.
67 Check toolbar_is_packed.
68 (xg_have_tear_offs, tearoff_remove, tearoff_activate): Condition on
69 HAVE_GTK_TEAROFF_MENU_ITEM_NEW.
70 (xg_have_tear_offs): When ! HAVE_GTK_TEAROFF_MENU_ITEM_NEW, return
71 false.
72 (create_menus): Create tearoff only if HAVE_GTK_TEAROFF_MENU_ITEM_NEW.
73 (xg_update_menubar): Update title only if
74 HAVE_GTK_TEAROFF_MENU_ITEM_NEW.
75 (xg_update_submenu): Skip tearoff only if
76 HAVE_GTK_TEAROFF_MENU_ITEM_NEW.
77 (xg_initialize): Initialize xg_detached_menus only if
78 HAVE_GTK_TEAROFF_MENU_ITEM_NEW.
79
80 * xterm.h (struct x_output): Surround handlebox_widget with
81 #ifdef HAVE_GTK_HANDLE_BOX_NEW. toolbar_is_packed is new,
82 toolbar_in_hbox is bool.
83
842012-12-30 Andreas Schwab <schwab@linux-m68k.org>
85
86 * src/Makefile.in (TEMACS_LDFLAGS2): Remove.
87 (LIBS_GNUSTEP): Define.
88 (LIBES): Add $(LIBS_GNUSTEP).
89 (temacs$(EXEEXT)): Use $(LDFLAGS) instead of $(TEMACS_LDFLAGS2).
90
912012-12-30 Eli Zaretskii <eliz@gnu.org>
92
93 * xdisp.c (set_cursor_from_row): Don't confuse a truncation or
94 continuation glyph on a TTY with an indication of an empty line.
95 (Bug#13277)
96
972012-12-29 Eli Zaretskii <eliz@gnu.org>
98
99 * fileio.c (Fset_file_selinux_context, Fset_file_acl): Return t if
100 file's SELinux context or ACLs successfully set, nil otherwise.
101 (Bug#13298)
102 (Fcopy_file) [WINDOWSNT]: Improve diagnostics when CopyFile fails.
103
104 * w32proc.c (reader_thread): Avoid passing NULL handles to
105 SetEvent and WaitForSingleObject.
106
1072012-12-28 Paul Eggert <eggert@cs.ucla.edu>
108
109 Port EXTERNALLY_VISIBLE to Clang 3.2.
110 * conf_post.h (__has_attribute): New macro.
111 (EXTERNALLY_VISIBLE): Use it. This ports to Clang 3.2.
112
1132012-12-27 Glenn Morris <rgm@gnu.org>
114
115 * cygw32.c (Fcygwin_convert_file_name_to_windows)
116 (Fcygwin_convert_file_name_from_windows): Doc fixes.
117
1182012-12-27 Eli Zaretskii <eliz@gnu.org>
119
120 * fileio.c (file_name_as_directory, directory_file_name): Accept
121 an additional argument MULTIBYTE to indicate whether the input C
122 came from a multibyte or a unibyte Lisp string; all callers
123 adjusted. Don't assume the input string is always multibyte.
124 (Bug#13262)
125 (Ffile_name_directory) [DOS_NT]: Handle unibyte strings correctly:
126 don't ENCODE_FILE them, and return a unibyte string if the input
127 was unibyte.
128 (Fexpand_file_name): Don't mix unibyte with multibyte strings, and
129 don't assume the input strings will always be multibyte. If the
130 input strings are multibyte, decode strings obtained from C
131 library functions.
132
1332012-12-26 Dmitry Antipov <dmantipov@yandex.ru>
134
135 * lisp.h (toplevel): Add two notices to the comment about
136 defining a new Lisp data type.
137 * print.c (print_object): If Lisp_Save_Value object's pointer
138 is the address of a memory area containing Lisp_Objects, try
139 to print them.
140 * alloc.c (valid_lisp_object_p): Adjust comment.
141
1422012-12-26 Dmitry Antipov <dmantipov@yandex.ru>
143
144 * keyboard.c (record_asynch_buffer_change): Initialize an event
145 only if it's really needed.
146 * frame.h (enum output_method): Remove output_mac member since
147 it's a leftover from the deleted code.
148 * frame.c (Fframep): Adjust user here ...
149 * terminal.c (Fterminal_live_p): ... and here.
150 * coding.c (Qmac): Now here because it's only used to denote
151 end-of-line encoding type.
152 (syms_of_coding): DEFSYM it.
153 * frame.h (Qmac): Remove duplicated declaration.
154
1552012-12-26 Paul Eggert <eggert@cs.ucla.edu>
156
157 * window.c (select_window_1): Now static, since it's used only here.
158
1592012-12-25 Eli Zaretskii <eliz@gnu.org>
160
161 * window.c (window_body_cols): Subtract display margins from the
162 window body width on TTYs as well. See
163 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-12/msg00317.html
164 for the original report.
165
1662012-12-25 Dmitry Antipov <dmantipov@yandex.ru>
167
168 * xdisp.c (redisplay_window): Remove inner local variable
169 because the outer shadowed one has the same meaning.
170 * xterm.h (struct x_output): Remove toolbar_detached member since it's
171 set but never used.
172 * gtkutil.c (xg_tool_bar_detach_callback, xg_tool_bar_attach_callback)
173 (xg_create_tool_bar): Adjust users.
174
1752012-12-24 Dmitry Antipov <dmantipov@yandex.ru>
176
177 * buffer.h (BUF_COMPACT): New macro to follow the common style.
178 * buffer.c (Fget_buffer_create): Use it to set compact field of
179 struct buffer_text to avoid accessing an uninitialized value
180 when compact_buffer is called for the first time.
181 (compact_buffer): Use convenient BUF_COMPACT and BUF_MODIFF.
182 (Fset_buffer_modified_p): Use buffer_window_count to check
183 whether the buffer is displayed in some window.
184 * xdisp.c (message_dolog): Likewise.
185
1862012-12-23 Eli Zaretskii <eliz@gnu.org>
187
188 * w32.c (acl_set_file): If setting the file security descriptor
189 fails, and the new DACL is identical to the existing one, silently
190 return success. This fixes problems for users backing up their
191 own files without having the necessary privileges for setting
192 security descriptors.
193
194 * w32proc.c (reader_thread): Do not index fd_info[] with negative
195 values.
196 (reader_thread): Exit when cp->status becomes STATUS_READ_ERROR
197 after WaitForSingleObject returns normally. This expedites reader
198 thread shutdown when delete_child triggers it.
199 (reap_subprocess): More accurate commentary for why we call
200 delete_child only when cp->fd is negative.
201
202 * w32.c (sys_close): Do not call delete_child on a subprocess
203 whose handle is not yet closed. Instead, set its file descriptor
204 to a negative value, so that reap_subprocess will call
205 delete_child on that subprocess when its SIGCHLD arrives. This
206 avoids closing handles used for communications between sys_select
207 and reader_thread, which doesn't give sys_select a chance to
208 notice that the process exited and invoke the SIGCHLD handler for
209 it.
210
2112012-12-23 Jan Djärv <jan.h.d@swipnet.se>
212
213 * nsfns.m (Fns_do_applescript): Run event loop until script has
214 been executed (Bug#12969).
215 (ns_run_ascript): Chech as_script for nil, set to nil after
216 executing script.
217
2182012-12-22 Martin Rudalics <rudalics@gmx.at>
219
220 * window.c (Fselect_window): Reword doc-string (Bug#13248).
221
2222012-12-22 Eli Zaretskii <eliz@gnu.org>
223
224 * w32term.c (w32fullscreen_hook): New function.
225 (w32_create_terminal): Plug it into the terminal's fullscreen_hook.
226
2272012-12-21 Eli Zaretskii <eliz@gnu.org>
228
229 * fileio.c (Finsert_file_contents): Doc fix.
230
231 * w32proc.c (new_child, delete_child, find_child_pid): For a
232 subprocess, consider its slot being in use as long as its process
233 handle (procinfo.hProcess) is not NULL. This avoids reusing the
234 slot when a new process is started immediately after killing
235 another one, without waiting enough time for the first process to
236 be reaped and resources allocated for it be orderly freed.
237 (Bug#13086)
238 Suggested by Fabrice Popineau <fabrice.popineau@supelec.fr>.
239
2402012-12-21 Chong Yidong <cyd@gnu.org>
241
242 * buffer.c (Fset_buffer_major_mode): Doc fix (Bug#13231).
243
244 * fns.c (Fcompare_strings): Doc fix (Bug#13081).
245
2462012-12-21 Eli Zaretskii <eliz@gnu.org>
247
248 * w32.c (get_name_and_id): Always pass NULL as the first argument
249 of lookup_account_sid. Avoids crashes with UNC file names that
250 refer to DFS domains, not to specific machine names. (Bug#12621)
251 Remove now unused argument FNAME; all callers changed.
252 (get_file_owner_and_group): Remove now unused argument FNAME; all
253 callers changed.
254
2552012-12-21 Chong Yidong <cyd@gnu.org>
256
257 * editfns.c (Finsert_char): Since read-char-by-name now signals an
258 error for invalid chars, don't check for a nil return value.
259
2602012-12-20 Dmitry Antipov <dmantipov@yandex.ru>
261
262 Avoid calls to CHAR_TO_BYTE if byte position is known.
263 * editfns.c (make_buffer_string_both): Use move_gap_both.
264 (Fbuffer_string): Use make_buffer_string_both.
265 * marker.c (buf_charpos_to_bytepos): Convert to eassert.
266 Adjust comment.
267 (buf_bytepos_to_charpos): Likewise.
268 (charpos_to_bytepos): Remove.
269 * fileio.c (Finsert_file_contents): Use move_gap_both.
270 * search.c (Freplace_match): Likewise.
271 * process.c (process_send_region): Likewise. Use convenient
272 names for byte positions.
273 * lisp.h (charpos_to_bytepos): Remove prototype.
274 * indent.c (scan_for_column): Use CHAR_TO_BYTE.
275 * insdel.c (move_gap): Likewise.
276
2772012-12-20 Paul Eggert <eggert@cs.ucla.edu>
278
279 * xdisp.c (redisplay_internal): Remove now-unused local.
280
2812012-12-20 Stefan Monnier <monnier@iro.umontreal.ca>
282
283 * xdisp.c (select_frame_for_redisplay, ensure_selected_frame): Remove.
284 (redisplay_internal): Don't bother selecting the frame to get the
285 proper value of frame-local variables (bug#13225).
286
2872012-12-20 Dmitry Antipov <dmantipov@yandex.ru>
288
289 * textprop.c (set_text_properties_1): Do not allow NULL interval.
290 Rename 4th argument since it may be buffer or string. Adjust comment.
291 * intervals.c (graft_intervals_info_buffer): Find an interval here.
292
2932012-12-19 Dmitry Antipov <dmantipov@yandex.ru>
294
295 * coding.c (Fdetect_coding_region): Do not check start and end with
296 CHECK_NUMBER_COERCE_MARKER since validate_region does that itself.
297 (code_convert_region): Likewise.
298
2992012-12-18 Eli Zaretskii <eliz@gnu.org>
300
301 * w32.c (acl_get_file, acl_set_file): Run the file name through
302 map_w32_filename, and resolve any symlinks in the file name, like
303 Posix platforms do.
304 (acl_set_file): Call revert_to_self, if any privileges were
305 enabled.
306
3072012-12-17 Juanma Barranquero <lekktu@gmail.com>
308
309 * makefile.w32-in ($(BLD)/editfns.$(O), $(BLD)/fileio.$(O))
310 ($(BLD)/w32.$(O)): Update dependencies.
311
3122012-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
313
314 * xdisp.c (select_frame_for_redisplay): Use select_window_1 to
315 propagate redisplay's scrolling (if any) to the right window.
316 (redisplay_internal): Use ensure_selected_frame.
317 (display_mode_lines): Complete last fix.
318 * window.c (select_window_1): New func, extracted from select_window.
319 (select_window): Use it.
320 * window.h (select_window_1): Declare.
321
3222012-12-17 Eli Zaretskii <eliz@gnu.org>
323
324 Emulate Posix ACL APIs on MS-Windows.
325 * w32.c: Include sddl.h and sys/acl.h.
326 (SDDL_REVISION_1): Define if not already defined.
327 (g_b_init_get_security_descriptor_dacl)
328 (g_b_init_convert_sd_to_sddl, g_b_init_convert_sddl_to_sd)
329 (g_b_init_is_valid_security_descriptor)
330 (g_b_init_set_file_security): New static flags.
331 (globals_of_w32): Initialize them to zero.
332 (SetFileSecurity_Name): New string constant.
333 (SetFileSecurity_Proc, GetSecurityDescriptorDacl_Proc)
334 (ConvertStringSecurityDescriptorToSecurityDescriptor_Proc)
335 (ConvertSecurityDescriptorToStringSecurityDescriptor_Proc)
336 (IsValidSecurityDescriptor_Proc): New typedefs.
337 (get_file_security, get_security_descriptor_owner)
338 (get_security_descriptor_group): Set errno to ENOTSUP.
339 (set_file_security, get_security_descriptor_dacl)
340 (is_valid_security_descriptor, convert_sd_to_sddl)
341 (convert_sddl_to_sd, acl_valid, acl_to_text, acl_from_text)
342 (acl_free, acl_get_file, acl_set_file): New functions.
343
344 * fileio.c (Fcopy_file) [WINDOWSNT]: Support copying ACLs.
345
3462012-12-17 Paul Eggert <eggert@cs.ucla.edu>
347
348 Don't reraise SIGCHLD, as that can now lose (Bug#13192).
349 With the 2012-12-03 fix for Bug#12980 in place, an old workaround
350 for some of that bug's symptoms can now cause Emacs to abort.
351 Remove the workaround.
352 * process.c (wait_reading_process_output): Don't reraise SIGCHLD.
353 The bug that caused SIGCHLD to get lost has been fixed, and the
354 workaround for it can now cause Emacs to abort.
355
3562012-12-16 Paul Eggert <eggert@cs.ucla.edu>
357
358 * sysdep.c (emacs_abort): Bump backtrace size to 40.
359 Companion to the 2012-09-30 patch. Suggested by Eli Zaretskii in
360 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00796.html>.
361
12012-12-16 Romain Francoise <romain@orebokech.com> 3622012-12-16 Romain Francoise <romain@orebokech.com>
2 363
3 * fileio.c (Ffile_acl, Fset_file_acl): New functions. 364 * fileio.c (Ffile_acl, Fset_file_acl): New functions.
4 (Fcopy_file): Change last arg to `preserve_extended_attributes' 365 (Fcopy_file): Change last arg to `preserve_extended_attributes'
5 and copy ACL entries of file in addition to SELinux context if 366 and copy ACL entries of file in addition to SELinux context if set.
6 set.
7 (syms_of_fileio): Add `file-acl' and `set-file-acl'. 367 (syms_of_fileio): Add `file-acl' and `set-file-acl'.
8 368
9 * Makefile.in (LIBACL_LIBS): New macro. 369 * Makefile.in (LIBACL_LIBS): New macro.
@@ -126,7 +486,7 @@
126 486
1272012-12-12 Daniel Colascione <dancol@dancol.org> 4872012-12-12 Daniel Colascione <dancol@dancol.org>
128 488
129 * unexcw.c (fixup_executable): use posix_fallocate to ensure that 489 * unexcw.c (fixup_executable): Use posix_fallocate to ensure that
130 the dumped Emacs is not a sparse file, greatly improving Cygwin 490 the dumped Emacs is not a sparse file, greatly improving Cygwin
131 "make bootstrap" performance. 491 "make bootstrap" performance.
132 492
@@ -195,8 +555,7 @@
195 * w32fns.c (cache_system_info): Initialize the global hinst 555 * w32fns.c (cache_system_info): Initialize the global hinst
196 variable here so various initialization calls DTRT. 556 variable here so various initialization calls DTRT.
197 557
198 * unexw32.c (hprevinst, lpCmdLine, nCmdShow): Remove unused 558 * unexw32.c (hprevinst, lpCmdLine, nCmdShow): Remove unused variables.
199 variables.
200 (hinst): Remove unneeded extern declaration. 559 (hinst): Remove unneeded extern declaration.
201 (_start): Remove initialization of above variables; remove 560 (_start): Remove initialization of above variables; remove
202 initialization of hinst, as cache_system_info now does that. 561 initialization of hinst, as cache_system_info now does that.
@@ -268,8 +627,7 @@
268 * w32fns.c (w32_wnd_proc): Handle the WM_EMACS_FILENOTIFY message 627 * w32fns.c (w32_wnd_proc): Handle the WM_EMACS_FILENOTIFY message
269 by posting it to the w32_read_socket queue. 628 by posting it to the w32_read_socket queue.
270 629
271 * termhooks.h (enum event_kind) [HAVE_NTGUI]: Support 630 * termhooks.h (enum event_kind) [HAVE_NTGUI]: Support FILE_NOTIFY_EVENT.
272 FILE_NOTIFY_EVENT.
273 631
274 * makefile.w32-in (OBJ2): Add $(BLD)/w32notify.$(O). 632 * makefile.w32-in (OBJ2): Add $(BLD)/w32notify.$(O).
275 (GLOBAL_SOURCES): Add w32notify.c 633 (GLOBAL_SOURCES): Add w32notify.c
@@ -277,8 +635,8 @@
277 635
278 * lisp.h (syms_of_w32notify) [WINDOWSNT]: Add prototype. 636 * lisp.h (syms_of_w32notify) [WINDOWSNT]: Add prototype.
279 637
280 * keyboard.c (kbd_buffer_get_event) [WINDOWSNT]: Handle 638 * keyboard.c (kbd_buffer_get_event) [WINDOWSNT]:
281 FILE_NOTIFY_EVENT. 639 Handle FILE_NOTIFY_EVENT.
282 (syms_of_keyboard) [HAVE_NTGUI] <Qfile_notify>: New symbol. 640 (syms_of_keyboard) [HAVE_NTGUI] <Qfile_notify>: New symbol.
283 (keys_of_keyboard) [WINDOWSNT]: Bind file-notify to 641 (keys_of_keyboard) [WINDOWSNT]: Bind file-notify to
284 w32notify-handle-event by default. 642 w32notify-handle-event by default.
@@ -289,8 +647,7 @@
2892012-12-10 Rüdiger Sonderfeld <ruediger@c-plusplus.de> 6472012-12-10 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
290 648
291 Support for filesystem notifications on GNU/Linux via inotify. 649 Support for filesystem notifications on GNU/Linux via inotify.
292 * termhooks.h (enum event_kind) [HAVE_INOTIFY]: Add 650 * termhooks.h (enum event_kind) [HAVE_INOTIFY]: Add FILE_NOTIFY_EVENT.
293 FILE_NOTIFY_EVENT.
294 651
295 * lisp.h (syms_of_inotify) [HAVE_INOTIFY]: Add prototype. 652 * lisp.h (syms_of_inotify) [HAVE_INOTIFY]: Add prototype.
296 653
@@ -607,9 +964,9 @@
6072012-12-03 Fabrice Popineau <fabrice.popineau@gmail.com> 9642012-12-03 Fabrice Popineau <fabrice.popineau@gmail.com>
608 965
609 * w32fns.c: Remove prototype of atof. 966 * w32fns.c: Remove prototype of atof.
610 (syspage_mask): Declared DWORD_PTR, for compatibility with 64-bit 967 (syspage_mask): Make it DWORD_PTR, for compatibility with 64-bit
611 builds. 968 builds.
612 (file_dialog_callback): Declared UINT_PTR. 969 (file_dialog_callback): Make it UINT_PTR.
613 970
614 * w32common.h (syspage_mask): Declare DWORD_PTR, for compatibility 971 * w32common.h (syspage_mask): Declare DWORD_PTR, for compatibility
615 with 64-bit builds. 972 with 64-bit builds.
@@ -20977,7 +21334,7 @@ See ChangeLog.11 for earlier changes.
20977;; coding: utf-8 21334;; coding: utf-8
20978;; End: 21335;; End:
20979 21336
20980 Copyright (C) 2011-2012 Free Software Foundation, Inc. 21337 Copyright (C) 2011-2013 Free Software Foundation, Inc.
20981 21338
20982 This file is part of GNU Emacs. 21339 This file is part of GNU Emacs.
20983 21340