1. 16 May, 2014 1 commit
    • Paul Eggert's avatar
      Don't require pkg-config when building from repository. · c56327b5
      Paul Eggert authored
      * INSTALL: Prefer './configure FOO=BAR' to 'FOO=BAR ./configure'.
      * INSTALL.REPO: pkg-config is no longer required to build from
      the repository.
      * autogen.sh: Don't check for pkg-config.
      (progs): Remove pkg-config.
      (pkg_config_min, AUTORECONF_ENV, env_space, ACLOCAL_PATH):
      Remove.  All uses removed.
      * m4/pkg.m4: New file, built by admin/merge-pkg-config.
      * configure.ac: Remove unnecessary m4_pattern_forbid of ^PKG_ and
      an AC_ARG_VAR of PKG_CONFIG_PATH.  pkg.m4 does that for us.
      (EMACS_CHECK_MODULES): Remove workaround for old pkg-config bug,
      as we use pkg.m4 from a newer pkg-config.
      * admin/merge-pkg-config: New script.
      * admin/notes/copyright: Update for m4/*.m4, in particular m4/pkg.m4.
      * etc/NEWS: Prefer './configure FOO=BAR' to 'FOO=BAR ./configure'.
      * etc/PROBLEMS (Build-time-problems): Remove pkg-config problem
      that is no longer an issue.
      * nt/INSTALL: Remove no-longer-needed notes about pkg-config.
      c56327b5
  2. 05 May, 2014 1 commit
  3. 26 Apr, 2014 1 commit
  4. 21 Apr, 2014 1 commit
  5. 09 Apr, 2014 1 commit
  6. 07 Apr, 2014 1 commit
    • Glenn Morris's avatar
      ChangeLog fixes · 6f287c89
      Glenn Morris authored
      Merged entries get today's date.
      May as well combine consecutive separate entries by same author into one.
      Backported entries should not appear twice.
      6f287c89
  7. 03 Apr, 2014 1 commit
    • Ken Brown's avatar
      Don't use manifest on Cygwin. (Bug#17176) · ebe8e076
      Ken Brown authored
      * nt/emacs.rc: Don't use manifest on Cygwin.
      * configure.ac (EMACS_MANIFEST, UPDATE_MANIFEST): Leave these
      variables empty on Cygwin. 
      * src/Makefile.in (EMACS_MANIFEST): Update comment.
      ebe8e076
  8. 03 Mar, 2014 1 commit
  9. 17 Feb, 2014 2 commits
  10. 13 Feb, 2014 1 commit
  11. 08 Feb, 2014 2 commits
  12. 18 Jan, 2014 1 commit
    • Eli Zaretskii's avatar
      Fix file name handling on MS-Windows 9X. · 5197f0c2
      Eli Zaretskii authored
       src/w32.c (maybe_load_unicows_dll): New function.
       src/emacs.c (main) [WINDOWSNT]: Call maybe_load_unicows_dll early
       on, to make sure we can convert file names to and from UTF-8 on
       Windows 9X.  This fixes a failure to start up because Emacs cannot
       find term/w32-win.el.  Reported by oslsachem <oslsachem@gmail.com>.
       src/w32font.c [WINDOWSNT]: Include w32.h.
       (w32_load_unicows_or_gdi32): Call maybe_load_unicows_dll, instead
       of implementing the same stuff.
       Remove now unused g_b_init_is_windows_9x.
       src/w32.h (maybe_load_unicows_dll): Add prototype.
      
       nt/runemacs.c (ensure_unicows_dll): Don't tell in the message box
       that "emacs -nw" can do without UNICOWS.DLL on Windows 9X.  See
       w32.c:maybe_load_unicows_dll and its callers for the reason.
      5197f0c2
  13. 16 Jan, 2014 1 commit
  14. 15 Jan, 2014 1 commit
  15. 11 Jan, 2014 3 commits
  16. 01 Jan, 2014 1 commit
  17. 31 Dec, 2013 1 commit
    • Fabrice Popineau's avatar
      Minor fixes for MinGW64 build. · bd717ca4
      Fabrice Popineau authored
       configure.ac (canonical, C_SWITCH_SYSTEM): Support a 64-bit
       MinGW64 build on MS-Windows.
      
       nt/inc/ms-w32.h (sys_kill): Fix prototype.
      
       src/w32term.c (w32_initialize): Use LCID and LOWORD.
       src/w32proc.c (create_child): Use pid_t for 5th argument.
       (IsValidLocale): Don't provide prototype for MinGW64.
       (Fw32_get_valid_keyboard_layouts, Fw32_get_keyboard_layout)
       (Fw32_set_keyboard_layout): Use HKL and HIWORD/LOWORD.
       src/w32heap.c (allocate_heap) [_WIN64]: Use "ull", not "i64", which
       MinGW64 doesn't support.
       src/lisp.h (EMACS_INT) [_WIN64]: Define for the MinGW64 build.
      bd717ca4
  18. 30 Dec, 2013 1 commit
  19. 23 Dec, 2013 1 commit
  20. 16 Dec, 2013 1 commit
  21. 27 Nov, 2013 1 commit
    • Glenn Morris's avatar
      Move runtime leim lisp files to lisp/leim directory · cb6c95a3
      Glenn Morris authored
      This allows us to reuse much of the lisp build and installation machinery,
      rather than duplicating it.
      
      * Makefile.in (abs_builddir, leimdir): Remove.
      (buildlisppath, SUBDIR, COPYDIR, COPYDESTS): No more leim directory.
      (epaths-force-w32): No longer set BLD.
      (leim): Remove.
      (install-arch-indep): No longer run or install leim.
      (mostlyclean, clean): No longer run leim rule.
      (bootstrap-clean): Change leim target.
      (maintainer-clean): Add leim.
      (check-declare): Remove leim.
      
      * README: Update for leim changes.
      
      * configure.ac (leimdir): Remove.
      (standardlisppath): No more leimdir.
      
      * make-dist: Update for files from leim/ now being in lisp/leim/.
      
      * doc/lispref/loading.texi (Library Search):
      * doc/lispref/os.texi (Startup Summary): No more leim directory.
      
      * leim/Makefile.in (leimdir): New variable.
      (TIT_GB, TIT_BIG5, MISC, changed.tit, changed.misc)
      (${leimdir}/leim-list.el, ${leimdir}/ja-dic/ja-dic.el):
      Generate in $leimdir.
      (all): Remove compilation, add ja-dic.
      (leim-list.el): Now PHONY.
      (setwins, compile-targets, compile-main, clean, mostlyclean)
      (extraclean): Remove.
      (bootstrap-clean): Delete all generated files.
      
      * leim/README: Update for moved leim/ directory.
      
      * leim/leim-ext.el (ucs-input-activate, hangul-input-method-activate):
      Remove manual autoloads; now in loaddefs.el.
      Disable byte-compile, version-control, autoloads in the output.
      
      * lisp/Makefile.in (setwins_for_subdirs): Skip leim/ directory.
      (compile-main): Depend on lisp/leim rule.
      (leim): New rule.
      
      * lisp/loadup.el: Move leim-list.el to leim/ subdirectory.
      
      * lisp/startup.el (normal-top-level): No more leim directory.
      
      * lisp/international/ja-dic-cnv.el (skkdic-convert):
      Disable version-control and autoloads in output files.
      * lisp/international/titdic-cnv.el (titdic-convert, miscdic-convert):
      Disable version-control and autoloads in output files.
      
      * lisp/leim/quail: Move here from ../leim.
      
      * lisp/leim/quail/hangul.el (hangul-input-method-activate):
      Add autoload cookie.
      (generated-autoload-load-name): Set file-local value.
      
      * lisp/leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
      (generated-autoload-load-name): Set file-local value.
      
      * nt/README.W32:
      * nt/addpm.c (env_vars):
      * nt/epaths.nt (PATH_LOADSEARCH, PATH_DUMPLOADSEARCH):
      * nt/paths.h (PATH_LOADSEARCH): No more leim directory.
      
      * src/Makefile.in (leimdir): Now in lisp source directory.
      ($(leimdir)/leim-list.el): Just use ../leim .
      
      * src/epaths.in (PATH_DUMPLOADSEARCH):
      
      * src/lread.c (load_path_default):
      
      * src/nsterm.m (ns_load_path): No more leim directory.
      
      * .bzrignore: Update for relocated leim files.
      cb6c95a3
  22. 26 Nov, 2013 1 commit
    • Glenn Morris's avatar
      Preload leim-list.el · 624780f0
      Glenn Morris authored
      * Makefile.in (abs_builddir): New, set by configure.
      (buildlisppath): Add leim/.
      (epaths-force-w32): Set BLD.
      
      * lisp/loadup.el: Load leim-list.el when found.
      
      * lisp/startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
      
      * nt/epaths.nt (PATH_DUMPLOADSEARCH): Add leim/.
      
      * src/callproc.c (init_callproc): Don't assume PATH_DUMPLOADSEARCH
      is a single directory.
      
      * src/epaths.in (PATH_DUMPLOADSEARCH): Add leim/.
      
      Fixes: debbugs:4789
      624780f0
  23. 12 Nov, 2013 1 commit
    • Dani Moncayo's avatar
      Remove nt/msysconfig.sh · f4f38fad
      Dani Moncayo authored
      * configure.ac [MINGW32]: Source nt/mingw-cfg.site.
      
      * make-dist: Don't distribute nt/msysconfig.sh.
      
      * nt/msysconfig.sh: Remove.
      
      * nt/INSTALL: Update for this.
      
      * nt/mingw-cfg.site: Comment.
      f4f38fad
  24. 09 Nov, 2013 1 commit
  25. 24 Oct, 2013 2 commits
    • Glenn Morris's avatar
      Avoid non-portable "` ... \"...\" ... `" nesting · 357a5081
      Glenn Morris authored
      * configure.ac:
      * Makefile.in (install-arch-indep, install-etcdoc, install-info):
      * lib-src/Makefile.in ($(DESTDIR)${archlibdir}):
      * nt/Makefile.in ($(DESTDIR)${archlibdir}):
      Avoid non-portable "`\" nesting.
      357a5081
    • Glenn Morris's avatar
      Attempt at a fix for mingw CPPFLAGS · eb9a3661
      Glenn Morris authored
      * configure.ac (CPPFLAGS) [mingw32]: Use abs_top_srcdir.
      
      * Makefile.in (abs_top_srcdir):
      * lib-src/Makefile.in (abs_top_srcdir):
      * lwlib/Makefile.in (abs_top_srcdir):
      * nt/Makefile.in (abs_top_srcdir):
      * oldXMenu/Makefile.in (abs_top_srcdir):
      * src/Makefile.in (abs_top_srcdir):
      New, set by configure.
      eb9a3661
  26. 23 Oct, 2013 2 commits
    • Glenn Morris's avatar
      Progress towards allowing installation in directories with whitespace · 48f73cfb
      Glenn Morris authored
      * Makefile.in (COPYDESTS, write_subdir, install-arch-dep)
      (install-arch-indep, install-etcdoc, install-info, install-man)
      (install-etc, uninstall): Quote entities that might contain whitespace.
      
      * build-aux/update-subdirs: Handle whitespace in argument.
      Check cd return value.
      
      * doc/emacs/Makefile.in (install-dvi, install-html, install-pdf)
      (install-ps, uninstall-dvi, uninstall-html, uninstall-ps)
      (uninstall-pdf): Quote entities that might contain whitespace.
      
      * doc/lispintro/Makefile.in (install-dvi, install-html, install-pdf)
      (install-ps, uninstall-dvi, uninstall-html, uninstall-ps)
      (uninstall-pdf): Quote entities that might contain whitespace.
      
      * doc/lispref/Makefile.in (install-dvi, install-html, install-pdf)
      (install-ps, uninstall-dvi, uninstall-html, uninstall-ps)
      (uninstall-pdf): Quote entities that might contain whitespace.
      
      * doc/misc/Makefile.in (install-dvi, install-html, install-pdf)
      (install-ps, uninstall-dvi, uninstall-html, uninstall-ps)
      (uninstall-pdf): Quote entities that might contain whitespace.
      
      * lib-src/Makefile.in ($(DESTDIR)${archlibdir}, need-blessmail, install)
      (uninstall): Quote entities that might contain whitespace.
      
      * nt/Makefile.in ($(DESTDIR)${archlibdir}, install, uninstall):
      Quote entities that might contain whitespace.
      48f73cfb
    • Glenn Morris's avatar
      Make building in directories with whitespace possible · b8e3b0a9
      Glenn Morris authored
      Make has trouble with targets containing whitespace, 
      http://savannah.gnu.org/bugs/?712, so the general approach is
      to use relative paths where possible.  It's generally only Emacs
      itself that needs absolute paths, eg in src/epaths.h.
      
      * configure.ac (srcdir): Don't make it absolute - abs_srcdir exists.
      
      * Makefile.in (abs_srcdir): New, set by configure.
      (buildlisppath): Use abs_srcdir.
      (install-arch-indep, install-etcdoc, install-info, install-man)
      (install-etc): Quote entities that might contain whitespace.
      
      * admin/unidata/Makefile.in (emacs, ${DSTDIR}/charprop.el):
      Quote entities that might contain whitespace.
      
      * leim/Makefile.in (abs_srcdir): New, set by configure.
      (buildlisppath): Use abs_srcdir.
      (RUN_EMACS, .el.elc, changed.tit, changed.misc, leim-list.el)
      ($(srcdir)/ja-dic/ja-dic.el, setwins, distclean, check-declare):
      Quote entities that might contain whitespace.
      
      * lib-src/Makefile.in ($(DESTDIR)${archlibdir}):
      Quote entities that might contain whitespace.
      
      * lisp/Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
      (emacs, compile, compile-always):
      Quote entities that might contain whitespace.
      (custom-deps, finder-data, autoloads): Use abs_lisp.
      ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
      ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
      ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
      
      * nextstep/Makefile.in (${ns_check_file} ${ns_appdir}):
      Quote entities that might contain whitespace.
      
      * nt/Makefile.in ($(DESTDIR)${archlibdir}):
      Quote entities that might contain whitespace.
      
      * src/Makefile.in (RUN_TEMACS): Make relative (again).
      ($(leimdir)/leim-list.el, .el.elc, $(lispsource)/loaddefs.el)
      (bootstrap-emacs$(EXEEXT)):
      Quote entities that might contain whitespace.
      
      * test/automated/Makefile.in (abs_top_srcdir, top_builddir):
      New, set by configure.
      (top_srcdir): Remove.
      (abs_test, abs_lispsrc): New.
      (lisp): No longer absolute.
      (emacs, lisp-compile, compile, compile-always):
      Quote entities that might contain whitespace.
      
      Fixes: debbugs:15675
      b8e3b0a9
  27. 14 Oct, 2013 1 commit
  28. 12 Oct, 2013 1 commit
    • Eli Zaretskii's avatar
      Make the MinGW32 build compatible with MinGW runtime 4.x. · 2f4586ad
      Eli Zaretskii authored
       nt/inc/dirent.h (struct dirent) [__MINGW_MAJOR_VERSION >= 4]: Make
       the layout of 'struct dirent' be compatible with MinGW32 runtime
       versions 4.0 and later.
       nt/inc/ms-w32.h (__MINGW_MAJOR_VERSION, __MINGW_MINOR_VERSION)
       (__MINGW_PATCHLEVEL) [!__MINGW64_VERSION_MAJOR]: Define, if not
       defined, but not for MinGW64.
       (_USE_32BIT_TIME_T) [__MINGW64_VERSION_MAJOR]: Define, to force
       use of 32-bit time_t type.
      2f4586ad
  29. 07 Oct, 2013 1 commit
    • Paul Eggert's avatar
      Improve support for popcount and counting trailing zeros. · 595e113b
      Paul Eggert authored
      Do this by using the Gnulib modules for this.
      This should generate faster code on non-GCC, non-MSC platforms,
      and make the code a bit more portable, at least in theory.
      * admin/merge-gnulib (GNULIB_MODULES): Add count-one-bits
      and count-trailing-zeros.
      * lib/count-one-bits.c, lib/count-one-bits.h:
      * lib/count-trailing-zeros.c, lib/count-trailing-zeros.h:
      * m4/count-one-bits.m4, m4/count-trailing-zeros.m4:
      New files, copied from gnulib.
      * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
      * nt/gnulib.mk: Merge changes from lib/gnulib.mk.
      * src/data.c: Include <count-one-bits.h>, <count-trailing-zeros.h>.
      (USE_MSC_POPCOUNT, POPCOUNT_STATIC_INLINE)
      (NEED_GENERIC_POPCOUNT, popcount_size_t_generic)
      (popcount_size_t_msc, popcount_size_t_gcc):
      Remove; now done by Gnulib.
      (popcount_size_t): Now a macro that defers to Gnulib.
      (count_trailing_zero_bits): Return int, for consistency with
      Gnulib and because Emacs prefers signed to unsigned int.
      Don't assume that size_t is either unsigned int or unsigned long
      or unsigned long long.
      (size_t_to_host_endian): Do not assume that size_t is either
      exactly 32 or exactly 64 bits wide.
      * src/lisp.h (BITS_PER_SIZE_T): Define consistently with BITS_PER_LONG
      etc., so that it's now an enum constant, not a macro.
      No need to assume that it's either 32 or 64.
      
      Fixes: debbugs:15550
      595e113b
  30. 04 Oct, 2013 1 commit
  31. 20 Sep, 2013 1 commit
  32. 31 Aug, 2013 1 commit
  33. 25 Aug, 2013 2 commits