Aaron Culliney
fd7578a862
Always show touch joystick azimuth (if we're rendering the joystick axis)
2016-04-13 19:50:03 -07:00
Aaron Culliney
23a874456c
Better audio defaults
2016-04-13 19:45:55 -07:00
Aaron Culliney
2a405f028f
Streamline and fix test codepaths on Desktop Linux and Android
2016-04-13 19:33:08 -07:00
Aaron Culliney
9c1cfedf7d
Fix some envvars on Android
2016-04-12 22:16:01 -07:00
Aaron Culliney
db816ad502
Refactor Android variant to use common shared JSON preferences
...
- Eliminates a whole bunch of boilerplate setter/getter code in various places
- Accesses preferences directly from JSON data through custom json_parse.h API
- Improves code locality for Java menus/settings
2016-04-11 22:01:30 -07:00
Aaron Culliney
b59e1ca7ab
json_parse module passes new tests
2016-03-29 22:39:59 -07:00
Aaron Culliney
a03c074a52
Moar JSON/prefs tests including new array tests
2016-03-29 22:38:28 -07:00
Aaron Culliney
b065da9f4b
Various test suite improvements
...
- Possibly breaking changes for mobile ... #willunbreaklater
2016-03-26 14:56:34 -07:00
Aaron Culliney
74a5b74ae3
Refactor prefs into JSON publish/subscribe API
...
- Breaking changes currently only tested on Linux desktop build =P
- Goal is to eventually eliminate most/many of the disparate getter/setter functions to allow better
modularity/scaling and platform portability
2016-03-26 13:44:13 -07:00
Aaron Culliney
87ae0f08e0
Refactor JSMN for better conformance to JSON spec and to pass our more stringent tests
2016-03-25 22:32:53 -07:00
Aaron Culliney
163035b0c7
Add a bunch of new JSON tests
2016-03-25 20:44:03 -07:00
Aaron Culliney
8b74dafc6f
Check for and disallow NULL tokens in one location
2016-03-22 22:40:59 -07:00
Aaron Culliney
2da23f717a
Simplify and refactor JSMN
...
- Always enable strict mode
- Always calculate parent links and skip counts
2016-03-22 22:02:30 -07:00
Aaron Culliney
fdfe312a2b
Changes needed after jsmn subtree upgrade
2016-03-09 22:21:15 -08:00
Aaron Culliney
10d9cc3c66
Add APPLE2IX defines
2016-03-09 22:20:17 -08:00
Aaron Culliney
c57bf83514
Merge commit 'b6d20bbe3b2a92a6db810a4e3ef6d67e91a38d36' as 'externals/jsmn'
2016-03-09 21:09:57 -08:00
Aaron Culliney
b6d20bbe3b
Squashed 'externals/jsmn/' content from commit 3459957
...
git-subtree-dir: externals/jsmn
git-subtree-split: 345995799311ed1e26ea20e3eeaa47224cd1a77d
2016-03-09 21:09:57 -08:00
Aaron Culliney
48c6515790
Remove inline import of JSMN
2016-03-09 21:07:05 -08:00
Aaron Culliney
a87092bbd8
Add JSON mutation functions and tests
2016-03-09 21:06:00 -08:00
Aaron Culliney
01b25527fe
Add JSON serialization and tests
...
- Encourage use of opaque reference rather than internal struct
2016-03-04 23:31:15 -08:00
Aaron Culliney
b87273e742
Expand coverage of heap memory checking of debug builds and simplify FREE() calls
2016-02-26 21:26:57 -08:00
Aaron Culliney
0663141589
Misc tweaks
2016-02-25 21:04:23 -08:00
Aaron Culliney
6e978810db
First cut at testsuite for json/prefs
2016-02-25 20:56:59 -08:00
Aaron Culliney
b5dfd86310
Changes insited upon by Android Studio
2016-02-23 00:10:41 -08:00
Aaron Culliney
3120b75e00
Enforce module ctor priorities
2016-02-22 22:41:37 -08:00
Aaron Culliney
c5ed0bb5c6
Switch Android toolchain to stable Clang
2016-02-20 13:48:00 -08:00
Aaron Culliney
44b9c4c408
Bump Android version to 1.1.7
2016-02-20 13:39:59 -08:00
Aaron Culliney
03930d6acb
Add missing (nontranslated) strings to get release build "lint" check passing
...
- Sweeps the problem under the rug, but contributions from native speakers are always welcome =)
2016-02-20 11:59:57 -08:00
Aaron Culliney
15d64cf24e
Render thread will actually eject the disks through emulator_shutdown()
2016-02-20 11:09:24 -08:00
Aaron Culliney
dcbf1ace18
Remove an assertion that can be wrong if user is spamming app lifecycle backgrounding/foregrounding
...
- Unlikely to be a real problem if CPU thread is not paused when we are initializing the render thread
2016-02-20 11:07:29 -08:00
Aaron Culliney
f0e55af6f0
Fix a glitch rerendering pressed ctrl key ... codegen error in ARM gcc 4.8 toolchain?
2016-02-19 21:41:34 -08:00
Aaron Culliney
699f4697df
Don't leak azimuth model objects
2016-02-19 20:00:42 -08:00
Aaron Culliney
efcf0afa4e
Set framebuffer dirty on restore state
2016-02-17 22:38:50 -08:00
Aaron Culliney
00a5f6e102
Fix "re-insert" disk edge case
2016-02-17 22:32:01 -08:00
Aaron Culliney
e073954ec8
Add a test case that shows a problem with "re-inserted" disks
2016-02-17 22:24:07 -08:00
Aaron Culliney
afeaba8b2a
Lock access to zlib functions and unlinking image files to prevent data loss
2016-02-17 21:31:43 -08:00
Aaron Culliney
a2b7603e53
Only reset disk stepper_phases during VM initialization and allow for save/restoring it
2016-02-17 21:10:09 -08:00
Aaron Culliney
0dbcfbc9a2
Various fixes to get Mac and iOS building
2016-02-15 21:10:16 -08:00
Aaron Culliney
89d12ce29d
Misc fixes for Android portrait/landscape mode settings
2016-02-15 14:10:29 -08:00
Aaron Culliney
fccd2629d4
Clear color should be solid and should be set by toplevel glnode
2016-02-15 14:03:52 -08:00
Aaron Culliney
bac745845b
Don't allow reaching beyond buffer row bounds
2016-02-15 14:01:59 -08:00
Aaron Culliney
545376b1be
Improve testcpu on desktop and fix it on Android
2016-02-15 13:32:05 -08:00
Aaron Culliney
7ef70e7943
Make use of the video memory dirty bit
2016-02-15 13:30:35 -08:00
Aaron Culliney
5ce91fa96d
Do not test internal implementation detail that no longer exists
2016-02-15 13:30:31 -08:00
Aaron Culliney
829291feba
Refactor all drawing to run on video thread in one scanner pass
...
- Moves extra work off CPU/audio thread
- Prepares the way to possibly remove the vestigal intermediate indexed framebuffer and do direct RGBA_8888 writes
to XImage or OpenGL texture
- Prepares the ground for possible better emulation of video scanner hardware
Conflicts:
src/display.c
src/video/glvideo.c
src/video/video.h
2016-02-15 13:29:58 -08:00
Aaron Culliney
bd9b38cd65
Allow calibration of portrait mode on Android
2016-02-14 20:40:51 -08:00
Aaron Culliney
5354b0cfd5
First cut at allowing portrait mode (on mobile devices)
2016-02-14 20:18:07 -08:00
Aaron Culliney
70afe71c82
Add various new JSON data format parsing functions
2016-02-13 21:19:06 -08:00
Aaron Culliney
5bb65e3fc3
Calculate and store skip-ahead counts
2016-02-13 21:18:54 -08:00
Aaron Culliney
261ae2efae
Refactor to not use video_backend in so many places
2016-02-07 14:42:32 -08:00