+2002-11-19 Dave Love <fx@gnu.org>
+
+ * s/usg5-4.h, sco4.h (bcopy, bzero, bcmp): Don't define.
+
+2002-11-18 Jason Rumney <jasonr@gnu.org>
+
+ * w32fns.c (x_build_heuristic_mask): Filter palette info from color.
+ (XPutPixel): Swap blue and red.
+ (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.
+
+2002-11-18 Dave Love <fx@gnu.org>
+
+ * m/orion105.h (HAVE_ALLOCA): Don't define.
+
+ * m/m68k.h, m/arm.h, mtekxd88.h, m/tower32v3.h: Don't define alloca.
+
+ * 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.
+
+ * s/irix4-0.h, s/irix5-0.h, m/powerpcle.h, m/sparc.h:
+ Don't include alloca.h.
+
+ * s/aix3-2.h (HAVE_FSYNC): Don't define.
+
+ * regex.c (_GNU_SOURCE): Don't define.
+
+ * process.c (_GNU_SOURCE): Don't define.
+
+ * fileio.c (_GNU_SOURCE, HAVE_FSYNC): Don't define.
+
+2002-11-18 Markus Rost <rost@math.ohio-state.edu>
+
+ * s/sol2-8.h: Include sol2-6.h.
+
+2002-11-18 Miles Bader <miles@gnu.org>
+
+ * dispextern.h (struct face): Add `overstrike' field.
+ * xterm.c (x_draw_glyph_string_foreground)
+ (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.
+
+2002-11-17 Ben Key <BKey1@tampabay.rr.com>
+
+ * 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.
+ This change is part of my fix for the following entry in
+ etc/PROBLEMS: "Emacs built on Windows 9x/ME crashes at startup on
+ Windows XP, or Emacs built on XP crashes at startup on Windows 9x/ME."
+
+ * 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.
+ This change is part of my fix for the following entry in
+ etc/PROBLEMS: "Emacs built on Windows 9x/ME crashes at startup on
+ Windows XP, or Emacs built on XP crashes at startup on Windows 9x/ME."
+
+ * 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.
+ This change is part of my fix for the following entry in
+ etc/PROBLEMS: "Emacs built on Windows 9x/ME crashes at startup on
+ Windows XP, or Emacs built on XP crashes at startup on Windows 9x/ME."
+
+ * w32fns.c (w32_wnd_proc): Added code to reinitialize the
+ function pointer track_mouse_event_fn in the handler for the
+ WM_SETFOCUS message.
+ This change is part of my fix for the following entry in
+ etc/PROBLEMS: "Emacs built on Windows 9x/ME crashes at startup on
+ Windows XP, or Emacs built on XP crashes at startup on Windows 9x/ME."
+
+ * w32menu.c (initialize_frame_menubar): Added code to
+ reinitialize the function pointers set_menu_item_info and
+ get_menu_item_info.
+ This change is part of my fix for the following entry in
+ etc/PROBLEMS: "Emacs built on Windows 9x/ME crashes at startup on
+ Windows XP, or Emacs built on XP crashes at startup on Windows 9x/ME."
+
+ * sound.c: Added a partial implementation of play-sound-internal
+ 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.
+ Moved several blocks of code around to make this separation of code
+ into Windows compatible and Gnu/Linux compatible code blocks easier.
+
+ * makefile.w32-in: Include sound.c and link with WinMM.lib.
+
+ * 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.
+
+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.
+
+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.
+
+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.
+
+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.
+
+2002-11-14 Richard M. Stallman <rms@gnu.org>
+
+ * buffer.c (syms_of_buffer): Doc fix.
+
+2002-11-14 Dave Love <fx@gnu.org>
+
+ * alloc.c (SETJMP_WILL_NOT_WORK): Add note.
+
+ * 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).
+
+ * frame.h (get_specified_cursor_type, get_window_cursor_type): Declare.
+
+ * 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.
+ (Fmap_char_table): Cast `call2'.
+
+2002-11-14 Francesco Potorti` <pot@gnu.org>
+
+ * s/sol2-8.h: New file.
+
+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.
+
+2002-11-12 Stefan Monnier <monnier@cs.yale.edu>
+
+ * fns.c (Fmap_char_table): Don't use map_char_table's function arg.
+
+ * syntax.c (scan_sexps_forward): Undo last patch.
+ Use a more obvious fix: check eob before updating the syntax table.
+
+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.
+
+2002-11-09 Dave Love <fx@gnu.org>
+
+ * buffer.c (Fset_buffer_major_mode): Fix last change.
+
+ * regex.c (regexec): Fix pmatch declaration.
+
+ * cmds.c (Fself_insert_command): Apply Vtranslation_table_for_input.
+
+ * keyboard.c (command_loop_1): Apply Vtranslation_table_for_input
+ to self-inserting characters.
+ (syms_of_keyboard) <keyboard-translate-table>: Doc fix.
+
+ * coding.c (Vtranslation_table_for_input): New.
+ (syms_of_coding): DEFVAR it.
+
+2002-11-08 Juanma Barranquero <lektu@terra.es>
+
+ * w32term.c (w32_draw_fringe_bitmap): Remove unused local variable
+ window.
+
+2002-11-08 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
+
+ * process.c (Fformat_network_address): Removed unused locals p,
+ cp, and i.
+
+2002-11-06 Dave Love <fx@gnu.org>
+
+ * buffer.c (Qset_buffer_major_mode_hook): New.
+ (Fset_buffer_major_mode): Use it.
+
+2002-11-06 Richard M. Stallman <rms@gnu.org>
+
+ * xterm.c (x_term_init): Use turn_on_atimers, not start_polling
+ and stop_polling.
+
+ * process.c (wait_reading_process_input):
+ Test POLLING_PROBLEM_IN_SELECT, not hpux.
+ Avoid initialization for auto Lisp_Object var.
+
+ * s/hpux11.h (POLLING_PROBLEM_IN_SELECT): Add #undef.
+
+ * s/hpux10.h (POLLING_PROBLEM_IN_SELECT): Defined.
+
+2002-11-05 Richard M. Stallman <rms@gnu.org>
+
+ * s/sol2-5.h (BROKEN_SIGIO): Turn off the #undef.
+
+ * 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.
+
+2002-11-04 John Paul Wallington <jpw@shootybangbang.com>
+
+ * lread.c (Feval_buffer): Doc fix.
+
+2002-11-04 Dave Love <fx@gnu.org>
+
+ * keyboard.c (read_char): Always translate iff
+ Vkeyboard_translate_table is a char table and c is valid.
+
+ * xterm.c (XTread_socket): Check Lisp types for Vx_keysym_table
+ and fix C types.
+
+2002-11-03 Stefan Monnier <monnier@cs.yale.edu>
+
+ * xdisp.c (single_display_prop_intangible_p): Strings are intangible.
+
+ * editfns.c (get_pos_property): Don't hardcode Qfield.
+
+ * keyboard.c (adjust_point_for_property): Handle `display' prop on
+ overlays. Also handle `invisible' prop.
+
+2002-11-02 Stefan Monnier <monnier@cs.yale.edu>
+
+ * coding.c (decode_coding_emacs_mule, decode_coding_iso2022)
+ (decode_coding_sjis_big5, decode_eol): Allow lone \r in DOS EOL.
+
+2002-11-01 Andreas Schwab <schwab@suse.de>
+
+ * editfns.c (Fmessage): Revert last change to properly handle %%
+ format.
+
+2002-11-01 Stefan Monnier <monnier@cs.yale.edu>
+
+ * 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.
+
+ * editfns.c (find_field): Make an exception for nil fields.
+
+2002-11-01 Dave Love <fx@gnu.org>
+
+ * m/gec63.h: Deleted.
+
+2002-10-31 Dave Love <fx@gnu.org>
+
+ * xterm.c (XTread_socket): Fix last change.
+ (xaw_scroll_callback): Cast call_data to long to avoid warning.
+
+2002-10-31 Stefan Monnier <monnier@cs.yale.edu>
+
+ * process.c (Fformat_network_address): Fix int/Lisp_Object mixup.
+
+2002-10-30 Stefan Monnier <monnier@cs.yale.edu>
+
+ * 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.
+
+2002-10-30 Dave Love <fx@gnu.org>
+
+ * process.c [HAVE_SYS_WAIT]: Include sys/wait.h.
+ [HAVE_PTY_H]; Include pty.h.
+
+ * lread.c (Fload) <!load_dangerous_libraries>: Close fd.
+
+ * 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.
+
+ * 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.
+
+ * s/osf5-0.h (C_SWITCH_SYSTEM): Revert last change (fixed by
+ regexp.h change).
+ (TERMINFO, LIBS_TERMCAP): Define.
+
+ * 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.
+
+ * s/sol2-5.h: Don't include strings.h.
+ (bcopy, bzero, bcmp) [HAVE_BCOPY]: Don't undef.
+
+ * s/irix6-0.h (IRIX6): Don't define.
+ (bcopy, bcmp, bzero): Don't undef.
+
+ * s/irix6-5.h: Don't include strings.h.
+ (IRIX6): Don't define.
+ (bcopy, bcmp, bzero): Don't undef.
+
+ * syntax.c (Fforward_comment): Doc fix.
+
+2002-10-29 Kim F. Storm <storm@cua.dk>
+
+ * process.c (Fsignal_process): Allow PROCESS to be specified by
+ name in addition to pid (as integer or string).
+
+2002-10-28 Harald Maier <Harald.Maier.BW@t-online.de> (tiny change)
+
+ * w32heap.c: Don't redefine _heap_init and _heap_term on MSVC 7 build
+ environments.
+
+2002-10-27 Kim F. Storm <storm@cua.dk>
+
+ * xterm.c (note_mouse_highlight): Don't use mouse-face if hidden.
+
+ * w32term.c (note_mouse_highlight): Don't use mouse-face if hidden.
+
+ * msdos.c (IT_note_mouse_highlight): Don't use mouse-face if hidden.
+
+ * macterm.c (note_mouse_highlight): Don't use mouse-face if hidden.
+
+2002-10-26 Richard M. Stallman <rms@gnu.org>
+
+ * editfns.c (Fformat): Detect invalid format letters for floats.
+
+2002-10-25 Kenichi Handa <handa@m17n.org>
+
+ * xfns.c (x_set_name): Encode by Qcompound_text unconditionally.
+ (x_set_title): Likewise.
+
+2002-10-25 Juanma Barranquero <lektu@terra.es>
+
+ * macgui.h:
+ * w32gui.h: Remove definition of XColor.
+
+ * dispextern.h [!HAVE_X_WINDOWS]: Define XColor.
+
+2002-10-24 Kim F. Storm <storm@cua.dk>
+
+ * xdisp.c (get_window_cursor_type): New arg ACTIVE_CURSOR.
+ Callers changed (supply dummy arg).
+
+ * lisp.h (get_window_cursor_type): Update prototype.
+
+ * w32term.c (x_display_and_set_cursor): Get active_cursor from
+ get_window_cursor_type to track system caret.
+
2002-10-24 Kim F. Storm <storm@cua.dk>
* process.c (Fformat_network_address): New function.
* w32fns.c:
* xfaces.c: Remove definition of XColor.
+2002-10-22 Stefan Monnier <monnier@cs.yale.edu>
+
+ * xfns.c (x_set_name, x_set_title): `icon.value' has unsigned char.
+
+ * 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.
+
+ * 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;
+
2002-10-21 Stefan Monnier <monnier@cs.yale.edu>
* casefiddle.c (casify_region): Don't treat a prefix char as part
* fns.c (Flength): Doc fix.
+2002-10-04 Stefan Monnier <monnier@cs.yale.edu>
+
+ * 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'.
+
2002-10-04 Steven Tamm <steventamm@mac.com>
* macterm.c (keycode_to_xkeysym_table): Change return to be
- treated like an X keysym
+ treated like an X keysym.
2002-10-03 Jan D. <jan.h.d@swipnet.se>
* w32fns.c (Qbox): Make extern.
(syms_of_w32fns): Remove initialization of Qbox.
- * xfns.c (Fx_open_connection): Fix error message. Patch from Rune
- Kleveland <runekl@viewpoint.no>.
+2002-08-30 Rune Kleveland <runekl@viewpoint.no> (tiny change)
+
+ * xfns.c (Fx_open_connection): Fix error message.
2002-08-30 Kim F. Storm <storm@cua.dk>