+2007-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
+
+ * term.c (term_clear_mouse_face, term_mouse_highlight)
+ (tty_write_glyphs_with_face): Only define is HAVE_GPM.
+
+ * print.c (safe_debug_print): Use XHASH.
+
+ * lisp.h (DECL_ALIGN, USE_LSB_TAG): Move logic to before definition of
+ Lisp elements such as tags.
+ (XHASH): New macro.
+ (EQ): Use it.
+ (SREF, SSET, STRING_COPYIN): Use SDATA.
+ (VOID_TO_LISP, CVOID_TO_LISP, LISP_TO_VOID, LISP_TO_CVOID): Remove.
+
+ * alloc.c (mark_terminal): Remove left-over declaration.
+ (enum mem_type): Replace all vector subtypes -> MEM_TYPE_VECTORLIKE.
+ (allocate_vectorlike): Remove type argument. Adjust callers.
+ (live_vector_p, mark_maybe_pointer, valid_lisp_object_p):
+ Only handle the one remaining MEM_TYPE_VECTORLIKE.
+
+ * alloc.c (MALLOC_BLOCK_INPUT, MALLOC_UNBLOCK_INPUT): New macros
+ to avoid unnecessary BLOCK_INPUTs when SYNC_INPUT is used.
+ (xmalloc, xrealloc, xfree, lisp_malloc, lisp_free, lisp_align_malloc)
+ (lisp_align_free, make_interval, allocate_string, allocate_string_data)
+ (make_float, Fcons, allocate_vectorlike, Fmake_symbol, allocate_misc):
+ Use them.
+
+ * xfaces.c (load_face_font, free_realized_face, clear_face_gcs):
+ Don't let signal handlers run when a GC is freed but not yet NULL'ed.
+ (x_free_gc): Remove BLOCK_INPUT since it's now redundant.
+
+2007-09-28 Dan Nicolaescu <dann@ics.uci.edu>
+
+ * Makefile.in (lisp, shortlisp): Delete server.elc, it is not
+ loaded by default.
+
+2007-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
+
+ * term.c (Fgpm_mouse_start): Don't signal an error if already activated
+ on this tty.
+ (Fgpm_mouse_stop): Only deactivate if it was activated on this tty.
+
+ * term.c (mouse_face_window): Rename from Qmouse_face_window.
+ Update all users.
+ (handle_one_term_event): Use Gpm_DrawPointer.
+ (Fgpm_mouse_start): Rename from Fterm_open_connection.
+ Signal errors instead of returning nil. Always return nil.
+ (Fgpm_mouse_stop): Rename from Fterm_close_connection.
+ Make it a noop if gpm-mouse was not activated.
+ (syms_of_term): Update names.
+
+2007-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
+
+ * sysdep.c (narrow_foreground_group, widen_foreground_group): Static.
+ (init_sys_modes): Check that gpm_tty is the current tty.
+
+ * alloc.c (allocate_terminal): Set the vector size to only count the
+ lisp fields. Initialize those to nil.
+ (mark_object): Don't treat terminals specially.
+ (mark_terminal): Remove.
+ (mark_terminals): Use mark_object instead.
+
+ * termhooks.h (struct terminal): Move all Lisp_Object fields traced by
+ the GC to the beginning.
+
+ * indent.h:
+ * indent.c: Use EMACS_INT for ints coming from Elisp data.
+
+ * indent.c (Fmove_to_column): Use EMACS_INT for buffer positions.
+
+2007-09-25 Jason Rumney <jasonr@gnu.org>
+
+ * frame.c (make_terminal_frame): Remove special case for WINDOWSNT.
+
+ * w32console.c (create_w32cons_output): Remove.
+
+ * term.c (init_tty): Call init_sys_modes on WINDOWSNT also.
+
+ * sysdep.c (init_sys_modes): Use set_terminal_modes_hook.
+ (reset_sys_modes): Use reset_terminal_modes_hook.
+
+2007-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
+
+ * eval.c (do_autoload): Don't output any message.
+
+2007-09-24 Juri Linkov <juri@jurta.org>
+
+ * emacs.c (standard_args): Change priority of "--no-splash"
+ from 40 to 3. Add "--no-desktop" with the same priority.
+
+2007-09-23 Dmitry Antipov <dmantipov@yandex.ru>
+
+ * alloc.c (gc_sweep): Check cons cell mark bits word by word
+ and optimize the case where they are all 1.
+
+2007-09-23 Johannes Weiner <hannes@saeurebad.de>
+
+ * lisp.h (abs): Define if not defined.
+ * keyboard.c, sound.c, w32term.c, xfaces.c, xterm.c:
+ Don't define `abs', since it's defined in lisp.h.
+
+2007-09-22 Eli Zaretskii <eliz@gnu.org>
+
+ * term.c (DEV_TTY): New macro. Provide a definition for
+ MS-Windows.
+ (FRAME_TERMCAP_P) [WINDOWSNT]: Don't define to zero.
+ (Fcontrolling_tty_p, Fresume_tty, dissociate_if_controlling_tty)
+ (init_tty): Use DEV_TTY instead of "/dev/tty".
+ [WINDOWSNT]: No need to protect from NAME arg being null.
+
+2007-09-21 Dan Nicolaescu <dann@ics.uci.edu>
+
+ * term.c (Fsuspend_tty): Run suspend-tty-functions before cleaning
+ up the tty state.
+
+2007-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
+
+ * termhooks.h (term_gpm): Delete. Use gpm_tty's NULLness instead.
+ (gpm_tty): Change its type.
+ * term.c (term_gpm): Delete. Use gpm_tty's NULLness instead.
+ (gpm_tty): Change its type and initialize it.
+ (Fterm_open_connection): Check the frame is indeed a tty.
+ Use the new gpm_tty.
+ (Fterm_close_connection): Use the new gpm_tty.
+ * keyboard.c (tty_read_avail_input): Use the new gpm_tty.
+ * sysdep.c (init_sys_modes): term_gpm -> gpm_tty.
+
+2007-09-21 Juanma Barranquero <lekktu@gmail.com>
+
+ * w32term.c (x_draw_glyph_string): Use strike_through_color, not
+ underline_color, to draw strike-through.
+
+2007-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
+
+ * lisp.h (allocate_terminal): Declare.
+
+ * window.c (candidate_window_p): Consider frames that are being placed
+ by the user as somewhere between visible and iconified.
+ (window_loop): Prefer windows on the current frame.
+ (Fselect_window): Move the use of select-frame to the beginning so we
+ can just delegate all the work (it'll call us back anyway).
+
+ * frame.c (Qdisplay_environment_variable):
+ * frame.h (Qdisplay_environment_variable): Delete.
+
+ * .gdbinit (xbacktrace): Print the arg's address rather than the value
+ of the first arg, since that value may be a union.
+
+ * callproc.c (child_setup, getenv_internal): Use the frame's `display'
+ parameter rather than Qdisplay_environment_variable. If all else
+ fails, look for DISPLAY in initial-environment.
+
+2007-09-21 Glenn Morris <rgm@gnu.org>
+
+ * Makefile.in (emacstool): Remove target.
+ (lisp, shortlisp): Remove termdev.elc.
+
+2007-09-21 Markus Triska <markus.triska@gmx.at>
+
+ * xterm.c (x_delete_display): Compile session management conditionally.
+
+2007-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
+
+ * callproc.c (getenv_internal_1): New function.
+ (getenv_internal): Use it.
+ (Fgetenv_internal): Use it. Accept an env-list as optional arg.
+
+ * terminal.c (get_terminal): Don't accept ints to represent terminals.
+ (Fterminal_name, Fterminal_parameters, Fterminal_parameter)
+ (Fset_terminal_parameter): Work with dead terminals as well.
+ (Fmodify_terminal_parameters): Remove.
+
+ * terminal.c (get_terminal): Handle terminals.
+ Make sure the terminal returned is live.
+ (create_terminal): Use allocate_terminal.
+ (mark_terminals): Move to alloc.c.
+ (delete_terminal): Use terminal->name as liveness status.
+ NULL out fields after freeing their contents.
+ Don't deallocate the object.
+ (Fframe_terminal): Use FRAME_TERMINAL. Return the terminal object
+ rather than an int.
+ (Fterminal_live_p): Accept non-integer arguments.
+ (Fterminal_list): Return terminal objects rather than an ints.
+
+ * alloc.c (enum mem_type): New member for `terminal' objects.
+ (allocate_terminal): New function.
+ (mark_maybe_pointer, valid_lisp_object_p, mark_object):
+ Handle terminals.
+ (mark_terminal): New fun.
+ (mark_terminals): Move from terminal.c.
+
+ * term.c (get_tty_terminal): Don't treat output_initial specially.
+ (Fsuspend_tty, Fresume_tty): Use terminal objects rather than ints.
+ (delete_tty): Use terminal->name as liveness status.
+
+ * termhooks.h (struct terminal): Make it into a pseudovector.
+ Remove `deleted' replaced by checking `name's nullness.
+
+ * print.c (print_object): Handle terminals.
+
+ * lisp.h (enum pvec_type): New `terminal' pseudovector.
+ (XTERMINAL, XSETTERMINAL, TERMINALP, GC_TERMINALP): New macros.
+
+ * frame.c (make_terminal_frame):
+ * keyboard.c (tty_read_avail_input):
+ * w32term.c (x_delete_terminal):
+ * xfns.c (Fx_create_frame, x_create_tip_frame):
+ * xterm.c (x_delete_terminal): Use terminal->name as liveness status.
+
+2007-09-20 Glenn Morris <rgm@gnu.org>
+
+ * process.c (Fmake_network_process): Doc fix.
+
+2007-09-19 Jason Rumney <jasonr@gnu.org>
+
+ * dispextern.h (w32_init_fringe, mac_init_fringe): Declare rif argument.
+
+2007-09-19 Micha\e,Ak\e(Bl Cadilhac <michael@cadilhac.name>
+
+ * coding.c (detect_eol_type, detect_eol_type_in_2_octet_form):
+ Fix a C warning regarding variable constness.
+
+ * xterm.c (handle_one_xevent): Fix a C warning.
+
+2007-09-18 Jason Rumney <jasonr@gnu.org>
+
+ * w32fns.c (Fx_focus_frame): Rename from Fw32_focus_frame.
+
+2007-09-17 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
+
+ * gtkutil.c (gdpy_def): New variable.
+ (xg_initialize): Initialize gdpy_def.
+ (xg_display_close): If no other display exists, set gdpy_def to a
+ new connection.
+
+2007-09-16 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
+
+ * gtkutil.c (xg_get_image_for_pixmap): Always create a GdkPixbuf
+ when we have no file name for the icon.
+ (xg_tool_bar_expose_callback): Remove.
+ (xg_create_tool_bar): Don't connect expose signal to
+ xg_tool_bar_expose_callback.
+ (xg_get_file_with_chooser): Move GCPRO1 after declarations.
+
2007-09-16 Andreas Schwab <schwab@suse.de>
* alloc.c (reset_malloc_hooks): Set the hooks to the previous
* window.c (Fshrink_window): Reflow docstring.
+2007-06-02 Chong Yidong <cyd@stupidchicken.com>
+
+ * Version 22.1 released.
+
+2007-06-01 Richard Stallman <rms@gnu.org>
+
+ * xfns.c (x_encode_text): Add GCPRO.
+
+2007-06-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
+
+ * xfns.c (x_set_name_internal): Save encoded name before
+ x_encode_text in case string data is relocated.
+
+2007-05-31 Richard Stallman <rms@gnu.org>
+
+ * buffer.c (syms_of_buffer): Doc fix.
+
+2007-05-30 Nick Roberts <nickrob@snap.net.nz>
+
+ * sysdep.c (init_sys_modes): Add rather than replace with
+ O_NONBLOCK.
+
+ * frame.c [HAVE_GPM] (Fset_mouse_pixel_position): Add call to
+ term_mouse_moveto.
+
+ * termhooks.h (term_mouse_moveto): New extern.
+
+ * term.c (mouse_face_window): Rename...
+ (Qmouse_face_window): ...to this.
+ (term_show_mouse_face, term_clear_mouse_face)
+ (term_mouse_highlight): Use Qmouse_face_window.
+ (term_mouse_moveto): New function.
+ (term_mouse_position): Make it work.
+ (syms_of_term): Uncomment assignment to mouse_position_hook.
+ Staticpro Qmouse_face_window.
+
+2007-05-28 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
+
+ * xdisp.c (redisplay_internal): Bind inhibit-point-motion-hooks to t
+ around current_column call.
+
+2007-05-26 Dan Nicolaescu <dann@ics.uci.edu>
+
+ * xfaces.c (syms_of_xfaces): Delete stray semicolon.
+ * xdisp.c (next_element_from_buffer):
+ * window.c (delete_window):
+ * term.c (term_mouse_highlight):
+ * msdos.c (getdefdir):
+ * macterm.c (mac_create_bitmap_from_bitmap_data)
+ (init_font_name_table):
+ * fns.c (Fsxhash):
+ * data.c (Fmake_local_variable):
+ * ccl.c (ccl_driver): Likewise.
+
+2007-05-24 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
+
+ * macterm.c [USE_CARBON_EVENTS] (mac_handle_window_event):
+ Call mac_wakeup_from_rne on window size change.
+
+2007-05-25 Chong Yidong <cyd@stupidchicken.com>
+
+ * image.c (uncache_image): Fix typo.
+
+2007-05-23 Johannes Weiner <hannes@saeurebad.de> (tiny change)
+
+ * keyboard.c (make_lispy_movement): Condition on HAVE_GPM too.
+
+2007-05-22 Richard Stallman <rms@gnu.org>
+
+ * xterm.c (x_connection_closed): Remove NO_RETURN.
+
+2007-05-22 Martin Rudalics <rudalics@gmx.at>
+
+ * syntax.c (scan_words): Fix arg to UPDATE_SYNTAX_TABLE_BACKWARD.
+
+2007-05-21 Chong Yidong <cyd@stupidchicken.com>
+
+ * image.c (uncache_image): New function.
+ (Fimage_refresh): New function.
+
+2007-05-20 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
+
+ * Makefile.in: Move GPM check outside HAVE_X_WINDOWS.
+
+2007-05-20 Nick Roberts <nickrob@snap.net.nz>
+
+ * config.in, keyboard.c, Makefile.in, sysdep.c, term.c,
+ * termhooks.h: Use HAVE_GPM instead of HAVE_GPM_H.
+
+2007-05-20 Nick Roberts <nickrob@snap.net.nz>
+
+ * keyboard.c (make_lispy_event): Make case GPM_CLICK_EVENT
+ conditional on [HAVE_GPM_H].
+
+2007-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
+
+ * syntax.c (skip_chars): Update syntax-table only after we checked that
+ the new location is valid.
+
+2007-05-19 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
+
+ * macterm.c (x_calc_absolute_position): Add BLOCK_INPUT around
+ mac_get_window_bounds.
+
+2007-05-20 Nick Roberts <nickrob@snap.net.nz>
+
+ * Makefile.in (LIBGPM): Allow it to be set from configure.
+ If set then link Emacs with it.
+
+ * config.in: Regenerate.
+
+ * lisp.h (add_gpm_wait_descriptor, delete_gpm_wait_descriptor):
+ New externs.
+
+ * termhooks.h [HAVE_GPM_H] (enum event_kind): Add GPM_CLICK_EVENT.
+ Include gpm.h.
+ (handle_one_term_event, term_gpm): New externs.
+
+ * sysdep.c [HAVE_GPM_H] (init_sys_modes): Make gpm_fd nonblocking
+ and allow it to be interrupted by SIGIO.
+
+ * process.c (gpm_wait_mask, max_gpm_desc): New variables.
+ (wait_reading_process_output): Wait on gpm_fd too.
+ (add_gpm_wait_descriptor, delete_gpm_wait_descriptor)): New functions.
+ (add_gpm_wait_descriptor_called_flag): New variable.
+ (delete_keyboard_wait_descriptor): Check gpm_wait_mask.
+
+ * keyboard.c [HAVE_GPM_H] (Qmouse_fixup_help_message)
+ (make_lispy_movement, tracking_off, Ftrack_mouse, some_mouse_moved)
+ (show_help_echo, readable_events, kbd_buffer_get_event, init_keyboard):
+ Extend HAVE_MOUSE ifdefs to HAVE_GPM_H.
+ (make_lispy_event): Add case GPM_CLICK_EVENT.
+ (read_avail_input): Handle mouse input.
+
+ * term.c (write_glyphs_with_face): New function.
+ [HAVE_GPM_H]: Include buffer.h, sys/fcntl.h.
+ (mouse_face_beg_row, mouse_face_beg_col, mouse_face_end_row)
+ (mouse_face_end_col, mouse_face_past_end, mouse_face_window)
+ (mouse_face_face_id, term_gpm, pos_x, pos_y)
+ (last_mouse_x, last_mouse_y): New variables.
+ (term_show_mouse_face, term_clear_mouse_face, fast_find_position)
+ (term_mouse_highlight, term_mouse_movement, term_mouse_position)
+ (term_mouse_click, handle_one_term_event, Fterm_open_connection)
+ (Fterm_close_connection): New functions.
+ (term_init): Initialise mouse_face_window.
+
+2007-05-19 Chong Yidong <cyd@stupidchicken.com>
+
+ * xdisp.c (redisplay_window): If first window line is a
+ continuation line, recompute the new window start instead of
+ recentering.
+
+2007-05-18 Glenn Morris <rgm@gnu.org>
+
+ * m/alpha.h (ORDINARY_LINK): No longer define on OpenBSD.
+ Suggested by Alfred M. Szmidt <ams@gnu.org>.
+
+2007-05-17 Glenn Morris <rgm@gnu.org>
+
+ * m/macppc.h (ORDINARY_LINK): No longer define on OpenBSD.
+
+2007-05-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
+
+ * macterm.c [USE_CARBON_EVENTS] (mac_convert_event_ref): Also convert
+ dead key repeat and up events.
+
+2007-05-14 Chong Yidong <cyd@stupidchicken.com>
+
+ * image.c (pbm_load): Check image size for monochrome pbm.
+
+2007-05-13 Chong Yidong <cyd@stupidchicken.com>
+
+ * xterm.c (XTread_socket): Revert last change.
+
+2007-05-12 Chong Yidong <cyd@stupidchicken.com>
+
+ * image.c (pbm_load): Correctly check image size for greyscale pbm.
+
+ * xterm.c (XTread_socket): Yet Another Uncaught X Error Crash (YAUXEC).
+
+2007-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
+
+ * editfns.c (Ftranspose_regions): Yet another int/Lisp_Object
+ mixup (YAILOM).
+
+2007-05-07 Andreas Schwab <schwab@suse.de>
+
+ * keymap.c (Flookup_key): Fix typo in last change.
+
+2007-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
+
+ * keymap.c (Fdefine_key, Flookup_key): Only do the 0x80->meta_modifier
+ mapping for unibyte strings.
+
+2007-05-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
+
+ * macmenu.c (mac_dialog_show): Apply 2007-04-27 change for xmenu.c.
+ (Fx_popup_dialog) [MAC_OSX]: Likewise.
+
+2007-04-29 Richard Stallman <rms@gnu.org>
+
+ * insdel.c (replace_range): For undo, record insertion first.
+
+2007-04-29 Andreas Schwab <schwab@suse.de>
+
+ * lisp.h (VECSIZE): Use OFFSETOF.
+
+2007-04-29 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
+
+ * xdisp.c (try_window_reusing_current_matrix): Fix number of
+ disabled lines.
+
+2007-04-28 Richard Stallman <rms@gnu.org>
+
+ * lread.c (read_escape): In a string, \s is always space.
+
+2007-04-27 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
+
+ * xmenu.c (xdialog_show): Call Fredisplay before showing the dialog.
+
+ * gtkutil.c (xg_update_menubar, create_menus): Create empty
+ submenu for menu bar items.
+
See ChangeLog.10 for earlier changes.
;; Local Variables: