Jason Imison
d955e9edca
Merge pull request #11 from xamarin/dev/nosami/fix-1655076
...
Fix out of bounds when narrowing wide chars
2022-12-19 15:50:46 +00:00
nosami
fab2bc63f8
Fix out of bounds when narrowing wide chars
2022-12-19 15:43:05 +00:00
Jason Imison
fa4189b9fc
Merge pull request #10 from xamarin/dev/nosami/fix-1677228
...
Fix East Asian ambiguous characters (again)
2022-12-07 10:41:40 +00:00
nosami
b738ca034b
Delete commented code
2022-12-07 10:38:39 +00:00
nosami
5b74b8eeaf
Revert "Wide char fixes"
...
This reverts commit 0966fb87d9
.
2022-12-05 09:33:43 +00:00
nosami
815a01b45d
Revert "Set spacing characters in East Asian Ambiguous (A)"
...
This reverts commit ed9d770220
.
2022-12-05 09:33:10 +00:00
nosami
0966fb87d9
Wide char fixes
2022-11-23 13:27:47 +00:00
nosami
30ba64cc90
TranslateToString should return string not ustring
2022-11-23 13:27:06 +00:00
Jason Imison
b836593ef8
Merge pull request #9 from xamarin/dev/nosami/fix-1646486
...
Set spacing characters in East Asian Ambiguous (A)
2022-11-08 16:02:14 +00:00
nosami
ed9d770220
Set spacing characters in East Asian Ambiguous (A)
...
* The following functions are the same as mk_wcwidth() and
* mk_wcswidth(), except that spacing characters in the East Asian
* Ambiguous (A) category as defined in Unicode Technical Report No.11
* have a column width of 2. This variant might be useful for users of
* CJK legacy encodings who want to migrate to UCS without changing
* the traditional terminal character-width behaviour. It is not
* otherwise recommended for general use.
2022-11-08 15:57:28 +00:00
Marius Ungureanu
7feb668cbb
Set minimum OS version for the dylib
2022-09-21 20:34:21 +03:00
Jason Imison
c38abfb501
Merge pull request #8 from xamarin/dev/nosami/add-null-checks
...
Add null checking to SelectionService
2022-09-21 10:16:04 +01:00
nosami
17dfff50f0
Add null checking to SelectionService
...
It seems that it is somehow possible to hit a NRE when selecting text.
See https://devdiv.visualstudio.com/DevDiv/_queries/edit/1582556
2022-09-15 15:07:50 +01:00
Sandy Armstrong
fe59fadc22
Merge pull request #7 from xamarin/dev/sandy/macos-rc3
...
Update for macos workload RC3 API changes
2022-06-13 07:40:25 -07:00
Sandy Armstrong
ef9803b4a4
Update for macos workload RC3 API changes
2022-05-12 12:36:41 -07:00
Sandy Armstrong
bda19116c8
Merge pull request #6 from xamarin/dev/nosami/fix-1501927
...
Fix wide character support
2022-05-12 12:36:11 -07:00
nosami
d297f5db1c
Fix wide character support
...
Fixes https://devdiv.visualstudio.com/DevDiv/_workitems/edit/1501927
2022-04-07 17:25:17 +01:00
Jason Imison
905c0b4521
Merge pull request #5 from xamarin/dev/sandy/pointy
...
Missed an IntPtr->NativeHandle
2022-03-03 16:21:31 +00:00
Sandy Armstrong
5b49decd01
Missed an IntPtr->NativeHandle
2022-03-03 08:18:44 -08:00
Jason Imison
97075ecfdb
Merge pull request #4 from xamarin/dev/nosami/fix-1464804
...
Dev/nosami/fix 1464804
2022-02-14 16:58:02 +00:00
nosami
e4a3e8b5e3
Set SetLastError=true on HeavyFork
2022-01-27 18:01:56 +00:00
nosami
7cc33ed099
throw if we don't have a PID
2022-01-27 17:56:32 +00:00
nosami
08eea4a2e5
Return pid of shell process
2022-01-27 17:36:41 +00:00
Greg Munn
74409ccdd6
Clean up marshaling of winsize
...
On arm64, MAC_TIOCSWINSZ gets padded out and corrupts the winsize values and we end up with incorrect columns and rows.
2022-01-14 09:46:33 -05:00
Greg Munn
8e15e71945
Fix make all target
2022-01-14 09:44:58 -05:00
Greg Munn
f1aebb4369
If execve fails, call _exit()
...
Calling exit() will disable the CLR diagnostic pipes
2022-01-13 09:46:34 -05:00
Greg Munn
83186d0ad9
Fix passing arg and env arguments to the native helper in .NET6
2022-01-13 09:46:34 -05:00
Greg Munn
861e649149
arm
2022-01-13 09:46:34 -05:00
Greg Munn
93019c5645
Fix
2022-01-13 09:46:34 -05:00
Greg Munn
c2825d6d5a
Convert test project to net6
2022-01-13 09:46:34 -05:00
Sandy Armstrong
ef12b1d9f1
Merge pull request #3 from xamarin/dev/lluis/libpty-as-fat-lib
...
Build libtpy as a fat library
2021-12-16 05:40:14 -08:00
Lluis Sanchez
7d159efd8f
Build libtpy as a fat library
...
So that it can be loaded on an M1 Mac
2021-10-06 19:29:55 +02:00
Jason Imison
bd987e1d59
Merge pull request #2 from xamarin/dev/nosami/remove-system-drawing
...
Use custom Point struct to remove System.Drawing
2021-05-24 09:37:49 +01:00
nosami
4fcc03f8f3
Use custom Point struct to remove System.Drawing
...
The System.Drawing reference is problematic in Unified Mac apps.
As we are only using this reference for the Point struct, it seemed
prudent to just reimplement this.
2021-05-24 09:08:55 +01:00
Miguel de Icaza
aebdb7a05f
Merge pull request #80 from xamarin/dev/mrward/fix-index-out-of-range-exception-input-handler-char-attributes
...
Fix IndexOutOfRangeException processing input
2020-05-20 13:40:57 -04:00
Matt Ward
cab6deca92
Fix IndexOutOfRangeException processing input
...
Backport code changes made to SwiftTerm which prevent accessing
an array index outside its range when processing escape codes for
foreground and background colours. Code backported:
d5ab249b56/Sources/SwiftTerm/Terminal.swift (L2715-L2791)
Error:
XtermSharp.InputHandler.CharAttributes(Int32[])
XtermSharp.InputHandler.<>c__XXX.<.ctor>b__XXX(Int32[],String)
XtermSharp.EscapeSequenceParser.Parse(Byte*,Int32)
XtermSharp.InputHandler.Parse(Byte[],Int32)
XtermSharp.Terminal.Feed(Byte[],Int32)
XtermSharp.Mac.TerminalView.Feed(Byte[],Int32)
XtermSharp.Mac.ProcessTerminalView.ProcessOnData(Byte[])
XtermSharp.Mac.Process.SendOnData(Byte[])
XtermSharp.Mac.LocalProcess.ChildProcessRead(DispatchData,Int32)
CoreFoundation.DispatchIO.Trampoline_DispatchReadWriteHandler(IntPtr,IntPtr,Int32)
2020-05-18 16:29:49 +01:00
Miguel de Icaza
34de1ba2b0
Merge pull request #76 from xamarin/sgmunn-patch-1
...
Cols are user visible based, not zero based
2020-04-29 13:27:14 -04:00
Greg Munn
635cffcf94
Cols are user visible based, not zero based
2020-04-29 13:23:44 -04:00
Miguel de Icaza
0c61b010aa
Merge pull request #75 from xamarin/fix-selection-crash
...
Fixes a crash when selecting word or expression
2020-04-29 11:02:56 -04:00
Miguel de Icaza
16efd01a6f
Merge pull request #74 from sgmunn/build-badge
...
Add a build badge for github
2020-04-29 10:56:47 -04:00
Greg Munn
252509147b
Fixes a crash when selecting word or expression
...
XtermSharp.Buffer.GetChar(Int32,Int32)
XtermSharp.SelectionService.SelectWordOrExpression(Int32,Int32)
XtermSharp.Mac.TerminalView.MouseUp(NSEvent)
2020-04-29 10:50:16 -04:00
Greg Munn
6773620177
Update README.md
2020-04-28 15:22:29 -04:00
Greg Munn
e16ecac2b8
Add Github CI badge
2020-04-28 15:19:23 -04:00
Miguel de Icaza
5d8ecbe338
Update azure-pipelines.yml for Azure Pipelines
2020-04-20 15:04:49 -04:00
Miguel de Icaza
397264ef82
Attempt to install .NET Core 3.1
2020-04-20 11:12:23 -04:00
Miguel de Icaza
d023043d02
Use 10.14 instead of 10.13
2020-04-20 11:00:30 -04:00
Miguel de Icaza
04ab7d633e
Merge pull request #73 from sgmunn/ci-building
...
CI GitHub action
2020-04-20 08:34:38 -04:00
Miguel de Icaza
6dfe1f5c2a
Merge pull request #72 from xamarin/delete-line-fixes
...
Delete line fixes
2020-04-20 08:33:34 -04:00
Greg Munn
af2a292a27
Add yaml to build and test
2020-04-17 22:32:56 -04:00
Greg Munn
0e2fd2facd
Bump tests targetframework for CI
2020-04-17 22:30:41 -04:00