]> code.delx.au - gnu-emacs/blobdiff - src/ChangeLog
Fix typo in date
[gnu-emacs] / src / ChangeLog
index c6ab6985ed0dde2bfcd378d91e8f95da50541b42..57663619b6a592f05ff1a8ced2b6d0597fac695d 100644 (file)
@@ -1,3 +1,85 @@
+2005-02-15  Benjamin Riefenstahl  <Benjamin.Riefenstahl@epost.de>
+
+       * 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. 
+
+       * s/ms-w32.h: Guard MSC-specific #pragmas with an #ifdef.
+
+2005-02-16  Kim F. Storm  <storm@cua.dk>
+
+       * xdisp.c (BUFFER_POS_REACHED_P): Return true if pos reached and
+       at end of display vector.
+
+2005-02-15  Richard M. Stallman  <rms@gnu.org>
+
+       * xdisp.c (get_next_display_element): Fix escape-glyph criterion
+       for mode and header lines.
+
+       * lread.c (syms_of_lread) <user-init-file>: Doc fix.
+
+       * keymap.h (describe_map_tree): Change decl.
+
+       * keyboard.c (command_loop_1): Always use safe_run_hooks
+       to run Qdeferred_action_function.
+
+       * keymap.c (describe_map_tree): New arg MENTION_SHADOW.  Calls changed.
+       (describe_map, describe_vector): Likewise.  When it's 1,
+       don't omit shadowed bindings, instead mark them as shadowed.
+
+       * doc.c (Fsubstitute_command_keys): Compute list of shadowing maps
+       for describe_map_tree.  Pass 1 for MENTION_SHADOW.
+
+       * data.c (Fsetq_default): Allow no arg case.
+
+2005-02-14  Kenichi Handa  <handa@m17n.org>
+
+       * coding.c (encode_coding_string): Always return a unibyte string.
+       If NOCOPY is nonzero and there's no need of encoding, make STR
+       unibyte directly.
+
+       * xselect.c (lisp_data_to_selection_data): If OBJ is a non-ASCII
+       multibyte string, signal an error instead of aborting.
+
 2005-02-12  Dan Nicolaescu  <dann@ics.uci.edu>
 
        * keyboard.c: If HAVE_FCNTL_H include fcntl.h.