Commit Graph

14641 Commits

Author SHA1 Message Date
Rémi Verschelde
0f9fc47234
Merge pull request #18791 from endragor/fix-ios-lifecycle
Proper focus in/out handling on iOS
2018-05-11 13:45:09 +02:00
Rémi Verschelde
0f942764ff
Merge pull request #18789 from endragor/fix-oversampled-outline-update
Update oversampling of outlines after window size change
2018-05-11 13:43:51 +02:00
Julian Murgia
68b9fd79e4 Add button hbox with alphabetic sort toggle above methods outline. 2018-05-11 13:30:43 +02:00
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
Ruslan Mustakov
f34ea810fe Update oversampling of outlines after window size change
Fixes #18774.
2018-05-11 13:59:56 +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
d927e972d1 fixed a input not registered in osx script editor 2018-05-11 04:30:05 +02: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
Leon Krause
c4c7270cc7 Fix help/man for --export and --export-debug 2018-05-10 22:08:21 +02:00
karroffel
70866bbafd changed GDNative API json format 2018-05-10 22:03:06 +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
Andrea Catania
5a0119f9e2 Improved API to active / deactive ragdoll 2018-05-10 21:05:00 +02:00
Leon Krause
942f6dfbd6 Fix custom resource path look-up per command line 2018-05-10 20:18:43 +02:00
Leon Krause
af7926cf98 Allow exporting runnable presets from command line 2018-05-10 20:17:51 +02:00
Karolis K
c3e921fba3 Fix icon if remote icon load fails 2018-05-10 18:45:22 +03: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
Guilherme Felipe
48f9e6a05b Fix custom cursor disappearing on osx 2018-05-09 20:06:59 -03:00
Leon Krause
d78b10313b Fix relative mouse motion when captured in HTML5 platform 2018-05-10 01:02:48 +02:00
anakimluke
4fe2605ab3
fixed minor doc wording problem 2018-05-09 17:50:43 -03:00
Peter Folkins
365d814361 Adding font preview to file browsers 2018-05-09 13:34:30 -05: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
Swarnim Arun
8529763a0f Fix tileset bug #18090 to use StaticBody2D position
Using staticbody2d position to affect the collision shape position whenever a tileset is created.

Formatting the code

Removed the most get/set from my old code.
2018-05-09 12:12:10 +05:30
Gustav Lund
3dcf338ebb Dummy texture importer
Added a dummy importer for textures to use with the server platform.
Allows for running a project in headless mode without crashing when loading scenes containing textured objects
Also as a result decreases load time as no image files have to be loaded.
2018-05-09 08:13:02 +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