aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog (follow)
Commit message (Collapse)AuthorAgeFilesLines
* ChangeLog fixGlenn Morris2014-06-251-1/+1
|
* * src/puresize.h (BASE_PURESIZE): Bump by another 1K.Glenn Morris2014-06-251-0/+4
| | | | Fixes: debbugs:17846
* Fix bug #17823 with vertical-motion in lines with line-prefix.Eli Zaretskii2014-06-211-0/+4
| | | | | | | src/indent.c (Fvertical_motion): Move to the goal column, if any, with a single call to move_it_in_display_line, not in two calls. Doing this with two calls causes move_it_in_display_line apply the line-prefix handling twice instead of just once.
* Improve documentation of how vertical-motion interprets columns.Eli Zaretskii2014-06-211-0/+4
| | | | | | | src/indent.c (Fvertical_motion): Doc fix. doc/lispref/positions.texi (Screen Lines): Clarify how columns are counted by vertical-motion.
* Port to OS X ACLs.Paul Eggert2014-06-211-0/+6
| | | | | | | * fileio.c (Ffile_acl): Port to OS X, where acl_get_file (..., ACL_TYPE_ACCESS) doesn't work. Fixes: debbugs:17810
* * src/keyboard.c (read_key_sequence): Don't invoke Vprefix_help_commandStefan Monnier2014-06-181-0/+5
| | | | | | before checking key-translation-map. Fixes: debbugs:17659
* * font.c (font_make_object): Avoid dangling pointer which mayDmitry Antipov2014-06-191-0/+5
| | | | crash GC (Bug#17771).
* Fix bug #17790 with compilation against giflib 5.1.0 and later.Eli Zaretskii2014-06-181-0/+10
| | | | | | | | | | | | | src/image.c [5 < GIFLIB_MAJOR + (1 <= GIFLIB_MINOR)]: Declare the prototype of DGifCloseFile as appropriate for older and newer versions of giflib. (gif_close): New function, encapsulates the differences in the calling sequence of DGifCloseFile before v5.1.0 and after it. (gif_load): Call gif_close instead of DGifCloseFile. Divulge the error string where appropriate. lisp/term/w32-win.el (dynamic-library-alist): Support giflib 5.1.0 and later.
* A better fix for bug #17777 with visual-order cursor movement.Eli Zaretskii2014-06-161-0/+7
| | | | | | | src/xdisp.c (Fmove_point_visually): Instead of testing for keyboard macro execution, make sure point didn't move since last complete redisplay, as the condition for using the glyph matrix information.
* Fix bug #17777 with keyboard macros and visual-order cursor movement.Eli Zaretskii2014-06-141-0/+7
| | | | | | | src/xdisp.c (Fmove_point_visually): Don't use the glyph matrix information if we are in the middle of executing a keyboard macro, since redisplay doesn't update the screen until the macro is finished.
* Attempt to fix bug #17771 with segfault if "C-h h" is interrupted.Eli Zaretskii2014-06-131-0/+5
| | | | | src/alloc.c (cleanup_vector): Don't dereference a font driver pointer if it is NULL.
* Fix bug #17744 with cursor motion near overlay string with 'cursor' prop.Eli Zaretskii2014-06-111-0/+6
| | | | | | src/xdisp.c (set_cursor_from_row): Fix an off-by-one error when matching overlay strings with 'cursor' property against buffer positions traversed in the glyph row.
* * src/fileio.c (write-region-inhibit-fsync): Doc tweak.Glenn Morris2014-06-071-0/+2
|
* Doc tweaks re < etcGlenn Morris2014-06-071-0/+4
| | | | | | * doc/lispref/numbers.texi (Comparison of Numbers): Copyedits. * src/data.c (Flss, Fgtr, Fleq, Fgeq): Doc tweaks.
* Fix infloop of -nw session at exit on MS-Windows under a debugger.Eli Zaretskii2014-06-041-0/+4
| | | | | | src/sysdep.c (reset_sys_modes): Use cursorX, not curX, as the latter contains garbage on WINDOWSNT (which could potentially infloop at exit).
* Attempt to solve bug #17497 by minimizing cursor motion during TTY menu updates.Eli Zaretskii2014-06-041-0/+20
| | | | | | | | | | | | | | | | | src/term.c (tty_menu_display): Don't position cursor here. Instead, pass the cursor coordinates to update_frame_with_menu. (tty_menu_activate): Send the hide cursor command only once in an iteration through the outer 'while' loop. src/dispnew.c (update_frame_1): Accept an additional argument SET_CURSOR_P, and position the cursor at the end of the frame update only if that argument is non-zero. All callers changed to provide the additional argument as non-zero, except for update_frame_with_menu. (update_frame_with_menu): Accept 2 additional arguments ROW and COL; if they are non-negative, instruct update_frame_1 not to position the cursor, and instead position it according to ROW and COL. src/dispextern.h (update_frame_with_menu): Update prototype.
* * src/callproc.c (call_process): Don't check read-only if we don't insertStefan Monnier2014-06-021-0/+5
| | | | | | anything. Fixes: debbugs:17666
* src/dispnew.c (update_frame_with_menu): Set display_completed.Eli Zaretskii2014-06-021-0/+4
|
* * frame.c (x_set_frame_parameters): Don't read uninitialized storage.Paul Eggert2014-06-011-0/+4
|
* Make jump scroll work with Gtk+Jan Djärv2014-06-011-0/+5
| | | | | * xterm.c (xg_scroll_callback): Remove position, for jump set portion to min(value, whole).
* Bring back the changes to GDB-visible symbols, but only on AIX.Paul Eggert2014-06-011-0/+9
| | | | | | | | And only if it's not pre-4.2 GCC. * lisp.h (ENUMABLE, DEFINE_GDB_SYMBOL_ENUM): New macros. (ARRAY_MARK_FLAG, PSEUDOVECTOR_FLAG, VALMASK): Use them. (ARRAY_MARK_FLAG_val, PSEUDOVECTOR_FLAG_val, VALMASK_val): New macros.
* Hopefully fix bug #16433 with corruption of newline_cache in Rmail.Eli Zaretskii2014-05-311-0/+3
| | | | | src/fileio.c (Finsert_file_contents): Call prepare_to_modify_buffer with PT, not GPT.
* Revert revision 2014-05-27T17:31:17Z!eliz@gnu.org, as it breaks debugging ↵Eli Zaretskii2014-05-311-0/+8
| | | | | | | | | | with GCC 3.x. Revert last changes to GDB-visible symbols. src/lisp.h (ENUMABLE, DEFINE_GDB_SYMBOL_ENUM): Delete macros. (ARRAY_MARK_FLAG, PSEUDOVECTOR_FLAG, VALMASK): Don't use them. (ARRAY_MARK_FLAG_val, PSEUDOVECTOR_FLAG_val, VALMASK_val): Delete macros.
* * src/cmds.c (Fself_insert_command): Allow zero repeat count.Glenn Morris2014-05-301-0/+4
| | | | Fixes: debbugs:17649
* Fix port to 32-bit AIX with xlc.Paul Eggert2014-05-301-0/+8
| | | | | | | | | | | | | This doesn't fix Bug#17598, but it does fix a regression since Emacs built with xlc until recently, and perhaps it'll help us fix Bug#17598. * configure.ac (GC_SETJMP_WORKS): Define for AIX, too. Merge from gnulib, incorporating: 2014-05-30 ftoastr: work around compiler bug in IBM xlc 12.1 * lib/ftoastr.c: Update from gnulib. * src/alloc.c (gdb_make_enums_visible): Remove FLOAT_TO_STRING_BUFSIZE. * src/conf_post.h (FLEXIBLE_ARRAY_MEMBER) [__IBMC__]: Don't define to empty. * src/lisp.h (FLOAT_TO_STRING_BUFSIZE): Make it a macro, instead of an enum, to work around a compiler bug in IBM xlc 12.1.
* Fix bug #17588 with mouse highlight when an X frame is redisplayed frequently.Eli Zaretskii2014-05-291-0/+6
| | | | | | src/xterm.c (x_update_window_end): Don't invalidate the entire mouse-highlight info, just signal frame_up_to_date_hook that mouse highlight needs to be redisplayed.
* Port the GDB-visible symbols to AIX.Paul Eggert2014-05-281-0/+11
| | | | | | | | | | Without them, GDB doesn't work to debug Emacs, since the AIX linker optimizes away the relevant external symbols. Use enums instead; this suffices for the AIX port, which is 32-bit-only anyway. * lisp.h (ENUMABLE, DEFINE_GDB_SYMBOL_ENUM): New macros. (ARRAY_MARK_FLAG, PSEUDOVECTOR_FLAG, VALMASK): Use them. (ARRAY_MARK_FLAG_val, PSEUDOVECTOR_FLAG_val, VALMASK_val): New macros.
* Include sources used to create macuvs.h.Paul Eggert2014-05-261-0/+6
| | | | | | | | | | | | | | | | | * admin/unidata/IVD_Sequences.txt: New file. * admin/unidata/Makefile.in (${top_srcdir}/src/macuvs.h): New rule. (all): Build it. (extraclean): Remove it. * admin/unidata/README: Mention BidiMirroring.txt and IVD_Sequences.txt. * admin/unidata/copyright.html: Update to current version from Unicode Consortium. * admin/unidata/uvs.el: Rename from admin/mac/uvs.el. (uvs-print-table-ivd): Output a header in the form that unidata-gen.el generates. * lisp/international/README: Refer to the Unicode Terms of Use rather than copying it bodily here, as that simplifies maintenance. * src/Makefile.in ($(srcdir)/macuvs.h): New rule. * src/macuvs.h: Use automatically-generated header.
* Fix bug #17585 with incorrect vertical motion when linum-mode is on.Eli Zaretskii2014-05-251-0/+6
| | | | | | src/xdisp.c (move_it_in_display_line_to): Don't record wrap position if we are iterating over an object that generates glyphs for marginal areas.
* * xdisp.c (safe__call1, safe__eval): Now static.Paul Eggert2014-05-241-0/+4
|
* Fix last commits in xdisp.c, which caused a crash at startup on w32.Eli Zaretskii2014-05-241-0/+6
| | | | | | | | src/xdisp.c (safe__call): Accept va_list argument instead of '...'. (safe_call, safe__call1): Construct a va_list argument for safe_call. (safe_call1): Call safe_call instead of safe__call directly. Fixes: debbugs:17577
* Fix bug#17510 with a pointer freed more than once (Cygwin-w32-build).Ken Brown2014-05-241-0/+6
| | | | | | * src/w32term.c (x_delete_display) [CYGWIN]: Don't free dpyinfo->w32_id_name, to make sure it doesn't get freed more than once.
* * src/xdisp.c: Bind inhibit-quit during pre-redisplay-function.Stefan Monnier2014-05-241-0/+8
| | | | | | | | | (safe__call, safe__call1, safe__eval): New functions. (safe_call): Use it. (prepare_menu_bars): Use it for pre-redisplay-function. (display_mode_element): Same for `:eval'. Fixes: debbugs:17577
* Fix port to 32-bit AIX.Paul Eggert2014-05-211-0/+7
| | | | | | | | | | * configure.ac (opsys): On Power Architecture, treat release 7 of AIX like releases 5 and 6. * src/unexaix.c (copy_text_and_data): Don't add text_scnptr to ptr twice. _text already includes this offset. (unrelocate_symbols): Don't cast 64-bit integer to pointer. Fixes: debbugs:17540
* Fix bug #17539 with infinite recursion during scroll commands.Eli Zaretskii2014-05-211-0/+6
| | | | | | src/xdisp.c (move_it_in_display_line_to): Avoid infinite recursion: when closest_pos is identical to to_charpos, don't recurse, since we already tried that, and failed.
* Fix bug #17524 with crashes in creating a new frame with invalid font.Eli Zaretskii2014-05-201-0/+8
| | | | | | | | src/w32fns.c (unwind_create_frame) [GLYPH_DEBUG]: If we are unwinding when frame's faces were not initialized yet, increment the frame's image-cache reference count before calling x_free_frame_resources. Don't dereference dpyinfo->terminal->image_cache if it is NULL.
* * src/fileio.c (Ffile_executable_p): Doc tweak.Glenn Morris2014-05-101-0/+4
|
* * xsettings.c (init_gsettings): Use g_settings_schema_source_lookupJan Djärv2014-05-101-0/+5
| | | | | | instead of deprecated g_settings_list_schemas if possible. Fixes: debbugs:17434
* * minibuf.c (read_minibuf): Avoid C99ism in previous patch.Paul Eggert2014-05-071-0/+4
| | | | Fixes: debbugs:17430
* Fix initialization of minibuffer history variable, bug #17430.Jarek Czekalski2014-05-071-0/+6
| | | | | * minibuf.c (read_minibuf): Initialize histval to Qnil if unbound. Move the initialization up to prevent any "value void" message.
* * src/keyboard.c (Frecursive_edit): Ensure inc&dec of command_loop_levelSamuel Bronson2014-05-061-0/+5
| | | | | | are matched. Fixes: debbugs:17413
* Fix tooltips pulling Emacs window to front on windows-nt, bug #17408.Jarek Czekalski2014-05-061-0/+6
| | | | | * w32fns.c (Fx_show_tip): Add SWP_NOOWNERZORDER flag to SetWindowPos invocations.
* * nsselect.m (Fx_selection_exists_p): Just return Qnil if window systemJan Djärv2014-05-051-0/+5
| | | | | | not initialized. Fixes: debbugs:17398
* Revert recent libpng changes.Paul Eggert2014-05-041-0/+6
| | | | | | | | | | | | They fix only bugs that aren't being reported, so it may be better to do them on the trunk. * configure.ac (PNG_CFLAGS): Remove. All uses removed. (LIBPNG): Don't be consistent about -lpng16 versus -lpng. Ignore libpng-config's exit status. Always append -lz -lm. * src/Makefile.in (PNG_CFLAGS): Remove; all uses removed. * src/image.c [HAVE_LIBPNG_PNG_H]: Include <libpng/png.h>, not <png.h>. Fixes: debbugs:17339
* Handle systems without WCONTINUED consistently.Paul Eggert2014-05-031-0/+7
| | | | | | | | | * lib-src/emacsclient.c (WCONTINUED): Move to ../src/syswait.h. * src/process.c (handle_child_signal): Remove WCONTINUED ifdef, because WCONTINUED is always defined now. * src/syswait.h (WCONTINUED): Move here from ../lib-src/emacsclient.c. Fixes: debbugs:15110 debbugs:17339
* Minor fixes for comments.Eli Zaretskii2014-05-031-0/+4
| | | | | | src/buffer.c (overlay_strings): Fix the wording of the commentary. lisp/mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
* Consult libpng-config more consistently.Paul Eggert2014-05-021-0/+8
| | | | | | | | | | | | | | | | * configure.ac (edit_cflags): Move this up and to the top level, so that PNG_CFLAGS can use it too. (PNG_CFLAGS): New var. (png_longjmp): Use PNG_CFLAGS when checking. (LIBPNG): Be consistent about -lpng16 etc; e.g., don't use -lpng16 in some places and -lpng in others. Test libpng-config's exit status. If it succeeds, use its output rather than appending -lz -lm. * src/Makefile.in (PNG_CFLAGS): New var. (ALL_CFLAGS): Use it. * src/image.c [HAVE_PNG]: Don't worry about <libpng/png.h>, as CFLAGS now handles this. Fixes: debbugs:17339
* Doc fixesGlenn Morris2014-05-011-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | * doc/misc/autotype.texi (Skeleton Language): * doc/misc/message.texi (Header Commands): * lisp/allout-widgets.el (allout-widgets-tally) (allout-decorate-item-guides): * lisp/menu-bar.el (menu-bar-positive-p): * lisp/minibuffer.el (completion-pcm-complete-word-inserts-delimiters): * lisp/cedet/ede.el (ede-project-directories, ede-check-project-directory): * lisp/cedet/semantic/ia-sb.el (semantic-ia-sb-show-doc): * lisp/cedet/semantic/tag.el (semantic-tag-in-buffer-p): * lisp/cedet/semantic/bovine/c.el (semantic-tag-abstract-p): * lisp/gnus/gnus-registry.el (gnus-registry-install-p): Doc fix. * lisp/progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number): * lisp/progmodes/js.el (js--inside-param-list-p) (js--inside-dojo-class-list-p, js--forward-destructuring-spec): * lisp/progmodes/prolog.el (region-exists-p): * lisp/progmodes/verilog-mode.el (verilog-scan-cache-ok-p): * lisp/textmodes/reftex-parse.el (reftex-using-biblatex-p): * lisp/url/url-parse.el (url-generic-parse-url): * src/floatfns.c (Fisnan): * src/profiler.c (Fprofiler_cpu_running_p): Doc fixes (replace `iff'). Fixes: debbugs:17309
* src/term.c (tty_menu_activate): A better initialization for cursor coordinates.Eli Zaretskii2014-05-011-0/+5
|
* * src/intervals.c: Tighten assertions.Stefan Monnier2014-05-011-0/+16
| | | | | | | | | | | | | | | (create_root_interval): Make sure the interval is not empty. (intervals_equal): Use booleans. (rotate_right, rotate_left): Check LENGTHs rather than TOTAL_LENGTH. (balance_an_interval): Sanity check LENGTHs and TOTAL_LENGTHs. (balance_possible_root_interval): Simplify and use booleans. (split_interval_right, split_interval_left): Check LENGTH, and remove now redundant assertion. (adjust_intervals_for_insertion): Remove now redundant assertions. (delete_node, interval_deletion_adjustment) (adjust_intervals_for_deletion, merge_interval_right) (merge_interval_left): Check LENGTH rather than TOTAL_LENGTH. (reproduce_interval): Make sure the interval is not empty.