godot/platform/linuxbsd
Pedro J. Estébanez 469fa47e06
Make all file access 64-bit (uint64_t)
This changes the types of a big number of variables.

General rules:
- Using `uint64_t` in general. We also considered `int64_t` but eventually
  settled on keeping it unsigned, which is also closer to what one would expect
  with `size_t`/`off_t`.
- We only keep `int64_t` for `seek_end` (takes a negative offset from the end)
  and for the `Variant` bindings, since `Variant::INT` is `int64_t`. This means
  we only need to guard against passing negative values in `core_bind.cpp`.
- Using `uint32_t` integers for concepts not needing such a huge range, like
  pages, blocks, etc.

In addition:
- Improve usage of integer types in some related places; namely, `DirAccess`,
  core binds.

Note:
- On Windows, `_ftelli64` reports invalid values when using 32-bit MinGW with
  version < 8.0. This was an upstream bug fixed in 8.0. It breaks support for
  big files on 32-bit Windows builds made with that toolchain. We might add a
  workaround.

Fixes #44363.
Fixes godotengine/godot-proposals#400.

Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2021-05-17 15:06:19 +02:00
..
export Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
context_gl_x11.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
context_gl_x11.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
crash_handler_linuxbsd.cpp Split OS::execute into two methods 2021-01-09 10:03:23 +00:00
crash_handler_linuxbsd.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
detect_prime_x11.cpp Add 'AMD' GPU vendor name to PRIME detector 2021-02-20 16:49:06 +01:00
detect_prime_x11.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
detect.py Make all file access 64-bit (uint64_t) 2021-05-17 15:06:19 +02:00
display_server_x11.cpp Remove debugging prints in the Linux DisplayServer 2021-05-08 19:07:50 +02:00
display_server_x11.h Modernize atomics 2021-02-18 17:12:46 +01:00
godot_linuxbsd.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
joypad_linux.cpp Style: Apply clang-tidy's readability-braces-around-statements 2021-04-05 14:09:59 +02:00
joypad_linux.h Rename some more global enums (Key, Joy, MIDI) 2021-03-23 07:13:23 -04:00
key_mapping_x11.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
key_mapping_x11.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
libudev-so_wrap.c An update to the dylibloader for older inttypes 2021-02-20 01:24:30 +01:00
libudev-so_wrap.h An update to the dylibloader for older inttypes 2021-02-20 01:24:30 +01:00
logo.png
os_linuxbsd.cpp Unify URI encoding/decoding and add to C# 2021-01-28 07:45:01 -05:00
os_linuxbsd.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
pck_embed.ld
pck_embed.legacy.ld
platform_config.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
platform_linuxbsd_builders.py
SCsub Dynamically load libudev.so.1 on Linux if udev=yes 2021-02-17 13:14:59 +01:00
vulkan_context_x11.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
vulkan_context_x11.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00