Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix mingw64 build | alexxvk | 2015-05-02 | 1 | -0/+1 |
| | |||||
* | Avoid tracing wide-char strings | Chris Robinson | 2015-02-07 | 1 | -6/+12 |
| | | | | | | Because on Windows, traced strings are written to a char string, which causes UTF-16 strings to be converted to a narrow (non-UTF-8) encoding, potentially losing characters. | ||||
* | Rework HRTF decision logic | Chris Robinson | 2014-11-22 | 1 | -0/+10 |
| | | | | | | This way takes into account a new stereo-mode config option, which when set to "headphones" will default to using HRTF. Eventually the device will also be able to specify if headphones are being used. | ||||
* | Support brace-enclosed environment variable names | Chris Robinson | 2014-08-19 | 1 | -0/+9 |
| | | | | | | | This makes it possible to append alpha-numeric characters directly to an environment variable value, e.g. ${FOO}bar will use "FOO" as the variable name and keep the "bar" as-is, whereas $FOObar will take "FOObar" as the variable name. | ||||
* | Update COPYING to the latest ↵ | François Cami | 2014-08-18 | 1 | -2/+2 |
| | | | | https://www.gnu.org/licenses/old-licenses/lgpl-2.0.txt to fix the FSF' address Fix the FSF' address in the source | ||||
* | Don't bother stripping whitespace from comments | Chris Robinson | 2014-05-15 | 1 | -5/+1 |
| | |||||
* | Don't use the next power of two when duplicating config values | Chris Robinson | 2014-05-04 | 1 | -1/+1 |
| | | | | Speed isn't terribly important here, and reallocs should be extremely rare. | ||||
* | Add a SZFMT macro for a size_t string formatter | Chris Robinson | 2014-04-19 | 1 | -2/+2 |
| | |||||
* | Properly handle special folder names with extended characters | Chris Robinson | 2014-03-28 | 1 | -9/+27 |
| | |||||
* | Wrap fopen calls under Windows | Chris Robinson | 2014-03-28 | 1 | -9/+9 |
| | | | | | | | 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. | ||||
* | Move PATH_MAX fallback definitions to alMain.h | Chris Robinson | 2014-02-27 | 1 | -8/+0 |
| | |||||
* | Expand environment variables for all config option values when loading | Chris Robinson | 2014-02-26 | 1 | -1/+76 |
| | |||||
* | Avoid using a global static buffer for config loading | Chris Robinson | 2014-02-23 | 1 | -3/+51 |
| | |||||
* | Fix indentation | Chris Robinson | 2014-02-23 | 1 | -20/+20 |
| | |||||
* | Fix a potential infinite loop. | Chris Robinson | 2013-06-19 | 1 | -8/+9 |
| | | | | | If the first XDG_CONFIG_DIRS entry isn't a proper relative path, it would never break the loop. | ||||
* | Look for alsoft.conf in the XDG_CONFIG_DIRS and XDG_CONFIG_HOME directories | Chris Robinson | 2013-06-16 | 1 | -0/+55 |
| | | | | | | | This follows the XDG Base Directory Specification. The old files/locations are still supported, but configs found in XDG_CONFIG_DIRS take precedence over /etc/openal/alsoft.conf, and a config found in XDG_CONFIG_HOME takes precedence over $HOME/.alsoftrc. | ||||
* | Trace config file names being loaded | Chris Robinson | 2013-06-16 | 1 | -1/+9 |
| | |||||
* | Don't split config sections into separate blocks | Chris Robinson | 2013-06-16 | 1 | -73/+42 |
| | |||||
* | Improve parsing of the config files | Chris Robinson | 2013-06-16 | 1 | -69/+59 |
| | | | | This will also now recognize (and strip) quotation marks from around values. | ||||
* | Again try to get _WIN32_IE to behave right with MinGW | Chris Robinson | 2012-09-11 | 1 | -1/+1 |
| | |||||
* | Avoid size_t and ssize_t in some places | Chris Robinson | 2011-09-20 | 1 | -9/+9 |
| | |||||
* | Add a ConfigValueStr function, to return the string through a parameter | Chris Robinson | 2011-09-19 | 1 | -0/+9 |
| | |||||
* | Return int and float config values through a parameter | Chris Robinson | 2011-09-18 | 1 | -7/+18 |
| | | | | | This allows the getter functions to return whether or not the option exists without a separate call and check. | ||||
* | Avoid a buffer underrun when getting the end of a config option value | Chris Robinson | 2011-09-18 | 1 | -2/+3 |
| | |||||
* | Rename the ERROR macro to ERR | Chris Robinson | 2011-07-13 | 1 | -5/+5 |
| | |||||
* | Use logging macros for config handling | Chris Robinson | 2011-07-10 | 1 | -9/+12 |
| | |||||
* | Avoid multiple getenv calls to the same var | Chris Robinson | 2011-05-17 | 1 | -4/+5 |
| | |||||
* | Reduce some indentation | Chris Robinson | 2010-05-12 | 1 | -14/+14 |
| | |||||
* | Mingw64's shlobj.h wants at least 0x501 | Alam Arias | 2010-03-18 | 1 | -2/+5 |
| | |||||
* | Use size_t where appropriate | Chris Robinson | 2010-03-18 | 1 | -1/+1 |
| | | | | Spotted by Alam Arias | ||||
* | Define _WIN32_IE to 0x400 only if it's a lesser value by default | Chris Robinson | 2010-03-18 | 1 | -1/+2 |
| | | | | Spotted by Alam Arias | ||||
* | Return the default config string for empty entries | Chris Robinson | 2010-01-09 | 1 | -1/+5 |
| | |||||
* | Add a function to check if a config option is set to a non-empty value | Chris Robinson | 2009-12-28 | 1 | -0/+6 |
| | |||||
* | GetConfigValueBool should take an int, not a float | Chris Robinson | 2009-12-26 | 1 | -1/+1 |
| | |||||
* | Make a GetConfigValueBool function and use it | Chris Robinson | 2009-09-15 | 1 | -0/+9 |
| | |||||
* | Don't read deprecated config files | Chris Robinson | 2009-06-07 | 1 | -15/+0 |
| | |||||
* | add check for _WAVEFORMATEXTENSIBLE_ and define _WIN32_IE before inlcuding ↵ | Alam Arias | 2009-06-07 | 1 | -2/+5 |
| | | | | any header | ||||
* | Allow specifying another config file with the ALSOFT_CONF env var | Chris Robinson | 2008-11-13 | 1 | -0/+9 |
| | |||||
* | Use %AppData%\alsoft.ini for the config file in Windows | Chris Robinson | 2008-06-04 | 1 | -0/+16 |
| | |||||
* | Use less ambiguous config file names | Chris Robinson | 2008-01-19 | 1 | -2/+17 |
| | |||||
* | Add missing config.h includes | Chris Robinson | 2008-01-16 | 1 | -0/+2 |
| | |||||
* | Use an AL_PRINT macro for printing lib messages/errors to the console | Chris Robinson | 2007-11-30 | 1 | -9/+11 |
| | |||||
* | Initial import | Chris Robinson | 2007-11-13 | 1 | -0/+283 |