Commit Graph

19391 Commits

Author SHA1 Message Date
marxin
e5f665c718 Fix -Wsign-compare warnings.
I decided to modify code in a defensive way. Ideally functions
like size() or length() should return an unsigned type.
2019-02-27 07:45:57 +01:00
Rémi Verschelde
ce114e35dd
Merge pull request #26313 from ivanarh/master
iOS: Fixed possible crash in applicationDidReceiveMemoryWarning
2019-02-26 17:10:16 +01:00
Ivan Ponomarev
1d576f17a7 Fixed possible crash on iOS in applicationDidReceiveMemoryWarning method: event loop may be null when it's called. 2019-02-26 18:36:20 +03:00
Juan Linietsky
5eeb06ffd1 -Remove harcoded opengl extension testing from OS, ask rasterizer instead.
-Fixed a bug where etc textures were imported broken
2019-02-26 11:58:47 -03:00
Juan Linietsky
3299045988 Remove setting that caused is_inside_tree() errors on doppler tracking enabled. 2019-02-26 09:16:23 -03:00
Rémi Verschelde
22ee7ba4f0
Merge pull request #26294 from WindyDarian/fix_saturate_in_visual_shader
Fix saturate ScalarFunc in Visual Shader
2019-02-26 09:26:43 +01:00
Rémi Verschelde
68f675fba2
Merge pull request #26290 from groud/move_setting_to_layout
Move the FileSystem dock layout properties to the per-project layout file
2019-02-26 09:14:41 +01:00
Rémi Verschelde
e47b4bdc3d
Merge pull request #26286 from kaadmy/gles2_ortho_shadow
Fix orthographic shadow color when using GLES2
2019-02-26 08:50:42 +01:00
Windy Darian
52538b200f Fix saturate ScalarFunc in Visual Shader
Was getting this error when using a saturate node. This change fixes it.
```
 :39 - Invalid arguments for built-in function: max(float,int)
 drivers\gles3\rasterizer_storage_gles3.cpp:2150 - Condition ' err != OK ' is true.
```
2019-02-25 23:30:03 -05:00
Juan Linietsky
a32b26dfa2 Several fixes to make GLES2 on HTML5 work much better.
Changed math class error reporting to be a bit less paranoid.
2019-02-25 21:47:29 -03:00
Gilles Roudiere
de95493de2 Move the FileSystem dock layout properties to the per-project layout file 2019-02-25 23:39:49 +01:00
KaadmY
e1a34d0728 Fix orthographic shadow color when using GLES2 2019-02-25 13:57:23 -08:00
Rémi Verschelde
51c1d55cf9
Merge pull request #26283 from neikeq/issue-25330
Make export templates extraction handle subdirectories
2019-02-25 20:46:58 +01:00
Rémi Verschelde
8930347c48
Merge pull request #26279 from ericrybick/master
Fix Editor crash after disabling plugin that used "forward_spatial_gui_input" #26124
2019-02-25 20:07:39 +01:00
Ignacio Etcheverry
50a137e393 Make export templates extraction handle subdirectories
Fixes #25330
2019-02-25 19:56:58 +01:00
Rémi Verschelde
baefda6686
Merge pull request #26278 from akien-mga/stretch-shrink-step
Fix property hint for stretch strink setting
2019-02-25 18:23:24 +01:00
Juan Linietsky
d360931e1f
Merge pull request #26280 from YeldhamDev/revert_merge_all_fix
Revert "Fix 'UndoRedo's 'MERGE_ALL' mode repeating instructions when quickly commiting actions"
2019-02-25 14:20:38 -03:00
Michael Alexsander Silva Dias
dcf6c4a368 Revert "Fix 'UndoRedo's 'MERGE_ALL' mode repeating instructions when quickly commiting actions"
This reverts commit 79f1d8b4fb.
2019-02-25 14:09:33 -03:00
Rémi Verschelde
4a9c0ed8d9
Merge pull request #26277 from bojidar-bg/25904-update-stylebox-change
Update controls when a stylebox or icon override changes
2019-02-25 17:23:15 +01:00
Eric Rybicki
747b9ac870 Fix editor crash after disabling plugin that used forward_spatial_gui_input
Fixes #26124.
2019-02-25 17:11:04 +01:00
Rémi Verschelde
f74d8b23b0
Merge pull request #26271 from Chaosus/wrapi64
Fix wrapi to use int64_t instead int
2019-02-25 16:54:13 +01:00
Rémi Verschelde
8862d37e69 Fix property hint for stretch strink setting
Fixes #25184.
2019-02-25 16:53:33 +01:00
Bojidar Marinov
8dad5f1e10
Update controls when a stylebox or icon override changes; change to CONNECT_REFERENCE_COUNTED
Also, cleanup unnessesary calls to update() and NOTIFICATION_THEME_CHANGED.

Fixes #25904.
2019-02-25 17:42:38 +02:00
Rémi Verschelde
88a36e20cb doc: Sync classref with current source 2019-02-25 11:22:41 +01:00
Rémi Verschelde
51bd516a07 doc: Fix wrong tag 2019-02-25 11:17:56 +01:00
Rémi Verschelde
f3127d327c
Merge pull request #26218 from cbscribe/kcc_array_doc
[DOCS] Minor classref updates.
2019-02-25 10:03:53 +01:00
Rémi Verschelde
b520846c68
Merge pull request #26250 from Faless/net/gdnative
Fixing C compatiblity for GDNative NET module
2019-02-25 09:26:52 +01:00
Chaosus
bc4d781277 Fix wrapi to use int64_t instead int 2019-02-25 10:51:04 +03:00
Chris Bradfield
08c3a2241d [DOCS] Minor classref updates. 2019-02-24 20:30:26 -08:00
Juan Linietsky
31656301b2 Removed debug function. 2019-02-24 23:12:27 -03:00
Juan Linietsky
74d0ed2236 Many separate fixes to ensure non power of 2 textures work on GLES2, closes #25897 and many others 2019-02-24 22:36:53 -03:00
Hein-Pieter van Braam
5f34664f61
Merge pull request #26255 from hpvb/fix-26239
Explicitly use floating point numbers in the our shaders
2019-02-25 00:55:25 +01:00
Hein-Pieter van Braam
fc5792f2ea
Merge pull request #26160 from marxin/come-up-with-use_gcc
Come up with use_gcc.
2019-02-25 00:50:53 +01:00
Hein-Pieter van Braam
3d5fc1bb38
Merge pull request #26161 from marxin/add-Wwrite-strings
Add -Wwrite-strings into all and extra warnings.
2019-02-25 00:50:39 +01:00
Hein-Pieter van Braam
0fdcebfbb7
Merge pull request #26242 from serados/init_mouse_pos_win
Update Windows global mouse position at startup
2019-02-25 00:48:52 +01:00
Hein-Pieter van Braam
a83e77fded Explicitly use floating point numbers in the our shaders
We need to be explicit about using floating point numbers in our shaders
for compatibility with mobile GLES drivers.
2019-02-24 23:35:10 +00:00
Hein-Pieter van Braam
21c0750106
Merge pull request #26253 from hpvb/vpx-use-x86inc
Disable all use of avx instructions
2019-02-24 23:32:23 +01:00
Hein-Pieter van Braam
ab276f67b8 Disable all use of avx instructions
For some reason CPU feature detection isn't working on our vendored
libvpx. This breaks Godot on older CPUs (pre-2011).
2019-02-24 23:03:48 +01:00
Fabio Alessandrelli
f112f5785b Fixing C compatiblity for GDNative NET module
Also add net interfaces to gdnative_api.json
2019-02-24 21:23:23 +01:00
Rémi Verschelde
69c0d32b93
Merge pull request #26240 from eska014/html5-preload-noown
Properly preload files, always use stdout/-err in HTML5 platform
2019-02-24 19:44:54 +01:00
Junwei Ng
731b152dc1 Update Windows global mouse position at startup
Fixes issue #8145 for Windows, in the same manner as
issue #21910 fixed it for X11.
2019-02-25 01:10:18 +09:00
Juan Linietsky
61b41d6001 Ensure all properties are refreshed when setting a script, fixes #24845 2019-02-24 10:50:43 -03:00
Juan Linietsky
3ea04c1366 Prevent circular references to scene being saved, fixes #24384 2019-02-24 10:48:38 -03:00
George Marques
755c690252
Merge pull request #25018 from AllanDaemon/#24895
Fix support for optional parameters in setters
2019-02-24 10:45:50 -03:00
Leon Krause
76522624cb Use stdout/-err for all messages in HTML5 platform 2019-02-24 04:56:34 +01:00
Juan Linietsky
ab8f3d7842 Fixed issue with buffers being wrongly cleared, closes #25484 2019-02-24 00:33:22 -03:00
Rémi Verschelde
4ebb544ffa
Merge pull request #26171 from Calinou/fix-wrapi-crash
Fix crash when using `wrapi()` with a range of zero
2019-02-24 02:37:04 +01:00
Ignacio Etcheverry
ef61c14dda
Merge pull request #26214 from neikeq/defval-pls
Fix default value of EditorSpatialGizmo.add_mesh method bind
2019-02-24 01:38:24 +01:00
Juan Linietsky
f436047cf5 Clear canvas item after rendering font, fixes #23774 2019-02-23 21:31:09 -03:00
Ignacio Etcheverry
448d3904a1 Fix default value of EditorSpatialGizmo.add_mesh method bind 2019-02-24 01:15:16 +01:00