Commit graph

8759 commits

Author SHA1 Message Date
Ignacio Etcheverry
ddb1ce08c3 Fixes missing default arguments in MethodInfo 2017-08-29 19:40:28 +02:00
Ignacio Etcheverry
c16d00591b DocData and type hints fixes
- Makes vararg methods automatically use PROPERTY_USAGE_NIL_IS_VARIANT on return types
- Completely removes the ":type" suffix for method names. Virtual methods must use the MethodInfo constructors that takes Variant::Type or PropertyHint as the first parameter for the return type (with CLASS_INFO as a helper to get the PropertyInfo). Parameters must use PROPERTY_HINT_RESOURCE_TYPE and hint string.
- PROPERTY_USAGE_NIL_IS_VARIANT is no longer needed for parameters, because parameters cannot be void.
- Adds missing PROPERTY_USAGE_NIL_IS_VARIANT to virtual and built-in methods that return Variant.
2017-08-29 19:40:21 +02:00
Rémi Verschelde
909c9e0ba0 Merge pull request #10701 from hpvb/fix-callback-crash
Fix a crash in gdscript callbacks
2017-08-28 00:00:13 +02:00
Hein-Pieter van Braam
8064fbb174 Fix a crash in gdscript callbacks
This fixes a crash running the 'goltorus' project.
2017-08-27 23:49:13 +02:00
Rémi Verschelde
9e0fbb49c1 Merge pull request #10699 from akien-mga/burn-burn-burn
Dead code tells no tales
2017-08-27 22:46:40 +02:00
Rémi Verschelde
7ad14e7a3e Dead code tells no tales 2017-08-27 22:13:45 +02:00
Juan Linietsky
37da8155a4 -Largely rewrote gridmap to simplify it
-Got editor working again
-Added a current-floor marker on selection
2017-08-27 16:02:00 -03:00
Rémi Verschelde
bd282ff43f Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
Rémi Verschelde
c90bfcb1c6 Re-apply clang-format to all files
Some badly formatted code has managed to pass through our CI...
2017-08-27 14:16:32 +02:00
Rémi Verschelde
21e53c4267 Buildsystem: Reduce verbosity of font and translation generation 2017-08-27 13:45:56 +02:00
Rémi Verschelde
3acf6857d9 nanosvg: Document in COPYRIGHT.txt and thirdparty README.md 2017-08-27 13:32:23 +02:00
Rémi Verschelde
ec6a9617bb Copyright: Add etc2comp and small fixes 2017-08-27 12:16:36 +02:00
Rémi Verschelde
c3ab9eb590 zstd: Update to upstream version 1.3.1
It is now dual-licensed BSD-3-Clause and GPL-2.0, we use the former.
The PATENTS file is no longer applicable \o/

Also add zstd to COPYRIGHT.txt
2017-08-27 12:05:39 +02:00
Rémi Verschelde
560fc0f199 stb: Update to upstream stb_truetype 1.17 and stb_vorbis 1.11
Also fix documented OpenSSL version, it was updated to 1.0.2l in
67305d1b0a.
2017-08-27 11:40:26 +02:00
Rémi Verschelde
ee1d0179c5 libpng: Update to upstream version 1.6.32
Fixes security vulnerability in our 1.6.31rc01 snapshot.
2017-08-27 11:37:42 +02:00
Rémi Verschelde
73d2504fce Merge pull request #10682 from Noshyaar/pr-csv
ImporterCSV: print error condition to console
2017-08-27 09:53:22 +02:00
Rémi Verschelde
5f18b56a7e Merge pull request #10680 from Noshyaar/pr-viewport
Viewport: fix 'size' binding from Rect2 to Vector2
2017-08-27 09:46:28 +02:00
Rémi Verschelde
1f011035d7 Merge pull request #10678 from Zylann/bind_array_max
Bind missing ArrayMesh.ARRAY_MAX
2017-08-27 09:41:06 +02:00
Poommetee Ketson
4940f490c4 ImporterCSV: print error condition to console 2017-08-27 13:48:48 +07:00
Poommetee Ketson
87917e769f Viewport: fix 'size' binding from Rect2 to Vector2 2017-08-27 12:03:19 +07:00
Marc Gilleron
46cee03ad4 Bind missing ArrayMesh.ARRAY_MAX 2017-08-27 04:18:02 +02:00
Rémi Verschelde
a6e37ae2bf Merge pull request #10600 from MasonAsh/fix-10596
Script editor: fixed no key repeat for CTRL+Y
2017-08-27 02:11:58 +02:00
Rémi Verschelde
9c71da00aa Merge pull request #10590 from MasonAsh/fix-10589
Fix shader function calls being assignable
2017-08-27 02:11:46 +02:00
Rémi Verschelde
6e7f0190ee Merge pull request #10579 from quinnyo/rpc-sender-id
Method to get ID of RPC calling peer
2017-08-27 02:11:30 +02:00
Rémi Verschelde
612099e377 Merge pull request #10591 from Rubonnek/possible-null-ptr-dereference
Added/Fixed null pointer checks
2017-08-27 02:10:56 +02:00
Rémi Verschelde
ea55b400d9 Merge pull request #10598 from Rubonnek/free-memory
Free memory when Main::setup returns an error
2017-08-27 02:10:41 +02:00
Rémi Verschelde
5976e8d7de Merge pull request #10625 from Rubonnek/fixed-leaks
Fixed several memory leaks
2017-08-27 02:10:32 +02:00
Rémi Verschelde
e8345c824e Merge pull request #10657 from Noshyaar/pr-debug
Monitor: add hint, fix certain graph not drawn
2017-08-27 02:10:03 +02:00
Rémi Verschelde
fe26bcd8c6 Merge pull request #10653 from tuga3d/indent-glitch
Added a cursor column check.
2017-08-27 02:09:57 +02:00
Rémi Verschelde
0fc2b3aa69 Merge pull request #10660 from Noshyaar/pr-tree
Tree: fix RMB click collapses next item
2017-08-27 02:09:10 +02:00
Rémi Verschelde
00f0884eac Merge pull request #10665 from Hinsbart/save_update_mode
Editor: Remember update mode.
2017-08-27 02:08:53 +02:00
Rémi Verschelde
1a3e524d5b Merge pull request #10666 from neikeq/methodinfo-opequal
MethodBind: Adds operator== to compare by id
2017-08-27 02:08:38 +02:00
Rémi Verschelde
3ec9e26cb4 Merge pull request #10669 from hpvb/fix-6118
Add several missing Null checks in _notification
2017-08-27 02:07:41 +02:00
Rémi Verschelde
68fc2146d1 Merge pull request #10670 from neikeq/oh-hello-there
EditorHelp: Fixes desc of vararg methods
2017-08-27 02:07:18 +02:00
Rémi Verschelde
5249ce4f91 Merge pull request #10673 from hpvb/fix-10620
Always size project icons to default icon size
2017-08-27 02:06:43 +02:00
Rémi Verschelde
67b152ab49 Merge pull request #10671 from hpvb/fix-10654
Add two missing Null checks
2017-08-27 02:05:54 +02:00
Hein-Pieter van Braam
a276320329 Always size project icons to default icon size
I wasn't able to reproduce the issue, but this should fix #10620
2017-08-27 00:27:10 +02:00
Hein-Pieter van Braam
3e25cf9e05 Add two missing Null checks
These Null checks were removed in #10581 but actually changed the
logic of the functions in this case.

This fixes #10654
2017-08-26 23:40:45 +02:00
Ignacio Etcheverry
4314050ea7 EditorHelp: Fixes desc of vararg methods 2017-08-26 23:15:34 +02:00
Wilson E. Alvarez
7a07895920 Added/Fixed null pointer checks 2017-08-26 16:58:47 -04:00
Hein-Pieter van Braam
9a1d9a41eb Add several missing Null checks in _notification
This fixes #6118
2017-08-26 22:50:15 +02:00
Ignacio Etcheverry
b50a937fe6 MethodBind: Adds operator== to compare by id 2017-08-26 21:41:25 +02:00
Andreas Haas
b2ec9e108d
Save update mode in project metadata. 2017-08-26 20:43:28 +02:00
Rémi Verschelde
53c0010932 Merge pull request #10658 from henkz1/android-build
Fix Android build
2017-08-26 20:32:23 +02:00
Paulo Gomes
056b0976bc Added a cursor column check.
Fixes glich, when cursor is on column 0 of and indented line and you
press return an extra indent is added.
2017-08-26 19:22:05 +01:00
Rémi Verschelde
53acb7876d Merge pull request #10664 from Noshyaar/patch-2
Fix double single quotes in `connect` error print
2017-08-26 19:54:45 +02:00
Poommetee Ketson
4950ef7478 Fix double single quotes in connect error print 2017-08-27 00:46:33 +07:00
Henrik Andersson
3cd3c1da5f Fix refactored Object::cast_to in NO_SAFE_CAST branch 2017-08-26 18:59:37 +02:00
Poommetee Ketson
5e889cce4f Tree: fix RMB click collapses next item 2017-08-26 23:55:43 +07:00
Rémi Verschelde
9f1e3903df Merge pull request #10648 from Xrayez/image-get-size
Add handy get_size() method to Image class
2017-08-26 18:37:08 +02:00