aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* | Merge from emacs-24; up to 2014-03-23T23:14:52Z!yamaoka@jpl.orgJuanma Barranquero2014-03-261-0/+58
|\ \ | |/
| * Fix core dump in char-equal.Paul Eggert2014-03-251-0/+5
| | | | | | | | | | | | | | | | * editfns.c (Fchar_equal): Do not use MAKE_CHAR_MULTIBYTE in unibyte buffers, as we can't tell whether the characters are actually unibyte. Fixes: debbugs:17011
| * * insdel.c (adjust_markers_for_delete): Remove unused local.Paul Eggert2014-03-251-0/+4
| |
| * Undo in region after markers in undo history relocatedBarry O'Reilly2014-03-241-0/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * simple.el (primitive-undo): Only process marker adjustments validated against their corresponding (TEXT . POS). Issue warning for lone marker adjustments in undo history. (Bug#16818) (undo-make-selective-list): Add marker adjustments to selective undo list based on whether their corresponding (TEXT . POS) is in the region. Remove variable adjusted-markers, which was unused and only non nil during undo-make-selective-list. (undo-elt-in-region): Return nil when passed a marker adjustment and explain in function doc. Have (MARKER . ADJUSTMENT) undo records always be immediately after their corresponding (TEXT . POS) record in undo list. (Bug#16818) * lisp.h (record-delete): New arg record_markers. (record_marker_adjustment): No longer needed outside undo.c. * insdel.c (adjust_markers_for_delete): Move calculation of marker adjustments to undo.c's record_marker_adjustments. Note that fileio.c's decide_coding_unwind is another caller to adjust_markers_for_delete. Because it has undo list bound to t, it does not rely on adjust_markers_for_delete to record marker adjustments. (del_range_2): Swap call to record_delete and adjust_markers_for_delete so as undo marker adjustments are recorded before current deletion's adjustments, as before. (adjust_after_replace): (replace_range): Pass value for new record_markers arg to delete_record. * undo.c (record_marker_adjustment): Renamed to record_marker_adjustments and made static. (record_delete): Check record_markers arg and call record_marker_adjustments. (record_change): Pass value for new record_markers arg to delete_record. (record_point): at_boundary calculation no longer needs to account for marker adjustments. * undo-tests.el (undo-test-marker-adjustment-nominal): (undo-test-region-t-marker): New tests of marker adjustments. (undo-test-marker-adjustment-moved): (undo-test-region-mark-adjustment): New tests to demonstrate bug#16818, which fail without the fix. * markers.texi (Moving Marker Positions): The 2014-03-02 doc change mentioning undo's inability to handle relocated markers no longer applies. See bug#16818. * text.texi (Undo): Expand documentation of (TEXT . POS) and (MARKER . ADJUSTMENT) undo elements.
| * Refine previous fix of x_set_window_size to handle Bug#17077.Martin Rudalics2014-03-241-0/+5
| | | | | | | | | | * w32term.c (x_set_window_size): Refine fix from 2014-03-14 (Bug#17077).
| * * src/fileio.c (Ffile_symlink_p): Doc fix.Glenn Morris2014-03-231-0/+4
| | | | | | | | Fixes: debbugs:17073
| * * lisp/simple.el (redisplay-highlight-region-function): Increase priority ofStefan Monnier2014-03-231-0/+6
| | | | | | | | | | | | | | | | | | overlay to make sure boundaries are visible. * src/buffer.c (struct sortvec): Add field `spriority'. (compare_overlays): Use it. (sort_overlays): Set it. Fixes: debbugs:15899
| * Fix ChangeLog entry of last commit.Eli Zaretskii2014-03-231-1/+1
| |
| * Fix bug #17047 with cursor motion when invisible text starts a line.Eli Zaretskii2014-03-231-0/+6
| | | | | | | | | | | | src/xdisp.c (redisplay_window): If all previous attempts to find the cursor row failed, try a few alternatives before falling back to the top-most row of the window. Use row_containing_pos.
| * Backport memory fix (2014-03-22T03:04:53Z!dancol@dancol.org) from trunkDaniel Colascione2014-03-221-0/+6
| |
| * Backport memory fix (2014-03-23T05:15:48Z!dancol@dancol.org) from trunkDaniel Colascione2014-03-221-0/+5
| |
* | src/*.c: Silence a few warnings about unused vars and functions.Juanma Barranquero2014-03-261-0/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/image.c (x_bitmap_height, x_bitmap_width) [HAVE_X_WINDOWS]: * src/sysdep.c (reset_sigio) [!DOS_NT]: Declare conditionally. * src/keyboard.c (read_decoded_event_from_main_queue): #ifdef out variables on Windows. * src/w32.c (unsetenv): Remove unused var `retval'. (emacs_gnutls_pull): Remove unused vars `fdset' and `timeout'. * src/w32fns.c (Ffile_system_info): Use parenthesis in and/or expression. * src/w32notify.c (watch_worker): Remove unnecesary var sleep_result. (start_watching): Remove unused var `thr'. * src/w32proc.c (sys_spawnve): Comment out unused vars `first', `last'. (find_child_console): Remove unnecesary var `thread_id'. * src/w32term.c (w32_read_socket): Comment out unused vars `row', `columns'. (x_focus_frame): #ifdef 0 unused variable `dpyinfo'.
* | Doc tweaks related to file lockingGlenn Morris2014-03-251-0/+2
| | | | | | | | | | | | * doc/lispref/files.texi (File Locks): All systems support locking. * src/filelock.c (Flock_buffer): Doc tweak.
* | Remove the build-time option CLASH_DETECTIONGlenn Morris2014-03-251-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Every platform supports it, and the runtime option `create-lockfiles' replaces it. * configure.ac (CLASH_DETECTION): Remove option. * lisp/files.el (lock-buffer, unlock-buffer, file-locked-p): Remove fallback aliases, since they are always defined now. * src/buffer.c (Frestore_buffer_modified_p, Fkill_buffer): * src/emacs.c (shut_down_emacs): * src/fileio.c (Finsert_file_contents, write_region): * src/filelock.c (top-level, syms_of_filelock): * src/insdel.c (prepare_to_modify_buffer_1): CLASH_DETECTION is always defined now. * admin/CPP-DEFINES: Remove CLASH_DETECTION.
* | Speed up thread startup on MS-Windows.Eli Zaretskii2014-03-251-0/+5
| | | | | | | | | | src/w32.c (w32_delayed_load): Call DisableThreadLibraryCalls on the DLL handle, to speed up thread startup.
* | Handle sigmask better with nested signal handlers.Paul Eggert2014-03-251-0/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * atimer.c (sigmask_atimers): Remove. Remaining use rewritten to use body of this function. * atimer.c (block_atimers, unblock_atimers): * callproc.c (block_child_signal, unblock_child_signal): * sysdep.c (block_tty_out_signal, unblock_tty_out_signal): New arg OLDSET. All callers changed. * atimer.c (block_atimers, unblock_atimers): * callproc.c (block_child_signal, unblock_child_signal): * keyboard.c (handle_interrupt): * sound.c (vox_configure, vox_close): Restore the old signal mask rather than unilaterally clearing bits from the mask, in case a handler is running within another handler. All callers changed. * lisp.h, process.c, process.h, term.c: Adjust decls and callers to match new API. * sysdep.c (emacs_sigaction_init): Don't worry about masking SIGFPE; signal handlers aren't supposed to use floating point anyway. (handle_arith_signal): Unblock just SIGFPE rather than clearing mask. Fixes: debbugs:15561
* | Clean up gc_sweepDaniel Colascione2014-03-231-0/+13
|\ \
* | | src/w32fns.c (Fw32_shell_execute): Declare `result' only on Cygwin.Juanma Barranquero2014-03-231-0/+4
|/ /
* | Further improve XIM initDaniel Colascione2014-03-231-1/+6
|\ \
| * | Further improve create_frame_xic patchDaniel Colascione2014-03-231-1/+2
|/ /
* | Improve XIC fixDaniel Colascione2014-03-231-2/+3
| |
* | Work around flaky XIM modulesDaniel Colascione2014-03-231-0/+5
| |
* | Improve init_tty readabilityDaniel Colascione2014-03-231-0/+5
| |
* | Don't underflow datagram_address arrayDaniel Colascione2014-03-221-0/+5
| |
* | Make some files in etc obsoleteGlenn Morris2014-03-221-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These are old copies of online information that is not Emacs-specific. * etc/CENSORSHIP, etc/GNU, etc/LINUX-GNU, etc/THE-GNU-PROJECT, etc/WHY-FREE: Replace contents with pointers to www.gnu.org or emacs.info, mark obsolete. * src/callproc.c (init_callproc): In etc, look for NEWS rather than GNU. * lisp/startup.el (fancy-startup-text): * lisp/help.el (describe-gnu-project): Visit online info about GNU project. * doc/emacs/help.texi (Help Files): Update C-h g description. * doc/misc/efaq.texi (Informational files for Emacs): Do not mention etc/GNU. * admin/notes/copyright: Remove references to these files. * etc/MACHINES, etc/NEWS.19: Replace references to these files.
* | Do not read uninitialized memory in conv_sockaddr_to_lispDaniel Colascione2014-03-211-0/+6
|\ \
| * | Do not read unitialized memory in conv_sockaddr_to_lispDaniel Colascione2014-03-211-0/+6
| | |
* | | Merge from emacs-24; up to 2014-03-21T08:51:02Z!eliz@gnu.orgGlenn Morris2014-03-211-0/+12
|\ \ \ | | |/ | |/|
| * | Fix regression introduced by patch for Bug#10500.YAMAMOTO Mitsuharu2014-03-211-0/+6
| | | | | | | | | | | | | | | * xterm.c (x_draw_image_relief): Respect Vtool_bar_button_margin. * w32term.c (x_draw_image_relief): Likewise.
| * | Truly maximize w32 frames with odd fonts and some texi fixes.Martin Rudalics2014-03-211-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * w32fns.c (w32_wnd_proc): For WM_WINDOWPOSCHANGING don't constrain frame size in SW_SHOWMAXIMIZED case so we can truly maximize a frame for odd default fonts. * frames.texi (Size and Position): In `frame-resize-pixelwise' description drop remark about frame maximization. * windows.texi (Display Action Functions): Add description for `display-buffer-no-window' and explain use of `allow-no-window' alist entries.
| * | Backport doc.c fix from trunk.Paul Eggert2014-03-201-0/+4
| | | | | | | | | | | | * doc.c (store_function_docstring): Fix pointer signedness mismatch.
* | | Increase default history-length from 30 to 100Glenn Morris2014-03-211-0/+4
| |/ |/| | | | | | | | | | | | | Ref: http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg02008.html * lisp/cus-start.el (history-length): Bump :version. * src/minibuf.c (history-length): Increase default from 30 to 100.
* | Frame icon optimizationDaniel Colascione2014-03-211-0/+3
| |
* | Allow lisp allocation via mmap in dumped emacsDaniel Colascione2014-03-211-0/+6
| |
* | Extend and improve w32-shell-execute on MS-Windows.Eli Zaretskii2014-03-211-0/+5
| | | | | | | | | | src/w32fns.c (Fw32_shell_execute) [!CYGWIN]: Use ShellExecuteEx, to support more "verbs".
* | Do not allow a dumped Emacs to be dumpedDaniel Colascione2014-03-211-0/+9
| |
* | * doc.c (store_function_docstring): Fix pointer signedness mismatch.Paul Eggert2014-03-201-0/+4
|/
* * lisp/emacs-lisp/nadvice.el (advice--make-docstring): Try harder to findStefan Monnier2014-03-201-0/+6
| | | | | | | | | | | the docstring of functions advised before dumping. * src/doc.c (store_function_docstring): Warn when we don't know where to put a docstring. (Fsubstitute_command_keys): Don't advertise the fact that text-properties are dropped, since we think it's a bug that we'll fix in 24.5. Fixes: debbugs:16993
* * src/frame.h (SET_FRAME_VISIBLE): Keep frame_garbaged up to date.Stefan Monnier2014-03-201-4/+10
| | | | | * src/xterm.c (handle_one_xevent) <MapNotify>: Don't garbage the frame. * src/frame.c (frame_garbaged): Make "docstring" more precise.
* * src/charset.c (init_charset): When we cannot find the charsets directory,Glenn Morris2014-03-191-0/+5
| | | | mention if EMACSDATA is set.
* * fns.c (Frandom): Fix rare bug where the result isn't random.Paul Eggert2014-03-191-0/+2
|
* Fix porting inconsistency about rounding to even.Paul Eggert2014-03-191-0/+7
| | | | | | | | * doc/lispref/numbers.texi (Numeric Conversions, Rounding Operations): Document that 'round' and 'fround' round to even. * src/floatfns.c (emacs_rint) [!HAVE_RINT]: Round to even. This way, the unusual !HAVE_RINT case acts like the usual HAVE_RINT case, and we can fix the documentation accordingly.
* Fix minor memory-related problems on MS-Windows revealed by Dr. Memory.Eli Zaretskii2014-03-191-0/+6
| | | | | | src/w32fns.c (reset_modifiers): Zero out keystate[] before using it. (w32_wnd_proc): Initialize the dwHoverTime member of TRACKMOUSEEVENT structure.
* gnutls.c (Fgnutls_boot): Fix case of :verify-error = t.Ted Zlatanov2014-03-171-0/+4
|
* src/ChangeLog: Fix a typo in last commit.Eli Zaretskii2014-03-161-1/+1
|
* Fix bug #16830 with slow search for newlines in forward-line.Eli Zaretskii2014-03-161-0/+6
| | | | | | src/search.c (find_newline): Speed up the function when using the newline cache, by halving the number of calls to region_cache_forward and region_cache_backward.
* src/buffer.c (Fset_buffer): Document return value (bug#17015).Juanma Barranquero2014-03-151-0/+4
|
* Document pixelwise frame resizing and fix related bug on Windows.Martin Rudalics2014-03-141-0/+6
| | | | | | | | | | | * w32term.c (x_set_window_size): When frame-resize-pixelwise is nil, always resize character wise to avoid potential loss of the mode line (Bug#16923 related). * display.texi (Temporary Displays): Say that with-temp-buffer-window makes its buffer current. * frames.texi (Size and Position): Describe new option `frame-resize-pixelwise'. Rewrite descriptions of `set-frame-size', `set-frame-height' and `set-frame-width'.
* Two adjustments in window/frame resizing.Martin Rudalics2014-03-121-0/+5
| | | | | | | * frame.c (x_set_frame_parameters): Always calculate new sizes pixelwise to avoid potential loss when rounding. * window.el (fit-frame-to-buffer): Get maximum width from display's width instead of height.
* * xfns.c (x_set_mouse_color): Recolor vertical_drag_cursor.Dmitry Antipov2014-03-111-0/+5
| | | | * xterm.c (x_free_frame_resources): Free all allocated cursors.