ChangeLog 1000 KB
Newer Older
1 2 3 4
2007-11-03  Richard Stallman  <rms@gnu.org>

	* xdisp.c (handle_stop): Move some code out of loop.

5 6 7 8 9 10
2007-11-01  Johan Bockg,Ae(Brd  <bojohan@gnu.org>

	* macterm.c, w32term.c, xterm.c (x_draw_stretch_glyph_string):
        Don't set s->stippled_p here, since it has already been set by
	x_set_glyph_string_gc from x_draw_glyph_string.

11 12 13 14 15
2007-10-31  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	* macfns.c [USE_ATSUI] (Fmac_atsu_font_face_attributes):
	Fix conversion from Lisp object to ATSUFontID.

16 17 18 19
2007-10-30  Jason Rumney  <jasonr@gnu.org>

	* xdisp.c (Fformat_mode_line): Do nothing when noninteractive.

20 21 22 23 24 25
2007-10-30  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	* unexmacosx.c (unexec_regions_recorder, unexec_regions_merge):
	Don't assume regions are aligned to page boundary.
	(print_load_command_name): Add LC_UUID if defined.

26 27 28 29
2007-10-30  Richard Stallman  <rms@gnu.org>

	* emacs.c (syms_of_emacs) <installation-directory>: Reflow docstring.

30 31 32 33 34
2007-10-29  Juanma Barranquero  <lekktu@gmail.com>

	* emacs.c (syms_of_emacs) <kill-emacs-hook>: Fix typo in docstring.
	<installation-directory>: Reflow docstring.

35 36 37 38
2007-10-26  Martin Rudalics  <rudalics@gmx.at>

	* window.c (window_min_size_2): Don't count header-line.

39 40 41
2007-10-25  Juanma Barranquero  <lekktu@gmail.com>

	* w32.c (init_environment): Fix tiny memory leak.
Juanma Barranquero's avatar
Juanma Barranquero committed
42
	(w32_get_resource): Remove unused variable `ok'.
43

Jason Rumney's avatar
Jason Rumney committed
44 45 46 47
2007-10-24  Jason Rumney  <jasonr@gnu.org>

	* w32fns.c: Include math.h.

Richard M. Stallman's avatar
Richard M. Stallman committed
48 49 50 51 52 53 54 55 56
2007-10-24  Richard Stallman  <rms@gnu.org>

	* frame.c (x_figure_window_size): For fullscreen case,
	set USPosition | PPosition without clobbering rest of window_prompting.

	* keyboard.c (Fcurrent_idle_time): Doc fix.

	* print.c (Fwith_output_to_temp_buffer): Doc fix.

57 58 59 60
2007-10-19  Juanma Barranquero  <lekktu@gmail.com>

	* process.c (Fset_process_filter): Doc fix.

61 62 63 64 65 66 67 68 69 70 71 72
2007-10-17  Glenn Morris  <rgm@gnu.org>

	* minibuf.c (Qcompletion_ignore_case): New Lisp_Object.
	(syms_of_minibuf): Add Qcompletion_ignore_case.
	* dired.c (Qcompletion_ignore_case): Change to external.
	(syms_of_dired) [VMS]: Remove Qcompletion_ignore_case.
	* fileio.c (Qcompletion_ignore_case): New external Lisp_Object.
	(Fread_file_name): Use it rather than intern'ing.

	* coding.c (Qcompletion_ignore_case): New external Lisp_Object.
	(Fread_coding_system): Ignore case of user input.

73 74 75 76 77 78 79
2007-10-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	* xdisp.c (handle_display_prop): Ignore display specs after
	replacing one when string text is being replaced.
	(handle_single_display_spec): Pretend as if characters with display
	property haven't been consumed only when buffer text is being replaced.

80 81 82 83 84 85
2007-10-14  Juanma Barranquero  <lekktu@gmail.com>

	* eval.c (do_autoload): Don't save autoloads.

	* data.c (Ffset): Save autoload of the function being set.

86 87 88 89 90
2007-10-07  John Paul Wallington  <jpw@pobox.com>

	* xfns.c (x_create_tip_frame): Set the `display-type' frame
	parameter before setting up faces.

91 92 93 94 95
2007-10-13  Eli Zaretskii  <eliz@gnu.org>

	* msdos.c (dos_rawgetc): Undo last change (there's no ``leaving
	selected frame'' on MSDOS).

96 97 98 99 100 101
2007-10-12  Martin Rudalics  <rudalics@gmx.at>

	* frame.c (Qexplicit_name): New variable.
	(x_report_frame_params): Report it in parameter alist.
	(syms_of_frame): Intern and staticpro it.

102 103 104 105 106
2007-10-09  Jason Rumney  <jasonr@gnu.org>

	* w32term.c (x_set_window_size): Disable code that attempts to tell
	Lisp code about a size change before it actually happens.

107 108 109 110 111
2007-10-09  Richard Stallman  <rms@gnu.org>

	* xdisp.c (handle_invisible_prop): After setting up an ellipsis,
	return HANDLED_RETURN.

Martin Rudalics's avatar
Martin Rudalics committed
112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129
2007-10-06  Martin Rudalics  <rudalics@gmx.at>

	* keyboard.c (kbd_buffer_get_event): Break loop waiting for input
	when there's an unread command event.

	* frame.c (focus_follows_mouse): Moved here from frame.el to allow
	window autoselection act appropriately when leaving selected frame.
	(syms_of_frame): Initialize focus_follows_mouse.
	* frame.h (focus_follows_mouse): Extern it.
	* macterm.c (XTread_socket): When focus_follows_mouse is nil
	make SELECT_WINDOW_EVENT only if we don't leave the selected
	frame.
	* msdos.c (dos_rawgetc): Likewise.
	* w32term.c (w32_read_socket): Likewise.
	* xterm.c (handle_one_xevent): Likewise.
	* xdisp.c (syms_of_xdisp): In doc-string of
	mouse-autoselect-window mention focus-follows-mouse.

130 131 132 133
2007-10-06  Andreas Schwab  <schwab@suse.de>

	* fileio.c (Fwrite_region): Ignore EINVAL error from fsync.

134 135 136 137 138 139
2007-10-05  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	* macterm.c (mac_load_query_font): Fix missing return value.
	[USE_CG_DRAWING] (mac_define_fringe_bitmap, mac_destroy_fringe_bitmap):
	Add BLOCK_INPUT.

140 141 142 143
2007-10-04  Juanma Barranquero  <lekktu@gmail.com>

	* image.c (syms_of_image) <image-types>: Fix typo in docstring.

144 145 146 147 148
2007-10-02  Richard Stallman  <rms@gnu.org>

	* xdisp.c (get_window_cursor_type): Implement documented behavior
	for cursor-in-non-selected-windows = t.

149 150
2007-10-01  Juanma Barranquero  <lekktu@gmail.com>

151
	* lread.c (Fload): Fix typo in docstring.
152

153 154 155 156 157
2007-09-29  Juri Linkov  <juri@jurta.org>

	* emacs.c (standard_args): Change priority of "--no-splash"
	from 40 to 3.  Add "--no-desktop" with the same priority.

Jason Rumney's avatar
Jason Rumney committed
158 159 160 161
2007-09-29  Jason Rumney  <jasonr@gnu.org>

	* w32.c (w32_get_resource): Always close registry keys.

162 163 164 165 166 167
2007-09-27  Jason Rumney  <jasonr@gnu.org>

	* makefile.w32-in (LIBS): Add COMCTL32.

	* w32fns.c (globals_of_w32fns): Init common controls.

Richard M. Stallman's avatar
Richard M. Stallman committed
168 169 170 171
2007-09-21  Richard Stallman  <rms@gnu.org>

	* image.c (our_memory_buffer): Renamed from omfib_buffer.

172 173 174 175 176
2007-09-21  Juanma Barranquero  <lekktu@gmail.com>

	* w32term.c (x_draw_glyph_string): Use strike_through_color, not
	underline_color, to draw strike-through.

Glenn Morris's avatar
Glenn Morris committed
177 178 179 180
2007-09-20  Glenn Morris  <rgm@gnu.org>

	* process.c (Fmake_network_process): Doc fix.

Richard M. Stallman's avatar
Richard M. Stallman committed
181 182 183 184
2007-09-19  Richard Stallman  <rms@gnu.org>

	* buffer.c (Foverlays_at): Doc fix.

185 186 187 188
2007-09-18  Stefan Monnier  <monnier@iro.umontreal.ca>

	* fns.c (Fplist_put): Preserve uneven tail data.

189 190 191 192 193 194 195 196
2007-09-16  Jan Dj,Ad(Brv  <jan.h.d@swipnet.se>

	* gtkutil.c (xg_get_image_for_pixmap): Always create a GdkPixbuf
	when we have no file name for the icon.
	(xg_tool_bar_expose_callback): Remove.
	(xg_create_tool_bar): Don't connect expose signal to
	xg_tool_bar_expose_callback.

Andreas Schwab's avatar
Andreas Schwab committed
197 198 199 200 201
2007-09-16  Andreas Schwab  <schwab@suse.de>

	* alloc.c (reset_malloc_hooks): Set the hooks to the previous
	values instead of zapping them.

202 203 204 205
2007-09-15  Glenn Morris  <rgm@gnu.org>

	* s/hpux.h: No longer define `static' as nothing.

206 207 208 209 210 211 212 213
2007-09-14  Glenn Morris  <rgm@gnu.org>

	* fringe.c (init_fringe_bitmap) <swap nibble>: Move to file scope.
	* gtkutil.c (xg_separator_p) <separator_names>: Move to file scope.
	* image.c (our_memory_fill_input_buffer) <buffer>: Move to file
	scope and rename to omfib_buffer for clarity.
	(gif_load) <interlace_start, interlace_increment>: Move to file scope.

214 215
2007-09-14  Peter O'Gorman  <bug-gnu-emacs@mlists.thewrittenword.com>  (tiny change)

Jan Djärv's avatar
Jan Djärv committed
216 217 218 219 220 221 222 223 224 225
	* gtkutil.c (xg_get_file_with_chooser): Move GCPRO1 after declarations.

	* termhooks.h (enum event_kind): Remove trailing comma.

	* frame.h (enum): Remove trailing comma.

2007-09-14  Jan Dj,Ad(Brv  <jan.h.d@swipnet.se>

	* keyboard.c, xterm.c, xfaces.c (abs): #undef before #define.

226 227 228 229 230 231 232 233
2007-09-12  Glenn Morris  <rgm@gnu.org>

	* gtkutil.c (cnt): Rename to menu_grab_callback_cnt for clarity.
	(menu_grab_callback): All uses changed.

	* xselect.c (cnt): Rename to x_reply_selection_request_cnt for clarity.
	(x_reply_selection_request): All uses changed.

234 235 236 237
2007-09-06  Pixel  <pixel@mandriva.com>  (tiny change)

	* image.c (gif_load): Fix bug: Handle nonexistent colormap.

Glenn Morris's avatar
Glenn Morris committed
238 239
2007-09-06  Glenn Morris  <rgm@gnu.org>

240
	* gtkutil.c (menu_grab_callback) <cnt>:
Glenn Morris's avatar
Glenn Morris committed
241 242 243
	* xselect.c (x_reply_selection_request) <cnt>: Move static
	variable to file scope.

Jason Rumney's avatar
Jason Rumney committed
244 245 246 247
2007-09-02  Dhuvra Krishnamurthy  <dhuvrakm@gmail.com>  (tiny change)

	* w32proc.c (delete_child): Don't terminate threads of zombies.

248 249 250
2007-09-02  Jan Dj,Ad(Brv  <jan.h.d@swipnet.se>

	* keyboard.c: Qrtl is new.
251 252
	(parse_tool_bar_item): Handle :rtl keyword.
	(syms_of_keyboard): Intern :rtl keyword.
253 254 255

	* dispextern.h (enum tool_bar_item_idx): Add TOOL_BAR_ITEM_RTL_IMAGE.

256 257 258 259
	* gtkutil.c (file_for_image, find_rtl_image): New functions.
	(xg_get_image_for_pixmap): Use file_for_image
	(update_frame_tool_bar): If direction is RTL, use RTL image if
	defined.  Use Gtk stock images or named theme icons if defined.
260

261 262 263 264 265 266 267 268 269 270 271
2007-08-29  Martin Rudalics  <rudalics@gmx.at>

	* keyboard.h (struct kboard): New elt Vlast_repeatable_command.

	* keyboard.c (syms_of_keyboard): Set up new Lisp variable
	last-repeatable-command.
	(init_kboard): Initialize Vlast_repeatable_command.
	(command_loop_1): Set it to real_this_command unless that was
	bound to an input event.
	(mark_kboards): Mark it.

272 273 274 275 276
2007-08-28  Juanma Barranquero  <lekktu@gmail.com>

	* image.c (syms_of_image) <image-library-alist, cross-disabled-images>:
	Doc fixes.

277 278 279 280 281
2007-08-28  Jan Dj,Ad(Brv  <jan.h.d@swipnet.se>

	* gtkutil.c (xg_tool_bar_expose_callback): Just do SET_FRAME_GARBAGED
	so no Lisp code is executed.

282 283 284 285 286
2007-08-27  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	* macterm.c (x_draw_composite_glyph_string_foreground): Draw rectangle
	for nonexistent or zero-width glyph in composition glyph.

287 288 289 290 291 292 293 294 295 296
2007-08-27  Richard Stallman  <rms@gnu.org>

	* eval.c (condition-case): Doc fix.

2007-08-27  Masatake YAMATO  <jet@gyve.org>

	* xfaces.c (tty_supports_face_attributes_p): Fix code
	for LFACE_INVERSE_INDEX and LFACE_BACKGROUND_INDEX; code
	was copied and not edited.

297 298 299 300
2007-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>

	* lread.c (load_warn_old_style_backquotes): Fix up array size typo.

301 302
2007-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>

303 304 305 306 307 308
	* lread.c (Qold_style_backquotes): New var.
	(syms_of_lread): Init and staticpro it.
	(load_warn_old_style_backquotes): New fun.
	(Fload): Use them to warn about old style backquotes.
	(end_of_file_error, Fload): Remove unused vars.

309 310
	* lisp.h (Fclear_face_cache, Fx_send_client_event): Declare.

311
	* lread.c (Vold_style_backquotes): New var.
312
	(syms_of_lread): Init and export it to Elisp.
313 314
	(read1): Set it when we find an old-style (back)quote.

315 316 317 318
2007-08-22  Jason Rumney  <jasonr@gnu.org>

	* w32reg.c (SYSTEM_DEFAULT_RESOURCES): Add missing NULL terminator.

319 320 321 322 323 324 325 326
2007-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>

	* insdel.c (reset_var_on_error): New fun.
	(signal_before_change, signal_after_change):
	Use it to reset (after|before)-change-functions to nil in case of error.
	Bind inhibit-modification-hooks to t.
	Don't bind (after|before)-change-functions to nil while they run.

Andreas Schwab's avatar
Andreas Schwab committed
327 328 329 330
2007-08-19  Andreas Schwab  <schwab@suse.de>

	* alloc.c (pure): Round PURESIZE up.

331 332 333 334 335
2007-08-17  Jan Dj,Ad(Brv  <jan.h.d@swipnet.se>

	* xterm.c (handle_one_xevent): Remove check that mouse click is in
	active frame.

336 337
2007-08-15  Philippe Waroquiers  <philippe.waroquiers@eurocontrol.int>

Glenn Morris's avatar
Glenn Morris committed
338 339
	* term.c (tty_default_color_capabilities): Declare static
	variables in file scope, to avoid HPUX compiler problem.
340

341 342 343 344 345
2007-08-13  Jan Dj,Ad(Brv  <jan.h.d@swipnet.se>

	* gtkutil.c (update_frame_tool_bar): Use -1 as index
	to gtk_toolbar_insert.

346 347 348 349 350
2007-08-11  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	* xterm.c (x_draw_image_glyph_string): Adjust stipple origin when
	filling pixmap with stippled background.

351 352 353 354 355 356
2007-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>

	* print.c (new_backquote_output): Rename from old_backquote_output.
	(print): Inverse its logic (according to its name) so as to match the
	behavior of new_backquote_flag in lread.c.

357 358 359 360
2007-08-09  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	* gmalloc.c (posix_memalign): New function.

Glenn Morris's avatar
Glenn Morris committed
361 362 363 364
2007-08-08  Glenn Morris  <rgm@gnu.org>

	* Replace `iff' in doc-strings and comments.

365 366
2007-08-07  Chong Yidong  <cyd@stupidchicken.com>

367 368 369 370 371 372 373 374 375
	* dispextern.h (struct image): New members.

	* image.c: Sync to trunk version.
	(search_image_cache, uncache_image, image-refresh): New functions.
	Check for fg and bg colors.
	(lookup_image): Use search_image_cache.  Cache fg and bg colors.
	(pbm_load): Another check for invalid image data.
	(png_load): Ignore default background field.

376 377
	* xdisp.c (move_it_by_lines): Remove incorrect optimization.

378 379 380 381
2007-08-07  Jan Dj,Ad(Brv  <jan.h.d@swipnet.se>

	* gmalloc.c (__malloc_initialize): Remove pthread_once.  Not needed.

382 383 384 385 386
2007-08-07  Sam Steingold  <sds@gnu.org>

	* gmalloc.c (__morecore): Fix the declaration to comply with the
	definition.

387 388 389 390 391 392 393
2007-08-07  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	* emacs.c (main)
	[HAVE_GTK_AND_PTHREAD && !SYSTEM_MALLOC && !DOUG_LEA_MALLOC]:
	Call malloc_enable_thread on interactive startup.

	* gmalloc.c (_malloc_thread_enabled_p) [USE_PTHREAD]: New variable.
394 395
	(LOCK, UNLOCK, LOCK_ALIGNED_BLOCKS, UNLOCK_ALIGNED_BLOCKS)
	[USE_PTHREAD]: Conditionalize with it.
396 397 398 399
	(malloc_atfork_handler_prepare, malloc_atfork_handler_parent)
	(malloc_atfork_handler_child, malloc_enable_thread) [USE_PTHREAD]:
	New functions.

400 401 402 403 404
2007-08-06  Chong Yidong  <cyd@stupidchicken.com>

	* xdisp.c (redisplay_window): When restoring original buffer
	position, make sure it is still valid.

405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428
2007-08-06  Martin Rudalics  <rudalics@gmx.at>

	* window.c (window_min_size_2): New function.
	(window_min_size_1, size_window, Fdisplay_buffer)
	(Fsplit_window, adjust_window_trailing_edge): Use it to avoid
	windows without mode- or header-lines when window-min-height is
	too small.
	(size_window): Reset nodelete_p after testing it, following an
	earlier note by Kim F. Storm.
	(display_buffer): Do not set split_height_threshold to twice the
	value of window_min_height to avoid changing the value of a
	customizable variable.  Rather explicitly check whether the
	height of the window that shall be splitted is at least as large
	as split_height_threshold.
	(Fwindow_full_width_p): New defun.
	(syms_of_window): Defsubr it.

	* window.h: Add EXFUN for Fwindow_full_width_p.

2007-08-06  Andreas Schwab  <schwab@suse.de>

	* window.c (Fdisplay_buffer): Use NILP.
	(Fset_window_scroll_bars): Likewise.

429 430 431 432
2007-08-03  Richard Stallman  <rms@gnu.org>

	* fileio.c (Fvisited_file_modtime): Use make_time.

433
2007-08-01  Ryo Yoshitake  <ryo@shiftmode.net>  (tiny change)
Vinicius Jose Latorre's avatar
Vinicius Jose Latorre committed
434 435 436 437

	* mac.c (init_mac_osx_environment): Adjust load-path on self-contained
	build.

438 439 440 441
2007-07-30  Stefan Monnier  <monnier@iro.umontreal.ca>

	* eval.c (init_eval_once): Bump max_lisp_eval_depth to 400.

442 443 444 445 446 447
2007-07-25  Glenn Morris  <rgm@gnu.org>

	* Relicense all FSF files to GPLv3 or later.

	* COPYING: Switch to GPLv3.

448 449 450 451 452
2007-07-24  Jason Rumney  <jasonr@gnu.org>

	* w32fns.c (x_real_positions): Get real position from OS instead of
	calculating it.

453 454 455 456
2007-07-23  Jason Rumney  <jasonr@gnu.org>

	* filelock.c (current_lock_owner): Allow for @ sign in username.

457 458
2007-07-20  Eli Zaretskii  <eliz@gnu.org>

Eli Zaretskii's avatar
Eli Zaretskii committed
459 460
	* makefile.w32-in (clean): Don't delete *~.

461 462 463
	* w32proc.c (IMAGE_NT_OPTIONAL_HDR32_MAGIC, IMAGE_OPTIONAL_HEADER32):
	Define if not defined.

464 465 466 467
2007-07-18  Jason Rumney  <jasonr@gnu.org>

	* w32proc.c (w32_executable_type): Handle 64 bit executables.

468 469 470 471 472 473 474 475 476
2007-07-16  Juanma Barranquero  <lekktu@gmail.com>

	* coding.c (Ffind_operation_coding_system):
	* eval.c (For, Fand, Fprogn):
	* keyboard.c (Ftrack_mouse):
	* print.c (Fwith_output_to_temp_buffer):
	* window.c (Fsave_window_excursion): Doc fixes (some reported
	by Johan Bockg,Ae(Brd).

Richard M. Stallman's avatar
Richard M. Stallman committed
477 478 479 480 481 482
2007-07-15  Richard Stallman  <rms@gnu.org>

	* data.c (Fsetq_default): Doc fix.

	* eval.c (Fsetq): Doc fix.

483 484 485 486 487 488 489
2007-07-11  Jason Rumney  <jasonr@gnu.org>

	* makefile.w32-in (LIBS): Include OLE32.

	* w32fns.c (w32_msg_pump) <WM_EMACS_CREATEWINDOW>: Initialize COM.
	(w32_msg_pump) <WM_DESTROY>: Uninitialize COM.

490 491 492 493 494
2007-06-28  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	* macterm.c [USE_MAC_TSM] (mac_handle_text_input_event):
	Check WINDOWP before using XWINDOW.

495 496 497 498
2007-06-27  Juanma Barranquero  <lekktu@gmail.com>

	* buffer.c (syms_of_buffer) <selective-display>: Fix typo in docstring.

499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516
2007-06-26  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	* gmalloc.c [HAVE_GTK_AND_PTHREAD]: Check this after including config.h.
	(_aligned_blocks_mutex) [USE_PTHREAD]: New variable.
	(LOCK_ALIGNED_BLOCKS, UNLOCK_ALIGNED_BLOCKS): New macros.
	(_free_internal, memalign): Use them.
	(_malloc_mutex, _aligned_blocks_mutex) [USE_PTHREAD]:
	Initialize to PTHREAD_MUTEX_INITIALIZER.
	(malloc_initialize_1) [USE_PTHREAD]: Don't use recursive mutex.
	(morecore_nolock): Rename from morecore.  All uses changed.
	Use only nolock versions of internal allocation functions.
	(_malloc_internal_nolock, _realloc_internal_nolock)
	(_free_internal_nolock): New functions created from
	_malloc_internal, _realloc_internal, and _free_internal.
	(_malloc_internal, _realloc_internal, _free_internal): Use them.
	Copy hook value to automatic variable before its use.
	(memalign): Copy hook value to automatic variable before its use.

Jason Rumney's avatar
Jason Rumney committed
517 518 519 520
2007-06-21  Jason Rumney  <jasonr@gnu.org>

	* image.c (convert_mono_to_color_image): Swap fore and background.

521 522 523 524 525
2007-06-20  Jason Rumney  <jasonr@gnu.org>

	* w32bdf.c (w32_BDF_to_x_font): Unmap memory when finished.
	(w32_free_bdf_font): Unmap memory not handle.

526 527 528 529 530 531
2007-06-20  Juanma Barranquero  <lekktu@gmail.com>

	* w32.c (_wsa_errlist): Fix typo in error message.
	(init_environment): Ignore any environment variable from the
	registry having a null value.

532 533 534 535 536
2007-06-17  Jason Rumney  <jasonr@gnu.org>

	* w32menu.c (add_menu_item): Don't use multibyte string functions on
	unicode strings.

Juanma Barranquero's avatar
Juanma Barranquero committed
537 538 539 540 541
2007-06-17  Juanma Barranquero  <lekktu@gmail.com>

	* xdisp.c (syms_of_xdisp) <auto-resize-tool-bars>:
	Fix typo in docstring.

542 543 544 545 546
2007-06-16  Eli Zaretskii  <eliz@gnu.org>

	* w32menu.c (add_menu_item): Escape `&' characters in menu items
	and their keybindings.

547 548 549 550
2007-06-14  Chong Yidong  <cyd@stupidchicken.com>

	* composite.c (update_compositions): Check validity of compositions.

551 552 553 554
2007-06-10  Jason Rumney  <jasonr@gnu.org>

	* w32fns.c (Fx_file_dialog): Take size from struct not pointer.

Jason Rumney's avatar
Jason Rumney committed
555 556 557 558
2007-06-06  Jason Rumney  <jasonr@gnu.org>

	* s/ms-w32.h: Don't define HAVE_TZNAME.

559 560 561 562 563
2007-06-06  Chong Yidong  <cyd@stupidchicken.com>

	* image.c (xpm_load): Remove spurious call to
	xpm_init_color_cache.

564 565 566 567
2007-06-06  Martin Rudalics  <rudalics@gmx.at>

	* syntax.c (scan_words): Fix arg to UPDATE_SYNTAX_TABLE_BACKWARD.

568 569 570 571 572 573 574 575 576 577 578 579 580
2007-06-05  Dan Nicolaescu  <dann@ics.uci.edu>

	* xfaces.c (syms_of_xfaces): Delete stray semicolon.
	* xdisp.c (next_element_from_buffer):
	* window.c (delete_window):
	* term.c (term_mouse_highlight):
	* msdos.c (getdefdir):
	* macterm.c (mac_create_bitmap_from_bitmap_data)
	(init_font_name_table):
	* fns.c (Fsxhash):
	* data.c (Fmake_local_variable):
	* ccl.c (ccl_driver): Likewise.

581 582 583 584
2007-06-04  Juanma Barranquero  <lekktu@gmail.com>

	* window.c (Fshrink_window): Reflow docstring.

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

Chong Yidong's avatar
Chong Yidong committed
587 588
	* Version 22.1 released.

589 590 591 592 593 594 595
	* xfns.c (x_set_name_internal): Undo last change.

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

	* xfns.c (x_encode_text): Add GCPRO.
	(x_set_name_internal): Separate USE_GTK and non-USE_GTK cases.

596 597 598 599 600
2007-06-01  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	* xfns.c (x_set_name_internal): Save encoded name before
	x_encode_text in case string data is relocated.

601 602 603 604
2007-05-31  Richard Stallman  <rms@gnu.org>

	* buffer.c (syms_of_buffer): Doc fix.

605 606 607 608 609
2007-05-28  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	* xdisp.c (redisplay_internal): Bind inhibit-point-motion-hooks to t
	around current_column call.

610 611 612 613 614 615
2007-05-24  Chong Yidong  <cyd@stupidchicken.com>

	* xdisp.c (redisplay_window): If first window line is a
	continuation line, recompute the new window start instead of
	recentering.

YAMAMOTO Mitsuharu's avatar
YAMAMOTO Mitsuharu committed
616 617 618 619 620
2007-05-24  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	* macterm.c [USE_CARBON_EVENTS] (mac_handle_window_event):
	Call mac_wakeup_from_rne on window size change.

621 622 623 624
2007-05-22  Richard Stallman  <rms@gnu.org>

	* xterm.c (x_connection_closed): Remove NO_RETURN.

625 626 627 628 629
2007-05-19  Stefan Monnier  <monnier@iro.umontreal.ca>

	* syntax.c (skip_chars): Update syntax-table only after we checked that
	the new location is valid.

630 631 632 633 634
2007-05-19  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	* macterm.c (x_calc_absolute_position): Add BLOCK_INPUT around
	mac_get_window_bounds.

635 636 637 638
2007-05-17  Glenn Morris  <rgm@gnu.org>

	* m/macppc.h (ORDINARY_LINK): No longer define on OpenBSD.

639 640 641 642 643
2007-05-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	* macterm.c [USE_CARBON_EVENTS] (mac_convert_event_ref): Also convert
	dead key repeat and up events.

644 645 646 647
2007-05-13  Chong Yidong  <cyd@stupidchicken.com>

	* xterm.c (XTread_socket): Revert last change.

648 649
2007-05-12  Chong Yidong  <cyd@stupidchicken.com>

650 651
	* image.c (pbm_load): Correctly check image size for greyscale pbm.

652 653
	* xterm.c (XTread_socket): Yet Another Uncaught X Error Crash (YAUXEC).

654 655 656 657
2007-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>

	* editfns.c (Ftranspose_regions): Yet another int/Lisp_Object mixup (YAILOM)

658 659 660 661
2007-05-06  Richard Stallman  <rms@gnu.org>

	* process.c: Undo May 3 change.

662
2007-05-03  Per Cederqvist  <ceder@lysator.liu.se>  (tiny change)
663 664 665 666

	* process.c (Faccept_process_output): Revert 2006-03-22 change so
	that the third argument once again is in microseconds (not
	milliseconds).  This makes it compatible with Emacs 21 and
667
	earlier.  Problem found by Henrik Rindl,Av(Bw.
668

669 670 671 672 673
2007-05-01  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	* macmenu.c (mac_dialog_show): Apply 2007-04-27 change for xmenu.c.
	(Fx_popup_dialog) [MAC_OSX]: Likewise.

674 675 676 677
2007-04-29  Richard Stallman  <rms@gnu.org>

	* insdel.c (replace_range): For undo, record insertion first.

678 679 680 681 682
2007-04-29  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	* xdisp.c (try_window_reusing_current_matrix): Fix number of
	disabled lines.

683 684 685 686 687 688 689
2007-04-27  Jan Dj,Ad(Brv  <jan.h.d@swipnet.se>

	* xmenu.c (xdialog_show): Call Fredisplay before showing the dialog.

	* gtkutil.c (xg_update_menubar, create_menus): Create empty
	submenu for menu bar items.

690 691 692 693 694
2007-04-24  Chong Yidong  <cyd@stupidchicken.com>

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

695 696 697 698
2007-04-23  Richard Stallman  <rms@gnu.org>

	* process.c (Fstart_process): Doc fix.

Eli Zaretskii's avatar
Eli Zaretskii committed
699 700 701 702
2007-04-23  Eli Zaretskii  <eliz@gnu.org>

	* process.c (Fstart_process): Doc fix.

703 704 705 706 707 708
2007-04-22  Richard Stallman  <rms@gnu.org>

	* abbrev.c (Fdefine_abbrev): Doc fix.

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

Glenn Morris's avatar
Glenn Morris committed
709 710 711 712
2007-04-21  Glenn Morris  <rgm@gnu.org>

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

713 714 715 716
2007-04-20  Glenn Morris  <rgm@gnu.org>

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

717 718 719 720 721 722
2007-04-19  Juanma Barranquero  <lekktu@gmail.com>

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

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

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

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

732 733 734 735 736
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.

737 738 739 740 741 742
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.

Kim F. Storm's avatar
Kim F. Storm committed
743 744 745 746 747
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.

748 749 750 751 752 753 754 755 756 757 758
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.
Kim F. Storm's avatar
Kim F. Storm committed
759
	(mac_term_init): Call mac_get_screen_info.  Add partial contents of
760 761
	mac_initialize_display_info.

762 763 764 765 766 767 768 769 770 771 772
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.

773 774 775 776 777
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.

YAMAMOTO Mitsuharu's avatar
YAMAMOTO Mitsuharu committed
778 779 780 781 782
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'.

783 784 785 786
2007-04-09  Martin Rudalics  <rudalics@gmx.at>

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

787 788 789 790
2007-04-08  Richard Stallman  <rms@gnu.org>

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

791 792 793 794 795
2007-04-07  Chong Yidong  <cyd@stupidchicken.com>

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

Eli Zaretskii's avatar
Eli Zaretskii committed
796 797 798 799
2007-04-03  Eli Zaretskii  <eliz@gnu.org>

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

800 801 802 803 804
2007-04-03  Jan Dj,Ad(Brv  <jan.h.d@swipnet.se>

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

805 806 807 808
2007-04-02  Juanma Barranquero  <lekktu@gmail.com>

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

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

811 812 813 814 815
	* 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.
816

Eli Zaretskii's avatar
Eli Zaretskii committed
817 818 819 820
2007-03-31  Eli Zaretskii  <eliz@gnu.org>

	* window.c (Fget_lru_window): Doc fix.

821 822 823 824 825
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.

Kim F. Storm's avatar
Kim F. Storm committed
826 827 828 829 830 831 832
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).

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

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

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

YAMAMOTO Mitsuharu's avatar
YAMAMOTO Mitsuharu committed
840 841 842 843 844 845 846 847 848 849 850 851
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.

Juanma Barranquero's avatar
Juanma Barranquero committed
852 853 854 855 856
2007-03-27  Juanma Barranquero  <lekktu@gmail.com>

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

Glenn Morris's avatar
Glenn Morris committed
857 858 859 860
2007-03-27  Glenn Morris  <rgm@gnu.org>

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

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

Juanma Barranquero's avatar
Juanma Barranquero committed
863 864
	* macfns.c (Fx_display_mm_height, Fx_display_mm_width): Scale whole
	screen size in pixels by millimeters per pixel of main display.
865

Juanma Barranquero's avatar
Juanma Barranquero committed
866 867
	* macselect.c (get_scrap_target_type_list, x_own_selection):
	Move assignments outside predicate macros.
868 869 870 871 872 873 874
	(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.

875 876 877 878 879
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).

Kim F. Storm's avatar
Kim F. Storm committed
880 881 882 883 884 885 886
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.

Eli Zaretskii's avatar
Eli Zaretskii committed
887 888 889 890 891 892
2007-03-24  Eli Zaretskii  <eliz@gnu.org>

	* editfns.c (Fgoto_char): Doc fix.

	* indent.c (Findent_to): Doc fix.

893 894 895 896 897
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.

Eli Zaretskii's avatar
Eli Zaretskii committed
898 899 900 901 902 903 904 905
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.

Kim F. Storm's avatar
Kim F. Storm committed
906 907 908 909 910
2007-03-23  Kim F. Storm  <storm@cua.dk>

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

Glenn Morris's avatar
Glenn Morris committed
911 912 913 914 915
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.

916 917 918 919
2007-03-22  Chong Yidong  <cyd@stupidchicken.com>

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

Kenichi Handa's avatar
Kenichi Handa committed
920 921 922 923 924 925 926 927
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.

YAMAMOTO Mitsuharu's avatar
YAMAMOTO Mitsuharu committed
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
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.

Juanma Barranquero's avatar
Juanma Barranquero committed
955 956 957
	* process.c (Fmake_network_process) [HAVE_GETADDRINFO]:
	Clear immediate_quit before calling freeaddrinfo.
	Add BLOCK_INPUT around freeaddrinfo.
YAMAMOTO Mitsuharu's avatar
YAMAMOTO Mitsuharu committed
958 959 960 961

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

962 963 964 965 966 967
2007-03-19  Richard Stallman  <rms@gnu.org>

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

	* buffer.c (syms_of_buffer): Doc fix.

968 969 970 971
2007-03-18  Chong Yidong  <cyd@stupidchicken.com>

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

972 973 974 975 976 977 978 979 980
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.

Juanma Barranquero's avatar
Juanma Barranquero committed
981 982
	* xdisp.c (redisplay_internal, note_mouse_highlight):
	Check popup_activated for MAC_OS.
983

984
2007-03-17  Juanma Barranquero  <lekktu@gmail.com>
Kim F. Storm's avatar
Kim F. Storm committed
985

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

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

991
	* dired.c (file_name_completion): gcpro NAME.
992

Kim F. Storm's avatar
Kim F. Storm committed
993 994 995 996 997
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.

998 999 1000 1001 1002 1003 1004 1005
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.

1006 1007 1008 1009 1010 1011 1012 1013 1014 1015
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.

Glenn Morris's avatar
Glenn Morris committed
1016 1017 1018 1019 1020
2007-03-12  Glenn Morris  <rgm@gnu.org>

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

1021 1022 1023 1024
2007-03-11  Sam Steingold  <sds@gnu.org>

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

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

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

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

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

1034 1035 1036 1037 1038 1039 1040
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.

Kim F. Storm's avatar
Kim F. Storm committed
1041 1042 1043 1044 1045
2007-03-10  Kim F. Storm  <storm@cua.dk>

	* xdisp.c (redisplay_window): Don't automatically select a new window
	start for a contination line during mouse-click.

1046 1047 1048 1049
2007-03-09  Jan Dj,Ad(Brv  <jan.h.d@swipnet.se>

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

Juanma Barranquero's avatar
Juanma Barranquero committed
1050 1051 1052 1053
2007-03-09  Juanma Barranquero  <lekktu@gmail.com>

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

1054 1055 1056 1057
2007-03-08  Richard Stallman  <rms@gnu.org>

	* keyboard.c (syms_of_keyboard): Doc fix.

1058 1059 1060 1061 1062
2007-03-08  Chong Yidong  <cyd@stupidchicken.com>

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

1063 1064 1065 1066 1067 1068 1069 1070
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.

1071 1072 1073 1074 1075
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.

1076 1077 1078 1079 1080 1081 1082
2007-03-06  Jan Dj,Ad(Brv  <jan.h.d@swipnet.se>

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

Kenichi Handa's avatar
Kenichi Handa committed
1083 1084 1085 1086
2007-03-06  Kenichi Handa  <handa@m17n.org>

	* xselect.c (Vselection_coding_system): Documentation improved.

1087 1088 1089 1090 1091 1092 1093 1094 1095
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'.

1096 1097 1098 1099
2007-03-04  Richard Stallman  <rms@gnu.org>

	* window.c (Fdisplay_buffer): Doc fix.

1100 1101 1102 1103 1104
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.

Juanma Barranquero's avatar
Juanma Barranquero committed
1105
2007-03-02  Stuart D. Herring  <herring@lanl.gov>
David Kastrup's avatar
David Kastrup committed
1106

1107
	* keymap.c (Fkey_binding): Don't consider one-element lists as events.
David Kastrup's avatar
David Kastrup committed
1108

1109 1110 1111 1112 1113
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.

1114 1115 1116 1117 1118
2007-02-28  Chong Yidong  <cyd@stupidchicken.com>

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

Dan Nicolaescu's avatar
Dan Nicolaescu committed
1119 1120 1121 1122
2007-02-25  Dan Nicolaescu  <dann@ics.uci.edu>

	* m/xtensa.h: New file.

1123 1124 1125 1126 1127
2007-02-24  Nick Roberts  <nickrob@snap.net.nz>

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

1128 1129 1130 1131 1132 1133 1134 1135
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.

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

Kim F. Storm's avatar
Kim F. Storm committed
1139 1140 1141 1142 1143
2007-02-23  Kim F. Storm  <storm@cua.dk>

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

Eli Zaretskii's avatar
Eli Zaretskii committed
1144 1145 1146 1147 1148
2007-02-23  Eli Zaretskii  <eliz@gnu.org>

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

1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159
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.
1160 1161
	[USE_TOOLKIT_SCROLL_BARS] (x_scroll_bar_handle_press):
	New argument MOUSE_POS.  All uses changed.  Set bar->dragging to
1162
	negative integer if scroll bar handle is pressed.
1163 1164
	[USE_TOOLKIT_SCROLL_BARS] (x_scroll_bar_handle_release):
	Negative bar->dragging means scroll bar handle is not dragged.
1165 1166 1167 1168 1169 1170 1171 1172 1173 1174
	[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.

1175 1176 1177 1178 1179 1180 1181
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.

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

Jason Rumney's avatar
Jason Rumney committed
1184 1185 1186
	* w32menu.c (w32_menu_show): Mark the frame's menu as inactive
	when popup menu finishes.

1187
	* w32fns.c (menubar_in_use): New flag.
1188
	(w32_wnd_proc) <WM_INITMENU, WM_EXITMENULOOP, WM_TIMER, WM_COMMAND>:
Jason Rumney's avatar
Jason Rumney committed
1189 1190
	Use it.

Jason Rumney's avatar
Jason Rumney committed
1191 1192 1193
	* w32menu.c (Fx_popup_menu): Don't free menu strings here.
	(w32_menu_show): Do it here instead.

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

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

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

	* w32term.h (w32_output): Remove menu_command_in_progress.

Kim F. Storm's avatar
Kim F. Storm committed
1208 1209 1210 1211 1212
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.
Kim F. Storm's avatar
Kim F. Storm committed
1213
	(update_text_area): Clear mouse face on header lines.
Kim F. Storm's avatar
Kim F. Storm committed
1214

Kim F. Storm's avatar
Kim F. Storm committed
1215 1216 1217 1218
2007-02-21  Kim F. Storm  <storm@cua.dk>

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

1219 1220 1221 1222 1223 1224 1225 1226
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.

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

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

Kim F. Storm's avatar
Kim F. Storm committed
1232 1233
2007-02-19  Kim F. Storm  <storm@cua.dk>

Kim F. Storm's avatar
Kim F. Storm committed
1234 1235
	* minibuf.c (Fassoc_string): Allow symbols as keys.

Kim F. Storm's avatar
Kim F. Storm committed
1236 1237 1238 1239 1240
	* 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.

1241 1242 1243 1244 1245 1246
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.

1247 1248 1249 1250 1251 1252 1253 1254
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.

Andreas Schwab's avatar
Andreas Schwab committed
1255 1256
2007-02-16  Andreas Schwab  <schwab@suse.de>

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

Andreas Schwab's avatar
Andreas Schwab committed
1259 1260 1261
	* editfns.c (Fformat): Add support for '+' flag.
	* doprnt.c (doprnt1): Likewise.  Fix overflow checking.

1262 1263 1264 1265
2007-02-14  Chong Yidong  <cyd@stupidchicken.com>

	* s/umips.h: Unused file removed.

Juanma Barranquero's avatar
Juanma Barranquero committed
1266 1267 1268 1269 1270
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.

1271 1272 1273 1274
2007-02-14  Jan Dj,Ad(Brv  <jan.h.d@swipnet.se>

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

YAMAMOTO Mitsuharu's avatar
YAMAMOTO Mitsuharu committed
1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288
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.

1289 1290 1291 1292
2007-02-12  Chong Yidong  <cyd@stupidchicken.com>

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

Juanma Barranquero's avatar
Juanma Barranquero committed
1293 1294 1295 1296 1297
2007-02-11  Juanma Barranquero  <lekktu@gmail.com>

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

Eli Zaretskii's avatar
Eli Zaretskii committed
1298 1299 1300 1301 1302 1303 1304
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.

Kim F. Storm's avatar
Kim F. Storm committed
1305 1306 1307
2007-02-08  Kim F. Storm  <storm@cua.dk>

	* minibuf.c (read_minibuf): Fix 2007-01-30 change.
Juanma Barranquero's avatar
Juanma Barranquero committed
1308
	Use Qlambda as interim value of Vminibuffer_completing_file_name.
Kim F. Storm's avatar
Kim F. Storm committed
1309
	(Fcompleting_read): Use non-filename maps if value is Qlambda (or Qnil).
Kim F. Storm's avatar
Kim F. Storm committed
1310 1311
	(syms_of_minibuf) <minibuffer-completing-file-name>: Document lambda.

1312 1313 1314 1315 1316
2007-02-07  Juanma Barranquero  <lekktu@gmail.com>

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

1317 1318 1319 1320 1321
2007-02-07  Eli Zaretskii  <eliz@gnu.org>

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

1322 1323 1324 1325 1326 1327
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.

Eli Zaretskii's avatar
Eli Zaretskii committed
1328 1329 1330 1331 1332
2007-02-03  Eli Zaretskii  <eliz@gnu.org>

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

1333 1334 1335 1336
2007-02-03  Juanma Barranquero  <lekktu@gmail.com>

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

Juanma Barranquero's avatar
Juanma Barranquero committed
1337 1338 1339 1340 1341
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.
1342

1343 1344 1345 1346 1347
2007-02-02  Jan Dj,Ad(Brv  <jan.h.d@swipnet.se>

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

1348 1349 1350 1351 1352
2007-02-01  Juanma Barranquero  <lekktu@gmail.com>

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

Jan Djärv's avatar
Jan Djärv committed
1353 1354 1355 1356
2007-01-31  Jan Dj,Ad(Brv  <jan.h.d@swipnet.se>

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

1357 1358 1359 1360 1361 1362 1363 1364 1365 1366
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.

1367 1368 1369 1370
2007-01-29  Chong Yidong  <cyd@stupidchicken.com>

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

Jan Djärv's avatar
Jan Djärv committed
1371 1372 1373 1374
2007-01-29  Jan Dj,Ad(Brv  <jan.h.d@swipnet.se>

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

1375 1376 1377 1378 1379 1380
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.

1381 1382 1383 1384 1385 1386
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.

Eli Zaretskii's avatar
Eli Zaretskii committed
1387 1388
2007-01-27  Eli Zaretskii  <eliz@gnu.org>

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

Eli Zaretskii's avatar
Eli Zaretskii committed
1391 1392
	* minibuf.c (Fcompleting_read): Doc fix.

Jan Djärv's avatar
Jan Djärv committed
1393 1394
2007-01-26  Jan Dj,Ad(Brv  <jan.h.d@swipnet.se>

Jan Djärv's avatar
Jan Djärv committed
1395 1396
	* gtkutil.c (xg_initialize): Call XftInit if HAVE_XFT.

Jan Djärv's avatar
Jan Djärv committed
1397 1398
	* Makefile.in: Use XFT_LIBS if defined.

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

1401 1402
	* alloc.c (BLOCK_INPUT_ALLOC, UNBLOCK_INPUT_ALLOC): Use
	BLOCK_INPUT/UNBLOCK_INPUT.
YAMAMOTO Mitsuharu's avatar