godot/tests
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
..
data Add a test suite for the Image class 2021-02-06 01:09:02 +02:00
SCsub Increase number of sections in object files for tests with MSVC 2020-12-30 15:48:23 +02:00
test_aabb.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
test_array.h Add a test suite for Array 2021-02-19 17:40:57 +01:00
test_astar.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
test_basis.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
test_class_db.h Add ClassDB tests to look for core API deps on editor API 2021-01-09 00:18:03 +01:00
test_color.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
test_command_queue.h Fix includes in test_command_queue.h 2021-04-10 20:09:15 +02:00
test_config_file.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
test_crypto.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
test_curve.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
test_dictionary.h Add a test suite for Dictionary 2021-03-31 01:14:18 +02:00
test_expression.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
test_file_access.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
test_geometry_2d.h Rename Array.invert() to Array.reverse() 2021-03-21 10:20:08 +00:00
test_geometry_3d.h Added test file and test cases 2021-02-27 13:16:04 +00:00
test_gradient.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
test_gui.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
test_gui.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
test_hashing_context.h Add unit tests for HashingContext 2021-03-07 20:33:08 +01:00
test_image.h Add a test suite for the Image class 2021-02-06 01:09:02 +02:00
test_json.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
test_list.h Rename Array.invert() to Array.reverse() 2021-03-21 10:20:08 +00:00
test_local_vector.h Add function `LocalVector::remove_unordered` 2021-01-11 13:47:31 +01:00
test_lru.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
test_macros.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
test_macros.h Use comma over `<<` operator for all unit test logging 2021-01-08 14:15:43 +02:00
test_main.cpp Add a test suite for Translation 2021-05-17 02:02:17 +02:00
test_main.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
test_marshalls.h Unit tests for encoding/decoding Variant 2021-01-24 17:15:07 +03:00
test_math.cpp Make all file access 64-bit (uint64_t) 2021-05-17 15:06:19 +02:00
test_math.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
test_method_bind.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
test_node_path.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
test_oa_hash_map.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
test_oa_hash_map.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
test_object.h Merge pull request #45411 from a-ivanov/more-object-tests 2021-01-29 00:58:54 +01:00
test_ordered_hash_map.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
test_paged_array.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
test_path_3d.h add tests for path3d 2021-03-29 10:13:53 +02:00
test_path_follow_2d.h fix initializations of node Path2D unit tests 2021-02-27 20:59:11 +05:30
test_path_follow_3d.h add PathFollow3D unit test 2021-02-23 20:12:25 +05:30
test_pck_packer.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
test_physics_2d.cpp Unexpose _direct_state_changed in PhysicsBody 2021-04-22 23:20:58 -05:00
test_physics_2d.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
test_physics_3d.cpp Unexpose _direct_state_changed in PhysicsBody 2021-04-22 23:20:58 -05:00
test_physics_3d.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
test_random_number_generator.h Use comma over `<<` operator for all unit test logging 2021-01-08 14:15:43 +02:00
test_rect2.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
test_render.cpp Use Vector3.UP as a default value for look_at's up vector 2021-02-16 18:33:23 -05:00
test_render.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
test_resource.h Add a test suite for Resource 2021-02-20 19:47:20 +01:00
test_shader_lang.cpp Refactor GLSL shader compilation 2021-04-14 11:37:52 -03:00
test_shader_lang.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
test_string.h Rename `IP_Unix`, `IP_Address` and `TCP_Server` to remove underscores 2021-05-06 02:52:01 +02:00
test_text_server.h Merge pull request #44398 from RevoluPowered/unit-tests-for-export-templates 2021-03-23 00:42:29 +01:00
test_translation.h Tests: Don't assume translation map ordering 2021-05-17 12:40:15 +02:00
test_utils.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
test_utils.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
test_validate_testing.h Use comma over `<<` operator for all unit test logging 2021-01-08 14:15:43 +02:00
test_variant.h Add Unit Tests for Variant Assignment 2021-02-11 17:27:24 +05:30
test_xml_parser.h Add support for numeric XML entities to XMLParser 2021-02-14 11:00:25 -06:00