diff options
| author | Kenichi Handa | 2010-04-20 16:26:02 +0900 |
|---|---|---|
| committer | Kenichi Handa | 2010-04-20 16:26:02 +0900 |
| commit | 1f2f0b2818b884e44db792729a92ccff2f766a26 (patch) | |
| tree | 7b547b9a0a586d1dc76884ecbb1dcdd29415f740 /src/ChangeLog | |
| parent | c0be27fda00b238ea82e43a8590a96c3a9ae9023 (diff) | |
| parent | ce5b453a449e4e7729abb5128114e2687f08360d (diff) | |
| download | emacs-1f2f0b2818b884e44db792729a92ccff2f766a26.tar.gz emacs-1f2f0b2818b884e44db792729a92ccff2f766a26.zip | |
merge trunk
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 114 |
1 files changed, 113 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 856cc1aec64..fb4bd4de1cc 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -3,10 +3,122 @@ | |||
| 3 | * charset.c (char_charset): Consider Vcharset_non_preferred_head | 3 | * charset.c (char_charset): Consider Vcharset_non_preferred_head |
| 4 | only when the arg CHARSET_LIST is nil. | 4 | only when the arg CHARSET_LIST is nil. |
| 5 | 5 | ||
| 6 | 2010-04-20 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 7 | |||
| 8 | Make variable forwarding explicit rather the using special values. | ||
| 9 | Basically, this makes the structure of buffer-local values and object | ||
| 10 | forwarding explicit in the type of Lisp_Symbols rather than use | ||
| 11 | special Lisp_Objects for that. This tends to lead to slightly more | ||
| 12 | verbose code, but is more C-like, simpler, and makes it easier to make | ||
| 13 | sure we handled all cases, among other things by letting the compiler | ||
| 14 | help us check it. | ||
| 15 | * lisp.h (enum Lisp_Misc_Type, union Lisp_Misc): | ||
| 16 | Removing forwarding objects. | ||
| 17 | (enum Lisp_Fwd_Type, enum symbol_redirect, union Lisp_Fwd): New types. | ||
| 18 | (struct Lisp_Symbol): Make the various forms of variable-forwarding | ||
| 19 | explicit rather than hiding them inside Lisp_Object "values". | ||
| 20 | (XFWDTYPE): New macro. | ||
| 21 | (XINTFWD, XBOOLFWD, XOBJFWD, XKBOARD_OBJFWD): Redefine. | ||
| 22 | (XBUFFER_LOCAL_VALUE): Remove. | ||
| 23 | (SYMBOL_VAL, SYMBOL_ALIAS, SYMBOL_BLV, SYMBOL_FWD, SET_SYMBOL_VAL) | ||
| 24 | (SET_SYMBOL_ALIAS, SET_SYMBOL_BLV, SET_SYMBOL_FWD): New macros. | ||
| 25 | (SYMBOL_VALUE, SET_SYMBOL_VALUE): Remove. | ||
| 26 | (struct Lisp_Intfwd, struct Lisp_Boolfwd, struct Lisp_Objfwd) | ||
| 27 | (struct Lisp_Buffer_Objfwd, struct Lisp_Kboard_Objfwd): | ||
| 28 | Remove the Lisp_Misc_* header. | ||
| 29 | (struct Lisp_Buffer_Local_Value): Redefine. | ||
| 30 | (BLV_FOUND, SET_BLV_FOUND, BLV_VALUE, SET_BLV_VALUE): New macros. | ||
| 31 | (struct Lisp_Misc_Any): Add filler to get the right size. | ||
| 32 | (struct Lisp_Free): Use struct Lisp_Misc_Any rather than struct | ||
| 33 | Lisp_Intfwd. | ||
| 34 | (DEFVAR_LISP, DEFVAR_LISP_NOPRO, DEFVAR_BOOL, DEFVAR_INT) | ||
| 35 | (DEFVAR_KBOARD): Allocate a forwarding object. | ||
| 36 | * data.c (do_blv_forwarding, store_blv_forwarding): New macros. | ||
| 37 | (let_shadows_global_binding_p): New function. | ||
| 38 | (union Lisp_Val_Fwd): New type. | ||
| 39 | (make_blv): New function. | ||
| 40 | (swap_in_symval_forwarding, indirect_variable, do_symval_forwarding) | ||
| 41 | (store_symval_forwarding, swap_in_global_binding, Fboundp) | ||
| 42 | (swap_in_symval_forwarding, find_symbol_value, Fset) | ||
| 43 | (let_shadows_buffer_binding_p, set_internal, default_value) | ||
| 44 | (Fset_default, Fmake_variable_buffer_local, Fmake_local_variable) | ||
| 45 | (Fkill_local_variable, Fmake_variable_frame_local) | ||
| 46 | (Flocal_variable_p, Flocal_variable_if_set_p) | ||
| 47 | (Fvariable_binding_locus): | ||
| 48 | * xdisp.c (select_frame_for_redisplay): | ||
| 49 | * lread.c (Fintern, Funintern, init_obarray, defvar_int) | ||
| 50 | (defvar_bool, defvar_lisp_nopro, defvar_lisp, defvar_kboard): | ||
| 51 | * frame.c (store_frame_param): | ||
| 52 | * eval.c (Fdefvaralias, Fuser_variable_p, specbind, unbind_to): | ||
| 53 | * bytecode.c (Fbyte_code) <varref, varset>: Adapt to the new symbol | ||
| 54 | value structure. | ||
| 55 | * buffer.c (PER_BUFFER_SYMBOL): Move from buffer.h. | ||
| 56 | (clone_per_buffer_values): Only adjust markers into the current buffer. | ||
| 57 | (reset_buffer_local_variables): PER_BUFFER_IDX is never -2. | ||
| 58 | (Fbuffer_local_value, set_buffer_internal_1) | ||
| 59 | (swap_out_buffer_local_variables): | ||
| 60 | Adapt to the new symbol value structure. | ||
| 61 | (DEFVAR_PER_BUFFER): Allocate a Lisp_Buffer_Objfwd object. | ||
| 62 | (defvar_per_buffer): Take a new arg for the fwd object. | ||
| 63 | (buffer_lisp_local_variables): Return a proper alist (different fix | ||
| 64 | for bug#4138). | ||
| 65 | * alloc.c (Fmake_symbol): Use SET_SYMBOL_VAL. | ||
| 66 | (Fgarbage_collect): Don't handle buffer_defaults specially. | ||
| 67 | (mark_object): Handle new symbol value structure rather than the old | ||
| 68 | special Lisp_Misc_* objects. | ||
| 69 | (gc_sweep) <symbols>: Free also the buffer-local-value objects. | ||
| 70 | * term.c (set_tty_color_mode): | ||
| 71 | * bidi.c (bidi_initialize): Don't access the ->value field directly. | ||
| 72 | * buffer.h (PER_BUFFER_VAR_OFFSET): Don't bother with | ||
| 73 | a buffer_local_flags. | ||
| 74 | * print.c (print_object): Get rid of impossible forwarding objects. | ||
| 75 | |||
| 76 | 2010-04-19 Eli Zaretskii <eliz@gnu.org> | ||
| 77 | |||
| 78 | * bidi.c (bidi_get_type, bidi_get_category) | ||
| 79 | (bidi_at_paragraph_end, bidi_resolve_weak, bidi_resolve_neutral) | ||
| 80 | (bidi_type_of_next_char, bidi_level_of_next_char): | ||
| 81 | Declare static. Use `INLINE' rather than `inline'. | ||
| 82 | |||
| 83 | 2010-04-19 Juanma Barranquero <lekktu@gmail.com> | ||
| 84 | |||
| 85 | * dired.c (Ffile_attributes): Fix typo in docstring. | ||
| 86 | |||
| 87 | 2010-04-19 Adrian Robert <Adrian.B.Robert@gmail.com> | ||
| 88 | |||
| 89 | * nsmenu.m (EmacsDialog-runDialogAt:): Declare ret as | ||
| 90 | NSInteger (Bug#5811). | ||
| 91 | |||
| 92 | 2010-04-19 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | ||
| 93 | |||
| 94 | * s/darwin.h (PTY_ITERATION, PTY_NAME_SPRINTF, PTY_TTY_NAME_SPRINTF) | ||
| 95 | (PTY_OPEN): New defines. Use openpty (Bug#726, Bug#5819). | ||
| 96 | |||
| 97 | 2010-04-19 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | ||
| 98 | |||
| 99 | * frame.h (FRAME_LINE_TO_PIXEL_Y): Add missing parenthesis. | ||
| 100 | |||
| 101 | 2010-04-19 Jan Djärv <jan.h.d@swipnet.se> | ||
| 102 | |||
| 103 | * frame.h (FRAME_TEXT_LINES_TO_PIXEL_HEIGHT): Don't use | ||
| 104 | FRAME_LINE_TO_PIXEL_Y. | ||
| 105 | |||
| 106 | * xterm.c (x_set_window_size_1): Don't add border_width/height to | ||
| 107 | pixelwidth/height. | ||
| 108 | |||
| 109 | 2010-04-19 Chong Yidong <cyd@stupidchicken.com> | ||
| 110 | |||
| 111 | * xdisp.c (prepare_menu_bars): Don't call ns_set_doc_edited for | ||
| 112 | terminal frames (Bug#5837). | ||
| 113 | |||
| 114 | 2010-04-19 Eli Zaretskii <eliz@gnu.org> | ||
| 115 | |||
| 116 | * .gdbinit (xsubchartable): New command. | ||
| 117 | |||
| 6 | 2010-04-19 Eli Zaretskii <eliz@gnu.org> | 118 | 2010-04-19 Eli Zaretskii <eliz@gnu.org> |
| 7 | 119 | ||
| 8 | * xdisp.c (display_line): Don't write beyond the last glyph row in | 120 | * xdisp.c (display_line): Don't write beyond the last glyph row in |
| 9 | the desired matrix. Fixes a crash in "emacs -nw", see | 121 | the desired matrix. Fixes a crash in "emacs -nw" (bug#5972), see |
| 10 | http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00075.html | 122 | http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00075.html |
| 11 | and | 123 | and |
| 12 | http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00213.html | 124 | http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00213.html |