IRC Log Viewer » #firebreath » 2015-02-27

IRC Nick Time (GMT-7) Message
GreenMario 12:02 @taxilian: do you have a design spec or something for 2.0, which I can look at? Before jumping into actual coding, I guess it will be better to see what all components are done, to be done and in what order of priority/complexity. Also Hi. :)
taxilian 13:02 hello
no I don't currently have much of a design spec; I haven't had anyone with time to help so far
GreenMario: currently I'm working on making npapi asynchronous, which involves some other fairly major restructuring of the scripting pieces
GreenMario: currently I'm working on making npapi asynchronous, which involves some other fairly major restructuring of the scripting pieces
the activex stuff will need to be updated the way the npapi stuff has been
GreenMario 14:02 I see. Then I guess it will make more sense to just look at some of the code you've got done so far. Also what are the 2.0 related branch/repo details which I can check out in the meanwhile? I will try to get something moving on ActiveX side in parallel then.
taxilian 14:02 GreenMario: the latest version is in the refactor branch in my github copy of FireBreath: https://github.com/taxilian/FireBreath
the primary changes are:
the primary changes are:
* Refactoring to remove boost in favor of c++11 wherever practical
* Refactoring to remove boost in favor of c++11 wherever practical
* Remove method objects -- may end up adding these back in but only at the browser layer, not in the JSAPI abstraction
* Remove method objects -- may end up adding these back in but only at the browser layer, not in the JSAPI abstraction
* Created a Deferred<T> templated object similar to the Promises/A+ javascript deferred standard
* Created a Deferred<T> templated object similar to the Promises/A+ javascript deferred standard
* Created a Promises/A+ compliant lightweight javascript object which is used for all return values when calling into the plugin from the page
* Updated NPAPI to return a Promise from all calls
GreenMario 14:02 sounds good. I will take a look. any known gotchas about ActiveX side of things that I should know about? Otherwise I will treat it as is.
dev env setup should be whatever it is with VS2013, I am assuming.
taxilian 14:02 ahh, yes, it may require cmake 3 (which doesn't work well with firebreath 1.x currently) but I'm not sure
ahh, yes, it may require cmake 3 (which doesn't work well with firebreath 1.x currently) but I'm not sure
and it does require vs2013
in NPAPI I implemented a custom wrapper around the NPObject that is the deferred object, but in ActiveX it may be easier to allow private accessors of synchronous versions of the methods (as I've already added) and use IDispatchAPI instead; might refactor NPAPI to use NPObjectAPI similarly
not sure
but mainly it should be about the same-ish
GreenMario_away 14:02 got it. enough to start playing around with. thanks Richard
taxilian 14:02 Thanks for being interested in helping; hopefully we can find some good ways for you to be of help, because I sure could use it
Thanks for being interested in helping; hopefully we can find some good ways for you to be of help, because I sure could use it