1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-27 19:31:38 +00:00
Commit Graph

20996 Commits

Author SHA1 Message Date
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
YAMAMOTO Mitsuharu
a019c41a5c (mac_update_title_bar): Add extern.
(struct mac_output) [TARGET_API_MAC_CARBON]: New member `file_name'.
(FRAME_FILE_NAME): New macro.
2006-05-01 01:13:29 +00:00
YAMAMOTO Mitsuharu
458dbb8c7a (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
XCharStructRow and related macros.
(x_draw_relief_rect): Don't adjust arguments of mac_draw_line.
(x_free_frame_resources) [TARGET_API_MAC_CARBON]: Free FRAME_FILE_NAME.
(XTread_socket) [TARGET_API_MAC_CARBON]: Handle proxy icon drag
and window path pop-up menu on title bar.
(mac_use_core_graphics) [USE_CG_DRAWING]: Set default to 1.
2006-05-01 01:13:06 +00:00
YAMAMOTO Mitsuharu
b0635670ea (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.
(enum pcm_status): New enum.
(XCHARSTRUCTROW_CHAR_VALID_P, XCHARSTRUCTROW_SET_CHAR_VALID)
(XCharStructRow): Remove.  Now validity is represented by
non-negativeness of sum of ascent and descent.
(struct MacFontStruct): Change type of member `rows'.
(struct _XGC) [USE_CG_DRAWING]: Add member `clip_rects'.
2006-05-01 01:12:23 +00:00
YAMAMOTO Mitsuharu
caec817144 (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.
2006-05-01 01:11:56 +00:00
YAMAMOTO Mitsuharu
d3601bf266 (mac_coerce_file_name_ptr): Try typeFSRef if coercion
through typeFileURL failed.
2006-05-01 01:11:28 +00:00
YAMAMOTO Mitsuharu
a59871e76d (update_window): Don't set changed_p when mode/header
line is updated.
2006-05-01 01:11:01 +00:00
Richard M. Stallman
9abc5f4519 (Fdefine_key): Improve error message when KEY begins with a non-prefix key. 2006-04-30 22:15:21 +00:00
Stefan Monnier
39c41ad421 (Fforward_comment): Don't forget to break out of the loop
when we skipped backward over a generic comment.
2006-04-30 15:35:54 +00:00
Nick Roberts
5cd35d2cf0 (pp1, pv1): Only print value as expression is now printed out by gud-print.
(pv1): Correct doc string.
2006-04-26 23:02:33 +00:00
Nick Roberts
4a113e3faf *** empty log message *** 2006-04-26 23:01:51 +00:00