IRC Archive for channel #xwiki on 09 December 2008

Last modified by Vincent Massol on 2012/10/18 18:30

asiri - (09/12/2008 08:17): lucaa: small help, if i make a small modification to wysiwyg code, do i have to build the whole XE to test it ? is there a way to build wysiwyg module only and copy some files to an existing XE ?
lucaa - (09/12/2008 08:25): hi asiri
lucaa - (09/12/2008 08:25): so, you only build your Wysiwyg module
lucaa - (09/12/2008 08:25): and then you go to:
lucaa - (09/12/2008 08:26): target/xwiki-web-wysiwyg-1.7-SNAPSHOT
lucaa - (09/12/2008 08:27): and you need to copy almost all that in your <install-dir>/webapps/xwiki/ as follows:
lucaa - (09/12/2008 08:28): com.xpn.xwiki.wysiwyg.Wysiwyg and com.xpn.xwiki.wysiwyg.Wysiwyg-aux go directly to webapps/xwiki
lucaa - (09/12/2008 08:28): .gwt-tmp too but I'm not really sure it has to
asiri - (09/12/2008 08:30): lucaa: cool, one more question, i'm pretty new to wysiwyg code base, what is the connection between tiny_mce editor and ours ? :)
lucaa - (09/12/2008 08:30): then, you take the xwiki-web-wysiwyg-1.7-SNAPSHOT* jars in WEB-INF/lib in the target dir I told you and you replace the ones in the installation with these ones (in the installation they are at webapps/xwiki/WEB-INF/lib)
lucaa - (09/12/2008 08:30): none
lucaa - (09/12/2008 08:30): why?
asiri - (09/12/2008 08:31): inside /webapps/xwiki/ dir i see a directory named tiny_mce ..
asiri - (09/12/2008 08:31): may be it was removed lately ?
asiri - (09/12/2008 08:31): (lucaa)
lucaa - (09/12/2008 08:31): wait
lucaa - (09/12/2008 08:31): first you need to know there are 2 wysiwyg editors right now in xwki
lucaa - (09/12/2008 08:31): xwiki
lucaa - (09/12/2008 08:32): I actually didn't even ask which one are you asking about, I gave you the instructions for the second
lucaa - (09/12/2008 08:32): one is "older", based on tiny_mce and works with xwiki syntax 1.0
lucaa - (09/12/2008 08:33): and the other one is the new one, based on GWT and works with xwiki syntax 2.0
asiri - (09/12/2008 08:33): lucaa: so the default editor is our own one ? or the tiny_mce one ?
lucaa - (09/12/2008 08:33): the new one has not been "released" yet, meaning that it's not yet the default one
lucaa - (09/12/2008 08:33): no, still the tiny_mce one
asiri - (09/12/2008 08:34): how you switch between them ? sorry, i tried several places but couldn't find how to ..
lucaa - (09/12/2008 08:34): you change your page syntax to xwiki 2.0
lucaa - (09/12/2008 08:34): save and continue
lucaa - (09/12/2008 08:34): and you get the new editor
lucaa - (09/12/2008 08:35): since the new one is the one default for 2.0 syntax
asiri - (09/12/2008 08:35): lucaa: cool! so when i'm editing wysiwyg module's code, i need to edit pages in xwiki 2.0 syntax to see the new editor is it ?
lucaa - (09/12/2008 08:35): yes
asiri - (09/12/2008 08:36): lucaa: Thanks :)
lucaa - (09/12/2008 08:39): for nothing, I hope it helps
asiri - (09/12/2008 08:51): lucaa: we it helped a lot. :)
asyd - (09/12/2008 09:30): \_o<
gwash - (09/12/2008 09:30): are there any plans to implement this --> http://dev.xwiki.org/xwiki/bin/view/Design/SPAWN soon?
xwikibot - (09/12/2008 09:31): Macros.XHTMLMacro was modified by xwiki:XWiki.VincentMassol (Updated with code change (new wiki parameter in place of the old escapeWikiSyntax one)) - http://code.xwiki.org/xwiki/bin/view/Macros/XHTMLMacro
xwikibot - (09/12/2008 09:37): Macros.XHTMLMacro was modified by xwiki:XWiki.VincentMassol (Improved doc) - http://code.xwiki.org/xwiki/bin/view/Macros/XHTMLMacro
vmassol - (09/12/2008 09:37): gwash: I'm afraid nor
vmassol - (09/12/2008 09:37): not
vmassol - (09/12/2008 09:37): it's marked as dormant
gwash - (09/12/2008 09:37): vmassol: heh? any good reason why?
gwash - (09/12/2008 09:38): i mean Twiki already has it
vmassol - (09/12/2008 09:38): gwash: there needs to be someone doing it
gwash - (09/12/2008 09:38): agh
gwash - (09/12/2008 09:38): ya, i guess :P
vmassol - (09/12/2008 09:39): latex we have somehow
vmassol - (09/12/2008 09:39): ldap too
vmassol - (09/12/2008 09:39): openid is there too
gwash - (09/12/2008 09:39): how do we have latex?
vmassol - (09/12/2008 09:40): it's not committed in the main module but I've seen some latex code
vmassol - (09/12/2008 09:40): it's also very easy to add now
vmassol - (09/12/2008 09:40): with the new rendering
vmassol - (09/12/2008 09:40): since Doxia has a latex module for example
gwash - (09/12/2008 09:40): i just need to write LaTeX equations and have a graphical output that's all, no need for the other fancy stuff
vmassol - (09/12/2008 09:41): you mean like a latex macro?
gwash - (09/12/2008 09:41): vmassol: yes
vmassol - (09/12/2008 09:41): (and not like export the whole doc in latex format)
gwash - (09/12/2008 09:41): nope
gwash - (09/12/2008 09:41): just latex rendering
gwash - (09/12/2008 09:41): is that possible?
vmassol - (09/12/2008 09:42): have you searched the mailing list archives?
vmassol - (09/12/2008 09:42): http://xwiki.markmail.org/search/?q=latex&x=0&y=0
vmassol - (09/12/2008 09:42): I see some latex there
gwash - (09/12/2008 09:42): hmm.. ok, i'll check it
vmassol - (09/12/2008 09:42): do you know of a java-based library for interpreting latex syntax?
vmassol - (09/12/2008 09:43): (with the new macro system it's easy to add new macros)
gwash - (09/12/2008 09:44): vmassol: no not really, there might be some java latex editors, but it probably uses system commands for rendering
vmassol - (09/12/2008 09:44): what I can do easily is output document to latex format
vmassol - (09/12/2008 09:45): howvever the latex macro is dfiferent
vmassol - (09/12/2008 09:45): it needs some some latex parser
gwash - (09/12/2008 09:45): vmassol: ok, i'll google around abit
vmassol - (09/12/2008 09:46): ok
gwash - (09/12/2008 09:46): have you checked some of the suggestions on the ML?
vmassol - (09/12/2008 09:46): no I personally haven't worked on those
vmassol - (09/12/2008 09:48): it would be great to get contribution for this
vmassol - (09/12/2008 09:48): since none of us xwiki core developers have been using latex
vmassol - (09/12/2008 09:48): that's probably why we haven't done it
gwash - (09/12/2008 10:01): vmassol: well, but since you implemented charts and spreadsheets, i don't see why LaTeX should be an exception, specially that it's used heavily in academic environments.
gwash - (09/12/2008 10:02): i know implementing full a TeX environment (without relying on system tools) will be next to impossible, however pseudo LaTeX Math syntax is used everywhere, including a few wiki's and word processors, that should probably be your goal rather than full implementation
gwash - (09/12/2008 10:03): -a
gwash - (09/12/2008 10:04): check this out: http://scenari-platform.org/svn/dev-core/trunk/Jav_EXT/com/scenari/ext/latex/
gwash - (09/12/2008 10:04): from the ML
gwash - (09/12/2008 10:04): this more like what i'm talking about
vmassol - (09/12/2008 10:06): gwash: I've checked it
vmassol - (09/12/2008 10:06): it doesn't seem to have a community/supported/etc
asyd - (09/12/2008 10:06): ahh scenari-platform!
vmassol - (09/12/2008 10:06): or does it?
vmassol - (09/12/2008 10:07): asyd seems to know it
asyd - (09/12/2008 10:07): it's a french company founded by guys from inra or sth like that
asyd - (09/12/2008 10:08): there are at JDLL (opensoource event at lyon) every year
asyd - (09/12/2008 10:09): the concept is interesting
gwash - (09/12/2008 10:14): i don't know what these guys are using, but it's impressive: http://www.physicsforums.com/showthread.php?t=8997
vmassol - (09/12/2008 10:17): yes would be good to see what they yse
vmassol - (09/12/2008 10:17): use
vmassol - (09/12/2008 10:19): it seems they are images
gwash - (09/12/2008 10:22): vmassol: this sounds interesting: http://www.csparks.com/jeuler/index.jhtml
gwash - (09/12/2008 10:23): also produces images rather than rendered text
vmassol - (09/12/2008 10:23): I'd prefer text since images will be a pain
vmassol - (09/12/2008 10:23): we'd need to attach them to the document when it's rendered
vmassol - (09/12/2008 10:23): well it's possible
vmassol - (09/12/2008 10:23): they'd need to be cached
vmassol - (09/12/2008 10:23): which makes it a bit complex
gwash - (09/12/2008 10:26): vmassol: isn't that essentially the same way charts work?
vmassol - (09/12/2008 10:26): gwash: yes you're right I think
vmassol - (09/12/2008 10:27): the images are stored on disk and not on pages
vmassol - (09/12/2008 10:27): (looking at the code now)
vmassol - (09/12/2008 10:28): yes confirmed
gwash - (09/12/2008 10:30): vmassol: cool, is it implementable?
vmassol - (09/12/2008 10:31): sure, just need someone who can do it
gwash - (09/12/2008 10:31): shame, i don't know much about java :|
vmassol - (09/12/2008 10:32): http://jeuclid.sourceforge.net/
vmassol - (09/12/2008 10:35): jeuclid sounds good in term of license
vmassol - (09/12/2008 10:35): it's built with maven which is a + too
gwash - (09/12/2008 10:36): same as xwiki, eh?
vmassol - (09/12/2008 10:37): re maven yes
vmassol - (09/12/2008 10:38): seems acitve: http://sourceforge.net/project/showfiles.php?group_id=44862
vmassol - (09/12/2008 10:38): sounds like a good choice
xwikibot - (09/12/2008 10:39): Main.ReleaseNotes was modified by XWiki.jvdrean (Added 1.7.1) - http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotes
vmassol - (09/12/2008 10:39): http://jeuclid.sourceforge.net/trunk/changes-report.html
gwash - (09/12/2008 10:42): sweet!
gwash - (09/12/2008 10:42): it has an api documentation too
xwikibot - (09/12/2008 10:49): Main.ReleaseNotesXWikiEnterprise17 was modified by XWiki.jvdrean (Initial version) - http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXWikiEnterprise17
asyd - (09/12/2008 11:50): ah, btw, I have a big trouble with xwiki!
asyd - (09/12/2008 11:50): why you not choose zwiki ?! :)
asyd - (09/12/2008 11:50): zsh is the best shell, zfs the best filesystem.. ;p
jvdrean - (09/12/2008 11:52): "Zwiki has been developed since 1999"
jvdrean - (09/12/2008 11:52): http://zwiki.org/FrontPage
jvdrean - (09/12/2008 11:52): ;)
xwikibot - (09/12/2008 11:54): Design.DefaultWikiImprovements was modified by xwiki:XWiki.GuillaumeLerouge - http://dev.xwiki.org/xwiki/bin/view/Design/DefaultWikiImprovements
xwikibot - (09/12/2008 12:01): Main.ReleaseNotesXWikiEnterprise17 was modified by XWiki.jvdrean - http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXWikiEnterprise17
vmassol - (09/12/2008 12:34): Mail sent about the XE 1.8 roadmap
vmassol - (09/12/2008 12:34): please all have a look and let me know what you think
gwash - (09/12/2008 12:50): vmassol: no MathML? :(
gwash - (09/12/2008 12:50): ^just realised that's what they call pseudo-LaTeX math markup
vmassol - (09/12/2008 13:05): gwash: this is community dev,anyone who wants to implement something can do it
vmassol - (09/12/2008 13:06): I've just summarized what I know people said they would work on for 1.8
vmassol - (09/12/2008 13:06): if someone can do the mathml stuff then it'll be in 1.8
gwash - (09/12/2008 13:08): vmassol: when is it due to release?
vmassol - (09/12/2008 13:08): oh you're rigth I forgot to mention that
vmassol - (09/12/2008 13:08): replying now
gwash - (09/12/2008 13:08): heh? ok :)
vmassol - (09/12/2008 13:09): done
gwash - (09/12/2008 13:12): vmassol: ugh! ok, i can try to do something about it, before final release but not before that
gwash - (09/12/2008 13:13): i know java, but i'm just not familiar with servlets and what not
vmassol - (09/12/2008 13:13): gwash: you'll just need to imeplment a Macro
vmassol - (09/12/2008 13:13): in the new rendering
vmassol - (09/12/2008 13:13): there's a tutorial started here:
gwash - (09/12/2008 13:14): vmassol: is that allowed? i mean is there some kind of feature freeze prior to release?
vmassol - (09/12/2008 13:14): (not finished but someone is going to complete is in the coming weeks)
vmassol - (09/12/2008 13:14): feature freeze happen just before the RC
vmassol - (09/12/2008 13:14): http://dev.xwiki.org/xwiki/bin/view/Drafts/Tutorial+to+Write+a+Macro+in+the+new+rendering+engine
vmassol - (09/12/2008 13:14): but for macros the best is to look at existing macro implementations
gwash - (09/12/2008 13:15): but then marco's are not part of xwiki core anyway, right?
vmassol - (09/12/2008 13:15): here:
vmassol - (09/12/2008 13:15): http://svn.xwiki.org/svnroot/xwiki/platform/core/trunk/xwiki-macros/
vmassol - (09/12/2008 13:15): gwash: they are
gwash - (09/12/2008 13:15): ah
vmassol - (09/12/2008 13:15): they are distributed with XWiki enterprise
vmassol - (09/12/2008 13:15): and all XWiki products
gwash - (09/12/2008 13:15): i see
vmassol - (09/12/2008 13:15): however
vmassol - (09/12/2008 13:16): you can also just drop the macro jar in your WEB-INF/lib
vmassol - (09/12/2008 13:16): and you'll get the macro available
vmassol - (09/12/2008 13:16): in your pages
vmassol - (09/12/2008 13:16): so they can also be released indpeendently
vmassol - (09/12/2008 13:16): we just package them for convenience
gwash - (09/12/2008 13:16): right
vmassol - (09/12/2008 13:16): so that users get them all when they download XWiki Enterprise
xwikibot - (09/12/2008 14:12): Main.ReleaseNotesXWikiEnterprise17 was modified by XWiki.jvdrean - http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXWikiEnterprise17
xwikibot - (09/12/2008 15:31): Main.ReleaseNotesXWikiEnterprise17 was modified by XWiki.jvdrean - http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXWikiEnterprise17
xwikibot - (09/12/2008 17:44): RestApiDocumentation.Resources_Search was modified by xwiki:XWiki.dward - http://curriki.xwiki.org/xwiki/bin/view/RestApiDocumentation/Resources_Search
asyd - (09/12/2008 17:44): oh btw, guys, especially paris's people, like jvdrean
asyd - (09/12/2008 17:44): I give a talk about ldap, and kerbros tonight
asyd - (09/12/2008 17:44): if you're interested.. (at Sun iena, 42 avenue de l'iena)
jvdrean - (09/12/2008 18:21): thx for the ping asyd but it's the 1.7 release rush right now :)
jvdrean - (09/12/2008 18:21): I won't be able to attend
xwikibot - (09/12/2008 20:03): Main.Playground was modified by XWiki.xko (deleted document) - http://playground.xwiki.org/xwiki/bin/view/Main/Playground
xwikibot - (09/12/2008 20:04): Main.PlaygroundMoved was modified by XWiki.xko (deleted document) - http://playground.xwiki.org/xwiki/bin/view/Main/PlaygroundMoved
xwikibot - (09/12/2008 23:39): Macros.WarningMacro was modified by xwiki:XWiki.pgrodt (I can't preview object edits, so the intent is to link to the related ErrorMacro and InfoMacro pages) - http://code.xwiki.org/xwiki/bin/view/Macros/WarningMacro
xwikibot - (09/12/2008 23:40): Macros.ErrorMacro was modified by xwiki:XWiki.pgrodt (linking to related InfoMacro and WarningMacro) - http://code.xwiki.org/xwiki/bin/view/Macros/ErrorMacro
xwikibot - (09/12/2008 23:41): Macros.InfoMacro was modified by xwiki:XWiki.pgrodt (linking to related ErrorMacro and WarningMacro) - http://code.xwiki.org/xwiki/bin/view/Macros/InfoMacro
xwikibot - (09/12/2008 23:58): XWiki.GregoryHunter was modified by XWiki.GregoryHunter (Created user) - http://www.xwiki.org/xwiki/bin/view/XWiki/GregoryHunter

Get Connected