Solomon Peachy
a3398a2143
plugins: Fix the builds for targets lacking HAVE_BACKLIGHT
...
Change-Id: Ifdb1501834b7ea63ca6f731bbd6414305d7e0001
2020-07-24 18:17:19 -04:00
Solomon Peachy
0c4f89370d
[2/4] get rid of HAVE_LCD_CHARCELLS
...
HAVE_LCD_BITMAP is now redundant.
lcd_bitmap is always-on in features.txt so manual and lang strings
don't have to change
Change-Id: I08eeb20de48099ffc2dc23782711af368c2ec794
2020-07-24 21:20:13 +00:00
Solomon Peachy
092c340a20
[1/4] Remove SH support and all archos targets
...
This removes all code specific to SH targets
Change-Id: I7980523785d2596e65c06430f4638eec74a06061
2020-07-24 21:20:13 +00:00
Teruaki Kawashima
01313d5039
* Rename backlight_force_on to backlight_ignore_timeout to make it clear what the function does.
...
* Add backlight_force_on() which forces to turn on backlight even when the setting is set to Off. use this in lamp.
No functional change except lamp.
See aslo FS#9883.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29128 a1c6a512-1295-4272-9138-f99709370657
2011-01-24 12:29:16 +00:00
Rafaël Carré
ab9fd1840b
plugins: use lcd_putsf/lcd_putsxyf
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27926 a1c6a512-1295-4272-9138-f99709370657
2010-08-28 21:46:45 +00:00
Thomas Martitz
cae4ae2c71
Second try: Introduce plugin_crt0.c that every plugin links.
...
It handles exit() properly, calling the handler also when the plugin returns
normally (also make exit() more standard compliant while at it).
It also holds PLUGIN_HEADER, so that it doesn't need to be in each plugin anymore.
To work better together with callbacks passed to rb->default_event_handler_ex() introduce exit_on_usb() which will call the exit handler before showing the usb screen and exit() after it.
In most cases rb->default_event_handler_ex() was passed a callback which was manually called at all other return points. This can now be done via atexit().
In future plugin_crt0.c could also handle clearing bss, initializing iram and more.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27873 a1c6a512-1295-4272-9138-f99709370657
2010-08-24 14:30:46 +00:00
Thomas Martitz
93cb949372
Revert "Introduce plugin_crt0.c that every plugin links."
...
Too much errors and no time to fix them now.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27863 a1c6a512-1295-4272-9138-f99709370657
2010-08-23 17:12:26 +00:00
Thomas Martitz
abdc5935be
Introduce plugin_crt0.c that every plugin links.
...
It handles exit() properly, calling the handler also when the plugin returns
normally (also it makes exit() more standard compliant while at it).
It also holds PLUGIN_HEADER, so that it doesn't need to be in each plugin anymore.
To work better together with callbacks passed to rb->default_event_handler_ex introduce exit_on_usb() which will call the exit handler before showing the usb screen and exit() after it.
In most cases it was passed a callback which was manually called at all other return points. This can now be done via atexit().
In future plugin_crt0.c could also handle clearing bss, initializing iram and more.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27862 a1c6a512-1295-4272-9138-f99709370657
2010-08-23 16:56:49 +00:00
Andrew Mahone
23d9812273
loader-initialized global plugin API:
...
struct plugin_api *rb is declared in PLUGIN_HEADER, and pointed to by
__header.api
the loader uses this pointer to initialize rb before calling entry_point
entry_point is no longer passed a pointer to the plugin API
all plugins, and pluginlib functions, are modified to refer to the
global rb
pluginlib functions which only served to copy the API pointer are
removed
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19776 a1c6a512-1295-4272-9138-f99709370657
2009-01-16 10:34:40 +00:00
Jonathan Gordon
23825fdb43
revert r19638 which was just bad...
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19720 a1c6a512-1295-4272-9138-f99709370657
2009-01-08 12:32:35 +00:00
Jonathan Gordon
43ffbdb5ab
FS#9742 - hopefully the last of these
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19638 a1c6a512-1295-4272-9138-f99709370657
2009-01-02 03:30:05 +00:00
Michael Sevakis
6340a4c9ed
Some plugins need to yield under heavy user input especially with a scrollwheel.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19416 a1c6a512-1295-4272-9138-f99709370657
2008-12-13 07:36:44 +00:00
Björn Stenberg
c6b3d38a15
New makefile solution: A single invocation of 'make' to build the entire tree. Fully controlled dependencies give faster and more correct recompiles.
...
Many #include lines adjusted to conform to the new standards.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19146 a1c6a512-1295-4272-9138-f99709370657
2008-11-20 11:27:31 +00:00
Daniel Stenberg
2acc0ac542
Updated our source code header to explicitly mention that we are GPL v2 or
...
later. We still need to hunt down snippets used that are not. 1324 modified
files...
http://www.rockbox.org/mail/archive/rockbox-dev-archive-2008-06/0060.shtml
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17847 a1c6a512-1295-4272-9138-f99709370657
2008-06-28 18:10:04 +00:00
Jonathan Gordon
5f796087b0
fix yellow
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17592 a1c6a512-1295-4272-9138-f99709370657
2008-05-21 07:08:27 +00:00
Bertrik Sikken
29c45a66ce
Make local functions static and rename STOP_AUTOSCROLL to lowercase.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17588 a1c6a512-1295-4272-9138-f99709370657
2008-05-20 20:55:14 +00:00
Steve Bavin
6526577818
Plugin parameters should be const.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17492 a1c6a512-1295-4272-9138-f99709370657
2008-05-13 09:57:56 +00:00
Jonathan Gordon
c03002b256
use the list context in credits which has to be defined for every target
...
(fixes the bug where you cant exit credits on the player)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15118 a1c6a512-1295-4272-9138-f99709370657
2007-10-15 08:25:29 +00:00
Peter D'Hoye
cc4541f086
Credits: better counter when scrolling manually
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14629 a1c6a512-1295-4272-9138-f99709370657
2007-09-06 22:32:46 +00:00
Peter D'Hoye
ec5b48dfe3
Make the credits scrolling changes a bit more user friendly, use actions and some code cleanup
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14590 a1c6a512-1295-4272-9138-f99709370657
2007-09-03 00:36:20 +00:00
Peter D'Hoye
f2178fbdee
the last oops?
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14547 a1c6a512-1295-4272-9138-f99709370657
2007-08-30 20:25:19 +00:00
Peter D'Hoye
4a70f49255
fix yellow :)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14546 a1c6a512-1295-4272-9138-f99709370657
2007-08-30 20:17:49 +00:00
Peter D'Hoye
432a476b95
fix red
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14545 a1c6a512-1295-4272-9138-f99709370657
2007-08-30 20:15:55 +00:00
Peter D'Hoye
4ca83e347a
Accept FS #6854 by Sylvain Fourmanoit: allow navigation when viewing credits and do not exit immediately when pressing a key.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14544 a1c6a512-1295-4272-9138-f99709370657
2007-08-30 19:55:54 +00:00
Peter D'Hoye
767c0ec589
Pass plugin api pointer to funtion directly, fixes crashes when doing incremental builds. Fix incorrect backlight changes in rockblox introduced recently.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14373 a1c6a512-1295-4272-9138-f99709370657
2007-08-16 23:01:18 +00:00
Peter D'Hoye
cb53e3cef4
Bring mpegplayer backlight fix to the other plugins, this also fixes some wrongly ifdef'd backlight calls.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14352 a1c6a512-1295-4272-9138-f99709370657
2007-08-15 12:42:09 +00:00
Jens Arnold
b701322fea
Rockbox compiles and boots now on the 2nd gen, but doesn't work properly yet.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14021 a1c6a512-1295-4272-9138-f99709370657
2007-07-27 09:57:27 +00:00
Jens Arnold
f9b90e9103
Now charcell displays require lcd_update() for updating the main lcd content like bitmap displays.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13050 a1c6a512-1295-4272-9138-f99709370657
2007-04-06 22:55:00 +00:00
Dave Chapman
6c6b2507b1
Correct a comment
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12767 a1c6a512-1295-4272-9138-f99709370657
2007-03-14 21:54:18 +00:00
Linus Nielsen Feltzing
e76981c912
The code police strikes back
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12765 a1c6a512-1295-4272-9138-f99709370657
2007-03-14 17:27:21 +00:00
Steve Bavin
7fe66302ad
Always restore backlight timer when user exits Version screen - fix FS#6811
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12764 a1c6a512-1295-4272-9138-f99709370657
2007-03-14 17:19:27 +00:00
Marcoen Hirschberg
96e7c578f4
fix scroll speed on the gigabeat
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10501 a1c6a512-1295-4272-9138-f99709370657
2006-08-09 13:25:19 +00:00
Zakk Roberts
70a33127db
Fix Player builds and extend the delay between the last name appearing and the plugin exiting from 1 second to 2.5 seconds.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10013 a1c6a512-1295-4272-9138-f99709370657
2006-05-29 10:46:41 +00:00
Zakk Roberts
e6f12e987d
Entirely rewritten credits roll for bitmap LCDs, loosely based on my Clock credits roll. Text flies in from left, a line at a time, until the LCD is full, and then each line flies out and a new line flies in, until the list of names is exhausted. Significantly improves readability on H1x0, and probably on all other models as well.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10012 a1c6a512-1295-4272-9138-f99709370657
2006-05-29 10:21:22 +00:00
Jens Arnold
93ff94949c
Player: Credits plugin correctly working with UTF-8. Patch by Marcoen Hirschberg.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9862 a1c6a512-1295-4272-9138-f99709370657
2006-05-02 21:44:04 +00:00
Zakk Roberts
dd521146b7
Display logo for 3 seconds instead of 2 before rolling the credits - makes it easier to read the build date/time.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9145 a1c6a512-1295-4272-9138-f99709370657
2006-03-21 05:45:37 +00:00
Jens Arnold
a36b1d4083
New plugin loader. Solves the crashes introduced with the .bss changes while keeping the small binary size. The model & api version check is now part of the plugin loader. Codecs are not yet adapted, but the old method still works for them. Simulator plugins are not (yet) version-checked. API version numbering restarted, as this is an all-new system. Uses the target ID from configure, so don't change that too often.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8349 a1c6a512-1295-4272-9138-f99709370657
2006-01-15 18:20:18 +00:00
Daniel Stenberg
72f423570f
numerous gcc4 (un)signed warnings killed
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8121 a1c6a512-1295-4272-9138-f99709370657
2005-12-02 08:08:54 +00:00
Daniel Stenberg
747bba530c
Credit scroll speed as sine wave in an attempt to beome more readable on the
...
blurry iriver LCD.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7536 a1c6a512-1295-4272-9138-f99709370657
2005-09-22 10:56:42 +00:00
Linus Nielsen Feltzing
60895bc107
Patch #1272052 by Henrik Backe - Move credits to a plugin
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7450 a1c6a512-1295-4272-9138-f99709370657
2005-09-02 05:39:09 +00:00