aboutsummaryrefslogtreecommitdiffstats
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* (setup_for_ellipsis): Reset saved_face_id to use defaultKim F. Storm2005-04-191-4/+4
| | | | | face unless last visible char and first invisible char have the same face. Also use default face if saved_face_id is undefined.
* *** empty log message ***Kim F. Storm2005-04-191-0/+6
|
* *** empty log message ***YAMAMOTO Mitsuharu2005-04-191-0/+32
|
* (Qbig5, Qcn_gb, Qsjis, Qeuc_kr): Remove variables.YAMAMOTO Mitsuharu2005-04-191-397/+327
| | | | | | | | | | | | | | | | | | | | | | | | | | (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.
* (MacFontStruct): Remove member `fontname'. Add member `full_name'.YAMAMOTO Mitsuharu2005-04-191-1/+5
| | | | | [TARGET_API_MAC_CARBON] (MacFontStruct): Use type int for mac_scriptcode member.
* (handle_stop): Set saved_face_id to current face ifKim F. Storm2005-04-191-0/+9
| | | | | | | 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.
* *** empty log message ***Kim F. Storm2005-04-191-0/+6
|
* *** empty log message ***Kim F. Storm2005-04-191-0/+11
|
* (resolve_face_name): Use Fsafe_get to avoid redisplayKim F. Storm2005-04-191-3/+5
| | | | | loops in case of bad face property lists. Limit number of face alias lookups to 10 (in case of face alias loops).
* (Fsafe_get): EXFUN it.Kim F. Storm2005-04-191-0/+1
|
* (Fsafe_get): New function.Kim F. Storm2005-04-191-0/+13
| | | | (syms_of_fns): Defsubr it.
* (overlay_arrow_string_or_property): Remove PBITMAP arg.Kim F. Storm2005-04-181-29/+23
| | | | | | | | | | | | 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).
* (struct window): Remove member overlay_arrow_bitmap.Kim F. Storm2005-04-181-3/+0
|
* (make_window): Don't initialize overlay_arrow_bitmap.Kim F. Storm2005-04-181-1/+0
|
* (draw_fringe_bitmap): Use overlay_arrow_bitmap from rowKim F. Storm2005-04-181-7/+9
| | | | | | | | rather than from window. (update_window_fringes): Compare overlay_arrow_bitmap rather than overlay_arrow_p members. (Ffringe_bitmaps_at_pos): Return fringe overlay_arrow_bitmap name if not default.
* (row_equal_p, update_window_line, scrolling_window):Kim F. Storm2005-04-181-3/+3
| | | | Compare overlay_arrow_bitmap than overlay_arrow_p members.
* (struct glyph_row): New member overlay_arrow_bitmap.Kim F. Storm2005-04-181-3/+5
| | | | | | It replaces the corresponding member from struct window, as a window may now show multiple overlay arrows. Remove member overlay_arrow_p, superseeded by overlay_arrow_bitmap.
* *** empty log message ***Kim F. Storm2005-04-181-0/+32
|
* (realize_x_face) [!HAVE_WINDOW_SYSTEM]: Return NULL.Thien-Thi Nguyen2005-04-182-2/+7
|
* (Vloads_in_progress): Static.Lute Kamstra2005-04-182-4/+10
|
* (Vloads_in_progress): Remove extern.Lute Kamstra2005-04-181-2/+2
| | | | | (load_in_progress): Add extern. (Frequire): Use load_in_progress instead of Vloads_in_progress.
* (Fx_popup_menu): Initialize error_name to NULL.Thien-Thi Nguyen2005-04-182-1/+5
|
* Remove eol whitespace; nfc.Thien-Thi Nguyen2005-04-181-4/+4
|
* *** empty log message ***YAMAMOTO Mitsuharu2005-04-181-0/+5
|
* (XTread_socket): Don't beep on keyboard input even if no frame isYAMAMOTO Mitsuharu2005-04-181-1/+5
| | | | visible.
* (struct keys): Add support for shifted keys.Dan Nicolaescu2005-04-172-1/+24
|
* (with_echo_area_buffer): Delete WHICH < 0 case.Richard M. Stallman2005-04-162-22/+22
| | | | | | (set_message): Call with_echo_area_buffer with WHICH = 0. (set_message_1): Erase the echo area buffer first thing. (echo_area_display): Don't clear echo_message_buffer.
* (mac.o): Depend on charset.h and coding.h.YAMAMOTO Mitsuharu2005-04-162-1/+41
|
* [MAC_OSX] (image_load_quartz2d): Use cfstring_create_with_string.YAMAMOTO Mitsuharu2005-04-161-1/+1
|
* (cfstring_create_with_string) [TARGET_API_MAC_CARBON]: New extern.YAMAMOTO Mitsuharu2005-04-161-5/+6
|
* (x_autoselect_window_p): Remove variable.YAMAMOTO Mitsuharu2005-04-161-157/+206
| | | | | | | | | | | | | | | | | | | | | | | (last_window): New variable. (XTreassert_line_highlight, x_change_line_highlight): Remove declarations. (mac_focus_changed, x_detect_focus_change): New functions and declarations. (XTextExtents16, front_emacs_window): Remove function. (mac_focus_frame): New function. (XTmouse_position, do_menu_choice, do_zoom_window, XTread_socket) (mac_check_for_quit_char): Use it instead of front_emacs_window. (x_scroll_bar_report_motion): Obtain window from control owner. (x_make_frame_invisible): Set window manager size hint. (do_mouse_moved): Remove function. (XTread_socket): Move its contents here. Generate select-window event on mouse movement if needed. Use x_detect_focus_change on activate/deactivate events. Don't deiconify frame or invalidate window rectangle when dnd items are dropped. Don't activate/deactivate root control. (frame_highlight, frame_unhighlight): Activate/deactivate root control here. (syms_of_macterm): Delete DEFVAR_BOOL for x_autoselect_window_p.
* (Fx_file_dialog): Likewise.YAMAMOTO Mitsuharu2005-04-161-2/+1
|
* Include charset.h and coding.h.YAMAMOTO Mitsuharu2005-04-161-5/+37
| | | | | | [TARGET_API_MAC_CARBON] (Qutf_8): Remove extern. [TARGET_API_MAC_CARBON] (cfstring_create_with_string): New function. [TARGET_API_MAC_CARBON] (Fmac_get_preference): Use it.
* *** empty log message ***Luc Teirlinck2005-04-161-0/+6
|
* Define new macro TOOLTIP_SUPPORT.Luc Teirlinck2005-04-161-0/+8
| | | | | (lisp): Use it. (SOME_MACHINE_LISP): Add tooltip.
* [!TARGET_API_MAC_CARBON]: Don't include TextEncodingConverter.h.YAMAMOTO Mitsuharu2005-04-141-1/+0
|
* (x_set_name, x_set_title) [!TARGET_API_MAC_CARBON]: Use ENCODE_SYSTEMYAMAMOTO Mitsuharu2005-04-141-7/+8
| | | | | | | to encode title bar string. (x_create_tip_frame): Apply 2005-03-18 change for xfns.c. (Fx_file_dialog) [TARGET_API_MAC_CARBON && !MAC_OSX]: Use CFStringGetSystemEncoding to get system default string encoding.
* [!TARGET_API_MAC_CARBON]: Include MacLocales.h. Don't includeYAMAMOTO Mitsuharu2005-04-142-0/+57
| | | | | | | TextEncodingConverter.h. (mac_system_script_code, Vmac_system_locale): New variables. (syms_of_mac): Defvar them. (mac_get_system_locale): New function.
* *** empty log message ***Kim F. Storm2005-04-141-18/+17
|
* macterm.c (syms_of_macterm): Removing redundant definition ofSteven Tamm2005-04-142-4/+5
| | | | mac-pass-control-to-system
* (Fset_window_configuration): Be careful when you chooseStefan Monnier2005-04-122-13/+29
| | | | among several possible points for the new_current_buffer.
* *** empty log message ***YAMAMOTO Mitsuharu2005-04-121-0/+15
|
* (enum event_kind) [MAC_OS]: Add LANGUAGE_CHANGE_EVENT.YAMAMOTO Mitsuharu2005-04-121-4/+5
|
* (mac_keyboard_text_encoding, current_mac_keyboard_text_encoding):YAMAMOTO Mitsuharu2005-04-121-84/+17
| | | | | | | Remove variables. (XTread_socket): Store language-change event if keyboard script change is detected. Don't convert input to `mac_keyboard_text_encoding'. (syms_of_macterm): Delete DEFVAR_INT for mac-keyboard-text-encoding.
* (Qlanguage_change) [MAC_OS]: New variable.YAMAMOTO Mitsuharu2005-04-121-3/+8
| | | | | (syms_of_keyboard) [MAC_OS]: Intern and staticpro it. (kbd_buffer_get_event) [MAC_OS]: Make event for LANGUAGE_CHANGE_EVENT.
* *** empty log message ***YAMAMOTO Mitsuharu2005-04-121-0/+5
|
* (poll_for_input) [SYNC_INPUT]: Don't call poll_for_input_1. SetYAMAMOTO Mitsuharu2005-04-121-0/+4
| | | | interrupt_input_pending to 1 instead.
* *** empty log message ***Richard M. Stallman2005-04-101-0/+7
|
* (standard_args): Rename --bare-bones to --quick.Richard M. Stallman2005-04-101-2/+4
| | | | Add -D aka --basic-display.
* (Fmake_indirect_buffer): Clear out some local variables.Richard M. Stallman2005-04-101-2/+16
|