godot/core/os
Rémi Verschelde b0b759e6da
SCons: Cleanup `DEBUG`, `_DEBUG` and `NDEBUG` defines
- `_DEBUG` is MSVC specific so it didn't make much sense to define for
  Android and iOS builds.
- iOS was the only platform to define `DEBUG`. We don't use it anywhere
  outside thirdparty code, which we usually don't intend to debug, so it
  seems better to be consistent with other platforms.
- Consistently define `NDEBUG` to disable assert behavior in both `release`
  and `release_debug` targets. This used to be set for `release` for all
  platforms, and `release_debug` for Android and iOS only.
- Due to the above, I removed the only use we made of `assert()` in Godot
  code, which was only implemented for Unix anyway, should have been
  `DEV_ENABLED`, and is in PoolAllocator which we don't actually use.
- The denoise and recast modules keep defining `NDEBUG` even for the `debug`
  target as we don't want OIDN and Embree asserting all over the place.

(cherry picked from commit 26e9145c26)
2022-12-12 14:49:21 +01:00
..
SCsub SCons: Format buildsystem files with psf/black 2020-06-10 15:30:52 +02:00
dir_access.cpp Fix exporting big templates 2022-11-30 15:34:26 +01:00
dir_access.h Additional fixes to the Android `get_current_dir()` implementation. 2022-08-30 10:08:30 -07:00
file_access.cpp Add FileAccess::get_access_type() 2022-08-29 15:44:29 +02:00
file_access.h Add FileAccess::get_access_type() 2022-08-29 15:44:29 +02:00
input.cpp Fix action name completion for `Input.get_{axis,vector}` 2022-08-15 23:44:11 +08:00
input.h Merge pull request #63643 from aaronfranke/3.x-mouse-mode-ch 2022-08-08 14:36:45 +02:00
input_event.cpp Fix `InputEventAction`'s `is_action` method ignoring `exact_match` parameter 2022-12-12 14:44:20 +08:00
input_event.h Add `double_tap` attribute to `InputEventScreenTouch` 2022-10-20 11:56:11 -07:00
keyboard.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
keyboard.h Code quality: Fix header guards consistency 2022-07-25 14:53:37 +02:00
main_loop.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
main_loop.h Code quality: Fix header guards consistency 2022-07-25 14:53:37 +02:00
memory.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
memory.h [Core] Use std type traits to check operations triviality. 2022-08-04 15:20:28 +02:00
midi_driver.cpp Fix MIDI note-on events being converted to note-off events 2022-11-30 15:36:03 +01:00
midi_driver.h Code quality: Fix header guards consistency 2022-07-25 14:53:37 +02:00
mutex.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
mutex.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
os.cpp SCons: Cleanup `DEBUG`, `_DEBUG` and `NDEBUG` defines 2022-12-12 14:49:21 +01:00
os.h SCons: Cleanup `DEBUG`, `_DEBUG` and `NDEBUG` defines 2022-12-12 14:49:21 +01:00
rw_lock.h Code quality: Fix header guards consistency 2022-07-25 14:53:37 +02:00
semaphore.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
spin_lock.h Code quality: Fix header guards consistency 2022-07-25 14:53:37 +02:00
thread.cpp Include platform_config.h in thread.cpp and thread.h 2022-03-17 13:03:52 +01:00
thread.h Include platform_config.h in thread.cpp and thread.h 2022-03-17 13:03:52 +01:00
thread_safe.h Code quality: Fix header guards consistency 2022-07-25 14:53:37 +02:00
thread_work_pool.cpp Use ThreadWorkPool instead of thread_process_array in NavMap 2022-04-26 09:18:46 -04:00
thread_work_pool.h Code quality: Fix header guards consistency 2022-07-25 14:53:37 +02:00
threaded_array_processor.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
time.cpp Fix Time.get_unix_time_from_system() not including msecs 2022-08-08 20:31:51 +08:00
time.h Fix inconsistent naming in Time 2022-05-16 15:58:36 +02:00