aboutsummaryrefslogtreecommitdiff
path: root/core
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #11954 from neikeq/dIgnacio Etcheverry2017-10-113-0/+36
|\ | | | | Added 'exposed' field to ClassInfo for registered classes
| * Adds 'exposed' field to ClassInfoIgnacio Etcheverry2017-10-093-0/+36
| | | | | | | | | | | | This field represents if the class is exposed to the scripting API. The value is 'true' if the class was registered manually ('ClassDB::register_*class()'), otherwise it's false (registered on '_post_initialize'). - Added missing registration of classes that are meant to be exposed.
* | Merge pull request #11919 from Toizi/array_sort_refAndreas Haas2017-10-102-7/+10
|\ \ | | | | | | Array::sort/invert now return reference to Array
| * | Array::sort, sort_custom and invert now return reference to Array to allow ↵Marius Guggenmos2017-10-092-7/+10
| | | | | | | | | | | | chaining of operations
* | | Merge pull request #11987 from endragor/define-va-copyIgnacio Etcheverry2017-10-101-0/+11
|\ \ \ | | | | | | | | Define va_copy with --std=c++03 (fixes #11979)
| * | | Define va_copy with --std=c++03 (fixes #11979)Ruslan Mustakov2017-10-101-0/+11
| | | |
* | | | Merge pull request #11810 from marcelofg55/osx_export_improvRémi Verschelde2017-10-091-1/+1
|\ \ \ \ | |/ / / |/| | | OS X export code improvements
| * | | OS::execute can now read from stderr too when executing with a pipeMarcelo Fernandez2017-10-031-1/+1
| | | |
* | | | Fix trailing whitespaces in project settings header commentEmmanuel Leblond2017-10-091-2/+2
| | | |
* | | | Merge pull request #11947 from eska014/fix-obj-marshallingRémi Verschelde2017-10-091-1/+2
|\ \ \ \ | | | | | | | | | | Fix exporting projects with custom input event actions
| * | | | Fix binary marshalling of ObjectsLeon Krause2017-10-081-1/+2
| | | | |
* | | | | [GDnative] Add string_name apiEmmanuel Leblond2017-10-081-0/+3
| |_|/ / |/| | |
* | | | Merge pull request #11853 from endragor/long-string-loggingAndreas Haas2017-10-061-1/+4
|\ \ \ \ | | | | | | | | | | Fix logging of long strings via RotatedFileLogger
| * | | | Fix logging of long strings via RotatedFileLoggerRuslan Mustakov2017-10-051-1/+4
| | | | |
* | | | | Make sure to obey hidpi to off by default, as present in project settings. ↵Juan Linietsky2017-10-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Set it to on by default for editor. Many integrated GPUs can't really get enough performance to play games at hidpi, so this should be enabled manually.
* | | | | Added the set/get_setting function in Editor/Project settings. Renamed has() ↵Juan Linietsky2017-10-054-6/+19
| |/ / / |/| | | | | | | | | | | to has_setting. Fixes #11844
* | | | Merge pull request #11812 from NathanWarden/fix_validate_sslGilles Roudiere2017-10-041-1/+1
|\ \ \ \ | | | | | | | | | | Fixed a bug where ssl would force validation even though you told it not to.
| * | | | Fixed a bug where ssl would force validation even though you told it not to.Nathan Warden2017-10-031-1/+1
| | |/ / | |/| |
* | | | Merge pull request #11823 from endragor/virtual-keyboard-heightGilles Roudiere2017-10-044-0/+13
|\ \ \ \ | |_|/ / |/| | | Allow to obtain virtual keyboard height
| * | | Allow to obtain virtual keyboard heightRuslan Mustakov2017-10-044-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On mobile platforms virtual keyboards take up significant amount of screen space and UI containing a text box may need to be adjusted after the keyboard appears to keep the text box visible to user. This commit adds a way to obtain virtual keyabord height so that controls are aware of how much they need to move.
* | | | fixed the OS.has_feature() API, and added support for 32 and 64.Juan Linietsky2017-10-036-4/+20
| |/ / |/| |
* | | Merge pull request #11782 from eska014/persistent-userfs-testHein-Pieter van Braam2017-10-033-0/+10
|\ \ \ | |/ / |/| | Add OS::is_userfs_persistent, allow starting HTML5 platform in private mode
| * | Add OS::is_userfs_persistent to check user:// persistenceLeon Krause2017-10-023-0/+10
| | | | | | | | | | | | Allows starting HTML5 export when IndexedDB is not available.
* | | Merge pull request #11568 from endragor/loggersAndreas Haas2017-10-0220-29/+433
|\ \ \ | |_|/ |/| | Extract logging logic
| * | Extract logging logicRuslan Mustakov2017-09-2520-29/+433
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously logging logic was scattered over OS class implementations with plenty of duplication. Major changes in this commit: - Extracted logging logic into a separate Logger hierarchy. It allows easy configuration of logging mechanism depending on compile-time or run-time configuration. - Implemented RotatedFileLogger which is usually used with StdLogger, providing persistency of logs. It is often important to be able to obtain logs of the game even in production to be able to understand what happened prior to some problem. On mobile there previously was no way to obtain the logs aside from having the device connected to your machine. - flush() is not performed in release mode for every logged line. It is only performed for errors.
* | | Merge pull request #11659 from AndreaCatania/prephysicsAndreas Haas2017-10-029-27/+27
|\ \ \ | | | | | | | | Renamed fixed_process to physics_process
| * | | Renamed fixed_process to physics_processAndreaCatania2017-09-309-27/+27
| | |/ | |/|
* | | Merge pull request #11730 from gabrielformiga/fix-small-png-texture-importAndreas Haas2017-10-021-2/+2
|\ \ \ | | | | | | | | Change to Image::shrink_x2 function preventing it set a 0 width/height for mipmapped textures
| * | | Change to shrink_x2 function preventing it set a 0 width/heightGabriel2017-09-301-2/+2
| |/ /
* | | Merge pull request #11575 from marcelofg55/move_path_to_trashPoommetee Ketson2017-10-021-0/+2
|\ \ \ | |/ / |/| | FileSystemDock will now remove files/dirs to trashcan using OS::move_to_trash
| * | FileSystemDock will now remove files/dirs to trashcan using OS::move_to_trashMarcelo Fernandez2017-09-251-0/+2
| |/
* | Build MSVC safe_refcount in a separate compilation unitHein-Pieter van Braam2017-09-272-86/+183
| | | | | | | | | | | | Including windows.h in a globally included header gives all kinds of issues. Move the MSVC implementation for safe_refcount back into a .cpp file to prevent this from happening.
* | Merge pull request #11445 from Cradmon/refactorCoreMapRémi Verschelde2017-09-252-231/+216
|\ \ | | | | | | Refactor core/map.h
| * | Refactor core/map.h to be similar to core/set.hCradmon2017-09-201-160/+157
| | |
| * | Refactor core/set.hCradmon2017-09-201-71/+59
| | |
* | | Merge pull request #11518 from hpvb/gdscript-direct-dispatchRémi Verschelde2017-09-253-330/+236
|\ \ \ | | | | | | | | Some more GDScript performance optimizations
| * | | Make variant_op jumptable constHein-Pieter van Braam2017-09-251-26/+26
| | | | | | | | | | | | | | | | Not doing this was a bit of an oversight
| * | | Allow inlining of all parts of safe_refcountHein-Pieter van Braam2017-09-252-304/+210
| | |/ | |/| | | | | | | | | | Differences with this aren't huge but the effort is minimal, in some workloads gain a couple of percent of performance.
* | | Merge pull request #11567 from QuLogic/scons-var-typesRémi Verschelde2017-09-251-1/+1
|\ \ \ | | | | | | | | Add types to scons command-line options
| * | | Use BoolVariable for third-party options.Elliott Sales de Andrade2017-09-251-1/+1
| |/ /
* / / Fixed constness of variant functions, as well as visual script sequence ↵Juan Linietsky2017-09-252-21/+50
|/ / | | | | | | ports. Closes #11258
* | Merge pull request #11549 from hpvb/fix-11543Hein-Pieter van Braam2017-09-241-1/+1
|\ \ | | | | | | Fix Dictionary set_named
| * | Fix Dictionary set_namedHein-Pieter van Braam2017-09-241-1/+1
| | | | | | | | | | | | | | | | | | Reduz optimized field indexing in 3c85703 but the changes didn't apply to dictionary so this code remained untouched. However, the logic for validity checking was changed but not updated for the dictionary case.
* | | Fix Variant::get_named return when p_index is invalidMarcelo Fernandez2017-09-241-0/+1
|/ /
* | Merge pull request #11473 from hpvb/fix-11466Rémi Verschelde2017-09-241-8/+14
|\ \ | | | | | | Implement operator != on Pool*Array types
| * | Implement operator != on Pool*Array typesHein-Pieter van Braam2017-09-221-8/+14
| | | | | | | | | | | | | | | | | | | | | These types previously had equality checks but not inequality checks. Add these too. This fixes #11466
* | | Enable building against system zstd.Elliott Sales de Andrade2017-09-232-20/+3
| | |
* | | Massive optimization to Variant::set_named/get_named. Should give a nice ↵Juan Linietsky2017-09-233-29/+506
|/ / | | | | | | boost to GDScript.
* | Merge pull request #11461 from hpvb/add-likely-macrosRémi Verschelde2017-09-223-12/+21
|\ \ | | | | | | Implement Linux-style likely()/unlikely() macros
| * | Implement Linux-style likely()/unlikely() macrosHein-Pieter van Braam2017-09-213-12/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.