Awesomium - Chromium based Framework
Re: Awesomium - Chromium based Framework
it becomes more and more stable
Now i use it with my JSON-Include as a GUI, works great.
update: (26.06.2012)
+ fixed: for ResourceRequestCallback(ID.i, *AweRequest.Awesomium_Request), now *AweRequest\Url returns full URL
+ fixed: Display issue for special width/ height values when using Awesomium-Gadget
+ fixed: Alpha-channel was lost for sprites because of DX9-bug. Now, as a workaround, when using mode #PB_Sprite_AlphaBlending, the whole sprite is repainted always!
+ added: Awesomium_JS_Execute(), Awesomium_JS_Execute_Return_XXX()
+ added: parameter "ChildProcessPath" for InitAwesomium() and an OSVersion()-check for windows, feature deactivated for linux because of missing code
+ added: parameter "PowerOf2" for CreateAwesomiumTexture() to always get a 2^X width and hight for texture. Attention: Will result in free space, right and bottom of texture, when width/ height is not 2^X! You will need to scale the texture with a material-script. There is currently no function in PB to scale the texture at runtime.
+ updated: Awesomium to version 1.6.6
+ updated: include works with PB4.61, too.
Bug in PB4.61:
Don't know if it is a bug, but now the painted texture is displayed
mirrored and normal at the same time, so you see two versions
and it switches rapidly. In this case TextureOutput() is not usable.
bug-report: http://www.purebasic.fr/english/viewtop ... =4&t=50375
MFG PMV
Now i use it with my JSON-Include as a GUI, works great.
update: (26.06.2012)
+ fixed: for ResourceRequestCallback(ID.i, *AweRequest.Awesomium_Request), now *AweRequest\Url returns full URL
+ fixed: Display issue for special width/ height values when using Awesomium-Gadget
+ fixed: Alpha-channel was lost for sprites because of DX9-bug. Now, as a workaround, when using mode #PB_Sprite_AlphaBlending, the whole sprite is repainted always!
+ added: Awesomium_JS_Execute(), Awesomium_JS_Execute_Return_XXX()
+ added: parameter "ChildProcessPath" for InitAwesomium() and an OSVersion()-check for windows, feature deactivated for linux because of missing code
+ added: parameter "PowerOf2" for CreateAwesomiumTexture() to always get a 2^X width and hight for texture. Attention: Will result in free space, right and bottom of texture, when width/ height is not 2^X! You will need to scale the texture with a material-script. There is currently no function in PB to scale the texture at runtime.
+ updated: Awesomium to version 1.6.6
+ updated: include works with PB4.61, too.
Bug in PB4.61:
Don't know if it is a bug, but now the painted texture is displayed
mirrored and normal at the same time, so you see two versions
and it switches rapidly. In this case TextureOutput() is not usable.
bug-report: http://www.purebasic.fr/english/viewtop ... =4&t=50375
MFG PMV
- zxtunes.com
- Enthusiast
- Posts: 375
- Joined: Wed Apr 23, 2008 7:51 am
- Location: Saint-Petersburg, Russia
- Contact:
Re: Awesomium - Chromium based Framework
Not work:
PB4.61/W7/X64
PB4.61/W7/X64
Re: Awesomium - Chromium based Framework
Same problem:
What can i do to fix this?
I think im running PB 4.60
What can i do to fix this?
I think im running PB 4.60
ARGENTINA WORLD CHAMPION
Re: Awesomium - Chromium based Framework
my crystal ball says you should check why the
DLL is not loaded properly.
DLL is not loaded properly.
Re: Awesomium - Chromium based Framework
Thank god for Awesomium! Thank god for PMV!
Re: Awesomium - Chromium based Framework
Last update was almost three years ago.. Looks like it's back to webgadget..
I actually had a automation tool based on this lib, because I don't have the time to develop my own based on Chromium or Gecko.
I don't think people realize it IS a "selling point" because it's next to impossible to do web automation or UIs without JS runtime and DOM states that actually work..
I actually had a automation tool based on this lib, because I don't have the time to develop my own based on Chromium or Gecko.
I don't think people realize it IS a "selling point" because it's next to impossible to do web automation or UIs without JS runtime and DOM states that actually work..
The truth hurts.
Re: Awesomium - Chromium based Framework
Awesomium is not supporting C API anymore. So the only possibility to
get the latest version to work with PB would be to make a wrapper with
C++. Or we just wait, until Fred makes nativ C++ DLL support for
PureBasic.
I still use the old version too, but there is a plan to make such a wrapper.
There is also another one like Awesomium, have forget what name it was.
That one is used by Steam for example. It has no C support but C++
support, too. So regardless if Awesomium or the other one ... this can
took a year until i can start with that task. I'm sorry.
Making a wrapper will take me a month i think, as i have to start from scratch
And i currently have no idea, when i will have that time.
MFG PMV
get the latest version to work with PB would be to make a wrapper with
C++. Or we just wait, until Fred makes nativ C++ DLL support for
PureBasic.
I still use the old version too, but there is a plan to make such a wrapper.
There is also another one like Awesomium, have forget what name it was.
That one is used by Steam for example. It has no C support but C++
support, too. So regardless if Awesomium or the other one ... this can
took a year until i can start with that task. I'm sorry.
Making a wrapper will take me a month i think, as i have to start from scratch
And i currently have no idea, when i will have that time.
MFG PMV
Re: Awesomium - Chromium based Framework
I've been seeing Gecko used. Kind of like how PB used Mozilla engine but now it's a newer version of Gecko.
EDIT: Doing things like using Not on strings and obsolete constants also breaks this lib with newer versions of PB.
EDIT: Doing things like using Not on strings and obsolete constants also breaks this lib with newer versions of PB.
The truth hurts.
-
- New User
- Posts: 3
- Joined: Thu Mar 26, 2015 9:57 pm
Re: Awesomium - Chromium based Framework
Please help me! I need update Awesomium.pbi for top version Awesomium (good if last version or version higher than 1.6.6.0)
who have updated Awesomium.pbi and ready help?
I'll be grateful to that man!
who have updated Awesomium.pbi and ready help?
I'll be grateful to that man!
Re: Awesomium - Chromium based Framework
Awesomium doesn't support C anymore, only C++ and .Net.
If you want Awesomium, you have to write a wrapper in C/C++ for PureBasic.
MFG PMV
If you want Awesomium, you have to write a wrapper in C/C++ for PureBasic.
MFG PMV
-
- New User
- Posts: 3
- Joined: Thu Mar 26, 2015 9:57 pm
Re: Awesomium - Chromium based Framework
Who can write the Awesomium wrapper last ver in C/C++ for PureBasic?
-
- New User
- Posts: 3
- Joined: Thu Mar 26, 2015 9:57 pm
Re: Awesomium - Chromium based Framework
If anyone has last update or wrote the Awesomium wrapper last ver in C/C++ for PureBasic or alternative chromium framework/wrapper, please write me private message for partnership.
-
- Enthusiast
- Posts: 617
- Joined: Fri Feb 20, 2009 9:24 am
- Location: Almaty (Kazakhstan. not Borat, but Triple G)
- Contact:
Re: Awesomium - Chromium based Framework
it have support https and java? i mean java applets, not scripts.
Re: Awesomium - Chromium based Framework
Still work in 5.40 too but, if you don't want to spend half an hour to figure what's wrong, remember to use pb x86! (I forgot my default compiler was x64 =_=; )Alexi wrote:Wrapper is still working in PB 5.31+ on Windows 10. Actually the example just not targeting the DLL correctly (instead in temporary) and some small syntax changes. :D
Re: Awesomium - Chromium based Framework
I think people get put off when they read about licensing which is not free.
I just found out about "sciter32.dll"
http://sciter.com
which looks promising and on the instructions they say you can use C style calling. it only has one API call and and you have to define multiple prototypes for same API
Norm
I just found out about "sciter32.dll"
http://sciter.com
which looks promising and on the instructions they say you can use C style calling. it only has one API call and and you have to define multiple prototypes for same API
Code: Select all
;not working code since I am going to bed now
sciterlib= OpenLibrary(#PB_Any,"G:\programming\sciter\bin\sciter32.dll")
If Not sciterlib : Debug "error sciter32.dll not found":End:EndIf
SciterAPI =GetFunction(sciterlib, "SciterAPI") ; one function only
google Translate;Makes my jokes fall flat- Fait mes blagues tombent à plat- Machte meine Witze verpuffen- Eh cumpari ci vo sunari