1
0
Fork 0
forked from len0rd/rockbox
Commit graph

38236 commits

Author SHA1 Message Date
Aidan MacDonald
1c96d51717 arm: add ARMv7-M support for thread context switching
On ARMv7-M, stm/ldm instructions can't include SP, so we must
load and store that separately. This changes the order of
registers in the context struct, but it doesn't seem to be
accessed anywhere else so this shouldn't cause any problems.

Change-Id: Ie1cd23272f23384e030f51f0b76739624fa7332b
2025-04-18 10:55:32 -04:00
Aidan MacDonald
6712779ccb x1000: fix regression on Q1 with misaligned write pointer
Commit 1fb906500a ("x1000: LCD DMA fix") caused a regression
on the Q1 by breaking the LCD_X1000_DMA_WAIT_FOR_FRAME logic,
since the wrong branch of lcd_wait_frame() was taken.

Change-Id: Icb44335f506a1a691280de8219188526bb11468f
2025-04-18 10:49:27 -04:00
Aidan MacDonald
76c62dc429 x1000: remove bogus modes from lcd_dma_start()
These 'modes' don't do anything here except clutter the code.

Change-Id: I4e0eef39e0c3bac288c40d571ba855c9ffd7c1a1
2025-04-18 10:49:27 -04:00
Aidan MacDonald
b71337f1fd x1000: remove LCD fast sleep define
All the X1000 targets use "fast" sleep, as opposed to the normal
HAVE_LCD_SLEEP define which creates a user-configurable option.
Remove the ifdefs to make the code a bit easier to read.

Change-Id: Ibb80c92a8e23191651fee61fc8cf6f4e4fac8750
2025-04-18 10:35:49 -04:00
Vencislav Atanasov
7e2019fde9 iPod Nano 2G NAND: Use the correct bit names for FMCSTAT
Looks like they were always off-by-one, so the wrong functions have been used to rectify this bug. This is now properly fixed.

No changes to the ipodnano2g binaries (bootloader, rockbox)

Change-Id: I19fe1b89f9e5d722f7e877d60f68fc3275c3642a
2025-04-18 10:26:57 -04:00
Aidan MacDonald
a0bfcd77c8 arm: enable unified assembly syntax in more files
This makes these files compileable, or in some cases less
broken, on Cortex-M targets.

In lcd-16bit.c, newer versions of GAS complain about the
infix condition codes so we use the suffix form instead,
which requires unified syntax to compile on GCC 4.9.

Change-Id: If45166d3fc83d64c692cbb331096a966397aa9e9
2025-04-18 10:26:02 -04:00
Aidan MacDonald
639b587fc7 arm: add support for processors with hardware division
ARMv7-M has hardware division, so it doesn't require __div0
or any support functions for 32-bit division.

Change-Id: I840683a1a77d737f378899ca4bcf858216b81014
2025-04-18 09:22:48 -04:00
Aidan MacDonald
7e8a818d95 arm: add ARM architecture profile detection
Add some logic to detect classic and M-profile cores, and make
this info available to the build system. All existing targets
are classic profile.

Change-Id: I07bfcd418bcaa6297b9bbf889fc189f167147428
2025-04-18 09:22:48 -04:00
Solomon Peachy
9e79ebf78d bootloader: Fix red on hosted bootloaders
Fixes: 888ce7cae8
Change-Id: I802779cf158634d5b3b547d74999798cb56d2882
2025-04-17 08:31:33 -04:00
Christian Soffke
93b1611474 tagtree: defer context menu disk access
When the database isn't loaded into RAM,
or the "quick" load setting is enabled,
filenames for tracks must be retrieved
from disk.

With a single track selected, this
can cause a delay before its context
menu is displayed.

Since filenames are only needed after the
user has selected something from the menu,
it makes sense to defer retrieval until
disk access becomes inevitable.

Change-Id: I72b57eff3102b50f3e19441119e20aad903b1f2b
2025-04-17 08:23:45 -04:00
Roman Artiukhin
be47d646f0 jpeg: Add support for FORMAT_RETURN_SIZE flag
Change-Id: I01f883400d775ffee5cdaa107fc3d6fb89b02573
2025-04-17 08:23:32 -04:00
Solomon Peachy
888ce7cae8 disk: Dump partition tables when we can't find a usable partition
Change-Id: I10a1b4f149657da4292f34ac8a14e58ec6cdcf72
2025-04-17 08:15:13 -04:00
Roman Artiukhin
08bd5cdd3d plugins: db_folder_select, disktidy, main_menu_config: Fix selection dialog with Show Icons set to No
Temporarily enable icons for required lists. Probably not a proper fix but a simple workaround.

Fixes FS#13574

Change-Id: I011a80e2a9f03019927b32e92cd5a35275c051e1
2025-04-10 12:30:29 +03:00
Solomon Peachy
b3caf32f78 voice: Disable Greek voicing in daily and release builds
...Its coverage is below the 80% threshold.  If anyone complains, they
can help improve the translation coverage first.

Change-Id: I0201497ec1209a7d125ac99ec45de6e2a9e41098
2025-04-07 08:44:43 -04:00
Solomon Peachy
b26d85d2ff FS#13592: Update Brazilian Portuguese translation (Santiago Silva)
Change-Id: Id4e12b0af93878fdd8704fcee8597a273be66675
2025-04-07 07:40:23 -04:00
Solomon Peachy
8b54bec33e tools: Release scripts should only create artefacts for _stable_ targets
...Instead of including unstable targets too.  Those have to make do with
dailies.

Change-Id: Ie7d75338dab7b395e1f5980da54bc03f4b9f0184
2025-04-05 20:47:23 -04:00
Solomon Peachy
f884f92234 rbutil: http:// -> https:// for all displayed Rockbox URLs.
Change-Id: I6afe427144681103e52cb976ac10fdbd939e2237
2025-04-05 13:58:56 -04:00
Solomon Peachy
1fadf1cd89 Disable nightly Norweigan and Czech voice generation
They are hovering at 61% and 73% respectively.  Our current cutoff
is 75%, and that should arguably be raied to at least 80%.

If anyone complains we can politely request they help with the
translation.

Change-Id: I39fd0a3b40311669c2a644de8c359a29ae066e75
2025-04-04 11:31:38 -04:00
Christian Soffke
66a18f7c30 pictureflow: fix greylib crash when album not found
Change-Id: Ic9c532234613c805d851710b960db0c91d1049ab
2025-04-03 15:35:27 -04:00
Pavel Rzehák
4d616be48b Rockbox Utility: updated Czech translation
translated two missing strings

Change-Id: Ib1f938c4b103d37c9c4b78767a4b22935748fa09
2025-04-03 14:16:23 -04:00
Solomon Peachy
d835a294ef Minor mechanical correction to the Russian translation
(Now at 100%)

Change-Id: I236dd37ab9d4b88f7a42314ae22b8540aaf56b1d
2025-04-03 11:03:26 -04:00
Solomon Peachy
5c3976c521 FS#13590: Updated Russian Translation (Fedor Pomazkov)
Change-Id: Ib67c4107b793d843b2fa4afd616461aeb1c76fac
2025-04-03 10:38:29 -04:00
Solomon Peachy
87e9c3991a rbutil: Update tarball scripts
Change-Id: I33a42fc2535ddead1780bbceb2c4c048a3aba8de
2025-04-02 08:21:38 -04:00
William Wilgus
25c345feac Manual add theme list tags
these have been around since around 2010 add them to the manual

Change-Id: I4f28c4c8ef837f54e77f55c835355cde8991cdb2
2025-04-02 07:32:02 -04:00
Solomon Peachy
4347d41076 CREDITS: legal name change
Change-Id: Iec092f3e8d7f8dba165ff0a99d996d7076f6baa2
2025-04-01 20:02:08 -04:00
Solomon Peachy
4bdbd0785b tools: Update release script so that it generates 7z archives
Change-Id: Icc41a54af590d71a97baff16ad1c0124b26b0d0c
2025-04-01 17:26:08 -04:00
Solomon Peachy
15e79a0816 FS#13587: Updated Latvian translation (Renalds Belaks)
Change-Id: Ic086db0b8ce9341835e1e24aa6c9fa2a9bb594ba
2025-04-01 08:37:31 -04:00
Roman Artiukhin
ed40c5a036 metadata: opus, vorbis, speex: Don't fill metadata buffer with album art and cuesheet
Fixup for 0847bcc1. Fixes FS#13586

Change-Id: I2af63747266bf0dea85812354caadca432dfcd32
2025-04-01 08:33:16 -04:00
Solomon Peachy
7d51b14cca tools: Alter the 'voice_url' in the [release] build-info
Now it's consistent with everything else.  All old files have been renamed.

Change-Id: I5c6974fb30cc90a7aedb732d8f970800c7de74c4
2025-04-01 07:35:12 -04:00
Solomon Peachy
0b214badc8 builds: 4.0 is out, make it official
Change-Id: I61dc303c4d68a0d9cf559ecff2373f1f09fef01e
2025-04-01 06:32:12 -04:00
Solomon Peachy
e094c599fa partial revert of previous commit, broke DX50/DX90 builds
Change-Id: I728034bf5c8c6dc53e791421afa7eb700495ab55
2025-03-30 17:08:09 -04:00
Solomon Peachy
4ff880a15c build: make sure rockbox-info.txt is included in zip builds
Fixes regression in 25f3ba5db4

Change-Id: I170618e3d14d48a154c67555345b0ecaa35d3360
2025-03-30 16:52:46 -04:00
Solomon Peachy
e4cf213d5d build-info: source code should be called 'rockbox-source-VERSION.7z'
Change-Id: Ib2acd37ce48857032628b1288df69a24391e5b3c
2025-03-30 14:35:47 -04:00
Solomon Peachy
9c50b69e0a FS#13581: Update Latvian translation (Renalds Belaks)
Change-Id: I9bca93350f019435761be074c8d1e1d30ecf75be
2025-03-30 10:23:11 -04:00
Solomon Peachy
25f3ba5db4 build: instead of 'ifdef NODEPS' use 'ifneq ($NODEPS,)'
This way we can set NODEPS from within the makefiles, allowing
the fontzip to be buildable by itself again

Change-Id: Icc4022fef3805b39a97b7bc5d42719ee6522afd1
2025-03-29 14:33:20 -04:00
Solomon Peachy
2d4def6fd9 manual: fix red in 7967c050df
The new announce_status plugin manual had some errors:

 * unescaped '_'
 * spurious trailing '}'

Also made the time/date stuff gated behind the 'rtc' option, as
they won't function otherwise.

Change-Id: Iddd49472d4961ed167678ec835e777320570024a
2025-03-29 07:58:56 -04:00
William Wilgus
7967c050df Manuals for Multiboot_Select, Open_plugins, Announce_Status
Change-Id: Ic9026bc574651a2297da79a22b9c76a8dbd8d6d3
2025-03-29 02:37:12 -04:00
Roman Artiukhin
059df3782f unicode: Explicitly set INT_MAX for unlimited utf8_size
-1 could be supplied unintentionally from user code when utf8_size is computable value

Fixup for 004304dc and 1f548f74

Change-Id: I93008ea289bdb134f051975c25b0db9d0e64b823
2025-03-28 15:05:13 -04:00
Roman Artiukhin
44e97b9ef6 plugins: imageviewer: Don't reload the image on the prev/next action if it's a single image.
Fixes image reloading when only a single image file is present among other files.

Change-Id: I6400af556d866ac96a3532712563bf01cbd29f68
2025-03-28 10:47:00 -05:00
Roman Artiukhin
849e8abe8d metadata: opus, vorbis, speex: Fix 0 is supplied as base64 char when parsing album art metadata
For some reason it caused a crash on asan enabled simulator builds but worked fine otherwise.

Fixup for 0847bcc1 and ac8714dd

Change-Id: Iff1c2779d5fa6889c743cdccd8e1feaf55684394
2025-03-28 10:13:16 -04:00
Solomon Peachy
b6f8f31b7c rbutil: Fall back from 'development' to 'daily' for all non-firmware artifacts
Before we only fell back for manuals and fonts, whereas
we also needed to fall back for source and voices.  Given that
dev builds only produce the actual binaries, just fall back for
everything else.

Change-Id: Ibd84a942d380f69c86ca2243cb2c192de7efd047
2025-03-28 08:29:08 -04:00
William Wilgus
7d50749bc0 add cabbie bitmap for 128 x 96 greyscale screen
Change-Id: Iabcde4c9c84f302377f3a76eeb1860272079e7a6
2025-03-27 22:25:56 -04:00
Solomon Peachy
7fe0a95dd3 build: Add additional archive types to 'make clean' target
Change-Id: I6dd27ba8a793367b9c1095082238629a53081fb4
2025-03-27 21:34:51 -04:00
Solomon Peachy
70dc293a60 build: drop 'bzip2' target, add 'full7zip', 'fullgzip', and 'fullxz'
The net result is _simpler_ as it uses the same rules for creating
the subvariations.

Change-Id: I8618a0beb2e1ada156468df3d2b45ff53d49c8c7
2025-03-27 21:17:48 -04:00
William Wilgus
61ae5e691e Gogear Sa9200 add keymap definitions
Change-Id: I731844a532bc119c5499c53cd6b3d202459a2683
2025-03-27 14:34:12 -04:00
Solomon Peachy
1959fade86 tools: More fixes for relese voice script.
...Was broken for piper-based models

Change-Id: Ib1df918ecde69bff6b048f8dad7451399b93d05d
2025-03-27 07:15:36 -04:00
Solomon Peachy
c3b8fcae33 tools: Fixes for release scripts
Change-Id: I2d2184baa5267aec64c48eee13580085feb0d4cb
2025-03-26 21:28:54 -04:00
Solomon Peachy
6c5c95e59d FS#9906: Correct SWIDTH, DWIDTH for ETHIOPIC SYLLABLE NO in 15-Adobe-Helvetica (Maurus Cuelenaere)
Change-Id: Ia6610c4e2dbb1ea10d3fb4bc520ec9544e5353b4
2025-03-25 21:25:21 -04:00
Solomon Peachy
68c3fbe263 erosq: Rework pluginlib mappings a little
prev/next -> PLA_LEFT/RIGHT
volup/dn  -> PLA_UP/DN
scrollwheel -> PLA_SCROLL_*

This will fix bubbles and any other plugin that is explicitly expecting
PLA_SCROLL_* events.

Change-Id: I9fd4c2e6bdd13e147b20e0f0f600e7e0b9a82842
2025-03-25 17:34:56 -04:00
Christian Soffke
2b30a9fed8 sb_create_from_settings: Fix crash when ui viewport setting malformed
The 'Purple_Glow_V3' theme uses the following
'UI viewport' setting which is missing a comma
after the viewport height:

ui viewport: 0,0,271,212-,-,-

The setting is actually ignored when loading this theme,
since a UI viewport is already defined in the supplied
SBS file.

Rockbox will crash, though, when and if the next theme
that is loaded resets the SBS by setting it to "-", but
doesn't adjust the UI viewport setting at the same time.

To fix, use default UI viewport when encountering fewer
parameters than expected for the UI viewport setting.

Change-Id: I2648565ac59369ce8ab18d8e84b7fa69ad767f25
2025-03-25 00:02:43 -04:00