add gitattributes and fix whitespace issues
This commit is contained in:
parent
bfd3cd8171
commit
86efd97a10
433 changed files with 196 additions and 597 deletions
|
|
@ -9,7 +9,7 @@ my $anchors = {};
|
|||
my $i = 0;
|
||||
foreach $line (@lines) {
|
||||
$i++;
|
||||
if ($line =~ m/id="([^"]+)"/) {
|
||||
if ($line =~ m/id="([^"]+)"/) {
|
||||
$anchors->{$1} = $i;
|
||||
}
|
||||
}
|
||||
|
|
@ -17,10 +17,9 @@ foreach $line (@lines) {
|
|||
$i = 0;
|
||||
foreach $line (@lines) {
|
||||
$i++;
|
||||
while ($line =~ m/href="#([^"]+)"/g) {
|
||||
while ($line =~ m/href="#([^"]+)"/g) {
|
||||
if (! exists($anchors->{$1})) {
|
||||
print "$file:$i: $1 referenced\n";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -8,4 +8,3 @@ Instructions for Ubuntu Linux 12.04+
|
|||
2) Copy the included "share" folder into "~/.local/"
|
||||
|
||||
3) Open a shell in "~/.local/share/" and run "update-mime-database mime"
|
||||
|
||||
|
|
|
|||
|
|
@ -123,11 +123,11 @@
|
|||
<keyword>mode_t</keyword>
|
||||
<keyword>ssize_t</keyword>
|
||||
</context>
|
||||
|
||||
|
||||
<context id="self" style-ref="identifier">
|
||||
<keyword>self</keyword>
|
||||
</context>
|
||||
|
||||
|
||||
<context id="constants" style-ref="constant">
|
||||
<keyword>true</keyword>
|
||||
<keyword>false</keyword>
|
||||
|
|
@ -261,4 +261,3 @@
|
|||
</definitions>
|
||||
|
||||
</language>
|
||||
|
||||
|
|
|
|||
|
|
@ -2,6 +2,6 @@
|
|||
<mime-type type="text/x-rust">
|
||||
<comment>Rust Source</comment>
|
||||
<glob pattern="*.rs"/>
|
||||
<glob pattern="*.rc"/>
|
||||
<glob pattern="*.rc"/>
|
||||
</mime-type>
|
||||
</mime-info>
|
||||
|
|
|
|||
|
|
@ -14,4 +14,3 @@ while (<>) {
|
|||
$indent -= 1;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -52,5 +52,3 @@ def download_new_file (date, rev, platform, hsh):
|
|||
for ff in newestSet["files"]:
|
||||
download_new_file (newestSet["date"], newestSet["rev"],
|
||||
ff["platform"], ff["hash"])
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -243,4 +243,3 @@ int main() {
|
|||
extra_consts();
|
||||
printf("}\n");
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -96,4 +96,3 @@ def check_license(name, contents):
|
|||
return True
|
||||
|
||||
return False
|
||||
|
||||
|
|
|
|||
|
|
@ -1,13 +1,13 @@
|
|||
#!/bin/sh
|
||||
|
||||
TARG_DIR=$1
|
||||
TARG_DIR=$1
|
||||
PREFIX=$2
|
||||
|
||||
BINDIR=bin
|
||||
LIBDIR=lib
|
||||
|
||||
OS=`uname -s`
|
||||
case $OS in
|
||||
case $OS in
|
||||
("Linux"|"FreeBSD")
|
||||
BIN_SUF=
|
||||
LIB_SUF=.so
|
||||
|
|
|
|||
|
|
@ -33,6 +33,3 @@ for line in f.readlines():
|
|||
print("got download with ok hash")
|
||||
else:
|
||||
raise Exception("bad hash on download")
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -77,4 +77,3 @@ while (my ($key, $substs) = each %funcs) {
|
|||
}
|
||||
print "\n";
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -80,4 +80,3 @@ def sugarise_file(path):
|
|||
for (dirpath, dirnames, filenames) in os.walk('.'):
|
||||
for name in fnmatch.filter(filenames, '*.r[sc]'):
|
||||
sugarise_file(os.path.join(dirpath, name))
|
||||
|
||||
|
|
|
|||
|
|
@ -81,4 +81,3 @@ except UnicodeDecodeError, e:
|
|||
|
||||
|
||||
sys.exit(err)
|
||||
|
||||
|
|
|
|||
|
|
@ -366,7 +366,7 @@
|
|||
...
|
||||
}
|
||||
|
||||
{
|
||||
{
|
||||
llvm-user-new-leak
|
||||
Memcheck:Leak
|
||||
fun:_Znwj
|
||||
|
|
@ -401,7 +401,7 @@
|
|||
Helgrind:Race
|
||||
fun:_ZN15lock_and_signal27lock_held_by_current_threadEv
|
||||
...
|
||||
}
|
||||
}
|
||||
|
||||
{
|
||||
lock_and_signal-probably-threadsafe-access-outside-of-lock2
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue