mojave, and never going to buy a new Mac
> after this year, when 32-bit code
> is switched off in macOS 10.15? That could be bad news for Apple, or the
> audio community, I'm not sure who.
>
> On Tue, 14 May 2019 at 23:20, Vojtěch Meluzín
> wrote:
>
>> Mainly because of da
Thanks Chris! Interesting read.
Btw. g++ only invokes clang, I suppose it handles some potential argument
transformation.
Cheers!
Vojtech
st 15. 5. 2019 v 1:28 odesílatel Chris Hanson napsal:
> On May 14, 2019, at 8:29 AM, Vojtěch Meluzín
> wrote:
> >
> > Here's the comma
Mainly because of damn ProTools 10... When you combine Avid with it's
incompetence and Apple with horrific compatibility attitude, things get
messy...
Cheers!
Vojtech
st 15. 5. 2019 v 0:16 odesílatel Jens Alfke napsal:
>
>
> On May 14, 2019, at 2:40 PM, Vojtěch Meluzín
> wrote:
&
ery start of any
> code to ensure it’s set everywhere.
>
> If you aren’t building for a 64 bit target, can’t really help you, do
> non-64 bit targets even exist any more and work? It’s been so long since
> Apple did the transition.
>
> On 15 May 2019, at 05:11, Vojtěch
You may be right, apparently this needs to be installed using some package,
at least according to google. Anyways I just found the potential cause -
XCode 10 doesn't support 32-bit apps anymore! So that may be it, since this
stuff is 64-bit only, they probably left the traces there... Oh well,
. 2019 v 22:13 odesílatel Richard Charles
napsal:
> > On May 14, 2019, at 12:02 PM, Vojtěch Meluzín
> wrote:
> >
> > Not really,
>
> Yes really, CarbonSound was depreciated in OS X v10.5. Depreciated does
> not mean that the framework has been removed from current insta
uživatel Richard Charles
napsal:
>
> > On May 14, 2019, at 9:29 AM, Vojtěch Meluzín
> wrote:
> >
> > Hey folks,
> >
> > I have a brand new computer (as well as old one), newest XCode, Mojave
> > (unfortunately!). Compiling carbon.h ends up with this:
> >
Hey folks,
I have a brand new computer (as well as old one), newest XCode, Mojave
(unfortunately!). Compiling carbon.h ends up with this:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/
> NSString creator method.
>
> Assuming things are compatible between C++ and Cocoa methods usually leads
> to bug reports at the very least.
>
> Jack
>
> > On May 25, 2018, at 2:18 PM, Vojtěch Meluzín <meldaproduct...@gmail.com>
> wrote:
> >
> > Ok
-25 22:49 GMT+02:00 Vojtěch Meluzín <meldaproduct...@gmail.com>:
> Thanks for the reply Ken. I don't really know what Zombies instrument is,
> I'll check. The GetLength returns the number of UTF-16 characters (hence
> half of the buffer length), not including zero terminator.
>
&
t; On May 25, 2018, at 5:44 AM, Vojtěch Meluzín <meldaproduct...@gmail.com>
> wrote:
> >
> > I have received a few cases like the trace below - it always happens in
> OSX
> > 10.10 and runModalForWindow and crashes in CFStringDeallocate. Any ideas
> >
Hi,
I have received a few cases like the trace below - it always happens in OSX
10.10 and runModalForWindow and crashes in CFStringDeallocate. Any ideas
what that could be? I have tested 4 computers, with like 6 different OSX
versions, always works here, yet there are machines where this happens
Thanks Sean, will do!
A little comment for the fabulous Steve Mills:
*Says the guy still typing return at the end of every line because that
newfangled automatic wrapping is like some kind of voodoo that you don't
trust because it's not the way you used to do it all for decades, not to
mention
Thanks Mike, i'll probably try. I am reluctant to do that, because api is
api and apple forcing devs to change stuff all the time (wasting our time)
is just sad. Plus i just cannot imagine how it could cause things to be
that bad. And finally people here seem to report general problems... Well
Hi,
I have a custom installer, which places various audio plugins (bundles)
onto the target system and as an uninstaller it removes them. It manages
them the same way as any other folder (containing folders and files). Since
OSX High sierra deleting these files became extremely slow, almost like
Yes, it's a plugin, I don't really think it is relevant.
Cheers!
Vojtech
www.meldaproduction.com
2014-04-28 7:27 GMT+02:00 Kyle Sluder k...@ksluder.com:
On Apr 27, 2014, at 4:58 PM, Vojtěch Meluzín meldaproduct...@gmail.com
wrote:
Hi, I'm experiencing crashes in my app on Mac OS X (fully
Hi, I'm experiencing crashes in my app on Mac OS X (fully updated
Mavericks). It is extremely hard to simulate, seems more or less random.
But it crashes inside OpenGL. I googled it, and it seems I'm not the only
one, but apparently nobody knows what it is. Any ideas?
Thread 0 Crashed::
Hi,
my plugins are accepting keyboard events. When a key event is not handled,
it is forwarded somewhere else like this:
[super keyDown: pEvent]
If that's not done, hosts don't get spacebar for start/stop playback for
example. Unfortunately there's a problem with Logic - when you press
Hi,
I'm using NSOpenGLContext to optimize drawing AU plugins. There are
multiple plugins and each can have multiple instances. So each plugin
creates a global NSOpenGLContext and attach particular NSView contexts to
it, so that the textures do not need do be duplicated.
Problem: When I open one
Hi,
my plugins often display popups. Everything is just fine, except the
message chain goes from the popup's view just to the window itself, so the
host doesn't key keyboard events even if the window doesn't use it. That's
pretty normal, but is a little bit annoying with things like spacebar.
://www.meldaproduction.com
2013/12/18 Paul Davis p...@linuxaudiosystems.com
On Wed, Dec 18, 2013 at 10:43 AM, Vojtěch Meluzín
meldaproduct...@gmail.com wrote:
Hi,
my plugins often display popups. Everything is just fine, except the
message chain goes from the popup's view just to the window itself
it.
Cheers!
Vojtech
2012/12/11 Ken Thomases k...@codeweavers.com
On Dec 11, 2012, at 11:12 AM, Vojtěch Meluzín wrote:
one of the customers reported that on his 10.8.2 our installer failed to
even run and in the terminal there was this message:
LSOpenURLsWithRole() failed with error
Hi,
one of the customers reported that on his 10.8.2 our installer failed to
even run and in the terminal there was this message:
LSOpenURLsWithRole() failed with error -10810 for the file
/Users/visa/Downloads/mxxx_7_05_setupmac/mxxx_7_05_setupmac.app.
I have checked that there is no call to
Hi,
I'm performing my own graphics rendering using background images, which are
then placed onto the resulting Carbon/Cocoa view. I can perform the whole
rendering manually (by accessing the image data), but for some reason this
seems quite slow compared to the same thing on Windows (probably the
Hi,
I need to create and manipulate an image, which I could access directly
from memory and at the same time be able to use system drawing functions
for optimization. On Windows I can create a memory bitmap, but it seems it
is on possible on Mac, or is it? Note that I don't want to do any
Hi,
I'm trying to make x64 work on XCode 4 Mac OS 10.7, but whenever I use a
system constant, such as kCFAllocatorDefault, I get this linker error (on
x86 it works fine):
ld: warning: PIE disabled. Absolute addressing (perhaps -mdynamic-no-pic)
not allowed in code signed PIE, but used in
Hi,
I just moved to Lion and its new XCode 4. I'm calling the compiler
directly, so no XCode processing. I basically cloned the way XCode uses the
compiler. For x86 everything works just fine, in fact CLANG seems to have
the same options as GCC used before. But with x64 it ends up with weird
...@codeweavers.com
On Jun 4, 2012, at 6:39 PM, Jens Alfke wrote:
On Jun 4, 2012, at 3:58 PM, Vojtěch Meluzín wrote:
But I want to generate builds for
10.5 SDK, but using the new GCC. XCode 4 installer created SDKs for 10.6
and 10.7, how can I get the 10.5 SDK?
You'll need to build
Hi,
I just upgraded to Lion and XCode 4, because the previous version of GCC
distributed with XCode 3 was just buggy. But I want to generate builds for
10.5 SDK, but using the new GCC. XCode 4 installer created SDKs for 10.6
and 10.7, how can I get the 10.5 SDK? And is it even possible to use it
Hi,
I have a problem in an AudioUnit plugin with NSView GUI - it takes the
keyboard routines to get info about keys being pressed. But there actually
2 crazy cases in different hosts :
1) in Logic it blocks the spacebar - I need when user presses spacebar to
let logic know about that, not use it
No you don't understand me, it will be called with mouse down, it's just
there is some internal cross-platform event management system and I think
it could be called outside mouseDown.
Vojtech
Dne 11. prosince 2011 1:44 Kyle Sluder kyle.slu...@gmail.com napsal(a):
2011/12/10 Vojtěch Meluzín
I need to initiate a simple drag drop operation for a single filename,
but it will not be called within NSView mouseDown, but shortly afterwards
(internal reasons).
What does “shortly afterwards” mean, exactly? Assuming you returned from
the -mouseDown: method, what are you starting the
Hi,
I have a really weird problem - in AudioUnits the Cocoa GUI is available
like this - host asks the plugin for information about the objc class that
creates the GUI, creates the object, asks it to create the GUI. But on some
computers the GUI just don't show up, or even weirder it does NOT
No ideas??
Dne 7. prosince 2011 21:29 Vojtěch Meluzín meldaproduct...@gmail.comnapsal(a):
Hi,
I need to initiate a simple drag drop operation for a single filename,
but it will not be called within NSView mouseDown, but shortly afterwards
(internal reasons). The mouse button will still
Hi,
I need to initiate a simple drag drop operation for a single filename,
but it will not be called within NSView mouseDown, but shortly afterwards
(internal reasons). The mouse button will still be pressed, but the
mouseDown even will already be finished. How to do this?
Regards
Vojtech
Hi,
I'm using BSD sockets for some internet access, it works fine. But if there
is no connection available, it waits for say 30 seconds completely stopping
the application. Is there a way to determine if there is actually an
internet connection, so that I can check before using sockets?
Thanks,
deactivated. How to do that? Do I need to write my own event loops?
Vojtech
Dne 3. listopadu 2011 2:03 Conrad Shultz
con...@synthetiqsolutions.comnapsal(a):
On 11/2/11 5:46 PM, Vojtěch Meluzín wrote:
Ok, folks please forget about the intentions, if they are bad, they will
be
badly rewarded
(a):
On Nov 3, 2011, at 9:58 AM, Vojtěch Meluzín wrote:
Thanks. Ok, let's say I'm ok with not making it modal. All I need is
that
when I show the window, the method that does that must return after the
window has closed.
Well, that's modal unless you write your own event loop, which
Hi,
I'm having a window with just a single custom view in it. The window is
resizable and when resized I need the view to be redrawed. But when
dragging the corner and resizing the window, OS first fills the window with
white, then paints the previous image left bottom and finally asks the view
What you’re seeing is definitely not normal behavior. Either it’s an
artifact of the unusual way your app is structured (is this happening
within that modal panel?), or you’re doing something unusual when drawing
your view. How are you doing the drawing? You should just need to override
, 2011, at 1:39 PM, Vojtěch Meluzín wrote:
It is then used to get CGContextRef for drawing.
What does that mean, exactly? Does anything draw into the view except
during the -drawRect: method?
—Jens
___
Cocoa-dev mailing list (Cocoa-dev
Hi,
I'm using modal windows using runModalForWindow and I'd like to implement
probably a slightly untypical thing - when a user clicks outside of the
window, it gets closed, like he clicked cancel button or something. The
idea is that this would simulate a popup menu. I know it's not exactly
I'm using modal windows using runModalForWindow and I'd like to implement
probably a slightly untypical thing - when a user clicks outside of the
window, it gets closed, like he clicked cancel button or something. The
idea is that this would simulate a popup menu. I know it's not exactly
This is just a special case. In basically all platforms so far it was
quite
easy to find a simple way to detect, when user clicks outside of the
window, so in case particular window should be a menu, then I could
just
close it on user click outside (or OS did that automatically). Minimum
Damn, Jens you were right! It's my fault. Sorry for the problems.
Vojtech
Dne 2. listopadu 2011 23:36 Vojtěch Meluzín
meldaproduct...@gmail.comnapsal(a):
No no, just during the drawRect. I was just explaining how the drawing is
done, just in case it matters. The reason is that CGContextRef
:25 PM, Vojtěch Meluzín wrote:
...all I found was a classical popup menu with set of items, but in my
case
the menus may be much more complicated...
What version of OS X? Almost sounds like you're describing a popover, as
in Lion. But still, the comments pointing you back toward Mac UI
Hi,
I'm using NSApp runModalForWindow to display a modal window, but it appears
in background. Also as a response to some action in the window there may be
additional modal window shown, so kind of a nested runModalForWindow. In
that case the new window, which should be in front doesn't appear in
-Window];
Thanks, Vojtech
Dne 1. listopadu 2011 5:27 Jens Alfke j...@mooseyard.com napsal(a):
On Oct 31, 2011, at 6:00 PM, Vojtěch Meluzín wrote:
I tried using runModalForWindow, but found following problems:
1) The method seems to release the window or something. If I don't call
[NSWindow
On the other hand now
runModalForWindow
increases retainCount! Why is that? It makes no sense to me.
Why wouldn't it? Why would NSApp not retain the window that it's running
modally???
Why would it? It's AFTER the runModalForWindow ends, so the window is not
used anymore, is it?
Thanks Jens.
On the other hand now runModalForWindow increases retainCount! Why is that?
It makes no sense to me.
It’s probably being retained and then autoreleased by AppKit. Don’t pay
any attention to retainCount, it’s generally not useful for detecting
memory issues.
However, note that
11:41 AM, Vojtěch Meluzín meldaproduct...@gmail.com
wrote:
But the retainCount is needed for successful release of the window, right?
I allocate the window and then deallocate it when I'm finished with it.
But
runModalForWindow increases retainCount to 2, so when I release it, it's
actually
I'm using my own styles. It may be no according to HI guidelines, but to
be
honest, I don't care. The app/plugin should look the same on all
platforms.
That is up to you, but be warned that the Apple userbase in general is
negatively reactive to interfaces that feel non-native.
Preston
I don't really know C++, so there is some generalization here. Since
you are returning a retained NSString, presumably inside your function
are you are doing something like:
return [[NSString alloc] initWithCString:stringFromCPlusPlusMethod
encoding:someEncoding];
To return an
?
Vojtech
Dne 1. listopadu 2011 21:06 Vojtěch Meluzín
meldaproduct...@gmail.comnapsal(a):
I don't really know C++, so there is some generalization here. Since
you are returning a retained NSString, presumably inside your function
are you are doing something like:
return [[NSString alloc
, both return true) and the cursor cannot be changed.
Any ideas?
Thanks.
Vojtech
Dne 1. listopadu 2011 22:58 Jens Alfke j...@mooseyard.com napsal(a):
On Nov 1, 2011, at 11:41 AM, Vojtěch Meluzín wrote:
Yaj, ok, can you explain a little more? I don't know much about Objective
C, how should
Ok, so even the keyboard input is related to the console application. With
normal bundled Cocoa app it works. Cursors are still missing though.
Anyway a good thing to remember: don't use console app to test GUI stuff :).
Vojtech
Dne 2. listopadu 2011 0:46 Vojtěch Meluzín meldaproduct
Hi,
I'm implementing audio-units plugin(s) using Cocoa views. The plugin
occasionally shows a popup window and it is also possible that additional
popups will be shown from the first one. In all cases it's needed to avoid
all GUI processing of the plugin host and the main window, except for
Hi folks,
thanks for your answers and sorry for the delay. Anyway here's the stack
trace:
#00x7fff862cff10 in objc_msgSend
#10x7fff80341206 in _CFAutoreleasePoolPop
#20x7fff8a401200 in -[NSAutoreleasePool drain]
#30x7fff8687fe35 in -[NSApplication _realDoModalLoop:peek:]
#4
Hi folks,
I'm implementing a crossplatform (not-only GUI) library, where everything is
drawn internally to an RGBA bitmap and then just copied to screen. On
Windows it works like charm especially since there is a support for
in-memory bitmaps. But I don't see such a feature on Mac. I ended up
Hi,
I'm creating a GUI system for AU/VST plugins. The host creates the view and
the rest is based of modal windows, so I'm using NSApp runModalForWindow for
that. But there are a few problems:
1) NSApp runModalForWindow does not activate the window. Right now I'm
testing it as an application not
60 matches
Mail list logo