Commit graph

118528 commits

Author SHA1 Message Date
Stefan Monnier
28057ef3b5 * lisp/emacs-lisp/avl-tree.el: Use lexical-binding and cl-lib.
(avl-tree--root): Remove redundant defsetf.
2014-12-08 14:49:17 -05:00
Lars Magne Ingebrigtsen
b7768d785f (nsm-check-protocol): Check for weak Diffie-Hellman prime bits.
Fixes: debbugs:19153
2014-12-08 20:41:05 +01:00
Lars Magne Ingebrigtsen
7c67502647 * src/gnutls.c: Add Windows specs for gnutls_dh_get_prime_bits. 2014-12-08 20:09:31 +01:00
Lars Magne Ingebrigtsen
6b1ab80ef9 `network-security-level' documentation simplification
* lisp/net/nsm.el (network-security-level): Remove the detailed
description, which was already outdated, and refer the users to
the manual.
2014-12-08 20:06:50 +01:00
Lars Magne Ingebrigtsen
ca7ad4271c Put back :signature-algorithm into gnutls.c
(gnutls_certificate_details): Put :signature-algorithm back again,
which was removed by mistake.
2014-12-08 19:58:39 +01:00
Lars Magne Ingebrigtsen
a0fe9b0481 (Fgnutls_peer_status): Return the DH prime bits for the connection 2014-12-08 19:48:38 +01:00
Lars Magne Ingebrigtsen
c498441ee6 (gnutls_certificate_details): Clean up whitespace slightly. 2014-12-08 19:40:50 +01:00
Lars Magne Ingebrigtsen
172bcf6f9f Remove unused data from gnutls_certificate_details
* src/gnutls.c (gnutls_certificate_details): The :signature isn't
that useful, so remove it.
2014-12-08 19:35:57 +01:00
Lars Magne Ingebrigtsen
09e5e01605 * etc/NEWS: Mention the new eww `S' command. 2014-12-08 19:30:16 +01:00
Andrey Kotlarski
e40e63033b Commands and mode for managing multiple eww buffers
Fixes: debbugs:19131

* doc/misc/eww.texi (Basics): Document managing multiple eww buffers.

* lisp/net/eww.el (eww-buffers-mode): New major mode.
(eww-list-buffers, eww-buffer-select, eww-buffer-show-next)
(eww-buffer-show-previous, eww-buffer-kill, eww-buffer-show): New
commands/functions.
2014-12-08 19:29:06 +01:00
Lars Magne Ingebrigtsen
e63c720b72 Make gnutls-negotiate ignore specially handled files
Fixes: debbugs:15866

* lisp/net/gnutls.el (gnutls-negotiate): Ignore files found via
'file-name-handler-alist' since the gnutls library can't use those.
2014-12-08 19:13:39 +01:00
Eli Zaretskii
2354db7f53 Fix merge glitches in 2 ChangeLog files. 2014-12-08 19:10:38 +02:00
Dmitry Gutov
5872f843ff Fix bug#19304
Fixes: debbugs:19304

* lisp/vc/vc-hg.el (vc-hg-dir-status-files): Only include ignores files
when FILES is non-nil.
2014-12-08 18:24:07 +02:00
Eric S. Raymond
7fb8fc35eb vc/vc-arch.el: Moved to obsolete directory...
...so a test framework won't trip over bit-rot in it.  There has been no
Arch snapshot for nine years.
2014-12-08 06:11:49 -05:00
Lars Magne Ingebrigtsen
eb5b08bef5 (eww-copy-page-url): Add doc string. 2014-12-07 22:18:09 +01:00
Lars Magne Ingebrigtsen
a3ca30c8b5 Revert prefix behavior in RET to previous behavior
* net/eww.el (eww-follow-link): Revert prefix behaviour to
previous behavior.
2014-12-07 21:44:19 +01:00
Ivan Shmakov
06b5cfe498 Make `G' in eww record history
Fixes: debbugs:19253

* net/eww.el (eww-browse-url): Use generate-new-buffer (was:
iterating over possible buffer names.)

* net/eww.el (eww): Moved history recording here...
(eww-browse-url): ... from here.
2014-12-07 21:14:07 +01:00
Lars Magne Ingebrigtsen
c08883ccb4 (eww-current-buffer): Compilation fix for bug#18550 patch. 2014-12-07 20:50:23 +01:00
Lars Magne Ingebrigtsen
007d4c29c2 Make a prefix to `eww-reload' work locally
Fixes: debbugs:19086

* net/eww.el (eww-reload): Take a prefix to work locally (bug#19086).
2014-12-07 20:49:16 +01:00
Ivan Shmakov
b9ad615e65 eww history restoration fix
Fixes: debbugs:18550

* net/eww.el (eww-list-histories): Restore the history in the
correct buffer.
2014-12-07 20:38:38 +01:00
Lars Magne Ingebrigtsen
2c3d111392 eww bookmark display fixup
Fixes: debbugs:16398

* net/eww.el (eww-bookmark-prepare): Display URLs in first by
displaying shortened titles first.
2014-12-07 20:32:07 +01:00
Lars Magne Ingebrigtsen
17ee183646 (message-change-subject): Really check whether the subject changed 2014-12-07 18:58:28 +01:00
Tom Willemse
9dfa949c0d * lisp/progmodes/python.el: Recognize docstrings.
(python-docstring-at-p, python-font-lock-syntactic-face-function):
New functions.
(python-mode): Use them.
2014-12-07 11:24:35 -05:00
Jan D
f3a685812a Fixes: debbugs:19133
* nsimage.m (setPixmapData): Make bmRep local so class member is not
set.
2014-12-07 17:12:40 +01:00
Sam Steingold
2b53560c75 fix last patch 2014-12-06 18:53:39 -05:00
UJ
a1cf6ec16b newsticker: Context menu in treeview's tree.
* net/newst-treeview.el (newsticker--treeview-list-add-item)
(newsticker--treeview-propertize-tag): Bind tree menu to mouse-3.
(newsticker--treeview-create-groups-menu)
(newsticker--treeview-create-tree-menu): Removed.
(newsticker--treeview-tree-open-menu): New.
(newsticker-treeview-tree-click): Pass event to
`newsticker-treeview-tree-do-click'.
(newsticker-treeview-tree-do-click): Open treemenu on mouse-3.
2014-12-06 20:56:56 +01:00
Stephen Leake
952c6c8f00 * CONTRIBUTE: minor improvements
* ChangeLog: cleanup entries for my recent commits
2014-12-06 02:38:35 -06:00
Stephen Leake
06264b3d24 Improve CONTRIBUTE and related files.
* CONTRIBUTE: improve; add explicit web references, move some info from
  admin/notes/* here.

* INSTALL.REPO: You can't "just run make" after a clean checkout.

* admin/notes/commits: deleted; merged into ./CONTRIBUTE

* admin/notes/repo: move commit, branch info into ./CONTRIBUTE
2014-12-06 02:38:34 -06:00
Michael Albinus
7841e93482 * automated/vc-tests.el: New file. 2014-12-06 09:14:36 +01:00
Juri Linkov
f6c3965074 Better support for milti-line shell input.
* lisp/comint.el (comint-history-isearch-search)
(comint-history-isearch-wrap): Use field-beginning instead of
comint-line-beginning-position.
(comint-send-input): Go to the end of the field instead of the end
of the line to accept whole multi-line input.
http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00305.html
2014-12-06 01:55:20 +02:00
Juri Linkov
0ffa34951a Better check for displaying completions near the minibuffer.
* lisp/minibuffer.el (minibuffer-completion-help): Compare
selected-window with minibuffer-window to check whether
completions should be displayed near the minibuffer.
http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00311.html

Fixes: debbugs:17809
2014-12-06 01:42:11 +02:00
Stephen Leake
7409a79b1b preparing for further changes/cleanup to developers/contributors docs
* etc/CONTRIBUTE: renamed to ./CONTRIBUTE,

(my first commit to emacs trunk ever :)
2014-12-05 14:43:47 -06:00
Michael Albinus
7d043d590d Fix minor bugs in vc.
* vc/vc-mtn.el (vc-mtn-root):
* vc/vc-svn.el (vc-svn-registered): Make FILE absolute.
2014-12-05 21:36:47 +01:00
Stefan Monnier
4fda400e58 Merge from emacs-24 2014-12-05 15:30:09 -05:00
Stefan Monnier
0d7b2c96d3 Merge from origin/emacs-24
The following commit was skipped:

f9f2509 Auto-commit of loaddefs files.
2014-12-05 15:22:15 -05:00
Stefan Monnier
fca389d1d3 Merge from emacs-24 2014-12-05 15:20:02 -05:00
Stefan Monnier
0c3f76c633 Merge from origin/emacs-24
The following commit was skipped:

babb0ca ChangeLog fix (do not merge to master)
2014-12-05 15:12:00 -05:00
Stefan Monnier
0bb24df135 Merge from origin/emacs-24
bb19b22 Python.el: Update commentary on RET-behavior
2014-12-05 15:12:00 -05:00
Stefan Monnier
be307485f7 * lisp: Prefer inlinable functions to macros.
* lisp/fringe.el (fringe-bitmap-p): Make it a plain function.

* lisp/tooltip.el (tooltip-region-active-p): Remove.

* lisp/net/shr.el (shr-char-breakable-p, shr-char-kinsoku-bol-p)
(shr-char-kinsoku-eol-p, shr-char-nospace-p): Use define-inline.

* lisp/url/url-future.el (url-future-done-p, url-future-completed-p)
(url-future-errored-p, url-future-cancelled-p):
* lisp/url/url-dav.el (url-dav-http-success-p): Use define-inline.

* lisp/vc/ediff-init.el (ediff-odd-p): Remove.
(ediff-background-face): Use cl-oddp instead.
(ediff-buffer-live-p): Make it a defsubst.
2014-12-05 12:49:53 -05:00
Stefan Monnier
887fa62285 * lisp/emacs-lisp/eieio-core.el: Prefer inlinable functions over macros.
(class-p, generic-p, eieio-object-p, class-abstract-p):
Make them defsubst, so as to avoid corner case problems where
the arg might be evaluated in the condition-case, or it can't be passed
to higher-order functions like `cl-some'.
2014-12-05 12:13:09 -05:00
Nicolas Richard
2a06fc15b2 (widget-choose) Let numeric keypad work
Fixes: debbugs:19268

* wid-edit.el (widget-choose): Let numeric keypad work
and remove old menu-related code.
2014-12-05 17:46:43 +01:00
Lars Magne Ingebrigtsen
3f199630bd * NEWS: Add some doc markers to the eww stuff. 2014-12-05 17:05:09 +01:00
Lars Magne Ingebrigtsen
9860da5137 * eww.texi (Basics): Document eww PDF viewing. 2014-12-05 17:01:24 +01:00
Lars Magne Ingebrigtsen
bee76e566c Make eww use mailcap when displaying PDF files
Fixes: debbugs:19270

* net/eww.el (eww-display-pdf): Let mailcap determine how to
display PDF files.
2014-12-05 16:51:59 +01:00
Lars Magne Ingebrigtsen
7747e23ecd Make it easier to use mailcap for viewing single files
* mailcap.el (mailcap-mime-data): Add doc-view-mode as a viewer for
PDFs.
(mailcap-view-mime): New function.
2014-12-05 16:51:59 +01:00
Sam Steingold
d2fab6bf58 fix last patch
* nextstep/Makefile.in (links): Use abs_top_builddir et al; link over DOC.
2014-12-05 10:31:25 -05:00
Sam Steingold
9c72233e63 fix a typo in doc string 2014-12-05 09:39:59 -05:00
Eli Zaretskii
933107f290 .gitignore: Ignore test/biditest.txt. 2014-12-05 13:19:14 +02:00
Eli Zaretskii
fcc4da3e52 Reduce memory footprint of struct bidi_it by a factor of 5.
src/dispextern.h (enum bidi_dir_t): Force NEUTRAL_DIR to be zero.
 (struct bidi_stack): Reduce size by using bit fields and by
 packing sos, override, and isolate_status into a single 8-bit
 byte called 'flags'.
 src/bidi.c (ISOLATE_STATUS, OVERRIDE): New macros.
 (bidi_push_embedding_level): Construct flags from individual
 bits.  Adapt to changes in prev_for_neutral and next_for_neutral
 members.
 (bidi_pop_embedding_level): Use ISOLATE_STATUS.  Extract 'sos'
 from flags.  Adapt to changes in prev_for_neutral,
 next_for_neutral, and last_strong members.
 (bidi_line_init): Initialize flags to zero.
 (bidi_resolve_explicit, bidi_resolve_weak, bidi_resolve_brackets)
 (bidi_resolve_neutral): Use ISOLATE_STATUS and OVERRIDE.
2014-12-05 12:17:15 +02:00
Juri Linkov
96e6fd3c15 Compare with the most recently used window by default.
* lisp/vc/compare-w.el (compare-windows-get-window-function):
New defcustom.
(compare-windows-get-recent-window)
(compare-windows-get-next-window): New functions.
(compare-windows, compare-windows-sync-default-function):
Use `compare-windows-get-window-function' instead of `next-window'.
(compare-windows): Add diff/match messages with region boundaries.
Fixes: debbugs:19170
2014-12-05 02:50:41 +02:00