X-Git-Url: http://git.hcoop.net/bpt/emacs.git/blobdiff_plain/3570640e437ae864e53616c1c9bff5f57d91030b..63a4fc686d68caab09b52921b5dc6cf692062564:/src/ChangeLog diff --git a/src/ChangeLog b/src/ChangeLog index 3a303c38ba..cfe86dabd9 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,528 @@ +2007-04-10 Chong Yidong + + * xdisp.c (note_mode_line_or_margin_highlight): Don't decrement + glyph pointer before start of glyph row. + +2007-04-09 YAMAMOTO Mitsuharu + + * s/darwin.h (__restrict, struct kboard): Remove outdated workarounds. + (C_SWITCH_SYSTEM): Remove `-I../mac/src'. + +2007-04-09 Martin Rudalics + + * indent.c (Fmove_to_column): Set next_boundary with correct start pt. + +2007-04-08 Richard Stallman + + * xdisp.c (syms_of_xdisp) : Default 100. + +2007-04-07 Chong Yidong + + * editfns.c (Ftranspose_regions): Validate interval before setting + text properties. + +2007-04-03 Eli Zaretskii + + * emacs.c (main): Fix instructions for building Emacs for profiling. + +2007-04-03 Jan Dj,Ad(Brv + + * gtkutil.c (xg_update_menubar): Call g_list_next after moving + menu bar item. + +2007-04-02 Juanma Barranquero + + * print.c (Fprin1_to_string): Use macro SPECPDL_INDEX. + +2007-04-01 Chong Yidong + + * keymap.c (Fcommand_remapping): New optional argument. + (where_is_internal): Use new keymaps argument. + (Fkey_binding): Caller changed. + + * keyboard.c (command_loop_1): Caller changed. + +2007-03-31 Eli Zaretskii + + * window.c (Fget_lru_window): Doc fix. + +2007-03-30 Chong Yidong + + * undo.c (Fprimitive_undo): Give clearer error message when trying + to change text properties outside accessible part of buffer. + +2007-03-29 Kim F. Storm + + * process.c (wait_reading_process_output) [HAVE_PTYS]: + When EIO happens, clear channel from descriptor masks before raising + SIGCHLD signal to avoid busy loop between read and sigchld_handler. + (sigchld_handler): Remove sleep (2007-03-11 & 2007-03-26 changes). + +2007-03-29 Juanma Barranquero + + * buffer.c (Fset_buffer_major_mode): Check that BUFFER is valid. + + * process.c (Fformat_network_address): Return nil when the + argument vector contains invalid values. + +2007-03-28 YAMAMOTO Mitsuharu + + * gmalloc.c [HAVE_GTK_AND_PTHREAD]: Define USE_PTHREAD. + [USE_PTHREAD]: Include pthread.h. + (malloc_init_once_control, _malloc_mutex) [USE_PTHREAD]: New variables. + (malloc_initialize_1): New function created from __malloc_initialize. + (__malloc_initialize): Use it. + (LOCK, UNLOCK): New macros to make malloc etc. thread safe. + (_malloc_internal, _free_internal, _realloc_internal): Use them. + + * lread.c (readchar): Extend BLOCK_INPUT block to ferror/clearerr. + +2007-03-27 Juanma Barranquero + + * process.c (Fformat_network_address): Make args array big enough + to format IPv6 addresses. + +2007-03-27 Glenn Morris + + * m/hp800.h: Restore HP-UX support (removed 2007-01-29). + +2007-03-26 YAMAMOTO Mitsuharu + + * macfns.c (Fx_display_mm_height, Fx_display_mm_width): Scale whole + screen size in pixels by millimeters per pixel of main display. + + * macselect.c (get_scrap_target_type_list, x_own_selection): + Move assignments outside predicate macros. + (Vselection_converter_alist): Doc fix. + + * macterm.c (create_text_encoding_info_alist): Move assignments + outside predicate macros. + (mac_initialize_display_info) [MAC_OSX]: dpyinfo->height and + dpyinfo->width are those of whole screen. + +2007-03-26 Sam Steingold + + * process.c (sigchld_handler): Delay by 1ms instead of 1s to + alleviate sluggishness (the original problem is still fixed). + +2007-03-25 Kim F. Storm + + * intervals.c (merge_properties): Use explicit loop instead of + Fplist_member to avoid QUIT. Don't use Fcdr. + (intervals_equal): Likewise. Rewrite loop to perform length check + on the fly rather than calling Flength. Don't use Fcar. + +2007-03-24 Eli Zaretskii + + * editfns.c (Fgoto_char): Doc fix. + + * indent.c (Findent_to): Doc fix. + +2007-03-24 Chong Yidong + + * editfns.c (Ftranspose_regions): Use set_text_properties_1 + instead of Fset_text_properties to avoid GC. Signal after change. + +2007-03-24 Eli Zaretskii + + * xfns.c (Fx_show_tip): Doc fix. + + * macfns.c (Fx_show_tip): Doc fix. + + * w32fns.c (Fx_show_tip): Doc fix. + +2007-03-23 Kim F. Storm + + * intervals.c (merge_properties, intervals_equal): + Use Fplist_member instead of Fmemq to find properties. + +2007-03-23 Glenn Morris + + * unexhp9k800.c: Restore file with clarified legal status. + * m/sr2k.h: Restore since dependency unexhp9k800.c is restored. + +2007-03-22 Chong Yidong + + * widget.c (EmacsFrameSetCharSize): Catch X errors. + +2007-03-22 Kenichi Handa + + * fileio.c (Fcopy_file): Call barf_or_query_if_file_exists with + non-encoded file name. + (Frename_file): Likewise. + (Fadd_name_to_file): Likewise. + (Fmake_symbolic_link): Likewise. + +2007-03-20 YAMAMOTO Mitsuharu + + * Makefile.in (alloca.o, gtkutil.o): Depend on systime.h. + (dired.o, editfns.o, fileio.o, msdos.o): Depend on atimer.h. + (dosfns.o, window.o, fns.o, macselect.o): Depend on atimer.h and + systime.h. + (term.o, print.o, lread.o): Depend on blockinput.h, atimer.h, and + systime.h. + (macfns.o): Remove duplicate dependency on systime.h. + + * dispnew.c (Fopen_termscript): Add BLOCK_INPUT around fclose. + (Fsend_string_to_terminal): Add BLOCK_INPUT around fwrite. + + * fileio.c (do_auto_save_unwind): Add BLOCK_INPUT around fclose. + (Fdo_auto_save): Add BLOCK_INPUT around fwrite. + + * keyboard.c (record_char): Add BLOCK_INPUT around fwrite. + (Fopen_dribble_file): Add BLOCK_INPUT around fclose. + + * lread.c: Include blockinput.h. + (readchar, Fget_file_char): Add BLOCK_INPUT around getc. + (unreadchar): Add BLOCK_INPUT around ungetc. + (load_unwind): Add BLOCK_INPUT around fclose. + + * print.c: Include blockinput.h. + (Fredirect_debugging_output): Add BLOCK_INPUT around fclose. + + * process.c (Fmake_network_process) [HAVE_GETADDRINFO]: + Clear immediate_quit before calling freeaddrinfo. + Add BLOCK_INPUT around freeaddrinfo. + + * term.c: Include blockinput.h. + (write_glyphs, insert_glyphs): Add BLOCK_INPUT around fwrite. + +2007-03-19 Richard Stallman + + * keyboard.c (NUM_RECENT_KEYS): Bump up to 300. + + * buffer.c (syms_of_buffer): Doc fix. + +2007-03-18 Chong Yidong + + * image.c (pbm_load): Signal error for invalid image size. + +2007-03-18 YAMAMOTO Mitsuharu + + * macterm.c (note_mouse_movement): Don't return immediately for + LeaveNotify case. + + * macmenu.c (popup_activated_flag): New variable. + (x_activate_menubar, mac_menu_show): Set it during menu tracking. + (popup_activated): New function. + + * xdisp.c (redisplay_internal, note_mouse_highlight): + Check popup_activated for MAC_OS. + +2007-03-17 Juanma Barranquero + + * buffer.c (syms_of_buffer) : Doc fix. + Reported by Nikolaj Schumacher . + +2007-03-17 Richard Stallman + + * dired.c (file_name_completion): gcpro NAME. + +2007-03-17 Chong Yidong + + * xdisp.c (try_window_id): Increment matrix positions if the + buffer's byte count has increased, but not the character count. + +2007-03-12 Andreas Schwab + + * lisp.h: Declare check_obarray. + + * process.c (Fdelete_process): Properly handle deletion of first + element of deleted_pid_list. + (create_process): Declare pid as pid_t. + +2007-03-12 Kim F. Storm + + * process.c (sigchld_handler): Change type of pid to pid_t. + Scan deleted_pid_list explicitly to avoid using Fmember which don't + know about mark bits and make_fixnum_or_float which may malloc. + Reported by Andreas Schwab. + + * keyboard.c (read_key_sequence): Store original event into keybuf + when replaying sequence with local keymap(s) from string. + +2007-03-12 Glenn Morris + + * editfns.c (Fdecode_time, Fencode_time): Doc fix ("daylight + savings" to "daylight saving"). + +2007-03-11 Sam Steingold + + * process.c (sigchld_handler): Sleep before wait3 to avoid a busyloop. + +2007-03-11 YAMAMOTO Mitsuharu + + * macfns.c (Fx_server_vendor): Change vendor string to "Apple Inc.". + +2007-03-10 YAMAMOTO Mitsuharu + + * macterm.c [USE_CARBON_EVENTS] (mac_handle_mouse_event): + Ignore mouse wheel movement on title bar or tool bar. + +2007-03-10 Chong Yidong + + * keyboard.c (help_form_saved_window_configs): New var. + (read_char_help_form_unwind): New function. + (read_char): Don't restore window configuration if a mouse click + arrives while the help form is being displayed. + +2007-03-10 Kim F. Storm + + * xdisp.c (redisplay_window): Don't automatically select a new window + start for a contination line during mouse-click. + +2007-03-09 Jan Dj,Ad(Brv + + * xterm.c (handle_one_xevent): Ignore buttons > 3 for the tool bar. + +2007-03-09 Juanma Barranquero + + * keymap.c (Fdescribe_buffer_bindings): Check that BUFFER is valid. + +2007-03-08 Richard Stallman + + * keyboard.c (syms_of_keyboard): Doc fix. + +2007-03-08 Chong Yidong + + * minibuf.c (Ftry_completion): Don't short circuit if + completion-ignore-case is non-nil. + +2007-03-07 YAMAMOTO Mitsuharu + + * macfns.c (mac_set_scroll_bar_width, mac_frame_parm_handlers): + Undo 2006-03-06 changes. + + * macterm.c (XTset_vertical_scroll_bar) [MAC_OSX]: Don't show scroll + bar if its width is smaller than that of Aqua small scroll bar. + +2007-03-07 Stefan Monnier + + * minibuf.c (read_minibuf): Bind inhibit-read-only a bit longer so as + to handle correctly prompts with read-only property. + +2007-03-06 Jan Dj,Ad(Brv + + * sound.c (wav_play): Check header->data_length to see how much we + shall read. + (alsa_period_size): Convert ALSA period size in frames to bytes. + (alsa_write): Return if frames is zero. + +2007-03-06 Kenichi Handa + + * xselect.c (Vselection_coding_system): Documentation improved. + +2007-03-05 YAMAMOTO Mitsuharu + + * macterm.c (x_scroll_bar_create, XTread_socket): Replace #if + USE_TOOLKIT_SCROLL_BARS with #ifdef USE_TOOLKIT_SCROLL_BARS. + (x_set_window_size): Call SET_FRAME_GARBAGED. Clear window if + internal border width has changed. + + * macterm.h (struct mac_output): New member `internal_border_width'. + +2007-03-04 Richard Stallman + + * window.c (Fdisplay_buffer): Doc fix. + +2007-03-03 Glenn Morris + + * Makefile.in: Don't clear out LIB_X11_LIB, since XFT_LIBS does + not include -lX11 on Solaris. + +2007-03-02 Stuart D. Herring + + * keymap.c (Fkey_binding): Don't consider one-element lists as events. + +2007-03-01 Kenichi Handa + + * process.c (send_process_object): Check the process status and + signal an error if something is wrong. + +2007-02-28 Chong Yidong + + * insdel.c (Fcombine_after_change_execute): Return nil if + combine_after_change_buffer has been invalidated. + +2007-02-25 Dan Nicolaescu + + * m/xtensa.h: New file. + +2007-02-24 Nick Roberts + + * .gdbinit (xprintstr): Ensure GDB (> 6.6) prints symbol name + as strings and not character arrays. + +2007-02-24 YAMAMOTO Mitsuharu + + * macterm.c [USE_TOOLKIT_SCROLL_BARS] (x_scroll_bar_handle_drag) + (x_set_toolkit_scroll_bar_thumb): Add bar->min_handle as margin to + scroll bar handle size in order to avoid `scroll backward' problem. + (x_scroll_bar_create, XTset_vertical_scroll_bar) + [USE_TOOLKIT_SCROLL_BARS]: Initialize bar->min_handle. + + * macterm.h (struct scroll_bar) [USE_TOOLKIT_SCROLL_BARS]: + New member `min_handle'. + +2007-02-23 Kim F. Storm + + * print.c (print): Reset print_number_index if Vprint_number_table + is nil. + +2007-02-23 Eli Zaretskii + + * w32.c (stat, get_long_basename, is_unc_volume): Use _mbspbrk + instead of strpbrk. + +2007-02-23 YAMAMOTO Mitsuharu + + * macmenu.c (mac_menu_show): Call unbind_to early. Use variable + `menu_item_selection' as in W32 version. + [TARGET_API_MAC_CARBON] (mac_handle_dialog_event): Add explicit + braces to avoid ambiguous `else'. + + * macterm.c (mac_display_info_for_display): Remove function. + (mac_flush_display_optional) [USE_CG_DRAWING]: New function. + (x_redisplay_interface) [USE_CG_DRAWING]: Set it as handler for + flush_display_optional. + [USE_TOOLKIT_SCROLL_BARS] (x_scroll_bar_handle_press): + New argument MOUSE_POS. All uses changed. Set bar->dragging to + negative integer if scroll bar handle is pressed. + [USE_TOOLKIT_SCROLL_BARS] (x_scroll_bar_handle_release): + Negative bar->dragging means scroll bar handle is not dragged. + [USE_TOOLKIT_SCROLL_BARS] (x_scroll_bar_handle_drag): Get initial + offset of scroll bar handle from negative bar->dragging. + (XTread_socket) [USE_TOOLKIT_SCROLL_BARS]: Modifiers for scroll + bar click is compared against mapped one. Set down/up_modifier + for scroll bar click event with control key. + + * macterm.h (x_display_info_for_display): Remove extern. + (SCROLL_BAR_UNPACK, SET_SCROLL_BAR_CONTROL_HANDLE): Don't limit + value to be unpacked to 32-bit on LP64 model. + +2007-02-23 Kenichi Handa + + * process.c (send_process_object_unwind): New function. + (send_process_object): New function. + (Fprocess_send_region): Call send_process_object. + (Fprocess_send_string): Likewise. + +2007-02-22 Jason Rumney + + * w32menu.c (w32_menu_show): Mark the frame's menu as inactive + when popup menu finishes. + + * w32fns.c (menubar_in_use): New flag. + (w32_wnd_proc) [WM_INITMENU, WM_EXITMENULOOP, WM_TIMER, WM_COMMAND]: + Use it. + + * w32menu.c (Fx_popup_menu): Don't free menu strings here. + (w32_menu_show): Do it here instead. + + * w32fns.c (w32_wnd_proc) [WM_INITMENU]: Set menubar_active frame + parameter. + + * w32menu.c (current_popup_menu): Make available globally. + (menubar_selection_callback): Free menu strings before pushing the + menu event into the keyboard buffer. Remove menu_command_in_progress. + + * w32fns.c (current_popup_menu): Use from w32menu.c. + (w32_wnd_proc) [WM_EXITMENULOOP, WM_TIMER]: Use menubar_active + and current_popup_menu to determine whether a menubar menu has + been cancelled. + + * w32term.h (w32_output): Remove menu_command_in_progress. + +2007-02-22 Kim F. Storm + + * dispnew.c (update_frame, update_single_window): Set force_p here if + redisplay_dont_pause is set or Vredisplay_preemption_period is nil... + (update_window, update_frame_1): ... instead of here. + (update_text_area): Clear mouse face on header lines. + +2007-02-21 Kim F. Storm + + * minibuf.c (Fassoc_string): Doc fix. Allow symbol for KEY too. + +2007-02-21 YAMAMOTO Mitsuharu + + * macterm.c (WINDOW_RESOURCE, TERM_WINDOW_RESOURCE): Remove macros. + [USE_MAC_TSM] (mac_handle_text_input_event): Remove unused variable + `mapped_modifiers'. + (XTread_socket) [MAC_OS_X_VERSION_MAX_ALLOWED >= 1020]: Use Keyboard + Layout Services routines to get current Unicode keyboard layout. + +2007-02-20 Chong Yidong + + * frame.c (x_set_screen_gamma): Apply gamma value to the frame's + bgcolor. + +2007-02-19 Kim F. Storm + + * minibuf.c (Fassoc_string): Allow symbols as keys. + + * w32term.c (w32_set_scroll_bar_thumb): Don't resize scroll-bar + handle while dragging, except when we get close to eob. + Fix position and size calculations so we don't scroll backwards + just by clicking on the handle. + +2007-02-17 YAMAMOTO Mitsuharu + + * Makefile.in (${emacsapp}Contents/Resources/Emacs.rsrc) + [HAVE_CARBON]: Remove target. + (macosx-app) [HAVE_CARBON]: Don't depend on it. + +2007-02-17 Juanma Barranquero + + * callproc.c (syms_of_callproc) : + : + (Fgetenv_internal): Fix typos in docstrings. + + * doc.c (Fsubstitute_command_keys): Fix typo in docstring. + +2007-02-16 Andreas Schwab + + * frame.c (Fmodify_frame_parameters): Return a value. + + * editfns.c (Fformat): Add support for '+' flag. + * doprnt.c (doprnt1): Likewise. Fix overflow checking. + +2007-02-14 Chong Yidong + + * s/umips.h: Unused file removed. + +2007-02-14 Juanma Barranquero + + * xfaces.c (Fcolor_distance): Don't continue checking a color for + errors after it has been correctly parsed as an RGB list. + +2007-02-14 Jan Dj,Ad(Brv + + * xterm.c (do_ewmh_fullscreen): Also check for _NET_WM_STATE_FULLSCREEN. + +2007-02-13 YAMAMOTO Mitsuharu + + * macfns.c (Fx_focus_frame): Move current process to foreground if + it is not. + [TARGET_API_MAC_CARBON] (Fx_file_dialog): Replace #if MAC_OSX with + #ifdef MAC_OSX. + (Fmac_set_font_panel_visible_p) [USE_MAC_FONT_PANEL]: Rename from + Fmac_set_font_panel_visibility. All uses changed. Rename argument + VISIBLE to FLAG. + + * macterm.c (MakeMeTheFrontProcess) [MAC_OSX]: Remove function. + (mac_initialize) [MAC_OSX]: Call SetFrontProcess instead of + MakeMeTheFrontProcess. + +2007-02-12 Chong Yidong + + * frame.c (x_set_screen_gamma): Clear face cache. + +2007-02-11 Juanma Barranquero + + * buffer.c (Fgenerate_new_buffer_name, Fbuffer_modified_tick): + Reflow docstrings. + 2007-02-10 Eli Zaretskii * window.c (Fwindow_height, Fwindow_hscroll) @@ -8,7 +533,7 @@ 2007-02-08 Kim F. Storm * minibuf.c (read_minibuf): Fix 2007-01-30 change. - Use Qlambda as interrim value of Vminibuffer_completing_file_name. + Use Qlambda as interim value of Vminibuffer_completing_file_name. (Fcompleting_read): Use non-filename maps if value is Qlambda (or Qnil). (syms_of_minibuf) : Document lambda. @@ -121,9 +646,9 @@ 2007-01-22 YAMAMOTO Mitsuharu - * macselect.c [TARGET_API_MAC_CARBON] (mac_do_receive_drag): Don't - pass keyboard modifiers to mac_store_drag_event, but put them as - kEventParamKeyModifiers Apple event parameter. + * macselect.c [TARGET_API_MAC_CARBON] (mac_do_receive_drag): + Don't pass keyboard modifiers to mac_store_drag_event, but put + them as kEventParamKeyModifiers Apple event parameter. 2007-01-21 Chong Yidong @@ -169,8 +694,8 @@ 2007-01-14 YAMAMOTO Mitsuharu - * macmenu.c (create_and_show_dialog) [TARGET_API_MAC_CARBON]: Use - DisableControl for disabled items. Set default button to first + * macmenu.c (create_and_show_dialog) [TARGET_API_MAC_CARBON]: + Use DisableControl for disabled items. Set default button to first enabled one. Use icon of application in execution. 2007-01-13 Eli Zaretskii @@ -207,8 +732,8 @@ (mac_dialog) [TARGET_API_MAC_CARBON]: Remove function. (mac_dialog_show) [TARGET_API_MAC_CARBON]: Use create_and_show_dialog. - * macterm.c (x_free_frame_resources) [USE_CG_DRAWING]: Call - mac_prepare_for_quickdraw. + * macterm.c (x_free_frame_resources) [USE_CG_DRAWING]: + Call mac_prepare_for_quickdraw. (quit_char, make_ctrl_char) [TARGET_API_MAC_CARBON]: Move externs outside #ifdef MAC_OSX. (mac_quit_char_key_p) [TARGET_API_MAC_CARBON]: Move function @@ -487,7 +1012,7 @@ 2006-12-19 Juanma Barranquero - * buffer.c (syms_of_buffer) + * buffer.c (syms_of_buffer) : : Doc fixes. 2006-12-17 Richard Stallman @@ -787,7 +1312,7 @@ * strftime.c (HAVE_SYS__MBSTATE_T_H): Fix typo. -2006-11-02 Alfred M. Szmidt (tiny change) +2006-11-22 Alfred M. Szmidt (tiny change) * s/openbsd.h (LD_SWITCH_SYSTEM): Remove /usr/pkg/lib and /usr/pkg/lib from the library search path. @@ -1860,8 +2385,8 @@ 2006-08-28 Kenichi Handa - * coding.c (Fdetect_coding_region, Fdetect_coding_string): Fix - docstring about ISO-2022 control characters. + * coding.c (Fdetect_coding_region, Fdetect_coding_string): + Fix docstring about ISO-2022 control characters. 2006-08-28 Kim F. Storm @@ -2084,7 +2609,7 @@ 2006-08-09 Kenichi Handa * coding.c (syms_of_coding): Improve the docstring - file-coding-system-alist. + of file-coding-system-alist. 2006-08-07 Andreas Schwab @@ -3032,8 +3557,8 @@ * macterm.c (font_panel_shown_p) [USE_MAC_FONT_PANEL]: New variable. (mac_font_panel_visible_p, mac_show_hide_font_panel) [USE_MAC_FONT_PANEL]: New functions. - [USE_MAC_FONT_PANEL] (mac_set_font_info_for_selection): Return - immediately if font panel is not visible. + [USE_MAC_FONT_PANEL] (mac_set_font_info_for_selection): + Return immediately if font panel is not visible. * macterm.h (mac_font_panel_visible_p, mac_show_hide_font_panel): Add externs. @@ -3052,8 +3577,8 @@ 2006-05-29 Jan Dj,Ad(Brv - * sound.c (alsa_open, alsa_configure, alsa_write): Move - assignment to err out of if-statement. + * sound.c (alsa_open, alsa_configure, alsa_write): + Move assignment to err out of if-statement. * gtkutil.c (menu_nav_ended): New function. (create_menus): Connect menu_nav_ended to "selection-done" to fix @@ -3468,8 +3993,8 @@ (Qpanel_closed, Qselection) [USE_MAC_FONT_PANEL]: Likewise. (syms_of_macterm): Intern and staticpro them. (init_font_name_table) [USE_ATSUI]: Add data to Vmac_atsu_font_table. - [TARGET_API_MAC_CARBON] (mac_store_event_ref_as_apple_event): New - function. + [TARGET_API_MAC_CARBON] (mac_store_event_ref_as_apple_event): + New function. [USE_CARBON_EVENTS] (mac_handle_command_event): Use it. [MAC_OSX] (mac_store_services_event): Likewise. [USE_CARBON_EVENTS] (mac_handle_window_event) [MAC_OSX]: Handle @@ -3521,8 +4046,8 @@ [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. + [TARGET_API_MAC_CARBON] (create_apple_event_from_drag_ref): + New function. * macmenu.c (restore_menu_items, cleanup_popup_menu): Return a value. @@ -5382,8 +5907,8 @@ objects until we are done with the parsing. (parse_single_submenu, digest_single_submenu): New functions. (single_submenu): Function deleted, replaced by those two. - (install_menu_quit_handler) [HAVE_CANCELMENUTRACKING]: Don't - create or dispose of EventHandlerUPP. Install hander to all submenus. + (install_menu_quit_handler) [HAVE_CANCELMENUTRACKING]: Don't create + or dispose of EventHandlerUPP. Install hander to all submenus. (mac_menu_show) [!HAVE_MULTILINGUAL_MENU]: Use ENCODE_MENU_STRING instead of ENCODE_SYSTEM. (free_frame_menubar, fill_submenu, fill_menu): Don't use NULL for @@ -27305,7 +27830,22 @@ See ChangeLog.9 for earlier changes. Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007 Free Software Foundation, Inc. - Copying and distribution of this file, with or without modification, - are permitted provided the copyright notice and this notice are preserved. + + This file is part of GNU Emacs. + + GNU Emacs is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2, or (at your option) + any later version. + + GNU Emacs is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with GNU Emacs; see the file COPYING. If not, write to the + Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, + Boston, MA 02110-1301, USA. ;;; arch-tag: 5dcc435f-4038-4141-b3bf-5be51cd76bd4