1. 25 Jan, 2016 2 commits
  2. 24 Jan, 2016 13 commits
    • Paul Eggert's avatar
      Merge from gnulib · 1698036a
      Paul Eggert authored
      This incorporates:
      2016-01-24 openat_proc_name: fix last '/' overwritten on OS/2 kLIBC
      2016-01-24 closedir, dirfd, opendir: port to OpenSolaris 5.10
      2016-01-15 detect utimes() correctly on OS/2 kLIBC
      2016-01-15 openat_proc_name: port to OS/2 kLIBC
      2016-01-14 stdint: check _INTPTR_T_DECLARED for intptr_t etc.
      2016-01-14 opendir, closedir, dirfd, fdopendir: port to OS/2 kLIBC
      2016-01-14 dup, dup2, fcntl: support a directory fd on OS/2 kLIBC
      2016-01-14 binary-io: don't put fd in binary mode if a console on EMX
      2016-01-14 sig2str: list all signals on FreeBSD >= 7
      2016-01-13 acl-permissions: port to USE_ACL==0 platforms
      2016-01-12 mktime: rename macro to avoid glibc clash
      2016-01-12 Port "$@" to OpenIndiana ksh93
      2016-01-12 Port Universal Time settings to strict POSIX
      * build-aux/gitlog-to-changelog, build-aux/update-copyright:
      * doc/misc/texinfo.tex, lib/acl-internal.c, lib/acl-internal.h:
      * lib/binary-io.h, lib/dirent.in.h, lib/dirfd.c, lib/dup2.c:
      * lib/fcntl.c, lib/fdopendir.c, lib/mktime.c, lib/openat-proc.c:
      * lib/sig2str.h, lib/stdint.in.h, m4/dirfd.m4, m4/dup2.m4:
      * m4/fcntl.m4, m4/utimes.m4:
      Copy from gnulib.
      * m4/gnulib-comp.m4: Regenerate.
    • Alan Mackenzie's avatar
      Expunge "allow" + infinitive without direct object from source and doc. · fbce4757
      Alan Mackenzie authored
      Do the same for "permit", "enable", and "prevent".
      * doc/emacs/mule.texi:
      * doc/lispref/control.texi:
      * doc/lispref/display.texi:
      * doc/lispref/frames.texi:
      * doc/lispref/functions.texi:
      * doc/lispref/nonascii.texi:
      * doc/lispref/streams.texi:
      * doc/lispref/windows.texi:
      * doc/misc/dbus.texi:
      * doc/misc/eww.texi:
      * doc/misc/flymake.texi:
      * doc/misc/octave-mode.texi:
      * doc/misc/org.texi:
      * doc/misc/reftex.texi:
      * doc/misc/tramp.texi:
      * doc/misc/wisent.texi:
      * etc/NEWS:
      * lisp/autorevert.el:
      * lisp/cedet/mode-local.el:
      * lisp/cedet/semantic/senator.el:
      * lisp/cedet/semantic/wisent.el:
      * lisp/dos-fns.el:
      * lisp/frameset.el:
      * lisp/gnus/gnus-agent.el:
      * lisp/gnus/mm-util.el:
      * lisp/international/characters.el:
      * lisp/ldefs-boot.el:
      * lisp/mail/mailclient.el:
      * lisp/man.el:
      * lisp/mh-e/mh-search.el:
      * lisp/net/tramp-cmds.el:
      * lisp/net/tramp-gvfs.el:
      * lisp/org/org-crypt.el:
      * lisp/org/org-element.el:
      * lisp/org/org-feed.el:
      * lisp/org/org.el:
      * lisp/org/ox-ascii.el:
      * lisp/org/ox-icalendar.el:
      * lisp/org/ox-publish.el:
      * lisp/org/ox.el:
      * lisp/play/gamegrid.el:
      * lisp/play/gomoku.el:
      * lisp/progmodes/antlr-mode.el:
      * lisp/progmodes/python.el:
      * lisp/progmodes/vhdl-mode.el:
      * lisp/strokes.el:
      * lisp/textmodes/ispell.el:
      * lisp/tree-widget.el:
      * lisp/vc/pcvs.el:
      * lisp/window.el:
      * src/lisp.h:
      * src/w32.c:
      * src/w32heap.c:
      * src/w32term.c:
      * src/window.c:
      * src/xfaces.c:
      Replace solecisms like "This allow to do something" with a correct
      alternative, such as "This allow you to do something", "This allows
      something to be done" or "This allows the doing of something".
    • l3thal's avatar
    • Kelvin White's avatar
    • l3thal's avatar
      Add NEWS entry for asynchronous reconnect in ERC · 76168e13
      l3thal authored
    • Kelvin White's avatar
    • Paul Eggert's avatar
      Port Tramp manual to latest Texinfo · 3772f444
      Paul Eggert authored
      Otherwise, 'make pdf' did not work (Bug#22416).
      * doc/misc/tramp.texi (xxx, yyy): Remove macros.
      (trampfn): Specialize to the case where METHOD is nonempty.
      The 2nd argument is now user@host, not 2nd user and 3rd host args.
      All uses changed.
      (trampf): New macro.
    • Lars Ingebrigtsen's avatar
    • NicolasPetton's avatar
      authors.el updates · 6f747a7c
      NicolasPetton authored
      * admin/authors.el (authors-ignored-files, authors-renamed-files-alist):
    • NicolasPetton's avatar
      ; ChangeLog fixes · 5152b211
      NicolasPetton authored
      * ChangeLog.2:
      * doc/emacs/ChangeLog.1:
      * lisp/ChangeLog.17: Fix ChangeLog entries
    • Glenn Morris's avatar
      ; Auto-commit of loaddefs files. · 2aae081a
      Glenn Morris authored
    • Dmitry Gutov's avatar
      Rename xref-query-replace to xref-query-replace-in-results · 3f481ad0
      Dmitry Gutov authored
      * lisp/progmodes/xref.el(xref-query-replace):
      Rename to xref-query-replace-in-results.
      * lisp/progmodes/xref.el (xref--xref-buffer-mode-map):
      * lisp/dired-aux.el (dired-do-find-regexp-and-replace):
      * doc/emacs/dired.texi (Operating on Files):
      * doc/emacs/maintaining.texi (Xref Commands)
      (Identifier Search, Identifier Search): Update accordingly.
    • Dmitry Gutov's avatar
      Update cl-defgeneric and cl-defmethod docstrings · 62f4ed47
      Dmitry Gutov authored
      * lisp/emacs-lisp/cl-generic.el: Remove outdated TODO item.
      (cl-defgeneric): Rename BODY to DEFAULT-BODY.
      (cl-defmethod): Mention that multiple dispatch arguments are
      allowed.  Document supported types.  (Bug#22336)
  3. 23 Jan, 2016 14 commits
  4. 22 Jan, 2016 11 commits
    • Paul Eggert's avatar
      Port recent xdisp.c fix to picky C compilers · 27a0919c
      Paul Eggert authored
      * src/xdisp.c (dump_glyph): Redo the call to fprintf to avoid
      putting #if inside the arguments to a standard function, which
      the C standard says has undefined behavior.
    • Alan Mackenzie's avatar
      Prevent spurious recognition of K&R argument declarations. Fixes bug #2203 · bbbb0386
      Alan Mackenzie authored
      * cc-engine.el (c-forward-declarator): New function.
      (c-in-knr-argdecl): Before recognizing a K&R argument declaration, check it is
      contained in the preceding arg list.
      * cc-fonts.el (c-font-lock-declarators): Use the new function
      `c-forward-declarator' in place of inline code.
    • Eli Zaretskii's avatar
      ; Minor tweaks in etc/NEWS · 6ff8b45f
      Eli Zaretskii authored
    • Eli Zaretskii's avatar
      Fix the build with --enable-checking=glyphs · 5221f450
      Eli Zaretskii authored
      * src/xdisp.c (dump_glyph): Don't refer to glyph->u.xwidget in a
      build without xwidget support.
    • Eli Zaretskii's avatar
      Document cl-generic.el · 849a314c
      Eli Zaretskii authored
      * doc/lispref/functions.texi (Generic Functions): New section.
      (Functions): Update the chapter menu.
      * doc/lispref/elisp.texi: Update the master menu.
    • Paul Eggert's avatar
      xwidgets style cleanup · 7c3d742c
      Paul Eggert authored
      Adjust the newly-added Xwidgets code so that it uses a more-typical
      Emacs style.  This should not affect behavior, except that in
      a few places it adds runtime checks that Lisp arguments are of
      the proper type, and in one place it uses more-precise arithmetic.
      * src/buffer.c, src/dispnew.c, src/emacs.c, src/emacsgtkfixed.c:
      * src/emacs.c, src/print.c, src/window.c, src/xdisp.c, src/xterm.c:
      Include xwidget.h unconditionally.
      * src/buffer.c (Fkill_buffer):
      * src/dispnew.c (update_window):
      * src/emacs.c (main):
      * src/print.c (print_object):
      * src/window.c (Fdelete_window_internal):
      * src/xdisp.c (handle_single_display_spec, push_it, pop_it)
      (get_next_element, set_iterator_to_next, next_element_from_xwidget)
      (dump_glyph, calc_pixel_width_or_height, BUILD_GLYPH_STRINGS_XW)
      (BUILD_GLYPH_STRINGS, x_produce_glyphs, get_window_cursor_type):
      * src/xterm.c (x_draw_glyph_string, x_draw_bar_cursor):
      Call xwidget functions and macros without worrying about
      HAVE_XWIDGETS when the code is a no-op on non-xwidget
      * src/dispextern.h (XWIDGET_GLYPH, struct glyph_string.xwidget)
      (IT_XWIDGET, GET_FROM_XWIDGET, struct it.u.xwidget)
      (struct it.xwidget):
      * src/lisp.h (PVEC_XWIDGET, PVEC_XWIDGET_VIEW):
      Always define.
      * src/emacsgtkfixed.h: Omit unnecessary comment.
      * src/keyboard.c: Fix spacing.
      * src/xdisp.c (BUILD_XWIDGET_GLYPH_STRING, produce_xwidget_glyph):
      Define to be a no-op if not HAVE_XWIDGETS.
      * src/xwidget.c: Include xwidget.h first (after config.h)
      to make sure that it can stand by itself.
      (Fmake_xwidget, Fxwidget_webkit_execute_script):
      Fix typo in doc string.
      (Fmake_xwidget): Check type of args.
      (Fmake_xwidget, offscreen_damage_event)
      (webkit_document_load_finished_cb, webkit_download_cb)
      (xwidget_osr_draw_cb, xwidget_osr_event_forward)
      (xwidget_osr_event_set_embedder, xwidget_init_view):
      Omit unnecessary casts.
      * src/xwidget.c (Fmake_xwidget, xwidget_hidden)
      (xwidget_show_view, xwidget_hide_view)
      (x_draw_xwidget_glyph_string, xwidget_start_redisplay, xwidget_touch)
      * src/xwidget.h (struct xwidget.kill_without_query)
      (struct xwidget_view.redisplayed, struct xwidget_view.hidden):
      Use bool for boolean.
      * src/xwidget.c (store_xwidget_event_string, Fxwidget_size_request):
      Simplify by using list functions.
      (WEBKIT_FN_INIT): Omit unnecessary test for nil.
      (Fxwidget_resize): Check type of integer args
      before doing any work.  Check that they are nonnegative.
      (Fxwidget_set_adjustment): Check type of integer arg.
      Avoid redundant call to gtk_scrolled_window_get_vadjustment.
      Simplify.  Use double, not float.
      (Fxwidget_info, Fxwidget_view_info): Simplify by using CALLN.
      (valid_xwidget_spec_p): Simplify.
      (xwidget_spec_value): Omit unused arg FOUND.  All callers changed.
      * src/xwidget.h: Include lisp.h first, so that includers do
      not need to worry about doing that before including this file.
      Make this .h file safe to include even on non-HAVE_XWIDGETS
      configurations, to simplify the includers.
      (x_draw_xwidget_glyph_string, syms_of_xwidget, valid_xwidget_spec_p)
      (xwidget_end_redisplay, lookup_xwidget)
      (xwidget_view_delete_all_in_window, kill_buffer_xwidgets):
      Now a no-op if !HAVE_XWIDGETS, to simplify callers.
      (struct glyph_matrix, struct glyph_string, struct xwidget)
      (struct xwidget_view, struct window):
      New forward or incomplete decls, so that includers need not
      assume the corresponding .h files are already included, or that
      HAVE_XWIDGETS is defined.
      (struct xwidget_type, xwidget_from_id): Remove; unused.
    • Michael Albinus's avatar
      Backport kqueue integration from master · 7bf54d01
      Michael Albinus authored
      * configure.ac (--with-file-notification): Add kqueue.
      (top): Remove special test for "${HAVE_NS}" and
      ${with_file_notification}, this is handled inside gfilenotify
      tests.  Add kqueue tests.  Use NOTIFY_CFLAGS and NOTIFY_LIBS
      instead of library specific variables.  Add error message for
      gfile on Nextstep.
      * doc/lispref/os.texi (File Notifications): Add kqueue as backend.
      Fix some glitches in the example.
      * etc/NEWS: Mention kqueue.
      * lisp/filenotify.el (file-notify--library)
      (file-notify-descriptors, file-notify-callback)
      (file-notify-add-watch, file-notify-rm-watch)
      (file-notify-valid-p): Add kqueue support.
      (file-notify--rm-descriptor): Remove WHAT arg.
      * src/Makefile.in: Use NOTIFY_CFLAGS and NOTIFY_LIBS.
      * src/emacs.c (main): Call globals_of_kqueue and syms_of_kqueue.
      * src/inotify.c (inotifyevent_to_event): Extract file name from
      watch_object if the event doesn't provide it.
      (Finotify_add_watch): Add file name to watch_object.
      * src/keyboard.c (make_lispy_event): Check also for HAVE_KQUEUE.
      * src/kqueue.c: New file.
      * src/lisp.h: Declare extern globals_of_kqueue and syms_of_kqueue.
      * test/automated/file-notify-tests.el
      (file-notify--test-expected-events): Remove.
      (file-notify--test-cleanup): Do not set that variable.
      (file-notify--test-timeout) Use different timeouts for
      different libraries.
      (file-notify--test-library): New defun.
      (file-notify--test-event-test): Make stronger checks.
      (file-notify--test-with-events): EVENTS can also be a list of
      lists.  Flush outstanding events before running the body.
      Make timeout heuristically depend on the number of events.
      (file-notify-test01-add-watch, file-notify-test02-events)
      (file-notify-test04-file-validity, file-notify-test05-dir-validity):
      Rewrite in order to call file monitors but directory monitors.
      (file-notify-test02-events, file-notify-test04-file-validity): Do
      not skip cygwin tests.  Add additional test for file creation.
      Adapt expected result for different backends.
      (file-notify-test03-autorevert): Some of the tests don't work for
      (file-notify-test06-many-events): New test.
    • John Wiegley's avatar
      Further corrections to the pcase docstring · f7dc6d8b
      John Wiegley authored
    • Eli Zaretskii's avatar
    • Stephen Leake's avatar
      In xref-collect-references, force backends to respect the 'dir' arg · 44c7b49d
      Stephen Leake authored
      * lisp/progmodes/xref.el (xref-collect-references): Force symref backends
      to use `default-directory'.
    • John Wiegley's avatar
      Minor correction to pcase docstring · fb7c5812
      John Wiegley authored