# 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
