This commit is contained in:
ben%bengoodger.com 2003-11-12 09:15:56 +00:00
Родитель c8f26e2728
Коммит 6a6ac8a221
7 изменённых файлов: 159 добавлений и 2 удалений

Просмотреть файл

@ -42,6 +42,6 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
DIRS = base components app
DIRS = base components app extensions
include $(topsrcdir)/config/rules.mk

Просмотреть файл

@ -8,7 +8,7 @@ mk_add_options MOZ_PHOENIX=1
ac_add_options --disable-ldap
ac_add_options --disable-mailnews
ac_add_options --enable-extensions=cookie,xml-rpc,xmlextras,p3p,pref,transformiix,universalchardet,typeaheadfind,webservices
ac_add_options --enable-extensions=cookie,xml-rpc,xmlextras,p3p,pref,transformiix,universalchardet,typeaheadfind,webservices,inspector
ac_add_options --enable-crypto
ac_add_options --disable-composer
ac_add_options --disable-profilesharing

Просмотреть файл

@ -0,0 +1,49 @@
# ***** BEGIN LICENSE BLOCK *****
# Version: MPL 1.1/GPL 2.0/LGPL 2.1
#
# The contents of this file are subject to the Mozilla Public License Version
# 1.1 (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
# http://www.mozilla.org/MPL/
#
# Software distributed under the License is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
# for the specific language governing rights and limitations under the
# License.
#
# The Original Code is the Mozilla Browser code.
#
# The Initial Developer of the Original Code is
# Netscape Communications Corporation.
# Portions created by the Initial Developer are Copyright (C) 2002
# the Initial Developer. All Rights Reserved.
#
# Contributor(s):
# Brian Ryner <bryner@brianryner.com>
#
# Alternatively, the contents of this file may be used under the terms of
# either the GNU General Public License Version 2 or later (the "GPL"), or
# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
# in which case the provisions of the GPL or the LGPL are applicable instead
# of those above. If you wish to allow use of your version of this file only
# under the terms of either the GPL or the LGPL, and not to allow others to
# use your version of this file under the terms of the MPL, indicate your
# decision by deleting the provisions above and replace them with the notice
# and other provisions required by the GPL or the LGPL. If you do not delete
# the provisions above, a recipient may use your version of this file under
# the terms of any one of the MPL, the GPL or the LGPL.
#
# ***** END LICENSE BLOCK *****
DEPTH = ../..
topsrcdir = @top_srcdir@
srcdir = @srcdir@
VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
ifneq (,$(findstring inspector,$(MOZ_EXTENSIONS)))
DIRS = inspector
endif
include $(topsrcdir)/config/rules.mk

Просмотреть файл

@ -0,0 +1,29 @@
#
# The contents of this file are subject to the Netscape Public
# License Version 1.1 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.mozilla.org/NPL/
#
# Software distributed under the License is distributed on an "AS
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
# implied. See the License for the specific language governing
# rights and limitations under the License.
#
# The Original Code is mozilla.org code.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
DEPTH = ../../..
topsrcdir = @top_srcdir@
srcdir = @srcdir@
VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
include $(topsrcdir)/config/rules.mk

Просмотреть файл

@ -0,0 +1,51 @@
<?xml version="1.0"?>
<RDF:RDF xmlns:RDF="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:chrome="http://www.mozilla.org/rdf/chrome#">
<!-- list all the packages being supplied by this jar -->
<RDF:Seq about="urn:mozilla:package:root">
<RDF:li resource="urn:mozilla:package:inspector"/>
</RDF:Seq>
<!-- package information -->
<RDF:Description about="urn:mozilla:package:inspector"
chrome:displayName="Document Inspector"
chrome:author="Joe Hewitt"
chrome:name="inspector"
chrome:localeVersion="@MOZILLA_VERSION@"
chrome:skinVersion="1.5">
</RDF:Description>
<!-- overlay information -->
<RDF:Seq about="urn:mozilla:overlays">
<RDF:li resource="chrome://browser/content/browser.xul"/>
<RDF:li resource="chrome://inspector/content/commandOverlay.xul"/>
<RDF:li resource="chrome://inspector/content/keysetOverlay.xul"/>
<RDF:li resource="chrome://inspector/content/popupOverlay.xul"/>
</RDF:Seq>
<!-- mozilla/mail Overlays -->
<RDF:Seq about="chrome://browser/content/browser.xul">
<RDF:li>chrome://inspector/content/tasksOverlay.xul</RDF:li>
</RDF:Seq>
<!-- Inspector Overlays -->
<RDF:Seq about="chrome://inspector/content/commandOverlay.xul">
<RDF:li>chrome://inspector/content/viewers/dom/commandOverlay.xul</RDF:li>
<RDF:li>chrome://inspector/content/viewers/styleRules/commandOverlay.xul</RDF:li>
<RDF:li>chrome://inspector/content/search/modules/commandOverlay.xul</RDF:li>
</RDF:Seq>
<RDF:Seq about="chrome://inspector/content/keysetOverlay.xul">
<RDF:li>chrome://inspector/content/viewers/dom/keysetOverlay.xul</RDF:li>
</RDF:Seq>
<RDF:Seq about="chrome://inspector/content/popupOverlay.xul">
<RDF:li>chrome://inspector/content/viewers/dom/popupOverlay.xul</RDF:li>
<RDF:li>chrome://inspector/content/viewers/styleRules/popupOverlay.xul</RDF:li>
<RDF:li>chrome://inspector/content/search/modules/popupOverlay.xul</RDF:li>
</RDF:Seq>
</RDF:RDF>

Просмотреть файл

@ -0,0 +1,25 @@
<?xml version="1.0"?>
<!DOCTYPE overlay SYSTEM "chrome://inspector/locale/tasksOverlay.dtd" >
<overlay id="eInspectorTasksOverlay"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<script type="application/x-javascript" src="chrome://inspector/content/hooks.js"/>
<commandset id="mainCommandSet">
<command id="Tasks:Inspector" oncommand="inspectDOMDocument();"/>
<command id="Tasks:InspectPage" oncommand="inspectDOMDocument(_content.document);"/>
</commandset>
<keyset id="tasksKeys">
<key id="key_inspectPage" key="i" modifiers="accel,shift" command="Tasks:InspectPage"/>
</keyset>
<menupopup id="menu_ToolsPopup">
<menuitem id="menu_inspector" label="&inspectorTaskCmd.label;"
insertafter="javascriptConsole"
accesskey="&inspectorTaskCmd.accesskey;" command="Tasks:InspectPage"/>
</menupopup>
</overlay>

Просмотреть файл

@ -0,0 +1,3 @@
inspector.jar:
+ content/inspector/contents.rdf (content/contents.rdf)
+ content/inspector/tasksOverlay.xul (content/tasksOverlay.xul)