ChangeLog 1.04 MB
Newer Older
1 2 3 4
2011-02-08  Kenichi Handa  <handa@m17n.org>

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

5 6 7 8 9 10 11
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.
12
	* casefiddle.c (casify_object, casify_region): Likewise.
13
	* search.c (Freplace_match, Fregexp_quote): Likewise.
14 15
	* alloc.c (make_string, make_specified_string, make_pure_string):
	Likewise.
16
	* data.c (Fstring_to_number): Likewise.
17 18
	* print.c (float_to_string, PRINTFINISH, printchar, strout):
	(print_object): Likewise.
19 20 21
	* editfns.c (init_editfns, Fchar_to_string, Fbyte_to_string):
	(Fuser_full_name, Fsubst_char_in_region, Ftranslate_region_internal):
	(Fformat): Likewise.
22
	* callint.c (Fcall_interactively): Likewise.
23 24 25 26
	* 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.
27
	* lread.c (read1, hash_string): Likewise.
28 29
	* process.c (read_process_output, send_process, Fprocess_send_region):
	Likewise.
30
	* callproc.c (Fcall_process): Likewise.
31 32
	* doprnt.c (doprnt): Likewise.
	* indent.c (compute_motion): Likewise.
33
	* xfont.c (xfont_decode_coding_xlfd): Likewise.
34
	* ralloc.c (resize_bloc): Likewise.
35
	* image.c (tiff_load): Likewise.
36
	* xml.c (make_dom, parse_region): Likewise.
37 38 39
	* character.c (strwidth): Make its argument const char *, not const
	unsigned char *, since more callers prefer it that way.  All callers
	changed.
40

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

43 44 45 46
	* 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.

47 48 49 50
	conform to C89 pointer rules

	* xterm.c (x_draw_fringe_bitmap, handle_one_xevent, x_bitmap_icon):
	(same_x_server, x_term_init):
51 52
	Change types between char * and unsigned char *, to satisfy C89
	rules about pointer type compatibility.
53 54
	* doc.c (get_doc_string, Fsnarf_documentation):
	(Fsubstitute_command_keys): Likewise.
55 56
	* xfns.c (Fx_open_connection, Fx_window_property): Likewise.
	* bitmaps/gray.xbm (gray_bits): Likewise.
57
	* image.c (xbm_read_bitmap_data, xbm_load_image, xbm_load): Likewise.
58 59
	* keyboard.c (echo_char, MULTI_LETTER_MOD, tty_read_avail_input):
	Likewise.
60
	* keymap.c (Ftext_char_description): Likewise.
61
	* minibuf.c (Fread_buffer): Likewise.
62 63 64 65 66 67 68 69 70
	* 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.
71 72 73 74 75 76 77
	* 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.
78 79 80
	* 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.
81

Paul Eggert's avatar
Paul Eggert committed
82 83 84 85 86 87 88 89 90 91 92
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.

93
2011-02-05  Glenn Morris  <rgm@gnu.org>
94 95 96 97

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

98
2011-02-05  Stefan Monnier  <monnier@iro.umontreal.ca>
99 100 101 102

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

103
2011-02-05  Kenichi Handa  <handa@m17n.org>
104 105 106 107 108

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

	* xftfont.c (xftfont_open): Likewise.

109
2011-02-05  Andreas Schwab  <schwab@linux-m68k.org>
110 111 112

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

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

115 116 117 118 119
	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.

120 121 122
	* charset.c: conform to C89 pointer rules
	(define_charset_internal): Switch between char * and unsigned char *.

123 124 125 126
	* 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.

127 128 129 130 131 132 133 134
	* 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.

135 136 137 138 139
	* 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.

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

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

145 146 147 148 149 150
	* 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.

151 152 153
	* deps.mk: Update for recent changes: gnutls support, gnulib
	imports, addition of globals.h.

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

157 158 159 160 161 162 163 164 165 166 167 168 169
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.

170 171 172 173 174
2011-02-03  Jan Djärv  <jan.h.d@swipnet.se>

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

175 176 177 178 179
2011-02-01  Eli Zaretskii  <eliz@gnu.org>

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

180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195
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.

196 197 198 199 200 201 202 203 204 205
2011-02-01  Paul Eggert  <eggert@cs.ucla.edu>

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

206
2011-01-31  Andreas Schwab  <schwab@linux-m68k.org>
207 208 209 210 211 212

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

213
2011-01-31  Chong Yidong  <cyd@stupidchicken.com>
214 215 216 217 218 219 220

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

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

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

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

228 229 230 231 232 233
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.

234 235 236 237 238
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.

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

Paul Eggert's avatar
Paul Eggert committed
241 242 243 244 245 246 247 248 249 250
	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.

251 252 253 254 255 256 257 258 259
	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 *).

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

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

264 265 266 267 268 269
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.

270 271 272 273 274
2011-01-29  Chong Yidong  <cyd@stupidchicken.com>

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

275 276 277 278 279 280 281 282 283 284
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 `"'.

285 286 287 288 289 290 291
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).

292 293 294 295 296
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).

297 298 299 300 301 302
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).

303 304 305 306 307
2011-01-28  Kenichi Handa  <handa@m17n.org>

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

308 309 310 311
2011-01-28  Stefan Monnier  <monnier@iro.umontreal.ca>

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

312 313 314 315
2011-01-27  Chong Yidong  <cyd@stupidchicken.com>

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

316 317 318 319 320 321 322 323 324 325 326 327
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.

328 329 330 331
2011-01-26  Chong Yidong  <cyd@stupidchicken.com>

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

Glenn Morris's avatar
Glenn Morris committed
332
2011-01-25  Stefan Monnier  <monnier@iro.umontreal.ca>
333 334 335 336

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

Glenn Morris's avatar
Glenn Morris committed
337
2011-01-25  Chong Yidong  <cyd@stupidchicken.com>
338 339

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

342 343 344 345 346
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.

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

349 350 351 352 353
	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.

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

357 358 359 360 361 362 363
	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.

364 365 366 367 368 369 370
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.

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

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

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

377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394
	* 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.

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

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

	* unexmacosx.c: Add comment about include order.

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

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

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

412 413 414 415
2011-01-20  Chong Yidong  <cyd@stupidchicken.com>

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

Paul Eggert's avatar
Paul Eggert committed
416 417 418 419 420 421 422 423
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.

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

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

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


467 468 469 470
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.
471
	* w32fns.c: Fix an error introduced by the previous patch.
472

473 474 475 476
2011-01-19  Tom Tromey  <tromey@redhat.com>

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

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 536 537 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
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.

956 957 958 959 960
2011-01-18  Tom Tromey  <tromey@redhat.com>

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

961 962 963 964 965 966 967
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.

968 969 970 971 972 973 974 975 976
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.

977 978 979 980 981
2011-01-18  Tom Tromey  <tromey@redhat.com>

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

982 983 984 985 986 987 988 989
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.

990
2011-01-18  Stefan Monnier  <monnier@iro.umontreal.ca>
991 992 993

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

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

996 997 998 999 1000
	Give a name FLOAT_TO_STRING_BUFSIZE to the constant 350.
	* lisp.h (FLOAT_TO_STRING_BUFSIZE): New macro.
	* data.c (Fnumber_to_string): Use it.
	* print.c (float_to_string, print_object): Likewise.

Paul Eggert's avatar
Paul Eggert committed
1001 1002 1003 1004 1005 1006 1007 1008 1009 1010
	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.

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

Paul Eggert's avatar
Paul Eggert committed
1013 1014 1015
	Use gnulib's mktime module.
	* deps.mk (mktime.o): Remove rule.

Paul Eggert's avatar
Paul Eggert committed
1016 1017 1018 1019 1020 1021 1022
	Use gnulib's ftoastr module.
	* print.c: Include ftoastr.h.
	(FLT_RADIX, DBL_MANT_DIG, DBL_DIG, DBL_MIN, DOUBLE_DIGITS_BOUND):
	Remove; no longer needed.
	(float_to_string): Use dtoastr rather than rolling our own code,
	which had an off-by-one bug on non-IEEE hosts.

Paul Eggert's avatar
Paul Eggert committed
1023 1024 1025 1026 1027 1028
	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.

1029 1030 1031 1032
	* 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.

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

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

1039 1040 1041 1042 1043 1044 1045
	* 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.
1046

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

1049 1050 1051 1052
	* 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.

1053 1054 1055 1056
	* 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.

1057 1058 1059 1060 1061 1062 1063 1064
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).

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

Stefan Monnier's avatar
Stefan Monnier committed
1067 1068 1069
	* image.c (imagemagick_load_image, Finit_image_library):
	Free intermediate image after creating a MagickWand from it.
	Terminate MagickWand environment after image loading.
1070

1071 1072 1073 1074 1075 1076 1077
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>
1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093

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

1094 1095 1096 1097 1098
2011-01-09  Chong Yidong  <cyd@stupidchicken.com>

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

1099 1100 1101 1102
2011-01-08  Chong Yidong  <cyd@stupidchicken.com>

	* fns.c (Fyes_or_no_p): Doc fix.

1103 1104 1105 1106
2011-01-08  Andreas Schwab  <schwab@linux-m68k.org>

	* fns.c (Fyes_or_no_p): Add usage.

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

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

Glenn Morris's avatar
Glenn Morris committed
1112 1113 1114
	* xdisp.c (syms_of_xdisp) <Qrisky_local_variable>: Move from here...
	* emacs.c (syms_of_emacs) <Qrisky_local_variable>: ...to here.

1115 1116 1117 1118 1119
2011-01-07  Andreas Schwab  <schwab@linux-m68k.org>

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

1120 1121 1122 1123
2011-01-07  Chong Yidong  <cyd@stupidchicken.com>

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

1124 1125 1126 1127 1128 1129 1130 1131 1132 1133
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.

1134 1135 1136 1137
2011-01-05  Andreas Schwab  <schwab@linux-m68k.org>

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

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

Stefan Monnier's avatar
Stefan Monnier committed
1140
	* dbusbind.c (Fdbus_register_method): Add optional parameter
1141 1142
	dont_register_service.  Updated docstring accordingly.

1143 1144 1145 1146
2011-01-04  Glenn Morris  <rgm@gnu.org>

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

1147 1148 1149 1150 1151
2011-01-03  Eli Zaretskii  <eliz@gnu.org>

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

1152 1153 1154 1155 1156
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>
1157 1158 1159 1160 1161 1162

	* 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)
1163 1164 1165
	(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.
1166

1167
2011-01-02  Stefan Monnier  <monnier@iro.umontreal.ca>
1168 1169 1170 1171

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

1172
2011-01-02  Stefan Monnier  <monnier@iro.umontreal.ca>
1173 1174 1175 1176

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

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

1179 1180 1181 1182
	* 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)

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

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

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

1190
2011-01-02  Eli Zaretskii  <eliz@gnu.org>
1191 1192 1193

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

1194
2011-01-02  Chong Yidong  <cyd@stupidchicken.com>
1195 1196 1197 1198

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

1199
2011-01-02  Eli Zaretskii  <eliz@gnu.org>
1200 1201 1202

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

1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215
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.

1216 1217 1218 1219 1220 1221
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).

1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234
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).

1235 1236 1237 1238 1239
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.

1240 1241 1242 1243 1244
2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>

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

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

Andreas Schwab's avatar
Andreas Schwab committed
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
	* buffer.c: Remove unused declarations.
	* buffer.h: Likewise.
	* charset.h: Likewise.
	* composite.h: Likewise.
	* dispextern.h: Likewise.
	* dispnew.c: Likewise.
	* font.h: Likewise.
	* fontset.c: Likewise.
	* fontset.h: Likewise.
	* intervals.h: Likewise.
	* keymap.h: Likewise.
	* lisp.h: Likewise.
	* syntax.c: Likewise.
	* syntax.h: Likewise.
	* termhooks.h: Likewise.
	* window.h: Likewise.
	* xsettings.h: Likewise.
	* xterm.c: Likewise.
	* xterm.h: Likewise.

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

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

Andreas Schwab's avatar
Andreas Schwab committed
1290 1291
	* scroll.c: Fix comment.

Andreas Schwab's avatar
Andreas Schwab committed
1292 1293 1294 1295 1296 1297 1298 1299 1300
	* 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.

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

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

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

1309 1310 1311 1312
2010-12-20  Chong Yidong  <cyd@stupidchicken.com>

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

1313 1314 1315 1316 1317 1318 1319 1320 1321
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.

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

1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364
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.
1365 1366
	(create_menus, xg_update_submenu, update_frame_tool_bar):
	Use menu_separator_name_p.
1367 1368 1369 1370 1371 1372 1373

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

1374 1375 1376 1377 1378
2010-12-16  Jan Djärv  <jan.h.d@swipnet.se>

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

Stefan Monnier's avatar
Stefan Monnier committed
1379
2010-12-13  Eli Zaretskii  <eliz@gnu.org>
1380 1381 1382

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

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

1385 1386 1387 1388 1389 1390 1391 1392
	* xdisp.c (string_pos_nchars_ahead, c_string_pos)
	(face_before_or_after_it_pos, next_element_from_string)
	(next_element_from_c_string, produce_stretch_glyph): Remove unused
	calculations of maximum string length before calling
	string_char_and_length and STRING_CHAR_AND_LENGTH.
	(string_char_and_length): Update commentary: MAXLEN is no longer
	needed.

Stefan Monnier's avatar
Stefan Monnier committed
1393
2010-12-13  Jan Djärv  <jan.h.d@swipnet.se>
1394 1395 1396 1397 1398 1399 1400 1401 1402

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

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

Stefan Monnier's avatar
Stefan Monnier committed
1403 1404 1405 1406 1407
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>
1408 1409 1410

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

Stefan Monnier's avatar
Stefan Monnier committed
1411
2010-12-13  Chong Yidong  <cyd@stupidchicken.com>
1412 1413 1414 1415 1416 1417 1418 1419

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

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

Stefan Monnier's avatar
Stefan Monnier committed
1420
2010-12-13  Chong Yidong  <cyd@stupidchicken.com>
1421 1422 1423 1424

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

Stefan Monnier's avatar
Stefan Monnier committed
1425
2010-12-13  Jan Djärv  <jhd@zeplinf.localdomain>
1426 1427 1428 1429 1430 1431 1432 1433

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

1434 1435 1436 1437 1438 1439 1440 1441
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)

1442 1443 1444 1445
2010-12-08  Glenn Morris  <rgm@gnu.org>

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

1446 1447 1448 1449 1450 1451
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.

1452 1453 1454 1455 1456 1457 1458 1459 1460
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.

1461 1462 1463 1464
2010-12-05  Chong Yidong  <cyd@stupidchicken.com>

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

1465 1466 1467 1468 1469 1470
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.

Andreas Schwab's avatar
Andreas Schwab committed
1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487
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.

1488 1489 1490 1491 1492
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).

1493 1494 1495 1496
2010-12-03  Andreas Schwab  <schwab@linux-m68k.org>

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

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

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

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

1504
2010-11-27  Kenichi Handa  <handa@m17n.org>
1505 1506 1507

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

1511 1512
	* charset.h (emacs_mule_charset): Adjust the prototype.
	Delete duplicated extern.
1513 1514 1515 1516 1517 1518 1519

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

1520
2010-11-27  Eli Zaretskii  <eliz@gnu.org>
1521 1522 1523 1524

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

1525
2010-11-27  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
1526 1527 1528 1529

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

1530 1531 1532 1533
2010-11-21  Chong Yidong  <cyd@stupidchicken.com>

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

1534
2010-11-27  Jan Djärv  <jan.h.d@swipnet.se>
Jan Djärv's avatar
Jan Djärv committed
1535 1536 1537 1538 1539

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

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

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

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

1548 1549 1550 1551
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.
1552
	(Bug#7474)  (Bug#7481)
1553

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

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

1561 1562 1563 1564 1565
2010-11-23  Eli Zaretskii  <eliz@gnu.org>

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

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

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

1570 1571 1572 1573 1574 1575 1576
	* 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.

1577 1578 1579 1580 1581 1582 1583
	* 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.

1584 1585 1586 1587
	* xterm.c:
	* systty.h:
	* sound.c: Include <sys/ioctl.h> unconditionally.

1588 1589 1590 1591 1592
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).

1593 1594 1595 1596
2010-11-21  Ken Brown  <kbrown@cornell.edu>

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

1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607
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).

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

Dan Nicolaescu's avatar
Dan Nicolaescu committed
1610 1611 1612
	* sysdep.c (sys_subshell): Remove SET_EMACS_PRIORITY.
	* emacs.c (emacs_priority, syms_of_emacs): Remove emacs_priority.

Dan Nicolaescu's avatar