| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
(cherry picked from commit b3ddf12fb1774d63ac47a8d9890bf017b67d879e)
|
| |
|
|
| |
(cherry picked from commit 1c419531a009f48aa074f9b5f93b98d387c33723)
|
| |
|
|
|
|
|
| |
Now both structs (Vector2 & Vector3) have round, floor & ceil methods.
(see #18603)
(cherry picked from commit 26963473a9d832f18e05db074577511d2477a42a)
|
| |
|
|
| |
(cherry picked from commit a35c8bbdc7bdf2cd5ca640b572dd4ad1e170c260)
|
| |
|
|
| |
(cherry picked from commit 95dfa5b96d85d4cb02e70d70f0808101249abc54)
|
| |
|
|
| |
(cherry picked from commit 63e258cc8fa653a66b6020d091abce3fad8e9db7)
|
| |\
| |
| | |
Implement universal translation of touch to mouse (3.0)
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Now generating mouse events from touch is optional (on by default) and it's performed by `InputDefault` instead of having each OS abstraction doing it. (*)
The translation algorithm waits for a touch index to be pressed and tracks it translating its events to mouse events until it is raised, while ignoring other pointers.
Furthermore, to avoid an stuck "touch mouse", since not all platforms may report touches raised when the window is unfocused, it checks if touches are still down by the time it's focused again and if so it resets the state of the emulated mouse.
*: In the case of Windows, since it already provides touch-to-mouse translation by itself, "echo" mouse events are filtered out to have it working like the rest.
On X11 a little hack has been needed to avoid a case of a spurious mouse motion event that is generated during touch interaction.
Plus: Improve/fix tracking of current mouse position.
|
| |\ \
| | |
| | | |
Improve/fix URI utils (3.0)
|
| | | |
| | |
| | |
| | |
| | |
| | | |
(cherry picked from commit 1fc85b87bd0542b82b1a8d51afdb3801d03d872b)
The original commit's message said "percent-encoding" because it was fixing the same code under a different method name. That rename was reverted but the fix was and is still relevant.
|
| | |/
| |
| |
| | |
(cherry picked from commit 8d8e9d54c859625277c7de977b361165c09b06b1)
|
| | |
| |
| |
| | |
(cherry picked from commit a3aa5ad0d036e9824ec87bd747277c6e7779ce33)
|
| | |
| |
| |
| |
| |
| | |
This hasn't made it into master yet but is important for mono support.
If this turns out to be the wrong call we'll revert and merge whatever
next version of this becomes available.
|
| | |
| |
| |
| | |
(cherry picked from commit 0876502f7288a6d4e4bfb58f8692db3516bebb7c)
|
| | |
| |
| |
| | |
(cherry picked from commit a4e64c545406be00c00fe93818994977ae378fb9)
|
| | |
| |
| |
| | |
(cherry picked from commit fefee533ae0e55882bbb1a7c42e1da5dc6adb24b)
|
| | |
| |
| |
| |
| |
| |
| | |
Also, make it clear that day is 0-based. This might cause very slight differcies in existing games.
Fixes #18221
(cherry picked from commit 4b9cf93338984612bbb7c15c03906ba4b24d035b)
|
| | |
| |
| |
| |
| |
| | |
Fixes https://github.com/godotengine/godot/issues/18025
(cherry picked from commit ae7a9df292c36dbc15d43b43017cd42efe5707c4)
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
When adding a directory path to the inventory of the pack, an empty file name was being added to the file list. That made `Directory.get_ntext()` signal end-of-list too early so that files in a subdirectory were missed.
Fixes #15801.
Helps with #16798.
(cherry picked from commit 536611704a2be026682ce3d6c7454b97122d341e)
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Now the action name is quoted if it contains spaces. Also, quotation
mark (") is added to the forbidden character list for action names, as
it was also a bug.
Fix #17322
(cherry picked from commit ea94a8259624a1915fa4b92682755e28f2bb6af5)
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
Disallow reserved keywords as class names and prefix base class with the Godot
namespace if it's the same as the class name.
Fixes #12483
(cherry picked from commit 700d07cf7cae4e28de107e0c274b27c857d98450)
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Starting from April 2018 Apple no longer accepts apps that do not
support iPhone X. For games this mainly means respecting the safe area,
unobstructed by notch and virtual home button. UI controls must be
placed within the safe area so that users can interact with them.
This commit:
- Adds OS::get_window_safe_area method that returns unobscured area of
the window, where interactive controls should be rendered.
- Reorganizes how launch screens are exported - the previous way was
incorrect and modern iPhones did not pick up the correct screens and
because of that used a non-native resolution to render the game.
- Adds launch screen options for iPhone X.
- Makes launch screens optional in the export template. If not
specified, a white screen will be used.
- Adds App Store icon (1024x1024) export option as it now has to be
bundled with the app instead of being provided in iTunes Connect.
- Fixes crash when launching games in iOS Simulator. It happened because
controllerWasConnected callback came before the engine was
initialized. Now in such case the controllers will be queued up and
registered after initialization is done.
- Fixes issue with the virtual keyboard where for some reason
autocorrection panel would intersect with the keyboard itself and not
allow you to use the top row of the keyboard. This is fixed by
disabling autocorrection altogether.
Closes #17358. Fixes #17428. Fixes #17331.
(cherry picked from commit 1d9a3a9b1c9ef7db26e53c8aeaab731992cffd6e)
|
| |/
|
|
|
|
| |
Implemented for Windows and Linux.
(cherry picked from commit ee2c31d306e9333b520e0668f26807d876905241)
|
| |
|
|
| |
(cherry picked from commit 4d81e8afe61635f7542342ea3af928afcad41197)
|
| |
|
|
| |
(cherry picked from commit bbd21c22030c85d098fa79ee69f78803a86c15ba)
|
| |
|
|
| |
(cherry picked from commit 0269e366f13104ccd4e2e50475460b032006730a)
|
| |
|
|
|
|
| |
The name of the remote host is passed to mbed TLS in all cases so the client hello message is correctly formed.
(cherry picked from commit 602da6fa4fbc13255e1b0f6c8748ff0035e96325)
|
| |
|
|
| |
(cherry picked from commit d702d7b335c0c9305e75131770c0ea739b70d813)
|
| |
|
|
| |
(cherry picked from commit e73266a51cdcd63a394848d433f854c1c4e29198)
|
| |
|
|
| |
(cherry picked from commit 67e20dc2b6167e6dd9cb05056fd82de71891395f)
|
| |
|
|
| |
(cherry picked from commit f37090ccf4f699800a43878273b8b94b5906f4bc)
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The previous logic with VERSION_MKSTRING was a bit unwieldy, so there were
several places hardcoding their own variant of the version string, potentially
with bugs (e.g. forgetting the patch number when defined).
The new logic defines:
- VERSION_BRANCH, the main 'major.minor' version (e.g. 3.1)
- VERSION_NUMBER, which can be 'major.minor' or 'major.minor.patch',
depending on whether the latter is defined (e.g. 3.1.4)
- VERSION_FULL_CONFIG, which contains the version status (e.g. stable)
and the module-specific suffix (e.g. mono)
- VERSION_FULL_BUILD, same as above but with build/reference name
(e.g. official, custom_build, mageia, etc.)
Note: Slight change here, as the previous format had the build name
*before* the module-specific suffix; now it's after
- VERSION_FULL_NAME, same as before, so VERSION_FULL_BUILD prefixed
with "Godot v" for readability
Bugs fixed thanks to that:
- Export templates version matching now properly takes VERSION_PATCH
into account by relying on VERSION_FULL_CONFIG.
- ClassDB hash no longer takes the build name into account, but limits
itself to VERSION_FULL_CONFIG (build name is cosmetic, not relevant
for the API hash).
- Docs XML no longer hardcode the VERSION_STATUS, this was annoying.
- Small cleanup in Windows .rc file thanks to new macros.
(cherry picked from commit 23ebae01dc7e3df9c842ca7d017f7b233837721d)
|
| |
|
|
| |
(cherry picked from commit d35e48622800f6686dbdfba380e25170005dcc2b)
|
| |
|
|
|
|
|
|
| |
Regression introduced in #16825.
My logic was correct, but not the error code I was expecting.
The error reporting in FileAccess likely needs a review too.
(cherry picked from commit 57d562b394730649266f902db63d63b448dc1d6e)
|
| |
|
|
|
|
|
|
|
| |
And use it to better report errors in the console and project manager
when a project.godot file is corrupted.
Fixes #14963.
(cherry picked from commit 7839076f95679c85e7adfdccdd671b2927c82f2f)
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Found via `codespell -q 3 --skip="./thirdparty,./editor/translations" -I ../godot-word-whitelist.txt`
Whitelist consists of:
```
ang
doubleclick
lod
nd
que
te
unselect
```
(cherry picked from commit 612ab4bbc6f2396f4dcd68c3f142f7dfa2f5f0a5)
|
| |
|
|
| |
(cherry picked from commit f4f92b55e102487527fc7f1c7d8ebc1df73c01a7)
|
| |
|
|
|
|
| |
get_doubleCloses #16160
(cherry picked from commit d2f1c87063162b284d2e13139eb4ec6bcd9662d4)
|
| |
|
|
|
|
| |
As this will change bindings API this will have to wait for 3.1
This reverts commit 187c40d64dd733ea77b27d96416ab7ad106069b9.
|
| |
|
|
|
|
|
|
|
| |
Windows does not fully respect ISO 639-1 like other systems,
so we have to override its locale values for those languages.
Also added comments to document the locale provenance.
(cherry picked from commit 0c7bed45c49b19bf49b2f2f462937fe14b26c3bb)
|
| |
|
|
| |
(cherry picked from commit ea1d726a4603fdd6bd4dfa6c1fa3128cfb2915c7)
|
| |
|
|
|
|
|
|
| |
The ear clipping algorithm used to triangulate polygons has a slightly too conservative point-in-triangle test which can, in some configurations prevent it from finding a possible tessellation. Relaxing the test by considering that points exactly on edges don't belong the triangle fixes the issue. Changing the semantic of the test is safe because no other code makes use of it. A more detailed explanation can be found in issue #16395.
Fixes #16395.
(cherry picked from commit 91215e191992f3cbbbf4fe047b000ac5a403085c)
|
| |
|
|
|
|
|
|
|
| |
- Added bindings for multimesh, immediate, skeleton, light, reflection probe, gi probe, lightmap, particles, camera, environment, scenario, instance
- Removed draw and sync, were duplicates of force_* equivalents
- Bumped binders max arguments from 11 to 13
- Wrote some wrappers as not all methods were variant-friendly
(cherry picked from commit e415fd05bb5f7f66cfa76bf27247ffe329429405)
|
| |
|
|
| |
(cherry picked from commit 08d4bfacafa8abe435d51a6afecb276030a23280)
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Pass enabled arg
Rename set_nodelay to set_no_delay
Add description to the method
Change description
(cherry picked from commit 87adf9cfbab00a40aad483b4e709518d5f61b6d1)
|
| |
|
|
| |
(cherry picked from commit ebe23375156fbc0d610460b2a0e995bb5c966f84)
|
| |
|
|
| |
(cherry picked from commit 10f0451cc2e114d0077609359149c876589f0b42)
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Dictionaires did not use the VariantHasher and VariantComparator making
them unsafe for use with NaN values as keys. This PR uses the
appropriate Variant implementations for these functions.
var d = {}
d[Vector2(NAN, NAN)] = 0
d[Vector2(NAN, NAN)] = 0
print(d.size())
will now output '1' and not '2'
This fixes #16031
|
| |
|
|
| |
- Fixes linking bug in modules split library
|
| |\
| |
| | |
Make cyclic resource inclusion error message more helpful
|