1. 27 Nov, 2021 1 commit
    • Matthias Clasen's avatar
      fontchooser: Avoid setting variations needlessly · e9d8bf96
      Matthias Clasen authored
      Setting variations to their default value causes
      them to show up in the serialization of the font
      description - a font description has no idea about
      the default values, so can't filter them out.
      
      Avoid that.
      e9d8bf96
  2. 24 Nov, 2021 1 commit
  3. 21 Nov, 2021 6 commits
  4. 20 Nov, 2021 10 commits
  5. 19 Nov, 2021 4 commits
  6. 18 Nov, 2021 2 commits
  7. 16 Nov, 2021 5 commits
  8. 15 Nov, 2021 3 commits
  9. 13 Nov, 2021 1 commit
  10. 11 Nov, 2021 1 commit
  11. 10 Nov, 2021 1 commit
  12. 09 Nov, 2021 5 commits
    • Benjamin Otte's avatar
      label: Handle width-chars > text width · 1e47b1c6
      Benjamin Otte authored
      This was broken in wrapping labels.
      
      Testcase included.
      1e47b1c6
    • Benjamin Otte's avatar
      boxlayout: Fix broken min-size-for-opposite-size · 76c46739
      Benjamin Otte authored
      Assume a vbox with 2 wrapping labels saying
        Hello World
        Hi Ho
      being measured for their minimum width for 3 rows of text.
      This should be layouted like
        Hello
        World
        Hi Ho
      and measured accordingly.
      
      However, previously this was layouted as
        Hello World
        Hi Ho
      with 1.5 lines being assigned to both labels.
      That will obviously not compute the above wrapping which clearly
      results in a smaller min width.
      
      A reftest testing exactly this was included.
      76c46739
    • Benjamin Otte's avatar
      boxlayout: Split loop into if statmement · 0a31201c
      Benjamin Otte authored
      Turns it into 2 loops, one for the homogeneous part and one for the
      complicated part.
      0a31201c
    • Benjamin Otte's avatar
      boxlayout: Don't listen to comments · afe94e30
      Benjamin Otte authored
      ... when they are wrong.
      
      Instead, remove them.
      
      Or in other words: GTK4 does not have a fill child property anymore, so
      we don't need to run the measuring loop above to determine the size.
      afe94e30
    • Benjamin Otte's avatar
      Revert "sizerequest: Only check reported baselines if requested" · b0047060
      Benjamin Otte authored
      This reverts commit cf7fa931.
      
      We store the baseline in the cache and we do not know if baselines might
      be queried in the future. So always store them.
      
      No reftest because I don't know how to write one.
      
      premature optimization == √😈
      b0047060