Gitweb links:
...log
http://git.netsurf-browser.org/netsurf.git/shortlog/ea01d6b3fc6ea73de2478...
...commit
http://git.netsurf-browser.org/netsurf.git/commit/ea01d6b3fc6ea73de247897...
...tree
http://git.netsurf-browser.org/netsurf.git/tree/ea01d6b3fc6ea73de24789797...
The branch, master has been updated
via ea01d6b3fc6ea73de24789797fb3fde5e3a26693 (commit)
via a98b946ca2e6982be3c12eeffdfbc0656a71e5cb (commit)
via 3457d3adc7b94bb9e8715a35a0e5a8377db88856 (commit)
from c7ba173a6405eca736ee7032330c00f9939e7c37 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commitdiff
http://git.netsurf-browser.org/netsurf.git/commit/?id=ea01d6b3fc6ea73de24...
commit ea01d6b3fc6ea73de24789797fb3fde5e3a26693
Author: Chris Young <chris(a)unsatisfactorysoftware.co.uk>
Commit: Chris Young <chris(a)unsatisfactorysoftware.co.uk>
Double the stack as it still runs out on occasion
diff --git a/amiga/gui.c b/amiga/gui.c
index 11f874b..1501a5f 100644
--- a/amiga/gui.c
+++ b/amiga/gui.c
@@ -180,7 +180,7 @@ bool cli_force = false;
static char *current_user;
static char *current_user_dir;
-static const __attribute__((used)) char *stack_cookie = "\0$STACK:131072\0";
+static const __attribute__((used)) char *stack_cookie = "\0$STACK:262144\0";
const char * const versvn;
const char * const verdate;
commitdiff
http://git.netsurf-browser.org/netsurf.git/commit/?id=a98b946ca2e6982be3c...
commit a98b946ca2e6982be3c12eeffdfbc0656a71e5cb
Author: Chris Young <chris(a)unsatisfactorysoftware.co.uk>
Commit: Chris Young <chris(a)unsatisfactorysoftware.co.uk>
Confidently remove the debug
diff --git a/amiga/font.c b/amiga/font.c
index 8fc87d7..7af7056 100755
--- a/amiga/font.c
+++ b/amiga/font.c
@@ -341,10 +341,6 @@ bool nsfont_split(const plot_font_style_t *fstyle,
if ((x < tx) && (*char_offset != 0)) {
/* Reached available width, and a space was found;
* split there. */
- LOG(("Split %u chars at %ipx: "
- "Split at char %i (%ipx) - %.*s",
- length, x, *char_offset, *actual_x,
- *char_offset, string));
free(utf16_str);
return true;
}
commitdiff
http://git.netsurf-browser.org/netsurf.git/commit/?id=3457d3adc7b94bb9e87...
commit 3457d3adc7b94bb9e8715a35a0e5a8377db88856
Author: Chris Young <chris(a)unsatisfactorysoftware.co.uk>
Commit: Chris Young <chris(a)unsatisfactorysoftware.co.uk>
Sometimes (but not always) the UTF-16 conversion inserts a BOM. Skip it.
diff --git a/amiga/font.c b/amiga/font.c
index 93bee3c..8fc87d7 100755
--- a/amiga/font.c
+++ b/amiga/font.c
@@ -311,6 +311,8 @@ bool nsfont_split(const plot_font_style_t *fstyle,
*char_offset = 0;
*actual_x = 0;
+ if (*utf16 == 0xFEFF) utf16++;
+
while (utf8_pos < length) {
if ((*utf16 < 0xD800) || (0xDBFF < *utf16))
utf16next = utf16 + 1;
-----------------------------------------------------------------------
Summary of changes:
amiga/font.c | 6 ++----
amiga/gui.c | 2 +-
2 files changed, 3 insertions(+), 5 deletions(-)
diff --git a/amiga/font.c b/amiga/font.c
index 93bee3c..7af7056 100755
--- a/amiga/font.c
+++ b/amiga/font.c
@@ -311,6 +311,8 @@ bool nsfont_split(const plot_font_style_t *fstyle,
*char_offset = 0;
*actual_x = 0;
+ if (*utf16 == 0xFEFF) utf16++;
+
while (utf8_pos < length) {
if ((*utf16 < 0xD800) || (0xDBFF < *utf16))
utf16next = utf16 + 1;
@@ -339,10 +341,6 @@ bool nsfont_split(const plot_font_style_t *fstyle,
if ((x < tx) && (*char_offset != 0)) {
/* Reached available width, and a space was found;
* split there. */
- LOG(("Split %u chars at %ipx: "
- "Split at char %i (%ipx) - %.*s",
- length, x, *char_offset, *actual_x,
- *char_offset, string));
free(utf16_str);
return true;
}
diff --git a/amiga/gui.c b/amiga/gui.c
index 11f874b..1501a5f 100644
--- a/amiga/gui.c
+++ b/amiga/gui.c
@@ -180,7 +180,7 @@ bool cli_force = false;
static char *current_user;
static char *current_user_dir;
-static const __attribute__((used)) char *stack_cookie = "\0$STACK:131072\0";
+static const __attribute__((used)) char *stack_cookie = "\0$STACK:262144\0";
const char * const versvn;
const char * const verdate;
--
NetSurf Browser