aboutsummaryrefslogtreecommitdiffstats
path: root/ChangeLog (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* | Remove dependencies on getdelim and getline.Paul Eggert2014-05-181-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also, remove update-game-scores's limits on game scores and simplify its file-locking code. * configure.ac (getdelim, getline): Remove. * lib-src/update-game-score.c (struct score_entry): Unify the username and data members to a single user_data member, since they don't need to be changed independently and getdelim and getline aren't helpful. Make the score member char *, not intmax_t, so that scores are not limited to intmax_t. All uses changed. (lose_syserr): A zero errno stands for invalid data in score file. (normalize_integer): New function. (main): Use it. Check for invalid scores. Omit redundant stat check. (read_score): First arg is now a string, not a FILE *. All uses changed. Do not use getdelim or getline; that's way simpler. (read_scores): Read the whole file, and let read_score handle each line. (score_compare): Compare strings representing integers, not integers. (write_scores) [DOS_NT]: Eliminate unnecessary chmod. (lock_file): Simplify locking code, eliminating goto. Check for unlink failure.
* | * configure.ac: Do not bother testing for png in non-graphical builds.Glenn Morris2014-05-181-0/+4
| | | | | | | | | | This seems to have been lost in the changes from the current emacs-24 branch version.
* | Port ctags+etags build to Sun C 5.12.Paul Eggert2014-05-181-0/+3
| | | | | | | | | | | | | | | | | | | | | | * .bzrignore: Remove lib-src/ctags.c. * lib-src/Makefile.in (etags_args): Remove, replacing with ... (etags_cflags, etags_libs): New macros. All uses changed. (ctags${EXEEXT}): Don't compile etags.c, as compiling etags.c in parallel (once for ctags, once for etags) breaks parallel makes with compilers that use the source file name to name temporaries, such as Sun C 5.12. Instead, compile ctags.c. * lib-src/ctags.c: New file.
* | Port recent libpng changes to hosts with missing png.h.Paul Eggert2014-05-171-0/+8
| | | | | | | | | | | | | | * configure.ac (HAVE_PNG): Port to platforms where libpng-config succeeds but png.h is absent, by testing libpng-config's output rather than trusting it. I ran into this problem when building Emacs trunk on a Solaris 10 host.
* | Assume C99 or later.Paul Eggert2014-05-171-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lib/stdarg.in.h, lib/stdbool.in.h, m4/stdarg.m4, m4/stdbool.m4: Remove. * configure.ac (_AC_PROG_CC_C89): Define a dummy, to keep 'configure' smaller. (gl_PROG_CC_C99): Use this to get C99 or later. * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate. * admin/merge-gnulib (GNULIB_MODULES): Remove stdarg, stdbool. (GNULIB_TOOL_FLAGS): Avoid stdarg, stdbool. * doc/lispref/internals.texi (C Dialect): Document this. * etc/NEWS: Document this. * nt/gnulib.mk: Remove stdarg and stdbool modules. * src/bytecode.c (B__dummy__): Remove. * src/conf_post.h (bool_bf) [!NS_IMPL_GNUSTEP]: Use bool. (FLEXIBLE_ARRAY_MEMBER): Now always empty. * src/dbusbind.c (XD_DEBUG_MESSAGE) [!DBUS_DEBUG]: * src/regex.c (DEBUG_PRINT): Assume varargs macros. * src/lisp.h (DEFUN_FUNCTION_INIT): Remove. All uses now assume C99. Fixes: debbugs:17487
* | Don't require pkg-config when building from repository.Paul Eggert2014-05-161-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* | Fix typoJan Djärv2014-05-151-1/+1
| |
* | Fix yet another configure error on OSX.Jan Djärv2014-05-151-0/+4
| | | | | | | | * configure.ac (LIBONG): Do not test for libpng if NS_IMPL_COCOA.
* | If available, use Xfixes extension to do pointer blanking.Dmitry Antipov2014-05-131-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * configure.ac (HAVE_XFIXES): Define if available. (XFIXES_CFLAGS, XFIXES_LIBS): New AC_SUBSTs. * src/Makefile.in (XFIXES_CFLAGS, XFIXES_LIBS): New var. * src/xfns.c (x_set_mouse_color): Do not call make_invisible_cursor here. (make_invisible_cursor): Move to... * src/xterm.c (make_invisible_cursor): ...here. (x_probe_xfixes_extension, xfixes_toggle_visible_pointer) (x_toggle_visible_pointer, x_setup_pointer_blanking): New functions. (x_term_init): Call to x_setup_pointer_blanking. (XTtoggle_invisible_pointer): Use blanking specific to this display. * src/xterm.h (struct x_display_info): New member toggle_visible_pointer.
* | * configure.ac (--enable-link-time-optimization): Add clang support.Dmitry Antipov2014-05-131-0/+5
| | | | | | | | | | | | * INSTALL: Mention it. * etc/PROBLEMS: Mention potential problems with --enable-link-time-optimization and clang on Fedora 20.
* | * configure.ac (EMACS_CHECK_MODULES): Fix typo in previous change.Katsumi Yamaoka2014-05-111-0/+4
| |
* | Work around bug in pkg-config before 0.26.Paul Eggert2014-05-111-0/+7
| | | | | | | | | | | | | | | | * configure.ac (EMACS_CHECK_MODULES): Check for failed exit status of pkg-config, on older pkg-config versions that don't do it properly. Fixes: debbugs:17438
* | Revert last two changes.Paul Eggert2014-05-101-7/+0
| | | | | | | | Fixes: debbugs:17438
* | Require pkg-config 0.26 or later in autogen.sh only.Paul Eggert2014-05-101-1/+1
| | | | | | | | | | | | | | * autogen.sh (pkg_config_min): Make this at least 0.26. * configure.ac (PKG_PROG_PKG_CONFIG): Revert back to 0.9.0. Fixes: debbugs:17438
* | Require pkg-config 0.26 or later.Paul Eggert2014-05-101-0/+7
| | | | | | | | | | | | | | | | Earlier versions are buggy, as pkg-config --libs can output nothing, which causes xrandr link failures. * configure.ac (PKG_PROG_PKG_CONFIG): Bump from 0.9.0 to 0.26. Fixes: debbugs:17438
* | * autogen.sh: Check for failing aclocal.Glenn Morris2014-05-071-0/+4
| |
* | * autogen.sh: Check any pre-existing ACLOCAL_PATH.Glenn Morris2014-05-051-0/+4
| |
* | Consult libpng-config more consistently.Paul Eggert2014-05-041-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is mainly for simplicity, but it should also avoid some future problems like the ones we recently had with NetBSD. * configure.ac (LIBPNG): Configure after LIBZ. Use libpng-config for cflags, too. Append -lz if we're not already doing that with LIBZ. Do not bother appending -lm, since we always append that. Coalesce some duplicate code. * src/Makefile.in (PNG_CFLAGS): New var. (ALL_CFLAGS): Use it. * src/image.c [HAVE_PNG]: Don't worry about <libpng/png.h>, as CFLAGS now handles this. Fixes: debbugs:17339
* | * autogen.sh: Use ‘"’ to quote a message that often contains ‘'’.Paul Eggert2014-05-041-0/+2
| |
* | Merge from emacs-24; up to 2014-05-04T21:18:30Z!eggert@cs.ucla.eduPaul Eggert2014-05-041-0/+12
|\ \ | |/
| * Revert recent libpng changes.Paul Eggert2014-05-041-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | They fix only bugs that aren't being reported, so it may be better to do them on the trunk. * configure.ac (PNG_CFLAGS): Remove. All uses removed. (LIBPNG): Don't be consistent about -lpng16 versus -lpng. Ignore libpng-config's exit status. Always append -lz -lm. * src/Makefile.in (PNG_CFLAGS): Remove; all uses removed. * src/image.c [HAVE_LIBPNG_PNG_H]: Include <libpng/png.h>, not <png.h>. Fixes: debbugs:17339
| * * configure.ac (LIBPNG): Add -lz -lm on platforms where they're neededPaul Eggert2014-05-031-0/+6
| | | | | | | | | | but libpng-config --libs omits them. Problem reported by Glenn Morris.
| * Require ImageMagick >= 6.3.5, due to PixelSetMagickColor.Paul Eggert2014-05-031-0/+7
| | | | | | | | | | | | | | | | * configure.ac (IMAGEMAGICK_MODULE): Bump prereq from 6.2.8 to 6.3.5. A more-complicated fix would be to remove uses of PixelSetMagickColor, introduced in ImageMagick 6.3.5 (Sept. 2007). Fixes: debbugs:17339
| * Consult libpng-config more consistently.Paul Eggert2014-05-021-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * configure.ac (edit_cflags): Move this up and to the top level, so that PNG_CFLAGS can use it too. (PNG_CFLAGS): New var. (png_longjmp): Use PNG_CFLAGS when checking. (LIBPNG): Be consistent about -lpng16 etc; e.g., don't use -lpng16 in some places and -lpng in others. Test libpng-config's exit status. If it succeeds, use its output rather than appending -lz -lm. * src/Makefile.in (PNG_CFLAGS): New var. (ALL_CFLAGS): Use it. * src/image.c [HAVE_PNG]: Don't worry about <libpng/png.h>, as CFLAGS now handles this. Fixes: debbugs:17339
| * * configure.ac (LIBPNG): Consult libpng-configGlenn Morris2014-05-011-0/+5
| | | | | | | | | | | | for the precise form of "-lpng" to use. Fixes: debbugs:17339
* | * autogen.sh: If all else fails, try using pkg-config to find pkg.m4.Glenn Morris2014-05-031-0/+4
| | | | | | | | This is an attempt to get hydra builds working again.
* | Get --enable-gcc-warnings to work after touching configure.ac.Paul Eggert2014-05-031-0/+9
| | | | | | | | | | | | | | | | | | | | Preserve ACLOCAL_PATH in later builds, so that by default it has the same value as it did in the first build after initial checkout. * Makefile.in (ACLOCAL_PATH): New macro. ($(srcdir)/aclocal.m4): Use it. * configure.ac (ACLOCAL_PATH): AC_SUBST it. * autogen.sh (env_space): New var. Tell user what variables, if any, to pass to 'configure'.
* | Get --enable-gcc-warnings working again.Paul Eggert2014-05-031-0/+9
| | | | | | | | | | | | | | | | | | | | The recent changes to configure.ac removed the transliteration of -I to -isystem in CFLAGS, which is needed for --enable-gcc-warnings. Bring this back while keeping the spirit of the recent changes. * configure.ac (edit_cflags): Restore this shell var, and put it at the top level, where it'll be useful when emacs-24 is next merged. (EMACS_CHECK_MODULES): New macro. All uses of PKG_CHECK_MODULES changed to use it.
* | Make it easier on maintainers who use their own Automake.Paul Eggert2014-05-031-0/+8
| | | | | | | | | | | | | | * autogen.sh (ACLOCAL_PATH, AUTORECONF_ENV): New vars. Set them to avoid problems when maintainers prepend their own Automake installations to their PATH. Report an error if pkg.m4 can't be found.
* | * configure.ac (PKG_CONFIG_PATH): Declare with AC_ARG_VAR.Glenn Morris2014-05-021-0/+2
| |
* | Remove the --with-pkg-config-prog configure optionGlenn Morris2014-05-021-0/+3
| | | | | | | | | | | | | | * configure.ac (--with-pkg-config-prog): Remove. Use the PKG_CONFIG environment variable instead if you need it. * etc/NEWS: Mention this.
* | Use pkg-config's pkg.m4Glenn Morris2014-05-021-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | * configure.ac: Use pkg-config's pkg.m4, rather than reinventing it. Add explicit AC_SUBST's where needed. * autogen.sh (progs): Add pkg-config. (pkg_config_min): New variable. * INSTALL.REPO: Mention pkg-config. * etc/PROBLEMS: Mention a related issue that can occur with a local automake.
* | * configure.ac (AC_CONFIG_MACRO_DIR): Use it.Glenn Morris2014-05-021-0/+2
| |
* | autogen.sh: minor tweaksGlenn Morris2014-05-021-0/+5
| | | | | | | | | | * autogen.sh (get_version): Handle no leading whitespace. (check_version, main): Handle program names with hyphens.
* | Merge from emacs-24; up to 2014-05-01T10:21:17Z!rgm@gnu.orgJuanma Barranquero2014-04-301-0/+4
|\ \ | |/
| * * configure.ac: Treat MirBSD as OpenBSD.Glenn Morris2014-04-291-0/+4
| | | | | | | | Fixes: debbugs:17339
* | Ignore a.outDaniel Colascione2014-04-211-0/+5
| |
* | Link to glib-using libraries when checking for glib.Paul Eggert2014-04-191-0/+6
| | | | | | | | | | | | | | * configure.ac (XGSELOBJ): Include GTK_LIBS, RSVG_LIBS, etc. when testing whether Glib is linked in. Similarly for CFLAGS. Fixes: debbugs:17289
* | * GNUmakefile: Speed up 'make bootstrap' in fresh checkout.Paul Eggert2014-04-161-0/+6
| | | | | | | | | | | | | | (ORDINARY_GOALS): New macro, which excludes 'bootstrap'. (bootstrap, .PHONY): New rules. * INSTALL.REPO: Document current procedure better. Move copyright notice to just before license notice.
* | * Makefile.in (force-info): Remove.Paul Eggert2014-04-161-1/+2
| | | | | | | | | | | | All uses removed. This hack is no longer needed here now that we can assume GNU Make's .PHONY feature works. (bootstrap): No need to make 'info', since 'all' now implies 'info'.
* | * Makefile.in (FRC): Remove.Paul Eggert2014-04-161-0/+6
| | | | | | | | | | All uses removed. This hack is no longer needed here now that we can assume GNU Make's .PHONY feature works.
* | Merge from emacs-24; up to 2014-04-16T15:28:26Z!monnier@iro.umontreal.caPaul Eggert2014-04-161-0/+26
|\ \ | |/
| * Fix the MSDOS build.Eli Zaretskii2014-04-161-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | src/unexcoff.c [MSDOS]: Include libc/atexit.h. (copy_text_and_data): Zero out the atexit chain pointer before dumping Emacs. src/termhooks.h (encode_terminal_code): Update prototype. src/term.c (encode_terminal_code) [DOS_NT]: Make it externally visible for all DOS_NT ports, not just WINDOWSNT. (syms_of_term) [!MSDOS]: Don't define 'tty-menu-*' symbols on MSDOS. src/sysdep.c (emacs_sigaction_init, init_signals): Don't use SIGCHLD unless it is defined. (emacs_pipe) [MSDOS]: Redirect to 'pipe'. src/process.c (close_on_exec, accept4, process_socket): Move into the "ifdef subprocesses" part. (catch_child_signal): Condition by "ifdef subprocesses". (syms_of_process) <Qinternal_default_process_sentinel> <Qinternal_default_process_filter>: Condition by "ifdef subprocesses". src/msdos.h: Add prototypes for new functions. (EINPROGRESS): Define. (O_CLOEXEC): Define to zero. src/msdos.c (check_window_system): Remove unnecessary an incompatible duplicate function. (sys_opendir, readlinkat, faccessat, fstatat, unsetenv): New functions in support of new functionality. src/menu.c (single_menu_item): Add visual indication of submenu also for menus on MSDOS frames. (Fx_popup_menu) [!MSDOS]: Do not call tty_menu_show on MSDOS. src/lisp.h (CHECK_PROCESS) [!subprocesses]: Do not define when async subprocesses aren't supported. src/font.h (FONT_WIDTH) [MSDOS]: MSDOS-specific definition. src/emacs.c (close_output_streams): Zero out errno before calling close_stream. src/dired.c [MSDOS]: Include msdos.h. src/conf_post.h (opendir) [MSDOS]: Redirect to sys_opendir. (DATA_START) [MSDOS]: Define. (SYSTEM_PURESIZE_EXTRA) [MSDOS]: Enlarge by 25K. src/callproc.c (block_child_signal, unblock_child_signal) [MSDOS]: Ifdef away for MSDOS. (record_kill_process) [MSDOS]: Ifdef away the entire body for MSDOS. (call_process_cleanup) [MSDOS]: Ifdef away portions not relevant for MSDOS. (call_process) [MSDOS]: Fix call sequence of dostounix_filename. Use temporary file template that is compatible with mkostemp. Move vfork-related portions under #ifndef MSDOS. (syms_of_callproc): Unify templates of MSDOS and WINDOWSNT. lisp/term/pc-win.el (x-list-fonts, x-get-selection-value): Provide doc strings, as required by snarf-documentation. msdos/sedlisp.inp: msdos/sedlibmk.inp: msdos/sedleim.inp: msdos/sed3v2.inp: msdos/sed2v2.inp: msdos/sed1v2.inp: Update Sed scripts for Emacs 24.4. msdos/inttypes.h: Add PRIdMAX. msdos/INSTALL: Update for Emacs 24.4. msdos/sedadmin.inp: New file.
| * Port to IRIX 6.5.Paul Eggert2014-04-131-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This port requires IRIX cc, as I did not have time to get undump working with the old GCC on the system I had access to, but that's better than nothing. * configure.ac (gl_GCC_VERSION_IFELSE): Remove unused macro that wouldn't have worked anyway, with IRIX cc. (emacs_cv_clang, emacs_cv_sanitize_address) (ns_osx_have_104, ns_osx_have_105): Don't assume '#error' makes the compiler fail, as this doesn't work with IRIX cc. (CFLAGS, LIBS): Don't let the GnuTLS results infect later 'configure' checks. This runs afoul of an IRIX configuration where GnuTLS is in an optional library that also contains getdelim, and causes a later 'configure' to incorrectly think getdelim is supported. * src/alloc.c (TAGGABLE_NULL): New constant, for porting to hosts with nontrivial DATA_SEG_BITS settings. (next_vector, set_next_vector): Use it. * src/conf_post.h (INET6) [IRIX6_5]: Define. (HAVE_GETADDRINFO) [IRIX6_5]: Undef. * src/data.c (BITS_PER_ULL): Don't assume ULLONG_MAX is defined. * src/lisp.h (lisp_h_XPNTR): Don't OR in bits that aren't masked out, for consistency with how TAGGABLE_NULL is computed. Fixes: debbugs:9684
| * Fix creation of emacs.exe hardlink at "make install" time on MS-Windows.Eli Zaretskii2014-04-131-0/+5
| | | | | | | | | | configure.ac (LN_S_FILEONLY, LN_S): Use "/bin/ln" on MinGW, to ensure the MSYS ln.exe is invoked.
* | Remove DATA_SEG_BITS.Paul Eggert2014-04-161-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The DATA_SEG_BITS hack was needed for older 32 bit platforms. As a result of this change, Emacs won't work on IRIX 6.5 with IRIX cc, but that platform is so old that SGI itself stopped supporting it in December 2013. If you still need Emacs on IRIX, please either compile with GCC and port the undumping code, or run './configure --with-wide-int'. * configure.ac (DATA_SEG_BITS): Remove. All uses removed. * src/alloc.c (gdb_make_enums_visible): Update to match lisp.h. * src/lisp.h (GCTYPEBITS): Move definition up, and switch to the DEFINE_GDB_SYMBOL_START way to define it. (NONPOINTER_BITS): New macro. (EMACS_INT): Use it. [!USE_LSB_TAG && !WIDE_EMACS_INT]: Fail, and suggest reporting the problem and/or configuring --with-wide-int. (USE_LSB_TAG): Simplify, based on above changes. (gdb_DATA_SEG_BITS): Remove. All uses removed. * src/vm-limit.c (exceeds_lisp_ptr): Remove. All uses removed.
* | * autogen.sh: Use autoreconf's -f option.Paul Eggert2014-04-131-0/+2
| | | | | | | | Fixes: debbugs:17258
* | Clean up configure-time library handling a bit.Paul Eggert2014-04-131-0/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch was inspired by emacs-24 2014-04-09T13:37:49Z!sdl.web@gmail.com, which fixed a bug due to sloppy library handling in 'configure'. * configure.ac (LIB_MATH, LIB_PTHREAD, LIBXMU): Use AC_SEARCH_LIBS instead of AC_CHECK_LIB as per Autoconf manual. (LIB_MATH, LIB_PTHREAD, HAVE_X11, IMAGEMAGICK_LIBS, GTK_LIBS) (DBUS_LIBS, LIBXMU, XFT_LIBS, LIBXSM, LIBXML2_LIBS, LIBS_MAIL) (with_kerberos): Don't let the library choice infect $LIBS. (dnet_ntoa, cma_open): Remove obsolete tests. (emacs_pthread_function): Probe for pthread_kill, not pthread_self, as that's a bit more selective on GNU/Linux. (LIBXEXT): Remove. (touchlock): Test for existence when $LIBS_MAIL is in use. (AC_CHECK_FUNCS): Use only $LIB_MATH in addition to $LIBS when testing for typical functions like accept4, lrand48. (random, rint): Remove obsolete HP-UX 9 A.09.05 test.
* | Merge from emacs-24; up to 2014-04-04T23:31:02Z!joaotavora@gmail.comGlenn Morris2014-04-101-0/+10
|\ \ | |/
| * * make-dist: Distribute lib-src/update-game-score.exe.manifest.Glenn Morris2014-04-101-0/+1
| |