Commit Graph

2153 Commits

Author SHA1 Message Date
Charlie Kindel
6330d1e7bd adjusting publish workflow 5 v1.0.0-rc.7 2021-04-26 12:02:22 -07:00
Charlie Kindel
a0f9569387 adjusting publish workflow 4 2021-04-26 11:48:42 -07:00
Charlie Kindel
cd31402cd0 adjusting publish workflow 3 v1.0.0-rc.6 2021-04-26 11:46:21 -07:00
Charlie Kindel
889bfcf90c adjusting publish workflow2 v1.0.0-rc.4 v1.0.0-rc.5 2021-04-26 11:42:04 -07:00
Charlie Kindel
4ee44c1695 adjusting publish workflow 2021-04-26 11:29:40 -07:00
Charlie Kindel
4c08fbefa5 Merge branch 'main' of tig:migueldeicaza/gui.cs v1.0.0-rc.2 v1.0.0-rc.3 2021-04-26 09:31:57 -07:00
Charlie Kindel
7f27d78cc7 Release Candiate 2 (#1248)
* tweaked version # for v1.0.0-beta.10

* tweaked version # for v1.0.0-beta.11

* Updated readme and revision history for 1.0

* tweaked rel notes

* Regenerated docs for v1.0.0.0

* updating build docs

* updating docs

* updated readme

* updated readme

* more docs

* more docs

* Refactored for clarity

* tweaks

* updated info on versioning

* merged with main. updated relnotes

* updated api docs

* updated README to point to new docs

* merged from future v1.0.0 branch

* regen apidocs

* add code coverage badge generation to publish

* add code coverage badge generation to publish

* tweaked badge
2021-04-26 09:31:37 -07:00
Charlie Kindel
8ac53bd3aa Merge branch 'main' of tig:migueldeicaza/gui.cs 2021-04-26 08:59:46 -07:00
Thomas Nind
444a01ae46 Extracted TreeView classes (builders, delegates, event args etc) into seperate files in namespace Terminal.Gui.Trees (#1246) 2021-04-26 08:59:35 -07:00
Charlie Kindel
e763aada74 Merge branch 'main' of tig:migueldeicaza/gui.cs 2021-04-26 08:58:48 -07:00
Thomas Nind
6a9e27761f Nested types for TabView and TableView (#1243)
* Made TabView classes nested

* Moved TableView classes to nested
2021-04-26 08:58:40 -07:00
Charlie Kindel
14eb37f95b Merge branch 'main' of tig:migueldeicaza/gui.cs 2021-04-26 08:58:08 -07:00
dependabot[bot]
8d164cd02f Bump ReportGenerator from 4.8.7 to 4.8.8 (#1247)
Bumps [ReportGenerator](https://github.com/danielpalme/ReportGenerator) from 4.8.7 to 4.8.8.
- [Release notes](https://github.com/danielpalme/ReportGenerator/releases)
- [Commits](https://github.com/danielpalme/ReportGenerator/compare/v4.8.7...v4.8.8)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-26 08:54:12 -07:00
Charlie Kindel
5d25d60759 Merge branch 'main' of tig:migueldeicaza/gui.cs 2021-04-25 12:14:20 -07:00
José Miguel Perricone
819dc291bc Feature TextValidateField (#1230)
* Feature TextValidateField

* Fix Mouse Click

* Fix Mouse click on TextRegexProvider

* UiCatalog fields with text alginment centered

* Fix Mouse click on TextRegexProvider when right aligned

* added newline to text.cs catalog

* NetMaskedTextProvider - changing the mask, try to use current input.
NetMaskedTextProvider - Left and Right Cursor dosen't wrap around.

* Add Some TextValidateField Tests.

* Add TextRegexProvider Tests

* Remove unnecessary using

* Tests namespace to Terminal.Gui.Views

* Regex Parse exception handling

* remove textmaskprovider in favor of .net maskedtextprovider

* refactoring and cleaning
2021-04-25 12:13:55 -07:00
Charlie Kindel
21485b5a24 Merge branch 'main' of tig:migueldeicaza/gui.cs 2021-04-25 10:23:05 -07:00
Charlie Kindel
b29240f362 Code coverage (#1235)
* tweaked version # for v1.0.0-beta.10

* tweaked version # for v1.0.0-beta.11

* Updated readme and revision history for 1.0

* excluding test results

* Added support for viewing code coverage results with Fine Code Coverage

* add generating CC to CI/CD

* refactored unit test namespaces

* more refactoring. commented out failing test.

* Removed UnitTests and UICatalog from code coverage reporting

* made Application and test more deterministic

* disabled Multi_Thread_Toplevels because it is currently broken and don't understand why

* updated threading test per @bdisp

* testing cc badge stuff

* another test

* using coverlet.settings

* trying copy

* trying cp. duh.

* trying mv.

* wrong path

* print

* chaging badge output for testing

* yaml error

* fixed code coverage

* moved dimtests to core
2021-04-25 10:18:31 -07:00
Charlie Kindel
ecc35163ea Merge branch 'main' of tig:migueldeicaza/gui.cs 2021-04-22 11:36:54 -07:00
BDisp
3418f2882a Fixes #1234. Setting Handled to true in the KeyPress event avoids ProcessKey from running. (#1237)
* Fixes #1234. Setting Handled to true in the KeyPress event avoids ProcessKey from running.

* Using literals values in Assert.Equal.

* Can't use numbers variables on the left side of an Assert.Equal/NotEqual, it must be literal (Linux only).
2021-04-22 10:04:33 -07:00
BDisp
4948d072b0 Fixes #1231. Ignoring negative bounds. (#1232)
* Fixes #1231. Ignoring negative bounds.

* Added vertical width instead VerticalTextAlignment.

* Removing width.
2021-04-20 14:17:53 -07:00
Seth Peasley
db3ddab2b8 Update overview.md (#1233)
Fixed typo in last sentence, "mainlop" to "mainloop".
2021-04-20 14:17:32 -07:00
Charlie Kindel
cbc5f9cc72 Merge branch 'main' of tig:migueldeicaza/gui.cs v1.0.0-rc.1 2021-04-18 18:39:24 -07:00
Charlie Kindel
6e1424709a Prep for Release Candidate (#1226)
* tweaked version # for v1.0.0-beta.10

* tweaked version # for v1.0.0-beta.11

* RC 1?
2021-04-18 18:38:16 -07:00
Charlie Kindel
c65610b8a7 Updated readme and revision history for 1.0 2021-04-18 18:35:02 -07:00
Charlie Kindel
b5fc6a4b07 Merge branch 'main' of tig:migueldeicaza/gui.cs 1.0.0-RC.1 2021-04-18 18:03:13 -07:00
dependabot[bot]
dcd12c3616 Bump ReactiveUI.Fody from 13.0.1 to 13.2.18 (#1225)
Bumps [ReactiveUI.Fody](https://github.com/reactiveui/reactiveui) from 13.0.1 to 13.2.18.
- [Release notes](https://github.com/reactiveui/reactiveui/releases)
- [Commits](https://github.com/reactiveui/reactiveui/compare/13.0.1...13.2.18)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-18 18:03:08 -07:00
dependabot[bot]
58e8de50b0 Bump Pharmacist.MsBuild from 2.0.6 to 2.0.8 (#1224)
Bumps [Pharmacist.MsBuild](https://github.com/reactiveui/Pharmacist) from 2.0.6 to 2.0.8.
- [Release notes](https://github.com/reactiveui/Pharmacist/releases)
- [Commits](https://github.com/reactiveui/Pharmacist/compare/2.0.6...2.0.8)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-18 18:02:59 -07:00
dependabot[bot]
412a3ce17d Bump Microsoft.NET.Test.Sdk from 16.8.3 to 16.9.4 (#1223)
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 16.8.3 to 16.9.4.
- [Release notes](https://github.com/microsoft/vstest/releases)
- [Commits](https://github.com/microsoft/vstest/compare/v16.8.3...v16.9.4)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-18 18:02:46 -07:00
Charlie Kindel
1735517af4 Merge branch 'main' of tig:migueldeicaza/gui.cs 2021-04-18 18:02:15 -07:00
dependabot[bot]
20f21b3a25 Bump coverlet.collector from 1.3.0 to 3.0.3 (#1222)
Bumps [coverlet.collector](https://github.com/coverlet-coverage/coverlet) from 1.3.0 to 3.0.3.
- [Release notes](https://github.com/coverlet-coverage/coverlet/releases)
- [Commits](https://github.com/coverlet-coverage/coverlet/commits)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-18 18:02:08 -07:00
dependabot[bot]
50eadb8588 Bump ReactiveUI from 13.0.1 to 13.2.18 (#1221)
Bumps [ReactiveUI](https://github.com/reactiveui/reactiveui) from 13.0.1 to 13.2.18.
- [Release notes](https://github.com/reactiveui/reactiveui/releases)
- [Commits](https://github.com/reactiveui/reactiveui/compare/13.0.1...13.2.18)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-18 18:01:57 -07:00
dependabot[bot]
eb495606f3 Bump Pharmacist.Common from 2.0.6 to 2.0.8 (#1220)
Bumps [Pharmacist.Common](https://github.com/reactiveui/Pharmacist) from 2.0.6 to 2.0.8.
- [Release notes](https://github.com/reactiveui/Pharmacist/releases)
- [Commits](https://github.com/reactiveui/Pharmacist/compare/2.0.6...2.0.8)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-18 18:01:45 -07:00
Charlie Kindel
c91d914f2e master -> main 2021-04-18 17:54:36 -07:00
Charlie Kindel
60dc242f26 Merge branch 'main' of tig:migueldeicaza/gui.cs 2021-04-18 17:52:23 -07:00
dependabot[bot]
35181a99d3 Bump MinVer from 2.4.0 to 2.5.0 (#1219)
Bumps [MinVer](https://github.com/adamralph/minver) from 2.4.0 to 2.5.0.
- [Release notes](https://github.com/adamralph/minver/releases)
- [Changelog](https://github.com/adamralph/minver/blob/main/CHANGELOG.md)
- [Commits](https://github.com/adamralph/minver/compare/2.4.0...2.5.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-18 17:50:42 -07:00
Aleksandar Ivanov
df0e0d4239 Add Dependabot (#1136)
* add dependabot config

* increase PR limit
2021-04-18 17:29:30 -07:00
BDisp
0fe512d198 Fixes #1211. Added support to TextView for word based operations Ctrl+Del and Ctrl+Backspace. (#1212)
* Fixes #1211. Added support to TextView for word based operations Ctrl+Del and Ctrl+Backspace,

* Updating nuget packages.

* Revert "Updating nuget packages."

This reverts commit e7afc56a67.

* Removed commented code.

* Replacing '\r\n' with System.Environment.NewLine due the unit tests errors on the server.

* Ensures UpdateWrapModel is always processed after a SetWrapModel in the cases where WordWrap is true.

* Added new feature where pressing Ctrl+C copies the  entire current line into the clipboard if there are no selection.

* Fixes copy and paste without selection.

* Fixing Copy/Paste and unit tests.

* Added RemoveRange method to the WordWrapManager and more unit tests.
2021-04-18 10:17:48 -07:00
Ryan Yandle
c18cf2efd6 Fix link and styling of Toplevel (#1218)
* Fix typo in TopLevel article link

An extra `(` was causing the markdown link not to render.

* match link styling
2021-04-18 10:17:27 -07:00
Charlie Kindel
66d9f2f5a9 Merge branch 'master' of tig:migueldeicaza/gui.cs 2021-04-15 17:32:10 -07:00
BDisp
28580de3c5 Fixes #1208. Now the selected text is overwritten if SelectedStart is greater than CursorPosition. (#1209) 2021-04-15 17:28:10 -07:00
José Miguel Perricone
cec9cc3559 Add Vertical Alignment and Text Direction + UICatalog Demo (#1195)
* Add Vertical Alignment and Text Direction + UICatalog Demo

* Justified text with "Right to Left" or "Bottom To Top" Directions.
2021-04-15 16:19:02 -07:00
Charlie Kindel
214d7d5504 Merge branch 'master' of tig:migueldeicaza/gui.cs 2021-04-15 16:17:11 -07:00
BDisp
ae2f713e23 Fixes #1206. NetDriver now print the selected text. Attribute struct now create a valid Value for the current driver. Insert key is detected by NetDriver. (#1207) 2021-04-14 08:31:01 -07:00
BDisp
17496ac59e Fixes #1193. A non auto size default Button now preserves his width and thus the text alignment now work. (#1194)
* Fixes #1193. A  non auto size default Button now preserves his width and thus the text alignment now work.

* Fixing the Width and Height checks of the Dim class with AutoSize dependence.

* Toplevel can't be used on Pos/Dim but only his subviews. Was not caught before because the LayoutSubviews  method never gone so deep before.

* Fixed the error that is triggered when the Pos/Dim is the current Application.Top.

* Fixing the breaking APIs SetWidth and SetHeight.

* Fixing from the breaking APIs SetWidth and SetHeight.
2021-04-14 08:30:03 -07:00
sigaloid
35f9aaeb00 Fix links (#1191)
currently broken, this fixes the links
2021-04-13 13:44:01 -07:00
BDisp
6b7e0da528 Fixes #1189. Prevents negative index. (#1190) 2021-04-13 13:43:33 -07:00
BDisp
b8bb453992 Fixes #1185. Button click is only processed if there are no mouse mov… (#1186)
* Fixes #1185. Button click is only processed if there are no mouse movement after a button pressed and the released.

* Fixes an alt + hotkey issue that were sent separately instead of one shipping only.
2021-04-13 13:38:07 -07:00
BDisp
5ac4372adf Fixes #1183. ListView now return true on the handled keys. (#1184) 2021-04-13 13:37:44 -07:00
BDisp
e784765094 Fixes #1179. TextView does not copy to the clipboard on deleting. (#1180)
* Fixes #1133. Flaw in LayoutSubviews/TopologicalSort.

* Toplevel can't be used on Pos/Dim but only his subviews. Was not caught before because the LayoutSubviews  method never gone so deep before.

* Fixed the error that is triggered when the Pos/Dim is the current Application.Top.

* Application.Top is the only exception in the TopologicalSort method check.

* Fixes #1179. TextView does not copy to the clipboard on deleting.

* Added Button DoubleClick and fixed WordForward/WordBackward issues.

* Prevents a negative height.

* Fixes the enter key line feed.

* Fixes #1187. Prevents WordBackward throwing an exception if point is greater than the text length.

* Fixes #1189. Prevents negative index.

* Fixes #1193. A  non auto size default Button now preserves his width and thus the text alignment now work.

* Fixing the Width and Height checks of the Dim class with AutoSize dependence.

* Fixes #1197. Prevents width negative value if added directly to the Application.Top

* Fixes #1199. Normalize views constructors and did some typo fixing.

* Fixing the Application.Top Pos/Dim settings.

* Always uses inverted color for selected text to avoid same colors.

* Prevents throw an exception if the clipboard content is null.

* Added Find and Replace (next/previous). Replace All and Select All. A non modal dialog box.

* Keeps tracking the selected replaced text.

* Fixes #1202. CheckBox now deals with a functional '_' underscore hotkey.

* The selected text should be maintained when losing focus.

* Fixes an extra line on page down.

* Fixes the WordBackward if it text has more than one whitespaces or when has only one digit or letter.

* Fixes WordForward/WordBackward on text with more than one whitespace or with only one digit or letter.

* Forgot to replace the hacking.

* Added unit tests for the TextField view. Fixed some more bugs.

* Redraw should only show the selected text if it is focused.

* Fixes cursor position on double click and ensures the setting of the selected text.

* Added match whole word checking.

* Added missing parameters documentation.

* Ensures the SelectedLength property to be always with positive value.

* Fixes the WordBackward when at the end of the text has a character between two whitespace.

* Added unit tests to the TextView, Used property and fixed some more bugs.

* Fixed Used to only show if it has focus.

* Fixed ReplaceAll and prevents Debug.Assert from showing.
2021-04-13 13:37:13 -07:00
BDisp
5bd8be83ca Fixes #1187. Prevents WordBackward throwing an exception if point is greater than the text length. (#1188)
* Fixes #1187. Prevents WordBackward throwing an exception if point is greater than the text length.

* Always uses inverted color for selected text to avoid same colors.

* Prevents throw an exception if the clipboard content is null.

* The selected text should be maintained when losing focus.

* Fixes WordForward/WordBackward on text with more than one whitespace or with only one digit or letter.

* Forgot to replace the hacking.

* Added unit tests for the TextField view. Fixed some more bugs.

* Redraw should only show the selected text if it is focused.

* Fixes cursor position on double click and ensures the setting of the selected text.

* Ensures the SelectedLength property to be always with positive value.

* Fixes the WordBackward when at the end of the text has a character between two whitespace.
2021-04-13 13:35:23 -07:00