summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-12-17Don't accidentally convert string content to charHein-Pieter van Braam
Due to the right hand side of the :? trickery the rhs was cast to a char losing precision. Previously this didn't matter, but with CharProxy it does. (Previously we could just happily cast it back to a wchar_t and get the original 16 - 32 bits. Now we'll only ever get the first 8).
2018-12-17Merge pull request #24422 from guilhermefelipecgs/fix_z_index_atlasRémi Verschelde
Add z-index to ATLAS_TILE
2018-12-17Add z-index to ATLAS_TILEGuilherme Felipe
2018-12-17Fix maybe-uninitialized warnings from GCC 4.8.xRémi Verschelde
Fixes the following warnings in `p=server target=release_debug` builds on Travis CI: ``` ./core/os/memory.h: In function 'MainLoop* TestOAHashMap::test()': ./core/os/memory.h:108:111: warning: 'dummy' may be used uninitialized in this function [-Wmaybe-uninitialized] #define memnew_placement(m_placement, m_class) _post_initialize(new (m_placement, sizeof(m_class), "") m_class) ^ main/tests/test_oa_hash_map.cpp:98:7: note: 'dummy' was declared here int dummy; ^ scene/resources/bit_mask.cpp:447:3: warning: 'next_i' may be used uninitialized in this function [-Wmaybe-uninitialized] scene/resources/bit_mask.cpp:448:4: warning: 'next_j' may be used uninitialized in this function [-Wmaybe-uninitialized] ```
2018-12-17Fix sometimes uninitialized variable warning raised by Xcode 9.4.1Rémi Verschelde
Fixes this warning raised by Travis CI on macOS: ``` editor/plugins/polygon_2d_editor_plugin.cpp:95:6: warning: variable 'skeleton' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] if (!node->has_node(node->get_skeleton())) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ editor/plugins/polygon_2d_editor_plugin.cpp:106:7: note: uninitialized use occurs here if (!skeleton) { ^~~~~~~~ editor/plugins/polygon_2d_editor_plugin.cpp:95:2: note: remove the 'if' if its condition is always false if (!node->has_node(node->get_skeleton())) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ editor/plugins/polygon_2d_editor_plugin.cpp:94:22: note: initialize the variable 'skeleton' to silence this warning Skeleton2D *skeleton; ^ = NULL ```
2018-12-17Merge pull request #24411 from guilhermefelipecgs/fix_22389Rémi Verschelde
Fix sub-transitions not using end_node correctly
2018-12-17Merge pull request #24410 from YeldhamDev/graph_editors_title_fixRémi Verschelde
Fix titles in graph editors being invisible when headers are enabled
2018-12-17Merge pull request #24388 from Chaosus/fix_csv_spamRémi Verschelde
Removed error message arriving whenever csv file changed
2018-12-16Fix sub-transitions not using end_node correctlyGuilherme Felipe
Fix #22389
2018-12-16Fix titles in graph editors being invisible when headers are enabledMichael Alexsander Silva Dias
2018-12-16Merge pull request #22697 from LittleWhite-tb/file-reloading-fixRémi Verschelde
Change global timestamp behavior earlier
2018-12-16Change global timestamp behaviour earlierAlexandre LittleWhite Laurent
2018-12-16Ensure cursor is visible when EditorSpinSlider exits the treeRémi Verschelde
Supersedes and closes #22581.
2018-12-16Merge pull request #24366 from BastiaanOlij/adjust_sky_orientationRémi Verschelde
Adding option to re-orient our sky
2018-12-16Merge pull request #24405 from guilhermefelipecgs/fix_undo_fsmRémi Verschelde
Fix "undo" of the state machine losing node's position
2018-12-16Fix "undo" of the state machine losing node's positionGuilherme Felipe
2018-12-16Merge pull request #24385 from hpvb/reduce-string-coewRémi Verschelde
Reduce String CoW
2018-12-16Reduce String CoWHein-Pieter van Braam
By introducing an intermediate proxy class for the array subscript operator for String and CharString we can control better when CowData will actually CoW. This should improve performance of String usage for most cases.
2018-12-16Merge pull request #24397 from volzhs/builtin-scriptRémi Verschelde
Create built-in script properly
2018-12-16Merge pull request #24382 from BastiaanOlij/fix_highp_lens_gles2Rémi Verschelde
Fix highp issue in lens shader on gles2
2018-12-16Merge pull request #24379 from YeldhamDev/popupmenu_itemofs_highlight_fixRémi Verschelde
Fix item highlighting in PopupMenu for items with offset
2018-12-16Merge pull request #19501 from Zylann/custom_loadersRémi Verschelde
Added basic support for custom resource savers and loaders
2018-12-16Merge pull request #24376 from Calinou/tweak-editor-status-colorsRémi Verschelde
Tweak editor status colors (success, warning, error)
2018-12-16Merge pull request #24308 from mineevgleb/#24303-persist-project-sorting-orderRémi Verschelde
#24303: remember sorting order in the project manager
2018-12-16Create built-in script properlyvolzhs
2018-12-16Removed error message arriving whenever csv file changedChaosus
2018-12-16Fix highp issue in lens shader on gles2Bastiaan Olij
2018-12-15Fix item highlighting in PopupMenu for items with offsetMichael Alexsander Silva Dias
2018-12-15Tweak editor status colors (success, warning, error)Hugo Locurcio
Some of the previous colors were "overbright" in the sense that some of their components were above 1, causing font anti-aliasing to look bad. These new colors should be easier on the eyes while fitting better with the rest of the editor's color palette.
2018-12-1524303: remember sorting order in the project managerGleb Mineev
2018-12-15Merge pull request #24371 from moiman100/fix-linux-mouse-buttonsRémi Verschelde
Fix middle and secondary mouse buttons order
2018-12-15switch middle and secondary mouse buttons orderMikko Mustonen
2018-12-15Adding option to re-orient our skyBastiaan Olij
2018-12-15Added basic support for custom resource savers and loadersMarc Gilleron
2018-12-15doc: Sync classref with current sourceRémi Verschelde
2018-12-15Merge pull request #22973 from cyclopsian/csg-collision-fixRémi Verschelde
Add support for collision layers and masks in CSG shapes
2018-12-15Add support for collision layers and masks in CSG shapesmeditator
2018-12-14Use XInput2 RawMotion to generate MouseMotion eventsCosmic Chip Socket
The current system for capturing the mouse and generating motion events on X11 has issues with inaccurate and lopsided input. This is because both XQueryPointer and XWarpPointer work in terms of integer coordinates when the underlying X11 input driver may be tracking the mouse using subpixel coordinates. When warping the pointer, the fractional part of the pointer position is discarded. To work around this issue, the fix uses raw motion events from XInput 2. These events report relative motion and are not affected by pointer warping. Additionally, this means Godot is able to detect motion at a higher resolution under X11. Because this is raw mouse input, it is not affected by the user's pointer speed and acceleration settings. This is the same system as SDL2 uses for its relative motion. Multitouch input on X requires XInput 2.2. Raw motion events require XInput 2.0. Since 2.0 is old enough, this is now the minimum requirement to use Godot on X.
2018-12-14Merge pull request #20385 from moiman100/unify-double-clickingRémi Verschelde
Added double clicking to all buttons on Linux and Javascript
2018-12-14Merge pull request #20063 from moiman100/fix-button-maskRémi Verschelde
Unified button mask behavior across platforms
2018-12-14Merge pull request #23651 from Kanabenki/fix-filedialog-editor-focusRémi Verschelde
Prevent FileDialog from stealing focus when setting current file in editor
2018-12-14Merge pull request #20081 from moiman100/fix-double-click-holdRémi Verschelde
Fixes is_pressed when holding double click.
2018-12-14Android: Don't expose x86_64 ABI for export if we can't build templates for itRémi Verschelde
Support for x86_64 *could* be added in detect.py, but AFAIK this is not a widespread architecture for Android, much less for gaming devices.
2018-12-14Prevent FileDialog from stealing focus when setting current file in editorKanabenki
2018-12-14Merge pull request #23312 from lethiandev/fix-touch-release-gui-inputRémi Verschelde
Fix touch release event on _gui_input
2018-12-14Merge pull request #24357 from hpvb/make-vector-not-allocateJuan Linietsky
Don't allocate in Vector's ctor
2018-12-14Don't allocate in Vector's ctorHein-Pieter van Braam
By relying on the fact that a struct or class's first member has the same address as the struct itself we can cast VectorWriteProxy<T> to Vector<T> and access the CowData field. This allows a Vector to be moved in memory without invalidating the pointer to the cowdata field.
2018-12-14Fix touch release event on _gui_inputKonrad Nowakowski
2018-12-14Merge pull request #23464 from GameCoderStudios/masterRémi Verschelde
Ability to pick child nodes of scenes instances marked with "Editable…
2018-12-14Merge pull request #21856 from AlexHolly/fix-undo-not-showing-errorRémi Verschelde
Fix undo redo not showing errors