Commit Graph
125 Commits
Author SHA1 Message Date
ANIRUDDHA ADAKandAniruddha Adak 692c929c8d fix(pdf): stream print pages with per-page budget and cleanup (#354)
* fix(pdf): stream print pages with per-page budget and cleanup

* fix(sheets): satisfy exactOptionalPropertyTypes for LazyCellMatch rawValue

* fix(pdf): render over-budget pages at reduced scale instead of skipping

- Keep the skip only for degenerate NaN/zero-area pages; pages exceeding MAX_PAGE_PIXELS now render at scale * sqrt(MAX_PAGE_PIXELS / (w*h)). Per-page cleanup retained.

Test updated: huge page renders reduced (2 imgs), NaN skipped; getPage mock selects viewports by page number so measure+render passes align.

* fix(pdf): update print tests for measure-then-render getPage counts

---------

Co-authored-by: Aniruddha Adak <aniruddhaadak80@users.noreply.github.com>
2026-09-15 11:20:18 +08:00
ANIRUDDHA ADAKandAniruddha Adak ed2bb86536 feat(sheets): infer table range from current region (fixes #298) (#371)
Clicking a single cell inside a continuous data block and choosing
Insert -> Table (Format as Table) now expands the selection to the
surrounding CurrentRegion, matching Excel. The helper scans outward
from the anchor while edge cells have values, bounded by the used
range, and requires at least header plus one data row.

Co-authored-by: Aniruddha Adak <aniruddhaadak80@users.noreply.github.com>
2026-09-14 16:39:43 +08:00
ANIRUDDHA ADAKandAniruddha Adak 616a7acf5a fix(markdown): resolve sibling images for filesystem-root files (#366)
Co-authored-by: Aniruddha Adak <aniruddhaadak80@users.noreply.github.com>
2026-09-14 14:26:03 +08:00
ANIRUDDHA ADAKandAniruddha Adak 6797e48c15 fix(shell): share ext family between recents and starred filters (#357)
* fix(shell): share ext family between recents and starred filters

* fix(sheets): satisfy exactOptionalPropertyTypes for LazyCellMatch rawValue

---------

Co-authored-by: Aniruddha Adak <aniruddhaadak80@users.noreply.github.com>
2026-09-14 10:55:43 +08:00
ANIRUDDHA ADAKandAniruddha Adak af9a63e462 fix(print-range): accept em-dash, tilde and fullwidth dash variants (#356)
* fix(print-range): accept em-dash, tilde and fullwidth dash variants

* fix(sheets): satisfy exactOptionalPropertyTypes for LazyCellMatch rawValue

---------

Co-authored-by: Aniruddha Adak <aniruddhaadak80@users.noreply.github.com>
2026-09-14 10:55:34 +08:00
ANIRUDDHA ADAKandAniruddha Adak df06cb607a fix(docs): count Southeast Asian scripts and full surrogate range in word count (#353)
* fix(docs): count Southeast Asian scripts and full surrogate range in word count

* fix(sheets): satisfy exactOptionalPropertyTypes for LazyCellMatch rawValue

---------

Co-authored-by: Aniruddha Adak <aniruddhaadak80@users.noreply.github.com>
2026-09-14 10:54:53 +08:00
ANIRUDDHA ADAKandAniruddha Adak 356dbfe508 fix(docs): clear cross-document edit state on open, new, and save (#352)
* fix(docs): clear cross-document edit state on open, new, and save

* fix(sheets): satisfy exactOptionalPropertyTypes for LazyCellMatch rawValue

---------

Co-authored-by: Aniruddha Adak <aniruddhaadak80@users.noreply.github.com>
2026-09-14 10:54:38 +08:00
ANIRUDDHA ADAKandAniruddha Adak ec5615906d fix(sheets): satisfy exactOptionalPropertyTypes for LazyCellMatch rawValue (#360)
Co-authored-by: Aniruddha Adak <aniruddhaadak80@users.noreply.github.com>
2026-09-14 10:54:10 +08:00
merrick-2002 e42da7c7c0 Sync snapshot (2026-09-13) (#361) 2026-09-14 07:03:41 +08:00
yiyuexiong 09df482a83 feat(docs): add Zotero citation integration (#332) 2026-09-14 06:19:25 +08:00
ANIRUDDHA ADAKandAniruddha Adak 01935dae3d fix(sheets): clamp copy materialization to the screen extent (#350)
Co-authored-by: Aniruddha Adak <aniruddhaadak80@users.noreply.github.com>
2026-09-13 23:40:30 +08:00
ANIRUDDHA ADAKandAniruddha Adak 0b140ffa08 fix(sheets): keep single-column prose out of delimiter sniffing on import (#351)
Co-authored-by: Aniruddha Adak <aniruddhaadak80@users.noreply.github.com>
2026-09-13 23:35:56 +08:00
ANIRUDDHA ADAKandAniruddha Adak 1b05796ec5 fix(sheets): preserve numbers and booleans in out-of-window Replace All (#349)
Co-authored-by: Aniruddha Adak <aniruddhaadak80@users.noreply.github.com>
2026-09-13 23:34:57 +08:00
ANIRUDDHA ADAKandAniruddha Adak 57566c01d1 fix(slides): normalize corrupt print and export page geometry (#345)
Co-authored-by: Aniruddha Adak <aniruddhaadak80@users.noreply.github.com>
2026-09-13 23:31:06 +08:00
ANIRUDDHA ADAKandAniruddha Adak b2a0e7a605 fix(pdf): validate style-key fonts and sizes on decode and patch (#344)
Co-authored-by: Aniruddha Adak <aniruddhaadak80@users.noreply.github.com>
2026-09-13 23:28:58 +08:00
ANIRUDDHA ADAKandAniruddha Adak 31ecbe2c50 fix(sheets): handle apostrophe sheet names in live formula shift (#342)
Co-authored-by: Aniruddha Adak <aniruddhaadak80@users.noreply.github.com>
2026-09-13 23:28:22 +08:00
ANIRUDDHA ADAKandAniruddha Adak 0ad8419f41 fix(sheets): shift whole-row spans on structural edits (#341)
Co-authored-by: Aniruddha Adak <aniruddhaadak80@users.noreply.github.com>
2026-09-13 23:27:51 +08:00
ANIRUDDHA ADAK 77a1be5ccb fix(pdf): validate colors and toggles when decoding text styles (#328) 2026-09-13 17:36:13 +08:00
ANIRUDDHA ADAK eaf7bee66f fix(slides): escape image sources in print HTML (#327) 2026-09-13 17:35:55 +08:00
ANIRUDDHA ADAK 32e16d6a2c fix(sheets): shift whole-column spans on structural edits (#325) 2026-09-13 17:34:37 +08:00
ANIRUDDHA ADAKandAniruddha Adak 0b404e1b85 fix(sheets): copy empty booleans as empty cells (#324)
Co-authored-by: Aniruddha Adak <aniruddhaadak80@users.noreply.github.com>
2026-09-13 17:01:52 +08:00
ANIRUDDHA ADAKandAniruddha Adak 2cc60febfe fix(sheets): carry quote state across lines when sniffing delimiter (#323)
Co-authored-by: Aniruddha Adak <aniruddhaadak80@users.noreply.github.com>
2026-09-13 17:00:17 +08:00
ANIRUDDHA ADAKandAniruddha Adak 38f0ecb3ba fix(sheets): keep over-precision integers as text on CSV import (#322)
* fix(sheets): keep over-precision integers as text on CSV import

* fix(sheets): limit long-ID text guard to plain integers

* style(sheets): prettier-wrap long-ID regression loop

---------

Co-authored-by: Aniruddha Adak <aniruddhaadak80@users.noreply.github.com>
2026-09-13 16:43:15 +08:00
ANIRUDDHA ADAKandAniruddha Adak d25f0fd65d fix(docs): detect paired bidi section tags (#321)
Co-authored-by: Aniruddha Adak <aniruddhaadak80@users.noreply.github.com>
2026-09-13 16:42:19 +08:00
ANIRUDDHA ADAKandAniruddha Adak 3a0bdc04be fix(pdf): raise print raster to 200 DPI within a pixel budget (#316)
* fix(pdf): raise print raster to 200 DPI within a pixel budget

* fix(pdf): keep page filter and budget print raster over selected pages

---------

Co-authored-by: Aniruddha Adak <aniruddhaadak80@users.noreply.github.com>
2026-09-13 16:40:33 +08:00
Thibault Jaigu de139a0615 feat(ai-provider): add Requesty as an OpenAI-compatible provider (#296) 2026-09-12 11:39:52 +08:00
ANIRUDDHA ADAK 6eaf6271a0 fix(docs): count Greek, Cyrillic, Hebrew, and Arabic words (#311) 2026-09-12 11:38:37 +08:00
ANIRUDDHA ADAK 86421a0c7c fix(docs): include write-protection flags in dirty check (#310) 2026-09-12 11:38:29 +08:00
ANIRUDDHA ADAK b3fcde3da6 fix(sheets): distinguish types in aggregate distinct counts (#309) 2026-09-12 11:38:18 +08:00
ANIRUDDHA ADAK 9c5808b8e8 fix(sheets): preserve consecutive CR breaks in clipboard TSV (#308) 2026-09-12 11:38:08 +08:00
ANIRUDDHA ADAK 93c1cc63d2 fix(pdf): clamp and round channels in rgb255ToHex (#307) 2026-09-12 11:37:57 +08:00
ANIRUDDHA ADAK 423e333458 fix(pdf): ignore invalid font sizes when decoding text styles (#306) 2026-09-12 11:37:47 +08:00
ANIRUDDHA ADAK 4ed7de2485 fix(docs,slides): accept spaces around dashes in print ranges (#305) 2026-09-12 11:37:35 +08:00
ANIRUDDHA ADAK 0dfb10ebe7 fix(tests): repair two red-main test expectations (#314) 2026-09-12 11:36:30 +08:00
renvix d2b898fd82 fix tab bar spacer on Windows and Linux (#291)
## Problem

The tab bar always reserves 78px on the left for the macOS traffic lights,
including on Windows and Linux.

This causes the Home tab to appear unnecessarily offset from the left edge.

## Fix

Use the existing `body.vib` class, which is already applied only on macOS,
to reserve the 78px spacer only where it is needed.

## Before

`.tab-bar-drag-spacer` is always 78px wide.

## After

- macOS: 78px
- Windows/Linux: 0px
2026-09-11 16:18:25 +08:00
ANIRUDDHA ADAKandAniruddha Adak 07af399a43 feat(markdown): add document outline sidebar with click-to-jump (#289)
Co-authored-by: Aniruddha Adak <aniruddhaadak80@users.noreply.github.com>
2026-09-11 16:18:19 +08:00
ANIRUDDHA ADAKandAniruddha Adak d35d770948 feat(pdf): add print range dialog (all/current/custom) (#288)
Co-authored-by: Aniruddha Adak <aniruddhaadak80@users.noreply.github.com>
2026-09-10 22:29:38 +08:00
ANIRUDDHA ADAKandAniruddha Adak c0415b6dfa fix(slides): respect AI composer spellcheck pref (#287)
Co-authored-by: Aniruddha Adak <aniruddhaadak80@users.noreply.github.com>
2026-09-10 20:56:06 +08:00
ANIRUDDHA ADAKandAniruddha Adak 5a60243801 fix(sheets): handle escaped quotes in CSV delimiter sniffing (#275)
Co-authored-by: Aniruddha Adak <aniruddhaadak80@users.noreply.github.com>
2026-09-10 20:56:01 +08:00
NIHoa f2f5fbd454 fix(docs): improve trailing table editing (#272)
* fix(docs): allow typing after trailing tables

* fix(docs): use text cursor after trailing tables

* fix(docs): delete empty tables from cell cursor

* fix(docs): keep inserted tables at section width
2026-09-10 11:51:32 +08:00
ANIRUDDHA ADAKandAniruddha Adak 12026fd21a fix(shell): include xls in the sheets recents filter family (#273)
Co-authored-by: Aniruddha Adak <aniruddhaadak80@users.noreply.github.com>
2026-09-10 11:50:29 +08:00
merrick-2002andGenOffice d24c964a3e Sync snapshot (2026-09-09) (#271)
- **New app: GenOffice HTML.** Open, edit and generate .html pages: a source pane with a sandboxed live preview, click-to-select elements with a floating toolbar and style panel, device-size preview, image tools and a present mode. AI generates whole pages from a brief with style directions and offers page-wide Restyle, Theme and Summarize. Export to Word runs locally through the built-in html2docx converter (native, editable OOXML; no print-to-PDF detour).
- **AI:** separate BYOK providers for web search, image generation and image/video analysis; new Codex App Server provider; Ask AI quotes the selected text and keeps it highlighted while it runs; custom AI panel text size; blocked requests retry through the Chromium network stack.
- **App:** global AutoSave setting shared by every editor; AI panel text size and chat spellcheck toggles (genoffice#249); Czech (cs) UI locale (genoffice#259); Save As defaults to the document's folder; PDF export no longer aborts on CJK file paths on Windows.
- **Docs:** Export as HTML; comments and replies edit in place from the comments pane; the caret can leave a trailing table (genoffice#266); spellcheck re-marks text as soon as it is re-enabled; AI edits are character-precise on partial selections; zoom keeps the scroll position; pasting a cell from Sheets takes the destination font.
- **Sheets:** Find no longer freezes on wide or streamed grids; Replace searches as you type; cached values of external-workbook formulas are kept instead of #ERROR! (genoffice#235); "number stored as text" is a warning, not an error (genoffice#236); paste repeats into the target range like Excel; filter criteria survive save/reopen; saves retry when Windows locks the file; many Excel-fidelity fixes for column widths, row heights, charts, slicers, number formats and CJK fonts.
- **Slides:** PDF export works for large presentations (genoffice#264); EMF/WMF picture fonts and East Asian theme fonts resolve correctly; decks with missing layouts or embedded styles still open; outline-only pie slices render.
- **PDF:** highlight and underline geometry aligns with the text; Shift+arrows extend the selection instead of paging.
- **Markdown:** Find and replace (Ctrl+F / Ctrl+H) (genoffice#253); mermaid code blocks render as diagrams (genoffice#263); better print quality.
- Thanks to community contributors @GoodScholar, @aniruddhaadak80 and @Sun8854, and to @hanyscz, @qgzln, @zyp997, @bisslot, @krakotay and @Ben03151 for the reports.

Co-authored-by: GenOffice <merrick-2002@users.noreply.github.com>
2026-09-09 18:19:13 +08:00
ANIRUDDHA ADAKandAniruddha Adak fa58fff047 fix(sheets): use -1 for unfrozen axis when opening frozen panes (#270)
Co-authored-by: Aniruddha Adak <aniruddhaadak80@users.noreply.github.com>
2026-09-09 16:15:00 +08:00
NIHoa 785d3f3705 fix(pdf): align markup selection geometry (#269) 2026-09-09 16:14:50 +08:00
merrick-2002andClaude Fable 5.1 f303cfd591 fix(docs): resolve the @genoffice/ai-provider/browser subpath in vitest (#268)
The docs vitest config aliases the bare package name to src/index.ts as a
string prefix, so the new /browser entry point resolved to index.ts/browser
and every suite importing src/shared/ipc.ts failed to load.

Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-09 15:59:13 +08:00
Sun8854andSun8854 d2fecab77a feat(ai-provider): add Codex app-server integration (#267)
Co-authored-by: Sun8854 <Sun8854@users.noreply.github.com>
2026-09-09 11:33:16 +08:00
ANIRUDDHA ADAKandAniruddha Adak 953595e2f1 fix(docs): preserve scroll position when zooming (#258)
Co-authored-by: Aniruddha Adak <aniruddhaadak80@users.noreply.github.com>
2026-09-08 21:15:16 +08:00
ANIRUDDHA ADAKandAniruddha Adak d84d4e37bc fix(markdown): improve print quality with @page margins and high-DPI styles (#260)
- Adds @page margins (2cm) for proper page layout
- Adds print-color-adjust: exact for color fidelity
- Adds break-inside: avoid for tables, code blocks, images
- Adds img max-width: 100% !important for print fidelity
- Fixes issue #211: printed text quality is visibly degraded

Co-authored-by: Aniruddha Adak <aniruddhaadak80@users.noreply.github.com>
2026-09-08 21:14:29 +08:00
ANIRUDDHA ADAKandAniruddha Adak 41a6e1564e test(docs): cover mixed-width section page boxes (issue #246) (#257)
Co-authored-by: Aniruddha Adak <aniruddhaadak80@users.noreply.github.com>
2026-09-08 21:13:05 +08:00
ANIRUDDHA ADAKandAniruddha Adak d144ab1f40 test(sheets): cover multi-match-per-row find navigation (issue #220) (#250)
Co-authored-by: Aniruddha Adak <aniruddhaadak80@users.noreply.github.com>
2026-09-08 21:12:01 +08:00