diff --git a/.cdtproject b/.cdtproject new file mode 100644 index 00000000..93d4fd4b --- /dev/null +++ b/.cdtproject @@ -0,0 +1,1192 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + make + + all + false + true + + + make + + test + false + true + + + gksudo + make + install + false + false + + + make + + clean + false + true + + + make + + dist-clean + false + true + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/.jupiter b/.jupiter new file mode 100644 index 00000000..4bd771a5 --- /dev/null +++ b/.jupiter @@ -0,0 +1,200 @@ + + + + property.default.description + + 1970-01-01 :: 00:00:00:000 GMT-10:00 + review + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Pre 2.5 Review + brian + 2008-01-04 :: 10:09:23:000 GMT-08:00 + review + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/.project b/.project new file mode 100644 index 00000000..6f0bc9dc --- /dev/null +++ b/.project @@ -0,0 +1,85 @@ + + + ModSecurity + + + + + + org.eclipse.cdt.make.core.makeBuilder + clean,full,incremental, + + + org.eclipse.cdt.make.core.append_environment + true + + + org.eclipse.cdt.make.core.enableCleanBuild + true + + + org.eclipse.cdt.make.core.build.command + make + + + org.eclipse.cdt.make.core.useDefaultBuildCmd + true + + + org.eclipse.cdt.make.core.build.target.auto + all + + + org.eclipse.cdt.make.core.stopOnError + false + + + org.eclipse.cdt.make.core.build.location + + + + org.eclipse.cdt.make.core.build.target.inc + all + + + org.eclipse.cdt.make.core.build.arguments + + + + org.eclipse.cdt.core.errorOutputParser + org.eclipse.cdt.core.MakeErrorParser;org.eclipse.cdt.core.GCCErrorParser;org.eclipse.cdt.core.GASErrorParser;org.eclipse.cdt.core.GLDErrorParser;org.eclipse.cdt.core.VCErrorParser; + + + org.eclipse.cdt.make.core.enableAutoBuild + false + + + org.eclipse.cdt.make.core.environment + + + + org.eclipse.cdt.make.core.enabledIncrementalBuild + true + + + org.eclipse.cdt.make.core.build.target.clean + clean + + + org.eclipse.cdt.make.core.enableFullBuild + true + + + + + org.eclipse.cdt.make.core.ScannerConfigBuilder + + + + + + org.eclipse.cdt.core.cnature + org.eclipse.cdt.make.core.makeNature + org.eclipse.cdt.make.core.ScannerConfigNature + + diff --git a/.settings/org.eclipse.cdt.core.prefs b/.settings/org.eclipse.cdt.core.prefs new file mode 100644 index 00000000..2222ff26 --- /dev/null +++ b/.settings/org.eclipse.cdt.core.prefs @@ -0,0 +1,3 @@ +#Fri Jan 04 09:57:26 GMT-08:00 2008 +eclipse.preferences.version=1 +indexerId=org.eclipse.cdt.core.fastIndexer diff --git a/review/review-summary.pl b/review/review-summary.pl new file mode 100755 index 00000000..988892c1 --- /dev/null +++ b/review/review-summary.pl @@ -0,0 +1,50 @@ +#!/usr/bin/perl +use strict; +use XML::Simple; +#use Data::Dumper; + +my $REVIEW = shift @ARGV; +my %ISSUES = (); + +unless (defined $REVIEW) { + print STDERR "Usage: $0 [ ... ]\n"; + exit 1; +} + +# XML => hashref +my $review = XMLin( + $REVIEW, + KeepRoot => 0, + KeyAttr => { ReviewIssue => "+id" }, + ContentKey => "value", + SuppressEmpty => undef, +); +#print Dumper($review); + +# Reorg hashref to be only open issues by filename +for my $rec (values %{$review->{ReviewIssue} || {}}) { + my $key = defined($rec->{File}->{value}) ? $rec->{File}->{value} : ""; + push @{$ISSUES{$key}}, $rec if ($rec->{Status} =~ m/\.open$/); +} + + +# Write report +for my $fn (@ARGV ? (@ARGV) : (keys %ISSUES)) { + print "File: $fn\n"; + print "===================================================================\n"; + for my $r (sort { $a->{File}->{line} <=> $b->{File}->{line} || $a->{ReviewerId} cmp $b->{ReviewerId} } @{$ISSUES{$fn} || []}) { + (my $type = $r->{Type}) =~ s/^.*\.([^\.]+)$/$1/; + $type = ucfirst($type); + (my $res = $r->{Resolution}) =~ s/^.*\.([^\.]+)$/$1/; + my $line = ($r->{File}->{line} and $r->{File}->{line} > 1) ? " @ $r->{File}->{line}" : ""; + my $summary = $r->{Summary} ? "\n$r->{Summary}\n\n" : ""; + my $desc = $r->{Description} ? "$r->{Description}\n\n" : ""; + + print << "EOT"; +[$r->{ReviewerId}] $type$line +$summary$desc +EOT + } + print "\n"; +} +