]> code.delx.au - gnu-emacs/blobdiff - src/ChangeLog
*** empty log message ***
[gnu-emacs] / src / ChangeLog
index b8495387311c31cd1c2e2d29dbd4acb186b6a6c5..e6ed510a81cf19ef38659e5f740d318973f5923d 100644 (file)
+2006-05-06  Kim F. Storm  <storm@cua.dk>
+
+       * .gdbinit (xframe): Print frame name.
+       (xlist): New command to print a list (max 10 elements).
+       (xpr): Print lisp object of any type.
+       (pitx): Print it->pixel_width.
+
+2006-05-05  Kenichi Handa  <handa@m17n.org>
+
+       * xdisp.c (handle_composition_prop): Fix for the case of empty
+       composition component.
+
+2006-05-05  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
+
+       * keyboard.c (make_lispy_event) [MAC_OS]: Get Apple event info
+       from event->arg.
+
+       * termhooks.h (enum event_kind) [MAC_OS]: Update comment for
+       MAC_APPLE_EVENT.
+
+       * macterm.h (mac_make_lispy_event_code): Remove extern.
+       (mac_post_mouse_moved_event): Add extern.
+       (mac_aelist_to_lisp, mac_aedesc_to_lisp): Change arg 1 to
+       `const AEDesc *' in externs.
+       (create_apple_event_from_drag_ref) [TARGET_API_MAC_CARBON]: New extern.
+
+       * mac.c (mac_aelist_to_lisp, mac_aedesc_to_lisp): Change arg 1 to
+       `const AEDesc *'.
+       [TARGET_API_MAC_CARBON] (create_apple_event): New function.
+       [TARGET_API_MAC_CARBON] (create_apple_event_from_event_ref): Use it.
+       Use xrealloc instead of repeated xmalloc/xfree.
+       [TARGET_API_MAC_CARBON] (create_apple_event_from_drag_ref): New
+       function.
+
+       * macmenu.c (restore_menu_items, cleanup_popup_menu): Return a value.
+
+       * macselect.c: Update copyright year.
+       (mac_store_apple_event): Change return type to void in extern.
+       (mac_handle_apple_event): Don't get return value from
+       mac_store_apple_event.
+       [TARGET_API_MAC_CARBON] (Vmac_dnd_known_types): New variable.
+       (syms_of_macselect) [TARGET_API_MAC_CARBON]: Defvar it.
+       [TARGET_API_MAC_CARBON] (mac_do_track_drag): Move function from
+       macterm.c.  Use Vmac_dnd_known_types as acceptable flavors.
+       [TARGET_API_MAC_CARBON] (mac_do_receive_drag): Likewise.  New
+       implementation using create_apple_event_from_drag_ref.
+       [TARGET_API_MAC_CARBON] (mac_do_track_dragUPP)
+       (mac_do_receive_dragUPP): Move variables from macterm.c.
+       (install_drag_handler, remove_drag_handler): New functions.
+
+       * macterm.c (XTread_socket) [TARGET_API_MAC_CARBON]: Try window
+       path select also for proxy icon click.
+       [TARGET_API_MAC_CARBON] (mac_post_mouse_moved_event): New function.
+       [USE_TOOLKIT_SCROLL_BARS] (scroll_bar_timer_callback): Use it.
+       (xlfdpat_create): Remove unused label `error' and trailing sentences.
+       (mac_do_track_drag, mac_do_receive_drag): Move functions to macselect.c.
+       (mac_do_track_dragUPP, mac_do_receive_dragUPP): Move variables to
+       macselect.c.
+       (install_drag_handler, remove_drag_handler): Add extern.
+       (mac_store_apple_event): Change return type to void.  All uses changed.
+       Create Lisp object from Apple event and store it into input event.
+       (mac_make_lispy_event_code): Remove function.
+       [TARGET_API_MAC_CARBON] (mac_store_drag_event): New function.
+       (install_window_handler): Call install_drag_handler.
+       (remove_window_handler): Call remove_drag_handler.
+
+2006-05-03  Richard Stallman  <rms@gnu.org>
+
+       * sound.c (Fplay_sound_internal): Dynamically allocate
+       current_sound_device and current_sound.
+       (sound_cleanup): Free them.
+
+       * minibuf.c (read_minibuf): Don't use read_minibuf_noninteractive
+       when inside a keyboard macro.
+
+2006-05-02  Andreas Schwab  <schwab@suse.de>
+
+       * xmenu.c (restore_menu_items): Return a value.
+
+2006-05-01  Martin Rudalics  <rudalics@gmx.at>
+
+       * syntax.c (Fforward_comment): Detect generic comment at beginning of
+       buffer when moving backwards.
+
 2006-05-01  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
 
        * dispnew.c (update_window): Don't set changed_p when mode/header
        line is updated.
 
        * xdisp.c (prepare_menu_bars) [MAC_OS]: Call mac_update_title_bar.
-       (get_glyph_face_and_encoding, get_char_face_and_encoding): Don't
-       distinguish known faces from others.
+       (get_glyph_face_and_encoding, get_char_face_and_encoding):
+       Don't distinguish known faces from others.
 
        * mac.c (mac_coerce_file_name_ptr): Try typeFSRef if coercion
        through typeFileURL failed.
 
        * macfns.c (mac_update_title_bar): New function.
        [TARGET_API_MAC_CARBON] (mac_update_proxy_icon): New function.
-       (show_hourglass, hide_hourglass) [USE_CG_DRAWING]: Call
-       mac_prepare_for_quickdraw.
+       (show_hourglass, hide_hourglass) [USE_CG_DRAWING]:
+       Call mac_prepare_for_quickdraw.
 
        * macgui.h (USE_ATSUI): Set default to 1 if MAC_OSX is defined.
        (USE_CG_DRAWING): Don't define if compiled on Mac OS X 10.1.
        (struct MacFontStruct): Change type of member `rows'.
        (struct _XGC) [USE_CG_DRAWING]: Add member `clip_rects'.
 
-       * macterm.c (mac_draw_line, mac_draw_line_to_pixmap): Adjust
-       endpoints of strictly horizontal/vertical lines.
+       * macterm.c (mac_draw_line, mac_draw_line_to_pixmap):
+       Adjust endpoints of strictly horizontal/vertical lines.
        (mac_set_clip_rectangles) [USE_CG_DRAWING]: Set clip_rects.
        (pcm_init, pcm_get_status): New functions.
        (x_per_char_metric, XLoadQueryFont): Use them instead of