Commit Graph
292 Commits
Author SHA1 Message Date
Dylan M. Taylor 2f863f8c16 Use shared SVG viewBox sizing for placed artwork 2026-11-13 05:00:48 -05:00
Dylan M. Taylor ed81afe60b Import item gradients and text paths from shared model 2026-11-13 04:57:36 -05:00
Dylan M. Taylor a32853f8b0 Read IDML item fields through shared model 2026-11-13 04:54:50 -05:00
Dylan M. Taylor a6f8be4a38 Read IDML page margins through shared model 2026-11-13 04:52:05 -05:00
Dylan M. Taylor ababbf02ac Import IDML page and spread values through model 2026-11-13 04:48:32 -05:00
Dylan M. Taylor 210d190f8d Read IDML guides through shared model 2026-11-13 04:45:50 -05:00
Dylan M. Taylor 987dc174ba Read IDML ink settings through shared model 2026-11-13 04:43:35 -05:00
Dylan M. Taylor 1055cac8ba Use typed IDML models for swatches 2026-11-13 04:38:16 -05:00
Dylan M. Taylor 1eb348f115 Use shared IDML geometry model 2026-11-13 04:30:43 -05:00
Dylan M. Taylor bfbb831e54 Use shared neutral SVG scene for paste 2026-11-13 04:25:01 -05:00
Dylan M. Taylor 2769d0b88f Move DTD and raster encoding to craft-libs 2026-11-13 04:13:55 -05:00
Dylan M. Taylor 581ba450cd Delegate screen SVG parsing and rendering 2026-11-13 03:55:54 -05:00
Dylan M. Taylor 275b907c57 Use shared PDF SVG adapter and CSV sniffing 2026-11-13 03:43:21 -05:00
Dylan M. Taylor cc9156d8b2 Delegate PDF/X-1a finishing to craft-prepress 2026-11-13 03:15:13 -05:00
Dylan M. Taylor 9272139d2b Export Presentation model directly through craft-pptx 2026-11-13 02:55:45 -05:00
Dylan M. Taylor 916749b2d0 Delegate XML parsing and PPTX writing to craft-libs 2026-11-13 02:13:35 -05:00
Dylan M. Taylor 32c239cacc Use shared image codecs for CLI previews 2026-11-13 01:59:00 -05:00
Dylan M. Taylor b6edf03809 Delegate PPTX ZIP packaging to craft-opc 2026-11-13 01:57:32 -05:00
Dylan M. Taylor 08a65d45a8 Route spreadsheet extensions through shared registry 2026-11-13 01:56:22 -05:00
Dylan M. Taylor a23b40e29a Use shared CSV and TSV format mappings 2026-11-13 01:52:51 -05:00
Dylan M. Taylor 29e0198952 Delegate delimited text parsing to craft-csv 2026-11-13 01:50:15 -05:00
Dylan M. Taylor bfef83bfd1 Use shared format probes for document opens 2026-11-13 01:46:50 -05:00
Dylan M. Taylor 44fd4aec60 Route CLI format dispatch through shared registry 2026-11-13 01:42:51 -05:00
Dylan M. Taylor d373506feb Route UI format dispatch through shared registry 2026-11-13 01:39:41 -05:00
Dylan M. Taylor aff7435b81 Route file dispatch through shared format APIs 2026-11-13 01:34:50 -05:00
Dylan M. Taylor 32348da073 Route PDF parsing and raster import through craft-libs 2026-11-13 01:19:41 -05:00
Dylan M. Taylor fcb571c52a Delegate raster codecs and text interchange to craft-libs 2026-11-13 01:11:49 -05:00
Dylan M. Taylor 9b0c6ee2a7 Delegate EPS preview parsing to craft-eps 2026-11-13 00:40:26 -05:00
Dylan M. Taylor dce5d19dc2 Delegate XLSX parsing to craft-libs 2026-11-13 00:32:11 -05:00
Dylan M. Taylor 6ff34b922f Delegate RTF parsing and writing to craft-libs 2026-11-13 00:28:33 -05:00
Dylan M. Taylor 9889488f5d Fix lockfile and EPS test after rebase 2026-11-13 00:18:41 -05:00
Dylan M. Taylor 1883719699 Move IDML package IO and SVG preflight to craft-libs 2026-11-13 00:16:41 -05:00
Dylan M. Taylor 7a0c256601 Move native bundle and EPUB packaging to craft-libs 2026-11-13 00:16:41 -05:00
Dylan M. Taylor 00d3b31ccf chore: bump version to 0.20.1 for the Flatpak update fix (#2629) 2026-11-11 14:55:49 -05:00
Dylan M. Taylor 5df1707f0e Updates: take craft-update from craft-libs main at 6e03f65bf 2026-11-11 12:43:55 -05:00
FredApps 65bac1f1fa Release: DesignCraft v0.20.0 (#2603) 2026-11-11 16:40:22 +01:00
dotCooCoo 79953b8ae3 Updates: take craft-update from craft-libs main at 1b34eba41 2026-11-08 19:45:45 -08:00
dotCooCoo 076c6b1afc Updates: the updater reports installing, ready, installed and failed, and installs at exit
craft-update moves from c5a1cbfb to c7c84230 on dotCooCoo/craft-libs, a
branch that merges storytold/craft-libs#687 and #696 into craft-libs main.

The check result window shows for every status but idle and stays closed
while the startup prompt is open. At the first start after an update it
reports that the update installed or why it failed. Its Restart to Update
calls Updater::restart_to_update. The install helper now starts when the
app exits and drops the updater.
2026-11-08 12:46:13 -08:00
a794037761 About: credits tables fit without side-scrolling and their columns resize (#2264)
* About: credits tables fit without side-scrolling and their columns resize

The Contributors table and the Models table were egui Grids inside a
two-way scroll area: they opened wider than the dialog, so they scrolled
sideways, and Company and Model sat almost touching. Both are now
egui_extras tables. Each column opens at the width of its header and widest
cell, the spare width goes to the text columns (Name; Company and Model),
and every column edge can be dragged. Widening a column grows the table
like a spreadsheet, and only then does it scroll sideways; the header stays
put while the rows scroll. Counts and dates are right-aligned and every
cell is vertically centred.

The sorted column stays highlighted and its direction shows on the
toolbar's sort-order button, so headers no longer reserve room for an
arrow. The opening widths come from fit_widths, a pure function with unit
tests that a fitted table fills its room exactly and that only the text
columns give way when room is short.

The About dialog opens 820 points wide, so every column fits at its natural width.

The workspace egui_extras entry, which no crate used, drops its svg feature, so the table
brings in no second SVG renderer.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Apply review fixes

- crates/ui-egui/src/about.rs
- crates/ui-egui/src/credits.rs

* Let every credits column be dragged, and refit changed tables

The last column was egui's remainder column, which has no drag handle, so
it could only be resized from the edge before it. It is now an ordinary
column with its own handle.

A table keeps its column widths, so switching to a longer name left the
Name column at its old width and clipped the text. The table now goes
back to the opening fit whenever that fit changes: a longer widest cell
or a resized window. Dragged widths are dropped at that point.

fit_widths could overflow the room when one column hit the minimum,
because the other columns did not take up its share. Columns now give
way in proportion to their width above the minimum.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Refit credits tables on what they measure, not the fitted widths

Comparing the fitted widths missed the case it was meant for. Name is the
only growing column, so a longer name takes its extra width from the
spare room and the fit comes out the same: a dragged Name width stayed,
clipping the longer name.

It could also drop dragged widths by accident. The fit comes from the
available width inside the scroll area, which scrolling can nudge, so
scrolling a widened table could reset it.

The table now compares the natural widths and the clip rect's width,
which scrolling does not move.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: aiongg <67543387+aiongg@users.noreply.github.com>
2026-11-05 04:33:32 +01:00
texjer 8815ef7350 Place: a file dragged in from the Finder fills the frame it was dropped on
Split out of #2073. winit sends no pointer events during a drag from another
application on macOS, so a Finder drop had no pointer and never found the frame
under it. The host now gives the pointer's place on the screen
(`Services::pointer`, `PointerFn`: the system's points before the UI scale,
from `NSEvent.mouseLocation`), and `take_pending_drops` uses it for the files
that came without a pointer, divided by egui's zoom factor and made relative
to the window.
2026-11-03 21:50:08 -05:00
aiongg 0867f82961 Merge pull request #1666 from MarekSpodBiedry/issue-1646
Fill the empty or graphic frame under the pointer when a file is dropped on it (#1646)
2026-11-03 17:00:02 -05:00
Brandon Thomas 1bca5db25b Merge pull request #1792 from marcoarnulfo/feat/thumbnailer
Linux: file managers show a .designcraft file's first page through a freedesktop thumbnailer (#1782)
2026-11-02 23:24:25 -05:00
Brandon Thomas 4e06447668 Merge pull request #1873 from Hamza0101/fix/pin-indd-dependency
Pin the indd dependency by rev, as every other git dependency is (#1599)
2026-11-02 23:24:21 -05:00
Brandon ThomasandClaude Opus 5.5 e79d682e02 Release 0.17.0
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 19:26:33 -05:00
FredApps fc47f3156e Merge current main into fix/gnome-window-decorations 2026-11-02 19:10:33 +01:00
Brandon Thomas 9f93d4344d Merge pull request #2094 from Silvertree2010/fix/2085-placed-svg-a-font-family-that-na
Match placed SVG font-family against legacy family and full names
2026-11-01 14:48:57 -05:00
Brandon ThomasandClaude Opus 5.5 1fe8885bda Release 0.16.0
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 13:58:16 -05:00
MarekSpodBiedry 84348b24c0 Skip locked frames and fill a frame with only the first file of a drop (#1646) 2026-11-01 07:40:55 +01:00
NetterSilverandClaude Opus 5.5 41a64bc10f Match placed SVG font-family against legacy family and full names
Fixes #2085

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 15:35:41 +00:00
Dylan M. Taylor 7cdc47b50c Merge pull request #2072 from aiongg/update-result-dialog
Updates: shared check-result dialog from craft-update
2026-10-31 01:05:56 -04:00