Rémi Verschelde
3121b3a4f4
Merge pull request #10141 from ISylvox/lower_case_godot_api
...
Makes all Godot API's Methods lower_case
2017-08-07 14:59:39 +02:00
Indah Sylvia
5ae78fdf6a
Makes all Godot API's methods Lower Case
2017-08-07 18:24:35 +07:00
BastiaanOlij
18dc9d1d5a
Copy point into mouse event as is
2017-08-05 17:31:29 +10:00
Rémi Verschelde
76005a8e75
Style: Apply clang-format on all files
...
Thus fixing some invalid changes that had still made it to the master branch.
2017-07-30 22:53:40 +02:00
BastiaanOlij
20502d9180
Added features for image formats
2017-07-26 21:01:48 +10:00
BastiaanOlij
3bfdc583cb
Fixed setting our system_fbo framebuffer
2017-07-25 08:29:48 +10:00
Juan Linietsky
25678b1876
-Renamed GlobalConfig to ProjectSettings, makes more sense.
...
-Added system for feature overrides, it's pretty cool :)
2017-07-19 17:06:03 -03:00
geequlim
5a2500f580
Fix errors with global config names no more sorrys please
2017-07-19 09:25:50 +08:00
Juan Linietsky
bbada82f80
-Reorganized all properties of project settings (Sorry, Again).
...
(Lot's of bloat accumulated, so it was time for clean up.)
-Made EditorSettings and ProjectSettings search more useful (search in sections too)
2017-07-17 22:18:58 -03:00
BastiaanOlij
ae544b227e
Only execute chmod exporting iOS when on Mac OS X
2017-07-08 21:32:02 +10:00
BastiaanOlij
ef447c2d84
iPhone exporter
2017-07-06 00:01:21 +10:00
Rémi Verschelde
e91a267a7c
Buildsystem: Improve detect.py readability and fix issues
...
Tried to organize the configure(env) calls in sections, using the same order
for all platforms whenever possible.
Apart from cosmetic changes, the following issues were fixed:
- Android: cleanup linkage, remove GLESv1_CM and GLESv2
- iPhone: Remove obsolete "ios_gles22_override" option
- OSX:
* Fix bits detection (default to 64) and remove obsolete "force_64_bits" option
(closes #9449 )
* Make "fat" bits argument explicit
- Server: sync with X11
- Windows: clean up old DirectX 9 stuff
- X11:
* Do not require system OpenSSL for building (closes #9443 )
* Fix typo'ed use_leak_sanitizer option
* Fix .llvm suffix overriding custom extra_suffix
2017-07-01 08:20:51 +02:00
Rémi Verschelde
71c7dcab65
Merge pull request #8949 from RandomShaper/improve-mobile-builds
...
Improve/harmonize mobile builds
2017-06-08 07:41:06 +02:00
Andreas Haas
9bc5348961
InputEvent: Renamed "pos" property to "position"
...
Make the naming consistent with other classes.
2017-06-03 11:26:39 +02:00
Pedro J. Estébanez
854b3cc158
Improve/harmonize mobile builds
2017-05-27 23:26:59 +02:00
Rémi Verschelde
96be464952
Merge pull request #8935 from volzhs/get-locale-master
...
Make OS.get_locale() returns same value
2017-05-27 11:27:39 +02:00
Pedro J. Estébanez
2a52e2b2f5
Allow custom CCFLAGS for iPhone builds
...
plus disable exceptions by default
2017-05-27 00:31:00 +02:00
volzhs
0627445863
Make OS.get_locale() returns same value
2017-05-27 03:50:22 +09:00
sanikoyes
7d374b5974
Fixed audio can not resume if it is interrupted cause by an incoming phone call
2017-05-26 15:29:00 +08:00
Rémi Verschelde
d197cd4705
Merge pull request #8912 from RandomShaper/ios-alert
...
Implement OS.alert() for iOS
2017-05-26 07:56:22 +02:00
Pedro J. Estébanez
50f152575d
Implement OS.alert() for iOS
2017-05-25 17:33:40 +02:00
BastiaanOlij
80fc513663
Make arm64 the default option and set minimum to iOS 9
2017-05-23 23:58:38 +10:00
BastiaanOlij
3768a3b2c5
More fixes for iOS Godot 3.0
...
- nicely exit if initialisation fails
- fix a few issues around new event handling
- use 16bit single channel framebuffer as 32bit is not supported on iOS
2017-05-23 22:38:36 +10:00
Juan Linietsky
5b3709d309
Removal of InputEvent as built-in Variant type..
...
this might cause bugs I haven't found yet..
2017-05-20 17:05:38 -03:00
BastiaanOlij
87b4776cbf
Removing rasterizer from iphone
2017-05-20 10:17:47 +10:00
BastiaanOlij
1f4f784e7d
MFI gamepad support for iPhone
2017-05-17 22:38:49 +10:00
Sergey Pusnei
8589ca3903
Rename [gs]et_pos to [gs]et_position for Controls
...
Control set_pos -> set_position
Control set_global_pos -> set_global_position
[gs]et_mouse_pos -> [gs]et_mouse_position
[gs]et_global_mouse_pos -> [gs]et_global_mouse_position
fixes #8005
2017-04-10 08:27:34 +02:00
Rémi Verschelde
3fd10ff6f0
Style: Apply clang-format (3.9.1) to Obj-C++ files
2017-04-09 14:44:52 +02:00
BastiaanOlij
5c2ddb299b
Formatting of mm files
2017-04-09 21:22:40 +10:00
Rémi Verschelde
df61dc4b2b
Add "Godot Engine contributors" copyright line
2017-04-08 00:11:42 +02:00
Juan Linietsky
74808ac4d9
New particle system, mostly working, some small features missing.
2017-04-06 23:49:27 -03:00
Rémi Verschelde
9d28a5e7d9
Merge pull request #8159 from Hinsbart/last_id
...
Input: Remove usage of platform dependent event IDs.
2017-03-27 08:52:58 +02:00
Rémi Verschelde
d8f32637be
SCons: Add option to toggle warnings (on by default)
...
All the warnings are factored out of the platform-specific files and moved to
SConstruct. Will have to check that it does not introduce regressions on some
platforms/compilers.
(cherry picked from commit 31107daa1a
)
2017-03-26 21:58:37 +02:00
Andreas Haas
c0b6756875
Input: Remove usage of platform dependent event IDs.
...
The ID property for InputEvents is set by `SceneTree` when sending the event down the tree.
So there's no need for the platform specific code to set this value when it will later be overriden anyway...
2017-03-26 15:59:32 +02:00
BastiaanOlij
a0b0dff6fd
Fixing magnetometer on iOS
...
(cherry picked from commit 4b7d1d8c15
)
2017-03-24 23:18:42 +01:00
Rémi Verschelde
5cad9147f9
Merge pull request #8133 from Hinsbart/joy_constants
...
Input: Refactor JOY_* constants.
2017-03-24 22:53:16 +01:00
Rémi Verschelde
debeee56f7
Fix typos in source code using codespell
...
From https://github.com/lucasdemarchi/codespell
2017-03-24 21:45:31 +01:00
Andreas Haas
0d8f5660f6
Input: Refactor JOY_* constants.
...
**Breaking change**
Removed the `JOY_SNES_*` and `JOY_SEGA_*` constants. Imho there's no reason for a modern game engine to provide button aliases for decades-old hardware.
Also renamed `JOY_ANALOG_{0,1}_{X,Y}` to `JOY_ANALOG_{L,R}{X,Y}` and removed `JOY_ANALOG_2_*`.
2017-03-24 18:04:36 +01:00
Rémi Verschelde
5dbf1809c6
A Whole New World (clang-format edition)
...
I can show you the code
Pretty, with proper whitespace
Tell me, coder, now when did
You last write readable code?
I can open your eyes
Make you see your bad indent
Force you to respect the style
The core devs agreed upon
A whole new world
A new fantastic code format
A de facto standard
With some sugar
Enforced with clang-format
A whole new world
A dazzling style we all dreamed of
And when we read it through
It's crystal clear
That now we're in a whole new world of code
2017-03-05 16:44:50 +01:00
Rémi Verschelde
e1c1d7d1d7
Add a bunch of missing Godot headers in own files
2017-03-05 15:47:28 +01:00
Rémi Verschelde
481e511082
iphone: Drop unused Appirater thirdparty API
2017-03-05 14:53:56 +01:00
Julian Murgia
94103c0c02
Add API to access battery power state
...
Done:
- X11, server (tested)
- Windows (developed, would be nice to retest)
- OSX (not tested)
Prepared (not developed):
- Android (code is here, but may not compile)
- iphone
- winrt
- bb10
- haiku
- javascript
2017-03-04 18:04:29 +01:00
Bojidar Marinov
cd52209d1b
Really fix iphone builds
2017-02-23 20:20:55 +02:00
Bojidar Marinov
53921faa91
Complete the globals.h -> global_config.h conversion
2017-02-23 17:47:25 +02:00
Juan Linietsky
de0045cf1b
-renamed globals.h to global_config.cpp (this seems to have caused a few modified files)
...
-.pck and .zip exporting redone, seems to be working..
2017-02-21 00:06:30 -03:00
Hein-Pieter van Braam
411ee71b4d
Rename the _MD macro to D_METHOD
...
This new name also makes its purpose a little clearer
This is a step towards fixing #56
2017-02-13 12:50:02 +01:00
BastiaanOlij
3a02df7739
Working on compile issues for iOS
2017-01-16 23:14:13 +11:00
Rémi Verschelde
f44ee891be
Style: Fix statements ending with ';;'
2017-01-16 08:49:52 +01:00
Juan Linietsky
b400c69cd4
Oops! Audio engine has vanished :D
2017-01-15 16:07:51 -03:00
BastiaanOlij
5e4dcb3b7f
Added support for getting gravity vector from iOS
2017-01-12 16:37:27 +11:00
BastiaanOlij
efa9ded5f9
Added logic for adjusting to screen orientation and removed final negative z
2017-01-12 16:34:42 +11:00
BastiaanOlij
ee98e06952
Added gravity vector back into the accelerometer data and flipped Z on the gyro
2017-01-12 16:34:42 +11:00
BastiaanOlij
51c60f7a49
Fixed up release motionManager and negate z for gyro and magnetometer
2017-01-12 16:34:42 +11:00
BastiaanOlij
5c13bae8df
Replacing deprecated UIAccelerometer with Core Motion
2017-01-12 16:34:42 +11:00
Juan Linietsky
547a57777b
renamed joystick to joypad everywhere around source code!
2017-01-08 17:06:33 -03:00
Juan Linietsky
2ab83e1abb
Memory pool vectors (DVector) have been enormously simplified in code, and renamed to PoolVector
2017-01-07 18:26:38 -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
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
Rémi Verschelde
cc95d4448c
scons: Reorder options for clarity
...
Also prefix all thirdparty-related toggles with `builtin`.
2016-11-03 07:45:08 +01:00
Rémi Verschelde
f34151ff0f
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-01 00:35:16 +01: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
Juan Linietsky
53d8f2b1ec
PBR more or less working, still working on bringing gizmos back
2016-10-27 11:50:26 -03: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
Rémi Verschelde
cbf52606f4
zlib: Split thirdparty files, simplify scons option
2016-10-15 12:20:47 +02:00
Rémi Verschelde
d9a291f641
ogg/vorbis/opus: Make them modules and unbundle thirdparty libs
...
Took the opportunity to undo the Godot changed made to the
opus source. The opus module should eventually be built in its
own environment to avoid polluting others with too many include
dirs and defines.
TODO: Fix the platform/ stuff for opus.
2016-10-15 11:50:40 +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
Rémi Verschelde
3efe1231f0
Move templates and distribution stuff to tools/dist
...
Also removed the obsolete iOS xcode template.
2016-09-05 07:49:10 +02:00
Ariel Manzur
10c512e46d
added "arch" parameter, made iphone use it to build isim
2016-06-23 07:41:54 +02:00
Rémi Verschelde
dc8c145488
iOS simulator: merge into iphone detect.py
...
Fixes #4489
2016-06-23 07:41:54 +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
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
Geequlim
fdf914e53e
Add texture region support for stylebox render
2016-06-05 00:45:53 +08:00
Hubert Jarosz
33403d91f7
remove trailing whitespace
2016-05-21 15:29:25 +02:00
Ariel Manzur
6aae63fce2
disabled appirater
2016-04-29 13:03:46 -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
b50c00ff90
merged iphoen changes
2016-04-29 10:50:56 -03: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
Aren Villanueva
7b25641813
Reject any native video player calls on iOS that point to files within .pck archives.
...
Fix the paths for both res:// and user:// specified video files.
2016-02-19 16:05:49 +11:00
Ariel Manzur
ad405ade17
adding xcode project template
2016-02-14 18:18:47 -03:00
volzhs
c937fd5be6
missed rename "keep_screen_on" for ios
2016-01-19 01:58:51 +09:00
volzhs
182d2e5dc9
Add ability to set "keep screen on" for iOS
2016-01-16 20:59:09 +09:00
George Marques
5be9ff7b67
Update copyright to 2016 in headers
2016-01-01 11:50:53 -02:00
Ariel Manzur
6cfede11e3
removed -ffast-math on ios, compiler bug?
2015-12-23 11:19:12 -03:00
Ariel Manzur
4a7e5fafb1
thread rename for ios and osx (if called from the thread to be renamed)
2015-12-18 02:58:30 -03:00
Ariel Manzur
27e4c87869
no need to revert this actually
2015-12-14 11:10:16 -03:00
santiagopf
01f063e2fe
reverted mouse stuff
...
t Please enter the commit message for your changes. Lines starting
2015-12-13 01:28:42 -03:00
punto-
25d19e08bb
Merge pull request #590 from marynate/PR-fix-ios-release-event
...
Fixed ios release event not been dispatched when app entering background
2015-12-11 21:30:02 -03:00
Aren Villanueva
e68c2c6c2a
Use macros to determine which iOS SDK we have in order to be backwards compatible with older SDKs when fixing template compilation issues.
2015-11-16 12:35:54 +11:00
Aren Villanueva
402c24ec8b
iOS compile fixes.
2015-11-16 11:10:07 +11:00
steve
15a826571c
Added setting for CADisplayLink on iOS, so you no longer need to recompile to change it
2015-10-22 17:31:09 -07:00
Juan Linietsky
b3cda43a0f
Merge branch 'master' of https://github.com/okamstudio/godot
...
Conflicts:
platform/windows/detect.py
2015-10-13 01:19:32 -03:00
George Marques
6e87314d83
Add support for Opus audio format
2015-10-02 14:25:38 -03:00
punto-
0840303a9c
Merge pull request #2548 from romulox-x/iCloud
...
Initial iCloud implementation
2015-09-28 17:20:16 +02:00
steve
b4daeda48b
improved iCloud build option description
2015-09-27 17:21:32 -07:00
steve
1fe5cc8e1d
Initial iCloud implementation, supporting key value pairs
2015-09-27 16:54:20 -07:00