Commit Graph
14 Commits
Author SHA1 Message Date
merrick-2002 e42da7c7c0 Sync snapshot (2026-09-13) (#361) 2026-09-14 07:03:41 +08:00
ANIRUDDHA ADAK 474c8fcdc7 fix(electron-utils): validate fallback save dir instead of crashing later (#313) 2026-09-12 11:38:56 +08:00
ANIRUDDHA ADAKandAniruddha Adak a5ed6f8cf0 fix(electron-utils): trim and normalize URLs in safeExternalUrl (#274)
Co-authored-by: Aniruddha Adak <aniruddhaadak80@users.noreply.github.com>
2026-09-10 11:50:40 +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 bd46b03ee8 fix(electron-utils): skip drop files whose path resolution throws (#240)
* fix(electron-utils): skip drop files whose path resolution throws

* fix(electron-utils): extract throwing-resolver guard to satisfy lint

---------

Co-authored-by: Aniruddha Adak <aniruddhaadak80@users.noreply.github.com>
2026-09-07 11:10:10 +08:00
konghaojie-k2andClaude 607c77086f feat(shell): open documents dropped onto the window (#161)
Dropping a local file from Explorer/Finder anywhere over the app previously
did nothing visible: the navigation guard blocks Chromium's default
navigate-to-file, so drops were silently swallowed.

Add a preload-side bridge (@genoffice/electron-utils/drop-open, installed by
every surface's preload) that resolves dropped files via webUtils and forwards
recognized documents to the shell over one IPC channel. The shell routes each
path through the normal File > Open pipeline, reveals its window when the drop
landed in a detached editor, and shows the existing "not supported" dialog for
known legacy formats. Page-level drop zones that cancel their events (AI
attachment panels, slides image insert) keep priority.

While files hover, Home shows a pointer-events-none drop overlay (tokens only,
i18n key in all 19 locales).

The bridge module gets its own package subpath export so sandboxed preloads
bundle only it — importing the barrel would pull node builtins into sandboxed
preloads (bundled) or leave a bare require (externalized), both fatal there.

Co-authored-by: Claude <noreply@anthropic.com>
2026-08-27 18:14:28 +08:00
merrick-2002andGenOffice 5073e4d36b Sync snapshot (2026-08-24) (#143)
- Add Word-parity Docs shortcuts, shape-text formatting, and safer AI-created documents
- Add selection-scoped Ask AI, right-to-left grids, active row and column highlighting, and full-workbook Find improvements in Sheets
- Add local OCR text layers and persistent AI chat history in PDF
- Add selection Ask AI, effects editing, true vertical text, and rendering fidelity improvements in Slides
- Improve Korean font metrics and Office document layout fidelity across the suite
- Report an OS-locale country dimension in opt-out usage analytics with an updated privacy disclosure

Co-authored-by: GenOffice <merrick-2002@users.noreply.github.com>
2026-08-24 23:20:31 +08:00
merrick-2002andGenOffice d5558b6bbb Sync snapshot (2026-08-13) (#92)
- Docs: print dialog with live page preview and range selection; WYSIWYG print preview across apps
- Docs: header/footer fidelity - alignment, color, size, images, and tab layout (w:tabs, w:ptab)
- Docs: pagination and layout fixes - keepNext crash, blank pages, footnotes, line-height, font substitution, Tamil support
- Sheets: import implicit cell addresses and row/column default styles; keep dialog inputs inside narrow grid columns
- Slides: PowerPoint-style stage rulers, wheel page turning, and notes bar
- Slides: insert 3-D pie and 3-D column charts; render 3-D chart variants as 2-D projections
- PDF: comments margin with pin leader lines, note threads with replies, and selection-level text styles
- PDF: searchable text insertion, page management, and auto-opening of extract/split output

Co-authored-by: GenOffice <merrick-2002@users.noreply.github.com>
2026-08-13 21:37:38 +08:00
merrick-2002andGenOffice 7023e635bd Sync snapshot (2026-08-10) (#80)
- Improve DOCX rendering fidelity, pagination, image handling, and Markdown paste
- Expand PDF text editing with paragraph reflow, style preservation, and more reliable text matching
- Harden XLSX sheet deletion, localized date formats, multi-row autofit, charts, and system font support
- Add inline AI turn rollback and sent-attachment visibility across editors
- Add Office-style ScreenTips and refine ribbons, dialogs, menus, and themes
- Improve Slides cropping, rotate and flip tools, printing, animations, and editing workflows
- Add shell settings, configurable save locations, account credits, and update recovery guidance
- Add Intel macOS and RPM download support and refresh public documentation

Co-authored-by: GenOffice <merrick-2002@users.noreply.github.com>
2026-08-10 23:17:11 +08:00
merrick-2002andGenOffice df358f2775 Sync snapshot (2026-08-06) (#38)
- Movable, resizable floating objects and a shared 104-preset shape gallery across Docs, Sheets, and Slides
- Sheets Insert menu: screenshot capture, recommended charts, and an icon library
- Slides: Home slideshow module and slideshow-exit fixes
- Docs: track-changes fixes (IME input, tracked-deletion re-deletion) and Word-parity font handling
- Redact secret-looking tokens from outgoing AI messages (community contribution from PR #32, hardened with narrower patterns and tests)
- Linux packaging: AppImage and deb download instructions

Co-authored-by: GenOffice <merrick-2002@users.noreply.github.com>
2026-08-06 19:19:36 +08:00
merrick-2002andGenOffice d1de6ac44b Sync snapshot (2026-08-05) (#34)
- Add a user-selectable update channel (Stable/Beta) with a manual promote-to-stable release flow
- PDF: image signatures and WYSIWYG typed signatures with better placement, plus a status bar, keyboard navigation, and two-page spread reading upgrades
- Docs: Word-parity ribbon font controls and style gallery, an AI Format one-click preset, and restored headers/footers and TOC formatting for Pages-style docx
- Add GenOffice device-code sign-in for AI features
- Refresh UI: AI panel and ribbon styling aligned with the design system, new icons, save toasts, and content-width status bars beside a full-height AI dock
- AI reliability: retry transient image-download failures, detect empty gateway streams without killing long generations, and forward the resolved proxy to spawned CLI children
- Slides: bullet list gallery, type-ahead font filtering, and shorter clarify buttons across locales
- Add a Linux (AppImage) packaging target

Co-authored-by: GenOffice <merrick-2002@users.noreply.github.com>
2026-08-05 21:44:14 +08:00
merrick-2002andGenOffice 8f523289d6 Sync snapshot (2026-08-04) (#19)
- Docs: paragraph writing direction (LTR/RTL) toggle with auto-detection
- Docs: hardened file lifecycle, docx fidelity, and editor performance
- PDF: Export as Word via cloud conversion, non-destructive Save As, and an in-progress export dialog
- Slides: treat full-page background shapes as the page background
- Sheets: faster recalculation with a session-resident engine; better xlsx compatibility (builtin number formats, auto-fit row heights, sheet-name resolution)
- AI: surface stream and gateway errors instead of finishing empty turns; parse non-SSE JSON gateway replies; stall watchdogs
- Fixes from alpha feedback batches 3 and 4 (TOC levels, Windows menus, honest AI applies, login flow diagnostics, credits-exhausted notice)
- CI: sheets save round-trip E2E and xlsx compatibility corpus gate
- Start the 0.5 release train (v0.5.0/v0.5.1)

Co-authored-by: GenOffice <merrick-2002@users.noreply.github.com>
2026-08-04 21:26:02 +08:00
GenOffice ed084e0808 Sync snapshot (2026-08-02) 2026-08-02 21:32:13 +08:00
GenOffice d2fe8ddaae Initial public release 2026-08-02 19:52:16 +08:00