aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog
diff options
context:
space:
mode:
authorTom Tromey2013-01-16 11:48:32 -0700
committerTom Tromey2013-01-16 11:48:32 -0700
commit6f4de085f065e11f4df3195d47479f28f5ef08ba (patch)
tree1211a00f1afc86c2b73624897993db02a4852943 /src/ChangeLog
parente078a23febca14bc919c5806670479c395e3253e (diff)
parentffe04adc88e546c406f9b050238fb98a7243c7a0 (diff)
downloademacs-6f4de085f065e11f4df3195d47479f28f5ef08ba.tar.gz
emacs-6f4de085f065e11f4df3195d47479f28f5ef08ba.zip
merge from trunk
Diffstat (limited to 'src/ChangeLog')
-rw-r--r--src/ChangeLog258
1 files changed, 249 insertions, 9 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index c0c85c15ee9..115b8d42915 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,9 +1,249 @@
12013-01-15 Paul Eggert <eggert@cs.ucla.edu>
2
3 * alloc.c (free_save_value): Now static.
4
52013-01-15 Dmitry Antipov <dmantipov@yandex.ru>
6
7 * keymap.c (map_keymap_internal): Use format_save_value.
8 (map_keymap_char_table_item): Adjust accordingly.
9 * fileio.c (non_regular_fd, non_regular_inserted)
10 (non_regular_nbytes): Remove.
11 (Finsert_file_contents): Convert trytry to ptrdiff_t. Use
12 format_save_value to pass parameters to read_non_regular.
13 (read_non_regular): Use XSAVE_ macros to extract parameters.
14 Adjust comment.
15 * xmenu.c (xmenu_show) [!USE_X_TOOLKIT && !USE_GTK]: Use
16 format_save_value.
17 (pop_down_menu) [!USE_X_TOOLKIT && !USE_GTK]: Adjust user.
18
192013-01-15 Dmitry Antipov <dmantipov@yandex.ru>
20
21 * lisp.h (XSAVE_POINTER, XSAVE_INTEGER): Change to allow
22 extraction from any Lisp_Save_Value slot. Add type checking.
23 * alloc.c, dired.c, editfns.c, fileio.c, ftfont.c, gtkutil.c:
24 * keymap.c, lread.c, nsterm.h, nsmenu.c, xfns.c, xmenu.c:
25 * xselect.c: All users changed.
26
272013-01-15 Dmitry Antipov <dmantipov@yandex.ru>
28
29 Some convenient bits to deal with Lisp_Save_Values.
30 * lisp.h (XSAVE_OBJECT): New macro to extract saved objects.
31 (allocate_misc): Remove prototype.
32 (format_save_value): New prototype.
33 * alloc.c (allocate_misc): Revert back to static.
34 (format_save_value): New function to build Lisp_Save_Value
35 object with the specified internal structure.
36 (make_save_value): Reimplement using format_save_value.
37 * editfns.c (save_excursion_save): Use format_save_value.
38 (save_excursion_restore): Use XSAVE_OBJECT.
39
402013-01-14 Paul Eggert <eggert@cs.ucla.edu>
41
42 Avoid needless casts with XSAVE_POINTER.
43 * alloc.c (mark_object) [GC_MARK_STACK]:
44 * dired.c (directory_files_internal_unwind):
45 * fileio.c (do_auto_save_unwind):
46 * gtkutil.c (pop_down_dialog):
47 * keymap.c (map_keymap_char_table_item):
48 * lread.c (load_unwind):
49 * nsmenu.m (pop_down_menu):
50 * print.c (print_object) [GC_MARK_STACK]:
51 * xfns.c (clean_up_file_dialog):
52 * xmenu.c (cleanup_widget_value_tree):
53 Omit casts between XSAVE_POINTER and a pointer type.
54
552013-01-14 Dmitry Antipov <dmantipov@yandex.ru>
56
57 Fix compilation with GC_MARK_STACK == GC_USE_GCPROS_AS_BEFORE.
58 * eval.c (eval_sub): Protect `form' from being GCed before its
59 car and cdr becomes protected with the backtrace entry.
60
612013-01-14 Dmitry Antipov <dmantipov@yandex.ru>
62
63 Make Lisp_Save_Value more versatile storage for up to four objects.
64 * lisp.h (toplevel): Enumeration to describe types of saved objects.
65 (struct Lisp_Save_Value): New layout. Adjust comments.
66 (XSAVE_POINTER): New macro.
67 (XSAVE_INTEGER): Likewise.
68 (allocate_misc): Add prototype.
69 (free_misc): Likewise.
70 * alloc.c (allocate_misc): Now global.
71 (free_misc): Likewise. Adjust comment.
72 (make_save_value): Use new Lisp_Save_Value layout. Adjust comment.
73 (free_save_value): Likewise.
74 (mark_object): Likewise.
75 * editfns.c (save_excursion_save): Pack everything within
76 Lisp_Save_Value and so avoid xmalloc.
77 (save_excursion_restore): Adjust to match new layout. Use free_misc
78 because we do not allocate extra memory any more. Add eassert.
79 * print.c (print_object): New code to print Lisp_Save_Value. Do not
80 rely on valid_lisp_object_p if !GC_MARK_STACK. Adjust comments.
81 * dired.c, fileio.c, font.c, ftfont.c, gtkutil.c, keymap.c,
82 * lread.c, nsmenu.m, nsterm.h, xfns.c, xmenu.c, xselect.c:
83 Use XSAVE_POINTER and XSAVE_INTEGER where appropriate.
84
852013-01-13 Jan Djärv <jan.h.d@swipnet.se>
86
87 * nsfont.m (LCD_SMOOTHING_MARGIN): New define.
88 (nsfont_draw): Remove disabling of LCD smoothing.
89 (ns_glyph_metrics): Add LCD_SMOOTHING_MARGIN to bearings to fix
90 Bug#11484 with LCD smoothing on.
91
922013-01-13 Paul Eggert <eggert@cs.ucla.edu>
93
94 Fix SIGDANGER handlers, for AIX (Bug#13408).
95 * sysdep.c.c (handle_danger_signal, deliver_danger_signal) [SIGDANGER]:
96 Move handlers here from emacs.c; they were out of place.
97
982013-01-11 Jan Djärv <jan.h.d@swipnet.se>
99
100 * xterm.c (syms_of_xterm): Adjust documentation for
101 scroll-bar-adjust-thumb-portion.
102
1032012-12-31 Adam Sjøgren <asjo@koldfront.dk> (tiny change)
104
105 * xterm.c (scroll-bar-adjust-thumb-portion): New variable to
106 determine whether scroll bar thumb size should be adjusted or
107 not. Use variable for MOTIF.
108
109 * gtkutil.c (scroll-bar-adjust-thumb-portion): Use variable for
110 GTK.
111
1122013-01-13 Jan Djärv <jan.h.d@swipnet.se>
113
114 * nsterm.m (keyDown:): Set processingCompose to NO if an emacs key
115 event is generated.
116 (doCommandBySelector:): Set processingCompose to NO.
117
118 * nsfont.m (ns_findfonts): Add block/unblock_input calls.
119 Remove check for fkeys count > zero, block/unblock fixes the real bug.
120 (nsfont_list_family): Add block/unblock_input calls.
121 (nsfont_open): Move block_input earlier. Add unblock_input before early
122 return.
123 (nsfont_draw): Add block/unblock_input calls.
124
1252013-01-12 Dmitry Antipov <dmantipov@yandex.ru>
126
127 * indent.c (Fvertical_motion): Remove now-incorrect GCPROs
128 for old_charpos and old_bytepos.
129
1302013-01-12 Paul Eggert <eggert@cs.ucla.edu>
131
132 Fix bug with set-time-zone-rule and LOCALTIME_CACHE (Bug#13415).
133 * editfns.c (set_time_zone_rule) [LOCALTIME_CACHE]:
134 Clear tzvalbuf_in_environ if this workaround is in effect.
135 Problem and fix reported by Kazuhiro Ito.
136
1372013-01-11 Aaron S. Hawley <Aaron.Hawley@vtinfo.com>
138
139 * insdel.c (Fcombine_after_change_execute, syms_of_insdel): Fix
140 ambiguous doc string cross-reference(s).
141
142 * keyboard.c (Fcommand_execute, syms_of_keyboard): Fix ambiguous
143 doc string cross-reference(s).
144
145 * window.c (Fwindow_point, syms_of_window): Fix ambiguous doc
146 string cross-reference(s).
147
1482013-01-11 Dmitry Antipov <dmantipov@yandex.ru>
149
150 Avoid unnecessary byte position calculation for the gap movement.
151 Since all users of move_gap do CHAR_TO_BYTE for other purposes
152 anyway, all of them should use move_gap_both instead.
153 * lisp.h (move_gap): Remove prototype.
154 * insdel.c (move_gap): Remove.
155 (move_gap_both): Add eassert.
156 * editfns.c (Ftranspose_regions): Tweak to use move_gap_both.
157 * xml.c (parse_region): Likewise.
158
1592013-01-11 Paul Eggert <eggert@cs.ucla.edu>
160
161 emacsclient -t should not suspend Emacs server (Bug#13387)
162 * lisp.h, sysdep.c (block_tty_out_signal, unblock_tty_out_signal):
163 New functions.
164 * term.c (init_tty): Use them instead of rolling our own code.
165 * sysdep.c (tcsetpgrp_without_stopping): Likewise. Here, this
166 switches from 'signal' to 'pthread_sigmask', which is safer in
167 multithreaded applications.
168 * term.c (Fresume_tty): Don't bother dissociating if O_IGNORE_CTTY,
169 which has already arranged for that.
170 (dissociate_if_controlling_tty): If setsid fails, fall back on TIOCNOTTY.
171 This is the main part of the bug fix.
172
1732013-01-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> (tiny change)
174
175 * gtkutil.c (xg_initialize): Add ifdef HAVE_FREETYPE around
176 x_last_font_name (Bug#13403).
177
1782013-01-10 Dmitry Antipov <dmantipov@yandex.ru>
179
180 Omit buffer_slot_type_mismatch and use generic predicates to enforce
181 the type of per-buffer values where appropriate.
182 * lisp.h (struct Lisp_Buffer_Objfwd): Rename slottype member to
183 predicate, which is how it's really used now. Adjust comment.
184 * buffer.h (buffer_slot_type_mismatch): Remove prototype.
185 * buffer.c (buffer_slot_type_mismatch): Remove.
186 (DEFVAR_PER_BUFFER, defvar_per_buffer): Rename type argument to
187 predicate. Adjust comment.
188 (syms_of_buffer): Use Qsymbolp for major-mode. Use Qintegerp for
189 fill-column, left-margin, tab-width, buffer-saved-size,
190 left-margin-width, right-margin-width, left-fringe-width,
191 right-fringe-width, scroll-bar-width and buffer-display-count.
192 Use Qstringp for default-directory, buffer-file-name,
193 buffer-file-truename and buffer-auto-save-file-name. Use Qfloatp for
194 scroll-up-aggressively and scroll-down-aggressively. Use Qnumberp for
195 line-spacing.
196 * data.c (store_symval_forwarding): Adjust to call the predicate.
197
1982013-01-09 Juanma Barranquero <lekktu@gmail.com>
199
200 * w32.c (get_name_and_id, acl_set_file):
201 * w32term.c (w32fullscreen_hook): Remove unused local variables.
202
2032013-01-09 Dmitry Antipov <dmantipov@yandex.ru>
204
205 * lisp.h (make_gap_1): New prototype.
206 * buffer.h (GAP_BYTES_DFL, GAP_BYTES_MIN): New macros for the special
207 gap size values.
208 * editfns.c (Fbuffer_size): Rename from Fbufsize to fit the common
209 naming convention.
210 (syms_of_editfns): Adjust defsubr. Drop commented-out obsolete code.
211 * insdel.c (make_gap_larger): Use GAP_BYTES_DFL. Adjust comment.
212 (make_gap_smaller): Use GAP_BYTES_MIN. Adjust comment.
213 (make_gap_1): New function to adjust the gap of any buffer.
214 * coding.c (coding_alloc_by_making_gap): Use it.
215 * buffer.c (compact_buffer): Likewise. Use BUF_Z_BYTE, BUF_GAP_SIZE,
216 GAP_BYTES_DFL and GAP_BYTES_MIN. Adjust comment.
217
2182013-01-08 Juri Linkov <juri@jurta.org>
219
220 * xfaces.c (tty_supports_face_attributes_p): Return 0 for the case
221 of (supports :underline (:style wave)). (Bug#13000)
222
2232013-01-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
224
225 * undo.c (Fprimitive_undo): Move to simple.el.
226 (syms_of_undo): Remove declarations for Sprimitive_undo.
227
2282013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
229
230 * keyboard.c (echo_add_key): Rename from echo_add_char.
231
2322013-01-06 Chong Yidong <cyd@gnu.org>
233
234 * keyboard.c (echo_add_char): New function, factored out from
235 echo_char. Don't add a space if the previous echo string was
236 empty (Bug#13255).
237 (echo_char): Use it.
238 (read_key_sequence): When echoing mock input, ensure that the
239 trailing dash is properly added.
240
12013-01-05 Eli Zaretskii <eliz@gnu.org> 2412013-01-05 Eli Zaretskii <eliz@gnu.org>
2 242
3 * xdisp.c (dump_glyph): Align glyph data better. Use "pD" instead 243 * 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 244 of a non-portable "t" to print ptrdiff_t values. Allow up to 9
5 digits for buffer positions, before misalignment starts. Display 245 digits for buffer positions, before misalignment starts.
6 "0" for integer "object" field. 246 Display "0" for integer "object" field.
7 (dump_glyph_row): Adapt the header line to changes in dump_glyph. 247 (dump_glyph_row): Adapt the header line to changes in dump_glyph.
8 Display the newline glyph more unambiguously. 248 Display the newline glyph more unambiguously.
9 249
@@ -44,8 +284,8 @@
442012-12-31 Eli Zaretskii <eliz@gnu.org> 2842012-12-31 Eli Zaretskii <eliz@gnu.org>
45 285
46 * w32.c (unsetenv): Set up the string passed to _putenv 286 * w32.c (unsetenv): Set up the string passed to _putenv
47 correctly. See 287 correctly.
48 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00863.html 288 See http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00863.html
49 for the bug this caused. 289 for the bug this caused.
50 290
512012-12-30 Paul Eggert <eggert@cs.ucla.edu> 2912012-12-30 Paul Eggert <eggert@cs.ucla.edu>
@@ -117,8 +357,8 @@
117 357
1182012-12-27 Eli Zaretskii <eliz@gnu.org> 3582012-12-27 Eli Zaretskii <eliz@gnu.org>
119 359
120 * fileio.c (file_name_as_directory, directory_file_name): Accept 360 * fileio.c (file_name_as_directory, directory_file_name):
121 an additional argument MULTIBYTE to indicate whether the input C 361 Accept an additional argument MULTIBYTE to indicate whether the input C
122 came from a multibyte or a unibyte Lisp string; all callers 362 came from a multibyte or a unibyte Lisp string; all callers
123 adjusted. Don't assume the input string is always multibyte. 363 adjusted. Don't assume the input string is always multibyte.
124 (Bug#13262) 364 (Bug#13262)
@@ -202,8 +442,8 @@
202 * w32.c (sys_close): Do not call delete_child on a subprocess 442 * w32.c (sys_close): Do not call delete_child on a subprocess
203 whose handle is not yet closed. Instead, set its file descriptor 443 whose handle is not yet closed. Instead, set its file descriptor
204 to a negative value, so that reap_subprocess will call 444 to a negative value, so that reap_subprocess will call
205 delete_child on that subprocess when its SIGCHLD arrives. This 445 delete_child on that subprocess when its SIGCHLD arrives.
206 avoids closing handles used for communications between sys_select 446 This avoids closing handles used for communications between sys_select
207 and reader_thread, which doesn't give sys_select a chance to 447 and reader_thread, which doesn't give sys_select a chance to
208 notice that the process exited and invoke the SIGCHLD handler for 448 notice that the process exited and invoke the SIGCHLD handler for
209 it. 449 it.
@@ -1642,7 +1882,7 @@
1642 * image.c (xpm_make_color_table_h): Fix compiler error because 1882 * image.c (xpm_make_color_table_h): Fix compiler error because
1643 make_hash_table changed. 1883 make_hash_table changed.
1644 1884
16452012-11-08 Thomas Kappler <tkappler@gmail.com> (tiny change) 18852012-11-08 Thomas Kappler <tkappler@gmail.com> (tiny change)
1646 1886
1647 * nsfont.m (ns_findfonts): Handle empty matchingDescs (Bug#11541). 1887 * nsfont.m (ns_findfonts): Handle empty matchingDescs (Bug#11541).
1648 1888