Re: [webkit-dev] Queries on Bug: 23310

2009-02-18 Thread Vikram Hegde
Hi,

Ya i got to know changing kurl wont help.
actually i tried one more fix which is working wer in i am modifying the base 
url in document.cpp,which gives the input to kurl the referring url as 
"about::blank" which causes the kurl to load an empty page, so once i update 
the base url in document to the actual url, the bug is not seen.

Kindly let me know any issues in the above approach.

Thanks,
Vikram





From: David Kilzer 
To: Vikram Hegde 
Cc: webkit-dev@lists.webkit.org
Sent: Tuesday, February 17, 2009 8:57:28 PM
Subject: Re: [webkit-dev] Queries on Bug: 23310


I don't think modifying KURL to parse JavaScript syntax is the correct approach.

I have a fix for this in my local tree.  I will try to post a patch for it 
today for review.

Dave





From: Vikram Hegde 
To: webkit-dev@lists.webkit.org
Sent: Monday, February 16, 2009 9:50:06 PM
Subject: [webkit-dev] Queries on Bug: 23310


Hi ,

The Bug 23310 is Setting an absolute path (/abs) on an  with no src 
doesn't resolve the URL properly.

So I have analysed the bug,and here are my comments.Kindly let me know i m on 
the right track of solving the bug.

Analysis:

The kurl.cpp is the actual place where the url gets resolved and is being 
parsed.So the parameter for the init function in kurl.cpp should have the 
complete format i.e. javascript:document.location.replace('/') instead the 
parameter which is being parsed contains only /.This is the reason why the 
parsing of the url is not done properly and invalidate function gets called 
which redirects the page to reflect nothing.

In short i think the scr which the kurl should parse should be the entire 
string (javascript:document.location.replace('/') ) . This is the reason i feel 
the parsing of url is not done propely.

Kindly suggest whether i m in the right track or not and the possible solutions 
for the problem.

Thanks & Regards,
Vikram



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


[webkit-dev] problem with ajax POSTs generated from Webkit

2009-02-18 Thread Steve Conover
Hi everyone,

This is definitely Cocoa-specific, but I'm hoping this is a good group
to put this question to.  Even if nobody knows the answer to my
specific problem, I'm particularly interested in suggestions around
what you'd hook into or override, even if it's webkit-specific, to
intercept all resource load requests (loading files, handling ajax and
form posts and page loads,  etc) to provide your own request-handling
implementation.



I'm attempting to put my own NSURLProtocol in place to handle requests
generated from web pages I load through the Cocoa Webkit API.

When I kick off an ajax POST from my webpage and see what comes
through in my Protocol, it's an NSURLRequest (not NSMutableURLRequest)
with nil HTTPBody, HTTPBodyStream, and HTTPBodyStreamForTransmission
properties.  The post body is nowhere to be seen.  Where should I be
looking?

I do notice that when I do a POST via an html form the request object
is a NSMutableURLRequest with the appropriate post body.

Should ajax requests be coming through just like other requests?  Is
this (the NSURLProtocol) the appropriate place to be overriding
request/connection infrastructure and providing my own implementation,
or is there some other more appropriate place to be doing this?

Thanks for your patience, I'm pretty new at Webkit/Cocoa.

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


Re: [webkit-dev] CSS Transforms implementation?

2009-02-18 Thread Simon Fraser

On Feb 18, 2009, at 8:09 AM, Rob Kroeger wrote:

Is it the intent of WebKit team to implement CSS transform  
specification (http://webkit.org/specs/CSSVisualEffects/CSSTransforms.html 
).  I can't find much of it in the code yet and was wondering if  
this is because the features aren't written yet? (I found  
WebKitCSSMatrix but none of convertPointFromNodeToPage and its  
friends seem to exist in the code (as of Monday of this week at  
least).


The CSS properties described in the spec are fully implemented in  
WebKit, as is CSSMatrix (called WebKitCSSMatrix in the source).


convertPointFromNodeToPage is not yet implemented, but we plan to do  
that soon.


I also have a comment about the specification. Would it be  
reasonable to add a point property to all mouse (and probably touch)  
events?


I'll leave it for others to say if it's reasonable, but I assume you'd  
like to see event.pagePoint and perhaps event.nodePoint? I think it's  
unlikely that we would do this any time soon, and extremely unlikely  
for it to be standardized.


Simon


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


[webkit-dev] CSS Transforms implementation?

2009-02-18 Thread Rob Kroeger
Is it the intent of WebKit team to implement CSS transform specification (
http://webkit.org/specs/CSSVisualEffects/CSSTransforms.html).  I can't find
much of it in the code yet and was wondering if this is because the features
aren't written yet? (I found WebKitCSSMatrix but none of
convertPointFromNodeToPage
and its friends seem to exist in the code (as of Monday of this week at
least).
I also have a comment about the specification. Would it be reasonable to add
a point property to all mouse (and probably touch) events? This does not
appear to be mentioned in the spec.

Rob.

-- 
Rob Kroeger
rjkro...@liqui.org
http://www.liqui.org
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


[webkit-dev] How can I debug webkit in debugger?

2009-02-18 Thread Nitin Walke
Hi all,

How can I debug webkit in debugger? I am using opensuse and I have build
webkit using
"WebKitTools/Scripts/build-webkit --gtk --debug" command. How can I debug
webkit in ddd debugger
using GtkLauncher?

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


Re: [webkit-dev] network resources in webkit

2009-02-18 Thread abhas saroha
hi all,
  how do all these resources interact with each other. Lets say if i want to
make an http connection using these classes , if i just want to make a get
request to some server what should the approach be...sorry if i am being
vague...

Abhas Saroha


On Wed, Feb 18, 2009 at 1:59 PM, Brady Eidson  wrote:

> One could go into more detail or be slightly more precise for each of these
> 4, but yes - pretty much.
> ~Brady
>
>
> On Feb 17, 2009, at 10:18 PM, abhas saroha wrote:
>
>  hi all,
>>   am i right when i say ResourceHandle class does the communication,
>> ResourceRequest represents requested resource from some remote url,
>> ResourceResponse is a response(by the remote server) to the requested data
>> and ResourceError is for error encountered in communication.
>> Thnx in advance
>>
>>
>> Abhas Saroha
>> ___
>> 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] network resources in webkit

2009-02-18 Thread Brady Eidson
One could go into more detail or be slightly more precise for each of  
these 4, but yes - pretty much.

~Brady

On Feb 17, 2009, at 10:18 PM, abhas saroha wrote:


hi all,
   am i right when i say ResourceHandle class does the  
communication, ResourceRequest represents requested resource from  
some remote url, ResourceResponse is a response(by the remote  
server) to the requested data and ResourceError is for error  
encountered in communication.

Thnx in advance


Abhas Saroha
___
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