aboutsummaryrefslogtreecommitdiffstats
path: root/src/xselect.c
Commit message (Collapse)AuthorAgeFilesLines
* * xselect.c (symbol_to_x_atom, x_get_foreign_selection): UseKen Raeburn2002-05-201-3/+3
| | | | SYMBOL_NAME and XSTRING instead of XSYMBOL and name field.
* (lisp_data_to_selection_data): Don't set selectionEli Zaretskii2002-05-071-5/+10
| | | | | type if comes from the Lisp object's car. If the selection contains a pure ASCII text, always return QSTRING as its type.
* Change defvar_int def and vars to use EMACS_INT instead of just int.Stefan Monnier2002-03-041-1/+1
|
* (Qcompound_text_with_extensions): Renamed from Qcompound_text_no_extensions.Eli Zaretskii2002-02-261-6/+6
| | | | (lisp_data_to_selection_data, syms_of_xselect): Use the new name.
* (selection_data_to_lisp_data): Fix last change.Eli Zaretskii2002-02-231-1/+1
|
* Fix last change.Eli Zaretskii2002-02-221-4/+4
|
* <Qcompound_text_with_extensions>: New variable.Eli Zaretskii2002-02-221-2/+13
| | | | | | | | | (syms_of_xselect): Intern and staticpro it. (selection_data_to_lisp_data): Run post-read-conversion on decoded selection text. (lisp_data_to_selection_data): If next-selection-coding-system is compound-text-with-extensions, set the type of selection to be compound-text.
* Update usage of CHECK_ macros (remove unused second argument).Pavel Janík2001-11-021-17/+17
|
* Change doc-string comments to `new style' [w/`doc:' keyword].Pavel Janík2001-10-211-84/+84
|
* Avoid (most) uses of XCAR/XCDR as lvalues, for flexibility in experimentingKen Raeburn2001-10-161-10/+10
| | | | with lisp system changes.
* (x_decline_selection_request): Handle errorsGerd Moellmann2001-07-121-80/+169
| | | | | | | | | | | caused by receivers that have vanished. (TRACE0, TRACE1, TRACE2): New macros, defined depending on TRACE_SELECTION. Replace fprintfs in #if 0 with TRACE macros to facilitate debugging. Add additional trace statements. (toplevel): Add prototypes for file-local functions. (x_atom_to_symbol): Remove DPYINFO parameter.
* Call redisplay_preserve_echo_area with additional arg.Gerd Moellmann2001-01-161-3/+3
|
* (selection_request_dpyinfo): New variable.Gerd Moellmann2001-01-111-2/+8
| | | | | | | (x_handle_selection_request): Set it. (x_selection_request_lisp_error): Don't call x_decline_selection_request if selection request's display has been closed.
* (x_reply_selection_request): Add a comment.Gerd Moellmann2001-01-101-0/+6
|
* (wait_for_property_change): Update copyright.Gerd Moellmann2000-11-281-1/+1
|
* Include composite.h.Kenichi Handa2000-11-061-0/+2
| | | | (selection_data_to_lisp_data): Call compose_chars_in_text on STR.
* *** empty log message ***Kenichi Handa2000-07-211-3/+3
|
* (lisp_data_to_selection_data): Use x_encode_text.Kenichi Handa2000-07-211-48/+13
|
* (selection_data_to_lisp_data): Setup membersKenichi Handa2000-05-201-21/+17
| | | | | | src_multibyte and dst_multibyte of coding. Adjusted for the change for find_charset_in_str. (lisp_data_to_selection_data): Likewise.
* (lisp_data_to_selection_data): Adjusted for the changeKenichi Handa1999-12-151-1/+1
| | | | for find_charset_in_str.
* (x_own_selection): Change for Lisp_Object selected_frame.Gerd Moellmann1999-09-131-22/+28
| | | | | (Fx_store_cut_buffer_internal): Ditto. (Fx_rotate_cut_buffers_internal): Ditto.
* Use XCAR and XCDR instead of explicit member references.Ken Raeburn1999-09-121-67/+67
|
* (x_handle_selection_clear): Don't clear theRichard M. Stallman1999-01-241-1/+21
| | | | selection if Emacs still owns it through a different display.
* (lisp_data_to_selection_data): Call find_charset_in_strKenichi Handa1998-12-151-1/+1
| | | | with MULTIBYTE arg 0.
* (Vselection_coding_system): Doc fix.Andreas Schwab1998-10-301-1/+1
|
* (lisp_data_to_selection_data): Call find_charset_in_str with CMPCHARP arg 0.Kenichi Handa1998-10-121-1/+1
|
* (selection_data_to_lisp_data): Code-convert selectionsRichard M. Stallman1998-08-261-2/+9
| | | | | regardless of enable-multibyte-characters. (lisp_data_to_selection_data): Likewise for decoding.
* (Vnext_selection_coding_system): New variable.Kenichi Handa1998-08-151-2/+19
| | | | | | | | (selection_data_to_lisp_data): If Vnext_selection_coding_system is non-nil, use it. (lisp_data_to_selection_data): Likewise. (syms_of_xselect): Declare next-selection-coding-system as a Lisp variable.
* (Vselection_coding_system):Richard M. Stallman1998-07-111-6/+5
| | | | | Renamed from Vclipboard_coding_system. All uses changed. (syms_of_xselect): Rename Lisp variable.
* (selection_data_to_lisp_data): Set Vlast_coding_system_used.Kenichi Handa1998-07-091-1/+7
| | | | (lisp_data_to_selection_data): Likewize.
* (lisp_data_to_selection_data): CallKenichi Handa1998-05-211-1/+1
| | | | | find_charset_in_str with CMPCHARP 1 to encode Lisp string if it contains a composite character.
* (Fx_get_cut_buffer_internal): If FORMAT is 0, cut buffer is empty.Richard M. Stallman1998-04-181-1/+2
|
* Fix -Wimplicit warnings.Andreas Schwab1998-04-141-0/+1
|
* (selection_data_to_lisp_data): GiveKenichi Handa1998-04-021-2/+4
| | | | make_string_from_bytes a correct char size.
* (selection_data_to_lisp_data): Use make_string_from_bytes.Richard M. Stallman1998-03-211-2/+2
|
* Use STRING_BYTES and SET_STRING_BYTES.Richard M. Stallman1998-03-211-2/+2
|
* (selection_data_to_lisp_data): Adjusted for the changeKenichi Handa1998-01-221-11/+12
| | | | | | | | of decode_coding. (lisp_data_to_selection_data): Adjusted for the change of encode_coding. (syms_of_xselect): Initialize clipboard-coding-system to compound-text.
* Update copyright year.Richard M. Stallman1998-01-211-1/+1
|
* (lisp_data_to_selection_data): Use size_byte.Richard M. Stallman1998-01-091-2/+2
| | | | | (Fx_store_cut_buffer_internal): Use size_byte. (selection_data_to_lisp_data): Use make_multibyte_string.
* (Fx_rotate_cut_buffers_internal): Doc fix.Richard M. Stallman1997-12-281-2/+2
|
* (Fx_disown_selection_internal): Fix type of EVENT.Andreas Schwab1997-11-251-2/+2
|
* (x_handle_selection_request): Use xfree, not free.Karl Heuer1997-11-151-18/+18
| | | | | | (unexpect_property_change, x_get_window_property_as_lisp_data): Ditto. (x_handle_property_notify, receive_incremental_selection): Ditto. (selection_data_to_lisp_data, Fx_get_cut_buffer_internal): Ditto.
* Include buffer.h.Kenichi Handa1997-10-211-15/+21
| | | | | | | (selection_data_to_lisp_data): Do not perform code conversion if the default value of enable-multibyte-characters is nil. (lisp_data_to_selection_data): Likewise. Access the array `charsets' in the correct way.
* (syms_of_xselect): Doc syntax fixes.Richard M. Stallman1997-08-061-8/+8
|
* (Vclipboard_coding_system): New variable.Kenichi Handa1997-08-031-6/+17
| | | | | | | | | (selection_data_to_lisp_data): Decode text by Vclipboard_coding_system. (lisp_data_to_selection_data): Encode text by Vclipboard_coding_system. (syms_of_xselect): Declare clipboard-coding-system as Lisp variable and initialize it.
* (selection_data_to_lisp_data):Richard M. Stallman1997-07-241-2/+3
| | | | Make the vector the right size, when format is 16.
* (selection_data_to_lisp_data): Convert Fmake_vectorRichard M. Stallman1997-07-121-8/+9
| | | | | and Faset arguments to Lisp_Integer. (clean_local_selection_data): Likewise.
* (selection_data_to_lisp_data): Call free instead ofKenichi Handa1997-07-021-1/+1
| | | | xfree.
* (selection_data_to_lisp_data): Change coding systemKenichi Handa1997-06-091-2/+2
| | | | | name to iso-latin-1. (lisp_data_to_selection_data): Likewise.
* (lisp_data_to_selection_data): charsets from `char' to `int.Kenichi Handa1997-05-191-2/+2
|