mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
Merge branch 'elinks-0.12'
Conflicts: src/document/dom/renderer.c
This commit is contained in:
commit
9054e57c55
3
NEWS
3
NEWS
@ -95,7 +95,10 @@ Other changes:
|
|||||||
title, note the charset. Don't truncate titles to the width of the
|
title, note the charset. Don't truncate titles to the width of the
|
||||||
terminal.
|
terminal.
|
||||||
* bug 1061: Correctly truncate UTF-8 titles in the tab bar.
|
* bug 1061: Correctly truncate UTF-8 titles in the tab bar.
|
||||||
|
* minor bug 761: When reading bookmarks from an XBEL file, distinguish
|
||||||
|
attribute names from attribute values.
|
||||||
* enhancement: Updated ISO 8859-7, ISO 8859-16, KOI8-R, and MacRoman.
|
* enhancement: Updated ISO 8859-7, ISO 8859-16, KOI8-R, and MacRoman.
|
||||||
|
* critical: bug 1067: crash in call_dom_stack_callbacks with RSS
|
||||||
|
|
||||||
ELinks 0.12pre2:
|
ELinks 0.12pre2:
|
||||||
----------------
|
----------------
|
||||||
|
@ -632,6 +632,9 @@ fi
|
|||||||
|
|
||||||
AC_MSG_RESULT($cf_result)
|
AC_MSG_RESULT($cf_result)
|
||||||
CONFIG_SPIDERMONKEY="$cf_result"
|
CONFIG_SPIDERMONKEY="$cf_result"
|
||||||
|
if test "$cf_result" = "yes"; then
|
||||||
|
AC_CHECK_FUNCS([[JS_ReportAllocationOverflow]])
|
||||||
|
fi
|
||||||
EL_RESTORE_FLAGS
|
EL_RESTORE_FLAGS
|
||||||
|
|
||||||
if test "x$CONFIG_SPIDERMONKEY" = xyes &&
|
if test "x$CONFIG_SPIDERMONKEY" = xyes &&
|
||||||
|
@ -195,7 +195,11 @@ utf8_to_jsstring(JSContext *ctx, const unsigned char *str, int length)
|
|||||||
* Check whether the multiplication could overflow. */
|
* Check whether the multiplication could overflow. */
|
||||||
assert(!needs_utf16_surrogates(UCS_REPLACEMENT_CHARACTER));
|
assert(!needs_utf16_surrogates(UCS_REPLACEMENT_CHARACTER));
|
||||||
if (in_bytes > ((size_t) -1) / sizeof(jschar)) {
|
if (in_bytes > ((size_t) -1) / sizeof(jschar)) {
|
||||||
|
#ifdef HAVE_JS_REPORTALLOCATIONOVERFLOW
|
||||||
JS_ReportAllocationOverflow(ctx);
|
JS_ReportAllocationOverflow(ctx);
|
||||||
|
#else
|
||||||
|
JS_ReportOutOfMemory(ctx);
|
||||||
|
#endif
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
utf16_alloc = in_bytes;
|
utf16_alloc = in_bytes;
|
||||||
|
Loading…
Reference in New Issue
Block a user