ChangeLog 420 KB
Newer Older
1 2 3 4 5
2004-02-02  Kenichi Handa  <handa@m17n.org>

	* coding.c (coding_restore_composition): Check invalid
	composition data more rigidly.

Luc Teirlinck's avatar
Luc Teirlinck committed
6 7 8 9 10 11 12 13 14
2004-01-30  Luc Teirlinck  <teirllm@auburn.edu>

	* fileio.c (Fread_file_name_internal): Correctly handle the case
	where insert-default-directory is nil.
	(Fread_file_name): Always return an empty string if the user exits
	with an empty minibuffer.  Adapt the docstring accordingly.
	(syms_of_fileio): Adapt the docstring of insert-default-directory
	to the change in Fread_file_name.

Eli Zaretskii's avatar
Eli Zaretskii committed
15 16 17 18
2004-01-29  Eli Zaretskii  <eliz@elta.co.il>

	* alloca.c [!alloca]: Fix the prototype for xfree.

19 20 21 22 23
2004-01-29  Kenichi Handa  <handa@m17n.org>

	* fns.c (string_char_to_byte): Optimize for ASCII only string.
	(string_byte_to_char): Likewise.

Jason Rumney's avatar
Jason Rumney committed
24 25 26 27
2004-01-28  Peter Runestig  <peter@runestig.com>

	* makefile.w32-in, w32fns.c: Add `default-printer-name' function.

28 29 30 31 32
2004-01-27  Steven Tamm <steventamm@mac.com>

	* unexmacosx.c (unexec_copy): Do not copy more than was
	requested to prevent overwriting during unexec.

33 34
2004-01-27  Jan Dj,Ad(Brv  <jan.h.d@swipnet.se>

35 36
	* process.c (sigchld_handler): Add comment about not calling malloc.

37 38
	* process.h: Add extern to synch_process_termsig.

39 40 41 42 43 44 45
2004-01-27  Steven Tamm <steventamm@mac.com>

	* macterm.c (make_mac_frame, make_mac_terminal_frame): Move
	setting of scroll bars from make_mac_frame to
	make_mac_terminal_frame to prevent clobbering of
	scroll-bar-mode.

46 47 48 49 50 51 52 53 54 55 56 57
2004-01-26  Richard M. Stallman  <rms@gnu.org>

	* search.c (Freplace_match): Handle nonexistent
	back-references properly.

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

	* window.c (decode_any_window): New function.
	(Fwindow_height, Fwindow_width, Fwindow_edges)
	(Fwindow_pixel_edges, Fwindow_inside_edges)
	(Fwindow_inside_pixel_edges): Use decode_any_window.

58 59 60 61 62 63 64 65 66 67 68 69 70
2004-01-27  Jan Dj,Ad(Brv  <jan.h.d@swipnet.se>

	* process.h: synch_process_termsig new variable.

	* callproc.c: Define synch_process_termsig.
	(Fcall_process): Initiate synch_process_termsig to zero and
	check if non-zero and get signal name after subprocess has ended.

	* process.c (sigchld_handler): Set synch_process_termsig
	if terminated by a signal.  synch_process_death setting removed.

	* sysdep.c (mkdir, rmdir): Also check synch_process_termsig.

71 72 73 74 75 76 77
2004-01-26  Andreas Schwab  <schwab@suse.de>

	* print.c (print_preprocess): Declare size as EMACS_INT to not
	lose bits.
	(print_object): Likewise.
	* alloc.c (Fpurecopy): Likewise.

Luc Teirlinck's avatar
Luc Teirlinck committed
78 79 80 81
2004-01-25  Luc Teirlinck  <teirllm@auburn.edu>

	* window.c (Fwindow_minibuffer_p): Doc fix.

Jonathan Yavner's avatar
Jonathan Yavner committed
82 83 84 85
2004-01-24  Jonathan Yavner  <jyavner@member.fsf.org>

	* editfns.c (Fformat): Make both passes accept the same set of flags.

86 87 88 89 90
2004-01-23  Kenichi Handa  <handa@m17n.org>

	* fns.c (Fmd5): If OBJECT is a buffer different from the current
	one, set buffer to OBJECT temporarily.

Stefan Monnier's avatar
Stefan Monnier committed
91 92
2004-01-21  Stefan Monnier  <monnier@iro.umontreal.ca>

Stefan Monnier's avatar
Stefan Monnier committed
93 94 95 96 97 98
	* keyboard.c (kbd_buffer_gcpro): Remove.
	(kbd_buffer_store_event, clear_event, Fdiscard_input)
	(stuff_buffered_input, init_keyboard, syms_of_keyboard):
	Don't initialize and/or maintain the variable any more.  It was made
	redundant by my commit of 2003-06-15.

Stefan Monnier's avatar
Stefan Monnier committed
99 100
	* lisp.h [USE_LSB_TAG && !DECL_ALIGN]: Signal an error.

Jan Djärv's avatar
Jan Djärv committed
101 102 103 104
2004-01-21  Jan Dj,Ad(Brv  <jan.h.d@swipnet.se>

	* lisp.h: Add undef DECL_ALIGN.

Stefan Monnier's avatar
Stefan Monnier committed
105 106 107 108 109 110 111 112 113 114 115
2004-01-21  Stefan Monnier  <monnier@iro.umontreal.ca>

	* process.c (wait_reading_process_input) [SYNC_INPUT]:
	Check interrupt_input_pending explicitly.

	* lisp.h (QUIT) [SYNC_INPUT]: Check interrupt_input_pending as well.

	* keyboard.c (handle_async_input): New fun,
	extracted from input_available_signal.
	(input_available_signal, reinvoke_input_signal): Use it.

116 117
2004-01-20  Stefan Monnier  <monnier@iro.umontreal.ca>

Stefan Monnier's avatar
Stefan Monnier committed
118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135
	* buffer.c (buffer_defaults, buffer_local_symbols): Use DECL_ALIGN.

	* lisp.h [USE_LSB_TAG]: Add definitions for Lisp_Object value
	manipulation macros for when tags are in the lower bits.
	(struct Lisp_Free) [USE_LSB_TAG]: Add padding.
	(DECL_ALIGN): New macro.
	(DEFUN): Use it.

	* lisp.h [ENABLE_CHECKING]: Don't force union type.

	* s/darwin.h (__attribute__): Remove outdated workaround.

	* macterm.c (main) [USE_LSB_TAG]: Don't range check the ram.

	* alloc.c (lisp_malloc, lisp_align_malloc) [USE_LSB_TAG]:
	Don't check range of malloc address.
	(pure_alloc) [USE_LSB_TAG]: Enforce alignment.

136 137 138 139
	* process.c (wait_reading_process_input): Lisp_Object/int mixup.

	* dired.c (Ffile_attributes): Lisp_Object/int mixup.

Kenichi Handa's avatar
Kenichi Handa committed
140 141 142 143
2004-01-19  Kenichi Handa  <handa@m17n.org>

	* fontset.c (fontset_font_pattern): Fix previous change.

144 145 146 147 148 149 150 151 152
2004-01-16  Miles Bader  <miles@gnu.ai.mit.edu>

	* xdisp.c (Voverflow_newline_into_fringe)
	(move_it_in_display_line_to, redisplay_internal)
	(update_window_fringes, redisplay_window, display_line, window):
	Add `#ifdef HAVE_WINDOW_SYSTEM' around fringe-drawing stuff, so
	that it compiles without a window-system.
	* dispnew.c (direct_output_for_insert, update_window): Likewise.

Kim F. Storm's avatar
Kim F. Storm committed
153 154 155 156 157 158 159 160 161 162 163
2004-01-16  Kim F. Storm  <storm@cua.dk>

	* buffer.h (struct buffer): New member indicate_buffer_boundaries.

	* buffer.c (init_buffer_once):  Set buffer_defaults and
	buffer_local_flags for indicate_buffer_boundaries.
	(syms_of_buffer): Defvar_per_buffer it, and defvar_lisp_nopro
	default- variable for it.

	* dispextern.h (struct glyph_row): New members left_fringe_bitmap,
	right_fringe_bitmap, redraw_fringe_bitmaps_p for new fringe handling.
Stefan Monnier's avatar
Stefan Monnier committed
164
	New members exact_window_width_line_p and cursor_in_fringe_p for
Kim F. Storm's avatar
Kim F. Storm committed
165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208
	overflowing newlines into right fringe.
	New members indicate_bob_p, indicate_top_line_p, indicate_eob_p,
	and indicate_bottom_line_p for buffer boundaries and scrolling.
	(enum fringe_bitmap_type): Add UP_ARROW_BITMAP, DOWN_ARROW_BITMAP,
	FIRST_LINE_BITMAP, LAST_LINE_BITMAP, FILLED_BOX_CURSOR_BITMAP,
	HOLLOW_BOX_CURSOR_BITMAP, BAR_CURSOR_BITMAP, HBAR_CURSOR_BITMAP,
	and HOLLOW_SQUARE_BITMAP.
	(draw_fringe_bitmap, draw_window_fringes, update_window_fringes):
	Add prototypes.

	* dispnew.c (row_equal_p, update_window_line): Compare fringe bitmaps
	instead of related indicator fields.
	Compare exact_window_width_line_p and cursor_in_mouse_face_p indicators.
	(direct_output_for_insert): Handle exact width lines like
	contined lines.  Call update_window_fringes.
	(update_window): Call update_window_fringes.
	(scrolling_window): Don't skip desired rows with changed bitmaps.
	Check if fringe bitmaps changes when assigning scrolled rows.

	* xdisp.c (Voverflow_newline_into_fringe): New variable.
	(IT_OVERFLOW_NEWLINE_INTO_FRINGE): New macro.
	(move_it_in_display_line_to): Overflow newline into fringe for
	rows that are exactly as wide as the window.
	(up_arrow_bits, down_arrow_bits, first_line_bits, last_line_bits)
	(filled_box_cursor_bits, hollow_box_cursor_bits, bar_cursor_bits)
	(hbar_cursor_bits, hollow_square_bits): New fringe bitmaps.
	(fringe_bitmaps): Add new bitmaps.
	(draw_fringe_bitmap): Make extern.  Remove WHICH arg.
	Select proper bitmap for cursor in fringe when appropriate.
	Handle alignment of bitmap to top or bottom of row.
	(draw_row_fringe_bitmaps): Don't select bitmaps here; that is now
	done by update_window_fringes.
	(update_window_fringes, draw_window_fringes): New functions.
	(redisplay_internal): Call update_window_fringes in case only
	cursor row is updated.
	(redisplay_window): Call update_window_fringes.
	Explicitly call draw_window_fringes if redisplay was done using
	the current matrix or the overlay arrow is in the window.
	(try_window_reusing_current_matrix): Mark scrolled rows for
	fringe update (to update buffer-boundaries / scrolling icons).
	(find_last_unchanged_at_beg_row): Handle exact width lines line
	continued lines.
	(display_line): Overflow newline into fringe for rows that are
	exactly as wide as the window.  Don't append space for newline
Stefan Monnier's avatar
Stefan Monnier committed
209
	in this case.
Kim F. Storm's avatar
Kim F. Storm committed
210 211 212
	(notice_overwritten_cursor): Explicitly clear cursor bitmap
	in fringe as if it had been overwritten.
	(erase_phys_cursor): Erase cursor bitmap in fringe.
Stefan Monnier's avatar
Stefan Monnier committed
213
	(syms_of_xdisp): Mark show-trailing-whitespace and
Kim F. Storm's avatar
Kim F. Storm committed
214 215
	void-text-area-pointer as user options.
	DEFVAR_LISP Voverflow_newline_into_fringe.  Enable by default.
Stefan Monnier's avatar
Stefan Monnier committed
216

Kim F. Storm's avatar
Kim F. Storm committed
217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234
	* xterm.c (x_update_window_end): Call draw_window_fringes.
	(x_after_update_window_line): Just set redraw_fringe_bitmaps_p
	in row instead of actually drawing fringe bitmaps.
	(x_draw_fringe_bitmap): Handle bottom aligned bitmaps.
	(x_draw_window_cursor): Draw cursor in fringe.

	* w32term.c (x_update_window_end): Call draw_window_fringes.
	(x_after_update_window_line): Just set redraw_fringe_bitmaps_p
	in row instead of actually drawing fringe bitmaps.
	(w32_draw_fringe_bitmap): Handle bottom aligned bitmaps.
	(w32_draw_window_cursor): Draw cursor in fringe.

	* macterm.c (x_update_window_end): Call draw_window_fringes.
	(x_after_update_window_line): Just set redraw_fringe_bitmaps_p
	in row instead of actually drawing fringe bitmaps.
	(x_draw_fringe_bitmap): Handle bottom aligned bitmaps.
	(mac_draw_window_cursor): Draw cursor in fringe.

235 236 237 238 239
2004-01-16  Jan Dj,Ad(Brv  <jan.h.d@swipnet.se>

	* xterm.c (handle_one_xevent): Don't handle characters that are part
	of an old style (XLookupString) compose sequence.

240 241 242 243 244
2004-01-15  Kenichi Handa  <handa@m17n.org>

	* search.c (Freplace_match): Use make_multibyte_string or
	make_unibyte_string according to the buffer multibyteness.

Stefan Monnier's avatar
Stefan Monnier committed
245 246 247 248 249 250 251 252 253 254 255 256 257
2004-01-14  Stefan Monnier  <monnier@iro.umontreal.ca>

	* alloc.c (struct interval_block, struct string_block)
	(struct symbol_block, struct marker_block, live_string_p)
	(live_cons_p, live_symbol_p, live_float_p, live_misc_p):
	Better preserve alignment for objects in blocks.
	(FLOAT_BLOCK_SIZE): Adjust for possible alignment padding.

	* lread.c (defvar_per_buffer): Remove dead declaration.

	* macterm.c (do_check_ram_size): Don't hardcode the lisp address
	space size.

258 259 260 261 262 263 264 265 266 267
2004-01-12  Jan Dj,Ad(Brv  <jan.h.d@swipnet.se>

	* xmenu.c (popup_get_selection): Check new parameter down_on_keypress
	if a key press should pop down.  Only pop down if a key is pressed
	outside the menu/dialog.
	(create_and_show_popup_menu): Pass 0 for down_on_keypress to
	popup_get_selection.
	(create_and_show_dialog): Pass 1 for down_on_keypress to
	popup_get_selection.

268 269 270 271 272
2004-01-11  Jan Dj,Ad(Brv  <jan.h.d@swipnet.se>

	* alloc.c (allocate_vectorlike): Surround calls to mallopt with
	BLOCK/UNBLOCK_INPUT.

273 274 275 276 277
2004-01-08  Jan Dj,Ad(Brv  <jan.h.d@swipnet.se>

	* xmenu.c (Fx_popup_dialog): Add an Ok button if no buttons are
	specified.

Kenichi Handa's avatar
Kenichi Handa committed
278 279 280 281
2004-01-08  Kenichi Handa  <handa@m17n.org>

	* editfns.c (Fformat): Fix '&' to '&&'.

282 283 284 285 286
2004-01-08  Andreas Schwab  <schwab@suse.de>

	* print.c (print_preprocess) <case Lisp_Vectorlike>: Only mask
	size if PSEUDOVECTOR_FLAG is set.

287 288
2004-01-07  Kenichi Handa  <handa@m17n.org>

289 290
	* charset.c (Fdeclare_equiv_charset): Fix docstring.

291 292
	* fontset.c (fontset_ref_via_base): Fix previous change.

Kim F. Storm's avatar
Kim F. Storm committed
293 294 295 296 297
2004-01-07  Kim F. Storm  <storm@cua.dk>

	* process.c (read_process_output): Only activate adaptive
	buffering if we read less than 256 bytes at a time.

Kim F. Storm's avatar
Kim F. Storm committed
298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320
2004-01-06  Kim F. Storm  <storm@cua.dk>

	* dispnew.c (buffer_posn_from_coords): Return both buffer/string
	object and image object.  Return glyph width and height.
	(mode_line_string, marginal_area_string): Ditto.

	* dispextern.h (buffer_posn_from_coords, mode_line_string)
	(marginal_area_string): Fix prototypes.

	* keyboard.h (POSN_POSN, POSN_SET_POSN): Rename macros from
	POSN_BUFFER_POSN and POSN_SET_BUFFER_POSN. All uses changed.
	(POSN_INBUFFER_P, POSN_BUFFER_POSN): New macros.

	* keyboard.c (make_lispy_position): Use modified mode_line_string,
	buffer_posn_from_coords, and marginal_area_string functions to
	include both string object and image object in the lispy position.
	Also add actual glyph width and height to position.
	(read_key_sequence): Use real buffer position from mouse
	event to find keymap property even when click is in marginal area.

	* xdisp.c (note_mode_line_or_margin_highlight): Use modified
	mode_line_string and marginal_area_string functions to handle
	both string object and image object properties.
Stefan Monnier's avatar
Stefan Monnier committed
321

322 323 324 325 326
2004-01-06  Andreas Schwab  <schwab@suse.de>

	* syntax.c (skip_chars): Treat '-' at end of string as ordinary
	character.

327 328
2004-01-02  Andreas Schwab  <schwab@suse.de>

Stefan Monnier's avatar
Stefan Monnier committed
329 330
	* macterm.c (emacs_options, x_initialized, same_x_server):
	Remove unused (and duplicated) definitions.
331

Kim F. Storm's avatar
Kim F. Storm committed
332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357
2004-01-02  Kim F. Storm  <storm@cua.dk>

	* process.h (struct Lisp_Process): New members for adaptive read
	buffering: adaptive_read_buffering, read_output_delay, and
	read_output_skip.

	* process.c (ADAPTIVE_READ_BUFFERING): New conditional.
	(READ_OUTPUT_DELAY_INCREMENT, READ_OUTPUT_DELAY_MAX)
	(READ_OUTPUT_DELAY_MAX_MAX): New constants.
	(process_output_delay_count, process_output_skip): New vars.
	(Vprocess_adaptive_read_buffering): New variable.
	(make_process): Initialize adaptive read buffering members.
	(Fstart_process): Set adaptive_read_buffering member.
	(deactivate_process): Cleanup adaptive read buffering.
	(wait_reading_process_input): Temporarily omit delayed
	subprocesses from the set of file descriptors to read from;
	adjust the select timeout if we skipped any subprocesses.
	(read_process_output): Increase adaptive read buffering delay if
	we read less than a full buffer; reduce delay when we read a
	full buffer.
	(send_process): Simplify using local Lisp_Process var.
	Reset adaptive read buffering delay after write.
	(init_process): Initialize process_output_delay_count and
	process_output_skip.
	(syms_of_process): DEFVAR_LISP Vprocess_adaptive_read_buffering.

358 359
2004-01-01  Jason Rumney  <jasonr@gnu.org>

Stefan Monnier's avatar
Stefan Monnier committed
360
	* w32term.c (w32_text_out): Use s->font, for consistency with callers.
361

Luc Teirlinck's avatar
Luc Teirlinck committed
362 363 364 365 366 367
2003-12-30  Luc Teirlinck  <teirllm@auburn.edu>

	* print.c (Ferror_message_string): Add hyperlink in the docstring
	to the definition of `signal' in the Elisp manual.
	* eval.c (Fsignal): Ditto.

Eli Zaretskii's avatar
Eli Zaretskii committed
368 369 370 371
2003-12-29  James Clark <jjc@jclark.com>  (tiny change)

	* fns.c (internal_equal): Return t for two NaN arguments.

372 373 374 375 376 377 378 379 380 381 382 383 384
2003-12-29  Richard M. Stallman  <rms@gnu.org>

	* data.c (store_symval_forwarding): Handle setting
	default-fill-column, etc., by changing the value in
	buffers that use the default.

	* minibuf.c (Fset_minibuffer_window): Doc fix.

	* fileio.c (choose_write_coding_system): Ignore auto_saving
	if using the visited file for auto saves.
	(Fwrite_region): Don't update SAVE_MODIFF
	if auto-saving in visited file.

Kenichi Handa's avatar
Kenichi Handa committed
385 386 387 388 389 390
2003-12-29  Kenichi Handa  <handa@m17n.org>

	* dispextern.h (face_font_available_p): Extern it.

	* fontset.c (Voverriding_fontspec_alist): New variable.
	(lookup_overriding_fontspec): New function.
Stefan Monnier's avatar
Stefan Monnier committed
391
	(fontset_ref_via_base): Call lookup_overriding_fontspec if necessary.
Kenichi Handa's avatar
Kenichi Handa committed
392 393 394 395
	(fontset_font_pattern): Likewise.
	(regulalize_fontname): New function.
	(Fset_fontset_font): Call regulalize_fontname.
	(Fset_overriding_fontspec_internal): New function.
Stefan Monnier's avatar
Stefan Monnier committed
396 397
	(syms_of_fontset): Initialize and staticpro Voverriding_fontspec_alist.
	Defsubr Sset_overriding_fontspec_internal.
Kenichi Handa's avatar
Kenichi Handa committed
398 399 400

	* xfaces.c (face_font_available_p): New function.

401 402 403 404 405 406 407 408
2003-12-28  Richard M. Stallman  <rms@gnu.org>

	* buffer.c (Fother_buffer): Don't crash if BUF is nil
	or if its name is nil.

	* buffer.c (Fkill_buffer): Don't delete auto-save file
	if it's the same as the visited file.

409 410 411 412
2003-12-28  Luc Teirlinck  <teirllm@auburn.edu>

	* coding.c (Fcheck_coding_system): Doc fix.

413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453
2003-12-28  Kim F. Storm  <storm@cua.dk>

	* Makefile.in (eval.o): Depend on dispextern.h.

	* dispnew.c (buffer_posn_from_coords): Fix calculation of dy for
	image glyph using image's ascent.
	(mode_line_string): Return image glyph as object clicked on.
	Adjust y0 for image glyph using image's ascent.

	* dispextern.h (FACE_ID_BITS, MAX_FACE_ID): New defines.
	(struct glyph): New members, ascent and descent.  Used to save
	this glyph's ascent and descent, instead of having.
	(struct glyph): Declare member face_id using FACE_ID_BITS.
	(find_hot_spot): Add prototype.

	* keyboard.c (Qimage): Remove extern (now in lisp.h).
	(QCmap): Declare extern.
	(make_lispy_position): When position is inside image hot-spot,
	use hot-spot element's id as posn element.

	* lisp.h (IMAGEP): New macro to test for image object type.
	(Qimage): Declare extern.

	* macfns.c (Qimage): Remove extern (now in lisp.h).
	(valid_image_p, parse_image_spec): Use IMAGEP macro.

	* macterm.c (Qface, Qmouse_face): Remove unused externs.

	* w32fns.c (Qimage): Remove extern (now in lisp.h).
	(valid_image_p, parse_image_spec): Use IMAGEP macro.

	* w32menu.c (Qmouse_click, Qevent_kind): Remove unused externs.

	* w32term.c (Qface, Qmouse_face): Remove unused externs.

	* xdisp.c (Qarrow, Qhand, Qtext, Qpointer): New variables for
	pointer types.
	(Qrelative_width, Qalign_to): Remove unused variables.
	(Vvoid_text_area_pointer): Replace Vshow_text_cursor_in_void.
	(QCmap, QCpointer, Qrect, Qcircle, Qpoly): New variables for
	image maps.
Stefan Monnier's avatar
Stefan Monnier committed
454
	(x_y_to_hpos_vpos): Return glyph relative coordinates through
455 456 457 458 459 460 461 462 463
	new dx and dy args.
	Remove buffer_only_p arg (always 0).  Simplify code accordingly.
	(get_glyph_string_clip_rect): Draw cursor using glyph's rather
	than row's ascent and height, to get sensible height on tall rows.
	(build_desired_tool_bar_string): Remove Qimage extern.
	(get_tool_bar_item): Fix call to x_y_to_hpos_vpos.
	(produce_image_glyph): Adjust it.ascent to minimum row ascent if
	image glyph is alone on the last line.
	(append_glyph, append_composite_glyph, produce_image_glyph)
Stefan Monnier's avatar
Stefan Monnier committed
464
	(append_stretch_glyph): Set glyph's ascent and descent.
465
	(on_hot_spot_p): New function to check if position is inside an
Stefan Monnier's avatar
Stefan Monnier committed
466
	rectangular, circular, or polygon-shaped image hot-spot,
467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489
	(find_hot_spot): New function to search for image hot-spot.
	(Flookup_image_map): New defun to search for image hot-spot.
	(define_frame_cursor1): New aux function to determine frame pointer.
	(note_mode_line_or_margin_highlight, note_mouse_highlight):
	Handle `pointer' text property and :pointer image property to
	control frame pointer shape.  Detect image hot-spots for pointer
	and help_echo properties.  Use define_frame_cursor1.
	(note_mouse_highlight):	Use Vvoid_text_area_pointer.
	(syms_of_xdisp): Defsubr new defun. Intern and staticpro new variables.
	DEFVAR_LISP Vvoid_text_area_pointer instead of Vshow_text_cursor_in_void.

	* xfaces.c (cache_face): Abort if c->size exceeds MAX_FACE_ID.

	* xfns.c (x_set_mouse_color): Remove bogus x_check_errors call.
	(Qimage): Remove extern (now in lisp.h).
	(valid_image_p, parse_image_spec): Use IMAGEP macro.

	* xmenu.c (show_help_event): Remove unused code.

	* xterm.c (Qface, Qmouse_face): Remove unused externs.
	(x_draw_hollow_cursor): Draw cursor using glyph's rather than
	row's ascent and descent, to get a sensible height on tall rows.

Luc Teirlinck's avatar
Luc Teirlinck committed
490 491 492 493
2003-12-25  Luc Teirlinck  <teirllm@auburn.edu>

	* minibuf.c (Fcompleting_read): Undo previous change.

494 495 496 497 498
2003-12-25  Lars Hansen <larsh@math.ku.dk>

	* dired.c (Fdirectory_files, Fdirectory_files_and_attributes):
	Arguments GCPRO'ed in call to file name handler.

499 500 501 502 503
2003-12-25  Thien-Thi Nguyen  <ttn@gnu.org>

	* termcap.c (tgetst1): Scan for "%pN"; if all
	N are continuous in [1,9], remove all "%pN".

504 505
2003-12-24  Jan Dj,Ad(Brv  <jan.h.d@swipnet.se>

506 507
	* gtkutil.c (xg_frame_set_char_size): Call x_wm_set_size_hint.

508 509 510
	* xfaces.c (lface_fully_specified_p): Take into account that
	MAC OS always have unspecified stipple.

Thien-Thi Nguyen's avatar
Thien-Thi Nguyen committed
511 512 513 514 515
2003-12-24  Thien-Thi Nguyen  <ttn@gnu.org>

	* tparam.c (tparam1): Add handling for `%pN', which
	means use param N for the next substitution.

516 517 518 519 520 521
2003-12-24  Thien-Thi Nguyen  <ttn@gnu.org>

	* xfaces.c (Fcolor_gray_p): Fix omission bug:
	In case `frame' is nil, consult the selected frame.
	(Fcolor_supported_p): Likewise.

522 523
2003-12-23  Luc Teirlinck  <teirllm@auburn.edu>

Luc Teirlinck's avatar
Luc Teirlinck committed
524 525
	* fns.c (Frandom, Fstring_make_multibyte, Fset_char_table_range):
	Doc fixes.
526 527 528

	* minibuf.c (read_minibuf): Allow INITIAL to be a cons of a string
	and an integer.  Adapt the introductory comment accordingly.
529 530 531 532 533
	(Fread_from_minibuffer): Delete code moved into read_minibuf.
	Doc fix.
	(Fread_minibuffer, Fread_no_blanks_input): Adapt to changes in
	read_minibuf.
	(Fcompleting_read): Delete code moved into read_minibuf.
Stefan Monnier's avatar
Stefan Monnier committed
534
	(Ftest_completion): Make it handle obarrays and hash tables correctly.
535

Kenichi Handa's avatar
Kenichi Handa committed
536 537 538 539 540
2003-12-03  Kenichi Handa  <handa@m17n.org>

	* coding.c (decode_coding_iso2022): Fix for preserving UTF-8
	encoding sequence.

Kenichi Handa's avatar
Kenichi Handa committed
541 542 543 544 545
2003-12-01  Kenichi Handa  <handa@m17n.org>

	* composite.c (syms_of_composite): Don't make the compostion hash
	table week.

Luc Teirlinck's avatar
Luc Teirlinck committed
546 547 548 549 550 551
2003-11-30  Luc Teirlinck  <teirllm@auburn.edu>

	* intervals.h: Add EXFUN for Fget_char_property_and_overlay.
	* textprop.c (Fget_char_property_and_overlay): New function.
	(syms_of_textprop): Defsubr it.

552 553
2003-11-29  Jan Dj,Ad(Brv  <jan.h.d@swipnet.se>

554 555 556
	* dispnew.c (buffer_posn_from_coords): Add ifdef HAVE_WINDOW_SYSTEM
	to compile on terminal configuration.

557 558 559 560 561 562
	* fileio.c (Fread_file_name): Check use_file_dialog also before
	calling Fx_file_dialog.

	* fns.c: use_file_dialog: New variable.
	(syms_of_fns): DEFVAR_BOOL use-file-dialog.

563 564 565 566 567
2003-11-29  Kim F. Storm  <storm@cua.dk>

	* msdos.c (Qcursor_type, Qbar, Qhbar): Declare extern.
	(syms_of_msdos): Don't intern and staticpro them.

Kim F. Storm's avatar
Kim F. Storm committed
568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619
2003-11-27  Kim F. Storm  <storm@cua.dk>

	* dispnew.c (buffer_posn_from_coords): Calculate and return pixel
	coordinates relative to glyph at posn.  If glyph is an image,
	return that as object at posn.  Callers changed.
	(mode_line_string, marginal_area_string): Calculate and return
	pixel coordinates relative to glyph.  Callers changed.

	* dispextern.h (buffer_posn_from_coords, mode_line_string)
	(marginal_area_string): Fix prototypes.
	(window_box_left_offset, window_box_right_offset): Add prototypes.

	* frame.h (get_specified_cursor_type, get_window_cursor_type):
	Remove prototypes.

	* keyboard.h (EVENT_CLICK_COUNT, POSN_SCROLLBAR_PART): Fix defines.

	* keyboard.c (make_lispy_position): Add x and y coordinates
	relative to the current glyph as 7th element of position.
	If glyph is an image, return it in the object element.
	(read_key_sequence): Skip checks for keymap property in cases
	where POSN_STRING is not a string (e.g. an image).

	* xdisp.c (Vdisplay_pixels_per_inch): New variable.
	(Vshow_text_cursor_in_void): New variable.
	(glyph_to_pixel_coords): Don't use negative hpos.
	(x_y_to_hpos_vpos): Fix for partially visible first glyph.
	(append_stretch_glyph): Change ascent arg to be actual value
	in pixels rather than ratio to height. Callers changed.
	(calc_pixel_width_or_height): New aux function, implementing
	pixel based artihmetic for glyph widths and heights.
	(produce_stretch_glyph): Use calc_pixel_width_or_height for
	:width, :height, :align-to, and :ascent, thus allowing these to
	be specified in pixels as well as multiples of characters.
	Don't produce stretch glyphs with zero width or height.
	(get_specified_cursor_type): Declare static.
	(get_window_cursor_type): Declare static.  Add glyph arg to be
	able to know when cursor is on an image; always substitute
	hollow-box cursor for filled-box cursor on images, to avoid
	negative images and flicker when blinking the cursor.
	(display_and_set_cursor): Pass glyph to	get_window_cursor_type.
	(note_mode_line_or_margin_highlight): Use non-text cursor rather
	than vertical scroll-bar cursor in display margins.
	(note_mouse_highlight): Use non-text cursor rather than text
	cursor in fringes and over images in the text area.
	Use non-text cursor when mouse pointer is outside editable text,
	i.e. in the void after end-of-line or end-of-buffer; this was
	already done for W32, but is now standard for all systems --
	user can toggle show-text-cursor-in-void to get old behaviour.
	(syms_of_xdisp): DEFVAR_LISP Vshow_text_cursor_in_void and
	Vdisplay_pixels_per_inch.

620 621 622 623 624 625
2003-11-25  Andreas Schwab  <schwab@suse.de>

	* fns.c (internal_equal) <case Lisp_Vectorlike>: Declare size as
	EMACS_INT to not lose bits.
	(Ffillarray): Don't set bits beyond the size of a bool vector.

Kim F. Storm's avatar
Kim F. Storm committed
626 627 628 629 630
2003-11-25  Kim F. Storm  <storm@cua.dk>

	* print.c (Fredirect_debugging_output) [!GNU_LINUX]: Do not
	define this defun on systems that cannot use stderr as lvalue.

Gerd Moellmann's avatar
Gerd Moellmann committed
631 632 633 634 635 636
2003-11-24  Gerd Moellmann  <gerd@gnu.org>

	* s/freebsd.h (LD_SWITCH_SYSTEM_TEMACS)
	[__FreeBSD_version >= 500042]: Define as -znocombreloc because
	ld's default is incompatible with unexec.

637 638
2003-11-23  Kim F. Storm  <storm@cua.dk>

Kim F. Storm's avatar
Kim F. Storm committed
639 640 641 642 643 644
	* window.c (enum window_loop): Add REDISPLAY_BUFFER_WINDOWS.
	(window_loop): Handle REDISPLAY_BUFFER_WINDOWS.
	(Fforce_window_update): New defun.
	(syms_of_window): Defsubr it.
	(Fset_window_margins, Fset_window_fringes): Doc fix.

645 646 647
	* print.c (Fredirect_debugging_output): New defun.
	(syms_of_print): Defsubr it.

Luc Teirlinck's avatar
Luc Teirlinck committed
648 649 650 651
2003-11-22  Luc Teirlinck  <teirllm@auburn.edu>

	* fns.c (Fset_char_table_parent): Doc fix.

652
2003-11-22  Kim F. Storm  <storm@cua.dk>
653 654 655 656 657 658 659

	* dispnew.c (buffer_posn_from_coords): Return actual row/column
	for glyph clicked on, rather than (unused) pixel positions.
	(mode_line_string, marginal_area_string): Change X and Y args to
	pointers for returning actual row/column for glyph clicked on.
	Simplify and optimize loops.

Luc Teirlinck's avatar
Luc Teirlinck committed
660 661
	* dispextern.h (mode_line_string, marginal_area_string):
	Update prototypes.
662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682

	* keyboard.c (make_lispy_position): New function for generating
	mouse click positions from frame and pixel coordinates.
	Enhanced to return buffer position and actual row/column for
	events outside the text area using updated mode_line_string and
	marginal_area_string functions.
	Return left-fringe and right-fringe clicks as such, rather than
	clicks in text area.
	(make_lispy_event) [USE_X_TOOLKIT, USE_GTK]: Don't call
	pixel_to_glyph_coords, as we never use the results.
	(make_lispy_event): Use make_lispy_position for MOUSE_CLICK_EVENT,
	WHEEL_EVENT, and DRAG_N_DROP_EVENT to replace redundant code.
	Eliminate unused code in WHEEL_EVENT handling.
	(make_lispy_movement): Use make_lispy_position.

	* window.c (coordinates_in_window): Remove redundant tests.
	Fix returned X pixel value for left-margin.

	* xdisp.c (note_mode_line_or_margin_highlight): Adapt to new
	mode_line_string and marginal_area_string parameters.

Lars Hansen's avatar
Lars Hansen committed
683 684
2003-11-22  Lars Hansen <larsh@math.ku.dk>

Stefan Monnier's avatar
Stefan Monnier committed
685 686
	* w32.c (struct the_group, getgrgid): Add.
	* mac.c (struct my_group, getgrgid): Add.
Luc Teirlinck's avatar
Luc Teirlinck committed
687

Luc Teirlinck's avatar
Luc Teirlinck committed
688 689 690 691
2003-11-21  Luc Teirlinck  <teirllm@auburn.edu>

	* fns.c (Fassq, Fassoc, Frassq, Frassoc): Doc fixes.

Lars Hansen's avatar
Lars Hansen committed
692
2003-11-21  Lars Hansen  <larsh@math.ku.dk>
Luc Teirlinck's avatar
Luc Teirlinck committed
693

Stefan Monnier's avatar
Stefan Monnier committed
694 695 696 697 698 699 700 701 702 703 704 705 706
	* dired.c (Ffile_attributes): Add parameter ID-FORMAT and
	include in call to file name handler.  Optionally translate numeric
	UID and GID to strings.  Update docstring.
	(directory_files_internal): Add parameter ID-FORMAT.
	(Fdirectory_files_and_attributes): Add parameter ID-FORMAT and
	include in call to file name handler and call to
	directory_files_internal.  Update Docstring.
	(Fdirectory_files): Add dummy parameter in call to
	directory_files_internal.
	* lisp.h (Qinteger): Add.
	(Qinteger_or_floatp, Qinteger_or_float_or_marker_p): Remove.
	(Ffile_attributes): Add parameter.
	* data.c (Qinteger): Export.
Lars Hansen's avatar
Lars Hansen committed
707

Luc Teirlinck's avatar
Luc Teirlinck committed
708 709
2003-11-21  Luc Teirlinck  <teirllm@auburn.edu>

Luc Teirlinck's avatar
Luc Teirlinck committed
710
	* fns.c (Freverse, Fnreverse): Doc fixes.
Luc Teirlinck's avatar
Luc Teirlinck committed
711

Kim F. Storm's avatar
Kim F. Storm committed
712 713 714 715 716 717 718 719 720 721 722 723 724 725 726
2003-11-19  Kim F. Storm  <storm@cua.dk>

	* xdisp.c (init_iterator): Initialize it->start to position
	before reseating (in case start position is invisible).
	(init_to_row_start): Set it->start to row-start.
	(redisplay_window): Accept optional_new_start if start position
	is invisible (in which case IT_CHARPOS overshoots PT).
	(display_line): Setup row->start from it->start (rather than
	it->current which is wrong if first char on line is invisible).
	When done, reseat it->start to it->current (= start of next row).
	(expose_area): Fix exposure of text area when first char (e.g. TAB)
	is only partially visible.

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

727 728
2003-11-17  Stefan Monnier  <monnier@iro.umontreal.ca>

Stefan Monnier's avatar
Stefan Monnier committed
729 730 731 732 733 734 735
	* alloc.c (make_float, Fcons): Clear the markbit at init time.
	(make_float, Fcons, Fmake_symbol, allocate_misc): Move the increment
	of block_index outside of the macro call.
	(Fgarbage_collect): Remove null code.

	* m/amdx86-64.h: Don't redefine XPNTR.

736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754
	* keyboard.c (parse_modifiers, apply_modifiers): Use INTMASK instead
	of VALMASK.

	* fns.c (hashfn_eq, hashfn_eql, hashfn_equal, hash_put)
	(sxhash_string, sxhash): Use INTMASK instead of VALMASK.
	(maybe_resize_hash_table): Use MOST_POSITIVE_FIXNUM.

	* lisp.h (VALMASK): Only define for non-union type.
	(MARKBIT): Remove.
	(ARRAY_MARK_FLAG): Use previous value of MARKBIT.
	(XTYPE): Define unconditionally.
	(XSETTYPE): Remove one more remnant.
	(EQ): Define differently for the union and non-union cases.
	(INTMASK): New bit mask.
	(struct Lisp_Marker): Move down to prepare for upcoming patch.
	(GC_EQ): Delegate to EQ.

	* coding.c (coding_restore_composition): Lisp_Object/int mixup.

755 756 757 758 759
2003-11-17  Jan Dj,Ad(Brv  <jan.h.d@swipnet.se>

	* xterm.c (x_window_to_scroll_bar): Move check of display to
	where window_id is compared.

Kim F. Storm's avatar
Kim F. Storm committed
760 761 762 763 764 765 766 767
2003-11-17  Kim F. Storm  <storm@cua.dk>

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

	* xdisp.c (start_display): Set it->first_vpos.
	(try_window_id): Use first_vpos to start display in first _text_
	line if no reusable lines at start of window with header line.

768 769
2003-11-16  Jan Dj,Ad(Brv  <jan.h.d@swipnet.se>

770
	* w32fns.c (XPutPixel):
771 772 773 774 775 776
	* w32bdf.c (w32_init_bdf_font):
	* sunfns.c (sel_read):
	* process.c (Fmake_network_process):
	* frame.c (store_frame_param):
	* fontset.c (Fset_fontset_font):
	* emacs.c (shut_down_emacs):
777 778
	* ccl.c (ccl_driver):  Remove period at end of error message.

Jan Djärv's avatar
Jan Djärv committed
779 780
	* config.in: Regenerate.

781 782 783 784 785 786 787 788 789 790 791 792 793
	* xfns.c (x_window_to_frame, x_any_window_to_frame)
	(x_non_menubar_window_to_frame, x_menubar_window_to_frame)
	(x_top_window_to_frame): Add Display* argument to xg_win_to_widget.
	(x_create_bitmap_mask, xg_set_icon, create_frame_xic)
	(xic_set_statusarea, x_window, gif_load): Formatting adjustments.

	* xterm.h (struct x_display_info): New field xg_cursor for GTK.

	* xterm.c: Add Display * to x_window_to_scroll_bar declaration.
	(XTmouse_position, handle_one_xevent): Pass Display* to
	x_window_to_scroll_bar.
	(x_window_to_scroll_bar): Take a Display* argument.
	Check that display for frame is equal to Display* argument.
794
	(event_handler_gdk): Remove current_dpyinfo.  Get dpyinfo from
795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813
	x_display_info_for_display instead.  Use Display in xev instead
	of GDK_DISPLAY.
	(x_dispatch_event): Call x_display_info_for_display.
	(XTread_socket): Move GTK part out of loop. current_dpyinfo removed.
	(x_connection_closed): Call xg_display_close for GTK.
	(x_term_init): Call xg_display_open for additional displays.
	Initiate dpyinfo->xg_cursor with call to xg_create_default_cursor
	for GTK.

	* xmenu.c (single_menu_item, mouse_position_for_popup)
	(x_activate_menubar): Formatting adjustments.

	* xdisp.c (update_tool_bar, redisplay_tool_bar): Formatting
	adjustments.

	* gtkutil.c (xg_get_gdk_display, xg_set_screen, xg_display_open)
	(xg_display_close, xg_create_default_cursor)
	(xg_get_gdk_pixmap_and_mask): New functions for multiple display
	handling.
814 815
	(xg_left_ptr_cursor): Remove.
	(xg_set_cursor): Change cursor to GdkCursor*.  Do not create
816 817 818 819 820 821 822 823 824
	cursor here.
	(xg_win_to_widget): Take Display* argument, call
	gdk_xid_table_lookup_for_display.
	(xg_create_frame_widgets, xg_get_file_name, create_menus)
	(xg_create_widget, xg_modify_menubar_widgets): Call xg_set_screen.
	(xg_create_widget, xg_create_scroll_bar): Use xg_cursor
	in FRAME_X_DISPLAY_INFO.
	(xg_get_scroll_id_for_window): Take Display* argument.
	(update_frame_tool_bar): Call xg_get_gdk_pixmap_and_mask.
825
	(xg_initialize): Remove xg_left_ptr_cursor.
826 827 828 829 830

	* gtkutil.h: xg_get_scroll_id_for_window, xg_win_to_widget takes
	Display* argument also.  Declare xg_display_open,
	xg_display_close, xg_create_default_cursor.

831 832 833 834 835
2003-11-14  Jan Dj,Ad(Brv  <jan.h.d@swipnet.se>

	* xterm.c (x_detect_focus_change): Do not change focus frame for
	Enter/LeaveNotify if the current focus frame has explicit focus.

Kim F. Storm's avatar
Kim F. Storm committed
836 837 838 839
2003-11-14  Kim F. Storm  <storm@cua.dk>

	* dispnew.c (update_text_area): Fix redisplay error when hscroll
	is active and first glyph is only partially visible.
840

841 842 843 844 845 846 847 848
2003-11-13  Kenichi Handa  <handa@m17n.org>

	* xdisp.c (select_frame_for_redisplay): New function.
	(redisplay_internal): Record also selected_frame for
	unwind_redisplay.  Call select_frame_for_redisplay before
	redrawing each frame.
	(unwind_redisplay): Argument changed to a cons.

Luc Teirlinck's avatar
Luc Teirlinck committed
849 850 851 852
2003-11-12  Luc Teirlinck  <teirllm@auburn.edu>

	* fns.c (Fstring_to_multibyte): Doc fix.

Kenichi Handa's avatar
Kenichi Handa committed
853 854 855 856
2003-11-11  Kenichi Handa  <handa@m17n.org>

	* xterm.c (x_list_fonts): Fix excluding of auto-scaled fonts.

857 858 859 860 861
2003-11-09  Jan Dj,Ad(Brv  <jan.h.d@swipnet.se>

	* xfns.c (x_window): Set XtNx and XtNy in shell widget for
	program specified positions.

862 863 864 865
2003-11-08  Jan Dj,Ad(Brv  <jan.h.d@swipnet.se>

	* xterm.c (XAW_ARROW_SCROLLBARS): Define it for Xaw 1.5E.

Kenichi Handa's avatar
Kenichi Handa committed
866 867 868 869 870
2003-11-08  Kenichi Handa  <handa@m17n.org>

	* Makefile.in (lisp): Add kannada.el.
	(shortlisp): Likewise.

871 872
2003-11-07  Kenichi Handa  <handa@m17n.org>

873 874
	* coding.c (coding_allocate_composition_data):
	Reset coding->composing to COMPOSITION_NO.
875 876 877
	(coding_restore_composition): Detect invalid composition data.
	Give Fstring and Fvector a Lispy integer, not C int.

878 879 880 881 882 883 884 885 886 887 888
2003-11-05  Stefan Monnier  <monnier@iro.umontreal.ca>

	* floatfns.c (Flogb): Don't use VALMASK.

	* m/amdx86-64.h (VALBITS, XINT, XUINT): Remove.
	* m/ia64.h (VALBITS, XINT, XUINT): Remove.

	* lisp.h (XINT): Move the cast to clarify what is going on.
	(GCTYPEMASK, XSETTYPE): Remove.
	(XGCTYPE): Make it an alias of XTYPE.

889 890 891 892
2003-11-03  Jan Dj,Ad(Brv  <jan.h.d@swipnet.se>

	* xterm.c (x_term_init): Fix formatting.

893 894 895 896 897 898 899 900 901 902
2003-11-02  Jan Dj,Ad(Brv  <jan.h.d@swipnet.se>

	* gtkutil.h: Declare xg_have_tear_offs, remove xg_keep_popup
	and xg_did_tearoff.

	* gtkutil.c: Remove variable xg_did_tearoff.
	(xg_have_tear_offs): New function.
	(tearoff_remove): Just decrease xg_detached_menus.
	(tearoff_activate): Increase xg_detached_menus and call
	tearoff_remove when tearoff is removed.
903
	(xg_keep_popup): Remove function.
904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919
	(create_menus): Give add_tearoff_p as argument to recursive
	call to create_menus.
	(xg_create_widget): Use variables instead of multiple
	strcmp.  Tell create_menus to create tear off only for
	menu bar menus.
	(xg_update_menubar): Change title for a detached menu also.
	(xg_modify_menubar_widgets): Always call xg_update_menubar, regardless
	of deep_p.
	(xg_initialize): Initialize xg_detached_menus, remove
	initialization of xg_did_tearoff.

	* xmenu.c (set_frame_menubar): For GTK, set deep_p if
	xg_have_tear_offs returns non-zero.
	(create_and_show_popup_menu): Remove setting of xg_did_tearoff and
	call to xg_keep_popup.

920 921 922 923
2003-11-01  Andrew Choi  <akochoi@shaw.ca>

	* macterm.c (XTread_socket): Handle menubar selection and grow
	window only for mouseDown events.
924

925 926 927 928 929
2003-10-31  Jan Dj,Ad(Brv  <jan.h.d@swipnet.se>

	* xterm.c (x_term_init): For GTK part, increase x_initialized
	to check for more than one display.  Use error instead of return 0.

930 931
2003-10-31  Andrew Choi  <akochoi@shaw.ca>

932
	* unexmacosx.c (unrelocate): New function (contributed by Nozomu Ando).
933 934
	(copy_dysymtab): Call it.

Luc Teirlinck's avatar
Luc Teirlinck committed
935 936 937 938
2003-10-31  Luc Teirlinck  <teirllm@auburn.edu>

	* eval.c (Fdefvaralias): Doc fix.

Luc Teirlinck's avatar
Luc Teirlinck committed
939
2003-10-26  Luc Teirlinck  <teirllm@auburn.edu>
Luc Teirlinck's avatar
Luc Teirlinck committed
940 941 942

	* data.c (Fsetplist): Doc fix.

Lute Kamstra's avatar
Lute Kamstra committed
943 944 945
2003-10-14  Lute Kamstra  <lute@gnu.org>

	* window.c (Fset_window_fringes): Clarify docstring.
Kim F. Storm's avatar
Kim F. Storm committed
946

Lute Kamstra's avatar
Lute Kamstra committed
947
2003-10-14  Kim F. Storm  <storm@cua.dk>
948

Kim F. Storm's avatar
Kim F. Storm committed
949 950
	* window.c (Fset_window_margins): Simplify arg checking.

951 952 953 954 955 956 957 958 959 960 961 962
2003-10-13  Richard M. Stallman  <rms@gnu.org>

	* regex.c (MAX_BUF_SIZE): Reduce to 2**15.
	(print_partial_compiled_pattern): Replace assert with a printout.
	(skip_noops, mutually_exclusive_p): Change args, values to re_char *.

	* alloc.c (lisp_align_malloc): If BASE is 0, call memory_full.

	* window.c (Fset_window_margins): Allow only integers as args.
	(syms_of_window) <special-display-buffer-names, special-display-regexps>:
	Doc fixes.

Lute Kamstra's avatar
Lute Kamstra committed
963 964 965 966
2003-10-13  Lute Kamstra  <lute@gnu.org>

	* window.c (Fset_window_fringes): Elaborate docstring.

967 968
2003-10-12  Andrew Choi  <akochoi@shaw.ca>

969
	* macterm.c (XTread_socket): Call DragWindow only for mouseDown events.
970

971 972
	* s/darwin.h (GC_MARK_STACK): Define.

973 974 975 976 977 978
2003-10-12  Jan Dj,Ad(Brv  <jan.h.d@swipnet.se>

	* window.c (shrink_windows): New function.
	(size_window): Call shrink_windows to calculate window sizes when
	shrinking frame with more than one window.

Kim F. Storm's avatar
Kim F. Storm committed
979 980 981 982
2003-10-12  Kim F. Storm  <storm@cua.dk>

	* xdisp.c (compute_fringe_widths): Doc fix.

983 984
2003-10-08  Kenichi Handa  <handa@m17n.org>

985
	* coding.c (Fcoding_system_p): Return t for auto-loading coding system.
986

Kenichi Handa's avatar
Kenichi Handa committed
987 988 989 990 991 992 993
2003-10-07  Kenichi Handa  <handa@m17n.org>

	* coding.c (Qcoding_system_define_form): New variable.
	(syms_of_coding): Intern and staticpro it.
	(Fcheck_coding_system): Try to autoload the definition of
	CODING-SYSTEM.

Luc Teirlinck's avatar
Luc Teirlinck committed
994 995 996 997
2003-10-05  Luc Teirlinck  <teirllm@auburn.edu>

	* fns.c (Frequire): Doc fix.

998 999
2003-10-05  Jan Dj,Ad(Brv  <jan.h.d@swipnet.se>

1000 1001
	* xfns.c (Fx_send_client_event): New function as a base for
	manipulating extended window manager hints.
1002
	(Fx_send_client_event): Remove unused variable s.
1003

1004 1005 1006 1007 1008 1009 1010 1011 1012
	* w32term.c (w32_read_socket): Remove call to x_check_fullscreen_move,
	that function is removed.

	* xterm.c (x_set_offset): Use move_offset_left/top instead of
	x/y_pixels_outer_diff.
	(x_check_expected_move): Calculate move_offset_left/top.

	* xterm.h (struct x_output): New members: move_offset_top/left.

1013
	* frame.c (x_set_frame_parameters): Remove x_fullscreen_move,
1014 1015 1016 1017
	call x_set_offset directly.

	* frame.h (enum): FULLSCREEN_MOVE_WAIT removed.

1018 1019 1020 1021 1022
	* frame.c (Fdelete_frame): Free decode_mode_spec_buffer.

	* xterm.c (x_delete_display): Free font names and font_encoder
	in dpyinfo->font_table.

1023 1024
	* xfns.c (Fx_close_connection): Only call XFreeFont here.
	Move xfree of font names to x_delete_display.
1025

1026 1027 1028 1029 1030 1031
	* xterm.h (struct x_display_info): New member, wm_type.
	(struct x_output): New members, expected_top/left and
	check_expected_move.

	* xterm.c (handle_one_xevent): Reset wm_type when ReparentNotify
	is received.
1032 1033
	(handle_one_xevent): Rename x_check_expected_move from
	x_check_fullscreen_move.
1034 1035
	(x_set_offset): Only add WM decoration sizes to	modified_top/left
	for X_WMTYPE_A.  Set check_expected_move when WM type is unknown.
1036
	(x_check_expected_move): Rename from x_check_fullscreen_move.
1037 1038 1039 1040 1041 1042 1043
	Removed fullscreen specific code.  Use check_expected_move,
	expected_left/top instead.  Also, set wm_type.
	(x_term_init): Initialize wm_type to unknown.

	* frame.c (x_fullscreen_move): Remove addition of WM decoration
	sizes to move_x/y.

1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057
2003-10-03  Kenichi Handa  <handa@m17n.org>

	* macterm.c (x_load_font): Clear all members of FONTP before start
	filling them.

2003-10-02  Kenichi Handa  <handa@m17n.org>

	* fontset.c (fs_load_font): Don't set fontp->font_encoder to NULL
	before calling find_ccl_program_func.  Call find_ccl_program_func
	only when fontp->font_encoder is not NULL.

	* xterm.c (x_load_font): Clear all members of FONTP before start
	filling them.

1058 1059 1060 1061
2003-10-03  John Paul Wallington  <jpw@gnu.org>

	* keymap.c (map_keymap): Don't abort when binding is a vector.

1062 1063
2003-10-02  Jason Rumney  <jasonr@gnu.org>

1064 1065
	* makefile.w32-in (emacs.o, coding.o, bytecode.o):
	Sync dependencies with Makefile.in.
1066 1067
	(alloca.o): Remove.

1068 1069 1070 1071 1072
	* w32fns.c (w32_load_system_font): Clear all members of FONTP before
	filling them.

	* w32bdf.c (w32_load_bdf_font): Likewise.

1073 1074 1075 1076 1077
2003-09-30  Richard M. Stallman  <rms@gnu.org>

	* term.c (set_tty_color_mode): Calculate current_mode_spec
	regardless of value of VAL.

1078
	* intervals.c (graft_intervals_into_buffer):
1079 1080 1081 1082 1083 1084 1085
	Set BUF_INTERVALS (buffer)->up_obj when appropriate.
	Handle over_used when splitting UNDER.

2003-09-30  YAMAMOTO  Mitsuharu <mituharu@math.s.chiba-u.ac.jp>

	* regex.c (regex_compile): Free the stack when returning from function.

Kenichi Handa's avatar
Kenichi Handa committed
1086 1087 1088 1089 1090
2003-09-28  Kenichi Handa  <handa@m17n.org>

	* fontset.c (Finternal_char_font): Change return value to
	cons (FONT-NAME . GLYPH-CODE).

1091 1092 1093 1094
2003-09-28  Eli Zaretskii  <eliz@elta.co.il>

	* term.c (tty_setup_colors): Treat any negative argument as -1.

Kenichi Handa's avatar
Kenichi Handa committed
1095 1096 1097 1098
2003-09-27  Gaute B Strokkenes  <biggaute@uwc.net>  (tiny change)

	* process.c (send_process): Delete unused temp_buf.

Dave Love's avatar
Dave Love committed
1099 1100 1101 1102
2003-09-26  Dave Love  <fx@gnu.org>

	* xterm.c (x_bitmap_mask): Declare.

Dave Love's avatar
Dave Love committed
1103 1104 1105 1106
2003-09-25  Dave Love  <fx@gnu.org>

	* Makefile.in (fns.o): Depend on md5.h.

Kim F. Storm's avatar
Kim F. Storm committed
1107 1108 1109 1110 1111
2003-09-25  Kim F. Storm  <storm@cua.dk>

	* window.c (set_window_buffer): Fix redisplay problems when
	switching between buffers with different display margin widths.

Kim F. Storm's avatar
Kim F. Storm committed
1112 1113 1114 1115 1116 1117 1118
2003-09-23  Kim F. Storm  <storm@cua.dk>

	* process.c (set_socket_option): Fix :bindtodevice option.
	(Fset_network_process_option): Update process contact list when
	setting option succeeds.
	(Fmake_network_process): Doc fix.

Dave Love's avatar
Dave Love committed
1119 1120
2003-09-23  Dave Love  <fx@gnu.org>

Stefan Monnier's avatar
Stefan Monnier committed
1121
	* process.c (Fnetwork_interface_info): Use HAVE_STRUCT_IFREQ... macros.
Dave Love's avatar
Dave Love committed
1122

Eli Zaretskii's avatar
Eli Zaretskii committed
1123 1124 1125 1126 1127
2003-09-22  Eli Zaretskii  <eliz@elta.co.il>

	* term.c (set_tty_color_mode): Use INTEGERP to test whether a
	color mode is an integer number (it could be -1).

1128 1129 1130 1131 1132
2003-09-22  Richard M. Stallman  <rms@gnu.org>

	* intervals.c (graft_intervals_into_buffer): Correct the main loop
	in the case where OVER is longer than UNDER.

1133 1134
2003-09-22  Masatake YAMATO  <jet@gyve.org>

Stefan Monnier's avatar
Stefan Monnier committed
1135
	* window.c (Fset_window_scroll_bars): Validate the value of
1136
	`vertical_type'.
Stefan Monnier's avatar
Stefan Monnier committed
1137

1138 1139 1140 1141 1142 1143 1144
2003-09-21  Kim F. Storm  <storm@cua.dk>

	* frame.c (Vdefault_frame_scroll_bars): New variable.
	(x_set_vertical_scroll_bars): Use it instead of hardcoded values.
	(syms_of_frame): DEFVAR_LISP it, and initialize according to
	window-system default scroll bar position.

Kim F. Storm's avatar
Kim F. Storm committed
1145 1146
	* window.c (Fwindow_scroll_bars): Doc fix.

1147 1148
2003-09-19  Jan Dj,Ad(Brv  <jan.h.d@swipnet.se>

1149
	* xterm.c (x_set_offset): Take window manager decorations into account.
1150

1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162
2003-09-19  Richard M. Stallman  <rms@gnu.org>

	* atimer.h: Don't include lisp.h.
	(P_): Define it here (as well as elsewhere).

	* print.c (Fprin1_to_string): Move the PRINTPREPARE
	later, so that PRINTFINISH won't unbind Qinhibit_modification_hooks.

	* data.c (Fvariable_binding_locus): New function.
	(syms_of_data): defsubr it.
	(Flocal_variable_p): Delete duplicate call to indirect_variable.

1163 1164
2003-09-18  Dave Love  <fx@gnu.org>

1165 1166
	* alloc.c (GC_MALLOC_CHECK): Move conditional undef after lisp.h.

1167 1168 1169 1170
	* process.c (Fnetwork_interface_info): Fix type error.
	(Fnetwork_interface_list): Doc fix.
	(read_process_output, read_process_output): Delete unused var.

1171 1172 1173 1174 1175 1176 1177 1178 1179 1180
2003-09-17  Kim F. Storm  <storm@cua.dk>

	* process.c (Fnetwork_interface_list, Fnetwork_interface_info):
	Require HAVE_NET_IF_H and HAVE_SYS_IOCTL_H to include these fns.
	(Fnetwork_interface_info): Check that ifreq struct has required
	fields before accessing them; this requires that those fields are
	defined as macros, which may be too restrictive on some platforms,
	but it is better than failing on other platforms.
	(syms_of_process): Only defsubr above fns when included.

Dave Love's avatar
Dave Love committed
1181 1182 1183 1184
2003-09-17  Dave Love  <fx@gnu.org>

	* unexalpha.c: Don't include varargs.h.

Kim F. Storm's avatar
Kim F. Storm committed
1185 1186 1187 1188 1189 1190 1191 1192 1193
2003-09-17  Kim F. Storm  <storm@cua.dk>

	* process.c (Fset_process_sentinel): Add sentinel to childp plist
	for network process.
	(socket_options): Add `:' prefix to option names.  Add optbit field.
	(set_socket_option): Remove no_error arg and special handling of s < 0.
	Return 1<<optbit for known option, 0 for unknown.
	Do not interpret 0 as false for boolean option (only nil).
	Pass failed option and value to report_file_error.
Stefan Monnier's avatar
Stefan Monnier committed
1194
	(Fset_network_process_options): Replace by Fset_network_process_option.
Kim F. Storm's avatar
Kim F. Storm committed
1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207
	(Fset_network_process_option): New function to set just one option.
	(Fmake_network_process): Allow :coding arg to be a cons.
	Allow :server arg to be an integer specifying backlog size.
	Remove :options arg, and allow options to be specified directly
	as :KEY, VALUE pairs.  Parse these options before binding socket.
	As before, :reuseaddr t is default for a server process, but this
	can now be disabled by specifying :reuseaddr nil.
	(Fnetwork_interface_info): Rename from Fget_network_interface_info.
	(init_process): Availability of network options is now checked with
	simpler syntax (featurep 'make-network-process :OPTION); use loop to
	setup features.
	(syms_of_process): Fix defsubr's for the replaced functions.

Dave Love's avatar
Dave Love committed
1208 1209 1210 1211
2003-09-16  Dave Love  <fx@gnu.org>

	* Makefile.in: Depend on coding.h.

Kim F. Storm's avatar
Kim F. Storm committed
1212 1213 1214 1215 1216 1217 1218
2003-09-14  Kim F. Storm  <storm@cua.dk>

	* process.c [HAVE_SOCKETS]: Include sys/ioctl.h and net/if.h.
	(Fnetwork_interface_list, Fget_network_interface_info): New defuns.
	(syms_of_process): Defsubr them.

	* config.in: Regenerate.
Stefan Monnier's avatar
Stefan Monnier committed
1219 1220 1221 1222 1223 1224 1225 1226 1227 1228

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

	* m/sr2k.h (XMARKBIT, XUNMARK): Remove.
	* m/news-r6.h (XUNMARK): Remove.
	* m/mips.h (XUNMARK): Remove.
	* m/mips-siemens.h (XUNMARK): Remove.
	* m/iris4d.h (XUNMARK): Remove.
	* m/hp800.h (XMARKBIT, XUNMARK): Remove.

1229 1230
2003-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>

1231 1232 1233 1234 1235 1236
	* lisp.h (VALBITS): Don't remove 1 for the markbit.
	(union Lisp_Object): Use unsigned int for types.  Remove markbit.
	(MARKBIT): Remove 1 from VALBITS so we still use same old val.
	(XTYPE): Use unsigned right-shift.
	(XMARKBIT, XMARK, XUNMARK): Remove.

1237 1238 1239 1240 1241 1242
	* alloc.c (init_intervals, init_symbol, init_marker):
	Don't preallocate anything.
	(Fgarbage_collect, mark_object): Ignore the markbit.

	* bytecode.c (mark_byte_stack, unmark_byte_stack): Ignore the markbit.

Lute Kamstra's avatar
Lute Kamstra committed
1243
2003-09-08  Lute Kamstra  <lute@gnu.org>
Lute Kamstra's avatar
Lute Kamstra committed
1244 1245 1246 1247 1248 1249

	* xdisp.c (pint2hrstr): New function.
	(decode_mode_spec): Add `%i' and `%I' specs.
	* buffer.c (syms_of_buffer): Document `%i' and `%I' constructs
	for `mode-line-format'.

1250 1251 1252 1253 1254
2003-09-07  Andreas Schwab  <schwab@suse.de>

	* alloc.c: Use long instead of int when casting ABLOCKS_BUSY to
	avoid warning.

1255 1256
2003-09-07  Eli Zaretskii  <eliz@elta.co.il>

1257
	* editfns.c (region_limit): Support any non-zero value of BEGINNINGP.
1258

Kim F. Storm's avatar
Kim F. Storm committed
1259 1260 1261 1262 1263 1264
2003-09-03  Kim F. Storm  <storm@cua.dk>

	* xdisp.c (get_window_cursor_type): Partially undo 2002-03-01
	change (superseded by 2002-08-30 change); the default blink-off
	cursor is now again "no cursor".

Jason Rumney's avatar
Jason Rumney committed
1265 1266 1267 1268 1269 1270
2003-09-01  Jason Rumney  <jasonr@gnu.org>

	* makefile.w32-in (alloca.o): Remove.
	(coding.o): Depend on intervals.h
	(emacs.o, bytecode.o): Depend on window.h

Dave Love's avatar
Dave Love committed
1271 1272 1273 1274 1275 1276 1277 1278
2003-09-01  Dave Love  <fx@gnu.org>

	* Makefile.in (alloca.o): Remove commands.
	(coding.o): Depend on intervals.h composite.h window.h.
	(emacs.o): Depend on window.h keyboard.h keymap.h.
	(gtkutil.o): Depend on keyboard.h charset.h coding.h.
	(bytecode.o): Depend on window.h.

1279 1280
2003-08-31  Jason Rumney  <jasonr@gnu.org>

1281 1282 1283
	* w32term.c (w32_per_char_metric): Allow cached metrics to be
	returned even when font_type is unknown.

1284 1285
	* xdisp.c (init_iterator): Remove old WINDOWSNT conditional.

1286 1287 1288 1289 1290 1291 1292 1293 1294 1295
2003-08-30  Jan Dj,Ad(Brv  <jan.h.d@swipnet.se>

	* xterm.c (x_term_init): Initialize new fields in x_display_info.

	* xterm.h (struct x_display_info): Add red/green/blue_bits and
	*_offset.

	* xfns.c (lookup_rgb_color): Use new fields in x_display_info to
	calculate pixel value.

1296 1297
2003-08-29  Gerd Moellmann  <gerd.moellmann@t-online.de>

1298 1299 1300
	* xdisp.c (redisplay_internal): Fix change of 2003-04-30.
	Don't tell redisplay display is accurate when it's actually been
	paused for pending input.
1301

1302 1303 1304 1305 1306 1307 1308
2003-08-29  Richard M. Stallman  <rms@gnu.org>

	* dispnew.c (adjust_glyph_matrix): Call window_box
	whenever W is nonzero.

	* data.c (Fmake_variable_buffer_local, Fmake_local_variable)
	(Fkill_local_variable, Fmake_variable_frame_local)
1309
	(Flocal_variable_p, Flocal_variable_if_set_p):
1310 1311 1312 1313 1314 1315 1316 1317 1318 1319
	Use indirect_variable to trace thru variable aliases.

	* config.in: Updated.

	* callint.c (Fcall_interactively): Save and restore
	Vthis_command, Vthis_original_command, real_this_command,
	and current_kboard->Vlast_command.

	* abbrev.c (Fexpand_abbrev): Insert before deleting.

1320 1321 1322 1323
2003-08-29  Gerd Moellmann  <gerd@gnu.org>

	* xfns.c (lookup_rgb_color): Handle TrueColor visuals specially.

1324 1325
2003-08-28  David Abrahams  <dave@boost-consulting.com>  (tiny change)

1326
	* coding.c (decode_coding_iso2022): Initialize local variable c2.
1327 1328
	(decode_coding_sjis_big5): Likewise.

Jason Rumney's avatar
Jason Rumney committed
1329 1330
2003-08-27  Jason Rumney  <jasonr@gnu.org>

Jason Rumney's avatar
Jason Rumney committed
1331 1332
	* w32.c (sys_pipe): Protect against file descriptor overflow.

1333 1334
	* w32fns.c (syms_of_w32fns): Remove non-existent functions.

Jason Rumney's avatar
Jason Rumney committed
1335 1336
	* w32term.c (w32_read_socket): Fix WM_MOUSEWHEEL assignment.

Lute Kamstra's avatar
Lute Kamstra committed
1337 1338 1339 1340 1341
2003-08-26  Terje Rosten <terjeros@phys.ntnu.no>

	* xfns.c (Vgtk_version_string): New variable.
	(syms_of_xfns): DEFVAR_LISP it.  Provide gtk.

Eli Zaretskii's avatar
Eli Zaretskii committed
1342 1343
2003-08-24  Eli Zaretskii  <eliz@elta.co.il>

1344
	* term.c (term_init): Remove `const' from buffer_size's declaration.
Eli Zaretskii's avatar
Eli Zaretskii committed
1345

Eli Zaretskii's avatar
Eli Zaretskii committed
1346 1347
	* Makefile.in (msdos.o): Depend on intervals.h.

1348
	* msdos.c: Include intervals.h, since STRING_INTERVALS requires that.
Eli Zaretskii's avatar
Eli Zaretskii committed
1349

1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365
2003-08-21  Jan Dj,Ad(Brv  <jan.h.d@swipnet.se>

	* xterm.h (struct x_display_info): New fields: client_leader_window
	and Xatom_wm_client_leader.

	* xterm.c (x_initialize): Move call to x_session_initialize to ...
	(x_term_init): ... here.  Initialize client_leader fields in dpyinfo.

	* xsmfns.c (create_client_leader_window): New function.
	(x_session_initialize): Call create_client_leader_window, take
	dpyinfo as argument.

	* xfns.c (Fx_create_frame): Set property WM_CLIENT_LEADER.

	* Makefile.in (xsmfns.o): Add more depenedencies.

Dave Love's avatar
Dave Love committed
1366 1367 1368 1369
2003-08-21  Dave Love  <fx@gnu.org>

	* m/iris4d.h: Use _MIPS_SZLONG, not _LP64.

1370 1371 1372 1373 1374
2003-08-21  Kenichi Handa  <handa@m17n.org>

	* term.c (term_init): Fix previous change; don't rely on the
	length of `buffer' if TERMINFO is defined.

Dave Love's avatar
Dave Love committed
1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387
2003-08-20  Dave Love  <fx@gnu.org>

	* atimer.h: Include lisp.h.

	* lisp.h (EMACS_LISP_H): New.
	(popup_activated_flag): Don't declare.

	* alloca.c: Some merging with gnulib.  Change logic and doc
	concerning (x)malloc/(x)free -- no longer Emacs-specific.
	[DO_BLOCK_INPUT]: Don't include lisp.h.
	(xmalloc, xfree): Declare.
	(malloc): Don't declare.

1388
	* Makefile.in (LWLIB_OPTIONS): Remove (unused).
Dave Love's avatar
Dave Love committed
1389 1390 1391 1392 1393 1394 1395
	(alloca.o): Remove obsolete stuff concerning alloca.s.  Depend on
	atimer.h, blockinput.h.

	* alloc.c (lisp_align_malloc): Change type of `aligned'.

	* alloca.s: Removed.

1396 1397 1398 1399 1400 1401 1402 1403 1404
2003-08-19  Gerd Moellmann  <gerd@gnu.org>

	* s/freebsd.h [__FreeBSD_version >= 400000]: Define TERMINFO,
	use -lncurses.

	* term.c (term_init): Use a buffer of size 4096 for tgetent since
	FreeBSD returns something longer than 2044.  Abort if the end of
	the buffer is overwritten.

1405 1406 1407 1408
2003-08-19  Miles Bader  <miles@gnu.org>

	* xterm.c (x_term_init): Correctly use result of Ffile_readable_p.

1409 1410
2003-08-19  Gerd Moellmann  <gerd@gnu.org>

1411 1412 1413 1414 1415 1416
	* alloc.c (lisp_align_malloc): Check for memory full when
	allocating ablocks, which also avoids freeing a pointer into an
	ablocks structure.

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

1417
	* buffer.c (Fmove_overlay): Set overlay's next pointer unconditionally.
1418

1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430
2003-08-16  Richard M. Stallman  <rms@gnu.org>

	* editfns.c (Fencode_time): Doc fix.

2003-08-16  David Ponce  <david@dponce.com>

	* fileio.c (Fwrite_region): Fix conditional expression to issue
	the right message.

2003-08-16  Juri Linkov  <juri@jurta.org>  (tiny change)

	* syntax.c (Fforward_word): Argument changed to optional.
1431
	Set default value to 1.
1432

Kenichi Handa's avatar
Kenichi Handa committed
1433 1434 1435 1436 1437 1438 1439 1440 1441
2003-08-15  Kenichi Handa  <handa@m17n.org>

	* xfaces.c (better_font_p): Prefer a real scalable font; i.e. not
	what autoscaled.
	(best_matching_font): Once we find a better scalable font, set
	non_scalable_has_exact_height_p to 1.
	(try_font_list): Call try_alternative_families to try any family
	with the given registry.

1442 1443
2003-08-09  Andreas Schwab  <schwab@suse.de>

1444 1445
	* alloc.c (mark_object): Handle Lisp_Misc_Save_Value.

1446 1447 1448
	* print.c (print_string): Fix printing of multibyte string with
	nontrivial printcharfun.

1449 1450 1451 1452 1453 1454
2003-07-31  Jan Dj,Ad(Brv  <jan.h.d@swipnet.se>

	* xfns.c (xg_set_icon): Rewrite to compile with GTK 2.0 and 2.2.

	* xterm.c (x_bitmap_icon): Return if xg_set_icon succeeds.

1455 1456 1457 1458 1459
2003-07-31  Kenichi Handa  <handa@m17n.org>

	* process.c (read_process_output): Return the actually read bytes
	instead of the result of decoding.

Kenichi Handa's avatar