1. 19 May, 2007 2 commits
    • Dan Nicolaescu's avatar
      * loadup.el: Load mac-win on a Mac. Avoid loading both x-win and · caf49fb0
      Dan Nicolaescu authored
      mac-win.
      * term/mac-win.el:
      (mac-initialize-window-system): New function. Move global setup
      here.
      
      * s/darwin.h (SYSTEM_PURESIZE_EXTRA): Define here.
      (SYSTEM_PURESIZE_EXTRA): Only define on Carbon.
      
      * emacsclient.c (decode_options): Don't use a tty on mac carbon.
      caf49fb0
    • Dan Nicolaescu's avatar
      * s/darwin.h (SYSTEM_PURESIZE_EXTRA): Define here. · 80ca7302
      Dan Nicolaescu authored
      * termhooks.h (union display_info): Add mac_display_info.
      
      * term.c (init_tty): Only use terminal->kboard when MULTI_KBOARD
      is defined.
      
      * macterm.h (struct mac_display_info): Add terminal.
      
      * w32term.c (w32_initialize): Make static.
      
      * macterm.c (XTset_terminal_modes): Add a terminal parameter.
      (XTreset_terminal_modes): Likewise.
      (x_clear_frame): Add a frame parameter.
      (note_mouse_movement): Get rif from the frame.
      (mac_term_init): Initialize the terminal.
      (mac_initialize): Make static and move terminal initialization ...
      (mac_create_terminal): ... in this new function.
      
      * macmenu.c: Reorder includes.
      (Fx_popup_menu): Use terminal specific mouse_position_hook.
      
      * macfns.c (x_set_mouse_color): Get rif from the frame.
      (x_set_tool_bar_lines): Don't use updating_frame.
      (mac_window): Add 2 new parameters for consistency with other
      systems.
      (Fx_create_frame): Fix doc string. Rename the parameter.
      (Fx_create_frame): Set the frame parameters following what is done
      in X11 and w32.
      (Fx_open_connection): Remove window-system check.
      (start_hourglass): Likewise.
      (x_create_tip_frame): Get the keyboard from the terminal.
      
      * w32fns.c (Fx_create_frame): Use kboard from the terminal.
      
      * term/mac-win.el: Provide mac-win.
      (mac-initialized): New variable.
      (mac-initialize-window-system): New function. Move global setup
      here.
      (handle-args-function-alist, frame-creation-function-alist):
      (window-system-initialization-alist): Add mac entries.
      
      * loadup.el: Load mac-win on a Mac.
      80ca7302
  2. 07 May, 2007 2 commits
  3. 13 Feb, 2007 1 commit
    • YAMAMOTO Mitsuharu's avatar
      Change all uses of · e5a4ac9d
      YAMAMOTO Mitsuharu authored
      mac-set-font-panel-visibility to mac-set-font-panel-visible-p.
      (mac-ae-number): Return integer 0 if coerced result is float 0.0.
      (mac-ae-get-url): Call select-frame-set-input-focus.
      (mac-dnd-handle-drag-n-drop-event): Don't call
      select-frame-set-input-focus.
      e5a4ac9d
  4. 22 Jan, 2007 1 commit
    • YAMAMOTO Mitsuharu's avatar
      (mac-keyboard-modifier-mask-alist): New constant. · 1879b65c
      YAMAMOTO Mitsuharu authored
      (mac-ae-keyboard-modifiers): New function.
      (mac-handle-toolbar-switch-mode): Use it.
      (mac-dnd-handle-drag-n-drop-event): Likewise.  Set action to `copy'
      if keyboard modifiers on drop contain option key.
      (mac-dnd-drop-data): Add optional argument `action'.
      (special-event-map): Remove binding for M-drag-n-drop.
      1879b65c
  5. 21 Jan, 2007 1 commit
  6. 15 Jan, 2007 1 commit
  7. 08 Jan, 2007 1 commit
  8. 25 Dec, 2006 1 commit
  9. 15 Dec, 2006 1 commit
  10. 09 Dec, 2006 1 commit
  11. 19 Oct, 2006 1 commit
  12. 08 Sep, 2006 1 commit
  13. 30 Aug, 2006 1 commit
  14. 27 Aug, 2006 1 commit
  15. 28 Jun, 2006 1 commit
    • YAMAMOTO Mitsuharu's avatar
      (mac-handle-font-selection): Change keys of · f9b6d85f
      YAMAMOTO Mitsuharu authored
      mac-atsu-font-table from strings to numbers.
      (mac-ts-caret-position): Use also when cursor-type is nil.
      (mac-ts-update-active-input-area): Add Mac OS Classic support.
      Relax condition for using overlay strings.  Use
      mac-ts-caret-position face when cursor-type is nil.
      f9b6d85f
  16. 16 Jun, 2006 1 commit
  17. 03 Jun, 2006 1 commit
    • YAMAMOTO Mitsuharu's avatar
      (mac-ts-active-input-overlay): Add defvar. · dc34c597
      YAMAMOTO Mitsuharu authored
      (mac-ae-number, mac-ae-frame, mac-ae-script-language)
      (mac-bytes-to-text-range, mac-ae-text-range-array)
      (mac-ts-update-active-input-buf, mac-split-string-by-property-change)
      (mac-replace-untranslated-utf-8-chars, mac-ts-update-active-input-area)
      (mac-ts-unicode-for-key-event):	New functions.
      (mac-handle-toolbar-switch-mode): Use mac-ae-frame.
      (mac-handle-font-selection): Use mac-ae-number.
      (mac-ts-active-input-buf, mac-ts-update-active-input-area-seqno):
      New variables.
      (mac-ts-caret-position, mac-ts-raw-text, mac-ts-selected-raw-text)
      (mac-ts-converted-text, mac-ts-selected-converted-text)
      (mac-ts-block-fill-text, mac-ts-outline-text)
      (mac-ts-selected-text, mac-ts-no-hilite): New faces.
      (mac-ts-hilite-style-faces): New constant.
      (mac-apple-event-map): Bind text input events.
      (mac-dispatch-apple-event): Use command-execute instead of
      call-interactively.
      (global-map): Don't bind mac-apple-event.
      (special-event-map): Bind mac-apple-event.
      dc34c597
  18. 24 May, 2006 1 commit
  19. 20 May, 2006 1 commit
  20. 19 May, 2006 1 commit
  21. 10 May, 2006 1 commit
    • YAMAMOTO Mitsuharu's avatar
      (mac-font-panel-mode): Doc fix. · b905e809
      YAMAMOTO Mitsuharu authored
      (mac-service-selection, mac-service-open-file)
      (mac-service-open-selection, mac-service-mail-selection)
      (mac-service-mail-to, mac-service-insert-text): Rename from
      mac-services-*.  All uses changed.
      (mac-apple-event-map): Rename event symbol `services' to `service'.
      b905e809
  22. 07 May, 2006 1 commit
    • YAMAMOTO Mitsuharu's avatar
      (mac-utxt-to-string): Use `eq' instead of `='. · 527ba7f4
      YAMAMOTO Mitsuharu authored
      (mac-atsu-font-table, mac-font-panel-mode): Add defvars.
      (mac-bytes-to-digits, mac-handle-toolbar-switch-mode)
      (mac-handle-font-panel-closed, mac-handle-font-selection):
      New functions.
      (mac-font-panel-mode): New minor mode.
      (mac-apple-event-map): Add bindings for toolbar toggle button and
      font panel.
      (menu-bar-showhide-menu): Add mac-font-panel-mode.
      527ba7f4
  23. 06 May, 2006 1 commit
  24. 05 May, 2006 1 commit
    • YAMAMOTO Mitsuharu's avatar
      (mac-utxt-to-string, mac-string-to-utxt) · 6e53dc95
      YAMAMOTO Mitsuharu authored
      (mac-TEXT-to-string, mac-string-to-TEXT, mac-furl-to-string)
      (mac-TIFF-to-string): New functions.
      (mac-text-encoding-mac-japanese-basic-variant):	New constant.
      (x-get-selection, x-selection-value)
      (mac-select-convert-to-string): Use them.
      (mac-dnd-types-alist): New customization variable.
      (mac-dnd-handle-furl, mac-dnd-handle-hfs, mac-dnd-insert-utxt)
      (mac-dnd-insert-TEXT, mac-dnd-insert-TIFF, mac-dnd-drop-data)
      (mac-dnd-handle-drag-n-drop-event): New functions.
      (mac-drag-n-drop): Remove function.
      (global-map): Bind drag-n-drop and M-drag-n-drop to
      mac-dnd-handle-drag-n-drop-event.
      6e53dc95
  25. 01 May, 2006 1 commit
  26. 30 Mar, 2006 1 commit
  27. 25 Mar, 2006 1 commit
  28. 10 Feb, 2006 1 commit
  29. 06 Feb, 2006 1 commit
  30. 05 Jan, 2006 1 commit
  31. 19 Dec, 2005 1 commit
    • YAMAMOTO Mitsuharu's avatar
      (mac-handle-language-change) · 62ffc232
      YAMAMOTO Mitsuharu authored
      (mac-ae-open-documents, mac-ae-get-url, mac-services-open-file)
      (mac-services-open-selection, mac-services-mail-selection)
      (mac-services-mail-to, mac-services-insert-text)
      (mac-dispatch-apple-event): Add docstrings.
      (x-get-selection, mac-select-convert-to-string): Select coding
      system from `utf-16be' and `utf-16le' using `byteorder'.
      62ffc232
  32. 11 Dec, 2005 1 commit
  33. 10 Dec, 2005 1 commit
    • YAMAMOTO Mitsuharu's avatar
      Require url when compiling. Call · ea1f6051
      YAMAMOTO Mitsuharu authored
      mac-process-deferred-apple-events after loading init files.
      (mac-apple-event-map): New defvar.  Define event handlers in it.
      (core-event, internet-event): New Apple event class symbols.
      (open-application, reopen-application, open-documents)
      (print-documents, open-contents, quit-application)
      (application-died, show-preferences, autosave-now, get-url): New
      Apple event ID symbols.
      (about): New HICommand ID symbol.
      (mac-event-spec, mac-event-ae): New macros.
      (mac-ae-parameter, mac-ae-list, mac-bytes-to-integer)
      (mac-ae-selection-range, mac-ae-text-for-search)
      (mac-ae-open-documents, mac-ae-text, mac-ae-get-url): New functions.
      (mac-application-menu-map): Remove keymap.  Handlers for HICommand
      and Services menu events are now defined in mac-apple-event-map.
      (mac-drag-n-drop): Remove selection range handling.
      ea1f6051
  34. 24 Nov, 2005 1 commit
  35. 23 Nov, 2005 1 commit
  36. 29 Oct, 2005 1 commit
    • Karoly Lorentey's avatar
      Fix semantics of terminal-local variables. Remove `terminal-local-value' hack. · c40bb1ba
      Karoly Lorentey authored
      * src/data.c (do_symval_forwarding, store_symval_forwarding)
        (find_symbol_value): Use the selected frame's keyboard, not
        current_kboard.
      
      * src/data.c (Fterminal_local_value, Fset_terminal_local_value): Disable
        these functions.
      
      * src/data.c (syms_of_data): Don't defsubr them.
      * lisp/edmacro.el (edmacro-format-keys): Remove terminal-local-value calls.
      * lisp/emulation/cua-base.el (cua--pre-command-handler-1): Ditto.
      * lisp/international/encoded-kb.el (encoded-kbd-setup-display): Ditto.
      * lisp/isearch.el (isearch-other-meta-char): Ditto.
      * lisp/obsolete/keyswap.el (the-table): Ditto.
      * lisp/simple.el (normal-erase-is-backspace-mode): Ditto.
      * lisp/subr.el (keyboard-translate, read-quoted-char): Ditto.
      * lisp/term/AT386.el (terminal-init-AT386): Ditto.
      * lisp/term/internal.el: Ditto.
      * lisp/term/iris-ansi.el (terminal-init-iris-ansi): Ditto.
      * lisp/term/lk201.el (terminal-init-lk201): Ditto.
      * lisp/term/mac-win.el: Ditto.
      * lisp/term/news.el (terminal-init-news): Ditto.
      * lisp/term/rxvt.el (terminal-init-rxvt): Ditto.
      * lisp/term/sun.el (terminal-init-sun): Ditto.
      * lisp/term/tvi970.el (terminal-init-tvi970): Ditto.
      * lisp/term/vt200.el (terminal-init-vt200): Ditto.
      * lisp/term/vt201.el (terminal-init-vt201): Ditto.
      * lisp/term/vt220.el (terminal-init-vt220): Ditto.
      * lisp/term/vt240.el (terminal-init-vt240): Ditto.
      * lisp/term/vt300.el (terminal-init-vt300): Ditto.
      * lisp/term/vt320.el (terminal-init-vt320): Ditto.
      * lisp/term/vt400.el (terminal-init-vt400): Ditto.
      * lisp/term/vt420.el (terminal-init-vt420): Ditto.
      * lisp/term/wyse50.el (terminal-init-wyse50): Ditto.
      * lisp/term/x-win.el (x-setup-function-keys): Ditto.
      * lisp/term/xterm.el (terminal-init-xterm): Ditto.
      
      
      git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-434
      c40bb1ba
  37. 16 Oct, 2005 1 commit
  38. 01 Oct, 2005 1 commit