Rémi Verschelde
5566c5eb8d
Merge pull request #37517 from nekomatata/slider-grab-area-highlight
...
Add style for highlighted Slider grab area
2020-04-10 12:08:02 +02:00
theludovyc
875c994109
Remove unused ofs variable
2020-04-08 20:00:43 +02:00
theludovyc
7e2de76236
erase : if ( i < offset ) { continue;} in for loops
2020-04-08 11:14:46 +02:00
janglee
9c2c2ab2b0
Fixed underlines and striketrough not respecting visible character
2020-04-07 19:04:13 +05:30
Rémi Verschelde
3586f21519
Merge pull request #37591 from Anutrix/remove_reduntant_class
...
Removed redundant class LineEditFileChooser from file_dialog
2020-04-07 09:14:53 +02:00
Rémi Verschelde
2c6affe084
Merge pull request #37642 from dreamsComeTrue/rich-text-strike-fix
...
Calculate strike-through y-position correctly (RichTexteLabel)
2020-04-07 09:14:29 +02:00
Rémi Verschelde
5d82fa74d9
Merge pull request #37615 from guilhermefelipecgs/fix_37526
...
Fix TextureRect::flip_* when used with atlas texture
2020-04-07 09:10:44 +02:00
Dominik 'dreamsComeTrue' Jasiński
06a79f260c
Calculate strike-through position correctly
...
Fixes : #37637
2020-04-06 22:26:58 +02:00
Rémi Verschelde
0d4d96d4b0
Merge pull request #37639 from qarmin/no_more_leaks
...
Fixes leaks when running editor
2020-04-06 21:25:36 +02:00
qarmin
5cbab81564
Fixes leaks when running editor
2020-04-06 20:07:08 +02:00
Guilherme Felipe
fb2d2dd5d0
Fix TextureRect::flip_* when used with atlas texture
...
Fix #37526
2020-04-06 08:36:36 -03:00
Rémi Verschelde
6b07c72d76
Merge pull request #37556 from KoBeWi/kill_get_index
...
Remove Node.get_position_in_parent()
2020-04-06 09:44:38 +02:00
Tomasz Chabora
c1023157eb
Remove Node.get_position_in_parent()
2020-04-06 01:19:20 +02:00
Rémi Verschelde
de1d021574
Merge pull request #37397 from Eoin-ONeill-Yokai/Bug37081
...
Correction to RichTextLabel Tabulation (Bug 37081)
2020-04-05 10:07:47 +02:00
unknown
0fa7703565
Removed reduntant class LineEditFileChooser.
2020-04-05 02:50:32 +05:30
unknown
4413c562d6
Fix file dialog not showing icons
2020-04-04 17:18:43 +05:30
unknown
7e4db6174d
Remove redundant vbx variable in FileDialog
2020-04-04 14:58:57 +05:30
Rémi Verschelde
59d44ee872
Merge pull request #37505 from YeldhamDev/viewcont_rename
...
Rename ViewportContainer to SubViewportContainer
2020-04-03 15:53:35 +02:00
PouleyKetchoupp
4c8173af0f
Add style for highlighted Slider grab area
2020-04-02 15:05:46 +02:00
Rémi Verschelde
ea7b497065
Replace more occurrences of NULL with nullptr
2020-04-02 14:56:01 +02:00
lupoDharkael
95a1400a2a
Replace NULL with nullptr
2020-04-02 13:38:00 +02:00
Rémi Verschelde
5f11e15571
Merge pull request #37504 from qarmin/out_of_bound_cursor
...
Fix array out of bounds access caused by uninitialised variables
2020-04-02 13:07:55 +02:00
Michael Alexsander
0c6851ae53
Rename ViewportContainer to SubViewportContainer
2020-04-01 16:11:44 -03:00
Rafał Mikrut
359bebd8c0
Fix out of bound array access caused by unassigned variable
2020-04-01 19:29:35 +02:00
Rémi Verschelde
2e84b7b916
Merge pull request #37443 from Leleat/master
...
Fix PopupMenu's letter jumping on any InputEventKey (instead of just a press)
2020-04-01 16:51:10 +02:00
Rémi Verschelde
e5033d3952
doc: Sync classref with DisplayServer/Window changes
2020-03-31 11:56:58 +02:00
Leleat
8a5660f3d1
fixed PopupMenus letterjumping on any InputEvent
2020-03-30 21:45:56 +02:00
Rémi Verschelde
cd4e46ee65
SCons: Format buildsystem files with psf/black
...
Configured for a max line length of 120 characters.
psf/black is very opinionated and purposely doesn't leave much room for
configuration. The output is mostly OK so that should be fine for us,
but some things worth noting:
- Manually wrapped strings will be reflowed, so by using a line length
of 120 for the sake of preserving readability for our long command
calls, it also means that some manually wrapped strings are back on
the same line and should be manually merged again.
- Code generators using string concatenation extensively look awful,
since black puts each operand on a single line. We need to refactor
these generators to use more pythonic string formatting, for which
many options are available (`%`, `format` or f-strings).
- CI checks and a pre-commit hook will be added to ensure that future
buildsystem changes are well-formatted.
2020-03-30 09:05:53 +02:00
Eoin O'Neill
2000e110a9
Correction to RichTextLabel Tabulation
...
Correct backtrack assignment to prevent excessive tabulation. Worth
noting that tabulation is treated differently in RichTextLabel because
of custom user-asignable tab variable which creates problems with
dynamic fonts specifically.
2020-03-29 14:33:17 -07:00
Juan Linietsky
a6f3bc7c69
Renaming of servers for coherency.
...
VisualServer -> RenderingServer
PhysicsServer -> PhysicsServer3D
Physics2DServer -> PhysicsServer2D
NavigationServer -> NavigationServer3D
Navigation2DServer -> NavigationServer2D
Also renamed corresponding files.
2020-03-27 15:21:27 -03:00
Rémi Verschelde
d1acbbce7f
Rename more 2D and 3D nodes to follow convention
...
Rename editor plugins to match the new node names.
2020-03-27 16:26:34 +01:00
bruvzg
15a9f94346
Add macOS DisplayServer implementation.
...
Change global menu to use Callable, add support for check items and submenus.
2020-03-26 16:24:05 +01:00
Juan Linietsky
197cb4e771
Fixes to X11, still pretty broken
2020-03-26 15:50:00 +01:00
Mateo Kuruk Miccino
f387b9b4f4
Multiple changes to DisplayServerX11
...
- Travis: Change x11 to linuxbsd
- SCons: Change x11 plataform to linuxbsd
- Plugins: Remove ; to avoid fallthrough warning
- DisplayServerX11: Implement set_icon
- DisplayServerX11: Fix X11 bug when a window was erased from windows
map, all the changes from that erased windows are sending to the main
window
- DisplayServerX11: Reorder create_window commands
- DisplayServerX11: Change every Size2 to Size2i and Rect2 to Rect2i
where it belongs
+ More X11 fixes which have been integrated directly back into reduz's
original commits while rebasing the branch.
2020-03-26 15:49:54 +01:00
Juan Linietsky
047e0b7de5
Reworked tooltips to use the popup system.
2020-03-26 15:49:45 +01:00
Juan Linietsky
b3080bc2f4
Popups have also been converted to windows
...
Controls using the old modal API have been replaced to use popups.
2020-03-26 15:49:44 +01:00
Juan Linietsky
c7b4dcae2f
Open sub-windows as embedded if the OS does not support them
2020-03-26 15:49:43 +01:00
Juan Linietsky
441f1a5fe9
Popups are now windows also (broken!)
2020-03-26 15:49:42 +01:00
Juan Linietsky
4758057f20
Working multiple window support, including editor
2020-03-26 15:49:40 +01:00
Juan Linietsky
8e6960a69e
Refactored input, goes all via windows now.
...
Also renamed Input to InputFilter because all it does is filter events.
2020-03-26 15:49:39 +01:00
Juan Linietsky
9e08742de8
Added a Window node, and made it the scene root.
...
Still a lot of work to do.
2020-03-26 15:49:38 +01:00
Juan Linietsky
f8a79a97c7
Effective DisplayServer separation, rename X11 -> LinuxBSD
2020-03-26 15:49:34 +01:00
Juan Linietsky
4396e98834
Refactored Input, create DisplayServer and DisplayServerX11
2020-03-26 15:49:32 +01:00
Rémi Verschelde
4d5705eefa
Merge pull request #37274 from Janglee123/corrected-text-selection-in-color-picker
...
Corrected text selection in color picker
2020-03-26 09:29:18 +01:00
janglee
77b70aa79d
Corrected text selection in color picker
...
Fixes #35603
2020-03-25 08:13:31 +00:00
Rémi Verschelde
4d7ab010db
Merge pull request #37281 from ThakeeNathees/fix-project-manager-don't-consume-Enter
...
Fix: project manager don't consume Enter key #17620
2020-03-25 08:13:04 +01:00
Thakee Nathees
b98153886f
fix project manager don't consume Enter key #17620
2020-03-25 07:09:36 +05:30
Rémi Verschelde
e9ecb06cf3
Merge pull request #37280 from KoBeWi/n
...
Make search in RichTextLabel case-insensitive
2020-03-24 21:31:57 +01:00
Rémi Verschelde
b587f98fcc
Merge pull request #37176 from dkaste/line-edit-secret-fix-2
...
Use LineEdit secret character width everywhere
2020-03-24 21:27:44 +01:00
Tomasz Chabora
b3f83ac115
Make search in RichTextLabel case-insensitive
2020-03-24 20:03:09 +01:00