Commit Graph

5047 Commits

Author SHA1 Message Date
BDisp
bf166a73b8 Revert changes. 2024-04-14 23:42:36 +01:00
BDisp
92a5fe98c5 Merge branch 'v2_develop' into v2_view-dispose-mousegrabview-fix_3394 2024-04-14 23:42:28 +01:00
Tig
ffaf756898 Merge pull request #3405 from tznind/fix-tab-remove-null-ref
Fixes #3365 - Fix null reference removing tab
2024-04-14 14:59:20 -06:00
tznind
caddcdb846 Fix null reference removing tab 2024-04-14 21:46:50 +01:00
Tig
0a73396375 Merge pull request #3399 from BDisp/v2_listview-scrolling-fix_3396
V2 Fixes #3396. ListViewWIthSelection scenario does not show all rows and other issues
2024-04-14 14:24:18 -06:00
Tig
78bde18d4f Merge pull request #3402 from tznind/disable-autosize
Fixes #3366 - Add ability to disable AutoSize
2024-04-14 14:08:47 -06:00
tznind
fadecc150a Revert "Add ability to disable AutoSize"
This reverts commit aa72a97cd6.
2024-04-14 09:41:05 +01:00
tznind
7d4d77ca64 Force AutoSize false instead of throw Exception when setting Width/Height 2024-04-14 09:40:31 +01:00
tznind
aa72a97cd6 Add ability to disable AutoSize 2024-04-13 15:04:30 +01:00
BDisp
24aef987be Restoring unit test from v1. 2024-04-11 18:00:12 +01:00
BDisp
a121b62c77 Fix size in the scenario. 2024-04-11 17:44:59 +01:00
BDisp
36469b7298 Fix horizontal scrolling in the ListView. 2024-04-11 17:44:16 +01:00
BDisp
c42c88ccbc Ensures the menu bar grabs the mouse when removing a menu. 2024-04-10 18:16:51 +01:00
BDisp
d5800743ea Fixes #3394. View.Dispose doen't call UngrabMouse if MouseGrabView is the view itself. 2024-04-10 17:33:47 +01:00
Tig
f1bc42aaa5 Merge pull request #3372 from tig/v2_3370_continuous_button
Fixes #3370. Adds visual highlight for press and hold (for `Button`, `Checkbox`, `RadioGroup`, and `Border`)
2024-04-08 12:43:17 -04:00
Tig
d71554d1ef Merge branch 'v2_develop' into v2_3370_continuous_button 2024-04-08 12:19:27 -04:00
Tig
102269ec2a Temp fix for ProgressStyles scenario 2024-04-08 12:17:37 -04:00
Tig
bd0f89f8b1 Border changes color, not line style on drag 2024-04-08 11:59:53 -04:00
Tig
ef6e22c7a2 Merge pull request #3386 from BDisp/v2_WindowsDriver-input-fix_3380
Fixes #3380. WindowsDriver is sending mouse button pressed only on moving.
2024-04-08 11:39:38 -04:00
Tig
6c296bb299 Disabled Hover (#define HOVER).
Added Color.GetHighlightColor. Simple implementation for now. Needs to be more robust.
2024-04-08 10:16:30 -04:00
Tig
ac667dae2c Got Hover working for all Views (Button) and Border. Still a bit of a prototype. 2024-04-06 09:09:42 -04:00
Tig
40ae272944 Refactored MouseEnter/Leave APIs to match design guidelines 2024-04-06 08:15:57 -04:00
Tig
cca32726fc Refactored API to support extensibilty... eg Hover (not implemented yet). 2024-04-05 17:25:23 -04:00
Tig
dceed59a5f Fixed more unit tests 2024-04-05 12:27:04 -04:00
BDisp
b59c5ea9e6 Using GetNumberOfConsoleInputEvents and FlushConsoleInputBuffer to clear input events. 2024-04-05 14:42:19 +01:00
Tig
e1a2793c5c Fixed fragile toplevel drag unit tests 2024-04-04 19:34:39 -04:00
Tig
c5b7b084a9 Way too big a committ.... but I got carried away.
- Started MouseEventEventArgs -> MouseEvent transition - for OnMouseEvent. Partially fixes #3029.
- Refactored Appliation.OnMouseEvent and View.OnMouseEvent to match design guidelines.
- Re-impleented highlight, enabling extensibility (see Border).
- Beefed up unit tests
2024-04-04 18:50:13 -04:00
BDisp
4af0fd1c7e Remove bad code that hangs unit tests on Windows. 2024-04-04 21:43:12 +01:00
BDisp
e7c1183562 Fixes #3380. WindowsDriver is sending mouse button pressed only on moving. 2024-04-04 14:32:00 +01:00
Tig
dd8fe76cab Rebased with v2_develop - broke stuff. 2024-04-03 21:27:10 -04:00
Tig
875282818a Merge pull request #3378 from tig/v2_3377-ASCIICustomButtonTest-NetDriver
Fixes #3377. `NetDriver` not rendering menu correctly
2024-04-03 20:12:17 -05:00
Tig
dec65ff86f Merge pull request #3382 from tig/v2_3381-WindowsDriver-Spurious-MouseEvents
Fixes #3381. `WindowsDriver` spurious ButtonPressed mouse events
2024-04-03 20:11:07 -05:00
Tig
fd7e273f85 Updated Mouse scenario with filter 2024-04-03 21:10:14 -04:00
Tig
9937771dee Merge pull request #3383 from tig/v2_3344-Fullscreen-Moveable 2024-04-03 16:53:43 -06:00
Tig
f68adf77ae Fixed core bug. Wasn't what we thought it was. 2024-04-03 15:04:35 -05:00
Tig
99c7579c84 Now only Border supports movable 2024-04-03 14:11:11 -05:00
Tig
f793eb4bb6 Cherry picked #3382 fix 2024-04-03 13:59:53 -05:00
Tig
36401a6c42 Disabled debug spew 2024-04-03 13:39:02 -05:00
Tig
72992bd8c7 WindowsDriver - added diagnostics. Found issue. Implemented workaround 2024-04-03 13:21:36 -05:00
Tig
d9658efc65 Cherry picked new Mouse Scenario 2024-04-03 11:13:23 -06:00
Tig
76095f7dbc Revamped Mouse scenario 2024-04-03 10:48:57 -06:00
Tig
a8d6f846d7 Fixed MessagBox paint issue 2024-04-03 09:41:59 -06:00
Tig
94749e428e Fixed crash moving mouuse in All Views Tester 2024-04-03 09:17:14 -06:00
Tig
06f7a74aa0 Fixed more netdriver key issues (tab) 2024-04-03 10:27:02 -04:00
Tig
26ab04ef24 Fixed netdriver incorrect performance optimization 2024-04-03 10:01:18 -04:00
Tig
0307af112b Fixed static issue 2024-04-03 07:39:49 -06:00
Tig
58899f6078 Fixed netdriver keyboard handling 2024-04-03 07:24:05 -06:00
Tig
6b35abc790 Cleand up warnings 2024-04-03 06:38:17 -06:00
Tig
edfd240310 Refactgored scenario to use Main 2024-04-03 06:25:41 -06:00
Tig
3bd69c24f3 Set args.Handled where needed 2024-04-03 06:19:00 -06:00