1. 03 Dec, 2011 4 commits
  2. 27 Nov, 2011 1 commit
  3. 25 Nov, 2011 1 commit
  4. 24 Nov, 2011 1 commit
  5. 22 Nov, 2011 3 commits
  6. 20 Nov, 2011 2 commits
  7. 15 Nov, 2011 1 commit
  8. 13 Nov, 2011 1 commit
  9. 05 Nov, 2011 1 commit
    • Eli Zaretskii's avatar
      Support MSVC build with newer versions of Visual Studio. · a6fc3b5c
      Eli Zaretskii authored
      Small portions of the changes by Fabrice Popineau <fabrice.popineau@supelec.fr>.
      
       src/makefile.w32-in (TAGS-gmake): Don't use $(patsubst ...), as
       Nmake barfs on that.  Use $(OBJ*_c) variables instead, defined on
       nt/gmake.defs.
       src/lisp.h (ENUM_BF): New macro, for enumerated types in bitfields,
       which are not supported by MSVC.
       (Lisp_Symbol, Lisp_Misc_Any, Lisp_Marker, Lisp_Misc_Overlay)
       (Lisp_Save_Value, Lisp_Free): Use ENUM_BF for enumerated types in
       bitfields.
       (Lisp_Object) [USE_LISP_UNION_TYPE]: Use ENUM_BF for enumerated
       types in bitfields.
       (DEFUN) [_MSC_VER]: Define in a different way for MSVC.
       src/w32fns.c [_MSC_VER]: DECLARE_HANDLE for any MSVC version.
       src/w32.c: Don't include w32api.h for MSVC.
       (init_environment) [_MSC_VER]: Call sys_access, not _access.
       src/s/ms-w32.h <sigset_t, ssize_t> [_MSC_VER]: Typedefs for MSVC.
       [_MSC_VER]: Include sys/timeb.h, sys/stat.h, and signal.h.
       (fstat, stat, utime) [_MSC_VER]: Redirect to their sys_* cousins.
       (malloc, free, realloc, calloc) [_MSC_VER]: Always redirect to the
       e_* cousins.
       (alloca) [_MSC_VER]: Define to _alloca.
       src/lisp.h (DECL_ALIGN) [_MSC_VER]: Define for MSVC.
       src/regex.c <re_char> [_MSC_VER]: A separate definition for MSVC.
       nt/makefile.w32-in (clean-other-dirs-nmake)
       (distclean-other-dirs-nmake, maintainer-clean-other-dirs-nmake):
       Update for current structure of doc/ subdirectories.
       nt/gmake.defs (OBJ0_c, OBJ1_c, OBJ2_c): New variables.
       nt/INSTALL: Update for newer versions of MSVC.
       lib/makefile.w32-in (FRC): New dummy target.
       (TAGS): Depend on FRC.
      
      Fixes: debbugs:9960
      a6fc3b5c
  10. 04 Nov, 2011 1 commit
  11. 31 Oct, 2011 2 commits
    • Eli Zaretskii's avatar
      Fix previous commit. · 07f3add9
      Eli Zaretskii authored
       config.bat: Use config.in and Makefile.in from src/ and lib/, if
       they exist there, else from autogen/.
       make-dist: Don't add `autogen'.
      07f3add9
    • 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.
      0bd3cb7b
  12. 25 Oct, 2011 1 commit
  13. 24 Oct, 2011 1 commit
  14. 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
      * configure.in (AC_STRUCT_TM, AC_STRUCT_TIMEZONE, HAVE_TM_GMTOFF):
      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
      <http://lists.gnu.org/archive/html/emacs-devel/2007-06/msg00334.html>.
      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.
      7da0b018
  15. 18 Oct, 2011 2 commits
  16. 17 Oct, 2011 1 commit
  17. 13 Oct, 2011 1 commit
  18. 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.
      f4cc5b54
  19. 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.
      d47439a3
    • 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.
      7c5ee88e
  20. 02 Oct, 2011 1 commit
  21. 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.
      5f91c1e5
    • Eli Zaretskii's avatar
      Fix ChangeLog entry for the last commit. · e785f2ec
      Eli Zaretskii authored
      e785f2ec
    • 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
  22. 28 Sep, 2011 1 commit
  23. 26 Sep, 2011 3 commits
  24. 24 Sep, 2011 1 commit
  25. 19 Sep, 2011 1 commit
  26. 15 Sep, 2011 2 commits