1. 01 May, 2012 6 commits
  2. 26 Apr, 2012 1 commit
    • Glenn Morris's avatar
      Remove doc/lispref/tindex.pl · 562e638f
      Glenn Morris authored
      I think it is not needed any more.
      
      * doc/lispref/tindex.pl: Remove file.
      * make-dist: No more doc/lispref/tindex.pl.
      562e638f
  3. 22 Apr, 2012 2 commits
    • Michael Albinus's avatar
      Move functions from C to Lisp. Make non-blocking method calls · dcbf5805
      Michael Albinus authored
      the default.  Implement further D-Bus standard interfaces.
      
      * configure.in (dbus_validate_bus_name, dbus_validate_path)
      (dbus_validate_interface, dbus_validate_member): Check also for
      these library functions
      
      * dbusbind.c (DBUS_NUM_MESSAGE_TYPES): Declare.
      (QCdbus_request_name_allow_replacement)
      (QCdbus_request_name_replace_existing)
      (QCdbus_request_name_do_not_queue)
      (QCdbus_request_name_reply_primary_owner)
      (QCdbus_request_name_reply_in_queue)
      (QCdbus_request_name_reply_exists)
      (QCdbus_request_name_reply_already_owner): Move to dbus.el.
      (QCdbus_registered_serial, QCdbus_registered_method)
      (QCdbus_registered_signal): New Lisp objects.
      (XD_DEBUG_MESSAGE): Use sizeof.
      (XD_MESSAGE_TYPE_TO_STRING, XD_OBJECT_TO_STRING)
      (XD_DBUS_VALIDATE_BUS_ADDRESS, XD_DBUS_VALIDATE_OBJECT)
      (XD_DBUS_VALIDATE_BUS_NAME, XD_DBUS_VALIDATE_PATH)
      (XD_DBUS_VALIDATE_INTERFACE, XD_DBUS_VALIDATE_MEMBER): New macros.
      (XD_CHECK_DBUS_SERIAL): Rename from CHECK_DBUS_SERIAL_GET_SERIAL.
      (xd_signature, xd_append_arg): Allow float for integer types.
      (xd_get_connection_references): New function.
      (xd_get_connection_address): Rename from xd_initialize.  Return
      cached address.
      (xd_remove_watch): Do not unset $DBUS_SESSION_BUS_ADDRESS.
      (xd_close_bus): Rename from Fdbus_close_bus.  Not needed on Lisp
      level.
      (Fdbus_init_bus): New optional arg PRIVATE.  Cache address.
      Return number of recounts.
      (Fdbus_get_unique_name): Make stronger parameter check.
      (Fdbus_message_internal): New defun.
      (Fdbus_call_method, Fdbus_call_method_asynchronously)
      (Fdbus_method_return_internal, Fdbus_method_error_internal)
      (Fdbus_send_signal, Fdbus_register_service)
      (Fdbus_register_signal, Fdbus_register_method): Move to dbus.el.
      (xd_read_message_1): Obey new structure of Vdbus_registered_objects.
      (xd_read_queued_messages): Obey new structure of Vdbus_registered_buses.
      (Vdbus_compiled_version, Vdbus_runtime_version)
      (Vdbus_message_type_invalid, Vdbus_message_type_method_call)
      (Vdbus_message_type_method_return, Vdbus_message_type_error)
      (Vdbus_message_type_signal): New defvars.
      (Vdbus_registered_buses, Vdbus_registered_objects_table): Adapt
      docstring.
      
      * net/dbus.el (dbus-message-internal): Declare function.  Remove
      unneeded function declarations.
      (defvar dbus-message-type-invalid, dbus-message-type-method-call)
      (dbus-message-type-method-return, dbus-message-type-error)
      (dbus-message-type-signal): Declare variables.  Remove local
      definitions.
      (dbus-interface-dbus, dbus-interface-peer)
      (dbus-interface-introspectable, dbus-interface-properties)
      (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
      Adapt docstring.
      (dbus-interface-objectmanager): New defconst.
      (dbus-call-method, dbus-call-method-asynchronously)
      (dbus-send-signal, dbus-method-return-internal)
      (dbus-method-error-internal, dbus-register-service)
      (dbus-register-signal, dbus-register-method): New defuns, moved
      from dbusbind.c
      (dbus-call-method-handler, dbus-setenv)
      (dbus-get-all-managed-objects, dbus-managed-objects-handler): New
      defuns.
      (dbus-call-method-non-blocking): Make it an obsolete function.
      (dbus-unregister-object, dbus-unregister-service)
      (dbus-handle-event, dbus-register-property)
      (dbus-property-handler): Obey the new structure of
      `bus-registered-objects'.
      (dbus-introspect): Use `dbus-call-method'.  Use a timeout.
      (dbus-get-property, dbus-set-property, dbus-get-all-properties):
      Use `dbus-call-method'.
      
      * dbus.texi (Version): New node.
      (Properties and Annotations): Mention the object manager
      interface.  Describe dbus-get-all-managed-objects.
      (Type Conversion): Floating point numbers are allowed, if an
      anteger does not fit Emacs's integer range.
      (Synchronous Methods): Remove obsolete dbus-call-method-non-blocking.
      (Asynchronous Methods): Fix description of
      dbus-call-method-asynchronously.
      (Receiving Method Calls): Fix some minor errors.  Add
      dbus-interface-emacs.
      (Signals): Describe unicast signals and the new match rules.
      (Alternative Buses): Add the PRIVATE optional argument to
      dbus-init-bus.  Describe its new return value.  Add dbus-setenv.
      dcbf5805
    • Paul Eggert's avatar
      * configure.in (doug_lea_malloc): Check for __malloc_initialize_hook. · 4b5b5289
      Paul Eggert authored
      With glibc 2.14 or later, when compiled with GCC 4.7.0's
      -Werror=deprecated-declarations flag, use of hooks like
      __malloc_initialize_hook causes compilation to fail because these
      hooks are deprecated.  Modify 'configure' to check for these hooks too.
      Simplify the 'configure' code to test for all the hooks at once.
      (emacs_cv_var___after_morecore_hook): Remove, replacing with ...
      (emacs_cv_var_doug_lea_malloc): ... this new var.
      4b5b5289
  4. 21 Apr, 2012 2 commits
  5. 20 Apr, 2012 1 commit
  6. 18 Apr, 2012 1 commit
  7. 17 Apr, 2012 2 commits
    • Paul Eggert's avatar
      INSTALL: Mention --enable-gcc-warnings. · 67546201
      Paul Eggert authored
      67546201
    • Dmitry Antipov's avatar
      Add functions to get system user names, group names · 316411f0
      Dmitry Antipov authored
      Note from committer:
      I removed the part that adds grp.h to AC_CHECK_HEADERS and
      
      +#ifdef HAVE_GRP_H
       #include <grp.h>
      +#endif
      
      to src/dired.c, because the latter has unconditionally included grp.h
      since 2003, and uses it eg in stat_gname.
      
      * configure.in (AC_CHECK_FUNCS): Add getpwent, endpwent, getgrent, endgrent.
      
      * src/dired.c (Fsystem_users, Fsystem_groups): New functions.
      (syms_of_dired): Add them.
      
      Fixes: debbugs:7900
      316411f0
  8. 16 Apr, 2012 2 commits
  9. 15 Apr, 2012 1 commit
  10. 12 Apr, 2012 2 commits
  11. 11 Apr, 2012 1 commit
    • Glenn Morris's avatar
      Repurpose C_SWITCH_X_SYSTEM as GNUSTEP_CFLAGS · 2f097256
      Glenn Morris authored
      This is the only thing left that uses it.
      
      * configure.in (GNUSTEP_CFLAGS): Rename from C_SWITCH_X_SYSTEM.
      
      * src/Makefile.in (GNUSTEP_CFLAGS): Rename from C_SWITCH_X_SYSTEM.
      
      * lwlib/Makefile.in (C_SWITCH_X_SYSTEM): Remove.
      (ALL_CFLAGS): Remove C_SWITCH_X_SYSTEM.
      
      * oldXMenu/Makefile.in (C_SWITCH_X_SYSTEM): Remove.
      (ALL_CFLAGS): Remove C_SWITCH_X_SYSTEM.
      
      * msdos/sedlibmk.inp, msdos/sed1v2.inp:
      GNUSTEP_CFLAGS replaces C_SWITCH_X_SYSTEM.
      2f097256
  12. 10 Apr, 2012 1 commit
  13. 09 Apr, 2012 4 commits
    • Ted Zlatanov's avatar
      Add documentation for the Emacs GnuTLS integration. · 6b4f4a2d
      Ted Zlatanov authored
      * info/dir (File):
      * Makefile.in: Add emacs-gnutls to the info directory and the
      INFO_FILES target.
      
      * doc/misc/emacs-gnutls.texi: Add documentation for the GnuTLS integration.
      
      * doc/misc/gnutls.texi: New file to explain the GnuTLS integration.
      
      * doc/misc/Makefile.in: Add gnutls.texi to build.
      6b4f4a2d
    • Paul Eggert's avatar
      configure: new option --enable-gcc-warnings · b8df54ff
      Paul Eggert authored
      I have been using this change for many months in my private copy
      of Emacs, and have used it to find several bugs.  It's mature
      enough to publish now.
      * Makefile.in (GNULIB_MODULES): Add warnings, manywarnings.
      * configure.in: Support --enable-gcc-warnings, in the style of
      other GNU packages such as coreutils.
      (C_WARNINGS_SWITCH): Remove, replacing with...
      (WARN_CFLAGS, GNULIB_WARN_CFLAGS): New variable.
      (PKG_CHECK_MODULES, C_SWITCH_X_SITE): Use -isystem rather than -I,
      when including system files with GCC.
      * etc/NEWS: Mention --enable-gcc-warnings.
      * lib/Makefile.am (AM_CFLAGS): New macro.
      * m4/manywarnings.m4, m4/warnings.m4: New files, from gnulib.
      * lib-src/Makefile.in (C_WARNINGS_SWITCH): Remove.
      (WARN_CFLAGS, WERROR_CFLAGS): New macros.
      (BASE_CFLAGS): Use new macros rather than old.
      * lwlib/Makefile.in (C_WARNINGS_SWITCH): Remove.
      (WARN_CFLAGS, WERROR_CFLAGS): New macros.
      (ALL_CFLAGS): Use new macros rather than old.
      * oldXMenu/Makefile.in (C_WARNINGS_SWITCH): Remove.
      (WARN_CFLAGS, WERROR_CFLAGS): New macros.
      (ALL_CFLAGS): Use new macros rather than old.
      * src/Makefile.in (C_WARNINGS_SWITCH): Remove.
      (WARN_CFLAGS, WERROR_CFLAGS): New macros.
      (ALL_CFLAGS): Use new macros rather than old.
      * src/process.c: Ignore -Wstrict-overflow to work around GCC bug 52904.
      * src/regex.c: Ignore -Wstrict-overflow.  If !emacs, also ignore
      -Wunused-but-set-variable, -Wunused-function, -Wunused-macros,
      -Wunused-result, -Wunused-variable.  This should go away once
      the Emacs and Gnulib regex code is merged.
      (xmalloc, xrealloc): Now static.
      b8df54ff
    • Glenn Morris's avatar
      Small changes for top-level Makefile · fd9d85c2
      Glenn Morris authored
      * Makefile.in (leim): Check cd return value.  Pass fewer variables.
      (install-leim): Check cd return value.  Pass $MFLAGS.
      (install-strip): Pass $MFLAGS.
      fd9d85c2
    • Glenn Morris's avatar
      * configure.in: Require makeinfo >= 4.7. · 23df914b
      Glenn Morris authored
      Eg org.texi has been using 4.7 functions for some time.
      
      Fixes: debbugs:10910
      23df914b
  14. 07 Apr, 2012 3 commits
    • Paul Eggert's avatar
      Check pkg-config exit status when configuring (Bug#10626). · bf6bba2b
      Paul Eggert authored
      * configure.in (PKG_CHECK_MODULES): Do not assume that pkg-config
      works; check its exit status.  Problem reported by Jordi Gutiérrez
      Hermoso in
      <http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00787.html>.
      bf6bba2b
    • Glenn Morris's avatar
      Bump trunk version to 24.1.50. · f3774f20
      Glenn Morris authored
      * README, configure.in (AC_INIT): Bump version to 24.1.50.
      
      * doc/emacs/emacsver.texi (EMACSVER): Bump version to 24.1.50.
      
      * doc/man/emacs.1: Bump version to 24.1.50.
      
      * msdos/sed2v2.inp: Bump version to 24.1.50.
      
      * nextstep/Cocoa/Emacs.base/Contents/Info.plist:
      * nextstep/Cocoa/Emacs.base/Contents/Resources/English.lproj/InfoPlist.strings:
      * nextstep/GNUstep/Emacs.base/Resources/Info-gnustep.plist:
      * nextstep/GNUstep/Emacs.base/Resources/Emacs.desktop:
      Bump version to 24.1.50.
      
      * nt/config.nt, nt/makefile.w32-in, nt/emacs.rc, nt/emacsclient.rc:
      Bump version to 24.1.50.
      f3774f20
    • Eli Zaretskii's avatar
      Fix parallel build and bootstrap on MS-Windows. · d67a9a85
      Eli Zaretskii authored
       nt/makefile.w32-in: (all): Don't depend on stamp_BLD and on maybe-bootstrap.
       (all-other-dirs-$(MAKETYPE)): Depend on maybe-bootstrap.
       (bootstrap-gmake): Invoke the "clean" and build targets in 2
       separate commands, so they run in that order even under "make -j".
       lib/makefile.w32-in (gnulib, all): Don't depend on stamp_BLD.
       lib-src/makefile.w32-in (ALL): Now the list of executables, not of phony
       targets.
       (.PHONY): Only make-docfile is its prerequisite now.
       (make-docfile): Don't depend on stamp_BLD.  Add a comment about
       the need in this target.
       (ctags, etags, ebrowse, hexl, movemail, emacsclient)
       (test-distrib): Phony targets removed.
       ($(BLD)/test-distrib.exe): Run test-distrib as part of the recipe.
       (all): Don't depend on stamp_BLD.
      d67a9a85
  15. 04 Mar, 2012 1 commit
    • Paul Eggert's avatar
      configure: fix ncurses 'configure' issue on Solaris 10 (Bug#10677) · f20f95c6
      Paul Eggert authored
      * configure.in (LIBS_TERMCAP): Default this to the result of
      the tputs library search.  Do a run-time test for the linkability
      of tputs unless cross-compiling, as that's more reliable if the
      link flags and libraries are messed up.  Don't change LIBS as
      a result of the test, as that may mess up later tests.
      f20f95c6
  16. 01 Mar, 2012 1 commit
  17. 05 Feb, 2012 3 commits
  18. 04 Feb, 2012 1 commit
  19. 02 Feb, 2012 1 commit
    • Glenn Morris's avatar
      Native scroll-bars are not implemented for Nextstep (bug#10673) · 44f92739
      Glenn Morris authored
      * configure.in [HAVE_NS]: Error if use --without-toolkit-scroll-bars.
      
      * src/nsterm.m (syms_of_nsterm) <x-toolkit-scroll-bars>:
      Unconditionally set to t.
      
      * src/nsterm.m (syms_of_nsterm) <x-toolkit-scroll-bars>:
      * src/w32term.c (syms_of_w32term) <x-toolkit-scroll-bars>:
      * src/xterm.c (syms_of_xterm) <x-toolkit-scroll-bars>: Doc fix.
      44f92739
  20. 01 Feb, 2012 1 commit
    • Paul Eggert's avatar
      Port to older Solaris 10 versions (Bug#10677). · 6df37268
      Paul Eggert authored
      Bug reported by Chong Yidong for SunOS 5.10 Generic_127111-11 sparc.
      I cannot reproduce it on SunOS 5.10 Generic_141444-09 sparc but
      possibly this is because Sun fixed the 'stat' bug in my version.
      * Makefile.in (GNULIB_TOOL_FLAGS): Do not avoid the pathmax module.
      * lib/pathmax.h, m4/pathmax.m4: New files, from gnulib.
      * lib/gnulib.mk, m4/gl-comp.m4: Regenerate.
      These changes are based on gnulib version
      4f11d6bebc3098c64ffde27079ab0d0cecfd0cdc dated 2011-10-07 20:59:10,
      because Emacs is in feature freeze and we do not want to merge any
      more-recent changes from gnulib.
      6df37268
  21. 31 Jan, 2012 2 commits
  22. 30 Jan, 2012 1 commit