Commit Graph

12 Commits

Author SHA1 Message Date
1418f97c70 File: Re-add support to skip CR (\r) in File::get_as_text
This was removed in #63481, and we confirmed that it's better like this,
but we add back the possibility to strip CR as an option, to optionally
restore the previous behavior.

For performance this is done directly in `String::parse_utf8`.

Also fixes Android `FileAccess::get_line()` as this one _should_ strip CR.

Supersedes #63717.
2022-08-01 00:40:35 +02:00
95b1275197 Upgrade Android Gradle to version 7.2 2021-10-14 16:19:00 +01:00
0325e9e03b Mark *.tza files as binary in .gitattributes for old Git versions
This prevents `thirdparty/oidn/weights/rtlightmap_hdr.tza` from always being
considered as modified when using an old Git version (such as the one on
Ubuntu 16.04).
2020-05-12 09:49:19 +02:00
900d90bb61 Git: Explicitly list binary files as such to avoid EOL change
text=auto works well in Git 2.10+ but it's broken in previous versions,
which are still used in production on e.g. Ubuntu 16.04 LTS.

Also fix a couple missed text files with CRLF terminators.
.bat files likely require it to be processed properly on Windows,
but core.autocrlf should take care of converting them on the fly
when checking out on Windows.
2019-05-25 10:43:48 +02:00
0acdeb2e12 Update .gitattributes to encompass all text files 2019-05-22 09:10:47 +02:00
af1e945435 Initial version of VS natvis file 2018-09-17 03:57:25 -04:00
26a0cecdc7 Add .xml to .gitattributes 2017-10-13 21:29:26 +11:00
5c2ddb299b Formatting of mm files 2017-04-09 21:22:40 +10:00
a28bf56ef9 GH linguist: properly detect .inc files as C++
Also drop two unnecessary speex buildsystem files.
2016-07-03 15:17:25 +02:00
73918100be GH Linguist: Ignore drivers/* 2016-05-30 18:41:32 +02:00
18484eb6c7 properly detect .h as a C++ header file 2016-05-30 18:30:36 +02:00
3e6aaec193 Add SpriteRegionEditor and update Polygon2DUVEditor
Both with snap and grid support
2015-09-28 00:06:06 -03:00