1. 04 Feb, 2003 1 commit
  2. 28 Jan, 2003 1 commit
    • Andrew Choi's avatar
      2003-01-28 Benjamin Riefenstahl <Benjamin.Riefenstahl@epost.de> · 058c18c7
      Andrew Choi authored
              * macterm.c (keycode_to_xkeysym_table): Add <tab>, <backspace>,
              <escape>.
              (keycode_to_xkeysym_table): Reformat and add more comments.
              (XTread_socket): Drop special case for backspace.
      
              * term/mac-win.el: Add entries in function-key-map for
              [tab], [backspace], [escape].
      058c18c7
  3. 23 Jan, 2003 1 commit
  4. 17 Jan, 2003 1 commit
  5. 15 Jan, 2003 1 commit
  6. 04 Oct, 2002 1 commit
  7. 03 Aug, 2002 1 commit
    • Andrew Choi's avatar
      In src: · 742fbed7
      Andrew Choi authored
      2002-08-03  Andrew Choi  <akochoi@shaw.ca>
      
              * macterm.c (USE_CARBON_EVENTS): New macro.
              (macCtrlKey, macShiftKey, macMetaKey, macAltKey): New macros.
              (x_iconify_frame): Call CollapseWindow.
              (Vmac_reverse_ctrl_meta): New variable.
              (Vmac_wheel_button_is_mouse_2): New variable.
              (init_mac_drag_n_drop): New function.
              (mac_do_receive_drag): New function.
              (mac_handle_service_event): New function.
              (init_service_handler): New function.
              (mac_to_emacs_modifiers): New function.
              (mac_event_to_emacs_modifiers): New function.
              (mac_get_mouse_btn): New function.
              (mac_convert_event_ref): New function.
              (XTread_socket) [USE_CARBON_EVENTS]: Call ReceiveNextEvent,
              SendEventToEventTarget, mac_event_to_emacs_modifiers, and
              mac_get_mouse_btn.
              (mac_initialize): Call init_mac_drag_n_drop and
              init_service_handler.
      
              * keyboard.c: Define Qmouse_wheel, mouse_wheel_syms, and
              lispy_mouse_wheel_names for MAC_OSX as well as for WINDOWS_NT.
              (kbd_buffer_get_event): Set used_mouse_menu for MENU_BAR_EVENT and
              TOOL_BAR_EVENT for MAC_OS as well.
              (make_lispy_event): Handle MOUSE_WHEEL_EVENT for MAC_OSX as well
              as for WINDOWS_NT.
              (syms_of_keyboard): Initialize Qmouse_wheel for MAC_OSX.
      
              * termhooks.h (event_kind): Define MOUSE_WHEEL_EVENT also for
              MAC_OSX.
      
      In lisp:
      
      2002-08-03  Andrew Choi  <akochoi@shaw.ca>
      
              * term/mac-win.el: Set keys to enable mouse wheel support.
      742fbed7
  8. 30 Jun, 2002 1 commit
  9. 29 Jun, 2002 1 commit
    • Andreas Schwab's avatar
      Use directory-free-space-program instead of · eb14066a
      Andreas Schwab authored
      obsolete variable dired-free-space-program.  On Darwin, don't set
      directory-free-space-program, shell-file-name and
      process-connection-type; set directory-free-space-args to not
      include `-P' and use utf-8 for file name coding system.
      eb14066a
  10. 16 Jun, 2002 1 commit
    • Andrew Choi's avatar
      In src/: · f00691a3
      Andrew Choi authored
      2002-06-16  Andrew Choi  <akochoi@shaw.ca>
      
              * fontset.c (syms_of_fontset) [MAC_OS]: Set ASCII font of
              Vdefault_fontset to Monaco with mac-roman coding.
      
              * mac.c, macfns.c, macmenu.c, macterm.c: Undefine and redefine
              init_process before and after inclusion of Carbon/Carbon.h, resp.
      
              * macterm.c (x_new_font): Set font for normal_gc, reverse_gc, and
              cursor_gc.
              (add_font_name_table_entry): New function.
              (init_font_name_table): Use add_font_name_table_entry; add italic,
              bold, and bold-italic entries for truetype fonts.
      
              * xfaces.c (init_frame_faces) [MAC_OS]: Call realize_basic_faces
              for Mac too.
              (try_font_list) [MAC_OS]: If no font matches given registry, try
              fonts with any registry matching face_family.
              (realize_x_face) [MAC_OS]: Remove old ad-hoc fix to load font
              here.
      
              * s/darwin.h: If autoconf detects the Ncurses library, define
              LIBS_TERMCAP to -lncurses to use it.
      
      In lisp/:
      
      2002-06-16  Andrew Choi  <akochoi@shaw.ca>
      
              * term/mac-win.el (scalable-fonts-allowed): Set to t.
      f00691a3
  11. 26 Apr, 2002 1 commit
  12. 04 Sep, 2001 1 commit
  13. 24 Aug, 2001 1 commit
  14. 16 Jul, 2001 1 commit
  15. 12 Dec, 2000 1 commit
  16. 31 Oct, 2000 1 commit
  17. 23 Oct, 2000 1 commit
    • Andrew Choi's avatar
      Andrew Choi <akochoi@i-cable.com> · 8f47302e
      Andrew Choi authored
              * international/mule-conf.el (mac-roman-lower, mac-roman-upper):
              New charsets.
      
              * term/mac-win.el: Remove definitions of mac-roman-lower and
              mac-roman-upper, require dired, and define instead of set
              mac-ready-for-drag-n-drop to avoid compilation error.
      
              * src/macterm.c (XTread_socket): check whether Lisp variable
              mac-ready-for-drag-n-drop is bound rather than non-nil value.
      8f47302e
  18. 22 Oct, 2000 1 commit
    • Andrew Choi's avatar
      Initial check-in: changes for building Emacs under Mac OS. · 1a578e9b
      Andrew Choi authored
      2000-10-23  Andrew Choi  <akochoi@i-cable.com>
      
      	* dispextern.h [macintosh]: Include macgui.h instead of macterm.h.
      
      	* dispnew.c [macintosh]: Include macterm.h.
      	(init_display) [macintosh]: initialization for window system.
      
      	* emacs.c (main) [macintosh]: Call syms_of_textprop,
      	syms_of_macfns, syms_of_ccl, syms_of_fontset, syms_of_xterm,
      	syms_of_search, x_term_init, and init_keyboard before calling
      	init_window_once.  Also, call syms_of_xmenu.
      
      	* fontset.c (syms_of_fontset) [macintosh]: Set ASCII font of
      	default fontset to Monaco.
      
      	* frame.c [macintosh]: Include macterm.h.  Remove declarations of
      	NewMacWindow and DisposeMacWindow.
      	(make_terminal_frame) [macintosh]: Call make_mac_terminal_frame
      	instead of calling NewMacWindow and setting fields of
      	f->output_data.mac directly.  Call init_frame_faces.
      	(Fdelete_frame) [macintosh]: Remove unused code.
      	(Fmodify_frame_parameters) [macintosh]: Call
      	x_set_frame_parameters instead of mac_set_frame_parameters.
      
      	* frame.h [macintosh]: Define menu_bar_lines field in struct
      	frame.  Define FRAME_EXTERNAL_MENU_BAR macro.
      
      	* keyboard.c [macintosh]: Include macterm.h.
      	(kbd_buffer_get_event) [macintosh]: Generate delete_window_event
      	and menu_bar_activate_event type events as for X and NT.
      	(make_lispy_event) [macintosh]: Construct lisp events of type
      	MENU_BAR_EVENT as for X and NT.
      
      	* sysdep.c [macintosh]: Remove declaration for sys_signal.
      	Include stdlib.h.  Remove definition of Vx_bitmap_file_path.
      	(sys_subshell) [macintosh]: Remove definition entirely.
      	(init_sys_modes) [macintosh]: Do not initialize Vwindow_system and
      	Vwindow_system_version here.  Remove initialization of
      	Vx_bitmap_file_path.
      	(read_input_waiting): Correct the number of parameters passed to
      	read_socket_hook.
      	Move all Macintosh functions to mac/mac.c.
      
      	* term.c [macintosh]: Include macterm.h.
      
      	* window.c [macintosh]: Include macterm.h.
      
      	* xdisp.c [macintosh]: Include macterm.h.  Declare
      	set_frame_menubar and pending_menu_activation.
      	(echo_area_display) [macintosh]: Do not return if terminal frame
      	is the selected frame.
      	(update_menu_bar) [macintosh]: Check FRAME_EXTERNAL_MENU_BAR (f).
      	Allow only the selected frame to set menu bar.
      	(redisplay_window) [macintosh]: Obtain menu bar to redisplay by
      	calling FRAME_EXTERNAL_MENU_BAR (f).
      	(display_menu_bar) [macintosh]: Check FRAME_MAC_P (f).
      
      	* xfaces.c [macintosh]: Include macterm.h.  Define x_display_info
      	and check_x.  Declare XCreateGC.  Define x_create_gc and
      	x_free_gc.  Initialize font_sort_order.
      	(x_face_list_fonts) [macintosh]: Use the same code as WINDOWSNT,
      	but call x_list_fonts instead of w32_list_fonts.
      	(Finternal_face_x_get_resource) [macintosh]: Do not call
      	display_x_get_resource.
      	(prepare_face_for_display) [macintosh]: Set xgcv.font.
      	(realize_x_face) [macintosh]: Load the font if it is specified in
      	ATTRS.
      	(syms_of_xfaces) [macintosh]: Initialize Vscalable_fonts_allowed
      	to Qt.
      
      	* cus-edit.el (custom-button-face): Use 3D look for mac.
      	(custom-button-pressed-face): Likewise.
      
      	* faces.el (set-face-attributes-from-resources): Handle mac frames
      	in the same way as x and w32 frames.
      	(face-valid-attribute-values): Likewise.
      	(read-face-attribute): Likewise.
      	(defined-colors): Likewise.
      	(color-defined-p): Likewise.
      	(color-values): Likewise.
      	(display-grayscale-p): Likewise.
      	(face-set-after-frame-default): Likewise.
      	(mode-line): Same default face as for x and w32.
      	(tool-bar): Likewise.
      
      	* frame.el: Remove call to frame-notice-user-settings at end of
      	the file.
      
      	* info.el (Info-fontify-node): make underlines invisible for mac
      	as for x, pc, and w32 frame types.
      
      	* term/mac-win.el: New file.
      1a578e9b