File tree Expand file tree Collapse file tree 3 files changed +35
-0
lines changed Expand file tree Collapse file tree 3 files changed +35
-0
lines changed Original file line number Diff line number Diff line change @@ -5257,6 +5257,7 @@ my %genhtml_rc_opts = (
5257
5257
" genhtml_no_source" => \$no_sourceview ,
5258
5258
" genhtml_num_spaces" => \$tab_size ,
5259
5259
" genhtml_highlight" => \$highlight ,
5260
+ " genhtml_frames" => \$frames ,
5260
5261
" genhtml_legend" => \$legend ,
5261
5262
" genhtml_html_prolog" => \$html_prolog_file ,
5262
5263
" genhtml_html_epilog" => \$html_epilog_file ,
@@ -5359,6 +5360,7 @@ $fn_hi_limit = $hi_limit if (!defined($fn_hi_limit));
5359
5360
$fn_med_limit = $med_limit if (!defined ($fn_med_limit ));
5360
5361
$br_hi_limit = $hi_limit if (!defined ($br_hi_limit ));
5361
5362
$br_med_limit = $med_limit if (!defined ($br_med_limit ));
5363
+ $frames = undef unless (defined ($frames ) && $frames );
5362
5364
5363
5365
@datebins = @rc_date_bins unless @datebins ;
5364
5366
@SourceFile::annotateScript = @rc_annotate_script
Original file line number Diff line number Diff line change @@ -644,6 +644,21 @@ code character has to be inspected once. Note also that the GD.pm Perl
644
644
module has to be installed for this option to work (it may be obtained
645
645
from http://www.cpan.org).
646
646
647
+ This option can also be controlled from the
648
+ .I genhtml_frames
649
+ entry of the
650
+ .B lcovrc
651
+ file.
652
+
653
+ Please note that there is a bug in firefox and in chrome, such that
654
+ enabling frames will disable hyperlinks from the 'directory' level summary
655
+ table entry to the first line in the corresponding file in the particular
656
+ category - e.g., to the first 'MIS' line (vanilla coverage report - see the
657
+ .i \-\- show\- navigation
658
+ option, below), to
659
+ the first 'UNC' branch (differential coverage repot), etc.
660
+ Hyperlinks from the summary table at the top of the 'source detail' page are not affected.
661
+
647
662
.RE
648
663
.B \- s
649
664
.br
@@ -1446,6 +1461,13 @@ Hyperlinks are always generated for differential coverage reports.
1446
1461
1447
1462
This feature enables developers to find and understand coverage issues more quickly than they might otherwise, if they had to rely on scrolling.
1448
1463
1464
+ See the
1465
+ .I \-\- frames
1466
+ description above for a description of a browser bug which disables
1467
+ these hyperlinks in certain conditions.
1468
+
1469
+ Navigation hyperlinks are always enabled in differential coveage report.
1470
+
1449
1471
.RE
1450
1472
.BI " \-\- show\- proportions "
1451
1473
.RS
Original file line number Diff line number Diff line change @@ -855,6 +855,17 @@ age of the corresponding block (as reported by your annotation script). This o
855
855
Default is 5.
856
856
.PP
857
857
858
+ .BR genhtml_frames " ="
859
+ .I 0 | 1
860
+ .IP
861
+ Specify whether source detail view should contain a navigation image.
862
+ See the
863
+ .I \-\- frame
864
+ entry in the
865
+ .B genhtml
866
+ man page.
867
+ .PP
868
+
858
869
.BR genhtml_overview_width " ="
859
870
.I pixel_size
860
871
.IP
You can’t perform that action at this time.
0 commit comments