Gitweb links:

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

The branch, master has been updated
       via  bacd8d229c478918f477026bbef2e752d5d67647 (commit)
      from  eba05b0d389a83d09798099e8894e297c973ac6e (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=bacd8d229c478918f477026bbef2e752d5d67647
commit bacd8d229c478918f477026bbef2e752d5d67647
Author: Vincent Sanders <[email protected]>
Commit: Vincent Sanders <[email protected]>

    make RISC OS specific window_screen_ options limited to that frontend

diff --git a/desktop/options.h b/desktop/options.h
index 9ae2b5e..0e56ad3 100644
--- a/desktop/options.h
+++ b/desktop/options.h
@@ -16,7 +16,8 @@
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
-/** \file
+/**
+ * \file
  * Option available on all platforms
  *
  * Non-platform specific options can be added by editing this file 
@@ -27,8 +28,8 @@
  *   with different macro definitions so there is no guard
  */
 
-#ifndef _NETSURF_DESKTOP_OPTIONS_H_
-#define _NETSURF_DESKTOP_OPTIONS_H_
+#ifndef NETSURF_DESKTOP_OPTIONS_H_
+#define NETSURF_DESKTOP_OPTIONS_H_
 
 #include "netsurf/types.h"
 
@@ -167,12 +168,6 @@ NSOPTION_INTEGER(window_width, 0)
 /** default height of new windows */
 NSOPTION_INTEGER(window_height, 0)
 
-/** width of screen when above options were saved */
-NSOPTION_INTEGER(window_screen_width, 0)
-
-/** height of screen when above options were saved */
-NSOPTION_INTEGER(window_screen_height, 0)
-
 /** default size of status bar vs. h scroll bar */
 NSOPTION_INTEGER(toolbar_status_size, 6667)
 
diff --git a/docs/netsurf-fb.1 b/docs/netsurf-fb.1
index a196fcf..e9d721c 100644
--- a/docs/netsurf-fb.1
+++ b/docs/netsurf-fb.1
@@ -146,12 +146,6 @@ The width of the initial window.
 .B \-\-window_height
 The height of the initial window.
 .TP
-.B \-\-window_screen_width
-window screen width
-.TP
-.B \-\-window_screen_height
-window screen height
-.TP
 .B \-\-toolbar_status_size
 toolbar status size
 .TP
diff --git a/docs/netsurf-gtk.1 b/docs/netsurf-gtk.1
index b2b97f7..daa0148 100644
--- a/docs/netsurf-gtk.1
+++ b/docs/netsurf-gtk.1
@@ -101,10 +101,6 @@ The Y co-ordinate of the initial window.
 The width of the initial window.
 .It Fl -window_height
 The height of the initial window.
-.It Fl -window_screen_width
-window screen width
-.It Fl -window_screen_height
-window screen height
 .It Fl -toolbar_status_size
 toolbar status size
 .It Fl -scale
diff --git a/frontends/riscos/options.h b/frontends/riscos/options.h
index cb2b78b..bf85f07 100644
--- a/frontends/riscos/options.h
+++ b/frontends/riscos/options.h
@@ -16,12 +16,20 @@
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
-/** \file
- * RISC OS specific options.
+/**
+ * \file
+ * Option specific to RISC OS
+ *
+ * Platform specific options for RISC OS can be added by editing this file
+ *
+ * Global optionsshould be added in the desktop options.h.
+ *
+ * This header is specificaly intented to be included multiple times
+ *   with different macro definitions so there is no guard
  */
 
-#ifndef _NETSURF_RISCOS_OPTIONS_H_
-#define _NETSURF_RISCOS_OPTIONS_H_
+#ifndef NETSURF_RISCOS_OPTIONS_H_
+#define NETSURF_RISCOS_OPTIONS_H_
 
 #include "riscos/tinct.h"
 
@@ -66,3 +74,13 @@ NSOPTION_BOOL(thumbnail_iconise, true)
 NSOPTION_BOOL(interactive_help, true)
 NSOPTION_BOOL(external_hotlists, false)
 NSOPTION_STRING(external_hotlist_app, NULL)
+
+/**
+ * width of screen when window_width option was saved
+ */
+NSOPTION_INTEGER(window_screen_width, 0)
+
+/**
+ * height of screen when window_heigh option was saved
+ */
+NSOPTION_INTEGER(window_screen_height, 0)
diff --git a/test/data/Choices b/test/data/Choices
index 439a67f..8ca4bec 100644
--- a/test/data/Choices
+++ b/test/data/Choices
@@ -50,8 +50,6 @@ window_x:0
 window_y:0
 window_width:0
 window_height:0
-window_screen_width:0
-window_screen_height:0
 toolbar_status_size:6667
 scale:100
 incremental_reflow:1
diff --git a/test/data/Choices-all b/test/data/Choices-all
index 492cd3e..2742339 100644
--- a/test/data/Choices-all
+++ b/test/data/Choices-all
@@ -41,8 +41,6 @@ window_x:0
 window_y:0
 window_width:0
 window_height:0
-window_screen_width:0
-window_screen_height:0
 toolbar_status_size:6667
 scale:100
 incremental_reflow:1


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

Summary of changes:
 desktop/options.h          |   13 ++++---------
 docs/netsurf-fb.1          |    6 ------
 docs/netsurf-gtk.1         |    4 ----
 frontends/riscos/options.h |   26 ++++++++++++++++++++++----
 test/data/Choices          |    2 --
 test/data/Choices-all      |    2 --
 6 files changed, 26 insertions(+), 27 deletions(-)

diff --git a/desktop/options.h b/desktop/options.h
index 9ae2b5e..0e56ad3 100644
--- a/desktop/options.h
+++ b/desktop/options.h
@@ -16,7 +16,8 @@
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
-/** \file
+/**
+ * \file
  * Option available on all platforms
  *
  * Non-platform specific options can be added by editing this file 
@@ -27,8 +28,8 @@
  *   with different macro definitions so there is no guard
  */
 
-#ifndef _NETSURF_DESKTOP_OPTIONS_H_
-#define _NETSURF_DESKTOP_OPTIONS_H_
+#ifndef NETSURF_DESKTOP_OPTIONS_H_
+#define NETSURF_DESKTOP_OPTIONS_H_
 
 #include "netsurf/types.h"
 
@@ -167,12 +168,6 @@ NSOPTION_INTEGER(window_width, 0)
 /** default height of new windows */
 NSOPTION_INTEGER(window_height, 0)
 
-/** width of screen when above options were saved */
-NSOPTION_INTEGER(window_screen_width, 0)
-
-/** height of screen when above options were saved */
-NSOPTION_INTEGER(window_screen_height, 0)
-
 /** default size of status bar vs. h scroll bar */
 NSOPTION_INTEGER(toolbar_status_size, 6667)
 
diff --git a/docs/netsurf-fb.1 b/docs/netsurf-fb.1
index a196fcf..e9d721c 100644
--- a/docs/netsurf-fb.1
+++ b/docs/netsurf-fb.1
@@ -146,12 +146,6 @@ The width of the initial window.
 .B \-\-window_height
 The height of the initial window.
 .TP
-.B \-\-window_screen_width
-window screen width
-.TP
-.B \-\-window_screen_height
-window screen height
-.TP
 .B \-\-toolbar_status_size
 toolbar status size
 .TP
diff --git a/docs/netsurf-gtk.1 b/docs/netsurf-gtk.1
index b2b97f7..daa0148 100644
--- a/docs/netsurf-gtk.1
+++ b/docs/netsurf-gtk.1
@@ -101,10 +101,6 @@ The Y co-ordinate of the initial window.
 The width of the initial window.
 .It Fl -window_height
 The height of the initial window.
-.It Fl -window_screen_width
-window screen width
-.It Fl -window_screen_height
-window screen height
 .It Fl -toolbar_status_size
 toolbar status size
 .It Fl -scale
diff --git a/frontends/riscos/options.h b/frontends/riscos/options.h
index cb2b78b..bf85f07 100644
--- a/frontends/riscos/options.h
+++ b/frontends/riscos/options.h
@@ -16,12 +16,20 @@
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
-/** \file
- * RISC OS specific options.
+/**
+ * \file
+ * Option specific to RISC OS
+ *
+ * Platform specific options for RISC OS can be added by editing this file
+ *
+ * Global optionsshould be added in the desktop options.h.
+ *
+ * This header is specificaly intented to be included multiple times
+ *   with different macro definitions so there is no guard
  */
 
-#ifndef _NETSURF_RISCOS_OPTIONS_H_
-#define _NETSURF_RISCOS_OPTIONS_H_
+#ifndef NETSURF_RISCOS_OPTIONS_H_
+#define NETSURF_RISCOS_OPTIONS_H_
 
 #include "riscos/tinct.h"
 
@@ -66,3 +74,13 @@ NSOPTION_BOOL(thumbnail_iconise, true)
 NSOPTION_BOOL(interactive_help, true)
 NSOPTION_BOOL(external_hotlists, false)
 NSOPTION_STRING(external_hotlist_app, NULL)
+
+/**
+ * width of screen when window_width option was saved
+ */
+NSOPTION_INTEGER(window_screen_width, 0)
+
+/**
+ * height of screen when window_heigh option was saved
+ */
+NSOPTION_INTEGER(window_screen_height, 0)
diff --git a/test/data/Choices b/test/data/Choices
index 439a67f..8ca4bec 100644
--- a/test/data/Choices
+++ b/test/data/Choices
@@ -50,8 +50,6 @@ window_x:0
 window_y:0
 window_width:0
 window_height:0
-window_screen_width:0
-window_screen_height:0
 toolbar_status_size:6667
 scale:100
 incremental_reflow:1
diff --git a/test/data/Choices-all b/test/data/Choices-all
index 492cd3e..2742339 100644
--- a/test/data/Choices-all
+++ b/test/data/Choices-all
@@ -41,8 +41,6 @@ window_x:0
 window_y:0
 window_width:0
 window_height:0
-window_screen_width:0
-window_screen_height:0
 toolbar_status_size:6667
 scale:100
 incremental_reflow:1


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