diff options
| author | Stefan Monnier | 2014-12-22 15:13:02 -0500 |
|---|---|---|
| committer | Stefan Monnier | 2014-12-22 15:13:02 -0500 |
| commit | bcebc831bb9c1fd82b4693e6a091a4cf591dc3ec (patch) | |
| tree | 1fe8d3bf282f4cc676396aec6f4b02424a8b01f0 /test/ChangeLog | |
| parent | b11d8924b565bd96939537b10a70bb3c26532bed (diff) | |
| download | emacs-bcebc831bb9c1fd82b4693e6a091a4cf591dc3ec.tar.gz emacs-bcebc831bb9c1fd82b4693e6a091a4cf591dc3ec.zip | |
* lisp/emacs-lisp/eieio*.el: Use hashtables rather than obarrays
* lisp/emacs-lisp/eieio-core.el (class): Rename field symbol-obarray to
symbol-hashtable. It contains a hashtable instead of an obarray.
(generic-p): Use symbol property `eieio-method-hashtable' instead of
`eieio-method-obarray'.
(generic-primary-only-p, generic-primary-only-one-p):
Slight optimization.
(eieio-defclass-autoload-map): Use a hashtable instead of an obarray.
(eieio-defclass-autoload, eieio-defclass): Adjust/simplify accordingly.
(eieio-class-un-autoload): Use autoload-do-load.
(eieio-defclass): Use dolist, cl-pushnew, cl-callf.
Use new cl-deftype-satisfies. Adjust to use of hashtables.
Don't hardcode the value of eieio--object-num-slots.
(eieio-defgeneric-form-primary-only-one): Remove `doc-string' arg.
Use a closure rather than a backquoted lambda.
(eieio--defmethod): Adjust call accordingly. Set doc-string via the
function-documentation property.
(eieio-slot-originating-class-p, eieio-slot-name-index)
(eieiomt--optimizing-hashtable, eieiomt-install, eieiomt-add)
(eieio-generic-form): Adjust to use of hashtables.
(eieiomt--sym-optimize): Rename from eieiomt-sym-optimize; take
additional class argument.
(eieio-generic-call-methodname): Remove, unused.
* lisp/emacs-lisp/eieio-custom.el: Use lexical-binding.
(eieio-object-value-to-abstract): Simplify.
* lisp/emacs-lisp/eieio-datadebug.el: Use lexical-binding.
* lisp/emacs-lisp/eieio-opt.el (eieio-build-class-list): Use cl-mapcan.
(eieio-build-class-alist): Use dolist.
(eieio-all-generic-functions): Adjust to use of hashtables.
* lisp/emacs-lisp/eieio.el (child-of-class-p): Fix case where `class' is
`eieio-default-superclass'.
* test/automated/eieio-test-methodinvoke.el (eieio-test-method-store):
Remove use of eieio-generic-call-methodname.
(eieio-test-method-order-list-3, eieio-test-method-order-list-6)
(eieio-test-method-order-list-7, eieio-test-method-order-list-8):
Adjust the expected result accordingly.
* lisp/emacs-lisp/eieio-base.el (eieio-persistent-slot-type-is-class-p):
Prefer \' to $.
Diffstat (limited to 'test/ChangeLog')
| -rw-r--r-- | test/ChangeLog | 22 |
1 files changed, 15 insertions, 7 deletions
diff --git a/test/ChangeLog b/test/ChangeLog index 7d23b3efe1c..bcc619a7f97 100644 --- a/test/ChangeLog +++ b/test/ChangeLog | |||
| @@ -1,3 +1,11 @@ | |||
| 1 | 2014-12-22 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 2 | |||
| 3 | * automated/eieio-test-methodinvoke.el (eieio-test-method-store): | ||
| 4 | Remove use of eieio-generic-call-methodname. | ||
| 5 | (eieio-test-method-order-list-3, eieio-test-method-order-list-6) | ||
| 6 | (eieio-test-method-order-list-7, eieio-test-method-order-list-8): | ||
| 7 | Adjust the expected result accordingly. | ||
| 8 | |||
| 1 | 2014-12-19 Artur Malabarba <bruce.connor.am@gmail.com> | 9 | 2014-12-19 Artur Malabarba <bruce.connor.am@gmail.com> |
| 2 | 10 | ||
| 3 | * automated/let-alist.el: require `cl-lib' | 11 | * automated/let-alist.el: require `cl-lib' |
| @@ -27,8 +35,8 @@ | |||
| 27 | (vc-test--create-repo-function): Rename from | 35 | (vc-test--create-repo-function): Rename from |
| 28 | `vc-test--create-repo-if-not-supported'. Adapt all callees. | 36 | `vc-test--create-repo-if-not-supported'. Adapt all callees. |
| 29 | (vc-test--create-repo): Check also for revision-granularity. | 37 | (vc-test--create-repo): Check also for revision-granularity. |
| 30 | (vc-test--unregister-function): Additional argument FILE. Adapt | 38 | (vc-test--unregister-function): Additional argument FILE. |
| 31 | all callees. | 39 | Adapt all callees. |
| 32 | (vc-test--working-revision): New defun. | 40 | (vc-test--working-revision): New defun. |
| 33 | (vc-test-*-working-revision): New tests. | 41 | (vc-test-*-working-revision): New tests. |
| 34 | 42 | ||
| @@ -65,7 +73,7 @@ | |||
| 65 | 2014-11-21 Ulf Jasper <ulf.jasper@web.de> | 73 | 2014-11-21 Ulf Jasper <ulf.jasper@web.de> |
| 66 | 74 | ||
| 67 | * automated/libxml-tests.el | 75 | * automated/libxml-tests.el |
| 68 | (libxml-tests--data-comments-preserved): Renamed from | 76 | (libxml-tests--data-comments-preserved): Rename from |
| 69 | 'libxml-tests--data'. | 77 | 'libxml-tests--data'. |
| 70 | (libxml-tests--data-comments-discarded): New. | 78 | (libxml-tests--data-comments-discarded): New. |
| 71 | (libxml-tests): Check whether 'libxml-parse-xml-region' is | 79 | (libxml-tests): Check whether 'libxml-parse-xml-region' is |
| @@ -92,8 +100,8 @@ | |||
| 92 | 100 | ||
| 93 | 2014-11-17 Ulf Jasper <ulf.jasper@web.de> | 101 | 2014-11-17 Ulf Jasper <ulf.jasper@web.de> |
| 94 | 102 | ||
| 95 | * automated/icalendar-tests.el (icalendar-tests--test-export): New | 103 | * automated/icalendar-tests.el (icalendar-tests--test-export): |
| 96 | optional parameter `alarms'. | 104 | New optional parameter `alarms'. |
| 97 | (icalendar-export-alarms): New test for exporting icalendar | 105 | (icalendar-export-alarms): New test for exporting icalendar |
| 98 | alarms. | 106 | alarms. |
| 99 | (icalendar-tests--test-cycle): Let `icalendar-export-alarms' be nil. | 107 | (icalendar-tests--test-cycle): Let `icalendar-export-alarms' be nil. |
| @@ -107,8 +115,8 @@ | |||
| 107 | 115 | ||
| 108 | 2014-11-16 Ulf Jasper <ulf.jasper@web.de> | 116 | 2014-11-16 Ulf Jasper <ulf.jasper@web.de> |
| 109 | 117 | ||
| 110 | * automated/icalendar-tests.el (icalendar--parse-vtimezone): Add | 118 | * automated/icalendar-tests.el (icalendar--parse-vtimezone): |
| 111 | testcase where offsets of standard time and daylight saving time | 119 | Add testcase where offsets of standard time and daylight saving time |
| 112 | are equal. | 120 | are equal. |
| 113 | (icalendar-real-world): Fix error in test case. Expected result | 121 | (icalendar-real-world): Fix error in test case. Expected result |
| 114 | was wrong when offsets of standard time and daylight saving time | 122 | was wrong when offsets of standard time and daylight saving time |