copilot-swe-agent[bot]
1091e9c83d
Add array parser error tests
...
Agent-Logs-Url: https://github.com/wesleyel/swiftui-math/sessions/56436444-e15b-4dd0-8a70-c87df1e3dc4e
Co-authored-by: wesleyel <48174882+wesleyel@users.noreply.github.com >
2026-04-06 15:35:49 +00:00
copilot-swe-agent[bot]
f82f9e9cea
Simplify begin environment parsing
...
Agent-Logs-Url: https://github.com/wesleyel/swiftui-math/sessions/56436444-e15b-4dd0-8a70-c87df1e3dc4e
Co-authored-by: wesleyel <48174882+wesleyel@users.noreply.github.com >
2026-04-06 15:34:55 +00:00
copilot-swe-agent[bot]
82be1cd961
Refactor environment option parsing
...
Agent-Logs-Url: https://github.com/wesleyel/swiftui-math/sessions/56436444-e15b-4dd0-8a70-c87df1e3dc4e
Co-authored-by: wesleyel <48174882+wesleyel@users.noreply.github.com >
2026-04-06 15:34:19 +00:00
copilot-swe-agent[bot]
e86cf33070
Refine array format validation
...
Agent-Logs-Url: https://github.com/wesleyel/swiftui-math/sessions/56436444-e15b-4dd0-8a70-c87df1e3dc4e
Co-authored-by: wesleyel <48174882+wesleyel@users.noreply.github.com >
2026-04-06 15:33:37 +00:00
copilot-swe-agent[bot]
d5cee555e4
Format array parser changes
...
Agent-Logs-Url: https://github.com/wesleyel/swiftui-math/sessions/56436444-e15b-4dd0-8a70-c87df1e3dc4e
Co-authored-by: wesleyel <48174882+wesleyel@users.noreply.github.com >
2026-04-06 15:32:54 +00:00
copilot-swe-agent[bot]
f8f668f649
Add array environment parsing
...
Agent-Logs-Url: https://github.com/wesleyel/swiftui-math/sessions/56436444-e15b-4dd0-8a70-c87df1e3dc4e
Co-authored-by: wesleyel <48174882+wesleyel@users.noreply.github.com >
2026-04-06 15:31:52 +00:00
8201156af8
Merge pull request #2 from wesleyel/copilot/add-formula-tests-support
...
Format / swift-format (push) Has been cancelled
Add complex formula tests and support `~` as thin space in math mode
2026-04-06 22:22:13 +08:00
copilot-swe-agent[bot]
348f75ccea
Add ~ space support and complex formula tests
...
Agent-Logs-Url: https://github.com/wesleyel/swiftui-math/sessions/6740d67f-473b-43b8-87ba-25d9469f5757
Co-authored-by: wesleyel <48174882+wesleyel@users.noreply.github.com >
2026-04-06 14:18:08 +00:00
569db11ed5
Merge pull request #1 from wesleyel/copilot/add-latex-operatorname-support
...
Add \operatorname{name} support
2026-04-06 22:03:58 +08:00
copilot-swe-agent[bot]
aba7f31f95
Add \operatorname{name} LaTeX command support
...
Agent-Logs-Url: https://github.com/wesleyel/swiftui-math/sessions/d2d346fe-819f-4ec5-8653-6582836c760d
Co-authored-by: wesleyel <48174882+wesleyel@users.noreply.github.com >
2026-04-06 13:55:45 +00:00
copilot-swe-agent[bot]
79b44fc96c
Initial plan
2026-04-06 13:52:27 +00:00
Guille Gonzalez
cf7c70153b
Update README.md
2026-01-12 09:19:42 +01:00
Guille Gonzalez
0b5c2cfaae
Merge pull request #2 from gonzalezreal/prepare-for-release
...
Prepare for first release
2026-01-11 12:24:18 +01:00
Guille Gonzalez
c025214077
Add GitHub workflows
2026-01-11 12:11:31 +01:00
Guille Gonzalez
bb88ace8d6
Add issue template
2026-01-11 12:08:34 +01:00
Guille Gonzalez
9d3bb39914
Add CONTRIBUTING and CODE_OF_CONDUCT
2026-01-11 12:03:39 +01:00
Guille Gonzalez
45a1d276e0
Add SPI manifest
2026-01-11 11:52:18 +01:00
Guille Gonzalez
5fc1b7a19f
Update README.md
2026-01-11 11:46:19 +01:00
Guille Gonzalez
1048aa5bac
Merge pull request #1 from gonzalezreal/swiftui-refactoring
...
SwiftUI refactor
2026-01-11 08:55:02 +01:00
Guille Gonzalez
c90782cdd1
Add README and LICENSE
2026-01-11 08:42:50 +01:00
Guille Gonzalez
766150b954
Make multicolor convenience public
2026-01-11 07:43:06 +01:00
Guille Gonzalez
277f6420ba
Remove original code
2026-01-11 06:55:41 +01:00
Guille Gonzalez
8d32feb1bd
Add documentation
2026-01-11 06:53:55 +01:00
Guille Gonzalez
339f20a34b
Add snapshot tests
2026-01-10 18:01:38 +01:00
Guille Gonzalez
00d93de457
Add FontMetricsTests
2026-01-10 17:45:16 +01:00
Guille Gonzalez
63f1c54f12
Handle empty font variant tables in FontMetrics
2026-01-10 06:14:44 +01:00
Guille Gonzalez
3d2294fe52
Make SPI typographicBounds method nonisolated
2026-01-09 16:33:57 +01:00
Guille Gonzalez
2c44010554
Add Font public initializer
2026-01-09 16:16:17 +01:00
Guille Gonzalez
baea9de415
Implement Math view
2026-01-05 14:19:42 +01:00
Guille Gonzalez
6e1a38ede7
Use CGColor and remove PlatformColor
2026-01-04 07:09:56 +01:00
Guille Gonzalez
fe6df90c4a
Re-arrange source code and tests
2026-01-04 07:01:24 +01:00
Guille Gonzalez
0e865739f5
Fix text run display node
2026-01-04 06:42:53 +01:00
Guille Gonzalez
55abc5b2bd
Implement DisplayNode drawing
2026-01-03 20:51:53 +01:00
Guille Gonzalez
a80b1ea3db
Add Typesetter tests
2026-01-03 09:27:32 +01:00
Guille Gonzalez
e26d7d01b5
Add Typesetter
2026-01-03 08:11:38 +01:00
Guille Gonzalez
8e4db3cf0e
Add display model
2026-01-03 07:45:34 +01:00
Guille Gonzalez
e9657c186e
Add Parser tests
2026-01-02 19:36:05 +01:00
Guille Gonzalez
64b0090f3c
Add AtomList tests
2026-01-02 18:41:22 +01:00
Guille Gonzalez
539942fffe
Refactor Parser
2026-01-02 17:21:00 +01:00
Guille Gonzalez
e66eeb4564
Refactor model
2026-01-02 15:24:11 +01:00
Guille Gonzalez
fbfc1d0ecf
Add font infrastructure
2026-01-01 12:13:22 +01:00
Guille Gonzalez
5e8e93b53e
Add helpers
2025-12-31 12:59:11 +01:00
Guille Gonzalez
f805b3adf5
Clean slate
2025-12-31 12:40:11 +01:00
Guille Gonzalez
d056918e1e
Update .gitignore
2025-12-31 09:22:26 +01:00
Guille Gonzalez
5774724d18
Rename package and address warnings
2025-12-30 14:45:54 +01:00
mgriebling
c49362fcf1
Merge pull request #55 from nguillot/multiline-improvements
...
Add multiline line breaking improvements for mathematical equations
2025-11-27 12:05:13 -05:00
Nicolas Guillot
9da5aba6b2
multiline fix with square root on second line
2025-11-21 15:49:27 +01:00
Nicolas Guillot
8ce6da114c
code cleaning: remove print statement
2025-11-18 09:01:00 +01:00
Nicolas Guillot
90767b7953
Add performance optimization: skip line breaking when remaining content fits
...
Implement early-exit optimization to avoid expensive width calculations when
we can determine that all remaining content will definitely fit on the current line.
2025-11-18 08:41:26 +01:00
Nicolas Guillot
3aa6c6c98b
Fix line width calculation for expressions with superscripts/subscripts
...
The typesetter was incorrectly measuring line width when expressions contained
superscripts or subscripts (e.g., b²). After rendering a superscript, the line
is split into multiple display segments, but the width checking code was only
measuring the current segment, not the total visual line width.
Key changes:
- Use currentPosition.x to track actual horizontal position across all segments
- Calculate visualLineWidth = currentPosition.x + currentSegmentWidth
- Pass remainingWidth (maxWidth - currentPosition.x) to findBestBreakPoint
- Apply fix to both interatom breaking and inline text breaking
This fixes truncation issues where content like "Δ=b²-4ac avec a=1..." was
being clipped instead of wrapped to a new line.
Before: Each segment checked in isolation → segments appeared to fit individually
but total visual width exceeded maxWidth → content truncated/clipped
After: Total visual width tracked correctly → line breaking triggered when
actual visual width exceeds maxWidth → content wraps properly
2025-11-17 17:51:30 +01:00