Thomas Herzog
7dffed485b
Merge pull request #11230 from maxim-sheronov/fix_enum_bindings
...
Fix enums bindings
2017-09-15 08:43:35 +02:00
Marcelo Fernandez
7a4c0ff35e
Fix crash when no audio driver is available
2017-09-13 20:54:55 -03:00
Maxim Sheronov
0fffa45158
Fix enums bindings
...
Add missed bindings for enums
Move some enums to class to have correct output of api.json
2017-09-13 20:57:07 +03:00
Marcelo Fernandez
83fe937362
Added a crash handler to dump the backtrace on Windows, Linux and OS X
2017-09-13 10:07:23 -03:00
Rémi Verschelde
42504ef0d4
Merge pull request #11062 from BastiaanOlij/osx_datapack
...
Fixed loading package from resource folder, exporting textures to bun…
2017-09-13 11:11:01 +02:00
Marcelo Fernandez
730d36f350
Fixed issues with surround sound on audio server
2017-09-12 15:13:28 -03:00
Marcelo
fb871b5ada
Implemented DirAccess get_drive and get_drive_count for OS X
2017-09-11 23:46:34 -03:00
BastiaanOlij
099546ac00
Fixed loading package from resource folder, exporting textures to bundle and added a bit of feedback for a debug compile
2017-09-08 11:39:32 +10:00
Rémi Verschelde
3694c58d3c
Merge pull request #10775 from marcelofg55/buffersize_fixes
...
Corrections to audio buffer size calculations
2017-09-01 21:41:24 +02:00
Marcelo Fernandez
f231eadc9e
Corrections to audio buffer size calculations
2017-09-01 11:12:13 -03:00
Poommetee Ketson
ed606ded52
Fix files header
2017-09-01 21:07:55 +07:00
poke1024
9d841b5336
Implements OS_OSX::get_system_dir()
2017-08-29 20:31:03 +02:00
Matthias Hoelzl
b6e1e47e3a
Make build scripts Python3 compatible
...
- The Windows, UWP, Android (on Windows) and Linux builds are
tested with Scons 3.0 alpha 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-08-27 23:05:39 +02:00
Rémi Verschelde
bd282ff43f
Use HTTPS URL for Godot's website in the headers
2017-08-27 14:16:55 +02:00
Fabio Alessandrelli
d7f08ead4e
Allow building fat binaries with osxcross
2017-08-23 15:44:22 +02:00
Rémi Verschelde
7f49e2a7a0
Merge pull request #10487 from marcelofg55/curscr_as_default
...
p_screen param from get_screen_* funcs now default to the current screen
2017-08-22 08:12:04 +02:00
Rémi Verschelde
df590fc2d3
Merge pull request #10340 from Rubonnek/remove-unnecessary-assignments
...
Removed unnecessary assignments
2017-08-22 00:58:12 +02:00
Rémi Verschelde
13f879587d
Merge pull request #10254 from marcelofg55/master
...
Added notification const NOTIFICATION_WM_ABOUT
2017-08-22 00:56:31 +02:00
Marcelo Fernandez
63f847b306
p_screen param from get_screen_* funcs now default to the current screen
2017-08-21 18:28:29 -03:00
Wilson E. Alvarez
738d2ab969
Removed unnecessary assignments
2017-08-21 15:15:55 -04:00
Marcelo Fernandez
c6edf1821e
Fix y axis for set_window_position on OS X
2017-08-21 12:36:04 -03:00
Marcelo Fernandez
eab850524e
Add closest_power_of_2 func and implement mix_rate/latency on OS X
2017-08-17 19:51:13 -03:00
Marcelo Fernandez
aae29c7a0e
Added notification const NOTIFICATION_WM_ABOUT
2017-08-17 11:28:45 -03:00
bruvzg
8aa86cb9bc
Implement NSTextInputClient protocol for IME
2017-08-09 19:09:33 +03:00
toger5
2286037bc3
removed calls to cursor_set_visible on all platforms fixes #10167
2017-08-08 14:04:22 +02:00
Rémi Verschelde
b0dfec77c2
Merge pull request #10127 from bruvzg/3.0-osx-logging
...
Duplicate error messages to macOS logging system (Console.app)
2017-08-07 14:58:25 +02:00
Rémi Verschelde
ae88eb5b50
Merge pull request #10099 from bruvzg/3.0-fix-osx-warp_mouse_pos
...
Fix warp_mouse_pos on macOS
2017-08-07 14:47:54 +02:00
bruvzg
68bf243461
Duplicate error messages to macOS logging system
2017-08-06 21:55:30 +03:00
Bojidar Marinov
7b7c7c8dc0
Rename KEY_RETURN to KEY_ENTER and KEY_ENTER to KEY_KP_ENTER
...
Closes #7695
2017-08-06 16:26:07 +03:00
bruvzg
0ed3da8e2a
Fix warp_mouse_pos on macOS
2017-08-04 23:43:32 +03: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
Marcelo Fernandez
76821bbb47
Fix mutex initialisation in OS X Audio Driver
2017-07-30 16:35:08 -03:00
Rémi Verschelde
263452ee91
Merge pull request #9960 from marcelofg55/master
...
Fix get_screen_* funcs returning old values after resolution changes on OS X
2017-07-30 20:59:04 +02:00
Marcelo Fernandez
abbf821ddf
Fix get_screen_* funcs returning old values after resolution changes on OS X
2017-07-28 18:08:57 -03:00
bruvzg
d18922a56e
Change display scale when moving the window from monitor to monitor
2017-07-28 20:17:19 +03:00
Rémi Verschelde
a7b35edf7b
Merge pull request #9874 from bruvzg/3.0-osx-menu
...
Add macOS main menu (3.0)
2017-07-28 11:05:05 +02:00
Rémi Verschelde
5caf9d0d08
Merge pull request #9876 from bruvzg/3.0-resize-fix
...
Improved macOS window resizing behaviour (3.0)
2017-07-28 11:02:28 +02:00
bruvzg
3220fee6b2
Fix is_window_fullscreen() and set_window_fullscreen() behaviour after window has entered/left full-screen mode via green zoom button.
...
Fix get/set_current_screen & set_window_maximized.
2017-07-27 10:05:33 +03:00
bruvzg
f98a203377
Add macOS main menu
2017-07-27 10:05:29 +03:00
bruvzg
1c1565d0f9
Improved macOS window resizing behaviour.
2017-07-26 16:29:48 +03:00
bruvzg
7de7ca8ae4
Remove duplicate keycode constant for Numpad Enter key.
2017-07-26 14:43:02 +03:00
Marcelo Fernandez
2c27501c3f
Fix Right-Click (Ctrl-Click) on OS X
2017-07-23 12:45:59 -03:00
Rémi Verschelde
e5aa8546ec
Merge pull request #9713 from marcelofg55/master
...
Fix for possible crash in OS X audio init.
2017-07-23 13:05:49 +02: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
Marcelo Fernandez
bbc207675f
Fix for possible crash in OS X audio init.
2017-07-19 11:05:51 -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
Marcelo Fernandez
764f607611
Reinit audio device when the system default device changes on OS X
2017-07-16 23:35:23 -03:00
BastiaanOlij
e735963182
Fix typo in plist export
2017-07-06 00:14:05 +10:00
Rémi Verschelde
5a48b428fd
Merge pull request #9476 from marcelofg55/master
...
Implemented borderless fullscreen code on OSX.
2017-07-05 10:51:55 +02:00
Rémi Verschelde
5c1995ef49
Merge pull request #9468 from BastiaanOlij/osx_export_dmg
...
On OSX export to DMG and optionally code sign the app bundle
2017-07-03 23:25:43 +02:00
Marcelo Fernandez
a9c5895c16
Implemented borderless fullscreen code on OSX.
2017-07-02 23:40:44 -03:00
BastiaanOlij
7ddf3d6cc4
On OSX export to DMG and optionally code sign the app bundle
2017-07-02 21:23:33 +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
Marcelo Fernandez
fd7976ddd7
Implemented borderless window code for OSX.
2017-06-27 16:57:28 -03:00
Poommetee Ketson
e3998528e0
BuildSystem: generated files have .gen.extension
2017-06-25 07:55:01 +07:00
BastiaanOlij
5b44f092f9
Reimplement export module for OSX
2017-06-23 00:01:55 +10:00
ageazrael
109ad227d3
Used in the macOS HiDPI options window is too small
2017-06-13 09:54:55 +08:00
ageazrael
b3accab62d
Fixed middle mouse button can't bounce in macOS
2017-06-13 09:27:49 +08:00
Juan Linietsky
bcc435094d
Restired multithread support in OSX and Windows, should stop the crashes.
2017-06-10 10:15:33 -03:00
toger5
328d0e2b4e
osx release right button event fixed
...
RIGHT_MOUSE_BUTTON was not removed from the button mask (instead it was added...)
fixes #9079
2017-06-06 19:40:06 -07:00
alexholly
a3c90b0293
renamed all Rect2.pos to Rect2.position
2017-06-04 02:09:17 +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
volzhs
0627445863
Make OS.get_locale() returns same value
2017-05-27 03:50:22 +09:00
toger5
72876ef10b
added modifier key to scroll event
2017-05-22 03:46:54 -07:00
toger5
b90df858c1
fixed osx input event
2017-05-22 01:17:57 -07: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
63db9a4bee
Doing a little bit of cleanup
2017-05-20 09:30:31 +10:00
Juan Linietsky
98a3296702
Removal of Image from Variant, converted to a Resource.
2017-05-17 07:37:45 -03:00
toger5
304a1f5b5a
Implemented scrolling factor for smooth trackpad scrolling
...
Working platforms platform: OSX, Windows.
Support for almost all ui elements, including project list.
2017-05-07 14:23:56 +02:00
Rémi Verschelde
c8aea60324
Improve documentation of thirdparty code snippets
2017-05-07 11:42:37 +02: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
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
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
49c065d29c
Refactoring: rename tools/editor/ to editor/
...
The other subfolders of tools/ had already been moved to either
editor/, misc/ or thirdparty/, so the hiding the editor code that
deep was no longer meaningful.
2017-03-05 14:21:25 +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
Andreas Haas
a175ac7032
Better handling of joypad device IDs.
...
Now InputDefault is responsible for giving out joypad device IDs to the platform, instead of each platform handling this itself.
This makes it possible for c++ modules to add their own "custom" gamepad devices, without the risk of messing up events in case the user also has regular gamepads attached (using the OS code).
For now, it's implemented for the main desktop platforms.
Possible targets for future work: android, uwp, javascript
2017-02-26 21:01:31 +01: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
Juan Linietsky
f6950956bd
Editor Export Settings Dialog is completed!! Now on to make some exporters..
2017-02-19 23:21:35 -03:00
Rémi Verschelde
e837b25f55
Fix missing semicolon in previous commit
2017-02-13 23:46:25 +01:00
Brett-Mitchell
6921e11805
Fix for issue #7766
...
Add initialization for OS_OSX.mouse_mode in OS_OSX::OS_OSX(). mouse_mode now defaults to OS::MOUSE_MODE_VISIBLE.
2017-02-13 12:55:26 -05:00
Juan Linietsky
96de0141cc
Removed import/export system, will start new one from scratch.
2017-01-25 21:57:08 -03:00
BastiaanOlij
cef0ae5d5d
Fix compile errors related to audio on OSX
2017-01-16 20:32:44 +11:00
Juan Linietsky
b400c69cd4
Oops! Audio engine has vanished :D
2017-01-15 16:07:51 -03:00
Rémi Verschelde
93ab45b6b5
Style: Fix whole-line commented code
...
They do not play well with clang-format which aligns the `//` part
with the rest of the code block, thus producing badly indented commented code.
2017-01-14 14:52:23 +01:00
Rémi Verschelde
4163be67a1
OSX: Revert back to kHIDUsage_GD_Joystick
...
Bug introduced in 547a57777b
.
2017-01-09 10:05:50 +01:00
Rémi Verschelde
5bfa4227b3
Finish replacement of joystick by joypad
...
Some parts were forgotten in 547a577
.
2017-01-08 21:33:37 +01: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
Rémi Verschelde
dc0d08cc93
Move glad files to thirdparty dir
2017-01-06 22:42:19 +01:00
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