Click Here
home features news forums classifieds faqs links search
6071 members 
Amiga Q&A /  Free for All /  Emulation /  Gaming / (Latest Posts)
Login

Nickname

Password

Lost Password?

Don't have an account yet?
Register now!

Support Amigaworld.net
Your support is needed and is appreciated as Amigaworld.net is primarily dependent upon the support of its users.
Donate

Menu
Main sections
» Home
» Features
» News
» Forums
» Classifieds
» Links
» Downloads
Extras
» OS4 Zone
» IRC Network
» AmigaWorld Radio
» Newsfeed
» Top Members
» Amiga Dealers
Information
» About Us
» FAQs
» Advertise
» Polls
» Terms of Service
» Search

IRC Channel
Server: irc.amigaworld.net
Ports: 1024,5555, 6665-6669
SSL port: 6697
Channel: #Amigaworld
Channel Policy and Guidelines

Who's Online
24 crawler(s) on-line.
 144 guest(s) on-line.
 4 member(s) on-line.


zipper, tekmage, 21stcentury, more...

You are an anonymous user.
Register Now!
 zipper:  23 secs ago
 21stcentury:  56 secs ago
 Hammer:  1 min ago
 tekmage:  3 mins ago
 Frank:  5 mins ago
 amigakit:  7 mins ago
 eliyahu:  11 mins ago
 hlt:  16 mins ago
 vox:  20 mins ago
 matthey:  22 mins ago

/  Forum Index
   /  Amiga Development
      /  I think I've had enough...
Register To Post

Goto page ( 1 | 2 Next Page )
PosterThread
smithy 
I think I've had enough...
Posted on 18-Mar-2007 15:39:36
#1 ]
Regular Member
Joined: 28-Aug-2003
Posts: 364
From: Newcastle

After 3 years of Paihia development I think I've had enough. I am thinking about releasing the source code to interested people - but I'm not sure exactly yet. Perhaps the code might be worth something to me in years to come. There is 1.6Mb of code uncompressed. That's about 60,000 lines of C++. Lots of OO patterns used that have ensured everything is nicely decoupled. 40% of the code is unit tests.

For example. The CSS engine (not the layouter part, the bit that parses and calculates property values) could be quite easily integrated into another browser. All the other browser needs is a document tree that implements an interface. In turn the CSS engine maps quite straightforwardly into a display/layout engine.

Alternatively, another browser could replace their document tree stuff with Paihia's. This would give tree event support, including both bubble-up, top-down models. As well as the whole visual/CSS stuff.

Paihia's XML processor (a validating parser - it passes about 70% of W3 XML conformance test suite.) uses some fancy factories to ensure that there is no visual/display stuff in it. This means it could be used in people's applications that use XML but don't need all that visual extra stuff. And at 10,000 lines of code it's very small and fast.

The downsides:

The layout engine is most in need of work. It supports block/inline/float boxes, the box model (borders, padding, etc..), fonts, colours but no tables. Probably not much use to people.

There is a working, but messy Javascript interpreter that hasn't been compiled for 2 years - it doesn't compile against the current build. And none of the core Javascript library has been implemented either.

There is no HTML support. (it was going to be done via a CSS stylesheet) but that won't handle dodgy HTML.

No HTTP support.

No DOM interfaces have been written, although it should be quite easy doing it on top of the internal tree.

There is no documentation at all and code comments are few.

Erm, I've done all the development in Visual C++. The whole browser is in pure C++ though. The system-specific stuff is very small and there's a simple API to access it. The only implemented API is one for Java. The API is extremely simple anyway: opens windows, draws text and shapes. I've got no idea if it'll compile on GCC (it definately won't compile in SAS, Hisoft C++ or Storm because it uses lots of STL and new C++ stuff). But there are no MS-specific C++ stuff or libraries involved.

Basically, I'm fed up. And this isn't even thinking about the whole quagmire that the Amiga scene seems to be in. To get a complete browser will probably take me the rest of the year of working. I do enjoy programming but I feel this project has taken its toll on me in many ways. I suspect my future hobbyist coding projects will be somewhat smaller.

Anyway, is anyone interested or should I just consign it all to a CD and let it gather dust......?

Last edited by smithy on 18-Mar-2007 at 03:41 PM.

 Status: Offline
Profile     Report this post  
The_Editor 
Re: I think I've had enough...
Posted on 18-Mar-2007 15:52:08
#2 ]
Elite Member
Joined: 7-Mar-2003
Posts: 7629
From: 192.168.0.02 ..Pederburgh .. Iceni

@smithy

I respect your reasons Smithy..

Still ... I'm disappointed.

I actually believed Paihia would be The One




Do you feel it's worth setting up a bounty for your source ?

_________________
******************************************
I dont suffer from Insanity - I enjoy it

******************************************

 Status: Offline
Profile     Report this post  
Kicko 
Re: I think I've had enough...
Posted on 18-Mar-2007 15:58:14
#3 ]
Elite Member
Joined: 19-Jun-2004
Posts: 5009
From: Sweden

Too sad. I hoped too Paihia would be a nice browser but as The_editor said. Respect ;)

 Status: Offline
Profile     Report this post  
Severin 
Re: I think I've had enough...
Posted on 18-Mar-2007 16:02:34
#4 ]
Elite Member
Joined: 18-Aug-2003
Posts: 2740
From: Gloucestershire UK

@smithy

The IBrowse devs might be interested, if it could be integrated you would have done a large chunk of what they're just starting to do and could knock a vast amount of time from the IBrowse 3.0 development.

I'll post a link to this thread in the IBrowse Beta ML..

_________________
OS4 Rocks
X1000 beta tester, Sam440 Flex (733)

Visit the Official OS4 Support Site for more help.

It may be that your sole purpose is to serve as a warning to others.

 Status: Offline
Profile     Report this post  
Chris_Y 
Re: I think I've had enough...
Posted on 18-Mar-2007 16:27:24
#5 ]
Elite Member
Joined: 21-Jun-2003
Posts: 3205
From: Beds, UK

@smithy

That's a shame

Perhaps the AWeb guys can make use of your work?

I might be interested in the XML parser as an AmigaOS shared library, if it isn't as crazy as Expat.

Chris

Last edited by Chris_Y on 18-Mar-2007 at 04:29 PM.

_________________
"Miracles we do at once, the impossible takes a little longer" - AJS on Hyperion
Avatar is Tabitha by Eric W Schwartz

 Status: Offline
Profile     Report this post  
Hans 
Re: I think I've had enough...
Posted on 18-Mar-2007 18:01:02
#6 ]
Elite Member
Joined: 27-Dec-2003
Posts: 5098
From: New Zealand

@smithy

Sad to hear, but understandable. Paihia sounded promising. I liked the idea of a browser designed for CSS, etc., from the ground up. I hope that someone will find use for your work.

Hans

_________________
Join the Kea Campus - upgrade your skills; support my work; enjoy the Amiga corner.
https://keasigmadelta.com/ - see more of my work

 Status: Offline
Profile     Report this post  
Wishmaster 
Re: I think I've had enough...
Posted on 18-Mar-2007 20:05:26
#7 ]
Member
Joined: 4-May-2003
Posts: 44
From: Unknown

That was foreseeable.

_________________
Pegasos PPC with MorphOS

 Status: Offline
Profile     Report this post  
nubechecorre 
Re: I think I've had enough...
Posted on 18-Mar-2007 20:15:05
#8 ]
Cult Member
Joined: 21-Nov-2003
Posts: 895
From: San remo -Italy-

I think that Aweb and Ibrowse can take advantage of your work..

Give them a try

_________________
GDG-Entertainment
OS4Games
Iksnet
Bitplane

 Status: Offline
Profile     Report this post  
ssolie 
Re: I think I've had enough...
Posted on 18-Mar-2007 21:05:52
#9 ]
Elite Member
Joined: 10-Mar-2003
Posts: 2755
From: Alberta, Canada

@smithy
A web browser is a very large project so don't feel bad about wanting to do something else instead. I know I've given up on many projects in the past myself. Some things are just too big for one guy to handle. A web browser is one of those things in my opinion.

As for releasing the sources I think you should hold off a bit. Take some time for the situation to sink in. Programmers know how hard it is to just release sources after spending so much time and energy. In the end, releasing the sources is a good idea though just for the closure.

_________________
ExecSG Team Lead

 Status: Offline
Profile     Report this post  
Rob 
Re: I think I've had enough...
Posted on 18-Mar-2007 22:15:48
#10 ]
Elite Member
Joined: 20-Mar-2003
Posts: 6385
From: S.Wales

@smithy

Sad to hear but it's not worth burning yourself out over.

 Status: Offline
Profile     Report this post  
GregS 
Re: I think I've had enough...
Posted on 18-Mar-2007 22:43:32
#11 ]
Super Member
Joined: 28-Apr-2003
Posts: 1797
From: Perth Australia

@smithy
I too am sorry to hear this, but this sounds very interesting:

"Paihia's XML processor (a validating parser - it passes about 70% of W3 XML conformance test suite.) uses some fancy factories to ensure that there is no visual/display stuff in it. This means it could be used in people's applications that use XML but don't need all that visual extra stuff. And at 10,000 lines of code it's very small and fast."

This could be very useful to many apps.

Could I suggest a flag, to compensate for a major problem in XML standards that appears to have been neglected.

Embedding binary data in XML is just plainly diabolical, yet could be easily accommodated. It is outside the standard, but here is the suggestion for "

_________________
Greg Schofield, Perth Australia

 Status: Offline
Profile     Report this post  
GregS 
Re: I think I've had enough...
Posted on 18-Mar-2007 22:54:29
#12 ]
Super Member
Joined: 28-Apr-2003
Posts: 1797
From: Perth Australia

@Smithy

My post got truncated for having OTAG ! [CDATA[ in it and was lost.

BINARY wrapping/embedding in XML can be fixed, but we need a parser that understands it properly.

OTAG ! [CDATA[ plus ====[ fixes the problem when complimented by ]====]] CTAG

Where "=" is incremented by one above the "===]]" that may be found in the binary itself.

If the Binary has no "]]" or "]]]" or "=]]]" then it would be just one extra set of brackets and cause no errors by normal parsers.

Using a special wrapping element ie OTAG CDATAFilesize with the attribute bytes="43423143" would make things even better. A file size element wrapper for a CDATA block.

Please think about the implications and think about making the XML validating parser your smaller project.

_________________
Greg Schofield, Perth Australia

 Status: Offline
Profile     Report this post  
samo79 
Re: I think I've had enough...
Posted on 18-Mar-2007 23:37:40
#13 ]
Elite Member
Joined: 13-Feb-2003
Posts: 3505
From: Italy, Perugia

This is a sad news, altrough not a shook for me, this is a huge project for only one developer, a this point imho the better solution is to release the source code as opensource, maybe the AWeb team could appreciate this.

Another solution would be to contact one or two additional programmers that can help Smithy in this project, anyone is interested ?

_________________
BACK FOR THE FUTURE

http://www.betatesting.it/backforthefuture

Sam440ep Flex 800 Mhz 1 GB Ram + AmigaOS 4.1 Update 6
AmigaOne XE G3 800 Mhz - 640 MB Ram - Radeon 9200 SE + AmigaOS 4.1 Update 6

 Status: Offline
Profile     Report this post  
ChrisH 
Re: I think I've had enough...
Posted on 18-Mar-2007 23:50:01
#14 ]
Elite Member
Joined: 30-Jan-2005
Posts: 6679
From: Unknown

@smithy
Why not just take a complete break from the Paihia project? Maybe start a new & smaller project? And then only start working on Paihia again, when you actually feel interested in it again? (That might be 1 month or 1 year from now.)

BUT, you could still let somebody, say the IBrowse team, make good use of your existing code. That way you needn't feel (unjustified) pressure from Amigans to start working on it again, because somebody else already would be.

_________________
Author of the PortablE programming language.
It is pitch black. You are likely to be eaten by a grue...

 Status: Offline
Profile     Report this post  
Belxjander 
Re: I think I've had enough...
Posted on 19-Mar-2007 5:24:25
#15 ]
Cult Member
Joined: 4-Jan-2005
Posts: 557
From: Chiba prefecture Japan

@smithy

Take a break and wrapper it up as an XML parsing library for each of
AOS3/AOS4/AROS/MorphOS or whatever you choose,

kudos for getting a full XML engine...it would be a good foundation for merging into
any or all the existing Amiga browsers, and also be a good starting basis for a XUL
implimentation

 Status: Offline
Profile     Report this post  
BigBentheAussie 
Re: I think I've had enough...
Posted on 19-Mar-2007 8:26:44
#16 ]
Super Member
Joined: 28-Oct-2003
Posts: 1690
From: Melbourne, Australia

Note to self:

Accomodate smaller yet immediately useful milestones in your software design.

Ok. Going back to my happy place now.

_________________
Leo Nigro, CTO Commodore USA, LLC
Opinions expressed are my own and not those of C= USA.
Commodore/AMIGA "Beautiful, High-Performance, Home Computers for Creativity and Entertainment."

 Status: Offline
Profile     Report this post  
spotUP 
Re: I think I've had enough...
Posted on 19-Mar-2007 13:55:39
#17 ]
Elite Member
Joined: 19-Aug-2003
Posts: 2896
From: Up Rough Demo Squad

@smithy

sorry to hear that smithy! i'd like to see you making your sources available for free to other aos developers. hmm ibrowse ain't free but maybe they could donate a key and a percentage of the ibrowse sales to you?

aweb is free, so if i would be in your position i'd let them and any other open source project use it for free.

_________________
AOS4 Betatester, Peg2, G4@1ghz, Radeon 9250 256mb, 1gb RAM.

http://www.asciiarena.com
http://www.uprough.net

 Status: Offline
Profile     Report this post  
Crumb 
Re: I think I've had enough...
Posted on 19-Mar-2007 19:00:33
#18 ]
Elite Member
Joined: 12-Mar-2003
Posts: 2209
From: Zaragoza (Aragonian State)

@smithy

Do you think it could be integrated with AWeb?

Making it LGPL would be a good idea if you don't plan to continue working on it.

As the code is portable with some luck maybe someone wants to continue your work (even for other platforms). And you can always return.

Feelin author released his code as LGPL but he continues working on it.

_________________
The only spanish amiga news web page/club: CUAZ

 Status: Offline
Profile     Report this post  
pixie 
Re: I think I've had enough...
Posted on 19-Mar-2007 20:32:20
#19 ]
Elite Member
Joined: 10-Mar-2003
Posts: 3359
From: Figueira da Foz - Portugal

@Crumb

If Smithy browser could be made to use Feelin it could be a match made in heaven... feelin deserve such an app

_________________
Indigo 3D Lounge, my second home.
The Illusion of Choice | Am*ga

 Status: Offline
Profile     Report this post  
nzv58l 
Re: I think I've had enough...
Posted on 19-Mar-2007 21:13:53
#20 ]
Super Member
Joined: 7-Oct-2003
Posts: 1640
From: Michigan

@smithy

Sorry to hear, but I would like to make a few suggestions before you give up.

Perhaps you just need some help. Find a few interested and talented people to delegate to. Become sort of a project leader and just identify tasks and see if you can get some help out here.

Also, If you plan on shelving it, make at least two copies and keep them it totally seperate places. Keep one at your parents or friends house and keep one at your own. that way if your house burns down, at least not all is lost. You should do that for any other stuff that insurance can't replace as well.

I think some day things will improve. It seems that these are really dark days for the Amiga, but a browser is the most important application we can have. Perhaps if you still want to help then perhaps you can get into someone elses project like the AWeb team or even IBrowse.

 Status: Offline
Profile     Report this post  
Goto page ( 1 | 2 Next Page )

[ home ][ about us ][ privacy ] [ forums ][ classifieds ] [ links ][ news archive ] [ link to us ][ user account ]
Copyright (C) 2000 - 2019 Amigaworld.net.
Amigaworld.net was originally founded by David Doyle