Gabriel M. Beddingfield wrote: > Sebastian Moors wrote: >> the QtXml port is almost finished and everyone who is interested in >> testing it is welcome to do so :) I've tested it a bit this evening and > > Looks good! Almost makes the text_encodings branch obsolete. :-) > >> i found just one bug: The drumset that gets loaded on startup is not >> constructed correctly. The samples are shifted so that the sample >> corresponding to the 2. instrument is now the sample for the first >> instrument. Workaround: Reload the kit.. I'll have a closer look at >> the end of this week at this issue! > > I see this, too. Actually, any song you load will have the sounds > loaded wrong. Looks like an off-by-one thing. > > I also had some other minor issues: > > * File -> Open Recent... does not persist. When I close Hydrogen and > reload, it does not show me anything. Ok, i'll check this.. > > * When loading files, the branch seems to trigger Hollunder's Bug more > often. (How do you like that, Philipp? I'm starting to name the > bug after you. :-)) This is the one where you get "Jack Driver > Shutdown" > when loading a song. Hm, that's bad. A lot of people seem to have this issue also with rc1 :-/
> > * What do we do if we run in to a file that has TinyXML's pseudo-UTF-8? > (See attached.) For more on this, see below. > > While Hydrogen usually ASCII-ized non-ASCII strings to "?????," there > may be some verson out there that passed on UTF-8 to TiXml. I believe > this is the case because Alexandre said that someone did it (or > something like it). However, when I loaded 0.9.3 from Ubuntu, I > couldn't get it to save anything non-ascii. > > For the psudo-UTF-8 thing, I have a proposal for handling this: > > (a) Configure QtXml to *always* write an XML prolog with the > text encoding. This usually looks something like this: > > <?xml version="1.0" encoding="UTF-8"?> > > (b) When loading the file, detect whether or not it has the > prolog. If it has an XML prolog, treat it like an XML > file. > > (c) If the XML prolog is missing, treat it in "TiXml > Compatibility mode." This means that we need to transcode > TiXml's encoding to real Unicode. > > There's a couple ways to handle TiXml's encoding. We can either > create a QTextCodec for this case, or we can try to handle it > manually. Either way, if you handle the detection and set the stage > for fixing the strings -- I can write the code to fix the encoding. > (But, if you're looking for some phun -- feel free to tackle it and I > can help out if you get in a jam. :-)) Thanks, i'm going to implement the xml prolog the next time when i'm working on QtXml :) Hydrogen 0.9.4 crashed the last time when i loaded a file which was written with QtXml, but i have to debug this a little bit more, it was late that evening and i don't remember what excatly happened.. - Sebastian > > Peace, > Gabriel > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > Crystal Reports - New Free Runtime and 30 Day Trial > Check out the new simplified licensign option that enables unlimited > royalty-free distribution of the report engine for externally facing > server and web deployment. > http://p.sf.net/sfu/businessobjects > ------------------------------------------------------------------------ > > _______________________________________________ > Hydrogen-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/hydrogen-devel > ------------------------------------------------------------------------------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf _______________________________________________ Hydrogen-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/hydrogen-devel
