Commit graph

532 commits

Author SHA1 Message Date
YAMAMOTO Mitsuharu
5fecafe707 (mac-atsu-font-table): Remove defvar.
(mac-handle-font-selection): Use mac-atsu-font-face-attributes
instead of mac-atsu-font-table.
(fontset-default): Specify argument MAXIMUM in x-list-fonts calls.
2006-12-15 08:04:47 +00:00
Glenn Morris
f2e3589a33 Update copyright years. 2006-12-09 04:06:06 +00:00
Jan Djärv
8eee81013f (x-last-cut-buffer-coding): New variable.
(x-select-text): Set it.
(x-cut-buffer-or-selection-value): Check also x-last-cut-buffer-coding
when checking for newness.
2006-11-20 07:43:41 +00:00
Jan Djärv
ccf17b26dc (x-cut-buffer-or-selection-value): Decode text from
cut-buffers with next-selection-coding-system if not nil.
2006-11-18 13:16:58 +00:00
Andreas Schwab
5efe831f08 (terminal-init-xterm): Add more key bindings. 2006-11-14 11:26:20 +00:00
Jan Djärv
65a0c81b84 * term/x-win.el (x-select-text, x-cut-buffer-or-selection-value):
Encode/decode text to/from cut buffers to/from iso-latin-1 only.
2006-11-10 07:40:06 +00:00
Juanma Barranquero
885a56fe64 (x-handle-name-switch): Doc fix.
(w32-standard-fontset-spec): Fix typo in docstring.
2006-10-25 15:38:22 +00:00
YAMAMOTO Mitsuharu
045b190821 *** empty log message *** 2006-10-19 08:02:23 +00:00
Jan Djärv
26e3283901 * term/x-win.el (res-geometry): Don't set geometry from Xresources
to default-frame-alist if default-frame-alist already contains
 widht/height.
2006-10-18 14:05:16 +00:00
Jan Djärv
0fba87a865 * term/x-win.el (x-menu-bar-open): New function for F10. 2006-09-15 17:02:55 +00:00
YAMAMOTO Mitsuharu
dbcdba77e6 (show-hide-font-panel): New HI command ID symbol.
(mac-apple-event-map): Define its handler.
2006-09-08 08:17:21 +00:00
Dan Nicolaescu
652bf3a19f (terminal-init-xterm): Add more C-M- bindings. 2006-09-05 06:59:53 +00:00
Dan Nicolaescu
bb68962b53 (terminal-init-xterm): Add C-M- bindings. 2006-09-04 16:49:35 +00:00
YAMAMOTO Mitsuharu
762ce89d58 (mac-string-to-utxt): If adjustment for MacJapanese
results in ASCII-only string, encode original one directly.
2006-08-30 08:51:52 +00:00
YAMAMOTO Mitsuharu
4442ec0d0d (mac-apple-event-map): Rename hicommand to hi-command.
(mac-dnd-drop-data): Apply 2006-08-22 change for x-dnd-drop-data.
(special-event-map): Apply 2006-08-16 change for x-win.el.
2006-08-27 07:08:07 +00:00
Richard M. Stallman
c0acb3ee4c (x-clipboard-yank): Specify * in interactive spec.
(special-event-map): Process drag-n-drop events this way.
2006-08-16 05:09:18 +00:00
Jan Djärv
3694220512 * term/x-win.el (menu-bar-edit-menu): Disable paste if buffer is
read only.
2006-08-14 09:00:36 +00:00
Dan Nicolaescu
c0658ad46e (terminal-init-xterm): Add more key bindings. 2006-08-08 05:31:09 +00:00
Dan Nicolaescu
cecee05315 (terminal-init-xterm): Fix bindings for C-tab,
S-tab and C-S-tab.
2006-07-27 18:31:23 +00:00
Dan Nicolaescu
c79722c9f7 (terminal-init-xterm): Fix key bindings
syntax. Bind S-return, C-M-., C-TAB, S-TAB and C-S-TAB.
2006-07-21 17:36:10 +00:00
Richard M. Stallman
e50f1c1a82 (x-handle-display): Add doc string. 2006-07-09 02:02:57 +00:00
Romain Francoise
366f174136 (x-display-name): Fix typo. 2006-07-08 16:31:42 +00:00
Chong Yidong
6f6c5fb394 * term/x-win.el (x-display-name): Doc fix. 2006-07-08 01:45:46 +00:00
YAMAMOTO Mitsuharu
f9b6d85f76 (mac-handle-font-selection): Change keys of
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.
2006-06-28 08:28:38 +00:00
Dan Nicolaescu
4e78977ec2 (terminal-init-xterm): Bind C-return. 2006-06-21 02:00:47 +00:00
Dan Nicolaescu
2b0193e1fb * term/xterm.el (terminal-init-xterm): Update key availability
info.

* term.el (term-delete-lines, term-insert-lines): Clarify
comments.
2006-06-20 18:12:23 +00:00
YAMAMOTO Mitsuharu
05d3aeb016 (mac-text-encoding-ascii): New constant.
(mac-utxt-to-string): Use it.
(mac-ts-update-active-input-area): Use mac-ae-number.
2006-06-16 08:07:59 +00:00
YAMAMOTO Mitsuharu
dc34c597e4 (mac-ts-active-input-overlay): Add defvar.
(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.
2006-06-03 02:31:51 +00:00
Jan Djärv
4054794d58 * term/x-win.el: Change x-menu-bar-start to menu-bar-open. 2006-06-01 06:42:22 +00:00
Jan Djärv
e380957ec2 * term/x-win.el: bind F10 to menu-bar-start if available. 2006-05-29 07:16:54 +00:00
YAMAMOTO Mitsuharu
dc47c8243d Set idle timer to clean up expired Apple events.
(mac-ae-get-url): Redispatch Apple event on unknown scheme.
(mac-dispatch-apple-event): Resume Apple event if it is suspended.
Optionally set error message in reply.
2006-05-24 08:06:27 +00:00
YAMAMOTO Mitsuharu
0cd80dfa3f (w32-drag-n-drop): Substitute '/' for '\',
encode, and escape file name on conversion to URL.
2006-05-20 04:31:17 +00:00
YAMAMOTO Mitsuharu
fc0a69d1e7 (mac-ae-open-documents): Escape file name on conversion to URL. 2006-05-20 04:30:07 +00:00
YAMAMOTO Mitsuharu
7b39356d19 (mac-bytes-to-digits): Remove function.
(mac-handle-toolbar-switch-mode): Use coercion instead of it.
2006-05-19 09:09:37 +00:00
Dan Nicolaescu
d041c8c961 (terminal-init-xterm): Fix typo. 2006-05-12 16:18:37 +00:00
YAMAMOTO Mitsuharu
b905e80927 (mac-font-panel-mode): Doc fix.
(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'.
2006-05-10 08:22:39 +00:00
Dan Nicolaescu
a07d147e75 (terminal-init-xterm): Add more key bindings. 2006-05-08 23:21:34 +00:00
YAMAMOTO Mitsuharu
527ba7f452 (mac-utxt-to-string): Use eq' instead of ='.
(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.
2006-05-07 08:03:40 +00:00
YAMAMOTO Mitsuharu
e834108f7d (mac-utxt-to-string): Don't make adjustment for
MacJapanese if text is ASCII-only.
2006-05-06 06:50:10 +00:00
YAMAMOTO Mitsuharu
6e53dc956b (mac-utxt-to-string, mac-string-to-utxt)
(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.
2006-05-05 06:43:12 +00:00
YAMAMOTO Mitsuharu
fc36394b4b (mac-ae-open-documents, mac-drag-n-drop): Use
select-frame-set-input-focus instead of raise-frame.
(global-map): Bind M-drag-n-drop to mac-drag-n-drop.
2006-05-01 01:09:40 +00:00
YAMAMOTO Mitsuharu
4da2c33b4c (mac-system-coding-system): Define and use after
Mac-specific coding systems are ready.
2006-03-30 02:23:27 +00:00
YAMAMOTO Mitsuharu
0f49150ef4 Adjust Courier font specifications in x-fixed-font-alist.
(mac-select-convert-to-string): Use utf-16be-mac or utf-16le-mac
when directly encoding to UTF-16 in native byte order, no BOM.
2006-03-25 07:40:46 +00:00
Eli Zaretskii
ff04436d53 Fix last change. 2006-03-18 13:13:30 +00:00
Eli Zaretskii
52f9306b4b (mouse-set-font): Mention w32-list-proportional-fonts in the doc string. 2006-03-18 12:57:11 +00:00
YAMAMOTO Mitsuharu
2f8efa69e0 (fontset-standard): Rename from "fontset-mac". 2006-02-10 08:19:53 +00:00
Thien-Thi Nguyen
ceb4c4d303 Update years in copyright notice; nfc. 2006-02-06 12:31:40 +00:00
Juanma Barranquero
253d8b7a32 (image-library-alist): Add additional names for GIF library. 2006-01-23 15:28:24 +00:00
YAMAMOTO Mitsuharu
a149e872d4 (mac-ae-parameter): Don't coerce data if it is
already of desired type.
(mac-ae-list): Coerce parameter to "list" type.
(mac-dispatch-apple-event): Replace cadr part of event with a
dummy position so that event-start returns it.
2006-01-05 08:13:11 +00:00
YAMAMOTO Mitsuharu
62ffc23213 (mac-handle-language-change)
(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'.
2005-12-19 08:29:06 +00:00