Commit Graph

6740 Commits

Author SHA1 Message Date
Rémi Verschelde 74a8a91da3
Merge pull request #13230 from sersoong/2.1-test2
Add 'uppercase' and 'lowercase' to script editor
2017-12-17 20:56:42 +01:00
Hein-Pieter van Braam f856eb0781
Merge pull request #13433 from xsellier/bugfix/vector2-and-vector3-not-properly-parsed
Vector2 and Vector3 are not properly parsed
2017-12-16 17:37:27 +01:00
Rémi Verschelde e2d4a4a332
Merge pull request #14683 from sersoong/2.1-addcopypath
Add copy script path item to script editor
2017-12-16 16:50:47 +01:00
Xavier Sellier 377fdc1e33 Hardware cursor implementation for Godot Engine 2.1
- Remove all references to the variable 'custom_mouse_cursor_hotspot' and 'custom_mouse_cursor' from the project settings.
- Indeed, to implement a custom cursor we need to define a sprite for each 'state' of the cursor. Using those variables in the projects settings would define only the _main_ cursor.
- Cleanup the VirtualServer (Remove references to cursor_set_visible, cursor_set_texture and cursor_set_pos)
- Cleanup the Input (set_mouse_in_window should not be used anymore)
- Update the documentation
- Implement it for windows, X11, Javascript, BB 10, OSx, iOS, server, android
- NOT IMPLEMENTED FOR WINRT (As of today, I'm not able to implement this one, this post might help)
- NOT IMPLEMENTED FOR HAIKU (Support of this platform seems perfunctory)
- Build it for Windows, Android and OSX
2017-12-15 11:37:36 -05:00
sersoong f3bb2d8679 Add copy script path item to script editor 2017-12-15 11:26:32 +08:00
Rémi Verschelde db262f80be
Merge pull request #14558 from xsellier/bugfix/14324-nested-ternary
Properly support nested ternary expressions
2017-12-12 00:14:39 +01:00
Rémi Verschelde b9a77ee388
Merge pull request #14567 from volzhs/libwebp-0.6.1-2.1
Update libwebp to 0.6.1
2017-12-12 00:13:57 +01:00
volzhs d3d9cc474c Update libwebp to 0.6.1 2017-12-12 03:21:56 +09:00
Rémi Verschelde 2f6c179e1c
Merge pull request #14560 from xsellier/bugfix/remove-funny-output-during-export
Remove funny output during when exporting a project or loading Godot Engine
2017-12-11 17:37:37 +01:00
Xavier Sellier 487773ed24 Remove funny output during when exporting a project or loading Godot Engine 2017-12-11 11:13:04 -05:00
Xavier Sellier 0cdc8ef645 Properly support nested ternary expressions
Fixes 14324
Original work @bojidar-bg
2017-12-11 10:41:43 -05:00
Rémi Verschelde dec619296a iOS: Drop obsolete code from never-public modules
(cherry picked from commit 5563f4cc56)
2017-12-11 15:32:53 +01:00
Rémi Verschelde 6a4e7198c5 Style: apply clang-format (5.0.0) to current source 2017-12-11 15:31:49 +01:00
Rémi Verschelde 7e2d6b4450 Style: Update definitions for clang-format 5.0.0
This will be the new standard from now on.

(cherry picked from commit a8ceb7e3f2)
2017-12-11 15:18:26 +01:00
Rémi Verschelde acb7107720 Style: apply clang-format (3.9.1) to current source 2017-12-11 15:18:06 +01:00
Rémi Verschelde b3a1821b46
Merge pull request #14495 from RandomShaper/fix-mouse-x11-2.1
Fix no mouse if touch device present in X11 (2.1)
2017-12-10 11:43:15 +01:00
Pedro J. Estébanez 088569fe14 Fix no mouse if touch device present in X11
Plus several improvements in this area.

Sadly, grabbing has been disabled until a better solution is found.
2017-12-10 07:15:07 +01:00
sersoong bcfe3dcd35 Add 'uppercase' and 'lowercase' to script editor 2017-12-10 09:17:40 +08:00
Rémi Verschelde 78364d4b07
Merge pull request #14355 from volzhs/ios-delegate
use application:didFinishLaunchingWithOptions: instead of application…
2017-12-07 09:33:25 +01:00
Rémi Verschelde 67ea819dc9 Travis: Disable OSX builds, they create too much backlog
Travis CI has not enough OSX build nodes allocated for open source projects,
so we often have to wait several hours (up to a full day) for builds to start.

(cherry picked from commit e0c00efb99)
2017-12-07 07:44:56 +01:00
Rémi Verschelde 20482cd5a4
Merge pull request #14354 from sersoong/2.1-addopenall
Enhanced 'open' in filesystemdock and fixed some non clang-format style code
2017-12-07 07:38:03 +01:00
MrCdK 1cda47a7bc Fix windows compilation when using MinGW
(cherry picked from commit 651677f033)
2017-12-07 07:30:22 +01:00
Rémi Verschelde 0f4c05cc89 Travis: Install libxi-dev after #14347
(cherry picked from commit f674a55f3a)
2017-12-07 07:28:56 +01:00
Rémi Verschelde 7b97ef5d3c
Merge pull request #14346 from RandomShaper/adpod-mt-2.1
Implement multitouch on X11 and improve it on Windows (2.1)
2017-12-07 07:28:36 +01:00
volzhs d25b1cf88a use application:didFinishLaunchingWithOptions: instead of applicationDidFinishLaunching: for iOS 2017-12-07 10:02:19 +09:00
sersoong 97c80f84ca Enhanced 'open' in filesystemdock and fixed some non clang-format code 2017-12-07 08:36:33 +08:00
Pedro J. Estébanez 838fd94a70 Remove dead code from Windows build script 2017-12-07 00:00:24 +01:00
Pedro J. Estébanez a6cedd736b Add build param for targeted Windows version 2017-12-07 00:00:24 +01:00
Pedro J. Estébanez cb23cc1ca4 Improve/fix multitouch on Windows
- Fix logic error.
- Track touches to enable defensive handling and releasing on focus out.
- Change comment-out by preprocessor `#if`.
2017-12-07 00:00:24 +01:00
Pedro J. Estébanez 4511241991 Implement multitouch on X11 2017-12-07 00:00:24 +01:00
Rémi Verschelde b87cbe7994
Merge pull request #14327 from RandomShaper/fix-chmod-error-2.1
Fix Windows-to-Linux export error (2.1)
2017-12-06 23:16:21 +01:00
Pedro J. Estébanez c356fbe05f Fix Windows-to-Linux export error
Now chmod() returns ERR_UNAVAILABLE by default, to signal the caller the problem is lack of support instead of a failed operation.
2017-12-06 20:28:00 +01:00
Andreas Haas 88ffa04be4
Merge pull request #14001 from rraallvv/disable_stop_button
Disable stop button if the scene is not running (2.1)
2017-12-05 16:33:02 +00:00
Rhody Lugo a30a78dfdb disable stop button if the scene is not running 2017-12-05 11:44:49 -04:00
marcelofg55 129e0f34d0 Added OS::center_window to center the window precisely on desktop platforms 2017-12-03 17:13:26 -03:00
Xavier Sellier eb8952e995 Vector2 and Vector3 are not properly parsed
This commit should solve https://github.com/godotengine/godot/issues/13425
It has been tested manually and it works like a charm
2017-11-30 21:53:50 -05:00
Rémi Verschelde 7983fb95b0
Merge pull request #13400 from marcelofg55/wasapi_fix
Fix wasapi going silent when number of channels are not supported
2017-11-30 20:52:16 +01:00
Marcelo Fernandez dc26585bf4 Fix wasapi going silent when number of channels are not supported 2017-11-29 12:34:11 -03:00
Rémi Verschelde 681aa44788
Merge pull request #13397 from ISylvox/export-logo-2.1
[2.1] Enhance UWP Logo on Export Dialog
2017-11-29 14:09:09 +01:00
Indah Sylvia 88b6c49e22 Enhanced UWP logo on Export dialog 2017-11-29 19:50:02 +07:00
Rémi Verschelde 39981b3c49
Merge pull request #13388 from rraallvv/refactor_2.1
Add target helper functions and refactor (2.1)
2017-11-29 08:55:10 +01:00
Rhody Lugo 714e02c0f6 disable caching for targets using helper functions 2017-11-28 16:14:24 -04:00
Rémi Verschelde b0b1e2e99e
Merge pull request #13360 from rraallvv/cache_pruning_2.1
Fixes for SCons shared cache for Travis-CI and AppVeyor-CI (2.1)
2017-11-28 09:17:27 +01:00
Rhody Lugo 388249c386 use the same cache for all branches for appveyor 2017-11-28 03:23:51 -04:00
Rémi Verschelde 48ca47b4ea
Merge pull request #13329 from rraallvv/cache_pruning_2.1
Enable pruning for SCons shared cache (2.1)
2017-11-27 07:57:19 +01:00
Rhody Lugo 88d836c95d prune scons shared cache 2017-11-27 01:24:56 -04:00
Rémi Verschelde 00b7295af5
Merge pull request #13304 from rraallvv/scons_cache_travis_2.1
Enable SCons shared cache for Travis CI (2.1)
2017-11-26 15:56:59 +01:00
Rhody Lugo e1d43b3bef add support for scons cache and enable it for travis 2017-11-26 10:26:11 -04:00
Rémi Verschelde aad6ef9423
Merge pull request #13300 from rraallvv/scons_cache_2.1
Enable SCons shared cache for AppVeyor CI (2.1)
2017-11-26 15:09:10 +01:00
Rhody Lugo 8e8a7aba8c add support for scons cache and enable it for appveyor 2017-11-25 22:16:03 -04:00