1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-25 23:10:47 -08:00
Commit graph

434 commits

Author SHA1 Message Date
YAMAMOTO Mitsuharu
13d9a23189 (mac-symbol-encoder, mac-dingbats-encoder): Minor update. 2005-04-19 12:47:46 +00:00
YAMAMOTO Mitsuharu
dfcb7df273 Add coding: tag and set it to iso-2022-7bit.
(mac-add-charset-info): New function.  Initialize variable
mac-charset-info-alist using it.
(mac-centraleurroman, mac-cyrillic): Do not use UCS in table data for
translation.
(mac-symbol-encoder, mac-dingbats-encoder): New translation table.
(mac-font-encoder-list): Add entries for mac-symbol and mac-dingbats.
(ccl-encode-mac-symbol-font, ccl-encode-mac-dingbats-font): New CCL
programs.
2005-04-19 12:04:51 +00:00
YAMAMOTO Mitsuharu
9bf2510aa5 Don't set file-name-coding-system. Decode variables system-name,
emacs-build-system, user-login-name, and user-full-name by
mac-system-coding-system on Mac OS Classic.
(mac-system-coding-system): New variable.
2005-04-14 09:28:21 +00:00
Dan Nicolaescu
759e9f0c42 (function-key-map): Add mappings for A-, C-, S-
and C-S- function and cursor motion keys.
2005-04-13 02:25:43 +00:00
YAMAMOTO Mitsuharu
92a607bd5c (kTextEncodingMacRoman, kTextEncodingISOLatin1)
(kTextEncodingISOLatin2): Remove constants.
(mac-script-code-coding-systems): New constant.
(mac-handle-language-change): New function.
(special-event-map): Bind it to `language-change' event.
(mac-centraleurroman, mac-cyrillic): New coding systems.
(mac-font-encoder-list, ccl-encode-mac-centraleurroman-font)
(ccl-encode-mac-cyrillic-font): Rename mac-centraleurroman-encoder and
mac-cyrillic-encoder to encode-mac-centraleurroman and
encode-mac-cyrillic, respectively.
2005-04-12 10:27:29 +00:00
YAMAMOTO Mitsuharu
590bc75d28 (dnd): Require dnd
(mac-drag-n-drop): Call dnd-handle-one-url.
2005-04-12 09:01:36 +00:00
Jan Djärv
6bc52abcc6 * term/w32-win.el (dnd): Require dnd
(w32-drag-n-drop): Call dnd-handle-one-url.
2005-04-11 19:25:58 +00:00
Dan Nicolaescu
ce102cb1e3 (xterm-rgb-convert-to-16bit): Simplify.
(xterm-register-default-colors): Update color values computation
to match xterm-200.
2005-04-09 15:25:50 +00:00
Dan Nicolaescu
9fb518aa5f (xterm-standard-colors): Update color values from
xterm-200.
2005-04-06 21:38:35 +00:00
YAMAMOTO Mitsuharu
3bc062ea3e Use create-fontset-from-mac-roman-font to create the startup fontset
if a font specification ends with `mac-roman'.
2005-04-06 02:15:29 +00:00
Eli Zaretskii
3e23d962ee Don't use keyswap.el, since it is now obsolete. 2005-03-26 16:22:59 +00:00
Stefan Monnier
33256bdff9 Undo last change, better done in mule-cmds.el. 2005-03-25 15:42:34 +00:00
Stefan Monnier
3ac3dd4f03 If running in Terminal.app set coding-system to utf-8. 2005-03-24 17:18:46 +00:00
Eli Zaretskii
f3b7338cc3 Moved keyswap.el from term/ to obsolete/. 2005-03-19 13:15:38 +00:00
YAMAMOTO Mitsuharu
af6e9e853c Add mouse pointer shape constants. 2005-03-16 03:23:34 +00:00
YAMAMOTO Mitsuharu
9b3c108b78 (function-key-map): Sync with x-win.el. 2005-03-15 07:45:58 +00:00
Stefan Monnier
2c75eddf9d (function-key-map): Use char-names more consistently.
(file-name-coding-system): Only set it for MacOS-9.  The other case is
already handled in mule-cmds.el (where it also works when mac-win.el
is not used).
2005-02-21 13:11:04 +00:00
Stefan Monnier
bd6a8278ad Simplify code. 2005-01-23 16:56:11 +00:00
Jason Rumney
fc8f881d53 (xw-defined-colors) Remove debug message. 2005-01-22 23:49:06 +00:00
Steven Tamm
a15252fdfb * editfns.c (Voperating_system_release): Added.
(init_editfns): Assign new variable operating-system-release
	based on call to uname if available.
	(get_operating_system_release): Added function to
	allow c-level access to operating system release.
* config.h: Regenerated.
* s/darwin.h (PTY_ITERATION): Don't allow PTYs on darwin 6 or
	less.
	(MIN_PTY_KERNEL_VERSION): Defined minimum kernel version for
	using ptys as '7'.
* term/mac-win.el (process-connection-type): Removed.
	Controlled now by s/darwin.h:PTY_ITERATION.
2005-01-20 18:13:48 +00:00
Steven Tamm
8db8a5cf5f * term/mac-win.el (process-connection-type): Use new
operating-system-release variable to use ptys on Darwin 7 (OSX
	10.3) when using carbon build.
2005-01-19 19:14:01 +00:00
Steven Tamm
456e761bec * macterm.c (SelectionRange): Add Xcode position apple event struct.
(do_ae_open_documents): Handle Xcode-style file position open
	events.
* term/mac-win.el (mac-drag-n-drop): Handle drag-n-drop events
	that include line numbers.
2004-12-30 02:04:31 +00:00
Steven Tamm
30c92fab79 * term/mac-win.el: Require x-dnd.
(mac-drag-n-drop): Sync with W32 version.  Use x-dnd.el functions.
* macfns.c (install_window_handler): Modify extern to return OSErr
	value.
	(mac_window): Handle return value of install_window_handler.
* macterm.c (reflect_byte): Remove function.
	(mac_create_bitmap_from_bitmap_data): Don't call it.  Lookup table
	instead.
	(mac_do_font_lists): Simplify calculation of the longest
	nonspecial string.
	[TARGET_API_MAC_CARBON] (init_mac_drag_n_drop): Remove function
	and declaration.
	(mac_initialize) [TARGET_API_MAC_CARBON]: Don't call it.
	[TARGET_API_MAC_CARBON] (mac_do_track_drag): New function and
	declaration.
	(install_window_handler): Return OSErr value.
	(install_window_handler) [TARGET_API_MAC_CARBON]: Register
	handlers for tracking/receiving drag-and-drop items.
	(do_ae_open_documents): Generate unibyte strings for filenames.
	[TARGET_API_MAC_CARBON] (mac_do_receive_drag): Likewise.  Reject
	only non-filename items.  Set event modifiers.  Set return value.
2004-12-29 17:25:02 +00:00
Steven Tamm
74e2abe26a * term/mac-win.el: Sync with x-win.el. Rearrange the contents.
Call mac-clear-font-name-table if invoked on Mac OS 8/9.  Call
x-open-connection on Mac OS X.
2004-12-27 17:23:02 +00:00
Steven Tamm
fbe6152fad * term/mac-win.el (encoding-vector, mac-font-encoder-list)
(ccl-encode-mac-centraleurroman-font): Use centraleurroman
instead of centraleuropean as the name
* macterm.c (endif, x_font_name_to_mac_font_name): Use
maccentraleurroman instead of maccentraleuropean
(mac_c_string_match, mac_do_list_fonts): Speed up font search by
quickly finding a specific font without needing regexps.
2004-12-18 16:36:31 +00:00
Kenichi Handa
eb5ad2428b (x-last-selected-text-cut-encoded): New variable.
(x-select-text): Don't treat eight-bit-control/graphic chars
specially.  Store the encoded text in the X cut buffer.
(x-cut-buffer-or-selection-value): Compare the X cut buffer text
with x-last-selected-text-cut-encoded.
2004-12-01 00:35:37 +00:00
Steven Tamm
f084eeb926 * term/mac-win.el (ccl-encode-mac-roman-font)
(ccl-encode-mac-cyrillic-font)
(ccl-encode-mac-centraleuropean-font, encoder-list)
(fontset-add-mac-fonts, create-fontset-from-mac-roman-font):
Support Cyrillic, CentralEuropean, and Dingbat font display
2004-11-30 15:49:26 +00:00
Stefan Monnier
4dab1ffd06 (function-key-map): Add bindings for C- and S- cursor
motion as seen on my Mac OS X xterms.
2004-09-08 02:41:53 +00:00
Steven Tamm
2ca75b4224 Add ASCII equivalents for some function keys.
(mode-line-frame-identification): Sync with x-win.el.
2004-09-02 16:59:18 +00:00
Kenichi Handa
c3ff5bc11c term/x-win.el (x-selection-value): If utf8 was successful but
ctext was not, use utf8 string.
2004-08-16 00:07:23 +00:00
Luc Teirlinck
b96b979c74 (tty-color-approximate): Doc fix. 2004-07-24 21:58:34 +00:00
Steven Tamm
0ecc99998a term/mac-win.el (mac-scroll-ignore-events, mac-scroll-down)
(mac-scroll-down-line, mac-scroll-up, mac-scroll-up-line):
Do not treat double clicks and triple clicks specially in the
scroll bar (preventing strange repositioning problems)
2004-07-08 15:24:54 +00:00
Juanma Barranquero
fe34703418 (image-library-alist): Initialize to a known set of probable library names. 2004-06-14 21:01:37 +00:00
Jason Rumney
b0efcd2ea3 Require code-pages. 2004-05-09 15:01:17 +00:00
Jan Djärv
e43a720fd6 * term/x-win.el (x-clipboard-yank): Don't exit on error from
x-get-selection.
2004-05-03 20:02:49 +00:00
Jason Rumney
1e8b532f5a (w32-drag-n-drop): Use x-dnd.el functions. 2004-05-01 13:31:29 +00:00
Eli Zaretskii
361535c2a9 Remove my incorrect email address. 2004-04-04 21:45:39 +00:00
Kenichi Handa
b040ac646b (x-select-utf8-or-ctext): Use compare-strings instead of while loop. 2004-02-10 03:52:37 +00:00
Jan Djärv
133aad747d * x-dnd.el: New file for drag and drop.
* term/x-win.el: require x-dnd, set after-make-frame-functions
to x-dnd-init-frame, let x-dnd-handle-drag-n-drop-event handle
drag-n-drop event.

* dired.el (dired-dnd-test-function, dired-dnd-popup-notice)
(dired-dnd-do-ask-action, dired-dnd-handle-local-file)
(dired-dnd-handle-file): New functions for drag and drop support.
(dired-mode): Initialize drag and drop if x-dnd present.
2004-02-03 16:55:30 +00:00
Kenichi Handa
3ff05361d8 *** empty log message *** 2004-01-29 04:58:11 +00:00
Kenichi Handa
ef99df9a86 (x-selection-value): Optimize for ASCII only case. 2004-01-29 04:56:11 +00:00
Jan Djärv
a5bfbd4e67 Enable clipboard on the menu bar and make Paste from the menu bar first
use clipboard.  For compliance with freedesktop.org.
2004-01-21 10:56:29 +00:00
Miles Bader
ab5796a9f9 Add arch taglines 2003-09-01 15:45:59 +00:00
Kenichi Handa
c7d9df18e4 (x-select-request-type): New variable.
(x-select-utf8-or-ctext): New function.
(x-selection-value): New function.
(x-cut-buffer-or-selection-value): Call x-selection-value to get
a selection data.  Set next-selection-coding-system to nil.
2003-06-17 10:56:24 +00:00
Jason Rumney
e9ec1a292f No need to bind wheel events specially. 2003-06-04 21:54:08 +00:00
Jason Rumney
230c8ad7bf No need to bind wheel events specially. 2003-06-01 22:13:07 +00:00
Stefan Monnier
a52eeda823 (iconify-or-deiconify-frame): Move to frame.el. 2003-05-31 16:03:11 +00:00
Stefan Monnier
25d887f06f (iconify-or-deiconify-frame): Move to frame.el. 2003-05-24 16:22:20 +00:00
Stefan Monnier
c3ef508488 (iconify-or-deiconify-frame): Move to frame.el.
Turn on mouse-wheel support by default.
2003-05-24 16:13:06 +00:00
Andrew Choi
5416884dd3 * term/mac-win.el: Unconditionally set process-connection-type to nil. 2003-04-15 01:29:42 +00:00