[webkit-dev] error message when I run '. / Programs / GtkLauncher'

2008-12-01 Thread houda hocine
hi,

I have this error message when I run '. / Programs / GtkLauncher'

"(lt-GtkLauncher:3882): GLib-GObject-CRITICAL **: g_object_unref: assertion
`object->ref_count > 0' failed"
you can help me to solve this problem?

you can help me to solve this problem
Hiba,
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] Can I use GtkFB for webkit-porting ?

2008-12-01 Thread Iulian

WebKit is already ported for GTK http://trac.webkit.org/wiki/BuildingGtk.
If you don't know how to build GTK for frame buffer, you can take a look at
this link: http://www.directfb.org/wiki/index.php/Projects:GTK_on_DirectFB



sMiLo-2 wrote:
> 
> Hello everyone.
> 
> I would like to port webkit using GtkFB instead of X11, Win32, Quartz,
> DirectFB.
> But when configuring webkit, I couldn't find some option for porting using
> GtkFB.
> Where can I found some easy method to port webkit using GtkFB?
> Maybe, webkit does not support GtkFB. right?
> 
> Best regards,
> Sungjun, Kim
> 
> ___
> webkit-dev mailing list
> webkit-dev@lists.webkit.org
> http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Can-I-use-GtkFB-for-webkit-porting---tp20783937p20787297.html
Sent from the Webkit mailing list archive at Nabble.com.

___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] Timer callback and 'this' object

2008-12-01 Thread Sam Weinig
Hi Dmitry,
The first example using a closure executes in the parent scope because
functions execute in lexical scope regardless of where they are called from,
capturing variables as required.  The string version is simply executed as a
program by the caller and has no knowledge of the scope in which it was
declared.  This is a bit strange, but follows the conventions of the
language.  As for the test, tests are always welcomed, especially for odd
edges like this.

-Sam

On Mon, Dec 1, 2008 at 8:08 PM, Dmitry Titov <[EMAIL PROTECTED]> wrote:

> Hi webkit-dev,
>
> I'm looking at JS timeout code and found a callback behavior that seems
> strange. Not sure if it is intentional.
> If timeout is set on a 'window' object from another frame and timeout
> callback is specified as a JS string, it is executed "inside the frame"...
> So the context of execution is different depending how the callback is
> specified.
>
> Here is html (also attached) that loads an empty IFRAME and sets 2 timeouts
> on that iframe's window - as a JS closure and as JS string. In former case,
> the callback runs in the main page (expected, since the JS closure
> 'captures' the context in which it is defined), in the latter- inside iframe
> (a bit weird?). So the text goes in both "body" elements.
>
> Is there a reason why JS string is evaluated in the inner context of the
> iframe? Would a test verifying this behavior be a good thing? Curiously, IE
> and FF behave the same way.
>
> 
> 
> function test() {
>   // Get the iframe's window.
>   var iframeWindow = window.frames["testIframe"];
>
>   // setTimeout with a closure as callback.
>   iframeWindow.setTimeout(
> function() {
>   if (!document.body)
> document.write('');
>   document.body.appendChild(document.createTextNode('Timer 1
> fired.'));}, 1);
>
>   // setTimeout with a JS string containing similar code.
>   iframeWindow.setTimeout(
>  "if (!document.body)" +
>  "  document.write('');" +
>  "document.body.appendChild(document.createTextNode('Timer 2
> fired.'));", 1);
> }
> 
> 
> 
> 
> 
>
>
> Thanks,
> Dmitry
>
> ___
> webkit-dev mailing list
> webkit-dev@lists.webkit.org
> http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
>
>
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


[webkit-dev] Timer callback and 'this' object

2008-12-01 Thread Dmitry Titov
Hi webkit-dev,

I'm looking at JS timeout code and found a callback behavior that seems
strange. Not sure if it is intentional.
If timeout is set on a 'window' object from another frame and timeout
callback is specified as a JS string, it is executed "inside the frame"...
So the context of execution is different depending how the callback is
specified.

Here is html (also attached) that loads an empty IFRAME and sets 2 timeouts
on that iframe's window - as a JS closure and as JS string. In former case,
the callback runs in the main page (expected, since the JS closure
'captures' the context in which it is defined), in the latter- inside iframe
(a bit weird?). So the text goes in both "body" elements.

Is there a reason why JS string is evaluated in the inner context of the
iframe? Would a test verifying this behavior be a good thing? Curiously, IE
and FF behave the same way.



function test() {
  // Get the iframe's window.
  var iframeWindow = window.frames["testIframe"];

  // setTimeout with a closure as callback.
  iframeWindow.setTimeout(
function() {
  if (!document.body)
document.write('');
  document.body.appendChild(document.createTextNode('Timer 1
fired.'));}, 1);

  // setTimeout with a JS string containing similar code.
  iframeWindow.setTimeout(
 "if (!document.body)" +
 "  document.write('');" +
 "document.body.appendChild(document.createTextNode('Timer 2
fired.'));", 1);
}







Thanks,
Dmitry





___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


[webkit-dev] Can I use GtkFB for webkit-porting ?

2008-12-01 Thread sMiLo
Hello everyone.

I would like to port webkit using GtkFB instead of X11, Win32, Quartz,
DirectFB.
But when configuring webkit, I couldn't find some option for porting using
GtkFB.
Where can I found some easy method to port webkit using GtkFB?
Maybe, webkit does not support GtkFB. right?

Best regards,
Sungjun, Kim
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


[webkit-dev] Request debugging in WebKit

2008-12-01 Thread Shariq Rizvi
I noticed a macro REQUEST_DEBUG in WebCore/loading/loading.cpp which when
turned on dumps the requests which are loaded through WebKit.
This works successfully for some requests (e.g., image requests coming out
of an  tag) but not for others (e.g.,  requests for the URL
specified in the "src" attribute).
Is there another chokepoint which will dump *all* requests and not just
some?

Thanks!
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] Something about x11-port

2008-12-01 Thread Konsta Kokkinen
> On Monday 01 December 2008 15:57:06 Konsta Kokkinen wrote:
>
>> I meant with x11-port that it renders wanted page to x window given to
>> it,
>> not that it uses
>> different toolkits to render page. So I wasn't meant to replace cairo
>> rendering, I don't
>> even have enough skills for that. Just trying to remove need for gtk (or
>> any other widget
>> toolkits) on Linux.
>
> Is this meant to be a hobby task or do you think that there is an actual
> need
> for a purely X11 based port? If it is serious why not put your effort
> toward
> creating a plain cairo API (including exposing RenderTheme somehow)? This
> can
> be used with X11, directFB, pure images
>
> z.
> ___
> webkit-dev mailing list
> webkit-dev@lists.webkit.org
> http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
>
>
This is purely a hobby task, and I maybe use it in my own projects. What
do you mean with
plain cairo API? I meant that I make this port so, that it includes these
normal link-
clicking, clipboard etc. actions implemented, but API user have to make
scrollbars, context
menus and that kind of things itself.


___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] Purpose of script debug-safari?

2008-12-01 Thread Jack Wootton
On Mon, Dec 1, 2008 at 4:43 PM, Adam Roben <[EMAIL PROTECTED]> wrote:
>
> On Nov 27, 2008, at 12:58 PM, Jack Wootton wrote:
>
>> Apologies for the multiple questions, but this process seems to have
>> presented a few problems for me:
>>
>> Point 1.  I don't know if this is the best way to do it but I would
>> have thought most people load the webkit project into VS 2005, and
>> then attempt to run safari and debug it.  However the webkit project
>> cannot be loaded into VS 2005 without having already set
>> WEBKITLIBRARIESDIR.  So I don't see how debug-safari precludes the
>> need to set WEBKITLIBRARIESDIR.
>
> debug-safari sets the WEBKITLIBRARIESDIR environment variable just for the
> VS process it launches.

OK.

>
>> Point 2. I don't know what value the system variable WEBKITOUTPUTDIR
>> should have and can't find any instructions online, can someone help?
>
> http://trac.webkit.org/wiki/BuildingOnWindows#BuildingfromwithinVisualStudio 
> explains
> this environment variable.

Great, thanks for this.

>
>> Pont 3. Running debug-safari in cygwin results in VS 2005 opening for
>> a second time even though I already have it opened with project code
>> loaded.  This seems odd since I end up with two instances of VS 2005,
>> one with project code and one with safari.exe listed in the project
>> panel.  Am I using the command incorrectly?
>
> The script is behaving as expected.
>
> Perhaps your confusion comes from not knowing that it is possible to build
> WebKit without opening Visual Studio. The instructions that start at
>  take you from installing Cygwin
> through building WebKit and running Safari, all without opening Visual
> Studio. The debug-safari script is meant to complement this workflow, by
> allowing Visual Studio to be launched correctly for debugging Safari/WebKit
> without the user having configured his/her environment for the WebKit VS
> project files.

I built webkit without opening VS.  However I wish to step through the
code using VS.  What I don't understand is that using debug-safari
doesn't allow me to step through the code using VS because it launches
a new instance of VS which only lists the executable file.  This
brings me back to my original question of why use debug-safari?  Or
perhaps I could rephrase it as "how do I step through code by using
debug-safari?"  I can step through code, but only by NOT using
debug-safari.

>
> -Adam
>
>> On Wed, Nov 26, 2008 at 4:14 PM, Adam Roben <[EMAIL PROTECTED]> wrote:
>>>
>>> On Nov 26, 2008, at 5:10 AM, Jack Wootton wrote:
>>>
 Can anyone clarify the purpose of the script debug-safari?
>>>
>>> Sure:
>>>
 I loaded
 the webkit project into VS 2005, built it using cygwin, launched using
 the script run-safari and then attached the safari process to the
 project imported into VS 2005.
>>>
>>> One step you didn't mention was setting the WEBKITOUTPUTDIR and
>>> WEBKITLIBRARIESDIR environment variables prior to opening WebKit.sln
>>> inside
>>> Visual Studio.
>>>
>>> The purpose of the script is to remove the need to perform these actions
>>> manually. With the script, the sequence is:
>>>
>>> Run debug-safari
>>> Place breakpoints
>>> Press F5
>>>
 I did not require the script debug-safari for this.  Am I doing
 something
 wrong?
>>>
>>> Nope, you're just duplicating manually the things the script does
>>> automatically.
>>>
>>> -Adam
>>>
>>>
>>
>>
>>
>> --
>> Regards
>> Jack
>
>



-- 
Regards
Jack
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] Build webkit(Squirrelfish X) on windows

2008-12-01 Thread Adam Roben


On Dec 1, 2008, at 12:02 PM, Katherine Xie wrote:


Thanks for reply.

I finally got it built successfully after I found the some missing  
header files and libraries, they were not included in the webkit  
source.
Now I'm trying to build it using Visual Studio 2008, but got tons of  
warnings, like:


warning C4396: 'WTF::adoptRef' : the inline specifier cannot be used  
when a friend declaration refers to a specialization of a function  
template
see reference to class template instantiation 'WTF::PassRefPtr'  
being compiled


I know webkit site said currently it is not supported,  but just  
want to know is it easy to resolve this compile error?


You could try changing the .vcproj to ignore warning 4396.

-Adam


> Date: Mon, 1 Dec 2008 11:44:33 -0500
> From: [EMAIL PROTECTED]
> Subject: Re: [webkit-dev] Build webkit(Squirrelfish X) on windows
> To: [EMAIL PROTECTED]
> CC: webkit-dev@lists.webkit.org
>
>
> On Nov 27, 2008, at 12:43 PM, KayX wrote:
>
> >
> > Hi,
> >
> > I'm a newbee to the Webkit open source. Now I'm stucked at getting
> > it built
> > successfully on windows.
> > I tried to follow the steps on webkit.org site, but failed. I  
got a

> > lot of
> > compile errors complaining about missing hearder files, and then I
> > found
> > someone said it is because the newline endings are not UNIX(LF),
> > should be
> > fine if change those build.sh files to use UNIX(LF) newline  
ending.

> > I tried
> > but build still failed. What am I missing?
>
> Have you followed the instructions on  > for building WebKit on Windows (which includes JavaScriptCore)?
>
> >
> > Here is what we want to try: we have integrated V8 script engine
> > into our
> > project( we created wrapper class to have our own functionalies  
for

> > javascript calls) , now we're trying to do the same with webkit
> > squirrelfish
> > script engine. We would really appreciate that someone can give us
> > right
> > direction or suggestions. I tried the nightly pre-build, it  
seems the
> > webkit.dll contains all the browser interfaces, but I want only  
the

> > javascriptcore part. Is it possible?
>
> JavaScriptCore currently builds as a static library, not as a DLL.  
It
> shouldn't be too hard to change JavaScriptCore.vcproj to create a  
DLL,

> though.
>
> -Adam
>


Visit messengerbuddies.ca to find out how you could win. Enter today.


___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] WebKit with proxy

2008-12-01 Thread Adam Roben


On Dec 1, 2008, at 3:09 AM, houda hocine wrote:


Hi,

how i can  use webkit with an proxy server ?


It depends on which variety of WebKit you're using. The Mac/Windows  
ports of WebKit used by Safari defer proxy support to the underlying  
network implementation. On Windows, the proxy server configuration is  
picked up from the Internet Options control panel.


-Adam

___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] webkit r38760 degrades performance significantly

2008-12-01 Thread Adam Roben


On Nov 28, 2008, at 3:18 AM, Dave Cronk wrote:

As reported earlier the r38760 build caused a 5% degradation in  
performance on my MBP 17.  Now the r38826 build has caused a further  
degradation. During this period the Safari browser has maintained a  
score of about 3300.


Prior to r38760 - about 830
After r38760 - about 870
After r38826 - about 900

Please let me now if I'm the only one seeing this degradation and  
I'll check for any other possible explanations.


It sounds like you're running nightly builds. I think some other  
responders to this thread have assumed that you meant that the actual  
code change that resulted in r38760 being committed to Subversion  
caused a performance regression, while what you really mean (I think)  
is that the r38760 nightly build is slower than some nightly build  
prior to it.


Can you tell us which builds you ran and the "score" you obtained for  
each? (How was the "score" determined, btw?)


-Adam

___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] Build webkit(Squirrelfish X) on windows

2008-12-01 Thread Adam Roben


On Nov 27, 2008, at 12:43 PM, KayX wrote:



Hi,

I'm a newbee to the Webkit open source. Now I'm stucked at getting  
it built

successfully on windows.
I tried to follow the steps on webkit.org site, but failed. I got a  
lot of
compile errors complaining about missing hearder files, and then I  
found
someone said it is because the newline endings are not UNIX(LF),  
should be
fine if change those build.sh files to use UNIX(LF) newline ending.  
I tried

but build still failed. What am I missing?


Have you followed the instructions on  for building WebKit on Windows (which includes JavaScriptCore)?




Here is what we want to try: we have integrated V8 script engine  
into our

project( we created wrapper class to have our own functionalies for
javascript calls) , now we're trying to do the same with webkit  
squirrelfish
script engine. We would really appreciate that someone can give us  
right

direction or suggestions. I tried the nightly pre-build, it seems the
webkit.dll contains all the browser interfaces, but I want only the
javascriptcore part. Is it possible?


JavaScriptCore currently builds as a static library, not as a DLL. It  
shouldn't be too hard to change JavaScriptCore.vcproj to create a DLL,  
though.


-Adam

___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] Purpose of script debug-safari?

2008-12-01 Thread Adam Roben


On Nov 27, 2008, at 12:58 PM, Jack Wootton wrote:


Apologies for the multiple questions, but this process seems to have
presented a few problems for me:

Point 1.  I don't know if this is the best way to do it but I would
have thought most people load the webkit project into VS 2005, and
then attempt to run safari and debug it.  However the webkit project
cannot be loaded into VS 2005 without having already set
WEBKITLIBRARIESDIR.  So I don't see how debug-safari precludes the
need to set WEBKITLIBRARIESDIR.


debug-safari sets the WEBKITLIBRARIESDIR environment variable just for  
the VS process it launches.



Point 2. I don't know what value the system variable WEBKITOUTPUTDIR
should have and can't find any instructions online, can someone help?


http://trac.webkit.org/wiki/BuildingOnWindows#BuildingfromwithinVisualStudio 
 explains this environment variable.



Pont 3. Running debug-safari in cygwin results in VS 2005 opening for
a second time even though I already have it opened with project code
loaded.  This seems odd since I end up with two instances of VS 2005,
one with project code and one with safari.exe listed in the project
panel.  Am I using the command incorrectly?


The script is behaving as expected.

Perhaps your confusion comes from not knowing that it is possible to  
build WebKit without opening Visual Studio. The instructions that  
start at  take you from  
installing Cygwin through building WebKit and running Safari, all  
without opening Visual Studio. The debug-safari script is meant to  
complement this workflow, by allowing Visual Studio to be launched  
correctly for debugging Safari/WebKit without the user having  
configured his/her environment for the WebKit VS project files.


-Adam


On Wed, Nov 26, 2008 at 4:14 PM, Adam Roben <[EMAIL PROTECTED]> wrote:

On Nov 26, 2008, at 5:10 AM, Jack Wootton wrote:


Can anyone clarify the purpose of the script debug-safari?


Sure:


I loaded
the webkit project into VS 2005, built it using cygwin, launched  
using

the script run-safari and then attached the safari process to the
project imported into VS 2005.


One step you didn't mention was setting the WEBKITOUTPUTDIR and
WEBKITLIBRARIESDIR environment variables prior to opening  
WebKit.sln inside

Visual Studio.

The purpose of the script is to remove the need to perform these  
actions

manually. With the script, the sequence is:

Run debug-safari
Place breakpoints
Press F5

I did not require the script debug-safari for this.  Am I doing  
something

wrong?


Nope, you're just duplicating manually the things the script does
automatically.

-Adam






--
Regards
Jack


___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] Something about x11-port

2008-12-01 Thread Holger Freyther
On Monday 01 December 2008 15:57:06 Konsta Kokkinen wrote:

> I meant with x11-port that it renders wanted page to x window given to it,
> not that it uses
> different toolkits to render page. So I wasn't meant to replace cairo
> rendering, I don't
> even have enough skills for that. Just trying to remove need for gtk (or
> any other widget
> toolkits) on Linux.

Is this meant to be a hobby task or do you think that there is an actual need 
for a purely X11 based port? If it is serious why not put your effort toward 
creating a plain cairo API (including exposing RenderTheme somehow)? This can 
be used with X11, directFB, pure images

z.
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] is WebKit leaking or caching memory?

2008-12-01 Thread Luka Napotnik
Hello.

I've fixed the pango leak but the program still gradually leaks memory.
Are there any other known leaks?

Greets,
Luka

Dne 01.12.2008 (pon) ob 14:04 +0100 je Holger Freyther zapisal(a):
> On Monday 01 December 2008 13:22:08 Luka Napotnik wrote:
> 
> 
> > Now I'm asking if the memory increment is a result of WebKit caching
> > subsystem or could that be a leak? Keep in mind that I click/refresh the
> > same page over and over again.
> 
> Leak, Cache, Memory fragmentation are all possible. I think by default we do 
> not cache so leaking and fragmentation are more likely. Someone found a 
> leak in the Font handling of Gtk+ [1] (first bit) which might apply to the 
> stock Gtk+ as well.
> 
> z.
> 
> [1] https://bugs.webkit.org/show_bug.cgi?id=15914#c45
> ___
> webkit-dev mailing list
> webkit-dev@lists.webkit.org
> http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


[webkit-dev] WebKit with proxy

2008-12-01 Thread haithem rahmani
Hi,
you can use a poxy by setting the "http_proxy" envirement variable aa
follows

in the bash  do:

$> export http_proxy=:@:

and it should be OK.
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] Something about x11-port

2008-12-01 Thread Konsta Kokkinen
> On Monday 01 December 2008 09:15:00 Konsta Kokkinen wrote:
>> So, I'm started doing that x11-port I asked for some time ago. I have
>> some
>> questions about that, which I would get answer for. So:
>
> How do you want to implement the GraphicsContext with plain xcb/libx11
> usage
> without the usage of Cairo? I didn't think a lot but this idea looks like
> a
> step back into the past (limiting yourself  to a specific protocol).
>
> z.
> ___
> webkit-dev mailing list
> webkit-dev@lists.webkit.org
> http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
>
>

I meant with x11-port that it renders wanted page to x window given to it,
not that it uses
different toolkits to render page. So I wasn't meant to replace cairo
rendering, I don't
even have enough skills for that. Just trying to remove need for gtk (or
any other widget
toolkits) on Linux.

___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] How to enable Inspector in Webkit/GTK

2008-12-01 Thread Gustavo Noronha Silva
On Sun, 2008-11-30 at 18:32 -0600, ying lcs wrote:
> Thank to both of you.
> 
> I apply the patch. And now I see 'Inspect element' in the context
> element. But when I load www.google.com, the inspect window is just
> blank.
> 
> Can you please tell me what am I missing?

You probably forgot a 'make install', and WebKit is not finding the
HTML/CSS/Javascript files needed to run the inspector.

See you,

-- 
Gustavo Noronha Silva <[EMAIL PROTECTED]>
GNOME contributor: http://www.gnome.org/

___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] is WebKit leaking or caching memory?

2008-12-01 Thread Holger Freyther
On Monday 01 December 2008 13:22:08 Luka Napotnik wrote:


> Now I'm asking if the memory increment is a result of WebKit caching
> subsystem or could that be a leak? Keep in mind that I click/refresh the
> same page over and over again.

Leak, Cache, Memory fragmentation are all possible. I think by default we do 
not cache so leaking and fragmentation are more likely. Someone found a 
leak in the Font handling of Gtk+ [1] (first bit) which might apply to the 
stock Gtk+ as well.

z.

[1] https://bugs.webkit.org/show_bug.cgi?id=15914#c45
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


[webkit-dev] WebKit build failing (rev.38617)

2008-12-01 Thread haithem rahmani
Hi all,

When building the WebKit I have the following error:

opening dependency file .deps/DerivedSources/JSCSSMediaRule.Tpo: No such
file or directory

to fix that I created the directory
"DerivedSources/JSCSSMediaRule.Tpo" manually
and it's OK.

how to modify the build system to fix this ?

regards.
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


[webkit-dev] Porting WebKit on a new toolkit

2008-12-01 Thread Spack
Hi all,

I would like to port WebKit on a new graphic toolkit like Qt or GTK+. And I
want to know which way I need to take to do this.

All I want it's to have the WebKit's DLL from Windows but with my toolkit
functions. I was expected from the Wiki how to:
http://trac.webkit.org/wiki/SuccessfulPortHowTo. But no evolutions since a
while.

So can you briefly explain the main steps to port WebKit please ?
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


[webkit-dev] is WebKit leaking or caching memory?

2008-12-01 Thread Luka Napotnik
Hello.

I'm working on an application that uses WebKit as a "rendering farm". A
running program has a shared memory and an WebKit instance using the Gtk
+ port.

I've modified WebKit and added:
 - support for off-screen rendering, meaning instead of showing pages to
the screen I render them onto a cairo surface using the patches from the
Clutter project,
 - a function that simulates a click on a page with given X,Y
parameters.
 - a new signal to the Gtk+ port that triggers whenever a visible change
occurred on the page (opening html, JavaScript modifications)

The HTML page has a DIV tag that is sensitive to mouse clicks. A click
on that DIV tag will cause the page to modify.

Now I have a client program that connects to the WebKit program using
IPC. Then I load the mentioned HTML page and sends click requests every
0.25 seconds with the coordinates where the DIV tag is located.

What I've notices is, that after a while, memory of the WebKit program
increases. The program was running for about one hour and the process
memory increased for about 7 MB.

Now I'm asking if the memory increment is a result of WebKit caching
subsystem or could that be a leak? Keep in mind that I click/refresh the
same page over and over again.

Greets,
Luka

___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] Something about x11-port

2008-12-01 Thread Holger Freyther
On Monday 01 December 2008 09:15:00 Konsta Kokkinen wrote:
> So, I'm started doing that x11-port I asked for some time ago. I have some
> questions about that, which I would get answer for. So:

How do you want to implement the GraphicsContext with plain xcb/libx11 usage 
without the usage of Cairo? I didn't think a lot but this idea looks like a 
step back into the past (limiting yourself  to a specific protocol).

z.
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] proxying thru curl

2008-12-01 Thread goldeneyes



Never mind, this got resolved.

Thanks
Giri

On Wed, May 14, 2008 at 5:30 PM, Giri Rao <[EMAIL PROTECTED]> wrote:

> Hello,
>
> I have set up curl to go through a simple http proxy that I have written.
> I have a .curlrc with the following line in it:
>
> --proxy=http://:/
>
> When I invoke curl on command line, it goes thru the set proxy.  However,
> when I launch webkit through GtkLauncher, it does not seem to go through
> the
> proxy at all.  Is my understanding wrong in that webkit uses curl to fetch
> content?
>
> How do I make webkit go through my proxy?
>
> Any help is appreciated.
>
> Thanks
> Giri
>

Hi, 
I want to launch webkit with proxy, you can help me?  do you can give me the
link where i can find your source code please?
Thank you in advance , 
Best regards,
-- 
View this message in context: 
http://www.nabble.com/proxying-thru-curl-tp17236714p20768104.html
Sent from the Webkit mailing list archive at Nabble.com.

___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


[webkit-dev] Something about x11-port

2008-12-01 Thread Konsta Kokkinen
So, I'm started doing that x11-port I asked for some time ago. I have some
questions about that, which I would get answer for. So:

-Should I make directory structure something like it is with gtk, for
example. (like WebKit/x11, WebCore/platform/x11, etc.)
-Should I make implementations to platform-shared files with definition
PLATFORM(X11) or something like that? Where this is defined anyway? Is it
that when I build in Linux with ./autogen.sh and make it builds with
PLATFORM set to GTK? How I can set it for building?
-Should I make implementations to build-webkit script so it would be easily
compiled from that? If so, could you help with that (tell how define it)?

I'm asking these because I'm not sure how these things should be done. And
it could be possible to some day maybe get this port to official trunk.

___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


[webkit-dev] WebKit with proxy

2008-12-01 Thread houda hocine
Hi,

how i can  use webkit with an proxy server ?

greetings,
Hiba,
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev