- 09 9月, 2020 1 次提交
-
-
由 wenjun 提交于
-
- 28 12月, 2018 1 次提交
-
-
由 Behdad Esfahbod 提交于
Was good idea, but with C++ types with constructor/destructor, was getting in the way as compiler was destructing those items where it was not desired. Since C++ does not allow zero-sized arrays, just remove it...
-
- 22 12月, 2018 1 次提交
-
-
由 Behdad Esfahbod 提交于
-
- 18 12月, 2018 1 次提交
-
-
由 Ebrahim Byagowi 提交于
-
- 17 12月, 2018 1 次提交
-
-
由 Ebrahim Byagowi 提交于
-
- 14 11月, 2018 1 次提交
-
-
由 Behdad Esfahbod 提交于
This resulted from confusion previously...
-
- 04 11月, 2018 2 次提交
-
-
由 Behdad Esfahbod 提交于
Saves 4 or 8 bytes per object on 64bit archs.
-
由 Behdad Esfahbod 提交于
-
- 30 10月, 2018 2 次提交
-
-
由 Behdad Esfahbod 提交于
I keep forgetting that primitive types are NOT initialized during construction. :|
-
由 Behdad Esfahbod 提交于
Newer compilers / language allows structs with constructor in union. So, this was not actually testing anything. Indeed, the recent change in DISALLOW_COPY *is* making some of our types non-POD. That broke some bots. Just remove this since it wasn't doing much, and I'd rather have DISALLOW_COPY.
-
- 26 8月, 2018 1 次提交
-
-
由 Behdad Esfahbod 提交于
Sorry for the noise, downstream custom builders. Please adjust.
-
- 09 8月, 2018 2 次提交
-
-
由 Behdad Esfahbod 提交于
-
由 Behdad Esfahbod 提交于
Found and fixed a couple bugs. Found a couple multithreading issues. Marked them with "XXX-MT-bug".
-
- 06 8月, 2018 2 次提交
-
-
由 Behdad Esfahbod 提交于
-
由 Behdad Esfahbod 提交于
-
- 01 8月, 2018 1 次提交
-
-
由 Behdad Esfahbod 提交于
To help TSan and be more "correct".
-
- 17 7月, 2018 2 次提交
-
-
由 Behdad Esfahbod 提交于
Fixed the crasher in it.
-
由 Behdad Esfahbod 提交于
This reverts commit 21fa170f. Is crashing. Oops.
-
- 16 7月, 2018 1 次提交
-
-
由 Behdad Esfahbod 提交于
Hopefully fixes bots.
-
- 10 7月, 2018 2 次提交
-
-
由 Behdad Esfahbod 提交于
-
由 Behdad Esfahbod 提交于
-
- 01 6月, 2018 2 次提交
-
-
由 Behdad Esfahbod 提交于
-
由 Behdad Esfahbod 提交于
Towards using Null object for nil objects.
-
- 08 5月, 2018 1 次提交
-
-
由 Behdad Esfahbod 提交于
This saves each object allocation 72 bytes. Now object overhead is just 16 bytes (on x86) instead of 88 bytes. Neat.
-
- 02 5月, 2018 2 次提交
-
-
由 Behdad Esfahbod 提交于
For consistency.
-
由 Behdad Esfahbod 提交于
-
- 15 11月, 2017 1 次提交
-
-
由 Behdad Esfahbod 提交于
This reverts commit 5daf3bd4. If other atexit callbacks try to destruct the objects we destruct in atexit callbacks, bad things will happen. I'll come up with some other way to catch premature destruction of HB-owned objects. Fixes https://github.com/behdad/harfbuzz/issues/618
-
- 04 11月, 2017 1 次提交
-
-
由 Behdad Esfahbod 提交于
Part of fixing https://github.com/behdad/harfbuzz/pull/605
-
- 28 10月, 2017 1 次提交
-
-
由 Behdad Esfahbod 提交于
Such that client cannot accidentally destroy them, even though that will be a bug in their code...
-
- 15 10月, 2017 1 次提交
-
-
由 Behdad Esfahbod 提交于
-
- 31 8月, 2015 1 次提交
-
-
由 Behdad Esfahbod 提交于
Previously we were setting refcount of freed objects to the inert value, which was harmful because it caused further destroy()s of the freed object to NOT call free() and hence hide the bug. Indeed, after eb0bf3ae test-object was double-free'ing objects and this was never caught on Linux. It only was caught as crashing on Mac. Now we poison refcount upon freeing and check that it's valid whenever reading it. Makes test-object fail now.
-
- 09 4月, 2015 1 次提交
-
-
由 Konstantin Ritt 提交于
s/atomic_int/atomic_int_impl/ and s/atomic_ptr/atomic_ptr_impl/ to bring it in par with hb_mutex_impl_t, then re-introduce hb_atomic_int_t as a wrapper around hb_atomic_int_impl_t. In hb_reference_count_t, make it clear the non-atomic get and set are intentional due to nature of the cases they are used in (comparison to -1 and the debug output/tracing).
-
- 15 8月, 2014 6 次提交
-
-
由 Behdad Esfahbod 提交于
-
由 Behdad Esfahbod 提交于
-
由 Behdad Esfahbod 提交于
This reverts commit 9c80cbc8.
-
由 Behdad Esfahbod 提交于
-
-
由 Behdad Esfahbod 提交于
In preparation for fixing: https://code.google.com/p/chromium/issues/detail?id=403594
-
- 04 12月, 2012 2 次提交
-
-
由 Behdad Esfahbod 提交于
We are not using it for anything lse it seems.
-
由 Behdad Esfahbod 提交于
-