1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Dismiss Notice

Release NetSurf

Discussion in 'Software Releases' started by ptitSeb, Jan 2, 2017.

Tags:
  1. ptitSeb

    ptitSeb Serial Porter

    Joined:
    Aug 15, 2012
    Messages:
    7,698
    Location:
    France, near Lyon
    Here is NetSurf, a lightweight Web browser coming from RiscOS
    [​IMG]
    Not much to say. This version doesn't include Video support with gst-streamer. I may try to add it, but the point here was to keep it as lightweight as possible.

    History log
    =========

    Build 05
    -------------

    • Using latest sources
    Build 04
    -------------

    • Using latest sources
    Build 03
    -------------

    • Fixed Icon
    • Using latest sources
    Build 02
    -------------

    • Reduced GUI font size
    • SearchEngines are now selectable
    Build 01
    -------------

    • Initial build
     
    Last edited: Oct 28, 2017
    Tags:
  2. levi

    levi Still fresh, damnit!

    Joined:
    Oct 6, 2008
    Messages:
    8,053
    Location:
    Somewhere off the coast of the EU
    Thanks, this loads much quicker than firefox, and loads web pages in a flash.

    There does seem a fair bit of rendering weirdness compared to firefox with scripts off, but perhaps that's due to user-agent differences. I did manage to navigate all of the pages I tried so far, with only one case of having to guess which blank button did what I wanted.

    Also, do you know how to add search engines to this? A web search hasn't been very enlightening.

    But in terms of your work, this port is speedy and rock solid in my testing thus far. Thanks!
     
  3. ptitSeb

    ptitSeb Serial Porter

    Joined:
    Aug 15, 2012
    Messages:
    7,698
    Location:
    France, near Lyon
    Not sure how to do that but I have seen the ressource file that is embeded in the binary, so I can add a Web Search engine for everyone if needed.
     
  4. Zero3K

    Zero3K Active Member

    Joined:
    Sep 27, 2003
    Messages:
    828
    Location:
    USA
    The rendering weirdness is because Javascript, etc. isn't fully supported by it yet.

    EDIT: Can you please get the tabbed UI that Mac OS X uses to run on the Pandora instead of the GTK one (unless it provides tabbed browsing)?
     
    Last edited: Jan 2, 2017
  5. ptitSeb

    ptitSeb Serial Porter

    Joined:
    Aug 15, 2012
    Messages:
    7,698
    Location:
    France, near Lyon
    True, and it's deactivated by default (go to Edit|Preferences|Content to activate it).
     
  6. levi

    levi Still fresh, damnit!

    Joined:
    Oct 6, 2008
    Messages:
    8,053
    Location:
    Somewhere off the coast of the EU
    Not in this instance, I believe, which is why I mentioned it. For example, in firefox you turn off all javascript/plugins and visit this page, you can see the 'Music and featured items' box and the 'Broadcasts box' somewhere below 'more episodes':
    http://www.bbc.co.uk/programmes/b0872905

    On netsurf, both those boxes are plain white. According to the CSS they should be a kind of dark aquamarine colour, and then contain further divs that define the words therein. Theoretically, it may just be a CSS colour problem, as all the text inside there is meant to be white.

    According to the netsurf docs CSS isn't completely supported yet, so that may be the problem here, although those docs do claim to have been last updated some five years ago, so who knows exactly what CSS is implemented yet.

    Edit: Seems you can't select text in netsurf, which is my usual firefox approach to detecting hidden text. And PDF saving seems to not be enabled in this building. But saving the page as text shows the text for those boxes is rendered in that format, so it's probably just getting the colours wrong.
     
    Last edited: Jan 2, 2017
  7. Magic Sam

    Magic Sam Forever Homebrew

    Joined:
    Aug 10, 2007
    Messages:
    1,901
    Location:
    Ankh-Morpork
    Hi all :)

    Thanks @ptitSeb for porting NetSurf to the Pandora, it looks like a good browser for our tiny machine: fast, responsive, light on resources, etc...

    Some things don't work though (even with javascript enabled), like posting on these boards. This is where Otter comes in handy ;)

    Cheers, Magic Sam
     
  8. ptitSeb

    ptitSeb Serial Porter

    Joined:
    Aug 15, 2012
    Messages:
    7,698
    Location:
    France, near Lyon
    For all thoses issues, it would be good to test on a regular Linux / PC / RiscOS machine using an official NetSurf release to see if they are specific to my port (I may have missed something) or generic to NetSurf.

    NetSurf is one of the few (only?) Web Browser still in developpement that is NOT based on the same WebKit/Gecko/WebEngine engine, that's why it's truly lightweight (but also less compatible).

    Note: PDF saving is indeed disabled at compile. Not sure of the dependancies here, and not even sure it's available on Linux. I'll check later...
     
  9. FBnil

    FBnil ¡sɥʇuoɯ oʍʇ uı ɐɹʎԀ

    Joined:
    Dec 14, 2012
    Messages:
    1,971
    Location:
    Yurp
    In Windows, it saves a pdf right to the desktop.
    In Debian, it asks (save, save-as, cancel) and shows the Download window.
     
  10. ptitSeb

    ptitSeb Serial Porter

    Joined:
    Aug 15, 2012
    Messages:
    7,698
    Location:
    France, near Lyon
    Ok, so PDF saving is doable. I'll check later.
     
    levi likes this.
  11. levi

    levi Still fresh, damnit!

    Joined:
    Oct 6, 2008
    Messages:
    8,053
    Location:
    Somewhere off the coast of the EU
    If you will be doing another build, adding duckduckgo as a search engine would be good. I've set their html query page as my home page already, and that seems to work in netsurf fine. This type of GET-type url works:
    Code:
    https://www.duckduckgo.com/html?q=[query]
    The actual site is driven by POST type forms though, with a hidden 'kl' = 'en_us', and the query text in 'search_form_input_homepage', but having written that it occurs to me that maybe the GET-type url will probably be more stable.
     
    FBnil, Magic Sam and ptitSeb like this.
  12. Zero3K

    Zero3K Active Member

    Joined:
    Sep 27, 2003
    Messages:
    828
    Location:
    USA
    1. The tab bar is included. Its just disabled by default and can be enabled by checking the appropriate checkbox in the Appearance tab of its Preferences.
    2. Is it possible to assign keyboard commands to switching between the tab on the left and right side of the currently selected one?
     
    Last edited: Jan 4, 2017
  13. Magic Sam

    Magic Sam Forever Homebrew

    Joined:
    Aug 10, 2007
    Messages:
    1,901
    Location:
    Ankh-Morpork
    Hi all :)

    @ptitSeb : I'll try to post on those boards from NetSurf 3.2, which is available in Debian 8 x86_64 repositories.

    If that doesn't work, I'll try to compile NetSurf 3.7 (Dev) from source.

    Cheers, Magic Sam
     
  14. levi

    levi Still fresh, damnit!

    Joined:
    Oct 6, 2008
    Messages:
    8,053
    Location:
    Somewhere off the coast of the EU
    I'm posting this from netsurf 3.6 running under Arch.

    It has no caret, but seems to accept input just fine, even though you can easily get lost on a big message.

    I also note this build has options to search using a whole host of search engines. Here is the line for ddg from that SearchEngines file:
    DuckDuckGo|www.duckduckgo.com|http://www.duckd...://www.duckduckgo.com/favicon.ico|fixme:Their ico upsets the current implementation


    Now, lets's see if this actually posts...
     
  15. Magic Sam

    Magic Sam Forever Homebrew

    Joined:
    Aug 10, 2007
    Messages:
    1,901
    Location:
    Ankh-Morpork
  16. levi

    levi Still fresh, damnit!

    Joined:
    Oct 6, 2008
    Messages:
    8,053
    Location:
    Somewhere off the coast of the EU
    Those are both reproducible on the Pandora build, but both kind of unimportant. The former just means if you accidentally reload the search page before hitting enter/submit, it'll forget what you've entered - but just don't hit reload then and you'll be fine. And the latter is true, but the plain html page works just fine. Unless you really need its javascript functions (like autocomplete) that should be fine for us all.
     
  17. ptitSeb

    ptitSeb Serial Porter

    Joined:
    Aug 15, 2012
    Messages:
    7,698
    Location:
    France, near Lyon
    I have rebuilt and repackage.
    The SearchEngines are selectables now. There is a good quantities already, but if you want to add some more, look in appdata/netsurf/home/netsurf/SearchEngines
    I have also reduced the font size of the gui, with the same method as with inkscape (look in appdata/netsurf/home/.gtkrc-2.0)

    Build 02
    -------------

    • Reduced GUI font size
    • SearchEngines are now selectable
     
  18. Zero3K

    Zero3K Active Member

    Joined:
    Sep 27, 2003
    Messages:
    828
    Location:
    USA
    Why did you change the font size? I prefer the old size to the new one.
     
  19. Wally

    Wally TrashyMG's worst nightmare Staff Member

    Joined:
    Jan 31, 2006
    Messages:
    2,739
    Location:
    Melbourne, Australia
    Let's see you compile the whole thing..
     
  20. ptitSeb

    ptitSeb Serial Porter

    Joined:
    Aug 15, 2012
    Messages:
    7,698
    Location:
    France, near Lyon
    I have indicated the file where it's done. Open the file and empty it to have the old size back.

    PS: Why I did that? Because I prefer it that way.
     
    jparish1977 likes this.

Share This Page

Loading...