Commit Graph

494 Commits

Author SHA1 Message Date
Ender's Games 2c8446c3d1 Make dark theme darker, Add a soft blue theme 2018-09-26 12:36:50 -04:00
Ender's Games 6dd2df0bd5 Add a proprietary BIOS icon, Optimize banner size 2018-09-26 10:45:17 -04:00
Ender's Games ee3a474ee4 Revert "Interrupt Hack setting w/ less stigma"
This reverts commits e5c0f0e, eebf3fc, 14fc7d9
2018-09-26 09:06:07 -04:00
Ender's Games bf71799798 Move themes to settings, Fix reloading after clear 2018-09-26 09:04:05 -04:00
Ender's Games 4b0d1092c1 Android: Adjust theme prefs for future selections 2018-09-26 00:12:08 -04:00
Ender's Games 93319c6c6c Android: Add DC theme and redesign default 2018-09-25 23:50:32 -04:00
Ender's Games b6843d6726 Android: Add style resources for theme support 2018-09-23 12:09:39 -04:00
Flyinghead f355dda6a4 savestates: build fixes 2018-09-20 20:06:54 +02:00
Flyinghead 7ce4fccb37 Merge remote-tracking branch 'origin/master' into fh/mymaster 2018-09-20 17:28:41 +02:00
Abandoned Cart edaf00df79
Merge pull request #1377 from reicast/ac/android
Android/Shell: File Uri and NDK changes for N+
2018-09-19 13:47:45 -04:00
Ender's Games 793e4f1a78 Secondary storage URI, Unwrap for native code 2018-09-19 13:24:55 -04:00
Ender's Games dba5c767bb Android NDK: APP_STL stlport_static is no longer supported 2018-09-19 12:49:19 -04:00
Ender's Games 4614f57b1e Adding zero is irrelevant, unless it alters the calculation 2018-09-19 10:08:45 -04:00
Flyinghead fc96593e80 Fix android build 2018-09-17 17:52:29 +02:00
Ender's Games fd12871378 Android: FLAG_GRANT_READ_URI_PERMISSION 2018-09-14 06:38:47 -04:00
Ender's Games b84bd0e39c Android: New requirements for Uri access 2018-09-14 06:30:59 -04:00
Abandoned Cart eacbae5b30
Merge pull request #1376 from reicast/ac/android
Android: Complete conversion to API 26 standards (Cont.)
2018-09-12 23:54:55 -04:00
Ender's Games 2ea2414699 Android: Restore forced exit for unhandled ANR 2018-09-12 22:17:08 -04:00
Ender's Games 88b81a6652 Android: Improve stability of gamepad detection 2018-09-12 22:16:54 -04:00
Ender's Games a1b6711402 Android: Let Android Studio perform simplify 2018-09-12 21:28:00 -04:00
Ender's Games ba134c8c4e Android: Simplify and optimize emu UI classes 2018-09-12 12:07:32 -04:00
Stefanos Kornilios Mitsis Poiitidis 93affdd747
Merge pull request #1374 from reicast/ac/android
Android: Complete conversion to API 26 standards
2018-09-12 16:05:13 +03:00
Stefanos Kornilios Mitsis Poiitidis 1a09ccb587 CI/Travis: Fix tagged builds 2018-09-12 13:43:26 +03:00
Ender's Games 5ef7b60134 Android: Simplify and optimize InputModFragment 2018-09-07 12:47:55 -04:00
Ender's Games 2a45346099 Android: Simplify and optimize OptionsFragment 2018-09-07 12:42:49 -04:00
Ender's Games 86e3379a65 Android: Simplify and optimize InputFragment 2018-09-07 12:42:47 -04:00
Ender's Games c8d2517d95 Android: Simplify and optimize FileBrowser 2018-09-07 12:20:57 -04:00
Ender's Games 8f981e648c Android: Remove some unnecessary conditions 2018-09-07 11:51:17 -04:00
Ender's Games ddffa3b8de Android: Fix OSD editor and standardize launch 2018-08-29 15:34:45 -04:00
Ender's Games 36d094949d Circumvent some false Google assumptions
Not all urls are links. Not all links require a web browser.
2018-08-28 23:49:49 -04:00
Ender's Games 3ca9a153e5 Delete an unused variable left from testing 2018-08-28 22:07:31 -04:00
Ender's Games 3eba9ae6ad Android: Improved null checking, Optimize 2018-08-28 15:11:02 -04:00
Ender's Games e19212ee9e Android: Support per-game boot disk 2018-08-28 14:08:36 -04:00
Ender's Games 2ceae8b42e Android: Parameter to swap dynamic disk 2018-08-28 14:08:36 -04:00
Ender's Games f51f04ba9a Android: Close keyboard when editing complete 2018-08-28 14:08:36 -04:00
Ender's Games 72f11223f7 Android: Remove unstable TextWatcher 2018-08-28 14:08:36 -04:00
Ender's Games 62c76475eb Android: Implement trial disk swapping code 2018-08-28 14:08:36 -04:00
Ender's Games 925daa2bfd Android: Begin implementing disk swap options 2018-08-28 14:08:36 -04:00
Ender's Games de64716ad9 Android: 99 problems and a BIOS ain't one.
It's always something, Isn't it? If there is one possible broken way to do something...
2018-08-28 01:34:09 -04:00
Ender's Games aab523286b Android: Fix loading game list on browse 2018-08-28 00:15:25 -04:00
Ender's Games f5ca188972 Android: Google Play is directory-aware
Despite the numerous malware policies and extreme objection to decompiling release applications, Google Play does precisely this and will reject applications based on folder structure.
2018-08-27 22:54:50 -04:00
Ender's Games 068a798fc8 Android: Disable links on Android TV
Because Google claims the Android TV does not have a browser and fears that users may feel insecure about their inability to release a compatible version of Chrome.
2018-08-27 22:03:44 -04:00
Ender's Games aceda2e0b8 Android: Stop supressing a hard crash
This allows Google Play and friends to retrieve it properly
2018-08-27 21:39:04 -04:00
Ender's Games 8715ed6e2e Android: Update available SDKs, API 26 2018-08-27 21:38:56 -04:00
Ender's Games 352a319086 Android: Remove an otherwise unused parameter 2018-08-27 21:38:49 -04:00
Ender's Games 6578b1b7c4 Android: Explicitly set debuggable flag 2018-08-27 11:43:25 -04:00
Ender's Games 124273e48e Android: Null check views, remove redundant 2018-08-27 10:48:33 -04:00
Ender's Games 227d27f34a Android: Update XMLParser for API 26 standards 2018-08-27 10:41:17 -04:00
Ender's Games 25919cce78 PGC: Settings that should be per-game exclusive 2018-08-27 06:10:35 -04:00
Ender's Games cbe7238986 PGC: Avoid an issue with extended IDs
Pro Pinball Trilogy is 9 characters, including spaces, which should not be truncated for accuracy.
2018-08-27 05:42:35 -04:00
Ender's Games ecffc4f5b8 Android: Drop implied state prefixes to labels 2018-08-27 05:19:16 -04:00
Ender's Games 0564603933 Android: Don't attempt to store PGC for BIOS
There is no real need for a full configuration file for launching the BIOS individually.
2018-08-27 04:52:19 -04:00
Ender's Games 1408129f0e Android: Use getDataDir for API 24+ (N) 2018-08-27 04:45:15 -04:00
Ender's Games 5bdc362da3 Remove QueueRender option (non-functional)
Reverts:
2c517896b2
e81f43ff20
9ed9f460e9
2018-08-27 00:42:21 -04:00
Ender's Games 14fc7d910a Convert Interrupt Hack to name w/ less stigma 2018-08-26 23:13:25 -04:00
Ender's Games 7e9d1697c2 Android: fullscreen and reios BIOS support 2018-08-26 22:46:54 -04:00
Ender's Games dd88d7a8e9 Android: Add options to import / export PGC 2018-08-26 14:08:15 -04:00
Ender's Games 75ae974f68 Android: Align game name with other settings 2018-08-26 12:02:54 -04:00
Ender's Games 41cf6e957e Android: Add option to clear per-game config 2018-08-26 11:22:10 -04:00
Ender's Games ff81632578 Android: Support per-game joystick as Dpad
This resolves and issue with Psychic Force 2012 where the joystick is not supported, but should not force toggling this setting for a single game.

Currently only supports player 1

Android: Realign new options with existing
2018-08-26 11:05:54 -04:00
Ender's Games 96d06cb4a2 Android: Improve game detail view, Fix leaks 2018-08-26 10:35:50 -04:00
Ender's Games 2c66bf3b3a Core / Android: Add dynarec to per-game config 2018-08-26 07:56:36 -04:00
Ender's Games 31fb575165 Core: Support retrieving disk info before full init 2018-08-26 07:56:28 -04:00
Ender's Games 95fa701ac0 Android: Restore processor count, Cleanup 2018-08-25 17:16:56 -04:00
Ender's Games e3a57223af Android: Separate key events to avoid overrides 2018-08-25 02:28:14 -04:00
Ender's Games 1c85799876 Android: Reimplement TheGamesDB w/ legacy API 2018-08-25 01:54:08 -04:00
Ender's Games eb9d455338 Android: Optimization and layout improvements
Android: Add missing spacing to input mod layout

Android: Account for awkward select button icon
2018-08-24 10:18:52 -04:00
Ender's Games dae71628a5 Android: Support no right stick function, Fix L / R 2018-08-24 09:42:03 -04:00
Ender's Games e4f934c581 Android: Add OUYA support to joystick config 2018-08-23 23:08:12 -04:00
Ender's Games 15615693c5 Android: Support configuring x and y axis sources 2018-08-23 19:51:07 -04:00
Ender's Games 0a0c5643a3 Travis: Only build required module components 2018-08-23 13:42:03 -04:00
Ender's Games 1bd546c708 Android: Clean input mod, Begin joystick settings 2018-08-23 09:33:29 -04:00
Ender's Games 3e7dea537a Android: Optimize per-game config workflow 2018-08-23 07:36:33 -04:00
Abandoned Cart df2d4fadee
Merge pull request #1317 from reicast/lk/fix-ports
Android: Pass microphone setup through controller
2018-08-22 22:47:32 -04:00
Abandoned Cart d98f674ac5
Merge pull request #1315 from reicast/lk/abandoned
Porting libretro features back to mainstream reicast
2018-08-22 22:44:16 -04:00
Ender's Games 31738f462a Android: Pass microphone setup through controller 2018-08-22 22:34:40 -04:00
Ender's Games 69bf54ac15 Android: Retrieve disk info ASAP, not after boot 2018-08-22 21:14:59 -04:00
Ender's Games 9ed9f460e9 Invert QueueRender to allow better explanation
Have the setting porform the action rather than having a value that, when disabled, did what the name implies it enables.
2018-08-22 21:14:49 -04:00
Ender's Games e81f43ff20 Android: UI configuration for QueueRender setting 2018-08-22 21:14:34 -04:00
Ender's Games eebf3fc57c Android: UI configuration for InterruptHack setting 2018-08-22 21:14:27 -04:00
Ender's Games fa3c3cd94d Android: Force first mic to always be port A-2 2018-08-22 17:25:49 -04:00
Ender's Games c922d5b6a6 Android: Configure peripherals independently 2018-08-22 16:31:48 -04:00
Ender's Games b56d0f09c9 Android: Discard TheGamesDB, Fix disk images 2018-08-22 06:51:58 -04:00
Ender's Games 5b66f1de42 Android: More accurate labels for app-side options
Some of the labels may be giving the impression that they perform magical tasks on the native side, but only help to configure the GLView.
2018-08-21 23:15:44 -04:00
Ender's Games fc8e36ff9f Android: Simplify the way peripheral views are set 2018-08-21 13:13:09 -04:00
Ender's Games 16f6b2beb4 Android: Fix formatting corruption in the JNI 2018-08-21 12:34:09 -04:00
Ender's Games 1619d85663 Android: Add dynamic per-player peripheral support
Android: Add a UI shell for implementing peripherals

Android: Replace hardcoded mic assignment with dynamic

Android: Convert mic option to general recording option

Android: Hardcoded VMUs for controller 1

Android: Fix preferences and config for microphone

Android: Add defaults, documentation, and wiring
2018-08-21 12:18:44 -04:00
Christoph "baka0815" Schwerdtfeger bb72c1ce4c Fix Android 2018-08-21 00:33:18 -04:00
Christoph "baka0815" Schwerdtfeger 638a97d1ae Maple: Reworked the way controllers are created
A new function was introduced to abstract the setup of input devices for each os: os_SetupInput().
I hope I implemented this everywhere correctly and the behaviour is identical to before.

The new function mcfg_CreateNAOMIJamma() creates the NAOMI Jamma interface and is hidden behind a compile flag (same as before).
The previous function mcfg_CreateDevices() was renamed to mcfg_CreateDevicesFromConfig() because it creates the devices based on the configuration (``nb`` setting).
2018-08-21 00:33:18 -04:00
Abandoned Cart c5a9577265
Merge pull request #1303 from reicast/msgbox
Re-applying patches with Android workaround
2018-08-21 00:06:51 -04:00
Ender's Games 8f82e926b8 Android: Improve msgbox, printf cdi workaround
This partially reverts commit 405909bf91304db275dde4d163befa8fc654874f.
2018-08-20 23:50:47 -04:00
Ender's Games e755446c5f Android: Remove redundancy, Eliminate hash file 2018-08-20 23:29:27 -04:00
Ender's Games ef6242d2f7 Android: Create a per-game configuration view
Android: Pass game configuration options to emu

TODO: Fix inability to reload fragment w/ new settings

Android: Limit preference scope, Avoid static crutch

Android: Obligatory button to commit PGC settings

Android pressures the use of async preferences, but does not properly block threads. This causes the settings from one view to bleed into the next when swapping back and forth. This can be overcome by explicitely writing to the specific pref object.

Android: Add PGC documentation to window
2018-08-20 22:02:59 -04:00
Ender's Games 4e050bb753 Android: Initial structure for per-game settings
Android: write internal configuration for new games
2018-08-20 22:02:54 -04:00
Ender's Games 78977387ac Reios: perform initial configuration, as needed 2018-08-20 12:28:58 -04:00
Ender's Games e64367a0ad Android: A very simple method to set 4:3 resolution 2018-08-19 02:03:10 -04:00
Ender's Games 8d9d40dffc Core: Changes provided by Android NDK compiler 2018-08-19 01:54:15 -04:00
Ender's Games cd22816c1b Android: prevent auxilliary from overriding hardware 2018-08-19 01:53:58 -04:00
Ender's Games a2a3a11412 Android: Stop hiding git behind "luxury" handle 2018-08-19 01:53:50 -04:00
Ender's Games c604ae167f Android: handle position -1 as generic motion 2018-08-18 07:40:36 -04:00
Ender's Games 17788f68b9 Android: push every joystick event, simplify return 2018-08-18 06:39:05 -04:00
Ender's Games 7dfc5b20c6 Android: strip exceptions handled by Google 2018-08-17 23:40:51 -04:00
Ender's Games 2733b46bd7 Android: Verify device type before processing 2018-08-17 02:26:47 -04:00
Ender's Games ee00aeb4f0 Android: Only assign OUYA values to an OUYA 2018-08-17 01:14:35 -04:00
Ender's Games def787b829 Android: Look at all the conditionals you'll save 2018-08-17 00:27:22 -04:00
Ender's Games 632a5eb065 Android: Strip out broken Moga implementation 2018-08-17 00:18:59 -04:00
Ender's Games b1f81bd54f Android: Do not process history index as player 2018-08-16 23:40:24 -04:00
Ender's Games e66b10ce30 Android: Remove forced compatibility mode 2018-08-16 22:46:43 -04:00
Ender's Games a01016d4ad Android: Only prompt for bios if NOT using reios 2018-08-16 22:09:31 -04:00
Ender's Games a3f585ea1c Port the dynarec safe flag from nullDC (See #84) 2018-08-16 20:00:10 -04:00
Ender's Games c612393cf3 Android: process entire joystick event history 2018-08-15 23:56:06 -04:00
Flyinghead 04b84b90e3 Merge master into fh/mymaster 2018-08-13 18:01:24 +02:00
Ender's Games cd7edc5e52 Android: Also disable the boot disk on v14 2018-08-11 23:30:36 -04:00
Ender's Games 4fc7c55d4d Android: Disable the boot disk option until valid
This option saves a path for an unimplemented feature. Rather than continue to field questions about how to use it because it is not connected to anything, it is better to disable it for now.
2018-08-11 21:53:08 -04:00
Ender's Games 391c847b27 Android: Add right stick switch to controller update
Android: Right stick defaults to true when used
2018-08-11 07:30:53 -04:00
Ender's Games 3f39090f7d Travis: update script permission and verify 2018-08-10 13:28:11 -04:00
Ender's Games cc035a3c22 Travis: Move build commands to proprietary script
Prevents an implied attempt to sign builds without a signing key when submitting to a PR.
2018-08-10 11:59:30 -04:00
Ender's Games ba0f93b5e3 Android: Fix the misleading "default disk" setting
It is a boot disk, which would be the "default" disk. Labeling it default is misleading, though. It will also prevent confusion to have examples of common boot disks.
2018-08-09 14:19:47 -04:00
Abandoned Cart ce4d4d1963
Merge pull request #1269 from reicast/lk/android-studio
Android: Add a function to remove all settings
2018-08-08 18:27:16 -04:00
Ender's Games 0c2619e5c8 Android: Crashing isn't close, Fix modvol settings 2018-08-08 18:03:49 -04:00
Ender's Games 4c8b8f2df2 Android: Close via clearing the fragment
Once again, background support requires special consideration. Closing the application does not remove it from the background stack (thus not clearing view)
2018-08-08 17:00:17 -04:00
Ender's Games 79e4e261c4 Android: Close application after settings reset 2018-08-08 16:12:08 -04:00
Ender's Games dcb959d544 Android: Add a UI button to reset w/ warning 2018-08-08 13:45:43 -04:00
Ender's Games df1aee121f Android: Add a function to remove all settings
This will remove all emulator settings, but will retain the folder configuration (BIOS / games) and any controller or OSD settings beyond the button theme.
2018-08-08 13:16:06 -04:00
Out of Office ce7ebdc730
Merge pull request #1268 from reicast/lk/android-studio
Android: restore hard exiting thread (w/ notes)
2018-08-08 12:19:16 -04:00
Ender's Games 2b77320460 Android: restore hard exiting thread (w/ notes)
This is not yet avoidable, but can at least be explained.
2018-08-08 11:54:54 -04:00
Out of Office 14bf4b5b1c
Merge pull request #1267 from reicast/lk/android-studio
Cleanup and improvements to Android Studio
2018-08-08 11:49:59 -04:00
Ender's Games 553ce3d352 Android: align calls with lifecycle, add core pause
This fixes the JNI naming structure to match the Android lifecycle stages and adds the ability to save things like the time when the app goes into the background without actually halting the emulator.
2018-08-08 11:22:47 -04:00
Ender's Games 8e932abf64 Android: Let's not hard exit the emulator anymore 2018-08-08 10:45:19 -04:00
Ender's Games 1a892a5a6b Android: remove comment blocks that only moved 2018-08-08 10:14:36 -04:00
Ender's Games 319588868f Enable compatibility by default in Nougat + (native) 2018-08-08 10:14:36 -04:00
Ender's Games 4b1c4ae446 Android: remove unused EGL14 config option
This will require an entire proprietary view, as the packaged helper classes are strictly EGL10.
2018-08-08 09:53:10 -04:00
Ender's Games a9ea64f36a Android: Forcing run via service is unnecessary
and should be avoided, if it is not required. This would be forcing the app to override the expected lifecycle. If the desired results can be achieved within the regular lifecycle, then it is better not to waste resources.
2018-08-08 09:38:19 -04:00
Ender's Games 7bcef34e17 Update .gitignore and remove cached files 2018-08-07 12:04:46 -04:00
Stefanos Kornilios Mitsis Poiitidis aa46d36dd2 Android: Add debug icons 2018-08-07 11:51:47 -04:00
Ender's Games 00dbcfcd30 Update .gitignore and remove cached files 2018-08-07 11:49:19 -04:00
Ender's Games 13d3aed93a Revert "Merge pull request #1251 from reicast/skmp/dev-names"
Revert "Yet more gradle fixes"

This reverts commit 7160aaecee.

Revert "More fixes"

This reverts commit ba568b4dec.

Revert "Android: Better use of gradle for suffixes"

This reverts commit f35c93e1ac.

Revert "Undo hotfix"

This reverts commit a243ac0ee0.

Revert "HOTFIX: Fix travis gradle config?"

This reverts commit f2e8ba63e3.

Revert "Merge pull request #1251 from reicast/skmp/dev-names"

This reverts commit 2f681248df, reversing
changes made to e352fb9e9d.
2018-08-07 11:41:54 -04:00
Ender's Games acbfc2c5fd Android: disable EGL14 option, begin restructure 2018-08-07 11:37:35 -04:00
Flyinghead 958447f12d Android: Specify RGBX_8888 pixel format 2018-08-07 11:55:32 +02:00
Flyinghead 6190c5e341 Android: Simplify GL config chooser 2018-08-07 11:19:21 +02:00
Flyinghead c0c06ed8ff Renderer: select shader at runtime based on the GL context version
The GL renderer now detects the version of the current GL context and
compiles the shaders accordingly. Supports GLES2, GLES3 and desktop GL.
Android: use 8,8,8 framebuffer instead of 5,6,5. Requests a 8-bit
stencil buffer (modifier volumes)
2018-08-07 09:44:52 +02:00
Ender's Games ce447e220c Android: Proper home detection during initial startup 2018-08-06 22:01:41 -04:00
Abandoned Cart 94c7e79c26
Merge pull request #1257 from reicast/lk/android-studio
Cleanup and forward-thinking integration
2018-08-05 10:23:31 -04:00
Ender's Games 1de9930cf4 Android: limit forced depth test to experimental 2018-08-05 09:36:19 -04:00
Ender's Games 1c1ebc2bfb Android: Create a Christmas theme via auto-indent 2018-08-05 09:32:00 -04:00
Ender's Games ff073d491f Android: Enable depth testing (disabled by default) 2018-08-05 01:19:26 -04:00
Ender's Games 8384a1f574 Android: Add proprietary Nvidia EGL parameters
https://www.khronos.org/registry/EGL/extensions/NV/EGL_NV_depth_nonlinear.txt
2018-08-05 01:11:59 -04:00
Stefanos Kornilios Mitsis Poiitidis 3d5945677a
Merge pull request #1256 from reicast/lk/android-studio
Android: add setting for modifier volumes to shell
2018-08-04 17:23:53 +02:00
Ender's Games 2f38468671 Android: add setting for modifier volumes to shell 2018-08-04 09:41:00 -04:00
Abandoned Cart 51a0c5727f
Merge pull request #1254 from reicast/lk/android-studio
Android: Windows build compatibility (Rev. 2)
2018-08-03 11:23:17 -04:00
Ender's Games 0c78e49cfc Android: Windows build compatibility (Rev. 2) 2018-08-03 11:01:39 -04:00
Abandoned Cart 8d4f8597ef
Merge pull request #1252 from reicast/lk/android-studio
Android: Fix buttons being transparent
2018-08-03 08:56:05 -04:00
Ender's Games f0f1190ddc Android: retry writing buttons if file is empty 2018-08-03 08:29:36 -04:00
Ender's Games a5fffb9e6c Android: dump async to avoid lost write process 2018-08-03 08:23:18 -04:00
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 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
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
Ender's Games f451c5e26f Android: friendly internal project name, gradle update 2018-07-20 15:05:43 -04: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
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
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
TwistedUmbrella ca4e77a334 Add icons compatible with NavigationView tint overlay 2018-06-25 12:04:17 -04:00
TwistedUmbrella 337d928d73 Convert drawer to new AppCompat design
Remove ratings menu before it appears to the user
2018-06-25 12:04:17 -04:00
TwistedUmbrella 274033baed Enable compatibility by default in Nougat + 2018-06-25 12:04:16 -04:00
TwistedUmbrella b46eeb6474 Migration to Android plugin for gradle 3.0
travis has already updated, requiring local changes according to https://developer.android.com/studio/build/gradle-plugin-3-0-0-migration.html

No need to "iterate" through a single item

Remove unused manifest parameter for Apache legacy
2018-06-25 12:04:16 -04:00
Apostolis Papadimitriou b58aaac5c0 Move version name and version code from Manifest to build.gradle 2018-06-25 12:04:16 -04:00
TwistedUmbrella d79748cb3e Update travis build tools and use compile SDK
travis: install the ndk bundle through the sdkmanager
2018-06-25 12:04:16 -04:00
TwistedUmbrella 10de7c8897 Ignore compile build identifier in commits
git rm --cached assets/build
2018-06-25 12:04:16 -04:00
TwistedUmbrella ee9843de66 Fix compile, automate compile w/ hash information
Restore existing compiled archive naming structure

Specify apache versions, Logging is redundant

Rename build product for release artifact
2018-06-25 12:04:15 -04:00
TwistedUmbrella 4f57f69472 Perform automated Android Studio optimize imports
Let's not confuse this for actual code changes.
2018-06-25 12:04:15 -04:00
TwistedUmbrella dfe0670cee Update .gitignore, Replace libs with hosted repositories 2018-06-25 12:04:15 -04:00
Stefanos Kornilios Mitsis Poiitidis 91d1a5ae69 Re-enable x86 support 2018-06-25 12:04:14 -04:00
Stefanos Kornilios Mitsis Poiitidis 563052a2e8 Really force -fPIC everywhere 2018-06-25 12:04:14 -04:00
Stefanos Kornilios Mitsis Poiitidis 85dd3b2f5c Add mising "return 0;". The compiler gets confused and generates bad code without it 2018-06-25 12:04:14 -04:00
Stefanos Kornilios Mitsis Poiitidis 301c7567d9 app.iml should not be in source control 2018-06-25 12:04:13 -04:00
Stefanos Kornilios Mitsis Poiitidis 86593d82e7 Add fpic option, remove ndk build stuff 2018-06-25 12:04:13 -04:00
TwistedUmbrella 7b806d6d82 Remove Eclipse source in favor of Android Studio 2018-06-25 12:04:12 -04:00
Stefanos Kornilios Mitsis Poiitidis 1933aff8a2 First steps for android studio builds 2018-06-25 12:04:07 -04:00