Tonttu
e24bd67658
Rune extensions micro-optimizations ( #3910 )
...
* 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 >
2025-02-25 09:42:32 -07:00
Tig
ff353fc57c
testing versions
2025-02-18 16:54:33 -07:00
Tig
e7a784b27c
Moved scripts
2025-02-18 16:53:38 -07:00
Tig
dfb3e92be8
Merge branch 'v2_develop' of github.com:gui-cs/Terminal.Gui into v2_develop
2025-02-18 16:31:20 -07:00
Tig
0330cda9ed
Merge branch 'v2_develop' of tig:tig/Terminal.Gui into v2_develop
2025-02-18 16:30:46 -07:00
Tig
40be08beef
Fixing versions 3
2025-02-18 16:30:26 -07:00
Tig
daf4f6ac8c
Trying to fix versrions ( #3912 )
...
* Fixing versions
* Fixing versions 2
2025-02-18 16:13:02 -07:00
Tig
e6c8a58291
Merge branch 'v2_develop' into v2_develop
2025-02-18 15:12:44 -08:00
Tig
ac485498c2
Fixing versions 2
2025-02-18 16:11:40 -07:00
Tig
c0cb276361
Fixing versions
2025-02-18 16:07:37 -07:00
Tig
6fcd5efa6a
Update GitVersion.yml ( #3911 )
2025-02-18 15:48:16 -07:00
Rishikeshan Sulochana/Lavakumar (Work)
dc004c4923
(Minor fix) Fix the link text, refer to the F# example too ( #3901 )
...
The sample code was removed and was replaced with a link; the markup was bleeding.
Co-authored-by: Tig <tig@users.noreply.github.com >
2025-02-05 10:03:35 -07:00
Rishikeshan Sulochana/Lavakumar (Work)
da2d20e488
Add Terminal.Gui Designer ( #3902 )
...
Terminal.Gui Designer is special in the sense it is also a good companion tool, especially for rapid prototyping and for beginners.
2025-02-05 10:02:51 -07:00
Thomas Nind
81ad695ef7
Fix foreach runes bug with unicode surrogate pairs ( #3894 )
2025-01-12 10:05:52 -07:00
Tig
7676f89e39
Merge pull request #3880 from tig/v2_3778-Command-Decoupling
...
Fixes #3778 : Decouples `Command` from `KeyBindings`
v2.0.0-develop.1
v2.0.0-v2-develop.3000
2024-12-10 07:02:40 -08:00
Tig
63b3ebf2f4
Fixed RadioGroup unit test that was previosly bogus
2024-12-10 06:51:53 -08:00
Tig
ea74179833
Refactored RadioGroup to just use Commands
2024-12-09 22:56:19 -08:00
Tig
97d4c0a0d8
Refactored RadioGroup to just use Commands
2024-12-09 22:52:45 -08:00
Tig
9563ec9734
Key -> nullable enable
2024-12-09 22:29:09 -08:00
Tig
1180b2fe31
Code cleanup
2024-12-09 22:18:25 -08:00
Tig
2b8884a881
Finished integrated tznind's work.
2024-12-09 22:03:40 -08:00
Tig
23344baca7
Incorporated tznind's stuff
2024-12-09 16:53:58 -08:00
tznind
d15b3021d1
Equality comparer support
2024-12-09 20:49:01 +00:00
tznind
c18cff280e
make keybindings share base
2024-12-09 20:43:32 +00:00
tznind
9002acf942
WIP move more to bind base class
2024-12-09 20:29:54 +00:00
tznind
bf8879537c
Super rough sketch of what generics solution would look like
2024-12-09 16:59:17 +00:00
Tig
9f4d30db2b
Unit test tweak
2024-12-08 18:34:39 -08:00
Tig
ed67edad41
Doc tweak
2024-12-08 18:30:03 -08:00
Tig
e6aeada480
Tweaked HexView
2024-12-08 17:37:28 -08:00
Tig
babc6fead9
Tweaked ColorPicker16
2024-12-08 17:10:08 -08:00
Tig
e502a13402
MouseBindings tests
2024-12-08 13:40:32 -08:00
Tig
98244b7131
KeyBindings cleanup
2024-12-08 07:23:38 -08:00
Tig
7e289f02e9
KeyBindings cleanup
2024-12-08 07:19:48 -08:00
Tig
921d125aa0
TOOD
2024-12-07 23:49:34 -08:00
Tig
0f137579c8
Combined KeyBinding classes
2024-12-07 23:42:38 -08:00
Tig
0b72db2785
Doc updates.
2024-12-07 22:22:17 -08:00
Tig
f673ef3b6c
Doc updates. Code cleanup
2024-12-07 22:12:27 -08:00
Tig
5a0b3507a0
Merged v2_develop.
...
Code cleanup
2024-12-07 14:37:17 -08:00
Tig
3e6e758302
Merge branch 'v2_develop' into v2_3778-Command-Decoupling
2024-12-07 15:21:44 -07:00
Tig
3edcf643dc
Fixed unit tests
2024-12-07 10:58:34 -08:00
Tig
62641c8f26
Merge pull request #3791 from tznind/ansi-parser
...
Fixes #3767 - Adds Ansi parser and scheduler.
2024-12-07 08:09:28 -07:00
Thomas Nind
903a886c38
Merge branch 'v2_develop' into ansi-parser
2024-12-07 10:06:29 +00:00
Tig
725df05f7b
Prepping to combine keybinding classes 2
2024-12-06 16:14:51 -07:00
Tig
7360683152
Prepping to combine keybinding classes
2024-12-06 15:25:23 -07:00
Tig
0586c303a7
Fixed ContextMenu
2024-12-06 14:32:09 -07:00
Tig
0c7d1aee8f
More refactoring. Broke CM
2024-12-06 14:16:22 -07:00
Tig
b443d52917
More refactoring. Application scope is gone.
2024-12-06 12:22:29 -07:00
Tig
7d4f4e4735
Tweaks
2024-12-06 10:31:49 -07:00
Tig
f6b65c6f08
Added mouse support. update charmap
2024-12-06 09:35:59 -07:00
Tig
3e8d91670e
API docsz'
2024-12-06 04:42:24 -07:00