Commit graph

1810 commits

Author SHA1 Message Date
Jan De Dobbeleer af76a9a3cc fix(templates): restore templates_logic 2024-11-07 10:45:27 +01:00
Jan De Dobbeleer 86291dc6bc fix(template): load cache before evaluation starts 2024-11-07 09:19:00 +01:00
dependabot[bot] 03dfd0e469 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.1.2 to 1.2.0.
- [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.1.2...v1.2.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-07 00:54:36 +00:00
Jan De Dobbeleer 63d79fe294 fix(upgrade): restore caching mechanism
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-06 19:37:13 +01:00
Jan De Dobbeleer 466f9e72b8 fix(cli): revert breaking CLI change
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-06 06:47:13 +01:00
Jan De Dobbeleer 7de2809187 fix(segment): evaluate all needs 2024-11-06 06:47:13 +01:00
L. Yeung 472bd6fba7 fix(cli): correct help text
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-05 18:19:07 +01:00
L. Yeung 0a5e1f6e8e fix(template): add missing .PSWD 2024-11-05 18:19:07 +01:00
Jan De Dobbeleer 74326fc4f2 chore(debug): use provided shell name 2024-11-05 13:13:46 +01:00
Jan De Dobbeleer da6c925945 fix(prompt): render segments when everything is executed
resolves #5816
2024-11-05 13:13:46 +01:00
Jan De Dobbeleer 52c39b8d30 fix(cache): use correct duration strings
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 #5814
resolves #5812
2024-11-05 08:47:32 +01:00
Jan De Dobbeleer 014dc08e82 fix(block): do not print newline when empty 2024-11-04 20:06:11 +01:00
Jan De Dobbeleer 225f6c6b76 fix(segment): ignore empty colors 2024-11-04 20:06:11 +01:00
Jan De Dobbeleer c457f23734 fix(notice): validate correct keyword 2024-11-04 20:06:11 +01:00
Jan De Dobbeleer 075eacaaf9 fix(init): use positional parameter
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
instead of being a complete idiot

resolves #5804
2024-11-04 18:43:03 +01:00
Jan De Dobbeleer a54041ef87 fix(build): reintroduce 386 builds
it turns out this was an issue with goreleaser,
not with the 386 builds themselves.
2024-11-04 16:52:06 +01:00
Jan De Dobbeleer 0b76beaff4 fix(image): initialize image correctly 2024-11-04 14:49:26 +01:00
Jan De Dobbeleer 75aebca3f8 chore: remove remnant i386 reference 2024-11-04 14:29:02 +01:00
Jan De Dobbeleer b51a2ceb32 chore: deprecate i386 builds 2024-11-04 13:55:06 +01:00
Jan De Dobbeleer 440be08a42 chore: remove commented out code 2024-11-04 13:55:06 +01:00
Jan De Dobbeleer 4ebbdd3c18 fix(image): initialize image CLI correctly 2024-11-04 13:55:06 +01:00
Jan De Dobbeleer 6a8cecb73b fix(color): resolve palette before ANSI conversion
resolves #5790
2024-11-04 12:15:40 +01:00
Jan De Dobbeleer 4ac1033706 refactor: move exclude/include folders to segment root 2024-11-04 12:15:40 +01:00
Jan De Dobbeleer b3b41fc60d feat(language): add version caching for 1 week 2024-11-04 12:15:40 +01:00
Jan De Dobbeleer ad5534baa8 refactor: code layout 2024-11-04 12:15:40 +01:00
Jan De Dobbeleer cea18715bb refactor: add config version 3 2024-11-04 12:15:40 +01:00
Jan De Dobbeleer d479ef88fd refactor: remove unused cache_version references 2024-11-04 12:15:40 +01:00
Jan De Dobbeleer ab39417dc2 fix(windows): do not follow app store symlinks 2024-11-04 12:15:40 +01:00
Oleksandr Babieiev d64de61436 feat(project): add support for mojo 2024-11-04 12:15:40 +01:00
Oleksandr Babieiev 6ae82f4c78 feat(segment): add mojo 2024-11-04 12:15:40 +01:00
Oleksandr Babieiev 17c19c3157 feat(project): add support for dart 2024-11-04 12:15:40 +01:00
Jan De Dobbeleer fbcd78eff1 feat(cache): create .cache if no other options are found
resolves #5758
2024-11-04 12:15:40 +01:00
Jan De Dobbeleer 9f576507b1 feat: expose segment output text
resolves #5750
2024-11-04 12:15:40 +01:00
Jan De Dobbeleer d4054b04d6 refactor: parallel segment rendering 2024-11-04 12:15:40 +01:00
Jan De Dobbeleer 87404454a4 refactor(upgrade): allow setting from CLI 2024-11-04 12:15:40 +01:00
Jan De Dobbeleer 42b776be36 refactor(segment): remove templates
BREAKING CHANGE: with templates being removed, this need to be a single template element now
2024-11-04 12:15:40 +01:00
Jan De Dobbeleer 724d25b4ee refactor: remove unused cache_timeout references 2024-11-04 12:15:40 +01:00
Jan De Dobbeleer 95d8546a8c feat(cache): add segment caching strategy 2024-11-04 12:15:40 +01:00
Jan De Dobbeleer efa8ef9880 feat(notice): disable upgrade notice by default
BREAKING CHANGE: changes `disable_notice: false` to `upgrade_notice`: true
2024-11-04 12:15:40 +01:00
Jan De Dobbeleer f1cd609c7d refactor: remove linebreak block type 2024-11-04 12:15:40 +01:00
Jan De Dobbeleer b5afe0edaf refactor: remove terminal lock 2024-11-04 12:15:40 +01:00
Jan De Dobbeleer cefe985bf7 refactor: remove env from template/text 2024-11-04 12:15:40 +01:00
Jan De Dobbeleer 701cd499df refactor: remove if/else statements 2024-11-04 12:15:40 +01:00
Jan De Dobbeleer 3bc476488a chore: allow silent rendering for benchmark testing 2024-11-04 12:15:40 +01:00
Jan De Dobbeleer 84ac954c86 perf: add sync pool for template struct 2024-11-04 12:15:40 +01:00
Jan De Dobbeleer e7cbbde984 feat: remove offset settings from block
BREAKING CHANGE: this is now completely deprecated and no longer supported
2024-11-04 12:15:40 +01:00
Jan De Dobbeleer 0c6ab9beac feat(osc): remove OSC99 from config
BREAKING CHANGE: this requires to set `pwd: OSC99` instead of `OSC99: true`
2024-11-04 12:15:40 +01:00
Jan De Dobbeleer d4b86e63e4 perf: correctly align struct fields 2024-11-04 12:15:40 +01:00
Jan De Dobbeleer 0853a527a7 refactor: render segment text in sequence 2024-11-04 12:15:40 +01:00
Jan De Dobbeleer 9e1942035f perf(template): cache template functions 2024-11-04 12:15:40 +01:00