summaryrefslogtreecommitdiff
path: root/apps/plugins/viewer.c (follow)
Commit message (Collapse)AuthorAge
* remove old text viewer plugin (viewer.rock).Yoshihisa Uchida2010-06-05
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26576 a1c6a512-1295-4272-9138-f99709370657
* Fix size_t handling in plugin_get_buffer()Frank Gevaerts2010-05-07
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25884 a1c6a512-1295-4272-9138-f99709370657
* Make open() posix compliant api-wise. A few calls (those with O_CREAT) need ↵Thomas Martitz2010-05-06
| | | | | | the additional optional mode parameter so add it. Impact for the core is almost zero, as open() is a wrapper macro for the real open function which doesn't take the variable parameter. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25844 a1c6a512-1295-4272-9138-f99709370657
* Add MPIO HD200 port - changed filesMarcin Bukat2010-04-26
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25724 a1c6a512-1295-4272-9138-f99709370657
* Text viewer: Fix wrong calculation of bookmark's position (introduced by r25611)Tomer Shalev2010-04-12
| | | | | | | Also change message shown for bookmark operations and add comment git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25614 a1c6a512-1295-4272-9138-f99709370657
* Text viewer: Fix FS#11190 - Text Viewer shows no Text when skipping to last pageTomer Shalev2010-04-12
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25612 a1c6a512-1295-4272-9138-f99709370657
* Text viewer: Make calculation clearerTomer Shalev2010-04-12
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25611 a1c6a512-1295-4272-9138-f99709370657
* Text viewer: Remove unused max_line_len variableTomer Shalev2010-04-12
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25610 a1c6a512-1295-4272-9138-f99709370657
* fix yellowYoshihisa Uchida2010-04-12
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25606 a1c6a512-1295-4272-9138-f99709370657
* viewer plugin: when the alignment is RIGHT, supports WIDE screen.Yoshihisa Uchida2010-04-12
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25605 a1c6a512-1295-4272-9138-f99709370657
* viewer plugin: when the setting file loads or saves, converts to new version ↵Yoshihisa Uchida2010-04-11
| | | | | | settings file. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25583 a1c6a512-1295-4272-9138-f99709370657
* The version of the setting files are raised.Yoshihisa Uchida2010-04-10
| | | | | | Settings can be normally read even by the old setting file. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25563 a1c6a512-1295-4272-9138-f99709370657
* Text viewer: When loading settings and prefs font loading fails, not onlyTomer Shalev2010-04-09
| | | | | | | | | | refert to the global settings font, but also set the viewer prefs font to that font, so that when the user re-opens the viewer no warning will appear again, and also so that when the user selects new font, the currenly used font will be selected git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25550 a1c6a512-1295-4272-9138-f99709370657
* Text viewer: Handle font loading failuresTomer Shalev2010-04-08
| | | | | | | | | | When font load fails, revert by loading to the previous font or to the global settings font. Fixes FS#11185 - Text viewer returns div by 0 if font is missing, renamed or corrupted git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25544 a1c6a512-1295-4272-9138-f99709370657
* Text viewer: Fix yellowTomer Shalev2010-04-07
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25519 a1c6a512-1295-4272-9138-f99709370657
* FS#11185 - Text viewer returns div by 0 if font is missing, renamed or corruptedTomer Shalev2010-04-07
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25517 a1c6a512-1295-4272-9138-f99709370657
* Text viewer: Fix redTomer Shalev2010-04-07
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25516 a1c6a512-1295-4272-9138-f99709370657
* Text viewer: Fix RTL languages and diacritic characters supportTomer Shalev2010-04-07
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25515 a1c6a512-1295-4272-9138-f99709370657
* Text viewer: Replace macros with inline functions (which are about to be ↵Tomer Shalev2010-04-07
| | | | | | extended in the following commits) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25514 a1c6a512-1295-4272-9138-f99709370657
* Text viewer: Use exact width for lcd_fillrect (no actuall change)Tomer Shalev2010-04-07
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25513 a1c6a512-1295-4272-9138-f99709370657
* Text viewer: Make global variables staticTomer Shalev2010-04-07
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25512 a1c6a512-1295-4272-9138-f99709370657
* Text viewer: Fix limit calculation in col_limit() which maximizes ↵Tomer Shalev2010-04-07
| | | | | | overlapping in wide mode git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25511 a1c6a512-1295-4272-9138-f99709370657
* Text viewer: Fix possible memory corruptionTomer Shalev2010-04-07
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25510 a1c6a512-1295-4272-9138-f99709370657
* Text viewer: Documentation and code cosmetics (no functional changes)Tomer Shalev2010-04-07
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25509 a1c6a512-1295-4272-9138-f99709370657
* Viewer: Implement alignment option, to provide alignment of RTL text ↵Tomer Shalev2010-03-30
| | | | | | (Hebrew, Arabic) to the right git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25400 a1c6a512-1295-4272-9138-f99709370657
* Prevent accidental skipping to beginning/end of file in text viewer.Torne Wuff2010-03-20
| | | | | | | | | When the text viewer is not in wide mode, the buttons mapped to move the screen left and right instead jump to the top and bottom of the file. This is very easy to do by accident on most targets, causing you to lose your place. This change requires that the button be held for a long press before it jumps to the top/bottom; short presses simply trigger paging up and down by one page. There is no change in behaviour when wide mode is enabled. Based on an idea from FS#2648 but implemented differently. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25262 a1c6a512-1295-4272-9138-f99709370657
* Ondavx747/777 fix red.Yoshihisa Uchida2010-03-17
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25235 a1c6a512-1295-4272-9138-f99709370657
* fix redYoshihisa Uchida2010-03-17
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25234 a1c6a512-1295-4272-9138-f99709370657
* text viewer plugin applies patches FS#8445, FS#9546, FS#9853, FS#9855, ↵Yoshihisa Uchida2010-03-17
| | | | | | FS#9892, FS#9893, FS#9898, FS#9902, and FS#9990. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25233 a1c6a512-1295-4272-9138-f99709370657
* Viewer: Fix red cause by stupid lack of attentionTomer Shalev2010-02-24
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24897 a1c6a512-1295-4272-9138-f99709370657
* FS#10552 - Cowon D2: pgup/pgdn on minus/plus buttons in text viewerTomer Shalev2010-02-24
| | | | | | | | | | | | Author: Nemtsev Alexey Changes that were not part of the original patch: - Updated corresponding manual entry - Added support for having both buttons and touchscreen mapping to the same action git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24896 a1c6a512-1295-4272-9138-f99709370657
* Packard Bell Vibe 500: Start committing plugin keymaps.Szymon Dziok2010-02-11
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24610 a1c6a512-1295-4272-9138-f99709370657
* make sure plugin reset backlight setting before exit. do code polish.Teruaki Kawashima2009-12-18
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24076 a1c6a512-1295-4272-9138-f99709370657
* Cowon D2: Rename COWOND2_PAD -> COWON_D2_PAD to match macro used in manual, andTomer Shalev2009-12-15
| | | | | | | to target naming conventions in general git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24010 a1c6a512-1295-4272-9138-f99709370657
* Correct checking return value of open in plugins.Teruaki Kawashima2009-12-06
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23874 a1c6a512-1295-4272-9138-f99709370657
* Another round of plugin keymaps for the Philips GoGear SA9200.Robert Menes2009-12-03
| | | | | | | Just a few more to go... git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23838 a1c6a512-1295-4272-9138-f99709370657
* * Fix plugin keymaps for VX777Maurus Cuelenaere2009-08-31
| | | | | | | | | * Enable plugins for VX777 * Fix VX777 simulator All done by Aaron DeMille. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22576 a1c6a512-1295-4272-9138-f99709370657
* * Fix redMaurus Cuelenaere2009-08-17
| | | | | | | * Make scrollbar width range from 3 -> LCD_WIDTH/10 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22389 a1c6a512-1295-4272-9138-f99709370657
* Don't redefine SCROLLBAR_WIDTH (aka fix yellow)Maurus Cuelenaere2009-08-17
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22388 a1c6a512-1295-4272-9138-f99709370657
* Commit FS#10251. Plugins for the YH-820, YH-920, and YH-925 by Jens Erdmann ↵Michael Giacomelli2009-08-04
| | | | | | with improvements and bitmap graphics by me. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22149 a1c6a512-1295-4272-9138-f99709370657
* Correct return value of function get_ucs, position of next character, in ↵Teruaki Kawashima2009-07-10
| | | | | | viewer plugin (FS #9387, patch by Yoshihisa Uchida, small modification by me). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21743 a1c6a512-1295-4272-9138-f99709370657
* Accept FS#10094 by Teruaki Kawashima:Jonathan Gordon2009-06-16
| | | | | | | Replace the old menu API with the "new" one (a very long time overdue so huge thanks for the work.) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21306 a1c6a512-1295-4272-9138-f99709370657
* FS#10075 - FUZE: QUIT Plugin by selecting BUTTON_HOME by Johannes Schwarz. ↵Thomas Martitz2009-04-10
| | | | | | Updates the plugin keymap to use Long Home to exit plugins to be more inline with the core keymap. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20680 a1c6a512-1295-4272-9138-f99709370657
* Enable plugins on the Onda VX747Maurus Cuelenaere2009-04-07
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20647 a1c6a512-1295-4272-9138-f99709370657
* Plugins for the Philips HDD1630. The keymaps are largely untested on the ↵Mark Arigo2009-01-24
| | | | | | device (patches welcome). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19846 a1c6a512-1295-4272-9138-f99709370657
* loader-initialized global plugin API:Andrew Mahone2009-01-16
| | | | | | | | | | | | | | | | | struct plugin_api *rb is declared in PLUGIN_HEADER, and pointed to by __header.api the loader uses this pointer to initialize rb before calling entry_point entry_point is no longer passed a pointer to the plugin API all plugins, and pluginlib functions, are modified to refer to the global rb pluginlib functions which only served to copy the API pointer are removed git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19776 a1c6a512-1295-4272-9138-f99709370657
* Removed the sim_ prefix from the plugin api.Björn Stenberg2009-01-07
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19704 a1c6a512-1295-4272-9138-f99709370657
* Commit FS#9617 - Keymaps for Plugins fuze by Thomas Martitz.Michael Giacomelli2009-01-04
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19673 a1c6a512-1295-4272-9138-f99709370657
* m200v4: rename Keys, so they match better other targets with similar ↵Dominik Wenger2008-12-12
| | | | | | key-layout. Enable plugins, add keymaps for plugins. More keymap improvements needed. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19405 a1c6a512-1295-4272-9138-f99709370657
* Cleaned up codepage handling, by Yoshihisa Uchida. (FS#9349)Björn Stenberg2008-12-04
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19339 a1c6a512-1295-4272-9138-f99709370657