SuccessChanges

Summary

  1. select: Update computed style data structure for calc() (details)
  2. select: Add header guards to autogenerated files (details)
  3. select: Turn on width as calc property (details)
  4. select: Make width as calc() property compile (details)
  5. select: Add destructors to the generator (details)
  6. test: Add a trivial calc check to select test (details)
  7. select/unit: Add internal angle-to-degrees converter (details)
  8. select: Add initial calculator (details)
  9. computed: Fix css_computed_width (details)
  10. select/calc: Add canary to check for leaked calculators (details)
  11. select: Create and hand off calculators during selection (details)
  12. test: Add select2 tests (details)
  13. select: Fix generator to access type bits properly (details)
  14. helpers: Fix calc helper (details)
  15. calculator: Fix some constness and swap u/v (details)
  16. computed: support calc() in css_computed_width (details)
  17. test: Remove incorrect test from select (details)
  18. test: Add calc test to select2 set (details)
  19. computed: Fix initial value in css_computed_width_static (details)
  20. calc: Try and quieten a warning about alignment (details)
  21. calc: Add missing newline to quieten compiler warnings (details)
Commit 1f4f415be516baf10dff417a7f8347beeb635a79 by dsilvers
select: Update computed style data structure for calc()
The file was modifiedsrc/select/assets.py (diff)
The file was modifiedsrc/parse/properties/font.c (diff)
The file was modifiedsrc/select/select_generator.py (diff)
The file was modifiedsrc/select/autogenerated_propset.h (diff)
The file was modifiedinclude/libcss/types.h (diff)
The file was modifiedsrc/select/autogenerated_computed.h (diff)
The file was modifiedtest/dump_computed.h (diff)
Commit 5cf3c54c8500c22e8da283c5a5f66df93cf87d5e by dsilvers
select: Add header guards to autogenerated files
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
The file was modifiedsrc/select/assets.py (diff)
Commit 4db86b45b8b793bac0bcb06cf965cc0ff6d9277f by dsilvers
select: Turn on width as calc property
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
The file was modifiedsrc/select/autogenerated_computed.h (diff)
The file was modifiedsrc/select/autogenerated_propset.h (diff)
The file was modifiedsrc/select/autogenerated_propget.h (diff)
The file was modifiedsrc/select/select_config.py (diff)
Commit 21af02dda429eabec0562ff8ec8479660cd1c5d3 by dsilvers
select: Make width as calc() property compile
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
The file was modifiedsrc/select/properties/helpers.h (diff)
The file was modifiedsrc/select/properties/width.c (diff)
The file was modifiedsrc/select/computed.c (diff)
The file was modifiedsrc/select/properties/helpers.c (diff)
Commit 851e5c6b37181fd320d26802890e6bfb618f12fa by dsilvers
select: Add destructors to the generator
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
The file was modifiedsrc/select/assets.py (diff)
The file was addedsrc/select/autogenerated_destroy.inc (diff)
The file was modifiedsrc/select/select_generator.py (diff)
The file was modifiedsrc/select/computed.c (diff)
Commit ed7576580b0d20067b93b2178b1bcce27e99e39b by dsilvers
test: Add a trivial calc check to select test
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
The file was modifiedtest/data/select/INDEX (diff)
The file was addedtest/data/select/calc.dat (diff)
Commit b6edd5e9870d815d51bf18f8892697a6324baa65 by dsilvers
select/unit: Add internal angle-to-degrees converter
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
The file was modifiedsrc/select/unit.h (diff)
The file was modifiedsrc/select/unit.c (diff)
Commit 76116e0f1e8b7d0637c954060b271e97cb7d10f3 by dsilvers
select: Add initial calculator
The calculator is to be used by the various computed_get_* functions to
perform calc() expansion on behalf of the UA.
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
The file was addedsrc/select/calc.c (diff)
The file was modifiedsrc/select/Makefile (diff)
The file was addedsrc/select/calc.h (diff)
Commit 822a0a1133a0404a971a5ffd843b495ce84190c0 by dsilvers
computed: Fix css_computed_width
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
The file was modifiedsrc/select/computed.c (diff)
Commit 0e3d77fd165ba823f068f0fe9e259a981370b8cc by dsilvers
select/calc: Add canary to check for leaked calculators
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
The file was modifiedsrc/select/calc.c (diff)
The file was modifiedsrc/select/calc.h (diff)
Commit b7a5395ad05cdcbf6b9cb8245cbe3715a53342ac by dsilvers
select: Create and hand off calculators during selection
We create a calculator when making a selection context, and then we hand
that to computed styles when we select.  Creation, reffing, and
unreffing, is balanced.
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
The file was modifiedsrc/select/assets.py (diff)
The file was modifiedsrc/select/computed.c (diff)
The file was modifiedsrc/select/select.c (diff)
The file was modifiedsrc/select/autogenerated_computed.h (diff)
The file was modifiedsrc/select/computed.h (diff)
The file was modifiedsrc/select/select_generator.py (diff)
Commit 2c6b0cee4116b9f1e187a1b4b953c876e74ea4ed by dsilvers
test: Add select2 tests
This adds select2, which is select, but resolving with the unit_ctx
and/or calc etc.
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
The file was modifiedtest/INDEX (diff)
The file was modifiedtest/select.c (diff)
The file was addedtest/data/select2/INDEX (diff)
The file was addedtest/data/select2/calc.dat (diff)
The file was addedtest/select2.c (diff)
The file was modifiedtest/dump_computed.h (diff)
The file was modifiedtest/Makefile (diff)
Commit c7aec22110605e2f82bd59613c5ce7bddb2bdeb0 by dsilvers
select: Fix generator to access type bits properly
In the case that we have a calc-enabled property, we need to get the
type and unit, which get_xx_bits did not provide, so instead we go
directly to the bit shifting approach.
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
The file was modifiedsrc/select/select_generator.py (diff)
The file was modifiedsrc/select/autogenerated_propset.h (diff)
Commit f6d2e5889bd887ce964b4d8bf74899cf1c893207 by dsilvers
helpers: Fix calc helper
The calc helper was not setting _SET and so we (a) wouldn't have
accessed the calc, and (b) leaked the calc code block.
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
The file was modifiedsrc/select/properties/helpers.c (diff)
Commit 0337e175404403546ed689df6b5895f12d8c27ba by dsilvers
calculator: Fix some constness and swap u/v
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
The file was modifiedsrc/select/calc.c (diff)
The file was modifiedsrc/select/calc.h (diff)
Commit 11728e93b9ac303c10c41f102d4c0220ef209bef by dsilvers
computed: support calc() in css_computed_width
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
The file was modifiedsrc/select/computed.c (diff)
Commit 84a6aee9c9eb9140995e960f677dbbe6fa6879ca by dsilvers
test: Remove incorrect test from select
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
The file was modifiedtest/data/select/tests1.dat (diff)
Commit f4fb4c366c063e5a7d58483b76b51458ce440448 by dsilvers
test: Add calc test to select2 set
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
The file was modifiedtest/data/select2/calc.dat (diff)
Commit 7265132f99989cf231415917e7574b78eccfbeb6 by dsilvers
computed: Fix initial value in css_computed_width_static
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
The file was modifiedsrc/select/computed.c (diff)
Commit cce3fb380c452abe44b857a881a11a6816a0485d by dsilvers
calc: Try and quieten a warning about alignment
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
The file was modifiedsrc/select/calc.c (diff)
Commit 6a10882b29d394154076bc11c5cbf35871e62a90 by dsilvers
calc: Add missing newline to quieten compiler warnings
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
The file was modifiedsrc/select/calc.h (diff)