Re: NSBitmapImageRep scaling/copying issue

2016-04-13 Thread Riccardo Mottola
Hi, Josh Freeman wrote: Hi Riccardo, Ran PRICE 1.3.0 on OS X and saw some discoloration in an image's partially-transparent region after flipping it horizontally. Thanks for taking the time out and giving the tip! The issue seems to be due to mismatched bitmap-formats: Bitmaps

Re: Implementing LaunchServices inside corebase

2016-04-13 Thread Stefan Bidigaray
Yes, I need to start remembering to hit reply to all. On Apr 13, 2016 3:30 PM, "Sergio L. Pascual" wrote: > On Wed, 2016-04-13 at 21:08 +0200, Luboš Doležel wrote: > > LaunchServices absolutely does not belong into CoreBase. > > > > The simplest way to define such a constant is

Re: Implementing LaunchServices inside corebase

2016-04-13 Thread Sergio L. Pascual
On Wed, 2016-04-13 at 21:08 +0200, Luboš Doležel wrote: > LaunchServices absolutely does not belong into CoreBase. > > The simplest way to define such a constant is to use the @"xxx" > syntax > and thus make use of toll-free bridging. > Hi Luboš, Stefan has said the same (off-list). I'll do it

Re: Implementing LaunchServices inside corebase

2016-04-13 Thread Luboš Doležel
Dne 13.4.2016 v 19:38 Sergio L. Pascual napsal(a): > Hi, > > While working on an implementation of LaunchServices, I've noticed that > I need to define a bunch of static CFStringRef objects (like kUTTypeText, > kUTTypeRTF...). > > Looking at corebase sources, those static CFStringRef seem to be

Implementing LaunchServices inside corebase

2016-04-13 Thread Sergio L. Pascual
Hi, While working on an implementation of LaunchServices, I've noticed that I need to define a bunch of static CFStringRef objects (like kUTTypeText,  kUTTypeRTF...). Looking at corebase sources, those static CFStringRef seem to be somewhat special, as they're defined with the CONST_STRING_DECL

[PATCH] gui: add NSLayoutManagerDelegate protocol to NSLayoutManager

2016-04-13 Thread Sergio L. Pascual
Hi, This patch adds the NSLayoutManagerDelegate protocol to NSLayoutManager. The "delegate" property and its accessors are implemented in its parent class, GSLayoutManager, which also already defines the "layoutManager:didCompleteLayoutForTextContainer:atEnd:" delegate method. Sergio.Index: