1. 27 Oct, 2013 1 commit
  2. 25 Oct, 2013 1 commit
  3. 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
  4. 23 Oct, 2013 4 commits
    • Glenn Morris's avatar
      98434155
    • Glenn Morris's avatar
      configure.ac: Tweak previous change · fb6f3c4a
      Glenn Morris authored
      fb6f3c4a
    • Glenn Morris's avatar
      * configure.ac: Explicit error for non-ASCII directories · 7b65c8d0
      Glenn Morris authored
      Fixes: debbugs:15260
      7b65c8d0
    • 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
  5. 13 Oct, 2013 1 commit
  6. 11 Oct, 2013 2 commits
  7. 10 Oct, 2013 1 commit
    • Barry Fishman's avatar
      Handle giflib 5 changes (tiny change) · f3606ef7
      Barry Fishman authored
      * configure.ac: Update for giflib 5. 
      
      * src/image.c (GIFLIB_MAJOR): Ensure it's defined.
      (DGifOpen, DGifOpenFileName): Handle giflib 5 syntax.  (Bug#15531)
      f3606ef7
  8. 25 Sep, 2013 1 commit
    • Paul Eggert's avatar
      Merge from gnulib. · 959c3d24
      Paul Eggert authored
      This incorporates:
      2013-09-24 manywarnings: enable nicer gcc warning messages
      2013-09-23 warnings: port --enable-gcc-warnings to Solaris Studio 12.3
      2013-09-21 timespec: use the new TIMESPEC_RESOLUTION elsewhere
      * configure.ac (WERROR_CFLAGS): Omit -fdiagnostics-show-option
      and -funit-at-a-time, since manywarnings does that for us now.
      959c3d24
  9. 23 Sep, 2013 2 commits
    • Jan Djärv's avatar
      Suppress some unhelpful warnings when using clang. · 8762e524
      Jan Djärv authored
      * configure.ac: With clang, check for and use -Wno-switch,
      -Wno-tautological-constant-out-of-range-compare and -Wno-pointer-sign.
      
      * conf_post.h(assume): Use __builtin_unreachable for clang.
      
      * src/filelock.c (lock_file_1): Rearrange to remove compiler warning
      about excess arguments to snprintf.
      8762e524
    • Daniel Colascione's avatar
      Tell valgrind about conservative GC regions and suppress spurious · a84683fd
      Daniel Colascione authored
      warings.
      
      * alloc.c (USE_VALGRIND): New macro; on by default
      when ENABLE_CHECKING.
      (mark_maybe_object,mark_maybe_pointer)
      [USE_VALGRIND]: Mark conservatively-scanned regions valid for
      valgrind purposes.
      (valgrind_p) [USE_VALGRIND]: New variable.
      (init_alloc) [USE_VALGRIND]: Initialize valgrind_p.
      a84683fd
  10. 20 Sep, 2013 1 commit
  11. 19 Sep, 2013 1 commit
  12. 17 Sep, 2013 1 commit
    • Dmitry Antipov's avatar
      * configure.ac: Do not check for g_type_init because we · 19452b86
      Dmitry Antipov authored
      require glib >= 2.28 for GTK3, glib >= 2.10 for GTK2,
      glib >= 2.26 for GSettings and glib >= 2.7.0 for GConf, so
      suitable glib should provide g_type_init unconditionally.
      * src/image.c (fn_g_type_init) [WINDOWSNT]: Define and load
      only if Glib < 2.36.0.
      (fn_g_type_init) [!WINDOWSNT]: Define only if Glib < 2.36.0.
      * src/xsettings.c (init_gconf, init_gsettings): Do not check
      for g_type_init.
      19452b86
  13. 15 Sep, 2013 1 commit
    • Jan Djärv's avatar
      Port the font backend from the Mac port. · 3fa2054e
      Jan Djärv authored
      * configure.ac: Add check for OSX 10.5, required for macfont.o.
      
      * etc/NEWS: Mention the macfont backend.
      
      * src/Makefile.in (NS_OBJ, SOME_MACHINE_OBJECTS): Add macfont.o.
      
      * src/font.c (syms_of_font): Call syms_of_macfont.
      
      * src/font.h: Declare syms_of_macfont.
      
      * src/nsfns.m: Include macfont.h.
      (Fx_create_frame): Register macfont driver, make a better default font.
      (Fns_popup_font_panel): Get font from macfont driver, if used.
      
      * src/nsfont.m (ns_tmp_flags, ns_tmp_font): Remove.
      (nsfont_open): Set font driver type.
      Set font->ascent and font->descent.  Figure out font instead of
      ns_tmp_font, and flags instead of ns_tmp_flags.
      Fix indentation. Remove call to ns_draw_text_decoration,
      moved to nsterm.
      
      * src/nsterm.m: Include macfont.h.
      (ns_tmp_flags, ns_tmp_font): Remove.
      (ns_compute_glyph_string_overhangs): Check for driver Qns.
      (ns_draw_glyph_string): Use local variables instead of ns_tmp_flags,
      ns_tmp_font.  Call ns_draw_text_decoration here instead of nsfont.m.
      (changeFont:): Fix code style.  Check for font driver type when
      getiing font.
      
      * src/nsterm.h (FONT_DESCENT, FONT_ASCENT): Define to (f)->ascent and
      (f)->descent.
      3fa2054e
  14. 09 Sep, 2013 5 commits
  15. 08 Sep, 2013 1 commit
  16. 07 Sep, 2013 1 commit
    • Paul Eggert's avatar
      Port --without-x --enable-gcc-warnings to Fedora 19. · 4b73fc73
      Paul Eggert authored
      * configure.ac (WERROR_CFLAGS): Omit redundant use of
      -Wmissing-field-initializers, -Wswitch, -Wtype-limits,
      -Wunused-parameter.  If there is no window system, also omit
      -Wsuggest-attribute=const and -Wsuggest-attribute=noreturn; this
      is needed for Fedora 19.
      * src/gfilenotify.c (globals_of_gfilenotify):
      Call g_type_init only if using an older glib version that needs it.
      4b73fc73
  17. 05 Sep, 2013 2 commits
    • Eli Zaretskii's avatar
      50a5f95e
    • Dmitry Antipov's avatar
      Make --without-x compatible with --enable-gcc-warnings. · 257b3b03
      Dmitry Antipov authored
      * configure.ac: If both --without-x and --enable-gcc-warnings are
      specified, use -Wno-unused-variable, -Wno-unused-but-set-variable
      and -Wno-unused-but-set-parameter.
      * src/font.c (register_font_driver): Move check under HAVE_WINDOW_SYSTEM.
      * src/font.h (struct font_driver): Move draw, get_bitmap and free_bitmap
      members under HAVE_WINDOW_SYSTEM.
      * src/keyboard.c (make_lispy_focus_out): Likewise.
      (record_menu_key): Move under HAVE_MENUS.
      * src/xdisp.c (toplevel): Move hourglass_shown_p, hourglass_atimer and
      THIN_SPACE_WIDTH under HAVE_WINDOW_SYSTEM.
      (syms_of_xdisp): Adjust user.
      (window_box_edges): Define only if HAVE_WINDOW_SYSTEM.
      (start_hourglass, cancel_hourglass):
      * src/xfaces.c (toplevel): Likewise with PT_PER_INCH,
      clear_font_table_count, CLEAR_FONT_TABLE_COUNT
      and CLEAR_FONT_TABLE_NFONTS.
      (set_font_frame_param, clear_face_gcs, realize_non_ascii_face):
      Declare only if HAVE_WINDOW_SYSTEM.
      (lface_same_font_attributes_p, clear_face_gcs): Define only
      if HAVE_WINDOW_SYSTEM.
      257b3b03
  18. 02 Sep, 2013 1 commit
  19. 31 Aug, 2013 2 commits
  20. 28 Aug, 2013 1 commit
    • Stefan Monnier's avatar
      Try to reduce redundancy in doc/misc/Makefile.in. · 0acfedd3
      Stefan Monnier authored
      * configure.ac (DOCMISC_W32): New var to replace DOCMISC_*_W32.
      * doc/misc/Makefile.in (DOCMISC_W32): New var to replace DOCMISC_*_W32.
      (TARGETS): New intermediate variable.
      (DVI_TARGETS, HTML_TARGETS, PDF_TARGETS, PS_TARGETS): Use it.
      0acfedd3
  21. 27 Aug, 2013 3 commits
    • Glenn Morris's avatar
      3ed86db9
    • Dmitry Antipov's avatar
      * configure.ac (DOCMISC_DVI_W32, DOCMISC_HTML_W32, DOCMISC_INFO_W32) · 15091df5
      Dmitry Antipov authored
      (DOCMISC_PDF_W32, DOCMISC_PS_W32): No spaces!
      15091df5
    • Glenn Morris's avatar
      Move source for Emacs on MS Windows FAQ here from Emacs webpages repository · 1857cd3f
      Glenn Morris authored
      * Makefile.in (mostlyclean, clean, distclean, bootstrap-clean)
      (maintainer-clean, check-declare): Remove pointless subshells.
      Check cd return value.
      
      * configure.ac (DOCMISC_DVI_W32, DOCMISC_HTML_W32, DOCMISC_INFO_W32)
      (DOCMISC_PDF_W32, DOCMISC_PS_W32): New output variables.
      * Makefile.in (check-info-dir): Ignore efaq-w32.
      
      * admin/admin.el (manual-misc-manuals): Use INFO_COMMON rather than
      INFO_TARGETS.
      
      * doc/misc/efaq-w32.texi: Move here from the web-pages repository.
      
      * doc/misc/Makefile.in (DOCMISC_DVI_W32, DOCMISC_HTML_W32, DOCMISC_INFO_W32)
      (DOCMISC_PDF_W32, DOCMISC_PS_W32): New configure output variables.
      (INFO_COMMON, INFO_INSTALL): New derivations of INFO_TARGETS.
      (DVI_TARGETS, HTML_TARGETS, PDF_TARGETS, PS_TARGETS):
      Add DOCMISC_*_W32 variables.
      (echo-info): Use INFO_INSTALL rather than INFO_TARGETS.
      (efaq_w32_deps): New variable.
      (efaq-w32, $(buildinfodir)/efaq-w32$(INFO_EXT), efaq-w32.dvi)
      (efaq-w32.pdf, efaq-w32.html): New rules.
      (clean): Remove efaq-w32 products.
      1857cd3f
  22. 23 Aug, 2013 1 commit
  23. 22 Aug, 2013 1 commit
  24. 21 Aug, 2013 1 commit
    • Paul Eggert's avatar
      Port close-on-exec pty creation to FreeBSD 9.1-RELEASE. · f035e3a9
      Paul Eggert authored
      * configure.ac (PTY_OPEN): If posix_openpt with O_CLOEXEC fails
      and reports EINVAL, try it again without O_CLOEXEC.  This should
      port PTY_OPEN to FreeBSD 9, which stupidly rejects O_CLOEXEC.
      What were they thinking?
      
      Fixes: debbugs:15129
      f035e3a9
  25. 15 Aug, 2013 1 commit
  26. 14 Aug, 2013 1 commit