2007-09-19T01:40:38  <dreimark> cia seems to be buggy
2007-09-19T01:46:55  <CIA-27> moin: Reimar Bauer <rb.proj AT googlemail DOT com> default * 2840:167c6efea1de 1.7/MoinMoin/converter/ (2 files in 2 dirs): text_html_text_moin_wiki: fixed cut and paste from OpenOffice.org to the gui
2007-09-19T02:21:54  <dreimark> delayed, 1.6 is missing
2007-09-19T02:23:43  <dreimark> fix was for tables and I have enabled all tests which currently are ok
2007-09-19T02:24:41  <dreimark> btw. I have a backport for 1.5 too if this is wanted#
2007-09-19T02:24:43  <dreimark> gn
2007-09-19T08:49:35  <dreimark> moin
2007-09-19T08:52:07  <ThomasWaldmann> moin dreimark
2007-09-19T08:52:58  <ThomasWaldmann> + if node.nodeType == Node.TEXT_NODE:
2007-09-19T08:52:59  <ThomasWaldmann> + self.text.append(self.new_line)
2007-09-19T08:53:14  <ThomasWaldmann> can you tell why you added the 1st line?
2007-09-19T09:11:12  <dreimark> otherwise every empty cell in a table becomes a linebreak
2007-09-19T09:11:38  <dreimark> ThomasWaldmann:
2007-09-19T09:13:43  <ThomasWaldmann> but you didnt check for a table cell, but for a text node
2007-09-19T09:14:15  <ThomasWaldmann> that raises the question if all the other cases where it inserted (correctly) a BR are still working
2007-09-19T09:14:49  <ThomasWaldmann> also, what happens if there are intended BRs in a table cell (that should get replaced by <<BR>>)
2007-09-19T09:15:35  <dreimark> a linebreak in a table destroys the table
2007-09-19T09:15:51  <ThomasWaldmann> yeah, but not a <<BR>>
2007-09-19T09:18:50  <dreimark> e.g. ||a<<BR>>ddd ||c || ?
2007-09-19T09:19:17  <ThomasWaldmann> yes
2007-09-19T09:19:40  <ThomasWaldmann> some people use that (e.g. to simulate lists)
2007-09-19T09:25:01  <dreimark> if you come frome the text editor it works because the macro isnt translated
2007-09-19T09:26:00  <dreimark> for the gui its another issue because any newline in a table cell breaks the whole table line
2007-09-19T09:29:16  <dreimark> it has to be replaced from the gui to <<br>>
2007-09-19T09:30:59  <ThomasWaldmann> ok, have to go. I'll update test.wikiwikiweb.de, please do some tests for that stuff (not just with OOo, but also with existing, complex wiki pages)
2007-09-19T09:31:52  * ThomasWaldmann updated t.www.de
2007-09-19T09:31:55  <ThomasWaldmann> bbl
2007-09-19T09:31:58  <dreimark> I ll do and I have to do because we need it in karlsruhe too. I will fix today some of the other tests
2007-09-19T09:38:10  <dreimark>  drawing:mytest -> becomes {{drawing:mytest}} ?
2007-09-19T09:52:18  <dreimark> ok next to fix  is  ||<< if its written || << its ok, but mostly it isnt
2007-09-19T09:56:05  <dreimark> ThomasWaldmann: ||<<Anchor(here)>>#here || fails in text and gui
2007-09-19T11:06:58  <dreimark> in 1.5.8 a - is dropped from the page title
2007-09-19T11:07:19  * ThomasWaldmann didnt test drawing due to missing java support here
2007-09-19T11:10:05  <ThomasWaldmann> but as it usually shows the drawing {{drawing:...}} would make sense
2007-09-19T11:12:45  <ThomasWaldmann> dreimark: can you put some drawing on MoinMaster:SyntaxReference please?
2007-09-19T11:13:27  <ThomasWaldmann> (something small/medium sized, just some coloured circle/square)
2007-09-19T11:15:27  <dreimark> yep
2007-09-19T11:16:40  <dreimark> That ||<< is a parser bug too
2007-09-19T11:20:18  <ThomasWaldmann> ||< is for table params
2007-09-19T11:20:30  <ThomasWaldmann> if you want a macro, try || <<...
2007-09-19T11:20:49  <ThomasWaldmann> (that's no bug)
2007-09-19T11:21:00  <dreimark> it throws an exception on the screen, did you seen that
2007-09-19T11:21:18  <ThomasWaldmann> no, where?
2007-09-19T11:21:37  <dreimark> http://test17.wikiwikiweb.de/ReimarBauer/HelpOnMacros
2007-09-19T11:22:35  <ThomasWaldmann> i dont see an exception, just a error msg (this is no bug)
2007-09-19T11:23:45  <ThomasWaldmann> the ||< ambiguity maybe can fixed by a negative lookahead assertion
2007-09-19T11:25:08  <dreimark> the converter removes the blank. I will look at this too. testing in the text editor shows afterwards the same result
2007-09-19T11:27:22  <ThomasWaldmann> it doesnt remove the blank for me
2007-09-19T11:27:39  <ThomasWaldmann> (FF2006, toggling between text and gui)
2007-09-19T11:28:07  <ThomasWaldmann> so please file a bug before "fixing"
2007-09-19T11:32:51  <ThomasWaldmann> dreimark: can you also add an existing drawing to SR?
2007-09-19T11:33:18  * ThomasWaldmann has to fix the rendering of nonexisting drawing to also use that "attach.png" image
2007-09-19T11:34:07  * ThomasWaldmann wants that a link to nonexisting attachment renders similar to a link to a nonexisting page
2007-09-19T11:34:44  * ThomasWaldmann wants that a embedding of a nonexisting attachment renders a replacement image
2007-09-19T12:52:19  <dreimark> I do a bug report for that the test was to shortened http://test17.wikiwikiweb.de/ReimarBauer/HelpOnMacros?action=diff&rev2=15&rev1=14
2007-09-19T12:52:59  <dreimark> is what the gui does with HelpOnMacros.
2007-09-19T12:53:31  <dreimark> ThomasWaldmann: I have to add an existing drawinf because I cant create one currently on SR
2007-09-19T13:01:40  <dreimark> the java aplett runs but saving does not save
2007-09-19T13:02:05  <ThomasWaldmann> dreimark: is that MS Java or SUN?
2007-09-19T13:03:29  <dreimark> konqueror with sun 1.5.x java it goes well in 1.5.8
2007-09-19T13:03:49  <dreimark> i have not seen a 64 java plugin for firefox
2007-09-19T13:04:18  <dreimark> I will try from my flat later with a 32bit version of ff
2007-09-19T19:37:06  <dreimark> bbl
2007-09-19T20:23:45  <dreimark> were do I found which Dependencies are possible. I know time and user
2007-09-19T20:24:01  <grzywacz> hi
2007-09-19T20:28:16  <ThomasWaldmann> dreimark: iirc we currently only differentiate between [] and not []
2007-09-19T20:30:11  <ThomasWaldmann> helping fight global warming by conforming to pep8 and removing excess code.
2007-09-19T20:30:26  <ThomasWaldmann> (from sycamore commit comments)
2007-09-19T20:30:42  <dreimark> hehe
2007-09-19T20:50:06  <ThomasWaldmann> Xapian is no longer a required dependency, but if you're worth your shit you'd better install it.  Added a ghetto ass regexp search, which sucks, but whatever.
2007-09-19T20:50:16  <ThomasWaldmann> ("")
2007-09-19T21:34:29  <CIA-27> moin: Thomas Waldmann <tw AT waldmann-edv DOT de> default * 2181:b3a5d26809f3 1.6/MoinMoin/ (PageEditor.py caching.py): handle out-of-space errors in PageEditor and caching, avoid 'current' corruption (thanks to TheAnarcat)
2007-09-19T21:40:01  <anarcat> i should have done all this here instead of #moin... oh well, for next time :)
2007-09-19T21:40:01  <CIA-27> moin: Thomas Waldmann <tw AT waldmann-edv DOT de> default * 2841:93be75db2051 1.7/MoinMoin/ (PageEditor.py caching.py): handle out-of-space errors in PageEditor and caching, avoid 'current' corruption (thanks to TheAnarcat)
2007-09-19T21:40:11  * anarcat cheers
2007-09-19T21:40:17  <dreimark> :)
2007-09-19T21:40:23  <anarcat> is it backportable to 1.5 easily?
2007-09-19T21:40:31  <anarcat> the original patch was 1.5.8 ready...
2007-09-19T21:44:04  <ThomasWaldmann> no, complete rejection
2007-09-19T21:45:09  <anarcat> ok, i'll try to backport
2007-09-19T21:45:13  <dreimark> ThomasWaldmann: saving drawing works with 32bit ff and java 32bit
2007-09-19T21:49:23  <ThomasWaldmann> dreimark: yeah, I've seen the drawing :)
2007-09-19T22:00:57  <anarcat> uploaded a backport to http://moinmoin.wikiwikiweb.de/MoinMoinBugs/NoSpaceLeftOnDeviceLockfileProblem
2007-09-19T22:03:19  <anarcat> i reuploaded a hg export instead of an hg diff
2007-09-19T22:05:53  <dreimark> gn
2007-09-19T22:06:32  <ThomasWaldmann> gn dreimark
2007-09-19T22:06:45  <ThomasWaldmann> anarcat: great :) /me looks
2007-09-19T22:15:53  <CIA-27> moin: Thomas Waldmann <tw AT waldmann-edv DOT de> default * 850:f06665e39f32 1.5/ (MoinMoin/PageEditor.py docs/CHANGES): handle out-of-space errors in PageEditor, avoid 'current' corruption (thanks to TheAnarcat)
2007-09-19T22:18:12  <anarcat> yaaaay!
2007-09-19T22:18:52  <ThomasWaldmann> (for the case we have a 1.5.9 later this year)
2007-09-19T22:19:01  <anarcat> i sure hope there will be
2007-09-19T22:19:22  <anarcat> there's still a few other patches i'd like to get in... that i apply at every upgrad.e..
2007-09-19T22:20:07  <anarcat> http://wikifarm.koumbit.net/ExtensionsDisponibles#head-patches
2007-09-19T22:22:52  <ThomasWaldmann> 1.5 wont get new features
2007-09-19T22:23:31  <anarcat> i understand
2007-09-19T22:23:47  <ThomasWaldmann> (and there won't be a 1.5.10)
2007-09-19T22:23:54  <anarcat> maybe those could find their way into 1.6 then
2007-09-19T22:24:15  <anarcat> my main beef is NiceHeadingIds
2007-09-19T22:24:36  <anarcat> but to answer the last comment, i need to get into weird dynamic bytecode stuff that's just beyond me right now :)
2007-09-19T22:25:47  <ThomasWaldmann> there has been (heading)id work by johill recently
2007-09-19T22:26:29  <anarcat> aw
2007-09-19T22:26:44  <anarcat> i see.. too bad i didn't hear about it, i worked a lot on that patch
2007-09-19T22:29:00  <ThomasWaldmann> this page in other languages should have a textual description of what it does
2007-09-19T22:29:28  <ThomasWaldmann> the code doesn't look likely to get accepted
2007-09-19T22:30:30  <ThomasWaldmann> limitedRC is a soft security issue
2007-09-19T22:31:29  <anarcat> i disagree with limitedRC being a soft security issue, but i guess we'll never agree on that :)
2007-09-19T22:31:40  <anarcat> and i'm not sure i'm applying it all the time, it's not that important
2007-09-19T22:32:36  <anarcat> as for "this page in other languages", do you mean the patch or the wiki page?
2007-09-19T22:33:46  <ThomasWaldmann> just more verbose description for what it is needed, how it realizes this so that one does not need to decipher the code
2007-09-19T22:33:59  <anarcat> i seee
2007-09-19T22:36:28  <ThomasWaldmann> for the section editing stuff: i guess i first want to see a refactoring of PageEditor before making it even more complicated
2007-09-19T22:37:59  <anarcat> eh
2007-09-19T22:40:23  <ThomasWaldmann> also, it is likely to conflict with 1.7 storage stuff
2007-09-19T22:41:35  <anarcat> indeed
2007-09-19T22:41:54  <anarcat> i'm sorry i don't follow the development that well, i'm sure i could improve lots of things
2007-09-19T22:42:08  <anarcat> i updated ThisPageInOtherLanguages
2007-09-19T22:42:27  <anarcat> but i think you've already commented against this MultiLang approach, so i don't have lot of faith in getting it in :)
2007-09-19T22:42:56  <anarcat> how can i look at the heading stuff johill worked on?
2007-09-19T22:45:20  <ThomasWaldmann> hg.moinmo.in 1.7 branch
2007-09-19T22:47:03  <ThomasWaldmann> btw, did you see the sisterpage stuff?
2007-09-19T22:47:44  <anarcat> i can't find johill in the shortlog of the last 2 months
2007-09-19T22:47:50  <anarcat> i saw this quickly...
2007-09-19T22:48:09  <ThomasWaldmann> JohannesBerg
2007-09-19T22:48:12  <anarcat> aaaah
2007-09-19T22:48:29  <anarcat> http://moinmoin.wikiwikiweb.de/TwinPages ?
2007-09-19T22:49:38  <ThomasWaldmann> http://moinmoin.wikiwikiweb.de/FeatureRequests/SisterSites
2007-09-19T22:52:18  <anarcat> i see the johill changes
2007-09-19T22:52:29  <anarcat> so now anchors are url-quoted, basically
2007-09-19T22:52:34  <anarcat> i like my code better :p
2007-09-19T22:53:07  <anarcat> it's more readable
2007-09-19T22:56:13  <anarcat> well, not the code, but the generated heading
2007-09-19T22:56:51  <anarcat> i especially like what unicodedata.normalize('NFKD', text).encode('ascii', 'ignore')) does to non-ascii characters
2007-09-19T22:57:07  <TheSheep> anarcat: it deletes ł
2007-09-19T22:57:11  <anarcat> from what i can tell, the johill code just encodes that into %89
2007-09-19T22:57:23  <TheSheep> anarcat: I'd prefer it if it turned it into l
2007-09-19T22:57:24  <anarcat> TheSheep: it does?
2007-09-19T22:57:40  <anarcat> hmm... well, it does the right thing to most latin1 entities i could find
2007-09-19T22:57:43  <TheSheep> anarcat: yes, because ł is not l+/ in unicode
2007-09-19T22:57:46  <anarcat> é, è, etc...
2007-09-19T22:58:10  <anarcat> anyways, the current code turns that into an ugly %NN escape sequence
2007-09-19T22:58:13  <TheSheep> it's ok for all the rest of polish characters
2007-09-19T22:58:38  <anarcat> i guess i'd need to send a new patch for 1.7...
2007-09-19T22:58:53  <anarcat> working on top of the (nice, btw) work that johill made
2007-09-19T22:59:30  <ThomasWaldmann> anarcat: btw, it should also work for chinese, hebrew or hindi headings
2007-09-19T22:59:37  <TheSheep> you would probably want some other special cases too, like ®->R
2007-09-19T23:00:20  <anarcat> ThomasWaldmann: .. right.. didn't think of that :(
2007-09-19T23:00:32  <anarcat> crap.
2007-09-19T23:00:57  <anarcat> i guess there could be some heuristics in the code to guess if the string is latin-like in some way
2007-09-19T23:01:08  <anarcat> and switch encoding method, depending on the heuristics
2007-09-19T23:01:12  <anarcat> phew...
2007-09-19T23:02:00  <TheSheep> anarcat: just use a random number or hash if the one resulting from your method is shorter than, say, 8 characters
2007-09-19T23:02:47  <anarcat> i guess that's a fairly good approximation
2007-09-19T23:03:10  <anarcat> that *and* that the original string is not shorter than 8 chars :)
2007-09-19T23:03:40  <anarcat> and actually, if the original string is non-latin, my algorithm will be simply one char long ("-")
2007-09-19T23:04:02  <anarcat> er... my algorithm will produce a string one char long, "-"
2007-09-19T23:04:24  <TheSheep> anarcat: you could fill it up to 8 chars
2007-09-19T23:04:44  <anarcat> anyways, all good
2007-09-19T23:04:58  <anarcat> i'll try to find some time later to work on this, now i gotta do some "real work" :/
2007-09-19T23:05:08  <TheSheep> anarcat: think about that l, I'm sure there are more cases like that :(
2007-09-19T23:05:43  <TheSheep> anarcat: I've heard about some weirdness with Turkish
2007-09-19T23:06:01  <anarcat> in another topic, i don't understand how sistersites relate to MultiLang unless you got a wiki per lang, and even then...
2007-09-19T23:06:16  <anarcat> translated pages don't have related names, usually
2007-09-19T23:08:56  <TheSheep> anarcat: you want the page names encoded the same way in all your wikis :)
2007-09-19T23:26:51  <ThomasWaldmann> anarcat: that's why the 1.6 implementation is called basic sisterwiki and real multilang needs extended sw
2007-09-19T23:28:07  <TheSheep> ThomasWaldmann: oddmuse had a nice macro for linking to translated pages, that would also compare the versions and warn you when the translations are possibly out of date :)
2007-09-19T23:28:26  <TheSheep> ThomasWaldmann: never really used it though, so can't tell how well that worked
2007-09-19T23:29:41  <ThomasWaldmann> we could use some mechanism on moinmaster, but macros aren't the best way for what's needed there
2007-09-19T23:30:46  <TheSheep> ThomasWaldmann: sure, that's just some loose association
2007-09-19T23:31:03  <anarcat> TheSheep: wow
2007-09-19T23:49:06  <grzywacz> bye

MoinMoin: MoinMoinChat/Logs/moin-dev/2007-09-19 (last edited 2007-10-29 19:10:32 by localhost)