1
0
Fork 0
forked from len0rd/rockbox
Commit graph

37256 commits

Author SHA1 Message Date
William Wilgus
188f025f51 [Bug Fix] Data Abort on Usb Unplug, database browser ran on USB dc
current_lists holds a pointer to whatver the current list is only problem
is when in one of the function type menus like the plugin viewer, playlist viewer, shortcut menu
probably a few others on usb unplug current_lists holds stale data and updates the list however
the data has already been freed when the function returned

the issue with db browser was a return of true from dirbrowse() which was the value 1 which is the
enum for GO_TO_DBBROWSER

Change-Id: I7349dfab2752e11f8e746925501740e959851cd5
2024-07-21 01:45:25 -04:00
Solomon Peachy
2b7b4c24d5 FS#13448: Ignore directories with 'talkclips.ignore' file
Mirrors the functionality of the command-line 'voice.pl' script.

Change-Id: Ifd84e4ccb19e0330d701fb835990d6ae2ddc8d11
2024-07-20 11:24:15 -04:00
Solomon Peachy
e0b34a5c4d FS#13449: Generate standalone voice clips in rbutil
VOICE_INVALID_VOICE_FILE and VOICE_LANG_NAME need to be discretely
saved as "InvalidVoice_<langname>.talk" and "<langname>.lng.talk"
under the target .rockbox/langs directory

This mirrors what the standalone voice.pl and buildzip.pl do.

Change-Id: I70fda4ffe85b5bccc164ebcbb484eedf034f143b
2024-07-20 11:18:22 -04:00
Solomon Peachy
6bfcba4422 FS#13450: 100% Chinese-Simplified translation (Medu Hedan)
Change-Id: If6911a2f6f6b912c35379f46cc5f4635f1557c7a
2024-07-20 10:41:34 -04:00
Solomon Peachy
4e953434c3 FS#13446 - Updated Korean translation (Hoseok Seo)
Change-Id: I127ca48fac9ad8c75b529f2718b564e5bc8a9759
2024-07-20 09:13:38 -04:00
Solomon Peachy
fe5bee50be Multivolume: Hosted targets are also limited to just one volume per "drive"
(It would be interesting to try and work around this but it would have to
 be done on a per-target/platform basis)

Change-Id: I7a27199082998420fea3c6abbbf5f3c526ccaec4
2024-07-20 08:46:21 -04:00
Solomon Peachy
66b0280bb1 FS#13445: Fix AI regression in Superdom (Uwe Schächterle)
The fix in e72bae7c3f was subtly wrong due to variable re-use.

Change-Id: Ibad3ad675a70682580dda0e7b2097702aa880524
2024-07-20 08:25:05 -04:00
William Wilgus
f24271c73c [Bugfix] Plugin Viewer Don't display SYSTEM folders or Volumes
recent changes added first level folders to the plugin viewer
inserting a drive enumerates new folders into the namespace of the plugin viewer
filter these entries OUT

Change-Id: I53c383584511b54940f9dffec4737107a69f6673
2024-07-20 08:19:14 -04:00
William Wilgus
7e90760a48 [Feature] Playlis to cue plugin
generate valid cue files from a playlist

uses remarks to store extra id3 info and display and playlist index

Change-Id: I00c9f6389445bb601dde6eb8f36157044024f8cb
2024-07-20 07:27:01 -04:00
William Wilgus
072228bb70 [feature] playlist. show search progressbar when iterating playlist entries
Change-Id: Ib38363f7495ca523e7cc401c0d39e060ed1705ad
2024-07-20 00:08:39 -04:00
Solomon Peachy
82cf845625 simulator supports only one logical volume per drive
Change-Id: I8f32743c98771ca38c04d42bf6b2dd4768cfedad
2024-07-19 22:04:00 -04:00
Solomon Peachy
4628009503 simulator: A few MULTIVOLUME cleanups in the code.
Change-Id: Ia170c06df7624a801ce043e49e078afffa79eee2
2024-07-19 22:04:00 -04:00
Solomon Peachy
87ef6bb9e1 hosted: Don't unconditionally pull in mv.h on hosted environments
It causes some conflicts in plugins with the upcoming 64-bit storage enablement

Change-Id: Ia8615c5266c2b29216a05a8d85c3da5186c98d1c
2024-07-19 18:42:11 -04:00
Solomon Peachy
6af637645a FS12727: Fix buggy strength calculation in superdom
Change-Id: Ib72385a488d7459af80b42972143b18ac2c2982f
2024-07-19 18:26:28 -04:00
Solomon Peachy
db8049d168 rbutil: Delete some obsolete entries from rbutil.ini
These are all sourced from build-info today.

Change-Id: I8dda9112e763c8b5561fb816e75aa6c52a20df1c
2024-07-19 18:26:28 -04:00
Solomon Peachy
5f3d3b0550 FS#13443: Further updates to Chinese (Simplified) translation (Medu Hedan)
Change-Id: Iee40059fcd63feba39bb2ce104650e57bf028e74
2024-07-19 09:34:02 -04:00
Solomon Peachy
130ad0a262 voice: Have allvoices() sort voices by shortname (eg en_us)
Change-Id: Id4c8b28b09732082cb4b35b3e5f4c05874e6f83c
2024-07-19 08:15:31 -04:00
Solomon Peachy
5d53c94255 voice: Switch all daily builds over to the Piper TTS engine
(And flip on Chinese as well)

Change-Id: Id5429c6d0dc323e09a5db4c968f741f16cfd4142
2024-07-18 20:57:24 -04:00
Solomon Peachy
e32b1d6bd6 builds: More manual-related fixes
Change-Id: I53cb4afaff434a054e5007d8577f1e401b8fba21
2024-07-18 14:55:06 -04:00
Solomon Peachy
a7159ad483 voice: Encode all tts options in the POOL filename.
It was only including about half.  Unfortunately this will likely
invalidate all existing pools.

Change-Id: Ib1da430259823a5429b4119067ba9ef0c16b7900
2024-07-18 10:30:34 -04:00
Solomon Peachy
16094fca33 voice: Minor tweaks for Chineese TTS
Change-Id: I717a40cd00e9deabf093aabd05bc2608488c5f56
2024-07-18 10:30:34 -04:00
Solomon Peachy
8ddd94f3fd voice: Add default mappings for Chinese-Simplified TTS
Change-Id: I89aaedf4843a4323af0f2a734e05ccd87b9b2530
2024-07-18 10:03:20 -04:00
Solomon Peachy
19b85e51e0 tex4ht can't handle Chinese unicode.
Change-Id: I51c3a68883a76b70b9d7901221f7b44cdbde31e5
2024-07-18 09:11:10 -04:00
Solomon Peachy
bb563da87a FS#13442: Updated Chinese-Simplified translation (王吉 / Medu Hedan)
Change-Id: Ib9490b9f4970adc0695d8bce9476b9719e76d3ea
2024-07-18 08:46:19 -04:00
Solomon Peachy
c3b83c0a5c builds: tweak the 'manualbuilds' filter
Change-Id: I56bb898d8f2f013b51b7972098b558c22d5625d5
2024-07-18 08:16:32 -04:00
Solomon Peachy
b072c60571 build-info: Unreleased 'stable' targets get demoted to 'unstable'
This keeps rbutil from being confused.

When a new release happens, all of this automagically fixes itself!

Change-Id: I15e3ebb5e274638b9b88f670ce53f950061e9044
2024-07-17 23:35:17 -04:00
Solomon Peachy
35fb94fc9b builds: Flag several stable targets that don't have manuals
Change-Id: Ic70dec49844a2f070ee6ebfd0d810c1deb9cc931
2024-07-17 22:03:50 -04:00
Solomon Peachy
350bb5fd74 builds: promote xDuoo X3ii and X20 to stable
They don't need a manual to be considered stable, but rbutil
can install them just fine.

Change-Id: I9c110711d78254f24f5813f3169ad7a4cefb19cc
2024-07-17 21:43:00 -04:00
Solomon Peachy
4d97a4f3f2 builds: Create a function that generates a list of all manual builds
Change-Id: Ib7869f89c9ccec727bc9ed691cd1ee120c1ec7ae
2024-07-17 21:43:00 -04:00
Solomon Peachy
9ddd9826d3 Delete a redundant AGPTek Rocker simulator bitmap
Change-Id: Id7f1402ad149af2805b34508ac129c6630d07449
2024-07-17 21:43:00 -04:00
Solomon Peachy
d5dd295ace builds: Promote AGPTek Rocker to 'stable'
Change-Id: I0dbee4f9dfd5c268ac3ea6b97c23069e50bf791d
2024-07-17 21:11:03 -04:00
Solomon Peachy
a302aa565a manual: Update copyright year to 2024.
Change-Id: I38c53641281775a4e830e5ee1cac861728358636
2024-07-17 17:17:08 -04:00
Solomon Peachy
01ec79663d ATA: Rework ata_isssd() slightly:
* If CF Timing mode is specified, treat it as SSD
   (some SD adapters don't report CFA supported but but report this,
    and _all_ microdrives seen do not report this)
 * If CFA compliant and CF power level 0, treat as SSD

Change-Id: Ia8c88b4636af9bae75fbd1c253d8b2b01bca6584
2024-07-16 17:35:53 -04:00
Solomon Peachy
942e013eac pp5020: Cache the result of the is_ssd check.
...So we don't look it up on every write.

Change-Id: I85b0abe5032a60588535b401cc719661601807ee
2024-07-16 17:35:53 -04:00
Solomon Peachy
27a0cda6ac PP5020: Unconditionally use stock PIO timings
The SSD detection heuristic is flawed, and when it fails
(due to very crappy CF->SD adapters) we end up corrupting things.

So let's give up a slight amount of performance on the original hard
drives (which are aging out anyway) in favor of guaranteeing safety.

Change-Id: Id92583a6b9ae6ec543b91b3e0f8f28b57ac38cb0
2024-07-16 17:35:53 -04:00
Solomon Peachy
9c53fa1b0a pp5020: It's okay to use DMA reads on non-SSDs
Fixes a regression introduced in 4b423e21f6

Change-Id: Ief4a4a562840524b98ad5988999bac87586dec41
2024-07-16 13:37:14 -04:00
Solomon Peachy
a6f0044d40 Revert "ata: Use PIO0 when ATA_SET_PIO_TIMING is not defined"
This reverts commit 95d6c74627.
2024-07-16 13:26:49 -04:00
Solomon Peachy
95d6c74627 ata: Use PIO0 when ATA_SET_PIO_TIMING is not defined
If we have no way to tell the controller what timing to use, go with
the slowest possible speed.

Change-Id: I1ed3474d8bfecc08cfe4a9e7667f57775fef4d43
2024-07-16 11:47:43 -04:00
Solomon Peachy
9049d30da9 Add Evan Kenny to CREDITS
Change-Id: Ia349c73da59dff6f4da7f727d9bfcf298ed25fce
2024-07-13 19:08:22 -04:00
Evan Kenny
96f42a5646 skin engine: Add tags to display Quickscreen Items
A set of new tags for themes that allow them to display a quickscreen item's name or value like what is displayed on the default quickscreen.

There are 8 tags in total, 2 for each direction or "item".
One type of tag displays the setting name, while the other displays the setting's value.

All tags output an "ERR" string if no valid setting is found for that item.

Quickscreen Item name tags: %QT, %QR, %QB and %QL.
Quickscreen Item value tags: %Qt, %Qr, %Qb and %Ql.

Change-Id: Ia08ba5940e38065e051a0aefa2cff142c9e58684
2024-07-13 19:07:06 -04:00
William Wilgus
3891bcf3b9 [Revert] id3 title display playlist_viewer.c
reading the disk works fine for on disk playlist but
trying to read from the disk with the current playlist
becomes unbearably slow

removes the static playlist_track_info prefering the unused one
already on the stack from search_playlist()

Change-Id: I01b836b4fe46bb51ef6a28d5db6b3f9cdc7d1e51
2024-07-13 01:39:50 -04:00
Solomon Peachy
8753c41b2e tools: Fix the tools/release/manuals.pl script
It was looking for the versioned pdf filename, which it
then renamed immediately anyway.

Change-Id: I3173fde3cdde56b4bf0b95f9d08b2b8468381972
2024-07-12 12:08:37 -04:00
Solomon Peachy
6a6fa0702a manual: Just call the PDF build artifact rockbox-manual.pdf
...Instead of renaming it to include the player name and version.  This
was the _only_ build artifact treated that way, and I can't find an
explanation of why.

Change-Id: I13f1a43ddc1f2ac3183f57892cf068e8ed16f37d
2024-07-12 11:57:14 -04:00
William Wilgus
da8d6152ad playlist_viewer reduce bss usage
the extra title pointer and alignment adds around 1k to the bss area
since we already have a pointer to track->name we can just save an offset
for the title data

Change-Id: I3a19857631d70276134bcc97940824a3e2f80e4a
2024-07-12 10:55:24 -04:00
Solomon Peachy
8801ed0824 manual: Fix html manual build on MPIOHD300
Change-Id: I7c2e9c741a9dc65c5576db370808cc4b92fab46d
2024-07-12 08:52:24 -04:00
Solomon Peachy
81c8be1568 manual: Fix html manual build on MPIO HD200
Change-Id: I815ab064b2175cb5cb54ebf534746f288d7269f5
2024-07-12 08:52:24 -04:00
Solomon Peachy
fec9f69ac8 agptekrocker: Fix manual build due to missing Quickscreen enter/exit
(Required adding a std quickscreen context keymap!)

Change-Id: Icd6bd656d826ea3be73b025242d2405f489e3eeb
2024-07-12 08:52:24 -04:00
Solomon Peachy
f8e602ecfd manual: Fix iHP-H10 HTML build
Change-Id: I824eb8254339d50eb9a99897f70a871e8d51b134
2024-07-12 08:52:24 -04:00
William Wilgus
a2747a1bd1 Playlist_viewer.c clean-up and a bit of optimization
Change-Id: I049020ab5da0b3b3c6495a4be1bc8f296d472e01
2024-07-12 00:35:32 -04:00
William Wilgus
bdb5bf1511 [Bugfix] playlist_viewer.c
had the conditional backwards

changing display settings now reloads list

Change-Id: Iea8f6bb1c7323b316a386135a6ccb192b214f6db
2024-07-10 17:07:03 -04:00