gecko-dev/toolkit
Mike Hommey 740cec5575 Bug 1080319 - Remove the -remote option. r=bsmedberg
The -remote option has existed essentially forever, but its usefulness is
questionable:
- It requires a running instance to be any useful, so any script actually
  using it should first do -remote 'ping()' and handle the response properly.
- It is not cross-application. The remote service dispatches the -remote
  commands to the command line handler, and, for example, desktop b2g builds
  don't have handlers for -remote (although thunderbird and seamonkey do).
- It is not a cross-platform option, which leads to the following point:
- There are other command line ways to do the same thing (at least in
  Firefox), without having to jump through hoops with -remote 'ping()',
  because there are command line options to do those same things on non-X11
  platforms.

For the latter, in Firefox case:
- -remote 'openURL(url)' can be replaced with firefox url
- -remote 'openURL(url,new-tab)' can be replaced with firefox -new-tab url
- -remote 'openURL(url,new-window)' can be replaced with firefox -new-window
  url
- -remote 'openfile(file,...)' is the same as -remote 'openurl(file,...) so,
  can be replaced as above
- -remote 'xfedocommand(openbrowser)' is inherited from the mozilla suite and
   doesn't make much sense, but can be replaced with firefox -new-window

The interesting part is that without changing nsBrowserContentHandler.js,
-remote still works, meaning that if people really feel strongly about
-remote, they'll still be able to write an addon to bring it back. This also
means this patch actually doesn't remove -remote for applications other than
Firefox that do support it, although -remote 'ping()' doesn't work as
expected. However, other -remote commands will now work even without a
running instance.
2014-10-14 07:19:52 +09:00
..
components Bug 1080319 - Remove the -remote option. r=bsmedberg 2014-10-14 07:19:52 +09:00
content Bug 1074167 - Autocomplete results for aliased search engines should use the search engine icon. r=mak 2014-10-10 10:59:00 -04:00
crashreporter Bug 1077282: Cleanup uses of GreD vs GreBinD in our crashreporter, introcuded by v2 signature changes on OSX. r=bsmedberg 2014-10-10 15:07:01 -04:00
devtools Merge m-c to inbound. a=merge 2014-10-12 14:57:13 -04:00
forgetaboutsite Bug 1066735 - Remove root b2g and android specific xpcshell manifests, r=chmanchester 2014-10-07 18:18:28 -04:00
identity Bug 1066735 - Remove root b2g and android specific xpcshell manifests, r=chmanchester 2014-10-07 18:18:28 -04:00
library
locales Bug 1063702 - Update all Reset Firefox strings and relevant UI to new UX requirements. r=MattN 2014-10-11 12:37:16 +11:00
modules Bug 1080030 - Trim the whitespace surrounding option/optgroup text when displaying a drop-down in e10s; r=felipe 2014-10-11 09:40:45 -04:00
mozapps Merge inbound to m-c a=merge CLOSED TREE 2014-10-10 18:58:06 -07:00
obsolete
profile Bug 1001090 - Part 5: Fix errors in tests throughout the tree. (r=robcee,gavin) 2014-09-15 16:30:47 -07:00
system
themes Bug 1063702 - Update all Reset Firefox strings and relevant UI to new UX requirements. r=MattN 2014-10-11 12:37:16 +11:00
webapps Bug 1076941: Keep supporting the legacy location under Contents/MacOS for the webapprt folder on OSX. r=myk 2014-10-03 08:04:44 -04:00
xre Bug 1080319 - Remove the -remote option. r=bsmedberg 2014-10-14 07:19:52 +09:00
moz.build
toolkit.mozbuild Bug 1063414 - Make DIRS relative to the file they were added from. r=gps 2014-10-02 09:14:07 +09:00