Commit Graph

90 Commits

Author SHA1 Message Date
tznind
edf46b6f6d Merge branch 'master' into tree-view 2020-12-16 14:24:55 +00:00
tznind
dc184ba469 Changed from object to generic <T> for TreeView 2020-12-16 12:04:46 +00:00
tznind
8fe8128b0b Replaced delegates with new interface ITreeBuilder 2020-12-15 09:37:59 +00:00
tznind
5dad1d2221 Added test for TreeNode usage 2020-12-14 07:30:13 +00:00
tznind
7af2763f43 Added method RebuildTree
Similar to RefreshObject but for all visible branches.  Call this method when making large scale changes behind the scenes to objects including hierarchy changes.
2020-12-09 13:24:30 +00:00
BDisp
b7f91af247 Fixes #1034. The NuGet packages need to be updated. 2020-12-09 11:43:41 +00:00
tznind
8ce042eb52 Fixed RefreshObject when Equality method is overridden in model objects
Now when you call RefreshObject the Branch.Model is always updated to the latest reference even when Equals indicates we already have it in children
2020-12-08 14:13:27 +00:00
tznind
2bd3f76553 Added GetChildren and GetParent 2020-12-08 14:11:55 +00:00
tznind
b75b79b068 Added RefreshObject and IsExpanded
RefreshObject notifies tree of changes to a model (e.g. it's children) and clears cached knowledge but persists the branch expansion state
2020-12-02 15:10:54 +00:00
tznind
148b4d2784 Made ScrollOffset setter public and added helper method and tests 2020-12-02 13:28:46 +00:00
BDisp
bcc31e0da0 Trying fixing #518. Almost functions work on both Windows and Unix with the NetDriver. 2020-11-17 21:57:45 +00:00
BDisp
19c684a3e1 Added a Unloaded event to the Toplevel class. 2020-11-15 22:38:01 +00:00
Charlie Kindel
150914597a Merge pull request #984 from BDisp/ui-message-boxes
Fixes #979. Force call LayoutSubviews to perform layout.
2020-11-02 13:51:25 -07:00
BDisp
0fb29368cd Non printable character now returns -1 on Rune.ColumnWidth and ConsoleWidth. 2020-10-31 00:09:02 +00:00
BDisp
550392cab6 Fixes #979. Force call LayoutSubviews to perform layout. 2020-10-28 21:52:05 +00:00
Charlie Kindel
c1d3fcfb0c Merge pull request #946 from BDisp/lazy-shortcut-menu
Fixes #881, #928. Allowing more key combinations.
2020-10-28 11:31:03 -06:00
BDisp
9615769e63 Changed to \u notation. 2020-10-27 17:26:24 +00:00
BDisp
b1d0de9571 #41 and #949. Unit test to compare the difference between System.Rune and System.Text.Rune. 2020-10-27 17:26:12 +00:00
BDisp
01d4b4f55f Added wide improvements on keys managements. 2020-10-26 00:46:51 +00:00
BDisp
aa1e20b8fb Added "en-US" culture info for unit test purpose. 2020-10-22 15:28:52 +01:00
BDisp
4fb0c93861 Fixes #968. Button Dim handler and a Dim unit test. Added a ToString to DimCombine. 2020-10-22 01:20:50 +01:00
Charlie Kindel
295b2ac779 Merge pull request #950 from tig/remove_ienumerable
POC to remove IEnumerable from View & Window
2020-10-21 16:18:09 -06:00
Charlie Kindel
9c0a8529a6 Fixed build warnings and ensured tests run 2020-10-21 08:49:34 -06:00
Charlie Kindel
473afe0732 poc 2020-10-08 13:47:47 -06:00
BDisp
f2953b5a00 Fixes #919 Initialized and CanFocus. 2020-09-29 14:54:58 +01:00
Adeel
d900721519 Add custom resolver for libcoreclr.so 2020-09-27 03:04:24 +01:00
Artyom
47a2020bf4 Convert TopLevel.Ready into event 2020-09-27 03:02:21 +01:00
Adeel Mujahid
80591f3ce2 Delete using WindowsRuntime from unit test 2020-09-27 03:02:20 +01:00
Melvyn Laïly
3529a947bc Fix typos 2020-09-10 20:06:02 +01:00
Melvyn Laïly
077a356944 Fix #882
Fix NullReferenceException during keyboard navigation
when `Focused` is null.
2020-09-10 20:05:49 +01:00
BDisp
9b66ad5cfd Added more unit tests to Pos and Dim. 2020-08-07 16:17:20 +01:00
BDisp
c597d601a3 Added more conditions to sure it act as expected. 2020-08-07 16:17:18 +01:00
BDisp
ae598843b4 Providing a simple test for Fixes #740. Multi thread toplevels. 2020-08-07 16:17:17 +01:00
BDisp
746cdc262d Fixing TextFormatter unit test. 2020-08-07 16:17:13 +01:00
BDisp
f01ddbe9e0 Fixes #808. Added an automated CanFocus. 2020-08-07 16:16:54 +01:00
BDisp
8c5822f9e2 Also testing with a Pos and Dim null values. 2020-08-04 17:50:23 +01:00
BDisp
5efa8d5388 Fixes #731. Pos and Dim validation. 2020-07-19 01:07:26 +01:00
Charlie Kindel
609a2514ea Merge pull request #799 from BDisp/canfocus-test
Just a little Unit Test for Focus #798
2020-07-17 09:27:16 -06:00
BDisp
d6f9e0a832 Fixed more unit tests. 2020-07-17 03:53:22 +01:00
BDisp
dce2a0304e Fixed Unit Test based on the changes. 2020-07-17 02:35:02 +01:00
BDisp
03862d1380 Just a little Unit Test for Focus #798 2020-07-15 23:02:35 +01:00
Charlie Kindel
9d088f87ec fixed a wide-unicode bug 2020-07-13 22:03:17 -07:00
Charlie Kindel
c3395f41ab fixed word wrapping to not strip spaces; ended up fixing other ww bugs too! 2020-07-13 17:48:41 -07:00
BDisp
315b93726c Revert "Fixed for dynamically added view."
This reverts commit adae58bbf7.
2020-07-10 19:20:05 +01:00
BDisp
adae58bbf7 Fixed for dynamically added view. 2020-07-10 19:05:58 +01:00
BDisp
45550c9cf0 Added support for ISupportInitializeNotification interface. 2020-07-10 15:15:28 +01:00
Charlie Kindel
fc00bc223f changed timout tolerance to 100ms - tests failed in CI/CD 2020-07-07 15:25:57 -07:00
BDisp
cc7aca4e50 Setting CanFocus also sets TabIndex and TabStop accordingly. 2020-07-07 15:00:36 +01:00
Charlie Kindel
f54b0c4849 Merge pull request #745 from BDisp/view-tab-index-feature
Fixes #742. Added a TabIndex to the View.
2020-07-06 15:51:44 -07:00
Charlie Kindel
da54dece1f dealt with Removed 2020-07-06 15:42:02 -07:00