Thomas Martitz
0a1d7c28b7
Make open() posix compliant api-wise. A few calls (those with O_CREAT) need 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
2010-05-06 17:35:13 +00:00
Marcin Bukat
b09d3aec39
Add MPIO HD200 port - changed files
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25724 a1c6a512-1295-4272-9138-f99709370657
2010-04-26 21:40:00 +00:00
Tomer Shalev
886cd3fb85
Text viewer: Fix wrong calculation of bookmark's position (introduced by r25611)
...
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
2010-04-12 21:15:10 +00:00
Tomer Shalev
1a94554fd7
Text viewer: Fix FS#11190 - Text Viewer shows no Text when skipping to last page
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25612 a1c6a512-1295-4272-9138-f99709370657
2010-04-12 19:28:41 +00:00
Tomer Shalev
305dd65650
Text viewer: Make calculation clearer
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25611 a1c6a512-1295-4272-9138-f99709370657
2010-04-12 19:25:28 +00:00
Tomer Shalev
199f3bd7c2
Text viewer: Remove unused max_line_len variable
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25610 a1c6a512-1295-4272-9138-f99709370657
2010-04-12 19:24:05 +00:00
Yoshihisa Uchida
5209ed44a0
fix yellow
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25606 a1c6a512-1295-4272-9138-f99709370657
2010-04-12 12:15:35 +00:00
Yoshihisa Uchida
bc28939e04
viewer plugin: when the alignment is RIGHT, supports WIDE screen.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25605 a1c6a512-1295-4272-9138-f99709370657
2010-04-12 12:02:05 +00:00
Yoshihisa Uchida
9d633740a4
viewer plugin: when the setting file loads or saves, converts to new version settings file.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25583 a1c6a512-1295-4272-9138-f99709370657
2010-04-11 06:39:37 +00:00
Yoshihisa Uchida
0f6e79a227
The version of the setting files are raised.
...
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
2010-04-10 08:58:37 +00:00
Tomer Shalev
0b476f75f1
Text viewer: When loading settings and prefs font loading fails, not only
...
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
2010-04-09 06:26:33 +00:00
Tomer Shalev
c3f131de06
Text viewer: Handle font loading failures
...
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
2010-04-08 21:56:03 +00:00
Tomer Shalev
c3588daa29
Text viewer: Fix yellow
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25519 a1c6a512-1295-4272-9138-f99709370657
2010-04-07 18:14:02 +00:00
Tomer Shalev
8b2ec40a55
FS#11185 - Text viewer returns div by 0 if font is missing, renamed or corrupted
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25517 a1c6a512-1295-4272-9138-f99709370657
2010-04-07 18:06:47 +00:00
Tomer Shalev
2434a92b60
Text viewer: Fix red
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25516 a1c6a512-1295-4272-9138-f99709370657
2010-04-07 17:27:19 +00:00
Tomer Shalev
9e4bd41e41
Text viewer: Fix RTL languages and diacritic characters support
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25515 a1c6a512-1295-4272-9138-f99709370657
2010-04-07 17:22:16 +00:00
Tomer Shalev
8b904e2bb4
Text viewer: Replace macros with inline functions (which are about to be extended in the following commits)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25514 a1c6a512-1295-4272-9138-f99709370657
2010-04-07 17:19:55 +00:00
Tomer Shalev
885863571f
Text viewer: Use exact width for lcd_fillrect (no actuall change)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25513 a1c6a512-1295-4272-9138-f99709370657
2010-04-07 17:15:24 +00:00
Tomer Shalev
c8ab419ed7
Text viewer: Make global variables static
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25512 a1c6a512-1295-4272-9138-f99709370657
2010-04-07 17:12:20 +00:00
Tomer Shalev
c56d2b50b3
Text viewer: Fix limit calculation in col_limit() which maximizes overlapping in wide mode
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25511 a1c6a512-1295-4272-9138-f99709370657
2010-04-07 17:11:09 +00:00
Tomer Shalev
eeb0c088fe
Text viewer: Fix possible memory corruption
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25510 a1c6a512-1295-4272-9138-f99709370657
2010-04-07 17:06:32 +00:00
Tomer Shalev
1709d72eb4
Text viewer: Documentation and code cosmetics (no functional changes)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25509 a1c6a512-1295-4272-9138-f99709370657
2010-04-07 17:04:30 +00:00
Tomer Shalev
4c7a16b43c
Viewer: Implement alignment option, to provide alignment of RTL text (Hebrew, Arabic) to the right
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25400 a1c6a512-1295-4272-9138-f99709370657
2010-03-30 17:09:04 +00:00
Torne Wuff
3cd7f76094
Prevent accidental skipping to beginning/end of file in text viewer.
...
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
2010-03-20 21:09:01 +00:00
Yoshihisa Uchida
26d52b9133
Ondavx747/777 fix red.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25235 a1c6a512-1295-4272-9138-f99709370657
2010-03-17 11:42:35 +00:00
Yoshihisa Uchida
7231bdf5e2
fix red
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25234 a1c6a512-1295-4272-9138-f99709370657
2010-03-17 11:27:29 +00:00
Yoshihisa Uchida
4e8f200db9
text viewer plugin applies patches FS#8445, FS#9546, FS#9853, FS#9855, 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
2010-03-17 11:17:56 +00:00
Tomer Shalev
6543b8629e
Viewer: Fix red cause by stupid lack of attention
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24897 a1c6a512-1295-4272-9138-f99709370657
2010-02-24 21:47:15 +00:00
Tomer Shalev
04e3eb0c54
FS#10552 - Cowon D2: pgup/pgdn on minus/plus buttons in text viewer
...
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
2010-02-24 21:38:15 +00:00
Szymon Dziok
05577e48a8
Packard Bell Vibe 500: Start committing plugin keymaps.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24610 a1c6a512-1295-4272-9138-f99709370657
2010-02-11 22:40:17 +00:00
Teruaki Kawashima
dc010201a5
make sure plugin reset backlight setting before exit. do code polish.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24076 a1c6a512-1295-4272-9138-f99709370657
2009-12-18 14:17:28 +00:00
Tomer Shalev
47ddbaa47b
Cowon D2: Rename COWOND2_PAD -> COWON_D2_PAD to match macro used in manual, and
...
to target naming conventions in general
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24010 a1c6a512-1295-4272-9138-f99709370657
2009-12-15 20:51:41 +00:00
Teruaki Kawashima
5cdd920d12
Correct checking return value of open in plugins.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23874 a1c6a512-1295-4272-9138-f99709370657
2009-12-06 13:52:28 +00:00
Robert Menes
29d20d8068
Another round of plugin keymaps for the Philips GoGear SA9200.
...
Just a few more to go...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23838 a1c6a512-1295-4272-9138-f99709370657
2009-12-03 23:13:45 +00:00
Maurus Cuelenaere
9680244f4a
* Fix plugin keymaps for VX777
...
* 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
2009-08-31 21:11:32 +00:00
Maurus Cuelenaere
a06f287c81
* Fix red
...
* Make scrollbar width range from 3 -> LCD_WIDTH/10
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22389 a1c6a512-1295-4272-9138-f99709370657
2009-08-17 23:05:45 +00:00
Maurus Cuelenaere
00b6048141
Don't redefine SCROLLBAR_WIDTH (aka fix yellow)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22388 a1c6a512-1295-4272-9138-f99709370657
2009-08-17 22:47:05 +00:00
Michael Giacomelli
594b6e2b49
Commit FS#10251. Plugins for the YH-820, YH-920, and YH-925 by Jens Erdmann with improvements and bitmap graphics by me.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22149 a1c6a512-1295-4272-9138-f99709370657
2009-08-04 03:08:32 +00:00
Teruaki Kawashima
edfcc10876
Correct return value of function get_ucs, position of next character, in 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
2009-07-10 14:06:34 +00:00
Jonathan Gordon
af9f405651
Accept FS#10094 by Teruaki Kawashima:
...
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
2009-06-16 04:25:21 +00:00
Thomas Martitz
e6cbad6974
FS#10075 - FUZE: QUIT Plugin by selecting BUTTON_HOME by Johannes Schwarz. 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
2009-04-10 17:28:26 +00:00
Maurus Cuelenaere
fef405c328
Enable plugins on the Onda VX747
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20647 a1c6a512-1295-4272-9138-f99709370657
2009-04-07 23:41:44 +00:00
Mark Arigo
2490262eee
Plugins for the Philips HDD1630. The keymaps are largely untested on the device (patches welcome).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19846 a1c6a512-1295-4272-9138-f99709370657
2009-01-24 22:41:55 +00:00
Andrew Mahone
23d9812273
loader-initialized global plugin API:
...
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
2009-01-16 10:34:40 +00:00
Björn Stenberg
a36cdf5b37
Removed the sim_ prefix from the plugin api.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19704 a1c6a512-1295-4272-9138-f99709370657
2009-01-07 09:53:46 +00:00
Michael Giacomelli
6d5823f964
Commit FS#9617 - Keymaps for Plugins fuze by Thomas Martitz.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19673 a1c6a512-1295-4272-9138-f99709370657
2009-01-04 23:33:15 +00:00
Dominik Wenger
90bcf9be5e
m200v4: rename Keys, so they match better other targets with similar 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
2008-12-12 19:50:49 +00:00
Björn Stenberg
af078b4f86
Cleaned up codepage handling, by Yoshihisa Uchida. (FS#9349)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19339 a1c6a512-1295-4272-9138-f99709370657
2008-12-04 22:00:12 +00:00
Björn Stenberg
cea285d64e
Added keymaps for ZVM to plugins. Enabled zvm plugin building in tools/configure. FS#9605 by Adam Hogan and Robert Menes.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19335 a1c6a512-1295-4272-9138-f99709370657
2008-12-04 21:28:56 +00:00
Rafaël Carré
5656f8245f
Sansa Clip: build plugins (FS#9578)
...
Use unmodified C200 keymap when possible, variation of it when not
Use Archos bitmaps when possible
Current problems:
- Pegbox plugin shows display corruption (corruption is different in the simulator)
- Bubbles plugin misses 1 or 2 bottom lines, but if we gain back these lines it occupies a too small area of the screen
- Splitted screen (yellow/blue) is a bit weird in most plugins
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19252 a1c6a512-1295-4272-9138-f99709370657
2008-11-28 00:37:28 +00:00