Commit graph

8622 commits

Author SHA1 Message Date
toger5 ad5b0674f6 Performance styleBoxFlat:
- style box flat was always drawn with 8 verts per corner in case it
   was a rounded corner... now it uses only one vert if it has no
rounded corner.
2017-08-19 14:46:04 +02:00
Rémi Verschelde 5d85108f94 Merge pull request #10428 from akien-mga/minizip
Sync minizip with closest upstream version (zlib 1.2.4 contrib) and document Godot-specific changes
2017-08-19 13:43:45 +02:00
Rémi Verschelde 08eada8f43 Merge pull request #10430 from radenling/fix-wm-class
Set the X11 class hint before mapping the window
2017-08-19 13:43:28 +02:00
Rémi Verschelde 43d91faa2e Merge pull request #10439 from Paulb23/blinking_text_issue_10432
Fixed blinking text, issue 10432
2017-08-19 12:32:13 +02:00
Paulb23 fb0e7f8f1c Fixed blinking text, issue 10432 2017-08-19 09:55:42 +01:00
Rémi Verschelde c57671f0b3 Merge pull request #10435 from endragor/export-quit
Quit after command-line export
2017-08-19 10:36:03 +02:00
Ignacio Etcheverry 9acd9f8e45 Merge pull request #10436 from neikeq/plz
Removes extra argument from StyleBoxFlat::get_border_color()
2017-08-19 09:36:24 +02:00
Ignacio Etcheverry 18938d3c0e Removes extra argument from StyleBoxFlat::get_border_color() 2017-08-19 08:59:45 +02:00
Ruslan Mustakov 02670a3806 Quit after command-line export 2017-08-19 11:59:00 +07:00
Juan Linietsky bf1f83ed29 Small fix that makes overal UI (including dragging spliiters) much, much faster.
Flushing messages meant that for every event, UI was reaccomodating everything. This is relly slow.
Messages will have to happen sometime later, during iteration most likely.
I still can't fix the overall code editor slowness on Mesa+Radeon, I suspect it's a driver issue.
2017-08-18 23:01:27 -03:00
Ignacio Etcheverry 90b8a5b71e Removes editor_hint from SceneTree 2017-08-19 01:29:45 +02:00
Ignacio Etcheverry fd69604bd9 Adds editor_hint to Engine class 2017-08-19 01:03:12 +02:00
Juan Linietsky fc89cf90b2 Inspector re-edits edited object when dock moves, closes #9287 2017-08-18 19:51:17 -03:00
Juan Linietsky 2cb19a53fd Fix primitive mesh selection, closes #9210 2017-08-18 19:25:18 -03:00
Richard Adenling 398e0930dc Set the X11 class hint before mapping the window
Setting the class hint before mapping the window will allow some
window managers to determine if a window should be treated specially.
This is also in accordance with the ICCCM spec which says that
WM_CLASS should only be changed when a window is in a
withdrawn (unmapped) state.

Fixes #10429
2017-08-19 00:16:46 +02:00
Juan Linietsky 3f8efdef49 ProceduralSky now regenerates in a thread (the second time, first does not), closes #9138 2017-08-18 19:16:32 -03:00
Rémi Verschelde 53fffa12f1 minizip: Reapply Godot-specific changes for seek support
I have not assessed whether they are still all relevant.
2017-08-18 23:26:41 +02:00
Juan Linietsky cbcf40bd31 -Volume sliders, mute, solo and fx bypass are functional, closes #9021
-Fixed tree reselect, makes reselecting an audio bux FX work
2017-08-18 18:21:53 -03:00
Rémi Verschelde 5681b7b60a minizip: Sync with pristine contrib/minizip from zlib 1.2.4
Godot-specific changes are undone in this commit, they will be readded
and properly documented in the following commit.
2017-08-18 23:17:50 +02:00
Rémi Verschelde b044e7d30d Merge pull request #10426 from akien-mga/drop-old-mingw32
Windows: Drop support for obsolete MinGW
2017-08-18 22:40:21 +02:00
Rémi Verschelde 18a7315381 Rename localization method to tr again
Partial revert of #10380 based on contributor ~~bullying~~ feedback.
2017-08-18 22:38:38 +02:00
Andreas Haas 58b2f441a7
TextEdit: Fix line padding.
off-by-one error in the line count calculation.

Fixes #10411
2017-08-18 22:12:07 +02:00
Rémi Verschelde 6afa087596 Windows: Drop support for obsolete MinGW
The version we support is MinGW-w64: https://sourceforge.net/p/mingw-w64
The old original MinGW from which it was forked (https://sourceforge.net/projects/mingw),
is no longer maintained and useless for us.

Fixes #10396.
2017-08-18 21:46:46 +02:00
Juan Linietsky b20952ebff Update script signals in real-time when script changes. Fixes #8980 2017-08-18 16:44:03 -03:00
Rémi Verschelde 2ed87f33cf Workaround missing WM_TOUCH on mingw-w64 < 4.0
Upstream bug report: https://sourceforge.net/p/mingw-w64/bugs/460/
2017-08-18 21:05:19 +02:00
Andreas Haas 3f2d806b02
TextEdit: Moving between words now works across lines.
Fixes #10403
2017-08-18 20:53:27 +02:00
Juan Linietsky 72be8876ea Properly manage drawing of primitives when they lack an area, fixes #8930 2017-08-18 15:12:48 -03:00
Rémi Verschelde 3b553377c7 Windows: Drop support for Vista (0x0600)
We need the efficient SRWLock methods which are not supported on Vista,
and loading them dynamically while providing fallbacks is not worth the
effort. Closes #10243.

Sorry Vista users... As you are running a supported which is no longer
supported by Microsoft (https://support.microsoft.com/en-us/help/13853/windows-lifecycle-fact-sheet),
we can only encourage you to upgrade to a more recent version if you can,
or switch to Linux, which should give your old hardware a new youth.
2017-08-18 19:50:24 +02:00
Poommetee Ketson d28da86f9f GDScript Built-in: add inverse_lerp & range_lerp 2017-08-18 21:49:03 +07:00
Juan Linietsky dc62389739 -Properly check limits to objects sent (regarding to size), fixes #9034
-Changed the way objects are marshalled and sent to the debugger
-Editing debugged objects happens in the remote inspector now
2017-08-18 10:59:31 -03:00
Juan Linietsky e61d547ed0 Make sure local to scene resources are initialized after loading all nodes, fixes #9438 2017-08-18 08:26:41 -03:00
Rémi Verschelde 1a92906b68 Merge pull request #10406 from marcelofg55/closest_power_of_2
Add closest_power_of_2 func and implement mix_rate/latency on OS X
2017-08-18 08:12:56 +02:00
Ferenc Arn 94aa4092f5 Fix incorrect workaround for pure Y (X) rotations in XYZ (YXZ) convention.
Fixes #10352.
2017-08-18 01:45:36 -04:00
Marcelo Fernandez eab850524e Add closest_power_of_2 func and implement mix_rate/latency on OS X 2017-08-17 19:51:13 -03:00
Juan Linietsky 3a4ff3402d Oops, fixed wrong color masking problem. Closes #10149 2017-08-17 18:33:59 -03:00
Rémi Verschelde ee59e627de Merge pull request #10380 from akien-mga/XL_MESSAGE
Rename `XL_MESSAGE`/`tr` to `localize`
2017-08-17 22:41:55 +02:00
Juan Linietsky 33c1d25517 Several improvements and fixes to import system. Might fix many issues opened, but have to check in detail.. 2017-08-17 17:18:50 -03:00
Rémi Verschelde 523b3c11cf Merge pull request #10398 from Rubonnek/removed-unused-variable
Removed unused variable
2017-08-17 19:07:57 +02:00
Rémi Verschelde 44a550421c Shader: Fix typo in "facefordward"
Fixes #10399.
2017-08-17 18:15:16 +02:00
Rémi Verschelde c72529baf0 Rename XL_MESSAGE aka tr to localize
Also renames `set_message_translation` to `set_message_localization`
for consistency.
2017-08-17 18:10:22 +02:00
Wilson E. Alvarez bde864cd30 Removed unused variable 2017-08-17 11:43:44 -04:00
Marcelo Fernandez aae29c7a0e Added notification const NOTIFICATION_WM_ABOUT 2017-08-17 11:28:45 -03:00
Rémi Verschelde c4e9f6562f Merge pull request #10393 from groud/fix_progress_dialog
Fix progress dialog's bars overflowing.
2017-08-17 14:35:55 +02:00
Rémi Verschelde 22d21ebef0 Merge pull request #8144 from supagu/symlink
Reworked change_dir to support symlinks
2017-08-17 11:50:21 +02:00
Gilles Roudiere dea845b65c Fix progress dialog's bars overflowing. 2017-08-17 10:59:21 +02:00
Rémi Verschelde e2c1792d06 Merge pull request #10383 from bojidar-bg/x-fix-particles-emitting
Fix particles emitting when emitting is set to false in scene
2017-08-17 10:52:35 +02:00
Rémi Verschelde 2e54c5372d Merge pull request #10386 from Corruptinator/master
Fixed OUYA Game Controller for 3.0

[ci skip]
2017-08-17 07:36:38 +02:00
Rémi Verschelde a5604130c5 Merge pull request #10385 from RandomShaper/improve-prop-eval
Fix/improve property evaluator
2017-08-17 07:31:13 +02:00
Corruptinator c672ff80c9 Fixed OUYA Game Controller for 3.0
Input_default.cpp has been updated for the OUYA Game Controller to work
with fixed and functional mapping for Godot 3.0
2017-08-16 18:39:00 -07:00
Pedro J. Estébanez fcf52303c5 Fix/improve property evaluator
Evolution of #10366 based on what has been discussed there.

Now you can refer to the relevant object either by `self` or `s`.
No conflicts with a potential `tool` script attached to the object.
Proper cleanup since a dummy object is used to have an instance and the temporary script dies with it.
2017-08-17 02:17:18 +02:00