Commit graph

8538 commits

Author SHA1 Message Date
Paulb23 de95e65d10 Delete current line, issue 9643 2017-08-20 13:31:30 +01:00
Juan Linietsky 7e5890d23d -Fix all shadow and culling related issues, fixes #9330 2017-08-19 20:07:21 -03:00
Andreas Haas a80371ce0a
SceneTreeEditor: Fix node_selected signal emission.
Fixes #10131
2017-08-20 00:20:27 +02:00
Juan Linietsky 56d9f9df67 Merge pull request #10464 from godotengine/revert-10445-args-doubledash
Revert "Second take at making command-line arguments more UNIX-like + main.cpp and help cleanup"
2017-08-19 17:48:10 -03:00
Juan Linietsky b9dcebb37c Revert "Second take at making command-line arguments more UNIX-like + main.cpp and help cleanup" 2017-08-19 17:47:27 -03:00
Juan Linietsky 588ffbc08a Fixed wrong usage of has_no_area function, closes #10434 2017-08-19 14:54:04 -03:00
Juan Linietsky 8fc6bb8f77 Added polygon antialiasing, but it does not work on nvidia. Will have to try something else.. 2017-08-19 13:14:38 -03:00
Rémi Verschelde 01e447f3df Merge pull request #10449 from toger5/theme_redundant_border_script_panel_fix
Removed style box border for script panel. Fixes #10410
2017-08-19 18:03:59 +02:00
Rémi Verschelde 395544b4d0 Merge pull request #10447 from Paulb23/smooth_scrolling
Added smooth scrolling to TextEdit
2017-08-19 18:01:33 +02:00
Rémi Verschelde ce85179e5d Merge pull request #10446 from bojidar-bg/6583-fix-wait-node
Fix Condition + Wait nodes freezing the game
2017-08-19 18:00:20 +02:00
Rémi Verschelde aef7a3178f Merge pull request #10444 from toger5/styleBoxFlat_corner_detail_value_limitation
styleBoxFlat: clamp corner_detail + aa_size
2017-08-19 17:56:48 +02:00
Rémi Verschelde 23950cec35 Merge pull request #10442 from toger5/stylebox_corner_detail
Performance improvement for new styleBoxFlat.
2017-08-19 17:56:34 +02:00
Rémi Verschelde dc8cfbab46 Merge pull request #10445 from akien-mga/args-doubledash
Second take at making command-line arguments more UNIX-like + main.cpp and help cleanup
2017-08-19 17:50:35 +02:00
Thomas Herzog 99d4c105a8 Merge pull request #10448 from touilleMan/correct-gdnative-string-method-name
[GDnative] Correct godot_string_chars_to_utf8_with_len function name
2017-08-19 17:45:50 +02:00
toger5 475502e638 Removed style box border for script panel. Fixes #10410 2017-08-19 17:30:48 +02:00
Emmanuel Leblond 00d552b1cd
[GDnative] Correct godot_string_chars_to_utf8_with_len function name 2017-08-19 17:08:33 +02:00
Bojidar Marinov 4a0b4417a3
Fix #6583, Condition + Wait nodes freezing the game
Make sure that only the first node after VS resume gets resumed
2017-08-19 17:54:32 +03:00
Rémi Verschelde 70b0857f6c Fixes for new two-dash long command line arguments
- Fixes some single-dash leftovers that were missed in the previous commit
- Reorder the help output for clarity, and document missing options
- Drop obsolete options: --noop, --pack, --editor-scene, --level, --import, --import-script, --no-quit
- Improve error message on malformed arguments and do not display help on error
- Cleanup obsolete code here and there
2017-08-19 16:48:11 +02:00
Hugo Locurcio 27fc96f3c8 Tweak command-line arguments to make them more UNIX-like
Also improves the command-line help text readability.
2017-08-19 16:48:11 +02:00
Paulb23 a142c9a2f0 Added smooth scrolling to TextEdit 2017-08-19 15:23:45 +01:00
Juan Linietsky bacfe7a557 Fixes to label and code editor to make editing code hopefully fast again. 2017-08-19 10:51:56 -03:00
toger5 69c039ffab styleBoxFlat: clamp corner_detail + aa_size 2017-08-19 15:12:46 +02:00
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
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
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
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