aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog
diff options
context:
space:
mode:
authorJoakim Verona2012-08-19 02:44:11 +0200
committerJoakim Verona2012-08-19 02:44:11 +0200
commit5436d1df5e2ba0b4d4f72b03a1cd09b20403654b (patch)
tree532faa27319b3bb199d414dc85e63a58246d30b0 /src/ChangeLog
parentd02344322b0d2fea8dd9ad9dd0a6c70e058f967b (diff)
parente757f1c6f393cf82057dbee0a4325b07f0fd55c4 (diff)
downloademacs-5436d1df5e2ba0b4d4f72b03a1cd09b20403654b.tar.gz
emacs-5436d1df5e2ba0b4d4f72b03a1cd09b20403654b.zip
upstream
Diffstat (limited to 'src/ChangeLog')
-rw-r--r--src/ChangeLog322
1 files changed, 316 insertions, 6 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 6e49dd44fde..1956d602e6a 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,312 @@
12012-08-18 Paul Eggert <eggert@cs.ucla.edu>
2
3 port new setting code to Sun C 5.8 2005/10/13
4 * chartab.c, lisp.h (char_table_set, char_table_set_range):
5 Return void, not Lisp_Object. Otherwise, the compiler
6 complains about (A?B:C) where B is void and C is Lisp_Object
7 when compiling CHAR_TABLE_SET, due to the recent change to
8 the API of sub_char_table_set_contents.
9
102012-08-18 Chong Yidong <cyd@gnu.org>
11
12 * xdisp.c (handle_invisible_prop): Obey TEXT_PROP_MEANS_INVISIBLE
13 for the string case (Bug#3874).
14
152012-08-18 Paul Eggert <eggert@cs.ucla.edu>
16
17 * buffer.h (BSET): Remove (Bug#12215).
18 Replace all uses with calls to new setter functions.
19 (bset_bidi_paragraph_direction, bset_case_canon_table)
20 (bset_case_eqv_table, bset_directory, bset_display_count)
21 (bset_display_time, bset_downcase_table)
22 (bset_enable_multibyte_characters, bset_filename, bset_keymap)
23 (bset_last_selected_window, bset_local_var_alist)
24 (bset_mark_active, bset_point_before_scroll, bset_read_only)
25 (bset_truncate_lines, bset_undo_list, bset_upcase_table)
26 (bset_width_table):
27 * buffer.c (bset_abbrev_mode, bset_abbrev_table)
28 (bset_auto_fill_function, bset_auto_save_file_format)
29 (bset_auto_save_file_name, bset_backed_up, bset_begv_marker)
30 (bset_bidi_display_reordering, bset_buffer_file_coding_system)
31 (bset_cache_long_line_scans, bset_case_fold_search)
32 (bset_ctl_arrow, bset_cursor_in_non_selected_windows)
33 (bset_cursor_type, bset_display_table, bset_extra_line_spacing)
34 (bset_file_format, bset_file_truename, bset_fringe_cursor_alist)
35 (bset_fringe_indicator_alist, bset_fringes_outside_margins)
36 (bset_header_line_format, bset_indicate_buffer_boundaries)
37 (bset_indicate_empty_lines, bset_invisibility_spec)
38 (bset_left_fringe_width, bset_major_mode, bset_mark)
39 (bset_minor_modes, bset_mode_line_format, bset_mode_name)
40 (bset_name, bset_overwrite_mode, bset_pt_marker)
41 (bset_right_fringe_width, bset_save_length)
42 (bset_scroll_bar_width, bset_scroll_down_aggressively)
43 (bset_scroll_up_aggressively, bset_selective_display)
44 (bset_selective_display_ellipses, bset_vertical_scroll_bar_type)
45 (bset_word_wrap, bset_zv_marker):
46 * category.c (bset_category_table):
47 * syntax.c (bset_syntax_table):
48 New setter functions.
49
50 * process.h (PSET): Remove (Bug#12215).
51 Replace all uses with calls to new setter functions.
52 Use INLINE_HEADER_BEGIN, INLINE_HEADER_END.
53 (PROCESS_INLINE): New macro.
54 (pset_childp): New setter function.
55 (pset_gnutls_cred_type) [HAVE_GNUTLS]: New setter function.
56 * process.c (PROCESS_INLINE):
57 Define to EXTERN_INLINE, so that the corresponding functions
58 are compiled into code.
59 (pset_buffer, pset_command, pset_decode_coding_system)
60 (pset_decoding_buf, pset_encode_coding_system)
61 (pset_encoding_buf, pset_filter, pset_log, pset_mark, pset_name)
62 (pset_plist, pset_sentinel, pset_status, pset_tty_name)
63 (pset_type, pset_write_queue): New setter functions.
64
65 * window.h (WSET): Remove (Bug#12215).
66 Replace all uses with calls to new setter functions.
67 Use INLINE_HEADER_BEGIN, INLINE_HEADER_END.
68 (WINDOW_INLINE): New macro.
69 (wset_buffer, wset_frame, wset_left_col, wset_next, wset_prev)
70 (wset_redisplay_end_trigger, wset_top_line, wset_total_cols)
71 (wset_total_lines, wset_vertical_scroll_bar)
72 (wset_window_end_pos, wset_window_end_valid)
73 (wset_window_end_vpos): New setter functions.
74 * window.c (WINDOW_INLINE):
75 Define to EXTERN_INLINE, so that the corresponding functions
76 are compiled into code.
77 (wset_combination_limit, wset_dedicated, wset_display_table)
78 (wset_hchild, wset_left_fringe_width, wset_left_margin_cols)
79 (wset_new_normal, wset_new_total, wset_next_buffers)
80 (wset_normal_cols, wset_normal_lines, wset_parent, wset_pointm)
81 (wset_prev_buffers, wset_right_fringe_width)
82 (wset_right_margin_cols, wset_scroll_bar_width, wset_start)
83 (wset_temslot, wset_vchild, wset_vertical_scroll_bar_type)
84 (wset_window_parameters):
85 * xdisp.c (wset_base_line_number, wset_base_line_pos)
86 (wset_column_number_displayed, wset_region_showing):
87 New setter functions.
88
89 * termhooks.h (TSET): Remove (Bug#12215).
90 Replace all uses with calls to new setter functions.
91 Use INLINE_HEADER_BEGIN, INLINE_HEADER_END.
92 (TERMHOOKS_INLINE): New macro.
93 (tset_charset_list, tset_selection_alist): New setter functions.
94 * terminal.c (TERMHOOKS_INLINE):
95 Define to EXTERN_INLINE, so that the corresponding functions
96 are compiled into code.
97 (tset_param_alist): New setter function.
98
992012-08-17 Paul Eggert <eggert@cs.ucla.edu>
100
101 * keyboard.h (KSET): Remove (Bug#12215).
102 Replace all uses with calls to new setter functions.
103 Use INLINE_HEADER_BEGIN, INLINE_HEADER_END.
104 (KEYBOARD_INLINE): New macro.
105 (kset_default_minibuffer_frame, kset_defining_kbd_macro)
106 (kset_input_decode_map, kset_last_command, kset_last_kbd_macro)
107 (kset_prefix_arg, kset_system_key_alist, kset_window_system):
108 New setter functions.
109 * keyboard.c (KEYBOARD_INLINE):
110 Define to EXTERN_INLINE, so that the corresponding functions
111 are compiled into code.
112 (kset_echo_string, kset_kbd_queue)
113 (kset_keyboard_translate_table, kset_last_prefix_arg)
114 (kset_last_repeatable_command, kset_local_function_key_map)
115 (kset_overriding_terminal_local_map, kset_real_last_command)
116 (kset_system_key_syms): New setter functions.
117
118 * frame.h (FSET): Remove (Bug#12215).
119 Replace all uses with calls to new setter functions.
120 Use INLINE_HEADER_BEGIN, INLINE_HEADER_END.
121 (FRAME_INLINE): New macro.
122 (fset_buffer_list, fset_buried_buffer_list, fset_condemned_scroll_bars)
123 (fset_current_tool_bar_string, fset_desired_tool_bar_string)
124 (fset_face_alist, fset_focus_frame, fset_icon_name, fset_menu_bar_items)
125 (fset_menu_bar_vector, fset_menu_bar_window, fset_name)
126 (fset_param_alist, fset_root_window, fset_scroll_bars)
127 (fset_selected_window, fset_title, fset_tool_bar_items)
128 (fset_tool_bar_position, fset_tool_bar_window): New functions.
129 * frame.c (FRAME_INLINE):
130 Define to EXTERN_INLINE, so that the corresponding functions
131 are compiled into code.
132 (fset_buffer_predicate, fset_minibuffer_window): New setter functions.
133
134 A few more naming-convention fixes for getters and setters.
135 * buffer.c (set_buffer_overlays_before): Move here from buffer.h,
136 and rename from buffer_overlays_set_before.
137 (set_buffer_overlays_after): Move here from buffer.h, and rename
138 from buffer_overlays_set_after.
139 * buffer.h (buffer_intervals): Rename from buffer_get_intervals.
140 All uses changed.
141 (set_buffer_intervals): Rename from buffer_set_intervals.
142 * intervals.c (set_interval_object): Move here from intervals.h,
143 and rename from interval_set_object.
144 (set_interval_left): Move here from intervals.h, and rename from
145 interval_set_left.
146 (set_interval_right): Move here from intervals.h, and rename from
147 interval_set_right.
148 (copy_interval_parent): Move here from intervals.h, and rename from
149 interval_copy_parent.
150 * intervals.h (set_interval_parent): Rename from interval_set_parent.
151 (set_interval_plist): Rename from interval_set_plist.
152 Return void, not Lisp_Object, since no caller uses the result.
153 * lisp.h (string_intervals): Rename from string_get_intervals.
154 (set_string_intervals): Rename from string_set_intervals.
155
156 * lisp.h (set_char_table_extras): Rename from char_table_set_extras.
157 (set_char_table_contents): Rename from char_table_set_contents.
158 (set_sub_char_table_contents): Rename from sub_char_table_set_contents.
159 All uses changed. See the end of
160 <http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00549.html>.
161
162 * lisp.h (CSET): Remove (Bug#12215).
163 (set_char_table_ascii, set_char_table_defalt, set_char_table_parent)
164 (set_char_table_purpose): New functions,
165 replacing CSET. All uses changed. For example, replace
166 "CSET (XCHAR_TABLE (char_table), parent, parent);" with
167 "set_char_table_parent (char_table, parent);".
168 The old version was confusing because it used the same name
169 'parent' for two different things.
170
1712012-08-17 Dmitry Antipov <dmantipov@yandex.ru>
172
173 Functions to get and set Lisp_Object fields of buffer-local variables.
174 * lisp.h (blv_found, set_blv_found, blv_value, set_blv_value)
175 (set_blv_where, set_blv_defcell, set_blv_valcell): New functions.
176 (BLV_FOUND, SET_BLV_FOUND, BLV_VALUE, SET_BLV_VALUE): Remove.
177 * data.c, eval.c, frame.c: Adjust users.
178
1792012-08-17 Chong Yidong <cyd@gnu.org>
180
181 * xfaces.c (merge_face_vectors): If the target font specfies a
182 font spec, make the font's attributes take precedence over
183 directly-specified attributes.
184 (merge_face_ref): Recognize :font.
185
1862012-08-17 Dmitry Antipov <dmantipov@yandex.ru>
187
188 Do not use memcpy for copying intervals.
189 * intervals.c (reproduce_interval): New function.
190 (reproduce_tree, reproduce_tree_obj): Use it.
191 (reproduce_tree_obj): Remove prototype.
192
1932012-08-17 Paul Eggert <eggert@cs.ucla.edu>
194
195 * lisp.h (duration_to_sec_usec): Remove unused decl.
196
1972012-08-17 Alp Aker <alp.tekin.aker@gmail.com>
198
199 * nsfont.m (ns_ascii_average_width): Send initWithFormat selector
200 to an allocated instance of NSString, not to the class itself.
201
2022012-08-17 Juanma Barranquero <lekktu@gmail.com>
203
204 * makefile.w32-in (C_CTYPE_H): New macro.
205 (LISP_H, $(BLD)/ccl.$(O), $(BLD)/doc.$(O), $(BLD)/w32console.$(O)):
206 ($(BLD)/fontset.$(O), $(BLD)/frame.$(O), $(BLD)/composite.$(O)):
207 ($(BLD)/sysdep.$(O), $(BLD)/w32uniscribe.$(O)): Update dependencies.
208
2092012-08-16 Paul Eggert <eggert@cs.ucla.edu>
210
211 Use ASCII tests for character types.
212 * category.c, dispnew.c, doprnt.c, editfns.c, syntax.c, term.c:
213 * xfns.c, xterm.c:
214 Don't include <ctype.h>; was not needed.
215 * charset.c, doc.c, fileio.c, font.c, frame.c, gtkutil.c, image.c:
216 * sysdep.c, xfaces.c:
217 Include <c-ctype.h> instead of <ctype.h>.
218 * nsterm.m: Include <c-ctype.h>.
219 * charset.c (read_hex):
220 * doc.c (Fsnarf_documentation):
221 * fileio.c (IS_DRIVE) [WINDOWSNT]:
222 (DRIVE_LETTER) [DOS_NT]:
223 (Ffile_name_directory, Fexpand_file_name)
224 (Fsubstitute_in_file_name):
225 * font.c (font_parse_xlfd, font_parse_fcname):
226 * frame.c (x_set_font_backend):
227 * gtkutil.c (xg_get_font):
228 * image.c (xbm_scan, xpm_scan, pbm_scan_number):
229 * nsimage.m (hexchar):
230 * nsterm.m (ns_xlfd_to_fontname):
231 * sysdep.c (system_process_attributes):
232 * xfaces.c (hash_string_case_insensitive):
233 Use C-locale tests instead of locale-specific tests for character
234 types, since we want the ASCII interpretation here, not the
235 interpretation suitable for whatever happens to be the current locale.
236
2372012-08-16 Martin Rudalics <rudalics@gmx.at>
238
239 Consistently check windows for validity/liveness
240 (Bug#11984, Bug#12025, Bug#12026).
241 * lisp.h (CHECK_VALID_WINDOW): New macro.
242 * window.c (decode_window): Rename to decode_live_window.
243 (decode_valid_window, Fwindow_valid_p): New functions.
244 (Fwindow_frame, Fframe_root_window, Fwindow_minibuffer_p)
245 (Fframe_first_window, Fframe_selected_window, Fwindow_parent)
246 (Fwindow_top_child, Fwindow_left_child, Fwindow_next_sibling)
247 (Fwindow_prev_sibling, Fwindow_combination_limit)
248 (Fset_window_combination_limit, Fwindow_use_time)
249 (Fwindow_total_height, Fwindow_total_width, Fwindow_new_total)
250 (Fwindow_normal_size, Fwindow_new_normal, Fwindow_left_column)
251 (Fwindow_top_line, Fwindow_body_height, Fwindow_body_width)
252 (Fwindow_hscroll, Fset_window_hscroll)
253 (Fwindow_redisplay_end_trigger)
254 (Fset_window_redisplay_end_trigger, Fwindow_edges)
255 (Fwindow_pixel_edges, Fwindow_absolute_pixel_edges)
256 (Fwindow_inside_edges, Fwindow_inside_pixel_edges)
257 (Fcoordinates_in_window_p, Fwindow_point, Fwindow_start)
258 (Fwindow_end, Fset_window_point, Fset_window_start)
259 (Fpos_visible_in_window_p, Fwindow_line_height)
260 (Fwindow_dedicated_p, Fset_window_dedicated_p)
261 (Fwindow_prev_buffers, Fset_window_prev_buffers)
262 (Fwindow_next_buffers, Fwindow_parameters, Fwindow_parameter)
263 (Fset_window_parameter, Fwindow_display_table)
264 (Fset_window_display_table, Fdelete_other_windows_internal)
265 (Fset_window_buffer, Fset_window_new_total)
266 (Fset_window_new_normal, Fdelete_window_internal)
267 (Fwindow_text_height, Fset_window_margins, Fwindow_margins)
268 (Fset_window_fringes, Fwindow_fringes, Fset_window_scroll_bars)
269 (Fwindow_scroll_bars): Check whether argument window is a valid or
270 live window. Update doc-strings.
271 (syms_of_window): New symbol Qwindow_valid_p.
272 * keyboard.c (Fposn_at_x_y): Check whether argument
273 frame_or_window denotes a valid window.
274
2752012-08-16 Dmitry Antipov <dmantipov@yandex.ru>
276
277 Fix previous char table change.
278 * lisp.h (CHAR_TABLE_SET): Use sub_char_table_set_contents.
279 * chartab.c (optimize_sub_char_table): Likewise.
280
2812012-08-16 Chong Yidong <cyd@gnu.org>
282
283 * gtkutil.c (xg_get_font): Demand an Xft font (Bug#3228).
284
285 * xfont.c (xfont_open):
286 * xftfont.c (xftfont_open): Set the font's max_width field.
287
288 * nsfont.m (nsfont_open): Similar to the Xft backend, set
289 min_width to space_width and average_width to the average over
290 printable ASCII characters.
291 (ns_char_width): Code cleanup.
292 (ns_ascii_average_width): New utility function.
293
294 * font.h (struct font): Update comments.
295
2962012-08-16 Dmitry Antipov <dmantipov@yandex.ru>
297
298 Simple interface to set Lisp_Object fields of character tables.
299 * lisp.h (CSET): New macro.
300 (char_table_set_extras, char_table_set_contents)
301 (sub_char_table_set_contents): New function.
302 * casetab.c, category.c, chartab.c, fns.c, fontset.c, search.c:
303 * syntax.c: Adjust users.
304
3052012-08-16 Stefan Monnier <monnier@iro.umontreal.ca>
306
307 * eval.c (eval_sub): Bind lexical-binding.
308 * lread.c (Qlexical_binding): Make non-static.
309
12012-08-15 Jan Djärv <jan.h.d@swipnet.se> 3102012-08-15 Jan Djärv <jan.h.d@swipnet.se>
2 311
3 * nsmenu.m (popupSession): Remove. 312 * nsmenu.m (popupSession): Remove.
@@ -44,8 +353,8 @@
44 353
45 Generalize and cleanup font subsystem checks. 354 Generalize and cleanup font subsystem checks.
46 * font.h (FONT_DEBUG, font_assert): Remove. 355 * font.h (FONT_DEBUG, font_assert): Remove.
47 * font.c, fontset.c, w32font.c, xfont.c, xftfont.c: Change 356 * font.c, fontset.c, w32font.c, xfont.c, xftfont.c:
48 font_assert to eassert. Use eassert where appropriate. 357 Change font_assert to eassert. Use eassert where appropriate.
49 358
502012-08-15 Dmitry Antipov <dmantipov@yandex.ru> 3592012-08-15 Dmitry Antipov <dmantipov@yandex.ru>
51 360
@@ -53,10 +362,10 @@
53 362
542012-08-15 Chong Yidong <cyd@gnu.org> 3632012-08-15 Chong Yidong <cyd@gnu.org>
55 364
56 * gtkutil.c (xg_get_font): Rename from xg_get_font_name. When 365 * gtkutil.c (xg_get_font): Rename from xg_get_font_name.
57 using the new font chooser, use gtk_font_chooser_get_font_desc to 366 When using the new font chooser, use gtk_font_chooser_get_font_desc to
58 extract the font descriptor instead of just the font name. In 367 extract the font descriptor instead of just the font name.
59 that case, return a font spec instead of a string. 368 In that case, return a font spec instead of a string.
60 (x_last_font_name): Move to this file from xfns.c. 369 (x_last_font_name): Move to this file from xfns.c.
61 370
62 * xfns.c (Fx_select_font): The return value can also be a font 371 * xfns.c (Fx_select_font): The return value can also be a font
@@ -3338,6 +3647,7 @@
3338 has at least microseconds now. All uses removed. 3647 has at least microseconds now. All uses removed.
3339 (update_frame, update_single_window, update_window, update_frame_1) 3648 (update_frame, update_single_window, update_window, update_frame_1)
3340 (Fsleep_for, sit_for): Port to higher-resolution time stamps. 3649 (Fsleep_for, sit_for): Port to higher-resolution time stamps.
3650 (duration_to_sec_usec): Remove; no longer needed.
3341 3651
3342 * editfns.c (time_overflow): Now extern. 3652 * editfns.c (time_overflow): Now extern.
3343 (Fcurrent_time, Fget_internal_run_time, make_time, lisp_time_argument) 3653 (Fcurrent_time, Fget_internal_run_time, make_time, lisp_time_argument)