Re: Awesomium D wrappers/bindings

2013-01-02 Thread David
Am 02.01.2013 08:48, schrieb evilrat: arrays initialized with nulls right? anyway just setting only first symbol in text field(it's wchar[4]) is enough. Not wchar arrays: import std.stdio; void main() { writefln(0x%x, wchar.init); } this prints: 0x

Re: Awesomium D wrappers/bindings

2013-01-01 Thread evilrat
i'm figured out why awesomium doesn't load on osx, they have wrong instruction on their wiki. i'll try to do D app project for xcode later. i wish there be already existing template for this :( On Sunday, 30 December 2012 at 10:41:22 UTC, David wrote: And don't forget to set the wchar16 array

Re: Awesomium D wrappers/bindings

2012-12-30 Thread David
Am 30.12.2012 07:14, schrieb evilrat: i hate myself sometimes. figured out what the stuck is wrong. it was my raw input problems. so awesomium just need key down without text, and for text input one would need just set type and text fields. And don't forget to set the wchar16 array to

Re: Awesomium D wrappers/bindings

2012-12-29 Thread David
Am 29.12.2012 08:20, schrieb evilrat: i can't make that damn raw input spit out unicode chars, and by some reason awesomium internal func don't eat key codes too(well it eat, but no chars in input), this is the only problem left before wrapper become somehow useful... Now that you say it, in

Re: Awesomium D wrappers/bindings

2012-12-29 Thread evilrat
doh.. now it inputs 2 char in a row, this is really stupid because i'm not sending anything but single char event

Re: Awesomium D wrappers/bindings

2012-12-29 Thread evilrat
i hate myself sometimes. figured out what the stuck is wrong. it was my raw input problems. so awesomium just need key down without text, and for text input one would need just set type and text fields.

Re: Awesomium D wrappers/bindings

2012-12-28 Thread evilrat
i can't make that damn raw input spit out unicode chars, and by some reason awesomium internal func don't eat key codes too(well it eat, but no chars in input), this is the only problem left before wrapper become somehow useful...

Re: Awesomium D wrappers/bindings

2012-12-27 Thread David
Am 27.12.2012 05:30, schrieb evilrat: On Wednesday, 26 December 2012 at 16:14:11 UTC, David wrote: but i agree, glfw and sdl sucks, No, only SDL sucks also glfw has redundant call(glclearcolor) each frame :) That is not redundant, it's not the job of GLFW to do OpenGL stuff you're

Re: Awesomium D wrappers/bindings

2012-12-27 Thread evilrat
On Thursday, 27 December 2012 at 10:35:20 UTC, David wrote: There is no drawing func callback, we are probably speaking of two different glfw version (even though I don't know of such a callback even in glfw 2.7) well ok i must be forgot something, but i clearly remember that bug(or

Re: Awesomium D wrappers/bindings

2012-12-27 Thread David
Am 26.12.2012 02:27, schrieb evilrat: On Tuesday, 25 December 2012 at 15:35:02 UTC, David wrote: Oh wow it works! ─[dav1d@ArchBox][~/workspaces/d/awesomium_test]╼ dmd -I../awesomium -L-L. -L-lawesomium-1.6.5 short.d ─[dav1d@ArchBox][~/workspaces/d/awesomium_test]╼ LD_LIBRARY_PATH=.

Re: Awesomium D wrappers/bindings

2012-12-27 Thread evilrat
On Thursday, 27 December 2012 at 13:16:33 UTC, David wrote: I started with an abstraction: https://github.com/Dav1dde/wonne Currently I've done only strings, I think I can add the rest today just to mention, last time i tried D wchar with awesomium wchar it was pure fail, but may be i've

Re: Awesomium D wrappers/bindings

2012-12-27 Thread David
Am 27.12.2012 15:30, schrieb evilrat: On Thursday, 27 December 2012 at 13:16:33 UTC, David wrote: I started with an abstraction: https://github.com/Dav1dde/wonne Currently I've done only strings, I think I can add the rest today just to mention, last time i tried D wchar with awesomium

Re: Awesomium D wrappers/bindings

2012-12-27 Thread David
Webcore, done Webview, done (except the callbacks) Renderbuffer, done And bindings are waiting to get into deimos: https://github.com/D-Programming-Deimos/awesomium/pull/1

Re: Awesomium D wrappers/bindings

2012-12-27 Thread evilrat
On Thursday, 27 December 2012 at 17:31:58 UTC, David wrote: Webcore, done Webview, done (except the callbacks) Renderbuffer, done And bindings are waiting to get into deimos: https://github.com/D-Programming-Deimos/awesomium/pull/1 will there be OOP wrapper in deimos? or deimos is purely for

Re: Awesomium D wrappers/bindings

2012-12-27 Thread evilrat
On Thursday, 27 December 2012 at 17:31:58 UTC, David wrote: Webcore, done Webview, done (except the callbacks) Renderbuffer, done And bindings are waiting to get into deimos: https://github.com/D-Programming-Deimos/awesomium/pull/1 will there be OOP wrapper? or deimos is purely for C headers

Re: Awesomium D wrappers/bindings

2012-12-27 Thread Walter Bright
On 12/27/2012 6:17 PM, evilrat wrote: will there be OOP wrapper? or deimos is purely for C headers translation? Deimos is purely for C header translation.

Re: Awesomium D wrappers/bindings

2012-12-27 Thread evilrat
On Thursday, 27 December 2012 at 17:31:58 UTC, David wrote: Webcore, done Webview, done (except the callbacks) Renderbuffer, done And bindings are waiting to get into deimos: https://github.com/D-Programming-Deimos/awesomium/pull/1 will there be OOP wrapper? or deimos is purely for C header

Re: Awesomium D wrappers/bindings

2012-12-27 Thread evilrat
oh god. it was lagging this morning, sry for flood

Re: Awesomium D wrappers/bindings

2012-12-26 Thread dav1d
On Wednesday, 26 December 2012 at 05:21:03 UTC, evilrat wrote: On Wednesday, 26 December 2012 at 05:08:47 UTC, evilrat wrote: On Tuesday, 25 December 2012 at 15:35:02 UTC, David wrote: Oh wow it works! by the way, how do u launch this on linux(my system is ubuntu 12.10 x86)? i take my mom

Re: Awesomium D wrappers/bindings

2012-12-26 Thread evilrat
On Wednesday, 26 December 2012 at 11:39:22 UTC, dav1d wrote: You need libjpg6 It is fast for you? I think I am doing something wrong, rendering a testpage (walterbright.com) takes quite a while, building an opengl demo now. Btw. OOP wrapper is planed if I get it working i think this libs

Re: Awesomium D wrappers/bindings

2012-12-26 Thread David
Am 26.12.2012 13:01, schrieb evilrat: On Wednesday, 26 December 2012 at 11:39:22 UTC, dav1d wrote: You need libjpg6 It is fast for you? I think I am doing something wrong, rendering a testpage (walterbright.com) takes quite a while, building an opengl demo now. Btw. OOP wrapper is planed

Re: Awesomium D wrappers/bindings

2012-12-26 Thread evilrat
On Wednesday, 26 December 2012 at 13:39:20 UTC, David wrote: I want to send an inclusion request to deimos, if I find Walters e-mail his mail is something like walter at digitalmars dt com, maybe u may find it on forums. but i doubt it will be useful as a just C header translation

Re: Awesomium D wrappers/bindings

2012-12-26 Thread David
Am 26.12.2012 16:03, schrieb evilrat: On Wednesday, 26 December 2012 at 13:39:20 UTC, David wrote: I want to send an inclusion request to deimos, if I find Walters e-mail his mail is something like walter at digitalmars dt com, maybe u may find it on forums. but i doubt it will be useful as

Re: Awesomium D wrappers/bindings

2012-12-26 Thread evilrat
On Wednesday, 26 December 2012 at 15:06:32 UTC, David wrote: I found it nospam1 walter it is, that's what deimos is for, C - D translations okay :( i was thinking it's for cool wrappers including OOP and not only. now i remember why i've done my own glext and gl translations after using

Re: Awesomium D wrappers/bindings

2012-12-26 Thread David
Am 26.12.2012 16:18, schrieb evilrat: On Wednesday, 26 December 2012 at 15:06:32 UTC, David wrote: I found it nospam1 walter it is, that's what deimos is for, C - D translations okay :( i was thinking it's for cool wrappers including OOP and not only. now i remember why i've done my own

Re: Awesomium D wrappers/bindings

2012-12-26 Thread evilrat
On Wednesday, 26 December 2012 at 15:21:08 UTC, David wrote: I just found out that keyinput making useable for awesomium is a pain, you know a trick? no. a most simple way is to do ctfe function or mixin or template to convert chars to awesomium key codes, but i think it may be not

Re: Awesomium D wrappers/bindings

2012-12-26 Thread David
Am 26.12.2012 16:31, schrieb evilrat: On Wednesday, 26 December 2012 at 15:21:08 UTC, David wrote: I just found out that keyinput making useable for awesomium is a pain, you know a trick? no. a most simple way is to do ctfe function or mixin or template to convert chars to awesomium key

Re: Awesomium D wrappers/bindings

2012-12-26 Thread evilrat
On Wednesday, 26 December 2012 at 15:35:56 UTC, David wrote: There is the same but, there is no C counterpart and it does something different. look at awesomiumgl demo, there is some example on using it. also it may worth looking at sdl(webflow) example, in webflow there is just simple

Re: Awesomium D wrappers/bindings

2012-12-26 Thread David
Am 26.12.2012 16:44, schrieb evilrat: On Wednesday, 26 December 2012 at 15:35:56 UTC, David wrote: There is the same but, there is no C counterpart and it does something different. look at awesomiumgl demo, there is some example on using it. also it may worth looking at sdl(webflow)

Re: Awesomium D wrappers/bindings

2012-12-26 Thread evilrat
On Wednesday, 26 December 2012 at 15:46:12 UTC, David wrote: The c++ function isn't even needed. And meh SDL, using GLFW, I know that I have to map the keys, I simply thought you maybe already did it or knew a trick. not yet :( i've not finished callbacks stuff, then i would see if can find

Re: Awesomium D wrappers/bindings

2012-12-26 Thread David
but i agree, glfw and sdl sucks, No, only SDL sucks also glfw has redundant call(glclearcolor) each frame :) That is not redundant, it's not the job of GLFW to do OpenGL stuff you're supposed to do btw, may be u can try load that func for testing? should be not that hard, only finding

Re: Awesomium D wrappers/bindings

2012-12-26 Thread evilrat
On Wednesday, 26 December 2012 at 16:14:11 UTC, David wrote: but i agree, glfw and sdl sucks, No, only SDL sucks also glfw has redundant call(glclearcolor) each frame :) That is not redundant, it's not the job of GLFW to do OpenGL stuff you're supposed to do this is OT, but ... glfw

Re: Awesomium D wrappers/bindings

2012-12-25 Thread evilrat
trying to get xcode project, all fine but i just can't do that damn dylib to work with awesomium.framework within another bundle. either is i am stupid or xcode is really pita to work with. just losing time...

Re: Awesomium D wrappers/bindings

2012-12-25 Thread David
Am 25.12.2012 13:43, schrieb evilrat: trying to get xcode project, all fine but i just can't do that damn dylib to work with awesomium.framework within another bundle. either is i am stupid or xcode is really pita to work with. just losing time... I just compiled a awesomium 1.6.5 test app

Re: Awesomium D wrappers/bindings

2012-12-25 Thread David
Am 25.12.2012 13:46, schrieb David: Am 25.12.2012 13:43, schrieb evilrat: trying to get xcode project, all fine but i just can't do that damn dylib to work with awesomium.framework within another bundle. either is i am stupid or xcode is really pita to work with. just losing time... I

Re: Awesomium D wrappers/bindings

2012-12-25 Thread evilrat
On Tuesday, 25 December 2012 at 13:57:28 UTC, David wrote: Am 25.12.2012 13:46, schrieb David: Am 25.12.2012 13:43, schrieb evilrat: trying to get xcode project, all fine but i just can't do that damn dylib to work with awesomium.framework within another bundle. either is i am stupid or

Re: Awesomium D wrappers/bindings

2012-12-25 Thread David
Am 25.12.2012 15:04, schrieb evilrat: On Tuesday, 25 December 2012 at 13:57:28 UTC, David wrote: Am 25.12.2012 13:46, schrieb David: Am 25.12.2012 13:43, schrieb evilrat: trying to get xcode project, all fine but i just can't do that damn dylib to work with awesomium.framework within another

Re: Awesomium D wrappers/bindings

2012-12-25 Thread evilrat
On Tuesday, 25 December 2012 at 15:35:02 UTC, David wrote: Oh wow it works! ─[dav1d@ArchBox][~/workspaces/d/awesomium_test]╼ dmd -I../awesomium -L-L. -L-lawesomium-1.6.5 short.d ─[dav1d@ArchBox][~/workspaces/d/awesomium_test]╼ LD_LIBRARY_PATH=. ./short https://gist.github.com/4373754

Re: Awesomium D wrappers/bindings

2012-12-25 Thread evilrat
On Tuesday, 25 December 2012 at 15:35:02 UTC, David wrote: Oh wow it works! by the way, how do u launch this on linux(my system is ubuntu 12.10 x86)? i take my mom netbook and it doesn't work, almost same crap as on osx, missing shared libs, though it in the same folder. i don't build my

Re: Awesomium D wrappers/bindings

2012-12-25 Thread evilrat
On Wednesday, 26 December 2012 at 05:08:47 UTC, evilrat wrote: On Tuesday, 25 December 2012 at 15:35:02 UTC, David wrote: Oh wow it works! by the way, how do u launch this on linux(my system is ubuntu 12.10 x86)? i take my mom netbook and it doesn't work, almost same crap as on osx,

Re: Awesomium D wrappers/bindings

2012-12-24 Thread David
Are you working on a stable port (1.6) by any chances?

Re: Awesomium D wrappers/bindings

2012-12-24 Thread David
Am 25.12.2012 00:08, schrieb David: Are you working on a stable port (1.6) by any chances? Oh wow, I just found out there is an capi, impressive. I never tried it because I thought there was no C-Api... Still any plans of making D bindings, otherwise I might do it.

Re: Awesomium D wrappers/bindings

2012-12-24 Thread evilrat
On Monday, 24 December 2012 at 23:17:08 UTC, David wrote: Am 25.12.2012 00:08, schrieb David: Are you working on a stable port (1.6) by any chances? Oh wow, I just found out there is an capi, impressive. I never tried it because I thought there was no C-Api... Still any plans of making D

Re: Awesomium D wrappers/bindings

2012-12-14 Thread David
Am 14.12.2012 06:15, schrieb evilrat: i wonder why no one interested in project? maybe thats just because awesomium is um... half dead(can't pick correct word)? Because not a lot of people need this. I also wouldn't need it but I *want* it. Another reason is probably that a lot of the D users

Re: Awesomium D wrappers/bindings

2012-12-14 Thread evilrat
On Friday, 14 December 2012 at 10:42:25 UTC, David wrote: Am 14.12.2012 06:15, schrieb evilrat: i wonder why no one interested in project? maybe thats just because awesomium is um... half dead(can't pick correct word)? Because not a lot of people need this. I also wouldn't need it but I

Re: Awesomium D wrappers/bindings

2012-12-14 Thread David
Am 14.12.2012 13:15, schrieb evilrat: On Friday, 14 December 2012 at 10:42:25 UTC, David wrote: Am 14.12.2012 06:15, schrieb evilrat: i wonder why no one interested in project? maybe thats just because awesomium is um... half dead(can't pick correct word)? Because not a lot of people need

Re: Awesomium D wrappers/bindings

2012-12-14 Thread evilrat
On Friday, 14 December 2012 at 14:24:01 UTC, David wrote: I use gdb all the time! Just compile with -g and -gc. And iirc gdb supports D when compiled with gdc. okay, thanks. i'll check gdc then. with all negative to OS X this is a one of the major OS, and D should be available everywhere

Re: Awesomium D wrappers/bindings

2012-12-14 Thread Jacob Carlborg
On 2012-12-14 13:52, evilrat wrote: just because when i tried debug simple program in xcode it was really pain and suffering, the whole OS X for D coding is painful :( GDB shipped with Xcode is way to old, IIRC. -- /Jacob Carlborg

Re: Awesomium D wrappers/bindings

2012-12-14 Thread evilrat
On Friday, 14 December 2012 at 14:39:55 UTC, Jacob Carlborg wrote: GDB shipped with Xcode is way to old, IIRC. yes i know, but latest versions use lldb, though i don't used it with D yet.

Re: Awesomium D wrappers/bindings

2012-12-14 Thread Iain Buclaw
On 14 December 2012 14:24, David d...@dav1d.de wrote: Am 14.12.2012 13:52, schrieb evilrat: On Friday, 14 December 2012 at 12:24:06 UTC, David wrote: A lot of D users use Linux, which isn't supported by awesomium which debugger Linux users use? does gdb support D at least like visual

Re: Awesomium D wrappers/bindings

2012-12-14 Thread Nick Sabalausky
On Fri, 14 Dec 2012 13:22:28 +0100 Sönke Ludwig slud...@outerproduct.org wrote: It also doesn't seem to be ported to the mobile platforms, which makes it an uncertain development target. Don't the mobile platforms provide web-view components anyway? Or does all the sandboxing on them prevent

Re: Awesomium D wrappers/bindings

2012-12-13 Thread evilrat
i've just updated source repo, some minor changes, first code released. still no xcode projects though, still have some mess in project and no docs. but as soon as i have time i will clean this up, also i think to add some opengl(and maybe awesomium sdl demo port) examples in next commit to

Re: Awesomium D wrappers/bindings

2012-12-11 Thread David
I did it again, pressed answer instead of answer to Newsgroup... От: David Отправлено: ‎11‎ ‎декабря‎ ‎2012‎ г. ‎18‎:‎43 Кому: evilrat Тема: Re: Awesomium D wrappers/bindings Wow! I was thinking of doing that. I made CEF instead... https://github.com/Dav1dde/cef So Awesomium supports Linux? I