Skip to content
Browse files

add 1.8rc2 docset

  • Loading branch information...
1 parent a1a5a32 commit 98c522c23791a8285203bfc141469f437a16f000 @wbamberg wbamberg committed Jun 20, 2012
Showing with 2,556 additions and 736 deletions.
  1. +2 −0 dev-guide-source/credits.md
  2. +1 −1 dev-guide-source/guides/commonjs.md
  3. +9 −3 dev-guide-source/guides/content-scripts/loading.md
  4. +0 −6 dev-guide-source/guides/sdk-vs-xul.md
  5. +134 −68 dev-guide-source/tutorials/l10n.md
  6. +7 −0 dev-guide-source/tutorials/modifying-web-pages-url.md
  7. +7 −3 dev-guide/cfx-tool.html
  8. +7 −3 dev-guide/console.html
  9. +9 −3 dev-guide/credits.html
  10. +7 −3 dev-guide/glossary.html
  11. +8 −4 dev-guide/guides/commonjs.html
  12. +7 −3 dev-guide/guides/content-scripts/access.html
  13. +7 −3 dev-guide/guides/content-scripts/index.html
  14. +15 −7 dev-guide/guides/content-scripts/loading.html
  15. +7 −3 dev-guide/guides/content-scripts/reddit-example.html
  16. +7 −3 dev-guide/guides/content-scripts/using-port.html
  17. +7 −3 dev-guide/guides/content-scripts/using-postmessage.html
  18. +7 −3 dev-guide/guides/events.html
  19. +7 −3 dev-guide/guides/firefox-compatibility.html
  20. +7 −3 dev-guide/guides/index.html
  21. +7 −3 dev-guide/guides/library-detector.html
  22. +7 −3 dev-guide/guides/module-search.html
  23. +7 −3 dev-guide/guides/program-id.html
  24. +7 −9 dev-guide/guides/sdk-vs-xul.html
  25. +7 −3 dev-guide/guides/two-types-of-scripts.html
  26. +7 −3 dev-guide/guides/xul-migration.html
  27. +7 −3 dev-guide/high-level-apis.html
  28. +7 −3 dev-guide/index.html
  29. +7 −3 dev-guide/low-level-apis.html
  30. +7 −3 dev-guide/package-spec.html
  31. +7 −3 dev-guide/third-party-apis.html
  32. +7 −3 dev-guide/tutorials/add-a-context-menu-item.html
  33. +7 −3 dev-guide/tutorials/adding-menus.html
  34. +7 −3 dev-guide/tutorials/adding-toolbar-button.html
  35. +7 −3 dev-guide/tutorials/annotator/creating.html
  36. +7 −3 dev-guide/tutorials/annotator/displaying.html
  37. +7 −3 dev-guide/tutorials/annotator/index.html
  38. +7 −3 dev-guide/tutorials/annotator/overview.html
  39. +7 −3 dev-guide/tutorials/annotator/storing.html
  40. +7 −3 dev-guide/tutorials/annotator/widget.html
  41. +7 −3 dev-guide/tutorials/chrome.html
  42. +7 −3 dev-guide/tutorials/display-a-popup.html
  43. +7 −3 dev-guide/tutorials/getting-started-with-cfx.html
  44. +7 −3 dev-guide/tutorials/index.html
  45. +7 −3 dev-guide/tutorials/installation.html
  46. +129 −71 dev-guide/tutorials/l10n.html
  47. +7 −3 dev-guide/tutorials/list-open-tabs.html
  48. +7 −3 dev-guide/tutorials/listen-for-page-load.html
  49. +7 −3 dev-guide/tutorials/load-and-unload.html
  50. +7 −3 dev-guide/tutorials/logging.html
  51. +7 −3 dev-guide/tutorials/mobile.html
  52. +7 −3 dev-guide/tutorials/modifying-web-pages-tab.html
  53. +12 −3 dev-guide/tutorials/modifying-web-pages-url.html
  54. +7 −3 dev-guide/tutorials/open-a-web-page.html
  55. +7 −3 dev-guide/tutorials/reusable-modules.html
  56. +7 −3 dev-guide/tutorials/troubleshooting.html
  57. +7 −3 dev-guide/tutorials/unit-testing.html
  58. +7 −3 index.html
  59. +358 −0 packages/addon-kit/addon-page.html
  60. +7 −3 packages/addon-kit/clipboard.html
  61. +7 −3 packages/addon-kit/context-menu.html
  62. +7 −3 packages/addon-kit/hotkeys.html
  63. +11 −3 packages/addon-kit/index.html
  64. +114 −194 packages/{api-utils/base.html → addon-kit/l10n.html}
  65. +7 −3 packages/addon-kit/notifications.html
  66. +48 −6 packages/addon-kit/page-mod.html
  67. +21 −3 packages/addon-kit/page-worker.html
  68. +21 −3 packages/addon-kit/panel.html
  69. +7 −3 packages/addon-kit/passwords.html
  70. +7 −3 packages/addon-kit/private-browsing.html
  71. +7 −3 packages/addon-kit/request.html
  72. +7 −3 packages/addon-kit/selection.html
  73. +20 −3 packages/addon-kit/self.html
  74. +227 −14 packages/addon-kit/simple-prefs.html
  75. +7 −3 packages/addon-kit/simple-storage.html
  76. +7 −3 packages/addon-kit/tabs.html
  77. +7 −3 packages/addon-kit/timers.html
  78. +28 −3 packages/addon-kit/widget.html
  79. +7 −3 packages/addon-kit/windows.html
  80. +7 −3 packages/api-utils/api-utils.html
  81. +7 −3 packages/api-utils/app-strings.html
  82. +7 −3 packages/api-utils/byte-streams.html
  83. +7 −3 packages/api-utils/collection.html
  84. +7 −3 packages/api-utils/content.html
  85. +14 −3 packages/api-utils/content/loader.html
  86. +7 −3 packages/api-utils/content/proxy.html
  87. +21 −3 packages/api-utils/content/symbiont.html
  88. +7 −3 packages/api-utils/content/worker.html
  89. +7 −3 packages/api-utils/cortex.html
  90. +7 −3 packages/api-utils/cuddlefish.html
  91. +7 −3 packages/api-utils/environment.html
  92. +7 −3 packages/api-utils/errors.html
  93. +7 −3 packages/api-utils/event/core.html
  94. +7 −3 packages/api-utils/event/target.html
  95. +7 −3 packages/api-utils/events.html
  96. +7 −3 packages/api-utils/file.html
  97. +7 −3 packages/api-utils/frame/utils.html
  98. +7 −3 packages/api-utils/globals.html
  99. +581 −0 packages/api-utils/heritage.html
  100. +7 −3 packages/api-utils/hidden-frame.html
  101. +7 −3 packages/api-utils/httpd.html
  102. +9 −5 packages/api-utils/index.html
  103. +7 −3 packages/api-utils/light-traits.html
  104. +7 −3 packages/api-utils/list.html
  105. +7 −3 packages/api-utils/match-pattern.html
  106. +7 −3 packages/api-utils/memory.html
  107. +7 −3 packages/api-utils/message-manager.html
  108. +7 −3 packages/api-utils/namespace.html
  109. +7 −3 packages/api-utils/observer-service.html
  110. +7 −3 packages/api-utils/plain-text-console.html
  111. +7 −3 packages/api-utils/preferences-service.html
  112. +7 −3 packages/api-utils/promise.html
  113. +7 −3 packages/api-utils/querystring.html
  114. +7 −3 packages/api-utils/runtime.html
  115. +7 −3 packages/api-utils/sandbox.html
  116. +7 −3 packages/api-utils/tab-browser.html
  117. +7 −3 packages/api-utils/text-streams.html
  118. +7 −3 packages/api-utils/traceback.html
  119. +7 −3 packages/api-utils/traits.html
  120. +7 −3 packages/api-utils/unit-test.html
  121. +7 −3 packages/api-utils/unload.html
  122. +7 −3 packages/api-utils/url.html
  123. +7 −3 packages/api-utils/uuid.html
  124. +7 −3 packages/api-utils/window-utils.html
  125. +7 −3 packages/api-utils/window/utils.html
  126. +7 −3 packages/api-utils/xhr.html
  127. +7 −3 packages/api-utils/xpcom.html
  128. +7 −3 packages/api-utils/xul-app.html
  129. +1 −1 packages/index.json
  130. +7 −3 packages/test-harness/harness.html
  131. +7 −3 packages/test-harness/index.html
  132. +7 −3 packages/test-harness/run-tests.html
  133. +1 −1 static-files/css/base.css
  134. +5 −0 static-files/css/sdk-docs.css
  135. BIN static-files/media/annotator/annotation-list.png
  136. BIN static-files/media/annotator/annotation-panel.png
  137. BIN static-files/media/annotator/annotator-design.png
  138. BIN static-files/media/annotator/editor-panel.png
  139. BIN static-files/media/annotator/highlight.png
  140. BIN static-files/media/annotator/matcher.png
  141. BIN static-files/media/annotator/widget-icon.png
  142. BIN static-files/media/commonjs-modules.png
  143. BIN static-files/media/commonjs-wikipanel.png
  144. BIN static-files/media/content-scripting-events.png
  145. BIN static-files/media/content-scripting-overview.png
  146. BIN static-files/media/librarydetector/library-detector.png
  147. BIN static-files/media/librarydetector/panel-content.png
  148. BIN static-files/media/mobile-setup-adb.png
  149. BIN static-files/media/screenshots/addon-page.png
  150. BIN static-files/media/screenshots/context-menu-selection.png
  151. BIN static-files/media/screenshots/default-widget.png
  152. BIN static-files/media/screenshots/l10n-html-enUS.png
  153. BIN static-files/media/screenshots/l10n-html-frFR.png
  154. BIN static-files/media/screenshots/locale-updater.png
  155. BIN static-files/media/screenshots/modules/context-menu-image-osx.png
  156. BIN static-files/media/screenshots/modules/notification-growl-osx.png
  157. BIN static-files/media/screenshots/modules/panel-tabs-osx.png
  158. BIN static-files/media/screenshots/modules/widget-content-osx.png
  159. BIN static-files/media/screenshots/modules/widget-icon-osx.png
  160. BIN static-files/media/screenshots/modules/widget-panel-osx.png
  161. BIN static-files/media/screenshots/pagemod-ietf.png
  162. BIN static-files/media/screenshots/panel-default-style.png
  163. BIN static-files/media/screenshots/panel-tabs-osx.png
  164. BIN static-files/media/screenshots/tabattach-bbc.png
  165. BIN static-files/media/screenshots/text-entry-panel.png
  166. BIN static-files/media/screenshots/widget-hello-text.png
  167. BIN static-files/media/screenshots/widget-jquery.png
  168. BIN static-files/media/screenshots/widget-mozilla-icon.png
  169. BIN static-files/media/screenshots/widget-mozilla.png
  170. BIN static-files/media/screenshots/widget-panel-clock.png
  171. BIN static-files/media/screenshots/widget-player-buttons.png
  172. BIN static-files/media/screenshots/wikipanel/wikipanel-context-menu.png
  173. BIN static-files/media/screenshots/wikipanel/wikipanel-panel.png
  174. BIN static-files/media/screenshots/wikipedia-jetpack-panel.png
  175. BIN static-files/media/twitter-widget.png
  176. BIN static-files/media/xul-migration-cs.png
  177. +1 −1 status.md5
View
2 dev-guide-source/credits.md
@@ -45,6 +45,7 @@ We'd like to thank our many Jetpack project contributors! They include:
* Alexandre Poirot
* Nickolay Ponomarev
* Aza Raskin
+* Till Schneidereit
* Justin Scott
* Ayan Shah
* [skratchdot](https://github.com/skratchdot)
@@ -62,3 +63,4 @@ We'd like to thank our many Jetpack project contributors! They include:
* Piotr Zalewa
* [David Guo](https://github.com/dglol)
* [Nils Maier](https://github.com/nmaier)
+* [Louis-Rémi Babé](https://github.com/louisremi)
View
2 dev-guide-source/guides/commonjs.md
@@ -116,7 +116,7 @@ want to use modules from this category.
* building blocks for higher level modules, such as
[event/core](packages/api-utils/event/core.html),
[event/target](packages/api-utils/event/target.html),
-[base](packages/api-utils/base.html), and
+[heritage](packages/api-utils/heritage.html), and
[namespace](packages/api-utils/namespace.html). You're more
likely to use these if you are building your own modules that
implement new APIs, thus extending the SDK itself.
View
12 dev-guide-source/guides/content-scripts/loading.md
@@ -9,9 +9,10 @@ The constructors for content-script-using objects such as panel and page-mod
define a group of options for loading content scripts:
<pre>
- contentScript string, array
- contentScriptFile string, array
- contentScriptWhen string
+ contentScript string, array
+ contentScriptFile string, array
+ contentScriptWhen string
+ contentScriptOptions object
</pre>
We have already seen the `contentScript` option, which enables you to pass
@@ -71,3 +72,8 @@ has been loaded, at the time the
fires.
The default value is "end".
+
+The `contentScriptOptions` is a json that is exposed to content scripts as a read
+only value under `self.options` property.
+
+Any kind of jsonable value (object, array, string, etc.) can be used here.
View
6 dev-guide-source/guides/sdk-vs-xul.md
@@ -89,12 +89,6 @@ functionality via XPCOM. The SDK's supported APIs expose a relatively
small set of this functionality.</p></td>
</tr>
-<tr>
-<td><strong><a name="localization">Localization Support</a></strong></td>
-<td><p>The SDK currently only has fairly basic <a href="dev-guide/tutorials/l10n.html">localization support</a>.
-</p></td>
-</tr>
-
</table>
### Low-level APIs and Third-party Modules ###
View
202 dev-guide-source/tutorials/l10n.md
@@ -4,97 +4,137 @@
# Localization #
-The SDK supports basic localization of strings appearing in your
-main add-on's JavaScript code. It doesn't, yet, support localization
-of HTML, CSS, or content scripts.
+The SDK supports localization of strings appearing in:
-## Writing Localizable Code ##
+* your main add-on's JavaScript code
+* HTML files packaged with your add-on.
-To write localizable code, you do this:
+It doesn't, yet, support localization of CSS or content scripts.
- var _ = require("l10n").get;
- console.log(_("Hello!"));
+## Localized Strings ##
-<span class="aside">Assigning to "`_`" in particular is not required, but
-is a convention from the
-[gettext](https://www.gnu.org/software/gettext/gettext.html) tools
-and will make it possible to work with existing tools that expect "`_`"
-to indicate localizable strings.</span>
+Translated strings are kept in a directory called "locale" under your
+main add-on directory, one file for each locale. The files:
-1. Import the `l10n` module, and assign its `get` function to
-"`_`" (underscore).
-2. Wrap all references to localizable strings with the `_()`
-function.
+* use the [`.properties` format](http://en.wikipedia.org/wiki/.properties)
+* are named "xx-YY.properties", where "xx-YY" is the [name of the locale](https://wiki.mozilla.org/L10n:Locale_Codes) in question
+* contain one entry for each string you want to localize, consisting
+of an identifier for the string and its translation in that locale,
+in the format `identifier=translation`.
-That's a fully functional add-on as it stands. If you run it
-you'll see the expected output:
+Suppose your add-on contains a single localizable string,
+represented in English as "Hello!", and you want to supply US English
+and French French localizations.
+
+You'd add two files to the "locale" directory:
<pre>
-info: Hello!
+my-addon/
+ data
+ lib
+ locale/
+ en-US.properties
+ fr-FR.properties
</pre>
-## Localizing Your Code ##
+"en.US.properties" contains this:
-To localize the code, create a directory called "locale" under
-your main add-on directory. In it, create one file for each locale
-you need to support. The files:
-
-* use the [`.properties` format](http://en.wikipedia.org/wiki/.properties)
-* are named "xx-YY.properties", where "xx-YY" is the [name of the locale](https://wiki.mozilla.org/L10n:Locale_Codes) in question
-* contain one entry for each string you want to localize.
+<pre>
+hello_id= Hello!
+</pre>
-For example, if you want to add a French localization for the
-add-on above, you'd add a file called "fr-FR.properties" in the
-"locale" directory, and add the following to it:
+"fr.FR.properties" contains this:
<pre>
-Hello!= Bonjour!
+hello_id= Bonjour !
</pre>
-Now if you run the add-on with Firefox switched to the French
-locale, you'll see:
+Now whenever your JavaScript or HTML asks the localization system for
+the translation of the `hello_id` identifier, it will get the correct
+translation for the current locale.
-<pre>
-info: Bonjour!
+## Using Localized Strings in HTML ##
+
+To reference localized strings from HTML, add a `data-l10n-id` attribute to
+the HTML tag where you want the localized string to appear, and assign
+the identifier to it:
+
+<pre class="brush: html">
+&lt;html&gt;
+ &lt;body&gt;
+ &lt;h1 data-l10n-id="hello_id"&gt;&lt;/h1>&gt;
+ &lt;/body&gt;
+&lt;/html&gt;
</pre>
-## Using Identifiers ##
+Then you can use this HTML file to build your interface, for example
+inside a panel:
-If `l10n.get()` can't find a localization of a string using the current
-locale, then it just returns the string you passed in. This is why the
-example above displayed "Hello!" when there were no locale files present.
+ var hello = require("panel").Panel({
+ height: 75,
+ width: 150,
+ contentURL: require("self").data.url("my-panel.html")
+ });
-This has the nice property that you can write localizable, fully
-functional code without having to write any locale files. You can just
-use the default language in your code, and subsequently supply
-`.properties` files for all the additional locales you want to support.
+ var widget = require("widget").Widget({
+ id: "mozilla-link",
+ label: "Mozilla website",
+ contentURL: "http://www.mozilla.org/favicon.ico",
+ panel: hello
+ });
-However, this approach makes it difficult to maintain an add-on which
-has many localizations, because you're using the default language strings
-both as user interface strings and as keys to look up your translations.
-This means that if you want to change the wording of a string in the default
-language, or fix a typo, then you break all your locale files.
+<img class="image-right" src="static-files/media/screenshots/l10n-html-enUS.png"
+alt="Example of panel containing US English text">
+
+<img class="image-right" src="static-files/media/screenshots/l10n-html-frFR.png"
+alt="Example of panel containing French French text">
+
+Given locale files for "en-US" and "fr-FR" which provide translations
+of `hello_id`, the panel will now display "Hello!" or "Bonjour !", according
+to the current locale.
+
+The translation is inserted into the node which has the `data-l10n-id`
+attribute set. Any previously existing content is just replaced.
+
+The string is inserted as text, so you can't insert HTML using a statement
+like:
+
+<pre>
+hello_id= &lt;blink&gt;Hello!&lt;/blink&gt;
+</pre>
+
+## Using Localized Strings in JavaScript
-To avoid this you can use identifiers in your code, and supply
-localizations for all the languages you intend to support. For example,
-in your main.js:
+To reference localized strings from your main add-on code, you do this:
var _ = require("l10n").get;
- console.log(_("hello_string"));
+ console.log(_("hello_id!"));
+
+<span class="aside">Assigning to "`_`" in particular is not required, but
+is a convention from the
+[gettext](https://www.gnu.org/software/gettext/gettext.html) tools
+and will make it possible to work with existing tools that expect "`_`"
+to indicate localizable strings.</span>
-Then you can create `.properties` files for both `en-US` and `fr-FR`:
+1. Import the `l10n` module, and assign its `get` function to
+"`_`" (underscore).
+2. Wrap all references to localizable strings with the `_()`
+function.
+
+If you run it you'll see the expected output for the current locale:
<pre>
-# en-US translations
-hello_string= Hello!
+info: Hello!
</pre>
<pre>
-# fr-FR translations
-hello_string= Bonjour!
+info: Bonjour !
</pre>
-## Plurals ##
+Note that because you can't `require()` modules in content scripts,
+you can't yet reference localized strings from content scripts.
+
+### Plurals ###
The `l10n` module supports plural forms. Different languages have
different rules for the formation of plurals. For example,
@@ -119,7 +159,7 @@ numbers ending in 2-4 (except 12-14) and other numbers:
The SDK uses the [Unicode CLDR](http://cldr.unicode.org/index) data
to describe the different plural forms used by different languages.
-### Unicode CLDR Plural Forms ###
+#### Unicode CLDR Plural Forms ####
The Unicode CLDR project defines a scheme for describing a particular
language's plural rules. In this scheme a language maps each distinct
@@ -148,7 +188,7 @@ Plural rules for all languages can be found in the CLDR
page (although this table is out of date compared to the
[CLDR XML source](http://unicode.org/repos/cldr/trunk/common/supplemental/plurals.xml)).
-### Plural Forms in the SDK ###
+#### Plural Forms in the SDK ####
In the code, you supply an extra parameter alongside the identifier,
describing how many items there are:
@@ -186,7 +226,7 @@ language, enabling it to map between, for example, "2" in the code and
"few" in the `ru-RU.properties` file. Then it retrieves and returns
the localization appropriate for the count you supplied.
-## Placeholders ##
+### Placeholders ###
The `l10n` module supports placeholders, allowing you to
insert a string which should not be localized into one which is.
@@ -200,7 +240,7 @@ hello_id= Hello %s!
<pre>
# fr-FR translations
-hello_id= Bonjour %s!
+hello_id= Bonjour %s !
</pre>
To use placeholders, supply the placeholder string after the identifier:
@@ -219,11 +259,11 @@ info: Hello Alice!
In `fr-FR` we get:
<pre>
-info: Bonjour Bob!
-info: Bonjour Alice!
+info: Bonjour Bob !
+info: Bonjour Alice !
</pre>
-## Ordering Placeholders ##
+### Ordering Placeholders ###
When a localizable string can take two or more placeholders, translators
can define the order in which placeholders are inserted, without affecting
@@ -263,6 +303,32 @@ This gives us the following output:
info: London is Bob's home town.
</pre>
+## Using Identifiers ##
+
+If the localization system can't find an entry for a particular identifier
+using the current locale, then it just returns the identifier itself.
+
+This has the nice property that you can write localizable, fully
+functional add-ons without having to write any locale files. You can just
+use the default language strings as your identifier, and subsequently supply
+`.properties` files for all the additional locales you want to support.
+
+For example, in the case above you could use "Hello!" as the identifier, and
+just have one `.properties` file for the "fr-FR" locale:
+
+<pre>
+Hello!= Bonjour !
+</pre>
+
+Then when the locale is "en-US", the system would fail to find a `.properties`
+file, and return "Hello!".
+
+However, this approach makes it difficult to maintain an add-on which
+has many localizations, because you're using the default language strings
+both as user interface strings and as keys to look up your translations.
+This means that if you want to change the wording of a string in the default
+language, or fix a typo, then you break all your locale files.
+
## Locale Updater ##
The [locale updater](https://github.com/downloads/ochameau/locale-updater/locale-updater.xpi)
@@ -282,13 +348,13 @@ will be updated with the new file.
The current localization support is a first step towards full support,
and contains a number of limitations.
-* There's no support for content scripts, HTML files, or CSS files: at
+* There's no support for content scripts or CSS files: at
the moment, you can only localize strings appearing in JavaScript files
-that can `require()` SDK modules.
+that can `require()` SDK modules and in HTML.
* The set of locale files is global across an add-on. This means that
a module isn't able to override a more general translation: so a module
-`informal.js` can't specify that "hello_string" occurring in its code
+`informal.js` can't specify that "hello_id" occurring in its code
should be localized to "Hi!".
* The SDK tools compile the locale files into a JSON format when
View
7 dev-guide-source/tutorials/modifying-web-pages-url.md
@@ -209,6 +209,13 @@ CSS is at all complex:
contentStyleFile: require("self").data.url("my-style.css")
});
+You can't currently use relative URLs in style sheets loaded with
+`contentStyle` or `contentStyleFile`. If you do, the files referenced
+by the relative URLs will not be found.
+
+To learn more about this, and read about a workaround, see the
+[relevant section in the page-mod API documentation](packages/addon-kit/page-mod.html#Working_with_Relative_URLs_in_CSS_Rules).
+
</div>
## Learning More ##
View
10 dev-guide/cfx-tool.html
@@ -50,7 +50,7 @@
<h1>
<a href="../dev-guide/index.html">Add-on SDK<span></span></a>
</h1>
- <div id="version">Version 1.7</div>
+ <div id="version">Version 1.8</div>
</div>
</div>
@@ -896,12 +896,16 @@
<a href="../packages/addon-kit/index.html">addon-kit</a>
</h4>
+<a href="../packages/addon-kit/addon-page.html">addon-page</a>
+
<a href="../packages/addon-kit/clipboard.html">clipboard</a>
<a href="../packages/addon-kit/context-menu.html">context-menu</a>
<a href="../packages/addon-kit/hotkeys.html">hotkeys</a>
+<a href="../packages/addon-kit/l10n.html">l10n</a>
+
<a href="../packages/addon-kit/notifications.html">notifications</a>
<a href="../packages/addon-kit/page-mod.html">page-mod</a>
@@ -949,8 +953,6 @@
<a href="../packages/api-utils/app-strings.html">app-strings</a>
-<a href="../packages/api-utils/base.html">base</a>
-
<a href="../packages/api-utils/byte-streams.html">byte-streams</a>
<a href="../packages/api-utils/collection.html">collection</a>
@@ -985,6 +987,8 @@
<a href="../packages/api-utils/globals.html">globals</a>
+<a href="../packages/api-utils/heritage.html">heritage</a>
+
<a href="../packages/api-utils/hidden-frame.html">hidden-frame</a>
<a href="../packages/api-utils/httpd.html">httpd</a>
View
10 dev-guide/console.html
@@ -50,7 +50,7 @@
<h1>
<a href="../dev-guide/index.html">Add-on SDK<span></span></a>
</h1>
- <div id="version">Version 1.7</div>
+ <div id="version">Version 1.8</div>
</div>
</div>
@@ -124,12 +124,16 @@
<a href="../packages/addon-kit/index.html">addon-kit</a>
</h4>
+<a href="../packages/addon-kit/addon-page.html">addon-page</a>
+
<a href="../packages/addon-kit/clipboard.html">clipboard</a>
<a href="../packages/addon-kit/context-menu.html">context-menu</a>
<a href="../packages/addon-kit/hotkeys.html">hotkeys</a>
+<a href="../packages/addon-kit/l10n.html">l10n</a>
+
<a href="../packages/addon-kit/notifications.html">notifications</a>
<a href="../packages/addon-kit/page-mod.html">page-mod</a>
@@ -177,8 +181,6 @@
<a href="../packages/api-utils/app-strings.html">app-strings</a>
-<a href="../packages/api-utils/base.html">base</a>
-
<a href="../packages/api-utils/byte-streams.html">byte-streams</a>
<a href="../packages/api-utils/collection.html">collection</a>
@@ -213,6 +215,8 @@
<a href="../packages/api-utils/globals.html">globals</a>
+<a href="../packages/api-utils/heritage.html">heritage</a>
+
<a href="../packages/api-utils/hidden-frame.html">hidden-frame</a>
<a href="../packages/api-utils/httpd.html">httpd</a>
View
12 dev-guide/credits.html
@@ -50,7 +50,7 @@
<h1>
<a href="../dev-guide/index.html">Add-on SDK<span></span></a>
</h1>
- <div id="version">Version 1.7</div>
+ <div id="version">Version 1.8</div>
</div>
</div>
@@ -106,6 +106,7 @@
<li>Alexandre Poirot</li>
<li>Nickolay Ponomarev</li>
<li>Aza Raskin</li>
+<li>Till Schneidereit</li>
<li>Justin Scott</li>
<li>Ayan Shah</li>
<li><a href="https://github.com/skratchdot">skratchdot</a></li>
@@ -123,6 +124,7 @@
<li>Piotr Zalewa</li>
<li><a href="https://github.com/dglol">David Guo</a></li>
<li><a href="https://github.com/nmaier">Nils Maier</a></li>
+<li><a href="https://github.com/louisremi">Louis-Rémi Babé</a></li>
</ul></div>
</div>
@@ -158,12 +160,16 @@
<a href="../packages/addon-kit/index.html">addon-kit</a>
</h4>
+<a href="../packages/addon-kit/addon-page.html">addon-page</a>
+
<a href="../packages/addon-kit/clipboard.html">clipboard</a>
<a href="../packages/addon-kit/context-menu.html">context-menu</a>
<a href="../packages/addon-kit/hotkeys.html">hotkeys</a>
+<a href="../packages/addon-kit/l10n.html">l10n</a>
+
<a href="../packages/addon-kit/notifications.html">notifications</a>
<a href="../packages/addon-kit/page-mod.html">page-mod</a>
@@ -211,8 +217,6 @@
<a href="../packages/api-utils/app-strings.html">app-strings</a>
-<a href="../packages/api-utils/base.html">base</a>
-
<a href="../packages/api-utils/byte-streams.html">byte-streams</a>
<a href="../packages/api-utils/collection.html">collection</a>
@@ -247,6 +251,8 @@
<a href="../packages/api-utils/globals.html">globals</a>
+<a href="../packages/api-utils/heritage.html">heritage</a>
+
<a href="../packages/api-utils/hidden-frame.html">hidden-frame</a>
<a href="../packages/api-utils/httpd.html">httpd</a>
View
10 dev-guide/glossary.html
@@ -50,7 +50,7 @@
<h1>
<a href="../dev-guide/index.html">Add-on SDK<span></span></a>
</h1>
- <div id="version">Version 1.7</div>
+ <div id="version">Version 1.8</div>
</div>
</div>
@@ -150,12 +150,16 @@
<a href="../packages/addon-kit/index.html">addon-kit</a>
</h4>
+<a href="../packages/addon-kit/addon-page.html">addon-page</a>
+
<a href="../packages/addon-kit/clipboard.html">clipboard</a>
<a href="../packages/addon-kit/context-menu.html">context-menu</a>
<a href="../packages/addon-kit/hotkeys.html">hotkeys</a>
+<a href="../packages/addon-kit/l10n.html">l10n</a>
+
<a href="../packages/addon-kit/notifications.html">notifications</a>
<a href="../packages/addon-kit/page-mod.html">page-mod</a>
@@ -203,8 +207,6 @@
<a href="../packages/api-utils/app-strings.html">app-strings</a>
-<a href="../packages/api-utils/base.html">base</a>
-
<a href="../packages/api-utils/byte-streams.html">byte-streams</a>
<a href="../packages/api-utils/collection.html">collection</a>
@@ -239,6 +241,8 @@
<a href="../packages/api-utils/globals.html">globals</a>
+<a href="../packages/api-utils/heritage.html">heritage</a>
+
<a href="../packages/api-utils/hidden-frame.html">hidden-frame</a>
<a href="../packages/api-utils/httpd.html">httpd</a>
View
12 dev-guide/guides/commonjs.html
@@ -50,7 +50,7 @@
<h1>
<a href="../../dev-guide/index.html">Add-on SDK<span></span></a>
</h1>
- <div id="version">Version 1.7</div>
+ <div id="version">Version 1.8</div>
</div>
</div>
@@ -165,7 +165,7 @@
<p>building blocks for higher level modules, such as
<a href="../../packages/api-utils/event/core.html">event/core</a>,
<a href="../../packages/api-utils/event/target.html">event/target</a>,
-<a href="../../packages/api-utils/base.html">base</a>, and
+<a href="../../packages/api-utils/heritage.html">heritage</a>, and
<a href="../../packages/api-utils/namespace.html">namespace</a>. You're more
likely to use these if you are building your own modules that
implement new APIs, thus extending the SDK itself.</p>
@@ -227,12 +227,16 @@
<a href="../../packages/addon-kit/index.html">addon-kit</a>
</h4>
+<a href="../../packages/addon-kit/addon-page.html">addon-page</a>
+
<a href="../../packages/addon-kit/clipboard.html">clipboard</a>
<a href="../../packages/addon-kit/context-menu.html">context-menu</a>
<a href="../../packages/addon-kit/hotkeys.html">hotkeys</a>
+<a href="../../packages/addon-kit/l10n.html">l10n</a>
+
<a href="../../packages/addon-kit/notifications.html">notifications</a>
<a href="../../packages/addon-kit/page-mod.html">page-mod</a>
@@ -280,8 +284,6 @@
<a href="../../packages/api-utils/app-strings.html">app-strings</a>
-<a href="../../packages/api-utils/base.html">base</a>
-
<a href="../../packages/api-utils/byte-streams.html">byte-streams</a>
<a href="../../packages/api-utils/collection.html">collection</a>
@@ -316,6 +318,8 @@
<a href="../../packages/api-utils/globals.html">globals</a>
+<a href="../../packages/api-utils/heritage.html">heritage</a>
+
<a href="../../packages/api-utils/hidden-frame.html">hidden-frame</a>
<a href="../../packages/api-utils/httpd.html">httpd</a>
View
10 dev-guide/guides/content-scripts/access.html
@@ -50,7 +50,7 @@
<h1>
<a href="../../../dev-guide/index.html">Add-on SDK<span></span></a>
</h1>
- <div id="version">Version 1.7</div>
+ <div id="version">Version 1.8</div>
</div>
</div>
@@ -283,12 +283,16 @@
<a href="../../../packages/addon-kit/index.html">addon-kit</a>
</h4>
+<a href="../../../packages/addon-kit/addon-page.html">addon-page</a>
+
<a href="../../../packages/addon-kit/clipboard.html">clipboard</a>
<a href="../../../packages/addon-kit/context-menu.html">context-menu</a>
<a href="../../../packages/addon-kit/hotkeys.html">hotkeys</a>
+<a href="../../../packages/addon-kit/l10n.html">l10n</a>
+
<a href="../../../packages/addon-kit/notifications.html">notifications</a>
<a href="../../../packages/addon-kit/page-mod.html">page-mod</a>
@@ -336,8 +340,6 @@
<a href="../../../packages/api-utils/app-strings.html">app-strings</a>
-<a href="../../../packages/api-utils/base.html">base</a>
-
<a href="../../../packages/api-utils/byte-streams.html">byte-streams</a>
<a href="../../../packages/api-utils/collection.html">collection</a>
@@ -372,6 +374,8 @@
<a href="../../../packages/api-utils/globals.html">globals</a>
+<a href="../../../packages/api-utils/heritage.html">heritage</a>
+
<a href="../../../packages/api-utils/hidden-frame.html">hidden-frame</a>
<a href="../../../packages/api-utils/httpd.html">httpd</a>
View
10 dev-guide/guides/content-scripts/index.html
@@ -50,7 +50,7 @@
<h1>
<a href="../../../dev-guide/index.html">Add-on SDK<span></span></a>
</h1>
- <div id="version">Version 1.7</div>
+ <div id="version">Version 1.8</div>
</div>
</div>
@@ -171,12 +171,16 @@
<a href="../../../packages/addon-kit/index.html">addon-kit</a>
</h4>
+<a href="../../../packages/addon-kit/addon-page.html">addon-page</a>
+
<a href="../../../packages/addon-kit/clipboard.html">clipboard</a>
<a href="../../../packages/addon-kit/context-menu.html">context-menu</a>
<a href="../../../packages/addon-kit/hotkeys.html">hotkeys</a>
+<a href="../../../packages/addon-kit/l10n.html">l10n</a>
+
<a href="../../../packages/addon-kit/notifications.html">notifications</a>
<a href="../../../packages/addon-kit/page-mod.html">page-mod</a>
@@ -224,8 +228,6 @@
<a href="../../../packages/api-utils/app-strings.html">app-strings</a>
-<a href="../../../packages/api-utils/base.html">base</a>
-
<a href="../../../packages/api-utils/byte-streams.html">byte-streams</a>
<a href="../../../packages/api-utils/collection.html">collection</a>
@@ -260,6 +262,8 @@
<a href="../../../packages/api-utils/globals.html">globals</a>
+<a href="../../../packages/api-utils/heritage.html">heritage</a>
+
<a href="../../../packages/api-utils/hidden-frame.html">hidden-frame</a>
<a href="../../../packages/api-utils/httpd.html">httpd</a>
View
22 dev-guide/guides/content-scripts/loading.html
@@ -50,7 +50,7 @@
<h1>
<a href="../../../dev-guide/index.html">Add-on SDK<span></span></a>
</h1>
- <div id="version">Version 1.7</div>
+ <div id="version">Version 1.8</div>
</div>
</div>
@@ -68,9 +68,10 @@
<p>The constructors for content-script-using objects such as panel and page-mod
define a group of options for loading content scripts:</p>
<pre>
- contentScript string, array
- contentScriptFile string, array
- contentScriptWhen string
+ contentScript string, array
+ contentScriptFile string, array
+ contentScriptWhen string
+ contentScriptOptions object
</pre>
<p>We have already seen the <code>contentScript</code> option, which enables you to pass
@@ -129,7 +130,10 @@
fires.</p>
</li>
</ul>
-<p>The default value is "end".</p></div>
+<p>The default value is "end".</p>
+<p>The <code>contentScriptOptions</code> is a json that is exposed to content scripts as a read
+only value under <code>self.options</code> property.</p>
+<p>Any kind of jsonable value (object, array, string, etc.) can be used here.</p></div>
</div>
<div id="sidebar" class="column">
@@ -164,12 +168,16 @@
<a href="../../../packages/addon-kit/index.html">addon-kit</a>
</h4>
+<a href="../../../packages/addon-kit/addon-page.html">addon-page</a>
+
<a href="../../../packages/addon-kit/clipboard.html">clipboard</a>
<a href="../../../packages/addon-kit/context-menu.html">context-menu</a>
<a href="../../../packages/addon-kit/hotkeys.html">hotkeys</a>
+<a href="../../../packages/addon-kit/l10n.html">l10n</a>
+
<a href="../../../packages/addon-kit/notifications.html">notifications</a>
<a href="../../../packages/addon-kit/page-mod.html">page-mod</a>
@@ -217,8 +225,6 @@
<a href="../../../packages/api-utils/app-strings.html">app-strings</a>
-<a href="../../../packages/api-utils/base.html">base</a>
-
<a href="../../../packages/api-utils/byte-streams.html">byte-streams</a>
<a href="../../../packages/api-utils/collection.html">collection</a>
@@ -253,6 +259,8 @@
<a href="../../../packages/api-utils/globals.html">globals</a>
+<a href="../../../packages/api-utils/heritage.html">heritage</a>
+
<a href="../../../packages/api-utils/hidden-frame.html">hidden-frame</a>
<a href="../../../packages/api-utils/httpd.html">httpd</a>
View
10 dev-guide/guides/content-scripts/reddit-example.html
@@ -50,7 +50,7 @@
<h1>
<a href="../../../dev-guide/index.html">Add-on SDK<span></span></a>
</h1>
- <div id="version">Version 1.7</div>
+ <div id="version">Version 1.8</div>
</div>
</div>
@@ -157,12 +157,16 @@
<a href="../../../packages/addon-kit/index.html">addon-kit</a>
</h4>
+<a href="../../../packages/addon-kit/addon-page.html">addon-page</a>
+
<a href="../../../packages/addon-kit/clipboard.html">clipboard</a>
<a href="../../../packages/addon-kit/context-menu.html">context-menu</a>
<a href="../../../packages/addon-kit/hotkeys.html">hotkeys</a>
+<a href="../../../packages/addon-kit/l10n.html">l10n</a>
+
<a href="../../../packages/addon-kit/notifications.html">notifications</a>
<a href="../../../packages/addon-kit/page-mod.html">page-mod</a>
@@ -210,8 +214,6 @@
<a href="../../../packages/api-utils/app-strings.html">app-strings</a>
-<a href="../../../packages/api-utils/base.html">base</a>
-
<a href="../../../packages/api-utils/byte-streams.html">byte-streams</a>
<a href="../../../packages/api-utils/collection.html">collection</a>
@@ -246,6 +248,8 @@
<a href="../../../packages/api-utils/globals.html">globals</a>
+<a href="../../../packages/api-utils/heritage.html">heritage</a>
+
<a href="../../../packages/api-utils/hidden-frame.html">hidden-frame</a>
<a href="../../../packages/api-utils/httpd.html">httpd</a>
View
10 dev-guide/guides/content-scripts/using-port.html
@@ -50,7 +50,7 @@
<h1>
<a href="../../../dev-guide/index.html">Add-on SDK<span></span></a>
</h1>
- <div id="version">Version 1.7</div>
+ <div id="version">Version 1.8</div>
</div>
</div>
@@ -253,12 +253,16 @@
<a href="../../../packages/addon-kit/index.html">addon-kit</a>
</h4>
+<a href="../../../packages/addon-kit/addon-page.html">addon-page</a>
+
<a href="../../../packages/addon-kit/clipboard.html">clipboard</a>
<a href="../../../packages/addon-kit/context-menu.html">context-menu</a>
<a href="../../../packages/addon-kit/hotkeys.html">hotkeys</a>
+<a href="../../../packages/addon-kit/l10n.html">l10n</a>
+
<a href="../../../packages/addon-kit/notifications.html">notifications</a>
<a href="../../../packages/addon-kit/page-mod.html">page-mod</a>
@@ -306,8 +310,6 @@
<a href="../../../packages/api-utils/app-strings.html">app-strings</a>
-<a href="../../../packages/api-utils/base.html">base</a>
-
<a href="../../../packages/api-utils/byte-streams.html">byte-streams</a>
<a href="../../../packages/api-utils/collection.html">collection</a>
@@ -342,6 +344,8 @@
<a href="../../../packages/api-utils/globals.html">globals</a>
+<a href="../../../packages/api-utils/heritage.html">heritage</a>
+
<a href="../../../packages/api-utils/hidden-frame.html">hidden-frame</a>
<a href="../../../packages/api-utils/httpd.html">httpd</a>
View
10 dev-guide/guides/content-scripts/using-postmessage.html
@@ -50,7 +50,7 @@
<h1>
<a href="../../../dev-guide/index.html">Add-on SDK<span></span></a>
</h1>
- <div id="version">Version 1.7</div>
+ <div id="version">Version 1.8</div>
</div>
</div>
@@ -218,12 +218,16 @@
<a href="../../../packages/addon-kit/index.html">addon-kit</a>
</h4>
+<a href="../../../packages/addon-kit/addon-page.html">addon-page</a>
+
<a href="../../../packages/addon-kit/clipboard.html">clipboard</a>
<a href="../../../packages/addon-kit/context-menu.html">context-menu</a>
<a href="../../../packages/addon-kit/hotkeys.html">hotkeys</a>
+<a href="../../../packages/addon-kit/l10n.html">l10n</a>
+
<a href="../../../packages/addon-kit/notifications.html">notifications</a>
<a href="../../../packages/addon-kit/page-mod.html">page-mod</a>
@@ -271,8 +275,6 @@
<a href="../../../packages/api-utils/app-strings.html">app-strings</a>
-<a href="../../../packages/api-utils/base.html">base</a>
-
<a href="../../../packages/api-utils/byte-streams.html">byte-streams</a>
<a href="../../../packages/api-utils/collection.html">collection</a>
@@ -307,6 +309,8 @@
<a href="../../../packages/api-utils/globals.html">globals</a>
+<a href="../../../packages/api-utils/heritage.html">heritage</a>
+
<a href="../../../packages/api-utils/hidden-frame.html">hidden-frame</a>
<a href="../../../packages/api-utils/httpd.html">httpd</a>
View
10 dev-guide/guides/events.html
@@ -50,7 +50,7 @@
<h1>
<a href="../../dev-guide/index.html">Add-on SDK<span></span></a>
</h1>
- <div id="version">Version 1.7</div>
+ <div id="version">Version 1.8</div>
</div>
</div>
@@ -232,12 +232,16 @@
<a href="../../packages/addon-kit/index.html">addon-kit</a>
</h4>
+<a href="../../packages/addon-kit/addon-page.html">addon-page</a>
+
<a href="../../packages/addon-kit/clipboard.html">clipboard</a>
<a href="../../packages/addon-kit/context-menu.html">context-menu</a>
<a href="../../packages/addon-kit/hotkeys.html">hotkeys</a>
+<a href="../../packages/addon-kit/l10n.html">l10n</a>
+
<a href="../../packages/addon-kit/notifications.html">notifications</a>
<a href="../../packages/addon-kit/page-mod.html">page-mod</a>
@@ -285,8 +289,6 @@
<a href="../../packages/api-utils/app-strings.html">app-strings</a>
-<a href="../../packages/api-utils/base.html">base</a>
-
<a href="../../packages/api-utils/byte-streams.html">byte-streams</a>
<a href="../../packages/api-utils/collection.html">collection</a>
@@ -321,6 +323,8 @@
<a href="../../packages/api-utils/globals.html">globals</a>
+<a href="../../packages/api-utils/heritage.html">heritage</a>
+
<a href="../../packages/api-utils/hidden-frame.html">hidden-frame</a>
<a href="../../packages/api-utils/httpd.html">httpd</a>
View
10 dev-guide/guides/firefox-compatibility.html
@@ -50,7 +50,7 @@
<h1>
<a href="../../dev-guide/index.html">Add-on SDK<span></span></a>
</h1>
- <div id="version">Version 1.7</div>
+ <div id="version">Version 1.8</div>
</div>
</div>
@@ -180,12 +180,16 @@
<a href="../../packages/addon-kit/index.html">addon-kit</a>
</h4>
+<a href="../../packages/addon-kit/addon-page.html">addon-page</a>
+
<a href="../../packages/addon-kit/clipboard.html">clipboard</a>
<a href="../../packages/addon-kit/context-menu.html">context-menu</a>
<a href="../../packages/addon-kit/hotkeys.html">hotkeys</a>
+<a href="../../packages/addon-kit/l10n.html">l10n</a>
+
<a href="../../packages/addon-kit/notifications.html">notifications</a>
<a href="../../packages/addon-kit/page-mod.html">page-mod</a>
@@ -233,8 +237,6 @@
<a href="../../packages/api-utils/app-strings.html">app-strings</a>
-<a href="../../packages/api-utils/base.html">base</a>
-
<a href="../../packages/api-utils/byte-streams.html">byte-streams</a>
<a href="../../packages/api-utils/collection.html">collection</a>
@@ -269,6 +271,8 @@
<a href="../../packages/api-utils/globals.html">globals</a>
+<a href="../../packages/api-utils/heritage.html">heritage</a>
+
<a href="../../packages/api-utils/hidden-frame.html">hidden-frame</a>
<a href="../../packages/api-utils/httpd.html">httpd</a>
View
10 dev-guide/guides/index.html
@@ -50,7 +50,7 @@
<h1>
<a href="../../dev-guide/index.html">Add-on SDK<span></span></a>
</h1>
- <div id="version">Version 1.7</div>
+ <div id="version">Version 1.8</div>
</div>
</div>
@@ -263,12 +263,16 @@
<a href="../../packages/addon-kit/index.html">addon-kit</a>
</h4>
+<a href="../../packages/addon-kit/addon-page.html">addon-page</a>
+
<a href="../../packages/addon-kit/clipboard.html">clipboard</a>
<a href="../../packages/addon-kit/context-menu.html">context-menu</a>
<a href="../../packages/addon-kit/hotkeys.html">hotkeys</a>
+<a href="../../packages/addon-kit/l10n.html">l10n</a>
+
<a href="../../packages/addon-kit/notifications.html">notifications</a>
<a href="../../packages/addon-kit/page-mod.html">page-mod</a>
@@ -316,8 +320,6 @@
<a href="../../packages/api-utils/app-strings.html">app-strings</a>
-<a href="../../packages/api-utils/base.html">base</a>
-
<a href="../../packages/api-utils/byte-streams.html">byte-streams</a>
<a href="../../packages/api-utils/collection.html">collection</a>
@@ -352,6 +354,8 @@
<a href="../../packages/api-utils/globals.html">globals</a>
+<a href="../../packages/api-utils/heritage.html">heritage</a>
+
<a href="../../packages/api-utils/hidden-frame.html">hidden-frame</a>
<a href="../../packages/api-utils/httpd.html">httpd</a>
View
10 dev-guide/guides/library-detector.html
@@ -50,7 +50,7 @@
<h1>
<a href="../../dev-guide/index.html">Add-on SDK<span></span></a>
</h1>
- <div id="version">Version 1.7</div>
+ <div id="version">Version 1.8</div>
</div>
</div>
@@ -287,12 +287,16 @@
<a href="../../packages/addon-kit/index.html">addon-kit</a>
</h4>
+<a href="../../packages/addon-kit/addon-page.html">addon-page</a>
+
<a href="../../packages/addon-kit/clipboard.html">clipboard</a>
<a href="../../packages/addon-kit/context-menu.html">context-menu</a>
<a href="../../packages/addon-kit/hotkeys.html">hotkeys</a>
+<a href="../../packages/addon-kit/l10n.html">l10n</a>
+
<a href="../../packages/addon-kit/notifications.html">notifications</a>
<a href="../../packages/addon-kit/page-mod.html">page-mod</a>
@@ -340,8 +344,6 @@
<a href="../../packages/api-utils/app-strings.html">app-strings</a>
-<a href="../../packages/api-utils/base.html">base</a>
-
<a href="../../packages/api-utils/byte-streams.html">byte-streams</a>
<a href="../../packages/api-utils/collection.html">collection</a>
@@ -376,6 +378,8 @@
<a href="../../packages/api-utils/globals.html">globals</a>
+<a href="../../packages/api-utils/heritage.html">heritage</a>
+
<a href="../../packages/api-utils/hidden-frame.html">hidden-frame</a>
<a href="../../packages/api-utils/httpd.html">httpd</a>
View
10 dev-guide/guides/module-search.html
@@ -50,7 +50,7 @@
<h1>
<a href="../../dev-guide/index.html">Add-on SDK<span></span></a>
</h1>
- <div id="version">Version 1.7</div>
+ <div id="version">Version 1.8</div>
</div>
</div>
@@ -204,12 +204,16 @@
<a href="../../packages/addon-kit/index.html">addon-kit</a>
</h4>
+<a href="../../packages/addon-kit/addon-page.html">addon-page</a>
+
<a href="../../packages/addon-kit/clipboard.html">clipboard</a>
<a href="../../packages/addon-kit/context-menu.html">context-menu</a>
<a href="../../packages/addon-kit/hotkeys.html">hotkeys</a>
+<a href="../../packages/addon-kit/l10n.html">l10n</a>
+
<a href="../../packages/addon-kit/notifications.html">notifications</a>
<a href="../../packages/addon-kit/page-mod.html">page-mod</a>
@@ -257,8 +261,6 @@
<a href="../../packages/api-utils/app-strings.html">app-strings</a>
-<a href="../../packages/api-utils/base.html">base</a>
-
<a href="../../packages/api-utils/byte-streams.html">byte-streams</a>
<a href="../../packages/api-utils/collection.html">collection</a>
@@ -293,6 +295,8 @@
<a href="../../packages/api-utils/globals.html">globals</a>
+<a href="../../packages/api-utils/heritage.html">heritage</a>
+
<a href="../../packages/api-utils/hidden-frame.html">hidden-frame</a>
<a href="../../packages/api-utils/httpd.html">httpd</a>
View
10 dev-guide/guides/program-id.html
@@ -50,7 +50,7 @@
<h1>
<a href="../../dev-guide/index.html">Add-on SDK<span></span></a>
</h1>
- <div id="version">Version 1.7</div>
+ <div id="version">Version 1.8</div>
</div>
</div>
@@ -123,12 +123,16 @@
<a href="../../packages/addon-kit/index.html">addon-kit</a>
</h4>
+<a href="../../packages/addon-kit/addon-page.html">addon-page</a>
+
<a href="../../packages/addon-kit/clipboard.html">clipboard</a>
<a href="../../packages/addon-kit/context-menu.html">context-menu</a>
<a href="../../packages/addon-kit/hotkeys.html">hotkeys</a>
+<a href="../../packages/addon-kit/l10n.html">l10n</a>
+
<a href="../../packages/addon-kit/notifications.html">notifications</a>
<a href="../../packages/addon-kit/page-mod.html">page-mod</a>
@@ -176,8 +180,6 @@
<a href="../../packages/api-utils/app-strings.html">app-strings</a>
-<a href="../../packages/api-utils/base.html">base</a>
-
<a href="../../packages/api-utils/byte-streams.html">byte-streams</a>
<a href="../../packages/api-utils/collection.html">collection</a>
@@ -212,6 +214,8 @@
<a href="../../packages/api-utils/globals.html">globals</a>
+<a href="../../packages/api-utils/heritage.html">heritage</a>
+
<a href="../../packages/api-utils/hidden-frame.html">hidden-frame</a>
<a href="../../packages/api-utils/httpd.html">httpd</a>
View
16 dev-guide/guides/sdk-vs-xul.html
@@ -50,7 +50,7 @@
<h1>
<a href="../../dev-guide/index.html">Add-on SDK<span></span></a>
</h1>
- <div id="version">Version 1.7</div>
+ <div id="version">Version 1.8</div>
</div>
</div>
@@ -147,12 +147,6 @@
small set of this functionality.</p></td>
</tr>
-<tr>
-<td><strong><a name="localization">Localization Support</a></strong></td>
-<td><p>The SDK currently only has fairly basic <a href="../../dev-guide/tutorials/l10n.html">localization support</a>.
-</p></td>
-</tr>
-
</table>
<h3>Low-level APIs and Third-party Modules</h3>
@@ -200,12 +194,16 @@
<a href="../../packages/addon-kit/index.html">addon-kit</a>
</h4>
+<a href="../../packages/addon-kit/addon-page.html">addon-page</a>
+
<a href="../../packages/addon-kit/clipboard.html">clipboard</a>
<a href="../../packages/addon-kit/context-menu.html">context-menu</a>
<a href="../../packages/addon-kit/hotkeys.html">hotkeys</a>
+<a href="../../packages/addon-kit/l10n.html">l10n</a>
+
<a href="../../packages/addon-kit/notifications.html">notifications</a>
<a href="../../packages/addon-kit/page-mod.html">page-mod</a>
@@ -253,8 +251,6 @@
<a href="../../packages/api-utils/app-strings.html">app-strings</a>
-<a href="../../packages/api-utils/base.html">base</a>
-
<a href="../../packages/api-utils/byte-streams.html">byte-streams</a>
<a href="../../packages/api-utils/collection.html">collection</a>
@@ -289,6 +285,8 @@
<a href="../../packages/api-utils/globals.html">globals</a>
+<a href="../../packages/api-utils/heritage.html">heritage</a>
+
<a href="../../packages/api-utils/hidden-frame.html">hidden-frame</a>
<a href="../../packages/api-utils/httpd.html">httpd</a>
View
10 dev-guide/guides/two-types-of-scripts.html
@@ -50,7 +50,7 @@
<h1>
<a href="../../dev-guide/index.html">Add-on SDK<span></span></a>
</h1>
- <div id="version">Version 1.7</div>
+ <div id="version">Version 1.8</div>
</div>
</div>
@@ -199,12 +199,16 @@
<a href="../../packages/addon-kit/index.html">addon-kit</a>
</h4>
+<a href="../../packages/addon-kit/addon-page.html">addon-page</a>
+
<a href="../../packages/addon-kit/clipboard.html">clipboard</a>
<a href="../../packages/addon-kit/context-menu.html">context-menu</a>
<a href="../../packages/addon-kit/hotkeys.html">hotkeys</a>
+<a href="../../packages/addon-kit/l10n.html">l10n</a>
+
<a href="../../packages/addon-kit/notifications.html">notifications</a>
<a href="../../packages/addon-kit/page-mod.html">page-mod</a>
@@ -252,8 +256,6 @@
<a href="../../packages/api-utils/app-strings.html">app-strings</a>
-<a href="../../packages/api-utils/base.html">base</a>
-
<a href="../../packages/api-utils/byte-streams.html">byte-streams</a>
<a href="../../packages/api-utils/collection.html">collection</a>
@@ -288,6 +290,8 @@
<a href="../../packages/api-utils/globals.html">globals</a>
+<a href="../../packages/api-utils/heritage.html">heritage</a>
+
<a href="../../packages/api-utils/hidden-frame.html">hidden-frame</a>
<a href="../../packages/api-utils/httpd.html">httpd</a>
View
10 dev-guide/guides/xul-migration.html
@@ -50,7 +50,7 @@
<h1>
<a href="../../dev-guide/index.html">Add-on SDK<span></span></a>
</h1>
- <div id="version">Version 1.7</div>
+ <div id="version">Version 1.8</div>
</div>
</div>
@@ -376,12 +376,16 @@
<a href="../../packages/addon-kit/index.html">addon-kit</a>
</h4>
+<a href="../../packages/addon-kit/addon-page.html">addon-page</a>
+
<a href="../../packages/addon-kit/clipboard.html">clipboard</a>
<a href="../../packages/addon-kit/context-menu.html">context-menu</a>
<a href="../../packages/addon-kit/hotkeys.html">hotkeys</a>
+<a href="../../packages/addon-kit/l10n.html">l10n</a>
+
<a href="../../packages/addon-kit/notifications.html">notifications</a>
<a href="../../packages/addon-kit/page-mod.html">page-mod</a>
@@ -429,8 +433,6 @@
<a href="../../packages/api-utils/app-strings.html">app-strings</a>
-<a href="../../packages/api-utils/base.html">base</a>
-
<a href="../../packages/api-utils/byte-streams.html">byte-streams</a>
<a href="../../packages/api-utils/collection.html">collection</a>
@@ -465,6 +467,8 @@
<a href="../../packages/api-utils/globals.html">globals</a>
+<a href="../../packages/api-utils/heritage.html">heritage</a>
+
<a href="../../packages/api-utils/hidden-frame.html">hidden-frame</a>
<a href="../../packages/api-utils/httpd.html">httpd</a>
View
10 dev-guide/high-level-apis.html
@@ -50,7 +50,7 @@
<h1>
<a href="../dev-guide/index.html">Add-on SDK<span></span></a>
</h1>
- <div id="version">Version 1.7</div>
+ <div id="version">Version 1.8</div>
</div>
</div>
@@ -109,12 +109,16 @@
<a href="../packages/addon-kit/index.html">addon-kit</a>
</h4>
+<a href="../packages/addon-kit/addon-page.html">addon-page</a>
+
<a href="../packages/addon-kit/clipboard.html">clipboard</a>
<a href="../packages/addon-kit/context-menu.html">context-menu</a>
<a href="../packages/addon-kit/hotkeys.html">hotkeys</a>
+<a href="../packages/addon-kit/l10n.html">l10n</a>
+
<a href="../packages/addon-kit/notifications.html">notifications</a>
<a href="../packages/addon-kit/page-mod.html">page-mod</a>
@@ -162,8 +166,6 @@
<a href="../packages/api-utils/app-strings.html">app-strings</a>
-<a href="../packages/api-utils/base.html">base</a>
-
<a href="../packages/api-utils/byte-streams.html">byte-streams</a>
<a href="../packages/api-utils/collection.html">collection</a>
@@ -198,6 +200,8 @@
<a href="../packages/api-utils/globals.html">globals</a>
+<a href="../packages/api-utils/heritage.html">heritage</a>
+
<a href="../packages/api-utils/hidden-frame.html">hidden-frame</a>
<a href="../packages/api-utils/httpd.html">httpd</a>
View
10 dev-guide/index.html
@@ -50,7 +50,7 @@
<h1>
<a href="../dev-guide/index.html">Add-on SDK<span></span></a>
</h1>
- <div id="version">Version 1.7</div>
+ <div id="version">Version 1.8</div>
</div>
</div>
@@ -241,12 +241,16 @@ <h2 class="top">Welcome to the Add-on SDK!</h2>
<a href="../packages/addon-kit/index.html">addon-kit</a>
</h4>
+<a href="../packages/addon-kit/addon-page.html">addon-page</a>
+
<a href="../packages/addon-kit/clipboard.html">clipboard</a>
<a href="../packages/addon-kit/context-menu.html">context-menu</a>
<a href="../packages/addon-kit/hotkeys.html">hotkeys</a>
+<a href="../packages/addon-kit/l10n.html">l10n</a>
+
<a href="../packages/addon-kit/notifications.html">notifications</a>
<a href="../packages/addon-kit/page-mod.html">page-mod</a>
@@ -294,8 +298,6 @@ <h2 class="top">Welcome to the Add-on SDK!</h2>
<a href="../packages/api-utils/app-strings.html">app-strings</a>
-<a href="../packages/api-utils/base.html">base</a>
-
<a href="../packages/api-utils/byte-streams.html">byte-streams</a>
<a href="../packages/api-utils/collection.html">collection</a>
@@ -330,6 +332,8 @@ <h2 class="top">Welcome to the Add-on SDK!</h2>
<a href="../packages/api-utils/globals.html">globals</a>
+<a href="../packages/api-utils/heritage.html">heritage</a>
+
<a href="../packages/api-utils/hidden-frame.html">hidden-frame</a>
<a href="../packages/api-utils/httpd.html">httpd</a>
View
10 dev-guide/low-level-apis.html
@@ -50,7 +50,7 @@
<h1>
<a href="../dev-guide/index.html">Add-on SDK<span></span></a>
</h1>
- <div id="version">Version 1.7</div>
+ <div id="version">Version 1.8</div>
</div>
</div>
@@ -131,12 +131,16 @@
<a href="../packages/addon-kit/index.html">addon-kit</a>
</h4>
+<a href="../packages/addon-kit/addon-page.html">addon-page</a>
+
<a href="../packages/addon-kit/clipboard.html">clipboard</a>
<a href="../packages/addon-kit/context-menu.html">context-menu</a>
<a href="../packages/addon-kit/hotkeys.html">hotkeys</a>
+<a href="../packages/addon-kit/l10n.html">l10n</a>
+
<a href="../packages/addon-kit/notifications.html">notifications</a>
<a href="../packages/addon-kit/page-mod.html">page-mod</a>
@@ -184,8 +188,6 @@
<a href="../packages/api-utils/app-strings.html">app-strings</a>
-<a href="../packages/api-utils/base.html">base</a>
-
<a href="../packages/api-utils/byte-streams.html">byte-streams</a>
<a href="../packages/api-utils/collection.html">collection</a>
@@ -220,6 +222,8 @@
<a href="../packages/api-utils/globals.html">globals</a>
+<a href="../packages/api-utils/heritage.html">heritage</a>
+
&