Commit graph

5690 commits

Author SHA1 Message Date
Rémi Verschelde b491944130 Merge pull request #6636 from pkowal1982/lineedit
LineEdit long indicator, fix #6624
2016-09-29 09:34:29 +02:00
Rémi Verschelde b8c60636db Merge pull request #6637 from Zylann/windows_print_overflow
Windows: prevent huge prints from crashing the engine
2016-09-29 09:31:52 +02:00
Andreas Haas f81d009525
Add inline ColorPicker to Script text editor.
Adds an option to the script editor context menu that lets you open
a ColorPicker in order to easily edit `Color()` constructors.
To do this, right click on the word `Color` and select `Pick Color`.

A side effect of this change is that the script editor now has its own
context menu instead of re-using the one from TextEdit.
It's now possible to indent left/right and to toggle comments via this menu.
I also felt free to make it more context-sensitive than before:
Now "Cut" and "Copy" will only be shown if text has actually been selected.

I also added default shortcuts for indent left/right. (alt + left/right)

Closes #6232
2016-09-29 09:12:45 +02:00
Marc Gilleron 0c09de3ef1 Windows: prevent huge prints from crashing the engine 2016-09-29 03:15:12 +02:00
Pawel Kowal 3edc0a4832 LineEdit long indicator, fix #6624 2016-09-28 22:05:34 +02:00
Rémi Verschelde 68325d7254 Merge pull request #6615 from syskrank/master
minor cleanup for code in the "platform" section
2016-09-28 16:51:41 +02:00
Błażej Szczygieł 5585bc1c38 Don't crash when video is stopped and played again 2016-09-28 13:39:06 +02:00
Rémi Verschelde 33af4a9746 Merge pull request #6623 from Hinsbart/action_just_completion
Code completion for is_action_just_{pressed, released}
2016-09-27 09:23:02 +02:00
Victor Seiji Hariki e5edd50d62 Now ignoring remaining collision shapes. 2016-09-26 23:40:06 -03:00
Andreas Haas 5e7db2a5b4
Code completion for is_action_just_{pressed, released}
fixes #6621
2016-09-26 22:16:27 +02:00
Rémi Verschelde 73a7b91459 Merge pull request #6568 from Hinsbart/joy_names
Add functions to get readable names for joystick events
2016-09-26 12:45:31 +02:00
syskrank af4b0db1e4 removed confusing "if(true)" statement with empty "else" block 2016-09-26 12:30:59 +03:00
Rémi Verschelde db1a9863d2 Merge pull request #6607 from zaps166/fix-crash-in-process_hdr
Don't crash in "_process_hdr()" if "framebuffer.luminance" is empty
2016-09-26 09:49:49 +02:00
Rémi Verschelde a3c7988e8e Merge pull request #6604 from touilleMan/patch-1
Add CC parameter to allow use of custom C compiler
2016-09-26 09:44:42 +02:00
Pawel Kowal acc242fd6a Tween reset/stop/resume/remove for all object properties at once 2016-09-25 23:25:52 +02:00
Andreas Haas 276087e92d
Throw error when trying to emit a non-existing signal.
closes #6017
2016-09-25 19:26:01 +02:00
Błażej Szczygieł 7b8fe97888 Don't crash in "_process_hdr()" if "framebuffer.luminance" is empty
If "glFramebufferTexture2D()" fails on old drivers the Vector is empty.
Don't allow to read from empty Vector (NULL pointer).
2016-09-25 13:09:23 +02:00
Błażej Szczygieł ca3b8deb78 Don't crach when OpenGL version is unsupported 2016-09-25 13:06:14 +02:00
Błażej Szczygieł a27fafb273 Add compatibility with old OpenGL 2.1 drivers
If ARB_framebuffer_object is not supported, try to fall-back to
EXT_framebuffer_object if present.

In current version of godot, the way framebuffers are used is backward
compatible with the older EXT_framebuffer_object extension.

Fixes #6591
Done with SuperUserNameMan
2016-09-25 12:58:22 +02:00
Emmanuel Leblond cfd17de230 Add CC parameter to allow use of custom C compiler 2016-09-25 11:58:54 +02:00
Andreas Haas 3cce39c2d3
AnimationEditor: zoom using ctrl+wheel
closes #6585
2016-09-23 14:57:54 +02:00
Rémi Verschelde 20c7b65b7e Merge pull request #6588 from SuperUserNameMan/expose_geometryinstance_get_aabb_etc
expose GeometryInstance.get_aabb() etc fixes #6587
2016-09-23 07:42:39 +02:00
romeojulietthotel 94d6757a0d Use pkgconfig to locate ALSA libs (#6119)
* This allows building when ALSA libs are in a non-standard location. PKG_CONFIG_PATH alone is not enough as the final link fails. Adding this makes the final link succeed.

* The extra LIBS flag for alsa is not needed so removing.
2016-09-23 07:38:57 +02:00
Rémi Verschelde 2af6b3dd1b Merge pull request #6574 from RandomShaper/fix-android-export
Fix manifest generation bug in Android export
2016-09-23 07:28:04 +02:00
yg2f c1e2358914 expose GeometryInstance.get_aabb() etc fixes #6587
expose ``GeometryInstance.get_aabb();`` to gdscript
expose ``VisualInstance.get_transformed_aabb();`` to gdscript
and debug ``ImmediateGeometry::add_vertex()``;
2016-09-22 23:06:07 +02:00
Rémi Verschelde 53c1c7ff8f Merge pull request #6584 from Hinsbart/mod_release
x11: Fix event.is_action() for release of modifier keys
2016-09-22 15:33:15 +02:00
Andreas Haas 6fcf2b2bd8
x11: Fix event.is_action() for release of modifier keys
The bug was that the release events for these also had the modifier state set, so the event comparison
failed.

Fixes #5901
2016-09-22 12:24:44 +02:00
Rémi Verschelde a63167459c Merge pull request #6581 from vnen/fix-mainscreen-crash
Fix crash when disabling main screen plugin
2016-09-22 12:10:23 +02:00
George Marques 0ec2b7baea
Fix crash when disabling main screen plugin 2016-09-21 19:17:55 -03:00
Pedro J. Estébanez 2c9d98bb48 Fix manifest generation bug in Android export 2016-09-21 12:46:40 +02:00
Rémi Verschelde 2f776af2e6 Merge pull request #6573 from syskrank/master
removed redundant assign operation in mesh_add_surface
2016-09-21 07:45:00 +02:00
Rémi Verschelde ae825c5c18 Merge pull request #6569 from vnen/winrt-build
Change winrt build to be less dependent on ANGLE
2016-09-21 07:40:18 +02:00
knd 708a028ce8 removed redundant assign operation in mesh_add_surface: elem_count is reassigned a value before the old one has been used. 2016-09-21 05:23:42 +03:00
George Marques 5c21d49caf
Change winrt build to be less dependent on ANGLE
Now it does not try to build if the solution is not found. This way it's
possible to provide a minimal package with includes and libs and make it
build correctly.

Also remove messages from detect.py since it is ran for every platform
target.
2016-09-20 20:02:58 -03:00
Andreas Haas e0fcd9331a
Add function to get readable names for joystick events
Closes #6476
2016-09-20 23:36:09 +02:00
Geequlim fd236a4b6c More custom theme support for editor 2016-09-20 20:41:57 +08:00
Ignacio Etcheverry 1c50dfdf6c Merge pull request #6557 from anneomcl/master
Fix for #6158
2016-09-20 09:28:26 +02:00
anneomcl aa5ade834c Fix for #6158. Converting Vector2 to Size2 for scaling functions. 2016-09-19 23:31:45 -07:00
Rémi Verschelde 82f5130cad Merge pull request #6552 from Hinsbart/vec2_clamped
Expose Vector2::clamped() to scripts
2016-09-20 06:33:55 +02:00
Rémi Verschelde 52431741d4 Merge pull request #6551 from vnen/doc-xml-tree
Add docs for XMLparser, VideoPlayer and most of Tree
2016-09-20 06:21:28 +02:00
Pawel Kowal 623c483eba Show True/False tooltip in property editor for bool values 2016-09-19 23:41:48 +02:00
George Marques 7cd64c3c8d
Add docs for XMLparser, VideoPlayer and most of Tree 2016-09-19 18:39:36 -03:00
Andreas Haas c21412fa7e
Expose Vector2::clamped() to scripts
Needed this and wondered that there's no built-in function for it.
So I wanted to implement it and saw that it's actually already there, just wasn't bound ^^
2016-09-19 23:10:30 +02:00
Pawel Kowal dd4f2a2ccb Use full width of TreeItem::Cell to change value in CELL_MODE_CHECK 2016-09-19 23:07:24 +02:00
Rémi Verschelde d47e1f11fe Merge pull request #6549 from Hinsbart/default_layout
Make the choosable default editor layout the same as the actual default

[ci skip]
2016-09-19 18:59:53 +02:00
Andreas Haas a2bff72eee
Make the choosable default editor layout the same as the actual default one.
Fixes #6266
2016-09-19 18:52:08 +02:00
Rémi Verschelde 829d69ba52 Merge pull request #6545 from Hinsbart/textedit
Fix ability to cut/paste text in LineEdit/TextEdit in readonly mode.

[ci skip]
2016-09-19 14:25:48 +02:00
Andreas Haas 9c71e5a9df
Fix ability to cut/paste text in LineEdit/TextEdit in readonly mode.
Fixes #6466
2016-09-19 14:17:48 +02:00
Rémi Verschelde c284ebfb97 Merge pull request #6534 from djrm/icons
New distraction free mode icon
2016-09-18 20:12:12 +02:00
Rémi Verschelde cfa868e900 Merge pull request #6525 from vnen/plugin-bottom-show-hide
Expose bottom panel show/hide for plugins
2016-09-18 20:06:10 +02:00