Commit Graph

81 Commits

Author SHA1 Message Date
ca982ac507 Ported: Add benchmark logic
Add benchmarking measuring methods to `OS` to allow for platform specific overrides (e.g: can be used to hook into platform specific benchmarking and tracing capabilities).
- m4gr3d
Also contains some mouse pointer improvements.
2023-05-01 15:32:01 +02:00
88d12ace16 Added a new dummy navigation server module. 2023-04-16 18:57:43 +02:00
fbfbbd3e00 Added alternate slim args when building the editor with the setup script. Also updated the list and style of the example. 2023-04-16 17:19:55 +02:00
a54844becf Now the desired android arches can be easily specified for the android build when using to the app build script. 2022-12-31 15:51:35 +01:00
213f393293 Fix typos with codespell. 2022-12-22 19:51:25 +01:00
91e598aa7b Ported: 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.
- akien-mga
b0b759e6da
2022-12-22 17:42:54 +01:00
Riteo Siuga
699d2caa1d Add an exception for thirdparty subdirectories in file_format.sh
This exception is also present in clang_format.sh and is needed in some
cases.

(cherry picked from commit 10eaf0c52bcec565df46a90ceeebe59d52c8cbff)
2022-12-11 19:03:47 +01:00
Zach Coleman
6fd82aca20 Add ProMotion Support to iOS Exports 2022-11-13 00:51:09 +01:00
d8b644c81b Now the make release engine script will also zip the sources. 2022-10-15 15:10:55 +02:00
6e0d6585e1 Added a new make_release script for the engine. 2022-10-14 18:55:53 +02:00
e89a1d909c Pre release file check script for the engine. 2022-10-14 17:40:19 +02:00
4473c70a37 Added a strip script. 2022-10-12 14:41:48 +02:00
c1d5bcff74 Add -f to the mv commands of the linux container build script. 2022-10-12 14:37:49 +02:00
67e61d2823 Also check whether the armhf builds have finished at the end of the build all script. 2022-10-12 13:36:55 +02:00
0667ff9280 Rename linux armhf executables at the end of the build all linux script. 2022-10-12 13:36:15 +02:00
c41d56ee5a Fix the build commands for armhf x11. 2022-10-12 13:31:07 +02:00
138ca10b6d Fix osx build commands in the build all script. 2022-10-12 07:50:32 +02:00
d6f135daf5 Fixed the javascript build container. Also downgraded emscripten for now to avoid warning spam because of a deprecation on their end. 2022-10-12 07:37:24 +02:00
7361e3b029 Now the podman build all script has the ability to easily set the build name. 2022-10-11 22:36:09 +02:00
a0e9615d93 Don't remove the module config file in the build all script anymore. 2022-10-11 22:15:29 +02:00
c243dbe6e5 Fixed the osx docker container. 2022-10-11 21:57:15 +02:00
4b1c400afd Fixed typo. 2022-10-11 18:09:07 +02:00
3bf7bd0df0 Moved podman linux build commands to a new script. 2022-10-11 17:17:20 +02:00
98817907fa Initial update / small cleanup pass on the build all script. 2022-10-11 17:04:36 +02:00
6b78806f60 Pass all arguments into the build commands in the podman builkd all file instead of the hardcoded -j4. 2022-10-11 16:40:27 +02:00
6801642fce Updated the build consatiners based on changes from godot's. 2022-10-11 16:29:00 +02:00
59e980923d Remove 32 bit linux dockerfle. 2022-10-11 16:00:09 +02:00
Rémi Verschelde
43de2b9ecc Style: Ensure consistent formatting with clang-format 15 2022-10-08 16:48:59 +02:00
0bb6a05a4e Removed now unneeded classes. 2022-09-17 16:35:58 +02:00
379a669f65 Updated the example build config file. 2022-09-17 14:34:50 +02:00
Pedro J. Estébanez
ba9d7d66fd Add ability to extend the set of Git pre-commit hooks
(cherry picked from commit 8e2d0e1bb16409ad2e32e6e59432ffafb03c14ee)
2022-09-16 22:47:07 +02:00
Pedro J. Estébanez
866f38a8ae Make Git hooks work on worktrees on Windows
(cherry picked from commit 4bf03afe8b70062cfca3336527294171e538ce25)
2022-09-16 22:46:13 +02:00
91bba51de6 Now the project setup script's module folders are customizable. 2022-08-27 14:36:44 +02:00
5489ace788 Add quotes when passing the custom module folders parameter. 2022-08-22 15:17:03 +02:00
1fa33fadfa Now the app project helper build script supports custom module folders. 2022-08-22 14:58:50 +02:00
d485aa11ff Fix emscripten version for the podman build all script. 2022-08-02 14:20:22 +02:00
9a85a52e0d Updated the build containers based on: 18b7ecfcd9 2022-08-01 22:17:12 +02:00
ff08a26689 Ported: Stop CI when Godot crash - qarmin
096cea6142
2022-07-29 09:09:49 +02:00
92e1759b39 Ported: Fix the logic to restart the Godot application - m4gr3d
b162e7ac39
2022-07-28 10:06:47 +02:00
Rémi Verschelde
e439495ea4 Relax version warning in clang-format precommit hook
Closes #60778.

(cherry picked from commit 9e66a947e4ac67c12c24b94db155f4ffadc371d4)
2022-07-27 14:26:31 +02:00
8198a3eafe Ported:
Set StartupWMClass in linux .desktop file. this allows linux app launchers and docks to correctly associate the godot project selector & editor windows with the icon used to launch godot.
it prevents this problem specifically: https://askubuntu.com/questions/1144214/why-does-my-custom-launcher-file-create-two-icons-on-the-launcher-bar . - backwardspy
0118a95976
2022-07-25 18:58:45 +02:00
356f2fa476 Fix the path for the pi build script. 2022-06-23 00:46:56 +02:00
372ab870fb Move and fix the pre release file checker script. 2022-06-23 00:41:27 +02:00
49ff8bf32c Fix script path. 2022-06-23 00:37:19 +02:00
13c534a1fa Same change to the export_all script. 2022-06-23 00:31:15 +02:00
51cb11e685 The make_release script is now expected to be called from a project. 2022-06-23 00:27:40 +02:00
bea8a137d2 Small fix to the build all script. 2022-06-22 16:56:13 +02:00
f659bfe561 Also handle older engine version with the app script. 2022-06-11 02:29:16 +02:00
e7e8da3c6a Added the new app scons script. 2022-06-11 00:54:13 +02:00
23212338cc Added the new app side script. 2022-06-11 00:39:09 +02:00