aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog
diff options
context:
space:
mode:
authorKenichi Handa2012-08-22 18:05:50 +0900
committerKenichi Handa2012-08-22 18:05:50 +0900
commitfabc1281e9cde34ff9a19d843316d2ceca8647ad (patch)
treef38f13cab3ec6c32ab8ab49ea2e60f64969a0d22 /src/ChangeLog
parent4ff819d728960bf5e52b72501c606f4bb3fde028 (diff)
parent842e3a93aa3a0826cb4148376e54cd1527d10901 (diff)
downloademacs-fabc1281e9cde34ff9a19d843316d2ceca8647ad.tar.gz
emacs-fabc1281e9cde34ff9a19d843316d2ceca8647ad.zip
merge trunk
Diffstat (limited to 'src/ChangeLog')
-rw-r--r--src/ChangeLog365
1 files changed, 365 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 72a11c177c4..c43404fa438 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,368 @@
12012-08-22 Paul Eggert <eggert@cs.ucla.edu>
2
3 * fontset.c (FONTSET_ADD): Return void, not Lisp_Object.
4 Otherwise, the compiler complains about (A?B:C) where B is void
5 and C is Lisp_Object. This fixes an incompatibility with Sun C 5.12.
6 (fontset_add): Return void, for FONTSET_ADD.
7
82012-08-21 Paul Eggert <eggert@cs.ucla.edu>
9
10 * alloc.c: Use bool for booleans.
11 (gc_in_progress, abort_on_gc)
12 (setjmp_tested_p) [!GC_SAVE_REGISTERS_ON_STACK && !GC_SETJMP_WORKS]:
13 (dont_register_blocks) [GC_MALLOC_CHECK]:
14 (suppress_checking) [ENABLE_CHECKING]: Now bool, not int.
15 (check_string_bytes, make_specified_string, memory_full)
16 (live_string_p, live_cons_p, live_symbol_p, live_float_p)
17 (live_misc_p, live_vector_p, live_buffer_p, mark_maybe_object)
18 (mark_stack, valid_pointer_p, make_pure_string)
19 (Fgarbage_collect, survives_gc_p, gc_sweep):
20 Use bool for booleans, instead of int.
21 (test_setjmp) [!GC_SAVE_REGISTERS_ON_STACK && !GC_SETJMP_WORKS]:
22 Remove unused local.
23 * alloc.c (PURE_POINTER_P):
24 * lisp.h (STRING_MULTIBYTE): Document that it returns a boolean.
25 * editfns.c (Fformat):
26 * fileio.c (Fexpand_file_name, Fsubstitute_in_file_name)
27 (Fdo_auto_save):
28 * fns.c (sweep_weak_table):
29 * lisp.h (suppress_checking, push_message, survives_gc_p)
30 (make_pure_string, gc_in_progress, abort_on_gc):
31 * lread.c (readchar, read1):
32 * print.c (Fprin1_to_string):
33 * xdisp.c (push_message):
34 Use bool for booleans affected directly or indirectly by
35 alloc.c's changes.
36
37 Make recently-introduced setters macros.
38 * fontset.c (set_fontset_id, set_fontset_name, set_fontset_ascii)
39 (set_fontset_base, set_fontset_frame, set_fontset_nofont_face)
40 (set_fontset_default, set_fontset_fallback): Rename from their
41 upper-case counterparts, and make them functions rather than macros.
42 This is more consistent with the other recently-introduced setters.
43 These don't need to be inline, since they're local.
44
452012-08-21 Jan Djärv <jan.h.d@swipnet.se>
46
47 * nsterm.m (fd_handler:): Alloc and release a NSAutoreleasePool in
48 the loop (Bug#12247).
49
502012-08-21 Paul Eggert <eggert@cs.ucla.edu>
51
52 * lisp.h (vcopy): Use memcpy rather than our own loop.
53 This fixes a performance regression introduced by the recent
54 addition of vcopy. This means 'vcopy' will need to be modified
55 for a copying collector, but that's OK. Also, tighten the
56 checking in the assertion.
57
582012-08-21 Eli Zaretskii <eliz@gnu.org>
59
60 * w32uniscribe.c (uniscribe_shape): Fix producing gstring
61 components for RTL text (Bug#11860). Adjust X-OFFSET of each
62 non-base glyph for the width of the base character, according to
63 what x_draw_composite_glyph_string_foreground expects. Generate
64 WADJUST value according to composition_gstring_width's
65 expectations, to produce correct width of the composed character.
66 Reverse the sign of the DU offset produced by ScriptPlace.
67
682012-08-21 Paul Eggert <eggert@cs.ucla.edu>
69
70 * dbusbind.c (xd_remove_watch): Do not assume C99 comments.
71
722012-08-21 Dmitry Antipov <dmantipov@yandex.ru>
73
74 Avoid direct writes to contents member of struct Lisp_Vector.
75 * lisp.h (vcopy): New function to copy data into vector.
76 * dispnew.c (Fframe_or_buffer_changed_p): Use AREF and ASET.
77 * fns.c (Ffillarray): Use ASET.
78 * keyboard.c (timer_check_2): Use AREF and ASET.
79 (append_tool_bar_item, Frecent_keys): Use vcopy.
80 * lread.c (read_vector): Use ASET.
81 * msdos.c (Frecent_doskeys): Use vcopy.
82 * xface.c (Finternal_copy_lisp_face): Use vcopy.
83 (Finternal_merge_in_global_face): Use ASET and vcopy.
84 * xfont.c (xfont_list_pattern): Likewise.
85
862012-08-21 Martin Rudalics <rudalics@gmx.at>
87
88 * window.c (Fwindow_point): For the selected window always return
89 the position of its buffer's point.
90 (Fset_window_point): For the selected window always go in its
91 buffer to the specified position.
92
932012-08-21 Dmitry Antipov <dmantipov@yandex.ru>
94
95 Setter macros for fontsets.
96 * fontset.c (SET_FONTSET_ID, SET_FONTSET_NAME, SET_FONTSET_ASCII)
97 (SET_FONTSET_BASE, SET_FONTSET_FRAME, SET_FONTSET_NOFONT_FACE)
98 (SET_FONTSET_DEFAULT, SET_FONTSET_FALLBACK): New macros.
99 Adjust users.
100
1012012-08-20 Glenn Morris <rgm@gnu.org>
102
103 * Makefile.in (emacs$(EXEEXT), bootstrap-emacs$(EXEEXT)):
104 Don't assume that `ln -f' works.
105
1062012-08-20 Eli Zaretskii <eliz@gnu.org>
107
108 * .gdbinit: Use "set $dummy = ..." to avoid warnings from GDB 7.5
109 and later about non-assignments with no effect. See discussion at
110 http://sourceware.org/ml/gdb-patches/2012-08/msg00518.html for
111 details.
112
1132012-08-20 Dmitry Antipov <dmantipov@yandex.ru>
114
115 Inline setter functions for Lisp_Objects slots of struct specbinding.
116 * eval.c (set_specpdl_symbol, set_specpdl_old_value): New functions.
117 Adjust users.
118
1192012-08-20 Martin Rudalics <rudalics@gmx.at>
120
121 * window.c (select_window): Always make selected window's buffer
122 current.
123
1242012-08-20 Dmitry Antipov <dmantipov@yandex.ru>
125
126 Use AREF and ASET for docstrings of category tables.
127 * category.h (CATEGORY_DOCSTRING): Use AREF.
128 (SET_CATEGORY_DOCSTRING): Use ASET.
129 * category.c (Fdefine_category): Use SET_CATEGORY_DOCSTRING.
130
1312012-08-20 Dmitry Antipov <dmantipov@yandex.ru>
132
133 Inline setter functions for hash table members.
134 * lisp.h (set_hash_key, set_hash_value, set_hash_next)
135 (set_hash_hash, set_hash_index): Rename with _slot suffix.
136 (set_hash_key_and_value, set_hash_index, set_hash_next)
137 (set_hash_hash): New functions.
138 * charset.c, fns.c: Adjust users.
139
1402012-08-20 Dmitry Antipov <dmantipov@yandex.ru>
141
142 Inline getter and setter functions for per-buffer values.
143 * buffer.h (per_buffer_default, set_per_buffer_default)
144 (per_buffer_value, set_per_buffer_value): New functions.
145 (PER_BUFFER_VALUE, PER_BUFFER_DEFAULT): Remove.
146 * buffer.c, data.c: Adjust users.
147
1482012-08-20 Juanma Barranquero <lekktu@gmail.com>
149
150 * makefile.w32-in ($(BLD)/vm-limit.$(O)): Update dependencies.
151
1522012-08-19 Paul Eggert <eggert@cs.ucla.edu>
153
154 Rely on <config.h> + <unistd.h> to declare 'environ',
155 as gnulib does this if the system doesn't.
156 * callproc.c, editfns.c, process.c (environ) [!USE_CRT_DLL]:
157 Remove declaration. MS-Windows declares it on stdlib.h which is
158 included by conf_post.h.
159 * emacs.c (environ) [DOUG_LEA_MALLOC]:
160 * vm-limit.c (environ) [ORDINARY_LINK]: Remove decl.
161 * vm-limit.c: Include <unistd.h>, for 'environ'.
162
163 * unexaix.c, unexcoff.c: Include "mem-limits.h".
164 (start_of_data): Remove decl; mem-limits.h provides it.
165
166 * xdisp.c (handle_invisible_prop): Make it a bit faster
167 and avoid a gcc -Wmaybe-uninitialized diagnostic.
168
1692012-08-19 Chong Yidong <cyd@gnu.org>
170
171 * xdisp.c (handle_invisible_prop): Fix ellipses at overlay string
172 ends (Bug#3874).
173
1742012-08-19 Andreas Schwab <schwab@linux-m68k.org>
175
176 * .gdbinit: Use call instead of set when calling a function in the
177 inferior.
178
179 * data.c (set_internal): Don't use set_blv_found.
180 (Fkill_local_variable): Likewise.
181
1822012-08-18 Alp Aker <alp.tekin.aker@gmail.com>
183
184 * nsfont.m (ns_ascii_average_width): Ensure the string
185 ascii_printable is initialized with a null-terminated character
186 array. Otherwise, it can contain undesired extra characters.
187
1882012-08-18 Paul Eggert <eggert@cs.ucla.edu>
189
190 port new setting code to Sun C 5.8 2005/10/13
191 * chartab.c, lisp.h (char_table_set, char_table_set_range):
192 Return void, not Lisp_Object. Otherwise, the compiler
193 complains about (A?B:C) where B is void and C is Lisp_Object
194 when compiling CHAR_TABLE_SET, due to the recent change to
195 the API of sub_char_table_set_contents.
196
1972012-08-18 Chong Yidong <cyd@gnu.org>
198
199 * xdisp.c (handle_invisible_prop): Obey TEXT_PROP_MEANS_INVISIBLE
200 for the string case (Bug#3874).
201
2022012-08-18 Paul Eggert <eggert@cs.ucla.edu>
203
204 * buffer.h (BSET): Remove (Bug#12215).
205 Replace all uses with calls to new setter functions.
206 (bset_bidi_paragraph_direction, bset_case_canon_table)
207 (bset_case_eqv_table, bset_directory, bset_display_count)
208 (bset_display_time, bset_downcase_table)
209 (bset_enable_multibyte_characters, bset_filename, bset_keymap)
210 (bset_last_selected_window, bset_local_var_alist)
211 (bset_mark_active, bset_point_before_scroll, bset_read_only)
212 (bset_truncate_lines, bset_undo_list, bset_upcase_table)
213 (bset_width_table):
214 * buffer.c (bset_abbrev_mode, bset_abbrev_table)
215 (bset_auto_fill_function, bset_auto_save_file_format)
216 (bset_auto_save_file_name, bset_backed_up, bset_begv_marker)
217 (bset_bidi_display_reordering, bset_buffer_file_coding_system)
218 (bset_cache_long_line_scans, bset_case_fold_search)
219 (bset_ctl_arrow, bset_cursor_in_non_selected_windows)
220 (bset_cursor_type, bset_display_table, bset_extra_line_spacing)
221 (bset_file_format, bset_file_truename, bset_fringe_cursor_alist)
222 (bset_fringe_indicator_alist, bset_fringes_outside_margins)
223 (bset_header_line_format, bset_indicate_buffer_boundaries)
224 (bset_indicate_empty_lines, bset_invisibility_spec)
225 (bset_left_fringe_width, bset_major_mode, bset_mark)
226 (bset_minor_modes, bset_mode_line_format, bset_mode_name)
227 (bset_name, bset_overwrite_mode, bset_pt_marker)
228 (bset_right_fringe_width, bset_save_length)
229 (bset_scroll_bar_width, bset_scroll_down_aggressively)
230 (bset_scroll_up_aggressively, bset_selective_display)
231 (bset_selective_display_ellipses, bset_vertical_scroll_bar_type)
232 (bset_word_wrap, bset_zv_marker):
233 * category.c (bset_category_table):
234 * syntax.c (bset_syntax_table):
235 New setter functions.
236
237 * process.h (PSET): Remove (Bug#12215).
238 Replace all uses with calls to new setter functions.
239 Use INLINE_HEADER_BEGIN, INLINE_HEADER_END.
240 (PROCESS_INLINE): New macro.
241 (pset_childp): New setter function.
242 (pset_gnutls_cred_type) [HAVE_GNUTLS]: New setter function.
243 * process.c (PROCESS_INLINE):
244 Define to EXTERN_INLINE, so that the corresponding functions
245 are compiled into code.
246 (pset_buffer, pset_command, pset_decode_coding_system)
247 (pset_decoding_buf, pset_encode_coding_system)
248 (pset_encoding_buf, pset_filter, pset_log, pset_mark, pset_name)
249 (pset_plist, pset_sentinel, pset_status, pset_tty_name)
250 (pset_type, pset_write_queue): New setter functions.
251
252 * window.h (WSET): Remove (Bug#12215).
253 Replace all uses with calls to new setter functions.
254 Use INLINE_HEADER_BEGIN, INLINE_HEADER_END.
255 (WINDOW_INLINE): New macro.
256 (wset_buffer, wset_frame, wset_left_col, wset_next, wset_prev)
257 (wset_redisplay_end_trigger, wset_top_line, wset_total_cols)
258 (wset_total_lines, wset_vertical_scroll_bar)
259 (wset_window_end_pos, wset_window_end_valid)
260 (wset_window_end_vpos): New setter functions.
261 * window.c (WINDOW_INLINE):
262 Define to EXTERN_INLINE, so that the corresponding functions
263 are compiled into code.
264 (wset_combination_limit, wset_dedicated, wset_display_table)
265 (wset_hchild, wset_left_fringe_width, wset_left_margin_cols)
266 (wset_new_normal, wset_new_total, wset_next_buffers)
267 (wset_normal_cols, wset_normal_lines, wset_parent, wset_pointm)
268 (wset_prev_buffers, wset_right_fringe_width)
269 (wset_right_margin_cols, wset_scroll_bar_width, wset_start)
270 (wset_temslot, wset_vchild, wset_vertical_scroll_bar_type)
271 (wset_window_parameters):
272 * xdisp.c (wset_base_line_number, wset_base_line_pos)
273 (wset_column_number_displayed, wset_region_showing):
274 New setter functions.
275
276 * termhooks.h (TSET): Remove (Bug#12215).
277 Replace all uses with calls to new setter functions.
278 Use INLINE_HEADER_BEGIN, INLINE_HEADER_END.
279 (TERMHOOKS_INLINE): New macro.
280 (tset_charset_list, tset_selection_alist): New setter functions.
281 * terminal.c (TERMHOOKS_INLINE):
282 Define to EXTERN_INLINE, so that the corresponding functions
283 are compiled into code.
284 (tset_param_alist): New setter function.
285
2862012-08-17 Paul Eggert <eggert@cs.ucla.edu>
287
288 * keyboard.h (KSET): Remove (Bug#12215).
289 Replace all uses with calls to new setter functions.
290 Use INLINE_HEADER_BEGIN, INLINE_HEADER_END.
291 (KEYBOARD_INLINE): New macro.
292 (kset_default_minibuffer_frame, kset_defining_kbd_macro)
293 (kset_input_decode_map, kset_last_command, kset_last_kbd_macro)
294 (kset_prefix_arg, kset_system_key_alist, kset_window_system):
295 New setter functions.
296 * keyboard.c (KEYBOARD_INLINE):
297 Define to EXTERN_INLINE, so that the corresponding functions
298 are compiled into code.
299 (kset_echo_string, kset_kbd_queue)
300 (kset_keyboard_translate_table, kset_last_prefix_arg)
301 (kset_last_repeatable_command, kset_local_function_key_map)
302 (kset_overriding_terminal_local_map, kset_real_last_command)
303 (kset_system_key_syms): New setter functions.
304
305 * frame.h (FSET): Remove (Bug#12215).
306 Replace all uses with calls to new setter functions.
307 Use INLINE_HEADER_BEGIN, INLINE_HEADER_END.
308 (FRAME_INLINE): New macro.
309 (fset_buffer_list, fset_buried_buffer_list, fset_condemned_scroll_bars)
310 (fset_current_tool_bar_string, fset_desired_tool_bar_string)
311 (fset_face_alist, fset_focus_frame, fset_icon_name, fset_menu_bar_items)
312 (fset_menu_bar_vector, fset_menu_bar_window, fset_name)
313 (fset_param_alist, fset_root_window, fset_scroll_bars)
314 (fset_selected_window, fset_title, fset_tool_bar_items)
315 (fset_tool_bar_position, fset_tool_bar_window): New functions.
316 * frame.c (FRAME_INLINE):
317 Define to EXTERN_INLINE, so that the corresponding functions
318 are compiled into code.
319 (fset_buffer_predicate, fset_minibuffer_window): New setter functions.
320
321 A few more naming-convention fixes for getters and setters.
322 * buffer.c (set_buffer_overlays_before): Move here from buffer.h,
323 and rename from buffer_overlays_set_before.
324 (set_buffer_overlays_after): Move here from buffer.h, and rename
325 from buffer_overlays_set_after.
326 * buffer.h (buffer_intervals): Rename from buffer_get_intervals.
327 All uses changed.
328 (set_buffer_intervals): Rename from buffer_set_intervals.
329 * intervals.c (set_interval_object): Move here from intervals.h,
330 and rename from interval_set_object.
331 (set_interval_left): Move here from intervals.h, and rename from
332 interval_set_left.
333 (set_interval_right): Move here from intervals.h, and rename from
334 interval_set_right.
335 (copy_interval_parent): Move here from intervals.h, and rename from
336 interval_copy_parent.
337 * intervals.h (set_interval_parent): Rename from interval_set_parent.
338 (set_interval_plist): Rename from interval_set_plist.
339 Return void, not Lisp_Object, since no caller uses the result.
340 * lisp.h (string_intervals): Rename from string_get_intervals.
341 (set_string_intervals): Rename from string_set_intervals.
342
343 * lisp.h (set_char_table_extras): Rename from char_table_set_extras.
344 (set_char_table_contents): Rename from char_table_set_contents.
345 (set_sub_char_table_contents): Rename from sub_char_table_set_contents.
346 All uses changed. See the end of
347 <http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00549.html>.
348
349 * lisp.h (CSET): Remove (Bug#12215).
350 (set_char_table_ascii, set_char_table_defalt, set_char_table_parent)
351 (set_char_table_purpose): New functions,
352 replacing CSET. All uses changed. For example, replace
353 "CSET (XCHAR_TABLE (char_table), parent, parent);" with
354 "set_char_table_parent (char_table, parent);".
355 The old version was confusing because it used the same name
356 'parent' for two different things.
357
3582012-08-17 Dmitry Antipov <dmantipov@yandex.ru>
359
360 Functions to get and set Lisp_Object fields of buffer-local variables.
361 * lisp.h (blv_found, set_blv_found, blv_value, set_blv_value)
362 (set_blv_where, set_blv_defcell, set_blv_valcell): New functions.
363 (BLV_FOUND, SET_BLV_FOUND, BLV_VALUE, SET_BLV_VALUE): Remove.
364 * data.c, eval.c, frame.c: Adjust users.
365
12012-08-17 Chong Yidong <cyd@gnu.org> 3662012-08-17 Chong Yidong <cyd@gnu.org>
2 367
3 * xfaces.c (merge_face_vectors): If the target font specfies a 368 * xfaces.c (merge_face_vectors): If the target font specfies a