Behdad Esfahbod
|
38debbab7e
|
[set] Add successful check in swap()
|
3 years ago |
Behdad Esfahbod
|
11eadb5d28
|
[bit-set-invertible] Implement standard-5 methods & swap
|
3 years ago |
Behdad Esfahbod
|
d3e09bf465
|
[set] Make all operators null-safe again
Changed my mind.
Also for hb_map_clear().
Part of https://github.com/harfbuzz/harfbuzz/pull/3162
|
3 years ago |
Behdad Esfahbod
|
84c2a30214
|
[bit-set-invertible] Second try fixing previous()
|
3 years ago |
Behdad Esfahbod
|
8f88747a5e
|
[bit-set-invertible] Fix previous() iteration
|
3 years ago |
Behdad Esfahbod
|
92908c122b
|
[bit-set-invertible] Remove extra check
We don't expect immutable / null set in this code.
|
3 years ago |
Behdad Esfahbod
|
1babe80ed2
|
[bit-set-invertible] Fix last remaining corner-case
|
3 years ago |
Behdad Esfahbod
|
e8911d137c
|
[bit-set-invertible] Implement a couple other missing corner cases
Also, in bit-set, don't compute population in is_equal/is_subset()
if we don't have it computed already.
|
3 years ago |
Behdad Esfahbod
|
2579dc648f
|
[bit-set-invertible] Move code around
|
3 years ago |
Behdad Esfahbod
|
2dfc104236
|
[bit-set-invertible] Implement is_empty() for inverted case as well
|
3 years ago |
Behdad Esfahbod
|
87885e6f02
|
[bit-set-invertible] Fix next/previous() logic
|
3 years ago |
Behdad Esfahbod
|
eec1a25e71
|
[bit-set-invertible] Rewrite get_min/max() in terms of next/previous()
|
3 years ago |
Behdad Esfahbod
|
f4fd7baf7e
|
[bit-set-invertible] Fix subtract() logic
|
3 years ago |
Behdad Esfahbod
|
f317d8e426
|
[bit-set-invertible] Fix intersect() logic
|
3 years ago |
Behdad Esfahbod
|
b21038d91d
|
[bit-set-invertible] Rewrite next/previous_range() in terms of s.next/previous()
|
3 years ago |
Behdad Esfahbod
|
eb98bc1e32
|
[bit-set-invertible] Rewrite next/previous() using s.next/previous_range()
|
3 years ago |
Behdad Esfahbod
|
248ad3bce5
|
[bit-set-invertible] Implement next/previous
This makes invertible set functionality complete.
|
3 years ago |
Behdad Esfahbod
|
c27f5b1288
|
[bit-set-invertible] Plug in next_range()/previous_range()
|
3 years ago |
Behdad Esfahbod
|
f6aa37159b
|
[bit-set-invertible] Fix process logic for inverted
[# On branch set-invert
|
3 years ago |
Behdad Esfahbod
|
b119b48079
|
[bit-set-invertible] Add unlikely() around inverted checks
|
3 years ago |
Behdad Esfahbod
|
b94f24ec79
|
[bit-set-invertible] Implement set algebra
|
3 years ago |
Behdad Esfahbod
|
8aa92ff8f0
|
[bit-set-invertible] Implement get_min/max
|
3 years ago |
Behdad Esfahbod
|
669b97d949
|
[bit-set-invertible] Implement iterator
|
3 years ago |
Behdad Esfahbod
|
c66894d7c9
|
[bit-set-invertible] Write a subset branch as dagger
|
3 years ago |
Behdad Esfahbod
|
c39d2f7a76
|
[bit-set-invertible] Implement add_array / add_sorted_array / intersects
|
3 years ago |
Behdad Esfahbod
|
f0c3804fa2
|
[set] Add hb_bit_set_invertible_t and resurrect hb_set_invert()
Implementation is NOT complete yet.
|
3 years ago |