aboutsummaryrefslogtreecommitdiff
path: root/platform/javascript/os_javascript.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2017-01-13Reenable node name case setting + code cleanupsRémi Verschelde4-32/+10
The method _generate_serial_child_name is indeed called relatively often in editor mode, but that commented out code chunk hardly adds to its slowness (and with the default setting, not at all). Also did various related code cleanups and simplifications.
2017-01-13Tween: Rename times_in_sec (sic) param to durationRémi Verschelde3-74/+74
2017-01-13Replace Engine version API by preexisting OS oneRémi Verschelde6-126/+83
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-13Renamed button functions to be more verboes, same with Range unit value -> ratioJuan Linietsky10-57/+71
2017-01-13Created new Engine singleton, and moved engine related OS functions to it.Juan Linietsky17-186/+393
2017-01-13Rename collision layer as suggested in #5696Juan Linietsky5-42/+44
2017-01-13New API for visibility in both CanvasItem and SpatialJuan Linietsky72-292/+252
visible (property) - access set_visible(bool) is_visible() is_visible_in_tree() - true when visible and parents visible show() hide() - for convenience
2017-01-12Must now register with set_transform_notify() to get ↵Juan Linietsky26-7/+65
NOTIFICATION_TRANSFORM_CHANGED
2017-01-12some class renamesJuan Linietsky43-119/+119
TextureFrame -> TextureRect Patch9Frame -> NinePatchRect ColorFrame -> ColorRect
2017-01-12Project setting to control node name casingRay Koopa2-1/+19
(cherry picked from commit 87fd54b2f18928213021fef7f330d0c314cf7ac7)
2017-01-12Implicit inheritance now defaults to Resource, will error for node scripts ↵Juan Linietsky2-1/+8
if extends not used.
2017-01-12Improvements to scons defined WINVER/_WIN32_WINNTFabio Alessandrelli4-14/+12
2017-01-12made math functions inlnieJuan Linietsky2-131/+119
2017-01-12Fix current script background colorPaulb231-1/+1
2017-01-12Fix text editor theme saving and loadingPaulb231-30/+30
2017-01-12Unify naming of blendshape / morphtarget into just "Blend Shape"Juan Linietsky13-138/+138
2017-01-12Added a list of signals to rename, this should become a header eventuallyJuan Linietsky2-1/+22
2017-01-12Renamed most signals so they refer to:Juan Linietsky29-239/+239
-An action being requested to the user in present tense: (ie, draw, gui_input, etc) -A notification that an action happened, in past tense (ie, area_entered, modal_closed, etc).
2017-01-12Made InputEvent use floating point coordinates.Juan Linietsky2-12/+12
2017-01-11More efficient iteration syntax, and range() is converted behind the scenes ↵Juan Linietsky2-0/+147
to it.
2017-01-11Remove libmpcdec bundled lib, no longer usedRémi Verschelde24-4263/+0
Musepack support was removed in 857c50db70ba52723214eca4639fe230fd827864.
2017-01-11Dehardcode version major in editor settingsRémi Verschelde2-4/+4
Follow-up on 7474fc133a268eae12b7b89307cb0482e3781820.
2017-01-11Proper inheritance checking when requesting theem resourcesJuan Linietsky3-25/+127
2017-01-11removed stray hashJuan Linietsky1-1/+1
2017-01-11Editor settings file is now versionedJuan Linietsky1-2/+6
2017-01-11Added a BACK notification besides QUIT, so they go in separate channels.Juan Linietsky8-17/+36
2017-01-11using VariantParser to parse engine.cfgJuan Linietsky1-584/+36
2017-01-11Add information about dev communication channelsRémi Verschelde1-1/+16
2017-01-11remove shorteners for server types in scriptJuan Linietsky1-6/+0
2017-01-11fix code generation so it generates Transform2D instead of Matrix32Juan Linietsky1-4/+4
2017-01-11Both Array and Dictionary are always in shared mode (removed copy on write).Juan Linietsky17-93/+50
2017-01-11Type renames:Juan Linietsky266-2468/+2466
Matrix32 -> Transform2D Matrix3 -> Basis AABB -> Rect3 RawArray -> PoolByteArray IntArray -> PoolIntArray FloatArray -> PoolFloatArray Vector2Array -> PoolVector2Array Vector3Array -> PoolVector3Array ColorArray -> PoolColorArray
2017-01-10It is now possible to name layers of different kinds!Juan Linietsky20-44/+90
2017-01-10uses the global thread to protect the instacnes map in GDScript, closes #4615Juan Linietsky2-3/+45
2017-01-10- _ready() callback only happens once now, if you want to receive it again, ↵Juan Linietsky15-57/+167
use request_ready() - C++ Nodes mostly do an internal process callback, so it does not conflict with users willing to use their own process callbacks - callbacks such as _input, _process, _fixed_process _unhandled_input, _unhandled_key_input do not requiere calling a function to enable them. They are enabled automatically if found on the script.
2017-01-10Various corrections in 2D math.Ferenc Arn8-116/+126
This is the follow up for the 2D changes mentioned in PR #6865. It fixes various mistakes regarding the order of matrix indices, order of transformation operations, usage of atan2 function and ensures that the sense of rotation is compatible with a left-handed coordinate system with Y-axis pointing down (which flips the sense of rotations along the z-axis). Also replaced float with real_t, and tried to make use of Matrix32 methods rather than accessing its elements directly. Affected code in the Godot code base is also fixed in this commit. The user code using functions involving angles such as atan2, angle_to, get_rotation, set_rotation will need to be updated to conform with the new behavior. Furthermore, the sign of the rotation angles in existing 2D scene files need to be flipped as well.
2017-01-10Detect bits when building with MinGWIgnacio Etcheverry1-1/+1
2017-01-10FileSystemDock: Collapse folders by default, add context menu with "Expand ↵lonesurvivor2-2/+55
all" / "Collapse all" option.
2017-01-10Few small fixes so tools=no and target=release compilesBastiaanOlij4-5/+13
2017-01-10Remove deprecated Vector2.floorf methodEmmanuel Leblond2-12/+0
2017-01-10Removed the set_child_rect() in AcceptDialog. AcceptDialog now works as a ↵Juan Linietsky48-101/+92
container!
2017-01-10Groundbreaking!! Godot resources can now be flagged to be local to the scene ↵Juan Linietsky21-95/+481
being edited! This means that each time this scene is instanced, the resource will be unique! As such, thanks to this, the following features were implemented: -ButtonGroup is no longer a control, it's now a resource local to the scene -ViewportTexture can be created from the editor and set to any object, making ViewportSprite and other kind of nodes obsolete!
2017-01-09Issue template: warn about known unstabilityRémi Verschelde2-10/+19
2017-01-09-Translation text will change automatically for in-game buttons, labels, ↵Juan Linietsky10-31/+72
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-09-All types have editable script now in propertiesJuan Linietsky20-27/+64
-Changed clip to a property in Control which can be set by the user
2017-01-09Fix modulate property bind to Colorvolzhs1-2/+2
2017-01-09Windows: Workaround missing includes in MinGW-w64 < 4Rémi Verschelde1-1/+13
The MinGW-w64 version we have on our Travis build environment (Ubuntu 12.04, mingw-w64 2.0.1, gcc 4.6) is old and has some missing includes in the dependencies of the `tcpmib.h` header [0] [1] [2]. Those were not triggered before 6323779596dea0db7f58afef7d3d3d5588ef20cb probably due to conflicting WINVER definitions which prevented triggering the code specific to >= 0x0600 (Vista). We ensure it won't be triggered by defining the _WIN32_WINNT macro to Windows XP compatibility.
2017-01-09OSX: Revert back to kHIDUsage_GD_JoystickRémi Verschelde1-2/+2
Bug introduced in 547a57777b199f451305a6d4b6ad63fb0b2bd3ed.
2017-01-09Added resources iconsDaniel J. Ramirez97-163/+3206
2017-01-08Added missing node icons, plus some icon changesDaniel J. Ramirez14-24/+281