[webkit-dev] Regarding Bug 23310

2009-02-15 Thread Nilesh Patil
Hi

Is this bug is valid and still open?

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


Re: [webkit-dev] Regarding Bug 23310

2009-02-15 Thread David Kilzer
It is valid and it is still open because it's Status is New.

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

Dave





From: Nilesh Patil vni...@gmail.com
To: webkit-dev@lists.webkit.org webkit-dev@lists.webkit.org
Sent: Sunday, February 15, 2009 12:02:06 AM
Subject: [webkit-dev] Regarding Bug 23310

Hi

Is this bug is valid and still open?

Thanks  Regards
Niilesh
___
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] Regarding Bug 23310

2009-02-15 Thread Nilesh Patil
Hi

Thanks david !!

I am trying to fix it. What i observed till now is following. When
only '/' is encountered the url automatically is set to 'about:blank'.
I think instead of this it should point to base URL inside Document. I
am currently looking at KURL.cpp init() method.

Please comment

Thanks  Regards
Niilesh

On Sun, Feb 15, 2009 at 4:16 PM, David Kilzer ddkil...@webkit.org wrote:
 It is valid and it is still open because it's Status is New.
 https://bugs.webkit.org/show_bug.cgi?id=23310
 Dave

 
 From: Nilesh Patil vni...@gmail.com
 To: webkit-dev@lists.webkit.org webkit-dev@lists.webkit.org
 Sent: Sunday, February 15, 2009 12:02:06 AM
 Subject: [webkit-dev] Regarding Bug 23310

 Hi

 Is this bug is valid and still open?

 Thanks  Regards
 Niilesh
 ___
 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] Regarding Bug 23310

2009-02-15 Thread David Kilzer
Please comment in the bug itself if you'd like to work on it; that's what the 
Comment field is for.

I would look at Document::completeURL() instead.  Also, please read the HTML5 
reference document for the correct algorithm to fix this issue.

Dave





From: Nilesh Patil vni...@gmail.com
Cc: webkit-dev@lists.webkit.org webkit-dev@lists.webkit.org
Sent: Sunday, February 15, 2009 3:43:38 AM
Subject: Re: [webkit-dev] Regarding Bug 23310

Hi

Thanks david !!

I am trying to fix it. What i observed till now is following. When
only '/' is encountered the url automatically is set to 'about:blank'.
I think instead of this it should point to base URL inside Document. I
am currently looking at KURL.cpp init() method.

Please comment

Thanks  Regards
Niilesh

On Sun, Feb 15, 2009 at 4:16 PM, David Kilzer ddkil...@webkit.org wrote:
 It is valid and it is still open because it's Status is New.
 https://bugs.webkit.org/show_bug.cgi?id=23310
 Dave

 
 From: Nilesh Patil vni...@gmail.com
 To: webkit-dev@lists.webkit.org webkit-dev@lists.webkit.org
 Sent: Sunday, February 15, 2009 12:02:06 AM
 Subject: [webkit-dev] Regarding Bug 23310

 Hi

 Is this bug is valid and still open?

 Thanks  Regards
 Niilesh
 ___
 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] Fwd: Building WebKit in VC++ 2005

2009-02-15 Thread Saumya
I installed all the developer tools  needed and build in cygwin shell... It
buits ok but when i debug there r messages like 'meke sure the project type
.vcproj is installed'
Also i tried to open the webkit solution in VC++ 2005.
when i run so many errors come like 'fatal error C1083: Cannot open include
file: 'unicode/uchar.h': No such file or directory'
Please Help...

Regards,
saujee




-- 
Saumya Wanniarachchi
Department of Computer Sceience  Engineering
University Of Moratuwa
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] Fwd: Building WebKit in VC++ 2005

2009-02-15 Thread Brent Fulgham

Hi Saumya:

On Feb 15, 2009, at 9:56 AM, Saumya wrote:

I installed all the developer tools  needed and build in cygwin  
shell... It buits ok but when i debug there r messages like 'meke  
sure the project type .vcproj is installed'

Also i tried to open the webkit solution in VC++ 2005.
when i run so many errors come like 'fatal error C1083: Cannot open  
include file: 'unicode/uchar.h': No such file or directory'

Please Help...


You are most likely getting these errors when opening the Visual  
Studio project because you are missing one (or both) environment  
variables:


WEBKITOUTPUTDIR  -- The path where the build places the auto-generated  
sources, libraries, and resulting binaries.
WEBKITLIBRARIESDIR -- The path to the build dependencies included in  
the WebKitLibraries.zip installed during update-webkit.  This is  
where the unicode headers are located.



This is discussed in http://trac.webkit.org/wiki/BuildingOnWindows.

I think if you set them to the appropriate paths in your environment,  
you will find that you can open, run, and debug via Visual Studio.


Good luck!

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


Re: [webkit-dev] Flash support with Qt for WebKit - how about Gtk?

2009-02-15 Thread x yz
does Gtk+ support/will support Flash? any comparison on Gtk+/Qt port or 
advatanges?
rgds
joe


--- On Sat, 2/14/09, Benjamin Meyer b...@meyerhome.net wrote:

 From: Benjamin Meyer b...@meyerhome.net
 Subject: Re: [webkit-dev] Flash support with Qt for WebKit
 To: 
 Cc: webkit-dev@lists.webkit.org
 Date: Saturday, February 14, 2009, 3:52 AM
 The Qt port does include support for flash.  If you are
 using webkit that is bundled with Qt make sure you are using
 one of the Qt 4.5 snapshots as Qt 4.4 does not include
 flash.  Also make sure you turn on plugin support in your
 QtWebKit application.
 
 -Benjamin Meyer
 
 On Feb 12, 2009, at 7:43 PM, Joshi wrote:
 
  Hi,
  What is the status of support for Flash player and
 other Mozilla style
  plugins in WebKit? I compiled WebKit using Qt port on
 Linux and it runs fine
  but fails to display pages with Flash. I have flash
 plugins for Mozilla and
  so both Firefox and Konqueror can show flash. Is there
 any guide on how to
  make WebKit work for flash pages?
  
  I see there is relevant code under
 WebCore/plugins/{win,mac}. But, I don't
  see corresponding WebCore/plugins/qt. Does this mean
 right now plugins are
  not supported for Qt port?
  
  I will appreciate any answers.
  ___
  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] webkit test ques/fail

2009-02-15 Thread x yz

Hi,
I tried to run 02/13/09 code on Ubuntu 8.10/Intel two core CPU and face a few 
errors.

1. how do I specifically test WREC/JIT? I just want to run a specific code file 
so I can trace if sth wrong. I can run GtkLauncher or jsc.

2. on architecture level how WREC/JIT are used in webkit? how could I know the 
calling sequence? I can run some test but how do I know whether WREC/JIT are 
called? what's the running flow of WREC/JIT?

3. when I run_javascriptcore_tests the error is:
shell.js -f ./js1_6/String/regress-306591.js

-#- Wrote results to 'actual.html'.



** Danger, Will Robinson! Danger! The following failures have been introduced:

ecma/Date/15.9.5.31-1.js
#hour diff 1
ecma/Date/15.9.5.35-1.js

ecma_3/Date/15.9.5.6.js



You fixed the following test:

ecma_3/Date/15.9.5.7.js



3 regressions found.

1 test fixed.


Errors include time difference of 1 hour (time zone wrong?) or unexpected NaN.

4. when I run-webkit-tests:
...
3907 test cases (96%) succeeded

106 test cases (2%) had incorrect layout

35 test cases (1%) were new

1 test case (1%) timed out

9 test cases (1%) crashed

138 test cases (3%) had stderr output

 
May be some errors are normal but how do I identify them?

rgds
joe




--- On Wed, 1/28/09, Gavin Barraclough barraclo...@apple.com wrote:

 From: Gavin Barraclough barraclo...@apple.com
 Subject: Re: [webkit-dev] want to port JIT to MIPS, any coworker or any hint?
 To: last...@yahoo.com
 Date: Wednesday, January 28, 2009, 4:55 PM
 On Jan 27, 2009, at 10:58 PM, x yz wrote:
 
  Gavin,
  last night I saw WREC when I search X86, and realized
 many places  
  need to be touched. Your reply give more info and
 really help.  
  Thanks a lot.
 
  In Generator::generateEnter(), there is comment
 On gcc the function  
  is regparm(3)..., how to understand that?
 
 WREC JIT generates a function with a C calling convention
 that  
 implements the regular expression.  The entry and exit from
 the  
 function are generated by the generateEnter() and
 generateReturn*()  
 methods.  On OS X x86, the JIT generated function
 implements a  
 regparm(3) calling convention (see WREC.h, the generated
 code is  
 called through a CompiledRegExp function pointer).
 
  The function has no argument, why we peek four
 arguments from  
  stack(input,output,length,index)?
 
 These calls are not peeking values from the stack at the
 time they are  
 called; they are emitting JIT code that will will read
 values from the  
 stack, when the JIT function has been generated and is run.
  The JIT  
 generated regular expression function is passed these four
 arguments  
 (again see WREC.h).
 
 As a note, you're best directing these emails at the
 webkit-dev list  
 in future, that way other people will also be able to help
 you out.
 
 cheers,
 G.
 
 
 
  rgds
  joe
 
 
  --- On Tue, 1/27/09, Gavin Barraclough
 barraclo...@apple.com wrote:
 
  From: Gavin Barraclough
 barraclo...@apple.com
  Subject: Re: [webkit-dev] want to port JIT to
 MIPS, any coworker or  
  any hint?
  To: last...@yahoo.com
  Date: Tuesday, January 27, 2009, 5:10 AM
  On Jan 26, 2009, at 11:09 AM, x yz wrote:
 
  Gavin,
  Thanks, I really need to learn fast.
  Where can I find more on WREC or its spec?
 
  WREC is WebKit's regular expression JIT.  The
 spec it
  is implementing is the regular expression syntax
 described
  in ECMA-262.
 
  Which part of webkit is WREC? I just see all
 assembler
  codes are in assembler and jit and
 wonder
  whether I can just change them rather then change
 WREC.
 
  WebKit contains two separate JITs, one for the
 JavaScript
  language (in the 'jit' directory), one for
  JavaScript's regular expression language (in
 the
  'wrec' directory).  Both JITs make use of
 the same
  assembler to emit code.  WREC is a much smaller,
 simpler
  JIT, which is why I suggest starting by looking at
 this, but
  either JIT can be enabled independently of the
 other.
 
  Foresee SSE set may be a problem as MIPS has
 no SSE.
 
  WREC does not use SSE, and I believe all JIT code
 generated
  by the main JS JIT is guarded by the a
 configuration switch,
  JIT_OPTIMIZE_ARITHMETIC – this can be disabled
 in
  Platform.h.
 
  Sun's link for The JIT Compiler
 Interface
  Specification not valid anymore.
 
  Our JIT is all our own code, and written from
 scratch, so
  I'm not sure this documentation would help
 you.
 
  Good luck,
  G.
 
 
  MacroAssembler::breakpoint() is just int3
 which I know
  used as debug int in X86. I'll see which one
 used in gnu
  mips.
  joe
 
 
 
  --- On Sun, 1/25/09, Gavin Barraclough
  barraclo...@apple.com wrote:
 
  From: Gavin Barraclough
  barraclo...@apple.com
  Subject: Re: [webkit-dev] want to port JIT
 to
  MIPS, any coworker or any hint?
  To: WebKit Development
  webkit-dev@lists.webkit.org
  Date: Sunday, January 25, 2009, 5:34 PM
  On Jan 24, 2009, at 8:36 PM, x yz wrote:
 
  Just build webkit on XP using cgywin,
 not
  tested yet.
  I want to 

Re: [webkit-dev] webkit test ques/fail

2009-02-15 Thread x yz
it seems WREC/JIT is disabled on Linux/X86, only available on MAC/WIN. right?


--- On Mon, 2/16/09, x yz last...@yahoo.com wrote:

 From: x yz last...@yahoo.com
 Subject: Re: [webkit-dev] webkit test ques/fail
 To: webkit-dev@lists.webkit.org
 Date: Monday, February 16, 2009, 4:26 AM
 Hi,
 I tried to run 02/13/09 code on Ubuntu 8.10/Intel two core
 CPU and face a few errors.
 
 1. how do I specifically test WREC/JIT? I just want to run
 a specific code file so I can trace if sth wrong. I can run
 GtkLauncher or jsc.
 
 2. on architecture level how WREC/JIT are used in webkit?
 how could I know the calling sequence? I can run some test
 but how do I know whether WREC/JIT are called? what's
 the running flow of WREC/JIT?
 
 3. when I run_javascriptcore_tests the error is:
 shell.js -f ./js1_6/String/regress-306591.js
 
 -#- Wrote results to 'actual.html'.
 
 
 
 ** Danger, Will Robinson! Danger! The following failures
 have been introduced:
 
   ecma/Date/15.9.5.31-1.js
   #hour diff 1
   ecma/Date/15.9.5.35-1.js
 
   ecma_3/Date/15.9.5.6.js
 
 
 
 You fixed the following test:
 
   ecma_3/Date/15.9.5.7.js
 
 
 
 3 regressions found.
 
 1 test fixed.
 
 
 Errors include time difference of 1 hour (time zone wrong?)
 or unexpected NaN.
 
 4. when I run-webkit-tests:
 ...
 3907 test cases (96%) succeeded
 
 106 test cases (2%) had incorrect layout
 
 35 test cases (1%) were new
 
 1 test case (1%) timed out
 
 9 test cases (1%) crashed
 
 138 test cases (3%) had stderr output
 
  
 May be some errors are normal but how do I identify them?
 
 rgds
 joe
 
 
 
 
 --- On Wed, 1/28/09, Gavin Barraclough
 barraclo...@apple.com wrote:
 
  From: Gavin Barraclough barraclo...@apple.com
  Subject: Re: [webkit-dev] want to port JIT to MIPS,
 any coworker or any hint?
  To: last...@yahoo.com
  Date: Wednesday, January 28, 2009, 4:55 PM
  On Jan 27, 2009, at 10:58 PM, x yz wrote:
  
   Gavin,
   last night I saw WREC when I search X86, and
 realized
  many places  
   need to be touched. Your reply give more info and
  really help.  
   Thanks a lot.
  
   In Generator::generateEnter(), there is comment
  On gcc the function  
   is regparm(3)..., how to understand that?
  
  WREC JIT generates a function with a C calling
 convention
  that  
  implements the regular expression.  The entry and exit
 from
  the  
  function are generated by the generateEnter() and
  generateReturn*()  
  methods.  On OS X x86, the JIT generated function
  implements a  
  regparm(3) calling convention (see WREC.h, the
 generated
  code is  
  called through a CompiledRegExp function pointer).
  
   The function has no argument, why we peek four
  arguments from  
   stack(input,output,length,index)?
  
  These calls are not peeking values from the stack at
 the
  time they are  
  called; they are emitting JIT code that will will read
  values from the  
  stack, when the JIT function has been generated and is
 run.
   The JIT  
  generated regular expression function is passed these
 four
  arguments  
  (again see WREC.h).
  
  As a note, you're best directing these emails at
 the
  webkit-dev list  
  in future, that way other people will also be able to
 help
  you out.
  
  cheers,
  G.
  
  
  
   rgds
   joe
  
  
   --- On Tue, 1/27/09, Gavin Barraclough
  barraclo...@apple.com wrote:
  
   From: Gavin Barraclough
  barraclo...@apple.com
   Subject: Re: [webkit-dev] want to port JIT to
  MIPS, any coworker or  
   any hint?
   To: last...@yahoo.com
   Date: Tuesday, January 27, 2009, 5:10 AM
   On Jan 26, 2009, at 11:09 AM, x yz wrote:
  
   Gavin,
   Thanks, I really need to learn fast.
   Where can I find more on WREC or its
 spec?
  
   WREC is WebKit's regular expression JIT. 
 The
  spec it
   is implementing is the regular expression
 syntax
  described
   in ECMA-262.
  
   Which part of webkit is WREC? I just see
 all
  assembler
   codes are in assembler and
 jit and
  wonder
   whether I can just change them rather then
 change
  WREC.
  
   WebKit contains two separate JITs, one for
 the
  JavaScript
   language (in the 'jit' directory),
 one for
   JavaScript's regular expression language
 (in
  the
   'wrec' directory).  Both JITs make
 use of
  the same
   assembler to emit code.  WREC is a much
 smaller,
  simpler
   JIT, which is why I suggest starting by
 looking at
  this, but
   either JIT can be enabled independently of
 the
  other.
  
   Foresee SSE set may be a problem as MIPS
 has
  no SSE.
  
   WREC does not use SSE, and I believe all JIT
 code
  generated
   by the main JS JIT is guarded by the a
  configuration switch,
   JIT_OPTIMIZE_ARITHMETIC – this can be
 disabled
  in
   Platform.h.
  
   Sun's link for The JIT Compiler
  Interface
   Specification not valid anymore.
  
   Our JIT is all our own code, and written from
  scratch, so
   I'm not sure this documentation would
 help
  you.
  
   Good luck,
   G.
  
  
   MacroAssembler::breakpoint() is just int3
  which I know
   

Re: [webkit-dev] want to port JIT to MIPS - when WREC/JIT enabled?

2009-02-15 Thread x yz
Hi,
from paltform.h it is enabled only on X86 MAC/WIN; from javaScriptCore.pri it 
is also enabled for (QT_ARCH,i386). But, from config.log I see them are enabled!

how can I run WREC/JIT test so I can trace in X86 asm coce generated?
thanks a lot.
joe



--- On Sat, 2/7/09, Gavin Barraclough barraclo...@apple.com wrote:

 From: Gavin Barraclough barraclo...@apple.com
 Subject: Re: [webkit-dev] want to port JIT to MIPS - using X86::ecx as base
 To: last...@yahoo.com
 Cc: WebKit Development webkit-dev@lists.webkit.org
 Date: Saturday, February 7, 2009, 7:08 AM
 On Feb 6, 2009, at 2:52 PM, x yz wrote:
 
  1.what's the meaning of ALTERNATE_JSIMMEDIATE and
 slow case?
 
 On x86-64 we use a different implementation of the class
 JSImmediate.  See JSImmediate.h.
 Re 'slow case', in the JIT code generation is
 performed as two passes over the bytecode – see
 JIT::privateCompileMainPass and
 JIT::privateCompileSlowCases.
 
  2.how come the following code can use ECX as base
 register?
  load32(Address(X86::ecx, FIELD_OFFSET(Structure,
 m_typeInfo.m_flags)), X86::ecx);
  if the X86::ecx just means its value 1 in ModR/M, does
 it means [BX+DI]?
 
 I think you're looking at the old 16-bit addressing
 mode tables; 32/64-bit x86 can happily encode ecx as a base
 register.  If you're looking at the Intel IA-32 manual
 volume 2, see table 2-2 on the next page.
 
  3. can anybody help me on my previous questions? does
 JIT support floating point?
 
 Yes, some.  See JITArithmetic.cpp.
 
  cheers,
 G.


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


[webkit-dev] error: Cannot find icu-config. The ICU library is needed.

2009-02-15 Thread nguyen hai
Hi all,

I build webkit on Fedora 9.
I typed ./autogen.sh and I got a message:

checking for icu-config... no
configure: error: Cannot find icu-config. The ICU library is needed.
[r...@localhost WebKit-r41018]# 

I am looking this error on webkt.org but I have not found any answer.
Can you help me to solve this error?
Thanks in advance!
Hai



  Hỗ trợ Tìm kiếm nay đã có trên Yahoo! Thanh công cụ. Tải ngay.
http://vn.toolbar.yahoo.com/___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev