summaryrefslogtreecommitdiffstats
path: root/modules
Commit message (Collapse)AuthorAgeFilesLines
* Add support for OpenSSL 1.1.0.Elliott Sales de Andrade2017-09-242-11/+54
| | | | | | | | This release hides many struct members which provides easier forward compatibility but is a break from previous releases. A few small macros provide compatibility between both 1.1.0 and 1.0.x. Fixes #8624.
* Rename get_position => get_playback_position and seek_pos => seek on audio ↵Marcelo Fernandez2017-09-2310-24/+24
| | | | classes
* Merge pull request #11461 from hpvb/add-likely-macrosRémi Verschelde2017-09-221-3/+3
|\ | | | | Implement Linux-style likely()/unlikely() macros
| * Implement Linux-style likely()/unlikely() macrosHein-Pieter van Braam2017-09-211-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This implement branch prediction macros likely() and unlikely() like in Linux. When using these macros please ensure that when you use them the condition in the branch really is very, very likely or unlikely. Think 90+% of the time. Primarily useful for error checking. (And I implement these macros for all our error checking macros now) See this article for more information: https://kernelnewbies.org/FAQ/LikelyUnlikely There are more places where these macros may make sense in renderer and physics engine. Placing them will come in another commit down the line.
* | Fixed a bunch of typos, including an error code.Ross Hadden2017-09-211-1/+1
|/
* Rename pos to position in user facing methods and variablesletheed2017-09-2016-37/+37
| | | | | | | | | | | Rename user facing methods and variables as well as the corresponding C++ methods according to the folloming changes: * pos -> position * rot -> rotation * loc -> location C++ variables are left as is.
* Do not compile Recast for AndroidRuslan Mustakov2017-09-201-1/+1
| | | | | At least this makes Godot compile for Android until there is a better solution.
* Merge pull request #11256 from djrm/pr_visual_improvementsRémi Verschelde2017-09-191-10/+25
|\ | | | | Visual improvements and new look for VS
| * Improved VisualScriptEditorDaniel J. Ramirez2017-09-141-10/+25
| |
* | Allow booleanization of all typesHein-Pieter van Braam2017-09-194-29/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | We now allow booleanization of all types. This means that empty versions of all types now evaluate to false. So a Vector2(0,0), Dictionary(), etc. This allows you to write GDScript like: if not Dictionary(): print("Empty dict") Booleanization can now also no longer fail. There is no more valid flag, this changes Variant and GDNative API.
* | Merge pull request #11402 from hpvb/remove-gdscript-checks-on-releaseRémi Verschelde2017-09-191-33/+54
|\ \ | | | | | | Various GDScript performance tweaks
| * | Remove more GDScript runtime checks on releaseHein-Pieter van Braam2017-09-191-33/+54
| | | | | | | | | | | | | | | | | | | | | | | | As a preparation for other performance enhancements to GDScript:call() start by removing more of the GDScript runtime checks on release. This code has been tested with 2d/platformer, 3d/platformer, 3d/materials_test, and goltorus. No regressions were found.
* | | Merge pull request #11386 from kosz78/fix-msvc-compile-errorsRémi Verschelde2017-09-192-3/+3
|\ \ \ | |/ / |/| | Fix MSVC compilation errors
| * | Change structure order for godot nim compatibilityKonstantin Zaitsev2017-09-191-1/+1
| | |
| * | Fix MSVC compilation errorsKonstantin Zaitsev2017-09-191-2/+2
| | |
* | | Move Variant::evaluate() switch to computed gotoHein-Pieter van Braam2017-09-176-8/+8
|/ / | | | | | | | | | | | | | | | | | | | | | | | | In an effort to make GDScript a little faster replace the double switch() with a computed goto on compilers that set __GNUC__. For compilers that don't support computed goto it will fall back to regular switch/case statements. In addition disable using boolean values in a mathematical context. Now boolean values can only be compared with other booleans. Booleans will also no longer be coerced to integers. This PR replaces #11308 and fixes #11291
* | Merge pull request #11296 from touilleMan/gdnative-api-structThomas Herzog2017-09-174-2/+740
|\ \ | | | | | | [GDnative] pass api as struct of function pointers to loaded gdnative modules
| * | [GDnative] Use X macro to define godot_gdnative_api_struct and it instantiationEmmanuel Leblond2017-09-172-1328/+684
| | |
| * | [GDnative] create godot_gdnative_api_struct and pass it to ↵Emmanuel Leblond2017-09-174-2/+1384
| | | | | | | | | | | | godot_gdnative_init_options
* | | Merge pull request #11274 from Rubonnek/keep-argument-names-consistentRémi Verschelde2017-09-173-7/+7
|\ \ \ | | | | | | | | Renamed function arguments to keep them consistent between declaration and implementation
| * | | Renamed function arguments to keep them consistent between declaration and ↵Wilson E. Alvarez2017-09-143-7/+7
| | |/ | |/| | | | | | | implementation
* | | Apply clang-format again to recent changesRémi Verschelde2017-09-163-42/+95
| | | | | | | | | | | | | | | | | | Also add missing copyright headers. [ci skip]
* | | Fix compile error on gd_native_library_editor.cpp with tools=noMarcelo Fernandez2017-09-151-0/+2
| |/ |/|
* | Merge pull request #11230 from maxim-sheronov/fix_enum_bindingsThomas Herzog2017-09-153-0/+94
|\ \ | | | | | | Fix enums bindings
| * | Fix enums bindingsMaxim Sheronov2017-09-133-0/+94
| | | | | | | | | | | | | | | Add missed bindings for enums Move some enums to class to have correct output of api.json
* | | Merge pull request #11237 from endragor/gdnative-variant-refThomas Herzog2017-09-141-1/+16
|\ \ \ | | | | | | | | Construct Variants from Reference properly in GDNative
| * | | Construct Variants from Reference properly in GDNativeRuslan Mustakov2017-09-141-1/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously godot_variant_new_object constructed Variant without accounting for the fact that the Object can be a Reference, so refcount was not increased and References were destructed prematurely. Also, Reference::init_ref did not propagate refcount increment to the script instance, which led to desync of refcount info on the script side and Godot side.
* | | | Added a menu to enable/disabled GDNative singletons in project settingsJuan Linietsky2017-09-143-3/+156
| |_|/ |/| |
* | | Fix 2 typosJeroen2017-09-141-1/+1
|/ /
* | Merge pull request #11076 from hpvb/fix-10935Rémi Verschelde2017-09-131-294/+303
|\ \ | | | | | | Fix crash on wrong type drag into the vs editor
| * | Fix crash on wrong type drag into the vs editorHein-Pieter van Braam2017-09-091-294/+303
| | | | | | | | | | | | | | | | | | Don't allow drops of draggable items without a vs node type. This fixes #10935
* | | Merge pull request #11063 from toger5/svg_generation_optimizationRémi Verschelde2017-09-132-29/+40
|\ \ \ | | | | | | | | optimized color conversion for svg generation
| * | | optimized color conversion for svg generationtoger52017-09-122-29/+40
| | | |
* | | | Merge pull request #7908 from SaracenOne/recastRémi Verschelde2017-09-134-0/+111
|\ \ \ \ | | | | | | | | | | In-editor navmesh generation.
| * | | | Recast integration.Saracen2017-09-044-0/+111
| | | | |
* | | | | Changed the doc class generation to individual files per class. It is also ↵Juan Linietsky2017-09-123-0/+182
| |/ / / |/| | | | | | | | | | | | | | | | | | | possible to save module files in module directories and the build system will recognize them.
* | | | Improved VS node coloringDaniel J. Ramirez2017-09-122-9/+24
| | | |
* | | | Improved theme generation, and other fixesDaniel J. Ramirez2017-09-121-1/+1
| |_|/ |/| |
* | | Changed/Added descriptions in @GDScript. Added examples. Fixed return types ↵William Taylor2017-09-121-2/+2
| | | | | | | | | | | | | | | | | | | | | of two … (#11146) Doc: Improved descriptions in GDScript docs Added examples and fixed return types of two methods.
* | | Merge pull request #11028 from mrawlingst/color-RGBA32Rémi Verschelde2017-09-123-8/+8
|\ \ \ | | | | | | | | Change Color.to_32() to Color.to_rgba32() and lowercase other functions
| * | | Change Color.to_32() to to_rgba32() and format as RGBAmrawlingst2017-09-073-8/+8
| | | |
* | | | Many fixes to visual script, changed virtuals override for a proper selector.Juan Linietsky2017-09-123-122/+82
| | | |
* | | | Merge pull request #10908 from hpvb/fix-unused-variablesRémi Verschelde2017-09-122-7/+2
|\ \ \ \ | | | | | | | | | | Fix unused variable warnings
| * | | | Fix unused variable warningsHein-Pieter van Braam2017-09-082-7/+2
| | |_|/ | |/| | | | | | | | | | The forth in my quest to make Godot 3.x compile with -Werror on GCC7
* | | | Merge pull request #11026 from hpvb/fix-assign-in-ifRémi Verschelde2017-09-121-1/+2
|\ \ \ \ | | | | | | | | | | Remove assignment and declarations in if statements
| * | | | Remove assignment and declarations in if statementsHein-Pieter van Braam2017-09-081-1/+2
| |/ / / | | | | | | | | | | | | | | | | | | | | After discussing with @reduz and @akien-mga it was decided that we do not allow assignments or declarations in if statements. This PR removes the instances of this I could find by automated means.
* | | | Merge pull request #11057 from hpvb/fix-various-warningsRémi Verschelde2017-09-121-3/+3
|\ \ \ \ | | | | | | | | | | Fix various assorted warnings
| * | | | Fix various assorted warningsHein-Pieter van Braam2017-09-081-3/+3
| |/ / / | | | | | | | | | | | | | | | | Fix various warnings that don't have enough instances to merit individual commits. Also fixes a potential bug in audio_server.cpp.
* | | | Implement String len()Poommetee Ketson2017-09-111-3/+11
| | | |
* | | | Fixed attempt to delete NULL pointer errorbncastle2017-09-101-1/+1
|/ / / | | | | | | | | | | | | | | | | | | Fixed: Error cause by attemptng to delete a NULL pointer. unregister_gdnative_types() now checks discoverer to see if it is NULL before deleting. After selecting a godot project to edit (in Win10), the discoverer_callback() wasn't called thus discoverer was NULL.