Henrik Rydgård
ff8148dd92
Move native/util, native/data and native/i18 to Common/Data.
...
Also move colorutil.cpp/h
linking build fix experiment
Delete a bunch of unused CMakeLists.txt files
CMakeLists.txt linking fix
Don't include NativeApp.h from any headers.
Android.mk buildfix
Half of the UWP fix
Buildfix
Minor project file cleanup
Buildfixes
Guess what? More buildfixes!
2020-10-04 07:28:29 +02:00
Unknown W. Brackets
cb1b7b1e43
Core: Bring over some file related Switch changes.
...
Reducing the distance from the Switch port code.
2020-03-03 22:53:03 -08:00
Henrik Rydgård
0cd3ac06d0
Avoid trying to create a FileLoader for empty filenames
...
Assorted cleanup
2019-02-25 21:35:51 +01:00
Henrik Rydgård
9e75250c4e
Android: Do the same file_offset_bits checks for pread64 as before. Should help #10901
2018-04-11 13:45:18 +02:00
Unknown W. Brackets
7dbd2cecd8
Android: Avoid pread64 for > 2GB offsets.
...
Appears to not actually work as advertised. See #10862 .
2018-04-08 08:14:07 -07:00
Simonas Kazlauskas
ee00815da3
Fix Windows XP support in LocalFileLoader
...
Because that junk from 50 years ago still matters to people, apparently.
2017-07-01 13:21:34 +03:00
Unknown W. Brackets
9dced68812
Core: Buildfix.
2017-06-24 14:19:25 -07:00
Unknown W. Brackets
9550771994
Core: Windows buildfix.
2017-06-24 11:58:25 -07:00
Simonas Kazlauskas
0c8faeb3ea
Fix windows build
2017-06-24 21:23:52 +03:00
Simonas Kazlauskas
55c193ce78
Remove use of C file api in LocalFileLoader
...
Instead use native system calls.
2017-06-24 21:07:37 +03:00
Simonas Kazlauskas
3f63c29736
Also support atomic windows readAt
2017-06-23 18:40:00 +03:00
Simonas Kazlauskas
3c3596dbf2
Make the Loader API thread-safe
...
Since the majority of the code is using ReadAt API already, map this to
a `readp` "syscall" which does not mutate any state about the file
descriptor therefore making it fairly safe multi-threading wise.
This allows to get rid of read-time mutexes in RamCachedFileLoader and
therefore fixes #9803
2017-06-23 17:23:43 +03:00
Florent Castelli
70593d1004
android: Change preprocessor define to standard __ANDROID__
...
ANDROID is only standard to the old Makefile buildsystem, not the platform.
2016-10-12 11:14:09 +02:00
Unknown W. Brackets
65c7d0bd04
Add uncached flag for file loader reads.
...
This allows us to indicate that a read need not be cached.
2016-07-04 12:07:15 -07:00
Unknown W. Brackets
da827d9ef0
Move file loader code into directories.
...
Not making sense to put these all in the same fiel anymore.
2015-07-02 20:58:53 -07:00