aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
| * Fix Fwindow_text_pixel_size and fit-frame-to-buffer.Martin Rudalics2014-01-281-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | * xdisp.c (last_max_ascent): Re-remove after erroneously reintroducing it on 2013-11-30 and abolishing Dmitry's removal from 2013-03-29. (move_it_to): Re-remove reference to last_max_ascent. (Fwindow_text_pixel_size): Add iterator's max_ascent and max_descent here instead of calling line_bottom_y. Fix doc-string. * window.el (fit-frame-to-buffer): Fix calculations for margins and height constraints.
| * * xfaces.c (free_frame_faces): Adjust comment.Dmitry Antipov2014-01-281-0/+1
| |
| * * terminal.c (initial_free_frame_resources): New function.Dmitry Antipov2014-01-281-0/+7
| | | | | | | | | | | | (init_initial_terminal): Install new hook to free face cache on initial frame and avoid memory leak. For details, see <http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01974.html>.
| * * data.c (Fstring_to_number): Document results if unparsable.Paul Eggert2014-01-261-0/+5
| | | | | | | | Fixes: debbugs:16551
* | Fix bug#16286 by the different way than ↵Kenichi Handa2014-01-291-0/+13
|/ | | | 2014-01-26T00:32:30Z!eggert@cs.ucla.edu to preserve the code detection behavior of 24.3.
* * xterm.c (x_focus_changed): Check for non-X terminal-frameJan Djärv2014-01-261-0/+4
| | | | Fixes: debbugs:16540
* When decoding, prefer ptrdiff_t to int for buffer positions etc.Paul Eggert2014-01-251-0/+8
| | | | | | | | | * coding.c (detect_coding_utf_8, emacs_mule_char) (detect_coding_iso_2022, encode_coding_iso_2022, check_ascii) (check_utf_8, decode_coding): * coding.h (struct coding_system.errors): Use ptrdiff_t, not int, for integer values derived from buffer and string positions.
* Fix crash with insert-file-contents and misdecoded text.Paul Eggert2014-01-251-0/+6
| | | | | | | * fileio.c (Finsert_file_contents): Set CODING_MODE_LAST_BLOCK before invoking decode_coding_gap, since there's just one block. Fixes: debbugs:16286
* Fix handling of face attributes in Fx_create_frame (Bug#16529).Martin Rudalics2014-01-251-0/+7
| | | | | | * w32fns.c (Fx_create_frame): Don't inhibit running Lisp code too early. Again run change_frame_size before assigning menu- and tool-bar-lines.
* Fix bug #16517 with display change on MS-Windows while in full-screen mode.Fabrice Popineau2014-01-251-0/+6
| | | | | | src/w32term.c (w32_read_socket): When the WM_DISPLAYCHANGE message arrives, call x_check_fullscreen, in case the new display has a different resolution.
* Fix bug #16479 with client connections while TTY menu is open.Eli Zaretskii2014-01-251-0/+7
| | | | | | | src/term.c (read_menu_input): If the selected frame changes, exit the menu. (tty_menu_show): If the selected frame changes while we displayed a menu, throw to top level.
* * src/eval.c (Fsignal): Fix `debug' handling to match 2013-10-03 change.Stefan Monnier2014-01-241-0/+4
|
* Fix bool-vector-count-population bug on MinGW64.Paul Eggert2014-01-241-0/+6
| | | | | | | * data.c (count_one_bits_word): Fix bug (negated comparison) when BITS_PER_ULL < BITS_PER_BITS_WORD. Fixes: debbugs:16535
* * xdisp.c (reseat_1, Fcurrent_bidi_paragraph_direction): AvoidDmitry Antipov2014-01-241-0/+7
| | | | | | undefined behavior by initializing display property bit of a string processed by the bidirectional iterator. For details, see <http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01920.html>.
* Minor cleanup of previous change.Paul Eggert2014-01-231-0/+6
| | | | | * image.c (imagemagick_error, Fimagemagick_types): Omit some recently-introduced and unnecessary casts and assignments.
* Fix two memory leaks discovered with Valgrind.Dmitry Antipov2014-01-231-0/+6
| | | | | * ftfont.c (ftfont_list) [HAVE_LIBOTF]: Call OTF_close. * image.c (Fimagemagick_types): Call MagickRelinquishMemory.
* Fixes in window size functions around Bug#16430 and Bug#16470.Martin Rudalics2014-01-221-0/+13
| | | | | | | | | | | | | | | | | | | * window.c (Fwindow_pixel_width, Fwindow_pixel_height) (Fwindow_mode_line_height, Fwindow_header_line_height) (Fwindow_right_divider_width, Fwindow_bottom_divider_width): Minor doc-string adjustments. (Fwindow_total_height, Fwindow_total_width): New argument ROUND. Rewrite doc-strings. (window_body_height, window_body_width): Do not count partially visible lines/columns when PIXELWISE is nil (Bug#16470). (Qfloor, Qceiling): New symbols. * window.el (window-total-size, window-size): New argument ROUND. (window--min-delta-1, window-min-delta, window--max-delta-1): Be more conservative when calculating the numbers of lines or columns a window can shrink (Bug#16430). (fit-window-to-buffer): Simplify code. * term.el (term-window-width): Call window-body-width again.
* Fix bug #16509 with segfault in an assertion when exiting due to missing font.Eli Zaretskii2014-01-211-0/+5
| | | | | src/w32fns.c (unwind_create_frame): Avoid crashing inside assertion when the image cache is not yet allocated.
* * buffer.c (Fkill_buffer): When killing an indirect buffer,Dmitry Antipov2014-01-211-0/+7
| | | | | | re-attach intervals to its base buffer (Bug#16502). * intervals.c (set_interval_object): Move from here... * intervals.h (set_interval_object): ... to here. Fix comments.
* Fix spelling of "GNUstep"Glenn Morris2014-01-201-12/+12
|
* Apply previous change even if valgrind is not in use, since it avoids ↵Paul Eggert2014-01-201-5/+2
| | | | undefined behavior. This is simpler.
* Pacify valgrind by initializing buffer redisplay bit.Paul Eggert2014-01-201-0/+8
| | | | | | | | | Problem reported by Dmitry Antipov in <http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01756.html>. * alloc.c (USE_VALGRIND): Move this to ... * conf_post.h (USE_VALGRIND): ... here. Use booleans. * buffer.c (Fget_buffer_create): Initialize redisplay bit to pacify valgrind.
* Revert some of the CANNOT_DUMP fix.Paul Eggert2014-01-191-0/+5
| | | | | | | | | | Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes, but fixing this can wait until after the next release. * leim/Makefile.in (RUN_EMACS): Keep EMACSLOADPATH empty. * lisp/Makefile.in (emacs): Keep EMACSLOADPATH empty. * src/lread.c (init_lread): Fix typo: NILP, not !NILP. Fixes: debbugs:16494
* Fix Cygwin w32 build broken by last commit in w32font.c.Eli Zaretskii2014-01-191-0/+10
| | | | | | | | | | src/w32font.c (w32_load_unicows_or_gdi32, get_outline_metrics_w) (get_text_metrics_w, get_glyph_outline_w, get_char_width_32_w) [!WINDOWSNT]: These functions are no longer compiled on Cygwin; they are replaced by macros that expand into direct calls to the corresponding functions from GDI32.DLL. (globals_of_w32font) [WINDOWSNT]: Don't initialize g_b_* static variables in the Cygwin build, they are unused.
* composite.c (composition_update_it): Fix previous change.Kenichi Handa2014-01-191-0/+4
|
* Fix file name handling on MS-Windows 9X.Eli Zaretskii2014-01-181-0/+17
| | | | | | | | | | | | | | | | | src/w32.c (maybe_load_unicows_dll): New function. src/emacs.c (main) [WINDOWSNT]: Call maybe_load_unicows_dll early on, to make sure we can convert file names to and from UTF-8 on Windows 9X. This fixes a failure to start up because Emacs cannot find term/w32-win.el. Reported by oslsachem <oslsachem@gmail.com>. src/w32font.c [WINDOWSNT]: Include w32.h. (w32_load_unicows_or_gdi32): Call maybe_load_unicows_dll, instead of implementing the same stuff. Remove now unused g_b_init_is_windows_9x. src/w32.h (maybe_load_unicows_dll): Add prototype. nt/runemacs.c (ensure_unicows_dll): Don't tell in the message box that "emacs -nw" can do without UNICOWS.DLL on Windows 9X. See w32.c:maybe_load_unicows_dll and its callers for the reason.
* ChangeLog and Author: header comment fixesGlenn Morris2014-01-171-1/+1
|
* Provisional fix for bug #16479 with client connecting while in a TTY menu.Eli Zaretskii2014-01-171-0/+7
| | | | | | src/menu.c (Fx_popup_menu): When invoking tty_menu_show, temporarily switch to single keyboard. Prevents daemon crashes when a new client connects while we show a TTY menu in an existing client.
* src/ChangeLog: Fix typos.Eli Zaretskii2014-01-151-2/+2
|
* ChangeLog fixesGlenn Morris2014-01-141-2/+1
|
* Fix MinGW64 porting problem with _setjmp.Paul Eggert2014-01-131-0/+8
| | | | | | | Reported by Eli Zaretskii in: http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01297.html * image.c (FAST_SETJMP, FAST_LONGJMP): New macros, replacing the old _setjmp and _longjmp. All uses changed.
* Correctly handle reaching the end of the interval tree. (Bug#15344)Daniel Colascione2014-01-131-0/+5
|\
* | Fix bug when resizing mini window (Bug#16424).Martin Rudalics2014-01-131-0/+6
| | | | | | | | | | | | * xdisp.c (resize_mini_window): Round height to a multiple of frame's line height. Fix bug in calculation of window start position (Bug#16424).
* | * macfont.m: Include termchar.h.Jan Djärv2014-01-131-0/+10
|/ | | | | | | | | | | (CG_SET_FILL_COLOR_WITH_FACE_FOREGROUND) (CG_SET_FILL_COLOR_WITH_FACE_BACKGROUND) (CG_SET_STROKE_COLOR_WITH_FACE_FOREGROUND): Modified from *_WITH_GC_* to take face and f as parameters. (macfont_draw): Check for DRAW_MOUSE_FACE and set face accordingly. Use *_WITH_FACE_*, and pass face as parameter. Fixes: debbugs:16425
* Make GTK+ menus work correctly with the Unity global menuDaniel Colascione2014-01-121-0/+16
|\
| * Fix changelogDaniel Colascione2014-01-121-0/+3
| |
| * Make GTK+ menus work correctly with Unity global menuDaniel Colascione2014-01-121-0/+13
| |
* | composite.c (composition_update_it): Fix indexing of LGSTRING_CHAR (Bug#15984).Kenichi Handa2014-01-131-0/+5
| |
* | Fix minor build problems related to MinGW64.Fabrice Popineau2014-01-111-0/+4
| | | | | | | | | | | | | | | | | | configure.ac: Read $srcdir/nt/mingw-cfg.site when $MSYSTEM is "MINGW64" as well. nt/inc/ms-w32.h (pthread_sigmask): Undefine if defined, for MinGW64. src/unexw32.c (_start) [__MINGW64__]: Define to __start.
* | Fix bug #16347 with updating redisplay of company-mode's "tooltip".Eli Zaretskii2014-01-111-0/+7
| | | | | | | | | | | | | | src/xdisp.c (try_window_id): Don't use this function's optimizations if overlays in the buffer displayed by the window have changed since last redisplay. (message_dolog): Fix indentation.
* | Fix doc-string of frame_resize_pixelwise.Martin Rudalics2014-01-111-0/+4
| | | | | | | | * frame.c (frame_resize_pixelwise): Fix doc-string.
* | Fix handling of internal borders (Bug#16348).Martin Rudalics2014-01-111-0/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * dispnew.c (adjust_frame_glyphs_for_window_redisplay): Remove internal border width from pixel width of windows. (change_frame_size_1): Don't return early when frame's pixel size changes - we still have to record the new sizes in the frame structure. * w32fns.c (x_set_tool_bar_lines): Clear internal border width also when toolbar gets larger. * window.c (check_frame_size): Include internal_border_width in check. * xdisp.c (Ftool_bar_height): Fix doc-string typo. * xfns.c (x_set_menu_bar_lines, x_set_tool_bar_lines): In non-toolkit/non-GTK version clear internal border. * xterm.c (x_clear_under_internal_border): New function for non-toolkit/non-GTK version. (x_after_update_window_line): In non-toolkit/non-GTK version don't do that. (handle_one_xevent, x_set_window_size): Call x_clear_under_internal_border in non-toolkit/non-GTK version. * xterm.h (x_clear_under_internal_border): Extern it.
* | ChangeLog fixesGlenn Morris2014-01-101-11/+11
|/
* Fix misdisplay of interlaced GIFs with libgif5.Paul Eggert2014-01-071-0/+6
| | | | | | | * image.c (gif_load): libgif5 deinterlaces for us, so don't do it again. Fixes: debbugs:16372
* Fix bug #16129 with slow and incorrect redisplay in follow-mode.Eli Zaretskii2014-01-061-0/+5
| | | | | src/xdisp.c (redisplay_window): Don't skip window redisplay if the last value of point is not equal to buffer's point.
* Spelling fixes.Paul Eggert2014-01-041-0/+4
| | | | | | | | * lib-src/Makefile.in (regex.o): Remove reference to no-longer-used macros CONFIG_BROKETS and INHIBIT_STRING_HEADER. "BROKETS" was a misspelling anyway.... * src/nsterm.h (updateCollectionBehavior): Rename from updateCollectionBehaviour. All uses changed.
* Port to GNU/Linux with recent grsecurity/PaX patches (Bug#16343).Paul Eggert2014-01-041-0/+6
| | | | | | | | Problem and proposed patch reported by Ulrich Mueller; this patch uses a somewhat-different approach. * configure.ac (SETFATTR): New variable. * src/Makefile.in (SETFATTR): New macro. (temacs$(EXEEXT)): Use it.
* Fix maximization behavior on Windows (Bug#16300).Martin Rudalics2014-01-041-0/+10
| | | | | | | | | | Fix maximization behavior on Windows (Bug#16300). * w32fns.c (w32_fullscreen_rect): Don't handle FULLSCREEN_MAXIMIZED and FULLSCREEN_NONE specially. * w32term.c (w32fullscreen_hook): Use SetWindowPlacement instead of SetWindowPos. Restore last placement also when leaving FULLSCREEN_HEIGHT and FULLSCREEN_WIDTH. Call ShowWindow in all but the FULLSCREEN_BOTH case.
* Port to C89.Paul Eggert2014-01-021-0/+14
| | | | | | | | | | | | | * data.c (arithcompare_driver): * fileio.c (Fcar_less_than_car): * fns.c (internal_equal): * frame.c (delete_frame): * lisp.h (enum More_Lisp_Bits): * lread.c (read1): Avoid C99 constructs that don't work in C89. * data.c (ULL_MAX, count_trailing_zeros_ll): New macros, to port to C89, which doesn't have 'long long'. (count_trailing_zero_bits): Use them.
* Remove the dynamic-docstring-function feature.Chong Yidong2014-01-031-0/+4
| | | | | | | | | | | | | | | | | | | | | | | * emacs-lisp/advice.el (ad--make-advised-docstring): Change args. Ignore function-documentation property when getting documentation. (ad-activate-advised-definition): Use function-documentation generate the docstring. (ad-make-advised-definition): Don't call ad-make-advised-definition-docstring. (ad-make-advised-definition-docstring, ad-advised-definition-p): Delete functions. * emacs-lisp/nadvice.el (advice--make-docstring): Change args. (advice--docstring): Delete variable. (advice--make-1): Leave the docstring empty. (advice-add): Use function-documentation for advised docstring. * progmodes/sql.el (sql-help): Use function-documentation instead of dynamic-docstring-function property. No need to autoload now. (sql--help-docstring): New variable. (sql--make-help-docstring): Use it. * doc.c (Fdocumentation): Remove dynamic-docstring-function.