aboutsummaryrefslogtreecommitdiff
path: root/platform/javascript/api/api.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2018-03-31[GDNative] fixed issue with library unloading orderkarroffel1-13/+25
2018-03-31[GDNative] added GDCALLINGCONV to instance binding functionskarroffel1-3/+3
2018-03-30README: Use HTTPS URL for image. (#17851)Maxwell Paul Brickner1-1/+1
Updated links to use https when possible to avoid redirects.
2018-03-30[DOCS] Some content for InterpolatedCameraMel Collins1-0/+7
2018-03-30[DOCS] Typo fix for CollisionShape[2D]mhilbrunner2-2/+2
2018-03-30Fix bug in HTML5 HTTPClient.Fabio Alessandrelli1-1/+1
The URL parameter already has a slash, adding an extra one results in an invalid resource path
2018-03-29Fix UWP build after #17194Fabio Alessandrelli1-0/+2
`uwp/detect.py` was not setting the `env.msvc` variable to true causing scons to pass wrong arguments to `msvc` (using `clang/gcc` options) which in turn break the build due to `-Werror=return-type` not being recognized by ms compiler.
2018-03-29[Docs] fix typosPoommetee Ketson2-8/+8
2018-03-28[DOCS] Node & PackedScene (#17833)Max Hilbrunner2-2/+9
* [DOCS] Node: SceneSaver -> PackedScene * [DOCS] PackedScene: Code example, resolve TODO
2018-03-28[DOCS] Generic6DOFJoint fixesMax Hilbrunner1-7/+7
2018-03-28Fix IPhone and OSX cross compilationFabio Alessandrelli3-2/+8
2018-03-28Enable snapping in 2D when control key pressedChaosus1-9/+11
2018-03-26Simplify CanvasItemEditor anchor drag logicWilson E. Alvarez1-12/+12
2018-03-26Refactor JavaScript platform build scriptLeon Krause9-218/+105
2018-03-26Added wrap functions to C#Chaosus1-0/+12
2018-03-25Added the "GLES2" option for the video-driver in the terminal help.Michael Alexsander Silva Dias1-1/+1
2018-03-24Fix mono basis GetEuler bug and marshalling/unmarshallingCarter Anderson2-86/+110
2018-03-24Fix bug added in PR#17589. Resources couldn't be saved to filesrobfram1-4/+2
This PR fixes the code to avoid saving default environment every time the project is run whitin the editor. Should fix #17727. Sorry for the troubles!
2018-03-23Overhaul the display scaling editor settingsHugo Locurcio3-26/+78
This adds more scaling options, in addition to a custom scaling option which allows any scale between 0.75 and 3.0 to be used.
2018-03-23Revert "Implement OS_OSX::execute"bruvzg2-50/+0
This reverts commit e42576548f2c0ae2c6cb24ce2b0437ffb8978d65.
2018-03-22Replace float with real_t, default Vectors, other misc C# improvementsAaron Franke13-289/+471
Replace float with real_t in most files, defined at the top of each file via using. Objects such as Vector3 now accept doubles as inputs, and convert to real_t internally. I've added default Vectors such as Vector3.Zero. Other misc C# improvements such as Mathf.RoundToInt(). Color continues to use float only because high precision is not needed for 8-bit color math and to keep things simple. Everything seems to compile and work fine, but testing is requested, as this is the first time I've ever contributed to Godot.
2018-03-22Fix for clang warning at distance_toMarcelo Fernandez1-1/+1
2018-03-22Fix dragging window from non-retina to retina display.bruvzg1-0/+1
2018-03-22Fix several in-class initialization clang warningMarcelo Fernandez7-9/+18
2018-03-21Fix missing const in CapsuleShapeSW::get_areaMarcelo Fernandez1-1/+1
2018-03-21Fix compressor audio effect sidechain selectionBenedikt Bär1-1/+1
2018-03-21Prevented external editor from running multiple timesIvan Vodopiviz1-1/+2
Fixes #16923. I'm not a fan of the special case for scripts in editor_node.cpp, but in any case, I made it so it wouldn't make the external editor to re-open just because we switched scenes.
2018-03-21[DOCS] minor ParticlesMaterial docs fix Linear -> RadialPoommetee Ketson1-1/+1
2018-03-21Prevent android to split-screenXavier Sellier1-1/+2
2018-03-21s/2017/2018/g for gles2, websocket, linux appdataPoommetee Ketson37-73/+73
2018-03-21Add --print-fps option to output FPS to stdoutRémi Verschelde2-4/+15
Works both for the editor and games. Projects can still use "debug/settings/stdout/print_fps" to enable it permanently. The --print-fps option takes precedence (so works even if the project setting is disabled). That setting is also no longer redefined on the fly based on the verbose flag, that was a mess.
2018-03-20Updated thekla_atlas to support arm64Brigham Henry Keys2-4/+9
2018-03-20add option to invert y-axisJulien CATINEAU2-2/+13
2018-03-20Fix getting Android device informationvolzhs1-2/+8
Fix #17644
2018-03-20Add RWLockDummy for NO_THREADS buildsLeon Krause7-25/+30
2018-03-19Fix crash in `canvas_item_add_polyline` when passing more points than colorsrobfram1-4/+8
When `p_points.size() > p_colors.size()`, it crashed with invalid array access to `p_colors`. Also, when `p_colors` was an empty `Vector` it crashed due a missing `else` checking the `size` condition, as the code handling that special case exists. This PR fixes the missing `else` for `p_colors.size == 0` and, following the `canvas_item_add_multiline` spirit, it only uses the first color for the whole polyline if points and colors differ in size. Fix #17621.
2018-03-19Fix mono build properly!PJB30051-1/+1
Fixes the mistake I made in #17603 to make it require Python > 3.6.
2018-03-19Fix oversampled font artifacts after resizeRuslan Mustakov1-3/+3
Font update after resize relies on the viewport size which was updated after the font was already refreshed, which resulted in artifacts when it was rendered into the actual/new viewport size. Fixes #15173.
2018-03-19Fix possible crash when audio channels changeMarcelo Fernandez2-11/+33
2018-03-19Implement OS_OSX::executebruvzg2-0/+50
2018-03-19Fix animation length from glTF not correctly setPedro J. Estébanez1-4/+3
2018-03-19Fix glTF not accepting VEC3 colorsPedro J. Estébanez1-3/+11
Aside from the colors themselves, the rejection was adding somes issues later in the mesh import process.
2018-03-18Mono: Runtime main args and assembly search fixesIgnacio Etcheverry2-15/+42
- Setup runtime main args during initialization. This must be done manually by embedders who do not call mono_runtime_run_main. Fixes NullReferenceException in System.Environment. - Continue to search the assembly in the rest of the search locations if loading it from one of them failed.
2018-03-18Fixes wrong calculation of gridcontainer's children sizeGilles Roudiere1-2/+2
2018-03-18Disable Emscripten assertions in release_debug buildsLeon Krause1-1/+2
The messages generated by some assertions can be confusing to users.
2018-03-18Fix bad rendering of BBCode tables in `RichTextLabel`robfram2-3/+10
Text overflowed canvas as tables didn't calculate correctly the width of their columns. They used the whole table width available for each column. Also, the `cell` parameter was wrongly parsed if used with its optional argument (expand ratio). This PR fixs the parsing of `cell` parameter (i.e. `cell=e`) and the distribution of the full table width between columns, but it overrides automatically the `expand` flag if the column is smaller than it could be, to allow a better UX out-of-the-box. It keeps the `expand_ratio` flag to let the user customize how every column grows in relation to the rest. Partially fix #6289.
2018-03-18Fix listing files inside directory in pack filePedro J. Estébanez1-1/+5
When adding a directory path to the inventory of the pack, an empty file name was being added to the file list. That made `Directory.get_ntext()` signal end-of-list too early so that files in a subdirectory were missed. Fixes #15801. Helps with #16798.
2018-03-18Improve Input.is_action_just_* docs.Pieter-Jan Briers1-2/+3
More clarification.
2018-03-18Fix saving unmodified scenes and resourcesrobfram1-1/+7
When `_save_all_scenes` or `save_resource_in_path` was called, they always saved all the scenes and the resource no matter if they were modified or not. For example, when `saving before run` option was checked, it always overwrote the current scene and the default environment simply by opening and runing the project. This PR adds checks for unsaved scenes (using the same `unsave` check others method used) and modified resources (comparing last modified time and last import time). Fix #6025.
2018-03-18Fix Mono builds with Python 3.Pieter-Jan Briers1-1/+1
A subprocess call wasn't specifying an encoding, so this gave a TypeError in Python 3.