1. 31 Oct, 2011 1 commit
    • Eli Zaretskii's avatar
      Fix distribution tarball for the MS-DOS build. · 0bd3cb7b
      Eli Zaretskii authored
       make-dist (tempdir): Create `autogen'.
       (msdos): Add depfiles.bat and inttypes.h.
       (autogen): Put README, config.in, and Makefile.in ionto the
       distribution, they are needed for the MS-DOS build.
       msdos/sed3v2.inp (insrcdir): Comment out definition.
       $(insrcdir): Edit into MS-DOS existence test.
  2. 25 Oct, 2011 1 commit
  3. 24 Oct, 2011 1 commit
  4. 20 Oct, 2011 1 commit
    • Paul Eggert's avatar
      Time zone name fixes for non-ASCII locales (Bug#641, Bug#9794) · 7da0b018
      Paul Eggert authored
      Remove; no longer needed, now that we defer to strftime for time
      zone names.
      * src/editfns.c: Rewrite current-time-zone so that it invokes
      the equivalent of (format-time-string "%Z") to get the time zone name.
      This fixes a bug when the time zone name contains characters that
      need converting from the system time locale to Emacs internal format.
      This fixes a shortcoming that I introduced in my 1999-10-19 patch:
      that patch fixed format-time-string to do the conversion, but
      I forgot to fix current-time-zone.
      (format_time_string): New function, containing most of
      what Fformat_time_string used to contain.
      (Fformat_time_string): Rewrite in terms of format_time_string.
      This doesn't change this function's behavior.
      (current-time-zone): Rewrite to use format_time_string.
      This fixes the bug reported by Michael Schierl in
      Jason Rumney's 2007-06-07 change worked around this bug, but
      didn't fix it.
      * src/systime.h (tzname, timezone): Remove no-longer-used declarations.
  5. 18 Oct, 2011 2 commits
  6. 17 Oct, 2011 1 commit
  7. 13 Oct, 2011 1 commit
  8. 12 Oct, 2011 1 commit
    • Paul Eggert's avatar
      * configure.in: Remove check for -lintl (Bug#9713). · f4cc5b54
      Paul Eggert authored
      The check breaks 'configure' in some CentOS 5.7 x86 configurations.
      The check was helpful but not essential in Solaris 2.6 (1997),
      and is no longer needed in Solaris 8 (2000).  Solaris 2.6 is
      obsolete -- Sun dropped support for it in 2006 -- and without
      access to that Silurian platform we can't maintain the code anyway.
  9. 07 Oct, 2011 2 commits
    • Paul Eggert's avatar
      Merge from gnulib, fixing some 'configure' typos (Bug#9696). · d47439a3
      Paul Eggert authored
      * lib/signal.in.h, lib/sigprocmask.c, m4/gl-comp.m4:
      * m4/gnulib-common.m4: Merge from gnulib.
      Without this, 'configure' would say "func_gl_gnulib_m4code_pathmax:
      command not found" on powerpc-apple-darwin9.8.0.
    • Paul Eggert's avatar
      Fix alignment-related core dump during GC. · 7c5ee88e
      Paul Eggert authored
      * configure.in (GC_LISP_OBJECT_ALIGNMENT): Remove.
      This is now done by src/alloc.c.
      * src/alloc.c (GC_LISP_OBJECT_ALIGNMENT): Use offsetof, not __alignof__
      or sizeof.  __alignof__ gives the wrong answer on Fedora x86-64
      with GCC 4.6.1 when configured with CC='gcc -m32' --with-wide-int;
      this makes Emacs dump core during garbage collection on rare
      occasions.  sizeof is obviously inferior to offsetof here, so
      stick with offsetof.
      (GC_POINTER_ALIGNMENT): New macro.
      (mark_memory): Omit 3rd (offset) arg; caller changed.
      Don't assume EMACS_INT alignment is the same as pointer alignment.
  10. 02 Oct, 2011 1 commit
  11. 29 Sep, 2011 3 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.
    • Eli Zaretskii's avatar
      Fix ChangeLog entry for the last commit. · e785f2ec
      Eli Zaretskii authored
    • 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
       msdos/sedlibmk.inp (ALLOCA_H, AR, ARFLAGS, GNULIB_CHDIR, GNULIB_DUP)
       (REPLACE_RAISE): New edits.
       (gl_LIBOBJS): Remove md5.o, filemode.o, and sha1.o.  Add
       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.
       .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.
  12. 28 Sep, 2011 1 commit
  13. 26 Sep, 2011 3 commits
  14. 24 Sep, 2011 1 commit
  15. 19 Sep, 2011 1 commit
  16. 15 Sep, 2011 2 commits
  17. 13 Sep, 2011 1 commit
  18. 11 Sep, 2011 1 commit
    • Paul Eggert's avatar
      Merge from gnulib, porting to Tru64. · 3f44249e
      Paul Eggert authored
      * lib/lstat.c, lib/stat.c, m4/include_next.m4, m4/nocrash.m4:
      * m4/signal_h.m4, m4/time_h.m4, m4/unistd_h.m4:
      Merge from gnulib.  This fixes a compilation error on Tru64 UNIX
      aka OSF/1 5.1 DTK cc.  There is also some mingw stuff here that
      doesn't affect Emacs.
  19. 06 Sep, 2011 1 commit
    • Paul Eggert's avatar
      isnan: Fix porting problem to Solaris 10 with bundled gcc. · c8199d0f
      Paul Eggert authored
      Without this fix, the command to link temacs failed due to an
      undefined symbol __builtin_isnan.  This is because
      /usr/include/iso/math_c99.h #defines isnan(x) to
      __builtin_isnan(x), but the bundled gcc, which identifies itself
      as gcc 3.4.3 (csl-sol210-3_4-branch+sol_rpath), does not have
      a __builtin_isnan.
      * configure.in (isnan): Remove now-unnecessary check.
      * src/floatfns.c (isnan): #undef, and then #define to a clone of
      what's in data.c.
      (Fisnan): Always define, since it's always available now.
      (syms_of_floatfns): Always define isnan at the Lisp level.
  20. 31 Aug, 2011 1 commit
  21. 30 Aug, 2011 3 commits
  22. 26 Aug, 2011 1 commit
  23. 13 Aug, 2011 1 commit
    • Jan Djärv's avatar
      Fix network-interface-list|info on newer BSD derived OS:es. · 377538cb
      Jan Djärv authored
      * configure.in: Add header check: sys/socket.h,
      ifaddrs.h, net/if_dl.h.  Check for getifaddrs and freeifaddrs.
      Check for sa_len in struct ifreq.ifr_addr (Bug#8477).
      * src/process.c: Include ifaddrs.h and net/if_dl.h if available (Bug#8477).
      (Fnetwork_interface_list): Allocate in increments of bytes instead
      of sizeof (struct ifreq).  Iterate over ifconf.ifc_req by counting
      bytes (Bug#8477).  Count bytes correctly when ifr_addr is a struct
      (struct ifflag_def): notrailers is smart on OSX.
      (Fnetwork_interface_info): Handle case when ifr_flags is negative.
      Get hardware address with getifaddrs if available.
  24. 04 Aug, 2011 1 commit
    • Jan Djärv's avatar
      Check for pthread and use it if found. · ae9e757a
      Jan Djärv authored
      * configure.in (HAVE_PTHREAD): Add check for -lpthread.
      (HAVE_GTK_AND_PTHREAD): Remove.
      * src/Makefile.in (LIB_PTHREAD): New variable.
      (LIBES): Add LIB_PTHREAD (Bug#9216).
      * src/alloc.c, src/emacs.c, src/gmalloc.c, src/gtkutil.c, src/keyboard.c, src/syssignal.h:
      Rename HAVE_GTK_AND_PTHREAD to HAVE_PTHREAD (Bug#9216).
  25. 29 Jul, 2011 1 commit
  26. 28 Jul, 2011 1 commit
  27. 27 Jul, 2011 1 commit
    • Paul Eggert's avatar
      * GNUmakefile: New file. · 427c285b
      Paul Eggert authored
      This is for convenience, so that one can run GNU make in an
      unconfigured source tree, and get a default build.
  28. 25 Jul, 2011 1 commit
  29. 24 Jul, 2011 1 commit
    • Paul Eggert's avatar
      Merge from gnulib, using build-aux to remove clutter. · 24e0f6b1
      Paul Eggert authored
      * m4/largefile.m4: New file, so that Emacs does not mess up when
      accessing files with large inode numbers in MacOS X 10.5 and later.
      * m4/nocrash.m4: New file, to avoid triggering background debugger
      and/or create core dumps during 'configure'.
      * build-aux/move-if-change: Renamed from move-if-change.
      * build-aux/snippet/arg-nonnull.h: Renamed from arg-nonnull.h.
      * build-aux/snippet/c++defs.h: Renamed from c++defs.h.
      * build-aux/snippet/warn-on-use.h: Renamed from warn-on-use.h.
      * build-aux/snippet/_Noreturn.h: New file, for draft C1X _Noreturn.
      * .bzrignore: The autogenerated files compile, config.guess,
      config.sub, depcomp, install-sh, and missing are now in build-aux.
      * Makefile.in (epaths-force, sync-from-gnulib):
      move-if-change is now in build-aux.
      (GNULIB_TOOL_FLAGS): Avoid threadlib; this is now a prerequisite
      of gnulib's pthread_sigmask module, but Emacs doesn't need it.
      (mkdir): install-sh is now in build-aux.
      * config.bat: c++defs.h is now in build-aux/snippets.
      * configure.in: Specify AC_CONFIG_AUX_DIR with build-aux (the
      usual parameter).
      * lib/gnulib.mk, m4/gl-comp.m4: Regenerate.
      * lib/makefile.w32-in (ARG_NONNULL_H): arg-nonnull.h moved
      to build-aux/snippet.
      * lib/pthread_sigmask.c, lib/stdlib.in.h, m4/extensions.m4:
      * m4/getopt.m4, m4/gnulib-common.m4, m4/pthread_sigmask.m4:
      Merge from gnuilib.  This fixes porting bugs on Cygwin, Irix, and
      Solaris, enables MacOS extensions, and enables nocrash during
      * make-dist: Adjust to new build-aux and build-aux/snippit dirs.
      * admin/notes/copyright: The files compile, config.guess, config.sub,
      depcomp, install-sh, missing, and move-if-change are now in the
      new build-aux subdirectory.  The files arg-nonnull.h, c++defs.h,
      and warn-on-use.h are now in build-aux/snippets.  New file
      * leim/Makefile.in (install): install-sh is now in build-aux.
      * lib-src/Makefile.in ($(DESTDIR)${archlibdir}): install-sh moved
      to build-aux.
      * msdos/sedlibmk.inp (CONFIG_CLEAN_VPATH_FILES): Adjust to snippet moves
      from top level to build-aux/snippet.
      * src/Makefile.in (gl-stamp): move-if-change is now in build-aux.
  30. 13 Jul, 2011 1 commit
  31. 11 Jul, 2011 1 commit