summaryrefslogtreecommitdiff
path: root/apps/plugins/viewer.c (follow)
Commit message (Collapse)AuthorAge
* 0 is also a valid file descriptorDave Chapman2007-11-22
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15749 a1c6a512-1295-4272-9138-f99709370657
* Removed annoying splashBjörn Stenberg2007-11-21
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15746 a1c6a512-1295-4272-9138-f99709370657
* access memcpy through the plugin api..Marcoen Hirschberg2007-11-19
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15702 a1c6a512-1295-4272-9138-f99709370657
* check separately if the preferences and the bookmark need to be savedMarcoen Hirschberg2007-11-19
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15701 a1c6a512-1295-4272-9138-f99709370657
* write a correct bookmark file when the viewer loads so we can safely skip ↵Marcoen Hirschberg2007-11-19
| | | | | | the write on exit git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15700 a1c6a512-1295-4272-9138-f99709370657
* prevent useless file readsMarcoen Hirschberg2007-11-19
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15695 a1c6a512-1295-4272-9138-f99709370657
* don't save the viewer position if it hasn't changedMarcoen Hirschberg2007-11-19
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15689 a1c6a512-1295-4272-9138-f99709370657
* make the first bunch of plugins compile for the mrobe. an earlier commit ↵Jonathan Gordon2007-10-23
| | | | | | broke the loading though, need to sort that out git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15282 a1c6a512-1295-4272-9138-f99709370657
* Removed annoying 'Saving settings' splashBjörn Stenberg2007-10-18
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15188 a1c6a512-1295-4272-9138-f99709370657
* FS#7712 by Przemysław Hołubowski: New codepage (CP1250 - WIN1250) addedMarcoen Hirschberg2007-10-01
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14942 a1c6a512-1295-4272-9138-f99709370657
* Do not display the backdrop in text viewer and editor pluginsNils Wallménius2007-09-23
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14835 a1c6a512-1295-4272-9138-f99709370657
* Enable plugins on the Sansa C200. Large parts taken from patch FS#7749 by ↵Marianne Arnold2007-09-20
| | | | | | Max Kelley with tweaks, bit of cleanup and additional bitmaps by me. Some of the now enabled plugins could still be improved in regard to screen size adaptation or keymaps but this way it can easily be done later and one by one. The rather ugly 'ifndef's I added temporaryly in plugins/SOURCES will also go one by one. Plugin button actions cause some quirks in a few plugins (e.g. 'clock') but since it's not critical , the bitmaps were already done and it makes a good example for discussing plugin button actions, I thought it could go in. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14771 a1c6a512-1295-4272-9138-f99709370657
* fix two bugs related to no-existing settings/bookmark files and simplify the ↵Robert Kukla2007-09-13
| | | | | | viewer_load_settings() function in the process. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14680 a1c6a512-1295-4272-9138-f99709370657
* the viewer lives in the viewer dir so save settings and bookmarks there, asDaniel Stenberg2007-08-21
| | | | | | | FS#7638 points out git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14413 a1c6a512-1295-4272-9138-f99709370657
* corrected logic in expression of jdgordon's r14187 commit; should fix ↵Robert Kukla2007-08-13
| | | | | | FS#7590. Tidied up exit paths while I was at it. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14313 a1c6a512-1295-4272-9138-f99709370657
* Accept FS#5464 - organise the rocks directory. Jonathan Gordon2007-08-06
| | | | | | | If any plugins or "open with" optoins dont work please let me know... git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14214 a1c6a512-1295-4272-9138-f99709370657
* quick fix for FS#6007 (the first point, where a long line with a - would ↵Jonathan Gordon2007-08-05
| | | | | | | | | stop the rest of the file being viewed if your in narrow line mode) fix could probably be done better, but better this than the bug. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14187 a1c6a512-1295-4272-9138-f99709370657
* Rockbox compiles and boots now on the 2nd gen, but doesn't work properly yet.Jens Arnold2007-07-27
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14021 a1c6a512-1295-4272-9138-f99709370657
* Move the old api out of the core and into the plugin lib.Jonathan Gordon2007-05-08
| | | | | | | ew plugins shuold use the new api and not this one. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13358 a1c6a512-1295-4272-9138-f99709370657
* e200 viewer button changes:Jonathan Gordon2007-05-06
| | | | | | | | - rec button toggles auto-scroll - scroll wheel scrolles text up/down by lines (FS#7087) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13336 a1c6a512-1295-4272-9138-f99709370657
* Now charcell displays require lcd_update() for updating the main lcd content ↵Jens Arnold2007-04-06
| | | | | | like bitmap displays. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13050 a1c6a512-1295-4272-9138-f99709370657
* Rename some macros to account for the recently added M5 port. No code changes.Jens Arnold2007-03-16
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12809 a1c6a512-1295-4272-9138-f99709370657
* Get rid of the 'center' parameter for splashes. There were only 2 of almost ↵Jens Arnold2007-03-16
| | | | | | 500 splashes which were not centered. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12807 a1c6a512-1295-4272-9138-f99709370657
* revert FS#6747 — y-margin reset in gui_list_draw, it introduced a nasty Jonathan Gordon2007-03-11
| | | | | | | scroll bug which isnt so simple to fix. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12719 a1c6a512-1295-4272-9138-f99709370657
* Accept FS#6747 by Timo HorstschäferJonathan Gordon2007-03-10
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12704 a1c6a512-1295-4272-9138-f99709370657
* fix FS#6621 - viewer bookmarks only working for one fileJonathan Gordon2007-02-05
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12207 a1c6a512-1295-4272-9138-f99709370657
* Removed 'mode' parameter from creat(). It wasn't pure posix anyway, it was ↵Jens Arnold2007-02-01
| | | | | | ignored on target and mixed into 'oflags' in the simulator. * Simplified io.c a bit by defining a dummy O_BINARY for OSes which don't have that. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12179 a1c6a512-1295-4272-9138-f99709370657
* Start of work on a port to the Archos 'AV300' (AV320/340/380) - a working UI ↵Dave Chapman2007-01-14
| | | | | | simulator (but with a dummy background image for now) and the beginnings of the target-specific firmare code. Port is temporarily using a 2bpp LCD buffer format - the AV300 has a 320x240 colour (YCbCr-based) LCD which will need a new framebuffer format and drawing routines, but the LCD is also capable of various paletted bitmap modes, one of which has an identical framebuffer format to the greyscale ipods. Buttons (and hence the button mappings) are identical to the Archos Recorder, with the exception that the PLAY button on the Recorder is replaced by pressing the joystick on the AV300 (which I call BUTTON_SELECT). The initial port will begin by being strictly HWCODEC, but will evolve to be a hybrid SWCODEC/HWCODEC platform - it has a MAS3587F but also a main CPU (54MHz arm7tdmi plus DSP) capable of software decoding of at least some formats. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12008 a1c6a512-1295-4272-9138-f99709370657
* * Move checkbox to plugin api (core never uses it)Jonathan Gordon2006-11-19
| | | | | | | * 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
* Allow the Sansa e200 UI simulator to be built. Thanks to Andre Smith for the ↵Barry Wardell2006-10-26
| | | | | | 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
* woops, fix the errors/warningsJonathan Gordon2006-09-18
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10993 a1c6a512-1295-4272-9138-f99709370657
* viewer.rock can now remembers the last 46 viewed files and their positions, ↵Jonathan Gordon2006-09-18
| | | | | | 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
* fixes FS#6007 point 3Jonathan Gordon2006-09-17
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10972 a1c6a512-1295-4272-9138-f99709370657
* fixes FS#6007 point 2Jonathan Gordon2006-09-17
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10971 a1c6a512-1295-4272-9138-f99709370657
* woops! ok, only rmember the last 10 files, some trickery can be added later ↵Jonathan Gordon2006-09-17
| | | | | | to increase this limit git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10970 a1c6a512-1295-4272-9138-f99709370657
* re-implement bookmarking in viewer.rock, remebers the last 45.6(\!) files viewedJonathan Gordon2006-09-17
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10969 a1c6a512-1295-4272-9138-f99709370657
* Barry Wardell's keymappings for H10Daniel Stenberg2006-08-03
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10446 a1c6a512-1295-4272-9138-f99709370657
* Fix bug #5724 - Missing characters in text viewer, the number of characters ↵Linus Nielsen Feltzing2006-08-01
| | | | | | 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
* Fixes text viewer column advance when in wide mode using play+left/right ↵Mark Arigo2006-07-25
| | | | | | button combo (bug #5685) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10327 a1c6a512-1295-4272-9138-f99709370657
* Fix for uninitialized variable, caused crash when viewing a file that ↵Peter D'Hoye2006-07-15
| | | | | | 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
* To avoid having to use the main unit when accidentally launching a plugin ↵Kevin Ferrare2006-06-30
| | | | | | from the remote, plugins now support remote quit git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10157 a1c6a512-1295-4272-9138-f99709370657
* Fix wide view mode on viewerKarl Kurbjun2006-06-03
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10036 a1c6a512-1295-4272-9138-f99709370657
* got Frank Dishner's viewer patch (#4873) working again and added encoding to ↵Marcoen Hirschberg2006-05-11
| | | | | | the settings menu. Fixes #4763 and #5256 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9915 a1c6a512-1295-4272-9138-f99709370657
* Viewer: Don't say 'yes' to every option ;-) (Voice ID must be -1 for 'no clip').Jens Arnold2006-05-05
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9880 a1c6a512-1295-4272-9138-f99709370657
* Fix viewer crash due to uninitialsed usage of rb->Jens Arnold2006-05-04
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9875 a1c6a512-1295-4272-9138-f99709370657
* Text viewer: * Only show those options which really exist. * Basic button ↵Jens Arnold2006-05-03
| | | | | | 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
* Oops, fix Ondio builds.Zakk Roberts2006-05-01
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9845 a1c6a512-1295-4272-9138-f99709370657
* Patch #5056 by Jonathan Gordon, with rework and additions by me: Updated ↵Zakk Roberts2006-05-01
| | | | | | 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
* Oops, rename the global bool exit to doneHristo Kovachev2006-04-04
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9490 a1c6a512-1295-4272-9138-f99709370657
* Patch #5011 by Peter K. Cawley: added playback_control menu in text viewer ↵Hristo Kovachev2006-04-04
| | | | | | plugin git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9488 a1c6a512-1295-4272-9138-f99709370657