1. 16 Dec, 2013 1 commit
    • Stefan Monnier's avatar
      * lisp/emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode. · 2013a2f9
      Stefan Monnier authored
      (cua--deactivate-rectangle): Don't deactivate the mark.
      (cua-set-rectangle-mark): Don't set mark-active since
      cua--activate-rectangle already does it for us.
      (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
      non-rectangular region.
      
      * lisp/emulation/cua-base.el (cua-repeat-replace-region):
      Use with-current-buffer.
      
      * lisp/net/gnutls.el: Use cl-lib.
      (gnutls-negotiate): `mapcan' -> cl-mapcan.
      2013a2f9
  2. 14 Dec, 2013 1 commit
    • Ted Zlatanov's avatar
      New verify-error GnuTLS interface for certificate validation · 31b4827e
      Ted Zlatanov authored
      * net/gnutls.el (gnutls-verify-error): New defcustom to control
      the behavior when a certificate fails validation.  Defaults to
      old behavior: never abort, just warn.
      (gnutls-negotiate): Use it.
      
      * gnutls.c: Replace `:verify_hostname_error' with `:verify_error',
      now a list of certificate validation checks that will abort a
      connection with an error.
      (Fgnutls_boot): Document it and use it.
      31b4827e
  3. 18 Sep, 2013 1 commit
  4. 09 Aug, 2013 1 commit
    • Stefan Monnier's avatar
      * lisp/subr.el (define-error): New function. · 54bd972f
      Stefan Monnier authored
      * doc/lispref/control.texi (Signaling Errors): Refer to define-error.
      (Error Symbols): Add `define-error'.
      * doc/lispref/errors.texi (Standard Errors): Don't refer to `error-conditions'.
      * lisp/progmodes/ada-xref.el (ada-error-file-not-found): Rename from
      error-file-not-found and define with define-error.
      * lisp/emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
      and define with define-error.
      * lisp/userlock.el (file-locked, file-supersession):
      * lisp/simple.el (mark-inactive):
      * lisp/progmodes/js.el (js-moz-bad-rpc, js-js-error):
      * lisp/progmodes/ada-mode.el (ada-mode-errors):
      * lisp/play/life.el (life-extinct):
      * lisp/nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
      * lisp/nxml/xmltok.el (xmltok-markup-declaration-parse-error):
      * lisp/nxml/rng-util.el (rng-error):
      * lisp/nxml/rng-uri.el (rng-uri-error):
      * lisp/nxml/rng-match.el (rng-compile-error):
      * lisp/nxml/rng-cmpct.el (rng-c-incorrect-schema):
      * lisp/nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
      * lisp/nxml/nxml-rap.el (nxml-scan-error):
      * lisp/nxml/nxml-outln.el (nxml-outline-error):
      * lisp/net/soap-client.el (soap-error):
      * lisp/net/gnutls.el (gnutls-error):
      * lisp/net/ange-ftp.el (ftp-error):
      * lisp/mpc.el (mpc-proc-error):
      * lisp/json.el (json-error, json-readtable-error, json-unknown-keyword)
      (json-number-format, json-string-escape, json-string-format)
      (json-key-format, json-object-format):
      * lisp/jka-compr.el (compression-error):
      * lisp/international/quail.el (quail-error):
      * lisp/international/kkc.el (kkc-error):
      * lisp/emacs-lisp/ert.el (ert-test-failed):
      * lisp/calc/calc.el (calc-error, inexact-result, math-overflow)
      (math-underflow):
      * lisp/bookmark.el (bookmark-error-no-filename):
      * lisp/epg.el (epg-error): Define with define-error.
      54bd972f
  5. 01 Jan, 2013 1 commit
  6. 10 Jul, 2012 1 commit
    • Stefan Monnier's avatar
      Reduce use of (require 'cl). · f58e0fd5
      Stefan Monnier authored
      * 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.
      f58e0fd5
  7. 16 May, 2012 1 commit
  8. 15 May, 2012 1 commit
  9. 17 Feb, 2012 1 commit
  10. 14 Feb, 2012 1 commit
  11. 13 Feb, 2012 1 commit
  12. 12 Feb, 2012 1 commit
  13. 11 Feb, 2012 1 commit
    • Glenn Morris's avatar
      Add missing :version tags to new defgroups and defcustoms · 2bed3f04
      Glenn Morris authored
      * 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.
      2bed3f04
  14. 05 Jan, 2012 1 commit
  15. 25 Nov, 2011 1 commit
  16. 16 Jul, 2011 1 commit
  17. 15 Jul, 2011 3 commits
  18. 04 May, 2011 1 commit
  19. 25 Apr, 2011 2 commits
  20. 25 Jan, 2011 1 commit
  21. 15 Jan, 2011 1 commit
  22. 13 Dec, 2010 1 commit
  23. 01 Nov, 2010 1 commit
  24. 04 Oct, 2010 1 commit
  25. 03 Oct, 2010 1 commit
  26. 29 Sep, 2010 2 commits
  27. 27 Sep, 2010 2 commits
  28. 26 Sep, 2010 2 commits
    • Lars Magne Ingebrigtsen's avatar
    • Ted Zlatanov's avatar
      Set up GnuTLS support. · 8af55556
      Ted Zlatanov authored
      * 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.
      8af55556