mirror of https://github.com/roytam1/boc-uxp.git
parent
f4ff032b8d
commit
c67173bce3
1479 changed files with 179354 additions and 0 deletions
@ -0,0 +1,373 @@ |
||||
Mozilla Public License Version 2.0 |
||||
================================== |
||||
|
||||
1. Definitions |
||||
-------------- |
||||
|
||||
1.1. "Contributor" |
||||
means each individual or legal entity that creates, contributes to |
||||
the creation of, or owns Covered Software. |
||||
|
||||
1.2. "Contributor Version" |
||||
means the combination of the Contributions of others (if any) used |
||||
by a Contributor and that particular Contributor's Contribution. |
||||
|
||||
1.3. "Contribution" |
||||
means Covered Software of a particular Contributor. |
||||
|
||||
1.4. "Covered Software" |
||||
means Source Code Form to which the initial Contributor has attached |
||||
the notice in Exhibit A, the Executable Form of such Source Code |
||||
Form, and Modifications of such Source Code Form, in each case |
||||
including portions thereof. |
||||
|
||||
1.5. "Incompatible With Secondary Licenses" |
||||
means |
||||
|
||||
(a) that the initial Contributor has attached the notice described |
||||
in Exhibit B to the Covered Software; or |
||||
|
||||
(b) that the Covered Software was made available under the terms of |
||||
version 1.1 or earlier of the License, but not also under the |
||||
terms of a Secondary License. |
||||
|
||||
1.6. "Executable Form" |
||||
means any form of the work other than Source Code Form. |
||||
|
||||
1.7. "Larger Work" |
||||
means a work that combines Covered Software with other material, in |
||||
a separate file or files, that is not Covered Software. |
||||
|
||||
1.8. "License" |
||||
means this document. |
||||
|
||||
1.9. "Licensable" |
||||
means having the right to grant, to the maximum extent possible, |
||||
whether at the time of the initial grant or subsequently, any and |
||||
all of the rights conveyed by this License. |
||||
|
||||
1.10. "Modifications" |
||||
means any of the following: |
||||
|
||||
(a) any file in Source Code Form that results from an addition to, |
||||
deletion from, or modification of the contents of Covered |
||||
Software; or |
||||
|
||||
(b) any new file in Source Code Form that contains any Covered |
||||
Software. |
||||
|
||||
1.11. "Patent Claims" of a Contributor |
||||
means any patent claim(s), including without limitation, method, |
||||
process, and apparatus claims, in any patent Licensable by such |
||||
Contributor that would be infringed, but for the grant of the |
||||
License, by the making, using, selling, offering for sale, having |
||||
made, import, or transfer of either its Contributions or its |
||||
Contributor Version. |
||||
|
||||
1.12. "Secondary License" |
||||
means either the GNU General Public License, Version 2.0, the GNU |
||||
Lesser General Public License, Version 2.1, the GNU Affero General |
||||
Public License, Version 3.0, or any later versions of those |
||||
licenses. |
||||
|
||||
1.13. "Source Code Form" |
||||
means the form of the work preferred for making modifications. |
||||
|
||||
1.14. "You" (or "Your") |
||||
means an individual or a legal entity exercising rights under this |
||||
License. For legal entities, "You" includes any entity that |
||||
controls, is controlled by, or is under common control with You. For |
||||
purposes of this definition, "control" means (a) the power, direct |
||||
or indirect, to cause the direction or management of such entity, |
||||
whether by contract or otherwise, or (b) ownership of more than |
||||
fifty percent (50%) of the outstanding shares or beneficial |
||||
ownership of such entity. |
||||
|
||||
2. License Grants and Conditions |
||||
-------------------------------- |
||||
|
||||
2.1. Grants |
||||
|
||||
Each Contributor hereby grants You a world-wide, royalty-free, |
||||
non-exclusive license: |
||||
|
||||
(a) under intellectual property rights (other than patent or trademark) |
||||
Licensable by such Contributor to use, reproduce, make available, |
||||
modify, display, perform, distribute, and otherwise exploit its |
||||
Contributions, either on an unmodified basis, with Modifications, or |
||||
as part of a Larger Work; and |
||||
|
||||
(b) under Patent Claims of such Contributor to make, use, sell, offer |
||||
for sale, have made, import, and otherwise transfer either its |
||||
Contributions or its Contributor Version. |
||||
|
||||
2.2. Effective Date |
||||
|
||||
The licenses granted in Section 2.1 with respect to any Contribution |
||||
become effective for each Contribution on the date the Contributor first |
||||
distributes such Contribution. |
||||
|
||||
2.3. Limitations on Grant Scope |
||||
|
||||
The licenses granted in this Section 2 are the only rights granted under |
||||
this License. No additional rights or licenses will be implied from the |
||||
distribution or licensing of Covered Software under this License. |
||||
Notwithstanding Section 2.1(b) above, no patent license is granted by a |
||||
Contributor: |
||||
|
||||
(a) for any code that a Contributor has removed from Covered Software; |
||||
or |
||||
|
||||
(b) for infringements caused by: (i) Your and any other third party's |
||||
modifications of Covered Software, or (ii) the combination of its |
||||
Contributions with other software (except as part of its Contributor |
||||
Version); or |
||||
|
||||
(c) under Patent Claims infringed by Covered Software in the absence of |
||||
its Contributions. |
||||
|
||||
This License does not grant any rights in the trademarks, service marks, |
||||
or logos of any Contributor (except as may be necessary to comply with |
||||
the notice requirements in Section 3.4). |
||||
|
||||
2.4. Subsequent Licenses |
||||
|
||||
No Contributor makes additional grants as a result of Your choice to |
||||
distribute the Covered Software under a subsequent version of this |
||||
License (see Section 10.2) or under the terms of a Secondary License (if |
||||
permitted under the terms of Section 3.3). |
||||
|
||||
2.5. Representation |
||||
|
||||
Each Contributor represents that the Contributor believes its |
||||
Contributions are its original creation(s) or it has sufficient rights |
||||
to grant the rights to its Contributions conveyed by this License. |
||||
|
||||
2.6. Fair Use |
||||
|
||||
This License is not intended to limit any rights You have under |
||||
applicable copyright doctrines of fair use, fair dealing, or other |
||||
equivalents. |
||||
|
||||
2.7. Conditions |
||||
|
||||
Sections 3.1, 3.2, 3.3, and 3.4 are conditions of the licenses granted |
||||
in Section 2.1. |
||||
|
||||
3. Responsibilities |
||||
------------------- |
||||
|
||||
3.1. Distribution of Source Form |
||||
|
||||
All distribution of Covered Software in Source Code Form, including any |
||||
Modifications that You create or to which You contribute, must be under |
||||
the terms of this License. You must inform recipients that the Source |
||||
Code Form of the Covered Software is governed by the terms of this |
||||
License, and how they can obtain a copy of this License. You may not |
||||
attempt to alter or restrict the recipients' rights in the Source Code |
||||
Form. |
||||
|
||||
3.2. Distribution of Executable Form |
||||
|
||||
If You distribute Covered Software in Executable Form then: |
||||
|
||||
(a) such Covered Software must also be made available in Source Code |
||||
Form, as described in Section 3.1, and You must inform recipients of |
||||
the Executable Form how they can obtain a copy of such Source Code |
||||
Form by reasonable means in a timely manner, at a charge no more |
||||
than the cost of distribution to the recipient; and |
||||
|
||||
(b) You may distribute such Executable Form under the terms of this |
||||
License, or sublicense it under different terms, provided that the |
||||
license for the Executable Form does not attempt to limit or alter |
||||
the recipients' rights in the Source Code Form under this License. |
||||
|
||||
3.3. Distribution of a Larger Work |
||||
|
||||
You may create and distribute a Larger Work under terms of Your choice, |
||||
provided that You also comply with the requirements of this License for |
||||
the Covered Software. If the Larger Work is a combination of Covered |
||||
Software with a work governed by one or more Secondary Licenses, and the |
||||
Covered Software is not Incompatible With Secondary Licenses, this |
||||
License permits You to additionally distribute such Covered Software |
||||
under the terms of such Secondary License(s), so that the recipient of |
||||
the Larger Work may, at their option, further distribute the Covered |
||||
Software under the terms of either this License or such Secondary |
||||
License(s). |
||||
|
||||
3.4. Notices |
||||
|
||||
You may not remove or alter the substance of any license notices |
||||
(including copyright notices, patent notices, disclaimers of warranty, |
||||
or limitations of liability) contained within the Source Code Form of |
||||
the Covered Software, except that You may alter any license notices to |
||||
the extent required to remedy known factual inaccuracies. |
||||
|
||||
3.5. Application of Additional Terms |
||||
|
||||
You may choose to offer, and to charge a fee for, warranty, support, |
||||
indemnity or liability obligations to one or more recipients of Covered |
||||
Software. However, You may do so only on Your own behalf, and not on |
||||
behalf of any Contributor. You must make it absolutely clear that any |
||||
such warranty, support, indemnity, or liability obligation is offered by |
||||
You alone, and You hereby agree to indemnify every Contributor for any |
||||
liability incurred by such Contributor as a result of warranty, support, |
||||
indemnity or liability terms You offer. You may include additional |
||||
disclaimers of warranty and limitations of liability specific to any |
||||
jurisdiction. |
||||
|
||||
4. Inability to Comply Due to Statute or Regulation |
||||
--------------------------------------------------- |
||||
|
||||
If it is impossible for You to comply with any of the terms of this |
||||
License with respect to some or all of the Covered Software due to |
||||
statute, judicial order, or regulation then You must: (a) comply with |
||||
the terms of this License to the maximum extent possible; and (b) |
||||
describe the limitations and the code they affect. Such description must |
||||
be placed in a text file included with all distributions of the Covered |
||||
Software under this License. Except to the extent prohibited by statute |
||||
or regulation, such description must be sufficiently detailed for a |
||||
recipient of ordinary skill to be able to understand it. |
||||
|
||||
5. Termination |
||||
-------------- |
||||
|
||||
5.1. The rights granted under this License will terminate automatically |
||||
if You fail to comply with any of its terms. However, if You become |
||||
compliant, then the rights granted under this License from a particular |
||||
Contributor are reinstated (a) provisionally, unless and until such |
||||
Contributor explicitly and finally terminates Your grants, and (b) on an |
||||
ongoing basis, if such Contributor fails to notify You of the |
||||
non-compliance by some reasonable means prior to 60 days after You have |
||||
come back into compliance. Moreover, Your grants from a particular |
||||
Contributor are reinstated on an ongoing basis if such Contributor |
||||
notifies You of the non-compliance by some reasonable means, this is the |
||||
first time You have received notice of non-compliance with this License |
||||
from such Contributor, and You become compliant prior to 30 days after |
||||
Your receipt of the notice. |
||||
|
||||
5.2. If You initiate litigation against any entity by asserting a patent |
||||
infringement claim (excluding declaratory judgment actions, |
||||
counter-claims, and cross-claims) alleging that a Contributor Version |
||||
directly or indirectly infringes any patent, then the rights granted to |
||||
You by any and all Contributors for the Covered Software under Section |
||||
2.1 of this License shall terminate. |
||||
|
||||
5.3. In the event of termination under Sections 5.1 or 5.2 above, all |
||||
end user license agreements (excluding distributors and resellers) which |
||||
have been validly granted by You or Your distributors under this License |
||||
prior to termination shall survive termination. |
||||
|
||||
************************************************************************ |
||||
* * |
||||
* 6. Disclaimer of Warranty * |
||||
* ------------------------- * |
||||
* * |
||||
* Covered Software is provided under this License on an "as is" * |
||||
* basis, without warranty of any kind, either expressed, implied, or * |
||||
* statutory, including, without limitation, warranties that the * |
||||
* Covered Software is free of defects, merchantable, fit for a * |
||||
* particular purpose or non-infringing. The entire risk as to the * |
||||
* quality and performance of the Covered Software is with You. * |
||||
* Should any Covered Software prove defective in any respect, You * |
||||
* (not any Contributor) assume the cost of any necessary servicing, * |
||||
* repair, or correction. This disclaimer of warranty constitutes an * |
||||
* essential part of this License. No use of any Covered Software is * |
||||
* authorized under this License except under this disclaimer. * |
||||
* * |
||||
************************************************************************ |
||||
|
||||
************************************************************************ |
||||
* * |
||||
* 7. Limitation of Liability * |
||||
* -------------------------- * |
||||
* * |
||||
* Under no circumstances and under no legal theory, whether tort * |
||||
* (including negligence), contract, or otherwise, shall any * |
||||
* Contributor, or anyone who distributes Covered Software as * |
||||
* permitted above, be liable to You for any direct, indirect, * |
||||
* special, incidental, or consequential damages of any character * |
||||
* including, without limitation, damages for lost profits, loss of * |
||||
* goodwill, work stoppage, computer failure or malfunction, or any * |
||||
* and all other commercial damages or losses, even if such party * |
||||
* shall have been informed of the possibility of such damages. This * |
||||
* limitation of liability shall not apply to liability for death or * |
||||
* personal injury resulting from such party's negligence to the * |
||||
* extent applicable law prohibits such limitation. Some * |
||||
* jurisdictions do not allow the exclusion or limitation of * |
||||
* incidental or consequential damages, so this exclusion and * |
||||
* limitation may not apply to You. * |
||||
* * |
||||
************************************************************************ |
||||
|
||||
8. Litigation |
||||
------------- |
||||
|
||||
Any litigation relating to this License may be brought only in the |
||||
courts of a jurisdiction where the defendant maintains its principal |
||||
place of business and such litigation shall be governed by laws of that |
||||
jurisdiction, without reference to its conflict-of-law provisions. |
||||
Nothing in this Section shall prevent a party's ability to bring |
||||
cross-claims or counter-claims. |
||||
|
||||
9. Miscellaneous |
||||
---------------- |
||||
|
||||
This License represents the complete agreement concerning the subject |
||||
matter hereof. If any provision of this License is held to be |
||||
unenforceable, such provision shall be reformed only to the extent |
||||
necessary to make it enforceable. Any law or regulation which provides |
||||
that the language of a contract shall be construed against the drafter |
||||
shall not be used to construe this License against a Contributor. |
||||
|
||||
10. Versions of the License |
||||
--------------------------- |
||||
|
||||
10.1. New Versions |
||||
|
||||
Mozilla Foundation is the license steward. Except as provided in Section |
||||
10.3, no one other than the license steward has the right to modify or |
||||
publish new versions of this License. Each version will be given a |
||||
distinguishing version number. |
||||
|
||||
10.2. Effect of New Versions |
||||
|
||||
You may distribute the Covered Software under the terms of the version |
||||
of the License under which You originally received the Covered Software, |
||||
or under the terms of any subsequent version published by the license |
||||
steward. |
||||
|
||||
10.3. Modified Versions |
||||
|
||||
If you create software not governed by this License, and you want to |
||||
create a new license for such software, you may create and use a |
||||
modified version of this License if you rename the license and remove |
||||
any references to the name of the license steward (except to note that |
||||
such modified license differs from this License). |
||||
|
||||
10.4. Distributing Source Code Form that is Incompatible With Secondary |
||||
Licenses |
||||
|
||||
If You choose to distribute Source Code Form that is Incompatible With |
||||
Secondary Licenses under the terms of this version of the License, the |
||||
notice described in Exhibit B of this License must be attached. |
||||
|
||||
Exhibit A - Source Code Form License Notice |
||||
------------------------------------------- |
||||
|
||||
This Source Code Form is subject to the terms of the Mozilla Public |
||||
License, v. 2.0. If a copy of the MPL was not distributed with this |
||||
file, You can obtain one at http://mozilla.org/MPL/2.0/. |
||||
|
||||
If it is not possible or desirable to put the notice in a particular |
||||
file, then You may include the notice in a location (such as a LICENSE |
||||
file in a relevant directory) where a recipient would be likely to look |
||||
for such a notice. |
||||
|
||||
You may add additional accurate notices of copyright ownership. |
||||
|
||||
Exhibit B - "Incompatible With Secondary Licenses" Notice |
||||
--------------------------------------------------------- |
||||
|
||||
This Source Code Form is "Incompatible With Secondary Licenses", as |
||||
defined by the Mozilla Public License, v. 2.0. |
@ -0,0 +1,25 @@ |
||||
#
|
||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
include $(topsrcdir)/config/rules.mk |
||||
|
||||
ifdef MAKENSISU |
||||
# For Windows build the uninstaller during the application build since the
|
||||
# uninstaller is included with the application for mar file generation.
|
||||
libs:: |
||||
$(MAKE) -C installer/windows uninstaller
|
||||
endif |
||||
|
||||
|
||||
# As a fallout from bug 1247162, the sourcestamp in application.ini and
|
||||
# platform.ini are the same, which isn't a problem for Firefox, but
|
||||
# it's not right for anything else. So we correct platform.ini here.
|
||||
|
||||
MOZ_REV=$(shell hg -R "$(MOZILLA_SRCDIR)" parent --template="{node}" 2>/dev/null)
|
||||
|
||||
libs:: $(DIST)/bin/platform.ini |
||||
sed -e "s/^\(SourceStamp=\).*/\1$(MOZ_REV)/" $(DIST)/bin/platform.ini \
|
||||
> $(DIST)/bin/platform.ini~
|
||||
mv -f $(DIST)/bin/platform.ini~ $(DIST)/bin/platform.ini
|
@ -0,0 +1,49 @@ |
||||
Borealis - The Binary Outcast Navigator |
||||
=============================================================================== |
||||
|
||||
Borealis is a web browsing application forked from Mozilla community code that |
||||
is built using the Unified XUL Platform (UXP). |
||||
|
||||
* https://github.com/MoonchildProductions/uxp |
||||
|
||||
Its user interface is similar to the SeaMonkey's Navigator/Browser component |
||||
which was dirived from the Mozilla Application Suite developed largely by |
||||
Netscape for Netscape Communicator 6/7. |
||||
|
||||
This does NOT include the MailNews, Composer, or any other suite bundled |
||||
components. |
||||
|
||||
Goals |
||||
=============================================================================== |
||||
|
||||
* Personal side-project to explore the inner workings of a more classical |
||||
mozilla-based application. |
||||
|
||||
* Provide a very traditional but powerful web browser |
||||
|
||||
What features will be included in the Navigator |
||||
=============================================================================== |
||||
|
||||
* The Navigator/Browser including Tabbed Browsing |
||||
* Comprehensive control of Preferences |
||||
* Customizable Toolbars |
||||
* XUL Overlay and Bootstrap (Restartless) Extension Support |
||||
* Complete Themeing Support |
||||
* Open Search Engine Providers |
||||
* Windows and Linux support |
||||
* TBD |
||||
|
||||
What will *NOT* be included in the Navigator |
||||
=============================================================================== |
||||
|
||||
* Digital Rights Management (DRM) such as Encrypted Media Extensions (EME) |
||||
- Netflix and any other sites that utilize such technology will not function |
||||
* WebRTC (Web Real Time Communications) |
||||
- Skype, Discord, Hangouts, and the like will not function properly |
||||
* WebExtensions aka Google Chrome Content and Service Extensions |
||||
* Jetpack (Add-ons SDK) Extensions |
||||
* Web Developer tools beyond an Error Console and perhaps DOM Inspector |
||||
* Personas/Lightweight Themes/Toolbar Backgrounds |
||||
* Language Packs |
||||
* Support for the Macintosh, any flavor of BSD, ReactOS |
||||
* TBD |
@ -0,0 +1,19 @@ |
||||
# vim: set filetype=python: |
||||
# This Source Code Form is subject to the terms of the Mozilla Public |
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this |
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/. |
||||
|
||||
if CONFIG['OS_TARGET'] in ('WINNT', 'Linux'): |
||||
include('/toolkit/toolkit.mozbuild') |
||||
|
||||
if CONFIG['MOZ_EXTENSIONS']: |
||||
DIRS += ['/extensions'] |
||||
|
||||
DIRS += ['/%s' % CONFIG['MOZ_BRANDING_DIRECTORY']] |
||||
|
||||
DIRS += [ |
||||
'/xpfe/components/autocomplete', |
||||
'/application/navigator', |
||||
] |
||||
else: |
||||
error('This application does not support your platform.') |
@ -0,0 +1,148 @@ |
||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
AB_CD = $(MOZ_UI_LOCALE)
|
||||
|
||||
DEFINES += \
|
||||
-DSEAMONKEY_ICO=\"$(DIST)/branding/seamonkey.ico\" \
|
||||
-DHTML_FILE_ICO=\"$(DIST)/branding/html-file.ico\" \
|
||||
$(NULL)
|
||||
|
||||
# Build a binary bootstrapping with XRE_main
|
||||
|
||||
ifndef MOZ_WINCONSOLE |
||||
ifdef MOZ_DEBUG |
||||
MOZ_WINCONSOLE = 1
|
||||
else |
||||
MOZ_WINCONSOLE = 0
|
||||
endif |
||||
endif |
||||
|
||||
# This switches $(INSTALL) to copy mode, like $(SYSINSTALL), so things that
|
||||
# shouldn't get 755 perms need $(IFLAGS1) for either way of calling nsinstall.
|
||||
NSDISTMODE = copy
|
||||
|
||||
include $(topsrcdir)/config/config.mk |
||||
|
||||
ifeq ($(OS_ARCH),WINNT) |
||||
# Rebuild seamonkey.exe if the manifest changes - it's included by splash.rc.
|
||||
# (this dependency should really be just for seamonkey.exe, not other targets)
|
||||
# Note the manifest file exists in the tree, so we use the explicit filename
|
||||
# here.
|
||||
EXTRA_DEPS += borealis.exe.manifest
|
||||
endif |
||||
|
||||
include $(topsrcdir)/config/rules.mk |
||||
|
||||
libs:: |
||||
ifeq ($(OS_ARCH),WINNT) |
||||
$(EXIT_ON_ERROR) \
|
||||
$(PERL) -pe 's/(?<!\r)\n/\r\n/g;' < $(topsrcdir)/application/navigator/installer/license.txt > $(DIST)/bin/license.txt
|
||||
else |
||||
$(INSTALL) $(IFLAGS1) $(topsrcdir)/application/navigator/installer/license.txt $(DIST)/bin/
|
||||
endif |
||||
|
||||
ifneq ($(OS_ARCH),WINNT) |
||||
|
||||
libs:: |
||||
cp -p $(MOZ_APP_NAME)$(BIN_SUFFIX) $(DIST)/bin/$(MOZ_APP_NAME)-bin$(BIN_SUFFIX)
|
||||
|
||||
endif |
||||
|
||||
libs:: blocklist.xml |
||||
$(INSTALL) $(IFLAGS1) $^ $(DIST)/bin
|
||||
|
||||
ifdef MOZ_UPDATER |
||||
libs:: |
||||
$(call py_action,preprocessor,-Fsubstitution -DMOZ_APP_DISPLAYNAME=$(MOZ_APP_DISPLAYNAME) \
|
||||
$(srcdir)/updater.ini -o $(DIST)/bin/updater.ini)
|
||||
endif |
||||
|
||||
ifneq (,$(filter-out WINNT Darwin,$(OS_ARCH))) |
||||
$(MOZ_APP_NAME).1: seamonkey.man.in $(GLOBAL_DEPS) $(DEPTH)/config/autoconf.mk |
||||
@sed -e "s|\@bindir\@|$(bindir)|g" -e "s|\@mozappdir\@|$(mozappdir)|g" \
|
||||
-e "s|\@MOZ_APP_DISPLAYNAME\@|$(MOZ_APP_DISPLAYNAME)|g" \
|
||||
-e "s|\@MOZ_APP_NAME\@|$(MOZ_APP_NAME)|g" \
|
||||
-e "s|\@MOZ_APP_VERSION\@|${MOZ_APP_VERSION}|g" < $< > $@
|
||||
|
||||
libs:: $(MOZ_APP_NAME).1 |
||||
$(INSTALL) $< $(DIST)/man/man1
|
||||
|
||||
GARBAGE += $(MOZ_APP_NAME).1
|
||||
GARBAGE += $(addprefix $(DIST)/bin/defaults/pref/, browser-prefs.js)
|
||||
endif |
||||
|
||||
ifeq ($(MOZ_PACKAGER_FORMAT),omni) |
||||
# Make extensions end up as XPIs instead of flat chrome when doing omni.jar.
|
||||
# Extensions that appear in dist/bin/extensions will get bundled with the
|
||||
# application, ones that appear in dist/bin/distribution/extensions will be
|
||||
# copied to the profile in installed builds.
|
||||
# NOTE: This is a hack to run this at the end of compilation, would be nicer
|
||||
# if this was done right away for built-in extensions in omnijar mode.
|
||||
|
||||
ABS_STAGE = $(abspath $(STAGEDIST))
|
||||
|
||||
define _PACKAGE_EXTENSIONS |
||||
@echo "Packaging $(dir).xpi..." |
||||
if test -d "$(ABS_STAGE)/$(dir)"; then \ |
||||
cd $(ABS_STAGE)/$(dir)/; \ |
||||
$(ZIP) -Dr9mX ../$(dir).xpi * -x \*/.mkdir.done; \ |
||||
cd ..; rm -rf $(ABS_STAGE)/$(dir); \ |
||||
fi |
||||
|
||||
endef # do not remove the blank line!
|
||||
|
||||
# GUIDs
|
||||
# {972ce4c6-7e08-4474-a285-3208198ce6fd} Default theme
|
||||
DONOTPACK = {972ce4c6-7e08-4474-a285-3208198ce6fd}
|
||||
|
||||
pack-ext: $(STAGEDIST) |
||||
@echo "Packaging extensions..."
|
||||
$(foreach dir,$(filter-out $(DONOTPACK),$(subst $(STAGEDIST)/,,$(wildcard $(STAGEDIST)/*))),$(_PACKAGE_EXTENSIONS))
|
||||
|
||||
tools:: |
||||
@$(MAKE) pack-ext STAGEDIST="$(DIST)/bin/extensions"
|
||||
|
||||
endif |
||||
|
||||
ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT)) |
||||
# Anything below the above ifdef won't be included in mac builds. So be very
|
||||
# careful what you add here.
|
||||
|
||||
MAC_APP_NAME = $(MOZ_APP_DISPLAYNAME)
|
||||
|
||||
ifdef MOZ_DEBUG |
||||
MAC_APP_NAME := $(MAC_APP_NAME)Debug
|
||||
endif |
||||
|
||||
LOWER_MAC_APP_NAME = $(shell echo $(MAC_APP_NAME) | tr '[A-Z]' '[a-z]')
|
||||
|
||||
ifeq (zh-TW,$(AB_CD)) |
||||
LPROJ_ROOT := $(subst -,_,$(AB_CD))
|
||||
else |
||||
LPROJ_ROOT := $(firstword $(subst -, ,$(AB_CD)))
|
||||
endif |
||||
LPROJ := Contents/Resources/$(LPROJ_ROOT).lproj
|
||||
|
||||
clean clobber repackage:: |
||||
$(RM) -r $(DIST)/$(MOZ_MACBUNDLE_NAME)
|
||||
|
||||
tools:: $(PROGRAM) |
||||
mkdir -p $(DIST)/$(MOZ_MACBUNDLE_NAME)/Contents/MacOS
|
||||
rsync -a --exclude CVS --exclude "*.in" $(srcdir)/macbuild/Contents $(DIST)/$(MOZ_MACBUNDLE_NAME) --exclude English.lproj
|
||||
mkdir -p $(DIST)/$(MOZ_MACBUNDLE_NAME)/$(LPROJ)
|
||||
rsync -a --exclude CVS --exclude "*.in" $(srcdir)/macbuild/Contents/Resources/English.lproj/ $(DIST)/$(MOZ_MACBUNDLE_NAME)/$(LPROJ)
|
||||
sed -e "s/\@MOZ_APP_NAME\@/$(MOZ_APP_NAME)/" -e "s/\@MAC_APP_NAME\@/$(MAC_APP_NAME)/" -e "s/\@MOZ_APP_DISPLAYNAME\@/$(MOZ_APP_DISPLAYNAME)/" -e "s/\@MOZ_APP_VERSION\@/$(MOZ_APP_VERSION)/" $(srcdir)/macbuild/Contents/Info.plist.in > $(DIST)/$(MOZ_MACBUNDLE_NAME)/Contents/Info.plist
|
||||
sed -e "s/\@MOZ_APP_NAME\@/$(MOZ_APP_NAME)/" -e "s/\@MAC_APP_NAME\@/$(MAC_APP_NAME)/" -e "s/\@MOZ_APP_DISPLAYNAME\@/$(MOZ_APP_DISPLAYNAME)/" -e "s/\@MOZ_APP_VERSION\@/$(MOZ_APP_VERSION)/" $(srcdir)/macbuild/Contents/Resources/English.lproj/InfoPlist.strings.in | iconv -f UTF-8 -t UTF-16 > $(DIST)/$(MOZ_MACBUNDLE_NAME)/$(LPROJ)/InfoPlist.strings
|
||||
rsync -a --exclude-from='$(srcdir)/macbuild/Contents/MacOS-files.in' $(DIST)/bin/ $(DIST)/$(MOZ_MACBUNDLE_NAME)/Contents/Resources
|
||||
rsync -a --include-from='$(srcdir)/macbuild/Contents/MacOS-files.in' --exclude '*' $(DIST)/bin/ $(DIST)/$(MOZ_MACBUNDLE_NAME)/Contents/MacOS
|
||||
rm -f $(DIST)/$(MOZ_MACBUNDLE_NAME)/Contents/$(APPFILES)/mangle $(DIST)/$(MOZ_MACBUNDLE_NAME)/Contents/$(APPFILES)/shlibsign
|
||||
rm -f $(DIST)/$(MOZ_MACBUNDLE_NAME)/Contents/MacOS/$(PROGRAM)
|
||||
rsync -aL $(PROGRAM) $(DIST)/$(MOZ_MACBUNDLE_NAME)/Contents/MacOS
|
||||
-cp -L $(DIST)/bin/mangle $(DIST)/bin/shlibsign $(DIST)/$(MOZ_MACBUNDLE_NAME)/Contents/$(APPFILES)
|
||||
cp -RL $(DIST)/branding/icons/*.icns $(DIST)/$(MOZ_MACBUNDLE_NAME)/Contents/Resources/
|
||||
printf APPLMOZZ > $(DIST)/$(MOZ_MACBUNDLE_NAME)/Contents/PkgInfo
|
||||
# remove CVS dirs from packaged app
|
||||
find $(DIST)/$(MOZ_MACBUNDLE_NAME) -type d -name "CVS" -prune -exec rm -rf {} \;
|
||||
endif |
@ -0,0 +1,49 @@ |
||||
#if MOZ_APP_STATIC_INI |
||||
#ifdef MOZ_BUILD_APP_IS_BROWSER |
||||
; This file is not used. If you modify it and want the application to use |
||||
; your modifications, move it under the browser/ subdirectory and start with |
||||
; the "-app /path/to/browser/application.ini" argument. |
||||
#else |
||||
; This file is not used. If you modify it and want the application to use |
||||
; your modifications, start with the "-app /path/to/application.ini" |
||||
; argument. |
||||
#endif |
||||
#endif |
||||
#if 0 |
||||
; This Source Code Form is subject to the terms of the Mozilla Public |
||||
; License, v. 2.0. If a copy of the MPL was not distributed with this |
||||
; file, You can obtain one at http://mozilla.org/MPL/2.0/. |
||||
#endif |
||||
#filter substitution |
||||
#include @TOPOBJDIR@/buildid.h |
||||
#include @TOPOBJDIR@/source-repo.h |
||||
|
||||
[App] |
||||
# Vendor=@MOZ_APP_VENDOR@ |
||||
Vendor=Binary Outcast |
||||
Name=@MOZ_APP_BASENAME@ |
||||
RemotingName=@MOZ_APP_REMOTINGNAME@ |
||||
#ifdef MOZ_APP_DISPLAYNAME |
||||
CodeName=@MOZ_APP_DISPLAYNAME@ |
||||
#endif |
||||
Version=@MOZ_APP_VERSION@ |
||||
#ifdef MOZ_APP_PROFILE |
||||
Profile=@MOZ_APP_PROFILE@ |
||||
#endif |
||||
BuildID=@MOZ_BUILDID@ |
||||
#ifdef MOZ_SOURCE_REPO |
||||
SourceRepository=@MOZ_SOURCE_REPO@ |
||||
#endif |
||||
#ifdef MOZ_SOURCE_STAMP |
||||
SourceStamp=@MOZ_SOURCE_STAMP@ |
||||
#endif |
||||
ID=@MOZ_APP_ID@ |
||||
|
||||
[Gecko] |
||||
MinVersion=@GRE_MILESTONE@ |
||||
MaxVersion=@GRE_MILESTONE@ |
||||
|
||||
[XRE] |
||||
#ifdef MOZ_PROFILE_MIGRATOR |
||||
EnableProfileMigrator=1 |
||||
#endif |
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,43 @@ |
||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> |
||||
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"> |
||||
<assemblyIdentity |
||||
version="1.0.0.0" |
||||
processorArchitecture="*" |
||||
name="Borealis" |
||||
type="win32" |
||||
/> |
||||
<description>Borealis</description> |
||||
<dependency> |
||||
<dependentAssembly> |
||||
<assemblyIdentity |
||||
type="win32" |
||||
name="Microsoft.Windows.Common-Controls" |
||||
version="6.0.0.0" |
||||
processorArchitecture="*" |
||||
publicKeyToken="6595b64144ccf1df" |
||||
language="*" |
||||
/> |
||||
</dependentAssembly> |
||||
</dependency> |
||||
<ms_asmv3:trustInfo xmlns:ms_asmv3="urn:schemas-microsoft-com:asm.v3"> |
||||
<ms_asmv3:security> |
||||
<ms_asmv3:requestedPrivileges> |
||||
<ms_asmv3:requestedExecutionLevel level="asInvoker" uiAccess="false" /> |
||||
</ms_asmv3:requestedPrivileges> |
||||
</ms_asmv3:security> |
||||
</ms_asmv3:trustInfo> |
||||
<ms_asmv3:application xmlns:ms_asmv3="urn:schemas-microsoft-com:asm.v3"> |
||||
<ms_asmv3:windowsSettings xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings"> |
||||
<dpiAware>true</dpiAware> |
||||
</ms_asmv3:windowsSettings> |
||||
</ms_asmv3:application> |
||||
<compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1"> |
||||
<application> |
||||
<supportedOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}"/> |
||||
<supportedOS Id="{1f676c76-80e1-4239-95bb-83d0f6d0da78}"/> |
||||
<supportedOS Id="{4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38}"/> |
||||
<supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}"/> |
||||
<supportedOS Id="{e2011457-1546-43c5-a5fe-008deee3d3f0}"/> |
||||
</application> |
||||
</compatibility> |
||||
</assembly> |
@ -0,0 +1,10 @@ |
||||
#
|
||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
include $(topsrcdir)/config/rules.mk |
||||
|
||||
# channel-prefs.js is handled separate from other prefs due to bug 756325.
|
||||
libs:: $(srcdir)/pref/channel-prefs.js |
||||
$(call py_action,preprocessor,-Fsubstitution $(PREF_PPFLAGS) $(ACDEFINES) $^ -o $(DIST)/bin/defaults/pref/channel-prefs.js)
|
@ -0,0 +1,31 @@ |
||||
# vim: set filetype=python: |
||||
# This Source Code Form is subject to the terms of the Mozilla Public |
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this |
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/. |
||||
|
||||
JS_PREFERENCE_FILES += [ |
||||
'pref/application-l10n.js', |
||||
] |
||||
|
||||
JS_PREFERENCE_PP_FILES += [ |
||||
'pref/application-prefs.js', |
||||
] |
||||
|
||||
FINAL_TARGET_FILES.defaults.profile += [ |
||||
'profile/bookmarks.html', |
||||
'profile/mimeTypes.rdf', |
||||
'profile/panels.rdf', |
||||
] |
||||
|
||||
FINAL_TARGET_FILES.defaults.profile.chrome += [ |
||||
'profile/chrome/userChrome-example.css', |
||||
'profile/chrome/userContent-example.css', |
||||
] |
||||
|
||||
FINAL_TARGET_FILES.searchplugins += [ |
||||
'searchplugins/duckduckgo-palemoon.xml', |
||||
'searchplugins/ecosia.xml', |
||||
'searchplugins/navigator-cross-reference.xml', |
||||
'searchplugins/uxp-cross-reference.xml', |
||||
'searchplugins/wikipedia.xml', |
||||
] |
@ -0,0 +1,6 @@ |
||||
//@line 4 "d:\Development\moonchild-central\uxp\application\navigator\locales\en-US\suite-l10n.js"
|
||||
|
||||
//@line 6 "d:\Development\moonchild-central\uxp\application\navigator\locales\en-US\suite-l10n.js"
|
||||
|
||||
pref("general.useragent.locale", "en-US"); |
||||
pref("spellchecker.dictionary", "en-US"); |
@ -0,0 +1,29 @@ |
||||
/* -*- Mode: javascript; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ |
||||
/* This Source Code Form is subject to the terms of the Mozilla Public |
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this |
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
/* The prefs in this file are specific to the seamonkey (toolkit) browser. |
||||
* Generic default prefs that would be useful to embedders belong in |
||||
* modules/libpref/src/init/all.js |
||||
*/ |
||||
|
||||
#include appshell-prefs.inc.js |
||||
|
||||
#include extensions-prefs.inc.js |
||||
|
||||
#include general-prefs.inc.js |
||||
|
||||
#include gre-prefs.inc.js |
||||
|
||||
#include navigator-prefs.inc.js |
||||
|
||||
#include network-prefs.inc.js |
||||
|
||||
#include places-prefs.inc.js |
||||
|
||||
#include secpriv-prefs.inc.js |
||||
|
||||
#ifdef MOZ_SERVICES_SYNC |
||||
#include secpriv-prefs.inc.js |
||||
#endif |
@ -0,0 +1,111 @@ |
||||
/* -*- Mode: javascript; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ |
||||
/* This Source Code Form is subject to the terms of the Mozilla Public |
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this |
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
/* The prefs in this file are specific to the seamonkey (toolkit) browser. |
||||
* Generic default prefs that would be useful to embedders belong in |
||||
* modules/libpref/src/init/all.js |
||||
*/ |
||||
|
||||
/* filter substitution |
||||
* |
||||
* SYNTAX HINTS: |
||||
* |
||||
* - Dashes are delimiters; use underscores instead. |
||||
* - The first character after a period must be alphabetic. |
||||
* - Computed values (e.g. 50 * 1024) don't work. |
||||
*/ |
||||
|
||||
pref("app.releaseNotesURL", "chrome://branding/locale/brand.properties"); |
||||
pref("app.vendorURL", "chrome://branding/locale/brand.properties"); |
||||
pref("startup.homepage_override_url","chrome://navigator-region/locale/region.properties"); |
||||
|
||||
// Base URL for web-based support pages.
|
||||
pref("app.support.baseURL", "http://www.seamonkey-project.org/doc/"); |
||||
|
||||
// App-specific update preferences
|
||||
|
||||
// Whether or not app updates are enabled
|
||||
pref("app.update.enabled", true); |
||||
|
||||
// This preference allows automatic download and install to take place.
|
||||
pref("app.update.auto", true); |
||||
|
||||
// If set to true, the Update Service will present no UI for any event.
|
||||
pref("app.update.silent", false); |
||||
|
||||
// Update service URL:
|
||||
pref("app.update.url", "https://aus2-community.mozilla.org/update/3/%PRODUCT%/%VERSION%/%BUILD_ID%/%BUILD_TARGET%/%LOCALE%/%CHANNEL%/%OS_VERSION%/%SYSTEM_CAPABILITIES%/%DISTRIBUTION%/%DISTRIBUTION_VERSION%/update.xml"); |
||||
// URL user can browse to manually if for some reason all update installation
|
||||
// attempts fail.
|
||||
pref("app.update.url.manual", "http://www.seamonkey-project.org/"); |
||||
// A default value for the "More information about this update" link
|
||||
// supplied in the "An update is available" page of the update wizard.
|
||||
pref("app.update.url.details", "chrome://communicator-region/locale/region.properties"); |
||||
|
||||
// User-settable override to app.update.url for testing purposes.
|
||||
//pref("app.update.url.override", "");
|
||||
|
||||
// Enables some extra Application Update Logging (can reduce performance)
|
||||
pref("app.update.log", false); |
||||
|
||||
// The number of general background check failures to allow before notifying the
|
||||
// user of the failure. User initiated update checks always notify the user of
|
||||
// the failure.
|
||||
pref("app.update.backgroundMaxErrors", 10); |
||||
|
||||
// When |app.update.cert.requireBuiltIn| is true or not specified the
|
||||
// final certificate and all certificates the connection is redirected to before
|
||||
// the final certificate for the url specified in the |app.update.url|
|
||||
// preference must be built-in.
|
||||
pref("app.update.cert.requireBuiltIn", true); |
||||
|
||||
// When |app.update.cert.checkAttributes| is true or not specified the
|
||||
// certificate attributes specified in the |app.update.certs.| preference branch
|
||||
// are checked against the certificate for the url specified by the
|
||||
// |app.update.url| preference.
|
||||
pref("app.update.cert.checkAttributes", true); |
||||
|
||||
// The number of certificate attribute check failures to allow for background
|
||||
// update checks before notifying the user of the failure. User initiated update
|
||||
// checks always notify the user of the certificate attribute check failure.
|
||||
pref("app.update.cert.maxErrors", 5); |
||||
|
||||
// The |app.update.certs.| preference branch contains branches that are
|
||||
// sequentially numbered starting at 1 that contain attribute name / value
|
||||
// pairs for the certificate used by the server that hosts the update xml file
|
||||
// as specified in the |app.update.url| preference. When these preferences are
|
||||
// present the following conditions apply for a successful update check:
|
||||
// 1. the uri scheme must be https
|
||||
// 2. the preference name must exist as an attribute name on the certificate and
|
||||
// the value for the name must be the same as the value for the attribute
|
||||
// name on the certificate.
|
||||
// If these conditions aren't met it will be treated the same as when there is
|
||||
// no update available. This validation will not be performed when using the
|
||||
// |app.update.url.override| preference for update checking.
|
||||
pref("app.update.certs.1.issuerName", "CN=DigiCert SHA2 Secure Server CA,O=DigiCert Inc,C=US"); |
||||
pref("app.update.certs.1.commonName", "aus2-community.mozilla.org"); |
||||
pref("app.update.certs.2.issuerName", "CN=Thawte SSL CA,O=\"Thawte, Inc.\",C=US"); |
||||
pref("app.update.certs.2.commonName", "aus2-community.mozilla.org"); |
||||
|
||||
// Interval: Time between checks for a new version (in seconds)
|
||||
// default=1 day
|
||||
pref("app.update.interval", 86400); |
||||
// The minimum delay in seconds for the timer to fire.
|
||||
// default=2 minutes
|
||||
pref("app.update.timerMinimumDelay", 120); |
||||
#ifdef RELEASE_OR_BETA |
||||
// Give the user x seconds to react before showing the big UI. default=8 days
|
||||
pref("app.update.promptWaitTime", 691200); |
||||
#else |
||||
// For nightly and aurora builds, before showing the big UI, default=12 hrs
|
||||
pref("app.update.promptWaitTime", 43200); |
||||
#endif |
||||
// Show the Update Checking/Ready UI when the user was idle for x seconds
|
||||
pref("app.update.idletime", 60); |
||||
|
||||
pref("shell.checkDefaultClient", true); |
||||
// We want to check if we are the default client for browser and mail. See
|
||||
// suite/shell/public/nsIShellService.idl for the possible constants you can use
|
||||
pref("shell.checkDefaultApps", 1); |
@ -0,0 +1,5 @@ |
||||
/* This Source Code Form is subject to the terms of the Mozilla Public |
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this |
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
pref("app.update.channel", "@MOZ_UPDATE_CHANNEL@"); |
@ -0,0 +1,76 @@ |
||||
/* -*- Mode: javascript; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ |
||||
/* This Source Code Form is subject to the terms of the Mozilla Public |
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this |
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
/* The prefs in this file are specific to the seamonkey (toolkit) browser. |
||||
* Generic default prefs that would be useful to embedders belong in |
||||
* modules/libpref/src/init/all.js |
||||
*/ |
||||
|
||||
/* filter substitution |
||||
* |
||||
* SYNTAX HINTS: |
||||
* |
||||
* - Dashes are delimiters; use underscores instead. |
||||
* - The first character after a period must be alphabetic. |
||||
* - Computed values (e.g. 50 * 1024) don't work. |
||||
*/ |
||||
|
||||
// Extension preferences
|
||||
|
||||
// Show the Discover Pane
|
||||
pref("extensions.getAddons.showPane", false); |
||||
|
||||
// Enables some extra Extension System Logging (can reduce performance)
|
||||
pref("extensions.logging.enabled", false); |
||||
|
||||
// Disables strict compatibility, making addons compatible-by-default.
|
||||
pref("extensions.strictCompatibility", false); |
||||
|
||||
// Specifies a minimum maxVersion an addon needs to say it's compatible with
|
||||
// for it to be compatible by default.
|
||||
pref("extensions.minCompatibleAppVersion", "1.0.0a1"); |
||||
|
||||
|
||||
// Update preferences for installed Extensions and Themes.
|
||||
// Symmetric (can be overridden by individual extensions),
|
||||
// e.g.
|
||||
// extensions.{GUID}.update.enabled
|
||||
// extensions.{GUID}.update.url
|
||||
// extensions.{GUID}.update.interval
|
||||
// extensions.{GUID}.update.autoUpdateDefault
|
||||
// .. etc ..
|
||||
//
|
||||
pref("extensions.update.enabled", true); |
||||
pref("extensions.update.url", "https://versioncheck.addons.mozilla.org/update/VersionCheck.php?reqVersion=%REQ_VERSION%&id=%ITEM_ID%&version=%ITEM_VERSION%&maxAppVersion=%ITEM_MAXAPPVERSION%&status=%ITEM_STATUS%&appID=%APP_ID%&appVersion=%APP_VERSION%&appOS=%APP_OS%&appABI=%APP_ABI%&locale=%APP_LOCALE%¤tAppVersion=%CURRENT_APP_VERSION%&updateType=%UPDATE_TYPE%&compatMode=%COMPATIBILITY_MODE%"); |
||||
pref("extensions.update.interval", 86400); // Check daily for updates to add-ons
|
||||
pref("extensions.update.autoUpdateDefault", true); // Download and install automatically
|
||||
|
||||
// Disable add-ons installed into the shared user and shared system areas by
|
||||
// default. This does not include the application directory. See the SCOPE
|
||||
// constants in AddonManager.jsm for values to use here.
|
||||
pref("extensions.autoDisableScopes", 15); |
||||
|
||||
// Preferences for AMO integration
|
||||
pref("extensions.getAddons.cache.enabled", false); // also toggles personalized recommendations
|
||||
pref("extensions.getAddons.maxResults", 15); |
||||
pref("extensions.getAddons.get.url", "https://services.addons.mozilla.org/%LOCALE%/%APP%/api/%API_VERSION%/search/guid:%IDS%?src=seamonkey&appOS=%OS%&appVersion=%VERSION%"); |
||||
pref("extensions.getAddons.getWithPerformance.url", "https://services.addons.mozilla.org/%LOCALE%/%APP%/api/%API_VERSION%/search/guid:%IDS%?src=seamonkey&appOS=%OS%&appVersion=%VERSION%&tMain=%TIME_MAIN%&tFirstPaint=%TIME_FIRST_PAINT%&tSessionRestored=%TIME_SESSION_RESTORED%"); |
||||
pref("extensions.getAddons.link.url", "https://addons.mozilla.org/%LOCALE%/%APP%/"); |
||||
pref("extensions.getAddons.recommended.url", "https://services.addons.mozilla.org/%LOCALE%/%APP%/api/%API_VERSION%/list/recommended/all/%MAX_RESULTS%/%OS%/%VERSION%?src=seamonkey"); |
||||
pref("extensions.getAddons.search.browseURL", "https://addons.mozilla.org/%LOCALE%/%APP%/search?q=%TERMS%"); |
||||
pref("extensions.getAddons.search.url", "https://services.addons.mozilla.org/%LOCALE%/%APP%/api/%API_VERSION%/search/%TERMS%/all/%MAX_RESULTS%/%OS%/%VERSION%/%COMPATIBILITY_MODE%?src=seamonkey"); |
||||
pref("extensions.webservice.discoverURL", "https://services.addons.mozilla.org/%LOCALE%/%APP%/discovery/pane/%VERSION%/%OS%"); |
||||
|
||||
// getMoreThemes is used by our UI under our switch theme menu
|
||||
pref("extensions.getMoreThemesURL", "chrome://branding/locale/brand.properties"); |
||||
pref("extensions.getPersonasURL", "chrome://branding/locale/brand.properties"); |
||||
pref("extensions.dss.enabled", false); // Dynamic Skin Switching
|
||||
pref("extensions.dss.switchPending", false); // Non-dynamic switch pending after next
|
||||
// restart.
|
||||
|
||||
pref("lightweightThemes.update.enabled", true); |
||||
|
||||
pref("xpinstall.enabled", true); |
||||
pref("xpinstall.signatures.required", false); |
@ -0,0 +1,50 @@ |
||||
/* -*- Mode: javascript; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ |
||||
/* This Source Code Form is subject to the terms of the Mozilla Public |
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this |
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
/* The prefs in this file are specific to the seamonkey (toolkit) browser. |
||||
* Generic default prefs that would be useful to embedders belong in |
||||
* modules/libpref/src/init/all.js |
||||
*/ |
||||
|
||||
/* filter substitution |
||||
* |
||||
* SYNTAX HINTS: |
||||
* |
||||
* - Dashes are delimiters; use underscores instead. |
||||
* - The first character after a period must be alphabetic. |
||||
* - Computed values (e.g. 50 * 1024) don't work. |
||||
*/ |
||||
|
||||
#ifdef MOZ_DEVTOOLS |
||||
// Most DevTools prefs are set from the shared file
|
||||
// devtools/client/preferences/devtools.js, but this one is currently set
|
||||
// per-app or per-channel.
|
||||
// Number of usages of the web console or scratchpad. If this is less than 5,
|
||||
// then pasting code into the web console or scratchpad is disabled
|
||||
pref("devtools.selfxss.count", 5); |
||||
#endif |
||||
|
||||
pref("general.skins.selectedSkin", "modern/1.0"); |
||||
|
||||
pref("general.startup.browser", true); |
||||
pref("general.startup.mail", false); |
||||
pref("general.startup.news", false); |
||||
pref("general.startup.editor", false); |
||||
pref("general.startup.compose", false); |
||||
pref("general.startup.addressbook", false); |
||||
|
||||
pref("general.open_location.last_url", ""); |
||||
pref("general.open_location.last_window_choice", 0); |
||||
|
||||
pref("general.smoothScroll", false); |
||||
pref("general.autoScroll", true); |
||||
|
||||
pref("general.useragent.compatMode.firefox", true); |
||||
pref("general.useragent.compatMode.gecko", true); |
||||
pref("general.useragent.complexOverride.moodle", false); // bug 797703; bug 815801
|
||||
|
||||
#ifdef XP_UNIX |
||||
pref("general.autoScroll", false); |
||||
#endif |
@ -0,0 +1,86 @@ |
||||
/* -*- Mode: javascript; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ |
||||
/* This Source Code Form is subject to the terms of the Mozilla Public |
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this |
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
/* The prefs in this file are specific to the seamonkey (toolkit) browser. |
||||
* Generic default prefs that would be useful to embedders belong in |
||||
* modules/libpref/src/init/all.js |
||||
*/ |
||||
|
||||
/* filter substitution |
||||
* |
||||
* SYNTAX HINTS: |
||||
* |
||||
* - Dashes are delimiters; use underscores instead. |
||||
* - The first character after a period must be alphabetic. |
||||
* - Computed values (e.g. 50 * 1024) don't work. |
||||
*/ |
||||
|
||||
|
||||
// Enable the DOM fullscreen API.
|
||||
pref("full-screen-api.enabled", true); |
||||
|
||||
// this will automatically enable inline spellchecking (if it is available) for
|
||||
// editable elements in HTML
|
||||
// 0 = spellcheck nothing
|
||||
// 1 = check multi-line controls [default]
|
||||
// 2 = check multi/single line controls
|
||||
pref("layout.spellcheckDefault", 1); |
||||
pref("spellchecker.dictionaries.download.url", "chrome://branding/locale/brand.properties"); |
||||
|
||||
// The maximum amount of decoded image data we'll willingly keep around (we
|
||||
// might keep around more than this, but we'll try to get down to this value).
|
||||
// (This is intentionally on the high side; see bugs 746055 and 768015.)
|
||||
pref("image.mem.max_decoded_image_kb", 256000); |
||||
|
||||
// block popup windows
|
||||
pref("dom.disable_open_during_load", true); |
||||
// prevent JS from moving/resizing existing windows
|
||||
pref("dom.disable_window_move_resize", true); |
||||
// prevent JS from raising or lowering windows
|
||||
pref("dom.disable_window_flip", true); |
||||
// prevent JS from disabling or replacing context menus
|
||||
pref("dom.event.contextmenu.enabled", true); |
||||
|
||||
pref("dom.identity.enabled", false); |
||||
|
||||
#ifdef XP_MACOSX |
||||
// On mac, the default pref is per-architecture
|
||||
pref("dom.ipc.plugins.enabled.i386", true); |
||||
pref("dom.ipc.plugins.enabled.x86_64", true); |
||||
|
||||
// This pref governs whether we attempt to work around problems caused by
|
||||
// plugins using OS calls to manipulate the cursor while running out-of-
|
||||
// process. These workarounds all involve intercepting (hooking) certain
|
||||
// OS calls in the plugin process, then arranging to make certain OS calls
|
||||
// in the browser process. Eventually plugins will be required to use the
|
||||
// NPAPI to manipulate the cursor, and these workarounds will be removed.
|
||||
// See bug 621117.
|
||||
pref("dom.ipc.plugins.nativeCursorSupport", true); |
||||
#else |
||||
pref("dom.ipc.plugins.enabled", true); |
||||
#endif |
||||
|
||||
// plugin finder service url
|
||||
pref("pfs.datasource.url", "https://pfs.mozilla.org/plugins/PluginFinderService.php?mimetype=%PLUGIN_MIMETYPE%&appID=%APP_ID%&appVersion=%APP_VERSION%&clientOS=%CLIENT_OS%&chromeLocale=%CHROME_LOCALE%"); |
||||
pref("plugins.update.url", "https://www.mozilla.org/%LOCALE%/plugincheck/"); |
||||
pref("plugins.update.notifyUser", false); |
||||
pref("plugins.hide_infobar_for_outdated_plugin", false); |
||||
pref("plugins.hide_infobar_for_carbon_failure_plugin", false); |
||||
pref("plugins.hide_infobar_for_missing_plugin", false); |
||||
pref("plugins.click_to_play", true); |
||||
pref("plugin.disable", false); |
||||
|
||||
// Enable general plugin loading.
|
||||
pref("plugin.load_flash_only", false); |
||||
|
||||
// Restore the spinner that was removed in bug 481359
|
||||
pref("ui.use_activity_cursor", true); |
||||
|
||||
#ifdef XP_UNIX |
||||
pref("layout.word_select.stop_at_punctuation", false); |
||||
#endif |
||||
|
||||
// The breakpad report server to link to in about:crashes
|
||||
pref("breakpad.reportURL", "about:blank"); |
@ -0,0 +1,441 @@ |
||||
/* -*- Mode: javascript; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ |
||||
/* This Source Code Form is subject to the terms of the Mozilla Public |
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this |
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
/* The prefs in this file are specific to the seamonkey (toolkit) browser. |
||||
* Generic default prefs that would be useful to embedders belong in |
||||
* modules/libpref/src/init/all.js |
||||
*/ |
||||
|
||||
/* filter substitution |
||||
* |
||||
* SYNTAX HINTS: |
||||
* |
||||
* - Dashes are delimiters; use underscores instead. |
||||
* - The first character after a period must be alphabetic. |
||||
* - Computed values (e.g. 50 * 1024) don't work. |
||||
*/ |
||||
|
||||
pref("browser.chromeURL","chrome://navigator/content/navigator.xul"); |
||||
pref("browser.hiddenWindowChromeURL", "chrome://navigator/content/hiddenWindow.xul"); |
||||
|
||||
pref("browser.urlbar.historyEnabled", true); |
||||
|
||||
// 0 = blank, 1 = home (browser.startup.homepage), 2 = last visited page, 3 = resume previous browser session
|
||||
pref("browser.startup.page", 1); |
||||
pref("browser.startup.homepage", "chrome://navigator-region/locale/region.properties"); |
||||
pref("browser.startup.homepage.count", 1); |
||||
|
||||
pref("browser.warnOnQuit", true); |
||||
pref("browser.warnOnRestart", true); |
||||
|
||||
// disable this until it can be disabled on a per-docshell basis (see bug 319368)
|
||||
pref("browser.send_pings", false); |
||||
|
||||
pref("browser.chrome.site_icons", true); |
||||
pref("browser.chrome.favicons", true); |
||||
|
||||
pref("browser.download.finished_download_sound", false); |
||||
pref("browser.download.finished_sound_url", ""); |
||||
pref("browser.download.useDownloadDir", false); |
||||
pref("browser.download.folderList", 1); |
||||
|
||||
pref("browser.download.manager.showAlertOnComplete", true); |
||||
pref("browser.download.manager.showAlertInterval", 2000); |
||||
pref("browser.download.manager.retention", 2); |
||||
pref("browser.download.manager.quitBehavior", 0); |
||||
pref("browser.download.manager.addToRecentDocs", true); |
||||
pref("browser.download.manager.scanWhenDone", true); |
||||
pref("browser.download.manager.resumeOnWakeDelay", 10000); |
||||
pref("browser.download.manager.flashCount", 2); |
||||
pref("browser.download.manager.showWhenStarting", true); |
||||
pref("browser.download.manager.focusWhenStarting", false); |
||||
pref("browser.download.manager.closeWhenDone", false); |
||||
pref("browser.download.progress.closeWhenDone", false); |
||||
|
||||
// Number of milliseconds to wait for the http headers (and thus
|
||||
// the Content-Disposition filename) before giving up and falling back to
|
||||
// picking a filename without that info in hand so that the user sees some
|
||||
// feedback from their action.
|
||||
pref("browser.download.saveLinkAsFilenameTimeout", 4000); |
||||
|
||||
// Output console.log/info/warn/error to the Error Console
|
||||
pref("browser.dom.window.console.enabled", false); |
||||
|
||||
// Use the findbar instead of the dialog box
|
||||
pref("browser.findbar.enabled", true); |
||||
|
||||
// Use doorhanger notifications instead of the notification bar
|
||||
pref("browser.doorhanger.enabled", false); |
||||
|
||||
// search engines URL
|
||||
pref("browser.search.searchEnginesURL", "http://addons.palemoon.org/search-plugins/"); |
||||
|
||||
// pointer to the default engine name
|
||||
pref("browser.search.defaultenginename", "chrome://communicator-region/locale/region.properties"); |
||||
|
||||
// Disable logging for the search service by default.
|
||||
pref("browser.search.log", false); |
||||
|
||||
// Ordering of Search Engines in the Engine list.
|
||||
pref("browser.search.order.1", "chrome://communicator-region/locale/region.properties"); |
||||
pref("browser.search.order.2", "chrome://communicator-region/locale/region.properties"); |
||||
pref("browser.search.order.3", "chrome://communicator-region/locale/region.properties"); |
||||
pref("browser.search.order.4", "chrome://communicator-region/locale/region.properties"); |
||||
pref("browser.search.order.4", "chrome://communicator-region/locale/region.properties"); |
||||
|
||||
// Search (side)bar results always open in a new tab.
|
||||
pref("browser.search.openintab", true); |
||||
|
||||
// Invoking a search reveals the sidebar panel.
|
||||
pref("browser.search.opensidebarsearchpanel", false); |
||||
|
||||
// Open context search results in either a new window or tab.
|
||||
pref("browser.search.opentabforcontextsearch", true); |
||||
|
||||
// Send ping to the server to update.
|
||||
pref("browser.search.update", true); |
||||
|
||||
// Disable logging for the search service update system by default.
|
||||
pref("browser.search.update.log", false); |
||||
|
||||
// Check whether we need to perform engine updates every 6 hours
|
||||
pref("browser.search.update.interval", 21600); |
||||
|
||||
// enable search suggestions by default
|
||||
pref("browser.search.suggest.enabled", true); |
||||
|
||||
pref("browser.urlbar.autocomplete.enabled", true); |
||||
pref("browser.urlbar.formatting.enabled", true); |
||||
pref("browser.urlbar.highlight.secure", true); |
||||
pref("browser.urlbar.clickSelectsAll", true); |
||||
// when clickSelectsAll=true, does it also apply when the click is past end of text?
|
||||
pref("browser.urlbar.clickAtEndSelects", true); |
||||
|
||||
pref("browser.urlbar.autoFill", false); |
||||
pref("browser.urlbar.showPopup", true); |
||||
pref("browser.urlbar.showSearch", true); |
||||
// 0: Match anywhere (e.g., middle of words)
|
||||
// 1: Match on word boundaries and then try matching anywhere
|
||||
// 2: Match only on word boundaries (e.g., after / or .)
|
||||
// 3: Match at the beginning of the url or title
|
||||
pref("browser.urlbar.matchBehavior", 1); |
||||
|
||||
pref("browser.urlbar.suggest.history", true); |
||||
pref("browser.urlbar.suggest.bookmark", false); |
||||
// SeaMonkey doesn't support this.
|
||||
pref("browser.urlbar.suggest.openpage", false); |
||||
|
||||
pref("browser.urlbar.suggest.history.onlyTyped", false); |
||||
|
||||
pref("browser.urlbar.filter.javascript", true); |
||||
|
||||
// Size of "chunks" affects the number of places to process between each search
|
||||
// timeout (ms). Too big and the UI will be unresponsive; too small and we'll
|
||||
// be waiting on the timeout too often without many results.
|
||||
pref("browser.urlbar.search.chunkSize", 1000); |
||||
pref("browser.urlbar.search.timeout", 100); |
||||
|
||||
// The special characters below can be typed into the urlbar to either restrict
|
||||
// the search to visited history, bookmarked, tagged pages; or force a match on
|
||||
// just the title text or url.
|
||||
pref("browser.urlbar.restrict.history", "^"); |
||||
pref("browser.urlbar.restrict.bookmark", "*"); |
||||
pref("browser.urlbar.restrict.tag", "+"); |
||||
pref("browser.urlbar.restrict.openpage", "%"); |
||||
pref("browser.urlbar.restrict.typed", "~"); |
||||
pref("browser.urlbar.match.title", "#"); |
||||
pref("browser.urlbar.match.url", "@"); |
||||
|
||||
pref("browser.history.last_page_visited", "about:blank"); |
||||
pref("browser.history.grouping", "day"); |
||||
pref("browser.sessionhistory.max_entries", 50); |
||||
|
||||
// By default, do not export HTML at shutdown.
|
||||
// If true, at shutdown the bookmarks in your menu and toolbar will
|
||||
// be exported as HTML to the bookmarks.html file.
|
||||
pref("browser.bookmarks.autoExportHTML", false); |
||||
|
||||
// The maximum number of daily bookmark backups to
|
||||
// keep in {PROFILEDIR}/bookmarkbackups. Special values:
|
||||
// -1: unlimited
|
||||
// 0: no backups created (and deletes all existing backups)
|
||||
pref("browser.bookmarks.max_backups", 10); |
||||
|
||||
// Don't try to alter this pref. It will be reset the next time you use the
|
||||
// bookmarking dialog.
|
||||
pref("browser.bookmarks.editDialog.firstEditField", "namePicker"); |
||||
|
||||
// Tabbed browser
|
||||
pref("browser.tabs.loadDivertedInBackground", false); |
||||
pref("browser.tabs.loadInBackground", true); |
||||
pref("browser.tabs.opentabfor.doubleclick", false); |
||||
pref("browser.tabs.opentabfor.middleclick", true); |
||||
pref("browser.tabs.opentabfor.urlbar", true); |
||||
pref("browser.tabs.tooltippreview.enable", true); |
||||
pref("browser.tabs.tooltippreview.width", 300); |
||||
pref("browser.tabs.autoHide", false); |
||||
pref("browser.tabs.forceHide", false); |
||||
pref("browser.tabs.closeWindowWithLastTab", true); |
||||
pref("browser.tabs.warnOnClose", true); |
||||
pref("browser.tabs.warnOnCloseOther", true); |
||||
pref("browser.tabs.warnOnOpen", true); |
||||
pref("browser.tabs.maxOpenBeforeWarn", 15); |
||||
pref("browser.tabs.insertRelatedAfterCurrent", true); |
||||
// 0 = append, 1 = replace
|
||||
pref("browser.tabs.loadGroup", 1); |
||||
|
||||
// how many browsers can be saved in the DOM (by the tabbed browser)
|
||||
pref("browser.tabs.max_tabs_undo", 3); |
||||
// should popups by saved in the DOM (by the tabbed browser)
|
||||
pref("browser.tabs.cache_popups", false); |
||||
|
||||
// tab width and clipping
|
||||
pref("browser.tabs.tabMinWidth", 100); |
||||
pref("browser.tabs.tabMaxWidth", 250); |
||||
pref("browser.tabs.tabClipWidth", 140); |
||||
|
||||
// Where to show tab close buttons:
|
||||
// 0 on active tab only
|
||||
// 1 on all tabs until tabClipWidth is reached, then active tab only
|
||||
// 2 no close buttons at all
|
||||
// 3 at the end of the tabstrip
|
||||
pref("browser.tabs.closeButtons", 3); |
||||
|
||||
// Mouse wheel action when over the tab bar:
|
||||
// false The mouse wheel scrolls the whole tab bar like Firefox (default).
|
||||
// true The mouse wheel advances the selected tab.
|
||||
pref("browser.tabs.mouseScrollAdvancesTab", false); |
||||
|
||||
// lets new tab/window load something different than first window
|
||||
// -1 - use navigator startup preference
|
||||
// 0 - loads blank page
|
||||
// 1 - loads home page
|
||||
// 2 - loads last page visited
|
||||
pref("browser.tabs.loadOnNewTab", 0); |
||||
pref("browser.windows.loadOnNewWindow", 1); |
||||
|
||||
// external link handling in tabbed browsers. values from nsIBrowserDOMWindow.
|
||||
// 0=default window, 1=current window/tab, 2=new window, 3=new tab in most recent window
|
||||
pref("browser.link.open_external", 3); |
||||
// internal links handling in tabbed browsers. see .open_external for values.
|
||||
pref("browser.link.open_newwindow", 3); |
||||
|
||||
// 0: no restrictions - divert everything
|
||||
// 1: don't divert window.open at all
|
||||
// 2: don't divert window.open with features
|
||||
pref("browser.link.open_newwindow.restriction", 2); |
||||
|
||||
// Translation service
|
||||
pref("browser.translation.service", "chrome://navigator-region/locale/region.properties"); |
||||
pref("browser.translation.serviceDomain", "chrome://navigator-region/locale/region.properties"); |
||||
pref("browser.validate.html.service", "chrome://navigator-region/locale/region.properties"); |
||||
|
||||
// 0 goes back
|
||||
// 1 act like pgup
|
||||
// 2 and other values, nothing
|
||||
pref("browser.backspace_action", 0); |
||||
|
||||
// Controls behavior of the "Add Exception" dialog launched from SSL error pages:
|
||||
// 0 - don't pre-populate anything.
|
||||
// 1 - pre-populate site URL, but don't fetch certificate.
|
||||
// 2 - pre-populate site URL and pre-fetch certificate.
|
||||
pref("browser.ssl_override_behavior", 2); |
||||
|
||||
// if true, use full page zoom instead of text zoom
|
||||
pref("browser.zoom.full", true); |
||||
|
||||
// Whether or not to save and restore zoom levels on a per-site basis.
|
||||
pref("browser.zoom.siteSpecific", true); |
||||
|
||||
// Whether or not to update background tabs to the current zoom level
|
||||
// once they come to the foreground (i.e. get activated).
|
||||
pref("browser.zoom.updateBackgroundTabs", true); |
||||
|
||||
#ifdef XP_WIN |
||||
pref("browser.preferences.instantApply", false); |
||||
#else |
||||
pref("browser.preferences.instantApply", true); |
||||
#endif |
||||
|
||||
pref("browser.preferences.animateFadeIn", false |