Commit Graph

256 Commits

Author SHA1 Message Date
dns fd55fd8961 return integer for set_output_buffer_max_size() & set_input_buffer_max_size(int) 2018-05-15 19:11:23 +07:00
Rémi Verschelde 3764cf6245 Fix visibility toggle for Spatials in SceneTreeEditor
Fixes #17722, was a regression from #15239.
2018-03-24 16:54:05 +01:00
Rémi Verschelde 87636e1caa Style fixes 2018-03-21 21:47:17 +01:00
Rémi Verschelde f6bf93c7c8 2to3 exporter: Better handling of anchors and margins + more fixes
- Properly handle anchors changing from enum-based to a float ratio
- Flip margins when needed to match the new anchoring system
- Reuse type renames in the script converter to fix more types and usages
- Convert .pos, _rot(, _speed( and set_hidden() in scripts
2018-03-21 21:33:06 +01:00
Rémi Verschelde 42ad56c95c 2to3 exporter: Fix recursion in Pool*Array conversions 2018-03-19 11:30:35 +01:00
Rémi Verschelde 8fd6543520 2to3 exporter: Bunch of improvements and fixes
- Fixed properties with different renames based on node type:
  * Convert Joint2D's "collision/exclude_nodes" to "disable_collision"
  * Convert TextureProgress' "mode" to "fill_mode"
  * Convert Sprite and Sprite3D's "region" to "region_enabled"
- Fixed swapping "Fill" and "Expand" in size_flags
- Handle converting [self_]opacity to [self_]modulate.a, including in animations
- Fixed signals:
  * Add a bunch of missed signal renames
  * Properly convert AnimationPlayer and AnimatedSprite's "finished" to
    "animation_finished"
- Reduce diff in signal connections for tscn
- Script converter:
  * Convert _input_event( to _gui_input(
  * Convert self_opacity to self_modulate.a
  * Convert ReferenceFrame to ReferenceRect
  * Add missing Pool*Array conversions
2018-03-19 10:33:18 +01:00
Rémi Verschelde cb8b9a7ee9 2to3 exporter: Document classes for each property rename 2018-03-19 10:33:18 +01:00
Rémi Verschelde 6d6013138e 2to3 exporter: Review all property renames
Fix some bugs with missing or incorrect renames in the process.
2018-03-19 10:33:18 +01:00
Rémi Verschelde 7e042474ea 2to3 exporter: Remove duplicate renames 2018-03-19 10:33:18 +01:00
Rémi Verschelde 5c81a4b072 2to3 exporter: Reorder rename mappings alphabetically 2018-03-19 10:33:18 +01:00
Rémi Verschelde 29e2182c41 2to3 exporter: Enable script conversion and option to mark changes 2018-03-16 11:48:39 +01:00
Rémi Verschelde ddeb4ff2b0 2to3 exporter: Improvements to script conversion
- Convert `move(` to `move_and_collide(`
- Convert `<identifier> extends <Node>` to `<identifier> is <Node>`
- Simplify existing regexps
2018-03-16 11:42:14 +01:00
Rémi Verschelde 7d4f5fc5c7 2to3 exporter: Fix bug converting NodePath animation tracks
All values were multiplied by -1 when only "transform/rot" values need to be.
2018-03-16 11:39:04 +01:00
Rémi Verschelde 2caaaf3abf Fix serialization of identifiers with non printable ASCII characters
Fixes #6888.

Also apply the same logic in the 2 to 3 exporter, fixes #16850.
2018-03-02 13:32:33 +01:00
Rémi Verschelde b008b17df6 2to3 exporter: Fix NodePath prop remaps in .scn
The previous fix from 13d1df2e4b was applied when writing the NodePath
as text for .tscn/.tres, and thus not used for .scn. So we move the
conversion earlier, while processing all tracks.
2018-03-01 21:55:20 +01:00
Rémi Verschelde 33e036b8c2 2to3 exporter: Add a hack to convert rotation values in Animation tracks
Fixes #16836.

Also fix the missing renames for "playback/active" and "playback/speed".
2018-03-01 21:04:59 +01:00
Ranoller 0e69815503
Fix bindings project-settings godot exporter
Bad binded names and missings ones
2018-02-24 02:40:25 +01:00
William Tumeo 1105eea1c8 Add Color and Reference Frame/Rect to type renames 2018-02-20 23:35:07 -03:00
Rémi Verschelde ddcbdbd67c 2 to 3 exporter: Fix conversion to rotation_degrees 2018-02-19 16:56:59 +01:00
Rémi Verschelde f637578dbe Fix previous cherry-pick of 3.0-specific API 2018-02-19 11:42:47 +01:00
Marcelo Fernandez be4b63a257 Fix possible infinite loop with bucket fill tool
(cherry picked from commit 3571087843)
2018-02-19 11:38:54 +01:00
Rémi Verschelde d2fee400e8
Merge pull request #16548 from RandomShaper/fix-debug-errors-2.1
Fix wrong signal emission (2.1)
2018-02-18 17:29:27 +01:00
Rémi Verschelde 646ce0b2d2
Merge pull request #15239 from sersoong/2.1-batchtoggle
Enhanced Toggle Visibility button in Scene tree editor
2018-02-18 17:20:31 +01:00
Rémi Verschelde 5dae399fc5 Project manager: Make Show in Filesystem button smaller 2018-02-18 17:14:23 +01:00
Paulb23 55cd92aacd Fixed members overview Index p_index out of size (2.1), issue 12189 2018-02-15 19:43:21 +00:00
Anish fd1703922c Godot 2 to 3 exporter changes file extensions.
Exporter now converts the 3 letter resource file extensions to the new
longer extensions.

Resolves: #16684
See also: #9199
2018-02-14 22:08:51 +05:30
Rémi Verschelde e0b20449ad
Merge pull request #15261 from sersoong/2.1-addsettingsopen
Add open feature to editor autoload settings For 2.1
2018-02-14 17:11:57 +01:00
Pedro J. Estébanez decc0de38a Fix wrong signal emission 2018-02-11 00:59:10 +01:00
Pedro J. Estébanez de9d30d642 Fix crash on save-branch-as-scene 2018-01-10 21:16:37 +01:00
Rémi Verschelde a0de1b8999 Godot3 exporter: Prevent exporting within project directory 2018-01-06 01:02:32 +01:00
sersoong 6a3961f1dc Enhanced Toggle Visibility button 2018-01-04 09:01:12 +08:00
Razah f5f11b4317 Fix broken Info.plist after copyright update
Fixes #15293.
+ misc fixes by @akien-mga.

(cherry picked from commit e3c9a7ed4f)
2018-01-03 17:15:23 +01:00
Rémi Verschelde 78eb274de2
Merge pull request #15233 from sersoong/2.1-addshowinfilesystem
Porting show in filesystem to property editor
2018-01-03 13:00:16 +01:00
Rémi Verschelde 0685d2a062
Merge pull request #15215 from sersoong/2.1-addshowinmanager
Add Show In File Manager to project manager
2018-01-03 12:42:54 +01:00
Rémi Verschelde 3102dc17ee
Merge pull request #13437 from xsellier/bugfix/mouse-cursor-lag
Implement hardware cursor acceleration for Godot Engine 2.1
2018-01-03 08:36:44 +01:00
Jakub Grzesik 17850b7b26 AnimationTree nodes sliders fixes
(cherry picked from commit 0fc4b04f51)
2018-01-02 11:51:18 +01:00
Rémi Verschelde 2712014744 Update copyright statements to 2018
Happy new year to the wonderful Godot community!
2018-01-02 11:27:24 +01:00
sersoong 64ceb0be5b Add open feature to editor autoload settings 2018-01-02 14:55:35 +08:00
sersoong 960197d143 Porting show in filesystem to property editor 2018-01-01 11:11:23 +08:00
sersoong e9255375f3 Add Show In File Manager to project manager 2018-01-01 10:32:41 +08:00
Joachim Meyer 6f0b2e5ee4 Fix crash on startup when external editor cannot be found.
Fixes #10965
2017-12-21 21:54:01 +01:00
Rémi Verschelde f17d46d3fa
Merge pull request #14852 from sersoong/2.1-batchchange
Enhanced changeType menu in Scene Tree Dock
2017-12-20 16:31:16 +01:00
sersoong e4de06dff8 Enhanced changeType menu in Scene Tree Dock 2017-12-20 09:05:28 +08:00
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
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
Xavier Sellier 487773ed24 Remove funny output during when exporting a project or loading Godot Engine 2017-12-11 11:13:04 -05: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 acb7107720 Style: apply clang-format (3.9.1) to current source 2017-12-11 15:18:06 +01:00
sersoong bcfe3dcd35 Add 'uppercase' and 'lowercase' to script editor 2017-12-10 09:17:40 +08:00