Miguel de Icaza
c44f36c02f
This renders the default background color as transparent, allowing me to put an image later on in the background
2020-05-26 21:48:16 -04:00
Miguel de Icaza
26c194094c
Fuzzer bug fixes: The reflow code did not expect getTrimmedLenght to be actually the visible length, and crashed; There was an off-by-one error in the parsing of an escape sequence
2020-05-25 13:35:21 -04:00
Miguel de Icaza
921df00d4a
Bring newer SwiftSH.binaries
2020-05-24 10:56:47 -04:00
Miguel de Icaza
638f842b6e
Try to debug why the iOS build fails, as it works on my machine
2020-05-24 10:56:47 -04:00
Miguel de Icaza
2d0b5314b7
Create CODE_OF_CONDUCT.md ( #124 )
2020-05-24 09:43:10 -04:00
pancake
3bbe5ef21c
Fix an index out of bounds crash when using ansi256 color + bold ( #125 )
2020-05-24 09:42:45 -04:00
Miguel de Icaza
d5ab249b56
Add universal binaries for SwiftSH
2020-05-12 23:00:29 -04:00
Miguel de Icaza
9b144c174c
iOS: Some gestures
2020-05-12 00:15:10 -04:00
Miguel de Icaza
d5cc9f640c
Merge pull request #122 from migueldeicaza/ios-keyboard-accessory
...
iOS Keyboard accessory
2020-05-11 22:10:03 -04:00
Miguel de Icaza
5b91f4e290
Proper fix for the color parser, this was hanging the test suite
2020-05-11 21:59:43 -04:00
Miguel de Icaza
38b67af7eb
iOS: implement cursor keys autorepeat on inputAccessoryView, clicksound, fix build
2020-05-11 21:57:23 -04:00
Miguel de Icaza
e437ee4beb
iOS InputAccessory support, implement some of the keys, and add some refactoring needed
2020-05-11 00:50:02 -04:00
Miguel de Icaza
09c631b9c2
Work in progress- support for accessoryview
2020-05-10 00:30:14 -04:00
Miguel de Icaza
f2a6a6f27f
Remove warnings
2020-05-10 00:29:35 -04:00
Miguel de Icaza
b1dfb07f61
Update fuzzer invocation
2020-05-09 23:10:28 -04:00
Miguel de Icaza
e0b4f821c8
Cursor Save/Restore should save the character set, fixes the longest standing bug in XtermSharp/SwiftTerm
2020-05-09 23:10:28 -04:00
Miguel de Icaza
57f413c656
Another Fuzzer find - could crash the hex-parser
2020-05-09 23:10:28 -04:00
Miguel de Icaza
7bb7aa7c38
Merge pull request #110 from palmin/sixel-support-3
...
conversion of sixel graphics into images
2020-05-09 15:04:36 -04:00
Miguel de Icaza
e8a8826c1a
Update SixelDcsHandler.swift
2020-05-09 14:50:08 -04:00
Miguel de Icaza
a46d19872d
Alternative version
2020-05-09 14:46:46 -04:00
Miguel de Icaza
6fc3a820c3
Update the truecolor array as well
2020-05-09 14:45:36 -04:00
Miguel de Icaza
f2d9828350
Update to 16 bit colors
2020-05-09 14:42:03 -04:00
miguel
9c5520f9eb
Revert the patch change, this should get it building
2020-05-09 14:20:50 -04:00
Miguel de Icaza
15eef76d07
Debugging aids
2020-05-08 23:56:01 -04:00
Miguel de Icaza
4117d7870b
Should fix once and for all the SwiftSH.binaries module.modulemap clash
2020-05-08 23:55:51 -04:00
Miguel de Icaza
63b08568bb
Terminal emulation fixes for alt-screen and attributes.
...
The sequence "1049" in set mode is an alias for "1048" and "1047" and
should be clear the alt buffer when going to the normal buffer on that
scenario. This was causing "junk" to remain on the alt-buffer because
it was not being cleared for certain TERM definitions (on the iOS
client I was setting TERM to xterm-256color, while on the Mac I was
using xterm-color, so it looked like an iOS bug, but it was a general
emulation bug).
The second problem is that I missunderstood how "OptionSet.remove" works,
the operation itself is mutating, so
style.remove (.underline)
Would be enough to remove the .underline from the optionset, but instead,
I was doing:
style = style.remove (.underline)
And this operation instead return the intersection of the existing value
and the passed value, meaning that I was never clearing the state when
precise commands were used, only when a full reset was issued (which was
the case with xterm-color)
2020-05-08 23:55:23 -04:00
Miguel de Icaza
7067145cbe
Oops, turns out, I accidentally remove the test suite, bring back
2020-05-05 23:17:18 -04:00
Miguel de Icaza
df9963e9d7
Try to debug why the test suite no longer leaves a log file behind
2020-05-05 23:16:16 -04:00
Miguel de Icaza
21073ecaf0
oops
2020-05-05 23:10:49 -04:00
Miguel de Icaza
439701ae1a
These tests are run already
2020-05-05 23:03:15 -04:00
Miguel de Icaza
f92f919a2e
bring module.modulemap
2020-05-05 22:49:29 -04:00
Miguel de Icaza
23f879a170
Attempt to checkout submodules this way
2020-05-05 22:43:50 -04:00
Miguel de Icaza
e54210a999
Try another way of doing submodule checkouts
2020-05-05 22:31:31 -04:00
Miguel de Icaza
42e8d48de4
Fix build script
2020-05-05 22:09:20 -04:00
Miguel de Icaza
4ce620bca0
Fix the SD implementation, and add tests
2020-05-05 22:03:52 -04:00
Miguel de Icaza
54b84fd12c
Bring the submodule
2020-05-05 22:03:35 -04:00
Miguel de Icaza
f52438ac5e
Try to build the iOS one too
2020-05-05 09:05:19 -04:00
Miguel de Icaza
aa062ec6e7
Implement hide/show cursor, DECTCEM
2020-05-04 22:40:24 -04:00
Miguel de Icaza
3fd8128754
Merge pull request #120 from MaxDesiatov/patch-1
...
Fix typos in README.md
2020-05-04 22:27:33 -04:00
Miguel de Icaza
e9f87d485e
Finally got this behavior right, and make the old vttest pass, as well as another test
2020-05-04 22:26:31 -04:00
Max Desiatov
8e800d6d5a
Update README.md
2020-05-04 22:06:32 +01:00
Max Desiatov
aaf60c4132
Fix typo in README.md
2020-05-04 22:04:49 +01:00
Miguel de Icaza
478dc1d3b6
iOS: Take keyboard size into consideration, remove debugging junk, disable iOS chuning for now
2020-05-04 00:01:20 -04:00
Miguel de Icaza
919ee32945
Merge branch 'master' into sixel-support-3
2020-05-03 23:35:19 -04:00
Miguel de Icaza
cbbe20c46f
Disable chunking for now, it is triggering a redraw problem
2020-05-03 22:53:37 -04:00
Miguel de Icaza
408a8e818c
More tests pass
2020-05-03 21:49:10 -04:00
Miguel de Icaza
2fcee46eb9
Restructured default color handling.
...
The source of truth is now Terminal.foregroundColor and
Terminal.backgroundColor, which are in turn initialized from the
defaults in Colors.
Setting these will trigger an event that the UIs can catch and can
adjust their own colors.
But it is possible that someone wants a high-fidelity color, tied to a
particular color space, so to surface this, both the AppKit and UIKit
views surface a `nativeForegroundColor` and `nativeBackgroundColor`
that can take the native UIColor/NSColor and will set the underlying
terminal color in turn.
2020-05-03 17:59:39 -04:00
Miguel de Icaza
aed87e2973
iOS: process incoming data in chunks, otherwise, we would only get UI updates after massive chunks of data have been sent. In my local case, I would get two megabytes worth of data on a large transfer, and the UI would not update for the whole time this was being processed.
2020-05-03 17:56:29 -04:00
Miguel de Icaza
ef62a251d1
Implement foreground/background color changes, fix bugs in the palette update code (it was not redisplaying changes - subtle, I was using the wrong index, one that did not take bold into account); implements palette reset as well - pending the actual changes to UI colors, see bug #111
2020-05-03 00:04:14 -04:00
Miguel de Icaza
41b70b394d
Implement indexed color changes (OSC 4), and changed the internal color storage to 16 bits to support this
2020-05-02 20:21:55 -04:00