diff options
| author | Kenichi Handa | 2013-04-05 23:17:55 +0900 |
|---|---|---|
| committer | Kenichi Handa | 2013-04-05 23:17:55 +0900 |
| commit | b7a6f9f7919b7fc0871ae768b58f8e746aa7dd9f (patch) | |
| tree | f32c8cce416e346d2953f063a0f22e95382cf57e /src/ChangeLog | |
| parent | 251e91474c91e16b101502c2ed7c05fc13e4ecea (diff) | |
| parent | 73931ad14ad7a51d91f10b19ae9ca8cadb256916 (diff) | |
| download | emacs-b7a6f9f7919b7fc0871ae768b58f8e746aa7dd9f.tar.gz emacs-b7a6f9f7919b7fc0871ae768b58f8e746aa7dd9f.zip | |
merge trunk
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 405 |
1 files changed, 403 insertions, 2 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 6b3ca9d3ff3..70e342dfb2f 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -18,6 +18,407 @@ | |||
| 18 | 18 | ||
| 19 | * insdel.c (insert_from_gap): Fix previous change. | 19 | * insdel.c (insert_from_gap): Fix previous change. |
| 20 | 20 | ||
| 21 | 2013-04-05 Dmitry Antipov <dmantipov@yandex.ru> | ||
| 22 | |||
| 23 | Consistently use platform-specific function to detect window system. | ||
| 24 | * lisp.h (check_window_system): New prototype. This function is | ||
| 25 | going to replace check_x, check_w32 and check_ns. | ||
| 26 | (have_menus_p): Mention msdos.c in comment. | ||
| 27 | * fontset.c (check_window_system_func): Remove. Adjust all users. | ||
| 28 | * fontset.h (check_window_system_func): Remove prototype. | ||
| 29 | * nsterm.h (check_ns): | ||
| 30 | * xterm.h (check_x): | ||
| 31 | * w32term.h (check_w32): Likewise. | ||
| 32 | * menu.c (Fx_popup_menu): Use check_window_system. | ||
| 33 | * msdos.c (check_window_system): Define for MS-DOS. | ||
| 34 | * nsfns.m (check_window_system): Define for NS. Adjust all users. | ||
| 35 | * w32fns.c (check_window_system): Likewise for MS-Windows. | ||
| 36 | * xfns.c (check_window_system): Likewise for X. | ||
| 37 | * font.c, frame.c, nsmenu.m, nsselect.m, nsterm.m, w32menu.c: | ||
| 38 | * xfaces.c, xmenu.c: Use check_window_system where appropriate. | ||
| 39 | |||
| 40 | 2013-04-02 Paul Eggert <eggert@cs.ucla.edu> | ||
| 41 | |||
| 42 | Prefer < to > in range checks such as 0 <= i && i < N. | ||
| 43 | This makes it easier to visualize quantities on a number line. | ||
| 44 | This patch doesn't apply to all such range checks, | ||
| 45 | only to the range checks affected by the 2013-03-24 change. | ||
| 46 | This patch reverts most of the 2013-03-24 change. | ||
| 47 | * alloc.c (xpalloc, Fgarbage_collect): | ||
| 48 | * ccl.c (ccl_driver, resolve_symbol_ccl_program): | ||
| 49 | * character.c (string_escape_byte8): | ||
| 50 | * charset.c (read_hex): | ||
| 51 | * data.c (cons_to_unsigned): | ||
| 52 | * dispnew.c (update_frame_1): | ||
| 53 | * doc.c (Fsubstitute_command_keys): | ||
| 54 | * doprnt.c (doprnt): | ||
| 55 | * editfns.c (hi_time, decode_time_components): | ||
| 56 | * fileio.c (file_offset): | ||
| 57 | * fns.c (larger_vector, make_hash_table, Fmake_hash_table): | ||
| 58 | * font.c (font_intern_prop): | ||
| 59 | * frame.c (x_set_alpha): | ||
| 60 | * gtkutil.c (get_utf8_string): | ||
| 61 | * indent.c (check_display_width): | ||
| 62 | * keymap.c (Fkey_description): | ||
| 63 | * lisp.h (FIXNUM_OVERFLOW_P, vcopy): | ||
| 64 | * lread.c (read1): | ||
| 65 | * minibuf.c (read_minibuf_noninteractive): | ||
| 66 | * process.c (wait_reading_process_output): | ||
| 67 | * search.c (Freplace_match): | ||
| 68 | * window.c (get_phys_cursor_glyph): | ||
| 69 | * xdisp.c (redisplay_internal): | ||
| 70 | * xsmfns.c (smc_save_yourself_CB): | ||
| 71 | Prefer < to > for range checks. | ||
| 72 | * dispnew.c (sit_for): Don't mishandle NaNs. | ||
| 73 | This fixes a bug introduced in the 2013-03-24 change. | ||
| 74 | * editfns.c (decode_time_components): Don't hoist comparison. | ||
| 75 | This fixes another bug introduced in the 2013-03-24 change. | ||
| 76 | |||
| 77 | 2013-03-31 Dmitry Antipov <dmantipov@yandex.ru> | ||
| 78 | |||
| 79 | * frame.h (struct frame): Drop scroll_bottom_vpos | ||
| 80 | member becaue all real users are dead long ago. | ||
| 81 | (FRAME_SCROLL_BOTTOM_VPOS): Remove. | ||
| 82 | * xdisp.c (redisplay_internal): Adjust user. | ||
| 83 | |||
| 84 | 2013-03-30 Darren Ho <darren.hoo@gmail.com> (tiny change) | ||
| 85 | |||
| 86 | * nsmenu.m (showAtX:Y:for:): setLevel to | ||
| 87 | NSPopUpMenuWindowLevel (Bug#13998). | ||
| 88 | |||
| 89 | 2013-03-30 Jan Djärv <jan.h.d@swipnet.se> | ||
| 90 | |||
| 91 | * nsterm.h (ns_get_pending_menu_title, ns_check_menu_open) | ||
| 92 | (ns_check_pending_open_menu): Declare. | ||
| 93 | |||
| 94 | * nsmenu.m (ns_update_menubar): Correct NSTRACE. | ||
| 95 | (x_activate_menubar): Update the menu with title that matches | ||
| 96 | ns_get_pending_menu_title, and call | ||
| 97 | ns_check_pending_openmenu (Bug#12698). | ||
| 98 | (menuWillOpen:): New method. | ||
| 99 | (menuNeedsUpdate:): Add check for ! COCOA || OSX < 10.5 (Bug#12698). | ||
| 100 | |||
| 101 | * nsterm.m (menu_will_open_state, menu_mouse_point) | ||
| 102 | (menu_pending_title): New varaibles. | ||
| 103 | (ns_get_pending_menu_title, ns_check_menu_open) | ||
| 104 | (ns_check_pending_open_menu): New functions. | ||
| 105 | |||
| 106 | 2013-03-29 Dmitry Antipov <dmantipov@yandex.ru> | ||
| 107 | |||
| 108 | * indent.c (current_column_bol_cache): Remove leftover which is not | ||
| 109 | used in Fmove_to_column any more. | ||
| 110 | (current_column, scan_for_column): Adjust users. | ||
| 111 | * keyboard.c (last_point_position_buffer, last_point_position_window): | ||
| 112 | Remove leftovers which are not used for recording undo any more. | ||
| 113 | (command_loop_1, syms_of_keyboard): Adjust users. | ||
| 114 | * xdisp.c (last_max_ascent): Remove leftover which is not used in | ||
| 115 | redisplay_window any more. | ||
| 116 | (move_it_to): Adjust user. | ||
| 117 | |||
| 118 | 2013-03-29 Juanma Barranquero <lekktu@gmail.com> | ||
| 119 | |||
| 120 | * makefile.w32-in ($(BLD)/filelock.$(O), $(BLD)/filelock.$(O)): | ||
| 121 | Update dependencies. | ||
| 122 | |||
| 123 | 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 124 | |||
| 125 | * lisp.h (save_type, XSAVE_POINTER, set_save_pointer, XSAVE_INTEGER) | ||
| 126 | (set_save_integer, XSAVE_OBJECT, XSAVE_VALUE): Move to avoid | ||
| 127 | forward references. | ||
| 128 | |||
| 129 | 2013-03-28 Dmitry Antipov <dmantipov@yandex.ru> | ||
| 130 | |||
| 131 | * window.h (struct window): Replace hchild, vchild and buffer slots | ||
| 132 | with the only contents slot. This is possible because each valid | ||
| 133 | window may have either the child window (in vertical or horizontal | ||
| 134 | combination) or buffer to display (for the leaf window). Using that, | ||
| 135 | a lof of operations to traverse and/or change window hierarchies may | ||
| 136 | be simplified. New member horizontal is used to distinguish between | ||
| 137 | horizontal and vertical combinations of internal windows. | ||
| 138 | (WINDOW_LEAF_P, WINDOW_HORIZONTAL_COMBINATION_P) | ||
| 139 | (WINDOW_VERTICAL_COMBINATION_P): New macros. | ||
| 140 | (WINDOW_VALID_P, WINDOW_LIVE_P): Adjust to match struct window changes. | ||
| 141 | * window.c (wset_hchild, wset_vchild): Remove. Adjust all users. | ||
| 142 | Use contents slot, not buffer, where appropriate. | ||
| 143 | (wset_combination): New function. | ||
| 144 | (wset_buffer): Add eassert. | ||
| 145 | (Fframe_first_window): Simplify the loop reaching first window. | ||
| 146 | (Fwindow_buffer): Use WINDOW_LEAF_P. | ||
| 147 | (Fwindow_top_child): Use WINDOW_VERTICAL_COMBINATION_P. | ||
| 148 | (Fwindow_left_child): Use WINDOW_HORIZONTAL_COMBINATION_P. | ||
| 149 | (unshow_buffer): Convert initial debugging check to eassert. | ||
| 150 | (replace_window, recombine_windows, Fdelete_other_windows_internal) | ||
| 151 | (make_parent_window, window_resize_check, window_resize_apply) | ||
| 152 | (resize_frame_windows, Fsplit_window_internal, Fdelete_window_internal) | ||
| 153 | (Fset_window_configuration, delete_all_child_windows, save_window_save): | ||
| 154 | Adjust to match struct window changes. | ||
| 155 | (window_loop): Check for broken markers in CHECK_ALL_WINDOWS. | ||
| 156 | (mark_window_cursors_off, count_windows, get_leaf_windows) | ||
| 157 | (foreach_window_1): Simplify the loop. | ||
| 158 | * alloc.c (mark_object): Do not check for the leaf window because | ||
| 159 | internal windows has no glyph matrices anyway. | ||
| 160 | * dispnew.c (clear_window_matrices, showing_window_margins_p) | ||
| 161 | (allocate_matrices_for_window_redisplay, fake_current_matrices) | ||
| 162 | (allocate_matrices_for_frame_redisplay, free_window_matrices) | ||
| 163 | (build_frame_matrix_from_window_tree, mirror_make_current) | ||
| 164 | (frame_row_to_window, mirror_line_dance, check_window_matrix_pointers) | ||
| 165 | (update_window_tree, set_window_update_flags): Simplify the loop. | ||
| 166 | (sync_window_with_frame_matrix_rows): Enforce live window. | ||
| 167 | Use contents slot, not buffer, where appropriate. | ||
| 168 | * frame.c (set_menu_bar_lines_1): Use WINDOW_VERTICAL_COMBINATION_P | ||
| 169 | and WINDOW_HORIZONTAL_COMBINATION_P. | ||
| 170 | (make_frame_visible_1): Simplify the loop. | ||
| 171 | Use contents slot, not buffer, where appropriate. | ||
| 172 | * xdisp.c (hscroll_window_tree, mark_window_display_accurate) | ||
| 173 | (redisplay_windows, redisplay_mode_lines, update_cursor_in_window_tree) | ||
| 174 | (expose_window_tree): Likewise. | ||
| 175 | Use contents slot, not buffer, where appropriate. | ||
| 176 | * textprop.c (get_char_property_and_overlay): Add CHECK_LIVE_WINDOW | ||
| 177 | to avoid deleted windows. Use contents slot instead of buffer. | ||
| 178 | * buffer.c, dispextern.h, editfns.c, fileio.c, font.c, fringe.c: | ||
| 179 | * indent.c, insdel.c, keyboard.c, keymap.c, minibuf.c, msdos.c: | ||
| 180 | * nsfns.m, nsmenu.m, nsterm.m, print.c, w32fns.c, w32menu.c, xfaces.c: | ||
| 181 | * xfns.c, xmenu.c: Use contents slot, not buffer, where appropriate. | ||
| 182 | |||
| 183 | 2013-03-28 Eli Zaretskii <eliz@gnu.org> | ||
| 184 | |||
| 185 | * w32fns.c (w32_wnd_proc) [ENABLE_CHECKING]: Add code to help | ||
| 186 | identify the reasons for assertion violations in bug#14062 and | ||
| 187 | similar ones. | ||
| 188 | (Fx_show_tip): Fix compilation error under | ||
| 189 | "--enable-check-lisp-object-type". (Bug#14073) | ||
| 190 | |||
| 191 | * image.c (g_error_free) [WINDOWSNT]: Add DEF_IMGLIB_FN. | ||
| 192 | Reported by <rzl24ozi@gmail.com>. | ||
| 193 | |||
| 194 | 2013-03-28 Dmitry Antipov <dmantipov@yandex.ru> | ||
| 195 | |||
| 196 | * xdisp.c (with_echo_area_buffer_unwind_data): Save window | ||
| 197 | start marker... | ||
| 198 | (unwind_with_echo_area_buffer): ...to restore it here. This | ||
| 199 | is needed to ensure that... | ||
| 200 | (redisplay_window): ...both window markers are valid here, | ||
| 201 | which is verified by eassert. | ||
| 202 | * editfns.c (save_excursion_save): Do not assume that | ||
| 203 | selected_window always displays the buffer. | ||
| 204 | * buffer.c (Fbuffer_swap_text): Adjust window start markers. | ||
| 205 | Fix comment. | ||
| 206 | |||
| 207 | 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 208 | |||
| 209 | * casetab.c (init_casetab_once): Don't abuse the ascii eqv table for | ||
| 210 | the upcase table. | ||
| 211 | |||
| 212 | 2013-03-27 rzl24ozi <rzl24ozi@gmail.com> (tiny changes) | ||
| 213 | |||
| 214 | * image.c [WINDOWSNT]: Fix calls to DEF_IMGLIB_FN for SVG function. | ||
| 215 | |||
| 216 | 2013-03-27 Eli Zaretskii <eliz@gnu.org> | ||
| 217 | |||
| 218 | * w32proc.c (IsValidLocale) [__GNUC__]: Don't declare prototype, | ||
| 219 | since MinGW's w32api headers do. This avoids compiler warnings. | ||
| 220 | |||
| 221 | * w32.c (FSCTL_GET_REPARSE_POINT) [_MSC_VER || _W64]: Don't define | ||
| 222 | if already defined. | ||
| 223 | |||
| 224 | 2013-03-26 Eli Zaretskii <eliz@gnu.org> | ||
| 225 | |||
| 226 | * w32.c (_REPARSE_DATA_BUFFER): Condition by _MSVC and _W64. | ||
| 227 | |||
| 228 | 2013-03-26 Jan Djärv <jan.h.d@swipnet.se> | ||
| 229 | |||
| 230 | * gtkutil.c (style_changed_cb): Check if frame is live and an | ||
| 231 | X frame (Bug#14038). | ||
| 232 | |||
| 233 | 2013-03-26 Eli Zaretskii <eliz@gnu.org> | ||
| 234 | |||
| 235 | * w32.c (_PROCESS_MEMORY_COUNTERS_EX) [_WIN32_WINNT < 0x0500]: | ||
| 236 | Define only for _WIN32_WINNT less than 0x0500. | ||
| 237 | (_ANONYMOUS_UNION, _ANONYMOUS_STRUCT) [!_W64]: Don't define for | ||
| 238 | MinGW64. | ||
| 239 | Move inclusion of time.h before sys/time.h, so that MinGW64 could | ||
| 240 | see its own definitions of 'struct timeval' and 'struct timezone'. | ||
| 241 | |||
| 242 | Fix incompatibilities between MinGW.org and MinGW64 headers. | ||
| 243 | * w32term.c (WCRANGE, GLYPHSET): Don't define if _W64 is defined. | ||
| 244 | |||
| 245 | * w32.c (REPARSE_DATA_BUFFER): Guard with | ||
| 246 | MAXIMUM_REPARSE_DATA_BUFFER_SIZE being defined. | ||
| 247 | |||
| 248 | 2013-03-25 Jan Djärv <jan.h.d@swipnet.se> | ||
| 249 | |||
| 250 | * xterm.c: Include X11/XKBlib.h | ||
| 251 | (XTring_bell): Use XkbBell if HAVE_XKB (Bug#14041). | ||
| 252 | |||
| 253 | 2013-03-24 Andreas Schwab <schwab@linux-m68k.org> | ||
| 254 | |||
| 255 | * alloc.c (xpalloc, Fgarbage_collect): Reorder conditions that are | ||
| 256 | written backwards. | ||
| 257 | * blockinput.h (input_blocked_p): Likewise. | ||
| 258 | * bytecode.c (exec_byte_code): Likewise. | ||
| 259 | * callproc.c (call_process_kill, call_process_cleanup) | ||
| 260 | (Fcall_process): Likewise. | ||
| 261 | * ccl.c (ccl_driver, resolve_symbol_ccl_program) | ||
| 262 | (Fccl_execute_on_string): Likewise. | ||
| 263 | * character.c (string_escape_byte8): Likewise. | ||
| 264 | * charset.c (read_hex): Likewise. | ||
| 265 | * cm.c (calccost): Likewise. | ||
| 266 | * data.c (cons_to_unsigned): Likewise. | ||
| 267 | * dired.c (directory_files_internal, file_name_completion): | ||
| 268 | Likewise. | ||
| 269 | * dispnew.c (scrolling_window, update_frame_1, Fsleep_for) | ||
| 270 | (sit_for): Likewise. | ||
| 271 | * doc.c (Fsubstitute_command_keys): Likewise. | ||
| 272 | * doprnt.c (doprnt): Likewise. | ||
| 273 | * editfns.c (hi_time, decode_time_components, Fformat): Likewise. | ||
| 274 | * emacsgtkfixed.c: Likewise. | ||
| 275 | * fileio.c (file_offset, Fwrite_region): Likewise. | ||
| 276 | * floatfns.c (Fexpt, fmod_float): Likewise. | ||
| 277 | * fns.c (larger_vector, make_hash_table, Fmake_hash_table): | ||
| 278 | Likewise. | ||
| 279 | * font.c (font_intern_prop): Likewise. | ||
| 280 | * frame.c (x_set_alpha): Likewise. | ||
| 281 | * gtkutil.c (get_utf8_string): Likewise. | ||
| 282 | * indent.c (check_display_width): Likewise. | ||
| 283 | * intervals.c (create_root_interval, rotate_right, rotate_left) | ||
| 284 | (split_interval_right, split_interval_left) | ||
| 285 | (adjust_intervals_for_insertion, delete_node) | ||
| 286 | (interval_deletion_adjustment, adjust_intervals_for_deletion) | ||
| 287 | (merge_interval_right, merge_interval_left, copy_intervals) | ||
| 288 | (set_intervals_multibyte_1): Likewise. | ||
| 289 | * keyboard.c (gobble_input, append_tool_bar_item): Likewise. | ||
| 290 | * keymap.c (Fkey_description): Likewise. | ||
| 291 | * lisp.h (FIXNUM_OVERFLOW_P, vcopy): Likewise. | ||
| 292 | * lread.c (openp, read_integer, read1, string_to_number): | ||
| 293 | Likewise. | ||
| 294 | * menu.c (ensure_menu_items): Likewise. | ||
| 295 | * minibuf.c (read_minibuf_noninteractive): Likewise. | ||
| 296 | * print.c (printchar, strout): Likewise. | ||
| 297 | * process.c (create_process, Faccept_process_output) | ||
| 298 | (wait_reading_process_output, read_process_output, send_process) | ||
| 299 | (wait_reading_process_output): Likewise. | ||
| 300 | * profiler.c (make_log, handle_profiler_signal): Likewise. | ||
| 301 | * regex.c (re_exec): Likewise. | ||
| 302 | * regex.h: Likewise. | ||
| 303 | * search.c (looking_at_1, Freplace_match): Likewise. | ||
| 304 | * sysdep.c (get_child_status, procfs_ttyname) | ||
| 305 | (procfs_get_total_memory): Likewise. | ||
| 306 | * systime.h (EMACS_TIME_VALID_P): Likewise. | ||
| 307 | * term.c (dissociate_if_controlling_tty): Likewise. | ||
| 308 | * window.c (get_phys_cursor_glyph): Likewise. | ||
| 309 | * xdisp.c (init_iterator, redisplay_internal, redisplay_window) | ||
| 310 | (try_window_reusing_current_matrix, try_window_id, pint2hrstr): | ||
| 311 | Likewise. | ||
| 312 | * xfns.c (Fx_window_property): Likewise. | ||
| 313 | * xmenu.c (set_frame_menubar): Likewise. | ||
| 314 | * xselect.c (x_get_window_property, x_handle_dnd_message): | ||
| 315 | Likewise. | ||
| 316 | * xsmfns.c (smc_save_yourself_CB): Likewise. | ||
| 317 | * xterm.c (x_scroll_bar_set_handle): Likewise. | ||
| 318 | |||
| 319 | 2013-03-24 Dmitry Antipov <dmantipov@yandex.ru> | ||
| 320 | |||
| 321 | * xfaces.c (Finternal_face_x_get_resource): Allow 3rd (frame) argument | ||
| 322 | to be optional or nil. Adjust comment and convert it to docstring. | ||
| 323 | * xselect.c (Fx_send_client_event): Rename to Fx_send_client_message. | ||
| 324 | * frame.c (display_x_get_resource, Fx_get_resource): Break long line. | ||
| 325 | |||
| 326 | 2013-03-24 Paul Eggert <eggert@cs.ucla.edu> | ||
| 327 | |||
| 328 | Static checking by GCC 4.8-20130319. | ||
| 329 | * image.c (gif_load): Assume pass < 3 to pacify GCC. | ||
| 330 | * process.c (Fset_process_datagram_address) | ||
| 331 | (Fmake_network_process): Check get_lisp_to_sockaddr_size return value. | ||
| 332 | * xdisp.c (get_char_face_and_encoding): | ||
| 333 | (get_glyph_face_and_encoding): Ensure that *CHAR2B is initialized. | ||
| 334 | (get_glyph_face_and_encoding): Prepare face before possibly using it. | ||
| 335 | (get_per_char_metric): Don't use CHAR2B if it might not be initialized. | ||
| 336 | |||
| 337 | 2013-03-24 Ken Brown <kbrown@cornell.edu> | ||
| 338 | |||
| 339 | * w32fns.c (emacs_abort) [CYGWIN]: Define `_open' as a macro to | ||
| 340 | fix compilation on 64-bit Cygwin, where underscores are not | ||
| 341 | automatically prepended. | ||
| 342 | |||
| 343 | * w32term.c (w32_initialize): Silence compiler warning. | ||
| 344 | |||
| 345 | 2013-03-23 Eli Zaretskii <eliz@gnu.org> | ||
| 346 | |||
| 347 | * w32term.c (w32fullscreen_hook): Use FRAME_NORMAL_WIDTH, | ||
| 348 | FRAME_NORMAL_HEIGHT, and FRAME_PREV_FSMODE, instead of static | ||
| 349 | variables, to save and restore frame dimensions. Use | ||
| 350 | FRAME_NORMAL_LEFT and FRAME_NORMAL_TOP to restore frame position | ||
| 351 | after returning from a 'fullscreen' configuration. use | ||
| 352 | SendMessage instead of PostMessage to send the SC_RESTORE message, | ||
| 353 | to avoid races between the main thread and the input thread. | ||
| 354 | |||
| 355 | * w32term.h (struct w32_output): New members normal_width, | ||
| 356 | normal_height, normal_top, normal_left, and prev_fsmode. | ||
| 357 | (FRAME_NORMAL_WIDTH, FRAME_NORMAL_HEIGHT, FRAME_NORMAL_TOP) | ||
| 358 | (FRAME_NORMAL_LEFT, FRAME_PREV_FSMODE): New macros to access these | ||
| 359 | members of a frame. | ||
| 360 | |||
| 361 | * w32term.c (w32fullscreen_hook): Record last value of the frame's | ||
| 362 | 'fullscreen' parameter. Always record previous width and height | ||
| 363 | of the frame, except when switching out of maximized modes, so | ||
| 364 | that they could be restored correctly, instead of resetting to the | ||
| 365 | default frame dimensions. Send SC_RESTORE command to the frame, | ||
| 366 | unless we are going to send SC_MAXIMIZE, to restore the frame | ||
| 367 | resize hints in the mouse pointer shown by the window manager. | ||
| 368 | (Bug#14032) | ||
| 369 | |||
| 370 | * frame.c (get_frame_param): Now extern for WINDOWSNT as well. | ||
| 371 | |||
| 372 | * lisp.h (get_frame_param): Adjust conditions for prototype | ||
| 373 | declaration. | ||
| 374 | |||
| 375 | 2013-03-22 Ken Brown <kbrown@cornell.edu> | ||
| 376 | |||
| 377 | * unexcw.c: Drop unneeded inclusion of w32common.h. | ||
| 378 | (report_sheap_usage): Declare. | ||
| 379 | (read_exe_header): Add magic numbers for x86_64. | ||
| 380 | (fixup_executable): Fix printf format specifier for unsigned long | ||
| 381 | argument. | ||
| 382 | |||
| 383 | 2013-03-22 Dmitry Antipov <dmantipov@yandex.ru> | ||
| 384 | |||
| 385 | * frame.h (struct frame): Put menu_bar_window under #ifdef | ||
| 386 | because this member is not needed when X toolkit is in use. | ||
| 387 | (fset_menu_bar_window): | ||
| 388 | * dispnew.c (clear_current_matrices, clear_desired_matrices) | ||
| 389 | (free_glyphs, update_frame): | ||
| 390 | * xdisp.c (expose_frame): Likewise. | ||
| 391 | (display_menu_bar): Likewise. Remove redundant eassert. | ||
| 392 | * window.h (WINDOW_MENU_BAR_P): Always define to 0 if X | ||
| 393 | toolkit is in use. | ||
| 394 | |||
| 395 | 2013-03-21 Paul Eggert <eggert@cs.ucla.edu> | ||
| 396 | |||
| 397 | Use functions and constants to manipulate Lisp_Save_Value objects. | ||
| 398 | This replaces code that used macros and strings and token-pasting. | ||
| 399 | The change makes the C source a bit easier to follow, | ||
| 400 | and shrinks the Emacs executable a bit. | ||
| 401 | * alloc.c: Verify some properties of Lisp_Save_Value's representation. | ||
| 402 | (make_save_value): Change 1st arg from string to enum. All callers | ||
| 403 | changed. | ||
| 404 | (INTX): Remove. | ||
| 405 | (mark_object): Use if, not #if, for GC_MARK_STACK. | ||
| 406 | * lisp.h (SAVE_VALUEP, XSAVE_VALUE, XSAVE_POINTER, XSAVE_INTEGER) | ||
| 407 | (XSAVE_OBJECT): Now functions, not macros. | ||
| 408 | (STRING_BYTES_BOUND): Now just a macro, not a constant too; | ||
| 409 | the constant was never used. | ||
| 410 | (SAVE_SLOT_BITS, SAVE_VALUE_SLOTS, SAVE_TYPE_BITS, SAVE_TYPE_INT_INT) | ||
| 411 | (SAVE_TYPE_INT_INT_INT, SAVE_TYPE_OBJ_OBJ, SAVE_TYPE_OBJ_OBJ_OBJ) | ||
| 412 | (SAVE_TYPE_OBJ_OBJ_OBJ_OBJ, SAVE_TYPE_PTR_INT, SAVE_TYPE_PTR_OBJ) | ||
| 413 | (SAVE_TYPE_PTR_PTR, SAVE_TYPE_PTR_PTR_OBJ, SAVE_TYPE_MEMORY): | ||
| 414 | New constants. | ||
| 415 | (struct Lisp_Save_Value): Replace members area, type0, type1, type2, | ||
| 416 | type3 with a single member save_type. All uses changed. | ||
| 417 | (save_type, set_save_pointer, set_save_integer): New functions. | ||
| 418 | * print.c (PRINTX): Remove. | ||
| 419 | |||
| 420 | * alloc.c: Remove redundant static declarations. | ||
| 421 | |||
| 21 | 2013-03-20 Dmitry Antipov <dmantipov@yandex.ru> | 422 | 2013-03-20 Dmitry Antipov <dmantipov@yandex.ru> |
| 22 | 423 | ||
| 23 | * window.h (struct window): Convert left_col, top_line, total_lines | 424 | * window.h (struct window): Convert left_col, top_line, total_lines |
| @@ -5190,8 +5591,8 @@ | |||
| 5190 | a public macro and no need to inline by hand. | 5591 | a public macro and no need to inline by hand. |
| 5191 | 5592 | ||
| 5192 | 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org> | 5593 | 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org> |
| 5193 | Stefan Monnier <monnier@iro.umontreal.ca> | 5594 | Stefan Monnier <monnier@iro.umontreal.ca> |
| 5194 | Juanma Barranquero <lekktu@gmail.com> | 5595 | Juanma Barranquero <lekktu@gmail.com> |
| 5195 | 5596 | ||
| 5196 | * profiler.c: New file. | 5597 | * profiler.c: New file. |
| 5197 | * Makefile.in (base_obj): Add profiler.o. | 5598 | * Makefile.in (base_obj): Add profiler.o. |