Commit Graph

35738 Commits

Author SHA1 Message Date
Andrew Alderwick 8c5ab83c02 Correct compiler warnings. 2021-11-17 22:31:31 +00:00
Andrew Alderwick 80f7746c04 Fix DEI values. 2021-11-17 22:23:39 +00:00
Andrew Alderwick aecf0ee58f Fix segfault on exit.
It seems that the audio callback will keep being called after exit
unless rb->pcm_play_stop() is called again.
2021-11-17 21:22:30 +00:00
Nico afdb139b31 fix audio 2021-11-17 18:45:26 +00:00
Nico 197270cbcf broken audio w/ more tests 2021-11-17 18:19:19 +00:00
Bad Diode 3dbd536edd Fix audio not playing 2021-11-17 15:55:40 +00:00
Nico ff847d5812 initial audio hacking 2021-11-17 15:09:54 +00:00
Nico 2dab5491d4 fix controller device 2021-11-17 10:35:14 +00:00
Nico fcb04138fa Merge commit 'ee638b70e5' into varvara 2021-11-17 09:38:13 +00:00
Nico ee638b70e5 cleanup, fix devices 2021-11-17 09:37:48 +00:00
Nico 1416893720 make file device build on hardwar 2021-11-16 19:43:56 +00:00
Nico ee3fa037d2 update to newer uxn core 2021-11-16 18:46:24 +00:00
Andrew Alderwick ba0e3268e8 Implement File device with Rockbox API. 2021-11-14 22:23:14 +00:00
Nico 52883316fd initial (broken) file stuff 2021-11-14 15:32:45 +00:00
Nico df1b1668e3 remove unneeded uxn files 2021-11-12 19:42:42 +00:00
Nico 4b128318fe improve performance on boost-capable devices 2021-11-08 08:47:56 +00:00
Nico 63809e4267 add datetime, fix timings for screen vector, more tests 2021-11-07 22:00:53 +00:00
Nico d03e373f28 add more test files 2021-11-07 19:54:47 +00:00
Nico 4f5319db11 use as a viewer 2021-11-07 19:54:35 +00:00
Nico 2ca7b61c84 things 2021-11-07 19:14:52 +00:00
Nico ee32942ebb keymap changes and new framebuffer 2021-11-07 18:09:52 +00:00
Nico 74ea93a708 Merge branch 'master' into varvara 2021-11-04 19:57:05 +00:00
Christian Soffke 22c2e0a7c2 Fix: Reset onplay-context for playlist viewer
The onplay-context was previously not reset when using the playlist
viewer, which led to a bug if onplay() was last called in the context
of the database. If you then tried to insert songs into a dynamic
playlist using the playlist viewer, a selected track from the database
would be picked, instead of one from the displayed playlist, due to
special behavior of add_to_playlist() within the database context.

Change-Id: I727d96fc1bfb2454ed3535959c1b0044ff7d6359
2021-11-03 13:28:10 -04:00
Solomon Peachy 5e663f0420 xduoox3ii: Ignore the remote events when headphones aren't plugged in
This prevents the actual insertion/removal from triggering false events

Change-Id: I54114ce903e110c31eca6b2ce258a0cf5f6b782b
2021-11-03 13:16:40 -04:00
Nico eea3932a3d initial controller support. needs work 2021-11-02 11:36:30 +00:00
Nico 073fb10abb revert to old method of graphics 2021-11-02 10:47:49 +00:00
William Wilgus 2731144094 exit file browser before running plugins
now that the plugin browser is resumable
exit it before running plugins

this causes a problem with the open plugin
shortcuts that call other plugins
but its now handled in count limited loop
so plugins can run plugins in a chain

and overall with less overhead too..

the problem remaining --
the plugin exits on USB, returns to ROOT

the browser resumes the
directory next time you select plugins
making for an unwanted auto return

Change-Id: If401f698207cbae824e95d69a378f13456a5dee4
2021-10-31 21:49:31 -04:00
William Wilgus 684565b8f3 USB fix red for device without HAVE_USB_POWER again.
Change-Id: I3122d532cbb8d5b5cb9040f08707c1514bc1b18e
2021-10-31 21:36:21 -04:00
William Wilgus d72a0ed65d Use USB events for storing plugin_menu state
use usb connected callback to cancel menu reentry after USB plug/unplug

Change-Id: I8267deed6e8ada94ca527392f56f50ef22def1d7
2021-10-31 12:42:24 -04:00
William Wilgus 7a6737f471 USB Events fix red on devices without HAVE_USB_POWER
Change-Id: I112e6379d4bed019d7e047e5802f104e250d926e
2021-10-31 12:30:27 -04:00
William Wilgus 894a9d9063 USB add Insertion and Extraction callback events
We have this nice event library laying around probably a few more places
we could use event callbacks

Change-Id: I9180fa9d78788d161f2587110644ca3e08df6f50
2021-10-31 12:02:38 -04:00
Nico 90be393276 Merge branch 'master' into varvara 2021-10-30 19:09:37 +01:00
Nico 23dd0c0e59 cleanup 2021-10-30 19:08:31 +01:00
Nico 16fa1f1990 ignore varvara roms 2021-10-30 19:07:57 +01:00
Nico 8b022f1a27 initial g 2021-10-30 19:07:46 +01:00
Christian Soffke 0b1c05db40 Have ACTION_TREE_ROOT_INIT cause ACTION_STD_MENU
So that a “scroll left” button can be repurposed
for returning to the main menu when there is no
existing menu button mapping.

Change-Id: I38515943313f69cc3241b3f523c94ea012471b88
2021-10-30 01:20:35 +02:00
Christian Soffke 139d447c6a fiiom3k: Modified keymap
see https://forums.rockbox.org/index.php/topic,52917.msg249425.html#msg249425

Change-Id: I8944434c5a840d0d2e35b9591dd72334430b8b09
2021-10-30 01:07:00 +02:00
Nico e051ac2c48 add screen vector and first test program 2021-10-29 09:03:45 +01:00
William Wilgus dc24a18cef PLUGINBROWSER make resumable
make the plugin browser remember the last item between invocations

this has bugged me for the longest time dealing with the plugin_menu

Fix a very old bug fix for reloading lang strings in the lang menu
FS#8117, sending multiple ENTER_MENU_ITEM callbacks from different
areas of the code makes it hard to keep track of where your callback
is originating

Change-Id: Ib0a61558c11ee4c772134378a7020ac0e10fc4ee
2021-10-29 03:07:42 -04:00
Nico ab47d5974a get initial screen implementation mostly working. 2021-10-28 22:15:56 +01:00
Nico 73688d2e96 it's broken but I'm trying 2021-10-28 21:26:36 +01:00
Nico 4c679e8ac5 initial work on varvara plugin 2021-10-28 18:21:27 +01:00
William Wilgus 8ee24d8cb4 onplay calls plugins to run other plugins
Change-Id: I7c1593c93debc0ac5c0f1b2e839ec0eb1bd375b7
2021-10-27 22:44:35 -04:00
William Wilgus f1ef5ab8a6 menu.c do_menu code cleanup
no functional changes here just removal of cruft

Change-Id: Id16c3607608d8f1ddcaf219dcd346f7a996aec5d
2021-10-27 15:44:38 -04:00
William Wilgus 1cec2c7a73 root_menu fix red for devices with RTC_ALARM but no tuner or recording
Change-Id: I36b21c3d1ef4a4ce3b275a0ee793fbf9538b69ae
2021-10-24 00:12:06 -04:00
William Wilgus 3e10ecb82a root_menu.c code clean up -- stir the ifdef mess?
Change-Id: Ia0a847b5552766e5c78dd2ab00d019e631d600aa
2021-10-23 23:30:42 -04:00
William Wilgus 36d319b084 Open Plugins Ignore hash for lang Ids
no need to look up a hash when we have another searchable field
remove some un-needed checks

Change-Id: I394e5f796a164aa4bcb68a56ca02cd6a7f18d332
2021-10-23 02:45:54 -04:00
William Wilgus 789b2e089e plugin.h change plugin_open() path and parameter to const
it doesn't modify the args..

Change-Id: Ie8e1e36a060231c0137292c770e4f77da3b8203a
2021-10-22 23:17:33 -04:00
William Wilgus f4c7dc933d lua add ability to pass PLUGIN_ ret vals with os.exit() + add defines
Change-Id: I45998245271fbd8fee4534f8497b014025e4dcc7
2021-10-21 22:28:05 -04:00
Christian Soffke 1697b13693 whitespace fixes
Change-Id: I86880595b78e3cae62361c32ca57cf6f6a4ad963
2021-10-21 22:42:01 +02:00