aboutsummaryrefslogtreecommitdiffstats
path: root/ChangeLog (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Rename configure.in to configure.ac.Paul Eggert2012-07-081-0/+12
| | | | Fixes: debbugs:11603
* Restore deprecation warnings, except for older libpng.Paul Eggert2012-07-081-0/+7
| | | | | | * configure.in (WARN_CFLAGS): Remove -Wno-deprecated-declarations. (HAVE_LIBPNG_PNG_H): Don't bother checking for this if we have png.h. (PNG_DEPRECATED): Define when compiling with older PNG versions.
* Fix ChangeLog typos.Juanma Barranquero2012-07-081-6/+6
|
* * configure.in (WARN_CFLAGS): Add -Wno-deprecated-declarations.Andreas Schwab2012-07-071-0/+4
|
* Improve static checking when configured --with-ns.Paul Eggert2012-07-071-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | See Samuel Bronson's remarks in <http://lists.gnu.org/archive/html/emacs-devel/2012-07/msg00146.html>. * configure.in (WARN_CFLAGS): Omit -Wunreachable-code, as it's a no-op with recent GCC and harmful in earlier ones. Omit -Wsync-nand, as it's irrelevant to Emacs and provokes a warning when compiling with ObjC. Always omit -Wunsafe-loop-optimizations, as we don't mind when optimization is being done correctly. Fix some minor --with-ns problems found by static checking. * src/frame.c (Ftool_bar_pixel_width) [!FRAME_TOOLBAR_WIDTH]: (x_set_font) [!HAVE_X_WINDOWS]: * src/image.c (xpm_load_image) [HAVE_NS]: (x_to_xcolors) [!HAVE_X_WINDOWS && !HAVE_NTGUI]: (x_disable_image) [!HAVE_NS && !HAVE_NTGUI]: Remove unused local. (Fx_parse_geometry) [HAVE_NS]: Don't return garbage. (xpm_load_image) [HAVE_NS && !HAVE_XPM]: Remove unused label. * src/image.c (x_create_bitmap_from_file) [HAVE_NS]: (xpm_load_image, xpm_load) [HAVE_NS && !HAVE_XPM]: * src/nsselect.m (symbol_to_nsstring, ns_string_to_pasteboard_internal): * src/xfaces.c (Fx_load_color_file) [!HAVE_X_WINDOWS]: Fix pointer signedness problem. * src/xfaces.c (FRAME_X_FONT_TABLE): * src/xterm.h (FRAME_X_FONT_TABLE): Remove unused, incompatible macros.
* * configure.in (BROKEN_SA_RESTART): Doc fix.Glenn Morris2012-07-071-0/+2
| | | | * src/sysdep.c, src/s/irix6-5.h: Related comments.
* Replace some src/s undefs by never even checking on relevant platformsGlenn Morris2012-07-061-0/+8
| | | | | | | | | | * configure.in: (getwd): Don't check for it on unixware. (random, rint): Don't check for these on hpux. (res_init, libresolv): Don't check for these on darwin. * src/s/darwin.h (HAVE_RES_INIT, HAVE_LIBRESOLV): * src/s/hpux10-20.h (HAVE_RINT, HAVE_RANDOM): * src/s/unixware.h (HAVE_GETWD): Move undefs to configure (effectively).
* Update Windows port to gnulib changes in ↵Juanma Barranquero2012-07-071-0/+7
| | | | | | | | | | | | | | | | | 2012-07-06T21:07:46Z!eggert@cs.ucla.edu. * lib-src/makefile.w32-in ($(BLD)/ctags.$(O), $(BLD)/etags.$(O)): Update dependencies. * lib/makefile.w32-in (GNULIBOBJS): Add $(BLD)/c-ctype.$(O), $(BLD)/c-strcasecmp.$(O) and $(BLD)/c-strncasecmp.$(O). ($(BLD)/c-ctype.$(O), $(BLD)/c-strcasecmp.$(O)) ($(BLD)/c-strncasecmp.$(O)): New dependencies. * src/makefile.w32-in (DISPEXTERN_H, $(BLD)/regex.$(O)): Update dependencies. * src/s/ms-w32.h [_MSC_VER]: Remove strcasecmp, strncasecmp.
* * configure.in: Document --enable-gcc-warnings better.Paul Eggert2012-07-061-0/+3
|
* Use c_strcasecmp for ASCII case-insensitive comparison.Paul Eggert2012-07-061-0/+9
| | | | Fixes: debbugs:11786
* timespec-sub: avoid duplicate includePaul Eggert2012-07-061-0/+6
|
* Tweaks for make-dist --update.Glenn Morris2012-07-061-0/+6
| | | | | | * make-dist [update]: Let autoreconf figure out what needs updating. Use `make info-real'. leim/leim-list.el should always exist. Check cd return value.
* Port to OpenBSD 5.1 amd64.Paul Eggert2012-07-061-0/+6
|
* Merge from gnulib.Paul Eggert2012-07-041-0/+6
| | | | | * lib/alloca.in.h: New version from gnulib, incorporating: 2012-07-03 alloca: add support for HP NonStop TNS/E native
* Fix compilation with --enable-gcc-warnings and -O1Dmitry Antipov2012-07-041-0/+5
| | | | | | | | | | optimization level. * configure.in: If --enable-gcc-warnings, disable -Wunsafe-loop-optimizations for -O1 optimization level. * src/doprnt.c (doprnt): Change type of tem to int, initialize to avoid compiler warning. Add eassert. * src/search.c (simple_search): Initialize match_byte to avoid compiler warning. Add eassert.
* Make --no-site-lisp work for --enable-locallisppath elementsGlenn Morris2012-06-301-0/+8
| | | | | | | | | | | | | | | | | without "site-lisp" in the name. Ref http://debbugs.gnu.org/10208#25, point iii). * configure.in (standardlisppath): New output variable. (lisppath): Use standardlisppath. * Makefile.in (standardlisppath): New, set by configure. (epaths-force): Use standardlisppath and locallisppath rather than lisppath. * src/epaths.in (PATH_SITELOADSEARCH): New. * src/lread.c (init_lread): Use PATH_SITELOADSEARCH. * nt/paths.h (PATH_SITELOADSEARCH): New. Fixes: debbugs:11658
* * configure.in: Fix previous change. Remove --enable-asserts.Dmitry Antipov2012-06-281-0/+7
| | | | | | (CPPFLAGS): Remove conditional -DXASSERTS=1. Add --enable-link-time-optimization. * INSTALL: Mention this.
* * configure.in: Add glyphs category to --enable-checking option.Dmitry Antipov2012-06-281-0/+5
| | | | | | | | | | | | | | | | | | (GLYPH_DEBUG): Define if glyphs debugging is enabled. * src/dispextern.h (GLYPH_DEBUG): Now defined in config.h if enabled with --enable-checking=[all,glyphs] configure option. Fix GLYPH_DEBUG usage assuming that it may be undefined, adjust comments accordingly. * src/dispnew.c: Fix GLYPH_DEBUG usage assuming that it may be undefined, adjust comments accordingly. * src/image.c: Likewise. * src/scroll.c: Likewise. * src/w32fns.c: Likewise. * src/w32term.c: Likewise. * src/xdisp.c: Likewise. * src/xfaces.c: Likewise. * src/xfns.c: Likewise. * src/xterm.c: Likewise.
* Generalize run-time debugging checks.Dmitry Antipov2012-06-281-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * configure.in (ENABLE_CHECKING): Update comment. * src/dispextern.h (XASSERTS): Remove. * src/fontset.c (xassert): Remove. Convert from xassert to eassert. * src/alloc.c: Convert from xassert to eassert. * src/bidi.c: Likewise. * src/dispnew.c: Likewise. * src/fns.c: Likewise. * src/fringe.c: Likewise. * src/ftfont.c: Likewise. * src/gtkutil.c: Likewise. * src/image.c: Likewise. * src/keyboard.c: Likewise. * src/menu.c: Likewise. * src/process.c: Likewise. * src/scroll.c: Likewise. * src/sound.c: Likewise. * src/term.c: Likewise. * src/w32console.c: Likewise. * src/w32fns.c: Likewise. * src/w32term.c: Likewise. * src/window.c: Likewise. * src/xdisp.c: Likewise. * src/xfaces.c: Likewise. * src/xfns.c: Likewise. * src/xselect.c: Likewise. * src/xterm.c: Likewise.
* * configure.in: Don't check for sys/select.h, sys/time.h, utime.h.Paul Eggert2012-06-271-0/+4
| | | | | Emacs proper no longer uses these headers, and can rely on Gnulib for these checks.
* Merge from gnulib.Paul Eggert2012-06-271-0/+6
| | | | | * m4/getopt.m4: Copy new version from gnulib, incorporating: getopt-posix: No longer guarantee that option processing is resettable.
* * configure.in: Only check for paxctl on gnu-linux.Glenn Morris2012-06-271-0/+2
| | | | | | | http://debbugs.gnu.org/11398#26 NetBSD has a "paxctl" that does not support the same options as the GNU/Linux version...
* Remove paths.elGlenn Morris2012-06-271-0/+4
| | | | | | | | | | | | * lisp/info.el (Info-default-directory-list): Move here from paths.el. * lisp/paths.el: Remove file, which is now empty. * lisp/loadup.el: No longer load "paths". * src/lisp.mk (lisp): Remove paths.elc. * lib-src/makefile.w32-in (lisp2): Remove paths.el. * INSTALL: Remove references to paths.el.
* Fix parallel bootstrap on MS-Windows in lib/ and lisp/.Eli Zaretskii2012-06-261-0/+7
| | | | | | | | | | | lib/makefile.w32-in ($(GNULIBOBJS)): Depend on stamp_BLD. This replaces separate dependency for each object file, which required the same object file to be mentioned twice, causing failures in parallel builds. lisp/makefile.w32-in (compile, compile-always): Depend on update-subdirs, not on subdirs.el. Otherwise, several different sub-targets of 'bootstrap' running in parallel could simultaneously write to subdirs.el, producing a garbled file.
* Clean out last vestiges of the old HAVE_CONFIG_H stuff.Paul Eggert2012-06-251-0/+5
|
* * configure.in (AC_CHECK_FUNCS): Detect library functionsDmitry Antipov2012-06-251-0/+5
| | | | | | | | | | | strcasecmp and strncasecmp. * lib-src/etags.c (etags_strcasecmp, etags_strncasecmp): Define to library functions strcasecmp and strncasecmp if available. * lwlib/lwlib.c (my_strcasecmp): Rename to lwlib_strcasecmp, which may be defined to library function strcasecmp if available. * src/dispextern.c (xstrcasecmp): Define to library function strcasecmp if available. * src/xfaces.c: Do not use xstrcasecmp if strcasecmp is available.
* Switch from NO_RETURN to C11's _Noreturn.Paul Eggert2012-06-241-0/+7
| | | | Fixes: debbugs:11750
* Improve port of struct timespec to MS-Windows.Eli Zaretskii2012-06-241-0/+11
| | | | | | | | | | | | | | | | | | | lib/makefile.w32-in ($(BLD)/dtotimespec.$(O)): ($(BLD)/timespec-add.$(O)): ($(BLD)/timespec-sub.$(O)): Don't depend on $(EMACS_ROOT)/nt/inc/sys/time.h. lib/stat-time.h: lib/timespec.h: lib/utimens.h: Revert last change. src/makefile.w32-in (TIMESPEC_H): Remove nt/inc/sys/time.h. (SYSTIME_H): Add nt/inc/sys/time.h. src/systime.h [WINDOWSNT]: Include sys/time.h. src/s/ms-w32.h (struct timespec): Definition moved from nt/inc/sys/time.h. Suggested by Paul Eggert <eggert@cs.ucla.edu>. nt/inc/sys/time.h (struct timespec): Don't define it here, it is now defined in src/s/ms-w32.h. Fixes: debbugs:9000
* Merge from gnulib.Paul Eggert2012-06-231-0/+6
| | | | | * m4/getopt.m4: Copy new version from gnulib, incorporating: getopt-gnu: Handle suboptimal getopt_long's abbreviation handling.
* Fix the MS-Windows build broken by 2012-06-22T21:17:42Z!eggert@cs.ucla.edu.Eli Zaretskii2012-06-231-0/+15
| | | | | | | | | | | | | | | | | | | | nt/inc/sys/time.h (struct timespec): Define. lib/makefile.w32-in (GNULIBOBJS): Add $(BLD)/dtotimespec.$(O), $(BLD)/gettime.$(O), $(BLD)/timespec-add.$(O), and $(BLD)/timespec-sub.$(O). ($(BLD)/dtotimespec.$(O)): ($(BLD)/gettime.$(O)): ($(BLD)/timespec-add.$(O)): ($(BLD)/timespec-sub.$(O)): New dependencies. lib/stat-time.h: lib/timespec.h: lib/utimens.h: Include sys/time.h src/w32.c (fdutimens): New function. src/w32proc.c (sys_select): Adapt to change in the EMACS_TIME type. src/s/ms-w32.h (pselect): Redirect to sys_select. src/sysselect.h [WINDOWSNT]: Don't include sys/select.h. Fixes: debbugs:9000
* * configure.in: Don't use AC_CHECK_FUNCS_ONCE, which doesn't useAndreas Schwab2012-06-231-0/+5
| | | | the correct CFLAGS and LIBS.
* Support higher-resolution time stamps.Paul Eggert2012-06-221-0/+21
| | | | Fixes: debbugs:9000
* Merge from gnulib.Paul Eggert2012-06-221-0/+15
| | | | | | | | | | | | | | * lib/filemode.h, lib/signal.in.h, lib/stat.c, lib/stdint.in.h: * lib/stdlib.in.h, lib/unistd.in.h, m4/extensions.m4, m4/getloadavg.m4: * m4/getopt.m4, m4/gnulib-common.m4, m4/largefile.m4, m4/mktime.m4: * m4/multiarch.m4, m4/nocrash.m4, m4/stdio_h.m4, m4/time_r.m4: Copy new versions from gnulib, incorporating the following changes: 2012-06-22 time_r: fix typo that always overrode localtime_r decl 2012-06-22 Write "Mac OS X" instead of "MacOS X". 2012-06-21 mktime: fix integer overflow in 'configure'-time test 2012-06-21 nonblocking: Avoid compilation error on mingw64. 2012-06-19 stat, fstat: Avoid warnings on mingw64. 2012-06-19 getopt-gnu: Fix exit code overflow in autoconf test.
* ChangeLog fixGlenn Morris2012-06-161-5/+0
|
* Implement wave-style variant of underlining.Alp Aker2012-06-161-0/+5
| | | | | | | | | | | | | | | | | | | | * doc/lispref/display.texi: Document new face attribute. * lisp/cus-face.el (custom-face-attributes): Add wave-style underline attribute. * lisp/faces.el (set-face-attribute): Update docstring. * src/dispextern.h (face_underline_type): New enum. (face): Add field for underline type. * src/nsterm.m (ns_draw_underwave): New function. (ns_draw_text_decoration): Use it. * src/w32term.c (w32_restore_glyph_string_clip, w32_draw_underwave): New functions. (x_draw_glyph_string): Use them. * src/xfaces.c (Qline, Qwave): New Lisp objects. (check_lface_attrs, merge_face_ref) (Finternal_set_lisp_face_attribute, realize_x_face): Handle wave-style underline face attributes. * src/xterm.c (x_draw_underwave): New function. (x_draw_glyph_string): Use it.
* Use a simple struct to implement compile time checks for the Lisp_Object typeAndreas Schwab2012-06-131-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * configure.in: Rename --enable-use-lisp-union-type to --enable-check-lisp-object-type and define CHECK_LISP_OBJECT_TYPE instead of USE_LISP_UNION_TYPE. * admin/make-emacs: Rename --union-type to --check-lisp-type. Define CHECK_LISP_OBJECT_TYPE insted of USE_LISP_UNION_TYPE. * admin/CPP-DEFINES (DEBUG_LISP_OBJECT_TYPE): Renamed from USE_LISP_UNION_TYPE. * src/lisp.h (Lisp_Object) [CHECK_LISP_OBJECT_TYPE]: Define as struct instead of union. (XLI, XIL): Define. (XHASH, XTYPE, XINT, XUINT, make_number, XSET, XPNTR, XUNTAG): Use them. * src/emacs.c (gdb_use_struct): Renamed from gdb_use_union. * src/.gdbinit: Check gdb_use_struct instead of gdb_use_union. * src/alloc.c (widen_to_Lisp_Object): Removed. (mark_memory): Use XIL instead of widen_to_Lisp_Object. * src/frame.c (delete_frame): Remove outdated comment. * src/w32fns.c (Fw32_register_hot_key): Use XLI instead of checking USE_LISP_UNION_TYPE. (Fw32_unregister_hot_key): Likewise. (Fw32_toggle_lock_key): Likewise. * src/w32menu.c (add_menu_item): Likewise. (w32_menu_display_help): Use XIL instead of checking USE_LISP_UNION_TYPE. * src/w32heap.c (allocate_heap): Don't check USE_LISP_UNION_TYPE. (init_heap): Likewise. * src/w32term.c (w32_read_socket): Update comment.
* Remove src/s/sol2-10.hGlenn Morris2012-06-121-0/+3
| | | | | | | | | * configure.in (HAVE_PROCFS, _STRUCTURED_PROC): New AC_DEFINEs. (opsysfile): Set specially for sol2-10. * src/s/gnu-linux.h (HAVE_PROCFS): Move to configure. * src/s/sol2-10.h: Remove file.
* Remove src/s/hpux11.hGlenn Morris2012-06-121-0/+6
| | | | | | | * configure.in (BROKEN_SA_RESTART, USG_SUBTTY_WORKS): New AC_DEFINEs. (opsysfile): Set specially for hpux11. * src/s/hpux11.h: Remove file.
* Remove a couple of src/s filesGlenn Morris2012-06-121-0/+2
| | | | | | * configure.in (opsysfile): Set specially for gnu-kfreebsd, openbsd. * src/s/gnu-kfreebsd.h, src/s/openbsd.h: Remove files.
* Move NO_TERMIO, BROKEN_SIGIO from src/s to configureGlenn Morris2012-06-121-0/+2
| | | | | | | | | | * configure.in (NO_TERMIO, BROKEN_SIGIO): New AC_DEFINEs. * src/s/bsd-common.h, src/s/darwin.h, src/s/gnu-kfreebsd.h, src/s/hpux10-20.h: Remove NO_TERMIO. * src/s/hpux10-20.h, src/s/openbsd.h, src/s/usg5-4-common.h: Remove BROKEN_SIGIO.
* * configure.in: Coalesce some function checking.Paul Eggert2012-06-121-0/+6
| | | | | This makes 'configure' a bit smaller. Prefer AC_CHECK_FUNCS_ONCE for functions that we always check for.
* * configure.in: Anticipate platforms with no src/s file.Glenn Morris2012-06-121-0/+4
| | | | This is based on the previous treatment of src/m files.
* Handle availability of MagickMergeImageLayers and MagickExportImagePixelsChong Yidong2012-06-121-0/+4
| | | | | | | | | | * configure.in: Check for MagickMergeImageLayers. * src/image.c (imagemagick_load_image): Use MagickFlattenImage if MagickMergeImageLayers is undefined. Use pixel pusher loop if MagickExportImagePixels is undefined. Fixes: debbugs:11678
* Move SYSTEM_TYPE from src/s to configureGlenn Morris2012-06-111-0/+4
| | | | | | | | | | | | | * configure.in (SYSTEM_TYPE): New AC_DEFINE. * msdos/sed2v2.inp (SYSTEM_TYPE): Set it. * nt/config.nt (SYSTEM_TYPE): Define it. * src/s/aix4-2.h, src/s/bsd-common.h, src/s/cygwin.h, src/s/darwin.h: * src/s/gnu-kfreebsd.h, src/s/gnu-linux.h, src/s/gnu.h, src/s/hpux10-20.h: * src/s/irix6-5.h, src/s/ms-w32.h, src/s/msdos.h, src/s/template.h: * src/s/usg5-4-common.h: Remove SYSTEM_TYPE.
* * configure.in (dbus_type_is_valid): Check for library function.Michael Albinus2012-06-091-1/+5
|
* Remove lib-src/vcdiffGlenn Morris2012-06-051-0/+4
| | | | | | | | | | * lib-src/vcdiff: Remove file. * lib-src/Makefile.in (SCRIPTS, STAMP_SCRIPTS): Remove vcdiff. (stamp-vcdiff): Remove. * INSTALL, make-dist: Remove vcdiff. * lisp/emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff
* Remove lib-src/rcs-checkinGlenn Morris2012-06-031-0/+4
| | | | | | | | | | | | | | | | | | | This script isn't used by Emacs, and I can't imagine anyone else is using it any more either... From the commentary: "This script is intended to be used to convert files with an old-Emacs-style version history for use with VC (the Emacs 19 version-control interface), which likes to use RCS as its back end." * lib-src/rcs-checkin: Remove file. * lib-src/Makefile.in (INSTALLABLE_SCRIPTS, STAMP_INST_SCRIPTS): Remove rcs-checkin. (stamp-rcs-checkin): Remove. * INSTALL, make-dist: Remove rcs-checkin. * admin/quick-install-emacs (PUBLIC_LIBSRC_SCRIPTS): Remove rcs-checkin. * doc/man/rcs-checkin.1: Remove.
* Workaround dumping problem on PaX-enabled Linux kernelsUlrich Müller2012-06-031-0/+4
| | | | | | | | | | | | * configure.in (PAXCTL): Check for paxctl. * src/Makefile.in (PAXCTL): Define. (temacs$(EXEEXT)): Disable memory randomization for the temacs binary via PaX flags if the paxctl utility is available. (emacs$(EXEEXT), bootstrap-emacs$(EXEEXT)): Restore PaX flags to their default. Fixes: debbugs:11398
* Remove --disable-maintainer-mode option from 'configure'. (Bug#11555)Paul Eggert2012-06-011-0/+10
| | | | | | | | | | | It is confusingly named and rarely useful. See, for example, <http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00089.html>. * INSTALL.BZR: Don't mention --disable-maintainer-mode. * Makefile.in (MAINTAINER_MODE_FLAG): Remove; all uses removed. * configure.in: Remove --disable-maintainer-mode. (USE_MAINTAINER_MODE, MAINT): Remove. * admin/make-tarball.txt: Don't worry about maintainer mode. * etc/NEWS: Mention this.
* Make 'configure' a bit smaller and faster.Paul Eggert2012-05-271-3/+17
| | | | | | | | | | | | | | * configure.in (INSTALL_INFO): Set it with one call to AC_PATH_PROG, not three. (PKG_CONFIG): Hoist this out of PKG_CHECK_MODULES, since it's so likely that it'll be needed. (AC_CHECK_HEADERS_ONCE): Prefer to AC_CHECK_HEADERS where either works. (AC_PROG_MAKE_SET): Remove; Automake does this. (sysinfo): Do not check for this function, as it's never used. (tzset): Check for this function just once. * admin/CPP-DEFINES: Remove HAVE_SYSINFO. * m4/manywarnings.m4: Sync from gnulib, incorporating the following: 2012-05-27 manywarnings: remove duplicate -Wmultichar entry