www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Web browser

reply jdrewsen <jdrewsen nospam.com> writes:
Hi,

     I seem to remember that someone not too long ago mentioned he was 
working on a web browser written in D as a pet project. I cannot locate 
that post. Does anyone remember this and maybe have a link to the 
project by chance?

Thanks
Jonas
Aug 26 2011
next sibling parent reply Adam D. Ruppe <destructionator gmail.com> writes:
jdrewsen wrote:
 I seem to remember that someone not too long ago mentioned he was
 working on a web browser written in D as a pet project.

I started one, but haven't had a chance to come back to it since that first weekend. It does not currently compile since I've changed the libraries without updating the main code (I'll come back to that once the next dmd is out probably). Nevertheless, it's in here: http://arsdnet.net/dcode/ browser.d. Also requires simpledisplay.d, curl.d, dom.d, imagedraft.d, and default.css. I haven't spent a lot of time on it like I said, but it's almost usable already: http://arsdnet.net/crappybrowser5.png http://arsdnet.net/crappybrowser6.png (my posts discussing the process and other screenshots are on a server which is currently down, so these two are the best I have for now). As you can see there, it's got some image support, almost reasonable CSS support, and in the code, you'll see event handling and basic form support. But, you can also see - in the first screenshot especially - that the table algorithm is a piece of garbage and there's some bugs in handling css floats - they work, until you get a clear: both; in a nested container. Then it just goes all to hell.
Aug 26 2011
parent jdrewsen <jdrewsen nospam.com> writes:
Den 26-08-2011 22:04, Adam D. Ruppe skrev:
 jdrewsen wrote:
 I seem to remember that someone not too long ago mentioned he was
 working on a web browser written in D as a pet project.

I started one, but haven't had a chance to come back to it since that first weekend.

This is the one I'm thinking about. Thank you for sharing the code. /Jonas
Aug 28 2011
prev sibling parent "Nick Sabalausky" <a a.a> writes:
"jdrewsen" <jdrewsen nospam.com> wrote in message 
news:j38su2$evo$1 digitalmars.com...
 Hi,

     I seem to remember that someone not too long ago mentioned he was 
 working on a web browser written in D as a pet project. I cannot locate 
 that post. Does anyone remember this and maybe have a link to the project 
 by chance?

Might be thinking of me. I've talked about wanting to do that and maybe porting Arora to D or something like that, but I've never actually stated on anything and probably won't have a chance to in the near future :( But I don't know, maybe someone else has actually started something?
Aug 26 2011