summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-10-03Fix some warnings raised by MSVC 2017Rémi Verschelde
Disabled signed/unsigned warnings like for GCC/Clang (warning C4018: '>=': signed/unsigned mismatch). Fixes the following MSVC 2017 warnings: ``` core\image.cpp(999): warning C4804: '>': unsafe use of type 'bool' in operation core\io\compression.cpp(178): warning C4334: '<<': result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?) editor\doc\doc_dump.cpp(226): warning C4334: '<<': result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?) scene/resources/material.h(289): warning C4334: '<<': result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?) scene/resources/material.h(298): warning C4334: '<<': result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?) editor\editor_themes.cpp(379): warning C4805: '==': unsafe mix of type 'int' and type 'bool' in operation ```
2018-10-03Fix warnings on release builds (not DEBUG_ENABLED)Rémi Verschelde
Fixes the following Clang 5 warnings: ``` modules/bmp/image_loader_bmp.cpp:46:60: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] modules/bmp/image_loader_bmp.cpp:48:61: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] drivers/png/image_loader_png.cpp:231:20: warning: comparison of unsigned expression >= 0 is always true [-Wtautological-compare] scene/gui/graph_edit.cpp:1045:8: warning: comparison of constant 0 with expression of type 'bool' is always false [-Wtautological-constant-out-of-range-compare] core/class_db.cpp:812:13: warning: unused variable 'check' [-Wunused-variable] core/io/file_access_pack.cpp:172:11: warning: unused variable 'ver_rev' [-Wunused-variable] core/math/bsp_tree.cpp:195:13: warning: unused variable 'plane' [-Wunused-variable] core/math/bsp_tree.cpp:168:6: warning: unused variable 'plane_count' [-Wunused-variable] modules/gdscript/gdscript_function.cpp:685:10: warning: unused variable 'ok' [-Wunused-variable] modules/gdscript/gdscript_function.cpp:706:10: warning: unused variable 'ok' [-Wunused-variable] modules/gdscript/gdscript_function.cpp:755:19: warning: unused variable 'var_type' [-Wunused-variable] modules/gdscript/gdscript_function.cpp:1306:12: warning: unused variable 'err' [-Wunused-variable] modules/gdscript/gdscript_function.cpp:158:15: warning: unused function '_get_var_type' [-Wunused-function] modules/gdscript/gdscript_parser.cpp:750:20: warning: unused variable 'lv' [-Wunused-variable] modules/gdscript/gdscript_parser.cpp:59:15: warning: unused function '_find_function_name' [-Wunused-function] scene/main/node.cpp:2489:13: warning: unused function '_Node_debug_sn' [-Wunused-function] ```
2018-10-03Merge pull request #22676 from akien-mga/fix-warningsRémi Verschelde
Fix warnings in Android platform
2018-10-03Fix warnings in Android platformRémi Verschelde
Fixes the following Clang 7 warnings: ``` platform/android/os_android.h:240:16: warning: 'OS_Android::native_video_play' hides overloaded virtual function [-Woverloaded-virtual] platform/android/os_android.h:241:15: warning: 'OS_Android::native_video_is_playing' hides overloaded virtual function [-Woverloaded-virtual] platform/android/audio_driver_opensl.cpp:104:3: warning: suggest braces around initialization of subobject [-Wmissing-braces] platform/android/audio_driver_opensl.cpp:129:10: warning: unused variable 'numOutputs' [-Wunused-variable] platform/android/audio_driver_opensl.cpp:130:11: warning: unused variable 'deviceID' [-Wunused-variable] platform/android/java_glue.cpp:795:10: warning: unused variable 'clsio' [-Wunused-variable] platform/android/java_glue.cpp:890:12: warning: unused variable 'gob' [-Wunused-variable] platform/android/java_glue.cpp:592:13: warning: unused variable 'resized' [-Wunused-variable] platform/android/java_glue.cpp:593:13: warning: unused variable 'resized_reload' [-Wunused-variable] modules/mobile_vr/mobile_vr_interface.cpp:401:8: warning: unused variable 'aspect_ratio' [-Wunused-variable] drivers/unix/dir_access_unix.cpp:394:2: warning: THIS IS BROKEN [-W#warnings] ```
2018-10-03Merge pull request #22672 from akien-mga/fix-warningsRémi Verschelde
Fix various warnings reported by CI in #22620
2018-10-03Fix GDNative build warning on Android [-Wignored-attributes]Rémi Verschelde
Fixes the following kind of warning spam: ``` modules/gdnative/include/gdnative/color.h:61:6: warning: calling convention 'sysv_abi' ignored for this target [-Wignored-attributes] void GDAPI godot_color_new_rgba(godot_color *r_dest, const godot_real p_r, const godot_real p_g, const godot_real p_b, const godot_real p_a); ^ modules/gdnative/include/gdnative/gdnative.h:52:15: note: expanded from macro 'GDAPI' ^ modules/gdnative/include/gdnative/gdnative.h:51:38: note: expanded from macro 'GDCALLINGCONV' ^ ```
2018-10-03Fix some more warnings reported by CIRémi Verschelde
Fixes the following Clang 7 warnings: ``` core/io/marshalls.cpp:872:10: warning: unused variable 'f' [-Wunused-variable] core/ustring.cpp:1831:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] core/ustring.cpp:1832:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] drivers/gles3/rasterizer_gles3.cpp:82:24: warning: unused function '_gl_debug_print' [-Wunused-function,34] main/main.cpp:118:13: warning: unused variable 'auto_build_solutions' [-Wunused-variable] modules/csg/csg_gizmos.cpp:225:46: warning: 'current' may be used uninitialized in this function [-Wmaybe-uninitialized] ```
2018-10-03Merge pull request #22668 from groud/add_open_docsRémi Verschelde
Add a shortcut to the documentation in the scene tree RMB menu
2018-10-03Merge pull request #22598 from DualMatrix/animation_frame_nextRémi Verschelde
Fixed animation editor not moving to next frame of sprites when editing.
2018-10-03Merge pull request #22666 from JFonS/noisetexture_remove_sizeRémi Verschelde
Remove redundant size property from NoiseTexture
2018-10-03Add a shortcut to the documentation in the scene tree RMB menugroud
2018-10-03Remove redundant size property from NoiseTextureJFonS
2018-10-03Merge pull request #22657 from YeldhamDev/remove_doc_pathRémi Verschelde
Remove "Doc Path" setting
2018-10-03Merge pull request #22653 from neikeq/mono-mod-fix-gcc-warningsRémi Verschelde
Fix GCC compiler warning in mono module
2018-10-03Merge pull request #22651 from cbscribe/kcc_docs_color_rigidbodyRémi Verschelde
[DOCS] Classref updates: Color, RigidBody*
2018-10-02Remove "Doc Path" settingMichael Alexsander Silva Dias
2018-10-03Fix GCC compiler warning in mono moduleIgnacio Etcheverry
- thread_local.h: 'delegating constructors only available with -std=c++11 or -std=gnu++11' - mono_reg_utils.cpp: 'extra tokens at end of #endif directive' - mono_bottom_panel.cpp: '<fieldB> will be initialized after <fieldA> when initialized here' - bindings_generator.cpp: 'name lookup of 'i' changed (...) matches this 'i' under ISO standard rules (...) matches this 'i' under old rules (...)'
2018-10-02[DOCS] Classref updates: Color, RigidBody*Chris Bradfield
2018-10-03Merge pull request #22645 from merumelu/plugin-ready-pathRémi Verschelde
PluginConfigDialog: pass subfolder name instead of plugin name on creation
2018-10-03Merge pull request #22647 from YeldhamDev/parallaxlayer_doc_noteRémi Verschelde
Add note in ParallaxLayer doc about ignoring position/scale changes after entering the scene
2018-10-03Merge pull request #22646 from LikeLakers2/docs-fix-enum-newlinesRémi Verschelde
Add extra newline after enum members and constants, to ensure they'll…
2018-10-02vertex lit optimization for fog.Juan Linietsky
2018-10-02Implemented FOG support in GLES2.Juan Linietsky
2018-10-02Add extra newline after enum members and constants, to ensure they'll format ↵LikeLakers2
properly after a multi-line description
2018-10-02Add note in ParallaxLayer doc about ignoring position/scale changes after ↵Michael Alexsander Silva Dias
entering the scene
2018-10-02PluginConfigDialog: pass subfolder name instead of plugin name on creationmerumelu
Also add `_exit_tree` to the script template
2018-10-02Merge pull request #22638 from Dragoncraft89/masterRémi Verschelde
Add critical info to TreeItem.set_custom_draw documentation
2018-10-02Add critical info to TreeItem.set_custom_draw documentationflorian
Indicates that the method needs 2 arguments to be called
2018-10-02Merge pull request #22627 from akien-mga/gles2-pixel-snapRémi Verschelde
GLES2: Implement pixel snap 2D option
2018-10-02Merge pull request #22636 from tagcup/commentRémi Verschelde
Bring accidentally commented out lines.
2018-10-02Disable forced inline when building in debug.Juan Linietsky
2018-10-02Bring accidentally commented out lines back.Ferenc Arn
Oversight by me in #22483. GLES2 doesn't seem to be supporting anisotropy at the moment anyway ---in case it gets revived.
2018-10-02Merge pull request #22621 from groud/limit_window_sizeRémi Verschelde
Avoid the window size to go below 0
2018-10-02Merge pull request #22626 from akien-mga/travis-android-ndkRémi Verschelde
Travis: Update Android NDK to r18
2018-10-02Merge pull request #22628 from akien-mga/gles2-fix-iosRémi Verschelde
Disable GLES2 debugging on iOS, fixes build
2018-10-02Merge pull request #22329 from DualMatrix/no_selectRémi Verschelde
Made children of Containers not selectable.
2018-10-02Disable GLES2 debugging on iOS, fixes buildRémi Verschelde
Could be readded by someone who knows how to access an API similar to EGL on iOS.
2018-10-02Style: Fix clang-format pre-commit hook for java and glslRémi Verschelde
2018-10-02GLES2: Implement pixel snap 2D optionRémi Verschelde
2018-10-02Merge pull request #21436 from CptPotato/tonemap-fixesRémi Verschelde
tonemapping fixes
2018-10-02Merge pull request #22455 from Calinou/reverse-cull-face-update-lightRémi Verschelde
Update lights when their reverse cull face mode is toggled
2018-10-02Merge pull request #22483 from tagcup/fresnelRémi Verschelde
Restore the Fresnel term in the BRDF.
2018-10-02Travis: Update Android NDK to r18Rémi Verschelde
2018-10-02Merge pull request #22562 from muiroc/gles2_canvas_skip_transformRémi Verschelde
Uses skip_vertex_transform in GLES2 canvas shader
2018-10-02Merge pull request #22574 from BastiaanOlij/mobile_vr_gles2Rémi Verschelde
Moving lens distortion shader into drivers and adding GLES2 support
2018-10-02Many more fixes for GLES2 mobile export. Also added ability to turn on ↵Juan Linietsky
OpenGL debugging on Android export.
2018-10-02Avoid the window size to go below 0groud
2018-10-02Merge pull request #22618 from akien-mga/fix-warningsRémi Verschelde
Fix warnings on virtual methods [-Woverloaded-virtual] [-Wdelete-non-…
2018-10-02Merge pull request #22531 from DualMatrix/path_missing_video_memoryRémi Verschelde
Made Debugger's Video Memory tab show correct resource paths.
2018-10-02Merge pull request #22612 from Dragoncraft89/masterRémi Verschelde
Improve doc of ProjectSettings