Re: [webkit-dev] JavaScriptCore in Windows Applications

2009-06-25 Thread Eric Brunstad
Hi Brent, Does your cairo.dll have its dependencies built into it? i.e. why are you using a zlib dll rather than a static zlib? I sort of assumed you were doing that because cairo depended on having a zlib.dll. Thanks, Eric On Jun 25, 2009, at 12:23 AM, Brent Fulgham wrote: Eric, The

Re: [webkit-dev] JavaScriptCore in Windows Applications

2009-06-25 Thread Brent Fulgham
Hi Eric, On Jun 25, 2009, at 6:45 AM, Eric Brunstad wrote: Does your cairo.dll have its dependencies built into it? i.e. why are you using a zlib dll rather than a static zlib? I sort of assumed you were doing that because cairo depended on having a zlib.dll. As far as I know, it uses

Re: [webkit-dev] JavaScriptCore in Windows Applications

2009-06-24 Thread Eric Brunstad
Hi, I got JSC to compile fine and WebCore to almost compile fine. Looks like winsock2.h is not getting included. I'll try including it, but maybe an include of winsock2.h should be added to the patch. Eric On Jun 24, 2009, at 12:15 AM, Brent Fulgham wrote: Hi Eric, Let me try to

Re: [webkit-dev] JavaScriptCore in Windows Applications

2009-06-24 Thread Brent Fulgham
Hi Eric, [...]These applications do not necessarily use WebKit (they could, however) but they all use JavaScriptCore because they are written in JavaScript (and interact with objects vended by the application). [...] But, the WebKit built by the Cairo port has a ton of DLLs that would

Re: [webkit-dev] JavaScriptCore in Windows Applications

2009-06-24 Thread Eric Brunstad
Hi Brent, I will try to build the static JavaScriptCore. I tried to build a static Cairo but I was not successful. Do you think it is possible to build a static WebKit or are the dependencies too complex to place all into one static library? Thanks, Eric On Jun 24, 2009, at 8:27 PM,

Re: [webkit-dev] JavaScriptCore in Windows Applications

2009-06-24 Thread Brent Fulgham
Eric, The Cairo library I use with WebKit is already static (notice that it is around 1MB in size, rather than the 25kb or so it would be as a link library). I didn't want to have to include the cairo.dll either! -Brent On Jun 24, 2009, at 6:23 PM, Eric Brunstad wrote: Hi Brent, I

Re: [webkit-dev] JavaScriptCore in Windows Applications

2009-06-23 Thread Brent Fulgham
Hi Eric, Let me try to answer your last few questions in order. Unfortunately, I'm on vacation this week and don't have my Windows machine available, otherwise I would have tried to get you the DLLs you asked for. 1. You *should* be able to mix/match the CFLite.lib and DLL from the

Re: [webkit-dev] JavaScriptCore in Windows Applications

2009-06-22 Thread webkit-list
Brent, Thank you very much for your reply. It was very helpful. Unfortunately, I cannot compile your CallJS sample. It appears that the 'afxwin.h' file is not present on my system. Is it not possible to compile your sample with Visual C++ 2005 Express Edition with the Windows Server 2003 R2

Re: [webkit-dev] JavaScriptCore in Windows Applications

2009-06-22 Thread Peter Kasting
On Mon, Jun 22, 2009 at 7:12 AM, webkit-l...@ericbrunstad.com wrote: Thank you very much for your reply. It was very helpful. Unfortunately, I cannot compile your CallJS sample. It appears that the 'afxwin.h' file is not present on my system. Is it not possible to compile your sample with

Re: [webkit-dev] JavaScriptCore in Windows Applications

2009-06-22 Thread Eric Brunstad
Hi Brent, Is it possible to replace a DLL used by the compiled WebKit with a newer version of the same DLL without recompiling WebKit? I need to link my application with CFLite but your compiled version of WebKit in CallJS does not include a CFLite library file (only a DLL). Your

Re: [webkit-dev] JavaScriptCore in Windows Applications

2009-06-22 Thread Brent Fulgham
Hi Eric, On Jun 22, 2009, at 7:12 AM, webkit-l...@ericbrunstad.com wrote: Thank you very much for your reply. It was very helpful. Unfortunately, I cannot compile your CallJS sample. It appears that the 'afxwin.h' file is not present on my system. Is it not possible to compile your

[webkit-dev] JavaScriptCore in Windows Applications

2009-06-21 Thread Eric Brunstad
Hi, I have developed a Mac application that I am porting to Windows. How can I use JavaScriptCore in my Windows application? Are there precompiled JavaScriptCore.dll files that can be linked right in to applications and freely distributed? Will I be able to compile JavaScriptCore

Re: [webkit-dev] JavaScriptCore in Windows Applications

2009-06-21 Thread Brent Fulgham
Hi Eric, On Jun 21, 2009, at 7:30 PM, Eric Brunstad webkit- l...@ericbrunstad.com wrote: I have developed a Mac application that I am porting to Windows. How can I use JavaScriptCore in my Windows application? You can try my port of the Apple example program CallJS; it's an attempt to