Commit Graph

44 Commits

Author SHA1 Message Date
Brian Nicholson
58055f5a0b Bug 1043633 - Change sendMessageToJava to Messaging.sendRequest. r=wesj 2014-09-02 11:59:05 -07:00
Jim Blandy
7e20285e70 Bug 914753: Make Emacs file variable header lines correct, or at least consistent. DONTBUILD r=ehsan
The -*- file variable lines -*- establish per-file settings that Emacs will
pick up. This patch makes the following changes to those lines (and touches
nothing else):

 - Never set the buffer's mode.

   Years ago, Emacs did not have a good JavaScript mode, so it made sense
   to use Java or C++ mode in .js files. However, Emacs has had js-mode for
   years now; it's perfectly serviceable, and is available and enabled by
   default in all major Emacs packagings.

   Selecting a mode in the -*- file variable line -*- is almost always the
   wrong thing to do anyway. It overrides Emacs's default choice, which is
   (now) reasonable; and even worse, it overrides settings the user might
   have made in their '.emacs' file for that file extension. It's only
   useful when there's something specific about that particular file that
   makes a particular mode appropriate.

 - Correctly propagate settings that establish the correct indentation
   level for this file: c-basic-offset and js2-basic-offset should be
   js-indent-level. Whatever value they're given should be preserved;
   different parts of our tree use different indentation styles.

 - We don't use tabs in Mozilla JS code. Always set indent-tabs-mode: nil.
   Remove tab-width: settings, at least in files that don't contain tab
   characters.

 - Remove js2-mode settings that belong in the user's .emacs file, like
   js2-skip-preprocessor-directives.
2014-06-24 22:12:07 -07:00
Josh Dover
44326022c1 Bug 997328 - Update SharedPreferences.jsm to use scopes and mirror GeckoSharedPrefs. r=nalexander 2014-05-10 08:39:53 -07:00
Margaret Leibovic
886aa576af Bug 1002567 - Support weighted snippets. r=bnicholson 2014-04-30 14:38:02 -07:00
Margaret Leibovic
344a7a150a Bug 996669 - Assert panel exists in oninstall/onuninstall listeners. r=jdover 2014-04-25 16:57:56 -07:00
Josh Dover
1f231c8619 Bug 970707 - Pass refresh to JS callback. r=lucas 2014-04-15 15:51:00 +02:00
Josh Dover
e9bb505768 Bug 970707 - Add refreshEnabled to ViewConfig. r=margaret 2014-04-15 15:48:00 +02:00
Margaret Leibovic
aa799a33df Bug 993666 - Keep track of whether or not to send banner message to Java when a banner is added. r=bnicholson 2014-04-15 10:03:03 -07:00
Margaret Leibovic
26b8d53069 Bug 991190 - Rename Home.panels.authHandler API to Home.panels.auth. r=liuche 2014-04-04 15:55:06 -07:00
Margaret Leibovic
6082f66aa9 Bug 978991 - Add hooks to let an add-on know when a panel is installed/uninstalled. r=liuche 2014-04-04 15:55:03 -07:00
Margaret Leibovic
4e76284655 Bug 942281 - Create a PanelAuthCache to keep track of whether or not panel is authenciated (r=lucasr) 2014-03-27 09:25:04 -07:00
Margaret Leibovic
b11cb7dcd0 Bug 942281 - Add a view for authentication UI to DynamicPanel (r=lucasr) 2014-03-27 09:25:04 -07:00
Margaret Leibovic
55675f1dea Bug 942281 - Create AuthConfig and add authHandler option to Home.panels.register API (r=lucasr) 2014-03-27 09:25:03 -07:00
Margaret Leibovic
a81d9b968d Bug 942281 - Move panel validation into Panel constructor (r=lucasr) 2014-03-03 14:23:06 -08:00
Margaret Leibovic
64121e61cf Bug 975239 - (Part 1) Choose a banner message at random instead of rotating through a queue. r=bnicholson 2014-03-07 11:23:26 -08:00
Josh Dover
1bd84e14ee Bug 974723 - Send shown event when banner message is displayed. r=margaret 2014-02-20 12:38:27 -08:00
Lucas Rocha
f60a15d413 Bug 967286 - Default to Layout.FRAME if layout type isn't specified (r=margaret) 2014-02-25 17:40:50 +00:00
Lucas Rocha
538c44e186 Bug 974139 - Redefine registration logic to return panel options dynamically (r=margaret) 2014-02-25 17:29:49 +00:00
Lucas Rocha
e9757098c8 Bug 976122 - Fix HomePanels:Get handling in Home.jsm (r=margaret) 2014-02-25 11:28:58 +00:00
Lucas Rocha
2bed65afdf Bug 974926 - Rename _panels to _registeredPanels in Home.jsm (r=margaret) 2014-02-24 10:17:05 +00:00
Margaret Leibovic
43bd873e12 Bug 975217 - Don't try to remove a banner message that doesn't exist. r=mcomella 2014-02-22 09:41:31 -08:00
Lucas Rocha
2a9f9f1273 Bug 972306 - Restructure the Home.panels API for clarity (r=margaret) 2014-02-21 10:33:59 +00:00
Lucas Rocha
1d4fe2879c Bug 972306 - Change HomePanels:Uninstall to take an id (r=margaret) 2014-02-21 10:33:59 +00:00
Lucas Rocha
d6c43911f6 Bug 972306 - Rename HomePanels:Remove to HomePanels:Uninstall (r=margaret) 2014-02-21 10:33:58 +00:00
Lucas Rocha
87bde21703 Bug 966022 - Introduce ItemType into HomeConfig/Home.jsm (r=margaret) 2014-02-19 17:36:59 +00:00
Margaret Leibovic
61b6952e2c Bug 963561 - Notify Home.banner consumers when a message is dismissed. r=wesj 2014-02-14 16:51:43 -08:00
Peiyong Lin
1c91d9c0f1 Bug 968378 - Hide private members in Home.jsm using closures. r=mcomella 2014-02-14 11:52:14 -05:00
Wes Johnston
c1bd2f002f Bug 946344 - Remove GeckoEventResponder. r=mfinkle,blassey,kats
--HG--
rename : mobile/android/base/util/EventDispatcher.java => mobile/android/base/EventDispatcher.java
2014-02-11 09:16:00 -08:00
Lucas Rocha
6c3968c93f Bug 968573 - Introduce ItemHandler into HomeConfig/Home.jsm (r=margaret) 2014-02-13 18:42:33 +00:00
Lucas Rocha
16f473216d Bug 968188 - Introduce 'action' option in Home.panels.add() API (r=margaret) 2014-02-13 11:19:57 +00:00
Peiyong Lin
eb10da67e2 Bug 965023 - Use Object.freeze on exports of Home.jsm. r=mcomella 2014-02-08 21:02:27 -05:00
Lucas Rocha
785bae5bfc Bug 949174/964375/952311 - Send panel JSON instead of just id in HomePanels:Remove (r=margaret) 2014-02-05 14:14:52 +00:00
Lucas Rocha
132658dc45 Bug 949174/964375/952311 - Add requestPanelsById() to PanelManager (r=margaret) 2014-02-05 14:14:52 +00:00
Lucas Rocha
dcebdc8c80 Bug 949174/964375/952311 - Send HomePanels:Install when autoInstall option is set (r=margaret) 2014-02-05 14:14:51 +00:00
Lucas Rocha
847026242c Bug 949174/964375/952311 - Factor out method to transform Panel into JSON (r=margaret) 2014-02-05 14:14:51 +00:00
Sola Ogunsakin
9b73303b7f Bug 965070 - Add GRID constant to Home.jsm. r=lucasr 2014-01-30 09:51:32 -08:00
Michael Comella
bf9dcaf1c6 Bug 964454 - Correct ReferenceError 'panel' in Home.jsm. r=margaret 2014-01-28 10:36:11 -08:00
Margaret Leibovic
d68ce62e76 Bug 959862 - Expand Home.panels API to specify contents of panels. r=lucasr 2014-01-17 09:27:07 -08:00
Margaret Leibovic
dd7e8c5d28 Bug 958192 - Use gecko messages to request current set of available panels from JS. r=lucasr 2014-01-14 15:08:10 -08:00
Margaret Leibovic
8fbc799a9d Bug 958179 - Rename Home.lists API to Home.panels. r=liuche 2014-01-10 12:57:23 -08:00
Margaret Leibovic
e55de8109a Bug 862805 - API to allow add-ons to register custom lists on about:home. r=wesj 2013-12-19 14:51:10 -08:00
Margaret Leibovic
14bece0356 Bug 932830 - Add an "onshown" option to Home.banner options. r=wesj 2013-11-04 14:39:00 -08:00
Margaret Leibovic
72c72b0928 Bug 921265 - Send "HomeBanner:Data" message when first message is added. r=wesj 2013-09-26 16:53:09 -07:00
Margaret Leibovic
169ab90146 Bug 905262 - Create a JS add-on API for adding content to the promotional banner. r=wesj 2013-08-19 17:22:47 -07:00