Rémi Verschelde
20a32d6a2e
Merge pull request #12039 from Hinsbart/expose_joy_connection
...
Input: expose joy_connection_changed()
[ci skip]
2017-10-11 23:01:33 +02:00
Andreas Haas
8f1ed9aaee
Input: expose joy_connection_changed()
2017-10-11 18:55:57 +02:00
Ignacio Etcheverry
740ef3dc97
Merge pull request #11954 from neikeq/d
...
Added 'exposed' field to ClassInfo for registered classes
2017-10-11 13:54:34 +02:00
Andreas Haas
1d8a546a07
Merge pull request #11919 from Toizi/array_sort_ref
...
Array::sort/invert now return reference to Array
2017-10-10 20:31:48 +02:00
Ignacio Etcheverry
8ac43bb1de
Merge pull request #11987 from endragor/define-va-copy
...
Define va_copy with --std=c++03 (fixes #11979 )
2017-10-10 16:35:39 +02:00
Ruslan Mustakov
73e86187bc
Define va_copy with --std=c++03 ( fixes #11979 )
2017-10-10 12:09:59 +07:00
Ignacio Etcheverry
0c2e882210
Adds 'exposed' field to ClassInfo
...
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.
2017-10-09 23:49:17 +02:00
Marius Guggenmos
2f173a67ab
Array::sort, sort_custom and invert now return reference to Array to allow chaining of operations
2017-10-09 16:36:09 +02:00
Rémi Verschelde
e8b9cca614
Merge pull request #11810 from marcelofg55/osx_export_improv
...
OS X export code improvements
2017-10-09 12:20:39 +02:00
Emmanuel Leblond
80b15fba1d
Fix trailing whitespaces in project settings header comment
2017-10-09 08:34:32 +02:00
Rémi Verschelde
e5fcf0ee76
Merge pull request #11947 from eska014/fix-obj-marshalling
...
Fix exporting projects with custom input event actions
2017-10-09 00:04:28 +02:00
Leon Krause
c05c334de7
Fix binary marshalling of Objects
2017-10-08 20:13:46 +02:00
Emmanuel Leblond
d17951f57e
[GDnative] Add string_name api
2017-10-08 16:47:10 +02:00
Andreas Haas
fd1d886cf8
Merge pull request #11853 from endragor/long-string-logging
...
Fix logging of long strings via RotatedFileLogger
2017-10-06 13:16:21 +02:00
Juan Linietsky
d938de67ff
Make sure to obey hidpi to off by default, as present in project settings. 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.
2017-10-05 16:41:42 -03:00
Juan Linietsky
3d87b70f7a
Added the set/get_setting function in Editor/Project settings. Renamed has() to has_setting. Fixes #11844
2017-10-05 15:34:34 -03:00
Ruslan Mustakov
01ebcfe841
Fix logging of long strings via RotatedFileLogger
2017-10-05 16:16:20 +07:00
Gilles Roudiere
2e6f2ed032
Merge pull request #11812 from NathanWarden/fix_validate_ssl
...
Fixed a bug where ssl would force validation even though you told it not to.
2017-10-04 20:40:53 +02:00
Gilles Roudiere
5b9b158354
Merge pull request #11823 from endragor/virtual-keyboard-height
...
Allow to obtain virtual keyboard height
2017-10-04 18:16:28 +02:00
Ruslan Mustakov
275e537058
Allow to obtain virtual keyboard height
...
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.
2017-10-04 17:21:05 +07:00
Juan Linietsky
3cadecf17b
fixed the OS.has_feature() API, and added support for 32 and 64.
2017-10-03 17:36:14 -03:00
Nathan Warden
310a8eb902
Fixed a bug where ssl would force validation even though you told it not to.
2017-10-03 13:53:23 -05:00
Marcelo Fernandez
4b695c3bdf
OS::execute can now read from stderr too when executing with a pipe
2017-10-03 15:09:04 -03:00
Hein-Pieter van Braam
2bece6bbd3
Merge pull request #11782 from eska014/persistent-userfs-test
...
Add OS::is_userfs_persistent, allow starting HTML5 platform in private mode
2017-10-03 12:24:11 +02:00
Andreas Haas
132ba0ed97
Merge pull request #11568 from endragor/loggers
...
Extract logging logic
2017-10-02 23:51:26 +02:00
Andreas Haas
5303efb2fa
Merge pull request #11659 from AndreaCatania/prephysics
...
Renamed fixed_process to physics_process
2017-10-02 23:10:36 +02:00
Andreas Haas
2fbffb7cde
Merge pull request #11730 from gabrielformiga/fix-small-png-texture-import
...
Change to Image::shrink_x2 function preventing it set a 0 width/height for mipmapped textures
2017-10-02 22:42:38 +02:00
Leon Krause
7b23665e72
Add OS::is_userfs_persistent to check user:// persistence
...
Allows starting HTML5 export when IndexedDB is not available.
2017-10-02 21:07:05 +02:00
Poommetee Ketson
478fd21e07
Merge pull request #11575 from marcelofg55/move_path_to_trash
...
FileSystemDock will now remove files/dirs to trashcan using OS::move_to_trash
2017-10-02 23:52:09 +07:00
Gabriel
40dcf4a2e7
Change to shrink_x2 function preventing it set a 0 width/height
2017-09-30 17:21:10 -03:00
AndreaCatania
4537977d6d
Renamed fixed_process to physics_process
2017-09-30 16:19:07 +02:00
Hein-Pieter van Braam
350fcb6d98
Build MSVC safe_refcount in a separate compilation unit
...
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.
2017-09-27 00:01:02 +02:00
Marcelo Fernandez
20918587d3
FileSystemDock will now remove files/dirs to trashcan using OS::move_to_trash
2017-09-25 21:49:01 -03:00
Rémi Verschelde
e9e1753c3c
Merge pull request #11445 from Cradmon/refactorCoreMap
...
Refactor core/map.h
2017-09-25 23:53:18 +02:00
Rémi Verschelde
c79fc6716e
Merge pull request #11518 from hpvb/gdscript-direct-dispatch
...
Some more GDScript performance optimizations
2017-09-25 23:25:42 +02:00
Rémi Verschelde
78aa7b382a
Merge pull request #11567 from QuLogic/scons-var-types
...
Add types to scons command-line options
2017-09-25 22:44:05 +02:00
Juan Linietsky
c5da28f24c
Fixed constness of variant functions, as well as visual script sequence ports. Closes #11258
2017-09-25 17:09:27 -03:00
Elliott Sales de Andrade
45a9a680a3
Use BoolVariable for third-party options.
2017-09-25 14:36:30 -04:00
Hein-Pieter van Braam
758accdcc2
Make variant_op jumptable const
...
Not doing this was a bit of an oversight
2017-09-25 18:29:44 +02:00
Hein-Pieter van Braam
158c3fbf3c
Allow inlining of all parts of safe_refcount
...
Differences with this aren't huge but the effort is minimal, in some
workloads gain a couple of percent of performance.
2017-09-25 18:29:18 +02:00
Ruslan Mustakov
1a2311e350
Extract logging logic
...
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.
2017-09-25 16:19:21 +07:00
Hein-Pieter van Braam
a124651280
Merge pull request #11549 from hpvb/fix-11543
...
Fix Dictionary set_named
2017-09-24 20:22:53 +02:00
Marcelo Fernandez
57d438eb7a
Fix Variant::get_named return when p_index is invalid
2017-09-24 14:50:51 -03:00
Hein-Pieter van Braam
4d14d61bbc
Fix Dictionary set_named
...
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.
2017-09-24 19:44:49 +02:00
Rémi Verschelde
ebaf2d89e9
Merge pull request #11473 from hpvb/fix-11466
...
Implement operator != on Pool*Array types
2017-09-24 15:59:59 +02:00
Elliott Sales de Andrade
a408388623
Enable building against system zstd.
2017-09-23 23:46:47 -04:00
Juan Linietsky
3c857033df
Massive optimization to Variant::set_named/get_named. Should give a nice boost to GDScript.
2017-09-23 21:05:35 -03:00
Hein-Pieter van Braam
7b492e6a23
Implement operator != on Pool*Array types
...
These types previously had equality checks but not inequality checks.
Add these too.
This fixes #11466
2017-09-22 14:40:42 +02:00
Rémi Verschelde
be60689812
Merge pull request #11461 from hpvb/add-likely-macros
...
Implement Linux-style likely()/unlikely() macros
2017-09-22 09:15:45 +02:00
Ross Hadden
1a97d6455d
Fixed a bunch of typos, including an error code.
2017-09-21 23:58:29 -04:00