summaryrefslogtreecommitdiffstats
path: root/apps/bookmark.c
AgeCommit message (Collapse)AuthorFilesLines
2008-05-29total removal of gui_textarea. The only thing using the text_message struct ↵Jonathan Gordon1-1/+0
is the yesno screen so move its definition to yesno.h git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17653 a1c6a512-1295-4272-9138-f99709370657
2008-04-28Cleaned up header files in bookmark.cBertrik Sikken1-13/+4
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17281 a1c6a512-1295-4272-9138-f99709370657
2008-04-28Moved atoi declaration to stdlib.h. Deleted atoi.hBertrik Sikken1-1/+0
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17280 a1c6a512-1295-4272-9138-f99709370657
2008-04-26Const police raid, making a lot of pointers to lang strings const and ↵Nils Wallménius1-4/+4
removing some ugly casting git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17251 a1c6a512-1295-4272-9138-f99709370657
2008-04-16Use file_exists and dir_exists functions where appropriate, fix one wrong ↵Nils Wallménius1-11/+4
file descriptor check and one possible dir descriptor leak git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17147 a1c6a512-1295-4272-9138-f99709370657
2008-04-09Pass the buffer length to the list_get_name callback functions instead of ↵Nils Wallménius1-4/+10
using hardcoded MAX_PATH git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17049 a1c6a512-1295-4272-9138-f99709370657
2008-03-29Remove unnecessary (and incorrect) #ifdefs surrounding #include ↵Dave Chapman1-3/+0
"backdrop.h", and correct remaining references to HAVE_LCD_REMOTE to HAVE_REMOTE_LCD git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16873 a1c6a512-1295-4272-9138-f99709370657
2008-03-26the menu and list now accepts a parent viewport to draw in (and the menu can ↵Jonathan Gordon1-2/+2
be told to not show status/button bars). This lays the groundwork to fix colour problems with plugin menus (see star.c for an example.) This hopefully fixes some button bar issues as well as theme problems. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16812 a1c6a512-1295-4272-9138-f99709370657
2008-02-21When failing to auto-load a bookmark, don't show the 'Nothing to resume' ↵Magnus Holmgren1-1/+5
message. The selected file will (hopefully) be played instead. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16364 a1c6a512-1295-4272-9138-f99709370657
2008-02-10Better bookmark resume handling, in particular when resuming a directory. If ↵Magnus Holmgren1-5/+18
Load Last Bookmark is set to Yes and the last bookmarked file could not be found, play the selected file instead. When selecting a bookmark for a missing file in the bookmark list, show a message that resume isn't possible (and don't play any selected file if Load Last Bookmark is set to Ask). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16267 a1c6a512-1295-4272-9138-f99709370657
2007-11-18Use the strrsplt function in one more placeNils Wallménius1-16/+0
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15662 a1c6a512-1295-4272-9138-f99709370657
2007-11-18In the recent bookmarks list, show playlist/directory name, in addition to ↵Magnus Holmgren1-12/+58
the file name. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15656 a1c6a512-1295-4272-9138-f99709370657
2007-10-19FS#7994 - Rename talk.c API, make talk_disable() affect all talking (not ↵Steve Bavin1-1/+1
just menus), hopefully save some space. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15206 a1c6a512-1295-4272-9138-f99709370657
2007-09-17minor update to gui_synclist_do_button() which will hopefully simplify ↵Jonathan Gordon1-1/+1
things later. Now returns true if the action was handled in that function instead of returning the handled action. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14733 a1c6a512-1295-4272-9138-f99709370657
2007-08-22Apply fix from FS#6341, with some changes by me.Magnus Holmgren1-2/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14430 a1c6a512-1295-4272-9138-f99709370657
2007-08-11Fix bug that caused the bookmark autoload screen to always resume the first ↵Magnus Holmgren1-3/+2
bookmark, even if another was selected. Also remove a bogus comment. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14284 a1c6a512-1295-4272-9138-f99709370657
2007-08-06Accept FS#6159 'Add voice to roughly 100 splash screens and yes-no menus' by ↵Nils Wallménius1-5/+5
Stephane Doyon with some minor tweaks by me. Rerun 'configure' and do a 'make clean' before rebuilding your voice files. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14213 a1c6a512-1295-4272-9138-f99709370657
2007-08-05*** Lang v2 cleanup (FS#6574) ***Nils Wallménius1-2/+2
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-07-22remove the need for action_signalscreenchange().Jonathan Gordon1-5/+0
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-06-11When recording, disable voice menus without actually modifying user ↵Steve Bavin1-1/+1
settings. Patch FS#7272, fixes bug FS #6163 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13615 a1c6a512-1295-4272-9138-f99709370657
2007-05-26Use the new VOICE_ strings, and not the deprecated ones. Thanks to n1s for ↵Magnus Holmgren1-2/+2
noticing. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13496 a1c6a512-1295-4272-9138-f99709370657
2007-05-26FS#7158 - Bookmark selection as a list.Magnus Holmgren1-275/+278
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13495 a1c6a512-1295-4272-9138-f99709370657
2007-04-25Change some ifdefs for the recent backdrop changes (fixes the yellow builds) ↵Nicolas Pennequin1-1/+1
and move the backdrop files. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13265 a1c6a512-1295-4272-9138-f99709370657
2007-04-25Add backdrop support for LCD remotes with depth > 1-bit. Only WPS backdrops, ↵Nicolas Pennequin1-0/+3
but the groundwork is laid for main backdrops too (all that's really needed are menus to set/clear them). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13263 a1c6a512-1295-4272-9138-f99709370657
2007-04-21Bookmark screen fixes: 1) Make the 'Load bookmark?' prompt follow the status ↵Magnus Holmgren1-3/+5
bar setting, and also actually display the statusbar. 2) Call the LCD update function on charcell devices. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13232 a1c6a512-1295-4272-9138-f99709370657
2007-04-05Fix the root menu for any targets without a radio (we are using #if not ↵Jonathan Gordon1-0/+5
#ifdef for CONFIG_TUNER). Fixes the bookmark issue in FS#6965) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13027 a1c6a512-1295-4272-9138-f99709370657
2007-03-16Get rid of the 'center' parameter for splashes. There were only 2 of almost ↵Jens Arnold1-2/+2
500 splashes which were not centered. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12807 a1c6a512-1295-4272-9138-f99709370657
2007-02-20Fix a couple of error handling bugs. Some minor code simplification.Magnus Holmgren1-35/+21
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12420 a1c6a512-1295-4272-9138-f99709370657
2007-02-19Use the statusbar setting while in the bookmark screen, so that the ↵Magnus Holmgren1-15/+3
shuffle/repeat icons for the bookmark can be visible on bitmap displays. Also simplify the code a little. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12403 a1c6a512-1295-4272-9138-f99709370657
2007-02-17#ifdef instead of #ifDaniel Stenberg1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12362 a1c6a512-1295-4272-9138-f99709370657
2007-02-17A few more bookmark code tweaks. Also improves how the bookmark selection ↵Magnus Holmgren1-77/+27
screen is displayed on Archos players. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12350 a1c6a512-1295-4272-9138-f99709370657
2007-02-15Size-optimize the bookmarking code a bit (~450 bytes code, 350 bytes BSS on ↵Magnus Holmgren1-188/+122
ColdFire). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12320 a1c6a512-1295-4272-9138-f99709370657
2006-11-13Backdrop support for greyscale targets. WPS backdrop is untested.Jens Arnold1-2/+2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11520 a1c6a512-1295-4272-9138-f99709370657
2006-09-17Fix problem with bouncing back to the 'Load last bookmark' screen after ↵Magnus Holmgren1-0/+2
loading the last bookmark. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10975 a1c6a512-1295-4272-9138-f99709370657
2006-08-23Fix bookmark screen again...Magnus Holmgren1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10719 a1c6a512-1295-4272-9138-f99709370657
2006-08-21fixed the settings action context, time/eq/colour chooser/dbug screensJonathan Gordon1-6/+8
should all work correctly again git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10670 a1c6a512-1295-4272-9138-f99709370657
2006-08-20fix buttons in bookmark autoload query screenMartin Scarratt1-17/+11
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10665 a1c6a512-1295-4272-9138-f99709370657
2006-08-15Finally, the new button action system is here, thanks to Jonathan Gordon. ↵Linus Nielsen Feltzing1-56/+20
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-07-18Recent bookmarks screen support for multiple screensMartin Scarratt1-26/+89
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10239 a1c6a512-1295-4272-9138-f99709370657
2006-07-15Fix warningPeter D'Hoye1-0/+4
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10216 a1c6a512-1295-4272-9138-f99709370657
2006-07-15Color targets: When showing the bookmark screen from within the wps, switch ↵Peter D'Hoye1-0/+3
to normal backdrop first. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10215 a1c6a512-1295-4272-9138-f99709370657
2006-01-21AB-repeat mode for software codecs. Accessible through menu as a repeat ↵Brandon Low1-1/+1
mode, with buttom mappings much like those on other rockbox targets for now. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8409 a1c6a512-1295-4272-9138-f99709370657
2005-12-07fix previous fix.. damnMarcoen Hirschberg1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8186 a1c6a512-1295-4272-9138-f99709370657
2005-12-07fix previous commitMarcoen Hirschberg1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8185 a1c6a512-1295-4272-9138-f99709370657
2005-12-07several small fixes sugested by different people (FireFly, Lear, Takka)Marcoen Hirschberg1-3/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8184 a1c6a512-1295-4272-9138-f99709370657
2005-12-05kill gcc4 warningsDaniel Stenberg1-11/+11
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8162 a1c6a512-1295-4272-9138-f99709370657
2005-11-20removed old statusbar and buttonbar codeKevin Ferrare1-40/+17
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8004 a1c6a512-1295-4272-9138-f99709370657
2005-11-19iPod: First attempt to implement sensible button mappings. Changes to all ↵Dave Chapman1-16/+1
targets to replace a small number of references to raw button codes (BUTTON_???) with their abstract equivalents. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7983 a1c6a512-1295-4272-9138-f99709370657
2005-11-17Remote WPS support (and some WPS bugfixes) by Stephan WezelChristi Scarborough1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7934 a1c6a512-1295-4272-9138-f99709370657
2005-11-16replaced all the splash calls by gui_sync_splash, added some missing remote ↵Kevin Ferrare1-4/+4
key in the playlist viewer git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7909 a1c6a512-1295-4272-9138-f99709370657