Skip to content
This repository was archived by the owner on Sep 23, 2023. It is now read-only.

Commit 9faf215

Browse files
SincerelyFaustlarsb24
authored andcommitted
1 parent 3d8894f commit 9faf215

File tree

256 files changed

+33426
-670
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

256 files changed

+33426
-670
lines changed

.github/workflows/ci.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
branches: [ master ]
8+
9+
jobs:
10+
test:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- uses: actions/checkout@v2
15+
16+
- uses: actions/setup-java@v1
17+
with:
18+
java-version: '12.x'
19+
20+
- uses: subosito/flutter-action@v1
21+
with:
22+
flutter-version: '2.2.x'
23+
24+
- name: Install dependencies
25+
run: flutter pub get
26+
27+
- name: Verify formatting
28+
run: flutter format --set-exit-if-changed .
29+
30+
# Consider passing '--fatal-infos' for slightly stricter analysis.
31+
# - name: Analyze project source
32+
# run: flutter analyze
33+
34+
- name: Run tests
35+
run: flutter test
36+

.gitignore

Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
# Miscellaneous
2+
*.class
3+
*.log
4+
*.pyc
5+
*.swp
6+
.DS_Store
7+
.atom/
8+
.buildlog/
9+
.history
10+
.svn/
11+
12+
# IntelliJ related
13+
*.iml
14+
*.ipr
15+
*.iws
16+
.idea/
17+
18+
# The .vscode folder contains launch configuration and tasks you configure in
19+
# VS Code which you may wish to be included in version control, so this line
20+
# is commented out by default.
21+
#.vscode/
22+
23+
# Flutter/Dart/Pub related
24+
**/doc/api/
25+
.dart_tool/
26+
.flutter-plugins
27+
.flutter-plugins-dependencies
28+
.packages
29+
.pub-cache/
30+
.pub/
31+
build/
32+
33+
# Android related
34+
**/android/**/gradle-wrapper.jar
35+
**/android/.gradle
36+
**/android/captures/
37+
**/android/gradlew
38+
**/android/gradlew.bat
39+
**/android/local.properties
40+
**/android/**/GeneratedPluginRegistrant.java
41+
42+
# iOS/XCode related
43+
**/ios/**/*.mode1v3
44+
**/ios/**/*.mode2v3
45+
**/ios/**/*.moved-aside
46+
**/ios/**/*.pbxuser
47+
**/ios/**/*.perspectivev3
48+
**/ios/**/*sync/
49+
**/ios/**/.sconsign.dblite
50+
**/ios/**/.tags*
51+
**/ios/**/.vagrant/
52+
**/ios/**/DerivedData/
53+
**/ios/**/Icon?
54+
**/ios/**/Pods/
55+
**/ios/**/.symlinks/
56+
**/ios/**/profile
57+
**/ios/**/xcuserdata
58+
**/ios/.generated/
59+
**/ios/Flutter/App.framework
60+
**/ios/Flutter/Flutter.framework
61+
**/ios/Flutter/Flutter.podspec
62+
**/ios/Flutter/Generated.xcconfig
63+
**/ios/Flutter/app.flx
64+
**/ios/Flutter/app.zip
65+
**/ios/Flutter/flutter_assets/
66+
**/ios/Flutter/flutter_export_environment.sh
67+
**/ios/ServiceDefinitions.json
68+
**/ios/Runner/GeneratedPluginRegistrant.*
69+
70+
# Exceptions to above rules.
71+
!**/ios/**/default.mode1v3
72+
!**/ios/**/default.mode2v3
73+
!**/ios/**/default.pbxuser
74+
!**/ios/**/default.perspectivev3
75+
!/packages/flutter_tools/test/data/dart_dependencies_test/**/.packages
76+
77+
example/lib/ssh2.dart

.metadata

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# This file tracks properties of this Flutter project.
2+
# Used by Flutter tool to assess capabilities and perform upgrades etc.
3+
#
4+
# This file should be version controlled and should not be manually edited.
5+
6+
version:
7+
revision: a5fa083906fcaf88b039a717c6e78b9814f3a77c
8+
channel: master
9+
10+
project_type: package

CHANGELOG.md

Lines changed: 168 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,168 @@
1+
## [3.0.6-alpha] - 2022-4-4
2+
* Export `TerminalViewState`
3+
* Added `onTap` callback to `TerminalView`
4+
5+
## [3.0.5-alpha] - 2022-4-4
6+
* Avoid resize when `RenderBox.size` is zero.
7+
* Added `charInput` and `textInput`method.
8+
* Added `requestKeyboard`, `closeKeyboard` and `hasInputConnection`method.
9+
* Export `KeyboardVisibilty`
10+
11+
## [3.0.4-alpha] - 2022-4-1
12+
* Improved text editing
13+
* Added composing state painting
14+
* Adapt to `MediaQuery.padding`
15+
16+
## [3.0.3-alpha] - 2022-3-28
17+
* Improved scroll handing
18+
* Improved resize handing
19+
* Fix focus repaint
20+
* Fix OSC title update
21+
22+
## [3.0.2-alpha] - 2022-3-28
23+
* Re-design `KeyboardVisibilty`
24+
25+
## [3.0.1-alpha] - 2022-3-27
26+
* Add `KeyboardVisibilty`
27+
28+
## [3.0.0-alpha] - 2022-3-26
29+
* Initial release of v3.
30+
31+
## [2.6.0] - 2021-12-28
32+
* Add scrollBehavior field to the TerminalView class [#55].
33+
* Feature: Search [#60]. Thanks [@devmil].
34+
* Fixes for occasional unintended multi character input [#61]. Thanks [@devmil].
35+
* Fixes ALT + L for a Mac (German Layout) [#62]. Thanks [@devmil].
36+
* Fixes example build problem of flutter-windows for new version of flutter [#63]. Thanks [@linhanyu].
37+
* Fixes inverse color text (when background == 0) [#66]. Thanks [@devmil].
38+
* Fixes assert of scrollController.position [#67]. Thanks [@linhanyu].
39+
* Change interface of ssh.dart example to satisfied new dartssh [#69]. Thanks [@linhanyu].
40+
* add configuration options for keyboard [#74]. Thanks [@jda258].
41+
* Adds check if the TerminalIsolate has already been started [#77]. Thanks [@devmil].
42+
43+
## [2.5.0-pre] - 2021-8-4
44+
* Support select word / whole row via double tap [#40]. Thanks [@devmil].
45+
* Adds "selectAll" to TerminalUiInteraction [#43]. Thanks [@devmil].
46+
* Fixes sgr processing [#44],[#45]. Thanks [@devmil].
47+
* Adds blinking Cursor support [#46]. Thanks [@devmil].
48+
* Fixes Zoom adaptions on non active buffer [#47]. Thanks [@devmil].
49+
* Adds Padding option to TerminalView [#48]. Thanks [@devmil].
50+
* Removes no longer supported LogicalKeyboardKey [#49]. Thanks [@devmil].
51+
* Adds the composing state [#50]. Thanks [@devmil].
52+
* Fix scroll problem in mobile device [#51]. Thanks [@linhanyu].
53+
54+
## [2.4.0-pre] - 2021-6-13
55+
* Update the signature of TerminalBackend.resize() to also receive dimensions in
56+
pixels[(#39)](https://github.com/TerminalStudio/xterm.dart/pull/39). Thanks [@michaellee8](https://github.com/michaellee8).
57+
58+
## [2.3.1-pre] - 2021-6-1
59+
* Export `theme/terminal_style.dart`
60+
61+
## [2.3.0-pre] - 2021-6-1
62+
* Add `import 'package:xterm/isolate.dart';`
63+
64+
## [2.2.1-pre] - 2021-6-1
65+
* Make BufferLine work on web.
66+
67+
## [2.2.0-pre] - 2021-4-12
68+
69+
## [2.1.0-pre] - 2021-3-20
70+
* Better support for resizing and scrolling.
71+
* Reflow support (in progress [#13](https://github.com/TerminalStudio/xterm.dart/pull/13)), thanks [@devmil](https://github.com/devmil).
72+
73+
## [2.0.0] - 2021-3-7
74+
* Clean up for release
75+
76+
## [2.0.0-pre] - 2021-3-7
77+
* Migrate to nnbd
78+
79+
## [1.3.0] - 2021-2-24
80+
* Performance improvement.
81+
82+
## [1.2.0] - 2021-2-15
83+
84+
* Pass TerminalView's autofocus to the InputListener that it creates. [#10](https://github.com/TerminalStudio/xterm.dart/pull/10), thanks [@timburks](https://github.com/timburks)
85+
86+
## [1.2.0-pre] - 2021-1-20
87+
88+
* add the ability to use fonts from the google_fonts package [#9](https://github.com/TerminalStudio/xterm.dart/pull/9)
89+
90+
## [1.1.1+1] - 2020-10-4
91+
92+
* Update readme
93+
94+
95+
## [1.1.1] - 2020-10-4
96+
97+
* Add brightWhite to TerminalTheme
98+
99+
## [1.1.0] - 2020-9-29
100+
101+
* Fix web support.
102+
103+
## [1.0.2] - 2020-9-29
104+
105+
* Update link.
106+
107+
## [1.0.1] - 2020-9-29
108+
109+
* Disable debug print.
110+
111+
## [1.0.0] - 2020-9-28
112+
113+
* Update readme.
114+
115+
## [1.0.0-dev] - 2020-9-28
116+
117+
* Major issues are fixed.
118+
119+
## [0.1.0] - 2020-8-9
120+
121+
* Bug fixes
122+
123+
## [0.0.4] - 2020-8-1
124+
125+
* Revert version constrain
126+
127+
## [0.0.3] - 2020-8-1
128+
129+
* Update version constrain
130+
131+
132+
## [0.0.2] - 2020-8-1
133+
134+
* Update readme
135+
136+
137+
## [0.0.1] - 2020-8-1
138+
139+
* First version
140+
141+
142+
[@devmil]: https://github.com/devmil
143+
[@michaellee8]: https://github.com/michaellee8
144+
[@linhanyu]: https://github.com/linhanyu
145+
[@jda258]: https://github.com/jda258
146+
147+
[#40]: https://github.com/TerminalStudio/xterm.dart/pull/40
148+
[#43]: https://github.com/TerminalStudio/xterm.dart/pull/43
149+
[#44]: https://github.com/TerminalStudio/xterm.dart/pull/44
150+
[#45]: https://github.com/TerminalStudio/xterm.dart/pull/45
151+
[#46]: https://github.com/TerminalStudio/xterm.dart/pull/46
152+
[#47]: https://github.com/TerminalStudio/xterm.dart/pull/47
153+
[#48]: https://github.com/TerminalStudio/xterm.dart/pull/48
154+
[#49]: https://github.com/TerminalStudio/xterm.dart/pull/49
155+
[#50]: https://github.com/TerminalStudio/xterm.dart/pull/50
156+
[#51]: https://github.com/TerminalStudio/xterm.dart/pull/51
157+
158+
159+
[#55]: https://github.com/TerminalStudio/xterm.dart/pull/55
160+
[#60]: https://github.com/TerminalStudio/xterm.dart/pull/60
161+
[#61]: https://github.com/TerminalStudio/xterm.dart/pull/61
162+
[#62]: https://github.com/TerminalStudio/xterm.dart/pull/62
163+
[#63]: https://github.com/TerminalStudio/xterm.dart/pull/63
164+
[#66]: https://github.com/TerminalStudio/xterm.dart/pull/66
165+
[#67]: https://github.com/TerminalStudio/xterm.dart/pull/67
166+
[#69]: https://github.com/TerminalStudio/xterm.dart/pull/69
167+
[#74]: https://github.com/TerminalStudio/xterm.dart/pull/74
168+
[#77]: https://github.com/TerminalStudio/xterm.dart/pull/77

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) 2020 xuty
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

0 commit comments

Comments
 (0)