You are not logged in.
As far as I am aware, as long as the licence text is present in the source files, you are fine, playig it safe it's also present in the about dialog.
Don't worry too much about it, it is a varient of a BSD licence, so pretty much you can do anything you want with it provided you retain the copyright notices.
Hi all,
I have just gone through and sorted tickets a bit to assign all those I think that should be done for version 1.0 to the Version 1.0 milestone. While of course there is no ETA on when I'd like to see this accomplished I think we should now focus efforts on closing up the tickets that I have assigned there. New features should not be added now unless you think they are really important.
So what are you waiting for, go here: http://xinha.python-hosting.com/report/10 pick a ticket and fix it ![]()
paul: if you email me I'll sort you out with wiki and svn access - james@gogo.co.nz
not from that little, did you follow the newbie guide? does the example work for you?
whats wrong in ie?
As yermo has said, he has talked to me about forking. I have no objection, nor could I have without being a little hypocritical, to yermo forking. But that said, there has to be a reason for the fork, something to differentiate the two, and as it is, I don't really see that there is enough to differentiate the two and think that a fork would just confuse matters.
I'm not keen on the idea of the Xinha source requiring anything other than javascript, I'm also not keen on it requiring preprocessing prior to use - the reason for this is because I like to be able to just svn update to a specific revision in my production systems.
I'm also not keen on having a large source code explosion (yermo has mentioned the code is about 300% larger now) because of the extra debugging messages - the way I work when debugging javascript code is a combination of reading the source, temporary messages, and venkman to step through and examine the stack when things get tricky. As for using these messages to "get aquainted" with the code, I dunno, maybe it's just me but I find when I'm inheriting code that it's easy enough to simply read it provided it's nicly formatted (getting code without linebreaks is an entirely different thing), tackling changes one bit at a time you soon get to know how the system works.
Yermo's work on commenting the system in his branch is good, unfortunatly his code reorganisation has been done in only a handful of very large commits, so we pretty much "start from scratch" in regards to revision history goes should it be adopted as Xinha.
As far as the unified backend goes, well, I'm in two minds - yes it's a good idea and it could be useful in some cases, but there are some problems with yermo's PHP code{1} and I don't think it addresses a method of centrally configuring the backends - which really is what I think the main advantages of "unification" would be.
I'm not a fan of the coding style that yermo has used (particularly the brace style and the fact that he is indenting the braces, and the content of the braces to the same indent level, which is rather peculiar) and should this branch be adopted, as we don't have good history on the changes anyway, I would be changing that back to BSD style, sorry yermo, but your style is just plain weird - I've never seen anybody else do that.
(PS: The suggestion in htmlarea.js for developers to use jedit is simply that it is what I use and consitency helps to reduce spurious differences. I find the code folding and block outlining in jedit to be very very helpful but of course YMMV, use vi for all I care, just don't introduce spurious changes or soft-tab of greater than 2-spaces)
Yermo's version also requires "configuring" per install, this is done (from INSTALL.txt) by
To set up the software to run please run Configure.php with the full path
to your command line PHP interpreter as in:/usr/local/bin/php Configure.php
which means that in it's current incarnation yermo's branch is unusable (although you could do it manually) for the implementor developer putting Xinha to use if you don't at least have a PHP interpreter, even if you won't use any php plugins.
I would be very against this, there should be no reason that a configure script is required, the xinha package should just drop in, if a plugin needs configuring then so be it, but the xinha core shouldn't care (or should work it out itself) where it's installed etc. It seems that the only thing that the configure script really does is insert some paths to the php backend - but you can trivially figure out what the URL and path to the backend is using PHP on the fly, so why bother?
Aside from the code, yermo and I have differing opinions on development models, I want many developers so things can proceed rapidly at the expense of some stability, yermo wants few developers so things can remain as stable as possible at the expense of some development.
To cut to the chase, I don't think that yermo is going to be happy to turn development of his branch over to the rest of us, he wants tight control over it; which is fine of course, he has hacked and slashed it into something he wants and would like to keep it that way.
So what I think we should do is..
1. We incorporate the idea of the unified backend (but minus the extra cruft of the debugging messages and such - KISS should be at work here), plugins can be moved to the unified backend gradually there is no hurry provided the unified backend doesn't get in the way of regular operation.
2. We do a bit of a copy & paste job on the function header comments that yermo has written inserting them into the appropriate places in the trunk.
3. Any re-organisation that yermo has done that has significant merit can be incorporated - unfortunatly this will be tricky because of the coarse grained commits yermo has done. Only truely useful reorganisation should be considered and committed in small increments.
4. Any bugs that yermo has fixed should be similarly patched into the trunk - again tricky because of yermo's large commits
Yermo can maintain his branch in whatever way he wants, it would be nice to see that maintained publically as a parallel branch but divergent branch of Xinha but of course that's up to him - wether he forks, publically branches, or privately branches it's all the same to me.
{1} for example require_once('../../backends/backend_conf.php'); would be problematic - one should use require_once(dirname(__FILE__) . '/../../backends/backend_conf.php'); to be reliable across installations, yermo's use of $formVars is a bit odd (particularly how he builds this from $_POST or $_GET - why not just use $_REQUEST ?)
Please simplify to a test case, include your config and have a very simple perl/php script to dump what is posted back.
Please use the nightly, not the latest.
Could somebody submit a feature request for this please ![]()
Will, still have this problem? Submit a ticket if you do.
adam, did this work any better for you?
Try posting at the nuke forums, I'm sure somebody there could help you - it should be reasonably similar to htmlarea v3.
I'll also point out that I added an RSS link for the forums too. Just gives you the most recently active threads
See the link at the top of page.
should we create a ticket for this?
It would require writing a new tree (currently it uses "dTree" which I found somewhere). But would be very nice. Yes submit a ticket, but low priority enhancement ![]()
by the way, talking about plugins, as i said i didnt looked very close to them yet, but i will have to because i have a few made for htmlarea. Are there any real important changement or other stuff to know about plugins since htmlarea cvs 0.95 i should know or read ? thank
Plugins should more or less just drop in, the only changes that might be required are if you do anything with the editor "in the raw" (that is specifically manipulating the iframe and such).
Another point is that some plugins need other plugins.. We should perhaps bescribe more how strong is the dependencies..
I think it shuld be possible for plugins to load other plugins as it is.
Hmmm. So it just stopped working sometime between FF 1.0.1 and 1.0.3 then (I'm using 1.0.1 with no problems)? That's pretty strange.
window.onload = xinha_init();
Ack! No, that's incorrect. It's very definatly without the brackets that you want. With them it assigns the result of the function to window.onload, rather than a reference to the function itself. If you use it with the brackets then xinha could try to initialize before the page is completely loaded, which could have unexpected results.
That said, I should make a better way by using attach event rather than just assigning to window.onload so it's more reliable.
Check the stripBaseURL config setting.
It looks real good niko, out of interest, why did you make dragIt() and dragEnd() static methods rather than prototype them into Dialog?
yes, the dialog should be really modal. but is diabling the toolbar enough?
i could imagine to have a huge div over the whole document (transparent) that catches all clicks, only the dialog itself is above this.
(don't know if this is possible)
The dialog should only really be modal when it needs to be modal for whatever reason, at least that's my view. A div over the editor (perhaps semi-opaque (-moz-opacity and the Alpha() filter for IE)) sounds like a good way of doing the modality though.
Hiding the selects under the div would work OK, but perhaps might be complicated? Don't know, never tried it before.
don't use iframes at all - why not a div (exaclty like the inline-dialog) - that we place over the whole site
I think the problem there would be the old "form elements show through layers" problem in web browsers where select lists etc are always "on top" and you can't put positioned divs over the top of them.
That said, I havn't actually seen that behaviour that I can remember in quite some time, so maybe MS and MZ finally fixed that particular problem?
Divs would be preferable if it's do-able.
PS: here's a good "drag-drop" library which you might find useful when doing this "fake popups" for making them dragable easily... http://www.walterzorn.com/dragdrop/dragdrop_e.htm
xinha_editors.myEditorNameHere.whatever()
change the background colour of the toolbars, and when pressed I want a red box around it
For now, just edit the htmlarea.css file, you can control most of what you want there.
wouldn't it be possible to replace HTMLArea.loadScript by HTMLArea._loadback-functions?
i don't know where to start as there is no callback-function.
you could just make the callback optional
if(typeof callback == 'function') callback();
then just not supply it if you don't want a callback.
- i have added the HTMLArea.InsertLinkDialog at the bottom of htmlarea.js - or should would be an external file?
If this is to be the default behaviour then that's OK, otherwise it could be a plugin perhaps. Of course, I'm not sure about making it the default until we have an implementation of a popup dialog working like inline-dialog, otherwise I suspect people might not like the change.
In general, looks like you have got the idea, good work ![]()