Commit Graph

127 Commits

Author SHA1 Message Date
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
a1f38265cc Make the app SConstruct script callable from an app's directory. 2022-06-11 00:26:18 +02:00
4ad19be921 Added some of the scripts and tools from the broken seals repo. They will be changed eventually to work from the engine's directory. 2022-06-10 23:13:54 +02:00
a197623126 Also added efornara's crossbuild - build containers - I'm planning to work them into the current build container stack, likely with lots of modifications. (https://github.com/efornara/crossbuild) 2022-03-27 13:02:12 +02:00
4b2f580fda Don't check for the 32 bit binaries at the end of the build all script, and fix the name of the server executables. 2022-03-25 20:52:56 +01:00
9ae9ba0041 Disabled building the linux x86 templates with the build all script, as fedora seems to be having some issues installing libstdc++.i686 right now. 2022-03-25 19:10:20 +01:00
1682e366fb Removed the 32bit stuff from the linux container, and added a new 32bit linux container script. 2022-03-25 19:08:05 +01:00
c69473a82f fixed smaller issues with the podman build all script. 2022-03-25 18:06:04 +01:00
057d17349c Actually improved the log file names. Also fixed the server's platform. 2022-03-25 14:19:33 +01:00
54be0699f0 Added 32bit linux and windows editor builds to the build all script, along with headless and server builds. 2022-03-25 14:13:34 +01:00
ded4016814 Fix 32 bit builds on the linux container. 2022-03-25 14:06:39 +01:00
2aa3d3250c Annotated the podman build all script better, also changed the log file names, and added more variants. 2022-03-25 13:25:00 +01:00
056bd35257 Fix errors / update the osx scripts. 2022-03-25 09:41:40 +01:00
d328372f38 Updated old paths in the android jni wrapper classes. This fixes the export templates. 2022-03-24 21:39:55 +01:00
2d77f9979c Fix paths for the lipo command in the podman build all script. 2022-03-24 20:12:09 +01:00
db97ec1152 Fix generating the android templates with the podman build script. 2022-03-24 16:17:56 +01:00
e5e8271854 Call the proper gradlew task in the build all helper script. 2022-03-24 01:16:29 +01:00
8710bc131e Changed all icons. Also small cleanups. 2022-03-24 01:09:27 +01:00
a04b1f23bf Now the podman build script should work. 2022-03-23 22:23:22 +01:00
4d8d578c6f Also added the podman build script from the broken seals repo. It won't work right now, as it uses build words. 2022-03-23 22:15:35 +01:00
d6117f4232 Remvoed the msvc dockerfile from the build containers script aswell, and change img_version. 2022-03-23 22:11:19 +01:00
a34cb73a13 Also remove dthe upload script. 2022-03-23 22:10:06 +01:00
c759958687 Removed the msvc dockerfile, as I don't have the uwp platform anymore. 2022-03-23 22:09:40 +01:00
5b5e89487a Fixed the patch for the osx release tools. 2022-03-23 22:08:50 +01:00
211c1ce8fb Added the tools from broken seals directly to this repo. 2022-03-23 22:07:11 +01:00
32f148ac0c Mass replaced godot to pandemonium. 2022-03-23 20:46:05 +01:00
b877f9c8ee Make the clang format script not touch the copyright headers for now. 2022-03-18 18:58:57 +01:00
852a3a3110 Added a new script that moves header guards to the very top of header files. Doing this might improve compile speeds. 2022-03-17 20:50:29 +01:00
3049d142de Removed the build-solutions argument. 2022-03-16 02:51:11 +01:00
b4f0630c56 Removed the iphone mono libs. 2022-03-16 02:45:43 +01:00
ef48a1d12f Removed the uwp template. 2022-03-16 02:45:28 +01:00
49f8e8c398 Added godot with all my currently used engine modules. 2022-03-15 13:29:32 +01:00