aboutsummaryrefslogtreecommitdiff
path: root/platform/haiku
Commit message (Collapse)AuthorAgeFilesLines
* Tweak some help texts in the build systemHugo Locurcio2018-06-071-1/+1
| | | | | This also removes `unix_global_settings_path` from SConstruct since it is no longer used.
* Add missing copyright headers and fix formattingRémi Verschelde2018-01-0516-0/+16
| | | | | | Using `misc/scripts/fix_headers.py` on all Godot files. Some missing header guards were added, and the header inclusion order was fixed in the Bullet module.
* Fix macOS and other builds after #15299Duy-Nguyen TA2018-01-041-1/+1
| | | | Commit ammended by @akien-mga to fix more platforms.
* Change OS::initialize signature to return Error (fix segfault on x11)Emmanuel Leblond2018-01-042-3/+5
|
* Merge pull request #12814 from guilhermefelipecgs/add_hardware_custom_cursorRémi Verschelde2018-01-032-0/+5
|\ | | | | Custom hardware-accelerated mouse cursor
| * Add implementation for custom hardware cursorGuilherme Silva2017-12-172-0/+5
| |
* | Update copyright statements to 2018Rémi Verschelde2018-01-0118-36/+36
|/ | | | Happy new year to the wonderful Godot community!
* Fixes vsync setting ignored when using a separate thread for renderingStefano Bonicatti2017-12-091-0/+1
| | | | | | | | | Setting the vsync in the main thread, after the rendering thread starts and takes the OpenGL context fails, so we need to do that before. Also, for some reason, the main thread cannot make current the context anymore. Fixes #13447
* Style: Apply new clang-format 5.0 style to all filesRémi Verschelde2017-12-075-10/+12
|
* Style: Apply clang-format again on all filesRémi Verschelde2017-12-071-2/+2
| | | | | Fixes issues introduced by newer clang-format versions or commits pushed directly without using the clang-format pre-commit hook.
* disable caching for targets using helper functionsRhody Lugo2017-11-281-1/+1
|
* Merge pull request #12988 from akien-mga/xdg-home-pathsRémi Verschelde2017-11-202-0/+37
|\ | | | | Add support for XDG Base Directory spec
| * Add initial support for the XDG Base Directory specRémi Verschelde2017-11-192-0/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Spec version 0.7 from https://standards.freedesktop.org/basedir-spec/basedir-spec-0.7.html (latest as of this commit). Three virtual methods are added to OS for the various XDG paths we will use: - OS::get_data_path gives XDG_DATA_HOME, or if missing: ~/.local/share on X11, ~/Library/Application Support/ on macOS and %APPDATA% on Windows - OS::get_config_path gives XDG_CONFIG_HOME, or if missing: ~/.config on X11, ~/Library/Application Support/ on macOS and %APPDATA% on Windows - OS::get_cache_path gives XDG_CACHE_HOME, or if missing: ~/.cache on X11, ~/Library/Caches on macOS and %APPDATA% on Windows So for Windows there are no changes, for Linux we follow the full split spec and for macOS stuff will move from ~/.godot to ~/Library/Application Support/Godot. Support for system-wide installation of templates on Unix was removed for now, as it's a bit hackish and I don't think anyone uses it. user:// will still be OS::get_data_path() + "/godot/app_userdata/$name" by default, but when using the application/config/use_shared_user_dir option it will now use XDG_DATA_HOME/$name, e.g. ~/.local/share/MyGame. For now everything still goes in EditorSettings::get_settings_dir(), but this will be changed in a later commit to make use of the new splitting where relevant. Part of #3513.
* | Cleanup old references to GLES2 rendererRémi Verschelde2017-11-192-3/+5
|/ | | | | | | | | There are still some left in the Android Java code, even stuff to swap between GLES1 and GLES2 support from early Godot days... would be good to see some cleanup there too one day. The "graphics/api" option for Android exports is removed, as only GLES 3.0 is supported. It can be readded when GLES 2.0 support comes back. Fixes #13004.
* Make video mode initialization more intuitive, fixes #12022Juan Linietsky2017-11-092-5/+0
|
* Implemented physics plugAndreaCatania2017-11-042-17/+0
| | | | | | | | | | | | | | | | | | | | Moved init_physics Implemented physics 2D plug Fix clang Fix clang Fix static check Fix clang Fix static check Moved physics server initialization Moved physics server settings initialization
* Drop unusued LEGACYGL_ENABLED checkRémi Verschelde2017-10-134-5/+5
| | | | [ci skip]
* Use EnumVariable for choice-based build options.Elliott Sales de Andrade2017-09-251-1/+2
|
* Merge pull request #11243 from hpvb/add-debug-info-on-releaseRémi Verschelde2017-09-211-5/+10
|\ | | | | Create separate debug info files by default
| * Create separate debug info files by defaultHein-Pieter van Braam2017-09-161-5/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now that we have a built-in stacktrace on a segfault it would be useful to have debug information on debug_release builds so that bugreports can include this information. Without this debug info we will still get function names in the backtrace but not file location. This commit will by default build all targets with minimal debug info and then strip the information into separate files. On MacOS this is a .dSYM file, on Linux/MingW this is a .debug file. MacOSX will automatically load a dSYM file if it exists in its debugger. On Linux/MingW we create a 'gnu debuglink' meaning that gdb and friends will automatically find the debug symbols if they exist. Existing workflow for developers does not change at all, except that we now create two instead of one build artifact by default. This commit also adds a 'debug_symbols' option to X11, MacOS, and MingW targets. The default is 'yes' which corresponds to -g1. The alternatives are 'no' (don't generate debug infos at all) or 'full' which runs with -g2. A target=debug build will now build with -g3.
* | Rename pos to position in user facing methods and variablesletheed2017-09-201-4/+4
| | | | | | | | | | | | | | | | | | | | | | Rename user facing methods and variables as well as the corresponding C++ methods according to the folloming changes: * pos -> position * rot -> rotation * loc -> location C++ variables are left as is.
* | Merge pull request #11252 from marcelofg55/fix_noaudio_crashRémi Verschelde2017-09-171-5/+1
|\ \ | |/ |/| Fix crash when no audio driver is available
| * Fix crash when no audio driver is availableMarcelo Fernandez2017-09-131-5/+1
| |
* | Fix enums bindingsMaxim Sheronov2017-09-133-6/+8
|/ | | | | Add missed bindings for enums Move some enums to class to have correct output of api.json
* Dead code tells no talesRémi Verschelde2017-08-271-5/+4
|
* Use HTTPS URL for Godot's website in the headersRémi Verschelde2017-08-2718-18/+18
|
* p_screen param from get_screen_* funcs now default to the current screenMarcelo Fernandez2017-08-211-2/+2
|
* Add closest_power_of_2 func and implement mix_rate/latency on OS XMarcelo Fernandez2017-08-171-1/+1
|
* Rename KEY_RETURN to KEY_ENTER and KEY_ENTER to KEY_KP_ENTERBojidar Marinov2017-08-061-1/+1
| | | | Closes #7695
* -Renamed GlobalConfig to ProjectSettings, makes more sense.Juan Linietsky2017-07-193-1/+8
| | | | -Added system for feature overrides, it's pretty cool :)
* Buildsystem: Improve detect.py readability and fix issuesRémi Verschelde2017-07-011-25/+26
| | | | | | | | | | | | | | | | | | | 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
* Removal of InputEvent as built-in Variant type..Juan Linietsky2017-05-201-36/+36
| | | | this might cause bugs I haven't found yet..
* Rename [gs]et_pos to [gs]et_position for ControlsSergey Pusnei2017-04-103-3/+3
| | | | | | | | 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
* Add "Godot Engine contributors" copyright lineRémi Verschelde2017-04-0818-0/+18
|
* Merge pull request #8159 from Hinsbart/last_idRémi Verschelde2017-03-272-7/+0
|\ | | | | Input: Remove usage of platform dependent event IDs.
| * Input: Remove usage of platform dependent event IDs.Andreas Haas2017-03-262-7/+0
| | | | | | | | | | 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...
* | SCons: Add option to toggle warnings (on by default)Rémi Verschelde2017-03-261-1/+1
|/ | | | | | | | 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 31107daa1a41fe9ab3c7c1868479e78e16848333)
* Fix typos in source code using codespellRémi Verschelde2017-03-241-1/+1
| | | | From https://github.com/lucasdemarchi/codespell
* A Whole New World (clang-format edition)Rémi Verschelde2017-03-0517-159/+169
| | | | | | | | | | | | | | | | | | | | | | | | 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
* Add a bunch of missing Godot headers in own filesRémi Verschelde2017-03-052-5/+5
|
* Add API to access battery power stateJulian Murgia2017-03-044-0/+131
| | | | | | | | | | | | | | 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
* Complete the globals.h -> global_config.h conversionBojidar Marinov2017-02-231-1/+1
|
* Adapt platforms to AudioServer refactoringRémi Verschelde2017-01-164-37/+9
| | | | | | Fixes compilation on Windows and likely other platforms (at least as far as AudioServer changes were concerned), though they were not tested.
* Oops! Audio engine has vanished :DJuan Linietsky2017-01-151-2/+2
|
* Style: Fix whole-line commented codeRémi Verschelde2017-01-142-7/+11
| | | | | 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.
* rename Input.get_mouse_speed() to Input.get_last_mouse_speed()Juan Linietsky2017-01-131-2/+2
|
* Remove bundled glew, obsoleted by gladRémi Verschelde2017-01-061-1/+1
| | | | | Also make Haiku load the glad header for GLES3 too, though I haven't test it.
* Welcome in 2017, dear changelog reader!Rémi Verschelde2017-01-0116-16/+16
| | | | | | | | 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!
* style: Fix PEP8 blank lines issues in Python filesRémi Verschelde2016-11-012-0/+7
| | | | | | | | | | | 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.
* style: Fix PEP8 whitespace issues in Python filesRémi Verschelde2016-11-012-21/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.