Rémi Verschelde
b97401f304
Update copyright statements to 2020
...
And apply clang-format 10 to the codebase.
2020-08-13 22:58:13 +02:00
Xavier Sellier
400e273eee
Fallback to the dummy audio driver if no other driver works
...
Fix this issue https://github.com/godotengine/godot/issues/1684
2019-12-19 10:16:01 -05:00
Rémi Verschelde
7562ce053a
Update copyright statements to 2019
2019-06-04 11:41:49 +02:00
Rémi Verschelde
bb13fa896e
Style: Format code with clang-format 6.0.1
2018-07-18 17:56:12 +02:00
George Marques
1738f5a600
Fix build for WinRT using VS2017
2018-02-18 20:16:53 -03:00
George Marques
2fae3e786d
Add option to sign WinRT exports with signtool
...
Windows-only.
2018-01-04 17:08:52 -02:00
Rémi Verschelde
3102dc17ee
Merge pull request #13437 from xsellier/bugfix/mouse-cursor-lag
...
Implement hardware cursor acceleration for Godot Engine 2.1
2018-01-03 08:36:44 +01:00
Rémi Verschelde
2712014744
Update copyright statements to 2018
...
Happy new year to the wonderful Godot community!
2018-01-02 11:27:24 +01:00
Xavier Sellier
377fdc1e33
Hardware cursor implementation for Godot Engine 2.1
...
- Remove all references to the variable 'custom_mouse_cursor_hotspot' and 'custom_mouse_cursor' from the project settings.
- Indeed, to implement a custom cursor we need to define a sprite for each 'state' of the cursor. Using those variables in the projects settings would define only the _main_ cursor.
- Cleanup the VirtualServer (Remove references to cursor_set_visible, cursor_set_texture and cursor_set_pos)
- Cleanup the Input (set_mouse_in_window should not be used anymore)
- Update the documentation
- Implement it for windows, X11, Javascript, BB 10, OSx, iOS, server, android
- NOT IMPLEMENTED FOR WINRT (As of today, I'm not able to implement this one, this post might help)
- NOT IMPLEMENTED FOR HAIKU (Support of this platform seems perfunctory)
- Build it for Windows, Android and OSX
2017-12-15 11:37:36 -05:00
Rémi Verschelde
6a4e7198c5
Style: apply clang-format (5.0.0) to current source
2017-12-11 15:31:49 +01:00
Indah Sylvia
88b6c49e22
Enhanced UWP logo on Export dialog
2017-11-29 19:50:02 +07:00
Rhody Lugo
714e02c0f6
disable caching for targets using helper functions
2017-11-28 16:14:24 -04:00
Rhody Lugo
388249c386
use the same cache for all branches for appveyor
2017-11-28 03:23:51 -04:00
Matthias Hoelzl
fb236045de
Make build scripts Scons 3.0/Python3 compatible
...
- Cherry picked #10662 and fixed merge conflicts.
- Manualy merged the change from #11904 .
- Did not merge #12236 since I'm not sure whether the issue
affects Godot 2.1 and I don't have VS2013 to test.
- Did not merge #11843 since it doesn't seem relevant (the
code is only needed for creating DONORS.md, etc.).
- Did not merge #10727 and #11752 since they seem to be
already included in #11742 .
- The Windows and Linux builds have been tested with Scons 3.0
using Python 3.
- OSX and iOS should hopefully work but are not tested since
I don't have a Mac.
- Builds using SCons 2.5 and Python 2 should not be impacted.
2017-10-24 06:41:32 +02:00
Marcelo Fernandez
253db95cba
OS::execute can now read from stderr too when executing with a pipe.
2017-09-21 17:44:53 -03:00
Rémi Verschelde
9d598833d2
Use HTTPS URL for Godot's website in the headers
2017-08-27 14:11:45 +02:00
George Marques
40a778a709
WinRT: Remove unneeded include
...
Fix #10642
2017-08-25 19:52:20 -03:00
Marcelo Fernandez
647c4ae5bf
Add closest_power_of_2 func and implement mix_rate/latency on OS X
2017-08-18 12:10:21 -03:00
Rémi Verschelde
c1f54e1a45
Style: Apply clang-format on all files
...
Thus fixing some invalid changes that had still made it to the 2.1 branch.
2017-07-30 23:00:25 +02:00
George Marques
55a3e078fa
WinRT: Fix problem with Cert Kit validation
2017-07-12 01:33:42 -03:00
George Marques
92ac3869d3
WinRT: Fix exporting problems
...
- Replace spaces with %20, since appx don't like it.
- Use .zip extension for custom package templates.
2017-06-26 14:51:21 -03:00
Poommetee Ketson
4a0dc529ce
BuildSystem: generated files have .gen.ext
2017-06-25 20:31:56 +07:00
George Marques
0a9d482482
WinRT: Add Gamepad vibration support
2017-06-24 13:31:36 -03:00
George Marques
fbb4107ec7
WinRT: Fix Gamepad input
...
Fix #9216
2017-06-24 12:22:58 -03:00
George Marques
b2f8a365f2
Fix cherry-picking issues caused by code updates
2017-06-07 12:59:42 -03:00
George Marques
477c770181
Change winrt build to be less dependent on ANGLE
...
Now it does not try to build if the solution is not found. This way it's
possible to provide a minimal package with includes and libs and make it
build correctly.
Also remove messages from detect.py since it is ran for every platform
target.
2017-06-07 12:50:38 -03:00
George Marques
21c4bff64c
Add Windows Universal export to editor
...
- Use OPENSSL_ENABLED definition to the whole source to detect it
anywhere.
- Add WinRT/UWP template files with manifest and default images.
2017-06-07 11:36:00 -03:00
George Marques
e01fdd8a86
Remove embedded ANGLE headers
...
There's now a dependency on external ANGLE code, those are not needed
anymore.
2017-06-07 11:36:00 -03:00
George Marques
48a06f730f
Implement missing WinRT functions
...
- Fix buildsystem for WinRT/UWP platform.
- Add audio driver and joystick mapping for WinRT.
- Enable thread class for WinRT.
- Refactor MSVC compiler architecture detection to methods.py, so it can
be used by Windows and WinRT.
2017-06-07 11:36:00 -03:00
Rémi Verschelde
e9b045d9e5
Add "Godot Engine contributors" copyright line
2017-04-08 00:45:24 +02:00
Rémi Verschelde
f8db8a3faa
Bring that Whole New World to the Old Continent too
...
Applies the clang-format style to the 2.1 branch as done for master in
5dbf1809c6
.
2017-03-19 00:36:26 +01:00
Fabio Alessandrelli
9c8ecb45f8
Improvements to scons defined WINVER/_WIN32_WINNT
...
(cherry picked from commit 65483d57bf
)
2017-01-12 19:15:30 +01:00
Rémi Verschelde
d8223ffa75
Welcome in 2017, dear changelog reader!
...
That year should bring the long-awaited OpenGL ES 3.0 compatible renderer
with state-of-the-art rendering techniques tuned to work as low as middle
end handheld devices - without compromising with the possibilities given
for higher end desktop games of course. Great times ahead for the Godot
community and the gamers that will play our games!
(cherry picked from commit c7bc44d5ad
)
2017-01-12 19:15:30 +01:00
Rémi Verschelde
eaf803f71e
style: Various other PEP8 fixes in Python files
...
Done with `autopep8 --select=E7`, fixes:
- E701 - Put colon-separated compound statement on separate lines.
- E702 - Put semicolon-separated compound statement on separate lines.
- E703 - Put semicolon-separated compound statement on separate lines.
- E711 - Fix comparison with None.
- E712 - Fix (trivial case of) comparison with boolean.
- E713 - Fix (trivial case of) non-membership check.
- E721 - Fix various deprecated code (via lib2to3).
2016-11-02 22:30:34 +01:00
Rémi Verschelde
a7389217f8
style: Fix PEP8 blank lines issues in Python files
...
Done with `autopep8 --select=E3,W3`, fixes:
- E301 - Add missing blank line.
- E302 - Add missing 2 blank lines.
- E303 - Remove extra blank lines.
- E304 - Remove blank line following function decorator.
- E309 - Add missing blank line.
- W391 - Remove trailing blank lines.
2016-11-02 22:29:36 +01:00
Rémi Verschelde
e259bf8bbb
style: Fix PEP8 whitespace issues in Python files
...
Done with `autopep8 --select=E2,W2`, fixes:
- E201 - Remove extraneous whitespace.
- E202 - Remove extraneous whitespace.
- E203 - Remove extraneous whitespace.
- E211 - Remove extraneous whitespace.
- E221 - Fix extraneous whitespace around keywords.
- E222 - Fix extraneous whitespace around keywords.
- E223 - Fix extraneous whitespace around keywords.
- E224 - Remove extraneous whitespace around operator.
- E225 - Fix missing whitespace around operator.
- E226 - Fix missing whitespace around operator.
- E227 - Fix missing whitespace around operator.
- E228 - Fix missing whitespace around operator.
- E231 - Add missing whitespace.
- E231 - Fix various deprecated code (via lib2to3).
- E241 - Fix extraneous whitespace around keywords.
- E242 - Remove extraneous whitespace around operator.
- E251 - Remove whitespace around parameter '=' sign.
- E261 - Fix spacing after comment hash.
- E262 - Fix spacing after comment hash.
- E265 - Format block comments.
- E271 - Fix extraneous whitespace around keywords.
- E272 - Fix extraneous whitespace around keywords.
- E273 - Fix extraneous whitespace around keywords.
- E274 - Fix extraneous whitespace around keywords.
- W291 - Remove trailing whitespace.
- W293 - Remove trailing whitespace.
2016-11-02 22:28:28 +01:00
Rémi Verschelde
561c1f17a1
style: Start applying PEP8 to Python files, indentation issues
...
Done with `autopep8 --select=E1`, fixes:
- E101 - Reindent all lines.
- E112 - Fix under-indented comments.
- E113 - Fix over-indented comments.
- E115 - Fix under-indented comments.
- E116 - Fix over-indented comments.
- E121 - Fix a badly indented line.
- E122 - Fix a badly indented line.
- E123 - Fix a badly indented line.
- E124 - Fix a badly indented line.
- E125 - Fix indentation undistinguish from the next logical line.
- E126 - Fix a badly indented line.
- E127 - Fix a badly indented line.
- E128 - Fix a badly indented line.
- E129 - Fix a badly indented line.
2016-11-02 22:26:55 +01:00
Rémi Verschelde
5a49e45d21
SCsub: Add python shebang as a hint for syntax highlighting
...
Also switch existing shebangs to "better" /usr/bin/env python.
(cherry picked from commit fc8ccd5b8c
)
2016-10-30 14:51:34 +01:00
Rémi Verschelde
846db09038
Drop nedmalloc which is apparently not used anymore
...
(cherry picked from commit f63bf12193
)
2016-10-30 14:51:30 +01:00
Rémi Verschelde
26baaf447a
WinRT: Add missing license file for ANGLE
...
Also drop the unused "All rights reserved" FunctionDiscoveryKeys_devpkey.h
Fixes #4859 .
2016-07-14 08:49:02 +02:00
Juan Linietsky
8dac3bf3b1
Added function to notify ScriptLanguage when a thread is created/freed, allows scripts to allocate a stack there via TLS
2016-06-25 10:41:23 -03:00
J08nY
0ab05b09e4
Fixed iCCp chunk in pngs
...
neccesary for libpng 1.6.27 to work silently
2016-06-22 21:13:29 +02:00
Rémi Verschelde
a7fc04626a
Add missing license headers in our source files ( #5255 )
...
Also removes a couple wrong Godot headers from third-party source files.
2016-06-18 14:46:12 +02:00
Rémi Verschelde
0a5472e697
Remove trailing spaces
2016-04-02 20:26:12 +02:00
Hubert Jarosz
4a4f247914
remove trailing whitespace
2016-03-09 00:00:52 +01:00
hondres
f4fa74fe28
remove pc_joystick_map.h
2016-02-01 14:28:53 +01:00
Emmanuel Leblond
cabf923484
Remove unnecessary null pointer checks
2016-01-04 11:46:16 +01:00
George Marques
5be9ff7b67
Update copyright to 2016 in headers
2016-01-01 11:50:53 -02:00
ZuBsPaCe
ce3216429e
Added missing \n in script error output.
2015-11-19 15:35:18 +01:00
ZuBsPaCe
a5683def19
Nice error output padding. Code location behind " At: " is now aligned with the error message above. Also removed the dot after the file location.
2015-11-19 15:19:25 +01:00