Commit Graph

5474 Commits

Author SHA1 Message Date
Johan Manuel 8c0a050d49 Fix some warnings about unhandled switch cases 2016-08-13 13:21:35 +02:00
Johan Manuel cec1c48a7e Fix various warnings
The warnings fixed were about things like unused variables, misleading
indentation, missing default cases in switches and better grouping of
conditions in if statements.
2016-08-13 13:21:35 +02:00
supaiku 3d84849e03 Added CLOSE_ALL files option to script editor 2016-08-13 02:56:38 +02:00
Rémi Verschelde b9e8bddf19 Merge pull request #6132 from neikeq/pr-issue-6123
Confirm code completion with numpad key ENTER
2016-08-12 13:45:55 +02:00
Ignacio Etcheverry e9f9e00bd9 Confirm code completion with numpad key ENTER 2016-08-12 13:37:10 +02:00
Andreas Haas f59860f464
x11: Use proper sonames for loading libXrandr. 2016-08-11 17:40:59 +02:00
Rémi Verschelde 408cc9dc9f i18n: Merge PO files with current template 2016-08-10 21:17:15 +02:00
Rémi Verschelde 29d443be37 i18n: Sync template with current source 2016-08-10 21:17:02 +02:00
Rémi Verschelde 221d81a26d i18n: Sync translations from Weblate
Translator credits added manually based on Weblate git log.
2016-08-10 21:13:44 +02:00
Rémi Verschelde df12333fab classref: Sync with current source 2016-08-10 20:14:48 +02:00
Rémi Verschelde 807c615148 i18n: Add a README file to point to the Weblate repo 2016-08-10 15:26:32 +02:00
Daniel J. Ramirez 1e7d0c6ac1 Zoom texture region via mouse wheel 2016-08-09 17:28:40 -05:00
Rémi Verschelde ce72bef3a1 Merge pull request #6089 from marcelofg55/master
Crashfix for OSX on Sierra beta
2016-08-09 18:46:48 +02:00
marcelofg55 bf320fd4ea Crashfix for OSX on Sierra beta 2016-08-09 13:40:14 -03:00
Rémi Verschelde d4c44485d8 Merge pull request #6081 from djrm/new_icons
Some new icons for visual script and graphs
2016-08-09 07:47:49 +02:00
Daniel J. Ramirez 287b6d0e04 Some new icons for visual script and graphs 2016-08-08 17:23:31 -05:00
Juan Linietsky 37b5e99bc2 prevent bug due to scripts not working in editor and notifier sending signals to it. 2016-08-08 19:04:12 -03:00
Juan Linietsky df6dbadc3e Fixed bug in make_dir_recursive, closes #6016 2016-08-08 18:21:06 -03:00
Rémi Verschelde 5d9967ef00 Merge pull request #6055 from eska014/native-bind-rettype
Allow documenting unexposed return types in bind_native_method
2016-08-08 18:23:36 +02:00
Skyfrit 4f6a21b0df Android: Rename values-zh to values-zh-rCN (#6063) 2016-08-08 11:51:30 +02:00
Skyfrit 664b5b5137 Android: Add support for Traditional Chinese (HK) (#6061) 2016-08-08 11:49:51 +02:00
Skyfrit 8ab4acd17f Android: Add support for Traditional Chinese (TW) (#6061) 2016-08-08 11:49:35 +02:00
Rémi Verschelde a22d1f21e1 Merge pull request #6050 from Hinsbart/remove_pm_file_import
Remove unused function in Project Manager.
2016-08-08 11:13:42 +02:00
Rémi Verschelde a6643cf578 Merge pull request #6051 from neikeq/pr-imp-5882
Project Manager: Fix and improve unhandled input
2016-08-08 11:12:44 +02:00
Rémi Verschelde 3e075656e8 Merge pull request #6049 from Hinsbart/sc-mapping
Fix steam controller gamepad mapping
2016-08-08 11:11:25 +02:00
Rémi Verschelde 38cbf69e24 Merge pull request #6045 from bojidar-bg/extends-on-placeholders
Fix #5891 by not expecting the script instance to be a GDInstance
2016-08-08 10:22:13 +02:00
Juan Linietsky 72748d1363 -Show proper node name in subcall
-Implemented Ctrl-F to focus script type search
2016-08-08 01:41:57 -03:00
Juan Linietsky 9865650b43 Added a simpler way to do sub-functions in both visual and gdscript with the subcall node.
With this, visual script is almost done (missing registering custom nodes from addon).
All this is probably pretty broken, too and needs a lot of testing.
2016-08-08 01:21:22 -03:00
Juan Linietsky cfbdeeffec Added ability to create custom nodes from script. 2016-08-07 21:22:14 -03:00
Juan Linietsky 0b8f0670c5 Automatically turn on process callbacks if relevant callbacks in node exists 2016-08-07 20:08:15 -03:00
Juan Linietsky b77200728e -Added yield nodes to visual script
-Added input selection nodes to visual script
-Added script create icon for those who miss it, will only appear when it can be used.
2016-08-07 19:22:33 -03:00
Juan Linietsky 6671c6bdc7 Added yield() signal smart autocompletion. 2016-08-06 22:11:03 -03:00
Juan Linietsky 3d7c10e9ce Added an easy API to yield to a specific time by doing:
yield( get_tree().create_timer(5.0), "timeout" )
2016-08-06 21:39:50 -03:00
Juan Linietsky 0ed5dbb24d removed extra print 2016-08-06 20:30:13 -03:00
Juan Linietsky 9714a36e65 Reverted printable null object, seems to cause bugs around and not sure why.
Will have to check better, likely for 3.0
2016-08-06 20:13:27 -03:00
Juan Linietsky 9890c1d2ca Likely with bugs and with some features are missing, as well as profiler support, but VisualScript should be more or less done! 2016-08-06 19:00:54 -03:00
Juan Linietsky 259418f827 VisualScript can now execute visual scripts, but there is no debugger or profiler yet. 2016-08-05 22:48:00 -03:00
eska 4cd246898e Allow documenting unexposed return types in bind_native_method
Document return type of `Object.call` and `GDScript.new`
2016-08-06 02:21:29 +02:00
Ignacio Etcheverry f3a75a42dd Project Manager: Fix and improve unhandled input 2016-08-05 16:06:16 +02:00
Andreas Haas 0df40cc29b
Remove unused function in Project Manager.
This has been deprecated by #5993
2016-08-05 16:01:45 +02:00
Andreas Haas e52567bd29
Fix steam controller gamepad mapping
The left stick click was missing
2016-08-05 15:47:41 +02:00
Bojidar Marinov 76ea995228
Fix #5891 by not expecting the script instance to be a GDInstance
It could be a placeholder instance as well
2016-08-05 13:44:12 +03:00
Rémi Verschelde 6d5d23fa8d Merge pull request #6043 from SaracenOne/texture_region_edit_fix
TextureRegionEditor snap_mode fix.
2016-08-05 12:32:22 +02:00
MSC 7b05b4c83c Some additions to the OS documentation (#6037) 2016-08-05 12:29:23 +02:00
Saracen b578cf4da8 TextureRegionEditor snap_mode fix. 2016-08-04 19:49:11 +01:00
Ignacio Etcheverry 9483d3cbf9 Device Input dialog now uses containers 2016-08-04 16:51:58 +02:00
Juan Linietsky 6ed5d48d0c Concluded base visual scripting! can edit but not run though. 2016-08-04 00:05:35 -03:00
Juan Linietsky cd25624667 More work on visual scripting.. 2016-08-03 22:07:03 -03:00
Rémi Verschelde 2f62a2542e Merge pull request #6026 from Marqin/docs
[ci skip] update Raycast documentation
2016-08-03 22:48:47 +02:00
Hubert Jarosz 1445553fea
[ci skip] update Raycast documentation
clarification that set_cast_to needs LOCAL point
and get_collision_point gives GLOBAL point
2016-08-03 22:46:50 +02:00