1
0
Fork 0
forked from len0rd/rockbox
Commit graph

37042 commits

Author SHA1 Message Date
Christian Soffke
fdba79cd77 shortcuts: refactor sleeptimer / talk_timedate
move some functions around, with no effect on behavior

Change-Id: I4638a28f5ff2a851534a3dd696ea7e763029cb2f
2024-05-13 18:18:45 +02:00
Christian Soffke
8eeef333a1 shortcuts: add 'reboot' type
Enabled by d55dcef

Change-Id: I689e289feb4715aab603bae4a6855cf5e227562b
2024-05-13 18:06:55 +02:00
Christian Soffke
f631bfe5b4 shortcuts: sleep timer: allow omitting number of minutes
'sleep' can now appear in the data field of a 'time' shortcut
without being followed by a number, allowing you to stop a
running timer, or to start a new one using the default sleep
timer duration (the duration setting can already be added to
the Shortcuts menu as well).

Also see here:
https://forums.rockbox.org/index.php/topic,54312.msg250940.html

Change-Id: I9d0e62ef1b6187c35133067349729a4d94273c7a
2024-05-13 18:06:55 +02:00
Christian Soffke
b8b4fdd999 shortcuts: voice fixes
- current time wasn't spoken
- 'sleep' shortcuts were voiced as "Time & Date"
- selected item wasn't spoken when returning
from Delete confirmation dialog

Change-Id: I3a3e8b7782323a8c02ae07302ecdfdd742e60908
2024-05-13 18:06:55 +02:00
Christian Soffke
51a5123f5e shortcuts: 'browse' type: fix ignored name field
see https://forums.rockbox.org/index.php/topic,54619.0.html

Change-Id: I9615ec9ee2e058a67199db96e16cd7008daf0891
2024-05-13 18:06:55 +02:00
Solomon Peachy
b6053c4d54 voice: Fix a handful of non-voiced splash messages
Change-Id: I561c756c542fa24824a881b5632c955a920b8471
2024-05-13 12:02:17 -04:00
Solomon Peachy
0bfc5d8d99 voice: Switch default piper voice for english-us
The original one was picked at random; while I personally find it
pleasing, it's soft spoken and doesn't work well when voicing over
already-playing music.

Change-Id: I0ed033f02a54f42e2d0729cab883068ecaad6faa
2024-05-13 12:02:17 -04:00
Aidan MacDonald
cc45e4d88d Really fix yellow this time
Change-Id: I73a39f823ca5d20f8a562ddb36ba4f8c7137b2db
2024-05-12 15:21:56 +01:00
Aidan MacDonald
2061448341 Fix yellow in 5f377c2613
Change-Id: Ib593e7afea52bc768242aa93d304f38fa1aea054
2024-05-12 15:05:21 +01:00
Dana Conrad
5f377c2613 Eros Q Native: Add Stereo SW behavior setting
Hopefully this should cover our bases so we can change
the behavior of the stereo switch to keep line out working
when they change the hardware on us!

Change-Id: Ic36bcb3778d5681a5f3f158c689df9c1420c1d7e
2024-05-12 09:42:02 -04:00
Solomon Peachy
d0758c5330 builds: Add 'erosqnative' to the 'unstable' build list
This will add it to the nightly builds, and add voice etc generation

Change-Id: I8d792775f9db9da23271913e62a170f2a907ed41
2024-05-10 08:34:04 -04:00
William Wilgus
4128a1fe48 [Bugfix/Feature] OpenPlugin and default plugins
selecting files to run is nice and all but you might not like the plugin
you can edit it OpenPlugin Viewer Plugin but instead pop it when you add
a file to reduce suprises

shortcut viewer is not ready for this so exclude it for now

Change-Id: I950599d87f47d42e8c2d59695f6583d497b217f0
adds: default plugin (if any) is selected in the open with dialog
2024-05-09 16:13:24 -04:00
Solomon Peachy
6e82897bfc make: Update help text
Change-Id: I069d3f62d93f0e8aab48f2cedbc8c7e65fde94d4
2024-05-08 22:40:18 -04:00
Solomon Peachy
54389dcf2f configure: fix test for LD version on non-macos systems
Change-Id: I6296a013def3e55b44cbba781f3a397a94d2c561
2024-05-08 22:40:18 -04:00
Aidan MacDonald
e37cd0f2f5 x1000: Enable NOCROSSREFS_TO()
Start enforcing the correctness of references to the .init section.

Change-Id: I507891a25be9cccff4cf8ec13fdc799b73c75176
2024-05-08 22:14:10 -04:00
Solomon Peachy
1957237a46 Fix red in 8c86fb6da0 (ipod5g only)
Change-Id: Idf6a488728b0187779bc4a9232c7e7e9400afeec
2024-05-08 22:03:59 -04:00
Solomon Peachy
8c86fb6da0 arm: Use -masm-syntax-unified when compiling with gcc8 or newer
Annoyingly, this makes all of the '.S' files we compile get treated as
divided syntax, so we need to make the syntax in them explicit.

Change-Id: I56a3916b7b24c84a1214a5d6bc4ed4d651f002cf
2024-05-08 21:45:42 -04:00
Solomon Peachy
0a89d1d4df Fix a typo in English
Change-Id: Ia0b84338cecbc744050336ac49074ec1a559f51a
2024-05-08 10:42:00 -04:00
Solomon Peachy
6bb6c20479 voice: Don't generate talkclips for directories with 'talkclip.ignore'
Add one of these to the .rockbox directory

Change-Id: Ibc9733ba31d1b2c49b69ab833d284faa84f5cedd
2024-05-07 16:21:21 -04:00
Solomon Peachy
64e4f81ffc voice: Properly handle UTF8-encoded filenames when generating talkclips
Eg this was happening before:

  '11 - Breña.mp3' --> '11 - Breña.mp3'

As well as resulting in incorrect voicing, it was breaking the encoding
of the .wav to .talk.

Change-Id: I6cf844d843ddf1a459f92e1ebd55c9feec886f55
2024-05-07 16:21:21 -04:00
William Wilgus
3348d84206 open_plugins Fix Yellow
Change-Id: I036bd57c7e55f7059f858e9f0929500c2094e579
2024-05-06 18:00:49 -04:00
William Wilgus
ee840709d3 [Feature] Open plugins now recognizes known filetypes and can run them
now you can run your lua files without having to add the viewer to
the shortcut or if you want a bmp file to be displayed when you start
the device that can be done as well

Change-Id: Ia56b566789623a2ca78d9e4583086db6e2cd689b
2024-05-06 17:27:25 -04:00
William Wilgus
30482bd908 [BugFix] Radio make sure resume frequency is in range
out of range frequencies hang the device (clip zip, others?)

Change-Id: I0d3af83a05479f70a958168f57c8cc305195b06b
2024-05-06 10:28:27 -04:00
Solomon Peachy
1189006a4b Update .gitignore
Change-Id: I7fed7aeb4ebbf861c0b0603e869db023b5d6dee7
2024-05-05 14:19:22 -04:00
William Wilgus
f55483a966 lua --remove files moved to include directory
Change-Id: Ic9256cb28126dba89b1458109c717f846f5b6d38
2024-05-05 14:11:47 -04:00
Solomon Peachy
c34076b2a5 Theme Editor: Make it compile with modern toolchains
Change-Id: Idc0ef3dd34ab186b4ea40f4d916a2addf87eb478
2024-05-05 14:05:13 -04:00
William Wilgus
d7c541742f Allow first level folders in plugin menu
add sorting directories as files
move picross files to a hidden folder

use directory for lua_scripts, sgt_puzzles

make plugin browser able to handle 1st level directories

Change-Id: I30852d71dc992c378d5790756e94f06f5a2e9bef
2024-05-05 14:01:43 -04:00
William Wilgus
efcea66280 Revert "readdir_r use in tagcache.check_dir, ft_load"
This reverts commit 0c737d3b2e.

Reason for revert: Not really a concern as open_stream returns an independent buffer since g#566

Change-Id: Idbd2f4a7cc2ea6362b7714629469eeb7b3d19b3b
2024-05-02 13:38:32 -04:00
William Wilgus
0c737d3b2e readdir_r use in tagcache.check_dir, ft_load
Change-Id: Ibcde39ed247e100dd47ae877fb2a3625bbb38d8b
2024-05-02 09:33:29 -04:00
Solomon Peachy
f2f5543856 Minor mechanical corrections to the Serbian translation
Just silencing some warnings that prevented 100% completion status.

Change-Id: I92ed17317b6397f71e65034f1ce7f66ecb92854f
2024-05-02 09:20:43 -04:00
Solomon Peachy
edb32a022d FS#13421: Update Serbian translation (Ivan Pesic)
Change-Id: Ic3d11c695803889be2036ba3aef97a07ec02819f
2024-05-02 08:52:00 -04:00
Solomon Peachy
8ad2512a02 FS#12549: Improve manual with respect to shortcut talkclips
Change-Id: I27adef824649071cc30142f7fad8d04cd810774b
2024-05-01 21:00:08 -04:00
Solomon Peachy
2ba12c1674 trnslation: Fix minor errors in the Dutch and Italian translations
Change-Id: Iaec389b0a6357320c2d9662a824dd1872410a7cd
2024-05-01 10:29:30 -04:00
Solomon Peachy
b32266b7db updatelang: Avoid some runtime warnings
...And add '"' to the suspicious character list

Change-Id: Ia8a790882085a6e82c89cae09164ddbccf36e47f
2024-05-01 09:11:58 -04:00
Solomon Peachy
67f61e1e13 Minor fix for the Turkish translation
...Quotes (") are not legal characters in a string

Change-Id: I445b145011577c64fd428bd2dbdf55080a156e1e
2024-05-01 08:59:22 -04:00
Solomon Peachy
69828c36a8 FS#13419: Updated Turkish translation (Eren Akpolat)
Change-Id: Ib49cc2f1566a0d446ea50ff270e0ecda2caf43ba
2024-05-01 08:08:12 -04:00
Solomon Peachy
0c0b1b1a6b updatelang: Sanity-check the translated LANG_VOICED_DATE_FORMAT
This must be *localized* not translated!

Change-Id: I961eac91356a4b3ba7bba9828df69a08ce273543
2024-04-30 21:26:59 -04:00
Solomon Peachy
6485a489cf FS#13418: Partial update of Turkish translation (Eren Akpolat)
Change-Id: Ibb89ade1e049f1b79d47a12b6a348beff61296fb
2024-04-30 18:48:02 -04:00
Solomon Peachy
34c6ee539f updatelang: Include the old/incorrect format specifier in the error message
Change-Id: Ic8ea9430e1412d98b518bcb2d8508ef459d1700a
2024-04-30 06:18:46 -04:00
Solomon Peachy
73a47a1b5e updatelang: Make sure translated string has the correct format
We do this by parsing out the format specifiers and making sure the
translation has the correct number, type, and order of specifiers.
Percent literals ('%%') are ignored.

Mis-matched formats can lead to much badness, so to be safe, use the
untranslated string instead and flag it as a problem on the translation
site.

Change-Id: Ib48c2e5c3502735b1c724dd3621549faa8b602b7
2024-04-29 22:03:12 -04:00
Solomon Peachy
9fd4782c6a updatelang: Complain about suspicious characters in voiced strings.
The main intent is to catch printf() format specifiers (ie '%')

Change-Id: I8ed54993431e5f4d35e98de8faa7690198d5947f
2024-04-29 17:14:15 -04:00
Solomon Peachy
bf325de48e FS#13417: Updated Dutch translation (Leander Lismond)
Change-Id: I3576b74aba0830fb0e277de01836f70ff376fbea
2024-04-29 13:44:24 -04:00
Solomon Peachy
65861c4d6f FS#13416: Updated Polish translation (Adam Rak)
Change-Id: Iaee3e5a6f1af1d10a34072d1f48d3490f8131c04
2024-04-29 08:32:31 -04:00
Solomon Peachy
7550ed3df7 FS#13415 Updated Italian translation (Alessio Lenzi)
Change-Id: I4b18832c5fd1186c0a977f7315c357f841829746
2024-04-28 20:36:54 -04:00
William Wilgus
6fccac3f44 lua extend stars demo plugin
extend the stars demo plugin with hit testing and more

draw_poly now returns the extent of the  figure it drew

the sim doesn't strip debug info now

unnamed upvals will display "" instead of just ending the debug line

[Bugfix] fix make file name conflict for picross

Change-Id: If342aaff314972c187fa1f299d956e3482366e57
2024-04-28 01:03:16 -04:00
Nathan Korth
2c7e47fc12 New plugin: Picross
Picross is a puzzle game also known as Picture Crossword, Nonograms, or
Paint By Numbers. See http://en.wikipedia.org/wiki/Nonogram for
information on how to play.

Update 1: nicer graphics with less images, fixed directory listing,
changed how the board works to make a lot of math more sane

Update 2: added missing rb.yield to viewPicture loop

Update 3: you can now save a game in progress

Update 4: fixed a file pointer leak, improved the numbers font

Update 5: no images, use vector num draw library add zoom, freedraw -- Bilgus

Change-Id: Idc476b46b6eaa10818400fa789701d5bac83467f
2024-04-28 00:21:16 -04:00
Christian Soffke
3ae48284c1 manual: update "Load to RAM" setting, Shortcuts
Change-Id: I5ba4b6207913375d35a68061422085255190b413
2024-04-27 11:57:46 +02:00
William Wilgus
0dd5df4060 [BugFix] tlsf get_new_area should return 0u or OOM
Change-Id: I24f67a3a28237b7c1035932f69b7f526471bb8ef
2024-04-27 03:23:43 -04:00
Solomon Peachy
26c612f6c0 FS#13348: Don't voice/spell out the file extension if it's not displayed
(This only applies if there is no talk clip for the file)

Change-Id: I0f071313f480052ecf4b912919155a8f0c2430d1
2024-04-26 10:01:30 -04:00
Solomon Peachy
aa7357861a ipod6g: Issue a FLUSH_CACHE[_EXT] command if device can't sleep.
Additionally, synchronize with the standard ATA driver's feature table

 * Acoustic management set to quietest
 * Set power mode to lowest w/o standby

Change-Id: I12e64354d4c946228e9a55fc8da2114127d08d28
2024-04-26 07:28:01 -04:00