1. 01 Oct, 2011 4 commits
  2. 30 Sep, 2011 9 commits
    • Paul Eggert's avatar
      * buffer.h (struct buffer): Use time_t, not int, for a time stamp. · 4222c55d
      Paul Eggert authored
      This fixes a Y2038 bug on 64-bit hosts.
      * buffer.c (reset_buffer):
      * fileio.c (Fdo_auto_save, Fset_buffer_auto_saved)
      (Fclear_buffer_auto_save_failure):
      Use 0, not -1, to represent an unset failure time, since time_t
      might not be signed.
      4222c55d
    • Glenn Morris's avatar
    • Paul Eggert's avatar
      Remove dependency on glibc malloc internals. · f701dc2a
      Paul Eggert authored
      * alloc.c (XMALLOC_OVERRUN_CHECK_OVERHEAD, XMALLOC_OVERRUN_CHECK_SIZE):
      Move back here from lisp.h, but with their new implementations.
      (XMALLOC_BASE_ALIGNMENT, COMMON_MULTIPLE, XMALLOC_HEADER_ALIGNMENT)
      (XMALLOC_OVERRUN_SIZE_SIZE): Move these new lisp.h macros here.
      * charset.c (charset_table_init): New static var.
      (syms_of_charset): Use it instead of xmalloc.  This removes a
      dependency on glibc malloc internals.  See Eli Zaretskii's comment in
      <http://lists.gnu.org/archive/html/emacs-devel/2011-09/msg00815.html>.
      * lisp.h (XMALLOC_OVERRUN_CHECK_OVERHEAD, XMALLOC_OVERRUN_CHECK_SIZE):
      Move back to alloc.c.
      (XMALLOC_BASE_ALIGNMENT, COMMON_MULTIPLE, XMALLOC_HEADER_ALIGNMENT)
      (XMALLOC_OVERRUN_SIZE_SIZE): Move to alloc.c.
      f701dc2a
    • Martin Rudalics's avatar
      Fix bug number in ChangeLog entry. · cbc5ee22
      Martin Rudalics authored
      cbc5ee22
    • Martin Rudalics's avatar
      Insert initial-scratch-message before displaying *scratch*. (Bug#9636) · 199e4c7e
      Martin Rudalics authored
      * startup.el (command-line-1): Fix last fix by inserting
      initial-scratch-message into *scratch* before displaying it.
      (Bug#9626) and (Bug#9636)
      199e4c7e
    • Jan Djärv's avatar
      * nsterm.m (windowDidResize): Call x_set_window_size only when · 9ceebf39
      Jan Djärv authored
      ns_in_resize is true.  Otherwise set pixelwidth/height and
      call change_frame_size.
      
      Fixes: debbugs:9628
      9ceebf39
    • Eli Zaretskii's avatar
      src/ChangeLog: Minor typos fixed. · 04c70788
      Eli Zaretskii authored
      04c70788
    • Paul Eggert's avatar
      Port --enable-checking=all to Fedora 14 x86-64. · 3930c88b
      Paul Eggert authored
      * charset.c (syms_of_charset): Also account for glibc malloc's
      internal overhead when calculating the initial malloc maximum.
      3930c88b
    • Paul Eggert's avatar
      Port --enable-checking=all to Fedora 14 x86. · cb993c58
      Paul Eggert authored
      * alloc.c (XMALLOC_OVERRUN_CHECK_OVERHEAD, XMALLOC_OVERRUN_CHECK_SIZE):
      Move to lisp.h.
      (xmalloc_put_size, xmalloc_get_size, overrun_check_malloc)
      (overrun_check_realloc, overrun_check_free):
      Use XMALLOC_OVERRUN_SIZE_SIZE, not sizeof (size_t).
      That way, xmalloc returns a properly-aligned pointer even if
      XMALLOC_OVERRUN_CHECK is defined.  The old debugging code happened
      to align OK on typical 64-bit hosts, but not on Fedora 14 x86.
      * charset.c (syms_of_charset): Take XMALLOC_OVERRUN_CHECK_OVERHEAD
      into account when calculating the initial malloc maximum.
      * lisp.h (XMALLOC_OVERRUN_CHECK_OVERHEAD, XMALLOC_OVERRUN_CHECK_SIZE):
      Move here from alloc.c, so that charset.c can use it too.
      Properly align; the old code wasn't right for common 32-bit hosts
      when configured with --enable-checking=all.
      (XMALLOC_BASE_ALIGNMENT, COMMON_MULTIPLE, XMALLOC_HEADER_ALIGNMENT)
      (XMALLOC_OVERRUN_SIZE_SIZE): New macros.
      cb993c58
  3. 29 Sep, 2011 10 commits
    • Eli Zaretskii's avatar
      Add a few more MS-DOS specific files to .bzrignore. · 5f91c1e5
      Eli Zaretskii authored
       .bzrignore: Add lib/SYS, lib/alloca.in-h, lib/signal.in-h.
      5f91c1e5
    • Eli Zaretskii's avatar
      Fix bug #9607 with vertical motion when auto-hscroll-mode is disabled. · fe5f08dd
      Eli Zaretskii authored
       lisp/simple.el (line-move): If auto-hscroll-mode is disabled and the
       window is hscrolled, move by logical lines.
       (line-move-visual): Update the doc string to the above effect.
      fe5f08dd
    • Eli Zaretskii's avatar
      Fix ChangeLog entry for the last commit. · e785f2ec
      Eli Zaretskii authored
      e785f2ec
    • Eli Zaretskii's avatar
      Fix the MSDOS build due to recent changes. · 68b98f17
      Eli Zaretskii authored
       msdos/mainmake.v2 (boot): Condition the value on the existence of
       autogen/README, not admin/admin.el, since the latter is now part
       of the release tarball.
       (install): Don't copy lib-src/fns.el, as that file is no longer
       generated in that directory.
       msdos/sed1v2.inp (LIB_PTHREAD, LIB_PTHREAD_SIGMASK): Edit to empty.
       (SETTINGS_CFLAGS, SETTINGS_LIBS): Edit these instead of
       GCONF_CFLAGS and GCONF_LIBS.
       msdos/sedlibmk.inp (ALLOCA_H, AR, ARFLAGS, GNULIB_CHDIR, GNULIB_DUP)
       (GNULIB_FDATASYNC, GNULIB_FDOPEN, GNULIB_FSTAT, GNULIB_PCLOSE)
       (GNULIB_PTHREAD_SIGMASK, GNULIB_RAISE, GNULIB_SIGACTION)
       (GNULIB_SIGPROCMASK, GNULIB_SIGNAL_H_SIGPIPE, HAVE_FDATASYNC)
       (HAVE_PCLOSE, HAVE_POPEN, HAVE_POSIX_SIGNALBLOCKING)
       (HAVE_PTHREAD_SIGMASK, HAVE_RAISE, HAVE_SIGACTION)
       (HAVE_SIGHANDLER_T, HAVE_SIGINFO_T, HAVE_SIGSET_T)
       (HAVE_STRUCT_SIGACTION_SA_SIGACTION)
       (HAVE_TYPE_VOLATILE_SIG_ATOMIC_T, LIB_PTHREAD)
       (LIB_PTHREAD_SIGMASK, NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H)
       (NEXT_SIGNAL_H, REPLACE_FDOPEN, REPLACE_PTHREAD_SIGMASK)
       (REPLACE_RAISE): New edits.
       (gl_LIBOBJS): Remove md5.o, filemode.o, and sha1.o.  Add
       pthread_sigmask.o.
       (@GL_GENERATE_ALLOCA_H_TRUE@, @GL_GENERATE_ALLOCA_H_FALSE@): Edit
       to comment out unneeded lines.
       (warn-on-use.h): Edit the recipe commands to work with DJGPP
       without requiring a Unixy shell.
       msdos/inttypes.h (strtoimax) [DJGPP < 2.04]: New macro.
       msdos/sed2v2.inp (HAVE_ALLOCA, HAVE_DECL_STRTOLL, HAVE_DECL_STRTOIMAX)
       (HAVE_STRTOLL, HAVE_SIGSET_T, HAVE_SNPRINTF): New edits.
      
       .bzrignore: Add ./GNUmakefile.unix.
       config.bat: Rename GNUmakefile, so it is not run on MS-DOS.
       Rename signal.in.h and alloca.in.h.
      
       src/sysdep.c (snprintf) [EOVERFLOW]: If EOVERFLOW is not defined,
       use EDOM.
      68b98f17
    • Eli Zaretskii's avatar
      7cc013b5
    • Eli Zaretskii's avatar
      Fix the MSDOS build. · 31bed486
      Eli Zaretskii authored
       msdos/mainmake.v2 (boot): Condition the value on the existence of
       autogen/README, not admin/admin.el, since the latter is now part
       of the release tarball.
       (install): Don't copy lib-src/fns.el, as that file is no longer
       generated in that directory.
       msdos/sed1v2.inp (LIB_PTHREAD, LIB_PTHREAD_SIGMASK): Edit to empty.
       (SETTINGS_CFLAGS, SETTINGS_LIBS): Edit these instead of
       GCONF_CFLAGS and GCONF_LIBS.
       msdos/sedlibmk.inp (ALLOCA_H, AR, ARFLAGS, GNULIB_CHDIR, GNULIB_DUP)
       (GNULIB_FDATASYNC, GNULIB_FDOPEN, GNULIB_FSTAT, GNULIB_PCLOSE)
       (GNULIB_PTHREAD_SIGMASK, GNULIB_RAISE, GNULIB_SIGACTION)
       (GNULIB_SIGPROCMASK, GNULIB_SIGNAL_H_SIGPIPE, HAVE_FDATASYNC)
       (HAVE_PCLOSE, HAVE_POPEN, HAVE_POSIX_SIGNALBLOCKING)
       (HAVE_PTHREAD_SIGMASK, HAVE_RAISE, HAVE_SIGACTION)
       (HAVE_SIGHANDLER_T, HAVE_SIGINFO_T, HAVE_SIGSET_T)
       (HAVE_STRUCT_SIGACTION_SA_SIGACTION)
       (HAVE_TYPE_VOLATILE_SIG_ATOMIC_T, LIB_PTHREAD)
       (LIB_PTHREAD_SIGMASK, NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H)
       (NEXT_SIGNAL_H, REPLACE_FDOPEN, REPLACE_PTHREAD_SIGMASK)
       (REPLACE_RAISE): New edits.
       (gl_LIBOBJS): Remove md5.o, filemode.o, and sha1.o.  Add
       pthread_sigmask.o.
       (@GL_GENERATE_ALLOCA_H_TRUE@, @GL_GENERATE_ALLOCA_H_FALSE@): Edit
       to comment out unneeded lines.
       (warn-on-use.h): Edit the recipe commands to work with DJGPP
       without requiring a Unixy shell.
       msdos/inttypes.h (strtoimax) [DJGPP < 2.04]: New macro.
       msdos/sed2v2.inp (HAVE_ALLOCA, HAVE_DECL_STRTOLL, HAVE_DECL_STRTOIMAX)
       (HAVE_STRTOLL, HAVE_SIGSET_T, HAVE_SNPRINTF): New edits.
      
       .bzrignore: Add ./GNUMakefile.unix.
       config.bat: Rename GNUMakefile, so it is not run on MS-DOS.
       Rename signal.in.h and alloca.in.h.
      
       src/sysdep.c (snprintf) [EOVERFLOW]: If EOVERFLOW is not defined,
       use EDOM.
      31bed486
    • Martin Rudalics's avatar
      In display-buffer-record-window call point for selected window. (Bug#9626) · ccee00c0
      Martin Rudalics authored
      * window.el (display-buffer-record-window): When WINDOW is the
      selected window use `point' instead of `window-point'.  (Bug#9626)
      ccee00c0
    • Martin Rudalics's avatar
      In command-line-1 insert initial-scratch-message before markers (Bug#9605). · b5516bbd
      Martin Rudalics authored
      * startup.el (command-line-1): Use insert-before-markers when
      inserting initial-scratch-message.  (Bug#9605)
      * help.el (help-window): Remove variable.
      b5516bbd
    • Glenn Morris's avatar
    • Juanma Barranquero's avatar
  4. 28 Sep, 2011 7 commits
  5. 27 Sep, 2011 10 commits