aboutsummaryrefslogtreecommitdiff
path: root/platform/javascript/javascript_main.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2017-08-31Revert "Fix shader function calls being assignable"Rémi Verschelde1-6/+0
2017-08-31Do not error flood if removing default environment. Closes #9945Juan Linietsky1-0/+4
2017-08-31Adds default directory for default_project_pathpoke10241-1/+1
2017-08-30added setting for icon/font color: auto,dark,lighttoger52-1/+6
2017-08-30added icon updating to most ui elementstoger510-5/+162
2017-08-30renamed light_color to contrast_colortoger51-24/+29
- added tab highlighting - other changes to the theme to make use of contrast color
2017-08-30White Themetoger54-89/+125
- almost all the colors are generated now. They get adapted based on the theme color. All the correct icons are used - error label now uses error color - added missing button colors in editor theme
2017-08-30removed misc/scripts/svgs_2_pngs.pytoger51-139/+0
- deprecated because icon conversion now happens in godot itself
2017-08-30removed svg's in icons/darktoger5588-4194/+0
2017-08-30Implement color conversion for dark SVG iconstoger54-41/+123
2017-08-30added to_ABGR32() to core/Colortoger52-2/+14
2017-08-30moved 'scale import setting' into svg sectiontoger51-1/+1
2017-08-30Fix pre-Lollipop (21) Android debugPedro J. Estébanez1-28/+46
Namely, automatically pick debug over Wi-Fi for devices with an older release and debug over USB otherwise. A message is printed both in editor output window and console (uppercase here) to let the user know about what mechanism is being used and why.
2017-08-30Fix parsing of Android API levelPedro J. Estébanez1-7/+7
And renaming the `Device.release` field to `api_level` for correctness.
2017-08-30Add a new decomposition to Basis.Ferenc Arn2-4/+38
This new decomposition splits the basis into a rotation-reflection matrix and a positive scaling matrix, which is required for physics calculations.
2017-08-30Renderer/Simulator flagsGustav Lund2-2/+23
Now hopefully with correct code style
2017-08-30Fix a crash when an early dialog tries to appearHein-Pieter van Braam1-32/+32
This changes the order of creating some of the dialogs that may appear during project import/startup. It is possible for the 'accept' dialog to be required before it is initialized. This moves all of these dialogs to earlier in the constructor so this can't happen.
2017-08-30Make GDNative work on AndroidRuslan Mustakov22-321/+447
The changes include work done to ensure that GDNative apps and Nim integration specifically can run on Android. The changes have been tested on our WIP game, which uses godot-nim and depends on several third-party .so libs, and Platformer demo to ensure nothing got broken. - .so libraries are exported to lib/ folder in .apk, instead of assets/, because that's where Android expects them to be and it resolves the library name into "lib/<ABI>/<name>", where <ABI> is the ABI matching the current device. So we establish the convention that Android .so files in the project must be located in the folder corresponding to the ABI they were compiled for. - Godot callbacks (event handlers) are now called from the same thread from which Main::iteration is called. It is also what Godot now considers to be the main thread, because Main::setup is also called from there. This makes threading on Android more consistent with other platforms, making the code that depends on Thread::get_main_id more portable (GDNative has such code). - Sizes of GDNative API types have been fixed to work on 32-bit platforms.
2017-08-30Improved default directional shadow params, added bias split scale, closes #9828Juan Linietsky5-4/+10
2017-08-30Remove 10778 related methods from GDNativeHein-Pieter van Braam2-24/+0
After #10778 master didn't build any longer with GDNative. This removes the methods removed in that PR from the GDNative bindings for Basis also.
2017-08-30AutoUse Pencil on Polygon creationScayze4-0/+18
2017-08-30Disable -ffast-math for etc2compHein-Pieter van Braam2-1/+7
Apparently -ffast-math generates incorrect code with recent versions of GCC and Clang. The manual page for GCC warns about this possibility. In my tests it doesn't actually appear to be measurably slower in this case, and this is used in a batch process so it seems safe to disable this. This fixes #10758 and fixes #10070
2017-08-30Fix GDNative API generator after changes to MethodBindRuslan Mustakov3-20/+25
2017-08-30Add enums in GDNative API generatorRuslan Mustakov1-1/+40
2017-08-29Remove Basis::set_scale and Basis::set_rotation_* functions.Ferenc Arn5-67/+1
Those functions were added in #8277 but they did more harm than good. They're subtle, don't do what people think and requires users to understand the non-uniqueness of polar decomposition. They ended up confusing people. Until we store additional information enough to make a unique polar decomposition, these functions shouldn't be a part of Basis.
2017-08-29Changed defaults, as it seems to be obviousy better to keep materials ↵Juan Linietsky2-3/+3
outside by default..
2017-08-29Added nice icon to show when a file is broken on import.Juan Linietsky4-10/+31
2017-08-29Fix constant reimport on broken files, closes #9930Juan Linietsky6-18/+84
2017-08-29Fixed problem with highlight boxes not updating on translationDaniel J. Ramirez1-4/+11
2017-08-29Improved and added some iconsDaniel J. Ramirez70-271/+157
2017-08-29Improve build callbacksIgnacio Etcheverry2-11/+15
- Build callbacks now return bool to determine if the build was successful. If the build fails, the editor won't run the game. - Makes sure build callbacks are called after saving the scene ("Save Before Running" option).
2017-08-29Implements OS_OSX::get_system_dir()poke10242-0/+42
2017-08-29Fixes two glitches in polygon2d wip mode introduced with #10614poke10241-5/+8
2017-08-29Changed bools to uint32_t as this may be a compiler bug..Juan Linietsky1-4/+4
2017-08-29Makes built-in vararg methods actual vararg methodsIgnacio Etcheverry3-9/+22
- Removes hardcoded parameters from built-in vararg methods and adds METHOD_FLAG_VARARG to them. - Makes EditorHelp display built-in vararg methods correctly.
2017-08-29Fixes missing default arguments in MethodInfoIgnacio Etcheverry1-1/+2
2017-08-29DocData and type hints fixesIgnacio Etcheverry15-113/+184
- Makes vararg methods automatically use PROPERTY_USAGE_NIL_IS_VARIANT on return types - Completely removes the ":type" suffix for method names. Virtual methods must use the MethodInfo constructors that takes Variant::Type or PropertyHint as the first parameter for the return type (with CLASS_INFO as a helper to get the PropertyInfo). Parameters must use PROPERTY_HINT_RESOURCE_TYPE and hint string. - PROPERTY_USAGE_NIL_IS_VARIANT is no longer needed for parameters, because parameters cannot be void. - Adds missing PROPERTY_USAGE_NIL_IS_VARIANT to virtual and built-in methods that return Variant.
2017-08-29Made some methods to check method/signal availability in GDScript, closes #9800Juan Linietsky1-0/+6
2017-08-29Generate project files for VS2017Matthias Hoelzl2-38/+54
2017-08-29-Fixed screen edge SSAO filter, fixes #9678Juan Linietsky3-6/+11
-Raised the SSAO limits, making the effect a lot more useful -Still pending to enable tresholding to avoid some hollow places
2017-08-29Renamed 'script_changed' signal in the script editor plugin to ↵Wilson E. Alvarez4-17/+15
'edited_script_changed'
2017-08-29removed DISCARD built in variable, replaced by actual discard GLSL ↵Juan Linietsky8-147/+182
instruction, fixes #9677
2017-08-29Implement texture UV transpose in the gles3 rendererBojidar Marinov2-10/+10
Now tilemap rotations work again \o/
2017-08-29-Fixes to how collada generates tangents (use SurfaceTool), closes #9562Juan Linietsky4-205/+65
-Fix to gridmap cell size (wrong property type)
2017-08-29Fix #10723, a regression from 7a07895Bojidar Marinov1-3/+4
Using @akien-mga's patch
2017-08-29Removed ParamDef and ParamHint structsWilson E. Alvarez2-28/+0
2017-08-29Cleaned up logic in Tween::_tween_process(), fixes #9187cryptonaut1-14/+10
2017-08-28Better spatial gizmo.Daniel J. Ramirez2-13/+131
Now it is posible to move spatial nodes along a plane.
2017-08-29Change editor update_mode to booleanPoommetee Ketson1-4/+9
Fix potential issues when MenuOptions enum or the entry in project metadata file is altered.
2017-08-29Fix export of 32 Bits Framebuffer optionHenrik Andersson1-1/+1