Commit graph

7350 commits

Author SHA1 Message Date
Poommetee Ketson c7ac90c97f Fix autoplay animation starts from last editor state #8976 2017-05-31 23:54:40 +07:00
Thomas Herzog d82cc20c2a Merge pull request #9004 from sheepandshepherd/gdnative_copy_ctors
Expose copy constructor for some GDNative types
2017-05-30 23:40:11 +00:00
sheepandshepherd 9f34bb4ebe Wrap copy constructor for some GDNative types 2017-05-31 00:03:50 +02:00
Juan Linietsky 5567e898d1 Several fixes related to PBR and Environment 2017-05-30 08:56:19 -03:00
Rémi Verschelde 0a6faeb4f5 Merge pull request #8996 from groud/contributing-readme
CONTRIBUTING.md : formatting to 80 columns and added a little paragraph about translations

[ci skip]
2017-05-30 11:40:33 +02:00
Gilles Roudiere 4f874e4f8e Formatting CONTRIBUTING.md to 80 colums
Added a little paragraph about how to contribute to Godot's translations
2017-05-30 11:28:58 +02:00
Rémi Verschelde 74a0bed3d2 Merge pull request #8986 from Hinsbart/cursor_warning
X11: Turn warning about not finding cursor theme into verbose output.
2017-05-29 20:47:05 +02:00
Andreas Haas d6333066fc
X11: Turn warning about not finding cursor theme into verbose output.
Failing to get the cursor theme should not cause any issues since we're then using the default one anyway.
So I removed the warning and made it a verbose-only print instead, as people tend to mistake it for a real error..
(pretty much like `iCCP: known incorrect sRGB profile` :P)
2017-05-29 20:41:18 +02:00
Rémi Verschelde b3c6d9914a Merge pull request #8978 from noshyaar/pr-sort
NaturalSort: strings start with . treated differently
2017-05-29 08:09:45 +02:00
suptoasty e0befd2f23 Fixed a typo in a Visual Server var name (#8977) 2017-05-29 08:08:16 +02:00
Poommetee Ketson ff03d846eb NaturalSort: strings start with . treated differently 2017-05-29 09:59:02 +07:00
Juan Linietsky bb20f230ad -Added .hdr format support
-Added default environment editor setting
-Added environment created by default in new projects
-Removed default light and ambient from spatial editor, to make the editor more PBR compliant
2017-05-28 21:48:05 -03:00
Rémi Verschelde 06fc963796 Merge pull request #8975 from timoschwarzer/new-icons
Use new icons everywhere
2017-05-28 21:50:09 +02:00
Rémi Verschelde 0daa6174be Remove obsolete signal_renames file 2017-05-28 21:35:58 +02:00
Rémi Verschelde 47e0e530a9 opus: Update to upstream version 1.1.5 2017-05-28 21:15:14 +02:00
Timo Schwarzer 1e29d92dfa Use new icons everywhere
Closes #8879
2017-05-28 20:18:30 +02:00
Rémi Verschelde a100f01870 Merge pull request #8972 from Kristonitas/master
Fixing typo for rect_position in _change_notify call for Control
2017-05-28 17:00:25 +02:00
Kristupas Stumbrys 0251e9eb01 Fixing typo for rect_position in _change_notify call for Control 2017-05-28 16:38:22 +03:00
Rémi Verschelde c814d65fae Merge pull request #8966 from voithos/path2d-bezier-handle-fix
Fix moving path controls in edit mode.
2017-05-28 10:04:56 +02:00
Rémi Verschelde 8125bbba59 Merge pull request #8968 from noshyaar/pr-bug2
CreateDialog: fix activating recent item creates node selected in search result
2017-05-28 09:29:51 +02:00
Rémi Verschelde ba5098a123 Merge pull request #8967 from noshyaar/pr-bug
CreateDialog: select root if search exactly match
2017-05-28 09:28:57 +02:00
Poommetee Ketson db64fcdd5f CreateDialog: fix activating recent item creates node selected in search result 2017-05-28 13:40:08 +07:00
Poommetee Ketson 9fb90d7aea CreateDialog: select root if search exactly match 2017-05-28 12:53:11 +07:00
Zaven Muradyan f460f82ec1 Fix moving path controls in edit mode.
The previous code would never trigger the subsequent conditionals (for
moving the control points) when in EDIT_MODE because the point
conditionals were nested instead of being a conjunction.
2017-05-27 18:47:45 -07:00
Rémi Verschelde 1525071c28 Merge pull request #8960 from akien-mga/openssl-1.0.2l
OpenSSL: Cleanup and document update process from upstream sources + 1.0.2l
2017-05-27 19:51:04 +02:00
Rémi Verschelde 67305d1b0a openssl: Sync with upstream 1.0.2l 2017-05-27 19:08:07 +02:00
Rémi Verschelde 996f1ae29e openssl: Reapply necessary UWP changes from patch 2017-05-27 19:08:07 +02:00
Rémi Verschelde c1b0662b40 openssl: Define WIN32_LEAN_AND_MEAN on Windows
This avoids namespace collisions with things such as X509_NAME.
Also force include of necessary definitions in `crypto/o_str.c`
which seem missing on MSVC (but work on MinGW).
2017-05-27 19:08:03 +02:00
Rémi Verschelde cb0f771aaa openssl: Sync with pristine upstream 1.0.2h
Our necessary custom changes will be reapplied in later commits for clarity,
and saved as patches for future updates.
2017-05-27 15:45:25 +02:00
Rémi Verschelde 022541d917 openssl: Document update process and delete unused files 2017-05-27 15:22:49 +02:00
Rémi Verschelde ce8bf1592a TinyEXR: Document licensing and copyright 2017-05-27 13:41:18 +02:00
Rémi Verschelde 37f5e1dcd9 Fix MinGW-w64 build of TinyEXR for old toolchains
MinGW-w64 is at version 2.0.1 on our current Travis CI toolchain, and seems
not to like fopen_s.
2017-05-27 13:13:31 +02:00
Geequlim b93fce1c18 Fix text warp in color blocks with CJK
(cherry picked from commit cd778e00dc)
2017-05-27 11:37:33 +02:00
Sean Bohan cba62864c8 Fix item list scroll speed.
Remove the extra `set_val` action after the proper one, so the right scroll value won’t get overrided any more.

(cherry picked from commit 064dce7a4c)
2017-05-27 11:37:33 +02:00
Rémi Verschelde d8381ef28f Merge pull request #8956 from mcanders/mcanders/ProfilerInputFix
Fix incorrect input event reference in editor_profiler.cpp
2017-05-27 11:36:54 +02:00
Rémi Verschelde 9130f0a89f Merge pull request #8955 from mcanders/mcanders/AnimationEditorInputFix
Fix incorrect input event reference in animation_editor.cpp
2017-05-27 11:35:48 +02:00
Rémi Verschelde 6a08833516 Merge pull request #8933 from Hinsbart/is_keyword
GDScript: Use "is" keyword for type checking.
2017-05-27 11:30:30 +02:00
Rémi Verschelde 168d8a57da Merge pull request #8942 from RandomShaper/warn-levels
Rework warning levels
2017-05-27 11:30:14 +02:00
Rémi Verschelde 378ebffb23 Merge pull request #8936 from Hinsbart/fix_action
Fix InputEvent actions.
2017-05-27 11:29:05 +02:00
Rémi Verschelde 96be464952 Merge pull request #8935 from volzhs/get-locale-master
Make OS.get_locale() returns same value
2017-05-27 11:27:39 +02:00
Rémi Verschelde 94edf16272 Merge pull request #8929 from nunodonato/themecolors
Added color presets for easy theme switching
2017-05-27 11:25:43 +02:00
Rémi Verschelde 2b25147450 Merge pull request #8928 from nunodonato/helpmenu
Added an help menu
2017-05-27 11:25:09 +02:00
Carter Anderson 49c00bd19b Fix incorrect input event reference in editor_profiler.cpp 2017-05-27 04:17:05 -05:00
Carter Anderson 3b05f2c74f Fix incorrect input event reference in animation_editor.cpp 2017-05-27 04:05:15 -05:00
Andreas Haas 015d36d18b
GDScript: Use "is" keyword for type checking.
Replaces the `extends` keyword with `is` in the context of testing for type compatibility.
`extends` is still used for declaring class inheritance.

Example:

```gdscript
extends Node2D

func _input(ev):
	if ev is InputEventKey:
		print("yay, key event")
```
2017-05-27 10:59:59 +02:00
Andreas Haas 3204befd1e
Fix InputEvent actions.
The `InputEvent::is_action(pressed|released)` methods weren't implemented yet.
Also fixed a typo in `InputDefault` that prevented `Input.is_action(pressed|released)` from working.
2017-05-27 10:52:57 +02:00
Juan Linietsky f89641907f -Added EXR supprot for HDR (no BC6 compression yet though)
-Improvements to texture importer
-Proper detection of S3TC compression modes, and added all modes to Image
-Fixes to non-power of 2 compressed textures, which should all be supported by GLES3
2017-05-26 22:31:32 -03:00
Pedro J. Estébanez d46e246d0f Rework warning levels
Now you have: extra, all (the default), moderate, no.
The old 'yes' option is still supported, but a warning will be printed and 'all' will be assumed.

The different options will translate to the following:

MSVC:
extra -> /Wall (implies /W4)
all -> /W3 + disable non-essential (*)
moderate -> /W2 + disable non-essential (*)
no -> /w

GCC/Clang:
extra -> -Wall -Wextra
all -> -Wall
moderate -> -Wall -Wno-unused
no -> -w

* = Truncations, narrowing conversions...: /wd4267 /wd4244 /wd4305 /wd4800
2017-05-27 02:30:27 +02:00
Rémi Verschelde 41918f328a Merge pull request #8939 from RandomShaper/ccflags-iphone
Allow custom CCFLAGS for iPhone builds
2017-05-27 00:48:57 +02:00
Pedro J. Estébanez 2a52e2b2f5 Allow custom CCFLAGS for iPhone builds
plus disable exceptions by default
2017-05-27 00:31:00 +02:00