aboutsummaryrefslogtreecommitdiffstats
path: root/src/w16select.c
Commit message (Collapse)AuthorAgeFilesLines
* (syms_of_win16select): Fix spacing.Juanma Barranquero2002-09-061-2/+2
|
* Most uses of XSTRING combined with STRING_BYTES or indirection changed toKen Raeburn2002-07-151-5/+5
| | | | | SCHARS, SBYTES, STRING_INTERVALS, SREF, SDATA; explicit size_byte references left unchanged for now.
* Include composite.hJuanma Barranquero2002-06-241-0/+1
|
* (Fw16_get_clipboard_data): Disable composition handling.Kenichi Handa2002-06-241-0/+3
|
* Fix whitespace.Eli Zaretskii2002-05-171-11/+8
|
* (Fw16_get_clipboard_data): Fix last change.Eli Zaretskii2002-02-231-1/+1
|
* (Fw16_set_clipboard_data): Run pre-write-conversionEli Zaretskii2002-02-221-29/+32
| | | | | | on the string before encoding it. (Fw16_get_clipboard_data): Run post-read-conversion on the string after decoding it.
* Change doc-string comments to `new style' [w/`doc:' keyword].Pavel Janík2001-12-111-21/+21
|
* Update usage of CHECK_ macros (remove unused second argument).Pavel Janík2001-11-021-4/+4
|
* Use SYMBOL_VALUE/ SET_SYMBOL_VALUE macros instead of accessingGerd Moellmann2001-10-051-3/+3
| | | | symbols' value directly.
* (set_clipboard_data): If there's not enough memoryEli Zaretskii2000-08-171-5/+10
| | | | | | | | 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.
* (Fw16_set_clipboard_data): Fix the change from 2000-05-20.Eli Zaretskii2000-05-251-2/+2
|
* (Fw16_set_clipboard_data): Setup membersKenichi Handa2000-05-201-14/+11
| | | | | | src_multibyte and dst_multibyte of coding. Adjusted for the change for find_charset_in_str. (Fw16_get_clipboard_data): Likewise.
* (get_clipboard_data): Always stop at the first null byte.Eli Zaretskii1999-03-031-16/+6
|
* (get_clipboard_data): Work around a bug in Windows95Eli Zaretskii1999-02-151-5/+11
| | | | DOS box which doubles the reported size of text in the clipboard.
* (last_clipboard_text, clipboard_storage_size): NewEli Zaretskii1999-02-041-1/+48
| | | | | | | | | 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.
* Fix last change.Eli Zaretskii1999-02-031-2/+2
|
* (Fw16_set_clipboard_data): When the text needs to beEli Zaretskii1999-02-031-1/+3
| | | | encoded, set its pointer and size as returned by encode_coding.
* (set_clipboard_data): Correctly null-terminate theEli Zaretskii1999-02-021-5/+11
| | | | string to be put into the Windows clipboard. Use xbuf_addr.
* (set_clipboard_data): Terminate the text with a nullEli Zaretskii1999-01-061-16/+39
| | | | | | | | | | 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.
* (Fw16_set_clipboard_data): Call find_charset_in_strKenichi Handa1998-12-151-1/+1
| | | | with MULTIBYTE arg 0.
* (Fw16_set_clipboard_data): Call find_charset_in_str with CMPCHARP arg 0.Kenichi Handa1998-10-121-1/+1
|
* (Vnext_selection_coding_system): New variable.Eli Zaretskii1998-09-011-6/+28
| | | | | | | | | | (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.
* (Fw16_set_clipboard_data, Fw16_get_clipboard_data, syms_of_win16select):Eli Zaretskii1998-08-041-8/+8
| | | | | | 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.
* (set_clipboard_data, get_clipboard_data, Fw16_set_clipboard_data,Eli Zaretskii1998-07-131-8/+8
| | | | | Fw16_get_clipboard_data, Fx_selection_exists_p): Use CF_OEMTEXT instead of CF_TEXT.
* (Vclipboard_coding_system): New variable.Eli Zaretskii1998-07-091-29/+137
| | | | | | | | | | | | (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.
* (alloc_xfer_buf): If want_size is more than 1MB,Eli Zaretskii1998-04-221-5/+10
| | | | | | return immediately with failure. (Fw16_set_clipboard_data, Fw16_get_clipboard_data): Replace win16 with w16.
* (Fwin16_set_clipboard_data): Call UNBLOCK_INPUT before calling sit_for.Eli Zaretskii1998-04-221-4/+8
| | | | | (Fwin16_get_clipboard_data, Fwin16_set_clipboard_data): Balance the calls to BLOCK_INPUT and UNBLOCK_INPUT.
* (Fwin16_set_clipboard_data): Call message2 with 3Karl Heuer1998-04-081-1/+1
| | | | arguments.
* (Fwin16_set_clipboard_data): Pass new arg to sit_for.Richard M. Stallman1997-05-271-1/+1
|
* Initial revisionEli Zaretskii1997-04-141-0/+547