Skip to content
This repository has been archived by the owner on Mar 29, 2019. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
add 1.4rc3 docset
  • Loading branch information
Will Bamberg committed Jan 5, 2012
1 parent b621331 commit 0c79c82
Show file tree
Hide file tree
Showing 148 changed files with 3,213 additions and 1,609 deletions.
14 changes: 6 additions & 8 deletions dev-guide-source/addon-development/cfx-tool.md
Expand Up @@ -111,7 +111,7 @@ your add-on alongside debuggers like [Firebug](http://getfirebug.com/).
<p>For example, to pass the <p>For example, to pass the
<code>-jsconsole</code> argument to Firefox, which will launch the <code>-jsconsole</code> argument to Firefox, which will launch the
<a href="https://developer.mozilla.org/en/Error_Console">JavaScript <a href="https://developer.mozilla.org/en/Error_Console">JavaScript
Error Console</a>, try the following:</p<> Error Console</a>, try the following:</p>
<pre>cfx run --binary-args -jsconsole</pre> <pre>cfx run --binary-args -jsconsole</pre>
<p>To pass multiple arguments, or arguments containing spaces, quote them:</p> <p>To pass multiple arguments, or arguments containing spaces, quote them:</p>
<pre>cfx run --binary-args '-url "www.mozilla.org" -jsconsole'</pre> <pre>cfx run --binary-args '-url "www.mozilla.org" -jsconsole'</pre>
Expand Down Expand Up @@ -263,9 +263,8 @@ To launch the application, enter the following command:
<code>--e10s</code> <code>--e10s</code>
</td> </td>
<td> <td>
If this option is set then the add-on runs in a separate process. See If this option is set then the add-on runs in a separate process.
<a href="dev-guide/module-development/e10s.html">out-of-process add-ons</a> This option is currently not implemented.
for details.
</td> </td>
</tr> </tr>


Expand Down Expand Up @@ -333,7 +332,7 @@ times.
<p>For example, to pass the <p>For example, to pass the
<code>-jsconsole</code> argument to Firefox, which will launch the <code>-jsconsole</code> argument to Firefox, which will launch the
<a href="https://developer.mozilla.org/en/Error_Console">JavaScript <a href="https://developer.mozilla.org/en/Error_Console">JavaScript
Error Console</a>, try the following:</p<> Error Console</a>, try the following:</p>
<pre>cfx run --binary-args -jsconsole</pre> <pre>cfx run --binary-args -jsconsole</pre>
<p>To pass multiple arguments, or arguments containing spaces, quote them:</p> <p>To pass multiple arguments, or arguments containing spaces, quote them:</p>
<pre>cfx run --binary-args '-url "www.mozilla.org" -jsconsole'</pre> <pre>cfx run --binary-args '-url "www.mozilla.org" -jsconsole'</pre>
Expand Down Expand Up @@ -488,9 +487,8 @@ To launch the application, enter the following command:
<code>--e10s</code> <code>--e10s</code>
</td> </td>
<td> <td>
If this option is set then the add-on runs in a separate process. See If this option is set then the add-on runs in a separate process.
<a href="dev-guide/module-development/e10s.html">out-of-process add-ons</a> This option is currently not implemented.
for details.
</td> </td>
</tr> </tr>


Expand Down
Expand Up @@ -21,7 +21,7 @@ Any changes they make are made to the proxy, and so are not visible to
page content. page content.


The proxy is based on `XRayWrapper`, (also known as The proxy is based on `XRayWrapper`, (also known as
[`XPCNativeWrapper`](https://developer.mozilla.oreg/en/XPCNativeWrapper)). [`XPCNativeWrapper`](https://developer.mozilla.org/en/XPCNativeWrapper)).
These wrappers give the user access to the native values of DOM functions These wrappers give the user access to the native values of DOM functions
and properties, even if they have been redefined by a script. and properties, even if they have been redefined by a script.


Expand Down
Expand Up @@ -258,7 +258,7 @@ add-on in Firefox's Add-ons Manager and on
To specify an icon, save it as "icon.png" in your add-on's root directory. To To specify an icon, save it as "icon.png" in your add-on's root directory. To
give the icon a different name or to store it in a different location give the icon a different name or to store it in a different location
under the root, use the "icon" key in your `package.json` file. See the under the root, use the "icon" key in your `package.json` file. See the
[Package Specification](file:///Users/Work/mozilla/jetpack-sdk/doc/dev-guide/addon-development/package-spec.html) [Package Specification](dev-guide/addon-development/package-spec.html)
for more details. for more details.


### cfx xpi ### ### cfx xpi ###
Expand Down
19 changes: 9 additions & 10 deletions dev-guide-source/addon-development/installation.md
Expand Up @@ -9,8 +9,7 @@ To develop with the Add-on SDK, you'll need:


* Firefox version 4.0 or later. * Firefox version 4.0 or later.


At the moment, the latest stable version of the Add-on SDK is 1.3. You can obtain the latest stable version of the SDK as a
You can obtain it as a
[tarball](https://ftp.mozilla.org/pub/mozilla.org/labs/jetpack/jetpack-sdk-latest.tar.gz) [tarball](https://ftp.mozilla.org/pub/mozilla.org/labs/jetpack/jetpack-sdk-latest.tar.gz)
or a [zip file](https://ftp.mozilla.org/pub/mozilla.org/labs/jetpack/jetpack-sdk-latest.zip). or a [zip file](https://ftp.mozilla.org/pub/mozilla.org/labs/jetpack/jetpack-sdk-latest.zip).
Alternatively, you can get the latest development version of the Alternatively, you can get the latest development version of the
Expand All @@ -22,21 +21,21 @@ Extract the file contents wherever you choose, and navigate to the root
directory of the SDK with a shell/command prompt. For example: directory of the SDK with a shell/command prompt. For example:


<pre> <pre>
tar -xf addon-sdk-1.3.tar.gz tar -xf addon-sdk.tar.gz
cd addon-sdk-1.3 cd addon-sdk
</pre> </pre>


Then run: Then run:


<pre> <pre>
source bin/activate source bin/activate
</pre> </pre>


Your command prompt should now have a new prefix containing the name of the Your command prompt should now have a new prefix containing the name of the
SDK's root directory: SDK's root directory:


<pre> <pre>
(addon-sdk-1.3)~/mozilla/addon-sdk-1.3 > (addon-sdk)~/mozilla/addon-sdk >
</pre> </pre>


## Installation on Windows ## ## Installation on Windows ##
Expand All @@ -45,8 +44,8 @@ Extract the file contents wherever you choose, and navigate to the root
directory of the SDK with a shell/command prompt. For example: directory of the SDK with a shell/command prompt. For example:


<pre> <pre>
7z.exe x addon-sdk-1.3.zip 7z.exe x addon-sdk.zip
cd addon-sdk-1.3 cd addon-sdk
</pre> </pre>


Then run: Then run:
Expand All @@ -69,7 +68,7 @@ Your command prompt should now have a new prefix containing the full path to
the SDK's root directory: the SDK's root directory:


<pre> <pre>
(C:\Users\mozilla\sdk\addon-sdk-1.3) C:\Users\Work\sdk\addon-sdk-1.3> (C:\Users\mozilla\sdk\addon-sdk) C:\Users\Work\sdk\addon-sdk>
</pre> </pre>


## SDK Virtual Environment ## ## SDK Virtual Environment ##
Expand Down Expand Up @@ -126,7 +125,7 @@ program in your `~/bin` directory:
Run this at your shell prompt: Run this at your shell prompt:


<pre> <pre>
~/mozilla/addon-sdk-1.3 > cfx ~/mozilla/addon-sdk > cfx
</pre> </pre>


It should produce output whose first line looks something like this, followed by It should produce output whose first line looks something like this, followed by
Expand Down
5 changes: 5 additions & 0 deletions dev-guide-source/addon-development/package-spec.md
Expand Up @@ -48,6 +48,11 @@ called `package.json`. This file is also referred to as the
[`icon64URL` entry in the Install Manifest](https://developer.mozilla.org/en/install_manifests#icon64URL), [`icon64URL` entry in the Install Manifest](https://developer.mozilla.org/en/install_manifests#icon64URL),
so the icon should be 64x64 pixels in size. so the icon should be 64x64 pixels in size.


* `preferences` - *experimental*
An array of JSON objects that use the following keys `name`, `type`, `value`,
`title`, and `description`. These JSON objects will be used to automatically
create a preferences interface for the addon in the Add-ons Manager.
For more information see the documentation of [simple-prefs](packages/addon-kit/docs/simple-prefs.html).


* `license` - the name of the license as a String, with an optional * `license` - the name of the license as a String, with an optional
URL in parentheses. URL in parentheses.
Expand Down
2 changes: 1 addition & 1 deletion dev-guide-source/addon-development/tutorials.md
Expand Up @@ -9,4 +9,4 @@ An introduction to the SDK APIs.


### [Annotator: a More Complex Add-on](dev-guide/addon-development/annotator/annotator.html) ### ### [Annotator: a More Complex Add-on](dev-guide/addon-development/annotator/annotator.html) ###
This tutorial takes you through the implementation of a more complex add-on, This tutorial takes you through the implementation of a more complex add-on,
and introduces most of the APIs in the [addon-kit package](#package/addon-kit). and introduces most of the APIs in the [addon-kit package](packages/addon-kit/addon-kit.html).
3 changes: 3 additions & 0 deletions dev-guide-source/appendices/credits.md
Expand Up @@ -15,9 +15,11 @@ We'd like to thank our many Jetpack project contributors! They include:
* [Shane Caraveo](https://github.com/mixedpuppy) * [Shane Caraveo](https://github.com/mixedpuppy)
* [Matěj Cepl](https://github.com/mcepl) * [Matěj Cepl](https://github.com/mcepl)
* Hernán Rodriguez Colmeiro * Hernán Rodriguez Colmeiro
* dexter
* [Matteo Ferretti (ZER0)](https://github.com/ZER0) * [Matteo Ferretti (ZER0)](https://github.com/ZER0)
* fuzzykiller * fuzzykiller
* [Marcio Galli](https://github.com/taboca) * [Marcio Galli](https://github.com/taboca)
* [Ben Gillbanks](http://www.iconfinder.com/browse/iconset/circular_icons/)
* Felipe Gomes * Felipe Gomes
* Irakli Gozalishvili * Irakli Gozalishvili
* Luca Greco * Luca Greco
Expand All @@ -41,6 +43,7 @@ We'd like to thank our many Jetpack project contributors! They include:
* Aza Raskin * Aza Raskin
* Justin Scott * Justin Scott
* Ayan Shah * Ayan Shah
* [skratchdot](https://github.com/skratchdot)
* [Mihai Sucan](https://github.com/mihaisucan) * [Mihai Sucan](https://github.com/mihaisucan)
* Clint Talbert * Clint Talbert
* Thomas * Thomas
Expand Down
105 changes: 0 additions & 105 deletions dev-guide-source/module-development/e10s.md

This file was deleted.

1 change: 0 additions & 1 deletion dev-guide-source/module-development/guides.md
Expand Up @@ -6,4 +6,3 @@


### [XPI Generation](dev-guide/module-development/xpi.html) ### ### [XPI Generation](dev-guide/module-development/xpi.html) ###


### [Out-of-Process Add-ons](dev-guide/module-development/e10s.html) ###
1 change: 0 additions & 1 deletion dev-guide-source/module-development/tutorials.md
Expand Up @@ -8,4 +8,3 @@


### [XPI Generation](dev-guide/module-development/xpi.html) ### ### [XPI Generation](dev-guide/module-development/xpi.html) ###


### [Out-of-Process Add-ons](dev-guide/module-development/e10s.html) ###
22 changes: 15 additions & 7 deletions dev-guide/addon-development/about.html
Expand Up @@ -2,7 +2,7 @@
"http://www.w3.org/TR/html4/strict.dtd"> "http://www.w3.org/TR/html4/strict.dtd">
<html lang="en"> <html lang="en">
<head> <head>
<base href="https://addons.mozilla.org/en-US/developers/docs/sdk/1.3/" > <base href="https://addons.mozilla.org/en-US/developers/docs/sdk/1.4/" >
<meta http-equiv="Content-type" content="text/html; charset=utf-8"> <meta http-equiv="Content-type" content="text/html; charset=utf-8">
<script type="text/javascript" src="static-files/syntaxhighlighter/scripts/shCore.js"></script> <script type="text/javascript" src="static-files/syntaxhighlighter/scripts/shCore.js"></script>
<script type="text/javascript" src="static-files/syntaxhighlighter/scripts/shBrushCss.js"></script> <script type="text/javascript" src="static-files/syntaxhighlighter/scripts/shBrushCss.js"></script>
Expand Down Expand Up @@ -49,6 +49,7 @@
<h1> <h1>
<a href="dev-guide/welcome.html">Add-on SDK<span></span></a> <a href="dev-guide/welcome.html">Add-on SDK<span></span></a>
</h1> </h1>
<div id="version">Version 1.4</div>
</div> </div>
</header> </header>


Expand Down Expand Up @@ -202,6 +203,10 @@ <h4>
<a href="packages/addon-kit/docs/self.html">self</a> <a href="packages/addon-kit/docs/self.html">self</a>
</li> </li>


<li class="module">
<a href="packages/addon-kit/docs/simple-prefs.html">simple-prefs</a>
</li>

<li class="module"> <li class="module">
<a href="packages/addon-kit/docs/simple-storage.html">simple-storage</a> <a href="packages/addon-kit/docs/simple-storage.html">simple-storage</a>
</li> </li>
Expand Down Expand Up @@ -245,7 +250,6 @@ <h3 class="sidebar-subsection-header"><a href="dev-guide/module-development/guid
<li><h4><a href="dev-guide/module-development/best-practices.html">Low-Level Module Best Practices</a></h4> <li><h4><a href="dev-guide/module-development/best-practices.html">Low-Level Module Best Practices</a></h4>
<li><h4><a href="dev-guide/module-development/chrome.html">Chrome Authority</a></h4> <li><h4><a href="dev-guide/module-development/chrome.html">Chrome Authority</a></h4>
<li><h4><a href="dev-guide/module-development/xpi.html">XPI Generation</a></h4> <li><h4><a href="dev-guide/module-development/xpi.html">XPI Generation</a></h4>
<li><h4><a href="dev-guide/module-development/e10s.html">Out-of-Process Add-ons</a></h4>
</ul> </ul>
</div> </div>
</div> </div>
Expand Down Expand Up @@ -303,7 +307,7 @@ <h4>
</li> </li>


<li class="module"> <li class="module">
<a href="packages/api-utils/docs/e10s.html">e10s</a> <a href="packages/api-utils/docs/environment.html">environment</a>
</li> </li>


<li class="module"> <li class="module">
Expand All @@ -322,6 +326,10 @@ <h4>
<a href="packages/api-utils/docs/hidden-frame.html">hidden-frame</a> <a href="packages/api-utils/docs/hidden-frame.html">hidden-frame</a>
</li> </li>


<li class="module">
<a href="packages/api-utils/docs/httpd.html">httpd</a>
</li>

<li class="module"> <li class="module">
<a href="packages/api-utils/docs/light-traits.html">light-traits</a> <a href="packages/api-utils/docs/light-traits.html">light-traits</a>
</li> </li>
Expand All @@ -338,6 +346,10 @@ <h4>
<a href="packages/api-utils/docs/memory.html">memory</a> <a href="packages/api-utils/docs/memory.html">memory</a>
</li> </li>


<li class="module">
<a href="packages/api-utils/docs/namespace.html">namespace</a>
</li>

<li class="module"> <li class="module">
<a href="packages/api-utils/docs/observer-service.html">observer-service</a> <a href="packages/api-utils/docs/observer-service.html">observer-service</a>
</li> </li>
Expand All @@ -354,10 +366,6 @@ <h4>
<a href="packages/api-utils/docs/runtime.html">runtime</a> <a href="packages/api-utils/docs/runtime.html">runtime</a>
</li> </li>


<li class="module">
<a href="packages/api-utils/docs/securable-module.html">securable-module</a>
</li>

<li class="module"> <li class="module">
<a href="packages/api-utils/docs/tab-browser.html">tab-browser</a> <a href="packages/api-utils/docs/tab-browser.html">tab-browser</a>
</li> </li>
Expand Down

0 comments on commit 0c79c82

Please sign in to comment.