summaryrefslogtreecommitdiff
path: root/core/os
AgeCommit message (Collapse)Author
2017-03-19Input: bind parse_input_event()Andreas Haas
When using get_tree().input_event(ev), the engine will JUST send the event down the SceneTree. However, you won't get any of the benefits of the Input singleton: - No InputMap actions will be emitted - The internal input state won't be modified, so methods like `Input.get_mouse_pos()` or `Input.is_joy_button_pressed` won't return the expected output after sending the event. This is fixed by using `Input.parse_input_event(ev)` instead. I guess we'll also have to update the docs to reflect that this is the preferred method of sending custom InputEvents.
2017-03-05A Whole New World (clang-format edition)Rémi Verschelde
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-05Add a bunch of missing Godot headers in own filesRémi Verschelde
2017-03-04Add API to access battery power stateJulian Murgia
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-02-21-renamed globals.h to global_config.cpp (this seems to have caused a few ↵Juan Linietsky
modified files) -.pck and .zip exporting redone, seems to be working..
2017-02-13Rename the _MD macro to D_METHODHein-Pieter van Braam
This new name also makes its purpose a little clearer This is a step towards fixing #56
2017-02-06Several bugfixes, improving the import workflowJuan Linietsky
2017-01-25Added focus tracking in X11 and Windows classes, added new confined mouse ↵Ilija Boshkov
mode (#7162)
2017-01-16Style: Various fixes to play nice with clang-formatRémi Verschelde
2017-01-16Style: Fix statements ending with ';;'Rémi Verschelde
2017-01-15Merge pull request #7127 from BastiaanOlij/ios_metersRémi Verschelde
Core motion implementation for iPhone (Accelerometer/Gyro/Magnetometer support)
2017-01-14Style: Fix whole-line commented codeRémi Verschelde
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-14Fixed dir access return value, changed it to Error like all other funcsJuan Linietsky
2017-01-13rename Input.get_mouse_speed() to Input.get_last_mouse_speed()Juan Linietsky
2017-01-13Replace Engine version API by preexisting OS oneRémi Verschelde
It outputs a single Dictionary with all relevant information as keys, that will less bloat the documentation and provide all details in one function call.
2017-01-13Created new Engine singleton, and moved engine related OS functions to it.Juan Linietsky
2017-01-12Added support for getting gravity vector from iOSBastiaanOlij
2017-01-12Made InputEvent use floating point coordinates.Juan Linietsky
2017-01-11Added a BACK notification besides QUIT, so they go in separate channels.Juan Linietsky
2017-01-11Type renames:Juan Linietsky
Matrix32 -> Transform2D Matrix3 -> Basis AABB -> Rect3 RawArray -> PoolByteArray IntArray -> PoolIntArray FloatArray -> PoolFloatArray Vector2Array -> PoolVector2Array Vector3Array -> PoolVector3Array ColorArray -> PoolColorArray
2017-01-09-Translation text will change automatically for in-game buttons, labels, ↵Juan Linietsky
poups when translation is changed. -Added a NOTIFICATION_TRANSLATION_CHANGED for controls that need custom code -Sorry, editor will not update automatically because it uses a different translatio method.
2017-01-08renamed joystick to joypad everywhere around source code!Juan Linietsky
2017-01-07Memory pool vectors (DVector) have been enormously simplified in code, and ↵Juan Linietsky
renamed to PoolVector
2017-01-06-Changed memory functions, Memory::alloc_static*, simplified them, made them ↵Juan Linietsky
aligned to 16 -Changed Vector<> template to fit this.
2017-01-05-Changed most project settings in the engine, so they have major and minor ↵Juan Linietsky
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-02ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to ↵Juan Linietsky
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-02Merge remote-tracking branch 'origin/gles3' into gles3-on-masterRémi Verschelde
Various merge conflicts have been fixed manually and some mistakes might have been made - time will tell :)
2017-01-01Welcome in 2017, dear changelog reader!Rémi Verschelde
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!
2016-11-18memory ops implemented as OS functions by defaultAriel Manzur
(cherry picked from commit 67f65f66391327b2967a20a89c3627e1dd6e84eb)
2016-11-08vsnc --> vsyncISylvox
2016-11-01style: Fix PEP8 whitespace issues in Python filesRémi Verschelde
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-10-23Fix comparison bug with InputEventvolzhs
2016-10-17SCsub: Add python shebang as a hint for syntax highlightingRémi Verschelde
Also switch existing shebangs to "better" /usr/bin/env python.
2016-10-102D Shaders are working again using the new syntax, though all is buggy in ↵Juan Linietsky
general
2016-10-03Merge pull request #6479 from RandomShaper/improve-debug-focusRémi Verschelde
Improve debug focus behavior
2016-09-26Code completion for is_action_just_{pressed, released}Andreas Haas
fixes #6621
2016-09-26Merge pull request #6568 from Hinsbart/joy_namesRémi Verschelde
Add functions to get readable names for joystick events
2016-09-20Add function to get readable names for joystick eventsAndreas Haas
Closes #6476
2016-09-15Fix input action pressed state not changing for quick joystick movements.Andreas Haas
fixes #6488 Also removes a bunch of dead code related to checking if a joystick axis is pressed.
2016-09-14Improve debug focus behaviorPedro J. Estébanez
Fix focusing debugged game on Windows Add re-focusing editor on continue
2016-09-02InputEvent: Fix event comparisons when type is NONERémi Verschelde
Was a regression from 2e5a4cb5ca33576ea81601f949b2e633ff92213c. Fixes #6376.
2016-09-01-Modified Input and added is_action_just_pressed() as well as ↵Juan Linietsky
is_action_just_released()
2016-08-28Show last added action on Input Map and implement InputEvent "=="volzhs
2016-08-07Automatically turn on process callbacks if relevant callbacks in node existsJuan Linietsky
2016-08-07-Added yield nodes to visual scriptJuan Linietsky
-Added input selection nodes to visual script -Added script create icon for those who miss it, will only appear when it can be used.
2016-07-22Merge pull request #5847 from 29jm/patch-3Rémi Verschelde
Expose virtual keyboard functions to GDScript
2016-07-21Expose virtual keyboard functions to GDScriptJohan Manuel
2016-07-21Merge pull request #5560 from vnen/os-request-attentionRémi Verschelde
Add OS.request_attention() for Windows
2016-07-18Merge pull request #5709 from akien-mga/pr-get-engine-versionRémi Verschelde
OS: Add get_engine_version method
2016-07-18OS: Add get_engine_version methodRémi Verschelde
Fixes #5693.