Re: [webkit-dev] compact ICU unicode

2013-06-13 Thread Brianceau, Julien
Hello all,

Any update on this topic ?
We are also very interested in this as we're using the Qt port on embedded 
devices.

Thanks,

Julien

-Message d'origine-
De : webkit-dev-boun...@lists.webkit.org 
[mailto:webkit-dev-boun...@lists.webkit.org] De la part de Salisbury, Mark
Envoyé : vendredi 7 juin 2013 21:16
À : WebKit Development (webkit-dev@lists.webkit.org)
Objet : [webkit-dev] compact ICU unicode

Hello,

What would people think about including specific ICU data tables in WTF in 
order to provide a lightweight (but functional) unicode implementation?

On embedded systems the size of ICU is prohibitive.  Determining the right way 
to package it to make it small enough isn't simple either.

A patch was reviewed once that attempted to add ICU data tables directly in WTF 
and there were two concerns:
1) Checking in generated files 
(https://bugs.webkit.org/show_bug.cgi?id=27305#c8)
2) Questions concerning if the ICU license is compatible with WebCore 
(https://bugs.webkit.org/show_bug.cgi?id=27305#c9)

I believe the patch could be done differently as to not check in generated 
files.  Regarding the second concern, ICU has a very permissive license 
(http://www.icu-project.org/repos/icu/icu/trunk/license.html).  There are three 
requirements, basically that the copyright and permission notice has to appear 
with copies of the software.  I believe that is already a requirement for 
distributions of webkit that use ICU.  Except for WChar unicode, I believe all 
webkit builds now use ICU Unicode.

This Unicode path could replace WCHAR_UNICODE or be introduced as a third 
option, call it what you like - BASIC_ICU_UNICODE, ICU_LITE_UNICODE, 
COMPACT_ICU_UNICODE, etc..  I think it might be valuable for other ports that 
are size conscious - the up and coming NIX port comes to mind.

Thanks,
Mark

Background:
After rebasing my WinCE port of webkit, I ran into an ASSERT in 
WebCore/platform/text/wchar/TextBreakIteratorWchar.cpp, 
acquireLineBreakIterator().  I thought I'd be able to easily fix this, since I 
had already modified how LineBreakIterator works to take prior context into 
account (on my own branch) and find line break in a stream of non-ASCII 
characters.

However, the WCHAR Unicode implementation is very bare bones and does not even 
support returning the Unicode character category 
(http://trac.webkit.org/browser/trunk/Source/WTF/wtf/unicode/wchar/UnicodeWchar.cpp#L35).
  WCHAR Unicode was originally called WinCE Unicode, then it was properly 
renamed as it had nothing to do with WinCE.

WinCE Unicode originally came in here:  
https://bugs.webkit.org/show_bug.cgi?id=27305.  The reason it was introduced 
was to save space (filesystem and RAM).  ICU, if not packaged very carefully 
(http://userguide.icu-project.org/packaging), is actually larger than webkit 
itself.  On embedded systems, this is a big deal.  The original plan with the 
bug above was to include specific ICU data tables in webkit.

I've been compiling WTF with Unicode tables embedded for some time now.  I 
don't believe I've seen many layout test regressions due to using a simplified 
ICU implementation.


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



This message is confidential and intended only for the addressee. If you have 
received this message in error, please immediately notify the 
postmas...@nds.com and delete it from your system as well as any copies. The 
content of e-mails as well as traffic data may be monitored by NDS for 
employment and security purposes.
To protect the environment please do not print this e-mail unless necessary.

An NDS Group Limited company. www.nds.com
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-dev


Re: [webkit-dev] Ports not building as C++11?

2013-07-29 Thread Brianceau, Julien
Hi all,

I'm afraid that our sh4 bot won't handle C++11 properly : 
http://build.webkit.org/builders/Qt%20Linux%20SH4%20Release

$ sh4-linux-g++ --version
sh4-linux-g++ (GCC) 4.6.3 20120613 (STMicroelectronics/Linux Base 4.6.3-111)
Copyright (C) 2011 Free Software Foundation, Inc.


Julien

De : webkit-dev-boun...@lists.webkit.org 
[mailto:webkit-dev-boun...@lists.webkit.org] De la part de Geoffrey Garen
Envoyé : lundi 29 juillet 2013 09:19
À : Brent Fulgham
Cc : WebKit Development
Objet : Re: [webkit-dev] Ports not building as C++11?

I'd really like to use , which isn't supported until VS2012.

When will we VS2012?

Geoff

On Jul 28, 2013, at 9:10 PM, Brent Fulgham 
mailto:bfulg...@gmail.com>> wrote:


We can support auto and move semantics.  We cannot support ranged iterators 
until VS2012.

But at least it's a step in the right direction...

Sent from my iPad

On Jul 28, 2013, at 2:36 PM, Oliver Hunt 
mailto:oli...@apple.com>> wrote:


So wait, is everyone using C++11 now?

I dream of using auto...

:-D

On Jul 28, 2013, at 12:47 PM, Gergely Kis 
mailto:gerg...@homejinni.com>> wrote:


Hi,

On Sun, Jul 28, 2013 at 7:30 PM, Allan Sandfeld Jensen 
mailto:k...@carewolf.com>> wrote:

became required in WebKit2. The only fallout will likely be the loss of the Qt
MIPS bot which is maintained by a third party and is too old.
The MIPS bot was updated to Debian Wheezy and GCC 4.7.2 a few weeks
ago, I just forgot to update the buildbot slave info file, did it now.

Best Regards,
Gergely
the 3rd party maintaining the MIPS bot :)
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-dev

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




This message is confidential and intended only for the addressee. If you have 
received this message in error, please immediately notify the 
postmas...@nds.com and delete it from your system as well as any copies. The 
content of e-mails as well as traffic data may be monitored by NDS for 
employment and security purposes.
To protect the environment please do not print this e-mail unless necessary.

An NDS Group Limited company. www.nds.com
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-dev


[webkit-dev] RE : Ports not building as C++11?

2013-07-29 Thread Brianceau, Julien
Allright. I took a look to STM website and I saw that they've released a sh4 
toolchain based on gcc/g++ 4.7.3

So from my side it should be ok : if we encounter any issues with C++11, I'll 
try to upgrade our build bot with this "latest" toolchain.

Julien

De : Hugo Parente Lima [hugo.l...@openbossa.org]
Date d'envoi : lundi 29 juillet 2013 15:30
À : Brianceau, Julien; webkit-dev@lists.webkit.org
Objet : Re: [webkit-dev] Ports not building as C++11?

On 07/29/2013 04:38 AM, Brianceau, Julien wrote:
>
> Hi all,
>
> I’m afraid that our sh4 bot won’t handle C++11 properly :
> http://build.webkit.org/builders/Qt%20Linux%20SH4%20Release
>
> $ sh4-linux-g++ --version
>
> sh4-linux-g++ (GCC) 4.6.3 20120613 (STMicroelectronics/Linux Base
> 4.6.3-111)
>
> Copyright (C) 2011 Free Software Foundation, Inc.
>

For most of the thing this wont be a problem.
http://gcc.gnu.org/gcc-4.6/cxx0x_status.html

> Julien
>
> *De :*webkit-dev-boun...@lists.webkit.org
> [mailto:webkit-dev-boun...@lists.webkit.org] *De la part de* Geoffrey
> Garen
> *Envoyé :* lundi 29 juillet 2013 09:19
> *À :* Brent Fulgham
> *Cc :* WebKit Development
> *Objet :* Re: [webkit-dev] Ports not building as C++11?
>
> I’d really like to use , which isn’t supported until VS2012.
>
> When will we VS2012?
>
> Geoff
>
> On Jul 28, 2013, at 9:10 PM, Brent Fulgham  <mailto:bfulg...@gmail.com>> wrote:
>
>
>
> We can support auto and move semantics. We cannot support ranged
> iterators until VS2012.
>
> But at least it's a step in the right direction...
>
> Sent from my iPad
>
> On Jul 28, 2013, at 2:36 PM, Oliver Hunt  <mailto:oli...@apple.com>> wrote:
>
>
> So wait, is everyone using C++11 now?
>
> I dream of using auto…
>
> :-D
>
> On Jul 28, 2013, at 12:47 PM, Gergely Kis  <mailto:gerg...@homejinni.com>> wrote:
>
>
> Hi,
>
> On Sun, Jul 28, 2013 at 7:30 PM, Allan Sandfeld Jensen
> mailto:k...@carewolf.com>> wrote:
>
> became required in WebKit2. The only fallout will likely be the loss
> of the Qt
> MIPS bot which is maintained by a third party and is too old.
>
> The MIPS bot was updated to Debian Wheezy and GCC 4.7.2 a few weeks
> ago, I just forgot to update the buildbot slave info file, did it now.
>
> Best Regards,
> Gergely
> the 3rd party maintaining the MIPS bot :)
> ___
> webkit-dev mailing list
> webkit-dev@lists.webkit.org <mailto:webkit-dev@lists.webkit.org>
> https://lists.webkit.org/mailman/listinfo/webkit-dev
>
>
> ___
> webkit-dev mailing list
> webkit-dev@lists.webkit.org <mailto:webkit-dev@lists.webkit.org>
> https://lists.webkit.org/mailman/listinfo/webkit-dev
>
> ___
> webkit-dev mailing list
> webkit-dev@lists.webkit.org <mailto:webkit-dev@lists.webkit.org>
> https://lists.webkit.org/mailman/listinfo/webkit-dev
>
>
> 
>
> This message is confidential and intended only for the addressee. If
> you have received this message in error, please immediately notify the
> postmas...@nds.com and delete it from your system as well as any
> copies. The content of e-mails as well as traffic data may be
> monitored by NDS for employment and security purposes.
> To protect the environment please do not print this e-mail unless
> necessary.
>
> An NDS Group Limited company. www.nds.com
>
>
> ___
> webkit-dev mailing list
> webkit-dev@lists.webkit.org
> https://lists.webkit.org/mailman/listinfo/webkit-dev

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