Fossil

Check-in [559856437d]
Login

Check-in [559856437d]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Let "fossil ui repo.fossil" use the web-browser setting, if set.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | fossil-ui-web-browser
Files: files | file ages | folders
SHA3-256: 559856437d9e07c1866e5afe0a2c40694431fbce2234475991f671fa8ef803d4
User & Date: preben 2023-10-25 14:52:19.261
Context
2023-11-16
12:23
Honour global web-browser setting if running fossil ui with a path to a repository. ... (check-in: 200247bc62 user: preben tags: trunk)
2023-10-25
14:52
Let "fossil ui repo.fossil" use the web-browser setting, if set. ... (Closed-Leaf check-in: 559856437d user: preben tags: fossil-ui-web-browser)
12:52
Clarity pass on the definition of "Project" in the glossary, removing redundancies and simplifying the illlustrative examples. Also clarified the purpose of the bullet points after each definition. ... (check-in: db6674638a user: wyoung tags: trunk)
Changes
Unified Diff Ignore Whitespace Patch
Changes to src/main.c.
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
  }else{
    iPort = db_get_int("http-port", 8080);
    mxPort = iPort+100;
  }
  if( isUiCmd && !fNoBrowser ){
    char *zBrowserArg;
    const char *zProtocol = g.httpUseSSL ? "https" : "http";
    if( zRemote ) db_open_config(0,0);
    zBrowser = fossil_web_browser();
    if( zIpAddr==0 ){
      zBrowserArg = mprintf("%s://localhost:%%d/%s", zProtocol, zInitPage);
    }else if( strchr(zIpAddr,':') ){
      zBrowserArg = mprintf("%s://[%s]:%%d/%s", zProtocol, zIpAddr, zInitPage);
    }else{
      zBrowserArg = mprintf("%s://%s:%%d/%s", zProtocol, zIpAddr, zInitPage);







|







3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
  }else{
    iPort = db_get_int("http-port", 8080);
    mxPort = iPort+100;
  }
  if( isUiCmd && !fNoBrowser ){
    char *zBrowserArg;
    const char *zProtocol = g.httpUseSSL ? "https" : "http";
    db_open_config(0,0);
    zBrowser = fossil_web_browser();
    if( zIpAddr==0 ){
      zBrowserArg = mprintf("%s://localhost:%%d/%s", zProtocol, zInitPage);
    }else if( strchr(zIpAddr,':') ){
      zBrowserArg = mprintf("%s://[%s]:%%d/%s", zProtocol, zIpAddr, zInitPage);
    }else{
      zBrowserArg = mprintf("%s://%s:%%d/%s", zProtocol, zIpAddr, zInitPage);