Commit Graph

53 Commits

Author SHA1 Message Date
jess 3645df0dac bugs 2026-06-05 22:17:08 -07:00
jess a5d5f01674 Fixed:
- MOST of the table bugs.

Uh...:
- Row resizing still doesn't always activate.
- Sometimes the content still spills instead of wraps.

It's on the todo list. Sort of.
I'll wait until I'm done with breaking things to fix them completely.
2026-06-04 18:27:06 -07:00
jess 636137569d fix { wrap bug 2026-06-04 13:47:48 -07:00
jess 497323bb00 bugfixes 2026-06-04 11:53:34 -07:00
jess 7112564d9d extend eval and highlight rule permissivity 2026-05-30 23:04:26 -07:00
jess 48a871186b syntax highlighting editor exports 2026-05-30 20:55:33 -07:00
jess 9f2e2ff687 modular-module extension framework continued 2026-05-30 14:54:53 -07:00
jess 853a9fd0cc v2 acord core 2026-05-30 12:20:25 -07:00
jess 2111fcac62 rand() and .rand()
see wiki for details
2026-05-28 03:09:36 -07:00
jess 24958d4896 Syntax highlighting bug fix for external.
Also timing for tree-sitter checks
2026-05-28 02:56:36 -07:00
jess 9b5dbbdf2b Extended for easier embedding. 2026-05-27 22:11:59 -07:00
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 e9c2b9ed80 Impl, Trait 2026-05-26 18:24:23 -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 ba983e3776 - Mini-map initial implements
- Improved editor mode rendering efficiency when editing large files (10k+ locs)
2026-05-10 19:38:58 -07:00
jess db4e30dc6d drag for resize hbs 2026-05-10 13:26:21 -07:00
jess 943aa82ec1 Finally split editor.rs into bit sized pieces. Rest in pieces my 3kloc beloved. 2026-05-10 05:56:35 -07:00
jess 62f5d6212e Modes menu group and submenu items:
Free (prettyu much implemented)
Relative (also pretty close)
Anchored (will take more than the afformentioned two, more to come)
2026-05-10 00:36:18 -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
Ahmed Ashraf 46ca844a93 fixing auto hiding context menu and adding a message passing debuging line 2026-05-06 04:11:03 +03:00
Ahmed Ashraf 6f1a5d31bf replace on_right_press with on_right_release for better experience 2026-05-06 04:10:00 +03:00
jess 56d2b3ce9a - Add printing
- Beginning of iPad port
2026-05-04 13:09:37 -07:00
jess 6001b41fab Oh so you'd like a graphics backend, is that right, linux?
Also I made sidecar a bit less aggro.
2026-05-02 20:24:58 -07:00
jess 6cfb229132 Fixed a couple of bugs I hadn't been able to wrap my mind around until suddenly - I knew.
- Title block misappropriation/reappropriation.
- Different related bug where the last opened note would get renamed the previous note's title, causing it to duplicate to avoid overwriting, but combined with bug 1 and 2 you ended up with 3 notes all with different titles none of which matched their title blocks.

Oh, and expanded on the document browser's context menu and other items required to finish the folder organization within the browser.
2026-05-01 14:03:04 -07:00
jess 21c2aa8e95 Document Browser Re-design replaced MacOS' Swift version and unifies all 3 platforms under one implementation. 2026-05-01 13:57:59 -07:00
jess 07550b5c31 Reorganized structure of files. Transitioned macos to new implementations of browser viewer and settings menu that are shared across all platforms now. 2026-04-29 19:37:00 -07:00
jess 3d357209e6 - Added Settings menu into windows and linux
- Switched from 3 Menu implementations / removed  Muda on Windows.
 	[Iced Menu Bar for both Linux and Windows now.]
2026-04-29 17:35:38 -07:00
jess 7d511195fc trial 2 + new note bugfix linux 2026-04-29 14:15:11 -07:00
jess 2277be53cf trialing a menu implementation for linux 2026-04-29 14:00:20 -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 8111a8164a Implemented Docs Browser for Windows and Linux 2026-04-29 02:21:10 -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 596482436a Added more auto-pairs types, '', "";
Added toggles in the menu for which auto-pairs to complete.
2026-04-28 22:58:18 -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 1b7377792f Icon, Windows, Dead Code. I bought a pizza. Er, right, this is git. But the pizza was REALLY good 2026-04-19 21:06:06 -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 210978e8f2 Fix highlight on image lines having a different amount of offset from their actual line. 2026-04-19 17:08:17 -07:00
jess 035164a698 Fix excessive writing to disk by gating r/w behind in-mem hash checks first. 2026-04-18 14:19:35 -07:00
jess 9c0a74c1ce More work in implementing image rendering. 2026-04-18 13:47:34 -07:00
jess 6be17a4619 Wrap keys and menus, fix icon, add subsystem to executable. 2026-04-17 22:18:43 -07:00
jess 7d139570b2 Drop winapi, fix types for muda, clean up warnings. 2026-04-17 22:08:55 -07:00
jess a9beb2a4ae Added image support. 2026-04-17 20:15:34 -07:00
jess d746c9abd6 Windows init window wrapper and menus, polling. 2026-04-17 13:09:52 -07:00
jess 17d513c62f Clipboard handling needed revision in preperation for Windows Support. 2026-04-17 13:07:08 -07:00
jess 03284a694e Switched to Oklab color space + a few other tricks to get Cosmic Text + wgpu to bend to my will.
Fixed VIM mode + added rainbow formula to gutter since it worked so great for args/terms.
2026-04-16 15:28:22 -07:00
jess ccffb9149d Colors... We'll need a new space. 2026-04-16 02:01:36 -07:00