]> git.eshelyaron.com Git - emacs.git/log
emacs.git
8 years agoeww build fix (require puny)
Lars Magne Ingebrigtsen [Wed, 30 Dec 2015 09:00:15 +0000 (10:00 +0100)]
eww build fix (require puny)

8 years agoTransform non-restrictive domains to punycode for display
Lars Magne Ingebrigtsen [Wed, 30 Dec 2015 08:59:30 +0000 (09:59 +0100)]
Transform non-restrictive domains to punycode for display

* lisp/net/eww.el (eww): Check whether the domain is Highly
Restrictive in the Unicode IDNA sense.

9 years agoFurther Unicode restrictive fixups
Lars Ingebrigtsen [Tue, 29 Dec 2015 16:46:00 +0000 (17:46 +0100)]
Further Unicode restrictive fixups

* puny.el (puny-highly-restrictive-p): Include the extra
identifier characters from table 3.

9 years agoAdd a new function to say whether a string is restrictive
Lars Ingebrigtsen [Tue, 29 Dec 2015 11:40:55 +0000 (12:40 +0100)]
Add a new function to say whether a string is restrictive

* puny.el (puny-highly-restrictive-p): New function.

9 years agoMention the new puny.el library
Lars Ingebrigtsen [Mon, 28 Dec 2015 23:11:34 +0000 (00:11 +0100)]
Mention the new puny.el library

9 years agoIDNA-related fixes for the URL library
Lars Ingebrigtsen [Mon, 28 Dec 2015 23:11:06 +0000 (00:11 +0100)]
IDNA-related fixes for the URL library

* lisp/url/url-http.el (url-http-create-request): IDNA-encode
the Host: header.

* lisp/url/url-util.el (url-encode-url): Don't hex-encode
domain names, but leave them as UTF-8, so that they can be
IDNA-encoded later when contacting the host.

9 years agoIDNA-encode all domain names in `open-network-stream'
Lars Ingebrigtsen [Mon, 28 Dec 2015 23:09:10 +0000 (00:09 +0100)]
IDNA-encode all domain names in `open-network-stream'

* network-stream.el (open-network-stream)
(network-stream-open-plain, network-stream-open-starttls):
IDNA-encode all domain names, if needed.

9 years agoFix puny-encoding all-non-ASCII domains
Lars Ingebrigtsen [Mon, 28 Dec 2015 23:07:50 +0000 (00:07 +0100)]
Fix puny-encoding all-non-ASCII domains

* puny.el (puny-encode-string): Fix the all-non-ASCII encoding case.

9 years agoshr link traversal fixup
Lars Ingebrigtsen [Mon, 28 Dec 2015 20:55:18 +0000 (21:55 +0100)]
shr link traversal fixup

* shr.el (shr-next-link): Don't bug out on adjacent links.

9 years agoReconnect erc even on server errors
Lars Ingebrigtsen [Mon, 28 Dec 2015 19:52:41 +0000 (20:52 +0100)]
Reconnect erc even on server errors

* lisp/erc/erc-backend.el (erc-server-reconnect-p): Try to
reconnect even if a server error has occurred (bug#18527).

9 years agoFix punycode short circuit logic
Lars Ingebrigtsen [Mon, 28 Dec 2015 18:13:51 +0000 (19:13 +0100)]
Fix punycode short circuit logic

* puny.el (puny-encode-domain): Fix short-circuit logic.

9 years agoIDNA speed up
Lars Ingebrigtsen [Mon, 28 Dec 2015 17:47:51 +0000 (18:47 +0100)]
IDNA speed up

* puny.el (puny-encode-domain): Make the common non-IDNA case faster

9 years agoAdd IDNA domain encode/decode functions
Lars Ingebrigtsen [Mon, 28 Dec 2015 17:41:13 +0000 (18:41 +0100)]
Add IDNA domain encode/decode functions

* puny.el (puny-decode-domain): New function.
(puny-encode-domain): Ditto.
(puny-decode-digit): Fix digit decoding error.

9 years agoRename idna.el to puny.el
Lars Ingebrigtsen [Mon, 28 Dec 2015 17:21:20 +0000 (18:21 +0100)]
Rename idna.el to puny.el

* puny.el: Renamed from idna.el to avoid name collisions with
the external idna.el library.

9 years agolisp/gnus/mml-sec.el (mml-secure-bcc-is-safe): Keep old Emacsen compatibility
Katsumi Yamaoka [Mon, 28 Dec 2015 05:34:12 +0000 (05:34 +0000)]
lisp/gnus/mml-sec.el (mml-secure-bcc-is-safe): Keep old Emacsen compatibility

* lisp/gnus/mml-sec.el (mml-secure-bcc-is-safe):
Don't use split-string with 4th arg for old Emacsen compatibility.

9 years ago* idna.el (idna-decode-string-internal): Implement decoding.
Lars Ingebrigtsen [Mon, 28 Dec 2015 03:15:16 +0000 (04:15 +0100)]
* idna.el (idna-decode-string-internal): Implement decoding.

9 years agoFurther IDNA tweaks
Lars Ingebrigtsen [Mon, 28 Dec 2015 01:57:40 +0000 (02:57 +0100)]
Further IDNA tweaks

(idna-encode-string): Make idna-encode-string safe for
non-ASCII use.

9 years agoClean up the code slightly
Lars Ingebrigtsen [Mon, 28 Dec 2015 01:55:52 +0000 (02:55 +0100)]
Clean up the code slightly

9 years agoAdded basic idna encoding support
Lars Ingebrigtsen [Mon, 28 Dec 2015 01:46:50 +0000 (02:46 +0100)]
Added basic idna encoding support

* lisp/net/idna.el: New file.

9 years agoDisconnection fixes for erc
Vivek Dasmohapatra [Sun, 27 Dec 2015 22:28:52 +0000 (23:28 +0100)]
Disconnection fixes for erc

* lisp/erc/erc-backend.el (erc-server-reconnect-p): Don't
reconnect if the user has disconnected explicitly (bug#4589).

9 years agoFurther erc asynch fixes
Thomas Riccardi [Sun, 27 Dec 2015 22:14:13 +0000 (23:14 +0100)]
Further erc asynch fixes

* lisp/erc/erc-backend.el (erc-process-sentinel-2): Make
erc-server-connect to return even if the connection is not
ready.  Then erc-open and erc-server-reconnect do the
same. (bug#5650).

Copyright-paperwork-exempt: yes

9 years agoMake erc connect asynchronously
Vivek Dasmohapatra [Sun, 27 Dec 2015 22:12:30 +0000 (23:12 +0100)]
Make erc connect asynchronously

* lisp/erc/erc-backend.el (erc-server-reconnect): Use it to
reconnect asynchronously.

* lisp/erc/erc-backend.el (erc-open-network-stream): New function (bug#5650).

9 years agoProxy error in erc with multiple clients
David Edmondson [Sun, 27 Dec 2015 20:33:01 +0000 (21:33 +0100)]
Proxy error in erc with multiple clients

* lisp/erc/erc.el (erc-channel-receive-names): Fix errors
generated when multiple IRC clients talk to a single IRC proxy
(bug#19034).

9 years agoFix mml-sec build warnings
Jens Lechtenboerger [Sun, 27 Dec 2015 20:12:16 +0000 (21:12 +0100)]
Fix mml-sec build warnings

* lisp/gnus/mml-sec.el: Fix warnings by adding autoloads
(bug#18718).

9 years ago(eww-setup-buffer): Restore left-to-right defaults
Lars Ingebrigtsen [Sun, 27 Dec 2015 19:35:05 +0000 (20:35 +0100)]
(eww-setup-buffer): Restore left-to-right defaults

* eww.el (eww-setup-buffer): Restore left-to-right defaults.

9 years ago* lisp/gnus/mml-sec.el (mml-secure-bcc-is-safe): Fix typo in last check-in.
Lars Ingebrigtsen [Sun, 27 Dec 2015 18:24:58 +0000 (19:24 +0100)]
* lisp/gnus/mml-sec.el (mml-secure-bcc-is-safe): Fix typo in last check-in.

9 years agoIdentify unsafe combinations of Bcc and encryption
Jens Lechtenboerger [Sun, 27 Dec 2015 18:22:56 +0000 (19:22 +0100)]
Identify unsafe combinations of Bcc and encryption

* lisp/gnus/gnus-util.el (gnus-subsetp): New function
* lisp/gnus/mml-sec.el (mml-secure-safe-bcc-list): New variable
* lisp/gnus/mml-sec.el (mml-secure-bcc-is-safe): New function

9 years ago; Auto-commit of ChangeLog files.
Glenn Morris [Sun, 27 Dec 2015 11:23:49 +0000 (06:23 -0500)]
; Auto-commit of ChangeLog files.

9 years ago* shr.el (shr-descend): Allow using lambdas in external functions.
Lars Ingebrigtsen [Sun, 27 Dec 2015 06:18:29 +0000 (07:18 +0100)]
* shr.el (shr-descend): Allow using lambdas in external functions.

9 years ago* admin/gitmerge.el: Tweaks that seemed necessary
Stefan Monnier [Sat, 26 Dec 2015 04:37:36 +0000 (23:37 -0500)]
* admin/gitmerge.el: Tweaks that seemed necessary

* admin/gitmerge.el (gitmerge-skip-regexp): Remove "sync".
(gitmerge-maybe-resume): Provide explicit empty commit message.

9 years agoUse a different port for TLS erc
Łukasz Stelmach [Sat, 26 Dec 2015 02:47:21 +0000 (03:47 +0100)]
Use a different port for TLS erc

* lisp/erc/erc.el (erc-default-port-tls): New variable
(bug#19497).
* lisp/erc/erc.el (erc-tls): Use it.

Copyright-paperwork-exempt: yes

9 years agoMake relative URL parsing and resolution consistent with RFC 3986 (bug#22044)
Alain Schneble [Fri, 25 Dec 2015 23:50:25 +0000 (00:50 +0100)]
Make relative URL parsing and resolution consistent with RFC 3986 (bug#22044)

* test/lisp/url/url-parse-tests.el: Add tests covering url-generic-parse-url.
* test/lisp/url/url-expand-tests.el: Add tests covering url-expand-file-name.
* lisp/url/url-parse.el (url-generic-parse-url): Keep empty fragment
information in URL-struct.
* lisp/url/url-parse.el (url-path-and-query): Do not artificially turn empty
path and query into nil path and query, respectively.
* lisp/url/url-expand.el (url-expander-remove-relative-links): Do not turn
empty path into an absolute ("/") path.
* lisp/url/url-expand.el (url-expand-file-name): Properly resolve
fragment-only URIs. Do not just return them unchanged.
* lisp/url/url-expand.el (url-default-expander): An empty path in the relative
reference URI should not drop the last segment.

9 years agoMake relative URL parsing and resolution consistent with RFC 3986 (bug#22044)
Alain Schneble [Fri, 25 Dec 2015 23:50:13 +0000 (00:50 +0100)]
Make relative URL parsing and resolution consistent with RFC 3986 (bug#22044)

* test/lisp/url/url-parse-tests.el: Add tests covering url-generic-parse-url.
* test/lisp/url/url-expand-tests.el: Add tests covering url-expand-file-name.
* lisp/url/url-parse.el (url-generic-parse-url): Keep empty fragment
information in URL-struct.
* lisp/url/url-parse.el (url-path-and-query): Do not artificially turn empty
path and query into nil path and query, respectively.
* lisp/url/url-expand.el (url-expander-remove-relative-links): Do not turn
empty path into an absolute ("/") path.
* lisp/url/url-expand.el (url-expand-file-name): Properly resolve
fragment-only URIs. Do not just return them unchanged.
* lisp/url/url-expand.el (url-default-expander): An empty path in the relative
reference URI should not drop the last segment.

9 years agoLet url use default file modes when copying files
Lars Ingebrigtsen [Fri, 25 Dec 2015 21:36:32 +0000 (22:36 +0100)]
Let url use default file modes when copying files

* lisp/url/url-handlers.el (url-copy-file): Use default file
modes when copying files (bug#11400).

9 years agoDoc fix for url-http
Devon Sean McCullough [Fri, 25 Dec 2015 21:21:22 +0000 (22:21 +0100)]
Doc fix for url-http

* lisp/url/url-http.el (url-http): Document better return values
  (bug#13187) (tiny change)

9 years ago* eww.el (eww-display-html): Support <button> tags (bug#20485).
Lars Ingebrigtsen [Fri, 25 Dec 2015 20:44:57 +0000 (21:44 +0100)]
* eww.el (eww-display-html): Support <button> tags (bug#20485).

9 years agoMade ffap-url-p a defun instead of a defsubst
Lars Ingebrigtsen [Fri, 25 Dec 2015 19:43:36 +0000 (20:43 +0100)]
Made ffap-url-p a defun instead of a defsubst

* lisp/ffap.el (ffap-url-p): Change from defsusbt to defun,
since there doesn't seem to be much of a reason for it to be a
defsubst (bug#18203).

9 years agoAdd a command to view files in the browser to dired
Lars Ingebrigtsen [Fri, 25 Dec 2015 19:36:54 +0000 (20:36 +0100)]
Add a command to view files in the browser to dired

* lisp/dired.el (dired-mode-map): Add the `W' command
(bug#18810).

9 years agoAllow http://user:pass@foo/ URLs again
Lars Ingebrigtsen [Fri, 25 Dec 2015 19:21:46 +0000 (20:21 +0100)]
Allow http://user:pass@foo/ URLs again

* lisp/url/url-auth.el (url-basic-auth): Allow explicit
user/passwords in URLs (bug#19046).

9 years ago* eww.el (eww-mode-map): Fix command name of eww-toggle-colors.
Lars Ingebrigtsen [Fri, 25 Dec 2015 18:08:03 +0000 (19:08 +0100)]
* eww.el (eww-mode-map): Fix command name of eww-toggle-colors.

9 years agoAutoload url-insert-buffer-contents
Samer Masterson [Fri, 25 Dec 2015 18:04:55 +0000 (19:04 +0100)]
Autoload url-insert-buffer-contents

* lisp/url/url-handlers.el: Add autoload cookie so that
`package-list-packages' doesn't bug out (bug#21927) (tiny change)

9 years agoAllow toggling colors in eww
Lars Ingebrigtsen [Fri, 25 Dec 2015 17:50:43 +0000 (18:50 +0100)]
Allow toggling colors in eww

* doc/misc/eww.texi (Basics): Mention "C".

* lisp/net/eww.el (eww-toggle-colors): New command and keystroke.

* lisp/net/shr.el (shr-use-colors): New variable.
(shr-colorize-region): Use it.

9 years agoFollow meta refresh tags in eww
Lars Ingebrigtsen [Fri, 25 Dec 2015 17:18:42 +0000 (18:18 +0100)]
Follow meta refresh tags in eww

* eww.el (eww-tag-meta): Follow meta refresh tags (bug#22234).

9 years agoMore eww file name coding fixes
Lars Ingebrigtsen [Fri, 25 Dec 2015 07:31:10 +0000 (08:31 +0100)]
More eww file name coding fixes

* eww.el (eww-decode-url-file-name): Use the base coding
system to check for encodability.

9 years agoAlways save eww history
Lars Ingebrigtsen [Fri, 25 Dec 2015 06:56:08 +0000 (07:56 +0100)]
Always save eww history

* eww.el (eww-setup-buffer): Always save history, even when
called from outside the eww buffer (bug#19638).

9 years agoDefault web pages to right-to-left
Lars Ingebrigtsen [Fri, 25 Dec 2015 06:45:27 +0000 (07:45 +0100)]
Default web pages to right-to-left

* eww.el (eww-mode): Most web pages are left-to-right, so make
that the default (bug#19801).

* shr.el (shr-tag-html): Respect "dir" attributes
(left-to-right, right-to-left).

9 years agoMake toggling checkboxes work again
Lars Ingebrigtsen [Fri, 25 Dec 2015 05:47:28 +0000 (06:47 +0100)]
Make toggling checkboxes work again

* eww.el (eww-update-field): Make toggling checkboxes work
again (bug#21881).

9 years agoDon't store cookies with empty names
Lars Ingebrigtsen [Fri, 25 Dec 2015 05:33:25 +0000 (06:33 +0100)]
Don't store cookies with empty names

* lisp/url/url-cookie.el (url-cookie-store): Refuse to store
cookies with empty names (bug#21936).

9 years agoStop rendering HTML before specdlr exhaustion
Lars Ingebrigtsen [Fri, 25 Dec 2015 05:19:34 +0000 (06:19 +0100)]
Stop rendering HTML before specdlr exhaustion

Fixes: 22117
* shr.el (shr-descend): Stop rendering before we run out of
specpdl room (bug#22117).

9 years agoUse cl-reduce, not reduce.
Lars Ingebrigtsen [Fri, 25 Dec 2015 05:04:01 +0000 (06:04 +0100)]
Use cl-reduce, not reduce.

9 years agoAllow several <tbody> tags in shr
Lars Ingebrigtsen [Fri, 25 Dec 2015 05:01:19 +0000 (06:01 +0100)]
Allow several <tbody> tags in shr

* shr.el (shr-table-body): New function to find the real body
of a table.
(shr-tag-table): Use it to render several <tbody> tags in a
table (bug#22170).

9 years agoMake prettier unique file names in eww
Lars Ingebrigtsen [Thu, 24 Dec 2015 21:47:58 +0000 (22:47 +0100)]
Make prettier unique file names in eww

(eww-make-unique-file-name): Make unique file names by making
files like foo(2).jpg instead of foo(1)(2).jpg.

9 years agoDecode hex-encoded URLs before using them as file names
Lars Ingebrigtsen [Thu, 24 Dec 2015 21:21:24 +0000 (22:21 +0100)]
Decode hex-encoded URLs before using them as file names

* eww.el (eww-decode-url-file-name): New function.
(eww-download-callback): Use it to decode file names before
saving them.

9 years agoAdd FreeBSD cert bundle
Ashish SHUKLA [Thu, 24 Dec 2015 17:54:41 +0000 (18:54 +0100)]
Add FreeBSD cert bundle

* doc/misc/emacs-gnutls.texi (Help For Users): Document
FreeBSD bundle.

* lisp/net/gnutls.el (gnutls-trustfiles): Add FreeBSD cert bundle.

9 years agoAllow overriding shr functions from eww
Lars Ingebrigtsen [Thu, 24 Dec 2015 16:34:31 +0000 (17:34 +0100)]
Allow overriding shr functions from eww

* eww.el (eww-display-html): Allow overriding elements in
`shr-external-rendering-functions'.

9 years agoIgnore invalid SVG images
Lars Ingebrigtsen [Thu, 24 Dec 2015 13:40:16 +0000 (14:40 +0100)]
Ignore invalid SVG images

* shr.el (shr-tag-svg): Ignore SVG images that have no width
or height, because these can't be displayed by ImageMagick,
anyway.

9 years agoshr table rendering fix
Lars Ingebrigtsen [Thu, 24 Dec 2015 13:00:38 +0000 (14:00 +0100)]
shr table rendering fix

* shr.el (shr-tag-table): Allow rendering body-less tables
that have headers.

9 years agoclipboard should still work even if interprogram-* is disabled
Sam Steingold [Tue, 22 Dec 2015 17:02:30 +0000 (12:02 -0500)]
clipboard should still work even if interprogram-* is disabled

(clipboard-yank): When `interprogram-cut-function' is nil,
bind it to `gui-selection-value' - the default value.
(clipboard-kill-region, clipboard-kill-ring-save): When
`interprogram-paste-function' is nil, bind it to `gui-select-text' -
the default value.

9 years ago; Auto-commit of ChangeLog files.
Glenn Morris [Sun, 20 Dec 2015 11:24:07 +0000 (06:24 -0500)]
; Auto-commit of ChangeLog files.

9 years agoFix bootstrap issue with dired-loaddefs
Phillip Lord [Fri, 18 Dec 2015 21:19:35 +0000 (21:19 +0000)]
Fix bootstrap issue with dired-loaddefs

* lisp/dired.el: Autoloads for secondary files loaded optionally.

9 years agodired generate autoloads to non-versioned file.
Phillip Lord [Thu, 17 Dec 2015 20:37:51 +0000 (20:37 +0000)]
dired generate autoloads to non-versioned file.

* lisp/dired.el: Remove autoloads.
* lisp/Makefile.in: Add dired to autogenel.
* lisp/dired-aux.el,lisp/dired-x.el: Update file local.
* test/lisp/dired-tests.el: Add new test.

9 years agoeieio generate autoloads to non-versioned file.
Phillip Lord [Thu, 17 Dec 2015 20:01:16 +0000 (20:01 +0000)]
eieio generate autoloads to non-versioned file.

* lisp/Makefile.in: eieio-loaddefs add to autogenel.
* lisp/emacs-lisp/eieio.el,lisp/emacs-lisp/eieio-core.el:
  Remove autoloads.
* lisp/emacs-lisp/eieio-compat.el,lisp/emacs-lisp/eieio-custom.el,
  lisp/emacs-lisp/eieio-opt.el: Update file local.
* test/lisp/emacs-lisp/eieio-tests/eieio-tests.el: New test.

9 years agohtmlfontify generate autoload to non-versioned file.
Phillip Lord [Wed, 16 Dec 2015 23:15:44 +0000 (23:15 +0000)]
htmlfontify generate autoload to non-versioned file.

* lisp/Makefile.in: Add htmlfontity-loaddefs to autogenel.
* lisp/hfy-cmap.el: Update file local.
* lisp/htmlfontify.el: Remove autoloads, add require.
* test/lisp/htmlfontify-tests.el: Test autoload functionality.

9 years agoibuffer generate autoloads to non-versioned file.
Phillip Lord [Wed, 16 Dec 2015 23:08:17 +0000 (23:08 +0000)]
ibuffer generate autoloads to non-versioned file.

* lisp/Makefile.in: Add ibuffer-loaddefs to autogenel.
* lisp/ibuf-ext.el: Update file local.
* lisp/ibuffer.el: Remove autoloads and add a require.
* test/lisp/ibuffer-tests.el: Test that autoload is working.

9 years agormail generate autoloads to non-versioned file.
Phillip Lord [Wed, 16 Dec 2015 22:35:47 +0000 (22:35 +0000)]
rmail generate autoloads to non-versioned file.

* lisp/Makefile.in: Add rmail-loaddefs.el to autogenel.
* lisp/mail/rmail.el: Remove autoloads, add require.
* lisp/mail/rmailedit.el,lisp/mail/rmailkwd.el,
  lisp/mail/rmailmm.el,lisp/mail/rmailmsc.el,
  lisp/mail/rmailsort.el,lisp/mail/rmailsum.el,
  lisp/mail/undigest.el: Update file-local.
* test/lisp/mail/rmail-tests.el:

9 years agoAdd autoload-force target.
Phillip Lord [Wed, 16 Dec 2015 22:20:26 +0000 (22:20 +0000)]
Add autoload-force target.

* lisp/Makefile.in (autoload-force): New target.

9 years agops-print generate autoloads to non versioned file.
Phillip Lord [Tue, 15 Dec 2015 23:08:48 +0000 (23:08 +0000)]
ps-print generate autoloads to non versioned file.

* lisp/Makefile.in: Add ps-print-loaddefs.el to autogen list.
* lisp/ps-print.el: Remove autoloads.
* lisp/ps-mule.el: Update file-local.
* test/lisp/ps-print-tests.el: Test autoload functionality.

9 years agoreftex generate autoloads to non versioned file.
Phillip Lord [Tue, 15 Dec 2015 21:51:12 +0000 (21:51 +0000)]
reftex generate autoloads to non versioned file.

* lisp/Makefile.in: Add reftex-loaddefs to autogen files
* lisp/textmodes/reftex.el: Remove autoloads.
* lisp/textmodes/reftex-auc.el,lisp/textmodes/reftex-cite.el,
  lisp/textmodes/reftex-dcr.el,lisp/textmodes/reftex-global.el,
  lisp/textmodes/reftex-index.el,lisp/textmodes/reftex-parse.el,
  lisp/textmodes/reftex-ref.el,lisp/textmodes/reftex-sel.el,
  lisp/textmodes/reftex-toc.el: Update autoload file-local.
* test/lisp/textmodes/reftex-tests.el: Add test of an autoloaded
  function.

9 years ago; Auto-commit of ChangeLog files.
Glenn Morris [Sun, 13 Dec 2015 11:25:35 +0000 (06:25 -0500)]
; Auto-commit of ChangeLog files.

9 years ago* lisp/calculator.el (calculator-define-key): Undo last change
Stefan Monnier [Mon, 7 Dec 2015 14:09:13 +0000 (09:09 -0500)]
* lisp/calculator.el (calculator-define-key): Undo last change

Make map argument mandatory instead (bug#22106).
(calculator-add-operators): Pass the argument that's not optional any more.

9 years ago; Auto-commit of ChangeLog files.
Glenn Morris [Sun, 6 Dec 2015 11:32:23 +0000 (06:32 -0500)]
; Auto-commit of ChangeLog files.

9 years ago* Makefile.in: Avoid duplication.
Glenn Morris [Fri, 4 Dec 2015 00:57:11 +0000 (19:57 -0500)]
* Makefile.in: Avoid duplication.

(have-tests): New rule.
(check, check-maybe): Use it.

9 years agomake check unconditional, check-maybe top-level.
Phillip Lord [Wed, 2 Dec 2015 21:28:56 +0000 (21:28 +0000)]
make check unconditional, check-maybe top-level.

 * Makefile.in: Add check-maybe target.
 * test/Makefile.in: Restore unconditional behaviour to make check.

9 years agoMerge branch 'master' of git.sv.gnu.org:/srv/git/emacs
Phillip Lord [Wed, 2 Dec 2015 12:05:09 +0000 (12:05 +0000)]
Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs

9 years agoTests now support out-of-source-build.
Phillip Lord [Tue, 1 Dec 2015 23:23:12 +0000 (23:23 +0000)]
Tests now support out-of-source-build.

 * tests/Makefile.in,test/make-test-deps.emacs-lisp: Remove assumptions
   about current working directory.

9 years ago; * test/make-test-deps.emacs-lisp: Standardize license notice.
Glenn Morris [Tue, 1 Dec 2015 20:55:51 +0000 (15:55 -0500)]
; * test/make-test-deps.emacs-lisp: Standardize license notice.

9 years ago* lisp/emacs-lisp/let-alist.el: Now an Elpa :core package
Artur Malabarba [Tue, 1 Dec 2015 13:56:30 +0000 (13:56 +0000)]
* lisp/emacs-lisp/let-alist.el: Now an Elpa :core package

9 years ago; Auto-commit of loaddefs files.
Glenn Morris [Tue, 1 Dec 2015 11:18:24 +0000 (06:18 -0500)]
; Auto-commit of loaddefs files.

9 years agoImprove documentation and clean up.
Phillip Lord [Mon, 30 Nov 2015 21:22:49 +0000 (21:22 +0000)]
Improve documentation and clean up.

 * test/Makefile.in: Improve documentation, use EMACS variable
   correctly, and clean up makefile rules.

9 years agoUpdate file headers for name change.
Phillip Lord [Sun, 29 Nov 2015 10:05:07 +0000 (10:05 +0000)]
Update file headers for name change.

 * (test/src/decompress-tests.el, test/src/alloc-tests.el): Update headers.

9 years agoTest files renamed to new scheme.
Phillip Lord [Sun, 29 Nov 2015 10:02:33 +0000 (10:02 +0000)]
Test files renamed to new scheme.

 * (finalizer-tests.el): Now renamed alloc-tests.el
 * (zlib-tests.el): Now renamed decompress-tests.el.

9 years agoTests now depend on source files
Phillip Lord [Sat, 28 Nov 2015 23:13:24 +0000 (23:13 +0000)]
Tests now depend on source files

 * test/Makefile.in: Include dependences from tests to source files.
 * test/make-test-deps.emacs-lisp: New file
 * .gitignore: Ignore generated make include file

9 years ago* lisp/progmodes/which-func.el: Improve disabling the mode
Stefan Monnier [Mon, 30 Nov 2015 15:52:12 +0000 (10:52 -0500)]
* lisp/progmodes/which-func.el: Improve disabling the mode

Use lexical-binding.
(which-func-modes, which-func-non-auto-modes, which-func-maxout)
(which-func, which-func-format): Remove redundant :group arg.
(which-func-try-to-enable): New function.
(which-func-ff-hook, which-function-mode): Use it.
(mode-line-misc-info): Add ourselves here instead of in bindings.el.
* lisp/bindings.el (mode-line-misc-info): Remove which-func-mode entry.

9 years ago* lisp/calculator.el (calculator-define-key): Silence warning
Stefan Monnier [Mon, 30 Nov 2015 13:02:55 +0000 (08:02 -0500)]
* lisp/calculator.el (calculator-define-key): Silence warning

...about unknown calculator-mode-map.

9 years ago* lisp/calculator.el: more improvements and bugfixes.
Eli Barzilay [Sun, 29 Nov 2015 20:24:27 +0000 (15:24 -0500)]
* lisp/calculator.el: more improvements and bugfixes.

- Mark `calculator-paste-decimals' as obsolete.  (It wasn't having an
  effect anyway.)

- Simplify `calculator-number-to-string' by throwing most of the work
  onto `number-to-string', leaving just some tweaks for decimal inputs.
  This leads to some minor changes, for example, pasting "1x1" in hex
  mode would warn that "x" is ignored and result in "11" (and it wasn't
  done in decimal mode), whereas now it just ignores everything from the
  "x" and on and result in a "1" just like in decimal input mode.  Also,
  overflows are left for `number-to-string' to deal with.

- `calculator-paste' is very simple as a result.

- Extend the simplified `calculator-paste': with a prefix argument it
  pastes a string as if the characters were entered.  This can be used
  to reduce expressions, but note that it's a simple literal operation,
  so precedence can be messed, a number can be paster while entering a
  number, spaces and newlines matter, etc.

- Fix a minor bug where "e+" in hex mode wouldn't use "+" as an
  operator.

- Fix a bug in `calculator-put-value': avoid grouping in the display
  that is used to construct `calculator-curnum'.  This would trigger
  when pasting or getting a value from a register in some radix mode
  with a large enough value.  Another fix: make the output radix equal
  the input one, otherwise numbers could be converted twice.

9 years ago* lisp/calculator.el: Re-do key bindings.
Eli Barzilay [Fri, 27 Nov 2015 15:21:30 +0000 (10:21 -0500)]
* lisp/calculator.el: Re-do key bindings.

Use a helper function that arranges a parent keymap that binds alternate
case keys so if some letter key is unbound and it's un/shifted version
is, it will get used.  This makes the global-map trickery unnecessary.

Also switch to passing strings that name keys through `kbd'.

9 years ago* lisp/calculator.el: improve radix modes
Eli Barzilay [Tue, 24 Nov 2015 18:39:17 +0000 (13:39 -0500)]
* lisp/calculator.el: improve radix modes

Fix prompt for some input radix with decimal output (eg, "BD" instead of
the incorrect "B="); also, some minor docstring tweaks for these.

9 years ago* lisp/calculator.el: better reading of register names
Eli Barzilay [Mon, 23 Nov 2015 03:37:11 +0000 (22:37 -0500)]
* lisp/calculator.el: better reading of register names

Use `register-read-with-preview' with a dynamically bound
`register-alist' and a proper preview function to read register names.

9 years ago* lisp/calculator.el: General improvements
Eli Barzilay [Mon, 23 Nov 2015 03:11:15 +0000 (22:11 -0500)]
* lisp/calculator.el: General improvements

Use things like `when', `unless', and `push'.

Improve `calculator-last-input' so it doesn't barf when hitting `F1' in
non-electric mode.

9 years ago; Manual Cleanup of ChangeLog.2
Michael Albinus [Sun, 29 Nov 2015 13:22:28 +0000 (14:22 +0100)]
; Manual Cleanup of ChangeLog.2

9 years ago; Manual Cleanup of ChangeLog.2
Michael Albinus [Sun, 29 Nov 2015 13:10:54 +0000 (14:10 +0100)]
; Manual Cleanup of ChangeLog.2

9 years ago; Auto-commit of ChangeLog files.
Glenn Morris [Sun, 29 Nov 2015 11:24:12 +0000 (06:24 -0500)]
; Auto-commit of ChangeLog files.

9 years ago; Pacify byte-compiler in filenotify-tests.el
Michael Albinus [Sat, 28 Nov 2015 13:20:28 +0000 (14:20 +0100)]
; Pacify byte-compiler in filenotify-tests.el

9 years agoFix a problem with gfilenotify in filenotify-tests.el
Michael Albinus [Sat, 28 Nov 2015 12:56:28 +0000 (13:56 +0100)]
Fix a problem with gfilenotify in filenotify-tests.el

* test/lisp/filenotify-tests.el
(file-notify--test-expected-events): Remove.
(file-notify--test-cleanup): Do not set that variable.
(file-notify--test-with-events): EVENTS can also be a list of lists.
(file-notify-test02-events, file-notify-test04-file-validity):
Adapt expected result.

9 years ago* .gitignore: Adjust to changes in 'test' directory structure.
Eli Zaretskii [Sat, 28 Nov 2015 11:00:24 +0000 (13:00 +0200)]
* .gitignore: Adjust to changes in 'test' directory structure.

9 years agoFix test/manual/etags/Makefile
Eli Zaretskii [Sat, 28 Nov 2015 10:58:15 +0000 (12:58 +0200)]
Fix test/manual/etags/Makefile

* test/manual/etags/Makefile (ETAGS_PROG, CTAGS_PROG): Adjust to
changes in 'test' directory structure.

9 years agoExclude resource dirs from search for tests.
Phillip Lord [Fri, 27 Nov 2015 21:41:14 +0000 (21:41 +0000)]
Exclude resource dirs from search for tests.

* test/Makefile.in: Test file locations are now found with find
  rather than using finds native functions.

9 years agoAdd test targets without directory names.
Phillip Lord [Fri, 27 Nov 2015 11:56:18 +0000 (11:56 +0000)]
Add test targets without directory names.

 * (test/Makefile.in): Extend test_template to add two targets for each
   file.

9 years ago* lisp/emacs-lisp/package.el: Require url-handlers
Artur Malabarba [Fri, 27 Nov 2015 10:59:52 +0000 (10:59 +0000)]
* lisp/emacs-lisp/package.el: Require url-handlers

9 years agoMove elisp-mode-tests to new function names.
Phillip Lord [Fri, 27 Nov 2015 10:27:36 +0000 (10:27 +0000)]
Move elisp-mode-tests to new function names.

 * test/lisp/progmodes/elisp-mode-tests.el (find-defsdefun-c-defvar-c,
 find-defs-defun-el-defvar-c): Call `elisp--xref-find-definitions'.