Fix multiline sizing issue and drawing when theme disabled

master
boisso 8 years ago
commit 06570af739
  1. 13
      CVSROOT/checkoutlist
  2. 15
      CVSROOT/commitinfo
  3. 11
      CVSROOT/config
  4. 23
      CVSROOT/cvswrappers
  5. 21
      CVSROOT/editinfo
  6. 26
      CVSROOT/loginfo
  7. 26
      CVSROOT/modules
  8. 12
      CVSROOT/notify
  9. 13
      CVSROOT/rcsinfo
  10. 20
      CVSROOT/taginfo
  11. 21
      CVSROOT/verifymsg
  12. 30
      k-meleon/TabReBar.cpp
  13. 43
      mozilla/.mozconfig
  14. 137
      mozilla/embedding/config/Makefile.in
  15. 413
      mozilla/embedding/config/basebrowser-win
  16. 57
      mozilla/kmeleon/build.mk
  17. 3
      mozilla/kmeleon/config/mozconfig
  18. 1
      mozilla/kmeleon/config/version.txt
  19. 54
      mozilla/kmeleon/confvars.sh
  20. 173
      mozilla/kmeleon/embed-replacements/content/global/about.xhtml
  21. BIN
      mozilla/kmeleon/embed-replacements/content/global/logo.gif
  22. 295
      mozilla/kmeleon/embed-replacements/content/global/netError.xhtml
  23. 151
      mozilla/kmeleon/embed-replacements/skin/classic/global/netError.css
  24. 63
      mozilla/kmeleon/flashblock/Makefile.in
  25. 10
      mozilla/kmeleon/flashblock/README
  26. BIN
      mozilla/kmeleon/flashblock/content/authorware.png
  27. 18
      mozilla/kmeleon/flashblock/content/contents.rdf
  28. BIN
      mozilla/kmeleon/flashblock/content/director.png
  29. BIN
      mozilla/kmeleon/flashblock/content/flash.png
  30. 98
      mozilla/kmeleon/flashblock/content/flashblock.css
  31. 619
      mozilla/kmeleon/flashblock/content/flashblock.xml
  32. BIN
      mozilla/kmeleon/flashblock/content/flashplay.png
  33. 8
      mozilla/kmeleon/flashblock/jar.mn
  34. 52
      mozilla/kmeleon/history/Makefile.in
  35. 53
      mozilla/kmeleon/history/public/Makefile.in
  36. 108
      mozilla/kmeleon/history/public/nsIBrowserHistory.idl
  37. 75
      mozilla/kmeleon/history/src/Makefile.in
  38. 4642
      mozilla/kmeleon/history/src/nsGlobalHistory.cpp
  39. 455
      mozilla/kmeleon/history/src/nsGlobalHistory.h
  40. 63
      mozilla/kmeleon/history/src/nsHistoryLoadListener.h
  41. 46
      mozilla/kmeleon/makefiles.sh
  42. 51
      mozilla/kmeleon/typeaheadfind/Makefile.in
  43. 44
      mozilla/kmeleon/typeaheadfind/makefiles.sh
  44. 50
      mozilla/kmeleon/typeaheadfind/public/Makefile.in
  45. 88
      mozilla/kmeleon/typeaheadfind/public/nsITypeAheadFind.idl
  46. 44
      mozilla/kmeleon/typeaheadfind/resources/Makefile.in
  47. BIN
      mozilla/kmeleon/typeaheadfind/resources/content/notfound.wav
  48. 41
      mozilla/kmeleon/typeaheadfind/resources/content/prefs/typeaheadfind.js
  49. 2
      mozilla/kmeleon/typeaheadfind/resources/jar.mn
  50. 99
      mozilla/kmeleon/typeaheadfind/src/Makefile.in
  51. 2993
      mozilla/kmeleon/typeaheadfind/src/nsTypeAheadFind.cpp
  52. 279
      mozilla/kmeleon/typeaheadfind/src/nsTypeAheadFind.h
  53. 102
      mozilla/kmeleon/typeaheadfind/src/nsTypeAheadFindRegistration.cpp
  54. 9
      mozilla/kmeleon/typeaheadfind/src/typeaheadfind.pkg
  55. 48
      mozilla/kmeleon/wallet/Makefile.in
  56. 82
      mozilla/kmeleon/wallet/build/Makefile.in
  57. 61
      mozilla/kmeleon/wallet/build/nsWalletViewerFactory.cpp
  58. 9
      mozilla/kmeleon/wallet/build/walletviewer.pkg
  59. 64
      mozilla/kmeleon/wallet/editor/Makefile.in
  60. 61
      mozilla/kmeleon/wallet/editor/nsIWalletEditor.idl
  61. 99
      mozilla/kmeleon/wallet/editor/nsWalletEditor.cpp
  62. 51
      mozilla/kmeleon/wallet/editor/nsWalletEditor.h
  63. 185
      mozilla/kmeleon/wallet/editor/resources/content/WalletAddress.xul
  64. 57
      mozilla/kmeleon/wallet/editor/resources/content/WalletBilling.xul
  65. 525
      mozilla/kmeleon/wallet/editor/resources/content/WalletConcatenated.xul
  66. 127
      mozilla/kmeleon/wallet/editor/resources/content/WalletCredit.xul
  67. 105
      mozilla/kmeleon/wallet/editor/resources/content/WalletEmploy.xul
  68. 191
      mozilla/kmeleon/wallet/editor/resources/content/WalletMisc.xul
  69. 129
      mozilla/kmeleon/wallet/editor/resources/content/WalletName.xul
  70. 57
      mozilla/kmeleon/wallet/editor/resources/content/WalletOther.xul
  71. 229
      mozilla/kmeleon/wallet/editor/resources/content/WalletPhone.xul
  72. 57
      mozilla/kmeleon/wallet/editor/resources/content/WalletPrimary.xul
  73. 57
      mozilla/kmeleon/wallet/editor/resources/content/WalletShipping.xul
  74. 168
      mozilla/kmeleon/wallet/editor/resources/content/WalletTree.xul
  75. 112
      mozilla/kmeleon/wallet/editor/resources/content/WalletUrlspecific.xul
  76. 479
      mozilla/kmeleon/wallet/editor/resources/content/WalletViewer.js
  77. 42
      mozilla/kmeleon/wallet/editor/resources/content/WalletViewer.xul
  78. 14
      mozilla/kmeleon/wallet/editor/resources/locale/en-US/WalletEditor.dtd
  79. 46
      mozilla/kmeleon/wallet/editor/resources/locale/en-US/WalletEditor.properties
  80. 178
      mozilla/kmeleon/wallet/editor/resources/locale/en-US/WalletViewer.dtd
  81. 53
      mozilla/kmeleon/wallet/jar.mn
  82. 47
      mozilla/kmeleon/wallet/makefiles.sh
  83. 61
      mozilla/kmeleon/wallet/public/Makefile.in
  84. 49
      mozilla/kmeleon/wallet/public/nsCPassword.h
  85. 79
      mozilla/kmeleon/wallet/public/nsIPassword.idl
  86. 97
      mozilla/kmeleon/wallet/public/nsIWalletService.idl
  87. 38
      mozilla/kmeleon/wallet/resources/content/contents.rdf
  88. 109
      mozilla/kmeleon/wallet/resources/content/pref-passwords.xul
  89. 93
      mozilla/kmeleon/wallet/resources/content/pref-wallet.xul
  90. 9
      mozilla/kmeleon/wallet/resources/content/walletContextOverlay.xul
  91. 191
      mozilla/kmeleon/wallet/resources/content/walletNavigatorOverlay.xul
  92. 386
      mozilla/kmeleon/wallet/resources/content/walletOverlay.js
  93. 54
      mozilla/kmeleon/wallet/resources/content/walletPrefsOverlay.xul
  94. 102
      mozilla/kmeleon/wallet/resources/content/walletTasksOverlay.xul
  95. 26
      mozilla/kmeleon/wallet/resources/locale/en-US/contents.rdf
  96. 15
      mozilla/kmeleon/wallet/resources/locale/en-US/pref-passwords.dtd
  97. 10
      mozilla/kmeleon/wallet/resources/locale/en-US/pref-wallet.dtd
  98. 20
      mozilla/kmeleon/wallet/resources/locale/en-US/walletNavigatorOverlay.dtd
  99. 2
      mozilla/kmeleon/wallet/resources/locale/en-US/walletPrefsOverlay.dtd
  100. 28
      mozilla/kmeleon/wallet/resources/locale/en-US/walletTasksOverlay.dtd
  101. Some files were not shown because too many files have changed in this diff Show More

@ -0,0 +1,13 @@
# The "checkoutlist" file is used to support additional version controlled
# administrative files in $CVSROOT/CVSROOT, such as template files.
#
# The first entry on a line is a filename which will be checked out from
# the corresponding RCS file in the $CVSROOT/CVSROOT directory.
# The remainder of the line is an error message to use if the file cannot
# be checked out.
#
# File format:
#
# [<whitespace>]<filename><whitespace><error message><end-of-line>
#
# comment lines begin with '#'

@ -0,0 +1,15 @@
# The "commitinfo" file is used to control pre-commit checks.
# The filter on the right is invoked with the repository and a list
# of files to check. A non-zero exit of the filter program will
# cause the commit to be aborted.
#
# The first entry on a line is a regular expression which is tested
# against the directory that the change is being committed to, relative
# to the $CVSROOT. For the first match that is found, then the remainder
# of the line is the name of the filter to run.
#
# If the repository name does not match any of the regular expressions in this
# file, the "DEFAULT" line is used, if it is specified.
#
# If the name "ALL" appears as a regular expression it is always used
# in addition to the first matching regex or "DEFAULT".

@ -0,0 +1,11 @@
# Set this to "no" if pserver shouldn't check system users/passwords
#SystemAuth=no
# Set `PreservePermissions' to `yes' to save file status information
# in the repository.
#PreservePermissions=no
# Set `TopLevelAdmin' to `yes' to create a CVS directory at the top
# level of the new working directory when using the `cvs checkout'
# command.
#TopLevelAdmin=no

@ -0,0 +1,23 @@
# This file affects handling of files based on their names.
#
# The -t/-f options allow one to treat directories of files
# as a single file, or to transform a file in other ways on
# its way in and out of CVS.
#
# The -m option specifies whether CVS attempts to merge files.
#
# The -k option specifies keyword expansion (e.g. -kb for binary).
#
# Format of wrapper file ($CVSROOT/CVSROOT/cvswrappers or .cvswrappers)
#
# wildcard [option value][option value]...
#
# where option is one of
# -f from cvs filter value: path to filter
# -t to cvs filter value: path to filter
# -m update methodology value: MERGE or COPY
# -k expansion mode value: b, o, kkv, &c
#
# and value is a single-quote delimited value.
# For example:
#*.gif -k 'b'

@ -0,0 +1,21 @@
# The "editinfo" file is used to allow verification of logging
# information. It works best when a template (as specified in the
# rcsinfo file) is provided for the logging procedure. Given a
# template with locations for, a bug-id number, a list of people who
# reviewed the code before it can be checked in, and an external
# process to catalog the differences that were code reviewed, the
# following test can be applied to the code:
#
# Making sure that the entered bug-id number is correct.
# Validating that the code that was reviewed is indeed the code being
# checked in (using the bug-id number or a seperate review
# number to identify this particular code set.).
#
# If any of the above test failed, then the commit would be aborted.
#
# Actions such as mailing a copy of the report to each reviewer are
# better handled by an entry in the loginfo file.
#
# One thing that should be noted is the the ALL keyword is not
# supported. There can be only one entry that matches a given
# repository.

@ -0,0 +1,26 @@
# The "loginfo" file controls where "cvs commit" log information
# is sent. The first entry on a line is a regular expression which must match
# the directory that the change is being made to, relative to the
# $CVSROOT. If a match is found, then the remainder of the line is a filter
# program that should expect log information on its standard input.
#
# If the repository name does not match any of the regular expressions in this
# file, the "DEFAULT" line is used, if it is specified.
#
# If the name ALL appears as a regular expression it is always used
# in addition to the first matching regex or DEFAULT.
#
# You may specify a format string as part of the
# filter. The string is composed of a `%' followed
# by a single format character, or followed by a set of format
# characters surrounded by `{' and `}' as separators. The format
# characters are:
#
# s = file name
# V = old version number (pre-checkin)
# v = new version number (post-checkin)
#
# For example:
#DEFAULT (echo ""; id; echo %s; date; cat) >> $CVSROOT/CVSROOT/commitlog
# or
#DEFAULT (echo ""; id; echo %{sVv}; date; cat) >> $CVSROOT/CVSROOT/commitlog

@ -0,0 +1,26 @@
# Three different line formats are valid:
# key -a aliases...
# key [options] directory
# key [options] directory files...
#
# Where "options" are composed of:
# -i prog Run "prog" on "cvs commit" from top-level of module.
# -o prog Run "prog" on "cvs checkout" of module.
# -e prog Run "prog" on "cvs export" of module.
# -t prog Run "prog" on "cvs rtag" of module.
# -u prog Run "prog" on "cvs update" of module.
# -d dir Place module in directory "dir" instead of module name.
# -l Top-level directory only -- do not recurse.
#
# NOTE: If you change any of the "Run" options above, you'll have to
# release and re-checkout any working directories of these modules.
#
# And "directory" is a path to a directory relative to $CVSROOT.
#
# The "-a" option specifies an alias. An alias is interpreted as if
# everything on the right of the "-a" had been typed on the command line.
#
# You can encode a module within a module by using the special '&'
# character to interpose another module into the current module. This
# can be useful for creating a module that consists of many directories
# spread out over the entire source repository.

@ -0,0 +1,12 @@
# The "notify" file controls where notifications from watches set by
# "cvs watch add" or "cvs edit" are sent. The first entry on a line is
# a regular expression which is tested against the directory that the
# change is being made to, relative to the $CVSROOT. If it matches,
# then the remainder of the line is a filter program that should contain
# one occurrence of %s for the user to notify, and information on its
# standard input.
#
# "ALL" or "DEFAULT" can be used in place of the regular expression.
#
# For example:
#ALL mail %s -s "CVS notification"

@ -0,0 +1,13 @@
# The "rcsinfo" file is used to control templates with which the editor
# is invoked on commit and import.
#
# The first entry on a line is a regular expression which is tested
# against the directory that the change is being made to, relative to the
# $CVSROOT. For the first match that is found, then the remainder of the
# line is the name of the file that contains the template.
#
# If the repository name does not match any of the regular expressions in this
# file, the "DEFAULT" line is used, if it is specified.
#
# If the name "ALL" appears as a regular expression it is always used
# in addition to the first matching regex or "DEFAULT".

@ -0,0 +1,20 @@
# The "taginfo" file is used to control pre-tag checks.
# The filter on the right is invoked with the following arguments:
#
# $1 -- tagname
# $2 -- operation "add" for tag, "mov" for tag -F, and "del" for tag -d
# $3 -- repository
# $4-> file revision [file revision ...]
#
# A non-zero exit of the filter program will cause the tag to be aborted.
#
# The first entry on a line is a regular expression which is tested
# against the directory that the change is being committed to, relative
# to the $CVSROOT. For the first match that is found, then the remainder
# of the line is the name of the filter to run.
#
# If the repository name does not match any of the regular expressions in this
# file, the "DEFAULT" line is used, if it is specified.
#
# If the name "ALL" appears as a regular expression it is always used
# in addition to the first matching regex or "DEFAULT".

@ -0,0 +1,21 @@
# The "verifymsg" file is used to allow verification of logging
# information. It works best when a template (as specified in the
# rcsinfo file) is provided for the logging procedure. Given a
# template with locations for, a bug-id number, a list of people who
# reviewed the code before it can be checked in, and an external
# process to catalog the differences that were code reviewed, the
# following test can be applied to the code:
#
# Making sure that the entered bug-id number is correct.
# Validating that the code that was reviewed is indeed the code being
# checked in (using the bug-id number or a seperate review
# number to identify this particular code set.).
#
# If any of the above test failed, then the commit would be aborted.
#
# Actions such as mailing a copy of the report to each reviewer are
# better handled by an entry in the loginfo file.
#
# One thing that should be noted is the the ALL keyword is not
# supported. There can be only one entry that matches a given
# repository.

@ -298,7 +298,7 @@ void CTabReBar::UpdateButtonsSize(bool forceUpdate)
int hp, vp;
GetToolBarCtrl().GetPadding(hp, vp);
if (nMinWidth < theApp.skin.GetUserWidth())
if (nMinWidth < theApp.skin.GetUserWidth() + hp)
nMinWidth = theApp.skin.GetUserWidth() + hp;
CRect rect;
@ -325,12 +325,12 @@ void CTabReBar::UpdateButtonsSize(bool forceUpdate)
buttonWidth = nMinWidth;
if (width>nMinWidth)
buttonWidth = width / (width/nMinWidth);
} else if (buttonWidth < nMinWidth + nMinWidth/2)
buttonWidth = nMinWidth;
} /*else if (buttonWidth < nMinWidth + nMinWidth/2)
buttonWidth = nMinWidth;*/
DWORD bsize = GetToolBarCtrl().GetButtonSize();
int w = LOWORD(bsize), h = HIWORD(bsize);
if (!forceUpdate && w == buttonWidth) return;
if (!forceUpdate && w == buttonWidth && buttonWidth != nMinWidth) return;
GetToolBarCtrl().SetButtonWidth(buttonWidth, buttonWidth);
// Sometimes it doesn't like the width, so use another one
@ -890,7 +890,7 @@ void CTabReBar::OnNMCustomdraw(NMHDR *pNMHDR, LRESULT *pResult)
if (hTheme) {
if (style & WS_DISABLED)
if (pNMCD->nmcd.uItemState & CDIS_DISABLED)
stateId = TS_DISABLED;
else if (pNMCD->nmcd.uItemState & CDIS_SELECTED)
stateId = TS_PRESSED;
@ -914,16 +914,24 @@ void CTabReBar::OnNMCustomdraw(NMHDR *pNMHDR, LRESULT *pResult)
else if (pNMCD->nmcd.uItemState & CDIS_SELECTED)
nState = DFCS_PUSHED;
else if(pNMCD->nmcd.uItemState & CDIS_HOT && pNMCD->nmcd.uItemState & CDIS_CHECKED)
nState = DFCS_PUSHED | 0x1000; //DFCS_HOT;
nState = DFCS_PUSHED | DFCS_HOT;
else if (pNMCD->nmcd.uItemState & CDIS_CHECKED)
nState = DFCS_CHECKED;
else if (pNMCD->nmcd.uItemState & CDIS_HOT)
nState = 0x1000; // DFCS_HOT;
if (nState != DFCS_FLAT) {
nState |= 0x0800 | DFCS_BUTTONPUSH | DFCS_ADJUSTRECT;
nState = DFCS_HOT;
if (nState == DFCS_HOT) {
COLORREF clr = ::GetSysColor(COLOR_BTNHIGHLIGHT);
COLORREF clr2 = ::GetSysColor(COLOR_BTNSHADOW);
pDC->Draw3dRect(&pNMCD->nmcd.rc, clr, clr2);
} else if (nState = DFCS_PUSHED) {
COLORREF clr = ::GetSysColor(COLOR_BTNHIGHLIGHT);
COLORREF clr2 = ::GetSysColor(COLOR_BTNSHADOW);
pDC->Draw3dRect(&pNMCD->nmcd.rc, clr2, clr);
} else if (nState & DFCS_CHECKED) {
nState |= DFCS_TRANSPARENT | DFCS_BUTTONPUSH | DFCS_ADJUSTRECT;
pDC->DrawFrameControl(&pNMCD->nmcd.rc, DFC_BUTTON, nState);
}
}
}
UINT textFlag = DT_LEFT | DT_SINGLELINE | DT_VCENTER | DT_HIDEPREFIX | DT_WORD_ELLIPSIS;

@ -0,0 +1,43 @@
mk_add_options MOZ_CO_PROJECT=suite
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/RELEASE
ac_add_options --enable-application=kmeleon
ac_add_options --with-user-appdir="K-Meleon"
# code generation options
ac_add_options --enable-optimize='-O1 -Zc:wchar_t'
ac_add_options --enable-debugger-info-modules=yes
ac_add_options --enable-strip
ac_add_options --disable-debug
ac_add_options --disable-tests
ac_add_options --disable-logging
ac_add_options --disable-dtd-debug
ac_add_options --disable-native-uconv
#LDFLAGS='-LTCG -OPT:REF -OPT:ICF'
#ac_add_options --disable-optimize
#ac_add_options --enable-debug
#ac_add_options --enable-tests
#ac_add_options --enable-static
#ac_add_options --disable-shared
ac_add_options --enable-crypto
ac_add_options --enable-svg
ac_add_options --disable-ldap
ac_add_options --disable-postscript
ac_add_options --disable-jsd
ac_add_options --enable-composer
ac_add_options --enable-activex
ac_add_options --enable-activex-scripting
ac_add_options --disable-installer
ac_add_options --disable-xprint
ac_add_options --disable-mailnews
ac_add_options --disable-xpinstall
ac_add_options --enable-extensions=xml-rpc,wallet,typeaheadfind
ac_add_options --disable-profilesharing
ac_add_options --disable-updater
ac_add_options --disable-xpfe-components

@ -0,0 +1,137 @@
#
# ***** 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
ifneq (,$(filter mac 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
else
ifdef MINIMO
BASEBROWSER = minimo-unix
else
BASEBROWSER = basebrowser-unix
endif
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
ifndef MINIMO
-$(NSINSTALL) -t $(DEPTH)/embedding/lite/$(LIB_PREFIX)embed_lite$(DLL_SUFFIX) $(DIST)/Embed/components
endif
ifeq ($(OS_ARCH),WINNT)
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

@ -0,0 +1,413 @@
; 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
xpcom_compat.dll
components\xpcom_compat_c.dll
components\xpcom_base.xpt
components\xpcom_components.xpt
components\xpcom_ds.xpt
components\xpcom_io.xpt
components\xpcom_nativeapp.xpt
components\xpcom_thread.xpt
components\xpcom_xpti.xpt
components\mozreg.dll
;components\mozreg.xpt
components\xpcom_obsolete.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
thebes.dll
; 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
components\content_html.xpt
components\content_htmldoc.xpt
components\content_xmldoc.xpt
components\content_xslt.xpt
components\content_xtf.xpt
res\dtd\xhtml11.dtd
;
; Imaging:
;
mozz.dll
components\imglib2.dll
components\imgicon.xpt
components\imglib2.xpt
components\imgicon.dll
mozlcms.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
AccessibleMarshal.dll
; caps (JavaScript security)
components\caps.dll
components\caps.xpt
; cookies
components\cookie.dll
components\cookie.xpt
; embedding glue:
; appshell, docshell, uriloader, chrome, components
components\appshell.dll
components\appshell.xpt
components\docshell.dll
components\docshell_base.xpt
components\uriloader.xpt
components\chrome.dll
components\chrome.xpt
components\webbrwsr.dll
components\webBrowser_core.xpt
components\embedcomponents.dll
components\windowwatcher.xpt
components\embed_base.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\typeaheadfind.dll
components\typeaheadfind.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
components\universalchardet.dll
components\chardet.xpt
components\intlcmpt.dll
components\intlcmpt.xpt
components\lwbrk.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_loadsave.xpt
components\dom_range.xpt
components\dom_sidebar.xpt
components\dom_stylesheets.xpt
components\dom_svg.xpt
components\dom_traversal.xpt
components\dom_views.xpt
components\dom_xbl.xpt
components\dom_xpath.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_data.xpt
components\necko_dns.xpt
components\necko_ftp.xpt
components\necko_http.xpt
components\necko_res.xpt
components\necko_socket.xpt
components\necko_strconv.xpt
; cache
components\necko_cache.xpt
; optional for gopher/viewsource/etc support
components\necko2.dll
; 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
components\pippki.dll
components\pippki.xpt
nssutil3.dll
sqlite3.dll
nss3.dll
smime3.dll
softokn3.chk
softokn3.dll
freebl3.chk
freebl3.dll
ssl3.dll
nssckbi.dll
nssdbm3.dll
; xmlextras, optional for XMLHttpRequest support
components\xmlextras.dll
components\xmlextras.xpt
;
; 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.gif
res\broken-image.gif
res\entityTables\html40Special.properties
res\entityTables\htmlEntityVersions.properties
res\entityTables\html40Latin1.properties
res\entityTables\html40Symbols.properties
res\entityTables\transliterate.properties
res\fonts\fontEncoding.properties
res\fonts\fontNameMap.properties
res\entityTables\transliterate.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\mathfontStandardSymbolsL.properties
res\fonts\mathfontSTIXNonUnicode.properties
res\fonts\mathfontSTIXSize1.properties
res\fonts\mathfontUnicode.properties
res\fonts\mathfontSymbol.properties
; SVG
res\svg.css
; permissions
components\cookie.dll
components\perms.dll
;
; 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
;
; oji/LiveConnect support
;
components\oji.dll
components\oji.xpt
jsj3250.dll
;
; Type info support for nsIController
;
components\xuldoc.xpt
;
; history
;
components\history.xpt
components\tkhstory.dll
components\mork.dll
components\autocomplete.xpt
;
; html parser
;
components\htmlparser.xpt
;
; imagelib
;
components\imgbmp.dll
components\imgxbm.dll
components\imgicon.dll
components\imgicon.xpt
components\imglib2.xpt
;
; l10n libraries
;
components\universalchardet.dll
components\chardet.xpt
;
; necko xpts
;
components\necko_cookie.xpt
components\necko_file.xpt
components\necko_viewsource.xpt
;
; webbrowserpersist
;
components\webbrowserpersist.xpt
;
; xml
;
components\xmlextras.dll
components\xmlextras.xpt
components\xml-rpc.xpt
; xslt
components\transformiix.dll
; txmgr (search in about:config?)
components\txmgr.dll
components\txmgr.xpt
components\autoconfig.dll
components\autoconfig.xpt
components\exthandler.xpt
components\nsProxyAutoConfig.js
components\mimetype.xpt
components\prefetch.xpt
components\webshell_idls.xpt
components\composer.dll
components\composer.xpt

@ -0,0 +1,57 @@
# ***** 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 build system.
#
# The Initial Developer of the Original Code is
# the Mozilla Foundation <http://www.mozilla.org/>.
# Portions created by the Initial Developer are Copyright (C) 2006
# the Initial Developer. All Rights Reserved.
#
# Contributor(s):
# Benjamin Smedberg <benjamin@smedbergs.us> (Initial Code)
#
# 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 *****
ifndef LIBXUL_SDK
include $(topsrcdir)/toolkit/toolkit-tiers.mk
endif
TIERS += app
ifdef MOZ_EXTENSIONS
tier_app_dirs += extensions
endif
ifdef MOZ_BRANDING_DIRECTORY
tier_app_dirs += $(MOZ_BRANDING_DIRECTORY)
endif
tier_app_dirs += \
kmeleon \
$(NULL)
package:
@$(MAKE) -C kmeleon/installer

@ -0,0 +1,3 @@
mk_add_options MOZ_CO_PROJECT=suite
ac_add_options --enable-application=kmeleon

@ -0,0 +1,54 @@
#! /bin/sh
# ***** 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 Mozilla Build System
#
# The Initial Developer of the Original Code is
# Ben Turner <mozilla@songbirdnest.com>
#
# Portions created by the Initial Developer are Copyright (C) 2007
# 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 *****
MOZ_APP_NAME=kmeleon
ENABLE_TESTS=
ACCESSIBILITY=
MOZ_JSDEBUGGER=
MOZ_PROFILESHARING=
MOZ_APP_DISPLAYNAME=K-Meleon
MOZ_APP_VERSION=$MOZILLA_VERSION
MOZ_EXTENSIONS_DEFAULT=
MOZ_PREF_EXTENSIONS=1
MOZ_WEBSERVICES=
MOZ_NO_XPCOM_OBSOLETE=1
MOZ_XPINSTALL=
MOZ_VIEW_SOURCE=1
MOZ_URL_CLASSIFIER=1
MOZ_SPELLCHECK=

@ -0,0 +1,173 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd" [
<!-- K-Meleon Copyright information START
These K-Meleon Copyright informations must stay untouched!
You are not allowed to remove or modify these informations.
--><!ENTITY km "K-Meleon">
<!ENTITY mail "kmeleon-dev@lists.sourceforge.net">
<!ENTITY home "http://kmeleon.sourceforge.net/">
<!ENTITY faq "&home;docs/faq.php">
<!ENTITY kmYear "2008">
<!ENTITY notes "&home;wiki/ReleaseNotes15">
<!ENTITY contrib "Contributors">
<!ENTITY copyright "Copyright &copy;">
<!ENTITY allrights "All Rights Reserved.">
<!-- K-Meleon Copyright information END -->
]>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" class="km_PageBackground"><head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="Content-Script-Type" content="text/javascript" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<title>About &km;</title>
<link rel="stylesheet" href="chrome://global/skin/netError.css" type="text/css" media="all" />
<style type="text/css">
#head > a { text-decoration: none; font-size: 110%; }
h2,
#main p#useragent,
ul.credits { text-align: center; }
ul.credits { margin: 0; list-style-type: none; }
ul.credits > li { margin: 0 0 3em; }
p#useragent,
p#government { font-size: 83.3%; }
p#useragent { margin: 1.2em; }
#main { font-size: 120%; }
#main p { text-align: justify; }
#main hr { margin: 1em 0; }
@media screen {
#dummy1 { height: 9.5em; }
#dummy2 { height: 11em; }
#creditsScrollBox{ height: 11em; min-height: 11em; overflow: hidden; }
}
@media print {
ul.credits { margin: 1em 0; -moz-margin-start: 1.5em; list-style-type: square; text-align: left; }
ul.credits > li { margin: 0 0 0.5em; }
#dummy1,
#dummy2 { display: none; }
#creditsScrollBox{ overflow: visible; }
#main { position: relative; }
}
</style>
<script type="text/javascript"><![CDATA[
function init() {
initCredits();
initUserAgent();
}
// user agent
function initUserAgent() {
try {
document.getElementById("useragent").appendChild(document.createTextNode(navigator.userAgent));
document.getElementById("mozYear").firstChild.appendData("-"+navigator.productSub.substr(0,4));
document.getElementById("kmName").firstChild.appendData(" "+navigator.vendorSub);
} catch (e) {}
}
// credits
var timer = 0, box;
function initCredits() {
box = document.getElementById("creditsScrollBox");
box.scrollTop = 0;
setTimeout("startCredits()", 2000);
}
function startCredits() {
timer = setInterval("scrollCredits()", 25);
}
function scrollCredits() {
var tmp = ++box.scrollTop;
if (box.scrollTop != tmp) {
// we're at the bottom
clearInterval(timer);
initCredits();
}
}
]]></script>
</head><body dir="ltr" class="km_PageBackground km_Text" onload="init()">
<fieldset dir="rtl" class="km_TextBackground km_TextBorder km_PageContainer">
<legend id="head" class="km_TextBackground km_TextBorder">&nbsp;<a href="&home;">Homepage</a>&nbsp;&middot; <a href="&notes;">Release&nbsp;Notes</a>&nbsp;&middot; <a href="&faq;">FAQ</a>&nbsp;</legend>
<div dir="ltr" class="km_Logo">
<div id="creditsBox" class="km_Border km_SpecialBorder km_LogoWidth km_LogoHeight">
<h1 id="kmName">&km;</h1>
<p class="km_Border">Thanks to all &km; &contrib;, especially:</p>
<div id="creditsScrollBox">
<div id="dummy1"></div>
<ul class="credits">
<!-- 1.0, 1.1, 1.5 -->
<li>Dorian Boissonnade</li>
<li>Klaus Kohler</li>
<!-- 0.9 -->
<li>Ulf Erikson</li>
<li>Romain Vallet</li>
<li>Jason J.</li>
<li>Andrew Mutch</li>
<!-- 0.8 -->
<li>Vernon Brooks</li>
<li>Jordan Callicoat</li>
<!-- 0.7 -->
<li>Jeff Doozan</li>
<li>Mark Liffiton</li>
<li>Rob Johnson</li>
<!-- 0.1 - 0.6 -->
<li>Chak Nanga</li><!-- winEmbed -->
<li>Brian Harris</li>
<li>Sebastian Spaeth</li>
<li>Christophe Thibault</li>
</ul>
<div id="dummy2"></div>
</div>
</div>
</div>
<div id="main" dir="ltr">
<!-- Begin Main Content -->
<p id="useragent"></p>
<hr class="km_Color km_Border"/>
<ul><!-- Add your own Copyright notice here -->
<!-- K-Meleon Copyright notice START
This K-Meleon Copyright notice must stay untouched!
You are not allowed to remove or modify this notice.
--><li>&copyright; 2000-&kmYear; by &contrib; to the <a href="&home;">&km;</a> project under the <a href="http://www.gnu.org/licenses/licenses.html#TOCGPL">GNU General Public License</a>. &allrights;</li>
<!-- K-Meleon Copyright notice END -->
<!-- Extensions -->
<li><a href="http://console2.mozdev.org/">Console&sup2;</a> extension developed by Simon B&uuml;nzli and <a href="http://console2.mozdev.org/contributors.html">&contrib;</a>. &allrights;</li>
<li><a href="http://flashblock.mozdev.org/">Flashblock</a> extension developed by Ted Mielczarek and <a href="http://flashblock.mozdev.org/credits.html">&contrib;</a>. &allrights;</li>
<li><a href="http://newsfox.mozdev.org/">NewsFox</a> RSS/Atom news reader developed by Andy Frank and <a href="http://newsfox.mozdev.org/team.html">&contrib;</a>. &allrights;</li>
<!-- Mozilla Copyright notice START
This Mozilla Copyright notice must stay untouched!
You are not allowed to remove or modify this notice.
--><li>Portions of this software are &copyright; <span id="mozYear">1998</span> by <a href="http://www.mozilla.org/credits/">&contrib;</a> to the <a href="http://www.mozilla.org/">Mozilla</a> codebase under the <a href="http://www.mozilla.org/MPL/MPL-1.1.html">Mozilla Public License</a> and <a href="http://www.mozilla.org/MPL/NPL-1.1.html">Netscape Public License</a>. &allrights;</li>
<li>Portions of this software are &copyright; 1994 The Regents of the University of California. &allrights;</li>
<li>Portions of this software are &copyright; 2000-2002 Japan Network Information Center. &allrights;</li>
<li>This software may contain portions that are &copyright; 1998-2002 <a href="http://www.supportsoft.com/">SupportSoft</a>, Inc. &allrights;</li>
</ul>
<p id="government">U.S. GOVERNMENT END USERS. The Software is a "commercial item," as that term is defined
in 48 C.F.R. 2.101 (Oct. 1995), consisting of "commercial computer software" and "commercial computer software
documentation," as such terms are used in 48 C.F.R. 12.212 (Sept. 1995). Consistent with 48 C.F.R. 12.212 and 48
C.F.R. 227.7202-1 through 227.7202-4 (June 1995), all U.S. Government End Users acquire the Software with only
those rights set forth herein.</p>
<!-- Mozilla Copyright notice END -->
<hr class="km_Color km_Border"/>
<h2>Our &contrib;</h2>
<p>We would like to thank our &contrib; whose efforts make &km; possible. These people have helped by
writing code and documentation, and by testing. They have created and maintained the browser, its associated
development kits, our build tools and our web site.</p>
<p>To be added to the list, send mail to <a
href="mailto:&mail;?subject=&km; Credits">&mail;</a> with your name and a sentence summarizing what you
have contributed to &km;.</p>
<!-- End Main Content -->
</div>
</fieldset>
</body></html>

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

@ -0,0 +1,295 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html [
<!ENTITY % htmlDTD
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"DTD/xhtml1-strict.dtd">
%htmlDTD;
<!ENTITY % netErrorDTD
SYSTEM "chrome://global/locale/netError.dtd">
%netErrorDTD;
<!ENTITY % globalDTD
SYSTEM "chrome://global/locale/global.dtd">
%globalDTD;
]>
<html xmlns="http://www.w3.org/1999/xhtml" class="km_PageBackground">
<head>
<title>&loadError.label;</title>
<link rel="stylesheet" href="chrome://global/skin/netError.css" type="text/css" media="all" />
<link rel="icon" type="image/png" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAANbY1E9YMgAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAICSURBVHjaYvz//z8DJQAggJhwiDPvnmlzc2aR0O+JGezt+AwACCCsBhxfYhn59N41FWtXIxZOLu70niRGXVwGAAQQNgNYHj96O8HaWYdJW5ubwd4/mI2Ng7sblwEAAYRhwMm1URk/vn4SUNWVYGD8+YZBXZOZm5OLzRjoCmNsBgAEEKoBN82Y7l851GLrqMjM8Oc7A8O/3wwMP54wuAQFCXNycUzGZgBAAKEYcOaKZO2/f//5FbUVgBrfMoRVcgHpNwyKGjKMXDwCan0prFboBgAEELIBzDcvXyy2cVZhYPj9GWj7H4jo/38MDJ9OMDj7O/KzsjH3oxsAEEBwA/bNNipiZf7FI6cqwcDw8x2qqp8fGORUpVn4BEXlgGHhhCwFEEAwA9gfP3hdZ+Oizcjw+wvCdjgAuuLrFQbXIH9hTm7uqcgyAAEENuD4ctcebm5mbikFYRTbV7V/Q6j88Z5BSuY7q4CQgAjQFR4wYYAAAhtw89L5ZFsnRaDtn4CW/YXrAQcisit+PGVwDgrnZ2NnnwATBQggpsNLvGYLCAmxi8tLARWg+h3FBVBXSEj/ZZWQkRcCuiIQJAQQQCyvnj5KMDTkZ2JgYmRg4FchnHv+vmEwttLmeXT3VjKQtx4ggFgk5TXebV63UfT3ijOMxOZAVlZWdiB1EMQGCCBGSrMzQIABAFR3kRM3KggZAAAAAElFTkSuQmCC" />
<script type="application/x-javascript"><![CDATA[
// Error url MUST be formatted like this:
// moz-neterror:page?e=error&u=url&d=desc
// Note that this file uses document.documentURI to get
// the URL (with the format from above). This is because
// document.location.href gets the current URI off the docshell,
// which is the URL displayed in the location bar, i.e.
// the URI that the user attempted to load.
function getErrorCode()
{
var url = document.documentURI;
var error = url.search(/e\=/);
var duffUrl = url.search(/\&u\=/);
return decodeURIComponent(url.slice(error + 2, duffUrl));
}
function getCSSClass()
{
var url = document.documentURI;
var matches = url.match(/s\=([^&]+)\&/);
// s is optional, if no match just return nothing
if (!matches || matches.length < 2)
return "";
// parenthetical match is the second entry
return decodeURIComponent(matches[1]);
}
function getDescription()
{
var url = document.documentURI;
var desc = url.search(/d\=/);
// desc == -1 if not found; if so, return an empty string
// instead of what would turn out to be portions of the URI
if (desc == -1) return "";
return decodeURIComponent(url.slice(desc + 2));
}
function retryThis(buttonEl)
{
// Session history has the URL of the page that failed
// to load, not the one of the error page. So, just call
// reload(), which will also repost POST data correctly.
try {
location.reload();
} catch (e) {
// We probably tried to reload a URI that caused an exception to
// occur; e.g. a non-existent file.
}
buttonEl.disabled = true;
}
function initPage()
{
var err = getErrorCode();
// if it's an unknown error or there's no title or description
// defined, get the generic message
var errTitle = document.getElementById("et_" + err);
var errDesc = document.getElementById("ed_" + err);
if (!errTitle || !errDesc)
{
errTitle = document.getElementById("et_generic");
errDesc = document.getElementById("ed_generic");
}
var title = document.getElementById("errorTitleText");
if (title)
{
title.parentNode.replaceChild(errTitle, title);
// change id to the replaced child's id so styling works
errTitle.id = "errorTitleText";
}
var sd = document.getElementById("errorShortDescText");
if (sd)
sd.textContent = getDescription();
var ld = document.getElementById("errorLongDesc");
if (ld)
{
ld.parentNode.replaceChild(errDesc, ld);
// change id to the replaced child's id so styling works
errDesc.id = "errorLongDesc";
}
// remove undisplayed errors to avoid bug 39098
var errContainer = document.getElementById("errorContainer");
errContainer.parentNode.removeChild(errContainer);
var className = getCSSClass();
if (className && className != "expertBadCert") {
// Associate a CSS class with the root of the page, if one was passed in,
// to allow custom styling.
// Not "expertBadCert" though, don't want to deal with the favicon
document.documentElement.className = className;
// Also, if they specified a CSS class, they must supply their own
// favicon. In order to trigger the browser to repaint though, we
// need to remove/add the link element.
var favicon = document.getElementById("favicon");
var faviconParent = favicon.parentNode;
faviconParent.removeChild(favicon);
favicon.setAttribute("href", "chrome://global/skin/icons/" + className + "_favicon.png");
faviconParent.appendChild(favicon);
}
if (className == "expertBadCert") {
showSecuritySection();
}
if (err == "nssBadCert") {
// Remove the "Try again" button for security exceptions, since it's
// almost certainly useless.
document.getElementById("errorTryAgain").style.display = "none";
document.getElementById("errorPageContainer").setAttribute("class", "certerror");
addDomainErrorLink();
}
else {
// Remove the override block for non-certificate errors. CSS-hiding
// isn't good enough here, because of bug 39098
var secOverride = document.getElementById("securityOverrideDiv");
secOverride.parentNode.removeChild(secOverride);
}
}
function showSecuritySection() {
// Swap link out, content in
document.getElementById('securityOverrideContent').style.display = '';
document.getElementById('securityOverrideLink').style.display = 'none';
}
/* In the case of SSL error pages about domain mismatch, see if
we can hyperlink the user to the correct site. We don't want
to do this generically since it allows MitM attacks to redirect
users to a site under attacker control, but in certain cases
it is safe (and helpful!) to do so. Bug 402210
*/
function addDomainErrorLink() {
// Rather than textContent, we need to treat description as HTML
var sd = document.getElementById("errorShortDescText");
if (sd) {
var desc = getDescription();
// sanitize description text - see bug 441169
// First, find the index of the <a> tag we care about, being careful not to
// use an over-greedy regex
var re = /<a id="cert_domain_link" title="([^"]+)">/;
var result = re.exec(desc);
if(!result)
return;
// Remove sd's existing children
sd.textContent = "";
// Everything up to the link should be text content
sd.appendChild(document.createTextNode(desc.slice(0, result.index)));
// Now create the link itself
var anchorEl = document.createElement("a");
anchorEl.setAttribute("id", "cert_domain_link");
anchorEl.setAttribute("title", result[1]);
anchorEl.appendChild(document.createTextNode(result[1]));
sd.appendChild(anchorEl);
// Finally, append text for anything after the closing </a>
sd.appendChild(document.createTextNode(desc.slice(desc.indexOf("</a>") + "</a>".length)));
}
var link = document.getElementById('cert_domain_link');
if (!link)
return;
var okHost = link.getAttribute("title");
var thisHost = document.location.hostname;
var proto = document.location.protocol;
// If okHost is a wildcard domain ("*.example.com") let's
// use "www" instead. "*.example.com" isn't going to
// get anyone anywhere useful. bug 432491
okHost = okHost.replace(/^\*\./, "www.");
/* case #1:
* example.com uses an invalid security certificate.
*
* The certificate is only valid for www.example.com
*
* Make sure to include the "." ahead of thisHost so that
* a MitM attack on paypal.com doesn't hyperlink to "notpaypal.com"
*
* We'd normally just use a RegExp here except that we lack a
* library function to escape them properly (bug 248062), and
* domain names are famous for having '.' characters in them,
* which would allow spurious and possibly hostile matches.
*/
if (endsWith(okHost, "." + thisHost))
link.href = proto + okHost;
/* case #2:
* browser.garage.maemo.org uses an invalid security certificate.
*
* The certificate is only valid for garage.maemo.org
*/
if (endsWith(thisHost, "." + okHost))
link.href = proto + okHost;
}
function endsWith(haystack, needle) {
return haystack.slice(-needle.length) == needle;
}
]]></script>
</head>
<body dir="&locale.dir;" class="km_PageBackground km_Text">
<div id="errorContainer">
<div id="errorTitlesContainer">
<h1 id="et_generic">&generic.title;</h1>
<h1 id="et_dnsNotFound">&dnsNotFound.title;</h1>
<h1 id="et_fileNotFound">&fileNotFound.title;</h1>
<h1 id="et_malformedURI">&malformedURI.title;</h1>
<h1 id="et_protocolNotFound">&protocolNotFound.title;</h1>
<h1 id="et_connectionFailure">&connectionFailure.title;</h1>
<h1 id="et_netTimeout">&netTimeout.title;</h1>
<h1 id="et_redirectLoop">&redirectLoop.title;</h1>
<h1 id="et_unknownSocketType">&unknownSocketType.title;</h1>
<h1 id="et_netReset">&netReset.title;</h1>
<h1 id="et_netOffline">&netOffline.title;</h1>
<h1 id="et_netInterrupt">&netInterrupt.title;</h1>
<h1 id="et_deniedPortAccess">&deniedPortAccess.title;</h1>
<h1 id="et_proxyResolveFailure">&proxyResolveFailure.title;</h1>
<h1 id="et_proxyConnectFailure">&proxyConnectFailure.title;</h1>
<h1 id="et_contentEncodingError">&contentEncodingError.title;</h1>
<h1 id="et_unsafeContentType">&unsafeContentType.title;</h1>
<h1 id="et_nssFailure2">&nssFailure2.title;</h1>
<h1 id="et_nssBadCert">&nssBadCert.title;</h1>
<h1 id="et_malwareBlocked">&malwareBlocked.title;</h1>
</div>
<div id="errorDescriptionsContainer">
<div id="ed_generic">&generic.longDesc;</div>
<div id="ed_dnsNotFound">&dnsNotFound.longDesc;</div>
<div id="ed_fileNotFound">&fileNotFound.longDesc;</div>
<div id="ed_malformedURI">&malformedURI.longDesc;</div>
<div id="ed_protocolNotFound">&protocolNotFound.longDesc;</div>
<div id="ed_connectionFailure">&connectionFailure.longDesc;</div>
<div id="ed_netTimeout">&netTimeout.longDesc;</div>
<div id="ed_redirectLoop">&redirectLoop.longDesc;</div>
<div id="ed_unknownSocketType">&unknownSocketType.longDesc;</div>
<div id="ed_netReset">&netReset.longDesc;</div>
<div id="ed_netOffline">&netOffline.longDesc;</div>
<div id="ed_netInterrupt">&netInterrupt.longDesc;</div>
<div id="ed_deniedPortAccess">&deniedPortAccess.longDesc;</div>
<div id="ed_proxyResolveFailure">&proxyResolveFailure.longDesc;</div>
<div id="ed_proxyConnectFailure">&proxyConnectFailure.longDesc;</div>