mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-14 04:03:47 +00:00
Initial checkin of files needed for building MozillaSunbird ( Calendar standalone app )
This commit is contained in:
parent
18a2437f46
commit
a4752b8f5e
1
calendar/sunbird/.cvsignore
Normal file
1
calendar/sunbird/.cvsignore
Normal file
@ -0,0 +1 @@
|
||||
Makefile
|
369
calendar/sunbird/Makefile.in
Normal file
369
calendar/sunbird/Makefile.in
Normal file
@ -0,0 +1,369 @@
|
||||
# ***** BEGIN LICENSE BLOCK *****
|
||||
# Version: MPL 1.1/GPL 2.0/LGPL 2.1
|
||||
#
|
||||
# The contents of this file are subject to the Mozilla Public License Version
|
||||
# 1.1 (the "License"); you may not use this file except in compliance with
|
||||
# the License. You may obtain a copy of the License at
|
||||
# http://www.mozilla.org/MPL/
|
||||
#
|
||||
# Software distributed under the License is distributed on an "AS IS" basis,
|
||||
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
|
||||
# for the specific language governing rights and limitations under the
|
||||
# License.
|
||||
#
|
||||
# The Original Code is the Mozilla Browser code.
|
||||
#
|
||||
# The Initial Developer of the Original Code is
|
||||
# Netscape Communications Corporation.
|
||||
# Portions created by the Initial Developer are Copyright (C) 2002
|
||||
# the Initial Developer. All Rights Reserved.
|
||||
#
|
||||
# Contributor(s):
|
||||
# Brian Ryner <bryner@netscape.com>
|
||||
#
|
||||
# Alternatively, the contents of this file may be used under the terms of
|
||||
# either the GNU General Public License Version 2 or later (the "GPL"), or
|
||||
# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
|
||||
# in which case the provisions of the GPL or the LGPL are applicable instead
|
||||
# of those above. If you wish to allow use of your version of this file only
|
||||
# under the terms of either the GPL or the LGPL, and not to allow others to
|
||||
# use your version of this file under the terms of the MPL, indicate your
|
||||
# decision by deleting the provisions above and replace them with the notice
|
||||
# and other provisions required by the GPL or the LGPL. If you do not delete
|
||||
# the provisions above, a recipient may use your version of this file under
|
||||
# the terms of any one of the MPL, the GPL or the LGPL.
|
||||
#
|
||||
# ***** END LICENSE BLOCK *****
|
||||
|
||||
DEPTH = ../..
|
||||
topsrcdir = ../..
|
||||
srcdir = .
|
||||
VPATH = .
|
||||
|
||||
include $(DEPTH)/config/autoconf.mk
|
||||
|
||||
DIRS = base app
|
||||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
||||
sunbird::
|
||||
rm -rf ./MozillaSunbird
|
||||
mkdir ./MozillaSunbird
|
||||
cd MozillaSunbird
|
||||
mkdir -p ./MozillaSunbird/chrome/
|
||||
mkdir -p ./MozillaSunbird/components/
|
||||
mkdir -p ./MozillaSunbird/defaults/pref
|
||||
mkdir -p ./MozillaSunbird/defaults/profile/chrome
|
||||
mkdir -p ./MozillaSunbird/defaults/profile/US/chrome
|
||||
mkdir -p ./MozillaSunbird/defaults/autoconfig
|
||||
mkdir -p ./MozillaSunbird/res/entityTables
|
||||
mkdir -p ./MozillaSunbird/res/rdf
|
||||
mkdir -p ./MozillaSunbird/res/builtin
|
||||
cp $(topsrcdir)/dist/bin/MozillaSunbird* ./MozillaSunbird
|
||||
cp $(topsrcdir)/dist/bin/$(LIB_PREFIX)gkgfx$(DLL_SUFFIX) ./MozillaSunbird/
|
||||
cp $(topsrcdir)/dist/bin/$(LIB_PREFIX)mozjs$(DLL_SUFFIX) ./MozillaSunbird/
|
||||
cp $(topsrcdir)/dist/bin/$(LIB_PREFIX)plc4$(DLL_SUFFIX) ./MozillaSunbird/
|
||||
cp $(topsrcdir)/dist/bin/$(LIB_PREFIX)ssl3$(DLL_SUFFIX) ./MozillaSunbird/
|
||||
cp $(topsrcdir)/dist/bin/$(LIB_PREFIX)xpcom$(DLL_SUFFIX) ./MozillaSunbird/
|
||||
cp $(topsrcdir)/dist/bin/$(LIB_PREFIX)gtksuperwin$(DLL_SUFFIX) ./MozillaSunbird/
|
||||
cp $(topsrcdir)/dist/bin/$(LIB_PREFIX)jsj$(DLL_SUFFIX) ./MozillaSunbird/
|
||||
cp $(topsrcdir)/dist/bin/$(LIB_PREFIX)mozz$(DLL_SUFFIX) ./MozillaSunbird/
|
||||
cp $(topsrcdir)/dist/bin/$(LIB_PREFIX)nss3$(DLL_SUFFIX) ./MozillaSunbird/
|
||||
cp $(topsrcdir)/dist/bin/$(LIB_PREFIX)smime3$(DLL_SUFFIX) ./MozillaSunbird/
|
||||
cp $(topsrcdir)/dist/bin/$(LIB_PREFIX)xpistub$(DLL_SUFFIX) ./MozillaSunbird/
|
||||
cp $(topsrcdir)/dist/bin/$(LIB_PREFIX)gtkembedmoz$(DLL_SUFFIX) ./MozillaSunbird/
|
||||
cp $(topsrcdir)/dist/bin/$(LIB_PREFIX)gtkxtbin$(DLL_SUFFIX) ./MozillaSunbird/
|
||||
cp $(topsrcdir)/dist/bin/$(LIB_PREFIX)nspr4$(DLL_SUFFIX) ./MozillaSunbird/
|
||||
cp $(topsrcdir)/dist/bin/$(LIB_PREFIX)nssckbi$(DLL_SUFFIX) ./MozillaSunbird/
|
||||
cp $(topsrcdir)/dist/bin/$(LIB_PREFIX)plds4$(DLL_SUFFIX) ./MozillaSunbird/
|
||||
cp $(topsrcdir)/dist/bin/$(LIB_PREFIX)softokn3$(DLL_SUFFIX) ./MozillaSunbird/
|
||||
cp $(topsrcdir)/dist/bin/$(LIB_PREFIX)xlibrgb$(DLL_SUFFIX) ./MozillaSunbird/
|
||||
cp $(topsrcdir)/dist/bin/$(LIB_PREFIX)xpcom_compat$(DLL_SUFFIX) ./MozillaSunbird/
|
||||
cp $(topsrcdir)/dist/bin/mangle ./MozillaSunbird/
|
||||
cp $(topsrcdir)/dist/bin/mozilla-xremote-client ./MozillaSunbird/
|
||||
cp $(topsrcdir)/dist/bin/run-mozilla.sh ./MozillaSunbird/
|
||||
cp $(topsrcdir)/dist/bin/shlibsign ./MozillaSunbird/
|
||||
cp $(topsrcdir)/dist/bin/timebombgen ./MozillaSunbird/
|
||||
cp $(topsrcdir)/dist/bin/xpicleanup ./MozillaSunbird/
|
||||
cp $(topsrcdir)/dist/bin/chrome/chrome.rdf ./MozillaSunbird/chrome
|
||||
cp $(topsrcdir)/dist/bin/chrome/US.jar ./MozillaSunbird/chrome
|
||||
cp $(topsrcdir)/dist/bin/chrome/classic.jar ./MozillaSunbird/chrome
|
||||
cp $(topsrcdir)/dist/bin/chrome/embed-sample.jar ./MozillaSunbird/chrome
|
||||
cp $(topsrcdir)/dist/bin/chrome/en-mac.jar ./MozillaSunbird/chrome
|
||||
cp $(topsrcdir)/dist/bin/chrome/en-win.jar ./MozillaSunbird/chrome
|
||||
cp $(topsrcdir)/dist/bin/chrome/modern.jar ./MozillaSunbird/chrome
|
||||
cp $(topsrcdir)/dist/bin/chrome/pippki.jar ./MozillaSunbird/chrome
|
||||
cp $(topsrcdir)/dist/bin/chrome/browser.jar ./MozillaSunbird/chrome
|
||||
cp $(topsrcdir)/dist/bin/chrome/comm.jar ./MozillaSunbird/chrome
|
||||
cp $(topsrcdir)/dist/bin/chrome/en-US.jar ./MozillaSunbird/chrome
|
||||
cp $(topsrcdir)/dist/bin/chrome/en-unix.jar ./MozillaSunbird/chrome
|
||||
cp $(topsrcdir)/dist/bin/chrome/pipnss.jar ./MozillaSunbird/chrome
|
||||
cp $(topsrcdir)/dist/bin/chrome/toolkit.jar ./MozillaSunbird/chrome
|
||||
cp $(topsrcdir)/dist/bin/defaults/pref/security-prefs.js ./MozillaSunbird/defaults/pref
|
||||
cp $(topsrcdir)/dist/bin/defaults/pref/all.js ./MozillaSunbird/defaults/pref
|
||||
cp $(topsrcdir)/dist/bin/defaults/pref/mailnews.js ./MozillaSunbird/defaults/pref
|
||||
cp $(topsrcdir)/dist/bin/defaults/pref/editor.js ./MozillaSunbird/defaults/pref
|
||||
cp $(topsrcdir)/dist/bin/defaults/pref/unix.js ./MozillaSunbird/defaults/pref
|
||||
cp $(topsrcdir)/dist/bin/defaults/pref/xpinstall.js ./MozillaSunbird/defaults/pref
|
||||
cp $(topsrcdir)/dist/bin/defaults/profile/chrome/userContent-example.css ./MozillaSunbird/defaults/profile/chrome
|
||||
cp $(topsrcdir)/dist/bin/defaults/profile/chrome/userChrome-example.css ./MozillaSunbird/defaults/profile/chrome
|
||||
cp $(topsrcdir)/dist/bin/defaults/profile/US/chrome/userContent-example.css ./MozillaSunbird/defaults/profile/US/chrome
|
||||
cp $(topsrcdir)/dist/bin/defaults/profile/US/chrome/userChrome-example.css ./MozillaSunbird/defaults/profile/US/chrome
|
||||
cp $(topsrcdir)/dist/bin/defaults/profile/US/bookmarks.html ./MozillaSunbird/defaults/profile/US
|
||||
cp $(topsrcdir)/dist/bin/defaults/profile/US/panels.rdf ./MozillaSunbird/defaults/profile/US
|
||||
cp $(topsrcdir)/dist/bin/defaults/profile/US/localstore.rdf ./MozillaSunbird/defaults/profile/US
|
||||
cp $(topsrcdir)/dist/bin/defaults/profile/US/search.rdf ./MozillaSunbird/defaults/profile/US
|
||||
cp $(topsrcdir)/dist/bin/defaults/profile/US/mimeTypes.rdf ./MozillaSunbird/defaults/profile/US
|
||||
cp $(topsrcdir)/dist/bin/defaults/profile/panels.rdf ./MozillaSunbird/defaults/profile
|
||||
cp $(topsrcdir)/dist/bin/defaults/profile/localstore.rdf ./MozillaSunbird/defaults/profile
|
||||
cp $(topsrcdir)/dist/bin/defaults/profile/search.rdf ./MozillaSunbird/defaults/profile
|
||||
cp $(topsrcdir)/dist/bin/defaults/profile/mimeTypes.rdf ./MozillaSunbird/defaults/profile
|
||||
cp $(topsrcdir)/dist/bin/defaults/autoconfig/prefcalls.js ./MozillaSunbird/defaults/autoconfig
|
||||
cp $(topsrcdir)/dist/bin/defaults/autoconfig/platform.js ./MozillaSunbird/defaults/autoconfig
|
||||
cp $(topsrcdir)/dist/bin/res/bloatcycle.html ./MozillaSunbird/res
|
||||
cp $(topsrcdir)/dist/bin/res/entityTables/htmlEntityVersions.properties ./MozillaSunbird/res/entityTables
|
||||
cp $(topsrcdir)/dist/bin/res/entityTables/html40Latin1.properties ./MozillaSunbird/res/entityTables
|
||||
cp $(topsrcdir)/dist/bin/res/entityTables/html40Symbols.properties ./MozillaSunbird/res/entityTables
|
||||
cp $(topsrcdir)/dist/bin/res/entityTables/html40Special.properties ./MozillaSunbird/res/entityTables
|
||||
cp $(topsrcdir)/dist/bin/res/entityTables/transliterate.properties ./MozillaSunbird/res/entityTables
|
||||
cp $(topsrcdir)/dist/bin/res/entityTables/mathml20.properties ./MozillaSunbird/res/entityTables
|
||||
cp $(topsrcdir)/dist/bin/res/charsetalias.properties ./MozillaSunbird/res
|
||||
cp $(topsrcdir)/dist/bin/res/charsetData.properties ./MozillaSunbird/res
|
||||
cp $(topsrcdir)/dist/bin/res/unixcharset.properties ./MozillaSunbird/res
|
||||
cp $(topsrcdir)/dist/bin/res/langGroups.properties ./MozillaSunbird/res
|
||||
cp $(topsrcdir)/dist/bin/res/language.properties ./MozillaSunbird/res
|
||||
cp $(topsrcdir)/dist/bin/res/rdf/article.gif ./MozillaSunbird/res/rdf
|
||||
cp $(topsrcdir)/dist/bin/res/rdf/document.gif ./MozillaSunbird/res/rdf
|
||||
cp $(topsrcdir)/dist/bin/res/rdf/folder-closed.gif ./MozillaSunbird/res/rdf
|
||||
cp $(topsrcdir)/dist/bin/res/rdf/folder-open.gif ./MozillaSunbird/res/rdf
|
||||
cp $(topsrcdir)/dist/bin/res/rdf/loading.gif ./MozillaSunbird/res/rdf
|
||||
cp $(topsrcdir)/dist/bin/res/sample.unixpsfonts.properties ./MozillaSunbird/res
|
||||
cp $(topsrcdir)/dist/bin/res/builtin/platformHTMLBindings.xml ./MozillaSunbird/res/builtin
|
||||
cp $(topsrcdir)/dist/bin/res/builtin/htmlBindings.xml ./MozillaSunbird/res/builtin
|
||||
cp $(topsrcdir)/dist/bin/res/broken-image.gif ./MozillaSunbird/res
|
||||
cp $(topsrcdir)/dist/bin/res/loading-image.gif ./MozillaSunbird/res
|
||||
cp $(topsrcdir)/dist/bin/res/html.css ./MozillaSunbird/res
|
||||
cp $(topsrcdir)/dist/bin/res/quirk.css ./MozillaSunbird/res
|
||||
cp $(topsrcdir)/dist/bin/res/viewsource.css ./MozillaSunbird/res
|
||||
cp $(topsrcdir)/dist/bin/res/arrow.gif ./MozillaSunbird/res
|
||||
cp $(topsrcdir)/dist/bin/res/arrowd.gif ./MozillaSunbird/res
|
||||
cp $(topsrcdir)/dist/bin/res/forms.css ./MozillaSunbird/res
|
||||
cp $(topsrcdir)/dist/bin/res/platform-forms.css ./MozillaSunbird/res
|
||||
cp $(topsrcdir)/dist/bin/res/ua.css ./MozillaSunbird/res
|
||||
cp $(topsrcdir)/dist/bin/res/mathml.css ./MozillaSunbird/res
|
||||
cp $(topsrcdir)/dist/bin/res/viewer.properties ./MozillaSunbird/res
|
||||
cp $(topsrcdir)/dist/bin/res/EditorOverride.css ./MozillaSunbird/res
|
||||
cp $(topsrcdir)/dist/bin/res/grabber.gif ./MozillaSunbird/res
|
||||
cp $(topsrcdir)/dist/bin/res/table-add-column-after-active.gif ./MozillaSunbird/res
|
||||
cp $(topsrcdir)/dist/bin/res/table-add-column-after-hover.gif ./MozillaSunbird/res
|
||||
cp $(topsrcdir)/dist/bin/res/table-add-column-after.gif ./MozillaSunbird/res
|
||||
cp $(topsrcdir)/dist/bin/res/table-add-column-before-active.gif ./MozillaSunbird/res
|
||||
cp $(topsrcdir)/dist/bin/res/table-add-column-before-hover.gif ./MozillaSunbird/res
|
||||
cp $(topsrcdir)/dist/bin/res/table-add-column-before.gif ./MozillaSunbird/res
|
||||
cp $(topsrcdir)/dist/bin/res/table-add-row-after-active.gif ./MozillaSunbird/res
|
||||
cp $(topsrcdir)/dist/bin/res/table-add-row-after-hover.gif ./MozillaSunbird/res
|
||||
cp $(topsrcdir)/dist/bin/res/table-add-row-after.gif ./MozillaSunbird/res
|
||||
cp $(topsrcdir)/dist/bin/res/table-add-row-before-active.gif ./MozillaSunbird/res
|
||||
cp $(topsrcdir)/dist/bin/res/table-add-row-before-hover.gif ./MozillaSunbird/res
|
||||
cp $(topsrcdir)/dist/bin/res/table-add-row-before.gif ./MozillaSunbird/res
|
||||
cp $(topsrcdir)/dist/bin/res/table-remove-column-active.gif ./MozillaSunbird/res
|
||||
cp $(topsrcdir)/dist/bin/res/table-remove-column-hover.gif ./MozillaSunbird/res
|
||||
cp $(topsrcdir)/dist/bin/res/table-remove-column.gif ./MozillaSunbird/res
|
||||
cp $(topsrcdir)/dist/bin/res/table-remove-row-active.gif ./MozillaSunbird/res
|
||||
cp $(topsrcdir)/dist/bin/res/table-remove-row-hover.gif ./MozillaSunbird/res
|
||||
cp $(topsrcdir)/dist/bin/res/table-remove-row.gif ./MozillaSunbird/res
|
||||
cp $(topsrcdir)/dist/bin/res/cmessage.txt ./MozillaSunbird/res
|
||||
cp $(topsrcdir)/dist/bin/components/xpcom_base.xpt ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/xpcom_ds.xpt ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/xpcom_io.xpt ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/xpcom_components.xpt ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/xpcom_threads.xpt ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/xpcom_xpti.xpt ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/proxyObjInst.xpt ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/$(LIB_PREFIX)xpcom_compat_c$(DLL_SUFFIX) ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/xpcom_obsolete.xpt ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/xpconnect.xpt ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/$(LIB_PREFIX)xpconnect$(DLL_SUFFIX) ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/unicharutil.xpt ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/uconv.xpt ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/ucnative.xpt ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/$(LIB_PREFIX)uconv$(DLL_SUFFIX) ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/$(LIB_PREFIX)ucvmath$(DLL_SUFFIX) ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/locale.xpt ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/intl.xpt ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/lwbrk.xpt ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/chardet.xpt ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/$(LIB_PREFIX)i18n$(DLL_SUFFIX) ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/$(LIB_PREFIX)jar50$(DLL_SUFFIX) ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/jar.xpt ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/oji.xpt ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/$(LIB_PREFIX)oji$(DLL_SUFFIX) ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/$(LIB_PREFIX)jsd$(DLL_SUFFIX) ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/jsdservice.xpt ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/util.xpt ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/necko.xpt ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/nsProxyAutoConfig.js ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/necko_cookie.xpt ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/necko_dns.xpt ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/necko_socket.xpt ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/mimetype.xpt ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/necko_strconv.xpt ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/necko_cache.xpt ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/necko_about.xpt ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/necko_data.xpt ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/necko_res.xpt ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/necko_file.xpt ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/necko_jar.xpt ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/necko_http.xpt ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/necko_viewsource.xpt ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/necko_ftp.xpt ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/$(LIB_PREFIX)necko$(DLL_SUFFIX) ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/$(LIB_PREFIX)necko2$(DLL_SUFFIX) ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/uriloader.xpt ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/exthandler.xpt ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/prefetch.xpt ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/pref.xpt ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/$(LIB_PREFIX)pref$(DLL_SUFFIX) ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/caps.xpt ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/$(LIB_PREFIX)caps$(DLL_SUFFIX) ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/rdf.xpt ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/chrome.xpt ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/$(LIB_PREFIX)chrome$(DLL_SUFFIX) ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/$(LIB_PREFIX)rdf$(DLL_SUFFIX) ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/htmlparser.xpt ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/$(LIB_PREFIX)htmlpars$(DLL_SUFFIX) ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/gfx.xpt ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/$(LIB_PREFIX)gfxps$(DLL_SUFFIX) ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/$(LIB_PREFIX)gfxxprint$(DLL_SUFFIX) ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/$(LIB_PREFIX)gfx_gtk$(DLL_SUFFIX) ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/imglib2.xpt ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/$(LIB_PREFIX)imglib2$(DLL_SUFFIX) ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/plugin.xpt ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/$(LIB_PREFIX)gkplugin$(DLL_SUFFIX) ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/dom_base.xpt ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/dom_core.xpt ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/dom_html.xpt ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/dom_events.xpt ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/dom_stylesheets.xpt ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/dom_views.xpt ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/dom_css.xpt ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/dom_traversal.xpt ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/dom_range.xpt ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/dom_xbl.xpt ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/dom_xpath.xpt ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/dom_xul.xpt ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/dom.xpt ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/jsurl.xpt ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/$(LIB_PREFIX)jsdom$(DLL_SUFFIX) ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/widget.xpt ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/$(LIB_PREFIX)widget_gtk$(DLL_SUFFIX) ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/$(LIB_PREFIX)xremote_client$(DLL_SUFFIX) ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/content_base.xpt ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/content_html.xpt ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/content_htmldoc.xpt ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/content_xmldoc.xpt ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/xuldoc.xpt ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/xultmpl.xpt ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/content_xslt.xpt ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/layout_base.xpt ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/layout_xul.xpt ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/layout_xul_tree.xpt ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/$(LIB_PREFIX)gklayout$(DLL_SUFFIX) ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/$(LIB_PREFIX)mork$(DLL_SUFFIX) ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/shistory.xpt ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/docshell.xpt ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/$(LIB_PREFIX)docshell$(DLL_SUFFIX) ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/webshell_idls.xpt ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/profile.xpt ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/$(LIB_PREFIX)profile$(DLL_SUFFIX) ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/prefmigr.xpt ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/$(LIB_PREFIX)nsprefm$(DLL_SUFFIX) ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/embed_base.xpt ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/windowwatcher.xpt ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/find.xpt ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/webbrowserpersist.xpt ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/commandhandler.xpt ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/helperAppDlg.xpt ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/nsHelperAppDlg.js ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/progressDlg.xpt ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/nsProgressDialog.js ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/jsconsole.xpt ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/profilesharingsetup.xpt ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/$(LIB_PREFIX)embedcomponents$(DLL_SUFFIX) ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/webBrowser_core.xpt ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/$(LIB_PREFIX)webbrwsr$(DLL_SUFFIX) ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/editor.xpt ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/txtsvc.xpt ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/$(LIB_PREFIX)editor$(DLL_SUFFIX) ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/$(LIB_PREFIX)txmgr$(DLL_SUFFIX) ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/txmgr.xpt ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/composer.xpt ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/$(LIB_PREFIX)composer$(DLL_SUFFIX) ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/accessibility.xpt ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/$(LIB_PREFIX)accessibility$(DLL_SUFFIX) ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/appshell.xpt ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/$(LIB_PREFIX)nsappshell$(DLL_SUFFIX) ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/nsCloseAllWindows.js ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/mozbrwsr.xpt ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/directory.xpt ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/filepicker.xpt ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/$(LIB_PREFIX)fileview$(DLL_SUFFIX) ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/nsFilePicker.js ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/mozfind.xpt ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/$(LIB_PREFIX)mozfind$(DLL_SUFFIX) ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/search.xpt ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/sidebar.xpt ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/nsSidebar.js ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/related.xpt ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/timebomb.xpt ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/jsconsole-clhandler.js ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/nsUpdateNotifier.js ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/nsResetPref.js ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/nsKillAll.js ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/windowds.xpt ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/xremoteservice.xpt ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/$(LIB_PREFIX)xremoteservice$(DLL_SUFFIX) ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/$(LIB_PREFIX)appcomps$(DLL_SUFFIX) ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/xpinstall.xpt ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/$(LIB_PREFIX)xpinstall$(DLL_SUFFIX) ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/autocomplete.xpt ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/history.xpt ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/satchel.xpt ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/$(LIB_PREFIX)toolkitcomps$(DLL_SUFFIX) ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/bookmarks.xpt ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/$(LIB_PREFIX)cookie$(DLL_SUFFIX) ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/cookie.xpt ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/wallet.xpt ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/$(LIB_PREFIX)wallet$(DLL_SUFFIX) ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/walleteditor.xpt ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/signonviewer.xpt ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/walletpreview.xpt ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/$(LIB_PREFIX)walletviewers$(DLL_SUFFIX) ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/xml-rpc.xpt ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/nsDictionary.js ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/nsXmlRpcClient.js ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/xmlextras.xpt ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/$(LIB_PREFIX)xmlextras$(DLL_SUFFIX) ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/p3p.xpt ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/$(LIB_PREFIX)p3p$(DLL_SUFFIX) ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/autoconfig.xpt ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/$(LIB_PREFIX)autoconfig$(DLL_SUFFIX) ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/$(LIB_PREFIX)transformiix$(DLL_SUFFIX) ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/$(LIB_PREFIX)universalchardet$(DLL_SUFFIX) ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/typeaheadfind.xpt ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/$(LIB_PREFIX)typeaheadfind$(DLL_SUFFIX) ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/websrvcs.xpt ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/nsInterfaceInfoToIDL.js ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/$(LIB_PREFIX)websrvcs$(DLL_SUFFIX) ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/pipboot.xpt ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/$(LIB_PREFIX)pipboot$(DLL_SUFFIX) ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/$(LIB_PREFIX)pipnss$(DLL_SUFFIX) ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/pipnss.xpt ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/pippki.xpt ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/$(LIB_PREFIX)pippki$(DLL_SUFFIX) ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/downloads.xpt ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/nsDownloadProgressListener.js ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/$(LIB_PREFIX)browsercomps$(DLL_SUFFIX) ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/$(LIB_PREFIX)xpical$(DLL_SUFFIX) ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/components/calendar.xpt ./MozillaSunbird/components
|
||||
cp $(topsrcdir)/dist/bin/chrome/calendar.jar ./MozillaSunbird/chrome
|
1
calendar/sunbird/app/.cvsignore
Normal file
1
calendar/sunbird/app/.cvsignore
Normal file
@ -0,0 +1 @@
|
||||
Makefile
|
192
calendar/sunbird/app/Makefile.in
Normal file
192
calendar/sunbird/app/Makefile.in
Normal file
@ -0,0 +1,192 @@
|
||||
# ***** 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.org code.
|
||||
#
|
||||
# The Initial Developer of the Original Code is
|
||||
# Netscape Communications.
|
||||
# Portions created by the Initial Developer are Copyright (C) 2001
|
||||
# the Initial Developer. All Rights Reserved.
|
||||
#
|
||||
# Contributor(s):
|
||||
# Brian Ryner <bryner@netscape.com>
|
||||
# Jonathan Wilson <jonwil@tpgi.com.au>
|
||||
# Dan Mosedale <dmose@mozilla.org>
|
||||
#
|
||||
# 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
|
||||
|
||||
PREF_JS_EXPORTS = \
|
||||
$(srcdir)/profile/all.js \
|
||||
$(NULL)
|
||||
|
||||
ifeq ($(USE_SHORT_LIBNAME), 1)
|
||||
PROGRAM = MozillaSunbird$(BIN_SUFFIX)
|
||||
else
|
||||
PROGRAM = MozillaSunbird-bin$(BIN_SUFFIX)
|
||||
endif
|
||||
|
||||
REQUIRES = \
|
||||
appshell \
|
||||
string \
|
||||
xpcom \
|
||||
xulapp \
|
||||
$(NULL)
|
||||
|
||||
CPPSRCS = nsCalendarApp.cpp
|
||||
|
||||
ifdef BUILD_STATIC_LIBS
|
||||
STATIC_COMPONENTS_LINKER_PATH = -L$(DIST)/lib/components
|
||||
endif
|
||||
|
||||
LIBS = \
|
||||
$(STATIC_COMPONENTS_LINKER_PATH) \
|
||||
$(EXTRA_DSO_LIBS) \
|
||||
$(DIST)/lib/$(LIB_PREFIX)xulapp_s.$(LIB_SUFFIX) \
|
||||
$(MOZ_JS_LIBS) \
|
||||
$(XPCOM_LIBS) \
|
||||
$(NSPR_LIBS) \
|
||||
$(TK_LIBS) \
|
||||
$(NULL)
|
||||
|
||||
ifdef MOZ_JPROF
|
||||
LIBS += -ljprof
|
||||
endif
|
||||
|
||||
ifndef MOZ_WINCONSOLE
|
||||
ifdef MOZ_DEBUG
|
||||
MOZ_WINCONSOLE = 1
|
||||
else
|
||||
MOZ_WINCONSOLE = 0
|
||||
endif
|
||||
endif
|
||||
|
||||
include $(topsrcdir)/config/config.mk
|
||||
ifndef BUILD_STATIC_LIBS
|
||||
|
||||
ifdef NS_TRACE_MALLOC
|
||||
EXTRA_DSO_LIBS += tracemalloc
|
||||
endif
|
||||
|
||||
else
|
||||
include $(topsrcdir)/config/static-config.mk
|
||||
|
||||
EXTRA_DEPS += \
|
||||
$(STATIC_EXTRA_DEPS) \
|
||||
$(NULL)
|
||||
DEFINES += $(STATIC_DEFINES)
|
||||
CPPSRCS += $(STATIC_CPPSRCS)
|
||||
EXTRA_DSO_LIBS += $(STATIC_EXTRA_DSO_LIBS)
|
||||
REQUIRES += $(STATIC_REQUIRES)
|
||||
EXTRA_LIBS += $(STATIC_EXTRA_LIBS)
|
||||
endif
|
||||
|
||||
ifeq ($(OS_ARCH),WINNT)
|
||||
OS_LIBS += $(call EXPAND_LIBNAME,comctl32 comdlg32 uuid shell32 ole32 oleaut32 version winspool gdi32)
|
||||
RCINCLUDE = splash.rc
|
||||
ifndef GNU_CC
|
||||
RCFLAGS += -DMOZ_PHOENIX -I$(srcdir)
|
||||
else
|
||||
RCFLAGS += -DMOZ_PHOENIX --include-dir $(srcdir)
|
||||
endif
|
||||
ifdef BUILD_STATIC_LIBS
|
||||
RCFLAGS += -DMOZ_STATIC_BUILD
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(OS_ARCH),OS2)
|
||||
RESFILE=splashos2.res
|
||||
ifdef BUILD_STATIC_LIBS
|
||||
EXE_DEF_FILE = browser.def
|
||||
ifeq ($(MOZ_OS2_TOOLS),VACPP)
|
||||
OS_LIBS += libuls.lib libconv.lib
|
||||
else
|
||||
OS_LIBS += -llibuni -luconv
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
||||
ifdef BUILD_STATIC_LIBS
|
||||
include $(topsrcdir)/config/static-rules.mk
|
||||
endif
|
||||
|
||||
$(PROGRAM): $(DIST)/lib/$(LIB_PREFIX)xulapp_s.$(LIB_SUFFIX)
|
||||
|
||||
ifeq ($(OS_ARCH),OS2)
|
||||
ifdef BUILD_STATIC_LIBS
|
||||
$(EXE_DEF_FILE):
|
||||
rm -f $@
|
||||
@echo NAME mozilla >$(EXE_DEF_FILE)
|
||||
@echo IMPORTS >>$(EXE_DEF_FILE)
|
||||
@echo WinQueryProperty = PMMERGE.5450 >>$(EXE_DEF_FILE)
|
||||
@echo WinRemoveProperty = PMMERGE.5451 >>$(EXE_DEF_FILE)
|
||||
@echo WinSetProperty = PMMERGE.5452 >>$(EXE_DEF_FILE)
|
||||
|
||||
LDFLAGS += /NOE
|
||||
endif
|
||||
endif
|
||||
|
||||
ifneq (,$(filter-out OS2 WINNT,$(OS_ARCH)))
|
||||
MozillaSunbird:: mozilla.in Makefile.in Makefile $(DEPTH)/config/autoconf.mk
|
||||
cat $< | sed -e "s|%MOZAPPDIR%|$(mozappdir)|" \
|
||||
-e "s|%MREDIR%|$(mredir)|" \
|
||||
-e "s|mozilla-bin|$(PROGRAM)|g" > $@
|
||||
chmod +x $@
|
||||
|
||||
libs:: MozillaSunbird
|
||||
$(INSTALL) $< $(DIST)/bin
|
||||
|
||||
install:: MozillaSunbird
|
||||
$(SYSINSTALL) $< $(DESTDIR)$(bindir)
|
||||
|
||||
GARBAGE += MozillaSunbird
|
||||
GARBAGE += $(addprefix $(DIST)/bin/defaults/pref/, all.js)
|
||||
|
||||
endif
|
||||
|
||||
ifneq (,$(filter mac cocoa,$(MOZ_WIDGET_TOOLKIT)))
|
||||
|
||||
APP_NAME = Mozilla\ Sunbird
|
||||
|
||||
libs:: $(PROGRAM)
|
||||
mkdir -p $(DIST)/$(APP_NAME).app/Contents/MacOS
|
||||
rsync -a $(srcdir)/macbuild/Contents $(DIST)/$(APP_NAME).app
|
||||
rsync -a $(DIST)/bin/ $(DIST)/$(APP_NAME).app/Contents/MacOS
|
||||
rm -f $(DIST)/$(APP_NAME).app/Contents/MacOS/$(PROGRAM)
|
||||
rsync -aL $(PROGRAM) $(DIST)/$(APP_NAME).app/Contents/MacOS
|
||||
cp -RL $(srcdir)/macbuild/mach.icns $(DIST)/$(APP_NAME).app/Contents/Resources/mach.icns
|
||||
echo -n APPLMOZZ > $(DIST)/$(APP_NAME).app/Contents/PkgInfo
|
||||
|
||||
clean clobber::
|
||||
rm -rf $(DIST)/$(APP_NAME).app
|
||||
endif
|
120
calendar/sunbird/app/MozillaSunbird
Executable file
120
calendar/sunbird/app/MozillaSunbird
Executable file
@ -0,0 +1,120 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# The contents of this file are subject to the Netscape Public License
|
||||
# Version 1.0 (the "NPL"); you may not use this file except in
|
||||
# compliance with the NPL. You may obtain a copy of the NPL at
|
||||
# http://www.mozilla.org/NPL/
|
||||
#
|
||||
# Software distributed under the NPL is distributed on an "AS IS" basis,
|
||||
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
|
||||
# for the specific language governing rights and limitations under the
|
||||
# NPL.
|
||||
#
|
||||
# The Initial Developer of this code under the NPL is Netscape
|
||||
# Communications Corporation. Portions created by Netscape are
|
||||
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
|
||||
# Reserved.
|
||||
#
|
||||
|
||||
## $Id: MozillaSunbird,v 1.1 2003/07/16 20:26:37 mostafah%oeone.com Exp $
|
||||
##
|
||||
## Usage:
|
||||
##
|
||||
## $ mozilla [args]
|
||||
##
|
||||
## This script is meant to run the MozillaSunbird-bin binary from either
|
||||
## mozilla/xpfe/bootstrap or mozilla/dist/bin.
|
||||
##
|
||||
## The script will setup all the environment voodoo needed to make
|
||||
## the MozillaSunbird-bin binary to work.
|
||||
##
|
||||
|
||||
#uncomment for debugging
|
||||
#set -x
|
||||
|
||||
moz_libdir=/usr/local/lib/mozilla-1.5b
|
||||
MRE_HOME=/usr/local/lib/mre/mre-1.5b
|
||||
|
||||
# honor MOZILLA_FIVE_HOME if it's there
|
||||
if [ -n "$MOZILLA_FIVE_HOME" ] ; then
|
||||
dist_bin="$MOZILLA_FIVE_HOME"
|
||||
else
|
||||
# Use run-mozilla.sh in the current dir if it exists
|
||||
# If not, then start resolving symlinks until we find run-mozilla.sh
|
||||
found=0
|
||||
progname=$0
|
||||
curdir=`dirname "$progname"`
|
||||
run_moz="$curdir/run-mozilla.sh"
|
||||
if test -x "$run_moz"; then
|
||||
dist_bin=$curdir
|
||||
found=1
|
||||
else
|
||||
here=`/bin/pwd`
|
||||
while [ -h "$progname" ]; do
|
||||
bn=`basename "$progname"`
|
||||
cd `dirname "$progname"`
|
||||
progname=`/bin/ls -l "$bn" |sed -e 's/^.* -> //' `
|
||||
if [ ! -x "$progname" ]; then
|
||||
break
|
||||
fi
|
||||
curdir=`dirname "$progname"`
|
||||
run_moz="$curdir/run-mozilla.sh"
|
||||
if [ -x "$run_moz" ]; then
|
||||
cd "$curdir"
|
||||
dist_bin=`pwd`
|
||||
found=1
|
||||
break
|
||||
fi
|
||||
done
|
||||
cd "$here"
|
||||
fi
|
||||
if [ $found = 0 ]; then
|
||||
# Check default compile-time libdir
|
||||
if [ -x "$moz_libdir/run-mozilla.sh" ]; then
|
||||
dist_bin=$moz_libdir
|
||||
else
|
||||
echo "Cannot find mozilla runtime directory. Exiting."
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
script_args=""
|
||||
moreargs=""
|
||||
debugging=0
|
||||
MOZILLA_BIN="MozillaSunbird-bin"
|
||||
|
||||
if [ "$OSTYPE" = "beos" ]; then
|
||||
mimeset -F $MOZILLA_BIN
|
||||
fi
|
||||
|
||||
while [ $# -gt 0 ]
|
||||
do
|
||||
case "$1" in
|
||||
-p | -pure)
|
||||
MOZILLA_BIN="MozillaSunbird-bin.pure"
|
||||
shift
|
||||
;;
|
||||
-g | --debug)
|
||||
script_args="$script_args -g"
|
||||
debugging=1
|
||||
shift
|
||||
;;
|
||||
-d | --debugger)
|
||||
script_args="$script_args -d $2"
|
||||
shift 2
|
||||
;;
|
||||
*)
|
||||
moreargs="$moreargs \"$1\""
|
||||
shift 1
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
export MRE_HOME
|
||||
eval "set -- $moreargs"
|
||||
if [ $debugging = 1 ]
|
||||
then
|
||||
echo $dist_bin/run-mozilla.sh $script_args $dist_bin/$MOZILLA_BIN "$@"
|
||||
fi
|
||||
exec "$dist_bin/run-mozilla.sh" $script_args "$dist_bin/$MOZILLA_BIN" "$@" -calendar
|
BIN
calendar/sunbird/app/MozillaSunbird-bin
Executable file
BIN
calendar/sunbird/app/MozillaSunbird-bin
Executable file
Binary file not shown.
22
calendar/sunbird/app/MozillaSunbird.exe.manifest
Normal file
22
calendar/sunbird/app/MozillaSunbird.exe.manifest
Normal file
@ -0,0 +1,22 @@
|
||||
<?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="X86"
|
||||
name="Microsoft.Winweb.MantaRay"
|
||||
type="win32"
|
||||
/>
|
||||
<description>.NET control deployment tool</description>
|
||||
<dependency>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity
|
||||
type="win32"
|
||||
name="Microsoft.Windows.Common-Controls"
|
||||
version="6.0.0.0"
|
||||
processorArchitecture="X86"
|
||||
publicKeyToken="6595b64144ccf1df"
|
||||
language="*"
|
||||
/>
|
||||
</dependentAssembly>
|
||||
</dependency>
|
||||
</assembly>
|
6
calendar/sunbird/app/brand.dtd
Normal file
6
calendar/sunbird/app/brand.dtd
Normal file
@ -0,0 +1,6 @@
|
||||
<!ENTITY lang.version "1.3a">
|
||||
<!ENTITY brandShortName "Mozilla Sunbird">
|
||||
<!ENTITY version "0.1">
|
||||
<!ENTITY vendorShortName "Mozilla Sunbird">
|
||||
|
||||
<!ENTITY releaseURL "http://www.mozilla.org/projects/calendar">
|
2
calendar/sunbird/app/brand.properties
Normal file
2
calendar/sunbird/app/brand.properties
Normal file
@ -0,0 +1,2 @@
|
||||
brandShortName=Mozilla Sunbird
|
||||
vendorShortName=Mozilla Sunbird
|
3
calendar/sunbird/app/jar.mn
Normal file
3
calendar/sunbird/app/jar.mn
Normal file
@ -0,0 +1,3 @@
|
||||
en-US.jar:
|
||||
+ locale/en-US/global/brand.dtd (brand.dtd)
|
||||
+ locale/en-US/global/brand.properties (brand.properties)
|
2
calendar/sunbird/app/module.ver
Normal file
2
calendar/sunbird/app/module.ver
Normal file
@ -0,0 +1,2 @@
|
||||
WIN32_MODULE_DESCRIPTION=Mozilla Sunbird
|
||||
WIN32_MODULE_PRODUCTNAME=Mozilla Sunbird
|
BIN
calendar/sunbird/app/mozilla.ico
Normal file
BIN
calendar/sunbird/app/mozilla.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.6 KiB |
120
calendar/sunbird/app/mozilla.in
Executable file
120
calendar/sunbird/app/mozilla.in
Executable file
@ -0,0 +1,120 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# The contents of this file are subject to the Netscape Public License
|
||||
# Version 1.0 (the "NPL"); you may not use this file except in
|
||||
# compliance with the NPL. You may obtain a copy of the NPL at
|
||||
# http://www.mozilla.org/NPL/
|
||||
#
|
||||
# Software distributed under the NPL is distributed on an "AS IS" basis,
|
||||
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
|
||||
# for the specific language governing rights and limitations under the
|
||||
# NPL.
|
||||
#
|
||||
# The Initial Developer of this code under the NPL is Netscape
|
||||
# Communications Corporation. Portions created by Netscape are
|
||||
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
|
||||
# Reserved.
|
||||
#
|
||||
|
||||
## $Id: mozilla.in,v 1.1 2003/07/16 20:26:40 mostafah%oeone.com Exp $
|
||||
##
|
||||
## Usage:
|
||||
##
|
||||
## $ mozilla [args]
|
||||
##
|
||||
## This script is meant to run the mozilla-bin binary from either
|
||||
## mozilla/xpfe/bootstrap or mozilla/dist/bin.
|
||||
##
|
||||
## The script will setup all the environment voodoo needed to make
|
||||
## the mozilla-bin binary to work.
|
||||
##
|
||||
|
||||
#uncomment for debugging
|
||||
#set -x
|
||||
|
||||
moz_libdir=%MOZAPPDIR%
|
||||
MRE_HOME=%MREDIR%
|
||||
|
||||
# honor MOZILLA_FIVE_HOME if it's there
|
||||
if [ -n "$MOZILLA_FIVE_HOME" ] ; then
|
||||
dist_bin="$MOZILLA_FIVE_HOME"
|
||||
else
|
||||
# Use run-mozilla.sh in the current dir if it exists
|
||||
# If not, then start resolving symlinks until we find run-mozilla.sh
|
||||
found=0
|
||||
progname=$0
|
||||
curdir=`dirname "$progname"`
|
||||
run_moz="$curdir/run-mozilla.sh"
|
||||
if test -x "$run_moz"; then
|
||||
dist_bin=$curdir
|
||||
found=1
|
||||
else
|
||||
here=`/bin/pwd`
|
||||
while [ -h "$progname" ]; do
|
||||
bn=`basename "$progname"`
|
||||
cd `dirname "$progname"`
|
||||
progname=`/bin/ls -l "$bn" |sed -e 's/^.* -> //' `
|
||||
if [ ! -x "$progname" ]; then
|
||||
break
|
||||
fi
|
||||
curdir=`dirname "$progname"`
|
||||
run_moz="$curdir/run-mozilla.sh"
|
||||
if [ -x "$run_moz" ]; then
|
||||
cd "$curdir"
|
||||
dist_bin=`pwd`
|
||||
found=1
|
||||
break
|
||||
fi
|
||||
done
|
||||
cd "$here"
|
||||
fi
|
||||
if [ $found = 0 ]; then
|
||||
# Check default compile-time libdir
|
||||
if [ -x "$moz_libdir/run-mozilla.sh" ]; then
|
||||
dist_bin=$moz_libdir
|
||||
else
|
||||
echo "Cannot find mozilla runtime directory. Exiting."
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
script_args=""
|
||||
moreargs=""
|
||||
debugging=0
|
||||
MOZILLA_BIN="mozilla-bin"
|
||||
|
||||
if [ "$OSTYPE" = "beos" ]; then
|
||||
mimeset -F $MOZILLA_BIN
|
||||
fi
|
||||
|
||||
while [ $# -gt 0 ]
|
||||
do
|
||||
case "$1" in
|
||||
-p | -pure)
|
||||
MOZILLA_BIN="mozilla-bin.pure"
|
||||
shift
|
||||
;;
|
||||
-g | --debug)
|
||||
script_args="$script_args -g"
|
||||
debugging=1
|
||||
shift
|
||||
;;
|
||||
-d | --debugger)
|
||||
script_args="$script_args -d $2"
|
||||
shift 2
|
||||
;;
|
||||
*)
|
||||
moreargs="$moreargs \"$1\""
|
||||
shift 1
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
export MRE_HOME
|
||||
eval "set -- $moreargs"
|
||||
if [ $debugging = 1 ]
|
||||
then
|
||||
echo $dist_bin/run-mozilla.sh $script_args $dist_bin/$MOZILLA_BIN "$@"
|
||||
fi
|
||||
exec "$dist_bin/run-mozilla.sh" $script_args "$dist_bin/$MOZILLA_BIN" "$@" -calendar
|
66
calendar/sunbird/app/nsCalendarApp.cpp
Normal file
66
calendar/sunbird/app/nsCalendarApp.cpp
Normal file
@ -0,0 +1,66 @@
|
||||
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
||||
/* ***** 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.org code.
|
||||
*
|
||||
* The Initial Developer of the Original Code is
|
||||
* Netscape Communications Corporation.
|
||||
* Portions created by the Initial Developer are Copyright (C) 2002
|
||||
* the Initial Developer. All Rights Reserved.
|
||||
*
|
||||
* Contributor(s):
|
||||
* Brian Ryner <bryner@netscape.com>
|
||||
*
|
||||
* Alternatively, the contents of this file may be used under the terms of
|
||||
* either the GNU General Public License Version 2 or later (the "GPL"), or
|
||||
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
|
||||
* in which case the provisions of the GPL or the LGPL are applicable instead
|
||||
* of those above. If you wish to allow use of your version of this file only
|
||||
* under the terms of either the GPL or the LGPL, and not to allow others to
|
||||
* use your version of this file under the terms of the MPL, indicate your
|
||||
* decision by deleting the provisions above and replace them with the notice
|
||||
* and other provisions required by the GPL or the LGPL. If you do not delete
|
||||
* the provisions above, a recipient may use your version of this file under
|
||||
* the terms of any one of the MPL, the GPL or the LGPL.
|
||||
*
|
||||
* ***** END LICENSE BLOCK ***** */
|
||||
|
||||
#include "nsXULAppAPI.h"
|
||||
#ifdef XP_WIN
|
||||
#include <windows.h>
|
||||
#endif
|
||||
|
||||
int main(int argc, char* argv[])
|
||||
{
|
||||
nsXREAppData appData;
|
||||
appData.SetSplashEnabled(PR_FALSE);
|
||||
appData.SetProductName(NS_LITERAL_CSTRING("Phoenix"));
|
||||
appData.SetUseStartupPrefs(PR_FALSE);
|
||||
|
||||
return xre_main(argc, argv, appData);
|
||||
}
|
||||
|
||||
#if defined(MOZ_WIDGET_GTK) || defined(MOZ_WIDGET_GTK2)
|
||||
char* splash_xpm[] = {0};
|
||||
#endif
|
||||
|
||||
#ifdef XP_WIN
|
||||
// We need WinMain in order to not be a console app. This function is
|
||||
// unused if we are a console application.
|
||||
int WINAPI WinMain( HINSTANCE, HINSTANCE, LPSTR args, int )
|
||||
{
|
||||
// Do the real work.
|
||||
return main( __argc, __argv );
|
||||
}
|
||||
#endif
|
646
calendar/sunbird/app/profile/all.js
Normal file
646
calendar/sunbird/app/profile/all.js
Normal file
@ -0,0 +1,646 @@
|
||||
/* -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
||||
/* ***** BEGIN LICENSE BLOCK *****
|
||||
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
|
||||
*
|
||||
* The contents of this file are subject to the Netscape Public License
|
||||
* Version 1.1 (the "License"); you may not use this file except in
|
||||
* compliance with the License. You may obtain a copy of the License at
|
||||
* http://www.mozilla.org/NPL/
|
||||
*
|
||||
* Software distributed under the License is distributed on an "AS IS" basis,
|
||||
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
|
||||
* for the specific language governing rights and limitations under the
|
||||
* License.
|
||||
*
|
||||
* The Original Code is mozilla.org code.
|
||||
*
|
||||
* The Initial Developer of the Original Code is
|
||||
* Netscape Communications Corporation.
|
||||
* Portions created by the Initial Developer are Copyright (C) 1998
|
||||
* 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 NPL, 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 NPL, the GPL or the LGPL.
|
||||
*
|
||||
* ***** END LICENSE BLOCK ***** */
|
||||
|
||||
// SYNTAX HINTS: dashes are delimiters. Use underscores instead.
|
||||
// The first character after a period must be alphabetic.
|
||||
|
||||
pref("startup.homepage_override_url","chrome://navigator-region/locale/region.properties");
|
||||
pref("browser.chromeURL","chrome://browser/content/");
|
||||
|
||||
pref("keyword.enabled", true);
|
||||
pref("keyword.URL", "http://www.google.com/search?btnI=I%27m+Feeling+Lucky&ie=UTF-8&oe=UTF-8&q=");
|
||||
|
||||
pref("general.useragent.locale", "chrome://navigator/locale/navigator.properties");
|
||||
pref("general.useragent.contentlocale", "chrome://navigator-region/locale/region.properties");
|
||||
pref("general.useragent.misc", "rv:1.5a");
|
||||
pref("general.useragent.vendor", "Mozilla Sunbird");
|
||||
pref("general.useragent.vendorSub", "0.1");
|
||||
|
||||
pref("general.smoothScroll", false);
|
||||
|
||||
pref("backups.number_of_prefs_copies", 1);
|
||||
|
||||
// 0 = blank, 1 = home (browser.startup.homepage), 2 = last
|
||||
// XXXBlake Remove this stupid pref
|
||||
pref("browser.startup.page", 1);
|
||||
pref("browser.startup.homepage", "chrome://navigator-region/locale/region.properties");
|
||||
// "browser.startup.homepage_override" was for 4.x
|
||||
pref("browser.startup.homepage_override.1", true);
|
||||
|
||||
pref("browser.cache.enable", true); // see also network.http.use-cache
|
||||
pref("browser.cache.disk.enable", true);
|
||||
pref("browser.cache.disk.capacity", 50000);
|
||||
pref("browser.cache.memory.enable", true);
|
||||
//pref("browser.cache.memory.capacity", -1);
|
||||
// -1 = determine dynamically, 0 = none, n = memory capacity in kilobytes
|
||||
pref("browser.cache.check_doc_frequency", 3);
|
||||
// 0 = once-per-session, 1 = each-time, 2 = never, 3 = when-appropriate/automatically
|
||||
|
||||
pref("browser.display.use_document_fonts", 1); // 0 = never, 1 = quick, 2 = always
|
||||
pref("browser.display.use_document_colors", true);
|
||||
pref("browser.display.use_system_colors", false);
|
||||
pref("browser.display.foreground_color", "#000000");
|
||||
pref("browser.display.background_color", "#FFFFFF");
|
||||
pref("browser.display.force_inline_alttext", false); // true = force ALT text for missing images to be layed out inline
|
||||
// 0 = no external leading,
|
||||
// 1 = use external leading only when font provides,
|
||||
// 2 = add extra leading both internal leading and external leading are zero
|
||||
pref("browser.display.normal_lineheight_calc_control", 2);
|
||||
pref("browser.display.show_image_placeholders", true); // true = show image placeholders while image is loaded and when image is broken
|
||||
pref("browser.display.enable_marquee", true);
|
||||
pref("browser.anchor_color", "#0000EE");
|
||||
pref("browser.visited_color", "#551A8B");
|
||||
pref("browser.underline_anchors", true);
|
||||
pref("browser.blink_allowed", true);
|
||||
pref("browser.enable_automatic_image_resizing", true);
|
||||
|
||||
pref("browser.display.use_focus_colors", false);
|
||||
pref("browser.display.focus_background_color", "#117722");
|
||||
pref("browser.display.focus_text_color", "#ffffff");
|
||||
pref("browser.display.focus_ring_width", 1);
|
||||
pref("browser.display.focus_ring_on_anything", false);
|
||||
|
||||
pref("browser.urlbar.matchOnlyTyped", false);
|
||||
|
||||
pref("browser.chrome.site_icons", true);
|
||||
pref("browser.chrome.favicons", true);
|
||||
|
||||
pref("browser.chrome.toolbar_tips", true);
|
||||
|
||||
pref("browser.turbo.enabled", false);
|
||||
|
||||
pref("browser.formfill.enable", true);
|
||||
|
||||
pref("browser.helperApps.alwaysAsk.force", false);
|
||||
pref("browser.helperApps.neverAsk.saveToDisk", "");
|
||||
pref("browser.helperApps.neverAsk.openFile", "");
|
||||
|
||||
pref("accessibility.browsewithcaret", false);
|
||||
pref("accessibility.warn_on_browsewithcaret", true);
|
||||
pref("accessibility.usetexttospeech", "");
|
||||
pref("accessibility.usebrailledisplay", "");
|
||||
pref("accessibility.accesskeycausesactivation", true);
|
||||
pref("accessibility.typeaheadfind", true);
|
||||
pref("accessibility.typeaheadfind.autostart", true);
|
||||
pref("accessibility.typeaheadfind.linksonly", true);
|
||||
pref("accessibility.typeaheadfind.startlinksonly", false);
|
||||
pref("accessibility.typeaheadfind.timeout", 4000);
|
||||
pref("accessibility.typeaheadfind.enabletimeout", true);
|
||||
pref("accessibility.typeaheadfind.soundURL", "default");
|
||||
pref("accessibility.typeaheadfind.enablesound", true);
|
||||
|
||||
pref("browser.download.progressDnldDialog.keepAlive", true); // keep the dnload progress dialog up after dnload is complete
|
||||
pref("browser.download.progressDnldDialog.enable_launch_reveal_buttons", true);
|
||||
pref("browser.download.useProgressDialogs", true);
|
||||
pref("browser.download.openSidebar", false);
|
||||
pref("browser.download.useDownloadDir", false);
|
||||
|
||||
// various default search settings
|
||||
pref("browser.search.defaulturl", "chrome://browser-region/locale/region.properties");
|
||||
// basic search popup constraint: minimum sherlock plugin version displayed
|
||||
// (note: must be a string representation of a float or it'll default to 0.0)
|
||||
pref("browser.search.basic.min_ver", "0.0");
|
||||
|
||||
pref("browser.history_expire_days", 9);
|
||||
pref("browser.history.grouping", "day");
|
||||
pref("browser.sessionhistory.max_entries", 50);
|
||||
|
||||
// loading and rendering of framesets and iframes
|
||||
pref("browser.frames.enabled", true);
|
||||
|
||||
// form submission
|
||||
pref("browser.forms.submit.backwards_compatible", true);
|
||||
|
||||
// Tab browser preferences.
|
||||
pref("browser.tabs.autoHide", true);
|
||||
pref("browser.tabs.forceHide", false);
|
||||
pref("browser.tabs.loadInBackground", true);
|
||||
pref("browser.tabs.loadFolderAndReplace", true);
|
||||
pref("browser.tabs.opentabfor.middleclick", true);
|
||||
pref("browser.tabs.opentabfor.urlbar", true);
|
||||
|
||||
// view source
|
||||
pref("view_source.syntax_highlight", true);
|
||||
pref("view_source.wrap_long_lines", false);
|
||||
|
||||
// gfx widgets
|
||||
pref("nglayout.widget.mode", 2);
|
||||
pref("nglayout.initialpaint.delay", 250);
|
||||
|
||||
// dispatch left clicks only to content in browser (still allows clicks to chrome/xul)
|
||||
pref("nglayout.events.dispatchLeftClickOnly", true);
|
||||
|
||||
// whether or not to use xbl form controls
|
||||
pref("nglayout.debug.enable_xbl_forms", false);
|
||||
|
||||
// size of scrollbar snapping region
|
||||
pref("slider.snapMultiplier", 6);
|
||||
|
||||
// option to choose plug-in finder
|
||||
pref("application.use_ns_plugin_finder", false);
|
||||
|
||||
// Smart Browsing prefs
|
||||
pref("browser.related.enabled", true);
|
||||
pref("browser.related.autoload", 1); // 0 = Always, 1 = After first use, 2 = Never
|
||||
pref("browser.related.provider", "http://www-rl.netscape.com/wtgn?");
|
||||
pref("browser.related.disabledForDomains", "");
|
||||
pref("browser.goBrowsing.enabled", true);
|
||||
|
||||
// URI fixup prefs
|
||||
pref("browser.fixup.alternate.enabled", true);
|
||||
pref("browser.fixup.alternate.prefix", "www.");
|
||||
pref("browser.fixup.alternate.suffix", ".com");
|
||||
|
||||
// Default bookmark sorting
|
||||
pref("browser.bookmarks.sort.direction", "descending");
|
||||
pref("browser.bookmarks.sort.resource", "rdf:http://home.netscape.com/NC-rdf#Name");
|
||||
|
||||
//Internet Search
|
||||
pref("browser.search.defaultenginename", "chrome://browser-region/locale/region.properties");
|
||||
|
||||
// Print header customization
|
||||
// Use the following codes:
|
||||
// &T - Title
|
||||
// &U - Document URL
|
||||
// &D - Date/Time
|
||||
// &P - Page Number
|
||||
// &PT - Page Number "of" Page total
|
||||
// Set each header to a string containing zero or one of these codes
|
||||
// and the code will be replaced in that string by the corresponding data
|
||||
pref("print.print_headerleft", "&T");
|
||||
pref("print.print_headercenter", "");
|
||||
pref("print.print_headerright", "&U");
|
||||
pref("print.print_footerleft", "&PT");
|
||||
pref("print.print_footercenter", "");
|
||||
pref("print.print_footerright", "&D");
|
||||
pref("print.show_print_progress", true);
|
||||
|
||||
// When this is set to false it means each window has its PrintSettings
|
||||
// and a change in one browser window does not effect the others
|
||||
pref("print.use_global_printsettings", true);
|
||||
|
||||
// This indicates whether it should use the native dialog or the XP Dialog50
|
||||
pref("print.use_native_print_dialog", false);
|
||||
|
||||
// Save the Printings after each print job
|
||||
pref("print.save_print_settings", true);
|
||||
|
||||
pref("print.whileInPrintPreview", true);
|
||||
|
||||
// Cache old Presentation when going into Print Preview
|
||||
pref("print.always_cache_old_pres", false);
|
||||
|
||||
// Enables you to specify the gap from the edge of the paper to the margin
|
||||
// this is used by both Printing and Print Preview
|
||||
pref("print.print_edge_top", 0); // 1/100 of an inch
|
||||
pref("print.print_edge_left", 0); // 1/100 of an inch
|
||||
pref("print.print_edge_right", 0); // 1/100 of an inch
|
||||
pref("print.print_edge_bottom", 0); // 1/100 of an inch
|
||||
|
||||
// Default Capability Preferences: Security-Critical!
|
||||
// Editing these may create a security risk - be sure you know what you're doing
|
||||
//pref("capability.policy.default.barprop.visible.set", "UniversalBrowserWrite");
|
||||
|
||||
pref("capability.policy.default_policynames", "mailnews");
|
||||
pref("capability.policy.policynames", "");
|
||||
|
||||
pref("capability.policy.default.DOMException.code", "allAccess");
|
||||
pref("capability.policy.default.DOMException.message", "allAccess");
|
||||
pref("capability.policy.default.DOMException.name", "allAccess");
|
||||
pref("capability.policy.default.DOMException.result", "allAccess");
|
||||
pref("capability.policy.default.DOMException.toString", "allAccess");
|
||||
|
||||
pref("capability.policy.default.History.back", "allAccess");
|
||||
pref("capability.policy.default.History.current", "UniversalBrowserRead");
|
||||
pref("capability.policy.default.History.forward", "allAccess");
|
||||
pref("capability.policy.default.History.go", "allAccess");
|
||||
pref("capability.policy.default.History.item", "UniversalBrowserRead");
|
||||
pref("capability.policy.default.History.next", "UniversalBrowserRead");
|
||||
pref("capability.policy.default.History.previous", "UniversalBrowserRead");
|
||||
pref("capability.policy.default.History.toString", "UniversalBrowserRead");
|
||||
|
||||
pref("capability.policy.default.HTMLDocument.close", "allAccess");
|
||||
pref("capability.policy.default.HTMLDocument.open", "allAccess");
|
||||
|
||||
pref("capability.policy.default.Location.hash.set", "allAccess");
|
||||
pref("capability.policy.default.Location.href.set", "allAccess");
|
||||
pref("capability.policy.default.Location.reload", "allAccess");
|
||||
pref("capability.policy.default.Location.replace", "allAccess");
|
||||
|
||||
pref("capability.policy.default.Navigator.preference", "allAccess");
|
||||
pref("capability.policy.default.Navigator.preferenceinternal.get", "UniversalPreferencesRead");
|
||||
pref("capability.policy.default.Navigator.preferenceinternal.set", "UniversalPreferencesWrite");
|
||||
|
||||
pref("capability.policy.default.Window.blur", "allAccess");
|
||||
pref("capability.policy.default.Window.close", "allAccess");
|
||||
pref("capability.policy.default.Window.closed", "allAccess");
|
||||
pref("capability.policy.default.Window.Components", "allAccess");
|
||||
pref("capability.policy.default.Window.document", "allAccess");
|
||||
pref("capability.policy.default.Window.focus", "allAccess");
|
||||
pref("capability.policy.default.Window.frames", "allAccess");
|
||||
pref("capability.policy.default.Window.history", "allAccess");
|
||||
pref("capability.policy.default.Window.length", "allAccess");
|
||||
pref("capability.policy.default.Window.location", "allAccess");
|
||||
pref("capability.policy.default.Window.opener", "allAccess");
|
||||
pref("capability.policy.default.Window.parent", "allAccess");
|
||||
pref("capability.policy.default.Window.self", "allAccess");
|
||||
pref("capability.policy.default.Window.top", "allAccess");
|
||||
pref("capability.policy.default.Window.window", "allAccess");
|
||||
|
||||
// Scripts & Windows prefs
|
||||
pref("browser.block.target_new_window", false);
|
||||
pref("dom.disable_cookie_get", false);
|
||||
pref("dom.disable_cookie_set", false);
|
||||
pref("dom.disable_image_src_set", false);
|
||||
pref("dom.disable_open_during_load", true);
|
||||
pref("dom.disable_window_flip", false);
|
||||
pref("dom.disable_window_move_resize", false);
|
||||
pref("dom.disable_window_status_change", false);
|
||||
|
||||
pref("dom.disable_window_open_feature.titlebar", false);
|
||||
pref("dom.disable_window_open_feature.close", false);
|
||||
pref("dom.disable_window_open_feature.toolbar", false);
|
||||
pref("dom.disable_window_open_feature.location", false);
|
||||
pref("dom.disable_window_open_feature.directories", false);
|
||||
pref("dom.disable_window_open_feature.personalbar", false);
|
||||
pref("dom.disable_window_open_feature.menubar", false);
|
||||
pref("dom.disable_window_open_feature.scrollbars", false);
|
||||
pref("dom.disable_window_open_feature.resizable", false);
|
||||
pref("dom.disable_window_open_feature.minimizable", false);
|
||||
pref("dom.disable_window_open_feature.status", false);
|
||||
|
||||
pref("dom.allow_scripts_to_close_windows", false);
|
||||
|
||||
pref("javascript.enabled", true);
|
||||
pref("javascript.options.strict", false);
|
||||
pref("javascript.options.showInConsole", false);
|
||||
|
||||
// popups.policy 1=allow,2=reject
|
||||
pref("privacy.popups.policy", 1);
|
||||
pref("privacy.popups.usecustom", true);
|
||||
pref("privacy.popups.firstTime", true);
|
||||
|
||||
// advanced prefs
|
||||
pref("advanced.always_load_images", true);
|
||||
pref("security.enable_java", true);
|
||||
pref("advanced.mailftp", false);
|
||||
pref("image.animation_mode", "normal");
|
||||
|
||||
// If there is ever a security firedrill that requires
|
||||
// us to block certian ports global, this is the pref
|
||||
// to use. Is is a comma delimited list of port numbers
|
||||
// for example:
|
||||
// pref("network.security.ports.banned", "1,2,3,4,5");
|
||||
// prevents necko connecting to ports 1-5 unless the protocol
|
||||
// overrides.
|
||||
|
||||
pref("network.hosts.smtp_server", "mail");
|
||||
pref("network.hosts.pop_server", "mail");
|
||||
pref("network.protocols.useSystemDefaults", false); // set to true if user links should use system default handlers
|
||||
|
||||
// <http>
|
||||
pref("network.http.version", "1.1"); // default
|
||||
// pref("network.http.version", "1.0"); // uncomment this out in case of problems
|
||||
// pref("network.http.version", "0.9"); // it'll work too if you're crazy
|
||||
// keep-alive option is effectively obsolete. Nevertheless it'll work with
|
||||
// some older 1.0 servers:
|
||||
|
||||
pref("network.http.proxy.version", "1.1"); // default
|
||||
// pref("network.http.proxy.version", "1.0"); // uncomment this out in case of problems
|
||||
// (required if using junkbuster proxy)
|
||||
|
||||
// enable caching of http documents
|
||||
pref("network.http.use-cache", true);
|
||||
|
||||
// this preference can be set to override the socket type used for normal
|
||||
// HTTP traffic. an empty value indicates the normal TCP/IP socket type.
|
||||
pref("network.http.default-socket-type", "");
|
||||
|
||||
pref("network.http.keep-alive", true); // set it to false in case of problems
|
||||
pref("network.http.proxy.keep-alive", true);
|
||||
pref("network.http.keep-alive.timeout", 300);
|
||||
|
||||
// limit the absolute number of http connections.
|
||||
pref("network.http.max-connections", 24);
|
||||
|
||||
// limit the absolute number of http connections that can be established per
|
||||
// host. if a http proxy server is enabled, then the "server" is the proxy
|
||||
// server. Otherwise, "server" is the http origin server.
|
||||
pref("network.http.max-connections-per-server", 8);
|
||||
|
||||
// if network.http.keep-alive is true, and if NOT connecting via a proxy, then
|
||||
// a new connection will only be attempted if the number of active persistent
|
||||
// connections to the server is less then max-persistent-connections-per-server.
|
||||
pref("network.http.max-persistent-connections-per-server", 2);
|
||||
|
||||
// if network.http.keep-alive is true, and if connecting via a proxy, then a
|
||||
// new connection will only be attempted if the number of active persistent
|
||||
// connections to the proxy is less then max-persistent-connections-per-proxy.
|
||||
pref("network.http.max-persistent-connections-per-proxy", 4);
|
||||
|
||||
// amount of time (in seconds) to suspend pending requests, before spawning a
|
||||
// new connection, once the limit on the number of persistent connections per
|
||||
// host has been reached. however, a new connection will not be created if
|
||||
// max-connections or max-connections-per-server has also been reached.
|
||||
pref("network.http.request.max-start-delay", 10);
|
||||
|
||||
// http specific network timeouts (XXX currently unused)
|
||||
pref("network.http.connect.timeout", 30); // in seconds
|
||||
pref("network.http.request.timeout", 120); // in seconds
|
||||
|
||||
// Headers
|
||||
pref("network.http.accept.default", "text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,video/x-mng,image/png,image/jpeg,image/gif;q=0.2,*/*;q=0.1");
|
||||
pref("network.http.sendRefererHeader", 2); // 0=don't send any, 1=send only on clicks, 2=send on image requests as well
|
||||
|
||||
// Maximum number of consecutive redirects before aborting.
|
||||
pref("network.http.redirection-limit", 20);
|
||||
|
||||
// Enable http compression: comment this out in case of problems with 1.1
|
||||
pref("network.http.accept-encoding" ,"gzip,deflate");
|
||||
|
||||
pref("network.http.pipelining" , false);
|
||||
pref("network.http.proxy.pipelining", false);
|
||||
|
||||
// Always pipeling the very first request: this will only work when you are
|
||||
// absolutely sure the the site or proxy you are browsing to/through support
|
||||
// pipelining; the default behavior will be that the browser will first make
|
||||
// a normal, non-pipelined request, then examine and remember the responce
|
||||
// and only the subsequent requests to that site will be pipeline
|
||||
pref("network.http.pipelining.firstrequest", false);
|
||||
|
||||
// Max number of requests in the pipeline
|
||||
pref("network.http.pipelining.maxrequests" , 4);
|
||||
|
||||
pref("network.http.proxy.ssl.connect",true);
|
||||
// </http>
|
||||
|
||||
// This preference controls whether or not URLs with UTF-8 characters are
|
||||
// escaped. Set this preference to TRUE for strict RFC2396 conformance.
|
||||
pref("network.standard-url.escape-utf8", true);
|
||||
|
||||
// Idle timeout for ftp control connections - 5 minute default
|
||||
pref("network.ftp.idleConnectionTimeout", 300);
|
||||
|
||||
// directory listing format - constants are defined in nsIDirectoryListing.idl
|
||||
// Do not set this to 0...
|
||||
pref("network.dir.format", 2);
|
||||
|
||||
// enables the prefetch service (i.e., prefetching of <link rel="next"> URLs).
|
||||
pref("network.prefetch-next", true);
|
||||
|
||||
// sspitzer: change this back to "news" when we get to beta.
|
||||
// for now, set this to news.mozilla.org because you can only
|
||||
// post to the server specified by this pref.
|
||||
pref("network.hosts.nntp_server", "news.mozilla.org");
|
||||
|
||||
// 0-Accept, 1-dontAcceptForeign, 2-dontUse
|
||||
user_pref("network.image.imageBehavior", 0);
|
||||
|
||||
pref("network.image.warnAboutImages", false);
|
||||
pref("network.proxy.autoconfig_url", "");
|
||||
pref("network.proxy.type", 0);
|
||||
pref("network.proxy.ftp", "");
|
||||
pref("network.proxy.ftp_port", 0);
|
||||
pref("network.proxy.gopher", "");
|
||||
pref("network.proxy.gopher_port", 0);
|
||||
pref("network.proxy.news", "");
|
||||
pref("network.proxy.news_port", 0);
|
||||
pref("network.proxy.http", "");
|
||||
pref("network.proxy.http_port", 0);
|
||||
pref("network.proxy.wais", "");
|
||||
pref("network.proxy.wais_port", 0);
|
||||
pref("network.proxy.ssl", "");
|
||||
pref("network.proxy.ssl_port", 0);
|
||||
pref("network.proxy.socks", "");
|
||||
pref("network.proxy.socks_port", 0);
|
||||
pref("network.proxy.socks_version", 5);
|
||||
pref("network.proxy.no_proxies_on", "localhost, 127.0.0.1");
|
||||
pref("network.online", true); //online/offline
|
||||
pref("network.cookie.enable", true);
|
||||
pref("network.cookie.warnAboutCookies", false);
|
||||
pref("network.cookie.enableForCurrentSessionOnly", false);
|
||||
pref("network.cookie.enableForOriginatingWebsiteOnly", false);
|
||||
pref("network.cookie.lifetime.days", 90);
|
||||
|
||||
// The following default value is for p3p medium mode.
|
||||
// See extensions/cookie/resources/content/p3p.xul for the definitions of low/medium/hi
|
||||
pref("network.cookie.p3p", "ffffaaaa");
|
||||
pref("network.cookie.p3plevel", 1); // 0=low, 1=medium, 2=high, 3=custom
|
||||
|
||||
pref("network.enablePad", false); // Allow client to do proxy autodiscovery
|
||||
pref("network.enableIDN", false); // Turn on/off IDN (Internationalized Domain Name) resolution
|
||||
pref("converter.html2txt.structs", true); // Output structured phrases (strong, em, code, sub, sup, b, i, u)
|
||||
pref("converter.html2txt.header_strategy", 1); // 0 = no indention; 1 = indention, increased with header level; 2 = numbering and slight indention
|
||||
pref("imageblocker.enabled", true);
|
||||
pref("intl.accept_languages", "chrome://navigator/locale/navigator.properties");
|
||||
pref("intl.accept_charsets", "iso-8859-1,*,utf-8");
|
||||
pref("intl.collationOption", "chrome://navigator-platform/locale/navigator.properties");
|
||||
pref("intl.menuitems.alwaysappendacceskeys","chrome://navigator/locale/navigator.properties");
|
||||
pref("intl.charsetmenu.browser.static", "chrome://navigator/locale/navigator.properties");
|
||||
pref("intl.charsetmenu.browser.more1", "chrome://navigator/locale/navigator.properties");
|
||||
pref("intl.charsetmenu.browser.more2", "chrome://navigator/locale/navigator.properties");
|
||||
pref("intl.charsetmenu.browser.more3", "chrome://navigator/locale/navigator.properties");
|
||||
pref("intl.charsetmenu.browser.more4", "chrome://navigator/locale/navigator.properties");
|
||||
pref("intl.charsetmenu.browser.more5", "chrome://navigator/locale/navigator.properties");
|
||||
pref("intl.charsetmenu.browser.cache.size", 5);
|
||||
pref("intl.charset.detector", "chrome://navigator/locale/navigator.properties");
|
||||
pref("intl.charset.default", "chrome://navigator-platform/locale/navigator.properties");
|
||||
pref("intl.content.langcode", "chrome://communicator-region/locale/region.properties");
|
||||
pref("intl.locale.matchOS", false);
|
||||
// fallback charset list for Unicode conversion (converting from Unicode)
|
||||
// currently used for mail send only to handle symbol characters (e.g Euro, trademark, smartquotes)
|
||||
// for ISO-8859-1
|
||||
pref("intl.fallbackCharsetList.ISO-8859-1", "windows-1252");
|
||||
pref("font.language.group", "chrome://navigator/locale/navigator.properties");
|
||||
|
||||
// -- folders (Mac: these are binary aliases.)
|
||||
pref("security.directory", "");
|
||||
|
||||
pref("signed.applets.codebase_principal_support", false);
|
||||
pref("security.checkloaduri", true);
|
||||
pref("security.xpconnect.plugin.unrestricted", true);
|
||||
|
||||
// Modifier key prefs: default to Windows settings,
|
||||
// menu access key = alt, accelerator key = control.
|
||||
// Use 17 for Ctrl, 18 for Alt, 224 for Meta, 0 for none. Mac settings in macprefs.js
|
||||
pref("ui.key.accelKey", 17);
|
||||
pref("ui.key.generalAccessKey", 18);
|
||||
pref("ui.key.menuAccessKey", 18);
|
||||
pref("ui.key.menuAccessKeyFocuses", false);
|
||||
|
||||
// Middle-mouse handling
|
||||
pref("middlemouse.paste", false);
|
||||
pref("middlemouse.contentLoadURL", false);
|
||||
pref("middlemouse.scrollbarPosition", false);
|
||||
|
||||
// Clipboard behavior
|
||||
pref("clipboard.autocopy", false);
|
||||
|
||||
// 0=lines, 1=pages, 2=history , 3=text size
|
||||
pref("mousewheel.withnokey.action",0);
|
||||
pref("mousewheel.withnokey.numlines",1);
|
||||
pref("mousewheel.withnokey.sysnumlines",true);
|
||||
pref("mousewheel.withcontrolkey.action",3);
|
||||
pref("mousewheel.withcontrolkey.numlines",1);
|
||||
pref("mousewheel.withcontrolkey.sysnumlines",true);
|
||||
pref("mousewheel.withshiftkey.action",2);
|
||||
pref("mousewheel.withshiftkey.numlines",1);
|
||||
pref("mousewheel.withshiftkey.sysnumlines",false);
|
||||
pref("mousewheel.withaltkey.action",0);
|
||||
pref("mousewheel.withaltkey.numlines",1);
|
||||
pref("mousewheel.withaltkey.sysnumlines",false);
|
||||
|
||||
pref("profile.confirm_automigration",true);
|
||||
|
||||
// the amount of time (in seconds) that must elapse
|
||||
// before we think your mozilla profile is defunct
|
||||
// and you'd benefit from re-migrating from 4.x
|
||||
// see bug #137886 for more details
|
||||
//
|
||||
// if -1, we never think your profile is defunct
|
||||
// and users will never see the remigrate UI.
|
||||
pref("profile.seconds_until_defunct", -1);
|
||||
|
||||
// Customizable toolbar stuff
|
||||
pref("custtoolbar.personal_toolbar_folder", "");
|
||||
|
||||
pref("prefs.converted-to-utf8",false);
|
||||
// --------------------------------------------------
|
||||
// IBMBIDI
|
||||
// --------------------------------------------------
|
||||
//
|
||||
// ------------------
|
||||
// Text Direction
|
||||
// ------------------
|
||||
// 1 = directionLTRBidi *
|
||||
// 2 = directionRTLBidi
|
||||
pref("bidi.direction", 1);
|
||||
// ------------------
|
||||
// Text Type
|
||||
// ------------------
|
||||
// 1 = charsettexttypeBidi *
|
||||
// 2 = logicaltexttypeBidi
|
||||
// 3 = visualtexttypeBidi
|
||||
pref("bidi.texttype", 1);
|
||||
// ------------------
|
||||
// Controls Text Mode
|
||||
// ------------------
|
||||
// 1 = logicalcontrolstextmodeBidiCmd
|
||||
// 2 = visualcontrolstextmodeBidi <-- NO LONGER SUPPORTED
|
||||
// 3 = containercontrolstextmodeBidi *
|
||||
pref("bidi.controlstextmode", 1);
|
||||
// ------------------
|
||||
// Clipboard Text Mode
|
||||
// ------------------
|
||||
// 1 = logicalclipboardtextmodeBidi
|
||||
// 2 = visiualclipboardtextmodeBidi
|
||||
// 3 = sourceclipboardtextmodeBidi *
|
||||
pref("bidi.clipboardtextmode", 3);
|
||||
// ------------------
|
||||
// Numeral Style
|
||||
// ------------------
|
||||
// 0 = nominalnumeralBidi *
|
||||
// 1 = regularcontextnumeralBidi
|
||||
// 2 = hindicontextnumeralBidi
|
||||
// 3 = arabicnumeralBidi
|
||||
// 4 = hindinumeralBidi
|
||||
pref("bidi.numeral", 0);
|
||||
// ------------------
|
||||
// Support Mode
|
||||
// ------------------
|
||||
// 1 = mozillaBidisupport *
|
||||
// 2 = OsBidisupport
|
||||
// 3 = disableBidisupport
|
||||
pref("bidi.support", 1);
|
||||
// ------------------
|
||||
// Charset Mode
|
||||
// ------------------
|
||||
// 1 = doccharactersetBidi *
|
||||
// 2 = defaultcharactersetBidi
|
||||
pref("bidi.characterset", 1);
|
||||
|
||||
pref("browser.throbber.url","chrome://navigator-region/locale/region.properties");
|
||||
|
||||
// used for double-click word selection behavior. Win will override.
|
||||
pref("layout.word_select.eat_space_to_next_word", false);
|
||||
pref("layout.word_select.stop_at_punctuation", true);
|
||||
|
||||
// pref to force frames to be resizable
|
||||
pref("layout.frames.force_resizability", false);
|
||||
|
||||
// pref to permit users to make verified SOAP calls by default
|
||||
pref("capability.policy.default.SOAPCall.invokeVerifySourceHeader", "allAccess");
|
||||
|
||||
// pref to control the alert notification
|
||||
pref("alerts.slideIncrement", 1);
|
||||
pref("alerts.slideIncrementTime", 10);
|
||||
pref("alerts.totalOpenTime", 4000);
|
||||
pref("alerts.height", 50);
|
||||
|
||||
// update notifications prefs
|
||||
pref("update_notifications.enabled", true);
|
||||
pref("update_notifications.provider.0.frequency", 7); // number of days
|
||||
pref("update_notifications.provider.0.datasource", "chrome://communicator-region/locale/region.properties");
|
||||
|
||||
// if true, allow plug-ins to override internal imglib decoder mime types in full-page mode
|
||||
pref("plugin.override_internal_types", false);
|
||||
pref("plugin.expose_full_path", false); // if true navigator.plugins reveals full path
|
||||
|
||||
// Help Windows NT, 2000, and XP dialup a RAS connection
|
||||
// when a network address is unreachable.
|
||||
pref("network.autodial-helper.enabled", true);
|
||||
|
||||
// Pref to control whether we set ddeexec subkeys for the http
|
||||
// Internet shortcut protocol if we are handling it. These
|
||||
// subkeys will be set only while we are running (to avoid the
|
||||
// problem of Windows showing an alert when it tries to use DDE
|
||||
// and we're not already running).
|
||||
pref("advanced.system.supportDDEExec", true);
|
||||
pref("browser.xul.error_pages.enabled", false);
|
||||
|
||||
pref("signon.rememberSignons", true);
|
||||
pref("signon.expireMasterPassword", false);
|
||||
|
||||
pref("network.protocol-handler.external.mailto", true); // for mail
|
||||
pref("network.protocol-handler.external.news" , true); // for news
|
||||
|
||||
// Default security warning dialogs to off
|
||||
pref("security.warn_entering_secure", false);
|
||||
pref("security.warn_entering_weak", false);
|
||||
pref("security.warn_leaving_secure", false);
|
||||
pref("security.warn_viewing_mixed", false);
|
||||
pref("security.warn_submit_insecure", false);
|
94
calendar/sunbird/app/splash.rc
Normal file
94
calendar/sunbird/app/splash.rc
Normal file
@ -0,0 +1,94 @@
|
||||
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
||||
/* ***** BEGIN LICENSE BLOCK *****
|
||||
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
|
||||
*
|
||||
* The contents of this file are subject to the Netscape Public License
|
||||
* Version 1.1 (the "License"); you may not use this file except in
|
||||
* compliance with the License. You may obtain a copy of the License at
|
||||
* http://www.mozilla.org/NPL/
|
||||
*
|
||||
* Software distributed under the License is distributed on an "AS IS" basis,
|
||||
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
|
||||
* for the specific language governing rights and limitations under the
|
||||
* License.
|
||||
*
|
||||
* The Original Code is Mozilla Communicator client code.
|
||||
*
|
||||
* The Initial Developer of the Original Code is
|
||||
* Netscape Communications Corporation.
|
||||
* Portions created by the Initial Developer are Copyright (C) 1998
|
||||
* the Initial Developer. All Rights Reserved.
|
||||
*
|
||||
* Contributor(s):
|
||||
* Bill Law law@netscape.com
|
||||
* Jonathan Wilson <jonwil@tpgi.com.au>
|
||||
*
|
||||
* 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 NPL, 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 NPL, the GPL or the LGPL.
|
||||
*
|
||||
* ***** END LICENSE BLOCK ***** */
|
||||
#include <windows.h>
|
||||
#include "nsINativeAppSupportWin.h"
|
||||
|
||||
1 24 "MozillaSunbird.exe.manifest"
|
||||
|
||||
// Program icon.
|
||||
IDI_APPLICATION ICON
|
||||
"mozilla.ico"
|
||||
|
||||
// Splash screen dialog.
|
||||
IDD_SPLASH DIALOGEX
|
||||
DISCARDABLE
|
||||
0,0,0,0
|
||||
STYLE DS_SETFOREGROUND | DS_CENTER | WS_POPUP
|
||||
EXSTYLE WS_EX_TOOLWINDOW
|
||||
FONT 8, "MS Sans Serif"
|
||||
BEGIN
|
||||
CONTROL
|
||||
#ifndef __MINGW32__
|
||||
IDB_SPLASH,
|
||||
#endif
|
||||
IDB_SPLASH,
|
||||
"Static",
|
||||
SS_BITMAP,
|
||||
0,0,0,0
|
||||
END
|
||||
|
||||
// Splash screen bitmap.
|
||||
//IDB_SPLASH BITMAP
|
||||
// "splash.bmp"
|
||||
|
||||
STRINGTABLE DISCARDABLE
|
||||
BEGIN
|
||||
ID_DDE_APPLICATION_NAME, "Mozilla Sunbird"
|
||||
IDS_STARTMENU_APPNAME, "Mozilla Sunbird"
|
||||
END
|
||||
|
||||
#ifdef MOZ_STATIC_BUILD
|
||||
|
||||
// XXX This code is copied from resource.h and widget.rc. It's a work-around
|
||||
// for the limitation that only one resource file can be used in an .exe. We
|
||||
// should develop a method, for static builds only, to combine multiple .rc
|
||||
// files into a single .rc file, and then use that to build the single .res
|
||||
// file for the .exe.
|
||||
|
||||
// We need this cursor for versions of Windows that don't support IDC_HAND,
|
||||
// namely Win95 and NT4.
|
||||
#define IDC_SELECTANCHOR 4100
|
||||
IDC_SELECTANCHOR CURSOR DISCARDABLE "..\\..\\widget\\src\\build\\res\\select.cur"
|
||||
|
||||
#define IDC_ZOOMIN 4114
|
||||
IDC_ZOOMIN CURSOR DISCARDABLE "..\\..\\widget\\src\\build\\res\\zoom_in.cur"
|
||||
#define IDC_ZOOMOUT 4115
|
||||
IDC_ZOOMOUT CURSOR DISCARDABLE "..\\..\\widget\\src\\build\\res\\zoom_out.cur"
|
||||
|
||||
#endif
|
50
calendar/sunbird/app/splashos2.rc
Normal file
50
calendar/sunbird/app/splashos2.rc
Normal file
@ -0,0 +1,50 @@
|
||||
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
|
||||
*
|
||||
* 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 Communicator client code.
|
||||
*
|
||||
* The Initial Developer of the Original Code is Netscape Communications
|
||||
* Corporation. Portions created by Netscape are
|
||||
* Copyright (C) 1998 Netscape Communications Corporation. All
|
||||
* Rights Reserved.
|
||||
*
|
||||
* Contributor(s):
|
||||
* Bill Law law@netscape.com
|
||||
* IBM Corp.
|
||||
*/
|
||||
#include <os2.h>
|
||||
|
||||
// Splash screen dialog ID.
|
||||
#define IDD_SPLASH 100
|
||||
|
||||
// Splash screen bitmap ID.
|
||||
#define IDB_SPLASH 101
|
||||
|
||||
// DDE application name
|
||||
#define ID_DDE_APPLICATION_NAME 102
|
||||
|
||||
|
||||
ICON 1 "mozos2.ico"
|
||||
|
||||
DLGTEMPLATE IDD_SPLASH DISCARDABLE
|
||||
BEGIN
|
||||
DIALOG "", IDD_SPLASH, 0, 0, 390, 261, , FCF_BORDER
|
||||
BEGIN
|
||||
END
|
||||
END
|
||||
|
||||
//BITMAP IDB_SPLASH "splash.bmp"
|
||||
|
||||
STRINGTABLE DISCARDABLE
|
||||
BEGIN
|
||||
ID_DDE_APPLICATION_NAME, "Mozilla Sunbird"
|
||||
END
|
1
calendar/sunbird/base/.cvsignore
Normal file
1
calendar/sunbird/base/.cvsignore
Normal file
@ -0,0 +1 @@
|
||||
Makefile
|
31
calendar/sunbird/base/Makefile.in
Normal file
31
calendar/sunbird/base/Makefile.in
Normal file
@ -0,0 +1,31 @@
|
||||
#
|
||||
# The contents of this file are subject to the Netscape Public
|
||||
# License Version 1.1 (the "License"); you may not use this file
|
||||
# except in compliance with the License. You may obtain a copy of
|
||||
# the License at http://www.mozilla.org/NPL/
|
||||
#
|
||||
# Software distributed under the License is distributed on an "AS
|
||||
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
||||
# implied. See the License for the specific language governing
|
||||
# rights and limitations under the License.
|
||||
#
|
||||
# The Original Code is mozilla.org code.
|
||||
#
|
||||
# The Initial Developer of the Original Code is Netscape
|
||||
# Communications Corporation. Portions created by Netscape are
|
||||
# Copyright (C) 1998 Netscape Communications Corporation. All
|
||||
# Rights Reserved.
|
||||
#
|
||||
# Contributor(s):
|
||||
#
|
||||
|
||||
DEPTH = ../../..
|
||||
topsrcdir = @top_srcdir@
|
||||
srcdir = @srcdir@
|
||||
VPATH = @srcdir@
|
||||
|
||||
include $(DEPTH)/config/autoconf.mk
|
||||
|
||||
include $(topsrcdir)/config/config.mk
|
||||
|
||||
include $(topsrcdir)/config/rules.mk
|
574
calendar/sunbird/base/content/calendar.xul
Normal file
574
calendar/sunbird/base/content/calendar.xul
Normal file
@ -0,0 +1,574 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- ***** BEGIN LICENSE BLOCK *****
|
||||
- Version: MPL 1.1/GPL 2.0/LGPL 2.1
|
||||
-
|
||||
- The contents of this file are subject to the Mozilla Public License Version
|
||||
- 1.1 (the "License"); you may not use this file except in compliance with
|
||||
- the License. You may obtain a copy of the License at
|
||||
- http://www.mozilla.org/MPL/
|
||||
-
|
||||
- Software distributed under the License is distributed on an "AS IS" basis,
|
||||
- WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
|
||||
- for the specific language governing rights and limitations under the
|
||||
- License.
|
||||
-
|
||||
- The Original Code is OEone Calendar Code, released October 31st, 2001.
|
||||
-
|
||||
- The Initial Developer of the Original Code is
|
||||
- OEone Corporation.
|
||||
- Portions created by the Initial Developer are Copyright (C) 2001
|
||||
- the Initial Developer. All Rights Reserved.
|
||||
-
|
||||
- Contributor(s): Garth Smedley <garths@oeone.com>
|
||||
- Mike Potter <mikep@oeone.com>
|
||||
- Colin Phillips <colinp@oeone.com>
|
||||
- Chris Charabaruk <coldacid@meldstar.com>
|
||||
- Karl Guertin <grayrest@grayrest.com>
|
||||
- Dan Parent <danp@oeone.com>
|
||||
- ArentJan Banck <ajbanck@planet.nl>
|
||||
- Eric Belhaire <belhaire@ief.u-psud.fr>
|
||||
-
|
||||
- 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 LGPL or the GPL. 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 ***** -->
|
||||
|
||||
<!-- Style sheets -->
|
||||
|
||||
<?xml-stylesheet href="chrome://global/skin/global.css" type="text/css"?>
|
||||
<?xml-stylesheet href="chrome://calendar/skin/calendar.css" type="text/css"?>
|
||||
<?xml-stylesheet href="chrome://calendar/content/datepicker/calendar.css" type="text/css"?>
|
||||
<?xml-stylesheet href="chrome://communicator/skin/communicator.css" type="text/css"?>
|
||||
|
||||
<!-- Overlays -->
|
||||
<?xul-overlay href="chrome://global/content/globalOverlay.xul"?>
|
||||
<?xul-overlay href="chrome://calendar/content/menuOverlay.xul"?>
|
||||
|
||||
<?xul-overlay href="chrome://calendar/content/dayView.xul"?>
|
||||
<?xul-overlay href="chrome://calendar/content/weekView.xul"?>
|
||||
<?xul-overlay href="chrome://calendar/content/monthView.xul"?>
|
||||
<?xul-overlay href="chrome://calendar/content/multiweekView.xul"?>
|
||||
|
||||
<!-- DTDs -->
|
||||
|
||||
<!-- DTD File with all strings specific to the calendar -->
|
||||
<!DOCTYPE window
|
||||
[
|
||||
<!ENTITY % dtd1 SYSTEM "chrome://calendar/locale/global.dtd" > %dtd1;
|
||||
<!ENTITY % dtd2 SYSTEM "chrome://calendar/locale/calendar.dtd" > %dtd2;
|
||||
<!ENTITY % calendarMenuOverlayDTD SYSTEM "chrome://calendar/locale/menuOverlay.dtd" > %calendarMenuOverlayDTD;
|
||||
<!ENTITY % brandDTD SYSTEM "chrome://global/locale/brand.dtd" > %brandDTD;
|
||||
<!ENTITY % browserDTD SYSTEM "chrome://browser/locale/browser.dtd" > %browserDTD;
|
||||
]>
|
||||
|
||||
|
||||
<!-- The Window -->
|
||||
|
||||
<window
|
||||
id="calendar-window"
|
||||
title="&mainWindow.title;"
|
||||
onload="calendarInit()"
|
||||
onunload="calendarFinish()"
|
||||
windowtype="calendarMainWindow"
|
||||
xmlns:html="http://www.w3.org/1999/xhtml"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
persist="screenX screenY width height sizemode"
|
||||
height="550"
|
||||
width="710">
|
||||
|
||||
<commandset id="calendar_commands">
|
||||
<command id="new_command" oncommand="newEventCommand( event )"/>
|
||||
<command id="delete_command" oncommand="deleteEventCommand( )" disabled="true" disabledwhennoeventsselected="true"/>
|
||||
<command id="delete_command_no_confirm" oncommand="deleteEventCommand( true )" disabled="true" disabledwhennoeventsselected="true"/>
|
||||
<command id="modify_command" oncommand="editEventCommand()" disabled="true" disabledwhennoeventsselected="true"/>
|
||||
<command id="send_event_command" oncommand="sendEvent()" disabled="true" disabledwhennoeventsselected="true"/>
|
||||
<command id="print_command" oncommand="print()"/>
|
||||
<command id="cut_command" oncommand="cutToClipboard()" disabled="true" disabledwhennoeventsselected="true"/>
|
||||
<command id="copy_command" oncommand="copyToClipboard()" disabled="true" disabledwhennoeventsselected="true"/>
|
||||
<command id="paste_command" oncommand="pasteFromClipboard()"/>
|
||||
<command id="select_all_command" oncommand="selectAllEvents()"/>
|
||||
|
||||
<command id="new_todo_command" oncommand="newToDoCommand()"/>
|
||||
<command id="modify_todo_command" oncommand="modifyToDoCommand( event )"/>
|
||||
<command id="delete_todo_command" oncommand="deleteToDoCommand()" disabled="true"/>
|
||||
|
||||
<command id="new_local_calendar_command" oncommand="gCalendarWindow.calendarManager.launchAddCalendarDialog()"/>
|
||||
<command id="edit_local_calendar_command" oncommand="gCalendarWindow.calendarManager.launchEditCalendarDialog()"/>
|
||||
<command id="new_server_command" oncommand="gCalendarWindow.calendarManager.launchAddRemoteCalendarDialog()"/>
|
||||
<command id="edit_server_command" oncommand="gCalendarWindow.calendarManager.launchEditRemoteCalendarDialog()"/>
|
||||
<command id="delete_server_command" oncommand="deleteCalendar()"/>
|
||||
<command id="find_new_calendar_command" oncommand="goFindNewCalendars()"/>
|
||||
|
||||
<command id="next_command" oncommand="gCalendarWindow.currentView.goToNext()"/>
|
||||
<command id="previous_command" oncommand="gCalendarWindow.currentView.goToPrevious()"/>
|
||||
<command id="go_today_command" oncommand="gCalendarWindow.goToToday()"/>
|
||||
|
||||
<command id="day_view_command" oncommand="gCalendarWindow.switchToDayView()" disabled="true"/>
|
||||
<command id="week_view_command" oncommand="gCalendarWindow.switchToWeekView()" disabled="true"/>
|
||||
<command id="month_view_command" oncommand="gCalendarWindow.switchToMonthView()" disabled="true"/>
|
||||
<command id="multiweek_view_command" oncommand="gCalendarWindow.switchToMultiweekView()" disabled="false"/>
|
||||
|
||||
<command id="import_command" oncommand="startImport()"/>
|
||||
<command id="export_command" oncommand="saveEventsToFile()" disabled="true" disabledwhennoeventsselected="true"/>
|
||||
|
||||
<command id="refresh_remote_calendars" oncommand="gCalendarWindow.calendarManager.refreshAllRemoteCalendars()"/>
|
||||
<command id="publish_calendar" oncommand="publishEntireCalendar()"/>
|
||||
<command id="publish_events_command" oncommand="publishCalendarData()" disabled="true" disabledwhennoeventsselected="true"/>
|
||||
|
||||
<!--
|
||||
<command id="change_display_todo_in_view" oncommand="" checked="true"/>
|
||||
-->
|
||||
<command id="close_calendar_command" key="key_close" oncommand="closeCalendar()"/>
|
||||
|
||||
<command id="wizard_command" oncommand="launchWizard()" collapsed="true"/>
|
||||
</commandset>
|
||||
|
||||
<keyset>
|
||||
<key id="delete_key" keycode="VK_DELETE" observes="delete_command_no_confirm"/>
|
||||
<key id="new_event_key" key="N" modifiers="control" observes="new_command"/>
|
||||
<key id="new_todo_key" key="T" modifiers="control" observes="new_todo_command"/>
|
||||
<key id="modify_event_key" key="E" modifiers="control" observes="modify_command"/>
|
||||
<key id="print_key" key="P" modifiers="control" observes="print_command"/>
|
||||
<key id="import_key" key="I" modifiers="control" observes="import_command"/>
|
||||
<key id="export_key" key="O" modifiers="control" observes="export_command"/>
|
||||
<key id="send_event_key" key="M" modifiers="control" observes="send_event_command"/>
|
||||
|
||||
<key id="key_selectAll" key="A" modifiers="control" observes="select_all_command"/>
|
||||
<key id="key_cut" key="X" modifiers="control" observes="cut_command"/>
|
||||
<key id="key_copy" key="C" modifiers="control" observes="copy_command"/>
|
||||
<key id="key_paste" key="V" modifiers="control" observes="paste_command"/>
|
||||
|
||||
<key id="view_day_key" keycode="VK_F1" observes="day_view_command"/>
|
||||
<key id="view_week_key" keycode="VK_F2" observes="week_view_command"/>
|
||||
<key id="view_multiweek_key" keycode="VK_F3" observes="multiweek_view_command"/>
|
||||
<key id="view_month_key" keycode="VK_F4" observes="month_view_command"/>
|
||||
|
||||
<key id="go_forward_key" keycode="VK_PAGE_UP" observes="previous_command"/>
|
||||
<key id="go_backward_key" keycode="VK_PAGE_DOWN" observes="next_command"/>
|
||||
<key id="go_to_today_key" keycode="VK_DOWN" modifiers="control" observes="go_today_command"/>
|
||||
|
||||
<key id="key_close" key="W" modifiers="control" observes="close_calendar_command"/>
|
||||
</keyset>
|
||||
|
||||
<keyset id="tasksKeys"/>
|
||||
|
||||
<!-- Javascript DTD To Variable -->
|
||||
<script type="application/x-javascript">
|
||||
var confirmDeleteEvent = "&calendar.confirm.deleteevent;";
|
||||
var confirmDeleteUntitledEvent = "&calendar.confirm.deleteuntitledevent;";
|
||||
var defaultCalendarFileName = "&calendar.file.default.name;";
|
||||
</script>
|
||||
|
||||
<!-- STRING BUNDLE for calendar properties -->
|
||||
<stringbundleset id="stringbundleset">
|
||||
<stringbundle id="bundle_calendar" src="chrome://calendar/locale/calendar.properties"/>
|
||||
<stringbundle id="bundle_calendar_email" src="chrome://calendar/locale/email.properties"/>
|
||||
</stringbundleset>
|
||||
<script type="application/x-javascript">
|
||||
var gCalendarBundle = document.getElementById("bundle_calendar");
|
||||
var gCalendarEmailBundle = document.getElementById("bundle_calendar_email");
|
||||
</script>
|
||||
|
||||
<!-- Javascript includes -->
|
||||
|
||||
<script type="application/x-javascript" src="chrome://calendar/content/jslib/jslib.js"/>
|
||||
|
||||
<!-- NEEDED FOR DRAG AND DROP SUPPORT -->
|
||||
<script type="application/x-javascript" src="chrome://calendar/content/dragDrop.js"/>
|
||||
|
||||
<!-- NEEDED FOR MULTIPLE CALENDAR SUPPORT -->
|
||||
<script type="application/x-javascript" src="chrome://calendar/content/calendarManager.js"/>
|
||||
|
||||
<!-- NEEDED FOR CLIPBOARD SUPPORT -->
|
||||
<script type="application/x-javascript" src="chrome://calendar/content/clipboard.js"/>
|
||||
|
||||
<!-- NEEDED FOR IMPORT / EXPORT SUPPORT -->
|
||||
<script type="application/x-javascript" src="chrome://calendar/content/importExport.js"/>
|
||||
|
||||
<!-- NEEDED FOR MAIL SUPPORT -->
|
||||
<script type="application/x-javascript" src="chrome://calendar/content/calendarMail.js"/>
|
||||
|
||||
<!-- NEEDED FOR PUBLICATION SUPPORT -->
|
||||
<script type="application/x-javascript" src="chrome://calendar/content/publish.js"/>
|
||||
|
||||
<!-- NEEDED FOR DATE UTILS -->
|
||||
<script type="application/x-javascript" src="chrome://calendar/content/dateUtils.js"/>
|
||||
|
||||
<script type="application/x-javascript" src="chrome://calendar/content/calendar.js"/>
|
||||
<script type="application/x-javascript" src="chrome://calendar/content/calendarEvent.js"/>
|
||||
<script type="application/x-javascript" src="chrome://calendar/content/calendarSelection.js"/>
|
||||
<script type="application/x-javascript" src="chrome://calendar/content/calendarWindow.js"/>
|
||||
<script type="application/x-javascript" src="chrome://calendar/content/unifinder.js"/>
|
||||
<script type="application/x-javascript" src="chrome://calendar/content/unifinderToDo.js"/>
|
||||
<script type="application/x-javascript" src="chrome://calendar/content/pref/rootCalendarPref.js"/>
|
||||
<script type="application/x-javascript" src="chrome://browser/content/utilityOverlay.js"/>
|
||||
|
||||
<!--<script type="application/x-javascript" src="chrome://calendar/content/email.js"/>-->
|
||||
|
||||
<!-- GENERAL CONTEXT MENU -->
|
||||
<popup id="context-menu" onpopuphidden="gNewDateVariable = null;">
|
||||
<menuitem label="&calendar.context.newevent.label;" accesskey="&calendar.context.newevent.accesskey;" observes="new_command"/>
|
||||
<menuitem label="&calendar.context.newtodo.label;" accesskey="&calendar.context.newtodo.accesskey;" observes="new_todo_command"/>
|
||||
<menuitem label="&calendar.context.modifyevent.label;" accesskey="&calendar.context.modifyevent.accesskey;" observes="modify_command" />
|
||||
<menuitem label="&calendar.context.deleteevent.label;" accesskey="&calendar.context.deleteevent.accesskey;" observes="delete_command"/>
|
||||
|
||||
<menuseparator/>
|
||||
<menuitem label="&calendar.context.cutevent.label;" accesskey="&calendar.context.cutevent.accesskey;" observes="cut_command"/>
|
||||
<menuitem label="&calendar.context.copyevent.label;" accesskey="&calendar.context.copyevent.accesskey;" observes="copy_command"/>
|
||||
<menuitem label="&calendar.context.pasteevent.label;" accesskey="&calendar.context.pasteevent.accesskey;" observes="paste_command"/>
|
||||
<menuseparator/>
|
||||
<menuitem label="&calendar.context.selectall.label;" accesskey="&calendar.context.selectall.accesskey;" observes="select_all_command"/>
|
||||
<menuseparator/>
|
||||
<menuitem label="&calendar.context.gototoday.label;" accesskey="&calendar.context.gototoday.accesskey;" observes="go_today_command"/>
|
||||
<menuseparator/>
|
||||
<menuitem label="&calendar.context.dayview.label;" accesskey="&calendar.context.dayview.accesskey;" observes="day_view_command"/>
|
||||
<menuitem label="&calendar.context.weekview.label;" accesskey="&calendar.context.weekview.accesskey;" observes="week_view_command"/>
|
||||
<menuitem label="&calendar.context.monthview.label;" accesskey="&calendar.context.monthview.accesskey;" observes="month_view_command"/>
|
||||
<menuitem label="&calendar.context.multiweekview.label;" accesskey="&calendar.context.multiweekview.accesskey;" observes="multiweek_view_command"/>
|
||||
|
||||
<menuseparator/>
|
||||
<menuitem id="only-workday-checkbox-2" type="checkbox" label="&calendar.onlyworkday.checkbox.label;" oncommand="changeOnlyWorkdayCheckbox(2);" persist="checked" disabled="true"/>
|
||||
<menuitem id="display-todo-inview-checkbox-2" type="checkbox" label="&calendar.displaytodos.checkbox.label;" oncommand="changeDisplayToDoInViewCheckbox(2);" persist="checked" disabled="true"/>
|
||||
|
||||
<!--
|
||||
<menuitem label="test" observes="change_display_todo_in_view" checked="true"/>
|
||||
-->
|
||||
|
||||
<menuseparator/>
|
||||
<menuitem label="&calendar.context.emailevent.label;" accesskey="&calendar.context.emailevent.accesskey;" observes="send_event_command"/>
|
||||
<!--
|
||||
<menuseparator/>
|
||||
<menuitem label="&calendar.context.reload.label;" accesskey="&calendar.context.reload.accesskey;" oncommand="window.location = 'chrome://calendar/content/calendar.xul';"/>
|
||||
-->
|
||||
</popup>
|
||||
|
||||
<!-- TASK ITEM CONTEXT MENU -->
|
||||
<popup id="taskitem-context-menu" onpopupshowing="changeContextMenuForToDo( event );">
|
||||
<menuitem label="&calendar.context.newtodo.label;" accesskey="&calendar.context.newtodo.accesskey;" observes="new_todo_command"/>
|
||||
<!--
|
||||
Currently no way to get the item that we clicked on originally
|
||||
<menuitem label="&calendar.context.modifytask.label;" accesskey="&calendar.context.modifytask.accesskey;" observes="modify_todo_command"/>-->
|
||||
<menuitem label="&calendar.context.deletetask.label;" accesskey="&calendar.context.deletetask.accesskey;" observes="delete_todo_command"/>
|
||||
<menu label="&calendar.context.progress.label;" accesskey="&calendar.context.progress.accesskey;">
|
||||
<menupopup>
|
||||
<menuitem type="checkbox" id="percent-0-menuitem" label="0%" oncommand="contextChangeProgress( event, 0 );"/>
|
||||
<menuitem type="checkbox" id="percent-25-menuitem" label="25%" oncommand="contextChangeProgress( event, 25 );"/>
|
||||
<menuitem type="checkbox" id="percent-50-menuitem" label="50%" oncommand="contextChangeProgress( event, 50 );"/>
|
||||
<menuitem type="checkbox" id="percent-75-menuitem" label="75%" oncommand="contextChangeProgress( event, 75 );"/>
|
||||
<menuitem type="checkbox" id="percent-100-menuitem" label="100%" oncommand="contextChangeProgress( event, 100 );"/>
|
||||
</menupopup>
|
||||
</menu>
|
||||
<menu label="&calendar.context.priority.label;" accesskey="&calendar.context.priority.accesskey;">
|
||||
<menupopup>
|
||||
<menuitem type="checkbox" id="priority-0-menuitem" label="&priority.level.none;" oncommand="contextChangePriority( event, 0 );"/>
|
||||
<menuitem type="checkbox" id="priority-9-menuitem" label="&priority.level.low;" oncommand="contextChangePriority( event, 9 );"/>
|
||||
<menuitem type="checkbox" id="priority-5-menuitem" label="&priority.level.medium;" oncommand="contextChangePriority( event, 5 );"/>
|
||||
<menuitem type="checkbox" id="priority-1-menuitem" label="&priority.level.high;" oncommand="contextChangePriority( event, 1 );"/>
|
||||
</menupopup>
|
||||
</menu>
|
||||
</popup>
|
||||
|
||||
<!-- CALENDAR LIST CONTEXT MENU -->
|
||||
<popup id="calendarlist-context-menu">
|
||||
<menuitem label="&calendar.context.newserver.label;" observes="new_local_calendar_command"/>
|
||||
<menuitem label="&calendar.context.editserver.label;" observes="edit_local_calendar_command"/>
|
||||
<menuitem label="&calendar.context.deleteserver.label;" observes="delete_server_command"/>
|
||||
<menuitem label="&calendar.context.refreshserver.label;" observes="refresh_remote_calendars"/>
|
||||
<menuitem label="&calendar.context.publish.label;" observes="publish_calendar"/>
|
||||
</popup>
|
||||
|
||||
<popup id="oe-date-picker-popup" position="after_start" value="">
|
||||
<datepicker id="oe-date-picker" valud="" ondatepick="gCalendarWindow.goToDay( date )"/>
|
||||
</popup>
|
||||
|
||||
<commandset id="commands"/>
|
||||
|
||||
<toolbox id="calendar-toolbox" class="toolbox-top" deferattached="true">
|
||||
<!-- Menu -->
|
||||
<menubar id="main-menubar" persist="collapsed"/>
|
||||
|
||||
<toolbar class="toolbar-primary chromeclass-toolbar" id="calendar-bar" persist="collapsed" tbalign="stretch">
|
||||
<!--<toolbarbutton class="toolbarbutton-1" id="calendar-new-task-button" label="&calendar.newtask.button.label;" tooltiptext="&calendar.newtask.button.tooltip;" observes="new_todo_command"/>-->
|
||||
<toolbarbutton class="toolbarbutton-1" id="calendar-new-event-button" label="&calendar.newevent.button.label;" tooltiptext="&calendar.newevent.button.tooltip;" observes="new_command"/>
|
||||
<toolbarbutton class="toolbarbutton-1" id="calendar-edit-event-button" label="&calendar.edit.button.label;" tooltiptext="&calendar.edit.button.tooltip;" observes="modify_command"/>
|
||||
<toolbarbutton class="toolbarbutton-1" id="calendar-delete-event-button" label="&calendar.delete.button.label;" tooltiptext="&calendar.delete.button.tooltip;" observes="delete_command"/>
|
||||
<toolbarseparator class="toolbarseparator-primary"/>
|
||||
<toolbarbutton class="toolbarbutton-1" id="calendar-day-view-button" label="&calendar.dayview.button.label;" tooltiptext="&calendar.dayview.button.tooltip;" observes="day_view_command"/>
|
||||
<toolbarbutton class="toolbarbutton-1" id="calendar-week-view-button" label="&calendar.weekview.button.label;" tooltiptext="&calendar.weekview.button.tooltip;" observes="week_view_command"/>
|
||||
<toolbarbutton class="toolbarbutton-1" id="calendar-multiweek-view-button" label="&calendar.multiweekview.button.label;" tooltiptext="&calendar.multiweekview.button.tooltip;" observes="multiweek_view_command"/>
|
||||
<toolbarbutton class="toolbarbutton-1" id="calendar-month-view-button" label="&calendar.monthview.button.label;" tooltiptext="&calendar.monthview.button.tooltip;" observes="month_view_command"/>
|
||||
|
||||
<spacer flex="1"/>
|
||||
<hbox id="throbber-box" align="center">
|
||||
<button id="navigator-throbber2" oncommand="openAboutDialog();"
|
||||
tooltiptext="&aboutCmd.label;" style="list-style-image: url('chrome://calendar/content/sunbird_small.png');"/>
|
||||
</hbox>
|
||||
</toolbar>
|
||||
</toolbox>
|
||||
|
||||
<tooltip id="eventTreeListTooltip" onpopupshowing="changeToolTipTextForEvent( event );return( checkTooltip( event ) );"/>
|
||||
|
||||
<tooltip id="eventTooltip"/>
|
||||
|
||||
<tooltip id="taskTooltip" onpopupshowing="changeToolTipTextForToDo( event );return( checkTooltip( event ) );"/>
|
||||
|
||||
<!-- V I S I B L E C O N T E N T -->
|
||||
|
||||
<vbox id="calendar-top-box" flex="1" context="context-menu"
|
||||
ondraggesture="nsDragAndDrop.startDrag(event,calendarManagerDNDObserver);"
|
||||
ondragover="nsDragAndDrop.dragOver(event,calendarManagerDNDObserver)"
|
||||
ondragdrop="nsDragAndDrop.drop(event,calendarManagerDNDObserver)"
|
||||
>
|
||||
|
||||
<!-- Calendar Controls-->
|
||||
|
||||
<hbox id="calendar-content-box" flex="1">
|
||||
|
||||
<vbox id="left-hand-content" persist="width">
|
||||
<tabbox id="tablist">
|
||||
<tabs>
|
||||
<tab label="&calendar.calendartab.label;"/>
|
||||
<tab label="&calendar.listofcalendarstab.label;"/>
|
||||
</tabs>
|
||||
<tabpanels>
|
||||
<tabpanel>
|
||||
<vbox flex="1">
|
||||
<calendar flex="1" id="lefthandcalendar" onchange="gCalendarWindow.goToDay( this.value );"/>
|
||||
<button observes="go_today_command" label="&calendar.gototoday.button.label;"/>
|
||||
</vbox>
|
||||
</tabpanel>
|
||||
|
||||
<tabpanel>
|
||||
<!--<vbox id="left-hand-above-splitter" flex="1">-->
|
||||
<listbox id="list-calendars-listbox" class="unifinder-tree-class" flex="1"
|
||||
contextmenu="calendarlist-context-menu" datasources="rdf:null" ref="urn:calendarcontainer">
|
||||
<listhead>
|
||||
<listheader flex="1" crop="end" label="&calendar.calendarlistbox.label;"/>
|
||||
<listheader/>
|
||||
</listhead>
|
||||
<listcols>
|
||||
<listcol flex="1"/>
|
||||
<listcol/>
|
||||
</listcols>
|
||||
<template>
|
||||
<rule>
|
||||
<listitem uri="rdf:*"
|
||||
calendarPath="rdf:http://home.netscape.com/NC-rdf#path"
|
||||
onclick="switchCalendar( event );">
|
||||
<listcell class="calendar-list-item-class"
|
||||
label="rdf:http://home.netscape.com/NC-rdf#name"
|
||||
flex="1"
|
||||
style="background-color: rdf:http://home.netscape.com/NC-rdf#color"
|
||||
type="checkbox"
|
||||
checked="rdf:http://home.netscape.com/NC-rdf#active"
|
||||
/>
|
||||
<!-- If you add something between the above listcell and this listcell,
|
||||
or between the next listcell and the image tag, you have to modify calendarManager.js -->
|
||||
<listcell>
|
||||
<image class="calendar-list-item-class"/>
|
||||
</listcell>
|
||||
</listitem>
|
||||
</rule>
|
||||
</template>
|
||||
</listbox>
|
||||
<!--</vbox>-->
|
||||
</tabpanel>
|
||||
</tabpanels>
|
||||
</tabbox>
|
||||
<splitter id="calendar-todo-splitter" collapse="after" persist="state"
|
||||
class="chromeclass-extrachrome" orient="vertical">
|
||||
<grippy/>
|
||||
</splitter>
|
||||
<vbox id="left-hand-below-splitter" flex="1" persist="height">
|
||||
<box align="left">
|
||||
<label flex="1" crop="end" style="font-weight: bold" value="&calendar.unifinder.todoitems.label;"/>
|
||||
</box>
|
||||
<box align="center">
|
||||
<checkbox id="only-completed-checkbox" label="&calendar.unifinder.hidecompletedtodos.label;" flex="1" crop="end" oncommand="toDoUnifinderRefresh( event )" persist="checked"/>
|
||||
</box>
|
||||
<tree id="unifinder-todo-tree" flex="1" enableColumnDrag="false" ondblclick="modifyToDoCommand( event )">
|
||||
<treecols id="unifinder-todo-tree-cols">
|
||||
<treecol id="unifinder-todo-tree-col-completed"
|
||||
persist="hidden ordinal width" width="18" cycler="true"
|
||||
label="&calendar.unifinder.tree.done.label;">
|
||||
<image id="checkboximg" contextmenu="taskitem-context-menu"/>
|
||||
</treecol>
|
||||
<splitter class="tree-splitter"/>
|
||||
<treecol id="unifinder-todo-tree-col-priority"
|
||||
persist="hidden ordinal width" width="18"
|
||||
label="&calendar.unifinder.tree.priority.label;">
|
||||
<image id="priorityimg" contextmenu="taskitem-context-menu"/>
|
||||
</treecol>
|
||||
<splitter class="tree-splitter"/>
|
||||
<treecol id="unifinder-todo-tree-col-title"
|
||||
persist="hidden ordinal width" flex="1"
|
||||
label="&calendar.unifinder.tree.title.label;" />
|
||||
<splitter class="tree-splitter"/>
|
||||
<treecol id="unifinder-todo-tree-col-startdate"
|
||||
persist="hidden ordinal width"
|
||||
hidden="true"
|
||||
flex="1" label="&calendar.unifinder.tree.startdate.label;"/>
|
||||
<splitter class="tree-splitter"/>
|
||||
<treecol id="unifinder-todo-tree-col-duedate"
|
||||
persist="hidden ordinal width"
|
||||
hidden="true"
|
||||
flex="1" label="&calendar.unifinder.tree.duedate.label;"/>
|
||||
<splitter class="tree-splitter"/>
|
||||
<treecol id="unifinder-todo-tree-col-completeddate"
|
||||
persist="hidden ordinal width"
|
||||
hidden="true"
|
||||
flex="1" label="&calendar.unifinder.tree.completeddate.label;"/>
|
||||
<splitter class="tree-splitter"/>
|
||||
<treecol id="unifinder-todo-tree-col-percentcomplete"
|
||||
persist="hidden ordinal width"
|
||||
hidden="true"
|
||||
flex="1" label="&calendar.unifinder.tree.percentcomplete.label;"/>
|
||||
<splitter class="tree-splitter"/>
|
||||
<treecol id="unifinder-todo-tree-col-categories"
|
||||
persist="hidden ordinal width"
|
||||
hidden="true"
|
||||
flex="1" label="&calendar.unifinder.tree.categories.label;"/>
|
||||
</treecols>
|
||||
|
||||
<treechildren tooltip="taskTooltip"
|
||||
onmousedown="unifinderMouseDownToDo( event )"
|
||||
context="taskitem-context-menu"/>
|
||||
</tree>
|
||||
</vbox>
|
||||
</vbox>
|
||||
|
||||
<splitter id="calendar-splitter" collapse="before" persist="state"
|
||||
class="chromeclass-extrachrome sidebar-splitter" orient="horizontal">
|
||||
<grippy class="sidebar-splitter-grippy"/>
|
||||
</splitter>
|
||||
|
||||
<vbox flex="1">
|
||||
<vbox id="bottom-events-box" persist="height">
|
||||
<hbox>
|
||||
<box align="center">
|
||||
<menulist id="event-filter-menulist" persist="value">
|
||||
<menupopup id="event-filter-menupopup" oncommand="changeEventFilter( event );">
|
||||
<menuitem id="event-filter-all" label="&calendar.events.filter.all.label;" value="all"/>
|
||||
<menuitem id="event-filter-today" label="&calendar.events.filter.today.label;" value="today"/>
|
||||
<menuitem id="event-filter-week" label="&calendar.events.filter.week.label;" value="week"/>
|
||||
<menuitem id="event-filter-2weeks" label="&calendar.events.filter.2weeks.label;" value="2weeks"/>
|
||||
<menuitem id="event-filter-month" label="&calendar.events.filter.month.label;" value="month"/>
|
||||
<menuitem id="event-filter-future" label="&calendar.events.filter.future.label;" value="future"/>
|
||||
<menuitem id="event-filter-current" label="&calendar.events.filter.current.label;" value="current"/>
|
||||
</menupopup>
|
||||
</menulist>
|
||||
</box>
|
||||
|
||||
<box align="center" flex="1">
|
||||
<label control="unifinder-search-field" value="&calendar.search.options.searchfor;"/>
|
||||
<textbox id="unifinder-search-field" onkeypress="searchKeyPress( this, event )" flex="1"/>
|
||||
</box>
|
||||
</hbox>
|
||||
<tree id="unifinder-search-results-listbox" flex="1"
|
||||
onselect="unifinderOnSelect( event )"
|
||||
enableColumnDrag="true"
|
||||
>
|
||||
<treecols id="unifinder-search-results-tree-cols">
|
||||
<treecol id="unifinder-search-results-tree-col-title"
|
||||
persist="hidden ordinal width sortDirection sortActive"
|
||||
flex="1"
|
||||
label="&calendar.unifinder.tree.title.label;" />
|
||||
<splitter class="tree-splitter"/>
|
||||
<treecol id="unifinder-search-results-tree-col-startdate"
|
||||
persist="hidden ordinal width sortDirection sortActive"
|
||||
flex="1"
|
||||
label="&calendar.unifinder.tree.startdate.label;"/>
|
||||
<splitter class="tree-splitter"/>
|
||||
<treecol id="unifinder-search-results-tree-col-enddate"
|
||||
persist="hidden ordinal width sortDirection sortActive"
|
||||
flex="1"
|
||||
label="&calendar.unifinder.tree.enddate.label;"/>
|
||||
<splitter class="tree-splitter"/>
|
||||
<treecol id="unifinder-search-results-tree-col-categories"
|
||||
persist="hidden ordinal width sortDirection sortActive"
|
||||
flex="1"
|
||||
label="&calendar.unifinder.tree.categories.label;"/>
|
||||
<splitter class="tree-splitter"/>
|
||||
<treecol id="unifinder-search-results-tree-col-location"
|
||||
persist="hidden ordinal width sortDirection sortActive"
|
||||
flex="1"
|
||||
hidden="true"
|
||||
label="&calendar.unifinder.tree.location.label;"/>
|
||||
<splitter class="tree-splitter"/>
|
||||
<treecol id="unifinder-search-results-tree-col-status"
|
||||
persist="hidden ordinal width sortDirection sortActive"
|
||||
flex="1"
|
||||
hidden="true"
|
||||
label="&calendar.unifinder.tree.status.label;"/>
|
||||
<treecol id="unifinder-search-results-tree-col-filename"
|
||||
persist="hidden ordinal width sortDirection sortActive"
|
||||
flex="1"
|
||||
hidden="true"
|
||||
label="&calendar.unifinder.tree.filename.label;"/>
|
||||
</treecols>
|
||||
|
||||
<!-- on mousedown here happens before onclick above -->
|
||||
<treechildren tooltip="eventTreeListTooltip"
|
||||
onkeypress="if (event.keyCode == 13) unifinderEditCommand();"
|
||||
ondragover="return( false );"
|
||||
ondblclick="unifinderDoubleClickEvent( event )"
|
||||
onfocus="focusFirstItemIfNoSelection( );"/>
|
||||
</tree>
|
||||
</vbox>
|
||||
|
||||
<splitter id="calendar-view-splitter" collapse="before" persist="state"
|
||||
class="chromeclass-extrachrome sidebar-splitter" orient="vertical" onmouseup="setTimeout( 'gCalendarWindow.onMouseUpCalendarViewSplitter()', 1 );">
|
||||
<grippy class="sidebar-splitter-grippy"/>
|
||||
</splitter>
|
||||
|
||||
<!-- Begin Day/Month/Week Deck -->
|
||||
<deck id="calendar-deck" persist="selectedIndex" flex="1">
|
||||
|
||||
<!-- Calendar Month View -->
|
||||
|
||||
<vbox id="month-view-box"/>
|
||||
|
||||
<!-- End: Calendar Month View -->
|
||||
|
||||
|
||||
<!-- Calendar Week View -->
|
||||
|
||||
<vbox id="week-view-box"/>
|
||||
|
||||
<!-- End: Calendar Week View -->
|
||||
|
||||
|
||||
<!-- Calendar Day View -->
|
||||
|
||||
<vbox id="day-view-box"/>
|
||||
|
||||
<!-- End: Calendar Day View -->
|
||||
|
||||
<!-- Calendar Near Future View -->
|
||||
|
||||
<vbox id="multiweek-view-box"/>
|
||||
|
||||
<!-- End: Calendar Near Future View -->
|
||||
|
||||
</deck> <!-- End: Day/Month/Week Deck -->
|
||||
|
||||
</vbox>
|
||||
|
||||
</hbox> <!-- End: box with unifinder on left, calendar on right -->
|
||||
</vbox>
|
||||
|
||||
<statusbar id="status-bar" class="chromeclass-status">
|
||||
<statusbarpanel id="statusText" flex="1" value="&statusText.label;"/>
|
||||
<statusbarpanel id="offline-status" class="statusbarpanel-iconic" hidden="true" offline="true"/>
|
||||
</statusbar>
|
||||
|
||||
</window>
|
192
calendar/sunbird/base/content/menuOverlay.xul
Normal file
192
calendar/sunbird/base/content/menuOverlay.xul
Normal file
@ -0,0 +1,192 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- ***** BEGIN LICENSE BLOCK *****
|
||||
- Version: MPL 1.1/GPL 2.0/LGPL 2.1
|
||||
-
|
||||
- The contents of this file are subject to the Mozilla Public License Version
|
||||
- 1.1 (the "License"); you may not use this file except in compliance with
|
||||
- the License. You may obtain a copy of the License at
|
||||
- http://www.mozilla.org/MPL/
|
||||
-
|
||||
- Software distributed under the License is distributed on an "AS IS" basis,
|
||||
- WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
|
||||
- for the specific language governing rights and limitations under the
|
||||
- License.
|
||||
-
|
||||
- The Original Code is OEone Calendar Code, released October 31st, 2001.
|
||||
-
|
||||
- The Initial Developer of the Original Code is
|
||||
- OEone Corporation.
|
||||
- Portions created by the Initial Developer are Copyright (C) 2001
|
||||
- the Initial Developer. All Rights Reserved.
|
||||
-
|
||||
- Contributor(s): Colin Phillips <colinp@oeone.com>
|
||||
- Dan Parent <danp@oeone.com>
|
||||
- Eric Belhaire <belhaire@ief.u-psud.fr>
|
||||
-
|
||||
- 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 LGPL or the GPL. 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 ***** -->
|
||||
|
||||
|
||||
<?xul-overlay href="chrome://global/content/globalOverlay.xul"?>
|
||||
<?xul-overlay href="chrome://communicator/content/tasksOverlay.xul"?>
|
||||
<?xul-overlay href="chrome://global/content/charsetOverlay.xul"?>
|
||||
|
||||
<!DOCTYPE overlay
|
||||
[
|
||||
<!ENTITY % navigatorDTD SYSTEM "chrome://navigator/locale/navigator.dtd" > %navigatorDTD;
|
||||
<!ENTITY % calendarDTD SYSTEM "chrome://calendar/locale/calendar.dtd" > %calendarDTD;
|
||||
<!ENTITY % calendarMenuOverlayDTD SYSTEM "chrome://calendar/locale/menuOverlay.dtd" > %calendarMenuOverlayDTD;
|
||||
<!ENTITY % brandDTD SYSTEM "chrome://global/locale/brand.dtd" > %brandDTD;
|
||||
<!ENTITY % browserDTD SYSTEM "chrome://browser/locale/browser.dtd" > %browserDTD;
|
||||
<!ENTITY % globalRegionDTD SYSTEM "chrome://global-region/locale/region.dtd"> %globalRegionDTD;
|
||||
<!ENTITY % charsetDTD SYSTEM "chrome://global/locale/charset.dtd" > %charsetDTD;
|
||||
]>
|
||||
|
||||
<overlay id="calendarOverlay"
|
||||
xmlns:html="http://www.w3.org/1999/xhtml"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
|
||||
|
||||
<commandset id="commands">
|
||||
<command id="cmd_quit"/>
|
||||
<command id="cmd_close" oncommand="BrowserClose()"/>
|
||||
|
||||
<!-- Edit Menu -->
|
||||
<command id="cmd_undo"/>
|
||||
<command id="cmd_redo"/>
|
||||
<command id="cmd_cut"/>
|
||||
<command id="cmd_copy"/>
|
||||
<command id="cmd_paste"/>
|
||||
<command id="cmd_delete"/>
|
||||
<command id="cmd_selectAll"/>
|
||||
|
||||
<!-- Search Menu -->
|
||||
<command id="Browser:Find" oncommand="BrowserFind();" />
|
||||
<command id="Browser:FindAgain" oncommand="BrowserFindAgain();" />
|
||||
<commandset id="tasksCommands"/>
|
||||
</commandset>
|
||||
|
||||
<!-- Keysets -->
|
||||
<keyset id="navKeys">
|
||||
<!-- File Menu -->
|
||||
<key id="key_close"/>
|
||||
<!-- Edit Menu -->
|
||||
<key id="key_undo"/>
|
||||
<key id="key_redo"/>
|
||||
<key id="key_cut"/>
|
||||
<key id="key_copy"/>
|
||||
<key id="key_paste"/>
|
||||
<key id="key_delete"/>
|
||||
<key id="key_selectAll"/>
|
||||
|
||||
<!-- Search Menu -->
|
||||
<key id="key_find" key="&findOnCmd.commandkey;" command="Browser:Find" modifiers="accel"/>
|
||||
<key id="key_findAgain" key="&findAgainCmd.commandkey;" command="Browser:FindAgain" modifiers="accel"/>
|
||||
</keyset>
|
||||
<keyset id="tasksKeys">
|
||||
<key id="key_quit"/>
|
||||
</keyset>
|
||||
|
||||
|
||||
<!-- Menu -->
|
||||
<menubar id="main-menubar" class="chromeclass-menubar">
|
||||
<menu id="menu_File" label="&fileMenu.label;" accesskey="&fileMenu.accesskey;">
|
||||
<menupopup id="menu_FilePopup">
|
||||
<menuitem id="calendar-new-event-menu" key="new_event_key" label="&event.new.event;" observes="new_command"/>
|
||||
<menuitem id="calendar-new-todo-menu" key="new_todo_key" label="&event.new.todo;" observes="new_todo_command"/>
|
||||
<menuitem id="calendar-new-calendar-menu" key="new_calendar_key" label="&calendar.context.newserver.label;" observes="new_local_calendar_command"/>
|
||||
<menuitem id="unifinder-modify-menu" key="modify_event_key" label="&event.edit.event;" observes="modify_command"/>
|
||||
<menuitem id="calendar-close" observes="close_calendar_command" label="&calendar.menu.options.close;"/>
|
||||
<menuseparator/>
|
||||
<menuitem id="calendar-mail-event" observes="send_event_command" key="send_event_key" label="&event.mail.event;"/>
|
||||
<menuseparator/>
|
||||
<menuitem id="calendar-print-menu" observes="print_command" label="&calendar.print.label;"/>
|
||||
</menupopup>
|
||||
</menu>
|
||||
|
||||
<menu id="menu_Edit" label="&editMenu.label;" accesskey="&editMenu.accesskey;">
|
||||
<menupopup id="mppEdit">
|
||||
<menuitem id="calendar-cut-menu" key="key_cut" label="&calendar.cut.label;" accesskey="&calendar.cut.accesskey;" observes="cut_command" />
|
||||
<menuitem id="calendar-copy-menu" key="key_copy" label="&calendar.copy.label;" accesskey="&calendar.copy.accesskey;" observes="copy_command" />
|
||||
<menuitem id="calendar-paste-menu" key="key_paste" label="&calendar.paste.label;" accesskey="&calendar.paste.accesskey;" observes="paste_command"/>
|
||||
<menuitem id="unifinder-remove-menu" key="delete_key" label="&event.delete.event;" observes="delete_command" />
|
||||
<menuitem id="unifinder-remove-menu" label="&event.delete.tasks;" observes="delete_todo_command" />
|
||||
<menuseparator/>
|
||||
<menuitem id="calendar-selectall-menu" key="key_selectAll" label="&calendar.selectall.label;" accesskey="&calendar.selectall.accesskey;" observes="select_all_command"/>
|
||||
</menupopup>
|
||||
</menu>
|
||||
|
||||
<menu id="menu_View" label="&viewMenu.label;" accesskey="&viewMenu.accesskey;">
|
||||
<menupopup id="mppView">
|
||||
<menuitem id="calendar-view-menu-day" key="view_day_key" label="&calendar.flat.topbar.dayview;" accesskey="&calendar.dayview.accesskey;" observes="day_view_command"/>
|
||||
<menuitem id="calendar-view-menu-week" key="view_week_key" label="&calendar.flat.topbar.weekview;" accesskey="&calendar.weekview.accesskey;" observes="week_view_command"/>
|
||||
<menuitem id="calendar-view-menu-multiweek" key="view_multiweek_key" label="&calendar.flat.topbar.multiweekview;" accesskey="&calendar.multiweekview.accesskey;" observes="multiweek_view_command"/>
|
||||
<menuitem id="calendar-view-menu-month" key="view_month_key" label="&calendar.flat.topbar.monthview;" accesskey="&calendar.monthview.accesskey;" observes="month_view_command"/>
|
||||
<menuseparator/>
|
||||
<menuitem id="only-workday-checkbox-1" type="checkbox" label="&calendar.onlyworkday.checkbox.label;" oncommand="changeOnlyWorkdayCheckbox(1);" persist="checked" disabled="true"/>
|
||||
<menuitem id="display-todo-inview-checkbox-1" type="checkbox" label="&calendar.displaytodos.checkbox.label;" oncommand="changeDisplayToDoInViewCheckbox(1);" persist="checked" disabled="true"/>
|
||||
<!-- <menuitem label="test" observes="change_display_todo_in_view" checked="true"/> -->
|
||||
<menu label="&calendar.menu.numberofweeks.label;" oncommand="gCalendarWindow.currentView.changeNumberOfWeeks(event.target)" id="menu-numberofweeks-inview" disabled="true">
|
||||
<menupopup>
|
||||
<menuitem type="radio" value="1" name="menunbofweeks" label="&calendar.menu.numberofweeks.1;"/>
|
||||
<menuitem type="radio" value="2" name="menunbofweeks" label="&calendar.menu.numberofweeks.2;"/>
|
||||
<menuitem type="radio" value="3" name="menunbofweeks" label="&calendar.menu.numberofweeks.3;"/>
|
||||
<menuitem type="radio" value="4" name="menunbofweeks" label="&calendar.menu.numberofweeks.4;"/>
|
||||
<menuitem type="radio" value="5" name="menunbofweeks" label="&calendar.menu.numberofweeks.5;"/>
|
||||
<menuitem type="radio" value="6" name="menunbofweeks" label="&calendar.menu.numberofweeks.6;"/>
|
||||
</menupopup>
|
||||
</menu>
|
||||
</menupopup>
|
||||
</menu>
|
||||
|
||||
<menu id="menu_Go" label="&goMenu.label;" accesskey="&goMenu.accesskey;">
|
||||
<menupopup id="mppView">
|
||||
<menuitem id="calendar-view-menu-today" key="go_to_today_key" label="&goTodayCmd.label;" accesskey="&goTodayCmd.accesskey;" observes="go_today_command"/>
|
||||
<menuitem id="calendar-view-menu-previous" key="go_forward_key" label="&goPreviousCmd.label;" accesskey="&goPreviousCmd.accesskey;"/>
|
||||
<menuitem id="calendar-view-menu-next" key="go_backward_key" label="&goNextCmd.label;" accesskey="&goNextCmd.accesskey;"/>
|
||||
</menupopup>
|
||||
</menu>
|
||||
|
||||
<menu label="&tasksMenu.label;" accesskey="&tasksMenu.accesskey;">
|
||||
<menupopup id="taskPopup">
|
||||
<menuitem id="calendar-wizard-menu" key="wizard_key" label="&calendar.wizard.label;" accesskey="&calendar.wizard.accesskey;" observes="wizard_command"/>
|
||||
<menuitem id="calendar-import-menu" key="import_key" label="&calendar.import.label;" accesskey="&calendar.import.accesskey;" observes="import_command"/>
|
||||
<menuitem id="calendar-export-menu" key="export_key" label="&calendar.export.label;" accesskey="&calendar.export.accesskey;" observes="export_command"/>
|
||||
<menuitem id="calendar-addserver-menu" label="&calendar.subscribe.label;" observes="new_server_command"/>
|
||||
<menuitem id="calendar-publish-menu" label="&calendar.publish.label;" observes="publish_events_command"/>
|
||||
<menuseparator/>
|
||||
<menuitem id="javascriptConsole" label="&javaScriptConsoleCmd.label;" accesskey="&javaScriptConsoleCmd.accesskey;" oncommand="toJavaScriptConsole();"/>
|
||||
<menuseparator id="prefSep"/>
|
||||
<menuitem id="menu_preferences"
|
||||
label="&preferencesCmd.label;"
|
||||
accesskey="&preferencesCmd.accesskey;"
|
||||
oncommand="openPreferences();"/>
|
||||
</menupopup>
|
||||
</menu>
|
||||
<menu label="&helpMenu.label;"
|
||||
accesskey="&helpMenu.accesskey;">
|
||||
<menupopup id="menu_HelpPopup">
|
||||
<menuitem accesskey="&releaseCmd.accesskey;"
|
||||
label="&releaseCmd.label;"
|
||||
oncommand="openTopWin('&releaseURL;');"/>
|
||||
<menuseparator/>
|
||||
<menuitem id="aboutName"
|
||||
accesskey="&aboutCmd.accesskey;"
|
||||
label="&aboutCmd.label;"
|
||||
oncommand="openAboutDialog();"/>
|
||||
</menupopup>
|
||||
</menu>
|
||||
</menubar>
|
||||
|
||||
</overlay>
|
3
calendar/sunbird/base/jar.mn
Normal file
3
calendar/sunbird/base/jar.mn
Normal file
@ -0,0 +1,3 @@
|
||||
calendar.jar:
|
||||
content/calendar/calendar.xul (content/calendar.xul)
|
||||
content/calendar/menuOverlay.xul (content/menuOverlay.xul)
|
Loading…
x
Reference in New Issue
Block a user