summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-01-11Added autoloads as a potential type.Daniel Eliasinski
2019-01-10Revert "Node: make _generate_serial_child_name manipulate numbers as String"Rémi Verschelde
This reverts commits 1025e3ecea67b90232cfdc9590a7ee8887efdcc8 and 799ed2b98984414fd3b7b667c5e3e5d2e6d35a66.
2019-01-10Merge pull request #24877 from neikeq/issue-24280Rémi Verschelde
Fix properties being lost when reloading placeholder GDScript instance
2019-01-10doc: Sync classref with current source + AUTHORS editRémi Verschelde
2019-01-10Merge pull request #24886 from akien-mga/animatedtexture-frame-propertiesRémi Verschelde
Fix showing AnimatedTexture frame_* properties in editor
2019-01-10Merge pull request #24883 from akien-mga/resourceformat-unregisterRémi Verschelde
Consistency in resource format saver/loader de-registration
2019-01-10Fix showing AnimatedTexture frame_* properties in editorRémi Verschelde
Regression from cd0b82fd56bdba5a4f1a057fd2d50854c1f503ef, it must be hidden from docs (PROPERTY_USAGE_INTERNAL) but not from the editor. Supersedes and fixes #24880. Co-authored-by: QbieShay <cislaghi.ilaria@gmail.com>
2019-01-10Merge pull request #24884 from Xrayez/fix-#24881Rémi Verschelde
Fix broken encrypted scripts during export
2019-01-10Fix broken encrypted scripts during exportAndrii Doroshenko (Xrayez)
Use temporary cache directory instead of editor settings directory in order to resolve encrypted file access needed for encrypting scripts on all platforms.
2019-01-10Consistency in resource format saver/loader de-registrationRémi Verschelde
Some used 'is_valid()' checks, others not. Validity is already checked in 'unref()', and 'remove_resource_format_*()' has an ERR_FAIL condition on 'is_null()' already (which shouldn't happen since we're only unregistering things that we previously registered. Also add missing GDCLASS statement in ResourceFormatLoaderVideoStreamGDNative, missed in #20552 which was last amended before #19501 was merged.
2019-01-10Merge pull request #24878 from dragmz/patch-5Rémi Verschelde
Remove vsgdnative loader on exit
2019-01-10Merge pull request #24871 from groud/fix_bones_selectionRémi Verschelde
Fixes 2D bones selection
2019-01-10Remove vsgdnative loader on exitMarcin Zawiejski
2019-01-10Fix properties being lost when reloading placeholder GDScript instanceIgnacio Etcheverry
During reloading in `GDScriptLanguage::reload_all_scripts` a placeholder instance that must remain so is replaced with a new placeholder instance. The state is then restored by calling `ScriptInstance::set` for each property. This does not work if the script is missing the properties due to build/parse failing. The fix for such cases is to call `placeholder_set_fallback` instead of `set` on the script instance. I took this chance to move the `build_failed` flag from `PlaceHolderScriptInstance` to `Script`. That improves the code a lot. I also renamed it to `placeholder_fallback_enabled` which is a much better name (`build_failed` could lead to misunderstandings).
2019-01-09Update AUTHORS and DONORS listRémi Verschelde
New contributors added to AUTHORS: @clayjohn, @lupoDharkael, @supagu, @timoschwarzer, @Xrayez Thanks to all contributors and donors for making Godot possible! [ci skip]
2019-01-09Fixes 2D bones selectiongroud
2019-01-09Merge pull request #24865 from guilhermefelipecgs/hide_error_labelRémi Verschelde
[Regression] Hides error_label of state machine on the first time.
2019-01-09Hides error_panel of state machine on the first time.Guilherme Felipe
2019-01-09Merge pull request #20552 from KidRigger/gsoc-peerRémi Verschelde
Added interface for GDNative Videodecoder.
2019-01-09Merge pull request #24826 from bojidar-bg/24755-fix-ysort-bugRémi Verschelde
Fix a nested ysort invalid memory read again
2019-01-09Merge pull request #24863 from akien-mga/travis-osx-scons-pipRémi Verschelde
Travis: Use pip to install SCons on OSX
2019-01-09Travis: Use pip to install SCons on OSXRémi Verschelde
Not sure why we switched from homebrew to scons-local anymore, but pip should work just fine and is recommended by upstream. Downloads of scons-local from SourceForge were quite iffy, so this should help avoid CI errors due to not having downloaded SCons successfully. Setting Python's user binary PATH seems necessary on Travis/OSX as per travis-ci/travis-ci#5030 (confirmed that 'scons' is not in PATH without it).
2019-01-09Fix a nested ysort invalid memory read againBojidar Marinov
Fixes #24755
2019-01-09Merge pull request #24858 from volzhs/animation-transitionRémi Verschelde
AnimationNodeTransition name begins from 0
2019-01-09Merge pull request #24857 from x2f/patch-1Rémi Verschelde
Fix "Whole Words" and "Match Cases" checkbox behavior in "Find in Files"
2019-01-09Merge pull request #24851 from bruvzg/ime_focus_fixRémi Verschelde
Update IME text only for focused input controls.
2019-01-09Merge pull request #24842 from volzhs/fix-node-name-serialRémi Verschelde
Fix strip out spaces while generating serial number for node name
2019-01-09Merge pull request #24855 from hpvb/disable-ffast-mathRémi Verschelde
Don't use -ffast-math or other unsafe math optimizations
2019-01-09AnimationNodeTransition name begins from 0volzhs
and added "state" string for default name not to confuse it as number
2019-01-09Fix for issue #24810 (find in files logic)x2f
Match case check box was used for whole words as well as match case.
2019-01-09Don't use -ffast-math or other unsafe math optimizationsHein-Pieter van Braam
Godot supports many different compilers and for production releases we have to support 3 currently: GCC8, Clang6, and MSVC2017. These compilers all do slightly different things with -ffast-math and it is causing issues now. See #24841, #24540, #10758, #10070. And probably other complaints about physics differences between release and release_debug builds. I've done some performance comparisons on Linux x86_64. All tests are ran 20 times. Bunnymark: (higher is better) (bunnies) min max stdev average fast-math 7332 7597 71 7432 this pr 7379 7779 108 7621 (102%) FPBench (gdscript port http://fpbench.org/) (lower is better) (ms) fast-math 15441 16127 192 15764 this pr 15671 16855 326 16001 (99%) Float_add (adding floats in a tight loop) (lower is better) (sec) fast-math 5.49 5.78 0.07 5.65 this pr 5.65 5.90 0.06 5.76 (98%) Float_div (dividing floats in a tight loop) (lower is better) (sec) fast-math 11.70 12.36 0.18 11.99 this pr 11.92 12.32 0.12 12.12 (99%) Float_mul (multiplying floats in a tight loop) (lower is better) (sec) fast-math 11.72 12.17 0.12 11.93 this pr 12.01 12.62 0.17 12.26 (97%) I have also looked at FPS numbers for tps-demo, 3d platformer, 2d platformer, and sponza and could not find any measurable difference. I believe that given the issues and oft-reported (physics) glitches on release builds I believe that the couple of percent of tight-loop floating point performance regression is well worth it. This fixes #24540 and fixes #24841
2019-01-08Removed splits in Polygon editor, replace by internal vertices and polygon ↵Juan Linietsky
support.
2019-01-08Update IME text only for focused input controls.bruvzg
2019-01-08Fix strip out spaces while generating serial number for node namevolzhs
2019-01-08Merge pull request #24831 from clayjohn/fix_nested_docs_tooltipRémi Verschelde
Make tooltips display for nested resources
2019-01-08Merge pull request #24828 from Calamander/patch-1Rémi Verschelde
RandomPCG randf/randd functions typos fix
2019-01-07make tooltips display for subinspectorsclayjohn
2019-01-08Merge pull request #24830 from hpvb/fix-24752v2Hein-Pieter van Braam
Use 'release_debug' for mono export templates
2019-01-08Use 'release_debug' for mono export templatesHein-Pieter van Braam
This fixes the previously wrong PR Because we don't actually ship 'debug' templates to users make sure the mono exporter picks the correct 'data' directory for export templates. This fixes #24752
2019-01-07Update random_pcg.hCalamander
little fix to function types
2019-01-07Merge pull request #24301 from marcelofg55/default_device_pulseaudioRémi Verschelde
PulseAudio driver will now change the device if the default system device changes
2019-01-07Merge pull request #24823 from ibrahn/fix-string-lrstrip-2Rémi Verschelde
Repair String lstrip and rstrip.
2019-01-07Merge pull request #24824 from hpvb/fix-24752Hein-Pieter van Braam
Use 'release_debug' for mono export templates
2019-01-07Use 'release_debug' for mono export templatesHein-Pieter van Braam
Because we don't actually ship 'debug' templates to users make sure the mono exporter picks the correct 'data' directory for export templates. This fixes #24752
2019-01-07Repair String lstrip and rstrip.Ibrahn Sahir
Background: lstrip and rstrip were broken by changes to String in: 0e29f7974b59e4440cf02e1388fb9d8ab2b5c5fd which removed it's access to Vector::find(CharType). Moved Vector's find up into CowData so it can be shared by Vector and String. Added String::find_char using CowData::find. Implemented rstrip and lstrip using find_char. Added a few tests for String rstrip and lstrip.
2019-01-07Bump version to 3.1-betaRémi Verschelde
Release freeze is now active, only major bug fixes will be considered.
2019-01-07i18n: Sync translation template with current sourceRémi Verschelde
Misc fixes to source strings.
2019-01-07i18n: Sync translations with WeblateRémi Verschelde
2019-01-07Merge pull request #24814 from YeldhamDev/animtree_editor_statemach_scrollsRémi Verschelde
Move scrolls in the StateMachine editor inside the panel
2019-01-07Merge pull request #24807 from guilhermefelipecgs/fix_state_machine_scrollRémi Verschelde
Fix state machine scroll