Aaron Franke
068054002d
Simplify some code in platform/uwp/export
2020-06-11 17:19:45 -04:00
Rémi Verschelde
c4dd866a15
Merge pull request #38958 from lawnjelly/time_overflow_4
...
Fix overflow condition with QueryPerformanceCounter
2020-06-11 09:38:44 +02:00
Rémi Verschelde
f54eda121d
Merge pull request #39304 from m4gr3d/enable_focus_awareness
...
Add support for focus awareness
2020-06-05 12:42:21 +02:00
Fredia Huya-Kouadio
2bf1f8e4b3
Add support for focus awareness
2020-06-04 15:49:55 -07:00
Fabio Alessandrelli
0a35b97b62
Swtich HTML5 key detection from keyCode to code.
...
The value of this, does not include the layout.
The code has extra logic to map the unicode value to our keylist,
supporting ASCII and Latin-1.
Also add support for `physical_keycode` in HTML5 platform.
2020-06-04 21:15:05 +02:00
Marcus Brummer
21263a65a9
Check if the specified Android release keystore exists
2020-06-04 13:37:14 +02:00
Rémi Verschelde
c47a6f6325
Merge pull request #39060 from madmiraal/fix-38869
...
Update Windows GUID to SDL uid conversion.
2020-06-04 11:40:57 +02:00
PouleyKetchoupp
be22a1f9bc
Fix inconsistent error messages with Android custom export templates
2020-06-01 23:13:31 +02:00
Marcel Admiraal
d04cbbd76b
Update OSX GUID to SDL uid conversion.
...
Co-authored-by: John Wakley <johncwakley@users.noreply.github.com>
2020-05-30 17:38:39 +01:00
Marcel Admiraal
bc49d34123
Add dinput nullptr checks.
2020-05-30 13:59:30 +01:00
Marcel Admiraal
97a529b1d8
Do not probe joypads if DirectInput cannot be initialized.
2020-05-29 12:07:07 +01:00
volzhs
c227733bd8
Add missing consumePurchase plugin method for GodotPayment
2020-05-28 22:48:48 +09:00
Hugo Locurcio
fe09b4d2b3
Tweak the DirectInput initialization failure message
...
This closes #36662 .
2020-05-28 09:45:17 +02:00
Fredia Huya-Kouadio
c948d25b6e
Validate that `Use Custom Build` is enabled when `Plugins` are selected
...
Remove `GodotPayment` from the default build template
2020-05-27 12:07:53 -07:00
Rémi Verschelde
7b7b872d94
Merge pull request #39080 from m4gr3d/fix_emit_signal
...
Use compile-time constant for the size of the signal parameters
2020-05-27 13:05:32 +02:00
Fredia Huya-Kouadio
63286ebba4
Use compile-time constant for the size of the signal parameters
2020-05-27 03:40:26 -07:00
Fredia Huya-Kouadio
75100e5644
Provide the ability for clients of the Godot library to add their own command line arguments
2020-05-27 02:13:52 -07:00
bruvzg
ef1a305e50
Ignore invalid tablet driver name, when non are available.
2020-05-26 21:03:45 +03:00
Rémi Verschelde
24ad4894cc
Merge pull request #39050 from timoschwarzer/google-play-billing-4.0
...
(4.0) Re-implement GodotPayment Android plugin using the Google Play Billing library
2020-05-26 15:34:06 +02:00
Marcel Admiraal
a833db80d9
Update Windows GUID to SDL uid conversion.
2020-05-26 12:46:42 +01:00
Timo Schwarzer
4b00bf8e83
Re-implement GodotPayment Android plugin using the Google Play Billing library
2020-05-25 22:24:17 +02:00
Rémi Verschelde
242b715144
Merge pull request #38996 from mbrlabs/android-plugin-fix
...
Perform a clean Gradle build if android plugins changed
2020-05-25 22:18:41 +02:00
Rémi Verschelde
072646f5dd
Merge pull request #39047 from m4gr3d/fix_emit_signal
...
Fix parameters passing when emitting signal
2020-05-25 22:13:49 +02:00
Fredia Huya-Kouadio
bf76d2afcf
Stop ignoring hidden files and directories in the `assets` directory
2020-05-25 12:03:35 -07:00
Fredia Huya-Kouadio
e7e736c03b
Fix parameters passing when emitting signal
...
The issue was caused because we were using variables local to the `for` loop block.
2020-05-25 11:50:36 -07:00
Marcus Brummer
abd66c1bb0
Perform a clean Gradle build if android plugins changed
...
Fixes #38986
2020-05-25 19:18:02 +02:00
Fabio Alessandrelli
57bdb4cc35
Fix JS audioContext parameters.
...
Were not passed along correctly.
`latencyHint` is supposed to be in seconds, not milliseconds.
2020-05-25 15:33:19 +02:00
Rémi Verschelde
3ecdc27f49
Merge pull request #39004 from nekomatata/android-reset-surface
...
Proper surface reset when resuming app on Android
2020-05-24 22:31:03 +02:00
Rémi Verschelde
926d6c1082
Merge pull request #39007 from nekomatata/android-object-id-long
...
Use long instead of int for object id in Android java wrapper
2020-05-24 22:30:00 +02:00
PouleyKetchoupp
b987677cc0
Proper surface reset when resuming app on Android
...
Just re-creating the window instead of restarting the app entirely.
2020-05-24 20:42:21 +02:00
PouleyKetchoupp
39f59786fa
Use long instead of int for object id in Android java wrapper
...
Using int for 64-bit values might cause issues with objects not found
in ObjectDB when the id is truncated.
2020-05-24 13:26:18 +02:00
Rémi Verschelde
3be9c74d8b
Merge pull request #38951 from bruvzg/win_ink_block_mm_4
...
Block WM_MOUSEMOVE during Windows Ink pen handling.
2020-05-22 14:34:20 +02:00
lawnjelly
db9fa88160
Fix overflow condition with QueryPerformanceCounter
...
The previous code for OS_Windows::get_ticks_usec() multiplied the tick count by 1000000 before dividing by ticks_per_second. The ticks is counted in a 64 bit integer and is susceptible to overflow when a machine has been running for a long period of time (days) with a high frequency timer.
This PR separates the overall calculation into one for seconds and one for the remainder, removing the possibility of overflow due to the multiplier.
2020-05-22 12:46:35 +01:00
bruvzg
b08b027a9a
Block WM_MOUSEMOVE during Windows Ink pen handling.
2020-05-22 10:44:47 +03:00
GuidoRevers
cf20c0343f
Fix segmentation fault when using context_vulkan after memdelete context_vulkan
2020-05-21 20:38:58 +02:00
Rémi Verschelde
1d573969c0
Merge pull request #38874 from bruvzg/tab_drv_sel_40
...
[Windows] Add tablet driver selection.
2020-05-20 13:58:20 +02:00
Rémi Verschelde
aec07538f4
Merge pull request #38309 from SkyLucilfer/AndroidLineEdit
...
Fix Android LineEdit editing bugs
2020-05-20 11:45:59 +02:00
bruvzg
d0b5174b6a
[Windows] Add tablet driver selection.
2020-05-20 09:37:32 +03:00
bruvzg
cac399a829
[Windows] Add quotes only to the command line arguments with special characters.
2020-05-19 16:34:15 +03:00
Rémi Verschelde
ca3192d18a
Style: Fix unnecessary semicolons that confused clang-format
2020-05-19 11:24:58 +02:00
Rémi Verschelde
74b5d6839a
Merge pull request #33447 from bruvzg/macos_zip_sign
...
macOS add signing of DMG and ZIPed export
2020-05-19 10:30:26 +02:00
Fredia Huya-Kouadio
6e2988f26a
Update the permission string for the Oculus hand tracking to match the latest api update
2020-05-18 15:28:18 -07:00
Rémi Verschelde
9844cd45e3
Merge pull request #38820 from ericrybick/master
...
Fix certain characters being recognized as special keys on Windows when using the us international layout
2020-05-18 16:33:18 +02:00
Eric Rybicki
e460456e60
Fix certain characters being recognized as special keys in Windows when using the us international layout
2020-05-18 14:47:54 +02:00
Fabio Alessandrelli
90c7102b51
Move mix_rate, ouput_latency to AudioDriverManager
...
Each driver used to define the (same) project settings values
`audio/mix_rate` and `audio/output_latency`, but the setting names are
not driver specific.
Overriding is still possible via platform tags.
2020-05-18 13:02:06 +02:00
Fabio Alessandrelli
245c179bd3
AudioDriverJavaScript now compute buffer size.
...
Based on mix rate and expected latency.
2020-05-18 13:02:06 +02:00
Fredia Huya-Kouadio
14e6696c8e
Implementation of the Godot Android Plugin configuration file
2020-05-17 11:11:26 -07:00
SkyJJ
cc473b948f
Fix Android LineEdit editing bugs
2020-05-16 17:55:27 +02:00
HaSa1002
434bf0572c
Fix input event being dispatched multiple times on Windows
2020-05-16 16:17:50 +02:00
bruvzg
08e80ccd99
Fix popup positions on multiple screens (with same scaling only).
2020-05-16 14:11:43 +03:00