Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-08-11 | Merge pull request #38992 from Dragoncraft89/master | Rémi Verschelde | |
Error handling functions for GdScript | |||
2021-08-10 | Use Key enum instead of plain integers | Aaron Franke | |
2021-08-10 | Merge pull request #51017 from vnen/extension-fixes | Rémi Verschelde | |
2021-08-10 | Merge pull request #50682 from aaronfranke/basis-looking-at | Rémi Verschelde | |
Move code for looking_at to Basis | |||
2021-08-08 | [Text Server] Improve object (image/table) inline alignment. | bruvzg | |
2021-08-05 | Improve extension system | George Marques | |
- Fix library loading and initialization. - Add extra methods/parameters in the interface needed by extenstions. - Add Variant destructors and functions for extracting values and creating Variants from values. | |||
2021-08-05 | Fix a few default parameters in bindings | George Marques | |
They have the wrong type and cause issues with extensions. | |||
2021-08-01 | Move code for looking_at to Basis | Aaron Franke | |
2021-07-31 | Merge pull request #51084 from aaronfranke/no-dectime | Rémi Verschelde | |
Remove obsolete `dectime` method | |||
2021-07-30 | Remove obsolete "dectime" method | Aaron Franke | |
Replaced by "move_toward" | |||
2021-07-30 | VariantParser: Fix uninitialized ResourceParser funcs | Rémi Verschelde | |
They could cause a segfault when parsing values with ID "Resource" as apparently we never set a valid `func` for it. Fixes crash part of #42115. | |||
2021-07-30 | [Net] Fix Marshalls infinite recursion crash. | Fabio Alessandrelli | |
Variants like dictionaries and arrays can have cyclic references, which caused `encode_variant` to run an infinite recursion. Instead of keeping a stack and looking for cyclic references which would make serialization slower, this commit adds a `MAX_RECURSION_DEPTH` constant to Variant, and have `encode_variant` keep track of the current recursion depth, bailing when it's too high since this likely means a cyclic reference has been encountered. | |||
2021-07-27 | Merge pull request #50939 from vnen/fix-variant-bool-conversion | Rémi Verschelde | |
Change Variant bool conversion to uint8_t | |||
2021-07-27 | Change Variant bool conversion to uint8_t | George Marques | |
This ensures more portable conversion since not every path assume bool is 32-bits and there's no loss converting to 8-bits anyway. | |||
2021-07-27 | [Core] Make enum variant cast and encoding 64 bits | Fabio Alessandrelli | |
This should fix various issues where retrieving enum values from scripting languages would result in corrupted values (where 32 bits were valid, and the other 32 random data). | |||
2021-07-25 | Merge pull request #50809 from akien-mga/iterators-const-references | Rémi Verschelde | |
2021-07-25 | Use const references where possible for List range iterators | Rémi Verschelde | |
2021-07-25 | Fix various typos with codespell | luz paz | |
Found via `codespell -q 3 -S ./thirdparty,*.po,./DONORS.md -L ackward,ang,ans,ba,beng,cas,childs,childrens,dof,doubleclick,fave,findn,hist,inout,leapyear,lod,nd,numer,ois,ony,paket,seeked,sinc,switchs,te,uint` | |||
2021-07-24 | Merge pull request #50535 from ChristopheClaustre/packedbytearray_decode_api | Rémi Verschelde | |
Change in PackedByteArray decode api and docs | |||
2021-07-24 | New to_***_array method to decode PackedByteArray to Packed***Array | ChristopheClaustre | |
Documentation for new PackedByteArray::to_***_array methods Documentation for to_byte_array method for PackedInt32/Int64/Float32/Float64Array | |||
2021-07-23 | Use C++ iterators for Lists in many situations | Aaron Franke | |
2021-07-21 | Use the standard C `INFINITY` and `NAN` constants directly | Hugo Locurcio | |
The `Math_INF` and `Math_NAN` defines were just aliases for those constants, so we might as well use them directly. Some portions of the code were already using `INFINITY` directly. | |||
2021-07-20 | Merge pull request #50206 from groud/undoredo_increase_args_count | Rémi Verschelde | |
Increase the number of arguments accepted by UndoRedo methods | |||
2021-07-13 | Merge pull request #50056 from Blackiris/fix-in-operator | George Marques | |
Fix 'in' operator to check if an object member exists | |||
2021-07-06 | Increase the number of arguments accepted by UndoRedo methods | Gilles Roudière | |
2021-07-05 | Fix Variant tags parsing. | bruvzg | |
2021-07-01 | Force String as Dictionary key instead of StringName | reduz | |
* Lua table syntax uses named indexing: `{ mykey = myvalue }` * Python style syntax uses string indexing: `{ "mykey" : myvalue }` * Both are incompatible since a StringName key wont fetch a String key, hence confusing. * This PR proposes always using String for indexing at a very minimal performance cost. Always indexing with StringNames will be faster, but they are considerably more expensive to create. | |||
2021-07-01 | Fix 'in' operator to check if an object member exists | Julien Nguyen | |
2021-07-01 | Add Callable.is_valid() analogous to FuncRef.is_valid() from 3.x | Lyuma | |
2021-06-25 | Implement native extension system | reduz | |
* Deprecates GDNative in favor of a simpler, lower level interface. * New extension system allows registering core engine classes. * Simple header interface in gdnative_interace.h | |||
2021-06-20 | Move many input enums to their own file | Aaron Franke | |
2021-06-19 | Rename `instance()`->`instantiate()` when it's a verb | Lightning_A | |
2021-06-19 | Merge pull request #44806 from madmiraal/consolidate_json | Rémi Verschelde | |
Consolidate JSON, JSONParseResults and JSONParser into JSON | |||
2021-06-19 | Consolidate JSON, JSONParseResults and JSONParser into JSON | Marcel Admiraal | |
Renames JSON.parse_string() to parse() Renames JSON.decode_data() to stringify() | |||
2021-06-19 | Merge pull request #49287 from reduz/expose-variant-internal-binders | Rémi Verschelde | |
Make some Variant internal functions public. | |||
2021-06-18 | Merge pull request #49659 from LightningAA/string-valid-integer-to-int | Rémi Verschelde | |
2021-06-18 | Merge pull request #44156 from aaronfranke/quat-angle-to | Rémi Verschelde | |
Add Quaternion angle_to method | |||
2021-06-18 | Merge pull request #49638 from aaronfranke/multiply-transforms | Rémi Verschelde | |
Allow multiplying Transforms and Basis by numbers | |||
2021-06-17 | Add Quaternion angle_to method | Aaron Franke | |
2021-06-18 | Better format arguments in variant parser | Michael Alexsander Silva Dias | |
2021-06-17 | Make some variant internal functions public. | reduz | |
-Make constructors, ops and setget inline functions public -Should help optimizing the GDScript VM | |||
2021-06-16 | Rename `is_valid_integer()` to `is_valid_int()` | Lightning_A | |
Method from `String` | |||
2021-06-15 | Allow multiplying Transforms and Basis by numbers | Aaron Franke | |
2021-06-14 | Fix json dump and print of circular structure | Haoyu Qiu | |
2021-06-13 | Merge pull request #34668 from aaronfranke/to-string | Rémi Verschelde | |
[Core] Reformat structure string operators | |||
2021-06-12 | VariantParser: Fix reading StringNames with '&'. | Rémi Verschelde | |
Keep support for '@' for now for compatibility. Fixes #49535. Fixes #49542. | |||
2021-06-11 | Rename Reference to RefCounted | Pedro J. Estébanez | |
2021-06-11 | Reformat structure string operators | Aaron Franke | |
The order of numbers is not changed except for Transform2D. All logic is done inside of their structures (and not in Variant). For the number of decimals printed, they now use String::num_real which works best with real_t, except for Color which is fixed at 4 decimals (this is a reliable number of float digits when converting from 16-bpc so it seems like a good choice) | |||
2021-06-11 | Merge pull request #49511 from akien-mga/core-diraccess-fileaccess-io | Rémi Verschelde | |
Core: Move DirAccess and FileAccess to `core/io` | |||
2021-06-11 | Merge pull request #49279 from Calinou/rename-string-is-abs-path-method | Rémi Verschelde | |
Rename `String.is_abs_path()` to `String.is_absolute_path()` |