Koen Bok | 4 Sep 14:30 2014

[Mac Desktop] Show Inspector With Code

Since the patch to allow developer extras landed:

I can set the _setDeveloperExtrasEnabled to get the "Inspect Element" menu on a right mouse click. It then nicely opens a new inspector window in my app.

I would like to show the inspector with a button in my UI, so I was looking how to do that. Can anyone help?

Thanks, Koen
<div><div dir="ltr">Since the patch to allow developer extras landed:<div>
<a href="https://bugs.webkit.org/show_bug.cgi?id=135811">https://bugs.webkit.org/show_bug.cgi?id=135811</a><br>
</div>
<div><br></div>
<div>I can set the&nbsp;<span>_setDeveloperExtrasEnabled to get the "Inspect Element" menu on a right mouse click. It then nicely opens a new inspector window in my app.</span>
</div>
<div><br></div>
<div><span>I would like to show the inspector with a button in my UI, so I was looking how to do that. Can anyone help?</span></div>
<div><span><br></span></div>
<div><span>Thanks, Koen</span></div>
</div></div>
pulkomandy | 2 Sep 15:42 2014

Rendering problems without 3D_RENDERING and TEXTURE_MAPPER

Hi,

I have a rather annoying issue with the Haiku port for some time. In
several places there are pages where parts are not rendered at all. For
example, on youtube.com the search bar at the top of the page does not
render.

I have identified the problem: anything using
	-webkit-transform: translate3d
or any other way to trigger the "3D" mode (even with an identity
transformation) is not rendered.

This would not be a problem if this was used only when 3D is actually
needed, but a lot of websites are using this in an attempt to enable
GPU-accelerated rendering on some browsers.

I tried enabling the 3D_RENDERING build feature but this has no effect
on its own. It seems 3D_RENDERING has an effect only when TEXTURE_MAPPER
is also enabled. We don't want to enable this, for performance reasons
(the texture mapper doesn't work very well with our currently software
rendered drawing code).

I don't think actual 3D rendering is an useful feature for the Haiku
port (at least not until we can use the GPU to do the rendering). So I'm
looking for either:
- A way to make WebKit ignore "translate3d" and the other 3D things in
  CSS and render pages as if there was no transform at all. I thought
  the 3D_RENDERING feature would do that, but apparently it doesn't.
- Or, a way to handle the 3D elements in our platform specific drawing
  code. At the moment it looks like the GraphicsContext mehods are never
  called to draw these 3D elements, but I don't understand why it is so.
  I suspect they are somehow intercepted and sent to a separate "3D"
  drawing code, but I couldn't find that anywhere in the source. So I
  have no idea how they are supposed to be drawn on screen, if they
  don't go through the GraphicsContext.

--

-- 
Adrien.
Baldeva, Arpit | 27 Aug 19:06 2014

Web Inspector Watch Expression

Hi,

 

It seems like watch expression support was removed from the Web Inspector in the recent past. This used to be available in old Inspector(though my old inspector is from 3 years ago). I do see a ticket about implementing a newer watch expression here - https://bugs.webkit.org/show_bug.cgi?id=125927 . However, I was wondering if there is a workaround way to have old watch expression panel available?

 

Thanks

Arpit

<div>
<div class="WordSection1">
<p class="MsoNormal">Hi,<p></p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal">It seems like watch expression support was removed from the Web Inspector in the recent past. This used to be available in old Inspector(though my old inspector is from 3 years ago). I do see a ticket about implementing a newer watch expression
 here - <a href="https://bugs.webkit.org/show_bug.cgi?id=125927">https://bugs.webkit.org/show_bug.cgi?id=125927</a> . However, I was wondering if there is a workaround way to have old watch expression panel available?<p></p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal">Thanks<p></p></p>
<p class="MsoNormal">Arpit<p></p></p>
</div>
</div>
Mark Skilbeck | 15 Aug 11:00 2014
Picon

How are nightlies built and packaged?

So, I’ve built webkit with a patch that brings a change I would like to see in safari (https://bugs.webkit.org/show_bug.cgi?id=135506). To run safari I do ./Tools/Scripts/run-safari. I would like to be able to “package” it, in the same way that nightly builds are packaged, so that I can just double click the webkit icon (or right click and keep in dock) rather than need the terminal.

So, how are the nightlies packaged? Is there a tool in the source tree for this?

<div>
<div>
<div>So, I&rsquo;ve built webkit with a patch that brings a change I would like to see in safari (<a href="https://bugs.webkit.org/show_bug.cgi?id=135506">https://bugs.webkit.org/show_bug.cgi?id=135506</a>). To run safari I do ./Tools/Scripts/run-safari. I would like to be able to &ldquo;package&rdquo; it, in the same way that nightly builds are packaged, so that I can just double click the webkit icon (or right click and keep in dock) rather than need the terminal.
</div>
<div><br></div>
<div>So, how are the nightlies packaged? Is there a tool in the source tree for this?
</div>
</div>
<div><br></div>
<div class="unibox-signature"></div>
</div>
Info | 14 Aug 11:13 2014
Picon

WebAudio time domain sample data range?

What is the range of the input sample data that the webaudio
implementation is dealing with (e.g. in  
/WebCore/Modules/webaudio/RealtimeAnalyser.cpp)?

Is it float values between -1 and 1, or is the data scaled
differently?

(I am trying to immitate the built-in logic of the AnalyzerNode, by  
running a JavaScript side FFT on the time domain data that I am  
getting in the "onaudioprocess" event of a ScriptProcessorNode. I am  
using all the scaling/transformation logic from RealtimeAnalyser.cpp  
but still my resuls are quite different from the built-in ones..)

Baldeva, Arpit | 14 Aug 01:37 2014

WinCairo/WinLauncher binary

Hi,

 

Is there any archive where I can access latest/nightly WinCairo/WinLauncher executable?

 

Thanks

Arpit

<div>
<div class="WordSection1">
<p class="MsoNormal">Hi,<p></p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal">Is there any archive where I can access latest/nightly WinCairo/WinLauncher executable?<p></p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal">Thanks<p></p></p>
<p class="MsoNormal">Arpit<p></p></p>
</div>
</div>
Info | 13 Aug 23:02 2014
Picon

FFT normalization in RealtimeAnalyser

In order to understand the idiotic differences between the data ranges  
of the AnalyzerNode's getFloatFrequencyData() and  
getByteFrequencyData() APIs I finally found myself analyzing the  
WebKit sources:  
https://github.com/WebKit/webkit/blob/master/Source/WebCore/Modules/webaudio/RealtimeAnalyser.cpp

What surprises me there is the:
     const double magnitudeScale = 1.0 / DefaultFFTSize;
which is used to normalize the FFT results (see  
RealtimeAnalyser::doFFTAnalysis()).

Should the correct scaling factor not rather be: 2/actualFftSize?

Megh Parikh | 10 Aug 19:39 2014
Picon

Emit signals from the webview

Is it possible to emit signals from the webview and contact with the outside gtk environment in any way?

Regards,
Megh Parikh
<div>
<div>
<div>Is it possible to emit signals from the webview and contact with the outside gtk environment in any way?<br><br>Regards,<br>Megh Parikh</div>
</div>
</div>
pulkomandy | 6 Aug 09:11 2014

WebKit2, Coordinated Graphics and Texture Mapper

Hello WebKit,

I started working on moving the Haiku port of WebKit to WebKit2.
However, I can't find a combination of options that leads to succesfully
compiling everything.

Maybe you can help me with that. First, let's check if I understand
things right:

- WebKit2 needs COORDINATED_GRAPHICS in order to split the UIProcess
  from the WebProcess.
- COORDINATED_GRAPPHICS needs TEXTURE_MAPPER.

In preparation for this I have made our WebKit1 port enable the
COORDINATED_GRAPHICS and TEXTURE_MAPPER flags. This works, save for some
clipping issues in our GraphicsContext implementation which I'm still
investigating.

However, when trying to build WebKit2, I found that it will fail to
build. It seems some code is hardwired to work only with the GL-based
texture mapper. Not having an accelerated OpenGL implementation, we
would like to not use that. It looks like the flag 3D_GRAPHICS should be
used to enable the GL texture mapper (and possibly other things needing
GL), but that flag is not used as it should everywhere, so the GL
texture mapper ends up being used anyway.

Am I correct that adding the appropriate USE(3D_GRAPHICS) guards where
needed will make it possible to build a WebKit2 that doesn't need GL? Is
there a port already doing that? Any other compile flags I should look
at? Is it impossible to do this, and should I try to get GL to work even
if it is software rendered?

Thanks,
--

-- 
Adrien.
Paul Jacobs | 4 Aug 16:00 2014
Picon

waitForThreadCompletion

Can get WebKit compiled for Win32/VS2013 but get an error saying that waitForThreadCompletion cannot be located in JavaScriptCore.dll.  Researching now but any help or insight would be appreciated.
<div><div dir="ltr">Can get WebKit compiled for Win32/VS2013 but get an error saying that&nbsp;waitForThreadCompletion cannot be located in JavaScriptCore.dll. &nbsp;Researching now but any help or insight would be appreciated.</div></div>
Gerry Tan | 29 Jul 02:24 2014
Picon

WebKitSupportLibrary.zip is out-of-date r171650

Downloaded the source code from http://builds.nightly.webkit.org/files/trunk/src/WebKit-r171650.tar.bz2 and support library from https://developer.apple.com/opensource/internet/webkit_sptlib_agree.html but every time I tried to build using Tools/Scripts/build-webkit I get WebKitSupportLibrary.zip is out-of-date error message.

I tried a revision 1 month older but same problem exist.

Please help

Regards,
Gerry
<div><div dir="ltr">Downloaded the source code from&nbsp;<a href="http://builds.nightly.webkit.org/files/trunk/src/WebKit-r171650.tar.bz2">http://builds.nightly.webkit.org/files/trunk/src/WebKit-r171650.tar.bz2</a> and support library from&nbsp;<a href="https://developer.apple.com/opensource/internet/webkit_sptlib_agree.html">https://developer.apple.com/opensource/internet/webkit_sptlib_agree.html</a> but every time I tried to build using&nbsp;Tools/Scripts/build-webkit I get&nbsp;WebKitSupportLibrary.zip is out-of-date error message.<div>
<br>
</div>
<div>I tried a revision 1 month older but same problem exist.</div>
<div><br></div>
<div>Please help<br><div><br></div>
<div>Regards,</div>
<div>Gerry</div>
</div>
</div></div>

Gmane