Jim Blandy
39dc0c6097
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
55e04c6b07
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
fa0b441db5
bug 891219 new social bookmarks, part 1, remove old socialmarks code
2013-09-06 10:55:43 -07:00
Mark Hammond
83ac2d527c
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
a0cae67b7d
Bug 891218 (part 1) - avoid using a DOM document in updateProvider - r=mixedpuppy
2013-08-29 09:45:58 +10:00
Mark Hammond
01c55f596e
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
d2c7085aa0
bug 872605 add ability to update provider manifest, r=markh
2013-07-03 10:24:16 -07:00
Shane Caraveo
4aefd374e0
bug 836766 drop minimized requirment on chats opened from worker, r=markh
2013-05-31 16:42:02 -07:00
Shane Caraveo
17b5b39a4f
bug 853151 rework recommend into social marks, r=felipe
2013-05-04 13:11:18 -07:00
Matt Brubeck
c1797f7b65
Back out changeset 29c172213ff7 (bug 853151) because of Ts and Tp5 regressions
2013-05-03 10:59:43 -07:00
Shane Caraveo
fa0f2bfc9b
bug 853151 rework recommend into social marks, r=felipe
2013-05-02 11:49:11 -07:00
Ed Morley
2e302e649c
Backed out changeset 8a9a40bfa8e3 (bug 853151) for browser_social_markButton.js failures
2013-04-25 11:19:52 +01:00
Shane Caraveo
02d0bf5646
bug 853151 refactoring recommend into SocialMark, r=felipe
2013-04-24 12:58:36 -07:00
Mark Hammond
8e2d296f36
Bug 806037 - use nsIPrincipal for origin checks. r=gavin
2012-12-27 18:28:49 +11:00
Joel Maher
4005e31a52
Backed out changeset 251ac29afd1b for perma orange bc
2012-12-27 07:18:33 -05:00
Mark Hammond
3e19a84af4
Bug 806037 - use nsIPrincipal for origin checks. r=gavin
2012-12-27 18:28:49 +11:00
Mark Hammond
81220f4c0c
Bug 807997 - allow chats to open in any suitable top-level window. r=gavin
2012-12-07 10:56:17 +11:00
Mark Hammond
7dc041b7c1
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
b295ea7639
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
76a2832eea
Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon
2012-10-31 09:13:28 -07:00
Vicamo Yang
ea784216bd
Backout 67cb43bb8865: Breaks B2G Marionette
2012-10-31 16:35:11 +08:00
Kyle Huey
c82a2d6fea
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
c34b7d9377
Backout a145ded68994, e0cf397089ec & 1545e91c658e (bug 798491) for bustage on a CLOSED TREE
2012-10-30 17:02:31 +00:00
Kyle Huey
8078ab712e
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
c78e26825f
Backed out changeset ca101d926240 (bug 787767)
2012-10-22 01:56:10 -07:00
Jared Wein
8ed5a9fef6
Bug 787767 - Implement runtime performance monitoring for Worker API abuse. r=felipe
2012-10-21 17:26:11 -07:00
Jared Wein
cdd07f5a3b
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
509b2c6637
Backed out changeset 779550569432 (bug 787767)
2012-10-18 21:43:12 -04:00
Jared Wein
ac8c9df15e
Bug 787767 - Implement runtime performance warnings for Worker API abuse. r=felipe
2012-10-18 18:02:42 -07:00
Felipe Gomes
e2fe1e68a8
Bug 802929 - use existing port handle for socialcookies-get message. r=jaws,mixedpuppy
2012-10-18 16:40:12 +11:00
Shane Caraveo
ab6123721e
Bug 785920 - reload for workers. r=gavin.sharp
2012-10-12 16:58:50 -07:00
Jared Wein
2cd56d44bf
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
0c1f30798a
Bug 788100 - Remove social.initialize-response message. r=jaws
2012-09-12 12:48:38 +10:00
Mark Hammond
2df44eefac
Bug 787511 - rename SocialProvider._getWorkerPort to getWorkerPort, remove SocialProvider.port. r=jaws
2012-09-12 12:48:38 +10:00
Phil Ringnalda
6914fdb530
Back out df2ddcab7143 (bug 788100), d9e96444da92 (bug 788405), 092a8add22fd (bug 787511) for xpcshell bustage
2012-09-11 20:46:34 -07:00
Mark Hammond
28f78311df
Bug 788100 - Remove social.initialize-response message. r=jaws
2012-09-12 12:48:38 +10:00
Mark Hammond
0f347399da
Bug 787511 - rename SocialProvider._getWorkerPort to getWorkerPort, remove SocialProvider.port. r=jaws
2012-09-12 12:48:38 +10:00
Shane Caraveo
7207c2e1da
Bug 784535 - enable opening chats from worker. r=jaws
2012-08-26 16:51:24 -07:00
Shane Caraveo
343ad392e0
Bug 774506 - Implement toast notification support. r=jaws
2012-08-26 16:46:45 -07:00
Shane Caraveo
00dfbd3731
Bug 774003: let social workers request their cookies via the Social API, r=gavin
2012-07-25 15:26:39 -07:00
Shane Caraveo
8b2fe79c8b
Bug 773530: make additions to the social WorkerAPI module to support the toolbar UI, r=gavin
2012-07-14 16:35:19 -07:00
Gavin Sharp
66c00f566f
Bug 771877: add WorkerAPI, r=jaws/mixedpuppy
2012-07-09 00:22:50 -07:00
Ed Morley
c5d11d4351
Backout 034afcc038c9 (bug 771877) for mochitest-browser-chrome leaks
2012-07-09 10:09:56 +01:00
Gavin Sharp
6f223b7eee
Bug 771877: add WorkerAPI, r=jaws/mixedpuppy
2012-07-09 00:22:50 -07:00