Welcome, Guest. Please login or register.

Author Topic: Netsurf V3.0 Amiga release 2  (Read 30706 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline unusedunused

  • Sr. Member
  • ****
  • Join Date: Nov 2005
  • Posts: 479
    • Show only replies by unusedunused
Re: Netsurf V3.0 Amiga release 2
« Reply #44 on: November 27, 2009, 02:54:31 PM »
@0amigan0

>Here's a MUI programming tutorial (http://www.ezcyberspace.com/gcc/index.html ), in >case you or Artur aren't particularly experienced in MUI.

change of GUI is lots work, and if its not sure when netsurf get Java Script and frames, i dont want spend much work on it.Because the netsurf devs do not care about MUI or amiga code, they can change at any time something, so the MUI Version fail to work(happen with MOS MUI code).and then there is more time need.

So its better to wait for a nicer GUI until netsurf have all features modern browsers have.

Artur have add to sdl GUI all features a modern browser need, download of files with progress request.show and download videos, bookmarks and hotlink buttons.

only scroll and textinput must enhance and all important can do with it as can do with a nicer GUI
« Last Edit: November 27, 2009, 02:58:51 PM by bernd_afa »
 

Offline 0amigan0

  • Full Member
  • ***
  • Join Date: Dec 2006
  • Posts: 109
    • Show only replies by 0amigan0
Re: Netsurf V3.0 Amiga release 2
« Reply #45 on: November 27, 2009, 04:09:30 PM »
Quote from: bernd_afa;531497
@0amigan0

>Here's a MUI programming tutorial (http://www.ezcyberspace.com/gcc/index.html ), in >case you or Artur aren't particularly experienced in MUI.

change of GUI is lots work, and if its not sure when netsurf get Java Script and frames, i dont want spend much work on it.Because the netsurf devs do not care about MUI or amiga code, they can change at any time something, so the MUI Version fail to work(happen with MOS MUI code).and then there is more time need.

So its better to wait for a nicer GUI until netsurf have all features modern browsers have.

Artur have add to sdl GUI all features a modern browser need, download of files with progress request.show and download videos, bookmarks and hotlink buttons.

only scroll and textinput must enhance and all important can do with it as can do with a nicer GUI



OK, I get it! :-)
Can u at least, add some sort of contextual menu? I want for example right-click on a link and run an arexx script.
 

Offline MozzerFan

  • Hero Member
  • *****
  • Join Date: Mar 2005
  • Posts: 607
  • Country: 00
    • Show only replies by MozzerFan
Re: Netsurf V3.0 Amiga release 2
« Reply #46 on: November 27, 2009, 04:22:24 PM »
Quote from: bernd_afa;531495
The main reason for this settings is that you can scroll in a page before it is full load.the full load time is normaly not much faster.

Just to make sure, I tested it again.
 
Test on my classic system with 060/50, PIV, screen depth 1024x768 16-bits , Netsurf windows size 1024x768:
 
With old options: amiga org  displays the page after 20 sec., but full page load takes 60 secs. I've tried this 2 times with a freshly started system. Both times it takes about 60 sec.
 
With new options: amiga.org displays the page after 20 sec, but full page load takes 39 secs. Also tried 2 times with a freshly started system. Both times it takes about 39 sec.
 
 
Test under WinUAE screen depth 1600x1200 32-bits, netsurf window size 1024x768:
 
With old options: amiga.org displays the page after 8 sec, but full page load takes 24 secs. Also tried 2 times with a freshly started system. Both times it takes about 24 sec.
 
With new options: amiga.org displays the page after 5 sec, but full page load takes 15 sec. Also tried 2 times with a freshly started system. Both times it takes about 15 sec.
 
 
With amigaworld.net I hardly notice a difference. I haven't measured the time with any other sites.
 

Offline Everblue

  • Hero Member
  • *****
  • Join Date: Dec 2004
  • Posts: 584
    • Show only replies by Everblue
Re: Netsurf V3.0 Amiga release 2
« Reply #47 on: November 27, 2009, 04:57:32 PM »
It takes so much time to load on a real amiga... is this because it loads slowly, or it takes its time to render?
 

Offline unusedunused

  • Sr. Member
  • ****
  • Join Date: Nov 2005
  • Posts: 479
    • Show only replies by unusedunused
Re: Netsurf V3.0 Amiga release 2
« Reply #48 on: November 27, 2009, 04:59:57 PM »
>Can u at least, add some sort of contextual menu? I want for example right-click on a link >and run an arexx script.

context menu seem in netsurf core in, and need not support from the AOS GUI.
, but i dont know how this activate in SDL.

In desktop/browser.c file is this that should over a link open a menu.But when press right mousebutton do same as left mouse button.starting a arexx script is a selden need feature i see not on windows or linux browsers.Does that work on OS4 or MOS browsers?

More usefull to have context menus is to save a image to disk.or start a new netsurf that show the page in another window.

case GADGET_SELECT:
         status = messages_get("FormSelect");
         pointer = GUI_POINTER_MENU;
         if (mouse & BROWSER_MOUSE_CLICK_1 &&
               option_core_select_menu) {
            bw->visible_select_menu = gadget;
            form_open_select_menu(bw, gadget,
                  browser_select_menu_callback,
                  bw);
            pointer =  GUI_POINTER_DEFAULT;
         } else if (mouse & BROWSER_MOUSE_CLICK_1)
            gui_create_form_select_menu(bw, gadget);
         break;

I think a context menu is not need, better use the F keys or show key shortcuts that can press when mouse is over a link.

>With new options: amiga.org displays the page after 20 sec, but full page load takes 39 >secs. Also tried 2 times with a freshly started system. Both times it takes about 39 sec.

does then after 20 sec click on a new link or scrolling of page work ?

there need selden wait until page is full load.most time when page is show then user click or scroll and dont wait until page is full load

>It takes so much time to load on a real amiga... is this because it loads slowly, or it takes >its time to render?

it takes time to render, the GFX Action cost not much time.netsurf render all in ram, and the part thats show is copy to GFX Card.

and when you see nothing, then netsurf or any other browser load or renders the page in RAM.

to display a page so a user can see it, is graphic action but it need not more than 0,3 sec also on a slow real amiga
« Last Edit: November 27, 2009, 05:20:50 PM by bernd_afa »
 

Offline unusedunused

  • Sr. Member
  • ****
  • Join Date: Nov 2005
  • Posts: 479
    • Show only replies by unusedunused
Re: Netsurf V3.0 Amiga release 2
« Reply #49 on: November 27, 2009, 05:17:33 PM »
>With new options: amiga.org displays the page after 5 sec, but full page load takes 15 >sec. Also tried 2 times with a freshly started system. Both times it takes about 15 sec.

What DSL and winuae System (CPU)you have ?

On my system display page after 3-3,5 sec and full page is show after 10 sec.but after 3,5 sec i can scroll page with more than 20 fps or click on a link
« Last Edit: November 27, 2009, 05:20:00 PM by bernd_afa »
 

Offline MozzerFan

  • Hero Member
  • *****
  • Join Date: Mar 2005
  • Posts: 607
  • Country: 00
    • Show only replies by MozzerFan
Re: Netsurf V3.0 Amiga release 2
« Reply #50 on: November 27, 2009, 05:23:29 PM »
Quote from: bernd_afa;531508
>With new options: amiga.org displays the page after 5 sec, but full page load takes 15 >sec. Also tried 2 times with a freshly started system. Both times it takes about 15 sec.
 
What DSL and winuae System (CPU)you have ?
 
On my system display page after 3-3,5 sec and full page is show after 10 sec.but after 3,5 sec i can scroll page with more than 20 fps or click on a link

This is on a Pentium 4 3 Ghz system with 1.5 GB RAM.
 
DSL is a 8 Mbit connection.
 

Offline unusedunused

  • Sr. Member
  • ****
  • Join Date: Nov 2005
  • Posts: 479
    • Show only replies by unusedunused
Re: Netsurf V3.0 Amiga release 2
« Reply #51 on: November 28, 2009, 11:13:02 AM »
About the speed, i ask about the 150 megabyte problem for a page.They say that the cache in netsurf currently not work, and all is load more often than need, so in future we can hope for much more speed and mem usage.

http://vlists.pepperfish.net/pipermail/netsurf-dev-netsurf-browser.org/2009-November/001649.html

I suggest to switch off the cache, but it currently not work to switch it off.

To avoid speedloss you can then use a cache proxy on AOS.but you need to set taskpri to 1 of this so it have better priotity as netsurf.

maybe somebody try out netsurf with cache proxy if its faster on classic.
this a Ex Amiga User and network expert dev i know use long time on his classic and it work well and fast on his classic  

http://aminet.net/package/comm/tcp/httpproxy-0_14

but there are also other cache proxiy on aminet maybe there are better one now

>This is on a Pentium 4 3 Ghz system with 1.5 GB RAM.

>DSL is a 8 Mbit connection.

I have only DSL 3 MBit(more not possible)  and a AMD64 3000+ with real 1,8 GHZ.the 3000+ mean your systems should be equal speed.

seem your winuae JIT settings are not good.

Here you can see a old screenshot how the settings should be for JIT.

http://www.pcguru.plus.com/uaegfx/cpu.gif

For the sound you should enable automatic switching.

if this not make your winuae faster, you can also send me your winuae config.
« Last Edit: November 28, 2009, 11:43:27 AM by bernd_afa »
 

Offline MozzerFan

  • Hero Member
  • *****
  • Join Date: Mar 2005
  • Posts: 607
  • Country: 00
    • Show only replies by MozzerFan
Re: Netsurf V3.0 Amiga release 2
« Reply #52 on: November 28, 2009, 12:08:50 PM »
Quote from: bernd_afa;531592
seem your winuae JIT settings are not good.
 
Here you can see a old screenshot how the settings should be for JIT.
 
http://www.pcguru.plus.com/uaegfx/cpu.gif
 

I've changed my JIT settings, and now I get similiar speeds as you with Netsurf. Thanks :)
 

Offline MozzerFan

  • Hero Member
  • *****
  • Join Date: Mar 2005
  • Posts: 607
  • Country: 00
    • Show only replies by MozzerFan
Re: Netsurf V3.0 Amiga release 2
« Reply #53 on: November 28, 2009, 03:41:17 PM »
Quote from: bernd_afa;531592

maybe somebody try out netsurf with cache proxy if its faster on classic.
this a Ex Amiga User and network expert dev i know use long time on his classic and it work well and fast on his classic
 
http://aminet.net/package/comm/tcp/httpproxy-0_14
 

I've installed httpproxy on my classic. To test if I installed it correctly I've tested it with Ibrowse and that works.
 
I've changed the http proxy settings in the options file of netsurf, but pages refuse to load with httpproxy.
 

Offline unusedunused

  • Sr. Member
  • ****
  • Join Date: Nov 2005
  • Posts: 479
    • Show only replies by unusedunused
Re: Netsurf V3.0 Amiga release 2
« Reply #54 on: November 28, 2009, 04:51:02 PM »
Do you get messages "Base stylesheet failed to load" and nothing can see ?

I get a report from a user that say this he get problems on winuae on his office proxy, he get this error on most sites.
But http://netsurf-browser.org

and many links on it work.

Is this on your system the same ?
If so, then its maybe a netsurf Problem in proxy Mode
« Last Edit: November 28, 2009, 04:53:10 PM by bernd_afa »
 

Offline Damion

Re: Netsurf V3.0 Amiga release 2
« Reply #55 on: November 28, 2009, 06:32:22 PM »
Quote

incremental_reflow:1
min_reflow_period:500
max_fetchers:4
max_fetchers_per_host:4
max_cached_fetch_handles:4


Thanks, these settings made a *huge* difference here on my A2000/060. Loading amiga.org for example went from 45 seconds, down to 22-26 seconds. :)
 

Offline chris

Re: Netsurf V3.0 Amiga release 2
« Reply #56 on: November 28, 2009, 09:24:40 PM »
Quote from: bernd_afa;531507
context menu seem in netsurf core in, and need not support from the AOS GUI.
, but i dont know how this activate in SDL.

In desktop/browser.c file is this that should over a link open a menu.But when press right mousebutton do same as left mouse button.


That code is for form select menus, not context menus.  The select menu code could probably be used to create context menus on framebuffer, but at the moment AFAIK there is no context menu code in the framebuffer version.
"Miracles we do at once, the impossible takes a little longer" - AJS on Hyperion
Avatar picture is Tabitha by Eric W Schwartz
 

Offline MozzerFan

  • Hero Member
  • *****
  • Join Date: Mar 2005
  • Posts: 607
  • Country: 00
    • Show only replies by MozzerFan
Re: Netsurf V3.0 Amiga release 2
« Reply #57 on: November 28, 2009, 11:57:24 PM »
Quote from: bernd_afa;531626
Do you get messages "Base stylesheet failed to load" and nothing can see ?
 
I get a report from a user that say this he get problems on winuae on his office proxy, he get this error on most sites.
But http://netsurf-browser.org
 
and many links on it work.
 
Is this on your system the same ?
If so, then its maybe a netsurf Problem in proxy Mode

Yes, that's the message I got.
 
I've only tried google and amiga.org, I don't know if the netsurf page works. I'll try to look at it again.
« Last Edit: November 29, 2009, 12:05:58 AM by MozzerFan »
 

Offline MozzerFan

  • Hero Member
  • *****
  • Join Date: Mar 2005
  • Posts: 607
  • Country: 00
    • Show only replies by MozzerFan
Re: Netsurf V3.0 Amiga release 2
« Reply #58 on: November 29, 2009, 02:42:38 AM »
Oops, I must have done something wrong with my HTTPProxy installation, because I reinstalled HTTPProxy (this time I installed it manually), and now Netsurf correctly shows all pages.
 
However I didn't notice much of a speedup with most sites.
 
All visited sites are correctly written to the proxy cache.
 
Amiga.org doesn't have a speedup after the page was written to the proxy cache. Amigaworld.net was a second faster.
The BBC news page was about 4 seconds faster. Edit: BBC-news actually is much SLOWER when using httpproxy. It takes 10 sec more to load the bbc page when using httpproxy.
 
Edit: Amiga-news.de also was not noticeably faster.
 
Edit: I also tested httpproxy with Ibrowse, and with that I do notice a significant speedup.
« Last Edit: November 29, 2009, 04:57:51 AM by MozzerFan »
 

Offline unusedunused

  • Sr. Member
  • ****
  • Join Date: Nov 2005
  • Posts: 479
    • Show only replies by unusedunused
Re: Netsurf V3.0 Amiga release 2
« Reply #59 from previous page: November 29, 2009, 08:35:32 AM »
If ibrowse speedup then netsurf should too.

Problem in netsurf is, it is written as a single thread application, this mean it fires out the Internet requests and poll for answers.So when another task run at priority 0, the other task must wait.

to check if this is the problem, start the load of a page and deactivate the netsurf window.netsurf should then get taskpri -1.

then always when netsurf fire a internet request http proxy should start immidiatly to send the data, because httpproxy have then a higher taskpri.

to see if netsurf really get taskpri -1 look in scout taskwindow.

maybe you can write the steps you do to get httpproxy working.