summaryrefslogtreecommitdiff
path: root/apps/plugins/viewer.c
AgeCommit message (Collapse)Author
2006-11-19* Move checkbox to plugin api (core never uses it)Jonathan Gordon
* replace the last of the scrollbar() calls with gui_scrollbar_draw() git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11552 a1c6a512-1295-4272-9138-f99709370657
2006-10-26Allow the Sansa e200 UI simulator to be built. Thanks to Andre Smith for the ↵Barry Wardell
nice image of the Sansa. Lots more to be done including testing and tweaking the keymaps and modifying the plugins for the Sansa's 176x220 LCD. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11351 a1c6a512-1295-4272-9138-f99709370657
2006-09-18woops, fix the errors/warningsJonathan Gordon
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10993 a1c6a512-1295-4272-9138-f99709370657
2006-09-18viewer.rock can now remembers the last 46 viewed files and their positions, ↵Jonathan Gordon
bookmarks are in a seperate .dat now, so old bookmarks will be lost git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10992 a1c6a512-1295-4272-9138-f99709370657
2006-09-17fixes FS#6007 point 3Jonathan Gordon
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10972 a1c6a512-1295-4272-9138-f99709370657
2006-09-17fixes FS#6007 point 2Jonathan Gordon
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10971 a1c6a512-1295-4272-9138-f99709370657
2006-09-17woops! ok, only rmember the last 10 files, some trickery can be added later ↵Jonathan Gordon
to increase this limit git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10970 a1c6a512-1295-4272-9138-f99709370657
2006-09-17re-implement bookmarking in viewer.rock, remebers the last 45.6(\!) files viewedJonathan Gordon
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10969 a1c6a512-1295-4272-9138-f99709370657
2006-08-03Barry Wardell's keymappings for H10Daniel Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10446 a1c6a512-1295-4272-9138-f99709370657
2006-08-01Fix bug #5724 - Missing characters in text viewer, the number of characters ↵Linus Nielsen Feltzing
in the line to display was calculated with a too wide character as reference git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10395 a1c6a512-1295-4272-9138-f99709370657
2006-07-25Fixes text viewer column advance when in wide mode using play+left/right ↵Mark Arigo
button combo (bug #5685) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10327 a1c6a512-1295-4272-9138-f99709370657
2006-07-15Fix for uninitialized variable, caused crash when viewing a file that ↵Peter D'Hoye
started with whitespace. Fixes FS#5658 with solution given by bugsubmitter (Mark Arigo). Viewer code still needs more work but at least won't crash on this anymore. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10213 a1c6a512-1295-4272-9138-f99709370657
2006-06-30To avoid having to use the main unit when accidentally launching a plugin ↵Kevin Ferrare
from the remote, plugins now support remote quit git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10157 a1c6a512-1295-4272-9138-f99709370657
2006-06-03Fix wide view mode on viewerKarl Kurbjun
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10036 a1c6a512-1295-4272-9138-f99709370657
2006-05-11got Frank Dishner's viewer patch (#4873) working again and added encoding to ↵Marcoen Hirschberg
the settings menu. Fixes #4763 and #5256 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9915 a1c6a512-1295-4272-9138-f99709370657
2006-05-05Viewer: Don't say 'yes' to every option ;-) (Voice ID must be -1 for 'no clip').Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9880 a1c6a512-1295-4272-9138-f99709370657
2006-05-04Fix viewer crash due to uninitialsed usage of rb->Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9875 a1c6a512-1295-4272-9138-f99709370657
2006-05-03Text viewer: * Only show those options which really exist. * Basic button ↵Jens Arnold
functions now available on all targets. * Implemented option setting in a more straightforward way (like the core options menus). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9874 a1c6a512-1295-4272-9138-f99709370657
2006-05-01Oops, fix Ondio builds.Zakk Roberts
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9845 a1c6a512-1295-4272-9138-f99709370657
2006-05-01Patch #5056 by Jonathan Gordon, with rework and additions by me: Updated ↵Zakk Roberts
Viewer plugin. Replaces annoying mode-toggle key-combos with a settings menu, including a new 'Scroll by Line' option. I've also added a 'hands-free' auto-scroll feature and added lcd_setmargins to the plugin API, since we need it here. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9844 a1c6a512-1295-4272-9138-f99709370657
2006-04-04Oops, rename the global bool exit to doneHristo Kovachev
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9490 a1c6a512-1295-4272-9138-f99709370657
2006-04-04Patch #5011 by Peter K. Cawley: added playback_control menu in text viewer ↵Hristo Kovachev
plugin git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9488 a1c6a512-1295-4272-9138-f99709370657
2006-03-01Quick hack to restore the reading of ISO encoded text files with the viewer ↵Linus Nielsen Feltzing
plugin git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8875 a1c6a512-1295-4272-9138-f99709370657
2006-02-24More iPod 3G work from Seven Le MesleDave Chapman
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8835 a1c6a512-1295-4272-9138-f99709370657
2006-02-24first gigabeat commitMarcoen Hirschberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8831 a1c6a512-1295-4272-9138-f99709370657
2006-02-24Button driver for iAudio X5Linus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8828 a1c6a512-1295-4272-9138-f99709370657
2006-02-16Fixed scrolling for iPods (now scrolling the wheel forward will move down, ↵Zakk Roberts
and scrolling backward will move up). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8699 a1c6a512-1295-4272-9138-f99709370657
2006-01-27Made lots of keys' code depend on the actual definition of the key insteadDaniel Stenberg
of the target keypad define. Makes the code more readable and it makes it easier to enable/disable certain features. Killed the warning for X5 at the same time. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8467 a1c6a512-1295-4272-9138-f99709370657
2006-01-18removed a few ifdefsDaniel Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8367 a1c6a512-1295-4272-9138-f99709370657
2006-01-18Matt v.d. Westhuizen's iAudio X5 keypad adjustmentsDaniel Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8366 a1c6a512-1295-4272-9138-f99709370657
2006-01-15New plugin loader. Solves the crashes introduced with the .bss changes while ↵Jens Arnold
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-12Work-in-progress iriver iFP-7xx port by Tomasz MalesinskiDave Chapman
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8342 a1c6a512-1295-4272-9138-f99709370657
2005-12-19Remove IPOD_NANO_PAD definition - the Nano's keypad has turned out to be ↵Dave Chapman
identical to the other 4G models git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8262 a1c6a512-1295-4272-9138-f99709370657
2005-12-14iPod: Fix compiler warningDave Chapman
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8236 a1c6a512-1295-4272-9138-f99709370657
2005-12-14iPod: Initial attempt at button mappings for plugins. All plugins now ↵Dave Chapman
compile, but more work is needed with the more complex ones to make them iPod friendly git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8233 a1c6a512-1295-4272-9138-f99709370657
2005-06-29adjusted for the h300 to make it do similar as the h100Daniel Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6916 a1c6a512-1295-4272-9138-f99709370657
2005-06-29Hristo Kovachev's keypad fixes for the H300 buildDaniel Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6912 a1c6a512-1295-4272-9138-f99709370657
2005-05-17Remove stray debugging call.Thom Johansen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6484 a1c6a512-1295-4272-9138-f99709370657
2005-05-17Patch #1202120 by Luca Burelli - autobookmark for text viewerLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6483 a1c6a512-1295-4272-9138-f99709370657
2005-05-14Disable reflow mode for the player as it makes no sense. Cosmetic ↵Jens Arnold
indentation fixes. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6470 a1c6a512-1295-4272-9138-f99709370657
2005-05-13Patch #1152363 by Luca Burelli, proportional font support in the text viewer ↵Linus Nielsen Feltzing
plugin git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6469 a1c6a512-1295-4272-9138-f99709370657
2005-02-12Complete button assignemt for text viewer on iRiver.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5928 a1c6a512-1295-4272-9138-f99709370657
2005-02-04adapted to build on iRiverDaniel Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5784 a1c6a512-1295-4272-9138-f99709370657
2005-01-26Changed several places to use button_clear_queue() to empty the button ↵Jens Arnold
queue. Added the ability to empty the (system's) button queue to the X11 simulatr. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5665 a1c6a512-1295-4272-9138-f99709370657
2004-10-16Plugin rework 1: (most) Compile-time keyboard configuration, for Ondio ↵Jens Arnold
adaption. (all) Now using the default event handler, standard placement is now in switch() default case. (snow) Made USB aware. (video) Added contrast setting to Ondio version. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5291 a1c6a512-1295-4272-9138-f99709370657
2004-09-28a hell of a commit: changed several HAVE_xx configuration flags into ↵Jörg Hohensohn
multiple choice values (keypad, tuner, CPU, h/w codec) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5126 a1c6a512-1295-4272-9138-f99709370657
2004-07-13The plugin API now supports ctype macros like tolower() and friendsLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4872 a1c6a512-1295-4272-9138-f99709370657
2004-01-08The splash() function's second argument (keymask) is now removed, as itDaniel Stenberg
was not used by any code. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4201 a1c6a512-1295-4272-9138-f99709370657
2003-07-24correct build errorsRobert Hak
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3880 a1c6a512-1295-4272-9138-f99709370657
2003-07-24Garrett Derner's word wrap fix for the text viewerDaniel Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3873 a1c6a512-1295-4272-9138-f99709370657