Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Rename althread_once to be more C11-like | Chris Robinson | 2014-04-17 | 1 | -11/+0 |
| | |||||
* | Handle the lib name as UTF-8 | Chris Robinson | 2014-04-17 | 1 | -14/+28 |
| | |||||
* | Make and use a C11-like altimespec_get wrapper function | Chris Robinson | 2014-04-17 | 1 | -39/+0 |
| | |||||
* | Rename althread_key_ wrappers to altss_ and move it to threads.h/c | Chris Robinson | 2014-04-17 | 1 | -25/+0 |
| | |||||
* | Avoid using a Sleep() wrapper | Chris Robinson | 2014-04-16 | 1 | -10/+0 |
| | |||||
* | Use althrd_yield instead of alsched_yield | Chris Robinson | 2014-04-16 | 1 | -4/+2 |
| | |||||
* | Move the threads and mutex wrappers to threads.c | Chris Robinson | 2014-04-16 | 1 | -256/+0 |
| | |||||
* | 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 | 1 | -11/+158 |
| | |||||
* | Use a C11-like mutex wrapper instead of CRITICAL_SECTIONs | Chris Robinson | 2014-04-16 | 1 | -26/+96 |
| | |||||
* | 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 |
| | |||||
* | Pass in the vector insertion point as a pointer | Chris Robinson | 2014-04-13 | 1 | -1/+3 |
| | |||||
* | Avoid referencing the start iterator twice for vector insertion | Chris Robinson | 2014-04-13 | 1 | -2/+3 |
| | |||||
* | Add a VECTOR_INSERT method to insert a range of elements at once | Chris Robinson | 2014-04-09 | 1 | -0/+20 |
| | |||||
* | Fix the default XDG_DATA_DIRS paths | Chris Robinson | 2014-04-07 | 1 | -1/+1 |
| | |||||
* | Properly compare al_strings | Chris Robinson | 2014-04-03 | 1 | -2/+24 |
| | |||||
* | Recognize NULL as an empty vector/string | Chris Robinson | 2014-04-03 | 1 | -4/+9 |
| | |||||
* | Don't pass the vector's capacity as a parameter to vector_reserve | Chris Robinson | 2014-03-31 | 1 | -4/+4 |
| | |||||
* | 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 | 1 | -0/+27 |
| | |||||
* | Add an al_string type and use it for the device lists | Chris Robinson | 2014-03-28 | 1 | -0/+64 |
| | |||||
* | Properly handle special folder names with extended characters | Chris Robinson | 2014-03-28 | 1 | -26/+43 |
| | |||||
* | Wrap fopen calls under Windows | Chris Robinson | 2014-03-28 | 1 | -5/+36 |
| | | | | | | | 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. | ||||
* | Add some integer casts, and a range check | Chris Robinson | 2014-03-23 | 1 | -2/+7 |
| | |||||
* | Increase the vector reserve as needed when pushing in new items | Chris Robinson | 2014-03-21 | 1 | -1/+8 |
| | |||||
* | Rename the vector's Max field to Capacity | Chris Robinson | 2014-03-21 | 1 | -2/+2 |
| | |||||
* | Add a generic vector interface and use it for the active effect slots | Chris Robinson | 2014-03-21 | 1 | -0/+21 |
| | |||||
* | Return the original value from CompExchange* | Chris Robinson | 2014-03-09 | 1 | -2/+2 |
| | |||||
* | Move PATH_MAX fallback definitions to alMain.h | Chris Robinson | 2014-02-27 | 1 | -10/+0 |
| | |||||
* | Move OpenDataFile to helpers.c so other sources can use it | Chris Robinson | 2014-02-27 | 1 | -0/+133 |
| | |||||
* | Include sys/sysconf.h if available for sysconf() | Chris Robinson | 2014-01-18 | 1 | -0/+3 |
| | |||||
* | Rename pthread wrappers used for Windows to althread | Chris Robinson | 2013-12-06 | 1 | -7/+9 |
| | |||||
* | Use C99 inline in more places | Chris Robinson | 2013-11-04 | 1 | -0/+4 |
| | |||||
* | Use C99 inline semantics | Chris Robinson | 2013-11-04 | 1 | -0/+16 |
| | |||||
* | Move the device mutex to the backend | Chris Robinson | 2013-10-28 | 1 | -0/+2 |
| | |||||
* | Separate compatibility declarations | Chris Robinson | 2013-10-28 | 1 | -0/+1 |
| | |||||
* | Move SetThreadName to threads.c | Chris Robinson | 2013-10-27 | 1 | -38/+0 |
| | |||||
* | Add a method to set the running thread's name | Chris Robinson | 2013-10-26 | 1 | -0/+38 |
| | |||||
* | Add a CMake option to not define the IDs used on Windows | Chris Robinson | 2013-10-07 | 1 | -0/+3 |
| | | | | | This includes the GUIDs, IIDs, CLSID, and PropertyKeys. It is up to the user to ensure the appropriate IDs are defined when linked. | ||||
* | Use explicit bit offsets when checking for SSE and SSE2 | Chris Robinson | 2013-06-06 | 1 | -4/+2 |
| | | | | Clang's cpuid.h doesn't contain the bit_* macros. | ||||
* | Check the right flag for tracing SSE2 support | Chris Robinson | 2013-05-29 | 1 | -1/+1 |
| | |||||
* | Use fegetenv/fesetenv to backup and restore the FPU state | Chris Robinson | 2013-05-22 | 1 | -4/+4 |
| | |||||
* | Merge the fesetround FPU handler with the assembly one | Chris Robinson | 2013-05-22 | 1 | -22/+23 |
| | | | | | | The assembly is only needed for SSE since we can't access the intrinsics without the -msse switch, which itself would cause SSE code to be generated elsewhere automtically. | ||||
* | Check for SSE2 and set the denormals-are-zero bit for mixing if available | Chris Robinson | 2013-05-22 | 1 | -3/+14 |
| | |||||
* | Set the correct SSE bits for round-to-zero | Chris Robinson | 2013-05-22 | 1 | -1/+1 |
| | |||||
* | Avoid using a temp buffer for al_print | Chris Robinson | 2013-05-22 | 1 | -12/+5 |
| | | | | | | | | It's now using two *printf calls, which unfortuantely means there could be a race between the two and cause the message to break up if something else tries to print to the same file. This shouldn't really be a big deal since al_print isn't used that often, and it now allows for lines of practically unlimited length. | ||||
* | Explicitly check for malloc.h | Chris Robinson | 2012-11-25 | 1 | -1/+1 |
| | |||||
* | malloc.h isn't standard, and is only needed for _aligned_malloc | Chris Robinson | 2012-11-25 | 1 | -1/+3 |
| | |||||
* | Avoid storing the SSE state if it's not supported | Chris Robinson | 2012-11-13 | 1 | -1/+4 |
| |