Chris Robinson
0314370eb5
Cache the process binary path and name
2018-12-25 11:27:22 -08:00
Chris Robinson
b7daddb564
Try to clean up compat.h's macro block spaghetti a bit
2018-11-15 03:29:56 -08:00
Chris Robinson
4793e5c4ae
Use C++ for GetProcBinary
2018-11-11 16:09:24 -08:00
Chris Robinson
dc31969b04
Get rid of the last few al_fopen calls
2018-11-10 04:27:10 -08:00
Chris Robinson
981205de36
Remove unused strdupW
2018-11-10 00:01:34 -08:00
Chris Robinson
68bcf81756
Remove the unused file mapping calls
2018-11-09 23:51:29 -08:00
Chris Robinson
add776ddbb
Handle the open mode in al::ifstream
2018-11-09 21:56:05 -08:00
Chris Robinson
4dafb7dab1
Use C++ to read and parse ambdec files
2018-11-04 15:24:24 -08:00
Chris Robinson
e9d17c5191
Move wstr_to_utf8 to compat.h
2018-11-03 12:55:02 -07:00
Chris Robinson
e876b50113
Remove unnecessary uses of IN_IDE_PARSER
2018-10-29 10:10:37 -07:00
Chris Robinson
c39eeb9638
Don't try to get the JNIEnv on Android
...
It's currently not used. More stuff is needed anyway which may need a different
approach.
2018-10-02 12:40:26 -07:00
Chris Robinson
30821e978b
Add extern "C" to some headers
2018-03-09 17:24:03 -08:00
Chris Robinson
26043269e4
Allow GetProcPath to return the filename also
2018-01-13 02:59:21 -08:00
Chris Robinson
f0c8b7f255
Get the JavaVM handle on Android targets
2017-01-26 14:33:03 -08:00
Chris Robinson
e01c337921
Add some helper wrappers to mmap files
2016-08-31 08:14:50 -07:00
Chris Robinson
0477d61599
Look in the executable's dir for another config file
...
On Windows it'll look for alsoft.ini, and elsewhere is alsoft.conf. This
applies after the user-local settings and before ALSOFT_CONF.
2016-06-04 10:45:44 -07:00
Chris Robinson
cb3315f9d3
Remove unnecessary includes
2014-04-18 02:35:16 -07:00
Chris Robinson
b979a8005f
Alter the al_fopen macro to not directly take parameters
2014-04-18 02:25:07 -07:00
Chris Robinson
6c8bf9ec42
Rename althread_once to be more C11-like
2014-04-17 21:39:51 -07:00
Chris Robinson
d1f1a1d056
Make and use a C11-like altimespec_get wrapper function
2014-04-17 09:03:57 -07:00
Chris Robinson
c3b1c31d9b
Rename althread_key_ wrappers to altss_ and move it to threads.h/c
2014-04-17 00:11:12 -07:00
Chris Robinson
b020dd13fd
Avoid using a Sleep() wrapper
2014-04-16 06:59:44 -07:00
Chris Robinson
184cf30cf7
Use althrd_yield instead of alsched_yield
2014-04-16 06:18:24 -07:00
Chris Robinson
29cb5058c0
Use a C11-like mutex wrapper instead of CRITICAL_SECTIONs
2014-04-16 01:39:11 -07:00
Chris Robinson
20886059fd
Wrap fopen calls under Windows
...
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.
2014-03-28 00:37:42 -07:00
Chris Robinson
d346038102
Don't define HAVE_DYNLOAD with the IDE parser
2014-03-17 09:46:07 -07:00
Chris Robinson
a846418964
Rename pthread wrappers used for Windows to althread
2013-12-06 02:12:45 -08:00
Chris Robinson
823782a33f
Declare LoadLib functions in one place
2013-10-28 17:48:48 -07:00
Chris Robinson
2912d130c2
Separate compatibility declarations
2013-10-28 11:26:26 -07:00