llama
5d70d01368
Merge 3e0e5914eb into 8f2144534b
2025-12-22 05:40:21 +03:00
SelfishPig
8f2144534b
Start decoding images immediately ( #4471 )
...
* Start decoding images immediately
* Start decoding images immediately (revised)
* New contributor
2025-12-20 20:27:13 +03:00
Luc Mcgrady
62252f7216
Fix/Retrievability SQL ( #4424 )
...
* Fix/SQL Retrievability Underflow
* Added: Reminder
* ./check
* Apply code diff changes
Co-authored-by: user1823 <92206575+user1823@users.noreply.github.com>
* Slight cleanup
* fix bug again
* extra label comment
* Update rslib/src/storage/sqlite.rs
Co-authored-by: user1823 <92206575+user1823@users.noreply.github.com>
* Fix: Ignore new cards
* use const
---------
Co-authored-by: user1823 <92206575+user1823@users.noreply.github.com>
2025-12-16 19:51:13 +03:00
llama
a245f8ce61
fix(build): treat proto/i18n's implicit outputs as inputs ( #4439 )
...
* fix(build): make proto/i18n's implicit outputs explicit
* use option_env! instead of rerun-if-env-changed
> As of 1.46, using env! and option_env! in source code will automatically detect changes and trigger rebuilds.
https://doc.rust-lang.org/cargo/reference/build-scripts.html#rerun-if-env-changed
* ditto for STRINGS_PY and STRINGS_TS
* fix comment
* remove space
2025-12-16 19:38:18 +03:00
GithubAnon0000
4c7b343231
CHANGE: use minus sign instead of hyphen ( #4437 )
2025-12-16 19:26:43 +03:00
Lee Doughty
4e8c992be1
fix: prevent <br> from appearing as text in error message ( #4451 )
...
* Update error text format to use RichText rather than PlainText
* Set CardTypeError messages as rich text to allow HTML formatting
* Use CardTypeError from anki.errors module
2025-12-16 19:23:40 +03:00
llama
cb7a8dbc10
fix(ci): bump cargo-deny to 0.18.6 ( #4447 )
2025-12-16 19:22:18 +03:00
llama
26751f2207
fix(io): remove incorrect error toast shown when saving twice ( #4458 )
2025-12-15 19:09:51 +03:00
Lee Doughty
2d4de33cf3
Ensure trailing spaces are placed outside cloze deletions ( #4446 )
2025-12-01 21:54:46 +03:00
llama
3e0e5914eb
remove incorrect call to ensure_terminal_shown
2025-11-23 18:51:04 +08:00
llama
7c4a1e6c00
dedup platform-specific run
2025-11-23 16:31:18 +08:00
llama
dbc7adca2d
refactor pointer casts
2025-11-22 18:23:09 +08:00
llama
5614d20bed
fix(Import): case-fold media filenames when checking uniqueness ( #4435 )
...
* add wrapper struct with case-folding get impl
* use wrapper struct
* restrict case-folding to windows
* Revert "restrict case-folding to windows"
This reverts commit aad01d904f .
* case-fold filenames for newly added media
* add test
* fix incorrect comment
2025-11-20 18:43:14 +03:00
llama
dda192f24c
fix(import): support variable field count with notetype column ( #4421 )
2025-11-19 22:48:14 +03:00
Lee Doughty
9facea0a66
feat(tts): fallback to Apple Samantha voice for TTS on macOS ( #4420 )
...
* Fallback to Apple Samantha voice for en_US TTS on macOS
* Use prefix match for Apple Samantha voice fallback
2025-11-12 22:55:47 +03:00
llama
2aa9108046
refactor windows ffi macro
2025-11-12 21:16:20 +08:00
llama
f037e260c0
refactor, fix: dlerror may return null
2025-11-12 21:14:50 +08:00
Nechaiter
c2fddcaf42
Fix FindDuplicates dialog size exceeding screen bounds ( #4426 )
2025-11-10 16:18:57 +03:00
Luc Mcgrady
5d4b00a11d
Fix/Per deck retention not used when card is moved to filtered deck ( #4413 )
...
* Fix/Per deck retention not used for filtered decks
* improve error
* Perf: prevent double "home_deck" read
* Perf: prevent duplicate database read when home deck
2025-11-10 16:03:53 +03:00
llama
d690a0aa6c
trim after splitting
2025-11-02 19:35:33 +08:00
llama
09766c1b4a
sys.executable is the bin we're getting sys.executable from 🤦♂️
2025-11-02 19:24:02 +08:00
llama
1ba8422672
remove CString unwraps
...
no idea why windows needs an explicit decl, possible compiler bug?
2025-11-02 18:31:01 +08:00
llama
5e16989ccc
update ffl run impls
2025-11-02 17:58:48 +08:00
llama
41997be586
update ffi load impls
2025-11-02 17:57:59 +08:00
llama
546fd5db97
add PyConfigExt and refactor PyFfi impl
2025-11-02 17:56:39 +08:00
llama
75ada381fc
add new ffi methods
...
we can't rely on the very high level layer alone anymore
2025-11-02 17:54:53 +08:00
llama
e8bccf13c9
refactor get_libpython_path into get_python_env_info
...
instead of just libpython's path we now get and cache the nodot version and venv bin path
2025-11-02 17:53:09 +08:00
llama
866d7adbd2
add ffi types
2025-11-02 17:50:42 +08:00
llama
2e11d86a3f
add bindgen'd py39/313 PyConfig definitions
2025-11-02 17:49:19 +08:00
llama
f1cfca27e5
launch anki embeddedly(?), fallback to usual launch
2025-11-01 22:42:46 +08:00
llama
90f969f073
add run_anki_normally
2025-11-01 22:42:29 +08:00
llama
66f95b11e8
add PyFfi impl for windows
2025-11-01 22:42:11 +08:00
llama
a9aed2928c
add PyFfi impl for nixes
2025-11-01 22:41:55 +08:00
llama
97f6e556c6
add PyFfi impl
2025-11-01 22:23:35 +08:00
llama
7d581a42e4
clear lib path cache on sync
2025-11-01 22:21:32 +08:00
llama
18759f4aa1
add get_libpython_path
2025-11-01 22:20:50 +08:00
llama
310a841b14
add libpython_path
2025-11-01 22:19:15 +08:00
llama
085e5cd750
add PyFfi
2025-11-01 22:14:51 +08:00
llama
5f5849c996
add helper scripts
2025-11-01 22:12:37 +08:00
llama
4b7dadeccf
add libc crate for macos as well (for dlopen)
2025-11-01 22:11:35 +08:00
llama
9507bb9ae8
add Win32_System_LibraryLoader feature for LoadLibraryExW
2025-11-01 22:09:44 +08:00
Luc Mcgrady
dac26ce671
Fix/Exclude BackendFrontendService from write_python_interface ( #4410 )
...
* Fix/Missing python import in write_header
* Revert "Fix/Missing python import in write_header"
This reverts commit 7c736d984d .
* exclude BackendFrontendService
---------
Co-authored-by: Abdo <abdo@abdnh.net>
2025-10-29 20:15:56 +03:00
jariji
da5b8cb5b4
Show text on occlusion cards regardless of occludeInactive ( #4387 )
...
* Show text on occlusion cards regardless of `occludeInactive`.
Before this change, on an image occlusion card, a text box was visible
during editing but not visible during review. This change makes text
visible even if other shapes would be hidden.
* Move fix to render_image_occlusion()
---------
Co-authored-by: jariji <jariji>
Co-authored-by: Abdo <abdo@abdnh.net>
2025-10-29 08:51:55 +03:00
llama
739e41ce16
fix(launcher): apply cache settings to all uv invocations ( #4404 )
2025-10-27 19:42:45 +07:00
Eltaurus
9eb6ec4db8
Fix unescaped HTML in correct type-in answers ( #4407 )
...
* Fix unescaped HTML in correct type-in answers
* unit test for correct answer escaping
* fix string conversion
2025-10-27 19:41:40 +07:00
jcznk
23d0657a01
(UI polish) Filtered decks: replace maximumSize with sizePolicy in "Limit to" QSpinBox ( #4398 )
...
* Fix (UI) / Increase width of "Limit to" QSpinBox (Filtered Decks)
Increased the width from 60 px to 75 px, so that there is always enough space, even in the case of large numbers (e.g., 99999).
* Update filtered_deck.ui (replace maximumSize with sizePolicy)
2025-10-27 19:35:07 +07:00
Abdo
510a3b3533
Update VS Code config ( #4397 )
2025-10-27 19:31:59 +07:00
Abdo
d3ca0cd0b3
Update PyCharm docs ( #4389 )
...
* Add .idea.dist
* Update PyCharm docs
2025-10-27 19:27:50 +07:00
user1823
62c950120c
Fix(launcher)/Exclude pre-release if a newer major_minor exists ( #4388 )
...
The current main produces a list like "25.09.2, 25.08b5, 25.07.5, 25.06b7, 25.02.7"
Here, 25.08b5 and 25.06b7 should be filtered out for the same reason this code filters out the older patch releases.
2025-10-27 19:26:09 +07:00
llama
a05c90cbce
fix: make uv use system certstore ( #4386 )
2025-10-27 19:19:28 +07:00