summaryrefslogtreecommitdiffstats
path: root/core/core_bind.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Delete orphaned property default for exit_code which is not exposed any more.strank2022-01-191-1/+0
|
* Merge pull request #56012 from bruvzg/wt🤎4Rémi Verschelde2022-01-171-6/+6
|\
| * [Windows] Improve console handling and execute/create_process.bruvzg2021-12-181-6/+6
| | | | | | | | | | | | | | | | | | | | Always build with the GUI subsystem. Redirect stdout and stderr output to the parent process console. Use CreateProcessW for blocking `execute` calls with piped stdout and stderr (prevent console windows for popping up when used with the GUI subsystem build, and have more consistent behavior with `create_process`). Add `open_console` argument to the `execute` and `create_process` to open a new console window. Remove `interface/editor/hide_console_window` editor setting. Remove `Toggle System Console` menu option. Remove `set_console_visible` and `is_console_visible` functions.
* | Use List Initializations for Vectors.Anilforextra2022-01-121-8/+2
| |
* | Fix missing arg name in bindings for GDExtension APIRémi Verschelde2022-01-071-2/+2
| |
* | Fix method validation in Threadkobewi2022-01-041-1/+1
| |
* | Update copyright statements to 2022Rémi Verschelde2022-01-031-2/+2
| | | | | | | | Happy new year to the wonderful Godot community!
* | Fix various typosluz paz2022-01-021-1/+1
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | Found via ` codespell -q 3 -S ./thirdparty,*.po,./DONORS.md -L ackward,ang,ans,ba,beng,cas,childs,childrens,dof,doubleclick,expct,fave,findn,gird,hist,inout,leapyear,lod,nd,numer,ois,ony,paket,seeked,sinc,switchs,te,uint,varn` Update editor/import/resource_importer_layered_texture.cpp Co-authored-by: Raul Santos <raulsntos@gmail.com> Update doc/classes/TileSetScenesCollectionSource.xml Co-authored-by: Raul Santos <raulsntos@gmail.com> Update scene/gui/graph_edit.cpp Co-authored-by: Raul Santos <raulsntos@gmail.com> Update scene/resources/animation.cpp Co-authored-by: Raul Santos <raulsntos@gmail.com> Update scene/resources/animation.cpp Co-authored-by: Raul Santos <raulsntos@gmail.com> Update scene/resources/animation.cpp Co-authored-by: Raul Santos <raulsntos@gmail.com> Update scene/gui/rich_text_label.cpp Co-authored-by: Raul Santos <raulsntos@gmail.com> Revert previously committed change
* Improve Directory content navigationTomasz Chabora2021-12-101-7/+54
|
* Replace String comparisons with "", String() to is_empty()Nathan Franke2021-12-091-4/+4
| | | | | | Also: - Adds two stress tests to test_string.h - Changes to .empty() on std::strings
* Add an `OS.crash()` method for testing system crash handlerHugo Locurcio2021-12-031-0/+5
| | | | | This makes it possible to test the system's crash handler without having to modify engine code or exploit an engine bug.
* Expose Thread::get_main_id in core bindingsBrian Semrau2021-11-121-0/+5
|
* Use "enum class" for input enumsAaron Franke2021-11-121-4/+4
|
* [macOS] Add `create_instance` function to spawn editor copies.bruvzg2021-11-011-0/+14
| | | | [macOS] Modify `create_project` function to detect and run app bundles using NSWorkspace to ensure app window is registered and activated correctly.
* Use OpenGL 3.3 core profile instead of compatibility profileClay John2021-10-311-1/+1
| | | | | | | | | | - Rename OpenGL to GLES3 in the source code per community feedback. - The renderer is still exposed as "OpenGL 3" to the user. - Hide renderer selection dropdown until OpenGL support is more mature. - The renderer can still be changed in the Project Settings or using the `--rendering-driver opengl` command line argument. - Remove commented out exporter code. - Remove some OpenGL/DisplayServer-related debugging prints.
* Rename GLES2 driver to OpenGL to prepare for the upgrade to GLES3Hugo Locurcio2021-10-301-1/+1
| | | | | - Use lowercase driver names for the `--rendering-driver` command line argument.
* Added better descriptive error messages for file operations in core_bind.cppunknown2021-10-181-33/+33
|
* [core_bind] Add `is_alive` to Thread. Replace `is_active` with `is_started`.Brian Semrau2021-10-061-7/+15
| | | | Replacing `is_active` resolves an API discrepancy between core_bind Thread and core/os Thread.
* Merge pull request #53059 from timothyqiu/thread-objRémi Verschelde2021-10-021-4/+12
|\ | | | | Fix crash when creating thread
| * Fix crash when creating threadHaoyu Qiu2021-09-291-4/+12
| |
* | Use range iterators for `Map`Lightning_A2021-09-301-4/+4
|/
* Merge pull request #53053 from LATRio/callable_in_thread_startRémi Verschelde2021-09-281-32/+11
|\
| * Use Callable in Thread::startLATRio2021-09-251-32/+11
| |
* | Fix inversed check inside register_singletonHennadii Chernyshchyk2021-09-281-1/+1
| |
* | Remove `Engine.editor_hint` in favor of `Engine.is_editor_hint()`Hugo Locurcio2021-09-201-2/+0
|/ | | | | | The `Engine.set_editor_hint()` setter method is no longer exposed to scripting, which makes the property effectively read-only from an user perspective.
* Implement `OS::get_locale_language()` helper methodRémi Verschelde2021-09-161-0/+5
| | | | | | | | | This method extracts the 2 or 3-letter language code from `OS::get_locale()`, making it easier for users to identify the "main" language code for users that might have different OS locales due to different OS or region, but should be matched to the same translation (e.g. "generic" Spanish). Fixes #40703.
* Expose enum related methods in ClassDBHaoyu Qiu2021-09-111-0/+41
|
* Rename String::is_rel_path to String::is_relative_pathWilson E. Alvarez2021-08-291-6/+6
|
* Add ability to register singletons from engine APIreduz2021-08-251-2/+33
| | | | | * Exposed functions in Engine to register and unregister singletons. * Added the concept of user singletons, which can be removed (the system ones can't).
* Merge pull request #51627 from mhilbrunner/todo-for-neikeqRémi Verschelde2021-08-181-707/+715
|\
| * Namespaces instead of underscore prefix for bindsMax Hilbrunner2021-08-171-707/+715
| | | | | | | | | | | | Thanks to neikeq for the initial work. Co-authored-by: Ignacio Roldán Etcheverry <neikeq@users.noreply.github.com>
* | Merge pull request #51793 from KoBeWi/direnamRémi Verschelde2021-08-171-2/+4
|\ \ | |/ |/| Fix renaming directories
| * Fix renaming directorieskobewi2021-08-171-2/+4
| |
* | Add partial support for Android scoped storage.ne0fhyk2021-08-161-8/+3
|/ | | | | This is done by providing API access to app specific directories which don't have any limitations and allows us to bump the target sdk version to 30. In addition, we're also bumping the min sdk version to 19 as version 18 is no longer supported by Google Play Services and only account of 0.3% of Android devices.
* Rename `iterations_per_second` to `physics_ticks_per_second`Hugo Locurcio2021-08-111-7/+7
| | | | | | | | This makes it clearer that this property is only about physics FPS, not rendering FPS. The `physics_fps` project setting was also renamed to `physics_ticks_per_second` for consistency.
* Use doubles for time in many other placesAaron Franke2021-08-091-7/+7
|
* [Core] Expose ResourceLoader.get_resource_uid.Fabio Alessandrelli2021-08-091-0/+5
|
* Fix logic to allow default null thread argumentPedro J. Estébanez2021-08-081-1/+1
|
* OS: Fix used resource debug printsRémi Verschelde2021-08-061-4/+32
| | | | | | These methods were broken by 22419082d9bedbc9dc060ea5784bb0871f8710a3 5 years ago and nobody complained, so maybe they're not so useful... But at least this should restore them to a working state.
* Fix thread start with no user data when target has no default argumentPedro J. Estébanez2021-07-311-1/+30
|
* Use Ref<T> references as iterators where relevantRémi Verschelde2021-07-261-7/+7
| | | | And const when possible.
* Use const references where possible for List range iteratorsRémi Verschelde2021-07-251-10/+10
|
* Use C++ iterators for Lists in many situationsAaron Franke2021-07-231-32/+30
|
* Move `alert` function from `DisplayServer` to `OS`.bruvzg2021-07-221-0/+6
|
* Let thread func have optional parameterFaymoon2021-07-131-1/+2
| | | | Fixes #38042.
* Merge pull request #48359 from Calinou/add-engine-print-error-propertyRémi Verschelde2021-06-201-0/+12
|\
| * Add `Engine.print_error_messages` property to disable printing errorsHugo Locurcio2021-05-011-0/+12
| | | | | | | | | | | | | | | | This can be used during unit test suite runs to hide error and warning messages. Care should be taken when using this feature, as it can hide important information if used wrongly.
* | Rename `instance()`->`instantiate()` when it's a verbLightning_A2021-06-191-6/+6
| |
* | Merge pull request #44806 from madmiraal/consolidate_jsonRémi Verschelde2021-06-191-75/+0
|\ \ | | | | | | Consolidate JSON, JSONParseResults and JSONParser into JSON
| * | Consolidate JSON, JSONParseResults and JSONParser into JSONMarcel Admiraal2021-06-191-75/+0
| | | | | | | | | | | | | | | Renames JSON.parse_string() to parse() Renames JSON.decode_data() to stringify()