Gmail カレンダー ドキュメント リーダー ウェブ その他 »
最近アクセスしたグループ | ヘルプ | ログイン
Google グループ
dom/ and content/ source reorganization
現在、このグループで最初に表示するトピックが多すぎます。このトピックを最初に表示するには、別のトピックからこのオプションを削除してください。
リクエストの処理中にエラーが発生しました。 もう一度やり直してください。
フラッグ
  メッセージ 12 件 - すべて折りたたんで表示  -  すべてをに翻訳 翻訳(すべてのオリジナルを表示)
投稿先のグループは Usenet グループです。このグループにメッセージを投稿すると、インターネット上のユーザーがメール アドレスを閲覧できるようになります。
返信メッセージが送信されていません。
投稿しました。
 
差出人:
宛先:
Cc:
フォローアップ先:
Cc を追加 | フォローアップ先を追加 | 件名を編集
件名:
確認:
確認のため、下の画像に表示されている文字か、アクセシビリティ アイコンをクリックすると聞こえる数字を入力してください。 聞こえた番号を入力します
 
Benjamin Smedberg  
プロフィールを表示   に翻訳 翻訳(オリジナルを表示)
 詳細オプション 2009年1月20日, 午後11:51
ニュースグループ: mozilla.dev.tech.dom
差出人: Benjamin Smedberg <benja...@smedbergs.us>
日付: Tue, 20 Jan 2009 09:51:31 -0500
ローカル: 2009年1月20日(火) 午後11:51
件名: dom/ and content/ source reorganization
In order to make our codebase more accessible, I'm planning on doing some
reorganizations of source files. Here is my plan for content/ and dom/. jst
has looked it over, but I'd like to post it publicly before beginning to
implement it:

1) put everything under dom/

2) Keep the public IDL interfaces in roughly their current form in
dom/interfaces

3) Use the following other directories:

dom/base (nsIDocument/nsIContent, as well as parts of content/base/{public,src})
dom/window (nsGlobalWindow stuff currently in dom/src/base)
dom/events (including stuff currently in dom/src/events and content/events)
dom/geolocation
dom/json
dom/jsurl
dom/offline
dom/storage
dom/threads
dom/html
dom/html/canvas
dom/html/media
dom/mathml
dom/svg
dom/svg/smil
dom/xbl
dom/xml
dom/xslt
dom/xtf
dom/xul

Within these directories, avoid public/ and src/. In some cases I might keep
some subdirectories such as dom/xul/tree or dom/xul/templates to keep the
size of the directory manageable.

4) as a second step after the moves, stop exporting lots of internal headers
to dist/include. I think we probably need to keep exporting
nsIDocument/nsIContent, but avoid all the implementation headers.

I'm going to be doing this in small-ish pieces, for ease of testing/review.
`hg revert` doesn't un-do file moves correctly, so backing these changes out
after they have landed will be difficult and I'd like to avoid it if possible.

--BDS


    転送  
メッセージを投稿するには、ログインする必要があります。
メッセージを投稿するには、まず最初にこのグループに参加する必要があります。
投稿する前に、[設定] ページでニックネームを更新してください。
投稿に必要な権限がありません。
Mike Shaver  
プロフィールを表示   に翻訳 翻訳(オリジナルを表示)
 詳細オプション 2009年1月21日, 午前12:51
ニュースグループ: mozilla.dev.tech.dom
差出人: Mike Shaver <mike.sha...@gmail.com>
日付: Tue, 20 Jan 2009 10:51:44 -0500
ローカル: 2009年1月21日(水) 午前12:51
件名: Re: dom/ and content/ source reorganization
What effect will this have on moving changesets from m-c to
mozilla-1.9.1 after they've baked?  I'm a little worried about adding
extra hassle or risk to that process at this stage in the schedule, I
admit.

Mike

On 1/20/09, Benjamin Smedberg <benja...@smedbergs.us> wrote:

--
Sent from Gmail for mobile | mobile.google.com

    転送  
メッセージを投稿するには、ログインする必要があります。
メッセージを投稿するには、まず最初にこのグループに参加する必要があります。
投稿する前に、[設定] ページでニックネームを更新してください。
投稿に必要な権限がありません。
Benjamin Smedberg  
プロフィールを表示   に翻訳 翻訳(オリジナルを表示)
 詳細オプション 2009年1月21日, 午前2:13
ニュースグループ: mozilla.dev.tech.dom
差出人: Benjamin Smedberg <benja...@smedbergs.us>
日付: Tue, 20 Jan 2009 12:13:34 -0500
ローカル: 2009年1月21日(水) 午前2:13
件名: Re: dom/ and content/ source reorganization
On 1/20/09 10:51 AM, Mike Shaver wrote:

> What effect will this have on moving changesets from m-c to
> mozilla-1.9.1 after they've baked?  I'm a little worried about adding
> extra hassle or risk to that process at this stage in the schedule, I
> admit.

You won't be able to use automatic techniques such as `hg export rev | hg
import -`, due to misapplied patches.

You will be able to use MQ to rebase trunk->branch.

hg up trunkrev
hg qimport -r.
hg qsave -e -c
hg up -C branchtip
hg qpush -m

You can also just use `patch` and type the old filename.

The outstanding set of patches *looks* relatively small to me; I want to
catch the sweet spot where there I'm not significantly disrupting branch
work, but also not disrupting other big changes that might in the works on
trunk.

--BDS


    転送  
メッセージを投稿するには、ログインする必要があります。
メッセージを投稿するには、まず最初にこのグループに参加する必要があります。
投稿する前に、[設定] ページでニックネームを更新してください。
投稿に必要な権限がありません。
Jonas Sicking  
プロフィールを表示   に翻訳 翻訳(オリジナルを表示)
 詳細オプション 2009年1月21日, 午前9:38
ニュースグループ: mozilla.dev.tech.dom
差出人: Jonas Sicking <jo...@sicking.cc>
日付: Tue, 20 Jan 2009 16:38:53 -0800
ローカル: 2009年1月21日(水) 午前9:38
件名: Re: dom/ and content/ source reorganization

> 2) Keep the public IDL interfaces in roughly their current form in
> dom/interfaces

I don't feel strongly about this, I suspect it'd also be ok to merge a
bit more heavily here.

There's also the question of what should live in dom/interfaces, vs.
dom/X/src

> 3) Use the following other directories:

Don't really think the following deserve their own directories

dom/json
dom/html/canvas
dom/offline  (don't feel strongly here)
dom/storage  (don't feel strongly here either)

There's also a question what to do with the subdirectories under XSLT.
I'd suggest:

content/xslt/src/public -> dom/xslt/src   or  dom/interfaces/xslt
content/xslt/src/base -> dom/xslt/src
content/xslt/src/main -> dom/xslt/src/standalone
content/xslt/src/xml/txXML* -> dom/xslt/src
content/xslt/src/xml/* -> dom/xslt/src/standalone
content/xslt/src/xpath -> dom/xslt/src
content/xslt/src/xslt -> dom/xslt/src
content/xslt/tests -> dom/xslt/tests
content/xslt/crashtests -> dom/xslt/tests/crashtests

It'd also be nice to see exactly where the individual files in
dom/src/base and content/base/src are going.

Otherwise things sound great!

I'm assuming we'll still have the

dom/X/src
dom/X/tests
dom/X/locales (or maybe just dom/locales?)
dom/X/res     (or maybe just dom/res?)

structure? But move everything in /public into /src? Or are we putting
all the source files in dom/X and the tests in dom/X/tests?

/ Jonas


    転送  
メッセージを投稿するには、ログインする必要があります。
メッセージを投稿するには、まず最初にこのグループに参加する必要があります。
投稿する前に、[設定] ページでニックネームを更新してください。
投稿に必要な権限がありません。
Dave Camp  
プロフィールを表示   に翻訳 翻訳(オリジナルを表示)
 詳細オプション 2009年1月21日, 午前10:02
ニュースグループ: mozilla.dev.tech.dom
差出人: Dave Camp <dc...@mozilla.com>
日付: Tue, 20 Jan 2009 17:02:42 -0800
ローカル: 2009年1月21日(水) 午前10:02
件名: Re: dom/ and content/ source reorganization
On 1/20/09 4:38 PM, Jonas Sicking wrote:

>> 3) Use the following other directories:

> Don't really think the following deserve their own directories

> dom/offline (don't feel strongly here)
> dom/storage (don't feel strongly here either)

dom/offline is currently only one source file, and isn't likely to grow
(with the possible exception of moving nsOfflineCacheUpdate in there).

dom/storage might get bigger if we end up adding an html5 sql
implementation.  Maybe we could just move dom/offline in there for now
(although I guess they're not particularly related).

-dave


    転送  
メッセージを投稿するには、ログインする必要があります。
メッセージを投稿するには、まず最初にこのグループに参加する必要があります。
投稿する前に、[設定] ページでニックネームを更新してください。
投稿に必要な権限がありません。
Axel Hecht  
プロフィールを表示   に翻訳 翻訳(オリジナルを表示)
 詳細オプション 2009年1月21日, 午後7:15
ニュースグループ: mozilla.dev.tech.dom
差出人: Axel Hecht <l...@mozilla.com>
日付: Wed, 21 Jan 2009 11:15:09 +0100
ローカル: 2009年1月21日(水) 午後7:15
件名: Re: dom/ and content/ source reorganization
On 21.01.2009 1:38 Uhr, Jonas Sicking wrote:

>> 2) Keep the public IDL interfaces in roughly their current form in
>> dom/interfaces

> I don't feel strongly about this, I suspect it'd also be ok to merge a
> bit more heavily here.

> There's also the question of what should live in dom/interfaces, vs.
> dom/X/src

>> 3) Use the following other directories:

<...>

> I'm assuming we'll still have the

> dom/X/src
> dom/X/tests
> dom/X/locales (or maybe just dom/locales?)
> dom/X/res (or maybe just dom/res?)

> structure? But move everything in /public into /src? Or are we putting
> all the source files in dom/X and the tests in dom/X/tests?

We should only have dom/locales/en-US. That shouldn't be a problem, as
content doesn't have l10n files right now, anyway. I might just make it
more obvious to look for them in dom/locales ;-)

Axel

PS: My former XSLT-me doesn't have any opinions on this.


    転送  
メッセージを投稿するには、ログインする必要があります。
メッセージを投稿するには、まず最初にこのグループに参加する必要があります。
投稿する前に、[設定] ページでニックネームを更新してください。
投稿に必要な権限がありません。
Benjamin Smedberg  
プロフィールを表示   に翻訳 翻訳(オリジナルを表示)
 詳細オプション 2009年1月21日, 午後11:35
ニュースグループ: mozilla.dev.tech.dom
差出人: Benjamin Smedberg <benja...@smedbergs.us>
日付: Wed, 21 Jan 2009 09:35:11 -0500
ローカル: 2009年1月21日(水) 午後11:35
件名: Re: dom/ and content/ source reorganization
On 1/20/09 7:38 PM, Jonas Sicking wrote:

>> 3) Use the following other directories:

> Don't really think the following deserve their own directories

> dom/json

I can merge this into dom/window

> dom/html/canvas

ok, this can be in dom/html

> dom/offline  (don't feel strongly here)
> dom/storage  (don't feel strongly here either)

I can merge either/both of these with dom/window

> I'm assuming we'll still have the

> dom/X/src
> dom/X/tests
> dom/X/locales (or maybe just dom/locales?)
> dom/X/res     (or maybe just dom/res?)

> structure? But move everything in /public into /src? Or are we putting
> all the source files in dom/X and the tests in dom/X/tests?

I'm merging, so there will not be separate public/ or src/ directories. I
will keep the tests/ separate.

dom/locales will remain untouched.

--BDS


    転送  
メッセージを投稿するには、ログインする必要があります。
メッセージを投稿するには、まず最初にこのグループに参加する必要があります。
投稿する前に、[設定] ページでニックネームを更新してください。
投稿に必要な権限がありません。
Jonas Sicking  
プロフィールを表示   に翻訳 翻訳(オリジナルを表示)
 詳細オプション 2009年1月23日, 午前8:24
ニュースグループ: mozilla.dev.tech.dom
差出人: Jonas Sicking <jo...@sicking.cc>
日付: Thu, 22 Jan 2009 15:24:53 -0800
ローカル: 2009年1月23日(金) 午前8:24
件名: Re: dom/ and content/ source reorganization

Benjamin Smedberg wrote:
> On 1/20/09 7:38 PM, Jonas Sicking wrote:

>>> 3) Use the following other directories:
>> Don't really think the following deserve their own directories

>> dom/json

> I can merge this into dom/window

Why dom/window? It's not window related at all. I'd say dom/base

>> dom/html/canvas

> ok, this can be in dom/html

>> dom/offline  (don't feel strongly here)
>> dom/storage  (don't feel strongly here either)

> I can merge either/both of these with dom/window

Hmm.. why this facination with dom/window? I would have expected that it
would only do the window objects, and maybe a couple supporting
dom-level-0 objects like window.location and window.navigator?

>> I'm assuming we'll still have the

>> dom/X/src
>> dom/X/tests
>> dom/X/locales (or maybe just dom/locales?)
>> dom/X/res     (or maybe just dom/res?)

>> structure? But move everything in /public into /src? Or are we putting
>> all the source files in dom/X and the tests in dom/X/tests?

> I'm merging, so there will not be separate public/ or src/ directories. I
> will keep the tests/ separate.

Ok, so the structure will be something like:

dom/X/         (cpp, h and idl files go in here)
dom/X/tests/   (mochitests, crashtests, reftests go in here)
dom/locales/en-US/
dom/res/

/ Jonas


    転送  
メッセージを投稿するには、ログインする必要があります。
メッセージを投稿するには、まず最初にこのグループに参加する必要があります。
投稿する前に、[設定] ページでニックネームを更新してください。
投稿に必要な権限がありません。
Benjamin Smedberg  
プロフィールを表示   に翻訳 翻訳(オリジナルを表示)
 詳細オプション 2009年1月23日, 午後11:39
ニュースグループ: mozilla.dev.tech.dom
差出人: Benjamin Smedberg <benja...@smedbergs.us>
日付: Fri, 23 Jan 2009 09:39:16 -0500
ローカル: 2009年1月23日(金) 午後11:39
件名: Re: dom/ and content/ source reorganization
On 1/22/09 6:24 PM, Jonas Sicking wrote:

> Benjamin Smedberg wrote:
>> On 1/20/09 7:38 PM, Jonas Sicking wrote:

>>>> 3) Use the following other directories:
>>> Don't really think the following deserve their own directories

>>> dom/json

>> I can merge this into dom/window

> Why dom/window? It's not window related at all. I'd say dom/base

It is a property of the DOM window object.

>>> dom/offline  (don't feel strongly here)
>>> dom/storage  (don't feel strongly here either)

>> I can merge either/both of these with dom/window

> Hmm.. why this facination with dom/window? I would have expected that it
> would only do the window objects, and maybe a couple supporting
> dom-level-0 objects like window.location and window.navigator?

Also because it is a global property off the DOM window object. I think
dom/base should be shared code for nodes/documents or utility code.

> Ok, so the structure will be something like:

> dom/X/         (cpp, h and idl files go in here)
> dom/X/tests/   (mochitests, crashtests, reftests go in here)
> dom/locales/en-US/

Yes.

> dom/res/

Not sure I want to keep res/... I think the resources will probably live
with the code that uses them. But I haven't dealt with any of these yet.

--BDS


    転送  
メッセージを投稿するには、ログインする必要があります。
メッセージを投稿するには、まず最初にこのグループに参加する必要があります。
投稿する前に、[設定] ページでニックネームを更新してください。
投稿に必要な権限がありません。
Jonas Sicking  
プロフィールを表示   に翻訳 翻訳(オリジナルを表示)
 詳細オプション 2009年1月24日, 午前4:34
ニュースグループ: mozilla.dev.tech.dom
差出人: Jonas Sicking <jo...@sicking.cc>
日付: Fri, 23 Jan 2009 11:34:30 -0800
ローカル: 2009年1月24日(土) 午前4:34
件名: Re: dom/ and content/ source reorganization

The fact that these are properties of the Window object is a function of
that many moons ago the window object was chosen as the global object,
it's not because they have anything to do with the window.

What we could do is name the directory something like "dom/api(s)" where
we put stuff like window, history, JSON, XMLHttpRequest, treewalker and
nodeiterator.

However I'm not convinced we need to split this from dom/base. Splitting
too much is what got us to where we are now.

I'd probably be fine either way I'd say.

/ Jonas


    転送  
メッセージを投稿するには、ログインする必要があります。
メッセージを投稿するには、まず最初にこのグループに参加する必要があります。
投稿する前に、[設定] ページでニックネームを更新してください。
投稿に必要な権限がありません。
Johnny Stenback  
プロフィールを表示   に翻訳 翻訳(オリジナルを表示)
 詳細オプション 2009年1月27日, 午前8:56
ニュースグループ: mozilla.dev.tech.dom
差出人: Johnny Stenback <j...@mozilla.com>
日付: Mon, 26 Jan 2009 15:56:52 -0800
ローカル: 2009年1月27日(火) 午前8:56
件名: Re: dom/ and content/ source reorganization

Jonas Sicking wrote:
> Benjamin Smedberg wrote:
>> On 1/22/09 6:24 PM, Jonas Sicking wrote:
>>> Benjamin Smedberg wrote:
>>>> On 1/20/09 7:38 PM, Jonas Sicking wrote:

>>>>>> 3) Use the following other directories:
>>>>> Don't really think the following deserve their own directories

>>>>> dom/json
>>>> I can merge this into dom/window
>>> Why dom/window? It's not window related at all. I'd say dom/base

>> It is a property of the DOM window object.

Everything is a property of the DOM window object, one could argue.

I'm with Jonas here, let's keep the window directory more or less what
it is today (DOM level 0 goo), and put things that don't really belong
anywhere else in dom/base.

--
jst


    転送  
メッセージを投稿するには、ログインする必要があります。
メッセージを投稿するには、まず最初にこのグループに参加する必要があります。
投稿する前に、[設定] ページでニックネームを更新してください。
投稿に必要な権限がありません。
Jonas Sicking  
プロフィールを表示   に翻訳 翻訳(オリジナルを表示)
 詳細オプション 2009年1月27日, 午後3:20
ニュースグループ: mozilla.dev.tech.dom
差出人: Jonas Sicking <jo...@sicking.cc>
日付: Mon, 26 Jan 2009 22:20:01 -0800
ローカル: 2009年1月27日(火) 午後3:20
件名: Re: dom/ and content/ source reorganization

Or simply collapse everything into dom/base. Doesn't look like it'll be
too many files. If it does a few months/years down the road we can
always move things again then.

/ Jonas


    転送  
メッセージを投稿するには、ログインする必要があります。
メッセージを投稿するには、まず最初にこのグループに参加する必要があります。
投稿する前に、[設定] ページでニックネームを更新してください。
投稿に必要な権限がありません。
メッセージの終わり
« ディスカッションに戻る « 新しいトピック     過去のトピック »

グループを作成 - Google グループ - Google ホーム - 利用規約 - プライバシー ポリシー
©2010 Google