IRC Log Viewer » #firebreath » 2011-04-06

IRC Nick Time (GMT-7) Message
neilg_ 07:04 Morning all!
taxilian 08:04 morning
taxilian 09:04 just put this on the mailing list, but if anyone is interested there are RSS feeds for posts on the forum: http://forum.firebreath.org/feeds/topics/ and http://forum.firebreath.org/feeds/topics/posts/
neilg_ 09:04 Awesome. Might need to get a RSS reader after all! ;)
taxilian 09:04 hehe. well, thunderbird and apple mail can both act as RSS readers
I use google reader, but that's only helpful if you remember to check it
I have about 50 feeds that I watch, though
including the npapi and firebreath tags on stackoverflow
slashdot, local news, several bargain sites
various webcomics
FireBreathBot 10:04 JIRA issue http://jira.firebreath.org/browse/FIREBREATH-22 issue resolved by richard "The .rc file is generated from a template located by default in FB_ROOT/gen_templates/
JIRA issue http://jira.firebreath.org/browse/FIREBREATH-22 issue closed by richard
FireBreathBot 11:04 Commit 2e6fe28 on firebreath-1.4 by Richard Bateman: "FIREBREATH-27 Fixed simplestreamhelper to support cache opti..." http://goo.gl/baXSL
Commit 1351c88 on master by Richard Bateman: "FIREBREATH-27 Fixed simplestreamhelper to support cache opti..." http://goo.gl/9Wr4r
JIRA issue http://jira.firebreath.org/browse/FIREBREATH-27 issue resolved by richard
FireBreathBot 12:04 JIRA issue http://jira.firebreath.org/browse/FIREBREATH-28 issue created by noantz
doryz 12:04 Hi, I'd really like to ask for help.
can someone here help me get firebreath going?
I installed it, and started running through the tutorial.
first off the git get's stuck and I had to revent to manual download.
then while running the prep command, it got stuck on the 7zip
anyone here can help ?
FireBreathBot 13:04 Commit c8f5b7c on firebreath-1.4 by Richard Bateman: "FIREBREATH-3 Fixed on NPAPI" http://goo.gl/a7Xy0
Commit 3bd9e38 on master by Richard Bateman: "FIREBREATH-3 Fixed on NPAPI" http://goo.gl/bj5Bi
taxilian 13:04 !findfile NPJavascriptObject
FireBreathBot 13:04 Found 3 matching file(s) in the master branch. First 3 are:
src/NpapiCore/NPJavascriptObject.cpp http://goo.gl/dYXDt
src/NpapiCore/NPJavascriptObject.h http://goo.gl/uyPt5
tests/NpapiCoreTest/NPJavascriptObjectTest.h http://goo.gl/O2PPW
taxilian 13:04 FIREBREATH-3
FireBreathBot 13:04 FIREBREATH-3: Summary: Significant memory leak associated with javascript-mapped plugin function calls that return objects or arrays
FIREBREATH-3: Assigned To: richard
FIREBREATH-3: Priority: Major, Status: Open, http://jira.firebreath.org/browse/FIREBREATH-3
JIRA issue http://jira.firebreath.org/browse/FIREBREATH-3 issue commented by richard "Okay, we found the issue for NPAPI; need to investigate on IE more to see what is happening there."
FireBreathBot 14:04 Commit 6ffa60d on master by Richard Bateman: "FIREBREATH-3 fixed on IE, memory leak fixed" http://goo.gl/563Gf
JIRA issue http://jira.firebreath.org/browse/FIREBREATH-3 issue resolved by richard "So we were chasing different leaks =] the DoDeferredRelease was not being called properly on IE, ..."
taxilian 14:04 sure nice to have FIREBREATH-3 fixed
FireBreathBot 14:04 FIREBREATH-3: Summary: Significant memory leak associated with javascript-mapped plugin function calls that return objects or arrays
FIREBREATH-3: Assigned To: richard
FIREBREATH-3: Priority: Major, Status: Resolved, http://jira.firebreath.org/browse/FIREBREATH-3
taxilian 14:04 nitrogenycs: did you have a patch for RemoveProperty or something that I never got into the code?
FireBreathBot 14:04 JIRA issue http://jira.firebreath.org/browse/FIREBREATH-3 issue commented by gmurphy "Outstanding, I doubt these mistakes were "dumb", firebreath is an ambitious project, such bugs ar..."
JIRA issue http://jira.firebreath.org/browse/FIREBREATH-3 issue commented by gmurphy "btw, quick question, where can I find out more about the binding mechanism used to map the C++ me..."
Commit 26b15c5 on master by Richard Bateman: "FIREBREATH-16 Fixed to check at beginning of function" http://goo.gl/MXccC
sabotaged|wk 14:04 so in the core graphics drawing model the x axis is flipped?
for npapi
taxilian 14:04 sabotaged|wk: I don't think so; look at BasicMediaPlayer and see =]
it draws using CG if specified
neilg_: you here?
sabotaged|wk 14:04 yes it has a commenta bout drawing text
"Flip the text right-side up"
neilg_ 14:04 Just about
:)
sabotaged|wk 14:04 plus i just saw that mentioned on mozilla docs
taxilian 14:04 sabotaged|wk: the text has to be flipped, but the coordinate system is not flipped
neilg_: Is there a reason for sending key events for modifier keys?
neilg_ 14:04 Yes, that's how Windows does it
sabotaged|wk 14:04 why does the text need to be flipped
neilg_ 14:04 (That's the only reason I did that - to be consistent)
And in any case... if you don't send key events for modifier events... Makes it hard to play games with shift keys and so on!
taxilian 15:04 lol. just unusual on Mac, aparently; just wondering
neilg_ 15:04 Really? Seems strange to not do that. :)
sabotaged|wk 15:04 https://wiki.mozilla.org/NPAPI:CoreGraphicsDrawing
"Note: the CG context here is always flipped for historical reasons."
taxilian 15:04 right; flipped vertically (y axis flipped) to make 0,0 top left, I believe
sabotaged|wk 15:04 ok yes that's what i meant
not x axis
nitrogenycs 15:04 taxilian: Yes, I have a semi-finished patch for removeProperty and Construct laying around here. I'll seee what I can do to submit it tomorrow
FireBreathBot 15:04 Commit 7b29843 on firebreath-1.4 by Richard Bateman: "FIREBREATH-16 Fixed to check at beginning of function" http://goo.gl/KK2hT
Commit 659c8fa on firebreath-1.4 by Richard Bateman: "FIREBREATH-3 fixed on IE, memory leak fixed" http://goo.gl/4IjB9
taxilian 15:04 nitrogenycs: could you create a JIRA ticket for it as well (the sooner the better) so I/we don't forget?
also, if you'd like it to go into 1.5 sooner would be better than later; I think I'm about ready to put it into RC
FireBreathBot 15:04 JIRA issue http://jira.firebreath.org/browse/FIREBREATH-16 issue resolved by richard "It still *could* throw an exception in these, but only if the API object goes away mid-function, ..."
sabotaged|wk 15:04 would be nice if firebreath could flip it back somehow. otherwise everyone has to be aware of this npapi specific issue
taxilian 15:04 well, we discussed it at one point, but we decided that it makes more sense to be consistant across platforms
sabotaged|wk 15:04 consistent how? windows draws upside down too??
taxilian 15:04 windows draws from top-left
you can switch it back using:
// Flip the coordinate space.
//CGContextTranslateCTM(cgContext, 0.0, height);CGContextScaleCTM(cgContext, 1.0, -1.0);
bleh. formatted badly, but there you go
it's commented out in BasicMediaPlayer
"upside down" really depends on your perspective; most of what we do with computers, layouts, web pages, etc is all frop top-left
sabotaged|wk 15:04 well if graphics were abstracted the point where you don't care about OS drawing concepts that makes sense to keep it consistent. but since you have to deal with core graphics concepts to draw with the plugin (if you pick that model), it's pretty un-intuitive
taxilian 15:04 sorry
sabotaged|wk 15:04 just my opinion :)
taxilian 15:04 I'm not going to change it just for one drawing model, though =]
in fact, why don't you add that to the FAQ?
that would be good info
sabotaged|wk 15:04 yes i was going to put it somewhere
taxilian 15:04 cool, thx
let me know if that code works; it's aparently untested =]
sabotaged|wk 15:04 weird calling CGContextScaleCTM with that and it doesnt draw
taxilian 15:04 he says to reverse it you might have to give it height*-1
you might need to play with it a bit
the code was designed to move it from the bottom left to top left
FireBreathBot 15:04 JIRA issue http://jira.firebreath.org/browse/FIREBREATH-17 issue updated by richard
FireBreathBot 15:04 Commit 95736e5 on master by Richard Bateman: "Fixed to use cascade eventmap macro" http://goo.gl/GCiiw
starakaj 17:04 hey all
anyone mind fielding a quick questino about firefox 4
sabotaged|wk 17:04 just fire away, i'm sure someone will answer eventually
taxilian 17:04 yeah, whats up?
starakaj 17:04 so what I'm wondering is
we've got a plugin that's been working in firefox 3.6
we've moved to 4 and now the plugin's stopped working
specifically, it seems like the browser calls NPP_Initialize and NPP_New
and gets the plugin happily
then finds something it doesn't like and goes ahead and deletes the plugin
well, calls NPP_Destroy anyway
taxilian 17:04 what OS, what version of FireBreath?
starakaj 17:04 full disclosure, not using firebreath
I'm just wondering if you had this same problem
and if anything might immediately leap out as being at fault
taxilian 17:04 full disclosure: you're working too hard, then ;-)
starakaj 17:04 I know
taxilian 17:04 but the one time I've seen that happen before
is in Chrome, when we had something weird in the drawing model negotiation, I think
starakaj 17:04 hmm
os x 10.6, btw
taxilian 17:04 trying to remember exactly what it was that happened
but it's been awhile
starakaj 17:04 we're not even getting as far as NPP_SetWindow or NPP_GetValue
to get the scripting proxy
taxilian 17:04 I'd have to see your code
is there a reason you're not using FireBreath? generally porting an NPAPI plugin to FireBreath is pretty easy
and you tend to not have problems like this :-P
starakaj 17:04 that may be the next step
no, I strongly suspect that we've just botched something NPAPI related
I think we wrote this plugin back before firebreath existed
or whoever wrote the original version didn't know about it
but I think the solution may just be moving to firebreath
taxilian 17:04 I really would strongly recommend you consider porting it; I actually have a little more time than normal and could be available to do some consulting for you to do the port if you were interested. Unless you have a really heavy (firebreath-like) abstraction already it's probably pretty straightforward
starakaj 17:04 that... might be pretty sweet. I'd have to talk to someone higher up but *I* could certainly use the help
taxilian 17:04 I'm a little more expensive than some, but since I know the system I'm much faster than most
I normally am completely swamped, but I just finished a project 3 weeks ahead of schedule so I have some time
FireBreathBot 17:04 Commit a038ceb on master by Richard Bateman: "FIREBREATH-12 IE lifecycle improved
JIRA issue http://jira.firebreath.org/browse/FIREBREATH-12 issue resolved by richard "When you move the plugin it will invalidate any event handlers that have been attached, but other..."
starakaj 17:04 cool, I can send you an email when I know what's up
taxilian 17:04 okay. [email protected]
in the mean time, I hope you figure it out :-/
does anyone have any suggestions on how to fix FIREBREATH-23? it's more of a windows issue than a plugin issue, and I'm not really familiar with how windows cursors work
FireBreathBot 17:04 FIREBREATH-23: Summary: Plugin doesn't change cursor but stays whatever it was.
FIREBREATH-23: Assigned To: richard
FIREBREATH-23: Priority: Minor, Status: Open, http://jira.firebreath.org/browse/FIREBREATH-23
taxilian 17:04 but it's the last filed bug that I haven't fixed =]
FireBreathBot 17:04 Commit 3c25b00 on master by Richard Bateman: "FIREBREATH-23 added setcursor(pointer) to WM_SETCURSOR" http://goo.gl/9CVdm
Commit ff0ab4e on firebreath-1.4 by Richard Bateman: "FIREBREATH-23 added setcursor(pointer) to WM_SETCURSOR" http://goo.gl/CxeNZ
JIRA issue http://jira.firebreath.org/browse/FIREBREATH-23 issue resolved by richard "Fixed by adding a setcursor to WM_SETCURSOR"
Commit 92c29ea on firebreath-1.4 by Richard Bateman: "FIREBREATH-23 fixed minor bug from WM_SETCURSOR" http://goo.gl/bWLCL
Commit 935ed3c on master by Richard Bateman: "FIREBREATH-23 fixed minor bug from WM_SETCURSOR" http://goo.gl/ZjaQJ
Radicand 20:04 so, question...
so i wrote an extension awhile ago with fb that talked to a usb perhiperal, and all was good
i now installed win x64; do i need to target fb to x64 as well for this, or is having the 64bit device driver enough?