Check-in [47ee082a75]
Not logged in

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

Overview
Comment:Added a width to table.sbsdiffcols so that skins with a flexible body width can expand it as necessary. Seems to have no visible effect on fixed-width layouts.
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:47ee082a75d42263fed1d9daeb867edec1e742a6
User & Date: stephan 2013-07-20 15:59:37
Context
2013-07-20
16:27
/stats_report now uses relative bar lengths, based on (rather arbitrarily) a 500-pixel 100% value. check-in: 3c78bbb082 user: stephan tags: trunk
15:59
Added a width to table.sbsdiffcols so that skins with a flexible body width can expand it as necessary. Seems to have no visible effect on fixed-width layouts. check-in: 47ee082a75 user: stephan tags: trunk
03:18
Add some documentation to help programmers get started hacking the Fossil sources. check-in: 018a983046 user: drh tags: trunk
Changes

Changes to src/diff.c.

1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
      sbsWriteMarker(&s, "   ", "");
      sbsWriteLineno(&s, b+j, SBS_LNB);
      sbsWriteText(&s, &B[b+j], SBS_TXTB);
    }
  }
  
  if( s.escHtml && blob_size(s.apCols[SBS_LNA])>0 ){
    blob_append(pOut, "<table class=\"sbsdiffcols\"><tr>\n", -1);
    for(i=SBS_LNA; i<=SBS_TXTB; i++){
      sbsWriteColumn(pOut, s.apCols[i], i);
      blob_reset(s.apCols[i]);
    }
    blob_append(pOut, "</tr></table>\n", -1);
  }
}







|







1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
      sbsWriteMarker(&s, "   ", "");
      sbsWriteLineno(&s, b+j, SBS_LNB);
      sbsWriteText(&s, &B[b+j], SBS_TXTB);
    }
  }
  
  if( s.escHtml && blob_size(s.apCols[SBS_LNA])>0 ){
    blob_append(pOut, "<table class=\"sbsdiffcols\" width=\"90%\"><tr>\n", -1);
    for(i=SBS_LNA; i<=SBS_TXTB; i++){
      sbsWriteColumn(pOut, s.apCols[i], i);
      blob_reset(s.apCols[i]);
    }
    blob_append(pOut, "</tr></table>\n", -1);
  }
}