69 Commits

Author SHA1 Message Date
Arctis-Fireblight
759b2e5cc5 Merge remote-tracking branch 'godot/master' into Godot-Sync-2dd26a0 2025-09-09 04:42:00 -05:00
Volker Schlecht
54eb2799da Fix build on OpenBSD
Like FreeBSD, OpenBSD cannot build the camera module because it uses interfaces only provided by Linux
2025-08-30 15:02:01 +02:00
Spartan322
7aeecacb93 Merge commit godotengine/godot@0c51ede243 2025-08-16 23:07:50 -04:00
Spartan322
4f08ff1a11 Merge commit godotengine/godot@a3b42d85d2 2025-08-13 19:56:49 -04:00
KOGA Mitsuhiro
49e3eba008 Consolidate frame_changed signal into CameraFeed 2025-08-09 04:12:27 +09:00
KOGA Mitsuhiro
2560ddbce0 Add CameraServer camera_feeds_updated signal, and document async behavior 2025-08-08 03:53:41 +09:00
Spartan322
cd86012a9d Merge commit godotengine/godot@71a9948157 2025-07-19 14:15:00 -04:00
KOGA Mitsuhiro
ef833a9488 Fix camera removal detection after toggling monitoring on Linux 2025-07-14 02:28:54 +09:00
Spartan322
63f2d58fcf Merge commit godotengine/godot@428a762e98 2025-05-14 14:16:55 -04:00
Thaddeus Crews
4cd27d7fd4 Merge pull request #106094 from shiena/feature/support-android-camera
Add CameraFeed support for Android
2025-05-13 16:22:27 -05:00
Thaddeus Crews
5db0aab505 Merge pull request #104857 from shiena/feature/discovery-continuity-camera
macOS: Allow users to select Continuity Camera
2025-05-13 16:22:12 -05:00
Leo de Penning
296ca79b9d Add CameraFeed support for Android
Co-authored-by: KOGA Mitsuhiro <shiena.jp@gmail.com>
2025-05-13 22:46:06 +09:00
Spartan322
e2c671a4c3 Merge commit godotengine/godot@d00f25ecd9 2025-04-25 16:31:50 -04:00
erodozer
5dc4ac2bb2 linux: respect order of device list when enumerating camera feeds 2025-04-24 17:00:15 -04:00
Spartan322
2b59059dde Merge commit godotengine/godot@2d3bdcac35 2025-04-19 16:05:28 -04:00
KOGA Mitsuhiro
e37d785a0a feat: Allow users to select Continuity Camera
Added Continuity Camera to the device discovery session to provide
users with more camera options. Users on macOS 13+ can now select
their Continuity Camera device within the application.
2025-04-01 20:15:20 +09:00
Lukas Tenbrink
fa0a3c9c6e Add and require GDSOFTCLASS for Object subclasses that want to cast but do not use GDCLASS. 2025-03-31 20:49:50 +02:00
Lukas Tenbrink
54685c3037 Deactivate the CameraServer by default.
Add `monitoring_feeds` property to `CameraServer`.
This saves resources for games that don't use a physical camera.
2025-03-21 07:58:57 +01:00
Thaddeus Crews
713a1ba554 Style: Standardize Obj-C #import syntax 2025-03-08 09:28:34 -06:00
Thaddeus Crews
324512e11c Style: Replace header guards with #pragma once 2025-03-07 17:33:47 -06:00
Lukas Tenbrink
512abc38b2 Remove implicit conversions from String, Char16String and CharString to data pointers. Make conversions to StrRange implicit to aid transition. 2025-01-17 17:31:58 +01:00
Spartan322
fa0b4af786 Merge commit godotengine/godot@a7a2a12bfd 2024-12-21 05:32:01 -05:00
Yufeng Ying
e88e30c273 Remove unused headers in servers.
Co-authored-by: bruvzg <7645683+bruvzg@users.noreply.github.com>
2024-12-20 18:51:01 +08:00
Jason Kuo
9655d7d948 Check CameraFeed type 2024-12-18 10:37:06 +08:00
Spartan322
14bb3617ef Merge commit godotengine/godot@a372214a4a 2024-12-09 17:57:46 -05:00
MBCX
6bc80effbb Make Godot compile on FreeBSD 2024-12-05 12:33:55 -04:00
Spartan322
c3314b0ab0 Merge commit godotengine/godot@1f47e4c4e3 2024-12-04 20:11:58 -05:00
Thaddeus Crews
8a134c580c Merge pull request #97469 from Calinou/cameraserver-linux-remove-prints
Remove verbose prints from CameraServer on Linux due to being printed every second
2024-12-03 14:40:53 -06:00
Spartan322
b8b8a7127e Merge commit godotengine/godot@87318a2fb7 2024-11-06 01:12:36 -05:00
Thaddeus Crews
bb5f390fb9 Style: Apply clang-tidy fixes (superficial)
• `modernize-use-bool-literals`, `modernize-use-nullptr`, and `readability-braces-around-statements`
2024-11-04 12:11:14 -06:00
Spartan322
82de309d58 Merge commit godotengine/godot@8004c7524f 2024-10-30 05:22:24 -04:00
Spartan322
6beb1eef9a Fix copyright headers referring to Godot 2024-10-27 11:17:29 -04:00
Adam Scott
0d350e7108 Set clang-format RemoveSemicolon rule to true
- Set clang-format `Standard` rule to `c++20`
2024-10-25 13:49:43 -04:00
Dubhghlas McLaughlin
e8542b06ac Rebrand preambles to Redot
Credits:
Co-authored-by: Skogi <skogi.b@gmail.com>
Co-authored-by: Spartan322 <Megacake1234@gmail.com>
Co-authored-by: swashberry <swashdev@pm.me>
Co-authored-by: Christoffer Sundbom <christoffer_karlsson@live.se>
Co-authored-by: Dubhghlas McLaughlin <103212704+mcdubhghlas@users.noreply.github.com>
Co-authored-by: McDubh <103212704+mcdubhghlas@users.noreply.github.com>
Co-authored-by: Dubhghlas McLaughlin <103212704+mcdubhghlas@users.noreply.github.com>
Co-authored-by: radenthefolf <radenthefolf@gmail.com>
Co-authored-by: John Knight <80524176+Tekisasu-JohnK@users.noreply.github.com>
Co-authored-by: Adam Vondersaar <adam.vondersaar@uphold.com>
Co-authored-by: decryptedchaos <nixgod@gmail.com>
Co-authored-by: zaftnotameni <122100803+zaftnotameni@users.noreply.github.com>
Co-authored-by: Aaron Benjamin <lifeartstudios@gmail.com>
Co-authored-by: wesam <108880473+wesamdev@users.noreply.github.com>
Co-authored-by: Mister Puma <MisterPuma80@gmail.com>
Co-authored-by: Aaron Benjamin <lifeartstudios@gmail.com>
Co-authored-by: SingleError <isaaconeoneone@gmail.com>
Co-authored-by: Bioblaze Payne <BioblazePayne@gmail.com>
2024-10-11 02:26:51 -04:00
Rémi Verschelde
1fc8208765 Merge pull request #97589 from pkowal1982/fix_97454
Fix error message on startup when camera is busy
2024-09-29 00:47:15 +02:00
Paweł
0178bb88e0 Fix error message on startup when camera is busy 2024-09-28 17:00:29 +02:00
Jason Kuo
38d7ec1640 Expose CameraFeed setters 2024-09-27 20:07:36 +08:00
Hugo Locurcio
87709cfdf2 Remove verbose prints from CameraServer on Linux due to being printed every second 2024-09-26 00:08:06 +02:00
Thaddeus Crews
9f9ee0c813 SCons: Add unobtrusive type hints in SCons files 2024-09-25 09:34:35 -05:00
Paweł
b88585abfc Add linux camera support 2024-09-25 12:08:06 +02:00
Stuart Carnie
41875d8aef macOS/iOS: Fix various warnings when targeting newer SDKs 2024-08-20 11:55:21 +02:00
Rémi Verschelde
25b2f1780a Style: Harmonize header includes in modules
This applies our existing style guide, and adds a new rule to that style
guide for modular components such as platform ports and modules:

Includes from the platform port or module ("local" includes) should be listed
first in their own block using relative paths, before Godot's "core" includes
which use "absolute" (project folder relative) paths, and finally thirdparty
includes.

Includes in `#ifdef`s come after their relevant section, i.e. the overall
structure is:

- Local includes
  * Conditional local includes
- Core includes
  * Conditional core includes
- Thirdparty includes
  * Conditional thirdparty includes
2023-06-15 14:35:45 +02:00
Rémi Verschelde
d95794ec8a One Copyright Update to rule them all
As many open source projects have started doing it, we're removing the
current year from the copyright notice, so that we don't need to bump
it every year.

It seems like only the first year of publication is technically
relevant for copyright notices, and even that seems to be something
that many companies stopped listing altogether (in a version controlled
codebase, the commits are a much better source of date of publication
than a hardcoded copyright statement).

We also now list Godot Engine contributors first as we're collectively
the current maintainers of the project, and we clarify that the
"exclusive" copyright of the co-founders covers the timespan before
opensourcing (their further contributions are included as part of Godot
Engine contributors).

Also fixed "cf." Frenchism - it's meant as "refer to / see".
2023-01-05 13:25:55 +01:00
kobewi
072f6feaba Make some Image methods static 2022-10-14 14:34:15 +02:00
Rémi Verschelde
90019676b0 Code quality: Fix header guards consistency
Adds `header_guards.sh` bash script, used in CI to validate future
changes. Can be run locally to fix invalid header guards.
2022-07-25 11:17:40 +02:00
bruvzg
8823eae328 Rename OSX to macOS and iPhoneOS to iOS. 2022-07-21 09:37:52 +03:00
reduz
de0ca3b999 Refactor module initialization
* Changed to use the same stages as extensions.
* Makes the initialization more coherent, helping solve problems due to lack of stages.
* Makes it easier to port between module and extension.
* removed the DRIVER initialization level (no longer needed).
2022-05-04 17:34:51 +02:00
bruvzg
33d6d4bdf7 [macOS] Enable Objective-C ARC 2022-02-01 15:58:30 +02:00
bruvzg
c69e0d16bc Fix multiple missing UTF-8 decoding. 2022-01-06 14:35:22 +02:00
Rémi Verschelde
fe52458154 Update copyright statements to 2022
Happy new year to the wonderful Godot community!
2022-01-03 21:27:34 +01:00