aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog (follow)
Commit message (Collapse)AuthorAgeFilesLines
* * src/keyboard.c: Override inhibit-quit after the third C-g.Jason S. Cornez2012-04-101-4/+10
| | | | | | | (force_quit_count): New var. (handle_interrupt): Use it. Fixes: debbugs:6585
* Record and display absolute path of DLLs loaded (bug#10424).Juanma Barranquero2012-04-101-0/+5
| | | | | | | | * lisp/misc.el (list-dynamic-libraries--loaded): New function. (list-dynamic-libraries--refresh): Use it. * src/w32.c (w32_delayed_load): Record the full path of the library being loaded.
* doc.c fix for bug#11036Glenn Morris2012-04-091-0/+3
| | | | | * src/doc.c (Fsnarf_documentation): Check variables, functions are bound, not just in the obarray, before snarfing them.
* Rename leim/Makefile's BUILT_EMACS to EMACSGlenn Morris2012-04-091-0/+5
| | | | | | | | * leim/Makefile.in (EMACS): Rename from BUILT_EMACS. (RUN_EMACS, compile-main): Update for this change. * src/Makefile.in ($(leimdir)/leim-list.el): Pass EMACS rather than BUILT_EMACS.
* Limit number of GnuTLS handshakes per connection.Ted Zlatanov2012-04-091-0/+15
| | | | | | | | | | | | | | | * gnutls.c (gnutls_log_function2i): Convenience log function. (emacs_gnutls_read): Use new log functions, `gnutls_handshakes_tried' process member, and `GNUTLS_EMACS_HANDSHAKES_LIMIT' to limit the number of handshake attempts per process (connection). * gnutls.h: Add `GNUTLS_EMACS_HANDSHAKES_LIMIT' upper limit. Add convenience `GNUTLS_LOG2i' macro. * process.c (make_process): * process.h: Add integer `gnutls_handshakes_tried' member to process struct.
* Remove defining user variables via * in docstring.Chong Yidong2012-04-091-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/apropos.el (apropos-variable): * lisp/files-x.el (read-file-local-variable): * lisp/simple.el (set-variable): * lisp/woman.el (woman-mini-help): * lisp/emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed. * lisp/custom.el (custom-variable-p): Return nil for non-symbol arguments instead of signaling an error. (user-variable-p): Obsolete alias for custom-variable-p. * lisp/erc/erc.el (erc-cmd-SET): Call custom-variable-p instead of user-variable-p. * src/callint.c (Finteractive, Fcall_interactively): * src/minibuf.c (Fread_variable): Callers changed. * src/eval.c (Fuser_variable_p, user_variable_p_eh) (lisp_indirect_variable): Functions deleted. (Fdefvar): Caller changed. * doc/lispref/commands.texi (Interactive Codes): * doc/lispref/help.texi (Accessing Documentation): * doc/lispref/minibuf.texi (High-Level Completion): Callers changed. * doc/lispref/customize.texi (Variable Definitions): Remove user-variable-p.
* Fix bug #11094 with cursor display on display string after invisible text.Eli Zaretskii2012-04-091-0/+8
| | | | | | | | src/xdisp.c (set_cursor_from_row): If the display string appears in the buffer at position that is closer to point than the position after the display string, display the cursor on the first glyph of the display string. Fixes cursor display when a 'display' text property immediately follows invisible text.
* composite.c: use 'double' consistentlyPaul Eggert2012-04-081-0/+7
| | | | | | * composite.c (get_composition_id): Use 'double' consistently instead of converting 'float' to 'double' and vice versa; this is easier to understand and avoids a GCC warning.
* Generate leim-list with bootstrap-emacs, in prep for dumping it with emacsGlenn Morris2012-04-081-0/+6
| | | | | | | | * src/Makefile.in: (leimdir): New variable. ($(leimdir)/leim-list.el): New rule. (emacs$(EXEEXT)): Depend on leim-list.el. Fixes: debbugs:4789
* Remove ucs-set-table-for-input dead codeGlenn Morris2012-04-081-0/+6
| | | | | | | | | | | | | | This function was removed with ucs-tables.el in 2008. * lisp/international/mule-cmds.el (set-default-coding-systems): * lisp/files.el (normal-mode): Remove guarded calls to ucs-set-table-for-input. * src/buffer.c (Qucs_set_table_for_input): Remove. (Fget_buffer_create): Don't call Qucs_set_table_for_input. (init_buffer_once, syms_of_buffer): Remove Qucs_set_table_for_input. Fixes: debbugs:9821
* * lisp.h (struct Lisp_Symbol): Add explicit padding to ensureAndreas Schwab2012-04-081-0/+5
| | | | proper alignment.
* src/xml.c (init_libxml2_functions) [WINDOWSNT]: Remove unused local variable.Juanma Barranquero2012-04-071-0/+5
|
* Avoid unnecessary pointer scanning in garbage collection (Bug#10780).Paul Eggert2012-04-071-0/+9
| | | | | | | | * alloc.c (POINTERS_MIGHT_HIDE_IN_OBJECTS): New macro. (mark_memory): Mark Lisp_Objects only if pointers might hide in objects, as mark_maybe_pointer will catch them otherwise. (GC_LISP_OBJECT_ALIGNMENT): Remove; no longer needed. * s/gnu-linux.h (GC_LISP_OBJECT_ALIGNMENT) [__mc68000__]: Likewise.
* Fix typo that broke non-Windows builds.Paul Eggert2012-04-071-0/+5
| | | | * xml.c (libxml2_loaded_p) [!!WINDOWSNT]: 'inine' -> 'inline'.
* Support building on MS-Windows with libxml2.Eli Zaretskii2012-04-071-0/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | src/makefile.w32-in (OBJ2): Add xml.$(O). (GLOBAL_SOURCES): Add xml.c. ($(BLD)/xml.$(O)): New dependency list. src/xml.c (DEF_XML2_FN, LOAD_XML2_FN) [WINDOWSNT]: New macros. (fn_htmlReadMemory, fn_xmlReadMemory, fn_xmlDocGetRootElement) (fn_xmlFreeDoc, fn_xmlCleanupParser, fn_xmlCheckVersion) [!WINDOWSNT]: New macros. (init_libxml2_functions, libxml2_loaded_p): New functions. (parse_region): Call fn_xmlCheckVersion instead of using the macro LIBXML_TEST_VERSION. Call libxml2 functions via the fn_* macros. (xml_cleanup_parser): New function, export for fn_xmlCleanupParser. Calls xmlCleanupParser only if libxml2 was loaded (or statically linked in). (Flibxml_parse_html_region, Flibxml_parse_xml_region): Call init_libxml2_functions before calling libxml2 functions. (syms_of_xml) <Qlibxml2_dll>: DEFSYM it. src/emacs.c: Don't include libxml/parser.h. (shut_down_emacs): Call xml_cleanup_parser, instead of calling xmlCleanupParser directly. src/ lisp.h [HAVE_LIBXML2]: Add prototype for xml_cleanup_parser. nt/configure.bat: Support building with libxml2. nt/INSTALL: nt/README.W32: Add information about libxml2. lisp/term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs. lib-src/makefile.w32-in (obj): Add xml.o.
* Fix bug #11133 with vertical-motion across a long display string.Eli Zaretskii2012-04-071-0/+6
| | | | | | src/indent.c (Fvertical_motion): If there is a display string at point, use it.vpos to compute how many lines to backtrack after move_it_to point.
* Warning comments about subtleties of fetching characters from buffers/strings.Eli Zaretskii2012-04-061-0/+9
| | | | | | | | | src/buffer.h (FETCH_CHAR, FETCH_MULTIBYTE_CHAR): src/character.h (STRING_CHAR, STRING_CHAR_AND_LENGTH): Add comments about subtle differences between FETCH_CHAR* and STRING_CHAR* macros related to unification of CJK characters. For the details, see the discussion following the message here: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=11073#14.
* Several miscellaneous doc changes.Chong Yidong2012-04-041-0/+4
| | | | | | | | | | | | | | | | | | * doc/lispref/display.texi (Delayed Warnings): New node. * doc/misc/gnus-faq.texi (FAQ 8-2): Mention EasyPG. * doc/misc/gnus.texi: Reduce references to obsolete pgg library. (Security): Note that epg is now the default. * doc/misc/message.texi (Using PGP/MIME): Note that epg is now the default. * doc/misc/nxml-mode.texi (Completion): C-RET is no longer bound to nxml-complete. * lisp/subr.el (delayed-warnings-hook): Doc fix. * src/keyboard.c (Vdelayed_warnings_list): Doc fix.
* Fix unsafe use of alloca reported in bug #11138.Eli Zaretskii2012-04-011-0/+5
| | | | | src/w32menu.c (simple_dialog_show, add_menu_item): Use SAFE_ALLOCA instead of alloca.
* Fixes: debbugs:11141Andreas Schwab2012-04-011-0/+5
| | | | * w32menu.c (is_simple_dialog): Properly check lisp types.
* Fix bug #11063 with move_it_by_lines when there's a before-string at bol.Eli Zaretskii2012-03-311-0/+5
| | | | | | | src/xdisp.c (move_it_by_lines): When DVPOS is positive, and the position we get to after a call to move_it_to fails the IS_POS_VALID_AFTER_MOVE_P test, move to the next buffer position only if we wind up in a string from display property.
* Fix bug #7464 with mouse highlight after "C-x 1".Eli Zaretskii2012-03-311-0/+4
| | | | | | src/window.c (Fdelete_other_windows_internal): Invalidate the row and column information about mouse highlight, so that redisplay restores it after reallocating the glyph matrices.
* Remove an incorrect assertion on move_it_by_lines.Eli Zaretskii2012-03-311-0/+4
| | | | | | | src/xdisp.c (move_it_by_lines): Remove the assertion that "it->current_x == 0 && it->hpos == 0" which can be legitimately violated when there's a before-string at the beginning of a line. (Bug#11063)
* Fix cursor positioning in rows completely covered by display strings.Eli Zaretskii2012-03-311-0/+7
| | | | | | | src/xdisp.c (set_cursor_from_row): If `cursor' property on a display string comes from a `display' text property, use the buffer position of that property as if we actually saw that position in the row's glyphs.
* Fix bug #11068 with window display when default face was remapped.Eli Zaretskii2012-03-301-0/+9
| | | | | | | | | src/xdisp.c (append_space_for_newline): If the default face was remapped, use the remapped face for the appended newline. (extend_face_to_end_of_line): Use the remapped default face for extending the face to the end of the line. (display_line): Call extend_face_to_end_of_line when the default face was remapped.
* Discourage in comments from defining HAVE_GETCWD on MS-Windows.Eli Zaretskii2012-03-291-0/+4
| | | | | src/s/ms-w32.h: Discourage from defining HAVE_GETCWD. nt/config.nt: Discourage from defining HAVE_GETCWD.
* * src/keyboard.c (safe_run_hooks_error): Don't unquote strings.Stefan Monnier2012-03-281-2/+5
|
* Small doc and elisp manual fixes related to searching Glenn Morris2012-03-261-0/+5
| | | | | | | | | * doc/lispref/searching.texi (String Search): Add xref to Emacs manual. Copyedits. Mention the function word-search-regexp. (Searching and Case): Add xref to Emacs manual. Copyedits. * src/search.c (Fword_search_backward_lax, Fword_search_forward_lax): Doc fixes.
* dispextern.h (struct glyph): Fix previous change. Change the bit length of ↵Kenichi Handa2012-03-261-0/+5
| | | | glyphless.ch to 25 (Bug#11082).
* New variable selection-inhibit-update-commands, for inhibiting selection ↵Chong Yidong2012-03-261-0/+6
| | | | | | | | | | updates. * keyboard.c (Vselection_inhibit_update_commands): New variable. (command_loop_1): Use it; inhibit selection update for handle-select-window too. Fixes: debbugs:8996
* Remove dead MSVC-specific code.Fabrice Popineau2012-03-251-0/+5
| | | | src/w32heap.c (_heap_init, _heap_term): Remove dead MSVC-specific code.
* dispextern.h (struct glyph): Change the bit length of glyphless.ch to 22 to ↵Kenichi Handa2012-03-261-0/+5
| | | | make the member glyphless fit in 32 bits.
* Fix bug #9960 with MSVC build on MS-Windows.Eli Zaretskii2012-03-241-0/+5
| | | | | src/s/ms-w32.h (tzname): Include time.h before redirecting to _tzname. Fixes the MSVC build.
* * xdisp.c (produce_glyphless_glyph): Limit length of acronym to 6Andreas Schwab2012-03-241-0/+3
| | | | characters.
* Fixes: debbugs:11080Andreas Schwab2012-03-241-0/+5
| | | | | * xterm.c (XTread_socket): Only modify handling_signal if !SYNC_INPUT.
* Fix bug #11073 with bidi-related crashes displaying some byte sequences.Eli Zaretskii2012-03-231-0/+8
| | | | | | | | src/bidi.c (bidi_fetch_char): Use STRING_CHAR_AND_LENGTH instead of FETCH_MULTIBYTE_CHAR followed by CHAR_BYTES. Prevents crashes when fetching a multibyte character consumes more bytes than CHAR_BYTES returns, due to unification of CJK characters in string_char.
* * src/process.c (wait_reading_process_output): Handle pty disconnectTroels Nielsen2012-03-231-3/+8
| | | | | | by refraining from sending oneself a SIGCHLD. Fixes: debbugs:10933
* For line prefixes, use default face; don't inherit from previous line.Chong Yidong2012-03-221-0/+9
| | | | | | | | | | | * src/dispextern.h (struct it): New member string_from_prefix_prop_p. * src/xdisp.c (push_prefix_prop): Renamed from push_display_prop. Mark string as coming from a prefix property. (handle_face_prop): Use default face for prefix strings. (pop_it, reseat_1): Save and restore string_from_prefix_prop_p. Fixes: debbugs:4281
* Updates to Display chapter of Lisp manual.Chong Yidong2012-03-211-0/+4
| | | | | | | | | | | | | | | | | | | | | * doc/lispref/display.texi (The Echo Area): Add xref to Output Streams. (Displaying Messages): Improve doc of message. (Echo Area Customization, Invisible Text): Copyedits. (Invisible Text): Mention that spec comparison is done with eq. (Width): Improve doc of char-width. (Faces): Recommend using symbol instead of string for face name. Minor clarifications. (Defining Faces): Copyedits. Update face example. (Attribute Functions): Mark set-face-foreground etc as commands. (Face Remapping): Mention text-scale-adjust. Clarify face-remapping-alist and related docs. (Face Functions): Don't document make-face or copy-face. * lisp/faces.el (make-face, make-empty-face, copy-face): * lisp/face-remap.el (face-remap-add-relative, face-remap-set-base): Doc fixes. * src/xfaces.c (Vface_remapping_alist): Doc fix.
* Doc fixes in w32-specific primitives related to console codepage.Eli Zaretskii2012-03-201-0/+6
| | | | | src/w32proc.c (Fw32_set_console_codepage) (Fw32_set_console_output_codepage, Fw32_get_codepage_charset): Doc fixes.
* Update doc to reflect new non-nil value of redisplay-dont-pause.Chong Yidong2012-03-201-0/+5
| | | | | | | | | * doc/lispref/display.texi (Forcing Redisplay): Various rewrites to reflect new value of redisplay-dont-pause. (Truncation): Copyedits. * src/dispnew.c (Fredisplay, Vredisplay_preemption_period): Update doc to reflect default non-nil value of redisplay-dont-pause.
* merge trunkKenichi Handa2012-03-191-0/+12
|\
| * Fix bug #11035 with cursor positioning on overlay strings with newlines.Eli Zaretskii2012-03-181-0/+8
| | | | | | | | | | | | | | | | src/xdisp.c (cursor_row_p): Even if the glyph row ends in a string that is not from display property, accept the row as a "cursor row" if one of the string's character has a non-nil `cursor' property. Fixes cursor positioning when there are newlines in overlay strings, e.g. in icomplete.el.
| * * buffer.c (compare_overlays): Don't assume args differ (Bug#6830).Paul Eggert2012-03-121-0/+4
| |
* | ftfont.c (ftfont_drive_otf): Mask bits of character code to make it fit in a ↵Kenichi Handa2012-03-191-0/+5
|/ | | | valid range (Bug#11003).
* Rename inhibit_window_configuration_change_hook to inhibit_lisp_code.Chong Yidong2012-03-121-0/+9
| | | | | | | | | | | This is a tweak to 2012-02-23T07:28:21Z!cyd@gnu.org, suggested by Stefan. * eval.c (inhibit_lisp_code): Rename from inhibit_window_configuration_change_hook; move from window.c. * xfns.c (unwind_create_frame_1, Fx_create_frame): * window.c (run_window_configuration_change_hook) (syms_of_window): Callers changed.
* * keymap.c (Fkey_description): Doc fix.Chong Yidong2012-03-121-0/+2
| | | | Fixes: debbugs:9700
* * src/editfns.c (Fconstrain_to_field): Doc fix.Chong Yidong2012-03-121-0/+4
| | | | | | * doc/lispref/text.texi (Fields): Minor copyedit. Fixes: debbugs:9452
* * frame.c (other_visible_frames): Don't assume selected frame is visible.Chong Yidong2012-03-101-0/+5
| | | | Fixes: debbugs:10955
* * src/buffer.c (compare_overlays): Avoid qsort's instability.Stefan Monnier2012-03-091-8/+12
| | | | Fixes: debbugs:6830