Re: [webkit-dev] exporting symbols for building .so/.dll's

2012-03-08 Thread Hajime Morrita
(From the right address...) Hi Ami, I don't think there is a consensus about that. Here is my understanding of the current status of the export symbol management: At first, each port has different way to split libraries. For example, - A) Mac port (WebKit1) splits WebKit into three frameworks:

[webkit-dev] exporting symbols for building .so/.dll's

2012-03-08 Thread Ami Fischman
Hi webkittens, The over-all question: how should webkit libraries declare which symbols they export? The trigger for the question: as described in bug 80062, the chromium shared-library-based build links test code into the (non-test) libwebkit.so targ

Re: [webkit-dev] Moving to Git?

2012-03-08 Thread Aaron Boodman
I think it would look the same, except for instead of monotonically increasing decimal numbers in the "revision" column, you'd see random hexadecimal ones (typically 6-8 digits long). On Thu, Mar 8, 2012 at 4:20 PM, Lucas Forschler wrote: > Could someone enlighten me on what this page would look

Re: [webkit-dev] Moving to Git?

2012-03-08 Thread Lucas Forschler
Could someone enlighten me on what this page would look like after a conversion to git? http://build.webkit.org/builders/Windows%20Debug%20%28Build%29?numbuilds=100 Lucas On Mar 8, 2012, at 3:22 PM, Dirk Pranke wrote: > On Thu, Mar 8, 2012 at 2:37 PM, David Barr wrote: >> The monotonic labels

Re: [webkit-dev] Moving to Git?

2012-03-08 Thread Dirk Pranke
On Thu, Mar 8, 2012 at 2:37 PM, David Barr wrote: > The monotonic labels that Ryosuke desires are known in git language as > "generation numbers". If we maintain a canonical linear history going > forward, they would also be unique as with Subversion. This could be a > good reason to resurrect the

Re: [webkit-dev] Moving to Git?

2012-03-08 Thread Patrick Gansterer
Am 08.03.2012 um 23:30 schrieb Alexis Menard: > On Thu, Mar 8, 2012 at 7:10 PM, Maciej Stachowiak wrote: >> >> It seems like there are a couple of different issues here that affect how we >> do version control. Currently we have an SVN primary repository, some >> contributors use SVN, and other

Re: [webkit-dev] Moving to Git?

2012-03-08 Thread Alexis Menard
On Thu, Mar 8, 2012 at 7:30 PM, Alexis Menard wrote: > On Thu, Mar 8, 2012 at 7:10 PM, Maciej Stachowiak wrote: >> >> It seems like there are a couple of different issues here that affect how we >> do version control. Currently we have an SVN primary repository, some >> contributors use SVN, and

Re: [webkit-dev] Moving to Git?

2012-03-08 Thread David Barr
On Fri, Mar 9, 2012 at 8:25 AM, Ryosuke Niwa wrote: > > On Thu, Mar 8, 2012 at 1:19 PM, Joe Mason  wrote: >> >> What Ryosuke seems to be complaining about is that if you have changes to >> your working copy, "svn up" will automatically merge them, which could lead >> to conflicts you have to untan

Re: [webkit-dev] Moving to Git?

2012-03-08 Thread Alexis Menard
On Thu, Mar 8, 2012 at 7:10 PM, Maciej Stachowiak wrote: > > It seems like there are a couple of different issues here that affect how we > do version control. Currently we have an SVN primary repository, some > contributors use SVN, and others use git via git-svn. > > It seems like there are two

Re: [webkit-dev] Moving to Git?

2012-03-08 Thread Dirk Pranke
On Thu, Mar 8, 2012 at 2:10 PM, Maciej Stachowiak wrote: > > It seems like there are a couple of different issues here that affect how we > do version control. Currently we have an SVN primary repository, some > contributors use SVN, and others use git via git-svn. > > It seems like there are two

Re: [webkit-dev] Moving to Git?

2012-03-08 Thread Maciej Stachowiak
It seems like there are a couple of different issues here that affect how we do version control. Currently we have an SVN primary repository, some contributors use SVN, and others use git via git-svn. It seems like there are two possible changes we can make, and it is not really clear to me wh

Re: [webkit-dev] Moving to Git?

2012-03-08 Thread Joe Mason
I agree that git's hashes are less friendly than the monotonically increasing commit numbers from svn or p4. I've occasionally been given a pair of git hashes and had no idea which one came first, or even if they were in the same branch. "git log --oneline " is a pretty simple way to list all

Re: [webkit-dev] Please set the svn:mime-type property on binary files before committing

2012-03-08 Thread Dan Bernstein
On Mar 8, 2012, at 12:05 PM, Ojan Vafai wrote: > Whoops. A lot of these were from me yesterday. Sorry, I didn't realize I > didn't have my subversion config set correctly. > > I went to fix up my commits from yesterday and realized that a very large > percentage of the pngs in the LayoutTests

Re: [webkit-dev] Please set the svn:mime-type property on binary files before committing

2012-03-08 Thread Eric Seidel
Go for it! rs=me. Better yet would be automating that process, and/or making one of the tools warn if they're missing... On Thu, Mar 8, 2012 at 12:05 PM, Ojan Vafai wrote: > Whoops. A lot of these were from me yesterday. Sorry, I didn't realize I > didn't have my subversion config set correctly

Re: [webkit-dev] Moving to Git?

2012-03-08 Thread Ryosuke Niwa
On Thu, Mar 8, 2012 at 12:44 PM, Jochen Eisinger wrote: > > On Thu, Mar 8, 2012 at 9:12 PM, Ryosuke Niwa wrote: >> >> The simplicity. In git, I have to worry about things like committing >> local changes before rebasing to master, or stashing, etc... In svn, all I >> have to do is to run "svn up

Re: [webkit-dev] Moving to Git?

2012-03-08 Thread Joe Mason
Well, not quite. The equivalent to "svn up" is "git pull --rebase origin/master" (which should be the default, as git merge is the bit that horribly confuses people - but I digress). I'm not sure if it will fill in the origin/master part automatically. What Ryosuke seems to be complaining abou

[webkit-dev] webkit-patch and git revisions (resolved)

2012-03-08 Thread Dirk Pranke
Hi all, I have just landed a change to webkit-patch that tweaks the -g handling slightly as a result of the discussion in the thread from last week. The patch in question is in https://bugs.webkit.org/show_bug.cgi?id=76958 . In short, I have added a new UPSTREAM "ref" that will resolve to the tra

Re: [webkit-dev] Moving to Git?

2012-03-08 Thread Hugo Parente Lima
On Thursday 08 March 2012 17:12:47 Ryosuke Niwa wrote: > On Thu, Mar 8, 2012 at 12:04 PM, Adam Treat wrote: > > There is nothing about git that forces you to have multiple branches > > locally. Good practice, yes, but nothing forcing it. As for the > > difficulty of resolving conflicts between p

Re: [webkit-dev] Moving to Git?

2012-03-08 Thread Jochen Eisinger
On Thu, Mar 8, 2012 at 9:12 PM, Ryosuke Niwa wrote: > On Thu, Mar 8, 2012 at 12:04 PM, Adam Treat wrote: > >> There is nothing about git that forces you to have multiple branches >> locally. Good practice, yes, but nothing forcing it. As for the >> difficulty of resolving conflicts between pat

Re: [webkit-dev] Moving to Git?

2012-03-08 Thread Antonio Gomes
Hi Geoff. I might have missed your point. Who is trying to force you to change something? I would love to understand the "other side" for sure... On Thu, Mar 8, 2012 at 3:20 PM, Geoffrey Garen wrote: > IMO, none of the arguments used here so far seem like a real problem for a > switch. Of cours

Re: [webkit-dev] Please set the svn:mime-type property on binary files before committing

2012-03-08 Thread Philip Rogers
Ojan, There are also quite a few files with the svn:executable property set (359 in LayoutTests alone, by my count), I think most of which are erroneous. Philip On Thu, Mar 8, 2012 at 3:05 PM, Ojan Vafai wrote: > Whoops. A lot of these were from me yesterday. Sorry, I didn't realize I > didn't

Re: [webkit-dev] Moving to Git?

2012-03-08 Thread Geoffrey Garen
> IMO, none of the arguments used here so far seem like a real problem for a > switch. Of course, SVN people would have to adapt their workflow and it could > take days (no more than that, trust me), but it is for a greater goal at the > end. This is an example of what I mean by "fiat": Step 1

Re: [webkit-dev] Moving to Git?

2012-03-08 Thread Dirk Pranke
On Thu, Mar 8, 2012 at 9:22 AM, Geoffrey Garen wrote: > Rather than asking for a switch to git by fiat, why not improve git and our > git-related infrastructure to the point where people choose to switch > naturally? > > The fact that many valuable contributors choose not to use git is sufficient

Re: [webkit-dev] Moving to Git?

2012-03-08 Thread Antonio Gomes
(For those valuable contributors who are against Git and have manifested somehow here, please do not take it personally) IMO, none of the arguments used here so far seem like a real problem for a switch. Of course, SVN people would have to adapt their workflow and it could take days (no more than

Re: [webkit-dev] Moving to Git?

2012-03-08 Thread Ryosuke Niwa
On Thu, Mar 8, 2012 at 12:04 PM, Adam Treat wrote: > There is nothing about git that forces you to have multiple branches > locally. Good practice, yes, but nothing forcing it. As for the > difficulty of resolving conflicts between patches you've made locally and > changes made on the shared re

Re: [webkit-dev] Moving to Git?

2012-03-08 Thread Joe Mason
It seems to me that there's no need to use multiple local branches in git if you find it confusing - it's an additional feature, but I don't see anything that requires it. What workflow do you have that requires you to have multiple branches locally in git, and how do you solve it in svn withou

Re: [webkit-dev] Please set the svn:mime-type property on binary files before committing

2012-03-08 Thread Ojan Vafai
Whoops. A lot of these were from me yesterday. Sorry, I didn't realize I didn't have my subversion config set correctly. I went to fix up my commits from yesterday and realized that a very large percentage of the pngs in the LayoutTests tree have the wrong svn:mime-type. Is anyone opposed to me do

Re: [webkit-dev] Moving to Git?

2012-03-08 Thread Adam Treat
There is nothing about git that forces you to have multiple branches locally. Good practice, yes, but nothing forcing it. As for the difficulty of resolving conflicts between patches you've made locally and changes made on the shared repository since you started making your local patches... no

Re: [webkit-dev] Moving to Git?

2012-03-08 Thread Ryosuke Niwa
On Thu, Mar 8, 2012 at 11:24 AM, Ashod Nakashian wrote: > > >And that's a show stopper for me. For build bot maintenance, regression > fixes, etc... being able to easily tell the number of commits between two > revisions (in my head as opposed to using a tool) or the ordering of > commits is cruci

Re: [webkit-dev] Moving to Git?

2012-03-08 Thread simon . hausmann
Alexis, imagine not pushing directly but going through an intermediate system like in Qt - where history is nicely linear now :) Simon From: webkit-dev-boun...@lists.webkit.org [webkit-dev-boun...@lists.webkit.org] on behalf of ext Alexis Menard [alexis.

Re: [webkit-dev] Moving to Git?

2012-03-08 Thread Ashod Nakashian
> > From: Geoffrey Garen >To: Ashod Nakashian >Cc: WebKit Development >Sent: Thursday, March 8, 2012 9:22 PM >Subject: Re: [webkit-dev] Moving to Git? > > >Rather than asking for a switch to git by fiat, why not improve git and our >git-related infrastructure

Re: [webkit-dev] Moving to Git?

2012-03-08 Thread Ashod Nakashian
> > From: Ryosuke Niwa >To: Alexis Menard >Cc: Ashod Nakashian ; WebKit Development > >Sent: Thursday, March 8, 2012 9:19 PM >Subject: Re: [webkit-dev] Moving to Git? > > >On Thu, Mar 8, 2012 at 9:10 AM, Alexis Menard >wrote: >I don't use svn but the only

Re: [webkit-dev] Moving to Git?

2012-03-08 Thread Tor Arne Vestbø
On 08.03.12 18:22, Geoffrey Garen wrote: Rather than asking for a switch to git by fiat, why not improve git and our git-related infrastructure to the point where people choose to switch naturally? The fact that many valuable contributors choose not to use git is sufficient proof that switching

Re: [webkit-dev] Moving to Git?

2012-03-08 Thread Adam Treat
Indeed it is. From: webkit-dev-boun...@lists.webkit.org [webkit-dev-boun...@lists.webkit.org] on behalf of Carlos Garcia Campos [carlo...@webkit.org] Sent: Thursday, March 08, 2012 12:38 PM To: Alexis Menard Cc: webkit-dev@lists.webkit.org Subject: Re: [web

Re: [webkit-dev] Moving to Git?

2012-03-08 Thread Carlos Garcia Campos
El jue, 08-03-2012 a las 14:35 -0300, Alexis Menard escribió: > On Thu, Mar 8, 2012 at 2:32 PM, Konrad Piascik wrote: > > It is possible to keep linear history with git. This just requires you to > > fast forward and rebase before pushing. > > But can you enforce in the server? To avoid people

Re: [webkit-dev] Moving to Git?

2012-03-08 Thread Dana Jansens
On Thu, Mar 8, 2012 at 12:35 PM, Alexis Menard wrote: > On Thu, Mar 8, 2012 at 2:32 PM, Konrad Piascik wrote: > > It is possible to keep linear history with git. This just requires you > to fast forward and rebase before pushing. > > But can you enforce in the server? To avoid people to push it

Re: [webkit-dev] Moving to Git?

2012-03-08 Thread Alexis Menard
On Thu, Mar 8, 2012 at 2:32 PM, Konrad Piascik wrote: > It is possible to keep linear history with git.  This just requires you to > fast forward and rebase before pushing. But can you enforce in the server? To avoid people to push it by mistake? > Konrad > Sent from my BlackBerry on the Rogers

Re: [webkit-dev] Moving to Git?

2012-03-08 Thread Konrad Piascik
It is possible to keep linear history with git. This just requires you to fast forward and rebase before pushing. Konrad Sent from my BlackBerry on the Rogers Wireless Network - Original Message - From: Carlos Garcia Campos [mailto:carlo...@webkit.org] Sent: Thursday, March 08, 2012 12:2

Re: [webkit-dev] Moving to Git?

2012-03-08 Thread Philippe Normand
On Thu, 2012-03-08 at 14:10 -0300, Alexis Menard wrote: > On Thu, Mar 8, 2012 at 2:03 PM, Ryosuke Niwa wrote: > > On Thu, Mar 8, 2012 at 4:35 AM, Ashod Nakashian > > wrote: > >> > >> In the light of discovering that some SVN scripts have fallen behind in > >> terms of maintenance[1] and WebKit's

Re: [webkit-dev] Moving to Git?

2012-03-08 Thread Carlos Garcia Campos
El jue, 08-03-2012 a las 14:10 -0300, Alexis Menard escribió: > On Thu, Mar 8, 2012 at 2:03 PM, Ryosuke Niwa wrote: > > On Thu, Mar 8, 2012 at 4:35 AM, Ashod Nakashian > > wrote: > >> > >> In the light of discovering that some SVN scripts have fallen behind in > >> terms of maintenance[1] and Web

Re: [webkit-dev] Moving to Git?

2012-03-08 Thread Geoffrey Garen
Rather than asking for a switch to git by fiat, why not improve git and our git-related infrastructure to the point where people choose to switch naturally? The fact that many valuable contributors choose not to use git is sufficient proof that switching by fiat would be a bad idea. Geoff On M

Re: [webkit-dev] Moving to Git?

2012-03-08 Thread Ryosuke Niwa
On Thu, Mar 8, 2012 at 9:10 AM, Alexis Menard wrote: > > I don't use svn but the only benefit I see of WebKit using svn is the > linear history, clean, easy to read and to explore. Git repos tend to > have merging commits a lot and it leads to make bisecting/history > browsing harder (my taste). >

Re: [webkit-dev] Moving to Git?

2012-03-08 Thread Alexis Menard
On Thu, Mar 8, 2012 at 2:03 PM, Ryosuke Niwa wrote: > On Thu, Mar 8, 2012 at 4:35 AM, Ashod Nakashian > wrote: >> >> In the light of discovering that some SVN scripts have fallen behind in >> terms of maintenance[1] and WebKit's strong Git support and infrastructure, >> against my better judgemen

Re: [webkit-dev] Moving to Git?

2012-03-08 Thread Ryosuke Niwa
On Thu, Mar 8, 2012 at 4:35 AM, Ashod Nakashian wrote: > > In the light of discovering that some SVN scripts have fallen behind in > terms of maintenance[1] and WebKit's strong Git support and infrastructure, > against my better judgement, I'd like to distract you from being productive > by bringin

Re: [webkit-dev] Is converting pixel tests to reftests kosher for imported libraries?

2012-03-08 Thread Tor Arne Vestbø
On 08.03.12 01:57, Levi Weintraub wrote: On Wed, Mar 7, 2012 at 4:50 PM, Ryosuke Niwa mailto:rn...@webkit.org>> wrote: On Wed, Mar 7, 2012 at 4:44 PM, Darin Fisher mailto:da...@chromium.org>> wrote: Hrm, if the test expectations are customized already for different ports of

Re: [webkit-dev] Moving to Git?

2012-03-08 Thread Konrad Piascik
I personally use either git or git-svn and would welcome the move. -Konrad From: webkit-dev-boun...@lists.webkit.org [webkit-dev-boun...@lists.webkit.org] on behalf of Ashod Nakashian [ashodnakash...@yahoo.com] Sent: Thursday, March 08, 2012 8:56 AM To: Se

Re: [webkit-dev] Moving to Git?

2012-03-08 Thread Ashod Nakashian
> > From: Sergio Villar Senin >To: webkit-dev@lists.webkit.org >Sent: Thursday, March 8, 2012 4:46 PM >Subject: Re: [webkit-dev] Moving to Git? > >En 08/03/12 13:35, Ashod Nakashian escribiu: >> WebKittens, >> >> In the light of discovering that some SVN scripts

Re: [webkit-dev] Moving to Git?

2012-03-08 Thread Jarred Nicholls
On Thu, Mar 8, 2012 at 7:46 AM, Sergio Villar Senin wrote: > En 08/03/12 13:35, Ashod Nakashian escribiu: > > WebKittens, > > > > In the light of discovering that some SVN scripts have fallen behind in > > terms of maintenance[1] and WebKit's strong Git support and > > infrastructure, against my b

Re: [webkit-dev] Moving to Git?

2012-03-08 Thread Sergio Villar Senin
En 08/03/12 13:35, Ashod Nakashian escribiu: > WebKittens, > > In the light of discovering that some SVN scripts have fallen behind in > terms of maintenance[1] and WebKit's strong Git support and > infrastructure, against my better judgement, I'd like to distract you > from being productive by br

[webkit-dev] Moving to Git?

2012-03-08 Thread Ashod Nakashian
WebKittens, In the light of discovering that some SVN scripts have fallen behind in terms of maintenance[1] and WebKit's strong Git support and infrastructure, against my better judgement, I'd like to distract you from being productive by bringing up this topic (again). The wiki page of the sa

Re: [webkit-dev] Microdata document.getItems()

2012-03-08 Thread Gurpreet Kaur
Dear Ryosuke/Arko. Thanks for the support and the quick response. Regards, Gurpreet On Thu, Mar 8, 2012 at 2:50 PM, Ryosuke Niwa wrote: > On Thu, Mar 8, 2012 at 12:57 AM, Gurpreet Kaur wrote: >> >> Yes I am using older webkit version and have just merged the Microdata >> patch. When I try to

Re: [webkit-dev] Please set the svn:mime-type property on binary files before committing

2012-03-08 Thread Ashod Nakashian
Please let's also enforce svn:eol-style to LF for all scripts as this is breaking (at least) the bash scripts that are checked-out with native style on Windows. Some bash versions don't like CR. Please see a (failed) attempt at fixing this manually[1]. I also believe we should mark all (Bash/Pe

Re: [webkit-dev] CSS3 Paged Media module

2012-03-08 Thread Seo Sanghyeon
2012/3/8, David Hyatt : > That page should be updated. We don't have that architectural flaw any > longer since I re-wrote pagination last year. Please do so! -- Seo Sanghyeon ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.

Re: [webkit-dev] Microdata document.getItems()

2012-03-08 Thread Ryosuke Niwa
On Thu, Mar 8, 2012 at 12:57 AM, Gurpreet Kaur wrote: > > Yes I am using older webkit version and have just merged the Microdata > patch. When I try to do alert(document.getItems()) via script I get Object > NodeList but .lenght returns 0. > That's not a good idea. There have been a number of re

Re: [webkit-dev] Microdata document.getItems()

2012-03-08 Thread Gurpreet Kaur
Hi Arko, Yes I am using older webkit version and have just merged the Microdata patch. When I try to do alert(document.getItems()) via script I get Object NodeList but .lenght returns 0. If possible Can you just explain how is the length calculated? Regards, Gurpreet On Thu, Mar 8, 2012 at 2:20

Re: [webkit-dev] Microdata document.getItems()

2012-03-08 Thread Arko Saha
Hi Gurpreet, Yes, document.getItems() takes an optional string "types" as the argument. It should return all microdata items in the document if the "types" argument is missing. I could see its working as expected in todays revision. Are you using latest Webkit revision?? If you are just merging mi

Re: [webkit-dev] Microdata document.getItems()

2012-03-08 Thread Gurpreet Kaur
Hi Arko, On running the test case http://trac.webkit.org/browser/trunk/LayoutTests/fast/dom/MicroData/002.html I get the result as below. " This test ensures that document.getItems().length must return the correct number of MicroData Items in the Document. Also it tests that document.getItems mus

Re: [webkit-dev] Microdata document.getItems()

2012-03-08 Thread Arko Saha
I tried to run the mentioned test cases in my local machine, its working fine. I have tested the same in latest Webkit revision (Chromium/GTK port). Not sure what could be the issue. Can you please attach the test failure diff here? Thanks and regards, Arko On Thu, Mar 8, 2012 at 1:29 PM, Gurpree