tawasuyu

tawasuyu/taffy

A high performance rust-powered UI layout library

Rust 1061HTML 997Markdown 12TOML 83120 Definitions

⎇ d04d9702acd00a9828e8fec0598750edc649aeb1/src

2024-01-02

  1. Call measure function on leaf nodes even if the node does not have context (#598)563d5dcee · by Nico Burns ·

2024-01-01

  1. add get_disjoint_node_context_mut to tree (#596)77b704eb4 · by Dylan Blokhuis ·

2023-12-11

  1. Make `slotmap` dependency compatible with `no_std` environments (#594)440843c70 · by Conall Keane ·
  2. Fix clippy::ptr_arg lints (#593)1ed47cb03 · by Nico Burns ·

2023-11-26

  1. Split tree traits (#585)b11003ad4 · by Nico Burns ·

2023-11-25

  1. Move `NodeData` struct into `taffy_tree` module (#584)a6e60e2dc · by Nico Burns ·

2023-11-22

  1. Convert mutable layout getters to layout setters (#583)7781c7024 · by Nico Burns ·
  2. Add `TaffyTree.get_node_context` function (get immutable ref to context)b63c2ae07 · by Nico Burns ·
  3. Implement `Hash` for `NodeId`9d3f2ba06 · by Nico Burns ·

2023-11-21

  1. Rename Taffy struct to TaffyTree (#580)17235ffa2 · by Nico Burns ·
  2. Improve main module (lib.rs) docs + re-export more types at the crate root (#444)7eee673c5 · by Nico Burns ·
  3. Compute content size, padding and border for each node (#573)64f8aa0fb · by Nico Burns ·
  4. Specialize cache for perform_layout and run_mode steps (#579)70b35712a · by Nico Burns ·

2023-11-02

  1. Fix implementation of SizingMode::ContentSize for Flexbox, Grid, and Block algorithms (#576)1876f72be · by Nico Burns ·
  2. Pass axis information when measuring a child's size (#575)6d7f3cf86 · by Nico Burns ·

2023-10-29

  1. Merge `taffy_tree` module into a single file (#574)278f5e39b · by Nico Burns ·

2023-10-22

  1. Refactor `LayoutTree` + add examples of custom trees (#564)d4374b93f · by Nico Burns ·

2023-10-18

  1. Remove core::f32 import from flexbox.rs (#566)23ff47756 · by Nico Burns ·

2023-10-14

  1. Remove `LayoutAlgorithm` trait (#562)daa07e0f4 · by Nico Burns ·
  2. Use macros to reduce noise from debug logging code (#561)67f286f36 · by Nico Burns ·

2023-10-12

  1. Refactor benchmarks (#472)6031fa21b · by Nico Burns ·

2023-10-09

  1. Replace per-node measure functions with a single measure function + per-node context (#490)be627e7fa · by Nico Burns ·
  2. Fix caching for flexbox columns (#556)9b26cfaa9 · by Nico Burns ·

2023-10-05

  1. Fix `justify-content` and `align-content` when free space is negative (content overflows container) (#551)48e4800f1 · by Nico Burns ·

2023-10-02

  1. Pass cross-axis known_dimension when computing flex item min size (#545)120bb7a2e · by Nico Burns ·

2023-09-25

  1. Flexbox: fix O(n^2) order lookup (#537)498a7470f · by Nico Burns ·

2023-08-14

  1. Fix: Make CSS Grid algorithm correctly apply max width/height and available space when it is the root node (#491)995862416 · by Nico Burns ·

2023-08-13

  1. Minor: added docs & test-case for updated 'Taffy::remove()' behaviour (#512)3341abe49 · by Yurii Nakonechnyi ·

2023-08-07

  1. Flexbox: pass correct cross-axis available space when computing an item's intrinsic main size (+misc fixes) (#522)dab541d61 · by Nico Burns ·

2023-07-23

  1. Fix rounding accumulation bug (#521)25ffaee23 · by Nico Burns ·

2023-07-20

  1. Minor: replaced 'Result<(), TaffyError>' by 'TaffyResult<()>' for consistency (#515)2d78dce1a · by Yurii Nakonechnyi ·

2023-07-19

  1. Minor: 'CellOccupancyMatrix::is_area_in_range()' now immutable (#516)6cf79606d · by Yurii Nakonechnyi ·
  2. Fixed clippy lint errors (needless_pass_by_ref_mut) (#517)897487810 · by Yurii Nakonechnyi ·

2023-07-17

  1. update parents list on remove (#511)c9e45e50d · by Max Stoumen ·

2023-07-07

  1. Minor: fixed comment for geometry::Point type (#505)0914058db · by Yurii Nakonechnyi ·
  2. Fix 'Unnecessary pub(self)' lint (#506)d3268309e · by Nico Burns ·

2023-06-25

  1. Minor: changed docs for Layout::location (bottom-left -> top-left) & added test (#500)cbd5d1dc7 · by Yurii Nakonechnyi ·

2023-06-15

  1. Reserve space for padding/borders/scrollbars in lead nodes with measure functions (#497)568f64332 · by Nico Burns ·

2023-05-31

  1. Minor misspelling fix (RunMode::PeformLayout -> RunMode::PerformLayout) (#485)d338f3731 · by Yurii Nakonechnyi ·

2023-05-30

  1. Add a new method `insert_child_at_index`. (#487)23b63f058 · by Remtori ·