Commit Graph

6801 Commits

Author SHA1 Message Date
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 fb2c084d19 SCons: Fix running 'scons' without platform argument
The cache and progress logic assumed the 'env' to be defined,
but it is only when the selected platform is in the supported list.

Fixes #17497.

(cherry picked from commit a44f9ca545)
2018-03-15 10:45:55 +01:00
Hugo Locurcio 2055e84641 Disable colored output and progress bar when building outside of a TTY
This makes the output more readable if it is written to a file,
and more compact in continuous integration environments, keeping
the log sizes low.

(cherry picked from commit bf32d36230)
2018-03-15 10:42:21 +01:00
Rémi Verschelde 15aa6e2ce7
Merge pull request #17206 from Ranoller/patch-4
Backport FIX mouse notifications missings ->godot2
2018-03-06 10:16:27 +01:00
Rémi Verschelde b30c46bb9d
Merge pull request #17195 from RandomShaper/touch-to-mouse-x11-2.1
Generate mouse events from touch on X11 (2.1)
2018-03-06 10:14:20 +01:00
Ranoller 271e031d5f
Backport FIX mouse notifications missings ->godot2
Backport Fix to this issue #17202
2018-03-03 03:52:57 +01:00
Rémi Verschelde bc1e53e830
Merge pull request #17177 from akien-mga/2.1-prop-serialization
Fix serialization of identifiers with non printable ASCII characters
2018-03-02 14:44:26 +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 f261f484b9
Merge pull request #17170 from rraallvv/scons_2.1
Prune cache at the beginning and end of build (2.1)
2018-03-02 11:08:15 +01:00
Rhody Lugo 06101cf012 prune cache only at the start and end of build 2018-03-02 01:27:13 -04:00
Rémi Verschelde 1c16fa3ff8
Merge pull request #17156 from akien-mga/2to3-exporter
2to3 exporter: Fix NodePath prop remaps in .scn
2018-03-01 23:07:45 +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 1ae4d11c4f
Merge pull request #17152 from akien-mga/2to3-exporter
2to3 exporter: Add a hack to convert rotation values in Animation tracks
2018-03-01 21:27:53 +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
Pedro J. Estébanez 5571ada4f5 Generate mouse events from touch on X11
To match behavior on other platforms.
2018-02-26 21:19:57 +01:00
Rémi Verschelde 50eb6bca8c
Merge pull request #16967 from Ranoller/patch-2
Fix bindings project-settings godot exporter
2018-02-24 18:33:14 +01:00
Ranoller 0e69815503
Fix bindings project-settings godot exporter
Bad binded names and missings ones
2018-02-24 02:40:25 +01:00
Rémi Verschelde e98778f69e
Merge pull request #16931 from xsellier/bugfix/remove-commented-code-and-print
Improve android java support
2018-02-24 01:31:16 +01:00
Xavier Sellier 88e779cd5e Improve android java support
- Use Log.d/Log.w instead of System.printf
- Remove commented code
- Cherry-pick: Manual backport of d698814367
2018-02-22 13:36:34 -05:00
Rémi Verschelde f5e7135874
Merge pull request #16912 from xsellier/bugfix/improve-java-linting
Apply clang-format format to android java files (2.1.5)
2018-02-22 19:10:05 +01:00
Xavier Sellier 0af3f8e053 Backport of clang-format 7cb6e6b723 2018-02-22 13:00:36 -05:00
Rémi Verschelde 8c38cff4ec
Merge pull request #16873 from williamd1k0/frame2rect
2 to 3 exporter: Add Color and Reference Frame/Rect to type renames
2018-02-21 08:48:34 +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
George Marques 1738f5a600
Fix build for WinRT using VS2017 2018-02-18 20:16:53 -03:00
Rémi Verschelde e6e4d0417b SCons: Fix build error on invalid module folders
(cherry picked from commit bb90707709)
2018-02-18 22:56:36 +01:00
Marcelo Fernandez 20b821780c Detect javascript platform using EMSCRIPTEN env as well
(cherry picked from commit 33daf4d8bc)
2018-02-18 20:33:56 +01:00
Rémi Verschelde 42f00d002e Update AUTHORS list 2018-02-18 17:59:40 +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
Kinrany dd1cbd8472 Updated descriptions for Vector2.reflect and Vector2.slide
Edited by @akien-mga to add examples for clarity.
2018-02-18 17:28:22 +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 456935c363
Merge pull request #16795 from TheSofox/parallax-mirroring-regression-fix-2
Fix for Parallax Mirroring regression introduced by pull request #12709
2018-02-18 17:19:09 +01:00
Rémi Verschelde 5dae399fc5 Project manager: Make Show in Filesystem button smaller 2018-02-18 17:14:23 +01:00
Rémi Verschelde 92f95dc55f doc: Sync classref with current source 2018-02-18 17:09:55 +01:00
Rémi Verschelde e3bcb8cf4a Silence verbose stderr info message on X11
(cherry picked from commit 94f315df01)
2018-02-18 16:57:14 +01:00
Rémi Verschelde bad7a8a657 X11: Link libgcc statically with use_static_cpp option
We were already linking libstdc++ statically for official binaries,
protecting us against most portability issues. But apparently since
we started using GCC 7 for official builds, we also need to link
libgcc statically for at least 32-bit builds to be portable.

Fixes #16409.

(cherry picked from commit b526088ae2)
2018-02-18 16:56:34 +01:00
Rémi Verschelde 4974e9bb96 Copyright: Add license info for Mozilla CA certs
(cherry picked from commit a294c99400)
2018-02-18 16:56:34 +01:00
Rémi Verschelde 26474e34c6 Update CA certificates to latest Mozilla bundle
Copied from an up-to-date Fedora 27 install (ca-certificates-2018.2.22-1.0.fc27).

(cherry picked from commit 294af5617a)
2018-02-18 16:52:30 +01:00
Sofox afccc72be3 Fix for Parallax Mirroring regression introduced by pull request #12709. Ensures that parallax layers are mirrored while still keeping parallax zoom fixes of previous pull request. 2018-02-18 15:47:38 +00:00
Rémi Verschelde 0d50aa8468
Merge pull request #16724 from xsellier/bugfix/clear-make-godot-crash
Bugfix: Godot engine crashes due to _clear function
2018-02-17 16:25:00 +01:00
Rémi Verschelde aed100a3c3
Merge pull request #16762 from RandomShaper/improve-fullscreen-2.1
Improve/fix fullscreen on X11 (2.1)
2018-02-17 00:18:04 +01:00
Pedro J. Estébanez 04151ac0b4 Improve/fix fullscreen on X11
- Fix fullscreen flag being unconditionally added.
- Fix setup for non-WM-compliants.
- Backport setting the compositor hint (from 3.0).
2018-02-16 21:59:48 +01:00
Xavier Sellier d7c349fea4 Bugfix: Godot engine crashes due to _clear function 2018-02-16 15:08:05 -05:00
Rémi Verschelde d452f46a38
Merge pull request #16726 from Paulb23/p_child_index_issue_12189
Fixed members overview Index p_index out of size (2.1), issue 12189
2018-02-15 20:54:48 +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
Rémi Verschelde 8befa3dd2f
Merge pull request #16698 from KidRigger/2.1
Godot 2 to 3 exporter changes file extensions.
2018-02-15 09:57:48 +01:00
Rémi Verschelde a2d920703c
Merge pull request #16711 from xsellier/bugfix/ensure-clear-use-0-index
Clear function made godot crashing because line_number is below 0 (2.1.5-beta)
2018-02-15 07:52:46 +01:00