Commit graph

148 commits

Author SHA1 Message Date
Jonathan Gordon
09a990c4cf viewer.rock can now remembers the last 46 viewed files and their positions, 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-18 15:31:51 +00:00
Jonathan Gordon
a7d9859300 fixes FS#6007 point 3
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10972 a1c6a512-1295-4272-9138-f99709370657
2006-09-17 14:37:59 +00:00
Jonathan Gordon
ef6d394abf fixes FS#6007 point 2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10971 a1c6a512-1295-4272-9138-f99709370657
2006-09-17 14:04:58 +00:00
Jonathan Gordon
c85467d437 woops! ok, only rmember the last 10 files, some trickery can be added later to increase this limit
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10970 a1c6a512-1295-4272-9138-f99709370657
2006-09-17 10:44:35 +00:00
Jonathan Gordon
c4c058386f re-implement bookmarking in viewer.rock, remebers the last 45.6(\!) files viewed
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10969 a1c6a512-1295-4272-9138-f99709370657
2006-09-17 10:32:49 +00:00
Daniel Stenberg
1e88be518a Barry Wardell's keymappings for H10
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10446 a1c6a512-1295-4272-9138-f99709370657
2006-08-03 20:17:25 +00:00
Linus Nielsen Feltzing
73c283e969 Fix bug #5724 - Missing characters in text viewer, the number of characters 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-08-01 17:48:38 +00:00
Mark Arigo
073d73be51 Fixes text viewer column advance when in wide mode using play+left/right button combo (bug #5685)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10327 a1c6a512-1295-4272-9138-f99709370657
2006-07-25 20:49:53 +00:00
Peter D'Hoye
2076363fda Fix for uninitialized variable, caused crash when viewing a file that 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-07-15 13:53:18 +00:00
Kevin Ferrare
0e027bd90c To avoid having to use the main unit when accidentally launching a plugin 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-30 16:43:47 +00:00
Karl Kurbjun
ca8fa65ab7 Fix wide view mode on viewer
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10036 a1c6a512-1295-4272-9138-f99709370657
2006-06-03 07:04:02 +00:00
Marcoen Hirschberg
5725b8cbcb got Frank Dishner's viewer patch (#4873) working again and added encoding to the settings menu. Fixes #4763 and #5256
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9915 a1c6a512-1295-4272-9138-f99709370657
2006-05-11 20:34:37 +00:00
Jens Arnold
b4efbdcdbb Viewer: Don't say 'yes' to every option ;-) (Voice ID must be -1 for 'no clip').
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9880 a1c6a512-1295-4272-9138-f99709370657
2006-05-05 17:49:27 +00:00
Jens Arnold
15a0a17174 Fix viewer crash due to uninitialsed usage of rb->
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9875 a1c6a512-1295-4272-9138-f99709370657
2006-05-04 19:53:26 +00:00
Jens Arnold
2343a1935d Text viewer: * Only show those options which really exist. * Basic button 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-03 23:16:53 +00:00
Zakk Roberts
a90f0929fb Oops, fix Ondio builds.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9845 a1c6a512-1295-4272-9138-f99709370657
2006-05-01 06:01:17 +00:00
Zakk Roberts
07fcf77cb0 Patch #5056 by Jonathan Gordon, with rework and additions by me: Updated 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-05-01 05:45:18 +00:00
Hristo Kovachev
4242a99985 Oops, rename the global bool exit to done
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9490 a1c6a512-1295-4272-9138-f99709370657
2006-04-04 12:27:47 +00:00
Hristo Kovachev
e16339e07b Patch #5011 by Peter K. Cawley: added playback_control menu in text viewer plugin
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9488 a1c6a512-1295-4272-9138-f99709370657
2006-04-04 12:04:15 +00:00
Linus Nielsen Feltzing
f954a53da5 Quick hack to restore the reading of ISO encoded text files with the viewer plugin
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8875 a1c6a512-1295-4272-9138-f99709370657
2006-03-01 13:31:36 +00:00
Dave Chapman
fb4e384367 More iPod 3G work from Seven Le Mesle
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8835 a1c6a512-1295-4272-9138-f99709370657
2006-02-24 20:54:09 +00:00
Marcoen Hirschberg
338e2bbb0c first gigabeat commit
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8831 a1c6a512-1295-4272-9138-f99709370657
2006-02-24 15:42:52 +00:00
Linus Nielsen Feltzing
568ac3eb21 Button driver for iAudio X5
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8828 a1c6a512-1295-4272-9138-f99709370657
2006-02-24 15:06:25 +00:00
Zakk Roberts
de23679fb2 Fixed scrolling for iPods (now scrolling the wheel forward will move down, and scrolling backward will move up).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8699 a1c6a512-1295-4272-9138-f99709370657
2006-02-16 01:18:21 +00:00
Daniel Stenberg
1ca465ae77 Made lots of keys' code depend on the actual definition of the key instead
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-27 13:30:57 +00:00
Daniel Stenberg
30dbb957fe removed a few ifdefs
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8367 a1c6a512-1295-4272-9138-f99709370657
2006-01-18 11:30:46 +00:00
Daniel Stenberg
cedba8830f Matt v.d. Westhuizen's iAudio X5 keypad adjustments
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8366 a1c6a512-1295-4272-9138-f99709370657
2006-01-18 11:09:06 +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
Dave Chapman
d83e929f3f Work-in-progress iriver iFP-7xx port by Tomasz Malesinski
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8342 a1c6a512-1295-4272-9138-f99709370657
2006-01-12 00:35:50 +00:00
Dave Chapman
0dc63c1b71 Remove IPOD_NANO_PAD definition - the Nano's keypad has turned out to be identical to the other 4G models
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8262 a1c6a512-1295-4272-9138-f99709370657
2005-12-19 00:11:28 +00:00
Dave Chapman
c3387e545d iPod: Fix compiler warning
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8236 a1c6a512-1295-4272-9138-f99709370657
2005-12-14 09:54:38 +00:00
Dave Chapman
54d44c893f iPod: Initial attempt at button mappings for plugins. All plugins now 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-12-14 01:31:37 +00:00
Daniel Stenberg
ba64081228 adjusted for the h300 to make it do similar as the h100
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6916 a1c6a512-1295-4272-9138-f99709370657
2005-06-29 13:25:45 +00:00
Daniel Stenberg
01377e2e57 Hristo Kovachev's keypad fixes for the H300 build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6912 a1c6a512-1295-4272-9138-f99709370657
2005-06-29 12:47:24 +00:00
Thom Johansen
94cd7a243e Remove stray debugging call.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6484 a1c6a512-1295-4272-9138-f99709370657
2005-05-17 16:26:47 +00:00
Linus Nielsen Feltzing
7ee41033b9 Patch #1202120 by Luca Burelli - autobookmark for text viewer
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6483 a1c6a512-1295-4272-9138-f99709370657
2005-05-17 13:14:09 +00:00
Jens Arnold
5bb707258a Disable reflow mode for the player as it makes no sense. Cosmetic indentation fixes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6470 a1c6a512-1295-4272-9138-f99709370657
2005-05-14 16:46:31 +00:00
Linus Nielsen Feltzing
eec2b7ed2b Patch #1152363 by Luca Burelli, proportional font support in the text viewer plugin
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6469 a1c6a512-1295-4272-9138-f99709370657
2005-05-13 13:32:57 +00:00
Jens Arnold
dbe19115ec Complete button assignemt for text viewer on iRiver.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5928 a1c6a512-1295-4272-9138-f99709370657
2005-02-12 02:02:20 +00:00
Daniel Stenberg
6700ad8f20 adapted to build on iRiver
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5784 a1c6a512-1295-4272-9138-f99709370657
2005-02-04 12:41:09 +00:00
Jens Arnold
3c348df5ca Changed several places to use button_clear_queue() to empty the button 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
2005-01-26 22:48:25 +00:00
Jens Arnold
cc8cff2ec0 Plugin rework 1: (most) Compile-time keyboard configuration, for Ondio 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-10-16 00:07:43 +00:00
Jörg Hohensohn
593cc00447 a hell of a commit: changed several HAVE_xx configuration flags into 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-09-28 22:13:26 +00:00
Linus Nielsen Feltzing
0c458c043a The plugin API now supports ctype macros like tolower() and friends
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4872 a1c6a512-1295-4272-9138-f99709370657
2004-07-13 14:01:41 +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
Robert Hak
fe18ca56a5 correct build errors
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3880 a1c6a512-1295-4272-9138-f99709370657
2003-07-24 12:22:10 +00:00
Daniel Stenberg
df9b04c6ea Garrett Derner's word wrap fix for the text viewer
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3873 a1c6a512-1295-4272-9138-f99709370657
2003-07-24 09:47:46 +00:00
Björn Stenberg
ba371fb595 Added plugin loader. Moved games, demos and the text viewer to loadable plugins. Copy your *.rock files to /.rockbox/rocks/
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3769 a1c6a512-1295-4272-9138-f99709370657
2003-06-29 16:33:04 +00:00
Renamed from apps/viewer.c (Browse further)