1
0
Fork 0
forked from len0rd/rockbox
Commit graph

38236 commits

Author SHA1 Message Date
Solomon Peachy
325d71a579 voice: correct VOICE_LANG_NAME for Latvian
Change-Id: I6208799703795ec333c40c55a5efcb8602b84772
2025-03-24 23:33:17 -04:00
Dana Conrad
19a636ddeb Add Eros Q OF V2.2 to known hw4 targets
Both rbutil and manual need to have entries for V2.2.

Change-Id: If1714456792820e119babe5176f405e273e764b5
2025-03-25 00:18:49 +00:00
Solomon Peachy
5135223b0c voice: Enable nightlies for Latvian and Brazillian Portuguese
Change-Id: Idb6b57c712323d64d0e81e5d64fb9451b4298ab5
2025-03-24 13:00:34 -04:00
Solomon Peachy
6b83c61221 FS#13580: Latvian translation update (Renalds Belaks)
Change-Id: Iae4b5bf25b43185e88566a2d7650452d9db0069a
2025-03-24 12:02:56 -04:00
Solomon Peachy
fc9076e89f voice: Add support for voicing Brazilian Portuguese. Disabled by default.
Change-Id: Iaef5e59e3dd6037c0fa3ffed1c00a0f7cde411b2
2025-03-24 08:45:11 -04:00
Solomon Peachy
7f63e63d83 Translations: Apply a bunch of mechanical corrections to Brazilian Portuguese
Change-Id: If91030de706a977de44c856991030e8c888408fc
2025-03-23 21:39:08 -04:00
Solomon Peachy
83edee4224 FS#13579: Brazilian Portuguese translation update (Luyara Muniz)
Change-Id: I03401efac719dbcef27abf32593bc30e1b2fe15f
2025-03-23 21:12:35 -04:00
Solomon Peachy
21941a8165 voice: Add support for voicing Latvian. Disabled by default.
Change-Id: Ieeec14bf259518232fb158a87abab7d4e58362c8
2025-03-23 21:03:36 -04:00
Christian Soffke
b5d2c1eb51 Set as Backdrop: Show preview, asking for confirmation
A new backdrop can make menus hard to read
or navigate, so give user a chance to
immediately cancel the backdrop adjustment.

Change-Id: Ib2d1ad3888afeca18677a1bbdd2c3b404ed13463
2025-03-23 22:21:03 +01:00
Christian Soffke
095729eb7d Revert "Eliminate SBS update on WPS exit"
This reverts commit 18c8e554fd.

Unfortunately, this approach doesn't play super-well
with *all* themes, specifically in cases where the user-
set background color, used for drawing on the backdrop,
doesn't really blend in with the skin's actual background
color. Plus, it may leave some patches of color behind,
if a theme author didn't take care to cover all parts of
the screen with foreground viewports.

Change-Id: I0159b2e5de6c0753dea54bc6bafe5bc6268a0c6a
2025-03-23 05:15:44 +01:00
Solomon Peachy
f9bdf33a41 FS#13578: Slovak translation: More consistency updates (Matej Golian)
Change-Id: I1fde0479e0218ff51418a431233cd37d6753aa17
2025-03-22 22:53:08 -04:00
Solomon Peachy
19bb4a06ee FS#13577: Latvian language fixes (Renalds Belaks)
Hopefully the first step in getting this translation current

Change-Id: I3c1f70fc6324bd47c179c742be42b73ccc658034
2025-03-22 22:12:02 -04:00
Christian Soffke
8ecff409da Set As Backdrop: Ensure whole skin is updated
Only parts of the skin were updated
after selecting a new backdrop

Change-Id: Ib2f2146636907e5bf228e7e5ed9c7f650e56fa47
2025-03-22 22:30:16 +01:00
Christian Soffke
bc035803ba WPS/FMS: Request SBS update after softlock
Elements from the SBS would disappear after
softlock, for a WPS that displayed an SBS,
if lock notifications were enabled.

If SBS isn't used, the request doesn't
result in any immediate action.

Change-Id: I7f5e8874f4eade6f504b6b3748c9644529587bb2
2025-03-22 21:46:27 +01:00
Christian Soffke
18c8e554fd Eliminate SBS update on WPS exit
Prevents flashing an outdated backdrop when moving
from WPS to SBS, if both were using the extra
frame buffer (i.e. both used background viewports),
without having to update the SBS first. I think,
this is actually what we want, rather than commit
c1222d65e2, which attempted the same thing.

Change-Id: Iffc7fe2d351ebdf21a4e7629aba93641c0d30b50
2025-03-22 17:23:08 +01:00
Solomon Peachy
7f9bf6d7d0 manual: Update copyright year to 2025
Change-Id: I52057f5502c257c8652a2b226b2a7750e6d1843b
2025-03-21 13:57:19 -04:00
Solomon Peachy
ab9aaba117 FS#13576: Revised Slovak Translation (Matej Golian)
Primarily spelling and consistency fixes

Change-Id: I61e1b619888e547721dbeeaeb5b7cb20577f5fac
2025-03-21 09:30:21 -04:00
Christian Soffke
3b105b8c33 Playlist Viewer Track Info: Fix: custom list items don't stop scrolling
test case: https://themes.rockbox.org/index.php?themeid=3625

Change-Id: Ia3c5cb4ee37c111ba4a84dc5d63695801fe0300d
2025-03-20 20:43:27 -04:00
Christian Soffke
c1222d65e2 Update SBS on WPS exit only when both use extra framebuffer
Change-Id: I853add515231f319cc76f16f322ceb23bc920d72
2025-03-20 18:10:50 -04:00
William Wilgus
856da7f366 Debug - OS stacks - show current stack usage too
Change-Id: I41f895786e409c3f4ea500f99eb74cbd6cdbe5b6
2025-03-20 16:50:08 -04:00
Solomon Peachy
c5d3468be6 FS#13575: Updated Slovak translation (Matej Golian)
Change-Id: Ia9cfb2a03efdda6cdc7d2107fdc77a820364452b
2025-03-20 14:43:14 -04:00
Solomon Peachy
97c61df094 FS#13575: Updated Slovak translation (Matej Golian)
Change-Id: I10415b35285305f9ca3e2e21ca3231954e6c4ec9
2025-03-20 07:56:06 -04:00
Christian Soffke
f49e941fe4 html-manual: fix "TeX capacity exceeded" with recent tex4ht
Change-Id: I6b63185190746fff24fa8dc56f6943a0ed355487
2025-03-19 20:39:04 -04:00
Christian Soffke
86beaab964 wps: update SBS before leaving WPS
The backdrop layer for the WPS was redrawn
before returning to the SBS, resulting in
unsightly visual effects such as album art
(drawn on the backdrop) losing a frame that
was drawn in the foreground.

Change-Id: If5bb1ba83d79d6d1f637e06f9cc5eab3b97d5906
2025-03-19 22:41:50 +01:00
Solomon Peachy
54c5ef60df mikmod: Decouple the info scrolling from volume setting
This way volume setting will always follow UP/DN conventions
but scrolling is reversed as needed.

Change-Id: I3fc72c29d78fab46bdf19947a88c02e039bfad51
2025-03-18 11:02:55 -04:00
Solomon Peachy
1dc8a5a8ce Revert "mikmod: Invert scrolling on everything that's not an ipod"
It fixes scrolling but inverts the volume, which is worse.

This reverts commit 003da4d223.
2025-03-18 10:58:26 -04:00
Christian Soffke
9d82db1146 pwrmgmt: sleep timer: don't shut down while charging
This mirrors the behavior of idle poweroff,
which inhibits shutdown as long as a charger
is plugged in, even if a device is capable
of powering off while charging.

Since usb_inserted() already checks for USB_POWERED,
certain devices with the ability to power off while
charging, already exhibit this behavior when using
the sleep timer anyway.

Change-Id: I35ed4b542a8a4df06a34395c85f4d37fc1d2ce53
2025-03-14 11:48:12 +01:00
Christian Soffke
df7d68a6e2 Have "Create Playlist" always create playlist from all tracks
Change-Id: Ic04724139d03417f7cac55f3cfa5aed5610c9747
2025-03-13 19:28:04 +01:00
Christian Soffke
a77cb9dc77 playlist save: ensure required file exists, proper filename used
Trying to save a current playlist associated with a
file that doesn't exist anymore, is likely to result
in a panic.

+return to keyboard picker after
complaining about missing dir.

Change-Id: I00ea0b08521d4a4503243d636af01252119939bc
2025-03-13 19:27:57 +01:00
William Wilgus
8d2226f952 [Feature] Add failure messages to metadata logging
Previously logging just showed that the file was
passed to the function without any indication that
the parsing failed

Adds status strings to record failure to open, missing parser, parser error

Change-Id: I5234153464bab9a5f9fb765d5e1cfa59dfe0ebfe
2025-03-11 12:16:00 -04:00
William Wilgus
dccda8c76f [Bugfix] FS#12436 cache mode strings prior to font disable
by checking string len we can cache the USB hid mode strings

I guess if the user doesn't have enough glyphs they might still
might not get the whole thing but this appears to work with
50 glyphs and the referenced russian language selected

remove call to  GUI_EVENT_ACTIONUPDATE it is now counterproductive

Change-Id: Ica96ed39c7d002fde2d1888e78d2ea18e7c1d61a
2025-03-11 11:41:17 -04:00
Christian Soffke
ecc72c0df9 Manual updates
- Reverse order of prev/next buttons in html manual
- Rename "Playlist Catalogue" to "Playlists"
- Update order of menu items in "Playlists" context menu section
- Add "View Album Art" to "WPS Context Menu" section
- Adjust wording in "Playlists", "Basic Controls/Concepts" and
  "Database" section
- Fix: Playlists are saved to root directory (not cwd) if no path
  provided
- Fix: "Recursively Insert Directories" applies to all playlists,
  not just the current one
- Fix: Update description of "Create Playlist" option
- Generally refer to "current playlist" instead of
  "dynamic playlist" and remove reference to "on-the-fly playlist"

Change-Id: I200d19c5fb10f1f0ddb7d993827c90be4a7402b9
2025-03-11 08:41:40 -04:00
Christian Soffke
8d50ac7773 PictureFlow: Offer to update cache if tracks not retrievable
Present user with a prompt, so that they don't
have to manually execute "Update cache" from
the settings menu after a database update

Change-Id: Ie2157f04329e8ffc10afbeb047486fe4b0b70bcf
2025-03-11 08:41:01 -04:00
Solomon Peachy
003da4d223 mikmod: Invert scrolling on everything that's not an ipod
mikmod uses WPS_VOLUP and WPS_VOLDOWN to scroll down and up
respectively, which works for the ipod clickwheel, but results in
inverted scrolling for everyone else.  Correct this for all non-ipods
and correct the manul (which actually didn't report this either)

Change-Id: I5a84512dfbf068ca5c4206f4362185d4d7e5c9fc
2025-03-11 08:38:38 -04:00
William Wilgus
3c4aed56c0 [FixRed] Creative Zen
missing ;

Change-Id: Ia24562ef47f03227ff536c743b4939e63ada0d01
2025-03-11 03:02:14 -04:00
William Wilgus
4f3bbeaffc Remove BATTERY_TYPES
Change-Id: I4fa03a10d0032fd6f92722bbe1d4b7eec0b95cb4
2025-03-11 02:26:38 -04:00
Christian Soffke
fb115e5bdb playlist_save: fix dir may not exist
Attempting to save a playlist to a dir that does
not exist would make playlist_save panic.

https://forums.rockbox.org/index.php/topic,55241

Change-Id: Ibf55255949782315e997733b519c590ac53221a2
2025-03-11 01:23:01 -04:00
William Wilgus
69664cc4e9 Asan fix warning for 1-bit vert #2
try #2 at this
if there isn't enough data remaining to fill the columns
then don't read any more data

looking at the blame for this driver it had similar logic originally

But really on native this is just extra overhead so..
Ifdef out for native

Change-Id: I105dea1f7adc0448f345b268fcfa8574333132a9
2025-03-11 01:21:05 -04:00
Christian Soffke
c31234bc32 Fix: Root dir bookmarks displayed for dynamic playlist
When the 'List bookmarks' button or hotkey was
pressed, while a dynamic playlist was playing,
bookmarks from the root dir were displayed, if
any existed.

Change-Id: If104ad4b717fd188174069457deb27d21399b9bb
2025-03-11 00:00:18 -04:00
William Wilgus
42a9582cc1 Asan fix warning for 1-bit vert
1-bit vertical displays overread the buffer due to the way the
packing works, this isn't the hottest path anyway but
we can check if height <= 8 and make stride 0 so the dummy data
gets the beginning of the data instead

Change-Id: I88ab4dc37bfd2d680d125f964beafe0ddfb00645
2025-03-10 13:13:20 -04:00
Christian Soffke
ae3b34734a onplay: Enhance consistency of menu item order
Matches 'Playlists' context menu, by
putting "Save Current Playlist" next
to "View Current Playlist"

Change-Id: Ie1d7a6bf8d5acdb830db44a2c4d3ed2adc17b878
2025-03-10 01:18:40 +01:00
Christian Soffke
2e91a67c3f Deprioritize 'Create Playlist' option
Make "View Current Playlist" option more
accessible by moving it into the spot of
the 'Create Playlist' option, which
currently appears first in the context
menu, and is thus automatically selected

Change-Id: I28de5d7ad5be9bee79578ea7255a96aa72fafd2f
2025-03-09 23:51:14 +01:00
Christian Soffke
fbfdd8bb41 PictureFlow: Rejigger menu options
Put Sort command as first entry into main menu,
and immediately exit menu after sorting has changed,
to allow quicker adjustments than before.

Move commands to update or rebuild the cache from
Settings into main menu for improved discoverability,
and since they aren't really proper settings anyway.

Add 'Display' submenu to Settings which now houses the
following more 'esoteric' options that are likely to
need only infrequent adjustments:

- Backlight
- Display FPS
- Spacing
- Center Margin
- Number of Slides
- Zoom
- Resize Covers

Change-Id: I5bb3ee922cb870f9b6db9bd6ac9480d49f5decf3
2025-03-09 18:29:07 +01:00
Christian Soffke
dff29110c2 PictureFlow: Don't require restart before rebuilding cache
You were asked to restart the plugin, before
PictureFlow would rebuild the cache after
selecting the menu option for it. This patch
eliminates the need for leaving the plugin, and
PictureFlow will rebuild its cache immediately.

Change-Id: I47ec78339fdc91efd42cd7850829256417682eae
2025-03-09 13:27:19 -04:00
Christian Soffke
87344d180b Rename 'Playlist Catalogue' to 'Playlists'
When the Playlist Catalogue first appeared in the main menu
in 2011 (FS#11808), the 'Playlists' menu item was renamed
to 'Playlist Catalogue' which seems more verbose than is
necessary these days.

Since we don't have a 'Playlist Catalogue' menu item in the
onplay menu anymore, either, LANG_CATALOG can be eliminated.

Change-Id: I7f38b0847e9b982506371f4a4b473d1fb2551ad0
2025-03-09 17:46:52 +01:00
Christian Soffke
272ce05396 Fix red 7693ecc
Change-Id: Ief9395eda8c2eb2837706227be75e482842e48ec
2025-03-09 17:37:34 +01:00
William Wilgus
fffae07833 [Bugfix] Scroll engine, backwards scrolling causes display corruption
When a line is over a selected length bi-directional scrolling
is disabled.

In non bidir scrolling the string is copied to a buffer twice with
a space between "scroll text" + "   " + "scroll text"

this is to allow scrolling the line in the forward direction
with minimal extra logic

Note: that is the ONLY direction it is equiped to handle

In the USB screen I observed while switching through the different modes
that sometimes the text was corrupted

turns out you can still have scroll->backwards set to true
which causes offset to go negatve but we never check if offset < 0
in non bidir scrolling mode and happily continue with ever more negative offsets

Change-Id: I210f7880be953d3cc42469828a7ca5fc2b2ab96f
2025-03-09 09:16:07 -04:00
Christian Soffke
dec8d4101d PictureFlow: Fix some annoyances
- Skip superfluous "Wait" splash before displaying
  index progress

- Display current step that the progress bar pertains to

- Exiting the "Confirm Quit" screen in order to continue
  indexing was *extremely* fiddly because of picked-up
  button events that would often immediately return you
  to the same screen instead of getting you out of it.
  This should behave more sanely now. Plus, you should
  only see the Quit confirmation screen as a result of
  pressing Menu or Cancel now (instead of touching the
  scroll wheel for example).

- PictureFlow was unresponsive while removing duplicates

- A Cancel action initiated by the user isn't treated
  as an error anymore, nor is a message displayed after
  user has already confirmed their intention to quit.

- The plugin doesn't return errors anymore if the user
  has already been presented with an error message, to
  eliminate redundant splashes, delays, and an unwanted
  return to the main menu

Change-Id: I255b8f760ccb0acdfddcacbc7d8a1b17b063e53e
2025-03-09 09:06:42 -04:00
Christian Soffke
7693ecc2a2 tagtree: Improve suggested playlist filename for "special entries"
Make the suggested playlist filename for special
entries such as "[Random]" or "[All Tracks]" a
bit more descriptive, by mentioning the current
table as well, e.g.:

"The Beatles [All Tracks].m3u8", instead of just
"[All Tracks].m3u8"

Change-Id: I43d9386c06081540cdcae715afc0b0351857633d
2025-03-09 09:05:52 -04:00
William Wilgus
10b4cab793 battery_bench export_battery_tables add warnings
moves shutoff and disk safe to end of file

add warning

comment out shutoff and disksafe level as further protection

Change-Id: I1723b2ae6b2bd7fd359dc7dfcc8f1958d97673fc
2025-03-07 13:14:31 -05:00