ChangeLog 1010 KB
Newer Older
1 2
2007-11-15  Andreas Schwab  <schwab@suse.de>

Andreas Schwab's avatar
Andreas Schwab committed
3 4
	* editfns.c (Fformat): Correctly format EMACS_INT values.  Also
	take precision into account when formatting an integer.
5

Juanma Barranquero's avatar
Juanma Barranquero committed
6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
2007-11-15  Juanma Barranquero  <lekktu@gmail.com>

	* macfns.c (Fx_create_frame, Fx_display_pixel_width)
	(Fx_display_pixel_height, Fx_display_planes)
	(Fx_display_color_cells, Fx_server_max_request_size)
	(Fx_server_vendor, Fx_server_version, Fx_display_backing_store)
	(Fx_display_visual_class, Fx_display_save_under):
	* w32fns.c (Fx_create_frame, Fx_display_pixel_width)
	(Fx_display_pixel_height, Fx_display_planes)
	(Fx_display_color_cells, Fx_server_max_request_size)
	(Fx_server_vendor, Fx_server_version, Fx_display_screens)
	(Fx_display_mm_height, Fx_display_mm_width)
	(Fx_display_backing_store, Fx_display_visual_class)
	(Fw32_select_font, Fx_display_save_under):
	* xfns.c (Fx_create_frame, Fx_display_pixel_width)
	(Fx_display_pixel_height, Fx_display_planes)
	(Fx_display_color_cells, Fx_server_max_request_size)
	(Fx_server_vendor, Fx_server_version, Fx_display_backing_store)
	(Fx_display_save_under): Fix typos in docstrings.

26 27 28 29 30 31 32 33 34 35
2007-11-14  Juanma Barranquero  <lekktu@gmail.com>

	* w32fns.c (Fw32_registered_hot_keys): Don't return the nil values
	corresponding to deleted entries; they are an implementation detail.
	(gray_bitmap_width, gray_bitmap_height, gray_bitmap_bits):
	Remove variables.
	(Fw32_define_rgb_color, Fw32_load_color_file): Fix typos in docstrings.
	(Fx_server_version): Reflow docstring.
	(Fw32_shell_execute): Doc fixes.

Juanma Barranquero's avatar
Juanma Barranquero committed
36 37 38 39 40
2007-11-13  Juanma Barranquero  <lekktu@gmail.com>

	* w32fns.c (Fw32_register_hot_key): Don't try to register hot key
	if w32_parse_hot_key returned nil.

41 42 43 44
2007-11-10  Juri Linkov  <juri@jurta.org>

	* puresize.h (BASE_PURESIZE): Increase to 1130000.

45 46 47 48
2007-11-10  Stefan Monnier  <monnier@iro.umontreal.ca>

	* xdisp.c (load_overlay_strings): Fix copy&paste typo.

49 50 51 52 53 54 55
2007-11-07  Chong Yidong  <cyd@stupidchicken.com>

	* dispextern.h (struct it): Don't define OVERLAY_STRING_CHUNK_SIZE
	twice.

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

56 57 58 59 60
2007-11-06  Jan Dj,Ad(Brv  <jan.h.d@swipnet.se>

	* gtkutil.c (xg_tool_bar_menu_proxy): Handle GTK_IMAGE_ICON_NAME and
	abort with a message on unhandled store_type values.

61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79
2007-11-04  Richard Stallman  <rms@gnu.org>

	* xdisp.c (handle_face_prop): Test for strings that came from overlays,
	not just for after-strings and before-strings.
	Call face_for_overlay_string and pass the overlay to it.
	(handle_display_prop): Determine whether property came from an overlay.
	Pass OVERLAY arg to handle_single_display_spec.
	(handle_single_display_spec): New arg OVERLAY sets it->from_overlay.
	(load_overlay_strings): Fill in it->string_overlays.
	(get_overlay_strings_1, push_it, pop_it): Handle it->from_overlays.

	* xfaces.c (face_for_overlay_string): Function renamed from
	face_at_buffer_position_no_overlays, and add arg OVERLAY.

	* dispextern.h (struct it): New elt string_overlays.
	New elt from_overlay, also in stack.
	Rearrange a few elements.
	(face_for_overlay_string): Decl renamed from
	face_at_buffer_position_no_overlays, and add argument.
80

81 82
2007-11-03  Richard Stallman  <rms@gnu.org>

83 84 85 86 87 88 89
	* xdisp.c (handle_face_prop): Use face_at_buffer_position_no_overlays
	to get the base face for an overlay string.

	* dispextern.h (face_at_buffer_position_no_overlays): Add decl.

	* xfaces.c (face_at_buffer_position_no_overlays): New function.

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

92 93 94
2007-11-01  Johan Bockg,Ae(Brd  <bojohan@gnu.org>

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

98 99 100 101 102
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.

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

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

107 108 109 110 111 112
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.

113 114 115 116
2007-10-30  Richard Stallman  <rms@gnu.org>

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

117 118 119 120 121
2007-10-29  Juanma Barranquero  <lekktu@gmail.com>

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

122 123 124 125
2007-10-26  Martin Rudalics  <rudalics@gmx.at>

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

126 127 128
2007-10-25  Juanma Barranquero  <lekktu@gmail.com>

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

Jason Rumney's avatar
Jason Rumney committed
131 132 133 134
2007-10-24  Jason Rumney  <jasonr@gnu.org>

	* w32fns.c: Include math.h.

Richard M. Stallman's avatar
Richard M. Stallman committed
135 136 137 138 139 140 141 142 143
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.

144 145 146 147
2007-10-19  Juanma Barranquero  <lekktu@gmail.com>

	* process.c (Fset_process_filter): Doc fix.

148 149 150 151 152 153 154 155 156 157 158 159
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.

160 161 162 163 164 165 166
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.

167 168 169 170 171 172
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.

173 174 175 176 177
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.

178 179 180 181 182
2007-10-13  Eli Zaretskii  <eliz@gnu.org>

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

183 184 185 186 187 188
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.

189 190 191 192 193
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.

194 195 196 197 198
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
199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216
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.

217 218 219 220
2007-10-06  Andreas Schwab  <schwab@suse.de>

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

221 222 223 224 225 226
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.

227 228 229 230
2007-10-04  Juanma Barranquero  <lekktu@gmail.com>

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

231 232 233 234 235
2007-10-02  Richard Stallman  <rms@gnu.org>

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

236 237
2007-10-01  Juanma Barranquero  <lekktu@gmail.com>

238
	* lread.c (Fload): Fix typo in docstring.
239

240 241 242 243 244
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
245 246 247 248
2007-09-29  Jason Rumney  <jasonr@gnu.org>

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

249 250 251 252 253 254
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
255 256 257 258
2007-09-21  Richard Stallman  <rms@gnu.org>

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

259 260 261 262 263
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
264 265 266 267
2007-09-20  Glenn Morris  <rgm@gnu.org>

	* process.c (Fmake_network_process): Doc fix.

Richard M. Stallman's avatar
Richard M. Stallman committed
268 269 270 271
2007-09-19  Richard Stallman  <rms@gnu.org>

	* buffer.c (Foverlays_at): Doc fix.

272 273 274 275
2007-09-18  Stefan Monnier  <monnier@iro.umontreal.ca>

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

276 277 278 279 280 281 282 283
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
284 285 286 287 288
2007-09-16  Andreas Schwab  <schwab@suse.de>

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

289 290 291 292
2007-09-15  Glenn Morris  <rgm@gnu.org>

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

293 294 295 296 297 298 299 300
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.

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

Jan Djärv's avatar
Jan Djärv committed
303 304 305 306 307 308 309 310 311 312
	* 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.

313 314 315 316 317 318 319 320
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.

321 322 323 324
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
325 326
2007-09-06  Glenn Morris  <rgm@gnu.org>

327
	* gtkutil.c (menu_grab_callback) <cnt>:
Glenn Morris's avatar
Glenn Morris committed
328 329 330
	* xselect.c (x_reply_selection_request) <cnt>: Move static
	variable to file scope.

Jason Rumney's avatar
Jason Rumney committed
331 332 333 334
2007-09-02  Dhuvra Krishnamurthy  <dhuvrakm@gmail.com>  (tiny change)

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

335 336 337
2007-09-02  Jan Dj,Ad(Brv  <jan.h.d@swipnet.se>

	* keyboard.c: Qrtl is new.
338 339
	(parse_tool_bar_item): Handle :rtl keyword.
	(syms_of_keyboard): Intern :rtl keyword.
340 341 342

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

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

348 349 350 351 352 353 354 355 356 357 358
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.

359 360 361 362 363
2007-08-28  Juanma Barranquero  <lekktu@gmail.com>

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

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

369 370 371 372 373
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.

374 375 376 377 378 379 380 381 382 383
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.

384 385 386 387
2007-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>

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

388 389
2007-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>

390 391 392 393 394 395
	* 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.

396 397
	* lisp.h (Fclear_face_cache, Fx_send_client_event): Declare.

398
	* lread.c (Vold_style_backquotes): New var.
399
	(syms_of_lread): Init and export it to Elisp.
400 401
	(read1): Set it when we find an old-style (back)quote.

402 403 404 405
2007-08-22  Jason Rumney  <jasonr@gnu.org>

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

406 407 408 409 410 411 412 413
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
414 415 416 417
2007-08-19  Andreas Schwab  <schwab@suse.de>

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

418 419 420 421 422
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.

423 424
2007-08-15  Philippe Waroquiers  <philippe.waroquiers@eurocontrol.int>

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

428 429 430 431 432
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.

433 434 435 436 437
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.

438 439 440 441 442 443
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.

444 445 446 447
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
448 449 450 451
2007-08-08  Glenn Morris  <rgm@gnu.org>

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

452 453
2007-08-07  Chong Yidong  <cyd@stupidchicken.com>

454 455 456 457 458 459 460 461 462
	* 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.

463 464
	* xdisp.c (move_it_by_lines): Remove incorrect optimization.

465 466 467 468
2007-08-07  Jan Dj,Ad(Brv  <jan.h.d@swipnet.se>

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

469 470 471 472 473
2007-08-07  Sam Steingold  <sds@gnu.org>

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

474 475 476 477 478 479 480
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.
481 482
	(LOCK, UNLOCK, LOCK_ALIGNED_BLOCKS, UNLOCK_ALIGNED_BLOCKS)
	[USE_PTHREAD]: Conditionalize with it.
483 484 485 486
	(malloc_atfork_handler_prepare, malloc_atfork_handler_parent)
	(malloc_atfork_handler_child, malloc_enable_thread) [USE_PTHREAD]:
	New functions.

487 488 489 490 491
2007-08-06  Chong Yidong  <cyd@stupidchicken.com>

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

492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515
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.

516 517 518 519
2007-08-03  Richard Stallman  <rms@gnu.org>

	* fileio.c (Fvisited_file_modtime): Use make_time.

520
2007-08-01  Ryo Yoshitake  <ryo@shiftmode.net>  (tiny change)
Vinicius Jose Latorre's avatar
Vinicius Jose Latorre committed
521 522 523 524

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

525 526 527 528
2007-07-30  Stefan Monnier  <monnier@iro.umontreal.ca>

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

529 530 531 532 533 534
2007-07-25  Glenn Morris  <rgm@gnu.org>

	* Relicense all FSF files to GPLv3 or later.

	* COPYING: Switch to GPLv3.

535 536 537 538 539
2007-07-24  Jason Rumney  <jasonr@gnu.org>

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

540 541 542 543
2007-07-23  Jason Rumney  <jasonr@gnu.org>

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

544 545
2007-07-20  Eli Zaretskii  <eliz@gnu.org>

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

548 549 550
	* w32proc.c (IMAGE_NT_OPTIONAL_HDR32_MAGIC, IMAGE_OPTIONAL_HEADER32):
	Define if not defined.

551 552 553 554
2007-07-18  Jason Rumney  <jasonr@gnu.org>

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

555 556 557 558 559 560 561 562 563
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
564 565 566 567 568 569
2007-07-15  Richard Stallman  <rms@gnu.org>

	* data.c (Fsetq_default): Doc fix.

	* eval.c (Fsetq): Doc fix.

570 571 572 573 574 575 576
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.

577 578 579 580 581
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.

582 583 584 585
2007-06-27  Juanma Barranquero  <lekktu@gmail.com>

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

586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603
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
604 605 606 607
2007-06-21  Jason Rumney  <jasonr@gnu.org>

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

608 609 610 611 612
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.

613 614 615 616 617 618
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.

619 620 621 622 623
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
624 625 626 627 628
2007-06-17  Juanma Barranquero  <lekktu@gmail.com>

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

629 630 631 632 633
2007-06-16  Eli Zaretskii  <eliz@gnu.org>

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

634 635 636 637
2007-06-14  Chong Yidong  <cyd@stupidchicken.com>

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

638 639 640 641
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
642 643 644 645
2007-06-06  Jason Rumney  <jasonr@gnu.org>

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

646 647 648 649 650
2007-06-06  Chong Yidong  <cyd@stupidchicken.com>

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

651 652 653 654
2007-06-06  Martin Rudalics  <rudalics@gmx.at>

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

655 656 657 658 659 660 661 662 663 664 665 666 667
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.

668 669 670 671
2007-06-04  Juanma Barranquero  <lekktu@gmail.com>

	* window.c (Fshrink_window): Reflow docstring.

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

Chong Yidong's avatar
Chong Yidong committed
674 675
	* Version 22.1 released.

676 677 678 679 680 681 682
	* 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.

683 684 685 686 687
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.

688 689 690 691
2007-05-31  Richard Stallman  <rms@gnu.org>

	* buffer.c (syms_of_buffer): Doc fix.

692 693 694 695 696
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.

697 698 699 700 701 702
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
703 704 705 706 707
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.

708 709 710 711
2007-05-22  Richard Stallman  <rms@gnu.org>

	* xterm.c (x_connection_closed): Remove NO_RETURN.

712 713 714 715 716
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.

717 718 719 720 721
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.

722 723 724 725
2007-05-17  Glenn Morris  <rgm@gnu.org>

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

726 727 728 729 730
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.

731 732 733 734
2007-05-13  Chong Yidong  <cyd@stupidchicken.com>

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

735 736
2007-05-12  Chong Yidong  <cyd@stupidchicken.com>

737 738
	* image.c (pbm_load): Correctly check image size for greyscale pbm.

739 740
	* xterm.c (XTread_socket): Yet Another Uncaught X Error Crash (YAUXEC).

741 742 743 744
2007-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>

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

745 746 747 748
2007-05-06  Richard Stallman  <rms@gnu.org>

	* process.c: Undo May 3 change.

749
2007-05-03  Per Cederqvist  <ceder@lysator.liu.se>  (tiny change)
750 751 752 753

	* 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
754
	earlier.  Problem found by Henrik Rindl,Av(Bw.
755

756 757 758 759 760
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.

761 762 763 764
2007-04-29  Richard Stallman  <rms@gnu.org>

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

765 766 767 768 769
2007-04-29  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

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

770 771 772 773 774 775 776
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.

777 778 779 780 781
2007-04-24  Chong Yidong  <cyd@stupidchicken.com>

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

782 783 784 785
2007-04-23  Richard Stallman  <rms@gnu.org>

	* process.c (Fstart_process): Doc fix.

Eli Zaretskii's avatar
Eli Zaretskii committed
786 787 788 789
2007-04-23  Eli Zaretskii  <eliz@gnu.org>

	* process.c (Fstart_process): Doc fix.

790 791 792 793 794 795
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
796 797 798 799
2007-04-21  Glenn Morris  <rgm@gnu.org>

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

800 801 802 803
2007-04-20  Glenn Morris  <rgm@gnu.org>

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

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

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

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

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

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

819 820 821 822 823
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.

824 825 826 827 828 829
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
830 831 832 833 834
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.

835 836 837 838 839 840 841 842 843 844 845
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
846
	(mac_term_init): Call mac_get_screen_info.  Add partial contents of
847 848
	mac_initialize_display_info.

849 850 851 852 853 854 855 856 857 858 859
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.

860 861 862 863 864
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
865 866 867 868 869
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'.

870 871 872 873
2007-04-09  Martin Rudalics  <rudalics@gmx.at>

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

874 875 876 877
2007-04-08  Richard Stallman  <rms@gnu.org>

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

878 879 880 881 882
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
883 884 885 886
2007-04-03  Eli Zaretskii  <eliz@gnu.org>

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

887 888 889 890 891
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.

892 893 894 895
2007-04-02  Juanma Barranquero  <lekktu@gmail.com>

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

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

898 899 900 901 902
	* 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.
903

Eli Zaretskii's avatar
Eli Zaretskii committed
904 905 906 907
2007-03-31  Eli Zaretskii  <eliz@gnu.org>

	* window.c (Fget_lru_window): Doc fix.

908 909 910 911 912
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
913 914 915 916 917 918 919
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).

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

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

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

YAMAMOTO Mitsuharu's avatar
YAMAMOTO Mitsuharu committed
927 928 929 930 931 932 933 934 935 936 937 938
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
939 940 941 942 943
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
944 945 946 947
2007-03-27  Glenn Morris  <rgm@gnu.org>

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

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

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

Juanma Barranquero's avatar
Juanma Barranquero committed
953 954
	* macselect.c (get_scrap_target_type_list, x_own_selection):
	Move assignments outside predicate macros.
955 956 957 958 959 960 961
	(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.

962 963 964 965 966
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
967 968 969 970 971 972 973
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
974 975 976 977 978 979
2007-03-24  Eli Zaretskii  <eliz@gnu.org>

	* editfns.c (Fgoto_char): Doc fix.

	* indent.c (Findent_to): Doc fix.

980 981 982 983 984
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
985 986 987 988 989 990 991 992
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
993 994 995 996 997
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
998 999 1000 1001 1002
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.

1003 1004 1005 1006
2007-03-22  Chong Yidong  <cyd@stupidchicken.com>

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

Kenichi Handa's avatar
Kenichi Handa committed
1007 1008 1009 1010 1011 1012 1013 1014
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
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
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
1042 1043 1044
	* 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
1045 1046 1047 1048

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

1049 1050 1051 1052 1053 1054
2007-03-19  Richard Stallman  <rms@gnu.org>

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

	* buffer.c (syms_of_buffer): Doc fix.

1055 1056 1057 1058
2007-03-18  Chong Yidong  <cyd@stupidchicken.com>

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

1059 1060 1061 1062 1063 1064 1065 1066 1067
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
1068 1069
	* xdisp.c (redisplay_internal, note_mouse_highlight):
	Check popup_activated for MAC_OS.
1070

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

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

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

1078
	* dired.c (file_name_completion): gcpro NAME.
1079

Kim F. Storm's avatar
Kim F. Storm committed
1080 1081 1082 1083 1084
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.

1085 1086 1087 1088 1089 1090 1091 1092
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.

1093 1094 1095 1096 1097 1098 1099 1100 1101 1102
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
1103 1104 1105 1106 1107
2007-03-12  Glenn Morris  <rgm@gnu.org>

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

1108 1109 1110 1111
2007-03-11  Sam Steingold  <sds@gnu.org>

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

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

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

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

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

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

1133 1134 1135 1136
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
1137 1138 1139 1140
2007-03-09  Juanma Barranquero  <lekktu@gmail.com>

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

1141 1142 1143 1144
2007-03-08  Richard Stallman  <rms@gnu.org>

	* keyboard.c (syms_of_keyboard): Doc fix.

1145 1146 1147 1148 1149
2007-03-08  Chong Yidong  <cyd@stupidchicken.com>

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

1150 1151 1152 1153 1154 1155 1156 1157
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.

1158 1159 1160 1161 1162
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.

1163 1164 1165 1166 1167 1168 1169
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
1170 1171 1172 1173
2007-03-06  Kenichi Handa  <handa@m17n.org>

	* xselect.c (Vselection_coding_system): Documentation improved.

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

1183 1184 1185 1186
2007-03-04  Richard Stallman  <rms@gnu.org>

	* window.c (Fdisplay_buffer): Doc fix.

1187 1188 1189 1190 1191
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
1192
2007-03-02  Stuart D. Herring  <herring@lanl.gov>
David Kastrup's avatar
David Kastrup committed
1193

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

1196 1197 1198 1199 1200
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.

1201 1202 1203 1204 1205
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
1206 1207 1208 1209
2007-02-25  Dan Nicolaescu  <dann@ics.uci.edu>

	* m/xtensa.h: New file.

1210 1211 1212 1213 1214
2007-02-24  Nick Roberts  <nickrob@snap.net.nz>

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

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

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

Kim F. Storm's avatar
Kim F. Storm committed
1226 1227 1228 1229 1230
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
1231 1232 1233 1234 1235
2007-02-23  Eli Zaretskii  <eliz@gnu.org>

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

1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246
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.
1247 1248
	[USE_TOOLKIT_SCROLL_BARS] (x_scroll_bar_handle_press):
	New argument MOUSE_POS.  All uses changed.  Set bar->dragging to
1249
	negative integer if scroll bar handle is pressed.
1250 1251
	[USE_TOOLKIT_SCROLL_BARS] (x_scroll_bar_handle_release):
	Negative bar->dragging means scroll bar handle is not dragged.
1252 1253 1254 1255 1256 1257 1258 1259 1260 1261
	[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.

1262 1263 1264 1265 1266 1267 1268
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.

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

Jason Rumney's avatar
Jason Rumney committed
1271 1272 1273
	* w32menu.c (w32_menu_show): Mark the frame's menu as inactive
	when popup menu finishes.

1274
	* w32fns.c (menubar_in_use): New flag.
1275
	(w32_wnd_proc) <WM_INITMENU, WM_EXITMENULOOP, WM_TIMER, WM_COMMAND>:
Jason Rumney's avatar
Jason Rumney committed
1276 1277
	Use it.

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

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

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

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

	* w32term.h (w32_output): Remove menu_command_in_progress.

Kim F. Storm's avatar
Kim F. Storm committed
1295 1296 1297 1298 1299
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
1300
	(update_text_area): Clear mouse face on header lines.
Kim F. Storm's avatar
Kim F. Storm committed
1301

Kim F. Storm's avatar
Kim F. Storm committed
1302 1303 1304 1305
2007-02-21  Kim F. Storm  <storm@cua.dk>

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

1306 1307 1308 1309 1310 1311 1312 1313
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.

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

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

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

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

Kim F. Storm's avatar
Kim F. Storm committed
1323 1324 1325 1326 1327
	* 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.

1328 1329 1330 1331 1332 1333
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.

1334 1335 1336 1337 1338 1339 1340 1341
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
1342 1343
2007-02-16  Andreas Schwab  <schwab@suse.de>

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

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

1349 1350 1351 1352
2007-02-14  Chong Yidong  <cyd@stupidchicken.com>

	* s/umips.h: Unused file removed.

Juanma Barranquero's avatar
Juanma Barranquero committed
1353 1354 1355 1356 1357
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.

1358 1359 1360 1361
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
1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375
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.

1376 1377 1378 1379
2007-02-12  Chong Yidong  <cyd@stupidchicken.com>

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

Juanma Barranquero's avatar
Juanma Barranquero committed
1380 1381 1382 1383 1384
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
1385 1386 1387 1388 1389 1390 1391
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
1392 1393 1394
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
1395
	Use Qlambda as interim value of Vminibuffer_completing_file_name.
Kim F. Storm's avatar
Kim F. Storm committed
1396
	(Fcompleting_read): Use non-filename maps if value is Qlambda (or Qnil).
Kim F. Storm's avatar
Kim F. Storm committed
1397 1398
	(syms_of_minibuf) <minibuffer-completing-file-name>: Document lambda.

1399 1400 1401 1402 1403
2007-02-07  Juanma Barranquero  <lekktu@gmail.com>

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

1404 1405 1406 1407 1408
2007-02-07  Eli Zaretskii  <eliz@gnu.org>

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

1409 1410 1411 1412