summaryrefslogtreecommitdiff
path: root/core/variant
AgeCommit message (Collapse)Author
2021-10-08Faster hash_compare for integer and string keys in dictionariesBartłomiej T. Listwon
2021-10-07Merge pull request #53422 from KoBeWi/add_LUA_to_GodotRémi Verschelde
2021-10-07Merge pull request #53545 from vnen/gdscript-releaseRémi Verschelde
2021-10-07Enable method type information on release buildsGeorge Marques
This is needed to ensure GDScript compilation works properly on release builds and make use of optimized typed instructions.
2021-10-06Add Variant `in` operator for any String/StringName operandsGeorge Marques
Allow using String or StringName types as operand in any position of the `in` operator, which is more convenient in scripting when interacting with data in the engine (such as a Node name).
2021-10-05NaN, INF read/write bug fixedThakee Nathees
Fix: #40589
2021-10-05Fix LUA-style assignment in Dictionarykobewi
2021-10-01Merge pull request #52850 from mashumafi/vector-bsearchRémi Verschelde
2021-09-30Implement bsearch for Vector and Packed*Arraymashumafi
2021-09-30Use range iterators for `Map`Lightning_A
2021-09-29Fix const pointers types in docs and extension API.Fabio Alessandrelli
The GDVIRTUAL_NATIVE_PTR did not declare the correct GDNativeConstPtr template, resulting in "void*" being used as it's type info in both the documentation and the extension API dump.
2021-09-28Merge pull request #52481 from Faless/net/4.x_native_peersFabio Alessandrelli
[Net] Extension system for network peers, webrtc.
2021-09-25Merge pull request #52849 from KoBeWi/know_no_bindsRémi Verschelde
2021-09-24[Net] Enable PacketPeer native extensions.Fabio Alessandrelli
2021-09-24Remove binds from Signal.connectkobewi
2021-09-21Merge pull request #52878 from AnilBK/add-get-centerRémi Verschelde
2021-09-21Add Get Center Method for Rect2/Rect2i and AABB.Anilforextra
2021-09-21Add `print_verbose()` built-in function to print in verbose mode onlyHugo Locurcio
This can be used as a shorthand for: if OS.is_stdout_verbose(): print("...") Unlike `print_debug()`, this works in release builds too and can be toggled off in debug builds.
2021-09-20Merge pull request #52398 from deakcor/dev-transformRémi Verschelde
2021-09-19Expose get_skew for transform2d and add new constructorVincent D
Expose set_scale and set_skew for transform2d Replacing float by real_t Adding const parameters Updated transform2d doc
2021-09-17Allow indexing of String values in scripting languagesGeorge Marques
2021-09-17Merge pull request #52450 from aaronfranke/they-came-from-scaleRémi Verschelde
Replace Vector3.to_diagonal_matrix with Basis.from_scale
2021-09-17Allow comparing equality between builtin types and nullGeorge Marques
2021-09-17Replace Vector3.to_diagonal_matrix with Basis.from_scaleAaron Franke
2021-09-13Added explicit type conversionsMatthew Newall
2021-09-07Implement properties arrays in the Inspector.Gilles Roudière
2021-09-01Merge pull request #52270 from KoBeWi/goodbye_polarGeorge Marques
Remove cartesian2polar and polar2cartesian
2021-09-01Merge pull request #48237 from KoBeWi/they_came_from_angleGeorge Marques
Add Vector2.from_angle() method
2021-08-31Add Vector2.from_angle() methodkobewi
2021-08-31Remove cartesian2polar and polar2cartesiankobewi
2021-08-29Rename String::is_rel_path to String::is_relative_pathWilson E. Alvarez
2021-08-28Merge pull request #47406 from mashumafi/master-Array-insert-rcMax Hilbrunner
Array::insert consistent with Pool*Array::insert
2021-08-28Merge pull request #43522 from qarmin/divide_by_zero_in_vectoriMax Hilbrunner
Fix crash when dividing by 0 in Vector2/3i
2021-08-27Merge pull request #52090 from balloonpopper/bug52060Max Hilbrunner
Correct null and boolean values being capitalised by the str command
2021-08-27Add an `Array.pop_at()` method to pop an element at an arbitrary indexHugo Locurcio
Negative indices are supported to pop an element relative from the end.
2021-08-26Correct null and boolean values being capitalised by the str commandBalloonpopper
2021-08-24Merge pull request #52041 from Rubonnek/expose-simplify-pathMax Hilbrunner
Expose `String.simplify_path`
2021-08-24Expose String.simplify_pathWilson E. Alvarez
2021-08-23Expose RID creation utilities.reduz
* Exposed as utility functions. * Not very useful for script, but vital for creating servers using native extensions.
2021-08-23Implement NativeExtension pointer argumentsreduz
* Allows calling into native extensions directly with a pointer * Makes it easier to implement some APIs more efficiently * Appears with a "*" in the documentation for the argument. * Implementing the pointer handling is entirely up to the implementation, although the extension API provides some hint. * AudioStream has been implemented as an example, allowing to create NativeExtension based AudioStreams.
2021-08-22Replace BIND_VMETHOD by new GDVIRTUAL syntaxreduz
* New syntax is type safe. * New syntax allows for type safe virtuals in native extensions. * New syntax permits extremely fast calling. Note: Everything was replaced where possible except for `_gui_input` `_input` and `_unhandled_input`. These will require API rework on a separate PR as they work different than the rest of the functions. Added a new method flag METHOD_FLAG_OBJECT_CORE, used internally. Allows to not dump the core virtuals like `_notification` to the json API, since each language will implement those as it is best fits.
2021-08-20Merge pull request #51902 from vnen/variant-internal-constructorRémi Verschelde
Fix initialization of objects in VariantInternal
2021-08-19Fix initialization of objects in VariantInternalGeorge Marques
2021-08-18Merge pull request #51627 from mhilbrunner/todo-for-neikeqRémi Verschelde
2021-08-17Fixes to tests for Variant and Geometry3DAaron Franke
2021-08-17Namespaces instead of underscore prefix for bindsMax Hilbrunner
Thanks to neikeq for the initial work. Co-authored-by: Ignacio Roldán Etcheverry <neikeq@users.noreply.github.com>
2021-08-15Fix crash when dividing by 0 in Vector2/3iRafał Mikrut
2021-08-11Merge pull request #38992 from Dragoncraft89/masterRémi Verschelde
Error handling functions for GdScript
2021-08-10Use Key enum instead of plain integersAaron Franke
2021-08-10Merge pull request #51017 from vnen/extension-fixesRémi Verschelde