1. 17 Feb, 2014 1 commit
  2. 13 Feb, 2014 1 commit
  3. 08 Feb, 2014 2 commits
  4. 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
  5. 16 Jan, 2014 2 commits
  6. 15 Jan, 2014 1 commit
  7. 11 Jan, 2014 3 commits
  8. 10 Jan, 2014 1 commit
    • Paul Eggert's avatar
      Spelling fixes. · 06827ec8
      Paul Eggert authored
      * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
      * woman.el (woman-mark-horizontal-position):
      Rename from woman-mark-horizonal-position.  Use changed.
      06827ec8
  9. 09 Jan, 2014 1 commit
  10. 08 Jan, 2014 1 commit
  11. 01 Jan, 2014 2 commits
  12. 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
  13. 30 Dec, 2013 1 commit
  14. 23 Dec, 2013 1 commit
  15. 16 Dec, 2013 1 commit
  16. 29 Nov, 2013 1 commit
    • Stefan Monnier's avatar
      * configure.ac (HAVE_MENUS): Remove. · 7cdf484b
      Stefan Monnier authored
      * src/xmenu.c (Fmenu_or_popup_active_p):
      * src/window.c (Fset_window_configuration):
      * src/menu.c (Fx_popup_menu, Fx_popup_dialog):
      * src/keyboard.c (record_menu_key, read_char_x_menu_prompt):
      * src/fns.c (Fyes_or_no_p):
      * src/editfns.c (Fmessage_box, Fmessage_or_box):
      * src/alloc.c (make_save_ptr_ptr):
      * src/xdisp.c, src/w32menu.c, src/term.c, src/xterm.h, src/xterm.c:
      Remove HAVE_MENUS.
      7cdf484b
  17. 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
  18. 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
  19. 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
  20. 09 Nov, 2013 2 commits
  21. 05 Nov, 2013 1 commit
    • Glenn Morris's avatar
      Remove the autogen/ directory · 4dde498b
      Glenn Morris authored
      Ref: http://lists.gnu.org/archive/html/emacs-devel/2013-10/msg00806.html
      
      * autogen: Remove directory.  Move update_autogen to admin/.
      * autogen.sh: Remove reference to copy_autogen.
      * GNUmakefile (configure):
      * Makefile.in (bootstrap): Do not try to run copy_autogen.
      * config.bat: Use msdos/autogen rather than autogen.
      
      * admin/update_autogen: Move here from ../autogen.
      (usage): Update.  Remove -l, add -A.
      (autogendir): New variable.
      (ldefs_flag): Default to set.
      (genfiles): Reduce to only ms-dos relevant files.
      (main): Make checking autogen sources optional.
      Make copying of autogen files optional.
      
      * msdos/autogen/config.in:
      * msdos/autogen/Makefile.in: Move here from ../autogen.
      
      * nt/INSTALL: Remove reference to copy_autogen.
      
      * nt/config.nt: Comment.
      4dde498b
  22. 24 Oct, 2013 3 commits
  23. 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
  24. 19 Oct, 2013 1 commit
  25. 14 Oct, 2013 1 commit
  26. 12 Oct, 2013 2 commits
  27. 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
  28. 04 Oct, 2013 1 commit
  29. 20 Sep, 2013 1 commit
  30. 31 Aug, 2013 1 commit