Commit Graph

18 Commits

Author SHA1 Message Date
jess 23b7b3784b Fixed bug where external implementations of EditorState with no native front end caused objc2 version mismatch between arboard and trash crates to cause the editor to crash.
For external use cases with pure ICED winit, set default-features=false
2026-05-27 16:05:55 -07:00
jess 1a0508bc06 This is a complete overhaul.
- New decomposer / Compiler pre-processor
- New Decomposer Public API allows custom external extensions of acord-core to provide their own DecomposeHook impl to extend what the compiler knows
- .dot traversal of Stucts, etc.
- Public Externs
- Regex find and replace — capture groups ($1-$9)
- Performance: syntax ident caching — moved scan_user_idents out of the per-frame render loop, cached on EditorState, recomputed on text change only
  - Performance: incremental highlighter rebuild — editor mode skips classify_document and tree-sitter when line count unchanged
  - Performance: minimap caching — classify_text cached, no longer computed every frame
  - Use declaration support in the decomposer — emits mod/use statements, returns a Dependency list for recursive decomposition of referenced notes
- Tons of new operators (below)

  HOFs (closure-like, take a function name):
  - map, filter, reduce, fold, flat_map
  - iter (with callback)
	-peek (custom, allows optional arg1 to specify how far to look-ahead. uses a custom ringbuf function)
  - all, any, find
  - sort (with optional comparator)

  Collection ops:
  - peek (with optional look-ahead)
  - window, zip, chunk
  - take, skip/drop
  - flatten, distinct/unique

  Aggregates:
  - sum, avg, min, max, count, std_devp, std_devs
  - range
2026-05-26 10:46:40 -07:00
jess 32c66cd330 Free mode: Z index positioning of blocks. 2026-05-10 00:18:23 -07:00
jess 4e3dfd8e85 ive lost track. but this needs to happen. because ive lost track. 2026-05-09 22:08:49 -07:00
jess 56d2b3ce9a - Add printing
- Beginning of iPad port
2026-05-04 13:09:37 -07:00
jess 88ba5ecf9c The C-ABI? Who would want access to that? Oh, the Linux Viewport perhaps. 2026-04-29 12:07:31 -07:00
jess a82e52d06b The was a single linux build warning. It turned out to be a hydra. It's probably dead now. 2026-04-28 23:02:14 -07:00
jess f98b36833c Fixed a slew of bugs involving switching modes. 2026-04-28 03:24:37 -07:00
jess e8a7f655ec Fixed the View mode bugs I'd been putting off. Added build scripts. 2026-04-26 19:59:42 -07:00
jess 9b2de378ef Linux display fix 2026-04-23 14:06:58 -07:00
jess 313b25a522 tables bugs 2026-04-20 06:27:32 -07:00
jess 43c1698797 Lasagna hat. Uh... no, it was tables which got some sorting sorted out, fixed the gutter to be drawn with the rest of the compositor's sweep. 2026-04-19 17:08:17 -07:00
jess 9c0a74c1ce More work in implementing image rendering. 2026-04-18 13:47:34 -07:00
jess 7d139570b2 Drop winapi, fix types for muda, clean up warnings. 2026-04-17 22:08:55 -07:00
jess 17d513c62f Clipboard handling needed revision in preperation for Windows Support. 2026-04-17 13:07:08 -07:00
jess 4c7d9f98a6 whoops 2026-04-15 10:11:52 -07:00
jess 070723ff95 Upload screenshot, fixed bug with paste. 2026-04-15 10:04:19 -07:00
jess 18ff0a0525 Initial commit 2026-04-15 02:39:18 -07:00