Commit Graph
51 Commits
Author SHA1 Message Date
Agel 5151e40bde mac packaging fixes 2026-11-12 15:51:24 +01:00
Agel 8782a3be8a ci: add Windows on ARM64 cross-compilation and packaging jobs
- Add `build-windows-arm64` and `package-windows-arm64` stages to `.gitlab-ci.yml` and wire download links to wiki updates
- Create `scripts/mingw-w64-arm64-toolchain.cmake` targeting `Windows` / `aarch64` with LLVM-MinGW
- Update `docker/Dockerfile.build` with LLVM-MinGW toolchain, MSYS2 Qt 6.10 ARM64 packages, and ARM64 cross-compiled static libraries (libiconv, uchardet, zlib, minizip, libarchive)
- Isolate GCC x86_64 and LLVM-MinGW ARM64 toolchains in `scripts/mingw-w64-toolchain.cmake` and PATH configuration
- Refactor `packaging/package-windows.sh` to package both x86_64 and ARM64 runtime DLLs and support MSYS2 plugin/QML directory layouts
- Update `scripts/test-ci-windows.sh` with `--arm64`, `--only-arm64`, `--image`, and local image detection
- Guard `-mwindows` link flag with `if(MINGW)` in `CMakeLists.txt`
- Document Windows ARM64 build targets and instructions in `AGENTS.md` and `README.md`
2026-10-31 14:15:36 +01:00
Agel fe969bab16 txt support 2026-10-31 00:15:55 +01:00
Agel 85ae0d4ad9 lint refactor 2026-10-30 16:48:58 +01:00
Agel c25e8ddb90 some refactor 2026-10-30 12:00:49 +01:00
Agel c5439099f6 fb2 support 2026-10-29 17:31:37 +01:00
Agel 18ea76bd89 Merge branch 'fix_epub_author_parsing' into render-rewrite 2026-10-29 15:33:04 +01:00
Agel 35d460e1c7 Merge branch 'distill_text_layout_engine' into render-rewrite 2026-10-29 15:31:51 +01:00
Agel e64bf33f65 test: propagate text layout engine specification test suite
Formalize the Asteria Qt text layout engine behavior and establish
comprehensive test coverage across all 94 Allium specification
obligations for two-phase layout, Knuth-Plass line breaking, and
reading session state management.

- Add `specs/text-layout-engine.allium` detailing layout lifecycle,
  generation monotonicity, viewport metrics, and contrast safety.
- Implement structural equality operators (`operator==`) across layout
  domain value types (`BoxStyle`, `InlineItem`, `BlockItem`,
  `ContentChunk`, `KnuthPlass::Item`, positioned line/run elements,
  and `BookPosition`) to enable deterministic assertion testing.
- Introduce `TextLayoutEngineSpecTest` verifying entity fields, value
  equality, enum comparability, contract signatures, config defaults,
  lifecycle state transitions, rules, and invariants.
- Register `TextLayoutEngineSpecTest` in `CMakeLists.txt` and update
  test inventory in `AGENTS.md`.
2026-10-29 15:21:28 +01:00
Agel bde4e310b5 feat(formats): implement author attribution service and propagate spec tests
Book metadata extraction previously handled author parsing naively by taking only the first raw dc:creator string, ignoring MARC relator roles, multi-creator ordering, deduplication, and structured author fallbacks.

Define the formal author attribution model in specs/book-author-parsing.allium and propagate the specification into a comprehensive test suite (AuthorAttributionTest) covering all 23 obligations across value equality, lifecycle state transitions, contract invariants, and surface exposure.

Implement AuthorAttribution, AuthorAttributionService, and BookMetadataSurface to fulfill:
- Dublin Core precedence over structured author elements
- MARC role code resolution (aut -> Author, edt -> Editor, trl -> Translator, ill -> Illustrator, custom capitalized)
- Grouping creators by resolved role in order of appearance with deduplication
- Fallback formatting for structured author fields (first, middle, last, nickname)
- Complete status lifecycle enforcement (unparsed to parsed)

Register AuthorAttributionTest in CMakeLists.txt and update AGENTS.md documentation.
2026-10-29 15:21:06 +01:00
Agel 3ff861a2a0 test(reading): propagate Allium specification tests for Knuth-Plass rendering pipeline
Formalize the behavioral specification for off-thread Knuth-Plass text
chunk layout and virtualized QML rendering in specs/knuth-plass-rendering.allium,
and introduce a test suite covering all 66 specification obligations across
value types, state machine transitions, invariants, and surface contracts.

To satisfy the specification's precondition and invariant contracts:
- Validate and clamp initial restore chunk bounds when opening documents
  in ReadingModel to ensure anchor chunks remain strictly within bounds.
- Guard scroll position updates against negative and out-of-bounds chunk
  indices to honor the ScrollPositionChanged preconditions.
- Emit positionSaved on publisher color toggles to fulfill the
  PositionPersisted contract without triggering unnecessary relayouts.
- Register KnuthPlassRenderingSpecTest in CMakeLists.txt and document the
  spec and test hierarchy in AGENTS.md.
2026-10-29 15:18:14 +01:00
Agel 905c61da52 visual fix 2026-10-25 22:12:32 +01:00
Agel 00c88a940c windows build fix 2026-10-25 21:41:24 +01:00
Agel d14170a68f reintroduced epub support 2026-10-25 19:59:23 +01:00
Agel 3faedd4251 old render cleanup part 3 2026-10-25 15:43:51 +01:00
Agel cef762c3ee old render cleanup part 2 2026-10-25 15:10:38 +01:00
Agel acc7e71e7b old render cleanup part 1 2026-10-25 14:22:12 +01:00
Agel 83968646c6 Refactor using Fable 2026-07-31 17:31:02 +02:00
Agel bb18197228 fix? build-windows 2026-05-24 08:41:21 +02:00
Agel bfc50a67b8 CBR and folder formats 2026-05-23 00:15:35 +02:00
Agel e043ded6b1 Manga rendering mode 2026-05-22 12:10:42 +02:00
Agel 9167f10b1c Manga (CBZ) Support 2026-05-12 16:37:03 +02:00
Agel 7fdd56a7f5 Initial FB2 support 2026-04-17 16:59:36 +02:00
Agel 04bf291229 make settings a popup 2026-04-17 15:30:00 +02:00
Agel 0c17c7d351 fix linux tests 2026-04-17 09:20:47 +02:00
Agel 116fcdf7a4 Add back history view cover photos 2026-04-17 00:12:13 +02:00
Agel 96b7838a4b Add custom theme 2026-04-14 20:52:07 +02:00
Agel 598566c2a4 Rename Library to History 2026-04-11 22:22:14 +02:00
Agel 2568f9089b Add Mac support 2026-04-10 00:07:16 +02:00
Agel ad0d7376b3 Web image support 2026-04-08 22:10:10 +02:00
Agel 9280c838b2 Some refactor 2026-04-08 14:01:03 +02:00
Agel a31b20534a Upgrade to Qt 6.10.3, refactor AppState for LibraryModel integration, add ChunkMeasurer tests, and update CI/docker configurations. 2026-04-03 13:55:28 +02:00
Agel ff88cf581b Add DarkTheme and LightTheme switching 2026-03-31 20:43:37 +02:00
Agel bf31f5ca98 added image support 2026-03-29 20:49:45 +02:00
Agel d808f45346 More refactor 2026-03-23 23:20:25 +01:00
Agel f84e109a64 a bit of refactor 2026-03-23 22:49:46 +01:00
Agel 5f642c4806 Add logging in debug build and force graphics API 2026-03-20 23:33:19 +01:00
Agel c4046d8533 add library with reading history, progress tracking, and view persistence 2026-03-20 11:20:16 +01:00
Agel c62733bc26 windows icon fix 2026-03-20 09:19:33 +01:00
Agel f328e7dab0 initial epub support 2026-03-19 23:27:01 +01:00
Agel 1a4726b95a an unsuccessful attemnt to calculate current/total pages 2026-03-19 22:39:40 +01:00
Agel 353c82f6d6 fix icon on linux 2026-03-19 22:03:43 +01:00
Agel cb48341eea updated icons and wiki generation 2026-03-18 20:05:05 +01:00
Agel 22cdde9c6d fix linux build 2026-03-18 15:52:06 +01:00
Agel 29af1aa15e fixed windows release build 2026-03-18 15:45:01 +01:00
Agel 50d09f22cc Use custom image + wind build fixes 2026-03-16 20:04:21 +01:00
Agel 2ecf9f4178 restore opened file and position 2026-03-16 15:34:15 +01:00
Agel 97c79c17d3 few changes for running on windows 2026-03-16 11:29:43 +01:00
Agel 64a70bc4cf added txt support 2026-03-15 21:33:18 +01:00
Agel 3c0037cfc9 Initial UI 2026-03-15 20:33:36 +01:00