Commit Graph

1867 Commits

Author SHA1 Message Date
Tig
ce7fc04100 Fixes #3984 - Margin w/out shadow should not force draw (#3985)
* shortcut tests

* Generic demos

* Optimize Margin to not defer draw if there's no shadow
2025-03-13 18:16:53 +01:00
BDisp
7aae0c2ad5 Fixes #3968. Menu appears in wrong place when opened in a subview (#3979)
* Fixes #3968. Menu appears in wrong place when opened in a subview

* Fixes #3965. Cannot exit a Window with a CanFocus true MenuBar

* Fixes #3981. Drivers crash when middle or right click on a ContextMenu item

---------

Co-authored-by: Tig <tig@users.noreply.github.com>
2025-03-13 18:15:14 +01:00
BDisp
f26fd285ce Fixes #3941. v2win/v2net: UICatalog full benchmark suite crashes in Dialogs scenario (#3963)
Co-authored-by: Tig <tig@users.noreply.github.com>
2025-03-08 15:49:54 -07:00
Tig
acb5979e6c Cleans up/Refactors View.Subviews (#3962)
* Subview clean up

* New Add/Remove event pattern

* Using Logging

* cleanup

* Subview -> SubView

* Test code cleanup. Killed many warnings.

* Fix tznind feedback

* Refactored AllViewTest helpers

* Moved keyboard tests to parallel

* Moved mouse tests to parallel

* Moved view tests to parallel

* Test code cleanup. Killed many warnings.

* dupe test

* Some mouse tests can't run in parallel because MouseGrabView

* Made SpinnerView more testable

* Moved more tests

* SubViews to IReadOnlyCollection<View>

* SubViews to IReadOnlyCollection<View> 2

* scrollbar tests

* shortcut tests

* Use InternalSubViews vs. _subviews

* Nuked View.IsAdded.
Added View.SuperViewChanged.

* API doc updats

* Unit Test tweak

* Unit Test tweak
2025-03-08 15:42:17 -07:00
Tig
5984a3c564 Fixes #3941 - v2win/v2net: UICatalog crash - Fixes warnings (#3946)
* Tons of API doc updates

* Adjust timeout

* Code cleanuyp

* Disabled All_Scenarios_Benchmark

* Removed logs

* Fixed a bunch of warnings

* Fixed a bunch of warnings2

* Disabled All_Scenarios_Benchmark again...just to make sure

* Enabled All_Scenarios_Benchmark again...It is not the culprit
2025-03-05 23:57:15 -07:00
Tig
b0f32811eb Fixes #3930 - Splits tests to Tests/UnitTests, Tests/IntegrationTests, Tests/StressTests (#3954)
* Tons of API doc updates

* Removed stale test

* Removed stale tests

* Fixed Skipped Shadow test 1

* Fixed Skipped Shadow test 2

* Fixed Skipped Shadow test 3

* Removed stale test

* Removed stale test2

* Explicit unregister of event handler on Application.Driver!.ClearedContents

* Added Toplevels to dict

* code cleanup

* spelling error

* Removed stale test3

* Removed stale test4

* Removed stale test5

* added script

* tweaked script

* tweaked script

* Created StressTests project; moved some tests

* Created IntegrationTests project; moved some tests

* New yml

* made old yml just unit tests

* Tweaked Button_IsDefault_Raises_Accepted_Correctly

* tweaked script

* cleaned up ymls

* tweakled up ymls

* stress tests...

* stress tests on ubuntu only

* Fixed WindowsDriver in InvokeLeakTest

* Fixed WindowsDriver in InvokeLeakTest2

* Added Directory.Packages.props.
Added Directory.Build.props

* Shortened StressTest time

* Removed dupe file.

* DemoFiles

* Moved all tests to ./Tests dir.

* Fixed release build issue

* Fixed .sln file

* Fixed .sl* files

* Fixing ymls

* Fixing interation tests

* Create link to the file TestHelpers.

* Created Tests/UnitTestsParallelizable.
Moved all obviously parallelizable tests.
Updated yml.

* fixing logs

* fixing logs2

* fixing logs3

* don't require stress to pass for PRs

* Fix a failure?

* tweaked script

* Coudl this be it?

* Moved tons of tests to parallelizable

* Fixed some stuff

* Script to find duplicate tests

* Testing workflows

* Updated to v4

* Fix RelativeBasePath issue

* Replace powershell to pwsh

* Add ignore projects.

* Removed dupe unit tests

* Code cleanup of tests

* Cleaned up test warnings

* yml tweak

* Moved setter

* tweak ymls

* just randomly throwing spaghetti at a wall

* Enable runing 5 test runners in par

* Turned off DEBUG_DISPOSABLE for par tests

* RunningUnitTests=true

* code cleanup (forcing more Action runs)

* DISABLE_DEBUG_IDISPOSABLE

* Added View.DebugIDisposable. False by default.

* Remobed bogus tareet

* Remobed bogus tareet2

* fixed warning

* added api doc

* fixed warning

* fixed warning

* fixed warning2

* fixed warning3

* fixed warning4

---------

Co-authored-by: BDisp <bd.bdisp@gmail.com>
2025-03-05 23:44:27 -07:00
Thomas Nind
255e5d6643 Fix driver name options shown in UICatalog for v2 (#3940)
- v2 auto picks based on OS
- v2win is the new windows interop driver
- v2net is the new dotnet core cross platform driver

Co-authored-by: Tig <tig@users.noreply.github.com>
2025-03-01 17:22:55 -07:00
Tig
98f70b2632 Adds ViewportSettings.Transparent (#3886) 2025-03-01 15:22:23 -07:00
Tig
cae1d6c47e Fixes `Logging' init in UI Catalog and naming consistency (#3944) 2025-03-01 15:13:43 -07:00
Tonttu
a8d3d26528 Add UICatalog benchmark launch profiles for v2 drivers (#3942) 2025-03-01 09:36:50 -07:00
Tig
79cd4e92b7 Adds Logging level control to UICatalog (#3938)
* Tons of API doc updates

* Added logging control to UICatalog

* Added logging control to UICatalog - more

* fixed minor issues

* removed logs from .gitignore

* Fixed log file path

* Fixed app desc
2025-02-28 15:06:01 -07:00
Thomas Nind
c88c772462 Fixes #3692++ - Rearchitects drivers (#3837) 2025-02-28 12:09:29 -07:00
Tig
df9549e0a2 Tons of V2 API doc fixes (#3932)
* Tons of API doc updates

* tweaked scenario

* try to fix unit test crash in ubuntu action

* try to fix unit test crash in ubuntu action2
2025-02-27 17:00:47 -07:00
Tig
c00de4a092 Makes Window default Arrangement not be movable/resizable (#3931)
* Window -> not sizeable/movable by default.
Window: Code cleanup.
Frameview: Code cleanup.

* View API docs updates

* View API docs updates
2025-02-27 12:24:31 -07:00
Tig
aff7e2c6d5 Fixed nav (#3926) 2025-02-27 08:09:36 -07:00
Tig
f3697a99f4 Fixes #3839, #3922 - CM Glyphs not working (#3923)
* fixed

* Moved Glyphs to ThemeScope

* Removed test code
2025-02-26 15:24:58 -07:00
Tig
7ba6d638bc Fixes #3918 and #3913 - Accepting behavior (#3921)
* Fixed #3905, #3918

* Tweaked Generic

* Label code cleanup

* Clean up.

* Clean up.

* Clean up2.
2025-02-26 12:40:45 -07:00
Tig
97d4c0a0d8 Refactored RadioGroup to just use Commands 2024-12-09 22:52:45 -08:00
Tig
2b8884a881 Finished integrated tznind's work. 2024-12-09 22:03:40 -08:00
Tig
7e289f02e9 KeyBindings cleanup 2024-12-08 07:19:48 -08:00
Tig
3e6e758302 Merge branch 'v2_develop' into v2_3778-Command-Decoupling 2024-12-07 15:21:44 -07:00
Thomas Nind
903a886c38 Merge branch 'v2_develop' into ansi-parser 2024-12-07 10:06:29 +00:00
Tig
725df05f7b Prepping to combine keybinding classes 2 2024-12-06 16:14:51 -07:00
Tig
b443d52917 More refactoring. Application scope is gone. 2024-12-06 12:22:29 -07:00
Tig
f6b65c6f08 Added mouse support. update charmap 2024-12-06 09:35:59 -07:00
Tig
334cb6839d Merge branch 'v2_develop' into v2_3778-Command-Decoupling 2024-12-05 15:39:28 -07:00
Tig
617f1fddb8 Fixed issue with statusbar not show/hiding 2024-12-05 15:36:59 -07:00
Tig
53d7449c85 Unit tests pass. Most things actually work, but not all 2024-12-05 13:15:41 -07:00
Tig
e6054f7275 WIP: Builds. No worky. 2024-12-05 11:40:33 -07:00
Tig
287e0503db Adds another Benchmark switch - Help diagnose #3865 (#3870)
* Initial commit

* Expanded benchmark with timeout command line
2024-12-05 09:04:16 -07:00
tznind
994bf556a7 Start fixing null-ability 2024-11-27 19:42:50 +00:00
Tig
97558c2dbf Code review comments and cleanup 2024-11-27 08:58:16 -07:00
tznind
27b15ec8ee WIP Building after merge conflict resolved - but does it work? 2024-11-27 12:59:05 +00:00
tznind
49f45bb7a4 WIP merge v2_develop 2024-11-27 09:35:09 +00:00
BDisp
d471061670 Merge branch 'v2_develop' into v2_3767_restoring-drivers-and-fixes 2024-11-26 11:43:33 +00:00
Tig
e5c5f61c95 Fixed Bars 2024-11-25 10:23:04 -07:00
Tig
7a15f7b39b Backported a bunch of fixes from #3691 2024-11-25 10:12:01 -07:00
BDisp
e829154745 Merge branch 'v2_develop' into v2_3767_restoring-drivers-and-fixes 2024-11-24 18:49:59 +00:00
Tig
b4a0167d80 Merge branch 'v2_develop' into ansi-parser 2024-11-24 11:35:39 -07:00
tznind
90d492716a Adds IConsoleDriver 2024-11-24 11:01:51 +00:00
Tig
d4d8af17d3 Upgrade CM Editor 2024-11-23 15:30:25 -07:00
Tig
b6bc860509 WIP: Redoing CM editor 2024-11-23 10:17:53 -07:00
BDisp
bea966978a Restoring drivers with the sctructural changes. 2024-11-23 00:27:13 +00:00
BDisp
7ce20f2677 Resolving merge conflicts. 2024-11-22 12:24:53 +00:00
Thomas Nind
ad89c09504 Merge branch 'v2_develop' into ansi-parser 2024-11-22 08:21:37 +00:00
Tig
bae10e59ae New sample.gif 2024-11-20 10:16:12 -07:00
Tig
30adbd67de ListView cleanup 2024-11-18 15:07:08 -07:00
Tig
5c2035d894 fixed ListView test wrt AllowNegativeXWhenWidthGreaterThanContentWidth 2024-11-18 14:43:47 -07:00
Tig
7777668d11 Added AllowNegativeXWhenWidthGreaterThanContentWidth 2024-11-18 14:20:19 -07:00
Tig
2f2076ddb7 removed Showpercent 2024-11-18 13:33:27 -07:00