Juan Linietsky
495d059a74
Merge branch 'master' of https://github.com/godotengine/godot
2017-01-05 09:18:03 -03:00
Juan Linietsky
0f7af4ea51
-Changed most project settings in the engine, so they have major and minor categories.
...
-Changed SectionedPropertyEditor to support this
-Renamed Globals singleton to GlobalConfig, makes more sense.
-Changed the logic behind persisten global settings, instead of the persist checkbox, a revert button is now available
2017-01-05 09:16:00 -03:00
BastiaanOlij
5e717ed8a3
Enabled code that requests an OpenGL 3 context.
2017-01-05 00:05:34 +11:00
BastiaanOlij
55d425807f
First set of changes to fix compilation errors and initialise the gles3 renderer for Mac OS X. Still broken at this point.
2017-01-04 23:34:02 +11:00
Juan Linietsky
118eed485e
ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant.
...
All usages of "type" to refer to classes were renamed to "class"
ClassDB has been exposed to GDScript.
OBJ_TYPE() macro is now GDCLASS()
2017-01-02 23:03:46 -03:00
Rémi Verschelde
3f3f5a5359
Merge remote-tracking branch 'origin/gles3' into gles3-on-master
...
Various merge conflicts have been fixed manually and some mistakes
might have been made - time will tell :)
2017-01-02 21:52:26 +01:00
Rémi Verschelde
c7bc44d5ad
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!
2017-01-01 22:03:33 +01:00
BastiaanOlij
da5651fbb9
Set minimum version to 10.9 building OSX
2016-11-25 00:55:13 +11:00
Rémi Verschelde
817dd7ccbb
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-01 00:35:16 +01:00
Rémi Verschelde
d4c17700aa
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-01 00:35:16 +01:00
Rémi Verschelde
97c8508f5e
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-01 00:33:51 +01:00
Błażej Szczygieł
2bf4553fe0
SCons: Use colored output if available, change "colored"->"verbose"
2016-10-17 22:40:14 +02:00
Rémi Verschelde
e96c49f849
Merge pull request #6850 from akien-mga/pr-scsub-shebang
...
SCsub: Add python shebang as a hint for syntax highlighting
2016-10-17 20:13:18 +02:00
Rémi Verschelde
fc8ccd5b8c
SCsub: Add python shebang as a hint for syntax highlighting
...
Also switch existing shebangs to "better" /usr/bin/env python.
2016-10-17 20:10:46 +02:00
Błażej Szczygieł
4ffa8f224d
Theora: Don't compile unnecessary files, rename "x86_opt_*"
2016-10-16 22:31:27 +02:00
Rémi Verschelde
edbc0c0d0b
freetype: Make it a module and split thirdparty library
...
Comment out the weird workaround for building on Windows at it might
not be needed anymore. Testing needed to confirm.
2016-10-15 18:10:17 +02:00
Rémi Verschelde
cbf52606f4
zlib: Split thirdparty files, simplify scons option
2016-10-15 12:20:47 +02:00
Rémi Verschelde
36738ddda4
glew: Split thirdparty files and isolate env
...
Not fully happy about the way this one interacts with the various
platforms. Maybe the platform_config.h should be generated by the
SCsub instead of passing a define just to know where is the header.
2016-10-15 12:01:28 +02:00
Juan Linietsky
22d83bc9f6
Begining of GLES3 renderer:
...
-Most 2D drawing is implemented
-Missing shaders
-Missing all 3D
-Editor needs to be set on update always to be used, otherwise it does not refresh
-Large parts of editor not working
2016-10-03 21:35:16 +02:00
Juan Linietsky
fc61eb37ce
Merge pull request #5920 from 29jm/fix-warnings
...
Fix some more warnings
2016-09-10 12:21:02 -03:00
Andreas Haas
8c886b9d7a
osx: Support gamepad input.
...
Fixes #3881
Vibration support is not optimal yet as it doesn't try to emulate the "weak" and "strong" motor strength,
but just takes the parameter with the highest value for the vibration gain.
2016-09-06 00:47:54 +02:00
Johan Manuel
046f94d3ac
Remove some unused variables
2016-08-13 13:21:35 +02:00
marcelofg55
bf320fd4ea
Crashfix for OSX on Sierra beta
2016-08-09 13:40:14 -03:00
marcelofg55
38de4d24ef
Fix set_window_size not setting the correct size on OSX
2016-08-02 22:30:19 -03:00
GungnirInd
2c1a74fb3a
Implement OS.request_attention() for OSX ( #5662 )
...
Keeps bouncing icon until user focuses window
2016-07-21 17:30:20 +02:00
Rémi Verschelde
02aeac12d1
OSX export: Default to fat format, make it an enum
...
Since we want to distribute only the fat binary in the official templates, this should
make it work out of the box. 32 bits and 64 bits options are still available for people
that want them, but will throw an error if the binaries are not in the template zip.
2016-07-09 00:46:10 +02:00
Rémi Verschelde
0a72f9ccb8
Merge pull request #5362 from J08nY/png
...
libpng: New version 1.6.27
2016-06-23 07:40:03 +02: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
Keyaku
072da51f20
Added alert() functionality for OS X
2016-06-22 16:58:31 +01:00
Juan Linietsky
61655d6dc2
Fixed make_dir and make_dir_recursive erros, closes #1680 closes #1872
2016-06-18 11:13:03 -03: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
Juan Linietsky
94a6ff3d7a
-make freetype build for all platforms the same, default as builtin except on x11.
...
closes #5119
2016-06-09 21:28:07 -03:00
Rémi Verschelde
768e925271
GLEW: Define static + enabled and includes via SCons
...
This allows us not to have to hack our definitions in the upstream files,
making it easier to upgrade to newer versions in the future.
For the include paths to work, the headers are moved to a GL subfolder to
match their upstream location.
2016-06-08 00:16:27 +02:00
J08nY
3fb3b7c1f7
Somewhat fixed Directory::get_space_left() return values.
2016-06-06 08:14:22 +02:00
marcelofg55
76ab7d3886
Right click->Quit on the godot icon will now close the application on OSX.
...
Fixed get_window_position that missed a return on OSX.
2016-06-04 12:35:00 -03:00
marcelofg55
4e0f2389c3
Merge remote-tracking branch 'upstream/master'
2016-06-02 18:56:28 -03:00
Juan Linietsky
344a39dafd
Implemented file drop support in OSX
2016-05-31 01:27:48 -03:00
marcelofg55
bb223869e0
Key modifiers (Ctrl, Alt, Meta and Shift) may be used as Input keys now on OSX
2016-05-31 00:02:14 -03:00
Juan Linietsky
9b1f8230ec
-Some fixes to OSX retina scaling for window functions
...
-Implemented HiDPI detection and support for Godot Editor!
2016-05-30 00:28:29 -03:00
Rémi Verschelde
7d262947af
Merge pull request #4810 from marcelofg55/master
...
Added application/fat_bits property for EditorExportPlatformOSX::Edit…
2016-05-29 18:28:10 +02:00
Juan Linietsky
65615c0353
fix freetype paths on osx and mingw
2016-05-29 12:26:15 -03:00
marcelofg55
ba0fbe4f79
Added application/fat_bits property for EditorExportPlatformOSX::EditorExportPlatformOSX
2016-05-25 15:17:28 -03:00
marcelofg55
eeb83982e2
Added 'fat' option for bits param on scons for osx, this will produce a fat binary that contains both 32 bits and 64 bits binaries
2016-05-20 17:31:30 -03:00
marcelofg55
b697de92ef
OS.get_screen_size now returns the correct value on OSX
2016-05-11 11:44:10 -03:00
Ariel Manzur
6962fd91c6
rate url on iOS and properly launching from .app on OSX
2016-04-29 10:54:25 -03:00
Ariel Manzur
de3ed61fc5
I think this is ok, "resizable" property might change
2016-04-29 10:54:25 -03:00
eska
ab4caa7953
Move export GUI debug toggle to export settings window
2016-04-28 16:13:26 +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
02eddbf7da
osx: fix inverted horizontal scrolling
2016-03-07 11:24:27 +01:00