Repository navigation
Commit a805d3e
authored
Write the list layout when the enabled editions include it (#10563)
## Summary
The default writer now writes the list layout whenever the session's
enabled editions include `vortex.list`, so the editions are the only
switch. `with_list_layout()` is removed, with no opt-out in its place.
No default edition includes `vortex.list`, so default writes are
unchanged.
## Changes
- `WriteStrategyBuilder::from_session` turns the list layout on when the
enabled editions include `vortex.list`.
- Removes `WriteStrategyBuilder::with_list_layout()`.
- vortex-file's test session enables every registered layout, so its
list tests now write the list layout; the flat/list switch in
`write_read_roundtrip_with_layout` is removed.
## API Changes
- Removed `WriteStrategyBuilder::with_list_layout()` (added in #10529,
unreleased).
---------
Signed-off-by: Matt Katz <mhkatz97@gmail.com>1 parent 8a1f2cb commit a805d3e
3 files changed
Lines changed: 38 additions & 93 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
| 14 | + | |
13 | 15 | | |
14 | 16 | | |
| 17 | + | |
15 | 18 | | |
16 | 19 | | |
17 | 20 | | |
18 | 21 | | |
19 | 22 | | |
20 | 23 | | |
21 | 24 | | |
| 25 | + | |
22 | 26 | | |
23 | 27 | | |
24 | 28 | | |
| |||
77 | 81 | | |
78 | 82 | | |
79 | 83 | | |
80 | | - | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
81 | 87 | | |
82 | 88 | | |
83 | 89 | | |
| |||
99 | 105 | | |
100 | 106 | | |
101 | 107 | | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | 108 | | |
116 | 109 | | |
117 | 110 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2010 | 2010 | | |
2011 | 2011 | | |
2012 | 2012 | | |
2013 | | - | |
2014 | | - | |
| 2013 | + | |
| 2014 | + | |
2015 | 2015 | | |
2016 | | - | |
2017 | | - | |
2018 | | - | |
2019 | | - | |
2020 | | - | |
2021 | | - | |
2022 | | - | |
2023 | | - | |
2024 | | - | |
2025 | | - | |
2026 | 2016 | | |
2027 | | - | |
2028 | | - | |
2029 | | - | |
2030 | | - | |
2031 | | - | |
2032 | | - | |
2033 | | - | |
2034 | | - | |
2035 | | - | |
2036 | | - | |
2037 | | - | |
2038 | | - | |
| 2017 | + | |
| 2018 | + | |
| 2019 | + | |
| 2020 | + | |
2039 | 2021 | | |
2040 | 2022 | | |
2041 | 2023 | | |
| |||
2110 | 2092 | | |
2111 | 2093 | | |
2112 | 2094 | | |
2113 | | - | |
2114 | | - | |
| 2095 | + | |
| 2096 | + | |
2115 | 2097 | | |
2116 | 2098 | | |
2117 | 2099 | | |
2118 | | - | |
2119 | | - | |
2120 | | - | |
2121 | | - | |
2122 | | - | |
2123 | | - | |
2124 | | - | |
2125 | | - | |
2126 | | - | |
2127 | | - | |
2128 | | - | |
2129 | | - | |
2130 | | - | |
2131 | | - | |
2132 | | - | |
| 2100 | + | |
| 2101 | + | |
| 2102 | + | |
| 2103 | + | |
| 2104 | + | |
| 2105 | + | |
| 2106 | + | |
| 2107 | + | |
| 2108 | + | |
| 2109 | + | |
| 2110 | + | |
| 2111 | + | |
| 2112 | + | |
| 2113 | + | |
2133 | 2114 | | |
2134 | | - | |
2135 | | - | |
2136 | | - | |
| 2115 | + | |
| 2116 | + | |
2137 | 2117 | | |
2138 | 2118 | | |
2139 | 2119 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
440 | 440 | | |
441 | 441 | | |
442 | 442 | | |
443 | | - | |
444 | | - | |
445 | | - | |
446 | | - | |
447 | | - | |
448 | | - | |
449 | | - | |
450 | | - | |
451 | | - | |
452 | | - | |
453 | | - | |
454 | | - | |
455 | | - | |
456 | | - | |
457 | | - | |
458 | | - | |
459 | | - | |
460 | | - | |
461 | 443 | | |
462 | 444 | | |
463 | 445 | | |
| |||
562 | 544 | | |
563 | 545 | | |
564 | 546 | | |
565 | | - | |
566 | | - | |
| 547 | + | |
567 | 548 | | |
568 | | - | |
| 549 | + | |
569 | 550 | | |
570 | 551 | | |
571 | 552 | | |
| |||
576 | 557 | | |
577 | 558 | | |
578 | 559 | | |
579 | | - | |
| 560 | + | |
580 | 561 | | |
581 | | - | |
582 | | - | |
583 | | - | |
584 | | - | |
585 | | - | |
586 | | - | |
587 | | - | |
| 562 | + | |
| 563 | + | |
588 | 564 | | |
589 | 565 | | |
590 | 566 | | |
| |||
594 | 570 | | |
595 | 571 | | |
596 | 572 | | |
597 | | - | |
598 | | - | |
599 | | - | |
600 | | - | |
601 | | - | |
602 | | - | |
| 573 | + | |
| 574 | + | |
603 | 575 | | |
604 | 576 | | |
605 | 577 | | |
| |||
0 commit comments