ChangeLog 264 KB
Newer Older
1 2 3 4
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.

5 6 7 8 9 10 11 12 13 14 15
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
16 17
2003-02-18  Kim F. Storm  <storm@cua.dk>

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

21 22 23 24
2003-02-18  Andrew Choi  <akochoi@shaw.ca>

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

Andreas Schwab's avatar
.  
Andreas Schwab committed
25 26 27 28 29 30 31 32
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
33 34 35 36 37 38 39 40 41
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.
	
42 43 44 45 46 47 48 49
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.

50 51 52 53 54 55 56 57 58
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.

59 60 61 62
2003-02-17  Kenichi Handa  <handa@m17n.org>

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

63 64 65 66 67
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
68 69 70 71
2003-02-14  Dave Love  <fx@gnu.org>

	* fns.c (Flanginfo): Doc fix.

72 73
2003-02-13  Kim F. Storm  <storm@cua.dk>

74 75 76 77 78
	* 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.

79 80 81
	* search.c (Fmatch_data): Doc fix.  Explicitly state that
	match-data is undefined if last search failed.

82 83 84
	* keymap.c (Fcommand_remapping): Renamed from Fremap_command.
	All uses changed.

Juanma Barranquero's avatar
Juanma Barranquero committed
85 86 87 88
2003-02-12  Juanma Barranquero  <lektu@terra.es>

	* eval.c (Fdefmacro): Fix typo.

89 90 91 92 93 94
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
95 96 97 98
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
99 100 101 102
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
103 104 105 106 107
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
108 109
2003-02-10  Kenichi Handa  <handa@m17n.org>

110 111
	* fns.c (Fstring_to_multibyte): Fix typo in the docstring.

Kenichi Handa's avatar
Kenichi Handa committed
112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142
	* 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
143 144 145 146 147 148
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
149 150 151 152 153
2003-02-08  Andreas Schwab  <schwab@suse.de>

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

154 155 156 157 158 159 160 161
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.
	

162 163 164 165 166 167 168 169
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.

170 171 172 173 174 175 176 177 178 179 180 181 182 183 184
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
185 186 187 188
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
189 190 191 192 193 194 195
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.

196 197
2003-02-01  Jason Rumney  <jasonr@gnu.org>

Jason Rumney's avatar
Jason Rumney committed
198 199 200 201 202 203 204 205
	* 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.

206 207 208
	* fileio.c (Fcopy_file) [WINDOWSNT]: Reverse logic for setting
	timestamp.

Dave Love's avatar
Dave Love committed
209 210 211 212 213
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
214 215 216 217 218 219 220 221 222 223 224 225 226
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
227 228 229 230
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
231 232 233
	(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
234
	through pointers determined at runtime.
Juanma Barranquero's avatar
Juanma Barranquero committed
235 236
	(init_external_image_libraries): Try to load libungif.dll and
	libtiff.dll.
Juanma Barranquero's avatar
Juanma Barranquero committed
237

Kenichi Handa's avatar
Kenichi Handa committed
238 239 240 241 242 243
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.

244 245 246 247
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
248 249 250 251 252 253
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.

254 255 256 257
2003-01-30  Juanma Barranquero  <lektu@terra.es>

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

Jason Rumney's avatar
Jason Rumney committed
258 259 260 261 262
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
263 264 265 266 267
2003-01-29  Kenichi Handa  <handa@m17n.org>

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

268 269 270 271 272 273 274
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.

275 276 277 278 279
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.

280 281 282 283 284
2003-01-27  Juanma Barranquero  <lektu@terra.es>

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

285 286 287 288 289 290
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.

291
2003-01-26  Jan Dj,Ad(Brv  <jan.h.d@swipnet.se>
292 293 294 295

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

Jason Rumney's avatar
Jason Rumney committed
296 297 298 299 300 301 302 303 304
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.

305 306 307 308 309 310 311 312 313 314 315 316
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.

317
2003-01-25  Jan Dj,Ad(Brv  <jan.h.d@swipnet.se>
Jan Djärv's avatar
Jan Djärv committed
318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333

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

334 335 336 337 338 339
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
340 341 342 343 344 345 346
	(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.
347

348 349 350 351
2003-01-24  Andreas Schwab  <schwab@suse.de>

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

352
2003-01-24  Jan Dj,Ad(Brv  <jan.h.d@swipnet.se>
353 354 355 356

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

357 358 359 360 361 362 363 364
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__.

365 366 367 368 369 370 371 372
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.

373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409
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
410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433
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
434 435
2003-01-21  David Ponce  <david@dponce.com>

Jason Rumney's avatar
Jason Rumney committed
436 437 438
	* 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
439
	2002-09-30.)
Jason Rumney's avatar
Jason Rumney committed
440 441 442 443 444 445 446
	(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.

447 448 449 450
2003-01-21  Richard Dawe  <rich@phekda.freeserve.co.uk>  (tiny change)

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

451
2003-01-21  Jan Dj,Ad(Brv  <jan.h.d@swipnet.se>
452 453 454

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

Dave Love's avatar
Dave Love committed
455 456 457 458 459 460 461 462 463 464 465 466
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.

467 468 469 470 471 472 473 474 475 476 477 478
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.

479 480 481 482 483
2003-01-20  Steven Tamm  <steventamm@mac.com>

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

484 485 486 487 488
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.

489
2003-01-20  Jan Dj,Ad(Brv  <jan.h.d@swipnet.se>
Jan Djärv's avatar
Jan Djärv committed
490 491 492 493

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

494
2003-01-19  Jan Dj,Ad(Brv  <jan.h.d@swipnet.se>
Jan Djärv's avatar
Jan Djärv committed
495

Jan Djärv's avatar
Jan Djärv committed
496 497 498
	* xterm.c (handle_one_xevent): Surround popup_activated
	with #ifdef:s for non-toolkit version.

Jan Djärv's avatar
Jan Djärv committed
499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 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
	* Makefile.in (XOBJ): Add gtkutil.o if USE_GTK
	(gtkutil.o): New file.
	(TOOLKIT_DEFINES): Set to -DUSE_GTK if HAVE_GTK.
	(LIBW): Set to @GTK_LIBS@ if USE_GTK.

	* gtkutil.c: New file for GTK version.

	* gtkutil.h: New file for GTK version.

	* xterm.h: Add xt_or_gtk_widget.
	Include gtk files for USE_GTK.
	(struct x_output): Add toolbar_height.
	(struct x_output): Add GTK widgets and Gdk size_hints.
	(GTK_WIDGET_TO_X_WIN, FRAME_GTK_OUTER_WIDGET, FRAME_GTK_WIDGET)
	(FRAME_OUTER_WINDOW): New macros for USE_GTK.
	(FRAME_OUTER_TO_INNER_DIFF_Y): Add FRAME_TOOLBAR_HEIGHT to calculation.

	* xterm.c: Include gtkutil.h for USE_GTK.
	Declare extern void free_frame_menubar for USE_GTK.
	(note_mouse_highlight): Check popup_activated for USE_GTK.
	(xt_action_hook): Don't compile if USE_GTK.
	(x_scroll_bar_to_input_event): Use CurrentTime for USE_GTK.
	(xg_scroll_callback): New function.
	(x_create_toolkit_scroll_bar): Call xg_create_scroll_bar for USE_GTK.
	(x_set_toolkit_scroll_bar_thumb): Call xg_set_toolkit_scroll_bar_thumb
	for USE_GTK.
	(x_scroll_bar_create): Call xg_update_scrollbar_pos and
	xg_show_scroll_bar for USE_GTK.
	(x_scroll_bar_remove): Call xg_remove_scroll_bar for USE_GTK.
	(XTset_vertical_scroll_bar): Call xg_update_scrollbar_pos for USE_GTK.
	(event_handler_gdk): New function for USE_GTK.
	(handle_one_xevent): Call xg_resize_widgets for USE_GTK.
	(handle_one_xevent): Make sure widget is mapped before
	calling x_real_positions for USE_GTK.
	(XTread_socket): Add GTK event loop for USE_GTK.
	(x_set_window_size): Call xg_frame_set_char_size for USE_GTK.
	(x_make_frame_visible): Call gtk_widget_show_all for USE_GTK.
	(x_make_frame_invisible): Call gtk_widget_hide for USE_GTK.
	(x_iconify_frame): Add code for USE_GTK.
	(x_free_frame_resources): Call gtk_widget_destroy for USE_GTK.
	(x_wm_set_size_hint): Only compile if not USE_GTK.  GTK version
	is in gtkutil.c.
	(x_term_init): Add initialization for GTK.
	(syms_of_xterm): Set Vx_toolkit_scroll_bars for USE_GTK.

	* xmenu.c: Include gtkutil.h for USE_GTK.
	(Fx_popup_menu): Use current position if x and y is NIL.
	(single_menu_item, single_menu_item, Fx_popup_dialog): Check
	for USE_GTK.
	(popup_widget_loop): New function for USE_GTK.
	(x_activate_menubar): Add code for USE_GTK.
	(popup_activate_callback, popup_deactivate_callback)
	(menu_highlight_callback, menubar_selection_callback): USE_GTK versions
	added.
	(update_frame_menubar): Call xg_update_frame_menubar for USE_GTK.
	(set_frame_menubar): Call xg_modify_menubar_widgets for USE_GTK.
	(free_frame_menubar): Only compile if not USE_GTK.  GTK version
	is in gtkutil.c.
	(popup_selection_callback): New version for USE_GTK.
	(create_and_show_popup_menu): New fuction, one USE_GTK version and
 	one USE_X_TOOLKIT version.
	(xmenu_show): Call create_and_show_popup_menu.
	(dialog_selection_callback): New version for USE_GTK.
	(create_and_show_dialog): New fuction, one USE_GTK version and
 	one USE_X_TOOLKIT version.
	(xdialog_show): Call create_and_show_dialog.

	* xfns.c: Include gtkutil for USE_GTK.
	(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 code for USE_GTK.
	(x_set_background_color): Call xg_set_background_color for GTK.
	(x_set_menu_bar_lines): Check for USE_GTK.
	(x_set_tool_bar_lines): Call update_frame_tool_bar for USE_GTK.
	(x_set_name, x_set_title): Call gtk_window_set_title for USE_GTK.
	(x_window): Call xg_create_frame_widgets for USE_GTK.
	(Fx_create_frame): Check for USE_GTK
	(Fx_file_dialog): New implementation for USE_GTK.

	* xdisp.c: Add check for USE_GTK for extern void set_frame_menubar.
	(update_menu_bar): Add check for USE_GTK.
	(update_tool_bar): Add check for USE_GTK and external tool bar.
	(redisplay_tool_bar): Add check for USE_GTK and external tool bar.
	(redisplay_internal): Add check for USE_GTK and popup_activated.
	(redisplay_window): Add check for USE_GTK and FRAME_EXTERNAL_MENU_BAR.
	(redisplay_window): Add check for USE_GTK and FRAME_EXTERNAL_TOOL_BAR.
	(display_menu_bar): Add check for USE_GTK

	* lisp.h: Declare Vx_resource_name extern.

	* keyboard.c (kbd_buffer_get_event):  Check MENU_BAR_ACTIVATE_EVENT
	for USE_GTK.
	(make_lispy_event): Check MENU_BAR_EVENT for USE_GTK.

	* frame.h (struct frame): Add external_tool_bar.  Check for USE_GTK.
	(FRAME_EXTERNAL_TOOL_BAR): New macro.
	(FRAME_EXTERNAL_MENU_BAR): Check for USE_GTK.

	* fileio.c (Fread_file_name): Add check for USE_GTK.

	* dispnew.c (adjust_frame_glyphs_for_window_redisplay): Add
	check for USE_GTK.

	* config.in: Added HAVE_GTK

	* alloc.c (Fgarbage_collect): Call xg_mark_data for GTK.

Stefan Monnier's avatar
Stefan Monnier committed
606 607 608 609
2003-01-18  Stefan Monnier  <monnier@cs.yale.edu>

	* charset.h (Funibyte_char_to_multibyte): Export.

610
2003-01-18  Jan Dj,Ad(Brv  <jan.h.d@swipnet.se>
611 612 613 614 615

	* xmenu.c (mouse_position_for_popup): New function.
	(Fx_popup_menu): Call mouse_position_for_popup for X and
	mouse_position_hook for others.

Kim F. Storm's avatar
Kim F. Storm committed
616 617 618 619 620
2003-01-17  Kim F. Storm  <storm@cua.dk>

	* editfns.c (Finsert): Mention `string-make-multibyte' and
	`string-as-multibyte' in doc string.

Kenichi Handa's avatar
Kenichi Handa committed
621 622
2003-01-17  Kenichi Handa  <handa@m17n.org>

Kenichi Handa's avatar
Kenichi Handa committed
623 624
	* fontset.c (syms_of_fontset): Setup Vfont_encoding_alist here.

Kenichi Handa's avatar
Kenichi Handa committed
625 626 627 628
	* editfns.c (Fformat): Convert an unibyte char argument that is
	formatted by "%c" to multibyte if the total result must be a
	multibyte string.

Kim F. Storm's avatar
Kim F. Storm committed
629 630 631 632 633
2003-01-16  Kim F. Storm  <storm@cua.dk>

	* process.c (set-process-filter): Document unibyte/multibyte-ness
	of string argument.

Kenichi Handa's avatar
Kenichi Handa committed
634 635 636 637 638 639 640
2003-01-16  Kenichi Handa  <handa@m17n.org>

	* charset.h (NEXT_CHAR_BOUNDARY, PREV_CHAR_BOUNDARY): New macros.

	* regex.c (GET_CHAR_BEFORE_2): Use PREV_CHAR_BOUNDARY.
	(re_search_2): Likewise.

Kenichi Handa's avatar
Kenichi Handa committed
641 642 643 644 645
2003-01-15  Kenichi Handa  <handa@m17n.org>

	* xdisp.c (message_dolog): Fix bug of the case that *Message*
	buffer is unibyte.

Francesco Potortì's avatar
Francesco Potortì committed
646 647 648 649 650 651 652 653 654 655 656 657 658 659
2003-01-15  Francesco Potort,Al(B  <pot@gnu.org>

	* fns.c (Fsubstring): Clarify doc string.

	* textprop.c (Ftext_properties_at, Fnext_char_property_change)
	(Fprevious_char_property_change)
	(Fnext_single_char_property_change)
	(Fprevious_single_char_property_change, Fnext_property_change)
	(Fnext_single_property_change, Fprevious_property_change)
	(Fprevious_single_property_change, Fadd_text_properties)
	(Fput_text_property, Fset_text_properties)
	(Fremove_text_properties, Fremove_list_of_text_properties)
	(Ftext_property_any, Ftext_property_not_all): Clarify doc strings.

Kim F. Storm's avatar
Kim F. Storm committed
660 661 662 663 664 665 666 667 668 669 670 671
2003-01-14  Kim F. Storm  <storm@cua.dk>

	* process.h (struct Lisp_Process): New member plist replaces old
	member private_vars.  All uses changed.

	* process.c: Reworked 2003-01-12 change -- call a plist a plist!
	(QCplist): Renamed from QCvars.  All uses changed.
	(Fprocess_plist): Replaces Fprocess_variable.  Simplified.
	(Fset_process_plist): Replaces Fset_process_variable.  Simplified.
	(syms_of_process): Intern, staticpro, defsubr these.
	(Fmake_network_process): Describe :plist arg.  Removed :vars arg.

Francesco Potortì's avatar
Francesco Potortì committed
672 673 674 675
2003-01-14  Francesco Potort,Al(B  <pot@gnu.org>

	* m/delta.h: Removed (obsolete).

Francesco Potortì's avatar
Francesco Potortì committed
676 677 678 679 680 681
2003-01-13  Francesco Potort,Al(B  <pot@gnu.org>

	* fileio.c (Fdelete_directory, Fdelete_file): Document the
	behaviour in front of symlinks.
	(Fdelete_file): Raise an error on directories.

Dave Love's avatar
Dave Love committed
682 683 684 685
2003-01-13  Dave Love  <fx@gnu.org>

	* fns.c (Freverse): Use QUIT.

686 687
2003-01-13  Richard M. Stallman  <rms@gnu.org>

Francesco Potortì's avatar
Francesco Potortì committed
688
	* minibuf.c (minibuffer_completion_contents):
689 690 691 692 693 694 695 696
	Error if point is inside prompt.

	* keyboard.c (command_loop_1): Don't redisplay directly
	if there's a post-command-hook.

	* fileio.c (syms_of_fileio) <directory-sep-char>: Doc fix.
	(Fdo_auto_save): Add gcpros around Ffile_name_directory.

Kim F. Storm's avatar
Kim F. Storm committed
697 698
2003-01-12  Kim F. Storm  <storm@cua.dk>

699 700
	* process.h (struct Lisp_Process): New member private_vars.

Kim F. Storm's avatar
Kim F. Storm committed
701
	* process.c (QCvars): New variable.
702
	(syms_of_process): Intern and staticpro it.
Kim F. Storm's avatar
Kim F. Storm committed
703
	(Fset_process_contact): Removed function.
704 705 706 707 708 709 710 711
	(Fprocess_variable, Fset_process_variable): New functions.
	(syms_of_process): Defsubr them.
	(Fstart_process): Initialize private_vars plist to nil.
	(Fmake_network_process): New arg :vars to setup the private
	variables for new network process.
	(server_accept_connection): Copy server's private variables to
	client process.

712 713 714 715
	* alloc.c (pure_alloc): Fixed 2003-01-10 changed (caused spurious
	crashes).  Code rewritten and simplified.  Now directly aligns the
	pointer and recalculates pure_bytes_used, rather than aligning the
	size and adjusting the pointer.
Kim F. Storm's avatar
Kim F. Storm committed
716

Kim F. Storm's avatar
Kim F. Storm committed
717 718 719 720 721 722
2003-01-11  Kim F. Storm  <storm@cua.dk>

	* process.c (Fset_process_contact): New function.
	(syms_of_process): defsubr it.
	(make-network-process): Update doc.

723 724 725 726 727
2003-01-10  Andreas Schwab  <schwab@suse.de>

	* alloc.c (pure_alloc): Correct alignment for Lisp_Floats.
	Reported by Berthold Gunreben <b.gunreben@web.de>.

728 729
2003-01-10  Dave Love  <fx@gnu.org>

Stefan Monnier's avatar
Stefan Monnier committed
730
	* composite.c (syms_of_composite): Make composition_hash_table weak.
731

Kim F. Storm's avatar
Kim F. Storm committed
732 733 734 735 736
2003-01-09  Kim F. Storm  <storm@cua.dk>

	* process.c (Fmake_network_process): Convert new port number
	to host byte order for `:service t' case.  From Mario Lang.

737
2003-01-08  Jan Dj,Ad(Brv  <jan.h.d@swipnet.se>
Jan Djärv's avatar
Jan Djärv committed
738 739 740 741

	* xfns.c (Fx_file_dialog): Call XtAppNextEvent and x_dispatch_event
	instead of XtAppProcessEvent.

Stefan Monnier's avatar
Stefan Monnier committed
742 743
	* xterm.c (handle_one_xevent): New function.
	(x_dispatch_event): New function.
Jan Djärv's avatar
Jan Djärv committed
744 745
	(XTread_socket): Call handle_one_xevent.

Stefan Monnier's avatar
Stefan Monnier committed
746
	* xterm.h (FRAME_OUTER_TO_INNER_DIFF_X/Y): New.
Jan Djärv's avatar
Jan Djärv committed
747 748 749 750 751 752 753

	* xmenu.c (Fx_popup_menu): If popping up at mouse position,
	call XQueryPointer to get coordinates.
	(popup_get_selection): Do not set popup_activated_flag to zero,
	let popup_deactivate_callback do that.  Needed for Motif.
	Call x_dispatch_event instead of XtDispatchEvent.
	(xmenu_show): Calculate root coordinate from frame top/left position.
Francesco Potortì's avatar
Francesco Potortì committed
754

Kim F. Storm's avatar
Kim F. Storm committed
755 756 757 758 759 760
2003-01-08  Kim F. Storm  <storm@cua.dk>

	* process.c (server_accept_connection): Fixed recording of new
	connection's local address in :local property of contact info.
	(Fmake_network_process): Record local network address for new
	client processes in :local property of contact info.
Kim F. Storm's avatar
Kim F. Storm committed
761
	(format-network-address): Added arg OMIT-PORT.  Callers changed.
Kim F. Storm's avatar
Kim F. Storm committed
762

Dave Love's avatar
Dave Love committed
763 764 765 766
2003-01-07  Dave Love  <fx@gnu.org>

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

Markus Rost's avatar
Markus Rost committed
767 768 769 770 771 772 773
2003-01-07  Markus Rost  <rost@math.ohio-state.edu>

	* minibuf.c (Fread_variable): Doc fix.

	* eval.c (Fuser_variable_p): Doc change.  For custom variables,
	use the same test as for custom-variable-p.

774 775 776 777 778 779
2003-01-05  Richard M. Stallman  <rms@gnu.org>

	* xdisp.c (try_scrolling): New arg LAST_LINE_MISFIT.
	Count LAST_LINE_MISFIT in scroll margin for end of window.
	Move label too_near_end before setting SCROLL_MARGIN_POS.
	Set LAST_LINE_MISFIT before jumping there.
Francesco Potortì's avatar
Francesco Potortì committed
780

781 782 783 784
	* xdisp.c (try_scrolling): Calculate amount_to_scroll better in
	scroll_conservatively case.  If scrolling that much doesn't change
	STARTP, move it down one line.

Stefan Monnier's avatar
Stefan Monnier committed
785 786
	* xdisp.c (redisplay_window): Pass last_line_misfit arg to
	try_scrolling.  Make it 1 after make_cursor_line_fully_visible fails.
Francesco Potortì's avatar
Francesco Potortì committed
787

Stefan Monnier's avatar
Stefan Monnier committed
788 789
	* xdisp.c (setup_echo_area_for_printing): Kill Emacs if no
	selected frame.
790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823

	* keymap.c (apropos_predicate, apropos_accumulate): Make them static.
	(syms_of_keymap): staticpro them.
	(Fapropos_internal): Initialize them and clear them out.
	Don't GCPRO them.

	* buffer.c (syms_of_buffer) <scroll-up-aggressively, scroll-down-aggressively>:
	Doc fixes.

	* lisp.h: New misc type Lisp_Save_Value.
	(enum Lisp_Misc_Type): Add Lisp_Misc_Save_Value.
	(XSAVE_VALUE): New macro.
	(struct Lisp_Save_Value): New data type.
	(union Lisp_Misc): Add u_save_value alternative.
	(make_save_value): Declared.

	* alloc.c (make_save_value): New function.

	* xterm.c (x_catch_errors): Save dpy using make_save_value.
	(x_catch_errors_unwind): Call XSync.

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

	* window.c (window_scroll_pixel_based): Partially undo last change.

	* keyboard.c (command_loop_1): Call adjust_point_for_property
	in direct action cases for Qforward_char and Qbackward_char.
	Set already_adjusted so it won't be done twice.

2002-12-30  Richard Dawe  <rich@phekda.freeserve.co.uk>  (tiny change)

	* src/config.in (!HAVE_SIZE_T): Fix order of arguments in
	type definition of size_t.

824 825 826 827 828
2003-01-02  Steven Tamm  <steventamm@mac.com>

	* macterm.c (syms_of_macterm): Provide the feature "mac-carbon" to
	distinguish Carbon GUI builds from X11 builds on darwin.

829 830
2002-12-30  Steven Tamm  <steventamm@mac.com>

Francesco Potortì's avatar
Francesco Potortì committed
831
	* macterm.c (syms_of_macterm): Set mac-wheel-button-is-mouse-2
832 833
	to default to t.

Francesco Potortì's avatar
Francesco Potortì committed
834 835 836 837
2002-12-29  Francesco Potort,Al(B  <pot@gnu.org>

	* data.c (Fstring_to_number, Fminus): Better English in doc strings.

838 839
2002-12-28  Steven Tamm  <steventamm@mac.com>

Francesco Potortì's avatar
Francesco Potortì committed
840 841
	* Makefile.in (macosx-bundle): Fixes to Mac OS X/Carbon port to
	allow building in a different directory than source.  Uses some
842 843
	GNU Make extensions, but there is no other make on Mac OS X.

Francesco Potortì's avatar
Francesco Potortì committed
844 845 846 847
2002-12-26  Francesco Potort,Al(B  <pot@gnu.org>

	* data.c (Fmakunbound, Ffmakunbound, Fmake_variable_buffer_local)
	(Fsetq_default, Fmake_local_variable, Fkill_local_variable)
Stefan Monnier's avatar
Stefan Monnier committed
848 849
	(Fmake_variable_frame_local, Faset, Fnumber_to_string, Fminus)
	(Fstring_to_number): Mention the returned value in the doc strings.
Francesco Potortì's avatar
Francesco Potortì committed
850

851 852 853 854 855 856 857 858 859 860 861 862 863
2002-12-23  Richard M. Stallman  <rms@gnu.org>

	* buffer.c (syms_of_buffer) <scroll-up-aggressively>
	<scroll-down-aggressively>: Doc fix.

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

	* window.c (window_scroll_pixel_based): Fix check for reaching BEGV.
	Don't try to make last line fully visible if it is past end of window.

864 865
2002-12-22  Steven Tamm  <steventamm@mac.com>

Stefan Monnier's avatar
Stefan Monnier committed
866 867 868 869 870
	* macmenu.c (MIN_POPUP_SUBMENU_ID): Add.
	(mac_menu_show): Add support for hierarchical popup menus.
	(add_menu_item): Remove indentation support.
	(fill_submenu, fill_menu): Create hierarchical menus
	instead of using indentation.
871

872 873 874 875 876 877 878
2002-12-22  Richard M. Stallman  <rms@gnu.org>

	* xdisp.c (try_cursor_movement): Don't call try_window here.
	(redisplay_window): Never redisplay minibuffer when inactive.

	* window.c (select_window_1): Undo 9/21 change.

879 880 881 882 883 884 885
2002-12-22  Steven Tamm  <steventamm@mac.com>

	* macterm.c (XTread_socket): Call KeyTranslate for control and
	meta to deal correctly shifted non-alpha characters, like C-S-5
	being treated like C-%.  Does not look for shift key to deal
	with masking off control-key with mac-reverse-ctrl-meta.

886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904
2002-12-21  Richard M. Stallman  <rms@gnu.org>

	* xmenu.c (popup_get_selection): Now static.  New arg DO_TIMERS.
	If it is non-nil, run timers.  Use an unwind-protect to requeue
	the events that were read ahead.
	(popup_get_selection_unwind): New subroutine.
	(popup_get_selection_queue): File-scope variable now holds that queue.
	(xmenu_show): Pass 0 for DO_TIMERS to popup_get_selection.
	(xdialog_show): Pass 1 for DO_TIMERS to popup_get_selection.
	Use an unwind-protect to pop down the dialog box.
	(xdialog_show_unwind): New subroutine implements that.

	* xdisp.c (row_containing_pos): Change exit test using last_y.
	(try_window_id): Abort if row_containing_pos returns null.

	* lread.c (load_error_handler): New function.
	(Fload): Handle errors in Fsubstitute_in_file_name.
	Don't expect Fsignal to return.

905 906
	* eval.c: Errors and throws work right with interrupt blocking.
	(struct catchtag): New elt interrupt_input_blocked.
907
	(unwind_to_catch): Restore interrupt_input_blocked from saved value.
Francesco Potortì's avatar
Francesco Potortì committed
908
	(internal_catch, Fcondition_case, internal_condition_case)
909 910 911 912 913 914 915 916 917 918 919 920 921
	(internal_condition_case_1, internal_condition_case_2): Save it.
	(Fsignal): Don't do TOTALLY_UNBLOCK_INPUT.

	* editfns.c (Fformat): Add parens.

	* dired.c (file_name_completion): Fix that change.
	Delete special quit-handling code; just use QUIT.

2002-12-21  Tak Ota  <Takaaki.Ota@am.sony.com>  (tiny change)

	* dired.c (file_name_completion): Close directory on error
	just as in directory_files_internal.

David Kastrup's avatar
David Kastrup committed
922 923 924 925 926
2002-12-19  David Kastrup  <David.Kastrup@t-online.de>

	* window.c (Fset_window_configuration): Set old_point to correct
	value when new_current_buffer == current_buffer.

Juanma Barranquero's avatar
Juanma Barranquero committed
927
2002-12-17  Ben Key  <bkey1@tampabay.rr.com>
928

929
	Revisited my earlier fix for the following entry in etc/PROBLEMS:
930 931
	"Emacs built on Windows 9x/ME crashes at startup on Windows XP,
	or Emacs builtpart of on XP crashes at startup on Windows 9x/ME."
Francesco Potortì's avatar
Francesco Potortì committed
932

933 934 935 936 937 938 939 940 941 942 943 944 945 946
	These changes were in part based upon suggestions made by Peter
	'Luna' Runestig [peter@runestig.com].

	* w32.c (g_b_init_is_windows_9x, g_b_init_open_process_token,
	g_b_init_get_token_information, g_b_init_lookup_account_sid,
	g_b_init_get_sid_identifier_authority ): Added several static
	global variables.

	* w32.c (globals_of_w32): New function.  Used to initialize those
	global variables that must always be initialized on startup even
	when the global variable initialized is non zero.  Its primary
	purpose at this time is to set the global variables
	g_b_init_is_windows_9x, g_b_init_open_process_token,
	g_b_init_get_token_information, g_b_init_lookup_account_sid, and
Stefan Monnier's avatar
Stefan Monnier committed
947 948
	g_b_init_get_sid_identifier_authority to 0 on startup.
	Called from main.
949 950 951 952 953 954 955 956

	* w32.c (is_windows_9x): Perform initialization only if
	g_b_init_is_windows_9x is equal to 0.  On initialization set
	g_b_init_is_windows_9x equal to 1.

	* w32.c (open_process_token): Perform initialization only if
	g_b_init_open_process_token is equal to 0.  On initialization set
	g_b_init_open_process_token equal to 1.
Francesco Potortì's avatar
Francesco Potortì committed
957

958 959 960
	* w32.c (get_token_information): Perform initialization only if
	g_b_init_get_token_information is equal to 0.  On initialization
	set g_b_init_get_token_information equal to 1.
Francesco Potortì's avatar
Francesco Potortì committed
961

962
	* w32.c (lookup_account_sid): Perform initialization only if
Francesco Potortì's avatar
Francesco Potortì committed
963
	g_b_init_lookup_account_sid is equal to 0.  On initialization
964 965 966
	set g_b_init_lookup_account_sid equal to 1.

	* w32.c (get_sid_identifier_authority): Perform initialization
Stefan Monnier's avatar
Stefan Monnier committed
967 968
	only if g_b_init_get_sid_identifier_authority is equal to 0.
	On initialization set g_b_init_get_sid_identifier_authority equal to 1.
969 970 971

	* w32fns.c (globals_of_w32fns): New function. Used to initialize
	those global variables that must always be initialized on startup
Stefan Monnier's avatar
Stefan Monnier committed
972 973
	even when the global variable initialized is non zero.
	Its primary purpose at this time is to initialize the global variable
974 975 976
	track_mouse_event_fn.

	* w32fns.c (w32_wnd_proc):  Remove initialization of
Stefan Monnier's avatar
Stefan Monnier committed
977
	track_mouse_event_fn from the handler for the WM_SETFOCUS message.
978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008

	* w32fns.c (syms_of_w32fns): Call globals_of_w32fns.

	* w32menu.c (globals_of_w32menu):  New function. Used to
	initialize those global variables that must always be initialized
	on startup even when the global variable initialized is non zero.
	Its primary purpose at this time is to initialize the global
	variables get_menu_item_info and set_menu_item_info.

	* w32menu.c (initialize_frame_menubar): Remove initialization of
	get_menu_item_info and set_menu_item_info.

	* w32menu.c (syms_of_w32menu): Call globals_of_w32menu.

	* w32.h (globals_of_w32, globals_of_w32fns, globals_of_w32menu):
	Declare them.

	* emacs.c (main): Call globals_of_w32 prior to calling
	init_environment if WINDOWSNT is defined.  Call globals_of_w32fns
	and globals_of_w32menu if initialized is non zero and HAVE_NTGUI
	is defined.

	* w32term.c (x_update_window_begin): Fix Windows API error
	detected by BoundsChecker.  Test to determine if
	w32_system_caret_hwnd is NULL prior to attempting to use
	SendMessage to send the WM_EMACS_HIDE_CARET message to it.

	* w32term.c (x_update_window_end): Fix Windows API error
	detected by BoundsChecker.  Test to determine if
	w32_system_caret_hwnd is NULL prior to attempting to use
	SendMessage to send the WM_EMACS_SHOW_CARET message to it.
Francesco Potortì's avatar
Francesco Potortì committed
1009

Kenichi Handa's avatar
Kenichi Handa committed
1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021
2002-12-17  Kenichi Handa  <handa@m17n.org>

	* coding.c (coding_system_require_warning): New variable.
	(syms_of_coding): DEFVAR it.

	* coding.h (coding_system_require_warning): Extern it.

	* fileio.c (choose_write_coding_system): Even if
	Vcoding_system_for_write is non-nil, if
	coding_system_require_warning is nonzero, call
	Vselect_safe_coding_system_function.

1022 1023 1024 1025 1026
2002-12-17  Markus Rost  <rost@math.ohio-state.edu>

	* Makefile.in (lisp, shortlisp): Add cus-face and timer.
	(lisp): Add font-core.

Stefan Monnier's avatar
Stefan Monnier committed
1027 1028 1029 1030 1031 1032
2002-12-13  Stefan Monnier  <monnier@cs.yale.edu>

	* textprop.c (text_read_only): New arg `propval'.
	(get_char_property_and_overlay): Remove unused var `next_overlay'.
	(verify_interval_modification): Use text_read_only's new arg.

Kenichi Handa's avatar
Kenichi Handa committed
1033 1034 1035 1036
2002-12-13  Kenichi Handa  <handa@m17n.org>

	* coding.c (Funencodable_char_position): Set pend correctly.

1037 1038 1039 1040 1041 1042
2002-12-12  Jason Rumney  <jasonr@gnu.org>

	* w32term.c (last_mousemove_x, last_mousemove_y): New variables.
	(w32_read_socket) <WM_MOUSEMOVE>: Use them to detect non-movement.
	Be more careful about when help_events are generated.

1043 1044 1045 1046 1047 1048 1049
2002-12-12  Steven Tamm  <steventamm@mac.com>

	* macterm.c (mac_check_for_quit_char): Correctly set the
	modifiers of the event to 0.
	* mac.c (sys_select): Duplicate rfds before calling select to
	ensure that rfds survive the while loop.

Kim F. Storm's avatar
Kim F. Storm committed
1050 1051 1052 1053 1054
2002-12-11  Kim F. Storm  <storm@cua.dk>

	* xdisp.c (try_window_id): Don't call set_cursor_from_row if
	row_containing_pos returned NULL.

1055 1056 1057
2002-12-10  Steven Tamm  <steventamm@mac.com>

	* mac.c (sys_read): Fixed sys_read to not call select if IO is
Stefan Monnier's avatar
Stefan Monnier committed
1058
	non-blocking.
Steven Tamm's avatar
Steven Tamm committed
1059 1060
	(sys_select): Fixed sys_select to not use a timeout larger than
	the one given.
1061

1062 1063 1064 1065
2002-12-10  Juanma Barranquero  <lektu@terra.es>

	* editfns.c (Fformat): Use alloca, not _alloca.

1066 1067 1068 1069 1070
2002-12-09  Richard M. Stallman  <rms@gnu.org>

	* buffer.c (Fget_buffer_create): Call Qucs_set_table_for_input
	as the last thing.

Dave Love's avatar
Dave Love committed
1071 1072
2002-12-09  Dave Love  <fx@gnu.org>

1073
	* s/sol2-8.h: Removed.  (Not necessary.)
Dave Love's avatar
Dave Love committed
1074

1075
2002-12-09  Matthew Swift  <swift@alum.mit.edu>
1076 1077 1078

	* editfns.c (Fformat): Handle precision in string conversion
	specifiers like libc functions do (ie, print at most that many
1079
	characters).
1080

1081 1082 1083 1084 1085
2002-12-08  Richard M. Stallman  <rms@gnu.org>

	* xdisp.c (row_containing_pos): Check more carefully
	whether charpos is really in the row before returning it.

1086 1087
2002-12-07  Steven Tamm  <steventamm@mac.com>

Kim F. Storm's avatar
Kim F. Storm committed
1088
	* sysdep.c (emacs_read) [HAVE_CARBON]: Have emacs_read use sys_read.
1089

Kim F. Storm's avatar
Kim F. Storm committed
1090 1091
	* eval.c (Feval) [HAVE_CARBON]: Calls mac_check_for_quit_char at
	each stack frame.  This may change as it could be time consuming.
1092 1093 1094

	* macterm.c (mac_check_for_quit_char, quit_char_comp)
	(init_quit_char_handler, mac_determine_quit_char_modifiers)
Markus Rost's avatar
Markus Rost committed
1095
	(mac_initialize): Added code to check for pressing of quit_char
Stefan Monnier's avatar
Stefan Monnier committed
1096
	in the OS event queue.
1097 1098 1099

	* mac.c (sys_select): Call mac_check_for_quit_char every second
	while blocking on select.
1100

1101
	* mac.c (sys_read): Use sys_select to test for input first
1102
	before calling read, to allow C-g to break.
1103

1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118
2002-12-07  Richard M. Stallman  <rms@gnu.org>

	* minibuf.c (Fcompleting_read): Doc fix.

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

	* fileio.c (Fcopy_file): Set immediate_quit around emacs_open call.

	* eval.c (Fdefun, Fdefmacro): Record in load-history redefining an
	autoload.

	* data.c (Fdefalias): Record in load-history redefining an autoload.

	* alloca.c: Undo ifdef change accidentally made on 12-04.

Francesco Potortì's avatar
Francesco Potortì committed
1119 1120
2002-12-06  Francesco Potorti`  <pot@gnu.org>

Stefan Monnier's avatar
Stefan Monnier committed
1121
	* xfns.c (png_load): Avoid double gamma correction for PNG images.
Francesco Potortì's avatar
Francesco Potortì committed
1122

1123 1124 1125 1126 1127 1128 1129 1130
2002-12-04  Richard M. Stallman  <rms@gnu.org>

	* sysdep.c (fcntl.h): Test only HAVE_FCNTL_H.

	* fileio.c (fcntl.h): Test only HAVE_FCNTL_H.

	* alloca.c: Don't use #error.

Dave Love's avatar
Dave Love committed
1131 1132 1133 1134 1135 1136 1137
2002-12-03  Dave Love  <fx@gnu.org>

	* buffer.c (Qucs_set_table_for_input): New.
	(Fget_buffer_create): Use it.
	(Qset_buffer_major_mode_hook): Deleted.
	(Fset_buffer_major_mode): Revert previous change.
	(init_buffer_once): Intern ucs-set-table-for-input.
Stefan Monnier's avatar
Stefan Monnier committed
1138 1139
	(syms_of_buffer): Delete Qset_buffer_major_mode_hook.
	Add &Qucs_set_table_for_input.
Dave Love's avatar
Dave Love committed
1140

Andreas Schwab's avatar
.  
Andreas Schwab committed
1141 1142 1143 1144 1145
2002-12-03  Andreas Schwab  <schwab@suse.de>

	* callint.c (Fcall_interactively): Use next_event only if less
	than key_count.

1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156
2002-12-02  Andrew Choi  <akochoi@shaw.ca>

	* macmenu.c (add_menu_item, fill_menubar): Truncate menu item
	names to 255 characters.

	* macterm.c (XTread_socket): If all frames have been collapsed,
	expand the first one before handling drag-and-drop events.

	* s/darwin.h (GETPGRP_NO_ARG): Delete.  Replaced by GETPGRP_VOID,
	which is detected by autoconf.

1157 1158
2002-12-01  Steven Tamm  <steventamm@mac.com>

Markus Rost's avatar
Markus Rost committed
1159
	* unexmacosx.c (copy_twolevelhints, dump_it): Now corrects the
1160 1161 1162
	offset in two hints table to allow prebinding to be redone and
	allow the executable to be stripped.

1163 1164 1165 1166 1167
2002-11-29  Dave Love  <fx@gnu.org>

	* fns.c (Frequire): Don't call LOADHIST_ATTACH if feature was
	already provided.

1168 1169 1170 1171 1172 1173
2002-11-29  Richard M. Stallman  <rms@gnu.org>

	* xdisp.c (start_display): Check more intelligently for
	whether the line is continued.
	(move_it_vertically_backward): Clear it->continuation_lines_width.

Dave Love's avatar
Dave Love committed
1174 1175 1176 1177 1178
2002-11-28  Dave Love  <fx@gnu.org>

	* s/amdahl.h, s/unipl5-0.h, m/sgi3000.h, s/3700.h, s/alliant-2800.h:
	* s/alliant.h, s/altos.h: Deleted.  (Unused/empty.)

1179 1180 1181 1182 1183 1184
2002-11-27  Steven Tamm  <steventamm@mac.com>

	* fns.c (Frequire): Change nesting allowance from 2 to 3 to cause
	more descriptive error output from lread.c:Fload upon most require
	cycles during boostrapping.

Jason Rumney's avatar
Jason Rumney committed
1185 1186 1187 1188 1189 1190 1191 1192
2002-11-27  Jason Rumney  <jasonr@gnu.org>

	* fileio.c (Finsert_file_contents): Give a more appropriate error
	for files bigger than 2Gb when off_t is 32 bit.

	* dired.c (Ffile_attributes): Don't return negative file sizes for
	files bigger than 2Gb when off_t is 32 bit.

1193 1194
2002-11-27  Dave Love  <fx@gnu.org>

Dave Love's avatar
Dave Love committed
1195 1196
	* s/irix6-0.h (GC_SETJMP_WORKS, GC_MARK_STACK): Define.

Stefan Monnier's avatar
Stefan Monnier committed
1197 1198
	* systty.h: Don't conditionally define GETPGRP_NO_ARG.
	Test GETPGRP_VOID instead.
Dave Love's avatar
Dave Love committed
1199 1200 1201 1202 1203 1204
	[BSD_TERMIOS]: Remove definitions (never used).

	* s/osf5-0.h (WAIT_USE_INT, SYS_SIGLIST_DECLARED, sys_siglist):
	Don't define.
	(GC_SETJMP_WORKS, GC_MARK_STACK): Define.

1205 1206
	* m/mips.h (WORDS_BIG_ENDIAN): Define conditionally.

Jason Rumney's avatar
Jason Rumney committed
1207 1208 1209 1210 1211
2002-11-25  Jason Rumney  <jasonr@gnu.org>

	* w32.c (sys_write): Avoid non-blocking mode, which is not fully
	supported.

1212 1213 1214 1215 1216 1217
2002-11-25  Dave Love  <fx@gnu.org>

	* unexalpha.c (update_dynamic_symbols): Cast arg of fatal_unexec.

	* Makefile.in (TEMACS_LDFLAGS): Update last change.

1218 1219 1220 1221
2002-11-25  Andreas Schwab  <schwab@suse.de>

	* m/ia64.h: Restore `#ifndef NOT_C_CODE' deleted by last change.

1222 1223 1224 1225 1226 1227 1228
2002-11-24  Steven Tamm  <steventamm@mac.com>

	* unexmacosx.c (unexec_realloc): Use malloc_default_zone to
	determine the size of pointers alloced in unexed space instead
	of using possibly invalid emacs_zone pointers.  This fixes the
	binary incompatibility problems caused by updates to libSystem.B.

1229 1230 1231 1232 1233 1234 1235 1236
2002-11-24  Richard M. Stallman  <rms@gnu.org>

	* search.c (Fstring_match): Doc fix.

	* callint.c (Fcall_interactively): If a command fails because
	`*' detects a read-only buffer, but RECORD_FLAG is set,
	record it anyway if the args don't actually do tty input.

1237 1238 1239 1240 1241 1242 1243
2002-11-22  Dave Love  <fx@gnu.org>

	* sysdep.c (stuff_char) [PROTOTYPES]: Provide ISO C arglist.

	* keyboard.c (interrupt_signal): Provide forward declaration.
	(kbd_buffer_store_event): Don't declare interrupt_signal.

Stefan Monnier's avatar
Stefan Monnier committed
1244
	* xdisp.c (store_frame_title_char) [PROTOTYPES]: Provide ISO C arglist.
1245

1246 1247 1248 1249 1250
2002-11-21  Richard M. Stallman  <rms@gnu.org>

	* eval.c (interactive_p): Skip any number of bytecode
	and special form frames, in any order.

1251 1252 1253 1254 1255 1256
2002-11-20  Jason Rumney  <jasonr@gnu.org>

	* w32fns.c (convert_mono_to_color_image): New function.
	(xbm_load, xbm_load_image): Use it when foreground or background
	is explicitly set.

1257 1258 1259 1260
2002-11-19  Dave Love  <fx@gnu.org>

	* s/usg5-4.h, sco4.h (bcopy, bzero, bcmp): Don't define.

Jason Rumney's avatar
Jason Rumney committed
1261 1262 1263
2002-11-18  Jason Rumney  <jasonr@gnu.org>

	* w32fns.c (x_build_heuristic_mask): Filter palette info from color.
Jason Rumney's avatar
Jason Rumney committed
1264
	(XPutPixel): Swap blue and red.
1265 1266 1267 1268
	(xpm_format, pbm_format, png_format, jpeg_format, tiff_format)
	(gif_format, gs_format): Use IMAGE_ASCENT_VALUE.
	(xpm_image_p, pbm_image_p, png_image_p, jpeg_image_p)
	(tiff_image_p, gif_image_p, gs_image_p): Don't check ascent.
Jason Rumney's avatar
Jason Rumney committed
1269

Dave Love's avatar
Dave Love committed
1270 1271
2002-11-18  Dave Love  <fx@gnu.org>

Dave Love's avatar
Dave Love committed
1272 1273
	* m/orion105.h (HAVE_ALLOCA): Don't define.

Stefan Monnier's avatar
Stefan Monnier committed
1274
	* m/m68k.h, m/arm.h, mtekxd88.h, m/tower32v3.h: Don't define alloca.
Dave Love's avatar
Dave Love committed
1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291

	* m/intel386.h: Don't include alloca.h or define alloca.

	* m/ia64.h: Don't include alloca.h, stdlib.h.  Don't declare
	malloc, realloc, calloc.

	* m/hp800.h, m/sr2k.h, m/ns16000.h, m/wicat.h (bcopy, bzero)
	(bcmp): Don't define.

	* m/delta.h (bcopy, bzero, bcmp, alloca): Don't define.

	* m/amdahl.h: Don't define LIB_STANDARD.

	* m/alpha.h: Move OSF1 stuff from here to s/osf1.h.

	* s/osf1.h: Move OSF1 stuff from m/alpha.h to here.

Stefan Monnier's avatar
Stefan Monnier committed
1292 1293
	* s/irix4-0.h, s/irix5-0.h, m/powerpcle.h, m/sparc.h:
	Don't include alloca.h.
Dave Love's avatar
Dave Love committed
1294 1295 1296

	* s/aix3-2.h (HAVE_FSYNC): Don't define.

Dave Love's avatar
Dave Love committed
1297 1298 1299 1300 1301 1302
	* regex.c (_GNU_SOURCE): Don't define.

	* process.c (_GNU_SOURCE): Don't define.

	* fileio.c (_GNU_SOURCE, HAVE_FSYNC): Don't define.

Markus Rost's avatar
Markus Rost committed
1303
2002-11-18  Markus Rost  <rost@math.ohio-state.edu>
Markus Rost's avatar
Markus Rost committed
1304 1305 1306

	* s/sol2-8.h: Include sol2-6.h.

1307 1308 1309
2002-11-18  Miles Bader  <miles@gnu.org>

	* dispextern.h (struct face): Add `overstrike' field.
Stefan Monnier's avatar
Stefan Monnier committed
1310
	* xterm.c (x_draw_glyph_string_foreground)
1311 1312 1313 1314 1315 1316 1317 1318
	(x_draw_composite_glyph_string_foreground): Implement overstriking.
	* xfaces.c (load_face_font): Set `face->overstrike' based on
	result from choose_face_font.
	(best_matching_font, choose_face_font): Add `needs_overstrike'
	argument, and use it to return whether overstriking is desirable
	for this face/font combo.
	(set_font_frame_param: Pass new argument to choose_face_font.

Juanma Barranquero's avatar
Juanma Barranquero committed
1319
2002-11-17  Ben Key  <BKey1@tampabay.rr.com>
1320

Stefan Monnier's avatar
Stefan Monnier committed
1321 1322 1323 1324
	This change is my fix for the following entry in etc/PROBLEMS:
	"Emacs built on Windows 9x/ME crashes at startup on Windows XP,
	or Emacs builtpart of on XP crashes at startup on Windows 9x/ME."

1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351
	* w32.c: Added wrapper functions around the win32 API functions
	OpenProcessToken, GetTokenInformation, LookupAccountSid, and
	GetSidIdentifierAuthority.  These wrapper functions serve two
	purposes:
	1.  They ensure that the wrapped function can never be called
	when Emacs is running on an operating system on which they are
	not supported (Microsoft Windows 95 / 98 / ME).
	2.  They call the wrapped functions via function pointers rather
	than calling them directly.  This avoids taking advantage of the
	undocumented fact that although these functions are not supported
	in the 9x branch of Microsoft Windows, the functions do exist in
	the version of advapi32.dll that is found in the 9x branch of
	Microsoft Windows.

	* w32.c (init_user_info): Replaced the calls to the win32 API
	functions OpenProcessToken, GetTokenInformation, LookupAccountSid,
	and GetSidIdentifierAuthority with calls to the newly added
	wrapper functions.

	* w32.h: Added extern declarations for the following functions:
	syms_of_w32term, syms_of_w32fns, syms_of_w32select,
	syms_of_w32menu, and void syms_of_fontset.

	* w32fns.c (w32_wnd_proc): Added code to reinitialize the
	function pointer track_mouse_event_fn in the handler for the
	WM_SETFOCUS message.

Markus Rost's avatar
Markus Rost committed
1352
	* w32menu.c (initialize_frame_menubar): Added code to
1353 1354
	reinitialize the function pointers set_menu_item_info and
	get_menu_item_info.
Stefan Monnier's avatar
Stefan Monnier committed
1355

Juanma Barranquero's avatar
Juanma Barranquero committed
1356
2002-11-17  Ben Key  <BKey1@tampabay.rr.com>
1357

Stefan Monnier's avatar
Stefan Monnier committed
1358
	* sound.c: Added a partial implementation of play-sound-internal
1359 1360 1361
	for Microsoft Windows.  Added various #ifdef / #else / #endif
	code blocks to separate the code that will compile under
	Microsoft Windows from the code that is specific to Gnu/Linux.
Stefan Monnier's avatar
Stefan Monnier committed
1362 1363
	Moved several blocks of code around to make this separation of code
	into Windows compatible and Gnu/Linux compatible code blocks easier.
1364

Stefan Monnier's avatar
Stefan Monnier committed
1365
	* makefile.w32-in: Include sound.c and link with WinMM.lib.
1366 1367 1368 1369

	* s/ms-w32.h: Defined the symbol HAVE_SOUND so that the newly
	added support for play-sound-internal under Windows would be
	included in the build of Emacs.
Stefan Monnier's avatar
Stefan Monnier committed
1370

Jason Rumney's avatar
Jason Rumney committed
1371 1372 1373 1374 1375 1376
2002-11-16  Jason Rumney  <jasonr@gnu.org>

	* w32fns.c (w32_load_system_font): Don't disable Cleartype.

	* w32term.c (w32_get_glyph_string_clip_rect): Clip cursor tightly.

Stefan Monnier's avatar
Stefan Monnier committed
1377 1378 1379 1380 1381 1382 1383 1384
2002-11-15  Stefan Monnier  <monnier@cs.yale.edu>

	* keyboard.c (command_loop_1): Fix int/Lisp_Object mixup.
	(adjust_point_for_property): Move out of display and invisible even if
	we were already inside before (in case a property was added while
	we weren't looking).  Be more careful when handling invisible props.
	Skip invisible text as if it really wasn't there at all.

Jason Rumney's avatar
Jason Rumney committed
1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395
2002-11-15  Jason Rumney  <jasonr@gnu.org>

	* w32term.c (x_draw_image_foreground)
	(w32_draw_image_foreground_1): Use standard copy and invert
	operations to draw images.

	* w32fns.c (x_create_x_image_and_pixmap): Fill in palette for
	depth of 1.
	(xbm_read_bitmap_data): Invert bits as xbm is read in.
	(XPutPixel): Don't invert bits here.

Jason Rumney's avatar
Jason Rumney committed
1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409
2002-11-15  Jason Rumney  <jasonr@gnu.org>

	* w32term.c (x_draw_image_foreground, x_draw_image_glyph_string)
	(w32_draw_image_foreground_1): Handle image masks.
	(x_draw_image_glyph_string): Don't BitBlt transparently.

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

1410 1411 1412 1413
2002-11-14  Richard M. Stallman  <rms@gnu.org>

	* buffer.c (syms_of_buffer): Doc fix.

Dave Love's avatar
Dave Love committed
1414 1415 1416 1417
2002-11-14  Dave Love  <fx@gnu.org>

	* alloc.c (SETJMP_WILL_NOT_WORK): Add note.

Stefan Monnier's avatar
Stefan Monnier committed
1418 1419 1420 1421 1422 1423 1424 1425 1426 1427
	* 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):
Dave Love's avatar
Dave Love committed
1428 1429
	* charset.c (c_string_width): Declare all args (per C99).

Stefan Monnier's avatar
Stefan Monnier committed
1430
	* frame.h (get_specified_cursor_type, get_window_cursor_type): Declare.
Dave Love's avatar
Dave Love committed
1431 1432 1433 1434 1435 1436 1437

	* lisp.h (get_specified_cursor_type, get_window_cursor_type):
	Don't declare.

	* emacs.c (main) [!VMS]: Avoid third arg.

	* fns.c (Fcopy_sequence): Doc fix.
Dave Love's avatar
Dave Love committed
1438
	(Fmap_char_table): Cast `call2'.
Dave Love's avatar
Dave Love committed
1439

Francesco Potortì's avatar
Francesco Potortì committed
1440 1441 1442 1443
2002-11-14  Francesco Potorti`  <pot@gnu.org>

	* s/sol2-8.h: New file.

Kim F. Storm's avatar
Kim F. Storm committed
1444 1445 1446 1447 1448
2002-11-14  Kim F. Storm  <storm@cua.dk>

	* buffer.c (syms_of_buffer) <mode-line-format>: Document symbol
	dependency on `risky-local-variable' and the :propertize form.

1449 1450
2002-11-12  Stefan Monnier  <monnier@cs.yale.edu>

Stefan Monnier's avatar
Stefan Monnier committed
1451 1452
	* fns.c (Fmap_char_table): Don't use map_char_table's function arg.

1453 1454 1455
	* syntax.c (scan_sexps_forward): Undo last patch.
	Use a more obvious fix: check eob before updating the syntax table.

Stefan Monnier's avatar
Stefan Monnier committed
1456 1457 1458 1459 1460
2002-11-09  Stefan Monnier  <monnier@cs.yale.edu>

	* syntax.c (scan_sexps_forward): Update syntax table before reading
	a char rather than after so we don't update the table past eob.