Commit graph

267 commits

Author SHA1 Message Date
sersoong e9255375f3 Add Show In File Manager to project manager 2018-01-01 10:32:41 +08:00
Joachim Meyer 6f0b2e5ee4 Fix crash on startup when external editor cannot be found.
Fixes #10965
2017-12-21 21:54:01 +01:00
Rémi Verschelde f17d46d3fa
Merge pull request #14852 from sersoong/2.1-batchchange
Enhanced changeType menu in Scene Tree Dock
2017-12-20 16:31:16 +01:00
sersoong e4de06dff8 Enhanced changeType menu in Scene Tree Dock 2017-12-20 09:05:28 +08:00
Rémi Verschelde 74a8a91da3
Merge pull request #13230 from sersoong/2.1-test2
Add 'uppercase' and 'lowercase' to script editor
2017-12-17 20:56:42 +01:00
Xavier Sellier 377fdc1e33 Hardware cursor implementation for Godot Engine 2.1
- Remove all references to the variable 'custom_mouse_cursor_hotspot' and 'custom_mouse_cursor' from the project settings.
- Indeed, to implement a custom cursor we need to define a sprite for each 'state' of the cursor. Using those variables in the projects settings would define only the _main_ cursor.
- Cleanup the VirtualServer (Remove references to cursor_set_visible, cursor_set_texture and cursor_set_pos)
- Cleanup the Input (set_mouse_in_window should not be used anymore)
- Update the documentation
- Implement it for windows, X11, Javascript, BB 10, OSx, iOS, server, android
- NOT IMPLEMENTED FOR WINRT (As of today, I'm not able to implement this one, this post might help)
- NOT IMPLEMENTED FOR HAIKU (Support of this platform seems perfunctory)
- Build it for Windows, Android and OSX
2017-12-15 11:37:36 -05:00
sersoong f3bb2d8679 Add copy script path item to script editor 2017-12-15 11:26:32 +08:00
Xavier Sellier 487773ed24 Remove funny output during when exporting a project or loading Godot Engine 2017-12-11 11:13:04 -05:00
Rémi Verschelde 6a4e7198c5 Style: apply clang-format (5.0.0) to current source 2017-12-11 15:31:49 +01:00
Rémi Verschelde acb7107720 Style: apply clang-format (3.9.1) to current source 2017-12-11 15:18:06 +01:00
sersoong bcfe3dcd35 Add 'uppercase' and 'lowercase' to script editor 2017-12-10 09:17:40 +08:00
Rémi Verschelde 20482cd5a4
Merge pull request #14354 from sersoong/2.1-addopenall
Enhanced 'open' in filesystemdock and fixed some non clang-format style code
2017-12-07 07:38:03 +01:00
sersoong 97c80f84ca Enhanced 'open' in filesystemdock and fixed some non clang-format code 2017-12-07 08:36:33 +08:00
Rémi Verschelde b87cbe7994
Merge pull request #14327 from RandomShaper/fix-chmod-error-2.1
Fix Windows-to-Linux export error (2.1)
2017-12-06 23:16:21 +01:00
Pedro J. Estébanez c356fbe05f Fix Windows-to-Linux export error
Now chmod() returns ERR_UNAVAILABLE by default, to signal the caller the problem is lack of support instead of a failed operation.
2017-12-06 20:28:00 +01:00
Rhody Lugo a30a78dfdb disable stop button if the scene is not running 2017-12-05 11:44:49 -04:00
Rhody Lugo 714e02c0f6 disable caching for targets using helper functions 2017-11-28 16:14:24 -04:00
Rhody Lugo 388249c386 use the same cache for all branches for appveyor 2017-11-28 03:23:51 -04:00
sersoong 1cf15bb847 Change script list menu item to shortcut and add more item 2017-11-21 08:02:01 +08:00
Dmitry Krutskikh da1b3bfdcb Add "View FPS" in 3D->Perspective's popup. 2017-11-20 23:09:09 +03:00
Rémi Verschelde cf13e05d46
Merge pull request #12945 from sersoong/2.1-test
2.1 - Add open scene feature to dependency_editor.cpp
2017-11-20 09:12:17 +01:00
Rémi Verschelde 28f2e5483e
Merge pull request #12985 from sersoong/2.1-test2
[2.1]-Add Close All,Close Others Options to script editor
2017-11-20 09:00:49 +01:00
sersoong 19d2ba2b08 Fix TextureRegionEditor's snap mode is not initial bug. 2017-11-20 09:15:49 +08:00
sersoong 320ee1851f Porting 3.0 filessytem_dock's context menu to 2.1 2017-11-19 11:21:36 +08:00
George Marques fa000c6327
Fix build error caused by cherry-pick from 3.0
Problematic commit: 5e4f092ac
2017-11-17 20:54:35 -02:00
George Marques 5e4f092acd
Make resources edited by plugins be sent as reference
This ensures that a plugin can save a resource using the ResourceSaver.
2017-11-17 16:43:51 -02:00
sersoong 88b5287731 Add Close All,Close Other Tabs to script editor 2017-11-17 21:42:01 +08:00
sersoong 886aac981c Add open scene feature to dependency_editor.cpp 2017-11-15 15:50:32 +08:00
sersoong 875fd90467 Add more template to Script_Create_dialog.cpp 2017-11-13 14:31:51 +08:00
Geequlim 9f24aefdc8 Add null check to fix crashing with debugger 2017-11-09 18:28:52 +08:00
sersoong 66e76236b1 add copy button to sprite_frames_editor 2017-10-26 20:34:22 +08:00
Matthias Hoelzl fb236045de Make build scripts Scons 3.0/Python3 compatible
- Cherry picked #10662 and fixed merge conflicts.
- Manualy merged the change from #11904.
- Did not merge #12236 since I'm not sure whether the issue
  affects Godot 2.1 and I don't have VS2013 to test.
- Did not merge #11843 since it doesn't seem relevant (the
  code is only needed for creating DONORS.md, etc.).
- Did not merge #10727 and #11752 since they seem to be
  already included in #11742.
- The Windows and Linux builds have been tested with Scons 3.0
  using Python 3.
- OSX and iOS should hopefully work but are not tested since
  I don't have a Mac.
- Builds using SCons 2.5 and Python 2 should not be impacted.
2017-10-24 06:41:32 +02:00
Indah Sylvia 61b3c1a29f Removed duplication of 'later in' on "No main scene has ever been defined" alert (#12237) 2017-10-20 08:27:09 +07:00
RCurtis 5fe2ce8199 Fixed duplicate signal connection 2017-10-17 18:34:50 -04:00
Rémi Verschelde 8122d943c4 Merge pull request #12040 from Shin-NiL/2.1
Allows to export PCK/ZIP without templates
2017-10-11 23:02:31 +02:00
Rémi Verschelde 7b5310753e Merge pull request #11977 from DmitryKrutskikh/filter-input-events-in-project-manager
Skip unhandled input events on asset library tab. (2.1)

[ci skip]
2017-10-11 22:31:53 +02:00
Rémi Verschelde b1ea083b3f Merge pull request #11863 from marcelofg55/conv_scripts_exp
Added an experimental convert scripts option for godot3 export
2017-10-11 22:21:46 +02:00
Dmitry Krutskikh fa08388c29 Skip unhandled input events on asset library tab. 2017-10-11 22:46:36 +03:00
Shin-NiL 5f0067a7ee Allows to export PCK/ZIP without templates 2017-10-11 15:25:02 -03:00
Shin-NiL d1c5272308 Won't change editor tabs when using External Editor. 2017-10-11 09:03:44 -03:00
Marcelo Fernandez cecc893702 Added an experimental convert scripts option for godot3 export 2017-10-09 14:36:11 -03:00
Fabio Alessandrelli 0a34d35218 Do not allow link-local addresses to be used by editor debugger
Default editor debugger address is now 127.0.0.1

(cherry picked from commit 72b4a09a14)
2017-10-09 16:07:13 +02:00
Rémi Verschelde 8a57fe819d Merge pull request #11932 from DmitryKrutskikh/correct-project-icon-align
Fix project icon align (2.1).
2017-10-09 15:14:03 +02:00
Dmitry Krutskikh e6b7e055a0 Fix project icon align.
Now icon vertically centered
2017-10-08 19:59:37 +03:00
Paulb23 8cc56c16cf Added members overview (2.1) 2017-10-07 14:41:46 +01:00
Andreas Haas 1a934a58e4 Merge pull request #11870 from marcelofg55/main_scene_export
Fix godot3 exporter main_scene conversion
2017-10-06 19:59:57 +02:00
Marcelo Fernandez 1f411d7e22 Convert filter/gen_mipmaps on godot3 exporter 2017-10-06 12:04:52 -03:00
Marcelo Fernandez 6747c2b3e8 Fix godot3 exporter main_scene conversion 2017-10-06 10:03:06 -03:00
Marcelo Fernandez 2f49e553f0 Godot3 Exporter now converts .fnt to .font 2017-10-05 22:50:43 -03:00
Andreas Haas 9a793659dd Merge pull request #11680 from ISylvox/added-contributor
[2.1] Add 'Godot Contributors' in Project Manager Title
2017-09-30 17:28:14 +02:00
Indah Sylvia f50a0cecd9 Fixed typo: 'texure' to 'texture' 2017-09-29 04:30:06 +07:00
Indah Sylvia d921ae21ef Added 'Godot Contributors' in project manager title 2017-09-29 03:21:14 +07:00
Rémi Verschelde 1391269a78 Merge pull request #10124 from marcelofg55/handle_sigsegv
Added a SIGSEGV handler that dumps the stacktrace to ease reporting
2017-09-21 11:30:40 +02:00
Marcelo Fernandez 60cf34b968 Added a crash handler to dump the backtrace on Windows, Linux and OS X 2017-09-19 19:56:24 -03:00
sersoong ded734a678 Fix editor/property_editor.cpp TTR 2017-09-19 12:22:41 +08:00
Marcelo Fernandez b48704c620 Fix x11 exported executables not getting the +x flag 2017-09-16 22:38:32 -03:00
Rémi Verschelde d47a9a4984 Change 2D/3D/Script/Help shortcuts back to previous values
Fixes conflicting change of focus for F3 (3D editor and "Find Next" in the Script editor).
Closes #11042.
2017-09-13 18:45:42 +02:00
Rémi Verschelde 58075d8ec5 Merge pull request #10891 from GodotExplorer/pr-debugger-2.1.4
[2.1] Some improvements for debugger
2017-09-12 12:53:16 +02:00
geequlim 31b1a77dbc Don't push remote object if the same remote object is already in the history
Fix error inspector capitalization with regular objects after insepct remote objects
2017-09-05 22:05:11 +08:00
Marcelo Fernandez 118dd478e7 Fix crash when editing SampleLibrary with broken dependencies 2017-09-05 00:55:09 -03:00
Rémi Verschelde d84ae4ad7f Merge pull request #10896 from volzhs/fix-tree-margin
Adjust Noto font metrics
2017-09-04 22:58:35 +02:00
volzhs 1ff942287f Adjust Noto font metrics 2017-09-04 21:25:08 +09:00
Rémi Verschelde 4bac719212 Fix previous cherry-picked TileMapEitorPlugin change
That part of a362270112 was specific to the master branch.
2017-09-04 07:34:09 +02:00
Juan Linietsky 73d855dbce Inspector is no longer cleared when game runs, fixes #9408
(cherry picked from commit ab13d0aeed)
Fixes #10943.
2017-09-04 07:30:11 +02:00
Daniel J. Ramirez a362270112 Hide tilemap menu when no tilemap is selected
(cherry picked from commit e4a9233a83)
2017-09-03 11:23:23 +02:00
geequlim 29cd034e23 Fix crash when edit remote object instance after debugger stoped 2017-09-03 00:47:45 +08:00
geequlim 1473e23df8 Fix continous update of the remote properties
Remove useless debugger property panel
Rename Remote Inspector to Live Scene Tree
2017-09-02 22:19:17 +08:00
Rémi Verschelde e59bb87fb6 Merge pull request #10690 from volzhs/editor-font
Replace default editor font to NotoSansUI
2017-08-31 11:50:44 +02:00
Juan Linietsky df173f194f Moved mirror and rotations to the tile mapen, to avoid taking up too much toolbar space, fixes #6461
(cherry picked from commit dbb6a39722)
2017-08-30 21:09:08 +02:00
volzhs 30f4a16cdf Use Noto fonts for Arabic, Hebrew and Thai 2017-08-29 21:01:31 +09:00
volzhs 110da7f816 Replace default editor font to NotoSansUI 2017-08-29 17:42:55 +09:00
Rémi Verschelde 9d598833d2 Use HTTPS URL for Godot's website in the headers 2017-08-27 14:11:45 +02:00
Rémi Verschelde a9521ef996 Buildsystem: Reduce verbosity of font and translation generation
(cherry picked from commit 21e53c4267)
2017-08-27 13:46:16 +02:00
Juan Linietsky e8fb68e038 simplify the way window is allowed to steal focus, no longer relying on project.godot. Closes #9459
(cherry picked from commit 533014b88c)
2017-08-27 12:53:45 +02:00
Rémi Verschelde 215ce6ab2b Rename "Default" window placement mode to "Top Left"
It is no longer the default value ;)

(cherry picked from commit 686294e4f2)
2017-08-27 12:47:52 +02:00
Andreas Haas 8ed6ddd49f SceneTreeEditor: Fix node_selected signal emission.
Fixes #10131

(cherry picked from commit a80371ce0a)
2017-08-27 12:46:01 +02:00
Juan Linietsky f6575f8d9a Fixes crash related to animatio editor, closes #8687
(cherry picked from commit cf2fdcb63e)
2017-08-27 12:26:07 +02:00
Jakub Grzesik da15a1b50d spatial selection if subscene geometry is far from origin
(cherry picked from commit 78e72c8e79)
2017-08-27 12:23:09 +02:00
Vasiliy Makarov bbf66945e7 more efficient atlas packing algorithm 2017-08-25 09:57:55 +03:00
Hein-Pieter van Braam 364f2e8082 Correct hash behavior for floating point numbers
This backports the work in #7815 and the subsequent fixes in #8393

The following program now works as expected in this branch in both
release_debug and debug mode:

```gdscript
        print(sqrt(-1))
        print(sqrt(-1))

        var simple1=asin(10.0)
        var simple2=acos(10.0)
        print(simple1)
        print(simple2)
```

And successfully prints -nan 4 times

This fixes #9580 and fixes #8925
2017-08-20 23:44:28 +02:00
Marcelo Fernandez 647c4ae5bf Add closest_power_of_2 func and implement mix_rate/latency on OS X 2017-08-18 12:10:21 -03:00
Rémi Verschelde 49028e0c49 Revert "Child Process Connected (in Editor Debugger) is now friendlier :-)"
This reverts commit 478531d5a8.

As explained in #10192, this commit changed the color of all errors.
2017-08-18 08:53:29 +02:00
Rémi Verschelde 3552755306 TileMap Editor: Improve tile info setting using signal
The event-based approach avoids the need to query editor settings
and call show/hide on the Control at every mouse input.

Improves #9141.
2017-08-16 20:03:02 +02:00
Rémi Verschelde 29632aadfd Merge pull request #9141 from pixelpicosean/add-settings-to-hide-tile-info
Add setting to hide tile info on the tilemap menu
2017-08-16 19:06:04 +02:00
Rémi Verschelde 479c5ba754 Some fixes to 2 to 3 exporter 2017-08-16 17:52:03 +02:00
Jakub Grzesik 295e0b6937 fix crash after click on MeshInstance with no owner
cherrypicked from #10258
2017-08-14 10:21:44 +02:00
Zher Huei Lee ed3cc7e5c9 Project manager UI displaced by long paths #10245
(cherry picked from commit 5c94eeeb79)
2017-08-13 20:29:47 +02:00
vipsbpig a04bb88e46 ability to click on spatial subscene to select it
(cherry-picked from d2d62122e2)
2017-08-13 20:29:46 +02:00
Juan Linietsky 0120f0473f Clean up canvas item when changing state, closes #5977
(cherry picked from commit 950b205609)
2017-08-13 20:29:46 +02:00
Juan Linietsky b94c5a31cd fix collada crash on invalid (blender internal expored...) file, fixes #6222
(cherry picked from commit de219e5cbe)
2017-08-13 20:29:46 +02:00
Juan Linietsky 670d07ca0d Attempt to resolve #4673
(cherry picked from commit 1939e83a65)
2017-08-13 20:29:46 +02:00
homer666 57084ada96 Adjust FileSystem split mode's height threshold
(cherry picked from commit e32abe8072)
2017-08-13 20:29:46 +02:00
Cradmon 2b2c0523b5 Fix resource docker thumbnail bug
(cherry picked from commit b8a31d6563)
2017-08-13 18:02:19 +02:00
Andreas Haas b694f58959 TileMap: Fix infinite loop when trying to bucket-delete empty tiles.
Right-clicking when the bucket tool is enabled means "erase all instances of this tile".
So it doesn't make sense to try doing this for empty tiles :P

Fixes #10065

(cherry picked from commit 95da12212b)
2017-08-13 18:00:25 +02:00
Rémi Verschelde ac79f831af Merge pull request #10192 from ISylvox/ChildProcessConnected-scary-to-friendly-2.1
[2.1] Editor Debugger: Changed the Color of Child Process Connected
2017-08-11 10:38:58 +02:00
Indah Sylvia 478531d5a8 Child Process Connected (in Editor Debugger) is now friendlier :-) 2017-08-09 12:56:27 +07:00
Indah Sylvia 5014b9dc40 core/[io;object]: fix typo 'resoucre' to 'resource' 2017-08-08 18:07:29 +07:00
geequlim 21f2fff82e Don't re-query remote object while debugging every frame 2017-08-02 22:31:43 +08:00
ISylvox de55a0076c Several enhancement for 'Godot 2 to 3' project exporter. 2017-08-01 08:10:21 +07:00
Rémi Verschelde c1f54e1a45 Style: Apply clang-format on all files
Thus fixing some invalid changes that had still made it to the 2.1 branch.
2017-07-30 23:00:25 +02:00