[webkit-dev] Thank You

2008-09-05 Thread Darin Fisher
Hey all,
I just wanted to say a big thank you for all that you have done in creating
such an awesome rendering engine.  Our new browser was made possible because
of WebKit, and I hope that when people talk about Chrome that they
understand that WebKit is at the heart of it.

So, I just put up a blog post about how much WebKit means to Google Chrome:
http://blog.chromium.org/2008/09/chrome-3s-webkit.html

Hopefully the blogosphere will take note and heap more credit where credit
is most certainly due!

Regards,
-Darin

p.s., I can't wait to get to hacking WebKit ;-)
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] (no subject)

2008-09-05 Thread David Kilzer
[Please keep replies on the list in case anyone else is able to help.]

Basic debugging from here calls for:

0. Does .libs/libwebkit-1.0.so.1.0.0 exist?  Was libwebkit built successfully, 
or did the "make" command actually fail?

1. Does /usr/local/lib exist?

2. If so, what are the permissions for /usr/local/lib, e.g., are you able to 
write to it as your user or as root?

3. Does /usr/local/lib/libwebkit-1.0.so.1.0.0 already exist?

4. If so, what are its permissions, e.g, are you able to delete it or write 
over it as your user or as root?

5. Is /usr/local/lib on a read-only partition or mounted read-only?

6. Are there any "extended" attributes (e.g., for Linux ext2/3 or Windows NTFS) 
that prevent you from writing to that directory or overwriting that file?

7. What happens when you try to copy the file by hand?

cp -p .libs/libwebkit-1.0.so.1.0.0 /usr/local/lib/libwebkit-1.0.so.1.0.0

Dave


On Fri, 9/5/08, rakesh sadhu <[EMAIL PROTECTED]> wrote:

> i also tried with root permissions!!!
> sudo make install but still same error!!!
> On Sat, Sep 6, 2008 at 3:03 AM, David Kilzer
> <[EMAIL PROTECTED]> wrote:
> 
> > Do you have write access to /usr/local/lib?  Perhaps
> you need to run "make
> > install" as root?  Or run "sudo make
> install"?
> >
> > Be careful--running as root can be dangerous!
> >
> > Dave
> >
> >
> > On Fri, 9/5/08, rakesh sadhu
> <[EMAIL PROTECTED]> wrote:
> >
> > > i am facing a problem while building webkit
> r33943 ; when i
> > > do make install
> > >
> > >  make install
> > > make  install-am
> > > make[1]: Entering directory
> > > `/home/rakesh/Desktop/WebKit-r33943'
> > > make[2]: Entering directory
> > > `/home/rakesh/Desktop/WebKit-r33943'
> > > test -z "/usr/local/lib" || /bin/mkdir
> -p
> > > "/usr/local/lib"
> > > test -z "/usr/local/lib" || /bin/mkdir
> -p
> > > "/usr/local/lib"
> > >  /bin/bash ./libtool --mode=install
> /usr/bin/install -c
> > > 'libwebkit-1.0.la'
> > > '/usr/local/lib/libwebkit-1.0.la'
> > > /usr/bin/install -c .libs/libwebkit-1.0.so.1.0.0
> > > /usr/local/lib/libwebkit-1.0.so.1.0.0
> > > /usr/bin/install: accessing
> > > `/usr/local/lib/libwebkit-1.0.so.1.0.0':
> > > Input/output error
> > > make[2]: *** [install-libLTLIBRARIES] Error 1
> > > make[2]: Leaving directory
> > > `/home/rakesh/Desktop/WebKit-r33943'
> > > make[1]: *** [install-am] Error 2
> > > make[1]: Leaving directory
> > > `/home/rakesh/Desktop/WebKit-r33943'
> > > make: *** [install] Error 2
> > > [EMAIL PROTECTED]:~/Desktop/WebKit-r33943$
> > >
> > >
> > > i need a help!!how to solve this!!
> > >
> > > --
> > > Regards,
> > > RakeshSadhu
> > > Boulevard Road,
> > > Srinagar,
> > > CASHMERE.
> >
> 
> 
> 
> -- 
> Regards,
> RakeshSadhu
> Boulevard Road,
> Srinagar,
> CASHMERE.
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] (no subject)

2008-09-05 Thread David Kilzer
Do you have write access to /usr/local/lib?  Perhaps you need to run "make 
install" as root?  Or run "sudo make install"?

Be careful--running as root can be dangerous!

Dave


On Fri, 9/5/08, rakesh sadhu <[EMAIL PROTECTED]> wrote:

> i am facing a problem while building webkit r33943 ; when i
> do make install
> 
>  make install
> make  install-am
> make[1]: Entering directory
> `/home/rakesh/Desktop/WebKit-r33943'
> make[2]: Entering directory
> `/home/rakesh/Desktop/WebKit-r33943'
> test -z "/usr/local/lib" || /bin/mkdir -p
> "/usr/local/lib"
> test -z "/usr/local/lib" || /bin/mkdir -p
> "/usr/local/lib"
>  /bin/bash ./libtool --mode=install /usr/bin/install -c 
> 'libwebkit-1.0.la'
> '/usr/local/lib/libwebkit-1.0.la'
> /usr/bin/install -c .libs/libwebkit-1.0.so.1.0.0
> /usr/local/lib/libwebkit-1.0.so.1.0.0
> /usr/bin/install: accessing
> `/usr/local/lib/libwebkit-1.0.so.1.0.0':
> Input/output error
> make[2]: *** [install-libLTLIBRARIES] Error 1
> make[2]: Leaving directory
> `/home/rakesh/Desktop/WebKit-r33943'
> make[1]: *** [install-am] Error 2
> make[1]: Leaving directory
> `/home/rakesh/Desktop/WebKit-r33943'
> make: *** [install] Error 2
> [EMAIL PROTECTED]:~/Desktop/WebKit-r33943$
> 
> 
> i need a help!!how to solve this!!
> 
> -- 
> Regards,
> RakeshSadhu
> Boulevard Road,
> Srinagar,
> CASHMERE.
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


[webkit-dev] (no subject)

2008-09-05 Thread rakesh sadhu
i am facing a problem while building webkit r33943 ; when i do make install

 make install
make  install-am
make[1]: Entering directory `/home/rakesh/Desktop/WebKit-r33943'
make[2]: Entering directory `/home/rakesh/Desktop/WebKit-r33943'
test -z "/usr/local/lib" || /bin/mkdir -p "/usr/local/lib"
test -z "/usr/local/lib" || /bin/mkdir -p "/usr/local/lib"
 /bin/bash ./libtool --mode=install /usr/bin/install -c  'libwebkit-1.0.la'
'/usr/local/lib/libwebkit-1.0.la'
/usr/bin/install -c .libs/libwebkit-1.0.so.1.0.0
/usr/local/lib/libwebkit-1.0.so.1.0.0
/usr/bin/install: accessing `/usr/local/lib/libwebkit-1.0.so.1.0.0':
Input/output error
make[2]: *** [install-libLTLIBRARIES] Error 1
make[2]: Leaving directory `/home/rakesh/Desktop/WebKit-r33943'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/home/rakesh/Desktop/WebKit-r33943'
make: *** [install] Error 2
[EMAIL PROTECTED]:~/Desktop/WebKit-r33943$


i need a help!!how to solve this!!

-- 
Regards,
RakeshSadhu
Boulevard Road,
Srinagar,
CASHMERE.
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] FrameLoaderClient misses NewWindowAction policy check

2008-09-05 Thread Darin Adler
On Sep 3, 2008, at 4:56 AM, Anton V. Tarasov wrote:

> The method FrameLoader::continueAfterNavigationPolicy (the first  
> stack) calls m_client->canHandleRequest(request) in its turn in  
> order to request an approval from the client.

Yes, there is a client function named canHandleRequest, but that call  
is not requesting the navigation policy. That's a separate client  
function and it's not about navigation policy. It's only called if the  
navigation policy named PolicyUse is specified.

The navigation policy comes from the value passed by the client's  
m_client->dispatchDecidePolicyForNavigationAction function when it  
calls the FramePolicyFunction. The code that respects the policy is  
the switch statement in the continueAfterNavigationPolicy function.

> However the method FrameLoader::continueAfterNewWindowPolicy (the  
> second stack) does nothing to get an approval. The class  
> FrameLoaderClient misses a method like "canOpenNewWindow" at all.

As in the case of navigation policy, the new window policy comes from  
the value the client passes back when it calls the FramePolicyFunction  
passed to m_client->dispatchDecidePolicyForNewWindowAction, which is  
respected by the switch statement in the continueAfterNewWindowPolicy  
function.

You may have a legitimate question here or maybe even a bug, but it's  
incorrect to call the canHandleRequest function the policy check, so I  
think you need to at least re-word your question to clarify what  
you're asking.

The client function that performs the new window policy check is  
dispatchDecidePolicyForNewWindowAction.

 -- Darin

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


[webkit-dev] Fwd: Where can I get basic WebKit software?

2008-09-05 Thread Luke Kenneth Casson Leighton
someone who should have been asking this question on webkit-dev... :)

 -- Forwarded message --
 From: lkcl <[EMAIL PROTECTED]>
 To: Chromium-dev <[EMAIL PROTECTED]>
 Date: Thu, 4 Sep 2008 13:44:19 -0700 (PDT)
 Subject: Re: Where can I get basic WebKit software?
 chandra, hi,

  webkit's core is independent of the widget sets that use it.  there
  _happens_ to be some widget set wrappers, which various teams have
  added, and these _happen_ to be included in the webkit source
  repository, for many people's convenience.

  you are pretty much on your own if adding your own home-grown
  "drawing" set, unless you can convince other people that it is a
  worthwhile task to do.

  also, from what i can gather, google's chrome team _did_ consider it
  worthwhile - and they have added "skia" as the drawing engine [which i
  am about to ask what that's about, and when the patch is going to be
  done to get that back into webkit].

  so you should be looking at both the chromium version of webkit, and
  also the three widget-set-versions, wxWidgets, qt and gt, to compare
  the _differences_ between these, to find out how to add your own.

  i for one will be very interested to see your work, because i have
  added glib bindings to webkit (https://bugs.webkit.org/show_bug.cgi?
  id=16401) so that i can have them in pywebkitgtk (http://
  code.google.com/p/pywebkitgtk/issues/detail?id=13) so that i can
  (finally) have pyjamas (http://code.google.com/p/pyjamas) running as a
  desktop app (http://pyjd.sf.net).

  i'm interested because jumping through two levels of bindings hoops -
  glib and then python - seems a bit silly, and one prerequisite to make
  it all a bit faster is to have native screeen drawing, not gtk-based
  sccreen drawing.

  thenn it''s worthwhile adding native python bindings to webkit.

  ... but yes - this is a question you should have asked on the webkit-
  dev mailing list :)

  l.
  On Sep 4, 3:06 pm, Chandra <[EMAIL PROTECTED]> wrote:
  > Hi,
  >
  > I want to download basic platform independent WebKit toolkit? I tried
  > in Internet. But, I found that all available download resources are
  > integrated with third party platforms like Qt, Gtk, Java etc.
  >
  > My main intention is that I want to download basic WebKit software and
  > then I will try to integrate my own platform with the basic WebKit.
  >
  > Thanks in advance.
  >
  > Regards
  > Chandra
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] localization service for Webkit ?

2008-09-05 Thread David Kilzer
On Fri, 9/5/08, Matthieu C <[EMAIL PROTECTED]> wrote:

> I'm curious to find out if it will be possible to
> access from Javascript or other mechanisms the user
> localization (Lat/Long) and then use them onto my web
> application ?

This is not currently available.  Google has written a Geolocation API for 
Google Gears, but it only works on certain platforms (and if the user has Gears 
installed, obviously):

http://code.google.com/apis/gears/api_geolocation.html

A blog about the API:

http://blog.programmableweb.com/2008/08/25/googles-new-geolocation-api-for-gears/

Dave


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


Re: [webkit-dev] Where can I get basic WebKit software?

2008-09-05 Thread David Kilzer
> 1) I am really wondering whether the above all modules are
> related to "QtPort" or basic independent Webkit library?

All of those directories are for the Qt port of WebKit.  The platform code just 
isn't in WebCore/platform, it's in multiple "platform" directories beneath the 
WebCore tree.

> 2) I am unable to find out the basic Webkit document in
> Internet.

Most new porters complain about the lack of documentation, but (in my opinion) 
there's really no substitute for reading the source code.  I realize this is a 
daunting task for a code base as big as WebKit, but ultimately that's what 
you're going to have to do to make the port work.

Having said that, there is some more documentation on the wiki 
 (note that some info may be a little 
out-of-date), and you may find more by searching the webkit-dev archive for 
"documentation":

http://www.google.com/search?client=safari&rls=en&q=site:lists.webkit.org/pipermail/webkit-dev+documentation&ie=UTF-8&oe=UTF-8

You may also post questions about the source here on webkit-dev, or ask 
questions in the #webkit IRC channel on irc.freenode.net.

Finally, I would start by getting JavaScriptCore compiling first, then WebCore, 
and finally WebKit.  You don't need JavaScriptGlue, and you won't use anything 
in WebKitLibraries.  Once you have a project compiling, try running the tests 
for it.  (JavaScriptCore has WebKitTools/Scripts/run-javascriptcore-tests, and 
WebCore has WebKitTools/Scripts/run-webkit-tests, although this requires a port 
of WebKitTools/DumpRenderTree to be implemented as well.)

Also, it will be very helpful if you are able to compile and run an existing 
port (e.g., the port closest to your platform) so you can trace through its 
code when you can't figure out how to implement your port's method.  (Looking 
at other ports' implementations of a method may also help.)

Hope that helps!

Dave


On Fri, 9/5/08, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:

> Hi Dave,
> 
> Thank you very much for your response. I have gone through
> the WebKit SVN
> repository source. I understand that each platform specific
> port is
> developed in WebCore/platform. But, I noticed that these
> platform specific
> ports are existed in other folders also.
> 
> For example, if we take "Qt" port, "Qt"
> folder is existed in the below paths:
> 
> WebCore/platform/qt --- "Qt" platform specific
> library
> WebCore/platform/network --- ?
> WebCore/platform/network/qt --- ?
> WebCore/platform/graphics/qt --- ?
> WebCore/editing/qt --- ?
> WebCore/loader/qt --- ?
> WebCore/page/qt --- ?
> WebCore/plugins/qt --- ?
> 
> 1) I am really wondering whether the above all modules are
> related to
> "QtPort" or basic independent Webkit library? I
> am really unable to figure
> out this issue.
> 
> 2) I am unable to find out the basic Webkit document in
> Internet. If we
> have this, we can easily figure out that what modules we
> have to develop
> to provide the platform specific functionality to basic
> Webkit to get the
> browser.
> 
> Can you please share your thoughts?
> 
> Thanks in advance.
> 
> Regards
> Chandra
> 
> > You must check out the source code from Subversion:
> >
> > http://webkit.org/building/checkout.html
> >
> > Or git:
> >
> > http://trac.webkit.org/wiki/UsingGitWithWebKit
> >
> > Note that the code base contains code for all the
> ports, but each
> > platform's code is under a
> "platform/" directory, so you
> > know which files you can ignore (and what you have to
> implement for your
> > port).
> >
> > Dave
> >
> >
> > On Thu, 9/4/08, Chandramouli
> <[EMAIL PROTECTED]> wrote:
> >
> >> Hi,
> >>
> >> I want to download basic platform independent
> WebKit
> >> toolkit? I tried in
> >> Internet. But, I found that all available download
> >> resources are already
> >> integrated with third party platforms (ports) 
> like Qt,
> >> Gtk, Java etc.
> >>
> >> My main intention is that I want to download basic
> WebKit
> >> software and then
> >> I will try to integrate my own platform with the
> basic
> >> WebKit.
> >>
> >> Thanks in advance.
> >>
> >> Regards
> >> Chandra
> >>
> >> ___
> >> 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] Compilation errors with ARM RVCT Compiler

2008-09-05 Thread Shadakshari Hiremath
Hi Paul,

Thank you very much for your quick response. Based on your suggestion, I had
a relook into the passrefptr.h file. In this file T refers to a
datatype/class which will be supplied during instantiation of the template
in many CPP files and the type is unknown inside the template class. So we
cannot include the definition of all the classes which will be supplied
during instantiation. I am feeling that webkit cannot be compiled with ARM
RVCT compiler due to its limitation. Please suggest if there is any other
alternative.

Regards,
Shaddu

2008/9/5 Paul Pedriana <[EMAIL PROTECTED]>

>  It looks to me like the problem is due to a template implementation not
> being visible to the code being compiled. GCC and VC++ don't enforce the C++
> standard strictly here, and the CodeWarrior and EDG-based compilers
> correctly flag this as invalid code. VC++ compiles templates by essentially
> converting the entire declaration into a macro which gets expanded only at
> the final front-end compilation stage, and thus it doesn't templated code
> until later (which in fact the templated type has become fully visible). GCC
> is somewhat like VC++ but seems to do a certain amount of first-pass
> inspection of the template declaration that catches some misusage within the
> template declaration itself, but it still doesn't check or compile the
> template code upon its usage like CodeWarrior and GCC do. The fix is to make
> the template declaration (as opposed to a forward declaration) fully visible
> at the time of its usage.
>
> I'm saying this based on experience and not because I have debugged this
> particular problem myself. So it could possibly be a different issue. But
> the error messages below, and the fact that it is occurring with EDG and not
> GCC and VC++, and because it involves templates rings all the bells of this
> problem.
>
> There is a related C++ problem which is more subtle. Consider this code
> that the compiler sees in the given order:
>
> 1) Declare template X
> 2) Use template X
> 3) Declare specialization of template X
>
> Most compilers incorrectly compile the specialization (line 3) into the
> usage at line 2. But the standard requires that the specialization be
> ignored, since it was not visible at the time line 2 was compiled. You can
> see why it is that a compiler which treats templates much like macros will
> get this wrong, as they don't compile line 2 until later and simply apply
> both the 'macros' declared at line 1 and 3.
>
> Paul
>
>
>  Hi Webkit Forum,
>
> I am getting compilation errors while compiling webcore and javascriptcore
> with ARM RVCT compiler version 2.2 build 559. This is my maiden attempt to
> build webkit with RVCT compiler.
> Three errors are appearing while compiling many source files. I have
> provided Attr.cpp as an example compilation.
> When compiling k:\webkit/webcore/dom/Attr.cpp following 3 errors are
> displayed
> 1) "E:\WebKit\CygWin\home\output\include/JavaScriptCore/PassRefPtr.h", line
> 44: Error:  #393: pointer ptr to incomplete class type is not allowed
> ALWAYS_INLINE ~PassRefPtr() { if (T* ptr = m_ptr) ptr->deref(); }
>
> ^
> 2) "E:\WebKit\CygWin\home\output\include/JavaScriptCore/ListHashSet.h",
> line 445: Error:  #254: typename is not allowed
>   typename ImplType::iterator it = m_impl.template find Translator>(value);
>   ^
> 3) "E:\WebKit\CygWin\home\output\include/JavaScriptCore/RefPtr.h", line 58:
> Error:  #20: identifier "adoptRef" is undefined
>   PassRefPtr release() { PassRefPtr tmp = adoptRef(m_ptr);
> m_ptr = 0; return tmp; }
>
> ^
> Please help to resolve this problem.
>
> Regards,
> Shaddu
>
> --
>
> ___
> webkit-dev mailing [EMAIL 
> PROTECTED]://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] localization service for Webkit ?

2008-09-05 Thread Matthieu C


Hello,

I'm curious to find out if it will be possible to access from Javascript or 
other mechanisms the user localization (Lat/Long) and then use them onto my web 
application ?

thx

Matt
_
Installez gratuitement les 20 émôticones Windows Live Messenger les plus fous ! 
Cliquez ici !
http://www.emoticones-messenger.fr/
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev