summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-10-01Fix mismatched class/struct definition warnings [-Wmismatched-tags]Rémi Verschelde
Fixes the following Clang 7 warnings: ``` core/object.cpp:44:1: warning: '_ObjectDebugLock' defined as a struct here but previously declared as a class [-Wmismatched-tags] core/variant_call.cpp:43:1: warning: '_VariantCall' defined as a struct here but previously declared as a class [-Wmismatched-tags] drivers/gles3/rasterizer_storage_gles3.h:765:2: warning: 'MultiMesh' defined as a struct here but previously declared as a class [-Wmismatched-tags] editor/editor_node.h:794:1: warning: 'EditorProgress' defined as a struct here but previously declared as a class [-Wmismatched-tags] modules/bullet/rigid_body_bullet.h:230:17: warning: class 'KinematicUtilities' was previously declared as a struct [-Wmismatched-tags] modules/bullet/space_bullet.h:60:1: warning: class 'btSoftBodyWorldInfo' was previously declared as a struct [-Wmismatched-tags] scene/resources/world_2d.cpp:40:1: warning: 'SpatialIndexer2D' defined as a struct here but previously declared as a class [-Wmismatched-tags] scene/resources/world.cpp:39:1: warning: 'SpatialIndexer' defined as a struct here but previously declared as a class [-Wmismatched-tags] servers/audio/reverb_sw.cpp:60:1: warning: 'ReverbParamsSW' defined as a struct here but previously declared as a class [-Wmismatched-tags] thirdparty/bullet/BulletSoftBody/btSoftBody.h:43:1: warning: 'btSoftBodyWorldInfo' defined as a struct here but previously declared as a class [-Wmismatched-tags] ```
2018-10-01Merge pull request #22582 from akien-mga/scons-clean-cpppathRémi Verschelde
SCons: Remove avoidable defines from main env's CPPPATH
2018-10-01SCons: Remove avoidable defines from main env's CPPPATHRémi Verschelde
Also finally move freetype to its own env and disable warnings for it. Still needs some work to fix the awkward situation of the freetype and svg modules used in scene/ and editor/ respectively.
2018-10-01Revert "Fix -new inspector- remote debug view not changing to current scene ↵Rémi Verschelde
after exiting game - Fixes #20075" This reverts commit 9c7e647124694b1f3f6940c2b6e1b5f329b61a70. This commit caused a regression and is not a correct fix for the original issue. Fixes #22573, reopens #20075.
2018-10-01Merge pull request #22567 from Calinou/unselected-tabs-backgroundRémi Verschelde
Add a subtle background and border to unselected tabs in the editor
2018-10-01Merge pull request #22579 from aaronfranke/spatial-nitpicksRémi Verschelde
Minor nit-picky tweaks in spatial_editor_plugin.cpp
2018-10-01Merge pull request #22572 from akien-mga/fix-warningsRémi Verschelde
Fix unnecessary parentheses warnings with GCC 8 [-Wparentheses]
2018-10-01Minor nit-picky tweaks in spatial_editor_plugin.cppAaron Franke
* Orthogonal cameras don't have an FOV that's "near zero". Or zero, or any number of degrees. It's not a measurement of degrees, it's just a fixed width. This comment is more accurate. Also, "terrible" is a better word than "awful" here. * While I'm editing this file, the "String ortho" variable name could be more intuitive, so I've changed it to "view_mode". Minor nit-picky changes, I know, but I found it so I may as well improve it.
2018-09-30-Many GLES2 optimizationsJuan Linietsky
-Android export fixes (use ETC if GLES2 backend in use) -revert to thekla atlas because xatlas is not working well
2018-09-30Merge pull request #22521 from groud/add_favorites_file_listRémi Verschelde
Adds the display of the favorites into the file list
2018-09-30Merge pull request #22566 from fire/visualscript_search_resetRémi Verschelde
After using the generic visual script search, reset the generic searc…
2018-09-30Merge pull request #22560 from lupoDharkael/clipboardRémi Verschelde
TextEdit: prevent the copy of an empty string
2018-09-30Merge pull request #22545 from DualMatrix/node_as_rootRémi Verschelde
Fixed setting node as root deleting all non-children of that node.
2018-09-30Merge pull request #22543 from slapin/meshdatatool_fixRémi Verschelde
MeshDataTool memory corruption fix
2018-09-30Merge pull request #22537 from Zylann/fix_objectid_leak_threadRémi Verschelde
Fix dirty read of ObjectID counter when threads are involved
2018-09-30Fix unnecessary parentheses warnings with GCC 8 [-Wparentheses]Rémi Verschelde
Fixes the following GCC 8 warnings: ``` core/object.h:321:32: warning: unnecessary parentheses in declaration of '_get_get' [-Wparentheses] core/object.h:331:32: warning: unnecessary parentheses in declaration of '_get_set' [-Wparentheses] core/object.h:341:32: warning: unnecessary parentheses in declaration of '_get_get_property_list' [-Wparentheses] core/object.h:360:32: warning: unnecessary parentheses in declaration of '_get_notification' [-Wparentheses] core/object.h:517:32: warning: unnecessary parentheses in declaration of '_get_get' [-Wparentheses] core/object.h:520:32: warning: unnecessary parentheses in declaration of '_get_set' [-Wparentheses] core/object.h:523:32: warning: unnecessary parentheses in declaration of '_get_get_property_list' [-Wparentheses] core/object.h:526:32: warning: unnecessary parentheses in declaration of '_get_notification' [-Wparentheses] ```
2018-09-30Merge pull request #22536 from DualMatrix/no_advanceRémi Verschelde
Fixed animation_player not advancing to the next frame when inserting a value.
2018-09-30Merge pull request #22571 from akien-mga/main-load-warningsRémi Verschelde
Main: Use ImageLoader directly instead of Image::load
2018-09-30Merge pull request #22570 from lupoDharkael/todo-removeRémi Verschelde
Remove old TODO from editor_inspector.cpp
2018-09-30Main: Use ImageLoader directly instead of Image::loadRémi Verschelde
Image::load is now issuing warnings (since ef50957) to prevent users from using it to load images at runtime which would be included in their exported game. So we now use ImageLoader explicitly instead for the custom-handled cases in Main. Fixes #21072, supersedes #22321.
2018-09-30Remove old TODO from editor_inspector.cpplupoDharkael
2018-09-30After using the generic visual script search, reset the generic search mode ↵K. S. Ernest (iFire) Lee
variable to false.
2018-09-30Add a subtle background and border to unselected tabs in the editorHugo Locurcio
2018-09-30Merge pull request #22563 from marcelofg55/osx_usec_fixFabio Alessandrelli
Fix OS X get_ticks_usec return value after #22424
2018-09-30Fix OS X get_ticks_usec return value after #22424Marcelo Fernandez
2018-09-30TextEdit: prevent the copy of an empty stringlupoDharkael
2018-09-30Merge pull request #22557 from mhilbrunner/docs-transfermodesMax Hilbrunner
[DOCS] NetworkedMultiplayerPeer: TransferMode(s)
2018-09-30[DOCS] NetworkedMultiplayerPeer: TransferMode(s)Max Hilbrunner
2018-09-30Style: Run clang-format on recent shader changesRémi Verschelde
2018-09-30Adds the display of the favorites into the file listgroud
2018-09-29Some more GLES2 tuning..Juan Linietsky
2018-09-29Many more GLES2 fixesJuan Linietsky
2018-09-30Fixed setting node as root deleting all non-children of that node.DualMatrix
Fixed setting node as root deleting all non-children of that node.
2018-09-29Merge pull request #22520 from akien-mga/fix-warningsRémi Verschelde
Fix warning about functions defined but not used [-Wunused-function]
2018-09-30MeshDataTool memory corruption fixSergey Lapin
Fix for incorrect types used in MeshDataTool for bones and weights. If your mesh contains these memory accesses get OOB and might crash the application Closes #21713
2018-09-29Merge pull request #22424 from Faless/back_to_the_futureRémi Verschelde
Use monotonic clock for get_ticks_usec
2018-09-29Merge pull request #22540 from Paulb23/fold_blank_lines_issue_15689Rémi Verschelde
Fix code folding taking into account empty lines, issue 15689
2018-09-29Merge pull request #22524 from DualMatrix/error_spam_3_please_be_finalRémi Verschelde
Fixed error spam when selecting root in remote tree
2018-09-29Merge pull request #22522 from DualMatrix/debugging_the_debugger_3Rémi Verschelde
Fixed debugger showing wrong name for Objects.
2018-09-29Fix -Wunused-function in websocket moduleFabio Alessandrelli
2018-09-29Fix warning about functions defined but not used [-Wunused-function]Rémi Verschelde
Fixes the following GCC 5 warnings: ``` core/io/zip_io.h:128:26: warning: 'zlib_filefunc_def zipio_create_io_from_file(FileAccess**)' defined but not used [-Wunused-function] core/script_debugger_remote.cpp:110:17: warning: 'ObjectID safe_get_instance_id(const Variant&)' defined but not used [-Wunused-function] drivers/unix/socket_helpers.h:103:12: warning: 'int _socket_create(IP::Type&, int, int)' defined but not used [-Wunused-function] drivers/unix/socket_helpers.h:45:15: warning: 'size_t _set_sockaddr(sockaddr_storage*, const IP_Address&, int, IP::Type)' defined but not used [-Wunused-function] drivers/unix/socket_helpers.h:76:15: warning: 'size_t _set_listen_sockaddr(sockaddr_storage*, int, IP::Type, IP_Address)' defined but not used [-Wunused-function] editor/editor_fonts.cpp:40:24: warning: 'Ref<BitmapFont> make_font(int, int, int, int, const int*, const Ref<Texture>&)' defined but not used [-Wunused-function] editor/editor_themes.cpp:85:26: warning: 'Ref<StyleBoxFlat> change_border_color(Ref<StyleBoxFlat>, Color)' defined but not used [-Wunused-function] editor/import/editor_import_collada.cpp:493:13: warning: 'void _generate_normals(const PoolVector<int>&, const PoolVector<Vector3>&, PoolVector<Vector3>&)' defined but not used [-Wunused-function] editor/import/editor_import_collada.cpp:524:13: warning: 'void _generate_tangents_and_binormals(const PoolVector<int>&, const PoolVector<Vector3>&, const PoolVector<Vector3>&, const PoolVector<Vector3>&, PoolVector<float>&)' defined but not used [-Wunused-function] editor/pvrtc_compress.cpp:118:13: warning: 'void _compress_etc(Image*)' defined but not used [-Wunused-function] modules/etc/image_etc.cpp:89:13: warning: 'void _decompress_etc1(Image*)' defined but not used [-Wunused-function] modules/etc/image_etc.cpp:93:13: warning: 'void _decompress_etc2(Image*)' defined but not used [-Wunused-function] modules/gdscript/editor/gdscript_highlighter.cpp:46:13: warning: 'bool _is_whitespace(CharType)' defined but not used [-Wunused-function] scene/2d/cpu_particles_2d.cpp:510:14: warning: 'float rand_from_seed_m1_p1(uint32_t&)' defined but not used [-Wunused-function] scene/3d/cpu_particles.cpp:474:14: warning: 'float rand_from_seed_m1_p1(uint32_t&)' defined but not used [-Wunused-function] scene/resources/default_theme/default_theme.cpp:123:20: warning: 'Ref<Shader> make_shader(const char*, const char*, const char*)' defined but not used [-Wunused-function] scene/resources/default_theme/default_theme.cpp:130:24: warning: 'Ref<BitmapFont> make_font(int, int, int, int, const int*, const Ref<Texture>&)' defined but not used [-Wunused-function] ``` Had to split `core/io/zip_io.h` into header and .cpp file without 'static' keyword. Not fixed yet (static definition in header used in some files but not all): ``` modules/websocket/lws_helper.h:111:13: warning: 'void _lws_make_protocols(void*, int (*)(lws*, lws_callback_reasons, void*, void*, size_t), PoolVector<String>, _LWSRef**)' defined but not used [-Wunused-function] ``` Also fixed a couple other warnings missed in previous commits.
2018-09-29This fixes a bug in refprobe blending, but I have no idea when I fixed it. ↵Juan Linietsky
It just started working all of sudden..
2018-09-29Use monotonic clock for get_ticks_usecFabio Alessandrelli
Static _clock_start and _clock_setup function. Use clock_gettime on Unix, mach_absolute_time on Mac.
2018-09-29Merge pull request #22532 from moiman100/fix-windows-buildMax Hilbrunner
Fix build error: inconsistent use of tabs and spaces in indentation
2018-09-29Merge pull request #22527 from FlamyAT/patch-1Max Hilbrunner
Fixed casting result in float.xml
2018-09-29Fix code folding taking into account empty lines, issue 15689Paulb23
2018-09-29Many fixes to GLES2 renderer, fixed compilation issues in GLES3 shaders.Juan Linietsky
2018-09-29Fix inconsistent use of tabs and spaces in indentationMikko Mustonen
2018-09-29Fix dirty read of ObjectID counter when threads are involvedMarc Gilleron
2018-09-29Fixed animation_player not advancing to the next frame when inserting a value.DualMatrix
Fixed animation_player not advancing to the next frame when inserting a value.