summaryrefslogtreecommitdiffstats
path: root/platform/haiku
Commit message (Collapse)AuthorAgeFilesLines
* 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-22/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* style: Start applying PEP8 to Python files, indentation issuesRémi Verschelde2016-11-012-56/+56
| | | | | | | | | | | | | | | | | | | 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.
* SCsub: Add python shebang as a hint for syntax highlightingRémi Verschelde2016-10-171-0/+2
| | | | Also switch existing shebangs to "better" /usr/bin/env python.
* zlib: Split thirdparty files, simplify scons optionRémi Verschelde2016-10-151-1/+0
|
* glew: Split thirdparty files and isolate envRémi Verschelde2016-10-151-1/+0
| | | | | | 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.
* Fixed building for latest Haiku nightlies.Jamil Halabi2016-06-293-4/+19
|
* Fixed iCCp chunk in pngsJ08nY2016-06-221-0/+0
| | | | neccesary for libpng 1.6.27 to work silently
* Add missing license headers in our source files (#5255)Rémi Verschelde2016-06-1814-0/+392
| | | Also removes a couple wrong Godot headers from third-party source files.
* GLEW: Define static + enabled and includes via SConsRémi Verschelde2016-06-081-2/+2
| | | | | | | | 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.
* Haiku: Do not define GLEW_ENABLED to undefine it laterRémi Verschelde2016-06-081-2/+3
| | | | Partial revert of f61eb5fd8e13642c82364f8ee66a0f6c791a4511.
* remove trailing whitespaceHubert Jarosz2016-03-095-9/+9
|
* Rename KEY_KP_SUBSTRACT to KEY_KP_SUBTRACTRémi Verschelde2016-02-171-1/+1
| | | | | The former name was incorrect in English, though for us latin lovers it's an understandable mistake. Second part of and closes #3626.
* Haiku: add resource fileKostadin Damyanov2016-01-163-2/+71
|
* Merge remote-tracking branch 'upstream/master'Kostadin Damyanov2016-01-153-7/+4
|\
| * Remove unnecessary null pointer checksEmmanuel Leblond2016-01-042-5/+2
| |
| * Update copyright to 2016 in headersGeorge Marques2016-01-012-2/+2
| |
* | Haiku: fix buildKostadin Damyanov2015-12-261-0/+1
|/
* Moved deleting sample player in OS finalize methods to before deleting audio ↵Saracen2015-11-021-1/+2
| | | | server to prevent crash when exiting.
* Haiku: fix buildKostadin Damyanov2015-10-173-14/+14
|
* Haiku: move the audio driver to platform/haikuKostadin Damyanov2015-08-144-2/+218
|
* Haiku: update logo.pngKostadin Damyanov2015-08-131-0/+0
|
* Haiku: remove unneeded codeKostadin Damyanov2015-08-126-27/+3
|
* Haiku: remove unneeded codeKostadin Damyanov2015-08-121-4/+0
|
* Haiku: add sound supportKostadin Damyanov2015-07-263-6/+9
|
* Haiku: update detect.pyKostadin Damyanov2015-07-201-3/+5
|