1 2010-08-14T00:15:51  <ThomasWaldmann> waldi: valeuf: DmitryAndreev: what do you think about integrating mathml?
   2 2010-08-14T00:16:15  <dreimark> waldi: i am interested in that too
   3 2010-08-14T00:16:17  <ThomasWaldmann> i think input converter for it is rather trivial (just xml parser)
   4 2010-08-14T00:16:44  <dreimark> that solves the latex and following questions
   5 2010-08-14T00:17:05  <ThomasWaldmann> when it is in the dom tree, the converters just need to leave it alone (not descend below math element or at least not touch stuff)
   6 2010-08-14T00:17:45  <ThomasWaldmann> output converter for html5 can then just recreate the mathml xml and browser like ff4 should render it
   7 2010-08-14T00:17:51  <dreimark> that is also a question if it can be left alone without any manipulytion
   8 2010-08-14T00:17:57  <dreimark> s/y/a/
   9 2010-08-14T00:18:09  <ThomasWaldmann> same thing could apply for svg
  10 2010-08-14T00:18:43  <ThomasWaldmann> (it has to be seen if all browsers will do it like that or what happens if not)
  11 2010-08-14T00:18:52  <dreimark> yes, i added today a FR for a get and post url for accessing data or saving too as we discussed before
  12 2010-08-14T00:19:01  <dreimark> (scg-edit)
  13 2010-08-14T00:19:08  <dreimark> s/g/v/
  14 2010-08-14T00:42:27  <dreimark> gn
  15 2010-08-14T09:33:57  <dreimark> diofeher: coverage is implemented in our py.test
  16 2010-08-14T09:53:35  <dreimark> valeuf: http://hg.moinmo.in/moin/2.0-dev/annotate/94a0eceff038/MoinMoin/conftest.py#l33
  17 2010-08-14T09:53:42  <dreimark> what is app ?
  18 2010-08-14T10:21:53  <dreimark> ok
  19 2010-08-14T10:24:46  <dreimark> to get tests running I currently have to set http://paste.pocoo.org/show/250053/
  20 2010-08-14T10:25:00  <dreimark> 111 failed, 1362 passed, 22 skipped, 50 error in 135.95 seconds
  21 2010-08-14T10:31:29  <dreimark> http://moinmo.in/ReimarBauer?action=AttachFile&do=view&target=preliminary_minefield.txt
  22 2010-08-14T10:36:21  <dreimark> some of the tests should be skipped because of removing functions
  23 2010-08-14T10:36:55  <dreimark> e.g. failing tests because of ripped out getText in test_html_out.py
  24 2010-08-14T10:37:45  <dreimark> DmitryAn1reev_: MoinMoin/converter2/_tests/test_mediawiki_in.py ..........F....F..F........
  25 2010-08-14T10:39:33  <dreimark> MoinMoin/converter2/_tests/test_moinwiki_in_out.py ..F..........F..F......FFFFF.F..FF.FFFF.F...F..FFFFF
  26 2010-08-14T10:39:54  <dreimark> :q!
  27 2010-08-14T10:40:58  <dreimark> MoinMoin/converter2/_tests/test_moinwiki_out.py
  28 2010-08-14T11:03:50  *** valeuf has quit IRC
  29 2010-08-14T11:04:54  *** valeuf has joined #moin-dev
  30 2010-08-14T11:09:35  <dreimark> http://paste.pocoo.org/show/250060/ for now
  31 2010-08-14T11:16:40  <CIA-105> Reimar Bauer <rb.proj AT googlemail DOT com> default * 9623:9affb3e2b53a 2.0-dev/MoinMoin/_tests/test_sourcecode.py: test_sourcecode: fixed exclusion for support dir
  32 2010-08-14T11:25:06  <dreimark> diofeher: have you ever run your tests ?
  33 2010-08-14T11:26:09  <dreimark> e.g. AttributeError: 'TestEditBarActions' object has no attribute 'savedValid'
  34 2010-08-14T11:48:12  <ThomasWaldmann> dreimark: every test needing request is currently broken
  35 2010-08-14T11:48:54  <dreimark> yes, but some could work
  36 2010-08-14T11:51:32  <dreimark> I wondered that I have to insert the support path into MoinMoin/__init__.py
  37 2010-08-14T11:52:07  <dreimark> otherwise it can't import from flask
  38 2010-08-14T11:54:14  <ThomasWaldmann> likely some magic that fixed sys.path is called a little too late
  39 2010-08-14T11:58:31  <dreimark> http://moinmo.in/ReimarBauer?action=AttachFile&do=view&target=preliminary_minefield.txt
  40 2010-08-14T11:58:40  <dreimark> there are more working than I expected
  41 2010-08-14T12:07:44  <valeuf> ThomasWaldmann: I think MathML should pretty easy to implement
  42 2010-08-14T12:07:57  <valeuf> tehre is different way to do it
  43 2010-08-14T12:08:41  <valeuf> I thought a little bit about the problem, and I think the best is to use directly MathML xml in our DOM tree (since we are using namespace, it is fine)
  44 2010-08-14T12:09:11  <valeuf> then we can write different converter, for instance to convert LaTeX formulat syntax to MathML (such of tools already exist)
  45 2010-08-14T12:09:46  <valeuf> and also some "out" converter because some format does not support MathML
  46 2010-08-14T12:12:23  <valeuf> dreimark: about the "app" in conftest, it is a good question
  47 2010-08-14T12:12:37  <valeuf> I do not remember what I wanted to do
  48 2010-08-14T12:14:26  <ThomasWaldmann> valeuf: i already have some experimental code in my workdir for mathml/svg in-dom
  49 2010-08-14T12:14:50  <valeuf> ThomasWaldmann: cool
  50 2010-08-14T12:15:53  <ThomasWaldmann> one of the bigger problems with it is currently entity handling
  51 2010-08-14T12:15:59  <valeuf> ThomasWaldmann: hbut if we use MathML, I thiink we really need support for LaTeX formula input with conversion to MathML behind, because it is almost impossible to write formulausing mathML directly!
  52 2010-08-14T12:16:27  <valeuf> ThomasWaldmann: I need to check how entities are working in MathML
  53 2010-08-14T12:16:40  <ThomasWaldmann> we won't do latex from the wiki
  54 2010-08-14T12:17:32  <xorAxAx> ?
  55 2010-08-14T12:17:48  <ThomasWaldmann> they have a lot more entities than html and i couldn't get them working yet
  56 2010-08-14T12:18:01  <valeuf> ThomasWaldmann: why?
  57 2010-08-14T12:18:16  <ThomasWaldmann> it always tells "unrecognized entity..."
  58 2010-08-14T12:19:04  <valeuf> ThomasWaldmann: no I mean why you do want to do latex from the wiki?
  59 2010-08-14T12:19:44  <ThomasWaldmann> http://paste.pocoo.org/show/250075/ current diff
  60 2010-08-14T12:19:56  <ThomasWaldmann> i don't
  61 2010-08-14T12:23:38  <valeuf> for entities I think you need some DTD to support it, but I am not sure EmeraldTree support this
  62 2010-08-14T12:28:37  <ThomasWaldmann> see that diff
  63 2010-08-14T12:29:51  <dreimark> bbl
  64 2010-08-14T12:30:33  <valeuf> ThomasWaldmann: I saw your mathmlentities, but I do not see well how you use it
  65 2010-08-14T12:31:26  <ThomasWaldmann> see that MathMLParser subclass
  66 2010-08-14T12:31:58  <ThomasWaldmann> but it doesn't work, so maybe I'm doing it wrong
  67 2010-08-14T12:32:53  <valeuf> the error message "unrecognized entity" is coming from Emerald Tree, right?
  68 2010-08-14T12:37:20  <ThomasWaldmann> not sure, the strange thing is that in the exception msg, the "text" (of the entity) is missing
  69 2010-08-14T12:37:55  <valeuf> weird
  70 2010-08-14T12:44:47  <valeuf> dreimark: for the mysterious "app" I found again what I did
  71 2010-08-14T12:45:14  <valeuf> dreimark: for thhe test I need the flask app which is define on l.35 in MoinMoin:__init__.py
  72 2010-08-14T12:45:32  <valeuf> so we are usiing the same context than the real MoinMoin app
  73 2010-08-14T13:00:55  *** DmitryAndreev has quit IRC
  74 2010-08-14T13:11:08  <CIA-105> valeuf@valeuf-laptop default * 9635:9422b407ca2a 2.0-dev-docbook-html-vjaniaut/MoinMoin/converter2/docbook_in.py: Fix wrong implementation of inlinemediaobject tag
  75 2010-08-14T13:11:10  <CIA-105> valeuf@valeuf-laptop default * 9636:bebd498db847 2.0-dev-docbook-html-vjaniaut/MoinMoin/converter2/docbook_in.py: Remove debug print statements
  76 2010-08-14T13:12:42  *** DmitryAndreev has joined #moin-dev
  77 2010-08-14T13:21:25  <CIA-105> valeuf@valeuf-laptop default * 9637:6e4d0fa2b0e9 2.0-dev-docbook-html-vjaniaut/MoinMoin/converter2/ (_tests/test_docbook_in.py docbook_in.py): Replace element attribute from span by html:class attribute for docbook_in converter
  78 2010-08-14T16:28:57  <ThomasWaldmann> diofeher: if you continue working on the css (which is overdue since about a week), could you please hide the last-edit info in the print view?
  79 2010-08-14T17:08:34  *** RogerHaase has joined #moin-dev
  80 2010-08-14T17:15:37  <diofeher> dreimark, yes, have run.. but not with coverage
  81 2010-08-14T18:19:26  * ThomasWaldmann wonders about absence of busy SOC work. usually one would expect that students clean up their projects so they are in good shape at the end, but obviously not this year.
  82 2010-08-14T18:27:05  <CIA-105> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 9639:ebb8f4d4312b 2.0-dev/MoinMoin/converter2/ (_tests/test_docbook_in.py docbook_in.py html_out.py): merged moin/2.0-dev-docbook-html-vjaniaut
  83 2010-08-14T19:58:34  <ThomasWaldmann> http://paste.pocoo.org/show/250180/ < current math/svg state, any comments?
  84 2010-08-14T19:58:52  <ThomasWaldmann> (entities still don't work)
  85 2010-08-14T20:54:18  <ThomasWaldmann> hmm, i guess I kill multiconfig now
  86 2010-08-14T21:03:03  *** RogerHaase has quit IRC
  87 2010-08-14T21:05:49  *** RogerHaase has joined #moin-dev
  88 2010-08-14T22:04:16  <dreimark> re
  89 2010-08-14T22:07:29  <dreimark> valeuf: i need my patch http://paste.pocoo.org/show/250060/ to run tests
  90 2010-08-14T22:16:21  <dreimark> ThomasWaldmann: where is the svg version of our logo located?
  91 2010-08-14T22:18:22  <dreimark> ok found http://moinmo.in/ScalableVectorGraphics?action=AttachFile&do=view&target=Moinmoin.svg
  92 2010-08-14T22:22:52  <valeuf> dreimark: hum, you are quite right, actually my patch was working on my computer since I have all the egg needed by MoinMoin
  93 2010-08-14T22:23:09  <valeuf> dreimark: but with your patch you are going to use the support shipped stuffs
  94 2010-08-14T22:23:17  <valeuf> dreimark: but your way is right
  95 2010-08-14T22:23:31  <valeuf> I need to keep in mind for when I will finish packagin
  96 2010-08-14T22:23:45  <valeuf> (oh and by the way, Dresden is really beatuiful city ^ ^)
  97 2010-08-14T22:39:11  <dreimark> valeuf: ok, i investigate why i need to apply the init.py patch, afterwards I push it
  98 2010-08-14T22:43:08  *** RogerHaase has left #moin-dev
  99 2010-08-14T23:41:40  *** ebo^ has quit IRC
 100 2010-08-14T23:42:07  *** ebo^ has joined #moin-dev
 101 2010-08-14T23:57:27  *** ebo^ has quit IRC
 102 

MoinMoin: MoinMoinChat/Logs/moin-dev/2010-08-14 (last edited 2010-08-13 22:45:02 by IrcLogImporter)