[webkit-dev] Porting document

2008-12-13 Thread Sadashiv Nayak
Hi,
   Where can I find webkit porting document?  I could not find it.
Can somebody share the document to me?

Thanks in advance,
Sadashiv



  Download prohibited? No problem. CHAT from any browser, without download. 
Go to http://in.webmessenger.yahoo.com/___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] Porting document

2008-12-13 Thread Zoltan Horvath

Sadashiv Nayak wrote at: 2008. 12. 13. 12.19.:
 Hi,
    Where can I find webkit porting document?  I could not find it.
 Can somebody share the document to me?

 Thanks in advance,
 Sadashiv

Hi,

Portability: http://webkit.org/projects/portability/index.html

Mailing lists maybe contains help for you (2 older threads):

http://lists.macosforge.org/pipermail/webkit-dev/2007-July/002139.html
http://lists.macosforge.org/pipermail/webkit-dev/2007-May/001858.html

You can find similar threads in webkit-dev archives:
https://lists.webkit.org/pipermail/webkit-dev/

Regards,

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


[webkit-dev] NWFPE: GtkLauncher takes exception

2008-12-13 Thread Srinivas Rao M Hamse
Hi,

I am using WebKit on Gtk Directfb on ARM platform.
I am getting couple NWFPE exception thrown on console.

7NWFPE: GtkLauncher[1456] takes exception 0001 at c0034290 from
40ae12a0

Has anyone got this exception. How to resolve this issue.
Also when this exception happen, does this slow processor execution.

regards,
Srinivas Rao. M

-- 
Srinivas Rao M  Hamse http://msrinirao.blogspot.com
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] Fw: not enough space error???

2008-12-13 Thread Justin Haygood
No, but all the source code and object files used to create it are.
  - Original Message - 
  From: Aman 
  To: webkit-dev 
  Sent: Saturday, December 13, 2008 2:08 AM
  Subject: [webkit-dev] Fw: not enough space error???


  Hi,

  The release version of the WebCore.lib is about 1.2G, not really??? anybody 
knows that??

  Aman


  From: Aman 
  Sent: Saturday, December 13, 2008 1:59 PM
  To: aro...@apple.com 
  Cc: webkit-dev 
  Subject: not enough space error???


  Hi, Adam and everybody:

  I received this error the message while building WebCore(release) as someone 
else before:

  Linking...
  fatal error C1083: Cannot open compiler intermediate file: 
'C:\cygwin\home\Administrator\webkit\WebKitBuild\lib\WebCore.lib': Not enough 
space

  and i saw your post message about this error , but i think it is not like 
https://bugs.webkit.org/show_bug.cgi?id=19743.(i am using the newest version)

  Aman


--


  ___
  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] How to run GtkLauncher in a debugger

2008-12-13 Thread ying lcs
Hi,

I am running the Gtk port of webkit under linux. I run my problem like
this : ./Program/GtkLauncher
Can you please tell me How to run GtkLauncher in a debugger (gdb)?

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


Re: [webkit-dev] How to run GtkLauncher in a debugger

2008-12-13 Thread Zoltan Horvath

Hi,

gdb ./Program/GtkLauncher

after this you can run with:

run
(enter :-) )

Zoltan

ying lcs wrote at: 2008. 12. 13. 21.06.:
 Hi,

 I am running the Gtk port of webkit under linux. I run my problem like
 this : ./Program/GtkLauncher
 Can you please tell me How to run GtkLauncher in a debugger (gdb)?

 Thank you.
 ___
 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


Re: [webkit-dev] How to run GtkLauncher in a debugger

2008-12-13 Thread ying lcs
On Sat, Dec 13, 2008 at 2:06 PM, ying lcs ying...@gmail.com wrote:
 Hi,

 I am running the Gtk port of webkit under linux. I run my problem like
 this : ./Program/GtkLauncher
 Can you please tell me How to run GtkLauncher in a debugger (gdb)?

 Thank you.


I get this when i run gdb ./Program/GtkLauncher

This GDB was configured as i486-linux-gnu...
/media/storage/sandbox/WebKit/Programs/GtkLauncher: not in
executable format: File format not recognized
(gdb) quit
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] How to run GtkLauncher in a debugger

2008-12-13 Thread ying lcs
On Sat, Dec 13, 2008 at 2:10 PM, ying lcs ying...@gmail.com wrote:
 On Sat, Dec 13, 2008 at 2:06 PM, ying lcs ying...@gmail.com wrote:
 Hi,

 I am running the Gtk port of webkit under linux. I run my problem like
 this : ./Program/GtkLauncher
 Can you please tell me How to run GtkLauncher in a debugger (gdb)?

 Thank you.


 I get this when i run gdb ./Program/GtkLauncher

 This GDB was configured as i486-linux-gnu...
 /media/storage/sandbox/WebKit/Programs/GtkLauncher: not in
 executable format: File format not recognized
 (gdb) quit


I guess I did not compile the Webkit gtk with debug mode.
I follow the instruction here:
http://live.gnome.org/WebKitGtk

So how can I compile Webkit gtk with debug mode?

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


Re: [webkit-dev] How to run GtkLauncher in a debugger

2008-12-13 Thread ying lcs
On Sat, Dec 13, 2008 at 2:13 PM, ying lcs ying...@gmail.com wrote:
 On Sat, Dec 13, 2008 at 2:10 PM, ying lcs ying...@gmail.com wrote:
 On Sat, Dec 13, 2008 at 2:06 PM, ying lcs ying...@gmail.com wrote:
 Hi,

 I am running the Gtk port of webkit under linux. I run my problem like
 this : ./Program/GtkLauncher
 Can you please tell me How to run GtkLauncher in a debugger (gdb)?

 Thank you.


 I get this when i run gdb ./Program/GtkLauncher

 This GDB was configured as i486-linux-gnu...
 /media/storage/sandbox/WebKit/Programs/GtkLauncher: not in
 executable format: File format not recognized
 (gdb) quit


 I guess I did not compile the Webkit gtk with debug mode.
 I follow the instruction here:
 http://live.gnome.org/WebKitGtk

 So how can I compile Webkit gtk with debug mode?

 Thank you.


I think i find out the answer myself.

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


Re: [webkit-dev] How to run GtkLauncher in a debugger

2008-12-13 Thread ying lcs
Thank you Zoltan.

But what i don't get is , the compilation fails with  'No space left
on device'. I have cleared more and more disk space, but it always
fails.

And i have checked that I do have ~ 700 MB in the drive where my
WebKit source is located. And I also have ~ 600 MB in my home
directory.

$df .
Filesystem   1K-blocks  Used Available Use% Mounted on
/dev/sdc4 31493532  29185244721068  98% /media/storage

df ~
Filesystem   1K-blocks  Used Available Use% Mounted on
/dev/sdc1 29095324  26938820690176  98% /





On Sat, Dec 13, 2008 at 2:21 PM, Zoltan Horvath
horvath.zolta...@stud.u-szeged.hu wrote:

 Yes, the GtkLauncher binary should be inside the WebKit/WebKitBuild/...
 directory.

 You should follow the instructions:
 http://trac.webkit.org/wiki/BuildingGtk

 If you've all dependencies installed, you can easy compile in debug mode with:
 WebKitTools/Scripts/build-webkit --gtk --debug

 Zoltan

 ying lcs wrote at: 2008. 12. 13. 21.13.:
 On Sat, Dec 13, 2008 at 2:10 PM, ying lcs ying...@gmail.com wrote:
  On Sat, Dec 13, 2008 at 2:06 PM, ying lcs ying...@gmail.com wrote:
  Hi,
 
  I am running the Gtk port of webkit under linux. I run my problem like
  this : ./Program/GtkLauncher
  Can you please tell me How to run GtkLauncher in a debugger (gdb)?
 
  Thank you.
 
  I get this when i run gdb ./Program/GtkLauncher
 
  This GDB was configured as i486-linux-gnu...
  /media/storage/sandbox/WebKit/Programs/GtkLauncher: not in
  executable format: File format not recognized
  (gdb) quit

 I guess I did not compile the Webkit gtk with debug mode.
 I follow the instruction here:
 http://live.gnome.org/WebKitGtk

 So how can I compile Webkit gtk with debug mode?

 Thank you.
 ___
 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 mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] How to run GtkLauncher in a debugger

2008-12-13 Thread Zoltan Horvath

If you compile with --debug, usually you need minimum 1.5GB free place (in the 
drive where your WebKit directory is located).

First, I should you to compile a release. (as I know just --gtk is enough)

Zoltan

ying lcs wrote at: 2008. 12. 13. 22.54.:
 Thank you Zoltan.

 But what i don't get is , the compilation fails with  'No space left
 on device'. I have cleared more and more disk space, but it always
 fails.

 And i have checked that I do have ~ 700 MB in the drive where my
 WebKit source is located. And I also have ~ 600 MB in my home
 directory.

 $df .
 Filesystem   1K-blocks  Used Available Use% Mounted on
 /dev/sdc4 31493532  29185244721068  98% /media/storage

 df ~
 Filesystem   1K-blocks  Used Available Use% Mounted on
 /dev/sdc1 29095324  26938820690176  98% /





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


Re: [webkit-dev] PositionOptions null

2008-12-13 Thread Greg Bolsinga

On Dec 12, 2008, at 12:50 PM, Aurelian Maga wrote:


Hello,

I'm trying the geolocation api (gtk implementation with geoclue) and  
in a javascript I'm creating a postionoptions object like this:


var options = {enableHighAccuracy:true,timeout:3};

and pass this to getCurrentPosition.  The  
GeolocationServiceGtk::startUpdating(PositionOptions* options) is  
being called but the options object is null.


Could someone point me in  the right direction to fix this?


Yeah, this is a known issue that doesn't have a bug! Can you file a  
bug? ;) Thanks, -- Greg

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


[webkit-dev] Reflective XSS filter for WebKit

2008-12-13 Thread Adam Barth
I'm considering implementing a reflective XSS filter similar in scope
to the XSS filter in IE8, and I wanted to gauge interest from folks in
the WebKit community before investing a lot of time into the project.

== Background ==

Cross-site scripting (XSS) is the most common web application
vulnerability.  There are two types of XSS vulnerabilities, reflective
XSS and stored XSS.  The main difference is that the attack string in
a reflective XSS attack is immediately outputted (reflected back) by
the web site, whereas in a stored attack, the attack string is stored
in (and later retrieved from) the site's database.

Many web sites contain very simple reflective XSS vulnerabilities
along the lines of:

h1Hi there ?php echo GET[name] ?/h1

A web browser can hope to protect these sites by recognizing that a
query parameter in the HTTP request was reflected back in the HTTP
response and was executed as script.  IE8 contains such as reflective
XSS filter, which seems to be fairly effective at mitigating some
classes of vulnerabilities.

== Disadvantages ==

Implementing an XSS filter has a few disadvantages:

1) By nature, such a filter is heuristic and will have false
positives.  We can take steps to reduce the false positive rate, but
there will be some sites that break.  IE8 lets sites opt-out of the
filter via HTTP headers.  We can certainly honor these headers.

2) Because the filter mitigates only some classes of vulnerabilities,
the filter might leave site developers with a false sense of security.
 Those developers might not patch certain XSS holes because they
believe the browser will protect them (which might or might not be
true).

3) By altering the semantics of web pages, the filter might introduce
new vulnerabilities into sites.  We have some specific examples of
vulnerabilities introduced by the IE8 XSS filter, but these
vulnerabilities tend to be much less severe than the vulnerabilities
blocked by the filter.

4) The additional processing done by the filter might degrade
performance.  Without an implementation, I can't say what the
performance impact would be, but we can aim to minimize the costs.

== Conclusion ==

These disadvantages are balanced by the security benefit of
automatically protecting users from some classes of XSS
vulnerabilities.  If enough members of the WebKit community are
interested in an XSS filter, I can circulate a design doc for
comments.

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


Re: [webkit-dev] PositionOptions null

2008-12-13 Thread Greg Bolsinga

On Dec 13, 2008, at 2:25 PM, Greg Bolsinga wrote:


On Dec 12, 2008, at 12:50 PM, Aurelian Maga wrote:


Hello,

I'm trying the geolocation api (gtk implementation with geoclue)  
and in a javascript I'm creating a postionoptions object like this:


var options = {enableHighAccuracy:true,timeout:3};

and pass this to getCurrentPosition.  The  
GeolocationServiceGtk::startUpdating(PositionOptions* options) is  
being called but the options object is null.


Could someone point me in  the right direction to fix this?


Yeah, this is a known issue that doesn't have a bug! Can you file a  
bug? ;) Thanks, -- Greg


I went ahead and filed:

https://bugs.webkit.org/show_bug.cgi?id=22847

It has a patch too.

-- Greg

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


[webkit-dev] hi,I am newbie to Webkit,can you help me?

2008-12-13 Thread 胡 波
I am newbie to Webkit,I want to study,could you explain to me the steps that 
study?And how to explant the windowmobile?


  ___ 
  好玩贺卡等你发,邮箱贺卡全新上线! 
http://card.mail.cn.yahoo.com/
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


[webkit-dev] WebKit runtime image compression

2008-12-13 Thread Paul Pedriana
For a lot of web pages, images are the primary source of memory usage. 
These images seem to be typically stored as RGB or ARGB data in the 
BitmapImage class. It seems to me that applications that wish or need to 
save runtime memory could benefit from runtime image compression whereby 
images are stored in some compressed form instead of RGB or ARGB 
formats. I am currently looking into this possibility and I'm wondering 
if anybody has previously looked into it.


My current idea is to support two kinds of compressed images: RLE and 
YCoCg-DXT5. The former could be for any images that are simple enough, 
and the latter could be for general images and give a fixed 4:1 
compression ratio. RGB transforms to YCoCg with better decorrelation 
(breakdown of RGB to YCC) than YCbCr and many images can get PSNR values 
over 40 (i.e. hard to tell from original). If the computer has decent 
vector processing or a programmable GPU, the performance could be 
decent, otherwise it depends on the CPU. (A)RGB could of course remain 
as a fallback.


I'm wondering if anybody has looked into runtime image compression with 
WebKit and considered options such as this.


Thanks.


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