summaryrefslogtreecommitdiffstats
path: root/core/os
Commit message (Collapse)AuthorAgeFilesLines
* Replace 'ERR_EXPLAIN' with 'ERR_FAIL_*_MSG' in 'core/' and 'editor/'Braden Bodily2019-08-172-10/+4
| | | | | | | | | Condensed some if and ERR statements. Added dots to end of error messages Couldn't figure out EXPLAINC. These files gave me trouble: core/error_macros.h, core/io/file_access_buffered_fa.h (where is it?), core/os/memory.cpp, drivers/png/png_driver_common.cpp, drivers/xaudio2/audio_driver_xaudio2.cpp (where is it?)
* Merge pull request #31266 from ↵Rémi Verschelde2019-08-148-32/+0
|\ | | | | | | | | IAmActuallyCthulhu/pr/remove-redundant-author-comments Remove redundant author doc comments
| * Remove redundant author doc commentsIAmActuallyCthulhu2019-08-128-32/+0
| |
* | Export: Remove temp files from cache after exportRémi Verschelde2019-08-121-0/+12
|/ | | | | | | | | So far we left most temporary files lying around, so this attempts to fix that. I added a helper method to DirAccess to factor out the boilerplate of creating a DirAccess, checking if the file exists, remove it or print an error on failure.
* DirAccess: Drop compat get_next(bool *is_dir) which was hiddenRémi Verschelde2019-07-252-9/+0
| | | | | | | | | Fixes this warning: ``` ./core/os/dir_access.h:74:17: warning: 'virtual String DirAccess::get_next(bool*)' was hidden [-Woverloaded-virtual] ``` Part of #30790.
* Merge pull request #30239 from Faless/crypto/crypto_coreRémi Verschelde2019-07-021-22/+18
|\ | | | | CryptoCore class to access to base crypto utils.
| * CryptoCore class to access to base crypto utils.Fabio Alessandrelli2019-07-021-22/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Godot core needs MD5/SHA256/AES/Base64 which used to be provided by separate libraries. Since we bundle mbedtls in most cases, and we can easily only include the needed sources if we so desire, let's use it. To simplify library changes in the future, and better isolate header dependencies all functions have been wrapped around inside a class in `core/math/crypto_base.h`. If the mbedtls module is disabled, we only bundle the needed source files independently of the `builtin_mbedtls` option. If the module is enabled, the `builtin_mbedtls` option works as usual. Also remove some unused headers from StreamPeerMbedTLS which were causing build issues.
* | Merge pull request #27510 from fire/screenshot_editorRémi Verschelde2019-07-022-0/+30
|\ \ | |/ |/| Add editor screenshot on control - f12.
| * Add editor screenshot on control - f12.K. S. Ernest (iFire) Lee2019-07-012-0/+30
| |
* | Merge pull request #30126 from qarmin/remove_unnecessary_codeRémi Verschelde2019-07-012-5/+1
|\ \ | | | | | | Remove unnecessary code and add some error explanations
| * | Remove unnecessary code and add some error explanationsqarmin2019-07-012-5/+1
| | |
* | | Merge pull request #29815 from NilsIrl/plus_file_1Rémi Verschelde2019-07-011-1/+1
|\ \ \ | |_|/ |/| | Replace ` + "/" + ` with `String::file_add()`
| * | Replace ` + "/" + ` with `String::file_add()`Nils ANDRÉ-CHANG2019-06-231-1/+1
| | |
* | | Merge pull request #30135 from qarmin/fix_memory_leak_osRémi Verschelde2019-06-271-0/+2
|\ \ \ | | | | | | | | Fix small memory leak in OS.cpp
| * | | Fix small memory leak in OS.cppqarmin2019-06-271-0/+2
| | |/ | |/|
* | | Merge pull request #30096 from akien-mga/doc-misc-updatesRémi Verschelde2019-06-271-3/+3
|\ \ \ | |/ / |/| | doc: Proofread and complete various nodes
| * | doc: Proofread and complete various nodesRémi Verschelde2019-06-261-3/+3
| | | | | | | | | | | | | | | | | | | | | All 100% completed: MainLoop, Node, Object, Path, Performance, Reference, Resource, SceneState, SceneTree, UndoRedo. Also fixed some en_GB occurrences as the reference spelling is en_US.
* | | Merge pull request #29941 from qarmin/redundant_code_and_othersRémi Verschelde2019-06-274-8/+11
|\ \ \ | |/ / |/| | Remove redundant code, possible NULL pointers and others
| * | Some code changed with Clang-Tidyqarmin2019-06-264-8/+11
| | |
* | | Merge pull request #24448 from lukad/toggle-system-consoleRémi Verschelde2019-06-211-0/+2
|\ \ \ | |/ / |/| | Add option to toggle console window
| * | Add option to toggle console window on WindowsLuka Dornhecker2019-06-201-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is an editor setting and its value can also be toggled using an entry in the Editor toolbar. The console will still appear briefly when starting the project manager or editor, as it's still compiled as console application. Does not impact exported games, which will still run without console in release and with console in debug mode. A project setting or export option could be added to disable it in debug mode if there's demand for it, but that would greatly reduce the usefulness of debug builds if Windows users can no longer report error and crash messages. Fixes #17889. Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
* | | Merge pull request #29283 from qarmin/fix_some_always_same_valuesRémi Verschelde2019-06-201-4/+2
|\ \ \ | |/ / |/| | Remove always true/false values
| * | Fix always true/false valuesqarmin2019-06-201-4/+2
| | |
* | | Made use of semicolons more consitent, fixed formattingJohnJLight2019-06-191-15/+15
| | |
* | | Merge pull request #29752 from bruvzg/window_size_limitsRémi Verschelde2019-06-171-0/+4
|\ \ \ | | | | | | | | Add ability to limit maximum/minimum window size.
| * | | Add ability to limit maximum/minimum window size.bruvzg2019-06-151-0/+4
| | |/ | |/|
* / | Added constants for the main buttons and axis used in VRBastiaan Olij2019-06-131-0/+16
|/ /
* | Removes redundant "display/window/per_pixel_transparency/splash" setting, ↵bruvzg2019-06-041-2/+0
| | | | | | | | improves per pixel transparency documentation.
* | Add configurable strength value to InputEventActionGilles Roudiere2019-06-022-0/+17
|/
* Add native window/taskbar icon support for Windows and macOS.bruvzg2019-05-242-0/+4
| | | | Co-authored-by: Markus Törnqvist <mjt@nysv.org>
* added a const keyword for a methods that return constant literal...hbina0852019-05-211-1/+1
|
* Fix NaN with get_action_strengthGilles Roudière2019-05-151-2/+11
|
* Merge pull request #24437 from mateusfccp/single_quotes_optionRémi Verschelde2019-04-301-1/+7
|\ | | | | Add settings for single-quotes on completion
| * Add settings for single-quotes on completionMateus Felipe C. C. Pinto2018-12-181-1/+7
| |
* | Add FileAccess::set_unix_permissions for Unix platformsJuan Linietsky2019-04-074-4/+32
| |
* | Add Input::get_current_cursor_shapeGuilherme Felipe2019-04-154-4/+16
| | | | | | | | [Clean up] Removed unused/unnecessary methods.
* | Add ability to edit editor feature profilesJuan Linietsky2019-04-082-4/+31
| | | | | | | | Allows enabling/disabling parts of the editor and storing/loading profiles for that.
* | Clean up notifications and merge Node and MainLoop ones for clarity, closes ↵Juan Linietsky2019-04-041-15/+13
| | | | | | | | #27614
* | Fix MIDI Note Off missing on some devicesMarcelo Fernandez2019-03-181-0/+5
| |
* | Fix fake null-motion mouse event floodPedro J. Estébanez2019-03-092-0/+6
| | | | | | | | | | | | This commit also improves a bit the code quality by making the intent of fake events (and themselves) more explicit. Fixes #26460.
* | Request Android record permission when neededDESKTOP-3H3MR3A\eloisa2019-03-081-0/+2
| |
* | More style cleanup...Rémi Verschelde2019-03-041-1/+1
| |
* | Add support for event accumlation (off by default, on for editor), fixes #26536Juan Linietsky2019-03-034-0/+47
| |
* | Merge pull request #26547 from vnen/gdscript-dependency-parseJuan Linietsky2019-03-032-0/+18
|\ \ | | | | | | Add a parse mode for GDScript which doesn't load dependencies
| * | Add function to get String from FileAccessGeorge Marques2019-03-032-0/+18
| | |
* | | Ability to keep pumping messages while being debugged, may be a solution for ↵Juan Linietsky2019-03-031-0/+1
|/ / | | | | | | #21431
* | Fix -Wsuggest-attribute=format warnings.marxin2019-02-271-2/+2
| |
* | -Remove harcoded opengl extension testing from OS, ask rasterizer instead.Juan Linietsky2019-02-262-0/+15
| | | | | | | | -Fixed a bug where etc textures were imported broken
* | Make Button shortcuts triggerable by gamepadsHugo Locurcio2019-02-162-3/+12
| | | | | | | | This closes #25741.
* | Core: Ensure classes match their header filenameRémi Verschelde2019-02-122-98/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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`