ChangeLog.10 980 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 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 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114
2007-04-24  Chong Yidong  <cyd@stupidchicken.com>

	* Branch for 22.1.

2007-04-24  Chong Yidong  <cyd@stupidchicken.com>

	* xdisp.c (redisplay_window): Use BEG_UNCHANGED and END_UNCHANGED
	values of the actual window.

2007-04-23  Richard Stallman  <rms@gnu.org>

	* process.c (Fstart_process): Doc fix.

2007-04-23  Eli Zaretskii  <eliz@gnu.org>

	* process.c (Fstart_process): Doc fix.

2007-04-22  Richard Stallman  <rms@gnu.org>

	* abbrev.c (Fdefine_abbrev): Doc fix.

	* keymap.c (Fdefine_key): Minor doc fix.

2007-04-21  Glenn Morris  <rgm@gnu.org>

	* keymap.c (Fdefine_key): Fix info ref in doc string.

2007-04-20  Glenn Morris  <rgm@gnu.org>

	* sysdep.c (init_system_name): Don't accept localhost.localdomain.

2007-04-19  Juanma Barranquero  <lekktu@gmail.com>

	* minibuf.c (Fminibuffer_contents, Fminibuffer_contents_no_properties)
	(Fminibuffer_completion_contents, Fdelete_minibuffer_contents):
	Doc fixes.

2007-04-16  Chong Yidong  <cyd@stupidchicken.com>

	* dispnew.c (adjust_frame_glyphs_for_frame_redisplay):
	Set garbaged flag in presence of window margins.
	(showing_window_margins_p): New function.

	* xdisp.c (cursor_row_p): Only end row on newline if it's a
	display string.  Suggested by Lennart Borgman.

2007-04-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	* alloc.c (mem_insert): Set min_heap_address and max_heap_address
	if they are not yet initialized.

2007-04-15  Chong Yidong  <cyd@stupidchicken.com>

	* xdisp.c (redisplay_window): When deciding whether or not to
	recenter, don't use the reset values of BEG_UNCHANGED and
	END_UNCHANGED.

2007-04-13  Kim F. Storm  <storm@cua.dk>

	* buffer.c (Fkill_buffer): gcpro BUF during kill_buffer_processes
	and check that buffer is still alive upon return.

2007-04-13  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	* macterm.c [!TARGET_API_MAC_CARBON]: Include Displays.h.
	(mac_screen_config_changed): New variable.
	(mac_handle_dm_notification, init_dm_notification_handler)
	(mac_get_screen_info): New functions.
	[MAC_OS8] (main): Call init_dm_notification_handler.
	(mac_initialize) [MAC_OSX]: Likewise.
	(XTread_socket): Call mac_get_screen_info if screen config changed.
	(mac_initialized): Make static.
	(mac_initialize_display_info): Remove function.
	(mac_term_init): Call mac_get_screen_info.  Add partial contents of
	mac_initialize_display_info.

2007-04-12  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	* mac.c (xrm_get_preference_database, Fmac_get_preference)
	[TARGET_API_MAC_CARBON]: Use CFPreferencesAppSynchronize.

	* macterm.c [TARGET_API_MAC_CARBON] (mac_post_mouse_moved_event):
	Use GetGlobalMouse instead of GetMouse and LocalToGlobal.
	(mac_initialize_display_info) [MAC_OSX]: Use CGRectZero.
	(mac_initialize_display_info) [!MAC_OSX]: dpyinfo->height and
	dpyinfo->width are those of whole screen.

2007-04-10  Chong Yidong  <cyd@stupidchicken.com>

	* xdisp.c (note_mode_line_or_margin_highlight): Don't decrement
	glyph pointer before start of glyph row.

2007-04-09  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	* s/darwin.h (__restrict, struct kboard): Remove outdated workarounds.
	(C_SWITCH_SYSTEM): Remove `-I../mac/src'.

2007-04-09  Martin Rudalics  <rudalics@gmx.at>

	* indent.c (Fmove_to_column): Set next_boundary with correct start pt.

2007-04-08  Richard Stallman  <rms@gnu.org>

	* xdisp.c (syms_of_xdisp) <message-log-max>: Default 100.

2007-04-07  Chong Yidong  <cyd@stupidchicken.com>

	* editfns.c (Ftranspose_regions): Validate interval before setting
	text properties.

2007-04-03  Eli Zaretskii  <eliz@gnu.org>

	* emacs.c (main): Fix instructions for building Emacs for profiling.

115
2007-04-03  Jan Djärv  <jan.h.d@swipnet.se>
116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 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

	* gtkutil.c (xg_update_menubar): Call g_list_next after moving
	menu bar item.

2007-04-02  Juanma Barranquero  <lekktu@gmail.com>

	* print.c (Fprin1_to_string): Use macro SPECPDL_INDEX.

2007-04-01  Chong Yidong  <cyd@stupidchicken.com>

	* keymap.c (Fcommand_remapping): New optional argument.
	(where_is_internal): Use new keymaps argument.
	(Fkey_binding): Caller changed.

	* keyboard.c (command_loop_1): Caller changed.

2007-03-31  Eli Zaretskii  <eliz@gnu.org>

	* window.c (Fget_lru_window): Doc fix.

2007-03-30  Chong Yidong  <cyd@stupidchicken.com>

	* undo.c (Fprimitive_undo): Give clearer error message when trying
	to change text properties outside accessible part of buffer.

2007-03-29  Kim F. Storm  <storm@cua.dk>

	* process.c (wait_reading_process_output) [HAVE_PTYS]:
	When EIO happens, clear channel from descriptor masks before raising
	SIGCHLD signal to avoid busy loop between read and sigchld_handler.
	(sigchld_handler): Remove sleep (2007-03-11 & 2007-03-26 changes).

2007-03-29  Juanma Barranquero  <lekktu@gmail.com>

	* buffer.c (Fset_buffer_major_mode): Check that BUFFER is valid.

	* process.c (Fformat_network_address): Return nil when the
	argument vector contains invalid values.

2007-03-28  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	* gmalloc.c [HAVE_GTK_AND_PTHREAD]: Define USE_PTHREAD.
	[USE_PTHREAD]: Include pthread.h.
	(malloc_init_once_control, _malloc_mutex) [USE_PTHREAD]: New variables.
	(malloc_initialize_1): New function created from __malloc_initialize.
	(__malloc_initialize): Use it.
	(LOCK, UNLOCK): New macros to make malloc etc. thread safe.
	(_malloc_internal, _free_internal, _realloc_internal): Use them.

	* lread.c (readchar): Extend BLOCK_INPUT block to ferror/clearerr.

2007-03-27  Juanma Barranquero  <lekktu@gmail.com>

	* process.c (Fformat_network_address): Make args array big enough
	to format IPv6 addresses.

2007-03-27  Glenn Morris  <rgm@gnu.org>

	* m/hp800.h: Restore HP-UX support (removed 2007-01-29).

2007-03-26  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	* macfns.c (Fx_display_mm_height, Fx_display_mm_width): Scale whole
	screen size in pixels by millimeters per pixel of main display.

	* macselect.c (get_scrap_target_type_list, x_own_selection):
	Move assignments outside predicate macros.
	(Vselection_converter_alist): Doc fix.

	* macterm.c (create_text_encoding_info_alist): Move assignments
	outside predicate macros.
	(mac_initialize_display_info) [MAC_OSX]: dpyinfo->height and
	dpyinfo->width are those of whole screen.

2007-03-26  Sam Steingold  <sds@gnu.org>

	* process.c (sigchld_handler): Delay by 1ms instead of 1s to
	alleviate sluggishness (the original problem is still fixed).

2007-03-25  Kim F. Storm  <storm@cua.dk>

	* intervals.c (merge_properties): Use explicit loop instead of
	Fplist_member to avoid QUIT.  Don't use Fcdr.
	(intervals_equal): Likewise.  Rewrite loop to perform length check
	on the fly rather than calling Flength.  Don't use Fcar.

2007-03-24  Eli Zaretskii  <eliz@gnu.org>

	* editfns.c (Fgoto_char): Doc fix.

	* indent.c (Findent_to): Doc fix.

2007-03-24  Chong Yidong  <cyd@stupidchicken.com>

	* editfns.c (Ftranspose_regions): Use set_text_properties_1
	instead of Fset_text_properties to avoid GC.  Signal after change.

2007-03-24  Eli Zaretskii  <eliz@gnu.org>

	* xfns.c (Fx_show_tip): Doc fix.

	* macfns.c (Fx_show_tip): Doc fix.

	* w32fns.c (Fx_show_tip): Doc fix.

2007-03-23  Kim F. Storm  <storm@cua.dk>

	* intervals.c (merge_properties, intervals_equal):
	Use Fplist_member instead of Fmemq to find properties.

2007-03-23  Glenn Morris  <rgm@gnu.org>

	* unexhp9k800.c: Restore file with clarified legal status.
	* m/sr2k.h: Restore since dependency unexhp9k800.c is restored.

2007-03-22  Chong Yidong  <cyd@stupidchicken.com>

	* widget.c (EmacsFrameSetCharSize): Catch X errors.

2007-03-22  Kenichi Handa  <handa@m17n.org>

	* fileio.c (Fcopy_file): Call barf_or_query_if_file_exists with
	non-encoded file name.
	(Frename_file): Likewise.
	(Fadd_name_to_file): Likewise.
	(Fmake_symbolic_link): Likewise.

2007-03-20  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	* Makefile.in (alloca.o, gtkutil.o): Depend on systime.h.
	(dired.o, editfns.o, fileio.o, msdos.o): Depend on atimer.h.
	(dosfns.o, window.o, fns.o, macselect.o): Depend on atimer.h and
	systime.h.
	(term.o, print.o, lread.o): Depend on blockinput.h, atimer.h, and
	systime.h.
	(macfns.o): Remove duplicate dependency on systime.h.

	* dispnew.c (Fopen_termscript): Add BLOCK_INPUT around fclose.
	(Fsend_string_to_terminal): Add BLOCK_INPUT around fwrite.

	* fileio.c (do_auto_save_unwind): Add BLOCK_INPUT around fclose.
	(Fdo_auto_save): Add BLOCK_INPUT around fwrite.

	* keyboard.c (record_char): Add BLOCK_INPUT around fwrite.
	(Fopen_dribble_file): Add BLOCK_INPUT around fclose.

	* lread.c: Include blockinput.h.
	(readchar, Fget_file_char): Add BLOCK_INPUT around getc.
	(unreadchar): Add BLOCK_INPUT around ungetc.
	(load_unwind): Add BLOCK_INPUT around fclose.

	* print.c: Include blockinput.h.
	(Fredirect_debugging_output): Add BLOCK_INPUT around fclose.

	* process.c (Fmake_network_process) [HAVE_GETADDRINFO]:
	Clear immediate_quit before calling freeaddrinfo.
	Add BLOCK_INPUT around freeaddrinfo.

	* term.c: Include blockinput.h.
	(write_glyphs, insert_glyphs): Add BLOCK_INPUT around fwrite.

2007-03-19  Richard Stallman  <rms@gnu.org>

	* keyboard.c (NUM_RECENT_KEYS): Bump up to 300.

	* buffer.c (syms_of_buffer): Doc fix.

2007-03-18  Chong Yidong  <cyd@stupidchicken.com>

	* image.c (pbm_load): Signal error for invalid image size.

2007-03-18  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	* macterm.c (note_mouse_movement): Don't return immediately for
	LeaveNotify case.

	* macmenu.c (popup_activated_flag): New variable.
	(x_activate_menubar, mac_menu_show): Set it during menu tracking.
	(popup_activated): New function.

	* xdisp.c (redisplay_internal, note_mouse_highlight):
	Check popup_activated for MAC_OS.

2007-03-17  Juanma Barranquero  <lekktu@gmail.com>

	* buffer.c (syms_of_buffer) <buffer-display-table>: Doc fix.
	Reported by Nikolaj Schumacher <n_schumacher@web.de>.

2007-03-17  Richard Stallman  <rms@gnu.org>

	* dired.c (file_name_completion): gcpro NAME.

2007-03-17  Chong Yidong  <cyd@stupidchicken.com>

	* xdisp.c (try_window_id): Increment matrix positions if the
	buffer's byte count has increased, but not the character count.

2007-03-12  Andreas Schwab  <schwab@suse.de>

	* lisp.h: Declare check_obarray.

	* process.c (Fdelete_process): Properly handle deletion of first
	element of deleted_pid_list.
	(create_process): Declare pid as pid_t.

2007-03-12  Kim F. Storm  <storm@cua.dk>

	* process.c (sigchld_handler): Change type of pid to pid_t.
	Scan deleted_pid_list explicitly to avoid using Fmember which don't
	know about mark bits and make_fixnum_or_float which may malloc.
	Reported by Andreas Schwab.

	* keyboard.c (read_key_sequence): Store original event into keybuf
	when replaying sequence with local keymap(s) from string.

2007-03-12  Glenn Morris  <rgm@gnu.org>

	* editfns.c (Fdecode_time, Fencode_time): Doc fix ("daylight
	savings" to "daylight saving").

2007-03-11  Sam Steingold  <sds@gnu.org>

	* process.c (sigchld_handler): Sleep before wait3 to avoid a busyloop.

2007-03-11  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	* macfns.c (Fx_server_vendor): Change vendor string to "Apple Inc.".

2007-03-10  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	* macterm.c [USE_CARBON_EVENTS] (mac_handle_mouse_event):
	Ignore mouse wheel movement on title bar or tool bar.

2007-03-10  Chong Yidong  <cyd@stupidchicken.com>

	* keyboard.c (help_form_saved_window_configs): New var.
	(read_char_help_form_unwind): New function.
	(read_char): Don't restore window configuration if a mouse click
	arrives while the help form is being displayed.

2007-03-10  Kim F. Storm  <storm@cua.dk>

	* xdisp.c (redisplay_window): Don't automatically select a new window
Juanma Barranquero's avatar
Juanma Barranquero committed
359
	start for a continuation line during mouse-click.
360

361
2007-03-09  Jan Djärv  <jan.h.d@swipnet.se>
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

	* xterm.c (handle_one_xevent): Ignore buttons > 3 for the tool bar.

2007-03-09  Juanma Barranquero  <lekktu@gmail.com>

	* keymap.c (Fdescribe_buffer_bindings): Check that BUFFER is valid.

2007-03-08  Richard Stallman  <rms@gnu.org>

	* keyboard.c (syms_of_keyboard): Doc fix.

2007-03-08  Chong Yidong  <cyd@stupidchicken.com>

	* minibuf.c (Ftry_completion): Don't short circuit if
	completion-ignore-case is non-nil.

2007-03-07  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	* macfns.c (mac_set_scroll_bar_width, mac_frame_parm_handlers):
	Undo 2006-03-06 changes.

	* macterm.c (XTset_vertical_scroll_bar) [MAC_OSX]: Don't show scroll
	bar if its width is smaller than that of Aqua small scroll bar.

2007-03-07  Stefan Monnier  <monnier@iro.umontreal.ca>

	* minibuf.c (read_minibuf): Bind inhibit-read-only a bit longer so as
	to handle correctly prompts with read-only property.

391
2007-03-06  Jan Djärv  <jan.h.d@swipnet.se>
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 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

	* sound.c (wav_play): Check header->data_length to see how much we
	shall read.
	(alsa_period_size): Convert ALSA period size in frames to bytes.
	(alsa_write): Return if frames is zero.

2007-03-06  Kenichi Handa  <handa@m17n.org>

	* xselect.c (Vselection_coding_system): Documentation improved.

2007-03-05  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	* macterm.c (x_scroll_bar_create, XTread_socket): Replace #if
	USE_TOOLKIT_SCROLL_BARS with #ifdef USE_TOOLKIT_SCROLL_BARS.
	(x_set_window_size): Call SET_FRAME_GARBAGED.  Clear window if
	internal border width has changed.

	* macterm.h (struct mac_output): New member `internal_border_width'.

2007-03-04  Richard Stallman  <rms@gnu.org>

	* window.c (Fdisplay_buffer): Doc fix.

2007-03-03  Glenn Morris  <rgm@gnu.org>

	* Makefile.in: Don't clear out LIB_X11_LIB, since XFT_LIBS does
	not include -lX11 on Solaris.

2007-03-02  Stuart D. Herring  <herring@lanl.gov>

	* keymap.c (Fkey_binding): Don't consider one-element lists as events.

2007-03-01  Kenichi Handa  <handa@m17n.org>

	* process.c (send_process_object): Check the process status and
	signal an error if something is wrong.

2007-02-28  Chong Yidong  <cyd@stupidchicken.com>

	* insdel.c (Fcombine_after_change_execute): Return nil if
	combine_after_change_buffer has been invalidated.

2007-02-25  Dan Nicolaescu  <dann@ics.uci.edu>

	* m/xtensa.h: New file.

2007-02-24  Nick Roberts  <nickrob@snap.net.nz>

	* .gdbinit (xprintstr): Ensure GDB (> 6.6) prints symbol name
	as strings and not character arrays.

2007-02-24  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	* macterm.c [USE_TOOLKIT_SCROLL_BARS] (x_scroll_bar_handle_drag)
	(x_set_toolkit_scroll_bar_thumb): Add bar->min_handle as margin to
	scroll bar handle size in order to avoid `scroll backward' problem.
	(x_scroll_bar_create, XTset_vertical_scroll_bar)
	[USE_TOOLKIT_SCROLL_BARS]: Initialize bar->min_handle.

	* macterm.h (struct scroll_bar) [USE_TOOLKIT_SCROLL_BARS]:
	New member `min_handle'.

2007-02-23  Kim F. Storm  <storm@cua.dk>

	* print.c (print): Reset print_number_index if Vprint_number_table
	is nil.

2007-02-23  Eli Zaretskii  <eliz@gnu.org>

	* w32.c (stat, get_long_basename, is_unc_volume): Use _mbspbrk
	instead of strpbrk.

2007-02-23  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	* macmenu.c (mac_menu_show): Call unbind_to early.  Use variable
	`menu_item_selection' as in W32 version.
	[TARGET_API_MAC_CARBON] (mac_handle_dialog_event): Add explicit
	braces to avoid ambiguous `else'.

	* macterm.c (mac_display_info_for_display): Remove function.
	(mac_flush_display_optional) [USE_CG_DRAWING]: New function.
	(x_redisplay_interface) [USE_CG_DRAWING]: Set it as handler for
	flush_display_optional.
	[USE_TOOLKIT_SCROLL_BARS] (x_scroll_bar_handle_press):
	New argument MOUSE_POS.  All uses changed.  Set bar->dragging to
	negative integer if scroll bar handle is pressed.
	[USE_TOOLKIT_SCROLL_BARS] (x_scroll_bar_handle_release):
	Negative bar->dragging means scroll bar handle is not dragged.
	[USE_TOOLKIT_SCROLL_BARS] (x_scroll_bar_handle_drag): Get initial
	offset of scroll bar handle from negative bar->dragging.
	(XTread_socket) [USE_TOOLKIT_SCROLL_BARS]: Modifiers for scroll
	bar click is compared against mapped one.  Set down/up_modifier
	for scroll bar click event with control key.

	* macterm.h (x_display_info_for_display): Remove extern.
	(SCROLL_BAR_UNPACK, SET_SCROLL_BAR_CONTROL_HANDLE): Don't limit
	value to be unpacked to 32-bit on LP64 model.

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

	* process.c (send_process_object_unwind): New function.
	(send_process_object): New function.
	(Fprocess_send_region): Call send_process_object.
	(Fprocess_send_string): Likewise.

2007-02-22  Jason Rumney  <jasonr@gnu.org>

	* w32menu.c (w32_menu_show): Mark the frame's menu as inactive
	when popup menu finishes.

	* w32fns.c (menubar_in_use): New flag.
	(w32_wnd_proc) <WM_INITMENU, WM_EXITMENULOOP, WM_TIMER, WM_COMMAND>:
	Use it.

	* w32menu.c (Fx_popup_menu): Don't free menu strings here.
	(w32_menu_show): Do it here instead.

	* w32fns.c (w32_wnd_proc) <WM_INITMENU>: Set menubar_active frame
	parameter.

	* w32menu.c (current_popup_menu): Make available globally.
	(menubar_selection_callback): Free menu strings before pushing the
	menu event into the keyboard buffer.  Remove menu_command_in_progress.

	* w32fns.c (current_popup_menu): Use from w32menu.c.
	(w32_wnd_proc) <WM_EXITMENULOOP, WM_TIMER>: Use menubar_active
	and current_popup_menu to determine whether a menubar menu has
	been cancelled.

	* w32term.h (w32_output): Remove menu_command_in_progress.

2007-02-22  Kim F. Storm  <storm@cua.dk>

	* dispnew.c (update_frame, update_single_window): Set force_p here if
	redisplay_dont_pause is set or Vredisplay_preemption_period is nil...
	(update_window, update_frame_1): ... instead of here.
	(update_text_area): Clear mouse face on header lines.

2007-02-21  Kim F. Storm  <storm@cua.dk>

	* minibuf.c (Fassoc_string): Doc fix.  Allow symbol for KEY too.

2007-02-21  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	* macterm.c (WINDOW_RESOURCE, TERM_WINDOW_RESOURCE): Remove macros.
	[USE_MAC_TSM] (mac_handle_text_input_event): Remove unused variable
	`mapped_modifiers'.
	(XTread_socket) [MAC_OS_X_VERSION_MAX_ALLOWED >= 1020]: Use Keyboard
	Layout Services routines to get current Unicode keyboard layout.

2007-02-20  Chong Yidong  <cyd@stupidchicken.com>

	* frame.c (x_set_screen_gamma): Apply gamma value to the frame's
	bgcolor.

2007-02-19  Kim F. Storm  <storm@cua.dk>

	* minibuf.c (Fassoc_string): Allow symbols as keys.

	* w32term.c (w32_set_scroll_bar_thumb): Don't resize scroll-bar
	handle while dragging, except when we get close to eob.
	Fix position and size calculations so we don't scroll backwards
	just by clicking on the handle.

2007-02-17  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	* Makefile.in (${emacsapp}Contents/Resources/Emacs.rsrc)
	[HAVE_CARBON]: Remove target.
	(macosx-app) [HAVE_CARBON]: Don't depend on it.

2007-02-17  Juanma Barranquero  <lekktu@gmail.com>

	* callproc.c (syms_of_callproc) <doc-directory>:
	<configure-info-directory>:
	(Fgetenv_internal): Fix typos in docstrings.

	* doc.c (Fsubstitute_command_keys): Fix typo in docstring.

2007-02-16  Andreas Schwab  <schwab@suse.de>

	* frame.c (Fmodify_frame_parameters): Return a value.

	* editfns.c (Fformat): Add support for '+' flag.
	* doprnt.c (doprnt1): Likewise.  Fix overflow checking.

2007-02-14  Chong Yidong  <cyd@stupidchicken.com>

	* s/umips.h: Unused file removed.

2007-02-14  Juanma Barranquero  <lekktu@gmail.com>

	* xfaces.c (Fcolor_distance): Don't continue checking a color for
	errors after it has been correctly parsed as an RGB list.

586
2007-02-14  Jan Djärv  <jan.h.d@swipnet.se>
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

	* xterm.c (do_ewmh_fullscreen): Also check for _NET_WM_STATE_FULLSCREEN.

2007-02-13  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	* macfns.c (Fx_focus_frame): Move current process to foreground if
	it is not.
	[TARGET_API_MAC_CARBON] (Fx_file_dialog): Replace #if MAC_OSX with
	#ifdef MAC_OSX.
	(Fmac_set_font_panel_visible_p) [USE_MAC_FONT_PANEL]: Rename from
	Fmac_set_font_panel_visibility.  All uses changed.  Rename argument
	VISIBLE to FLAG.

	* macterm.c (MakeMeTheFrontProcess) [MAC_OSX]: Remove function.
	(mac_initialize) [MAC_OSX]: Call SetFrontProcess instead of
	MakeMeTheFrontProcess.

2007-02-12  Chong Yidong  <cyd@stupidchicken.com>

	* frame.c (x_set_screen_gamma): Clear face cache.

2007-02-11  Juanma Barranquero  <lekktu@gmail.com>

	* buffer.c (Fgenerate_new_buffer_name, Fbuffer_modified_tick):
	Reflow docstrings.

2007-02-10  Eli Zaretskii  <eliz@gnu.org>

	* window.c (Fwindow_height, Fwindow_hscroll)
	(Fwindow_redisplay_end_trigger, Fwindow_point, Fwindow_start)
	(Fwindow_end, Fwindow_display_table, Fwindow_text_height):
	Document the effect of WINDOW arg being nil.

2007-02-08  Kim F. Storm  <storm@cua.dk>

	* minibuf.c (read_minibuf): Fix 2007-01-30 change.
	Use Qlambda as interim value of Vminibuffer_completing_file_name.
	(Fcompleting_read): Use non-filename maps if value is Qlambda (or Qnil).
	(syms_of_minibuf) <minibuffer-completing-file-name>: Document lambda.

2007-02-07  Juanma Barranquero  <lekktu@gmail.com>

	* makefile.w32-in ($(TRES)): Use literal "../nt/emacs.rc" instead
	of $(ALL_DEPS).

2007-02-07  Eli Zaretskii  <eliz@gnu.org>

	* makefile.w32-in ($(TRES)): Depend on stamp_BLD, since $(TRES) is
	put into $(BLD).

2007-02-06  Chong Yidong  <cyd@stupidchicken.com>

	* frame.c (Fmodify_frame_parameters): Don't bind
	Qinhibit_default_face_x_resources, which has no effect.
	(Qinhibit_default_face_x_resources): Symbol deleted.

2007-02-03  Eli Zaretskii  <eliz@gnu.org>

	* indent.c (Fmove_to_column): Document that the argument COLUMN is
	taken from prefix numeric argument.

2007-02-03  Juanma Barranquero  <lekktu@gmail.com>

	* lread.c (syms_of_lread) <load-history>: Doc fix.

2007-01-29  Andreas Seltenreich  <uwi7@rz.uni-karlsruhe.de>  (tiny change)

	* xterm.c [!USE_TOOLKIT_SCROLL_BARS] (x_scroll_bar_expose):
	Use the foreground color of the scroll-bar face when drawing
	the scroll-bar's border.

658
2007-02-02  Jan Djärv  <jan.h.d@swipnet.se>
659 660 661 662 663 664 665 666 667

	* xterm.c (do_ewmh_fullscreen): Check that what != NULL before
	calling wm_supports.

2007-02-01  Juanma Barranquero  <lekktu@gmail.com>

	* lread.c (syms_of_lread) <user-init-file>: Doc fix.
	Wording by Eli Zaretskii.

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

	* gtkutil.c (update_frame_tool_bar): Initialize h/vmargin to 0.

2007-01-30  Richard Stallman  <rms@gnu.org>

	* minibuf.c (read_minibuf):
	Save and clear Vminibuffer_completing_file_name.
	(read_minibuf_unwind): Restore it.
	(Vminibuffer_completion_table, Qminibuffer_completion_table)
	(Vminibuffer_completion_predicate, Qminibuffer_completion_predicate)
	(Vminibuffer_completion_confirm, Qminibuffer_completion_confirm)
	(Vminibuffer_completing_file_name): Definitions moved up.

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

	* m/hp800.h: Restore, removing HP-UX support.

686
2007-01-29  Jan Djärv  <jan.h.d@swipnet.se>
687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707

	* Makefile.in: Use a variable, XFT_LIBS, instead #define LIB_X11_LIB.

2007-01-28  Richard Stallman  <rms@gnu.org>

	* minibuf.c (Ftry_completion, Fall_completions)
	(Fcompleting_read, Ftest_completion):
	Rename arg ALIST or TABLE to COLLECTION.

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

	* unexhp9k800.c: Remove due to lack of legal papers.

	* m/sr2k.h, m/hp800.h: Remove due to dependence on above.

2007-01-27  Eli Zaretskii  <eliz@gnu.org>

	* keyboard.c (Fthis_command_keys, Fthis_command_keys_vector): Doc fix.

	* minibuf.c (Fcompleting_read): Doc fix.

708
2007-01-26  Jan Djärv  <jan.h.d@swipnet.se>
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

	* gtkutil.c (xg_initialize): Call XftInit if HAVE_XFT.

	* Makefile.in: Use XFT_LIBS if defined.

2007-01-26  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	* alloc.c (BLOCK_INPUT_ALLOC, UNBLOCK_INPUT_ALLOC): Use
	BLOCK_INPUT/UNBLOCK_INPUT.

	* blockinput.h (interrupt_input_blocked): Declare volatile.

	* keyboard.c (interrupt_input_blocked): Declare volatile.

	* syssignal.h (SIGNAL_THREAD_CHECK): Use pthread_equal.

2007-01-24  Kim F. Storm  <storm@cua.dk>

	* keymap.c (describe_map): Don't consider prefix keys to be shadowed.

2007-01-23  Juanma Barranquero  <lekktu@gmail.com>

	* editfns.c (Finsert_char): Doc fix.
	(Fget_internal_run_time, Fdecode_time): Fix typos in docstrings.

2007-01-22  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	* macselect.c [TARGET_API_MAC_CARBON] (mac_do_receive_drag):
	Don't pass keyboard modifiers to mac_store_drag_event, but put
	them as kEventParamKeyModifiers Apple event parameter.

2007-01-21  Chong Yidong  <cyd@stupidchicken.com>

	* xdisp.c (try_window): Revert previous change.

	* dispnew.c (update_text_area): Revert 2006-09-17 change.
	Always redraw non-mode-line rows with mouse-face.

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

	* xdisp.c (try_window): Clear mouse-face highlights first.

	* window.c (set_window_buffer): Revert 2006-11-22 change.

2007-01-20  Eli Zaretskii  <eliz@gnu.org>

	* .gdbinit (ppt, xtype, xmisctype, xint, xptr, xmarker, xframe)
	(xbuffer, xcons, xcar, xcdr): Fix doc strings.

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

	* keyboard.c (read_key_sequence): Extract local map only if the
	given position is in an accessible buffer region.

2007-01-19  Nick Roberts  <nickrob@snap.net.nz>

	* .gdbinit: Reformat documentation so that first sentence
	displays properly with "help user-defined" (like apropos).

2007-01-18  Bruno Haible  <bruno@clisp.org>  (tiny change)

	* epaths.in: Move PATH_DOC from local/info to local/share/info.

2007-01-15  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	* macmenu.c (create_and_show_dialog) [TARGET_API_MAC_CARBON]:
	Create movable modal window instead of movable alert window.
	(create_and_show_dialog) [!MAC_OSX]: Use DeactivateControl instead
	of DisableControl.

	* macselect.c (Fmac_resume_apple_event): Set error number when
	descriptor type of reply is non-null.

2007-01-14  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	* macmenu.c (create_and_show_dialog) [TARGET_API_MAC_CARBON]:
	Use DisableControl for disabled items.  Set default button to first
	enabled one.  Use icon of application in execution.

2007-01-13  Eli Zaretskii  <eliz@gnu.org>

	* process.c (Fdelete_process, Fprocess_id, sigchld_handler):
	Copy PID into EMACS_INT to avoid GCC warnings.

	* fns.c (maybe_resize_hash_table): Copy new size of hash table
	into EMACS_INT to avoid GCC warnings.

	* editfns.c (Fuser_uid, Fuser_real_uid): Copy values returned by
	geteuid and getuid into EMACS_INT to avoid GCC warnings.

	* dired.c (Ffile_attributes): Fix last change.

2007-01-12  Eli Zaretskii  <eliz@gnu.org>

	* dired.c (Ffile_attributes): Copy some members of `struct stat'
	into int's to avoid GCC warnings about limited range of short in
	arguments to FIXNUM_OVERFLOW_P.

2007-01-12  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	* macmenu.c (HAVE_DIALOGS): Define if TARGET_API_MAC_CARBON.
	(mac_handle_dialog_event, install_dialog_event_handler)
	(create_and_show_dialog) [TARGET_API_MAC_CARBON]: New functions.
	(DIALOG_LEFT_MARGIN, DIALOG_TOP_MARGIN, DIALOG_RIGHT_MARGIN)
	(DIALOG_BOTTOM_MARGIN, DIALOG_MIN_INNER_WIDTH)
	(DIALOG_MAX_INNER_WIDTH, DIALOG_BUTTON_BUTTON_HORIZONTAL_SPACE)
	(DIALOG_BUTTON_BUTTON_VERTICAL_SPACE, DIALOG_BUTTON_MIN_WIDTH)
	(DIALOG_TEXT_MIN_HEIGHT, DIALOG_TEXT_BUTTONS_VERTICAL_SPACE)
	(DIALOG_ICON_WIDTH, DIALOG_ICON_HEIGHT, DIALOG_ICON_LEFT_MARGIN)
	(DIALOG_ICON_TOP_MARGIN) [TARGET_API_MAC_CARBON]: New macros.
	(mac_dialog) [TARGET_API_MAC_CARBON]: Remove function.
	(mac_dialog_show) [TARGET_API_MAC_CARBON]: Use create_and_show_dialog.

	* macterm.c (x_free_frame_resources) [USE_CG_DRAWING]:
	Call mac_prepare_for_quickdraw.
	(quit_char, make_ctrl_char) [TARGET_API_MAC_CARBON]: Move externs
	outside #ifdef MAC_OSX.
	(mac_quit_char_key_p) [TARGET_API_MAC_CARBON]: Move function
	outside #ifdef MAC_OSX.
	(mac_check_bundle) [MAC_OSX]: Remove unused function.

	* macterm.h (mac_quit_char_key_p): Move extern outside #ifdef MAC_OSX.
	(HOURGLASS_WIDTH, HOURGLASS_HEIGHT): Parenthesize definitions.

833
2007-01-11  Jan Djärv  <jan.h.d@swipnet.se>
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

	* alloc.c (BLOCK_INPUT_ALLOC, UNBLOCK_INPUT_ALLOC): Use pthread_equal,
	block/unblock SIGIO.

2007-01-10  Stefan Monnier  <monnier@iro.umontreal.ca>

	* editfns.c (Fformat): Allow integer-format to work with floats of size
	larger than most-positive-fixnum (but still smaller than MAXINT).

	* dired.c (Ffile_attributes): Use floats for large uids/gids.

2007-01-09  Eli Zaretskii  <eliz@gnu.org>

	* emacs.c (syms_of_emacs) <path-separator>: Doc fix.

2007-01-09  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	* callproc.c (Fcall_process_region) [HAVE_MKSTEMP]: Add BLOCK_INPUT
	around mkstemp.

	* image.c (XDrawLine) [MAC_OS]: Remove macro.
	(XCreateGC_pixmap) [!HAVE_NTGUI]: Likewise.
	(x_disable_image) [!HAVE_NTGUI]: Use XCreateGC instead of
	XCreateGC_pixmap.

	* macgui.h (Display): Typedef to opaque type.

	* macmenu.c (mac_dialog_modal_filter) [MAC_OSX]: New function.
	(Fx_popup_dialog) [MAC_OSX]: Use standard alert if called from
	Fmessage_box, Fyes_or_no_p, or Fy_or_n_p.
	[MAC_OS_X_VERSION_MAX_ALLOWED >= 1030] (menu_quit_handler):
	Use mac_quit_char_key_p.

	* macterm.c (XDrawLine): Rename from mac_draw_line_to_pixmap.
	(XCreateGC): Change type of 2nd argument to void *.
	(XFreeGC) [USE_CG_DRAWING && MAC_OS_X_VERSION_MAX_ALLOWED >= 1030]:
	Fix last change.
	(mac_to_emacs_modifiers): Change return type to int.
	[USE_CARBON_EVENTS] (mac_event_to_emacs_modifiers): Likewise.
	(mac_mapped_modifiers): New function.
	(XTread_socket): Use it.
	[USE_TSM] (mac_handle_text_input_event): Likewise.
	(do_window_update) [USE_CG_DRAWING]: Call mac_prepare_for_quickdraw.
	(mac_quit_char_modifiers, mac_quit_char_keycode) [MAC_OSX]:
	Remove variables.
	(mac_determine_quit_char_modifiers, init_quit_char_handler)
	[MAC_OSX]: Remove functions.
	(make_ctrl_char) [MAC_OSX]: Add extern.
	(mac_quit_char_key_p) [MAC_OSX]: New function.
	(mac_initialize) [MAC_OSX]: Don't call init_quit_char_handler.

	* macterm.h (FONT_MAX_WIDTH): Remove unused macro.
	(XCreateGC): Change type in extern.
	(XDrawLine): Rename from mac_draw_line_to_pixmap.
	(mac_quit_char_key_p) [MAC_OSX]: Add extern.

890
2007-01-08  Jan Djärv  <jan.h.d@swipnet.se>
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

	* keyboard.c (init_keyboard): Initialize interrupt_input_blocked and
	interrupt_input_pending.

	* xterm.h (x_display_info): New: net_supported_atoms,
	nr_net_supported_atoms and net_supported_window.

	* xterm.c (last_user_time): New variable.
	(handle_one_xevent): Set last_user_time from events that have Time.
	Set net_supported_window to 0 when reparented.
	(wm_supports): New function.
	(do_ewmh_fullscreen): Use wm_supports to check for _NET_WM_STATE.
	(x_term_init): Initialize net_supported_atoms, nr_net_supported_atoms
	and net_supported_window.

2007-01-05  Kim F. Storm  <storm@cua.dk>

	* indent.c (Fvertical_motion): Fix it overshoot check for overlay
	strings without embedded newlines immediately followed by newline.

2007-01-05  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	* editfns.c (Fformat_time_string, Fdecode_time, Fencode_time)
	(Fcurrent_time_string, Fcurrent_time_zone): Add BLOCK_INPUT around
	gmtime/localtime/emacs_memftimeu/mktime.

	* mac.c (Fmac_set_file_creator): Use MAC_EMACS_CREATOR_CODE
	instead of 'EMAx'.
	[!MAC_OSX] (sys_open, sys_creat, sys_fopen): Likewise.

	* macgui.h (struct _XGC) [USE_CG_DRAWING
	&& MAC_OS_X_VERSION_MAX_ALLOWED >= 1030]: New members cg_fore_color
	and cg_back_color.

	* macmenu.c (Vshow_help_function) [TARGET_API_MAC_CARBON]: Add extern.
	(restore_show_help_function, menu_target_item_handler)
	[TARGET_API_MAC_CARBON]: New functions.
	(install_menu_target_item_handler): New function.
	(add_menu_item) [TARGET_API_MAC_CARBON]: Set help string as menu
	item property.

	* macterm.c (CG_SET_FILL_COLOR_MAYBE_WITH_CGCOLOR)
	(CG_SET_FILL_COLOR_WITH_GC_FOREGROUND)
	(CG_SET_FILL_COLOR_WITH_GC_BACKGROUND)
	(CG_SET_STROKE_COLOR_MAYBE_WITH_CGCOLOR)
	(CG_SET_STROKE_COLOR_WITH_GC_FOREGROUND): New macros.
	(mac_cg_color_space_rgb) [USE_CG_DRAWING]: New variable.
	(mac_cg_color_black) [USE_CG_DRAWING
	&& MAC_OS_X_VERSION_MAX_ALLOWED >= 1030]: New variable.
	(init_cg_color) [USE_CG_DRAWING]: New function.
	(mac_draw_line, mac_draw_rectangle) [USE_CG_DRAWING]: Use
	CG_SET_STROKE_COLOR_WITH_GC_FOREGROUND instead of CG_SET_STROKE_COLOR.
	(mac_erase_rectangle, mac_clear_window, mac_draw_cg_image)
	(mac_fill_rectangle, mac_draw_image_string_cg) [USE_CG_DRAWING]:
	Use CG_SET_FILL_COLOR_WITH_GC_FOREGROUND or
	CG_SET_FILL_COLOR_WITH_GC_BACKGROUND instead of CG_SET_FILL_COLOR.
	(mac_draw_string_common) [MAC_OSX && USE_ATSUI]: Likewise.
	(XCreateGC, XFreeGC, XSetForeground, XSetBackground) [USE_CG_DRAWING
	&& MAC_OS_X_VERSION_MAX_ALLOWED >= 1030]: Use gc->cg_fore_color and/or
	gc->cg_back_color.
	(install_drag_handler, remove_drag_handler): Make extern.
	(install_menu_target_item_handler): Add extern.
	(install_window_handler): Call install_menu_target_item_handler.
	[MAC_OS8] (main): Use MAC_EMACS_CREATOR_CODE instead of 'EMAx'.
	(mac_initialize) [USE_CG_DRAWING]: Call init_cg_color.

	* macterm.h (MAC_EMACS_CREATOR_CODE): New enumerator.

2007-01-04  Juanma Barranquero  <lekktu@gmail.com>

	* window.c (Fwindow_end): Fix use of >= operator.

2007-01-03  Richard Stallman  <rms@gnu.org>

	* window.c (Fwindow_end): Check BUF_OVERLAY_MODIFF like BUF_MODIFF.

967
2007-01-02  Jan Djärv  <jan.h.d@swipnet.se>
968 969 970 971 972 973 974 975 976 977 978

	* gtkutil.h (xg_menu_item_cb_data_): Remove highlight_id and
	unhighlight_id.

	* gtkutil.c (menuitem_highlight_callback): Invoked widget is the
	parent of the menu item.  Get menu item widget from event.
	(xg_create_one_menuitem, xg_update_menu_item): highlight_id and
	unhighlight_id has been removed.
	(create_menus): Connect enter/leave-notify-event to the menu instead
	of individual items.

979
2006-12-31  Jan Djärv  <jan.h.d@swipnet.se>
980 981 982 983 984 985

	* gtkutil.c (update_frame_tool_bar): Connect create-menu-proxy with
	xg_tool_bar_menu_proxy.
	(xg_tool_bar_menu_proxy): New function.
	(xg_tool_bar_proxy_callback): New function.

986
2006-12-30  Jan Djärv  <jan.h.d@swipnet.se>
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

	* gtkutil.c (xg_tool_bar_button_cb): Save last modifier on widget.
	(xg_tool_bar_callback): Remove check for button.
	(update_frame_tool_bar): Put an event box in the tool bar and a button
	in the event box.  Attach enter/leave-notify-event to the event box.

2006-12-30  Richard Stallman  <rms@gnu.org>

	* keymap.c (Fdefine_key): Doc fix.

2006-12-29  Kim F. Storm  <storm@cua.dk>

	* frame.h (struct frame): New member minimize_tool_bar_window_p.

	* xdisp.c (auto_resize_tool_bars_p): Replace with ...
	(Vauto_resize_tool_bars): ... this.
	(syms_of_xdisp): DEFVAR_LISP and initialize it.  Update doc string
	to describe new value `grow-only', and use of C-l.
	(display_tool_bar_line): Only use default face for border below
	toolbar if not grow-only (to get acceptable visual appearence).
	Explicitly set visible_height for empty toolbar lines.
	(redisplay_tool_bar): Handle `grow-only' setting.  Check and clear
	minimize_tool_bar_window_p flag.

	* window.c (Frecenter): Set minimize_tool_bar_window_p flag
	when called without arg to redraw with minimum toolbar height.
	Update doc string.

2006-12-29  Jason Rumney  <jasonr@gnu.org>

	* s/ms-w32.h (tzname): Do not define in msvc8.
	(utime): Do not define in msvc8.

	* regex.c (regerror): Change parameter name err_code.

2006-12-26  Richard Stallman  <rms@gnu.org>

	* search.c (Fsearch_forward): Doc fix.

	* callint.c (Finteractive): Doc fix.

2006-12-25  Kim F. Storm  <storm@cua.dk>

	* s/ms-w32.h (BROKEN_DATAGRAM_SOCKETS): Define it.

2006-12-23  Eli Zaretskii  <eliz@gnu.org>

	* keyboard.c (some_mouse_moved): Fix last change.

2006-12-22  Eli Zaretskii  <eliz@gnu.org>

	* callproc.c (syms_of_callproc) <shell-file-name>: Doc fix.

2006-12-22  Mark Davies  <mark@mcs.vuw.ac.nz>

	* m/amdx86-64.h, m/hp800.h: Add support for NetBSD.
	* m/sh3el.h: New file.

2006-12-22  Eli Zaretskii  <eliz@gnu.org>

	* makefile.w32-in (emacs, temacs): Depend on stamp_BLD instead of
	$(BLD).
	($(OBJ0) $(OBJ1) $(WIN32OBJ)): New dependency on stamp_BLD.
	(bootstrap-temacs): Pass $(XMFLAGS) to sub-make.
	($(OBJ0) $(OBJ1) $(WIN32OBJ)): Add lastfile.$(O) and firstfile.$(O).
	(clean): Delete stamp_BLD.

2006-12-22  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	* macfns.c (mac_update_title_bar) [TARGET_API_MAC_CARBON]:
	Call mac_update_proxy_icon also when buffer modification flag changed.
	[TARGET_API_MAC_CARBON] (mac_update_proxy_icon): Don't update alias,
	but compare FSRef/FSSpec of resolved alias.

2006-12-21  Kim F. Storm  <storm@cua.dk>

	* w32.c (_sys_wait_accept): Fix handle leak.

1065
2006-12-20  Jan Djärv  <jan.h.d@swipnet.se>
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

	* sound.c: Include <alsa/asoundlib.h> if ALSA_SUBDIR_INCLUDE is
	defined.

2006-12-20  Kim F. Storm  <storm@cua.dk>

	* s/ms-w32.h (BROKEN_NON_BLOCKING_CONNECT): Define it.

2006-12-19  Juanma Barranquero  <lekktu@gmail.com>

	* keyboard.c (syms_of_keyboard) <double-click-time>:
	* mac.c (Fmac_code_convert_string):
	* search.c (Fsearch_forward): Doc fixes.

2006-12-19  Kim F. Storm  <storm@cua.dk>

	Rework 2006-12-04 change.  A SIGUSR1 (SIGUSR2) signal now generates
	a sigusr1 event instead of [signal usr1] sequence, and signal events
	are now supposed to be handled via special-event-map.

	* keyboard.c (kbd_buffer_store_event_hold): Undo 2006-12-04 change.
	(make_lispy_event): Don't generate Qsignal prefix for code 0.
	Abort if signal code is unknown.
	(store_user_signal_events): Don't make Qsignal prefix (code 0).
	(Qsignal): Move declaration back to process.c.
	(syms_of_keyboard): Don't intern or staticpro it here.

	* process.c (Qsignal): Declare here.
	(syms_of_process): Intern or staticpro it.

	* emacs.c (main): Rename user signals to sigusr1 and sigusr2.

	* .gdbinit: Pass on SIGUSR1 and SIGUSR2 to Emacs.

2006-12-19  Juanma Barranquero  <lekktu@gmail.com>

	* buffer.c (syms_of_buffer) <buffer-display-table>:
	<scroll-up-aggressively, scroll-down-aggressively>: Doc fixes.

2006-12-17  Richard Stallman  <rms@gnu.org>

	* fileio.c (Fread_file_name_internal): Pass Vread_file_name_predicate
	to Ffile_name_completion.

	* dired.c (file_name_completion): New arg PREDICATE.  Some cleanup.
	(Ffile_name_completion): New arg PREDICATE.

2006-12-17  Juanma Barranquero  <lekktu@gmail.com>

	* buffer.c (Fkill_buffer): Doc fix.
	(syms_of_buffer) <kill-buffer-query-functions>: Doc fix.

2006-12-16  Juanma Barranquero  <lekktu@gmail.com>

	* minibuf.c (Ftry_completion): Check that obarray buckets are symbols.

2006-12-16  Eli Zaretskii  <eliz@gnu.org>

	* w32fns.c (w32-window-exists-p): New function.
	(syms_of_w32fns): Defsubr it.

	* prefix-args.c [STDC_HEADERS]: Include stdlib.h.

2006-12-16  Juanma Barranquero  <lekktu@gmail.com>

	* minibuf.c (Ftry_completion): Use `check_obarray' if ALIST is a vector.

2006-12-15  Eli Zaretskii  <eliz@gnu.org>

	* emacs.c (USAGE3): Clarify documentation of --color.

2006-12-15  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	* mac.c (wakeup_from_rne_enabled_p) [TARGET_API_MAC_CARBON]:
	New variable.
	(ENABLE_WAKEUP_FROM_RNE, DISABLE_WAKEUP_FROM_RNE): New macros.
	[!MAC_OSX] (select): Use them.
	[MAC_OSX] (select_and_poll_event, sys_select): Likewise.
	(mac_wakeup_from_rne) [TARGET_API_MAC_CARBON]: New function.

	* macfns.c (mac_atsu_font_face_attributes) [USE_ATSUI]: Add extern.
	(Fmac_atsu_font_face_attributes) [USE_ATSUI]: New function.
	(syms_of_macfns) [USE_ATSUI]: Defsubr it.

	* macselect.c [TARGET_API_MAC_CARBON] (mac_do_receive_drag):
	Use mac_wakeup_from_rne instead of mac_post_mouse_moved_event.

	* macterm.c (mac_query_char_extents) [USE_ATSUI]: Don't call
	ATSUGetGlyphBounds if not necessary.
	(Vmac_atsu_font_table) [USE_ATSUI]: Remove variable.
	(syms_of_macterm) [USE_ATSUI]: Don't defvar it.
	(fm_get_style_from_font, atsu_find_font_from_family_name)
	(atsu_find_font_family_name, mac_atsu_font_face_attributes)
	[USE_ATSUI]: New functions.
	(init_font_name_table) [USE_ATSUI]: Use atsu_find_font_family_name.
	(mac_load_query_font) [USE_ATSUI]: Use atsu_find_font_from_family_name.
	Don't get metrics for Latin-1 right half characters.
	(mac_load_query_font): Don't load font if space width is not positive.
	[TARGET_API_MAC_CARBON] (mac_store_event_ref_as_apple_event):
	Use mac_wakeup_from_rne instead of mac_post_mouse_moved_event.
	(XTread_socket): Call SelectWindow when unfocused frame is clicked.

	* macterm.h (mac_wakeup_from_rne) [TARGET_API_MAC_CARBON]: Add extern.

2006-12-15  Kim F. Storm  <storm@cua.dk>

	* keyboard.c (ignore_mouse_drag_p): New global var.
	(some_mouse_moved): Return 0 if it is non-zero.
	(make_lispy_event): Generate click event on mouse up if
	ignore_mouse_drag_p is non-zero, even if mouse moved.
	Clear ignore_mouse_drag_p on mouse down/up.

	* xdisp.c (redisplay_window): Set ignore_mouse_drag_p if tool-bar
	is resized to avoid generating a mouse drag event.

2006-12-14  Juanma Barranquero  <lekktu@gmail.com>

	* w32fns.c (w32_wnd_proc): Force non-tooltip frames to respect the
	minimum tracking size.  Remove non-working old hack to do the same.

2006-12-14  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	* emacs.c (handle_user_signal): Move function to keyboard.c.
	(main): Use add_user_signal for SIGUSR1 and SIGUSR2.

	* keyboard.c (make_lispy_event): Use find_user_signal_name.
	(read_avail_input): Store pending user signal events.
	(struct user_signal_info): New struct.
	(user_signals): New variable.
	(add_user_signal, store_user_signal_events)
	(find_user_signal_name): New functions.
	(handle_user_signal): Move function from emacs.c.  Don't store
	USER_SIGNAL_EVENT here, but increment number of pending signals.

	* keyboard.h (add_user_signals): Add extern.

2006-12-11  Juanma Barranquero  <lekktu@gmail.com>

	* buffer.c (syms_of_buffer) <cursor-in-non-selected-windows>:
	<default-scroll-up-aggressively, default-scroll-down-aggressively>:
	<line-spacing, left-margin>: Doc fixes.

	* xdisp.c (syms_of_xdisp) <mode-line-inverse-video>: Doc fix.

2006-12-10  Kim F. Storm  <storm@cua.dk>

	* xdisp.c (show_mouse_face): Never use text cursor in tool-bar.

2006-12-10  Juanma Barranquero  <lekktu@gmail.com>

	* abbrev.c (syms_of_abbrev) <last-abbrev-text>:
	* buffer.c (syms_of_buffer) <default-major-mode>:
	* keymap.c (Flookup_key):
	* lread.c (Feval_buffer, Feval_region):
	* macterm.c (syms_of_macterm) <x-use-underline-position-properties>:
	<x-underline-at-descent-line, mac-emulate-three-button-mouse>:
	* marker.c (Fmarker_insertion_type):
	* minibuf.c (syms_of_minibuf) <minibuffer-completion-table>:
	* msdos.c (syms_of_msdos) <delete-exited-processes>:
	* w32term.c (syms_of_w32term) <x-use-underline-position-properties>:
	<x-underline-at-descent-line>:
	* xdisp.c (format-mode-line):
	* xterm.c (syms_of_xterm) <x-use-underline-position-properties>:
	<x-underline-at-descent-line>: Doc fixes.

2006-12-10  Andreas Schwab  <schwab@suse.de>

	* systime.h (EMACS_GET_TIME): Remove check for
	HAVE_STRUCT_TIMEZONE which is never defined.

2006-12-10  Alan Mackenzie  <acm@muc.de>

	* syntax.c (Fpartial_parse_sexp): Correct Docco: Elt 8 of the
	result is now neither the last elt nor optional for OLDSTATE.

2006-12-09  Eli Zaretskii  <eliz@gnu.org>

	* process.c (Fsignal_process): Doc fix.  Use XFLOAT_DATA to
	extract the process ID from a Lisp float.

2006-12-09  Chong Yidong  <cyd@stupidchicken.com>

	* xterm.c (XTframe_raise_lower): Comment out _NET_ACTIVE_WINDOW code.

2006-12-08  Eli Zaretskii  <eliz@gnu.org>

	* frame.h (PIX_TYPE): Redefine as `unsigned long', for 64-bit
	platforms where long is 64-bit.

	* msdos.h (PIX_TYPE): Redefine as `unsigned long'.

2006-12-08  NAKAJI Hiroyuki  <nakaji@jp.freebsd.org>  (tiny change)

	* m/amdx86-64.h: Add support for Solaris 10 on x86-64.

2006-12-08  Kenichi Handa  <handa@m17n.org>

	* xterm.c (x_query_font): Use xstricmp instead off strcasecmp.

2006-12-08  Juanma Barranquero  <lekktu@gmail.com>

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

2006-12-07  Kim F. Storm  <storm@cua.dk>

	* process.c (parse_signal): Use xstricmp instead of strcasecmp.
	(Fsignal_process): Don't use strncasecmp.

2006-12-05  Glenn Morris  <rgm@gnu.org>

	* abbrev.c (Qforce): New Lisp_Object.
	(Fdefine_abbrev): Do not overwrite non-system abbrevs with system
	abbrevs, unless 'force is applied.
	(syms_of_abbrev): Add Qforce.

2006-12-04  Kim F. Storm  <storm@cua.dk>

	* process.c (parse_signal): Rename macro from handle_signal.
	(Fsignal_process): Also accept lower-case variants of signal
	names (to align with signal names generated by Emacs itself).

	* emacs.c (handle_USR1_signal, handle_USR2_signal): Replace by...
	(handle_user_signal): ... this, which generates two USER_SIGNAL_EVENTs
	first with code == 0 [signal] and one with code == sig number.
	(main): Use it as handler for SIGUR1 and SIGUSR2.

	* keyboard.c (kbd_buffer_store_event_hold): Don't throw-on-input
	if first event in [signal xxx] sequence.
	(lispy_user_signals, Qusr1_signal, Qusr2_signal): Remove.
	(syms_of_keyboard): Don't intern and staticpro them.
	(Qsignal): Declare here.
	(syms_of_keyboard): Intern and staticpro it.
	(make_lispy_event): Use it.  Intern symbols on the fly for other
	USER_SIGNAL_EVENTs events.

	* process.c (Qsignal): Declare extern.
	(syms_of_process): Don't intern/staticpro it here.

	* process.c (read_process_output): Abort if carryover < 0.

2006-12-04  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	* config.in: Regenerate.

	* fileio.c [__NetBSD__]: Don't define `unix'.
	(Funix_sync, syms_of_fileio): Use `#ifdef HAVE_SYNC' instead of
	`#ifdef unix'.

2006-12-04  Glenn Morris  <rgm@gnu.org>

	* Makefile.in (version): New variable, set by configure.
	(bootstrapclean, mostlyclean): Also remove emacs-${version}.

1319
2006-12-03  Jan Djärv  <jan.h.d@swipnet.se>
1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332

	* gtkutil.c (update_frame_tool_bar): Handle modifying a toolbar item
	without an image.

2006-12-01  Eli Zaretskii  <eliz@gnu.org>

	* w32fns.c (Fw32_shell_execute): Doc fix.

2006-11-30  Chong Yidong  <cyd@stupidchicken.com>

	* xdisp.c (move_it_to): Correctly count tab glyphs for continued
	lines ending in tab.

1333
2006-11-30  Jan Djärv  <jan.h.d@swipnet.se>
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

	* xterm.c (x_raise_frame): Move setting of _NET_ACTIVE_WINDOW
	property ...
	(XTframe_raise_lower): ... to here.

2006-11-30  Kenichi Handa  <handa@m17n.org>

	* regex.c (regex_compile): Fix previous change.

2006-11-29  Juanma Barranquero  <lekktu@gmail.com>

	* sound.c (Fplay_sound_internal): Remove spurious newline in docstring.

2006-11-28  Chong Yidong  <cyd@stupidchicken.com>

	* config.in: Regenerate.

2006-11-28  Kenichi Handa  <handa@m17n.org>

	* regex.c (regex_compile): Don't call SET_LIST_BIT with a
	multibyte character.

2006-11-27  Chong Yidong  <cyd@stupidchicken.com>

	* s/aix4-2.h: Undefine _NO_PROTO.  Suggested by Joe Buehler.

2006-11-27  Kim F. Storm  <storm@cua.dk>

	* window.c (set_window_buffer): Refactor recent changes.

2006-11-27  Jason Rumney  <jasonr@gnu.org>

	* w32term.c (w32_msg_worker): Declare correctly.
	(w32_initialize): Don't cast w32_msg_worker.

	* w32fns.c (w32_msg_worker): Define as WINAPI and arg as void pointer.

2006-11-26  Chong Yidong  <cyd@stupidchicken.com>

	* m/amdx86-64.h: Look for standard libs in /usr/lib64 only if that
	directory exists.

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

	* w16select.c (Fw16_set_clipboard_data): Fix the call to sit_for
	as per the calling sequence change on 2006-07-11.

2006-11-25  Chong Yidong  <cyd@stupidchicken.com>

	* window.c (set_window_buffer): Use BLOCK_INPUT.

2006-11-24  Juanma Barranquero  <lekktu@gmail.com>

	* fns.c (substring_both): Add missing address operator.

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

	* fns.c: Use AREF/ASIZE macros.
	(concat): Provide the full ANSI prototype.

2006-11-24  Juanma Barranquero  <lekktu@gmail.com>

	* buffer.c (syms_of_buffer) <buffer-undo-list>: Doc fix.

2006-11-23  William Smith  <William.Smith@global360.com>  (tiny change)

	* strftime.c (HAVE_SYS__MBSTATE_T_H): Fix typo.

2006-11-22  Alfred M. Szmidt  <ams@gnu.org>  (tiny change)

	* s/openbsd.h (LD_SWITCH_SYSTEM): Remove /usr/pkg/lib and
	/usr/pkg/lib from the library search path.
	(LD_SWITCH_X_DEFAULT): New macro.

2006-11-22  Chong Yidong  <cyd@stupidchicken.com>

	* window.c (set_window_buffer): Clear mouse highlight if it is in
	this window.

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

	* xfaces.c (realize_default_face): Check if the default font name
	exists on this display before trying to use it.

2006-11-21  Richard Stallman  <rms@gnu.org>

	* fileio.c: Break line before &&, not after.

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

	* fns.c (concat) [!__GNUC__]: Add prototype.

2006-11-20  Kenichi Handa  <handa@m17n.org>

	* fileio.c (Fread_file_name_internal): Use SBYTES (not SCHARS) to
	check the tailing slash of a filename.

2006-11-20  KOBAYASHI Yasuhiro  <kobayays@otsukakj.co.jp>  (tiny change)

	* indent.c (Fvertical_motion): Include composition in the case of
	overshoot expected.

2006-11-19  Andreas Schwab  <schwab@gnu.org>

	* xfaces.c (Fdisplay_supports_face_attributes_p): Initialize supports.

	* xmenu.c (Fx_popup_menu): Initialize selection.

2006-11-18  Andreas Schwab  <schwab@suse.de>

	* s/gnu-linux.h (GC_MARK_SECONDARY_STACK): Update call to mark_memory.

2006-11-17  Tetsurou Okazaki  <okazaki@be.to>  (tiny change)

	* xterm.c (do_ewmh_fullscreen): Declare variable before XSETFRAME
	to avoid gcc 2.96 error.

2006-11-17  NIIMI Satoshi  <sa2c@sa2c.net>  (tiny change)

	* search.c (simple_search): In the loop of backward searching,
	check also the byte position against the limit.

2006-11-14  Romain Francoise  <romain@orebokech.com>

	* minibuf.c (Fcompleting_read): Fix typo in docstring.

2006-11-14  Kenichi Handa  <handa@m17n.org>

	* coding.c (code_convert_region): Initialize coding->heading_ascii.
	(decode_coding_string, code_convert_region): Likewise.

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

	* config.in: Regenerate.

	* macfns.c (Fx_display_mm_height, Fx_display_mm_width)
	[MAC_OS_X_VERSION_MAX_ALLOWED >= 1030
	&& MAC_OS_X_VERSION_MIN_REQUIRED == 1020]: Check if
	CGDisplayScreenSize is available.

	* macmenu.c (menu_quit_handler, install_menu_quit_handler):
	Replace `#ifdef HAVE_CANCELMENUTRACKING' with
	`#if MAC_OS_X_VERSION_MAX_ALLOWED >= 1030'.
	(install_menu_quit_handler) [MAC_OS_X_VERSION_MAX_ALLOWED >= 1030
	&& MAC_OS_X_VERSION_MIN_REQUIRED == 1020]: Check if
	CancelMenuTracking is available.

	* macterm.c [USE_CG_TEXT_DRAWING] (mac_draw_image_string_cg)
	[MAC_OS_X_VERSION_MAX_ALLOWED >= 1030
	&& MAC_OS_X_VERSION_MIN_REQUIRED == 1020]: Check if
	CGContextShowGlyphsWithAdvances is available.

2006-11-13  Jason Rumney  <jasonr@gnu.org>

	* s/ms-w32.h: Define HAVE_INET_SOCKETS.

2006-11-13  Nozomu Ando  <nand@mac.com>

	* alloc.c (mark_memory): New argument OFFSET.  All uses changed.
	Fix address calculations for case END < START.
	(mark_stack): Impose Lisp_Object alignment on jmp_buf.

2006-11-12  Juanma Barranquero  <lekktu@gmail.com>

	* coding.c (Fencode_sjis_char, Fencode_big5_char):
	Improve argument/docstring consistency.

	* editfns.c (Fmessage): Doc fixes.

	* process.c (syms_of_process) <delete-exited-processes>: Doc fix.

2006-11-12  Chong Yidong  <cyd@stupidchicken.com>

	* xmenu.c (popup_activated): Define outside HAVE_MENUS.

2006-11-12  Romain Francoise  <romain@orebokech.com>

	* xselect.c (selection-coding-system): Fix docstring.

2006-11-12  Juanma Barranquero  <lekktu@gmail.com>

	* category.c (Fchar_category_set): Improve arg/docstring consistency.

	* data.c (Flogxor):
	* fns.c (Frandom, Flength, Fsafe_length, Fstring_bytes)
	(Fstring_equal, Fcompare_strings, Fstring_lessp, Fcopy_sequence)
	(Fstring_make_unibyte): Fix typos in docstrings.

1522
2006-11-10  Jan Djärv  <jan.h.d@swipnet.se>
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

	* xterm.h (struct x_display_info): Fix indentation.

	* xterm.c (do_ewmh_fullscreen, XTfullscreen_hook): New functions.
	(x_check_fullscreen): Call do_ewmh_fullscreen.
	(x_initialize): Set fullscreen_hook to XTfullscreen_hook.

	* frame.c (x_set_fullscreen): Call fullscreen_hook if set.

	* term.c: Define fullscreen_hook.
	(syms_of_term): Initialize fullscreen_hook to NULL.

	* termhooks.h: Add fullscreen_hook.

2006-11-08  Juanma Barranquero  <lekktu@gmail.com>

	* bytecode.c (Fbyte_code):
	* data.c (Fmakunbound): Use SYMBOL_CONSTANT_P macro.

2006-11-06  Juanma Barranquero  <lekktu@gmail.com>

	* lread.c (syms_of_lread):
	* xsmfns.c (syms_of_xsmfns): Fix typo in docstring.

2006-11-06  Martin Rudalics  <rudalics@gmx.at>

	* macmenu.c (Fmenu_or_popup_active_p): Define outside HAVE_MENUS.

	* w32menu.c (Fmenu_or_popup_active_p): Define outside HAVE_MENUS.
	Return nil if building without menus.

	* xmenu.c (Fmenu_or_popup_active_p): Define outside HAVE_MENUS.
	Return nil if building without menus.

2006-11-05  Mark Davies  <mark@mcs.vuw.ac.nz>  (tiny change)

	* s/netbsd.h (POSIX_SIGNALS): Define.

2006-11-05  Martin Rudalics  <rudalics@gmx.at>

	* macmenu.c (Fmenu_or_popup_active_p): New function.
	(syms_of_macmenu): Defsubr it.

	* w32menu.c (Fmenu_or_popup_active_p): New function.
	(syms_of_w32menu): Defsubr it.
	(popup_activated_flag, popup_activated): Remove.

	* xdisp.c (note_mouse_highlight) [HAVE_NTGUI]: Don't bother to
	check popup_activated.

	* xmenu.c (Fmenu_or_popup_active_p): New function.
	(syms_of_xmenu): Defsubr it.

2006-11-05  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	* unexmacosx.c (malloc_cookie): Remove unused variable.
	(region_list_head, region_list_tail, lca, nlc, infile_lc_highest_addr)
	(text_seg_lowest_offset, mh, curr_header_offset, infd, outfd)
	(emacs_zone, data_segment_old_fileoff, data_segment_scp)
	(num_unexec_regions, unexec_regions): Make variables static.
	(print_regions, find_emacs_zone_regions): Make static.
	(unexec_region_info): New typedef.
	(unexec_regions): Change type from vm_range_t[] to unexec_region_info[].
	All uses changed.
	(unexec_regions_recorder): Subtract size of trailing null pages from
	filesize.  Show filesize.
	(unexec_regions_merge): Don't merge if null pages of preceding region
	is not too small.  Use long format in printf.
	(copy_segment, copy_data_segment): Show filesize.
	(copy_data_segment): Write filesize bytes of region data.
	Adjust filesize in segment command accordingly.
	(dump_it): Use long format in printf.

2006-11-05  Juanma Barranquero  <lekktu@gmail.com>

	* dosfns.c (Finsert_startup_screen):
	* fns.c (Ffeaturep, syms_of_fns):
	* frame.c (syms_of_frame): Fix typos in docstrings.

	* unexcw.c (unexec): Fix typo in output message.

2006-11-04  Ralf Angeli  <angeli@caeruleus.net>

	* w32fns.c (w32_createwindow): Remove code for handling -geometry
	command line option and `initial-frame-alist' which is superfluous
	after the last change to `w32_createwindow'.

2006-11-04  Slawomir Nowaczyk  <slawek@cs.lth.se>  (tiny change)

	* w32proc.c (sys_wait): Only wait for processes with fd<0.
	Others should be handled by sys_select instead.  Fixes problems
	with (progn (start-process "" nil "ls") (call-process "ls")).

2006-11-04  Giorgos Keramidas  <keramida@ceid.upatras.gr>  (tiny change)

	* xmenu.c (Fmenu_bar_open): Declare variable before BLOCK_INPUT to
	avoid gcc 2.95 error.

2006-11-04  Chong Yidong  <cyd@stupidchicken.com>

	* gtkutil.c (update_frame_tool_bar): If icon image is invalid and
	wicon is null, insert an empty button.

1626
2006-11-03  Jan Djärv  <jan.h.d@swipnet.se>
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

	* xterm.c (x_raise_frame): Send _NET_ACTIVE_WINDOW when raising the
	window.

2006-11-02  Juanma Barranquero  <lekktu@gmail.com>

	* emacs.c (Fkill_emacs): Fix typo in docstring.

2006-11-02  Nozomu Ando  <nand@mac.com>

	* unexmacosx.c (mach_header, segment_command, vm_region, section)
	[_LP64]: New defines.
	(VM_REGION_BASIC_INFO_COUNT, VM_REGION_BASIC_INFO, LC_SEGMENT)
	(MH_MAGIC) [_LP64]: Redefine.
	(delta): Remove variable.
	(curr_file_offset, pagesize): New variables.
	(ROUNDUP_TO_PAGE_BOUNDARY): New macro.
	(data_segment_old_fileoff): Initialize explicitly.
	(print_region, unexec_regions_recorder, print_load_command_name)
	(copy_segment, copy_data_segment): Use long format in printf.
	(MAX_UNEXEC_REGIONS): Increase to 400.
	(unexec_regions_recorder): Don't warn too many regions here.
	(find_emacs_zone_regions): Warn too many regions here.
	(print_load_command_name) [_LP64]: Show correct load command name.
	(copy_segment, copy_data_segment): Use variable `curr_file_offset'.
	Show starting virtual memory address.  Don't show ending file offset.
	(copy_symtab, copy_dysymtab, copy_twolevelhints): New argument DELTA.
	(dump_it): Use new local variable `linkedit_delta' and pass to them.
	Error if trying to handle multiple DATA segments.
	(unexec): Initialize variable `pagesize'.

2006-11-01  Juanma Barranquero  <lekktu@gmail.com>

	* eval.c (Fcatch): Doc fix.

2006-10-31  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	* image.c [MAC_OS] (image_load_qt_1, xpm_scan, xpm_make_color_table_v)
	(xpm_put_color_table_v, xpm_get_color_table_v, xpm_make_color_table_h)
	(xpm_put_color_table_h, xpm_get_color_table_h, xpm_str_to_color_key)
	(xpm_load_image): Add const qualifier to arguments.
	[MAC_OS] (xpm_color_key_strings): Make static const.

	* mac.c (create_apple_event_from_event_ref)
	(create_apple_event_from_drag_ref, skip_white_space, parse_comment)
	(parse_include_file, parse_binding, parse_component)
	(parse_resource_name, parse_value, parse_resource_line)
	(xrm_merge_string_database, xrm_get_resource)
	(xrm_get_preference_database): Add const qualifier to arguments.
	[MAC_OSX] (sys_select): Make variable `context' static const.

	* macfns.c (mac_color_map): Make static const.
	(mac_color_map_lookup): Add const qualifier to arguments.

	* macmenu.c (install_menu_quit_handler): Make variable `typesList'
	static const.
	(name_is_separator): Add const qualifier to arguments.

	* macselect.c (init_service_handler): Make variable `specs' static
	const.

	* macterm.c (mac_create_bitmap_from_bitmap_data): Make variable
	`swap_nibbles' static const.
	(atsu_get_text_layout_with_text_ptr): Make variables `lengths',
	`tags', `sizes', `values' static const.
	(mac_draw_string_common): Make variables `context' static.
	Make variables `tags', `sizes', and `values' static const.
	(pcm_get_status, x_detect_focus_change, x_scroll_bar_handle_click)
	(xlfdpat_create, xlfdpat_block_match_1, xlfdpat_match)
	(mac_to_x_fontname, parse_x_font_name, add_mac_font_name)
	(mac_do_list_fonts, is_fully_specified_xlfd, do_grow_window)
	(mac_store_event_ref_as_apple_event, mac_make_rdb): Add const
	qualifier to arguments.
	(xlfd_scalable_fields, keycode_to_xkeysym_table)
	(fn_keycode_to_keycode_table): Make static const.
	(mac_load_query_font): Make variables `tags', `sizes', `values',
	`types', and `selectors' static const.
	(mac_handle_command_event, mac_handle_window_event):
	Make variables `names' and `types' static const.
	(init_command_handler, install_window_handler): Make variables
	`specs*' static const.
	(mac_handle_font_event, mac_handle_text_input_event)
	(mac_store_service_event): Make variables `names' and `types'
	const.  Make variables `names_*' and `types_*' static const.

	* macterm.h (create_apple_event_from_event_ref)
	(create_apple_event_from_drag_ref, xrm_merge_string_database)
	(xrm_get_resource, xrm_get_preference_database): Add const
	qualifier to arguments in externs.

2006-10-31  Kenichi Handa  <handa@m17n.org>

	* xfns.c (xic_create_xfontset): Fix previous change.

2006-10-30  Chong Yidong  <cyd@stupidchicken.com>

	* s/openbsd.h (LD_SWITCH_SYSTEM): Add /usr/pkg/lib and
	/usr/pkg/lib to library search path.

2006-10-29  Mark Davies  <mark@mcs.vuw.ac.nz>  (tiny change)

	* ralloc.c (relinquish): Use a long for excess space counter to
	handle 64-bit case correctly.

2006-10-29  Jeramey Crawford  <jeramey@jeramey.com>

	* m/amdx86-64.h: Add defines for OpenBSD x86-64.

2006-10-29  Juanma Barranquero  <lekktu@gmail.com>

	* window.c (Fdisplay_buffer): Fix typo in docstring.

2006-10-27  Ben North  <ben@redfrontdoor.org>  (tiny change)

	* w32term.c (x_draw_glyph_string_foreground): Set background mode
	to TRANSPARENT before using overstrike to simulate bold faces.

	* xfaces.c (best_matching_font): Fix logic to decide whether to
	use overstriking to simulate bold-face (it was reversed).

2006-10-23  Kim F. Storm  <storm@cua.dk>

	* xdisp.c (remember_mouse_glyph): Do nothing if glyphs are not
	initialized.

	* keyboard.c (read_char): Make an element (t . EVENT) in
	unread-command-events add EVENT to the current command's key sequence.
	(syms_of_keyboard) <unread-command-events>: Update doc.

2006-10-21  Richard Stallman  <rms@gnu.org>

	* minibuf.c (Vread_expression_map): Define here.
	(Qread_expression_history): New variable.
	(syms_of_minibuf): Initialize them.
	(Feval_minibuffer): Use Vread_expression_map and
	Qread_expression_history.

2006-10-21  Kenichi Handa  <handa@m17n.org>

	* xfns.c (xic_create_fontsetname): If ADSTYLE field is not a wild
	card, change it to "*".
	(xic_create_xfontset): Call XCreateFontSet for each single
	fontname in fontsetname.

2006-10-19  Chong Yidong  <cyd@stupidchicken.com>

	* callint.c (callint_message): Convert to a Lisp string.
	(syms_of_callint): Initialize it.
	(callint_message_size): Var deleted.
	(Fcall_interactively): Use Fformat instead of doprnt to construct
	prompt string.

2006-10-19  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	* xdisp.c (display_mode_line): Clear enabled_p flag on mode-line row.

2006-10-19  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	* macfns.c (Vmac_carbon_version_string) [TARGET_API_MAC_CARBON]:
	New variable.
	(syms_of_macfns) [TARGET_API_MAC_CARBON]: Defvar it.

1789
2006-10-19  Jan Djärv  <jan.h.d@swipnet.se>
1790 1791 1792 1793

	* xselect.c (x_handle_selection_request): If the converted_selection
	is nil or XCDR (converted_selection) is nil, decline the request.

1794
2006-10-16  Jan Djärv  <jan.h.d@swipnet.se>
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 1840 1841 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

	* gtkutil.c (get_utf8_string): Remove warnings with casts.
	(xg_tool_bar_button_cb): Ditto.
	(xg_tool_bar_callback): Ditto.

2006-10-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	* dispnew.c (adjust_frame_glyphs_for_frame_redisplay): Remove unused
	variable ch_dim.
	(adjust_frame_glyphs_for_window_redisplay): Likewise.  Don't allocate
	menu bar window matrices on non-X systems.

	* mac.c (Fmac_get_preference, Fmac_code_convert_string): Add GCPROs.

	* macterm.c (mac_query_char_extents): Don't return glyph ID if layout
	adjustment is needed.
	(mac_load_query_font): Check if width and height are positive.

2006-10-14  Richard Stallman  <rms@gnu.org>

	* sysdep.c (init_sys_modes): Delete DEFVAR_LISP in the wrong place.

2006-10-13  Chong Yidong  <cyd@stupidchicken.com>

	* xdisp.c (decode_mode_spec): Ignore %c and %l constructs in frame
	title.

2006-10-12  Chong Yidong  <cyd@stupidchicken.com>

	* keymap.c (Fkey_binding): Check Lisp_Object types before doing
	XCAR and XINT.

2006-10-12  Romain Francoise  <romain@orebokech.com>

	* image.c (xbm_read_bitmap_data): Delete extra semicolon.

2006-10-10  Stefan Monnier  <monnier@iro.umontreal.ca>

	* eval.c: Include xterm.h for x_fully_uncatch_errors and friends.

	* dispextern.h: Declare x_create_bitmap_from_xpm_data.

	* xterm.c (x_check_expected_move): Remove unused var `count'.

	* xmenu.c (syms_of_xmenu): Use Ffset rather than Fdefalias, since
	Fdefalias is not declared in any *.h file.

2006-10-09  Chong Yidong  <cyd@stupidchicken.com>

	* dispnew.c (sit_for): Sit forever if TIMEOUT is t.

	* keyboard.c (command_loop_1): Handle non-number values of
	`minibuffer-message-timeout'.
	(Fexecute_extended_command): Fix typo.

	* minibuf.c (temp_echo_area_glyphs): Sit for
	`minibuffer-message-timeout' seconds.

2006-10-08  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	* macterm.c (mac_draw_image_string, mac_draw_image_string_16):
	Add argument OVERSTRIKE_P.
	(mac_draw_string_common, mac_draw_image_string_cg): Likewise.
	Support overstrike.
	(mac_draw_string, mac_draw_string_16): Remove functions.
	(x_draw_glyph_string_foreground): Use overstrike when needed.
	(x_draw_composite_glyph_string_foreground): Likewise.
	Use mac_draw_image_string_16 instead of mac_draw_string_16.
	(mac_load_query_font): Rename from XLoadQueryFont.  Take argument
	F instead of DPY.  All uses changed.  Don't save/restore font.

2006-10-07  Ralf Angeli  <angeli@caeruleus.net>

	* w32fns.c (w32_createwindow): Honour left and top positions if
	supplied explicitly.

2006-10-06  Kim F. Storm  <storm@cua.dk>

	* xdisp.c (pos_visible_p): Fix value when EOB is visible.

2006-10-05  Chong Yidong  <cyd@stupidchicken.com>

	* frame.c (Qinhibit_face_set_after_frame_default): New var.
	(syms_of_frame): Initialize it.
	(x_set_frame_parameters): Avoid resetting :font attributes to the
	new-frame defaults.

2006-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>

	* lisp.h (clear_regexp_cache): Declare.

	* search.c (compile_pattern): Only check `cp->syntax_table' if needed.
	(compile_pattern_1): Remember `used_syntax' in `cp->syntax_table'.
	(clear_regexp_cache): Only flush those regexps which depend on
	a syntax-table.

	* regex.c (regex_compile): Set the new `used_syntax' bit.

	* regex.h: Remove file local variables.
	(struct re_pattern_buffer): New field `used_syntax'.

2006-10-03  Kim F. Storm  <storm@cua.dk>

	* process.c (list_processes_1): Run sentinels before removing dead
	processes.  Also remove `closed' network connections.

2006-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>

	* xdisp.c (handle_fontified_prop): Don't fontify at EOB.

2006-09-30  Eli Zaretskii  <eliz@gnu.org>

	* config.in: Regenerated.

2006-09-29  Juri Linkov  <juri@jurta.org>

	* buffer.c (syms_of_buffer): Reorder coding systems in the
	docstring of %z to the real order displayed in the modeline.

2006-09-28  Stefan Monnier  <monnier@iro.umontreal.ca>

	* keymap.c (Fdefine_key): Yet another int/Lisp_Object mixup (YAILOM).

2006-09-26  Chong Yidong  <cyd@stupidchicken.com>

	* indent.c (Fvertical_motion): Do move back if the Lisp string
	being displayed contains newlines.

2006-09-26  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	* macterm.c (mac_compute_glyph_string_overhangs, XLoadQueryFont)
	[USE_CG_DRAWING]: Call mac_prepare_for_quickdraw before QDTextBounds.

2006-09-26  Kenichi Handa  <handa@m17n.org>

	* keymap.c (Fsingle_key_description): For an invalid char, return
	"Invalid char code NNNNN".

2006-09-25  Chong Yidong  <cyd@stupidchicken.com>

	* callint.c (Fcall_interactively): Doc fix.

2006-09-25  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	* macterm.c (x_underline_at_descent_line): New variable.
	(syms_of_macterm): DEFVAR_BOOL it.
	(x_draw_glyph_string): Use it.
	(XLoadQueryFont): Calculate min_bounds.descent and max_bounds.descent.

2006-09-25  Kenichi Handa  <handa@m17n.org>

	* keymap.c (Fsingle_key_description): Return unique names for
	generic characters.

2006-09-24  Richard Stallman  <rms@gnu.org>

	* search.c (compile_pattern_1): Don't BLOCK_INPUT.

2006-09-24  Eli Zaretskii  <eliz@gnu.org>

	* makefile.w32-in ($(BLD)/fns.$(O), $(BLD)/w32proc.$(O)):
	Depend on nt/inc/langinfo.h and nt/inc/nl_types.h.

	* w32proc.c (nl_langinfo): New function.

	* w32fns.c (w32-pass-alt-to-system, w32-alt-is-meta)
	(w32-pass-lwindow-to-system, w32-enable-num-lock)
	(w32-enable-caps-lock, w32-scroll-lock-modifier)
	(w32-lwindow-modifier, w32-rwindow-modifier)
	(w32-apps-modifier, w32-mouse-button-tolerance): Doc fix.

2006-09-23  Juanma Barranquero  <lekktu@gmail.com>

	* minibuf.c (Finternal_complete_buffer, Fread_minibuffer)
	(Fdisplay_completion_list): Fix typos in docstrings.

2006-09-23  Romain Francoise  <romain@orebokech.com>

	* s/gnu-linux.h (MAIL_USE_FLOCK): Check for HAVE_LIBLOCKFILE too.

2006-09-23  Kenichi Handa  <handa@m17n.org>

	* keymap.c (Fmap_keymap): Docstring mentions about generic character.

2006-09-22  Stefan Monnier  <monnier@iro.umontreal.ca>

	* regex.c (analyse_first): For eight-bit-control chars, mark both the
	char's value and its leading byte in the fastmap.
	(re_search_2): When fast-scanning without translation, be careful to
	check that we only match the leading byte of a multibyte char.

	* charset.h (PREV_CHAR_BOUNDARY): Make it work from within a char's
	byte sequence.
	(AT_CHAR_BOUNDARY): New macro.

2006-09-22  Kenichi Handa  <handa@m17n.org>

	* fns.c (optimize_sub_char_table): Don't optimize a sub-char-table
	whose default value is non-nil.

1995
2006-09-22  Jan Djärv  <jan.h.d@swipnet.se>
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

	* gtkutil.c (xg_get_file_with_chooser): Only show C-l help for
	Gtk+ versions < 2.10.

	* xfns.c (syms_of_xfns): Fix typo in help text for
	x-gtk-file-dialog-help-text.

2006-09-21  Kim F. Storm  <storm@cua.dk>

	* fns.c (Fmemq): Refill doc string.
	(Fmemql): New defun, like memq but using eql.
	(syms_of_fns): Defsubr it.

2006-09-20  Kim F. Storm  <storm@cua.dk>

	* xdisp.c (pos_visible_p): CHARPOS < 0 means return info for
	last visible glyph in window.

	* window.c (Fset_window_hscroll, Fwindow_line_height):
	Doc fix.  Use "off-window" instead of "off-screen".
	(Fpos_visible_in_window_p): Likewise.
	If POS is t, return info for last visible glyph in window.

2006-09-19  Chong Yidong  <cyd@stupidchicken.com>

	* search.c (struct regexp_cache): New entry syntax_table.
	(compile_pattern_1): Set it.
	(syms_of_search): Initialize it.
	(compile_pattern): Require the syntax_table entry of the cache
	element to match the current syntax table entry.

2006-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>

	* window.c (Fwindow_end): Fix recent change.

2006-09-19  Kim F. Storm  <storm@cua.dk>

	* window.c (Fset_window_hscroll, Fpos_visible_in_window_p):
	Doc fix.  Use "off-screen" instead of "invisible".
	(Fwindow_line_height): Make line numbers 0-based.  Make line arg
	optional; if nil, use current cursor row.  Handle text terminals
	properly.  Return nil if non-interactive or pseudo-window.

2006-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>

	* keymap.c: Include alloca.h if available.
	(Fkey_binding): Only use AREF after checking it's a vector.
	Remove unused var `window'.

2006-09-19  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	* emacs.c (shut_down_emacs) [!subprocesses]: Don't set
	inhibit_sentinels.

	* mac.c [!MAC_OSX] (select): Fix argument name.

	* macmenu.c (enum mac_menu_kind, min_menu_id): New enumerator and
	menu ID for Apple menu.
	(menubar_selection_callback): Remove function.
	(find_and_call_menu_selection): New function from xmenu.c.
	(x_activate_menubar): Use it.
	(set_frame_menubar): Don't use f->output_data.mac->menubar_active.

	* macterm.c (menubar_selection_callback): Remove extern.
	(M_APPLE): Change to 234.
	(do_apple_menu) [!TARGET_API_MAC_CARBON]: Make non-static.
	(do_menu_choice): Remove function.

	* macterm.h (struct mac_output): Remove member menubar_active.
	(do_menu_choice): Remove extern.
	(do_apple_menu) [!TARGET_API_MAC_CARBON]: Add extern.

2068
2006-09-18  Jan Djärv  <jan.h.d@swipnet.se>
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

	* xfns.c (syms_of_xfns): Rename x_gtk_show_chooser_help_text to
	x_gtk_file_dialog_help_text.

	* gtkutil.c (xg_uses_old_file_dialog): Rename x-use-old-gtk-file-dialog
	to x-gtk-use-old-file-dialog.
	(xg_get_file_with_chooser): Rename x_gtk_show_chooser_help_text to
	x_gtk_file_dialog_help_text.

	* xfns.c (syms_of_xfns): Ditto.

2006-09-18  Kim F. Storm  <storm@cua.dk>

	* window.c (Fwindow_line_visibility): Remove.
	(Fwindow_line_height): New defun replacing it.
	(syms_of_window): Defsubr it.

2006-09-18  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	* mac.c (SELECT_USE_CFSOCKET) [MAC_OSX]: Set default to 1.
	[MAC_OSX] (sys_select) [SELECT_USE_CFSOCKET]: Fix pointer type.

2006-09-17  Jay Belanger  <belanger@truman.edu>

	* gmalloc.c:
	* md5.c:
	* md5.h:
	* strftime.c: Replace "GNU Library General Public License" by "GNU
	General Public License" throughout.

2006-09-17  Kim F. Storm  <storm@cua.dk>

	* dispnew.c (update_text_area): Undo 2000-07-18 change.
	Always redrawing whole row if line has mouse-face in it causes
	excessive flickering of the mode line.

2006-09-17  Chong Yidong  <cyd@stupidchicken.com>

	* search.c (clear_regexp_cache): New function.

	* syntax.c (Fmodify_syntax_entry): Clear regexp cache.

2111
2006-09-16  Jan Djärv  <jan.h.d@swipnet.se>
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

	* gtkutil.c (xg_get_file_with_chooser):
	Check x-gtk-show-chooser-help-text before adding the help text.

	* xfns.c (syms_of_xfns): New variable: x-gtk-show-chooser-help-text.

	* gtkutil.c (get_utf8_string): Try harder to convert to UTF8.  Gtk+
	will simply crash if we fail.

2006-09-16  Richard Stallman  <rms@gnu.org>

	* regex.c (re_compile_pattern): Set gl_state.current_syntax_table.

2006-09-15  Kim F. Storm  <storm@cua.dk>

	* window.c (Fwindow_line_visibility): New defun for line-move-partial.
	(syms_of_window): Defsubr it.
	(Fwindow_end): Use window's buffer rather than current buffer.

2006-09-15  Jay Belanger  <belanger@truman.edu>

	* COPYING: Replace "Library Public License" by "Lesser Public
	License" throughout.

2006-09-15  David Kastrup  <dak@gnu.org>

	* Makefile.in (keymap.o): Add "keymap.h" and "window.h" dependencies.

Juanma Barranquero's avatar
Juanma Barranquero committed
2140
	* keymap.c: Include "window.h".
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 2196 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
	(Fcommand_remapping): New optional POSITION argument.
	(Fkey_binding): New optional POSITION argument.  Completely rework
	handling of mouse clicks to get the same order of keymaps as
	`read-key-sequence' and heed POSITION.  Also temporarily switch
	buffers to location of mouse click and back.

	* keyboard.c (command_loop_1): Adjust call of `Fcommand_remapping'
	for additional argument.
	(parse_menu_item): Adjust call of `Fkey_binding' for additional
	argument.
	(read_key_sequence): If there are both `local-map' and `keymap'
	text properties at some buffer position, heed both.

	* keymap.h: Declare additional optional arguments of
	`Fcommand_remapping' and `Fkey_binding'.

2006-09-15  Juanma Barranquero  <lekktu@gmail.com>

	* indent.c (Fcurrent_column, Findent_to): Fix typos in docstring.

2006-09-14  Andreas Schwab  <schwab@suse.de>

	* print.c: Whitespace fixup.

2006-09-14  Kim F. Storm  <storm@cua.dk>

	* xdisp.c (produce_image_glyph): Automatically crop wide images at
	right window edge so we can draw the cursor on the same row to
	avoid confusing redisplay by placing the cursor outside the visible
	window area.

2006-09-13  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	* xterm.c (x_initialize): Don't install Xt event timer here.
	(x_timeout_atimer_activated_flag): New var.
	(x_activate_timeout_atimer): New function to install Xt timer.
	(x_send_scroll_bar_event, x_process_timeouts): Use it.

	* xmenu.c (x_menu_set_in_use, popup_activate_callback)
	(create_and_show_popup_menu, create_and_show_dialog): Use it.

	* xterm.h (x_activate_timeout_atimer): Add prototype.

2006-09-13  Richard Stallman  <rms@gnu.org>

	* print.c (print_string): When printcharfun is t,
	copy string contents and call strout on the copy.

	* keyboard.c (read_char): If end_time specified, don't put the
	event into this_command_keys.
	(read_key_sequence): If Voverriding_terminal_local_map is specified,
	don't check Voverriding_local_map at all.

2006-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>

	* textprop.c (Fnext_property_change, Fnext_single_property_change)
	(Fprevious_property_change, Fprevious_single_property_change):
	Avoid changing limit, so we can correctly catch the case where the
	property is constant up to limit.

2006-09-12  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	* macfns.c (mac_window) [MAC_OS_X_VERSION_MAX_ALLOWED >= 1030]:
	* macterm.c (XTread_socket) [MAC_OS_X_VERSION_MAX_ALLOWED >= 1030]:
	Undo 2006-09-08 change.

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

	* keymap.c (Fkey_binding): Use string position for string objects.

2006-09-11  Kim F. Storm  <storm@cua.dk>

	* keymap.c (Fkey_binding): Fix last change.

	* editfns.c (Fmessage): Recommend using (message "%s" ...).

2006-09-10  Chong Yidong  <cyd@stupidchicken.com>

	* keymap.c (Fkey_binding): Check for local keymap for mouse click
	events.

2006-09-10  Kim F. Storm  <storm@cua.dk>

	* keyboard.c (Finput_pending_p): Check Vunread_input_method_events
	and Vunread_post_input_method_events.

	* dispnew.c (Fredisplay): Document return value.

2229
2006-09-10  Jan Djärv  <jan.h.d@swipnet.se>
2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 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

	* xfns.c (Fx_close_connection): Call xg_display_close when USE_GTK.

	* gtkutil.c (xg_display_close): Always change default display if needed,
	check for < Gtk+ version 2.10 before calling gdk_display_close.

2006-09-10  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	* mac.c [MAC_OSX] (sys_select): Check argument `nfds' more rigidly.
	Make variable `ofds' static.  Remove variable `maxfd'.

	* macfns.c (Fx_file_dialog): Remove unused variable `f'.
	Call check_mac.

	* macmenu.c (Vmenu_updating_frame, syms_of_macmenu):
	* w32menu.c (Vmenu_updating_frame, syms_of_w32menu):
	Apply 2006-09-08 change for xmenu.c.

	* xfns.c (Fx_file_dialog): Call check_x.

2006-09-10  Kim F. Storm  <storm@cua.dk>

	* xdisp.c (get_window_cursor_type): Use hollow cursor on
	non-transparent images.

2006-09-09  Eli Zaretskii  <eliz@gnu.org>

	* editfns.c (Fsystem_name): Mention "host" in the doc string.
	(syms_of_editfns) <system-name>: Likewise.

2006-09-08  Martin Rudalics  <rudalics@gmx.at>

	* xdisp.c (mouse_autoselect_window): Remove.
	(Vmouse_autoselect_window): New variable.  DEFVAR_LISP it.

	* dispextern.h (mouse_autoselect_window): Remove extern.
	(Vmouse_autoselect_window): Add extern.

	* macterm.c (XTread_socket): Test Vmouse_autoselect_window
	instead of mouse_autoselect_window.

	* msdos.c (dos_rawgetc): Likewise.

	* w32term.c (w32_read_socket): Likewise.

	* xterm.c (handle_one_xevent): Likewise.

2006-09-08  Richard Stallman  <rms@gnu.org>

	* xdisp.c (Vmenu_updating_frame): Define here.
	(syms_of_xdisp): DEFVAR it here.
	(update_menu_bar): Always return hooks_run.
	Set Vmenu_updating_frame.

	* xdisp.c (redisplay_internal): Test Vinhibit_redisplay
	before calculating SELECTED_FRAME.

	* xmenu.c (Vmenu_updating_frame): Don't define here.
	(syms_of_xmenu): Don't DEFVAR it here.

	* xterm.c (x_error_quitter): For BadName error, just return.

	* eval.c (find_handler_clause): Give up on debugger if INPUT_BLOCKED_P.

	* casetab.c (init_casetab_once): Call set_case_table.

	* emacs.c (shut_down_emacs): Set inhibit_sentinels.

	* process.c (inhibit_sentinels): New variable.
	(exec_sentinel): Test inhibit_sentinels.
	(init_process): Initialize it.

	* process.h (inhibit_sentinels): Add decl.

	* search.c (looking_at_1, string_match_1, search_command):
	Make syntax table's canon table point to eqv table.

2006-09-08  Andreas Schwab  <schwab@suse.de>

	* print.c (strout): Fix whitespace.

2006-09-08  Kim F. Storm  <storm@cua.dk>

	* xterm.c (x_draw_glyph_string): Fix 2006-08-24 change.

2006-09-08  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	* mac.c [!MAC_OSX]: Don't include keyboard.h.
	[!MAC_OSX] (select): Try detect_input_pending before ReceiveNextEvent
	in the same BLOCK_INPUT block, in case that some input has already
	been read asynchronously.  Pretend to be interrupted by a signal
	if some input is available.
	[MAC_OSX] (select_and_poll_event, sys_select): Likewise.
	(SELECT_POLLING_PERIOD_USEC) [SELECT_USE_CFSOCKET]: Change to 100000.
	Now used for ReceiveNextEvent timeout instead of select timeout.
	(EVENT_CLASS_SOCK) [SELECT_USE_CFSOCKET]: Remove macro.
	[SELECT_USE_CFSOCKET] (socket_callback): Add non-blocking connect
	support.  Quit event loop.
	[MAC_OSX] (sys_select) [SELECT_USE_CFSOCKET]: Add non-blocking
	connect support.  Reuse previously allocated CFRunLoopSource.
	(Fmac_process_hi_command) [TARGET_API_MAC_CARBON]: New function.
	(syms_of_mac) [TARGET_API_MAC_CARBON]: Defsubr it.

	* macfns.c (mac_window) [MAC_OS_X_VERSION_MAX_ALLOWED >= 1030]:
	Specify kWindowAsyncDragAttribute.

	* macterm.c (mac_handle_origin_change, mac_handle_size_change)
	(mac_get_ideal_size): New functions.
	(x_set_offset, x_set_window_size, x_make_frame_visible)
	(do_zoom_window, mac_handle_window_event, XTread_socket): Use them.
	(install_window_handler, mac_handle_window_event)
	[USE_CARBON_EVENTS]: Handle kEventWindowGetIdealSize and
	kEventWindowBoundsChanged.
	(XTread_socket) [MAC_OS_X_VERSION_MAX_ALLOWED >= 1030]: Don't call
	DragWindow.

2006-09-07  Andreas Schwab  <schwab@suse.de>

	* m/ibms390x.h (START_FILES, LIB_STANDARD): Override to
	use lib64 instead of lib.

2006-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>

	* Makefile.in: Avoid double quotes when possible.

2006-09-06  Kenichi Handa  <handa@m17n.org>

	* editfns.c (Fformat_time_string): Use make_unibyte_string to make
	a Lisp string from the result of emacs_memftimeu call.

2006-09-06  Kim F. Storm  <storm@cua.dk>

	* xdisp.c (pos_visible_p): Remove exact_mode_line_heights_p arg;
	so calculate heights even when pos-visible-in-window-p is called
	with partially = t.  Don't overshoot last_visible_y in move_it_to.
	Return row height and row number in new rowh and vpos args.
	(cursor_row_fully_visible_p): First line is always "fully visible".
	(try_window): Don't clear matrix if vscrolled.

	* lisp.h (pos_visible_p): Update prototype.

	* window.c (Fpos_visible_in_window_p): Adapt to new pos_visible_p.
	Return row height and row number for partially visible rows.
	Modify return value to a 2 element list for fully visible rows and
	6 for partially visible row.
	(window_scroll_pixel_based): Use pos_visible_p directly instead of
	Fpos_visible_in_window_p.  Fix auto vscrolling for partially
	visible lines.  Only vscroll backwards if already vscrolled
	forwards.  Unconditionally vscroll forwards if PT is first (and
	only) line.  Set new window start instead of scrolling at
	start/end of tall line.

2006-09-05  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	* macterm.c (install_window_handler, mac_handle_window_event)
	[USE_CARBON_EVENTS]: Handle kEventWindowClose.
	[USE_MAC_TSM] (mac_handle_text_input_event): Set modifiers for
	ASCII keystroke event.

2389
2006-09-04  Jan Djärv  <jan.h.d@swipnet.se>
2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413

	* gtkutil.c (xg_get_file_with_chooser): Don't mention specific keys in
	the file chooser message.  Only call gtk_file_chooser_set_current_name
	when action is SAVE.

2006-09-04  Andreas Schwab  <schwab@suse.de>

	* Makefile.in: Double all single and back quotes in C-style
	comments to help fontifier.

2006-09-03  Jason Rumney  <jasonr@gnu.org>

	* w32.c (shutdown_handler): New function to exit cleanly on shutdown.
	(globals_of_w32): Register it as a signal handler.

2006-09-02  Juri Linkov  <juri@jurta.org>

	* marker.c (Fmarker_position): Doc fix.

2006-09-03  Eli Zaretskii  <eliz@gnu.org>

	* window.c (syms_of_window) <split-height-threshold>:
	<window-min-height, window-min-width>: Doc fix.

2414
2006-09-02  Jan Djärv  <jan.h.d@swipnet.se>
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