mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-21 17:59:34 +00:00
Initial Lightning stub framework shell prototype experiment. This won't build
for you at all unless you break into my laptop and steal my patches to {config,rules}.mk. Please don't do that.
This commit is contained in:
parent
37c60bb142
commit
3dcbccfdac
13
calendar/lightning/Makefile.in
Normal file
13
calendar/lightning/Makefile.in
Normal file
@ -0,0 +1,13 @@
|
||||
DEPTH = ../..
|
||||
topsrcdir = @top_srcdir@
|
||||
srcdir = @srcdir@
|
||||
VPATH = @srcdir@
|
||||
|
||||
include $(DEPTH)/config/autoconf.mk
|
||||
|
||||
MODULE = lightning
|
||||
export XPI_NAME = lightning
|
||||
XPI_PKGNAME = lightning
|
||||
DIRS = $(topsrcdir)/calendar/libical $(topsrcdir)/calendar/base
|
||||
|
||||
include $(topsrcdir)/config/rules.mk
|
30
calendar/lightning/content/contents.rdf
Normal file
30
calendar/lightning/content/contents.rdf
Normal file
@ -0,0 +1,30 @@
|
||||
<?xml version="1.0"?>
|
||||
|
||||
<RDF:RDF xmlns:RDF="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:chrome="http://www.mozilla.org/rdf/chrome#">
|
||||
|
||||
<!-- list all the packages being supplied by this jar -->
|
||||
<RDF:Seq about="urn:mozilla:package:root">
|
||||
<RDF:li resource="urn:mozilla:package:lightning"/>
|
||||
</RDF:Seq>
|
||||
|
||||
<!-- package information -->
|
||||
<RDF:Description about="urn:mozilla:package:lightning"
|
||||
chrome:displayName="Lightning (Calendar)"
|
||||
chrome:author="Mozilla Calendar Team"
|
||||
chrome:name="lightning"
|
||||
chrome:description="This extension integrates calendar functionality into Thunderbird."
|
||||
#expand chrome:localeVersion="__MOZILLA_LOCALE_VERSION__"
|
||||
#expand chrome:skinVersion="__MOZILLA_SKIN_VERSION__"
|
||||
</RDF:Description>
|
||||
|
||||
<!-- overlay information -->
|
||||
<RDF:Seq about="urn:mozilla:overlays">
|
||||
<RDF:li resource="chrome://messenger/content/mailWindowOverlay.xul"/>
|
||||
</RDF:Seq>
|
||||
|
||||
<RDF:Seq about="chrome://messenger/content/mailWindowOverlay.xul">
|
||||
<RDF:li>chrome://lightning/content/tools-overlay.xul</RDF:li>
|
||||
</RDF:Seq>
|
||||
|
||||
</RDF:RDF>
|
12
calendar/lightning/content/tools-overlay.xul
Normal file
12
calendar/lightning/content/tools-overlay.xul
Normal file
@ -0,0 +1,12 @@
|
||||
<?xml version="1.0"?>
|
||||
|
||||
<!DOCTYPE overlay SYSTEM "chrome:///lightning/locale/lightning.dtd">
|
||||
|
||||
<overlay xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
|
||||
|
||||
<menupopup id="taskPopup">
|
||||
<menuitem id="lightningTaskItem" label="&lightning.taskLabel;"
|
||||
oncommand="ltn_activateLightning()" insertbefore="devToolsSeparator"/>
|
||||
</menupopup>
|
||||
|
||||
</overlay>
|
34
calendar/lightning/install.rdf
Normal file
34
calendar/lightning/install.rdf
Normal file
@ -0,0 +1,34 @@
|
||||
<?xml version="1.0"?>
|
||||
|
||||
<RDF xmlns="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:em="http://www.mozilla.org/2004/em-rdf#">
|
||||
|
||||
<Description about="urn:mozilla:install-manifest">
|
||||
<!-- Target Application this extension can install into,
|
||||
with minimum and maximum supported versions. -->
|
||||
<em:targetApplication>
|
||||
<Description>
|
||||
<!-- thunderbird -->
|
||||
<em:id>{3550f703-e582-4d05-9a08-453d09bdfdc6}</em:id>
|
||||
<em:minVersion>0.6</em:minVersion>
|
||||
<em:maxVersion>1.0+</em:maxVersion>
|
||||
</Description>
|
||||
</em:targetApplication>
|
||||
|
||||
<em:id>{e2fda1a4-762b-4020-b5ad-a41df1933103}</em:id>
|
||||
<em:name>Lightning</em:name>
|
||||
<em:version>0.0.1+</em:version>
|
||||
|
||||
<em:description>An experimental calendar extension for Thunderbird</em:description>
|
||||
<em:creator>Mozilla Foundation Calendar Squad</em:creator>
|
||||
|
||||
<em:file>
|
||||
<Description about="urn:mozilla:extension:file:lightning.jar">
|
||||
<em:package>content/lightning/</em:package>
|
||||
</Description>
|
||||
<Description about="urn:mozilla:extension:file:en-US.jar">
|
||||
<em:locale>locale/en-US/lightning/</em:locale>
|
||||
</Description>
|
||||
</em:file>
|
||||
</Description>
|
||||
</RDF>
|
7
calendar/lightning/jar.mn
Normal file
7
calendar/lightning/jar.mn
Normal file
@ -0,0 +1,7 @@
|
||||
lightning.jar:
|
||||
* content/lightning/contents.rdf (content/contents.rdf)
|
||||
content/lightning/tools-overlay.xul (content/tools-overlay.xul)
|
||||
|
||||
en-US.jar:
|
||||
locale/en-US/lightning/lightning.dtd (locale/lightning.dtd)
|
||||
* locale/en-US/lightning/contents.rdf (locale/contents.rdf)
|
24
calendar/lightning/locale/contents.rdf
Normal file
24
calendar/lightning/locale/contents.rdf
Normal file
@ -0,0 +1,24 @@
|
||||
<?xml version="1.0"?>
|
||||
<RDF:RDF xmlns:RDF="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:chrome="http://www.mozilla.org/rdf/chrome#">
|
||||
|
||||
<!-- list all the skins being supplied by this package -->
|
||||
<RDF:Seq about="urn:mozilla:locale:root">
|
||||
<RDF:li resource="urn:mozilla:locale:en-US"/>
|
||||
</RDF:Seq>
|
||||
|
||||
<!-- locale information -->
|
||||
<RDF:Description about="urn:mozilla:locale:en-US">
|
||||
<chrome:packages>
|
||||
<RDF:Seq about="urn:mozilla:locale:en-US:packages">
|
||||
<RDF:li resource="urn:mozilla:locale:en-US:lightning"/>
|
||||
</RDF:Seq>
|
||||
</chrome:packages>
|
||||
</RDF:Description>
|
||||
|
||||
<!-- Version Information. State that we work only with major version of this
|
||||
package. -->
|
||||
<RDF:Description about="urn:mozilla:locale:en-US:lightning"
|
||||
#expand chrome:localeVersion="__MOZILLA_LOCALE_VERSION__"/>
|
||||
</RDF:RDF>
|
||||
|
2
calendar/lightning/locale/lightning.dtd
Normal file
2
calendar/lightning/locale/lightning.dtd
Normal file
@ -0,0 +1,2 @@
|
||||
<!-- Tools menu -->
|
||||
<!ENTITY lightning.taskLabel "Lightning">
|
Loading…
x
Reference in New Issue
Block a user