Behdad Esfahbod
|
f06ab8a426
|
Better hide nil objects and make them const
|
2012-06-05 14:49:14 -04:00 |
Behdad Esfahbod
|
bc71ad4973
|
Fix atomic-int op on Apple
The OSAtomicAdd32Barrier operator returns the new value, we want the
old value.
|
2012-03-01 17:30:29 -08:00 |
Behdad Esfahbod
|
b95324cdd2
|
Minor
|
2011-09-21 16:50:39 -04:00 |
Behdad Esfahbod
|
33ccc77902
|
[API] Make set_user_data() functions take a replace parameter
We need this to set data on objects safely without worrying that some
other thread unsets it by setting it at the same time.
|
2011-08-09 00:43:24 +02:00 |
Behdad Esfahbod
|
c605bbbb6d
|
Remove C++ guards from source files
Where causing issues for people with MSVC.
|
2011-08-04 20:00:53 -04:00 |
Behdad Esfahbod
|
cc06c243d8
|
Streamline debugging infrastructure even more
|
2011-07-25 20:34:17 -04:00 |
Behdad Esfahbod
|
43ff203d8e
|
Use variadic macros for debugging
Looks *so* much nicer!
|
2011-07-25 17:35:24 -04:00 |
Behdad Esfahbod
|
decd4e3e16
|
Add sugar syntax for debug messages
Buffer debugging coming soon.
|
2011-07-25 16:47:02 -04:00 |
Behdad Esfahbod
|
b9452bfc16
|
Fix compiler warnings with -pedantic
|
2011-06-14 14:47:07 -04:00 |
Behdad Esfahbod
|
4101ca7dbb
|
Plug more leaks
All good now.
|
2011-05-11 14:30:56 -04:00 |
Behdad Esfahbod
|
1c9f8717eb
|
[API] Simplify blob API, remove lock
|
2011-05-06 22:59:42 -04:00 |
Behdad Esfahbod
|
a0f337a1cc
|
Remove unused hb_blob_try_writable_inplace()
|
2011-05-06 19:20:52 -04:00 |
Behdad Esfahbod
|
b81bd42951
|
Make hb_mutex_*() macros take a pointer
More intuitive.
|
2011-05-05 00:21:16 -04:00 |
Behdad Esfahbod
|
56eb5ad6f9
|
Move code around
Mutex (and Windows.h by extension) are fairly isolated now.
|
2011-05-04 19:27:37 -04:00 |
Behdad Esfahbod
|
d4141a44b9
|
[blob] Implement sub_blob() in terms of create()
Fixes problem with uninitialized sub_blob->mutex among other things.
Reported by Bradley Grainger.
|
2011-05-03 00:19:18 -04:00 |
Behdad Esfahbod
|
f55272ecde
|
Add hb_mutex_free() and use it
Based on patch by Bradley Grainger.
|
2011-05-02 20:57:28 -04:00 |
Behdad Esfahbod
|
4911062d5b
|
[API] Rename hb_blob_create_empty() to hb_blob_get_empty()
|
2011-05-02 19:36:39 -04:00 |
Behdad Esfahbod
|
5fa849b77d
|
[API] Add _set/get_user_data() for all objects
|
2011-04-27 21:46:01 -04:00 |
Behdad Esfahbod
|
47e71d9661
|
[object] Remove unnecessary use of macros
|
2011-04-27 16:41:08 -04:00 |
Behdad Esfahbod
|
8be1420f8f
|
[blob] Use HB_FUNC instead of __FUNCTION__
|
2011-04-27 16:16:43 -04:00 |
Behdad Esfahbod
|
fca368c468
|
Add hb_object_header_t which is the common part of all objects
Makes way for adding arbitrary user_data support.
|
2011-04-21 18:24:02 -04:00 |
Behdad Esfahbod
|
2409d5f8d7
|
Update Copyright headers
|
2011-04-21 17:14:28 -04:00 |
Behdad Esfahbod
|
c57d454acc
|
Rename all private sources and headers to C++ files
So we can liberally use the simple features of C++ that parts of the
codebase is already using.
|
2011-04-20 18:50:27 -04:00 |
Behdad Esfahbod
|
f19f4f9b09
|
Rename hb-blob.c to hb-blob.cc in preparation of more changes
|
2011-04-20 18:25:56 -04:00 |