Commit graph

91 commits

Author SHA1 Message Date
Rob Purchase
297e0504da FS#8708: D2/m:robe500 touchscreen keymaps by Andreas Mueller.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17261 a1c6a512-1295-4272-9138-f99709370657
2008-04-27 15:30:19 +00:00
Jonathan Gordon
33b785e40b allow the plugin playback control menu to be put in a viewport.
fix text editor so it is actually possible to get to the control menu if the file hasnt been changed (its in the regular menu now)


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17221 a1c6a512-1295-4272-9138-f99709370657
2008-04-23 10:28:34 +00:00
Rob Purchase
554d7ed902 D2: Enable plugin building (using initial keymaps from FS#8708 by Andreas Mueller, with some tweaks).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16751 a1c6a512-1295-4272-9138-f99709370657
2008-03-22 22:03:34 +00:00
Jens Arnold
29361abf74 Adapt most single-file plugins to the M3 keypad and screen. It's still preliminary, as many plugins now can't be left without the remote. The plugins need to be converted to use the action API (but not pluginlib actions). Plugins are not enabled yet. * Simplify the bitmap handling in the source of some plugins.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16737 a1c6a512-1295-4272-9138-f99709370657
2008-03-22 10:24:28 +00:00
Robert Kukla
d6c8b57b50 M:Robe 100: add button definition/bitmaps to plugins and enable compilation
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16469 a1c6a512-1295-4272-9138-f99709370657
2008-03-01 22:55:09 +00:00
Will Robertson
8215b34fdb Plugins now enabled and working for the Gigabeat S.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16323 a1c6a512-1295-4272-9138-f99709370657
2008-02-17 12:23:02 +00:00
Dave Chapman
d7d073ac1b Reverse the behaviour of the scrollwheel (i.e. fwd/clockwise is down, back/anti-clockwise is up) in the text viewer for the Sansa. This was accidentally changed in r16045
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16096 a1c6a512-1295-4272-9138-f99709370657
2008-01-17 11:29:14 +00:00
Jonathan Gordon
81ba146706 Accept FS#8341 - rename BUTTON_SCROLL_UP/DOWN to FWD/BACK on the e200 to make it consistant with the ipods. apart from removing a bit of confusion, it fixes the wheel in pictureflow and possibly elsewhere.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16045 a1c6a512-1295-4272-9138-f99709370657
2008-01-10 08:08:31 +00:00
Marcoen Hirschberg
b3f155d6a1 don't show the scrollbar after turning it off in the menu.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15775 a1c6a512-1295-4272-9138-f99709370657
2007-11-23 15:42:08 +00:00
Marcoen Hirschberg
73d514f1c1 remove debug leftover
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15771 a1c6a512-1295-4272-9138-f99709370657
2007-11-23 09:47:26 +00:00
Marcoen Hirschberg
f8232e738f use the plugin buffer instead of the static one
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15770 a1c6a512-1295-4272-9138-f99709370657
2007-11-23 09:11:11 +00:00
Marcoen Hirschberg
3f6461acfc rearrange the initialization a bit. also fixes the disappearing scrollbar.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15769 a1c6a512-1295-4272-9138-f99709370657
2007-11-23 09:11:09 +00:00
Dave Chapman
14ac7cafc8 0 is also a valid file descriptor
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15749 a1c6a512-1295-4272-9138-f99709370657
2007-11-22 00:32:50 +00:00
Björn Stenberg
e2e287d80e Removed annoying splash
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15746 a1c6a512-1295-4272-9138-f99709370657
2007-11-21 23:36:30 +00:00
Marcoen Hirschberg
852cf58f36 access memcpy through the plugin api..
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15702 a1c6a512-1295-4272-9138-f99709370657
2007-11-19 21:14:42 +00:00
Marcoen Hirschberg
2b30bf9eac check separately if the preferences and the bookmark need to be saved
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15701 a1c6a512-1295-4272-9138-f99709370657
2007-11-19 20:51:42 +00:00
Marcoen Hirschberg
77af93b2cd write a correct bookmark file when the viewer loads so we can safely skip the write on exit
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15700 a1c6a512-1295-4272-9138-f99709370657
2007-11-19 20:51:38 +00:00
Marcoen Hirschberg
cb62c97054 prevent useless file reads
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15695 a1c6a512-1295-4272-9138-f99709370657
2007-11-19 16:46:39 +00:00
Marcoen Hirschberg
4c62c00f99 don't save the viewer position if it hasn't changed
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15689 a1c6a512-1295-4272-9138-f99709370657
2007-11-19 16:02:45 +00:00
Jonathan Gordon
56ddddc274 make the first bunch of plugins compile for the mrobe. an earlier commit broke the loading though, need to sort that out
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15282 a1c6a512-1295-4272-9138-f99709370657
2007-10-23 15:40:51 +00:00
Björn Stenberg
7ed7c840da Removed annoying 'Saving settings' splash
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15188 a1c6a512-1295-4272-9138-f99709370657
2007-10-18 12:23:45 +00:00
Marcoen Hirschberg
ded94e69c4 FS#7712 by Przemysław Hołubowski: New codepage (CP1250 - WIN1250) added
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14942 a1c6a512-1295-4272-9138-f99709370657
2007-10-01 17:16:31 +00:00
Nils Wallménius
d969a420b6 Do not display the backdrop in text viewer and editor plugins
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14835 a1c6a512-1295-4272-9138-f99709370657
2007-09-23 19:15:56 +00:00
Marianne Arnold
12ddb8ea0d Enable plugins on the Sansa C200. Large parts taken from patch FS#7749 by 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
2007-09-20 10:49:48 +00:00
Robert Kukla
c9a00ab3ac fix two bugs related to no-existing settings/bookmark files and simplify the viewer_load_settings() function in the process.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14680 a1c6a512-1295-4272-9138-f99709370657
2007-09-13 00:18:28 +00:00
Daniel Stenberg
c9ee05280c the viewer lives in the viewer dir so save settings and bookmarks there, as
FS#7638 points out


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14413 a1c6a512-1295-4272-9138-f99709370657
2007-08-21 21:15:32 +00:00
Robert Kukla
2ae0d63c88 corrected logic in expression of jdgordon's r14187 commit; should fix 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
2007-08-13 13:53:33 +00:00
Jonathan Gordon
fda7d720c0 Accept FS#5464 - organise the rocks directory.
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
2007-08-06 13:42:52 +00:00
Jonathan Gordon
739f0ecd94 quick fix for FS#6007 (the first point, where a long line with a - would 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
2007-08-05 04:16:21 +00:00
Jens Arnold
b701322fea Rockbox compiles and boots now on the 2nd gen, but doesn't work properly yet.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14021 a1c6a512-1295-4272-9138-f99709370657
2007-07-27 09:57:27 +00:00
Jonathan Gordon
77a458a464 Move the old api out of the core and into the plugin lib.
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
2007-05-08 11:55:43 +00:00
Jonathan Gordon
0e8a9e4eb7 e200 viewer button changes:
- 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
2007-05-06 15:41:10 +00:00
Jens Arnold
f9b90e9103 Now charcell displays require lcd_update() for updating the main lcd content like bitmap displays.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13050 a1c6a512-1295-4272-9138-f99709370657
2007-04-06 22:55:00 +00:00
Jens Arnold
85a226d4e7 Rename some macros to account for the recently added M5 port. No code changes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12809 a1c6a512-1295-4272-9138-f99709370657
2007-03-16 23:02:39 +00:00
Jens Arnold
4d6374c923 Get rid of the 'center' parameter for splashes. There were only 2 of almost 500 splashes which were not centered.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12807 a1c6a512-1295-4272-9138-f99709370657
2007-03-16 21:56:08 +00:00
Jonathan Gordon
f83d6eb145 revert FS#6747 — y-margin reset in gui_list_draw, it introduced a nasty
scroll bug which isnt so simple to fix.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12719 a1c6a512-1295-4272-9138-f99709370657
2007-03-11 08:05:05 +00:00
Jonathan Gordon
a990ff2920 Accept FS#6747 by Timo Horstschäfer
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12704 a1c6a512-1295-4272-9138-f99709370657
2007-03-10 12:43:21 +00:00
Jonathan Gordon
3d43828f53 fix FS#6621 - viewer bookmarks only working for one file
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12207 a1c6a512-1295-4272-9138-f99709370657
2007-02-05 13:29:50 +00:00
Jens Arnold
67eb154146 Removed 'mode' parameter from creat(). It wasn't pure posix anyway, it was 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
2007-02-01 23:08:15 +00:00
Dave Chapman
d64e626387 Start of work on a port to the Archos 'AV300' (AV320/340/380) - a working UI 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
2007-01-14 13:48:09 +00:00
Jonathan Gordon
6288523cfe * Move checkbox to plugin api (core never uses it)
* 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-11-19 14:11:42 +00:00
Barry Wardell
24f4a2a8cf Allow the Sansa e200 UI simulator to be built. Thanks to Andre Smith for the 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-10-26 13:38:09 +00:00
Jonathan Gordon
e946c9e906 woops, fix the errors/warnings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10993 a1c6a512-1295-4272-9138-f99709370657
2006-09-18 15:46:06 +00:00
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