Please refer to #2694 and #2670 for motivation and reasoning for
this change.
I've tried to follow best practice in inserting the copyright
headers. In other open source projects, not all files carry
the notice. For example documentation doesn't. I've followed
similar ground rules.
I did not change the php because there is a separate LICENSE
file there by Pixel Federation. We'll first need to notify
them our intent before changing anything there.
As for the presubmit check, it's going to be non-trivial
because of the number of exceptions, like file types,
directories and generated code. So, it will have to be
a separate project.
When I commit changes through Eclipse, the git precommit hook does not get run automatically. I forgot to run yesterday and therefore these errors slipped through :(
Some versions of MySQL return unescaped IPv6 addresses like "::1:456"
for things like SHOW PROCESSLIST. These fail to parse in strict mode,
since they should actually be "[::1]:456".