9front - general discussion about 9front
 help / color / mirror / Atom feed
* Re: [9front] netsurf news
@ 2021-02-12  6:15 Romano
  2021-02-12  7:05 ` telephil9
  0 siblings, 1 reply; 8+ messages in thread
From: Romano @ 2021-02-12  6:15 UTC (permalink / raw)
  To: 9front

Quoth telephil9@gmail.com:
> After a somehow long hiatus I recently resumed work on the netsurf port and I feel that given 
> the number of changes this deserves some kind of "release notes".
> ...
> Bug fixes (main ones as this mail is already long enough):
> - libcss issue leading to netsurf crashing on some sites
> - fix js and svg crashes due to too harsh fp rules (thanks ori)
> - scrolling was not clipped to page bounds (thanks mforney)
> - various drawing enhancements (thanks mforney)
> - force user-agent to fix some sites not rendering properly
> - html frames not rendering properly
> 
> Please share any bugs or feature requests you may have.

Thank you so much to you, Ori, Michael, and Sigrid for working on
this!  Do any of you have Paypal or anything I can use to donate to
you?  I am trying to divorce myself from os x dependency, and wed
myself to 9front.  This is a big step for me towards that, since at
times I'll need a browser that does better than mothra for
presentation.

I had initially built the netsurf port back in June or July of last
year, and the performance issues were a show-stopper for me.  I am now
at least able to browse around basic sites and the performance is
reasonable.  One thing I have found, however, is that using JS
"appears" to suicide the process.  I use scary quotes because the
behavior persists after restarting the process and going to sites that
beforehand loaded fine without JS, even with nojs configured (e.g,
google.com):
	netsurf 7081021: suicide: sys: trap: misaligned pc pc=0xffffffff812d1155

After a minute or two, things generally clear up and I can start
netsurf and go to the sites (with nojs again--using js triggers the
suicide yet again).

I am running on rpi4.  I have left a snap (~65MB) @
https://fallglow.com/david/2021-02-11.netsurf.snap , if that helps at
all.

I also tried using 'new window' in menu2 when over a link with url
parameters, and that produces an rc error:
1. Go to http://www.google.com
2. Hover over 'News' at the top, and menu2 click 'new window'
3. rc: line 2: token '=': syntax error

I tracked it down to netsurf/frontends/plan9/utils.c and have this patch, which works for me and hopefully is correct:
--- /mnt/git/object/a3de9f6c49521cbce2ff751b43bf4e30f8428660/tree/frontends/plan9/utils.c
+++ frontends/plan9/utils.c
@@ -185,7 +185,7 @@
 		fprintf(stderr, "rfork failed\n");
 		return;
 	case 0:
-		snprintf(buf, sizeof buf, "window %s %s", "netsurf", url);
+		snprintf(buf, sizeof buf, "window %s '''%s'''", "netsurf", url);
 		execl("/bin/rc", "rc", "-c", buf, 0);
 		fprintf(stderr, "exec failed\n");
 		exit(1);

Minor feature requests are to have the double-click in the address bar
to select all, have the address bar scroll the text (for really long
urls), and to have the 'stop loading' as a menu3 item.

- Romano

^ permalink raw reply	[flat|nested] 8+ messages in thread
* [9front] netsurf news
@ 2021-02-09 12:30 telephil9
  2021-02-09 14:16 ` Stanley Lieber
  0 siblings, 1 reply; 8+ messages in thread
From: telephil9 @ 2021-02-09 12:30 UTC (permalink / raw)
  To: 9front

Hi,

After a somehow long hiatus I recently resumed work on the netsurf port and I feel that given 
the number of changes this deserves some kind of "release notes".

First, I would like to thank Ori for taking care of keeping the tree in sync with upstream, Sigrid and 
Michael Forney for their various patches.

Build:
- All dependencies are now vendored in the organization repo so no more reliance on our beloved ports.
- Framebuffer frontend is gone as I don't have the time nor interest in maintaining both ports.

Performances:
This was the major drawback of the port and was mainly caused by my initial event scheduler implementation
along with the webfs backend. Both were rewritten to fix slow loading times.
In addition, special care has been taken to ensure redraws are done only when and where (ie screen area) necessary.
With all of this done, netsurf now has reasonable performances.

Image support:
- image support is now enabled by default.
- basic SVG support has been added (still needs some work).

Plumbing:
- netsurf supports incoming plumb messages and will either open the page or (like mothra) forward the link content
to the image port (for images and ps/pdf documents)
- text plumbing is also supported
- any unrecognized link url (e.g. mailto: or gopher://) is sent to the plumber

UI:
- menu2 changes based on where you click (web page, link or image)
- mouse text selection is now possible in address bar (thanks sigrid)
- rio-like text selection with double-clicks
- mouse chording for snarf/cut/paste
- native keyboard shortcuts (^U, ^W, ...) for address bar and html textfields
- ^B focus address bar, ^G focus the web page
- "galaxy brain scrolling"
- native looking tick (or is it called caret ?) in html forms

New features:
- configuration is saved in $home/lib/netsurf (you can change homepage_url from there for instance)
- file downloads
- text search (look in menu2)
- web search (search in menu3). Search engine can be changed from the menu in the top-left corner of the window and is saved across sessions.
- bookmarks support
- history support: all time history is available through menu3, session history is available by right-clicking the 'back' button
- ability to enable/disable javascript through menu3 (js/nojs)

Bug fixes (main ones as this mail is already long enough):
- libcss issue leading to netsurf crashing on some sites
- fix js and svg crashes due to too harsh fp rules (thanks ori)
- scrolling was not clipped to page bounds (thanks mforney)
- various drawing enhancements (thanks mforney)
- force user-agent to fix some sites not rendering properly
- html frames not rendering properly

Please share any bugs or feature requests you may have.

--phil

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2021-02-27  3:50 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-12  6:15 [9front] netsurf news Romano
2021-02-12  7:05 ` telephil9
2021-02-12  8:49   ` Romano, david
2021-02-23  4:40   ` sl
2021-02-25  6:11     ` telephil9
2021-02-27  3:46       ` sl
  -- strict thread matches above, loose matches on Subject: below --
2021-02-09 12:30 telephil9
2021-02-09 14:16 ` Stanley Lieber

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).