aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog
diff options
context:
space:
mode:
Diffstat (limited to 'src/ChangeLog')
-rw-r--r--src/ChangeLog121
1 files changed, 121 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index e21d82bdc09..70d722a02a4 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,124 @@
12013-08-24 Eli Zaretskii <eliz@gnu.org>
2
3 * xdisp.c (get_next_display_element): Don't apply to characters
4 from a display vector the logic of setting it->end_of_box_run_p
5 suitable for characters from a buffer. (Bug#15175)
6
7 * w32.c (fdutimens): Call 'utime', which is implemented on w32.c
8 to handle directories, rather than '_utime' which doesn't.
9 (Bug#15176)
10
112013-08-24 Jan Djärv <jan.h.d@swipnet.se>
12
13 * gtkutil.c (x_wm_set_size_hint): Don't set hints when maximized
14 or fullscreen (Bug#14627).
15
162013-08-24 Paul Eggert <eggert@cs.ucla.edu>
17
18 System-dependent integer overflow fixes.
19 * process.c (Fset_process_window_size): Signal an error if
20 the window size is outside the range supported by the lower level.
21 * sysdep.c (set_window_size): Return negative on error,
22 nonnegative on success, rather than -1, 0, 1 on not in system,
23 failure, success. This is simpler. Caller changed.
24 (serial_configure): Remove unnecessary initialization of local.
25 (procfs_get_total_memory) [GNU_LINUX]: Don't assume system memory
26 size fits in unsigned long; this isn't true on some 32-bit hosts.
27 Avoid buffer overrun if some future version of /proc/meminfo has a
28 variable name longer than 20 bytes.
29 (system_process_attributes) [__FreeBSD__]:
30 Don't assume hw.availpages fits in 'int'.
31
322013-08-23 Paul Eggert <eggert@cs.ucla.edu>
33
34 Don't let very long directory names overrun the stack.
35 Fix some related minor problems involving "//", vfork.
36 * callproc.c (encode_current_directory): New function.
37 (call_process): Don't append "/"; not needed.
38 * fileio.c (file_name_as_directory_slop): New constant.
39 (file_name_as_directory): Allow SRC to be longer than SRCLEN;
40 this can save the caller having to alloca.
41 (Ffile_name_as_directory, Fdirectory_file_name, Fexpand_file_name):
42 Use SAFE_ALLOCA, not alloca.
43 (directory_file_name, Fexpand_file_name): Leave leading "//"
44 alone, since it can be special even on POSIX platforms.
45 * callproc.c (call_process):
46 * process.c (Fformat_network_address):
47 * sysdep.c (sys_subshell):
48 Use encode_current_directory rather than rolling our own.
49 (create_process): No need to encode directory; caller does that now.
50 * process.h (encode_current_directory): New decl.
51 * sysdep.c (sys_subshell): Work even if vfork trashes saved_handlers.
52 Rework to avoid 'goto xyzzy;'.
53
542013-08-23 Eli Zaretskii <eliz@gnu.org>
55
56 * xdisp.c (handle_face_prop): If the default face was remapped use
57 the remapped face for strings from prefix properties. (Bug#15155)
58
592013-08-23 Dmitry Antipov <dmantipov@yandex.ru>
60
61 Minor cleanup for redisplay interface and few related functions.
62 * frame.h (enum text_cursor_kinds): Move from here...
63 * dispextern.h (enum text_cursor_kinds): ...to here.
64 (toplevel): Drop unnecessary declarations.
65 (struct redisplay_interface): Use bool and enum text_cursor_kinds
66 in update_window_end_hook and draw_window_cursor functions.
67 (display_and_set_cursor, x_update_cursor): Adjust prototypes.
68 * nsterm.m (ns_update_window_end, ns_draw_window_cursor):
69 * w32term.c (x_update_window_end,w32_draw_window_cursor):
70 * xterm.c (x_update_window_end, x_draw_window_cursor):
71 * xdisp.c (display_and_set_cursor, update_window_cursor)
72 (update_cursor_in_window_tree, x_update_cursor): Use bool and
73 enum text_cursor_kinds where appropriate.
74
752013-08-23 Dmitry Antipov <dmantipov@yandex.ru>
76
77 Redesign redisplay interface to drop updated_row and updated_area.
78 * dispextern.h (updated_row, updated_area): Remove declaration.
79 (struct redisplay_interface): Pass glyph row and row area parameters
80 to write_glyphs, insert_glyphs and clear_end_of_line functions.
81 (x_write_glyphs, x_insert_glyphs, x_clear_end_of_line):
82 Adjust prototypes.
83 * dispnew.c (updated_row, updated_area): Remove.
84 (redraw_overlapped_rows, update_window_line): Adjust user.
85 (update_marginal_area, update_text_area): Likewise. Pass updated row
86 as a parameter. Prefer enum glyph_row_area to int where appropriate.
87 * xdisp.c (x_write_glyphs, x_insert_glyphs, x_clear_end_of_line):
88 Adjust users.
89
902013-08-22 Paul Eggert <eggert@cs.ucla.edu>
91
92 * process.c (flush_pending_output): Remove stub.
93 All uses removed.
94
952013-08-21 Paul Eggert <eggert@cs.ucla.edu>
96
97 * callproc.c: Fix race that killed background processes (Bug#15144).
98 (call_process): New arg TEMPFILE_INDEX. Callers changed.
99 Record deleted process-id in critical section, not afterwards.
100 Don't mistakenly kill process created by a call-process invocation
101 that discards output and does not wait.
102
1032013-08-21 Dmitry Antipov <dmantipov@yandex.ru>
104
105 Fix compilation with GC_MARK_STACK == GC_USE_GCPROS_AS_BEFORE
106 and GC_MARK_STACK == GC_USE_GCPROS_CHECK_ZOMBIES.
107 * alloc.c (toplevel): Remove unnecessary nested #if...#endif.
108 (mark_maybe_object) [!GC_MARK_STACK]: Define to emacs_abort
109 to shut up compiler in mark_object.
110 (dump_zombies): Convert to global and add EXTERNALLY_VISIBLE.
111
1122013-08-21 Paul Eggert <eggert@cs.ucla.edu>
113
114 * process.c (allocate_pty) [PTY_OPEN]: Set fd's FD_CLOEXEC flag.
115 We can't portably rely on PTY_OPEN doing that, even if
116 it calls posix_openpt with O_CLOEXEC.
117
1182013-08-20 Kenichi Handa <handa@gnu.org>
119
120 * character.c (string_char): Improve commentary.
121
12013-08-20 Paul Eggert <eggert@cs.ucla.edu> 1222013-08-20 Paul Eggert <eggert@cs.ucla.edu>
2 123
3 * image.c (SIGNATURE_DIGESTSIZE): Remove. 124 * image.c (SIGNATURE_DIGESTSIZE): Remove.