Commit Graph

44 Commits

Author SHA1 Message Date
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
Mark Hammond
444cc93fb0 Bug 899908 - remove ability for a social worker to reload and reconnect ports. r=mixedpuppy 2013-09-11 16:10:34 +10:00
Shane Caraveo
967bf9736a bug 891219 new social bookmarks, part 1, remove old socialmarks code 2013-09-06 10:55:43 -07:00
Mark Hammond
818eddebba Bug 891218 (part 3) - avoid using a DOM document in social.cookies-get message. r=mixedpuppy 2013-08-29 09:45:58 +10:00
Mark Hammond
98cb317bef Bug 891218 (part 1) - avoid using a DOM document in updateProvider - r=mixedpuppy 2013-08-29 09:45:58 +10:00
Mark Hammond
e1f9d688b7 Bug 896312 - social.cookies-get message returns an empty cookie instead of an empty array when no cookies. r=mixedpuppy 2013-07-23 17:41:48 +10:00
Shane Caraveo
a0486eb02e bug 872605 add ability to update provider manifest, r=markh 2013-07-03 10:24:16 -07:00
Shane Caraveo
6ec7928ee6 bug 836766 drop minimized requirment on chats opened from worker, r=markh 2013-05-31 16:42:02 -07:00
Shane Caraveo
b148a5d7f6 bug 853151 rework recommend into social marks, r=felipe
--HG--
rename : browser/base/content/test/social/social_share_image.png => browser/base/content/test/social/social_mark_image.png
2013-05-04 13:11:18 -07:00
Matt Brubeck
40b69bb3d8 Back out changeset 29c172213ff7 (bug 853151) because of Ts and Tp5 regressions
--HG--
rename : browser/base/content/test/social/social_mark_image.png => browser/base/content/test/social/social_share_image.png
2013-05-03 10:59:43 -07:00
Shane Caraveo
787261ce94 bug 853151 rework recommend into social marks, r=felipe
--HG--
rename : browser/base/content/test/social/social_share_image.png => browser/base/content/test/social/social_mark_image.png
2013-05-02 11:49:11 -07:00
Ed Morley
0998031926 Backed out changeset 8a9a40bfa8e3 (bug 853151) for browser_social_markButton.js failures
--HG--
rename : browser/base/content/test/social/social_mark_image.png => browser/base/content/test/social/social_share_image.png
2013-04-25 11:19:52 +01:00
Shane Caraveo
c1591385ae bug 853151 refactoring recommend into SocialMark, r=felipe
--HG--
rename : browser/base/content/test/social/social_share_image.png => browser/base/content/test/social/social_mark_image.png
2013-04-24 12:58:36 -07:00
Mark Hammond
20dbf380a1 Bug 806037 - use nsIPrincipal for origin checks. r=gavin 2012-12-27 18:28:49 +11:00
Joel Maher
e6cf1bc11a Backed out changeset 251ac29afd1b for perma orange bc 2012-12-27 07:18:33 -05:00
Mark Hammond
26d83e372d Bug 806037 - use nsIPrincipal for origin checks. r=gavin 2012-12-27 18:28:49 +11:00
Mark Hammond
c76347ad1f Bug 807997 - allow chats to open in any suitable top-level window. r=gavin 2012-12-07 10:56:17 +11:00
Mark Hammond
5131a48af6 Bug 808001 - clicking a social notification link now opens the link in a new tab. r=gavin 2012-11-22 13:53:07 +11:00
Mark Hammond
f0ec0acb93 Bug 811143 - move recommend support to the worker api and avoid dangling port if not supported by the provider. r=jaws 2012-11-15 14:57:28 +11:00
Kyle Huey
0469a02b25 Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon
--HG--
extra : rebase_source : 98337b6a8c07d05e8c961a452dd05a7d75c3c60b
2012-10-31 09:13:28 -07:00
Vicamo Yang
a78b5b38c7 Backout 67cb43bb8865: Breaks B2G Marionette 2012-10-31 16:35:11 +08:00
Kyle Huey
9a3674d80a Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon 2012-10-30 12:28:11 -07:00
Ed Morley
4144129728 Backout a145ded68994, e0cf397089ec & 1545e91c658e (bug 798491) for bustage on a CLOSED TREE 2012-10-30 17:02:31 +00:00
Kyle Huey
50b5d3f681 Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon 2012-10-30 08:26:12 -07:00
Jared Wein
9ae793f3da Backed out changeset ca101d926240 (bug 787767) 2012-10-22 01:56:10 -07:00
Jared Wein
201bb9ad4c Bug 787767 - Implement runtime performance monitoring for Worker API abuse. r=felipe
--HG--
extra : rebase_source : 93e027809cc3f6ceb2939cb2e3919c3516d05be7
2012-10-21 17:26:11 -07:00
Jared Wein
8457527a81 Bug 803385. Make sure cookie value is not undefined before trying to trim it. r=felipe 2012-10-19 17:16:24 -07:00
Ryan VanderMeulen
5703aad914 Backed out changeset 779550569432 (bug 787767) 2012-10-18 21:43:12 -04:00
Jared Wein
faf749e67e Bug 787767 - Implement runtime performance warnings for Worker API abuse. r=felipe 2012-10-18 18:02:42 -07:00
Felipe Gomes
554773b05d Bug 802929 - use existing port handle for socialcookies-get message. r=jaws,mixedpuppy 2012-10-18 16:40:12 +11:00
Shane Caraveo
ccbe60c88d Bug 785920 - reload for workers. r=gavin.sharp 2012-10-12 16:58:50 -07:00
Jared Wein
ef9e4095ec Bug 794512 - Add a checkbox and preference to disable toast notifications for the Social API. r=markh 2012-09-26 17:40:18 -07:00
Mark Hammond
13a1a3bd93 Bug 788100 - Remove social.initialize-response message. r=jaws 2012-09-12 12:48:38 +10:00
Mark Hammond
ef02d6e439 Bug 787511 - rename SocialProvider._getWorkerPort to getWorkerPort, remove SocialProvider.port. r=jaws 2012-09-12 12:48:38 +10:00
Phil Ringnalda
a109831d75 Back out df2ddcab7143 (bug 788100), d9e96444da92 (bug 788405), 092a8add22fd (bug 787511) for xpcshell bustage 2012-09-11 20:46:34 -07:00
Mark Hammond
a2d0472c4d Bug 788100 - Remove social.initialize-response message. r=jaws 2012-09-12 12:48:38 +10:00
Mark Hammond
654ed0131c Bug 787511 - rename SocialProvider._getWorkerPort to getWorkerPort, remove SocialProvider.port. r=jaws 2012-09-12 12:48:38 +10:00
Shane Caraveo
28ac33ef34 Bug 784535 - enable opening chats from worker. r=jaws 2012-08-26 16:51:24 -07:00
Shane Caraveo
fe3875a970 Bug 774506 - Implement toast notification support. r=jaws 2012-08-26 16:46:45 -07:00
Shane Caraveo
a01da37e93 Bug 774003: let social workers request their cookies via the Social API, r=gavin
--HG--
extra : rebase_source : ae4aad6caa156c83fa08c0813c79452ca68203c7
2012-07-25 15:26:39 -07:00
Shane Caraveo
cd68b289d7 Bug 773530: make additions to the social WorkerAPI module to support the toolbar UI, r=gavin
--HG--
extra : transplant_source : 9%EF%EE%2A3g%3C%85%03%92%CC%1Ek%F3vKaD%1D%9F
2012-07-14 16:35:19 -07:00
Gavin Sharp
3d2def58bd Bug 771877: add WorkerAPI, r=jaws/mixedpuppy
--HG--
extra : rebase_source : e91a5c2586c725928d87e1bb379157561145f36d
2012-07-09 00:22:50 -07:00
Ed Morley
e942dd1c94 Backout 034afcc038c9 (bug 771877) for mochitest-browser-chrome leaks 2012-07-09 10:09:56 +01:00
Gavin Sharp
4fd1485c66 Bug 771877: add WorkerAPI, r=jaws/mixedpuppy
--HG--
extra : transplant_source : %12%86%EB%94%A1%9C_%EB%84W%1A%C1%92H%A9%25%F4%F6e%C7
2012-07-09 00:22:50 -07:00