glib/tests/gobject
Simon McVittie 44c004c84e Normalize C source files to end with exactly one newline
Some editors automatically remove trailing blank lines, or
automatically add a trailing newline to avoid having a trailing
non-blank line that is not terminated by a newline. To avoid unrelated
whitespace changes when users of such editors contribute to GLib,
let's pre-emptively normalize all files.

Unlike more intrusive whitespace normalization like removing trailing
whitespace from each line, this seems unlikely to cause significant
issues with cherry-picking changes to stable branches.

Implemented by:

    find . -name '*.[ch]' -print0 | \
    xargs -0 perl -0777 -p -i -e 's/\n+\z//g; s/\z/\n/g'

Signed-off-by: Simon McVittie <smcv@collabora.com>
2020-06-10 09:48:02 +01:00
..
.gitignore .gitignore: add "signals" 2013-09-28 10:39:01 -04:00
accumulator.c tests/: LGPLv2+ -> LGPLv2.1+ 2017-05-29 19:53:35 +02:00
defaultiface.c tests/: LGPLv2+ -> LGPLv2.1+ 2017-05-29 19:53:35 +02:00
deftype.c tests/: LGPLv2+ -> LGPLv2.1+ 2017-05-29 19:53:35 +02:00
dynamictype.c tests/: LGPLv2+ -> LGPLv2.1+ 2017-05-29 19:53:35 +02:00
gvalue-test.c tests/: LGPLv2+ -> LGPLv2.1+ 2017-05-29 19:53:35 +02:00
meson.build tests: Remove redundant --tap options 2019-05-14 12:42:51 +01:00
override.c tests/: LGPLv2+ -> LGPLv2.1+ 2017-05-29 19:53:35 +02:00
paramspec-test.c gobject: Reimplement g_param_values_cmp() for GParamSpecVariant 2018-05-04 18:17:59 +01:00
performance-threaded.c tests/: LGPLv2+ -> LGPLv2.1+ 2017-05-29 19:53:35 +02:00
performance.c Initialize variables before using them 2018-03-28 11:49:59 +01:00
references.c tests/: LGPLv2+ -> LGPLv2.1+ 2017-05-29 19:53:35 +02:00
signals.c tests/: LGPLv2+ -> LGPLv2.1+ 2017-05-29 19:53:35 +02:00
singleton.c gobject: fix typecasts via g_object_ref 2017-12-04 11:42:58 +00:00
testcommon.h tests/: LGPLv2+ -> LGPLv2.1+ 2017-05-29 19:53:35 +02:00
testgobject.c Run the accumulator function for RUN_CLEANUP object handlers too 2019-08-25 19:31:48 +02:00
testmarshal.list Add g_value_take_variant 2010-06-19 19:07:36 +02:00
testmodule.c Normalize C source files to end with exactly one newline 2020-06-10 09:48:02 +01:00
testmodule.h tests/: LGPLv2+ -> LGPLv2.1+ 2017-05-29 19:53:35 +02:00
timeloop-closure.c Consistently save errno immediately after the operation setting it 2017-08-03 10:21:13 +01:00