diff options
| author | Stefan Monnier | 2012-09-26 11:19:10 -0400 |
|---|---|---|
| committer | Stefan Monnier | 2012-09-26 11:19:10 -0400 |
| commit | 3a880af4a79688e90da45311a8d85bae2d59a811 (patch) | |
| tree | 178e2f4ac5889ad1de54fc02c967f7acb377ce64 /src/ChangeLog | |
| parent | 9180598cb164cf32daf0e1761a8143e720460987 (diff) | |
| parent | 234148bf943ffce55121aefc8694889eb08b0daa (diff) | |
| download | emacs-3a880af4a79688e90da45311a8d85bae2d59a811.tar.gz emacs-3a880af4a79688e90da45311a8d85bae2d59a811.zip | |
Merge profiler branch
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 64 |
1 files changed, 45 insertions, 19 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 3e999f3f699..47e2b7a7fea 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,29 @@ | |||
| 1 | 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org> | ||
| 2 | Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 3 | Juanma Barranquero <lekktu@gmail.com> | ||
| 4 | |||
| 5 | * profiler.c: New file. | ||
| 6 | * Makefile.in (base_obj): Add profiler.o. | ||
| 7 | * makefile.w32-in (OBJ2, GLOBAL_SOURCES): Add profiler.c. | ||
| 8 | ($(BLD)/profiler.$(O)): New target. | ||
| 9 | * emacs.c (main): Call syms_of_profiler. | ||
| 10 | * alloc.c (Qautomatic_gc): New constant. | ||
| 11 | (MALLOC_PROBE): New macro. | ||
| 12 | (xmalloc, xzalloc, xrealloc, lisp_malloc, lisp_align_malloc): Use it. | ||
| 13 | (total_bytes_of_live_objects): New function. | ||
| 14 | (Fgarbage_collect): Use it. Record itself in backtrace_list. | ||
| 15 | Call malloc_probe for the memory profiler. | ||
| 16 | (syms_of_alloc): Define Qautomatic_gc. | ||
| 17 | * eval.c (eval_sub, Ffuncall): Reorder assignments to avoid | ||
| 18 | race condition. | ||
| 19 | (struct backtrace): Move definition... | ||
| 20 | * lisp.h (struct backtrace): ..here. | ||
| 21 | (Qautomatic_gc, profiler_memory_running): Declare vars. | ||
| 22 | (malloc_probe, syms_of_profiler): Declare functions. | ||
| 23 | * xdisp.c (Qautomatic_redisplay): New constant. | ||
| 24 | (redisplay_internal): Record itself in backtrace_list. | ||
| 25 | (syms_of_xdisp): Define Qautomatic_redisplay. | ||
| 26 | |||
| 1 | 2012-09-25 Juanma Barranquero <lekktu@gmail.com> | 27 | 2012-09-25 Juanma Barranquero <lekktu@gmail.com> |
| 2 | 28 | ||
| 3 | * makefile.w32-in ($(BLD)/callproc.$(O)): Update dependencies. | 29 | * makefile.w32-in ($(BLD)/callproc.$(O)): Update dependencies. |
| @@ -291,8 +317,8 @@ | |||
| 291 | (reinvoke_input_signal): Remove. All uses replaced by | 317 | (reinvoke_input_signal): Remove. All uses replaced by |
| 292 | handle_async_input. | 318 | handle_async_input. |
| 293 | (quit_count): Now volatile, since a signal handler uses it. | 319 | (quit_count): Now volatile, since a signal handler uses it. |
| 294 | (handle_interrupt): Now takes bool IN_SIGNAL_HANDLER as arg. All | 320 | (handle_interrupt): Now takes bool IN_SIGNAL_HANDLER as arg. |
| 295 | callers changed. Block SIGINT only if not already blocked. | 321 | All callers changed. Block SIGINT only if not already blocked. |
| 296 | Clear sigmask reliably, even if Fsignal returns, which it can. | 322 | Clear sigmask reliably, even if Fsignal returns, which it can. |
| 297 | Omit unnecessary accesses to volatile var. | 323 | Omit unnecessary accesses to volatile var. |
| 298 | (quit_throw_to_read_char): No need to restore sigmask. | 324 | (quit_throw_to_read_char): No need to restore sigmask. |
| @@ -392,8 +418,8 @@ | |||
| 392 | if it is defined. Arguments and return value changed. | 418 | if it is defined. Arguments and return value changed. |
| 393 | (valid_image_p, make_image): Callers changed. | 419 | (valid_image_p, make_image): Callers changed. |
| 394 | (xbm_type, xpm_type, pbm_type, png_type, jpeg_type, tiff_type) | 420 | (xbm_type, xpm_type, pbm_type, png_type, jpeg_type, tiff_type) |
| 395 | (gif_type, imagemagick_type, svg_type, gs_type): Add | 421 | (gif_type, imagemagick_type, svg_type, gs_type): |
| 396 | initialization functions. | 422 | Add initialization functions. |
| 397 | (Finit_image_library): Call lookup_image_type. | 423 | (Finit_image_library): Call lookup_image_type. |
| 398 | (CHECK_LIB_AVAILABLE): Macro deleted. | 424 | (CHECK_LIB_AVAILABLE): Macro deleted. |
| 399 | (lookup_image_type): Call define_image_type here, rather than via | 425 | (lookup_image_type): Call define_image_type here, rather than via |
| @@ -415,8 +441,8 @@ | |||
| 415 | * window.c (Fsplit_window_internal): Handle only Qt value of | 441 | * window.c (Fsplit_window_internal): Handle only Qt value of |
| 416 | Vwindow_combination_limit separately. | 442 | Vwindow_combination_limit separately. |
| 417 | (Qtemp_buffer_resize): New symbol. | 443 | (Qtemp_buffer_resize): New symbol. |
| 418 | (Vwindow_combination_limit): New default value. Rewrite | 444 | (Vwindow_combination_limit): New default value. |
| 419 | doc-string. | 445 | Rewrite doc-string. |
| 420 | 446 | ||
| 421 | 2012-09-22 Eli Zaretskii <eliz@gnu.org> | 447 | 2012-09-22 Eli Zaretskii <eliz@gnu.org> |
| 422 | 448 | ||
| @@ -515,7 +541,7 @@ | |||
| 515 | (Fx_create_frame): Call x_set_offset to correctly interpret | 541 | (Fx_create_frame): Call x_set_offset to correctly interpret |
| 516 | top_pos in geometry. | 542 | top_pos in geometry. |
| 517 | 543 | ||
| 518 | * frame.c (read_integer, XParseGeometry): Moved from w32xfns.c. | 544 | * frame.c (read_integer, XParseGeometry): Move from w32xfns.c. |
| 519 | (Fx_parse_geometry): If there is a space in string, call | 545 | (Fx_parse_geometry): If there is a space in string, call |
| 520 | Qns_parse_geometry, otherwise do as on other terms (Bug#12368). | 546 | Qns_parse_geometry, otherwise do as on other terms (Bug#12368). |
| 521 | 547 | ||
| @@ -616,8 +642,8 @@ | |||
| 616 | 642 | ||
| 617 | 2012-09-16 Martin Rudalics <rudalics@gmx.at> | 643 | 2012-09-16 Martin Rudalics <rudalics@gmx.at> |
| 618 | 644 | ||
| 619 | * window.c (Fwindow_parameter, Fset_window_parameter): Accept | 645 | * window.c (Fwindow_parameter, Fset_window_parameter): |
| 620 | any window as argument (Bug#12452). | 646 | Accept any window as argument (Bug#12452). |
| 621 | 647 | ||
| 622 | 2012-09-16 Jan Djärv <jan.h.d@swipnet.se> | 648 | 2012-09-16 Jan Djärv <jan.h.d@swipnet.se> |
| 623 | 649 | ||
| @@ -692,8 +718,8 @@ | |||
| 692 | 2012-09-14 Dmitry Antipov <dmantipov@yandex.ru> | 718 | 2012-09-14 Dmitry Antipov <dmantipov@yandex.ru> |
| 693 | 719 | ||
| 694 | Avoid out-of-range marker position (Bug#12426). | 720 | Avoid out-of-range marker position (Bug#12426). |
| 695 | * insdel.c (replace_range, replace_range_2): Adjust | 721 | * insdel.c (replace_range, replace_range_2): |
| 696 | markers before overlays, as suggested by comments. | 722 | Adjust markers before overlays, as suggested by comments. |
| 697 | (insert_1_both, insert_from_buffer_1, adjust_after_replace): | 723 | (insert_1_both, insert_from_buffer_1, adjust_after_replace): |
| 698 | Remove redundant check before calling offset_intervals. | 724 | Remove redundant check before calling offset_intervals. |
| 699 | 725 | ||
| @@ -992,8 +1018,8 @@ | |||
| 992 | in the internal border. | 1018 | in the internal border. |
| 993 | (x_set_window_size): Remove static variables and their usage. | 1019 | (x_set_window_size): Remove static variables and their usage. |
| 994 | (ns_redraw_scroll_bars): Fix NSTRACE arg. | 1020 | (ns_redraw_scroll_bars): Fix NSTRACE arg. |
| 995 | (ns_after_update_window_line, ns_draw_fringe_bitmap): Remove | 1021 | (ns_after_update_window_line, ns_draw_fringe_bitmap): |
| 996 | fringe/internal border adjustment (Bug#11052). | 1022 | Remove fringe/internal border adjustment (Bug#11052). |
| 997 | (ns_draw_fringe_bitmap): Make code more like other terms (xterm.c). | 1023 | (ns_draw_fringe_bitmap): Make code more like other terms (xterm.c). |
| 998 | (ns_draw_window_cursor): Remove fringe/internal border adjustment. | 1024 | (ns_draw_window_cursor): Remove fringe/internal border adjustment. |
| 999 | (ns_fix_rect_ibw): Remove. | 1025 | (ns_fix_rect_ibw): Remove. |
| @@ -1210,8 +1236,8 @@ | |||
| 1210 | (init_signals) [FORWARD_SIGNAL_TO_MAIN_THREAD]: Initialize it; | 1236 | (init_signals) [FORWARD_SIGNAL_TO_MAIN_THREAD]: Initialize it; |
| 1211 | code moved here from emacs.c's main function. | 1237 | code moved here from emacs.c's main function. |
| 1212 | * sysdep.c, syssignal.h (handle_on_main_thread): New function, | 1238 | * sysdep.c, syssignal.h (handle_on_main_thread): New function, |
| 1213 | replacing the old SIGNAL_THREAD_CHECK. All uses changed. This | 1239 | replacing the old SIGNAL_THREAD_CHECK. All uses changed. |
| 1214 | lets callers save and restore errno properly. | 1240 | This lets callers save and restore errno properly. |
| 1215 | 1241 | ||
| 1216 | 2012-09-05 Dmitry Antipov <dmantipov@yandex.ru> | 1242 | 2012-09-05 Dmitry Antipov <dmantipov@yandex.ru> |
| 1217 | 1243 | ||
| @@ -1520,8 +1546,8 @@ | |||
| 1520 | * process.c: Include TERM_HEADER instead of listing all possible | 1546 | * process.c: Include TERM_HEADER instead of listing all possible |
| 1521 | window-system headers. | 1547 | window-system headers. |
| 1522 | 1548 | ||
| 1523 | * nsterm.h: Remove declarations now in frame.h. Define | 1549 | * nsterm.h: Remove declarations now in frame.h. |
| 1524 | FRAME_X_SCREEN, FRAME_X_VISUAL. | 1550 | Define FRAME_X_SCREEN, FRAME_X_VISUAL. |
| 1525 | 1551 | ||
| 1526 | * menu.c: Include TERM_HEADER instead of listing all possible | 1552 | * menu.c: Include TERM_HEADER instead of listing all possible |
| 1527 | window-system headers. | 1553 | window-system headers. |
| @@ -1717,8 +1743,8 @@ | |||
| 1717 | 1743 | ||
| 1718 | * nsterm.h (NSPanel): New class variable dialog_return. | 1744 | * nsterm.h (NSPanel): New class variable dialog_return. |
| 1719 | 1745 | ||
| 1720 | * nsmenu.m (initWithContentRect:styleMask:backing:defer:): Initialize | 1746 | * nsmenu.m (initWithContentRect:styleMask:backing:defer:): |
| 1721 | dialog_return. | 1747 | Initialize dialog_return. |
| 1722 | (windowShouldClose:): Use stop instead of stopModalWithCode. | 1748 | (windowShouldClose:): Use stop instead of stopModalWithCode. |
| 1723 | (clicked:): Ditto, and also set dialog_return (Bug#12258). | 1749 | (clicked:): Ditto, and also set dialog_return (Bug#12258). |
| 1724 | (timeout_handler:): Use stop instead of abortModal. Send a dummy | 1750 | (timeout_handler:): Use stop instead of abortModal. Send a dummy |