Announcement

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

#801 Re: User Discussion & Help » Tickets organization » 2005-04-06 00:56:07

Niko, could you make a list of what categories are needed and I'll get them done for you.

Guillaume, feel free to take and resolve any tickets you like.  It would be good if some people could do "triage" on the tickets to sort them into "seriousness" (and set keywords, change the release if it's wrong etc).  All users with trac access should be able to do that.

I'd like to first fix bugs, then we can make a 1.0 release - so all "bugfix" tickets should be assiged to milestone 1.0.  Feature requests can be given lower priority.

#802 Re: User Discussion & Help » Aspell not functional in nightly build demo or download » 2005-04-06 00:51:35

You must use the PHP backend with the downloaded copy of aspell, aditionally, you'll probably have to adjust stuff to your host.  I don't much like your chances getting it running with Globat though, I don't know if they allow calling custom executables from PHP.

#803 Re: User Discussion & Help » Is it possible to Hide the Path bar » 2005-04-06 00:48:28

I think you just volunteered to lead the FAQ effort guillaumed...

http://xinha.python-hosting.com/wiki/Fr … dQuestions

when you have something useful there let me know and I'll put a sticky on the forum for it.  Don't forget to link it from the wiki homepage.

#804 Re: User Discussion & Help » Mailinglist (Trac-Tickets) » 2005-04-06 00:42:48

adamp wrote:

I've been trying to set trac up on my backup server recently. If I can get it working, I'm happy to host the Xinha trac with whatever else is needed.

We'l be leaving it with PH for three reasons...
1. keeping it neutral, if a Xinha user/developer hosts it then it could get difficult if they lose interest
2. PH knows what they are doing with Trac and SQLite - I know what I'm doing most of the time, but was completely unsuccessful in keeping trac running smoothly
3. We already moved there :)

#805 Re: User Discussion & Help » Mailinglist (Trac-Tickets) » 2005-04-05 10:44:42

Python hosting doesn't offer this in the freetrac account which we have for Xinha.  If somebody wants to donate $150 for it we can get a paid account for a year which would give us the ability to configure trac however we want.

Anybody wanting to stump up the cash for that let me know.

Oherwise, make do with the RSS feed smile

#806 Re: User Discussion & Help » new i18n-system » 2005-04-05 06:48:30

BUT: the HTMLArea._lc doesn't have access to the editor-object, and so can't read out the current charset!

All javascript strings are internally representad as unicode data anyway (in the javascript engine), the encoding (utf-8) is only for getting strings "into" javascript strings, and "out of" them if necessary.  Once inside the string variable (object) they are just plain old Unicode without any encoding.

I think that we should use UTF-8 only for language files, translators can convert to/from thier "preferred" characterset to utf-8 if they wish, but the language files themselves should be utf-8. 

XMLHttpRequest (used by _geturlcontent) is supposed to determine from the character-encoding heading set by the server on loading the language (file) that the data it's loading is utf-8 (provided the server says that it is) and make that a unicode javascript string (object) corectl.

Infact, MSXML apparently ignores the characterset returned by the server and instead ALWAYS decodes the text (in "responseText") as utf-8 (http://www.forum4designers.com/message197591.html) , so infact, using _geturlcontent() simply isn't going to work with any other charactersets anway (in IE).  The only way to stop that is to use either a BOM (Byte Order Mark) indicating it's a different UNICODE encoding (ie you can't use a BOM to indicate it's ISO-8859-1, that's not unicode), or to wrap it in XML which specifies the characterset and use responseXML to get at the data.

I think the answer is simple, have all language data mandatorally utf-8, if translators write in another characterset we can convert that before adding it to xinha (using iconv etc).  For IE it would probably work just fine (because it always assumes utf-8 unless a BOM is present indicating one of the other unicode encodings (utf-16 etc)), for Mozilla, I think the implementor just has to make sure that thier server sends correct character encoding of utf-8 for these files - unless we can find a way to force the Gecko XMLHTTPRequest to interpret them as utf-8 nomatter what the server calls them, which would be preferable.

Infact, this extends to all javascript files etc that is loaded as part of Xinha, all files should be utf-8 (although I expect most files apart from the language data wouldn't need to use any double byte characters anyway so it's a largely moot point).

#807 Re: User Discussion & Help » Tickets organization » 2005-04-05 04:56:45

The yermo version is to track tickets against a branch that Yermo is making soon to experiment with making unified backends and such.

#808 Re: User Discussion & Help » Mailinglist (Trac-Tickets) » 2005-04-05 04:43:58

OK, it is a feature of trac.. I've asked python-hosting if they can setup a ticket notification email to go to a mailing list I'll setup.  Just depends wether they (PH) will do so on the freetrac accounts, I'll post here when they get back to me.

#809 Re: User Discussion & Help » Aspell not functional in nightly build demo or download » 2005-04-05 00:39:23

I'll look at the demo.

For configuring on a shared server, do you have aspell installed and is PHP capable of calling it?

See http://xinha.python-hosting.com/wiki/SpellChecker

#810 Re: User Discussion & Help » Function to execute javascript from a button » 2005-04-05 00:35:57

From what kind of button?  In the toolbar, or just a normal form button?

For the toolbar...

      xinha_config.btnList["my-preview"] =
       [ function(editor) { preview(1); }, // action
         "Preview?", // tooltip
         "my_preview.gif", // image
         false // disabled in text mode
       ];
      xinha_config.toolbar.push(["my-preview"]);

For a normal form button...

<button onclick="preview(1)" value="Da Button" />

#811 Re: User Discussion & Help » Mailinglist (Trac-Tickets) » 2005-04-05 00:28:53

I don't like mailing lists, because I never get around to reading them smile

As for your question, I don't think there is a setting in trac for that, at least not to my knowledge.  This RSS feed is probably the best way to keep track of ticket changes...

http://xinha.python-hosting.com/timelin … format=rss

(you'l see RSS buttons on the bottom of many trac pages, click them to get the feed smile)

#812 Re: User Discussion & Help » Fullscreen + Div Implimentation » 2005-04-05 00:24:39

It'll be the relative position that throws things off I expect.

#813 Re: User Discussion & Help » Xinha and PHPMyEdit » 2005-04-05 00:22:04

How would you use the functions deactivateEditor and activateEditor in a plugin?
It cant be e.deactivateEditor(); as I tried it and it did not work.

They are methods of the editor object, if you have the editor object in question referenced by e then that is correct.  If you have it referenced as foobar, then foobar.activateEditor() is correct.

What version are you editng?  Line 63 in fullscreen of the current nightly precedes the full screen method definition (which is prototyped into the editor object, so within that method you could use this to reference the editor of course).

#814 User Discussion & Help » Skript Kiddie at work » 2005-04-02 13:19:22

gogo
Replies: 3

Looks like we got ourselves a script kiddie, defaced the board today.  Upgrading to the latest punBB now.  Please feel free to show this person what we think of him, and to send email to the abuse email for the IP range...

Email: cyb3r_kill3r@yahoo.com
IP: 217.218.210.131

Whois on the IP:

person:       Hamid Alipour
address:      Datacommunications Company of Iran
address:      DCI
address:      P.O.Box 16315-737.
address:      Tehran
address:      Iran
phone:        +98 21 23932210
fax-no:       +98 21 23932422
e-mail:       alipour@mail.dci.co.ir
org:          ORG-TCoI1-RIPE
nic-hdl:      HA1537-RIPE
remarks:      Please for any abuse report write to abuse@mail.dci.co.ir
notify:       alipour@mail.dci.co.ir
mnt-by:       AS12880-mnt
changed:      alipour@mail.dci.co.ir 20050201
source:       RIPE

person:       Zahra Deliri
address:      Datacommunications Company of Iran
address:      DCI
address:      No 2.1 Yazdanpanah st.Vali Asr Av.
address:      Tehran
address:      Iran
phone:        +98 21 8790652
fax-no:       +98 21 8790030
e-mail:       deliri@itc.ir
e-mail:       ripe@dci.ir
nic-hdl:      ZD144-RIPE
remarks:      Technical Contact Person
remarks:      Please for any abuse report write to abuse@mail.dci.co.ir
mnt-by:       AS12880-mnt
changed:      alipour@mail.dci.co.ir 20031231
source:       RIPE

Found us through Google:
217.218.210.131 - - [02/Apr/2005:06:21:46 -0500] "GET /punbb/profile.php?id=72 HTTP/1.1" 200 1219 "http://www.google.com/search?hl=fa&q=in … A%AF%D9%84" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)"

#815 Re: User Discussion & Help » New Home » 2005-04-02 12:30:58

Foxx wrote:

As for using xinha.org, I emailed gogo about it, but haven't received a reply yet... smile eveything is possible!

You did?  Emails tend to get buried if they come to me.

Easiest way is to assign the nameservers to ns1.hyneria.gogo.co.nz and ns2.hyneria.gogo.co.nz, I have setup xinha.org in those nameservers so it should be good to go.

#816 Re: User Discussion & Help » template toolkit + xinha= problem? » 2005-04-02 05:24:24

glebushka wrote:

<input type=hidden name=component_id value=843>
Quotes are not required in this case.

Quotes should always be used.

Especially because we may have following code:
<input type=hidden name=component_id value="[% IF my_param == "2" %][% some_function %][% ELSE %]none[% END %]">

That's invalid HTML, the inner quotes must be entities.

To put it simply, in WYSIWYG mode, Xinha can only deal with perfectly valid HTML. That means that quotes will, and must, be entities except where they delimit an attribute value.

If you want to use invalid HTML such as the above you will have to "massage" it so that is IS valid html when you give it to Xinha, and "massage" the valid html that Xinha gives you back into your invalid-html markup.

#817 Re: User Discussion & Help » #xinha IRC channel » 2005-04-02 05:10:46

Sticked.  But don't expect to see me there, too little time to be on IRC smile

#818 Re: User Discussion & Help » Problem with spell checker » 2005-04-02 05:04:12

Can you post your configuration please.

#819 Re: User Discussion & Help » compressing the javascript » 2005-04-02 04:55:39

Thanks Wei,  some code refactoring and reduction is on the cards.  One day.  Sometime.  I've submitted a ticket with that link.  I suspect the code will have to be cleaned up before compression by ESC will work.

#820 Re: User Discussion & Help » Developers Developers Developers » 2005-04-02 04:51:17

g2010a wrote:

Is there a tutorial for plugin creation? Is there a definition of the API or a list of functions or anything on how to communicate with the core? I have unsuccesfully searched for such for HTMLArea or Xinha, so contributing has been hard and frustrating... reverse engineering takes a heck of a lot of time.  If anyone could give me some pointers I will contribute any useful plugins I might develop.
Thanks for the awesome job, by the way.

Afraid not.  Best way to learn is to look at the existing plugins, try the SuperClean plugin for example.

#821 Re: User Discussion & Help » A script on this page is causing Mozilla to run slowly... » 2005-04-02 04:49:05

Yes Linker is the main culprit for that.  It would be good if we could get a "progressive loading tree" happening (ie branches don't load until they are required).

#822 Re: User Discussion & Help » CSS and DynamicCSS plugins » 2005-04-02 04:45:30

I havn't used the DynamicCSS or CSS plugins.  If you find a solution it would be good if you can post it so others can benefit.

The Stylist plugin uses extra space because it allows you to apply multiple classes to the selection, rather than the others which can only apply one class per selection.

#824 Re: User Discussion & Help » Plugin organization » 2005-04-02 04:40:37

1. I don't like the idea of on-demand plugin loading.  Plugins should be loaded once at runtime, BUT, the plugins themselves should be designed so that thier initialization can be done "in the background" or on demand.

2. Parsing XML is slow.  eval(javascriptCodeHere) is fast.  Whats the point of PHP -> XML -> Javascript instead of just PHP -> Javascript, there is no advantage gained by the XML adbstraction in this case.

#825 Re: User Discussion & Help » General administration » 2005-04-02 04:36:22

I think I will split to "User" and "Development" soon and move topic accordingly.

Board footer

Powered by FluxBB