aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog
diff options
context:
space:
mode:
Diffstat (limited to 'src/ChangeLog')
-rw-r--r--src/ChangeLog123
1 files changed, 122 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 78fca60ca28..e21412187c7 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,124 @@
12011-06-25 Paul Eggert <eggert@cs.ucla.edu>
2
3 Use gnulib's dup2 module instead of rolling our own.
4 * sysdep.c (dup2) [!HAVE_DUP2]: Remove; gnulib now does this.
5
62011-06-25 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
7
8 * dispnew.c (scrolling_window): Before scrolling, turn off a
9 mouse-highlight in the window being scrolled.
10
112011-06-24 Juanma Barranquero <lekktu@gmail.com>
12
13 Move DEFSYM to lisp.h and use everywhere.
14
15 * character.h (DEFSYM): Move declaration...
16 * lisp.h (DEFSYM): ...here.
17
18 * gnutls.c:
19 * minibuf.c:
20 * w32menu.c:
21 * w32proc.c:
22 * w32select.c: Don't include character.h.
23
24 * alloc.c (syms_of_alloc):
25 * buffer.c (syms_of_buffer):
26 * bytecode.c (syms_of_bytecode):
27 * callint.c (syms_of_callint):
28 * casefiddle.c (syms_of_casefiddle):
29 * casetab.c (init_casetab_once):
30 * category.c (init_category_once, syms_of_category):
31 * ccl.c (syms_of_ccl):
32 * cmds.c (syms_of_cmds):
33 * composite.c (syms_of_composite):
34 * dbusbind.c (syms_of_dbusbind):
35 * dired.c (syms_of_dired):
36 * dispnew.c (syms_of_display):
37 * doc.c (syms_of_doc):
38 * editfns.c (syms_of_editfns):
39 * emacs.c (syms_of_emacs):
40 * eval.c (syms_of_eval):
41 * fileio.c (syms_of_fileio):
42 * fns.c (syms_of_fns):
43 * frame.c (syms_of_frame):
44 * fringe.c (syms_of_fringe):
45 * insdel.c (syms_of_insdel):
46 * keymap.c (syms_of_keymap):
47 * lread.c (init_obarray, syms_of_lread):
48 * macros.c (syms_of_macros):
49 * msdos.c (syms_of_msdos):
50 * print.c (syms_of_print):
51 * process.c (syms_of_process):
52 * search.c (syms_of_search):
53 * sound.c (syms_of_sound):
54 * syntax.c (init_syntax_once, syms_of_syntax):
55 * terminal.c (syms_of_terminal):
56 * textprop.c (syms_of_textprop):
57 * undo.c (syms_of_undo):
58 * w32.c (globals_of_w32):
59 * window.c (syms_of_window):
60 * xdisp.c (syms_of_xdisp):
61 * xfaces.c (syms_of_xfaces):
62 * xfns.c (syms_of_xfns):
63 * xmenu.c (syms_of_xmenu):
64 * xsettings.c (syms_of_xsettings):
65 * xterm.c (syms_of_xterm): Use DEFSYM.
66
672011-06-24 Teodor Zlatanov <tzz@lifelogs.com>
68
69 * gnutls.c (syms_of_gnutls): Use the DEFSYM macro from character.h.
70
712011-06-23 Paul Eggert <eggert@cs.ucla.edu>
72
73 Integer and buffer overflow fixes (Bug#8873).
74
75 * print.c (printchar, strout): Check for string overflow.
76 (PRINTPREPARE, printchar, strout):
77 Don't set size unless allocation succeeds.
78
79 * minibuf.c (read_minibuf_noninteractive): Use ptrdiff_t, not int,
80 for sizes. Check for string overflow more accurately.
81 Simplify newline removal at end; this suppresses a GCC 4.6.0 warning.
82
83 * macros.c: Integer and buffer overflow fixes.
84 * keyboard.h (struct keyboard.kbd_macro_bufsize):
85 * macros.c (Fstart_kbd_macro, store_kbd_macro_char):
86 Use ptrdiff_t, not int, for sizes.
87 Don't increment bufsize until after realloc succeeds.
88 Check for size-calculation overflow.
89 (Fstart_kbd_macro): Use EMACS_INT, not int, for XINT result.
90
91 * lisp.h (DEFVAR_KBOARD): Use offsetof instead of char * finagling.
92
93 * lread.c: Integer overflow fixes.
94 (read_integer): Radix is now EMACS_INT, not int,
95 to improve quality of diagnostics for out-of-range radices.
96 Calculate buffer size correctly for out-of-range radices.
97 (read1): Check for integer overflow in radices, and in
98 read-circle numbers.
99 (read_escape): Avoid int overflow.
100 (Fload, openp, read_buffer_size, read1)
101 (substitute_object_recurse, read_vector, read_list, map_obarray):
102 Use ptrdiff_t, not int, for sizes.
103 (read1): Use EMACS_INT, not int, for sizes.
104 Check for size overflow.
105
106 * image.c (cache_image): Check for size arithmetic overflow.
107
108 * lread.c: Integer overflow issues.
109 (saved_doc_string_size, saved_doc_string_length)
110 (prev_saved_doc_string_size, prev_saved_doc_string_length):
111 Now ptrdiff_t, not int.
112 (read1): Don't assume doc string length fits in int. Check for
113 out-of-range doc string lengths.
114 (read_list): Don't assume file position fits in int.
115 (read_escape): Check for hex character overflow.
116
1172011-06-22 Leo Liu <sdl.web@gmail.com>
118
119 * minibuf.c (Fcompleting_read_default, Vcompleting_read_function):
120 Move to minibuffer.el.
121
12011-06-22 Paul Eggert <eggert@cs.ucla.edu> 1222011-06-22 Paul Eggert <eggert@cs.ucla.edu>
2 123
3 Fixes for GLYPH_DEBUG found by GCC 4.6.0 static checking. 124 Fixes for GLYPH_DEBUG found by GCC 4.6.0 static checking.
@@ -250,7 +371,7 @@
250 371
251 * fns.c (secure_hash): Rename from crypto_hash_function and change 372 * fns.c (secure_hash): Rename from crypto_hash_function and change
252 the first arg to accept symbols. 373 the first arg to accept symbols.
253 (Fsecure_hash): New primtive. 374 (Fsecure_hash): New primitive.
254 (syms_of_fns): New symbols. 375 (syms_of_fns): New symbols.
255 376
2562011-06-20 Deniz Dogan <deniz@dogan.se> 3772011-06-20 Deniz Dogan <deniz@dogan.se>