Commit graph

3893 commits

Author SHA1 Message Date
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 2c982b2f0d chore(schema): correct properties of cache in segment 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
dependabot[bot] 2a3b26f9fd chore: bump actions/setup-node from 4.0.4 to 4.1.0
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
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 4.0.4 to 4.1.0.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](0a44ba7841...39370e3970)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-05 00:11:28 +00: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 bb22204365 chore: pin goreleaser to v2.3.2 2024-11-04 14:29:02 +01:00
Jan De Dobbeleer 75aebca3f8 chore: remove remnant i386 reference 2024-11-04 14:29:02 +01:00
Jan De Dobbeleer 520a1b5825 chore: upgrade to go1.23.2 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 404f4e0f31 docs: use Config component instead of raw JSON 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 2791f78e46 docs(project): adjust typo 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 38452b92a8 chore: add fieldalignment action 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