Commit Graph

21553 Commits

Author SHA1 Message Date
Rémi Verschelde beb34a0458 SCons: Enable -Werror and -Wextra in 'dev' build option
We're close to being able to compile all platforms with -Werror -Wextra,
so it's best if developers use those options when compiling their code
as those checks are also done on CI.

Also enabled -Wduplicated-branches on GCC.
2019-06-15 19:06:15 +02:00
Rémi Verschelde 0a3c21d999
Merge pull request #29785 from eligt/fix-richtext-alignment
Fix RichTextLabel alignment tags not working properly
2019-06-15 10:34:22 +02:00
Rémi Verschelde 63b8c00d55
Merge pull request #29793 from Faless/enet/bind
Fix ENet incorrectly binding to wildcard.
2019-06-15 10:28:49 +02:00
Rémi Verschelde 1c1e75a4aa
Merge pull request #29795 from YeldhamDev/dependency_editor_changes
Minor enhancements to the dependency editor
2019-06-15 10:28:11 +02:00
Rémi Verschelde 880ab1b872
Merge pull request #29788 from Calinou/improve-default-project-naming
Improve the default project naming in the Project Manager
2019-06-15 10:26:54 +02:00
Michael Alexsander Silva Dias b3ae58d117 Minor enhancements to the dependency editor 2019-06-15 04:12:23 -03:00
Fabio Alessandrelli 7e108da078
Merge pull request #29783 from Faless/js/fix_build
Fix HTML5 build failed due to undefined symbol
2019-06-15 05:05:21 +01:00
Fabio Alessandrelli abe2c22966 Fix ENet incorrectly binding to wildcard.
Values were not properly initialized, and wildcard would evaluate to
true in most cases.
2019-06-15 05:59:50 +02:00
Rémi Verschelde e999929024
Merge pull request #29787 from Paulb23/fix_negative_cursor_column
Fix TextEdit cursor.column having a negative value
2019-06-15 00:29:07 +02:00
Rémi Verschelde 9a173e5814 doc: Fix formatting, typos and some descriptions in new docstrings 2019-06-15 00:11:41 +02:00
Hugo Locurcio bf97247cec
Improve the default project naming in the Project Manager
The Project Manager will now infer a project name from the
project path if the name is empty or equal to the default value.
The project name will also be capitalized automatically.
2019-06-15 00:01:44 +02:00
Fabio Alessandrelli 9773350537 Fix HTML5 build failed due to undefined symbol 2019-06-14 23:32:48 +02:00
Paulb23 1d55207fd2 Fix TextEdit cursor.column having a negative value 2019-06-14 21:48:16 +01:00
Elia Sarti c4e5ee1fd2 Fix RichTextLabel alignment tags not working properly
Also fixes #6982
Fix error and formatting
2019-06-14 21:38:33 +01:00
Rémi Verschelde 8e04aecb19
Merge pull request #29647 from YeldhamDev/file_dialog_hidden_toggle
Add toggle for hidden file visibility in FileDialog
2019-06-14 22:29:49 +02:00
Rémi Verschelde 1e5dc9115c
Merge pull request #29768 from cbscribe/kcc_particles_doc
[DOCS] Update CPUParticles[2D] classref
2019-06-14 22:28:46 +02:00
Chris Bradfield 9f7713d98b [DOCS] Update CPUParticles[2D] classref 2019-06-14 10:39:54 -07:00
Rémi Verschelde 0b555fc70a
Merge pull request #29782 from JFonS/expose_camera_clip_offset
Expose ClippedCamera clip_offset
2019-06-14 18:31:47 +02:00
jfons 30b3591152 Expose ClippedCamera clip_offset 2019-06-14 17:39:13 +02:00
Rémi Verschelde 0af387f040
Merge pull request #29514 from MuffinManKen/os-feature-tags-docs
Improvements to OS.has_feature() docs
2019-06-14 17:32:03 +02:00
Rémi Verschelde 40f2480d0e
Merge pull request #29621 from DevinPentecost/feature/0_duration_tween
Implementing 0-duration tweens
2019-06-14 16:57:09 +02:00
Ken Paulson 349e924cad Changes to OS.has_feature() docs:
- Added link to the Feature Tags documentation
 - Added note that tag names are case-sensitive
2019-06-14 16:35:54 +02:00
Devin Pentecost 265eaf1a2c Implementing 0-duration tweens
Some light refactor
Adding comments in functions
2019-06-14 07:20:13 -07:00
Rémi Verschelde dfbca13eec
Merge pull request #29712 from GDquest/doc-bone2d
Add documentation for Bone2D
2019-06-14 15:37:51 +02:00
Rémi Verschelde b412534e6f
Merge pull request #29779 from akien-mga/font-settings-cleanup
Fix help source font setting and related cleanup
2019-06-14 15:22:52 +02:00
Rémi Verschelde 578f8d7c43
Merge pull request #29757 from YeldhamDev/signal_detect_inherited_methods
Check for inherited methods before attempting to create one when connecting a signal
2019-06-14 15:18:54 +02:00
Rémi Verschelde 2f0f7db42b
Merge pull request #29735 from sparkart/master
Limit Physics Process FPS above 0
2019-06-14 15:16:53 +02:00
Rémi Verschelde 146c1612ed
Merge pull request #29755 from Faless/webrtc/multiplayer_server_pr
WebRTC Multiplayer peer, documentation
2019-06-14 15:01:51 +02:00
Rémi Verschelde c56ef88c5a Fix help source font setting and related cleanup
This was a regression from #28107 due to a typo in the `initial_set`
call.

I used the opportunity to harmonize the font settings by ensuring we
only get values in `editor_fonts.cpp` and set them all with proper and
consistent hint ranges in `editor_settings.cpp`.

Fixes #29774.
2019-06-14 14:25:20 +02:00
Fabio Alessandrelli c72b78a6eb Add documentation for WebRTC classes. 2019-06-14 10:35:00 +02:00
Rémi Verschelde bd937ea397
Merge pull request #29488 from Daw11/astar-remove-node
Fix the performance of remove_point of AStar
2019-06-13 20:36:25 +02:00
Michael Alexsander Silva Dias 28683237c5 Check for inherited methods before attempting to create one when connecting a signal 2019-06-13 15:15:17 -03:00
Emmanuel Barroga 2cce5699ea Limit Physics Process FPS above 0
Resolves: #19734
2019-06-13 08:53:48 -07:00
Rémi Verschelde b2b06dd4a8
Merge pull request #29749 from JFonS/add_csg_navmesh
Take CSG into account for nav-mesh generation
2019-06-13 17:45:34 +02:00
Rémi Verschelde 48fb3debf6
Merge pull request #29754 from BastiaanOlij/vr_button_mapping
Added constants for the main buttons and axis used in VR
2019-06-13 17:41:33 +02:00
Rémi Verschelde 933dd1cbe2
Merge pull request #29683 from akien-mga/cpuparticles-orbit-velocity
Implement missing orbit velocity for CPUParticles and CPUParticles2D
2019-06-13 15:30:54 +02:00
Bastiaan Olij a9581d2b3f Added constants for the main buttons and axis used in VR 2019-06-13 22:54:08 +10:00
jfons 051ef5ead2 Take CSG into account for nav-mesh generation 2019-06-13 13:44:41 +02:00
Rémi Verschelde 8c11f883d9
Merge pull request #29129 from kis3lori/remove-save-theme-for-default
Created a fallback from the "Save Theme" button to "Save Theme As" when a default theme is in use.
2019-06-13 12:10:05 +02:00
Rémi Verschelde 52dd0f8751 Implement missing orbit velocity for CPUParticles and CPUParticles2D
The relevant code was copied from (GPU) ParticlesMaterial but commented
out initially, and never ported.

Closes #29580.
2019-06-13 11:35:07 +02:00
Kis Levente Lorand 0823d78374 Created a fallback from the "Save Theme" button to "Save Theme As" when a default theme is in use. 2019-06-13 11:26:08 +03:00
Rémi Verschelde 41a62f3ac3
Merge pull request #29737 from YeldhamDev/connections_dialog_minor_cleanup
Minor cleanup in connections dialog file
2019-06-13 10:17:42 +02:00
Rémi Verschelde 5ec99dc62f
Merge pull request #29644 from YeldhamDev/editor_file_recent_reselect
Make possible to reselect an item in the "Recent" list in the EditorFileDialog
2019-06-13 10:11:16 +02:00
Rémi Verschelde d888c50fa3
Merge pull request #29638 from YeldhamDev/editor_file_hidden_toggle
Add button for toggling hidden files in EditorFileDialog
2019-06-13 10:09:19 +02:00
Rémi Verschelde 006df1f2bc
Merge pull request #29636 from Calinou/project-manager-dim-window-quitting
Dim the project manager window while it's quitting
2019-06-13 10:07:58 +02:00
Rémi Verschelde 6effe33bba
Merge pull request #29635 from YeldhamDev/editor_file_favorite_fix
Apply a better fix for the EditorFileDialog crash on favorite
2019-06-13 10:03:52 +02:00
Rémi Verschelde ae6e562bd8
Merge pull request #29628 from qarmin/fix_invalid_write_mesh
Fix write outside array in mesh_add_surface
2019-06-13 10:01:20 +02:00
Michael Alexsander Silva Dias fdd461ddd0 Minor cleanup in connections dialog file 2019-06-13 02:47:12 -03:00
Nathan Lovato c12fc1ade1 Add documentation for Bone2D 2019-06-13 08:47:46 +09:00
Rémi Verschelde a745934761
Merge pull request #29731 from akien-mga/scene-is-off-limits
Cleanup some unecessary editor/ includes in scene/
2019-06-12 23:44:24 +02:00