<feed xmlns='http://www.w3.org/2005/Atom'>
<title>opencut/apps/web/src/utils/math.ts, branch main</title>
<subtitle></subtitle>
<id>http://git.cashmere.rs/opencut/atom/apps/web/src/utils/math.ts?h=main</id>
<link rel='self' href='http://git.cashmere.rs/opencut/atom/apps/web/src/utils/math.ts?h=main'/>
<link rel='alternate' type='text/html' href='http://git.cashmere.rs/opencut/'/>
<updated>2026-03-29T16:27:05Z</updated>
<entry>
<title>fix(security): replace new Function() with safe math expression parser (#753)</title>
<updated>2026-03-29T16:27:05Z</updated>
<author>
<name>Rayan Salhab</name>
<email>r.salhab@aiyexpertsolutions.com</email>
</author>
<published>2026-03-29T16:27:05Z</published>
<link rel='alternate' type='text/html' href='http://git.cashmere.rs/opencut/commit/?id=eb66e03f0e67c3b04c863c2b5540c65495bf621d'/>
<id>urn:sha1:eb66e03f0e67c3b04c863c2b5540c65495bf621d</id>
<content type='text'>
* fix(security): replace new Function() with safe math expression parser

Replace the dangerous new Function() constructor in evaluateMathExpression()
with a recursive descent parser that safely evaluates basic arithmetic
expressions.

The Function constructor is a security anti-pattern that could enable
arbitrary code execution if the validation regex is ever bypassed or
relaxed. The new parser:

- Only supports numbers, +, -, *, /, parentheses, and whitespace
- Has no eval-like functionality that could execute arbitrary code
- Maintains backward compatibility with existing expressions
- Handles operator precedence and parentheses correctly

Fixes #725

* Apply suggestion from @coderabbitai[bot]

Co-authored-by: coderabbitai[bot] &lt;136622811+coderabbitai[bot]@users.noreply.github.com&gt;

---------

Co-authored-by: Maze &lt;167211895+mazeincoding@users.noreply.github.com&gt;
Co-authored-by: coderabbitai[bot] &lt;136622811+coderabbitai[bot]@users.noreply.github.com&gt;</content>
</entry>
<entry>
<title>refactor: clean up number formatting and step handling in property tabs</title>
<updated>2026-03-29T13:58:46Z</updated>
<author>
<name>Maze Winther</name>
<email>mazewinther@gmail.com</email>
</author>
<published>2026-03-27T20:24:59Z</published>
<link rel='alternate' type='text/html' href='http://git.cashmere.rs/opencut/commit/?id=c34e01c63eea9fb97d8d4e93546d884b0294e475'/>
<id>urn:sha1:c34e01c63eea9fb97d8d4e93546d884b0294e475</id>
<content type='text'>
</content>
</entry>
<entry>
<title>chore: normalize line endings</title>
<updated>2026-03-29T13:56:48Z</updated>
<author>
<name>Maze Winther</name>
<email>mazewinther@gmail.com</email>
</author>
<published>2026-03-26T23:55:15Z</published>
<link rel='alternate' type='text/html' href='http://git.cashmere.rs/opencut/commit/?id=4d127a038bf768eded68aae3cfa5c1b12241bdac'/>
<id>urn:sha1:4d127a038bf768eded68aae3cfa5c1b12241bdac</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat: masks, properties refactor, shaders, storage migrations, and more</title>
<updated>2026-03-29T13:48:22Z</updated>
<author>
<name>Maze Winther</name>
<email>mazewinther@gmail.com</email>
</author>
<published>2026-03-25T15:47:22Z</published>
<link rel='alternate' type='text/html' href='http://git.cashmere.rs/opencut/commit/?id=8db3bead13441a5882d8689dfc6a9f09c82375d9'/>
<id>urn:sha1:8db3bead13441a5882d8689dfc6a9f09c82375d9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat: implement keyframe animation system</title>
<updated>2026-02-27T15:33:57Z</updated>
<author>
<name>Maze Winther</name>
<email>mazewinther@gmail.com</email>
</author>
<published>2026-02-27T15:33:57Z</published>
<link rel='alternate' type='text/html' href='http://git.cashmere.rs/opencut/commit/?id=49426f19cd8eaed7cf6c47999b66fee7ee637a56'/>
<id>urn:sha1:49426f19cd8eaed7cf6c47999b66fee7ee637a56</id>
<content type='text'>
Add keyframe support for transform, opacity, and volume properties.
Includes animation engine (interpolation, mutations, resolvers), timeline
markers with selection/snapping, properties panel toggles, keyframe-aware
renderer, and full undo/redo command support.

Also refactor element command constructors to object params, extract
timeline pixel math to pixel-utils.ts, and update cursor rules.
</content>
</entry>
<entry>
<title>feat: major editor overhaul (assets, properties, timeline, fonts) (#709)</title>
<updated>2026-02-23T02:24:02Z</updated>
<author>
<name>Maze</name>
<email>167211895+mazeincoding@users.noreply.github.com</email>
</author>
<published>2026-02-23T02:24:02Z</published>
<link rel='alternate' type='text/html' href='http://git.cashmere.rs/opencut/commit/?id=93d1e3383ce47e45157d70f9ba6251239dae6bc2'/>
<id>urn:sha1:93d1e3383ce47e45157d70f9ba6251239dae6bc2</id>
<content type='text'>
* feat: major editor overhaul (assets, properties, timeline, fonts)

Refactor editor core systems to standardize UI architecture and improve performance.

Assets &amp; Properties:
- Replace monolithic property items with composable `Section` architecture.
- Add specialized sections for Transform, Blending, and Text.
- Implement `NumberField` with scrubbing and math evaluation.
- Add new ColorPicker with EyeDropper and multiple format support.
- Standardize asset panels using new `PanelView` layout.

Fonts &amp; Stickers:
- Implement custom font atlas/sprite system for high-performance previews.
- Add virtualized FontPicker with search and favorites.
- Refactor stickers to use a provider-based architecture (icons, emoji, flags, shapes).
- Standardize sticker IDs to `provider:value` format.

Timeline &amp; Interaction:
- Convert bookmarks to rich objects with notes, colors, and duration.
- Refactor drag-and-drop to use Command pattern (enabling proper undo/redo).
- Add Shift modifier to disable snapping during moves/resizes.
- Add new overlays for layout guides and text editing.

Renderer:
- Add support for multi-line text, custom line-height, and letter-spacing.
- Implement global composite operation (blend modes).
- Update sticker node to resolve dynamic provider IDs.

Infrastructure:
- Add storage migrations (v3-&gt;v6) for text weights, sticker IDs, and bookmarks.
- Update global styles and core UI components (Button, Input, Popover).

* add ts-nocheck directive to settings-legacy.tsx to suppress TypeScript errors

* fix: correct global composite operation assignment in TextNode to ensure proper blend mode handling

* deleted shadcn components with errors

* formatting

* fix linter issues

* migrate from next middleware to proxy

* add missing component back

* add breadcrumb back

* chore: add @radix-ui/react-primitive deps

* chore: more deps

* chore: add missing env vars to bun-ci

* next env</content>
</entry>
<entry>
<title>codebase overhaul (#697)</title>
<updated>2026-01-30T23:20:04Z</updated>
<author>
<name>Maze</name>
<email>167211895+mazeincoding@users.noreply.github.com</email>
</author>
<published>2026-01-30T23:20:04Z</published>
<link rel='alternate' type='text/html' href='http://git.cashmere.rs/opencut/commit/?id=7bf0984698e43b9aa2dd879f65951318ed410390'/>
<id>urn:sha1:7bf0984698e43b9aa2dd879f65951318ed410390</id>
<content type='text'>
</content>
</entry>
</feed>
