Commit Graph

3873 Commits

Author SHA1 Message Date
tznind
3bec36ac47 Change Action to EventHandler for more events 2023-03-12 02:10:22 +00:00
tznind
43f67a6387 Convert more Actions to EventHandlers in View 2023-03-11 19:55:08 +00:00
tznind
fcc75e7147 Update View Action events to EventHandler events 2023-03-11 19:46:46 +00:00
tznind
17a33f3b11 Refactor Action<bool?> Toggled to EventHandler<ToggleEventArgs> 2023-03-11 19:26:00 +00:00
tznind
02825d89ba Added SuperViewChangedEventArgs for Added/Removed to clarify situation 2023-03-11 12:01:04 +00:00
tznind
1491e01d6a Fix xmldoc 2023-03-11 11:11:41 +00:00
tznind
9c4f3eda16 Update Added/Removed and other events to use `EventHandler 2023-03-11 11:05:20 +00:00
tznind
7764006932 Add ViewEventArgs 2023-03-11 10:49:47 +00:00
tznind
17e2d1d341 Refactor Action<Size> events to EventHandler<SizeChangedEventArgs> 2023-03-11 10:43:10 +00:00
tznind
5187310b9a Refactor 'AlternateKey' events in Toplevel to use new signature 2023-03-11 10:35:03 +00:00
tznind
bdcbd55856 Switch to EventHandler<ToplevelEventArgs> for
- Activate
- Deactivate
- ChildClosed
- Closed
- ChildLoaded
- ChildUnloaded
2023-03-11 10:18:39 +00:00
tznind
58c267fd7c Switch to EventHandler for TopLevel methods
- Loaded,
- Ready
- Unloaded
- AllChildClosed
2023-03-11 10:08:36 +00:00
tznind
a949b790ec Refactor HotKeyChanged event 2023-03-11 09:57:54 +00:00
tznind
83ed8ec958 AddTimeout now uses sender/event args 2023-03-11 09:14:33 +00:00
tznind
e7950433d8 Standardize on EventHandler 2023-03-11 09:02:33 +00:00
Tig
b7d206bf56 Merge pull request #2385 from BDisp/v2_layout-improvements
Fixes #2358 - BREAKING CHANGE: Pos.Combine is incorrect for scenarios involving PosAbsolute.
2023-03-06 19:27:17 -07:00
BDisp
5ec653af2c Fix a dereference of a possibly null reference. 2023-03-05 19:29:05 +00:00
BDisp
2eb05113af Fix negative bounds on draw text and thus fixes scrolling. 2023-03-05 18:34:58 +00:00
BDisp
f1e4e21456 Removing and refactoring code. 2023-03-05 18:32:14 +00:00
BDisp
d59bc80ca4 Undoing the changes because is causing continuous run loop. 2023-03-05 18:30:56 +00:00
BDisp
ef9124c472 Merge pull request #134 from tig/BDisp-v2_layout-improvements
Fixes merge issues?
2023-03-05 16:31:44 +00:00
Tigger Kindel
4d7e23c77e Fixed merge conflicts - readded DimTests.cs 2023-03-05 07:53:49 -07:00
Tigger Kindel
112f04c871 Fixed merge conflicts 2023-03-05 07:45:57 -07:00
BDisp
e66c3a0352 Fixes configuration unit test fails. 2023-03-04 16:08:28 +00:00
BDisp
ffc06ea59f Remove duplicates packages and updating. 2023-03-04 02:19:40 +00:00
BDisp
c7b5417f79 Fixes unit tests. 2023-03-04 02:02:02 +00:00
BDisp
25e1b16c07 Removed Title from the Redraw and typo fices. 2023-03-04 01:59:39 +00:00
BDisp
6c44b0413d Removing GetMaxNeedDisplay that was causing false changed values. 2023-03-04 01:57:44 +00:00
BDisp
2880247cbc Fixes Toplevel which was broken with many unit tests fails. 2023-03-04 01:50:38 +00:00
BDisp
56ab04d5bd Fixes Autocomplete broken with null references. 2023-03-04 01:48:37 +00:00
BDisp
8ab01b0847 Renaming DimView to View. 2023-03-03 19:14:52 +00:00
Tigger Kindel
2f8db4c9a0 Added JsonIgnore to Border.Child; fixes unit test fail for config man 2023-03-03 12:05:47 -07:00
BDisp
e09ddf3a5a Revert "ToString must return the Pos/Dim class name. Also Target.ToString() is not needed because they already overridden the ToString method."
This reverts commit 47ca62d5f2.
2023-03-03 18:36:48 +00:00
BDisp
fac0d9a52e Revert "ToString() is to force throw if View is null. Good catch."
This reverts commit 19dbb41e71.
2023-03-03 18:36:02 +00:00
BDisp
c99b35578d Revert "Fixes unit tests to support Pos/Dim changes."
This reverts commit ad426ff261.
2023-03-03 18:35:10 +00:00
BDisp
53e3e703cf Revert "Removing ToString() because they aren't View class and did a reformat."
This reverts commit d15732e910.
2023-03-03 18:32:46 +00:00
BDisp
29af067e01 Fixes merge errors. 2023-03-03 18:28:38 +00:00
Tigger Kindel
2cf7757691 Trying to fix init issue in ConfigManager that was causing intermittent unit test fails 2023-03-03 11:09:50 -07:00
BDisp
de5b2f5594 Resolving merge conflicts. 2023-03-03 17:55:22 +00:00
Tigger Kindel
22c4fdad24 merged again - fixed unit tests - probably deleted some of your changes 2023-03-03 10:40:47 -07:00
Tigger Kindel
c07dfd17a1 merged again 2023-03-03 10:30:52 -07:00
Tigger Kindel
4424974185 merged 2023-03-03 10:22:50 -07:00
Tig
02791bce1b Merge pull request #2396 from gui-cs/develop
Bump SixLabors.ImageSharp from 2.1.3 to 3.0.0 (#2388)
2023-03-03 10:01:22 -07:00
Tig
15c5cfd6c9 Merge pull request #2395 from tig/v2_develop
Fixing #2391 - Updating CI/CD for v2_develop
2023-03-03 09:56:26 -07:00
Tigger Kindel
82cb23f49f Merge branch 'v2_develop' of tig:tig/Terminal.Gui into v2_develop 2023-03-03 09:52:20 -07:00
Tigger Kindel
d77025f6b5 Fixed api doc spew 2023-03-03 09:52:01 -07:00
Tigger Kindel
6f16af878b Fixed unit tests: DimFactor changes broke - DOUBLE CHECK 2023-03-03 09:48:31 -07:00
Tigger Kindel
1c0c84cc21 Fixed unit tests: Removed View2.cs; not sure how it got there 2023-03-03 09:25:02 -07:00
Tigger Kindel
3ed927f867 Fixed unit tests: Clipboard flakyness 2023-03-03 09:23:07 -07:00
Tigger Kindel
ec57f590b0 Fixed unit tests: Clipboard flakyness 2023-03-03 09:22:17 -07:00