Eric S. Raymond [Mon, 1 Dec 2014 12:08:40 +0000 (07:08 -0500)]
Argument removal inadvertently omitted from my previous commit.
Eric S. Raymond [Mon, 1 Dec 2014 11:23:10 +0000 (06:23 -0500)]
VC API simplification: remove ability to set initial revision.
This hasn't made any sense since RCS, and was a dumb stunt then.
* vc/vc.el and all backends: API simplification; init-revision is
gone, and vc-registered functions no longer take an initial-revision
argument.
Glenn Morris [Mon, 1 Dec 2014 08:28:08 +0000 (00:28 -0800)]
* lisp/gnus/gnus-cloud.el (gnus-cloud): Add :version tag.
Paul Eggert [Sun, 30 Nov 2014 07:30:22 +0000 (23:30 -0800)]
Port better to AddressSanitizer.
These changes suffice for temacs on x86-64 with GCC 4.9.2 and
-fsanitize=address.
* alloc.c (valid_pointer_p) [ADDRESS_SANITIZER]:
Return -1 or 0, as the pipe trick doesn't work.
* alloc.c (relocatable_string_data_p, mark_object, sweep_symbols):
* data.c (Ffset):
* print.c (print_object):
When a pointer-check primitive returns -1, do not assume this
means the pointer is valid or that the underlying system has failed.
It could just be that addresses are being sanitized so Emacs can't
test for pointer validity.
* lisp.h (defined_GC_CHECK_STRING_BYTES): New constant.
(USE_STACK_STRING) [GC_CHECK_STRING_BYTES]: Now false, since the
string validity checker doesn't work on stack-based strings.
Glenn Morris [Sun, 30 Nov 2014 00:51:13 +0000 (16:51 -0800)]
ChangeLog fix.
Glenn Morris [Sat, 29 Nov 2014 21:50:13 +0000 (13:50 -0800)]
ChangeLog fix: standardize some bug refs.
Glenn Morris [Sat, 29 Nov 2014 21:44:31 +0000 (13:44 -0800)]
Add missing ChangeLog entry.
Glenn Morris [Sat, 29 Nov 2014 21:38:29 +0000 (13:38 -0800)]
* lisp/vc/vc-filewise.el: Comment fixes.
Glenn Morris [Sat, 29 Nov 2014 21:34:29 +0000 (13:34 -0800)]
* lisp/vc/vc-src.el: Fix copy-pasted :version tags.
Glenn Morris [Sat, 29 Nov 2014 21:31:57 +0000 (13:31 -0800)]
ChangeLog fix
Glenn Morris [Sat, 29 Nov 2014 21:25:50 +0000 (13:25 -0800)]
Fix up merged ChangeLog entries (dates, duplication, etc)
Paul Rankin [Sat, 29 Nov 2014 13:56:59 +0000 (14:56 +0100)]
* outline.el (outline-move-subtree-down): Refactor and improve code.
Paul Eggert [Sat, 29 Nov 2014 07:54:57 +0000 (23:54 -0800)]
Spelling fix.
Paul Eggert [Sat, 29 Nov 2014 07:38:41 +0000 (23:38 -0800)]
Improve clarity of USE_LSB_TAG definition.
Problem reported by Lee Duhem. Suggestion by Andreas Schwab in:
http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg02222.html
* lisp.h (USE_LSB_TAG): Define in terms of the (simpler)
VAL_MAX / 2 rather than in terms of the (more complicated)
EMACS_INT_MAX >> GCTYPEBITS, and adjust commentary to match.
Paul Eggert [Sat, 29 Nov 2014 06:55:31 +0000 (22:55 -0800)]
Merge branch 'emacs-24'.
Glenn Morris [Sat, 29 Nov 2014 03:00:15 +0000 (19:00 -0800)]
* configure.ac: Simplify gnutls tests.
Ref: http://debbugs.gnu.org/19168#21
Stefan Monnier [Fri, 28 Nov 2014 23:18:57 +0000 (18:18 -0500)]
* .gitignore: Add entries for emacsvers files.
Stefan Monnier [Fri, 28 Nov 2014 23:14:38 +0000 (18:14 -0500)]
* lisp/simple.el (execute-extended-command--shorter): Fix the "M-p" case.
Fixes: debbugs:19152
Martin Rudalics [Fri, 28 Nov 2014 17:12:32 +0000 (18:12 +0100)]
Fix two issues around help-window-select. (Bug#11039) (Bug#19012)
* help.el (help-window-old-frame): New variable.
(help-window-select): Default to nil (Bug#11039). Rewrite
doc-string.
(help-window-setup): When the help window appears on another
frame and `help-window-select' is non-nil, give that frame input
focus too (Bug#19012).
(with-help-window): Store selected frame in
help-window-old-frame.
Ulf Jasper [Fri, 28 Nov 2014 15:27:34 +0000 (16:27 +0100)]
newsticker: Take care of nil value for `newsticker-groups-filename'.
* lisp/net/newst-treeview.el (newsticker--treeview-load): Take care of
nil value for `newsticker-groups-filename'.
Daiki Ueno [Fri, 28 Nov 2014 06:59:23 +0000 (15:59 +0900)]
epg: Use epg-context-set-*-callback for extra treatment of args
* epa.el (epa-sign-file, epa-encrypt-file, epa-decrypt-region)
(epa-sign-region, epa-encrypt-region): Use
`epg-context-set-{passphrase,progress}-callback', instead of
`setf'. This partially reverts commit
9e48a95c (bug#19150).
Reported by José A. Romero L.
David Engster [Thu, 27 Nov 2014 22:17:40 +0000 (23:17 +0100)]
admin: Add documentation for gitmerge.el
* gitmerge.el: New file.
* notes/git-workflow: Add documentation for using it.
Lars Magne Ingebrigtsen [Thu, 27 Nov 2014 20:26:49 +0000 (21:26 +0100)]
Fix typo in last checkin
* eww.el (eww-restore-history): Bind
`inhibit-modification-hooks' instead of `after-change-functions'.
Lars Magne Ingebrigtsen [Thu, 27 Nov 2014 19:28:34 +0000 (20:28 +0100)]
* net/eww.el (eww-restore-history): Bind `inhibit-modification-hooks'
instead of `after-change-functions'.
Lars Magne Ingebrigtsen [Thu, 27 Nov 2014 19:26:24 +0000 (20:26 +0100)]
(eww-process-text-input): Try to keep track of the size more reliably.
Ulf Jasper [Thu, 27 Nov 2014 18:32:08 +0000 (19:32 +0100)]
newsticker: Handle embedded (x)html in atom feeds.
* lisp/net/newst-backend.el (newsticker--parse-atom-1.0): Handle
embedded (x)html in summary node.
Sam Steingold [Thu, 27 Nov 2014 18:17:42 +0000 (13:17 -0500)]
Use `mouse-menu-bar-map' when no other menus are available.
* lisp/menu-bar.el (menu-bar-open): When everything else fails,
use (mouse-menu-bar-map).
Ulf Jasper [Thu, 27 Nov 2014 17:37:47 +0000 (18:37 +0100)]
newsticker: Change wording of confirmation prompt regarding obsolete variable `newsticker-groups-filename'.
Fixes: debbugs:19165
* lisp/net/newst-treeview.el (newsticker-groups-filename): Change
default value to nil. Point out that variable is obsolete in doc
string.
(newsticker--treeview-load): Change wording of the questions the
user is asked when `newsticker-groups-filename' is found to be
used and we offer to read and remove the groups file.
David Engster [Thu, 27 Nov 2014 17:22:00 +0000 (18:22 +0100)]
admin: Add gitmerge.el
* gitmerge.el: New file.
Lars Magne Ingebrigtsen [Thu, 27 Nov 2014 16:52:08 +0000 (17:52 +0100)]
(eww-mode): Revert mistanken removal of `buffer-disable-undo'.
Lars Magne Ingebrigtsen [Thu, 27 Nov 2014 16:50:05 +0000 (17:50 +0100)]
Add more sanity checks to the last eww after-change-function patch
Lars Magne Ingebrigtsen [Thu, 27 Nov 2014 16:42:28 +0000 (17:42 +0100)]
(eww-process-text-input): Fix deletion at the start of the field, too.
Eli Zaretskii [Thu, 27 Nov 2014 16:35:27 +0000 (18:35 +0200)]
Fix bug #19201 with after-strings not being displayed.
src/xdisp.c (handle_single_display_spec): When ignoring a fringe
bitmap display, reset the ignore_overlay_strings_at_pos_p flag.
(next_element_from_buffer): When done with overlays, reset the
ignore_overlay_strings_at_pos_p flag.
Lars Magne Ingebrigtsen [Thu, 27 Nov 2014 16:23:32 +0000 (17:23 +0100)]
(eww-restore-history): Inhibit change functions while restoring the history.
Lars Magne Ingebrigtsen [Thu, 27 Nov 2014 16:19:52 +0000 (17:19 +0100)]
eww input field fixup
Fixes: debbugs:19085
(eww-process-text-input): Don't shorten the input field if
deleting at the last character.
Lars Magne Ingebrigtsen [Thu, 27 Nov 2014 16:06:26 +0000 (17:06 +0100)]
Record the right URL in eww
* net/eww.el (eww): Record the new URL immediately, so that if the
HTTP fetch fails, we have the right URL in the buffer.
Lars Magne Ingebrigtsen [Thu, 27 Nov 2014 15:57:22 +0000 (16:57 +0100)]
Add a DOM pretty-printing function
* doc/lispref/text.texi (Document Object Model): Mention `dom-pp'.
* lisp/dom.el (dom-pp): New function.
Lars Magne Ingebrigtsen [Thu, 27 Nov 2014 11:36:08 +0000 (12:36 +0100)]
* NEWS: Mention dom.el.
Stephen Berman [Thu, 27 Nov 2014 10:03:58 +0000 (11:03 +0100)]
outline.el: Fix subtree movement.
Fixes: debbugs:19102
Co-authored-by: Stefan Monnier <monnier@iro.umontreal.ca>
* outline.el (outline-move-subtree-down): Make sure we can move
forward to find the end of the subtree and the insertion point.
Leonard Randall [Thu, 27 Nov 2014 08:38:21 +0000 (09:38 +0100)]
Backport regexp stack overflow fix from emacs-24.
* textmodes/reftex-parse.el (reftex-using-biblatex-p): Make search
for comment lines non-greedy and stopping at newlines to fix stack
overflows with large files. [Backport]
Signed-off-by: Tassilo Horn <tsdh@gnu.org>
Oscar Fuentes [Thu, 27 Nov 2014 03:03:07 +0000 (04:03 +0100)]
Replace uses of _W64 with MINGW_W64
This is the `master' branch follow-up to the change made previously on
the emacs-24 branch (
81e0cca7bbc99dbfda898a8aaab740ae121cf045).
* src/w32.c: Use MINGW_W64 instead of _W64.
* src/w32heap.c: Likewise.
Fabián Ezequiel Gallina [Thu, 27 Nov 2014 02:45:24 +0000 (23:45 -0300)]
* lisp/progmodes/python.el (python-shell-completion-setup-code): Use
__builtin__ module (or builtins in Python 3) and catch all errors
when importing readline and rlcompleter.
Ted Zlatanov [Thu, 27 Nov 2014 02:31:11 +0000 (21:31 -0500)]
Merge branch 'emacs-24'
Conflicts:
nt/addsection.c
nt/inc/ms-w32.h
src/w32.c
Katsumi Yamaoka [Thu, 27 Nov 2014 01:33:09 +0000 (01:33 +0000)]
Gnus: fix XEmacs compilation
Lars Magne Ingebrigtsen [Wed, 26 Nov 2014 23:44:54 +0000 (00:44 +0100)]
Better display for `paranoid' `network-security-level'
* net/nsm.el (nsm-new-fingerprint-ok-p): Display the certificate
when querying about new certificates.
Lars Magne Ingebrigtsen [Wed, 26 Nov 2014 23:03:09 +0000 (00:03 +0100)]
* net/shr.el (shr-make-table-1): dom.el changes for table rendering.
Stephen Berman [Wed, 26 Nov 2014 22:17:41 +0000 (23:17 +0100)]
todo-mode.el: Handle calling revert-buffer.
Fixes: debbugs:19187
* calendar/todo-mode.el: (todo-revert-buffer): New function.
(todo-modes-set-1): Use it as the buffer-local value of
revert-buffer-function.
Lars Magne Ingebrigtsen [Wed, 26 Nov 2014 22:11:57 +0000 (23:11 +0100)]
Only send SNI if the host name is not an IP address
* gnutls.c (gnutls_ip_address_p): New function.
(Fgnutls_boot): Only send SNI if the host name is not an IP address.
Stephen Berman [Wed, 26 Nov 2014 22:00:42 +0000 (23:00 +0100)]
todo-mode.el: Handle calling todo-mode interactively.
Fixes: debbugs:19112
* calendar/todo-mode.el (todo-mode): If called interactively, just
display a message saying to call todo-show to enter Todo mode.
Toke Høiland-Jørgensen [Wed, 26 Nov 2014 21:56:57 +0000 (22:56 +0100)]
* gnutls.c (Fgnutls_boot): Send the server name over
Fixes: debbugs:18208
* gnutls.c (Fgnutls_boot): Send the server name over (bug#18208).
Lars Magne Ingebrigtsen [Wed, 26 Nov 2014 21:08:44 +0000 (22:08 +0100)]
Further eww dom.el cleanups
* net/eww.el (eww-tag-title): Use `dom-text'.
* dom.el (dom-by-tag): Use `equal' for comparisons so that tags
can be strings.
(dom-elements): Protect against non-text nodes.
(dom-non-text-children): New function.
Dani Moncayo [Wed, 26 Nov 2014 19:59:07 +0000 (20:59 +0100)]
configure.ac [MINGW]: Fix the way of getting the right host platform.
* configure.ac [MINGW]: Fix the way of getting the right host
platform.
Lars Magne Ingebrigtsen [Wed, 26 Nov 2014 19:46:51 +0000 (20:46 +0100)]
* text.texi (Document Object Model): Typo fix
Sam Steingold [Wed, 26 Nov 2014 19:38:35 +0000 (14:38 -0500)]
Pass -utf8 to tidy.
* lisp/textmodes/sgml-mode.el (sgml-validate-command): Pass -utf8 to tidy.
Lars Magne Ingebrigtsen [Wed, 26 Nov 2014 19:30:59 +0000 (20:30 +0100)]
* net/eww.el (eww-highest-readability): More dom.el fixes.
Lars Magne Ingebrigtsen [Wed, 26 Nov 2014 19:23:06 +0000 (20:23 +0100)]
* text.texi (Document Object Model): New node to document dom.el.
Lars Magne Ingebrigtsen [Wed, 26 Nov 2014 18:41:52 +0000 (19:41 +0100)]
ChangeLog for last checkin
Lars Magne Ingebrigtsen [Wed, 26 Nov 2014 18:41:13 +0000 (19:41 +0100)]
Use the new dom.el accessors in shr and eww
* net/shr.el: Ditto.
* net/eww.el: Use the new dom.el accessors throughout.
Lars Magne Ingebrigtsen [Wed, 26 Nov 2014 18:39:49 +0000 (19:39 +0100)]
* dom.el: New file.
Ulf Jasper [Wed, 26 Nov 2014 18:29:34 +0000 (19:29 +0100)]
newsticker: Take care of UIDs when adding elements to cache.
* lisp/net/newst-backend.el (newsticker--parse-generic-items): Take
care of UIDs when adding elements to cache.
Simon Leinen [Wed, 26 Nov 2014 18:22:35 +0000 (13:22 -0500)]
Fix for vc-filewise.el unresolved-call glitch.
Simon Leinen [Wed, 26 Nov 2014 18:10:26 +0000 (13:10 -0500)]
Fix up autoloads in vc-rcs.el and vc-sccs.el.
Alan Mackenzie [Wed, 26 Nov 2014 16:42:55 +0000 (16:42 +0000)]
Remove spurious reference to symbol category_properties.
cc-engine.el (c-state-pp-to-literal): Fixed here.
Eli Zaretskii [Wed, 26 Nov 2014 15:54:24 +0000 (17:54 +0200)]
Mention zlib1.dll as a potential reason for libgcc-induced crashes.
John Mastro [Wed, 26 Nov 2014 14:15:08 +0000 (09:15 -0500)]
auth-source: Fix Mac OS X keychain lookups.
* auth-source.el (auth-source-macos-keychain-search-items): Return
result of `auth-source-macos-keychain-result-append' (bug#19074).
Glenn Morris [Wed, 26 Nov 2014 00:15:55 +0000 (19:15 -0500)]
* lisp/arc-mode.el (archive-visit-single-files): Add :version.
Eric S. Raymond [Tue, 25 Nov 2014 21:42:59 +0000 (16:42 -0500)]
Minor typo fixes in vc-src.el.
Paul Eggert [Tue, 25 Nov 2014 17:22:21 +0000 (09:22 -0800)]
Fix gnutls problems caught by static checking.
* gnutls.c (Fgnutls_boot): Remove unused local.
(Fgnutls_boot): Fix pointer signedness.
Paul Eggert [Tue, 25 Nov 2014 17:20:19 +0000 (09:20 -0800)]
Use usual GNU style for white space.
Eli Zaretskii [Tue, 25 Nov 2014 17:04:14 +0000 (19:04 +0200)]
Fix bug #19141 with UNCs in w32-shell-execute.
src/w32fns.c (Fw32_shell_execute): Convert forward slashes in
DOCUMENT to backslashes, if DOCUMENT is a file.
Ted Zlatanov [Tue, 25 Nov 2014 16:45:20 +0000 (11:45 -0500)]
* net/gnutls.el (gnutls): Set :group to 'comm so it's near NSM.
Glenn Morris [Tue, 25 Nov 2014 16:43:52 +0000 (08:43 -0800)]
* configure.ac: Fix yesterday's use of uninitialised $version.
Lars Magne Ingebrigtsen [Tue, 25 Nov 2014 15:34:55 +0000 (16:34 +0100)]
* misc.texi (Network Security): Use "untrustworthy" instead of "unsafe"
Lars Magne Ingebrigtsen [Tue, 25 Nov 2014 15:30:36 +0000 (16:30 +0100)]
Fix previous version of nsm-warnings-ok-p
* net/nsm.el (nsm-format-certificate): Don't bug out on missing
elements.
(nsm-warnings-ok-p): The new version of this function always
returned nil when everything was OK.
Lars Magne Ingebrigtsen [Tue, 25 Nov 2014 15:13:10 +0000 (16:13 +0100)]
(gnutls_certificate_details): Reversed check in last checkin.
Lars Magne Ingebrigtsen [Tue, 25 Nov 2014 15:12:47 +0000 (16:12 +0100)]
* net/nsm.el (nsm-format-certificate): Don't bug out on missing elements
Lars Magne Ingebrigtsen [Tue, 25 Nov 2014 15:04:47 +0000 (16:04 +0100)]
Make gnutls.c compile on older gnutls installations
* gnutls.c (gnutls_certificate_details): Don't include certain
certificate details on older gnutls versions (bug#19168).
(syms_of_gnutls): Export gnutls_peer_status_warning_describe.
Ted Zlatanov [Tue, 25 Nov 2014 14:48:37 +0000 (09:48 -0500)]
* gnutls.c (Fgnutls_boot): Minor logging fixes.
Ted Zlatanov [Tue, 25 Nov 2014 14:09:11 +0000 (09:09 -0500)]
net/nsm.el: Use `gnutls-peer-status-warning-describe'.
* net/nsm.el (nsm-check-tls-connection, nsm-save-host)
(nsm-warnings-ok-p): Use `gnutls-peer-status-warning-describe'.
Ted Zlatanov [Tue, 25 Nov 2014 14:07:13 +0000 (09:07 -0500)]
Use a simple list of symbols in GnuTLS peer verification.
* gnutls.c (Fgnutls_peer_status_warning_describe): Add function to describe a
peer verification warning symbol.
(Fgnutls_peer_status): Use it.
(Fgnutls_boot): Use it.
Nicolas Richard [Thu, 20 Nov 2014 11:09:30 +0000 (12:09 +0100)]
byte-run.el (function-put): Match argument names to docstring (bug#19118).
Ted Zlatanov [Tue, 25 Nov 2014 10:15:23 +0000 (05:15 -0500)]
* gnutls.c (Fgnutls_peer_status): Check GNUTLS_INITSTAGE, not gnutls_p.
Glenn Morris [Tue, 25 Nov 2014 08:27:02 +0000 (00:27 -0800)]
* gnus-start.el (gnus-save-newsrc-file-check-timestamp): Add :version tag.
Glenn Morris [Tue, 25 Nov 2014 08:18:45 +0000 (00:18 -0800)]
* etc/MACHINES: State supported OS X versions.
Ulrich Müller [Sun, 16 Nov 2014 11:37:54 +0000 (12:37 +0100)]
Use consistent paxctl and setfattr flags for temacs.
* Makefile.in (temacs$(EXEEXT)): Use consistent flag settings
for paxctl and setfattr. Fixes temacs startup failure with
grsecurity/PaX enabled Linux kernel (bug#19067).
Oscar Fuentes [Tue, 25 Nov 2014 02:29:43 +0000 (03:29 +0100)]
configure.ac [mingw]: Set $canonical default value
... as per the compiler's target.
The value provided by MSYS2 `uname' is not correct when MSYS2 runs on
one architecture (x86_64) and the user is building for another (i686).
* configure.ac [mingw]: Set $canonical default value as per the
compiler's target.
Paul Eggert [Tue, 25 Nov 2014 01:47:29 +0000 (17:47 -0800)]
Adjust copyright notice and obviously-wrong dates.
Paul Eggert [Tue, 25 Nov 2014 01:14:29 +0000 (17:14 -0800)]
Fix white-space problems in ChangeLogs.
Sam Steingold [Mon, 24 Nov 2014 20:54:07 +0000 (15:54 -0500)]
Remove a spurious comma
* lisp/vc/vc-hooks.el (vc-directory-exclusion-list):
Fix a trivial typo (bug#19171).
Glenn Morris [Mon, 24 Nov 2014 18:40:02 +0000 (13:40 -0500)]
* configure.ac: Relocate some recent changes to a more logical location.
Eli Zaretskii [Mon, 24 Nov 2014 18:07:51 +0000 (20:07 +0200)]
doc/emacs/misc.texi (Network Security): Improve wording and indexing.
Lars Magne Ingebrigtsen [Mon, 24 Nov 2014 17:29:47 +0000 (18:29 +0100)]
Moved the Network Security Manager to the Emacs manual
* misc.texi (Gnus Summary Buffer): Moved the Network Security
Manager stuff here from the lispref manual.
Stefan Monnier [Mon, 24 Nov 2014 17:26:01 +0000 (12:26 -0500)]
* lisp/vc/vc-hooks.el (vc-state-base-face): Don't override
mode-line-inactive.
Lars Magne Ingebrigtsen [Mon, 24 Nov 2014 17:18:53 +0000 (18:18 +0100)]
eww input field fixup
(eww-process-text-input): Inhibit read only so that input fields
don't get shortened (bug#19085).
Glenn Morris [Mon, 24 Nov 2014 17:07:45 +0000 (09:07 -0800)]
* configure.ac [HAVE_W32]: Generate nt/*.rc files when HAVE_W32.
Lars Magne Ingebrigtsen [Mon, 24 Nov 2014 16:57:28 +0000 (17:57 +0100)]
(Network Security): Mention more NSM variables.
Lars Magne Ingebrigtsen [Mon, 24 Nov 2014 16:47:00 +0000 (17:47 +0100)]
* processes.texi (Network Security): Made into its own section and fleshed out
Paul Eggert [Mon, 24 Nov 2014 16:38:57 +0000 (08:38 -0800)]
Spelling fix.
Lars Magne Ingebrigtsen [Mon, 24 Nov 2014 15:58:37 +0000 (16:58 +0100)]
* net/eww.el (eww-set-character-encoding): Use `read-coding-system'.
Leo Liu [Mon, 24 Nov 2014 14:57:53 +0000 (22:57 +0800)]
New macro macroexp-let2*
* emacs-lisp/macroexp.el (macroexp-let2*): New macro.
* window.el (with-temp-buffer-window)
(with-current-buffer-window, with-displayed-buffer-window):
* emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin):
* emacs-lisp/cl-lib.el (substring):
* emacs-lisp/cl-extra.el (cl-getf): Use it.