Commit 4fce0d7c2ad14cd8b734e302211bd15af1f62a1a. 20 commits folded. Every fact here was folded from the chain's per-commit deltas.
Declared RFCs at this point: none declared.
--dir (src/bin/phext_edit.rs) — A command line flag, --dir.--port (src/bin/phext_edit.rs) — A command line flag, --port.--token (src/bin/phext_edit.rs) — A command line flag, --token.coord-link (src/bin/phext_edit.rs) — A command named coord-link.main (src/bin/phext_edit.rs) — The entry point: the program starts here.saved (src/bin/phext_edit.rs) — A command named saved.main (src/bin/phext_nav.rs) — The entry point: the program starts here.--help (src/bin/phext_tts.rs) — A command line flag, --help.batch (src/bin/phext_tts.rs) — A command named batch.coord (src/bin/phext_tts.rs) — A command named coord.extract (src/bin/phext_tts.rs) — A command named extract.help (src/bin/phext_tts.rs) — A command named help.main (src/bin/phext_tts.rs) — The entry point: the program starts here.special (src/bin/phext_tts.rs) — A command named special.ssml (src/bin/phext_tts.rs) — A command named ssml.table (src/bin/phext_tts.rs) — A command named table.CoordinateNav (src/coordinate_ext.rs) — -------------------------------------------------------------------------------------------------------- [UPSTREAM] Navigation trait: move forward/backward in a specific dimension.Dimension (src/coordinate_ext.rs) — -------------------------------------------------------------------------------------------------------- Dimension enum for editor navigation.Dimension::from_index (src/coordinate_ext.rs) — Convert 1-9 key index to dimension.delimiter (src/coordinate_ext.rs) — The delimiter byte for this dimension.name (src/coordinate_ext.rs) — Function name takes no inputs beyond the value it is called on, and gives back &'static str.Position (src/cursor.rs) — Position within a scroll's text.Position::new (src/cursor.rs) — Function Position::new takes line: usize, col: usize and gives back Position.ScrollCursor (src/cursor.rs) — The cursor state within a scroll.ScrollCursor::new (src/cursor.rs) — New cursor at the origin (0,0).Selection (src/cursor.rs) — A selection range within a scroll.Selection::cursor (src/cursor.rs) — A zero-width selection (cursor) at a position.at (src/cursor.rs) — New cursor at a specific position.end (src/cursor.rs) — The end of the selection (later position).from_offset (src/cursor.rs) — Convert a byte offset in text to a Position.is_cursor (src/cursor.rs) — Whether this is a zero-width selection (just a cursor).move_bottom (src/cursor.rs) — Move to end of text.move_down (src/cursor.rs) — Move cursor down by n lines, preserving column.move_end (src/cursor.rs) — Move to end of current line.move_home (src/cursor.rs) — Move to beginning of current line.move_left (src/cursor.rs) — Move cursor left by n characters within text.move_right (src/cursor.rs) — Move cursor right by n characters within text.move_to (src/cursor.rs) — Move cursor to a position, collapsing any selection.move_top (src/cursor.rs) — Move to start of text.move_up (src/cursor.rs) — Move cursor up by n lines, preserving column.move_word_backward (src/cursor.rs) — Move to the previous word boundary.move_word_forward (src/cursor.rs) — Move to the next word boundary.origin (src/cursor.rs) — Function origin takes no inputs beyond the value it is called on, and gives back Position.position (src/cursor.rs) — Current cursor position (selection head).select_to (src/cursor.rs) — Extend selection to a position (keep anchor, move head).start (src/cursor.rs) — The start of the selection (earlier position).to_offset (src/cursor.rs) — Convert this Position to a byte offset in text.<'a> EditContext<'a>::new (src/editor.rs) — Function <'a> EditContext<'a>::new takes coordinate: Coordinate, text: &'a mut String, cursor: &'a mut ScrollCursor, undCursorStyle (src/editor.rs) — Cursor rendering style.EditContext (src/editor.rs) — The editing context passed to modes.EditKey (src/editor.rs) — A key event abstraction (decoupled from any TUI/GUI framework).EditKey::char (src/editor.rs) — Function EditKey::char takes c: char and gives back EditKey.EditKeyCode (src/editor.rs) — A named choice named EditKeyCode.EditResult (src/editor.rs) — What happened after processing a key.EditorMode (src/editor.rs) — The trait that all editor modes implement.ctrl (src/editor.rs) — Function ctrl takes c: char and gives back EditKey.delete_backward (src/editor.rs) — Delete n characters before the cursor (backspace).delete_forward (src/editor.rs) — Delete n characters at the cursor position (delete key).delete_line (src/editor.rs) — Delete the current line.insert (src/editor.rs) — Insert text at the cursor position.insert_newline (src/editor.rs) — Insert a newline at the cursor position.redo (src/editor.rs) — Redo the next edit.replace_selection (src/editor.rs) — Replace the selected text with new text.special (src/editor.rs) — Function special takes code: EditKeyCode and gives back EditKey.undo (src/editor.rs) — Undo the last edit.LatticeIndex (src/index.rs) — The lattice index: maps every populated coordinate to its byte span.LatticeIndex::build (src/index.rs) — Build an index by scanning the raw phext bytes once.ScrollSpan (src/index.rs) — A scroll's location within the raw phext byte buffer.ScrollSpan::len (src/index.rs) — Function ScrollSpan::len takes no inputs beyond the value it is called on, and gives back usize.buffer_len (src/index.rs) — Total buffer size.contains (src/index.rs) — Check if a coordinate has content.coordinates (src/index.rs) — Iterator over all populated coordinates in document order.coordinates_matching (src/index.rs) — Find all populated coordinates that match in a given dimension range.dimension_extent (src/index.rs) — Get the density of a dimension — how many distinct values exist for a given dimension across all populated coordinates.get (src/index.rs) — Look up the byte span for a coordinate.is_empty (src/index.rs) — Function is_empty takes no inputs beyond the value it is called on, and gives back bool.next_populated (src/index.rs) — Find the next populated coordinate after coord in document order.prev_populated (src/index.rs) — Find the previous populated coordinate before coord in document order.scroll_count (src/index.rs) — Number of populated scrolls.coordinate_ext::{Dimension, CoordinateNav} (src/lib.rs) — A re-export: coordinate_ext::{Dimension, CoordinateNav} is made reachable through this module, so other code can use itcursor::{ScrollCursor, Position, Selection} (src/lib.rs) — A re-export: cursor::{ScrollCursor, Position, Selection} is made reachable through this module, so other code can use iteditor::{EditorMode, EditContext, EditKey, EditKeyCode, EditResult, CursorStyle} (src/lib.rs) — A re-export: editor::{EditorMode, EditContext, EditKey, EditKeyCode, EditResult, CursorStyle} is made reachable throughindex::{LatticeIndex, ScrollSpan} (src/lib.rs) — A re-export: index::{LatticeIndex, ScrollSpan} is made reachable through this module, so other code can use it from heremmap::MappedLattice (src/lib.rs) — A re-export: mmap::MappedLattice is made reachable through this module, so other code can use it from here.modes::VimMode (src/lib.rs) — A re-export: modes::VimMode is made reachable through this module, so other code can use it from here.navigator::Navigator (src/lib.rs) — A re-export: navigator::Navigator is made reachable through this module, so other code can use it from here.search::{search_lattice, search_lattice_parallel, search_lattice_auto, search_coordinates, SearchHit} (src/lib.rs) — A re-export: search::{search_lattice, search_lattice_parallel, search_lattice_auto, search_coordinates, SearchHit} is masentron::{Sentron, Neuron, Axon, AxisGroup, SENTRON_CAPACITY} (src/lib.rs) — A re-export: sentron::{Sentron, Neuron, Axon, AxisGroup, SENTRON_CAPACITY} is made reachable through this module, so othstats::{ScrollStats, DimensionDensity, LatticeOverview, Neighborhood} (src/lib.rs) — A re-export: stats::{ScrollStats, DimensionDensity, LatticeOverview, Neighborhood} is made reachable through this moduletts::{CoordPronunciation, byte_to_syllable, dim_to_syllables, to_ssml, generate_pronunciation_doc, special_coords} (src/lib.rs) — A re-export: tts::{CoordPronunciation, byte_to_syllable, dim_to_syllables, to_ssml, generate_pronunciation_doc, special_undo::{UndoEngine, EditOp, UndoRecord} (src/lib.rs) — A re-export: undo::{UndoEngine, EditOp, UndoRecord} is made reachable through this module, so other code can use it fromMappedLattice (src/mmap.rs) — A memory-mapped phext document with copy-on-write editing.MappedLattice::open (src/mmap.rs) — Open a phext file and build the lattice index.delete_scroll (src/mmap.rs) — Delete a scroll at the given coordinate.from_bytes (src/mmap.rs) — Create a MappedLattice from raw bytes (for testing or in-memory use).has_scroll (src/mmap.rs) — Check if a coordinate has content (considering overlay).index (src/mmap.rs) — Access the underlying index for navigation queries.is_dirty (src/mmap.rs) — Check if there are unsaved modifications.path (src/mmap.rs) — Get the file path.pending_changes (src/mmap.rs) — Number of modified/inserted/deleted scrolls.populated_coordinates (src/mmap.rs) — Get all populated coordinates, including overlay insertions, excluding overlay deletions.raw_buffer (src/mmap.rs) — Access the raw mmap buffer for search operations.read_scroll (src/mmap.rs) — Read the content of a scroll at the given coordinate.revert (src/mmap.rs) — Discard all unsaved changes, reverting to the mmap state.save (src/mmap.rs) — Save to the backing file.save_as (src/mmap.rs) — Save to a specific path.scroll_count (src/mmap.rs) — Number of populated scrolls (considering overlay).to_phext_bytes (src/mmap.rs) — Reconstruct the full phext as bytes from mmap + overlay.write_scroll (src/mmap.rs) — Write content to a scroll at the given coordinate.vim::VimMode (src/modes/mod.rs) — A re-export: vim::VimMode is made reachable through this module, so other code can use it from here.VimMode (src/modes/vim.rs) — Vim-style editor mode with Normal/Insert/Visual/Command sub-modes.VimMode::new (src/modes/vim.rs) — Function VimMode::new takes no inputs beyond the value it is called on, and gives back VimMode.Navigator (src/navigator.rs) — The navigator state for one cursor in the lattice.Navigator::new (src/navigator.rs) — Function Navigator::new takes no inputs beyond the value it is called on, and gives back Navigator.Navigator::summarize (src/navigator.rs) — Build a summary of the current neighborhood for UI rendering.NeighborhoodSummary (src/navigator.rs) — Summary of the lattice neighborhood around a coordinate, for rendering the coordinate bar and lattice navigator panel.active_dimension (src/navigator.rs) — Currently selected dimension.at (src/navigator.rs) — Create a navigator starting at a specific coordinate.dimension_neighbors (src/navigator.rs) — Get neighbors in the active dimension: (prev_value, current_value, next_value).goto (src/navigator.rs) — Jump directly to a coordinate.history_back (src/navigator.rs) — Navigate back in history.history_forward (src/navigator.rs) — Navigate forward in history.jump_to_mark (src/navigator.rs) — Jump to the most recent mark (and remove it).move_backward (src/navigator.rs) — Move backward in the active dimension (resets lower dims).move_forward (src/navigator.rs) — Move forward in the active dimension (resets lower dims).next_populated (src/navigator.rs) — Jump to the next populated coordinate (any dimension).position (src/navigator.rs) — Current position in the lattice.prev_populated (src/navigator.rs) — Jump to the previous populated coordinate (any dimension).select_dimension (src/navigator.rs) — Select a dimension by index (1-9).set_mark (src/navigator.rs) — Set a mark at the current position.SearchHit (src/search.rs) — A search hit: coordinate + context around the match.build_index_parallel (src/search.rs) — Parallel index build — partition the buffer into chunks, scan each for delimiter boundaries, then merge.search_coordinates (src/search.rs) — Search for coordinates matching a coordinate pattern string.search_lattice (src/search.rs) — Search the lattice for a text pattern (single-threaded).search_lattice_auto (src/search.rs) — Auto-selecting search: picks serial or parallel based on data characteristics.search_lattice_parallel (src/search.rs) — Search the lattice for a text pattern across all available cores.AxisGroup (src/sentron.rs) — The two fundamental axis groups in the sentron topology.AxisGroup::name (src/sentron.rs) — Function AxisGroup::name takes no inputs beyond the value it is called on, and gives back &'static str.Axon (src/sentron.rs) — One connection axis: a dimension with backward/forward reach.Axon::total (src/sentron.rs) — Total reachable coordinates along this axis.CONNECTIONS_PER_NEURON (src/sentron.rs) — The number of connections per neuron.Neuron (src/sentron.rs) — A neuron in the sentron: a populated coordinate with its 8 axons.SENTRON_CAPACITY (src/sentron.rs) — The maximum number of neurons in a sentron.Sentron (src/sentron.rs) — The sentron: 40 nearest populated coordinates to the cursor, with full 8-way connectivity analysis.Sentron::build (src/sentron.rs) — Build a sentron centered on a coordinate.dimensions (src/sentron.rs) — The 4 dimensions in this axis group.sequential_axons (src/sentron.rs) — The sequential (temporal) axons: Volume, Book, Chapter, Section.size (src/sentron.rs) — How many neurons are in this sentron.structural_axons (src/sentron.rs) — The structural (spatial) axons: Library, Shelf, Series, Collection.topology_string (src/sentron.rs) — Render the sentron as a compact topology string.weight (src/sentron.rs) — Visual weight: how "thick" this connection is (0.0 to 1.0).DimensionDensity (src/stats.rs) — Density profile for one dimension: how many populated scrolls exist at each value along that dimension.DimensionDensity::build (src/stats.rs) — Build the density profile for one dimension across all populated coordinates.LatticeOverview (src/stats.rs) — Global lattice overview stats.LatticeOverview::build (src/stats.rs) — Build a complete overview of the lattice.Neighborhood (src/stats.rs) — Neighborhood context: what's near the current coordinate.Neighborhood::build (src/stats.rs) — Build neighborhood context for a coordinate.ScrollStats (src/stats.rs) — Per-scroll statistics for the status bar and info panel.ScrollStats::from_bytes (src/stats.rs) — Compute stats from raw scroll bytes.distinct_values (src/stats.rs) — How many distinct values exist in this dimension.range (src/stats.rs) — The range of populated values.size_display (src/stats.rs) — Human-readable size.sparkline (src/stats.rs) — Render a sparkline string showing relative density.CoordPronunciation (src/tts.rs) — Full 9D coordinate pronunciationCoordPronunciation::from_coordinate (src/tts.rs) — Create from a libphext CoordinateSubCoord (src/tts.rs) — A 3D subcoordinate (e.g., 1.1.1)SubCoord::new (src/tts.rs) — Function SubCoord::new takes a: u32, b: u32, c: u32 and gives back Self.ZERO_SOUND (src/tts.rs) — Zero = "om" — the nada sound, silence between wordsbyte_to_syllable (src/tts.rs) — Convert a single byte value (0-255) to a syllabledim_to_syllables (src/tts.rs) — Convert a coordinate dimension value (e.g., 1, 5, 9) to a syllable sequencegenerate_pronunciation_doc (src/tts.rs) — Generate a batch pronunciation documentipa_hint (src/tts.rs) — Get IPA-style phonetic hintparse (src/tts.rs) — Parse from string "1.1.1/1.1.1/1.1.1"pronounce (src/tts.rs) — Full pronunciation with om boundariespronounce_compact (src/tts.rs) — Compact pronunciation (no om boundaries)pronounce_verbose (src/tts.rs) — Verbose with dimension labelsspecial_coords (src/tts.rs) — Special coordinates with meaningto_ssml (src/tts.rs) — Generate SSML for TTS engines (Google, Amazon Polly, etc.)EditOp (src/undo.rs) — An edit operation that can be undone/redone.EditOp::apply (src/undo.rs) — Apply this operation to text, returning the new text.UndoEngine (src/undo.rs) — The undo engine: manages edit history across all scrolls.UndoEngine::new (src/undo.rs) — Function UndoEngine::new takes no inputs beyond the value it is called on, and gives back UndoEngine.UndoRecord (src/undo.rs) — An undo record: operation + cursor state.can_redo (src/undo.rs) — Can we redo on this scroll?can_undo (src/undo.rs) — Can we undo on this scroll?depth (src/undo.rs) — Undo depth for a scroll.dirty_scrolls (src/undo.rs) — Which scrolls have been modified.from_scroll (src/undo.rs) — Deserialize from a phext scroll.from_work_phext (src/undo.rs) — Load undo history from a work phext.inverse (src/undo.rs) — Compute the inverse operation (for undo).record (src/undo.rs) — Record an edit operation.redo (src/undo.rs) — Redo the next edit on a scroll.to_scroll (src/undo.rs) — Serialize to the phext scroll format.to_work_phext (src/undo.rs) — Serialize the full undo history to a phext byte vector.total_edits (src/undo.rs) — Total edits recorded globally.undo (src/undo.rs) — Undo the last edit on a scroll.