[dmd-internals] [D-Programming-Language/dmd] 0d6eff: man.d: use the configured browser, don't hardcode ...

GitHub via dmd-internals dmd-internals at puremagic.com
Mon Aug 31 12:56:38 PDT 2015


  Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/dmd
  Commit: 0d6eff4506e0d62b395d3bbf2769c9758a5efdc5
      https://github.com/D-Programming-Language/dmd/commit/0d6eff4506e0d62b395d3bbf2769c9758a5efdc5
  Author: Luís Marques <luis at luismarques.eu>
  Date:   2015-08-31 (Mon, 31 Aug 2015)

  Changed paths:
    M src/root/man.d

  Log Message:
  -----------
  man.d: use the configured browser, don't hardcode Safari

On OS X, `open` directly opens URLs. You don't have to specify the browser application and the URL as an argument. Directly opening URLs with `open` will respect the user's choice of browser. To be sure that this works, the argument must be an actual URL with a protocol, and not a plain URI. This was added as a debug precondition check.


  Commit: f13f044416bede01d39d1d5f2f2c380317f406d0
      https://github.com/D-Programming-Language/dmd/commit/f13f044416bede01d39d1d5f2f2c380317f406d0
  Author: Walter Bright <walter at walterbright.com>
  Date:   2015-08-31 (Mon, 31 Aug 2015)

  Changed paths:
    M src/root/man.d

  Log Message:
  -----------
  Merge pull request #4996 from luismarques/use_osx_user_browser

man.d: use the configured browser, don't hardcode Safari


Compare: https://github.com/D-Programming-Language/dmd/compare/2ba1045c5452...f13f044416be


More information about the dmd-internals mailing list