1e7477cdd6
Delphi refuses a second declaration when the first is not marked overload, so the three-argument init was reported as too many parameters. Also adds Androidapi.Jni to silence the non-inlined TJavaArray.Length hints. My ASCII normalisation had rewritten the sources in LF, which RAD Studio flags on every unit; a .gitattributes rule now pins CRLF for Pascal sources so git does not undo it.
41 lines
1.2 KiB
Plaintext
41 lines
1.2 KiB
Plaintext
# Delphi / RAD Studio source files require CRLF line endings — the IDE
|
|
# warns ("Line endings are LF, but RAD Studio requires CRLF") and some
|
|
# packagers refuse LF outright. Force CRLF on both checkout and check-in
|
|
# so the working tree always has the right line endings regardless of
|
|
# core.autocrlf setting on the dev machine.
|
|
*.pas text eol=crlf
|
|
*.dpr text eol=crlf
|
|
*.dpk text eol=crlf
|
|
*.dproj text eol=crlf
|
|
*.fmx text eol=crlf
|
|
*.dfm text eol=crlf
|
|
*.inc text eol=crlf
|
|
*.rc text eol=crlf
|
|
|
|
# Resource files generated from web assets — keep them binary so Git
|
|
# doesn't try to normalise the embedded bytes.
|
|
*.res binary
|
|
|
|
# Web frontend & docs — let Git normalise to native (LF on Linux/macOS,
|
|
# CRLF on Windows via autocrlf). Explicit so .pas's eol=crlf doesn't
|
|
# cascade by accident.
|
|
*.html text
|
|
*.js text
|
|
*.css text
|
|
*.json text
|
|
*.md text
|
|
|
|
# Build outputs / archives — never normalise
|
|
*.exe binary
|
|
*.dll binary
|
|
*.ico binary
|
|
*.png binary
|
|
*.rar binary
|
|
|
|
# RAD Studio exige CRLF dans les sources Pascal — sans cette regle, git les
|
|
# normalise en LF au commit et le compilateur le signale a chaque unite.
|
|
*.pas text eol=crlf
|
|
*.dpr text eol=crlf
|
|
*.dproj text eol=crlf
|
|
*.fmx text eol=crlf
|