Implement bidi-sensitive movement with arrow keys.
[bpt/emacs.git] / src / ChangeLog
index 32044fc..32413ae 100644 (file)
@@ -1,5 +1,218 @@
+2010-05-15  Eli Zaretskii  <eliz@gnu.org>
+
+       * bidi.c (bidi_paragraph_init): Don't leave alone garbage values
+       of bidi_it->paragraph_dir.  Call bidi_initialize if needed.
+
+       * xdisp.c (Fcurrent_bidi_paragraph_direction): New function.
+       (syms_of_xdisp): Defsubr it.
+
+       * Makefile.in: Fix MSDOS-related comments.
+
+2010-05-15  Glenn Morris  <rgm@gnu.org>
+
+       * Makefile.in (OLDXMENU_TARGET): New, set by configure.
+       (really-lwlib, really-oldXMenu): Always define.
+       ($OLDXMENU): Depend on $OLDXMENU_TARGET.
+
+       * Makefile.in: Simplify cpp conditional.
+
+       * Makefile.in (${ns_appdir}): Simplify using umask.
+
+       * Makefile.in (${ns_appdir}): Remove references to CVS-related files.
+
+2010-05-14  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * eval.c (specbind): Remove left-over duplicate test.
+       Disallow let-binding frame-local vars.  Add comment.
+
+2010-05-14  Eli Zaretskii  <eliz@gnu.org>
+
+       Make the cache of bidi iterator states dynamically allocated.
+       * bidi.c (bidi_cache_shrink): New function.
+       (bidi_init_it): Call it.
+       (bidi_cache_iterator_state): Enlarge the cache if needed.
+
+       * bidi.c (bidi_move_to_visually_next): Rename from
+       bidi_get_next_char_visually.  All callers changed.
+
+2010-05-14  Kenichi Handa  <handa@m17n.org>
+
+       * dispextern.h (struct composition_it): New member reversed_p.
+
+       * composite.c (composition_compute_stop_pos): Search backward if
+       ENDPOS < CHARPOS.
+       (composition_reseat_it): Handle the case that ENDPOS < CHARPOS.
+       Set CMP_IT->reversed_p.
+       (composition_update_it): Pay attention to CMP_IT->reversed_p.
+
+       * xdisp.c (set_iterator_to_next):
+       Call composition_compute_stop_pos with negative ENDPOS if we are
+       scanning backward.  Call composition_compute_stop_pos if scan
+       direction is changed.
+       (next_element_from_buffer): Call composition_compute_stop_pos with
+       negative ENDPOS if we are scanning backward.
+       (next_element_from_composition): Pay attention to
+       IT->cmp_it.reversed_p.
+
+2010-05-14  Kenichi Handa  <handa@m17n.org>
+
+       * font.c (font_range): Return the range for the font found at
+       first.
+
+2010-05-14  Glenn Morris  <rgm@gnu.org>
+
+       * Makefile.in (ns_appdir, ns_appbindir, ns_appsrc): Always define.
+
+       * Makefile.in (mktime, X11, register): Move undefs to configure.
+
+       * Makefile.in (MSDOS_OBJ): Default to empty, let msdos scripts set it.
+       (MSDOS_X_OBJ): New variable.
+       (MSDOS_SUPPORT_REAL): New constant.
+       (MSDOS_SUPPORT): Set as a variable, not with cpp.
+       (obj): Use MSDOS_X_OBJ.
+       (lisp): Use MSDOS_SUPPORT as a variable.
+
+       * Makefile.in (REAL_MOUSE_SUPPORT): New constant.
+       (GPM_MOUSE_SUPPORT): Now it's a constant.
+       (MOUSE_SUPPORT, TOOLTIP_SUPPORT, WINDOW_SUPPORT): Set with configure,
+       not cpp.
+
+       * Makefile.in (@NS_IMPL_GNUSTEP_INC@): Use in place of #ifdef.
+       (ns_appresdir): Remove, unused.
+
+       * Makefile.in (SHELL): Move outside cpp section.
+
+       * s/netbsd.h (AMPERSAND_FULL_NAME): Remove (defined in AH_BOTTOM).
+
+2010-05-13  Glenn Morris  <rgm@gnu.org>
+
+       * Makefile.in (FONT_DRIVERS): Place with other HAVE_X_WINDOWS stuff.
+       (TOOLTIP_SUPPORT): Place with other HAVE_WINDOW_SYSTEM stuff.
+
+       * Makefile.in (FONT_DRIVERS): If HAVE_X_WINDOWS is defined,
+       HAVE_WINDOW_SYSTEM must be too.
+
+       * Makefile.in (WINNT_SUPPORT): Remove, nt build does not use this file.
+       (lisp): Remove WINNT_SUPPORT.
+
+       * Makefile.in (OLDXMENU, LIBXMENU) [!HAVE_MENUS]:
+       Let configure set these variables (to empty) in this case as well.
+
+       * Makefile.in (LD_SWITCH_X_SITE): Define as a variable, not via cpp.
+       (LIBX_BASE): Use $LD_SWITCH_X_SITE.
+
+       * Makefile.in (C_SWITCH_X_SYSTEM, C_SWITCH_X_SITE, LIB_STANDARD)
+       (LIB_MATH, FONTCONFIG_CFLAGS, FONTCONFIG_LIBS, FREETYPE_CFLAGS)
+       (FREETYPE_LIBS, LIBOTF_CFLAGS, LIBOTF_LIBS, M17N_FLT_CFLAGS)
+       (M17N_FLT_LIBS, GNU_OBJC_CFLAGS, GNUSTEP_SYSTEM_LIBRARIES, LIBGPM)
+       (LIBRESOLV, UNEXEC_OBJ): For clarity, define variables to hold
+       the values output by configure.
+       (ALL_CFLAGS, obj, LIBES, temacs${EXEEXT}): Use the above variables.
+
+2010-05-12  Glenn Morris  <rgm@gnu.org>
+
+       * Makefile.in (YMF_PASS_LDFLAGS, LD, LINKER): Simplify the logic.
+       (LINKER_WAS_SPECIFIED): Remove.
+
+       * Makefile.in (LIB_GCC): Set using configure, not cpp.
+       (GNULIB_VAR) [!ORDINARY_LINK]: Always set to $LIB_GCC.
+       * m/arm.h (LIB_GCC) [GNU_LINUX]:
+       * s/cygwin.h (LIB_GCC):
+       * s/freebsd.h (LIB_GCC):
+       * s/gnu-linux.h (LIB_GCC):
+       * s/msdos.h (LIB_GCC):
+       * s/netbsd.h (LIB_GCC):
+       Move to configure.
+
+2010-05-11  Karel Klic  <kklic@redhat.com>
+
+       * ftfont.c: Fix incorrect parentheses of #if condition for
+       definining M17N_FLT_USE_NEW_FEATURE.
+
+2010-05-11  Glenn Morris  <rgm@gnu.org>
+
+       * Makefile.in (LIBS_SYSTEM) [MSDOS]: Do not reset.
+       * s/msdos.h (MSDOS_LIBS_SYSTEM): Remove.
+
+2010-05-10  Eli Zaretskii  <eliz@gnu.org>
+
+       * xdisp.c (init_iterator): Don't turn on bidi reordering in
+       unibyte buffers.  See
+       http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00263.html.
+
+2010-05-10  Glenn Morris  <rgm@gnu.org>
+
+       * Makefile.in (LIBS_SYSTEM): Set using configure, not cpp.
+       (LIBS_SYSTEM) [MSDOS]: Reset with MSDOS_LIBS_SYSTEM.
+       (LIBES): Use LIBS_SYSTEM as a variable.
+       * s/msdos.h (LIBS_SYSTEM): Rename to MSDOS_LIBS_SYSTEM.  Always define.
+       * s/aix4-2.h (LIBS_SYSTEM):
+       * s/freebsd.h (LIBS_SYSTEM):
+       * s/hpux10-20.h (LIBS_SYSTEM):
+       * s/sol2-6.h (LIBS_SYSTEM):
+       * s/unixware.h (LIBS_SYSTEM):
+       Move to configure.
+
+       * s/aix4-2.h (MAIL_USE_LOCKF):
+       * s/bsd-common.h (MAIL_USE_FLOCK):
+       * s/darwin.h (MAIL_USE_FLOCK):
+       * s/gnu-linux.h (MAIL_USE_FLOCK):
+       * s/irix6-5.h (MAIL_USE_FLOCK):
+       * s/template.h (MAIL_USE_FLOCK):
+       Move to configure.
+
+2010-05-08  Chong Yidong  <cyd@stupidchicken.com>
+
+       * Version 23.2 released.
+
+2010-05-08  Andreas Schwab  <schwab@linux-m68k.org>
+
+       * composite.c (autocmp_chars): Save point as marker before calling
+       auto-composition-function (Bug#5984).
+
+       * lisp.h (restore_point_unwind): Add prototype.
+
+       * fileio.c (restore_point_unwind): Remove static attribute.
+
+2010-05-08  Kenichi Handa  <handa@m17n.org>
+
+       * ftfont.c (M17N_FLT_USE_NEW_FEATURE): Define it if we can use the
+       new feature of libotf and m17n-flt.
+       (ftfont_check_otf) [M17N_FLT_USE_NEW_FEATURE]:
+       Call OTF_check_features even if no specific feature is given.
+       (PACK_OTF_TAG) [M17N_FLT_USE_NEW_FEATURE]: New macro.
+       (ftfont_drive_otf) [M17N_FLT_USE_NEW_FEATURE]: Handle the case
+       that OUT is NULL.  Use OTF_drive_gsub_with_log and
+       OTF_drive_gpos_with_log instead of OTF_drive_gsub and
+       OTF_drive_gpos.
+       (ftfont_try_otf) [M17N_FLT_USE_NEW_FEATURE]: New function.
+       (ftfont_shape_by_flt) [M17N_FLT_USE_NEW_FEATURE]:
+       Setup mflt_enable_new_feature and mflt_try_otf.
+
+2010-05-08  Jan Djärv  <jan.h.d@swipnet.se>
+
+       * xsettings.c (Ftool_bar_get_system_style): Correct comment.
+
+       * gtkutil.c (xg_pack_tool_bar): Change show_all to show for handle
+       box and toolbar (Bug #6139).
+       (xg_create_tool_bar): Remove comment (Bug #6139).
+       (xg_make_tool_item): Remove gtk_widget_show_all (Bug #6139).
+       (xg_show_toolbar_item): Add gtk_widget_show for weventbox (Bug #6139).
+
+2010-05-08  Juanma Barranquero  <lekktu@gmail.com>
+
+       * makefile.w32-in ($(BLD)/eval.$(O), $(BLD)/w32fns.$(O)):
+       Update dependencies.
+
+2010-05-08  Eli Zaretskii  <eliz@gnu.org>
+
+       * fringe.c (update_window_fringes): Set up truncation bitmaps for
+       R2L lines.
+
 2010-05-08  Glenn Morris  <rgm@gnu.org>
 
+       * Makefile.in (THIS_IS_MAKEFILE): Remove, unused.
+
        * Makefile.in (LIBS_TERMCAP): Set with configure, not cpp.
        (TERMCAP_OBJ): New, set by configure, replacing termcapobj.
        (termcapobj): Replace with TERMCAP_OBJ.
        (Frename_file): Preserve selinux context when renaming by copy-file.
 
 2010-04-21  Juanma Barranquero  <lekktu@gmail.com>
-           Eli Zaretskii  <eliz@gnu.org>
+            Eli Zaretskii  <eliz@gnu.org>
 
        Don't depend on cm.c or termcap.c on Windows, use stubs.
        * makefile.w32-in (OBJ1): Remove cm.$(O) and termcap.$(O).
        <after-change-functions>: Reflow docstrings.
 
 2008-08-04  Adrian Robert  <Adrian.B.Robert@gmail.com>
-           Ken Raeburn  <raeburn@gnu.org>
+            Ken Raeburn  <raeburn@gnu.org>
 
        Dock menu customization, based on a patch by Ken Raeburn, plus some
        other fixes.
        batch-compiling for bootstrap).
 
 2008-07-15  Chris Hall  <chris@web.workinglinux.com>  (tiny change)
-           YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
+            YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
 
        (make_initial_frame): Call init_frame_faces(f) in CANNOT_DUMP case --
        fix crash due to different init order.
        (USG_SHARED_LIBRARIES): Remove duplicate definition.
 
 2008-06-26  Juanma Barranquero  <lekktu@gmail.com>
-           Eli Zaretskii  <eliz@gnu.org>
+            Eli Zaretskii  <eliz@gnu.org>
 
        * makefile.w32-in (LOCAL_FLAGS):
        Don't include WINDOWSNT, DOS_NT and _UCHAR_T.
        the property of LFACE_FONT of LFACE (if any).
 
 2008-06-21  Seiji Zenitani  <zenitani@mac.com>
-           Ryo Yoshitake  <ryo@shiftmode.net>
+            Ryo Yoshitake  <ryo@shiftmode.net>
 
        * xterm.c (x_set_frame_alpha): Add x_catch_errors for bug#437.
 
        * xterm.c (x_set_frame_alpha): Move declarations before statements.
 
 2008-05-21  Seiji Zenitani  <zenitani@mac.com>
-           Ryo Yoshitake  <ryo@shiftmode.net>
+            Ryo Yoshitake  <ryo@shiftmode.net>
 
        * frame.c (Qalpha): Add a new frame parameter `alpha'.
        (Vframe_alpha_lower_limit): New variable.