Behdad Esfahbod
c3dd21f110
[cff] Remove unneeded init/fini
3 years ago
Behdad Esfahbod
0b54f92416
Merge pull request #3376 from harfbuzz/auto-vector
...
[vector] Automatic item allocation / destruction
3 years ago
Behdad Esfahbod
15cceff3d7
[repacker] Replace fini_deep() with fini()
...
Vector calls destructor now.
3 years ago
Behdad Esfahbod
1198fb2468
[vector] Adjust construction criteria
3 years ago
Behdad Esfahbod
c58bfa35fb
[vector] Move semantics in vector remove()
3 years ago
Behdad Esfahbod
5946e945d5
[vector] Destruct in pop()
3 years ago
Behdad Esfahbod
7171917b52
[vector] Construct items when enlarging
3 years ago
Behdad Esfahbod
813eaba6ea
[vector] Start adding destruction
...
Now we need to remove manual destruction, ouch!
3 years ago
Behdad Esfahbod
65a22836f8
[vector] Add XXX markers for remaining places that need work
3 years ago
Behdad Esfahbod
92f179075f
Make hb_coerce static inline
...
That's the pattern we follow.
985b63b3ee (commitcomment-63973544)
3 years ago
Behdad Esfahbod
19793f333b
Better try at previous commit
...
985b63b3ee (commitcomment-63973544)
3 years ago
Behdad Esfahbod
1173ed1f7f
Try fix Mac build
...
985b63b3ee (commitcomment-63973544)
3 years ago
Behdad Esfahbod
c0f57ccc88
[algs] Add default-construtor to hb_pair_t
3 years ago
luz paz
e2e305066a
Fix various typos
...
Found via `codespell -q 3 -S ./perf/texts -L actualy,ba,beng,fo,gir,inout,nd,ot,pres,ro,te,teh,timne`
3 years ago
Behdad Esfahbod
589bea15b7
Fix previous commit
3 years ago
Behdad Esfahbod
b97e4f7084
Further adjust setlocale
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/3375#issuecomment-1013783496
3 years ago
Behdad Esfahbod
63affc4eae
[vector] Move semantics when resizing
3 years ago
Behdad Esfahbod
1c50106608
[meta] Include <memory>, for addressof
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/3375
3 years ago
Behdad Esfahbod
71e6f742a8
[meta] Remove unused hb_ref()
3 years ago
Garret Rieger
e30511a8de
[map] Correct previous commit, if (...) was reversed.
3 years ago
Garret Rieger
ff4e8c7eac
[map] Fix bad memory access if hb_map.fini() was called twice.
3 years ago
Behdad Esfahbod
8a69e00639
[meta] Use std::addressof() instead of hb_addressof()
3 years ago
Behdad Esfahbod
b7b0a15f7e
[meta] Remove hb_add_const
3 years ago
Behdad Esfahbod
3b2e604237
[meta] Use std::is_const instead of hb_is_const
3 years ago
Behdad Esfahbod
909dde9df1
[meta] Use std::is_reference instead of hb_is_reference
3 years ago
Behdad Esfahbod
47afb3ef04
[meta] Replace hb_is_pointer with std::is_pointer
3 years ago
Behdad Esfahbod
956e0a4d13
[map] Destruct objects
3 years ago
Jussi Pakkanen
726b1a8b2d
Convert fallback kwargs to [provide] entries.
3 years ago
Behdad Esfahbod
bc0a5fdf43
[test-map] Add disabled tests with std::string
3 years ago
Behdad Esfahbod
985b63b3ee
[map] Allow invalid items to be pointer to static object
...
By derefencing them when necessary.
Also, we do not rely on trivially-copyable, so remove that assertion.
3 years ago
Behdad Esfahbod
98b26eedf5
[check-static-inits] Only check library object files
3 years ago
Behdad Esfahbod
1e27f95dc1
[algs] Add hb_coerce()
3 years ago
Behdad Esfahbod
5a91db1135
[map] Remove constexpr invalid items
...
These were non-workable in the general case, eg std::string.
3 years ago
Behdad Esfahbod
114046dc27
[map] Construct objects
3 years ago
Matthias Clasen
b15e497d4d
Fix the docs build
...
This was inadvertendly broken in f956ecdbaf
.
Sorry
3 years ago
Behdad Esfahbod
ca4f56bdc7
[map] Massage some more
...
Towards being able to store arbitrary types.
3 years ago
Behdad Esfahbod
cfe2b66114
[algs] Fix hash chaining to std::hash()
3 years ago
Garret Rieger
87496bf63e
[subset] fix fuzzer timeout if visisted_paint goes into error.
3 years ago
Matthias Clasen
4ced2e8a8a
docs: Add some details
...
Mention immutability in the object model section.
3 years ago
Matthias Clasen
bb330c6aa6
docs: Fix a typo
3 years ago
Behdad Esfahbod
16cfe34ae8
[git.mk] Update
3 years ago
Khaled Hosny
0acf466c44
[doc] Fix hb_font_set_synthetic_slant param name
3 years ago
Behdad Esfahbod
fa12f1ae25
Rename method
3 years ago
Behdad Esfahbod
9408e0d6d1
Rename variable
3 years ago
Behdad Esfahbod
96c969c820
Preserve glyph props
3 years ago
Behdad Esfahbod
0b2c514fb4
More macro cleanup
3 years ago
Behdad Esfahbod
0a42f46ce9
Fix compiler warning
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/3364
3 years ago
Matthias Clasen
72f0b24ee3
docs: Clarify variation apis ( #3363 )
...
Make it explicit that the variations setters
replace all existing variations, even if
not all axes are included in the provided
values.
Co-authored-by: Matthias Clasen <mclasen@redhat.com>
3 years ago
Matthias Clasen
befe3b5d5a
color: Document empty returns ( #3362 )
...
Document that the SVG and PNG getters return
the singleton empty blob if the glyph has no
color.
Fixes : #1413
Co-authored-by: Matthias Clasen <mclasen@redhat.com>
3 years ago
Behdad Esfahbod
13643934aa
Clean up HB_NO_SETLOCALE
...
https://github.com/harfbuzz/harfbuzz/pull/3358#pullrequestreview-850500143
3 years ago