]> code.delx.au - gnu-emacs/blobdiff - src/ChangeLog
* xfaces.c (realize_named_face): Remove vars that are set but not used.
[gnu-emacs] / src / ChangeLog
index a6623803a6e360098636027c1c957d3ab1733845..9c1b17f89962a12d7345e76d275afe5f7ea5058f 100644 (file)
@@ -1,3 +1,73 @@
+2011-04-01  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * xfaces.c (realize_named_face): Remove vars that are set but not used.
+       (map_tty_color) [!defined MSDOS]: Likewise.
+
+       * term.c (tty_write_glyphs): Use size_t; this avoids overflow warning.
+
+       * coding.c: Remove vars that are set but not used.
+       (DECODE_COMPOSITION_RULE): Remove 2nd arg, which is unused.
+       All callers changed.
+       (decode_coding_utf_8, decode_coding_utf_16 decode_coding_emacs_mule):
+       (decode_coding_iso_2022, encode_coding_sjis, encode_coding_big5):
+       (decode_coding_charset): Remove vars that are set but not used.
+
+       * bytecode.c (Fbyte_code) [!defined BYTE_CODE_SAFE]: Remove var
+       that is set but not used.
+
+       * print.c (print_object): Remove var that is set but not used.
+
+       Replace 2 copies of readlink code with 1 gnulib version (Bug#8401).
+       The gnulib version avoids calling malloc in the usual case,
+       and on 64-bit hosts doesn't have some arbitrary 32-bit limits.
+       * fileio.c (Ffile_symlink_p): Use emacs_readlink.
+       * filelock.c (current_lock_owner): Likewise.
+       * lisp.h (READLINK_BUFSIZE, emacs_readlink): New function.
+       * sysdep.c: Include allocator.h, careadlinkat.h.
+       (emacs_no_realloc_allocator): New static constant.
+       (emacs_readlink): New function.
+       * deps.mk (sysdep.o): Depend on ../lib/allocator.h and on
+       ../lib/careadlinkat.h.
+
+2011-03-31  Juanma Barranquero  <lekktu@gmail.com>
+
+       * xdisp.c (redisplay_internal): Fix prototype.
+
+2011-03-31  Eli Zaretskii  <eliz@gnu.org>
+
+       * xdisp.c (SCROLL_LIMIT): New macro.
+       (try_scrolling): Use it when setting scroll_limit.  Limit
+       scrolling to 100 screen lines.
+       (redisplay_window): Even when falling back on "recentering",
+       position point in the window according to scroll-conservatively,
+       scroll-margin, and scroll-*-aggressively variables.  (Bug#6671)
+
+       (try_scrolling): When point is above the window, allow searching
+       as far as scroll_max, or one screenful, to compute vertical
+       distance from PT to the scroll margin position.  This prevents
+       try_scrolling from unnecessarily failing when
+       scroll-conservatively is set to a value slightly larger than the
+       window height.  Clean up the case of PT below the margin at bottom
+       of window: scroll_max can no longer be INT_MAX.  When aggressive
+       scrolling is in use, don't let point enter the opposite scroll
+       margin as result of the scroll.
+       (syms_of_xdisp) <scroll-conservatively>: Document the
+       threshold of 100 lines for never-recentering scrolling.
+
+2011-03-31  Juanma Barranquero  <lekktu@gmail.com>
+
+       * dispextern.h (move_it_by_lines):
+       * xdisp.c (move_it_by_lines): Remove parameter `need_y_p', unused
+       since 2000-12-29T14:24:09Z!gerd@gnu.org.  All callers changed.
+       (message_log_check_duplicate): Remove parameters `prev_bol' and
+       `this_bol', unused since 1998-01-01T02:27:27Z!rms@gnu.org.  All callers changed.
+       (redisplay_internal): Remove parameter `preserve_echo_area',
+       unused since 1999-07-21T21:43:52Z!gerd@gnu.org.  All callers changed.
+
+       * indent.c (Fvertical_motion):
+       * window.c (window_scroll_pixel_based, Frecenter):
+       Don't pass `need_y_p' to `move_it_by_lines'.
+
 2011-03-30  Stefan Monnier  <monnier@iro.umontreal.ca>
 
        * eval.c (struct backtrace): Don't cheat with negative numbers, but do