1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-16 00:01:05 -08:00
emacs/test/lisp
Paul Eggert 673b1785db Restore traditional lsh behavior on fixnums
* doc/lispref/numbers.texi (Bitwise Operations): Document that
the traditional (lsh A B) behavior is for fixnums, and that it
is an error if A and B are both negative and A is a bignum.
See Bug#32463.
* lisp/subr.el (lsh): New function, moved here from src/data.c.
* src/data.c (ash_lsh_impl): Remove, moving body into Fash
since it’s the only caller now.
(Fash): Check for out-of-range counts.  If COUNT is zero,
return first argument instead of going through libgmp.  Omit
lsh code since lsh is now done in Lisp.  Add code for shifting
fixnums right, to avoid a round trip through libgmp.
(Flsh): Remove; moved to lisp/subr.el.
* test/lisp/international/ccl-tests.el (shift):
Test for traditional lsh behavior, instead of assuming
lsh is like ash when bignums are present.
* test/src/data-tests.el (data-tests-logand)
(data-tests-logior, data-tests-logxor, data-tests-ash-lsh):
New tests.
2018-08-18 15:22:35 -07:00
..
calc Update copyright year to 2018 2018-01-01 00:57:59 -08:00
calendar Fix last todo-edit-mode change 2018-08-15 00:14:41 +02:00
emacs-lisp Give two backtrace-mode commands better names 2018-08-03 08:54:08 -07:00
emulation Update copyright year to 2018 2018-01-01 00:57:59 -08:00
erc Update copyright year to 2018 2018-01-01 00:57:59 -08:00
eshell esh-opt.el: Add a :parse-leading-options-only argument (Bug#28323) 2018-05-15 19:32:49 -04:00
gnus Use “Cc” for email copies, as per RFC 5322. 2018-05-20 11:02:50 -07:00
international Restore traditional lsh behavior on fixnums 2018-08-18 15:22:35 -07:00
mail Update copyright year to 2018 2018-01-01 00:57:59 -08:00
net Fix Bug#32304 2018-08-09 14:08:25 +02:00
org Recognize Org as builtin package (bug#30310) 2018-02-02 21:09:09 -05:00
progmodes Merge from origin/emacs-26 2018-07-13 09:28:15 -07:00
textmodes Add Imenu support to CSS mode and its derivatives 2018-05-29 21:24:26 +02:00
url Rewrite `url-domain' to avoid network traffic 2018-05-01 14:26:38 +02:00
vc * test/lisp/vc/vc-tests.el (w32-application-type): Fix declaration. 2018-03-09 16:36:50 -05:00
abbrev-tests.el Preserve special abbrev properties when writing 2018-02-17 08:47:20 -05:00
arc-mode-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
auth-source-pass-tests.el Test checking that auth-source-pass backend is correctly installed 2018-06-05 15:53:33 +02:00
auth-source-tests.el Merge from origin/emacs-26 2018-07-20 10:00:32 -07:00
autorevert-tests.el Use file notification in autorevert also for recreated files 2018-01-20 16:26:02 +01:00
buff-menu-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
char-fold-tests.el Merge from origin/emacs-26 2018-01-01 01:13:04 -08:00
color-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
comint-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
custom-tests.el Fix custom-available-themes file expansion 2018-07-13 11:28:16 -04:00
dabbrev-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
descr-text-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
dired-aux-tests.el Honor dired-create-destination-dirs if copying/renaming >1 files 2018-04-05 12:15:54 +09:00
dired-tests.el New function read-answer (Bug#31782) 2018-08-04 11:37:39 -04:00
dired-x-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
dom-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
electric-tests.el Mark a specific electric-pair-mode test as an expected failure 2018-06-19 02:53:10 +01:00
epg-tests.el ; Remove tracing for epg-tests (Bug#23561) 2018-07-16 07:12:07 -04:00
faces-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
ffap-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
filenotify-tests.el Fix a filenotify test failure on Cygwin 2018-08-03 15:33:33 -04:00
files-tests.el Fix selinux test in files-tests.el 2018-06-05 09:43:34 +02:00
files-x-tests.el Fix Bug#32090 2018-07-09 16:03:49 +02:00
help-fns-tests.el Merge from origin/emacs-26 2018-01-01 01:13:04 -08:00
hi-lock-tests.el Quieten compilation of some test/lisp files 2018-03-09 15:04:59 -05:00
htmlfontify-tests.el Merge from origin/emacs-26 2018-01-01 01:13:04 -08:00
ibuffer-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
ido-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
imenu-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
info-xref-tests.el ; * test/lisp/info-xref-tests.el: Remove stray line from previous. 2018-03-19 17:08:46 -04:00
isearch-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
jit-lock-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
json-tests.el Fix pretty-printing empty objects as null 2018-06-14 11:01:49 +02:00
jsonrpc-tests.el Adjust previous jsonrpc change 2018-07-03 08:21:56 +01:00
kmacro-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
ls-lisp-tests.el Quieten compilation of some test/lisp files 2018-03-09 15:04:59 -05:00
man-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
md4-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
minibuffer-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
mouse-tests.el * test/lisp/mouse-tests.el: Fix tests broken by mouse.el change 2018-01-30 17:37:20 -05:00
obarray-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
ps-print-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
register-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
replace-tests.el query-replace undo: Handle when user edits the replacement string 2018-06-03 23:28:30 +09:00
rot13-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
ses-tests.el * test/lisp/ses-tests.el: Quieten compilation. 2018-03-15 12:32:50 -04:00
shadowfile-tests.el ; Remove instrumentation for Bug#32226 2018-08-12 17:38:24 +02:00
shell-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
simple-tests.el * test/lisp/simple-tests.el (simple-tests-async-shell-command-30280): 2018-06-17 10:22:28 -07:00
sort-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
soundex-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
subr-tests.el Add predicate proper-list-p 2018-07-09 19:00:43 -07:00
tar-mode-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
term-tests.el Merge from emacs-26 2018-06-10 18:47:27 -04:00
thingatpt-tests.el Add uuid as allowed thingatpt symbol (Bug#32372) 2018-08-13 07:46:35 -04:00
wdired-tests.el * test/lisp/wdired-tests.el (wdired-test-unfinished-edit-01): Fix typo. 2018-08-08 19:58:29 -04:00
whitespace-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
xdg-tests.el Merge from origin/emacs-26 2018-01-01 01:13:04 -08:00
xml-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
xt-mouse-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00