aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog
diff options
context:
space:
mode:
authorKenichi Handa2013-07-20 20:51:53 +0900
committerKenichi Handa2013-07-20 20:51:53 +0900
commit7e67809332c7ac0c798eb13d5573a5804db8134e (patch)
treeee8d4702ed94e7179ae30740f6575ca698539d30 /src/ChangeLog
parent0efe47a860bba25617132f02e2220056bfa098b0 (diff)
parent6b1b199dc0e3e7f8028fabe87fac446f5a845479 (diff)
downloademacs-7e67809332c7ac0c798eb13d5573a5804db8134e.tar.gz
emacs-7e67809332c7ac0c798eb13d5573a5804db8134e.zip
merge trunk
Diffstat (limited to 'src/ChangeLog')
-rw-r--r--src/ChangeLog78
1 files changed, 78 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index c3a9ee4c145..5f3a48cbe88 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -3,6 +3,84 @@
3 * coding.c (CODING_ISO_FLAG_LEVEL_4): New macro. 3 * coding.c (CODING_ISO_FLAG_LEVEL_4): New macro.
4 (decode_coding_iso_2022): Check the single-shift area. (Bug#8522) 4 (decode_coding_iso_2022): Check the single-shift area. (Bug#8522)
5 5
62013-07-20 Andreas Schwab <schwab@linux-m68k.org>
7
8 * lread.c (Fload): Avoid uninitialized warning.
9
102013-07-19 Paul Eggert <eggert@cs.ucla.edu>
11
12 Fix some minor file descriptor leaks and related glitches.
13 * filelock.c (create_lock_file) [!O_CLOEXEC]: Use fcntl with FD_CLOEXEC.
14 (create_lock_file): Use write, not emacs_write.
15 * image.c (slurp_file, png_load_body):
16 * process.c (Fnetwork_interface_list, Fnetwork_interface_info)
17 (server_accept_connection):
18 Don't leak an fd on memory allocation failure.
19 * image.c (slurp_file): Add a cheap heuristic for growing files.
20 * xfaces.c (Fx_load_color_file): Block input around the fopen too,
21 as that's what the other routines do. Maybe input need not be
22 blocked at all, but it's better to be consistent.
23 Avoid undefined behavior when strlen is zero.
24
25 * alloc.c (staticpro): Avoid buffer overrun on repeated calls.
26 (NSTATICS): Now a constant; doesn't need to be a macro.
27
282013-07-19 Richard Stallman <rms@gnu.org>
29
30 * coding.c (decode_coding_utf_8): Add simple loop for fast
31 processing of ASCII characters.
32
332013-07-19 Paul Eggert <eggert@cs.ucla.edu>
34
35 * conf_post.h (RE_TRANSLATE_P) [emacs]: Remove obsolete optimization.
36
372013-07-19 Eli Zaretskii <eliz@gnu.org>
38
39 * keyboard.c (kbd_buffer_get_event): Use Display_Info instead of
40 unportable 'struct x_display_info'.
41 (DISPLAY_LIST_INFO): Delete macro: not needed, since Display_Info
42 is a portable type.
43
442013-07-19 Paul Eggert <eggert@cs.ucla.edu>
45
46 * sysdep.c [GNU_LINUX]: Fix fd and memory leaks and similar issues.
47 (procfs_ttyname): Don't use uninitialized storage if emacs_fopen
48 or fscanf fails.
49 (system_process_attributes): Prefer plain char to unsigned char
50 when either will do. Clean up properly if interrupted or if
51 memory allocations fail. Don't assume sscanf succeeds. Remove
52 no-longer-needed workaround to stop GCC from whining. Read
53 command-line once, instead of multiple times. Check read status a
54 bit more carefully.
55
56 Fix obscure porting bug with varargs functions.
57 The code assumed that int is treated like ptrdiff_t in a vararg
58 function, which is not a portable assumption. There was a similar
59 -- though these days less likely -- porting problem with various
60 assumptions that pointers of different types all smell the same as
61 far as vararg functions is conserved. To make this problem less
62 likely in the future, redo the API to use varargs functions.
63 * alloc.c (make_save_value): Remove this vararg function.
64 All uses changed to ...
65 (make_save_int_int_int, make_save_obj_obj_obj_obj)
66 (make_save_ptr_int, make_save_funcptr_ptr_obj, make_save_memory):
67 New functions.
68 (make_save_ptr): Rename from make_save_pointer, for consistency with
69 the above. Define only on platforms that need it. All uses changed.
70
712013-07-18 Paul Eggert <eggert@cs.ucla.edu>
72
73 * keyboard.c: Try to fix typos in previous change.
74 (DISPLAY_LIST_INFO): New macro.
75 (kbd_buffer_get_event): Do not access members that are not present
76 in X11. Revert inadvertent change of "!=" to "=".
77
782013-07-18 Juanma Barranquero <lekktu@gmail.com>
79
80 * keyboard.c (kbd_buffer_get_event):
81 * w32term.c (x_focus_changed): Port FOCUS_(IN|OUT)_EVENT changes to W32.
82 Followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se.
83
62013-07-18 Paul Eggert <eggert@cs.ucla.edu> 842013-07-18 Paul Eggert <eggert@cs.ucla.edu>
7 85
8 * filelock.c: Fix unlikely file descriptor leaks. 86 * filelock.c: Fix unlikely file descriptor leaks.