This patch adds some missing newlines, trims some multiple redundant
final newlines into a single one, and trims few redundant leading
newlines.
According to POSIX, a line is a sequence of zero or more non-'<newline>'
characters plus a terminating '<newline>' character. [1] Files should
normally have at least one final newline character.
C89 [2] and later standards [3] mention a final newline:
"A source file that is not empty shall end in a new-line character,
which shall not be immediately preceded by a backslash character."
Although it is not mandatory for all files to have a final newline
fixed, a more consistent and homogeneous approach brings less of commit
differences issues and a better development experience in certain text
editors and IDEs.
[1] http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html#tag_03_206
[2] https://port70.net/~nsz/c/c89/c89-draft.html#2.1.1.2
[3] https://port70.net/~nsz/c/c99/n1256.html#5.1.1.2
The $Id$ keywords were used in Subversion where they can be substituted
with filename, last revision number change, last changed date, and last
user who changed it.
In Git this functionality is different and can be done with Git attribute
ident. These need to be defined manually for each file in the
.gitattributes file and are afterwards replaced with 40-character
hexadecimal blob object name which is based only on the particular file
contents.
This patch simplifies handling of $Id$ keywords by removing them since
they are not used anymore.
Squashed commit of the following:
commit 6e788887da9dc91c6deb0e7fc81526592c0f60a5
Author: Adam Harvey <aharvey@php.net>
Date: Wed Nov 20 11:47:11 2013 -0800
Move the prevnext-container into the breadcrumbs.
commit d58a00dfbf61e7ff57cd350a64c57ab066141d81
Author: Adam Harvey <aharvey@php.net>
Date: Wed Nov 20 11:40:09 2013 -0800
OK, this is minimally functional.
commit 5b4c2e30a27d658d9b5bce4278823277554a2835
Author: Adam Harvey <aharvey@php.net>
Date: Wed Nov 20 11:38:40 2013 -0800
Various fixups.
commit 8bb763d18ac8c0d47094b1681e5acab8b6365b66
Author: Adam Harvey <aharvey@php.net>
Date: Wed Nov 20 11:26:25 2013 -0800
Revert "Kill the next/prev page from the top & move lang chooser"
This reverts commit f613c04078.
Conflicts:
include/header.inc
include/shared-manual.inc
styles/theme.css
The next/prev page takes way to much space there and isn't very
important feature to have such promonently in-your-face, creating
imbalance at the top.
Moved the language chooser to just above the version info
Part of this also improves the markup we're generating on both the stable and
beta sites by removing the inline styles that have crept into
shared-manual.inc.
Squashed commit of the following:
commit 8aaaea73f8a1128c45bbd081b0a61fb58aaff10e
Author: Adam Harvey <aharvey@php.net>
Date: Thu Dec 27 18:21:51 2012 +0800
Remove inline styles from the user note voting elements.
commit 4239bdcfa8506d5e37d678032570aa6b81fe54be
Author: Adam Harvey <aharvey@php.net>
Date: Thu Dec 27 18:21:25 2012 +0800
Fix clearing behaviour when the user note heading wraps.
commit fc08e0abad0d1b500d0d1561bf5966febd3c4426
Author: Adam Harvey <aharvey@php.net>
Date: Thu Dec 27 18:15:05 2012 +0800
Replace the user note vote styling on the beta site with something more inline
with the beta site style.
commit ade84bf601be20c74493d54d089edf8578ba1185
Author: Adam Harvey <aharvey@php.net>
Date: Thu Dec 27 18:14:46 2012 +0800
Improve note vote support on the beta site.
commit 0e1a71f8a4945408000428fa88f1d5aa12aeeca4
Author: Adam Harvey <aharvey@php.net>
Date: Thu Dec 27 18:12:31 2012 +0800
Add genanchors to user notes.
commit 03393d70a6f3ac8530432ba5d7c228528ad6230d
Author: Adam Harvey <aharvey@php.net>
Date: Thu Dec 27 17:49:41 2012 +0800
Make the note styling more in line with other block elements by moving the
header row outside the shaded note body.
commit dc2a83990c33fd3cf7df209201536458ff01de59
Author: Adam Harvey <aharvey@php.net>
Date: Thu Dec 27 17:45:10 2012 +0800
Rationalise beta site user note styles.
commit da2b492c186d6b8946170e1702f052ef93696028
Author: Adam Harvey <aharvey@php.net>
Date: Thu Dec 27 17:31:53 2012 +0800
Apply styling to user note dates in site.css, not inline.