1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-29 08:31:35 -08:00
Commit graph

19554 commits

Author SHA1 Message Date
Eli Zaretskii
7fce7dfe69 (Fcopy_file): Doc fix.
[MSDOS]: Fix call to emacs_open: buffer_file_type not defined and
not needed.
2005-04-24 09:19:10 +00:00
YAMAMOTO Mitsuharu
49ed33c7f5 *** empty log message *** 2005-04-24 06:07:40 +00:00
YAMAMOTO Mitsuharu
5059ef4c83 (x_clear_frame_selections): Add extern. 2005-04-24 06:07:09 +00:00
YAMAMOTO Mitsuharu
1c05c15b46 (handling_window_update, terminate_flag): Remove variables.
(do_window_update, do_ae_quit_application, XTread_socket): Don't
use them.
(WNE_SLEEP_AT_SUSPEND, WNE_SLEEP_AT_RESUME): Don't define.
[USE_CARBON_EVENTS && MAC_OSX] (mac_handle_service_event)
(init_service_handler): Move to macselect.c.  Remove declarations.
[USE_CARBON_EVENTS && MAC_OSX] (init_service_handler): Add extern.
(Qapplication, Qabout): New variables.
(syms_of_mac): Initialize them.
[USE_CARBON_EVENTS && MAC_OSX] (Qpreferences, Qservices, Qpaste)
(Qperform): New variables.
(syms_of_mac) [USE_CARBON_EVENTS && MAC_OSX]: Initialize them.
(do_get_menus) [!TARGET_API_MAC_CARBON]: Don't call AppendResMenu.
(do_menu_choice): Unhighlight menu bar also when menu_id is 0.
(mac_store_application_menu_event, init_menu_bar): New functions.
[USE_CARBON_EVENTS] (mac_handle_command_event)
(init_command_handler): New functions.
(mac_handle_window_event): Return noErr on window update event.
(do_ae_quit_application): Call mac_store_application_menu_event.
(mac_initialize) [USE_CARBON_EVENTS]: Call init_command_handler
and init_menu_bar.
2005-04-24 06:06:39 +00:00
YAMAMOTO Mitsuharu
eb32b29217 [!TARGET_API_MAC_CARBON]: Don't include charset.h or coding.h.
(QCLIPBOARD): Remove variable.
(syms_of_mac): Don't initialize it.
(Fmac_paste_function, Fmac_cut_function, Fx_selection_exists_p):
Remove functions.
(syms_of_mac): Don't defsubr them.
[TARGET_API_MAC_CARBON] (Qmime_charset, QNFD, QNFKD, QNFC, QNFKC)
(QHFS_plus_D, QHFS_plus_C): New variables.
(syms_of_mac) [TARGET_API_MAC_CARBON]: Initialize them.
[TARGET_API_MAC_CARBON] (get_cfstring_encoding_from_lisp)
(cfstring_create_normalized): New functions.
[TARGET_API_MAC_CARBON] (Fmac_code_convert_string): Likewise.
(syms_of_mac) [TARGET_API_MAC_CARBON]: Defsubr it.
2005-04-24 06:05:39 +00:00
YAMAMOTO Mitsuharu
f706a7b260 (Fdelete_frame) [MAC_OS]: Call x_clear_frame_selections. 2005-04-24 06:03:58 +00:00
YAMAMOTO Mitsuharu
ab271acac5 (main) [MAC_OS8 || MAC_OSX && HAVE_CARBON]: Call syms_of_macselect. 2005-04-24 06:03:04 +00:00
YAMAMOTO Mitsuharu
03cb0f355a (MAC_OBJ): Add macselect.o.
(SOME_MACHINE_OBJECTS): Likewise.
(mac.o): Depend on ccl.h.
(macselect.o): New target.
2005-04-24 06:02:27 +00:00
YAMAMOTO Mitsuharu
944cda7903 New file for selection processing on Mac OS. 2005-04-24 05:58:47 +00:00
Richard M. Stallman
469bc67986 *** empty log message *** 2005-04-23 16:57:31 +00:00
Richard M. Stallman
c50f15d05a (Fcopy_file): New arg MUSTBENEW.
(Frename_file): Pass new arg to Fcopy_file.
2005-04-23 16:19:37 +00:00
Richard M. Stallman
c0e7ccd393 (window_size_fixed): Variable deleted.
(syms_of_window): Initialize window-size-fixed to nil.
But don't DEFVAR window_size_fixed.
2005-04-23 16:18:23 +00:00
Andreas Schwab
d379c55889 . 2005-04-23 15:59:39 +00:00
Andreas Schwab
919fab71f8 (LD_SWITCH_MACHINE) [LINUX]: Don't define.
(START_FILES, LIB_STANDARD) [LINUX && _ARCH_PPC64]: Override to
use lib64 instead of lib.
(_LP64) [_ARCH_PPC64]: Define if not defined.
2005-04-23 15:58:32 +00:00
Eli Zaretskii
e7427ac187 Fix a typo. 2005-04-23 11:49:28 +00:00
Thien-Thi Nguyen
007d105bf6 *** empty log message *** 2005-04-22 22:33:17 +00:00
Thien-Thi Nguyen
47539b8564 (HAVE_PWD_H): Define. 2005-04-22 22:31:15 +00:00
Kenichi Handa
b9c1591618 *** empty log message *** 2005-04-22 07:11:21 +00:00
Kenichi Handa
1468c19bdd (copy_sub_char_table): Explicitly copy the default value
of the sub-chartable.
2005-04-22 07:11:08 +00:00
Kim F. Storm
1ba52906b4 *** empty log message *** 2005-04-21 23:46:33 +00:00
Kim F. Storm
16a5378b45 (resolve_face_name): Use Fget instead of Fsafe_get. 2005-04-21 23:45:40 +00:00
Kim F. Storm
bccf59df97 (store_mode_line_string, produce_stretch_glyph)
(note_mode_line_or_margin_highlight, note_mouse_highlight):
Use Fplist_get instead of Fsafe_plist_get.
2005-04-21 23:45:28 +00:00
Kim F. Storm
bbeb5fe904 (Fsafe_plist_get, Fsafe_get): Remove EXFUN. 2005-04-21 23:45:10 +00:00
Kim F. Storm
12ae7fc611 (Fplist_get): Replace by Fsafe_plist_get.
(Fsafe_plist_get): Rename to Fplist_get.
(Fsafe_get): Remove, as Fget now uses safe Fplist_get.
(defsubr): Remove defsubr for Fsafe_plist_get and Fsafe_get.
2005-04-21 23:44:59 +00:00
Kim F. Storm
d12168d677 Typo in comment. 2005-04-21 23:36:16 +00:00
Miles Bader
e235145cf3 Revision: miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-272
src/xdisp.c (dump_glyph_row): Don't display overlay_arrow_p field.
2005-04-21 07:23:50 +00:00
Thien-Thi Nguyen
c164a7e6ec Remove reference to defunct vms-pwd.h. 2005-04-20 15:11:02 +00:00
Thien-Thi Nguyen
5b9c0a1d12 Remove reference to defunct vms-pwd.h.
For pwd.h, use HAVE_PWD_H, not !VMS.
2005-04-20 15:07:03 +00:00
Thien-Thi Nguyen
766c53494e *** empty log message *** 2005-04-20 13:04:49 +00:00
Thien-Thi Nguyen
4086de3d69 Regenerate. 2005-04-20 13:03:26 +00:00
Kenichi Handa
2b048bf561 (Fset_char_table_range): Don't set slots used as default
values for ascii, eight-bit-control, eight-bit-graphic.  Don't
call Faref with charset-id.
(Fset_char_table_default): Document how to treat normal character
argument.  Handle special slots used as default values of ascii,
eight-bit-control, eight-bit-control.  Make a sub chartable if
necessary.
2005-04-20 07:50:59 +00:00
Kenichi Handa
256d566c94 (Faref): Handle special slots used as default values of
ascii, eight-bit-control, eight-bit-control.  Don't ignore a
default value set for a group of characters.
(Faset): Signal an error if IDXVAL is not a valid character code.
Make a sub-chartable with correct initial value.
2005-04-20 07:50:30 +00:00
Kenichi Handa
2a7a8e99f2 (make_sub_char_table): Argument changed to initial
value of the slots.
2005-04-20 07:50:08 +00:00
Kenichi Handa
0ddfe52ffa (CHAR_TABLE_DEFAULT_SLOT_ASCII): New macro.
(CHAR_TABLE_DEFAULT_SLOT_8_BIT_CONTROL): New macro.
(CHAR_TABLE_DEFAULT_SLOT_8_BIT_GRAPHIC): New macro.
2005-04-20 07:49:35 +00:00
Kenichi Handa
b0a3593988 *** empty log message *** 2005-04-20 07:37:03 +00:00
Kenichi Handa
620a517848 (boyer_moore): Fix previous change. 2005-04-20 07:21:47 +00:00
Kim F. Storm
ffd808257c (setup_for_ellipsis): Reset saved_face_id to use default
face unless last visible char and first invisible char have the
same face.  Also use default face if saved_face_id is undefined.
2005-04-19 12:52:02 +00:00
Kim F. Storm
98dde72651 *** empty log message *** 2005-04-19 12:51:37 +00:00
YAMAMOTO Mitsuharu
327a33761a *** empty log message *** 2005-04-19 12:05:04 +00:00
YAMAMOTO Mitsuharu
94d0e8065e (Qbig5, Qcn_gb, Qsjis, Qeuc_kr): Remove variables.
(syms_of_mac): Don't initialize them.
(Vmac_charset_info_alist): New variable.
(syms_of_mac): Defvar it.
(create_text_encoding_info_alist): New function.
(decode_mac_font_name, mac_to_x_fontname)
(x_font_name_to_mac_font_name, init_font_name_table): Don't hard
code the correspondence among XLFD charsets, Mac script codes, and
Emacs coding systems.  Use Vmac_charset_info_alist and result of
create_text_encoding_info_alist instead.
(init_font_name_table) [TARGET_API_MAC_CARBON]: Use Font Manager
routines also on Mac OS Classic.
(init_font_name_table) [!TARGET_API_MAC_CARBON]: Use
add_font_name_table_entry.
(mac_do_list_fonts): Regard 0 in XLFD scaleble fields as
specified.  Derive unspecified scalable fields from specified one.
(x_list_fonts): Consider Valternate_fontname_alist.
(kDefaultFontSize): Change value from 9 to 12.
(XLoadQueryFont): Get decoded font family, font face, and charset
from x_font_name_to_mac_font_name.  Set full name of loaded font.
(mac_unload_font): Free `full_name' member.
(x_load_font): Don't try XLoadQueryFont if x_list_fonts returns
NULL.  Copy full_name member of struct MacFontStruct to that of
struct font_info.
2005-04-19 12:04:09 +00:00
YAMAMOTO Mitsuharu
a6d1cf0145 (MacFontStruct): Remove member fontname'. Add member full_name'.
[TARGET_API_MAC_CARBON] (MacFontStruct): Use type int for
mac_scriptcode member.
2005-04-19 12:03:38 +00:00
Kim F. Storm
62af9c2421 (handle_stop): Set saved_face_id to current face if
selective_display_ellipsis_p so ellipsis will be shown in same
face as preceding text.
(setup_for_ellipsis): Don't set saved_face_id here.
(next_element_from_display_vector): Default to saved_face_id.
2005-04-19 10:11:41 +00:00
Kim F. Storm
5827e9d460 *** empty log message *** 2005-04-19 10:11:26 +00:00
Kim F. Storm
d063683916 *** empty log message *** 2005-04-19 09:13:36 +00:00
Kim F. Storm
f374520488 (resolve_face_name): Use Fsafe_get to avoid redisplay
loops in case of bad face property lists.  Limit number of face
alias lookups to 10 (in case of face alias loops).
2005-04-19 08:34:50 +00:00
Kim F. Storm
7dfe2054bc (Fsafe_get): EXFUN it. 2005-04-19 08:34:33 +00:00
Kim F. Storm
7f2646c96c (Fsafe_get): New function.
(syms_of_fns): Defsubr it.
2005-04-19 08:34:19 +00:00
Kim F. Storm
25bcb3535c (overlay_arrow_string_or_property): Remove PBITMAP arg.
Calls changed.  Don't check for overlay-arrow-bitmap property here.
(overlay_arrow_at_row): Remove PBITMAP arg.  Instead, if left
fringe is present, return Lisp integer for bitmap (or -1 for default).
Fix value of overlay-arrow-bitmap property to be a symbol, use
lookup_fringe_bitmap to parse it.
(display_line): Change call to overlay_arrow_at_row.  Store integer
return value as overlay bitmap in row rather than window.
Only show overlay arrow if row displays text, or if no other overlay
arrow is seen in window (if overlay marker is at point-max).
2005-04-18 14:10:09 +00:00
Kim F. Storm
3f34b6bd01 (struct window): Remove member overlay_arrow_bitmap. 2005-04-18 14:09:56 +00:00
Kim F. Storm
c21f77c70d (make_window): Don't initialize overlay_arrow_bitmap. 2005-04-18 14:09:47 +00:00