Commit Graph

341 Commits

Author SHA1 Message Date
Aidan MacDonald 4c60bc9e68 New port: Shanling Q1 native
- Audio playback works
- Touchscreen and buttons work
- Bootloader works and is capable of dual boot
- Plugins are working
- Cabbiev2 theme has been ported
- Stable for general usage

Thanks to Marc Aarts for porting Cabbiev2 and plugin bitmaps.

There's a few minor known issues:

- Bootloader must be installed manually using 'usbboot' as there is
  no support in jztool yet.

- Keymaps may be lacking, need further testing and feedback.

- Some plugins may not be fully adapted to the screen size and could
  benefit from further tweaking.

- LCD shows abnormal effects under some circumstances: for example,
  after viewing a mostly black screen an afterimage appears briefly
  when going back to a brightly-lit screen. Sudden power-off without
  proper shutdown of the backlight causes a "dissolving" effect.

- CW2015 battery reporting driver is buggy, and disabled for now.
  Battery reporting is currently voltage-based using the AXP192.

Change-Id: I635e83f02a880192c5a82cb0861ad3a61c137c3a
2021-07-13 22:01:33 +01:00
James D. Smith 5388607968 [Cabbiev2] If the 'Artist' tag is empty read the 'Album Artist' tag.
Change-Id: Ic8b90cd2c833a08b57ed0157f960c9471cc5a51b
2021-05-20 18:52:48 -06:00
Solomon Peachy 2a471e288c New port: AIGO EROS Q / EROS K
The Q and K have a slightly different case, but the hardware under the
shell is completely identical.

These models are rebadged versions:

 * Hifiwalker H2   (== Q)
 * AGPTek H3       (== K)
 * Surfans F20     (== K)

Other notes:

  * Significant improvements in the shared Hiby-platform launcher/loader
    * SD card can theoretically be hot-swapped now
    * Support external USB mass storage!
  * Some consolidation of Hiby-platform targets
  * Some consolidation of plugin keymaps

Todo/known issues:

 * Keymaps need to be gone over properly
 * Convert to HAVE_SCROLLWHEEL?

Change-Id: I5a8a4f22c38a5b69392ca7c0a8ad8c4e07d9523c
2020-10-11 16:37:17 -04:00
Solomon Peachy d51dfbf2c3 Include all cabbiev2/font resources for 240x320 32bpp targets
Change-Id: I51d78734f2589b91ecedc1d58e2851ad9fc8a6cd
2020-08-06 13:43:18 -04:00
Marcin Bukat d55680993d Agptek Rocker: Initial commit
Change-Id: I26b51106c7b1c36a603fba6d521e917d79b5a95b
2018-06-12 10:31:14 +02:00
Thomas Martitz a1842c04f9 lcd-24bit: Introduce a 24-bit mid-level LCD driver
With LCD driver all calculation will be performed on RGB888 and the hardware/OS
can display from our 24bit framebuffer.

It is not yet as performance optimized as the existing drivers but should be
good enough.The vast number of small changes is due to the fact that
fb_data can be a struct type now, while most of the code expected a scalar type.

lcd-as-memframe ASM code does not work with 24bit currently so the with 24bit
it enforces the generic C code.

All plugins are ported over. Except for rockpaint. It uses so much memory that
it wouldnt fit into the 512k plugin buffer anymore (patches welcome).

Change-Id: Ibb1964545028ce0d8ff9833ccc3ab66be3ee0754
2014-06-21 00:15:53 +02:00
Szymon Dziok f8d367be94 Add Cabbiev2 port for 128x96x16 targets (Samsung YH-820), made by me.
Change-Id: I21c408e8c25c42a1e6c3d3e44c0999ae85d73154
2014-03-27 19:50:48 +00:00
Szymon Dziok 679d1e799c fix position of the repeat icon in cabbiev2.128x128x16.wps.
Change-Id: Ie159d19ab5e185256fe9fff0ff4986a27cf6886d
2014-03-27 19:50:48 +00:00
Thomas Martitz 05a67d021c Touchscreen: Show a line separator in lists.
This patch adds a configurable line separator between list items, very
similar to lists in Android. Additionally, below the list item there is a
thicker line. It can be disabled in the settings. Its color can
be configured as well.

Remote and monochrome displays are explicitly unsupported. If there is desire
this can be changed but it doesn't seem useful to me.

Change-Id: I005313b0d8f5ecd15864bf20e66ea4e3390d8b7d
2014-03-03 15:14:16 +01:00
Thomas Martitz 20e114c1a0 wpsbuild: The setting strings can now contain an additional feature constraint.
The setting strings are now of the form setting[.resolution[&feature]]
(resolution can be a regex, .+ to match all resultions). wpsbuild.pl will
check against features.txt to see if the target meets it.

This can be used, for example, to add/override default settings for
touchscreen devices.

Change-Id: I2eafa02f10b362a8e7de8e1f3a53115e70d28084
2014-03-03 15:14:15 +01:00
Alex Parker 761975ef50 Slight change to line positioning in 128x128x16 Cabbie
Change-Id: Iaa7ce5bc2702854da661a77069c74637a64e4be7
2014-02-03 17:43:30 +00:00
Thomas Martitz 80aac924e8 wpsbuild: Call gcc without having to create a temp file.
Change-Id: I7adc48209fd3050243770137df2022c617c68dc8
Reviewed-on: http://gerrit.rockbox.org/721
Reviewed-by: Thomas Martitz <kugel@rockbox.org>
2014-01-15 13:40:34 +01:00
Szymon Dziok 621d74e5f9 Fix text position in the cabbie (case without AA) and remove unnecessary scrolling.
Change-Id: I3f065446dc1bb937d1af3d6d1bbdac02d26cae5c
2014-01-13 21:46:57 +01:00
Szymon Dziok 17f265df1f Fix cabbie WPS for black&white targets (m:robe 100)
Change-Id: I640893a5f1e248c86b5e928e85cce854b52ca364
2013-12-17 21:35:05 +01:00
Hayden Pearce 3c92c935fe cabbiev2: fix a snafu in cabbiev2.240x320x16.wps
an incorrect value caused the shuffle icon to not display the correct status while true by way of pushing the image to be displayed far from the bounds of its viewport.

Change-Id: I2bd5db05b053952306d62f9cbd0d13d720141e58
Reviewed-on: http://gerrit.rockbox.org/517
Reviewed-by: Thomas Martitz <kugel@rockbox.org>
2013-07-15 23:38:40 +02:00
Jonathan Gordon f551d14bdd fix typo
Change-Id: I52270ce86e506df4fe51e8b4cb3b7e066611716e
2012-12-04 18:49:29 +11:00
Hayden Pearce 6f709d2333 Update /rockbox/wps/AUTHORS and theme headers to provide correct attribution
Add a number of missing collaborators to the /rockbox/wps/AUTHORS file and create
a new header to share between the .fms, .sbs, and .wps files in the /rockbox/wps/
directory. No functional changes made, purely cosmetic.

Change-Id: Id4b22d438e340da4dfc18ec8bf0e40088bdc606e
Reviewed-on: http://gerrit.rockbox.org/368
Reviewed-by: Jonathan Gordon <rockbox@jdgordon.info>
2012-12-04 07:54:26 +01:00
Nils Wallménius ab5879c5ea wpsbuild: fix copying of remote font
Change-Id: I6e6b94d077c106555eed548c7a50c8a22e0ee839
Reviewed-on: http://gerrit.rockbox.org/331
Reviewed-by: Thomas Martitz <kugel@rockbox.org>
2012-10-12 18:40:35 +02:00
Alex Mayer 93023002d6 Make Cabbiev2 enable icons when selected
adds 'show icons: on' to cabbiev2.cfg file.
when you switch theme away from cabbiev2 to a theme
with 'show icons: off' then switch back to cabbiev2
the icons are still off which doesnt mimic the default
settings presented by rockbox.

Change-Id: Iee051c687a9a6843fece96a2a16280916b1d2599
Reviewed-on: http://gerrit.rockbox.org/325
Reviewed-by: Dominik Riebeling <Dominik.Riebeling@gmail.com>
Reviewed-by: Thomas Martitz <kugel@rockbox.org>
2012-10-06 22:59:20 +02:00
Marcin Bukat 9f13f881b3 WPSLIST: fix default font for 400x240x16 target
Change-Id: I70dbab7e52311f031bf1f353cff2f8e8245b3a47
2012-07-10 18:08:58 +02:00
Marcin Bukat 93c462f9d5 cabbiev2 for rk27xx generic design target
Change-Id: I2052869b14125b90e8202e81e4e8391376e9c341
2012-07-09 20:30:43 +02:00
Marcin Bukat 3a58307c7b WPSLIST: add backdrop and cabbiev2 fms for 128x128x2
Change-Id: I671fed88cb2f963168f6bd6eb65b91a26eede638
2012-07-09 20:30:43 +02:00
Marcin Bukat 09fbe7c6b3 Correct rds viewport placement in cabbiev2 fms 160x128x2
Change-Id: I15d59d16f256d35c294ffefe80aaf98134bc3ade
2012-07-09 20:30:43 +02:00
Marcin Bukat d0ef0671d6 cabbiev2 fms for 128x128x2 targets
Change-Id: Ic269bd5bbc04d1386152f7ac3fb330f504fd4d46
2012-07-09 20:30:43 +02:00
Jonathan Gordon d336eb30f8 skin_engine: Automatically create touch regions for skin bars
skin bars now automatically create the touch region the same size
as the bar on touchscreen targets. This means touches will
magically "just work" for reveresed bars (rtl or otherwise).

~5% padding is added on all 4 sides of the region rectangle but
this may need to be tweaked.

Please consider the 'progressbar' and 'volume' touchregion actions
to be deprecated.

Kudos to my new wife for figuring out the bleedingly obvious way to
do this!

Change-Id: I997a7bcaa70fce9885808aae27953c7676e9c2ff
2012-07-05 11:15:16 +10:00
Jonathan Gordon 41fb990720 Fix the classic_statusbar sbs' to actually work
Change-Id: I8573903b879cd451d7b0d6033dd0eca4cc86bc5a
2012-06-26 10:17:06 +10:00
Marcin Bukat 5785cfb741 Add fms to cabbiev2 by default
Currently we have only fms for 160x128x2 and all others will
fallback to built in one.

Change-Id: I43efa2795e1ab62185e2e25b6c8c4979c87c4299
2012-06-25 22:07:43 +02:00
Thomas Martitz bc7ff53eab wpsbuild.pl: Fix FS#12706 - paths for backdrops and icons were not properly constructed.
Change-Id: I90b92241501f61e6b1de5305ff6482a9ddbdf722
2012-06-25 08:54:21 +02:00
Marcin Bukat cd1b6a1183 Fix cabbiev2 on iaudio x5 remote
Change-Id: I00c597ac5ac40865f943b6c2f488196727bad13c
2012-06-17 15:36:45 +02:00
Thomas Martitz ba5802ed88 WPSLIST: Add some more forgotten wps entries.
Fixes cabbiev2 for clip/clip+ (FS#12698) and others.

Change-Id: I1ff71db145ac9662551e50029a605776abb5af36
2012-06-15 11:08:05 +02:00
Akio Idehara 3254fb72c6 Bring back iAudio M3 cabbiev2 support
This patch brings back iAudio M3 cabbiev2 (128x96x2) support again.

Change-Id: Ibb9ccc6f0d0acde5b99e2c41e08da3999129f817
Reviewed-on: http://gerrit.rockbox.org/274
Reviewed-by: Thomas Martitz <kugel@rockbox.org>
2012-06-15 10:57:35 +02:00
Thomas Martitz 0cef275ab7 wpsbuild.pl: Remove superflous debug statement.
Change-Id: Ic32a6737053ca98d9db479488125b2c6bbd13384
2012-06-10 21:45:34 +02:00
Thomas Martitz 66b6fdbb73 wpsbuild: Rewrite to fix various issues and support .fms
wpsbuild.pl is enhanced to produce fallback themes that were previously
hardcoded in buildzip.pl. It also recognizes resolution strings as
regular expressions now so you can specify resolution dependant settings
as <setting>.<regex>: <value> (needed to support single themes on multiple
resolutions). The WPSBUILD syntax completely changed as
well and it includes the fallback themes as well. Ultimately wpsbuild is
also able to install .fms files.

Change-Id: Idf5994f17b9750983d7bc3ef583540a8cdae1dde
2012-06-10 21:20:36 +02:00
Thomas Martitz 300ff4c952 cabbiev2: Add logo.xcf to image sources.
logo.xcf contains the grey logo found on many main backdrops.

Change-Id: I532ff1f71baabfe8aa9cfb23aac9c16e3c5dcc14
2012-06-10 20:34:28 +02:00
Marcin Bukat c029c77796 fix fms backdrop filename
Change-Id: I78468cb720a0c8df222b32d685ae1d919e1a8f7e
2012-05-20 12:15:36 +02:00
Bertrik Sikken cc0c6744fa Use 8x8 icons for clip zip cabbiev2
Change-Id: Ic790ea0042314fdb4b1e13954e3f149a3b7c993f
Reviewed-on: http://gerrit.rockbox.org/198
Reviewed-by: Thomas Martitz <kugel@rockbox.org>
2012-05-20 12:02:04 +02:00
Bertrik Sikken d206afbe6b FS#12390 - Sansa Clip Zip Cabbiev2 Port by Stephen Carroll
Change-Id: I49ce0bfdc228bed55d47b5e743a7fa87ccd4da8a
Reviewed-on: http://gerrit.rockbox.org/197
Reviewed-by: Jonathan Gordon <rockbox@jdgordon.info>
Reviewed-by: Thomas Martitz <kugel@rockbox.org>
2012-05-20 12:01:41 +02:00
Marcin Bukat 143d2b5bac Cabbiev2 .fms for 160x128x2
Change-Id: Iceb5dc4c7029d0f2bb5cc96b4cd0058b27f7b58e
2012-05-20 11:23:31 +02:00
Jonathan Gordon 34031cba5b skin_engine: Clean up %x() handling - beware theme issues
Internally remove some hacks around how %x() is handled.
%x() inside the default viewport will no longer work if
other viewports are used, so if you are using viewports and
%x() make sure it is in a viewport!

Change-Id: I8ecab805d55fc0f8476ff0516cba38e23400aa20
2012-02-28 23:51:01 +11:00
Thomas Martitz b907f2fd23 lcd_color/cabbiev2: New iconset in multiple sizes
The new iconset features transparency which can be more easier generated
from svgs and looks better. For for bigger displays there are new sizes.

The bmps are the generated from the SVGs added to the tree and
create-icons-from-tango.pl is updated to enable easy generation.

rockbox-clef.svg is changed to have a bit more border.

NOTE: Icons for greyscale are unchanged. Someone needs to update them, I don't know how to do it.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31059 a1c6a512-1295-4272-9138-f99709370657
2011-11-26 16:01:11 +00:00
Thomas Martitz 69f4245d9d Cabbiev2/RaaA: Add nice shadow to the icons on the popup in the WPS.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31058 a1c6a512-1295-4272-9138-f99709370657
2011-11-26 14:47:41 +00:00
Thomas Martitz 2e945b5c6a Cabbiev2/RaaA: Update progressbar images (using transparency).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31057 a1c6a512-1295-4272-9138-f99709370657
2011-11-26 14:42:13 +00:00
Thomas Martitz f8578c089a Cabbiev2/RaaA: Add volume slider pop to the WPS.
It's as big as the usual popup and makes it easier to control the volume. Also makes our fine-grained volume changes more visible.
popup.xcf is updated to contain the volume layers.

Idea and some skin code taken from FS#12254.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31056 a1c6a512-1295-4272-9138-f99709370657
2011-11-26 14:34:04 +00:00
Thomas Martitz 65c46e8d77 Cabbiev2/RaaA: r30298 forgot about 480x800. Fix pause, ffwd and rewind touch actions in the WPS.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31053 a1c6a512-1295-4272-9138-f99709370657
2011-11-25 19:21:51 +00:00
Thomas Martitz c01ad7f333 Cabbiev2/RaaA: Improved popup icons for the WPS, featurung real shadows.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31052 a1c6a512-1295-4272-9138-f99709370657
2011-11-25 19:12:08 +00:00
Jonathan Gordon a7d8dd41b5 Fix mistaken changes in r30219
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30298 a1c6a512-1295-4272-9138-f99709370657
2011-08-14 13:14:58 +00:00
Jonathan Gordon 969903b5fe Change the way the %Tl() (touch region) tag is done to remove dodgey 1-char settings.
check the manual...
%Tl(..., &action) -> %Tl(..., action, repeat_press)
%Tl(..., *action) -> %Tl(..., action, long_press)
%Tl(..., !action) -> %Tl(..., action, reverse_bar)
and a new allow_while_lock to make the region fire when softlocked

these options must all be after the action name, but otherwise the order doesnt matter. And for the setting_inc/dec/set action the setting name must follow the action name, *then* the options

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30219 a1c6a512-1295-4272-9138-f99709370657
2011-07-28 12:53:22 +00:00
Dominik Riebeling f56e453f60 Remove all themes but Cabbiev2.
As discussed remove all other themes from svn since they are available through
the theme website so there is no need to ship them with every Rockbox download
/ installation.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30158 a1c6a512-1295-4272-9138-f99709370657
2011-07-18 19:25:34 +00:00
Alex Parker b1424fc257 Touchscreen WPS changes:
* Change play/pause button so that it shows the click action and not the current state. During ffwd/rew the ffwd/rew status is still shown.
 * Make ffwd/rew buttons always be shown on 480x800 and 320x480 targets. 240x400 needs further clean up first.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29398 a1c6a512-1295-4272-9138-f99709370657
2011-02-25 20:14:56 +00:00
Thomas Jarosch 7d4f3a7861 Add cabbie theme for 800x480
Theme was quickly ported by kugel from 480x800 theme.

Still has viewport bugs: Brings up the context menu
every time one touches the rew/ff buttons.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29253 a1c6a512-1295-4272-9138-f99709370657
2011-02-08 21:13:57 +00:00