tooys / flash-thunderbolt

Automatically exported from code.google.com/p/flash-thunderbolt
0 stars 0 forks source link

Add support for Safari/Webkit console. #18

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
webkit mirrors the firebug console (for the most part), can we open thunderbolt 
up so that it can 
log to safari as well.

Original issue reported on code.google.com by pdecour...@gmail.com on 11 Sep 2009 at 3:50

GoogleCodeExporter commented 8 years ago
Sounds very interesting. Could you give me more details about "webkit mirrors 
the
firebug console". BTW: If you have already developed an extension for 
ThunderBolt
using Webkit or you plan to do it, feel free to join the project. Any support 
are
appreciated! 

-Jens

Original comment by sect...@gmail.com on 13 Sep 2009 at 3:14

GoogleCodeExporter commented 8 years ago
Webkit has window.console as well, and it supports the following functions:

onsole.log
console.warn
console.error
console.info

What I have done is just check for the existence of the functions rather than 
console.firebug.  I don't use the 
group functions so this works well for now.  I could add in some logic to test 
for those and only allow those 
for that environment.  Additionally Opera has some support for tracing to the 
console, the syntax at this time 
is not at all like console.log (etc..), but it could be adapted to he used in 
thunderbolt.

Not sure what you mean by "join the project".... I will post a patch here once 
I have it "complete"

Original comment by pdecour...@gmail.com on 13 Sep 2009 at 3:48

GoogleCodeExporter commented 8 years ago
Sounds great! 

P.S.: "join the project" means contributing the project with an extension, patch
improvements, news or something like that. For example: If you join the project 
you
will have an access to the repository. So you can commit your patch directly 
into
your personal trunk folder within the ThunderBolt project. After revisiting I 
will
commit it to the next version of ThunderBolt AS3. Please let me know if you are
interested in.

-Jens

Original comment by sect...@gmail.com on 13 Sep 2009 at 4:34

GoogleCodeExporter commented 8 years ago
Hi there,

I have also written a patch to allow WebKit to use Thunderbolt. How do I submit 
my changes?

-Dino.

Original comment by generics...@gmail.com on 14 Jan 2010 at 11:28

GoogleCodeExporter commented 8 years ago
@Dino: Very cool! I think it's time to move this project GitHub ;). So you can 
fork
and edit all files, which I going to add at the next update of ThunderBolt AS3. 
Keep
in touch, please.

Thanks again!

-Jens

Original comment by sect...@gmail.com on 15 Jan 2010 at 10:30

GoogleCodeExporter commented 8 years ago
Dino, all source of ThunderBolt AS3 has been moved to GitHub:
http://github.com/sectore/ThunderBoltAS3 Fork it and feel free to add your 
extension. 

Thanks!

-Jens

Original comment by sect...@gmail.com on 31 Jan 2010 at 2:31