Commit graph

21965 commits

Author SHA1 Message Date
Rémi Verschelde ff3a54398d
Merge pull request #29911 from zaksnet/document-popup
Document PopupMenu node.
2019-06-29 11:04:39 +02:00
Craigory V Coppola dc9659a9bf AStar get_closest_point/get_closest_position_in_segment enabled consideration 2019-06-29 02:04:13 -05:00
LikeLakers2 facafeb19a Fix an EditorPropertyResource bug where clicking on the flat buttons would not select the property in the inspector 2019-06-28 19:23:57 -04:00
Hugo Locurcio fa0e66a88f
Draw the outline as part of the Label font shadow
This closes #30165.
2019-06-28 23:21:55 +02:00
Andrii Doroshenko (Xrayez) 7c11a1b162 Add support for creating editor icons per module
The functionality is similar to how `doc_classes` are retrieved per module.
The build system will search for custom icons path defined per module via
`get_icons_path()` method in `config.py` or default icons path.
If such paths don't exist, only the editor's own icons will be built.

Most module icons were moved from editor/icons to respective modules.
2019-06-28 23:42:26 +03:00
Tomasz Chabora b71a339160 Clarify docs for _ready and request_ready 2019-06-28 19:18:43 +02:00
Chaosus da7cf8b49f Added convertor from VisualShader to Shader 2019-06-28 19:54:43 +03:00
Fabio Alessandrelli c540411a7f Fix ip_unix.cpp inclusion order for OpenBSD. 2019-06-28 18:42:21 +02:00
Fabio Alessandrelli 4517db75b5 Properly disable SIGPIPE on OSX network sockets.
Disable SO_NOSIGPIPE socket option when avaiable.
Use MSG_NOSIGNAL send flag on systems that support it.
2019-06-28 18:42:21 +02:00
Chaosus eeabb132ec Auto-change file extension in EditorFileDialog when filter changes 2019-06-28 18:35:24 +03:00
Chaosus eb6e260918 Fix some bugs inside ColorPicker 2019-06-28 17:25:00 +03:00
qarmin 67b58de0f8 Fix memory leak in Tilemaps 2019-06-28 15:37:09 +02:00
Bojidar Marinov 9ebc146383
Ensure --export implies --editor
Fixes #30149
2019-06-28 15:34:09 +03:00
Zak 316931998c Document PopupMenu node. 2019-06-28 12:57:52 +02:00
Rémi Verschelde 6e03236574
Merge pull request #30134 from Calinou/doc-proofread
Proofread and improve the whole class reference
2019-06-28 12:36:41 +02:00
AnaDenisa 13279a7da7 Add option to input value manually in EditorPropertyEasing
Double-clicking on the EditorPropertyEasing widget (e.g. for the Light
Attenuation parameter) shows an EditorSpinSlider to set the value manually.

Fixes #8449.

Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2019-06-28 12:25:19 +02:00
Rémi Verschelde 7b10bae916
Merge pull request #30131 from Anutrix/correct-arg-fix
Fixed regression bug caused in #30095 and actually fix the issue it was supposed to fix(#26850).
2019-06-28 12:10:29 +02:00
Rémi Verschelde f5c034a2d4
Merge pull request #30130 from Anutrix/search_highlight
Fixed search highlight when search text not found or empty
2019-06-28 12:09:49 +02:00
Rémi Verschelde a5bd40aa48
Merge pull request #30121 from DrMoriarty/encrypted_configfile
Add encrypted files support to ConfigFile
2019-06-28 12:06:44 +02:00
Zak d29b1b7917 Fix ReferenceRect node
ReferenceRect node by default was only displaying in the editor and not when the game is running.
2019-06-28 12:42:42 +03:00
unknown bd25e8d72a Fixed regression bug caused in #30095 and actually fix the issue it was supposed to fix(#26850) 2019-06-28 14:58:52 +05:30
Hugo Locurcio f7f6115f76
Proofread and improve the whole class reference
- Document a few more properties and methods
- Add more information to many classes
- Fix lots of typos and gramar mistakes
- Use [code] tags for parameters consistently
- Use [b] and [i] tags consistently
- Put "Warning:" and "Note:" on their own line to be more visible,
  and make them always bold
- Tweak formatting in code examples to be more readable
- Use double quotes consistently
- Add more links to third-party technologies
2019-06-27 22:30:19 +02:00
Rémi Verschelde 3942c939e3
Merge pull request #30135 from qarmin/fix_memory_leak_os
Fix small memory leak in OS.cpp
2019-06-27 22:06:52 +02:00
qarmin d408c254a2 Fix small memory leak in OS.cpp 2019-06-27 21:35:27 +02:00
Bojidar Marinov 583f7adb51
Allow ColisionObject2D to get shapes from tilemaps
Fixes #4454 and likely resolves #22285
2019-06-27 21:16:54 +03:00
unknown a86329c41e Fixed search highlight when search text not found or empty 2019-06-27 22:44:14 +05:30
Rémi Verschelde 0636f709af
Merge pull request #29937 from clayjohn/particles-one-shot-bug
Update emitting status on one-shot particles
2019-06-27 17:29:40 +02:00
Bojidar Marinov 0c4c36d823
Add default values to the editor help, docs, and generated RST
Also, make spacing of "=" in the editor help a bit more consistent.
Closes #16086
2019-06-27 18:29:35 +03:00
Rémi Verschelde fca9f0bb7f Move CODEOWNERS and ISSUE_TEMPLATE.md to .github folder
Keeping CONTRIBUTING.md at the root so that contributors actually find it.

Also changed the custom FUNDING.yml link to point to godotengine.org/donate,
which also links to PayPal and other options.
2019-06-27 17:22:48 +02:00
Rémi Verschelde 94bf728e53
Merge pull request #30124 from anissen/patch-2
Add a GitHub "❤️ Sponsor" button
2019-06-27 17:19:55 +02:00
tree786 2a63853720 doc: UPNP: Add example on how to open/close a port
I have added a small code sample to show how to automate the process of port forwarding (and closing after you are done).
Thanks to @mhilbrunner for explaining how to achieve t0his (see #18780)
2019-06-27 17:17:15 +02:00
Vasiliy Makarov fcd8faf2f4 Add encrypted files support to ConfigFile
Fix #26477
Add in ConfigFile this methods:
load_encrypted(path, key)
load_encrypted_pass(path, password)
save_encrypted(path, key)
save_encrypted_pass(path, password)
2019-06-27 16:43:44 +03:00
Anders Nissen fccc9f71b7
Setup GitHub "Sponsor" button 2019-06-27 15:27:50 +02:00
Rémi Verschelde 538c8eec15
Merge pull request #30117 from santouits/mt-pools
Free server id pools directly on closing
2019-06-27 15:15:15 +02:00
Rémi Verschelde f35fd681ac
Merge pull request #30114 from Chaosus/vs_context_menu
Shows menu when dragging connection on empty space in visual shader
2019-06-27 15:14:54 +02:00
Rémi Verschelde 11b8bf5572
Merge pull request #30103 from groud/center_2D_editor
Centers the 2D viewport in the editor
2019-06-27 15:14:23 +02:00
Rémi Verschelde 071c033355
Merge pull request #30123 from akien-mga/doc-misc-updates
doc: Replace all [code]CONSTANT[/code] by new [constant CONSTANT] hyperlinks, remove @GlobalScope scope when unnecessary
2019-06-27 15:05:18 +02:00
Rémi Verschelde 528c4722d6 doc: Don't use GlobalScope scope in hyperlinks, it's automatically inferred 2019-06-27 14:43:37 +02:00
Rémi Verschelde bc82781f7d doc: Replace all [code]CONSTANT[/code] by new [constant CONSTANT] hyperlinks 2019-06-27 13:49:36 +02:00
Rémi Verschelde 2df8b5606b
Merge pull request #30120 from akien-mga/error-expose-all-the-things
Properly expose all Error constants to scripting languages
2019-06-27 13:49:26 +02:00
Rémi Verschelde 1bf448dd87 Properly expose all Error constants to scripting languages 2019-06-27 12:48:26 +02:00
Rémi Verschelde 560f55da51
Merge pull request #30119 from akien-mga/doc-misc-updates
doc: Complete and harmonize all _MAX constant descriptions, fix scoped hyperlinks
2019-06-27 12:33:39 +02:00
Rémi Verschelde 71d53637b5 doc: Fix scoped hyperlinks to same-class enums/methods
The class name does not need to be specified when it is the current class.
2019-06-27 11:44:37 +02:00
Rémi Verschelde 86ed7a9884 doc: Complete and harmonize all _MAX constant descriptions 2019-06-27 11:10:53 +02:00
Chaosus 0aec3c3113 Shows menu when dragging connection on empty space in visual shader graph 2019-06-27 10:48:18 +03:00
Rémi Verschelde 755b589384
Merge pull request #30096 from akien-mga/doc-misc-updates
doc: Proofread and complete various nodes
2019-06-27 08:12:34 +02:00
santouits 7aa4622222 Free server id pools directly.
When closing the game, we flush the command queue but after we are pushing the freeing calls of the id pool to the
command queue and they are never being run. Now we free them directly.
2019-06-27 03:25:36 +03:00
Rémi Verschelde eaaff9da31
Merge pull request #29941 from qarmin/redundant_code_and_others
Remove redundant code, possible NULL pointers and others
2019-06-27 01:05:18 +02:00
Rémi Verschelde d8c9646118
Merge pull request #30105 from Xrayez/bind-pip-geometry
Bind is_point_in_polygon in Geometry singleton
2019-06-27 01:03:51 +02:00
Rémi Verschelde 65a7eba91c
Merge pull request #30095 from Anutrix/arg-fix
Fixed parser treating compound assignment the same as assignment whic…
2019-06-27 01:03:21 +02:00