Jiho Choi | 10 Dec 20:40 2014
Picon

Is there a documentation for bytecodes?

Hi all,
I was wondering if there is any documentation for JSC's bytecode instructions.
Source/JavaScriptCore/bytecode/BytecodeList.json provides the list with an opcode and the length of each bytecode instruction, and I was wondering if there exists further explanation.

Thanks,
Jiho

<div><div dir="ltr">
<div>Hi all,</div>I was wondering if there is any documentation for JSC's bytecode instructions.<div>Source/JavaScriptCore/bytecode/BytecodeList.json provides the list with an opcode and the length of each bytecode instruction, and I was wondering if there exists further explanation.<br><div><br></div>
<div>Thanks,</div>
<div>Jiho<br><div><br></div>
</div>
</div>
</div></div>
Malek Musleh | 13 Nov 19:20 2014
Picon

Running JetStream Benchmark StandAlone

Hi,

I am not sure if this is the most appropriate mailing list for asking
questions about JetStream.

I want to be able to run the jetstream benchmark in an "offline"
manner, and wanted to confirm if the following methodology is correct
or not.

It looks like there isnt a single tarball or repo for just the
jetstream suite, but I suspect its part of the main WebKit svn repo --
correct?

http://browserbench.org/JetStream/in-depth.html

This link describes the benchmark suite in more detail, and has links
to the specific .js files used.

If I download the corresponding .js files, and then create an
index.html file that "onload" activates the corresponding js script
benchmark. I would then use a browser (e.g. firefox) to point to the
local index.html file, and when it does it should load the js
benchmark.

Is that correct?

For example, I see that the 3d-cube.js file
http://browserbench.org/JetStream/sources/3d-cube.js

contains the same code as the source page of:
http://www.speich.net/projects/programming/3d.htm

and the html page contains a call to Init().

Secondly, I want to know how (if) WebKit invokes the JetStream suite.
Is there a set of regression tests that I can be directed to?

Thanks,

Malek
Dean Jackson | 7 Oct 21:34 2014
Picon

Re: Need help to find Web Messaging and Push-api code


> On 7 Oct 2014, at 5:36 pm, SHIVAKUMAR JAGALUR MATT
<shiva.jm@...> wrote:
> 
> Dear  Jackson,
> 
>         Thanks for the information.  Any reason behind not to add push-api suppourt in webkit ?. It seems W3C and
IETF are now publishing latest push-api spec https://w3c.github.io/push-api/, so can we consider to
add these push-api suppourt in webkit also?

I don't think anyone has spoken out against putting support for push into WebKit.

You (or someone) will need to make a proposal to this list, explaining why you think it's worth having. The
fact that a specification exists isn't enough. We'd also need to have an idea of who will write and maintain
the code, the stability of the technology, what other engines are planning to do, etc.

Dean

> 
> Thanks
> Shiva
> 
> ------- Original Message -------
> Sender : Dean Jackson<dino@...>
> Date : Oct 04, 2014 04:32 (GMT+09:00)
> Title : Re: [webkit-help] Need help to find Web Messaging and Push-api code
> 
> 
> 
> On 30 Sep 2014, at 3:31 pm, SHIVAKUMAR JAGALUR MATT
<shiva.jm@...> wrote:
> 
> 
>            I was trying to find the IDL file and implementation support for Web Messaging
(http://www.w3.org/TR/webmessaging/ ) and Push-api (http://www.w3.org/TR/push-api/ ) in webkit.  I
found the MessagePort.idl, MessagePort.cpp under source/webcore/dom folder are these right files for
Web Messaging?.  But I could not find any idl files for Push-api, is Webkit supports Push-api or no?.
> 
> 
> No, it does not.
> 
> 
> Dean

SHIVAKUMAR JAGALUR MATT | 30 Sep 07:31 2014

Need help to find Web Messaging and Push-api code

Dear   All,

 

             I was trying to find the IDL file and implementation support for Web Messaging (http://www.w3.org/TR/webmessaging/ ) and Push-api (http://www.w3.org/TR/push-api/ ) in webkit.  I found the MessagePort.idl, MessagePort.cpp under source/webcore/dom folder are these right files for Web Messaging?.  But I could not find any idl files for Push-api, is Webkit supports Push-api or no?.

 

Thanks

Shiva

<div><div class="WordSection1">
<p class="MsoNormal">Dear &nbsp;&nbsp;All,<p></p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; I was trying to find the IDL file and implementation support for Web Messaging (<a href="http://www.w3.org/TR/webmessaging/">http://www.w3.org/TR/webmessaging/</a> ) and Push-api (<a href="http://www.w3.org/TR/push-api/">http://www.w3.org/TR/push-api/</a> ) in webkit. &nbsp;I found the MessagePort.idl, MessagePort.cpp under source/webcore/dom folder are these right files for Web Messaging?. &nbsp;But I could not find any idl files for Push-api, is Webkit supports Push-api or no?.<p></p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal">Thanks<p></p></p>
<p class="MsoNormal">Shiva<p></p></p>
</div></div>
Alex Shore | 22 Sep 04:29 2014
Picon
Picon

webkit changes after 10.7.5 regarding fixed font default action in filemaker pro versus Safari and default commands to remedy the discrepancy

Hi,

I run a custom database in Filemaker Pro (and Advanced) 11 and 13 that works fine under 10.7.5 and on Windows
7, but once I upgraded to 10.9.4 - the formatting of the webpages filemaker pro (FMP) was displaying was all
distorted.  Apparently this is well known behavior since the webkit changed a default handling of fixed
font family preferences after Lion.

So, in Safari, I can fix the behavior so that displaying the web page in Safari under 10.9.4 works just fine by
running the following default commands:

defaults write com.apple.Safari
com.apple.Safari.ContentPageGroupIdentifier.WebKit2FixedFontFamily Monaco

defaults write com.apple.Safari
com.apple.Safari.ContentPageGroupIdentifier.WebKit2DefaultFixedFontSize 11

I've asked FMP Tech support about it, and that didn't get far; just a "we're not Safari - and where did you get
the idea that the webviewer element should be used to view web pages"

So, if the same FMP database works fine on 10.7.5, but doesn't on 10.9.4 = but viewing the same URL through
Safari on the same machine at the same time after setting the defaults as above renders the page correctly -
I would hope that there is a defaults option that I can set universally for webkit so that when FMP calls it,
it will use the same fixedfontfamily and fixedfondsize as I've told Safari to use.

I tried to explain to the FMP tech support contact that I needed the bundle and Identifier (corresponding to
ContentPageGroupIdentifier) for FMP to write the correct setting - but that didn't get far.

So, short of trying to come up to speed on building a custom version of webkit to run on my machine under 10.9.4
just so I can keep moving forward with FMP and MacOS - is there either a defaults command that I can use to
alter the behavior of FMP?

Or, if there a defaults command(s) that I can use that alters the behavior of webkit for all applications?

Your assistance is appreciated in advance.

My background is way - back (designed EGA and VGA chipsets at IBM back in early 80's) and then designed chips
for HP - but due to math of low noise amplifiers being similar to modern portfolio theory risk calculation,
I do portfolio managment - hence what the database in FMP is used for.  All that is to say I'm real comfortable
with terminal and shells in unix - but not all that familiar with the webdesign tools and terminology. 
Eventually, after burrowing through about 100 levels of code, it still is just poly over silicon - you may
lose me in the terminology of the intermediate levels.

Thank you,
Alex
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>

Gmane