Hugo Locurcio
ca268dfecd
Validate audio/video driver command-line arguments
...
This will exit early if the audio/video driver specified doesn't exist.
2019-09-27 15:11:56 +02:00
Andrii Doroshenko (Xrayez)
752debe204
SCons: do not build tests with tools=no
...
This doesn't affect the resulting binary size, but allows to save
a phew seconds during compilation if building export templates.
2019-09-26 16:12:07 +03:00
Rémi Verschelde
084481b79d
Merge pull request #32230 from kawa-yoiko/oa-backward-shift
...
Implement backward shift deletion for OAHashMap
2019-09-26 08:03:46 +02:00
qarmin
17732fe698
Added some obvious errors explanations
2019-09-25 10:28:50 +02:00
Shiqing
78bee16e05
Implement backward shift deletion for OAHashMap
2019-09-21 14:32:40 +08:00
iwek7
617797c47c
Adds skip-breakpoints feature
2019-09-03 20:49:09 +02:00
Hugo Locurcio
1c1928774c
Mark the V-Sync project setting to require an editor restart
...
The V-Sync project setting also applies to the editor, but
it will only take effect when the editor is restarted.
2019-08-27 23:16:55 +02:00
Rémi Verschelde
9ceab52892
Sync controller mappings DB with SDL2 community repo
...
Synced with gabomdq/SDL_GameControllerDB@ef8542c9f3 .
2019-08-27 10:13:05 +02:00
Rémi Verschelde
6b7117ce3f
Merge pull request #31662 from profan/perf/astar-reserve
...
Allow to reserve space for nodes in A* and elements in OAHashMap explicitly.
2019-08-27 10:09:08 +02:00
Robin Hübner
1031833fb0
allow to reserve space in OAHashMap explicitly and also in AStar.
...
* also handle overflow occurring in _get_probe_length
2019-08-27 00:38:35 +02:00
Rémi Verschelde
4b53fdb25d
Merge pull request #31481 from Calinou/generate-gdnative-use-gles2
...
Always use the GLES2 backend when generating the GDNative API JSON
2019-08-26 14:05:20 +02:00
Hugo Locurcio
3d61ca5696
Register as an editor instance when generating the GDNative API JSON
...
This enables the automatic GLES2 fallback if the hardware
doesn't support the GLES3 backend.
This closes #27768 .
2019-08-24 00:09:52 +02:00
Rémi Verschelde
1a4dbd9ee2
Merge pull request #31437 from volzhs/vibrate-mobile
...
Support vibration for Android and iOS
2019-08-21 21:10:22 +02:00
Fabio Alessandrelli
ce5a3f56a6
Rewrite StreamPeerSSL with SSLContext helper class
...
connect_to_stream now accepts optional parameter to specify which
certificates to trust.
Implement accept_stream (SSL server) with key/cert parameters to specify
the RSA key and X509 certificate resources.
2019-08-21 16:59:38 +02:00
volzhs
4061e5bb75
Support vibration for Android and iOS
2019-08-21 23:38:53 +09:00
Rémi Verschelde
0743a07447
Revert "Add Min/Max Window Size Setting"
2019-08-17 16:19:18 +02:00
Rémi Verschelde
822a41a8c0
Merge pull request #31367 from sparkart/add_minmax_winsize_setting
...
Add Min/Max Window Size Setting
2019-08-17 11:21:56 +02:00
Emmanuel Barroga
a7bf643a7b
Add Min/Max Window Size Setting
...
Add project settings to easily set the minimum and maximum window size.
2019-08-15 12:19:09 -07:00
IAmActuallyCthulhu
82b9557803
Remove redundant author doc comments
2019-08-12 04:26:38 -05:00
Rémi Verschelde
839cc98cb9
Merge pull request #31290 from nekomatata/fix-test-regex-disabled
...
Fixed link errors when building in debug with RegEx module disabled
2019-08-12 10:05:35 +02:00
PouleyKetchoupp
360fb0ffa8
Fixed link errors when building in debug with option module_regex_enabled=no
2019-08-11 12:17:18 +02:00
Michael Alexsander Silva Dias
5ca7460421
Replace 'ERR_EXPLAIN' with 'ERR_FAIL_*_MSG' in "main" and "servers" directories
2019-08-09 11:27:39 -03:00
Hugo Locurcio
47c615caf3
Cap the number of warnings/errors per second rather than per frame
...
This reproduces the behavior used for printing when using the remote
debugger. The default limit is 100 errors and 100 warnings per second,
which makes it possible to display much more GDScript warnings
before overflowing.
This also adds a "Too many warnings" message, so that warnings
don't look like errors when overflowing anymore.
This closes #21896 .
2019-07-31 17:29:26 +02:00
Guilherme Felipe
508761e0cd
Fix set_default_cursor_shape always sending motion event
2019-07-29 14:00:37 -03:00
Tomasz Chabora
bd5b73108f
Don't release action if it's not pressed
2019-07-24 18:18:03 +02:00
Chaosus
080c0bb7fe
Added count method to String
2019-07-23 18:55:54 +03:00
Rémi Verschelde
66d09a6b4c
SCons: Fix uses of [].append instead of env.add_source_files()
...
Also added support for SCons project-absolute paths (starting with #) and
warning about duplicates in add_source_files(), and fixed
default_controller_mappings.gen.cpp being included twice after first build
due to *.cpp globbing.
Part of #30270 .
2019-07-22 15:08:32 +02:00
Rémi Verschelde
20a3bb9c48
Merge pull request #30226 from lawnjelly/interpolate
...
Add access to interpolation fraction for fixed timestep interpolation
2019-07-18 15:44:14 +02:00
Chaosus
c37379456f
Implemented local shader arrays
2019-07-15 15:57:39 +03:00
lawnjelly
bf6c301b9c
Add access to interpolation fraction for fixed timestep interpolation
...
Addresses #30068
This is a prerequisite for allowing proper support for fixed timestep interpolation, exposing the interpolation fraction to the engine, modules and gdscript.
The interpolation fraction is the fraction through the current physics tick at the time of the current frame.
2019-07-11 08:25:26 +01:00
Hugo Locurcio
28d3a6051c
Use base Color()
constructors instead of Color::html()
...
This results in slightly smaller binaries (-17 KB for an editor binary)
as no strings need to be allocated.
2019-07-08 21:17:10 +02:00
Rémi Verschelde
56269e2db8
Merge pull request #29613 from Calinou/doctool-create-directories
...
Make `--doctool` create directories if they don't exist
2019-07-08 15:08:45 +02:00
qarmin
9a77d748c0
Fixes minor issues found by static analyzer
2019-07-07 23:08:51 +02:00
Hugo Locurcio
a84124fd1d
Make --doctool
create directories if they don't exist
...
This prevents errors due to missing directories when generating
engine documentation.
This closes #17297 .
2019-07-04 17:01:07 +02:00
Rémi Verschelde
98e7ec1e26
Revert "Add godot version in backtrace message"
2019-07-01 13:58:57 +02:00
Rémi Verschelde
d17eac735c
Merge pull request #29815 from NilsIrl/plus_file_1
...
Replace ` + "/" + ` with `String::file_add()`
2019-07-01 12:06:35 +02:00
Rémi Verschelde
336010d676
Merge pull request #28572 from lupoDharkael/trace-info
...
Add godot version in backtrace message
2019-07-01 09:44:53 +02:00
Rémi Verschelde
b0809046be
Merge pull request #30154 from bojidar-bg/30149-export-flag-editor
...
Ensure --export implies --editor
2019-06-29 18:16:43 +02:00
Bojidar Marinov
9ebc146383
Ensure --export implies --editor
...
Fixes #30149
2019-06-28 15:34:09 +03:00
Bojidar Marinov
0c4c36d823
Add default values to the editor help, docs, and generated RST
...
Also, make spacing of "=" in the editor help a bit more consistent.
Closes #16086
2019-06-27 18:29:35 +03:00
Rémi Verschelde
eaaff9da31
Merge pull request #29941 from qarmin/redundant_code_and_others
...
Remove redundant code, possible NULL pointers and others
2019-06-27 01:05:18 +02:00
qarmin
4e5310cc60
Some code changed with Clang-Tidy
2019-06-26 15:08:25 +02:00
Nils ANDRÉ-CHANG
d2833d4f4d
Replace + "/" +
with String::file_add()
2019-06-23 13:33:50 +01:00
Luka Dornhecker
ad504b926f
Add option to toggle console window on Windows
...
This is an editor setting and its value can also be toggled
using an entry in the Editor toolbar. The console will still
appear briefly when starting the project manager or editor,
as it's still compiled as console application.
Does not impact exported games, which will still run without
console in release and with console in debug mode.
A project setting or export option could be added to disable
it in debug mode if there's demand for it, but that would
greatly reduce the usefulness of debug builds if Windows users
can no longer report error and crash messages.
Fixes #17889 .
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2019-06-20 16:55:52 +02:00
Andrii Doroshenko (Xrayez)
33f55369cb
Enforce Unicode encoding in MSVC
...
This can help to solve compilation issues on systems with Japanese
locale with encodings like Shift_JIS and UTF-8-BOM.
Also be more consistent using String::utf8() to represent cyrilic
unicode characters in test_string.cpp
Clarified some comments in test_string.cpp for some Unicode characters.
2019-06-19 14:42:09 +03:00
Rémi Verschelde
d2f38dbb28
Merge pull request #29470 from KoBeWi/_
...
Add a separator in debug output for readability
2019-06-19 00:19:14 +02:00
Rémi Verschelde
6ba1b4e371
Merge pull request #29764 from Calinou/boot-splash-no-filter-option
...
Add an option to disable boot splash filtering
2019-06-16 10:39:53 +02:00
Hugo Locurcio
786a7341a7
Add an option to disable boot splash filtering
...
Disabling filtering is usually desired in projects using a pixel art style.
This closes #19415 .
2019-06-15 23:53:39 +02:00
Emmanuel Barroga
2cce5699ea
Limit Physics Process FPS above 0
...
Resolves : #19734
2019-06-13 08:53:48 -07:00
Rémi Verschelde
0e6cac8ab8
Merge pull request #29465 from bruvzg/per_pixel_transp_impr
...
Removes redundant "splash" setting, improves per pixel transparency documentation.
2019-06-12 12:50:17 +02:00