summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix UndoRedo operations for the new features in the Polygon2D UV EditorMichael Alexsander Silva Dias2019-01-101-9/+12
|
* Rewrote rename logic to be less buggy and more efficient, fixes #23803 and ↵Juan Linietsky2019-01-102-41/+91
| | | | probably many recent bugs using GraphEdit
* Revert "Node: make _generate_serial_child_name manipulate numbers as String"Rémi Verschelde2019-01-101-51/+29
| | | | | This reverts commits 1025e3ecea67b90232cfdc9590a7ee8887efdcc8 and 799ed2b98984414fd3b7b667c5e3e5d2e6d35a66.
* Merge pull request #24877 from neikeq/issue-24280Rémi Verschelde2019-01-106-40/+51
|\ | | | | Fix properties being lost when reloading placeholder GDScript instance
| * Fix properties being lost when reloading placeholder GDScript instanceIgnacio Etcheverry2019-01-106-40/+51
| | | | | | | | | | | | | | 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).
* | doc: Sync classref with current source + AUTHORS editRémi Verschelde2019-01-105-3/+51
| |
* | Merge pull request #24886 from akien-mga/animatedtexture-frame-propertiesRémi Verschelde2019-01-101-2/+2
|\ \ | | | | | | Fix showing AnimatedTexture frame_* properties in editor
| * | Fix showing AnimatedTexture frame_* properties in editorRémi Verschelde2019-01-101-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | Merge pull request #24883 from akien-mga/resourceformat-unregisterRémi Verschelde2019-01-109-74/+43
|\ \ \ | |/ / |/| | Consistency in resource format saver/loader de-registration
| * | Consistency in resource format saver/loader de-registrationRémi Verschelde2019-01-109-74/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | Merge pull request #24884 from Xrayez/fix-#24881Rémi Verschelde2019-01-101-1/+1
|\ \ \ | |/ / |/| | Fix broken encrypted scripts during export
| * | Fix broken encrypted scripts during exportAndrii Doroshenko (Xrayez)2019-01-101-1/+1
| | | | | | | | | | | | | | | | | | Use temporary cache directory instead of editor settings directory in order to resolve encrypted file access needed for encrypting scripts on all platforms.
* | | Merge pull request #24878 from dragmz/patch-5Rémi Verschelde2019-01-101-5/+5
|\ \ \ | | | | | | | | Remove vsgdnative loader on exit
| * | | Remove vsgdnative loader on exitMarcin Zawiejski2019-01-101-5/+5
| |/ /
* | | Merge pull request #24871 from groud/fix_bones_selectionRémi Verschelde2019-01-101-5/+8
|\ \ \ | |/ / |/| | Fixes 2D bones selection
| * | Fixes 2D bones selectiongroud2019-01-091-5/+8
| | |
* | | Update AUTHORS and DONORS listRémi Verschelde2019-01-092-22/+44
|/ / | | | | | | | | | | | | | | | | New contributors added to AUTHORS: @clayjohn, @lupoDharkael, @supagu, @timoschwarzer, @Xrayez Thanks to all contributors and donors for making Godot possible! [ci skip]
* | Merge pull request #24865 from guilhermefelipecgs/hide_error_labelRémi Verschelde2019-01-091-0/+1
|\ \ | | | | | | [Regression] Hides error_label of state machine on the first time.
| * | Hides error_panel of state machine on the first time.Guilherme Felipe2019-01-091-0/+1
| | |
* | | Merge pull request #20552 from KidRigger/gsoc-peerRémi Verschelde2019-01-0910-0/+802
|\ \ \ | | | | | | | | Added interface for GDNative Videodecoder.
| * | | Adapt GDNative VideoStream to use ResourceFormatLoaderRémi Verschelde2018-12-135-160/+55
| | | | | | | | | | | | | | | | | | | | Same logic as used for Webm and Theora support in #19937 and #21084, fixing issues when exporting projects.
| * | | Fix includes and initialization for GDNative VideodecoderRémi Verschelde2018-12-136-22/+32
| | | | | | | | | | | | | | | | | | | | Fixes warnings and a crash when running the destructor with an uninitialized pcm pointer.
| * | | Added interface for GDNative Videodecoder.Anish2018-12-1312-0/+897
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Interface and callback api added for Videodecoder support. Should be able to construct any format videodecoder using only the given interface. GSoC 2018 project.
* | | | Merge pull request #24826 from bojidar-bg/24755-fix-ysort-bugRémi Verschelde2019-01-091-16/+12
|\ \ \ \ | | | | | | | | | | Fix a nested ysort invalid memory read again
| * | | | Fix a nested ysort invalid memory read againBojidar Marinov2019-01-091-16/+12
| | | | | | | | | | | | | | | | | | | | Fixes #24755
* | | | | Merge pull request #24863 from akien-mga/travis-osx-scons-pipRémi Verschelde2019-01-092-19/+2
|\ \ \ \ \ | |_|_|/ / |/| | | | Travis: Use pip to install SCons on OSX
| * | | | Travis: Use pip to install SCons on OSXRémi Verschelde2019-01-092-19/+2
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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).
* | | | Merge pull request #24858 from volzhs/animation-transitionRémi Verschelde2019-01-091-2/+1
|\ \ \ \ | | | | | | | | | | AnimationNodeTransition name begins from 0
| * | | | AnimationNodeTransition name begins from 0volzhs2019-01-091-2/+1
| | | | | | | | | | | | | | | | | | | | and added "state" string for default name not to confuse it as number
* | | | | Merge pull request #24857 from x2f/patch-1Rémi Verschelde2019-01-091-1/+1
|\ \ \ \ \ | | | | | | | | | | | | Fix "Whole Words" and "Match Cases" checkbox behavior in "Find in Files"
| * | | | | Fix for issue #24810 (find in files logic)x2f2019-01-091-1/+1
| | | | | | | | | | | | | | | | | | Match case check box was used for whole words as well as match case.
* | | | | | Merge pull request #24851 from bruvzg/ime_focus_fixRémi Verschelde2019-01-092-7/+13
|\ \ \ \ \ \ | | | | | | | | | | | | | | Update IME text only for focused input controls.
| * | | | | | Update IME text only for focused input controls.bruvzg2019-01-082-7/+13
| | | | | | |
* | | | | | | Merge pull request #24842 from volzhs/fix-node-name-serialRémi Verschelde2019-01-091-1/+1
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | Fix strip out spaces while generating serial number for node name
| * | | | | | | Fix strip out spaces while generating serial number for node namevolzhs2019-01-081-1/+1
| | |_|/ / / / | |/| | | | |
* | | | | | | Merge pull request #24855 from hpvb/disable-ffast-mathRémi Verschelde2019-01-097-16/+9
|\ \ \ \ \ \ \ | |_|_|/ / / / |/| | | | | | Don't use -ffast-math or other unsafe math optimizations
| * | | | | | Don't use -ffast-math or other unsafe math optimizationsHein-Pieter van Braam2019-01-097-16/+9
|/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | | Removed splits in Polygon editor, replace by internal vertices and polygon ↵Juan Linietsky2019-01-089-224/+766
| | | | | | | | | | | | | | | | | | | | | | | | support.
* | | | | | Merge pull request #24831 from clayjohn/fix_nested_docs_tooltipRémi Verschelde2019-01-081-0/+1
|\ \ \ \ \ \ | | | | | | | | | | | | | | Make tooltips display for nested resources
| * | | | | | make tooltips display for subinspectorsclayjohn2019-01-071-0/+1
| | | | | | |
* | | | | | | Merge pull request #24828 from Calamander/patch-1Rémi Verschelde2019-01-081-2/+2
|\ \ \ \ \ \ \ | |_|/ / / / / |/| | | | | | RandomPCG randf/randd functions typos fix
| * | | | | | Update random_pcg.hCalamander2019-01-071-2/+2
| | | | | | | | | | | | | | | | | | | | | little fix to function types
* | | | | | | Merge pull request #24830 from hpvb/fix-24752v2Hein-Pieter van Braam2019-01-082-2/+2
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | | Use 'release_debug' for mono export templates
| * | | | | | Use 'release_debug' for mono export templatesHein-Pieter van Braam2019-01-082-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | | | Merge pull request #24301 from marcelofg55/default_device_pulseaudioRémi Verschelde2019-01-071-0/+42
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | PulseAudio driver will now change the device if the default system device changes
| * | | | | | | PulseAudio driver will now change the device if the default system device ↵Marcelo Fernandez2018-12-121-0/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | changes
* | | | | | | | Merge pull request #24823 from ibrahn/fix-string-lrstrip-2Rémi Verschelde2019-01-075-19/+105
|\ \ \ \ \ \ \ \ | |_|/ / / / / / |/| | | | | | | Repair String lstrip and rstrip.
| * | | | | | | Repair String lstrip and rstrip.Ibrahn Sahir2019-01-075-19/+105
| | |_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | | | Merge pull request #24824 from hpvb/fix-24752Hein-Pieter van Braam2019-01-071-1/+1
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | | Use 'release_debug' for mono export templates
| * | | | | | Use 'release_debug' for mono export templatesHein-Pieter van Braam2019-01-071-1/+1
|/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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