* Added analyzer
* WIP - Trying to create tests, failing with bad dependencies
* Working test woo
* Tidy up
* Tidy up
* Fix integration tests failing on command line
* Use 4.11 compiler
* Fix expecting 'e' as param name
* Make analyzer come as part of Terminal.Gui
* Add docs
* Fix warnings
* Fixes#4116. NativeAot and SelfContained projects aren't working well in release mode
* Revert delete nuget package because it fail in the git actions
* Trying automatize the nuget package installation
* Fixing UserProfile
* Trying fix push package for Unix OS
* Still triying to push nuget to the Unix
* Trying delete nuget package in the Pack target
* Trying fix git actions for release build
* Fix projects path
* Still fixing restore
* Add restore force parameter
* Build NativeAot and SelfContained projects before solution
* Build solution without restore
* Restore solutions packages before build
* Call dotnet restore before build the AOT and self-contained projects
* Remove unneeded run
* Revert "Remove unneeded run"
This reverts commit e04498d1ce.
* Trying fix racing fail unit tests
---------
Co-authored-by: Tig <tig@users.noreply.github.com>
* touching publish.yml
* Moved Examples into ./Examples
* Moved Benchmarks into ./Tests
* Moved Benchmarks into ./Tests
* Moved UICatalog into ./Examples
* Moved UICatalog into ./Examples 2
* Moved tests into ./Tests
* Updated nuget
* Add class for detecting information about console in extensible way
* WIP - Create test for reordering
* Change Dictionary to List and preserve TreeBuilder order
* Add test to ensure branch expansion/status remains consistent despite reorder
* Cleanup code
* Fix regression when removed child was the selected one
* Revert "Add class for detecting information about console in extensible way"
This reverts commit 7e4253cf28.
* Code cleanup and enable nullable on Branch
* Remove color scheme and driver from Branch draw
* Add xunit context extensions
* Investigate codegen for xunit
* Getting closer to something that works
* Fix code generation
* Further explore code gen
* Generate all methods in single class for easier extensibility
* Simplify code gen by moving parameter creation to its own method
* Implement asserts A-I
* Add remaining assert calls that are not obsolete
* Fix unit test
* Roll back versions to be compatible with CI version of csharp
* Handle params and ref etc
* Fix null warning
* WIP - start to add integration tests for FileDialog
* Add ability to tab focus to specific control with simple one line delegate
* Clarify test criteria
* Add unit tests for Ok and other ways of canceling dialog
* Fix other buttons also triggering save
* Fix for linux environment tests
* Fix for linux again
* Fix application null race condition - add better way of knowing if stuff is finished
* Better fix for shutdown detection
* Add test that shows #4026 is not an issue
* Switch to `_fileSystem.Directory.GetLogicalDrives ()`
* Don't show duplicate MyDocuments etc
* Tons of API doc updates
* Removed stale test
* Removed stale tests
* Fixed Skipped Shadow test 1
* Fixed Skipped Shadow test 2
* Fixed Skipped Shadow test 3
* Removed stale test
* Removed stale test2
* Explicit unregister of event handler on Application.Driver!.ClearedContents
* Added Toplevels to dict
* code cleanup
* spelling error
* Removed stale test3
* Removed stale test4
* Removed stale test5
* added script
* tweaked script
* tweaked script
* Created StressTests project; moved some tests
* Created IntegrationTests project; moved some tests
* New yml
* made old yml just unit tests
* Tweaked Button_IsDefault_Raises_Accepted_Correctly
* tweaked script
* cleaned up ymls
* tweakled up ymls
* stress tests...
* stress tests on ubuntu only
* Fixed WindowsDriver in InvokeLeakTest
* Fixed WindowsDriver in InvokeLeakTest2
* Added Directory.Packages.props.
Added Directory.Build.props
* Shortened StressTest time
* Removed dupe file.
* DemoFiles
* Moved all tests to ./Tests dir.
* Fixed release build issue
* Fixed .sln file
* Fixed .sl* files
* Fixing ymls
* Fixing interation tests
* Create link to the file TestHelpers.
* Created Tests/UnitTestsParallelizable.
Moved all obviously parallelizable tests.
Updated yml.
* fixing logs
* fixing logs2
* fixing logs3
* don't require stress to pass for PRs
* Fix a failure?
* tweaked script
* Coudl this be it?
* Moved tons of tests to parallelizable
* Fixed some stuff
* Script to find duplicate tests
* Testing workflows
* Updated to v4
* Fix RelativeBasePath issue
* Replace powershell to pwsh
* Add ignore projects.
* Removed dupe unit tests
* Code cleanup of tests
* Cleaned up test warnings
* yml tweak
* Moved setter
* tweak ymls
* just randomly throwing spaghetti at a wall
* Enable runing 5 test runners in par
* Turned off DEBUG_DISPOSABLE for par tests
* RunningUnitTests=true
* code cleanup (forcing more Action runs)
* DISABLE_DEBUG_IDISPOSABLE
* Added View.DebugIDisposable. False by default.
* Remobed bogus tareet
* Remobed bogus tareet2
* fixed warning
* added api doc
* fixed warning
* fixed warning
* fixed warning2
* fixed warning3
* fixed warning4
---------
Co-authored-by: BDisp <bd.bdisp@gmail.com>
* Add benchmarks for potentially optimizable RuneExtensions
* Add new RuneExtensions.DecodeSurrogatePair benchmark implementation
Avoids intermediate heap array allocations which is especially nice when the rune is not surrogate pair because then array heap allocations are completely avoided.
* Enable nullable reference types in RuneExtensions
* Make RuneExtensions.MaxUnicodeCodePoint readonly
Makes sure no one can accidentally change the value. Ideally would be const value.
* Optimize RuneExtensions.DecodeSurrogatePair
* Remove duplicate Rune.GetUnicodeCategory call
* Add new RuneExtensions.IsSurrogatePair benchmark implementation
Avoids intermediate heap allocations by using stack allocated buffer.
* Optimize RuneExtensions.IsSurrogatePair
* Add RuneExtensions.GetEncodingLength tests
* Optimize RuneExtensions.GetEncodingLength
* Optimize RuneExtensions.Encode
* Print encoding name in benchmark results
* Rename variable to better match return description
* Add RuneExtensions.EncodeSurrogatePair benchmark
---------
Co-authored-by: Tig <tig@users.noreply.github.com>
* Add a native AOT project.
* Fixes Text.Json to work with native AOT.
* Fix silent errors on unit tests when testing the Red color which has a length of 3.
* Allowing test custom configuration without the config.json file match the unit tests configurations.
* Fix unit test if tested alone.
* Add native project into solution.
* Fix merge errors.
* Setting ConfigurationManager.ThrowOnJsonErrors as true to throw any serialization issue when published file runs.
* Remove unnecessary using's.
* Added unit test to ensure all serialization is properly configured.
* Fix warnings.
* Remove ThrowOnJsonErrors.
* Fix warnings.
---------
Co-authored-by: Tig <tig@users.noreply.github.com>
Remove unnecessary platform target (explicit x86 is useless here)
Remove monodevelop settings. They didn't match anyway and VSCode is a thing and supports .editorconfig.
* Removed resharper settings from editorconfig
* Moved ColorScheme to ColorScheme.cs
* Moved ColorScheme to ColorScheme.cs
* Potential fix. PlatformColor was not being set by FakeDriver correctly.
* Made ColorScheme effectively readonly
* Removed Color.Base etc... Updated API docs.
* Fixed bugs
* Fixed#3098
* Fixed a slew of issues
* Fixed a slew more of issues
* Code cleanup. Fixed unit test failure
* Code cleanup.
* Code cleanup.
* Code cleanup.
* Adds basic MainLoop unit tests
* Remove WinChange action from Curses
* Remove WinChange action from Curses
* Remove ProcessInput action from Windows MainLoop
* Simplified MainLoop/ConsoleDriver by making MainLoop internal and moving impt fns to Application
* Modernized Terminal resize events
* Modernized Terminal resize events
* Removed un used property
* for _isWindowsTerminal devenv->wininit; not sure what changed
* Modernized mouse/keyboard events (Action->EventHandler)
* Updated OnMouseEvent API docs
* Using WT_SESSION to detect WT
* removes hacky GetParentProcess
* Updates to fix#2634 (clear last line)
* removes hacky GetParentProcess2
* Addressed mac resize issue
* Addressed mac resize issue
* Removes ConsoleDriver.PrepareToRun, has Init return MainLoop
* Removes unneeded Attribute methods
* Removed GetProcesssName
* Removed GetProcesssName
* Refactored KeyEvent and KeyEventEventArgs into a single class
* Revert "Refactored KeyEvent and KeyEventEventArgs into a single class"
This reverts commit 88a00658db.
* Fixed key repeat issue; reverted stupidity on 1049/1047 confusion
* Updated CSI API Docs
* merge
* Added ClipRegion; cleaned up driver code
* clip region unit tests
* api docs
* Moved color stuff from ConsoleDriver to Color.cs
* Removes unused ConsoleDriver APIs
* Code cleanup and Removes unused ConsoleDriver APIs
* Code cleanup and Removes unused ConsoleDriver APIs
* Work around https://github.com/gui-cs/Terminal.Gui/issues/2610
* adjusted unit tests
* initial commit
* Made Rows, Cols, Top, Left virtual
* Made Clipboard non-virtual
* Made EnableConsoleScrolling non-virtual
* Made Contents non-virtual
* Pulled Row/Col up
* Made MoveTo virtual; fixed stupid FakeDriver cursor issue
* Made CurrentAttribute non-virtual
* Made SetAttribute non-virtual
* Moved clipboard code out
* Code cleanup
* Removes dependecy on NStack from ConsoleDrivers - WIP
* Fixed unit tests
* Fixed unit tests
* Added list of unit tests needed
* Did some perf testing; tweaked code and charmap to address
* Brough in code from PR #2264 (but commented)
* Tons of code cleanup
* Fighting with ScrollView
* Fixing bugs
* Fixed TabView tests
* Fixed View.Visible test that was not really working
* Fixed unit tests
* Cleaned up clipboard APIs in attempt to track down unit test failure
* Add Cut_Preserves_Selection test
* Removed invalid code
* Removed invalid test code; unit tests now pass
* EscSeq* - Adjusted naming, added more sequences, made code more consistent, simplified, etc...
* Added CSI_SetGraphicsRendition
* NetDriver code cleanup
* code cleanup
* Cleaned up color handling in NetDriver
* refixed tabview unit test
* WindowsDriver color code cleanup
* WindowsDriver color code cleanup
* CursesDriver color code cleanup
* CursesDriver - Adding _BOLD has no effect. Further up the stack we cast the return of ColorToCursesColor from int to short and the _BOLD values don't fit in a short.
* CursesDriver color code - make code more accurate
* CursesDriver color code - make code more accurate
* Simplified ConsoleDriver.GetColors API
* Simplified ConsoleDriver.GetColors API further
* Improved encapslation of Attribute; prep for TrueColor & other attributes like blink
* Fixes#2249. CharacterMap isn't refreshing well non-BMP code points on scroll.
* Use GetRange to take some of the runes before convert to string.
* Attempting to fix unit tests not being cleaned up
* Fixes#2658 - ConsoleDriver.IsRuneSupported
* Fixes#2658 - ConsoleDriver.IsRuneSupported (for WindowsDriver)
* Check all the range values and not only the max value.
* Reducing code.
* Fixes#2674 - Unit test process doesn't exit
* Changed Cell to support IsDirty and list of Runes
* add support for rendering TrueColor output on Windows merging veeman & tznind code
* add colorconverter changes
* fixed merged v2_develop
* Fixing merge bugs
* Fixed merge bugs
* Fixed merge bugs - all unit tests pass
* Debugging netdriver
* More netdriver diag
* API docs for escutils
* Update unicode scenario to stress more stuff
* Contents: Now a 2D array of Cells; WIP
* AddRune and ClearContents no longer virtual/abstract
* WindowsDriver renders correctly again
* Progress on Curses
* Progress on Curses
* broke windowsdriver
* Cleaned up FakeMainLoop
* Cleaned up some build warnings
* Removed _init from AutoInitShutdown as it's not needed anymore
* Removed unused var
* Removed unused var
* Fixed nullabiltiy warning in LineCanvas
* Fixed charmap crash
* Fixes#2758 in v2
* Port testonfail fix to v2
* Remove EnableConsoleScrolling
* Backport #2764 from develop (clear last line)
* Remove uneeded usings
* Progress on unicode
* Merged in changes from PR #2786, Fixes#2784
* revamp charmap rendering
* Charmap option to show glyph widths
* Fixed issue with wide glpyhs being overwritten
* Fixed charmap startcodepoint change issue
* Added abiltiy to see ncurses verison/lib
* Fought with CursesDriver; giving up for now. See notes.
* Leverage Wcwidth nuget library instaed of our own tables
* enhanced charmap Details dialog
* Final attempt at fixing curses
---------
Co-authored-by: BDisp <bd.bdisp@gmail.com>
Co-authored-by: adstep <stephensonadamj@gmail.com>
* Comment/warning clean up
* Moved Text and Drawing out
* Moved Layout out
* Removed extra lines
* Removed Mouse out
* Reorgainzed View
* API docs
* removed border.cs
* TopLevel.Resized -> TerminalResized
* Mdi -> Overlapped
* Removed confusing and un-needed WillPresent
* privates -> _
* Tweaked RunLoop API