summaryrefslogtreecommitdiff
path: root/core
AgeCommit message (Collapse)Author
2019-07-06Optimize get_closest_point_to_segment*.Simon Puchert
By combining all scalar factors we can get rid of a scalar * vector multiplication and a square root operation, since the resulting formula only uses the squared length.
2019-07-05Merge pull request #30282 from neikeq/editor_in_cs_equals_winRémi Verschelde
Re-write mono module editor code in C#
2019-07-05Merge pull request #24086 from RandomShaper/bundle-pck-to-executableRémi Verschelde
Enhance game export
2019-07-05Fix localize_path not always workingIgnacio Etcheverry
We make sure the resource dir path ends with a trailing '/' for safety reasons, so we must make sure the path we compare it to does so as well.
2019-07-05Re-write mono module editor code in C#Ignacio Etcheverry
Make the build system automatically build the C# Api assemblies to be shipped with the editor. Make the editor, editor player and debug export templates use Api assemblies built with debug symbols. Always run MSBuild to build the editor tools and Api assemblies when building Godot. Several bugs fixed related to assembly hot reloading and restoring state. Fix StringExtensions internal calls not being registered correctly, resulting in MissingMethodException.
2019-07-05Merge pull request #30296 from neikeq/issue-30127Rémi Verschelde
Expose ResourceImporter to the scripting API
2019-07-05Merge pull request #29744 from GodotExplorer/gdscript-completion-iconsRémi Verschelde
Show icons for code completion options
2019-07-05Show icons for code completion optionsGeequlim
2019-07-04Expose ResourceImporter to the scripting APIIgnacio Etcheverry
Fixes #30127
2019-07-04Merge pull request #30263 from Faless/ws/wslay_prRémi Verschelde
Use wslay as a WebSocket library
2019-07-04WebSocket module now uses wslay library.Fabio Alessandrelli
Both client and server are supported on native builds (as usual). SSL server is still not supported, but will soon be possible with this new library. The API stays the same, we just need to work out potential issues due to this big library switch.
2019-07-04Parse more informations for code completionGeequlim
2019-07-03Add embedded PCK option to PC platformsPedro J. Estébanez
The basic point is as in 2.1 (appending the PCK into the executable), but this implementation also patches a dedicated section in the ELF/PE executable so that it matches the appended data perfectly. The usage of integer types is simplified in existing code; namely, using plain `int` for small quantities.
2019-07-03Add TCP Server is_listening methodFabio Alessandrelli
2019-07-03Add b64 to string helper in CryptoCoreFabio Alessandrelli
2019-07-03Add sha1 functions to string (using new CryptoCore)Fabio Alessandrelli
2019-07-03SCons: Use CPPDEFINES instead of CPPFLAGS for pre-processor definesRémi Verschelde
It's the recommended way to set those, and is more portable (automatically prepends -D for GCC/Clang and /D for MSVC). We still use CPPFLAGS for some pre-processor flags which are not defines.
2019-07-02Fix editor crash when StreamPeerSSL is unavilable.Fabio Alessandrelli
The fix for EditorNode is a bit hacky, but the handling of the buttons and features there is hacky too (based on enums that might not reflect the actual state).
2019-07-02Merge pull request #30239 from Faless/crypto/crypto_coreRémi Verschelde
CryptoCore class to access to base crypto utils.
2019-07-02CryptoCore class to access to base crypto utils.Fabio Alessandrelli
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.
2019-07-02Merge pull request #27510 from fire/screenshot_editorRémi Verschelde
Add editor screenshot on control - f12.
2019-07-02Merge pull request #30223 from qarmin/properly_delete_threadRémi Verschelde
Remove thread to prevent memory leak
2019-07-01Add editor screenshot on control - f12.K. S. Ernest (iFire) Lee
2019-07-01Remove thread to prevent memory leakqarmin
2019-07-01Merge pull request #29980 from Dentrax/directed-by-qarminRémi Verschelde
Fix some editor crashes
2019-07-01Merge pull request #30126 from qarmin/remove_unnecessary_codeRémi Verschelde
Remove unnecessary code and add some error explanations
2019-07-01fix some crashesFurkan Türkal
2019-07-01Remove unnecessary code and add some error explanationsqarmin
2019-07-01Merge pull request #29815 from NilsIrl/plus_file_1Rémi Verschelde
Replace ` + "/" + ` with `String::file_add()`
2019-06-30doc: Enforce default values for OS propertiesRémi Verschelde
Otherwise we end up fetching values from the current OS instance when running doctool, so they would change based on the system or even simply due to changes to the system clipboard.
2019-06-30Fix uninitialized variables in Line2D, JSONParseResult and TileMapRémi Verschelde
2019-06-29Merge pull request #30177 from hbina/use_FALLTHROUGH_macroRémi Verschelde
Applied some of FALLTHROUGH macro usage from #30122
2019-06-29Many fallthrough switch cases now have the FALLTHROUGH macro to tell the ↵hbina085
compiler that this is intended.
2019-06-29Remove bogus nulls from generated default valuesBojidar Marinov
Also, fix crash in PluginScript destructor.
2019-06-29Merge pull request #30112 from AgentEnder/masterRémi Verschelde
AStar get_current_point enabled consideration
2019-06-29Merge pull request #29380 from bojidar-bg/16086-docs-default-valueRémi Verschelde
Add default values to the editor help, docs, and generated RST
2019-06-29AStar get_closest_point/get_closest_position_in_segment enabled considerationCraigory V Coppola
2019-06-28Merge pull request #30121 from DrMoriarty/encrypted_configfileRémi Verschelde
Add encrypted files support to ConfigFile
2019-06-27Merge pull request #30135 from qarmin/fix_memory_leak_osRémi Verschelde
Fix small memory leak in OS.cpp
2019-06-27Fix small memory leak in OS.cppqarmin
2019-06-27Add default values to the editor help, docs, and generated RSTBojidar Marinov
Also, make spacing of "=" in the editor help a bit more consistent. Closes #16086
2019-06-27Add encrypted files support to ConfigFileVasiliy Makarov
Fix #26477 Add in ConfigFile this methods: load_encrypted(path, key) load_encrypted_pass(path, password) save_encrypted(path, key) save_encrypted_pass(path, password)
2019-06-27Properly expose all Error constants to scripting languagesRémi Verschelde
2019-06-27Merge pull request #30096 from akien-mga/doc-misc-updatesRémi Verschelde
doc: Proofread and complete various nodes
2019-06-27Merge pull request #29941 from qarmin/redundant_code_and_othersRémi Verschelde
Remove redundant code, possible NULL pointers and others
2019-06-27Bind is_point_in_polygon in Geometry singletonAndrii Doroshenko (Xrayez)
2019-06-26doc: Proofread and complete various nodesRémi Verschelde
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.
2019-06-26UndoRedo add version changed signalAlexander Holland
added some functions to manage undo buttons
2019-06-26Some code changed with Clang-Tidyqarmin
2019-06-26doc: Document EncodedObjectAsID, expose its propertyRémi Verschelde