Rémi Verschelde
3fb5faaceb
Merge pull request #40018 from Faless/js/more_improvements_4.0
...
HTML5 fixes, refactor, audio fallback, fixed FPS.
2020-07-02 07:22:43 +02:00
Juan Linietsky
0b7bc83fe3
Add a focus out timeout for X11 to less events of this type are received
2020-07-01 16:14:46 -03:00
Fabio Alessandrelli
7a5e10b8a9
Use dummy driver when JS AudioContext is unavailable.
2020-07-01 17:16:13 +02:00
Fabio Alessandrelli
1a637b07b1
Limit FPS in JS by skipping iterations.
2020-07-01 17:16:13 +02:00
Fabio Alessandrelli
07d4513886
[JS] Check canvas size each loop, force redraw.
...
Fix compatibility issues, achieve smoother resizing.
2020-07-01 17:16:13 +02:00
Fabio Alessandrelli
a1c4c1d318
More static methods in DisplayServerJavaScript.
...
Were static functions in cpp file, polluting global namespace.
2020-07-01 17:16:03 +02:00
Rémi Verschelde
5c9ee93f3e
Merge pull request #39788 from bruvzg/macos_apple_silicon
...
[macOS] Add support for the Apple Silicon (ARM64) build target.
2020-07-01 16:45:23 +02:00
Rémi Verschelde
9000e59650
Merge pull request #40016 from akien-mga/environment-code-cleanup
...
Environment: Refactor code for readability + more
2020-07-01 16:28:48 +02:00
Rémi Verschelde
372136fe75
Environment: Refactor code for readability + more
...
- Makes all boolean setters/getters consistent.
- Fixes bug where `glow_hdr_bleed_scale` was not used.
- Split CameraEffects to their own source file.
- Reorder all Environment method and properties declarations,
definitions and bindings to be consistent with each other
and with the order of property bindings.
- Bind missing enum values added with SDFGI.
- Remove unused SDFGI enhance_ssr boolean.
- Sync doc changes after SDFGI merge and other misc changes.
2020-07-01 14:44:45 +02:00
Juan Linietsky
239942cfef
Ensure embedded mode works again
...
Also implemented application in/out notifications in X11.
2020-07-01 09:27:43 -03:00
Fabio Alessandrelli
fd92270b0a
Refactor canvas ID and locale handling.
2020-07-01 13:10:05 +02:00
Fabio Alessandrelli
5b1cc2d1fc
Fix FS error on JS startup due to existing folder.
2020-07-01 13:10:05 +02:00
bruvzg
a07578592b
[macOS] Add application become/resign active notifications.
2020-06-30 17:59:30 +03:00
Juan Linietsky
438c380458
Add a separate application focus/in notification out from Window focus notification.
2020-06-30 10:40:06 -03:00
bruvzg
accae11fe3
[macOS export] Set correct external file attributes (Unix mode), and creation time.
2020-06-30 10:16:02 +03:00
Rémi Verschelde
524f061c01
X11: Ensure XGetWindowProperty data gets freed
...
And cleanup includes a bit.
2020-06-29 13:32:21 +02:00
bruvzg
00299f15b4
[macOS] Add support for the Apple Silicon (ARM64) build target.
2020-06-29 12:33:51 +03:00
Fredia Huya-Kouadio
2d53b8173e
Fix the logic to enable focus awareness
2020-06-27 16:43:08 -07:00
Fredia Huya-Kouadio
175d43738a
Enable the ability to use Godot as a subview within an Android app
2020-06-25 19:52:40 -07:00
Rémi Verschelde
8f5005b3eb
Merge pull request #39779 from naithar/feature/ios-modules-master
...
Enable iOS modules and fix missing symbols errors (4.0)
2020-06-24 22:49:39 +02:00
Poq Xert
4c0b077faa
Updated purchase receipt suitable for sending to apple verification server
...
(cherry picked from commit bd71925726
)
2020-06-24 17:15:56 +02:00
Sergey Minakov
488879f52b
Export: Fix iOS enabling push notifications capability
2020-06-23 12:48:44 +03:00
Sergey Minakov
090b9fec20
SCons: Enable modules for iOS
2020-06-23 12:48:44 +03:00
Fredia Huya-Kouadio
206cbd960b
Follow up cleanup for the godotpayment project module
2020-06-22 12:53:25 -07:00
Rémi Verschelde
d808697760
Merge pull request #39751 from bruvzg/mingw_build_fix
...
Fix MinGW build (use uninitialized `ofs` variable introduced in 39701).
2020-06-22 13:07:14 +02:00
bruvzg
439c97e0ff
Fix use uninitialized ofs
variable introduced in 39701.
2020-06-22 13:13:22 +03:00
bruvzg
fc1d1c3557
[Windows] Prevent overwriting old cursor handle on multiple mouse_mode changes, ensure mouse_mode is set before cursor_set_shape
is called to restore cursor.
2020-06-22 13:05:18 +03:00
Rémi Verschelde
6869d5d190
Merge pull request #39745 from timoschwarzer/remove-godot-payment-plugin-4
...
Remove GodotPayment android plugin
2020-06-22 12:01:27 +02:00
bruvzg
7a250b579f
macOS, prevent multiple CGDisplayHideCursor calls unpaired with CGDisplayShowCursor.
2020-06-22 11:38:43 +03:00
Timo Schwarzer
83a966f0d8
Remove GodotPayment android plugin
...
This is now available in a separate repository
at https://github.com/godotengine/godot-google-play-billing
2020-06-22 09:21:05 +02:00
Rémi Verschelde
efcc508ee5
Move Haiku platform port to external repository
...
The Haiku port now resides at:
https://github.com/godotengine/godot-haiku-platform
While we're happy to support as many Free and Open Source platforms as we can,
we need to put the main focus on the platforms that we can reasonably maintain,
and for Haiku we have been lacking maintainers ever since the port was first
merged in 2015.
The Haiku code has not been compiling and much less working at least since the
release of Godot 3.0, and while some attempts have been made at fixing things,
it's still not functional today in the `3.2` branch (and much less in `master`,
understandably).
Having it in an external repository should hopefully enable Haiku contributors
to fix issues in their own time, and possibly tag versions compatible with
past Godot releases once they are ready.
2020-06-20 17:59:41 +02:00
Rémi Verschelde
ea30d12204
Merge pull request #39701 from BastiaanOlij/fix_joystick_sliders
...
Fix missing slider joystick handling on Windows
2020-06-20 11:54:39 +02:00
Rémi Verschelde
79b77f8357
Merge pull request #39700 from nekomatata/osx-export-zip-fix
...
Set proper file type attribute for OSX zip export
2020-06-20 11:09:56 +02:00
Bastiaan Olij
aa01b327d6
Fix missing slider joystick handling on Windows
2020-06-20 19:03:15 +10:00
PouleyKetchoupp
4501771fd8
Set proper file type attribute for OSX zip export
...
The missing file type in file attributes was causing the file to lose
executable permissions when unzipped with some softwares.
2020-06-20 10:04:18 +02:00
Rémi Verschelde
35414f1dec
Merge pull request #39053 from timoschwarzer/static-assert-variant-arg-max
...
Add static_assert checks where code assumes VARIANT_ARG_MAX == 5
2020-06-19 23:51:22 +02:00
Rémi Verschelde
3e07080942
Merge pull request #39427 from hcmlax/shortcut_issue_39351
...
fixed issue where shortcut doesn't work if alt is pressed before shift
2020-06-19 23:47:49 +02:00
Rémi Verschelde
08ef0aab16
Export: Rename 'Windows Universal' to 'UWP'
...
It's otherwise too easy to be confused between 'Windows Desktop' (Win32)
and 'Windows Universal' (UWP).
2020-06-19 16:31:28 +02:00
Hugo Locurcio
fdb89a3f9a
Rename "Identifier" to "Bundle Identifier" in macOS/iOS export presets
...
"Bundle Identifier" is more well-understood among macOS and iOS
developers and is less ambiguous.
This is a slight breaking change as export presets will need to be
updated to account for this change.
See https://github.com/godotengine/godot-docs/pull/3295 .
2020-06-19 09:59:38 +02:00
unknown
d191a8b9f8
adding check for syskeydown on control and alt
2020-06-18 14:36:22 -07:00
Rémi Verschelde
fa01e666d2
Merge pull request #39542 from Ev1lbl0w/feature/kill-pid
...
Allow Godot to kill its own PID
2020-06-16 20:49:00 +02:00
Rémi Verschelde
60ba9914f3
Merge pull request #39579 from m4gr3d/provide_activity_to_godot_plugin_constructor_master
...
Clean up the GodotPlugin public API
2020-06-16 20:45:34 +02:00
Fredia Huya-Kouadio
6daf9b78af
Clean up the GodotPlugin
public API.
2020-06-16 09:25:09 -07:00
Rémi Verschelde
4b5b60de85
Merge pull request #39189 from touilleMan/issue-38925
...
Unify OS.get_system_time_* and OS.get_unix_time
2020-06-15 23:57:16 +02:00
Rémi Verschelde
d3c10e8dd6
Merge pull request #39457 from bruvzg/kbd_layouts
...
Add keyboard layout enumeration / set / get functions.
2020-06-15 11:10:34 +02:00
Rémi Verschelde
2db9c13798
Merge pull request #39436 from bruvzg/macos_export_notarization
...
[macOS export] Add notarization support.
2020-06-15 11:04:47 +02:00
Rémi Verschelde
6fa2a5ac14
Merge pull request #39537 from Faless/js/fs_sync_iteration
...
Immediately run first iteration after JS FS sync.
2020-06-14 22:57:32 +02:00
Fabio Alessandrelli
5c75cb0133
Immediately run first iteration after JS FS sync.
...
Which is now run inside an animation frame.
This avoid a 1 frame black screen when setting up the canvas.
2020-06-14 16:04:45 +02:00
bruvzg
92352b1c23
Add keyboard layout enumeration / set / get functions (macOS, Windows, Linux/X11), remove latin variant function.
2020-06-13 11:02:00 +03:00
Aaron Franke
068054002d
Simplify some code in platform/uwp/export
2020-06-11 17:19:45 -04:00