Gitweb links:

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

The branch, master has been updated
       via  0fad46cd0f21af5b896e7a6ee1f3b45fdf2a091a (commit)
       via  9c8d60792f42b5dd6b56e38bfc10467d1a5d22a7 (commit)
      from  8861923455a294927398c3207c12ed3e2d6f350e (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=0fad46cd0f21af5b896e7a6ee1f3b45fdf2a091a
commit 0fad46cd0f21af5b896e7a6ee1f3b45fdf2a091a
Author: Vincent Sanders <[email protected]>
Commit: Vincent Sanders <[email protected]>

    reduce unecessary usage of content headers

diff --git a/content/hlcache.h b/content/hlcache.h
index 0dd1020..3d9f41c 100644
--- a/content/hlcache.h
+++ b/content/hlcache.h
@@ -39,7 +39,7 @@ typedef struct hlcache_child_context {
 } hlcache_child_context;
 
 /** High-level cache event */
-typedef struct {
+typedef struct hlcache_event {
        content_msg type;               /**< Event type */
        union content_msg_data data;    /**< Event data */
 } hlcache_event;
diff --git a/content/llcache.h b/content/llcache.h
index cce9a79..796db66 100644
--- a/content/llcache.h
+++ b/content/llcache.h
@@ -37,7 +37,7 @@ struct fetch_multipart_data;
 typedef struct llcache_handle llcache_handle;
 
 /** POST data object for low-level cache requests */
-typedef struct {
+typedef struct llcache_post_data {
        enum {
                LLCACHE_POST_URL_ENCODED,
                LLCACHE_POST_MULTIPART
diff --git a/frontends/gtk/gui.c b/frontends/gtk/gui.c
index 27b73b1..3c7cdeb 100644
--- a/frontends/gtk/gui.c
+++ b/frontends/gtk/gui.c
@@ -39,7 +39,6 @@
 #include "utils/file.h"
 #include "utils/nsoption.h"
 #include "content/fetchers.h"
-#include "content/hlcache.h"
 #include "content/urldb.h"
 #include "content/backing_store.h"
 #include "netsurf/browser_window.h"
diff --git a/frontends/gtk/print.c b/frontends/gtk/print.c
index 17cb96f..55dcf63 100644
--- a/frontends/gtk/print.c
+++ b/frontends/gtk/print.c
@@ -33,8 +33,6 @@
 
 #include "utils/log.h"
 #include "utils/utils.h"
-#include "content/content.h"
-#include "content/hlcache.h"
 #include "utils/nsoption.h"
 #include "netsurf/plotters.h"
 #include "desktop/print.h"
@@ -48,7 +46,7 @@
 /* Globals */
 cairo_t *gtk_print_current_cr;
 static struct print_settings* settings;
-hlcache_handle *content_to_print;
+struct hlcache_handle *content_to_print;
 static GdkRectangle cliprect;
 
 static inline void nsgtk_print_set_colour(colour c)
diff --git a/frontends/gtk/search.c b/frontends/gtk/search.c
index 2c73814..2983096 100644
--- a/frontends/gtk/search.c
+++ b/frontends/gtk/search.c
@@ -28,12 +28,11 @@
 #include "utils/config.h"
 #include "utils/log.h"
 #include "utils/messages.h"
-#include "content/content.h"
-#include "content/hlcache.h"
+#include "utils/nsurl.h"
+#include "netsurf/search.h"
 #include "netsurf/browser_window.h"
 #include "desktop/search.h"
 #include "desktop/searchweb.h"
-#include "netsurf/search.h"
 
 #include "gtk/warn.h"
 #include "gtk/compat.h"
diff --git a/frontends/gtk/tabs.c b/frontends/gtk/tabs.c
index 56a1ed6..6adce3a 100644
--- a/frontends/gtk/tabs.c
+++ b/frontends/gtk/tabs.c
@@ -22,7 +22,6 @@
 #include "utils/nsoption.h"
 #include "utils/messages.h"
 #include "netsurf/browser_window.h"
-#include "content/content.h"
 #include "desktop/search.h"
 
 #include "gtk/compat.h"
diff --git a/frontends/gtk/viewdata.c b/frontends/gtk/viewdata.c
index 90a2366..6ed9dd9 100644
--- a/frontends/gtk/viewdata.c
+++ b/frontends/gtk/viewdata.c
@@ -40,10 +40,8 @@
 #include "utils/utils.h"
 #include "utils/file.h"
 #include "utils/filepath.h"
-
+#include "utils/nsurl.h"
 #include "netsurf/browser_window.h"
-#include "content/hlcache.h"
-#include "content/content.h"
 
 #include "gtk/warn.h"
 #include "gtk/about.h"


commitdiff 
http://git.netsurf-browser.org/netsurf.git/commit/?id=9c8d60792f42b5dd6b56e38bfc10467d1a5d22a7
commit 9c8d60792f42b5dd6b56e38bfc10467d1a5d22a7
Author: Vincent Sanders <[email protected]>
Commit: Vincent Sanders <[email protected]>

    reduce usage of content headers by monkey frontend

diff --git a/frontends/monkey/browser.c b/frontends/monkey/browser.c
index bfabd0f..3bf0dd0 100644
--- a/frontends/monkey/browser.c
+++ b/frontends/monkey/browser.c
@@ -20,16 +20,17 @@
 
 #include <stdio.h>
 #include <stdlib.h>
+#include <string.h>
 
 #include "utils/utils.h"
 #include "utils/ring.h"
 #include "utils/log.h"
 #include "utils/messages.h"
+#include "utils/nsurl.h"
 #include "netsurf/mouse.h"
 #include "netsurf/window.h"
 #include "netsurf/browser_window.h"
 #include "netsurf/plotters.h"
-#include "content/hlcache.h"
 
 #include "monkey/browser.h"
 #include "monkey/plot.h"
@@ -140,7 +141,7 @@ gui_window_new_content(struct gui_window *g)
 }
 
 static void
-gui_window_set_icon(struct gui_window *g, hlcache_handle *icon)
+gui_window_set_icon(struct gui_window *g, struct hlcache_handle *icon)
 {
   fprintf(stdout, "WINDOW NEW_ICON WIN %u\n", g->win_num);
 }
diff --git a/frontends/monkey/browser.h b/frontends/monkey/browser.h
index 3257274..2b03402 100644
--- a/frontends/monkey/browser.h
+++ b/frontends/monkey/browser.h
@@ -19,6 +19,8 @@
 #ifndef NETSURF_MONKEY_BROWSER_H
 #define NETSURF_MONKEY_BROWSER_H
 
+struct hlcache_handle;
+
 extern struct gui_window_table *monkey_window_table;
 extern struct gui_download_table *monkey_download_table;
 
@@ -37,7 +39,7 @@ struct gui_window {
 };
 
 struct gui_window *monkey_find_window_by_num(uint32_t win_num);
-struct gui_window *monkey_find_window_by_content(hlcache_handle *content);
+struct gui_window *monkey_find_window_by_content(struct hlcache_handle 
*content);
 void monkey_window_process_reformats(void);
 
 void monkey_window_handle_command(int argc, char **argv);
diff --git a/frontends/monkey/download.c b/frontends/monkey/download.c
index 3224105..f2e1cbf 100644
--- a/frontends/monkey/download.c
+++ b/frontends/monkey/download.c
@@ -24,7 +24,6 @@
 #include "utils/ring.h"
 #include "netsurf/download.h"
 #include "desktop/download.h"
-#include "content/hlcache.h"
 
 #include "monkey/browser.h"
 
diff --git a/frontends/monkey/filetype.c b/frontends/monkey/filetype.c
index d5517bf..2972523 100644
--- a/frontends/monkey/filetype.c
+++ b/frontends/monkey/filetype.c
@@ -27,7 +27,6 @@
 #include <sys/stat.h>
 #include <unistd.h>
 
-#include "content/fetch.h"
 #include "utils/log.h"
 #include "utils/hashtable.h"
 
diff --git a/frontends/monkey/main.c b/frontends/monkey/main.c
index 756eadb..c9bb8ab 100644
--- a/frontends/monkey/main.c
+++ b/frontends/monkey/main.c
@@ -22,6 +22,7 @@
 #include <sys/select.h>
 #include <sys/types.h>
 #include <unistd.h>
+#include <string.h>
 
 #include "utils/config.h"
 #include "utils/sys_time.h"
@@ -29,12 +30,11 @@
 #include "utils/messages.h"
 #include "utils/filepath.h"
 #include "utils/nsoption.h"
-#include "content/urldb.h"
-#include "content/fetchers.h"
-#include "content/fetchers/resource.h"
-#include "content/hlcache.h"
+#include "utils/nsurl.h"
 #include "netsurf/misc.h"
 #include "netsurf/netsurf.h"
+#include "content/urldb.h"
+#include "content/fetchers.h"
 
 #include "monkey/dispatch.h"
 #include "monkey/browser.h"


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

Summary of changes:
 content/hlcache.h           |    2 +-
 content/llcache.h           |    2 +-
 frontends/gtk/gui.c         |    1 -
 frontends/gtk/print.c       |    4 +---
 frontends/gtk/search.c      |    5 ++---
 frontends/gtk/tabs.c        |    1 -
 frontends/gtk/viewdata.c    |    4 +---
 frontends/monkey/browser.c  |    5 +++--
 frontends/monkey/browser.h  |    4 +++-
 frontends/monkey/download.c |    1 -
 frontends/monkey/filetype.c |    1 -
 frontends/monkey/main.c     |    8 ++++----
 12 files changed, 16 insertions(+), 22 deletions(-)

diff --git a/content/hlcache.h b/content/hlcache.h
index 0dd1020..3d9f41c 100644
--- a/content/hlcache.h
+++ b/content/hlcache.h
@@ -39,7 +39,7 @@ typedef struct hlcache_child_context {
 } hlcache_child_context;
 
 /** High-level cache event */
-typedef struct {
+typedef struct hlcache_event {
        content_msg type;               /**< Event type */
        union content_msg_data data;    /**< Event data */
 } hlcache_event;
diff --git a/content/llcache.h b/content/llcache.h
index cce9a79..796db66 100644
--- a/content/llcache.h
+++ b/content/llcache.h
@@ -37,7 +37,7 @@ struct fetch_multipart_data;
 typedef struct llcache_handle llcache_handle;
 
 /** POST data object for low-level cache requests */
-typedef struct {
+typedef struct llcache_post_data {
        enum {
                LLCACHE_POST_URL_ENCODED,
                LLCACHE_POST_MULTIPART
diff --git a/frontends/gtk/gui.c b/frontends/gtk/gui.c
index 27b73b1..3c7cdeb 100644
--- a/frontends/gtk/gui.c
+++ b/frontends/gtk/gui.c
@@ -39,7 +39,6 @@
 #include "utils/file.h"
 #include "utils/nsoption.h"
 #include "content/fetchers.h"
-#include "content/hlcache.h"
 #include "content/urldb.h"
 #include "content/backing_store.h"
 #include "netsurf/browser_window.h"
diff --git a/frontends/gtk/print.c b/frontends/gtk/print.c
index 17cb96f..55dcf63 100644
--- a/frontends/gtk/print.c
+++ b/frontends/gtk/print.c
@@ -33,8 +33,6 @@
 
 #include "utils/log.h"
 #include "utils/utils.h"
-#include "content/content.h"
-#include "content/hlcache.h"
 #include "utils/nsoption.h"
 #include "netsurf/plotters.h"
 #include "desktop/print.h"
@@ -48,7 +46,7 @@
 /* Globals */
 cairo_t *gtk_print_current_cr;
 static struct print_settings* settings;
-hlcache_handle *content_to_print;
+struct hlcache_handle *content_to_print;
 static GdkRectangle cliprect;
 
 static inline void nsgtk_print_set_colour(colour c)
diff --git a/frontends/gtk/search.c b/frontends/gtk/search.c
index 2c73814..2983096 100644
--- a/frontends/gtk/search.c
+++ b/frontends/gtk/search.c
@@ -28,12 +28,11 @@
 #include "utils/config.h"
 #include "utils/log.h"
 #include "utils/messages.h"
-#include "content/content.h"
-#include "content/hlcache.h"
+#include "utils/nsurl.h"
+#include "netsurf/search.h"
 #include "netsurf/browser_window.h"
 #include "desktop/search.h"
 #include "desktop/searchweb.h"
-#include "netsurf/search.h"
 
 #include "gtk/warn.h"
 #include "gtk/compat.h"
diff --git a/frontends/gtk/tabs.c b/frontends/gtk/tabs.c
index 56a1ed6..6adce3a 100644
--- a/frontends/gtk/tabs.c
+++ b/frontends/gtk/tabs.c
@@ -22,7 +22,6 @@
 #include "utils/nsoption.h"
 #include "utils/messages.h"
 #include "netsurf/browser_window.h"
-#include "content/content.h"
 #include "desktop/search.h"
 
 #include "gtk/compat.h"
diff --git a/frontends/gtk/viewdata.c b/frontends/gtk/viewdata.c
index 90a2366..6ed9dd9 100644
--- a/frontends/gtk/viewdata.c
+++ b/frontends/gtk/viewdata.c
@@ -40,10 +40,8 @@
 #include "utils/utils.h"
 #include "utils/file.h"
 #include "utils/filepath.h"
-
+#include "utils/nsurl.h"
 #include "netsurf/browser_window.h"
-#include "content/hlcache.h"
-#include "content/content.h"
 
 #include "gtk/warn.h"
 #include "gtk/about.h"
diff --git a/frontends/monkey/browser.c b/frontends/monkey/browser.c
index bfabd0f..3bf0dd0 100644
--- a/frontends/monkey/browser.c
+++ b/frontends/monkey/browser.c
@@ -20,16 +20,17 @@
 
 #include <stdio.h>
 #include <stdlib.h>
+#include <string.h>
 
 #include "utils/utils.h"
 #include "utils/ring.h"
 #include "utils/log.h"
 #include "utils/messages.h"
+#include "utils/nsurl.h"
 #include "netsurf/mouse.h"
 #include "netsurf/window.h"
 #include "netsurf/browser_window.h"
 #include "netsurf/plotters.h"
-#include "content/hlcache.h"
 
 #include "monkey/browser.h"
 #include "monkey/plot.h"
@@ -140,7 +141,7 @@ gui_window_new_content(struct gui_window *g)
 }
 
 static void
-gui_window_set_icon(struct gui_window *g, hlcache_handle *icon)
+gui_window_set_icon(struct gui_window *g, struct hlcache_handle *icon)
 {
   fprintf(stdout, "WINDOW NEW_ICON WIN %u\n", g->win_num);
 }
diff --git a/frontends/monkey/browser.h b/frontends/monkey/browser.h
index 3257274..2b03402 100644
--- a/frontends/monkey/browser.h
+++ b/frontends/monkey/browser.h
@@ -19,6 +19,8 @@
 #ifndef NETSURF_MONKEY_BROWSER_H
 #define NETSURF_MONKEY_BROWSER_H
 
+struct hlcache_handle;
+
 extern struct gui_window_table *monkey_window_table;
 extern struct gui_download_table *monkey_download_table;
 
@@ -37,7 +39,7 @@ struct gui_window {
 };
 
 struct gui_window *monkey_find_window_by_num(uint32_t win_num);
-struct gui_window *monkey_find_window_by_content(hlcache_handle *content);
+struct gui_window *monkey_find_window_by_content(struct hlcache_handle 
*content);
 void monkey_window_process_reformats(void);
 
 void monkey_window_handle_command(int argc, char **argv);
diff --git a/frontends/monkey/download.c b/frontends/monkey/download.c
index 3224105..f2e1cbf 100644
--- a/frontends/monkey/download.c
+++ b/frontends/monkey/download.c
@@ -24,7 +24,6 @@
 #include "utils/ring.h"
 #include "netsurf/download.h"
 #include "desktop/download.h"
-#include "content/hlcache.h"
 
 #include "monkey/browser.h"
 
diff --git a/frontends/monkey/filetype.c b/frontends/monkey/filetype.c
index d5517bf..2972523 100644
--- a/frontends/monkey/filetype.c
+++ b/frontends/monkey/filetype.c
@@ -27,7 +27,6 @@
 #include <sys/stat.h>
 #include <unistd.h>
 
-#include "content/fetch.h"
 #include "utils/log.h"
 #include "utils/hashtable.h"
 
diff --git a/frontends/monkey/main.c b/frontends/monkey/main.c
index 756eadb..c9bb8ab 100644
--- a/frontends/monkey/main.c
+++ b/frontends/monkey/main.c
@@ -22,6 +22,7 @@
 #include <sys/select.h>
 #include <sys/types.h>
 #include <unistd.h>
+#include <string.h>
 
 #include "utils/config.h"
 #include "utils/sys_time.h"
@@ -29,12 +30,11 @@
 #include "utils/messages.h"
 #include "utils/filepath.h"
 #include "utils/nsoption.h"
-#include "content/urldb.h"
-#include "content/fetchers.h"
-#include "content/fetchers/resource.h"
-#include "content/hlcache.h"
+#include "utils/nsurl.h"
 #include "netsurf/misc.h"
 #include "netsurf/netsurf.h"
+#include "content/urldb.h"
+#include "content/fetchers.h"
 
 #include "monkey/dispatch.h"
 #include "monkey/browser.h"


-- 
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