aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog
diff options
context:
space:
mode:
authorEli Zaretskii2012-04-07 16:57:36 +0300
committerEli Zaretskii2012-04-07 16:57:36 +0300
commit9078ead6ce0237eb566a2779016560c85fff5768 (patch)
tree965a35cb3e4e5f7b83edfd65712ce40105dc1fd5 /src/ChangeLog
parente4ecc6a217dfe759fdb7859b38079e66368944d2 (diff)
downloademacs-9078ead6ce0237eb566a2779016560c85fff5768.tar.gz
emacs-9078ead6ce0237eb566a2779016560c85fff5768.zip
Support building on MS-Windows with libxml2.
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.
Diffstat (limited to 'src/ChangeLog')
-rw-r--r--src/ChangeLog28
1 files changed, 28 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 6bd946c0900..d60379b76b4 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,33 @@
12012-04-07 Eli Zaretskii <eliz@gnu.org> 12012-04-07 Eli Zaretskii <eliz@gnu.org>
2 2
3 Support building on MS-Windows with libxml2.
4
5 * makefile.w32-in (OBJ2): Add xml.$(O).
6 (GLOBAL_SOURCES): Add xml.c.
7 ($(BLD)/xml.$(O)): New dependency list.
8
9 * xml.c (DEF_XML2_FN, LOAD_XML2_FN) [WINDOWSNT]: New macros.
10 (fn_htmlReadMemory, fn_xmlReadMemory, fn_xmlDocGetRootElement)
11 (fn_xmlFreeDoc, fn_xmlCleanupParser, fn_xmlCheckVersion)
12 [!WINDOWSNT]: New macros.
13 (init_libxml2_functions, libxml2_loaded_p): New functions.
14 (parse_region): Call fn_xmlCheckVersion instead of using the macro
15 LIBXML_TEST_VERSION. Call libxml2 functions via the fn_* macros.
16 (xml_cleanup_parser): New function, export for fn_xmlCleanupParser.
17 Calls xmlCleanupParser only if libxml2 was loaded (or statically
18 linked in).
19 (Flibxml_parse_html_region, Flibxml_parse_xml_region): Call
20 init_libxml2_functions before calling libxml2 functions.
21 (syms_of_xml) <Qlibxml2_dll>: DEFSYM it.
22
23 * emacs.c: Don't include libxml/parser.h.
24 (shut_down_emacs): Call xml_cleanup_parser, instead of calling
25 xmlCleanupParser directly.
26
27 * lisp.h [HAVE_LIBXML2]: Add prototype for xml_cleanup_parser.
28
292012-04-07 Eli Zaretskii <eliz@gnu.org>
30
3 * indent.c (Fvertical_motion): If there is a display string at 31 * indent.c (Fvertical_motion): If there is a display string at
4 point, use it.vpos to compute how many lines to backtrack after 32 point, use it.vpos to compute how many lines to backtrack after
5 move_it_to point. (Bug#11133) 33 move_it_to point. (Bug#11133)