1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-21 12:03:55 -08:00
Commit graph

21006 commits

Author SHA1 Message Date
Kim F. Storm
af8f3e5c42 (redisplay_tool_bar): Handle large tool-bar-border values. 2006-05-11 21:26:54 +00:00
Kim F. Storm
f46f3e2102 *** empty log message *** 2006-05-11 21:26:43 +00:00
Kenichi Handa
17ad716ac4 (Finsert_file_contents): Fix for the case of IO error
while handling replace operation.
2006-05-11 04:13:33 +00:00
Kenichi Handa
4da9c1365a (realize_default_face): If the font chosen for the
default face was different from the frame font, adjust the frame
font.
2006-05-10 12:38:58 +00:00
YAMAMOTO Mitsuharu
dec940492f *** empty log message *** 2006-05-10 08:25:29 +00:00
YAMAMOTO Mitsuharu
5fd97b043c (mac_set_font_info_for_selection): Add 2nd and 3rd args in extern. 2006-05-10 08:25:04 +00:00
YAMAMOTO Mitsuharu
4cb62a90b3 (Qservice) [MAC_OSX]: Rename from Qservices. All uses changed.
[MAC_OSX] (mac_store_service_event): Rename from
mac_store_services_event.  All callers changed.
[USE_MAC_FONT_PANEL] (mac_set_font_info_for_selection): Add args
FACE_ID and C.  All callers changed.
(x_free_frame_resources) [USE_MAC_FONT_PANEL]: Call
mac_set_font_info_for_selection when focus frame is destroyed.
(XTread_socket): Revert to FrontNonFloatingWindow/FrontWindow.
2006-05-10 08:24:49 +00:00
YAMAMOTO Mitsuharu
c2e93c8242 (Vmac_service_selection) [MAC_OSX]: Rename from
Vmac_services_selection.  All uses changed.
(mac_store_service_event): Rename from mac_store_services_event in
extern and calls.
2006-05-10 08:24:09 +00:00
YAMAMOTO Mitsuharu
976b059fda (x_to_mac_color): Fix shift amount change.
[USE_MAC_FONT_PANEL] (mac_set_font): Use x_get_focus_frame.
[USE_MAC_FONT_PANEL] (Fmac_set_font_panel_visibility): Doc fix.
2006-05-10 08:23:45 +00:00
YAMAMOTO Mitsuharu
8c88cb181b (Qduration) [MAC_OS]: Undo previous change.
(syms_of_image) [MAC_OS]: Likewise.
[MAC_OS] (gif_load): Emulate Graphic Control Extension block.
2006-05-10 08:23:20 +00:00
Chong Yidong
d3ee989e85 * keymap.c (describe_map): Avoid generating duplicate entries if
the shadowed binding has the same definition.
2006-05-10 03:32:06 +00:00
Kenichi Handa
5f2c7b2a65 (push_key_description): Fix previous change. 2006-05-09 13:20:25 +00:00
Kenichi Handa
f39a0b4301 (push_key_description): Handle invalid character key. 2006-05-09 13:17:24 +00:00
Kenichi Handa
76a25e7936 (Fcall_process): Use system_eol_type for encoding
arguments if eol_type is not yet decided.
2006-05-08 07:56:14 +00:00
Kenichi Handa
3f0b133f76 (setup_coding_system): For invalid coding-system, set
coding->eol_type to CODING_EOL_UNDECIDED.
(encode_coding): Cancel previous change.
(shrink_encoding_region): Likewise.
(code_convert_region1): Likewise.
(code_convert_string1): Likewise.
(code_convert_string_norecord): Likewise.
2006-05-08 05:25:02 +00:00
Kenichi Handa
06ea6d57ca (system_eol_type): Extern it. 2006-05-08 05:24:53 +00:00
Kenichi Handa
452dd0bed5 (choose_write_coding_system): Use system_eol_type for
encoding if eol_type is not yet decided.
2006-05-08 05:20:16 +00:00
Kenichi Handa
6b62b48dbd (setup_process_coding_systems): Use system_eol_type
for encoding if eol_type is not yet decided.
(read_process_output): Likewise.
(send_process): Likewise.
2006-05-08 05:19:42 +00:00
Juanma Barranquero
f4b46bb9eb syms_of_minibuf) <history-length>: Fix typo in doc. 2006-05-07 11:17:06 +00:00
YAMAMOTO Mitsuharu
cc9945f2cd *** empty log message *** 2006-05-07 08:07:48 +00:00
YAMAMOTO Mitsuharu
d017985589 (mac_set_font_info_for_selection): Add extern. 2006-05-07 08:07:26 +00:00
YAMAMOTO Mitsuharu
68c767a32d (XLoadQueryFont) [USE_ATSUI]: Set FMFontFamily value
to font->mac_fontnum.
[USE_MAC_FONT_PANEL] (mac_set_font_info_for_selection): New function.
(x_new_focus_frame) [USE_MAC_FONT_PANEL]: Use it.
(QCfamily, QCweight, QCslant, Qnormal, Qbold, Qitalic): Add extern.
(QWindow) [MAC_OSX]: Likewise.
(Qfont) [USE_MAC_FONT_PANEL]: Likewise.
(Vmac_atsu_font_table) [USE_ATSUI]: New variable.
(syms_of_macterm) [USE_ATSUI]: Defvar it.
(Qtoolbar_switch_mode) [MAC_OSX]: New variable.
(Qpanel_closed, Qselection) [USE_MAC_FONT_PANEL]: Likewise.
(syms_of_macterm): Intern and staticpro them.
(init_font_name_table) [USE_ATSUI]: Set data to Vmac_atsu_font_table.
[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
kEventWindowToolbarSwitchMode event.
(install_window_handler) [USE_CARBON_EVENTS && MAC_OSX]: Register it.
[MAC_OSX] (mac_store_services_event): Change return type to OSStatus.
[USE_MAC_FONT_PANEL] (mac_handle_font_event): New function.
(install_window_handler) [USE_MAC_FONT_PANEL]: Install it.
(XTread_socket): Select window on mouse click if x_focus_frame is NULL.
2006-05-07 08:07:13 +00:00
YAMAMOTO Mitsuharu
a6d7a7754d (mac_do_receive_drag): Remove unused variable `index'.
(mac_store_services_event): Change return type in extern.
2006-05-07 08:05:38 +00:00
YAMAMOTO Mitsuharu
b1b415de01 (USE_MAC_FONT_PANEL): Define to 1 if USE_ATSUI is set
and build is done on Mac OS X 10.2 and later.
2006-05-07 08:05:19 +00:00
YAMAMOTO Mitsuharu
000447ac01 (mac_set_font): New function.
(mac_frame_parm_handlers, syms_of_macfns): Replace x_set_font with it.
(mac_window) [TARGET_API_MAC_CARBON && MAC_OSX]: Specify
kWindowToolbarButtonAttribute when creating window.
(Fmac_clear_font_name_table): Move from macfns.c.
(syms_of_macfns): Likewise for defsubr.
[USE_MAC_FONT_PANEL] (Fmac_set_font_panel_visibility): New defun.
(syms_of_macfns) [USE_MAC_FONT_PANEL]: Defsubr it.
2006-05-07 08:05:02 +00:00
YAMAMOTO Mitsuharu
bd13cae72f (Fmac_clear_font_name_table): Move defun to macfns.c.
(syms_of_mac): Likewise for defsubr.
2006-05-07 08:04:22 +00:00
YAMAMOTO Mitsuharu
41f7a85e0d *** empty log message *** 2006-05-06 06:52:46 +00:00
YAMAMOTO Mitsuharu
fb8b2fc348 (Qduration) [MAC_OS]: New variable.
(syms_of_image) [MAC_OS]: Intern and staticpro it.
[MAC_OS] (gif_load): Save image extension data in img->data.lisp_val.
[MAC_OSX] (image_load_quartz2d): Use cfstring_create_with_utf8_cstring
instead of cfstring_create_with_string.
2006-05-06 06:52:24 +00:00
Kim F. Storm
28c1e1cac4 (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 23:56:35 +00:00
Kim F. Storm
a1dfdf246e *** empty log message *** 2006-05-05 23:54:11 +00:00
Kenichi Handa
ba1eeafade (handle_composition_prop): Fix for the case of empty
composition component.
2006-05-05 11:56:31 +00:00
Kenichi Handa
37e213259f *** empty log message *** 2006-05-05 11:56:08 +00:00
YAMAMOTO Mitsuharu
ef0154b506 *** empty log message *** 2006-05-05 06:45:26 +00:00
YAMAMOTO Mitsuharu
8b6361c15f (enum event_kind) [MAC_OS]: Update comment for MAC_APPLE_EVENT. 2006-05-05 06:45:04 +00:00
YAMAMOTO Mitsuharu
93ad8ad96b (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.
2006-05-05 06:44:55 +00:00
YAMAMOTO Mitsuharu
a733ef1679 (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-05 06:44:45 +00:00
YAMAMOTO Mitsuharu
044f1b6463 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.
2006-05-05 06:44:29 +00:00
YAMAMOTO Mitsuharu
0e530e3b36 (restore_menu_items, cleanup_popup_menu): Return a value. 2006-05-05 06:44:10 +00:00
YAMAMOTO Mitsuharu
b99934e6ee (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.
2006-05-05 06:44:01 +00:00
YAMAMOTO Mitsuharu
2e1df0e6b9 (make_lispy_event) [MAC_OS]: Get Apple event info from event->arg. 2006-05-05 06:43:50 +00:00
Richard M. Stallman
e4a9a1cfc7 *** empty log message *** 2006-05-03 23:28:43 +00:00
Richard M. Stallman
8e6ec322ba (Fplay_sound_internal): Dynamically allocate
current_sound_device and current_sound.
(sound_cleanup): Free them.
2006-05-03 23:26:40 +00:00
Richard M. Stallman
8b0ba111b1 (read_minibuf): Don't use read_minibuf_noninteractive
when inside a keyboard macro.
2006-05-03 23:12:06 +00:00
Andreas Schwab
64ec8b2f3d (restore_menu_items): Return a value. 2006-05-01 22:58:47 +00:00
Stefan Monnier
fcdd458570 (Fforward_comment): Detect generic comment at beginning of
buffer when moving backwards.
2006-05-01 13:09:24 +00:00
Kim F. Storm
5fed8c15b8 *** empty log message *** 2006-05-01 09:38:57 +00:00
YAMAMOTO Mitsuharu
d5085af01f (mac_update_title_bar): Minor format change. 2006-05-01 02:51:38 +00:00
YAMAMOTO Mitsuharu
c1eb34c22c *** empty log message *** 2006-05-01 01:14:30 +00:00
YAMAMOTO Mitsuharu
15ba779363 (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.
2006-05-01 01:14:09 +00:00
YAMAMOTO Mitsuharu
6dc5c8a75b (unexec): Error if trying unexec from dumped executable. 2006-05-01 01:13:42 +00:00