| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
|
|
|
|
| |
SCHARS, SBYTES, STRING_INTERVALS, SREF, SDATA; explicit size_byte references
left unchanged for now.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
on the string before encoding it.
(Fw16_get_clipboard_data): Run post-read-conversion on the string
after decoding it.
|
| |
|
| |
|
|
|
|
| |
symbols' value directly.
|
|
|
|
|
|
|
|
| |
to put text into clipboard, return 1, as Fw16_set_clipboard_data
expects. In case of other failures, return 3.
(system_error_msg): New error message.
(Fw16_set_clipboard_data): If set_clipboard_data returns 3, print
system_error_msg.
|
| |
|
|
|
|
|
|
| |
src_multibyte and dst_multibyte of coding. Adjusted for the
change for find_charset_in_str.
(Fw16_get_clipboard_data): Likewise.
|
| |
|
|
|
|
| |
DOS box which doubles the reported size of text in the clipboard.
|
|
|
|
|
|
|
|
|
| |
static variables.
(set_clipboard_data): Save a copy of the text we put into
clipboard in last_clipboard_text.
(get_clipboard_data): If the clipboard text is identical to what
last_clipboard_text holds, pretend there's no data in the
clipboard.
|
| |
|
|
|
|
| |
encoded, set its pointer and size as returned by encode_coding.
|
|
|
|
| |
string to be put into the Windows clipboard. Use xbuf_addr.
|
|
|
|
|
|
|
|
|
|
| |
character. Don't allow to put binary data into the clipboard.
Return zero in case of success, 1 or 2 otherwise.
(get_clipboard_data): Only bail out if the null character is in
the last 32-byte chunk of clipboard data
(Fw16_set_clipboard_data): Make ok and put_status be unsigned. If
they save binary data, print a message in the echo area saying the
text was not put into the clipboard.
|
|
|
|
| |
with MULTIBYTE arg 0.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
(syms_of_win16select): DEFVAR_LISP it. No need to staticpro
Vselection_coding_system.
(Fw16_set_clipboard_data): Always convert multibyte strings. Use
Vnext_selection_coding_system if non-nil.
(Fw16_get_clipboard_data): Always convert a string that includes
non-ASCII characters. Use Vnext_selection_coding_system if
non-nil.
|
|
|
|
|
|
| |
Rename Vclipboard_coding_system to Vselection_coding_system.
(Fw16_set_clipboard_data): Don't count trailing zero in the string
for the purposes of conversion.
|
|
|
|
|
| |
Fw16_get_clipboard_data, Fx_selection_exists_p): Use CF_OEMTEXT instead
of CF_TEXT.
|
|
|
|
|
|
|
|
|
|
|
|
| |
(set_clipboard_data, set_clipboard_data): New parameter Raw
determines whether CRLF <-> NL translation needs to be done. All
callers changed.
(Fw16_set_clipboard_data): Encode the text using
Vclipboard_coding_system, if necessary.
(Fw16_get_clipboard_data): Decode the text using
Vclipboard_coding_system, if necessary.
(syms_of_win16select): DEFVAR Vclipboard_coding_system and
staticpro it.
|
|
|
|
|
|
| |
return immediately with failure.
(Fw16_set_clipboard_data, Fw16_get_clipboard_data): Replace win16
with w16.
|
|
|
|
|
| |
(Fwin16_get_clipboard_data, Fwin16_set_clipboard_data): Balance
the calls to BLOCK_INPUT and UNBLOCK_INPUT.
|
|
|
|
| |
arguments.
|
| |
|
|
|