| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
The most of change is U+00A0 vs. new U+202F used in some outputs.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch adds missing newlines, trims multiple redundant final
newlines into a single one, and trims redundant leading newlines in all
*.phpt sections.
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
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch adds missing newlines, trims multiple redundant final
newlines into a single one, and trims 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
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
also Git can do output conversion is core.autocrlf=true is set on
Windows and use 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.
|
| |
|
|
|
|
| |
ref bug #74484
|
|
|
|
| |
with 11+ named placeholder
|
|
|
|
|
| |
Obviously, different compilers mangle the C++ class name differently.
We should neither expect a prefix nor a suffix.
|
|
|
|
|
|
|
| |
We use the retrieved type for the "type" element instead of the text.
This has been confused during the PHP 7 upgrade[1].
[1] http://git.php.net/?p=php-src.git;a=commit;h=1d793348067e5769144c0f7efd86428a4137baec
|
| |
|
|
|
|
| |
This reverts commit 5dd1ef90caec3021e6ce55c8554e695edf641eaf.
|
| |
|
|
|
|
| |
It's documented as such and already accepts null.
|
| |
|
|
|
|
| |
Rely on the ICU's defined values for the max locale id length.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Clang only allows -std=c++11 for C++ source.
|
| |
|
|
|
|
|
|
| |
Additionally, ICU >= 59.1 requires C++11, so add the flags. Some
refactoring is needed to comply with the latest recommended build
options, such as automatic icu namespace addition.
|
| |
|
|\
| |
| |
| |
| | |
* PHP-7.0:
Sync and fix tests for ICU 60.1 compat
|
| | |
|
|\ \
| |/
| |
| |
| | |
* PHP-7.0:
Add missing ICU version check
|
| | |
|
|\ \
| |/
| |
| |
| | |
* PHP-7.0:
Fix typo in comments
|
| | |
|
|\ \
| |/
| |
| |
| | |
* PHP-7.0:
With ICU 58+, set the default restriction level to high
|
| |
| |
| |
| |
| | |
Further experiments show, that CJK scripts should be ok. If there are
any issues, the moderate level can still be set later.
|
|\ \
| |/
| |
| |
| | |
* PHP-7.0:
Rework these new tests to match with diffs in ICU 58, 59 and upcoming 60
|
| | |
|
|\ \
| |/
| |
| |
| |
| | |
* PHP-7.0:
Fixed bug #73655 Spoofchecker::isSuspicious behavior change due to upstream changes
Add test for newer ICU version
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
changes
There are significant changes in the spoof checking reflecting
http://www.unicode.org/reports/tr39/tr39-15.html and relying on the
restriction levels. ICU 58+ removes WSC and MSC handling and otherwise
undergoes big changes in both code and data areas. Keep up with the
basic points for now, as we need to move forward and provide an
acceptable experience to PHP users linking to a newer ICU. The most
distros ATM don't provide ICU > 57.1, though. We'll need for sure to
keep up with the BC breach in ICU 58+ in possible further aspects.
|
| | |
|
|\ \
| |/
| |
| |
| | |
* PHP-7.0:
Further test fixes for ICU >= 58
|
| | |
|
| | |
|
| | |
|
|\ \
| |/
| |
| |
| | |
* PHP-7.0:
Fix version checks in tests
|
| | |
|
| | |
|
|\ \
| |/
| |
| |
| | |
* PHP-7.0:
Sync some tests for compat with ICU 58.1+
|
| | |
|
| | |
|
|\ \
| |/
| |
| |
| | |
* PHP-7.0:
Add skip for incompatible ICU version
|
| | |
|