ChangeLog.11 1.07 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
2011-03-07  Chong Yidong  <cyd@stupidchicken.com>

	* Version 23.3 released.

2011-03-07  Ben Key  <bkey76@gmail.com>

	* w32fns.c (FILE_NAME_COMBO_BOX, FILE_NAME_LIST): Define.
	(file_dialog_callback): Fix locating the window handle of the File Name
	text field.  After disabling it, set focus on the list control.
	(Fx_file_dialog): If only_dir_p is non-nil, set the text of the File
	Name text field to "Current Directory" if it does not already have
	another value.  (Bug#8181)

2011-03-07  Adrian Robert  <Adrian.B.Robert@gmail.com>

	* nsterm.m (ns_draw_window_cursor): Fix handling of "cursor_width"
	parameter for hbar cursors.  Based on a patch by Ben Key
	<bkey76@gmail.com>.

2011-03-06  Chong Yidong  <cyd@stupidchicken.com>

	* xdisp.c (redisplay_window): Revert incorrect logic in 2011-03-06
	change.

2011-03-06  Paul Eggert  <eggert@cs.ucla.edu>

	current_column: Now returns EMACS_INT, fixing some iftc
	that was introduced in the 2002-06-02 change "temporarily"; see
29
	<https://lists.gnu.org/r/emacs-devel/2002-06/msg00039.html>.
30 31 32 33 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
	* bytecode.c (Fbyte_code): Don't cast current_column () to int.
	* cmds.c (internal_self_insert): Likewise.
	* indent.c (Fcurrent_column): Likewise.
	* keymap.c (describe_command): Likewise.
	* minibuf.c (read_minibuf): Likewise.
	* indent.c (Fcurrent_indentation): Don't cast position_indentation ()
	to int.
	* xdisp.c (redisplay_internal, redisplay_window, decode_mode_spec):
	Likewise.
	* cmds.c (internal_self_insert): Declare locals to be EMACS_INT,
	not int or double, if they might contain a column number.
	* indent.c (current_column, Findent_to, indented_beyond_p):
	(compute_motion, vmotion): Likewise.
	* keymap.c (describe_command): Likewise.
	* xdisp.c (pint2str): Likewise.
	* indent.c (last_known_column): Now EMACS_INT, not int.
	* minibuf.c (minibuf_prompt_width): Likewise.
	* indent.c (current_column, current_column_1, position_indentation):
	Return EMACS_INT, not double.
	* lisp.h (current_column): Likewise.
	* indent.c (indented_beyond_p): Last arg is now EMACS_INT, not double.
	All callers changed.
	* lisp.h (indented_beyond_p): Likewise.

	* minibuf.c (minibuf_prompt, minibuf_prompt_width): Move here
	from xdisp.c, and make static, since these are used only here.
	* window.h, xdisp.c (minibuf_prompt, minibuf_prompt_width):
	Remove decls.

	* cmds.c (internal_self_insert): Reindent to match Emacs style.
	* xdisp.c (redisplay_window): Likewise.

	* xdisp.c: Rename or move local decls to avoid shadowing.
	(init_iterator, handle_fontified_prop, handle_single_display_spec):
	(message_dolog, message_with_string, redisplay_internal):
	(redisplay_window, try_window_reusing_current_matrix, try_window_id):
	(compute_line_metrics, highlight_trailing_whitespace, cursor_row_p):
	(display_line, display_string, rows_from_pos_range):
	(mouse_face_from_buffer_pos, note_mouse_highlight, expose_frame):
	Rename or move local decls.
	* xdisp.c (BUILD_GLYPHLESS_GLYPH_STRING): Omit unused local var.
	(produce_glyphless_glyph): Make a pointer "const"
	since it might point to immutable storage.
	(update_window_cursor): Now static, since it's not used elsewhere.
	(SKIP_GLYPHS): Remove unused macro.

2011-03-06  Michael Shields  <shields@msrl.com>  (tiny change)

	* window.c (Fnext_window): Doc fix.  (Bug#5567)

2011-03-05  Chong Yidong  <cyd@stupidchicken.com>

	* nsterm.m (ns_draw_window_cursor): Fix typo in 2011-02-23 commit.

2011-03-02  Ken Brown  <kbrown@cornell.edu>

	* sheap.c (STATIC_HEAP_SIZE): Increase to 13MB.

2011-03-02  Paul Eggert  <eggert@cs.ucla.edu>

	Work around some portability problems with symlinks.

	* fileio.c (Fmake_symbolic_link): Treat ENOSYS specially, and
	generate a special message for it.  Suggested by Eli Zaretskii in
94
	<https://lists.gnu.org/r/emacs-devel/2011-02/msg00995.html>.
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
	(Frename_file, Fmake_symbolic_link, Ffile_symlink_p):
	Simplify the code by assuming that the readlink and symlink calls
	exist, even if they always fail on this host.
	(Ffile_readable_p): Likewise, for fifos.
	* config.in: Regenerate.

2011-02-27  Chong Yidong  <cyd@stupidchicken.com>

	* frame.c (store_frame_param): Don't store value directly in
	buffer_list and buried_buffer_list; copy the list and remove dead
	buffers (Bug#7898).

2011-02-27  Eli Zaretskii  <eliz@gnu.org>

	* msdos.c (readlink) [DJGPP < 2.04]: New stub function.

	* msdos.h (readlink) [DJGPP < 2.04]: Declare prototype.

	* w32.c (symlink, readlink): New stub functions.

2011-02-27  Paul Eggert  <eggert@cs.ucla.edu>

	* scroll.c (CHECK_BOUNDS): #define only if GLYPH_DEBUG.
	This avoids a gcc warning in some configurations.

	* frame.c (x_set_screen_gamma): Rename local to avoid shadowing.

	* frame.h: Avoid gcc -Wmissing-prototypes diagnostics.
	(set_menu_bar_lines, x_get_resource_string): New decls.
	* msdos.c (set_menu_bar_lines): Omit decl.

	* dispextern.h (struct glyph): Make u.img_id int, not unsigned.
	It's always given int values and used as an int.  This suppresses
	a gcc "comparison of unsigned expression >= 0" warning in some
	configurations.

	* dispnew.c: Rename locals to avoid shadowing.
	(update_text_area, scrolling_window, update_frame_1): Rename locals.

2011-02-26  Paul Eggert  <eggert@cs.ucla.edu>

	* dispnew.c: Fix problems uncovered by gcc -Wstrict-prototypes.
	(copy_glyph_row_contents): Remove; not used.
	(frame_row_to_window, check_current_matrix_flags):
	(window_change_signal): Now static, since they're not used elsewhere.
	(check_current_matrix_flags): Surround with "#if 0", since its
	only use is in a comment.  Maybe both the comment and the "#if 0"
	stuff should be removed?

	* dispnew.c: Fix problem uncovered by gcc -Wunused-variable.
	(adjust_frame_glyphs_for_window_redisplay): Make 'w' local to the
	contexts that actually need it.

2011-02-26  Eli Zaretskii  <eliz@gnu.org>

	* s/msdos.h (HAVE_LSTAT): Define for DJGPP >= 2.04.
	(lstat): Define for DJGPP < 2.04.

2011-02-25  Paul Eggert  <eggert@cs.ucla.edu>

	* dired.c (Ffile_attributes): Increase size of modes from 10 to 12
	as per recent filemodestring API change.  Reported by Jonas Öster in
157
	<https://lists.gnu.org/r/emacs-devel/2011-02/msg01069.html>.
158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 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 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 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 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535

2011-02-23  Ben Key  <bkey76@gmail.com>

	* nsterm.m (ns_draw_window_cursor): Obey the cursor_width argument
	directly, for bar cursors.

2011-02-23  Chong Yidong  <cyd@stupidchicken.com>

	* xdisp.c (set_frame_cursor_types): Don't write an undefined value
	into the frame's cursor_width.

2011-02-23  Stefan Monnier  <monnier@iro.umontreal.ca>

	* print.c (print_object): Never print old-style backquotes.
	Obey escapeflag for hash tables as well.

2011-02-23  Kenichi Handa  <handa@m17n.org>

	* font.c (font_open_entity): Be sure to set scaled_pixel_size.
	(font_find_for_lface): Check if attrs[LFACE_HEIGHT_INDEX] is integer.

2011-02-22  Paul Eggert  <eggert@cs.ucla.edu>

	* dired.c (Ffile_attributes): Simplify and avoid #ifdef.

2011-02-22  Wolfgang Jenkner  <wjenkner@inode.at>  (tiny change)

	* lread.c (openp): Correct Boolean typo in last commit.

2011-02-22  Adrian Robert  <Adrian.B.Robert@gmail.com>

	* nsterm.m (EmacsView-keyDown:): Don't pass shift-only-modified
	key to Emacs, treat as unmodified (go to input manager processing).

2011-02-22  Paul Eggert  <eggert@cs.ucla.edu>

	Assume S_ISLNK etc. work, since gnulib supports this.
	* config.in: Regenerate.
	* dired.c (lstat): Remove.
	(file_name_completion): Assume S_ISDIR works.
	(file_name_completion_stat): Assume S_ISLNK works.
	Do not bother calling stat unless lstat says it's a symlink.
	* fileio.c (S_ISLNK, S_ISFIFO, S_ISREG, lstat): Remove.
	(Fcopy_file): Assume S_ISREG and S_ISLNK work.
	(check_writable, Ffile_writable_p, Fset_file_times):
	Assume S_ISDIR works.
	(Ffile_readable_p): Use S_IFIFO, not S_ISFIFO, to guess whether
	fifos exist.
	(Ffile_regular_p, Finsert_file_contents): Assume S_ISREG works.
	* filelock.c (S_ISLNK): Remove.
	* lread.c (openp): Assume S_ISDIR works.
	* xrdb.c (S_ISDIR): Remove.

2011-02-21  Eli Zaretskii  <eliz@gnu.org>

	* makefile.w32-in ($(BLD)/filemode.$(O)): Move recipe to
	lib/makefile.w32-in.
	($(BLD)/dired.$(O)): Depend on $(EMACS_ROOT)/lib/filemode.h.
	(GLOBAL_SOURCES): Remove filemode.c.
	(OBJ1): Remove $(BLD)/filemode.$(O).

2011-02-21  Paul Eggert  <eggert@cs.ucla.edu>

	Import filemode module from gnulib.
	* Makefile.in (base_obj): Remove filemode.o, as it's now in ../lib.
	* deps.mk (dired.o): Depend on ../lib/filemode.h, too.
	(filemode.o): Remove; this is now in ../lib.
	* dired.c: Include <filemode.h>.
	(filemodestring): Remove now-redundant decl.
	* config.in: Regenerate.

2011-02-20  Eli Zaretskii  <eliz@gnu.org>

	* makefile.w32-in ($(BLD)/fns.$(O)): Depend on
	$(EMACS_ROOT)/lib/md5.h and on stamp_BLD.

2011-02-20  Christoph Scholtes  <cschol2112@gmail.com>

	* makefile.w32-in: Remove md5.$(O).
	($(BLD)/md5.$(O)): Remove prerequisites, moved to
	lib/makefile.w32-in.

2011-02-20  Paul Eggert  <eggert@cs.ucla.edu>

	Import crypto/md5 and stdint modules from gnulib.
	* Makefile.in (base_obj): Remove md5.o, since this file
	is in lib now.
	* config.in: Regenerate.
	* md5.h, md5.h: Move to ../lib.
	* deps.mk (md5.o): Remove.
	(fns.o): Depend on ../lib/md5.h, not md5.h.

2011-02-19  Eli Zaretskii  <eliz@gnu.org>

	* termcap.c (tputs): Don't declare baud_rate.

	* s/msdos.h (strtold): Define to _strtold.

2011-02-18  Stefan Monnier  <monnier@iro.umontreal.ca>

	* process.c (Fstart_process, Fmake_serial_process)
	(Fmake_network_process, server_accept_connection):
	Use empty_unibyte_string.

	* alloc.c (make_unibyte_string): Don't SET_UNIBYTE redundantly.

	* lread.c (Qdir_ok): New constant.
	(syms_of_lread): Initialize it.
	(openp): Don't ignore directories if the predicate returns dir-ok.

2011-02-18  Eli Zaretskii  <eliz@gnu.org>

	* xdisp.c (display_line): Fix the change made for bug#7939.

	* terminal.c (create_terminal): Use default-keyboard-coding-system
	and default-terminal-coding-system to initialize coding systems of
	the new terminal.  (Bug#7840)

2011-02-18  Stefan Monnier  <monnier@iro.umontreal.ca>

	* lisp.h (BYTE_MARK_STACK): New macro.
	(mark_byte_stack): Only declare if BYTE_MARK_STACK is set.

	* bytecode.c (BYTE_MAINTAIN_TOP): New macros.
	(struct byte_stack): Only define `top' and `bottom' if used.
	(mark_byte_stack): Only define if used.
	(BEFORE_POTENTIAL_GC, AFTER_POTENTIAL_GC): Nullify if BYTE_MAINTAIN_TOP
	is not set.
	(Fbyte_code): Don't set `bottom' unless BYTE_MAINTAIN_TOP is set.

	* term.c (OUTPUT_IF): Use OUTPUT.

	* alloc.c (Fgarbage_collect): When using stack scanning, don't
	redundantly scan byte-code stacks, catchlist, and handlerlist.

2011-02-17  Jan Djärv  <jan.h.d@swipnet.se>

	* nsfns.m (Fx_create_frame, ns_set_name_as_filename)
	(Fns_read_file_name): Replace B_ with BVAR.

	* nsterm.m (ns_term_init): Use KVAR.

2011-02-16  Eli Zaretskii  <eliz@gnu.org>

	* msdos.c (internal_terminal_init): Use KVAR.

	* w32fns.c (Fx_create_frame): Use KVAR.

	* w32term.c (w32_create_terminal): Use KVAR.

	* s/ms-w32.h (MODE_LINE_BINARY_TEXT): Remove.
	(getloadavg): Declare prototype which was removed from lisp.h.

	* xdisp.c (decode_mode_spec): Don't use MODE_LINE_BINARY_TEXT.

	* fileio.c (Finsert_file_contents, Fwrite_region):
	Remove references to buffer_file_type.
	(syms_of_fileio): Don't intern and staticpro
	find-buffer-file-type.

	* callproc.c (syms_of_callproc): Remove references to
	buffer_file_type.

	* buffer.c (reset_buffer_local_variables): Don't set
	buffer_file_type.
	(init_buffer_once): Likewise.
	(syms_of_buffer): Don't define buffer-file-type.

	* buffer.h (struct buffer): Remove buffer_file_type.

2011-02-16  Tom Tromey  <tromey@parfait>

	* callint.c (Fcall_interactively): Update for change to field names.
	* doc.c (Fsubstitute_command_keys): Update for change to field names.
	* cmds.c (Fself_insert_command): Update for change to field names.
	* keymap.c (Fcurrent_active_maps, Fkey_binding)
	(Fdescribe_buffer_bindings): Update for change to field names.
	* macros.c (Fstart_kbd_macro, end_kbd_macro, Fend_kbd_macro)
	(store_kbd_macro_char, Fcall_last_kbd_macro, Fexecute_kbd_macro):
	Update for change to field names.
	* 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 for change to field names.
	* xfns.c (Fx_create_frame): Update for change to field names.
	* xterm.c (x_connection_closed, x_term_init): Update for change to
	field names.
	* term.c (term_get_fkeys_1, CONDITIONAL_REASSIGN, init_tty):
	Update for change to field names.
	* window.c (window_scroll_pixel_based, window_scroll_line_based):
	Update for change to field names.
	* frame.c (make_frame_without_minibuffer, Fhandle_switch_frame)
	(delete_frame): Update for change to field names.
	* 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.

2011-02-16  Tom Tromey  <tromey@redhat.com>

	* lisp.h (DEFVAR_BUFFER_DEFAULTS): Use BVAR.

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.

2011-02-16  Eli Zaretskii  <eliz@gnu.org>

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

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.
Glenn Morris's avatar
Glenn Morris committed
536 537
	* s/freebsd.h (HAVE_GETLOADAVG): Remove; gnulib now does this.
	* s/netbsd.h (HAVE_GETLOADAVG): Likewise.
538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 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 957 958 959 960 961 962 963 964 965 966 967 968
	* config.in: Regenerate.

2011-02-15  Eli Zaretskii  <eliz@gnu.org>

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

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).

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

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

	* 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.

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.

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

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

	* keyboard.h: Remove obsolete comment.

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_.

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.

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.

2011-02-12  Martin Rudalics  <rudalics@gmx.at>

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

2011-02-12  Jan Djärv  <jan.h.d@swipnet.se>

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

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).

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.

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)

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)

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

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

	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.

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.

2011-02-10  Glenn Morris  <rgm@gnu.org>

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

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

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

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.

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.

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.

2011-02-08  Kenichi Handa  <handa@m17n.org>

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

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.
	* casefiddle.c (casify_object, casify_region): Likewise.
	* search.c (Freplace_match, Fregexp_quote): Likewise.
	* alloc.c (make_string, make_specified_string, make_pure_string):
	Likewise.
	* data.c (Fstring_to_number): Likewise.
	* print.c (float_to_string, PRINTFINISH, printchar, strout):
	(print_object): Likewise.
	* editfns.c (init_editfns, Fchar_to_string, Fbyte_to_string):
	(Fuser_full_name, Fsubst_char_in_region, Ftranslate_region_internal):
	(Fformat): Likewise.
	* callint.c (Fcall_interactively): Likewise.
	* 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.
	* lread.c (read1, hash_string): Likewise.
	* process.c (read_process_output, send_process, Fprocess_send_region):
	Likewise.
	* callproc.c (Fcall_process): Likewise.
	* doprnt.c (doprnt): Likewise.
	* indent.c (compute_motion): Likewise.
	* xfont.c (xfont_decode_coding_xlfd): Likewise.
	* ralloc.c (resize_bloc): Likewise.
	* image.c (tiff_load): Likewise.
	* xml.c (make_dom, parse_region): Likewise.
	* character.c (strwidth): Make its argument const char *, not const
	unsigned char *, since more callers prefer it that way.  All callers
	changed.

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

	* 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.

	conform to C89 pointer rules

	* xterm.c (x_draw_fringe_bitmap, handle_one_xevent, x_bitmap_icon):
	(same_x_server, x_term_init):
	Change types between char * and unsigned char *, to satisfy C89
	rules about pointer type compatibility.
	* doc.c (get_doc_string, Fsnarf_documentation):
	(Fsubstitute_command_keys): Likewise.
	* xfns.c (Fx_open_connection, Fx_window_property): Likewise.
	* bitmaps/gray.xbm (gray_bits): Likewise.
	* image.c (xbm_read_bitmap_data, xbm_load_image, xbm_load): Likewise.
	* keyboard.c (echo_char, MULTI_LETTER_MOD, tty_read_avail_input):
	Likewise.
	* keymap.c (Ftext_char_description): Likewise.
	* minibuf.c (Fread_buffer): Likewise.
	* 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.
	* 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.
	* 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.

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.

2011-02-05  Glenn Morris  <rgm@gnu.org>

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

2011-02-05  Stefan Monnier  <monnier@iro.umontreal.ca>

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

2011-02-05  Kenichi Handa  <handa@m17n.org>

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

	* xftfont.c (xftfont_open): Likewise.

2011-02-05  Andreas Schwab  <schwab@linux-m68k.org>

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

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

	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.

	* charset.c: Conform to C89 pointer rules.
	(define_charset_internal): Switch between char * and unsigned char *.

	* 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.

	* 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.

	* 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.

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

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

	* 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.

Juanma Barranquero's avatar
Juanma Barranquero committed
969
	* deps.mk: Update for recent changes: GnuTLS support, gnulib
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 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 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 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 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
	imports, addition of globals.h.

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

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.

2011-02-03  Jan Djärv  <jan.h.d@swipnet.se>

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

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

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

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.

2011-02-01  Paul Eggert  <eggert@cs.ucla.edu>

	format-time-string now supports subsecond time stamp resolution
	* editfns.c (emacs_nmemftime): Rename 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.

2011-01-31  Andreas Schwab  <schwab@linux-m68k.org>

	* 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.

2011-01-31  Chong Yidong  <cyd@stupidchicken.com>

	* 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).

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

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

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

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.

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.

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

	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.

	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 *).

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

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

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.

2011-01-29  Chong Yidong  <cyd@stupidchicken.com>

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

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 `"'.

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).

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).

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).

2011-01-28  Kenichi Handa  <handa@m17n.org>

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

2011-01-28  Stefan Monnier  <monnier@iro.umontreal.ca>

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

2011-01-27  Chong Yidong  <cyd@stupidchicken.com>

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

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.

2011-01-26  Chong Yidong  <cyd@stupidchicken.com>

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

2011-01-25  Stefan Monnier  <monnier@iro.umontreal.ca>

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

2011-01-25  Chong Yidong  <cyd@stupidchicken.com>

	* lisp.h (XPNTR): Obey DATA_SEG_BITS in all non-USE_LSB_TAG cases.
	Remove unused case (Bug#6811).

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.

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

	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.

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

	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.

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.

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

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

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

	* 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.

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

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

	* unexmacosx.c: Add comment about include order.

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

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

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

2011-01-20  Chong Yidong  <cyd@stupidchicken.com>

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

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.

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

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

	* 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.

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.
	* w32fns.c: Fix an error introduced by the previous patch.

2011-01-19  Tom Tromey  <tromey@redhat.com>

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

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.

2011-01-18  Tom Tromey  <tromey@redhat.com>

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

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.

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.

2011-01-18  Tom Tromey  <tromey@redhat.com>

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

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.

2011-01-18  Stefan Monnier  <monnier@iro.umontreal.ca>

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

2011-01-17  Paul Eggert  <eggert@cs.ucla.edu>

	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.

	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.

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

	Use gnulib's mktime module.
	* deps.mk (mktime.o): Remove rule.

	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.

Glenn Morris's avatar
Glenn Morris committed
1840 1841
	* config.in: Regenerate.

1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195
	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.

	* 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.

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

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

	* 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.

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

	* 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.

	* 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.

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).

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

	* image.c (imagemagick_load_image, Finit_image_library):
	Free intermediate image after creating a MagickWand from it.
	Terminate MagickWand environment after image loading.

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>

	* 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.

2011-01-09  Chong Yidong  <cyd@stupidchicken.com>

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

2011-01-08  Chong Yidong  <cyd@stupidchicken.com>

	* fns.c (Fyes_or_no_p): Doc fix.

2011-01-08  Andreas Schwab  <schwab@linux-m68k.org>

	* fns.c (Fyes_or_no_p): Add usage.

2011-01-08  Glenn Morris  <rgm@gnu.org>

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

	* xdisp.c (syms_of_xdisp) <Qrisky_local_variable>: Move from here...
	* emacs.c (syms_of_emacs) <Qrisky_local_variable>: ...to here.

2011-01-07  Andreas Schwab  <schwab@linux-m68k.org>

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

2011-01-07  Chong Yidong  <cyd@stupidchicken.com>

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

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.

2011-01-05  Andreas Schwab  <schwab@linux-m68k.org>

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

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

	* dbusbind.c (Fdbus_register_method): Add optional parameter
	dont_register_service.  Updated docstring accordingly.

2011-01-04  Glenn Morris  <rgm@gnu.org>

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

2011-01-03  Eli Zaretskii  <eliz@gnu.org>

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

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>

	* 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)
	(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.

2011-01-02  Stefan Monnier  <monnier@iro.umontreal.ca>

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

2011-01-02  Stefan Monnier  <monnier@iro.umontreal.ca>

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

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

	* 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)

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

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

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

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

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

2011-01-02  Chong Yidong  <cyd@stupidchicken.com>

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

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

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

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.

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).

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).

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.

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.

2010-12-27  Andreas Schwab  <schwab@linux-m68k.org>

	* 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.

	* scroll.c: Fix comment.

	* 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.

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

	* print.c (PRINT_NUMBER_OBJECT, PRINT_NUMBER_STATUS): Remove.
	(print_preprocess): Fix handling of uninterned symbols in last change.

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

2010-12-20  Chong Yidong  <cyd@stupidchicken.com>

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

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.

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.

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.
	(create_menus, xg_update_submenu, update_frame_tool_bar):
	Use menu_separator_name_p.

	* 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.

2010-12-16  Jan Djärv  <jan.h.d@swipnet.se>

	* nsterm.m (ns_draw_window_cursor): If the cursor color is the
Juanma Barranquero's avatar
Juanma Barranquero committed
2196
	same as the background, use the face foreground as cursor.
2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243

2010-12-13  Eli Zaretskii  <eliz@gnu.org>

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

2010-12-13  Eli Zaretskii  <eliz@gnu.org>

	* 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.

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

	* 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).

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>

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

2010-12-13  Chong Yidong  <cyd@stupidchicken.com>

	* 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).

2010-12-13  Chong Yidong  <cyd@stupidchicken.com>

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

Jan Djärv's avatar
Jan Djärv committed
2244
2010-12-13  Jan Djärv  <jan.h.d@swipnet.se>
2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931

	* 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).

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)

2010-12-08  Glenn Morris  <rgm@gnu.org>

	* fileio.c (Fverify_visited_file_modtime): Default to current buffer.

2010-12-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	* xml.c (parse_region): Ignore blank HTML nodes.
	(make_dom): Return CDATA sections (like <style>foo</style>) as
	text nodes.

2010-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>

	* lread.c (read1): Allow newstyle unquote outside of backquote.
	Disallow old-style backquotes inside new-style backquotes.
	Don't count unquotes to figure out when we're "syntactically inside
	but semantically outside of a backquote" any more.
	Extend the restriction no-unescaped-commas-and-backquotes-in-symbols
	to all contexts.

2010-12-05  Chong Yidong  <cyd@stupidchicken.com>

	* process.c: Remove checks for HAVE_SYS_IOCTL_H (Bug#7484).

2010-12-04  Andreas Schwab  <schwab@linux-m68k.org>

	* Makefile.in (M_FILE): Substitute @M_FILE@ instead of @machfile@.
	(S_FILE): Substitute @S_FILE@ instead of @opsysfile@.
	* m/arm.h, m/sh3.h, m/xtensa.h: Remove files.

2010-12-03  Andreas Schwab  <schwab@linux-m68k.org>

	* lisp.h (union Lisp_Object): Explicitly declare signedness of
	bit-field.
	(XINT): Remove variant for EXPLICIT_SIGN_EXTEND.
	* m/alpha.h (EXPLICIT_SIGN_EXTEND): Don't define.
	* m/amdx86-64.h (EXPLICIT_SIGN_EXTEND): Likewise.
	* m/ia64.h (EXPLICIT_SIGN_EXTEND): Likewise.
	* m/ibms390.h (EXPLICIT_SIGN_EXTEND): Likewise.
	* m/ibms390x.h (EXPLICIT_SIGN_EXTEND): Likewise.
	* m/iris4d.h (EXPLICIT_SIGN_EXTEND): Likewise.
	* m/m68k.h (EXPLICIT_SIGN_EXTEND): Likewise.
	* m/sparc.h (EXPLICIT_SIGN_EXTEND): Likewise.
	* m/template.h (EXPLICIT_SIGN_EXTEND): Likewise.
	* m/hp800.h: Remove file.
	* m/mips.h: Remove file.

2010-12-03  Jan Djärv  <jan.h.d@swipnet.se>

	* nsterm.m (ns_dumpglyphs_image): If drawing cursor, fill background
	with cursor color and draw a rectangle around the image (Bug#7412).

2010-12-03  Andreas Schwab  <schwab@linux-m68k.org>

	* frame.c (x_set_font): Remove unused variable.

2010-12-02  Jan Djärv  <jan.h.d@swipnet.se>

	* nsmenu.m (update_frame_tool_bar): Remove NSLog on invalid image.

	* nsterm.m (ns_draw_glyph_string): Switch fore- and background if
	drawing text under filled box cursor (Bug#7479).

2010-11-27  Kenichi Handa  <handa@m17n.org>

	* charset.c (emacs_mule_charset): Make it an array of charset ID;
	i.e. integer.
	(Fdefine_charset_internal): Adjust for the above change.
	(init_charset_once): Likewise.

	* charset.h (emacs_mule_charset): Adjust the prototype.
	Delete duplicated extern.

	* coding.c (emacs_mule_char): Adjust for the change of
	emacs_mule_charset.

	* lread.c (read_emacs_mule_char): Adjust for the change of
	emacs_mule_charset.

2010-11-27  Eli Zaretskii  <eliz@gnu.org>

	* w32.c (_PROCESS_MEMORY_COUNTERS_EX): Don't define with versions
	of w32api >= 3.15.  (Bug#6989)  (Bug#7452)

2010-11-27  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	* alloc.c (mark_terminals): Ensure that the image cache is marked
	even if the terminal object was marked earlier (Bug#6301).

2010-11-21  Chong Yidong  <cyd@stupidchicken.com>

	* editfns.c (Fbyte_to_string): Signal an error arg is not a byte.

2010-11-27  Jan Djärv  <jan.h.d@swipnet.se>

	* gtkutil.c (menubar_map_cb): New function (Bug#7425).
	(xg_update_frame_menubar): Connect signal map to menubar_map_cb.
	Use 23 as menubar height if 0.  (Bug#7425).

2010-11-26  Eli Zaretskii  <eliz@gnu.org>

	* xdisp.c (set_message_1): Force paragraph direction in echo area
	be left-to-right.

	* keyboard.c (make_lispy_position): Put a meaningful value in yret
	when the click is on the header or mode line.

2010-11-25  Eli Zaretskii  <eliz@gnu.org>

	* xdisp.c (set_cursor_from_row): Don't forget to consider the
	`cursor' property of the first character in overlay strings.
	(Bug#7474)  (Bug#7481)

2010-11-24  Jan Djärv  <jan.h.d@swipnet.se>

	* nsterm.m (NSLeftControlKeyMask, NSLeftCommandKeyMask)
	(NSLeftAlternateKeyMask): New defines.
	(keyDown): Parse left and right keys separately (Bug#7458).
	Compare Left key masks exactly (Bug#7458).

2010-11-23  Eli Zaretskii  <eliz@gnu.org>

	* intervals.c (temp_set_point_both): Define before calling, to
	avoid GCC warnings.

2010-11-23  Dan Nicolaescu  <dann@ics.uci.edu>

	* nsmenu.m: Use #include <config.h> instead of "config.h".

	* term.c (Qglyphless_char,last_glyphless_glyph_frame)
	(last_glyphless_glyph_face_id, last_glyphless_glyph_merged_face_id):
	Move declarations ...
	* lisp.h (Qglyphless_char,last_glyphless_glyph_frame)
	(last_glyphless_glyph_face_id, last_glyphless_glyph_merged_face_id):
	... here.

	* emacs.c (gdb_use_union, gdb_valbits,gdb_gctypebits)
	(gdb_data_seg_bits, gdb_array_mark_flag, PVEC_FLAG)
	(gdb_pvec_type):
	* print.c (print_output_debug_flag):
	* lisp.h (debug_print): Mark as EXTERNALLY_VISIBLE.
	(safe_debug_print): New declaration.

	* xterm.c:
	* systty.h:
	* sound.c: Include <sys/ioctl.h> unconditionally.

2010-11-22  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	* alloc.c (mark_maybe_object): Return early if given a Lisp
	integer (Bug#6301).

2010-11-21  Ken Brown  <kbrown@cornell.edu>

	* sheap.c (STATIC_HEAP_SIZE): Revert previous change.

2010-11-21  Jan Djärv  <jan.h.d@swipnet.se>

	* nsterm.m (ns_right_command_modifier, ns_right_control_modifier):
	Define (Bug#7458).
	(NSRightCommandKeyMask, NSRightControlKeyMask): Define (Bug#7458).
	(EV_MODIFIERS): Check for NSRightCommandKeyMask and
	NSRightControlKeyMask also (Bug#7458).
	(keyDown): Ditto (Bug#7458).
	(syms_of_nsterm): Defvar ns-right-command-modifier and
	ns-right-control-modifier (Bug#7458).

2010-11-21  Dan Nicolaescu  <dann@ics.uci.edu>

	* sysdep.c (sys_subshell): Remove SET_EMACS_PRIORITY.
	* emacs.c (emacs_priority, syms_of_emacs): Remove emacs_priority.

	* intervals.h (temp_set_point, temp_set_point_both):
	* buffer.h (offset_intervals, copy_intervals): Remove INLINE.

2010-11-20  Ken Brown  <kbrown@cornell.edu>

	* sheap.c (STATIC_HEAP_SIZE): Increase to 13MB.

2010-11-20  Eli Zaretskii  <eliz@gnu.org>

	* term.c (produce_glyphless_glyph): Use \uNNNN, \UNNNNNN, or
	\xNNNNNN for hex-code display of glyphless characters.

2010-11-20  Jan Djärv  <jan.h.d@swipnet.se>

	* gtkutil.c (xg_make_tool_item): Take vert_only as argument.
	Set important to ! vert_only.
	(xg_show_toolbar_item): Don't show label horizontally if
	tool item isn't important.
	(update_frame_tool_bar): Get TOOL_BAR_ITEM_VERT_ONLY and pass it to
	xg_make_tool_item, or update important on existing tool item.

	* keyboard.c (QCvert_only): New variable.
	(parse_tool_bar_item): Check for QCvert_only.
	(syms_of_keyboard): Initialize QCvert_only.

	* dispextern.h (tool_bar_item_idx): Add TOOL_BAR_ITEM_VERT_ONLY.

2010-11-20  Eli Zaretskii  <eliz@gnu.org>

	* msdos.c (dos_rawgetc): Use gen_help_event, instead of doing the
	same in-line.

2010-11-20  Andreas Schwab  <schwab@linux-m68k.org>

	* xfaces.c (lookup_face): Make static.
	* dispnew.c (copy_row_except_pointers): Likewise.
	* syntax.c (dec_bytepos): Likewise.
	(inc_bytepos): Remove.
	* dispextern.h (lookup_face): Remove declaration.

2010-11-19  Eli Zaretskii  <eliz@gnu.org>

	* xdisp.c (set_cursor_from_row): Display cursor after all the
	glyphs that come from an overlay.  Don't overstep the last glyph
	when skipping glyphs from an overlay.  (Bug#6687)

2010-11-18  Dan Nicolaescu  <dann@ics.uci.edu>

	* alloc.c (refill_memory_reserve): Move declaration ...
	* lisp.h (refill_memory_reserve): ... here.

	* strftime.c (_strftime_copytm): Add declaration.

	* callproc.c (syms_of_callproc): Use intern_c_string.

	Move declarations from .c files to .h files.
	* process.c (timers_run):
	* minibuf.c (quit_char):
	* lread.c (read_emacs_mule_char):
	* keyboard.c (minibuf_level, message_enable_multibyte)
	(pending_malloc_warning):
	* insdel.c (Vselect_active_regions, Vsaved_region_selection)
	(Qonly): Remove declarations.
	* lisp.h (pending_malloc_warning, Vsaved_region_selection)
	(Vselect_active_regions):
	* keyboard.h (timers_run): Add declarations.

	* strftime.c (my_strftime_gmtime_r, my_strftime_localtime_r)
	(tm_diff): Convert definitions to standard C.
	(extra_args_spec_iso): Remove, unused.

2010-11-18  Jan Djärv  <jan.h.d@swipnet.se>

	* xsettings.c (init_gconf): Check HAVE_G_TYPE_INIT.

	* config.in (HAVE_G_TYPE_INIT): New symbol.

2010-11-18  Eli Zaretskii  <eliz@gnu.org>

	* lread.c (Fload): Mention `load-in-progress' and
	`load-file-name'.  (Bug#7346)

	* keyboard.c (kbd_buffer_nr_stored): Define only ifdef subprocesses.
	(kbd_buffer_store_event_hold, kbd_buffer_get_event)
	(tty_read_avail_input): Call kbd_buffer_nr_stored only ifdef
	subprocesses.  Use buffer_free only ifdef subprocesses.

	* process.c (init_process) [subprocesses]: Init kbd_is_on_hold in
	the subprocesses version, not in the non-subprocesses one.

	* Makefile.in: Don't use ## comment, it breaks the MSDOS build.

2010-11-17  Eli Zaretskii  <eliz@gnu.org>

	* xdisp.c (set_cursor_from_row): Fix cursor positioning in empty
	lines on text-mode terminals.  (bug#7417)

2010-11-17  Stefan Monnier  <monnier@iro.umontreal.ca>

	* xterm.c (get_current_wm_state): Rename from get_current_vm_state.
	(do_ewmh_fullscreen, x_handle_net_wm_state): Update callers.

2010-11-17  Kenichi Handa  <handa@m17n.org>

	* coding.c (Fset_terminal_coding_system_internal): Fix previous
	change (set charset-ID list instead of charset-symbol list).

2010-11-16  Chong Yidong  <cyd@stupidchicken.com>

	* keyboard.c (make_lispy_position): For text area clicks, record Y
	pixel position relative to the text area, excluding header line.
	Also change X and Y to Lisp_Objects, not pointers; don't return
	coordinate values via pointers.  Pass ON_TEXT_AREA coordinate to
	buffer_posn_from_coords counting from the start of the text area.
	(Fposn_at_x_y, make_lispy_event): Callers changed.

	* window.c (coordinates_in_window): Change X and Y to ints rather
	than pointers; don't return coordinates via pointers.
	(struct check_window_data): Change X and Y from pointers to ints.
	(window_from_coordinates): Remove args WX and WY; don't return
	coordinates via pointers.
	(Fcoordinates_in_window_p, window_from_coordinates):
	(check_window_containing, Fwindow_at): Callers changed.
	(window_relative_x_coord): New function.

	* window.h (window_from_coordinates, window_relative_x_coord):
	Update prototypes.

	* dispnew.c (buffer_posn_from_coords): Assume that X counts from
	the start of the text area.

	* xdisp.c (remember_mouse_glyph): Change window_from_coordinates
	call.  Use window_relative_x_coord.
	(note_mouse_highlight): Change window_from_coordinates call.

	* w32term.c (w32_read_socket):
	* msdos.c (dos_rawgetc):
	* xterm.c (handle_one_xevent): Likewise.

2010-11-16  Dan Nicolaescu  <dann@ics.uci.edu>

	* strftime.c (LOCALE_PARAM_DECL): Update for standard C.
	(LOCALE_PARAM, LOCALE_PARAM_PROTO): Remove, unused.
	(memcpy_lowcase, so_week_days, extra_args_spec, emacs_strftimeu):
	Convert definitions to standard C.
	* regex.c: Do not include <stdlib.h>, config.h does it.
	Include unistd.h.
	(xrealloc, init_syntax_once, re_match, regcomp, regexec)
	(regerror, regfree): Convert definitions to standard C.
	* mktime.c (my_mktime_localtime_r, ydhms_tm_diff, ranged_convert)
	(__mktime_internal): Convert definitions to standard C.

2010-11-15  Dan Nicolaescu  <dann@ics.uci.edu>

	* w32proc.c:
	* w32inevt.c:
	* w32heap.c:
	* w32.c: Remove config.h include guards.

	* callproc.c (child_setup): Reorder code to simplify #ifdefs.
	No code changes.

	* process.c: Include <sys/ioctl.h> unconditionally,
	keyboard.c already does it.

	* keyboard.c (pending_malloc_warning): Add const to match
	definition in alloc.c.
	(Fset_input_interrupt_mode): Simplify #ifdefs.

2010-11-15  Dan Nicolaescu  <dann@ics.uci.edu>

	Clean up systty.h macros.
	* systty.h (EMACS_GET_TTY_PGRP, EMACS_SET_TTY_PGRP, EMACS_GET_TTY)
	(EMACS_SET_TTY): Remove unneeded abstraction, instead inline the
	definition in all uses.
	(EMACS_TTY_TABS_OK): Remove, it has a single user.
	* sysdep.c (discard_tty_input, child_setup_tty)
	(init_sys_modes, tabs_safe_p, reset_sys_modes):
	* emacs.c (shut_down_emacs):
	* callproc.c (child_setup):
	* term.c (dissociate_if_controlling_tty): Inline removed macros.

	* data.c (sign_extend_temp, sign_extend_lisp_int): Remove, unused.

2010-11-14  Chong Yidong  <cyd@stupidchicken.com>

	* w32fns.c (Fx_create_frame):
	* nsfns.m (Fx_create_frame): Don't check for the cursorColor
	resource here; it's now done at startup.

2010-11-14  Jan Djärv  <jan.h.d@swipnet.se>

	* xterm.c (set_wm_state): Add Qnil to final cons.

	* xselect.c (x_send_client_event): Remove unused variables cons and
	size.

2010-11-14  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	* keyboard.c (modify_event_symbol): Add const to array elements of
	arg NAME_TABLE.
	(lispy_accent_keys, lispy_function_keys, lispy_multimedia_keys)
	(lispy_kana_keys, iso_lispy_function_keys, lispy_wheel_names)
	(lispy_wheel_names, lispy_drag_n_drop_names, modifier_names):
	Add const to array elements.
	(scroll_bar_parts): Make static.  Fix position of const.

	* w32fns.c (lispy_function_keys): Add const to extern.

	* w32inevt.c (lispy_function_keys): Likewise.

2010-11-14  Chong Yidong  <cyd@stupidchicken.com>

	* xfns.c (Fx_create_frame): Don't check for the cursorColor
	resource here; it's now done at startup.

2010-11-13  Dan Nicolaescu  <dann@ics.uci.edu>

	* xmenu.c: Make it clear that ../lwlib/lwlib.h is only needed for Motif.

	Fix compilation on Solaris.
	* sysdep.c: Do not #include <term.h>.
	(tputs): Add declaration, similar to what cm.c does.  (Bug#7178)

	* s/ms-w32.h (HAVE_TERMIOS_H): Do not undef, not used anymore.

2010-11-13  Jan Djärv  <jan.h.d@swipnet.se>

	* xterm.c (set_wm_state): Don't put Atom in cons, call
	make_fixnum_or_float on them first.
	(x_term_init): Initialize Xatom_net_supporting_wm_check and
	Xatom_net_supported correctly.

	* xselect.c (x_send_client_event): Move CHECK_STRING ...
	(Fx_send_client_event): to here.

2010-11-13  Martin Rudalics  <rudalics@gmx.at>

	* window.c (Fwindow_use_time): New function.

2010-11-13  Eli Zaretskii  <eliz@gnu.org>

	* xdisp.c (set_cursor_from_row): Fix cursor positioning on
	zero-width characters.

	* .gdbinit (pgx): Adapt to latest changes in `struct glyph'.

	* w32term.c (x_draw_glyphless_glyph_string_foreground): Draw the
	box before drawing the glyphs inside it.

	* xdisp.c (syms_of_xdisp) <glyphless-char-display>: Doc fix.

	* dispextern.h (enum glyphless_display_method):
	Rename GLYPHLESS_DISPLAY_HEXA_CODE to GLYPHLESS_DISPLAY_HEX_CODE.
	All users changed.

	* term.c (append_glyphless_glyph, produce_glyphless_glyph):
	Fix comments.
	(produce_glyphless_glyph): Enclose "U+nnnn" and "empty box"
	whitespace in "[]", to simulate a box.  Don't use uninitialized
	variable `width'.

2010-11-11  Julien Danjou  <julien@danjou.info>

	* xsettings.c (init_xsettings): Use already fetch atoms.

	* xsmfns.c (create_client_leader_window): Use SM_CLIENT_ID atom
	from dpyinfo.

	* xselect.c (Fx_send_client_event): Split and create
	x_send_client_event.

	* lisp.h: Do not EXFUN Fx_send_client_event.

	* xterm.c (x_set_frame_alpha): Use _NET_WM_WINDOW_OPACITY atom
	from dpyinfo.
	(wm_supports): Use atoms from dpyinfo.
	(do_ewmh_fullscreen): Use atoms from dpyinfo.
	(x_ewmh_activate_frame): Use atoms from dpyinfo.
	(xembed_set_info): Use atoms from dpyinfo.
	(x_term_init): Fetch _XEMBED_INFO, _NET_SUPPORTED,
	_NET_SUPPORTING_WM_CHECK, _NET_WM_WINDOW_OPACITY and
	_NET_ACTIVE_WINDOW, XSETTINGS  atoms.
	Get all atoms in one round-trip.
	(set_wm_state): Use x_send_client_event rather than
	Fx_send_client_event, using Atom directly.
	(x_ewmh_activate_frame): Ditto.
	(x_set_sticky): Pass atoms to set_wm_state.
	(do_ewmh_fullscreen): Ditto.

	* xterm.h (x_display_info): Add Xatom_net_supported,
	Xatom_net_supporting_wm_check, Xatom_net_active_window,
	Xatom_net_wm_window_opacity, Xatom_XEMBED_INFO, SM_CLIENT_ID.

	* xfns.c (Fx_show_tip): Fix typo in docstring.

2010-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>

	* cmds.c (Fself_insert_command): Don't call XFASTINT without checking
	it's not negative.

2010-11-10  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	* font.c (font_filter_properties): Add const to array elements of
	properties args.

	* font.h (font_filter_properties): Likewise.

	* ftfont.c (ftfont_booleans, ftfont_non_booleans): Add const to array
	elements.

	* w32font.c (w32font_booleans, w32font_non_booleans): Likewise.

2010-11-10  Michael Albinus  <michael.albinus@gmx.de>

	* dbusbind.c (QCdbus_type_unix_fd): New Lisp object.
	(XD_BASIC_DBUS_TYPE, xd_symbol_to_dbus_type, xd_signature)
	(xd_append_arg, xd_retrieve_arg): Support DBUS_TYPE_UNIX_FD.
	(Fdbus_call_method): Add DBUS_TYPE_UNIX_FD type mapping to doc string.
	(syms_of_dbusbind): Initialize QCdbus_type_unix_fd).

2010-11-10  Glenn Morris  <rgm@gnu.org>

	* emacs.c (syms_of_emacs) <system-type>: Doc fix.

2010-11-09  Eli Zaretskii  <eliz@gnu.org>

	* xfns.c (x_real_positions): Fix declaration-after-statement problem.

2010-11-09  Chong Yidong  <cyd@stupidchicken.com>

	* image.c (free_image): Don't garbage the frame here, since this
	function can be called while redisplaying (Bug#7210).
	(uncache_image): Garbage the frame here (Bug#6426).

2010-11-09  Jan Djärv  <jan.h.d@swipnet.se>

	* xfns.c (x_real_positions): Only use _NET_FRAME_EXTENTS if our
	parent is the root window.  Check this after traversing window tree.

	* xterm.c (x_term_init): Initialize Xatom_net_frame_extents.

	* xterm.h (struct x_display_info): Xatom_net_frame_extents is new.

	* xfns.c (x_real_positions): Try to get _NET_FRAME_EXTENTS first
	before traversing window tree (Bug#5721).

2010-11-07  Jan Djärv  <jan.h.d@swipnet.se>

	* xfns.c (set_machine_and_pid_properties): Let X set WM_CLIENT_MACHINE.

	* xdisp.c (note_mode_line_or_margin_highlight):
	Initialize Cursor to No_Cursor for HAVE_WINDOW_SYSTEM also.

2010-11-06  Eli Zaretskii  <eliz@gnu.org>

	* xfns.c (Fx_show_tip): If any of the tool-tip text lines is R2L,
	adjust width of tool-tip frame to the width of text, excluding the
	stretch glyph at the beginning of R2L glyph rows.

	* w32fns.c (Fx_show_tip): Likewise.

2010-11-06  Jan Djärv  <jan.h.d@swipnet.se>

	* nsfont.m: Include termchar for new mouse-highlight.
	(nsfont_draw): Use MOUSE_HL_INFO.

2010-11-05  Eli Zaretskii  <eliz@gnu.org>

	Unify mouse-highlight code for all GUI and TTY sessions.

	* term.c: Remove static mouse_face_* variables.  All users
	changed.
	(term_show_mouse_face, term_clear_mouse_face)
	(fast_find_position, term_mouse_highlight): Functions deleted.
	(tty_draw_row_with_mouse_face): New function.
	(term_mouse_movement): Call note_mouse_highlight instead of
	term_mouse_highlight.

	* nsterm.m (ns_update_window_begin, ns_update_window_end)
	(ns_update_end, x_destroy_window, ns_frame_up_to_date)
	(ns_dumpglyphs_box_or_relief, ns_maybe_dumpglyphs_background)
	(ns_dumpglyphs_image, ns_dumpglyphs_stretch)
	(ns_initialize_display_info, keyDown, mouseMoved, mouseExited):
	Replace Display_Info with Mouse_HLInfo everywhere where
	mouse_face_* members were accessed for mouse highlight purposes.

	* xterm.c (x_update_window_begin, x_update_window_end)
	(x_update_end, XTframe_up_to_date, x_set_mouse_face_gc)
	(handle_one_xevent, x_free_frame_resources, x_term_init):
	Replace Display_Info with Mouse_HLInfo everywhere where mouse_face_*
	members were accessed for mouse highlight purposes.

	* w32term.c (x_update_window_begin, x_update_window_end)
	(x_update_end, w32_read_socket, x_free_frame_resources)
	(w32_initialize_display_info): Replace Display_Info with
	Mouse_HLInfo everywhere where mouse_face_* members were accessed
	for mouse highlight purposes.

	* xdisp.c (show_mouse_face, note_mode_line_or_margin_highlight)
	(note_mouse_highlight) [HAVE_WINDOW_SYSTEM]: Don't run GUI code
	unless the frame is on a window-system.
	(get_tool_bar_item, handle_tool_bar_click)
	(note_tool_bar_highlight, draw_glyphs, erase_phys_cursor)
	(show_mouse_face, clear_mouse_face, coords_in_mouse_face_p)
	(note_mode_line_or_margin_highlight, note_mouse_highlight)
	(x_clear_window_mouse_face, cancel_mouse_face, expose_frame):
	Replace Display_Info with Mouse_HLInfo everywhere where
	mouse_face_* members were accessed for mouse highlight purposes.
	(coords_in_mouse_face_p): Move prototype out of the
	HAVE_WINDOW_SYSTEM conditional.
	(x_y_to_hpos_vpos, frame_to_window_pixel_xy): Move out of the
	HAVE_WINDOW_SYSTEM block.
	(try_window_id) [HAVE_GPM || MSDOS]:
	Call x_clear_window_mouse_face.
	(draw_row_with_mouse_face): Implementation for HAVE_WINDOW_SYSTEM
	systems.  Call tty_draw_row_with_mouse_face for TTY systems.
	(show_mouse_face): Call draw_row_with_mouse_face, instead of
	calling draw_glyphs directly.
	(show_mouse_face, clear_mouse_face, coords_in_mouse_face_p)
	(cursor_in_mouse_face_p, rows_from_pos_range)
	(mouse_face_from_buffer_pos, mouse_face_from_string_pos)
	(note_mode_line_or_margin_highlight, note_mouse_highlight)
	(x_clear_window_mouse_face, cancel_mouse_face): Move out of the
	HAVE_WINDOW_SYSTEM block.  Ifdef away window-system specific
	fragments.
	(note_mouse_highlight): Call popup_activated for MSDOS as well.
	Clear mouse highlight if pointer is over glyphs whose OBJECT is an
	integer.
	(mouse_face_from_buffer_pos): Add parentheses around && within ||.
	(x_consider_frame_title, tool_bar_lines_needed):
	Move prototypes to HAVE_WINDOW_SYSTEM-only part.
	(get_window_cursor_type): Move inside a HAVE_WINDOW_SYSTEM-only
	part.  Remove "#ifdef HAVE_WINDOW_SYSTEM" from body of function.
	(null_glyph_slice): Move declaration into HAVE_WINDOW_SYSTEM-only
	part.

	* dispnew.c (mirror_make_current): Set Y coordinate of the
	mode-line and header-line rows.
	(init_display): Setup initial frame's output_data for text
	terminal frames.

	* xmenu.c (popup_activated): Don't define on MSDOS, which now has
	its own definition on msdos.c.

	* msdos.c (show_mouse_face, clear_mouse_face)
	(fast_find_position, IT_note_mode_line_highlight)
	(IT_note_mouse_highlight): Functions deleted.
	(IT_frame_up_to_date, dos_rawgetc): Call note_mouse_highlight
	instead of IT_note_mouse_highlight.
	(draw_row_with_mouse_face, popup_activated): New functions.
	(dos_set_window_size, draw_row_with_mouse_face, IT_update_begin)
	(IT_update_end, IT_frame_up_to_date, internal_terminal_init)
	(dos_rawgetc): Replace Display_Info with Mouse_HLInfo everywhere
	where mouse_face_* members were accessed for mouse highlight
	purposes.

	* msdos.h (initialize_msdos_display): Add prototype.

	* frame.h (MOUSE_HL_INFO): New macro.

	* lisp.h (Mouse_HLInfo): New data type.

	* xterm.h (struct x_display_info):
	* w32term.h (struct w32_display_info):
	* nsterm.h (struct ns_display_info):
	* termchar.h (struct tty_display_info): Use it instead of
	mouse_face_* members.

	* dispextern.h (show_mouse_face, clear_mouse_face): Update type of
	1st argument.
	(frame_to_window_pixel_xy, note_mouse_highlight)
	(x_clear_window_mouse_face, cancel_mouse_face, clear_mouse_face)
	(show_mouse_face, cursor_in_mouse_face_p): Move prototypes out of
	HAVE_WINDOW_SYSTEM conditional.
	(draw_row_with_mouse_face): Declare prototype.
	(tty_draw_row_with_mouse_face): Declare prototype.

2010-11-05  Eli Zaretskii  <eliz@gnu.org>

	* term.c (append_glyphless_glyph, produce_glyphless_glyph):
	Remove unused variables.

2010-11-05  Adrian Robert  <Adrian.B.Robert@gmail.com>

	* nsterm.m (EmacsView-mouseExited:): Correct error in conditional
	logic pointed out by Eli Zaretskii.

2010-11-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	* coding.c (coding-category-list): Refer to set-coding-system-priority
	instead of the obsolete set-coding-priority in the doc string.

2010-11-04  Adrian Robert  <Adrian.B.Robert@gmail.com>

	* nsfont.m (nsfont_draw): Correct previous patch to return
	correct value.
	* nsimage.m (EmacsImage-setXBMColor:): Correct previous patch:
	don't change the method signature, change the return.

Chong Yidong's avatar
Chong Yidong committed
2932
2010-11-04  İsmail Dönmez  <ismail@namtrac.org>  (tiny change)
2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013