diff options
| author | Joakim Verona | 2012-11-13 03:01:33 +0100 |
|---|---|---|
| committer | Joakim Verona | 2012-11-13 03:01:33 +0100 |
| commit | 74fa27af7f4b50a6f5e2a378802b4c5edc11d044 (patch) | |
| tree | 7030d55ecc2e06df59c08047b6f89e5b11a329dc /src/ChangeLog | |
| parent | 2a4942ed0e4cca22145a0d973112454c410c3dd7 (diff) | |
| parent | b95a9c0cba301ef8f1920a1d123ccd6873c14a63 (diff) | |
| download | emacs-74fa27af7f4b50a6f5e2a378802b4c5edc11d044.tar.gz emacs-74fa27af7f4b50a6f5e2a378802b4c5edc11d044.zip | |
upstream
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 258 |
1 files changed, 252 insertions, 6 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 0eb69f59efe..5905c667852 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,249 @@ | |||
| 1 | 2012-11-13 Paul Eggert <eggert@cs.ucla.edu> | ||
| 2 | |||
| 3 | Fix a race with verify-visited-file-modtime (Bug#12863). | ||
| 4 | Since at least 1991 Emacs has ignored an mtime difference of no | ||
| 5 | more than one second, but my guess is that this was to work around | ||
| 6 | file system bugs that were fixed long ago. Since the race is | ||
| 7 | causing problems now, let's remove that code. | ||
| 8 | * fileio.c (Fverify_visited_file_modtime): Do not accept a file | ||
| 9 | whose time stamp is off by no more than a second. Insist that the | ||
| 10 | file time stamps match exactly. | ||
| 11 | |||
| 12 | 2012-11-12 Dmitry Antipov <dmantipov@yandex.ru> | ||
| 13 | |||
| 14 | * frame.h (struct frame): Convert external_tool_bar member to | ||
| 15 | 1-bit unsigned bitfield. | ||
| 16 | * termhooks.h (struct terminal): Remove mouse_moved member since | ||
| 17 | all users are long dead. Adjust comment on mouse_position_hook. | ||
| 18 | |||
| 19 | 2012-11-12 Dmitry Antipov <dmantipov@yandex.ru> | ||
| 20 | |||
| 21 | Simplify by using FOR_EACH_FRAME here and there. | ||
| 22 | * frame.c (next_frame, prev_frame, other_visible_frames) | ||
| 23 | (delete_frame, visible-frame-list): Use FOR_EACH_FRAME. | ||
| 24 | * w32term.c (x_window_to_scroll_bar): Likewise. | ||
| 25 | * window.c (window_list): Likewise. | ||
| 26 | * xdisp.c (x_consider_frame_title): Likewise. | ||
| 27 | * xfaces.c ( Fdisplay_supports_face_attributes_p): Likewise. | ||
| 28 | * xfns.c (x_window_to_frame, x_any_window_to_frame) | ||
| 29 | (x_menubar_window_to_frame, x_top_window_to_frame): Likewise. | ||
| 30 | * xmenu.c (menubar_id_to_frame): Likewise. | ||
| 31 | * xselect.c (frame_for_x_selection): Likewise. | ||
| 32 | * xterm.c (x_frame_of_widget, x_window_to_scroll_bar) | ||
| 33 | (x_window_to_menu_bar): Likewise. | ||
| 34 | * w32fns.c (x_window_to_frame): Likewise. Adjust comment. | ||
| 35 | |||
| 36 | 2012-11-12 Paul Eggert <eggert@cs.ucla.edu> | ||
| 37 | |||
| 38 | * data.c (Qdefalias_fset_function): Now static. | ||
| 39 | |||
| 40 | Another tweak to vectorlike_header change. | ||
| 41 | * alloc.c (struct Lisp_Vectorlike_Free, NEXT_IN_FREE_LIST): | ||
| 42 | Remove, and replace all uses with ... | ||
| 43 | (next_in_free_list, set_next_in_free_list): | ||
| 44 | New functions, which respect C's aliasing rules better. | ||
| 45 | |||
| 46 | 2012-11-11 Paul Eggert <eggert@cs.ucla.edu> | ||
| 47 | |||
| 48 | * window.c (list4i): Rename from 'quad'. All uses changed. | ||
| 49 | Needed because <sys/types.h> defines 'quad' on Solaris 10. | ||
| 50 | |||
| 51 | 2012-11-11 Juanma Barranquero <lekktu@gmail.com> | ||
| 52 | |||
| 53 | * xdisp.c (start_hourglass) [HAVE_NTGUI]: Add block to silence | ||
| 54 | warning about mixing declarations and code in ISO C90. | ||
| 55 | |||
| 56 | 2012-11-10 Martin Rudalics <rudalics@gmx.at> | ||
| 57 | |||
| 58 | * window.c (Fsplit_window_internal): Set combination limit of | ||
| 59 | new parent window to t iff Vwindow_combination_limit is t; | ||
| 60 | fixing a regression introduced with the change from 2012-09-22. | ||
| 61 | (Fset_window_combination_limit): Fix doc-string. | ||
| 62 | |||
| 63 | 2012-11-10 Eli Zaretskii <eliz@gnu.org> | ||
| 64 | |||
| 65 | * xdisp.c (try_scrolling): Fix correction of aggressive-scroll | ||
| 66 | amount when the scroll margins are too large. When scrolling | ||
| 67 | backwards in the buffer, give up if cannot reach point or the | ||
| 68 | scroll margin within a reasonable number of screen lines. Fixes | ||
| 69 | point position in window under scroll-up/down-aggressively when | ||
| 70 | point is positioned many lines beyond the window top/bottom. | ||
| 71 | (Bug#12811) | ||
| 72 | |||
| 73 | * ralloc.c (relinquish): If real_morecore fails to return memory | ||
| 74 | to the system, don't crash; instead, leave the last heap | ||
| 75 | unchanged and return. (Bug#12774) | ||
| 76 | |||
| 77 | 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 78 | |||
| 79 | * lisp.h (AUTOLOADP): New macro. | ||
| 80 | * eval.c (Fautoload): Don't attach to loadhist, call Fdefalias instead. | ||
| 81 | * data.c (Ffset): Remove special ad-advice-info handling. | ||
| 82 | (Fdefalias): Handle autoload definitions and new Qdefalias_fset_function. | ||
| 83 | (Fsubr_arity): CSE. | ||
| 84 | (Finteractive_form): Simplify. | ||
| 85 | (Fquo): Don't insist on having at least 2 arguments. | ||
| 86 | (Qdefalias_fset_function): New var. | ||
| 87 | |||
| 88 | 2012-11-09 Jan Djärv <jan.h.d@swipnet.se> | ||
| 89 | |||
| 90 | * image.c (xpm_make_color_table_h): Change to hashtest_equal. | ||
| 91 | |||
| 92 | * nsfont.m (Qcondensed, Qexpanded): New variables. | ||
| 93 | (ns_descriptor_to_entity): Restore Qcondensed, Qexpanded setting. | ||
| 94 | (syms_of_nsfont): Defsym Qcondensed, Qexpanded. | ||
| 95 | |||
| 96 | 2012-11-09 Dmitry Antipov <dmantipov@yandex.ru> | ||
| 97 | |||
| 98 | Fix recently introduced crash on MS-Windows (Bug#12839). | ||
| 99 | * w32term.h (struct scroll_bar): Use convenient header. | ||
| 100 | (SCROLL_BAR_VEC_SIZE): Remove. | ||
| 101 | * w32term.c (x_scroll_bar_create): Use VECSIZE. | ||
| 102 | |||
| 103 | 2012-11-09 Dmitry Antipov <dmantipov@yandex.ru> | ||
| 104 | |||
| 105 | Tweak last vectorlike_header change. | ||
| 106 | * alloc.c (struct Lisp_Vectorlike_Free): Special type to represent | ||
| 107 | vectorlike object on the free list. This is introduced to avoid | ||
| 108 | some (but not all) pointer casting and aliasing problems, see | ||
| 109 | http://lists.gnu.org/archive/html/emacs-devel/2012-11/msg00105.html. | ||
| 110 | * .gdbinit (pvectype, pvecsize): New commands to examine vectorlike | ||
| 111 | objects. | ||
| 112 | (xvectype, xvecsize): Use them to examine Lisp_Object values. | ||
| 113 | |||
| 114 | 2012-11-09 Jan Djärv <jan.h.d@swipnet.se> | ||
| 115 | |||
| 116 | * nsfont.m (ns_descriptor_to_entity): Qcondensed and Qexpanded has | ||
| 117 | been removed, so remove them here also. | ||
| 118 | |||
| 119 | 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 120 | |||
| 121 | * doc.c (Fdocumentation): Handle new property | ||
| 122 | dynamic-docstring-function to replace the old ad-advice-info. | ||
| 123 | |||
| 124 | 2012-11-09 Paul Eggert <eggert@cs.ucla.edu> | ||
| 125 | |||
| 126 | * fns.c (Qeql, hashtest_eq): Now static. | ||
| 127 | |||
| 128 | 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 129 | |||
| 130 | * lisp.h (XHASH): Redefine to be imperfect and fit in a Lisp int. | ||
| 131 | * fns.c (hashfn_eq, hashfn_eql, sxhash): | ||
| 132 | * profiler.c (hashfn_profiler): Don't use XUINT on non-integers. | ||
| 133 | * buffer.c (compare_overlays): Use XLI rather than XHASH. | ||
| 134 | |||
| 135 | 2012-11-08 Paul Eggert <eggert@cs.ucla.edu> | ||
| 136 | |||
| 137 | Use same hash function for hashfn_profiler as for hash_string etc. | ||
| 138 | * fns.c (SXHASH_COMBINE): Remove. All uses replaced by sxhash_combine. | ||
| 139 | * lisp.h (sxhash_combine): New inline function, with the contents | ||
| 140 | of the old SXHASH_COMBINE. | ||
| 141 | * profiler.c (hashfn_profiler): Use it, instead of having a | ||
| 142 | special hash function containing a comparison that always yields 1. | ||
| 143 | |||
| 144 | 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 145 | |||
| 146 | * xfaces.c (Qultra_light, Qreverse_oblique, Qreverse_italic) | ||
| 147 | (Qultra_condensed, Qextra_condensed, Qcondensed, Qsemi_condensed) | ||
| 148 | (Qsemi_expanded, Qextra_expanded, Qexpanded, Qultra_expanded): | ||
| 149 | Remove unused vars. | ||
| 150 | |||
| 151 | 2012-11-08 Jan Djärv <jan.h.d@swipnet.se> | ||
| 152 | |||
| 153 | * image.c (xpm_make_color_table_h): Fix compiler error because | ||
| 154 | make_hash_table changed. | ||
| 155 | |||
| 156 | 2012-11-08 Thomas Kappler <tkappler@gmail.com> (tiny change) | ||
| 157 | |||
| 158 | * nsfont.m (ns_findfonts): Handle empty matchingDescs (Bug#11541). | ||
| 159 | |||
| 160 | 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 161 | |||
| 162 | Use ad-hoc comparison function for the profiler's hash-tables. | ||
| 163 | * profiler.c (Qprofiler_backtrace_equal, hashtest_profiler): New vars. | ||
| 164 | (make_log): Use them. | ||
| 165 | (handle_profiler_signal): Don't inhibit quit any longer since we don't | ||
| 166 | call Fequal any more. | ||
| 167 | (Ffunction_equal): New function. | ||
| 168 | (cmpfn_profiler, hashfn_profiler): New functions. | ||
| 169 | (syms_of_profiler): Initialize them. | ||
| 170 | * lisp.h (struct hash_table_test): New struct. | ||
| 171 | (struct Lisp_Hash_Table): Use it. | ||
| 172 | * alloc.c (mark_object): Mark hash_table_test fields of hash tables. | ||
| 173 | * fns.c (make_hash_table): Take a struct to describe the test. | ||
| 174 | (cmpfn_eql, cmpfn_equal, cmpfn_user_defined, hashfn_eq, hashfn_eql) | ||
| 175 | (hashfn_equal, hashfn_user_defined): Adjust to new calling convention. | ||
| 176 | (hash_lookup, hash_remove_from_table): Move assertion checking of | ||
| 177 | hashfn result here. Check hash-equality before calling cmpfn. | ||
| 178 | (Fmake_hash_table): Adjust call to make_hash_table. | ||
| 179 | (hashtest_eq, hashtest_eql, hashtest_equal): New structs. | ||
| 180 | (syms_of_fns): Initialize them. | ||
| 181 | * emacs.c (main): Move syms_of_fns earlier. | ||
| 182 | * xterm.c (syms_of_xterm): | ||
| 183 | * category.c (hash_get_category_set): Adjust call to make_hash_table. | ||
| 184 | * print.c (print_object): Adjust to new hash-table struct. | ||
| 185 | * composite.c (composition_gstring_put_cache): Adjust to new hashfn. | ||
| 186 | |||
| 187 | 2012-11-08 Eli Zaretskii <eliz@gnu.org> | ||
| 188 | |||
| 189 | * w32fns.c (modifier_set): Fix handling of Scroll Lock when the | ||
| 190 | value of w32-scroll-lock-modifier is neither nil nor one of the | ||
| 191 | known key modifiers. (Bug#12806) | ||
| 192 | |||
| 193 | 2012-11-08 Dmitry Antipov <dmantipov@yandex.ru> | ||
| 194 | |||
| 195 | Shrink struct vectorlike_header to the only size field. | ||
| 196 | * lisp.h (enum pvec_type): Avoid explicit enum member values. | ||
| 197 | Adjust comment. | ||
| 198 | (enum More_Lisp_Bits): Change PSEUDOVECTOR_SIZE_BITS and | ||
| 199 | PVEC_TYPE_MASK to arrange new bitfield in the vector header. | ||
| 200 | (PSEUDOVECTOR_REST_BITS, PSEUDOVECTOR_REST_MASK): New members. | ||
| 201 | (PSEUDOVECTOR_AREA_BITS): New member used to extract subtype | ||
| 202 | information from the vector header. Adjust comment. | ||
| 203 | (XSETPVECTYPE, XSETPVECTYPESIZE, XSETTYPED_PSEUDOVECTOR) | ||
| 204 | (PSEUDOVECTOR_TYPEP, DEFUN): Adjust to match new vector header | ||
| 205 | layout. | ||
| 206 | (XSETSUBR, SUBRP): Adjust to match new Lisp_Subr layout. | ||
| 207 | (struct vectorlike_header): Remove next member. Adjust comment. | ||
| 208 | (struct Lisp_Subr): Add convenient header. Adjust comment. | ||
| 209 | (allocate_pseudovector): Adjust prototype. | ||
| 210 | * alloc.c (mark_glyph_matrix, mark_face_cache, allocate_string) | ||
| 211 | (sweep_string, lisp_malloc): Remove useless prototypes. | ||
| 212 | (enum mem_type): Adjust comment. | ||
| 213 | (NEXT_IN_FREE_LIST): New macro. | ||
| 214 | (SETUP_ON_FREE_LIST): Adjust XSETPVECTYPESIZE usage. | ||
| 215 | (Fmake_bool_vector): Likewise. | ||
| 216 | (struct large_vector): New type to represent allocation unit for | ||
| 217 | the vectors with the memory footprint more than VBLOOCK_BYTES_MAX. | ||
| 218 | (large_vectors): Change type to struct large_vector. | ||
| 219 | (allocate_vector_from_block): Simplify. | ||
| 220 | (PSEUDOVECTOR_NBYTES): Replace with... | ||
| 221 | (vector_nbytes): ...new function. Adjust users. | ||
| 222 | (sweep_vectors): Adjust processing of large vectors. | ||
| 223 | (allocate_vectorlike): Likewise. | ||
| 224 | (allocate_pseudovector): Change type of 3rd arg to enum pvec_type. | ||
| 225 | Add easserts. Adjust XSETPVECTYPESIZE usage. | ||
| 226 | (allocate_buffer): Use BUFFER_PVEC_INIT. | ||
| 227 | (live_vector_p): Adjust to match large vector. | ||
| 228 | * buffer.c (init_buffer_once): Use BUFFER_PVEC_INIT. | ||
| 229 | * buffer.h (struct buffer): Add next member. | ||
| 230 | (BUFFER_LISP_SIZE, BUFFER_REST_SIZE, BUFFER_PVEC_INIT): | ||
| 231 | New macros. | ||
| 232 | (FOR_EACH_BUFFER): Adjust to match struct buffer change. | ||
| 233 | * fns.c (internal_equal): Adjust to match enum pvec_type change. | ||
| 234 | (copy_hash_table): Adjust to match vector header change. | ||
| 235 | * lread.c (defsubr): Use XSETPVECTYPE. | ||
| 236 | * .gdbinit (xpr, xbacktrace): Adjust to match vector header change. | ||
| 237 | (xvectype): Likewise. Print PVEC_NORMAL_VECTOR for regular vectors. | ||
| 238 | (xvecsize): New command. | ||
| 239 | |||
| 240 | 2012-11-08 Dmitry Antipov <dmantipov@yandex.ru> | ||
| 241 | |||
| 242 | * keyboard.c (event_to_kboard): Do not dereference | ||
| 243 | frame_or_window field of SELECTION_REQUEST_EVENT | ||
| 244 | and SELECTION_CLEAR_EVENT events (Bug#12814). | ||
| 245 | * xterm.h (struct selection_input_event): Adjust comment. | ||
| 246 | |||
| 1 | 2012-11-07 Eli Zaretskii <eliz@gnu.org> | 247 | 2012-11-07 Eli Zaretskii <eliz@gnu.org> |
| 2 | 248 | ||
| 3 | * w32fns.c (modifier_set): Don't report modifiers from toggle key, | 249 | * w32fns.c (modifier_set): Don't report modifiers from toggle key, |
| @@ -129,8 +375,8 @@ | |||
| 129 | 375 | ||
| 130 | Remove EMACS_OUTQSIZE+sleep hack. | 376 | Remove EMACS_OUTQSIZE+sleep hack. |
| 131 | * dispnew.c (update_frame_1): Remove hack for terminals slower | 377 | * dispnew.c (update_frame_1): Remove hack for terminals slower |
| 132 | than 2400 bps, which throttled Emacs by having it sleep. This | 378 | than 2400 bps, which throttled Emacs by having it sleep. |
| 133 | code hasn't worked since at least 2007, when the multi-tty stuff | 379 | This code hasn't worked since at least 2007, when the multi-tty stuff |
| 134 | was added, and anyway those old terminals are long dead. | 380 | was added, and anyway those old terminals are long dead. |
| 135 | * systty.h (EMACS_OUTQSIZE): Remove; unused. The macro isn't used even | 381 | * systty.h (EMACS_OUTQSIZE): Remove; unused. The macro isn't used even |
| 136 | without the dispnew.c change, as dispnew.c doesn't include systty.h. | 382 | without the dispnew.c change, as dispnew.c doesn't include systty.h. |
| @@ -169,8 +415,8 @@ | |||
| 169 | waitpid only on subprocesses that Emacs itself creates. | 415 | waitpid only on subprocesses that Emacs itself creates. |
| 170 | * process.c (create_process, record_child_status_change): | 416 | * process.c (create_process, record_child_status_change): |
| 171 | Don't use special value -1 in pid field, as the caller now must | 417 | Don't use special value -1 in pid field, as the caller now must |
| 172 | know the pid rather than having the callee infer it. The | 418 | know the pid rather than having the callee infer it. |
| 173 | inference was sometimes incorrect anyway, due to another race. | 419 | The inference was sometimes incorrect anyway, due to another race. |
| 174 | (create_process): Set new 'alive' member if child is created. | 420 | (create_process): Set new 'alive' member if child is created. |
| 175 | (process_status_retrieved): New function. | 421 | (process_status_retrieved): New function. |
| 176 | (record_child_status_change): Use it. | 422 | (record_child_status_change): Use it. |
| @@ -331,8 +577,8 @@ | |||
| 331 | 577 | ||
| 332 | 2012-10-29 Daniel Colascione <dancol@dancol.org> | 578 | 2012-10-29 Daniel Colascione <dancol@dancol.org> |
| 333 | 579 | ||
| 334 | * cygw32.h, cygw32.c (Qutf_16le, from_unicode, to_unicode): In | 580 | * cygw32.h, cygw32.c (Qutf_16le, from_unicode, to_unicode): |
| 335 | preparation for fixing bug#12739, move these functions from | 581 | In preparation for fixing bug#12739, move these functions from |
| 336 | here... | 582 | here... |
| 337 | 583 | ||
| 338 | * coding.h, coding.c: ... to here, and compile them only when | 584 | * coding.h, coding.c: ... to here, and compile them only when |