Commit graph

1872 commits

Author SHA1 Message Date
Jan De Dobbeleer 7768cb2984 fix(segment): do not set cache when restored
resolves #6011
2024-12-14 16:16:03 +01:00
Jan De Dobbeleer c2734a97a5 feat(font): specify ttf or otf (default) using --ttf flag
resolves #5996
2024-12-14 16:16:03 +01:00
Jan De Dobbeleer 57f18f8ed2 feat(block): allow force rendering
resolves #6002
2024-12-14 16:16:03 +01:00
Jan De Dobbeleer b0ecd21ce7 refactor(python): add log statements 2024-12-14 16:16:03 +01:00
dependabot[bot] 4d31284497 chore: bump github.com/gookit/goutil from 0.6.17 to 0.6.18 in /src
Bumps [github.com/gookit/goutil](https://github.com/gookit/goutil) from 0.6.17 to 0.6.18.
- [Release notes](https://github.com/gookit/goutil/releases)
- [Commits](https://github.com/gookit/goutil/compare/v0.6.17...v0.6.18)

---
updated-dependencies:
- dependency-name: github.com/gookit/goutil
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-13 00:17:29 +00:00
dependabot[bot] db803215c2 chore: bump github.com/goccy/go-json from 0.10.3 to 0.10.4 in /src
Bumps [github.com/goccy/go-json](https://github.com/goccy/go-json) from 0.10.3 to 0.10.4.
- [Release notes](https://github.com/goccy/go-json/releases)
- [Changelog](https://github.com/goccy/go-json/blob/master/CHANGELOG.md)
- [Commits](https://github.com/goccy/go-json/compare/v0.10.3...v0.10.4)

---
updated-dependencies:
- dependency-name: github.com/goccy/go-json
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-13 00:12:35 +00:00
dependabot[bot] 994336108c chore: bump golang.org/x/crypto from 0.26.0 to 0.31.0 in /src
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.26.0 to 0.31.0.
- [Commits](https://github.com/golang/crypto/compare/v0.26.0...v0.31.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-12 00:27:38 +00:00
Jan De Dobbeleer 2ddb3b1486 chore(install): do not update registry
Some checks failed
Code QL / code-ql (push) Has been cancelled
Azure Static Web Apps CI/CD / Build and Deploy (push) Has been cancelled
Release / changelog (push) Has been cancelled
Release / artifacts (push) Has been cancelled
Release / msi (arm64) (push) Has been cancelled
Release / msi (x64) (push) Has been cancelled
Release / msi (x86) (push) Has been cancelled
Release / release (push) Has been cancelled
2024-12-07 14:50:30 +01:00
Jan De Dobbeleer 06a372424f feat(upgrade): select source 2024-12-07 14:50:30 +01:00
dependabot[bot] 6068b56e40 chore: bump golang.org/x/sys from 0.27.0 to 0.28.0 in /src
Some checks failed
Code QL / code-ql (push) Has been cancelled
Release / changelog (push) Has been cancelled
Release / artifacts (push) Has been cancelled
Release / msi (arm64) (push) Has been cancelled
Release / msi (x64) (push) Has been cancelled
Release / msi (x86) (push) Has been cancelled
Release / release (push) Has been cancelled
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.27.0 to 0.28.0.
- [Commits](https://github.com/golang/sys/compare/v0.27.0...v0.28.0)

---
updated-dependencies:
- dependency-name: golang.org/x/sys
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-06 01:10:27 +00:00
dependabot[bot] f61d48a13b chore: bump golang.org/x/image from 0.22.0 to 0.23.0 in /src
Bumps [golang.org/x/image](https://github.com/golang/image) from 0.22.0 to 0.23.0.
- [Commits](https://github.com/golang/image/compare/v0.22.0...v0.23.0)

---
updated-dependencies:
- dependency-name: golang.org/x/image
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-06 01:05:28 +00:00
dependabot[bot] b4d0a474dd chore: bump golang.org/x/text from 0.20.0 to 0.21.0 in /src
Bumps [golang.org/x/text](https://github.com/golang/text) from 0.20.0 to 0.21.0.
- [Release notes](https://github.com/golang/text/releases)
- [Commits](https://github.com/golang/text/compare/v0.20.0...v0.21.0)

---
updated-dependencies:
- dependency-name: golang.org/x/text
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-06 01:00:22 +00:00
Pietrucci-Blacher e79a5bfce5 fix(segment): sort alphabetically
Some checks failed
Code QL / code-ql (push) Waiting to run
Release / changelog (push) Waiting to run
Release / artifacts (push) Blocked by required conditions
Release / msi (arm64) (push) Blocked by required conditions
Release / msi (x64) (push) Blocked by required conditions
Release / msi (x86) (push) Blocked by required conditions
Release / cdn (arm64) (push) Blocked by required conditions
Release / cdn (x64) (push) Blocked by required conditions
Release / cdn (x86) (push) Blocked by required conditions
Release / release (push) Blocked by required conditions
Azure Static Web Apps CI/CD / Build and Deploy (push) Has been cancelled
2024-11-30 11:27:49 +01:00
Jan De Dobbeleer d7d9a35f2f refactor(golang): clean GetVersion 2024-11-30 11:27:49 +01:00
Tucker Beck b4fe0a09ce feat(block): allow templates for filler text
Some checks failed
Code QL / code-ql (push) Waiting to run
Release / changelog (push) Waiting to run
Release / artifacts (push) Blocked by required conditions
Release / msi (arm64) (push) Blocked by required conditions
Release / msi (x64) (push) Blocked by required conditions
Release / msi (x86) (push) Blocked by required conditions
Release / cdn (arm64) (push) Blocked by required conditions
Release / cdn (x64) (push) Blocked by required conditions
Release / cdn (x86) (push) Blocked by required conditions
Release / release (push) Blocked by required conditions
Azure Static Web Apps CI/CD / Build and Deploy (push) Has been cancelled
This change allows the user to specify a template for filler so that
different behavior can be configured when the block is handling an
overflow.

An example configuration might be:

```yaml
- type: prompt
  alignment: right
  filler: "{{ if .Overflow }} {{ else }}<#3d59a1,transparent>━</>{{ end }}"
  overflow: break
```

This would draw filler text ("-") when there is no overflow and empty
space when there is an overflow.
2024-11-28 19:49:48 +01:00
Jan De Dobbeleer dfcccaabe0 fix(engine): restore the use of newline everywhere
Some checks failed
Code QL / code-ql (push) Has been cancelled
Azure Static Web Apps CI/CD / Build and Deploy (push) Has been cancelled
Release / changelog (push) Has been cancelled
Release / artifacts (push) Has been cancelled
2024-11-26 20:42:56 +01:00
Jan De Dobbeleer 72fec1f5f6 fix(engine): only use carriage return on PowerShell 2024-11-26 19:53:29 +01:00
Jan De Dobbeleer e139f5eadd feat(scoop): remove option due to not correctly supporting MSI 2024-11-26 19:53:29 +01:00
Jan De Dobbeleer 5ba9ffb069 fix(prompt): print FTCS in primary prompt only
Some checks are pending
Code QL / code-ql (push) Waiting to run
Azure Static Web Apps CI/CD / Build and Deploy (push) Waiting to run
Release / changelog (push) Waiting to run
Release / artifacts (push) Blocked by required conditions
resolves #5933
2024-11-26 11:08:58 +01:00
Jan De Dobbeleer 534e7d025e fix(newline): use
by default
2024-11-26 11:08:58 +01:00
dependabot[bot] a72debd672 chore: bump github.com/charmbracelet/bubbletea in /src
Some checks are pending
Code QL / code-ql (push) Waiting to run
Release / changelog (push) Waiting to run
Release / artifacts (push) Blocked by required conditions
Bumps [github.com/charmbracelet/bubbletea](https://github.com/charmbracelet/bubbletea) from 1.2.3 to 1.2.4.
- [Release notes](https://github.com/charmbracelet/bubbletea/releases)
- [Changelog](https://github.com/charmbracelet/bubbletea/blob/main/.goreleaser.yml)
- [Commits](https://github.com/charmbracelet/bubbletea/compare/v1.2.3...v1.2.4)

---
updated-dependencies:
- dependency-name: github.com/charmbracelet/bubbletea
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-26 00:31:35 +00:00
Jan De Dobbeleer b871f33882 fix(block): right align on overflow break
resolves #5766
2024-11-25 08:18:39 +01:00
Noah Springer f9c0e25556 fix: adjust tauri and svelte segments 2024-11-25 08:18:39 +01:00
Jan De Dobbeleer 68edd2811d fix(tcsh): print ANSI newline
resolves #5785
2024-11-25 08:18:39 +01:00
dependabot[bot] 5fdf31e80a chore: bump github.com/stretchr/testify from 1.9.0 to 1.10.0 in /src
Some checks are pending
Code QL / code-ql (push) Waiting to run
Release / changelog (push) Waiting to run
Release / artifacts (push) Blocked by required conditions
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.9.0 to 1.10.0.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.9.0...v1.10.0)

---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-25 00:33:50 +00:00
Noah Springer 0d5cbc8ab3 feat(segment): add tauri and svelte
Some checks are pending
Code QL / code-ql (push) Waiting to run
Azure Static Web Apps CI/CD / Build and Deploy (push) Waiting to run
Release / changelog (push) Waiting to run
Release / artifacts (push) Blocked by required conditions
2024-11-24 10:15:21 +01:00
Silzinc 9ba85ba449 feat(fortran): add segment through gfortran 2024-11-24 10:15:21 +01:00
Jan De Dobbeleer bb93e11d5f fix(block): print leading diamond when set at block level 2024-11-20 20:30:10 +01:00
dependabot[bot] cd0eacf4df chore: bump github.com/charmbracelet/bubbletea in /src
Some checks are pending
Code QL / code-ql (push) Waiting to run
Release / changelog (push) Waiting to run
Release / artifacts (push) Blocked by required conditions
Bumps [github.com/charmbracelet/bubbletea](https://github.com/charmbracelet/bubbletea) from 1.2.2 to 1.2.3.
- [Release notes](https://github.com/charmbracelet/bubbletea/releases)
- [Changelog](https://github.com/charmbracelet/bubbletea/blob/main/.goreleaser.yml)
- [Commits](https://github.com/charmbracelet/bubbletea/compare/v1.2.2...v1.2.3)

---
updated-dependencies:
- dependency-name: github.com/charmbracelet/bubbletea
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-20 00:39:07 +00:00
shulcz 2c71d4e135 refactor(test): make JSON generation smarter by using structs 2024-11-19 14:45:09 +01:00
dependabot[bot] 7de3419e21 chore: bump github.com/hashicorp/hcl/v2 from 2.22.0 to 2.23.0 in /src
Some checks failed
Code QL / code-ql (push) Has been cancelled
Release / changelog (push) Has been cancelled
Release / artifacts (push) Has been cancelled
Bumps [github.com/hashicorp/hcl/v2](https://github.com/hashicorp/hcl) from 2.22.0 to 2.23.0.
- [Release notes](https://github.com/hashicorp/hcl/releases)
- [Changelog](https://github.com/hashicorp/hcl/blob/main/CHANGELOG.md)
- [Commits](https://github.com/hashicorp/hcl/compare/v2.22.0...v2.23.0)

---
updated-dependencies:
- dependency-name: github.com/hashicorp/hcl/v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-18 01:08:39 +00:00
Jan De Dobbeleer f32e117736 chore(upgrade): do not hint shell restart on same version
Some checks failed
Code QL / code-ql (push) Waiting to run
Release / changelog (push) Waiting to run
Release / artifacts (push) Blocked by required conditions
Azure Static Web Apps CI/CD / Build and Deploy (push) Has been cancelled
2024-11-17 12:21:19 +01:00
Jan De Dobbeleer f1f9217c90 fix(language): disable cache by default 2024-11-17 12:21:19 +01:00
Jan De Dobbeleer 3ad5be483e fix(build): restore all build artifacts 2024-11-16 14:20:08 +01:00
Jan De Dobbeleer 763cdc5782 feat(sign): use Azure Code Signing 2024-11-16 14:14:38 +01:00
Jan De Dobbeleer 2aa10619b4 chore(cache): add more logging 2024-11-16 14:07:25 +01:00
Ernesto Cianciotta e79db4a3b6 fix: in react segment added check for the react package presence 2024-11-16 10:33:32 +01:00
Eelis Peltola a89e83b1dc
fix(notice): correct command for auto upgrade 2024-11-14 16:29:58 +01:00
Jan De Dobbeleer e005f898fe feat(upgrade): correct command for major upgrades
Some checks are pending
Code QL / code-ql (push) Waiting to run
Release / changelog (push) Waiting to run
Release / artifacts (push) Blocked by required conditions
resolves #5883
2024-11-14 09:51:08 +01:00
Jan De Dobbeleer d023b76a7f fix(debug): print non-escaped prompt 2024-11-14 09:51:08 +01:00
Jan De Dobbeleer bebadac664 feat(debug): remove the need to specify shell 2024-11-14 09:51:08 +01:00
Jan De Dobbeleer b21c2d2c71 fix(config): correctly set config flag
Some checks are pending
Code QL / code-ql (push) Waiting to run
Release / changelog (push) Waiting to run
Release / artifacts (push) Blocked by required conditions
resolves #5882
2024-11-13 23:52:56 +01:00
Jan De Dobbeleer 9349de4998 refactor(environment): remove logging via interface 2024-11-13 23:52:56 +01:00
Jan De Dobbeleer 077135e6cc refactor: move TemplateCache to template package
Some checks are pending
Code QL / code-ql (push) Waiting to run
Release / changelog (push) Waiting to run
Release / artifacts (push) Blocked by required conditions
2024-11-13 16:56:41 +01:00
L. Yeung 1a313f48ec feat(cache): make template cache available to all prompts 2024-11-13 16:56:41 +01:00
dependabot[bot] 69f7f06d4e chore: bump github.com/charmbracelet/bubbletea in /src
Some checks are pending
Code QL / code-ql (push) Waiting to run
Release / changelog (push) Waiting to run
Release / artifacts (push) Blocked by required conditions
Bumps [github.com/charmbracelet/bubbletea](https://github.com/charmbracelet/bubbletea) from 1.2.1 to 1.2.2.
- [Release notes](https://github.com/charmbracelet/bubbletea/releases)
- [Changelog](https://github.com/charmbracelet/bubbletea/blob/main/.goreleaser.yml)
- [Commits](https://github.com/charmbracelet/bubbletea/compare/v1.2.1...v1.2.2)

---
updated-dependencies:
- dependency-name: github.com/charmbracelet/bubbletea
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-13 00:57:58 +00:00
L. Yeung a0002e16b5 feat(cli): restore --version option
Some checks failed
Code QL / code-ql (push) Waiting to run
Release / changelog (push) Waiting to run
Release / artifacts (push) Blocked by required conditions
Azure Static Web Apps CI/CD / Build and Deploy (push) Has been cancelled
2024-11-11 17:47:02 +01:00
L. Yeung 3e06366efa refactor(cli): hide global option --silent 2024-11-11 17:47:02 +01:00
dependabot[bot] 543bb0aad1 chore: bump github.com/charmbracelet/bubbletea in /src
Bumps [github.com/charmbracelet/bubbletea](https://github.com/charmbracelet/bubbletea) from 1.2.0 to 1.2.1.
- [Release notes](https://github.com/charmbracelet/bubbletea/releases)
- [Changelog](https://github.com/charmbracelet/bubbletea/blob/main/.goreleaser.yml)
- [Commits](https://github.com/charmbracelet/bubbletea/compare/v1.2.0...v1.2.1)

---
updated-dependencies:
- dependency-name: github.com/charmbracelet/bubbletea
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-11 00:23:53 +00:00
Jan De Dobbeleer 1bebcd1f5d fix(template): store segment data synchronous 2024-11-09 09:45:42 +01:00