Commit graph

666 commits

Author SHA1 Message Date
Rémi Verschelde
d9e94fa0c3 Fix i18n bug in GridMap string
Regression from 6134d87 causing build issue on clang.
2017-08-25 20:55:33 +02:00
Rémi Verschelde
2879a173e3 DocData: Fix extraneous space in XML tag without enum hint 2017-08-25 20:25:23 +02:00
Rémi Verschelde
f75678a94f Mi18n: erge translations with template 2017-08-25 19:00:03 +02:00
Rémi Verschelde
3034bbf908 i18n: Update template with current source
Additions: 254 msgids.
Deletions: 101 msgids.
2017-08-25 18:59:28 +02:00
Rémi Verschelde
c67984b561 i18n: Sync translations with Weblate 2017-08-25 18:57:11 +02:00
Andreas Haas
6134d8741d Editor: Add some more translatable strings. 2017-08-25 18:49:45 +02:00
Rémi Verschelde
490aef9369 Merge pull request #10581 from hpvb/fix-gcc6+
Make cast_to a static member of Object.
2017-08-25 08:37:38 +02:00
Juan Linietsky
a7e8aa4053 Fix bug where not all previews are shown, closes #9895 2017-08-24 23:40:53 -03:00
Hein-Pieter van Braam
cacced7e50 Convert Object::cast_to() to the static version
Currently we rely on some undefined behavior when Object->cast_to() gets
called with a Null pointer. This used to work fine with GCC < 6 but
newer versions of GCC remove all codepaths in which the this pointer is
Null. However, the non-static cast_to() was supposed to be null safe.

This patch makes cast_to() Null safe and removes the now redundant Null
checks where they existed.

It is explained in this article: https://www.viva64.com/en/b/0226/
2017-08-24 23:08:24 +02:00
Juan Linietsky
36e0a72c77 -Code completion for enumerations
-Disabled GDNative and GDNativeScript so build compiles again
2017-08-24 00:06:56 -03:00
Juan Linietsky
3d1c031871 Changed MethodBind API to request information from methods. It's much claner now.
Also changed PropertyInfo to include informatino about class names.
2017-08-23 19:11:11 -03:00
Hein-Pieter van Braam
3894f20d98 Remove an assignment to self
This line does a = a and has a FIXME line. It seems that reduz can't
think of a reason for it either, so here it goes.
2017-08-23 23:51:37 +02:00
Wilson E. Alvarez
433c01b7e5 Removed EditorHelp::_scroll_changed 2017-08-23 03:04:16 -04:00
Rémi Verschelde
78d9936f8d Merge pull request #10573 from tagcup/gizmo_aabb_scaling_order
Fix the order of transformations for selection bounding box in spatial editor.
2017-08-23 08:10:53 +02:00
Rémi Verschelde
0c3b90ef6b Merge pull request #10558 from RandomShaper/undo-after-auto-indent
Add ability to undo auto-indent
2017-08-23 08:08:23 +02:00
Rémi Verschelde
926890703d Merge pull request #10550 from djrm/pr_color_fixes
Child process connected message is now green.
2017-08-23 08:08:11 +02:00
Ferenc Arn
d9d9571c8c Fix the order of transformations for selection bounding box in spatial editor.
This was broken in #7438 where the ordering of scaling in Basis::scale() was fixed, but this line of code (which relied on the incorrect behavior) wasn't updated correctly.

Fixes #9894.
2017-08-22 20:05:41 -04:00
Rémi Verschelde
172519bec6 Merge pull request #10551 from djrm/pr_editor_fixes
Do not use old styles for tab buttons

[ci skip]
2017-08-23 00:05:27 +02:00
Daniel J. Ramirez
92c63dc9a7 Ability to set script debugger reason text context. 2017-08-22 14:18:41 -05:00
Pedro J. Estébanez
c2a1f3b814 Add ability to undo auto-indent
Closes #10420.
2017-08-22 19:52:17 +02:00
Rémi Verschelde
b759fc47e6 Merge pull request #10538 from groud/fix_useless_separator
Fix unneeded separator in Script Editor's Debug menu
2017-08-22 08:49:11 +02:00
Gilles Roudiere
5ea403c0ce Fix uneeded separator 2017-08-22 08:43:23 +02:00
Rémi Verschelde
c2346b92b2 Merge pull request #10507 from toger5/override_code_them_bg
added setting to override the theme background with editor theme color
2017-08-22 08:14:46 +02:00
Rémi Verschelde
4fc0a2d776 Merge pull request #10519 from toger5/remove_addition_border
Remove addition border
2017-08-22 08:10:15 +02:00
Rémi Verschelde
dd07a15fc6 Merge pull request #10527 from hpvb/fix-10517
Add null check to ScriptEditor get_current_tab_control() call
2017-08-22 08:08:42 +02:00
Mason Ashbridge
09818581b1 Fixed build for Visual Studio 2017-08-21 23:52:55 -04:00
Daniel J. Ramirez
1f90f5ed4c Do not use old styles for tab buttons 2017-08-21 21:10:12 -05:00
Hein-Pieter van Braam
24bc47b179 Add null check to ScriptEditor get_current_tab_control() call
This fixes #10517
2017-08-22 02:35:04 +02:00
Rémi Verschelde
df590fc2d3 Merge pull request #10340 from Rubonnek/remove-unnecessary-assignments
Removed unnecessary assignments
2017-08-22 00:58:12 +02:00
Rémi Verschelde
13f879587d Merge pull request #10254 from marcelofg55/master
Added notification const NOTIFICATION_WM_ABOUT
2017-08-22 00:56:31 +02:00
Juan Linietsky
2cc8309249 Merge pull request #10351 from neikeq/enums-are-for-the-weak
ClassDB: Provide the enum name of integer constants
2017-08-21 19:56:08 -03:00
Rémi Verschelde
e9c43cecbf Merge pull request #10433 from djrm/pr_svg_support
SVG support
2017-08-21 23:49:07 +02:00
toger5
ce4eb30778 added setting to override the theme background with editor theme color 2017-08-21 23:19:27 +02:00
toger5
d0c610d9ba removed additional border function. (not needed with new styleboxes) 2017-08-21 23:07:38 +02:00
Rémi Verschelde
328452e028 Merge pull request #10508 from Paulb23/increase_smooth_scroll_speed
Increased smooth scroll speed and added user setting
2017-08-21 22:19:18 +02:00
toger5
1a4d8b3e76 fixed rounded corners for visual script editor 2017-08-21 21:32:56 +02:00
Wilson E. Alvarez
738d2ab969 Removed unnecessary assignments 2017-08-21 15:15:55 -04:00
Paulb23
d6599fde0a Increased smooth scroll speed and added user setting 2017-08-21 19:20:11 +01:00
Rémi Verschelde
93f1fb1c2f 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
- Always use long form of arguments when starting a new Godot process from C++, for clarity and easy grepping
- Cleanup obsolete code here and there
2017-08-21 08:09:22 +02:00
Hugo Locurcio
1d757c43d7 Tweak command-line arguments to make them more UNIX-like
Also improves the command-line help text readability.
2017-08-21 08:08:35 +02:00
Juan Linietsky
533014b88c simplify the way window is allowed to steal focus, no longer relying on project.godot. Closes #9459 2017-08-20 23:42:54 -03:00
Rémi Verschelde
35d5724519 Fix mismatched hints for filesystem/import/pvrtc_texture_tool 2017-08-20 22:23:58 +02:00
Ignacio Etcheverry
32dd9a9f66 ClassDB: Provide the enum name of integer constants 2017-08-20 22:07:43 +02:00
Rémi Verschelde
952db3e676 Merge pull request #10483 from Zylann/orbit_sensitivity
Reduced default orbit sensitivity for smoother rotation
2017-08-20 21:05:55 +02:00
Daniel J. Ramirez
0c18009665 Added missing icon and svgs upscaling 2017-08-20 13:53:09 -05:00
Daniel J. Ramirez
c873661c30 Added pure vector theme, with dark icons variation 2017-08-20 13:53:09 -05:00
Daniel J. Ramirez
da8fecf25e Added support for SVG 2017-08-20 13:53:02 -05:00
Juan Linietsky
ab13d0aeed Inspector is no longer cleared when game runs, fixes #9408 2017-08-20 15:21:45 -03:00
Marc Gilleron
ede58e48d8 Reduced default orbit sensitivity for smoother rotation 2017-08-20 18:22:45 +02:00
Juan Linietsky
541fdffc0a Merge pull request #10319 from neikeq/pr-engine-editor-hint
Adds Engine::is_editor_hint() method
2017-08-20 12:55:46 -03:00