Re: [webkit-dev] [Block Pointer] Deterministic Region Based Memory Manager

2016-03-04 Thread Phil Bouchard
On 03/05/2016 12:49 AM, Filip Pizlo wrote: If you're right then you've resolved CS problems dating back to the 50's. Extraordinary claims require extraordinary evidence. You haven't provided any evidence. It wasn't easy to implement but it's done now so we can all move forward. Replacing o

Re: [webkit-dev] [Block Pointer] Deterministic Region Based Memory Manager

2016-03-04 Thread Filip Pizlo
> On Mar 4, 2016, at 9:33 PM, Phil Bouchard wrote: > >> On 03/05/2016 12:07 AM, Ryosuke Niwa wrote: >> Hi Phil, >> >> You made a similar post in December 2014: >> https://lists.webkit.org/pipermail/webkit-dev/2014-December/027113.html >> >> Are you suggesting you have done or ready to do the

Re: [webkit-dev] [Block Pointer] Deterministic Region Based Memory Manager

2016-03-04 Thread Phil Bouchard
On 03/05/2016 12:07 AM, Ryosuke Niwa wrote: Hi Phil, You made a similar post in December 2014: https://lists.webkit.org/pipermail/webkit-dev/2014-December/027113.html Are you suggesting you have done or ready to do the following? I just completed the implementation of block_ptr<> but I am rea

Re: [webkit-dev] [Block Pointer] Deterministic Region Based Memory Manager

2016-03-04 Thread Ryosuke Niwa
Hi Phil, You made a similar post in December 2014: https://lists.webkit.org/pipermail/webkit-dev/2014-December/027113.html Are you suggesting you have done or ready to do the following? > Let’s be clear, though: we’re unlikely to accept a patch in which all of our > JS object references are rep

[webkit-dev] [Block Pointer] Deterministic Region Based Memory Manager

2016-03-04 Thread Phil Bouchard
Greetings, I already posted this a couple of years ago but my code wasn't robust back then. Now my memory manager is pretty robust and I was wondering if there is any interests to integrate this into WebKit to replace the current garbage collector. AFAIK the latter doesn't run well on embed

Re: [webkit-dev] Unprefixing hyphens property?

2016-03-04 Thread Dean Jackson
> On 26 Jan 2016, at 2:53 AM, Michael Catanzaro wrote: > > Mozilla has unprefixed the CSS hyphens property as of Firefox 43. Is > there any interest in unprefixing it for WebKit? We're interested in unprefixing everything, but we generally like to know if: - there is good test coverage (e.g. t

Re: [webkit-dev] Should overridden methods use 'virtual' keyword in addition to 'override'?

2016-03-04 Thread Michael Catanzaro
On Fri, 2016-03-04 at 14:04 -0800, Darin Adler wrote: > I’d like to learn more about this. Are the relevant warnings on for > all the WebKit project’s compilers, ports, and build systems? See: https://bugs.webkit.org/show_bug.cgi?id=153695 https://bugs.webkit.org/show_bug.cgi?id=155048 GCC and C

Re: [webkit-dev] Should overridden methods use 'virtual' keyword in addition to 'override'?

2016-03-04 Thread Darin Adler
> On Mar 4, 2016, at 10:51 AM, Michael Catanzaro wrote: > > We had a GTK port bug caused by a missing virtual destructor recently. Oh no! > GCC and Clang have warnings for this, which I think should be enabled, but > apparently were not or somehow didn't work. I’d like to learn more about thi

Re: [webkit-dev] Should overridden methods use 'virtual' keyword in addition to 'override'?

2016-03-04 Thread Darin Adler
> On Mar 4, 2016, at 10:51 AM, Michael Catanzaro wrote: > >> - Style guide should encourage programmers to use final instead of override >> whenever possible. I suspect many of the functions that currently are tagged >> override should be final instead. Agreed? > > What's your reasoning for th

Re: [webkit-dev] Should overridden methods use 'virtual' keyword in addition to 'override'?

2016-03-04 Thread Darin Adler
I think when de-finalizing the class we likely don't want to de-finalize all the overrides. Only ones where we need to override. — Darin Sent from my iPhone > On Mar 4, 2016, at 10:39 AM, Konstantin Tokarev wrote: > > 04.03.2016, 21:32, "Darin Adler" : >> Here are three other loose ends I am

Re: [webkit-dev] Should overridden methods use 'virtual' keyword in addition to 'override'?

2016-03-04 Thread Michael Catanzaro
On Fri, 2016-03-04 at 10:32 -0800, Darin Adler wrote: > Here are three other loose ends I am thinking about: > > - Style guide should say that in a class marked final, virtual > functions should all be marked final, not override and certainly not > virtual. Agreed? Can we check that with the scrip

Re: [webkit-dev] Should overridden methods use 'virtual' keyword in addition to 'override'?

2016-03-04 Thread Konstantin Tokarev
04.03.2016, 21:32, "Darin Adler" : > Here are three other loose ends I am thinking about: > > - Style guide should say that in a class marked final, virtual functions > should all be marked final, not override and certainly not virtual. Agreed? I agree about virtual, but not sure about override

Re: [webkit-dev] Should overridden methods use 'virtual' keyword in addition to 'override'?

2016-03-04 Thread Darin Adler
Here are three other loose ends I am thinking about: - Style guide should say that in a class marked final, virtual functions should all be marked final, not override and certainly not virtual. Agreed? Can we check that with the script? Apply that rule globally like we just did with the other r

Re: [webkit-dev] Should overridden methods use 'virtual' keyword in addition to 'override'?

2016-03-04 Thread Konstantin Tokarev
04.03.2016, 20:06, "Konstantin Tokarev" : > 04.03.2016, 16:21, "Konstantin Tokarev" : >>  03.03.2016, 22:35, "Darin Adler" : >>>   OK! >>> >>>   Do we have volunteers to: >>> >>>   1) update the style guide webpage >>>   2) update check-webkit-style >>>   3) physically restrain me from turning do

Re: [webkit-dev] Should overridden methods use 'virtual' keyword in addition to 'override'?

2016-03-04 Thread Darin Adler
> On Mar 4, 2016, at 9:11 AM, Antonio Gomes wrote: > > It is a good follow up I agree. > once the first patch bakes for a while I don’t think we need “bake time” for this. It’s super-straightforward. I’m going to do it right now. — Darin ___ webkit

Re: [webkit-dev] Should overridden methods use 'virtual' keyword in addition to 'override'?

2016-03-04 Thread Antonio Gomes
On a side node, there are lots of lines like virtual void foo(..) override final; .. ending up like: void foo(..) override final; Ideally though, "override" could also get removed and it would read as void foo(..) final; It is a good follow up once the first patch bakes for a while in ToT (wi

Re: [webkit-dev] Should overridden methods use 'virtual' keyword in addition to 'override'?

2016-03-04 Thread Konstantin Tokarev
04.03.2016, 16:21, "Konstantin Tokarev" : > 03.03.2016, 22:35, "Darin Adler" : >>  OK! >> >>  Do we have volunteers to: >> >>  1) update the style guide webpage >>  2) update check-webkit-style >>  3) physically restrain me from turning do-webcore-rename into a perl script >> that does this all

Re: [webkit-dev] Should overridden methods use 'virtual' keyword in addition to 'override'?

2016-03-04 Thread Darin Adler
> On Mar 4, 2016, at 9:03 AM, Konstantin Tokarev wrote: > > I've done different thing - added override specifiers wherever clang deduces > they are needed. Sounds good. > Here is my patch: https://bugs.webkit.org/show_bug.cgi?id=155021 I’m looking now. — Darin ___

Re: [webkit-dev] Should overridden methods use 'virtual' keyword in addition to 'override'?

2016-03-04 Thread Konstantin Tokarev
04.03.2016, 19:47, "Darin Adler" : >>  On Mar 4, 2016, at 6:54 AM, Konstantin Tokarev wrote: >> >>  I have WebCore patch ready for upload. > > Yes, I had already done this last night > . Just haven’t landed it yet > because tiled-drawing tests we

Re: [webkit-dev] Should overridden methods use 'virtual' keyword in addition to 'override'?

2016-03-04 Thread Darin Adler
> On Mar 4, 2016, at 6:54 AM, Konstantin Tokarev wrote: > > I have WebCore patch ready for upload. Yes, I had already done this last night . Just haven’t landed it yet because tiled-drawing tests were failing. Fixing that now. — Darin __

Re: [webkit-dev] Should overridden methods use 'virtual' keyword in addition to 'override'?

2016-03-04 Thread Michael Catanzaro
On Fri, 2016-03-04 at 17:54 +0300, Konstantin Tokarev wrote: > clang-modernize can do that automatically, I have WebCore patch ready > for upload. clang. :) Let's do this? ___ webkit-dev mailing list webkit-dev@lists.webkit.org https://lists.webkit.org/

Re: [webkit-dev] Should overridden methods use 'virtual' keyword in addition to 'override'?

2016-03-04 Thread Konstantin Tokarev
04.03.2016, 17:53, "Michael Catanzaro" : > On Thu, 2016-03-03 at 11:38 -0800, Geoffrey Garen wrote: >>  I volunteer for any future needs in the physical restraint department >>  -- but in this case, I think (3) sounds like a good idea. > > Allowing Darin to perform (3) sounds good to me, what cou

Re: [webkit-dev] Should overridden methods use 'virtual' keyword in addition to 'override'?

2016-03-04 Thread Michael Catanzaro
On Thu, 2016-03-03 at 11:38 -0800, Geoffrey Garen wrote: > I volunteer for any future needs in the physical restraint department > -- but in this case, I think (3) sounds like a good idea. Allowing Darin to perform (3) sounds good to me, what could possibly go wrong? Some folks will have to rebase

Re: [webkit-dev] Should overridden methods use 'virtual' keyword in addition to 'override'?

2016-03-04 Thread Konstantin Tokarev
03.03.2016, 22:35, "Darin Adler" : > OK! > > Do we have volunteers to: > > 1) update the style guide webpage > 2) update check-webkit-style > 3) physically restrain me from turning do-webcore-rename into a perl script > that does this all the code in the entire source tree all at one go, since

[webkit-dev] Regarding CVE-2014-1303

2016-03-04 Thread My shin
Hello, Is there someone who knows well how to solve CVE-2014-1303 in WebKit? What is CVE-2014-1303? Heap-based buffer overflow in Apple Safari 7.0.2 allows remote attackers to execute arbitrary code and bypass a sandbox protection mechanism via unspecified vectors, as demonstrated by Liang Chen d