Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature underline #1

Closed
wants to merge 269 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
269 commits
Select commit Hold shift + click to select a range
889bfcf
adjusting publish workflow2
tig Apr 26, 2021
cd31402
adjusting publish workflow 3
tig Apr 26, 2021
a0f9569
adjusting publish workflow 4
tig Apr 26, 2021
6330d1e
adjusting publish workflow 5
tig Apr 26, 2021
9f8d0cf
final fix to yaml
tig Apr 26, 2021
d2c95ed
Merge branch 'main' of tig:migueldeicaza/gui.cs
tig Apr 27, 2021
80b8410
Merge branch 'main' of tig:migueldeicaza/gui.cs
tig Apr 27, 2021
734c854
Merge branch 'main' of tig:migueldeicaza/gui.cs
tig Apr 27, 2021
1718c3f
Merge branch 'main' of tig:migueldeicaza/gui.cs
tig Apr 27, 2021
851ce85
Updated relnotes for v1.0.0-rc.9
tig Apr 27, 2021
80e9257
Merge branch 'main' of tig:migueldeicaza/gui.cs
tig Apr 27, 2021
a650bdf
rel notes for v1.0.0-rc.10
tig Apr 27, 2021
faacb1c
Merge branch 'main' of tig:migueldeicaza/gui.cs
tig Apr 27, 2021
d40b321
relnotes for v1.0.0-rc.11
tig Apr 27, 2021
5fd8e43
relnotes for v1.0.0-rc.12
tig Apr 27, 2021
debe918
Merge branch 'main' of tig:migueldeicaza/gui.cs
tig Apr 28, 2021
ba9293f
Merge branch 'main' of tig:migueldeicaza/gui.cs
tig Apr 28, 2021
669b064
v1.0.0-rc.13
tig Apr 28, 2021
947e139
v1.0.0
tig Apr 28, 2021
74098ea
Update Terminal.Gui requirement from 1.0.0-pre.* to 1.0.0.* (#1270)
dependabot[bot] Apr 29, 2021
dbd36d9
add direction summaries (#1274)
jmperricone Apr 30, 2021
8dabd16
Fixes #1276. Added TextDirection constructor to View and Label and im…
BDisp May 2, 2021
71e719f
Made CursorLeft/CursorRight change focus when cursor position is at s…
tznind May 2, 2021
274b432
Fixxes #1272. Using ioctl to get winsize, resizeterm to resize and ad…
BDisp May 3, 2021
41bd205
Bump Microsoft.NETFramework.ReferenceAssemblies from 1.0.0 to 1.0.1 (…
dependabot[bot] May 6, 2021
0784bc2
Merge branch 'main' of tig:migueldeicaza/gui.cs
tig May 6, 2021
4af4839
Fixes #1281. Fixed CursesDriver colors. Added BasicColors scenario. (…
BDisp May 6, 2021
d3d0790
Merge branch 'main' of tig:migueldeicaza/gui.cs
tig May 6, 2021
5b490a8
Fixes #1266. Using Ctrl+PageUp/PageDown to allowing navigate through …
BDisp May 7, 2021
a492a52
Fixes #1291. Combining two PosAbsolute or two DimAbsolute result on a…
BDisp May 10, 2021
1582310
Merge branch 'main' of tig:migueldeicaza/gui.cs
tig May 10, 2021
93d76b1
Bump Microsoft.NETFramework.ReferenceAssemblies from 1.0.1 to 1.0.2 (…
dependabot[bot] May 11, 2021
0dd0f2e
TableView - adds last column dividing line (#1289)
tznind May 11, 2021
4059c7e
Bump ReactiveUI from 13.2.18 to 13.3.1 (#1298)
dependabot[bot] May 12, 2021
b71f7d2
Merge branch 'main' of tig:migueldeicaza/gui.cs
tig May 13, 2021
d062d0c
Bump ReactiveUI.Fody from 13.2.18 to 13.3.2 (#1300)
dependabot[bot] May 13, 2021
e9b3289
Bump ReactiveUI from 13.3.1 to 13.3.2 (#1301)
dependabot[bot] May 13, 2021
2b62b3b
Merge branch 'main' of tig:migueldeicaza/gui.cs
tig May 13, 2021
fe9c984
Changed Console.WriteLine to ITestOutputHelper in tests (#1305)
tznind May 16, 2021
1777e5b
Merge branch 'main' of tig:migueldeicaza/gui.cs
tig May 16, 2021
c2d0d28
Version 1.1.0 Release (#1306)
tig May 16, 2021
4a09631
Merge branch 'main' of tig:migueldeicaza/gui.cs
tig May 16, 2021
c2d0a28
Fixes #1307 MainLoop timeouts duplicate keys error. (#1308)
BDisp May 17, 2021
cbd29f4
Merge branch 'main' of tig:migueldeicaza/gui.cs
tig May 17, 2021
cb060f6
Release v1.1.1 (#1309)
tig May 17, 2021
482fd59
Merge branch 'main' of tig:migueldeicaza/gui.cs
tig May 17, 2021
e353ca3
testing branch stuff
tig May 17, 2021
b803c3a
Merge pull request #1310 from tig/v_1_1_2
tig May 17, 2021
08db023
Update Terminal.Gui requirement from 1.0.0.* to 1.1.1.*
dependabot[bot] May 17, 2021
0fad216
Merge pull request #1312 from migueldeicaza/dependabot/nuget/Terminal…
tig May 17, 2021
8d80253
Added Attributes tests; balanced Application.Init/Shutdown
tig May 18, 2021
4f0049d
refactored AutoInitShutdown attribute
tig May 18, 2021
62c1854
Merge pull request #1313 from tig/unit_tests_add_attribute
tig May 18, 2021
f60458c
Fixes #983. Improving clipboard with interaction with the OS.
BDisp May 20, 2021
4eab436
Merge pull request #1315 from BDisp/clipboard-improvement
tig May 20, 2021
67d7572
Fixes #1318. Ensures that the OS clipboard is always sets.
BDisp May 22, 2021
8bdbb12
Check if xclip is installed.
BDisp May 22, 2021
87271cc
Implemented the ClipboardBase abstract class as suggested by @tznind.
BDisp May 25, 2021
286461e
Fixes bash permissions issue in Linux.
BDisp May 25, 2021
1b7ead0
Fixes more permissions issues.
BDisp May 25, 2021
a5915cd
Trying fixing more permissions issue.
BDisp May 25, 2021
30748df
Trying even more to fix permissions issue and removed try catch.
BDisp May 25, 2021
b866dfa
Bump Microsoft.NET.Test.Sdk from 16.9.4 to 16.10.0
dependabot[bot] May 26, 2021
deebed5
Fix bug where series/annotations are added during render
tznind May 26, 2021
04f09c1
Merge pull request #1321 from migueldeicaza/dependabot/nuget/Microsof…
tig May 26, 2021
f19636e
Bump ReportGenerator from 4.8.8 to 4.8.9
dependabot[bot] May 26, 2021
436a609
Merge pull request #1322 from migueldeicaza/dependabot/nuget/ReportGe…
tig May 26, 2021
3ac18bc
Merge pull request #1323 from tznind/main
tig May 26, 2021
ce04eed
Added -noprofile option to PowerShell and the clip.exe.
BDisp May 27, 2021
105e2a0
Prevents WindowSize event from being always triggered in Netdriver un…
BDisp May 27, 2021
87926a7
Prevents output to the terminal on Linux.
BDisp May 29, 2021
0e24465
Prevents read blocking on Mac.
BDisp May 29, 2021
f88215f
Merge pull request #1324 from BDisp/netdriver-window.size-fix
tig May 30, 2021
0413a93
Merge pull request #1319 from BDisp/clipboard-linux-fix
tig May 30, 2021
66b4685
Fixes #1327. Fixes TextField backspace and canceling TextChanging.
BDisp May 31, 2021
9d4b79b
Fixes #1326. Prevent selected item to be equal to the source count.
BDisp May 31, 2021
fc5cb56
Changing to the @tznind suggestion.
BDisp May 31, 2021
3f8e9c3
Merge pull request #1328 from BDisp/textfield-backspace-fix
tig May 31, 2021
a7011be
Merge pull request #1329 from BDisp/listview-pagedown-fix
tig May 31, 2021
2ba1a50
Prevents top to be less than zero if source count is zero.
BDisp Jun 2, 2021
b351b85
Only sets the top if the sum (top + selected) is bigger than the fram…
BDisp Jun 2, 2021
bbffac8
Merge pull request #1330 from BDisp/listview-move-end-fix
tig Jun 2, 2021
a6b940f
Fixes CursesDriver resize issue.
BDisp Jun 4, 2021
432e9cb
Fixes GetCurrentWidth and GetCurrentHeight providing the correct curr…
BDisp Jun 4, 2021
3db8b7e
Added a Initialize method to the Window to simplify the constructors.
BDisp Jun 4, 2021
480a63d
Toplevel improvement as a subviews container without frame borders.
BDisp Jun 4, 2021
297bf42
Fixes InvalidOperationException from throwing when removing the label.
BDisp Jun 6, 2021
ee75af6
Fixes the restriction of the AutoSize = true of only being true if bo…
BDisp Jun 8, 2021
df7a7cd
Merge remote-tracking branch 'upstream/main' into main
tznind Jun 9, 2021
839b2cf
Fixes negative Width and Height exception.
BDisp Jun 10, 2021
4d09d45
Added a AllViewsTests unit test to test all Views derived class const…
BDisp Jun 10, 2021
080d379
Merge pull request #1332 from BDisp/cursesdriver-resize-fix
tig Jun 11, 2021
cb31e13
Merge pull request #1333 from BDisp/view-get-set-width-height-fix
tig Jun 11, 2021
f13ee4a
Merge pull request #1334 from BDisp/window-initialize
tig Jun 11, 2021
739e7df
Merge pull request #1335 from BDisp/labelasbuttons.scenario-fix
tig Jun 11, 2021
1a83167
Merge branch 'main' into toplevel-improvement
BDisp Jun 11, 2021
fb5830e
Made color methods in TextView protected virtual
tznind Jun 13, 2021
e8a6c67
Merge branch 'main' of https://github.com/tznind/gui.cs into main
tznind Jun 13, 2021
32e4e9d
Added word splitting
tznind Jun 13, 2021
e601a6b
Fixed keyword highlighting and added string literal highlighting
tznind Jun 13, 2021
2b5c83d
Merge remote-tracking branch 'upstream/main' into color-text-view
tznind Jun 13, 2021
2f813bf
Merge pull request #1336 from tznind/color-text-view
tig Jun 15, 2021
10613f7
Merge branch 'main' into toplevel-improvement
BDisp Jun 15, 2021
6ee48f5
Create Codespace configuration (#2)
aleks-ivanov Jun 15, 2021
a366e57
add pwsh as default terminal
aleks-ivanov Jun 15, 2021
cf19eb8
add explicit configuration to test command
aleks-ivanov Jun 15, 2021
5680812
add credentials
aleks-ivanov Jun 15, 2021
2db44fd
Merge pull request #1338 from pipeline-foundation/feature/codespace
tig Jun 15, 2021
565e588
Bump ReportGenerator from 4.8.9 to 4.8.10
dependabot[bot] Jun 17, 2021
21714b6
Fixes #1341. Now if AutoSize is true the Bounds size is always update…
BDisp Jun 18, 2021
a9d8ff1
Fixes #1344. Setting showBothScrollIndicator to false on the construc…
BDisp Jun 18, 2021
dbf4387
Bump ReactiveUI.Fody from 13.3.2 to 14.1.1
dependabot[bot] Jun 21, 2021
34e6147
Bump ReactiveUI from 13.3.2 to 14.1.1
dependabot[bot] Jun 21, 2021
488a56a
Merge pull request #1345 from BDisp/scrollbarview-constructor-showBot…
tig Jun 22, 2021
a533d83
Merge pull request #1339 from migueldeicaza/dependabot/nuget/ReportGe…
tig Jun 22, 2021
ca38f60
Merge pull request #1343 from BDisp/view-text-update-fix
tig Jun 22, 2021
63e7c2d
Merge branch 'main' into toplevel-improvement
BDisp Jun 22, 2021
e5080e2
Bump ReportGenerator from 4.8.10 to 4.8.11
dependabot[bot] Jun 23, 2021
8f66fc0
Merge pull request #1351 from migueldeicaza/dependabot/nuget/ReportGe…
tig Jun 23, 2021
0c80a4f
Merge remote-tracking branch 'upstream/main' into main
tznind Jun 25, 2021
5cef7f7
Fixed Redraw in TabView not setting needs display on tab area view
tznind Jun 25, 2021
3c1fa5f
Merge pull request #1354 from tznind/main
tig Jun 26, 2021
c4232e9
More unit test for issue #1344, testing IsVertical as False.
BDisp Jun 27, 2021
b3ce131
Added support for coloring cells
tznind Jun 28, 2021
f2c40ac
Fixed custom cell color also coloring the separator in FullRowSelect …
tznind Jun 28, 2021
98dfcc4
Added support for full row coloring
tznind Jun 28, 2021
93e5d7f
Made selected cell first character inverted colors
tznind Jun 29, 2021
c2c9693
Added extra boundary check before rendering
tznind Jun 29, 2021
e460650
Changed Scenario alt colors to Win.ColorScheme instead of Colors.Base
tznind Jun 29, 2021
fe464b0
Added test helper method AssertDriverColorsAre
tznind Jun 29, 2021
f536d90
Made selected cell invert first character optional as a TableStyle
tznind Jun 29, 2021
7c10831
Fixes #1358. Attribute.Foreground / Attribute.Background now working …
BDisp Jul 1, 2021
f256046
Add InvertColors scenario.
BDisp Jul 6, 2021
fb49513
Improving the InvertColors scenario. Thanks @tznind.
BDisp Jul 6, 2021
3f7e996
Prevents application crash if OS clipboard is not supported.
BDisp Jul 6, 2021
29c1487
Changed CellColorGetterDelegate to use its own class for args CellCol…
tznind Jul 7, 2021
446759a
Made RowColorGetterDelegate follow same pattern as CellColorGetter
tznind Jul 7, 2021
30508d9
Added multi coloured cell example
tznind Jul 7, 2021
e636501
Changed text color to dark grey to make effect clearer
tznind Jul 7, 2021
4cd694a
Added a Mdi Container feature.
BDisp Jul 10, 2021
b2a8a7c
Improves the MenuOpening event.
BDisp Jul 10, 2021
8d6c2e0
Some changes in the UICatalog and Scenarios.
BDisp Jul 10, 2021
c707d13
Some changes and adding much more unit tests.
BDisp Jul 10, 2021
5a35bca
Fixes #1317. Forces wakeup the mainloop in a thread.
BDisp Jul 11, 2021
3da689f
Fixes #1314. TextView now exposes file exceptions from callers.
BDisp Jul 11, 2021
788dce4
Bump ReportGenerator from 4.8.11 to 4.8.12
dependabot[bot] Jul 12, 2021
e78bba0
Fixes TextView to deal with CRLF format.
BDisp Jul 12, 2021
2608fe4
Handling Ctrl+Q
BDisp Jul 13, 2021
dc3c016
Added more unit tests as requested in https://github.com/migueldeicaz…
BDisp Jul 13, 2021
fdf1116
Fixes #1078. ColorScheme setter now calls SetNeedsDisplay.
BDisp Jul 13, 2021
0f77914
Turning MdiTop as read only.
BDisp Jul 15, 2021
9a73657
Simplifying the Redraw method.
BDisp Jul 15, 2021
69200a2
Reverting the draw text.
BDisp Jul 15, 2021
3c9a4e5
Button text should be centered by default.
BDisp Jul 15, 2021
3565518
Simplifying FrameView constructors avoiding redundant code.
BDisp Jul 15, 2021
d172f3f
Fixes to avoid exception with the ComboBox in All Views Tester.
BDisp Jul 15, 2021
c29234c
CheckBox AutoSize should initialize with the Label default.
BDisp Jul 15, 2021
f32a76b
Fixes the View Menu to set current child if is visible.
BDisp Jul 15, 2021
623b6bf
Fixes the height from hiding the first character.
BDisp Jul 15, 2021
5851d0e
Adding more unit tests.
BDisp Jul 15, 2021
57a3a5d
Fixes #1260. Added unit test to emulate the "All Views Tester" scenario.
BDisp Jul 16, 2021
1aa1161
Asserting type names.
BDisp Jul 16, 2021
138a147
Using LayoutSubviews to fix the size height hiding first character.
BDisp Jul 16, 2021
d24b7ef
Fixing the potential infinite loops on changing the property.
BDisp Jul 18, 2021
49e71b4
Fixes #1380. Setting AllowsTab in TextView keeps Multiline.
BDisp Jul 19, 2021
a6daa4d
Fixes HasFlag behavior by using Equals keyword
BDisp Jul 19, 2021
35cbf68
Revert "Fixes HasFlag behavior by using Equals keyword"
BDisp Jul 19, 2021
e22b52e
Fixes HasFlag behavior by using == keyword.
BDisp Jul 19, 2021
46aa017
Fixes #1381. Unit tests to demonstrate the Key enum ambiguity check.
BDisp Jul 20, 2021
d092fc6
Small change to re-run the test in Github.
BDisp Jul 21, 2021
5f03261
Merge pull request #1331 from BDisp/toplevel-improvement
tig Jul 21, 2021
8564f99
Merge pull request #1349 from migueldeicaza/dependabot/nuget/Reactive…
tig Jul 21, 2021
7fe8253
Merge branch 'main' into dependabot/nuget/ReactiveUI.Fody-14.1.1
tig Jul 21, 2021
ddb4612
Merge pull request #1348 from migueldeicaza/dependabot/nuget/Reactive…
tig Jul 21, 2021
14186f0
Merge pull request #1355 from BDisp/showbothscrollindicator-false-test
tig Jul 21, 2021
f6d3fbc
patched reactive sample dependencies refs
tig Jul 21, 2021
1026f21
Merge pull request #1357 from tznind/table-colors
tig Jul 21, 2021
481bac9
Merge pull request #1359 from BDisp/cursesdriver-attribute-fix
tig Jul 21, 2021
ec2175b
Merge pull request #1360 from BDisp/clipboard-not-supported-fix
tig Jul 21, 2021
dcc1269
Merge pull request #1364 from BDisp/textview-load-file
tig Jul 21, 2021
f29d389
Merge pull request #1365 from migueldeicaza/dependabot/nuget/ReportGe…
tig Jul 21, 2021
91c3294
Merge pull request #1366 from BDisp/colorscheme-setter
tig Jul 21, 2021
bbadb79
Merge pull request #1368 from BDisp/button-centered-text
tig Jul 21, 2021
ef8bf7a
Merge pull request #1369 from BDisp/frameview-simplified
tig Jul 21, 2021
608c58e
Merge pull request #1370 from BDisp/combobox-all-views-tester
tig Jul 21, 2021
c76793a
Merge pull request #1371 from BDisp/autosize-direction-text-init
tig Jul 21, 2021
02dfb2b
Adds Lineview (#1374)
tznind Jul 21, 2021
2454dc9
Disabled MinVer when building in Debug (#1378)
tznind Jul 21, 2021
e2d53d2
Fixes #546. Enhancement ProgressBar. (#1379)
BDisp Jul 21, 2021
3b75279
Bump coverlet.collector from 3.0.3 to 3.1.0 (#1382)
dependabot[bot] Jul 21, 2021
52a5fcc
Merge pull request #1383 from BDisp/key-unit-tests
tig Jul 21, 2021
b200763
Fixes #1387. Allowing the UnitTests project to test internal keywords.
BDisp Jul 23, 2021
bb4bbcb
Fixes #1389. Added a unidirectional feature to the Marquee styles to …
BDisp Jul 24, 2021
12f639b
Fixes #1394. Added ReflectedType to check for overridden.
BDisp Jul 26, 2021
f1f86c4
Fixes #1396. Using the Loaded event instead the Ready event.
BDisp Jul 26, 2021
7a97653
Merge pull request #1388 from BDisp/internal-tests
tig Aug 5, 2021
de5d38f
Merge pull request #1390 from BDisp/progressbar-bidirection
tig Aug 5, 2021
5a1c8a7
Merge pull request #1395 from BDisp/scrollview-clipping-fix
tig Aug 5, 2021
a660f21
Merge pull request #1397 from BDisp/uicatalog-focus-fix
tig Aug 5, 2021
b193aaa
Fixes #1402. Only WindowsDriver supports horizontal scroll. (#1403)
BDisp Aug 5, 2021
52f48b2
Fixes #1384. Added a VisibleChanged event on the View class. (#1385)
BDisp Aug 11, 2021
618714c
Fix version conflicts caused by PR#1412 (#1415)
sucrose0413 Aug 11, 2021
ee8a8cc
Bump Microsoft.NET.Test.Sdk from 16.10.0 to 16.11.0 (#1418)
dependabot[bot] Aug 24, 2021
d60aed7
Autocomplete for TextView (#1406)
tznind Aug 24, 2021
8a6c94f
Fixes CursesDriver mouse and reset issue. (#1420)
BDisp Aug 24, 2021
e6bc253
WindowsDriver double click mouse bug fix. (#1421)
BDisp Aug 24, 2021
c604fcb
NetDriver triple click bug fix. (#1422)
BDisp Aug 24, 2021
cef541f
fix code block fencing (#1427)
adamralph Aug 24, 2021
45d346d
Correctly mark the .NET Framework reference assemblies as private. (#…
teo-tsirpanis Aug 24, 2021
aa9eb97
v1.2.1 Release
tig Aug 24, 2021
c9530e5
Merge pull request #1431 from tig/v_1_2_1
tig Aug 24, 2021
27cce0b
tweaked readme
tig Aug 24, 2021
a2ecc49
Update README.md
tig Aug 24, 2021
28ecb11
Merge pull request #1432 from tig/release_note
tig Aug 24, 2021
7cba2c9
Fixed bug setting ColorScheme on Autocomplete
tznind Aug 25, 2021
e3f6b7b
Merge pull request #1437 from tznind/fix-auto
tig Aug 26, 2021
8eb719a
feature: Don't pull Terminal.Gui from NuGet, use ReactiveMarbles.Obse…
worldbeater Aug 26, 2021
be0ffc2
Fixes #1438. Backspace not redrawing screen under some situations. (#…
BDisp Aug 26, 2021
8bfa2f0
Border feature (#1436)
BDisp Aug 26, 2021
f602d3b
ComboBox cursonDownKey nullref fix (#1472)
En3Tho Sep 29, 2021
ef9fb59
Fixes WindowsDriver HeightAsBuffer set to false. (#1466)
BDisp Sep 29, 2021
a2cbe45
Bump ReportGenerator from 4.8.12 to 4.8.13 (#1473)
dependabot[bot] Sep 29, 2021
84f79b2
Fixes #1445. Fixing more the Curses and WSL clipboard. (#1448)
BDisp Sep 29, 2021
23d4fa9
Added Application.QuitKey property to allow change the quitting appli…
BDisp Sep 29, 2021
c7d1e15
Fixes #1467. AlternateForward/BackwardKey bypasses dialog modality (#…
BDisp Sep 29, 2021
b418a00
Added PoshRedisViewer to the list of Showcases/Examples (#1476)
En3Tho Oct 5, 2021
d55ae77
Fixes #1446. Added more features to the Border and Toplevel focus. (#…
BDisp Oct 5, 2021
9d767a4
Dynamic menu/statusbar and Enable property fix. (#1489)
BDisp Oct 25, 2021
b5799c3
Fixed label positions to begin at Margins not just bottom left of scr…
tznind Oct 25, 2021
2ef4edd
NetDriver fixes keys modifiers not reseting and enter key on Windows …
BDisp Oct 25, 2021
58e7698
Fixes #1475. Selection ending with a white space error. (#1478)
BDisp Oct 25, 2021
48100d9
Scrollbarview ensures host always focused. (#1486)
BDisp Oct 25, 2021
0907f7d
Fix link to MainLoop docs in README.md (#1491)
rgwood Oct 25, 2021
264c4cc
Bump ReactiveMarbles.ObservableEvents.SourceGenerator (#1449)
dependabot[bot] Oct 26, 2021
f0a655a
Trying updating FSharpExample to net5.0 (#1479)
BDisp Oct 26, 2021
a92075c
Release v1.3.0 (#1494)
tig Oct 26, 2021
d9a8439
Adjust nuget publish script (#1495)
tig Oct 26, 2021
93b142b
Bump Microsoft.NET.Test.Sdk from 16.11.0 to 17.0.0 (#1497)
dependabot[bot] Nov 4, 2021
64b00e3
Fixes #1499. Allowing border settings for the MessageBox. (#1505)
BDisp Nov 4, 2021
ce99df4
Prevents a Process breaks rendering on Linux. (#1506)
BDisp Nov 13, 2021
d84ab39
Allows ListView trigger the Enter and Leave events. (#1508)
BDisp Nov 13, 2021
3bdc73e
add_underline_attribute
jmperricone Apr 30, 2021
e72858b
fix summaries
jmperricone Apr 30, 2021
c42cf30
add underline to catalog
jmperricone Apr 30, 2021
79dfddc
define COMMON_LVB_UNDERSCORE
jmperricone Apr 30, 2021
96ca118
netdirver underline only windows
jmperricone Apr 30, 2021
854be74
underline state always
jmperricone Apr 30, 2021
ef4979b
Removing currentUnderlineAttribute
BDisp Nov 20, 2021
87193f7
Using escape sequences for underline in NetDriver.
BDisp Nov 20, 2021
a8c793b
Using bitwise value for underline into attribute.
BDisp Nov 21, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
25 changes: 25 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"name": "Terminal.Gui Codespace",
"image": "mcr.microsoft.com/vscode/devcontainers/dotnet:5.0",
"settings": {
"terminal.integrated.defaultProfile.linux": "pwsh"
},
"extensions": [
"eamodio.gitlens",
"ms-dotnettools.csharp",
"VisualStudioExptTeam.vscodeintellicode",
"ms-vscode.powershell",
"cschleiden.vscode-github-actions",
"redhat.vscode-yaml",
"bierner.markdown-preview-github-styles",
"ban.spellright",
"jmrog.vscode-nuget-package-manager",
"coenraads.bracket-pair-colorizer",
"vscode-icons-team.vscode-icons",
"editorconfig.editorconfig",
"formulahendry.dotnet-test-explorer"
],
"postCreateCommand": "dotnet restore && dotnet clean && dotnet build --configuration Release --no-restore && dotnet test --configuration Debug --no-restore --verbosity normal --collect:'XPlat Code Coverage' --settings UnitTests/coverlet.runsettings"
}

// Built with ❤ by [Pipeline Foundation](https://pipeline.foundation)
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:

- name: Publish Terminal.Gui
id: publish_nuget
uses: brandedoutcast/publish-nuget@v2.5.5
uses: rohith/publish-nuget@v2
with:
VERSION_STATIC: ${{ env.MINVERVERSIONOVERRIDE }}
NUGET_SOURCE: https://api.nuget.org
Expand Down
4 changes: 2 additions & 2 deletions FSharpExample/FSharpExample.fsproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>netcoreapp3.1</TargetFramework>
<TargetFramework>net5.0</TargetFramework>
</PropertyGroup>

<ItemGroup>
Expand All @@ -14,7 +14,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Update="FSharp.Core" Version="4.7.2" />
<PackageReference Update="FSharp.Core" Version="6.0.0" />
</ItemGroup>

</Project>
36 changes: 21 additions & 15 deletions FSharpExample/Program.fs
Original file line number Diff line number Diff line change
Expand Up @@ -235,11 +235,11 @@ let ShowHex (top: Toplevel) =

type MenuItemDetails () =
inherit MenuItem ()
new (title: ustring, help: string, action: Action) as this =
new (title: ustring, help: ustring, action: Action) as this =
MenuItemDetails ()
then
this.Title <- title
this.Help <- ustr help
this.Help <- help
this.Action <- action

static member Instance (mi: MenuItem) =
Expand Down Expand Up @@ -362,10 +362,10 @@ let Main () =
Width = Dim.Fill () - Dim.op_Implicit margin,
Height = Dim.Fill () - Dim.op_Implicit margin)
let menuItems =
[|MenuItemDetails (ustr "F_ind", "", Unchecked.defaultof<_>);
MenuItemDetails (ustr "_Replace", "", Unchecked.defaultof<_>);
MenuItemDetails (ustr "_Item1", "", Unchecked.defaultof<_>);
MenuItemDetails (ustr "_Also From Sub Menu", "", Unchecked.defaultof<_>)|]
[|MenuItemDetails (ustr "F_ind",ustr "", Unchecked.defaultof<_>);
MenuItemDetails (ustr "_Replace", ustr "", Unchecked.defaultof<_>);
MenuItemDetails (ustr "_Item1", ustr "", Unchecked.defaultof<_>);
MenuItemDetails (ustr "_Also From Sub Menu", ustr "", Unchecked.defaultof<_>)|]
menuItems.[0].Action <- fun _ -> ShowMenuItem (menuItems.[0])
menuItems.[1].Action <- fun _ -> ShowMenuItem (menuItems.[1])
menuItems.[2].Action <- fun _ -> ShowMenuItem (menuItems.[2])
Expand All @@ -381,25 +381,29 @@ let Main () =
MenuItem (ustr "_Disabled", ustring.Empty, (fun () -> ()), (fun () -> false))
Unchecked.defaultof<_>
MenuItem (ustr "_Quit", ustring.Empty, (fun () -> if Quit() then top.Running <- false)) |])
MenuBarItem (ustr "_Edit",
MenuBarItem (ustr "_Edit",
[| MenuItem (ustr "_Copy", ustring.Empty, fun () -> Copy())
MenuItem (ustr "C_ut", ustring.Empty, fun () -> Cut())
MenuItem (ustr "_Paste", ustring.Empty, fun () -> Paste())
MenuBarItem (ustr "_Find and Replace",
[| menuItems.[0]
menuItems.[1] |])
menuItems.[3] |])
[| menuItems.[0] :> MenuItem
menuItems.[1] :> MenuItem |]) :> MenuItem
menuItems.[3] :> MenuItem
|])
MenuBarItem (ustr "_List Demos",
[| MenuItem (ustr "Select _Multiple Items", ustring.Empty, (fun () -> ListSelectionDemo true))
MenuItem (ustr "Select _Single Item", ustring.Empty, (fun () -> ListSelectionDemo false)) |])
MenuBarItem(ustr "A_ssorted",
MenuBarItem (ustr "A_ssorted",
[| MenuItem (ustr "_Show text alignments", ustring.Empty, (fun () -> ShowTextAlignments()))
MenuItem (ustr "_OnKeyDown/Press/Up", ustring.Empty, (fun () -> OnKeyDownPressUpDemo())) |])
MenuBarItem(ustr "_Test Menu and SubMenus",
MenuBarItem (ustr "_Test Menu and SubMenus",
[| MenuBarItem (ustr "SubMenu1Item_1",
[| MenuBarItem (ustr "SubMenu2Item_1",
[| MenuBarItem (ustr "SubMenu3Item_1",
[| menuItems.[2] |]) |]) |]) |])
[| menuItems.[2] :> MenuItem |]) :> MenuItem
|]) :> MenuItem
|]) :> MenuItem
|])
MenuBarItem (ustr "_About...", ustr "Demonstrates top-level menu item", (fun () -> MessageBox.ErrorQuery (50, 7, ustr "Error", ustr "This is a demo app for gui.cs", ustr "Ok") |> ignore)) |])
menuKeysStyle <- new CheckBox (3, 25, ustr "UseKeysUpDownAsKeysLeftRight", true)
menuKeysStyle.add_Toggled (Action<bool> (MenuKeysStyleToggled))
Expand Down Expand Up @@ -431,15 +435,17 @@ let Main () =
win.Add bottom
let bottom2 = new Label (ustr "This should go on the bottom of another top-level!")
top.Add bottom2
Application.Loaded <- Action<Application.ResizedEventArgs> (
fun _ ->
top.add_LayoutComplete (Action<View.LayoutEventArgs>
(fun e ->
bottom.X <- win.X
bottom.Y <- Pos.Bottom win - Pos.Top win - Pos.At margin
bottom2.X <- Pos.Left win
bottom2.Y <- Pos.Bottom win)
)
top.Add win
top.Add (menu, statusBar)
Application.Run ()
Application.Shutdown ();

module Demo =
[<EntryPoint>]
Expand Down
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ In addition, a complete Xterm/Vt100 terminal emulator that you can embed is now
* **[Flexible Layout](https://migueldeicaza.github.io/gui.cs/articles/overview.html#layout)** - **Terminal.Gui** supports both *Absolute layout* and an innovative UI layout system referred to as *Computed Layout*. *Computed Layout* makes it easy to layout controls relative to each other and enables dynamic console GUIs.
* **Clipboard support** - Cut, Copy, and Paste of text provided through the [`Clipboard`](https://migueldeicaza.github.io/gui.cs/api/Terminal.Gui/Terminal.Gui.Clipboard.html) class.
* **[Arbitrary Views](https://migueldeicaza.github.io/gui.cs/api/Terminal.Gui/Terminal.Gui.View.html)** - All visible UI elements are subclasses of the `View` class, and these in turn can contain an arbitrary number of sub-views.
* **Advanced App Features** - The [Mainloop](https://migueldeicaza.github.io/gui.cs/api/Terminal.Gui/Mono.Terminal.MainLoop.html) supports processing events, idle handlers, timers, and monitoring file
* **Advanced App Features** - The [Mainloop](https://migueldeicaza.github.io/gui.cs/api/Terminal.Gui/Terminal.Gui.MainLoop.html) supports processing events, idle handlers, timers, and monitoring file
descriptors.
* **Reactive Extensions Support** - Use [reactive extensions](https://github.com/dotnet/reactive) and benefit from increased code readability, and the ability to apply the MVVM pattern and [ReactiveUI](https://www.reactiveui.net/) data bindings. See the [source code](https://github.com/migueldeicaza/gui.cs/tree/master/ReactiveExample) of a sample app in order to learn how to achieve this.

Expand Down Expand Up @@ -85,7 +85,9 @@ You can force the use of `System.Console` on Unix as well; see `Core.cs`.
* **[Standalone Example](https://github.com/migueldeicaza/gui.cs/tree/master/StandaloneExample)** - A trivial .NET core sample application can be found in the `StandaloneExample` directory. Run `dotnet run` in directory to test.
* **[F# Example](https://github.com/migueldeicaza/gui.cs/tree/master/FSharpExample)** - An example showing how to build a Terminal.Gui app using F#.
* **[Powershell Sample]()** - (Coming soon! See PR #952. Shows how to build Terminal.Gui apps using Powershell.
* **PowerShell's Out-ConsoleGridView** - The [`Out-ConsoleGridView` PowerShell Cmdlet](https://github.com/PowerShell/GraphicalTools/blob/master/docs/Microsoft.PowerShell.ConsoleGuiTools/Out-ConsoleGridView.md) sends the output from a command to a grid view window where the output is displayed in an interactive table. sends the output from a command to a grid view window where the output is displayed in an interactive table, using Terminal.Gui.
* **PowerShell's Out-ConsoleGridView** - The [`Out-ConsoleGridView` PowerShell Cmdlet](https://github.com/PowerShell/GraphicalTools/blob/master/docs/Microsoft.PowerShell.ConsoleGuiTools/Out-ConsoleGridView.md) sends the output from a command to a grid view window where the output is displayed in an interactive table. sends the output from a command to a grid view window where the output is displayed in an interactive table, using Terminal.Gui.
* **[PoshRedisViewer](https://github.com/En3Tho/PoshRedisViewer)** - A compact Redis viewer module for PowerShell written in F# and Gui.cs


## Documentation

Expand Down Expand Up @@ -206,6 +208,8 @@ dotnet add package Terminal.Gui
* Windows, Mac, and Linux - Build and run using the .NET SDK command line tools (`dotnet build` in the root directory). Run `UICatalog` with `dotnet run --project ./UICatalog` or by directly executing `./UICatalog/bin/Debug/net5.0/UICatalog.exe`.
* Windows - Open `Terminal.Gui.sln` with Visual Studio 2019.

Building in Release requires the [git command line tool](https://git-scm.com/) (a dependency of the [MinVer](https://github.com/adamralph/minver#can-i-disable-minver) build tool)

## Contributing

See [CONTRIBUTING.md](https://github.com/migueldeicaza/gui.cs/blob/master/CONTRIBUTING.md).
Expand Down
1 change: 1 addition & 0 deletions ReactiveExample/LoginView.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
using NStack;
using ReactiveUI;
using Terminal.Gui;
using ReactiveMarbles.ObservableEvents;

namespace ReactiveExample {
public class LoginView : Window, IViewFor<LoginViewModel> {
Expand Down
16 changes: 10 additions & 6 deletions ReactiveExample/ReactiveExample.csproj
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>netcoreapp3.1</TargetFramework>
<TargetFramework>net5.0</TargetFramework>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Pharmacist.MsBuild" Version="2.0.8" PrivateAssets="all" />
<PackageReference Include="Pharmacist.Common" Version="2.0.8" />
<PackageReference Include="Terminal.Gui" Version="1.0.0-pre.*" />
<PackageReference Include="ReactiveUI.Fody" Version="13.2.18" />
<PackageReference Include="ReactiveUI" Version="13.2.18" />
<PackageReference Include="ReactiveUI.Fody" Version="14.2.1" />
<PackageReference Include="ReactiveUI" Version="14.2.1" />
<PackageReference
Include="ReactiveMarbles.ObservableEvents.SourceGenerator"
Version="1.1.4"
PrivateAssets="all" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Terminal.Gui\Terminal.Gui.csproj" />
</ItemGroup>
</Project>
Loading