Paul Eggert
ab422c4d68
Update copyright notices for 2013.
2013-01-01 09:11:05 +00:00
Stefan Monnier
f58e0fd503
Reduce use of (require 'cl).
...
* admin/bzrmerge.el: Use cl-lib.
* leim/quail/hangul.el: Don't require CL.
* leim/quail/ipa.el: Use cl-lib.
* vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
* vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
* register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
* msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
* international/quail.el, info-xref.el, imenu.el, image-mode.el:
* font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
* battery.el, avoid.el, abbrev.el: Use cl-lib.
* vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
* vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
* jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
* emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
* calculator.el, autorevert.el, apropos.el: Don't require CL.
* emacs-bytecomp.el (byte-recompile-directory, display-call-tree)
(byte-compile-unfold-bcf, byte-compile-check-variable):
* emacs-byte-opt.el (byte-compile-trueconstp)
(byte-compile-nilconstp):
* emacs-autoload.el (make-autoload): Use pcase.
* face-remap.el (text-scale-adjust): Simplify pcase patterns.
2012-07-10 07:51:54 -04:00
Chong Yidong
4f32cc6c57
* net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
2012-05-16 10:49:19 +08:00
Chong Yidong
fcf2993fbb
* net/gnutls.el (gnutls-min-prime-bits): Default to 256.
...
Fixes: debbugs:11267
2012-05-15 23:16:13 +08:00
Ted Zlatanov
ee0ce425db
* net/gnutls.el (gnutls-trustfiles): Fixed Cygwin bundle location.
2012-02-17 08:05:20 -05:00
Ted Zlatanov
08dcdbc94a
(gnutls-trustfiles): Add Cygwin location.
...
* net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
2012-02-14 08:13:24 -05:00
Ted Zlatanov
7ee99f32e1
Introduce and use CA bundle locator `gnutls-trustfiles'.
...
* net/gnutls.el (gnutls-trustfiles): New variable.
(gnutls-negotiate): Use it.
2012-02-13 16:48:14 -05:00
Ted Zlatanov
fa9958a67e
(gnutls-algorithm-priority): Add missing :group tag.
2012-02-12 16:40:25 -05:00
Glenn Morris
2bed3f0483
Add missing :version tags to new defgroups and defcustoms
...
* window.el (window-sides-slots):
* tool-bar.el (tool-bar-position):
* term/xterm.el (xterm-extra-capabilities):
* ses.el (ses-self-reference-early-detection):
* progmodes/verilog-mode.el (verilog-auto-declare-nettype)
(verilog-auto-wire-type)
(verilog-auto-delete-trailing-whitespace)
(verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
(verilog-auto-tieoff-declaration):
* progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
(sql-oracle-statement-starters, sql-oracle-scan-on):
* progmodes/prolog.el (prolog-align-comments-flag)
(prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
(prolog-left-indent-regexp, prolog-paren-indent-p)
(prolog-paren-indent, prolog-parse-mode, prolog-keywords)
(prolog-types, prolog-mode-specificators)
(prolog-determinism-specificators, prolog-directives)
(prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
(prolog-electric-dot-flag)
(prolog-electric-dot-full-predicate-template)
(prolog-electric-underscore-flag, prolog-electric-tab-flag)
(prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
(prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
(prolog-program-switches, prolog-prompt-regexp)
(prolog-debug-on-string, prolog-debug-off-string)
(prolog-trace-on-string, prolog-trace-off-string)
(prolog-zip-on-string, prolog-zip-off-string)
(prolog-use-standard-consult-compile-method-flag)
(prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
(prolog-imenu-max-lines, prolog-info-predicate-index)
(prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
(prolog-char-quote-workaround):
* progmodes/cc-vars.el (c-defun-tactic):
* net/tramp.el (tramp-encoding-command-interactive)
(tramp-local-end-of-line):
* net/soap-client.el (soap-client):
* net/netrc.el (netrc-file):
* net/gnutls.el (gnutls):
* minibuffer.el (completion-category-overrides)
(completion-cycle-threshold)
(completion-pcm-complete-word-inserts-delimiters):
* man.el (Man-name-local-regexp):
* mail/feedmail.el (feedmail-display-full-frame):
* international/characters.el (glyphless-char-display-control):
* eshell/em-ls.el (eshell-ls-date-format):
* emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
(lisp-lambda-list-keyword-parameter-indentation)
(lisp-lambda-list-keyword-parameter-alignment):
* doc-view.el (doc-view-image-width, doc-view-unoconv-program):
* dired-x.el (dired-omit-verbose):
* cus-theme.el (custom-theme-allow-multiple-selections):
* calc/calc.el (calc-highlight-selections-with-faces)
(calc-lu-field-reference, calc-lu-power-reference)
(calc-note-threshold):
* battery.el (battery-mode-line-limit):
* arc-mode.el (archive-7z-extract, archive-7z-expunge)
(archive-7z-update):
* allout.el (allout-prefixed-keybindings)
(allout-unprefixed-keybindings)
(allout-inhibit-auto-fill-on-headline)
(allout-flattened-numbering-abbreviation):
* allout-widgets.el (allout-widgets-auto-activation)
(allout-widgets-icons-dark-subdir)
(allout-widgets-icons-light-subdir, allout-widgets-icon-types)
(allout-widgets-theme-dark-background)
(allout-widgets-theme-light-background)
(allout-widgets-item-image-properties-emacs)
(allout-widgets-item-image-properties-xemacs)
(allout-widgets-run-unit-tests-on-load)
(allout-widgets-time-decoration-activity)
(allout-widgets-hook-error-post-time)
(allout-widgets-track-decoration):
* gnus/sieve-manage.el (sieve-manage-default-stream):
* gnus/shr.el (shr):
* gnus/nnir.el (nnir-ignored-newsgroups, nnir-summary-line-format)
(nnir-retrieve-headers-override-function)
(nnir-imap-default-search-key, nnir-notmuch-program)
(nnir-notmuch-additional-switches, nnir-notmuch-remove-prefix)
(nnir-method-default-engines):
* gnus/message.el (message-cite-reply-position):
* gnus/gssapi.el (gssapi-program):
* gnus/gravatar.el (gravatar):
* gnus/gnus-sum.el (gnus-refer-thread-use-nnir):
* gnus/gnus-registry.el (gnus-registry-unfollowed-addresses)
(gnus-registry-max-pruned-entries):
* gnus/gnus-picon.el (gnus-picon-inhibit-top-level-domains):
* gnus/gnus-int.el (gnus-after-set-mark-hook)
(gnus-before-update-mark-hook):
* gnus/gnus-async.el (gnus-async-post-fetch-function):
* gnus/auth-source.el (auth-source-cache-expiry):
Add missing :version tags to new defcustoms and defgroups.
2012-02-11 14:13:29 -08:00
Glenn Morris
acaf905b11
Add 2012 to FSF copyright years for Emacs files
2012-01-05 01:46:05 -08:00
Juanma Barranquero
e9fce1acd8
Fix typos.
2011-11-25 14:26:30 +01:00
Lars Magne Ingebrigtsen
750c33f71e
Move the defintion of `gnutls-log-level' to the C level to avoid loading problems
2011-07-17 00:49:20 +02:00
Lawrence Mitchell
87e8668442
Allow controlling how many prime bits to use during TLS negotiation
2011-07-15 19:41:24 +02:00
Lars Magne Ingebrigtsen
d606623955
* net/gnutls.el (gnutls-negotiate): Upcase `gnutls-algorithm-priority'.
2011-07-15 19:25:02 +02:00
Lars Magne Ingebrigtsen
7b41decb8e
Add a variable to customize the gnutls priority
2011-07-15 19:21:57 +02:00
Ted Zlatanov
48e79d6a80
Use CL-style keyword arguments for `gnutls-negotiate' and allow :keylist and :crlfiles arguments.
...
* lisp/net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
instead of positional arguments. Allow :keylist and :crlfiles
arguments.
(open-gnutls-stream): Call it.
* lisp/net/network-stream.el (network-stream-open-starttls): Adjust to
call `gnutls-negotiate' with :process and :hostname arguments.
2011-05-03 20:44:58 -05:00
Juanma Barranquero
cd22b309b4
lisp/net/gnutls.el (gnutls-errorp): Declare before first use.
2011-04-25 15:47:23 +02:00
Ted Zlatanov
8b492194a9
Bug fixes and certificate and hostname verification for the Emacs GnuTLS support.
...
* lisp/net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
verify-error, and verify-hostname-error parameters. Check whether
default trustfile exists before going to use it. Add missing
argument to gnutls-message-maybe call. Return return value.
Reported by Claudio Bley <claudio.bley@gmail.com>.
(open-gnutls-stream): Add usage example.
* lisp/net/network-stream.el (network-stream-open-starttls): Give host
parameter to `gnutls-negotiate'.
(gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
2011-04-24 20:31:45 -05:00
Glenn Morris
73b0cd5003
Convert consecutive FSF copyright years to ranges.
2011-01-24 20:08:28 -08:00
Glenn Morris
d0d4361dba
Add 2011 to remaining FSF/AIST copyright years.
2011-01-15 14:10:37 -08:00
Romain Francoise
bc5576723b
* net/gnutls.el (gnutls-negotiate): Fix setting of default trustfiles.
2010-12-13 23:20:32 +01:00
Glenn Morris
c3dfebd128
* net/gnutls.el (gnutls-boot, gnutls-errorp, gnutls-error-string): Declare.
2010-10-31 22:53:15 -07:00
Ted Zlatanov
8762aa1038
Provide GnuTLS API with gnutls-negotiate' and
open-gnutls-stream'.
...
* net/gnutls.el: Improve docs. Remove starttls and ssl emulation.
Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
`gnutls-negotiate' (formerly `starttls-negotiate'). Remove
trivial wrapper `starttls-open-stream'.
2010-10-03 20:16:00 -05:00
Lars Magne Ingebrigtsen
c1ae068bbb
Rework the gnutls boot interface.
...
From Teodor Zlatanov.
2010-10-04 00:37:37 +02:00
Lars Magne Ingebrigtsen
bac5cef8cc
Do the gnutls handshake from the reader loop, instead of looping over
...
the handshake from Emacs Lisp.
2010-09-29 15:25:24 +02:00
Lars Magne Ingebrigtsen
df7fcafff0
Make sure all reads/writes to gnutls streams go via the gnutls functions.
2010-09-29 14:48:29 +02:00
Lars Magne Ingebrigtsen
8ed70bf316
Add gnutls logging and clean up various gnutls bits.
...
From: Teodor Zlatanov <tzz@lifelogs.com>
2010-09-27 18:44:31 +02:00
Lars Magne Ingebrigtsen
d2e9d0bbb2
Add debugging to the gnutls library, and finish handshaking when it's done.
2010-09-27 16:35:22 +02:00
Lars Magne Ingebrigtsen
6303aba122
(starttls-negotiate): Avoid the cl.el decf function.
2010-09-26 17:30:44 +02:00
Ted Zlatanov
8af55556e6
Set up GnuTLS support.
...
* configure.in: Set up GnuTLS.
* lisp/net/gnutls.el: GnuTLS glue code to set up a connection.
* src/Makefile.in (LIBGNUTLS_LIBS, LIBGNUTLS_CFLAGS, ALL_CFLAGS)
(obj, LIBES): Set up GnuTLS support.
* src/config.in: Set up GnuTLS support.
* src/emacs.c: Set up GnuTLS support and call syms_of_gnutls.
* src/gnutls.c: The source code for GnuTLS support in Emacs.
* src/gnutls.h: The GnuTLS glue for Emacs, macros and enums.
* src/process.c (make_process, Fstart_process)
(read_process_output, send_process): Set up GnuTLS support for
process input/output file descriptors.
* src/process.h: Set up GnuTLS support.
2010-09-26 01:06:28 -05:00