Commit Graph

51 Commits

Author SHA1 Message Date
pelya 7e032dd40a SDL: request Marshmallow SD card runtime permission using SDL_ANDROID_RequestExternalStorageRuntimePermission() 2016-06-27 01:11:18 +03:00
Sergii Pylypenko 922feec8b9 SDL: Replaced Apache HTTP with HttpURLConnection, to decrease app size and number of dependencies 2016-04-20 23:04:16 +03:00
Sergii Pylypenko d0be1c1ce1 SDL: truncate .obb file if Google Play downloads it again, happens all the time during updates 2016-03-16 22:48:13 +02:00
Sergii Pylypenko ff19381225 SDL: yet another fix for downloads on 64-bit arches 2015-10-23 16:28:10 +03:00
pelya a44892d72e Unpack .zip.xz archives using liblzma and JNI instead of Java implementation, because Java heap is small and it crashes with out of memory error 2014-11-12 00:59:04 +02:00
pelya 8ecb9c5f28 Fixed bug with downloading expansion files 2014-11-10 12:40:26 +02:00
pelya a6ca9e6bef Support for Google Play expansion files 2014-11-09 23:24:45 +02:00
Sergii Pylypenko cdf5d869bb Added support for .tar.xz compression format for data downloader,
xz gives 30% better compression than plain zip, but you need to
create zip archive with no compression: zip -0 -r, then
compress it with xz: xz -8 < archive.zip > archive.zip.xz
Data downloader will try to use xz decompressor on
anything with extension .zip.xz
2014-08-19 21:59:00 +03:00
pelya ed8e3457d0 Updated license text in all SDL 1.2 sources 2014-06-22 01:58:38 +03:00
Sergii Pylypenko 6a5c58516a Replace <ARCH> with ABI string inside data download URL 2014-03-31 22:32:06 +03:00
Sergii Pylypenko 0428be6690 Show shorter downlaod paths 2013-12-13 07:48:19 +02:00
pelya 8a176ec40a Small fix to in-apk asset data unpacker 2013-09-02 00:13:00 +03:00
pelya 8a1c00f623 Do not update downloader progress too often, it eats CPU 2013-08-24 23:12:51 +03:00
pelya b21eab7cf2 Split Settings.java into 4 files 2013-06-24 20:39:47 +03:00
Sergii Pylypenko 415b036560 Show readme dialog before download selection dialog 2013-05-30 20:09:17 +03:00
pelya ed5f401e3f Replaced System.out.println() with proper Log.i() across Java files 2013-05-04 23:32:37 +03:00
pelya afce1cbde2 Dialog to abort data downloading 2013-03-09 22:11:13 +02:00
Sergii Pylypenko f46c8f3743 Updated ViceC64, courtesy of Lubomyr 2013-03-04 20:56:15 +02:00
pelya e4cace0d07 Fixed crash in SDL_mixer on armeabi-v7a arch, caused by improper compiler flags, updated libvorbis 2012-11-01 18:20:32 +02:00
pelya f37cc6cda0 Fixed few bugs in data downloader 2012-11-01 16:45:04 +02:00
pelya c46aad8b5c Added warning in case of broken cfg file 2012-11-01 15:21:25 +02:00
pelya 6bc4d3aad1 More sensible error message when data download aborted 2012-10-31 18:24:33 +02:00
pelya 9747663a1a Another small fix to the partial data downloading 2012-10-31 17:11:19 +02:00
pelya c8e16684d3 Fix to the partial data downloading 2012-10-30 20:02:32 +02:00
pelya e38cf2f06f Support for resuming download of partially-downloaded files, only for non-unzipped files. 2012-10-30 15:31:13 +02:00
pelya 6d059c046a Tiny fix to data downloader 2012-09-18 10:06:44 +03:00
pelya 96e640f78e AdMob support added, you cannot yet hide or reposition the ad from the C code. Also did some cleanup on include files. 2012-09-05 21:26:35 +03:00
pelya 046e36acd3 Put app data files into correct place instead of /sdcard/app-data/.. 2012-08-13 23:08:28 +03:00
pelya 64cd8c425a Minor fix to data downloader, updated OpenArena project 2012-08-03 16:34:43 +03:00
pelya 504522cf9c Fixed crash in DataDownloader.java 2012-03-03 12:24:13 +02:00
pelya c6489923f7 Some rudimentary support for hardware mouse 2012-01-31 18:48:16 +02:00
pelya 2fe92bdcf9 Another small fix to data downloader 2011-11-29 20:08:59 +02:00
pelya 9ed305398c Fixed progress message in data downloader 2011-11-29 17:48:03 +02:00
pelya 8407008d6c Lame support for multipart archives in assets, added XRick game 2011-11-29 14:22:29 +02:00
pelya 877654a2d4 Updated VCMI, fixed crash due to SDL_Image not supporting PCX format 2011-07-01 15:32:20 +03:00
pelya 4d3c771791 Changed license type to ZLIB for the Java source files 2011-06-24 11:43:07 +03:00
pelya 62fd0b2dd6 VCMI loads main menu on a device, but crashes right after click on any botton. Megadebug patch attached. 2011-06-16 19:57:53 +03:00
pelya 47b5d6938a If you've added another download with "!" at the beginning to the updated .apk - do not ask user, just download the file 2011-05-31 18:52:12 +03:00
pelya 2bb4e56768 Changed random code in arbitrary places to fix mysterious crash 2011-04-21 21:09:52 -04:00
pelya ea3df210c4 Added a license exception to permit custom startup config dialogs in closed-source projects. 2011-04-18 18:02:28 +00:00
pelya 727925fed2 Removed Ugly Arrows" keyboard theme, save/restore OpenGL context when drawing on-screen keyboard 2011-01-24 14:09:03 +00:00
pelya 43c24e1739 Fixed crash in Java code 2010-12-31 11:35:46 +00:00
pelya 9f4507b86f Even more debug 2010-12-29 16:00:38 +00:00
pelya 24e0c2108a More logs for downloader 2010-12-29 14:48:35 +00:00
pelya 154e2e3eda Editable data download path/application curdir, editable app commandline, updated teadme 2010-12-29 12:55:44 +00:00
pelya a57f8e3cb6 Fixed incorrect SD card location for install paths 2010-12-17 14:43:58 +00:00
pelya 9cbeb13135 My previous patch didn't work, reverting 2010-11-16 19:33:45 +02:00
pelya 75c0832039 Fixed build via scripts, tried to disable certificates check for https:// but failed - please make sure all your downloads using http:// scheme or do not install any certs 2010-11-16 19:30:49 +02:00
pelya 85617e94cb Fixed random crash 2010-11-15 11:38:54 +02:00
pelya 9e2d61c75b Enabled more aggressive optimizations for all apps and libs 2010-11-02 12:35:21 +02:00