On 05/11/2013 07:11 AM, Abdelrazak Younes wrote:
On Sat, May 11, 2013 at 12:03 PM, Abdelrazak Younes <you...@lyx.org
<mailto:you...@lyx.org>> wrote:
On Sat, May 11, 2013 at 8:40 AM, Pavel Sanda <sa...@lyx.org
<mailto:sa...@lyx.org>> wrote:
Abdelrazak Younes wrote:
> I will discuss that face2face during the meeting.
You should bring mirror then, no one else in this thread is in
Milano.
Anyway it's too late, Richard already barricaded in
underground garage of his
house and won't show until 378 patches implementing xml is
done as I infer
from the last testament.
I just discussed with Lars. He agrees that using Qt is a good
option... what a shock ! :-)
Vincent and JMarc don't care what we use.
I am talking about QXmlStreamReader and (as a second step)
QXmlStreamWriter. Our lexer class can just use QXmlStreamReader
internally, we don't have to spread the use of this call all other
the place.
So Richard, let's use a new "feature" repo for that. This is
agreed with Lars, Vincent and JMarc. Then we would create an "xml"
branch in that repo.
Lars and Vincent are setting this up right now :-)
So now it is set up, look (and check) at the documentation here:
http://wiki.lyx.org/Devel/LyXGit
I have erased all old branches because we want only feature branches
based on "master".
I just created "xml" branch in there.
Richard, I guess you are still sleeping so I hope you agree with all
that. My goal is that we collaborate on the XML support using this
shared branch and repo.
This is all fine with me. I'll look at the feature branch business
probably tomorrow. Busy today.
My intention was to work on writing a LyX file first, to try to
stabilize the format, and then work on reading it.
As far as the Lexer goes, is the proposal to add some XML methods that
will be implemented using QXmlStreamReader? If so, I'm not sure I see
the advantage of adding them to the Lexer, as opposed to creating a new
class for reading XML files.
Is the suggestion then also to write some sort of wrapper for
QXmlStreamWriter rather than to use its methods directly?
While we're at this, I note that QXmlStream* wants a QIoDevice on which
to operate, probably a QFile in our case. Any idea about how that should
be handled? What about zipped files?
Richard