OWB Origyn Web Browser - RISC OS
Michael Grunditz (467) 531 posts |
Amiga systems (MorphOS, AROS and OS4) have used OWB as base for browsers. OWB is webkit + sdl. Feel free to jump on the train! http://web.archive.org/web/20100730213400/http://www.sand-labs.org/owb/downloads , the rather old originals. |
Richard Walker (2090) 431 posts |
Interesting. I was wondering what the ‘port an existing browser’ options looked like the other day. Is this browser alive, as in developed? There isn’t much activity on the project GitHub. Amusingly enough, here is the opposite: |
Michael Grunditz (467) 531 posts |
The MorphOS version is active , supports HTML5 video and more. BTW , I am trying a dynamic build now.. hopefully easier to debug! |
Michael Grunditz (467) 531 posts |
I get a bit further with shared build. It creates a SDL window, but not its internal window. |
Michael Grunditz (467) 531 posts |
Restarted on a bit newer sourcetree .. Anyone have a lot of shared libs (compiled)? I have problems with autobuilder. |
Rick Murray (539) 13850 posts |
Otter browser? There’s like a hundred megabytes of stuff that gets loaded by the shared object manager thingy… |
Andrew Rawnsley (492) 1445 posts |
If you find the Otter thread in Announcements forum, there should be a lot of pre-compiled libs in the “SharedLibs” zip that Chris links periodically. Note – you probably want to start at the end of the thread and work backwards, as the newer builds tended to be later. |
Steffen Huber (91) 1953 posts |
I would strongly recommend to sort out your autobuilder problems instead of working with precompiled libs. It is very unlikely that you’ll get something working without changing/fixing at least some of the libs. Which problems do you have? Not that I’m an autobuilder expert, but I would hope that people like Chris Gransden or Theo Markettos could help to sort out problems. Maybe other people encounter the same problems, it is always valuable to provide solutions for such problems in a public forum. |
Michael Grunditz (467) 531 posts |
I managed to build all support libraries except for libcurl ( I did one manually , but without ssl). It still crashes. |
Michael Grunditz (467) 531 posts |
Some progress. It seems like riscos doesn’t like static variables in main.cpp |
Michael Grunditz (467) 531 posts |
First thing rendered! Text fails with invalid face from ft_load_glyph. |
Richard Walker (2090) 431 posts |
Wow, excellent stuff. Is Freetype part of your build? Or did someone else build that in the past? Do the font names need translation? |
Steffen Huber (91) 1953 posts |
libfreetype6 is in the GCCSDK autobuilder, I guess the Qt needes it. |
Michael Grunditz (467) 531 posts |
I have freetype (using autobuilder) and fontconfig. I don’t know why I get the error.. The main advantage to build something out if this is speed. OWB starts in a second (or so) which is instant compared with Otter :) AND The goal is to have it more native , not using SDL. |
Michael Grunditz (467) 531 posts |
Started with new codebase now… Fails with cannot allocate memory. The same mmap worked in the old version. BLOCK_SIZE is 64k and extra 0 , |
Richard Walker (2090) 431 posts |
It is well-beyond my experience, but out of interest, where is the source for this browser? It looks a bit abandoned (though I assume you are suggesting updating its WebKit engine?) |
Michael Grunditz (467) 531 posts |
There is a more recent one for AROS and MorphOS, but since it uses MUI/Zune I decided to start on a version without gui. |
Andrew Rawnsley (492) 1445 posts |
One of OWB’s main “selling points” is that the browser engine is completely abstracted away from the UI, to the point where it just presents a series of data structures to the “client” functions which are then expected to do as they see fit. From that perspective, it seems an ideal candidate for a more native RISC OS front end, as that is exactly what it is designed for. As such, I’d be wary of going too far down a UI-kit-specific port (eg. MUI/Zune etc) since you’d likely want to throw away the UI portions anyway. I think Michael’s original SDL-proof-of-concept is definitely the way to go, albeit with a plan to remove the SDL dependency the moment it starts rendering (so that you can move to a RISC OS native UI). Of course, you have to make it not blow up first, which seems to be the biggest challenge. |
Michael Grunditz (467) 531 posts |
Hmmm memalign also fails with the same error. Works from standalone app. |
Michael Grunditz (467) 531 posts |
Google… The sad thing is that memory allocation is a mess.. so I can’t search. But java script is ok , I get suggestions if I start to type in a search. |
Rick Murray (539) 13850 posts |
That Swedish? My two big questions, now that it gets as far as showing Google, are:
And:
|
Michael Grunditz (467) 531 posts |
About 70Megs (google loaded)
Right now I am using embedded fonts , since I cant find out how to use freetype. |
Rick Murray (539) 13850 posts |
Oh, way better! It’s still cringe worthy to somebody who squeezed a simple GIF decoder into 1K, bit I know browsers take inordinate amounts of memory.
Well, okay, that’s one way of solving the problem. :-) Just out of interest, how far does it get with this: https://www3.nhk.or.jp/news/easy/ NetSurf, having no scripting to speak of, doesn’t get far. |
Michael Grunditz (467) 531 posts |
That will not work with embedded fonts.. |
Rick Murray (539) 13850 posts |
:-) I kind of guessed, but thanks for trying. |