From: Ronald P. R. <ron...@xs...> - 2012-07-04 23:29:14
|
Terrific! OSX 10.6 being the minimum version supported by clip_macosx64.mm should not be a problem for SheepShaver. It does not run well in 64-bit mode on 10.5 anyway. That is why the Info.plist file in SheepShaver sets 10.6 as the minimum system version for Intel 64-bit: <key>LSMinimumSystemVersionByArchitecture</key> <dict> <key>i386</key> <string>10.4.0</string> <key>ppc</key> <string>10.4.0</string> <key>x86_64</key> <string>10.6.0</string> </dict> (I do not know how BasiliskII 64-bit would behave, we have not seen a working 64-bit BasiliskII yet, but I suppose similar would be appropriate.) Ronald. ---------------------------------------- Op 4 juli 2012, om 22:03, schreef Charles Srstka: This patch adds support for international text to Basilisk II / SheepShaver's clipboard support. Text copied on the host side is converted from Unicode to the format that the classic Mac OS Script Manager expects, with localized font variants used if they are available on the emulated system (unfortunately, if a localized font is not available, the text will render incorrectly due to the nature of the Script Manager). When text is copied on the emulated system, the script of the current font is used to determine the encoding of the text, and it is converted to Unicode to be pasted on the host side. This patch supports copying and pasting text containing multiple scripts; for example, "EnglishČesky日本", where ranges (0, 7) and (8, 4) are Roman, (7, 1) is Central European, and (12, 2) is Japanese, can be freely copied and pasted back and forth between the host and emulated platforms, provided that the emulated platform has localized Central European and Japanese fonts installed. In order to get this to work, I rewrote pretty much all of clip_macosx64.mm. The code now completely uses the Cocoa framework rather than CoreFoundation and Pasteboard Manager. Because this API now uses the Mac OS X 10.6+ version of the pasteboard API, the minimum version of OS X supported by clip_macosx64.mm is now 10.6. I think this shouldn't be a problem, since the 32-bit version still exists, but if this version needs to support older releases, let me know and I can add version-check code to do so. One of the benefits of using the modern API, however, is that our rich-text format is no longer hard-coded to the RTF format, which means we have automatic support for any other format used by the OS X pasteboard system, which as of Lion seems to include RTF, UTF-16 text, UTF-8 text, 'ut16'/'ustl', and others, and which may be supplemented by other formats in future releases of OS X. I hope you find this patch useful. Charles <intltext.patch.zip>------------------------------------------------------------------------------ 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/_______________________________________________ basilisk-devel mailing list bas...@li... https://lists.sourceforge.net/lists/listinfo/basilisk-devel |