1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-24 05:22:04 -08:00
Commit graph

118261 commits

Author SHA1 Message Date
Mark Oteiza
0445aff691 * net/eww.el (eww-add-bookmark): Fix bookmark titles. 2014-11-23 16:40:45 +01:00
Mark Oteiza
dd01e20628 (eww-mode-map): Bind backtab to shr-previous-link
* net/eww.el (eww-mode-map): Bind backtab to shr-previous-link
2014-11-23 16:34:44 +01:00
Kenjiro Nakayama
7f223a582e Allow setting the charset in eww
Fixes: debbugs:16225

* net/eww.el (eww-set-character-encoding): New command and keystroke.
(eww-display-raw): Use it.
2014-11-23 16:30:40 +01:00
Lars Magne Ingebrigtsen
b10d900663 Rename nsm-security-level' to network-security-level'
* net/nsm.el (network-security-level): Rename from
`nsm-security-level' and documented.
2014-11-23 15:13:13 +01:00
Lars Magne Ingebrigtsen
a345ff6bf2 Implement a new url parameter `url-request-noninteractive'
* url-http.el (url-http): Respect `url-request-noninteractive'.

* url-queue.el (url-queue-start-retrieve): Fetching through
url-queue should always be noninteractive.

* url-vars.el (url-request-noninteractive): New variable.
2014-11-23 15:05:18 +01:00
Lars Magne Ingebrigtsen
c43b706ab3 Make some network connections warn unless they are encrypted
* mail/smtpmail.el (smtpmail-via-smtp): Warn unless encrypted and
we're sending a password.

* pop3.el (pop3-open-server): Warn unless encrypted.

* nnimap.el (nnimap-open-connection-1): Warn unless encrypted.
2014-11-23 15:00:48 +01:00
Lars Magne Ingebrigtsen
4c298b2a73 Implement a Network Security Manager
* processes.texi (Network): Mention the new :warn-unless-encrypted
parameter to `open-network-stream'.
(Network): Mention the Network Security Manager.

* net/nsm.el: New file that implements a Network Security Manager.

* net/network-stream.el (open-network-stream): Add a new
:warn-unless-encrypted parameter.
(network-stream-open-plain): Allow warning unless encrypted.
(network-stream-open-starttls): Call the Network Security Manager.
(network-stream-open-tls): Ditto.
2014-11-23 14:56:43 +01:00
Lars Magne Ingebrigtsen
a85950469e Add functions to gnutls.c for exporting certificate details
* gnutls.c (gnutls_hex_string, gnutls_certificate_details)
(Fgnutls_peer_status): New functions to export TLS certificate
details to Emacs Lisp.

* process.h: Added more fields to Lisp_Process to track
certificate details.

* gnutls.c (Fgnutls_boot): Save certificate for later inspection.
2014-11-23 14:52:04 +01:00
Jan D
0b1d7cd596 Fixes: debbugs:19149
* gtkutil.c (gtk_adjustment_configure): Don't use 2.14 functions (Bug#19149).
2014-11-23 14:30:52 +01:00
Michael Albinus
600f3d0528 * tramp.texi (Remote processes): Let-bind environment variables to
`process-environment' when running `process-file' or `start-file-process'.
2014-11-23 12:33:45 +01:00
Jan D
4ad0a30855 Fixes: debbugs:19149
* gtkutil.c (gtk_adjustment_configure): Define for Gtk+ < 2.14.
(xg_set_toolkit_horizontal_scroll_bar_thumb): Remove wrong version
check for gtk_adjustment_configure (Bug#19149).
2014-11-23 11:57:19 +01:00
Michael Albinus
b1d07e31d0 * erc-desktop-notifications.el (erc-notifications-bus):
Change version to 25.1.
2014-11-23 10:07:00 +01:00
Michael Albinus
1b3e992e39 Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs 2014-11-23 10:01:18 +01:00
Michael Albinus
709a5173cd * erc-desktop-notifications.el (erc-notifications-bus):
New customer option.  Supports cases when Emacs hasn't been
invoked in the same environment where the notifications shall go to.
(erc-notifications-notify): Use it.
2014-11-23 10:00:28 +01:00
Leo Liu
9c3381106f Handle leap months in Chinese calendar
Fixes: debbugs:18953
* calendar/cal-china.el (calendar-chinese-from-absolute-for-diary)
(calendar-chinese-to-absolute-for-diary)
(calendar-chinese-mark-date-pattern, diary-chinese-anniversary):
Handle leap months in Chinese calendar.  (Bug#18953)
2014-11-23 16:00:06 +08:00
Glenn Morris
116be2828b * .gitignore: Add emacs.rc and emacsclient.rc in nt/. 2014-11-22 15:02:57 -08:00
Glenn Morris
6d099b2e18 * admin/admin.el: Fix paren typo in previous. 2014-11-22 14:57:39 -08:00
Glenn Morris
8662e9d448 * nt/emacs.rc, nt/emacsclient.rc: Remove files.
Accidentally left out of previous commit.
Apparently "git mv" doesn't do what I thought it did...
2014-11-22 14:24:36 -08:00
Glenn Morris
84e2f13cd5 Further reduce number of versioned files storing Emacs version number.
* configure.ac (comma_version, comma_space_version) [mingw32]:
New output variables.
(nt/emacs.rc, nt/emacsclient.rc) [mingw32]: New output files.

* make-dist: Update nt/ for *.rc -> *.rc.in changes.

* nt/emacs.rc.in, nt/emacsclient.rc.in: Rename from nt/emacs.rc, emacsclient.rc.
Let configure generate the real files, and set the version numbers.

* lib-src/Makefile.in (emacsclient.res): Update deps for nt/emacsclient.rc
now being in the build directory, not the source directory.

* nt/Makefile.in (distclean): Delete *.rc.
(emacs.res): Update deps for nt/emacsclient.rc now being in the
build directory, not the source directory.

* admin/admin.el (set-version): No more need to update nt/*.rc.

* admin/authors.el (authors-renamed-files-alist): Add .rc.in files.
2014-11-22 14:07:48 -08:00
Alan Mackenzie
239cd5b627 Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs 2014-11-22 21:44:23 +00:00
Alan Mackenzie
ec02f4fe1d Fix error with `mark-defun' and "protected:" in C++ Mode.
Fixes: debbugs:19134.

progmodes/cc-cmds.el (c-where-wrt-brace-construct): Handle a return code
of (label) from c-beginning-of-decl-1.
2014-11-22 21:41:00 +00:00
Glenn Morris
d00c866167 * src/Makefile.in (emacs.res): Add dependency on icons/hand.cur. Use $<. 2014-11-22 13:40:25 -08:00
Glenn Morris
cc252fc141 Add some .ico dependencies to Makefile .res rules
* lib-src/Makefile.in (emacsclient.res): Add dependency on icons/emacs.ico.

* nt/Makefile.in (emacs.res): Add dependency on icons/hand.cur.
2014-11-22 13:32:34 -08:00
Glenn Morris
9a84825892 * nextstep/templates/Info-gnustep.plist.in: Let configure set URL. 2014-11-22 13:10:26 -08:00
“Martin
db67afbd8c Don't shrink frame when using desktop-save-mode (Bug#19048).
* w32fns.c (x_set_tool_bar_lines): Always call
x_change_tool_bar_height (Bug#19048).
(x_change_tool_bar_height): Mark frame as garbaged since
adjust_frame_size might not have done that.
* xfns.c (x_set_tool_bar_lines): Always call
x_change_tool_bar_height (Bug#19048).
(x_change_tool_bar_height): Mark frame as garbaged since
adjust_frame_size might not have done that.
2014-11-22 17:59:59 +01:00
Ulf Jasper
46035c64e6 newsticker: Fix bug#18787: Tell libxml-parse-xml-region to discard comments.
* lisp/net/newst-backend.el (newsticker--sentinel-work): Tell
`libxml-parse-xml-region' to discard comments. Fixes bug#18787.
2014-11-22 15:51:12 +01:00
Michael Albinus
b559a60382 Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs 2014-11-22 12:38:21 +01:00
Michael Albinus
cd22fd754b Propagate remote process environment.
* net/tramp-sh.el (tramp-sh-handle-start-file-process)
(tramp-sh-handle-process-file): Propagate `process-environment'.

* vc/vc-hg.el (vc-hg-state): No special handling for remote files;
Tramp propagates environment variables now.
2014-11-22 12:37:04 +01:00
Eric S. Raymond
cec2396625 Unbreak the build.
I don't really understand why this reversion works, but it will do until I can
actually comprehend the bizarre hairball that is Emacs bootstrapping.
2014-11-22 06:32:48 -05:00
Eric S. Raymond
e9b1902634 Revert "More movement of master-related code to vc-filewise.el."
Must unbreak the build.  Which is way too complicated...
2014-11-22 06:03:57 -05:00
Eric S. Raymond
4fe5b7c0bb More movement of master-related code to vc-filewise.el.
Goes with my 2014-11-22 lisp/ChangeLog entry.
2014-11-22 05:21:09 -05:00
Eric S. Raymond
354a07b570 Isolating support code for the file-granularity back ends: the easy part.
* vc-filewise.el: New file to isolate code used only by the
file-oriented back ends (SCCS/RCS/CVS/SRC) which should not live in
vc.el and certainly not in vc-hooks.el.
2014-11-22 00:31:20 -05:00
Eric S. Raymond
af46a2a43f Rename vc-name to vc-master-rename.
* vc-hooks.el, vc-rcs.el, vc-sccs.el: vc-name -> vc-master-name.  This
is preaparatory to isolating all the 'master' functions used only by
the file-oriented back ends.  With this done first, the substantive
diffs will be easier to read.
2014-11-22 00:10:31 -05:00
Rüdiger Sonderfeld
280eb43f65 lisp/ChangeLog: Use double space to end sentence. 2014-11-21 20:16:34 +01:00
Rüdiger Sonderfeld
65ed0f3ba9 Fix `nato-alphabet' docstring.
* play/morse.el (nato-alphabet): Mark URL in docstring in a way that
is recognized by `help-mode'.
2014-11-21 20:10:08 +01:00
Stefan Monnier
bf642130c1 * lisp/desktop.el (desktop-create-buffer): Use activate-mark to set
`mark-active' (bug#19058).
2014-11-21 13:01:40 -05:00
Ulf Jasper
c39443c1d6 'libxml-parse(html|xml)-region': new optional param 'discard-comments'.
* doc/lispref/text.texi (Parsing HTML/XML): Document new optional parameter
'discard-comments' of 'libxml-parse(html|xml)-region'.

* src/xml.c (parse_region): Take care of new optional parameter
'discard-comments' of 'libxml-parse(html|xml)-region'.
(Flibxml_parse_html_region, Flibxml_parse_xml_region): New
optional parameter 'discard-comments'.

* test/automated/libxml-tests.el
(libxml-tests--data-comments-preserved): Renamed from
'libxml-tests--data'.
(libxml-tests--data-comments-discarded): New.
(libxml-tests): Check whether 'libxml-parse-xml-region' is
discarding comments correctly.
2014-11-21 16:31:30 +01:00
Eric S. Raymond
e14c4354cf Fix bug that produced spurious nil state. 2014-11-21 07:29:51 -05:00
Eli Zaretskii
a131037e97 Fix bug #19084 with 'C-x v +' in *vc-change-log* buffers.
lisp/vc/vc.el (vc-deduce-fileset): Support invocation from
 *vc-change-log* buffer.
2014-11-21 12:14:32 +02:00
Matthew Leach
48039f4b4c Fix bug #1702 with missing feature in arc-mode.el.
lisp/arc-mode.el (archive-visit-single-files): New.
 (archive-mode): Visit file if archive contains a single file.
2014-11-21 12:08:00 +02:00
Eli Zaretskii
1b351d4673 Fix the build of the Emacs User manual.
doc/emacs/maintaining.texi (Version Control Systems): Move "@end itemize"
 past the last @item.  Fix a typo (reported by H. Dieter Wilhelm
 <dieter@duenenhof-wilhelm.de>).
2014-11-21 11:32:53 +02:00
Ulrich Mueller
a2c0a14c32 Fix bug #19136 with a typo in a vc.el comment.
lisp/vc/vc.el: Fix a typo in the commentary.
2014-11-21 11:21:50 +02:00
Eric S. Raymond
f9c0081e98 Clean up after SRC support merge (typo fixes). 2014-11-20 22:44:07 -05:00
Eric S. Raymond
1e81f67690 Support for SRC in VC mode. 2014-11-20 17:57:22 -05:00
Eric S. Raymond
e7e9dbccb0 Remove editable argument from VC's backend checkout methods.
Alters vc/vc-bzr.el, vc/vc-cvs.el, vc/vc-dav.el, vc/vc-git.el,
vc/vc-hg.el, vc/vc-mtn.el, vc/vc-rcs.el, vc/vc-sccs.el,
vc/vc-svn.el, vc/vc.el.

where this matters (which is only in SCCS and RCS) files are now always
checked out editable. This may actually have been dynamically true
already - it looks like the vc-next-action code evolved past visiting
the other case. Tested with RCS.
2014-11-20 03:52:24 -05:00
Eric S. Raymond
f83109f0fa Remove never-used rev argument from VC's backend checkin methods.
Alters vc/vc-arch.el, vc/vc-bzr.el, vc/vc-cvs.el, vc/vc-dav.el,
vc/vc-git.el, vc/vc-hg.el, vc/vc-mtn.el, vc/vc-rcs.el,
vc/vc-sccs.el, vc/vc-svn.el, vc/vc.el.

Only the RCS, SCCS, and CVS back ends tried to do anything with it,
and that code was never exercised. Chiseling away the cruft of
decades...
2014-11-20 02:37:06 -05:00
Dani Moncayo
f5d77aafa9 build-aux/msys-to-w32: Simplify implementation and docstring.
* build-aux/msys-to-w32: Simplify implementation and docstring;
Paths starting with '%emacs_dir%' are just considered relative.
2014-11-19 21:15:32 +01:00
Lars Magne Ingebrigtsen
f437176169 Add missing bug numbers to last few eww changes 2014-11-19 20:14:19 +01:00
Ivan Shmakov
c2678a68dc * eww.texi (Basics): Document `eww-history-limit'. 2014-11-19 20:11:18 +01:00
Leo Liu
9c2c15edb5 Add NEWS entry for define-advice
* NEWS: Mention new macro define-advice.
2014-11-20 02:18:01 +08:00