virtualx-engine/platform/android
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
..
api Modernize Thread 2021-01-29 12:02:13 +01:00
export Core: Drop custom copymem/zeromem defines 2021-04-27 16:26:27 +02:00
java [Android] fix generateDevTemplate 2021-04-28 21:59:42 +03:00
plugin Expose GodotPlugin's utility methods used for registration and signal emitting. 2021-02-15 15:55:59 -08:00
vulkan Validation layers on Android 2021-04-12 10:09:06 -07:00
android_keys_utils.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
android_keys_utils.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
audio_driver_jandroid.cpp Reorganize Project Settings 2021-02-18 11:23:34 -03:00
audio_driver_jandroid.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
audio_driver_opensl.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
audio_driver_opensl.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
dir_access_jandroid.cpp Make all file access 64-bit (uint64_t) 2021-05-17 15:06:19 +02:00
dir_access_jandroid.h Make all file access 64-bit (uint64_t) 2021-05-17 15:06:19 +02:00
display_server_android.cpp OS: Remove native video API only implemented on iOS 2021-05-07 20:40:24 +02:00
display_server_android.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
file_access_android.cpp Make all file access 64-bit (uint64_t) 2021-05-17 15:06:19 +02:00
file_access_android.h Make all file access 64-bit (uint64_t) 2021-05-17 15:06:19 +02:00
java_class_wrapper.cpp Fixes on android: 2021-03-18 10:41:54 +11:00
java_godot_io_wrapper.cpp Fixes on android: 2021-03-18 10:41:54 +11:00
java_godot_io_wrapper.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
java_godot_lib_jni.cpp Leverage java annotations to simplify the logic used to register the Godot plugin methods. 2021-03-16 01:16:08 -07:00
java_godot_lib_jni.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
java_godot_view_wrapper.cpp Fixes on android: 2021-03-18 10:41:54 +11:00
java_godot_view_wrapper.h Fixes on android: 2021-03-18 10:41:54 +11:00
java_godot_wrapper.cpp Fixes on android: 2021-03-18 10:41:54 +11:00
java_godot_wrapper.h Leverage java annotations to simplify the logic used to register the Godot plugin methods. 2021-03-16 01:16:08 -07:00
jni_utils.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
jni_utils.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
logo.png platform: Update metadata for export platforms 2020-08-01 23:43:14 -07:00
net_socket_android.cpp Rename IP_Unix, IP_Address and TCP_Server to remove underscores 2021-05-06 02:52:01 +02:00
net_socket_android.h Rename IP_Unix, IP_Address and TCP_Server to remove underscores 2021-05-06 02:52:01 +02:00
os_android.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
os_android.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
platform_config.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
run_icon.png Optimize images losslessly using oxipng -o6 --strip all --zopfli 2018-06-28 19:17:41 +02:00
SCsub SCons: Add explicit dependencies on thirdparty code in cloned env 2020-12-18 10:29:34 +01:00
string_android.h Modernize Thread 2021-01-29 12:02:13 +01:00
thread_jandroid.cpp Fixes on android: 2021-03-18 10:41:54 +11:00
thread_jandroid.h Modernize Thread 2021-01-29 12:02:13 +01:00