gioser

tawasuyu/taffy

A high performance rust-powered UI layout library

Rust 501HTML 254C 19JavaScript 81412 Sutichaykuna

⎇ 7825ae4072b21b802188269d577eaa2757033f8b/src/compute/flexbox.rs

2024-02-12

  1. Add Size::new_with_cross utility method (#609)7825ae407 · ruwaq Taym Haddadi ·
  2. Fix typos. (#611)f1e4edab9 · ruwaq Bruce Mitchener ·

2023-12-11

  1. Fix clippy::ptr_arg lints (#593)1ed47cb03 · ruwaq Nico Burns ·

2023-11-26

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

2023-11-22

  1. Convert mutable layout getters to layout setters (#583)7781c7024 · ruwaq Nico Burns ·

2023-11-21

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

2023-11-02

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

2023-10-22

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

2023-10-18

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

2023-10-14

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

2023-10-09

  1. Replace per-node measure functions with a single measure function + per-node context (#490)be627e7fa · ruwaq Nico Burns ·

2023-10-02

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

2023-09-25

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

2023-08-07

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

2023-07-19

  1. Fixed clippy lint errors (needless_pass_by_ref_mut) (#517)897487810 · ruwaq Yurii Nakonechnyi ·

2023-05-31

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

2023-05-19

  1. Implement CSS Block layout (`Display::Block`) (#474)544399619 · ruwaq Nico Burns ·

2023-04-23

  1. Support `Overflow::Scroll` (#446)daf416438 · ruwaq Nico Burns ·

2023-04-14

  1. Refactor/module hierarchy (#443)628d7e1bc · ruwaq Nico Burns ·

2023-04-11

  1. Make low-level layout algorithm functions public (#434)a99dc54ca · ruwaq Nico Burns ·

2023-04-10

  1. Use `struct NodeId(u64)` instead of `slotmap::DefaultKey` in all public APIs (#426)e997fa3f4 · ruwaq Nico Burns ·
  2. Support `Overflow::Hidden` (#424)b9fce82cc · ruwaq Nico Burns ·
  3. Trampoline child measurement/layout through the `LayoutTree` trait (#427)325413cd1 · ruwaq Nico Burns ·

2023-04-09

  1. Optimise flexbox layouts with min/max sizes (#413)da796c6e4 · ruwaq Nico Burns ·

2023-03-30

  1. Fix: available space in the presence of a min width (#407)0b736d47e · ruwaq Nico Burns ·

2023-03-14

  1. Fix wrapping nodes generating an incorrect min-content size (#395)328880bac · ruwaq Nico Burns ·

2023-03-10

  1. Prevent percentage sizes from contributing a flex item's min-content size320256b9a · ruwaq Nico Burns ·

2023-03-09

  1. Add missing 0aa251a158 · ruwaq Nico Burns ·
  2. Floor outer flex-basis by padding_border sum (floors inner flex-basis at 0)d1b0451f7 · ruwaq Nico Burns ·
  3. Floor flex-basis limits by preferred size style value when determining flex container main size39bf6ce4b · ruwaq Nico Burns ·
  4. Convert flex basis determination to use break from block171cdea7b · ruwaq Nico Burns ·

2023-03-05

  1. Fix padding/border flooring size of absolutely positioned childrencfa4fec92 · ruwaq Nico Burns ·
  2. Fix flexbox children being floored by padding/border86ba2ffa6 · ruwaq Nico Burns ·
  3. Fix divide by zero in main size determination58ca3222b · ruwaq Nico Burns ·

2023-03-09

  1. Reduce style accesses (#386)6be6a471e · ruwaq Nico Burns ·
  2. Use mutable slice rather mutable vec parameterd1d283da1 · ruwaq Nico Burns ·