IRC Log Viewer » #firebreath » 2012-03-26

IRC Nick Time (GMT-7) Message
DooZer__ 02:03 hi all
i have one question
what is mean "The C compiler ""/usr/bin/gcc" is not able to complie a simple test program
help me plz
FuzzYspo0N 06:03 ahoy
FuzzYspo0N 07:03 taxilian_away, i had a javascriptCore question for you when you have a moment :)
and aren't away :P
xgbi 07:03 ask away just in case
FuzzYspo0N 07:03 sure, formulating a code paste
so that its not just asking in the wind :)
ok here we go http://pastie.org/private/tkhggesmggf4qmouroj72w
hopefully that explains it enough xgbi
xgbi 07:03 comments are from you?
FuzzYspo0N 07:03 yes
this is my engine
i am adding JSC bindings cos v8 doesn't work on iOS
xgbi 07:03 that's too much for me, I pass :)
I recognize some JSC code but I never dived that deep
FuzzYspo0N 07:03 hehe ok :)
thanks anyway
its just the weirdest thing, when i store and call the function later, even if protected from GC
it crashes
and won't see why
jshanab_wcw 08:03 Good morning. I have a plugin that uses libcurl to pull video data from a client. I was able to turn on https on my server side and have encrypted video which was the goal. But To do things correctly I enable peer verification and this needs a certificates file. I can install that with the plugin but how do i reference that fiel from inside the plugin code? curl requires a non-relative path...
...to the file
FuzzYspo0N 08:03 hey taxilian :)
taxilian 08:03 g'morning
FuzzYspo0N 08:03 how's it going?
taxilian 08:03 fairly busy, but not bad.. you?
FuzzYspo0N 08:03 good! minus the random crash mentioned above, great otherwise :)
hoping to wrap up this iOS port
but this is similar behavior i was seeing and not getting working in spider monkey too
how is the fire breath stuff coming along?
taxilian 08:03 I'll go read through the backlog
FuzzYspo0N 08:03 only really need that paste link i think
xgbi 08:03 http://pastie.org/private/tkhggesmggf4qmouroj72w
FuzzYspo0N 08:03 thanks
i was trying to copy the usage survey link but this client sucks
taxilian 08:03 yeah, I already found it. I use a program called ZNC that keeps me online and stores the backlog while I'm not logged in (also makes me _away) so when I sign in I have everything
FuzzYspo0N 08:03 oh cool
taxilian 08:03 first, jshanab_wcw: I'd probably use the functions in the relatively new SystemHelpers.h file; there is one that'll give you the local appdata path and you can store things there safely
FuzzYspoOn: have you looked at this? https://github.com/firebreath/FireBreath/blob/master/src/WebKitCore/JSObjectRefObject.cpp
FuzzYspo0N 08:03 taking a look now
taxilian 08:03 to be honest, that file is the only development I've done with JavaScriptCore, so if it doesn't give you any ideas I probably don't know. I'm looking through the code, but it's been awhile since I did even that, so I'm not sure I can help much
also useful to look at is https://github.com/firebreath/FireBreath/blob/master/src/WebKitCore/JSObjectRefAPI.cpp
maybe you need to ProtectJSObjectRef instead of just JSValueProtect? I have no diea
FuzzYspo0N 08:03 hmm, that sounds interesting, i don't know whether that exists
taxilian 08:03 oh, n/m
FuzzYspo0N 08:03 since you can use the valueProtect on objectRef too
taxilian 08:03 that's something I implemented
FuzzYspo0N 08:03 apparently
taxilian 08:03 in https://github.com/firebreath/FireBreath/blob/master/src/WebKitCore/WebKitBrowserHost.cpp
… and it just uses JSValueProtect :-P
like I said, it's been a long time since I looked at this
FuzzYspo0N 08:03 cool, yea ill take a look at these, but its such a simple thing, store the value, call it somewhere else
but how is it that it crashes :/
some of this definitely looks helpful for other things i want to do though, thanks
taxilian 08:03 yeah; maybe some of this will give you an idea :-/
sorry I can't help more
FuzzYspo0N 08:03 np :)
this is plenty helpful in other ways
i wonder, is there a channel for JSCore?
jshanab_wcw 08:03 taxilian. I found on the tips and trick pages an overloaded function to getFileSytem. I was trying that now
FuzzYspo0N 08:03 i have been in webkit but they are pretty static
taxilian 08:03 FuzzYspo0N: I doubt it, but who knows? =]
!findfile SystemHelpers.h
FireBreathBot 08:03 Found 1 matching file(s) in the master branch. First 1 are:
taxilian 08:03 jshanab_wcw: those will be useful
FireBreathBot 08:03 src/PluginCore/SystemHelpers.h http://goo.gl/dBpp4
jshanab_wcw 08:03 taxilian. Any framework fundtions for accessing the browser's certificate store ?
just curious
taxilian 08:03 jshanab_wcw: I don't even know if it is possible
jshanab_wcw 08:03 ok, np, I think this will work.
taxilian 08:03 "We're seeing a significant drop in customer complains since we stopped answering our phones"
reichi 08:03 :D
Guest36390 10:03 This is actually a general NPAPI question. I developed a plugin, thanks in on small part to the colonal panic site. I've had it working on FF/Chrome for a while now. I've recently made a new version, new mime-type, dll etc.. FF is working fine but suddenly Chrome has stopped loading the plugin. It show up, it's finding the mime type ok, but it doesn't even seem to get into any of the NP* (Initialize) etc.. functions.
Any know FF/Chrome issues (such as naming convetions or something) between the two that I might be stumbling upon?
jshanab_wcw 10:03 Upeercae/lowercase issues on parameter names? this is actually an IE/FF issue, but since all browser manufactures keep trying to be like the other guy...just a WAG
reichi 10:03 well
the rfc says (iirc) everthing is case sensitive
though some servers do handle that differently
but in general case matters
(not on the domain, but on the rest of the url)
fbfriend 21:03 hello
I am new to firebreath
and have been having issues
dougma 21:03 hello friend
fbfriend 21:03 hi!
so i am on a mac (snow leopard)
and I downloaded firebreath from the site in a zip file and started to follow the video tutorials
but have come to an issue at the ./firebreath/prepmac.sh projects/ build/ part
I keep getting ~/Downloads/build ~/Downloads ./firebreath/prepmac.sh: line 10: cmake: command not found CMake failed. Please check error messages