Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix SetThreadName for 64-bit MSVC builds | Chris Robinson | 2014-04-17 | 1 | -1/+3 |
| | |||||
* | Don't inline al_nssleep | Chris Robinson | 2014-04-17 | 2 | -13/+13 |
| | |||||
* | Make and use a C11-like altimespec_get wrapper function | Chris Robinson | 2014-04-17 | 6 | -98/+110 |
| | |||||
* | Fix a signed-unsigned comparison warning and clarify a comment | Chris Robinson | 2014-04-17 | 1 | -5/+5 |
| | |||||
* | Keep TlsDestructors within threads.c | Chris Robinson | 2014-04-17 | 4 | -5/+9 |
| | | | | | This basically makes the threads implementation self-contained in threads.c and threads.h, except for the UIntMap/RWLock implementations. | ||||
* | Don't use DllMain to call altss destructors | Chris Robinson | 2014-04-17 | 3 | -20/+43 |
| | |||||
* | Rename althread_key_ wrappers to altss_ and move it to threads.h/c | Chris Robinson | 2014-04-17 | 5 | -51/+82 |
| | |||||
* | Fix some almtx_ return values | Chris Robinson | 2014-04-16 | 2 | -13/+36 |
| | |||||
* | Remove almtx_normal and almtx_errorcheck | Chris Robinson | 2014-04-16 | 2 | -17/+8 |
| | |||||
* | Make sure the duration given to althrd_sleep is valid | Chris Robinson | 2014-04-16 | 1 | -2/+8 |
| | |||||
* | Bump _WIN32_WINNT to 0x0502 (XP SP2) for GetThreadId | Chris Robinson | 2014-04-16 | 1 | -4/+4 |
| | |||||
* | Fix althrd_sleep return value | Chris Robinson | 2014-04-16 | 1 | -3/+9 |
| | |||||
* | Avoid using a Sleep() wrapper | Chris Robinson | 2014-04-16 | 9 | -21/+24 |
| | |||||
* | Use althrd_yield instead of alsched_yield | Chris Robinson | 2014-04-16 | 2 | -9/+2 |
| | |||||
* | Remove the old thread wrappers for the new ones | Chris Robinson | 2014-04-16 | 10 | -221/+97 |
| | |||||
* | Move the threads and mutex wrappers to threads.c | Chris Robinson | 2014-04-16 | 2 | -256/+255 |
| | |||||
* | Fix Windows' almtx_timedlock | Chris Robinson | 2014-04-16 | 1 | -6/+6 |
| | |||||
* | Implement a C11-like thread wrapper and use it in mmdevapi and pulseaudio | Chris Robinson | 2014-04-16 | 4 | -34/+250 |
| | |||||
* | Use a C11-like mutex wrapper instead of CRITICAL_SECTIONs | Chris Robinson | 2014-04-16 | 7 | -55/+215 |
| | |||||
* | Avoid memory leak if preset ID lookup fails | Chris Robinson | 2014-04-14 | 1 | -0/+1 |
| | |||||
* | Ensure VECTOR_ITER_BEGIN gives a pointer-to-type instead of an array-of-type | Chris Robinson | 2014-04-14 | 1 | -1/+1 |
| | |||||
* | Use a helper to detect a path slash on Windows | Chris Robinson | 2014-04-13 | 1 | -2/+5 |
| | |||||
* | Use VECTOR_INSERT to copy and append strings | Chris Robinson | 2014-04-13 | 1 | -12/+8 |
| | |||||
* | Add a GCC-specific VECTOR_INSERT | Chris Robinson | 2014-04-13 | 1 | -0/+12 |
| | | | | | | This version is capable of doing a compile-time type checks, to ensure the objects being inserted are compatible with the vector data type. It should otherwise be functionally identical. | ||||
* | Pass in the vector insertion point as a pointer | Chris Robinson | 2014-04-13 | 2 | -3/+5 |
| | |||||
* | Avoid referencing the start iterator twice for vector insertion | Chris Robinson | 2014-04-13 | 2 | -4/+5 |
| | |||||
* | Insert all new effect slots into the active effect slots at once | Chris Robinson | 2014-04-10 | 1 | -26/+27 |
| | |||||
* | Add a VECTOR_INSERT method to insert a range of elements at once | Chris Robinson | 2014-04-09 | 3 | -10/+29 |
| | |||||
* | Fix a NULL deref when cloning a 0-sized vector | Chris Robinson | 2014-04-09 | 1 | -6/+11 |
| | |||||
* | Silence an MSVC warning about -1u | Chris Robinson | 2014-04-07 | 1 | -4/+4 |
| | |||||
* | Fix the default XDG_DATA_DIRS paths | Chris Robinson | 2014-04-07 | 1 | -1/+1 |
| | |||||
* | Use an al_string vector for winmm device names | Chris Robinson | 2014-04-07 | 2 | -84/+112 |
| | | | | Also now gets wchar device names, to properly convert to UTF-8 | ||||
* | Use C11's static_assert when available | Chris Robinson | 2014-04-07 | 5 | -3/+26 |
| | |||||
* | Use FIND_LIBRARY to look for the CoreAudio framework | Chris Robinson | 2014-04-05 | 1 | -3/+6 |
| | |||||
* | Make HRTF stepping values per-channel | Chris Robinson | 2014-04-05 | 3 | -6/+6 |
| | |||||
* | Properly compare al_strings | Chris Robinson | 2014-04-03 | 2 | -7/+26 |
| | |||||
* | Recognize NULL as an empty vector/string | Chris Robinson | 2014-04-03 | 4 | -12/+17 |
| | |||||
* | Don't pass the vector's capacity as a parameter to vector_reserve | Chris Robinson | 2014-03-31 | 2 | -7/+7 |
| | |||||
* | Use vectors for the dsound device lists | Chris Robinson | 2014-03-31 | 1 | -127/+79 |
| | |||||
* | Use an al_string for the device name | Chris Robinson | 2014-03-28 | 17 | -43/+38 |
| | |||||
* | strlen returns size_t | Chris Robinson | 2014-03-28 | 1 | -1/+1 |
| | |||||
* | Use al_string to handle mmdevapi and dsound device names | Chris Robinson | 2014-03-28 | 4 | -79/+135 |
| | |||||
* | Add an al_string type and use it for the device lists | Chris Robinson | 2014-03-28 | 4 | -50/+130 |
| | |||||
* | Properly handle special folder names with extended characters | Chris Robinson | 2014-03-28 | 2 | -35/+70 |
| | |||||
* | Wrap fopen calls under Windows | Chris Robinson | 2014-03-28 | 5 | -16/+52 |
| | | | | | | | The idea is that all filenames we deal with are encoded as UTF-8, but the Windows functions that take a char string interpret it using the ANSI codepage. So instead, we convert the UTF-8 string to a wchar string, and then use the wchar functions for proper extended character filename support. | ||||
* | Check for ftw and _wfindfirst | Chris Robinson | 2014-03-27 | 2 | -2/+22 |
| | |||||
* | Don't have VECTOR_INIT "return" anything | Chris Robinson | 2014-03-27 | 1 | -2/+2 |
| | |||||
* | Reactivate the mmdevapi audio client and set the event handle on reset | Chris Robinson | 2014-03-27 | 1 | -10/+26 |
| | |||||
* | Use C99 VLA instead of alloca when available | Chris Robinson | 2014-03-25 | 4 | -19/+39 |
| | |||||
* | Remove setState from the MidiSynth vtable | Chris Robinson | 2014-03-23 | 5 | -15/+4 |
| |