Peter D'Hoye
df3281347d
Accept FS #7626 : allow viewing playlist files if no playlist is loaded
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14420 a1c6a512-1295-4272-9138-f99709370657
2007-08-21 23:50:26 +00:00
Nils Wallménius
b311367481
*** Lang v2 cleanup (FS#6574) ***
...
1) Introduces apps/features.txt that controls which strings are included
for each target based on defines.
2) .lng and .voice files are now target specific and the format versions
of both these file types have been bumped, which means that new voice
files are needed.
3) Use the 'features' mechanism to exclude strings for targets that
didn't use them.
4) Delete unused and deprecated and duplicated strings, sort strings in
english.lang
Some string IDs were changed so translations will be slightly worse than
before.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14198 a1c6a512-1295-4272-9138-f99709370657
2007-08-05 19:19:39 +00:00
Jonathan Gordon
88882a83d6
sync and commit FS#4954 - return any results found when aborting a playlist search
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14179 a1c6a512-1295-4272-9138-f99709370657
2007-08-04 09:36:47 +00:00
Jonathan Gordon
f7675a244b
remove the need for action_signalscreenchange().
...
Fixes problems with targets where the ACTION_STD_CANCEL event is a combo
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13956 a1c6a512-1295-4272-9138-f99709370657
2007-07-22 06:05:53 +00:00
Jonathan Gordon
52ba1c614d
Fix some naughty variable name reuse (hopefully correctly)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13269 a1c6a512-1295-4272-9138-f99709370657
2007-04-26 10:28:32 +00:00
Jonathan Gordon
3d44a20db7
Accept FS7078, try to show the last playlist if no audio is being played
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13268 a1c6a512-1295-4272-9138-f99709370657
2007-04-26 08:21:29 +00:00
Jonathan Gordon
70e2846241
oops, wrong return value
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13260 a1c6a512-1295-4272-9138-f99709370657
2007-04-25 12:17:16 +00:00
Jonathan Gordon
a2740d9edc
convert the playlist viewer menus to the newer API
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13259 a1c6a512-1295-4272-9138-f99709370657
2007-04-25 11:20:19 +00:00
Michael Sevakis
eb85f14f95
No more type punning where it's not funny.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13235 a1c6a512-1295-4272-9138-f99709370657
2007-04-21 19:20:20 +00:00
Michael Sevakis
8676dc25f5
Missed a couple. Hopefully fix all warnings.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13234 a1c6a512-1295-4272-9138-f99709370657
2007-04-21 19:07:15 +00:00
Michael Sevakis
26d242ae65
General housekeeping: Make plugin buffer functions take size_t * instead of int * to match the parameter type of the buffer functions called in the core. Get rid of unsafe int * <==> size_t * casting. Use ssize_t where int was used and size_t where unsigned int was used in the buffer calls to not alter signedness in the plugins. No API version change since it should only be an issue for 64-bit sim builds.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13233 a1c6a512-1295-4272-9138-f99709370657
2007-04-21 18:38:25 +00:00
Jonathan Gordon
36a2e30872
Move the inbuilt filetype info into filetypes.c and rename the defines.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13201 a1c6a512-1295-4272-9138-f99709370657
2007-04-18 13:03:01 +00:00
Jonathan Gordon
6a5cc0bd25
Customizable icons for all bitmap targets. (FS#7013)
...
http://www.rockbox.org/twiki/bin/view/Main/CustomIcons for info on format and how to load them
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13177 a1c6a512-1295-4272-9138-f99709370657
2007-04-16 09:14:36 +00:00
Peter D'Hoye
734278b7d1
Consistency fix: pressing play (on) button also takes you to the WPS just like elsewhere. Fixes FS #6743
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13135 a1c6a512-1295-4272-9138-f99709370657
2007-04-12 21:28:58 +00:00
Peter D'Hoye
b16137e10b
Make sure selected track of playlist viewer doesn't become bigger than number of tracks when deleting the last track. Fixes FS #6899
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13113 a1c6a512-1295-4272-9138-f99709370657
2007-04-11 22:39:12 +00:00
Jonathan Gordon
21b415df56
Give all menus using the old API a nice title and icons (except plugins)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13068 a1c6a512-1295-4272-9138-f99709370657
2007-04-08 05:52:47 +00:00
Jonathan Gordon
6cbf30d5c7
Give the playlist viewer a title (FS#6898)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13028 a1c6a512-1295-4272-9138-f99709370657
2007-04-05 04:13:02 +00:00
Jens Arnold
4d6374c923
Get rid of the 'center' parameter for splashes. There were only 2 of almost 500 splashes which were not centered.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12807 a1c6a512-1295-4272-9138-f99709370657
2007-03-16 21:56:08 +00:00
Jonathan Gordon
a1a4034b82
fix FS#6784
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12713 a1c6a512-1295-4272-9138-f99709370657
2007-03-11 01:09:25 +00:00
Nils Wallménius
87c20b7762
Remove useless define
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12463 a1c6a512-1295-4272-9138-f99709370657
2007-02-23 22:18:09 +00:00
Jonathan Gordon
ce584280ab
Remove the File Options menu from the playlist viewer, but put the
...
playlist catalog options in. Fixes FS#6577
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12283 a1c6a512-1295-4272-9138-f99709370657
2007-02-12 05:02:42 +00:00
Jens Arnold
2597a13497
Next round of static'ing and related fixes.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11836 a1c6a512-1295-4272-9138-f99709370657
2006-12-25 14:01:47 +00:00
Michael Sevakis
acc29d95be
SWCODEC/IRAM: Save voice IRAM when a plugin initializes its IRAM. Defines two macros for declaring and initializing IRAM. Plugins should use these instead. See mp3_encoder, doom, etc. for details. Further tweaks in buffer restoration after other use. Hiding of some interfaces that should only be used by buffer management.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11544 a1c6a512-1295-4272-9138-f99709370657
2006-11-18 02:18:29 +00:00
Jonathan Gordon
6a1161b634
dont allow the volume setting to wrap
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11445 a1c6a512-1295-4272-9138-f99709370657
2006-11-06 10:11:51 +00:00
Linus Nielsen Feltzing
224c0a13eb
Finally, the new button action system is here, thanks to Jonathan Gordon. Some button mappings have changed and other things may break. Comments should go to the forum, http://forums.rockbox.org/index.php?topic=5829.0 or the mailing list.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10582 a1c6a512-1295-4272-9138-f99709370657
2006-08-15 12:27:07 +00:00
Shachar Liberman
f53779d2f4
Committing FS#5182 - One button hold for Horizontal screen scrolling.
...
=>hold RIGHT or LEFT button on a GUI based list to scroll horizontally.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10545 a1c6a512-1295-4272-9138-f99709370657
2006-08-12 13:40:49 +00:00
Antoine Cellerier
59dc18dda0
FS#5784 - Strip extension from all filetypes in playlist viewer
...
Patch by Nils Wallménius
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10517 a1c6a512-1295-4272-9138-f99709370657
2006-08-10 21:08:44 +00:00
Kevin Ferrare
f77ac7a6a7
added support remote support for the id3 infos screen (had to slightly change the list engine to use it here as well), corrected a mistake in the french translation
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10175 a1c6a512-1295-4272-9138-f99709370657
2006-07-02 12:28:27 +00:00
Hardeep Sidhu
9a681dd700
Redraw list whenever playlist changes
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10116 a1c6a512-1295-4272-9138-f99709370657
2006-06-12 23:25:12 +00:00
Hardeep Sidhu
06605a92c0
Buffer margin was off by 1 causing corruption when page scrolling
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9953 a1c6a512-1295-4272-9138-f99709370657
2006-05-17 07:57:54 +00:00
Hardeep Sidhu
c7f304e1b9
Stop playback and exit viewer if last track in current playlist is removed
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9739 a1c6a512-1295-4272-9138-f99709370657
2006-04-20 07:30:28 +00:00
Zakk Roberts
34ad56ddfd
Fix unexitable playlist viewer menu for iPods and possibly other models.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9447 a1c6a512-1295-4272-9138-f99709370657
2006-04-03 04:13:26 +00:00
Tomas Salfischberger
4ec9dbdd18
For backlight_on() to work, you need backlight.h :)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8907 a1c6a512-1295-4272-9138-f99709370657
2006-03-05 00:16:34 +00:00
Tomas Salfischberger
c2e86cd0d9
Patch FS#4759 by Jonathan Gordon - searching in playlists.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8906 a1c6a512-1295-4272-9138-f99709370657
2006-03-04 23:53:09 +00:00
Hardeep Sidhu
0cca6caa8a
Currently playing playlist can now be overwritten. Save playlist screen defaults to this.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8641 a1c6a512-1295-4272-9138-f99709370657
2006-02-09 09:09:32 +00:00
Linus Nielsen Feltzing
2f56ee9d0f
Proper fix for the playlist viewer crash
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8359 a1c6a512-1295-4272-9138-f99709370657
2006-01-17 14:15:47 +00:00
Linus Nielsen Feltzing
0b8149fefb
Fixed a crash when wrapping the playlist viewer backwards, and made it always select the currently playing track when viewing the current playlist
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8358 a1c6a512-1295-4272-9138-f99709370657
2006-01-17 12:30:03 +00:00
Daniel Stenberg
f981ea93fb
kill gcc4 warnings
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8162 a1c6a512-1295-4272-9138-f99709370657
2005-12-05 22:44:42 +00:00
Hardeep Sidhu
3074394d24
If follow playlist is enabled, the playlist viewer should start at the current playing track. Minor code cleanup.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7997 a1c6a512-1295-4272-9138-f99709370657
2005-11-19 18:19:46 +00:00
Kevin Ferrare
15046f99b3
show/hide icons now works properly in playlist viewer
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7911 a1c6a512-1295-4272-9138-f99709370657
2005-11-16 17:23:49 +00:00
Kevin Ferrare
e991beed6d
replaced all the splash calls by gui_sync_splash, added some missing remote key in the playlist viewer
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7909 a1c6a512-1295-4272-9138-f99709370657
2005-11-16 15:12:15 +00:00
Kevin Ferrare
6a53c33a8b
fixed the warning and changed playlist max entries in buffer to 200 as it was before
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7902 a1c6a512-1295-4272-9138-f99709370657
2005-11-16 02:55:26 +00:00
Kevin Ferrare
8517ed8939
Multi screen support for playlist viewer, some fixes in other gui files
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7901 a1c6a512-1295-4272-9138-f99709370657
2005-11-16 02:12:25 +00:00
Miika Pekkarinen
c52f7f1b5e
iRiver: Fixed broken items skipping on playlist: Now skipping and
...
marking them as bad instead of deleting the entries from playlist.
Faster buffered track skipping and preventing glitches from previous
tracks (still something might occur though, please report them).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7647 a1c6a512-1295-4272-9138-f99709370657
2005-10-21 06:40:45 +00:00
Linus Nielsen Feltzing
6c2af7c2aa
On popular demand, the arrow cursor is reintroduced
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7438 a1c6a512-1295-4272-9138-f99709370657
2005-09-01 08:04:37 +00:00
Linus Nielsen Feltzing
f43216ff0b
Removed the line selector option, it is now always an inverse bar (except for the Player/Studio of course)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7423 a1c6a512-1295-4272-9138-f99709370657
2005-08-30 11:10:08 +00:00
Jens Arnold
6c00e38665
Icon code cleanup, optimisation & policeing. Removed unused icons. Applied uniform icon naming scheme.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7396 a1c6a512-1295-4272-9138-f99709370657
2005-08-24 00:09:42 +00:00
Jens Arnold
f894a4c269
4-shades greyscale graphics core for iriver H1x0. 4-grey rockbox logo and light grey background in splash() boxes. Simplified the splash() box creation as the new graphics core does clipping. Adapted screendump feature and added flexible preprocessing to construct the bmp header. Rockboy now uses 4-grey mode as well. 4-grey support for win32 simulator. Fixed win32 player sim to not use double bitmap conversion via a recorder-like framebuffer, and correctly display double-height text. X11 simulator temporarily adapted. The display won't be distorted, but it still shows b&w only.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7046 a1c6a512-1295-4272-9138-f99709370657
2005-07-06 22:58:02 +00:00
Jens Arnold
7e11acbce9
Second part of graphics api rework. Bitmap drawing and text output converted; some code cleanup and more optimisations.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6906 a1c6a512-1295-4272-9138-f99709370657
2005-06-28 23:15:47 +00:00
Jens Arnold
04daef17a1
First part of graphics api rework. Special functions, parameter handling, pixel functions, lines and filled primitives done for black & white core, main display.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6856 a1c6a512-1295-4272-9138-f99709370657
2005-06-24 22:33:21 +00:00
Linus Nielsen Feltzing
37d7c472ba
Put back the playlist creation options in the main menu
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6854 a1c6a512-1295-4272-9138-f99709370657
2005-06-24 16:32:30 +00:00
Hardeep Sidhu
0574151ee0
Don't need to stop audio before changing tracks. Fixes problem when selecting a new track in playlist viewer on iriver.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6846 a1c6a512-1295-4272-9138-f99709370657
2005-06-23 17:31:44 +00:00
Linus Nielsen Feltzing
6e0436f65c
Henrik Backes patch for WPS and tag database context menus. Tag database context menus still don't work as expected. Hold Play/Select to pop up the menu.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6835 a1c6a512-1295-4272-9138-f99709370657
2005-06-23 01:31:26 +00:00
Linus Nielsen Feltzing
8a237a829e
More audio code restructuring, mostly renaming functions so far
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6246 a1c6a512-1295-4272-9138-f99709370657
2005-04-04 12:06:29 +00:00
Linus Nielsen Feltzing
6b4e5f8881
You can now leave the playlist viewer with OFF, and the hold-Play context menu works better now
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5419 a1c6a512-1295-4272-9138-f99709370657
2004-11-17 13:28:25 +00:00
Björn Stenberg
6239cdd898
Avoid TREE_RUN trailing release event
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5275 a1c6a512-1295-4272-9138-f99709370657
2004-10-14 07:59:00 +00:00
Björn Stenberg
2b816de0bb
Flattened browser button code more. TREE_SHIFT removed. OnPlay menu is now available on PLAY+REPEAT too.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5166 a1c6a512-1295-4272-9138-f99709370657
2004-10-05 00:08:04 +00:00
Linus Nielsen Feltzing
a82fd17d82
The ON+Play menu in the playlist browser now behaves better, and it stays in the playlist menu after exiting
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5122 a1c6a512-1295-4272-9138-f99709370657
2004-09-28 05:19:46 +00:00
Björn Stenberg
6c33c51a4c
Redesigned the button handling. The code now uses symbolic function defines instead of checking for specific buttons. This makes it easier to add support for new devices with different button layouts.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5091 a1c6a512-1295-4272-9138-f99709370657
2004-09-19 21:58:37 +00:00
Jens Arnold
8fb336148f
Const policed pointer arguments to functions, part 3
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4999 a1c6a512-1295-4272-9138-f99709370657
2004-08-18 01:09:31 +00:00
Linus Nielsen Feltzing
ade5d7b848
First step in revamping the USB event handling, paving the way for the upcoming SYS_POWER_OFF event
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4951 a1c6a512-1295-4272-9138-f99709370657
2004-07-26 16:06:59 +00:00
Jörg Hohensohn
b1403ee024
New way of defining menus and options allows to declare them static const, which saves the code to runtime-assemble them. Rockbox just got 6 KB smaller.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4931 a1c6a512-1295-4272-9138-f99709370657
2004-07-23 23:01:20 +00:00
Jens Arnold
638dd6786a
Const'ed the logo, the bitmaps and the credits (optimization for running from ROM)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4896 a1c6a512-1295-4272-9138-f99709370657
2004-07-19 21:46:37 +00:00
Linus Nielsen Feltzing
32e27d93e8
The status bar now keeps track of the mpeg status, instead of having to call status_set_playmode() all the time
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4805 a1c6a512-1295-4272-9138-f99709370657
2004-06-27 01:05:40 +00:00
Hardeep Sidhu
1b44632aa0
Handle button events immediately. Fixes problem with USB screen not coming up in viewer.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4505 a1c6a512-1295-4272-9138-f99709370657
2004-04-15 06:12:02 +00:00
Jörg Hohensohn
fa97f161ab
Third step of the voice-UI: numerical settings are spoken (composed at runtime), needs new voicefont at the new location ".rockbox/langs/english.voice"
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4414 a1c6a512-1295-4272-9138-f99709370657
2004-03-19 22:15:53 +00:00
Linus Nielsen Feltzing
77936e6ec5
First shot at a nice little button bar at the bottom of the recorder LCD. Enable Button Bar in the Display settings. Only the dir browser uses it at the moment.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4391 a1c6a512-1295-4272-9138-f99709370657
2004-03-16 13:44:56 +00:00
Jörg Hohensohn
42ffbf9bbc
Second step of the voice-UI: Option values are spoken, if they are translatable strings.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4383 a1c6a512-1295-4272-9138-f99709370657
2004-03-15 08:27:51 +00:00
Jörg Hohensohn
4f36ea8fbf
First step of the voice-UI: the menus can talk. You need a "voicefont" file in .rockbox to use this.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4381 a1c6a512-1295-4272-9138-f99709370657
2004-03-14 21:33:53 +00:00
Linus Nielsen Feltzing
10b92c44b3
First step towards context sensitive and configurable menus, by Brent Coutts
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4370 a1c6a512-1295-4272-9138-f99709370657
2004-03-12 10:20:33 +00:00
Hardeep Sidhu
f448956169
Fixed an array index out of bounds error
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4291 a1c6a512-1295-4272-9138-f99709370657
2004-02-01 04:35:28 +00:00
Hardeep Sidhu
107ebc5ba9
Modified playlist handling to allow for multiple playlists to be edited at the same time. Added support in playlist viewer for viewing/editing playlists on disk (accessed via ON+PLAY->Playlist->View on a playlist). Added menu in playlist viewer for changing a few settings and saving playlist. Added File Options menu in playlist viewer ON+PLAY menu.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4276 a1c6a512-1295-4272-9138-f99709370657
2004-01-26 17:05:21 +00:00
Björn Stenberg
a108ec2ebd
Added Benjamin Metzlers bookmarking feature (patch #669440 )
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4227 a1c6a512-1295-4272-9138-f99709370657
2004-01-14 00:13:04 +00:00
Daniel Stenberg
1afa395c2f
The splash() function's second argument (keymask) is now removed, as it
...
was not used by any code.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4201 a1c6a512-1295-4272-9138-f99709370657
2004-01-08 09:58:58 +00:00
Daniel Stenberg
8a935f6c4d
Since some code isn't used if no ON button exist, we need to ifdef around
...
them to prevent compiler warning(s). We should make more code use a different
key instead of ON for the models that don't have one!
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4154 a1c6a512-1295-4272-9138-f99709370657
2003-12-15 11:47:18 +00:00
Daniel Stenberg
d0f5910534
Make it build without ON button. We should probably allow a different key
...
on such platforms.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4139 a1c6a512-1295-4272-9138-f99709370657
2003-12-12 13:45:08 +00:00
Hardeep Sidhu
00acdfa6ef
Added viewer for currently playing playlist. Accessed from Menu->Playlist Options->View Current Playlist.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4124 a1c6a512-1295-4272-9138-f99709370657
2003-12-10 00:11:25 +00:00