Commit Graph

1851 Commits

Author SHA1 Message Date
Charlie Kindel
fd663b6ddc Merge pull request #1090 from pcgeek86/patch-1
Add copyable instructions for .NET Core users
2021-01-22 09:20:50 -08:00
Charlie Kindel
285cc82b9f Merge pull request #1085 from angelobreuer/master
Application.Shutdown() does not reset SynchronizationContext
2021-01-22 09:19:44 -08:00
Charlie Kindel
d321fa0dc5 Merge pull request #1075 from BDisp/get-toplevel-subviews
Fixes #1071. Toplevel.GetTopLevelSubviews (). Changed from HashSet<View> to IList<View>.
2021-01-22 09:04:49 -08:00
Charlie Kindel
0cfd2c5a32 Merge pull request #1089 from BDisp/button-clicked-fix
Fixes #1088. On WindowsDriver moving the mouse with a button pressed, when it is released, the button clicked event is fired, causing an unintentional event.
2021-01-22 08:55:31 -08:00
BDisp
1c7e32e961 Removing private keyword. 2021-01-20 14:59:45 +00:00
BDisp
1bf4db0bd0 Reducing the ProcessContinuousButtonPressedAsync Task.Delay. 2021-01-20 14:57:44 +00:00
Trevor Sullivan
ea834b8e0e Add copyable instructions for .NET Core users
Adding a simple copy/paste command to install Terminal.Gui into .NET Core projects
2021-01-18 13:19:08 -07:00
BDisp
7d71525a4a Fixes #1088. On WindowsDriver moving the mouse with a button pressed, when it is released, the button clicked event is fired, causing an unintentional event. 2021-01-14 22:59:45 +00:00
Angelo Breuer
3ca84f8381 Add tests for #1084 2021-01-13 16:25:34 +01:00
Angelo Breuer
4bbc2fc22d Reset synchronization context on Application.Shutdown()
- Fixes https://github.com/migueldeicaza/gui.cs/issues/1084

Reset synchronization context to allow the user to run async/await, as the main loop has been ended, the synchronization context from gui.cs does no longer process any callbacks.
2021-01-13 16:24:12 +01:00
BDisp
f7a8cf63d7 Since FocusNearestView method deals with navigation and focus is better use TabIndexes instead. 2021-01-12 00:18:16 +00:00
BDisp
845b940078 Fixes shift on Unix. 2021-01-08 22:44:03 +00:00
BDisp
b3850f7f61 Fixing FakeDriver and unit test. 2021-01-08 21:33:07 +00:00
BDisp
3dd17bd82c Added feature to navigate through all Application.Top's subviews. 2021-01-08 20:35:47 +00:00
BDisp
ea8d84f185 Fixing the FocusNearestView method. 2021-01-08 19:53:04 +00:00
BDisp
950c7dd19a Adding unit test. 2021-01-07 17:37:54 +00:00
Charlie Kindel
cbbce244dc Merge pull request #1072 from mrboring-forks/spelling-error
Fixed misspelling of scrollview
2021-01-06 20:02:35 -07:00
BDisp
6d86e7f294 Fixes #1071. Toplevel.GetTopLevelSubviews (). Changed from HashSet<View> to IList<View>. 2021-01-06 11:27:05 +00:00
mrboring
8bc5a3f5f3 Removed files from pull request 2021-01-05 09:56:41 +00:00
Charlie Kindel
c00637fb1e Merge pull request #1063 from HermanSchoenfeld/master
Added unhandled exception handling in Application.Run
2021-01-04 14:22:21 -07:00
Charlie Kindel
321513f19d Merge pull request #1069 from BDisp/auto-size-fix
Fixes #1068. The ResizeView doesn't handle the AutoSize properly.
2021-01-04 14:21:02 -07:00
mrboring
2674a3b21a Fixed misspelling of scrollview 2021-01-02 13:29:02 +00:00
BDisp
7febb7ac5c Fixes #1068. The ResizeView doesn't handle the AutoSize properly. 2020-12-29 15:21:25 +00:00
Herman Schoenfeld
183be6c31f Refactor unhandled exception handling loop as per review 2020-12-29 16:23:23 +10:00
Charlie Kindel
74608fec0d Merge pull request #1062 from BDisp/computer-layout-fix
Fixes #1061. ComputerLayout scenario does not drawn correctly.
2020-12-28 09:35:20 -07:00
Herman Schoenfeld
5e1e7c0ee4 XMLDOC fixes for prior commit 2020-12-28 21:56:08 +10:00
Herman Schoenfeld
721c796c7f Added unhandled exception handling in Application.Run 2020-12-28 14:09:17 +10:00
BDisp
ee0fc06b9a Fixes #1061. ComputerLayout scenario does not drawn correctly. 2020-12-28 00:29:33 +00:00
Charlie Kindel
287d2c1b05 Merge pull request #1047 from BDisp/textview-unicode-support
Fixes #93. Audit TextView just like we did TextField to ensure proper treatment of Unicode
2020-12-27 14:01:17 -07:00
BDisp
fa57c20a48 Allowing ScrollTo method to deal with rows and columns without breaking anything. 2020-12-27 19:03:49 +00:00
Charlie Kindel
2e566c613e Merge pull request #1054 from BDisp/removing-application-currentView
Fixes #1052. Application.CurrentView looks unused.
2020-12-27 11:36:57 -07:00
Charlie Kindel
47966e3e00 Merge pull request #1051 from BDisp/scrollview-faster-fix
Fixes #1050. ScrollView takes too long to scroll enormous content size.
2020-12-27 11:32:57 -07:00
Charlie Kindel
00fdc92899 Merge pull request #1057 from BDisp/window-superview-redraw-fix
Fixes #1056. Window doesn't redraw his SuperView properly.
2020-12-27 11:31:30 -07:00
Charlie Kindel
7a98f0e829 Merge pull request #1055 from BDisp/mouse-event-ofx-ofy-fix
Fixes #1053. ProcessMouseEvent seems to initialize MouseEvent incorrectly.
2020-12-27 11:30:05 -07:00
BDisp
30e4439e7b Reverting the CanBeVisible method. 2020-12-27 18:16:44 +00:00
BDisp
43ea03bc29 In addition to the view visibility having to be true to be redrawn, it is also necessary that the width and height are greater than zero. 2020-12-27 17:12:25 +00:00
BDisp
abab3f8c25 Typo fix. 2020-12-27 11:14:36 +00:00
BDisp
9d721e94f6 Ensures clipping always respecting the anchoring if it's the case. Adding SetWidth and SetHeight methods to the View class. 2020-12-26 23:57:13 +00:00
BDisp
01c07ddc9e Fixes #1056. Window doesn't redraw his SuperView properly. 2020-12-26 13:56:30 +00:00
BDisp
708fd8a876 Fixes #1053. ProcessMouseEvent seems to initialize MouseEvent incorrectly. 2020-12-26 12:03:06 +00:00
BDisp
7583128cad Removed from the unit test too. 2020-12-26 11:50:25 +00:00
BDisp
2d6e7cda99 Fixes #1052. Application.CurrentView looks unused. 2020-12-26 11:45:56 +00:00
BDisp
56f2319227 Added column scrolling feature and some more other improvements. 2020-12-25 22:24:01 +00:00
BDisp
9c4b3e0c6b Fixing some keys and mouse navigation. Moving a few more methods from the TextField to the TextModel class. 2020-12-24 22:21:47 +00:00
BDisp
e102a34897 Fixes #1050. ScrollView take to long to scroll enormous content size. 2020-12-24 01:19:34 +00:00
BDisp
fe311ea54b Moving common methods to the TextModel class. 2020-12-22 12:02:07 +00:00
BDisp
0450909991 Fixes #93. Audit TextView just like we did TextField to ensure proper treatment of Unicode 2020-12-22 00:32:54 +00:00
Charlie Kindel
b4cf7ff506 Merge pull request #1044 from BDisp/menu-separator
Fixes #1043. The menu separator is being printed in the wrong place.
2020-12-21 11:47:44 -07:00
Charlie Kindel
b93bdd92d2 Merge pull request #1042 from BDisp/netdriver-all-events
Fixes #1041. NetDriver events should stay all together.
2020-12-21 11:47:22 -07:00
BDisp
8725c3f461 Fixes #1043. The menu separator is being printed in the wrong place. 2020-12-17 20:09:53 +00:00