Commit graph

13317 commits

Author SHA1 Message Date
Rémi Verschelde b1c9a7c757
Merge pull request #17410 from groud/fix_grid_container
Fixes infinite loop in GridContainer
2018-03-13 10:34:31 +01:00
Rémi Verschelde c446231a6e
Merge pull request #17191 from garyo/fix_grid_cont
Fix infinite loop in GridContainer layout
2018-03-13 10:34:20 +01:00
Rémi Verschelde 965feb9521
Merge pull request #17455 from Noshyaar/capitalize
ScriptTextEditor: fix capitalize offset
2018-03-13 09:55:15 +01:00
Rémi Verschelde 15626fa2d0
Merge pull request #17442 from Noshyaar/esr
EditorNode: fix clicking ok keeps trying to save
2018-03-13 09:36:55 +01:00
Rémi Verschelde 7e246a0cb7
Merge pull request #17432 from ShyRed/tilemapupdate
Update TileMap when its TileSet changes
2018-03-13 09:30:38 +01:00
Rémi Verschelde 67a5a39dee
Merge pull request #17426 from AlexHolly/expose-itemlist-is_anything_selected
expose Itemlist.is_anything_selected
2018-03-13 09:23:31 +01:00
Rémi Verschelde 03816e284b
Merge pull request #17416 from viktor-ferenczi/issue-17414
Avoid confusing traceback on attempting build without platform option
2018-03-13 08:51:11 +01:00
Rémi Verschelde 27a3447790
Merge pull request #17402 from Chaosus/fixmix
Fix invalid mix function overload
2018-03-13 08:43:07 +01:00
Rémi Verschelde f3c79d8b6a
Merge pull request #17399 from Dar13/update_image_format_docs
[DOCS] Update Image format enumeration documentation
2018-03-13 08:20:55 +01:00
Rémi Verschelde ded94af48b
Merge pull request #17474 from robfram/fix-input-map-spaces-17322
Fix non working action names containing whitespaces
2018-03-13 08:17:03 +01:00
Rémi Verschelde 3bca3b071d
Merge pull request #17473 from Rubonnek/gles3-rasterizer-leak
Fixed several leaks
2018-03-13 08:14:37 +01:00
Wilson E. Alvarez e9ac87390c Fixed several leaks in VisualServerScene, RasterizerSceneGLES3 and RasterizerGLES3 2018-03-13 00:22:08 -04:00
robfram ea94a82596 Fix non working action names containing whitespaces
Now the action name is quoted if it contains spaces. Also, quotation
mark (") is added to the forbidden character list for action names, as
it was also a bug.

Fix #17322
2018-03-12 21:28:41 +01:00
Poommetee Ketson caa0d513ab ScriptTextEditor: fix capitalize offset 2018-03-12 01:37:41 +07:00
Poommetee Ketson e12e6cacdb EditorNode: fix clicking ok keeps trying to save 2018-03-11 21:33:21 +07:00
ShyRed 67f4944a21 Update TileMap when its TileSet changes
Make TileMap monitor its TileSet for changes and emit a signal when the TileSet changes. This makes the editor update and show the updated version of the TileSet.
2018-03-11 12:24:50 +01:00
Alexander Holland 11e40d3700 expose Itemlist.is_anything_selected 2018-03-11 03:01:16 +01:00
Gary Oberbrunner 561e57df13 Fix infinite loop in GridContainer layout
I had a grid container and tried to set rect.min_height larger in the
editor; that caused an infinite loop in GridContainer::_notification
at line 118. The reason is max_index was being set to the *height* of
the row, not the *index* of the row. So later when it tried to erase
that row and try again, there was nothing to erase.
I applied the same fix to the width code.
2018-03-10 14:38:35 -05:00
Juan Linietsky eceba5aa6a
Merge pull request #17417 from ShyRed/texturechangedupdate
Update Sprite when its Texture changes
2018-03-10 13:33:32 -03:00
ShyRed a23c0877f1 Update Sprite when Texture changes
Make Sprite monitor its Texture for changes and trigger an update when the sprite changes.
2018-03-10 17:23:29 +01:00
Viktor Ferenczi f0b4921695 Avoid confusing traceback on attempting build without platform option
A traceback is printed on invoking scons without the compulsory
platform option. This is confusing, since the problem is not in
the code. Fix is to explicitly exit from the build right after
printing the error message, so the missing env variable cannot
cause the traceback later.

Fixes #17414
2018-03-10 15:13:01 +01:00
Gilles Roudiere 44cb8eb3a2 Fixes infinite loop in GridContainer 2018-03-10 14:01:20 +01:00
Chaosus 97bef8d908 Fix invalid mix function overload 2018-03-10 12:56:43 +03:00
Neil Moore 60f1f58158 Update Image format enumeration documentation
Provides more information about each image format.
2018-03-10 01:41:50 -05:00
Rémi Verschelde aeb1c67b5b
Merge pull request #17378 from ShyRed/webm
Update libwebm
2018-03-09 19:00:07 +01:00
ShyRed e71f109910 Update libwebm
Update of libwebm.

Up-to-date version of libwebm contains several bugfixes that allow playback of files that would crash Godot otherwise.
2018-03-09 18:18:30 +01:00
Rémi Verschelde b842369442
Merge pull request #17347 from Ranoller/patch-1
FIX to broken item select list (zoom and RMB)
2018-03-09 13:43:23 +01:00
Rémi Verschelde 47addcf9d0
Merge pull request #17354 from SaracenOne/shader_token_name_fix
Make the shader token names consistent.
2018-03-09 10:39:22 +01:00
Rémi Verschelde 8ded15b035
Merge pull request #16485 from poke1024/vector2-cross
Bring back Vector2.cross()
2018-03-08 08:50:20 +01:00
Rémi Verschelde 079b919b41
Merge pull request #17341 from poke1024/fix16461
Fix unselectable flipped sprites (fixes 16461)
2018-03-08 08:40:49 +01:00
Rémi Verschelde 0b600fde3f
Merge pull request #17189 from CodeAndWeb/master
Fixes Selection of Sprites using AtlasTexture
2018-03-08 08:37:22 +01:00
Rémi Verschelde 938469157f
Merge pull request #17340 from eska014/gridcontainer-divisionbyzero
Prevent division by zero in GridContainer
2018-03-08 08:35:00 +01:00
Saracen b095e21d91 Make the shader token names consistent. 2018-03-07 23:56:47 +00:00
Rémi Verschelde acacba3fdc
Merge pull request #17343 from eska014/wasm-webgl1
Reinstate WebGL 1.0 (GLES2) driver in HTML5 platform
2018-03-07 22:38:58 +01:00
Ranoller 2aae6fc2ec
FIX to broken item select list (zoom and RMB)
FIX to #17346. Compiled and tested.
2018-03-07 21:39:55 +01:00
Bernhard Liebl 9d7856620c Bring back Vector2.cross() 2018-03-07 21:10:31 +01:00
Leon Krause 802b6d3669 Reinstate WebGL 1.0 driver in HTML5 platform 2018-03-07 20:38:14 +01:00
poke1024 bd2e1df216 Fix unselectable flipped sprites (fixes 16461) 2018-03-07 18:58:45 +01:00
Leon Krause 38623e07ac Prevent division by zero in GridContainer 2018-03-07 17:36:28 +01:00
Hein-Pieter van Braam 900384a622
Merge pull request #17243 from delftswa2018/trailingDotFix
Fix being able to create folder name with ending '.' on Windows
2018-03-07 14:09:20 +01:00
Felix Yang 96f61b2d65 Added a check for trailing dot when creating folder.
Merge the trailing dot test into existing test. Removed OS test.
2018-03-07 11:11:19 +01:00
Rémi Verschelde 2f3c45f55e
Merge pull request #17318 from robfram/silent-failure-ogg-9793
Fix silent failure of importing OGG Vorbis files
2018-03-06 22:21:54 +01:00
Rémi Verschelde 0251c85a4b
Merge pull request #17317 from eska014/html5-freetype-simd
Disable FreeType SIMD in HTML5 builds
2018-03-06 22:05:37 +01:00
robfram a8d37de461 Fix silent failure of importing OGG Vorbis files
When importing non-valid OGG Vorbis audio files, now the filesystem
navigation tree shows the correct sad red-face icon, as it does with
non-valid PNG, JPG or WAV files.

Fix #9793.
2018-03-06 21:48:30 +01:00
Leon Krause 315983c90d Disable FreeType SIMD in HTML5 builds
SIMD is currently unsupported in WebAssembly.
2018-03-06 21:43:44 +01:00
Rémi Verschelde 1388ff5cbb
Merge pull request #17315 from robfram/fix-git-hook-pre-commit-clang-format
Change shebang of pre-commit-clang-format hook to make it portable
2018-03-06 21:27:35 +01:00
robfram 52abf4ba84 Change shebang of pre-commit-clang-format hook to make it portable
The default one is "#!/bin/bash", but BSD systems doesn't have bash
in that path. For portability reasons, it should be changed to
"#!/usr/bin/env bash".

More info: https://en.wikipedia.org/wiki/Shebang_%28Unix%29#Portability
2018-03-06 19:53:37 +01:00
Rémi Verschelde 4f1b87265e
Merge pull request #17304 from bruvzg/gl_core_profile
[GL] Explicitly set OpenGL 3.3 profile to Core (X11, Windows) and enable GLES2 on Windows.
2018-03-06 15:44:33 +01:00
bruvzg ad67911f1a
Explicitly set OpenGL profile to core (X11, Windows).
Enable GLES2 on Windows.
2018-03-06 15:53:30 +02:00
Rémi Verschelde 2efd7add4a
Merge pull request #17205 from Ranoller/patch-3
FIX Windows enter/exit mouse notifications
2018-03-06 10:16:01 +01:00