Daniel Pechersky
99c8d2f770
Merge fed5bc9ea6
into 3890e12c9e
2025-09-18 16:33:21 +00:00
Daniel Pechersky
fed5bc9ea6
Use published fsrs version
2025-09-18 23:33:04 +07:00
Daniel Pechersky
c6d121014c
Merge branch 'main' into speedup-update-memory-state
2025-09-18 21:49:32 +07:00
Daniel Pechersky
7c8c2d4e5e
Run ./ninja fix:minilints
2025-09-18 21:47:18 +07:00
Damien Elmes
3890e12c9e
Bump version
...
.1 release skipped due to missing bugfix
2025-09-17 16:50:13 +10:00
llama
80cff16250
fix: persist colour picker's custom palette in profile ( #4326 )
...
* add SaveCustomColours rpc method
* restore custom colour palette on editor init
* save custom colour palette on colour picker open and input
there doesn't seem to be an event fired when the picker is
cancelled/closed, so it's still possible for work to be lost
* save colours on `change` instead of `input`
`input` is supposed to be fired on every adjustment to the picker
whereas `change` is only fired when the picker is accepted, but qt
seems to treat both as the latter, so this is currently a no-op
* Store colors in the collection
One minor tweak to the logic while I was there: an invalid color no
longer invalidates all the rest.
---------
Co-authored-by: Damien Elmes <gpg@ankiweb.net>
2025-09-17 16:46:53 +10:00
Abdo
75d9026be5
Decode images asynchronously ( #4320 )
2025-09-17 09:06:42 +03:00
Damien Elmes
6854d13b88
Bump version
2025-09-17 15:50:16 +10:00
Damien Elmes
29072654db
Update translations
2025-09-17 15:50:02 +10:00
jcznk
ec6f09958a
(UI polish) Improved margins in Card Browser's "Previewer" ( #4337 )
...
* Improved margins in Card Browser's "Preview" pane
* Alternate approach that looks good on Mac too
---------
Co-authored-by: Damien Elmes <gpg@ankiweb.net>
Co-authored-by: Damien Elmes <dae@users.noreply.github.com>
2025-09-17 15:30:22 +10:00
snowtimeglass
c2957746f4
Make timebox message translatable with flexible variable order ( #4338 )
...
* Make timebox message translatable with flexible variable order
Currently, the timebox dialog message is built from two separate strings,
each containing one variable:
"{ $count } cards studied in" + "{ $count } minutes."
As a result, translators cannot freely reorder the variables in their translations.
This change introduces a single string with both variables, allowing translators
to adjust the order for more natural expressions in their languages.
* Preserve old string for now
* Ensure message doesn't display over two lines
---------
Co-authored-by: Damien Elmes <gpg@ankiweb.net>
2025-09-17 15:13:59 +10:00
Luc Mcgrady
9e415869b8
Fix/Add lower review limit to health check. ( #4334 )
2025-09-17 14:04:27 +10:00
Emil Hamrin
7e8a1076c1
Updated Dockerfile to use Ninja build system ( #4321 )
...
* Updated Dockerfile to support ninja build
* Install python using uv
* Bumped python version
* Add disclaimer (dae)
2025-09-17 14:02:09 +10:00
dependabot[bot]
b97fb45e06
Bump vite from 6.3.5 to 6.3.6 ( #4328 )
...
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite ) from 6.3.5 to 6.3.6.
- [Release notes](https://github.com/vitejs/vite/releases )
- [Changelog](https://github.com/vitejs/vite/blob/v6.3.6/packages/vite/CHANGELOG.md )
- [Commits](https://github.com/vitejs/vite/commits/v6.3.6/packages/vite )
---
updated-dependencies:
- dependency-name: vite
dependency-version: 6.3.6
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-17 12:08:11 +10:00
Damien Elmes
61094d387a
Update translations
2025-09-17 09:31:47 +10:00
Damien Elmes
90ed4cc115
Disable NPM package scripts, and assert lockfile unchanged
...
With all the recent supply chain attacks, this seems prudent. There are
three in our current package list. esbuild's is just a performance
optimization (https://github.com/evanw/esbuild/issues/4085 ), and
dprint's gets done when we invoke .bin/dprint anyway. svelte-preprocess
simply prints something to the screen.
2025-09-17 09:31:23 +10:00
Daniel Pechersky
2eab86a633
Pass some lints
2025-09-16 16:38:09 +07:00
Daniel Pechersky
46d291bd24
Minor improvement
2025-09-16 16:36:41 +07:00
Daniel Pechersky
1514b99785
Remove overall item batching (still keeping FSRS batching)
2025-09-16 16:28:06 +07:00
Daniel Pechersky
f2d6c30036
Incorporate L-M's suggestions
2025-09-16 16:28:06 +07:00
Daniel Pechersky
39e8711996
Smoke test
2025-09-16 16:28:06 +07:00
Daniel Pechersky
77dacfb808
Fix bug
2025-09-16 16:28:06 +07:00
Daniel Pechersky
0f94caaa7e
Even more cleanup
2025-09-16 16:28:06 +07:00
Daniel Pechersky
a051f0f3ee
More cleanup
2025-09-16 16:28:06 +07:00
Daniel Pechersky
4670e1efc3
Cleanup
2025-09-16 16:28:06 +07:00
Daniel Pechersky
f54e79c737
Batch both max # of items processed and max # of items passed to fsrs
2025-09-16 16:28:06 +07:00
Daniel Pechersky
dda1324872
Use fsrs batched function
2025-09-16 16:28:06 +07:00
Daniel Pechersky
e7e27825b6
Satisfy ./ninja check
2025-09-16 16:28:06 +07:00
Daniel Pechersky
a5e9a063e5
Try speeding up update_memory_state by parallelizing card.set_memory_state
2025-09-16 16:28:06 +07:00
Daniel Pechersky
e5b7ed6cad
Simplify update_memory_state
2025-09-16 16:28:06 +07:00
jcznk
4506ad0c97
Prevent clipping for QPushButton:default ( #4323 )
2025-09-14 20:44:16 +03:00
Damien Elmes
539054c34d
Bump version
2025-09-06 21:17:08 +10:00
Damien Elmes
cf12c201d8
Update translations
2025-09-06 21:16:13 +10:00
Lukas Sommer
3b0297d14d
Update deck-config.ftl ( #4319 )
2025-09-06 21:15:42 +10:00
Damien Elmes
58deb14028
Ensure the newly-spawned terminal doesn't inherit the env var
...
It seems like the open call was leaking it into the newly spawned
process.
Follow-up fix to 2491eb0316
2025-09-04 16:18:11 +10:00
Damien Elmes
5c4d2e87a1
Bump version
2025-09-04 14:39:29 +10:00
Damien Elmes
6d31776c25
Update translations
2025-09-04 14:38:45 +10:00
Luc Mcgrady
dda730dfa2
Fix/Invalid memory states in simulator after parameters changed ( #4317 )
...
* Fix/Invalid memory states after optimization for simulator
* Update ts/routes/deck-options/FsrsOptions.svelte
* typo
* ./check
2025-09-04 14:35:00 +10:00
Damien Elmes
08431106da
Exclude SSLKEYLOGFILE from Python
...
Closes #4308
2025-09-04 13:20:12 +10:00
Damien Elmes
b4b1c2013f
Use the audio input device's preferred format
...
19f9afba64
broke recording for devices that
only support a single channel. Instead of hard-coding the values, we should
be using what the device prefers.
Apparently some devices may only support float formats, so conversion code
has been added to handle that case as well.
https://forums.ankiweb.net/t/cant-record-my-voice-after-upgrading-to-25-7-3/64453
2025-09-04 12:55:36 +10:00
maxr777
5280cb2f1c
Enable nc: to only search in a specific field ( #4276 ) ( #4312 )
...
* Enable nc: to only search in a specific field
* Add FieldSearchMode enum to replace boolean fields
* Avoid magic numbers in enum
* Use standard naming so Prost can remove redundant text
---------
Co-authored-by: Damien Elmes <gpg@ankiweb.net>
2025-09-04 11:52:08 +10:00
Damien Elmes
b2ab0c0830
Add an experimental new system Qt mode to the launcher
...
Goal is to allow users to use their system Qt libraries that have
things like fcitx support available.
For #4313
2025-09-03 23:54:27 +10:00
Damien Elmes
6a985c9fb0
Add support for custom launcher venv locations
...
Closes #4305 when https://github.com/ankitects/anki-manual/pull/444 is
merged, and makes it easier to maintain multiple Anki versions at once.
2025-09-03 20:54:16 +10:00
Damien Elmes
db1d04f622
Centralize uv command setup
...
Closes #4306
2025-09-03 19:58:45 +10:00
Damien Elmes
2491eb0316
Don't reuse existing terminal process
...
May possibly help with #4304
2025-09-03 17:32:30 +10:00
Damien Elmes
06f9d41a96
Bypass install_name_tool invocation on macOS
...
Not sure when https://github.com/astral-sh/uv/issues/14893 will be
ready, and this seems to solve the problem for now.
Closes #4227
2025-09-03 17:32:30 +10:00
llama
8d5c385c76
use existing translation instead of adding new one ( #4310 ) ( #4316 )
...
Co-authored-by: Abdo <abdo@abdnh.net>
2025-09-02 23:54:17 +03:00
llama
153b972dfd
Show the number of cards added when adding ( #4310 )
...
* modify `generate_cards_for_note` to return count
* modify `add_note` to return count
* show the number of cards added when adding
2025-09-02 18:06:49 +10:00
Jarrett Ye
4ac80061ca
Add desired_retention field to NormalDeckSchema11 ( #4292 )
...
* Add desired_retention field to NormalDeckSchema11
* pass ci
2025-09-02 17:55:23 +10:00
Damien Elmes
01b825f7c6
Fix theme/checkboxes when path contains an apostrophe
...
I couldn't find a list of other characters we might need to handle too.
I tested with ", but Qt failed to start then.
https://forums.ankiweb.net/t/qt-rendering-bug-in-check-boxes/66196
2025-09-02 15:55:37 +10:00