1. 28 Apr, 2010 6 commits
  2. 27 Apr, 2010 7 commits
    • Glenn Morris's avatar
      Move LIBXTR6 from cpp to autoconf. · 8fdac2c3
      Glenn Morris authored
      * configure.in (LIBXTR6): New output variable.  Move unixware special
      case here from src/s/unixware.h.
      * src/Makefile.in (LIBXTR6): Set with configure, not cpp.
      * src/s/unixware.h (NEED_LIBW): Remove definition.
      * admin/CPP-DEFINES: Remove NEED_LIBW.
    • Glenn Morris's avatar
      Replace LUCID_LIBW, MOTIF_LIBW with TOOLKIT_LIBW. · 986fb647
      Glenn Morris authored
      * configure.in (LUCID_LIBW, MOTIF_LIBW): No longer substitute in Makefiles.
      (TOOLKIT_LIBW): New output variable, replacing LUCID_LIBW/MOTIF_LIBW.
      * src/Makefile.in (LUCID_LIBW, MOTIF_LIBW): Remove, replacing by...
      (TOOLKIT_LIBW): New, set by configure.
      (@X_TOOLKIT_TYPE@): No longer define it.
    • Glenn Morris's avatar
      Move MOTIF_LIBW to autoconf. · c6ea2936
      Glenn Morris authored
      * configure.in (HAVE_MOTIF_2_1): Remove unused variable.
      (LIBXP): No longer substitute in Makefiles.
      (MOTIF_LIBW): New output variable.  Move system-specific settings here
      from src/s files.
      * src/Makefile.in (LIBXP): Remove, since included in MOTIF_LIBW.
      (MOTIF_LIBW): Set with configure, not cpp.
      * s/aix4-2.h (LIB_MOTIF):
      * s/gnu-linux.h (LIB_MOTIF):
      * s/unixware.h (LIB_MOTIF): Move to configure.in.
      * admin/CPP-DEFINES: Remove LIB_MOTIF.
    • Dan Nicolaescu's avatar
      Reduce CPP usage. · ed6281b0
      Dan Nicolaescu authored
      definitions and undefs.  Inline definitions in the only user.
      (ALL_CFLAGS): Substitute C_SWITCH_X_SYSTEM using autoconf.
      * Makefile.in (C_SWITCH_X_SYSTEM): Define using autoconf.
      * Makefile.in (C_SWITCH_X_SYSTEM): Define using autoconf.
      * configure.in (C_SWITCH_X_SYSTEM): Define using autoconf, not cpp.
    • Dan Nicolaescu's avatar
      Reduce CPP usage. · aaa36002
      Dan Nicolaescu authored
      * Makefile.in (LIB_X11_LIB): Remove, inline in the only user.
      (obj): Use autoconf for unexec instead of cpp.
      * configure.in (LIB_X11_LIB): Remove, inline in the only user.
      (unexec): Define unconditionally, all platforms define
      UNEXEC.  AC_SUBST it.
      (UNEXEC_SRC): Remove, unused.
    • Glenn Morris's avatar
      Use $CRT_DIR in more places. · 76cda504
      Glenn Morris authored
      * configure.in (--with-crt-dir): Doc fix (now valid for all platforms).
      (CRT_DIR): On (powerpc64|sparc64)-*-linux-gnu*, default to /usr/lib64.
      On hpux10-20, default to /lib.
      * src/m/amdx86-64.h (START_FILES, LIB_STANDARD): Change the logic around,
      since the defaults (set by the system file) are fine in most cases.
      [GNU_LINUX, __OpenBSD__, __NetBSD__, __APPLE__]: Remove sections.
      * src/m/ibms390x.h (START_FILES, LIB_STANDARD):
      * src/m/macppc.h (START_FILES, LIB_STANDARD) [GNU_LINUX]:
      * src/m/sparc.h (START_FILES, LIB_STANDARD) [__linux__]:
      Remove definitions, since they are set correctly in s/gnu-linux.h.
      * src/s/freebsd.h (START_FILES, LIB_STANDARD):
      * src/s/gnu-linux.h (START_FILES, LIB_STANDARD):
      * src/s/hpux10-20.h (START_FILES):
      * src/s/netbsd.h (START_FILES, LIB_STANDARD, START_FILES_1, END_FILES_1):
      Use $CRT_DIR in place of fixed /usr/lib, /lib directories.
      * src/Makefile.in: Comment.
    • Glenn Morris's avatar
      Replace some more cpp with autoconf. · b678dd8b
      Glenn Morris authored
      * configure.in (LUCID_LIBW, LIBXP, WIDGET_OBJ): New output variables.
      * src/Makefile.in (LIBXP, LUCID_LIBW, WIDGET_OBJ): Set via configure.
      (MOTIF_LIBW): Use $LIBXP.
      (otherobj): Use $WIDGET_OBJ.
  3. 26 Apr, 2010 3 commits
  4. 25 Apr, 2010 3 commits
    • Dan Nicolaescu's avatar
      Remove all NO_ARG_ARRAY uses. · 39e2ad1b
      Dan Nicolaescu authored
      * fns.c (concat2, concat3, nconc2):
      * eval.c (apply1, call1, call2, call3, call4, call5, call6)
      (call7): Remove NO_ARG_ARRAY usage, assume it's always true.
      * m/xtensa.h (NO_ARG_ARRAY):
      * m/template.h (NO_ARG_ARRAY):
      * m/sparc.h (NO_ARG_ARRAY):
      * m/sh3.h (NO_ARG_ARRAY):
      * m/mips.h (NO_ARG_ARRAY):
      * m/macppc.h (NO_ARG_ARRAY):
      * m/iris4d.h (NO_ARG_ARRAY):
      * m/intel386.h (NO_ARG_ARRAY):
      * m/ibms390x.h (NO_ARG_ARRAY):
      * m/ibms390.h (NO_ARG_ARRAY):
      * m/ibmrs6000.h (NO_ARG_ARRAY):
      * m/ia64.h (NO_ARG_ARRAY):
      * m/hp800.h (NO_ARG_ARRAY):
      * m/arm.h (NO_ARG_ARRAY):
      * m/amdx86-64.h (NO_ARG_ARRAY):
      * m/alpha.h (NO_ARG_ARRAY): Remove definition.
    • Eli Zaretskii's avatar
      Move code that bidi-iterates out of display property to a separate function. · f538fcec
      Eli Zaretskii authored
       xdisp.c (iterate_out_of_display_property): New function, body from pop_it.
       (pop_it): Use it.
    • Eli Zaretskii's avatar
      Fix crash with bidi display on the last empty line (bug#6030). · adf4f59c
      Eli Zaretskii authored
       xdisp.c (display_line): Don't assume 2nd call to
       get_next_display_element cannot return zero.
  5. 24 Apr, 2010 6 commits
    • Glenn Morris's avatar
      Minor simplications for src/m/amdx86-64.h. · dfbbda83
      Glenn Morris authored
      * m/amdx86-64.h (START_FILES, LIB_STANDARD) [__OpenBSD__]:
      For clarity, revert to using fixed /usr/lib rather than $CRT_DIR.
      (START_FILES, LIB_STANDARD) [__FreeBSD__]: Merge into the generic case,
      since CRT_DIR defaults to /usr/lib.  Suggested by Dan Nicolaescu.
    • Juanma Barranquero's avatar
      Remove conflict markers. · 58ccf243
      Juanma Barranquero authored
    • Eli Zaretskii's avatar
      Fix cursor motion at end of line that ends with a composite character. · a49884a6
      Eli Zaretskii authored
       xdisp.c (display_line): Use `reseat' instead of `reseat_1', and
       use `get_next_display_element' and `set_iterator_to_next' to
       advance to the next character, when looking for the character that
       begins the next row.
    • Eli Zaretskii's avatar
      Fix GDB startup with src/.gdbinit. · 2d4018aa
      Eli Zaretskii authored
       .gdbinit: Add a "set Fmake_symbol" line to force GDB load the
       definition of "struct Lisp_Symbol".
    • Eli Zaretskii's avatar
      Fix GDB startup with .gdbinit. · 76db6fcc
      Eli Zaretskii authored
       .gdbinit: Add a "set Fmake_symbol" line to force GDB to load the
       definition of "struct Lisp_Symbol".
    • Glenn Morris's avatar
      Close bug#5655. · 70eab5c1
      Glenn Morris authored
      * configure.in (CRT_DIR): New output variable.
      (--with-crt-dir): New option.  (Bug#5655)
      (HAVE_LIB64_DIR): Remove.
      * src/Makefile.in (CRT_DIR): New variable, set by configure.
      * src/m/amdx86-64.h, m/ibms390x.h (START_FILES, LIB_STANDARD):
      Use $CRT_DIR rather than HAVE_LIB64_DIR.  (Bug#5655)
  6. 23 Apr, 2010 13 commits
  7. 22 Apr, 2010 1 commit
    • Jan Djärv's avatar
      Fix Bug#6001. · a0d0b563
      Jan Djärv authored
      * xsettings.c (read_and_apply_settings): Check if current_font is
        NULL before strcmp (Bug#6001).
  8. 21 Apr, 2010 1 commit
    • Dan Nicolaescu's avatar
      Clean up HP-UX files. · 56bae7c7
      Dan Nicolaescu authored
      (LDAV_SYMBOL, index, rindex): Move definitions only used in HP-UX ...
      * s/hpux10-20.h: ... to the only user, here.