+2007-06-28 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
+
+ * macterm.c [USE_MAC_TSM] (mac_handle_text_input_event):
+ Check WINDOWP before using XWINDOW.
+
+2007-06-27 Juanma Barranquero <lekktu@gmail.com>
+
+ * buffer.c (syms_of_buffer) <selective-display>: Fix typo in docstring.
+
+2007-06-26 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
+
+ * gmalloc.c [HAVE_GTK_AND_PTHREAD]: Check this after including config.h.
+ (_aligned_blocks_mutex) [USE_PTHREAD]: New variable.
+ (LOCK_ALIGNED_BLOCKS, UNLOCK_ALIGNED_BLOCKS): New macros.
+ (_free_internal, memalign): Use them.
+ (_malloc_mutex, _aligned_blocks_mutex) [USE_PTHREAD]:
+ Initialize to PTHREAD_MUTEX_INITIALIZER.
+ (malloc_initialize_1) [USE_PTHREAD]: Don't use recursive mutex.
+ (morecore_nolock): Rename from morecore. All uses changed.
+ Use only nolock versions of internal allocation functions.
+ (_malloc_internal_nolock, _realloc_internal_nolock)
+ (_free_internal_nolock): New functions created from
+ _malloc_internal, _realloc_internal, and _free_internal.
+ (_malloc_internal, _realloc_internal, _free_internal): Use them.
+ Copy hook value to automatic variable before its use.
+ (memalign): Copy hook value to automatic variable before its use.
+
+2007-06-21 Jason Rumney <jasonr@gnu.org>
+
+ * image.c (convert_mono_to_color_image): Swap fore and background.
+
+2007-06-20 Jason Rumney <jasonr@gnu.org>
+
+ * w32bdf.c (w32_BDF_to_x_font): Unmap memory when finished.
+ (w32_free_bdf_font): Unmap memory not handle.
+
+2007-06-20 Juanma Barranquero <lekktu@gmail.com>
+
+ * w32.c (_wsa_errlist): Fix typo in error message.
+ (init_environment): Ignore any environment variable from the
+ registry having a null value.
+
+2007-06-17 Jason Rumney <jasonr@gnu.org>
+
+ * w32menu.c (add_menu_item): Don't use multibyte string functions on
+ unicode strings.
+
+2007-06-17 Juanma Barranquero <lekktu@gmail.com>
+
+ * xdisp.c (syms_of_xdisp) <auto-resize-tool-bars>:
+ Fix typo in docstring.
+
+2007-06-16 Eli Zaretskii <eliz@gnu.org>
+
+ * w32menu.c (add_menu_item): Escape `&' characters in menu items
+ and their keybindings.
+
+2007-06-14 Chong Yidong <cyd@stupidchicken.com>
+
+ * composite.c (update_compositions): Check validity of compositions.
+
+2007-06-10 Jason Rumney <jasonr@gnu.org>
+
+ * w32fns.c (Fx_file_dialog): Take size from struct not pointer.
+
+2007-06-06 Jason Rumney <jasonr@gnu.org>
+
+ * s/ms-w32.h: Don't define HAVE_TZNAME.
+
+2007-06-06 Chong Yidong <cyd@stupidchicken.com>
+
+ * image.c (xpm_load): Remove spurious call to
+ xpm_init_color_cache.
+
+2007-06-06 Martin Rudalics <rudalics@gmx.at>
+
+ * syntax.c (scan_words): Fix arg to UPDATE_SYNTAX_TABLE_BACKWARD.
+
+2007-06-05 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-06-04 Juanma Barranquero <lekktu@gmail.com>
+
+ * window.c (Fshrink_window): Reflow docstring.
+
+2007-06-02 Chong Yidong <cyd@stupidchicken.com>
+
+ * Version 22.1 released.
+
+ * xfns.c (x_set_name_internal): Undo last change.
+
+2007-06-01 Richard Stallman <rms@gnu.org>
+
+ * xfns.c (x_encode_text): Add GCPRO.
+ (x_set_name_internal): Separate USE_GTK and non-USE_GTK cases.
+
+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-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-24 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-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-22 Richard Stallman <rms@gnu.org>
+
+ * xterm.c (x_connection_closed): Remove NO_RETURN.
+
+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-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-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-06 Richard Stallman <rms@gnu.org>
+
+ * process.c: Undo May 3 change.
+
+2007-05-03 Per Cederqvist <ceder@lysator.liu.se> (tiny change)
+
+ * process.c (Faccept_process_output): Revert 2006-03-22 change so
+ that the third argument once again is in microseconds (not
+ milliseconds). This makes it compatible with Emacs 21 and
+ earlier. Problem found by Henrik Rindl\e,Av\e(Bw.
+
+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 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
+
+ * xdisp.c (try_window_reusing_current_matrix): Fix number of
+ disabled lines.
+
+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.
+
+2007-04-24 Chong Yidong <cyd@stupidchicken.com>
+
+ * xdisp.c (redisplay_window): Use BEG_UNCHANGED and END_UNCHANGED
+ values of the actual window.
+
+2007-04-23 Richard Stallman <rms@gnu.org>
+
+ * process.c (Fstart_process): Doc fix.
+
+2007-04-23 Eli Zaretskii <eliz@gnu.org>
+
+ * process.c (Fstart_process): Doc fix.
+
+2007-04-22 Richard Stallman <rms@gnu.org>
+
+ * abbrev.c (Fdefine_abbrev): Doc fix.
+
+ * keymap.c (Fdefine_key): Minor doc fix.
+
+2007-04-21 Glenn Morris <rgm@gnu.org>
+
+ * keymap.c (Fdefine_key): Fix info ref in doc string.
+
+2007-04-20 Glenn Morris <rgm@gnu.org>
+
+ * sysdep.c (init_system_name): Don't accept localhost.localdomain.
+
+2007-04-19 Juanma Barranquero <lekktu@gmail.com>
+
+ * minibuf.c (Fminibuffer_contents, Fminibuffer_contents_no_properties)
+ (Fminibuffer_completion_contents, Fdelete_minibuffer_contents):
+ Doc fixes.
+
+2007-04-16 Chong Yidong <cyd@stupidchicken.com>
+
+ * dispnew.c (adjust_frame_glyphs_for_frame_redisplay):
+ Set garbaged flag in presence of window margins.
+ (showing_window_margins_p): New function.
+
+ * xdisp.c (cursor_row_p): Only end row on newline if it's a
+ display string. Suggested by Lennart Borgman.
+
+2007-04-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
+
+ * alloc.c (mem_insert): Set min_heap_address and max_heap_address
+ if they are not yet initialized.
+
+2007-04-15 Chong Yidong <cyd@stupidchicken.com>
+
+ * xdisp.c (redisplay_window): When deciding whether or not to
+ recenter, don't use the reset values of BEG_UNCHANGED and
+ END_UNCHANGED.
+
+2007-04-13 Kim F. Storm <storm@cua.dk>
+
+ * buffer.c (Fkill_buffer): gcpro BUF during kill_buffer_processes
+ and check that buffer is still alive upon return.
+
+2007-04-13 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
+
+ * macterm.c [!TARGET_API_MAC_CARBON]: Include Displays.h.
+ (mac_screen_config_changed): New variable.
+ (mac_handle_dm_notification, init_dm_notification_handler)
+ (mac_get_screen_info): New functions.
+ [MAC_OS8] (main): Call init_dm_notification_handler.
+ (mac_initialize) [MAC_OSX]: Likewise.
+ (XTread_socket): Call mac_get_screen_info if screen config changed.
+ (mac_initialized): Make static.
+ (mac_initialize_display_info): Remove function.
+ (mac_term_init): Call mac_get_screen_info. Add partial contents of
+ mac_initialize_display_info.
+
+2007-04-12 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
+
+ * mac.c (xrm_get_preference_database, Fmac_get_preference)
+ [TARGET_API_MAC_CARBON]: Use CFPreferencesAppSynchronize.
+
+ * macterm.c [TARGET_API_MAC_CARBON] (mac_post_mouse_moved_event):
+ Use GetGlobalMouse instead of GetMouse and LocalToGlobal.
+ (mac_initialize_display_info) [MAC_OSX]: Use CGRectZero.
+ (mac_initialize_display_info) [!MAC_OSX]: dpyinfo->height and
+ dpyinfo->width are those of whole screen.
+
+2007-04-10 Chong Yidong <cyd@stupidchicken.com>
+
+ * xdisp.c (note_mode_line_or_margin_highlight): Don't decrement
+ glyph pointer before start of glyph row.
+
+2007-04-09 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
+
+ * s/darwin.h (__restrict, struct kboard): Remove outdated workarounds.
+ (C_SWITCH_SYSTEM): Remove `-I../mac/src'.
+
+2007-04-09 Martin Rudalics <rudalics@gmx.at>
+
+ * indent.c (Fmove_to_column): Set next_boundary with correct start pt.
+
+2007-04-08 Richard Stallman <rms@gnu.org>
+
+ * xdisp.c (syms_of_xdisp) <message-log-max>: Default 100.
+
+2007-04-07 Chong Yidong <cyd@stupidchicken.com>
+
+ * editfns.c (Ftranspose_regions): Validate interval before setting
+ text properties.
+
+2007-04-03 Eli Zaretskii <eliz@gnu.org>
+
+ * emacs.c (main): Fix instructions for building Emacs for profiling.
+
+2007-04-03 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
+
+ * gtkutil.c (xg_update_menubar): Call g_list_next after moving
+ menu bar item.
+
+2007-04-02 Juanma Barranquero <lekktu@gmail.com>
+
+ * print.c (Fprin1_to_string): Use macro SPECPDL_INDEX.
+
+2007-04-01 Chong Yidong <cyd@stupidchicken.com>
+
+ * 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 <eliz@gnu.org>
+
+ * window.c (Fget_lru_window): Doc fix.
+
+2007-03-30 Chong Yidong <cyd@stupidchicken.com>
+
+ * 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 <storm@cua.dk>
+
+ * 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 <lekktu@gmail.com>
+
+ * 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 <mituharu@math.s.chiba-u.ac.jp>
+
+ * 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 <lekktu@gmail.com>
+
+ * process.c (Fformat_network_address): Make args array big enough
+ to format IPv6 addresses.
+
+2007-03-27 Glenn Morris <rgm@gnu.org>
+
+ * m/hp800.h: Restore HP-UX support (removed 2007-01-29).
+
+2007-03-26 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
+
+ * 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 <sds@gnu.org>
+
+ * 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 <storm@cua.dk>
+
+ * 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 <eliz@gnu.org>
+
+ * editfns.c (Fgoto_char): Doc fix.
+
+ * indent.c (Findent_to): Doc fix.
+
+2007-03-24 Chong Yidong <cyd@stupidchicken.com>
+
+ * 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 <eliz@gnu.org>
+
+ * 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 <storm@cua.dk>
+
+ * intervals.c (merge_properties, intervals_equal):
+ Use Fplist_member instead of Fmemq to find properties.
+
+2007-03-23 Glenn Morris <rgm@gnu.org>
+
+ * unexhp9k800.c: Restore file with clarified legal status.
+ * m/sr2k.h: Restore since dependency unexhp9k800.c is restored.
+
+2007-03-22 Chong Yidong <cyd@stupidchicken.com>
+
+ * widget.c (EmacsFrameSetCharSize): Catch X errors.
+
+2007-03-22 Kenichi Handa <handa@m17n.org>
+
+ * 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 <mituharu@math.s.chiba-u.ac.jp>
+
+ * 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 <rms@gnu.org>
+
+ * keyboard.c (NUM_RECENT_KEYS): Bump up to 300.
+
+ * buffer.c (syms_of_buffer): Doc fix.
+
+2007-03-18 Chong Yidong <cyd@stupidchicken.com>
+
+ * image.c (pbm_load): Signal error for invalid image size.
+
+2007-03-18 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
+
+ * 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 <lekktu@gmail.com>
* buffer.c (syms_of_buffer) <buffer-display-table>: Doc fix.
2007-03-17 Richard Stallman <rms@gnu.org>
- * dired.c (file_name_completion): Gcpro NAME.
+ * dired.c (file_name_completion): gcpro NAME.
2007-03-17 Chong Yidong <cyd@stupidchicken.com>
* keyboard.c (read_key_sequence): Store original event into keybuf
when replaying sequence with local keymap(s) from string.
+2007-03-12 Glenn Morris <rgm@gnu.org>
+
+ * editfns.c (Fdecode_time, Fencode_time): Doc fix ("daylight
+ savings" to "daylight saving").
+
2007-03-11 Sam Steingold <sds@gnu.org>
* process.c (sigchld_handler): Sleep before wait3 to avoid a busyloop.
2007-01-22 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
- * 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 <cyd@stupidchicken.com>
(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
2006-08-28 Kenichi Handa <handa@m17n.org>
- * 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 <storm@cua.dk>
2006-08-09 Kenichi Handa <handa@m17n.org>
* coding.c (syms_of_coding): Improve the docstring
- file-coding-system-alist.
+ of file-coding-system-alist.
2006-08-07 Andreas Schwab <schwab@suse.de>
* 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.
2006-05-29 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
- * 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
(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
[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.
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
(XTread_socket) [!MAC_OSX]: Don't pass keyboard events to TSM.
[MAC_OS8] (make_mac_terminal_frame) [TARGET_API_MAC_CARBON]:
Set default cursors.
- (mac_initialize) [USE_CARBON_EVENTS && !MAC_OSX] : Don't call
+ (mac_initialize) [USE_CARBON_EVENTS && !MAC_OSX]: Don't call
init_service_handler or init_quit_char_handler.
(mac_initialize) [!MAC_OSX]: Don't call MakeMeTheFrontProcess.
(install_window_handler) [TARGET_API_MAC_CARBON]:
Register handlers for tracking/receiving drag-and-drop items.
(do_ae_open_documents): Generate unibyte strings for filenames.
- (mac_do_receive_drag) [TARGET_API_MAC_CARBON] : Likewise.
+ (mac_do_receive_drag) [TARGET_API_MAC_CARBON]: Likewise.
Reject only non-filename items. Set event modifiers, and return value.
2004-12-28 Dan Nicolaescu <dann@ics.uci.edu>
* macgui.h [MAC_OSX]: Include Carbon/Carbon.h.
(mktime, DEBUG, Z, free, malloc, realloc, max, min)
- (init_process) [MAC_OSX] : Avoid conflicts with Carbon/Carbon.h.
+ (init_process) [MAC_OSX]: Avoid conflicts with Carbon/Carbon.h.
[!MAC_OSX]: Include QDOffscreen.h and Controls.h.
(INFINITY) [MAC_OSX]: Avoid conflict with definition in math.h.
(Bitmap): Remove typedef.