Commit Graph

1008 Commits

Author SHA1 Message Date
Aaron Culliney
a7eda527de Bugfix : avoid NPE if /sdcard directory is not present 2015-09-15 20:38:41 -07:00
Aaron Culliney
33fe40ae71 Errors on copying alt-keyboard.json to /sdcard should not be fatal 2015-09-13 15:16:59 -07:00
Aaron Culliney
5dadc922fd Simplify mobile lifecycle at the expense of holding onto audio resources
- This does not seem to be a problem with both modern and older Gingerbread devices
2015-09-13 14:24:17 -07:00
Aaron Culliney
97f8ef1f45 Just assume is on button side if not on axis side 2015-09-13 14:12:16 -07:00
Aaron Culliney
f343ad9dbd Get Mockingboard working somewhat better 2015-09-13 12:43:34 -07:00
Aaron Culliney
54e6b7598e Improved some alt keyboards 2015-09-13 11:37:27 -07:00
Aaron Culliney
11d4ed4c2f Move a joystick-only configuration option to that menu 2015-09-13 11:25:48 -07:00
Aaron Culliney
c8d7f9cba3 Let chooser interface handle skipping rather than native 2015-09-13 11:23:59 -07:00
Aaron Culliney
104c0bbe6e Keep track of all AlertDialog objects to properly dispose of them upon backgrounding 2015-09-13 10:43:53 -07:00
Aaron Culliney
9c475b58eb Better lifecycle management of main menu and splash screen 2015-09-13 10:42:06 -07:00
Aaron Culliney
902cdff495 strict warnings about file I/O were getting annoying 2015-09-13 10:32:17 -07:00
Aaron Culliney
55f04d4f68 Gracefully handle case where /sdcard is removed or otherwise unavailable 2015-09-13 10:01:44 -07:00
Aaron Culliney
dada329a8b Add script that starts Valgrind on Android device 2015-09-12 15:36:41 -07:00
Aaron Culliney
b2cb35c182 Lifecycle tweaks that get Android building again 2015-09-12 15:33:22 -07:00
Aaron Culliney
0321c27de6 Improve video cleanup codepaths from what I can discern are the OpenGL best practices for memory management 2015-09-12 15:06:06 -07:00
Aaron Culliney
d263478e83 Use calloc() for soundcore allocations
- Avoids potential for transacting upon uninitialized memory, thank you Valgrind
2015-09-12 15:04:09 -07:00
Aaron Culliney
db46b281cc Fix -UCONFORMANT_TRACKS testing (with vanilla gzipped test disk images) 2015-09-11 23:37:52 -07:00
Aaron Culliney
ed60b2ea73 Refactor VM initialization and shutdown 2015-09-11 23:03:17 -07:00
Aaron Culliney
bc5559c1b0 Allow graphics thread to self-shutdown to avoid segfault on exit 2015-09-08 23:12:20 -07:00
Aaron Culliney
ea43b56644 Avoid leaking PQList_s 2015-09-07 11:27:32 -07:00
Aaron Culliney
9c98745099 Remove unnecessary call to pump key handling codepath 2015-09-07 11:08:43 -07:00
Aaron Culliney
2cbc53ef45 Correctly zero-out entire structure 2015-09-07 11:07:49 -07:00
Aaron Culliney
ef7472b3ac Fix invalid assert ... system_buffer_size can be modified lower 2015-09-07 11:05:22 -07:00
Aaron Culliney
411e474c4b cpu suspend mutex does not need to be recursive ... this should not be re-entrant 2015-09-07 11:00:07 -07:00
Aaron Culliney
fa91a2806d Get testing working on Android again 2015-09-06 23:43:26 -07:00
Aaron Culliney
0b8f9d2dfb Test parameters change when not -DCONFORMANT_TRACKS=1
- BUG : INIT HELLO not working for DO and PO images with CONFORMANT_TRACKS undefined
2015-09-06 23:31:02 -07:00
Aaron Culliney
cd1669dfca Refactor out abusive traces into different test file 2015-09-06 22:57:51 -07:00
Aaron Culliney
a1c497bfa0 Lightly refactor testing codepaths for desktop Linux and Android 2015-09-06 22:10:25 -07:00
Aaron Culliney
e4c06c67a7 properly segregate audio-specific codepath 2015-09-06 17:24:48 -07:00
Aaron Culliney
2c97f7af19 Excise HEADLESS ... it was only being used by testcpu 2015-09-06 17:14:38 -07:00
Aaron Culliney
2cf119b5e9 use static inline function rather than macro for easier debugging 2015-09-06 15:18:22 -07:00
Aaron Culliney
f557941d07 Timing and initialization fixes 2015-09-06 15:15:33 -07:00
Aaron Culliney
7d4b63e12d Refactor : move reinitialize() to timing module and make static (mostly) 2015-09-06 14:05:18 -07:00
Aaron Culliney
f95a00df7b Silence some Clang complaints 2015-09-06 13:55:17 -07:00
Aaron Culliney
e108f4591a Fix a broken assertion ... compare samples size, not bytes size 2015-09-06 13:54:45 -07:00
Aaron Culliney
d3ae7d1524 Get ndk-gdb Working For Me (tm)
- Force BASH script to be super verbose
    - Subvert check for COMPAT_ABI (for now)
    - Subvert apparently buggy and unnecessary check for android:debuggable
2015-09-06 13:53:53 -07:00
Aaron Culliney
909b785d07 vanilla ndk-gdb from android-ndk-r10e 2015-09-06 12:40:23 -07:00
Aaron Culliney
8666ca3603 Common baseline for CLI and Android Studio builds
- CLI is still super useful for GDB debugging and running emulator testcases
    - Possibly this maintenance of two build systems can all go away when Android Studio has better NDK support
2015-09-05 14:40:44 -07:00
Aaron Culliney
c3702c54b5 Remove build variants because they are confusing and incompatible with CLI ant builds which I still want to maintain 2015-09-05 14:08:21 -07:00
Aaron Culliney
d7ae39b2a8 Fixes for olde CLI builds 2015-09-05 13:48:42 -07:00
Aaron Culliney
3b5f57b0cf Get tests working again on desktop Linux 2015-09-05 12:22:29 -07:00
Aaron Culliney
3ddfe2953e Less blatant RGBA_8888 favoritism 2015-09-05 11:38:35 -07:00
Aaron Culliney
f05d1d0311 UI/UX : clean up alert view borders 2015-09-05 11:34:03 -07:00
Aaron Culliney
4f19ad3735 Better contrast for messages 2015-09-05 00:15:24 -07:00
Aaron Culliney
4985d52169 nodes are doubly-linked list and correctly render from lowest to highest (opposite of touch dispatch) 2015-09-05 00:13:48 -07:00
Aaron Culliney
2b80c35d69 Bug fix : do not access lower stack memory from outside scope! 2015-09-04 23:35:15 -07:00
Aaron Culliney
4cad470a03 Allow small space to show in alternate/configurable keyboard 2015-09-04 23:12:41 -07:00
Aaron Culliney
be048746c5 Bug fix and optimize keyboard texture drawing
- preserve the semi-opaque halo
    - rerenders flip/flop red/green values in place
    - lower memory footprint
    - simplify codepaths
2015-09-04 22:27:57 -07:00
Aaron Culliney
75ecc47307 Bugfix : show correct current button character 2015-09-04 20:35:42 -07:00
Aaron Culliney
5b59e1c0c0 Android key click preference for GL touch keyboard 2015-09-03 22:25:38 -07:00