| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| |\
| |
| |
| |
| |
| | |
Daylily-Zeleen/daylily-zeleen/distinguish_between_dynamic_libaray_not_found_and_can't_open
Distinguish between dynamic library not found and can't be opened.
|
| | | |
|
| |/
|
|
| |
return correct value
|
| | |
|
| |
|
|
|
|
|
|
|
|
| |
Code now always double quotes the filename to use as command line
argument when calling explorer.exe. In particular, commas in a filename
would be interpreted by explorer.exe as separators for commands.
Similarly a trim_suffix for "file://" is assumed to be a mistake, this
could potentially be a PREfix that we want to strip, but never a suffix.
Since it didn't seem needed in the end, we removed it.
|
| | |
|
| |
|
|
|
|
| |
And harmonize the format for all platforms.
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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 should be included with relative
paths (relative to the root folder of the modular component, e.g.
`platform/linuxbsd/`), in their own section before Godot's "core" includes.
The `api` and `export` subfolders also need to be handled as self-contained
(and thus use relative paths for their "local" includes) as they are all
compiled for each editor platform, without necessarily having the api/export
matching platform folder in the include path.
E.g. the Linux editor build will compile `platform/android/{api,export}/*.cpp`
and those need to use relative includes for it to work.
|
| |
|
|
| |
And make OpenGL video adapter info align with Vulkan.
|
| |
|
|
|
|
|
|
| |
plus minor static-related fixes
* linuxbsd: get_systemd_os_release_info_value() -> static breaks usage if used multiple times
* windows/linuxbsd: get_video_adapter_driver_info() writes info into static
* linuxbsd: get_distribution_name() + get_version() -> write bsd fallback into static variable
* windows/uwp/android: remove unnecessary use of static
|
| |
|
|
|
|
|
|
|
| |
Turns out the list of trusted root certificates contains disallowed
certificates (i.e. certificates which are no longer trusted or have been
revoked).
We need to check for the property `CERT_DISALLOWED_FILETIME_PROP_ID` to
check if and when the certificates should be distrusted.
|
| |\
| |
| |
| | |
[TLS] Add support for platform-specific CA bundles.
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Adds a new OS::get_system_ca_certs method which can be implemented by
platforms to retrieve the list of trusted CA certificates using OS
specific APIs.
The function should return the certificates in PEM format, and is
currently implemented for Windows/macOS/LinuxBSD(*)/Android.
mbedTLS will fall back to bundled certificates when the OS returns no
certificates.
(*) LinuxBSD does not have a standardized certificates store location.
The current implementation will test for common locations and may
return an empty string on some distributions (falling back to the
bundled certificates).
|
| |/ |
|
| |
|
|
| |
In x86_32, `ULONG_PTR` and `SIZE_T` are defined as `unsigned long`, which is not a type supported by Variant without the `NEED_LONG_INT` define.
|
| |\
| |
| |
| | |
Implement and expose OS::shell_show_in_file_manager()
|
| | | |
|
| |/
|
|
| |
of old `get_free_static_memory`.
|
| |\
| |
| |
| | |
[Windows] Cleanup COM library initialization/uninitialization.
|
| | | |
|
| |/
|
|
| |
open_dynamic_library error message.
|
| |
|
|
| |
Fixes #74339.
|
| | |
|
| | |
|
| |\
| |
| |
| | |
Prevent opening Windows console files
|
| | |
| |
| |
| | |
Fixes #20110.
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
Instead of returning an undocumented boolean error code, we do the
validation checks that should ensure a successful result.
Based on:
- https://linux.die.net/man/3/setenv
- https://learn.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-setenvironmentvariable
|
| | | |
|
| |\ \
| |/
|/| |
Improve documentation for `OS.read_string_from_stdin()`
|
| | |
| |
| |
| |
| |
| | |
This makes it clearer that calls to this method are blocking.
The unused method parameter was also removed.
|
| |/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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".
|
| | |
|
| |
|
|
|
|
| |
font family
I didn't have the first emoji font installed, which led an an exception when calling font_collection->GetFontFamily() no the new rows.
|
| |\
| |
| |
| | |
Rename all gdnative occurences to gdextension
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Non-exhaustive list of case-sensitive renames:
GDExtension -> GDNative
GDNATIVE -> GDEXTENSION
gdextension -> gdnative
ExtensionExtension ->Extension (for where there was GDNativeExtension)
EXTENSION_EXTENSION ->EXTENSION (for where there was GDNATIVE_EXTENSION)
gdnlib -> gdextension
gdn_interface -> gde_interface
gdni -> gde_interface
|
| |/
|
|
|
|
| |
XDG support breaks when running Windows builds via WINE.
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
|
| |
|
|
|
|
|
| |
Add support for font weight and stretch selection when using system fonts.
Add function to get system fallback font from a font name, style, text, and language code.
Implement system font support for Android.
Use system fonts as a last resort fallback.
|
| | |
|
| |\
| |
| |
| | |
Add console wrapper app to handle console i/o redirection on Windows.
|
| | | |
|
| |/ |
|
| |\
| |
| |
| | |
Unify usage of GLOBAL/EDITOR_GET
|
| | | |
|
| |/ |
|
| | |
|
| |\
| |
| |
| | |
Fetch video adapter driver name and version from OS
|
| | | |
|
| |\ \
| | |
| | |
| | | |
Cleanup unused defines in platform code
|
| | | | |
|