ChangeLog 836 KB
Newer Older
Stefan Monnier's avatar
Stefan Monnier committed
1 2 3 4
2006-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>

	* process.h: Include headers for pid_t.

Kim F. Storm's avatar
Kim F. Storm committed
5 6
2006-04-24  Kim F. Storm  <storm@cua.dk>

Kim F. Storm's avatar
Kim F. Storm committed
7 8
	* xdisp.c (fill_stretch_glyph_string): Set s->nchars = 1 for code which
	does last_glyph=s->first_glyph+s->nchars-1, e.g. if stretch has relief.
Kim F. Storm's avatar
Kim F. Storm committed
9 10 11
	(produce_stretch_glyph): Assume that face box height and width is
	already	included in in stretch glyph size so caller doesn't have to
	consider the extra space otherwise added (fixes problem in ses.el).
Kim F. Storm's avatar
Kim F. Storm committed
12

Kim F. Storm's avatar
Kim F. Storm committed
13 14 15 16
	* frame.c (x_set_font): Clear f->n_tool_bar_rows and current frame
	matrices to force recalculation of tool-bar height after font change.

	* xdisp.c (tool_bar_lines_needed): New local `temp_row' for clarity.
17 18
	Clear it when done, so we don't accidentally draw a second copy of
	the tool-bar after resetting f->n_tool_bar_rows.
Kim F. Storm's avatar
Kim F. Storm committed
19 20 21
	(redisplay_tool_bar): Update tool-bar-lines frame parameter whenever
	we recalculate f->n_tool_bar_rows.

Romain Francoise's avatar
Romain Francoise committed
22 23
2006-04-23  Lars Hansen  <larsh@soem.dk>

Lars Hansen's avatar
Lars Hansen committed
24 25 26
	* editfns.c (find_field): Fix comment.
	(Ffield_beginning): Fix bug when POS is at field beginning.

27 28 29 30
2006-04-22  Eli Zaretskii  <eliz@gnu.org>

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

Kim F. Storm's avatar
Kim F. Storm committed
31 32
2006-04-21  Kim F. Storm  <storm@cua.dk>

Kim F. Storm's avatar
Kim F. Storm committed
33 34 35
	* xdisp.c (redisplay_window): Fix last change.  Don't recenter if
	window start is at BEGV.

Kim F. Storm's avatar
Kim F. Storm committed
36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51
	* dispextern.h (struct image): New member `corners'.
	(TOP_CORNER, LEFT_CORNER, BOT_CORNER, RIGHT_CORNER): New macros.

	* image.c (four_corners_best): New arg CORNERS specifies what pixels
	to look at in case image has margin.
	(x_create_bitmap_mask): Pass NULL for CORNERS to four_corners_best.
	(image_background, image_background_transparent)
	(x_build_heuristic_mask): Pass img->corners to four_corners_best.
	(gif_load): Set img->corners according to image's margin spec.
	Use img->corners values directly where applicable.
	Save image extension data in img->data.lisp_val.
	(gif_clear_image): New function to free img->data.lisp_val.
	(gif_type): Use it instead of generic x_clear_image.
	(Fimage_extension_data): New defun.
	(syms_of_image): Defsubr it.

Eli Zaretskii's avatar
Eli Zaretskii committed
52 53 54 55
2006-04-21  John Sullivan  <john@wjsullivan.net>  (tiny change)

	* window.c (Fdisplay_buffer): Doc fix.

56 57 58 59
2006-04-21  Eli Zaretskii  <eliz@gnu.org>

	* s/ms-w32.h (SYSTEM_PURESIZE_EXTRA): Increase to 25000.

60 61 62 63 64 65 66 67 68 69 70 71 72 73 74
2006-04-21  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	* image.c [MAC_OS] (xpm_load_image): Fill in background field
	while we have ximg handy.

	* macmenu.c (restore_menu_items, save_menu_items): New functions
	from xmenu.c.
	(set_frame_menubar, digest_single_submenu): Apply 2006-04-18
	changes for xmenu.c.

	* macterm.c (x_per_char_metric): Return NULL if glyph width is 0.
	(add_mac_font_name): New function.
	(init_font_name_table): Use it.  Adopt the first found font from
	those having the same family name.

Nick Roberts's avatar
Nick Roberts committed
75 76 77 78
2006-04-21  Nick Roberts  <nickrob@snap.net.nz>

	* xdisp.c (note_mouse_highlight): Use build_string.

79 80
2006-04-20  Lars Hansen  <larsh@soem.dk>

Stefan Monnier's avatar
Stefan Monnier committed
81 82
	* textprop.c (Fremove_list_of_text_properties):
	Ensure modify_region is called only when buffer is modified and that
83 84 85 86
	signal_after_change is allways called in that case.

	* print.c (PRINTFINISH): Call signal_after_change.

Kim F. Storm's avatar
Kim F. Storm committed
87 88
2006-04-20  Kim F. Storm  <storm@cua.dk>

Kim F. Storm's avatar
Kim F. Storm committed
89 90
	* xdisp.c (redisplay_window): Fix last change.

Kim F. Storm's avatar
Kim F. Storm committed
91 92 93 94 95
	* xdisp.c (redisplay_window): If current window start is not at	the
	beginning of a line, select a new window start if buffer is modified
	and window start is in the modified region, but the first change is
	before window start.

96 97 98 99
2006-04-18  Richard Stallman  <rms@gnu.org>

	* xmenu.c (restore_menu_items, save_menu_items): New fns.
	(set_frame_menubar): Use save_menu_items.  Save updated vector in
Stefan Monnier's avatar
Stefan Monnier committed
100 101
	the frame before unwinding it.  Don't use unuse_menu_items.
	Don't use discard_menu_items.
102 103 104 105 106 107 108 109 110 111 112
	(digest_single_submenu): Abort if an item is not in a pane.
	(init_menu_items): Put the error check at the top.

	* keymap.c (describe_map): Make "shadowed" warning more verbose.

	* window.c (adjust_window_trailing_edge): Correctly distinguish
	series vs parallel cases, even when window has no parent.

	* abbrev.c (record_symbol): New function.
	(Finsert_abbrev_table_description): Sort the abbrevs alphabetically.

113 114 115 116 117 118 119 120 121 122 123 124 125 126 127
2006-04-18  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	* image.c (x_create_bitmap_from_data) [MAC_OS]: Don't check return
	value of xmalloc.

	* mac.c (mac_coerce_file_name_ptr, mac_coerce_file_name_desc)
	(create_apple_event_from_event_ref, xrm_get_preference_database)
	(cfstring_create_normalized): Don't check return value of xmalloc.

	* macselect.c (get_scrap_target_type_list, defer_apple_events)
	(copy_scrap_flavor_data, mac_handle_service_event): Don't check
	return value of xmalloc/xrealloc.

	* macterm.c (XCreateGC, x_per_char_metric, xlfdpat_create)
	(init_font_name_table, init_font_name_table, mac_do_list_fonts)
128 129
	(XLoadQueryFont, mac_store_apple_event): Don't check return value
	of xmalloc.
130

Nick Roberts's avatar
Nick Roberts committed
131 132 133 134 135
2006-04-17  Kim F. Storm  <storm@cua.dk>

	* window.c (coordinates_in_window): On the vertical border,
	calculate the row number measured from the top of the window, not
	the top of the frame.
Kim F. Storm's avatar
Kim F. Storm committed
136 137
	(window_loop): Test w->dedicated with !NILP instead of EQ Qt.
	(window_scroll_pixel_based): Fix off-by-one bug in 2002-12-23 change.
Nick Roberts's avatar
Nick Roberts committed
138

139 140 141 142
2006-04-16  Eli Zaretskii  <eliz@gnu.org>

	* s/ms-w32.h (SYSTEM_PURESIZE_EXTRA): Reduce to 24000.

143 144 145 146
2006-04-16  Romain Francoise  <romain@orebokech.com>

	* puresize.h (BASE_PURESIZE): Decrement back to 1200000.

147 148 149 150
2006-04-16  Andreas Schwab  <schwab@suse.de>

	* puresize.h (PURESIZE_RATIO): Reduce to 10/6.

151 152 153 154
2006-04-15  Romain Francoise  <romain@orebokech.com>

	* puresize.h (BASE_PURESIZE): Increment to 1210000.

Eli Zaretskii's avatar
Eli Zaretskii committed
155 156 157 158 159
2006-04-13  Micha,Ak(Bl Cadilhac  <michael.cadilhac@lrde.org>  (tiny change)

	* print.c (Fprin1_to_string): Mention in the `doc' that the
	behavior is modified by `print-level' and `print-length'.

160 161 162 163 164 165 166 167 168 169
2006-04-13  Kenichi Handa  <handa@m17n.org>

	* coding.c (setup_coding_system): If eol-type is not yet decided
	and system_eol_type is not LF, set CODING_REQUIRE_ENCODING_MASK.
	If coding_system is nil, return 0.
	(code_convert_region1): Even if coding_system is nil, don't skip
	conversion if system_eol_type is not LF.
	(code_convert_string1): Likewise.
	(code_convert_string_norecord): Likewise.

170 171 172
2006-04-13  Kenichi Handa  <handa@m17n.org>

	* coding.c (setup_coding_system): Fix previous change.
Stefan Monnier's avatar
Stefan Monnier committed
173
	(encode_coding): If eol_type is not yet decided, use system_eol_type.
174 175
	(shrink_encoding_region): If eol_type is not yet decided and
	system_eol_type is not LF, don't shrink.
176

Nick Roberts's avatar
Nick Roberts committed
177 178 179 180 181
2006-04-13  Nick Roberts  <nickrob@snap.net.nz>

	* xdisp.c (note_mouse_highlight): Add help echo for dragging vertical
	line.

182 183
2006-04-12  Richard Stallman  <rms@gnu.org>

184 185
	* keyboard.c (read_key_sequence): Explicitly avoid keybuf[-1].

186 187 188
	* process.c (conv_lisp_to_sockaddr): If FAMILY unknown, just return.
	(Fprocess_send_eof): Abort if fail to open null device.

YAMAMOTO Mitsuharu's avatar
YAMAMOTO Mitsuharu committed
189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272
2006-04-12  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	* fns.c [HAVE_MENUS && MAC_OS]: Include macterm.h.

	* image.c [MAC_OS] (xpm_load_image): Add parentheses around
	assignment used as truth value.  Add explicit braces to avoid
	ambiguous `else'.
	[MAC_OS] (gif_load): Remove unused variable `gcpro1'.

	* lisp.h (syms_of_fontset, Fset_fontset_font): Put extern and
	EXFUN in #ifdef HAVE_WINDOW_SYSTEM.
	(syms_of_xfns, syms_of_xsmfns, syms_of_xselect, syms_of_xterm):
	Put externs in #ifdef HAVE_X_WINDOWS.
	(syms_of_macfns, syms_of_macselect, syms_of_macterm)
	(syms_of_macmenu, syms_of_mac) [MAC_OS]: Add externs.
	(init_mac_osx_environment) [MAC_OSX]: Add extern.

	* mac.c (init_process): Remove undef.
	(select) [MAC_OSX]: Undefine before including sysselect.h.
	(posix_pathname_to_fsspec, fsspec_to_posix_pathname) [MAC_OSX]:
	Remove functions and prototypes.
	(parse_value): Add parentheses around + inside shift.
	(path_from_vol_dir_name): Make static.
	(get_temp_dir_name): Remove unused variables `cpb' and `dir_name'.
	[!MAC_OSX] (get_path_to_system_folder): Likewise.
	(Fmac_get_file_creator, Fmac_get_file_type): Remove unused
	variable `cCode'.
	(Fmac_coerce_ae_data): Remove unused variables `fref' and `fs'.
	(Fmac_get_preference): Add explicit braces to avoid ambiguous `else'.

	* macfns.c (x_to_mac_color): Remove unused variable `tail'.
	(x_set_mouse_color): Remove unused variable `dpy'.
	(Fx_create_frame): Remove unused variable `x_frame_count'.
	(Fx_server_version): Add explicit braces to avoid ambiguous `else'.
	(x_sync): Move from macterm.c.
	(Fx_file_dialog): Remove unused variable `default_filter_index'.

	* macmenu.c (min_menu_id): Make element type explicit.

	* macselect.c (get_flavor_type_from_symbol): Remove unused
	variable `val'.
	(get_scrap_private_timestamp, x_get_foreign_selection)
	(copy_scrap_flavor_data): Add explicit braces to avoid ambiguous `else'.
	(Fmac_process_deferred_apple_events): Remove unused variables
	`keyword', `reply', `apple_event', `count', and `err'.

	* macterm.c: Don't include gnu.h.
	(x_io_error_quitter, x_draw_image_foreground_1): Remove prototypes.
	(x_sync): Move to macfns.c.
	[USE_CG_DRAWING] (mac_define_fringe_bitmap): Remove unused
	variable `mask_bits'.
	(mac_compute_glyph_string_overhangs): Avoid ambiguous `else'.
	(x_draw_image_glyph_string): Remove unused variable `pixmap'.
	(x_mac_to_emacs_modifiers): Remove function.
	(XTset_vertical_scroll_bar, mac_handle_visibility_change)
	(x_make_frame_visible, xlfdpat_create, mac_handle_command_event):
	Add explicit braces to avoid ambiguous `else'.
	(x_make_frame_visible): Remove unused variables `type',
	`original_top', and `original_left'.
	(mac_do_list_fonts, XTread_socket): Add parentheses around && within ||.
	(x_load_font): Remove unused variables `full_name', and `value'.
	(do_get_menus, do_init_managers, do_check_ram_size) [!MAC_OS8]:
	Remove functions.
	(do_zoom_window): Reorganize variables with respect to conditionals.
	(init_command_handler): Remove unused variable `err'.
	[MAC_OSX] (mac_check_bundle): Remove unused variable `child'.

	* macterm.h (x_set_mouse_position, x_set_mouse_pixel_position)
	(x_make_frame_invisible, x_iconify_frame, x_free_frame_resources)
	(x_destroy_window, x_wm_set_size_hint, x_delete_display, XFreeGC)
	(do_menu_choice, have_menus_p, x_real_positions)
	(x_set_menu_bar_lines, x_pixel_width, x_pixel_height, x_char_width)
	(x_char_height, x_sync, x_set_tool_bar_lines, x_activate_menubar)
	(free_frame_menubar): Add externs.

	* unexmacosx.c: Include config.h before using HAVE_MALLOC_MALLOC_H.
	(malloc, realloc, free): Add undefs.
	(read_load_commands): Remove unused variable `n' and `j'.
	(copy_data_segment): Remove unused variable `r'.

	* xdisp.c (get_glyph_string_clip_rects): Add parentheses around &&
	within ||.  Add explicit braces to avoid ambiguous `else'.
	(dump_glyph_row): Remove label for `inverse_p' from legend.

Stefan Monnier's avatar
Stefan Monnier committed
273 274
	* xfaces.c (Finternal_merge_in_global_face, try_font_list):
	Add explicit braces to avoid ambiguous `else'.
YAMAMOTO Mitsuharu's avatar
YAMAMOTO Mitsuharu committed
275

Romain Francoise's avatar
Romain Francoise committed
276
2006-04-11  Micha,Ak(Bl Cadilhac  <michael.cadilhac@lrde.org>  (tiny change)
277 278 279

	* dispnew.c (init_display): Don't init X display if the user asked
	for a non-X display.
Romain Francoise's avatar
Romain Francoise committed
280

281 282 283 284 285
2006-04-12  Kenichi Handa  <handa@m17n.org>

	* coding.c (setup_coding_system): Use system_eol_type for default
	coding->eol_type.

286 287 288 289 290 291 292
2006-04-11  Dan Nicolaescu  <dann@ics.uci.edu>

	* lisp.h (wrong_type_argument): Mark as NO_RETURN.

	* data.c (wrong_type_argument): Try to avoid compiler warnings due
	to the fact the function is now marked as NO_RETURN.

Eli Zaretskii's avatar
Eli Zaretskii committed
293 294 295 296
2006-04-10  Eli Zaretskii  <eliz@gnu.org>

	* s/ms-w32.h (pid_t) [_MSC_VER]: New typedef.

Romain Francoise's avatar
Romain Francoise committed
297 298 299 300
2006-04-10  Romain Francoise  <romain@orebokech.com>

	* xrdb.c (gethomedir): Use xstrdup.

301 302 303 304 305
2006-04-10  Andreas Schwab  <schwab@suse.de>

	* xrdb.c (gethomedir): Make sure to always return a pointer that
	can be passed to free.

Richard M. Stallman's avatar
Richard M. Stallman committed
306 307 308 309 310 311 312 313
2006-04-09  Richard Stallman  <rms@gnu.org>

	* lisp.h (Fkill_emacs): Undo previous change.

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

	* search.c (boyer_moore): Test ch >= 0400, not >.

314 315 316 317
2006-04-09  Dan Nicolaescu  <dann@ics.uci.edu>

	* puresize.h (pure_write_error): Mark as NO_RETURN.

318
	* lisp.h (args_out_of_range, args_out_of_range_3)
319

320 321 322 323 324
2006-04-08  Eli Zaretskii  <eliz@gnu.org>

	* w32fns.c (w32_wnd_proc) <WM_MOUSEMOVE>: Ignore mouse movements
	if a menu is active on this frame.

325 326 327 328
2006-04-08  Dan Nicolaescu  <dann@ics.uci.edu>

	* lisp.h (report_file_error): Mark as NO_RETURN.

329 330
2006-04-08  Eli Zaretskii  <eliz@gnu.org>

331 332
	* alloc.c [STDC_HEADERS]: Include stddef.h.

333 334
	* lisp.h (PSEUDOVECSIZE): Fix last change.

335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357
2006-04-08  Stefan Monnier  <monnier@iro.umontreal.ca>

	* process.h (struct Lisp_Process): Replace Lisp_Objects `pid',
	`raw_status_high', and `raw_status_low' with plain integers, and move
	them to the end of the structure.

	* alloc.c (allocate_process): Use PSEUDOVECSIZE to initialize the
	pseudovector's size field so only the Lisp_Object fields get GC'd.

	* process.c (update_status, make_process, Fdelete_process)
	(Fprocess_status, list_processes_1, start_process_unwind)
	(create_process, Fmake_network_process, server_accept_connection)
	(wait_reading_process_output, send_process, Fprocess_running_child_p)
	(process_send_signal, proc_encode_coding_system, Fprocess_send_eof)
	(sigchld_handler, status_notify): Adjust to new non-Lisp fields for
	`pid' and `raw_status'.
	(Fprocess_id, Fsignal_process): Same, and additionally use floats when
	representing PIDs that are larger than most-positive-fixnum.

	* keymap.c (describe_map): Only use XINT if we checked INTEGERP.

	* lisp.h (OFFSETOF, PSEUDOVECSIZE): New macros.

358 359 360 361
2006-04-08  Eli Zaretskii  <eliz@gnu.org>

	* w32fns.c (Fx_show_tip): Add 3 to the 5th arg of SetWindowPos.

362 363 364 365 366 367 368 369 370 371
2006-04-03  Paul Eggert  <eggert@cs.ucla.edu>

	* editfns.c (TM_YEAR_IN_ASCTIME_RANGE): New macro, identical to
	../lib-src/b2m.c and ../lib-src/editfns.c.
	(Fcurrent_time_string): Use it.
	Document that the year might not consume 4 columns if it's outside
	the range 1000-9999.
	Check for asctime failure.
	Don't assume that the output string length is always exactly 24.

372 373 374 375
2006-04-03  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	* macterm.c (XTread_socket): Initialize variable `f' before its use.

376 377 378 379 380
2006-04-03  Kenichi Handa  <handa@m17n.org>

	* image.c: Include "charset.h" and "coding.h".
	(x_find_image_file): Return an encoded file name.

Eli Zaretskii's avatar
Eli Zaretskii committed
381 382 383 384
2006-04-01  Eli Zaretskii  <eliz@gnu.org>

	* configure: Regenerated.

385 386 387 388
2006-03-31  Kenichi Handa  <handa@m17n.org>

	* xfns.c (xg_set_icon): Delete superfluous UNGCPRO.

389 390 391 392
2006-03-30  Dan Nicolaescu  <dann@ics.uci.edu>

	* xdisp.c (syms_of_xdisp): Fix variable name.

393 394 395 396
2006-03-30  Kenichi Handa  <handa@m17n.org>

	* xterm.c (x_term_init): Delete superfluous UNGCPRO.

Juanma Barranquero's avatar
Juanma Barranquero committed
397 398 399 400
2006-03-29  Juanma Barranquero  <lekktu@gmail.com>

	* keyboard.c (process_tool_bar_item): Reorder dummy args.

401 402 403 404 405
2006-03-29  Stefan Monnier  <monnier@iro.umontreal.ca>

	* keyboard.c (tool_bar_items): Use map_keymap.
	(process_tool_bar_item): Add dummy args to fit the required interface.

406 407 408 409 410 411 412 413 414
2006-03-25  Eli Zaretskii  <eliz@gnu.org>

	* .gdbinit (pr, pp, pp1, pv, pv1): Force print_output_debug_flag
	to zero before calling debug_print or safe_debug_print.

	* print.c (print_output_debug_flag): New global variable.
	(Fexternal_debugging_output) [WINDOWSNT]: Don't call
	OutputDebugString if print_output_debug_flag is zero.

415 416
2006-03-24  Paul Eggert  <eggert@cs.ucla.edu>

417
	* editfns.c (TM_YEAR_BASE): Move up, so the changes below can use it.
418
	(Fdecode_time, Fencode_time): Use TM_YEAR_BASE instead of 1900.
419 420
	(Fdecode_time): Cast tm_year to EMACS_INT.
	(Fcurrent_time_string): Report an invalid time specification if
421
	the argument is invalid.  Also, check for out-of-range time stamps.
422

Kim F. Storm's avatar
Kim F. Storm committed
423 424
2006-03-24  Kim F. Storm  <storm@cua.dk>

Kim F. Storm's avatar
Kim F. Storm committed
425 426 427 428 429
	* xterm.c (handle_one_xevent):
	* w32term.c (w32_read_socket):
	* macterm.c (XTread_socket): Don't let key-press clear mouse face
	on in toolbar window if mouse-highlight is an integer.

Kim F. Storm's avatar
Kim F. Storm committed
430 431
	* fns.c (sxhash_list): Include last non-nil CDR in hash.

432 433 434 435 436 437 438 439 440 441 442 443 444 445 446
2006-03-24  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	* macmenu.c (enum mac_menu_kind): New enum.
	(min_menu_id): New variable.
	(POPUP_SUBMENU_ID, MIN_POPUP_SUBMENU_ID, MIN_MENU_ID)
	(MIN_SUBMENU_ID): Remove defines.  All uses are replaced with
	min_menu_id and enumerators in enum mac_menu_kind.
	(fill_menu, dispose_menus, install_menu_quit_handler): New arg KIND.
	All uses changed.  Add range check for menu ID.
	(fill_menubar): Add range check for menu ID.
	[HAVE_CANCELMENUTRACKING] (menu_quit_handler): Check error code of
	GetEventParameter.
	(set_frame_menubar, mac_menu_show): Call install_menu_quit_handler
	for each menu kind.

Kim F. Storm's avatar
Kim F. Storm committed
447 448
2006-03-22  Kim F. Storm  <storm@cua.dk>

Kim F. Storm's avatar
Kim F. Storm committed
449 450 451 452 453
	* xdisp.c: Undo 2006-03-21 change.

	* term.c: Define aliases for append_glyph and produce_stretch_glyph
	when `static' is defined to avoid name clash with those in xdisp.c.

Kim F. Storm's avatar
Kim F. Storm committed
454 455 456 457 458
	* process.c (Faccept_process_output): Fix to comply with lisp reference.
	Change arg "timeout" to "seconds" and allow both integer and float value.
	Change arg "timeout-msec" to "millisec" and interpret" as milliseconds
	rather than microseconds.  Fix doc string accordingly.

459 460
2006-03-21  Ken Raeburn  <raeburn@raeburn.org>

461 462
	* xdisp.c (store_next_glyph): Rename from append_glyph.
	(generate_stretch_glyph): Rename from produce_stretch_glyph.
463 464
	All callers changed accordingly.

465 466 467 468 469 470 471
2006-03-21  Jan Dj,Ad(Brv  <jan.h.d@swipnet.se>

	* xterm.c: x_session_initialized new variable.
	(x_term_init): Use x_session_initialized to check if
	x_session_initialize should be called.
	(x_initialize): Initialize x_session_initialized.

Kim F. Storm's avatar
Kim F. Storm committed
472 473 474 475 476 477
2006-03-21  Kim F. Storm  <storm@cua.dk>

	* fringe.c (draw_fringe_bitmap): Don't calculate default overlay arrow
	bitmap here, but ...
	(update_window_fringes): ... here, so we can test if it has changed.

478 479 480 481 482 483 484 485
2006-03-20  Andreas Schwab  <schwab@suse.de>

	* dispnew.c (init_display): Check DISPLAY here.

	* emacs.c (main): Don't check here.

	* xterm.c (x_display_ok): Don't use DISPLAY env var.

486 487 488 489 490
2006-03-20  Stefan Monnier  <monnier@iro.umontreal.ca>

	* window.c (window_scroll_pixel_based): Yet another int/Lisp_Object
	mixup (YAILOM).

Eli Zaretskii's avatar
Eli Zaretskii committed
491 492 493 494
2006-03-20  Eli Zaretskii  <eliz@gnu.org>

	* emacs.c (main): Fix last change.

495 496
2006-03-20  Kenichi Handa  <handa@m17n.org>

497
	* fileio.c (Fwrite_region): Set visit_file to Qnil before GCPRO it.
498 499 500 501 502 503 504

	* keymap.c (map_keymap): Set tail to Qnil before GCPRO it.

	* xfns.c (xg_set_icon): Remove unnecessary GCPRO.

	* xterm.c (x_term_init): Remove unnecessary GCPRO.

Kim F. Storm's avatar
Kim F. Storm committed
505 506 507 508 509 510 511
2006-03-19  Kim F. Storm  <storm@cua.dk>

	* xdisp.c (set_cursor_from_row): Fix cursor property on overlay	string,
	so it doesn't associate overlay string with following glyph by default.
	Allow integer property value to specify explicit number of buffer
	positions associate with overlay string.

512 513 514 515
2006-03-18  Chong Yidong  <cyd@stupidchicken.com>

	* xterm.c (x_display_ok): Fix minor bug and compilation warnings.

Eli Zaretskii's avatar
Eli Zaretskii committed
516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531
2006-03-18  Nozomu Ando  <nand@mac.com>

	* m/pmax.h (BROKEN_NOCOMBRELOC) [__NetBSD__]: Define.
	(LIB_STANDARD, START_FILES) [__NetBSD__]: Don't define.
	(START_FILES, RUN_TIME_REMAP, UNEXEC) [__NetBSD__, __OpenBSD__]:
	Don't redefine.

	* m/mips.h: Don't use unexmips on NetBSD.
	(LIBS_MACHINE): Move definition lower, so it doesn't use
	LD_SWITCH_MACHINE, START_FILES, LIB_STANDARD, LIBS_TERMCAP,
	C_SWITCH_MACHINE, and C_DEBUG_SWITCH.

	* unexelf.c [BROKEN_NOCOMBRELOC]: Include assert.h.
	(unexec) [BROKEN_NOCOMBRELOC]: Handle platforms whose nocombreloc
	option is broken (e.g., MIPS/NetBSD).

532 533 534
2006-03-18  Craig McDaniel  <craigmcd@gmail.com>  (tiny change)

	* sheap.c (STATIC_HEAP_SIZE): Enlarge STATIC_HEAP_SIZE to 12MB.
Eli Zaretskii's avatar
Eli Zaretskii committed
535
	Remove the HAVE_X_WINDOWS conditional.
536

Eli Zaretskii's avatar
Eli Zaretskii committed
537 538 539 540 541 542 543 544 545
2006-03-18  Vivek Dasmohapatra  <vivek@etla.org>  (tiny change)

	* emacs.c (main): If user asks for a display that is unavailable,
	simulate -nw.

	* xterm.c (x_display_ok): New function.

	* xterm.h: Add prototype for x_display_ok.

Eli Zaretskii's avatar
Eli Zaretskii committed
546 547 548 549
2006-03-18  Eli Zaretskii  <eliz@gnu.org>

	* w32fns.c (Fw32_select_font): Doc fix.

550 551 552 553 554
2006-03-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	* image.c [MAC_OS] (XPutPixel, XGetPixel)
	[!WORDS_BIG_ENDIAN && USE_CG_DRAWING]: Don't use specialized
	version when depth is 32.
555 556
	(mac_create_cg_image_from_image) [MAC_OS && USE_CG_DRAWING]:
	New function.
557 558 559 560 561
	(prepare_image_for_display) [MAC_OS && USE_CG_DRAWING]: Use it.
	(x_clear_image_1) [MAC_OS && USE_CG_DRAWING]: Release CGImage.

	* macterm.c (XCreatePixmap) [!WORDS_BIG_ENDIAN && USE_CG_DRAWING]:
	Create GWorld in ARGB pixel format.
562 563
	(mac_copy_area, mac_copy_area_with_mask) [USE_CG_DRAWING]:
	Remove functions.
564 565 566
	(x_draw_image_foreground) [USE_CG_DRAWING]: Use mac_draw_cg_image
	instead of mac_copy_area/mac_copy_area_with_mask.

Kim F. Storm's avatar
Kim F. Storm committed
567 568 569 570 571 572 573 574 575
2006-03-15  Kim F. Storm  <storm@cua.dk>

	* xdisp.c (extend_face_to_end_of_line): Always add space glyph to
	empty row.  Fixes memory corruption revealed by 2006-03-02 change.
	(display_tool_bar_line): Skip empty tool-bar line if HEIGHT < 0.
	(tool_bar_lines_needed): Fix tool-bar display in case the tool-bar
	width is exactly the same as the window width.  Don't count a final
	empty tool-bar line (pass HEIGHT = -1 to display_tool_bar_line).

Juanma Barranquero's avatar
Juanma Barranquero committed
576 577
2006-03-15  Juanma Barranquero  <lekktu@gmail.com>

Juanma Barranquero's avatar
Juanma Barranquero committed
578
	* fringe.c (w32_init_fringe, w32_reset_fringes): Revert to being
Juanma Barranquero's avatar
Juanma Barranquero committed
579 580
	conditional on HAVE_NTGUI, not WINDOWS_NT.

581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596
2006-03-15  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	* dispextern.h (mac_init_fringe) [MAC_OS]: Add prototype.

	* fringe.c (mac_init_fringe) [MAC_OS]: New function.

	* macterm.c (mac_initialize) [USE_CG_DRAWING]: Call mac_init_fringe.
	(max_fringe_bmp, fringe_bmp) [USE_CG_DRAWING]: New variables.
	(mac_define_fringe_bitmap, mac_destroy_fringe_bitmap)
	(mac_draw_cg_image) [USE_CG_DRAWING]: New functions.
	(mac_draw_bitmap) [USE_CG_DRAWING]: Remove function.
	(x_draw_fringe_bitmap) [USE_CG_DRAWING]: Use mac_draw_cg_image
	instead of mac_draw_bitmap.
	(x_redisplay_interface) [USE_CG_DRAWING]: Set handlers for
	define_fringe_bitmap and destroy_fringe_bitmap.

597 598 599 600
2006-03-14  Chong Yidong  <cyd@stupidchicken.com>

	* xterm.c (x_uncatch_errors): Block input for entire function.

Jason Rumney's avatar
Jason Rumney committed
601 602
2006-03-12  Jason Rumney  <jasonr@gnu.org>

Jason Rumney's avatar
Jason Rumney committed
603
	* w32fns.c (Fx_create_frame): Remove call to
Juanma Barranquero's avatar
Juanma Barranquero committed
604
	Qface_set_after_frame_default (from xfns.c 2003-05-26).
Jason Rumney's avatar
Jason Rumney committed
605

Jason Rumney's avatar
Jason Rumney committed
606 607 608
	* w32menu.c (Fx_popup_menu): Call w32_free_menu_strings when
	finished with the menu.

Jason Rumney's avatar
Jason Rumney committed
609 610 611 612 613
	* w32term.c: Sync 2005-10-24 xterm.c changes.
	(last_mouse_glyph_frame): New var.
	(note_mouse_movement): Say mouse moved if current frame differs
	from last_mouse_glyph_frame, and update last_mouse_glyph_frame.
	(w32_mouse_position): Set last_mouse_glyph_frame.
Romain Francoise's avatar
Romain Francoise committed
614
	Remove OLD_REDISPLAY_CODE block.
Jason Rumney's avatar
Jason Rumney committed
615

616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644
2006-03-12  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	* macgui.h [USE_ATSUI && MAC_OSX]: Define USE_CG_TEXT_DRAWING to 1.

	* macterm.h (struct mac_output) [USE_CG_DRAWING]: New member cg_context.
	(mac_prepare_for_quickdraw) [USE_CG_DRAWING]: Add prototype.

	* mac.c (sys_select) [USE_CG_DRAWING]: Call mac_prepare_for_quickdraw.

	* macfns.c (x_create_tip_frame): Apply 2006-03-11 change for xfns.c.

	* macterm.c (mac_draw_rectangle, x_draw_glyph_string_foreground)
	(x_draw_composite_glyph_string_foreground)
	(x_draw_image_foreground): Undo previous changes.
	(x_draw_hollow_cursor): Likewise.  Subtract 1 from the last
	argument of mac_draw_rectangle.
	(CG_SET_FILL_COLOR, CG_SET_STROKE_COLOR): New macros.
	(mac_draw_string_common, mac_draw_image_string_cg): Use them.
	(FRAME_CG_CONTEXT) [USE_CG_DRAWING]: New macro.
	(mac_begin_cg_clip, mac_end_cg_clip, mac_prepare_for_quickdraw)
	[USE_CG_DRAWING]: New functions.
	(mac_draw_line, mac_erase_rectangle, mac_clear_window)
	(mac_fill_rectangle, mac_draw_rectangle, mac_draw_string_common)
	(mac_draw_image_string_cg) [USE_CG_DRAWING]: Add Quartz 2D drawing part.
	(mac_draw_bitmap, mac_invert_rectangle, mac_draw_string_common)
	(mac_copy_area, mac_scroll_area, x_scroll_bar_create)
	(x_scroll_bar_remove, XTset_vertical_scroll_bar, x_set_window_size)
	(XTread_socket) [USE_CG_DRAWING]: Call mac_prepare_for_quickdraw.

645 646 647 648
2006-03-12  L$,1 q(Brentey K,Aa(Broly  <lorentey@elte.hu>

	* xfns.c (x_icon): Disable redundant call to `x_wm_set_window_state'.

Jason Rumney's avatar
Jason Rumney committed
649 650 651 652 653 654
2006-03-11  Jason Rumney  <jasonr@gnu.org>

	* w32fns.c (signal_user_input): New function.
	(post_character_message): Use it for keyboard input.
	(w32_msg_pump): Use it for mouse input.

Luc Teirlinck's avatar
Luc Teirlinck committed
655 656 657 658 659
2006-03-11  Luc Teirlinck  <teirllm@auburn.edu>

	* window.c: Rename preserve_y to window_scroll_pixel_based_preserve_y.
	(window_scroll_pixel_based, syms_of_window): Adapt to above change.

Eli Zaretskii's avatar
Eli Zaretskii committed
660 661 662 663 664
2006-03-11  Eli Zaretskii  <eliz@gnu.org>

	* w32fns.c (w32_wnd_proc): Ignore middle and extra button events
	if a menu is already active (the menubar_active flag is on).

Eli Zaretskii's avatar
Eli Zaretskii committed
665 666
2006-03-11  David Ponce  <david@dponce.com>

667
	* xfns.c (x_create_tip_frame): Preserve received parms by copying them.
Eli Zaretskii's avatar
Eli Zaretskii committed
668

Eli Zaretskii's avatar
Eli Zaretskii committed
669 670
2006-03-11  Eli Zaretskii  <eliz@gnu.org>

Eli Zaretskii's avatar
Eli Zaretskii committed
671 672 673
	* w32term.c: Add x_fully_uncatch_errors and x_catching_errors to
	the list of unused display error handling functions.

Eli Zaretskii's avatar
Eli Zaretskii committed
674 675 676 677 678 679
	* eval.c (unwind_to_catch): Call x_fully_uncatch_errors only if
	HAVE_X_WINDOWS.
	(internal_condition_case, internal_condition_case_1)
	(internal_condition_case_2): Call x_catching_errors only if
	HAVE_X_WINDOWS.

Eli Zaretskii's avatar
Eli Zaretskii committed
680 681 682
	* vm-limit.c [HAVE_GETRLIMIT]: Don't define unconditionally.
	Don't include sys/resource.h unless defined.

683 684
2006-03-11  Richard Stallman  <rms@gnu.org>

685 686
	* keymap.c (describe_map): Shorten string to indicate shadowed binding.

687
	* vm-limit.c (get_lim_data, lim_data, data_space_start):
688
	Move from mem-limits.h.
689 690 691 692 693 694
	(enum warnlevel): New data type.
	(check_memory_limits): Rewrite the logic about warnings.
	Use standard `struct rlimit'.  Check return values for nonsense.
	(memory_warnings): Always clear lim_data.

	* mem-limits.h (get_lim_data, lim_data, data_space_start):
695
	Move to vm-limit.c.
696 697 698 699

	* xterm.c (x_fully_uncatch_errors, x_catching_errors): New functions.

	* eval.c (unwind_to_catch): Call x_fully_uncatch_errors.
Luc Teirlinck's avatar
Luc Teirlinck committed
700
	(internal_condition_case_1, internal_condition_case_2):
701 702
	Abort if within unclosed x_catch_errors.

703 704 705 706
2006-03-11  Romain Francoise  <romain@orebokech.com>

	* process.c (Vprocess_adaptive_read_buffering): Doc fix.

Eli Zaretskii's avatar
Eli Zaretskii committed
707 708 709 710 711
2006-03-11  Giorgos Keramidas  <keramida@ceid.upatras.gr>  (tiny change)

	* lisp.h: Remove duplicate prototypes.  Make the prototype of
	getloadavg be conditioned on HAVE_GETLOADAVG being undefined.

712 713
2006-03-11  Eli Zaretskii  <eliz@gnu.org>

Eli Zaretskii's avatar
Eli Zaretskii committed
714 715 716
	* xterm.c (x_draw_hollow_cursor): Subtract 1 from the last
	argument of XDrawRectangle.

717 718 719 720 721 722 723 724 725
	* xdisp.c (get_phys_cursor_geometry): Don't decrease height by 1.

	* macterm.c (mac_draw_rectangle): Don't add 1 to width and height.
	(x_draw_glyph_string_foreground)
	(x_draw_composite_glyph_string_foreground)
	(x_draw_image_foreground): Don't subtract 1 from width and height
	arguments to mac_draw_rectangle.
	(x_draw_hollow_cursor): Add 1 to w->phys_cursor_width.

Kim F. Storm's avatar
Kim F. Storm committed
726 727 728 729
2006-03-10  Kim F. Storm  <storm@cua.dk>

	* alloc.c (USE_POSIX_MEMALIGN): Fix last change.

730 731 732 733 734
2006-03-09  Stefan Monnier  <monnier@iro.umontreal.ca>

	* alloc.c (USE_POSIX_MEMALIGN): New macro.
	(ABLOCKS_BASE, lisp_align_malloc, lisp_align_free): Use it.

Kenichi Handa's avatar
Kenichi Handa committed
735 736 737 738 739
2006-03-09  Kenichi Handa  <handa@m17n.org>

	* coding.c (DECODE_EMACS_MULE_COMPOSITION_CHAR): Fix decoding
	ASCII component of a composition.

Luc Teirlinck's avatar
Luc Teirlinck committed
740 741 742 743 744
2006-03-08  Luc Teirlinck  <teirllm@auburn.edu>

	* window.c: Declare preserve_y as a static global variable.
	(window_scroll_pixel_based): No longer declare preserve_y;
	it is global now.
Luc Teirlinck's avatar
Luc Teirlinck committed
745
	(syms_of_window): Set preserve_y to -1.
Luc Teirlinck's avatar
Luc Teirlinck committed
746

747 748 749 750
2006-03-08  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	* image.c [MAC_OS] (XPutPixel): Set alpha channel bits if pixmap
	depth is 32.
751
	[MAC_OS] (XGetPixel): Strip off alpha channel bits if pixmap
752 753
	depth is 32.

754 755 756 757 758
2006-03-06  Chong Yidong  <cyd@stupidchicken.com>

	* xdisp.c (handle_invisible_prop): Don't update it->position with
	a buffer position if we're in a display string.

759 760 761 762 763 764
2006-03-06  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	* macterm.h (MAC_AQUA_VERTICAL_SCROLL_BAR_WIDTH)
	(MAC_AQUA_SMALL_VERTICAL_SCROLL_BAR_WIDTH): New defines.

	* macfns.c (x_default_scroll_bar_color_parameter)
765 766 767 768
	(x_set_scroll_bar_foreground, x_set_scroll_bar_background):
	Remove unnecessary prototypes.
	(x_set_scroll_bar_default_width):
	Use MAC_AQUA_VERTICAL_SCROLL_BAR_WIDTH.
769 770 771 772 773 774 775 776 777 778 779
	(mac_set_scroll_bar_width): New function.
	(mac_frame_parm_handlers): Set it as handler for scroll-bar-width.

	* macterm.c (get_control_part_bounds): Fix type of return value.
	(x_set_toolkit_scroll_bar_thumb, x_scroll_bar_create)
	(XTset_vertical_scroll_bar) [USE_TOOLKIT_SCROLL_BARS]: Don't show
	scroll bar if it is not tall enough to display scroll bar thumb.
	[USE_CARBON_EVENTS] (mac_convert_event_ref)
	(mac_handle_command_event, mac_handle_window_event)
	(mac_handle_mouse_event): Check error code of GetEventParameter.
	(convert_fn_keycode) [MAC_OSX]: Likewise.
Luc Teirlinck's avatar
Luc Teirlinck committed
780

781 782 783 784
2006-03-05  Andreas Schwab  <schwab@suse.de>

	* xselect.c (x_catch_errors_unwind): Fix missing return value.

Kim F. Storm's avatar
Kim F. Storm committed
785 786 787 788 789 790
2006-03-02  Kim F. Storm  <storm@cua.dk>

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

	* xdisp.c: Minimize the unpleasent visual impact of the requirement
	that non-toolkit tool-bars must occupy an integral number of screen
Romain Francoise's avatar
Romain Francoise committed
791
	lines, by distributing the rows evenly over the tool-bar screen area.
Kim F. Storm's avatar
Kim F. Storm committed
792 793
	(Vtool_bar_border): New variable.
	(syms_of_xdisp): DEFVAR_LISP it.
794 795 796
	(display_tool_bar_line): Add HEIGHT arg for desired row height.
	Make tool-bar row the desired height.  Use default face for border
	below tool-bar.
Kim F. Storm's avatar
Kim F. Storm committed
797 798 799 800 801 802 803
	(tool_bar_lines_needed): Add N_ROWS arg.  Use it to return number of
	actual tool-bar rows.
	(redisplay_tool_bar): Calculate f->n_tool_bar_rows initially.
	Adjust the height of the tool-bar rows to fill tool-bar screen area.
	(redisplay_tool_bar): Calculate f->n_tool_bar_rows when tool-bar area
	is resized.

Luc Teirlinck's avatar
Luc Teirlinck committed
804 805 806 807 808 809 810
2006-03-01  Luc Teirlinck  <teirllm@auburn.edu>

	* search.c (Fregexp_quote): Do not precede a literal `]' with two
	backslashes to try to make clear that it has a literal meaning; it
	does not do that.  (It could close a character alternative
	containing a backslash.)

811 812 813 814 815 816 817 818 819 820
2006-02-28  Chong Yidong  <cyd@stupidchicken.com>

	* xselect.c (x_catch_errors_unwind): New function.
	(x_reply_selection_request): Put x_uncatch_errors in an unwind.
	(Fx_get_atom_name): Call x_uncatch_errors earlier.

	* window.c (Qscroll_up, Qscroll_down): New syms.
	(window_scroll_pixel_based): Make preserve_y static to avoid
	getting point stuck when scrolling 1 line.

821 822
2006-02-26  Chong Yidong  <cyd@stupidchicken.com>

823
	* xterm.h, xterm.c (x_uncatch_errors): Delete unneccessary argument.
824

Juanma Barranquero's avatar
Juanma Barranquero committed
825 826 827
	* xterm.c (x_load_font, x_term_init, XTmouse_position)
	(handle_one_xevent, x_connection_closed, x_list_fonts):
	No arg for x_uncatch_errors.
828 829 830 831 832 833 834 835

	* xselect.c (x_own_selection, x_decline_selection_request)
	(x_reply_selection_request, x_get_foreign_selection)
	(Fx_get_atom_name, Fx_send_client_event): Likewise.

	* xfns.c (x_real_positions, x_set_mouse_color, Fx_focus_frame):
	Likewise.

Luc Teirlinck's avatar
Luc Teirlinck committed
836 837
2006-02-26  Luc Teirlinck  <teirllm@auburn.edu>

Luc Teirlinck's avatar
Luc Teirlinck committed
838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853
	* lread.c: Declare Vload_file_rep_suffixes instead of
	deleted variable default_suffixes.
	(Fget_load_suffixes): New function.
	(Fload): Use Fget_load_suffixes and Vload_file_rep_suffixes.
	No longer use deleted variable default_suffixes.  Update docstring.
	(syms_of_lread): defsubr Sget_load_suffixes.
	Expand `load-suffixes' docstring.
	Delete default_suffixes and DEFVAR_LISP the new variable
	`load-file-rep-suffixes'.

	* w32.c (check_windows_init_file): Use Fget_load_suffixes instead
	of Vload_suffixes.

	* lisp.h: EXFUN Fget_load_suffixes.
	Extern Vload_file_rep_suffixes.

Luc Teirlinck's avatar
Luc Teirlinck committed
854 855 856
	* eval.c (specpdl_ptr): Remove volatile qualifier for consistency
	with lisp.h.

857 858 859 860 861 862
2006-02-26  Stefan Monnier  <monnier@iro.umontreal.ca>

	* lisp.h (struct specbinding, specpdl_ptr): Remove the volatile
	qualifier which was trying to avoid the bug that was fixed by
	yesterday's changes to xterm.c.

863 864 865
2006-02-25  Chong Yidong  <cyd@stupidchicken.com>

	* xterm.h (x_catch_errors) Return value changed to void.
866
	(x_uncatch_errors): Delete unused count argument.
867

868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886
	* xterm.c (x_catch_errors): Don't use record_unwind_protect, since
	it can be called in a signal handler.
	(x_catch_errors_unwind): Function deleted.
	(x_uncatch_errors): Deallocate last x_error_message_stack struct.
	(x_check_errors): Call x_uncatch_errors before signalling error.

	(x_load_font, x_term_init, XTmouse_position, handle_one_xevent)
	(x_connection_closed, x_list_fonts): Use new versions of
	x_catch_errors and x_uncatch_errors.

	* xselect.c (x_own_selection, x_decline_selection_request)
	(x_reply_selection_request, x_get_foreign_selection)
	(Fx_get_atom_name, Fx_send_client_event): Likewise.

	* xfns.c (x_real_positions, x_set_mouse_color, Fx_focus_frame):
	Likewise.

	* eval.c (record_unwind_protect): Add an assertion.

887 888 889 890
2006-02-25  Stefan Monnier  <monnier@iro.umontreal.ca>

	* process.c (Fmake_network_process): Init the process's mark.

Kim F. Storm's avatar
Kim F. Storm committed
891 892 893 894 895
2006-02-25  Kim F. Storm  <storm@cua.dk>

	* buffer.c (modify_overlay): Force redisplay if we modify an
	overlay at the end of the buffer.

896 897 898 899 900 901
2006-02-24  Jan Dj,Ad(Brv  <jan.h.d@swipnet.se>

	* gtkutil.c (xg_get_image_for_pixmap): If x_find_image_file returns
	nil the image file has been removed, in that case use the (cached)
	pixmap.

902 903 904 905 906
2006-02-24  Kenichi Handa  <handa@m17n.org>

	* fileio.c (Finsert_file_contents): When a text is replaced
	partially, be sure to set point before the inserted characters.

Kenichi Handa's avatar
Kenichi Handa committed
907 908 909 910
2006-02-23  Zhang Wei  <id.brep@gmail.com>  (tiny change)

	* xfns.c (Fx_file_dialog): Return a decoded file name.

911 912 913 914 915
2006-02-23  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	* dispnew.c (update_text_area): Avoid needless redraw of rightmost
	glyph whose face is extended to the text area end.

916 917 918
	* macterm.c (x_set_toolkit_scroll_bar_thumb): Don't set control
	values if control is not visible or values are not changed.

919 920 921 922 923
2006-02-22  Stefan Monnier  <monnier@iro.umontreal.ca>

	* window.c (Fwindow_list): Check `window' before doing XWINDOW.
	The default `window' should not be "on a different frame".

Kim F. Storm's avatar
Kim F. Storm committed
924 925 926 927
2006-02-22  Kim F. Storm  <storm@cua.dk>

	* indent.c (Fvertical_motion): Only try to move back if we can.

928 929 930 931 932 933 934 935 936 937 938
2006-02-22  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	* macgui.h (struct _XGC) [!MAC_OSX || !USE_ATSUI]: New member
	n_clip_rects.

	* macmenu.c (digest_single_submenu): Apply 2006-02-19 change for
	xmenu.c.

	* macterm.c (GC_CLIP_REGION): Remove macro.
	(mac_begin_clip, mac_end_clip): Take arg GC instead of REGION.
	All uses changed.  Don't do clipping if n_clip_rects is zero.
939 940
	(mac_set_clip_rectangles): Use xassert instead of abort.
	Set n_clip_rects.  Don't make clip_region empty when number of
941 942 943 944 945 946
	clipping rectangles is zero.
	(mac_reset_clip_rectangles): Set n_clip_rects directly instead of
	calling mac_set_clip_rectangles.
	(x_set_toolkit_scroll_bar_thumb): Temporarily hide scroll bar to
	avoid multiple redraws.

Kim F. Storm's avatar
Kim F. Storm committed
947 948 949 950
2006-02-22  Kim F. Storm  <storm@cua.dk>

	* fringe.c (draw_fringe_bitmap): Fix overlay-arrow display.

Kim F. Storm's avatar
Kim F. Storm committed
951 952 953 954
2006-02-21  Kim F. Storm  <storm@cua.dk>

	* fringe.c (syms_of_fringe) <fringe-bitmaps>: Doc fix.

Juanma Barranquero's avatar
Juanma Barranquero committed
955
2006-02-21  Zhang Wei  <brep@newsmth.org>
956 957 958 959

	* xfns.c (Fx_file_dialog, Motif and GTK): DECODE_FILE before
	returning it.

Kim F. Storm's avatar
Kim F. Storm committed
960
2006-02-21  Giorgos Keramidas  <keramida@ceid.upatras.gr>  (tiny change)
Juanma Barranquero's avatar
Juanma Barranquero committed
961 962 963 964

	* fringe.c (horizontal_bar_bits): Rename from `horisontal_bar_bits'.
	(standard_bitmaps): Use it.

965 966 967 968 969 970
2006-02-21  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	* macterm.c (mac_draw_string_common): Remove arg MODE.  New arg
	BG_WIDTH.  All uses changed.  Draw background if BG_WIDTH is not zero.
	(mac_draw_image_string, mac_draw_image_string_16): New arg BG_WIDTH.
	[USE_CG_TEXT_DRAWING] (mac_draw_image_string_cg): Rename from
971 972
	mac_draw_string_cg.  New arg BG_WIDTH.  All uses changed.
	Draw background if BG_WIDTH is not zero.  Use float constants as
973 974 975 976 977 978 979 980 981 982
	divisors instead of double.  Use alloca instead of xmalloc/xfree.
	(x_draw_glyph_string_background, x_draw_glyph_string_foreground)
	[!MAC_OS8 || USE_ATSUI]: Background may be drawn using
	mac_draw_image_string* functions.
	(XLoadQueryFont) [MAC_OS8 && USE_ATSUI]: Don't adjust heights of
	some fonts when srcCopy text transfer mode might be used.
	(mac_begin_clip, mac_end_clip): Check if region is empty.
	(mac_set_clip_rectangles): When resetting clip region, make it
	empty instead of disposing of it.

983 984 985 986 987
2006-02-20  Stefan Monnier  <monnier@iro.umontreal.ca>

	* keymap.c (store_in_keymap): Change `def' arg to not be `register'.
	Seems to trigger a bug in gcc-amd64 4.0.2 20051125 (Red Hat 4.0.2-8).

Kim F. Storm's avatar
Kim F. Storm committed
988 989 990 991 992 993 994 995 996 997 998 999
2006-02-20  Kim F. Storm  <storm@cua.dk>

	* Makefile.in: Add fringe.elc to WINDOW_SUPPORT.

	* buffer.h (struct buffer): New members fringe_indicator_alist and
	fringe_cursor_alist.

	* buffer.c (init_buffer_once): Set dummy default values for
	fringe-indicator-alist and fringe-cursor-alist.  The proper
	default values are set by pre-loading fringe.el.
	(syms_of_buffer): defvar_per_buffer new fringe-indicator-alist and
	fringe-cursor-alist buffer-local variables and defvar_lisp_nopro
Juanma Barranquero's avatar
Juanma Barranquero committed
1000
	corresponding default- variables.
Kim F. Storm's avatar
Kim F. Storm committed
1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012

	* fringe.c (enum fringe_bitmap_type): Remove.  Change all uses
	to use `int'.
	(NO_FRINGE_BITMAP, UNDEF_FRINGE_BITMAP, MAX_STANDARD_FRINGE_BITMAPS):
	Define explicitly.
	(Qtruncation, Qcontinuation, Qempty_line, Qtop_bottom)
	(Qhollow_small): New variables.
	(syms_of_fringe): Intern and staticpro them.
	(question_mark_bits): Rename from unknown_bits.
	(left_curly_arrow_bits): Rename from continuation_bits.
	(right_curly_arrow_bits): Rename from continued_bits.
	(left_triangle_bits): Rename from ov_bits.
1013
	(right_triangle_bits): Add.
Kim F. Storm's avatar
Kim F. Storm committed
1014 1015
	(filled_rectangle_bits): Rename from filled_box_cursor_bits.
	(hollow_rectangle_bits): Rename from hollow_box_cursor_bits.
1016
	(filled_square_bits): Add.
Kim F. Storm's avatar
Kim F. Storm committed
1017
	(vertical_bar_bits): Rename from bar_cursor_bits.
Juanma Barranquero's avatar
Juanma Barranquero committed
1018
	(horizontal_bar_bits): Rename from hbar_cursor_bits.
Kim F. Storm's avatar
Kim F. Storm committed
1019 1020 1021 1022 1023
	(empty_line_bits): Rename from zv_bits.
	(standard_bitmaps): Update to use new names.
	(draw_fringe_bitmap_1): Make static.
	(get_logical_cursor_bitmap, get_logical_fringe_bitmap): New functions
	to map from logical cursors and indicators to physical bitmaps.
Romain Francoise's avatar
Romain Francoise committed
1024
	(draw_fringe_bitmap): Resolve fringe cursor and overlay-arrow
Kim F. Storm's avatar
Kim F. Storm committed
1025 1026 1027 1028 1029
	bitmaps using symbol names instead of bitmap numbers.
	(update_window_fringes): Use logical indicator symbol names
	instead of bitmap numbers for logical.  Add bitmap cache.
	(LEFT_FRINGE, RIGHT_FRINGE): New helper macros.

1030 1031
2006-02-20  Chong Yidong  <cyd@stupidchicken.com>

1032 1033 1034
	* regex.c: Revert 2006-02-19 change.
	(xmalloc, xrealloc): Define these when not linked to Emacs.
	Redefine malloc -> xmalloc, realloc -> xrealloc as in Emacs case.
1035

Luc Teirlinck's avatar
Luc Teirlinck committed
1036 1037 1038 1039
2006-02-19  Luc Teirlinck  <teirllm@auburn.edu>

	* regex.c (extend_range_table_work_area): Fix typo.

1040 1041
2006-02-19  Richard M. Stallman  <rms@gnu.org>

1042 1043 1044 1045 1046 1047 1048 1049
	* xterm.c (x_catch_errors): Use xmalloc.

	* regex.c (extend_range_table_work_area): Call xmalloc and xrealloc.
	(regex_compile): Likewise.
	(regcomp): Use xmalloc.

	* gtkutil.c (malloc_widget_value): Use xmalloc.

1050 1051 1052 1053 1054 1055
	* vm-limit.c [HAVE_GETRLIMIT]: Include sys/resource.h.
	(check_memory_limits) [HAVE_GETRLIMIT]: Use getrlimit.

	* xmenu.c (digest_single_submenu): When pane_string is empty,
	do initialize save_wv.

1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075
2006-02-19  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	* xdisp.c (update_menu_bar) [MAC_OS]: Don't set
	w->update_mode_line if arg F is not the selected frame.

	* macmenu.c (popup_activated_flag, submenu_id)
	(next_menubar_widget_id): Remove variables.
	(initialize_frame_menubar): Remove function.
	(pop_down_menu, mac_menu_show): Simplify save value.
	(dispose_menus): New function.
	(pop_down_menu, fill_menubar): Use it.
	(fill_submenu): Remove function.  All uses changed to fill_menu.
	(add_menu_item): Remove args SUBMENU and FORCE_DISABLE.  New arg
	POS.  Don't call SetMenuItemHierarchicalID here.
	(fill_menu): Add arg SUBMENU_ID.  Return submenu_id that is to be
	used next.  Call SetMenuItemHierarchicalID here.
	(fill_menubar): Add arg DEEP_P.  All uses changed.  Clean up menu
	objects if needed.  Reuse existing menu bar titles if possible.
	(set_frame_menubar): Don't clean up menu objects here.

1076 1077 1078 1079 1080
2006-02-18  Chong Yidong  <cyd@stupidchicken.com>

	* window.c (window_min_size_1): Ensure room for the scroll bar and
	fringes.

1081 1082 1083 1084
2006-02-17  Romain Francoise  <romain@orebokech.com>

	* puresize.h (BASE_PURESIZE): Increment to 1200000.

1085 1086 1087 1088 1089
2006-02-17  Stefan Monnier  <monnier@iro.umontreal.ca>

	* alloc.c (Fmake_symbol): Comment-out left-over assert from before the
	addition of the BLOCK_INPUTs.

Juanma Barranquero's avatar
Juanma Barranquero committed
1090 1091 1092 1093
2006-02-17  Juanma Barranquero  <lekktu@gmail.com>

	* window.c (Fset_window_scroll_bars): Doc fix.

Kenichi Handa's avatar
Kenichi Handa committed
1094 1095 1096 1097 1098
2006-02-17  Kenichi Handa  <handa@m17n.org>

	* xdisp.c (display_mode_element): Call display_string with correct
	PREC arg (which must be a number of characters, not column width).

1099 1100 1101 1102 1103 1104 1105 1106
2006-02-15  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	* frame.c (x_get_arg): Clear out PARAM in ALIST also on Mac.

	* macfns.c (x_set_menu_bar_lines): Menu bar is always shown on Mac.

	* macmenu.c (set_frame_menubar): Don't call DrawMenuBar.

1107 1108
2006-02-14  Richard M. Stallman  <rms@gnu.org>

1109 1110
	* frame.c (x_get_arg): Clear out all occurrences of PARAM in ALIST.

1111 1112
	* m/ibms390x.h: New file.

1113 1114 1115 1116
2006-02-14  Jan Dj,Ad(Brv  <jan.h.d@swipnet.se>

	* gtkutil.c (xg_tool_bar_detach_callback): Set show-arrow to the
	value of x-gtk-whole-detached-tool-bar.
Jan Djärv's avatar
Jan Djärv committed
1117
	(xg_tool_bar_attach_callback): Set show-arrow to TRUE.
1118 1119 1120

	* xfns.c (syms_of_xfns): New variable: x-gtk-whole-detached-tool-bar.

Jan Djärv's avatar
Jan Djärv committed
1121
2006-02-14  Jan Dj,Ad(Brv  <jan.h.d@swipnet.se>
1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132

	* xterm.c (x_x_to_emacs_modifiers): Make non-static.

	* xterm.h: Declare x_x_to_emacs_modifiers.

	* gtkutil.c (xg_tool_bar_button_cb): New function.
	(xg_tool_bar_callback): Call x_x_to_emacs_modifiers to
	store modifiers in event.
	(update_frame_tool_bar): Connect button-release-event to
	xg_tool_bar_button_cb.

1133 1134 1135 1136
2006-02-13  Richard M. Stallman  <rms@gnu.org>

	* .gdbinit (xwindow): Update the code to show the window box.

1137 1138 1139 1140
2006-02-13  Jan Dj,Ad(Brv  <jan.h.d@swipnet.se>

	* xterm.c (note_mouse_movement): Check for NULL FRAME_X_OUTPUT (frame).

1141 1142 1143 1144
2006-02-12  Richard M. Stallman  <rms@gnu.org>

	* cmds.c (internal_self_insert): Handle weird auto-fill-function.

Eli Zaretskii's avatar
Eli Zaretskii committed
1145 1146 1147 1148 1149 1150 1151
2006-02-11  Eli Zaretskii  <eliz@gnu.org>

	* keyboard.c (Venable_disabled_menus_and_buttons): New variable.
	(syms_of_keyboard): DEVFAR_LISP and initialize it.
	(parse_tool_bar_item, parse_menu_item): If that variable is
	non-nil, don't disable menu items and tool-bar buttons.

Juanma Barranquero's avatar
Juanma Barranquero committed
1152 1153 1154 1155
2006-02-11  Juanma Barranquero  <lekktu@gmail.com>

	* doc.c (Fsubstitute_command_keys): Doc fix.

1156 1157 1158 1159 1160
2006-02-10  Thien-Thi Nguyen  <ttn@gnu.org>

	* data.c (Findirect_function): Rewrite docstring.
	Fix omission bug: Declare new arg NOERROR.

YAMAMOTO Mitsuharu's avatar
YAMAMOTO Mitsuharu committed
1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182
2006-02-10  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	* macfns.c (x_set_mouse_color): Don't call rif->define_frame_cursor
	if window_desc is not set yet.
	(Fx_create_frame): Remove variable x_frame_name.  Apply 2005-12-07
	and 2006-01-26 changes for xfns.c.  Call x_iconify_frame if frame
	parameter `visibility' is `icon'.
	(Fx_create_frame, x_create_tip_frame): Use "fontset-standard"
	instead of "fontset-mac".
	(Fx_focus_frame): New defun.
	(syms_of_macfns): Defsubr it.

	* macterm.c (mac_define_frame_cursor): Don't change pointer shape
	for unfocused frame.
	(x_raise_frame): Call BringToFront instead of SelectWindow.
	(x_lower_frame): Use NULL instead of nil.
	(x_make_frame_visible): Don't call SelectWindow.
	(XTread_socket): Increment handling_signal at the start, decrement
	it at the end.
	[USE_CG_TEXT_DRAWING] (init_cg_text_anti_aliasing_threshold): Use
	CFPreferencesGetAppIntegerValue instead of Fmac_get_preference.

1183 1184 1185 1186 1187 1188 1189 1190 1191
2006-02-10  Kim F. Storm  <storm@cua.dk>

	* data.c (Findirect_function): Add NOERROR arg.  All callers changed
	to pass Qnil for NOERROR.

	* keymap.c (current_minor_maps_error): Remove.
	(current_minor_maps): Pass Qt for NOERROR to Findirect_function
	instead of using internal_condition_case_1+current_minor_maps_error.

1192 1193 1194 1195 1196 1197
2006-02-09  Jan Dj,Ad(Brv  <jan.h.d@swipnet.se>

	* xterm.c (handle_one_xevent): Must note mouse movement even for nil
	frames for GTK, in that case it is the tool bar.  This is so that
	highlighted text get reset properly.

Juanma Barranquero's avatar
Juanma Barranquero committed
1198 1199 1200 1201
2006-02-09  Juanma Barranquero  <lekktu@gmail.com>

	* alloc.c (Fmake_bool_vector, Fpurecopy): Doc fixes.

1202 1203 1204 1205 1206
2006-02-08  Jan Dj,Ad(Brv  <jan.h.d@swipnet.se>

	* window.c (adjust_window_trailing_edge): Check that shrinking
	does not set a window to size zero or less.

1207 1208 1209
2006-02-08  Miles Bader  <miles@gnu.org>

	* editfns.c (Fconstrain_to_field): Use Fget_char_property instead
Juanma Barranquero's avatar
Juanma Barranquero committed
1210
	of Fget_text_property (other field functions work with overlays as
1211 1212
	well as text-properties).

1213 1214
2006-02-07  Kenichi Handa  <handa@m17n.org>

Kim F. Storm's avatar
Kim F. Storm committed
1215
	* dispextern.h (unibyte_display_via_language_environment): Extern it.
1216

Kim F. Storm's avatar
Kim F. Storm committed
1217 1218 1219
	* xterm.h (unibyte_display_via_language_environment):
	* w32term.h (unibyte_display_via_language_environment):
	* macterm.h (unibyte_display_via_language_environment): Delete extern.
1220

1221 1222
2006-02-07  Kenichi Handa  <handa@m17n.org>

Kim F. Storm's avatar
Kim F. Storm committed
1223
	* term.c (append_glyph): Refer to it->char_to_display instead of it->c.
1224
	(produce_glyphs): Set the character to print in
Kim F. Storm's avatar
Kim F. Storm committed
1225 1226
	it->char_to_display.  Handle unibyte-display-via-language-environment.
	(produce_stretch_glyph): Set character to print in it->char_to_display.
1227

1228 1229
2006-02-06  Kenichi Handa  <handa@m17n.org>

Kim F. Storm's avatar
Kim F. Storm committed
1230
	* lread.c (openp): Initialize encoded_fn before GCPRO it.
1231

1232 1233 1234 1235
2006-02-05  Ken Raeburn  <raeburn@raeburn.org>

	* editfns.c (Fconstrain_to_field): Fix int/Lisp_Object mixup.

1236 1237 1238
	* lisp.h (XPNTR) [!NO_UNION_TYPE && !HAVE_SHM && !DATA_SEG_BITS]:
	Cast bitfield value to EMACS_INT, to suppress gcc warning.

1239 1240 1241
	* xrdb.c (malloc, realloc, free) [emacs]: Undefine macros before
	defining.

Kim F. Storm's avatar
Kim F. Storm committed
1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252
2006-02-03  Kim F. Storm  <storm@cua.dk>

	* xdisp.c: Cache last merged escape glyph face.
	(last_escape_glyph_frame, last_escape_glyph_face_id)
	(last_escape_glyph_merged_face_id): New variables.
	(get_next_display_element): Use/update them.
	(redisplay_internal): Reset them before redisplay.

	* xdisp.c (set_iterator_to_next): Optimize 2004-12-13 fix.
	Only recheck faces after displaying ellipsis.

1253 1254 1255 1256 1257
2006-02-02  Kenichi Handa  <handa@m17n.org>

	* coding.c (decode_composition_emacs_mule): Fix handling of
	incorrect format data.

1258 1259 1260 1261 1262
2006-01-31  Jan Dj,Ad(Brv  <jan.h.d@swipnet.se>

	* gtkutil.c (update_frame_tool_bar): Use new tool bar functions
	(gtk_toolbar_insert) so we can have tool bars of different sizes.

Luc Teirlinck's avatar
Luc Teirlinck committed
1263 1264 1265 1266
2006-01-30  Luc Teirlinck  <teirllm@auburn.edu>

	* data.c (Flistp): Doc fix.

Juanma Barranquero's avatar
Juanma Barranquero committed
1267 1268 1269 1270 1271
2006-01-30  Juanma Barranquero  <lekktu@gmail.com>

	* window.c (Fother_window, Fwindow_vscroll, Fset_window_vscroll):
	Fix typos in docstrings.

Luc Teirlinck's avatar
Luc Teirlinck committed
1272 1273
2006-01-28  Luc Teirlinck  <teirllm@auburn.edu>

Luc Teirlinck's avatar
Luc Teirlinck committed
1274
	* data.c (Fcar, Fcdr): Add links to Elisp manual to the docstrings.
Luc Teirlinck's avatar
Luc Teirlinck committed
1275

1276 1277 1278 1279 1280 1281 1282
2006-01-27  Chong Yidong  <cyd@stupidchicken.com>

	* alloc.c (make_interval, allocate_string)
	(allocate_string_data, make_float, Fcons, allocate_vectorlike)
	(Fmake_symbol, allocate_misc): Use BLOCK_INPUT when accessing
	global variables.

Eli Zaretskii's avatar
Eli Zaretskii committed
1283 1284 1285 1286 1287
2006-01-27  Eli Zaretskii  <eliz@gnu.org>

	* dired.c (DIRENTRY_NONEMPTY) [__CYGWIN__]: Don't use d_ino; use
	the MSDOS definition.

1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298
2006-01-26  Richard M. Stallman  <rms@gnu.org>

	* alloc.c (check_pure_size): Make overflow message an "error message".

	* keymap.c (Fmap_keymap): Doc fix.

	* xfns.c (Fx_create_frame): Put all specified parms into f->param_alist
	unless they were cleared out.

	* frame.c (x_get_arg): "Clear out" the parm in ALIST if found there.

1299 1300
2006-01-26  L$,1 q(Brentey K,Aa(Broly  <lorentey@elte.hu>

1301 1302
	* editfns.c (Fconstrain_to_field): Fix behaviour on field boundaries.
	(find_field): Set before_field to after_field when pos is at BEGV.
1303 1304
	(Fline_beginning_position, Fline_end_position):
	Clarify confusing doc string.
1305 1306 1307 1308

	* cmds.c (Fbeginning_of_line, Fend_of_line): Clarify confusing doc
	string.

1309 1310 1311 1312 1313 1314
2006-01-26  Kenichi Handa  <handa@m17n.org>

	* callproc.c (Fcall_process): GCPRO error_file.  Encode infile,
	current_dir, and error_file.  On reporting an error, decode them
	back.

1315 1316 1317 1318 1319 1320
2006-01-24  Stefan Monnier  <monnier@iro.umontreal.ca>

	* regex.c (IMMEDIATE_QUIT_CHECK): Use it with SYNC_INPUT as well.
	(re_match_2_internal) <on_failure_jump, on_failure_jump_smart>:
	Don't check for quit, since any loop will go through fail or jump.

1321 1322 1323 1324 1325
2006-01-24  Chong Yidong  <cyd@stupidchicken.com>

	* alloc.c (allocate_string_data): Update next_free immediately, to
	reduce risk of memory clobberage.

1326 1327 1328 1329 1330 1331 1332
2006-01-24  L$,1 q(Brentey K,Aa(Broly  <lorentey@elte.hu>

	* xdisp.c (handle_invisible_prop): Set it->position to fix cursor
	display when point moves across an ellipsis.  If there are
	adjacent invisible texts, don't lose the second one's ellipsis.
	(x_produce_glyphs): Doc fix.

1333 1334 1335 1336
2006-01-23  Stefan Monnier  <monnier@iro.umontreal.ca>

	* xterm.c (x_catch_errors_unwind): Yet another int/Lisp_Object mixup.

Kim F. Storm's avatar
Kim F. Storm committed
1337 1338 1339 1340 1341 1342 1343 1344
2006-01-23  Kim F. Storm  <storm@cua.dk>

	* xdisp.c (handle_single_display_spec): Fix handling of space
	property on char from string: set *position rather than
	it->current.pos.
	(produce_stretch_glyph): Reduce width of stretch glyphs so they
	don't get wider than the window (unless truncate-lines is on).

1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357
2006-01-22  Stefan Monnier  <monnier@iro.umontreal.ca>

	* xterm.c: Avoid allocating Lisp data from a signal handler.
	(x_error_message): New var to replace x_error_message_string.
	(x_error_catcher, x_catch_errors, x_catch_errors_unwind)
	(x_check_errors, x_had_errors_p, x_clear_errors, x_error_handler)
	(syms_of_xterm): Use it instead of x_error_message_string.

	* alloc.c (lisp_align_free): Add an assertion.
	(make_interval, allocate_string, make_float, Fcons, Fmake_symbol)
	(allocate_misc): If ENABLE_CHECKING is on, check we're not called from
	a signal handler.

Luc Teirlinck's avatar
Luc Teirlinck committed
1358 1359 1360 1361
2006-01-21  Luc Teirlinck  <teirllm@auburn.edu>

	* dired.c (syms_of_dired) <completion-ignored-extensions>: Doc fix.

1362 1363 1364 1365 1366
2006-01-21  Romain Francoise  <romain@orebokech.com>

	* xdisp.c (get_window_cursor_type): Fix last change.
	Update copyright year.

1367 1368
2006-01-20  Eli Zaretskii  <eliz@gnu.org>

1369 1370 1371
	* lread.c (Fload): Don't leak the file descriptor returned by
	openp if we are going to signal an error.

1372 1373 1374 1375 1376
	* w32.c (sys_close): If FD is outside [0..MAXDESC) limits, pass it
	directly to _close.
	(sys_dup): Protect against new_fd larger than fd_info[] can handle.
	(sys_read): If FD is outside [0..MAXDESC) limits, pass it directly
	to _read.
1377
	(sys_write): If FD is outside [0..MAXDESC) limits, pass it
1378 1379
	directly to _write.

1380 1381 1382
	* .gdbinit: Don't dereference Vsystem_type's Lisp_Symbol pointer
	if it is NULL.

1383 1384 1385 1386
2006-01-20  Kenichi Handa  <handa@m17n.org>

	* puresize.h (BASE_PURESIZE): Increment to 1190000.

1387 1388 1389 1390 1391
2006-01-19  Chong Yidong  <cyd@stupidchicken.com>

	* xdisp.c (get_window_cursor_type): Use cursor type specified by
	the selected buffer for the echo area too.

1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402
2006-01-19  Richard M. Stallman  <rms@gnu.org>

	* keymap.c (Fmap_keymap): Doc fix.

	* s/irix6-5.h (GC_SETJMP_WORKS, GC_MARK_STACK): New definitions.

	* keyboard.c (echo_char): Don't omit the space between first two
	echoed chars.

	* minibuf.c (read_minibuf): Fix previous change.

1403 1404 1405 1406
2006-01-19  Kenichi Handa  <handa@m17n.org>

	* xterm.c (handle_one_xevent): Handle keysyms 0x1000000..0x10000FF.

1407 1408 1409 1410 1411
2006-01-17  Richard M. Stallman  <rms@gnu.org>

	* frame.c (x_frame_get_and_record_arg): Don't record Qunbound
	value in f->param_alist.

Andreas Schwab's avatar
.  
Andreas Schwab committed
1412 1413 1414 1415
2006-01-15  Andreas Schwab  <schwab@suse.de>

	* search.c (Freplace_match): Use UPPERCASEP instead of !NOCASEP.

Nick Roberts's avatar
Nick Roberts committed
1416 1417 1418 1419