[webkit-dev] npapi plugin example on qt embedded 4.5.0?

2009-04-02 Thread leslie lige

Hi, 

Does qt embedded 4.5.0 webkit support npapi plugins? if it does, anybody can 
send me a example plugin?
I have tested npapi plugin on qt x11 4.5.0 webkit, it works fine. I hope 
framebuffer version of qt can do that so.

BR,

Leslie

_
Drag n’ drop—Get easy photo sharing with Windows Live™ Photos.

http://www.microsoft.com/windows/windowslive/products/photos.aspx___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] npapi plugin example on qt embedded 4.5.0?

2009-04-02 Thread Sriram Neelakandan
Currently XP_UNIX assumes X11 ..so plugins will not work on Webkit on
Linux without X11!
BTW, there are no plugins for linux without X11, unless they are custom !
Most of them are either Xembed or Xt based.

2009/4/2 leslie lige leslie...@hotmail.com:
 Hi,

 Does qt embedded 4.5.0 webkit support npapi plugins? if it does, anybody can
 send me a example plugin?
 I have tested npapi plugin on qt x11 4.5.0 webkit, it works fine. I hope
 framebuffer version of qt can do that so.

 BR,

 Leslie

 
 What can you do with the new Windows Live? Find out
 ___
 webkit-dev mailing list
 webkit-dev@lists.webkit.org
 http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev





-- 
Sriram Neelakandan
Author - Embedded Linux System Design And Development
(http://tinyurl.com/2doosu)
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


[webkit-dev] WebKit crashes when using custom scrollbars

2009-04-02 Thread Frank Thomsen
Hi all

I have a problem with the Cairo-based windows port and custom scrollbars: when 
the application closes an exception is thrown in the line
   if (!m_data-hasAnimations())

in the method
void AnimationController::cancelAnimations(RenderObject* renderer)
{
   if (!m_data-hasAnimations())
  return;

   if (m_data-clear(renderer)) {
Node* node = renderer-node();
ASSERT(!node || (node-document()  !node-document()-inPageCache()));
node-setChanged(AnimationStyleChange);
}
}

In AnimationController.cpp.

The exception is:
Unhandled exception at some-address (WebKit.dll) in myapp.exe:
0xC005: Access violation reading location 0x05b8

I am building revision 42150 with the cairo-patch (#28910, bug report 
https://bugs.webkit.org/show_bug.cgi?id=17484).

Has anyone seen this before and knows what the problem is? I am using the 
testpage at 
http://trac.webkit.org/export/41842/trunk/LayoutTests/scrollbars/overflow-scrollbar-combinations.html


Any input will be greatly appreciated.

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


Re: [webkit-dev] Customization of WebKit.

2009-04-02 Thread Paul Pedriana




I have done the same thing and it worked mostly automatically. There
were only a few mistakes in the code whereby disabling one of them
caused something to break, but this was manually fixable. But the build
file set didn't need to be modified. If you are using the OWB port you
will find that if you disable SVG then you need to manually modify the
build files to remove compilation of some SVG files. 




  
  
  Hi,
   I want to disable the SVG,XML,XPATH,XSLT features of WebKit.
  And i came to know that,disabling of above featurescan be
achieved by usingFEATURE_DEFINES Variable in _javascript_Core.xcconfig,
WebKit.xcconfig,WebCore.xcconfig files.I want to knowwhether the above
method is enough or i should remove corresponding XML,SVG,XPATH
specific files (.cpp,.h files)in WebKit for diasbling.If Yes,please
mention which are all the files ishould remove in WebKit?
  
  Thanks and Regards
  jagadeesh
  
  
  

___
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] Customization of WebKit.

2009-04-02 Thread David Kilzer
The FEATURE_DEFINES variables in *.xcconfig files are only used when building 
WebKit for Safari on Mac OS X.  Unless you're working on that specific port, 
you need to enable/disable those flags elsewhere.  Hint:

$ grep -l -r ENABLE_XSLT WebCore
WebCore/Configurations/WebCore.xcconfig
WebCore/GNUmakefile.am
WebCore/webcore-base.bkl
WebCore/WebCore.pro
WebCore/WebCore.vcproj/WebCore.vcproj

Dave





From: jagadeesh k jagadees...@yahoo.com
To: webkit-dev@lists.webkit.org
Sent: Wednesday, April 1, 2009 9:17:17 PM
Subject: [webkit-dev] Customization of WebKit.


Hi,
I want to disable the SVG,XML,XPATH,XSLT features of WebKit.
And i came  to know that,disabling of above features can be achieved by using 
FEATURE_DEFINES Variable in JavaScriptCore.xcconfig, 
WebKit.xcconfig,WebCore.xcconfig files.I want to know whether the above method 
is enough or i should remove corresponding XML,SVG,XPATH specific files 
(.cpp,.h files)in WebKit for diasbling.If Yes,please mention which are all the 
files i should remove in WebKit?
 
Thanks and Regards
jagadeesh  
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] Announce the ARM port of JIT (Gabor Loki)

2009-04-02 Thread haithem rahmani
Hi,

 why the JavaScriptCore/wrec/WRECGenerator.cpp file  was not ported to
use ARM instructions?

regards.

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


Re: [webkit-dev] Announce the ARM port of JIT (Gabor Loki)

2009-04-02 Thread Osztrogonac Csaba

Hi,

There isn't any barrier why not porting WREC. We are
going to port WREC, the development is ongoing, and
the results will be available too.

br,
Ossy


haithem rahmani írta:

 why the JavaScriptCore/wrec/WRECGenerator.cpp file  was not ported to
use ARM instructions?
 
regards.
 
haithem


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


Re: [webkit-dev] WebKit crashes when using custom scrollbars

2009-04-02 Thread Adam Roben

On Apr 2, 2009, at 3:53 AM, Frank Thomsen wrote:

I have a problem with the Cairo-based windows port and custom  
scrollbars: when the application closes an exception is thrown in  
the line

   if (!m_data-hasAnimations())

Has anyone seen this before and knows what the problem is? I am  
using the testpage at http://trac.webkit.org/export/41842/trunk/LayoutTests/scrollbars/overflow-scrollbar-combinations.html


I haven't heard of this crash before. Would you be willing to file a  
bug at http://webkit.org/new-bug? That's probably the best way to  
get this addressed. Thanks!


-Adam

___
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???

2009-04-02 Thread Ben Murdoch
Hi guys,

FYI, I sent a patch and this is fixed in r42175 for 32-bit setups.

Thanks, Ben

2009/4/1 Sverrir Á. Berg sver...@chromium.org

 I've had this problem and I've heard of others.  My solution was switching
 to a Mac for development.  Number of people have no problems building with
 that setup but I think the mainstream setup for Windows is moving towards
 64-bit Vista with lots of memory (but still building 32-bit)...
 Sverrir


 2009/4/1 Ben Murdoch bmurd...@gmail.com

 Hi,

 I'm running into the same problem, C1083 (not enough space) trying to link
 WebCore.lib on Windows XP SP3 in Cygwin (working with r42007). I've tried
 setting the /3GB boot option, but that doesn't seem to help. Were you able
 to solve this problem Aman? Has anyone else run into it and found a
 solution? Debug builds work fine for me.

 Thanks, Ben

 2008/12/13 Justin Haygood jhayg...@reaktix.com

  No, but all the source code and object files used to create it are.

 - Original Message -
  *From:* Aman zhaiqi...@gmail.com
 *To:* webkit-dev webkit-dev@lists.webkit.org
 *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 zhaiqi...@gmail.com
 *Sent:* Saturday, December 13, 2008 1:59 PM
 *To:* aro...@apple.com
 *Cc:* webkit-dev webkit-dev@lists.webkit.org
 *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




 --
 Ben Murdoch
 http://www.omgwtf.me.uk
 b...@omgwtf.me.uk | bmurd...@gmail.com

 ___
 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




-- 
Google UK Limited

Registered Office: Belgrave House, 76 Buckingham Palace Road, London SW1W
9TQ
Registered in England Number: 3977902
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


[webkit-dev] wanted Some help for an idea on web browser that is to make a browser for each site dynamically...

2009-04-02 Thread mohit khanna
I was just thinking if every website could have its own browser OR you can
say if every website has some information with it that is how browser must
look for that website,

I mean to say why to give user all rights to change browser settings. If
they are browsing my website then i must also have some control on its
look(i must have the right to make my thing more beautiful and more
compatible.)



Sir if you think there is a little bit in this idea or any reply you think
is appropriate plaese do reply. your any response will be very important.
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] [win] VS2008? (was: Building WebToolKit)

2009-04-02 Thread Marc-Antoine Ruel
FYI, Chromium port of webkit builds fine with VS2008. I'm pretty sure
it would be trivial for other ports. Did you try fixing the build
script by yourself?

M-A

On Wed, Apr 1, 2009 at 2:47 AM, Thomas Brodt thomas.br...@porabo.ch wrote:
 BTW: How are the chances that VS2008 will be supported somewhen in the
 future? Are there any plans? Or is it a greater challenge to do that? I'm
 not a genuine C++ developer, so I'm pretty clueless about that.

 The reason behind that question: Microsoft has announced that support and
 download availablity for the VS2005 version is stopped as of today. And I
 have 2008 already installed because of another project.

 Thomas

 Angrez Singh schrieb:

 Thanks Adam for your reply

    Yes, that sounds like a good change to make. Would you be willing
    to file a bug at http://webkit.org/new-bug (and maybe even make a
    patch)?


 I'll file the bug, I can create the patch but it will take some time as I
 haven't worked much with perl.

 Regards,
 Angrez

 

 ___
 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] Announce the ARM port of JIT

2009-04-02 Thread x yz

Congratulations!
any improvement on X86 hard coded offset for code patch? I mean X86 uses single 
pointer then a few constants closely coupled to X86 to patch code, which is a 
nightmare for porting.
rgds
joe


--- On Wed, 4/1/09, Gabor Loki l...@inf.u-szeged.hu wrote:

 From: Gabor Loki l...@inf.u-szeged.hu
 Subject: [webkit-dev] Announce the ARM port of JIT
 To: webkit-dev@lists.webkit.org, squirrelfish-...@lists.webkit.org
 Date: Wednesday, April 1, 2009, 9:57 PM
 Hi guys,
 
 we are pleased to announce that the ARM port of JIT is
 finally released.
 
 The source can be checked out from 'loki/arm-port'
 branch of
 git://code.staikos.net/webkit :
   - git clone git://code.staikos.net/webkit  git
 checkout loki/arm-port
   - or see at
 http://code.staikos.net/cgi-bin/gitweb.cgi?p=webkit;a=shortlog;h=loki/arm-port
 
 The aim of this development is to add JIT support for ARM
 architectures.
 
 The port itself is developed from scratch, but we reused
 the ideas of x86 JIT. So we
 implemented property caches, stub functions, etc. in a
 similar way, but the code is
 optimized for ARM architectures.
 
 We used Qt4 build environment for the development, but we
 feel that the other build
 platforms can be easily extended with this ARM port.
 
 The current version is stable. It passes the regression
 tests.
 
 We did measurements on a Nokia N810, and we gained 13%
 performance improvement.
 The memory consumption is increased by 3.3% which is a
 small trade-off for this
 performance
 improvement.
 
 Our work has not done yet. We plan to add several other
 features in the future.
 
 Please, feel free to ask any questions about the ARM JIT
 here at the mail list or at
 the following Bugzilla entry:
 https://bugs.webkit.org/show_bug.cgi?id=24986
 
 --Gabor
 
 
 ___
 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] memory leak fixes: your feedback helps......

2009-04-02 Thread Purushottam Sholapur
Hi,

I was facing more problem with memory leak, that too when web pages have
more images.
I could find that div background images, images within div and dynamic
adding of div has some issue.
For that, I have to do  three changes  (qt embedded +webkit  4.5 on linux)
-
First :

For image objects, CachedResource reference count was not becoming zero,
even when removeChild is called.

I could find that DocLoader::requestResource() is putting url and image in
hash, which is not cleaned properly.

I have commented following two lines to solve this issue for time being.(In
DocLoader::requestResource())

   //m_docResources.set(resource-url(), resource);
   //checkCacheObjectStatus(resource);

But browsing looks Ok,  I do not see any issue.

Can anybody tell me, what feature might break for this change. What is the
right fix for this.

Second:
I had to call GarbageCollector explictly, because JSHTMLImageElement
objects were not getting freed in some cases.

With g_timout_add, I am periodically calling  garbagecollector  collect
function.

static gboolean callbackGarbageCollector(void* ptr)
   {
 if(! (JSDOMWindow::commonJSGlobalData()-heap.isBusy()))
{
  JSLock lock(false);
  JSDOMWindow::commonJSGlobalData()-heap.collect();
}
return TRUE;  // infinite ...
   }

// Call this function only once ..
   __attribute__((visibility(default))) void startGCTimer(int msec)
   {
 g_timeout_add(msec /*milli sec */, callbackGarbageCollector, NULL);
   }

   I assume there will be performce overhead, but any other issue because of
this.

---
Third:
I had to fix in our web page in javascript code.
1. innerHTML has to set to null ( = '';) after use.
2. div background images have to be set to null once they are removed.
3. For removeChild, We have traverse through the tree and remove each
child and set background image to null.
Here is the code...
function DeleteChildren(node){
if(node){
var cnt = node.childNodes.length;
for(var x = 0; x  cnt;  x++){
var childNode = node.childNodes[0];
if(childNode.hasChildNodes()){
DeleteChildren(childNode);
}
node.removeChild(childNode);
childNode=null;
}
node.style.backgroundImage = ;
node=null;
}
}
function removeElement() {
ni = document.getElementById('myDiv');
DeleteChildren(ni);
ni.parentNode.removeChild(ni);
}
---

If there is something wrong please suggest, I am still a beginner in
qt+webkit.

If people have seen such issues and have some fix, please share...

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