Commit graph

30 commits

Author SHA1 Message Date
Miles Bader
ab5796a9f9 Add arch taglines 2003-09-01 15:45:59 +00:00
Jason Rumney
ee79d1aa9c (last_clipboard_sequence_number): New variable.
(Fw32_set_clipboard_data, Fw32_get_clipboard_data): Use sequence
number if possible.
2003-07-06 22:01:49 +00:00
Juanma Barranquero
41a48e45f5 (syms_of_win32select): Fix docstring for `selection-coding-system'. 2002-10-14 11:02:07 +00:00
Juanma Barranquero
3b32ae2caa (syms_of_w32select): Fix spacing. 2002-09-06 09:04:56 +00:00
Ken Raeburn
d5db40779d Most uses of XSTRING combined with STRING_BYTES or indirection changed to
SCHARS, SBYTES, STRING_INTERVALS, SREF, SDATA; explicit size_byte references
left unchanged for now.
2002-07-15 00:01:34 +00:00
Juanma Barranquero
f7d05dc449 Include composite.h 2002-06-24 07:56:18 +00:00
Kenichi Handa
87c1450664 (Fw32_get_clipboard_data): Disable composition handling. 2002-06-24 00:37:03 +00:00
Jason Rumney
aab7e392f5 (Fw32_set_clipboard_data): Run pre-write-conversion
on the string before encoding it.
(Fw32_get_clipboard_data): Run post-read-conversion on the string
after decoding it.
2002-02-23 18:12:30 +00:00
Jason Rumney
33f096701c Change doc-string comments to new style'. [w/doc:' keyword]. Doc fixes. 2001-11-12 23:57:09 +00:00
Pavel Janík
b782650360 Update usage of CHECK_ macros (remove unused second argument). 2001-11-02 20:46:55 +00:00
Jason Rumney
06466d9ad1 (Fw32_set_clipboard_data): Save a copy of what is put on the clipboard.
(Fw32_get_clipboard_data): Compare data on clipboard with saved copy
of what Emacs last put there. If they are the same, do not use the
clipboard copy to avoid losing data due to coding conversions.
2000-11-21 19:18:13 +00:00
Andrew Innes
3e4731a35a Include keyboard.h before frame.h. 2000-08-22 23:45:16 +00:00
Jason Rumney
11f292ed17 (Fw32_set_clipboard_data): Change QNil to Qnil. 2000-05-31 18:09:57 +00:00
Kenichi Handa
69ebbf81b1 (Fw32_set_clipboard_data): Setup members
src_multibyte and dst_multibyte of coding.  Adjusted for the
change for find_charset_in_str.
(Fw32_get_clipboard_data): Likewise.
2000-05-20 00:07:08 +00:00
Jason Rumney
aba6b952ac (Fw32_set_clipboard_data): Update call to find_charset_in_str. 2000-01-23 03:23:12 +00:00
Andrew Innes
43df7d0b43 (Fw32_set_clipboard_data): Undo last change to add
nlines to encoding_buffer_size (real bug was in a ccl program in
lisp/international/coding.el).
1999-05-02 10:30:22 +00:00
Andrew Innes
0ece9ef6bf (Fw32_set_clipboard_data): Take into account line
ends when calculating clipboard storage needed for non-ASCII text.
1999-03-25 22:59:18 +00:00
Kenichi Handa
2798f18161 (Fw32_set_clipboard_data): Call find_charset_in_str
with MULTIBYTE arg 0.
1998-12-15 04:35:38 +00:00
Geoff Voelker
c0ca703bd4 (Fw32_get_clipboard_data): Do not delete isolated CR
characters, only convert CRLF to LF.
1998-12-09 00:03:09 +00:00
Geoff Voelker
93cbf229f9 (Vnext_selection_coding_system): New variable.
(syms_of_w32select): DEFVAR_LISP it.
(Fw32_set_clipboard_data): Use Vnext_selection_coding_system if
non-nil.  Always convert multibyte strings.
(Fw32_get_clipboard_data): Use Vnext_selection_coding_system if
non-nil.  Always convert a string that includes non-ASCII characters.
1998-10-28 03:50:07 +00:00
Kenichi Handa
3c8cb3123a (Fw32_set_clipboard_data): Call find_charset_in_str with CMPCHARP arg 0. 1998-10-12 12:00:44 +00:00
Richard M. Stallman
72aca5fa28 (Vselection_coding_system): Renamed from Vclipboard_coding_system.
(syms_of_w32select): No need to staticpro Vselection_coding_system.
1998-08-05 22:32:02 +00:00
Andrew Innes
0108f679e4 (Fw32_set_clipboard_data): Set Vlast_coding_system_used.
(Fw32_get_clipboard_data): Likewise.
1998-07-12 20:24:23 +00:00
Andrew Innes
bbb059f390 Include buffer.h, charset.h, and coding.h.
(Vclipboard_coding_system): New variable.
(syms_of_w32select): DEF_VAR it.
(Fw32_set_clipboard_data): Encode string using
Vclipboard_coding_system if necessary.
(Fw32_get_clipboard_data): Decode clipboard contents using
Vclipboard_coding_system if necessary.
1998-06-22 17:43:15 +00:00
Geoff Voelker
e9e23e2348 Change all uses of win95, winnt, and win32
into Windows 95, Windows NT, and W32, respectively.
Expand "win" substring in variables referring to Microsoft Windows
constructs into "windows".
Canonicalize header comments to use same terminology.
1997-01-20 00:38:22 +00:00
Geoff Voelker
fbd6baedb5 Change identifiers of the form win32* to w32*. 1996-11-19 04:59:23 +00:00
Karl Heuer
9aa94bd50c (QCLIPBOARD): New symbol.
(Fx_selection_exists_p): New function.
(syms_of_win32select): Initialize/staticpro and defsubr them.
1996-05-14 19:01:53 +00:00
Geoff Voelker
69cddef069 (Fwin32_set_clipboard_data, Fwin32_get_clipboard_data):
Calculate exact size of clipboard string with CRs removed or inserted.
1996-05-03 18:45:04 +00:00
Erik Naggum
3b7ad313e0 Update FSF's address in the preamble. 1996-01-15 09:18:04 +00:00
Geoff Voelker
ee78dc3223 Initial revision 1995-11-07 07:52:28 +00:00