summaryrefslogtreecommitdiff
path: root/core/os
AgeCommit message (Collapse)Author
2019-06-04Removes redundant "display/window/per_pixel_transparency/splash" setting, ↵bruvzg
improves per pixel transparency documentation.
2019-06-02Add configurable strength value to InputEventActionGilles Roudiere
2019-05-24Add native window/taskbar icon support for Windows and macOS.bruvzg
Co-authored-by: Markus Törnqvist <mjt@nysv.org>
2019-05-21added a const keyword for a methods that return constant literal...hbina085
2019-05-15Fix NaN with get_action_strengthGilles Roudière
2019-04-30Merge pull request #24437 from mateusfccp/single_quotes_optionRémi Verschelde
Add settings for single-quotes on completion
2019-04-07Add FileAccess::set_unix_permissions for Unix platformsJuan Linietsky
2019-04-15Add Input::get_current_cursor_shapeGuilherme Felipe
[Clean up] Removed unused/unnecessary methods.
2019-04-08Add ability to edit editor feature profilesJuan Linietsky
Allows enabling/disabling parts of the editor and storing/loading profiles for that.
2019-04-04Clean up notifications and merge Node and MainLoop ones for clarity, closes ↵Juan Linietsky
#27614
2019-03-18Fix MIDI Note Off missing on some devicesMarcelo Fernandez
2019-03-09Fix fake null-motion mouse event floodPedro J. Estébanez
This commit also improves a bit the code quality by making the intent of fake events (and themselves) more explicit. Fixes #26460.
2019-03-08Request Android record permission when neededDESKTOP-3H3MR3A\eloisa
2019-03-04More style cleanup...Rémi Verschelde
2019-03-03Add support for event accumlation (off by default, on for editor), fixes #26536Juan Linietsky
2019-03-03Merge pull request #26547 from vnen/gdscript-dependency-parseJuan Linietsky
Add a parse mode for GDScript which doesn't load dependencies
2019-03-03Ability to keep pumping messages while being debugged, may be a solution for ↵Juan Linietsky
#21431
2019-03-03Add function to get String from FileAccessGeorge Marques
2019-02-27Fix -Wsuggest-attribute=format warnings.marxin
2019-02-26-Remove harcoded opengl extension testing from OS, ask rasterizer instead.Juan Linietsky
-Fixed a bug where etc textures were imported broken
2019-02-16Make Button shortcuts triggerable by gamepadsHugo Locurcio
This closes #25741.
2019-02-12Core: Ensure classes match their header filenameRémi Verschelde
Also drop some unused files. Renamed: - `core/dvector.h` -> `pool_vector.h` - `core/io/resource_import.h` -> `resource_importer.h` - `core/sort.h` -> `sort_array.h` - `core/string_db.h` -> `string_name.h` Dropped: - `core/allocators.h` - `core/os/shell.h` - `core/variant_construct_string.cpp`
2019-02-09Warn when using GPU particles with GLES2Rémi Verschelde
Closes #25733.
2019-02-03Merge pull request #25478 from neikeq/rrIgnacio Etcheverry
Mono: Fix MonoPosixHelper not being found
2019-02-03Added set_environment to OS classIgnacio Etcheverry
2019-01-30Let memory stat functions return uint64_tPedro J. Estébanez
2019-01-26Fix code style issuesRémi Verschelde
2019-01-21Add function to obtain filesystem type from DirAccess.Juan Linietsky
Change EditorFileSystem to not use directory modification times on FAT32, fixes #20946
2019-01-03Optimizations for trivial typesHein-Pieter van Braam
Relying on various compiler primitives we can reduce the work done in our memory allocators and CowData. For types with trivial ctors or dtors we can skip looping over all elements when creating, resizing, and destroying lists of objects. These primitives are supported by clang, msvc, and GCC. However, once we've moved to C++11 we can rely on several std:: primitives that do the same thing and are standardized. In my testing the extra conditionals introduced here get removed from the generated program entirely as the results for these primitives is known at compile time.
2019-01-01Update copyright statements to 2019Rémi Verschelde
Happy new year to the wonderful Godot community!
2018-12-20Added OS.get_system_time_msecs()volzhs
2018-12-18Add settings for single-quotes on completionMateus Felipe C. C. Pinto
2018-12-16Removed error message arriving whenever csv file changedChaosus
2018-12-12Merge pull request #24241 from Rubonnek/move-to-initializer-listRémi Verschelde
Moved member variables to initializer list
2018-12-11Moved member variables to initializer listWilson E. Alvarez
2018-12-11Merge pull request #23923 from bruvzg/ime_gdscriptRémi Verschelde
Changes IME to make it possible to use it from gdscript/gdnative
2018-12-07Merge pull request #22630 from dualtagh/22478Rémi Verschelde
22478: Can't duplicate folder with another folder inside
2018-12-07Merge pull request #22733 from guilhermefelipecgs/fix_wm_classRémi Verschelde
[x11] Use "application/config/name" for WM_CLASS
2018-11-23Changes IME input to use notification instead of callback, exposes IME ↵bruvzg
methods to gdscript/gdnative.
2018-11-22FileAccess::store_csv_line() don't added unnecessary double quotes.allkhor
2018-11-17Fixed the default value for Input.action_press() from commit 8c45282Davide Baldo
2018-11-16Add store_csv_line method for FileKanabenki
2018-11-10Allow to specify a custom strength when calling Input.action_press(), this ↵Davide Baldo
allows virtual axis, mainly for mobile.
2018-10-07Fix potentially unininitialized pointer write.Fabio Alessandrelli
2018-10-05[x11] Use "application/config/name" for WM_CLASSGuilherme Felipe
2018-10-04Fix unused variable and wrong warning workaroundRémi Verschelde
I had been looking at the wrong line all along when attempting to fix: ``` core/os/memory.cpp:184:13: warning: unused variable 's' [-Wunused-variable] uint64_t *s = (uint64_t *)mem; ^ ```
2018-10-04Fix GCC 8 warnings about potentially unitialized variablesRémi Verschelde
Fixes the following GCC 8 warnings: ``` core/image.cpp:730:44: warning: 'mip1_weight' may be used uninitialized in this function [-Wmaybe-uninitialized] core/image.cpp:293:20: warning: 'mip2' may be used uninitialized in this function [-Wmaybe-uninitialized] core/image.cpp:293:20: warning: 'mip1' may be used uninitialized in this function [-Wmaybe-uninitialized] editor/audio_stream_preview.cpp:58:19: warning: 'vmax' may be used uninitialized in this function [-Wmaybe-uninitialized] editor/audio_stream_preview.cpp:85:19: warning: 'vmin' may be used uninitialized in this function [-Wmaybe-uninitialized] editor/editor_themes.cpp:306:53: warning: 'preset_contrast' may be used uninitialized in this function [-Wmaybe-uninitialized] editor/plugins/animation_blend_space_2d_editor.cpp:459:27: warning: 'prev_idx' may be used uninitialized in this function [-Wmaybe-uninitialized] editor/plugins/animation_blend_space_2d_editor.cpp:443:27: warning: 'prev_idx' may be used uninitialized in this function [-Wmaybe-uninitialized] main/tests/test_oa_hash_map.cpp:57:29: warning: 'value' may be used uninitialized in this function [-Wmaybe-uninitialized] modules/csg/csg.cpp:764:40: warning: 'max_angle' may be used uninitialized in this function [-Wmaybe-uninitialized] modules/csg/csg_shape.cpp:1945:3: warning: 'face_count' may be used uninitialized in this function [-Wmaybe-uninitialized] scene/3d/voxel_light_baker.cpp:1593:8: warning: 'cone_aperture' may be used uninitialized in this function [-Wmaybe-uninitialized] scene/3d/voxel_light_baker.cpp:1592:6: warning: 'cone_dir_count' may be used uninitialized in this function [-Wmaybe-uninitialized] scene/animation/animation_blend_space_2d.cpp:471:8: warning: 'mind' may be used uninitialized in this function [-Wmaybe-uninitialized] core/os/memory.cpp:94: warning: ignoring #pragma clang diagnostic [-Wunknown-pragmas] core/os/memory.cpp:95: warning: ignoring #pragma clang diagnostic [-Wunknown-pragmas] core/os/memory.cpp:98: warning: ignoring #pragma clang diagnostic [-Wunknown-pragmas] ```
2018-10-04Fix some OSX and iOS Clang warningsRémi Verschelde
Fixes the following XCode 9.4.1 warnings: ``` core/os/memory.cpp:175:13: warning: unused variable 's' [-Wunused-variable] drivers/coremidi/core_midi.cpp:68:14: warning: comparison between NULL and non-pointer ('MIDIEndpointRef' (aka 'unsigned int') and NULL) [-Wnull-arithmetic] drivers/gles2/rasterizer_gles2.cpp:77:24: warning: unused function '_gl_debug_print' [-Wunused-function,34] drivers/unix/thread_posix.cpp:106:12: warning: unused variable 'running_thread' [-Wunused-variable,34] modules/gdnative/nativescript/nativescript.h:371:16: warning: in-class initialization of non-static data member is a C++11 extension [-Wc++11-extensions] platform/iphone/gl_view.mm:56:14: warning: unused variable 'video_previous_volume' [-Wunused-variable,34] platform/iphone/gl_view.mm:251:12: warning: unused function 'get_first_id' [-Wunused-function,34] platform/iphone/main.m:45:15: warning: unused variable 'app' [-Wunused-variable,34] platform/osx/os_osx.mm:79:15: warning: unused function 'convertRectToBacking' [-Wunused-function] ```
2018-10-04fix enum cast warnings on clangkarroffel
2018-10-0222478: Can't duplicate folder with another folder insideDualtagh Murray