Commit Graph

1047 Commits

Author SHA1 Message Date
Janne Valkealahti
094ffebaf2 Use jdk 22/17 in release workflows 2024-09-21 15:08:54 +01:00
Janne Valkealahti
747c030ea0 Use jdk22 in e2e tests 2024-09-20 08:34:11 +01:00
Janne Valkealahti
e295d37b1c Upgrade spring-boot 3.4.0-M3
- Fixes #1137
2024-09-20 08:17:24 +01:00
Janne Valkealahti
a1032b61a1 Upgrade gradle 8.10.1
- Fixes #1141
2024-09-15 08:32:51 +01:00
Janne Valkealahti
29b3c6d3f7 JUnit tag support
- Prepare build so that we can use JUnit tags and
  define shellIncludeTags/shellExcludeTags from
  command line to override settings.
- Needed for some of a new planned tests which
  would not work without full build.
- Relates #1131
2024-09-15 08:05:10 +01:00
Janne Valkealahti
5cd1b45e15 Relax javadoc source version
- To prepare jdk17+ code, don't fail if there's
  more recent javadoc format.
- Relates #1131
2024-09-15 07:52:35 +01:00
Janne Valkealahti
63d91d7ec8 Add native ci workflow
- Essentially this is a workflow acting as a placeholder
  for doing further native development as it's easier
  to have on in a main branch.
- Should eventually grow into one user can run manually
  for ffm development if it's required to build something
  on a gh platform.
2024-09-14 16:20:12 +01:00
Janne Valkealahti
8f0a736a13 Docs updates for ffm
- Relates #1131
2024-09-14 14:35:04 +01:00
Janne Valkealahti
f5521b7bf3 Fix ToolchainPlugin
- Change toolchain to get configured immediately instead
  after project evaluation which somehow caused i.e.
  vscode not detect correct project jdk in use.
- Relates #1131
2024-08-30 09:20:50 +01:00
Janne Valkealahti
bad75882e1 Initial ffm support
- Starter for jline ffm terminal provider
- Build changes for compiling with gradle toolchains
  defaulting to jdk22
- spring-shell-sample-ffm which compiles with jdk22
- ci workflow setups jdk 17/22
- Relates #1131
2024-08-30 07:05:03 +01:00
Janne Valkealahti
e1ef18e8b4 Remove disabled tasks from docs
- i.e. disabling jar will make local publish fail
- Relates #1132
2024-08-29 15:53:03 +01:00
Janne Valkealahti
6983ef5c10 Bundle Javadoc with Antora
- Remove javadoc related tasks from root project
- Add aggregated javadoc task to spring-shell-docs
- Various antora version updates
- Bundle javadoc via collector into antora build
- Remove refs to distZip in workflows
- Relates #1132
2024-08-29 08:39:56 +01:00
Janne Valkealahti
208e41ba7b Upgrade spring-boot 3.4.0-M2
- Fixes #1126
2024-08-23 07:34:45 +01:00
Janne Valkealahti
9656623b05 Update e2e scheduling 2024-08-20 09:28:20 +01:00
Janne Valkealahti
e76805ba64 Remove macos 11, add 13 and 14 2024-08-20 09:19:35 +01:00
Janne Valkealahti
7165e2d46d Fix inconsistent unknown option parsing
- Fix an issue where unknown option is wrongly
  lexed as an argument if it's later than an known
  valid option.
- Essentially if `arg1` is only valid option
  `--arg1 value1 --arg2 value2` would not complain
  about `arg2`.
- Fixes #1120
2024-08-19 17:40:52 +01:00
Janne Valkealahti
b09939856c Update docs for getting started
- Add note for interactive mode
- Fixes #1108
2024-08-14 07:48:48 +01:00
Janne Valkealahti
2786b0159e StringInput better unicode handling
- Add unicode handling in flow components in
  AbstractTextComponent which allows StringInput
  to process unicode given from jline.
- This add basic non-english character support
  for input.
- Fixes #1115
2024-08-13 14:26:32 +01:00
Janne Valkealahti
9021238ede Overhaul StatusBar for better text use
- Can change item text
- Can position items by priority(true left, false right)
  and primary(sort for draw attempt)
- Fixes #1112
2024-08-09 07:40:34 +01:00
Janne Valkealahti
02011c898c Screen writer support for AttributedString
- New Screen.Writer has new text method taking
  AttributedString instead of just String
- Fixes #1110
2024-07-28 05:08:27 +01:00
Janne Valkealahti
417789b977 Upgrade jline 3.26.3
- Fixes #1105
2024-07-24 07:06:16 +01:00
Janne Valkealahti
16085e3ba7 Upgrade spring-boot 3.4.0-M1
- Fixes #1104
2024-07-20 06:33:57 +01:00
Janne Valkealahti
3c7d0ad20b Next minor development version 2024-06-25 18:23:06 +01:00
github-actions[bot]
a54eb09b63 Next development version 2024-06-25 12:08:50 +00:00
Janne Valkealahti
39bb2cd91f Upgrade jline 3.26.2
- Fixes #1091
2024-06-20 17:11:00 +01:00
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