ChangeLog 1.06 MB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
2011-02-16  Tom Tromey  <tromey@parfait>

	* callint.c (Fcall_interactively): Update.
	* doc.c (Fsubstitute_command_keys): Update.
	* cmds.c (Fself_insert_command): Update.
	* keymap.c (Fcurrent_active_maps, Fkey_binding)
	(Fdescribe_buffer_bindings): Update.
	* macros.c (Fstart_kbd_macro, end_kbd_macro, Fend_kbd_macro)
	(store_kbd_macro_char, Fcall_last_kbd_macro, Fexecute_kbd_macro):
	Update.
	* keyboard.c (echo_char, echo_dash, echo_now, cancel_echoing)
	(echo_length, echo_truncate, cmd_error, command_loop_1)
	(read_char, kbd_buffer_store_event_hold, make_lispy_event)
	(menu_bar_items, tool_bar_items, read_char_minibuf_menu_prompt)
	(read_key_sequence, Fcommand_execute, Fexecute_extended_command)
	(Fdiscard_input, init_kboard, init_keyboard, mark_kboards):
	Update.
	* xfns.c (Fx_create_frame): Update.
	* xterm.c (x_connection_closed, x_term_init): Update.
	* term.c (term_get_fkeys_1, CONDITIONAL_REASSIGN, init_tty):
	Update.
	* window.c (window_scroll_pixel_based, window_scroll_line_based):
	Update.
	* frame.c (make_frame_without_minibuffer, Fhandle_switch_frame)
	(delete_frame): Update.
	* lisp.h (DEFVAR_KBOARD): Update for change to field names.
	* keyboard.h (struct kboard): Rename all Lisp_Object fields.
	(KBOARD_INTERNAL_FIELD, KVAR): New macros.

30 31 32 33
2011-02-16  Tom Tromey  <tromey@redhat.com>

	* lisp.h (DEFVAR_BUFFER_DEFAULTS): Use BVAR.

Tom Tromey's avatar
Tom Tromey committed
34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179
2011-02-16  Tom Tromey  <tromey@parfait>

	* xfns.c (x_create_tip_frame, Fx_show_tip): Replace B_ with BVAR.
	* xfaces.c (compute_char_face): Replace B_ with BVAR.
	* xdisp.c (pos_visible_p, init_iterator, reseat_1)
	(message_dolog, update_echo_area, ensure_echo_area_buffers)
	(with_echo_area_buffer, setup_echo_area_for_printing)
	(set_message_1, update_menu_bar, update_tool_bar)
	(text_outside_line_unchanged_p, redisplay_internal)
	(try_scrolling, try_cursor_movement, redisplay_window)
	(try_window_reusing_current_matrix, row_containing_pos)
	(try_window_id, get_overlay_arrow_glyph_row, display_line)
	(Fcurrent_bidi_paragraph_direction, display_mode_lines)
	(decode_mode_spec_coding, decode_mode_spec, display_count_lines)
	(get_window_cursor_type, note_mouse_highlight): Replace B_ with
	BVAR.
	* window.c (window_display_table, unshow_buffer, window_loop)
	(window_min_size_2, set_window_buffer, Fset_window_buffer)
	(select_window, Fforce_window_update, temp_output_buffer_show)
	(Fset_window_configuration, save_window_save): Replace B_ with
	BVAR.
	* w32fns.c (x_create_tip_frame, Fx_show_tip, Fw32_shell_execute):
	Replace B_ with BVAR.
	* undo.c (record_point, record_insert, record_delete)
	(record_marker_adjustment, record_first_change)
	(record_property_change, Fundo_boundary, truncate_undo_list)
	(Fprimitive_undo): Replace B_ with BVAR.
	* syntax.h (Vstandard_syntax_table, CURRENT_SYNTAX_TABLE)
	(SETUP_BUFFER_SYNTAX_TABLE): Replace B_ with BVAR.
	* syntax.c (update_syntax_table, dec_bytepos, Fsyntax_table)
	(Fset_syntax_table, Fmodify_syntax_entry, skip_chars)
	(skip_syntaxes, scan_lists): Replace B_ with BVAR.
	* search.c (compile_pattern_1, compile_pattern, looking_at_1)
	(string_match_1, fast_looking_at, newline_cache_on_off)
	(search_command, search_buffer, simple_search, boyer_moore)
	(Freplace_match): Replace B_ with BVAR.
	* process.c (get_process, list_processes_1, Fstart_process)
	(Fmake_serial_process, Fmake_network_process)
	(read_process_output, send_process, exec_sentinel)
	(status_notify, setup_process_coding_systems): Replace B_ with
	BVAR.
	* print.c (PRINTDECLARE, PRINTPREPARE, PRINTFINISH, printchar)
	(strout, print_string, temp_output_buffer_setup, print_object):
	Replace B_ with BVAR.
	* msdos.c (IT_frame_up_to_date): Replace B_ with BVAR.
	* minibuf.c (read_minibuf, get_minibuffer, Fread_buffer): Replace
	B_ with BVAR.
	* marker.c (Fmarker_buffer, Fset_marker, set_marker_restricted)
	(set_marker_both, set_marker_restricted_both, unchain_marker):
	Replace B_ with BVAR.
	* lread.c (readchar, unreadchar, openp, readevalloop)
	(Feval_buffer, Feval_region): Replace B_ with BVAR.
	* lisp.h (DOWNCASE_TABLE, UPCASE_TABLE): Replace B_ with BVAR.
	* keymap.c (Flocal_key_binding, Fuse_local_map)
	(Fcurrent_local_map, push_key_description)
	(Fdescribe_buffer_bindings): Replace B_ with BVAR.
	* keyboard.c (command_loop_1, read_char_minibuf_menu_prompt)
	(read_key_sequence): Replace B_ with BVAR.
	* intervals.h (TEXT_PROP_MEANS_INVISIBLE): Replace B_ with BVAR.
	* intervals.c (set_point_both, get_local_map): Replace B_ with
	BVAR.
	* insdel.c (check_markers, insert_char, insert_1_both)
	(insert_from_string_1, insert_from_gap, insert_from_buffer_1)
	(adjust_after_replace, replace_range, del_range_2)
	(modify_region, prepare_to_modify_buffer)
	(Fcombine_after_change_execute): Replace B_ with BVAR.
	* indent.c (buffer_display_table, recompute_width_table)
	(width_run_cache_on_off, current_column, scan_for_column)
	(Findent_to, position_indentation, compute_motion, vmotion):
	Replace B_ with BVAR.
	* fringe.c (get_logical_cursor_bitmap)
	(get_logical_fringe_bitmap, update_window_fringes): Replace B_
	with BVAR.
	* frame.c (make_frame_visible_1): Replace B_ with BVAR.
	* font.c (font_at): Replace B_ with BVAR.
	* fns.c (Fbase64_encode_region, Fbase64_decode_region, Fmd5):
	Replace B_ with BVAR.
	* filelock.c (unlock_all_files, Flock_buffer, Funlock_buffer)
	(unlock_buffer): Replace B_ with BVAR.
	* fileio.c (Fexpand_file_name, Ffile_directory_p)
	(Ffile_regular_p, Ffile_selinux_context)
	(Fset_file_selinux_context, Ffile_modes, Fset_file_modes)
	(Fset_file_times, Ffile_newer_than_file_p, decide_coding_unwind)
	(Finsert_file_contents, choose_write_coding_system)
	(Fwrite_region, build_annotations, Fverify_visited_file_modtime)
	(Fset_visited_file_modtime, auto_save_error, auto_save_1)
	(Fdo_auto_save, Fset_buffer_auto_saved): Replace B_ with BVAR.
	* editfns.c (region_limit, Fmark_marker, save_excursion_save)
	(save_excursion_restore, Fprevious_char, Fchar_before)
	(general_insert_function, Finsert_char, Finsert_byte)
	(make_buffer_string_both, Finsert_buffer_substring)
	(Fcompare_buffer_substrings, subst_char_in_region_unwind)
	(subst_char_in_region_unwind_1, Fsubst_char_in_region)
	(Ftranslate_region_internal, save_restriction_restore)
	(Fchar_equal): Replace B_ with BVAR.
	* dispnew.c (Fframe_or_buffer_changed_p): Replace B_ with BVAR.
	* dispextern.h (WINDOW_WANTS_MODELINE_P)
	(WINDOW_WANTS_HEADER_LINE_P): Replace B_ with BVAR.
	* dired.c (directory_files_internal): Replace B_ with BVAR.
	* data.c (swap_in_symval_forwarding, set_internal)
	(Fmake_local_variable, Fkill_local_variable, Flocal_variable_p):
	Replace B_ with BVAR.
	* composite.c (fill_gstring_header)
	(composition_compute_stop_pos, composition_adjust_point)
	(Ffind_composition_internal): Replace B_ with BVAR.
	* coding.c (decode_coding, encode_coding)
	(make_conversion_work_buffer, decode_coding_gap)
	(decode_coding_object, encode_coding_object)
	(Fdetect_coding_region, Ffind_coding_systems_region_internal)
	(Funencodable_char_position, Fcheck_coding_systems_region):
	Replace B_ with BVAR.
	* cmds.c (Fself_insert_command, internal_self_insert): Replace B_
	with BVAR.
	* charset.c (Ffind_charset_region): Replace B_ with BVAR.
	* character.h (FETCH_CHAR_ADVANCE, INC_BOTH, DEC_BOTH)
	(ASCII_CHAR_WIDTH): Replace B_ with BVAR.
	* character.c (chars_in_text, Fget_byte): Replace B_ with BVAR.
	* category.h (Vstandard_category_table): Replace B_ with BVAR.
	* category.c (check_category_table, Fcategory_table)
	(Fset_category_table, char_category_set): Replace B_ with BVAR.
	* casetab.c (Fcurrent_case_table, set_case_table): Replace B_ with
	BVAR.
	* casefiddle.c (casify_object, casify_region): Replace B_ with
	BVAR.
	* callproc.c (Fcall_process, Fcall_process_region): Replace B_
	with BVAR.
	* callint.c (check_mark, Fcall_interactively): Replace B_ with
	BVAR.
	* bytecode.c (Fbyte_code): Replace B_ with BVAR.
	* buffer.h (FETCH_CHAR, FETCH_CHAR_AS_MULTIBYTE, BVAR): Replace B_
	with BVAR.
	* buffer.c (Fbuffer_live_p, Fget_file_buffer)
	(get_truename_buffer, Fget_buffer_create)
	(clone_per_buffer_values, Fmake_indirect_buffer, reset_buffer)
	(reset_buffer_local_variables, Fbuffer_name, Fbuffer_file_name)
	(Fbuffer_local_value, buffer_lisp_local_variables)
	(Fset_buffer_modified_p, Frestore_buffer_modified_p)
	(Frename_buffer, Fother_buffer, Fbuffer_enable_undo)
	(Fkill_buffer, Fset_buffer_major_mode, set_buffer_internal_1)
	(set_buffer_temp, Fset_buffer, set_buffer_if_live)
	(Fbarf_if_buffer_read_only, Fbury_buffer, Ferase_buffer)
	(Fbuffer_swap_text, swapfield_, Fbuffer_swap_text)
	(Fset_buffer_multibyte, swap_out_buffer_local_variables)
	(record_overlay_string, overlay_strings, init_buffer_once)
	(init_buffer, syms_of_buffer): Replace B_ with BVAR.

180
2011-02-16  Eli Zaretskii  <eliz@gnu.org>
181 182 183 184 185

	* xdisp.c (redisplay_internal): Resynchronize `w' if the selected
	window is changed inside calls to do_pending_window_change.
	(Bug#8020)

186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211
2011-02-16  Paul Eggert  <eggert@cs.ucla.edu>

	Remove no-longer needed getloadavg symbols.
	* m/alpha.h (LOAD_AVE_TYPE, LOAD_AVE_CVT): Remove.
	* m/amdx86-64.h (LOAD_AVE_TYPE, LOAD_AVE_CVT): Remove.
	* m/ia64.h (LOAD_AVE_TYPE, LOAD_AVE_CVT): Remove.
	* m/ibms390.h (LOAD_AVE_TYPE, LOAD_AVE_CVT): Remove.
	* m/macppc.h (LOAD_AVE_TYPE, LOAD_AVE_CVT): Remove.
	* m/sparc.h (LOAD_AVE_TYPE, LOAD_AVE_CVT): Remove.
	* m/template.h (LOAD_AVE_TYPE, LOAD_AVE_CVT): Remove.
	* m/vax.h (LOAD_AVE_TYPE, LOAD_AVE_CVT): Remove.
	* s/aix4-2.h (KERNEL_FILE, LDAV_SYMBOL): Remove.
	* s/bsd-common.h (KERNEL_FILE, LDAV_SYMBOL): Remove #undef.
	* s/hpux10-20.h (KERNEL_FILE, LOAD_AVE_TYPE, LOAD_AVE_CVT):
	(LDAV_SYMBOL): Remove.
	* s/unixware.h (LOAD_AVE_TYPE, LOAD_AVE_CVT, FSCALE): Remove.
	* s/usg5-4-common.h (KERNEL_FILE, LDAV_SYMBOL): Remove.

	Import getloadavg module from gnulib.
	* deps.mk (getloadavg.o): Remove; gnulib now does this.
	* lisp.h (getloadavg) [!defined HAVE_GETLOADAVG]: Remove; gnulib
	now does this.
	* src/s/freebsd.h (HAVE_GETLOADAVG): Remove; gnulib now does this.
	* src/s/netbsd.h (HAVE_GETLOADAVG): Likewise.
	* config.in: Regenerate.

212 213 214 215
2011-02-15  Eli Zaretskii  <eliz@gnu.org>

	* nsfns.m (ns_set_name_as_filename, Fns_read_file_name): Use B_.

216 217 218 219 220
2011-02-14  Michael Welsh Duggan  <md5i@md5i.com>

	* print.c (float_to_string): Ensure that a decimal point is
	printed if using dtoastr (Bug#8033).

221 222
2011-02-14  Eli Zaretskii  <eliz@gnu.org>

223
	* msdos.c (IT_frame_up_to_date):
224 225
	* s/msdos.h (MODE_LINE_BINARY_TEXT): Use B_ for the MS-DOS build.

226 227 228 229 230 231 232 233
	* dired.c (directory_files_internal):
	* fileio.c (Finsert_file_contents):
	* insdel.c (prepare_to_modify_buffer):
	* xdisp.c (pos_visible_p):
	* s/ms-w32.h (MODE_LINE_BINARY_TEXT):
	* w32fns.c (Fw32_shell_execute, Fx_show_tip, x_create_tip_frame):
	Use B_ for the MS-Windows build.

234 235 236 237 238 239 240 241 242 243 244
2011-02-14  Jan Djärv  <jan.h.d@swipnet.se>

	* xrdb.c (x_load_resources): For LUCID and XFT, don't put a
	resource that specifies helvetica for menus and dialogs.

	* xmenu.c (apply_systemfont_to_dialog): Apply to *dialog.font.
	(apply_systemfont_to_menu): Set resources *menubar*font and
	*popup*font.  Remove defflt.
	(set_frame_menubar, create_and_show_popup_menu): Call
	apply_systemfont_to_menu before lw_create_widget.

245 246
2011-02-14  Tom Tromey  <tromey@redhat.com>

247 248
	* buffer.c (init_buffer_once, syms_of_buffer): Use B_ in DOS_NT case.

249 250
	* keyboard.h: Remove obsolete comment.

251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387
2011-02-14  Tom Tromey  <tromey@parfait>

	* composite.c (fill_gstring_header)
	(composition_compute_stop_pos, composition_adjust_point)
	(Ffind_composition_internal): Use B_.
	* intervals.c (set_point_both, get_local_map): Use B_.
	* callproc.c (Fcall_process, Fcall_process_region): Use B_.
	* process.c (get_process, list_processes_1, Fstart_process)
	(Fmake_serial_process, Fmake_network_process)
	(read_process_output, send_process, exec_sentinel)
	(status_notify, setup_process_coding_systems): Use B_.
	* bytecode.c (Fbyte_code): Use B_.
	* syntax.c (update_syntax_table, dec_bytepos, Fsyntax_table)
	(Fset_syntax_table, Fmodify_syntax_entry, skip_chars)
	(skip_syntaxes, scan_lists): Use B_.
	* lread.c (readchar, unreadchar, openp, readevalloop)
	(Feval_buffer, Feval_region): Use B_.
	* print.c (printchar, strout, print_string, PRINTDECLARE)
	(PRINTPREPARE, PRINTFINISH, temp_output_buffer_setup)
	(print_object): Use B_.
	* font.c (font_at): Use B_.
	* fns.c (Fbase64_encode_region, Fbase64_decode_region, Fmd5): Use
	B_.
	* callint.c (check_mark, Fcall_interactively): Use B_.
	* editfns.c (region_limit, Fmark_marker, save_excursion_save)
	(save_excursion_restore, Fprevious_char, Fchar_before)
	(general_insert_function, Finsert_char, Finsert_byte)
	(make_buffer_string_both, Finsert_buffer_substring)
	(Fcompare_buffer_substrings, subst_char_in_region_unwind)
	(subst_char_in_region_unwind_1, Fsubst_char_in_region)
	(Ftranslate_region_internal, save_restriction_restore)
	(Fchar_equal): Use B_.
	* data.c (swap_in_symval_forwarding, set_internal)
	(Fmake_local_variable, Fkill_local_variable, Flocal_variable_p):
	Use B_.
	* undo.c (record_point, record_insert, record_delete)
	(record_marker_adjustment, record_first_change)
	(record_property_change, Fundo_boundary, truncate_undo_list)
	(Fprimitive_undo): Use B_.
	* search.c (compile_pattern_1, compile_pattern, looking_at_1)
	(string_match_1, fast_looking_at, newline_cache_on_off)
	(search_command, search_buffer, simple_search, boyer_moore)
	(Freplace_match): Use B_.
	* indent.c (buffer_display_table, recompute_width_table)
	(width_run_cache_on_off, current_column, scan_for_column)
	(Findent_to, position_indentation, compute_motion, vmotion): Use
	B_.
	* casefiddle.c (casify_object, casify_region): Use B_.
	* casetab.c (Fcurrent_case_table, set_case_table): Use B_.
	* cmds.c (Fself_insert_command, internal_self_insert): Use B_.
	* fileio.c (Fexpand_file_name, Ffile_directory_p)
	(Ffile_regular_p, Ffile_selinux_context)
	(Fset_file_selinux_context, Ffile_modes, Fset_file_modes)
	(Fset_file_times, Ffile_newer_than_file_p, decide_coding_unwind)
	(Finsert_file_contents, choose_write_coding_system)
	(Fwrite_region, build_annotations, Fverify_visited_file_modtime)
	(Fset_visited_file_modtime, auto_save_error, auto_save_1)
	(Fdo_auto_save, Fset_buffer_auto_saved): Use B_.
	* minibuf.c (read_minibuf, get_minibuffer, Fread_buffer): Use B_.
	* marker.c (Fmarker_buffer, Fset_marker, set_marker_restricted)
	(set_marker_both, set_marker_restricted_both, unchain_marker): Use
	B_.
	* insdel.c (check_markers, insert_char, insert_1_both)
	(insert_from_string_1, insert_from_gap, insert_from_buffer_1)
	(adjust_after_replace, replace_range, del_range_2)
	(modify_region, prepare_to_modify_buffer)
	(Fcombine_after_change_execute): Use B_.
	* filelock.c (unlock_all_files, Flock_buffer, Funlock_buffer)
	(unlock_buffer): Use B_.
	* keymap.c (Flocal_key_binding, Fuse_local_map)
	(Fcurrent_local_map, push_key_description)
	(Fdescribe_buffer_bindings): Use B_.
	* keyboard.c (command_loop_1, read_char_minibuf_menu_prompt)
	(read_key_sequence): Use B_.
	* fringe.c (get_logical_cursor_bitmap)
	(get_logical_fringe_bitmap, update_window_fringes): Use B_.
	* xfns.c (x_create_tip_frame, Fx_show_tip): Use B_.
	* xfaces.c (compute_char_face): Use B_.
	* character.c (chars_in_text, Fget_byte): Use B_.
	* category.c (check_category_table, Fcategory_table)
	(Fset_category_table, char_category_set): Use B_.
	* coding.c (decode_coding, encode_coding)
	(make_conversion_work_buffer, decode_coding_gap)
	(decode_coding_object, encode_coding_object)
	(Fdetect_coding_region, Ffind_coding_systems_region_internal)
	(Funencodable_char_position, Fcheck_coding_systems_region): Use
	B_.
	* charset.c (Ffind_charset_region): Use B_.
	* window.c (window_display_table, unshow_buffer, window_loop)
	(window_min_size_2, set_window_buffer, Fset_window_buffer)
	(select_window, Fforce_window_update, temp_output_buffer_show)
	(Fset_window_configuration, save_window_save): Use B_.
	* xdisp.c (pos_visible_p, init_iterator, reseat_1)
	(message_dolog, update_echo_area, ensure_echo_area_buffers)
	(with_echo_area_buffer, setup_echo_area_for_printing)
	(set_message_1, update_menu_bar, update_tool_bar)
	(text_outside_line_unchanged_p, redisplay_internal)
	(try_scrolling, try_cursor_movement, redisplay_window)
	(try_window_reusing_current_matrix, row_containing_pos)
	(try_window_id, get_overlay_arrow_glyph_row, display_line)
	(Fcurrent_bidi_paragraph_direction, display_mode_lines)
	(decode_mode_spec_coding, decode_mode_spec, display_count_lines)
	(get_window_cursor_type, note_mouse_highlight): Use B_.
	* frame.c (make_frame_visible_1): Use B_.
	* dispnew.c (Fframe_or_buffer_changed_p): Use B_.
	* dispextern.h (WINDOW_WANTS_HEADER_LINE_P)
	(WINDOW_WANTS_MODELINE_P): Use B_.
	* syntax.h (Vstandard_syntax_table): Update.
	(CURRENT_SYNTAX_TABLE, SETUP_BUFFER_SYNTAX_TABLE): Use B_.
	* intervals.h (TEXT_PROP_MEANS_INVISIBLE): Update.
	(TEXT_PROP_MEANS_INVISIBLE): Use B_.
	* character.h (FETCH_CHAR_ADVANCE): Update.
	(INC_BOTH, ASCII_CHAR_WIDTH, DEC_BOTH): Use B_.
	* category.h (Vstandard_category_table): Update.
	* lisp.h (DEFVAR_BUFFER_DEFAULTS): Update for change to field
	names.
	(DOWNCASE_TABLE, UPCASE_TABLE): Use B_.
	* buffer.c (swapfield_): New macro.
	(Fbuffer_swap_text): Use swapfield_ where appropriate.
	(Fbuffer_live_p, Fget_file_buffer, get_truename_buffer)
	(Fget_buffer_create, clone_per_buffer_values)
	(Fmake_indirect_buffer, reset_buffer)
	(reset_buffer_local_variables, Fbuffer_name, Fbuffer_file_name)
	(Fbuffer_local_value, buffer_lisp_local_variables)
	(Fset_buffer_modified_p, Frestore_buffer_modified_p)
	(Frename_buffer, Fother_buffer, Fbuffer_enable_undo)
	(Fkill_buffer, Fset_buffer_major_mode, set_buffer_internal_1)
	(set_buffer_temp, Fset_buffer, set_buffer_if_live)
	(Fbarf_if_buffer_read_only, Fbury_buffer, Ferase_buffer)
	(Fbuffer_swap_text, Fset_buffer_multibyte)
	(swap_out_buffer_local_variables, record_overlay_string)
	(overlay_strings, init_buffer_once, init_buffer, syms_of_buffer):
	Use B_.
	* buffer.h (struct buffer): Rename all Lisp_Object fields.
	(BUFFER_INTERNAL_FIELD, B_): New macro.
	(FETCH_CHAR, FETCH_CHAR_AS_MULTIBYTE): Use B_.

388 389 390 391 392
2011-02-14  Jan Djärv  <jan.h.d@swipnet.se>

	* gtkutil.c (xg_tool_bar_menu_proxy): Handle case when tool bar label
	is null.

Jan D's avatar
Jan D committed
393 394 395 396 397 398
2011-02-13  Jan Djärv  <jan.h.d@swipnet.se>

	* callproc.c (Fcall_process):
	* process.c (create_process): Replace Gtk with GConf in SIGPIPE
	comment.

399
2011-02-12  Martin Rudalics  <rudalics@gmx.at>
Martin Rudalics's avatar
Martin Rudalics committed
400 401 402 403

	* window.c (select_window): Check inhibit_point_swap argument when
	deciding whether to return immediately.

404
2011-02-12  Jan Djärv  <jan.h.d@swipnet.se>
405 406 407 408

	* nsterm.m (setFrame, initFrame): Make sure pixel_height doesn't become
	zero (Bug#7348).

409 410 411 412 413 414 415
2011-02-12  Chong Yidong  <cyd@stupidchicken.com>

	* config.in (TERMINFO): New definition.

	* s/netbsd.h: Use it to choose between terminfo and termcap
	(Bug#7642).

416 417 418 419 420 421 422
2011-02-12  Paul Eggert  <eggert@cs.ucla.edu>

	* md5.c (md5_process_bytes): Use sizeof, not __alignof__.
	The difference doesn't matter here, in practice, and sizeof is
	more portable to non-GCC compilers.  Also, this makes the code
	match the already-existing comment.

423 424 425 426 427
2011-02-12  Andreas Schwab  <schwab@linux-m68k.org>

	* process.c (create_process): Reset SIGPIPE handler in the child.
	* callproc.c (Fcall_process): Likewise.  (Bug#5238)

428 429 430 431 432 433 434 435 436
2011-02-12  Eli Zaretskii  <eliz@gnu.org>

	* xdisp.c <this_line_min_pos>: New variable.
	(move_it_in_display_line_to): Record in this_line_min_pos the
	smallest position iterated across.
	(display_line): Use this_line_min_pos to record the smallest
	position in the line even if it is not displayed due to
	hscrolling.  (Bug#7939)

437 438
2011-02-12  Paul Eggert  <eggert@cs.ucla.edu>

439 440 441 442
	Port to Sun C 5.11, which has __attribute__ ((__aligned (N))).
	* md5.h (ATTRIBUTE_ALIGNED): New macro.
	(struct md5_ctx): Use it.

443 444 445 446 447 448
	Port to Solaris 10, which doesn't support FC_HINT_STYLE.
	* xftfont.c (FC_HINT_STYLE): #define to "hintstyle" if not
	defined.
	* xsettings.c (parse_settings, apply_xft_settings): Don't assume
	FC_HINT_STYLE is supported.

449 450 451 452 453
2011-02-11  Jan Djärv  <jan.h.d@swipnet.se>

	* xterm.c (x_set_frame_alpha): Access data before it is free:d.
	Make sure we don't do x_catch_errors twice.

454 455 456 457
2011-02-10  Glenn Morris  <rgm@gnu.org>

	* Makefile.in (really-lwlib): Depend on globals.h, for parallel builds.

458 459
2011-02-09  Eli Zaretskii  <eliz@gnu.org>

460 461
	* makefile.w32-in (GLOBAL_SOURCES, SOME_MACHINE_OBJECTS, obj):
	New macros.
462 463 464
	(globals.h, gl-stamp): New targets.
	(clean): Clean gl-stamp and globals.h.

465 466 467 468 469 470
2011-02-09  Andreas Schwab  <schwab@linux-m68k.org>

	* Makefile.in (gl-stamp): Create globals.h here.
	(globals.h): Don't do it here.
	(mostlyclean): Clean globals.h and gl-stamp.

471 472 473 474 475 476
2011-02-09  Paul Eggert  <eggert@cs.ucla.edu>

	* Makefile.in ($(otherobj)): Depend on globals.h.
	Otherwise 'make -j10' failed on my host, because the build lacked
	necessary dependencies, e.g., vm-limit.o depends on globals.h.

Tom Tromey's avatar
Tom Tromey committed
477 478 479 480 481 482 483 484 485 486 487 488 489 490
2011-02-08  Tom Tromey  <tromey@redhat.com>

	* Makefile.in (NS_OBJC_OBJ): New variable.
	(base_obj): Rename from 'obj'.
	(obj): New variable.
	(globals.h, gl-stamp, $(obj)): New targets.
	(GLOBAL_SOURCES): New variable.
	* globals.h: Remove.
	* nsselect.m (Vselection_alist): Define.  Reverts part of
	2011-01-19T22:11:33Z!jan.h.d@swipnet.se.
	* buffer.c: Don't use "no_cell" for name of kill-buffer-hook's
	variable.
	* xselect.c (Vselection_alist): Define.  Reverts part of 2011-01-19T23:32:42Z!eggert@cs.ucla.edu.

491 492 493 494
2011-02-08  Kenichi Handa  <handa@m17n.org>

	* font.c (Ffont_get): Do not cache :otf value.

495 496 497 498 499 500 501
2011-02-07  Paul Eggert  <eggert@cs.ucla.edu>

	conform to C89 pointer rules

	* dired.c (scmp, file_name_completion):
	Change types between char * and unsigned char *, to satisfy C89
	rules about pointer type compatibility.
502
	* casefiddle.c (casify_object, casify_region): Likewise.
503
	* search.c (Freplace_match, Fregexp_quote): Likewise.
504 505
	* alloc.c (make_string, make_specified_string, make_pure_string):
	Likewise.
506
	* data.c (Fstring_to_number): Likewise.
507 508
	* print.c (float_to_string, PRINTFINISH, printchar, strout):
	(print_object): Likewise.
509 510 511
	* editfns.c (init_editfns, Fchar_to_string, Fbyte_to_string):
	(Fuser_full_name, Fsubst_char_in_region, Ftranslate_region_internal):
	(Fformat): Likewise.
512
	* callint.c (Fcall_interactively): Likewise.
513 514 515 516
	* fns.c (string_make_multibyte, string_to_multibyte):
	(string_make_unibyte, Fstring_as_unibyte, Fstring_to_unibyte):
	(Fbase64_encode_region, base64_encode_1, Fbase64_decode_region, Fmd5):
	Likewise.
517
	* lread.c (read1, hash_string): Likewise.
518 519
	* process.c (read_process_output, send_process, Fprocess_send_region):
	Likewise.
520
	* callproc.c (Fcall_process): Likewise.
521 522
	* doprnt.c (doprnt): Likewise.
	* indent.c (compute_motion): Likewise.
523
	* xfont.c (xfont_decode_coding_xlfd): Likewise.
524
	* ralloc.c (resize_bloc): Likewise.
525
	* image.c (tiff_load): Likewise.
526
	* xml.c (make_dom, parse_region): Likewise.
527 528 529
	* character.c (strwidth): Make its argument const char *, not const
	unsigned char *, since more callers prefer it that way.  All callers
	changed.
530

531 532
2011-02-06  Paul Eggert  <eggert@cs.ucla.edu>

533 534 535 536
	* xterm.c (x_alloc_nearest_color_1): Avoid unportable int assumption.
	Emacs assumes two's complement elsewhere, but the assumption is
	easy to remove here, and this suppresses a warning with Sun C 5.8.

537 538 539 540
	conform to C89 pointer rules

	* xterm.c (x_draw_fringe_bitmap, handle_one_xevent, x_bitmap_icon):
	(same_x_server, x_term_init):
541 542
	Change types between char * and unsigned char *, to satisfy C89
	rules about pointer type compatibility.
543 544
	* doc.c (get_doc_string, Fsnarf_documentation):
	(Fsubstitute_command_keys): Likewise.
545 546
	* xfns.c (Fx_open_connection, Fx_window_property): Likewise.
	* bitmaps/gray.xbm (gray_bits): Likewise.
547
	* image.c (xbm_read_bitmap_data, xbm_load_image, xbm_load): Likewise.
548 549
	* keyboard.c (echo_char, MULTI_LETTER_MOD, tty_read_avail_input):
	Likewise.
550
	* keymap.c (Ftext_char_description): Likewise.
551
	* minibuf.c (Fread_buffer): Likewise.
552 553 554 555 556 557 558 559 560
	* fileio.c (IS_DRIVE) [defined WINDOWSNT]:
	(DRIVE_LETTER) [defined DOS_NT]:
	(report_file_error, Ffile_name_directory, Ffile_name_nondirectory):
	(make_temp_name, Fexpand_file_name, file_name_absolute_p):
	(search_embedded_absfilename, Fsubstitute_in_file_name):
	(barf_or_query_if_file_exists, Fmake_directory_internal):
	(Fdelete_directory_internal, Ffile_name_absolute_p, read_non_regular):
	(Finsert_file_contents, Fwrite_region):
	Likewise.
561 562 563 564 565 566 567
	* insdel.c (insert, insert_and_inherit, insert_before_markers):
	(insert_before_markers_and_inherit, insert_1, insert_1_both):
	Likewise.  This changes these functions' signatures, which is
	more convenient since most callers use char *.  All remaining
	callers changed.
	* editfns.c (general_insert_function): Change signature to
	match changes to insert functions' signatures.
568 569 570
	* keymap.c (map_keymap_char_table_item, map_keymap_internal): Use
	explicit cast when converting between void * and function pointer
	types, as C89 requires this.
571

Paul Eggert's avatar
Paul Eggert committed
572 573 574 575 576 577 578 579 580 581 582
2011-02-05  Paul Eggert  <eggert@cs.ucla.edu>

	don't ignore chdir failure
	* sysdep.c (sys_subshell) [!defined DOS_NT]: Diagnose chdir
	failure and exit.
	(sys_subshell) [defined DOS_NT]: Mark with a FIXME the two
	remaining unchecked chdir calls in this function; some DOS/NT
	expert needs to fix them.
	* emacs.c (main): Mark with a FIXME the unchecked chdir calls
	in this function; some NextStep expert needs to fix them.

583
2011-02-05  Glenn Morris  <rgm@gnu.org>
584 585 586 587

	* xfaces.c (Finternal_set_lisp_face_attribute):
	Try to clarify some error messages.  (Bug#2659)

588
2011-02-05  Stefan Monnier  <monnier@iro.umontreal.ca>
589 590 591 592

	* editfns.c (save_restriction_restore): Don't forget to invalidate the
	current_column cache (bug#7946).

593
2011-02-05  Kenichi Handa  <handa@m17n.org>
594 595 596 597 598

	* ftfont.c (ftfont_open): Use FC_DUAL only when it is defined.

	* xftfont.c (xftfont_open): Likewise.

599
2011-02-05  Andreas Schwab  <schwab@linux-m68k.org>
600 601 602

	* window.c (Fselect_window): Add missing return value.

603 604
2011-02-05  Paul Eggert  <eggert@cs.ucla.edu>

605 606 607 608 609
	xstrcasecmp: conform to C89 pointer rules
	* xfaces.c (xstrcasecmp): Change args from const unsigned char *
	to const char *, since they're usually low-level C strings, and
	this stays compatible with C89 pointer rules.  All callers changed.

610 611 612
	* charset.c: conform to C89 pointer rules
	(define_charset_internal): Switch between char * and unsigned char *.

613 614 615 616
	* xmenu.c: conform to C89 const rules
	(xmenu_show, xdialog_show): Declare local var as char *, not
	const char *, to stay compatible with C89 const rules.

617 618 619 620 621 622 623 624
	* xdisp.c: conform to C89 pointer rules
	(store_mode_line_noprop, display_string, reseat_to_string):
	(c_string_pos, number_of_chars, message_dolog):
	(message_log_check_duplicate, set_message_1, store_mode_line_noprop):
	(display_mode_element, display_string):
	Switch between char * and unsigned char * to stay compatible wth
	C89 pointer rules.

625 626 627 628 629
	* regex.c: conform to C89 pointer rules
	(re_wctype): Add cast, as C89 does not allow assigning between
	char * and unsigned char *.
	(regex_compile): Likewise.

630 631 632
	sync from gnulib to remove HAVE_STDBOOL_H
	* config.in: Regenerate.

633 634
2011-02-04  Eli Zaretskii  <eliz@gnu.org>

635 636 637 638 639 640
	* makefile.w32-in (LISP_H, PROCESS_H): New variables.
	Replace all uses of lisp.h with $(LISP_H), and all uses of
	process.h with $(PROCESS_H).
	($(BLD)/editfns.$(O)): Depend on ../lib/strftime.h.
	($(BLD)/print.$(O)): Depend on ../lib/ftoastr.h and ../lib/intprops.h.

641 642 643
	* deps.mk: Update for recent changes: gnutls support, gnulib
	imports, addition of globals.h.

644 645
	* makefile.w32-in ($(BLD)/sysdep.$(O)): Depend on
	../lib/ignore-value.h.
646

647 648 649 650 651 652 653 654 655 656 657 658 659
2011-02-03  Paul Eggert  <eggert@cs.ucla.edu>

	allow C code to suppress warnings about ignored return values

	We need to go through the code and for each such warning, either
	fix the code to pay attention to the returned value, or tell GCC
	that we really do want to ignore the returned value.  Here is one
	example of how to do the latter.
	* sysdep.c: Include <ignore-value.h>.
	(sys_subshell): Suppress an undesirable warning about not checking
	the returned value of 'write', as there's nothing useful one can
	do with that returned value.

660 661 662 663 664
2011-02-03  Jan Djärv  <jan.h.d@swipnet.se>

	* xterm.c (x_connection_closed): Remove all calls that calls
	XSync (Bug#7949).

665 666 667 668 669
2011-02-01  Eli Zaretskii  <eliz@gnu.org>

	* image.c (tiff_load): Avoid compiler warning in 2nd arg to
	TIFFClientOpen.

670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685
2011-02-01  Jan Djärv  <jan.h.d@swipnet.se>

	* xsmfns.c (ice_connection_closed): Call delete_read_fd.
	(x_session_check_input): Change args and return type so it can be used
	as argument to add_read_fd.  Make static.  Remove call to select.
	Call kbd_buffer_store_event for emacs_event.
	(smc_save_yourself_CB): Also store initial argv to SmRestartCommand.
	(ice_conn_watch_CB): Call add_read_fd.

	* xterm.c (XTread_socket): Remove HAVE_X_SM block with call to
	x_session_check_input.
	(x_session_initialized): Remove definition.
	(x_initialize): Remove setting of x_session_initialized.

	* xterm.h (x_session_check_input): Remove declaration.

686 687 688 689 690 691 692 693 694 695
2011-02-01  Paul Eggert  <eggert@cs.ucla.edu>

	format-time-string now supports subsecond time stamp resolution
	* editfns.c (emacs_nmemftime): Renamed from emacs_memftimeu,
	for consistency with its new argument and with gnulib nstrftime.
	All callers changed.  New argument NS.
	(Fformat_time_string): Check that the time argument's microseconds
	component, if any, is in range; this avoids integer overflow and
	also nstrftime needs this.  Document %N.

696
2011-01-31  Andreas Schwab  <schwab@linux-m68k.org>
697 698 699 700 701 702

	* image.c (DEF_IMGLIB_FN): Add parameter rettype, use it instead
	of int.  All uses adjusted.
	(PNG_JMPBUF, png_load, jpeg_load, tiff_load, gif_load)
	(svg_load_image): Remove casts.

703
2011-01-31  Chong Yidong  <cyd@stupidchicken.com>
704 705 706 707 708 709 710

	* image.c (fn_png_longjmp, fn_png_set_longjmp_fn): New png
	function definitions for compiling with libpng-1.5.
	(PNG_LONGJMP, PNG_JMPBUF): New macros for libpng-1.5.
	(my_png_error, png_load): Use them.  Suggested by Thomas Klausner
	(Bug#7908).

711 712
2011-01-31  Eli Zaretskii  <eliz@gnu.org>

713 714
	* s/ms-w32.h (HAVE_STRFTIME): Don't define.

715 716 717
	* makefile.w32-in (OBJ2): Remove strftime.$(O).
	($(BLD)/strftime.$(O)): Remove prerequisites.

718 719 720 721 722 723
2011-01-31  Paul Eggert  <eggert@cs.ucla.edu>

	src/emacs.c now gets version number from configure.in
	* emacs.c (emacs_version): Set to VERSION so that it
	is determined automatically from ../configure.in.

724 725 726 727 728
2011-01-31  Jim Meyering  <meyering@redhat.com>

	* charset.c (load_charset_map): Don't deref NULL on failed malloc.
	Use xmalloc rather than malloc.

729 730
2011-01-30  Paul Eggert  <eggert@cs.ucla.edu>

Paul Eggert's avatar
Paul Eggert committed
731 732 733 734 735 736 737 738 739 740
	strftime: import from gnulib
	* Makefile.in (obj): Remove strftime.o, as gnulib now does this for us.
	* deps.mk (strftime.o): Remove.
	* editfns.c: Include <strftime.h>, supplied by gnulib.
	(emacs_strftimeu): Remove decl.
	(emacs_memftimeu): Use nstrftime (the gnulib name) rather than
	emacs_strftimeu.
	* config.in: Regenerate.
	* strftime.c: Remove; we now use strftime from gnulib.

741 742 743 744 745 746 747 748 749
	Use SSDATA when the context wants char *.
	* alloc.c, buffer.c, bytecode.c, callproc.c, dired.c:
	* dispnew.c, doc.c, editfns.c, emacs.c, fileio.c, filelock.c:
	* fns.c, font.c, frame.c, image.c, indent.c, keyboard.c:
	* lread.c, minibuf.c, print.c, process.c, search.c, widget.c:
	* xdisp.c, xfaces.c, xfns.c, xml.c, xselect.c, xterm.c:
	Use SSDATA (not SDATA) when the context of the expression wants
	char * (not unsigned char *).

750 751 752 753
2011-01-30  Jan Djärv  <jan.h.d@swipnet.se>

	* .gdbinit: Read global lisp variables as globals.f_V*.

754 755 756 757 758 759
2011-01-30  Andreas Schwab  <schwab@linux-m68k.org>

	* font.c (PROP_MATCH): Remove parameter N and use strlen instead.
	All uses changed.
	(PROP_SAVE): Likewise.

760 761 762 763 764
2011-01-29  Chong Yidong  <cyd@stupidchicken.com>

	* keyboard.c (make_lispy_position): Fix typo in last change
	(Bug#7935).

765 766 767 768 769 770 771 772 773 774
2011-01-29  Eli Zaretskii  <eliz@gnu.org>

	* s/ms-w32.h (HAVE_MKTIME): Remove.

	* makefile.w32-in (LOCAL_FLAGS): Add -I../lib.
	(GNULIB): New variable.
	(LIBS): Add $(GNULIB).
	$(TEMACS): Depend on $(GNULIB).
	<top-level>: Fix font-lock disrupted by a lone `"'.

775 776 777 778 779 780 781
2011-01-29  Jan Djärv  <jan.h.d@swipnet.se>

	* nsselect.m (ns_string_from_pasteboard): Get length of string
	and use make_string instead of build_string (Bug#7934).
	(ns_string_to_pasteboard_internal): Use initWithBytesNoCopy
	instead of stringWithUTF8String  (Bug#7934).

782 783 784 785 786
2011-01-29  Anders Lindgren  <andlind@gmail.com> (tiny change)

        * nsfont.m (nsfont_open): Ensure that fonts with inexact
        descenders would not become one pixel too tall (Bug#7887).

787 788 789 790 791 792
2011-01-28  Chong Yidong  <cyd@stupidchicken.com>

	* keyboard.c (make_lispy_position): For clicks on right fringe or
	margin, compute text position using the X coordinate relative to
	the left of the text area (Bug#7839).

793 794 795 796 797
2011-01-28  Kenichi Handa  <handa@m17n.org>

	* ftfont.c (ftfont_spec_pattern): Check each extra property
	value.

798 799 800 801
2011-01-28  Stefan Monnier  <monnier@iro.umontreal.ca>

	* xdisp.c (safe_eval_handler): Distinguish symbols and strings.

802 803 804 805
2011-01-27  Chong Yidong  <cyd@stupidchicken.com>

	* font.c (font_parse_fcname): Undefine a temporary macro.

806 807 808 809 810 811 812 813 814 815 816 817
2011-01-26  Stefan Monnier  <monnier@iro.umontreal.ca>

	Let the debugger continue to the normal handler (bug#7825).
	* eval.c (maybe_call_debugger): Declare before new use.
	(find_handler_clause): Don't call debugger any more.
	Ignore Vstack_trace_on_error.
	Use XCAR/XCDR.
	(syms_of_eval): Remove Vstack_trace_on_error.
	(Fsignal): Only modify handlerlist when we know we need to do it.
	Call the debugger when necessary.
	* globals.h (Vstack_trace_on_error): Remove.

818 819 820 821
2011-01-26  Chong Yidong  <cyd@stupidchicken.com>

	* font.c (font_parse_fcname): Rewrite GTK font name parser.

Glenn Morris's avatar
Glenn Morris committed
822
2011-01-25  Stefan Monnier  <monnier@iro.umontreal.ca>
823 824 825 826

	* xdisp.c (handle_fontified_prop): Be careful with font-lock changing
	the buffer's point-max (bug#7876).

Glenn Morris's avatar
Glenn Morris committed
827
2011-01-25  Chong Yidong  <cyd@stupidchicken.com>
828 829

	* lisp.h (XPNTR): Obey DATA_SEG_BITS in all non-USE_LSB_TAG cases.
Glenn Morris's avatar
Glenn Morris committed
830
	Remove unused case (Bug#6811).
831

832 833 834 835 836
2011-01-23  Jan Djärv  <jan.h.d@swipnet.se>

	* nsterm.m (x_set_offset): Set dont_constrain to 0 so the call to
	setFrameTopLeftPoint is constrained.

837 838
2011-01-23  Paul Eggert  <eggert@cs.ucla.edu>

839 840 841 842 843
	Check return values of some library calls.
	* emacs.c (main): Check dup result.
	* frame.c: Include <limits.h>, for INT_MIN and INT_MAX.
	(frame_name_fnn_p): Check strtol result.

844
	* image.c (x_create_bitmap_from_xpm_data): Add cast to fix type clash
845 846
	when calling XpmCreatePixmapFromData.

847 848 849 850 851 852 853
	Promote SSDATA macro from gtkutil.c and xsmfns.c to lisp.h.
	* lisp.h (SSDATA): New macro.
	All uses of (char *) SDATA (x) replaced with SSDATA (x),
	and all uses of (unsigned char *) SDATA (x) replaced with SDATA (x).
	* gtkutil.c (SSDATA): Remove, as lisp.h now defines this.
	* xsmfns.c (SSDATA): Likewise.

854 855 856 857 858 859 860
2011-01-22  Martin Rudalics  <rudalics@gmx.at>

	* window.c (select_window): New function.
	(Fselect_window): Call it.
	(inhibit_point_swap): Variable deleted.
	(Fset_window_configuration): Call select_window directly.

861 862 863 864
2011-01-22  Jan Djärv  <jan.h.d@swipnet.se>

	* nsterm.m (constrainFrameRect): Only constrain the first time called.

865 866
2011-01-21  Jan Djärv  <jan.h.d@swipnet.se>

867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884
	* nsterm.m (x_set_offset, windowDidMove): When calculating y, use first
	screen, not the window screen.
	(x_set_window_size): Remove constraints.
	Calculate origin.y only if zooming is 0 and without referring to a
	screen.
	(windowWillResize): Don't modify frameSize.
	(windowDidBecomeKey, mouseDown): Set dont_constrain to 1.
	(initFrameFromEmacs): Initialize ns_userRect.
	(windowShouldZoom): Set zooming to one.  Remove all other code.
	(windowWillUseStandardFrame): Move static ns_userRect to EmacsView.
	Zero it after restore.
	(constrainFrameRect): New method for EmacsWindow.
	(mouseDragged): Always post NSWindowDidResizeNotification after call to
	windowWillResize.

	* nsterm.h (ns_output): Add dont_constrain and zooming.
	(EmacsView): Add ns_userRect.

885 886 887
	* nsterm.m (keyDown): If ns_right_alternate_modifier is Qleft, check
	if ns_alternate_modifier is none.

888 889 890 891
2011-01-20  Jan Djärv  <jan.h.d@swipnet.se>

	* unexmacosx.c: Add comment about include order.

892 893
2011-01-20  Glenn Morris  <rgm@gnu.org>

894 895 896 897
	* minibuf.c (syms_of_minibuf) <read-expression-history>:
	Give it a doc string.
	* globals.h: Add Vread_expression_history.

898 899 900 901
	* macros.c (syms_of_macros) <kbd-macro-termination-hook>:
	Give it a doc string.
	* globals.h: Add Vkbd_macro_termination_hook.

902 903 904 905
2011-01-20  Chong Yidong  <cyd@stupidchicken.com>

	* fns.c (Fyes_or_no_p): Revert 2011-01-07 change, removing ARGS.

Paul Eggert's avatar
Paul Eggert committed
906 907 908 909 910 911 912 913
2011-01-19  Paul Eggert  <eggert@cs.ucla.edu>

	Fix X11 compilation failure.
	* globals.h (struct emacs_globals): Document f_Vselection_alist.
	* xselect.c (Vselection_alist): Remove declaration, moving its
	documentation to globals.h.  This fixes a compilation failure
	induced by the earlier change to globals.h today.

914 915
2011-01-19  Jan Djärv  <jan.h.d@swipnet.se>

916 917
	* unexmacosx.c: Include config.h before unistd.h (Bug#7859).

918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956
	* nsterm.m (ns_input_file, ns_input_font, ns_input_fontsize)
	(ns_input_line, ns_input_color, ns_input_text, ns_working_text)
	(ns_input_spi_name, ns_input_spi_arg)
	(ns_alternate_modifier, ns_right_alternate_modifier)
	(ns_command_modifier, ns_right_command_modifier, ns_control_modifier)
	(ns_right_control_modifier, ns_function_modifier)
	(ns_antialias_text, ns_confirm_quit): Move to globals.h.
	(Vx_toolkit_scroll_bars, x_use_underline_position_properties)
	(x_underline_at_descent_line): Remove declaration.
	(syms_of_nsterm): Remove & from DEFVAR_LISP and DEFVAR_BOOL.

	* nsselect.m (Vns_sent_selection_hooks, Vns_lost_selection_hooks
	(Vselection_alist, Vselection_converter_alist): Move to globals.h.
	(syms_of_nsselect): Remove & from DEFVAR_LISP.

	* nsmenu.m (Voverriding_local_map, Voverriding_local_map_menu_flag):
	Remove declaration.

	* nsfont.m (Vns_reg_to_script, ns_antialias_text): Move to
	globals.h.
	(syms_of_nsfont): Remove & from DEFVAR_LISP.

	* nsfns.m (Vmenu_bar_mode, Vtool_bar_mode): Remove declaration.
	(Vns_icon_type_alist, Vns_version_string): Move to globals.h.
	(syms_of_nsfns): Remove & from DEFVAR_LISP calls.

	* globals.h (struct emacs_globals): Add f_ns_input_file,
	f_ns_input_font, f_ns_input_fontsize, f_ns_input_line,
	f_ns_input_color, f_ns_input_text, f_ns_working_text,
	f_ns_input_spi_name, f_ns_input_spi_arg, f_ns_alternate_modifier,
	f_ns_right_alternate_modifier, f_ns_command_modifier,
	f_ns_right_command_modifier, f_ns_control_modifier,
	f_ns_right_control_modifier, f_ns_function_modifier,
	f_ns_antialias_text, f_ns_confirm_quit, f_Vns_icon_type_alist,
	f_Vns_version_string, f_Vns_sent_selection_hooks,
	f_Vns_lost_selection_hooks, f_Vselection_alist, f_Vns_reg_to_script
	and corresponding defines.


957 958 959 960
2011-01-19  Sam Steingold  <sds@gnu.org>

	* w32.c (check_windows_init_file): Remove declarations of
	Vwindow_system, Vload_path, Qfile_exists_p to fix compilation.
961
	* w32fns.c: Fix an error introduced by the previous patch.
962

963 964 965 966
2011-01-19  Tom Tromey  <tromey@redhat.com>

	* window.c: Fix error introduced by previous patch.

967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445
2011-01-18  Tom Tromey  <tromey@parfait>

	* globals.h: New file.
	* xterm.h (Vx_pixel_size_width_font_regexp): Remove declaration.
	* window.h (Vinitial_window_system, Vminibuf_scroll_window)
	(Vwindow_system_version): Remove declaration.
	* w32term.h (Vw32_enable_palette)
	(Vx_pixel_size_width_font_regexp): Remove declaration.
	* w32menu.c (Voverriding_local_map)
	(Voverriding_local_map_menu_flag): Remove declaration.
	* w32inevt.c (Vw32_alt_is_meta, Vw32_apps_modifier)
	(Vw32_capslock_is_shiftlock, Vw32_enable_caps_lock)
	(Vw32_enable_num_lock, Vw32_lwindow_modifier)
	(Vw32_pass_lwindow_to_system, Vw32_pass_rwindow_to_system)
	(Vw32_phantom_key_code, Vw32_recognize_altgr)
	(Vw32_rwindow_modifier, Vw32_scroll_lock_modifier)
	(w32_use_full_screen_buffer): Remove declaration.
	* w32.c (Vsystem_configuration, Vw32_downcase_file_names)
	(Vw32_generate_fake_inodes, Vw32_get_true_file_attributes)
	(w32_num_mouse_buttons, w32_pipe_read_delay): Remove declaration.
	* termopts.h (Vtruncate_partial_width_windows, inverse_video)
	(no_redraw_on_reenter, visible_bell): Remove declaration.
	* sysdep.c (Vsystem_name): Remove declaration.
	* syntax.h (parse_sexp_lookup_properties): Remove declaration.
	* menu.h (Vmenu_updating_frame): Remove declaration.
	* macros.h (Vexecuting_kbd_macro, executing_kbd_macro_index):
	Remove declaration.
	* lisp.h (Vafter_init_time, Vafter_load_alist)
	(Vauto_save_list_file_name, Vbefore_init_time, Vcommand_history)
	(Vcompletion_regexp_list, Vcurrent_load_list)
	(Vcurrent_prefix_arg, Vdata_directory, Vdebug_on_error)
	(Vdoc_directory, Vdoc_file_name, Vdynamic_library_alist)
	(Vexec_directory, Vexec_path, Vexec_suffixes)
	(Vface_font_rescale_alist, Vface_ignored_fonts, Vfeatures)
	(Vhelp_form, Vhistory_length, Vinhibit_field_text_motion)
	(Vinhibit_quit, Vinhibit_read_only, Vinhibit_redisplay)
	(Vinstallation_directory, Vinvocation_directory)
	(Vinvocation_name, Vload_file_rep_suffixes, Vload_history)
	(Vload_suffixes, Vmark_even_if_inactive, Vmemory_full)
	(Vmessage_log_max, Vobarray, Vprint_length, Vprint_level)
	(Vpurify_flag, Vquit_flag, Vsaved_region_selection)
	(Vscalable_fonts_allowed, Vselect_active_regions)
	(Vshell_file_name, Vstandard_input, Vstandard_output)
	(Vsystem_name, Vtemporary_file_directory, Vthrow_on_input)
	(Vtop_level, Vtty_erase_char, Vundo_outer_limit)
	(Vuser_login_name, Vwindow_scroll_functions)
	(Vwindow_system_version, Vx_no_window_manager)
	(Vx_resource_class, Vx_resource_name, baud_rate)
	(completion_ignore_case, debug_on_next_call, gc_cons_threshold)
	(history_delete_duplicates, inhibit_x_resources)
	(last_nonmenu_event, load_in_progress, max_specpdl_size)
	(minibuffer_auto_raise, print_escape_newlines, scroll_margin)
	(use_dialog_box, use_file_dialog): Remove declaration.  Include
	globals.h.
	* keymap.h (Voverriding_local_map)
	(Voverriding_local_map_menu_flag, meta_prefix_char): Remove
	declaration.
	* keyboard.h (Vdouble_click_time, Vfunction_key_map)
	(Vinput_method_function, Vkey_translation_map)
	(Vlucid_menu_bar_dirty_flag, Vthis_original_command)
	(do_mouse_tracking, extra_keyboard_modifiers)
	(num_nonmacro_input_events): Remove declaration.
	* intervals.h (Vchar_property_alias_alist)
	(Vdefault_text_properties, Vinhibit_point_motion_hooks)
	(Vtext_property_default_nonsticky): Remove declaration.
	* gtkutil.h (x_gtk_file_dialog_help_text)
	(x_gtk_show_hidden_files, x_gtk_use_old_file_dialog)
	(x_gtk_whole_detached_tool_bar): Remove declaration.
	* frame.h (Vdefault_frame_alist, Vframe_alpha_lower_limit)
	(Vmenu_bar_mode, Vmouse_highlight, Vterminal_frame)
	(Vtool_bar_mode, Vx_resource_class, Vx_resource_name)
	(focus_follows_mouse): Remove declaration.
	* fontset.h (Valternate_fontname_alist, Vfontset_alias_alist)
	(Vignore_relative_composition, Votf_script_alist)
	(Vuse_default_ascent, Vvertical_centering_font_regexp): Remove
	declaration.
	* font.h (Vfont_log): Remove declaration.
	* dosfns.h (Vdos_display_scancodes, Vdos_version)
	(Vdos_windows_version, dos_codepage, dos_country_code)
	(dos_decimal_point, dos_hyper_key, dos_keyboard_layout)
	(dos_keypad_mode, dos_super_key, dos_timezone_offset): Remove
	declaration.
	* disptab.h (Vglyph_table, Vstandard_display_table): Remove
	declaration.
	* dispextern.h (Vface_remapping_alist, Vglyphless_char_display)
	(Vmouse_autoselect_window, Voverflow_newline_into_fringe)
	(Vshow_trailing_whitespace, Vtool_bar_button_margin)
	(Vtool_bar_style, cursor_in_echo_area, display_hourglass_p)
	(inverse_video, mode_line_in_non_selected_windows)
	(tool_bar_button_relief, tool_bar_max_label_size)
	(underline_minimum_offset)
	(unibyte_display_via_language_environment, x_stretch_cursor_p):
	Remove declaration.
	* composite.h (Vauto_composition_function)
	(Vcomposition_function_table): Remove declaration.
	* commands.h (Vexecuting_kbd_macro)
	(Vminibuffer_local_completion_map)
	(Vminibuffer_local_filename_completion_map)
	(Vminibuffer_local_filename_must_match_map)
	(Vminibuffer_local_map, Vminibuffer_local_must_match_map)
	(Vminibuffer_local_ns_map, Vthis_command)
	(Vunread_command_events, cursor_in_echo_area)
	(last_command_event, last_nonmenu_event, unread_command_char):
	Remove declaration.
	* coding.h (Vcoding_system_for_read, Vcoding_system_for_write)
	(Vdefault_file_name_coding_system)
	(Vdefault_process_coding_system, Vfile_name_coding_system)
	(Vlast_coding_system_used, Vlocale_coding_system)
	(Vselect_safe_coding_system_function)
	(Vtranslation_table_for_input, coding_system_require_warning)
	(eol_mnemonic_dos, eol_mnemonic_mac, eol_mnemonic_undecided)
	(eol_mnemonic_unix, inherit_process_coding_system): Remove
	declaration.
	* charset.h (Vcharset_list, Vcurrent_iso639_language): Remove
	declaration.
	* character.h (Vauto_fill_chars, Vchar_direction_table)
	(Vchar_script_table, Vchar_width_table, Vprintable_chars)
	(Vscript_representative_chars, Vtranslation_table_vector)
	(Vunicode_category_table): Remove declaration.
	* ccl.h (Vfont_ccl_encoder_alist): Remove declaration.
	* buffer.h (Vafter_change_functions, Vbefore_change_functions)
	(Vdeactivate_mark, Vfirst_change_hook, Vtransient_mark_mode)
	(inhibit_modification_hooks): Remove declaration.
	* xterm.c (syms_of_xterm): Update.
	(Vx_alt_keysym, Vx_hyper_keysym, Vx_keysym_table)
	(Vx_meta_keysym, Vx_super_keysym, Vx_toolkit_scroll_bars)
	(x_mouse_click_focus_ignore_position)
	(x_underline_at_descent_line)
	(x_use_underline_position_properties): Remove.
	* xsmfns.c (syms_of_xsmfns): Update.
	(Vx_session_id, Vx_session_previous_id): Remove.
	* xsettings.c (syms_of_xsettings): Update.
	(Vxft_settings, use_system_font): Remove.
	* xselect.c (syms_of_xselect): Update.
	(Vselection_converter_alist, Vx_lost_selection_functions)
	(Vx_sent_selection_functions, x_selection_timeout): Remove.
	* xfns.c (syms_of_xfns): Update.
	(Vgtk_version_string, Vmotif_version_string)
	(Vx_cursor_fore_pixel, Vx_hourglass_pointer_shape)
	(Vx_max_tooltip_size, Vx_mode_pointer_shape)
	(Vx_no_window_manager, Vx_nontext_pointer_shape)
	(Vx_pixel_size_width_font_regexp, Vx_pointer_shape)
	(Vx_sensitive_text_pointer_shape)
	(Vx_window_horizontal_drag_shape, x_gtk_file_dialog_help_text)
	(x_gtk_show_hidden_files, x_gtk_use_old_file_dialog)
	(x_gtk_use_system_tooltips, x_gtk_whole_detached_tool_bar):
	Remove.
	* xfaces.c (syms_of_xfaces): Update.
	(Vface_default_stipple, Vface_font_rescale_alist)
	(Vface_ignored_fonts, Vface_new_frame_defaults)
	(Vface_remapping_alist, Vfont_list_limit)
	(Vscalable_fonts_allowed, Vtty_defined_color_alist): Remove.
	* xdisp.c (syms_of_xdisp): Update.
	(Vauto_resize_tool_bars, Vblink_cursor_alist)
	(Vdisplay_pixels_per_inch, Vfontification_functions)
	(Vframe_title_format, Vglobal_mode_string)
	(Vglyphless_char_display, Vhourglass_delay, Vhscroll_step)
	(Vicon_title_format, Vinhibit_redisplay)
	(Vline_number_display_limit, Vline_prefix)
	(Vmax_mini_window_height, Vmenu_bar_update_hook)
	(Vmenu_updating_frame, Vmessage_log_max)
	(Vmouse_autoselect_window, Vnobreak_char_display)
	(Voverlay_arrow_position, Voverlay_arrow_string)
	(Voverlay_arrow_variable_list, Vredisplay_end_trigger_functions)
	(Vresize_mini_windows, Vshow_trailing_whitespace)
	(Vtool_bar_border, Vtool_bar_button_margin, Vtool_bar_style)
	(Vtruncate_partial_width_windows, Vvoid_text_area_pointer)
	(Vwindow_scroll_functions, Vwindow_size_change_functions)
	(Vwindow_text_change_functions, Vwrap_prefix)
	(auto_raise_tool_bar_buttons_p, automatic_hscrolling_p)
	(debug_end_pos, display_hourglass_p, emacs_scroll_step)
	(highlight_nonselected_windows, hscroll_margin)
	(inhibit_eval_during_redisplay, inhibit_free_realized_faces)
	(inhibit_menubar_update, inhibit_try_cursor_movement)
	(inhibit_try_window_id, inhibit_try_window_reusing)
	(line_number_display_limit_width)
	(make_cursor_line_fully_visible_p, message_truncate_lines)
	(mode_line_inverse_video, multiple_frames, overline_margin)
	(scroll_conservatively, scroll_margin, tool_bar_button_relief)
	(tool_bar_max_label_size, underline_minimum_offset)
	(unibyte_display_via_language_environment, x_stretch_cursor_p):
	Remove.
	* window.c (syms_of_window): Update.
	(Vminibuf_scroll_window, Vother_window_scroll_buffer)
	(Vrecenter_redisplay, Vscroll_preserve_screen_position)
	(Vtemp_buffer_show_function, Vwindow_configuration_change_hook)
	(Vwindow_point_insertion_type, auto_window_vscroll_p)
	(mode_line_in_non_selected_windows, next_screen_context_lines)
	(window_min_height, window_min_width): Remove.
	(scroll_margin): Remove declaration.
	* w32term.c (syms_of_w32term): Update.
	(Vw32_capslock_is_shiftlock, Vw32_grab_focus_on_raise)
	(Vw32_recognize_altgr, Vw32_swap_mouse_buttons)
	(Vx_toolkit_scroll_bars, w32_num_mouse_buttons)
	(w32_use_visible_system_caret, x_underline_at_descent_line)
	(x_use_underline_position_properties): Remove.
	(Vcommand_line_args, Vsystem_name, extra_keyboard_modifiers):
	Remove declaration.
	* w32select.c (syms_of_w32select): Update.
	(Vnext_selection_coding_system, Vselection_coding_system): Remove.
	* w32proc.c (syms_of_ntproc): Update.
	(Vw32_downcase_file_names, Vw32_generate_fake_inodes)
	(Vw32_get_true_file_attributes, Vw32_quote_process_args)
	(Vw32_start_process_inherit_error_mode)
	(Vw32_start_process_share_console)
	(Vw32_start_process_show_window, w32_pipe_read_delay): Remove.
	(Vsystem_name): Remove declaration.
	* w32font.c (syms_of_w32font): Update.
	(Vw32_charset_info_alist): Remove.
	* w32fns.c (globals_of_w32fns, syms_of_w32fns): Update.
	(Vw32_alt_is_meta, Vw32_apps_modifier, Vw32_bdf_filename_alist)
	(Vw32_color_map, Vw32_enable_caps_lock, Vw32_enable_num_lock)
	(Vw32_enable_palette, Vw32_lwindow_modifier)
	(Vw32_pass_alt_to_system, Vw32_pass_lwindow_to_system)
	(Vw32_pass_rwindow_to_system, Vw32_phantom_key_code)
	(Vw32_rwindow_modifier, Vw32_scroll_lock_modifier)
	(Vx_cursor_fore_pixel, Vx_hourglass_pointer_shape)
	(Vx_max_tooltip_size, Vx_mode_pointer_shape)
	(Vx_no_window_manager, Vx_nontext_pointer_shape)
	(Vx_pixel_size_width_font_regexp, Vx_pointer_shape)
	(Vx_sensitive_text_pointer_shape)
	(Vx_window_horizontal_drag_shape, w32_ansi_code_page)
	(w32_enable_synthesized_fonts, w32_mouse_button_tolerance)
	(w32_mouse_move_interval)
	(w32_pass_extra_mouse_buttons_to_system)
	(w32_pass_multimedia_buttons_to_system, w32_quit_key)
	(w32_strict_fontnames, w32_strict_painting): Remove.
	(Vhourglass_delay, Vmenu_bar_mode, Vtool_bar_mode)
	(Vw32_recognize_altgr, Vwindow_system_version)
	(w32_num_mouse_buttons, w32_use_visible_system_caret): Remove
	declaration.
	* w32console.c (syms_of_ntterm): Update.
	(w32_use_full_screen_buffer): Remove.
	(Vtty_defined_color_alist): Remove declaration.
	* w16select.c (syms_of_win16select): Update.
	(Vnext_selection_coding_system, Vselection_coding_system): Remove.
	* undo.c (syms_of_undo): Update.
	(Vundo_outer_limit, Vundo_outer_limit_function)
	(undo_inhibit_record_point, undo_limit, undo_strong_limit):
	Remove.
	* textprop.c (syms_of_textprop): Update.
	(Vchar_property_alias_alist, Vdefault_text_properties)
	(Vinhibit_point_motion_hooks, Vtext_property_default_nonsticky):
	Remove.
	* terminal.c (syms_of_terminal): Update.
	(Vdelete_terminal_functions, Vring_bell_function): Remove.
	* term.c (syms_of_term): Update.
	(Vresume_tty_functions, Vsuspend_tty_functions)
	(no_redraw_on_reenter, system_uses_terminfo, visible_cursor):
	Remove.
	* syntax.c (syms_of_syntax): Update.
	(Vfind_word_boundary_function_table, multibyte_syntax_as_symbol)
	(open_paren_in_column_0_is_defun_start)
	(parse_sexp_ignore_comments, parse_sexp_lookup_properties)
	(words_include_escapes): Remove.
	* search.c (syms_of_search): Update.
	(Vinhibit_changing_match_data, Vsearch_spaces_regexp): Remove.
	* process.c (syms_of_process): Update.
	(Vprocess_adaptive_read_buffering, Vprocess_connection_type)
	(delete_exited_processes): Remove.
	* print.c (syms_of_print): Update.
	(Vfloat_output_format, Vprint_charset_text_property)
	(Vprint_circle, Vprint_continuous_numbering, Vprint_gensym)
	(Vprint_length, Vprint_level, Vprint_number_table)
	(Vstandard_output, print_escape_multibyte)
	(print_escape_newlines, print_escape_nonascii, print_quoted):
	Remove.
	* msdos.c (syms_of_msdos): Update.
	(Vdos_unsupported_char_glyph): Remove.
	(unibyte_display_via_language_environment): Remove declaration.
	* minibuf.c (syms_of_minibuf): Update.
	(Vcompletion_regexp_list, Vhistory_add_new_input)
	(Vhistory_length, Vminibuffer_completing_file_name)
	(Vminibuffer_completion_confirm)
	(Vminibuffer_completion_predicate, Vminibuffer_completion_table)
	(Vminibuffer_exit_hook, Vminibuffer_help_form)
	(Vminibuffer_history_position, Vminibuffer_history_variable)
	(Vminibuffer_prompt_properties, Vminibuffer_setup_hook)
	(Vread_buffer_function, Vread_expression_map)
	(completion_ignore_case, enable_recursive_minibuffers)
	(history_delete_duplicates, minibuffer_allow_text_properties)
	(minibuffer_auto_raise, read_buffer_completion_ignore_case):
	Remove.
	* marker.c (syms_of_marker): Update.
	(byte_debug_flag): Remove.
	* macros.c (syms_of_macros): Update.
	(Vexecuting_kbd_macro, executing_kbd_macro_index): Remove.
	* lread.c (syms_of_lread): Update.
	(Vafter_load_alist, Vbyte_boolean_vars)
	(Vbytecomp_version_regexp, Vcurrent_load_list)
	(Veval_buffer_list, Vload_file_name, Vload_file_rep_suffixes)
	(Vload_history, Vload_path, Vload_read_function)
	(Vload_source_file_function, Vload_suffixes, Vobarray)
	(Vold_style_backquotes, Vpreloaded_file_list, Vread_circle)
	(Vread_symbol_positions_list, Vread_with_symbol_positions)
	(Vsource_directory, Vstandard_input, Vuser_init_file, Vvalues)
	(force_load_messages, load_convert_to_unibyte)
	(load_dangerous_libraries, load_force_doc_strings)
	(load_in_progress): Remove.
	* keymap.c (syms_of_keymap): Update.
	(Vdefine_key_rebound_commands, Vemulation_mode_map_alists)
	(Vminibuffer_local_completion_map)
	(Vminibuffer_local_filename_completion_map)
	(Vminibuffer_local_filename_must_match_map)
	(Vminibuffer_local_map, Vminibuffer_local_must_match_map)
	(Vminibuffer_local_ns_map, Vminor_mode_map_alist)
	(Vminor_mode_overriding_map_alist, Vwhere_is_preferred_modifier):
	Remove.
	* keyboard.c (syms_of_keyboard): Update.
	(Vauto_save_timeout, Vcommand_error_function)
	(Vcommand_hook_internal, Vdeactivate_mark)
	(Vdeferred_action_function, Vdeferred_action_list)
	(Vdisable_point_adjustment, Vdouble_click_time)
	(Vecho_keystrokes, Venable_disabled_menus_and_buttons)
	(Vfunction_key_map, Vglobal_disable_point_adjustment)
	(Vhelp_char, Vhelp_event_list, Vhelp_form)
	(Vinput_method_function, Vinput_method_previous_message)
	(Vkey_translation_map, Vlast_event_frame)
	(Vlucid_menu_bar_dirty_flag, Vmenu_bar_final_items)
	(Vminibuffer_message_timeout, Voverriding_local_map)
	(Voverriding_local_map_menu_flag, Vpost_command_hook)
	(Vpre_command_hook, Vprefix_help_command)
	(Vsaved_region_selection, Vselect_active_regions)
	(Vshow_help_function, Vspecial_event_map, Vsuggest_key_bindings)
	(Vthis_command, Vthis_command_keys_shift_translated)
	(Vthis_original_command, Vthrow_on_input, Vtimer_idle_list)
	(Vtimer_list, Vtool_bar_separator_image_expression, Vtop_level)
	(Vtty_erase_char, Vunread_command_events)
	(Vunread_input_method_events, Vunread_post_input_method_events)
	(auto_save_interval, cannot_suspend, do_mouse_tracking)
	(double_click_fuzz, extra_keyboard_modifiers)
	(inhibit_local_menu_bar_menus, last_command_event)
	(last_input_event, last_nonmenu_event, menu_prompt_more_char)
	(menu_prompting, meta_prefix_char, num_input_keys)
	(num_nonmacro_input_events, polling_period, unread_command_char):
	Remove.
	* insdel.c (syms_of_insdel): Update.
	(Vcombine_after_change_calls, check_markers_debug_flag): Remove.
	* indent.c (syms_of_indent): Update.
	(indent_tabs_mode): Remove.
	* image.c (syms_of_image): Update.
	(Vimage_cache_eviction_delay, Vimage_types)
	(Vimagemagick_render_type, Vmax_image_size, Vx_bitmap_file_path)
	(cross_disabled_images): Remove.
	* fringe.c (syms_of_fringe): Update.
	(Vfringe_bitmaps, Voverflow_newline_into_fringe): Remove.
	* frame.c (syms_of_frame): Update.
	(Vdefault_frame_alist, Vdefault_frame_scroll_bars)
	(Vdelete_frame_functions, Vframe_alpha_lower_limit)
	(Vmake_pointer_invisible, Vmenu_bar_mode, Vmouse_highlight)
	(Vmouse_position_function, Vterminal_frame, Vtool_bar_mode)
	(Vx_resource_class, Vx_resource_name, focus_follows_mouse):
	Remove.
	* fontset.c (syms_of_fontset): Update.
	(Valternate_fontname_alist, Vfont_encoding_charset_alist)
	(Vfontset_alias_alist, Vignore_relative_composition)
	(Votf_script_alist, Vuse_default_ascent)
	(Vvertical_centering_font_regexp): Remove.
	* font.c (syms_of_font): Update.
	(Vfont_encoding_alist, Vfont_log, Vfont_slant_table)
	(Vfont_weight_table, Vfont_width_table): Remove.
	* fns.c (syms_of_fns): Update.
	(Vfeatures, use_dialog_box, use_file_dialog): Remove.
	* filelock.c (syms_of_filelock): Update.
	(Vtemporary_file_directory): Remove.
	* fileio.c (syms_of_fileio): Update.
	(Vafter_insert_file_functions, Vauto_save_include_big_deletions)
	(Vauto_save_list_file_name, Vauto_save_visited_file_name)
	(Vdefault_file_name_coding_system, Vfile_name_coding_system)
	(Vfile_name_handler_alist, Vinhibit_file_name_handlers)
	(Vinhibit_file_name_operation, Vset_auto_coding_function)
	(Vwrite_region_annotate_functions)
	(Vwrite_region_annotations_so_far)
	(Vwrite_region_post_annotation_function)
	(delete_by_moving_to_trash, write_region_inhibit_fsync): Remove.
	(Vw32_get_true_file_attributes): Remove declaration.
	* eval.c (syms_of_eval): Update.
	(Vdebug_ignored_errors, Vdebug_on_error, Vdebug_on_signal)
	(Vdebugger, Vinhibit_quit, Vmacro_declaration_function)
	(Vquit_flag, Vsignal_hook_function, Vstack_trace_on_error)
	(debug_on_next_call, debug_on_quit, debugger_may_continue)
	(max_lisp_eval_depth, max_specpdl_size): Remove.
	* emacs.c (syms_of_emacs): Update.
	(Vafter_init_time, Vbefore_init_time, Vcommand_line_args)
	(Vdynamic_library_alist, Vemacs_copyright, Vemacs_version)
	(Vinstallation_directory, Vinvocation_directory)
	(Vinvocation_name, Vkill_emacs_hook, Vpath_separator)
	(Vprevious_system_messages_locale, Vprevious_system_time_locale)
	(Vsystem_configuration, Vsystem_configuration_options)
	(Vsystem_messages_locale, Vsystem_time_locale, Vsystem_type)
	(inhibit_x_resources, noninteractive1): Remove.
	* editfns.c (syms_of_editfns): Update.
	(Vbuffer_access_fontified_property)
	(Vbuffer_access_fontify_functions, Vinhibit_field_text_motion)
	(Voperating_system_release, Vsystem_name, Vuser_full_name)
	(Vuser_login_name, Vuser_real_login_name): Remove.
	* dosfns.c (syms_of_dosfns): Update.
	(Vdos_display_scancodes, Vdos_version, Vdos_windows_version)
	(dos_codepage, dos_country_code, dos_decimal_point)
	(dos_hyper_key, dos_keyboard_layout, dos_keypad_mode)
	(dos_super_key, dos_timezone_offset): Remove.
	* doc.c (syms_of_doc): Update.
	(Vbuild_files, Vdoc_file_name): Remove.
	* dispnew.c (syms_of_display): Update.
	(Vglyph_table, Vinitial_window_system)
	(Vredisplay_preemption_period, Vstandard_display_table)
	(Vwindow_system_version, baud_rate, cursor_in_echo_area)
	(inverse_video, redisplay_dont_pause, visible_bell): Remove.
	* dired.c (syms_of_dired): Update.
	(Vcompletion_ignored_extensions): Remove.
	(Vw32_get_true_file_attributes): Remove declaration.
	* dbusbind.c (syms_of_dbusbind): Update.
	(Vdbus_debug, Vdbus_registered_buses)
	(Vdbus_registered_objects_table): Remove.
	* data.c (syms_of_data): Update.
	(Vmost_negative_fixnum, Vmost_positive_fixnum): Remove.
	* composite.c (syms_of_composite): Update.
	(Vauto_composition_function, Vauto_composition_mode)
	(Vcompose_chars_after_function, Vcomposition_function_table):
	Remove.
	* coding.c (syms_of_coding): Update.
	(Vcharset_revision_table, Vcoding_category_list)
	(Vcoding_system_alist, Vcoding_system_for_read)
	(Vcoding_system_for_write, Vcoding_system_list)
	(Vdefault_process_coding_system, Venable_character_translation)
	(Vfile_coding_system_alist, Vlast_code_conversion_error)
	(Vlast_coding_system_used, Vlatin_extra_code_table)
	(Vlocale_coding_system, Vnetwork_coding_system_alist)
	(Vprocess_coding_system_alist)
	(Vselect_safe_coding_system_function)
	(Vstandard_translation_table_for_decode)
	(Vstandard_translation_table_for_encode)
	(Vtranslation_table_for_input, coding_system_require_warning)
	(eol_mnemonic_dos, eol_mnemonic_mac, eol_mnemonic_undecided)
	(eol_mnemonic_unix, inherit_process_coding_system)
	(inhibit_eol_conversion, inhibit_iso_escape_detection)
	(inhibit_null_byte_detection): Remove.
	* cmds.c (syms_of_cmds): Update.
	(Vpost_self_insert_hook): Remove.
	* charset.c (syms_of_charset): Update.
	(Vcharset_list, Vcharset_map_path, Vcurrent_iso639_language)
	(inhibit_load_charset_map): Remove.
	* character.c (syms_of_character): Update.
	(Vauto_fill_chars, Vchar_direction_table, Vchar_script_table)
	(Vchar_width_table, Vprintable_chars)
	(Vscript_representative_chars, Vtranslation_table_vector)
	(Vunicode_category_table): Remove.
	* ccl.c (syms_of_ccl): Update.
	(Vcode_conversion_map_vector, Vfont_ccl_encoder_alist)
	(Vtranslation_hash_table_vector): Remove.
	* category.c (syms_of_category): Update.
	(Vword_combining_categories, Vword_separating_categories): Remove.
	* callproc.c (syms_of_callproc): Update.
	(Vconfigure_info_directory, Vdata_directory, Vdoc_directory)
	(Vexec_directory, Vexec_path, Vexec_suffixes)
	(Vinitial_environment, Vprocess_environment)
	(Vshared_game_score_directory, Vshell_file_name): Remove.
	* callint.c (syms_of_callint): Update.
	(Vcommand_debug_status, Vcommand_history, Vcurrent_prefix_arg)
	(Vmark_even_if_inactive, Vmouse_leave_buffer_hook): Remove.
	* bytecode.c (syms_of_bytecode): Update.
	(Vbyte_code_meter, byte_metering_on): Remove.
	* buffer.c (syms_of_buffer): Update.
	(Vafter_change_functions, Vbefore_change_functions)
	(Vchange_major_mode_hook, Vfirst_change_hook)
	(Vinhibit_read_only, Vkill_buffer_query_functions)
	(Vtransient_mark_mode, inhibit_modification_hooks): Remove.
	* alloc.c (syms_of_alloc): Update.
	(Vgc_cons_percentage, Vgc_elapsed, Vmemory_full)
	(Vmemory_signal_data, Vpost_gc_hook, Vpurify_flag)
	(cons_cells_consed, floats_consed, garbage_collection_messages)
	(gc_cons_threshold, gcs_done, intervals_consed)
	(misc_objects_consed, pure_bytes_used, string_chars_consed)
	(strings_consed, symbols_consed, vector_cells_consed): Remove.

	* lisp.h (DEFVAR_LISP, DEFVAR_LISP_NOPRO, DEFVAR_BOOL)
	(DEFVAR_INT): Assume global is in `globals'.
	* alloc.c (globals): Define.

1446 1447 1448 1449 1450
2011-01-18  Tom Tromey  <tromey@redhat.com>

	* image.c (Vimagemagick_render_type): Remove redundant
	definition.

1451 1452 1453 1454 1455 1456 1457
2011-01-18  Tom Tromey  <tromey@redhat.com>

	* xdisp.c (emacs_scroll_step): Rename from scroll_step.
	(try_scrolling): Rename argument to 'arg_scroll_conservatively'.
	(redisplay_window): Update.
	(syms_of_xdisp): Update.

1458 1459 1460 1461 1462 1463 1464 1465 1466
2011-01-18  Tom Tromey  <tromey@redhat.com>

	* gtkutil.h (x_gtk_use_old_file_dialog, x_gtk_show_hidden_files)
	(x_gtk_file_dialog_help_text, x_gtk_whole_detached_tool_bar):
	Declare.
	* gtkutil.c (xg_uses_old_file_dialog):
	(xg_get_file_with_chooser):
	(xg_tool_bar_detach_callback): Don't redeclare globals.

1467 1468 1469 1470 1471
2011-01-18  Tom Tromey  <tromey@redhat.com>

	* lisp.h (DEFVAR_BUFFER_DEFAULTS): New macro.
	* buffer.c (syms_of_buffer): Use DEFVAR_BUFFER_DEFAULTS.

1472 1473 1474 1475 1476 1477 1478 1479
2011-01-18  Paul Eggert  <eggert@cs.ucla.edu>

	* lisp.h (DECL_ALIGN): Define if HAVE_ATTRIBUTE_ALIGNED, not if
	defined __GNUC__.  ../configure now checks for this GCC feature,
	which is now also supported by IBM and Oracle compilers.
	(USE_LSB_TAG) [defined DECL_ALIGN]: Also define if defined __sun,
	since Solaris malloc returns mult-of-8.

1480
2011-01-18  Stefan Monnier  <monnier@iro.umontreal.ca>
1481 1482 1483

	* image.c (syms_of_image): Don't access XSYMBOL's internals directly.

Paul Eggert's avatar
Paul Eggert committed
1484
2011-01-17  Paul Eggert  <eggert@cs.ucla.edu>
Paul Eggert's avatar
Paul Eggert committed
1485

1486 1487 1488 1489 1490
	Give a name FLOAT_TO_STRING_BUFSIZE to the constant 350.
	* lisp.h (FLOAT_TO_STRING_BUFSIZE): New macro.
	* data.c (Fnumber_to_string): Use it.
	* print.c (float_to_string, print_object): Likewise.

Paul Eggert's avatar
Paul Eggert committed
1491 1492 1493 1494 1495 1496 1497 1498 1499 1500
	Include <unistd.h> unilaterally.
	* alloc.c, atimer.c, buffer.c, callproc.c, dired.c, dispnew.c, doc.c:
	* doprnt.c, editfns.c, emacs.c, fileio.c, filelock.c, fns.c:
	* getloadavg.c, getpagesize.h, gmalloc.c, image.c, keyboard.c:
	* lread.c, process.c, process.h, ralloc.c, regex.c, sysdep.c:
	* systty.h, term.c, termcap.c, xfns.c, xrdb.c, xselect.c, xsmfns.c:
	* xterm.c:
	Include <unistd.h> without worrying about HAVE_UNISTD_H, since
	unistd.h is always present now, possibly supplied by gnulib.

1501 1502
	* mktime.c: Remove; moving to ../lib.

Paul Eggert's avatar
Paul Eggert committed
1503 1504 1505
	Use gnulib's mktime module.
	* deps.mk (mktime.o): Remove rule.

Paul Eggert's avatar
Paul Eggert committed
1506 1507 1508 1509 1510 1511 1512
	Use gnulib's ftoastr module.
	* print.c: Include ftoastr.h.
	(FLT_RADIX, DBL_MANT_DIG, DBL_DIG, DBL_MIN, DOUBLE_DIGITS_BOUND):
	Remove; no longer needed.
	(float_to_string): Use dtoastr rather than rolling our own code,
	which had an off-by-one bug on non-IEEE hosts.

Paul Eggert's avatar
Paul Eggert committed
1513 1514 1515 1516 1517 1518
	Automate syncing from gnulib.
	* Makefile.in (lib): New macro.
	(ALL_CFLAGS): Add -I$(lib) -I$(srcdir)/../lib.
	($(lib)/libgnu.a): New rule.
	(temacs$(EXEEXT)): Also link $(lib)/libgnu.a.

1519 1520 1521 1522
	* xfns.c (x_real_positions): Fix signedness of local var 'ign'.
	XGetGeometry wants unsigned int *, not int *, for its last 4 args,
	so change the type of 'ign' to unsigned int from int.

1523 1524
	* regex.c (analyse_first): Remove unreachable 'continue' statement.

1525 1526 1527 1528
	* xterm.h (struct x_display_info): Remove stray semicolon.
	The extra semicolon didn't conform to the C standard.
	Problem reported by Sun cc.

1529 1530 1531 1532 1533 1534 1535
	* lisp.h: Redo flags and XSET slightly to avoid overflow diagnostics.
	These changes make compilation easier to follow with Sun cc.
	(ARRAY_MARK_FLAG): Make it signed, so that it can be assigned to
	EMACS_INT values without provoking overflow diagnostics.
	(PSEUDOVECTOR_FLAG): Likewise, for consistency.
	(XSET) [! USE_LSB_TAG]: Use unsigned left shift to avoid overflow
	diagnostic with signed left shift.
1536

1537 1538
	* fileio.c (make_temp_name): Remove unreachable code.

1539 1540 1541 1542
	* fontset.c (free_realized_fontset): Mark unreachable code with if (0).
	Previously it was marked by preceding it with "return;", but
	Sun cc complains about this.

1543 1544 1545 1546
	* coding.c (decode_coding_emacs_mule): Remove unreachable code.
	This is a typo left over from 2009-03-06T07:51:52Z!handa@m17n.org,
	which fixed Bug#2370.  Caught by Sun cc.

1547 1548 1549 1550 1551 1552 1553 1554
2011-01-15  Martin Rudalics  <rudalics@gmx.at>

	* window.c (inhibit_point_swap): New variable.
	(Fselect_window): If inhibit_point_swap is nonzero, avoid swapping
	point this time.
	(Fset_window_configuration): Set inhibit_point_swap to 1 instead
	of setting selected_window to nil (Bug#7728).

1555 1556
2011-01-11  Tassilo Horn  <tassilo@member.fsf.org>

Stefan Monnier's avatar
Stefan Monnier committed
1557 1558 1559
	* image.c (imagemagick_load_image, Finit_image_library):
	Free intermediate image after creating a MagickWand from it.
	Terminate MagickWand environment after image loading.
1560

1561 1562 1563 1564 1565 1566 1567
2011-01-10  Michael Albinus  <michael.albinus@gmx.de>

	* dbusbind.c (Fdbus_register_service): Raise an error in case of
	unexpected return values.
	(Fdbus_register_method): Remove connection initialization.

2011-01-10  Jan Moringen  <jan.moringen@uni-bielefeld.de>
1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583

	* dbusbind.c (QCdbus_request_name_allow_replacement): New symbol;
	used by Fdbus_register_service.
	(QCdbus_request_name_replace_existing): Likewise.
	(QCdbus_request_name_do_not_queue): Likewise.
	(QCdbus_request_name_reply_primary_owner): Likewise.
	(QCdbus_request_name_reply_in_queue): Likewise.
	(QCdbus_request_name_reply_exists): Likewise.
	(QCdbus_request_name_reply_already_owner): Likewise.
	(Fdbus_register_service): New function.
	(Fdbus_register_method): Use Fdbus_register_service to do the name
	registration.
	(syms_of_dbusbind): Add symbols dbus-register-service,
	:allow-replacement, :replace-existing, :do-not-queue,
	:primary-owner, :existing, :in-queue and :already-owner.

1584 1585 1586 1587 1588
2011-01-09  Chong Yidong  <cyd@stupidchicken.com>

	* gtkutil.c (update_frame_tool_bar): Don't advance tool-bar index
	when removing extra buttons.

1589 1590 1591 1592
2011-01-08  Chong Yidong  <cyd@stupidchicken.com>

	* fns.c (Fyes_or_no_p): Doc fix.

1593 1594 1595 1596
2011-01-08  Andreas Schwab  <schwab@linux-m68k.org>

	* fns.c (Fyes_or_no_p): Add usage.

Glenn Morris's avatar
Glenn Morris committed
1597 1598
2011-01-08  Glenn Morris  <rgm@gnu.org>

1599 1600 1601
	* makefile.w32-in ($(EMACS)):
	* Makefile.in (emacs$(EXEEXT)): -batch implies -q.

Glenn Morris's avatar
Glenn Morris committed
1602 1603 1604
	* xdisp.c (syms_of_xdisp) <Qrisky_local_variable>: Move from here...
	* emacs.c (syms_of_emacs) <Qrisky_local_variable>: ...to here.

1605 1606 1607 1608 1609
2011-01-07  Andreas Schwab  <schwab@linux-m68k.org>

	* image.c (imagemagick_load_image): Fix some resource leaks and
	error handling.

1610 1611 1612 1613
2011-01-07  Chong Yidong  <cyd@stupidchicken.com>

	* fns.c (Fyes_or_no_p): Accept format string args.

1614 1615 1616 1617 1618 1619 1620 1621 1622 1623
2011-01-07  Glenn Morris  <rgm@gnu.org>

	* emacs.c (no_site_lisp): New int.
	(USAGE1): Add --no-site-lisp, mention -Q uses it.
	(main): Set no_site_lisp.
	(standard_args): Add --no-site-lisp.
	* lisp.h (no_site_lisp): New int.
	* lread.c (init_lread): If no_site_lisp, don't re-add site-lisp
	directories to Vload_path.

1624 1625 1626 1627
2011-01-05  Andreas Schwab  <schwab@linux-m68k.org>

	* alloc.c (mark_stack): Use __builtin_unwind_init if available.

1628 1629
2011-01-04  Jan Moringen  <jan.moringen@uni-bielefeld.de>

Stefan Monnier's avatar
Stefan Monnier committed
1630
	* dbusbind.c (Fdbus_register_method): Add optional parameter
1631 1632
	dont_register_service.  Updated docstring accordingly.

1633 1634 1635 1636
2011-01-04  Glenn Morris  <rgm@gnu.org>

	* emacs.c (emacs_copyright): Update short copyright year to 2011.

1637 1638 1639 1640 1641
2011-01-03  Eli Zaretskii  <eliz@gnu.org>

	* image.c (png_jmpbuf): Remove definition.
	(my_png_error, png_load): Don't use png_jmpbuf.

1642 1643 1644 1645 1646
2011-01-02  Eli Zaretskii  <eliz@gnu.org>

	* keyboard.c (Vselect_active_regions): Doc fix.  (Bug#7702)

2011-01-02  Eli Zaretskii  <eliz@gnu.org>
1647 1648 1649 1650 1651 1652

	* image.c <Qlibpng_version>: New variable.
	(syms_of_image): Intern and staticpro it.  Set its value to the
	version of PNG library we were compiled with.
	(my_png_error, png_load): Avoid GCC warnings about direct access
	to png_ptr->jmpbuf.  (Bug#7716)
1653 1654 1655
	(png_jmpbuf): New macro.
	(my_png_error, png_load): Use it instead of #ifdef'ing according
	to PNG_LIBPNG_VER_MAJOR and PNG_LIBPNG_VER_MINOR.
1656

1657
2011-01-02  Stefan Monnier  <monnier@iro.umontreal.ca>
1658 1659 1660 1661

	* .gdbinit (xgetptr): Fix the union+lsb case.
	(xbacktrace): Fix the union case.

1662
2011-01-02  Stefan Monnier  <monnier@iro.umontreal.ca>
1663 1664 1665 1666

	* window.c (Fmove_to_window_line): Avoid abort when called in a buffer
	different from selected-window's.

1667
2011-01-02  Eli Zaretskii  <eliz@gnu.org>
1668

1669 1670 1671 1672
	* keyboard.c (parse_menu_item): Prepend "  " to the key sequence
	equivalent of a menu item when the key sequence is given by the
	`:keys' attribute.  (Bug#7662)

1673 1674 1675
	* xdisp.c (Fformat_mode_line): Doc fix: no need to state that only
	the basic faces are supported.

1676
2011-01-02  Jan Djärv  <jan.h.d@swipnet.se>
1677 1678 1679

	* xterm.c (x_check_fullscreen): Fix pixel/character mixup.

1680
2011-01-02  Eli Zaretskii  <eliz@gnu.org>
1681 1682 1683

	* xdisp.c (Fformat_mode_line): Fix last change.

1684
2011-01-02  Chong Yidong  <cyd@stupidchicken.com>
1685 1686 1687 1688

	* xdisp.c (Fformat_mode_line): Restrict the FACE argument to basic
	faces (Bug#7587).

1689
2011-01-02  Eli Zaretskii  <eliz@gnu.org>
1690 1691 1692

	* fileio.c (Fexpand_file_name): One more doc fix.

1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705
2011-01-01  Chong Yidong  <cyd@stupidchicken.com>

	* gtkutil.c (xg_get_tool_bar_widgets): Use NULL for a missing
	image or label in the container.
	(xg_make_tool_item): Replace VERT_ONLY arg with HORIZ, TEXT_IMAGE.
	(xg_show_toolbar_item): Function deleted.
	(xg_tool_item_stale_p): New function.
	(update_frame_tool_bar): Calculate tool-bar style once per call.
	Instead of hiding text labels, omit them.  Don't use
	xg_show_toolbar_item; create new GtkToolItems from scratch if
	necessary, instead of trying to re-use them.  This avoids an
	annoying animation when changing tool-bars.

1706 1707 1708 1709 1710 1711
2010-12-31  Jan Djärv  <jan.h.d@swipnet.se>

	* nsfns.m (ns_set_name_as_filename): Always use buffer name for
	title and buffer filename only for RepresentedFilename.
	Handle bad UTF-8 in buffer name (Bug#7517).

1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724
2010-12-30  Jan Djärv  <jan.h.d@swipnet.se>

	* coding.h (ENCODE_UTF_8): Remove "Used by ..." comment.

	* nsfns.m (ns_set_name_iconic): Remove.
	(ns_set_name_internal): New function (Bug#7517).
	(Vicon_title_format): Extern declare.
	(ns_set_name): Call ns_set_name_internal.
	(x_explicitly_set_name): Remove call to ns_set_name_iconic.
	(x_implicitly_set_name): Ditto.
	(x_set_title): Remove commet about EXPLICIT.  Call ns_set_name_internal.
	(ns_set_name_as_filename): Encode name with ENCODE_UTF_8 (Bug#7517).

1725 1726 1727 1728 1729
2010-12-29  Štěpán Němec  <stepnem@gmail.com>  (tiny change)

	* window.c (syms_of_window): Add missing defsubr for
	window-use-time.

1730 1731 1732 1733 1734
2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>

	* xterm.h (x_alloc_lighter_color_for_widget): Restore declaration.
	* xterm.c (x_alloc_lighter_color_for_widget): Restore.

Andreas Schwab's avatar
Andreas Schwab committed
1735 1736
2010-12-27  Andreas Schwab  <schwab@linux-m68k.org>

Andreas Schwab's avatar
Andreas Schwab committed
1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779
	* buffer.c: Remove unused declarations.
	* buffer.h: Likewise.
	* charset.h: Likewise.
	* composite.h: Likewise.
	* dispextern.h: Likewise.
	* dispnew.c: Likewise.
	* font.h: Likewise.
	* fontset.c: Likewise.
	* fontset.h: Likewise.
	* intervals.h: Likewise.
	* keymap.h: Likewise.
	* lisp.h: Likewise.
	* syntax.c: Likewise.
	* syntax.h: Likewise.
	* termhooks.h: Likewise.
	* window.h: Likewise.
	* xsettings.h: Likewise.
	* xterm.c: Likewise.
	* xterm.h: Likewise.

	* chartab.c (sub_char_table_ref): Make static.
	* dispnew.c (line_hash_code, required_matrix_height)
	(required_matrix_width): Likewise.
	* eval.c (interactive_p, apply_lambda): Likewise.
	* fns.c (string_make_multibyte, copy_hash_table, hash_clear):
	Likewise.
	* font.c (QCadstyle, QCregistry, font_make_spec)
	(font_parse_fcname, font_encode_char, font_at): Likewise.
	* frame.c (x_frame_get_arg): Likewise.
	* keymap.c (get_keyelt): Likewise.
	* lread.c (read_filtered_event): Likewise.
	* print.c (write_string_1): Likewise.
	* window.c (delete_window, window_height, window_width)
	(foreach_window): Likewise.
	* xrdb.c (x_get_customization_string, x_get_resource): Likewise.
	* xterm.c (x_scroll_bar_clear, xembed_set_info)
	(xembed_send_message): Likewise.

	* eval.c (run_hook_list_with_args): Delete.
	* font.c (font_unparse_gtkname, font_update_lface): Likewise.
	* terminal.c (get_terminal_param): Likewise.
	* xterm.c (x_alloc_lighter_color_for_widget): Likewise.

Andreas Schwab's avatar
Andreas Schwab committed
1780 1781
	* scroll.c: Fix comment.

Andreas Schwab's avatar
Andreas Schwab committed
1782 1783 1784 1785 1786 1787 1788 1789 1790
	* dispnew.c (add_window_display_history)
	(add_frame_display_history, glyph_row_slice_p)
	(find_glyph_row_slice, flush_stdout)
	(check_matrix_pointer_lossage, matrix_row)
	(check_matrix_invariants, check_window_matrix_pointers)
	(check_matrix_pointers, window_to_frame_vpos)
	(window_to_frame_hpos): Prototize.
	* textprop.c (erase_properties): Likewise.

1791 1792
2010-12-22  Stefan Monnier  <monnier@iro.umontreal.ca>

Stefan Monnier's avatar
Stefan Monnier committed
1793 1794 1795
	* print.c (PRINT_NUMBER_OBJECT, PRINT_NUMBER_STATUS): Remove.
	(print_preprocess): Fix handling of uninterned symbols in last change.

1796 1797 1798
	* print.c (print, print_preprocess, print_object): Use a hash table
	rather than a linear table for Vprint_number_table.

1799 1800 1801 1802
2010-12-20  Chong Yidong  <cyd@stupidchicken.com>

	* frame.c (focus_follows_mouse): Default to 0 (Bug#7269).

1803 1804 1805 1806 1807 1808 1809 1810 1811
2010-12-20  Chong Yidong  <cyd@stupidchicken.com>

	* keyboard.c (Vtool_bar_separator_image_expression): New variable.
	(parse_tool_bar_item): Use it to obtain image separators for
	displays not using native tool-bar separators.

	* xdisp.c (build_desired_tool_bar_string): Don't handle separators
	specially, since this is now done in parse_tool_bar_item.

1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840
2010-12-19  Stefan Monnier  <monnier@iro.umontreal.ca>

	Minor clean up to silence some gcc warnings.
	* window.c (Fset_window_buffer):
	* xterm.c (x_set_frame_alpha): Restructure code to silence
	compiler warning.
	(handle_one_xevent): Remove unused var `p'.
	(do_ewmh_fullscreen): Remove unused var `lval'.
	(xembed_set_info): Remove unused var `atom'.
	* textprop.c (Fremove_list_of_text_properties): Add braces to silence
	compiler warning.
	* fontset.c (fontset_id_valid_p, dump_fontset):
	* ftfont.c (ftfont_drive_otf): Modernize k&r declaration.
	* eval.c (Feval, Ffuncall): Avoid unneeded gotos.
	* dispnew.c (update_frame, update_frame_1): Compile the `do_pause'
	label only when it's used.
	* image.c (x_create_bitmap_from_xpm_data):
	* dispextern.h (x_create_bitmap_from_xpm_data): Use const char** like
	its callers.
	* coding.c (detect_coding_utf_16): Remove unused vars `src_base' and
	`consumed_chars'.
	(DECODE_EMACS_MULE_21_COMPOSITION): Remove unused var `charbuf_base'.
	(decode_coding_emacs_mule): Remove unused label `retry'.
	(detect_eol): Add parens to silence compiler warning.
	* alloc.c (bytes_used_when_reconsidered): Move to the #ifdef where
	it's used to silence the compiler.
	(make_number): Modernize k&r declaration.
	(mark_char_table): Add parens to silence compiler warning.

1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854
2010-12-17  Chong Yidong  <cyd@stupidchicken.com>

	* keyboard.c (parse_tool_bar_item): Allow menu separators in
	tool-bar maps.
	(menu_separator_name_p): New function, from gtkutil.c.
	(separator_names): Move from gtkutil.c.

	* keyboard.h (menu_separator_name_p): Add prototype.

	* gtkutil.c (XG_BIN_CHILD): New macro.
	(xg_get_menu_item_label, xg_update_menubar)
	(xg_update_menu_item, xg_tool_bar_menu_proxy)
	(xg_show_toolbar_item, update_frame_tool_bar): Use it.
	(separator_names, xg_separator_p): Move to keyboard.c.
1855 1856
	(create_menus, xg_update_submenu, update_frame_tool_bar):
	Use menu_separator_name_p.
1857 1858 1859 1860 1861 1862 1863

	* nsmenu.m (name_is_separator): Function deleted.
	(addItemWithWidgetValue): Use menu_separator_name_p.

	* w32menu.c (name_is_separator): Function deleted.
	(add_menu_item): Use menu_separator_name_p.

1864 1865 1866 1867 1868
2010-12-16  Jan Djärv  <jan.h.d@swipnet.se>

	* nsterm.m (ns_draw_window_cursor): If the cursor color is the
	same as the background, use the face forground as cursor.

Stefan Monnier's avatar
Stefan Monnier committed
1869
2010-12-13  Eli Zaretskii  <eliz@gnu.org>
1870 1871 1872

	* fileio.c (Fexpand_file_name): Doc fix.  (Bug#7617)

Stefan Monnier's avatar
Stefan Monnier committed
1873
2010-12-13  Eli Zaretskii  <eliz@gnu.org>
1874

1875 1876 1877 1878 1879 1880 1881 1882
	* xdisp.c (string_pos_nchars_ahead, c_string_pos)
	(face_before_or_after_it_pos, next_element_from_string)
	(next_element_from_c_string, produce_stretch_glyph): Remove unused
	calculations of maximum string length before calling
	string_char_and_length and STRING_CHAR_AND_LENGTH.
	(string_char_and_length): Update commentary: MAXLEN is no longer
	needed.

Stefan Monnier's avatar
Stefan Monnier committed
1883
2010-12-13  Jan Djärv  <jan.h.d@swipnet.se>
1884 1885 1886 1887 1888 1889 1890 1891 1892

	* keyboard.c (kbd_buffer_get_event): Construct SAVE_SESSION_EVENT
	as (Qsave_session arg).

	* xsmfns.c (smc_interact_CB): Set arg to Qnil.
	(smc_die_CB): Make an event with arg Qt.
	(Fhandle_save_session): If event has Qt as argument,
	call Fkill_emacs (Bug#7552).

Stefan Monnier's avatar
Stefan Monnier committed
1893 1894 1895 1896 1897
2010-12-13  Chong Yidong  <cyd@stupidchicken.com>

	* buffer.c (transient-mark-mode): Doc fix (Bug#7465).

2010-12-13  Jan Djärv  <jan.h.d@swipnet.se>
1898 1899 1900

	* xsmfns.c (smc_die_CB): Call Fkill_emacs (Bug#7552).

Stefan Monnier's avatar
Stefan Monnier committed
1901
2010-12-13  Chong Yidong  <cyd@stupidchicken.com>
1902 1903 1904 1905 1906 1907 1908 1909

	* dispextern.h (struct it): New member overlay_strings_charpos.

	* xdisp.c (next_overlay_string, load_overlay_strings): Record the
	charpos where we computed n_overlay_strings.
	(next_overlay_string): Load overlay strings at recorded position,
	which may not be the same as the iterator's charpos (Bug#7016).

Stefan Monnier's avatar
Stefan Monnier committed
1910
2010-12-13  Chong Yidong  <cyd@stupidchicken.com>
1911 1912 1913 1914

	* xdisp.c (try_scrolling): Avoid infloop if the first line is
	obscured due to a vscroll (Bug#7537).

Stefan Monnier's avatar
Stefan Monnier committed
1915
2010-12-13  Jan Djärv  <jhd@zeplinf.localdomain>
1916 1917 1918 1919 1920 1921 1922 1923

	* nsterm.h (FRAME_NS_TOOLBAR_HEIGHT): Rename to FRAME_TOOLBAR_HEIGHT.

	* nsterm.m (x_set_window_size, windowWillResize, initFrameFromEmacs):
	Use FRAME_TOOLBAR_HEIGHT.
	(x_set_offset): Handle XNegative and YNegative in
	f->size_hint_flags (Bug#7510).

1924 1925 1926 1927 1928 1929 1930 1931
2010-12-11  Eli Zaretskii  <eliz@gnu.org>

	* w32fns.c (Fx_show_tip): Call try_window with last argument
	TRY_WINDOW_IGNORE_FONTS_CHANGE.  Delete the TODO ifdef: problem
	solved.  Round up the tip height to an integral multiple of the
	frame's line height.  Add FRAME_COLUMN_WIDTH to the tip width.
	(Bug#7398)

1932 1933