Skip to content

Commit 0375632

Browse files
committed
Merge remote-tracking branch 'origin' into 26.05-picked
2 parents e64c6b1 + 3b705a1 commit 0375632

214 files changed

Lines changed: 2683 additions & 7874 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/actions/setup-anki/action.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -88,13 +88,9 @@ runs:
8888
echo "UV_CACHE_DIR=$CACHE_DIR" >> "$GITHUB_ENV"
8989
fi
9090
91-
# UV_BINARY tells the build system to use our uv instead of downloading
92-
# its own (see build/ninja_gen/src/python.rs). Linux-only because on
93-
# macOS ARM the launcher needs the downloaded archive to build a universal
94-
# binary via lipo (see build/configure/src/launcher.rs).
95-
# On macOS/Windows, the downloaded uv will still use the shared cache.
96-
- name: Set UV_BINARY (Linux)
97-
if: runner.os == 'Linux'
91+
# UV_BINARY tells the build system to use our uv instead of downloading its own
92+
- name: Set UV_BINARY
93+
if: runner.os != 'Windows'
9894
shell: bash
9995
run: echo "UV_BINARY=${{ steps.setup-uv.outputs.uv-path }}" >> "$GITHUB_ENV"
10096

.github/scripts/sync_translations.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,7 @@ def sync() -> None:
2727
check_clean()
2828
for module in modules:
2929
fetch_new_translations(module)
30-
# FIXME: commented out to avoid pushing launcher.ftl for now
31-
# push_new_templates(module)
30+
push_new_templates(module)
3231
commit(".", "Update translations")
3332
push(".")
3433

.github/workflows/release.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -581,9 +581,6 @@ jobs:
581581
- name: Build wheels
582582
run: ./ninja wheels
583583

584-
- name: Build anki-release wheel
585-
run: cd qt/release && bash build.sh
586-
587584
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 #v4
588585
with:
589586
name: wheels-linux-x86

.vscode.dist/settings.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,6 @@
3535
},
3636
"rust-analyzer.cargo.buildScripts.enable": true,
3737
"python.analysis.typeCheckingMode": "off",
38-
"python.analysis.exclude": [
39-
"out/launcher/**"
40-
],
4138
"terminal.integrated.env.windows": {
4239
"PATH": "c:\\msys64\\usr\\bin;${env:Path}"
4340
}

Cargo.lock

Lines changed: 12 additions & 106 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ members = [
1212
"build/runner",
1313
"ftl",
1414
"pylib/rsbridge",
15-
"qt/launcher",
1615
"rslib",
1716
"rslib/i18n",
1817
"rslib/io",
@@ -109,7 +108,7 @@ prost-build = "0.13"
109108
prost-reflect = "0.14.7"
110109
prost-types = "0.13"
111110
pulldown-cmark = "0.13.0"
112-
pyo3 = { version = "0.25.1", features = ["extension-module", "abi3", "abi3-py39"] }
111+
pyo3 = { version = "0.29.0", features = ["extension-module", "abi3", "abi3-py39"] }
113112
rand = "0.9.4"
114113
rayon = "1.10.0"
115114
regex = "1.11.1"

README.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,10 @@
66
This repo contains the source code for the computer version of
77
[Anki](https://apps.ankiweb.net).
88

9-
# About
9+
## About
1010

1111
Anki is a spaced repetition program. Please see the [website](https://apps.ankiweb.net) to learn more.
1212

13-
This repo contains the source code for the computer version of
14-
[Anki](https://apps.ankiweb.net).
15-
1613
## Getting Started
1714

1815
### Contributing

build/configure/src/launcher.rs

Lines changed: 0 additions & 45 deletions
This file was deleted.

build/configure/src/main.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ mod aqt;
55
mod audio;
66
mod cog;
77
mod installer;
8-
mod launcher;
98
mod platform;
109
mod pylib;
1110
mod python;
@@ -19,7 +18,6 @@ use aqt::build_and_check_aqt;
1918
use audio::build_audio;
2019
use cog::check_cog;
2120
use installer::build_installer;
22-
use launcher::build_launcher;
2321
use ninja_gen::glob;
2422
use ninja_gen::inputs;
2523
use ninja_gen::protobuf::check_proto;
@@ -61,7 +59,6 @@ fn main() -> Result<()> {
6159
build_and_check_aqt(build)?;
6260

6361
if env::var("OFFLINE_BUILD").is_err() {
64-
build_launcher(build)?;
6562
build_installer(build)?;
6663
build_audio(build)?;
6764
}

build/configure/src/rust.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ fn build_rsbridge(build: &mut Build) -> Result<()> {
169169

170170
pub fn check_rust(build: &mut Build) -> Result<()> {
171171
let inputs = inputs![
172-
glob!("{rslib/**,pylib/rsbridge/**,ftl/**,build/**,qt/launcher/**,tools/minilints/**}"),
172+
glob!("{rslib/**,pylib/rsbridge/**,ftl/**,build/**,tools/minilints/**}"),
173173
"Cargo.lock",
174174
"Cargo.toml",
175175
"rust-toolchain.toml",

0 commit comments

Comments
 (0)