Commit Graph

1022 Commits

Author SHA1 Message Date
Janne Valkealahti
e4bb00a080 Upgrade spring-boot 3.3.1
- Fixes #1090
2024-06-20 17:06:02 +01:00
github-actions[bot]
3ee49e8501 Next development version 2024-06-04 07:02:03 +00:00
Janne Valkealahti
21fc1edd73 Upgrade docs
- Fixes #1082
2024-06-01 06:58:01 +01:00
Janne Valkealahti
2eab1a6072 Revisit posix short handling in Lexer
- Posix short style is expected to have only single
  dash and letters so use this style to come up better
  separation between options and arguments.
- Fixes #1077
2024-05-28 10:07:38 +01:00
Janne Valkealahti
c9f2c6fb27 Upgrade jline 3.26.1
- Fixes #1074
2024-05-26 16:12:40 +01:00
Janne Valkealahti
f4f33196bf Upgrade spring-boot 3.3.0
- Fixes #1070
2024-05-24 06:29:54 +01:00
Janne Valkealahti
80ec92ea84 Document command availability
- Docs for annotation and registration
- Remove dynamic from header
- Move samples to snippets
- Fixes #1053
2024-05-23 09:09:49 +01:00
Janne Valkealahti
b954211d01 Add state to e2e availability tests 2024-05-23 08:48:09 +01:00
Janne Valkealahti
cd7add3e16 Update docs
- Document ShellRunner changes
- Fixes #1067
2024-05-22 17:08:59 +01:00
Janne Valkealahti
b742264718 Force compatibility machine target
- We're mostly getting issues with macos runners
  where -march=compatibility looks to work better
  but is not automatically set depending which
  cpu arch is in use.
- Relates #1064
2024-05-07 10:54:48 +01:00
Janne Valkealahti
2b18de0ffb Fix fg and bg styling
- In ListView and MenuView fix how styling for
  background and foreground are used.
- In Catalog app fix same issue in ScenarioListCell
- Fixes #1063
2024-05-07 08:05:45 +01:00
Janne Valkealahti
419f6a8aa4 Fix DefaultShellApplicationRunner error handling
- Let error from ShellRunner to pass through
  as that's needed for other error handling
  and used by exit code mappings
- Relates #1057
2024-05-03 08:12:31 +01:00
Janne Valkealahti
71960e5415 Use string array in ShellRunner
- In ShellRunner interface replace use of boot's ApplicationArguments
  into plain string array.
- Deprecate old methods with some fallbacks to give
  time for users to do updates.
- NonInteractiveShellRunner contains one breaking change due to its
  public api to set function doing conversion from ApplicationArguments
  which was potentially used via customizer hooks.
- Deprecations planned to get removed in 3.4.x.
- Fixes #1057
2024-05-02 09:44:41 +01:00
Janne Valkealahti
aaa7d879dc Run ci on windows and macos 2024-05-02 08:32:55 +01:00
Janne Valkealahti
10314ff3eb Upgrade jline 3.26.0
- Fixes #1046
2024-04-22 15:23:49 +01:00
Janne Valkealahti
e159cfcc52 Change properties for interactive and script to false on default
- Change defaults for `spring.shell.interactive.enabled` and
  `spring.shell.script.enabled` to false.
- Change samples to use interactive/script where applicable.
- Fixes #1051
2024-04-20 08:13:12 +01:00
Janne Valkealahti
290dd85dc6 Upgrade spring-boot 3.3.0-RC1
- Fixes #1050
2024-04-19 08:28:41 +01:00
Janne Valkealahti
8d3601df0e Add jni starter
- new spring-shell-starter-jni which pulls
  jline's jni terminal provider.
- Fixes #1047
2024-04-17 17:46:43 +01:00
Janne Valkealahti
054db7651f GridView fixed size position to top left
- Port changes for tview to not position fixed
  size items into bottom right if item in
  question is last one.
- Fixes #1010
2024-04-15 08:59:15 +01:00
Janne Valkealahti
544601c679 Synchronize display call
- In TerminalUI a display call may be called from
  multiple threads, while only seen to happen on
  windows, should be synchronized.
- Fixes #1039
2024-04-12 17:10:31 +01:00
Janne Valkealahti
c4e6cc97fd Upgrade native-gradle-plugin 0.10.1
- Fixes #1036
2024-03-22 09:22:17 +00:00
Janne Valkealahti
13dbdb383a Upgrade spring-boot 3.3.0-M3
- Fixes #1023
2024-03-22 08:07:27 +00:00
Janne Valkealahti
ea25fb02ad Enable signing release
- Relates #1033
2024-03-22 07:59:48 +00:00
Janne Valkealahti
d114044b29 Update nexus sync steps
- Relates #1033
2024-03-21 13:03:44 +00:00
Janne Valkealahti
1fae47c0e2 Enable signing snapshots
- Relates #1033
2024-03-21 10:54:20 +00:00
Janne Valkealahti
67f2ebb759 Add signing plugin
- Gradle build can now sign artifacts conditionally
- Relates #1033
2024-03-21 10:54:06 +00:00
Janne Valkealahti
831f2cf54b Provide pty info
- Enhance ShellContext for pty info
- Enhance CommandContext to include ShellContext
- Fixes #985
2024-03-10 17:51:38 +00:00
Janne Valkealahti
90e032d6ce Add e2e scheduling for 3.2.x branch 2024-03-10 15:49:43 +00:00
Janne Valkealahti
2f1717464a Fix docs sample
- Fixes #1012
2024-03-10 15:44:21 +00:00
Janne Valkealahti
11138b061d Upgrade gradle 8.6
- Fixes #1028
2024-03-10 15:01:42 +00:00
Janne Valkealahti
30a43c4ef0 Remove explicit copyright from docs index page
- Fixes #1024
2024-03-10 14:26:46 +00:00
Janne Valkealahti
cdbbf1d96d Only NonInteractiveShellRunner is active on default
- Disable InteractiveShellRunner and ScriptShellRunner on default
- Enable those in commands and e2e sample apps
- Document changes
- Fixes #1017
2024-03-10 13:48:54 +00:00
Janne Valkealahti
e46ded9289 Upgrade spring-boot 3.3.0-M2
- Fixes #1016
2024-03-10 12:45:58 +00:00
Janne Valkealahti
84d50d1390 Update labels 2024-03-10 12:27:32 +00:00
Janne Valkealahti
3475a7463b Next minor development version 2024-03-10 12:24:08 +00:00
Maksim Sasnouski
66dda017f9 Upgrade com.gradle.enterprise plugin to 3.16.2 2024-03-09 16:33:33 +00:00
github-actions[bot]
e5b50cf882 Next development version 2024-02-26 14:24:56 +00:00
Janne Valkealahti
19f2570f8e Upgrade EnricoMi/publish-unit-test-result-action/composite 2024-02-23 07:48:36 +00:00
Janne Valkealahti
daebf98918 Upgrade spring-boot 3.2.3
- Fixes #1007
2024-02-22 20:42:53 +00:00
Janne Valkealahti
28459388b6 Polish 2024-02-18 16:51:25 +00:00
Janne Valkealahti
8705822ad3 Add initial ProgressView docs
- Relates #995
2024-02-17 15:52:00 +00:00
Janne Valkealahti
cdb2eb8ca1 Rename Context to ProgressContext
- Relates #995
2024-02-17 14:28:51 +00:00
Janne Valkealahti
192eb5e506 Add ProgressView initial scenario
- Relates #995
2024-02-16 17:53:21 +00:00
Janne Valkealahti
7c91dbff8a Scenario lifecycle methods
- Add ScenarioContext which knows about View and start/stop
  runnable methods.
- Change Catalog to rely on ScenarioContext and call
  start/stop on an appropriate moment.
- Still keep Scenario.build() around so that we have time
  to refactor in favour of ScenarioContext.buildContext()
  or whatever build() method in it should be.
- Fixes #1004
2024-02-16 17:53:03 +00:00
Janne Valkealahti
d38d0d46e0 Fix wrong ProgressView ctor use
- Fixes a bug so that given items are actually used
- Relates #995
2024-02-16 09:27:00 +00:00
Janne Valkealahti
77a694848c ScriptShellRunner should have correct run detection
- Fix run detection so that @ has to be first character in a first
  argument and it also has additional content, like @path-to-file.
- This fixes issue where `--arg @` would blow up as an normal
  option argument.
- Fixes #996
2024-02-15 10:17:04 +00:00
Janne Valkealahti
afb8bc7104 Revisit ProgressView
- Polish a lot of things
- Do updates/redraw internally with eventloop as it'd be super
  inconvenient asking user to handle this externally
- Rewrite sample to be more unified for various cases
- Set eventloop from ViewComponent
- Relates #995
2024-02-15 09:26:23 +00:00
Janne Valkealahti
27c2717d3b Can attempt message send without subscribers
- Change state assert not to throw if we're in state
  where message would never get consumed. Now
  just returning false.
- Fixes #1002
2024-02-15 09:26:03 +00:00
Janne Valkealahti
a13109dd38 Remove 3.0.x from e2e test scheduling 2024-02-11 14:27:46 +00:00
Janne Valkealahti
547e7167b6 Change e2e native tests to use latest graal
- jdk21 and latest graalvm
- Fixes #999
2024-02-11 13:48:56 +00:00