Commit Graph

1128 Commits

Author SHA1 Message Date
Ender's Games e38513a17e Android: TODO: gain access to stop conservatively 2018-08-03 08:23:17 -04:00
Ender's Games 869cc5649a Android: always touch the file (appropriately) 2018-08-03 08:23:17 -04:00
Ender's Games 21b1b21aa5 Android: Android: reimplement stop as an actual "stop" 2018-08-03 08:23:16 -04:00
Stefanos Kornilios Mitsis Poiitidis 7160aaecee Yet more gradle fixes 2018-08-03 05:38:23 +02:00
Stefanos Kornilios Mitsis Poiitidis ba568b4dec More fixes 2018-08-03 05:26:13 +02:00
Stefanos Kornilios Mitsis Poiitidis f35c93e1ac Android: Better use of gradle for suffixes 2018-08-03 05:05:02 +02:00
Stefanos Kornilios Mitsis Poiitidis a243ac0ee0 Undo hotfix 2018-08-03 05:05:00 +02:00
Stefanos Kornilios Mitsis Poiitidis f2e8ba63e3 HOTFIX: Fix travis gradle config? 2018-08-03 04:50:17 +02:00
Stefanos Kornilios Mitsis Poiitidis 5728fbeeb1 Android: Add debug icons 2018-08-03 04:01:10 +02:00
Stefanos Kornilios Mitsis Poiitidis cd32a04563 Android: DEV -> CI builds 2018-08-03 03:25:02 +02:00
Stefanos Kornilios Mitsis Poiitidis c4f41c8e07 AppId: Use .dbg for local, .dev-* for CI 2018-08-03 03:22:07 +02:00
Stefanos Kornilios Mitsis Poiitidis 72e9de3333 Android: Use unique name & package for debug builds 2018-08-03 01:41:20 +02:00
Stefanos Kornilios Mitsis Poiitidis b628be0936 Android: Use tags in `git describe` 2018-08-03 00:25:02 +02:00
Flyinghead 580408dc4c Android: build with -fopenmp option 2018-08-02 19:05:21 +02:00
Abandoned Cart 405fffedaa
Merge pull request #1237 from reicast/lk/android-studio
Android: Background service (Part 1)
2018-08-02 12:49:52 -04:00
Flyinghead feaca43b25 Build fixes 2018-08-02 18:44:51 +02:00
Abandoned Cart feb8d7a321
Android: Disable service until pause is supported 2018-08-02 12:25:02 -04:00
Flyinghead 97faaaa5b0 Android: Use GNU STL for thread support 2018-08-01 21:23:15 +02:00
Flyinghead 22c05832b8 Android: use C++11 2018-08-01 20:19:59 +02:00
Flyinghead 3c38e824cd OSX, IOS: Add xbrz to project 2018-08-01 20:13:26 +02:00
Flyinghead 49b7a82535 Add xbrz.cpp to windows project 2018-08-01 20:05:11 +02:00
Flyinghead 31d8c1f091 Backport texture upscaling with xBRZ 2018-08-01 19:43:01 +02:00
Flyinghead 46c0d545ec OSX: Fix previous merge 2018-08-01 18:31:20 +02:00
Flyinghead 9942bfc86e Merge branch clean-exit-light 2018-08-01 18:02:50 +02:00
Flyinghead c632fc6619 OSX: Avoid hanging the UI thread when waiting for rendering. Use cursor keys for keyboard.
IOS: Add dip interpreter to build.
2018-08-01 16:16:27 +02:00
Flyinghead 298bf08fc0 Add dsp interpreter to Mac build. Core audio buffering. 2018-08-01 15:02:45 +02:00
Flyinghead b468ad2717 More win64 fix 2018-07-29 22:07:44 +02:00
Ender's Games 7c3e7fb161 Android: overcome Windows build limitations
LOCAL_SHORT_COMMANDS applies to a single module and will resolve error 87, while APP_SHORT_COMMANDS := true can be added to the Application.mk in its place to apply to all modules. Both have a performance cost, so it is recommended to limit the scope sparingly.
2018-07-28 21:30:39 -04:00
Ender's Games 6e86fcdf6e Android: relabel additional instances of stop 2018-07-25 10:14:33 -04:00
Ender's Games 5e377e039a Android: rename stop, since it actually terminates 2018-07-25 08:25:33 -04:00
Ender's Games 92d410791e Android: do not attempt useless rendering 2018-07-24 23:09:52 -04:00
Ender's Games e104fdc9e7 Android: improve log commands and verify tags 2018-07-24 23:09:52 -04:00
Ender's Games 7bc764be9b Android: move stop to destroy to avoid early term 2018-07-24 23:09:52 -04:00
Ender's Games 77b8b8fd8a Android: simple start and stop for service via JNIActivity 2018-07-24 23:09:51 -04:00
Ender's Games 5e9ed25c01 Android: establish a service with foreground notification 2018-07-24 23:09:32 -04:00
Flyinghead 20de593a88 Clean exit on OS X. Minor changes. 2018-07-24 14:27:58 +02:00
Flyinghead b28e1505c5 Fix dynarec on OSX/x64. Clean exit when window closed. 2018-07-24 13:26:31 +02:00
Stefanos Kornilios Mitsis Poiitidis 95ce251639
Merge pull request #1079 from myfreeweb/master
Build on FreeBSD
2018-07-22 00:37:34 +02:00
Ender's Games f451c5e26f Android: friendly internal project name, gradle update 2018-07-20 15:05:43 -04:00
Flyinghead 71d7f90858 Merge upstream 2018-07-19 12:19:51 +02:00
Flyinghead 7d6c72211a Automatic #include dependency management 2018-07-18 21:52:35 +02:00
Stefanos Kornilios Mitsis Poiitidis 4359459538
Merge pull request #1196 from baka0815/joyconf
reicast-joyconf: cosmetic changes
2018-07-18 13:20:41 +02:00
Stefanos Kornilios Mitsis Poiitidis 8875657f6a
Merge pull request #1221 from brand175/master
TouchScreen Triggers added and MFI Controller Update (Stuff)
2018-07-18 13:18:16 +02:00
Flyinghead a17a0bae3b Utility to display a single frame 2018-07-16 17:19:45 +02:00
Stefanos Kornilios Mitsis Poiitidis 0554b56b0c Travis: try to use right build #, take 2 2018-07-14 19:29:16 +02:00
Stefanos Kornilios Mitsis Poiitidis 7e8bb6cec3 Travis: try to use right build #, deploy only on master 2018-07-14 19:11:03 +02:00
Stefanos Kornilios Mitsis Poiitidis 5127a989d1 Encrypted files, take 3 2018-07-14 17:50:26 +02:00
Stefanos Kornilios Mitsis Poiitidis ee4d71f8eb Use git for verison code & text 2018-07-14 17:40:17 +02:00
brand175 fa20222af5
MFI Controller fixes (Stuff) 2018-07-13 21:11:48 -07:00
brand175 eb34ac8581
Touchscreen Triggers added 2018-07-13 20:51:54 -07:00
Flyinghead 6df46b1d83 Enable Naomi eeprom reading and writing 2018-07-09 16:24:37 +02:00
Stefanos Kornilios Mitsis Poiitidis 02901d689b Fix keys 2018-07-09 10:16:53 +02:00
Stefanos Kornilios Mitsis Poiitidis 5525d5dde2 core: Android studio fixes
- Clang edge cases for shifts
- Avoid generating relocs by not using global symbols in ngen_arm.S (fixes #1109)
2018-07-09 09:31:45 +02:00
Stefanos Kornilios Mitsis Poiitidis 70afc60d75 travis: Add release building and auto beta release 2018-07-09 00:19:40 +02:00
Greg V 5d69e19ed1 Build on FreeBSD (and potentially other BSD) 2018-07-08 15:43:10 +03:00
Stefanos Kornilios Mitsis Poiitidis 03170fc0ef
Merge pull request #1163 from reicast/lk/android-studio
Android Studio Conversion
2018-07-08 11:12:16 +02:00
Flyinghead efa145f50e Avoid the use of SSE instructions (R)SQRTSS for sqrtf and 1/sqrtf.
When using the -ffast-math option, GCC uses SSE instructions SQRTSS for
sqrtf and RSQRTSS for 1/sqrtf. This results in a loss of precision
according to the GCC documentation: "the precision of the sequence can
be decreased by up to 2 ulp (i.e. the inverse of 1.0 equals
0.99999994)".
This loss of precision affects some games.
Fixes the broken AI in Soldiers of Fortune.
2018-07-08 10:16:27 +02:00
Stefanos Kornilios Mitsis Poiitidis 5b8fc02f45 linux/make: Default to lincpp if platform detection fails 2018-07-08 02:03:12 +02:00
Christoph "baka0815" Schwerdtfeger 1a729a1586 Linux/joyconfig: Display the preferred filename for the configuration 2018-07-03 18:57:54 +02:00
Christoph "baka0815" Schwerdtfeger f063856f8b Linux/joyconfig: Add information for Debian based distros 2018-07-03 18:56:43 +02:00
TwistedUmbrella 2d7dac38b6 Android: OptionsFragment scope / null checks 2018-07-03 08:06:11 -04:00
TwistedUmbrella 7616ea07a7 Update dependencies to match current target API 2018-07-03 08:06:03 -04:00
TwistedUmbrella e30f868c57 Android: refactor broken v6 config for EGL14
This is still far from functional, but can better serve as a test for implementing EGL14 over attempting to be a broken attempt to force newer APIs
2018-06-25 12:04:26 -04:00
TwistedUmbrella 7f96b0218c Android: Support interchangeable BIOS files
The previous code supported replacing the BIOS with a regional counterpart, but destructively replaced the existing image with the new one. This should allow swapping to a new region without removing that region as a future option, so it can be switched between multiple regions with multiple files. It will still fall back to the previous method simply to prevent the removal of a useable BIOS.
2018-06-25 12:04:25 -04:00
TwistedUmbrella c39e1e7d2b Android: Use minSdkVersion for APP_PLATFORM
This value should reflect the minimum supported SDK level of the library when it differs from the minSdkVersion of the base application, as per https://developer.android.com/ndk/guides/application_mk
2018-06-25 12:04:25 -04:00
TwistedUmbrella 291d02933c Android: Add missing module declaration 2018-06-25 12:04:25 -04:00
TwistedUmbrella f9775dad1b Android: Add missing imports from class merge 2018-06-25 12:04:25 -04:00
TwistedUmbrella de4ea7fabc Android: prepare for debug server expiration
This server is being closed down, as it was piggybacked on the server for another project that has moved to static pages.
2018-06-25 12:04:25 -04:00
TwistedUmbrella 9a9de2c9db Add Samsung exFat filesystem support
The isolated source, taken from the Note 8 kernel, can be found at https://github.com/pjm0616/sdfat
2018-06-25 12:04:24 -04:00
TwistedUmbrella b4762106ef Increase minSDK according to NDK minimum (16)
Remove proprietary Xperia Play support (API 9 - 14)
2018-06-25 12:04:24 -04:00
TwistedUmbrella 3183b3185a Remove unused imports, variables, declarations 2018-06-25 12:04:24 -04:00
TwistedUmbrella 8cd6953f7c Shell: Changes provided by Android NDK compiler 2018-06-25 12:04:24 -04:00
TwistedUmbrella 4636d41394 Import TargetAPI annotations for Honeycomb 2018-06-25 12:04:23 -04:00
TwistedUmbrella c84000a3c6 Avoid leaking context in FileBrowser
While this is a bit of an excessive conversion, it is worthwhile for a long-running task to avoid leaking context and memory.
2018-06-25 12:04:23 -04:00
TwistedUmbrella 98dbcf0aff android: better error checking for external drives 2018-06-25 12:04:23 -04:00
TwistedUmbrella 3876a3e3ad http: read strings as strings, rather than bytes 2018-06-25 12:04:23 -04:00
TwistedUmbrella f71f2ca91f Eliminate static variables and hacky workarounds
Avoid retrieving preferences from static function

Unify numerous calls to the same fragment

Not entirely sure why I added more when this is much cleaner

Avoid a redundant call to SharedPreferences

Cleanup, Fix regressions, Finalize design changes

This fixes a few minor issues, including the missing title when options is opened from file browser, the release build product being named debug, and the possibility that JNIdc.config is not set when opening the BIOS without a game selected.
2018-06-25 12:04:23 -04:00
TwistedUmbrella 919c6d6288 Simplify log notification messages
Nobody actually understood where the "Files Dir" path was located and this led to more confusion than useful information. It also prevents the message from being overlapped.

Remove unused / ignored Snackbar parameters
2018-06-25 12:04:23 -04:00
TwistedUmbrella 60b501b747 Fix for unreliable createNewFile function
At one point, this was necessary(?). It appears to be problematic and the root cause of an unnecessary FileNotFoundException. Apache's FileUtils will create the directory and file, if necessary, when using version 1.3+ of the io library. This avoids maintaining workarounds.
2018-06-25 12:04:22 -04:00
TwistedUmbrella f88cb7f0e4 Move file list navigation to background (multi-threaded)
An xml view will never not exist, but it may be empty. Check the appropriate condition to avoid a crash.

Fix some error checking for file list clearing
2018-06-25 12:04:22 -04:00
TwistedUmbrella 1d3964588c Add basic shell for game search functionaliy
Implement search using current file handling
2018-06-25 12:04:22 -04:00
TwistedUmbrella f88561614e Convert global Toast to per-activity Snackbar
Assign activity menu icon to activity Snackbar

Unify appearance of Snackbar, Fix overlap in log sender

See https://stackoverflow.com/a/49583210/461982 for the StackOverflow submission on modifying Snackbar location.
2018-06-25 12:04:22 -04:00
TwistedUmbrella c684629128 Remove site label, Fix displaying site in navbar
Fix heading layout for removal of fake title bar

Make instances of reicast url clickable links
2018-06-25 12:04:21 -04:00
TwistedUmbrella 55fa2e6577 Use vectors in API 23+ (https://stackoverflow.com/a/41408100) 2018-06-25 12:04:21 -04:00
Apostolis Papadimitriou 831e7e3f9f Various changes in colors and styles 2018-06-25 12:04:21 -04:00
TwistedUmbrella 858d617673 Asynchronus preferences, where appropriate
Most UI settings should be saved asynchronously with immediate results few from runtime memory, but storing the keys for cloud saves should probably remain direct to disk with error checking.
2018-06-25 12:04:20 -04:00
TwistedUmbrella 81d2389c42 Remove secondary title and default to updating main 2018-06-25 12:04:20 -04:00
Apostolis Papadimitriou 1da3a95d42 Update navigation according to material design 2018-06-25 12:04:20 -04:00
TwistedUmbrella 03834ad48b Extend application for global functionality
Rather than attempt to locate each vector reference, it was best to extend the application for global support. This created a good place to handle native options that are separate from UI config

Clean up formatting and remove whitespace

Android Sudio does not verify global variables well

Conflicts:
	shell/android-studio/app/src/main/java/com/reicast/emulator/GL2JNINative.java
2018-06-25 12:04:20 -04:00
Apostolis Papadimitriou 7ab6e9f0c4 file browser colors and styles redesign 2018-06-25 12:04:19 -04:00
TwistedUmbrella 29ce6bd71a Realign with cherry-pick and fix formatting 2018-06-25 12:04:19 -04:00
TwistedUmbrella c9be03bc5e Calls to app_dummy are no longer necessary. 2018-06-25 12:04:19 -04:00
Apostolis Papadimitriou 0b52fcf2e5 A first view of browser file browser redesign
Transition to updated file browser resources
2018-06-25 12:04:19 -04:00
TwistedUmbrella 0265c635fe Fix per-case return, Disable rateme when hidden 2018-06-25 12:04:18 -04:00
TwistedUmbrella 4f8ae7f822 Avoid installing flash if BIOS has not been installed 2018-06-25 12:04:18 -04:00
TwistedUmbrella 068eedc325 Move button install to background thread and fix
Fix a crash related to file creation access unavailable

Move button install to background thread and fix
2018-06-25 12:04:18 -04:00
TwistedUmbrella f0e2b7831c Add bluetooth permission for controller support 2018-06-25 12:04:18 -04:00
TwistedUmbrella 159e9fe0ad Update Apache dependency to non-legacy
Apache-compliant log upload functionality (non-legacy)

Apache-compliant xml parsing functionality (non-legacy)

Apache-compliant image url functionality (non-legacy)

Apache-compliant changelog functionality (non-legacy)

Remove apache legacy library dependency (deprecated)
2018-06-25 12:04:18 -04:00
TwistedUmbrella 0f45296ea4 Cleanup comments, Permission compliance
The permission request is not necessary on rooted devices and the emulator may not run on non-root devices. This permissions simply circumvents a crash so the user can be notified of incompatibility through means other than a crash.
2018-06-25 12:04:18 -04:00
TwistedUmbrella d34590c158 Conversion to AppCompat drawable resource calls
Add compatibility prefix to layouts (app:srcCompat)
2018-06-25 12:04:17 -04:00