Commit Graph

3965 Commits

Author SHA1 Message Date
BDisp
ab0ad0adc6 Added some more PosCenter unit tests. 2023-02-27 19:14:40 +00:00
BDisp
20649472c1 GetContainerBounds already has called ViewToScreen, so do the same to GetNeedDisplay and fixing some typo. 2023-02-27 19:11:47 +00:00
BDisp
d15732e910 Removing ToString() because they aren't View class and did a reformat. 2023-02-27 15:22:19 +00:00
BDisp
ad426ff261 Fixes unit tests to support Pos/Dim changes. 2023-02-27 15:12:00 +00:00
BDisp
19dbb41e71 ToString() is to force throw if View is null. Good catch. 2023-02-27 15:06:57 +00:00
BDisp
47ca62d5f2 ToString must return the Pos/Dim class name. Also Target.ToString() is not needed because they already overridden the ToString method. 2023-02-27 14:07:29 +00:00
BDisp
534d4ea390 Fixes Revert "Illustrates #2331 (Scrollview not respecting clip) does not reproduce (#2332)" committed twice on 6bb90edcbf and 28d7be721c 2023-02-27 13:37:01 +00:00
BDisp
17d1235d62 Merged v1_setrelativelayout_improvement into v1_setrelativelayout_improvement-fix. 2023-02-27 12:42:50 +00:00
BDisp
006f57b0eb Fixes the Clear method. 2023-02-27 12:09:11 +00:00
BDisp
932aca89eb Merge #2382 into #2379. 2023-02-27 12:09:10 +00:00
BDisp
c6183c7658 Added one more condition to be consistent with others. 2023-02-27 12:09:10 +00:00
BDisp
288d81b781 Allows a subview reference the superview of the subview superview. 2023-02-27 12:09:09 +00:00
Tigger Kindel
c9cbacb0d8 Fixed Borders on XXX Pos.Center bugs 2023-02-27 12:09:09 +00:00
Tigger Kindel
fdd5c6b2a2 Fixed Border Comparsion Pos.Center bugs 2023-02-27 12:09:08 +00:00
Tigger Kindel
c192f8d4c4 re-merged changes lost from #2345 2023-02-27 12:09:08 +00:00
Tig Kindel
012100680e Pos.Combine unit tests 2023-02-27 12:09:07 +00:00
Tig Kindel
7fc6a8536a restored Generic.cs 2023-02-27 12:09:06 +00:00
Tig Kindel
7bee36ebd1 fixed more bugs exposed by Pos.Combine bugfix 2023-02-27 12:09:06 +00:00
Tig Kindel
93b8dfdad1 fixing bugs caused by Pos.Combine bugfix 2023-02-27 12:09:05 +00:00
Tig Kindel
6ba49314c8 merged from develop after accident 2023-02-27 12:09:04 +00:00
Tig Kindel
feae3b675d merged from develop after accident 2023-02-27 12:09:04 +00:00
Tig Kindel
43221327ee fixed da bug; also fixed pwsh clipboard tests 2023-02-27 12:09:03 +00:00
Tig Kindel
abf07fbbf9 Refactored SetRelativeLayout etc; looks good but tests fail 2023-02-27 12:09:03 +00:00
Tig Kindel
28d7be721c Revert "Illustrates #2331 (Scrollview not respecting clip) does not reproduce (#2332)"
This reverts commit c85ff954aa.
2023-02-27 12:08:49 +00:00
Tigger Kindel
8c319ee189 merged develop - mostly 2023-02-26 16:15:39 -07:00
tznind
e9a100cf28 Trim default Titles to be more compact and readable 2023-02-26 18:16:58 +00:00
Tigger Kindel
a9cd9ba2e7 Fixed Borders on XXX Pos.Center bugs 2023-02-25 17:37:57 -07:00
Tigger Kindel
0e8cd6332a Fixed Border Comparsion Pos.Center bugs 2023-02-25 17:32:38 -07:00
Tigger Kindel
5bb350b7f1 re-merged changes lost from #2345 2023-02-25 17:22:45 -07:00
Tig
eaede47190 Merge branch 'develop' into v1_setrelativelayout_improvement 2023-02-25 17:05:32 -07:00
Thomas Nind
7e446ff0d3 Merge branch 'develop' into fs 2023-02-25 22:50:35 +00:00
tznind
8d255ffe37 Fix test 2023-02-25 22:48:13 +00:00
BDisp
1d2dc40c8a Fixes #2305. Improves the handling of escape sequence. (#2375)
* Changed ansi esc sequence used on exit.

* Changed ansi esc sequence used on exit.

* Improves HeightAsBuffer although currently only works on Windows.

* Fixes #2267. Toplevel.EnsureVisibleBounds throws an exception if border is null.

* Changing comment as requested.

* Fixes indentation.

* Seems not needed for now, maybe some update, comment for now.

* Renamed HeightAsBuffer to EnableConsoleScrolling and made it obsolete.

* Add comment on remarks for EnableConsoleScrolling.

* merged @bdisp's EnableConsoleScrolling PR

* Fixes buffer for Windows Terminal.

* Fixes issue in Windows Terminal on resizing causing some lines not be drawing after exceptions.

* merge #9

* merged #9

* use ESC [ ? 1047

* Tweaks with new esc codes

* Fixed curses driver to not nuke scroll buffer and to resize properly

* merge

* Cleand up netdriver escape codes

* fixed spaces->tabs

* fixed spaces->tabs

* fixed spaces->tabs

* fixed spaces->tabs

* fixed merge issue and  spaces->tabs

* fixed spaces->tabs

* fixed spaces->tabs

* fixed spaces->tabs

* fixed  build error

* removed old comments

* Resolving merge conflicts.

* Ensuring reset the EnableConsoleScrolling.

* Changing from HeightAsBuffer to EnableConsoleScrolling.

* Done requested changes.

* Reformatting.

* Rename to EscSeqReqStatus.

* Removing Console.Out.Flush ();

---------

Co-authored-by: Charlie Kindel <tig@users.noreply.github.com>
Co-authored-by: Tig Kindel <tig@kindel.com>
2023-02-25 15:30:44 -07:00
BDisp
ed27696b9e Fixes 2342. Border: can't change border color in window by Border.BorderBrush. (#2345)
* Fixes 2342. Border: can't change border color in window by Border.BorderBrush.

* Fixes border initialization.

---------

Co-authored-by: Tig <tig@users.noreply.github.com>
2023-02-25 15:26:04 -07:00
tznind
9dcb34eae0 Fix test 2023-02-25 22:22:13 +00:00
tznind
c35f956eda Make title pretty and informative 2023-02-25 22:13:06 +00:00
tznind
d21b23ea34 Better arrow key navigation 2023-02-25 21:58:55 +00:00
tznind
270d8794cc Navigating to .. clears path up to current dir 2023-02-25 21:42:34 +00:00
tznind
f828ea303d bugfixes and quality of life 2023-02-25 21:31:48 +00:00
tznind
2bf44637b6 Add MustExist and fix multi selection of 1 result 2023-02-25 21:22:03 +00:00
tznind
33f9137f93 Move ok and cancel to bottom 2023-02-25 21:00:45 +00:00
tznind
016e377e8f Adjust suggestions to be gray and properly update on keystrokes 2023-02-25 20:44:16 +00:00
tznind
f87076483c Update to latest splitcontainer API 2023-02-25 20:35:44 +00:00
tznind
fb4e2fc985 Merge branch 'splitcontainer' into fs 2023-02-25 20:27:00 +00:00
Thomas Nind
bd066c0bbe Merge branch 'gui-cs:develop' into fs 2023-02-25 20:20:20 +00:00
tznind
7929084591 Workaround for changing CanFocus throwing Exceptions sometimes 2023-02-25 16:36:32 +00:00
tznind
ed17727eb1 Fix keyboard tab navigation problems 2023-02-25 16:09:00 +00:00
Tig Kindel
517ec9e988 fixed merge issues 2023-02-24 17:16:08 -07:00
Tig Kindel
5c659110bf Merge branch 'v1_setrelativelayout_improvement' into v2 2023-02-24 17:11:54 -07:00
Tig Kindel
ed177303c7 View spec update 2023-02-24 17:05:12 -07:00