|IRC Nick||Time (GMT-7)||Message|
|MindCalamity||08:05||taxilian: I made a pull request|
|taxilian||08:05||I'll take a look|
|cshu||09:05||taxilian, I made the 'new obj' work and posted my findings to firebreath-dev. thanks for your help!|
|taxilian||09:05||I just saw that; thanks! Would you mind putting it on firebreath.org somewhere?|
|cshu||09:05||taxilian, I wasn't sure where to put and I found the link to firebreath-dev. Is there a wiki on fire breath.org?|
|taxilian||09:05||yes, it's a wiki
the whole site
|taxilian||09:05||probably make that a sub-page and link to it from there|
taxilian, feel free to help me update the content/wording/format. :)
|taxilian||09:05||I probably will; just looked at it and there isn't much by way of formatting, but it's better htan nothing, so we'll go iwth it 'til I (or someone else) has time to make it look nicer|
|Leonid||09:05||Hello! I have the object which inherits from FB::JSAPIAuto object and it's created when I load a plugin from the chrome tab. When I close the tab, I expect the destructor of my object to be called, but it's actually not. Here is the call stack when my object is created:
npSKDeviceAccess.dll!FB::PluginCore::getRootJSAPI() Line 266 C++ npSKDeviceAccess.dll!FB::Npapi::NpapiPlugin::getScriptableObject() Line 58 C++ npSKDeviceAccess.dll!FB::Npapi::NpapiPlugin::GetValue(NPPVariable variable, void * value) Line 129 C++ npSKDeviceAccess.dll!FB::Npapi::NpapiPluginModule::NPP_GetValue(_NPP * instance, NPPVariable variable, void * value) Line 383 C++
And when I close the tab I see only this call: NPError NpapiPluginModule::NPP_Destroy(NPP instance, NPSavedData** save)
How can I handle the closer of the tab to destroy my object?
|taxilian||09:05||most likely you're inadvertantly creating a circular reference to your JSAPI object somewhere
either that or firebreath has a bug
but probably (hopefully =]) the first
|Leonid||09:05||Thanks, I was thinking in this direction. I will create a dummy JSAPI object which will be empty and see if it resolves the issue.|
out of date ?
no buildex directory
but when i run xcodebuild in build/ .plugin files are not geenrated
though compilation took a good 5-10 minutes
aha link failure
The following build commands failed:
Ld /Users/engin/Code/firebreath-dev/build/projects/FBTestPlugin/FBTestPlugin.build/Debug/FBTestPlugin.build/Objects-normal/i386/FBTestPlugin normal i386
|taxilian||11:05||EnginA buildex is only when you build examples|
|EnginA||11:05||well, i've run ./prepmac.sh examples
and example projects are present in build/
|EnginA||11:05||anyway, any idea on the linking error i've pasted
btw, i'm on 64-bit mac
that shouldn't matter
try building again?
occasionally I've seen similar build issues that are intermittent
|EnginA||11:05||does this look right to you btw http://gyazo.com/532188e0a16721186f1ddb54ff4d5e0d|
|taxilian||11:05||not really; you shouldn't have all of those in the same dir
I'd delete your build dir and rerun
move your project out of the fb tree
|taxilian||11:05||rerun the prep script|
|EnginA||11:05||ok, i'll run ./prepmac.sh examples in a fresh chckut
ok, buildex is now generated
anyone in here?
just lots of very intelligent spam bots
(well, intelligent for a spam bot)
|ajinkya||16:05||have a bunch of questions|
|taxilian||16:05||have you looked for the answers yourself first?
have you looked at the getting started page?
|ajinkya||16:05||yes, went throught all of it|
ask away, I'll help if I'm able
|tonikitoo||19:05||taxilian_away, I am on mac. To add a framework to link against in my project, should I change cmake or xcode?
(maybe I can catch you when you are back
|dougma||20:05||Use cmake. Because rerunning prepmac recreates the xcode project files|