ChangeLog 121 KB
Newer Older
1 2 3 4 5 6 7 8 9 10
2003-02-21  Jan Dj,Ad(Brv  <jan.h.d@swipnet.se>

	* process.h: Removed subtty field from struct Lisp_Process.

	* process.c (create_process): Remove setting of subtty.
	(emacs_get_tty_pgrp): New function.
	(Fprocess_running_child_p, process_send_signal): Call
	emacs_get_tty_pgrp instead of ioctl.
	(process_send_signal): Call EMACS_KILLPG if ioctl TIOCSIGSEND fails.

Kai Großjohann's avatar
Kai Großjohann committed
11 12 13 14
2003-02-21  Kai Gro,A_(Bjohann  <kai.grossjohann@uni-duisburg.de>

	* keymap.c (Fdefine_key): Doc fix.

Juanma Barranquero's avatar
Juanma Barranquero committed
15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
2003-02-21  Juanma Barranquero  <lektu@terra.es>

	Port of patch for RC by Klaus Zeitler <kzeitler@lucent.com>.

	* s/hpux10.h: Define POLL_INTERRUPTED_SYS_CALL, not
	POLLING_PROBLEM_IN_SELECT.

	* s/hpux11.h: Include hpux10-20.h instead of hpux10.h.
	Delete #undef of POLLING_PROBLEM_IN_SELECT.

	* s/hpux10-20.h: New file.

	* process.c (wait_reading_process_input): Use
	POLL_INTERRUPTED_SYS_CALL, not POLLING_PROBLEM_IN_SELECT.

30 31
2003-02-20  Kenichi Handa  <handa@m17n.org>

Kenichi Handa's avatar
Kenichi Handa committed
32 33 34 35 36 37 38 39 40 41
	* fontset.c (check_fontset_name): If NAME is nil, return the
	default fontset.
	(override_font_info): New function.
	(Fset_fontset_font): Document that NAME nil means the default
	fontset.
	(Ffontset_info): If FONTSET is not the default fontset, merge
	FONTSET onto the copy of the default fontset, and work on that
	copy.  Document that NAME nil means the default fontset.
	(Ffontset_font): Document that NAME nil means the default fontset.

42 43 44
	* process.c (setup_process_coding_systems): If the process's
	in/out descriptor is -1, do nothing.

Andreas Schwab's avatar
.  
Andreas Schwab committed
45 46 47 48 49
2003-02-19  Andreas Schwab  <schwab@suse.de>

	* lisp.h (Fcancel_kbd_macro_events, Fstring_to_multibyte): Add
	prototypes.

50 51 52 53 54
2003-02-19  Kenichi Handa  <handa@m17n.org>

	* xfaces.c (try_alternative_families): Try all scalable fonts if
	Vscalable_fonts_allowed is not Qt.

55 56 57 58
2003-02-19  Jan Dj,Ad(Brv  <jan.h.d@swipnet.se>

	* xfaces.c (x_face_list_fonts): Set *pfonts to 0 if no fonts found.

59 60 61 62 63 64 65 66 67 68 69
2003-02-18  Jan Dj,Ad(Brv  <jan.h.d@swipnet.se>

	* xterm.c (x_list_fonts): If maxnames is less than 0, get all font
	names.

	* xfaces.c (x_face_list_fonts): Allocate struct font_name here.
	(sorted_font_list): Moved allocation of struct font_name to
	x_face_list_fonts.
	(Fx_font_family_list): Set font-list-limit to -1 to get all font names.
	(Fx_list_fonts): Set maxnames to -1 to get all font names.

Kim F. Storm's avatar
Kim F. Storm committed
70 71
2003-02-18  Kim F. Storm  <storm@cua.dk>

72 73
	* lread.c (read1): Fix last change.
	"`" is not always special.  Allow "?" after a character constant.
Kim F. Storm's avatar
Kim F. Storm committed
74

75 76 77 78
2003-02-18  Andrew Choi  <akochoi@shaw.ca>

	* unexmacosx.c (copy_data_segment): Also copy __cfstring section.

Andreas Schwab's avatar
.  
Andreas Schwab committed
79 80 81 82 83 84 85 86
2003-02-18  Andreas Schwab  <schwab@suse.de>

	* window.c (window_scroll_pixel_based): Move outside a
	multi-glyph character before setting new window start.

	* xdisp.c (in_display_vector_p): New function.
	* dispextern.h (in_display_vector_p): Declare.

Kim F. Storm's avatar
Kim F. Storm committed
87 88 89 90 91 92 93 94
2003-02-18  Kim F. Storm  <storm@cua.dk>

	* lread.c (read1): Fix and relax read syntax.
	Recognize "[", ";", "#", and "?" after a dotted-pair dot.
	Only recognize "," after dotted-pair dot if inside backquote.
	Never include "`" or "," (inside backquote) in a symbol.
	Allow dotted-pair dot after a character constant.
	Allow "`" and "," (inside backquote) after a character constant.
Juanma Barranquero's avatar
Juanma Barranquero committed
95

96 97 98 99 100 101 102 103
2003-02-17  Jan Dj,Ad(Brv  <jan.h.d@swipnet.se>

	* gtkutil.c (xg_tool_bar_expose_callback): New function.
	(xg_create_tool_bar): Force style of tool bar to be horizontal with
	icons.	Set name of tool bar to emacs-toolbar.
	(update_frame_tool_bar): Connect expose event to
	xg_tool_bar_expose_callback.

104 105 106 107 108 109 110 111 112
2003-02-17  Richard M. Stallman  <rms@gnu.org>

	* keyboard.c (this_command_key_count_reset): New variable.
	Initiatize to 0 where this_command_key_count is set.
	(read_char): Save and restore this_command_key_count_reset
	around input method code.
	(read_char): If this_command_key_count_reset, echo reread commands.
	(Freset_this_command_lengths): Set this_command_key_count_reset to 1.

113 114 115 116
2003-02-17  Kenichi Handa  <handa@m17n.org>

	* fns.c (string_to_multibyte): Always return a multibyte string.

117 118 119 120 121
2003-02-16  Jason Rumney  <jasonr@gnu.org>

	* w32fns.c (w32_list_bdf_fonts, w32_list_fonts): Negative
	max_fonts parameter means list all.

Dave Love's avatar
Dave Love committed
122 123 124 125
2003-02-14  Dave Love  <fx@gnu.org>

	* fns.c (Flanginfo): Doc fix.

126 127
2003-02-13  Kim F. Storm  <storm@cua.dk>

128 129 130 131 132
	* lread.c (read_escape): Interpret \s as a SPACE character, except
	for \s-X in a character constant which still is the super modifier.
	(read1): Signal an `invalid read syntax' error if a character
	constant is immediately followed by a digit or symbol character.

133 134 135
	* search.c (Fmatch_data): Doc fix.  Explicitly state that
	match-data is undefined if last search failed.

136 137 138
	* keymap.c (Fcommand_remapping): Renamed from Fremap_command.
	All uses changed.

Juanma Barranquero's avatar
Juanma Barranquero committed
139 140 141 142
2003-02-12  Juanma Barranquero  <lektu@terra.es>

	* eval.c (Fdefmacro): Fix typo.

143 144 145 146 147 148
2003-02-12  Kim F. Storm  <storm@cua.dk>

	* macros.c (Fstart_kbd_macro): If appending, and last keyboard
	macro is a string, convert meta modifiers in string when copying
	the string into a vector.

Kim F. Storm's avatar
Kim F. Storm committed
149 150 151 152
2003-02-11  Kim F. Storm  <storm@cua.dk>

	* keymap.c (Fremap_command): Return nil if arg is not a symbol.

Kenichi Handa's avatar
Kenichi Handa committed
153 154 155 156
2003-02-11  Kenichi Handa  <handa@m17n.org>

	* Makefile.in (lisp, shortlisp): Add malayalam.el and tamil.el.

Kim F. Storm's avatar
Kim F. Storm committed
157 158 159 160 161
2003-02-10  Kim F. Storm  <storm@cua.dk>

	* process.c: Doc fixes.
	(syms_of_process): Add `:' prefix to QCfilter_multibyte.

Kenichi Handa's avatar
Kenichi Handa committed
162 163
2003-02-10  Kenichi Handa  <handa@m17n.org>

164 165
	* fns.c (Fstring_to_multibyte): Fix typo in the docstring.

Kenichi Handa's avatar
Kenichi Handa committed
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
	* process.c (QCfilter_multibyte): New variable.
	(setup_process_coding_systems): New function.
	(Fset_process_buffer, Fset_process_filter): Call
	setup_process_coding_systems.
	(Fstart_process): Initialize the member `filter_multibyte' of
	struct Lisp_Process.
	(create_process): Call setup_process_coding_systems.
	(Fmake_network_process): New keyward `:filter-multibyte'.
	Initialize the member `filter_multibyte' of struct Lisp_Process.
	Call setup_process_coding_systems.
	(server_accept_connection): Call setup_process_coding_systems.
	(read_process_output): If the process has a filter, decide the
	multibyteness of a string to given to the filter by
	`filter_multibyte' member of the process.  If the process doesn't
	have a filter and the result of conversion is unibyte, use
	Fstring_to_multibyte (not Fstring_make_multibyte) to get the
	multibyte form.
	(Fset_process_coding_system): Call setup_process_coding_systems.
	(Fset_process_filter_multibyte): New function.
	(Fprocess_filter_multibyte_p): New function.
	(syms_of_process): Intern and staticpro QCfilter_multibyte.
	Defsubr Sset_process_filter_multibyte and
	Sprocess_filter_multibyte_p.

	* process.h (struct Lisp_Process): New member filter_multibyte.

	* lisp.h (setup_process_coding_systems): Add prototype.

	* buffer.c (Fset_buffer_multibyte): If the current buffer has a
	process, update coding systems for the process.

Kenichi Handa's avatar
Kenichi Handa committed
197 198 199 200 201 202
2003-02-09  Kenichi Handa  <handa@m17n.org>

	* fns.c (string_to_multibyte): New function.
	(Fstring_to_multibyte): New function.
	(syms_of_fns): Defsubr it.

Andreas Schwab's avatar
Andreas Schwab committed
203 204 205 206 207
2003-02-08  Andreas Schwab  <schwab@suse.de>

	* Makefile.in (EXEEXT): Define to @EXEEXT@ and use this variable
	instead of the substitution.

208 209 210 211 212 213 214
2003-02-08  Jan Dj,Ad(Brv  <jan.h.d@swipnet.se>

	* xterm.c (x_make_frame_visible): Call gtk_window_deiconify.

	* xmenu.c (menu_position_func): Adjust menu popup position so that
	the menu is fully visible.

215 216 217 218 219 220 221 222
2003-02-07  Jan Dj,Ad(Brv  <jan.h.d@swipnet.se>

	* xterm.c (x_text_icon, x_raise_frame, x_lower_frame)
	(x_make_frame_invisible, x_wm_set_icon_position): Use
	FRAME_OUTER_WINDOW instead of ifdef X_TOOLKIT/else/endif.

	* xfns.c (x_set_name, x_set_title): Ditto.

223 224 225 226 227 228 229 230 231 232 233 234 235 236 237
2003-02-04  Richard M. Stallman  <rms@gnu.org>

	* keyboard.c (echo_now): Update before_command_echo_length.
	(Freset_this_command_lengths): Reset this_command_key_count etc.
	immediately rather than arranging to do it later.
	(before_command_key_count_1, before_command_echo_length_1)
	(before_command_restore_flag): Vars deleted.
	(add_command_key): Don't handle before_command_restore_flag.
	(read_char, record_menu_key): Don't update before_command_key_count or
	before_command_echo_length.
	(read_char): Don't handle before_command_restore_flag.

	* keyboard.c (command_loop_1): Don't call adjust_point_for_property
	in direct-output clauses if it wouldn't be called in the ordinary case.

Kim F. Storm's avatar
Kim F. Storm committed
238 239 240 241
2003-02-04  Kim F. Storm  <storm@cua.dk>

	* keyboard.c (syms_of_keyboard) <this-original-command>: Doc fix.

Jan Djärv's avatar
Jan Djärv committed
242 243 244 245 246 247 248
2003-02-02  Jan Dj,Ad(Brv  <jan.h.d@swipnet.se>

	* gtkutil.c (remove_from_container): Copying list is not needed.
	(xg_update_menubar, xg_update_menu_item, xg_update_submenu)
	(xg_modify_menubar_widgets, update_frame_tool_bar): Call g_list_free
	on list returned from gtk_container_get_children to avoid memory leak.

249 250
2003-02-01  Jason Rumney  <jasonr@gnu.org>

Jason Rumney's avatar
Jason Rumney committed
251 252 253 254 255 256 257 258
	* w32fns.c (w32_create_pixmap_from_bitmap_data): Use alloca for
	local malloc.
	[HAVE_XPM]: Avoid clashes with XColor, XImage and Pixel
	definitions in xpm.h.
	(init_xpm_functions): New function.
	(xpm_load): Sync with xfns.c. Adapt for Windows version of libXpm.
	(init_external_image_libraries): Try to load libXpm.dll.

259 260 261
	* fileio.c (Fcopy_file) [WINDOWSNT]: Reverse logic for setting
	timestamp.

Dave Love's avatar
Dave Love committed
262 263 264 265 266
2003-01-31  Dave Love  <fx@gnu.org>

	* syntax.c (Fskip_chars_forward)
	(open-paren-in-column-0-is-defun-start): Doc fix.

Juanma Barranquero's avatar
Juanma Barranquero committed
267 268 269 270 271 272 273 274 275 276 277 278 279
2003-01-31  Joe Buehler  <jhpb@draco.hekimian.com>

	* fileio.c: Support // at start of name for Cygwin (just added proper
	preprocessor tests).

	* keyboard.c: Port to Cygwin (just added proper preprocessor tests).

	* Makefile.in: Use @EXEEXT@ for Cygwin.

	* mem-limits.h: Added ifdef to define BSD4_2 for Cygwin.

	* s/cygwin.h: Added for Cygwin port.

Juanma Barranquero's avatar
Juanma Barranquero committed
280 281 282 283
2003-01-31  Juanma Barranquero  <lektu@terra.es>

	* w32fns.c (DrawText): Kludge to avoid a redefinition on Windows
	when including gif_lib.h.
Juanma Barranquero's avatar
Juanma Barranquero committed
284 285 286
	(init_gif_functions, init_tiff_functions): New functions.
	(gif_load, tiff_load): Sync with xfns.c version. Adjust colors for
	Windows. Disable color table lookups. Call library functions
Juanma Barranquero's avatar
Juanma Barranquero committed
287
	through pointers determined at runtime.
Juanma Barranquero's avatar
Juanma Barranquero committed
288 289
	(init_external_image_libraries): Try to load libungif.dll and
	libtiff.dll.
Juanma Barranquero's avatar
Juanma Barranquero committed
290

Kenichi Handa's avatar
Kenichi Handa committed
291 292 293 294 295 296
2003-01-31  Kenichi Handa  <handa@m17n.org>

	* xdisp.c (SKIP_GLYPHS): New macro.
	(set_cursor_from_row): Skip all glyphs that comes from overlay
	string.

297 298 299 300
2003-01-30  Jan Dj,Ad(Brv  <jan.h.d@swipnet.se>

	* gtkutil.c (free_frame_tool_bar): Removed debug printf.

Dave Love's avatar
Dave Love committed
301 302 303 304 305 306
2003-01-30  Dave Love  <fx@gnu.org>

	* alloc.c (Vgc_elapsed, gcs_done): New variables.
	(Fgarbage_collect): Use them.
	(init_alloc, syms_of_alloc): Set them up.

307 308 309 310
2003-01-30  Juanma Barranquero  <lektu@terra.es>

	* w32fns.c (init_external_image_libraries): Add missing operator.

Jason Rumney's avatar
Jason Rumney committed
311 312 313 314 315
2003-01-29  Jason Rumney  <jasonr@gnu.org>

	* w32fns.c (init_external_image_libraries): Allow jpeg-62.dll as
	an alternative name for jpeg.dll.

Kenichi Handa's avatar
Kenichi Handa committed
316 317 318 319 320
2003-01-29  Kenichi Handa  <handa@m17n.org>

	* xdisp.c (set_cursor_from_row): Pay attention to string display
	properties.

321 322 323 324 325 326 327
2003-01-28  Benjamin Riefenstahl  <Benjamin.Riefenstahl@epost.de>

	* macterm.c (keycode_to_xkeysym_table): Add <tab>, <backspace>,
	<escape>.
	(keycode_to_xkeysym_table): Reformat and add more comments.
	(XTread_socket): Drop special case for backspace.

328 329 330 331 332
2003-01-28  Andrew Choi  <akochoi@shaw.ca>

	* macfns.c (x_to_mac_color): Correct the order for parsing the RGB
	values in old-style RGB specs.

333 334 335 336 337
2003-01-27  Juanma Barranquero  <lektu@terra.es>

	* w32fns.c (init_external_image_libraries): Try alternate names for the
	jpeg dll.

338 339 340 341 342 343
2003-01-27  Jan Dj,Ad(Brv  <jan.h.d@swipnet.se>

	* gtkutil.c (create_dialog, xg_separator_p)
	(xg_item_label_same_p, xg_update_menu_item): Check for NULL string
	before calling strcmp or strlen.

344
2003-01-26  Jan Dj,Ad(Brv  <jan.h.d@swipnet.se>
345 346 347 348

	* gtkutil.c (update_frame_tool_bar): Call prepare_image_for_display
	and handle image load failure.

Jason Rumney's avatar
Jason Rumney committed
349 350 351 352 353 354 355 356 357
2003-01-26  Jason Rumney  <jasonr@gnu.org>

	* w32fns.c (init_jpeg_functions, jpeg_resync_to_restart_wrapper):
	New functions.
	(jpeg_load): Sync with xfns.c version. Adjust colors for Windows.
	Disable color table lookups. Call jpeg library functions
	through pointers determined at runtime.
	(init_external_image_libraries): Try to load jpeg.dll.

358 359 360 361 362 363 364 365 366 367 368 369
2003-01-25  Richard M. Stallman  <rms@gnu.org>

	* lisp.h: Declare format2 instead of format1.

	* fileio.c (barf_or_query_if_file_exists):
	Call format2 instead of format1.

	* editfns.c (format2): New function, replaces format1
	but takes exactly two Lisp Objects as format args.

	* buffer.c (Fkill_buffer): Call format2 instead of format1.

370
2003-01-25  Jan Dj,Ad(Brv  <jan.h.d@swipnet.se>
Jan Djärv's avatar
Jan Djärv committed
371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386

	* xterm.h: Change to return value of x_dispatch_event to int.

	* xterm.c (x_filter_event): New function.
	(event_handler_gdk, XTread_socket): Call x_filter_event.
	(x_dispatch_event): Change to return value of finish.
	(event_handler_gdk): Use return value from x_dispatch_event.

	* xfns.c (x_window): Call create_frame_xic for GTK version to
	initialize input methods.

	* gtkutil.h: Add (void) prototypes.

	* gtkutil.c (create_menus): Remove code that puts the help menu to
	the right.

387 388 389 390 391 392
2003-01-25  Jason Rumney  <jasonr@gnu.org>

	* w32fns.c (XPutPixel): Handle monochrome images; used for masks.
	[HAVE_PNG]: Sync with xfns.c version.
	(png_load): Adjust colors for Windows. Use Windows
	bitmaps. Disable color table lookups.
Jason Rumney's avatar
Jason Rumney committed
393 394 395 396 397 398 399
	(DEF_IMGLIB_FN, LOAD_IMGLIB_FN): New macros.
	(init_png_functions): New function.
	(png_read_from_memory, png_load): Call png library functions
	through pointers determined at runtime.
	(QCloader, QCbounding_box, QCpt_width, QCpt_height): Declare.
	(init_external_image_libraries): New function.
	(init_xfns): Call it.
400

401 402 403 404
2003-01-24  Andreas Schwab  <schwab@suse.de>

	* minibuf.c (Fminibuffer_message): Verify type of parameter.

405
2003-01-24  Jan Dj,Ad(Brv  <jan.h.d@swipnet.se>
406 407 408 409

	* gtkutil.c (xg_initialize): Initialize id_to_widget here instead
	of static initializer.

410 411 412 413 414 415 416 417
2003-01-24  Dave Love  <fx@gnu.org>

	* s/gnu-linux.h (GC_SETJMP_WORKS, GC_MARK_STACK): Define for more
	architectures.

	* alloc.c (mark_stack) [!GC_LISP_OBJECT_ALIGNMENT && __GNUC__]:
	Use __alignof__.

418 419 420 421 422 423 424 425
2003-01-24  Kenichi Handa  <handa@m17n.org>

	* keyboard.c (adjust_point_for_property): New second arg MODIFIED.
	It it is nonzero, don't pretend that an invisible area doesn't
	exist.
	(command_loop_1): Call adjust_point_for_property with proper
	second arg.

426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462
2003-01-22  Jason Rumney  <jasonr@gnu.org>

	Sync changes with xterm.c and xfns.c.

	* w32term.c (x_draw_glyph_string_foreground)
	(x_draw_composite_glyph_string_foreground): Implement overstriking.

	* w32term.c (x_write_glyphs): Clear phys_cursor_on_p if current
	phys_cursor's hpos is overwritten.  This is still not completely
	correct, as it doesn't really make sense to use hpos at all to
	get the cursor glyph (as that is relative to the width of the
	characters on the line, which may have changed during the update).

	* w32term.c (notice_overwritten_cursor): Handle the special case
	of the cursor being in the first blank non-text line at the
	end of a window.

	* w32term.c (x_draw_hollow_cursor, x_draw_bar_cursor)
	(x_draw_phys_cursor_glyph): Set phys_cursor_width here.
	Compute from the x position returned by x_draw_glyphs.

	(x_display_and_set_cursor): Don't set phys_cursor_width here,
	except for NO_CURSOR and system caret, to make phys_cursor_width
	contain what its name suggests.
	(notice_overwritten_cursor): Consider the cursor image erased if
	the output area intersects the cursor image in y-direction.

	* w32term.c (note_mode_line_or_margin_highlight): Renamed from
	note_mode_line_highlight and extended.

	* w32term.c (last_window): New variable.
	(w32_read_socket) <WM_MOUSEMOVE>: Generate SELECT_WINDOW_EVENTs.
	(note_mouse_movement): Remove reimplemented code in #if 0.

	* w32fns.c (x_set_cursor_type): Set cursor_type_changed,
	not update_mode_lines, and always set it to 1.

Jason Rumney's avatar
Jason Rumney committed
463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486
2003-01-21  Jason Rumney  <jasonr@gnu.org>

	* w32fns.c (IDC_HAND): Define it if system headers don't.

2003-01-21  KOBAYASHI Yasuhiro  <kobayays@otsukakj.co.jp>

	* w32term.h (struct w32_output): New member hand_cursor.
	(WM_EMACS_SETCURSOR): New message definition.

	* w32term.c (note_mode_line_highlight): Delete #if 0 to enable
	function w32_define_cursor.
	(note_mouse_highlight): Initialize, setup cursor accoding to mouse
	position, change member name output_data.x to output_data.w32 and
	add function w32_define_cursor.
	(show_mouse_face): Delete #if 0 to enable function w32_define_cursor
	and change member name output_data.x to output_data.w32.
	(w32_initialize_display_info): Setup
	dpyinfo->vertical_scroll_bar_cursor.

	* w32fns.c (Vx_hand_shape): New variable.
	(w32_wnd_proc): Add message entries for WM_SETCURSOR and
	WM_EMACS_SETCURSOR.
	(x-create-frame): Setup Cursor types.

Juanma Barranquero's avatar
Juanma Barranquero committed
487 488
2003-01-21  David Ponce  <david@dponce.com>

Jason Rumney's avatar
Jason Rumney committed
489 490 491
	* w32term.c (w32_encode_char): For DIM=1 charset, set
	ccl->reg[2] to -1 before calling ccl_driver. (Sync. with xterm.c
	x_encode_char change by Kenichi Handa <handa@m17n.org> on
Juanma Barranquero's avatar
Juanma Barranquero committed
492
	2002-09-30.)
Jason Rumney's avatar
Jason Rumney committed
493 494 495 496 497 498 499
	(w32_draw_relief_rect): Declare all args.
	(w32_define_cursor): New.

	* w32fns.c (w32_load_cursor): New function.
	(w32_init_class): Use it.
	(x_put_x_image): Declare all args.

500 501 502 503
2003-01-21  Richard Dawe  <rich@phekda.freeserve.co.uk>  (tiny change)

	* Makefile.in (ALL_CFLAGS): Include MYCPPFLAGS, not MYCPPFLAG.

504
2003-01-21  Jan Dj,Ad(Brv  <jan.h.d@swipnet.se>
505 506 507

	* gtkutil.c: Must include stdio.h before termhooks.h

Dave Love's avatar
Dave Love committed
508 509 510 511 512 513 514 515 516 517 518 519
2003-01-21  Dave Love  <fx@gnu.org>

	* alloc.c (Fgc_status): Print zombie list.
	(mark_maybe_object) [GC_MARK_STACK==GC_USE_GCPROS_CHECK_ZOMBIES]:
	Fix assignment of zombies.
	(Fgarbage_collect) [GC_MARK_STACK==GC_USE_GCPROS_CHECK_ZOMBIES]:
	Don't take car of non-cons.

	* s/sol2-5.h (GC_SETJMP_WORKS, GC_MARK_STACK): Define.

	* s/sunos4-0.h (GC_SETJMP_WORKS, GC_MARK_STACK): Define.

520 521 522 523 524 525 526 527 528 529 530 531
2003-01-20  David Ponce  <david@dponce.com>

	* w32menu.c (digest_single_submenu): Declare all args.

	Sync with 2002-12-23  Richard M. Stallman  <rms@gnu.org>
	changes in xmenu.c:

	(parse_single_submenu): Use individual keymap's prompt
	string as pane name, if there is one.
	(set_frame_menubar): Save menu_items_n_panes from each call to
	parse_single_submenu and use it when calling digest_single_submenu.

532 533 534 535 536
2003-01-20  Steven Tamm  <steventamm@mac.com>

	* macterm.c (XTread_socket): Checks for valid, visible window
	before sending a scroll-wheel event.

537 538 539 540 541
2003-01-20  Richard M. Stallman  <rms@gnu.org>

	* xdisp.c (redisplay_window): If mini window's buffer is not
	a minibuffer, then redisplay it like other windows.

542
2003-01-20  Jan Dj,Ad(Brv  <jan.h.d@swipnet.se>
Jan Djärv's avatar
Jan Djärv committed
543 544 545 546

	* gtkutil.c (xg_create_frame_widgets): Check if there is an
	external tool bar before setting tool bar height.

Andreas Schwab's avatar
.  
Andreas Schwab committed
547
2003-01-19  Ja
Kenichi Handa's avatar
Kenichi Handa committed
548

Andreas Schwab's avatar
.  
Andreas Schwab committed
549 550 551 552 553 554 555
	* w32fns.c (w32_defined_color): Adjust RGB values for Emacs.
	(x_from_xcolors): Adjust RGB values for W32.
	(image_background, image_background_transparent)
	(postprocess_image, x_to_xcolors, x_disable_image)
	(x_build_heuristic_mask): Adapt for W32 and enable.
	(x_create_x_image_and_pixmap): Mark images with palettes as such.
	(xbm_load): Remove unused variable.
Kim F. Storm's avatar
Kim F. Storm committed
556

Andreas Schwab's avatar
.  
Andreas Schwab committed
557
2002-11-14  Richard M. Stallman  <rms@gnu.org>
Kim F. Storm's avatar
Kim F. Storm committed
558

Andreas Schwab's avatar
.  
Andreas Schwab committed
559
	* buffer.c (syms_of_buffer): Doc fix.
Kenichi Handa's avatar
Kenichi Handa committed
560

Andreas Schwab's avatar
.  
Andreas Schwab committed
561
2002-11-14  Dave Love  <fx@gnu.org>
Kenichi Handa's avatar
Kenichi Handa committed
562

Andreas Schwab's avatar
.  
Andreas Schwab committed
563
	* alloc.c (SETJMP_WILL_NOT_WORK): Add note.
Kenichi Handa's avatar
Kenichi Handa committed
564

Andreas Schwab's avatar
.  
Andreas Schwab committed
565 566 567 568 569 570 571 572 573 574 575
	* xterm.c (x_draw_relief_rect, x_draw_box_rect, x_update_cursor):
	* xmenu.c (unuse_menu_items, digest_single_submenu):
	* xfns.c (x_put_x_image):
	* xdisp.c (message2_nolog, set_message):
	* undo.c (record_point):
	* terminfo.c (tparam):
	* syntax.c (scan_sexps_forward):
	* scroll.c (calculate_scrolling, calculate_direct_scrolling):
	* composite.c (update_compositions):
	* cm.c (calccost, cmgoto):
	* charset.c (c_string_width): Declare all args (per C99).
Kenichi Handa's avatar
Kenichi Handa committed
576

Andreas Schwab's avatar
.  
Andreas Schwab committed
577
	* frame.h (get_specified_cursor_type, get_window_cursor_type): Declare.
Kenichi Handa's avatar
Kenichi Handa committed
578

Andreas Schwab's avatar
.  
Andreas Schwab committed
579 580
	* lisp.h (get_specified_cursor_type, get_window_cursor_type):
	Don't declare.
Francesco Potortì's avatar
Francesco Potortì committed
581

Andreas Schwab's avatar
.  
Andreas Schwab committed
582
	* emacs.c (main) [!VMS]: Avoid third arg.
Francesco Potortì's avatar
Francesco Potortì committed
583

Andreas Schwab's avatar
.  
Andreas Schwab committed
584 585
	* fns.c (Fcopy_sequence): Doc fix.
	(Fmap_char_table): Cast `call2'.
Francesco Potortì's avatar
Francesco Potortì committed
586

Andreas Schwab's avatar
.  
Andreas Schwab committed
587
2002-11-14  Francesco Potorti`  <pot@gnu.org>
Kim F. Storm's avatar
Kim F. Storm committed
588

Andreas Schwab's avatar
.  
Andreas Schwab committed
589
	* s/sol2-8.h: New file.
Kim F. Storm's avatar
Kim F. Storm committed
590

Andreas Schwab's avatar
.  
Andreas Schwab committed
591
2002-11-14  Kim F. Storm  <storm@cua.dk>
Kim F. Storm's avatar
Kim F. Storm committed
592

Andreas Schwab's avatar
.  
Andreas Schwab committed
593 594
	* buffer.c (syms_of_buffer) <mode-line-format>: Document symbol
	dependency on `risky-local-variable' and the :propertize form.
Francesco Potortì's avatar
Francesco Potortì committed
595

Andreas Schwab's avatar
.  
Andreas Schwab committed
596
2002-11-12  Stefan Monnier  <monnier@cs.yale.edu>
Francesco Potortì's avatar
Francesco Potortì committed
597

Andreas Schwab's avatar
.  
Andreas Schwab committed
598
	* fns.c (Fmap_char_table): Don't use map_char_table's function arg.
Francesco Potortì's avatar
Francesco Potortì committed
599

Andreas Schwab's avatar
.  
Andreas Schwab committed
600 601
	* syntax.c (scan_sexps_forward): Undo last patch.
	Use a more obvious fix: check eob before updating the syntax table.
Francesco Potortì's avatar
Francesco Potortì committed
602

Andreas Schwab's avatar
.  
Andreas Schwab committed
603
2002-11-09  Stefan Monnier  <monnier@cs.yale.edu>
Dave Love's avatar
Dave Love committed
604

Andreas Schwab's avatar
.  
Andreas Schwab committed
605 606
	* syntax.c (scan_sexps_forward): Update syntax table before reading
	a char rather than after so we don't update the table past eob.
Dave Love's avatar
Dave Love committed
607

Andreas Schwab's avatar
.  
Andreas Schwab committed
608
2002-11-09  Dave Love  <fx@gnu.org>
609

Andreas Schwab's avatar
.  
Andreas Schwab committed
610
	* buffer.c (Fset_buffer_major_mode): Fix last change.
611

Andreas Schwab's avatar
.  
Andreas Schwab committed
612
	* regex.c (regexec): Fix pmatch declaration.
613

Andreas Schwab's avatar
.  
Andreas Schwab committed
614
	* cmds.c (Fself_insert_command): Apply Vtranslation_table_for_input.
615

Andreas Schwab's avatar
.  
Andreas Schwab committed
616 617 618
	* keyboard.c (command_loop_1): Apply Vtranslation_table_for_input
	to self-inserting characters.
	(syms_of_keyboard) <keyboard-translate-table>: Doc fix.
Kim F. Storm's avatar
Kim F. Storm committed
619

Andreas Schwab's avatar
.  
Andreas Schwab committed
620 621
	* coding.c (Vtranslation_table_for_input): New.
	(syms_of_coding): DEFVAR it.
622

Andreas Schwab's avatar
.  
Andreas Schwab committed
623
2002-11-08  Juanma Barranquero  <lektu@terra.es>
624

Andreas Schwab's avatar
.  
Andreas Schwab committed
625 626
	* w32term.c (w32_draw_fringe_bitmap): Remove unused local variable
	window.
Kim F. Storm's avatar
Kim F. Storm committed
627

Andreas Schwab's avatar
.  
Andreas Schwab committed
628
2002-11-08  Pavel Jan,Am(Bk  <Pavel@Janik.cz>
Kim F. Storm's avatar
Kim F. Storm committed
629

Andreas Schwab's avatar
.  
Andreas Schwab committed
630 631
	* process.c (Fformat_network_address): Removed unused locals p,
	cp, and i.
Kim F. Storm's avatar
Kim F. Storm committed
632

Andreas Schwab's avatar
.  
Andreas Schwab committed
633
2002-11-06  Dave Love  <fx@gnu.org>
634

Andreas Schwab's avatar
.  
Andreas Schwab committed
635 636
	* buffer.c (Qset_buffer_major_mode_hook): New.
	(Fset_buffer_major_mode): Use it.
637

Andreas Schwab's avatar
.  
Andreas Schwab committed
638
2002-11-06  Richard M. Stallman  <rms@gnu.org>
639

Andreas Schwab's avatar
.  
Andreas Schwab committed
640 641
	* xterm.c (x_term_init): Use turn_on_atimers, not start_polling
	and stop_polling.
642

Andreas Schwab's avatar
.  
Andreas Schwab committed
643 644 645
	* process.c (wait_reading_process_input):
	Test POLLING_PROBLEM_IN_SELECT, not hpux.
	Avoid initialization for auto Lisp_Object var.
Kim F. Storm's avatar
Kim F. Storm committed
646

Andreas Schwab's avatar
.  
Andreas Schwab committed
647
	* s/hpux11.h (POLLING_PROBLEM_IN_SELECT): Add #undef.
Kim F. Storm's avatar
Kim F. Storm committed
648

Andreas Schwab's avatar
.  
Andreas Schwab committed
649
	* s/hpux10.h (POLLING_PROBLEM_IN_SELECT): Defined.
Jan Djärv's avatar
Jan Djärv committed
650

Andreas Schwab's avatar
.  
Andreas Schwab committed
651
2002-11-05  Richard M. Stallman  <rms@gnu.org>
Jan Djärv's avatar
Jan Djärv committed
652

Andreas Schwab's avatar
.  
Andreas Schwab committed
653
	* s/sol2-5.h (BROKEN_SIGIO): Turn off the #undef.
Jan Djärv's avatar
Jan Djärv committed
654

Andreas Schwab's avatar
.  
Andreas Schwab committed
655 656 657 658 659
	* callint.c (Fcall_interactively): New local filter_specs.
	(Fcall_interactively): Check for progn as well as let.
	Add a gcpro.
	(Qprogn): New variable.
	(syms_of_callint): Staticpro and init Qprogn.
Jan Djärv's avatar
Jan Djärv committed
660

Andreas Schwab's avatar
.  
Andreas Schwab committed
661
2002-11-04  John Paul Wallington  <jpw@shootybangbang.com>
Francesco Potortì's avatar
Francesco Potortì committed
662

Andreas Schwab's avatar
.  
Andreas Schwab committed
663
	* lread.c (Feval_buffer): Doc fix.
Kim F. Storm's avatar
Kim F. Storm committed
664

Andreas Schwab's avatar
.  
Andreas Schwab committed
665
2002-11-04  Dave Love  <fx@gnu.org>
Kim F. Storm's avatar
Kim F. Storm committed
666

Andreas Schwab's avatar
.  
Andreas Schwab committed
667 668
	* keyboard.c (read_char): Always translate iff
	Vkeyboard_translate_table is a char table and c is valid.
Dave Love's avatar
Dave Love committed
669

Andreas Schwab's avatar
.  
Andreas Schwab committed
670 671
	* xterm.c (XTread_socket): Check Lisp types for Vx_keysym_table
	and fix C types.
Dave Love's avatar
Dave Love committed
672

Andreas Schwab's avatar
.  
Andreas Schwab committed
673
2002-11-03  Stefan Monnier  <monnier@cs.yale.edu>
Markus Rost's avatar
Markus Rost committed
674

Andreas Schwab's avatar
.  
Andreas Schwab committed
675
	* xdisp.c (single_display_prop_intangible_p): Strings are intangible.
Markus Rost's avatar
Markus Rost committed
676

Andreas Schwab's avatar
.  
Andreas Schwab committed
677
	* editfns.c (get_pos_property): Don't hardcode Qfield.
Markus Rost's avatar
Markus Rost committed
678

Andreas Schwab's avatar
.  
Andreas Schwab committed
679 680
	* keyboard.c (adjust_point_for_property): Handle `display' prop on
	overlays.  Also handle `invisible' prop.
681

Andreas Schwab's avatar
.  
Andreas Schwab committed
682
2002-11-02  Stefan Monnier  <monnier@cs.yale.edu>
Francesco Potortì's avatar
Francesco Potortì committed
683

Andreas Schwab's avatar
.  
Andreas Schwab committed
684 685
	* coding.c (decode_coding_emacs_mule, decode_coding_iso2022)
	(decode_coding_sjis_big5, decode_eol): Allow lone \r in DOS EOL.
686

Andreas Schwab's avatar
.  
Andreas Schwab committed
687
2002-11-01  Andreas Schwab  <schwab@suse.de>
Francesco Potortì's avatar
Francesco Potortì committed
688

Andreas Schwab's avatar
.  
Andreas Schwab committed
689
	* editfns.c (Fmessage): Revert last change to properly handle %%.
690

Andreas Schwab's avatar
.  
Andreas Schwab committed
691
2002-11-01  Stefan Monnier  <monnier@cs.yale.edu>
692

Andreas Schwab's avatar
.  
Andreas Schwab committed
693 694 695 696 697 698
	* xmenu.c (unuse_menu_items): New fun.
	(menu_items_inuse): New var.
	(syms_of_xmenu): Initialize it.
	(init_menu_items): Use it to detect re-entrance.
	(Fx_popup_menu, Fx_popup_dialog, set_frame_menubar): Reset when done.
	(Fx_popup_menu): Remove spurious XSETFRAME.
699

Andreas Schwab's avatar
.  
Andreas Schwab committed
700
	* editfns.c (find_field): Make an exception for nil fields.
701

Andreas Schwab's avatar
.  
Andreas Schwab committed
702
2002-11-01  Dave Love  <fx@gnu.org>
703

Andreas Schwab's avatar
.  
Andreas Schwab committed
704
	* m/gec63.h: Deleted.
705

Andreas Schwab's avatar
.  
Andreas Schwab committed
706
2002-10-31  Dave Love  <fx@gnu.org>
707

Andreas Schwab's avatar
.  
Andreas Schwab committed
708 709
	* xterm.c (XTread_socket): Fix last change.
	(xaw_scroll_callback): Cast call_data to long to avoid warning.
710

Andreas Schwab's avatar
.  
Andreas Schwab committed
711
2002-10-31  Stefan Monnier  <monnier@cs.yale.edu>
712

Andreas Schwab's avatar
.  
Andreas Schwab committed
713
	* process.c (Fformat_network_address): Fix int/Lisp_Object mixup.
714

Andreas Schwab's avatar
.  
Andreas Schwab committed
715
2002-10-30  Stefan Monnier  <monnier@cs.yale.edu>
716

Andreas Schwab's avatar
.  
Andreas Schwab committed
717 718 719 720
	* editfns.c (overlays_around, get_pos_property): New funs.
	(find_field): Use them.
	Also be careful not to modify POS before its last use.
	(Fmessage): Don't Fformat if there's nothing to format.
721

Andreas Schwab's avatar
.  
Andreas Schwab committed
722
2002-10-30  Dave Love  <fx@gnu.org>
723

Andreas Schwab's avatar
.  
Andreas Schwab committed
724 725
	* process.c [HAVE_SYS_WAIT]: Include sys/wait.h.
	[HAVE_PTY_H]; Include pty.h.
726

Andreas Schwab's avatar
.  
Andreas Schwab committed
727
	* lread.c (Fload) <!load_dangerous_libraries>: Close fd.
728

Andreas Schwab's avatar
.  
Andreas Schwab committed
729 730 731 732 733
	* xterm.c (Qeql): Declare.
	(Vx_keysym_table): New.
	(syms_of_xterm): Initialize it.
	(XTread_socket): Use it.  Deal with ASCII keysyms.
	(XSetIMValues) [HAVE_X11R6]: Prototype.
Francesco Potortì's avatar
Francesco Potortì committed
734

Andreas Schwab's avatar
.  
Andreas Schwab committed
735 736 737 738 739
	* keyboard.c (lispy_accent_codes, lispy_accent_keys): Extended.
	(lispy_kana_keys): Comment out.
	(make_lispy_event) [XK_kana_A]: Comment out.
	(modify_event_symbol) <sizeof (long) == sizeof (EMACS_INT)>:
	Fix sprintf call.
Francesco Potortì's avatar
Francesco Potortì committed
740

Andreas Schwab's avatar
.  
Andreas Schwab committed
741 742 743
	* s/osf5-0.h (C_SWITCH_SYSTEM): Revert last change (fixed by
	regexp.h change).
	(TERMINFO, LIBS_TERMCAP): Define.
744

Andreas Schwab's avatar
.  
Andreas Schwab committed
745 746 747 748
	* s/usg5-4.h (bcopy, bzero): Define conditional on HAVE_BCOPY.
	(bcmp): Define conditional on HAVE_BCMP.
	(NO_SIOCTL_H): Don't define.
	(TIOCSIGSEND): Don't make conditional on IRIX6.
749

Andreas Schwab's avatar
.  
Andreas Schwab committed
750 751
	* s/sol2-5.h: Don't include strings.h.
	(bcopy, bzero, bcmp) [HAVE_BCOPY]: Don't undef.
Francesco Potortì's avatar
Francesco Potortì committed
752

Andreas Schwab's avatar
.  
Andreas Schwab committed
753 754
	* s/irix6-0.h (IRIX6): Don't define.
	(bcopy, bcmp, bzero): Don't undef.
Francesco Potortì's avatar
Francesco Potortì committed
755

Andreas Schwab's avatar
.  
Andreas Schwab committed
756 757 758
	* s/irix6-5.h: Don't include strings.h.
	(IRIX6): Don't define.
	(bcopy, bcmp, bzero): Don't undef.
759

Andreas Schwab's avatar
.  
Andreas Schwab committed
760
	* syntax.c (Fforward_comment): Doc fix.
761

Andreas Schwab's avatar
.  
Andreas Schwab committed
762
2002-10-29  Kim F. Storm  <storm@cua.dk>
763

Andreas Schwab's avatar
.  
Andreas Schwab committed
764 765
	* process.c (Fsignal_process): Allow PROCESS to be specified by
	name in addition to pid (as integer or string).
766

Andreas Schwab's avatar
.  
Andreas Schwab committed
767
2002-10-28  Harald Maier  <Harald.Maier.BW@t-online.de>  (tiny change)
768

Andreas Schwab's avatar
.  
Andreas Schwab committed
769 770
	* w32heap.c: Don't redefine _heap_init and _heap_term on MSVC 7 build
	environments.
771

Andreas Schwab's avatar
.  
Andreas Schwab committed
772
2002-10-27  Kim F. Storm  <storm@cua.dk>
773

Andreas Schwab's avatar
.  
Andreas Schwab committed
774
	* xterm.c (note_mouse_highlight): Don't use mouse-face if hidden.
775

Andreas Schwab's avatar
.  
Andreas Schwab committed
776
	* w32term.c (note_mouse_highlight): Don't use mouse-face if hidden.
777

Andreas Schwab's avatar
.  
Andreas Schwab committed
778
	* msdos.c (IT_note_mouse_highlight): Don't use mouse-face if hidden.
779

Andreas Schwab's avatar
.  
Andreas Schwab committed
780
	* macterm.c (note_mouse_highlight): Don't use mouse-face if hidden.
781

Andreas Schwab's avatar
.  
Andreas Schwab committed
782
2002-10-26  Richard M. Stallman  <rms@gnu.org>
783

Andreas Schwab's avatar
.  
Andreas Schwab committed
784
	* editfns.c (Fformat): Detect invalid format letters for floats.
785

Andreas Schwab's avatar
.  
Andreas Schwab committed
786
2002-10-25  Kenichi Handa  <handa@m17n.org>
787

Andreas Schwab's avatar
.  
Andreas Schwab committed
788 789
	* xfns.c (x_set_name): Encode by Qcompound_text unconditionally.
	(x_set_title): Likewise.
790

Andreas Schwab's avatar
.  
Andreas Schwab committed
791
2002-10-25  Juanma Barranquero  <lektu@terra.es>
792

Andreas Schwab's avatar
.  
Andreas Schwab committed
793 794
	* macgui.h:
	* w32gui.h: Remove definition of XColor.
795

Andreas Schwab's avatar
.  
Andreas Schwab committed
796
	* dispextern.h [!HAVE_X_WINDOWS]: Define XColor.
797

Andreas Schwab's avatar
.  
Andreas Schwab committed
798
2002-10-24  Kim F. Storm  <storm@cua.dk>
799

Andreas Schwab's avatar
.  
Andreas Schwab committed
800 801
	* xdisp.c (get_window_cursor_type): New arg ACTIVE_CURSOR.
	Callers changed (supply dummy arg).
802

Andreas Schwab's avatar
.  
Andreas Schwab committed
803
	* lisp.h (get_window_cursor_type): Update prototype.
David Kastrup's avatar
David Kastrup committed
804

Andreas Schwab's avatar
.  
Andreas Schwab committed
805 806
	* w32term.c (x_display_and_set_cursor): Get active_cursor from
	get_window_cursor_type to track system caret.
David Kastrup's avatar
David Kastrup committed
807

Andreas Schwab's avatar
.  
Andreas Schwab committed
808
2002-10-24  Kim F. Storm  <storm@cua.dk>
809

Andreas Schwab's avatar
.  
Andreas Schwab committed
810 811 812 813 814 815
	* process.c (Fformat_network_address): New function.
	(syms_of_process): Defsubr it.
	(list_processes_1): Use it to format :local/:remote address if
	service/host is not set; before emacs would crash in that case.
	(Fmake_network_process): Don't use Ffind_operation_coding_system
	to setup coding system if host or service is not set.
Francesco Potortì's avatar
Francesco Potortì committed
816

Andreas Schwab's avatar
.  
Andreas Schwab committed
817
2002-10-23  Juanma Barranquero  <lektu@terra.es>
818

Andreas Schwab's avatar
.  
Andreas Schwab committed
819
	Patch suggested by Jay Finger <jay_finger@hotmail.com>.
820

Andreas Schwab's avatar
.  
Andreas Schwab committed
821 822
	* w32term.c (w32_term_init): Pass XColor to w32_define_color, not
	COLORREF.
823

Andreas Schwab's avatar
.  
Andreas Schwab committed
824 825
	* macgui.h:
	* w32gui.h: Add definition of XColor.
826

Andreas Schwab's avatar
.  
Andreas Schwab committed
827 828 829
	* macfns.c:
	* w32fns.c:
	* xfaces.c: Remove definition of XColor.
Francesco Potortì's avatar
Francesco Potortì committed
830

Andreas Schwab's avatar
.  
Andreas Schwab committed
831
2002-10-22  Stefan Monnier  <monnier@cs.yale.edu>
Francesco Potortì's avatar
Francesco Potortì committed
832

Andreas Schwab's avatar
.  
Andreas Schwab committed
833
	* xfns.c (x_set_name, x_set_title): `icon.value' has unsigned char.
834

Andreas Schwab's avatar
.  
Andreas Schwab committed
835 836 837 838 839
	* window.c (window_loop): For GET_LRU_WINDOW and GET_LARGEST_WINDOW>,
	Only ignore truly dedicated windows.  For UNSHOW_BUFFER, delete the
	window if it is dedicated.
	(Fshrink_window): Add preserve_before as was done for enlarge_window.
	(Vspecial_display_function): Update docstring.
840

Andreas Schwab's avatar
.  
Andreas Schwab committed
841 842 843
	* buffer.c (assoc_ignore_text_properties, Fother_buffer, Fkill_buffer)
	(call_overlay_mod_hooks): Use CONSP and XCAR/XCDR.
	(Fget_buffer_create, advance_to_char_boundary): Use BEG and BEG_BYTE;
844

Andreas Schwab's avatar
.  
Andreas Schwab committed
845
2002-10-21  Stefan Monnier  <monnier@cs.yale.edu>
846

Andreas Schwab's avatar
.  
Andreas Schwab committed
847 848
	* casefiddle.c (casify_region): Don't treat a prefix char as part
	of a word when at the beginning.
849

Andreas Schwab's avatar
.  
Andreas Schwab committed
850
2002-10-17  Juanma Barranquero  <lektu@terra.es>
851

Andreas Schwab's avatar
.  
Andreas Schwab committed
852
	* lread.c (syms_of_lread): Fix typos.
853

Andreas Schwab's avatar
.  
Andreas Schwab committed
854
2002-10-17  Dave Love  <fx@gnu.org>
855

Andreas Schwab's avatar
.  
Andreas Schwab committed
856
	* Makefile.in (TEMACS_LDFLAGS): Add trailing comment.
857

Andreas Schwab's avatar
.  
Andreas Schwab committed
858
2002-10-16  Richard M. Stallman  <rms@gnu.org>
859

Andreas Schwab's avatar
.  
Andreas Schwab committed
860
	* fileio.c (Fcopy_file): Fix backward test of KEEP_TIME.
861

Andreas Schwab's avatar
.  
Andreas Schwab committed
862
2002-10-14  Juanma Barranquero  <lektu@terra.es>
Francesco Potortì's avatar
Francesco Potortì committed
863

Andreas Schwab's avatar
.  
Andreas Schwab committed
864 865
	* w16select.c (syms_of_win16select): Fix docstring for
	`selection-coding-system'.
Kenichi Handa's avatar
Kenichi Handa committed
866

Andreas Schwab's avatar
.  
Andreas Schwab committed
867
	* w32select.c (syms_of_w32select): Likewise.
Kenichi Handa's avatar
Kenichi Handa committed
868

Andreas Schwab's avatar
.  
Andreas Schwab committed
869
2002-10-14  Stefan Monnier  <monnier@cs.yale.edu>
Kenichi Handa's avatar
Kenichi Handa committed
870

Andreas Schwab's avatar
.  
Andreas Schwab committed
871 872 873
	* syntax.c (scan_lists): Don't get fooled by a symbol ending with
	a backslash-quoted char.
	(scan_lists, scan_sexps_forward): Pacify the compiler.
Kenichi Handa's avatar
Kenichi Handa committed
874

Andreas Schwab's avatar
.  
Andreas Schwab committed
875
2002-10-13  Richard M. Stallman  <rms@gnu.org>
876

Andreas Schwab's avatar
.  
Andreas Schwab committed
877
	* window.c (window_scroll): Set immediate_quit.
878

Andreas Schwab's avatar
.  
Andreas Schwab committed
879 880 881
	* print.c (print): When backquote form is the car of a list,
	output in old style.  Use old_backquote_output to output all
	comma forms inside it in old style too.
Stefan Monnier's avatar
Stefan Monnier committed
882

Andreas Schwab's avatar
.  
Andreas Schwab committed
883
	* buffer.h (struct buffer): Move `undo_list' down below `name'.
Stefan Monnier's avatar
Stefan Monnier committed
884

Andreas Schwab's avatar
.  
Andreas Schwab committed
885
2002-10-11  Markus Rost  <rost@math.ohio-state.edu>
Kenichi Handa's avatar
Kenichi Handa committed
886

Andreas Schwab's avatar
.  
Andreas Schwab committed
887 888
	* emacs.c (syms_of_emacs) <kill-emacs-hook>: Doc fix (not run in
	batch mode).
Kenichi Handa's avatar
Kenichi Handa committed
889

Andreas Schwab's avatar
.  
Andreas Schwab committed
890
	* lread.c (Fload): Doc fix (load-suffixes).
891

Andreas Schwab's avatar
.  
Andreas Schwab committed
892
2002-10-10  Steven Tamm  <steventamm@mac.com>
893

Andreas Schwab's avatar
.  
Andreas Schwab committed
894 895 896
	* macterm.c (syms_of_macterm, mac_get_mouse_btn):
	Reverse functionality of mac-wheel-button-is-mouse-2 to be correct.
	Also switch the default to Qnil from Qt.
897

Andreas Schwab's avatar
.  
Andreas Schwab committed
898
2002-10-08  Kenichi Handa  <handa@m17n.org>
899

Andreas Schwab's avatar
.  
Andreas Schwab committed
900 901 902
	* coding.c (code_convert_region): When we need more GAP for
	conversion, pay attention to the case that coding->produced is not
	greater than coding->consumed.
Kim F. Storm's avatar
Kim F. Storm committed
903

Andreas Schwab's avatar
.  
Andreas Schwab committed
904
2002-10-07  Richard M. Stallman  <rms@gnu.org>
Kim F. Storm's avatar
Kim F. Storm committed
905

Andreas Schwab's avatar
.  
Andreas Schwab committed
906
	* unexelf.c (unexec): Redo 9/16 change, but only if IRIX6_5.
907

Andreas Schwab's avatar
.  
Andreas Schwab committed
908
2002-10-06  Andrew Choi  <akochoi@shaw.ca>
909

Andreas Schwab's avatar
.  
Andreas Schwab committed
910 911
	* macmenu.c (mac_menu_show): Add j to count menu items; match
	menu_item_selection to it to find selected item.
912

Andreas Schwab's avatar
.  
Andreas Schwab committed
913
2002-10-06  Jan Dj,Ad(Brv  <jan.h.d@swipnet.se>
914

Andreas Schwab's avatar
.  
Andreas Schwab committed
915 916 917 918
	* xterm.c (XTread_socket): Fix from 2002-10-03 didn't cover all
	cases.  The correct fix is to pass ReparentNotify to Xt.
	The shell widget interprets ConfigureNotify differently depending
	on if it has been reparented or not.
919

Andreas Schwab's avatar
.  
Andreas Schwab committed
920
2002-10-05  Markus Rost  <rost@math.ohio-state.edu>
921

Andreas Schwab's avatar
.  
Andreas Schwab committed
922
	* editfns.c (Fformat_time_string): Doc fix.
Dave Love's avatar
Dave Love committed
923

Andreas Schwab's avatar
.  
Andreas Schwab committed
924
2002-10-05  John Paul Wallington  <jpw@shootybangbang.com>
Dave Love's avatar
Dave Love committed
925

Andreas Schwab's avatar
.  
Andreas Schwab committed
926
	* fns.c (Flength): Doc fix.
927

Andreas Schwab's avatar
.  
Andreas Schwab committed
928
2002-10-04  Stefan Monnier  <monnier@cs.yale.edu>
929

Andreas Schwab's avatar
.  
Andreas Schwab committed
930 931 932 933
	* keyboard.c (keyremap): New struct.
	(read_key_sequence): Use it: globally replace keytran_foo with
	keytran.foo and fkey_foo with fkey.foo.  Rename temp vars
	keytran_next and fkey_next to just `next'.
934

Andreas Schwab's avatar
.  
Andreas Schwab committed
935
2002-10-04  Steven Tamm  <steventamm@mac.com>
936

Andreas Schwab's avatar
.  
Andreas Schwab committed
937 938
	* macterm.c (keycode_to_xkeysym_table): Change return to be
	treated like an X keysym.
939

Andreas Schwab's avatar
.  
Andreas Schwab committed
940
2002-10-03  Jan Dj,Ad(Brv  <jan.h.d@swipnet.se>
941

Andreas Schwab's avatar
.  
Andreas Schwab committed
942 943 944
	* xterm.c (XTread_socket): For ConfigureNotify, with x and y == 0,
	and USE_MOTIF, call XTranslateCoordinates to get the real x and y.
	This is to also handle x/y changes that occur because of a resize.
945

Andreas Schwab's avatar
.  
Andreas Schwab committed
946
2002-10-02  John Paul Wallington  <jpw@shootybangbang.com>
947

Andreas Schwab's avatar
.  
Andreas Schwab committed
948 949 950 951
	* frame.c (Vdelete_frame_functions): New variable.
	(syms_of_frame): Initialize and defvar it.
	(Fdelete_frame): Use it instead of delete-frame-hook.  Don't run
	it when frame's `tooltip' parameter is non-nil.
952

Andreas Schwab's avatar
.  
Andreas Schwab committed
953
	* xfns.c (x_create_tip_frame): Set `tooltip' frame parameter to t.
954

Andreas Schwab's avatar
.  
Andreas Schwab committed
955
	* w32fns.c (x_create_tip_frame): Likewise.
956

Andreas Schwab's avatar
.  
Andreas Schwab committed
957
	* macfns.c (x_create_tip_frame): Likewise.
958

Andreas Schwab's avatar
.  
Andreas Schwab committed
959
2002-09-30  Kenichi Handa  <handa@m17n.org>
960

Andreas Schwab's avatar
.  
Andreas Schwab committed
961 962
	* xterm.c (x_encode_char): For DIM=1 charset, set ccl->reg[2] to
	-1 before calling ccl_driver.
963

Andreas Schwab's avatar
.  
Andreas Schwab committed
964 965 966
	* coding.c (decode_coding_emacs_mule): Check coding->cmp_data.
	Only when it is non-nil, handle composition sequence.
	(setup_coding_system) <0>: Don't force composition handling.
967

Andreas Schwab's avatar
.  
Andreas Schwab committed
968
	* Makefile.in (lisp, shortlisp): Add utf-16.elc
969

Andreas Schwab's avatar
.  
Andreas Schwab committed
970
2002-09-29  Richard M. Stallman  <rms@gnu.org>
971

Andreas Schwab's avatar
.  
Andreas Schwab committed
972 973
	* search.c (Freplace_match): Adjust match data for the substitution
	just made in the buffer.
Francesco Potortì's avatar
Francesco Potortì committed
974

Andreas Schwab's avatar
.  
Andreas Schwab committed
975 976
	* xdisp.c (STOP_POLLING, RESUME_POLLING): New macros.
	(redisplay_internal): Use them.  Do RESUME_POLLING at end of function.
Francesco Potortì's avatar
Francesco Potortì committed
977

Andreas Schwab's avatar
.  
Andreas Schwab committed
978
2002-09-27  Richard M. Stallman  <rms@gnu.org>
979

Andreas Schwab's avatar
.  
Andreas Schwab committed
980 981
	* keyboard.c (STOP_POLLING, RESUME_POLLING): New macros.
	(read_char): Use them.  Do all exits thru the end of the function.
982

Andreas Schwab's avatar
.  
Andreas Schwab committed
983
2002-09-27  Kenichi Handa  <handa@etl.go.jp>
984

Andreas Schwab's avatar
.  
Andreas Schwab committed
985 986
	* xfaces.c (try_font_list): Pay attention to the case that FAMILY
	is nil.
987

Andreas Schwab's avatar
.  
Andreas Schwab committed
988
2002-09-26  Richard M. Stallman  <rms@gnu.org>
Dave Love's avatar
Dave Love committed
989

Andreas Schwab's avatar
.  
Andreas Schwab committed
990
	* regex.h (__restrict_arr): Don't define if already defined.
Dave Love's avatar
Dave Love committed
991

Andreas Schwab's avatar
.  
Andreas Schwab committed
992 993
	* coding.c (run_pre_post_conversion_on_str):
	Save and restore Vdeactivate_mark.
Andreas Schwab's avatar
.  
Andreas Schwab committed
994

Andreas Schwab's avatar
.  
Andreas Schwab committed
995
2002-09-26  John Paul Wallington  <jpw@shootybangbang.com>
Andreas Schwab's avatar
.  
Andreas Schwab committed
996

Andreas Schwab's avatar
.  
Andreas Schwab committed
997
	* minibuf.c (Fminibufferp): Add an optional `buffer' argument.
998

Andreas Schwab's avatar
.  
Andreas Schwab committed
999
2002-09-26  Kenichi Handa  <handa@etl.go.jp>
1000