Commit Graph

795 Commits

Author SHA1 Message Date
Tig Kindel
7f1471283f mergeed 2023-03-18 16:09:08 -07:00
Tig Kindel
27ca37eed0 merged v2_develop 2023-03-17 13:14:50 -06:00
BDisp
efae9abc41 Doing the fix in the MessageBox instead on the scenario. 2023-03-17 13:13:22 -06:00
BDisp
e486664ccc Fix the border not respecting the user settings. 2023-03-17 13:13:22 -06:00
BDisp
e69aa25ddd Fixes #2403. Dialog not draw text well if is opened on a smaller width. 2023-03-17 13:13:22 -06:00
Tig
c94f9165f4 Makes UI Catalog Scenarios use Theme and top-level color scheme (#2401)
* lots of clean up

* scenarios now get themes from uicatalog
2023-03-16 07:50:09 -06:00
Tigger Kindel
f4aa58ea0a Got visuals working again 2023-03-16 04:04:18 -06:00
Tigger Kindel
1de683c13a still broken - documenting weird behavior 2023-03-11 09:40:48 -07:00
Tigger Kindel
d62bcb4b90 still broken 2023-03-10 06:47:17 -07:00
Tigger Kindel
9a18e30c1a merged ; pretty broken 2023-03-07 09:33:02 -07:00
BDisp
29af067e01 Fixes merge errors. 2023-03-03 18:28:38 +00:00
BDisp
de5b2f5594 Resolving merge conflicts. 2023-03-03 17:55:22 +00: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
Tigger Kindel
de7d58217c changed version info to 2.0 2023-03-03 08:18:45 -07:00
Tigger Kindel
35fc1411e7 Merge branch 'v2' of tig:gui-cs/Terminal.Gui into v2 2023-03-03 08:03:40 -07:00
dependabot[bot]
dae1c26cb7 Bump SixLabors.ImageSharp from 2.1.3 to 3.0.0 (#2388)
Bumps [SixLabors.ImageSharp](https://github.com/SixLabors/ImageSharp) from 2.1.3 to 3.0.0.
- [Release notes](https://github.com/SixLabors/ImageSharp/releases)
- [Commits](https://github.com/SixLabors/ImageSharp/compare/v2.1.3...v3.0.0)

---
updated-dependencies:
- dependency-name: SixLabors.ImageSharp
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-02 15:35:06 -07:00
BDisp
487e03a0a1 Resolving merge conflicts. 2023-03-02 18:11:58 +00:00
Thomas Nind
0bd32c282e Fixes #505. Finishes merge of TileView (previously SplitContainer) (#2258)
* Add tests for proper disposing

* Make Ctrl+F10 toggle split line focusability

* Fix layout bug in first tile when orientation is horizontal

* Switch to GenerateImage

* Fix not calling base constructor

* Revert "Merges latest LineCanvas into TileView"

* Fix keyboard tab navigation problems

* Workaround for changing CanFocus throwing Exceptions sometimes

* Fix bad merges

* Fix bad merging

* Fix disposing in TileViewNesting scenario

---------

Co-authored-by: Tig <tig@users.noreply.github.com>
2023-03-02 09:39:00 -07:00
Thomas Nind
705d4307e3 Fixes #1842 - Add support for toggling selected cells e.g. with space (#2386)
* Add support for toggling selected cells e.g. with space

* Make toggle cell selection work better with FullRowSelect

* Test for toggle cell selection

* Test and fix for full row select toggling

* Make toggle work with shift selected blocks

* Make extend selection ignore toggled regions when considering pushing a new head to selection stack
2023-03-02 09:35:54 -07:00
BDisp
9360e86961 Fixes #2389. Running UICatalog with a scenario argument throw ArgumentNullException. (#2390) 2023-03-02 09:16:51 -07:00
BDisp
a7c13b5d48 Fixes merge conflicts errors. 2023-03-01 23:10:05 +00:00
BDisp
eac93a7973 Resolving merge conflicts. 2023-03-01 22:31:51 +00:00
BDisp
ff1773dab3 Sets borders position later. 2023-03-01 01:05:01 +00:00
BDisp
379d7a8492 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-28 22:41:09 +00:00
BDisp
f294adf4cc Sets the Pos.Y later. 2023-02-28 22:27:40 +00:00
BDisp
4dfe16cd9a Moves the labels up to above the button. 2023-02-28 22:18:54 +00:00
BDisp
924a42c719 Fixes border scenarios types exchanged. 2023-02-28 22:07:04 +00:00
BDisp
d16682611a Fixes nullable bool error with cast. 2023-02-28 21:36:14 +00:00
BDisp
b78f2d8c35 Reducing enormously the code of the borders on containers scenarios by reusing common code. 2023-02-28 21:31:01 +00:00
BDisp
e2f6041e4d Fixes BordersComparisons scenario. 2023-02-28 21:29:16 +00:00
BDisp
5ab177ec90 Fixes Borders scenario. 2023-02-28 21:26:42 +00:00
BDisp
ebae3a8560 Fixes Revert "Illustrates #2331 (Scrollview not respecting clip) does not reproduce (#2332)" committed twice on 6bb90edcbf and 28d7be721c 2023-02-28 21:18:09 +00:00
BDisp
04d70559ec Reducing enormously the code of the borders on containers scenarios by reusing common code. 2023-02-27 19:27:10 +00:00
BDisp
0892fed669 Fixes BordersComparisons scenario. 2023-02-27 19:24:15 +00:00
BDisp
bea9dcf286 Fixes Borders scenario. 2023-02-27 19:23:25 +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
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
Tig Kindel
7fc6a8536a restored Generic.cs 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
feae3b675d merged from develop after accident 2023-02-27 12:09:04 +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
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
Tig Kindel
5826321b89 WIP - currently broken after merge 2023-02-25 11:41:28 -07:00
Tig Kindel
d7b1192ca5 Merge branch 'v2' into v2_view2_experiment 2023-02-24 17:32:06 -07: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