mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-02 21:52:04 -08:00
* w32select.c: Summary: Thorough rework to implement Unicode
clipboard operations and delayed rendering.
Drop last_clipboard_text and related code, keep track of
ownership via clipboard_owner instead. Drop old #if0
sections.
(DEFAULT_LCID, ANSICP, OEMCP, QUNICODE, QANSICP, QOEMCP)
(clipboard_owner, modifying_clipboard, cfg_coding_system)
(cfg_codepage, cfg_lcid, cfg_clipboard_type, current_text)
(current_coding_system, current_requires_encoding)
(current_num_nls, current_clipboard_type, current_lcid): New
static variables.
(convert_to_handle_as_ascii, convert_to_handle_as_coded)
(render, render_all, run_protected, lisp_error_handler)
(owner_callback, create_owner, setup_config)
(enum_locale_callback, cp_from_locale, coding_from_cp): New
local functions.
(term_w32select, globals_of_w32select): New global functions.
(Fw32_set_clipboard_data): Ignore parameter FRAME, use
clipboard_owner instead. Use delayed rendering and provide
all text formats. Provide CF_LOCALE if necessary.
(Fw32_get_clipboard_data): Handle CF_UNICODETEXT and
CF_LOCALE. Fall back to CF_TEXT, if CF_UNICODETEXT is not
available. Force DOS line-ends for decoding.
(Fx_selection_exists_p): Handle CF_UNICODETEXT.
(syms_of_w32select): Init and register new variables.
* w32.h: Add prototypes for globals_of_w32select and
term_w32select. Make the neighboring K&R declarations into
prototypes, too.
* emacs.c: Include w32.h to get function prototypes.
(main): Call globals_of_w32select.
* w32.c (term_ntproc): Call term_w32select.
* mule-cmds.el (set-locale-environment): Remove call to
set-selection-coding-system on Windows.
* s/ms-w32.h: Guard MSC-specific #pragmas with an #ifdef.
|
||
|---|---|---|
| .. | ||
| 386-ix.h | ||
| 386bsd.h | ||
| aix3-1.h | ||
| aix3-2-5.h | ||
| aix3-2.h | ||
| aix4-1.h | ||
| aix4-2.h | ||
| aix4.h | ||
| bsd4-1.h | ||
| bsd4-2.h | ||
| bsd4-3.h | ||
| bsd386.h | ||
| bsdos2-1.h | ||
| bsdos2.h | ||
| bsdos3.h | ||
| bsdos4.h | ||
| cxux.h | ||
| cxux7.h | ||
| cygwin.h | ||
| darwin.h | ||
| dgux.h | ||
| dgux4.h | ||
| dgux5-4-3.h | ||
| dgux5-4r2.h | ||
| domain.h | ||
| esix.h | ||
| esix5r4.h | ||
| freebsd.h | ||
| gnu-linux.h | ||
| gnu.h | ||
| hiuxmpp.h | ||
| hiuxwe2.h | ||
| hpux.h | ||
| hpux8.h | ||
| hpux9-x11r4.h | ||
| hpux9.h | ||
| hpux9shr.h | ||
| hpux9shxr4.h | ||
| hpux10-20.h | ||
| hpux10.h | ||
| hpux11.h | ||
| iris3-5.h | ||
| iris3-6.h | ||
| irix3-3.h | ||
| irix4-0.h | ||
| irix5-0.h | ||
| irix5-2.h | ||
| irix6-0.h | ||
| irix6-5.h | ||
| isc2-2.h | ||
| isc3-0.h | ||
| isc4-0.h | ||
| isc4-1.h | ||
| lynxos.h | ||
| mach-bsd4-3.h | ||
| ms-w32.h | ||
| msdos.h | ||
| netbsd.h | ||
| newsos5.h | ||
| newsos6.h | ||
| nextstep.h | ||
| openbsd.h | ||
| osf1.h | ||
| osf5-0.h | ||
| ptx.h | ||
| ptx4-2.h | ||
| ptx4.h | ||
| README | ||
| riscix1-1.h | ||
| riscix12.h | ||
| riscos5.h | ||
| rtu.h | ||
| sco4.h | ||
| sco5.h | ||
| sol2-3.h | ||
| sol2-4.h | ||
| sol2-5.h | ||
| sol2-6.h | ||
| sol2.h | ||
| sunos4-0.h | ||
| sunos4-1.h | ||
| sunos4shr.h | ||
| sunos413.h | ||
| template.h | ||
| ultrix4-3.h | ||
| umax.h | ||
| umips.h | ||
| unipl5-2.h | ||
| unixware.h | ||
| usg5-0.h | ||
| usg5-2-2.h | ||
| usg5-2.h | ||
| usg5-3.h | ||
| usg5-4-2.h | ||
| usg5-4-3.h | ||
| usg5-4.h | ||
| ux4800.h | ||
| uxpds.h | ||
| uxpv.h | ||
| vms.h | ||
| vms4-0.h | ||
| vms4-2.h | ||
| vms4-4.h | ||
| vms5-5.h | ||
| windows95.h | ||
| xenix.h | ||
This directory contains C header files containing operating-system-specific definitions. Each file describes a particular operating system. The emacs configuration script edits ../config.h to include the appropriate one of these files, and then each emacs source file includes config.h. template.h is a generic template for system descriptions; it describes the parameters a system file can specify.