2009-08-13T00:19:20  <ThomasWaldmann> re
2009-08-13T00:19:33  <PawelPacana> hi Thomas
2009-08-13T00:21:47  <dreimark> re
2009-08-13T00:25:19  <ThomasWaldmann> PawelPacana: in mm2, we currently do not store "name" as revision metadata. just the whole item has a name.
2009-08-13T00:25:31  <ThomasWaldmann> thus, it will be "second" currently.
2009-08-13T00:26:03  <ThomasWaldmann> there is a small hint in edit_log_extra though for the save/rename revision, extra has the old name
2009-08-13T00:27:44  <PawelPacana> ThomasWaldmann: i'm storing name in my internal metadata for reverse name mapping
2009-08-13T00:30:30  <ThomasWaldmann> you mean rev -> rev name?
2009-08-13T00:31:03  <ThomasWaldmann> i thought about whether we should maybe in general store the name into any revision
2009-08-13T00:31:52  <ThomasWaldmann> (not to make the rev visible under that name, but just to make history more clear and easier)
2009-08-13T00:33:08  <PawelPacana> well, its a bit complicated
2009-08-13T00:33:52  <PawelPacana> all due to trying do things with mercurial it is not intended to do
2009-08-13T00:35:41  <PawelPacana> it'll be better to discuss it when i finish docs fo hg backend
2009-08-13T00:35:50  <PawelPacana> s/fo/for/
2009-08-13T00:40:38  <PawelPacana> anyway, i'm bit disappointed with how much workarounds there must be in order to conform api, not complicate console editing  and simultaneously not break pull/merge
2009-08-13T00:42:18  <PawelPacana> but without merging and cli editing this backend wont be worth a penny
2009-08-13T00:42:32  <PawelPacana> btw. I started hacking FSBackend
2009-08-13T00:42:48  *** amartani has joined #moin-dev
2009-08-13T00:43:51  <PawelPacana> i'll try to review that non-working stuff
2009-08-13T00:44:19  <PawelPacana> but mainly i want to make this backend use mercurial revlogs
2009-08-13T00:44:48  <PawelPacana> so that revision data will be storeed is compressed deltas
2009-08-13T00:45:10  <PawelPacana> s/is/in
2009-08-13T00:45:59  *** jdmjdm has quit IRC
2009-08-13T00:48:53  <ThomasWaldmann> sounds interesting
2009-08-13T00:49:23  <ThomasWaldmann> (although i rather see some other problem there that should be fixed: cdb scaling, win32 compat)
2009-08-13T00:49:51  <PawelPacana> what is wrong with cdb?
2009-08-13T00:52:28  <ThomasWaldmann> try to load 100, 1000 items into the fs backend
2009-08-13T00:52:42  <ThomasWaldmann> you might see something like O(n^2)
2009-08-13T00:53:14  <ThomasWaldmann> that's because cdb only supports create and read, not update
2009-08-13T01:13:01  <PawelPacana> http://paste.pocoo.org/raw/133998/
2009-08-13T01:14:49  <ThomasWaldmann> PawelPacana: that's all "create"
2009-08-13T01:14:50  <PawelPacana> doesnt seem linke O(n^2)
2009-08-13T01:15:19  <ThomasWaldmann> the problem is if you have closed the db and you want to write new items to it
2009-08-13T01:15:34  <ThomasWaldmann> or "update" some key/value in it
2009-08-13T01:34:02  <CIA-38> Alexandre Martani <amartani AT gmail DOT com> default * 6681:c216a5f68737 2.0-storage-editor-amartani/MoinMoin/action/ (_tests/test_mobwrite.py mobwrite.py): Real-time editor: Remove editor list handling from mobwrite action
2009-08-13T01:34:04  <CIA-38> Alexandre Martani <amartani AT gmail DOT com> default * 6682:8f55fc6e6e1b 2.0-storage-editor-amartani/MoinMoin/items/lock.py: pep8 fix
2009-08-13T01:34:21  <CIA-38> Alexandre Martani <amartani AT gmail DOT com> default * 6737:aa659e1a3bfc 2.0-storage-editor-amartani/ (38 files in 21 dirs): merge 2.0-storage
2009-08-13T01:34:24  <CIA-38> Alexandre Martani <amartani AT gmail DOT com> default * 6738:08a3efdb3474 2.0-storage-editor-amartani/MoinMoin/action/_tests/test_mobwrite.py: Real-time editor: fix for mobwrite test
2009-08-13T01:50:02  <PawelPacana> ThomasWaldmann: bsddb? http://paste.pocoo.org/show/133999/
2009-08-13T01:51:51  <ThomasWaldmann> k
2009-08-13T01:52:29  <ThomasWaldmann> i am always a bit unsure about what issues foodb has with fooplatform or multithreading or multiprocess ...
2009-08-13T01:53:39  <ThomasWaldmann> also, for normal wiki operation, it is not a big issue because writes are rather rare compared to reads
2009-08-13T01:54:01  <ThomasWaldmann> but I noticed it when unserializing a whole backend full of stuff
2009-08-13T01:54:38  *** JosefMeier has joined #moin-dev
2009-08-13T01:55:05  <JosefMeier> Hi. Is there a reason for never having a closing </p> on paragraphs?
2009-08-13T01:55:49  <ThomasWaldmann> if you do not do it, it is better than if you do it wrong
2009-08-13T01:56:03  <ThomasWaldmann> html4 does not require it
2009-08-13T01:56:12  <JosefMeier> I wrote a workaround for proper handling of paragraphs and <br> in tables
2009-08-13T01:56:18  <JosefMeier> hm
2009-08-13T01:57:02  <ThomasWaldmann> p handling is like a snakepit
2009-08-13T01:57:10  <JosefMeier> Cause I got the additional <br> tags also. You rembember our chat about <br> yesterday?
2009-08-13T01:57:25  <ThomasWaldmann> yes
2009-08-13T01:57:51  <JosefMeier> I got it cause the handling of paragraphs in tables has some issues.
2009-08-13T01:58:38  <JosefMeier> Now I'm wrapping paragraphs with two paragraph creating macros. But I don't know if this is good coding style. I guess, it isn't :-)
2009-08-13T01:59:48  <JosefMeier> I will create a patch page for that.
2009-08-13T02:01:10  <JosefMeier> Now firefox and IE6 and IE8 are handling the <br> tag properly in tables and also in lists and normal text. This has also fixed an issue with lists by the way.
2009-08-13T02:01:39  <JosefMeier> It's rather difficult to describe such GUI editor effects.
2009-08-13T02:03:25  <JosefMeier> Good night then. Only wanted to know if MoinMoin really never creates </p> tags
2009-08-13T02:04:49  <ThomasWaldmann> gn, if you do patches for fixes,
2009-08-13T02:04:57  <ThomasWaldmann> please one patch per fix
2009-08-13T02:05:11  <ThomasWaldmann> (or one changeset export)
2009-08-13T02:08:33  <JosefMeier> ok. bye
2009-08-13T02:08:36  *** JosefMeier has quit IRC
2009-08-13T02:44:24  *** grzywacz has quit IRC
2009-08-13T04:28:07  *** amartani has quit IRC
2009-08-13T04:28:24  *** amartani has joined #moin-dev
2009-08-13T05:09:02  <CIA-38> Alexandre Martani <amartani AT gmail DOT com> default * 6739:50fd744dc149 2.0-storage-editor-amartani/MoinMoin/ (3 files in 3 dirs): Real-time editor: share meta_text textarea
2009-08-13T05:09:04  <CIA-38> Alexandre Martani <amartani AT gmail DOT com> default * 6740:a45426ebccf8 2.0-storage-editor-amartani/MoinMoin/web/static/htdocs/applets/Mobwrite/mobwrite_moinmoin.js: Real-time editor: Unshare meta_text when disabling mobwrite
2009-08-13T05:09:06  <CIA-38> Alexandre Martani <amartani AT gmail DOT com> default * 6741:8dedc5c8a5dd 2.0-storage-editor-amartani/MoinMoin/action/ajax_info.py: Real-time editor: release lock through ajax_info
2009-08-13T05:09:08  <CIA-38> Alexandre Martani <amartani AT gmail DOT com> default * 6742:e5a17e6ab3de 2.0-storage-editor-amartani/MoinMoin/web/static/htdocs/ (2 files in 2 dirs): Real-time editor: updated unload event to release lock using ajax_info
2009-08-13T08:41:06  <dennda> moin
2009-08-13T08:52:03  <dreimark> moin
2009-08-13T09:00:52  <ThomasWaldmann> moin
2009-08-13T09:05:45  <dreimark> textcha's in ubuntu forum ;)
2009-08-13T09:56:10  *** grzywacz has joined #moin-dev
2009-08-13T10:14:31  *** y84 has quit IRC
2009-08-13T10:14:31  *** dennda has quit IRC
2009-08-13T10:16:07  *** y84 has joined #moin-dev
2009-08-13T10:16:07  *** dennda has joined #moin-dev
2009-08-13T10:16:47  <ThomasWaldmann> dennda: you're working on killing StringIO?
2009-08-13T10:17:44  <dennda> actually I was thinking whether it'd make more sense to first work with stringIO and later kill it in order to optimize the backend for large data
2009-08-13T10:20:04  <ThomasWaldmann> do it now
2009-08-13T10:20:27  <ThomasWaldmann> because we already know we'll work with big data
2009-08-13T10:21:47  <dennda> that's just not too trivial and there's no proper implementation for the other parts yet. that's why I'm afraid it may take too long
2009-08-13T10:27:40  <ThomasWaldmann> if you concentrate a bit, that shouldn't take longer than 1h
2009-08-13T10:28:01  <ThomasWaldmann> i see you already have most of it, so just fix it where needed
2009-08-13T10:28:25  <dennda> ok I will try
2009-08-13T10:28:40  <ThomasWaldmann> maybe some drawing on paper helps
2009-08-13T10:30:39  <ThomasWaldmann> and of course you will have a test that tests all cases of reading 0.5/1.0/1.5/2.0 chunks sizes from 0 and 0.5 chunksize starting pos
2009-08-13T10:32:47  <ThomasWaldmann> (and use some random test pattern)
2009-08-13T10:46:27  <dennda> hm I need to adjust write() as well
2009-08-13T10:46:48  <dennda> actually
2009-08-13T10:47:30  <dennda> hm
2009-08-13T10:48:17  <dennda> ThomasWaldmann: It was a bad idea to implement write() for file like objects in the first place. the storage api says that the data you pass in revision.write() is a string...
2009-08-13T11:33:34  <ThomasWaldmann> -v
2009-08-13T11:34:40  <dennda> nvm i changed it
2009-08-13T14:15:30  *** amartani has quit IRC
2009-08-13T14:16:42  <dreimark> dimazest: http://paste.pocoo.org/show/134068/
2009-08-13T14:18:59  <dennda> does py.test run tests more than once to see if they always worked?
2009-08-13T14:19:27  <dreimark> no
2009-08-13T14:19:48  <dreimark> may be there is an option
2009-08-13T14:32:36  *** JosefMeier has joined #moin-dev
2009-08-13T14:55:46  <JosefMeier> Hi. Is there any alternative to TWikiDraw in sight? Maybe JHotDraw7 ?
2009-08-13T14:56:17  <dreimark> JosefMeier: we would prefer something svg based
2009-08-13T14:56:34  <JosefMeier> JHotDraw7 provides great SVG support
2009-08-13T14:57:09  <dreimark> and less java
2009-08-13T14:57:36  <JosefMeier> There is a project called AnyWikiDraw which is based on JHotDraw. http://www.randelshofer.ch/oop/jhotdraw/index.html
2009-08-13T14:57:49  <JosefMeier> I love java cause then you are able to edit in every browser.
2009-08-13T14:58:33  <JosefMeier> Please have a look on the editor. It's for SVG but can be extended also for flow  diagrams, etc. Look also to http://sourceforge.net/projects/jhotdraw/
2009-08-13T14:58:59  <JosefMeier> AnyWikiDraw has support for MediaWiki, Twiki and PMWiki.
2009-08-13T14:59:01  <dreimark> we have had looked for a summer of code student working on that issue
2009-08-13T14:59:15  <JosefMeier> Did you find one?
2009-08-13T14:59:43  <dreimark> unfortunately not enough slots so we have had to decide
2009-08-13T15:00:33  <dreimark> there are some parts involed, e.g. gui editor, migration
2009-08-13T15:00:35  <JosefMeier> Drawable images (SVG would be great) would be a rich addition for creative processes
2009-08-13T15:00:48  <dreimark> it needs to be able to do image maps
2009-08-13T15:01:01  <JosefMeier> Image maps should also be of no problem as I think
2009-08-13T15:01:25  <JosefMeier> with JHotDraw. Saw it anywhere today
2009-08-13T15:01:37  <JosefMeier> You can create links on pictures
2009-08-13T15:01:38  <dreimark> we want to have only one file. currently we use a tar container
2009-08-13T15:01:53  <JosefMeier> what do you mean with "one file"? One file for what?
2009-08-13T15:02:12  <dreimark> the wikidraw stuff had created three files for each image
2009-08-13T15:02:19  <dreimark> the image, the draw and the map file
2009-08-13T15:02:30  <dreimark> an item is one file
2009-08-13T15:02:44  <dreimark> so we needed to use a container
2009-08-13T15:03:41  <JosefMeier> do you mean "3 files for each svg" or "3 files for an image map" ?
2009-08-13T15:04:17  <dreimark> no, one twikidraw tar file has three files
2009-08-13T15:04:37  <dreimark> twikidraw reads draw and saves for the browser a png file too
2009-08-13T15:04:58  <dreimark> we want a piece of code which has no meta format for creating the image
2009-08-13T15:05:06  <JosefMeier> twikidraw is based on a previous version of JHotDraw
2009-08-13T15:05:10  <dreimark> http://moinmo.in/FeatureRequests/TWikiDrawPluginWithSVG
2009-08-13T15:07:08  <dreimark> also http://moinmo.in/FeatureRequests/ImproveSVGSupport
2009-08-13T15:14:32  <JosefMeier> Added informations to the last feature request
2009-08-13T15:15:28  <dreimark> http://moinmo.in/4ct10n/diff/FeatureRequests/JHotDrawSupport
2009-08-13T15:15:32  <dreimark> does not read well
2009-08-13T15:16:06  <dreimark> can you add if you have some info about the license
2009-08-13T15:25:58  <dreimark> dimazest: s/u'this is test page'/u'this is a test page'/
2009-08-13T15:26:18  <JosefMeier> I updated my feature request. Could you have a look on the demo by just clicking it?
2009-08-13T15:26:26  <dreimark> later
2009-08-13T15:42:14  <dreimark> dimazest: index rebuild is broken because of WARNING MoinMoin.search.builtin:262 can't index: can't acquire lock
2009-08-13T15:50:20  <dreimark> dimazest: please rename in the test page to pagename, because often page is used for the page object
2009-08-13T15:54:52  <ThomasWaldmann> dimazest: that's the locking problem I told you about some weeks ago :)
2009-08-13T16:05:05  <dreimark> .oO the tests store content in the wrong wiki
2009-08-13T16:09:38  <dreimark> ThomasWaldmann: I get for any created page by test a page dir on wiki/data with one file edit-log
2009-08-13T16:10:07  <dreimark> looks like edit-log does not respect request.cfg.data_dir
2009-08-13T16:12:08  *** grzywacz has quit IRC
2009-08-13T16:25:22  <dreimark> dimazest: that makes us problems for test_search too
2009-08-13T16:31:34  *** grzywacz has joined #moin-dev
2009-08-13T16:35:30  *** grzywacz has quit IRC
2009-08-13T16:35:57  *** grzywacz has joined #moin-dev
2009-08-13T16:36:24  <JosefMeier> How can I get my own branch on the HG repository for GUI editor enhancments?
2009-08-13T16:36:42  <dreimark> ask ThomasWaldmann
2009-08-13T16:37:09  <JosefMeier> Thomas:?
2009-08-13T16:37:47  <dreimark> highligting of messages works good with the complete nickname
2009-08-13T16:39:18  <ThomasWaldmann> JosefMeier: i would prefer to have a few more patches first (you can work in your local repo also)
2009-08-13T16:39:53  <ThomasWaldmann> if a patch definitely fixes something, it is no problem to commit it to the main repo (we don't need another repo then)
2009-08-13T16:40:51  <ThomasWaldmann> but one needs to be careful and analyze the problem well before try to fix it
2009-08-13T16:41:27  <JosefMeier> ThomasWaldmann: I would like to create a replacement for TWikiDraw. How can I make this available for testing to the community? I don't have a public MoinMoin wiki in the web.
2009-08-13T16:42:11  <ThomasWaldmann> ah, great. yeah, that rather sounds like a separate repo. :)
2009-08-13T16:42:14  <JosefMeier> So my idea was to upload my modified 1.8.4 with the fixes and describe it afterwards in FeatureRequests or so
2009-08-13T16:42:52  <JosefMeier> Can I get "my" own repo on your MoinMoin site?
2009-08-13T16:43:03  <ThomasWaldmann> well, it would be nice if we could just pull everything from a repo and merge it into main repo.
2009-08-13T16:43:11  <JosefMeier> Would make my life much more easier.
2009-08-13T16:43:37  <dennda> bitbucket.org
2009-08-13T16:44:10  <JosefMeier> Thomas: You mean you would create a repo on hg.moinmo.in .. ?
2009-08-13T16:44:25  <ThomasWaldmann> for smaller fixes, like gui editor fixes, this only works if they are done right and don't make too much change (if we speak about 1.8 - that is the STABLE repo)
2009-08-13T16:44:57  <ThomasWaldmann> otoh, if that is the case you can also directly commit them to main repo
2009-08-13T16:45:45  <ThomasWaldmann> for bigger projects, like replacing twikidraw, the base has to be 1.9 or 2.0 and a seperate repo is no problem.
2009-08-13T16:47:13  <JosefMeier> Thomas: I don't know your development processes very well for now. So I'm sorry for asking stupid questions again and again.
2009-08-13T16:47:43  <JosefMeier> Thomas: Why do I have to add new features like a replacement for TWikiDraw to the 1.9? It would be a great benefit for 1.8.4 also
2009-08-13T16:48:20  <ThomasWaldmann> 1.8 is released and considered stable
2009-08-13T16:48:35  <ThomasWaldmann> stable means that there are no major changes happening
2009-08-13T16:49:17  <ThomasWaldmann> so changes there only happen for things like bug or security fixes
2009-08-13T16:49:43  <JosefMeier> Ok. What is the right procedure for me to make contributions for the 1.9? Can I get a repository on HG.moinmo.in for my GUI editor enhancements? Including a replacement for TWikiDraw. The advantage would be that everone could download the complete MoinMoin framework and test it.
2009-08-13T16:49:44  <ThomasWaldmann> replacing twikidraw is a welcome change, but it is not for the stable release
2009-08-13T16:49:50  <JosefMeier> Thomas: ok
2009-08-13T16:50:26  <ThomasWaldmann> yes, i can create a 1.9 clone repo for you
2009-08-13T16:50:57  <ThomasWaldmann> but that's for twikidraw replacement then, not for gui editor fixes
2009-08-13T16:51:35  <ThomasWaldmann> also, a good idea for that twd replacement project would be to have a good plan first
2009-08-13T16:51:48  <JosefMeier> My plan is to do it this week :-)
2009-08-13T16:52:26  <ThomasWaldmann> like a wiki page that describes the project, analyses pro/contra, shows how migration from old stuff to new stuff works etc.
2009-08-13T16:53:08  <JosefMeier> Ok.  Is this a feature request?
2009-08-13T16:53:16  <ThomasWaldmann> (and realistically: 4 days might not be enough for that :)
2009-08-13T16:53:42  <ThomasWaldmann> yes, but please search existing wiki pages first.
2009-08-13T16:53:55  <dennda> (be warned that his time estimates may not work for you) :D
2009-08-13T16:53:57  <ThomasWaldmann> that "replace twikidraw" topic is old, we want that since years.
2009-08-13T16:54:19  <ThomasWaldmann> dennda: it was his estimate that won't work for him
2009-08-13T16:54:32  <dennda> i'm just kidding obviously
2009-08-13T16:54:37  <ThomasWaldmann> :P
2009-08-13T16:54:45  <JosefMeier> Can you have a look on my feature request http://moinmo.in/FeatureRequests/JHotDrawSupport ? Try the demo please
2009-08-13T16:55:41  <JosefMeier> It's also able to create and save image maps.
2009-08-13T16:56:30  <JosefMeier> I never programmed Java. Only have good experience in C#. But the code looks quite similar to C#. Already found the HTTPRequest stuff. Looks as if it's easy to adapt also for MoinMoin
2009-08-13T16:56:31  <ThomasWaldmann> is there a live demo somewhere?
2009-08-13T16:56:47  <JosefMeier> Included in a Wiki?
2009-08-13T16:57:06  <JosefMeier> On my feature request page there is a live demo
2009-08-13T16:58:13  <ThomasWaldmann> it offers me a tar for download
2009-08-13T16:58:32  <JosefMeier> for sure. cause it is a tar. I can't embed it as an applet in your wiki page.
2009-08-13T16:58:45  <ThomasWaldmann> erh, a jar
2009-08-13T16:58:45  <dreimark> the base should be 2.0
2009-08-13T16:59:10  <ThomasWaldmann> dreimark: yes, that would maybe make more sense
2009-08-13T16:59:38  <ThomasWaldmann> JosefMeier: so, what do I do with the jar?
2009-08-13T16:59:45  <JosefMeier> Thomas: start the jar. There is also an applet version but I can't add applets. That would be my work: create an extension to the GUI editor.
2009-08-13T16:59:52  <JosefMeier> Open the jar with Java
2009-08-13T17:00:00  <JosefMeier> it's a running application
2009-08-13T17:00:58  <dreimark> JosefMeier: do you hack sometimes java  code?
2009-08-13T17:01:04  <JosefMeier> http://www.randelshofer.ch/oop/jhotdraw/index.html
2009-08-13T17:01:22  <JosefMeier> dreimark: I never did java. But it looks very similar to C#. And I'm a good C# programmer.
2009-08-13T17:01:37  <JosefMeier> Setup today for the first time an eclipse IDE. It's very simple.
2009-08-13T17:02:01  <JosefMeier> Thomas: please try my link to the randelshofer page. There is a live dmeo
2009-08-13T17:02:02  <JosefMeier> demo
2009-08-13T17:02:31  <JosefMeier> I love this graphical editor. has a lot functions, indeed it has much more features than shown there
2009-08-13T17:03:33  <JosefMeier> If you want to get a feeling about its features you should also look on the sourceforge page of JHotDraw7
2009-08-13T17:04:45  <JosefMeier> And the best: Erich Gamma is the main programmer of it. I'm sure you know him.
2009-08-13T17:05:04  <dennda> ah that design pattern guy?
2009-08-13T17:05:30  <JosefMeier> yep
2009-08-13T17:05:40  <dennda> he didn't include my favourite patterns
2009-08-13T17:05:51  <JosefMeier> TWikiDraw is an veeeeery early clone of his work
2009-08-13T17:05:59  <dennda> or at least, did not name one of them correctly
2009-08-13T17:06:08  <JosefMeier> dennda: bad luck :-)
2009-08-13T17:06:36  <dennda> imho, singleton should be "highlander pattern" -- because there can only be one :-)
2009-08-13T17:08:08  <JosefMeier> ah. clever joke :-)
2009-08-13T17:08:20  <ThomasWaldmann> JosefMeier: the jar seems to be different from the demo on the hp
2009-08-13T17:08:47  <JosefMeier> it is different
2009-08-13T17:09:01  <JosefMeier> this jar is a demo of the official distribution
2009-08-13T17:09:13  <JosefMeier> there are a lot of demos included. what's your first impression?
2009-08-13T17:10:25  <ThomasWaldmann> JosefMeier: that svgdraw looks nice. so how's the migration path?
2009-08-13T17:11:21  <JosefMeier> Thomas: "Migration path" ?
2009-08-13T17:11:46  <ThomasWaldmann> imagine some company running moin for some years and having 100 twikidraw drawings
2009-08-13T17:12:15  <ThomasWaldmann> if you replace twikidraw by something new/better that can not read the old format, they can't process their data
2009-08-13T17:12:21  <JosefMeier> Thomas: Remember: TwikiDraw and JHotDraw are children to each other. Same Codebase
2009-08-13T17:12:58  <ThomasWaldmann> well, so does it work?
2009-08-13T17:13:13  <JosefMeier> Thomas: So JHotDraw also tries to post three files: The SVG, a rendered PNG (for Browsers which don't support SVG) and a .MAP file for image maps
2009-08-13T17:13:50  <JosefMeier> Thomas: Is this the same also for TWikiDraw (3 files :svg, map and png) ?
2009-08-13T17:14:07  <ThomasWaldmann> it doesn't offer to load .draw in its load dialogue
2009-08-13T17:14:41  <ThomasWaldmann> twikidraw can't do svg, it just uses its own .draw format
2009-08-13T17:15:53  <JosefMeier> Thomas: ok. But it's possible to handle JHotDraw as an sibling to TWikiDraw. No replacement but an additional offer to work with drawings.
2009-08-13T17:16:05  <ThomasWaldmann> btw, it is not required that the new drawing tool needs to be able to open .draw. it could be also a one-time conversion done externally.
2009-08-13T17:16:27  <JosefMeier> So you don't have to get rid of TWikiDraw. Just offer a new way with a better tool
2009-08-13T17:16:41  <JosefMeier> I'm sure that DRAW-Files can be converted to SVG
2009-08-13T17:16:42  <ThomasWaldmann> yes, that can be done. not in 1.9, but in 2.0 for sure.
2009-08-13T17:16:59  <JosefMeier> How stable is version 2.0 ?
2009-08-13T17:17:15  <ThomasWaldmann> it's a big construction site :)
2009-08-13T17:17:29  <JosefMeier> wow. makes me very comfortable :-)
2009-08-13T17:17:53  <JosefMeier> So why not to include the new draw in 1.9?
2009-08-13T17:18:14  <ThomasWaldmann> because there is no interfacing
2009-08-13T17:18:22  <JosefMeier> not at the moment
2009-08-13T17:18:28  <JosefMeier> but i'm working on it
2009-08-13T17:18:36  <ThomasWaldmann> if it can't replace twikidraw, we can't use drawing: for it
2009-08-13T17:19:04  <ThomasWaldmann> so, i guess that would rather get a big mess if tried
2009-08-13T17:19:05  <JosefMeier> I'll try to get the TWikiDraw <-> MoinMoin interface into JHotDraw
2009-08-13T17:20:23  <ThomasWaldmann> btw, an external conversion tool for .draw -> .svg would be better than just having import capability in the svgdraw tool
2009-08-13T17:20:38  <ThomasWaldmann> because then you can run it once at upgrade time and byebye twikidraw
2009-08-13T17:21:14  <ThomasWaldmann> if you have to open and save every drawing, you could be still finding .draw files years later
2009-08-13T17:21:15  <JosefMeier> ok
2009-08-13T17:22:39  * ThomasWaldmann .oO(proprietary formats are such a pita...)
2009-08-13T17:23:46  <ThomasWaldmann> btw, 2.0 is better for that, because we could just have the svgdraw as editor for svg mimetype
2009-08-13T17:23:57  <ThomasWaldmann> so it would not collided with twikidraw anyway
2009-08-13T17:24:38  <ThomasWaldmann> (that still doesn't solve the "kill twikidraw without losing data" problem, though)
2009-08-13T17:25:12  <JosefMeier> but I'm glad to be able to extend 1.8.4 Version 2.0 is completely new to my. The framework changed completely. Isn't it?
2009-08-13T17:25:24  <JosefMeier> new to me
2009-08-13T17:25:31  <ThomasWaldmann> JosefMeier: btw, did you look at anywikidraw?
2009-08-13T17:25:43  <JosefMeier> I'm using AnyWikiDraw. It
2009-08-13T17:25:50  <JosefMeier> s based on JHotDraw
2009-08-13T17:25:56  * dreimark needs help
2009-08-13T17:26:01  <dreimark> http://paste.pocoo.org/show/134097/
2009-08-13T17:26:15  <JosefMeier> Thomas: That's why I believe that I could make it ready very fast
2009-08-13T17:26:23  <ThomasWaldmann> I mean if there is something usable with a bit bigger user base that fulfills our needs, that should be preferred.
2009-08-13T17:26:26  <dreimark> dennda: ThomasWaldmann we have a problem in 1.9
2009-08-13T17:26:33  <dreimark> can we discuss it shortly
2009-08-13T17:26:58  <ThomasWaldmann> JosefMeier: ok, please give more info on your wiki page and ideas about migration.
2009-08-13T17:27:01  <ThomasWaldmann> dreimark: yes?
2009-08-13T17:27:18  <JosefMeier> ok
2009-08-13T17:27:28  <dreimark> the wikiconfig.py in the wiki dir is called by the testing framework
2009-08-13T17:27:55  <dreimark> somehow rootpage becomes wrong and is not set to the tests dir
2009-08-13T17:28:25  <dreimark> the paste bin shows the dependency if wikiconfig.py from wiki is removed
2009-08-13T17:28:47  <ThomasWaldmann> it can't import wikiconfig
2009-08-13T17:28:59  <dreimark> because I have removed it
2009-08-13T17:29:01  <dennda> that's because he removed it
2009-08-13T17:29:04  *** amartani has joined #moin-dev
2009-08-13T17:29:10  <dreimark> if I don't remove it
2009-08-13T17:29:15  <dreimark> it doesd
2009-08-13T17:29:24  <dennda> then why did you remove it? :-)
2009-08-13T17:29:33  <dreimark> the result is that every create_page creates a page_dir belpow wiki
2009-08-13T17:29:43  <dreimark> with a edit-log entry
2009-08-13T17:29:58  <dreimark> dennda: I removed it to show the dependency#
2009-08-13T17:30:08  <dreimark> if i do the same in 2.0-storage it does not matter
2009-08-13T17:30:33  <dreimark> while we in 1.9 don't have a clean page dir for the tests
2009-08-13T17:30:46  <dreimark> every of these bad pages are copied to the test wiki
2009-08-13T17:30:51  <ThomasWaldmann> well, obviously it behaves as usual because noone told it to use the test wikiconfig
2009-08-13T17:32:28  <dreimark> conftest of 1.9 has from MoinMoin._tests import maketestwiki, wikiconfig
2009-08-13T17:32:36  <dennda> that may be due to the changes I did to the testing framework
2009-08-13T17:32:49  <ThomasWaldmann> maybe that indexingRequest stuff shouldn't be done like that
2009-08-13T17:33:16  <ThomasWaldmann> if the tests run, we already have a request, a cfg, etc. - for the tests there is no need to reinvent that all
2009-08-13T17:34:00  <dreimark> I have choosen 1.9 because I wondered some times ago that a failure of me in wikiconfig_local crashes a test
2009-08-13T17:34:03  <ThomasWaldmann> so the scriptrequest stuff should be only done when run from a script (because the admin does and moin ... index script cmd)
2009-08-13T17:34:23  <dreimark> the index test I have choosen is only an example
2009-08-13T17:34:28  <ThomasWaldmann> s/and moin/a moin/
2009-08-13T17:35:01  <dreimark> create_page in dimazest repo creates page dirs in the wrong wiki
2009-08-13T17:35:02  <ThomasWaldmann> well, if other stuff behaves wrong in the same way, the same solution applies
2009-08-13T17:36:02  <ThomasWaldmann> iirc that stuff has worked a while before
2009-08-13T17:45:16  <dreimark> it is quite strange because it makes it only for the edit-log wrong
2009-08-13T17:45:25  <dreimark> and have had not found why that can be
2009-08-13T17:46:30  <ThomasWaldmann> i can have a look this evening
2009-08-13T17:46:48  <dreimark> thx
2009-08-13T17:47:26  <ThomasWaldmann> (btw, if it work in 2.0, one could also just look at the testing framework history...)
2009-08-13T17:59:41  <ThomasWaldmann> JosefMeier: http://moinmo.in/MoinMoinPatch/GuiRemoveEmptyListItems you fixed that, right? then you may also close it. :)
2009-08-13T17:59:52  <ThomasWaldmann> just refer to http://hg.moinmo.in/moin/1.8/rev/d5d9ef80d39b in status
2009-08-13T18:04:16  <dreimark> JosefMeier: sorry for interrupting
2009-08-13T18:08:53  <dennda> spam ahead
2009-08-13T18:08:54  <CIA-38> Christopher Denter <moin GUESSWHAT the DASH space DASH station ROUNDTHING com> default * 6566:4300ef05ae69 2.0-storage/MoinMoin/storage/backends/sqla.py: storage: sqla: Use module-level session as sqlalchemy docs suggest
2009-08-13T18:08:56  <CIA-38> Christopher Denter <moin GUESSWHAT the DASH space DASH station ROUNDTHING com> default * 6567:d3b17fc1355e 2.0-storage/MoinMoin/storage/backends/sqla.py: storage: sqla: include updated version of Chunk/Data/SQLARevision
2009-08-13T18:08:58  <CIA-38> Christopher Denter <moin GUESSWHAT the DASH space DASH station ROUNDTHING com> default * 6568:e205f896454f 2.0-storage/MoinMoin/storage/backends/sqla.py: storage: sqla: use id instead of _id consistently
2009-08-13T18:09:01  <CIA-38> Christopher Denter <moin GUESSWHAT the DASH space DASH station ROUNDTHING com> default * 6569:3817bfa691e3 2.0-storage/MoinMoin/storage/backends/sqla.py: storage: We will try to use a single Revision class first
2009-08-13T18:09:02  <CIA-38> Christopher Denter <moin GUESSWHAT the DASH space DASH station ROUNDTHING com> default * 6570:812e8ba80c0b 2.0-storage/MoinMoin/storage/_tests/test_backends_sqla.py: storage: sqla tests: remove tests that *made* tests hang
2009-08-13T18:09:04  <CIA-38> Christopher Denter <moin GUESSWHAT the DASH space DASH station ROUNDTHING com> default * 6571:165ab35e4f16 2.0-storage/MoinMoin/storage/backends/sqla.py: storage: sqla: remove redundent methods, add seek & tell
2009-08-13T18:09:09  <CIA-38> Christopher Denter <moin GUESSWHAT the DASH space DASH station ROUNDTHING com> default * 6572:1b2b574cf6aa 2.0-storage/MoinMoin/storage/_tests/test_backends_sqla.py: storage: sqla tests: add tests for chunked rev data storage
2009-08-13T18:09:13  <CIA-38> Christopher Denter <moin GUESSWHAT the DASH space DASH station ROUNDTHING com> default * 6573:c32de5963065 2.0-storage/MoinMoin/storage/ (3 files in 2 dirs): storage: merge remote 2.0-storage
2009-08-13T18:17:55  <JosefMeier> What do I have to do with the status. Set to "resolved" ?
2009-08-13T18:19:42  <ThomasWaldmann> JosefMeier: fixed by changeseturl
2009-08-13T18:19:53  <ThomasWaldmann> and also change the Category at the bottom
2009-08-13T18:20:00  <ThomasWaldmann> ...BugFixed
2009-08-13T18:20:12  <CIA-38> Christopher Denter <moin GUESSWHAT the DASH space DASH station ROUNDTHING com> default * 6574:8bc831a79007 2.0-storage/MoinMoin/storage/__init__.py: storage: fix bug in exception message assembly
2009-08-13T18:21:18  <JosefMeier> done
2009-08-13T18:40:49  <CIA-38> Christopher Denter <moin GUESSWHAT the DASH space DASH station ROUNDTHING com> default * 6575:3a78f08b702f 2.0-storage/MoinMoin/storage/_tests/test_backends_sqla.py: storage: use english test data
2009-08-13T18:40:50  <CIA-38> Christopher Denter <moin GUESSWHAT the DASH space DASH station ROUNDTHING com> default * 6576:45bfd9abbbcd 2.0-storage/MoinMoin/storage/backends/sqla.py: storage: sqla: make list_revisions only return already persisted revisions
2009-08-13T18:46:39  <dreimark> dimazest: you have to fix builtin.indexPages please read also 17:34 < ThomasWaldmann> so the scri
2009-08-13T18:47:40  <dreimark> that problem was introduced by fpletz
2009-08-13T18:48:31  <ThomasWaldmann> btw, what I was telling was for the tests. it maybe makes sense to use a scriptrequest when indexing in a separate thread.
2009-08-13T18:49:42  <dreimark> I was getting close to the problem by investigating the link_to test.
2009-08-13T18:51:00  <dimazest> dreimark: hi
2009-08-13T18:51:13  <dimazest> i'm in Zürih now
2009-08-13T18:51:45  <dreimark> dimazest: please read backlog I added a patch for SystemInfo and we investigated a bug in builtin.indexPages
2009-08-13T18:52:01  <dreimark> do you can speak switzerisch now
2009-08-13T18:52:08  <dimazest> i've added a patch
2009-08-13T18:52:15  <dimazest> yes
2009-08-13T18:52:41  <dimazest> actually it is quite funny, i wanted to get some black hot tee with lemon
2009-08-13T18:53:07  <dreimark> reading in the wiki may be easier
2009-08-13T18:53:08  <dimazest> when i ordered it in English, guy just asked which language i speak
2009-08-13T18:53:19  <dreimark> haha
2009-08-13T18:53:38  <dimazest> finally, i said it in Italian, but got cold tee
2009-08-13T18:54:07  <dreimark> and it was lemon?
2009-08-13T18:54:17  <dimazest> no
2009-08-13T18:55:06  * dreimark dinner 
2009-08-13T18:55:13  <dreimark> bbl in some hours
2009-08-13T18:55:21  <ThomasWaldmann> dimazest: "Schwarztee mit Zitrone"
2009-08-13T18:55:31  <dreimark> dimazest: can I see 3 bugs less then (at least) ?
2009-08-13T18:56:00  <dimazest> hmm, probably tomorrow, i'l have time on my way back
2009-08-13T18:56:18  <dreimark> ok
2009-08-13T18:56:22  <dreimark> htg
2009-08-13T18:56:35  <dimazest> so, the builtin.indexPages is buggy because of locking?
2009-08-13T18:56:53  <dimazest> and i should use indexing request?
2009-08-13T18:58:18  * dimazest thinks to give a lightening talk about me expirience with moin
2009-08-13T18:59:30  <dimazest> ThomasWaldmann: danke
2009-08-13T19:09:58  <ThomasWaldmann> dimazest: what's up in zuerich?
2009-08-13T19:11:58  <dimazest> open source jam @ google
2009-08-13T19:13:12  <ThomasWaldmann> heh, 2 google parties at same time :D
2009-08-13T19:14:53  <dimazest> where is other?
2009-08-13T19:15:08  <ThomasWaldmann> SOC? :)
2009-08-13T19:17:00  <dimazest> :)))
2009-08-13T19:21:37  <CIA-38> Christopher Denter <moin GUESSWHAT the DASH space DASH station ROUNDTHING com> default * 6577:d2d7e317eec5 2.0-storage/MoinMoin/storage/backends/sqla.py: storage: sqla: Data.read(): cleanup + comment
2009-08-13T19:34:59  *** tpfennig has joined #moin-dev
2009-08-13T19:37:47  <JosefMeier> do you know where the source code for the moinmoins version of TWikiDraw is? In the contrib folder seems to be the original source, not the moinmoin version.
2009-08-13T19:39:15  *** vinci_ has joined #moin-dev
2009-08-13T19:42:53  <PawelPacana> ThomasWaldmann: JosefMeier: quite simple, but relies only on js http://starkravingfinkle.org/blog/2006/04/richdraw-simple-vmlsvg-editor/
2009-08-13T19:55:44  *** tpfennig has quit IRC
2009-08-13T20:05:49  <ThomasWaldmann> PawelPacana: yeah, maybe a bit too simple :)
2009-08-13T20:25:09  <CIA-38> Alexandre Martani <amartani AT gmail DOT com> default * 6743:9af6c5b11302 2.0-storage-editor-amartani/MoinMoin/web/static/htdocs/applets/Mobwrite/mobwrite_moinmoin.js: Real-time editor: Remove calls to unloadEditors
2009-08-13T20:27:42  <xorAxAx> JosefMeier: somewhere in the wiki
2009-08-13T20:34:11  <ThomasWaldmann> iirc it should be in the repo and buildable with ant from there
2009-08-13T20:35:05  <PawelPacana> this one has little more features: http://www.xdraw.org/xdhTest.html and was later used as base for dojox.gfx package, anyway just exploring js+svg topic
2009-08-13T21:18:20  <CIA-38> Christopher Denter <moin GUESSWHAT the DASH space DASH station ROUNDTHING com> default * 6578:0fe7e9487bd1 2.0-storage/MoinMoin/storage/backends/sqla.py: storage: move list_revisions to SQLAItem
2009-08-13T21:18:21  <CIA-38> Christopher Denter <moin GUESSWHAT the DASH space DASH station ROUNDTHING com> default * 6579:29be109cc554 2.0-storage/MoinMoin/storage/backends/sqla.py: storage: sqla: support get_revision(-1)
2009-08-13T21:39:32  <CIA-38> Bastian Blank <bblank@thinkmo.de> default * 7214:aeebf678db37 2.0-storage-dom-bblank/ (239 files in 54 dirs): Merge moin/2.0-storage
2009-08-13T22:33:38  <CIA-38> Alexandre Martani <amartani AT gmail DOT com> default * 6744:55469c9efe24 2.0-storage-editor-amartani/MoinMoin/action/modify.py: Real-time editor: Release lock on modify action
2009-08-13T22:33:40  <CIA-38> Alexandre Martani <amartani AT gmail DOT com> default * 6745:5c59b667eee4 2.0-storage-editor-amartani/MoinMoin/web/static/htdocs/common/js/text_editor.js: Real-time editor: Send unlock request only once.
2009-08-13T22:33:42  <CIA-38> Alexandre Martani <amartani AT gmail DOT com> default * 6746:acbf5e928e93 2.0-storage-editor-amartani/MoinMoin/web/static/htdocs/applets/Mobwrite/mobwrite_moinmoin.js: Real-time editor: mobwrite.save can receive post_data object
2009-08-13T22:33:43  <CIA-38> Alexandre Martani <amartani AT gmail DOT com> default * 6747:43029ccdd87e 2.0-storage-editor-amartani/MoinMoin/action/ajax_info.py: Real-time editor: Return lock state on ajax_info
2009-08-13T22:33:45  <CIA-38> Alexandre Martani <amartani AT gmail DOT com> default * 6748:3b1610d4f22f 2.0-storage-editor-amartani/MoinMoin/web/static/htdocs/ (2 files in 2 dirs):
2009-08-13T22:33:47  <CIA-38> Real-time editor: Wrap mobwrite.save for not receiving dom element.
2009-08-13T22:33:49  <CIA-38> Use update_info to release lock.
2009-08-13T22:33:51  <CIA-38> Alexandre Martani <amartani AT gmail DOT com> default * 6749:5ee5d1bffd5f 2.0-storage-editor-amartani/MoinMoin/web/static/htdocs/ (2 files in 2 dirs): Real-time editor: Redirect to show page only after save is complete.
2009-08-13T23:00:55  *** grzywacz has quit IRC
2009-08-13T23:09:30  * dreimark thinks it is currently to early for a replacement of twikidraw. I'd prefer a javascript svg solution
2009-08-13T23:10:23  <dreimark> if it becomes replaced now it also should be possible to exchange that whatever get's added easier than the old one
2009-08-13T23:10:24  <JosefMeier> javascript? arg
2009-08-13T23:10:34  <JosefMeier> JHotDraw is perfect.
2009-08-13T23:10:51  <JosefMeier> I have  a version which can get and show svg's from MoinMoin
2009-08-13T23:11:06  <dreimark> write and read also?
2009-08-13T23:11:16  <JosefMeier> but if I embed my applet in a web page, nothing works and I get a security exception. Also write. yes
2009-08-13T23:12:02  <JosefMeier> Does anyone have an idea, why a jar-file can be run without errors by only clicking at it and why a jar file throws security exceptions, when embedded in a page
2009-08-13T23:12:04  <JosefMeier> ?
2009-08-13T23:13:32  <dreimark> what are the exceptions?
2009-08-13T23:14:50  <JosefMeier> Exception in thread "Thread-312" java.security.AccessControlException: access denied (java.lang.RuntimePermission preferences)
2009-08-13T23:15:33  <JosefMeier> this occurs if I try to request a post to get an svg-attachment. but I get the data.
2009-08-13T23:16:17  <JosefMeier> If I start the jar-file manually, everything works as expected. But if I embed it, it doesn't run. See only a white window.
2009-08-13T23:19:00  <dreimark> http://forum.fachinformatiker.de/java/28792-java-security-accesscontrolexception.html
2009-08-13T23:19:28  <dreimark> http://java.sun.com/j2se/1.4.2/docs/api/java/security/AccessControlException.html
2009-08-13T23:19:46  <JosefMeier> yeah. I have to sign it. Have you done that also with the original TWikiDraw?
2009-08-13T23:20:13  * dreimark don't know
2009-08-13T23:40:56  *** JosefMeier has quit IRC
2009-08-13T23:47:36  <CIA-38> Christopher Denter <moin GUESSWHAT the DASH space DASH station ROUNDTHING com> default * 6580:4ba3f618b3d3 2.0-storage/MoinMoin/storage/backends/sqla.py: storage: add sqlaitem.__init__
2009-08-13T23:47:37  <CIA-38> Christopher Denter <moin GUESSWHAT the DASH space DASH station ROUNDTHING com> default * 6581:364225d25ec9 2.0-storage/MoinMoin/storage/backends/sqla.py: storage: sqla: session cleanup
2009-08-13T23:47:39  <CIA-38> Christopher Denter <moin GUESSWHAT the DASH space DASH station ROUNDTHING com> default * 6582:2952594e8f5f 2.0-storage/MoinMoin/storage/backends/sqla.py: storage: sqla some simple fixes
2009-08-13T23:47:40  <CIA-38> Christopher Denter <moin GUESSWHAT the DASH space DASH station ROUNDTHING com> default * 6583:29a4346351aa 2.0-storage/MoinMoin/storage/backends/sqla.py: storage: sqla: first attempt to implement item metadata handling & some other fixes
2009-08-13T23:47:41  <CIA-38> Christopher Denter <moin GUESSWHAT the DASH space DASH station ROUNDTHING com> default * 6584:32dcac1c1af1 2.0-storage/MoinMoin/storage/backends/sqla.py: storage: sqla: fix for item.get_revision
2009-08-13T23:49:10  <dennda> that needs more love tomorrow. gn8
2009-08-13T23:50:44  *** JosefMeier has joined #moin-dev
2009-08-13T23:51:22  <JosefMeier> It's working :-) Signing was the key! Now I see the JHotDraw Gui in the attachment window.
2009-08-13T23:51:49  <JosefMeier> Why is this security stuff always so complicated :-D

MoinMoin: MoinMoinChat/Logs/moin-dev/2009-08-13 (last edited 2009-08-12 22:30:01 by IrcLogImporter)