Send Pro-apps-dev mailing list submissions to
email@hidden
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.apple.com/mailman/listinfo/pro-apps-dev
or, via email, send a message with subject or body 'help' to
email@hidden
You can reach the person managing the list at
email@hidden
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Pro-apps-dev digest..."
Today's Topics:
1. Re: Custom UI parameter in FxGenerator (Paul Schneider)
2. Re: Custom UI parameter in FxGenerator (Darrin Cardani)
3. FCP Apple Event project listing bug (Martin Baker)
4. Re: Custom UI parameter in FxGenerator (Quincey Morris)
5. Valid frameworks (Quincey Morris)
6. Re: FCP Apple Event project listing bug (Helena Ju)
7. Re: Valid frameworks (Paul Schneider)
8. Re: Valid frameworks (Quincey Morris)
9. FCP nested sequence movie (frank)
----------------------------------------------------------------------
Message: 1
Date: Tue, 21 Oct 2008 14:14:38 -0500
From: Paul Schneider <email@hidden>
Subject: Re: Custom UI parameter in FxGenerator
To: Quincey Morris <email@hidden>
Cc: Pro-Apps-Dev <email@hidden>
Message-ID: <email@hidden>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Thanks, Quincey.
Everyone, please file bugs for any problems you find with the FxPlug
documentation and sample code at bugreport.apple.com. Don't assume
that a problem is so obvious that we must already know about it;
duplicate bug reports are easy to screen for, and let us know that
multiple people are being affected by an issue. Reporting issues to
us over email is good, but filing bugs using the website is better.
Emails can easily fall through the cracks, but bug reports go into a
database where they will haunt us forever.
- Paul
On Oct 21, 2008, at 1:59 PM, Quincey Morris wrote:
On Oct 21, 2008, at 09:23, Darrin Cardani wrote:
This sounds like a bug in Motion. It should be working the same as
with a filter. If you could file a bug report, I'd appreciate it.
Done. Filed as #6307617.
Also filed: #6307731, concerning the memory-corruption bug in the
FxFilter template code.
Not filed: report concerning the bug in the FxGenerator template
code, because it appears to be harmless. (It uses [FxBitmap
dataPtrForPositionX:Y:] on bitmaps whose component depth is not 8,
although the documentation says this is not allowed. I guess it
works because X is 0 in this case, so the pointer depends only on Y
and rowBytes. Or maybe the documentation is wrong.)
Not filed: report concerning the FxHostCapabilities documentation,
which appears to say that the 'supportsXXX' methods return NO if
'XXX' is supported.
Not filed: report concerning the FxTimingAPI documentation, which
describes a 'inputTimeForParmId:forEffect:fromTimelineTime:' method
that doesn't exist.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Pro-apps-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
------------------------------
Message: 2
Date: Tue, 21 Oct 2008 12:17:07 -0700
From: Darrin Cardani <email@hidden>
Subject: Re: Custom UI parameter in FxGenerator
To: Quincey Morris <email@hidden>
Cc: email@hidden
Message-ID: <email@hidden>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
On Oct 21, 2008, at 11:59 AM, Quincey Morris wrote:
On Oct 21, 2008, at 09:23, Darrin Cardani wrote:
This sounds like a bug in Motion. It should be working the same as
with a filter. If you could file a bug report, I'd appreciate it.
Done. Filed as #6307617.
Also filed: #6307731, concerning the memory-corruption bug in the
FxFilter template code.
Great! Thanks!
Not filed: report concerning the bug in the FxGenerator template
code, because it appears to be harmless. (It uses [FxBitmap
dataPtrForPositionX:Y:] on bitmaps whose component depth is not 8,
although the documentation says this is not allowed. I guess it
works because X is 0 in this case, so the pointer depends only on Y
and rowBytes. Or maybe the documentation is wrong.)
Not filed: report concerning the FxHostCapabilities documentation,
which appears to say that the 'supportsXXX' methods return NO if
'XXX' is supported.
Not filed: report concerning the FxTimingAPI documentation, which
describes a 'inputTimeForParmId:forEffect:fromTimelineTime:' method
that doesn't exist.
If you'd like these to be fixed, please file them. Otherwise they
won't get fixed.
Darrin
--
Darrin Cardani
email@hidden
------------------------------
Message: 3
Date: Tue, 21 Oct 2008 20:45:58 +0100
From: Martin Baker <email@hidden>
Subject: FCP Apple Event project listing bug
To: Pro-Apps-Dev <email@hidden>
Message-ID:
<email@hidden>
Content-Type: text/plain; charset="us-ascii"
Have just filed a bug for this (6307992) but for anyone else that
might run into this...
Martin Baker
www.digital-heaven.co.uk
www.videospaceonline.com
www.funkycloud.com/lifeshaker
------------------------------------------------------
Digital Heaven Ltd is registered in England and Wales
Company registration number: 3628396
Registered address: 55 Lynwood Drive, Worcester Park, Surrey KT4 7AE
VAT registration number: GB 736 0989 03
=================
Summary:
The FCP Apple Event kFCPGetAllOpenProjects does not return any open
projects beyond any unsaved project created in the application.
Steps to Reproduce:
1. open a project (A)
2. create a new project but do not save it (B)
3. open a third project (C)
4. open a fourth project (D)
5. using the Apple sample code example for FCP Apple Events, request
a list of currently open projects
Expected Results:
All projects except the unsaved project (B) should be returned in the
reply from FCP.
Actual Results:
Only the first project A is returned. Projects C and D are absent.
Regression:
Perfectly consistent. The order of creating an unsaved project and
opening other projects is crucial. If you launch FCP, create a new
unsaved project and then open 10 projects then none of the saved
projects will be listed in the reply. The unsaved project is blocking
any other projects from being listed.
======================
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.apple.com/mailman/private/pro-apps-dev/attachments/20081021/bec96397/attachment.html
------------------------------
Message: 4
Date: Tue, 21 Oct 2008 12:56:09 -0700
From: Quincey Morris <email@hidden>
Subject: Re: Custom UI parameter in FxGenerator
To: email@hidden
Message-ID: <email@hidden>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
On Oct 21, 2008, at 12:14, Paul Schneider wrote:
Everyone, please file bugs for any problems you find with the FxPlug
documentation and sample code at bugreport.apple.com. Don't assume
that a problem is so obvious that we must already know about it;
duplicate bug reports are easy to screen for, and let us know that
multiple people are being affected by an issue. Reporting issues to
us over email is good, but filing bugs using the website is better.
Emails can easily fall through the cracks, but bug reports go into a
database where they will haunt us forever.
Yes, yes, I know. It's just that whining on the list instead is so
much easier, and strangely satisfying.
------------------------------
Message: 5
Date: Tue, 21 Oct 2008 16:18:59 -0700
From: Quincey Morris <email@hidden>
Subject: Valid frameworks
To: email@hidden
Message-ID: <email@hidden>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
I'm a bit confused about which frameworks an FxPlug is allowed to
link
against.
The template Xcode FxPlug projects all import <Foundation/
Foundation.h> in the plug-in header file, suggesting that plug-ins
are
not expected to use AppKit. However, the project itself includes the
AppKit framework -- as a set of headers AND as a framework to link
against in the predefined target.
I'm assuming there's plenty of stuff in AppKit that it's NOT safe to
use (anything to do with NSApplication, for example), but the
question
is what (if anything) is safe to use.
So far, open and save panels seem to work, as does the NSBundle
class.
Views work, for custom UI parameters, and alerts seem to be OK, but
what about additional windows in general? What about bindings? I
would
like to use NSWorkspace, but I've no idea whether it needs support
from the host application or not.
Any guidance about deciding what to use and what avoid would be
welcome.
------------------------------
Message: 6
Date: Tue, 21 Oct 2008 16:34:55 -0700
From: Helena Ju <email@hidden>
Subject: Re: FCP Apple Event project listing bug
To: Martin Baker <email@hidden>
Cc: Pro-Apps-Dev <email@hidden>
Message-ID: <email@hidden>
Content-Type: text/plain; charset="us-ascii"
Thanks Martin!
-Helena
On Oct 21, 2008, at 12:45 PM, Martin Baker wrote:
Have just filed a bug for this (6307992) but for anyone else that
might run into this...
Martin Baker
www.digital-heaven.co.uk
www.videospaceonline.com
www.funkycloud.com/lifeshaker
------------------------------------------------------
Digital Heaven Ltd is registered in England and Wales
Company registration number: 3628396
Registered address: 55 Lynwood Drive, Worcester Park, Surrey KT4 7AE
VAT registration number: GB 736 0989 03
=================
Summary:
The FCP Apple Event kFCPGetAllOpenProjects does not return any open
projects beyond any unsaved project created in the application.
Steps to Reproduce:
1. open a project (A)
2. create a new project but do not save it (B)
3. open a third project (C)
4. open a fourth project (D)
5. using the Apple sample code example for FCP Apple Events, request
a list of currently open projects
Expected Results:
All projects except the unsaved project (B) should be returned in
the reply from FCP.
Actual Results:
Only the first project A is returned. Projects C and D are absent.
Regression:
Perfectly consistent. The order of creating an unsaved project and
opening other projects is crucial. If you launch FCP, create a new
unsaved project and then open 10 projects then none of the saved
projects will be listed in the reply. The unsaved project is
blocking any other projects from being listed.
======================
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Pro-apps-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.apple.com/mailman/private/pro-apps-dev/attachments/20081021/19c316f9/attachment.html
------------------------------
Message: 7
Date: Tue, 21 Oct 2008 18:39:53 -0500
From: Paul Schneider <email@hidden>
Subject: Re: Valid frameworks
To: Quincey Morris <email@hidden>
Cc: Pro-Apps-Dev <email@hidden>
Message-ID: <email@hidden>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Hi Quincey,
That's a bit of a broad question. In general, an FxPlug can link to
whatever it needs to, and many parts of the SDK itself depend on
AppKit (NSViews, NSCoding, etc).
Most, if not all, of the AppKit runtime should be available to you.
For example, the "ScrollingRichText" example in the SDK uses
NSWorkspace. There will be a valid instance of an NSApplication
available to you through [NSApplication sharedApplication], even in
Final Cut (which is sort of a Carbon / Cocoa hybrid).
However, the openness of Cocoa certainly allows you to do some things
which may cause problems. There's nothing to stop you from creating
your own modeless window which hangs out alongside the application
windows, for example. This could confuse the host application, or it
might not, depending on how the host is written and what you do
inside
your window. You could inject your own events into the host
application's event loop, which could certainly cause some confusion,
again depending on the data you feed us.
Unfortunately, there is no list of operations that are guaranteed by
the SDK to work in all versions of all hosts. It's certainly our
intention that FxPlugs have access to as many OS-provided services as
possible. The best thing is probably for you to post exactly what
you'd like to do and how you plan to accomplish it, and let us point
out any possible pitfalls.
- Paul
On Oct 21, 2008, at 6:18 PM, Quincey Morris wrote:
I'm a bit confused about which frameworks an FxPlug is allowed to
link against.
The template Xcode FxPlug projects all import <Foundation/
Foundation.h> in the plug-in header file, suggesting that plug-ins
are not expected to use AppKit. However, the project itself includes
the AppKit framework -- as a set of headers AND as a framework to
link against in the predefined target.
I'm assuming there's plenty of stuff in AppKit that it's NOT safe to
use (anything to do with NSApplication, for example), but the
question is what (if anything) is safe to use.
So far, open and save panels seem to work, as does the NSBundle
class. Views work, for custom UI parameters, and alerts seem to be
OK, but what about additional windows in general? What about
bindings? I would like to use NSWorkspace, but I've no idea whether
it needs support from the host application or not.
Any guidance about deciding what to use and what avoid would be
welcome.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Pro-apps-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
------------------------------
Message: 8
Date: Tue, 21 Oct 2008 17:11:01 -0700
From: Quincey Morris <email@hidden>
Subject: Re: Valid frameworks
To: email@hidden
Message-ID: <email@hidden>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
On Oct 21, 2008, at 16:39, Paul Schneider wrote:
Unfortunately, there is no list of operations that are guaranteed by
the SDK to work in all versions of all hosts. It's certainly our
intention that FxPlugs have access to as many OS-provided services
as possible. The best thing is probably for you to post exactly what
you'd like to do and how you plan to accomplish it, and let us point
out any possible pitfalls.
OK, thanks. I don't mind asking, if you don't mind being asked.
When I file bug reports for those other documentation issues, I'll
add
one asking for clarification regarding the absence of AppKit from the
template header files. Even the most general statement that AppKit is
not forbidden would be helpful, I think.
------------------------------
Message: 9
Date: Wed, 22 Oct 2008 15:39:57 +0100
From: frank <email@hidden>
Subject: FCP nested sequence movie
To: email@hidden
Message-ID: <email@hidden>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Hi list,
I'm developing an FXPlug for FCP in which I would like to process FCP
nested sequences.
Is there a way for me to reference a nested sequence via a QTMovie
pointer or something like that
from within my FXPlug?
I'm currently parsing XML from FCP to get this information t
manually
build the movie to analyse but thought there might be a cleaner way?
Best,
Frank
------------------------------
_______________________________________________
Pro-apps-dev mailing list
email@hidden
http://lists.apple.com/mailman/listinfo/pro-apps-dev
End of Pro-apps-dev Digest, Vol 5, Issue 188
********************************************