1 2010-08-08T00:23:27  <valeuf> wow, mediaobject tag for DocBook is harder to convert than expected
   2 2010-08-08T00:23:30  <valeuf> I will finish tomorrow
   3 2010-08-08T00:23:32  <valeuf> gn
   4 2010-08-08T00:28:05  <ThomasWaldmann> gn valeuf
   5 2010-08-08T02:04:07  <diofeher> re
   6 2010-08-08T02:06:11  <ThomasWaldmann> wb :)
   7 2010-08-08T02:16:10  <diofeher> :)
   8 2010-08-08T02:16:33  <diofeher> i'm using imp module to do the dynamic imports of theme plugins
   9 2010-08-08T02:18:30  <ThomasWaldmann> i hope you'll reach the non-code infrastructure soon
  10 2010-08-08T02:19:52  <ThomasWaldmann> and i don't quite understand why you deal with that stuff or why it needs imp
  11 2010-08-08T02:20:39  <diofeher> ThomasWaldmann, i'm iterating over theme plugins directory to import them a flask modules and register in app
  12 2010-08-08T02:31:03  <ThomasWaldmann> waldi: can you review a include related changeset?
  13 2010-08-08T03:02:22  <CIA-50> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 9417:04c7c099da1c 2.0-dev/MoinMoin/ (4 files in 2 dirs): (log message trimmed)
  14 2010-08-08T03:02:22  <CIA-50> include, creole_in, moinwiki_in converters: generic transclusion
  15 2010-08-08T03:02:22  <CIA-50> include converter:
  16 2010-08-08T03:02:22  <CIA-50> * using Iri and Item classes now
  17 2010-08-08T03:02:22  <CIA-50> * added some ValueError exceptions for unsupported schemes/authorities
  18 2010-08-08T03:02:22  <CIA-50> * only wrap result into div element if result includes multiple trees.
  19 2010-08-08T03:02:23  <CIA-50> * remove strange patching:
  20 2010-08-08T03:02:32  <ThomasWaldmann> waldi: ^^ this one
  21 2010-08-08T03:04:05  <ThomasWaldmann> that domtree stuff and that kind of include brought moin a big step ahead
  22 2010-08-08T03:06:44  <CIA-50> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 9418:0e959f73a72a 2.0-dev/MoinMoin/converter2/link.py: link converter: fix bug if query is None
  23 2010-08-08T03:26:49  <ThomasWaldmann> http://test.moinmo.in:8080/MoinMoin2
  24 2010-08-08T03:41:43  <diofeher> ThomasWaldmann, nice :D
  25 2010-08-08T03:42:44  <ThomasWaldmann> seen "transclude something"? :)
  26 2010-08-08T03:44:59  <diofeher> wowwww
  27 2010-08-08T04:05:30  <CIA-50> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 9419:7756172f5d6c 2.0-dev/MoinMoin/converter2/text_csv_in.py: csv converter: do not add empty rows
  28 2010-08-08T05:15:11  <diofeher> wow, finally o/ but code is horrible
  29 2010-08-08T05:32:13  *** grzywacz has quit IRC
  30 2010-08-08T05:39:19  <diofeher> now i have to have choice loader working
  31 2010-08-08T05:56:03  <diofeher> ThomasWaldmann, working \o/
  32 2010-08-08T06:00:12  <diofeher> ThomasWaldmann, flask creates jinja_loader in Module with wrong path
  33 2010-08-08T06:00:38  <diofeher> suppose you have plugins/theme/moin_theme/
  34 2010-08-08T06:01:07  <diofeher> and you have __init__.py and a templates folder inside
  35 2010-08-08T06:01:23  <diofeher> if you theme = Module(__name__)
  36 2010-08-08T06:01:43  <diofeher> theme.jinja_loader gives you 2.0-dev/templates
  37 2010-08-08T06:02:08  <diofeher> because FileSystemLoader used in flask returns self.root_path + '/templates/'
  38 2010-08-08T07:41:18  *** kursor has joined #moin-dev
  39 2010-08-08T08:22:15  <diofeher> http://paste.pocoo.org/show/247553/
  40 2010-08-08T08:22:36  <diofeher> of course i have to refactore yet... it's just the first version i get working
  41 2010-08-08T08:22:55  <diofeher> gonna sleep a little, gn
  42 2010-08-08T09:17:40  <dreimark> moin
  43 2010-08-08T09:18:07  <dreimark> is transclude together with member possible ?
  44 2010-08-08T10:27:03  *** DmitryAndreev_ has quit IRC
  45 2010-08-08T10:27:17  *** DmitryAndreev_ has joined #moin-dev
  46 2010-08-08T11:29:25  *** kursor has quit IRC
  47 2010-08-08T12:15:14  <ThomasWaldmann> moin
  48 2010-08-08T12:23:43  <ThomasWaldmann> dreimark: no, but in case of drawings, this is not needed
  49 2010-08-08T12:33:26  <dreimark> if one has a zip file of images it would be nice if it is not needed to unpack
  50 2010-08-08T12:40:01  <ThomasWaldmann> all files in a zip are linked (get link)
  51 2010-08-08T12:40:17  <ThomasWaldmann> soon even a correct link :P
  52 2010-08-08T12:44:28  <ThomasWaldmann> but i don't think this should be used to show collections of images
  53 2010-08-08T12:45:54  <ThomasWaldmann> a) because the member file is no item, has no mimetype metadata, no conversion to dom
  54 2010-08-08T12:46:11  <ThomasWaldmann> b) because it is expensive to decompress the stuff all the time
  55 2010-08-08T12:48:20  <ThomasWaldmann> and we won't have a 2nd generation AttachFile to support this
  56 2010-08-08T13:03:55  <valeuf> moin
  57 2010-08-08T13:06:18  *** valeuf has quit IRC
  58 2010-08-08T13:10:12  *** valeuf has joined #moin-dev
  59 2010-08-08T13:11:48  <valeuf> dreimark: however, I think we can imagine a kind of extension which could unpack a zip file, and create an item for each element of the zip
  60 2010-08-08T13:26:58  <CIA-50> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 9420:97f19b2ca652 2.0-dev/MoinMoin/items/__init__.py: cosmetics: pep8, removing unused attrs
  61 2010-08-08T13:28:19  <ThomasWaldmann> valeuf: ok to merge your stuff?
  62 2010-08-08T13:28:36  <ThomasWaldmann> eSyr: outcome of your review?
  63 2010-08-08T13:30:25  <ThomasWaldmann> dreimark: eSyr: TheSheep: xorAxAx: as today is our last meeting before pencils down and final evals, I suggest you please review your student's work now
  64 2010-08-08T13:31:29  <ThomasWaldmann> so stuff that should be improved (like docs, docstrings, etc.) can be identified now and fixed by student next week
  65 2010-08-08T13:32:46  <ThomasWaldmann> what that stuff exactly is should be clear until today's meeting, to adapt next weeks todo, if needed
  66 2010-08-08T13:33:18  <ThomasWaldmann> (please give a life sign if you read this)
  67 2010-08-08T13:34:02  <ThomasWaldmann> students of course can do their own review also to identify such stuff
  68 2010-08-08T13:34:40  <ThomasWaldmann> diofeher: DmitryAndreev_: ei-grad: valeuf: ^^
  69 2010-08-08T13:35:32  <valeuf> ThomasWaldmann: I am trying to finish to add support for all the missing elements for DocBook_IN converter today
  70 2010-08-08T13:36:11  <valeuf> so globally all the white elements on this list: http://moinmo.in/DOM%20DocBook%20and%20HTML%202010/DocBook-DOM%20Equivalences
  71 2010-08-08T13:36:30  <valeuf> I want also to do some refactoring of my DocBook_IN converter this afternoon
  72 2010-08-08T13:37:11  <valeuf> I need to review all my docstrings also, ta try to kill all the typo and other english mistake (and things like TODO : --> TODO:)
  73 2010-08-08T13:37:13  <ThomasWaldmann> lots of stuff
  74 2010-08-08T13:37:20  <valeuf> :D
  75 2010-08-08T13:37:36  <valeuf> I am having some problem with object elements, but I am almost done
  76 2010-08-08T13:37:38  <ThomasWaldmann> can i merge now?
  77 2010-08-08T13:38:03  <valeuf> hum, can you wait a little bit, I'd like to finish object supports
  78 2010-08-08T13:38:08  <ThomasWaldmann> ok
  79 2010-08-08T13:41:06  <ThomasWaldmann> class DocBook(Text):
  80 2010-08-08T13:41:17  <ThomasWaldmann> class CreoleWiki(MarkupItem):
  81 2010-08-08T13:41:24  <valeuf> still? I thought I changed to markup item
  82 2010-08-08T13:41:41  <valeuf> I remember we had a talk about it
  83 2010-08-08T13:42:10  <ThomasWaldmann> yes, and as you successfully tried wiki: links, i guess it should be MarkupItem
  84 2010-08-08T13:43:34  <ThomasWaldmann> about safe vs. unsafe html, i guess I just remove unsafe and use text/html for the safe one
  85 2010-08-08T13:43:48  <valeuf> hum, fine with me
  86 2010-08-08T13:44:20  <valeuf> there is something a little bit fun now, we use html4 for the HTML_IN converter, but we output HTML5 at the end
  87 2010-08-08T13:44:47  <valeuf> so at the same time our converter check HTML is safe, and furthermore we get rid of the HTML4 elements!
  88 2010-08-08T13:45:27  <ThomasWaldmann> i just wondered about whether text/html is right
  89 2010-08-08T13:45:49  <valeuf> ThomasWaldmann: I do not know well...
  90 2010-08-08T13:45:54  <valeuf> waldi ?!
  91 2010-08-08T13:52:59  <ThomasWaldmann> maybe we in general need some input validation / transformation step on sve
  92 2010-08-08T13:53:01  <ThomasWaldmann> save
  93 2010-08-08T13:53:18  <valeuf> I was thinking about such of things
  94 2010-08-08T13:53:31  <valeuf> but this is quite done in the converter,
  95 2010-08-08T13:53:46  <valeuf> I mean ET throw an error if there is something wrong in the input data
  96 2010-08-08T13:53:51  <ThomasWaldmann> so that noone can put non-utf-8 text data into wiki, put binary stuff into text item, can put unsafe html into wiki (it would run through converter before save)
  97 2010-08-08T13:54:07  <valeuf> ah yes such of verification
  98 2010-08-08T13:54:16  <valeuf> indeed it could be nice
  99 2010-08-08T13:55:03  <ThomasWaldmann> if we just do same stuff as when rendering and it fails, we don't save it
 100 2010-08-08T14:02:02  <CIA-50> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 9421:9ad7d630c1df 2.0-dev/MoinMoin/items/__init__.py:
 101 2010-08-08T14:02:02  <CIA-50> remove special item / type for safe html, text/html items should render safely
 102 2010-08-08T14:02:02  <CIA-50> if stuff runs through the converter chain, all unsupported (unsafe) stuff gets
 103 2010-08-08T14:02:02  <CIA-50> lost.
 104 2010-08-08T14:13:51  * ThomasWaldmann fixes some pep8 problems
 105 2010-08-08T14:22:46  *** kursor has joined #moin-dev
 106 2010-08-08T14:32:24  <ThomasWaldmann> valeuf: after finishing object stuff, please merge
 107 2010-08-08T14:32:37  <valeuf> ok
 108 2010-08-08T14:33:13  <CIA-50> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 9422:5ff53dfa1954 2.0-dev/MoinMoin/ (8 files in 3 dirs): cosmetic: fix PEP8 issues
 109 2010-08-08T14:33:41  <ThomasWaldmann> and read that diff ^
 110 2010-08-08T14:34:11  <valeuf> ^ ^
 111 2010-08-08T14:34:22  <valeuf> ok, I will avoid to put ) on the same line
 112 2010-08-08T14:34:52  <valeuf> (however, I feel like we will get conflict, because I am rewritting some parts you fixed)
 113 2010-08-08T14:46:48  <CIA-50> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 9423:1d3a0370927f 2.0-dev/MoinMoin/items/_tests/test_Item.py: remove tests related to items.PythonSrc (gone)
 114 2010-08-08T15:05:10  <valeuf> \o/
 115 2010-08-08T15:05:12  <valeuf> it starts to work
 116 2010-08-08T15:09:58  <ThomasWaldmann> it?
 117 2010-08-08T15:10:24  <valeuf> the object conversion with a more docbook way
 118 2010-08-08T15:10:37  <valeuf> before I was just converting any *data tag into an object tag
 119 2010-08-08T15:11:01  <valeuf> but it is quite wrong, because usually, DocBook document have a wrapper around, let's say, imagedata
 120 2010-08-08T15:11:36  <valeuf> so they will define different image files, for just one picture to show in the document, so you can a high-resolution image for impression
 121 2010-08-08T15:11:52  <valeuf> and a low resolution image for html rendering
 122 2010-08-08T15:12:28  <valeuf> so now the converter make the list of imagedata for one imageobject, and choose one
 123 2010-08-08T15:13:03  <valeuf> I need to handle the caption tag now, and also check for text replacement, if there is not suitable data
 124 2010-08-08T15:16:49  <ThomasWaldmann> ah
 125 2010-08-08T15:17:06  * ThomasWaldmann rips parsers
 126 2010-08-08T15:17:46  <valeuf> but I am not sure what I will do with caption yet ^ ^
 127 2010-08-08T15:30:54  <ThomasWaldmann> i had a similar problem with image transclusion with the label text from markup
 128 2010-08-08T15:33:28  <valeuf> ThomasWaldmann: what did you do finally?
 129 2010-08-08T15:37:06  <CIA-50> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 9424:bb2e61e6c01b 2.0-dev/MoinMoin/ (8 files in 5 dirs): get rid of most of the parser stuff, we use converters now
 130 2010-08-08T15:37:15  <ThomasWaldmann> nothing yet, no idea
 131 2010-08-08T15:40:20  <CIA-50> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 9425:bd6449699288 2.0-dev/wiki/data/plugin/ (converter/__init__.py parser/__init__.py xmlrpc/__init__.py): kill converter, xmlrpc, parser plugin packages
 132 2010-08-08T15:55:52  <CIA-50> Valentin Janiaut <valentin.janiaut@utbm.fr> default * 9430:dce1c3b4ee77 2.0-dev-docbook-html-vjaniaut/MoinMoin/converter2/docbook_in.py: Add a dictionnary to have all the data related to the media elements. Add a visit_data_object method to convert object element. Change visit_data_element method according to this new architecture.
 133 2010-08-08T15:55:54  <CIA-50> Valentin Janiaut <valentin.janiaut@utbm.fr> default * 9431:a066fb25f937 2.0-dev-docbook-html-vjaniaut/MoinMoin/converter2/docbook_in.py: Remove unused method for the data elements conversion for the DocBook_IN converter
 134 2010-08-08T15:55:56  <CIA-50> Valentin Janiaut <valentin.janiaut@utbm.fr> default * 9432:abde47ae6356 2.0-dev-docbook-html-vjaniaut/MoinMoin/converter2/_tests/test_docbook_in.py: Add tests to check if the prefered mimetype is supported correctly for DocBook_IN converter
 135 2010-08-08T15:55:58  <CIA-50> Valentin Janiaut <valentin.janiaut@utbm.fr> default * 9433:aea4a9d7ccba 2.0-dev-docbook-html-vjaniaut/MoinMoin/converter2/docbook_in.py: Add support to chose the prefered mimetype for a data element for the DocBook_IN converter
 136 2010-08-08T15:55:59  <CIA-50> Valentin Janiaut <valentin.janiaut@utbm.fr> default * 9434:97a6abf6d748 2.0-dev-docbook-html-vjaniaut/MoinMoin/converter2/ (_tests/test_docbook_in.py docbook_in.py): Add the format attribute to the mimetype of the type attribute for the DocBook_IN converter
 137 2010-08-08T16:02:37  <CIA-50> Valentin Janiaut <valentin.janiaut@utbm.fr> default * 9435:a3c02c553ba0 2.0-dev-docbook-html-vjaniaut/MoinMoin/converter2/docbook_in.py: Revert changeset 9425
 138 2010-08-08T16:03:32  <ThomasWaldmann> if you refer to changesets, always use the hash
 139 2010-08-08T16:04:17  <valeuf> ThomasWaldmann: ah? why
 140 2010-08-08T16:04:40  <ThomasWaldmann> because numbers change
 141 2010-08-08T16:04:49  <valeuf> ThomasWaldmann: oops, sorry
 142 2010-08-08T16:15:04  <CIA-50> Valentin Janiaut <valentin.janiaut@utbm.fr> default * 9455:3886289ccaa0 2.0-dev-docbook-html-vjaniaut/ (30 files in 14 dirs): Merge against moin/2.0-dev
 143 2010-08-08T16:17:35  * ThomasWaldmann kills PageEditor
 144 2010-08-08T16:22:51  <CIA-50> Valentin Janiaut <valentin.janiaut@utbm.fr> default * 9456:d6319daca0d9 2.0-dev-docbook-html-vjaniaut/MoinMoin/converter2/ (_tests/test_docbook_out.py docbook_in.py html_in.py): Cosmetic changes, PEP8 fix
 145 2010-08-08T16:25:01  <ThomasWaldmann> diofeher: what are dou doing right now?
 146 2010-08-08T16:25:45  *** RogerHaase has joined #moin-dev
 147 2010-08-08T16:34:06  <CIA-50> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 9426:33ca3741c664 2.0-dev/MoinMoin/ (11 files in 8 dirs): (log message trimmed)
 148 2010-08-08T16:34:06  <CIA-50> kill PageEditor and most (unmaintained) stuff that still used it
 149 2010-08-08T16:34:06  <CIA-50> scripts killed:
 150 2010-08-08T16:34:06  <CIA-50> * moin import irclog
 151 2010-08-08T16:34:06  <CIA-50> * moin import wikipage
 152 2010-08-08T16:34:07  <CIA-50> * moin maint globaledit
 153 2010-08-08T16:34:07  <CIA-50> * moin account homepage
 154 2010-08-08T16:47:04  <valeuf> do we have something like the Mail macro in moin2?
 155 2010-08-08T16:53:36  <ThomasWaldmann> you mean MailTo?
 156 2010-08-08T16:53:40  <valeuf> yes
 157 2010-08-08T16:54:16  <ThomasWaldmann> see macro2/
 158 2010-08-08T16:55:48  <valeuf> there is a way to add macro in the DOm Tree?
 159 2010-08-08T16:59:05  <valeuf> ThomasWaldmann: I will probably need to write a special CSS for docbook
 160 2010-08-08T16:59:13  <valeuf> (but after my SoC)
 161 2010-08-08T16:59:20  <valeuf> at least one for the official theme
 162 2010-08-08T17:00:06  <CIA-50> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 9427:72803d02adcf 2.0-dev/MoinMoin/ (macro/GetText2.py packages.py):
 163 2010-08-08T17:00:06  <CIA-50> remove GetText2 macro and packages packLine/unpackLine
 164 2010-08-08T17:00:06  <CIA-50> GetText2 was not adapted to a new style macro2 yet and had strange
 165 2010-08-08T17:00:06  <CIA-50> parameter "parsing" (using unpackLine). We maybe can do that better
 166 2010-08-08T17:00:06  <CIA-50> somehow.
 167 2010-08-08T17:01:11  <ThomasWaldmann> valeuf: if diofeher finally works on the infrastructure for that, it should be afterwards no problem to add some css
 168 2010-08-08T17:03:04  <valeuf> ThomasWaldmann: yep, I am using class="db_elementname" for some block elements
 169 2010-08-08T17:03:48  <valeuf> so it will allow people to use this to have a nice rendering, but I think we need to provide at least a kind of example
 170 2010-08-08T17:04:08  <valeuf> so people can use to write their own support for DocBook element in a theme
 171 2010-08-08T17:04:28  <valeuf> but it can be in a separate stylesheet, and be used by different theme, I will try to write something really genery
 172 2010-08-08T17:04:32  <valeuf> *generic
 173 2010-08-08T17:04:56  <valeuf> (so at this time, many elements are correctly converted, but we do not see the result, except at looking in the HTML source)
 174 2010-08-08T17:18:59  * ThomasWaldmann looks at macro converter
 175 2010-08-08T17:30:19  <TheSheep> valeuf: careful with _ in class names
 176 2010-08-08T17:30:41  <valeuf> TheSheep: wher?
 177 2010-08-08T17:30:44  <valeuf> *where
 178 2010-08-08T17:30:51  <TheSheep> 15:03 < valeuf> ThomasWaldmann: yep, I am using class="db_elementname" for some  block elements
 179 2010-08-08T17:31:20  <valeuf> TheSheep: ah I thought you were speaking about python classname ^ ^
 180 2010-08-08T17:31:31  <valeuf> TheSheep: why you do not like undescore for classname?
 181 2010-08-08T17:32:07  <TheSheep> valeuf: the behavior of _ is not well defined, according to the spec they should be escaped, but different browsers behave differently
 182 2010-08-08T17:32:17  <valeuf> TheSheep: oh I did not know
 183 2010-08-08T17:32:25  <valeuf> TheSheep: - would be better?
 184 2010-08-08T17:32:29  <TheSheep> yes
 185 2010-08-08T17:32:40  <valeuf> TheSheep: I will change so, it is quite easy :)
 186 2010-08-08T17:32:59  <TheSheep> yeah, beforet here are any user styles out there
 187 2010-08-08T17:37:13  <ThomasWaldmann> valeuf: from ._wiki_macro import ConverterMacro
 188 2010-08-08T17:37:25  <ThomasWaldmann> (this is from html_in converter)
 189 2010-08-08T17:37:44  <valeuf> ThomasWaldmann: ah yes, I found it
 190 2010-08-08T17:37:54  <valeuf> ThomasWaldmann: I was looking for something else now
 191 2010-08-08T17:43:07  <CIA-50> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 9428:97d3482e05b7 2.0-dev/MoinMoin/items/__init__.py:
 192 2010-08-08T17:43:07  <CIA-50> add macro converter to converter chain
 193 2010-08-08T17:43:07  <CIA-50> Note: some ConverterMacros (BR, TableOfContents, ...) work, other macros don't.
 194 2010-08-08T17:45:47  <ThomasWaldmann> diofeher: DmitryAndreev_: dreimark: ei-grad: eSyr: TheSheep: valeuf: waldi: xorAxAx: meeting in ~ 1h 15min
 195 2010-08-08T17:45:55  <valeuf> o/
 196 2010-08-08T18:14:13  <CIA-50> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 9429:d240dd7c7655 2.0-dev/MoinMoin/macro2/_base.py: macro2: remove unused import, make base class consistent with classes inheriting from it
 197 2010-08-08T18:20:34  <ThomasWaldmann> most macro2 stuff has a mismatching call signature
 198 2010-08-08T18:23:45  *** kursor has quit IRC
 199 2010-08-08T18:34:50  <diofeher> moin
 200 2010-08-08T18:39:23  <CIA-50> Valentin Janiaut <valentin.janiaut@utbm.fr> default * 9457:c079ab62d838 2.0-dev-docbook-html-vjaniaut/MoinMoin/converter2/docbook_in.py: Edit list of ignored and inline tags for the DocBook_IN converter
 201 2010-08-08T18:39:24  <CIA-50> Valentin Janiaut <valentin.janiaut@utbm.fr> default * 9458:d61cc4c186f0 2.0-dev-docbook-html-vjaniaut/MoinMoin/converter2/docbook_in.py: Edit the list of block tags not handled by our DOM tree
 202 2010-08-08T18:39:53  <diofeher> ThomasWaldmann, ah, i'm working on infra-structure of theme plugins
 203 2010-08-08T18:39:59  <valeuf> \o/ 102 commit this week :)
 204 2010-08-08T18:39:59  <diofeher> but it's kinda dirty
 205 2010-08-08T18:40:23  <diofeher> valeuf, \o/
 206 2010-08-08T18:42:47  <diofeher> jinja_loader of Module (flask class) doesn't work as expected... i've to change by hand the path of templates
 207 2010-08-08T18:45:58  <diofeher> theme code: http://paste.pocoo.org/show/247697/
 208 2010-08-08T18:48:55  <ThomasWaldmann> that stuff looks strange
 209 2010-08-08T18:49:17  <ThomasWaldmann> it if it doesn't work as expected, you're maybe doing it wrong
 210 2010-08-08T18:50:52  <diofeher> no
 211 2010-08-08T18:51:36  <diofeher> look at flask/modules.py
 212 2010-08-08T18:52:56  <diofeher> first in __init__ have this assert, this is why i do name = __name__ + ',
 213 2010-08-08T18:53:01  <diofeher> '.' + __name__
 214 2010-08-08T18:53:20  <diofeher> ah, jinja_loader is in flask/helpers.py
 215 2010-08-08T18:53:40  *** grzywacz has joined #moin-dev
 216 2010-08-08T18:54:19  <CIA-50> Dmitry Andreev <klieg.polar@gmail.com> default * 8566:6a7788e8b560 2.0-dev-wiki-rest-dandreev/MoinMoin/converter2/mediawiki_in.py: Mediawiki->DOM: external links, images
 217 2010-08-08T18:54:24  <CIA-50> Dmitry Andreev <klieg.polar@gmail.com> default * 8567:4ffb04c1896c 2.0-dev-wiki-rest-dandreev/MoinMoin/converter2/_tests/test_mediawiki_in.py: Mediawiki->DOM: add tests of links
 218 2010-08-08T18:54:27  <CIA-50> Dmitry Andreev <klieg.polar@gmail.com> default * 8568:b16f5d84dc7b 2.0-dev-wiki-rest-dandreev/MoinMoin/converter2/_tests/ (test_moinwiki_out.py test_rst_in.py test_rst_out.py): add coverage_tests variable
 219 2010-08-08T18:54:28  <CIA-50> Dmitry Andreev <klieg.polar@gmail.com> default * 8569:596646968c2c 2.0-dev-wiki-rest-dandreev/MoinMoin/converter2/mediawiki_in.py: fix image conversion
 220 2010-08-08T18:54:30  <CIA-50> Dmitry Andreev <klieg.polar@gmail.com> default * 8570:d34e04e4f793 2.0-dev-wiki-rest-dandreev/MoinMoin/converter2/mediawiki_in.py: delete unused code
 221 2010-08-08T18:54:34  <CIA-50> Dmitry Andreev <klieg.polar@gmail.com> default * 8571:9eda5c94c5df 2.0-dev-wiki-rest-dandreev/MoinMoin/converter2/_tests/test_mediawiki_in.py: Mediawiki->DOM: add table test
 222 2010-08-08T18:54:34  <CIA-50> Dmitry Andreev <klieg.polar@gmail.com> default * 8572:a47a3da992d7 2.0-dev-wiki-rest-dandreev/MoinMoin/converter2/moinwiki_out_recursive.py: small code cleanup
 223 2010-08-08T18:55:49  <ThomasWaldmann> diofeher: instead giving it a crappy import_name like this, you could just give the name you want
 224 2010-08-08T18:56:40  <ThomasWaldmann> diofeher: as you didn't commit anything recently, paste hg diff to a pastebin
 225 2010-08-08T18:56:54  <diofeher> ThomasWaldmann, you saw the other hg diff?
 226 2010-08-08T18:56:59  <diofeher> i posted early
 227 2010-08-08T18:57:31  <ThomasWaldmann> i mean what you have now
 228 2010-08-08T18:57:48  <diofeher> ah
 229 2010-08-08T18:58:14  <diofeher> http://paste.pocoo.org/show/247553/ ... but the other code is not in repository... it's the plugin code
 230 2010-08-08T18:58:33  <CIA-50> Dmitry Andreev <klieg.polar@gmail.com> default * 9523:fcfacbd70791 2.0-dev-wiki-rest-dandreev/ (1326 files in 261 dirs): merge 2.0-dev
 231 2010-08-08T18:58:41  <diofeher> i'm gonna refactor this now
 232 2010-08-08T18:59:27  <ThomasWaldmann> stop it
 233 2010-08-08T18:59:54  <diofeher> hm
 234 2010-08-08T18:59:58  <ThomasWaldmann> ok, everybody who is here please give a life sign
 235 2010-08-08T19:00:03  <valeuf> o/
 236 2010-08-08T19:00:05  <diofeher> o/
 237 2010-08-08T19:00:16  <DmitryAndreev_> o/
 238 2010-08-08T19:00:21  <waldi> pong
 239 2010-08-08T19:00:22  *** DmitryAndreev_ is now known as DmitryAndreev
 240 2010-08-08T19:00:36  <ThomasWaldmann> mentors?
 241 2010-08-08T19:00:47  * dreimark meeting
 242 2010-08-08T19:01:01  <diofeher> TheSheep, ping
 243 2010-08-08T19:01:05  <ThomasWaldmann> TheSheep: eSyr: meeting time
 244 2010-08-08T19:01:16  <ThomasWaldmann> xorAxAx: ^^
 245 2010-08-08T19:01:29  <TheSheep> sorry, I'm here
 246 2010-08-08T19:01:45  <ThomasWaldmann> ok, then let's begin with diofeher
 247 2010-08-08T19:01:46  <diofeher> :)
 248 2010-08-08T19:02:26  <eSyr> there.
 249 2010-08-08T19:02:27  <diofeher> i've refactored css a little, and fixed some hierarchical structures of templates
 250 2010-08-08T19:03:03  <diofeher> most time of the week i've tried to do some infrastructure to plugins themes but not successful :( well, it's working but code is crappy
 251 2010-08-08T19:04:47  <ThomasWaldmann> (if you do work with no outcome, describe what you did exactly in your diary)
 252 2010-08-08T19:05:08  <diofeher> ok.. gonna update my diary after meeting
 253 2010-08-08T19:05:09  <dreimark> and may be tell the plan
 254 2010-08-08T19:05:35  <diofeher> the plan was load plugin themes as flask modules and register in app to module serve templates and static
 255 2010-08-08T19:06:27  <diofeher> the idea you can distribute theme as folder, with all content inside, templates and static
 256 2010-08-08T19:06:42  <ThomasWaldmann> i told you to just try it with existing frontend Module, why didn't you do that?
 257 2010-08-08T19:08:01  <diofeher> ah, you told to put static and templates in frontend module? duh, i understood other thing
 258 2010-08-08T19:09:06  <ThomasWaldmann> i told you at least twice.
 259 2010-08-08T19:09:33  <diofeher> yes, i know.. but i understood other thing :/
 260 2010-08-08T19:09:36  <ThomasWaldmann> TheSheep: any suggestion about making next days more productive for dio?
 261 2010-08-08T19:10:02  <diofeher> ThomasWaldmann, that patch is not going to be accepted, right?
 262 2010-08-08T19:10:12  * ThomasWaldmann would suggest stopping code related work and cleaning up CSS
 263 2010-08-08T19:10:18  <diofeher> about loading of plugins
 264 2010-08-08T19:10:46  <ThomasWaldmann> or JS or anything else less complex
 265 2010-08-08T19:11:49  <dreimark> cleaning up css is more important
 266 2010-08-08T19:12:13  <dreimark> or also js used moved into jquery features
 267 2010-08-08T19:12:20  <dreimark> at least a plan
 268 2010-08-08T19:12:47  <ThomasWaldmann> TheSheep: ?
 269 2010-08-08T19:13:07  <TheSheep> ThomasWaldmann: I can't really think of anything more, short of going there and sitting with him.
 270 2010-08-08T19:13:52  <TheSheep> ThomasWaldmann: Yeah, maybe leaving the code out is a good idea.
 271 2010-08-08T19:14:13  <ThomasWaldmann> (with code I meant python code)
 272 2010-08-08T19:14:31  <TheSheep> yes
 273 2010-08-08T19:15:05  <ThomasWaldmann> diofeher: ok, so pick some of the non-py parts of your todo list and try to get some work done
 274 2010-08-08T19:15:31  <ThomasWaldmann> we'll implement plugin themes later
 275 2010-08-08T19:15:47  <diofeher> ThomasWaldmann, ok so
 276 2010-08-08T19:16:11  <ThomasWaldmann> diofeher: and think about what "cleanup css" means exactly, talk to your mentor, he's css expert :)
 277 2010-08-08T19:16:31  <dreimark> (guru)
 278 2010-08-08T19:16:57  <diofeher> TheSheep, prepare to teach me the secrets of css ^^
 279 2010-08-08T19:17:03  <ThomasWaldmann> also, we have some stuff looking very plain right now, maybe we need some css for making it look less plain
 280 2010-08-08T19:17:32  <valeuf> oh yes :)
 281 2010-08-08T19:17:37  <valeuf> we need a lot of CSS :D
 282 2010-08-08T19:18:02  <diofeher> some parts in special?
 283 2010-08-08T19:18:06  <ThomasWaldmann> btw, for all students: "pencils down" date in google terminology is sometimes not that strict as it sounds
 284 2010-08-08T19:18:45  <dreimark> we should may be add a wishlist for missing css features
 285 2010-08-08T19:18:47  <ThomasWaldmann> it's rather a goal to reach for doing big changes in project
 286 2010-08-08T19:19:00  <dreimark> instead of discussing it now
 287 2010-08-08T19:19:08  <ThomasWaldmann> but you can still clean up, document, etc. afterwards usually
 288 2010-08-08T19:19:32  <diofeher> liked dreimark's idea
 289 2010-08-08T19:19:36  <ThomasWaldmann> ok, anything more for diofeher?
 290 2010-08-08T19:20:30  <diofeher> put them (wishlist) at end http://www.moinmo.in/DiogenesAugusto/GSoC2010/TODO
 291 2010-08-08T19:20:38  <diofeher> if have one...
 292 2010-08-08T19:20:55  <TheSheep> I don't think wishlists is a good way of doing design.
 293 2010-08-08T19:21:08  <ThomasWaldmann> ei-grad: in case you're out there, it would be a good time to join us
 294 2010-08-08T19:22:03  <ThomasWaldmann> xorAxAx: there?
 295 2010-08-08T19:22:32  <dreimark> TheSheep: before design happens one has to collect
 296 2010-08-08T19:22:53  <dreimark> i meant it just for showing places
 297 2010-08-08T19:22:55  <ThomasWaldmann> ok, xorAxAx missing. but i guess valeuf can report anyway. valeuf, please begin.
 298 2010-08-08T19:23:12  <TheSheep> dreimark: collect requirements and user stories, yes
 299 2010-08-08T19:23:22  <valeuf> Ok, so what I did this week is globally:
 300 2010-08-08T19:23:24  <valeuf> Added support for three kind of elements for the DocBook_IN converter:
 301 2010-08-08T19:23:30  <valeuf> Ignored element: We do not process the element and the child. For instance meta-data element.
 302 2010-08-08T19:23:35  <valeuf> Inline element: DocBook elements rendered inline, but without direct support in our DOM tree. We use <span element="tag.name" />
 303 2010-08-08T19:23:46  <valeuf> Block element: Same than inline element, but for DocBook elements rendered as a block.
 304 2010-08-08T19:23:52  <valeuf> Added support for admonition in DocBook_IN, DocBook_OUT, HTML_OUT
 305 2010-08-08T19:23:59  <valeuf> Added support for numerous DocBook elements (I cover 95% of the specification).
 306 2010-08-08T19:24:05  <valeuf> Added support for mediaobject elements for DocBook_IN.
 307 2010-08-08T19:24:38  <xorAxAx> yes, missing :)
 308 2010-08-08T19:24:51  <valeuf> About inline element, I'd like to say that I am thinking I was maybe wrong to use element attribute, and finally "html:class"would be better, and more consistent with the treatment of block elements.
 309 2010-08-08T19:24:56  <valeuf> xorAxAx: hey mentor ^ ^
 310 2010-08-08T19:24:57  <ThomasWaldmann> wb xorAxAx :)
 311 2010-08-08T19:25:50  <valeuf> there is some part of the ignored elements, which can probably be converted later if we add some features to Moin Moin
 312 2010-08-08T19:25:59  <valeuf> (for instance meta-data)
 313 2010-08-08T19:26:15  <valeuf> but I think at this time we should not care of all I put in the ignored list
 314 2010-08-08T19:26:52  <ThomasWaldmann> valeuf: can you put some smaller samples for db features on the test wiki?
 315 2010-08-08T19:27:24  <valeuf> so when I say I cover 95% of the DocBook specification, I mean that 95% of docbook elements have a well-defined behaviour, with documentation on the equivalence page
 316 2010-08-08T19:27:42  <valeuf> ThomasWaldmann: sure, I have a lot in my local moin2 wiki
 317 2010-08-08T19:28:27  <ThomasWaldmann> ok, next week's plan?
 318 2010-08-08T19:28:55  <valeuf> finish to implement the missing docbook elements in the DocBook_IN converter (I can probably finish tonight)
 319 2010-08-08T19:29:04  <valeuf> then:
 320 2010-08-08T19:29:07  <valeuf> * add more tests
 321 2010-08-08T19:29:11  <valeuf> * write more documentation
 322 2010-08-08T19:29:18  <valeuf> * clean and refactor some part of the code
 323 2010-08-08T19:29:28  <xorAxAx> i didnt have time to do a review yet, will do so tomorrow
 324 2010-08-08T19:29:32  <valeuf> * and so add example in the Moin2 test wiki
 325 2010-08-08T19:29:44  <valeuf> xorAxAx: ok great, so I can clean some part tonight before you do review
 326 2010-08-08T19:29:55  <valeuf> xorAxAx: I will be available all the day tomorrow
 327 2010-08-08T19:30:11  <xorAxAx> cool
 328 2010-08-08T19:30:52  <valeuf> I am going to travel te Berlin from Wednesday, so I won't be always available on IRC as I am usually, but I will keep working with my laptop
 329 2010-08-08T19:30:58  <valeuf> and I will check IRC regularly
 330 2010-08-08T19:31:38  <ThomasWaldmann> anything more for valeuf?
 331 2010-08-08T19:32:25  <ThomasWaldmann> ok, thanks valeuf. DmitryAndreev, your stage :)
 332 2010-08-08T19:33:31  <DmitryAndreev> Conversion of tt/code/pre tags and breakline, some features for table like: attributes and multiline text in cells. Conversion of links and images.
 333 2010-08-08T19:33:43  <DmitryAndreev> also more tests
 334 2010-08-08T19:33:55  <DmitryAndreev> thats all about mediawiki->dom converter
 335 2010-08-08T19:34:01  <ThomasWaldmann> ah :)
 336 2010-08-08T19:34:46  <DmitryAndreev> today eSyr has told me, that he found some issues of  mediawiki_in converter, so i need to fix them, thats my TODO
 337 2010-08-08T19:34:55  <ThomasWaldmann> did you do some practical experiments with stuff from wikipedia or so?
 338 2010-08-08T19:34:59  <eSyr> well, code review reveals some minor bugs, but i suppose that they will be fixed next week.
 339 2010-08-08T19:35:07  <DmitryAndreev> not yet
 340 2010-08-08T19:35:31  <eSyr> i tried pages from my  wiki, they're not too complex, but most of them worked.
 341 2010-08-08T19:36:35  <ThomasWaldmann> is there some news about the 2 kinds of converters?
 342 2010-08-08T19:37:05  <dreimark> it would be nice to feed some of the wikipedia pages through the convertor and to look at raisin exceptionss and fix those
 343 2010-08-08T19:37:39  <valeuf> DmitryAndreev: do you use xpath for the tests?
 344 2010-08-08T19:38:47  <DmitryAndreev> ThomasWaldmann, nothing from me. recursive version works a little faster on my tests, so i'll keep recursive version if nobody told me another,
 345 2010-08-08T19:39:36  <ThomasWaldmann> is the recursive code easier?
 346 2010-08-08T19:40:20  <ThomasWaldmann> (and more like the other converters I guess, right?)
 347 2010-08-08T19:40:34  <DmitryAndreev> valeuf, not yet, but i saw that you xpath tests was merge in 2.0-dev, so i'll need to do them
 348 2010-08-08T19:41:18  <DmitryAndreev> ThomasWaldmann, easier.. maybe.
 349 2010-08-08T19:41:26  <valeuf> DmitryAndreev: also, I do not know if it applies to mediawiki, but we return a DOM tree with <error> element if there is a problem (syntax error for instance) in the input data
 350 2010-08-08T19:42:23  <ThomasWaldmann> waldi: eSyr: xorAxAx: you also like recursive rather?
 351 2010-08-08T19:42:51  <ThomasWaldmann> DmitryAndreev: feature set and implementation completeness is same?
 352 2010-08-08T19:43:20  <ThomasWaldmann> TheSheep: your opinion also please
 353 2010-08-08T19:43:37  <DmitryAndreev> valeuf, i need to add <errors> in rst test, now i ignore errors in rst internal tree
 354 2010-08-08T19:43:46  <DmitryAndreev> ThomasWaldmann, yes
 355 2010-08-08T19:43:58  <ThomasWaldmann> after we've decided that and removed the implementation not needed, we can merge back to main in a stable moment
 356 2010-08-08T19:43:59  <TheSheep> ThomasWaldmann: tbh I didn't look at that code
 357 2010-08-08T19:44:14  <ThomasWaldmann> can you do it now? :)
 358 2010-08-08T19:44:17  <TheSheep> ThomasWaldmann: yes
 359 2010-08-08T19:44:52  <waldi> ThomasWaldmann: its easier to read and unlikely to reach the limit
 360 2010-08-08T19:45:12  <ThomasWaldmann> DmitryAndreev: ok, plan for next week?
 361 2010-08-08T19:45:31  <ThomasWaldmann> ei-grad: last chance
 362 2010-08-08T19:45:49  <eSyr> dreimark: problem with wikipadeia pages in excessive use of templates and mw-specific plugins.
 363 2010-08-08T19:46:04  <ThomasWaldmann> (yeah, i thought that also :)
 364 2010-08-08T19:46:31  <ThomasWaldmann> but could that be handled gracefully maybe (without crashing?)
 365 2010-08-08T19:46:43  <eSyr> ThomasWaldmann: i prefer iterative version, but wast majority likes recursive :)
 366 2010-08-08T19:46:53  <DmitryAndreev> i'm going to meet with eSyr tomorrow and listen his comments about issues of code + xpath tests and more tests of mediawiki_in(with bugfixes)
 367 2010-08-08T19:46:53  <dreimark> eSyr: also the help pages?
 368 2010-08-08T19:47:08  <eSyr> ThomasWaldmann: yes, of course, but it's difficult to compare output without them.
 369 2010-08-08T19:47:16  <dreimark> ok, me has to run for some dinner
 370 2010-08-08T19:47:19  <dreimark> bbl
 371 2010-08-08T19:47:28  <eSyr> dreimark: bon appetite
 372 2010-08-08T19:47:29  <ThomasWaldmann> cu dreimark
 373 2010-08-08T19:48:00  <eSyr> dreimark: afaik, mw doesn't contain help pages in distribution like moin.
 374 2010-08-08T19:48:20  <ThomasWaldmann> DmitryAndreev: ok, and after tomorrow?
 375 2010-08-08T19:48:54  * ThomasWaldmann .oO(teh day after tomorrow :)
 376 2010-08-08T19:49:57  <DmitryAndreev> ThomasWaldmann, mostly bugfixes, some descripsions about project on wiki. maybe docstrings. i need to look what eSyr found about mediawiki_in before done with it
 377 2010-08-08T19:50:07  <ThomasWaldmann> DmitryAndreev: eSyr: btw, are you in one of the affected areas of those burns?
 378 2010-08-08T19:51:04  <DmitryAndreev> ThomasWaldmann, we are in smoke, fire is outside of the city
 379 2010-08-08T19:51:34  <eSyr> ThomasWaldmann: http://esyr.org/photo/metro_smoke.1.jpg
 380 2010-08-08T19:51:38  <ThomasWaldmann> DmitryAndreev: about the converters: please remove the statemachine version then and keep the recursive, so i get only one when merging later today
 381 2010-08-08T19:51:57  <valeuf> eSyr: wow
 382 2010-08-08T19:52:19  <DmitryAndreev> ThomasWaldmann, ok
 383 2010-08-08T19:53:14  <ThomasWaldmann> eSyr: DmitryAndreev: I hope they get the situation under control. Having thick air all day sucks I guess. X-|
 384 2010-08-08T19:54:16  <ThomasWaldmann> eSyr: DmitryAndreev: did you hear anything from ei-grad recently?
 385 2010-08-08T19:54:41  <DmitryAndreev> ThomasWaldmann, no
 386 2010-08-08T19:55:16  <ThomasWaldmann> anything else for DmitryAndreev and eSyr?
 387 2010-08-08T19:55:45  <TheSheep> I think the recurive version looks a little cleaner, it has less global state
 388 2010-08-08T19:55:57  <TheSheep> but I'm a little concerned about python's recursion limits
 389 2010-08-08T19:56:18  <ThomasWaldmann> btw, for the mentors: I guess we should have some mentor meeting after you have reviewed your students projects next week, I'll make a doodle
 390 2010-08-08T19:56:52  <ThomasWaldmann> TheSheep: maybe if you nest so deep, your document is fscked anyway :D
 391 2010-08-08T19:58:09  <TheSheep> ThomasWaldmann: it's not a deep as it seems, and the converter is going to work nested pretty deeply already
 392 2010-08-08T19:58:32  <ThomasWaldmann> mentors: and don't do the review last-minute. if you find stuff early, there is still time to fix it within soc.
 393 2010-08-08T19:59:00  <valeuf> TheSheep: I converted quite complicate DocBook document with a lot of recursion, without big trouble
 394 2010-08-08T19:59:39  <ThomasWaldmann> 2010-08-08 17:50:21,686 INFO werkzeug:116 141.30.241.116 - - [08/Aug/2010 17:50:21] "GET /+get/Html5Audio HTTP/1.0" 200 -
 395 2010-08-08T19:59:40  <TheSheep> valeuf: It's nothing I can point to, I'm just a little scared, probably it's all ok
 396 2010-08-08T19:59:42  <ThomasWaldmann> ^C^CSegmentation fault
 397 2010-08-08T19:59:50  <TheSheep> \o/
 398 2010-08-08T20:00:10  <valeuf> ThomasWaldmann: :D
 399 2010-08-08T20:00:21  <TheSheep> gotta love apache
 400 2010-08-08T20:00:41  <ThomasWaldmann> http://test.moinmo.in:8080/transclude%20something < deeper :)
 401 2010-08-08T20:00:51  <ThomasWaldmann> that was wikiserver
 402 2010-08-08T20:01:58  <ThomasWaldmann> ok, looks like we are finished with the official part. thanks to all who were here.
 403 2010-08-08T20:02:30  <diofeher> :)
 404 2010-08-08T20:02:56  <valeuf> ThomasWaldmann: curious, bot on the page you pointed, I againg have the bug: I cannot play the video
 405 2010-08-08T20:03:00  <valeuf> on Chrome
 406 2010-08-08T20:03:05  <valeuf> I click on play, but nothing happen
 407 2010-08-08T20:03:39  <diofeher> hm, here in firefox works nice
 408 2010-08-08T20:04:17  <ThomasWaldmann> August 9:
 409 2010-08-08T20:04:17  <ThomasWaldmann> Suggested 'pencils down' date. Take a week to scrub code, write tests, improve documentation, etc.
 410 2010-08-08T20:04:20  <ThomasWaldmann> August 16:
 411 2010-08-08T20:04:23  <ThomasWaldmann> 19:00 UTC
 412 2010-08-08T20:04:25  <ThomasWaldmann> Firm 'pencils down' date. Mentors, students and organization administrators can begin submitting final evaluations to Google.
 413 2010-08-08T20:04:37  <ThomasWaldmann> is that firm pencils down at 16th new?
 414 2010-08-08T20:04:52  <valeuf> ThomasWaldmann: no
 415 2010-08-08T20:05:06  <valeuf> I had this date on my schedule a long ago
 416 2010-08-08T20:05:21  <valeuf> diofeher: works also in firefox here, but not in Chrome and Opera :S
 417 2010-08-08T20:05:23  <ThomasWaldmann> hmm, looks like I only have seen the 9th somehow.
 418 2010-08-08T20:05:56  <diofeher> how it works "final evaluations"? we have to send diff of our whole code?
 419 2010-08-08T20:06:11  <diofeher> valeuf, :S
 420 2010-08-08T20:06:39  <ThomasWaldmann> the evals will be done by the mentors
 421 2010-08-08T20:06:58  <ThomasWaldmann> but you have to submit all code to google at the end
 422 2010-08-08T20:07:03  <ThomasWaldmann> see their terms
 423 2010-08-08T20:07:10  <CIA-50> Valentin Janiaut <valentin.janiaut@utbm.fr> default * 9459:7b2b8eeefaea 2.0-dev-docbook-html-vjaniaut/MoinMoin/converter2/docbook_in.py: Add support for informal element
 424 2010-08-08T20:07:11  <CIA-50> Valentin Janiaut <valentin.janiaut@utbm.fr> default * 9460:8c962f9ec464 2.0-dev-docbook-html-vjaniaut/MoinMoin/converter2/ (_tests/test_docbook_in.py docbook_in.py): Replace class name db_ by db- for block element for DocBook_IN converter
 425 2010-08-08T20:07:18  <CIA-50> Valentin Janiaut <valentin.janiaut@utbm.fr> default * 9461:bc580f3dca42 2.0-dev-docbook-html-vjaniaut/MoinMoin/converter2/docbook_in.py: Added support for <inlineequation> element for DocBook_IN converter
 426 2010-08-08T20:07:18  <CIA-50> Valentin Janiaut <valentin.janiaut@utbm.fr> default * 9462:f91f2b8ff990 2.0-dev-docbook-html-vjaniaut/MoinMoin/converter2/_tests/test_docbook_in.py: Add more tests for informal elements for DocBook_IN converter
 427 2010-08-08T20:07:18  <CIA-50> Valentin Janiaut <valentin.janiaut@utbm.fr> default * 9463:00b45211764c 2.0-dev-docbook-html-vjaniaut/MoinMoin/converter2/docbook_out.py: Add docstrings, and fix typos in comments for DocBook_OUT converter
 428 2010-08-08T20:07:33  <diofeher> ThomasWaldmann, ok :)
 429 2010-08-08T20:07:44  <diofeher> btw, doesn't work in safari too
 430 2010-08-08T20:08:26  <ThomasWaldmann> dreimark: xorAxAx: eSyr: TheSheep: waldi: ok, looks like we still have a week. mentor meeting after next regular meeting then.
 431 2010-08-08T20:08:51  <valeuf> ThomasWaldmann: anyway, I plan to keep working on DocBook and other stuff for Moin2, whatever the deadline with Google ^ ^
 432 2010-08-08T20:09:15  <ThomasWaldmann> great :)
 433 2010-08-08T20:09:16  <valeuf> ThomasWaldmann: although I will have course, so I won't have much time than now
 434 2010-08-08T20:09:59  <valeuf> ThomasWaldmann: moin2 is going to be really awesome ^ ^, I want to be a part of that
 435 2010-08-08T20:10:37  <ThomasWaldmann> shall we name it moin^2? :D
 436 2010-08-08T20:10:56  <TheSheep> MoinMoinMoin
 437 2010-08-08T20:11:23  <TheSheep> Moin²
 438 2010-08-08T20:11:31  <ThomasWaldmann> wiki = moin^2 :)
 439 2010-08-08T20:11:35  <valeuf> :H
 440 2010-08-08T20:11:58  <valeuf> it would be cool to make some buzz about it
 441 2010-08-08T20:12:21  <TheSheep> Moinu!oW
 442 2010-08-08T20:12:21  <ThomasWaldmann> maybe better after it isn't blowing up that often :D
 443 2010-08-08T20:12:32  <valeuf> :D
 444 2010-08-08T20:13:33  <ThomasWaldmann> waldi: I've seen that the macro call signature in the code isn't matching
 445 2010-08-08T20:13:48  <ThomasWaldmann> shall the macros be adapter to the caller?
 446 2010-08-08T20:13:54  <ThomasWaldmann> adapted*
 447 2010-08-08T20:14:25  <eSyr> i've done little talk titled "Moin2 - the mext generation wiki engine"
 448 2010-08-08T20:14:51  <ThomasWaldmann> ah, you too? :)
 449 2010-08-08T20:15:01  <waldi> ThomasWaldmann: sorry, not sure what you are talking about
 450 2010-08-08T20:15:33  <ThomasWaldmann> waldi: macro2 macros are currently having params like for that intelligent parameter parser from johill
 451 2010-08-08T20:16:02  <ThomasWaldmann> but the caller does call them like macro((), args, alt, is_block) or so
 452 2010-08-08T20:16:49  <ThomasWaldmann> only the "builtin" ones like BR, ToC, etc. work
 453 2010-08-08T20:17:13  <waldi> oh, this code needs to be replaced
 454 2010-08-08T20:17:55  <ThomasWaldmann> which and how? :)
 455 2010-08-08T20:20:19  <waldi> converter2/macro, split into three parts: recursion, converter for newstyle macro, converter for oldstyle macro
 456 2010-08-08T20:21:18  <ThomasWaldmann> well, it already has those 3 parts (in 1 file, but well...)
 457 2010-08-08T20:22:10  <CIA-50> Dmitry Andreev <klieg.polar@gmail.com> default * 9524:114fa1eb8b48 2.0-dev-wiki-rest-dandreev/MoinMoin/converter2/ (moinwiki_out.py rst_out.py): DOM->Moinwiki,DOM->ReStructuredText: remove nonrecursive version of converters
 458 2010-08-08T20:22:12  <CIA-50> Dmitry Andreev <klieg.polar@gmail.com> default * 9525:201eb0fc5a3a 2.0-dev-wiki-rest-dandreev/MoinMoin/converter2/ (6 files in 2 dirs):
 459 2010-08-08T20:22:12  <CIA-50> DOM->Moinwiki, DOM->ReStructuredText: rename recursive versions of converter
 460 2010-08-08T20:22:12  <CIA-50> and delete files with tests of recursive converters
 461 2010-08-08T20:22:15  <waldi> yes, and really hardcoded
 462 2010-08-08T20:22:54  <ThomasWaldmann> DmitryAndreev: and delete files with tests of recursive converters - you mean the non-recursive ones, right?
 463 2010-08-08T20:22:55  <waldi> the final idea was to merge the recursion into one, because it is really expensive
 464 2010-08-08T20:23:37  <ThomasWaldmann> ok, but that is not strictly macro related
 465 2010-08-08T20:25:25  <ThomasWaldmann> so the magic param parser is gone for macro2 and all macro2 macros have to evaluate what they get from the caller?
 466 2010-08-08T20:26:20  <ThomasWaldmann> (mainly param conversion and validation)
 467 2010-08-08T20:27:36  <DmitryAndreev> ThomasWaldmann, the different between files with tests was only in "from <converter_name>[_recursive] import ..." . so i delete file with _recursive, because i've renamed converters
 468 2010-08-08T20:28:34  <waldi> ThomasWaldmann: yes
 469 2010-08-08T20:31:05  <ThomasWaldmann> DmitryAndreev: you did hg rm x ; hg mv x_recursive x ?
 470 2010-08-08T20:31:28  <DmitryAndreev> ThomasWaldmann, yes
 471 2010-08-08T20:31:33  <ThomasWaldmann> ok
 472 2010-08-08T20:32:31  <ThomasWaldmann> waldi: hmm, change that macro stuff now or first think about unifying macros and converters?
 473 2010-08-08T20:36:42  <ThomasWaldmann> (also, i somehow have the feeling that all the compat stuff won't help much for old code, because there a such big changes in all parts of moin so that old code likely won't work anyway)
 474 2010-08-08T20:37:13  <waldi> yep
 475 2010-08-08T20:37:41  <valeuf> bbl dinner time ^ ^
 476 2010-08-08T20:38:28  <ThomasWaldmann> so, do we kill the old_macro, compat formatter, old parser support or shall we keep it for now?
 477 2010-08-08T20:39:41  <waldi> i would say: kill it. it worked but is now mostly untested
 478 2010-08-08T20:41:27  <ThomasWaldmann> and after "moin request" is refactored into wsgi Request/Response and other stuff somewhere else (flaskg?), it is even less propable that some plugin still works
 479 2010-08-08T20:41:34  <ThomasWaldmann> b*
 480 2010-08-08T20:42:32  <ThomasWaldmann> ok, I'll kill it
 481 2010-08-08T21:01:37  * ThomasWaldmann removes converter support for old macros
 482 2010-08-08T21:13:37  <CIA-50> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 9430:27048a18321c 2.0-dev/MoinMoin/converter2/macro.py: macro converter: remove support for old macros, only macro2 style is supported now
 483 2010-08-08T21:41:18  <CIA-50> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 9431:1ec2df5480e7 2.0-dev/MoinMoin/ (14 files in 2 dirs): (log message trimmed)
 484 2010-08-08T21:41:18  <CIA-50> removed old-style macro package + all old style macros
 485 2010-08-08T21:41:18  <CIA-50> Most of them need a rewrite anyway, because they use Page and formatter.
 486 2010-08-08T21:41:18  <CIA-50> Get them from repo history or 1.9 if you want to work on something.
 487 2010-08-08T21:41:18  <CIA-50> Gone:
 488 2010-08-08T21:41:19  <CIA-50> macro/AdvancedSearch.py
 489 2010-08-08T21:41:20  <CIA-50> macro/FullSearch.py
 490 2010-08-08T21:53:20  * ThomasWaldmann kills converter support for old parsers
 491 2010-08-08T21:53:48  <dreimark> re
 492 2010-08-08T22:00:55  <CIA-50> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 9432:088b86f1e3df 2.0-dev/MoinMoin/converter2/compatibility_in.py: compatibility_in converter: removed. no support for old parsers, only converter2 style is supported now
 493 2010-08-08T22:03:21  *** DmitryAndreev_ has joined #moin-dev
 494 2010-08-08T22:03:27  *** DmitryAndreev has quit IRC
 495 2010-08-08T22:03:28  *** DmitryAndreev_ is now known as DmitryAndreev
 496 2010-08-08T22:05:50  <dreimark> eSyr: is there a way to phone ei-grad and ask what's up. I know he has athma
 497 2010-08-08T22:06:02  <dreimark> +s
 498 2010-08-08T22:18:42  <eSyr> dreimark: no, i only has his xmpp.
 499 2010-08-08T22:19:02  <eSyr> But i try to find out his phone number, if it is published.
 500 2010-08-08T22:19:26  <dreimark> thx
 501 2010-08-08T22:22:41  <CIA-50> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 9433:2c733bad3770 2.0-dev/ (2 files in 2 dirs): remove empty parser and plugin macro packages
 502 2010-08-08T22:25:56  *** valeuf has quit IRC
 503 2010-08-08T22:26:18  *** valeuf has joined #moin-dev
 504 2010-08-08T22:27:34  <CIA-50> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 9434:26124fc6e604 2.0-dev/MoinMoin/formatter/compatibility.py: removed formatter.compatibility (not used any more)
 505 2010-08-08T22:32:42  <CIA-50> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 9435:3738a3ba1ce1 2.0-dev/contrib/gettext_parser/gettext.py: removed old-style contrib gettext parser
 506 2010-08-08T22:58:20  <CIA-50> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 9436:88bce76404a6 2.0-dev/MoinMoin/macro2/ (RandomItem.py RandomPage.py): rename macro2.RandomPage to RandomItem
 507 2010-08-08T22:58:22  <CIA-50> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 9437:fb38fa5873fd 2.0-dev/MoinMoin/macro2/RandomItem.py: fixed RandomItem macro
 508 2010-08-08T23:05:01  *** grzywacz has quit IRC
 509 2010-08-08T23:21:04  <CIA-50> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 9438:b07571ac82b3 2.0-dev/MoinMoin/macro2/HighlighterList.py: a simpler HighlighterList new-style macro (lists pygments lexers)
 510 2010-08-08T23:49:06  * ThomasWaldmann tries merging DmitryAndreev's stuff
 511 

MoinMoin: MoinMoinChat/Logs/moin-dev/2010-08-08 (last edited 2010-08-07 22:45:03 by IrcLogImporter)