summaryrefslogtreecommitdiff
path: root/src/xselect.c
Commit message (Collapse)AuthorAgeFilesLines
* (QUTF8_STRING): New variable.Kenichi Handa2002-08-141-43/+21
| | | | | | | | | | | | | (symbol_to_x_atom): Pay attention to QUTF8_STRING. (x_atom_to_symbol): Likewise. (x_get_local_selection): New argument local_request. If it is nonzero, call handler_fn with the second arg nil. (x_handle_selection_request): Call x_get_local_selection with local_request 0. (lisp_data_to_selection_data): Don't encode the string here. (Fx_get_selection_internal): Call x_get_local_selection with local_request 1. (syms_of_xselect): Intern and staticpro QUTF8_STRING.
* Most uses of XSTRING combined with STRING_BYTES or indirection changed toKen Raeburn2002-07-151-8/+8
| | | | | SCHARS, SBYTES, STRING_INTERVALS, SREF, SDATA; explicit size_byte references left unchanged for now.
* Use macro SPECPDL_INDEX.Juanma Barranquero2002-07-111-2/+2
|
* Rename BINDING_STACK_SIZE to SPECPDL_INDEX.Juanma Barranquero2002-07-101-1/+1
|
* (selection_data_to_lisp_data): Disable composition handling.Kenichi Handa2002-06-241-0/+4
|
* (lisp_data_to_selection_data): Fix last change:Sam Steingold2002-06-071-39/+39
| | | | *data_ret is not a Lisp string, while unibyte_string is.
* (lisp_data_to_selection_data): Fix last change: set size_ret.Eli Zaretskii2002-06-071-0/+1
|
* (lisp_data_to_selection_data): If the requested typeEli Zaretskii2002-06-051-3/+21
| | | | | is STRING, call string_make_unibyte to encode the selected text as a string.
* (lisp_data_to_selection_data): Always set selectionEli Zaretskii2002-05-311-9/+1
| | | | type as string if x_encode_text returns streingp non-NULL.
* * 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
|