From: Alexei S. <ale...@gm...> - 2012-07-07 15:42:10
|
Thanks! Landed: https://github.com/cebix/macemu/commit/6f2635ee3128cab12335009dd8a722d6df9fb726 On Sat, Jul 7, 2012 at 5:27 AM, Charles Srstka < bas...@ch...> wrote: > This patch fixes one lingering problem with the 64-bit clipboard code; the > way it was designed, the Mac clipboard was being cleared every time a > single item was being requested by GetScrap, causing clipboards with > multiple items to be unceremoniously whittled down to one. On the other > hand, a similar issue was causing some items to get duplicated on the host > pasteboard. This patch fixes the issue by making conversion between the > host pasteboard and the Mac clipboard a singular operation; when the > pasteboard data changes on the host side, it is all converted and sent to > the Mac pasteboard at once, and similarly, all Mac clipboard data is sent > to the host pasteboard in one operation. Also, data from the host side is > copied to the Mac clipboard only if it has changed since the last check, > which should improve performance as conversions will not be done over and > over every time the Mac side checks whether the scrap has changed. > > In addition, I've added a rudimentary PICT converter. It's rudimentary at > the moment, only going in one direction, converting to PICT and not from > PICT, and currently it always rasterizes the source image and creates a > PICT containing bitmap data. However, it's a start, and it should solve > Ronald's issue with copying images from OS X to Mac OS. In the future, more > could possibly be added. I've put the new PICT code in the main source > directory instead of in the MacOSX subdirectory, so that it can be used by > other platforms if needed. > > I would like to leave the license on the new PICT code as "Public Domain" > if that is okay. > > Thanks, > Charles > > > > > > > > ------------------------------------------------------------------------------ > 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 > > |