Gitweb links:

...log 
http://git.netsurf-browser.org/netsurf.git/shortlog/b25c7b3d2d3da854755208e05e43cbe787f389ae
...commit 
http://git.netsurf-browser.org/netsurf.git/commit/b25c7b3d2d3da854755208e05e43cbe787f389ae
...tree 
http://git.netsurf-browser.org/netsurf.git/tree/b25c7b3d2d3da854755208e05e43cbe787f389ae

The branch, master has been updated
       via  b25c7b3d2d3da854755208e05e43cbe787f389ae (commit)
       via  2e50e1ea71232998d610449bb3a1fe8902580f43 (commit)
      from  9952ef000c95013b8a9f50289f9e33d4477b8cb6 (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=b25c7b3d2d3da854755208e05e43cbe787f389ae
commit b25c7b3d2d3da854755208e05e43cbe787f389ae
Author: Daniel Silverstone <[email protected]>
Commit: Daniel Silverstone <[email protected]>

    Add plot commands output for auth test

diff --git a/test/monkeyfarmer.py b/test/monkeyfarmer.py
index b5d969e..46901e9 100644
--- a/test/monkeyfarmer.py
+++ b/test/monkeyfarmer.py
@@ -464,7 +464,7 @@ if __name__ == '__main__':
     win = browser.new_window()
     win.load_page("https://httpbin.org/basic-auth/foo/bar";)
     cmds = win.redraw()
-    
+    print("Received {} plot commands for auth test".format(len(cmds)))
     for cmd in cmds:
         if cmd[0] == "TEXT":
             x = cmd[2]


commitdiff 
http://git.netsurf-browser.org/netsurf.git/commit/?id=2e50e1ea71232998d610449bb3a1fe8902580f43
commit 2e50e1ea71232998d610449bb3a1fe8902580f43
Author: Daniel Silverstone <[email protected]>
Commit: Daniel Silverstone <[email protected]>

    Fix text plotter in monkey

diff --git a/frontends/monkey/plot.c b/frontends/monkey/plot.c
index 7a84c4a..a8f0d61 100644
--- a/frontends/monkey/plot.c
+++ b/frontends/monkey/plot.c
@@ -245,7 +245,7 @@ monkey_plot_text(const struct redraw_context *ctx,
                 const char *text,
                 size_t length)
 {
-       moutf(MOUT_PLOT, "TEXT X %d Y %d STR %*s\n", x, y, (int)length, text);
+       moutf(MOUT_PLOT, "TEXT X %d Y %d STR %.*s", x, y, (int)length, text);
        return NSERROR_OK;
 }
 


-----------------------------------------------------------------------

Summary of changes:
 frontends/monkey/plot.c |    2 +-
 test/monkeyfarmer.py    |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/frontends/monkey/plot.c b/frontends/monkey/plot.c
index 7a84c4a..a8f0d61 100644
--- a/frontends/monkey/plot.c
+++ b/frontends/monkey/plot.c
@@ -245,7 +245,7 @@ monkey_plot_text(const struct redraw_context *ctx,
                 const char *text,
                 size_t length)
 {
-       moutf(MOUT_PLOT, "TEXT X %d Y %d STR %*s\n", x, y, (int)length, text);
+       moutf(MOUT_PLOT, "TEXT X %d Y %d STR %.*s", x, y, (int)length, text);
        return NSERROR_OK;
 }
 
diff --git a/test/monkeyfarmer.py b/test/monkeyfarmer.py
index b5d969e..46901e9 100644
--- a/test/monkeyfarmer.py
+++ b/test/monkeyfarmer.py
@@ -464,7 +464,7 @@ if __name__ == '__main__':
     win = browser.new_window()
     win.load_page("https://httpbin.org/basic-auth/foo/bar";)
     cmds = win.redraw()
-    
+    print("Received {} plot commands for auth test".format(len(cmds)))
     for cmd in cmds:
         if cmd[0] == "TEXT":
             x = cmd[2]


-- 
NetSurf Browser

_______________________________________________
netsurf-commits mailing list
[email protected]
http://listmaster.pepperfish.net/cgi-bin/mailman/listinfo/netsurf-commits-netsurf-browser.org

Reply via email to