8c52db69 | 17-Oct-2018 |
Peter Kokot |
Sync leading and final newlines This patch adds missing newlines, trims multiple redundant final newlines into a single one and trims leading newlines at the beginning of the files.
Sync leading and final newlines This patch adds missing newlines, trims multiple redundant final newlines into a single one and trims leading newlines at the beginning of the files. 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
show more ...
|
180dccfe | 17-Oct-2018 |
Peter Kokot |
Trim trailing whitespace |
a47cb31d | 17-Oct-2018 |
Peter Kokot |
Convert CRLF line endings to LF This patch simplifies line endings tracked in the Git repository and syncs them to all include the LF style instead of the CRLF files. Newline ch
Convert CRLF line endings to LF This patch simplifies line endings tracked in the Git repository and syncs them to all include the LF style instead of the CRLF files. Newline characters: - LF (\n) (*nix and Mac) - CRLF (\r\n) (Windows) - CR (\r) (old Mac, obsolete) To see which line endings are in the index and in the working copy the following command can be used: `git ls-files --eol` Git additionally provides `.gitattributes` file to specify if some files need to have specific line endings on all platforms (either CRLF or LF). Changed files shouldn't cause issues on modern Windows platforms because Git can do output conversion if core.autocrlf=true is set on Windows and then uses CRLF newlines in all files in the working tree. Unless CRLF files are tracked specifically, Git by default tracks all files in the index using LF newlines.
show more ...
|
1022f79f | 05-Aug-2018 |
Gabriel Caruso |
Simplify link for people.php.net user |
88fca9dc | 17-Sep-2018 |
zrhoffman |
If the login redirect is to logout.php, redirect to index.php instead |
904b512d | 17-Sep-2018 |
zrhoffman |
search_for: We need to validate string ints with a regex, not a typecast |
039c829b | 27-Aug-2018 |
Kalle Sommer Nielsen |
Map the MDB2_FETCHMODE_* constants to their PDO counterparts, this should once again honor assoc/num specific queries |
a7280196 | 30-Jun-2018 |
Peter Kokot |
Remove unused Git ident attribute $Id$ keywords were used in Subversion where they can be substituted with filename, last revision number change, last changed date, and last user who cha
Remove unused Git ident attribute $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 ident attributes. These need to be defined manually for each file in the .gitattributes file and are afterwards replaced with blob object name which is based only on particular file contents. This patch simplifes handling of $Id$ keywords by removing them since they are not used anymore.
show more ...
|
a5b8d7d0 | 06-Aug-2018 |
Peter Kokot |
Remove unused CSS items |
5d868325 | 09-Aug-2018 |
Johannes Schlüter |
Attemt to fix pre-selected value |
8fde831a | 08-Aug-2018 |
zrhoffman |
Turn categories into <optgroup>s and include the category as a package within that category. We still show disabled packages in a different background color (b93c85b003). |
5b2a3b2d | 08-Aug-2018 |
zrhoffman |
$pseudo_pkgs now has an array of children as a third element. If parent = '0' in the database, $pseudo_pkgs[2] is an array. If it is nonzero (refers to a valid id of another row), $pseud
$pseudo_pkgs now has an array of children as a third element. If parent = '0' in the database, $pseudo_pkgs[2] is an array. If it is nonzero (refers to a valid id of another row), $pseudo_pkgs[2] is a child and is null. We no longer need to distinguish between parents and children. Nowhere do we count the length of $pseudo_pkgs, so the extra element should not break anything.
show more ...
|
400e87a4 | 08-Aug-2018 |
Rasmus Lerdorf |
Fix typo |
48e58507 | 07-Aug-2018 |
Sara Golemon |
Clean up some minor whitespace and html issues. |
4174e1ca | 07-Aug-2018 |
Sara Golemon |
Collapse an } else { if (...) to an } elseif (...) |
b820819a | 07-Aug-2018 |
Sara Golemon |
Merge password prompt explainations |
767a4aa7 | 07-Aug-2018 |
Sara Golemon |
Remove always-false if block. if (!$show_bug_info) can't possibly be true since we're inside of a block contingent on if ($show_bug_info) |
4d4f996b | 12-Oct-2017 |
Yanni |
remove unused parameter and local variable |
4d15a9ad | 30-May-2018 |
Peter Kokot |
Fix CSS comment |
00beebae | 29-Jun-2018 |
Peter Kokot |
Fix Mozilla's Bug writing guidelines link Link has moved to MDN. |
d5644bc6 | 29-Jun-2018 |
Peter Kokot |
Fix typos in how to report info |
e9b937bb | 24-Jul-2018 |
Christoph M. Becker |
Fix rss/bug.php?format=xml Although, `MDB2_FETCHMODE_ASSOC` is supposed to return an associative array (mapping column names to their values)[1], for some reason it actually seems to
Fix rss/bug.php?format=xml Although, `MDB2_FETCHMODE_ASSOC` is supposed to return an associative array (mapping column names to their values)[1], for some reason it actually seems to behave like some non-existing `MDB2_FETCHMODE_BOTH`. This breaks the generated XML by additionally creating invalid element names. Since we are not sure whether other callers of bugs_get_bug() and bugs_get_bug_comments() rely on this behavior, we're working around the issue by skipping the integer keys. [1] <http://pear.php.net/manual/en/package.database.mdb2.intro-fetch.php#package.database.mdb2.intro-fetch.desc.format>
show more ...
|
e11c6cc3 | 22-Jul-2018 |
Rasmus Lerdorf |
Merge PR #39 |
6cd9d03b | 22-Jul-2018 |
Rasmus Lerdorf |
associative index needed here |
64b2cba4 | 22-Jul-2018 |
Rasmus Lerdorf |
Get rid of the PHP4-style constructor here |