1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-21 12:03:55 -08:00
Commit graph

935 commits

Author SHA1 Message Date
Andrea Corallo
c1a738bd98 update tests 2020-01-01 11:33:51 +01:00
Andrea Corallo
a9894ace84 purge C side 2020-01-01 11:33:50 +01:00
Andrea Corallo
8107fc6d0c add SSA 2020-01-01 11:33:50 +01:00
Andrea Corallo
ccc719b230 jump table support 2020-01-01 11:33:49 +01:00
Andrea Corallo
98b500a0a2 optimize outgoing native manyarg calls 2020-01-01 11:33:49 +01:00
Andrea Corallo
36c9295e41 basic &rest working 2020-01-01 11:33:49 +01:00
Andrea Corallo
fac3138897 add comp-tests-ffuncall-lambda-f test 2020-01-01 11:33:48 +01:00
Andrea Corallo
3fd19aecee fix native call to MANY func 2020-01-01 11:33:48 +01:00
Andrea Corallo
edb0acf2ae fix missing bubble sort test 2020-01-01 11:33:48 +01:00
Andrea Corallo
aa312e07b7 add primitve call test 2020-01-01 11:33:48 +01:00
Andrea Corallo
dc963cf0c8 inline setcdr support 2020-01-01 11:33:47 +01:00
Andrea Corallo
b5b0e63bbc fix setcar 2020-01-01 11:33:47 +01:00
Andrea Corallo
5202f742b0 add setcar 2020-01-01 11:33:47 +01:00
Andrea Corallo
57ac14e3e2 add car cdr tests 2020-01-01 11:33:46 +01:00
Andrea Corallo
3f96f72b59 add non locals tests 2020-01-01 11:33:44 +01:00
Andrea Corallo
bb45450e4b Bcar_safe Bcdr_safe support 2020-01-01 11:33:42 +01:00
Andrea Corallo
1510e15c3c Binsert support 2020-01-01 11:33:42 +01:00
Andrea Corallo
0c7115c7b8 BdiscardN support 2020-01-01 11:33:42 +01:00
Andrea Corallo
04aafb7f66 Bnumberp support 2020-01-01 11:33:42 +01:00
Andrea Corallo
96e1a5efb3 fix consp 2020-01-01 11:33:42 +01:00
Andrea Corallo
2a1bb41c14 Bintegerp support 2020-01-01 11:33:42 +01:00
Andrea Corallo
b3d858da8d inline consp 2020-01-01 11:33:41 +01:00
Andrea Corallo
1001af9b84 add bubble sort into to tests 2020-01-01 11:33:41 +01:00
Andrea Corallo
3ee58c64e5 add setcar setcdr 2020-01-01 11:33:41 +01:00
Andrea Corallo
5c406adac7 add arithmetic comparisons 2020-01-01 11:33:41 +01:00
Andrea Corallo
7ce2c17a0f add Bnegate support 2020-01-01 11:33:40 +01:00
Andrea Corallo
097f36bc75 add Badd1 support 2020-01-01 11:33:40 +01:00
Andrea Corallo
8bfe8ce8d0 add sub1 2020-01-01 11:33:40 +01:00
Andrea Corallo
2b56339f75 adding conditionals 2020-01-01 11:33:39 +01:00
Andrea Corallo
a552450416 add concat 2020-01-01 11:33:38 +01:00
Andrea Corallo
17807af213 add symbol-value 2020-01-01 11:33:38 +01:00
Andrea Corallo
bebd14acc1 add aset 2020-01-01 11:33:38 +01:00
Andrea Corallo
2b48e5f979 Baref 2020-01-01 11:33:38 +01:00
Andrea Corallo
5a9d4d6704 add Blength 2020-01-01 11:33:37 +01:00
Andrea Corallo
54e18532e7 add funcall 2020-01-01 11:33:37 +01:00
Andrea Corallo
01442a9ac9 Add native compiler comp.c 2020-01-01 11:33:37 +01:00
Paul Eggert
c6fb86b40b Merge from origin/emacs-27
186152ba40 Pacify gcc -Wunused-function on Ubuntu 18.04.3
4cd143aded Fix copyright years by hand
365e01cc9f Update copyright year to 2020
cd2c156163 ; * etc/NEWS: Make the description of XDG fallback more ac...

# Conflicts:
#	etc/NEWS
#	etc/refcards/ru-refcard.tex
2020-01-01 01:08:16 +00:00
Paul Eggert
365e01cc9f Update copyright year to 2020
Run "TZ=UTC0 admin/update-copyright $(git ls-files)".
2020-01-01 00:59:52 +00:00
Philipp Stephani
28268e47d8 Support .dylib suffix for modules on macOS (Bug#36226).
On macOS, shared libraries typically have the suffix .dylib.  This
commit switches the module suffix to .dylib on Darwin to account for
that.  To also support the .so suffix, introduce the concept of a
secondary module suffix.

* configure.ac: Switch MODULES_SUFFIX to .dylib for Darwin, introduce
MODULES_SECONDARY_SUFFIX.

* src/lread.c (Fload, syms_of_lread): Also use
MODULES_SECONDARY_SUFFIX if defined.

* test/src/emacs-module-tests.el (module-darwin-secondary-suffix): New
unit test.
2019-12-25 15:42:20 +01:00
Paul Eggert
b0f20651e3 ; Spelling fixes 2019-12-10 20:05:49 -08:00
Paul Eggert
d1a791f8ed Spelling fixes 2019-12-09 18:45:18 -08:00
Paul Eggert
48f6888588 Test format-time-string padding
Adapted from tests written by Stephen Gildea.
* test/src/timefns-tests.el:
(format-time-string-padding-minimal-deletes-unneeded-zeros)
(format-time-string-padding-minimal-retains-needed-zeros)
(format-time-string-padding-spaces)
(format-time-string-padding-zeros-adds-on-insignificant-side):
New tests.
2019-12-06 15:37:32 -08:00
Andreas Politz
bcf4201d4c * test/src/buffer-tests.el: Add loads of overlay tests
Taken from the `feature/noverlay` branch.
Suggested by Vladimir Kazanov <vekazanov@gmail.com>.
2019-12-05 23:10:32 -05:00
Eli Zaretskii
85f8aa1089 Fix recent modifications in emacs-module-tests
* test/data/emacs-module/mod-test.c (extract_big_integer): Fix
calculation of size of 'magnitude' when 'emacs_limb_t' is wider
than 'unsigned long'.

* test/src/emacs-module-tests.el
(module--test-assertions--load-non-live-object)
(module--test-assertions--call-emacs-from-gc): On MS-Windows,
check also mod-test-emacs with ".exe" appended, before
skipping the tests.
2019-12-05 16:38:17 +02:00
Noam Postavsky
85f586f3ce Stop signaling an error when reading "smart quotes" in symbols
Revert commits from 2018-01-28 "Fix round tripping of read->print for
symbols with strange quotes", and 2017-07-22 "Signal error for symbol
names with strange quotes (Bug#2967)".
* etc/NEWS: Remove corresponding entries.
* src/character.c (confusable_symbol_character_p):
* test/src/lread-tests.el (lread-tests--old-style-backquotes): Remove.
* src/lread.c (read1): Don't signal error on confusable character.
* src/print.c (print_object): Don't escape confusable characters.
2019-11-28 18:03:42 -05:00
Paul Eggert
8b848def9b Handle weird cases like (ceil 0 0.0)
* src/floatfns.c (double_integer_scale): Distinguish Inf from NaN.
(rounding_driver): Handle (ceil 0 0.0) and (ceil 0 1.0e+INF).
* test/src/floatfns-tests.el (special-round): Add tests for
weird cases like this.

Avoid crash with (floor 0 0.0)
* src/floatfns.c (rounding_driver): Signal an arithmetic
error if divisor is 0.0 or -0.0, instead of crashing.
2019-11-14 18:52:48 -08:00
Paul Eggert
c2cd8e6265 Fix byte-counting error in ‘format’
Problem reported by Paul Pogonyshev (Bug#38191).
* src/editfns.c (styled_format): When checking for adjacent
%-sequences, use byte position rather than character position.
* test/src/editfns-tests.el (format-properties): Test for fix.
2019-11-14 14:44:42 -08:00
Paul Eggert
bede598424 Fix double-rounding bug in ceiling etc.
This is doable now that we have bignums.
* src/floatfns.c (integer_value): Remove; no longer used.
(rescale_for_division): New function.
(rounding_driver): Use it to divide properly (by using bignums)
even when arguments are float, fixing a double-rounding FIXME.
* src/lisp.h (LOG2_FLT_RADIX): Move here ...
* src/timefns.c (frac_to_double): ... from here.
* test/src/floatfns-tests.el (big-round):
Add a test to catch the double-rounding bug.
2019-11-13 13:10:09 -08:00
Paul Eggert
6b4a97c1c7 Fix some quoting glitches in doc strings 2019-11-11 10:32:53 -08:00
Glenn Morris
2f36a08214 Disable a portion of one doc-test
* test/src/doc-tests.el (doc-test-substitute-command-keys):
Disable component that fails twice in the past 5 weeks
due to changes in the minibuffer map.
2019-11-09 19:38:05 -08:00