DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR Pending]

Link: http://www.fltk.org/str.php?L2472
Version: 1.3-current
Fix Version: 1.3.0 (r8000)


I did some testing, and now it looks as if almost all is well. I won't be
able to test more and/or look at the code myself today, but probably
tomorrow...

The CR stripping seems to work on both platforms correctly.

Linux:

I could not test extensively on Linux yet, but first tests seem to
indicate that the problems are gone. The CR-stripping function is clearly
suboptimal (using memmove() this way scales O(n**2)). The Windows
stripping function looks much better (performance-wise).

Windows:

There's still one problem I could replicate and test on Windows 7. We seem
to send the wrong text type, and applications that expect cp1252 ("Ansi")
encoding don't convert the text correctly. Drag text from FLTK's
test/editor (cp1252_utf-8.txt) to either wordpad or notepad++. The latter
works correctly if the current encoding is "UTF-8", but fails when it is
"Ansi", whereas Wordpad always fails. Cut'n'paste works correctly in all
cases, it's only drag'n'drop that fails.

Note that drag'n'drop works flawlessly if I use firefox with the new test
files misc/cp1252*.html (both encodings) and notepad++ with
misc/cp1252*.txt (also both encodings). Again, Windows 7, drop target
wordpad.


Link: http://www.fltk.org/str.php?L2472
Version: 1.3-current
Fix Version: 1.3.0 (r8000)

_______________________________________________
fltk-bugs mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-bugs

Reply via email to