diff options
| author | Eric M. Ludlam | 2010-09-19 00:23:57 -0400 |
|---|---|---|
| committer | Chong Yidong | 2010-09-19 00:23:57 -0400 |
| commit | a2930e438b2a70726e6d5b09de8b2a9658505c4e (patch) | |
| tree | f4fe13d1ea2291de213838578057e77d1e8afe11 /lisp/ChangeLog | |
| parent | dd9af436d98d87c8c214a80e728c68cc02674ca0 (diff) | |
| download | emacs-a2930e438b2a70726e6d5b09de8b2a9658505c4e.tar.gz emacs-a2930e438b2a70726e6d5b09de8b2a9658505c4e.zip | |
Update to CEDET 1.0's version of EIEIO.
* emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key): New
function.
(eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
(eieio-default-eval-maybe): Eval val instead of unquoting only.
(class-precedence-list): If class is nil, return nil.
(eieio-generic-call): If class of first input arg is nil, don't
look up static methods, and do check for primary methods.
(initialize-instance): See if the default needs to be evaluated
during the constructor.
(eieio-perform-slot-validation-for-default): Don't do the check
for values that will eventually be evaluated.
(eieio-eval-default-p): New function.
(eieio-default-eval-maybe): Use it.
* emacs-lisp/eieio.el (eieio-defclass): Allow :c3
method-invocation-order.
(eieio-c3-candidate, eieio-c3-merge-lists): New functions.
(eieio-class-precedence-dfs): Compute class precedence list using
dfs algorithm.
(eieio-class-precedence-bfs): Compute class precedence list using
bfs algorithm.
(eieio-class-precedence-c3): compute class precedence list using
c3 algorithm.
(class-precedence-list): New function.
(eieiomt-method-list, eieiomt-sym-optimize): Use it.
(inconsistent-class-hierarchy): New error symbol.
(call-next-method): Stow the replacement argument list for future
call-next-method invocations.
Diffstat (limited to 'lisp/ChangeLog')
| -rw-r--r-- | lisp/ChangeLog | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 29f7f77fc0a..647ccd42ada 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,38 @@ | |||
| 1 | 2010-09-19 Eric M. Ludlam <zappo@gnu.org> | ||
| 2 | |||
| 3 | Update to CEDET 1.0's version of EIEIO. | ||
| 4 | |||
| 5 | * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key): New | ||
| 6 | function. | ||
| 7 | (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it. | ||
| 8 | (eieio-default-eval-maybe): Eval val instead of unquoting only. | ||
| 9 | (class-precedence-list): If class is nil, return nil. | ||
| 10 | (eieio-generic-call): If class of first input arg is nil, don't | ||
| 11 | look up static methods, and do check for primary methods. | ||
| 12 | (initialize-instance): See if the default needs to be evaluated | ||
| 13 | during the constructor. | ||
| 14 | (eieio-perform-slot-validation-for-default): Don't do the check | ||
| 15 | for values that will eventually be evaluated. | ||
| 16 | (eieio-eval-default-p): New function. | ||
| 17 | (eieio-default-eval-maybe): Use it. | ||
| 18 | |||
| 19 | 2010-07-03 Jan Moringen <jan.moringen@uni-bielefeld.de> | ||
| 20 | |||
| 21 | * emacs-lisp/eieio.el (eieio-defclass): Allow :c3 | ||
| 22 | method-invocation-order. | ||
| 23 | (eieio-c3-candidate, eieio-c3-merge-lists): New functions. | ||
| 24 | (eieio-class-precedence-dfs): Compute class precedence list using | ||
| 25 | dfs algorithm. | ||
| 26 | (eieio-class-precedence-bfs): Compute class precedence list using | ||
| 27 | bfs algorithm. | ||
| 28 | (eieio-class-precedence-c3): compute class precedence list using | ||
| 29 | c3 algorithm. | ||
| 30 | (class-precedence-list): New function. | ||
| 31 | (eieiomt-method-list, eieiomt-sym-optimize): Use it. | ||
| 32 | (inconsistent-class-hierarchy): New error symbol. | ||
| 33 | (call-next-method): Stow the replacement argument list for future | ||
| 34 | call-next-method invocations. | ||
| 35 | |||
| 1 | 2010-09-15 Glenn Morris <rgm@gnu.org> | 36 | 2010-09-15 Glenn Morris <rgm@gnu.org> |
| 2 | 37 | ||
| 3 | * calendar/appt.el (appt-check): If not displaying the diary, | 38 | * calendar/appt.el (appt-check): If not displaying the diary, |