On Fri, 7 Sep 2012 19:16:18 +0200 Vincent Torri <vincent.to...@gmail.com> said:
> On Fri, Sep 7, 2012 at 12:12 PM, Enlightenment SVN > <no-re...@enlightenment.org> wrote: > > Log: > > vincent - try this on windows. > > seems to work : i reverted my changes, updated embryo, clean elm, build it : shit! crap. so it was the sign extension that was the problem. or more specifically things like 0xc2 and 0xa0 as a char (signed char) are actually negative values and thus become 0xffffffc2 etc. as ints since isspace and friends use ints. now here comes the issue. i think the linux ones handle these negative values correctly as they "expect" this kind of sign extending stuff coming from chars. and now i think windows doesn't. thus on linux it was skipping the utf8 seq as whitespace, but on windows it thought it was a real symbol/token. my macros simply avoid the sign extending into negative land and thus... make it work on windows. it was a guess based on the feedback you have given me (thanks very much for that - a bit frustrating to have to wait between guesses and poking around to see what's up - but hey - it's done and you did a great job!). nb - embryo didn't change or break in 1.7 - elm added edc src that happened to have such utf8 char seqs that are invisible. i could have taken the easy way and just re-edited that bit of the edc to remove it, but reality is we'd eventually hit this problem again, so we should fix it properly. :) > make[2]: Entering directory `/home/torri/svnroot/elementary/data/themes' > C:/MinGW_PKG/msys/1.0/opt/efl/bin/edje_cc -id ../../data/themes -fd > ../../data/themes \ > ../../data/themes/default.edc \ > ../../data/themes/default.edj > C:/MinGW_PKG/msys/1.0/opt/efl/bin/edje_cc -id ../../data/themes -fd > ../../data/themes \ > ../../data/themes/default-desktop.edc \ > ../../data/themes/default-desktop.edj > make[3]: Entering directory `/home/torri/svnroot/elementary/data/themes' > make[3]: Nothing to be done for `install-exec-am'. > test -z "/opt/efl/share/elementary/themes" || /bin/mkdir -p > "/opt/efl/share/elementary/themes" > /bin/install -c -m 644 default.edj default-desktop.edj > '/opt/efl/share/elementary/themes' > > so no problem, it seems. I execute elm_test (i have to set the engine > to gdi, though. Strange as, iirc, there is something automatic, now). > The window appear. > > thank you > > Vincent -- ------------- Codito, ergo sum - "I code, therefore I am" -------------- The Rasterman (Carsten Haitzler) ras...@rasterman.com ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel