summaryrefslogtreecommitdiff
path: root/apps/gui (follow)
Commit message (Collapse)AuthorAge
* SWCODEC Playback: Seriously mess with it and get rid of (at least some ;) ↵Michael Sevakis2007-05-08
| | | | | | race conditions. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13361 a1c6a512-1295-4272-9138-f99709370657
* Trim a bunch of long lines and fix an infinite loop and buffer overrun in ↵Nicolas Pennequin2007-05-02
| | | | | | the impossible case that a WPS line ends with a litteral string but without a newline char (wps_parser.c:774). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13306 a1c6a512-1295-4272-9138-f99709370657
* Treat empty strings as 'no value' in conditionals, as it used to.Magnus Holmgren2007-05-02
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13304 a1c6a512-1295-4272-9138-f99709370657
* Add a check for unclosed conditionals at the end of the WPS parsing in case ↵Nicolas Pennequin2007-05-02
| | | | | | we didn't reach the end of the file. Also a few minor other changes. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13303 a1c6a512-1295-4272-9138-f99709370657
* FS #7093 by Dave Hooper: prevent crash when loading too many/long static ↵Peter D'Hoye2007-05-01
| | | | | | strings in the wps git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13302 a1c6a512-1295-4272-9138-f99709370657
* Better handling of strings in the WPS parser by detecting duplicates to ↵Nicolas Pennequin2007-04-30
| | | | | | avoid having two copies of the same string in the string buffer. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13295 a1c6a512-1295-4272-9138-f99709370657
* Stop using the old menu API in the debug menu (using the new api causes ↵Jonathan Gordon2007-04-29
| | | | | | | | | massive bin increase, so fake the old api with existing code instead) (onplay.c and plugins are the only parts using th eold api now) Fix a bug where the menu title was sometimes shown in the system font git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13286 a1c6a512-1295-4272-9138-f99709370657
* Change some ifdefs for the recent backdrop changes (fixes the yellow builds) ↵Nicolas Pennequin2007-04-25
| | | | | | and move the backdrop files. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13265 a1c6a512-1295-4272-9138-f99709370657
* Add backdrop support for LCD remotes with depth > 1-bit. Only WPS backdrops, ↵Nicolas Pennequin2007-04-25
| | | | | | 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
* Make bitmaps use the right format in a RWPS and prevent a backdrop tag in a ↵Nicolas Pennequin2007-04-25
| | | | | | RWPS from clearing the main display's backdrop. This also allows future backdrop support for LCD remotes by making the parsing code aware of whether the display for a WPS is a remote or not. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13261 a1c6a512-1295-4272-9138-f99709370657
* Add a new commandline switch to the simulator: "--debugwps". It enables ↵Nicolas Pennequin2007-04-24
| | | | | | printing of advanced (and very verbose) WPS debugging information. Also make the debugging code a bit cleaner. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13257 a1c6a512-1295-4272-9138-f99709370657
* WPS Parser: On parse failure, print a (hopefully) useful error message with ↵Nicolas Pennequin2007-04-24
| | | | | | | | | line number (sim only). Also the debug code is still disabled but now in a nicer way. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13251 a1c6a512-1295-4272-9138-f99709370657
* Ooooops, fix warning.Jens Arnold2007-04-22
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13243 a1c6a512-1295-4272-9138-f99709370657
* Consolidated several potential places of return from WPS into one. Fixes the ↵Jens Arnold2007-04-22
| | | | | | 'Return from WPS at end of playlist always brings up the root menu.' bug on hwcodec. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13241 a1c6a512-1295-4272-9138-f99709370657
* Fix FS#7056 - dont display garbage if the viewer icon set and the main ↵Jonathan Gordon2007-04-22
| | | | | | iconset have different icon heights git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13237 a1c6a512-1295-4272-9138-f99709370657
* More strict WPS parsing and displaying code. If there are errors, WPS ↵Nicolas Pennequin2007-04-21
| | | | | | loading will fail and the default WPS will be displayed. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13236 a1c6a512-1295-4272-9138-f99709370657
* General housekeeping: Make plugin buffer functions take size_t * instead of ↵Michael Sevakis2007-04-21
| | | | | | 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
* Fix the playlist viewer so only 1 line flashes when you move a trackJonathan Gordon2007-04-21
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13231 a1c6a512-1295-4272-9138-f99709370657
* Fix logf builds on devices that support remotes.Magnus Holmgren2007-04-18
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13202 a1c6a512-1295-4272-9138-f99709370657
* Move the inbuilt filetype info into filetypes.c and rename the defines. Jonathan Gordon2007-04-18
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13201 a1c6a512-1295-4272-9138-f99709370657
* Remove unneeded #include, comment the filename defineJonathan Gordon2007-04-17
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13193 a1c6a512-1295-4272-9138-f99709370657
* explicitly set *loaded_ok = false; when given "" for a filename.Jonathan Gordon2007-04-17
| | | | | | | remove icon_init from the startup sequence, its not dependant on filetypes_init anymore,settings_apply calls the icons_init (causes the bmp's to only be read once on boot instead of twice) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13191 a1c6a512-1295-4272-9138-f99709370657
* Fix loadable remote icons. fb_data != fb_remote_data ...Jens Arnold2007-04-17
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13190 a1c6a512-1295-4272-9138-f99709370657
* Fix non-working default viewer icons. Remote viewer icons work now, but ↵Jens Arnold2007-04-17
| | | | | | still not properly. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13189 a1c6a512-1295-4272-9138-f99709370657
* Fix yellow...Jens Arnold2007-04-17
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13188 a1c6a512-1295-4272-9138-f99709370657
* Temporary fix for remote bitmap functions in the multi-screen API. Fixed ↵Jens Arnold2007-04-16
| | | | | | icon.c to use this. Also fixed crash due to missing assignment of lcd_bitmap[_part] for monochrome main LCDs. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13187 a1c6a512-1295-4272-9138-f99709370657
* Reduce code size a bit.Magnus Holmgren2007-04-16
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13185 a1c6a512-1295-4272-9138-f99709370657
* * its name[rows][columns] you drongo!Jonathan Gordon2007-04-16
| | | | | | | | | * make custom viewer icons work slightly better * minor nit-picks to keep crop happy * create a /.rockbox/themes/default_rockbox_icons.cfg to restore the default icons easily git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13183 a1c6a512-1295-4272-9138-f99709370657
* Santiy check shouldnt have been commented outJonathan Gordon2007-04-16
| | | | | | | Show the ? icon on the remote if the requested icon (from a .icons file) isnt in the remote viewer iconset git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13182 a1c6a512-1295-4272-9138-f99709370657
* Some gremlins got into my computer again and changed all my code!Jonathan Gordon2007-04-16
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13181 a1c6a512-1295-4272-9138-f99709370657
* Fix the wavplay iconJonathan Gordon2007-04-16
| | | | | | | | | | Fix copy+paste mistake Fix typo in comment Fix crash when trying to run a bmp Reset the icons properly when loading a .icons file (hopefully will use the correct icon now) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13179 a1c6a512-1295-4272-9138-f99709370657
* Customizable icons for all bitmap targets. (FS#7013)Jonathan Gordon2007-04-16
| | | | | | | 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
* Revert recording/repeat timer for now. It is useful as a feature, but didn't ↵Jens Arnold2007-04-15
| | | | | | receive enough testing on multiple targets, and fixing it is non-trivial. Later reversal would be complicated because of .lng spreading. * The patch should probably redone in a different way, as it's huge for what it does... * Issues: (1) The repeat timer setting has NULL pointer hits. (2) The multi-int setting screen breaks with proportional fonts, and with somewhat larger fonts. (3) On some targets, all values except the leftmost one are unreachable. * Hint: The timer itself would be much simpler if it'd just store & compare ticks (497 days before it wraps). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13172 a1c6a512-1295-4272-9138-f99709370657
* Hopefully fix the 64-bit warning.Nicolas Pennequin2007-04-15
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13171 a1c6a512-1295-4272-9138-f99709370657
* Added autoscore tag (%ra) to wps.Miika Pekkarinen2007-04-15
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13169 a1c6a512-1295-4272-9138-f99709370657
* Reverted FS#6949 as we have a strict policy against anonymous contributions.Miika Pekkarinen2007-04-15
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13168 a1c6a512-1295-4272-9138-f99709370657
* Recording countdown timer and repeat timer - see FS #6297 for more detailsMartin Scarratt2007-04-15
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13165 a1c6a512-1295-4272-9138-f99709370657
* FS#6949 - WPS tag for database autoscore. Author wanted to remain anonymous.Miika Pekkarinen2007-04-15
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13164 a1c6a512-1295-4272-9138-f99709370657
* Oops, the condition was wrong. Sorry about that :)Nicolas Pennequin2007-04-15
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13163 a1c6a512-1295-4272-9138-f99709370657
* * Make the WPS parser close open conditionals on new sublines and comments ↵Nicolas Pennequin2007-04-15
| | | | | | | | | | | as well as new lines. * Make the displaying code check for invalid conditional constructs in order to avoid some rare cases of infinite looping. * Make the WPS parser check that it doesn't read more strings than it can. * Increase the string buffer size (from 512 to 1024, to accomodate the TextBox WPS which uses a lot of unicode characters). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13162 a1c6a512-1295-4272-9138-f99709370657
* Better error checking for the image display tag (%xdn). Should prevent ↵Nicolas Pennequin2007-04-14
| | | | | | problems with the former crossfeed tag (%xd) when used in a conditional construct. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13158 a1c6a512-1295-4272-9138-f99709370657
* Simplification, queue pointers don't wrap (except at INT_MAX, but the ↵Jens Arnold2007-04-14
| | | | | | calculation is still correct in this case). Implemented queue_count() for the simulator. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13154 a1c6a512-1295-4272-9138-f99709370657
* rename ACTION_WPSAB_RESET to ACTION_WPS_ABRESET to be more consistent with ↵Marcoen Hirschberg2007-04-13
| | | | | | the rest git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13142 a1c6a512-1295-4272-9138-f99709370657
* FS#7020. Make the behaviour of '#' more consistent. It now requires escaping ↵Nicolas Pennequin2007-04-13
| | | | | | by a '%' to be displayed. If it is not escaped, the following text will be interpreted as a comment (including the newline character). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13140 a1c6a512-1295-4272-9138-f99709370657
* Removed unused struct member from gui_synclist, and reordered struct members ↵Jens Arnold2007-04-12
| | | | | | of gui_list for optimal packing. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13139 a1c6a512-1295-4272-9138-f99709370657
* Moved archos backlight code to target tree. Changed old mutlivalue ↵Jens Arnold2007-04-12
| | | | | | CONFIG_BACKLIGHT to a simple HAVE_BACKLIGHT. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13136 a1c6a512-1295-4272-9138-f99709370657
* * Add the crossfade (%xf) WPS tagNicolas Pennequin2007-04-12
| | | | | | | * Avoid eating the whole line when unsuccessfully parsing a %x or %xl tag. This will prevent unknown tags starting with %x from making the line disappear. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13127 a1c6a512-1295-4272-9138-f99709370657
* Hide the list title if only one line would fit under itJonathan Gordon2007-04-11
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13107 a1c6a512-1295-4272-9138-f99709370657
* Use valid_time() instead of using individual checks which amount to the same ↵Nicolas Pennequin2007-04-10
| | | | | | thing, and add RTC tokens beginning and end values that are used to check if a token is an RTC one. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13096 a1c6a512-1295-4272-9138-f99709370657
* RTC tags for the WPS: Accept FS#6998 and FS#7001 by Alexander Levin with ↵Nicolas Pennequin2007-04-10
| | | | | | | | | | changes by me. CUSTOM WPS FILES NEED TO BE UPDATED ! The RTC tags are now atomic, i.e. instead of using one tag with the format (e.g. %cd m yc), we use several separate tags, one for each value (e.g. %cd %cm %cy). Also, %cP produces an uppercase AM/PM indicator and %cp a lowercase one, which is the opposite from what they did before. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13093 a1c6a512-1295-4272-9138-f99709370657