Announcement

Do not use the forums to submit bug reports, feature requests or patches, submit a New Ticket instead.

#1 2005-04-13 21:53:11

willeffects
Xinha Authority
Registered: 2005-03-19
Posts: 130

Safari 2.0 -- will we be compatible?

http://weblogs.mozillazine.org/hyatt/ar … tml#005905

It supports this method. Will xinha work with that?  Anyone here a beta tester for Safari 2.0?

Will

Offline

#2 2005-04-14 00:30:05

gogo
Xinha Leader
From: New Zealand
Registered: 2005-02-11
Posts: 1,015
Website

Re: Safari 2.0 -- will we be compatible?

Interesting.  It would be nice if we could support Safari too, but it won't be before V1.0 (of Xinha), by which time hopefully the  browser specific code might be able to be split out into separate scripts - I want xinha.js, xinha-ie.js and xinha-gecko.js, and one day then xinha-safari.js (or xinha-khtml.js if that functionality is passed back to khtml for konq etc).

I do have PearPC around here somewhere so I *could* at a pinch do that development, but it would be better for somebody who has a real (much faster) Mac to do that.


James Sleeman

Offline

#3 2005-04-15 03:20:55

niko
Xinha Authority
From: Salzburg/Austria
Registered: 2005-02-14
Posts: 338

Re: Safari 2.0 -- will we be compatible?

yeah, that would be great!
i could use konqueror all the time then big_smile

...but it will take some time till this is finished i think... and wysiwyg-editors would be two-times complex then (a 3rd browser... puh, much to test big_smile)

...abut the xinha-ie and xinha-gecko:
i like the idea too - but doesn't get reading the code much more complicated? (and writing too ofcourse)


Niko

Offline

#4 2005-04-15 07:14:37

gogo
Xinha Leader
From: New Zealand
Registered: 2005-02-11
Posts: 1,015
Website

Re: Safari 2.0 -- will we be compatible?

niko wrote:

...abut the xinha-ie and xinha-gecko:
i like the idea too - but doesn't get reading the code much more complicated? (and writing too ofcourse)

Well, I don't think so, as long as it's abstracted in the right way.  Sure for small differences just roll them togethor, but I'm thinking for the large bits of code (whole methods) that are specific to one or the other, to cut down on the weight for loading into a single browser.


James Sleeman

Offline

#5 2005-04-16 16:40:33

guillaumed
Xinha Administrator
From: Lyon, France
Registered: 2005-02-23
Posts: 85

Re: Safari 2.0 -- will we be compatible?

gogo,

I also think that the code should be defined into a global xinha.js and specific xinha-xxx.js!!! It's simplier to understand and like for foreign languages some specific users can validate one implementation even if they didn't write it..

Can you tell us when you planed to do that?

Offline

#6 2005-05-11 21:17:53

willeffects
Xinha Authority
Registered: 2005-03-19
Posts: 130

Re: Safari 2.0 -- will we be compatible?

Latest Safari has designMode.  Does that mean it will work for us?

http://weblogs.mozillazine.org/hyatt/ar … tml#007962

HTML Editing
Safari 1.3 supports HTML editing, both at the Objective-C WebKit API level and using contenteditable and designMode in a Web page. The new Mail app in Tiger uses WebKit for message composition. You can write apps that make use of WebKit's editing technology and deploy them on Panther and Tiger.

Offline

#7 2005-05-11 21:23:57

gogo
Xinha Leader
From: New Zealand
Registered: 2005-02-11
Posts: 1,015
Website

Re: Safari 2.0 -- will we be compatible?

will: almost certainly won't right now, Xinha is full of things to work around problems in both IE and Mozilla as while similar in implementation of contentEditable/designMode they are different - I expect Safari will be different again and require some specialised code.

It's a bit difficult for me to develop for safari, seeing as I don't actually have a mac.


James Sleeman

Offline

#8 2005-05-12 10:41:24

niko
Xinha Authority
From: Salzburg/Austria
Registered: 2005-02-14
Posts: 338

Re: Safari 2.0 -- will we be compatible?

I'm just installing OSX 10.3.9
And I found a demo:
http://www.xs4all.nl/~hhijdra/stefan/Co … table.html

...of course our priority should now be to release a stable xinha, then implement support for safari.


Niko

Offline

#9 2005-05-12 14:33:47

kimss
Xinha Pro
From: Sweden
Registered: 2005-04-05
Posts: 99
Website

Re: Safari 2.0 -- will we be compatible?

Getting a minimac would probably solve alot, the pricetag has become low to enter the mac marked, ive been thinking of purchasing one of my own just to be able to check webpages and stuff for the mac, having pages and scripts that work in all browsers has become a must lately.

Nice going Niko with you OSX, but as you mentioned - a v1.0 releasy of Xinha would be much more appretiated...

Mvh,
Kim Steinhaug
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Easy CMS - Et brukervennlig publiseringssystem - Easy Webshop - Nettbutikk med krefter

Last edited by kimss (2006-02-27 19:23:12)

Offline

#10 2005-05-13 03:08:57

willeffects
Xinha Authority
Registered: 2005-03-19
Posts: 130

Re: Safari 2.0 -- will we be compatible?

Here is some information on how they got safari to work somewhat in htmlarea

http://www.dynarch.com/forums/521

Offline

#11 2005-05-13 04:39:31

niko
Xinha Authority
From: Salzburg/Austria
Registered: 2005-02-14
Posts: 338

Re: Safari 2.0 -- will we be compatible?

nice, we should look at those changes!

...but before implementing safari-support we should think about a browser-specific-code-separation solution i think.
i have no idea how this could be done best...


Niko

Offline

#12 2005-05-13 16:15:25

willeffects
Xinha Authority
Registered: 2005-03-19
Posts: 130

Re: Safari 2.0 -- will we be compatible?

well although ideal code is ideal, the reality is Apple users are growing more and more pro Safari.  So if we dont support it they are going to complain and blame our sites for not supporting them.  Because of this I am much more interested in finding a quick fix.  Though that is party because we are building a site that supports an Apple only software so its something I now have to face... (even though I have no Mac and no damn safari)

Offline

#13 2005-05-16 21:20:29

kimss
Xinha Pro
From: Sweden
Registered: 2005-04-05
Posts: 99
Website

Re: Safari 2.0 -- will we be compatible?

Have to agree there with willeffects, a quickfix is much better than a water-proof-fix in "near"-future, smile However there is a little problem, we need people who understand the core of xinha to work from a Mac to debug the problems.

But regarding the seperation of code for different browsers. Couldnt this be acomplished quite simple?

1. We need a browser sniffer.
2. Xinha looks mosltly organized, all is placed into functions.
3. Move all functions that are browser specific into own .js files
4. Let the sniffer load the correct js file

I may be missing some major things here, but it sounds very simple, atleast in my head.

Offline

#14 2005-05-16 22:52:00

gogo
Xinha Leader
From: New Zealand
Registered: 2005-02-11
Posts: 1,015
Website

Re: Safari 2.0 -- will we be compatible?

Will & Kim: patches welcome.


James Sleeman

Offline

#15 2005-05-19 01:51:28

willeffects
Xinha Authority
Registered: 2005-03-19
Posts: 130

Re: Safari 2.0 -- will we be compatible?

kimss wrote:

1. We need a browser sniffer.

I recently found this sniffer which seems to let us access any information we need.  Maybe overkill but might be worthwhile http://www.dithered.com/javascript/brow … index.html

Will

Offline

#16 2005-05-20 09:47:51

kimss
Xinha Pro
From: Sweden
Registered: 2005-04-05
Posts: 99
Website

Re: Safari 2.0 -- will we be compatible?

Well, Im pretty satisfied using this one : http://www.webreference.com/tools/brows … cript.html
Its a load of code for just the simple tasks, but one could easilly pick out the lines to use for the detection needed.

Since I dont have a Mac Mini at the moment, I dont see a reason for me jumping into this at the moment, sorry Gogo, I dont have the time either for such large workloads on my spare time, however I will try as best possible to chip in on the smaller tasks - and I will keep sharing my thoughts with you people, big_smile

Offline

#17 2005-05-24 01:48:39

niko
Xinha Authority
From: Salzburg/Austria
Registered: 2005-02-14
Posts: 338

Re: Safari 2.0 -- will we be compatible?

I just got a post from Stanislas Rolland (the one who posted on dynarch.com) saying that he published his changes on sourceforge:
http://cvs.sourceforge.net/viewcvs.py/t … iew=markup


Niko

Offline

#18 2005-05-25 15:10:28

willeffects
Xinha Authority
Registered: 2005-03-19
Posts: 130

Re: Safari 2.0 -- will we be compatible?

Thats great.  It doesnt look like too many changes.  If only I had a damn mac (working on it) I could test it out...

Offline

#19 2005-05-25 17:45:58

gogo
Xinha Leader
From: New Zealand
Registered: 2005-02-11
Posts: 1,015
Website

Re: Safari 2.0 -- will we be compatible?

Does anybody know why Stanislas is using HTMLArea from mishoo instead of Xinha?   Is mish restarting htmlarea development?


James Sleeman

Offline

#20 2005-05-26 21:10:16

mtmosier
New member
Registered: 2005-05-14
Posts: 3

Re: Safari 2.0 -- will we be compatible?

gogo wrote:

Is mish restarting htmlarea development?

I'm not entirely certain this is mish, but it would appear so.

http://www.dynarch.com/projects/htmlarea/

Offline

#21 2005-05-26 21:41:24

wymsy
Xinha Community Member
From: Massachusetts, USA
Registered: 2005-04-01
Posts: 44
Website

Re: Safari 2.0 -- will we be compatible?

gogo wrote:

Does anybody know why Stanislas is using HTMLArea from mishoo instead of Xinha?

It looks like he is customizing a version of HTMLArea 3 for use as a module in Typo3, a CMS. Probably not related to whatever Mishoo is doing.

Offline

#22 2005-06-27 04:35:43

adam.jimenez
Xinha Pro
Registered: 2005-04-19
Posts: 50

Re: Safari 2.0 -- will we be compatible?

Is any xinha developer actively working on this or is it planned for a future version ie 2.0?

Offline

#23 2005-06-27 12:42:36

gogo
Xinha Leader
From: New Zealand
Registered: 2005-02-11
Posts: 1,015
Website

Re: Safari 2.0 -- will we be compatible?

Nobody is working on it.  There are no plans to do so, unless a keen developer with a mac comes along, or somebody buys me a mini-mac, or konq gets a 100% compatable content editable system.


James Sleeman

Offline

#24 2005-06-27 20:01:50

mharrisonline
Xinha Administrator
From: Denver, Colorado
Registered: 2005-04-11
Posts: 110
Website

Re: Safari 2.0 -- will we be compatible?

I don't think mishoo is continuing development. That site has been there a long time, and the forum is filled up with what seem to be unanswered requests for help http://www.dynarch.com/forums/17/page:11

Offline

#25 2005-06-27 21:21:34

wymsy
Xinha Community Member
From: Massachusetts, USA
Registered: 2005-04-01
Posts: 44
Website

Re: Safari 2.0 -- will we be compatible?

gogo wrote:

Nobody is working on it.  There are no plans to do so, unless a keen developer with a mac comes along, or somebody buys me a mini-mac, or konq gets a 100% compatable content editable system.

I might take a crack at it, but probably not until after we get xinha 1.0 released. And I get a whole bunch of other stuff out of the way. Unless someone gets to it before me...

Offline

Board footer

Powered by FluxBB