]> code.delx.au - gnu-emacs/blobdiff - src/ChangeLog
(term_clear_mouse_face, term_mouse_highlight)
[gnu-emacs] / src / ChangeLog
index fca20e67e3dbc943221d9c6d17ea7dc2c1785adb..70fbaad280ecf02348d736ae3617fd9e77904efb 100644 (file)
@@ -1,8 +1,103 @@
+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 unknown.
-       * keyboard.c, sound.c, w32term.c, xfaces.c, w32term.c: Don't
-       define abs now it's in lisp.h.
+       * 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>
 
 
        * 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: