netsurf-wiki: branch master updated. 642822cf396c3dca7f165ed1bd37572627de4a83
by NetSurf Browser Project
Gitweb links:
...log http://git.netsurf-browser.org/netsurf-wiki.git/shortlog/642822cf396c3dca...
...commit http://git.netsurf-browser.org/netsurf-wiki.git/commit/642822cf396c3dca7f...
...tree http://git.netsurf-browser.org/netsurf-wiki.git/tree/642822cf396c3dca7f16...
The branch, master has been updated
via 642822cf396c3dca7f165ed1bd37572627de4a83 (commit)
from e2cf96804b51f8d306cfb76d4c7d88d75c0d7d58 (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-wiki.git/commit/?id=642822cf396c3d...
commit 642822cf396c3dca7f165ed1bd37572627de4a83
Author: Michael Drake <tlsa(a)netsurf-browser.org>
Commit: Michael Drake <tlsa(a)netsurf-browser.org>
Nov 2018 dev weekend: Corewindow / browser window plans.
diff --git a/developer-weekend/nov-2018.mdwn b/developer-weekend/nov-2018.mdwn
index ebb0250..2cda3a2 100644
--- a/developer-weekend/nov-2018.mdwn
+++ b/developer-weekend/nov-2018.mdwn
@@ -22,7 +22,7 @@ Topics
* Make monkey actually run functional tests
* Discuss ick CI system
-* corewindow for browser window chnage requirements
+* corewindow for browser window change requirements
* javascript console logging
* gtk download window
@@ -61,6 +61,36 @@ kinnison described five things that needed to be done:
* test plan language/definitions
* events from the core browser window to frontends
+
+### Corewindow for browser window change requirements
+
+Everything except browser window has been moved over to corewindow.
+
+The API is OK, but a little cumbersome to use, but it needs to flexible enough
+for lots of use cases.
+
+The main outstanding feature is that the browser window needs the front end
+to handle scaling at render time. This isn't supported by core window.
+
+The reason for this is mostly due to HTML layout engine currently doing
+scale by resizing viewport available width according to scale, reflowing,
+and redrawing with the scale applied. This was an optimisation to avoid
+needing to redo layout (measuring text) on scale changes. But it doesn't
+really work except on the RISC OS font manager, where text size scales
+linearly with pt size.
+
+Plan:
+
+1. Sink scale into browser window, so gui_windows can only set and get scale.
+2. Restructure front ends to have correct separation of gui, browser and core
+ window.
+3. Move browser windows over to core window.
+
+So front ends will only know about scale for e.g. saying scale in the title
+bar. All the complexity will move to browser_window. (For now; we should
+be able to improve matters with the new layout engine.)
+
+
Activity
========
-----------------------------------------------------------------------
Summary of changes:
developer-weekend/nov-2018.mdwn | 32 +++++++++++++++++++++++++++++++-
1 file changed, 31 insertions(+), 1 deletion(-)
diff --git a/developer-weekend/nov-2018.mdwn b/developer-weekend/nov-2018.mdwn
index ebb0250..2cda3a2 100644
--- a/developer-weekend/nov-2018.mdwn
+++ b/developer-weekend/nov-2018.mdwn
@@ -22,7 +22,7 @@ Topics
* Make monkey actually run functional tests
* Discuss ick CI system
-* corewindow for browser window chnage requirements
+* corewindow for browser window change requirements
* javascript console logging
* gtk download window
@@ -61,6 +61,36 @@ kinnison described five things that needed to be done:
* test plan language/definitions
* events from the core browser window to frontends
+
+### Corewindow for browser window change requirements
+
+Everything except browser window has been moved over to corewindow.
+
+The API is OK, but a little cumbersome to use, but it needs to flexible enough
+for lots of use cases.
+
+The main outstanding feature is that the browser window needs the front end
+to handle scaling at render time. This isn't supported by core window.
+
+The reason for this is mostly due to HTML layout engine currently doing
+scale by resizing viewport available width according to scale, reflowing,
+and redrawing with the scale applied. This was an optimisation to avoid
+needing to redo layout (measuring text) on scale changes. But it doesn't
+really work except on the RISC OS font manager, where text size scales
+linearly with pt size.
+
+Plan:
+
+1. Sink scale into browser window, so gui_windows can only set and get scale.
+2. Restructure front ends to have correct separation of gui, browser and core
+ window.
+3. Move browser windows over to core window.
+
+So front ends will only know about scale for e.g. saying scale in the title
+bar. All the complexity will move to browser_window. (For now; we should
+be able to improve matters with the new layout engine.)
+
+
Activity
========
--
NetSurf Developer Wiki Backing Store
4 years, 2 months
netsurf: branch master updated. release/3.8-34-gdf79047
by NetSurf Browser Project
Gitweb links:
...log http://git.netsurf-browser.org/netsurf.git/shortlog/df79047cb62c26755f350...
...commit http://git.netsurf-browser.org/netsurf.git/commit/df79047cb62c26755f35083...
...tree http://git.netsurf-browser.org/netsurf.git/tree/df79047cb62c26755f3508355...
The branch, master has been updated
via df79047cb62c26755f35083557686828849008b3 (commit)
from e275b3175b710d3289e83bf0130bd0504951adc2 (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=df79047cb62c26755f3...
commit df79047cb62c26755f35083557686828849008b3
Author: Michael Drake <tlsa(a)netsurf-browser.org>
Commit: Michael Drake <tlsa(a)netsurf-browser.org>
GTK: Squash a couple of warnings from GCC 8.2.
frontends/gtk/download.c: In function ‘nsgtk_download_do’:
frontends/gtk/download.c:238:24: warning: cast between incompatible function
types from ‘void (*)(GtkTreePath *)’ {aka ‘void (*)(struct _GtkTreePath *)’}
to ‘void (*)(void *, void *)’ [-Wcast-function-type]
g_list_foreach(rows, (GFunc)gtk_tree_path_free, NULL);
^
frontends/gtk/download.c:239:24: warning: cast between incompatible function
types from ‘void (*)(void *)’ to ‘void (*)(void *, void *)’ [-Wcast-function-type]
g_list_foreach(rows, (GFunc)g_free, NULL);
^
diff --git a/frontends/gtk/download.c b/frontends/gtk/download.c
index d11036e..57f92bf 100644
--- a/frontends/gtk/download.c
+++ b/frontends/gtk/download.c
@@ -212,6 +212,26 @@ static void nsgtk_download_sensitivity_evaluate(GtkTreeSelection *selection)
nsgtk_download_sensitivity_update_buttons(sensitivity);
}
+/**
+ * Wrapper to GFunc-ify gtk_tree_path_free for g_list_foreach.
+ */
+static void nsgtk_download_gfunc__gtk_tree_path_free(
+ gpointer data,
+ gpointer user_data)
+{
+ gtk_tree_path_free(data);
+}
+
+/**
+ * Wrapper to GFunc-ify g_free for g_list_foreach.
+ */
+static void nsgtk_download_gfunc__g_free(
+ gpointer data,
+ gpointer user_data)
+{
+ g_free(data);
+}
+
static void nsgtk_download_do(nsgtk_download_selection_action action)
{
GList *rows, *dls = NULL;
@@ -235,8 +255,8 @@ static void nsgtk_download_do(nsgtk_download_selection_action action)
rows = rows->next;
}
- g_list_foreach(rows, (GFunc)gtk_tree_path_free, NULL);
- g_list_foreach(rows, (GFunc)g_free, NULL);
+ g_list_foreach(rows, nsgtk_download_gfunc__gtk_tree_path_free, NULL);
+ g_list_foreach(rows, nsgtk_download_gfunc__g_free, NULL);
g_list_free(rows);
} else
dls = g_list_copy(nsgtk_downloads_list);
-----------------------------------------------------------------------
Summary of changes:
frontends/gtk/download.c | 24 ++++++++++++++++++++++--
1 file changed, 22 insertions(+), 2 deletions(-)
diff --git a/frontends/gtk/download.c b/frontends/gtk/download.c
index d11036e..57f92bf 100644
--- a/frontends/gtk/download.c
+++ b/frontends/gtk/download.c
@@ -212,6 +212,26 @@ static void nsgtk_download_sensitivity_evaluate(GtkTreeSelection *selection)
nsgtk_download_sensitivity_update_buttons(sensitivity);
}
+/**
+ * Wrapper to GFunc-ify gtk_tree_path_free for g_list_foreach.
+ */
+static void nsgtk_download_gfunc__gtk_tree_path_free(
+ gpointer data,
+ gpointer user_data)
+{
+ gtk_tree_path_free(data);
+}
+
+/**
+ * Wrapper to GFunc-ify g_free for g_list_foreach.
+ */
+static void nsgtk_download_gfunc__g_free(
+ gpointer data,
+ gpointer user_data)
+{
+ g_free(data);
+}
+
static void nsgtk_download_do(nsgtk_download_selection_action action)
{
GList *rows, *dls = NULL;
@@ -235,8 +255,8 @@ static void nsgtk_download_do(nsgtk_download_selection_action action)
rows = rows->next;
}
- g_list_foreach(rows, (GFunc)gtk_tree_path_free, NULL);
- g_list_foreach(rows, (GFunc)g_free, NULL);
+ g_list_foreach(rows, nsgtk_download_gfunc__gtk_tree_path_free, NULL);
+ g_list_foreach(rows, nsgtk_download_gfunc__g_free, NULL);
g_list_free(rows);
} else
dls = g_list_copy(nsgtk_downloads_list);
--
NetSurf Browser
4 years, 2 months
netsurf-wiki: branch master updated. e2cf96804b51f8d306cfb76d4c7d88d75c0d7d58
by NetSurf Browser Project
Gitweb links:
...log http://git.netsurf-browser.org/netsurf-wiki.git/shortlog/e2cf96804b51f8d3...
...commit http://git.netsurf-browser.org/netsurf-wiki.git/commit/e2cf96804b51f8d306...
...tree http://git.netsurf-browser.org/netsurf-wiki.git/tree/e2cf96804b51f8d306cf...
The branch, master has been updated
via e2cf96804b51f8d306cfb76d4c7d88d75c0d7d58 (commit)
from 2f6ed99c4a1ac6dc8202c5a26faee6055bee8697 (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-wiki.git/commit/?id=e2cf96804b51f8...
commit e2cf96804b51f8d306cfb76d4c7d88d75c0d7d58
Author: Vincent Sanders <vince(a)kyllikki.org>
Commit: Vincent Sanders <vince(a)kyllikki.org>
update with friday nights discussions
diff --git a/developer-weekend/nov-2018.mdwn b/developer-weekend/nov-2018.mdwn
index 7ce253d..ebb0250 100644
--- a/developer-weekend/nov-2018.mdwn
+++ b/developer-weekend/nov-2018.mdwn
@@ -21,11 +21,14 @@ Topics
======
* Make monkey actually run functional tests
+* Discuss ick CI system
+* corewindow for browser window chnage requirements
+* javascript console logging
+* gtk download window
-Monkey
-------
+## Monkey
----Vincents notes---
+### Vincents notes
It would be useful if monkey could run complete page fetch tests automatically.
@@ -37,7 +40,7 @@ The test plan and criteria should be stored alongside the test data.
A minimum viable test corpus should include:
-* smoke test (i.e. can browser actually start and find resources etc.)
+* smoke test i.e. can browser actually start and find resources, messages etc.
* page retrieval and render with at least http and https schemes
* redirect tests
* form tests
@@ -48,6 +51,16 @@ Extra credit things
* a coverage build
* valgrind or similar to spot out of bounds memory accesses and leaks
+### Discussion
+
+kinnison described five things that needed to be done:
+
+* extend C interface with vtable callbacks for certificate and 401 login
+* extend C interface with form interation
+* test driver in python
+* test plan language/definitions
+* events from the core browser window to frontends
+
Activity
========
-----------------------------------------------------------------------
Summary of changes:
developer-weekend/nov-2018.mdwn | 21 +++++++++++++++++----
1 file changed, 17 insertions(+), 4 deletions(-)
diff --git a/developer-weekend/nov-2018.mdwn b/developer-weekend/nov-2018.mdwn
index 7ce253d..ebb0250 100644
--- a/developer-weekend/nov-2018.mdwn
+++ b/developer-weekend/nov-2018.mdwn
@@ -21,11 +21,14 @@ Topics
======
* Make monkey actually run functional tests
+* Discuss ick CI system
+* corewindow for browser window chnage requirements
+* javascript console logging
+* gtk download window
-Monkey
-------
+## Monkey
----Vincents notes---
+### Vincents notes
It would be useful if monkey could run complete page fetch tests automatically.
@@ -37,7 +40,7 @@ The test plan and criteria should be stored alongside the test data.
A minimum viable test corpus should include:
-* smoke test (i.e. can browser actually start and find resources etc.)
+* smoke test i.e. can browser actually start and find resources, messages etc.
* page retrieval and render with at least http and https schemes
* redirect tests
* form tests
@@ -48,6 +51,16 @@ Extra credit things
* a coverage build
* valgrind or similar to spot out of bounds memory accesses and leaks
+### Discussion
+
+kinnison described five things that needed to be done:
+
+* extend C interface with vtable callbacks for certificate and 401 login
+* extend C interface with form interation
+* test driver in python
+* test plan language/definitions
+* events from the core browser window to frontends
+
Activity
========
--
NetSurf Developer Wiki Backing Store
4 years, 2 months
netsurf-wiki: branch master updated. 2f6ed99c4a1ac6dc8202c5a26faee6055bee8697
by NetSurf Browser Project
Gitweb links:
...log http://git.netsurf-browser.org/netsurf-wiki.git/shortlog/2f6ed99c4a1ac6dc...
...commit http://git.netsurf-browser.org/netsurf-wiki.git/commit/2f6ed99c4a1ac6dc82...
...tree http://git.netsurf-browser.org/netsurf-wiki.git/tree/2f6ed99c4a1ac6dc8202...
The branch, master has been updated
via 2f6ed99c4a1ac6dc8202c5a26faee6055bee8697 (commit)
from c9e26c21d1abc2c3d4cfaff84898b088916cd7c5 (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-wiki.git/commit/?id=2f6ed99c4a1ac6...
commit 2f6ed99c4a1ac6dc8202c5a26faee6055bee8697
Author: Vincent Sanders <vince(a)kyllikki.org>
Commit: Vincent Sanders <vince(a)kyllikki.org>
add developer weekend page
diff --git a/developer-weekend/nov-2018.mdwn b/developer-weekend/nov-2018.mdwn
new file mode 100644
index 0000000..7ce253d
--- /dev/null
+++ b/developer-weekend/nov-2018.mdwn
@@ -0,0 +1,84 @@
+[[!meta title="Developer Weekend (November 2018)"]]
+[[!meta author="Vincent Sanders"]]
+[[!meta date="2018-11-02 12:00:00"]]
+
+[[!toc]]
+
+Attendees
+=========
+
+* Michael Drake
+* Vincent Sanders
+* Daniel Silverstone
+
+Apologies
+=========
+
+* John-Mark Bell
+* Chris Young
+
+Topics
+======
+
+* Make monkey actually run functional tests
+
+Monkey
+------
+
+---Vincents notes---
+
+It would be useful if monkey could run complete page fetch tests automatically.
+
+I think that we create a jenkins job to export the netsurftest.git repo to test.netsurf-browser.org hosted on the CI system. either on master node or a worker VM via redirect (like bugs)
+
+A CI target that is triggered from a successful netsurf build (like the unit test target) which builds monkey frontend and uses automation to run through the tests served in the test server.
+
+The test plan and criteria should be stored alongside the test data.
+
+A minimum viable test corpus should include:
+
+* smoke test (i.e. can browser actually start and find resources etc.)
+* page retrieval and render with at least http and https schemes
+* redirect tests
+* form tests
+* moving and executing the existing javascript tests from the netsurf codebase to test repo
+
+Extra credit things
+
+* a coverage build
+* valgrind or similar to spot out of bounds memory accesses and leaks
+
+Activity
+========
+
+Bug Triage
+----------
+
+* Group bug for line breaking issues is [[!bug 467]]
+
+Daniel
+------
+
+
+Michael
+-------
+
+
+Vincent
+-------
+
+* fixup CI workers to be operational again
+
+
+Frontends
+=========
+
+We revisited the decisions made in [July](../jul-2018/) and
+decided they're all good so we're not changing them for now.
+
+Next time
+=========
+
+We have chosen the next developer weekend to be .
+It shall be at
+
-----------------------------------------------------------------------
Summary of changes:
developer-weekend/nov-2018.mdwn | 84 +++++++++++++++++++++++++++++++++++++++
1 file changed, 84 insertions(+)
create mode 100644 developer-weekend/nov-2018.mdwn
diff --git a/developer-weekend/nov-2018.mdwn b/developer-weekend/nov-2018.mdwn
new file mode 100644
index 0000000..7ce253d
--- /dev/null
+++ b/developer-weekend/nov-2018.mdwn
@@ -0,0 +1,84 @@
+[[!meta title="Developer Weekend (November 2018)"]]
+[[!meta author="Vincent Sanders"]]
+[[!meta date="2018-11-02 12:00:00"]]
+
+[[!toc]]
+
+Attendees
+=========
+
+* Michael Drake
+* Vincent Sanders
+* Daniel Silverstone
+
+Apologies
+=========
+
+* John-Mark Bell
+* Chris Young
+
+Topics
+======
+
+* Make monkey actually run functional tests
+
+Monkey
+------
+
+---Vincents notes---
+
+It would be useful if monkey could run complete page fetch tests automatically.
+
+I think that we create a jenkins job to export the netsurftest.git repo to test.netsurf-browser.org hosted on the CI system. either on master node or a worker VM via redirect (like bugs)
+
+A CI target that is triggered from a successful netsurf build (like the unit test target) which builds monkey frontend and uses automation to run through the tests served in the test server.
+
+The test plan and criteria should be stored alongside the test data.
+
+A minimum viable test corpus should include:
+
+* smoke test (i.e. can browser actually start and find resources etc.)
+* page retrieval and render with at least http and https schemes
+* redirect tests
+* form tests
+* moving and executing the existing javascript tests from the netsurf codebase to test repo
+
+Extra credit things
+
+* a coverage build
+* valgrind or similar to spot out of bounds memory accesses and leaks
+
+Activity
+========
+
+Bug Triage
+----------
+
+* Group bug for line breaking issues is [[!bug 467]]
+
+Daniel
+------
+
+
+Michael
+-------
+
+
+Vincent
+-------
+
+* fixup CI workers to be operational again
+
+
+Frontends
+=========
+
+We revisited the decisions made in [July](../jul-2018/) and
+decided they're all good so we're not changing them for now.
+
+Next time
+=========
+
+We have chosen the next developer weekend to be .
+It shall be at
+
--
NetSurf Developer Wiki Backing Store
4 years, 2 months