Commit Graph

1486 Commits

Author SHA1 Message Date
Charlie Kindel
a4805fd359 Merge pull request #906 from tig/pr891
Fixed version of PR 891
2020-09-26 17:58:13 -06:00
Charlie Kindel
aae9237fda fixed formatting and added tests in scenario 2020-09-26 16:48:55 -07:00
Charlie Kindel
e2e5cc200f Merge pull request #900 from am11/feature/interop/net5.0
Add custom resolver for libcoreclr.so
2020-09-25 11:22:33 -06:00
Charlie Kindel
b78d7d0066 Merge pull request #903 from worldbeater/master
[Breaking] Use C# Events Instead of Just Actions
2020-09-25 10:52:04 -06:00
Artyom
64fdcea6b5 Define View actions as events 2020-09-23 01:26:46 +03:00
Artyom
7da46a8f69 Convert TopLevel.Ready into event 2020-09-23 01:19:31 +03:00
Artyom
bd7610df74 Migrate all controls to C# events 2020-09-23 01:13:52 +03:00
Artyom
28805f3c5c Use C# events in more controls 2020-09-23 01:07:26 +03:00
Artyom
6aef632633 Button.Clicked as a C# event 2020-09-23 01:01:53 +03:00
Adeel
19955faa8b Add custom resolver for libcoreclr.so 2020-09-22 12:58:43 +03:00
Charlie Kindel
b4b58d7c64 Merge pull request #899 from am11/feature/build/net5.0
Delete using WindowsRuntime from unit test
2020-09-21 09:27:59 -06:00
Adeel Mujahid
06471d74f6 Delete using WindowsRuntime from unit test 2020-09-18 17:52:08 +03:00
Mgamerz
9c26ef22f9 ListView: Check if pressing enter, selected item is actually in data list
Returns false if selected index is not in range of the list (stale value or empty list)
2020-09-17 13:01:49 -06:00
Mgamerz
6a6b283a9e Fix formatting for ListView.cs changes 2020-09-09 23:00:06 -06:00
Charlie Kindel
0a38ade578 Merge pull request #888 from blakepell/master
TextView MoveHome and MoveEnd methods.  #886
2020-09-09 12:28:45 -07:00
Charlie Kindel
9954188bf3 Merge pull request #883 from mlaily/fix-nre
Fix  #882
2020-09-09 12:27:25 -07:00
Mgamerz
dcd7463e58 Fix MoveUp and MoveDown to prevent exception
When calling MoveUp and MoveDown, the 'selected' variable is not checked. If I am using a backing data source that can change, this selected value +/- 1 may still not lie in the valid range of values. This PR checks and changes the following:

1) If moving up, and the CURRENT selected value is >= backing data length, the last item is selected
2) If moving down, and the CURRENT selected value is >= backing data length, the last item is selected
3) If the items list has no items, the methods return false as there is nothing to move to. I'm not sure if we should set lastSelectedItem to -1 in this instance.
2020-09-06 12:09:30 -06:00
blakepell
6119547df3 TextView MoveHome and MoveEnd methods. 2020-09-03 10:10:10 -04:00
Melvyn Laïly
f4cd2ca1c3 Fix typos 2020-08-26 10:29:57 +02:00
Melvyn Laïly
49ae8f1b21 Fix #882
Fix NullReferenceException during keyboard navigation
when `Focused` is null.
2020-08-26 10:29:31 +02:00
Charlie Kindel
91a86c9460 Merge pull request #879 from tig/without_pdbs
trying without pdbs just to test
2020-08-24 10:56:50 -07:00
Charlie Kindel
06e35f1fb0 trying without pdbs just to test 2020-08-24 10:56:13 -07:00
Charlie Kindel
c7ad1a3506 Merge pull request #878 from tig/add_pdbs
Add pdbs
2020-08-24 10:47:18 -07:00
Charlie Kindel
798bae85a7 bump ver to 89.3 2020-08-24 10:45:57 -07:00
Charlie Kindel
75e2bf28c3 modify to include pdbs 2020-08-24 10:45:22 -07:00
Charlie Kindel
e67b70cc97 Merge pull request #877 from tig/0.89.2
0.89.2 test
2020-08-24 10:37:35 -07:00
Charlie Kindel
39516283e8 testing nuget push for 0.89.2 2020-08-24 10:33:11 -07:00
Charlie Kindel
86eb774b26 testing nuget push 2020-08-24 10:31:40 -07:00
Charlie Kindel
96208a1c49 Merge pull request #861 from BDisp/scrollview-keys-fix
Fixes #859. ScrollDown and ScrollRight navigates to beyond the ContentSize size.
2020-08-16 07:53:57 -07:00
BDisp
cb16ea8a3f If KeepContentAlwaysInViewport is true ensures that the scrollbars is at least a wide equal to one. 2020-08-15 21:19:16 +01:00
Charlie Kindel
edc4ab4e1f Merge pull request #870 from tig/test_deploy_89_1
another test
2020-08-15 10:22:40 -07:00
Charlie Kindel
ab0f644d25 another test 2020-08-15 10:01:28 -07:00
Charlie Kindel
4ae0949c8c Merge pull request #869 from tig/publish_action
Prep for dotnet publish.
2020-08-15 09:45:35 -07:00
Charlie Kindel
0a558d1d8c Merge pull request #868 from tig/refresh_api_docs
refreshed api docs
2020-08-15 09:38:25 -07:00
Charlie Kindel
a7a998c0ad Prep for dotnet publish. 2020-08-15 09:36:49 -07:00
Charlie Kindel
fc215f1a6d refreshed api docs 2020-08-15 09:12:25 -07:00
Charlie Kindel
0b58bf7f0c Merge pull request #865 from BDisp/frameview-tab-fix
Fixes #864. FrameView has only one contentView now.
2020-08-15 08:51:10 -07:00
Charlie Kindel
8600e43e40 Merge pull request #863 from BDisp/frameview-fix
Fixes #862. Issue was in the Text property of the View class.
2020-08-15 08:50:21 -07:00
Charlie Kindel
7a88a620b1 Merge pull request #858 from ttommyth/patch-1
Update ScrollView.cs
2020-08-15 08:49:43 -07:00
BDisp
5020e1f040 Added a KeepContentAlwaysInViewport property as suggested in https://github.com/migueldeicaza/gui.cs/issues/859#issuecomment-673064590 2020-08-13 23:27:11 +01:00
BDisp
0934cab654 Fixes #864. FrameView has only one contentView now. 2020-08-13 13:06:27 +01:00
BDisp
ef51a44fc2 Fixes #862. Issue was in the Text property of the View class. 2020-08-12 19:17:41 +01:00
BDisp
dba5c6b227 Fixes #859. ScrollDown and ScrollRight navigates to beyond the ContentSize size. 2020-08-12 16:41:02 +01:00
ttommyth
78cc4c2b91 Update ScrollView.cs
typo
2020-08-11 11:59:53 +08:00
Charlie Kindel
a1928e3668 Merge pull request #856 from BDisp/filedialog-fix
Fixes #844. The SelectionChanged action it's now working correctly.
2020-08-08 20:10:59 -07:00
Charlie Kindel
c524c101d2 Merge pull request #857 from kataras/master
Various misspell fixes
2020-08-08 20:10:30 -07:00
BDisp
484d4646c9 Cleaning nameEntry if dirEntry was changing. 2020-08-08 22:06:15 +01:00
Gerasimos (Makis) Maropoulos
83047b4232 various misspell fixes 2020-08-08 21:14:15 +03:00
BDisp
4f9943c7a1 Removed unnecessary parameter on ExecuteSelection and if AllowsMultipleSelection is true ensures that at least the valid current file path is returned if none is marked. 2020-08-08 17:27:54 +01:00
BDisp
972dde84f5 Fixes #844. The SelectionChanged action it's now working correctly. 2020-08-08 16:38:20 +01:00