Commit Graph

14313 Commits

Author SHA1 Message Date
Ruslan Mustakov 08a924bcee Proper focus in/out handling on iOS
PR #18675 (commit 96301e9) revealed a problem with how iOS lifecycle
callbacks were handled by Godot. Before that PR it was possible to get
NOTIFICATION_WM_FOCUS_IN callback without getting the corresponding
NOTIFICATION_WM_FOCUS_OUT. That commit added a flag to ensure they are
always coupled, but now there is an issue when, for example, you open a
notification panel on iOS without moving the app to background.
It resulted in view.stopAnimation being called without the
corresponding startAnimation when the app moves to foreground again, so
it looked like the game hanged.

I changed focus out notification to be sent in applicationWillResignActive,
because it makes more sense than to do it in applicationDidEnterBackground,
because it is always called in pair with applicationDidBecomeActive, where
focus in is sent. applicationDidEnterBackground may not come under
circumstances that are now described as a comment in code.
2018-05-11 17:19:39 +07:00
Rémi Verschelde 74796d9b6c
Merge pull request #18784 from YeldhamDev/ignore_tags
Added "*.tags" (Made by Geany's Ctags plugin) to the ".gitignore" file
2018-05-11 08:29:27 +02:00
Rémi Verschelde f8d2bc6a87
Merge pull request #18781 from toger5/bold_font_error_message
fixed bold font error message
2018-05-11 08:20:20 +02:00
Rémi Verschelde dbee4825f2
Merge pull request #18776 from guilhermefelipecgs/reset_cursor
Reset the cursor with Input.set_custom_mouse_cursor(null)
2018-05-11 08:14:53 +02:00
Rémi Verschelde b38905ae98
Merge pull request #18775 from yaakuro/master-gltf-image-fix
Use mimeType according to glTF spec.
2018-05-11 08:13:28 +02:00
Michael Alexsander Silva Dias 6c5ac57ed7 Added "*.tags" (Made by Geany's Ctags plugin) to the ".gitignore" file. 2018-05-11 02:13:35 -03:00
toger5 78af1e8dde fixed bodl font error message 2018-05-11 03:38:16 +02:00
Guilherme Felipe 50a0220d2d Reset the cursor with Input.set_custom_mouse_cursor(null) 2018-05-10 20:02:12 -03:00
Yaakuro 9a50a4442d Use mimetype according to glTF spec. 2018-05-10 23:21:05 +02:00
Rémi Verschelde 1ec2fa42f8
Merge pull request #18772 from akien-mga/travis-server
Travis: Add server build with clang
2018-05-10 22:15:24 +02:00
Rémi Verschelde a415efa4b7
Merge pull request #18765 from eska014/enginejs-extalt
Facilitate using non-default filename extensions in HTML5 platform
2018-05-10 21:57:07 +02:00
Rémi Verschelde 1e19e2846d Travis: Add server build with clang 2018-05-10 21:50:26 +02:00
Rémi Verschelde 2766050c53
Merge pull request #18768 from Faless/server_fix
Implement missing methods in dummy rasterizer
2018-05-10 21:45:21 +02:00
Rémi Verschelde aa5cd9d764
Merge pull request #18756 from volzhs/freetype-2.9.1
Update FreeType to 2.9.1
2018-05-10 21:32:05 +02:00
Max Hilbrunner 486ec499f3
Merge pull request #18766 from eska014/html5-localcustomshell
Use local path for custom HTML5 shell export
2018-05-10 16:51:13 +02:00
Fabio Alessandrelli 0cad1417b6 Implement missing methods in dummy rasterizer 2018-05-10 16:07:01 +02:00
Leon Krause d1970888d3 Use local path for custom HTML5 shell export 2018-05-10 15:31:44 +02:00
Leon Krause 96f907c023 Accept non-default main packs in engine.js startGame()
Allows using startGame() with main packs exported as .zip, but also any
other custom extension, for example if a web game host does not allow
the .pck filename extension.
2018-05-10 15:08:19 +02:00
Max Hilbrunner f20af4b632
Merge pull request #18753 from eska014/html5-iframefocus
Fix keyboard focus lock-out with HTML5 canvas in iframe
2018-05-10 15:01:24 +02:00
Max Hilbrunner b72424c88b
Merge pull request #18755 from volzhs/fix-pointing-emulate
Fix setting for pointing emulation
2018-05-10 14:57:24 +02:00
Leon Krause 32eb3e1b7d Add Engine.setWebAssemblyFilenameExtension()
Some web game hosts only allow certain filename extensions. If .wasm is
not allowed, this function allows overriding the WebAssembly filename
extension to work around that restriction.
2018-05-10 14:50:34 +02:00
volzhs c9bd739a8b Update FreeType to 2.9.1
close #15660
2018-05-10 15:21:33 +09:00
volzhs 99bc7f3f4e Fix setting for pointing emulation
Fix #18582

GLOBAL_DEF("input/something") is treated as Input Map setting, not as General.
2018-05-10 14:26:28 +09:00
Leon Krause 9080e96bc8 Fix keyboard focus lock-out with HTML5 canvas in iframe 2018-05-10 02:42:47 +02:00
Rémi Verschelde fe82b5a122
Merge pull request #18749 from eska014/html5-mousecapture-rel
Fix relative motion with captured mouse in HTML5 platform
2018-05-10 01:26:49 +02:00
Rémi Verschelde 919d802e66
Merge pull request #18183 from Paulb23/gdscript_highlighter_inital_changes
GDScript function definition and get_node shortcut syntax highlighting
2018-05-10 01:25:51 +02:00
Leon Krause d78b10313b Fix relative mouse motion when captured in HTML5 platform 2018-05-10 01:02:48 +02:00
Rémi Verschelde c294993d97
Merge pull request #18745 from DmitryKrutskikh/minor-fix-project-manager
Disable 'run' button if any project not selected
2018-05-09 19:54:52 +02:00
Rémi Verschelde 1380040337
Merge pull request #18716 from guilhermefelipecgs/support_for_atlas_tex_on_cursor_2
Add support for atlas texture on set_custom_mouse_cursor
2018-05-09 19:53:56 +02:00
DmitryKrutskikh 965b6ac273 Disable 'run' button if any project not selected and tiny refactoring 2018-05-09 19:13:53 +03:00
Max Hilbrunner 36787621f9
Merge pull request #18743 from Zouch/master
Consider TextEdit paste operation complex.
2018-05-09 17:00:14 +02:00
Guilherme Felipe 8ead09342d Add support for atlas texture on set_custom_mouse_cursor 2018-05-09 12:44:43 +00:00
Charly Mourglia b09e0454bb Consider TextEdit paste operation complex.
Not considering a paste operation as a complex one ends up
adding an unneeded extra step when pasting over a selection.

This fixes issue #18325
2018-05-09 14:07:06 +02:00
George Marques 0f930f8314
Merge pull request #18730 from marcelofg55/bind_fix
canvas_item_add_triangle_array bind fixup
2018-05-09 00:05:20 -03:00
George Marques cf4a506cf1
Merge pull request #18729 from marcelofg55/bind_enums
Fix some enums missing its bind
2018-05-08 23:58:27 -03:00
Marcelo Fernandez 3fa352dc9c canvas_item_add_triangle_array bind fixup 2018-05-08 21:41:41 -03:00
Marcelo Fernandez e64bbcc429 Fix some enums missing its bind 2018-05-08 21:14:31 -03:00
Max Hilbrunner e744d12e56
Merge pull request #18709 from Faless/multiplayer_docs
Rename multiplayer_api to multiplayer, add docs
2018-05-09 01:41:01 +02:00
Max Hilbrunner 9a22a835f6
Merge pull request #18728 from hpvb/fix-uwp-arch
For uwp the ARM architecture needs to be in lower case
2018-05-09 01:34:18 +02:00
Hein-Pieter van Braam 07f590046a For uwp the ARM architecture needs to be in lower case 2018-05-09 01:16:05 +02:00
Rémi Verschelde 720e2f7b09
Merge pull request #18726 from volzhs/remove-legacy
Remove android compatibility under API 16
2018-05-08 23:49:37 +02:00
volzhs 2f8f34ceaf Remove android compatibility under API 16 2018-05-09 06:01:33 +09:00
Rémi Verschelde a79f4ac382
Merge pull request #18720 from RandomShaper/fix-gdnative-leak
Fix Variant leak in call_native
2018-05-08 22:09:35 +02:00
Pedro J. Estébanez 474eda9e30 Fix Variant leak in call_native 2018-05-08 21:27:33 +02:00
Fabio Alessandrelli dd546dc5b8 Document websocket module, further document enet 2018-05-08 21:15:50 +02:00
Fabio Alessandrelli cbb744c4e0 Document MultiplayerAPI class 2018-05-08 21:15:50 +02:00
Rémi Verschelde 4a98b1575b
Merge pull request #15286 from guilhermefelipecgs/pr_better_find_doc
Better find in documentation
2018-05-08 19:18:41 +02:00
Hein-Pieter van Braam e668757aa9
Merge pull request #14622 from bruvzg/non-rectangular-windows
Experimental support for windows with per-pixel transparency.
2018-05-08 16:44:35 +02:00
Juan Linietsky aacd7f012e
Merge pull request #18374 from JFonS/fix_particles_animation
Fix particle animation controls
2018-05-08 11:34:34 -03:00
Juan Linietsky b190afe084
Merge pull request #15549 from SaracenOne/bmp
BMP module
2018-05-08 10:46:13 -03:00