Page 16 of 21

Re: Netsurf

Posted: Mon Sep 18, 2017 1:56 pm
by baggacfreak
I will try the new version when I am home from work!

Re: Netsurf

Posted: Mon Sep 18, 2017 6:12 pm
by baggacfreak
Same result. Should I upload the video?
https://youtu.be/W7kf6ZPEQI4 not listed though

Re: Netsurf

Posted: Mon Sep 18, 2017 6:22 pm
by Leency
Please, download last ISO. There are last libraries inside.

Re: Netsurf

Posted: Mon Sep 18, 2017 6:52 pm
by baggacfreak
Leency wrote:Please, download last ISO. There are last libraries inside.
That was the missing link! Thanks for the hint! I downloaded the new iso files and put them on the second virtual harddisc and booted only with this one.

It worked!

Video is 14 minutes and shows some results. I had to copy the new binary to the tmp folder to get it to run, but tested both old and new one!

Video will take 20 minutes till it is uploaded (not listed) https://youtu.be/L97YOWrcNaU

If I should test sides or urls, post them and I will try to get another better video for the public.

Finally!

Re: Netsurf

Posted: Tue Sep 19, 2017 5:34 am
by JohnXenox
baggacfreak wrote:Did you test dosbox and dos browser like dillo for your offline stuff? Maybe this would work.

http://www.bttr-software.de/forum/board ... p?id=10797
Nope. Interesting ... But in the Kolibri, it will be inconvenient to use it. :?

Re: Netsurf

Posted: Tue Sep 19, 2017 9:05 am
by baggacfreak
JohnXenox wrote:
baggacfreak wrote:Did you test dosbox and dos browser like dillo for your offline stuff? Maybe this would work.

http://www.bttr-software.de/forum/board ... p?id=10797
Nope. Interesting ... But in the Kolibri, it will be inconvenient to use it. :?
I use dosbox a lot in kolibrios. But netsurf is the best bet so far!

Re: Netsurf

Posted: Thu Sep 21, 2017 12:48 am
by ashmew2
Fixed bugs with the scheduling.

Netsurf should be *much* faster now.

Let me know!

Re: Netsurf

Posted: Thu Sep 21, 2017 2:17 am
by Leency
Well, yeah!
It works much faster! What did you do? Did you change timeout delays by network event listening as I did in WebView?

Sorry, but forms and app param still don't work.

Re: Netsurf

Posted: Thu Sep 21, 2017 8:14 am
by ashmew2
Leency wrote:Well, yeah!
It works much faster! What did you do? Did you change timeout delays by network event listening as I did in WebView?

Sorry, but forms and app param still don't work.
Seems like our gettimeofday() implementation in libc doesn't work correctly.
I replaced that with SF 29,9 and it did the trick.

Problem was that gettimeofday() was returning values at the resolution of 1 second which was making all events wait at least one second (instead of a few millis).

I'll look into forms and the app param later ;)

Re: Netsurf

Posted: Thu Sep 21, 2017 9:31 am
by baggacfreak
and I will test as soon as find time. Great to see progress here!

Re: Netsurf

Posted: Thu Sep 21, 2017 10:50 am
by Leency
ashmew2
Clear. For downloading data you must use network events instead of timeout http://prntscr.com/gnss6k
This will:
1. speed up all downloads (about x3)
2. avoid timeouts for big images

Re: Netsurf

Posted: Thu Sep 21, 2017 9:46 pm
by baggacfreak
Check this out!

It is getting somewhere now!

https://www.youtube.com/watch?v=r-lW0PHIC84

Re: Netsurf

Posted: Fri Sep 22, 2017 7:36 am
by ashmew2
Leency wrote:ashmew2
Clear. For downloading data you must use network events instead of timeout http://prntscr.com/gnss6k
This will:
1. speed up all downloads (about x3)
2. avoid timeouts for big images
Leency, I already use Network events in Netsurf..
It's problematic to do the work for network events in an event-based loop instead of polling because I need to yield to netsurf scheduler from time to time.

Also, I don't want to pollute the libnsfb (framebuffer surface) specific code with network event handling. Will have to figure something out.
Which web pages are slow for you?

@baggacfreak: Does seem like it works more than earlier.

In other news, you can use the TAB key to cycle between text fields now (Part of next release!)

Re: Netsurf

Posted: Fri Sep 22, 2017 11:43 am
by Leency
Oh, sorry, didn't know.
I still have timeouts at http://aspero.pro/kolibri.html

Re: Netsurf

Posted: Fri Sep 22, 2017 5:51 pm
by hidnplayr
Leency wrote:ashmew2
Clear. For downloading data you must use network events instead of timeout http://prntscr.com/gnss6k
This will:
1. speed up all downloads (about x3)
2. avoid timeouts for big images
It is not necessary to use events with HTTP library, you just need to call receive function frequent enough ;)