Skip to content

Releases

LayMesh 0.8.2

Choose a tag to compare

@github-actions github-actions released this 16 Nov 06:47

LayMesh 0.8.2

中文

  • 在 VS Code 静态预览中左击选中对象。同一位置反复左击可从上到下切换重叠对象。右击选中区域可跳到该实例的放置代码。
  • 选中对象后显示布局、路径和绘制范围的锚点,以及适用的路径节点和贝塞尔控制点。悬浮时显示源码名称,重合点会列出多个名称。
  • 图表默认显示绘图区和轴端等定位点。鼠标靠近某条轴时,展开该轴的刻度、标签和轴线分段锚点。移开后恢复简洁视图。

English

  • Select an object in the static VS Code preview. Repeated clicks at the same position cycle through overlapping objects from front to back. Right-click the selection to open the code that places that instance.
  • See layout, path, and ink anchors, along with applicable path nodes and Bézier controls. Hover for source names, including multiple names where anchors coincide.
  • Chart selection shows plot-area anchors and axis endpoints. Move near an axis to see its tick, label, and spine segment anchors. Move away to hide those details.

LayMesh 0.8.1

Choose a tag to compare

@github-actions github-actions released this 12 Nov 15:47

LayMesh 0.8.1

中文

  • 单页 .lay 可以直接用 add(material, ...) 放置素材。赋值后可继续引用实例及其锚点。
  • 省略画布声明时,第一次 add(...) 创建 160 × 90 mm 的透明画布,布局 DPI 为 300。
  • 自定义页面时,可在放置前直接写 canvas(size=..., background=...)。现有的 page = canvas(...) 和 page.add(...) 写法仍受支持。

English

  • Place material on a .lay page with add(material, ...). Assign its result to reference the placed instance and its anchors.
  • Without a canvas declaration, the first add(...) creates a transparent 160 × 90 mm canvas with a layout DPI of 300.
  • Use a standalone canvas(size=..., background=...) before placing material to customize the page. Existing page = canvas(...) and page.add(...) calls remain supported.

LayMesh 0.8.0

Choose a tag to compare

@github-actions github-actions released this 20 Oct 15:34

LayMesh 0.8.0

中文

本版加入可组合的静态效果和对象级三维,并修复离线编辑器缩放与动画播放中的渲染、调度和资源复用问题。

  • 新增 reflection()、soft_edge() 和 three_d();形状、文字、公式与图片支持厚度、XYZ 旋转、上下斜面、正交/透视、材质和灯光。共享 Rust 网格与光栅化,保留孔洞、图片裁剪、圆角及旧二维挤出接口。
  • 提供 @laymesh/effects.css 的 30 个预设和可编辑组合示例。显示列表 v3 保留旧列表读取能力,同步 Python、LCSS、补全和中英文文档。
  • 修复圆角三维侧面的透明度及颜色条纹:分离几何覆盖与材质透明度,恢复边缘预乘量化损失,按显示密度细分曲线并执行 4×4 覆盖采样。
  • 网页缩放丢弃过期结果,操作结束后完整替换当前视口;交互期间整体变换上一帧,避免不同清晰度拼接。缩放不重新编译源码。
  • 前台播放与后台准备使用独立 Worker 和渲染器;可用硬件 GPU 参与后台绘制,任务分阶段让出执行权,切页时取消过期任务。菜单与退出不等待页面准备。
  • 修正多层阴影范围,复用静态内容和对象缓存;变换、透明度和静止保持阶段避免重复生成几何、阴影与不变画面。软件路径使用原采样密度的 Canvas2D 合成,减少整页 WASM 缓冲与反复像素转换。
  • 没有新增页数、内存或显存配额,也没有降低分辨率、删减效果或缩短动画时间。实际资源与驱动数据、缓存估算分别记录。
  • SVG、PDF、PPTX 对复杂三维局部栅格化;普通对象继续保留矢量或可编辑文本。三维参数保存在 .lay,不导出为 PowerPoint 原生三维参数。旧离线 HTML 需重新导出才能获得新运行时。

验证边界: 动画性能记录覆盖 26 页 Open Props 的自然播放、重复遍历、连续操作和离线保存重开。硬件 GPU、软件渲染和浏览器版本分别记录;4K 软件路径仍不能保证 60 Hz,部分冷页面准备仍超过 200 ms。跨后端文字抗锯齿差异保留原始失败记录和独立参考审查,不宣称逐像素相同。LibreOffice 往返与 PowerPoint 实机验收分开记录;没有实测的 PowerPoint 环境不标为通过。详见本版验证记录及其中保留的历史对照。

Marketplace 继续手动上传;GitHub Release 提供五个平台的 VSIX、Python wheel 和 SHA-256 校验和。

English

This release adds composable static effects and object-level 3D, and fixes offline-editor zoom, animation scheduling and retained rendering resources.

  • Add reflection(), soft_edge() and three_d() for shapes, text, formulas and images, with extrusion, XYZ rotation, bevels, orthographic/perspective projection, materials and lighting. Native and WASM share the Rust geometry and rasterizer.
  • Ship 30 presets in @laymesh/effects.css, editable compositions, display list v3 with older-list compatibility, Python/LCSS support, completion and bilingual documentation.
  • Fix rounded-side alpha and color stripes by separating geometry coverage from material opacity and recovering premultiplied edge quantization. Refine curves at display density and use 4×4 coverage sampling.
  • Reject stale zoom results and replace the complete current viewport after interaction. Transform one committed frame while interacting, without mixing overview/detail resolutions or recompiling source on zoom.
  • Run foreground playback and background preparation in separate Workers/renderers, using hardware GPU preparation where available. Yield at preparation boundaries, cancel stale tasks and keep menu/exit independent of page preparation.
  • Correct layered-shadow bounds, retain immutable content for transforms and opacity, and skip unchanged hold frames without shortening authored timing. Compose software frames through Canvas2D at the original sampling density to avoid repeated full-frame WASM conversion.
  • Add no fixed page, RAM or VRAM quotas; preserve resolution, effects and animation timing. Report actual allocations, process/driver measurements and texture estimates separately.
  • Rasterize complex 3D locally for SVG/PDF/PPTX while preserving ordinary vectors and editable text. Keep 3D parameters in .lay; native PowerPoint 3D parameters are not exported. Existing offline HTML files need re-export.

Verification boundary: The animation records cover natural playback of all 26 Open Props pages, repeated traversal, interaction and offline save/reopen. Hardware and software backends are reported separately. Software rendering at 4K still does not guarantee 60 Hz, and some cold-page preparation exceeds 200 ms. Cross-backend text antialiasing differences retain their original failed comparison and independent reference review. LibreOffice round trips are distinct from actual Microsoft PowerPoint testing; untested environments are not marked passed. See the release validation record and its historical comparisons.

Marketplace upload remains manual. GitHub Release provides five-platform VSIX packages, Python wheels and SHA-256 checksums.

LayMesh 0.7.2

Choose a tag to compare

@github-actions github-actions released this 19 Oct 04:16

LayMesh 0.7.2

中文

本版完善渐变与背景填充:Open Props 原始 30 组配方可在默认 OKLab 和显式 sRGB 下直接使用,渐变下面的背景底色得到保留。

  • 补齐线性、径向、圆锥及三种重复渐变,支持布局后几何计算、方向/中心/径向尺寸、长度与角度色标、双位置、硬边、中点提示、缺省与越界色标。
  • 补齐 CSS 内建颜色空间、四种色相路径、缺失分量及透明度预乘;保留源颜色精度,插值完成后映射到输出 sRGB。新增 gradient(css=...) 与 conic_gradient(stops, center=(0.5,0.5), angle=0deg),旧构造器保持兼容。
  • 完善渐变和图片的多层背景,支持底色、cover/contain、位置、双轴平铺、space/round、列表匹配及简写重置;裁切、描边、透明度和阴影在对象层合成。
  • 原生、VS Code、网站与离线预览共享已解析的渐变;显示列表升级至 v2,新读取端兼容 v1,并处理增量更新和图片缓存失效。
  • SVG、PDF、PPTX 优先保留矢量,必要时按导出 DPI 局部栅格化并保持正常兜底静默。修复 PDF 重复应用 DPI、离线多页 PDF 资源 ID 冲突、复杂色标被导出库稀疏采样,以及 PPTX 填充/描边重叠位置重复施加对象透明度的问题。
  • 修复媒体预览准备时文件时间戳精度不同造成的同毫秒误报;重复读取仍检查完整时间戳和大小,保留实际文件变动检测。
  • GitHub Pages 新增渐变对照画廊,提供 119 例实际画面、中文差异说明、筛选、放大和可下载验证指标。双语手册、API 补全、Open Props 能力目录与可编辑示例同步更新。

验证边界: 实现阶段的 119 例跨端对照和 476 页离线 SVG/PDF 导出,相对原生的平滑区域最大通道误差均不超过 3/255。与 Chromium CSS 直接比较的六个语义差异单列;第 18 组在两种插值设置下各有一个平滑像素达到 4/255。暗色第 8、16 组为原配方效果。PDF/PPTX 画面对照使用 Poppler Cairo 与 LibreOffice;实体 GPU 和 Microsoft PowerPoint 本体仍待实机验证。完整报告保留误差、资源生命周期和性能记录。

Marketplace 继续手动上传;GitHub Release 提供五个平台的 VSIX、Python wheel 和 SHA-256 校验和。

English

This maintenance release completes gradients and background fills. All 30 original Open Props recipes work directly with default OKLab and explicit sRGB interpolation, and background colors are retained beneath gradient layers.

  • Complete linear, radial, conic and repeating gradients, including deferred layout geometry, directions, centers, radial sizes, physical/angular stops, double positions, hard edges, midpoint hints and omitted/out-of-range positions.
  • Support built-in CSS color spaces, four hue paths, missing components and premultiplied alpha. Preserve source precision through interpolation before mapping to output sRGB. Add gradient(css=...) and conic_gradient(stops, center=(0.5,0.5), angle=0deg) while retaining existing constructors.
  • Combine gradients and images in layered backgrounds with color, cover/contain, position, two-axis tiling, space/round, list matching and shorthand resets. Apply clipping, stroke, opacity and shadows at object level.
  • Share resolved gradients across native, VS Code, web and offline previews. Display list v2 retains v1 reader compatibility and supports incremental updates and image-cache invalidation.
  • Preserve representable vectors in SVG/PDF/PPTX; use silent local raster fallback at the selected DPI when necessary. Fix PDF DPI scaling, offline multi-page resource collisions, coarse resampling of complex color stops, and overlapping PPTX fill/stroke opacity.
  • Avoid false concurrent-edit errors when a media file is updated in the same millisecond that preview preparation starts; repeated reads retain full timestamp/size checks.
  • Publish a comparison gallery with 119 actual cases, explained reference differences, filters, image inspection and downloadable metrics. Update bilingual guides, completion, the Open Props capability catalog and editable examples.

Verification boundary: Implementation-stage comparisons cover 119 cross-backend cases and 476 offline SVG/PDF output pages, with smooth-region maximum channel error at most 3/255 relative to native output. Six semantic differences from Chromium CSS are explicitly separated; recipe 18 has one smooth pixel at 4/255 in each interpolation setting. Dark recipes 8 and 16 are intentional. PDF/PPTX readback uses Poppler Cairo and LibreOffice; physical GPU and Microsoft PowerPoint application validation remain pending. The full report preserves pixel, lifecycle and performance evidence.

Marketplace upload remains manual. GitHub Release provides five-platform VSIX packages, Python wheels and SHA-256 checksums.

LayMesh 0.7.1

Choose a tag to compare

@github-actions github-actions released this 18 Oct 11:26

LayMesh 0.7.1

中文

0.7.0 候选未发布:发行测试清空 PATH 后,新增媒体示例无法找到 FFmpeg。0.7.1 为五平台安装测试显式准备并配置 FFmpeg,并将演讲者计时测试改为等待实际状态更新;媒体功能代码保持一致。

本版将视频、音轨和跨页背景音乐接入主线,并新增内嵌媒体的多页 PowerPoint 导出。

  • 新增 video()、audio() 及页面、步骤、文档的 .play()。支持延迟、片段裁剪、循环、音量、静音和视频点击播放。每个视频实例具有独立播放状态及封面。
  • VS Code、网页预览与放映共用视频控件,支持播放、暂停、拖动进度和音量调节。翻页停止页内媒体并保留背景音乐,菜单、后台暂停与退出放映正确管理播放和资源。
  • 视频替换、音轨文件和背景音乐参数修改会更新原生/WASM 增量预览;同一素材共享数据,保留主线的手动开始放映、页面复用、警告显示与 PDF 导出行为。
  • 离线 HTML/ZIP 内嵌媒体与运行时;MP4 混合视频原声、页内音轨及文档音乐。首版支持 H.264 MP4、MP3、WAV,原生宿主保留 M4A 兼容处理。
  • .laydoc 默认导出一份完整 PPTX,内嵌并去重视频、音轨和封面,普通文字与图形仍可编辑。CLI、Python、VS Code 和离线 HTML 导出入口保持一致;--page 选择单页,--all-pages 保留逐页文件输出。
  • PPTX 映射自动、点击及步骤启动规则,支持延迟、片段裁剪、循环、音量、静音和首张幻灯片启动的跨页音乐。视频保留位置、尺寸、矩形裁剪、旋转及镜像;不能映射的特效给出警告并保留可播放视频。整本导出要求各页尺寸一致,错误时保留原目标文件。

验证边界: 已完成媒体与增量预览回归、三浏览器播放、真实 Linux VS Code、混音导出、PPTX 结构和 Microsoft Open XML SDK 校验。Linux WebKit 视频检查使用 GTK 窗口模式。Windows Microsoft 365 PowerPoint 的实际播放、无修复提示、裁剪/循环、跨页音乐及保存重开仍待实机验收;本版不承诺 macOS PowerPoint、WPS 或 LibreOffice 的媒体兼容性。普通对象动画和页面转场继续按静态 PPTX 导出。

使用说明与 Windows 验收步骤。VS Code Marketplace 仍由发布者手动上传;GitHub Release 提供五个平台的 VSIX、Python wheel 和校验和。

English

The 0.7.0 candidate was not published: media examples could not find FFmpeg after the installed-wheel test cleared PATH. Version 0.7.1 explicitly prepares and configures FFmpeg for five-platform installation checks, and waits for an actual presenter timer update in the browser regression. Media implementation code is unchanged.

This release integrates video, audio tracks and continuous document music, and adds multi-page PowerPoint export with embedded media.

  • Add video(), audio() and page, step and document .play() bindings, with delay, trimming, looping, volume, mute and video click playback. Each video instance keeps its own playback state and poster.
  • Share video controls across VS Code, web previews and presentations. Page navigation stops page media while preserving document music; menus, background pause and presentation exit manage playback and resources.
  • Invalidate native/WASM incremental previews when media files or music settings change, share repeated media data, and retain manual presentation startup, page reuse, diagnostic handling and PDF behavior.
  • Bundle media and runtime in offline HTML/ZIP; mix video sound, page tracks and document music in MP4 exports. Initial formats are H.264 MP4, MP3 and WAV, with native-host M4A compatibility processing.
  • Export an equal-size .laydoc as one complete PPTX by default, embedding and deduplicating video, audio and posters while keeping ordinary text and shapes editable. CLI, Python, VS Code and offline HTML exports share this behavior; --page selects one slide and --all-pages retains numbered single-slide outputs.
  • Map automatic, click and step playback to native PPTX timing, including delay, trimming, looping, volume, mute and first-slide music across slides. Preserve video placement, size, rectangular crops, rotation and reflection. Warn on unsupported effects while retaining playable video; reject mismatched slide sizes without replacing the destination.

Verification boundary: Media and incremental-preview regressions, three-browser playback, actual Linux VS Code, audio mixing, PPTX packaging and Microsoft Open XML SDK validation have passed. Linux WebKit video checks use GTK window mode. Actual Windows Microsoft 365 PowerPoint playback, repair-free opening, trimming/looping, cross-slide music and save/reopen still require device verification. This release does not promise media compatibility with macOS PowerPoint, WPS or LibreOffice. Ordinary object animations and page transitions retain static PPTX export behavior.

Usage and Windows acceptance checklist. Marketplace upload remains manual; GitHub Release provides five-platform VSIX packages, Python wheels and checksums.

LayMesh 0.6.6

Choose a tag to compare

@github-actions github-actions released this 17 Oct 18:14

LayMesh 0.6.6

中文

本版修复放映时诊断警告覆盖作品画面的问题,保持 .lay、LCSS、.laydoc、Python API 和 Notebook Magic 的使用方式兼容。

  • 移除窗口放映、全屏放映和演讲者观众画面左上角的诊断警告框,包括网页中的放映及 HTML/ZIP 离线导出。
  • 编辑器和命令行继续报告画布越界等诊断,导出文件继续保留诊断数据。加载失败和重试界面保持可用。
  • 修正后的运行时随新导出文件分发;旧导出文件需要重新导出或更新内置运行时。

VS Code Marketplace 仍由发布者手动上传,GitHub Release 提供五个平台的 VSIX 与 Python wheel。

English

This release fixes diagnostic warnings covering presentation artwork while preserving .lay, LCSS, .laydoc, Python API and Notebook Magic usage.

  • Remove the diagnostic warning box from windowed, fullscreen and presenter audience playback, including website presentations and offline HTML/ZIP exports.
  • Keep canvas overflow and other diagnostics in editors and the command line, and retain diagnostic data in exported files. Loading errors and retry controls remain available.
  • New exports include the corrected runtime. Existing exports need to be re-exported or have their bundled runtime updated.

Marketplace upload remains manual; GitHub Release provides VSIX packages and Python wheels for all five supported platforms.

LayMesh 0.6.5

Choose a tag to compare

@github-actions github-actions released this 16 Oct 16:10
060dedb

LayMesh 0.6.5

中文

本版完善源码编辑后的增量预览和放映准备,保持 .lay、LCSS、.laydoc、Python API 和 Notebook Magic 的使用方式兼容。

  • 原生预览与离线编辑器复用编译会话、实际读取依赖及未变化的绘图对象。属性更新保留可复用的几何、排版和渲染缓存,连续输入只提交最新版本。
  • 修复更新离线运行时后沿用旧依赖索引的问题。导出、保存及运行时刷新校验编译器、源码、字体和页面数据,首次局部修改不会因此重编译无关页面。
  • 离线编译按页面保持 Worker 归属,当前页优先,其他受影响页按可用并行度执行。起始页就绪即可放映;页面准备与动画分别执行,保存和导出仍要求全稿最新版本成功。
  • 页面、资源和绘图缓存按文档生命周期保留和释放,移除固定容量、页数及线程配额。旧配置中的缓存和图片处理配额字段兼容读取并忽略;图片质量和导出精度设置保留。
  • WebAssembly 按实际需求扩展并复用线性内存,避免 WebKit 在多个编译和渲染实例共存时反复复制整个堆。关闭文档会释放相应实例。
  • 默认输入合并窗口为 30 ms,VS Code 已显式设置的防抖值继续生效。补充 Python、真实 Jupyter 内核、样式更新、文档重排、错误恢复及离线保存的回归检查。
  • 修复演讲者适配层将“页面已显示”事件误判为上下文丢失、清空首帧镜像的问题;控制台连接前完成的画面可在接入后直接显示。

性能随作品、浏览器和渲染后端变化;不承诺所有编辑或动画固定在百毫秒内完成。阶段测量及已知边界。VS Code Marketplace 仍由发布者手动上传,GitHub Release 提供五个平台的 VSIX 与 Python wheel。

English

This release completes incremental source previews and presentation preparation while preserving .lay, LCSS, .laydoc, Python API and Notebook Magic usage.

  • Native previews and offline editing retain compilation sessions, actual read dependencies and unchanged drawing objects. Property updates reuse geometry, text layout and rendering caches; rapid edits only commit the latest version.
  • Offline runtime refreshes rebuild dependency indexes with the compiler being shipped. Export, save and refresh validate compiler, source, font and page data so a first local edit does not unnecessarily recompile unrelated pages.
  • Offline compilation keeps stable page-to-Worker ownership, prioritizes the current page and uses available parallelism for other affected pages. Playback starts when its starting page is ready; background preparation and animation run separately. Save and export still require the complete latest document.
  • Document lifecycle replaces fixed cache capacities, page counts and thread quotas. Legacy cache and image-processing quota fields are accepted and ignored; image-quality and export-precision settings remain available.
  • WebAssembly memory grows on demand and reuses allocated blocks, avoiding repeated whole-heap copies in WebKit when compiler and renderer instances coexist. Closing the document releases its instances.
  • The default input merge window is 30 ms; explicit VS Code debounce settings remain effective. Regression coverage includes Python, real Jupyter kernels, shared-style updates, document reordering, error recovery and offline save/reopen.
  • Presenter mode now distinguishes page-visible notifications from context-loss events and retains the first completed frame while the console connects.

Latency depends on the document, browser and rendering backend; the release does not promise fixed sub-100-ms updates or smooth animation on every backend. See the phase measurements and limitations. Marketplace upload remains manual; GitHub Release provides VSIX packages and Python wheels for all five supported platforms.

LayMesh 0.6.4

Choose a tag to compare

@github-actions github-actions released this 14 Oct 14:02

LayMesh 0.6.4 improves presentation playback and portable files, with an optional presenter console and precise draw animations for arrowed paths.

Changes

  • Current-page playback: the main Present button starts ordinary fullscreen from the previewed page. Windowed presentation, presentation from the beginning and Presenter View remain explicit menu choices. Closing presentation restores the preview state.
  • Manual presenter view: the original window shows the audience slide; a separate console shows its bitmap mirror, the next page, speaker notes, thumbnails, steps, timers and blackout controls. Arrange windows yourself, then enter fullscreen in the audience window. There is no automatic screen detection, permission request or window placement.
  • Speaker notes: independent top-level triple-quoted strings in a .lay page become read-only notes. Assignments, arguments, nested blocks and imported components are excluded. Notes do not appear on audience slides or static exports.
  • Draw animation: arrowed lines retain their centerlines, arrowheads follow the drawing front, and the final frame restores the original static geometry. Inapplicable draw effects produce a non-blocking warning without removing the object, its other animations or step timing.
  • Navigation and progress: playback files have a resizable, virtualized page sidebar. Animation completion reaches 100% when the last step ends; automatic playback still respects authored trailing holds.
  • PDF export: bounded effect tiles, grayscale shadow masks, resource reuse and acknowledged per-page transfers reduce playback export memory and repeated image conversion. The default remains 1200 DPI; ordinary shape opacity stays vector. Editable files retain the full Rust/WASM exporter, and native VSIX/CLI/Python/Jupyter capabilities remain intact.
  • Portable export size: playback retains PDF, SVG, PNG, JPEG and TIFF export with shared resources and compact license storage. Editable files retain the full format set. The playback feature increment is checked against a 300 KiB budget; artwork and embedded font sizes remain content-dependent.

Validation and distribution

Release checks cover native and Python contracts, installed wheels, stable VSIX manifests, offline Chromium/Firefox/WebKit playback, manual startup, popup/fullscreen recovery, thumbnail caches, resource cleanup and the native external-browser entry. Test records state the actual operating-system and GPU coverage; software and virtual-screen tests do not establish physical Windows multi-monitor behavior.

The release workflow builds and audits Linux x64/arm64, macOS Intel/Apple Silicon and Windows x64 wheels and VSIX packages. Publishing requires the existing PyPI approval gate; Marketplace upload remains manual. Preparing packages does not publish a release.


LayMesh 0.6.4 完善放映与离线文件,加入可选的演讲者控制台,并修复带箭头连线的绘制动画。

更新内容

  • **从当前页开始:**主放映按钮默认普通全屏,从当前预览页开始。窗口放映、从头放映和演讲者视图均有明确菜单入口;退出后恢复原预览状态。
  • **手动演讲者视图:**原窗口显示观众画面,独立控制台提供画面镜像、下一页、备注、缩略图、步骤、计时和黑白屏。手动安排窗口,再在观众窗口进入全屏;不自动检测、申请屏幕管理权限或移动窗口。
  • **逐页备注:**当前 .lay 页面顶层独立的三引号字符串作为只读讲稿。赋值、参数、嵌套语句和导入组件中的字符串不收集;观众画面及静态导出不显示备注。
  • **绘制动画修复:**保留箭头连线中心线,让末端箭头随绘制前端移动;完成时恢复原始静态几何。无法应用 draw 的对象产生非阻塞警告,保留对象、其他动画及步骤时序。
  • **页面导航与进度:**播放文件提供可调宽度的虚拟缩略图栏;最后一步动画结束即显示 100%,自动播放仍保留作品设置的末尾停留时间。
  • **PDF 导出修复:**特效按有界分块处理,阴影使用灰度透明蒙版并复用资源,逐页确认传输,减少内存占用和重复图片转换。默认仍为 1200 DPI,普通图形透明度保留矢量;可编辑版继续使用完整 Rust/WASM,原生 VSIX/CLI/Python/Jupyter 能力保持不变。
  • **离线文件体积:**播放版保留 PDF、SVG、PNG、JPEG、TIFF 导出,复用图片资源并合并重复许可文本;可编辑版保留完整格式。播放版功能增量受 300 KiB 检查约束,作品图片和嵌入字体大小仍随内容增长。

验证与发行

发布检查覆盖原生与 Python 契约、安装后的 wheel、正式 VSIX 清单、Chromium/Firefox/WebKit 离线播放、手动启动、弹窗/全屏恢复、缩略图缓存、资源释放与原生外部浏览器入口。测试记录明确操作系统与 GPU 的实际覆盖范围,软件渲染和虚拟屏幕测试不代表 Windows 物理多屏验证。

发布流程构建并审计 Linux x64/arm64、macOS Intel/Apple Silicon、Windows x64 五平台 wheel 与 VSIX。PyPI 保留现有人工审批门禁,Marketplace 继续手动上传。准备发行包不等于已经发布。

LayMesh 0.6.3

Choose a tag to compare

@github-actions github-actions released this 13 Oct 14:30

LayMesh 0.6.3 adds a complete offline file workbench, image/document export from the browser, and GL Transitions shared by preview and presentation.

Changes

  • Export editable or playback Universal ZIP-HTML and standard ZIP with all runtime modules bundled. Editable HTML retains SVG, multi-page PDF, editable-object PPTX and 12 raster formats. Playback HTML carries only PDF, SVG, PNG, JPEG and TIFF, with a separately budgeted lightweight exporter. Keep format/file selection short, with 1200 DPI and TIFF LZW defaults; save advanced settings with the work. Exports are independent of the preview viewport, use cancellable workers (playback PDF yields between DOM page conversions), and never send source or assets to a server.
  • Use Headless Tree 1.7.0 for nested and empty folders, multi-selection, drag/drop, inline rename and keyboard navigation. File operations preserve unsaved buffers and update statically resolved references through the language/CSS parsers. Transactions roll back on failure and support undo/redo; dynamic references are listed for review. Add context menus throughout the app content and repair 12×12px editor color widgets.
  • Remove whole-catalog font-file scanning. Share cached catalog/search data and common bilingual aliases; read only required or selected fonts. Connecting an installed matching font or importing the original font automatically restores compilation without a replacement binding. Existing explicit substitutions remain intact.
  • Bundle GL Transitions 1.74.0 and its pinned SkSL conversion, effect catalog and licenses. Add document/page transition() settings with page override > document default > LCSS priority, explicit none, parameters and lazy texture resolution. Cache same-source pages by transition configuration. Preview, window/fullscreen presentation and offline HTML share navigation, cancellation and reduced-motion behavior. Playback packages retain only the shaders used by their pages; editable packages keep the complete catalog.

Validation and distribution

Local verification record: offline export and workbench.

Release checks cover native contracts, image and PowerPoint decoding, offline Chromium/Firefox/WebKit export and workbench flows, vector PDF page sizes, transparent raster samples, 1200-DPI metadata, TIFF LZW, same-font import, navigation and actual VS Code previews. See the committed test scripts and workflow artifacts for executed results. Real Windows cross-machine font authorization and hardware-GPU transition performance require device testing; local transition measurements use software renderers. Browser WebP is lossless; MP4/animated GIF and the full native PDF/WebP tuning options remain available through CLI/VS Code.

Five-platform wheels and stable VSIX packages are built and audited by CI. PyPI retains its human approval gate; GitHub Release follows verified PyPI publication. Marketplace upload remains manual.


LayMesh 0.6.3 加入完整离线文件工作区、浏览器图片/文档导出,以及预览和放映共用的 GL Transitions 页间转场。

更新内容

  • 导出可编辑/播放版 Universal ZIP-HTML 与标准 ZIP,运行时全部随包携带。可编辑版保留 SVG、多页 PDF、保留可编辑对象的 PPTX 和 12 种图片格式;放映版仅携带 PDF、SVG、PNG、JPEG、TIFF 的轻量导出模块。默认 1200 DPI、TIFF LZW;设置随作品保存。导出使用完整排版,独立于预览视口,使用可取消 Worker(放映版 PDF 在 DOM 页面转换之间检查取消),无需服务器。
  • 使用 Headless Tree 1.7.0 管理嵌套/空目录、多选、拖放、行内重命名和键盘导航。文件操作保留未保存文本,通过语言与 CSS 解析器更新静态引用;失败回滚、支持撤销/重做,动态引用列出影响清单。应用内容区统一右键菜单,编辑器颜色块恢复 12×12px。
  • 取消逐字体读取中文名称的全量索引,缓存目录和搜索文本,内置常用中英文别名。只读取作品实际需要或用户选中的字体;连接或导入同款字体后自动匹配并编译,无需手动替换,保留用户已有替代设置。
  • 固定 GL Transitions 1.74.0、SkSL 转换产物、完整目录与逐效果许可。.laydoc 支持文档默认和逐页 transition():页面显式配置优先于文档默认,文档默认优先于 LCSS,none 明确关闭;参数校验、纹理延迟加载及同源不同配置缓存保持一致。覆盖网页、窗口/全屏放映、离线 HTML 的导航、取消及减少动态效果行为。放映版只携带作品用到的转场着色器;可编辑版保留完整目录。

验证与发行

本地验证记录:离线导出与工作区。

发行检查覆盖原生契约、图片与 PowerPoint 解码、Chromium/Firefox/WebKit 离线导出和文件操作、PDF 矢量与页尺寸、透明像素、1200 DPI 元数据、TIFF LZW、同款字体导入、导航及实际 VS Code 预览;执行结果见测试脚本与工作流产物。实体 Windows 跨机授权和硬件 GPU 转场性能仍需实机验证,本地转场测量使用软件渲染。浏览器 WebP 为无损编码;MP4/动画 GIF 和完整原生 PDF/WebP 调节选项继续通过 CLI/VS Code 提供。

CI 构建并审计五个平台的 wheel 和正式 VSIX;PyPI 保留人工审批门禁,通过后自动发布 GitHub Release;Marketplace 继续手动上传。

LayMesh 0.6.2

Choose a tag to compare

@github-actions github-actions released this 12 Oct 12:38

LayMesh 0.6.2 adds offline CSS libraries, fixes preview control layout, updates the VS Code toolbar, and shares FFmpeg discovery and installation across VS Code, CLI and Python.

Changes

  • Bundle Animate.css 4.1.1, Bootstrap 5.3.8 and Open Props 1.7.23 in the engine. stylesheet="@laymesh/animate.css" works without a project-local copy; configured older engines receive a clear compatibility message. Improve CSS selectors, cascade, units, shadows and editor diagnostics, with bilingual library catalogs and verified examples.
  • Load versioned shared preview styles before controls appear. Keep Present and its arrow joined on one row; keep menus inside the preview, with their background, labels and autoplay switch hidden together when closed. Preserve presentation shortcuts and the default hidden floating controls.
  • Replace the VS Code preview toolbar with Refresh, Fit/zoom, page navigation, Present/options, Export and More. Animated previews use three small footer buttons: previous step, play/pause and next step. Advanced playback settings remain in More.
  • Reuse an existing FFmpeg or install it into the user's persistent private data directory after explicit download confirmation. China locale/timezone and source reachability guide upstream/mirror selection, with fallback, pinned SHA-256 verification, progress, cancellation and concurrent-install protection. VS Code, CLI and Python share the same discovery and installation logic; noninteractive callers must authorize each download explicitly.

Validation and distribution

Local checks include real VS Code interaction and MP4 export, Python MP4/GIF export, Linux native and Windows executable smoke tests, and Art Direction browser checks at 3840×1840, 1440×1000 and 390×844. Browser coverage includes first load, refresh, delayed CSS, menu bounds/focus, playback, Tab/Escape, window/fullscreen presentation and exit restoration. FFmpeg installation tests cover consent, integrity, fallback, concurrency and cancellation using isolated fixtures.

The release workflow builds and audits five wheels and five stable VSIX packages for Windows x64, Linux x64/ARM64 and macOS Intel/Apple Silicon. Linux wheel tags record the binary's actual glibc requirement. PyPI retains the existing approval gate; GitHub Release publishes the same reviewed packages and SHA-256 checksums. Marketplace upload remains manual. See the workflow results for platform acceptance and publication status.


LayMesh 0.6.2 加入离线 CSS 样式库,修复预览控件布局,更新 VS Code 工具栏,并统一 VS Code、CLI 和 Python 的 FFmpeg 查找与安装。

更新内容

  • 引擎内置 Animate.css 4.1.1、Bootstrap 5.3.8 和 Open Props 1.7.23。stylesheet="@laymesh/animate.css" 无需项目内的同名文件;配置的旧引擎会收到明确的兼容性提示。完善 CSS 选择器、层叠、单位、阴影与编辑器诊断,补充中英文样式库目录及经过验证的示例。
  • 提前加载带内容版本号的共享预览样式。“放映”与下拉箭头保持横向连接;菜单限制在预览区域内,关闭时背景、文字和自动播放开关一起隐藏。保留放映快捷键及默认隐藏的浮动控制栏。
  • VS Code 工具栏提供刷新、适应/缩放、页面切换、放映及选项、导出和更多。动画预览底部仅保留上一步、开始/暂停、下一步三个小按钮,高级播放设置放在“更多”菜单。
  • 优先复用已有 FFmpeg;缺失时经明确确认下载到用户的持久私有数据目录。根据中国地区语言/时区提示及下载源连通性选择上游或镜像,支持失败切换、固定 SHA-256 校验、进度、取消和并发安装保护。VS Code、CLI、Python 共用查找与安装逻辑;非交互调用必须逐次明确授权下载。

验证与发行

本地验证包含真实 VS Code 交互和 MP4 导出、Python MP4/GIF 导出、Linux 原生与 Windows 可执行程序检查,以及 Art Direction 页面在 3840×1840、1440×1000、390×844 下的浏览器检查。覆盖首次加载、刷新、延迟 CSS、菜单边界和焦点、播放、Tab/Escape、窗口/全屏放映及退出恢复。FFmpeg 安装测试使用隔离样例,覆盖确认、完整性、失败切换、并发与取消。

发布工作流为 Windows x64、Linux x64/ARM64、macOS Intel/Apple Silicon 构建并审计五个 wheel 和五个正式版 VSIX。Linux wheel 标签记录二进制实际要求的 glibc 版本。PyPI 沿用现有审批门禁;GitHub Release 发布同一批审核包和 SHA-256 校验和;Marketplace 继续手动上传。各平台验收与实际发布状态以工作流结果为准。