ardi
2014-07-12 15:48:36 UTC
Hi,
I'm still at 2.9.3 because I still need to support OSX 10.4 Tiger, and
during these years I applied to 2.9.3 all the fixes to bugs that affected
me. It's been completely rock-solid and stable for me during these years.
However, a couple of years ago, I fixed one of its bugs (failure in
conversion between wxString and ISO 8859-1) by applying the normalize.patch
attachment that can be found at http://trac.wxwidgets.org/ticket/13504 and
unfortunately this patch produces a crash on Mavericks.
So, last month I went back to the ticket and realized this normalize.patch
was actually discarded in the real fix of #13504.
Then I unapplied normalize.patch on my 2.9.3 source, and applied (manually
revised) changesets 71918, 72894, and 72895, which seem to be the real fix
for ticket #13504.
After doing that (and also applying changesets 73414 and 74076 for fixing
potential Mavericks crashes), I completely fixed my Mavericks crashes
(however, 73414 and 74076 weren't enough for fixing the crashes, I also had
to unapply normalize.patch and apply 71918, 72894, and 72895).
The bad news is that now the result of (const
char*)dialog.GetPath().mb_str(wxConvISO8859_1) is only a valid C string if
the path has ASCII chars only. If it has international chars (accents,
etc), the resulting string seems to be wrong, as it crashes when passed to
strlen().
So... what has normalize.patch that fixes this, while changesets 71918,
72894, and 72895 don't fully fix it?
I just checked the latest 3.0.1 release and it works fine, so I'm really
missing some changeset here :-\
Thanks a lot for any clue!!
ardi
PS: I know I could use my tuned 2.9.3 with normalize.patch for Tiger, and
the latest 3.0.1 for newer OSX releases. However, my tuned 2.9.3 also has
custom features I added to it (such as multitouch gestures in OpenGL
views), so I'd like to keep using my 2.9.3 source.
I'm still at 2.9.3 because I still need to support OSX 10.4 Tiger, and
during these years I applied to 2.9.3 all the fixes to bugs that affected
me. It's been completely rock-solid and stable for me during these years.
However, a couple of years ago, I fixed one of its bugs (failure in
conversion between wxString and ISO 8859-1) by applying the normalize.patch
attachment that can be found at http://trac.wxwidgets.org/ticket/13504 and
unfortunately this patch produces a crash on Mavericks.
So, last month I went back to the ticket and realized this normalize.patch
was actually discarded in the real fix of #13504.
Then I unapplied normalize.patch on my 2.9.3 source, and applied (manually
revised) changesets 71918, 72894, and 72895, which seem to be the real fix
for ticket #13504.
After doing that (and also applying changesets 73414 and 74076 for fixing
potential Mavericks crashes), I completely fixed my Mavericks crashes
(however, 73414 and 74076 weren't enough for fixing the crashes, I also had
to unapply normalize.patch and apply 71918, 72894, and 72895).
The bad news is that now the result of (const
char*)dialog.GetPath().mb_str(wxConvISO8859_1) is only a valid C string if
the path has ASCII chars only. If it has international chars (accents,
etc), the resulting string seems to be wrong, as it crashes when passed to
strlen().
So... what has normalize.patch that fixes this, while changesets 71918,
72894, and 72895 don't fully fix it?
I just checked the latest 3.0.1 release and it works fine, so I'm really
missing some changeset here :-\
Thanks a lot for any clue!!
ardi
PS: I know I could use my tuned 2.9.3 with normalize.patch for Tiger, and
the latest 3.0.1 for newer OSX releases. However, my tuned 2.9.3 also has
custom features I added to it (such as multitouch gestures in OpenGL
views), so I'd like to keep using my 2.9.3 source.
--
Please read http://www.wxwidgets.org/support/mlhowto.htm before posting.
To unsubscribe, send email to wx-users+***@googlegroups.com
or visit http://groups.google.com/group/wx-users
Please read http://www.wxwidgets.org/support/mlhowto.htm before posting.
To unsubscribe, send email to wx-users+***@googlegroups.com
or visit http://groups.google.com/group/wx-users