IRC Log Viewer » #firebreath » 2011-01-03

IRC Nick Time (GMT-7) Message
Jamil 03:01 nitrogenycs:only to let you know that we used the xmlhttprequest to post base64 to the server and it is working well. thx to suggest that
nitrogenycs 03:01 Jamil: :) great, thanks for letting me know
Jamil 03:01 next step now is to build the msi using wix
can you answer my questions about that?
nitrogenycs 03:01 no, I am not using wix myself at this time
my installer uses InnoSetup
but that one doesn't generate msi files (which taxilian found to work best)
Jamil 03:01 yesterday I chat with jshanab_wcw, he helped me but I am still having problems
nitrogenycs 03:01 for me it worked well enough so far, but then again I haven't tested on very many machines yet
Jamil 03:01 ok
is jshanab_wcw here?
Jamil 03:01 nitrogenycs:do you have a sample of InnoSetp script to build a plugin setup (with the Com registration) ?
taxilian 05:01 Jamil: what problems are you having?
FB_GitHubBot 05:01 FireBreath: firebreath-1.4 Richard Bateman * 3451979 (1 files in 1 dirs): Added optional subrepositories to .gitignore
FireBreath: firebreath-1.4 Richard Bateman * 343cd66 (1 files in 1 dirs): Added FB::variant support for enums and types convertable to int (that aren't)
FireBreath: firebreath-1.4 Richard Bateman * 30b972b (19 files in 4 dirs): Added FB_FORWARD_PTR, cleanup applying boost::noncopyable
FireBreath: firebreath-1.4 commits 617846e...30b972b - http://bit.ly/g0pLYc
FireBreath: firebreath-1.4 Richard Bateman * 5b7eaf4 (4 files in 4 dirs): Merge branch 'master' of github.com:firebreath/FireBreath into firebreath-1.4 - http://bit.ly/hlKTwG
FireBreath: master Richard Bateman * 617846e (2 files in 2 dirs): Added experimental support for optional parameters ...
FireBreath: master Richard Bateman * 3451979 (1 files in 1 dirs): Added optional subrepositories to .gitignore
FireBreath: master Richard Bateman * 343cd66 (1 files in 1 dirs): Added FB::variant support for enums and types convertable to int (that aren't)
FireBreath: master Richard Bateman * 30b972b (19 files in 4 dirs): Added FB_FORWARD_PTR, cleanup applying boost::noncopyable
FireBreath: master Richard Bateman * 5b7eaf4 (4 files in 4 dirs): Merge branch 'master' of github.com:firebreath/FireBreath into firebreath-1.4
FireBreath: master commits cb4c560...5b7eaf4 - http://bit.ly/i6CSeA
FB_GitHubBot 06:01 FireBreath: firebreath-1.4 Richard Bateman * 637a928 (5 files in 3 dirs): Fixed include errors - http://bit.ly/eiFREc
FireBreath: master Richard Bateman * 637a928 (5 files in 3 dirs): Fixed include errors - http://bit.ly/eiFREc
Jamil 08:01 Hi, I have wix question please
taxilian 08:01 hey
go for it
we'll see if we can help
Jamil 09:01 I have an error when creating the msi even the file is created well
error LGHT0204: ICE38: Component cmpE732B0CF6AD18B2592429F743A9B4367 installs to user profile. It must use a registry key under HKCU as its KeyPath, not a file.
when run the msi I have the dll created into Roaming and the coponent added to the installed programs but the dll is not registered
note that the BasicMediaPlayer is working well !!!
taxilian 09:01 you are creating your MSI using FireBreath, not using wix directly, correct?
Jamil 09:01 correct
how you register the dll? is the error I have related to the non registering of the dll?
taxilian 09:01 can you use fpaste.org (or similar) and send me your .wxs file?
should not be
wait… what version of visual studio are you using?
Jamil 09:01 2010
taxilian 09:01 ok. sned me your .wxs file
Jamil 09:01 by email?
taxilian 09:01 use http://fpaste.org
Jamil 09:01 http://pastebin.com/pKFeVe9U
taxilian 09:01 that works
Jamil 09:01 nop
msi created
but dll not registered
taxilian 09:01 where is this file located?
Jamil 09:01 in generated under WIX project
I will paste the source
taxilian 09:01 thanks
Jamil 09:01 http://pastebin.com/YPDUzhBU
in generated I have this npXXX.wxs
the one into BasicMedia is different with more lines...is it related to error
this is mine
http://pastebin.com/3EKJZ9zN
taxilian 09:01 what version of FireBreath are you using?
Jamil 09:01 1.3
because 1.4 can't create the WIX project
taxilian 09:01 when you run regsvr32 on the dll manually, does it succeed?
Jamil 09:01 sure
working well
taxilian 09:01 hmm. well, the problem appears to be that heat either isn't running or is failing somehow
have you modified FireBreath in any way?
Jamil 09:01 yes I added openssl into libs folder and I am using it into my dll code
I added add_firebreath_library(openssl) to PluginConfig.cmake to support openssl
is this related?
but I did (for test) the same openSSL to basicMedia and it is still working
taxilian 09:01 would not expect so, no
is openssl working for you, then? you're the only one using it besides me, AFAIK =]
Jamil 09:01 Yes working well...I am encrypted data before sending it to the server
taxilian 09:01 hmm. I really don't know; the XML that is missing in your file (the one with PluginDLLGroup in it) should be generated by heat.exe during the build, which basically does a regsvr32 and watches the output
are you using vs express edition?
hmm. but if it were the express edition thing it wouldn't work for basicmediaplayer
Jamil 09:01 no
taxilian 09:01 not a clue. that's weird
I'd look at the buildlog and see if there is any output from heat that could help
Jamil 09:01 I am on professional
error LGHT0204: ICE38: Component wacom installs to user profile. It must use a registry key under HKCU as its KeyPath, not a file.
error LGHT0204: ICE38: Component cmpE732B0CF6AD18B2592429F743A9B4367 installs to user profile. It must use a registry key under HKCU as its KeyPath, not a file.
only these two errrors on VS
you mean the buildlog of cmake?
taxilian 09:01 no
heat.exe runs before that
it would be before light.exe runs
you might need to rebuild the WiXInstaller project
Jamil 09:01 yes I am doing
2 warnings
heat.exe : warning HEAT1108: The command line switch 't:' is deprecated. Please use 't' instead.
heat.exe : warning HEAT5150: Could not harvest data from a file that was expected to be a SelfReg DLL: E:\INK------------------\firebreath-1.3\mybuild\bin\STUSignature\Release\npSTUSignature.dll. If this file does not support SelfReg you can ignore this warning. Otherwise, this error detail may be helpful to diagnose the failure: Unable to load file: E:\INK------------------\firebreath-1.3\mybuild\bin\STUSignature\Release\npSTUSi
mmm related to register, no?
taxilian 09:01 yes
for some reason, DllRegisterServer isn't working right
are there any extra DLLs required for your plugin to load?
Jamil 09:01 yes 4
taxilian 09:01 are they located in the same directory as your plugin dll?
when it builds?
Jamil 09:01 no
in a different folder
taxilian 09:01 that's probably it, then; when heat runs it can't load the DLL
do the register fails
Jamil 09:01 I have dlls in Win32\dlls
taxilian 09:01 you'll probably need to copy them into the binary directory
Jamil 09:01 manualy, right?
taxilian 09:01 in cmake, that is ${BIN_DIR}/${PLUGIN_NAME}/${CMAKE_CFG_INTDIR}/
you can set up a post-build rule for your plugin to do that
jshanab_wcw / jshanab / jshanab_ might have an example, if he's around
Jamil 09:01 he gave me it yesterday
I did today but to another folder
jshanab_wcw 09:01 morning
Jamil 09:01 I will correct it
taxilian 09:01 morning =] btw, thank for helping out yesterday; it's always good to see others that are willing to help, particularly when I'm not around =]
jshanab_wcw 09:01 My pleasure
Jamil 09:01 yes thanks for jshanab_wcw...it was very useful and I did what he said and it works...but I had the register problem...sound taxilian found it
so can you confirm jshanab_wcw
taxilian 09:01 I'm surprised that your regsvr32 worked; that should follow the same rules
Jamil 09:01 no, my regsvr32 worked on another folder when I put all...sorry
I can see it now
great
I copied dlls using ${BIN_DIR}/${PLUGIN_NAME}/${CMAKE_CFG_INTDIR}/
taxilian 09:01 jshanab: btw, if you're seriously still using 1.2.2, btw, you really ought to upgrade =]
Jamil 09:01 and now heat.exe has one one warning and the msi created and the dll registered
taxilian 09:01 one of these days I'll figure out what the new syntax is to make that warning go away
but it works for now
Jamil 09:01 yes
taxilian: I post my base64 data to the server using xmlHttpRequest and it works well...and my actual plugin version is almost done now
taxilian 10:01 excelent; are you doing that using a js library helper or directly from the plugin using JSObjects?
Jamil 10:01 I used jquery js lib
taxilian 10:01 ok
Jamil 10:01 one last question I will work on it tomorrow: is there any recommendation to clean the c++ code? is firebreath do the jos of all created object?what about the object I created?
job
taxilian 10:01 jos? not sure I understand
if you have the source visible somewhere I could glance over things real quick, but not sure how else to answer your question...
have you seen this page? http://www.firebreath.org/display/documentation/Best+Practices
it's still in early stages...
Jamil 10:01 let me prepare that tomorrow and we will sure discuss that...thank you again for all of you
taxilian 10:01 good luck
taxilian 10:01 I think I'm more excited about the improvement to JSAPI that I'm working on now than I have been on any updates to FireBreath for a long time...
jshanab_wcw 10:01 taxillian. I will upgrade as soon as I get the other part of my code working. (I variable/bug at a time)
taxilian 10:01 hehe
picky picky… =]
you're saying I'm adding features and releasing updates faster than you can keep up? ;-)
jshanab_wcw 10:01 dude, I am so behind :-(
taxilian 10:01 lol
sounds like you're doing alright to me
jshanab_wcw 10:01 Well, I can see lots of room for improvrment int e code I inherited, Resist temptation to start over.
taxilian 10:01 hehe
I know that feeling
jshanab_wcw 10:01 system written for MJPEg and adding H264. The MJPEG images are copied like 4 times brfore they hit the screen...sloww
taxilian 10:01 I think my greatest pride in FireBreath is that no matter how much I've learned since I started it, I've never felt the need to start any of it over; I've been able to keep refactoring and keep it solid
there are places that can still use improvement, of course, but that's unavoidable
jshanab_wcw 10:01 Awsome. It is an art form to refoctor in place and not lose traction
taxilian 10:01 yeah; I'm not sure I'd say that I've neccesarily nailed that skill, but on FireBreath we really have
it even impresses me, and I wrote most of it :-P
unfortunately, I can't say that about everything I've written
jshanab_wcw 10:01 "I love it when a plan comes together" ?
taxilian 10:01 exactly =]
now if the plan I'm working on will just come together, it will really reduce the number of ugly JSAPI functions that people feel they need
drastically reduce the need for FB::CatchAll
FB_GitHubBot 11:01 FireBreath: master Richard Bateman * 2103c68 (5 files in 3 dirs): Experimental support for optional parameters that need not be provided - http://bit.ly/fkhhQT
FireBreath: firebreath-1.4 Richard Bateman * 2103c68 (5 files in 3 dirs): Experimental support for optional parameters that need not be provided - http://bit.ly/fkhhQT
FB_GitHubBot 13:01 FireBreath: master Richard Bateman * 9d1dbe0 (2 files in 1 dirs): Added check to throw exception when too many parameters passed - http://bit.ly/hVP8Vi
FireBreath: master Richard Bateman * 03547d3 (1 files in 1 dirs): Fixed typo from methodconverter - http://bit.ly/ghataW
FireBreath: firebreath-1.4 Richard Bateman * 9d1dbe0 (2 files in 1 dirs): Added check to throw exception when too many parameters passed
FireBreath: firebreath-1.4 Richard Bateman * 03547d3 (1 files in 1 dirs): Fixed typo from methodconverter
FireBreath: firebreath-1.4 commits 2103c68...03547d3 - http://bit.ly/dRiAFD
Wolfmanfx 14:01 Hi! I have read the best practice guide and i do not understand hownto use the project i mean the guide tells me dont add the build folder to the svn so how do you guys use it?
taxilian 14:01 Wolfmanfx: add your project dir to svn
not the build dir
have you watched the tutorial videos? they're only 5 min each
This also explains things a bit: http://colonelpanic.net/2010/11/firebreath-tips-working-with-source-control/
Wolfmanfx 14:01 No did know that there are vids
taxilian 14:01 I really need to reorganize the docs :-/
Wolfmanfx 14:01 Thx will read it now
taxilian 14:01 http://www.firebreath.org/display/documentation/Windows+Video+Tutorial
there is a mac one too
that goes over a bit more
Wolfmanfx 14:01 Super
I did my own plugins activex + mozilla but i want to use firebreath
taxilian 14:01 cool! Since you have some experience, let me know if you see anything that you don't understand or think could be improved
the switch to cmake is a little weird (that's where the build/ dir thing comes from), but once you get used to it it's not bad
and it solves a lot of issues
Wolfmanfx 14:01 So i will check the stuff you linked and come back when played around hopefully i can make use of it (my project do 3d stuff)
taxilian 14:01 cool. There are several people who are using OpenGL with FireBreath already, so fi you run into probs drop back in
or install a normal IRC client and hang out while you develop… then you can ask questions as needed and help out =]
Wolfmanfx 14:01 Super thx for the fast support :) cu later
taxilian 14:01 good luck
Wolfmanfx 14:01 :) i already have to complain about the vids i can not watch it on ipad ;)
taxilian 14:01 hehe
sorry
Wolfmanfx 14:01 Are the self hosted
taxilian 14:01 yeah
Wolfmanfx 14:01 Youtube! :)
taxilian 14:01 they aren't actual vids; they are generated wtih Jing, so I don't think they can go on Youtube.
not h.264
Wolfmanfx 14:01 ah k
taxilian 14:01 Jing has the advantage of being free, though… =]
if you want to convert 'em and tell me where to put 'em, I'm happy to do so =]
Wolfmanfx 14:01 :)
taxilian 14:01 I use an ipad too, but I just don't have time to mess with video
if I were going to spend time on them, I should probably make more
=]
Wolfmanfx 14:01 So watching them on chrom
jshanab_wcw 15:01 I have a weird problem. A file that has an enum type and a few const char strings is included and has a guard, but it throws linking errors saying "already defined in Factory.obj"
taxilian 15:01 const char strings are actual objects that take up data; sounds like you're giving them external linkage. That means that the implementation goes in the cpp file
rather, the const char itself is fine, but the data for it (the part inside "") needs to go in a cpp file
jshanab_wcw 15:01 I thought i had done this before. (Twlight zone music)
taxilian 15:01 hehe
well, if you are seeing that issue then something that should be in a cpp file is in your .h file
jshanab_wcw 15:01 Yeah, that was my interpretation, but I just thought const char strings was ok. :-(
taxilian 15:01 nope
only const int, I think
actually only static const int
or some such
jshanab_wcw 15:01 I wonder if statis is what i forgot
taxilian 15:01 pretty much anything that has actual data that isn't a template
jshanab_wcw 15:01 right
taxilian 15:01 a const char* even static has to be in a cpp
*sigh*… so close… 14 / 175 unit tests now passing...
and I've totally forgotten why I'm even still doing this
Wolfmanfx 16:01 he just want to give feedback
everything worked like a charm
:)
the vid tuts are great
i have just a question regarding cmake
how can i add an include to my project their
and libs
is there a tut for this?
taxilian 16:01 not a full one, but hang on; there are some docs
to see how to add files, I recommend looking at the examples; basically you just need to add file paths to the GLOB in CMakeLists.txt or <platform>/projectDef.cmake
http://www.firebreath.org/display/documentation/Using+Libraries
this talks about how to link other libraries
Wolfmanfx 16:01 thx will try it
taxilian 16:01 brb
CMake docs/tutorial is very high on my list because that's been the #1 thing requested in the survey results
but I can either write docs or implement features, and right now there are some features I need for my projects, so… =]
Wolfmanfx 16:01 So got it working
where can i get an hwnd ^^
to render on it :)
taxilian 16:01 http://www.firebreath.org/display/documentation/Tips+and+Tricks
more specifically, http://www.firebreath.org/display/documentation/Tips+and+Tricks#TipsandTricks-DrawingandhandlingWINPROCeventsonWindows
Wolfmanfx 16:01 so many thx
so i am done today i have to say this project is really done
i mean the workflow
is not bad
:)
taxilian 16:01 glad you like it
Wolfmanfx 16:01 really easy to set it up
taxilian 16:01 feel free to contribute back in whatever way you are able =] (code, docs, money, whatever :-P)
Wolfmanfx 16:01 np :)
taxilian 16:01 For anyone interested, this seems to work now: https://github.com/firebreath/indexeddb
it is the most advanced FireBreath API that I know of anywhere
though I haven't cleaned all of it up
FB_GitHubBot 16:01 FireBreath: master Richard Bateman * 1a81021 (1 files in 1 dirs): Fixed bug in last fix =] - http://bit.ly/eGz1tQ
FireBreath: firebreath-1.4 Richard Bateman * 1a81021 (1 files in 1 dirs): Fixed bug in last fix =] - http://bit.ly/eGz1tQ
Libor 20:01 I would like to inform you about my new project /using firebreath/ recently launched - www.dipito.com.