aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Reset window_end_valid after some window changes (Bug#15957).Martin Rudalics2013-11-271-0/+5
| | | | | * window.c (Fset_window_start, window_resize_apply) (window_scroll): Reset window_end_valid (Bug#15957).
* Move runtime leim lisp files to lisp/leim directoryGlenn Morris2013-11-261-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This allows us to reuse much of the lisp build and installation machinery, rather than duplicating it. * Makefile.in (abs_builddir, leimdir): Remove. (buildlisppath, SUBDIR, COPYDIR, COPYDESTS): No more leim directory. (epaths-force-w32): No longer set BLD. (leim): Remove. (install-arch-indep): No longer run or install leim. (mostlyclean, clean): No longer run leim rule. (bootstrap-clean): Change leim target. (maintainer-clean): Add leim. (check-declare): Remove leim. * README: Update for leim changes. * configure.ac (leimdir): Remove. (standardlisppath): No more leimdir. * make-dist: Update for files from leim/ now being in lisp/leim/. * doc/lispref/loading.texi (Library Search): * doc/lispref/os.texi (Startup Summary): No more leim directory. * leim/Makefile.in (leimdir): New variable. (TIT_GB, TIT_BIG5, MISC, changed.tit, changed.misc) (${leimdir}/leim-list.el, ${leimdir}/ja-dic/ja-dic.el): Generate in $leimdir. (all): Remove compilation, add ja-dic. (leim-list.el): Now PHONY. (setwins, compile-targets, compile-main, clean, mostlyclean) (extraclean): Remove. (bootstrap-clean): Delete all generated files. * leim/README: Update for moved leim/ directory. * leim/leim-ext.el (ucs-input-activate, hangul-input-method-activate): Remove manual autoloads; now in loaddefs.el. Disable byte-compile, version-control, autoloads in the output. * lisp/Makefile.in (setwins_for_subdirs): Skip leim/ directory. (compile-main): Depend on lisp/leim rule. (leim): New rule. * lisp/loadup.el: Move leim-list.el to leim/ subdirectory. * lisp/startup.el (normal-top-level): No more leim directory. * lisp/international/ja-dic-cnv.el (skkdic-convert): Disable version-control and autoloads in output files. * lisp/international/titdic-cnv.el (titdic-convert, miscdic-convert): Disable version-control and autoloads in output files. * lisp/leim/quail: Move here from ../leim. * lisp/leim/quail/hangul.el (hangul-input-method-activate): Add autoload cookie. (generated-autoload-load-name): Set file-local value. * lisp/leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie. (generated-autoload-load-name): Set file-local value. * nt/README.W32: * nt/addpm.c (env_vars): * nt/epaths.nt (PATH_LOADSEARCH, PATH_DUMPLOADSEARCH): * nt/paths.h (PATH_LOADSEARCH): No more leim directory. * src/Makefile.in (leimdir): Now in lisp source directory. ($(leimdir)/leim-list.el): Just use ../leim . * src/epaths.in (PATH_DUMPLOADSEARCH): * src/lread.c (load_path_default): * src/nsterm.m (ns_load_path): No more leim directory. * .bzrignore: Update for relocated leim files.
* * .gdbinit (xgettype): Add cast.Andreas Schwab2013-11-261-0/+4
|
* Preload leim-list.elGlenn Morris2013-11-251-0/+7
| | | | | | | | | | | | | | | | | | | * Makefile.in (abs_builddir): New, set by configure. (buildlisppath): Add leim/. (epaths-force-w32): Set BLD. * lisp/loadup.el: Load leim-list.el when found. * lisp/startup.el (normal-top-level): Skip re-loading leim/leim-list.el. * nt/epaths.nt (PATH_DUMPLOADSEARCH): Add leim/. * src/callproc.c (init_callproc): Don't assume PATH_DUMPLOADSEARCH is a single directory. * src/epaths.in (PATH_DUMPLOADSEARCH): Add leim/. Fixes: debbugs:4789
* bool-vector-subsetp is now the normal direction.Paul Eggert2013-11-251-0/+4
| | | | | | | * data.c (Fbool_vector_subsetp): Test whether the first argument is a subset of the second one, not the reverse. Add doc string. Fixes: debbugs:15912
* Fix minor problems found by static checking.Paul Eggert2013-11-251-0/+8
| | | | | | | * lread.c (load_path_default): Now static. * textprop.c (text_property_stickiness): Be consistent about the test used when deciding whether to consider the previous character. This simplifies the code a bit.
* * src/textprop.c (text_property_stickiness): Fix front-stickiness at BOB.Stefan Monnier2013-11-251-0/+2
|
* * lisp/frame.el (handle-focus-in, handle-focus-out): Move from frame.c.Stefan Monnier2013-11-241-0/+5
| | | | | | | | Remove blink-cursor code. (blink-cursor-timer-function, blink-cursor-suspend): Don't special-case GUIs. (blink-cursor-mode): Use focus-in/out-hook. * src/frame.c (Fhandle_focus_in, Fhandle_focus_out): Move to frame.el. (syms_of_frame): Don't defsubr them.
* Further tweaks to the setting of Vload_pathGlenn Morris2013-11-241-0/+4
| | | | | | | | This is giving me a headache... * src/lread.c (load_path_default): Change the sense of the argument. (init_lread): When EMACSLOADPATH is set, do not ignore changes from dump_path. When it is not, avoid checking dump_path twice.
* * src/lread.c (init_lread): Fix 2013-11-23 goof that was checkingGlenn Morris2013-11-241-0/+5
| | | | | | uninstalled dump_path against installed Vload_path. Fixes: debbugs:15964
* Export get_pos_property to Elisp.Stefan Monnier2013-11-241-0/+4
| | | | | * src/editfns.c (Fget_pos_property): Rename from get_pos_property. (syms_of_editfns): Export it to Elisp.
* * src/data.c (Fmake_variable_buffer_local): Mention `permanent-local'.Stefan Monnier2013-11-241-0/+4
|
* Really initialize `write_region_inhibit_fsync' when interactive.Romain Francoise2013-11-231-0/+6
| | | | | | * fileio.c (init_fileio): Move `write_region_inhibit_fsync' initialization here ... (syms_of_fileio): ... from here.
* * src/lread.c (init_lread): Fix int/Lisp_Object mixup.Stefan Monnier2013-11-221-0/+5
| | | | Please use --enable-check-lisp-object-type.
* * src/process.c (get_process): Explicit error for dead buffersGlenn Morris2013-11-221-0/+4
| | | | | That seems more in keeping with the existing behavior of this function in other situations.
* Merge from emacs-24; up to 2013-01-03T02:37:57Z!rgm@gnu.orgGlenn Morris2013-11-221-0/+4
|\
| * Fixes: debbugs:15923Andreas Schwab2013-11-191-0/+5
| | | | | | | | * process.c (get_process): Check that OBJ is a live buffer.
* | Empty elements in EMACSLOADPATH now stand for the defaultGlenn Morris2013-11-221-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/lread.c (load_path_check): Take path to check as argument. (load_path_default): New, split from init_lread. (init_lread): Move calc of default load-path to load_path_default. Empty elements in EMACSLOADPATH now stand for the default. (load-path): Doc fix. * src/emacs.c (decode_env_path): Add option to treat empty elements as nil rather than ".". * src/callproc.c (init_callproc_1, init_callproc): * src/image.c (Vx_bitmap_file_path): * src/lisp.h (decode_env_path): * lread.c (Vsource_directory): Update for new argument spec of decode_env_path. * leim/Makefile.in (RUN_EMACS): Empty EMACSLOADPATH rather than unsetting. * lisp/Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting. * test/automated/Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting. * doc/emacs/cmdargs.texi (General Variables): Empty elements in EMACSLOADPATH now mean the default load-path. * doc/lispref/loading.texi (Library Search): Empty elements in EMACSLOADPATH now mean the default load-path. * etc/NEWS: Mention this. Fixes: debbugs:12100
* | Fix bug #15951 with vertical-motion near beginning of narrowed region.Eli Zaretskii2013-11-221-0/+5
| | | | | | | | | | src/bidi.c (bidi_find_paragraph_start): Limit the returned positions to BEGV_BYTE..ZV_BYTE range.
* | Use just LIBXMENU, not LIBXMENU_DIR and LIBXMENU_BASE.Paul Eggert2013-11-211-2/+0
| | | | | | | | This simplifies the previous change to configure.ac and src/Makefile.in.
* | Fix some dependency problems that cause unnecessary recompiles.Paul Eggert2013-11-201-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem reported by RMS in <http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00421.html>. * configure.ac (OLDXMENU_TARGET, OLDXMENU, LIBXMENU, OLDXMENU_DEPS): Remove. (LIBXMENU_DIR, LIBXMENU_BASE): New vars. * src/Makefile.in (OLDXMENU_TARGET, OLDXMENU, OLDXMENU_DEPS) (really-lwlib, really-oldXMenu, stamp-oldxmenu) (../src/$(OLDXMENU), $(OLDXMENU)): Remove. (LIBXMENU_DIR, LIBXMENU_BASE): New macros. (LIBXMENU): Use them. (temacs$(EXEEXT)): Depend on $(LIBXMENU), not stamp-oldxmenu. ($(lwlibdir)/liblw.a, $(oldXMenudir)/libXMenu11.a, FORCE): New targets. (boostrap-clean): No need to remove stamp-oldxmenu.
* | Fix recently introduced bool vector overrun.Paul Eggert2013-11-201-0/+12
| | | | | | | | | | | | | | | | | | | | | | This was due to an optimization that went awry. Reported by Glenn Morris in <http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00622.html>. * alloc.c (make_uninit_bool_vector): Don't allocate a dummy word for empty vectors, undoing the 2013-11-18 change. * data.c (bool_vector_binop_driver): Rely on this. Fix bug that occasionally overran the destination. * lisp.h (struct Lisp_Bool_vector): Document this.
* | * nsterm.m (init, run, stop:): Enable again. stop calls super stopJan Djärv2013-11-201-0/+3
| | | | | | | | to handle dialogs.
* | * nsterm.m (init, run, stop:): Comment out for now, does not work with dialogs.Jan Djärv2013-11-201-0/+5
| |
* | * charset.c (syms_of_charset): Don't read past end of string.Paul Eggert2013-11-191-0/+4
| |
* | * src/frame.c (Fhandle_focus_in, Fhandle_focus_out): Doc fixes.Glenn Morris2013-11-181-0/+4
| |
* | Add hooks to run on gaining/losing focus (tiny change)Brian Jenkins2013-11-181-0/+7
| | | | | | | | | | | | | | | | * src/frame.c (Qfocus_in_hook, Qfocus_out_hook): New static lisp objects. (Fhandle_focus_in, Fhandle_focus_out): Run focus hooks. (syms_of_frame): Add focus-in-hook, focus-out-hook. Fixes: debbugs:15029
* | * data.c (bool_vector_binop_driver): Rename locals for sanity's sake.Paul Eggert2013-11-181-0/+3
| | | | | | | | The old names predated the API change that put destination at end.
* | Improve API of recently-added bool vector functions.Paul Eggert2013-11-181-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The old API had (bool-vector-count-matches A B) and (bool-vector-count-matches-at A B I), which gave the misleading impression that the two functions were variants, one with a location I. The new API has (bool-vector-count-population A) and (bool-vector-count-consecutive A B I) to make the distinction clearer. The first function no longer has a B argument, since the caller can easily determine the number of nils if the length and number of ts is known. * src/data.c (Fbool_vector_count_population): Rename from bool_vector_count_matches, and accept just 1 argument. (Fbool_vector_count_consecutive): Rename from Fbool_vector_count_matches_at. * test/automated/data-tests.el: Adjust to API changes. Fixes: debbugs:15912
* | Always allocate at least one bits_word per bool vector.Paul Eggert2013-11-181-0/+9
| | | | | | | | | | | | | | | | See Daniel Colascione in: http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00518.html * alloc.c (make_uninit_bool_vector): Always allocate at least one word. * data.c (bool_vector_binop_driver): Rely on this. Tune. * lisp.h (struct Lisp_Bool_vector): Document this.
* | Fix bug #15841 with assertion violations due to newline cache.Eli Zaretskii2013-11-181-0/+10
| | | | | | | | | | | | | | | | | | src/insdel.c (invalidate_buffer_caches): New function, consolidated from part of prepare_to_modify_buffer. (insert_from_gap, prepare_to_modify_buffer): src/coding.c (code_convert_region, code_convert_string): Call invalidate_buffer_caches. src/lisp.h (invalidate_buffer_caches): Add prototype.
* | Fix bug #15913 with disappearing mouse highlight on MS-Windows.Eli Zaretskii2013-11-171-0/+6
| | | | | | | | | | | | src/w32term.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.
* | * configure.ac (DEBUGGER_SEES_C_MACROS): Remove.Paul Eggert2013-11-161-0/+4
| | | | | | | | | | | | * src/lisp.h (DEBUGGER_SEES_C_MACROS): Likewise. It apparently doesn't work for GCC 3, and I suppose it's more trouble than it's worth to worry about this.
* | Don't let unusual after-change-functions overwrite " prin1" buffer in use.Eli Zaretskii2013-11-161-0/+3
| | | | | | | | | | | | | | src/doc.c (Fsubstitute_command_keys): Inhibit modification hooks while we are using Vprin1_to_string_buffer. Fixes: debbugs:15907
* | Fix bug #15907 with crashes due to after-change-functions.Eli Zaretskii2013-11-161-0/+5
| | | | | | | | | | src/keymap.c (describe_map): Don't crash if PT is 1 both before and after inserting the description string.
* | * data.c: Work around bogus GCC diagnostic about shift count.Paul Eggert2013-11-151-0/+8
| | | | | | | | | | | | | | Reported by Eli Zaretskii in <http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00489.html>. (pre_value): New function. (count_trailing_zero_bits): Use it.
* | Correct overly-optimistic assumptions about C macro support by "gcc -g3".Eli Zaretskii2013-11-151-0/+6
| | | | | | | | | | | | src/lisp.h (DEBUGGER_SEES_C_MACROS) [GCC < v3.5]: Pessimistically assume C macros are not supported even under -g3 in these old GCC versions.
* | * lisp/loadhist.el (read-feature): Get rid of fake feature nil. Leo Liu2013-11-151-0/+5
| | | | | | | | | | * src/minibuf.c (Ftry_completion, Fall_completions) (Ftest_completion): Use FUNCTIONP. (Bug#15889)
* | * configure.ac (DEBUGGER_SEES_C_MACROS): New macro.Paul Eggert2013-11-141-0/+6
| | | | | | | | | | | | * src/lisp.h (DEFINE_GDB_SYMBOL_BEGIN, DEFINE_GDB_SYMBOL_END): Define to empty if DEBUGGER_SEES_C_MACROS is defined. This avoids placing unnecessary constants into the Emacs code.
* | Fix bug #15892 with link failures of the Cygwin w32 build.Kazuhiro Ito2013-11-141-0/+8
| | | | | | | | | | | | | | src/keyboard.c (make_ctrl_char) [HAVE_NTGUI]: Now externally visible for Cygwin w32 build. src/xdisp.c (erase_phys_cursor) [HAVE_NTGUI]: Now externally visible for Cygwin w32 build.
* | Simplify, port and tune bool vector implementation.Paul Eggert2013-11-131-0/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * configure.ac (BITSIZEOF_SIZE_T, SIZEOF_SIZE_T): Remove. * src/alloc.c (bool_vector_exact_payload_bytes) (bool_vector_payload_bytes): Remove. (bool_vector_fill): Return its argument. * src/alloc.c (bool_vector_fill): * src/lread.c (read1): * src/print.c (print_object): Simplify by using bool_vector_bytes. * src/alloc.c (make_uninit_bool_vector): New function, broken out from Fmake_bool_vector. (Fmake_bool_vector): Use it. Use tail call. (make_uninit_bool_vector, vector_nbytes): Simplify size calculations. * src/data.c (BITS_PER_ULL): New constant. (ULLONG_MAX, count_one_bits_ll): Fall back on long counterparts if long long versions don't exist. (shift_right_ull): New function. (count_one_bits_word): New function, replacing popcount_bits_word macro. Don't assume that bits_word is no wider than long long. (count_one_bits_word, count_trailing_zero_bits): Don't assume that bits_word is no wider than long long. * src/data.c (bool_vector_binop_driver, bool_vector_not): * src/fns.c (Fcopy_sequence): * src/lread.c (read1): Create an uninitialized destination, to avoid needless work. (internal_equal): Simplify. (Ffillarray): Prefer tail call. * src/data.c (bool_vector_binop_driver): Don't assume bit vectors always contain at least one word. (bits_word_to_host_endian): Prefer if to #if. Don't assume chars are narrower than ints. * src/data.c (Fbool_vector_count_matches, Fbool_vector_count_matches_at): * src/fns.c (Fcopy_sequence): Simplify and tune. * src/lisp.h (bits_word, BITS_WORD_MAX, BITS_PER_BITS_WORD): Don't try to port to hosts where bits_word values have holes; the code wouldn't work there anyway. Verify this assumption, though. (bool_vector_bytes): New function. (make_uninit_bool_vector): New decl. (bool_vector_fill): Now returns Lisp_Object.
* | Prefer tail calls.Paul Eggert2013-11-131-0/+5
| | | | | | | | | | | | | | | | | | * lib-src/ebrowse.c (xstrdup): * lib-src/etags.c (savenstr): * lwlib/lwlib.c (safe_strdup): * src/xfns.c (xic_create_fontsetname): * src/xrdb.c (gethomedir): Prefer tail calls. * lib-src/etags.c (concat): Omit unnecessary assignment.
* | * xterm.c (syms_of_xterm): staticpro Qalt, Qhyper, Qmeta, and Qsuper.Paul Eggert2013-11-111-1/+2
| | | | | | | | This is safer, and it's what w32fns.c does.
* | * xterm.c (syms_of_xterm): staticpro Qmodifier_value.Paul Eggert2013-11-111-0/+2
| |
* | * buffer.c (Fforce_mode_line_update): Don't fall off end of functionPaul Eggert2013-11-111-0/+7
| | | | | | | | | | | | that requires a return value. (Fset_buffer_modified_p): Take advantage of this change to do a tail call.
* | * lisp/subr.el (force-mode-line-update): Delete, move to buffer.c.Stefan Monnier2013-11-111-0/+8
| | | | | | | | | | | | | | | | * src/buffer.c (Frestore_buffer_modified_p): Sync it with Fset_buffer_modified_p. (Fforce_mode_line_update): New function, moved from subr.el. (Fset_buffer_modified_p): Use them. (syms_of_buffer): Defsubr Fforce_mode_line_update.
* | * search.c (find_newline): Rewrite to prefer offsets to pointers.Paul Eggert2013-11-111-0/+7
| | | | | | | | | | | | This avoids undefined behavior when subtracting pointers into different aways. On my platform it also makes the code a tad smaller and presumably faster.
* | * lisp/bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.Stefan Monnier2013-11-111-0/+6
| | | | | | | | | | | | * src/keyboard.c (command_loop_1): Use region-extract-function. * src/insdel.c (Qregion_extract_function): Not static any more (can we stop pretending that these vars can benefit from being marked static?).
* | Fix bug #15841 with missing line numbers in linum-mode.Eli Zaretskii2013-11-091-0/+6
| | | | | | | | | | src/search.c (find_newline): If buffer text is relocated during the "dumb loop", adjust C pointers into buffer text to follow suit.
* | * gtkutil.c (xg_check_special_colors): Use rgb: instead of rgbi:Jan Djärv2013-11-091-0/+5
| | | | | | | | | | | | for conversion. Fixes: debbugs:15837