Bug 518632 - Remove embedding/config/, r=bsmedberg

This commit is contained in:
Phil Ringnalda 2009-10-02 20:15:26 -07:00
Родитель 1ff5cf50b2
Коммит 37876be005
28 изменённых файлов: 0 добавлений и 3381 удалений

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

@ -1,28 +0,0 @@
Instructions for producing the ActiveX control installer
1. Set your MOZCONFIG to point to the mozconfig.txt here
2. Build Mozilla
4. Optionally cd into mozilla/embedding/browser/activex/src/plugin and
"make MOZ_USE_ACTIVEX_PLUGIN=1"
3. Copy client-win from here to mozilla/embedding/config
5. Build the embedding dist
6. Grab the latest Nullsoft 2.0+ Installer from http://nsis.sourceforge.net/
7. Edit control.nsi to set the version information and paths at the top
9. Run build.pl to create a file manifest and local settings and generate the
installer.
Notes.
You need NSIS 2.0. I used NSIS 2.0b3 but others will probably do as well.
The build script will evolve but presently it assumes the dist dir is $MOZ_SRC\dist\Embed and there
are a number of manual steps that NEED to be done.
Other things todo:
1. Code sign installer
2. Add MPL / GPL licence to installer
3. Add readme
4. Add sample apps for C++, VB & C#
5. Automatically grab version number from dist\include\mozilla-config.h
6. Automatically run all the steps at the top of this file

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

@ -1,117 +0,0 @@
# Run this on Win32 only!
################################################
# GLOBAL SETTINGS
#
# Paths'n'things. Change as appropriate!
$dir_sep = '\\';
$moz = "$ENV{'MOZ_SRC'}\\mozilla";
$moz_dist = "$moz\\dist\\Embed";
$moz_redist = "$moz\\..\\redist";
$moz_embedding_config = "$moz\\embedding\\config";
$moz =~ s/\//$dir_sep/g;
$moz_major_version=1;
$moz_minor_version=5;
$moz_version = "v$moz_major_version.$moz_minor_version";
$makensis = "C:/Program Files/NSIS/makensis.exe";
$control_nsi = "control.nsi";
$local_nsh = "local.nsh";
$files_nsh = "files.nsh";
################################################
@dirs = ();
print "Mozilla ActiveX control builder\n\n";
print "Hold onto your hats, this could be a rough trip\n";
# Copy the client-win to embedding/config
# cp client-win $moz_embedding_config
# Run the make in embedding/config to ensure a dist
#chdir $moz_embedding_config or die("Can't cd into $moz_embedding_config!");
#@make = ( "make" );
#system(@make);
# Generate local settings
print "Opening $local_nsh for writing\n";
open(NSH, ">$local_nsh") or die("Can't write local settings to $local_nsh");
print NSH "!define DISTDIR \"$moz_dist\"\n";
print NSH "!define REDISTDIR \"$moz_redist\"\n";
print NSH "!define VERSION \"$moz_version\"\n";
print NSH "!define MAJOR_VERSION \"$moz_major_version\"\n";
print NSH "!define MINOR_VERSION \"$moz_minor_version\"\n";
close(NSH);
# Generate file manifest
print "Opening $files_nsh from $moz_dist for writing\n";
open(FILES_NSH, ">$files_nsh") or die("Can't write files to $files_nsh");
push @dirs, "";
read_dir("$moz_dist", "");
foreach (@dirs)
{
if ($_ eq "")
{
print FILES_NSH "\n SetOutPath \"\$INSTDIR\"\n";
}
else
{
print FILES_NSH "\n SetOutPath \"\$INSTDIR\\$_\"\n";
}
$dir = "$moz_dist\\$_";
opendir(DIR, $dir);
@files = readdir(DIR);
foreach (@files)
{
# Everything except mfcembed / winembed / readme.html
next if (/.*mfcembed*/i ||
/.*winembed*/i ||
/readme.html/i);
if (! -d "$dir\\$_")
{
print FILES_NSH " File $dir\\$_\n";
}
}
closedir(DIR);
}
close(FILES_NSH);
# Run NSIS
print "Running makensis.exe to compile it all...\n";
@nsis = ("$makensis", "$control_nsi");
system(@nsis) == 0 or die "system @args failed: $?\n";
# TODO - Run codesigning tool - if there is a cert to sign with
print "Finished\n";
exit;
sub read_dir($$)
{
my ($absdir,$reldir) = @_;
my @dirList;
opendir(DIST, "$absdir");
@dirList = readdir(DIST);
closedir(DIST);
foreach (@dirList)
{
next if ($_ eq "." || $_ eq "..");
$absFileName = "$absdir\\$_";
$fileName = ($reldir eq "") ? $_ : "$reldir\\$_";
if (-d $absFileName)
{
push @dirs, $fileName;
read_dir($absFileName, $fileName);
}
}
}

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

@ -1,28 +0,0 @@
;
; This is the ActiveX client supplemental file read while creating the embedding dist.
;
; Copy it to embedding/dist so that additional files here are picked up in addition to
; those in basebrowser-win.
[Embed]
; ActiveX plugin
plugins\npmozax.dll
defaults\pref\activex.js
components\nsAxSecurityPolicy.js
; MathML
components\ucvmath.dll
res\mathml.css
res\dtd\mathml.dtd
res\entityTables\mathml20.properties
res\fonts\mathfont.properties
res\fonts\mathfontCMEX10.properties
res\fonts\mathfontCMSY10.properties
res\fonts\mathfontMath1.properties
res\fonts\mathfontMath2.properties
res\fonts\mathfontMath4.properties
res\fonts\mathfontMTExtra.properties
res\fonts\mathfontPUA.properties
res\fonts\mathfontSymbol.properties

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

@ -1,45 +0,0 @@
!include "local.nsh"
!define PRODUCT "Mozilla ActiveX Control ${VERSION}"
Name "${PRODUCT}"
InstallDir "$PROGRAMFILES\${PRODUCT}"
OutFile MozillaControl${MAJOR_VERSION}${MINOR_VERSION}.exe
SetCompressor bzip2
DirText "This will install the Mozilla ActiveX Control ${VERSION} on your computer. Pick an installation directory."
Section "Mozilla Control (required)"
; MSVC++ redistributable DLLs
SetOutPath "$INSTDIR"
File ${REDISTDIR}\msvc70\msvcr70.dll
File ${REDISTDIR}\msvc70\msvcp70.dll
; Now the Gecko embedding files
!include "files.nsh"
RegDLL "$INSTDIR\mozctlx.dll"
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${PRODUCT}" "DisplayName" "${PRODUCT}"
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${PRODUCT}" "InstallLocation" "$INSTDIR"
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${PRODUCT}" "UninstallString" "$INSTDIR\uninst.exe"
WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${PRODUCT}" "VersionMajor" "${MAJOR_VERSION}"
WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${PRODUCT}" "VersionMinor" "${MINOR_VERSION}"
WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\{PRODUCT}" "NoModify" "1"
WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${PRODUCT}" "NoRepair" "1"
WriteUninstaller Uninst.exe
SectionEnd
Section "uninstall"
UnRegDLL "$INSTDIR\mozctlx.dll"
DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${PRODUCT}"
Delete $INSTDIR\Uninst.exe
RMDir /r $INSTDIR
SectionEnd

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

@ -1,18 +0,0 @@
# sh
# Build configuration script
#
# See http://www.mozilla.org/build/unix.html for build instructions.
#
# Options for 'configure' (same as command-line options).
ac_add_options --disable-debug
ac_add_options --disable-logging
ac_add_options --enable-strip
ac_add_options --enable-optimize
ac_add_options --disable-tests
ac_add_options --enable-crypto
ac_add_options --enable-mathml
ac_add_options --disable-mailnews
ac_add_options --disable-ldap
ac_add_options --disable-installer

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

@ -1,26 +0,0 @@
<html>
<head>
<title>Mozilla ActiveX control smoketest</title>
</head>
<body>
<p>Some links which invoke things that break too often in embedding apps:</p>
<ol>
<li><a href="http://www.mozilla.org/">A normal link</a></li>
<li><a href="http://www.mozilla.org/" target="_blank">A link with a _blank target window</a></li>
<li><a href="http://www.mozilla.org/" target="foo">1st link with a foo target window</a></li>
<li><a href="http://www.bugzilla.org/" target="foo">2nd link with a foo target window</a></li>
<li onclick="javascript:window.open('http://www.gnome.org/')">A JS onclick handler (click me)</li>
<li><a href="view-source:http://www.mozilla.org/">view-source:</a></li>
<li><a href="data:text/html,<html><body>Hello do you see this?</body></html>">data:</a></li>
<li><a href="http://pear.math.pitt.edu/mathzilla/Examples/markupOftheWeek.mhtml">A page of mathml</a></li>
<li><a href="about:">about:</a></li>
<li><a href="about:config">about:config</a> (copy and paste into address bar)</li>
<li><a href="about:plugins">about:plugins</a> (copy and paste into address bar)</li>
<li><a href="javascript:">javascript:</a> (copy and paste into address bar)</li>
<li><a href="https://www.verisign.com/">A secure website</a></li>
<li>user / pass prompt</li>
<li>External content type</li>
<li><a href="http://devedge.netscape.com/viewsource/2003/windows-media-in-netscape/media/closecap-outtakes.html">Activex scripting content</a></li>
</ol>
</body>
</html>

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

@ -1,128 +0,0 @@
#!perl -w
package GenerateManifest;
require 5.004;
use strict;
use File::stat;
require Exporter;
use vars qw(@ISA @EXPORT);
# Package that generates a jar manifest from an input file
@ISA = qw(Exporter);
@EXPORT = qw(
GenerateManifest
);
my(%embed_files) = ();
sub GenerateManifest ($$$$$$$$) {
my($moz, $manifest, $chrome, $locale, $platform, $out_desc, $dir_sep, $verbose) = @_;
local(*OUTDESC) = $out_desc;
parse_input_manifest($moz, $manifest, $chrome, $locale, $verbose);
dump_output_manifest($moz, $manifest, $chrome, $locale, $platform, *OUTDESC, $dir_sep, $verbose);
}
sub parse_input_manifest ($$$$$) {
my($moz, $manifest, $chrome, $locale, $verbose) = @_;
print STDERR "Parsing \"$manifest\"\n" unless !$verbose;
local(*MANIFEST);
open(MANIFEST, "<$manifest") or die ("Error: Cannot open manifest \"$manifest\".\n");
while(<MANIFEST>) {
chomp;
s/^\s+//;
s/\s+$//;
# Skip comments & blank lines
next if (/^\#/);
next if (/^\s*$/);
# Read key & data
my($key, $value) = split(/,/, $_);
# Strip out any remaining whitespace from key & value
for ($key) {
s/\s+$//;
}
for ($value) {
s/^\s+//;
}
$embed_files{$key} = $value;
}
close(MANIFEST);
}
sub dump_output_manifest ($$$$$$$$) {
my($moz, $manifest, $chrome, $locale, $platform, $out_desc, $dir_sep, $verbose) = @_;
local(*OUTDESC) = $out_desc;
print OUTDESC "embed.jar:\n";
while (my($key, $value) = each %embed_files) {
$key =~ s/XXXX/$locale/g;
$value =~ s/XXXX/$locale/g;
$key =~ s/YYYY/$platform/g;
$value =~ s/YYYY/$platform/g;
if ( $dir_sep ne "/" ) { # swap / for $dir_sep
$value =~ s/\//$dir_sep/g;
}
# Run ls on the dir/file to ensure it's there and to get a file list back
my($ls_path) = "$chrome$dir_sep$value";
my($is_dir) = (-d $ls_path) ? 1 : 0;
my($is_file) = (-f $ls_path) ? 1 : 0;
print STDERR "Listing \"$ls_path\"\n" unless !$verbose;
if (!$is_dir && !$is_file) {
print STDERR "Warning: File or directory \"$ls_path\" does not exist.\n";
next;
}
# this code previously used |ls -1| to get a dir listing, but that
# doesn't work in MacPerl. Instead just use opendir() to get the
# file list (if it's a directory), or add the single file to our list
# if it's called out individually in the manifest.
my(@dirList) = ();
if ( $is_file ) {
@dirList = ($ls_path);
}
else {
opendir(CHROMEDIR, $ls_path);
@dirList = readdir(CHROMEDIR);
closedir(CHROMEDIR);
}
my($chrome_file) = "";
my($real_file) = "";
foreach (@dirList) {
if ($is_dir) {
$chrome_file = "$key$dir_sep$_";
$real_file = "$value$dir_sep$_";
}
else {
$chrome_file = $key;
$real_file = $value;
}
# Ignore directories which are returned by ls
if (! -d "$chrome$dir_sep$real_file") {
# before we put the file into the manifest, make sure it
# uses '/' as the separator. That's what manifest files expect.
$real_file =~ s/$dir_sep/\//g;
$chrome_file =~ s/$dir_sep/\//g;
print OUTDESC " $chrome_file ($real_file)\n";
}
}
}
}
1;

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

@ -1,141 +0,0 @@
#
# ***** 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.
#
# The Initial Developer of the Original Code is
# Christopher Blizzard.
# Portions created by the Initial Developer are Copyright (C) 2001
# the Initial Developer. All Rights Reserved.
#
# Contributor(s):
#
# 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
include $(topsrcdir)/config/rules.mk
ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT))
BASEBROWSER = basebrowser-mac-macho
CLIENTMANIFEST = client-mac-macho
_PLATFORM = unix
else
ifeq (windows,$(MOZ_WIDGET_TOOLKIT))
BASEBROWSER = basebrowser-win
BASEBROWSER_SUPP = basebrowser-win-supp
CLIENTMANIFEST = client-win
GREMANIFEST = gre-win
GREMANIFEST_SUPP = gre-win-supp
_PLATFORM = dos
WINAPP=mfcembed
#WINAPP=winembed
else
BASEBROWSER = basebrowser-unix
CLIENTMANIFEST = client-unix
_PLATFORM = unix
endif
endif
embed_chrome: embed-jar.mn
ifneq (jar,$(MOZ_CHROME_FILE_FORMAT))
$(PERL) -I$(srcdir) $(srcdir)/gen_mn.pl -manifest $(MOZILLA_DIR)/embedding/config/embed-jar.mn -mozpath $(MOZILLA_DIR) -chrome $(DIST)/bin/chrome > embed-tmp.mn
$(PERL) -I$(MOZILLA_DIR)/config $(MOZILLA_DIR)/config/make-jars.pl -a -v -f $(MOZ_CHROME_FILE_FORMAT) -d $(DIST)/bin/chrome -s $(DIST)/bin/chrome < embed-tmp.mn
-$(RM) -f embed-tmp.mn
else
-$(RM) -rf $(DIST)/Embed/tmpchrome
for f in $(DIST)/bin/chrome/*.jar; do \
b=`basename $$f | sed -e 's|.jar$$||'` ; \
echo "$$b" ; \
$(NSINSTALL) -D $(DIST)/Embed/tmpchrome/$$b ;\
$(UNZIP) -q -o -d $(DIST)/Embed/tmpchrome/$$b $$f ; \
done
$(PERL) -I$(srcdir) $(srcdir)/gen_mn.pl -manifest $(MOZILLA_DIR)/embedding/config/embed-jar.mn -mozpath $(MOZILLA_DIR) -chrome $(DIST)/Embed/tmpchrome > embed-tmp.mn
$(PERL) -I$(MOZILLA_DIR)/config $(MOZILLA_DIR)/config/make-jars.pl -a -v -f $(MOZ_CHROME_FILE_FORMAT) -d $(DIST)/bin/chrome -s $(DIST)/Embed/tmpchrome -z $(ZIP) < embed-tmp.mn
-$(RM) -f embed-tmp.mn
-$(RM) -rf $(DIST)/Embed/tmpchrome
endif
embed_copy::
-mkdir $(DIST)/Embed/defaults/
-mkdir $(DIST)/Embed/defaults/pref
-cp $(srcdir)/all.js $(DIST)/Embed/defaults/pref
$(PERL) $(topsrcdir)/xpinstall/packager/pkgcp.pl -s $(DIST)/bin -d $(DIST) --f $(srcdir)/$(BASEBROWSER) -o $(_PLATFORM) -v
ifeq ($(OS_ARCH),WINNT)
$(PERL) $(topsrcdir)/xpinstall/packager/pkgcp.pl -s $(DIST)/bin -d $(DIST) --f $(srcdir)/$(BASEBROWSER_SUPP) -o $(_PLATFORM) -v
endif
if test -f "$(srcdir)/$(CLIENTMANIFEST)"; then \
$(PERL) $(topsrcdir)/xpinstall/packager/pkgcp.pl -s $(DIST)/bin -d $(DIST) --f $(srcdir)/$(CLIENTMANIFEST) -o $(_PLATFORM) -v; \
fi
$(NSINSTALL) -t $(srcdir)/installed-chrome.txt $(DIST)/Embed/chrome
$(NSINSTALL) -t $(srcdir)/readme.html $(DIST)/Embed
-$(NSINSTALL) -t $(DEPTH)/embedding/lite/$(LIB_PREFIX)embed_lite$(DLL_SUFFIX) $(DIST)/Embed/components
ifeq ($(OS_ARCH),WINNT)
ifeq ($(WINAPP),mfcembed)
$(NSINSTALL) -t $(DIST)/bin/mfcembed.exe $(DIST)/Embed
$(NSINSTALL) -t $(DIST)/bin/mfcEmbedComponents.dll $(DIST)/Embed
else
ifeq ($(WINAPP),winembed)
$(NSINSTALL) -t $(DIST)/bin/winembed.exe $(DIST)/Embed
endif
endif
ifdef MOZ_DEBUG
$(NSINSTALL) -t $(DIST)/bin/windbgdlg.exe $(DIST)/Embed
endif
endif # WINNT
merge_xpt::
$(XPIDL_LINK) $(DIST)/Embed/components/xpt_tmp $(DIST)/Embed/components/*.xpt
$(RM) $(DIST)/Embed/components/*.xpt
mv $(DIST)/Embed/components/xpt_tmp $(DIST)/Embed/components/all.xpt
libs::
$(MAKE) embed_chrome
$(MAKE) embed_copy
ifeq ($(OS_ARCH),WINNT)
gre_copy::
$(PERL) -I$(srcdir) $(srcdir)/gre.pl gre < $(srcdir)/$(BASEBROWSER) > $(MOZILLA_DIR)/embedding/config/gre-win.tmp
$(PERL) $(topsrcdir)/xpinstall/packager/pkgcp.pl -s $(DIST)/bin -d $(DIST) --f $(MOZILLA_DIR)/embedding/config/gre-win.tmp -o $(_PLATFORM) -v
-$(RM) -f $(MOZILLA_DIR)/embedding/config/gre-win.tmp
$(PERL) $(topsrcdir)/xpinstall/packager/pkgcp.pl -s $(DIST)/bin -d $(DIST) --f $(srcdir)/$(GREMANIFEST) -o $(_PLATFORM) -v
$(PERL) -I$(srcdir) $(srcdir)/gre.pl gre_app_support < $(srcdir)/$(BASEBROWSER_SUPP) > $(MOZILLA_DIR)/embedding/config/gre-win-supp.tmp
$(PERL) $(topsrcdir)/xpinstall/packager/pkgcp.pl -s $(DIST)/bin -d $(DIST) --f $(MOZILLA_DIR)/embedding/config/gre-win-supp.tmp -o $(_PLATFORM) -v
-$(RM) -f $(MOZILLA_DIR)/embedding/config/gre-win-supp.tmp
$(PERL) $(topsrcdir)/xpinstall/packager/pkgcp.pl -s $(DIST)/bin -d $(DIST) --f $(srcdir)/$(GREMANIFEST_SUPP) -o $(_PLATFORM) -v
$(NSINSTALL) -t $(srcdir)/installed-chrome.txt $(DIST)/gre_app_support/chrome
test -d $(DIST)/gre_app_support/plugins || mkdir $(DIST)/gre_app_support/plugins
test -d $(DIST)/gre_app_support/components || mkdir $(DIST)/gre_app_support/components
gre::
$(MAKE) embed_chrome
$(MAKE) gre_copy
endif # WINNT

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

@ -1,288 +0,0 @@
; Base Embedding Package File for Win32
;
;
;
; *****
; *
; * NOTE: Many files that were listed in [Embed] have been moved to the
; * following pacakges file list:
; *
; * xpinstall/packager/xpcom-win.pkg
; *
; *****
[Embed]
;
; Sample App:
;
; Which sample app gets copied is determined in makefile.win
; by the args passed in to it. Both winembed and mfcembed
; are copied by default.
; Run "nmake -f makefile.win APP=winembed" to copy winembed
; Run "nmake -f makefile.win APP=mfcembed" to copy mfcembed
;
; ActiveX control
;
mozctl.dll
mozctlx.dll
;
; ActiveX plugin
;
plugins\npmozax.dll
;
; NSPR:
;
;
; Javascript:
;
;
; XPCOM:
;
components\xpcom_base.xpt
components\xpcom_components.xpt
components\xpcom_ds.xpt
components\xpcom_io.xpt
components\xpcom_nativeapp.xpt
components\xpcom_threads.xpt
components\xpcom_xpti.xpt
; xpconnect
components\xpc3250.dll
components\xpconnect.xpt
;
; XP widgets/graphics
;
gkgfx.dll
components\gkwidget.dll
components\widget.xpt
components\gfx.xpt
; layout
moz_art_lgpl.dll
components\gkcontent.dll
components\gkgfxthebes.dll
components\gklayout.dll
components\gkparser.dll
components\layout_base.xpt
components\layout_printing.xpt
components\layout_xul.xpt
components\content_base.xpt
res\dtd\xhtml11.dtd
;
; Imaging:
;
; in xpcom-win
;mozz.dll
components\imglib2.dll
;
; Components: (need to trim fat)
;
; accessibility (out of process API support)
; see http://www.mozilla.org/projects/ui/accessibility/vendors-win.html
components\accessibility.dll
components\accessibility.xpt
components\accessibility-msaa.xpt
; caps (JavaScript security)
components\caps.dll
components\caps.xpt
; cookies
components\cookie.dll
; embedding glue:
; appshell, docshell, uriloader, chrome, components
components\appshell.dll
components\appshell.xpt
components\docshell.dll
components\docshell.xpt
components\uriloader.xpt
components\chrome.dll
components\chrome.xpt
components\webbrwsr.dll
components\webBrowser_core.xpt
components\embedcomponents.dll
components\windowwatcher.xpt
; jar
; in xpcom-win
;components\jar50.dll
components\jar.xpt
; prefs
components\pref.xpt
components\xppref32.dll
; profile
components\profile.dll
components\profile.xpt
; profile sharing - optional
mozilla-ipcd.exe
ipc\modules\lockmodule.dll
ipc\modules\transmgr.dll
components\ipcdc.dll
; session history
components\shistory.xpt
; optional typeaheadfind
; (docs at http://www.mozilla.org/projects/ui/accessibility/typeaheadfind.html)
;components\suitetypeaheadfind.dll
;components\suitetypeaheadfind.xpt
; rdf
components\rdf.dll
components\rdf.xpt
; required l10n resources
res\language.properties
res\langGroups.properties
res\charsetData.properties
res\charsetalias.properties
res\wincharset.properties
; required i18n libraries
components\i18n.dll
components\chardet.dll
components\intl.xpt
components\locale.xpt
components\uconv.dll
components\uconv.xpt
components\unicharutil.xpt
; dom
components\dom.xpt
components\dom_base.xpt
components\dom_canvas.xpt
components\dom_core.xpt
components\dom_css.xpt
components\dom_events.xpt
components\dom_geolocation.xpt
components\dom_html.xpt
components\dom_loadsave.xpt
components\dom_offline.xpt
components\dom_range.xpt
components\dom_sidebar.xpt
components\dom_storage.xpt
components\dom_stylesheets.xpt
components\dom_traversal.xpt
components\dom_views.xpt
components\dom_xbl.xpt
components\dom_xul.xpt
components\gksvgrenderer.xpt
; editor
components\editor.dll
components\editor.xpt
; find functionality
; Optional - only if your code uses nsIWebBrowserFind
components\txtsvc.xpt
; netwerk
components\necko.dll
components\necko.xpt
components\necko_about.xpt
components\necko_dns.xpt
components\necko_http.xpt
components\necko_res.xpt
components\necko_strconv.xpt
; cache
components\necko_cache.xpt
; optional for FTP support
components\necko_ftp.xpt
; plugins
; Optional - only if you need plugin support
components\gkplugin.dll
components\plugin.xpt
; wallet
; Optional - only if you need password persistence
components\wallet.dll
components\wallet.xpt
; psm2
; Optional - only if you need HTTPS support
components\pipboot.dll
components\pipboot.xpt
components\pipnss.dll
components\pipnss.xpt
nssutil3.dll
nss3.dll
nssdbm3.chk
nssdbm3.dll
smime3.dll
softokn3.chk
softokn3.dll
freebl3.chk
freebl3.dll
ssl3.dll
nssckbi.dll
; xmlextras, optional for XPointer support
components\xmlextras.dll
;
; res:
;
res\html.css
res\quirk.css
res\viewsource.css
res\hiddenWindow.html
res\ua.css
res\forms.css
res\contenteditable.css
res\designmode.css
res\arrow.gif
res\arrowd.gif
res\loading-image.png
res\broken-image.png
res\entityTables\html40Special.properties
res\entityTables\htmlEntityVersions.properties
res\entityTables\html40Latin1.properties
res\entityTables\html40Symbols.properties
res\entityTables\transliterate.properties
res\fonts\fontEncoding.properties
; needed for ftp:// dir listings etc
res\html\folder.png
;
; MathML, optional for MathML charset conversion
;
components\ucvmath.dll
res\mathml.css
res\dtd\mathml.dtd
res\entityTables\mathml20.properties
res\fonts\mathfont.properties
res\fonts\mathfontCMEX10.properties
res\fonts\mathfontCMSY10.properties
res\fonts\mathfontMath1.properties
res\fonts\mathfontMath2.properties
res\fonts\mathfontMath4.properties
res\fonts\mathfontMTExtra.properties
res\fonts\mathfontPUA.properties
res\fonts\mathfontSymbol.properties
; XPInstall
res\cmessage.txt
; storage
components\storage.xpt
components\strgcmps.dll

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

@ -1,273 +0,0 @@
; Base Embedding Package File for mach-o mac builds
;
;
;
[Embed]
;
; Sample App + launch script
;
;TestGtkEmbed
;run-mozilla.sh
;
; NSPR:
;
libnspr4.dylib
libplc4.dylib
libplds4.dylib
;
; Javascript:
;
libmozjs.dylib
;
; XPCOM:
;
libxpcom.dylib
libxpcom_core.dylib
;
; Components: (need to trim fat)
;
; appshell
components/libnsappshell.dylib
components/appshell.xpt
; caps
components/libcaps.dylib
components/caps.xpt
; chrome
components/libchrome.dylib
components/chrome.xpt
; cookies
components/libcookie.dylib
; docshell
components/libdocshell.dylib
components/docshell.xpt
; dom
components/dom.xpt
components/dom_base.xpt
components/dom_canvas.xpt
components/dom_core.xpt
components/dom_css.xpt
components/dom_events.xpt
components/dom_geolocation.xpt
components/dom_html.xpt
components/dom_offline.xpt
components/dom_range.xpt
components/dom_stylesheets.xpt
components/dom_traversal.xpt
components/dom_views.xpt
components/dom_xbl.xpt
components/dom_xul.xpt
; editor
components/libeditor.dylib
components/editor.xpt
; embedding
components/libwebbrwsr.dylib
components/webBrowser_core.xpt
components/libembedcomponents.dylib
components/windowwatcher.xpt
; find functionality
components/txtsvc.xpt
; gfx
components/libgkgfxthebes.dylib
components/gfx.xpt
libgkgfx.dylib
libthebes.dylib
; jar
components/libjar50.dylib
components/jar.xpt
; layout
res/dtd/xhtml11.dtd
components/libgklayout.dylib
components/libhtmlpars.dylib
components/layout_xul.xpt
components/layout_xul_tree.xpt
components/content_base.xpt
components/layout_base.xpt
components/layout_printing.xpt
; netwerk
libmozz.dylib
components/libnecko.dylib
components/necko.xpt
components/necko_about.xpt
components/necko_cache.xpt
components/necko_dns.xpt
components/necko_ftp.xpt
components/necko_http.xpt
components/necko_res.xpt
components/necko_strconv.xpt
; imagelib
components/libimglib2.dylib
components/imglib2.xpt
; prefs
components/pref.xpt
components/libpref.dylib
; profile
components/libprofile.dylib
components/profile.xpt
components/mozreg.dylib
components/mozreg.xpt
; profile sharing - optional
ipc/modules/liblockmodule.dylib
ipc/modules/libtransmgr.dylib
mozilla-ipcd
components/libipcdc.dylib
; wallet
; Optional - only if you need password persistence
components/libwallet.dylib
components/wallet.xpt
; download progress
; Optional - you can implement your own download progress dialog
; then this is no longer required
;components/nsProgressDialog.js
;components/nsHelperAppDlg.js
;components/nsDownloadProgressListener.js
;components/downloadmanager.xpt
; psm2
; Optional - only if you need PSM2 support
components/libpipboot.dylib
components/pipboot.xpt
components/libpipnss.dylib
components/pipnss.xpt
chrome/pipnss.jar
defaults/pref/security-prefs.js
libnss3.dylib
libnssutil3.dylib
libnssdbm3.chk
libnssdbm3.dylib
libsmime3.dylib
libsoftokn3.chk
libsoftokn3.dylib
libfreebl3.chk
libfreebl3.dylib
libssl3.dylib
libnssckbi.dylib
; rdf
components/librdf.dylib
components/rdf.xpt
; session history
components/shistory.xpt
; optional typeaheadfind
; (docs at http://www.mozilla.org/projects/ui/accessibility/typeaheadfind.html)
;components/suitetypeaheadfind.shlb
;components/suitetypeaheadfind.xpt
; required l10n libraries
components/libuconv.dylib
components/libi18n.dylib
components/libchardet.dylib
components/uconv.xpt
components/unicharutil.xpt
components/intl.xpt
res/language.properties
res/langGroups.properties
res/charsetData.properties
res/charsetalias.properties
res/maccharset.properties
; res/strres.properties
; required prefs files
greprefs/*
; uriloader
components/uriloader.xpt
; widget
components/libwidget_mac.dylib
components/widget.xpt
libwidget.rsrc
; xmlextras, optional for XPointer support
components/libxmlextras.dylib
; xpconnect
components/libxpconnect.dylib
components/xpconnect.xpt
; xpcom
components/xpcom_base.xpt
components/xpcom_components.xpt
components/xpcom_ds.xpt
components/xpcom_io.xpt
components/xpcom_threads.xpt
components/xpcom_xpti.xpt
;
; Widget-Toolkit and Res (consult hyatt@netscape.com before modifying):
;
chrome/embed.jar
;
; res:
;
res/html.css
res/quirk.css
res/viewsource.css
res/hiddenWindow.html
res/ua.css
res/forms.css
res/contenteditable.css
res/designmode.css
res/arrow.gif
res/arrowd.gif
res/loading-image.png
res/broken-image.png
res/entityTables/html40Special.properties
res/entityTables/htmlEntityVersions.properties
res/entityTables/html40Latin1.properties
res/entityTables/html40Symbols.properties
res/entityTables/transliterate.properties
;
; Optional for MathML
;
res/mathml.css
res/dtd/mathml.dtd
res/entityTables/mathml20.properties
res/fonts/mathfont.properties
res/fonts/mathfontCMEX10.properties
res/fonts/mathfontCMSY10.properties
res/fonts/mathfontMath1.properties
res/fonts/mathfontMath2.properties
res/fonts/mathfontMath4.properties
res/fonts/mathfontMTExtra.properties
res/fonts/mathfontPUA.properties
res/fonts/mathfontSymbol.properties
components/libucvmath.dylib
; svg
components/dom_svg.xpt
res/svg.css

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

@ -1,268 +0,0 @@
; Base Embedding Package File for linux
;
;
;
[Embed]
;
; Sample App + launch script
;
TestGtkEmbed
run-mozilla.sh
;
; NSPR:
;
libnspr4.so
libplc4.so
libplds4.so
;
; Javascript:
;
libmozjs.so
;
; XPCOM:
;
libxpcom.so
libxpcom_core.so
components/xpcom_base.xpt
components/xpcom_components.xpt
components/xpcom_ds.xpt
components/xpcom_io.xpt
components/xpcom_threads.xpt
components/xpcom_xpti.xpt
; xpconnect
components/libxpconnect.so
components/xpconnect.xpt
;
; XP widgets/graphics
;
libgkgfx.so
libgfxpsshar.so
components/gfx.xpt
components/widget.xpt
;
; qnx photon widget and gfx modules
;
components/libwidget_photon.so
components/libgfx_photon.so
; layout
libmoz_art_lgpl.so
res/dtd/xhtml11.dtd
components/libgklayout.so
components/libhtmlpars.so
components/layout_base.xpt
components/layout_printing.xpt
components/layout_xul.xpt
components/layout_xul_tree.xpt
components/content_base.xpt
; Imaging:
libmozz.so
components/libimglib2.so
components/imglib2.xpt
;
; Components: (need to trim fat)
;
; appshell
components/libnsappshell.so
components/appshell.xpt
; caps
components/libcaps.so
components/caps.xpt
; cookies
components/libcookie.so
; docshell
; embedding glue:
; appshell, docshell, uriloader, chrome, components
components/libdocshell.so
components/docshell.xpt
components/uriloader.xpt
components/libchrome.so
components/chrome.xpt
components/libwebbrwsr.so
components/webBrowser_core.xpt
components/libembedcomponents.so
components/windowwatcher.xpt
; jar
components/libjar50.so
components/jar.xpt
; prefs
components/pref.xpt
components/libpref.so
; profile
components/libprofile.so
components/profile.xpt
; session history
components/shistory.xpt
; optional typeaheadfind
; (docs at http://www.mozilla.org/projects/ui/accessibility/typeaheadfind.html)
;components/libsuitetypeaheadfind.so
;components/suitetypeaheadfind.xpt
; rdf
components/librdf.so
components/rdf.xpt
; required l10n libraries
components/intl.xpt
components/locale.xpt
components/libuconv.so
components/libi18n.so
components/uconv.xpt
components/unicharutil.xpt
;
; DOM:
;
components/dom.xpt
components/dom_base.xpt
components/dom_core.xpt
components/dom_css.xpt
components/dom_events.xpt
components/dom_html.xpt
components/dom_geolocation.xpt
components/dom_offline.xpt
components/dom_range.xpt
components/dom_stylesheets.xpt
components/dom_traversal.xpt
components/dom_views.xpt
components/dom_xbl.xpt
components/dom_xul.xpt
; editor
components/libeditor.so
components/editor.xpt
; find functionality
; Optional - only if your code uses nsIWebBrowserFind
components/txtsvc.xpt
; netwerk
components/libnecko.so
components/necko.xpt
components/necko_about.xpt
components/necko_dns.xpt
components/necko_http.xpt
components/necko_res.xpt
components/necko_strconv.xpt
; cache
components/necko_cache.xpt
; optional for FTP support
components/necko_ftp.xpt
; plugins
; Optional - only if you need plugin support
components/libgkplugin.so
components/plugin.xpt
; wallet
; Optional - only if you need password persistence
components/libwallet.so
components/wallet.xpt
; download progress
; Optional - you can implement your own download progress dialog
; then this is no longer required
;components/nsProgressDialog.js
;components/nsHelperAppDlg.js
;components/nsDownloadProgressListener.js
; psm2
; Optional - only if you need HTTPS support
components/libpipboot.so
components/pipboot.xpt
components/libpipnss.so
components/pipnss.xpt
chrome/pipnss.jar
defaults/pref/security-prefs.js
libnssutil3.so
libnss3.so
libnssdbm3.chk
libnssdbm3.so
libsmime3.so
libsoftokn3.chk
libsoftokn3.so
libfreebl3.chk
libfreebl3.so
libssl3.so
libnssckbi.so
; xmlextras, optional for XPointer support
components/libxmlextras.so
res/language.properties
res/langGroups.properties
res/charsetData.properties
res/charsetalias.properties
res/unixcharset.properties
; res/strres.properties
; required prefs files
greprefs/*
;
; Widget-Toolkit and Res (consult hyatt@netscape.com before modifying):
;
chrome/embed.jar
;
; res:
;
res/html.css
res/quirk.css
res/viewsource.css
res/hiddenWindow.html
res/ua.css
res/forms.css
res/contenteditable.css
res/designmode.css
res/arrow.gif
res/arrowd.gif
res/loading-image.png
res/broken-image.png
res/entityTables/html40Special.properties
res/entityTables/htmlEntityVersion.properties
res/entityTables/html40Latin1.properties
res/entityTables/html40Symbols.properties
res/entityTables/transliterate.properties
;
; Optional for MathML
;
;res/mathml.css
;res/dtd/mathml.dtd
;res/entityTables/mathml20.properties
;res/fonts/mathfont.properties
;res/fonts/mathfontCMEX10.properties
;res/fonts/mathfontCMSY10.properties
;res/fonts/mathfontMath1.properties
;res/fonts/mathfontMath2.properties
;res/fonts/mathfontMath4.properties
;res/fonts/mathfontMTExtra.properties
;res/fonts/mathfontPUA.properties
;res/fonts/mathfontSymbol.properties
;components/libucvmath.so

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

@ -1,270 +0,0 @@
; Base Embedding Package File for linux
;
;
;
[Embed]
;
; Sample App + launch script
;
TestGtkEmbed
run-mozilla.sh
;
; NSPR:
;
libnspr4.so
libplc4.so
libplds4.so
;
; Javascript:
;
libmozjs.so
;
; XPCOM:
;
libxpcom.so
libxpcom_core.so
components/xpcom_base.xpt
components/xpcom_components.xpt
components/xpcom_ds.xpt
components/xpcom_io.xpt
components/xpcom_threads.xpt
components/xpcom_xpti.xpt
; xpconnect
components/libxpconnect.so
components/xpconnect.xpt
;
; XP widgets/graphics
;
libgkgfx.so
libgtksuperwin.so
libgtkembedmoz.so
libgfxpsshar.so
components/libgkgfxthebes.so
components/gfx.xpt
components/libwidget_gtk2.so
components/widget.xpt
; layout
libmoz_art_lgpl.so
res/dtd/xhtml11.dtd
components/libgklayout.so
components/libhtmlpars.so
components/layout_base.xpt
components/layout_printing.xpt
components/layout_xul.xpt
components/layout_xul_tree.xpt
components/content_base.xpt
; Imaging:
libmozz.so
components/libimglib2.so
components/imglib2.xpt
;
; Components: (need to trim fat)
;
; appshell
components/libnsappshell.so
components/appshell.xpt
; caps
components/libcaps.so
components/caps.xpt
; cookies
components/libcookie.so
; docshell
; embedding glue:
; appshell, docshell, uriloader, chrome, components
components/libdocshell.so
components/docshell.xpt
components/uriloader.xpt
; we have either chrome or chrmlite, depending on MOZ_XUL
components/libchrome.so
components/chrome.xpt
components/libchrmlite.so
components/libwebbrwsr.so
components/webBrowser_core.xpt
components/libembedcomponents.so
components/windowwatcher.xpt
; jar
components/libjar50.so
components/jar.xpt
; prefs
components/pref.xpt
components/libpref.so
; profile
components/libprofile.so
components/profile.xpt
; session history
components/shistory.xpt
; optional typeaheadfind
; (docs at http://www.mozilla.org/projects/ui/accessibility/typeaheadfind.html)
;components/libsuitetypeaheadfind.so
;components/suitetypeaheadfind.xpt
; rdf
components/librdf.so
components/rdf.xpt
; required l10n libraries
components/intl.xpt
components/locale.xpt
components/libuconv.so
components/libi18n.so
components/libchardet.so
components/uconv.xpt
components/unicharutil.xpt
;
; DOM:
;
components/dom.xpt
components/dom_base.xpt
components/dom_core.xpt
components/dom_css.xpt
components/dom_events.xpt
components/dom_html.xpt
components/dom_geolocation.xpt
components/dom_offline.xpt
components/dom_range.xpt
components/dom_stylesheets.xpt
components/dom_traversal.xpt
components/dom_views.xpt
components/dom_xbl.xpt
components/dom_xul.xpt
; editor
components/libeditor.so
components/editor.xpt
; find functionality
; Optional - only if your code uses nsIWebBrowserFind
components/txtsvc.xpt
; netwerk
components/libnecko.so
components/necko.xpt
components/necko_about.xpt
components/necko_dns.xpt
components/necko_http.xpt
components/necko_res.xpt
components/necko_strconv.xpt
; cache
components/necko_cache.xpt
; optional for FTP support
components/necko_ftp.xpt
; plugins
; Optional - only if you need plugin support
components/libgkplugin.so
components/plugin.xpt
; wallet
; Optional - only if you need password persistence
components/libwallet.so
components/wallet.xpt
; download progress
; Optional - you can implement your own download progress dialog
; then this is no longer required
;components/nsProgressDialog.js
;components/nsHelperAppDlg.js
;components/nsDownloadProgressListener.js
; psm2
; Optional - only if you need HTTPS support
components/libpipboot.so
components/pipboot.xpt
components/libpipnss.so
components/pipnss.xpt
chrome/pipnss.jar
defaults/pref/security-prefs.js
libnssutil3.so
libnss3.so
libnssdbm3.chk
libnssdbm3.so
libsmime3.so
libsoftokn3.chk
libsoftokn3.so
libfreebl3.chk
libfreebl3.so
libssl3.so
libnssckbi.so
; xmlextras, optional for XPointer support
components/libxmlextras.so
res/language.properties
res/langGroups.properties
res/charsetData.properties
res/charsetalias.properties
res/unixcharset.properties
; res/strres.properties
; required prefs files
greprefs/*
;
; Widget-Toolkit and Res (consult hyatt@netscape.com before modifying):
;
chrome/embed.jar
;
; res:
;
res/html.css
res/quirk.css
res/viewsource.css
res/hiddenWindow.html
res/ua.css
res/forms.css
res/contenteditable.css
res/designmode.css
res/arrow.gif
res/arrowd.gif
res/loading-image.png
res/broken-image.png
res/entityTables/html40Special.properties
res/entityTables/htmlEntityVersion.properties
res/entityTables/html40Latin1.properties
res/entityTables/html40Symbols.properties
res/entityTables/transliterate.properties
;
; Optional for MathML
;
;res/mathml.css
;res/dtd/mathml.dtd
;res/entityTables/mathml20.properties
;res/fonts/mathfont.properties
;res/fonts/mathfontCMEX10.properties
;res/fonts/mathfontCMSY10.properties
;res/fonts/mathfontMath1.properties
;res/fonts/mathfontMath2.properties
;res/fonts/mathfontMath4.properties
;res/fonts/mathfontMTExtra.properties
;res/fonts/mathfontPUA.properties
;res/fonts/mathfontSymbol.properties
;components/libucvmath.so

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

@ -1,293 +0,0 @@
; Base Embedding Package File for Win32
;
;
;
[Embed]
;
; Sample App:
;
; Which sample app gets copied is determined in makefile.win
; by the args passed in to it. Both winembed and mfcembed
; are copied by default.
; Run "nmake -f makefile.win APP=winembed" to copy winembed
; Run "nmake -f makefile.win APP=mfcembed" to copy mfcembed
;
; ActiveX control
;
mozctl.dll
mozctlx.dll
;
; ActiveX plugin
;
plugins\npmozax.dll
components\nsAxSecurityPolicy.js
;
; NSPR:
;
nspr4.dll
plc4.dll
plds4.dll
;
; Javascript:
;
js3250.dll
;
; XPCOM:
;
xpcom.dll
xpcom_core.dll
components\xpcom_base.xpt
components\xpcom_components.xpt
components\xpcom_ds.xpt
components\xpcom_io.xpt
components\xpcom_nativeapp.xpt
components\xpcom_threads.xpt
components\xpcom_xpti.xpt
components\mozreg.dll
;components\mozreg.xpt
; required prefs files
greprefs\*
; xpconnect
components\xpc3250.dll
components\xpconnect.xpt
;
; XP widgets/graphics
;
gkgfx.dll
components\gkgfxthebes.dll
components\gkwidget.dll
components\widget.xpt
components\gfx.xpt
; layout
moz_art_lgpl.dll
components\gklayout.dll
components\gkparser.dll
components\layout_base.xpt
components\layout_printing.xpt
components\layout_xul.xpt
components\layout_xul_tree.xpt
components\content_base.xpt
res\dtd\xhtml11.dtd
;
; Imaging:
;
mozz.dll
components\imglib2.dll
components\imgicon.xpt
components\libimgicon.dll
;
; Components: (need to trim fat)
;
; accessibility (out of process API support)
; see http://www.mozilla.org/projects/ui/accessibility/vendors-win.html
components\accessibility.dll
components\accessibility.xpt
components\accessibility-msaa.xpt
; caps (JavaScript security)
components\caps.dll
components\caps.xpt
; cookies
components\cookie.dll
; embedding glue:
; appshell, docshell, uriloader, chrome, components
components\appshell.dll
components\appshell.xpt
components\docshell.dll
components\docshell.xpt
components\uriloader.xpt
components\chrome.dll
components\chrome.xpt
components\webbrwsr.dll
components\webBrowser_core.xpt
components\embedcomponents.dll
components\windowwatcher.xpt
; jar
components\jar50.dll
components\jar.xpt
; prefs
components\pref.xpt
components\xppref32.dll
; profile
components\profile.dll
components\profile.xpt
; profile sharing - optional
mozilla-ipcd.exe
ipc\modules\lockmodule.dll
ipc\modules\transmgr.dll
components\ipcdc.dll
; session history
components\shistory.xpt
; optional typeaheadfind
; (docs at http://www.mozilla.org/projects/ui/accessibility/typeaheadfind.html)
;components\suitetypeaheadfind.dll
;components\suitetypeaheadfind.xpt
; rdf
components\rdf.dll
components\rdf.xpt
; required l10n resources
res\language.properties
res\langGroups.properties
res\charsetData.properties
res\charsetalias.properties
res\wincharset.properties
; res\strres.properties
; required i18n libraries
components\i18n.dll
components\chardet.dll
components\intl.xpt
components\locale.xpt
components\uconv.dll
components\uconv.xpt
components\unicharutil.xpt
; dom
components\dom.xpt
components\dom_base.xpt
components\dom_canvas.xpt
components\dom_core.xpt
components\dom_css.xpt
components\dom_events.xpt
components\dom_html.xpt
components\dom_geolocation.xpt
components\dom_loadsave.xpt
components\dom_offline.xpt
components\dom_range.xpt
components\dom_sidebar.xpt
components\dom_storage.xpt
components\dom_stylesheets.xpt
components\dom_traversal.xpt
components\dom_views.xpt
components\dom_xbl.xpt
components\dom_xul.xpt
components\gksvgrenderer.xpt
; editor
components\editor.dll
components\editor.xpt
; find functionality
; Optional - only if your code uses nsIWebBrowserFind
components\txtsvc.xpt
; netwerk
components\necko.dll
components\necko.xpt
components\necko_about.xpt
components\necko_dns.xpt
components\necko_ftp.xpt
components\necko_http.xpt
components\necko_res.xpt
components\necko_strconv.xpt
; cache
components\necko_cache.xpt
; plugins
; Optional - only if you need plugin support
components\gkplugin.dll
components\plugin.xpt
plugins\npnul32.dll
; wallet
; Optional - only if you need password persistence
components\wallet.dll
components\wallet.xpt
; download progress
; Optional - you can implement your own download progress dialog
; then this is no longer required
;components\nsProgressDialog.js
;components\nsHelperAppDlg.js
;components\nsDownloadProgressListener.js
; psm2
; Optional - only if you need HTTPS support
components\pipboot.dll
components\pipboot.xpt
components\pipnss.dll
components\pipnss.xpt
nssutil3.dll
nss3.dll
nssdbm3.chk
nssdbm3.dll
smime3.dll
softokn3.chk
softokn3.dll
freebl3.chk
freebl3.dll
ssl3.dll
nssckbi.dll
; xmlextras, optional for XPointer support
components\xmlextras.dll
;
; res:
;
res\html.css
res\quirk.css
res\viewsource.css
res\hiddenWindow.html
res\ua.css
res\forms.css
res/contenteditable.css
res/designmode.css
res\arrow.gif
res\arrowd.gif
res\loading-image.png
res\broken-image.png
res\entityTables\html40Special.properties
res\entityTables\htmlEntityVersions.properties
res\entityTables\html40Latin1.properties
res\entityTables\html40Symbols.properties
res\entityTables\transliterate.properties
res\fonts\fontEncoding.properties
; needed for ftp:// dir listings etc
res\html\folder.png
;
; MathML, optional for MathML charset conversion
;
; components\ucvmath.dll
; res\mathml.css
; res\dtd\mathml.dtd
; res\entityTables\mathml20.properties
; res\fonts\mathfont.properties
; res\fonts\mathfontCMEX10.properties
; res\fonts\mathfontCMSY10.properties
; res\fonts\mathfontMath1.properties
; res\fonts\mathfontMath2.properties
; res\fonts\mathfontMath4.properties
; res\fonts\mathfontMTExtra.properties
; res\fonts\mathfontPUA.properties
; res\fonts\mathfontSymbol.properties

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

@ -1,19 +0,0 @@
;
; Base Embedding Package File for Win32
; embedding resources. Please place any
; references to res, prefs, chrome etc.
; in this file
;
[Embed]
; psm2
; Optional - only if you need PSM2 support
chrome\pipnss.jar
defaults\pref\security-prefs.js
;
; Widget-Toolkit and Res (consult hyatt@netscape.com before modifying):
;
chrome\embed.jar

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

@ -1,73 +0,0 @@
# Specify files or whole directories from the chrome that embedding
# needs to include.
#
# Format is:
#
# <destination in embed.jar>,<source in unzipped chrome>
#
# Use XXXX for locale specific parts of the path.
# Stuff needed for key bindings, scroll bar graphics etc.
content/forms, forms/content/forms
content/global, toolkit/content/global
content/global/xml, toolkit/content/global/xml
content/global/bindings, toolkit/content/global/bindings
content/global-platform, toolkit/content/global-platform
content/global-region, toolkit/content/global-region
content/communicator/contents.rdf, comm/content/communicator/contents.rdf
content/global/plugins.html, comm/content/global/plugins.html
skin/classic/forms, classic/skin/classic/forms
skin/classic/global, classic/skin/classic/global
skin/classic/global/arrow, classic/skin/classic/global/arrow
skin/classic/global/icons, classic/skin/classic/global/icons
skin/classic/global/scrollbar, classic/skin/classic/global/scrollbar
skin/classic/communicator/contents.rdf, classic/skin/classic/communicator/contents.rdf
skin/classic/communicator/dialogOverlay.css, classic/skin/classic/communicator/dialogOverlay.css
skin/classic/communicator/smallheader-bg.gif, classic/skin/classic/communicator/smallheader-bg.gif
skin/classic/communicator/plugins.css, classic/skin/classic/communicator/plugins.css
# Every locale package needs to have at least a dummy content package, so
# that locale auto-selection works correctly. See bug 234109
content/necko/contents.rdf, comm/content/necko/contents.rdf
content/navigator/contents.rdf, comm/content/navigator/contents.rdf
content/navigator-platform/contents.rdf, comm/content/navigator-platform/contents.rdf
# Locale stuff
locale/XXXX/global, XXXX/locale/XXXX/global
locale/XXXX/global/dom, XXXX/locale/XXXX/global/dom
locale/XXXX/global/layout, XXXX/locale/XXXX/global/layout
locale/XXXX/global/xslt, XXXX/locale/XXXX/global/xslt
locale/XXXX/global/xml, XXXX/locale/XXXX/global/xml
locale/XXXX/necko/contents.rdf, XXXX/locale/XXXX/necko/contents.rdf
locale/XXXX/necko/necko.properties, XXXX/locale/XXXX/necko/necko.properties
locale/XXXX/necko/redirect_loop.dtd, XXXX/locale/XXXX/necko/redirect_loop.dtd
locale/XXXX/communicator/contents.rdf, XXXX/locale/XXXX/communicator/contents.rdf
locale/XXXX/global/security.properties, XXXX/locale/XXXX/global/security.properties
locale/XXXX/global/security/caps.properties, XXXX/locale/XXXX/global/security/caps.properties
locale/XXXX/navigator, XXXX/locale/XXXX/navigator
locale/XXXX/navigator-platform, YYYY/locale/XXXX/navigator-platform
locale/XXXX/global-platform, YYYY/locale/XXXX/global-platform
locale/XXXX/global-platform/accessible.properties, XXXX/locale/XXXX/global-platform/accessible.properties
locale/XXXX/communicator/layout, XXXX/locale/XXXX/communicator/layout
locale/XXXX/forms, XXXX/locale/XXXX/forms
locale/XXXX/global-region, XXXX/locale/XXXX/global-region
# Help stuff
content/help, help/content/help,
skin/classic/communicator/help.css, classic/skin/classic/communicator/help.css,
# PSM stuff
locale/XXXX/pipnss, XXXX/locale/XXXX/pipnss
# Wallet and Cookie stuff
locale/XXXX/communicator/wallet, XXXX/locale/XXXX/communicator/wallet
content/cookie/contents.rdf, comm/content/cookie/contents.rdf
locale/XXXX/cookie/contents.rdf, XXXX/locale/XXXX/cookie/contents.rdf
# Marquee stuff
content/xbl-marquee, comm/content/xbl-marquee
# SVG
content/global/svg, toolkit/content/global/svg

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

@ -1,89 +0,0 @@
#!/usr/bin/perl
#################################################################
# Rest of program
# get requirements from the same dir as the script
if ($^O ne "cygwin") {
# we'll be pulling in some stuff from the script directory
require FindBin;
import FindBin;
push @INC, $FindBin::Bin;
}
require GenerateManifest;
import GenerateManifest;
use Getopt::Long;
# Configuration
$win32 = 0;
$darwin = 0;
for ($^O) {
if (/((MS)?win32)|cygwin/i) {
$win32 = 1;
}
elsif (/darwin/i) {
$darwin = 1;
}
}
if ($win32) {
$moz = "$ENV{'MOZ_SRC'}/mozilla";
if ($ENV{'MOZ_DEBUG'}) {
$chrome = "$moz/dist/WIN32_D.OBJ/Embed/tmpchrome";
}
else
{
$chrome = "$moz/dist/WIN32_O.OBJ/Embed/tmpchrome";
}
}
else {
$moz = "~/mozilla";
$chrome = "$moz/dist/Embed/tmpchrome";
}
$verbose = 0;
$locale = "en-US";
$platform = "en-unix";
GetOptions('verbose!' => \$verbose,
'mozpath=s' => \$moz,
'manifest=s' => \$manifest,
'chrome=s' => \$chrome,
'locale=s' => \$locale,
'help' => \$showhelp);
if ($win32) {
# Fix those pesky backslashes
$moz =~ s/\\/\//g;
$chrome =~ s/\\/\//g;
$platform = "en-win";
}
elsif ($darwin) {
$platform = "en-mac"
}
if ($showhelp) {
print STDERR "Embedding manifest generator.\n",
"Usage:\n",
" -help Show this help.\n",
" -manifest <file> Specify the input manifest.\n",
" -mozpath <path> Specify the path to Mozilla.\n",
" -chrome <path> Specify the path to the chrome.\n",
" -locale <value> Specify the locale to use. (e.g. en-US)\n",
" -verbose Print extra information\n";
exit 1;
}
if ($manifest eq "") {
die("Error: No input manifest file was specified.\n");
}
if ($verbose) {
print STDERR "Mozilla path = \"$moz\"\n",
"Chrome path = \"$chrome\"\n",
"Manifest file = \"$manifest\"\n";
}
GenerateManifest($moz, $manifest, $chrome, $locale, $platform, *STDOUT, "/", $verbose);
exit 0;

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

@ -1,71 +0,0 @@
; GRE Package File for Win32
;
; The files specified in this manifest will be added to
; the list of files specified in basebrowser-win manifest
; to create the GRE package
;
; *****
; *
; * NOTE: Many files that were listed in [gre] have been moved to the
; * following pacakges file list:
; *
; * xpinstall/packager/xpcom-win.pkg
; *
; *****
[gre]
; required prefs files
greprefs\*
;
; Type info support for nsIController
;
components\xuldoc.xpt
;
; history
;
components\history.xpt
;
; html parser
;
components\htmlparser.xpt
;
; imagelib
;
components\imgbmp.dll
components\imgicon.dll
components\imgicon.xpt
components\imglib2.xpt
;
; l10n libraries
;
components\universalchardet.dll
;
; necko xpts
;
components\necko_cookie.xpt
components\necko_file.xpt
components\necko_viewsource.xpt
;
; webbrowserpersist
;
components\webbrowserpersist.xpt
;
; xml
;
components\xmlextras.dll
;
; XP Install Support
;
xpicleanup.exe
components\xpinstall.xpt

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

@ -1,60 +0,0 @@
; GRE Package File for Win32
;
; The files specified in this manifest will be added to
; the list of files specified in basebrowser-win manifest
; to create the GRE package
;
[gre]
;
; Type info support for nsIController
;
components\xuldoc.xpt
;
; history
;
components\history.xpt
;
; html parser
;
components\htmlparser.xpt
;
; imagelib
;
components\imgbmp.dll
components\imgicon.dll
components\imgicon.xpt
components\imglib2.xpt
;
; l10n libraries
;
components\universalchardet.dll
;
; necko xpts
;
components\necko_cookie.xpt
components\necko_file.xpt
components\necko_viewsource.xpt
;
; webbrowserpersist
;
components\webbrowserpersist.xpt
;
; xml
;
components\xmlextras.dll
;
; XP Install Support
;
xpicleanup.exe
components\xpinstal.dll
components\xpinstall.xpt

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

@ -1,27 +0,0 @@
;
; GRE app support package file for Win32
; embedding resources.
;
; The files specified in this manifest will be added to
; the list of files specified in basebrowser-win-supp
; manifest to create the GRE application support package
;
;
[gre_app_support]
;
; wallet
;
defaults\wallet\DistinguishedSchema.tbl
defaults\wallet\FieldSchema.tbl
defaults\wallet\VcardSchema.tbl
defaults\wallet\SchemaConcat.tbl
defaults\wallet\SchemaStrings.tbl
defaults\wallet\PositionalSchema.tbl
defaults\wallet\StateSchema.tbl
;
; XP Install Support
;
defaults\pref\xpinstall.js

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

@ -1,10 +0,0 @@
#!/usr/bin/perl
#
# gre.pl
#
while (<STDIN>) {
s/\[Embed\]/\[$ARGV[0]\]/;
print;
}

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

@ -1,27 +0,0 @@
content,install,url,jar:resource:/chrome/embed.jar!/content/communicator/
locale,install,url,jar:resource:/chrome/embed.jar!/locale/en-US/communicator/
content,install,url,jar:resource:/chrome/embed.jar!/content/global/
locale,install,url,jar:resource:/chrome/embed.jar!/locale/en-US/global/
skin,install,url,jar:resource:/chrome/embed.jar!/skin/classic/global/
content,install,url,jar:resource:/chrome/embed.jar!/content/necko/
locale,install,url,jar:resource:/chrome/embed.jar!/locale/en-US/necko/
content,install,url,jar:resource:/chrome/pipnss.jar!/content/pipnss/
locale,install,url,jar:resource:/chrome/embed.jar!/locale/en-US/pipnss/
content,install,url,jar:resource:/chrome/embed.jar!/content/help/
locale,install,url,jar:resource:/chrome/embed.jar!/locale/en-US/help/
skin,install,url,jar:resource:/chrome/embed.jar!/skin/classic/communicator/
content,install,url,jar:resource:/chrome/embed.jar!/content/forms/
locale,install,url,jar:resource:/chrome/embed.jar!/locale/en-US/forms/
skin,install,url,jar:resource:/chrome/embed.jar!/skin/classic/forms/
skin,install,select,classic/1.0
content,install,url,jar:resource:/chrome/embed.jar!/content/global-region/
locale,install,url,jar:resource:/chrome/embed.jar!/locale/en-US/global-region/
content,install,url,jar:resource:/chrome/embed.jar!/content/global-platform/
locale,install,url,jar:resource:/chrome/embed.jar!/locale/en-US/global-platform/
content,install,url,jar:resource:/chrome/embed.jar!/content/cookie/
locale,install,url,jar:resource:/chrome/embed.jar!/locale/en-US/cookie/
content,install,url,jar:resource:/chrome/embed.jar!/content/navigator/
locale,install,url,jar:resource:/chrome/embed.jar!/locale/en-US/navigator/
content,install,url,jar:resource:/chrome/embed.jar!/content/navigator-platform/
locale,install,url,jar:resource:/chrome/embed.jar!/locale/en-US/navigator-platform/
content,install,url,jar:resource:/chrome/embed.jar!/content/xbl-marquee/

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

@ -1,204 +0,0 @@
; Minimo Embedding Package File for linux
; Do NOT touch unless you talk to dougt@meer.net
;
[Embed]
TestGtkEmbed
;
; NSPR:
;
libnspr4.so
libplc4.so
libplds4.so
;
; Javascript:
;
libmozjs.so
;
; XPCOM:
;
libxpcom.so
libxpcom_core.so
components/xpcom_base.xpt
components/xpcom_components.xpt
components/xpcom_ds.xpt
components/xpcom_io.xpt
components/xpcom_threads.xpt
components/xpcom_xpti.xpt
; xpconnect
components/libxpconnect.so
components/xpconnect.xpt
;
; XP widgets/graphics
;
libgkgfx.so
libgfxpsshar.so
components/gfx.xpt
components/widget.xpt
;
; qnx photon widget and gfx modules
;
components/libwidget_photon.so
components/libgfx_photon.so
; layout
libmoz_art_lgpl.so
res/dtd/xhtml11.dtd
components/libgklayout.so
components/libhtmlpars.so
components/layout_base.xpt
components/layout_printing.xpt
components/layout_xul.xpt
components/layout_xul_tree.xpt
components/content_base.xpt
; Imaging:
libmozz.so
components/libimglib2.so
components/imglib2.xpt
; appshell
components/libnsappshell.so
components/appshell.xpt
; caps
components/libcaps.so
components/caps.xpt
; cookies
components/libcookie.so
; docshell
; embedding glue:
; appshell, docshell, uriloader, chrome, components
components/libdocshell.so
components/docshell.xpt
components/uriloader.xpt
components/libwebbrwsr.so
components/webBrowser_core.xpt
components/libembedcomponents.so
components/windowwatcher.xpt
; jar
components/libjar50.so
components/jar.xpt
; prefs
components/pref.xpt
components/libpref.so
; session history
components/shistory.xpt
; required l10n libraries
components/intl.xpt
components/locale.xpt
components/libuconv.so
components/libi18n.so
components/uconv.xpt
components/unicharutil.xpt
;
; DOM:
;
components/libjsdom.so
components/dom.xpt
components/dom_base.xpt
components/dom_core.xpt
components/dom_css.xpt
components/dom_events.xpt
components/dom_geolocation.xpt
components/dom_html.xpt
components/dom_offline.xpt
components/dom_range.xpt
components/dom_stylesheets.xpt
components/dom_traversal.xpt
components/dom_views.xpt
components/dom_xbl.xpt
components/dom_xul.xpt
; editor
components/libeditor.so
components/editor.xpt
; netwerk
components/libnecko.so
components/necko.xpt
components/necko_about.xpt
components/necko_dns.xpt
components/necko_http.xpt
components/necko_res.xpt
components/necko_strconv.xpt
; cache
components/necko_cache.xpt
; plugins
; Optional - only if you need plugin support
components/libgkplugin.so
components/plugin.xpt
; psm2
; Optional - only if you need HTTPS support
components/libpipboot.so
components/pipboot.xpt
components/libpipnss.so
components/pipnss.xpt
chrome/pipnss.jar
defaults/pref/security-prefs.js
libnssutil3.so
libnss3.so
libnssdbm3.chk
libnssdbm3.so
libsmime3.so
libsoftokn3.chk
libsoftokn3.so
libfreebl3.chk
libfreebl3.so
libssl3.so
libnssckbi.so
res/language.properties
res/langGroups.properties
res/charsetData.properties
res/charsetalias.properties
res/unixcharset.properties
; res/strres.properties
; required prefs files
greprefs/*
chrome/embed.jar
;
; res:
;
res/html.css
res/quirk.css
res/viewsource.css
res/ua.css
res/forms.css
res/contenteditable.css
res/designmode.css
res/arrow.gif
res/arrowd.gif
res/loading-image.png
res/broken-image.png
res/entityTables/html40Special.properties
res/entityTables/htmlEntityVersion.properties
res/entityTables/html40Latin1.properties
res/entityTables/html40Symbols.properties
res/entityTables/transliterate.properties
; minimo stuff
components/libchrmlite.so

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

@ -1,204 +0,0 @@
; Minimo Embedding Package File for linux
; Do NOT touch unless you talk to dougt@meer.net
;
[Embed]
Minimo
;
; NSPR:
;
libnspr4.so
libplc4.so
libplds4.so
;
; Javascript:
;
libmozjs.so
;
; XPCOM:
;
libxpcom.so
libxpcom_core.so
components/xpcom_base.xpt
components/xpcom_components.xpt
components/xpcom_ds.xpt
components/xpcom_io.xpt
components/xpcom_threads.xpt
components/xpcom_xpti.xpt
; xpconnect
components/libxpconnect.so
components/xpconnect.xpt
;
; XP widgets/graphics
;
libgkgfx.so
libgtksuperwin.so
libgtkembedmoz.so
libgfxpsshar.so
components/libgkgfxthebes.so
components/libgfxps.so
components/gfx.xpt
components/libwidget_gtk2.so
components/widget.xpt
; layout
libmoz_art_lgpl.so
res/dtd/xhtml11.dtd
components/libgklayout.so
components/libhtmlpars.so
components/layout_base.xpt
components/layout_printing.xpt
components/layout_xul.xpt
components/layout_xul_tree.xpt
components/content_base.xpt
; Imaging:
libmozz.so
components/libimglib2.so
components/imglib2.xpt
; appshell
components/libnsappshell.so
components/appshell.xpt
; caps
components/libcaps.so
components/caps.xpt
; cookies
components/libcookie.so
; docshell
; embedding glue:
; appshell, docshell, uriloader, chrome, components
components/libdocshell.so
components/docshell.xpt
components/uriloader.xpt
components/libwebbrwsr.so
components/webBrowser_core.xpt
components/libembedcomponents.so
components/windowwatcher.xpt
; jar
components/libjar50.so
components/jar.xpt
; prefs
components/pref.xpt
components/libpref.so
; session history
components/shistory.xpt
; required l10n libraries
components/intl.xpt
components/locale.xpt
components/libuconv.so
components/libi18n.so
components/libchardet.so
components/uconv.xpt
components/unicharutil.xpt
;
; DOM:
;
components/dom.xpt
components/dom_base.xpt
components/dom_core.xpt
components/dom_css.xpt
components/dom_events.xpt
components/dom_geolocation.xpt
components/dom_html.xpt
components/dom_offline.xpt
components/dom_range.xpt
components/dom_stylesheets.xpt
components/dom_traversal.xpt
components/dom_views.xpt
components/dom_xbl.xpt
components/dom_xul.xpt
; editor
components/libeditor.so
components/editor.xpt
; netwerk
components/libnecko.so
components/necko.xpt
components/necko_about.xpt
components/necko_dns.xpt
components/necko_http.xpt
components/necko_res.xpt
components/necko_strconv.xpt
; cache
components/necko_cache.xpt
; plugins
; Optional - only if you need plugin support
components/libgkplugin.so
components/plugin.xpt
; psm2
; Optional - only if you need HTTPS support
components/libpipboot.so
components/pipboot.xpt
components/libpipnss.so
components/pipnss.xpt
chrome/pipnss.jar
defaults/pref/security-prefs.js
libnssutil3.so
libnss3.so
libnssdbm3.chk
libnssdbm3.so
libsmime3.so
libsoftokn3.chk
libsoftokn3.so
libfreebl3.chk
libfreebl3.so
libssl3.so
libnssckbi.so
res/language.properties
res/langGroups.properties
res/charsetData.properties
res/charsetalias.properties
res/unixcharset.properties
; res/strres.properties
; required prefs files
greprefs/*
chrome/embed.jar
;
; res:
;
res/html.css
res/quirk.css
res/viewsource.css
res/ua.css
res/forms.css
res/contenteditable.css
res/designmode.css
res/arrow.gif
res/arrowd.gif
res/loading-image.png
res/broken-image.png
res/entityTables/html40Special.properties
res/entityTables/htmlEntityVersion.properties
res/entityTables/html40Latin1.properties
res/entityTables/html40Symbols.properties
res/entityTables/transliterate.properties
; minimo stuff
components/libchrmlite.so
components/libpopuplite.so

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

@ -1,180 +0,0 @@
#!/usr/bin/perl
# This script dumps out a list of all public Mozilla headers based on what the
# embedding samples use. It uses dependency generator tools to find all
# headers, sorts them removes duplicates and dumps them out to display.
use Getopt::Long;
$showhelp = 0;
$verbose = 0;
$nodefaults = 0;
$appname = "Gecko public header list generator";
# Configuration
$win32 = ($^O eq "MSWin32") ? 1 : 0; # ActiveState Perl
if ($win32) {
$moz = "$ENV{'MOZ_SRC'}/mozilla";
$makedepexe = "$moz/config/makedep.exe";
}
else {
$moz = "/usr/local/src/mozilla";
$makedepexe = "makedepend";
}
GetOptions('verbose!' => \$verbose,
'nodefaults' => \$nodefaults,
'mozpath=s' => \$moz,
'deptool=s' => \$makedepexe,
'include=s' => \@cmd_incs,
'dir=s' => \@cmd_dirs,
'help' => \$showhelp);
if ($showhelp) {
print STDERR "$appname\n",
"Usage:\n",
"--help Show this help\n",
"--verbose Print out more information\n",
"--nodefaults Don't use the default include and directory settings\n",
"--mozsrc <path> Specify the path to Mozilla source code (e.g. /usr/src/mozilla)\n",
"--deptool <exe> Specify the dependency tool path\n",
"--include <path> Add an include path\n",
"--dir <path> Add a directory to be inspected\n";
exit 1;
}
print STDERR "$appname\n",
"Path to mozilla is \"$moz\"\n",
"Dependency tool is \"$makedepexe\"\n" unless !$verbose;
# List of default include directories
@default_incs = (
"$moz/dist/include/nspr",
"$moz/dist/include",
);
# List of default directories to analyze
@default_dirs = (
"$moz/embedding/tests/winEmbed",
"$moz/embedding/tests/mfcembed",
"$moz/embedding/browser/gtk/tests",
"$moz/embedding/browser/activex/src/control",
"$moz/embedding/browser/powerplant/source",
"$moz/embedding/browser/gtk/src"
);
@deps = ();
if ($nodefaults) {
@incs = ( @cmd_incs );
@dirs = ( @cmd_dirs );
}
else {
@incs = ( @default_incs, @cmd_incs );
@dirs = ( @default_dirs, @cmd_dirs );
}
if ($verbose) {
print "Include paths:\n";
foreach $inc (@incs) {
print " ", $inc, "\n";
}
}
# Analyze each embedding project in turn
foreach $dir (@dirs) {
makedep($dir);
}
# Remove duplicate dependencies & sort alphabetically
$prev = 'nonesuch';
@out = grep($_ ne $prev && ($prev = $_), sort @deps);
# Output the list of headers
foreach $h (@out) {
$printinfo{$h} = 0;
}
foreach $i (@incs) {
$i =~ s/\\/\//g; # Back slash to forward slash
foreach $h (@out) {
# Compare lowercase portion of header to include dir
$h =~ s/\\/\//g;
$lci = lc($i);
$lch = lc(substr($h, 0, length($i)));
if ($lch eq $lci && $printinfo{$h} == 0) {
print $h, "\n";
$printinfo{$h} = 1; # Stops same header from matching two include dirs
}
}
}
sub makedep {
my($dir) = @_;
print STDERR "Analyzing dependencies for \"$dir\" ...\n" unless !$verbose;
chdir $dir
or die "Cannot change directory to \"$dir\"";
# Search for .c, .cpp and .h files
opendir(THISDIR, ".")
or die "Cannot open directory \"$dir\"";
@srcfiles = grep(/\.(cpp|c|h)$/i, readdir(THISDIR));
closedir(THISDIR);
# Construct the arguments for the dependency tool
if ($win32) {
@args = ($makedepexe);
foreach $inc (@incs) {
push(@args, "-I$inc");
}
foreach $src (@srcfiles) {
push(@args, $src);
}
}
else {
@args = ($makedepexe);
push(@args, "-f-"); # To stdout
push(@args, "-w1"); # width = 1 forces one dependency per line
foreach $inc (@incs) {
push(@args, "-I$inc");
}
foreach $src (@srcfiles) {
push(@args, $src);
}
}
$cmd = join(' ', @args);
if (!$win32) {
open(OLDERR, ">&STDERR");
open(STDERR, ">/dev/null");
}
# Run the dependency tool and read the output
open(DATA, "$cmd |")
or die("Cannot open output from dependency tool");
# Filter out all lines not containing ".h"
while (<DATA>) {
foreach $inc (@incs) {
if (/\.h/i) {
# Remove whitespace and trailing backslash, newline
chomp;
s/^\s+//g;
s/^[\w]+\.\w\:\s+//g;
s/\s+\\$//g;
# Store in list
push @deps, $_;
}
}
}
if (!$win32) {
close(STDERR);
open(STDERR, ">&OLDERR");
}
}

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

@ -1,15 +0,0 @@
#
# PIPNSS
#
content/pipnss, pipnss/content/pipnss
locale/XXXX/pipnss, XXXX/locale/XXXX/pipnss
#
# PIPPKI
#
content/pippki, pippki/content/pippki
locale/XXXX/pippki, XXXX/locale/XXXX/pippki

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

@ -653,7 +653,6 @@ MAKEFILES_embedding="
embedding/components/ui/Makefile
embedding/components/ui/helperAppDlg/Makefile
embedding/components/ui/progressDlg/Makefile
embedding/config/Makefile
embedding/tests/Makefile
embedding/tests/winEmbed/Makefile
"

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

@ -1,254 +0,0 @@
#!/bin/bash
#
# ***** 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 basesummary.linx.bash code, released
# Nov 15, 2002.
#
# 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):
# Garrett Arch Blythe, 15-November-2002
# Simon Fraser <sfraser@netscape.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 *****
#
# Check for optional objdir
#
if [ "$1" = "-o" ]; then
OBJROOT="$2"
shift
shift
else
OBJROOT="./mozilla"
fi
if [ "$1" = "-s" ]; then
SRCROOT="$2"
shift
shift
else
SRCROOT="./mozilla"
fi
OSTYPE=`uname -s`
if [ $OSTYPE == "Darwin" ]; then
MANIFEST="$SRCROOT/embedding/config/basebrowser-mac-macho"
else
MANIFEST="$SRCROOT/embedding/config/basebrowser-unix"
fi
#
# A little help for my friends.
#
if [ "-h" == "$1" ];then
SHOWHELP="1"
fi
if [ "--help" == "$1" ];then
SHOWHELP="1"
fi
if [ "" == "$1" ]; then
SHOWHELP="1"
fi
if [ "" == "$2" ]; then
SHOWHELP="1"
fi
if [ "" == "$3" ]; then
SHOWHELP="1"
fi
#
# Show the help if required.
#
if [ $SHOWHELP ]; then
echo "usage: $0 <save_results> <old_results> <summary>"
echo " <save_results> is a file that will receive the results of this run."
echo " This file can be used in a future run as the old results."
echo " <old_results> is a results file from a previous run."
echo " It is used to diff with current results and come up with a summary"
echo " of changes."
echo " It is OK if the file does not exist, just supply the argument."
echo " <summary> is a file which will contain a human readable report."
echo " This file is most useful by providing more information than the"
echo " normally single digit output of this script."
echo ""
echo "Run this command from the parent directory of the mozilla tree."
echo ""
echo "This command will output two numbers to stdout that will represent"
echo " the total size of all code and data, and a delta from the prior."
echo " the old results."
echo "For much more detail on size drifts refer to the summary report."
echo ""
echo "This tool reports on executables listed in the following file:"
echo "$MANIFEST"
exit
fi
#
# Stash our arguments away.
#
COPYSORTTSV="$1"
OLDTSVFILE="$2"
SUMMARYFILE="$3"
#
# On Mac OS X, use the --zerodrift option to maptsvdifftool
#
if [ $OSTYPE == "Darwin" ]; then
ZERODRIFT="--zerodrift"
else
ZERODRIFT=""
fi
#
# Create our temporary directory.
# mktemp on Darwin doesn't support -d (suckage)
#
if [ $OSTYPE == "Darwin" ]; then
MYTMPDIR=`mktemp ./codesighs.tmp.XXXXXXXX`
rm $MYTMPDIR
mkdir $MYTMPDIR
else
MYTMPDIR=`mktemp -d ./codesighs.tmp.XXXXXXXX`
fi
# Check whether we have 'eu-readelf' or 'readelf' available.
# If we do, it will give more accurate symbol sizes than nm.
if [ $OSTYPE == "Darwin" ]; then
USE_READELF=
else
READELF_PROG=`which eu-readelf 2>/dev/null | grep /eu-readelf$`
if test "$READELF_PROG"; then
USE_READELF=1
else
READELF_PROG=`which readelf 2>/dev/null | grep /readelf$`
if test "$READELF_PROG"; then
# Check whether we need -W
if readelf --help | grep "\--wide" >&/dev/null; then
READELF_PROG="readelf -W"
else
READELF_PROG="readelf"
fi
USE_READELF=1
else
USE_READELF=
fi
fi
fi
#
# Find all relevant files.
#
ALLFILES="$MYTMPDIR/allfiles.list"
grep -v '[\;\[]' < $MANIFEST | grep -v '^$' | sed "s|^|${OBJROOT}/dist/bin/|" > $ALLFILES
RAWTSVFILE="$MYTMPDIR/raw.tsv"
if test "$USE_READELF"; then
export READELF_PROG
xargs -n 1 $SRCROOT/tools/codesighs/readelf_wrap.pl < $ALLFILES > $RAWTSVFILE
else
#
# Produce the cumulative nm output.
# We are very particular on what switches to use.
# nm --format=bsd --size-sort --print-file-name --demangle
#
# Darwin (Mac OS X) has a lame nm that we have to wrap in a perl
# script to get decent output.
#
NMRESULTS="$MYTMPDIR/nm.txt"
if [ $OSTYPE == "Darwin" ]; then
xargs -n 1 $SRCROOT/tools/codesighs/nm_wrap_osx.pl < $ALLFILES > $NMRESULTS 2> /dev/null
else
xargs -n 1 nm --format=bsd --size-sort --print-file-name --demangle < $ALLFILES > $NMRESULTS 2> /dev/null
fi
#
# Produce the TSV output.
#
$OBJROOT/dist/bin/nm2tsv --input $NMRESULTS > $RAWTSVFILE
fi # USE_READELF
#
# Sort the TSV output for useful diffing and eyeballing in general.
#
sort -r $RAWTSVFILE > $COPYSORTTSV
#
# If a historical file was specified, diff it with our sorted tsv values.
# Run it through a tool to summaries the diffs to the module
# level report.
# Otherwise, generate the module level report from our new data.
#
rm -f $SUMMARYFILE
DIFFFILE="$MYTMPDIR/diff.txt"
if [ -e $OLDTSVFILE ]; then
diff $OLDTSVFILE $COPYSORTTSV > $DIFFFILE
$OBJROOT/dist/bin/maptsvdifftool $ZERODRIFT --input $DIFFFILE >> $SUMMARYFILE
else
$OBJROOT/dist/bin/codesighs --modules --input $COPYSORTTSV >> $SUMMARYFILE
fi
#
# Output our numbers, that will let tinderbox specify everything all
# at once.
# First number is in fact the total size of all code and data in the map
# files parsed.
# Second number, if present, is growth/shrinkage.
#
if [ $TINDERBOX_OUTPUT ]; then
echo -n "__codesize:"
fi
$OBJROOT/dist/bin/codesighs --totalonly --input $COPYSORTTSV
if [ -e $DIFFFILE ]; then
if [ $TINDERBOX_OUTPUT ]; then
echo -n "__codesizeDiff:"
fi
$OBJROOT/dist/bin/maptsvdifftool $ZERODRIFT --summary --input $DIFFFILE
fi
#
# Remove our temporary directory.
#
rm -rf $MYTMPDIR

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

@ -1,224 +0,0 @@
#!/bin/bash
#
# ***** 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 basesummary.win.bash code, released
# Nov 15, 2002.
#
# 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):
# Garrett Arch Blythe, 15-November-2002
#
# 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 *****
#
# Check for optional objdir
#
if [ "$1" = "-o" ]; then
OBJROOT="$2"
shift
shift
else
OBJROOT="./mozilla"
fi
if [ "$1" = "-s" ]; then
SRCROOT="$2"
shift
shift
else
SRCROOT="./mozilla"
fi
MANIFEST="$SRCROOT/embedding/config/basebrowser-win"
#
# A little help for my friends.
#
if [ "-h" == "$1" ];then
SHOWHELP="1"
fi
if [ "--help" == "$1" ];then
SHOWHELP="1"
fi
if [ "" == "$1" ]; then
SHOWHELP="1"
fi
if [ "" == "$2" ]; then
SHOWHELP="1"
fi
if [ "" == "$3" ]; then
SHOWHELP="1"
fi
#
# Show the help if required.
#
if [ $SHOWHELP ]; then
echo "usage: $0 <save_results> <old_results> <summary>"
echo " <save_results> is a file that will receive the results of this run."
echo " This file can be used in a future run as the old results."
echo " <old_results> is a results file from a previous run."
echo " It is used to diff with current results and come up with a summary"
echo " of changes."
echo " It is OK if the file does not exist, just supply the argument."
echo " <summary> is a file which will contain a human readable report."
echo " This file is most useful by providing more information than the"
echo " normally single digit output of this script."
echo ""
echo "Run this command from the parent directory of the mozilla tree."
echo ""
echo "This command will output two numbers to stdout that will represent"
echo " the total size of all code and data, and a delta from the prior."
echo " the old results."
echo "For much more detail on size drifts refer to the summary report."
echo ""
echo "This tool reports on executables listed in the following file:"
echo "$MANIFEST"
exit
fi
#
# Stash our arguments away.
#
COPYSORTTSV="$1"
OLDTSVFILE="$2"
SUMMARYFILE="$3"
#
# Create our temporary directory.
#
MYTMPDIR=`mktemp -d ./codesighs.tmp.XXXXXXXX`
#
# Find the types of files we are interested in.
#
ONEFINDPASS="$MYTMPDIR/onefind.list"
/usr/bin/find $OBJROOT -type f -name "*.obj" -or -name "*.map" | while read FNAME; do
cygpath -m $FNAME >> $ONEFINDPASS
done
#
# Find all object files.
#
ALLOBJSFILE="$MYTMPDIR/allobjs.list"
grep -i "\.obj$" < $ONEFINDPASS > $ALLOBJSFILE
#
# Get a dump of the symbols in every object file.
#
ALLOBJSYMSFILE="$MYTMPDIR/allobjsyms.list"
xargs -n 1 dumpbin.exe /symbols < $ALLOBJSFILE > $ALLOBJSYMSFILE 2> /dev/null
#
# Produce the symdb for the symbols in all object files.
#
SYMDBFILE="$MYTMPDIR/symdb.tsv"
$OBJROOT/dist/bin/msdump2symdb --input $ALLOBJSYMSFILE | /usr/bin/sort > $SYMDBFILE 2> /dev/null
#
# Find all map files.
#
ALLMAPSFILE="$MYTMPDIR/allmaps.list"
grep -i "\.map$" < $ONEFINDPASS > $ALLMAPSFILE
#
# Figure out which modules in specific we care about.
# The relevant set meaning that the map file name prefix must be found
# in the file mozilla/embedding/config/basebrowser-win.
#
RELEVANTSETFILE="$MYTMPDIR/relevant.set"
grep -v '\;' < $MANIFEST | sed 's/.*\\//' | grep '\.[eEdD][xXlL][eElL]' | sed 's/\.[eEdD][xXlL][eElL]//' > $RELEVANTSETFILE
RELEVANTARG=`xargs -n 1 echo --match-module < $RELEVANTSETFILE`
#
# Produce the TSV output.
#
RAWTSVFILE="$MYTMPDIR/raw.tsv"
$OBJROOT/dist/bin/msmap2tsv --symdb $SYMDBFILE --batch $RELEVANTARG < $ALLMAPSFILE > $RAWTSVFILE 2> /dev/null
#
# Sort the TSV output for useful diffing and eyeballing in general.
#
/usr/bin/sort -r $RAWTSVFILE > $COPYSORTTSV
#
# If a historical file was specified, diff it with our sorted tsv values.
# Run it through a tool to summaries the diffs to the module
# level report.
# Otherwise, generate the module level report from our new data.
#
rm -f $SUMMARYFILE
DIFFFILE="$MYTMPDIR/diff.txt"
if [ -e $OLDTSVFILE ]; then
diff $OLDTSVFILE $COPYSORTTSV > $DIFFFILE
$OBJROOT/dist/bin/maptsvdifftool --negation --input $DIFFFILE | dos2unix >> $SUMMARYFILE
else
$OBJROOT/dist/bin/codesighs --modules --input $COPYSORTTSV | dos2unix >> $SUMMARYFILE
fi
#
# Output our numbers, that will let tinderbox specify everything all
# at once.
# First number is in fact the total size of all code and data in the map
# files parsed.
# Second number, if present, is growth/shrinkage.
#
if [ $TINDERBOX_OUTPUT ]; then
echo -n "__codesize:"
fi
$OBJROOT/dist/bin/codesighs --totalonly --input $COPYSORTTSV | dos2unix
if [ -e $DIFFFILE ]; then
if [ $TINDERBOX_OUTPUT ]; then
echo -n "__codesizeDiff:"
fi
$OBJROOT/dist/bin/maptsvdifftool --negation --summary --input $DIFFFILE | dos2unix
fi
#
# Remove our temporary directory.
#
rm -rf $MYTMPDIR