1. 15 May, 2010 8 commits
    • Eli Zaretskii's avatar
      Avoid crashes when stepping with right-arrow through "^L^L". · 2e9abc3d
      Eli Zaretskii authored
       bidi.c (bidi_paragraph_init): Remove redundant assertion that we are at
       the beginning of a line after call to bidi_find_paragraph_start.
      2e9abc3d
    • Eli Zaretskii's avatar
      Implement bidi-sensitive movement with arrow keys. · d20e1419
      Eli Zaretskii authored
       src/bidi.c (bidi_paragraph_init): Don't leave alone garbage values
       of bidi_it->paragraph_dir.  Call bidi_initialize if needed.
       src/xdisp.c (Fcurrent_bidi_paragraph_direction): New function.
       (syms_of_xdisp): Defsubr it.
       src/cmds.c (Fforward_char, Fbackward_char): Doc fix.
       src/subr.el (right-arrow-command, left-arrow-command): New functions.
       src/bindings.el (global-map): Bind them to right and left arrow keys.
       etc/NEWS: Mention current-bidi-paragraph-direction
      d20e1419
    • Eli Zaretskii's avatar
      Fix "config msdos" step. · dbd3f723
      Eli Zaretskii authored
       src/Makefile.in: Fix MSDOS-related comments.
       msdos/sed3v2.inp (INSTALLABLES): Edit out extra ${EXEEXT} after "emacsclient".
       (emacsserver, timer, wakeup): Remove edit-out commands.
       msdos/sed1v2.inp (MSDOS_OBJ): Add w16select.o.
       (TERMCAP_OBJ): Add termcap.o.
      dbd3f723
    • Eli Zaretskii's avatar
      Fix a typo in msdos/ChangeLog. · 1edbd309
      Eli Zaretskii authored
      1edbd309
    • Glenn Morris's avatar
      Choose dependency of oldxmenu using configure. · 1a82cca9
      Glenn Morris authored
      * configure.in (OLDXMENU_TARGET): New output variable.
      
      * src/Makefile.in (OLDXMENU_TARGET): New, set by configure.
      (really-lwlib, really-oldXMenu): Always define.
      ($OLDXMENU): Depend on $OLDXMENU_TARGET.
      
      * msdos/sed1v2.inp (OLDXMENU_TARGET): Edit to empty.
      * msdos/sed1x.inp (OLDXMENU_TARGET): Edit to really-oldxmenu.
      1a82cca9
    • Glenn Morris's avatar
      If HAVE_X11, also HAVE_X_WINDOWS and HAVE_MENUS. · 3df7b338
      Glenn Morris authored
      * src/Makefile.in: Simplify cpp conditional.
      
      * admin/CPP-DEFINES: Comment.
      3df7b338
    • Glenn Morris's avatar
      Minor NS build fixes. · 2b5f541b
      Glenn Morris authored
      * Makefile.in (install-arch-dep): Update odd NS rule for Emacs version.
      
      * src/Makefile.in (${ns_appdir}): Simplify using umask.
      2b5f541b
    • Glenn Morris's avatar
      Remove references to CVS directories etc in Makefiles. · 02be533b
      Glenn Morris authored
      * Makefile.in (install-arch-indep): Remove references to RCS, CVS,
      and other files that no longer exist.
      
      * leim/Makefile.in (install): Remove references to CVS-related files.
      
      * lisp/Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
      Remove references to CVS, RCS and Old directories.
      
      * src/Makefile.in (${ns_appdir}): Remove references to CVS-related files.
      02be533b
  2. 14 May, 2010 14 commits
  3. 13 May, 2010 7 commits
    • Glenn Morris's avatar
      Unify some conditionals in src/Makefile.in. · 3369c79f
      Glenn Morris authored
      * src/Makefile.in (FONT_DRIVERS): Place with other HAVE_X_WINDOWS stuff.
      (TOOLTIP_SUPPORT): Place with other HAVE_WINDOW_SYSTEM stuff.
      3369c79f
    • Glenn Morris's avatar
      Minor simplification for src/Makefile.in. · d5e982a6
      Glenn Morris authored
      * src/Makefile.in (FONT_DRIVERS): If HAVE_X_WINDOWS is defined,
      HAVE_WINDOW_SYSTEM must be too.
      d5e982a6
    • Glenn Morris's avatar
      Fix ChangeLog typo. · c0a2b70a
      Glenn Morris authored
      c0a2b70a
    • Glenn Morris's avatar
      Remove WINNT_SUPPORT from src/Makefile.in, · 6192e163
      Glenn Morris authored
      * src/Makefile.in (WINNT_SUPPORT): Remove, nt build does not use this file
      but rather makefile.w32-in.
      (lisp): Remove WINNT_SUPPORT.
      6192e163
    • Glenn Morris's avatar
      Let configure set OLDXMENU, LIBXMENU if !HAVE_MENUS. · 472c5d6b
      Glenn Morris authored
      * configure.in (OLDXMENU, LIBXMENU): Set to empty if !HAVE_MENUS.
      
      * src/Makefile.in (OLDXMENU, LIBXMENU) [!HAVE_MENUS]:
      Let configure set these variables (to empty) in this case as well.
      472c5d6b
    • Glenn Morris's avatar
      Remove some unused #define's, previously replaced by variables. · 0116466b
      Glenn Morris authored
      * configure.in (LD_SWITCH_X_SITE, C_SWITCH_X_SITE): Do not define.
      
      * src/Makefile.in (LD_SWITCH_X_SITE): Define as a variable, not via cpp.
      (LIBX_BASE): Use $LD_SWITCH_X_SITE.
      
      * nt/config.nt (LD_SWITCH_X_SITE, C_SWITCH_X_SITE): Remove undefs.
      
      * msdos/sed1v2.inp: Comment.
      0116466b
    • Glenn Morris's avatar
      Define some variables to hold configure's output, for clarity. · 5a903aa9
      Glenn Morris authored
      * src/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 be configure.
      (ALL_CFLAGS, obj, LIBES, temacs${EXEEXT}): Use the above variables.
      
      * msdos/sed1v2.inp (C_SWITCH_X_SYSTEM, C_SWITCH_X_SITE, LIB_STANDARD)
      (FONTCONFIG_CFLAGS, FONTCONFIG_LIBS, FREETYPE_CFLAGS, FREETYPE_LIBS)
      (LIBOTF_CFLAGS, LIBOTF_LIBS, M17N_FLT_CFLAGS, M17N_FLT_LIBS)
      (GNU_OBJC_CFLAGS, GNUSTEP_SYSTEM_LIBRARIES, LIBRESOLV, LIBGPM):
      Edit to empty,
      (LIB_MATH): Edit to -lm.
      (UNEXEC_OBJ): Edit to unexec.o.
      5a903aa9
  4. 12 May, 2010 2 commits
    • Glenn Morris's avatar
      Simplify linker-related logic in src/Makefile.in. · b5457f14
      Glenn Morris authored
      * src/Makefile.in (YMF_PASS_LDFLAGS, LD, LINKER): Simplify the logic.
      (LINKER_WAS_SPECIFIED): Remove.
      b5457f14
    • Glenn Morris's avatar
      Move LIB_GCC from cpp to configure. · 1a0d7c06
      Glenn Morris authored
      * configure.in (LIB_GCC): New output variable.
      
      * src/Makefile.in (LIB_GCC): Set using configure, not cpp.
      (GNULIB_VAR) [!ORDINARY_LINK]: Always set to $LIB_GCC.
      * src/m/arm.h (LIB_GCC) [GNU_LINUX]:
      * src/s/cygwin.h (LIB_GCC):
      * src/s/freebsd.h (LIB_GCC):
      * src/s/gnu-linux.h (LIB_GCC):
      * src/s/msdos.h (LIB_GCC):
      * src/s/netbsd.h (LIB_GCC):
      Move to configure.
      
      * msdos/sed1v2.inp (LIB_GCC): Edit to -Lgcc.
      1a0d7c06
  5. 11 May, 2010 5 commits
  6. 10 May, 2010 3 commits
    • Eli Zaretskii's avatar
      Fix a crash when visiting image files in bidi mode. · ae5e04fa
      Eli Zaretskii authored
       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
       for the details.
      ae5e04fa
    • Glenn Morris's avatar
      Move LIBS_SYSTEM from cpp to configure. · 97efb629
      Glenn Morris authored
      * configure.in (LIBS_SYSTEM): New output variable, replacing cpp.
      
      * lib-src/Makefile.in (LIBS_SYSTEM) [!MSDOS]: Set with configure, not cpp.
      (LIBS_SYSTEM) [MSDOS]: Use MSDOS_LIBS_SYSTEM.
      (NOT_C_CODE): Remove, no longer used.
      (config.h) [!MSDOS]: No longer include.
      (LOADLIBES): Use LIBS_SYSTEM as a variable.
      
      * src/Makefile.in (LIBS_SYSTEM): Set using configure, not cpp.
      (LIBS_SYSTEM) [MSDOS]: Reset with MSDOS_LIBS_SYSTEM.
      (LIBES): Use LIBS_SYSTEM as a variable.
      * src/s/msdos.h (LIBS_SYSTEM): Rename to MSDOS_LIBS_SYSTEM.  Always define.
      * src/s/aix4-2.h (LIBS_SYSTEM):
      * src/s/freebsd.h (LIBS_SYSTEM):
      * src/s/hpux10-20.h (LIBS_SYSTEM):
      * src/s/sol2-6.h (LIBS_SYSTEM):
      * src/s/unixware.h (LIBS_SYSTEM):
      Move to configure.
      
      * msdos/sed1v2.inp, msdos/sed3v2.inp (LIBS_SYSTEM): Edit to empty.
      97efb629
    • Glenn Morris's avatar
      Move MAIL_USE_FLOCK, MAIL_USE_LOCKF, BLESSMAIL_TARGET from cpp to configure. · 7490175b
      Glenn Morris authored
      * configure.in (MAIL_USE_FLOCK, MAIL_USE_LOCKF): New AC_DEFINEs.
      (BLESSMAIL_TARGET): New output variable.
      
      * lib-src/Makefile.in (BLESSMAIL_TARGET): Set with configure, not cpp.
      
      * src/s/aix4-2.h (MAIL_USE_LOCKF):
      * src/s/bsd-common.h (MAIL_USE_FLOCK):
      * src/s/darwin.h (MAIL_USE_FLOCK):
      * src/s/gnu-linux.h (MAIL_USE_FLOCK):
      * src/s/irix6-5.h (MAIL_USE_FLOCK):
      * src/s/template.h (MAIL_USE_FLOCK):
      Move to configure.
      
      * src/s/ms-w32.h: Comment.
      
      * msdos/sed3v2.inp (BLESSMAIL_TARGET): Edit to need-blessmail.
      7490175b
  7. 08 May, 2010 1 commit
    • Jan D's avatar
      Fix bug #6139, text is briefly shown in tool bar on startup. · 4721152c
      Jan D authored
       * 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).
      4721152c