Re: [webkit-dev] Question about JavaScriptCore's JSEvaluateScript function.

2009-03-02 Thread Zoltan Herczeg
Hi,

that is intended, since the context pointer is the current
CallFrame/ExecState. WebKit creates its own stack (called RegisterFile) to
run JavaScript. The stack base of the current function is pointed by
CallFrame (similar to ebp in x86, or fp in ARM architectures). When you
call a JS function, several important pointers are stored on the top of
the stack, like return value, current code block, previous call frame, and
these values are accessed through the CallFrame pointer. It is essential
for JavaScriptCore, there is no workaround.

Zoltan

 Hi,
   Recently, I'm writing an application which uses JavaScriptCore to
 execute
 javascript code. I just encountered a problem when using JSEvaluateScript
 function to evaluate a piece of script. When executing the script, some
 callbacks provided by my code will be called, but I found that the context
 received by callbacks are different than the context I created and passed
 to
 JSEvaluateScript function.

 Attached is a test program.
 Below is the output of this program on my system (ubuntu 8.04 64bit with
 latest webkit svn):

 Create context 0x7faf5d567e88, global object 0x7faf5d53
 InitializeCallback(ctx=0x7faf5d567e88, obj=0x7faf5d532400)
 HasPropertyCallback(ctx=0x7faf50c4b048, obj=0x7faf5d532400,
 prop=prototype)
 CallAsConstructorCallback(ctx=0x7faf50c4b0c0, obj=0x7faf5d532400)
 InitializeCallback(ctx=0x7faf50c4b0c0, obj=0x7faf5d532440)
 SetPropertyCallback(ctx=0x7faf50c4b048, obj=0x7faf5d532440, prop=prop1)
 HasPropertyCallback(ctx=0x7faf50c4b048, obj=0x7faf5d532440, prop=prop1)
 FinalizeCallback(obj=0x7faf5d532400)
 FinalizeCallback(obj=0x7faf5d532440)

 You can see that, the callback functions received several different
 context
 pointers comparing to the one created at first beginning.

 Is it an intend behavior or a bug of webkit? And how can I avoid or
 workaround this problem?

 Thanks a lot.

 James Su
 ___
 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] strange behaviour when loading local webpage using file://

2009-03-02 Thread Jenson Lui
Hello all,

After some codes trace and I find that the g_file_info_get_content_type
is not function properly on my target board. So I wrote a simple test program
to test the g_file_info_get_content_type and discover that my target root
fs is missing the MIME database. By copy the MIME database, everything is
working fine now.
 Anyway, thanks for the helps!

Regards,
Jenson

 On Sun, Mar 1, 2009 at 6:48 AM, x yz last...@yahoo.com wrote:

 you cross compile to which CPU/OS? using which version/compiler?


 --- On Sat, 2/28/09, Jenson Lui jhn...@gmail.com wrote:

 From: Jenson Lui jhn...@gmail.com
 Subject: Re: [webkit-dev] strange behaviour when loading local webpage 
 using file://
 To: webkit-dev@lists.webkit.org
 Date: Saturday, February 28, 2009, 4:32 PM
 Hello,

   hmm...actually I did a search and only find something
 related by
 Dhananjoy Chutia's email. However, look like no one
 reply to
 the issue (or i miss the email reply?) It would be nice if
 anyone can
 help to copy the reply or show the link to it. Thanks!

 Regards,
 Hung

 the email is quoted here
 begin==
 Hi,
  Here are some observations:

 When I try to load file:///home/dhananjoy/index.html , the
 following error
 is shown.
 GLib-GIO-CRITICAL **: g_file_read_async: assertion
 `G_IS_FILE (file)'
 failed.

 As per my observation d-m_gfile is not NULL upto the
 statement
  client-didReceiveResponse(handle, response); : line no
 590 in
 WebCore/platform/network/soup/ResourceHandleSoup.cpp
 But, afterward d-m_gfile becomes NULL.

 It is to be noted that my I am using glib-2.15.3.

 Regards
 Dhananjoy
 end==

 On Sat, Feb 28, 2009 at 1:36 AM, x yz
 last...@yahoo.com wrote:
 
  search for previous discussions.
 
 
  --- On Fri, 2/27/09, Jenson Lui
 jhn...@gmail.com wrote:
 
  From: Jenson Lui jhn...@gmail.com
  Subject: [webkit-dev] strange behaviour when
 loading local webpage using file://
  To: webkit-dev@lists.webkit.org
  Date: Friday, February 27, 2009, 3:52 PM
  Hello all,
 
          I encounter a strange problem.
  I cross compile latest webkit engine and use it in
 my
  application.
  When I try to load a web page from local using
 file://,
  instead of
  rendering the html,
  the actual html text is display, i.e.
  html... is shown.
  I try the lt-Gtklauncher in my target, same
 result.
  However, when I try the x86 build of the same
 revision with
  the same html page.
  The html page is rendered as normal.
  I am using the same set of options when do the
 cross
  compile  x86 build.
  I am not sure if there is anything wrong? Does
 anyone have
  the same problem?
 
  Thanks!
 
  Regards,
  Jenson
  ___
  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


[webkit-dev] about javascript keyword

2009-03-02 Thread zhenghe zhang
HI all
If I define a js function, as followed:
function fun()
{
alert(document.all.text1.value);
}
When the webkit parse the js function, and store the keyword in the
hashtable,
Now I want to know the other indetifier is stored the hashtable. And how
many hashtable will be built by webkit.

I also want to know how to read the indetifier( e.g. document ) when webkit
runs the javascript functions.

Thank you
Regards
zh

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


Re: [webkit-dev] about javascript keyword

2009-03-02 Thread Ariya Hidayat

 HI all
   If I define a js function, as followed:
 function fun()
 {
   alert(document.all.text1.value);
 }
 When the webkit parse the js function, and store the keyword in the
 hashtable,
 Now I want to know the other indetifier is stored the hashtable. And how
 many hashtable will be built by webkit.

 I also want to know how to read the indetifier( e.g. document ) when webkit
 runs the javascript functions.

Launch your debugger and start from everything in JavaScriptCore/parser/. For 
example, JSC::Lexer is a good starting point.



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


Re: [webkit-dev] Question about JavaScriptCore's JSEvaluateScript function.

2009-03-02 Thread Zhe Su
Thanks for your answer. Then, in the callback function (such as
GetPropertyCallback), is it ok to use the original context pointer created
at beginning? Or the ctx passed to the callback must be used instead?

Regards
James Su

On Mon, Mar 2, 2009 at 4:52 PM, Zoltan Herczeg zherc...@inf.u-szeged.huwrote:

 Hi,

 that is intended, since the context pointer is the current
 CallFrame/ExecState. WebKit creates its own stack (called RegisterFile) to
 run JavaScript. The stack base of the current function is pointed by
 CallFrame (similar to ebp in x86, or fp in ARM architectures). When you
 call a JS function, several important pointers are stored on the top of
 the stack, like return value, current code block, previous call frame, and
 these values are accessed through the CallFrame pointer. It is essential
 for JavaScriptCore, there is no workaround.

 Zoltan

  Hi,
Recently, I'm writing an application which uses JavaScriptCore to
  execute
  javascript code. I just encountered a problem when using JSEvaluateScript
  function to evaluate a piece of script. When executing the script, some
  callbacks provided by my code will be called, but I found that the
 context
  received by callbacks are different than the context I created and passed
  to
  JSEvaluateScript function.
 
  Attached is a test program.
  Below is the output of this program on my system (ubuntu 8.04 64bit with
  latest webkit svn):
 
  Create context 0x7faf5d567e88, global object 0x7faf5d53
  InitializeCallback(ctx=0x7faf5d567e88, obj=0x7faf5d532400)
  HasPropertyCallback(ctx=0x7faf50c4b048, obj=0x7faf5d532400,
  prop=prototype)
  CallAsConstructorCallback(ctx=0x7faf50c4b0c0, obj=0x7faf5d532400)
  InitializeCallback(ctx=0x7faf50c4b0c0, obj=0x7faf5d532440)
  SetPropertyCallback(ctx=0x7faf50c4b048, obj=0x7faf5d532440, prop=prop1)
  HasPropertyCallback(ctx=0x7faf50c4b048, obj=0x7faf5d532440, prop=prop1)
  FinalizeCallback(obj=0x7faf5d532400)
  FinalizeCallback(obj=0x7faf5d532440)
 
  You can see that, the callback functions received several different
  context
  pointers comparing to the one created at first beginning.
 
  Is it an intend behavior or a bug of webkit? And how can I avoid or
  workaround this problem?
 
  Thanks a lot.
 
  James Su
  ___
  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] Question about JavaScriptCore's JSEvaluateScript function.

2009-03-02 Thread Zoltan Herczeg
Why do you want to use the original context pointer? The context is
something like current machine state. It is important for JS function
return, exception handling, and many other things. It is not a global
pointer, like JSGlobalData (JSContextGroupRef), it points to the current
context.

Zoltan

 Thanks for your answer. Then, in the callback function (such as
 GetPropertyCallback), is it ok to use the original context pointer created
 at beginning? Or the ctx passed to the callback must be used instead?

 Regards
 James Su

 On Mon, Mar 2, 2009 at 4:52 PM, Zoltan Herczeg
 zherc...@inf.u-szeged.huwrote:

 Hi,

 that is intended, since the context pointer is the current
 CallFrame/ExecState. WebKit creates its own stack (called RegisterFile)
 to
 run JavaScript. The stack base of the current function is pointed by
 CallFrame (similar to ebp in x86, or fp in ARM architectures). When you
 call a JS function, several important pointers are stored on the top of
 the stack, like return value, current code block, previous call frame,
 and
 these values are accessed through the CallFrame pointer. It is essential
 for JavaScriptCore, there is no workaround.

 Zoltan

  Hi,
Recently, I'm writing an application which uses JavaScriptCore to
  execute
  javascript code. I just encountered a problem when using
 JSEvaluateScript
  function to evaluate a piece of script. When executing the script,
 some
  callbacks provided by my code will be called, but I found that the
 context
  received by callbacks are different than the context I created and
 passed
  to
  JSEvaluateScript function.
 
  Attached is a test program.
  Below is the output of this program on my system (ubuntu 8.04 64bit
 with
  latest webkit svn):
 
  Create context 0x7faf5d567e88, global object 0x7faf5d53
  InitializeCallback(ctx=0x7faf5d567e88, obj=0x7faf5d532400)
  HasPropertyCallback(ctx=0x7faf50c4b048, obj=0x7faf5d532400,
  prop=prototype)
  CallAsConstructorCallback(ctx=0x7faf50c4b0c0, obj=0x7faf5d532400)
  InitializeCallback(ctx=0x7faf50c4b0c0, obj=0x7faf5d532440)
  SetPropertyCallback(ctx=0x7faf50c4b048, obj=0x7faf5d532440,
 prop=prop1)
  HasPropertyCallback(ctx=0x7faf50c4b048, obj=0x7faf5d532440,
 prop=prop1)
  FinalizeCallback(obj=0x7faf5d532400)
  FinalizeCallback(obj=0x7faf5d532440)
 
  You can see that, the callback functions received several different
  context
  pointers comparing to the one created at first beginning.
 
  Is it an intend behavior or a bug of webkit? And how can I avoid or
  workaround this problem?
 
  Thanks a lot.
 
  James Su
  ___
  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


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


Re: [webkit-dev] Question about JavaScriptCore's JSEvaluateScript function.

2009-03-02 Thread Zhe Su
I see. Thanks.

On Mon, Mar 2, 2009 at 7:28 PM, Zoltan Herczeg zherc...@inf.u-szeged.huwrote:

 Why do you want to use the original context pointer? The context is
 something like current machine state. It is important for JS function
 return, exception handling, and many other things. It is not a global
 pointer, like JSGlobalData (JSContextGroupRef), it points to the current
 context.

 Zoltan

  Thanks for your answer. Then, in the callback function (such as
  GetPropertyCallback), is it ok to use the original context pointer
 created
  at beginning? Or the ctx passed to the callback must be used instead?
 
  Regards
  James Su
 
  On Mon, Mar 2, 2009 at 4:52 PM, Zoltan Herczeg
  zherc...@inf.u-szeged.huwrote:
 
  Hi,
 
  that is intended, since the context pointer is the current
  CallFrame/ExecState. WebKit creates its own stack (called RegisterFile)
  to
  run JavaScript. The stack base of the current function is pointed by
  CallFrame (similar to ebp in x86, or fp in ARM architectures). When you
  call a JS function, several important pointers are stored on the top of
  the stack, like return value, current code block, previous call frame,
  and
  these values are accessed through the CallFrame pointer. It is essential
  for JavaScriptCore, there is no workaround.
 
  Zoltan
 
   Hi,
 Recently, I'm writing an application which uses JavaScriptCore to
   execute
   javascript code. I just encountered a problem when using
  JSEvaluateScript
   function to evaluate a piece of script. When executing the script,
  some
   callbacks provided by my code will be called, but I found that the
  context
   received by callbacks are different than the context I created and
  passed
   to
   JSEvaluateScript function.
  
   Attached is a test program.
   Below is the output of this program on my system (ubuntu 8.04 64bit
  with
   latest webkit svn):
  
   Create context 0x7faf5d567e88, global object 0x7faf5d53
   InitializeCallback(ctx=0x7faf5d567e88, obj=0x7faf5d532400)
   HasPropertyCallback(ctx=0x7faf50c4b048, obj=0x7faf5d532400,
   prop=prototype)
   CallAsConstructorCallback(ctx=0x7faf50c4b0c0, obj=0x7faf5d532400)
   InitializeCallback(ctx=0x7faf50c4b0c0, obj=0x7faf5d532440)
   SetPropertyCallback(ctx=0x7faf50c4b048, obj=0x7faf5d532440,
  prop=prop1)
   HasPropertyCallback(ctx=0x7faf50c4b048, obj=0x7faf5d532440,
  prop=prop1)
   FinalizeCallback(obj=0x7faf5d532400)
   FinalizeCallback(obj=0x7faf5d532440)
  
   You can see that, the callback functions received several different
   context
   pointers comparing to the one created at first beginning.
  
   Is it an intend behavior or a bug of webkit? And how can I avoid or
   workaround this problem?
  
   Thanks a lot.
  
   James Su
   ___
   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
 

 ___
 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] Plug in support on DirectFB Webkit

2009-03-02 Thread Ariya Hidayat

 I am running Webkit on DirectFB.
 AFAIK, plug in support is not there on DirectFB/Webkit.
 I found in WebCore/plugin calls are all Xt/X11 based.
 Can any one suggest me , how can I modify these call for DirectFB ?

DirectFB is a complete different beast, compared to X11. AFAICS you have to 
implement the whole plugin infrastructure for that.
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


[webkit-dev] How to render error message in to main window from webkit

2009-03-02 Thread Nitin Walke
Hi,
I can show curl error message in Dialog window. But I want to show message
in main window so how can I proceed?How can we render our curl error message
from webkit to main window or from gtk+ to main window?
any suggestion is appreciated..

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


Re: [webkit-dev] wap support schedule

2009-03-02 Thread David Kilzer
WAP support is not enabled on the Windows or Mac nightly builds on 
http://nightly.webkit.org/.  You must enable it yourself and rebuild from 
source.

Dave





From: 조정흠 journeyer...@gmail.com
To: webkit-dev@lists.webkit.org
Sent: Monday, March 2, 2009 4:00:15 AM
Subject: [webkit-dev] wap support schedule


Hello,
 
In the previous archive, I found that someone in webkit.org(excuse me if I am 
wrong) was merging code for wap support.
He said that webkit will support WML and WCSS.
 
I tried open a wml page with current nightly builded safari on windows. But 
safari only downloaded the wml page. It doesn't seem to be able to render wml 
page yet.
 
Could I know the schedule for merging work of WML and WCSS?
 
Isn't it true that I already can make safari render wml page through some 
configuration changes of latest nightly builded safari?
 
Thank you very much for your kind answer in advance!
 
Humi
Seoul___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] Plug in support on DirectFB Webkit

2009-03-02 Thread Rick
Having just looked up DirectFB on Wikipedia, I see it is an interface
that skips X and talks directly to the framebuffer.

There is mention of an API called XDirectFB that mimics X11 calls.
You might look for that.

On Mon, Mar 2, 2009 at 8:38 AM, Ariya Hidayat
ariya.hida...@trolltech.com wrote:

 I am running Webkit on DirectFB.
 AFAIK, plug in support is not there on DirectFB/Webkit.
 I found in WebCore/plugin calls are all Xt/X11 based.
 Can any one suggest me , how can I modify these call for DirectFB ?

 DirectFB is a complete different beast, compared to X11. AFAICS you have to
 implement the whole plugin infrastructure for that.
 ___
 webkit-dev mailing list
 webkit-dev@lists.webkit.org
 http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev




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


Re: [webkit-dev] Plug in support on DirectFB Webkit

2009-03-02 Thread Sriram Neelakandan
Well, what u need is a build time flag, which should first get rid of
all X11 headers.
Then you end up having to define or mapping the missing structure /
defines in npruntime,h  npapi.h to appropriate DFB equivalents

Now, after that, you will get stuck with gtk_socket_new .. a well
known issue with DFB windowing which is currently not implemented in
the gtk/dfb backend.

I remember some how the mozilla guys managed to get DFB SWFDEC player
plugin working.. wonder how ?
I think mostly they rendered the plugin on a different Window !

I heard that gtk_socket_new may get fixed in DFB-2.0.. untill then DFB
plugins will have to wait !
Not sure if there is a better way to render DFB plugins on to
Webframe/view 's surface directly !



On Mon, Mar 2, 2009 at 8:53 PM, Rick graham.r...@gmail.com wrote:
 Having just looked up DirectFB on Wikipedia, I see it is an interface
 that skips X and talks directly to the framebuffer.

 There is mention of an API called XDirectFB that mimics X11 calls.
 You might look for that.

 On Mon, Mar 2, 2009 at 8:38 AM, Ariya Hidayat
 ariya.hida...@trolltech.com wrote:

 I am running Webkit on DirectFB.
 AFAIK, plug in support is not there on DirectFB/Webkit.
 I found in WebCore/plugin calls are all Xt/X11 based.
 Can any one suggest me , how can I modify these call for DirectFB ?

 DirectFB is a complete different beast, compared to X11. AFAICS you have to
 implement the whole plugin infrastructure for that.
 ___
 webkit-dev mailing list
 webkit-dev@lists.webkit.org
 http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev




 --
 Cheers!
 Rick
 ___
 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


Re: [webkit-dev] strange behaviour when loading local webpage using file://

2009-03-02 Thread x yz

thanks for update, it helps people.


--- On Mon, 3/2/09, Jenson Lui jhn...@gmail.com wrote:

 From: Jenson Lui jhn...@gmail.com
 Subject: Re: [webkit-dev] strange behaviour when loading local webpage using  
 file://
 To: last...@yahoo.com
 Cc: webkit-dev@lists.webkit.org
 Date: Monday, March 2, 2009, 5:10 PM
 Hello all,
 
 After some codes trace and I find that the
 g_file_info_get_content_type
 is not function properly on my target board. So I wrote a
 simple test program
 to test the g_file_info_get_content_type and discover that
 my target root
 fs is missing the MIME database. By copy the MIME database,
 everything is
 working fine now.
  Anyway, thanks for the helps!
 
 Regards,
 Jenson
 
  On Sun, Mar 1, 2009 at 6:48 AM, x yz
 last...@yahoo.com wrote:
 
  you cross compile to which CPU/OS? using which
 version/compiler?
 
 
  --- On Sat, 2/28/09, Jenson Lui
 jhn...@gmail.com wrote:
 
  From: Jenson Lui jhn...@gmail.com
  Subject: Re: [webkit-dev] strange behaviour
 when loading local webpage using file://
  To: webkit-dev@lists.webkit.org
  Date: Saturday, February 28, 2009, 4:32 PM
  Hello,
 
    hmm...actually I did a search and only find
 something
  related by
  Dhananjoy Chutia's email. However, look
 like no one
  reply to
  the issue (or i miss the email reply?) It
 would be nice if
  anyone can
  help to copy the reply or show the link to it.
 Thanks!
 
  Regards,
  Hung
 
  the email is quoted here
 
 begin==
  Hi,
   Here are some observations:
 
  When I try to load
 file:///home/dhananjoy/index.html , the
  following error
  is shown.
  GLib-GIO-CRITICAL **: g_file_read_async:
 assertion
  `G_IS_FILE (file)'
  failed.
 
  As per my observation d-m_gfile is not
 NULL upto the
  statement
   client-didReceiveResponse(handle,
 response); : line no
  590 in
 
 WebCore/platform/network/soup/ResourceHandleSoup.cpp
  But, afterward d-m_gfile becomes NULL.
 
  It is to be noted that my I am using
 glib-2.15.3.
 
  Regards
  Dhananjoy
  end==
 
  On Sat, Feb 28, 2009 at 1:36 AM, x yz
  last...@yahoo.com wrote:
  
   search for previous discussions.
  
  
   --- On Fri, 2/27/09, Jenson Lui
  jhn...@gmail.com wrote:
  
   From: Jenson Lui
 jhn...@gmail.com
   Subject: [webkit-dev] strange
 behaviour when
  loading local webpage using file://
   To: webkit-dev@lists.webkit.org
   Date: Friday, February 27, 2009, 3:52
 PM
   Hello all,
  
           I encounter a strange
 problem.
   I cross compile latest webkit engine
 and use it in
  my
   application.
   When I try to load a web page from
 local using
  file://,
   instead of
   rendering the html,
   the actual html text is display, i.e.
   html... is shown.
   I try the lt-Gtklauncher in my
 target, same
  result.
   However, when I try the x86 build of
 the same
  revision with
   the same html page.
   The html page is rendered as normal.
   I am using the same set of options
 when do the
  cross
   compile  x86 build.
   I am not sure if there is anything
 wrong? Does
  anyone have
   the same problem?
  
   Thanks!
  
   Regards,
   Jenson
  
 ___
   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


[webkit-dev] Cross browser automated tests

2009-03-02 Thread Sylvain Pasche

Hi,

This is an announcement of a project that may be of interest. The idea 
is to run test cases automatically on some versions of the main 
browsers. Test results should help authors/spec authors/vendors see what 
feature is implemented where and vendors could integrate these tests in 
their regression testing framework.


For now the framework is able to run a subset of WebKit and Mozilla 
automated tests. For the WebKit tests in particular, it runs the 
LayoutTests that use the layoutTestController.dumpAsText() API and 
compare result with a testcase-exepected.txt file.


Results are visible on http://www.browsertests.org. Note that there are 
some features not implemented or limitations that result in tests that 
should pass which fail and reversely. Source code and some documentation 
is available at http://code.google.com/p/browsertests/.


One of the possible future improvements is to run Mozilla tests using 
DumpRenderTree. That means that Mozilla tests could be integrated in 
WebKit's automated testing harness.


If you have questions/suggestions/ideas they're welcome. There's also a 
discussion group on http://groups.google.com/group/browsertests.



Sylvain

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


Re: [webkit-dev] wap support schedule

2009-03-02 Thread 조정흠
Hi, Dave
Thank you for your kind answer.

I could build WML enabled Safari by enabling ENABLE_WML in WebKit, WebCore
and in the file build-generated-files.sh under WebCoreGenerated.

But I had to block out some errornous code.

RenderObject* r = renderer();
if (r /* r-isEdited()*//*JJH*/) {
dispatchEventForType(eventNames().changeEvent, true, false);

// Refetch the renderer since arbitrary JS code run during
onchange can do anything, including destroying it.
r = renderer();
//if (r) /*JJH*/
//r-setEdited(false); /*JJH*/
}

Class RenderObject doesn't have function isEdited(), setEdited(false)

I'd like to get updated information on this error code if this is corrected.

Thank you anyway.

Regards
Humi
Seoul

2009/3/2 David Kilzer ddkil...@webkit.org

 WAP support is not enabled on the Windows or Mac nightly builds on 
 http://nightly.webkit.org/.  You must enable it yourself and rebuild from
 source.

 Dave


 --
 *From:* 조정흠 journeyer...@gmail.com
 *To:* webkit-dev@lists.webkit.org
 *Sent:* Monday, March 2, 2009 4:00:15 AM
 *Subject:* [webkit-dev] wap support schedule

 Hello,

 In the previous archive, I found that someone in webkit.org(excuse me if I
 am wrong) was merging code for wap support.
 He said that webkit will support WML and WCSS.

 I tried open a wml page with current nightly builded safari on windows. But
 safari only downloaded the wml page. It doesn't seem to be able to render
 wml page yet.

 Could I know the schedule for merging work of WML and WCSS?

 Isn't it true that I already can make safari render wml page through some
 configuration changes of latest nightly builded safari?

 Thank you very much for your kind answer in advance!

 Humi
 Seoul





-- 
조정흠
서울 동작구 신대방동 625-3 아트빌라102호
010-8473-3973
www.humi.or.kr
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] wap support schedule

2009-03-02 Thread David Kilzer
Sounds like a bug.  Please file a new bug at https://bugs.webkit.org/ about 
this issue.  Thanks!

Dave





From: 조정흠 journeyer...@gmail.com
To: David Kilzer ddkil...@webkit.org
Cc: webkit-dev@lists.webkit.org
Sent: Monday, March 2, 2009 8:14:10 PM
Subject: Re: [webkit-dev] wap support schedule

Hi, Dave

Thank you for your kind answer.

I could build WML enabled Safari by enabling ENABLE_WML in WebKit, WebCore and 
in the file build-generated-files.sh under WebCoreGenerated.

But I had to block out some errornous code.

RenderObject* r = renderer();
if (r /* r-isEdited()*//*JJH*/) {
dispatchEventForType(eventNames().changeEvent, true, false);

// Refetch the renderer since arbitrary JS code run during onchange 
can do anything, including destroying it.
r = renderer();
//if (r)/*JJH*/
//r-setEdited(false);/*JJH*/
}

Class RenderObject doesn't have function isEdited(), setEdited(false)

I'd like to get updated information on this error code if this is corrected.

Thank you anyway.

Regards
Humi
Seoul

2009/3/2 David Kilzer ddkil...@webkit.org

WAP support is not enabled on the Windows or Mac nightly builds on 
http://nightly.webkit.org/.  You must enable it yourself and rebuild from 
source.

Dave





 From: 조정흠 journeyer...@gmail.com
To: webkit-dev@lists.webkit.org
Sent: Monday, March 2, 2009 4:00:15 AM
Subject: [webkit-dev] wap support schedule



Hello,
 
In the previous archive, I found that someone in webkit.org(excuse me if I am 
wrong) was merging code for wap support.
He said that webkit will support WML and WCSS.
 
I tried open a wml page with current nightly builded safari on windows. But 
safari only downloaded the wml page. It doesn't seem to be able to render wml 
page yet.
 
Could I know the schedule for merging work of WML and WCSS?
 
Isn't it true that I already can make safari render wml page through some 
configuration changes of latest nightly builded safari?
 
Thank you very much for your kind answer in advance!
 
Humi
Seoul
 


-- 
조정흠
서울 동작구 신대방동 625-3 아트빌라102호
010-8473-3973
www.humi.or.kr
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev