Commit Graph

78 Commits

Author SHA1 Message Date
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 d30420324a - prelude_overrides: plugins may swap the compiler's built-in runtime helpers for their own.
- decompose_module + read_module_source: compiles a module straight from a disk path.
2026-05-30 18:52:43 -07:00
jess c18ee2c226 lib 2026-05-30 16:39:53 -07:00
jess 6c3066fa1d decomposer/compiler 2026-05-30 15:58:00 -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 cccb0378cb interp.rs -> interp/ module
modular extensibility including configurable module paths
2026-05-30 11:42:19 -07:00
jess 5d40b4047a fix array bug with string concat in display 2026-05-28 04:33:49 -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
jess a35f46193b Merge pull request 'Adding default.nix for easier installation on Linux systems having nix package manager' (#2) from pxlman/Acord:main into main
Reviewed-on: #2
Reviewed-by: jess <jess@else-if.org>
2026-05-07 07:54:04 +00:00
Ahmed Ashraf 6176bf789d update README.md 2026-05-06 06:29:35 +03:00
Ahmed Ashraf 1253db2d1f adding default.nix for better installation on linux systems having nix package manager 2026-05-06 06:24:45 +03:00
jess 15415db1af Merge pull request 'fix: Prevent context menu from closing prematurely on mouse movement and hover interactions' (#1) from pxlman/Acord:main into main
Reviewed-on: #1

Thank you!
2026-05-06 02:06:58 +00: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 33ab38d5a9 Well... It's a bit of a cop out, I won't lie. But editor mode is the default across platforms now because it solves a bunch of issues with starting in Live mode I just don't feel like tackling right now. I'll come around... 2026-04-29 15:40:54 -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 9354515aea Merge remote-tracking branch 'refs/remotes/origin/main' 2026-04-29 02:24:26 -07:00
jess 8111a8164a Implemented Docs Browser for Windows and Linux 2026-04-29 02:21:10 -07:00
jess f2a062e25d Update README.md 2026-04-29 06:18:46 +00:00
jess 2fb2843caa rm bin 2026-04-28 23:02:45 -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 bae246f08d Build scripts and flow resituated for better organization & Implementing cross compilation utilities. 2026-04-28 15:53:20 -07:00
jess f98b36833c Fixed a slew of bugs involving switching modes. 2026-04-28 03:24:37 -07:00
jess a193f2c0ca windows universal build script 2026-04-27 14:24:11 -07:00
jess da66cf61f5 Universal macos binary script 2026-04-27 14:05:02 -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