Commit graph

3503 commits

Author SHA1 Message Date
Rafaël Carré
68e363b18f rockboy: simplify build condition
it builds for all current plugin buffer sizes

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27506 a1c6a512-1295-4272-9138-f99709370657
2010-07-21 06:05:51 +00:00
Frank Gevaerts
63011c6743 Revert accidental commit of "%z" support in r26071 (the implementation assumed size_t==long, which is not always the case in hosted environments)
Remove four remaining uses of %z, three of which were in DEBUGF


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27479 a1c6a512-1295-4272-9138-f99709370657
2010-07-18 12:42:47 +00:00
Teruaki Kawashima
ddbfffb217 improve displaying of string containing diacritic characters. add some characters to determine the position to break line.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27401 a1c6a512-1295-4272-9138-f99709370657
2010-07-12 14:59:16 +00:00
Teruaki Kawashima
8e68e223a4 text_editor: make functions and variables static. slightly reduce plugin size.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27400 a1c6a512-1295-4272-9138-f99709370657
2010-07-12 14:29:40 +00:00
Teruaki Kawashima
a874f77e18 text_viewer: remove unneeded code.
viewportmanager_theme_enable() sets values to passed viewport by viewport_set_defaults(), so no need to call sb_skin_get_info_vp() or viewport_set_defaults().

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27399 a1c6a512-1295-4272-9138-f99709370657
2010-07-12 13:38:40 +00:00
Rafaël Carré
aa3c676945 pdbox: avoid making own DEBUG clash with rockbox define
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27388 a1c6a512-1295-4272-9138-f99709370657
2010-07-11 16:46:49 +00:00
Rafaël Carré
9122e525cc lua: make DEBUG undefined by default, as doc states
use #ifdef / #ifndef and not #if / #if !

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27387 a1c6a512-1295-4272-9138-f99709370657
2010-07-11 16:46:45 +00:00
Thomas Martitz
57613ea5fa Rename/change SIMVER to APP_TYPE in the Makefiles.
SIMVER was really only used to detect a simulator build. With APP_TYPE you can
now differentiate between simulator, application, checkwps and database builds.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27372 a1c6a512-1295-4272-9138-f99709370657
2010-07-10 13:49:49 +00:00
Wincent Balin
9bb36b0c8e pdbox: Now backlight does not fade out -- making music requires attention.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27368 a1c6a512-1295-4272-9138-f99709370657
2010-07-10 06:21:21 +00:00
Yoshihisa Uchida
771dc22aa1 text viewer: fix the statusbar is displayed when the global statusbar settings is STATUSBAR_OFF.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27349 a1c6a512-1295-4272-9138-f99709370657
2010-07-08 14:17:04 +00:00
Yoshihisa Uchida
bc46541bcd plugin api: delete sb_skin_update().
text viewer: use send_event() instead of sb_skin_update(). thanks to teru.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27348 a1c6a512-1295-4272-9138-f99709370657
2010-07-08 13:54:28 +00:00
Rafaël Carré
d245d83af5 battery_bench: make log time start at 0 (since plugin started)
Print current rockbox uptime when the plugin was started
Make some lines start with '#' so they are not plotted by gnuplot

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27339 a1c6a512-1295-4272-9138-f99709370657
2010-07-07 18:17:37 +00:00
Yoshihisa Uchida
276dfa23b6 text viewer: fixed the following bugs.
- the statusbar of the preferences is not correct when the settings file loads.
- overlaps the statusbar of the skin and default one. (FS#11455)

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27334 a1c6a512-1295-4272-9138-f99709370657
2010-07-07 12:07:23 +00:00
Teruaki Kawashima
851e06617b lrcplayer:
* fix possible infinite loop in save_changes(). hopefully fix FS#11457.
* use .lrc file instead of .lrc8 file when saveing changes to the lyrics read from id3 tag.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27305 a1c6a512-1295-4272-9138-f99709370657
2010-07-06 13:46:32 +00:00
Michael Giacomelli
35717ec06e Commit FS#11458 by me. Fixes test_codec to work on files larger then the available audio buffer. Allows test_codec to work normally on the AMS Sansas as well as D2, etc.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27303 a1c6a512-1295-4272-9138-f99709370657
2010-07-06 00:11:30 +00:00
Yoshihisa Uchida
d265bcf965 text viewer: fixed StatusBar randomly appears (FS#11455).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27293 a1c6a512-1295-4272-9138-f99709370657
2010-07-05 12:14:26 +00:00
Michael Giacomelli
fe4713f0cf Move the test and benchmark plugins to the top of the viewers list, since if someone compiles a build with them, they're probably going to use them frequently. Shouldn't change anything for normal builds.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27289 a1c6a512-1295-4272-9138-f99709370657
2010-07-05 03:16:59 +00:00
Wincent Balin
38fe596cd5 pdbox: Optimizations in the audio output code.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27288 a1c6a512-1295-4272-9138-f99709370657
2010-07-05 01:35:04 +00:00
Wincent Balin
d5342fd129 pdbox: Added Sansa e200 to supported devices.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27287 a1c6a512-1295-4272-9138-f99709370657
2010-07-05 01:31:57 +00:00
Wincent Balin
53425ad604 pdbox: Added different sampling rates based on hardware capabilities.
Also a minor code cleanup.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27286 a1c6a512-1295-4272-9138-f99709370657
2010-07-05 01:26:41 +00:00
Rafaël Carré
4acfdbc12a chessbox: fix 'i = i++', based on gnuchess4.0-pl80
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27278 a1c6a512-1295-4272-9138-f99709370657
2010-07-04 13:27:50 +00:00
Frank Gevaerts
64276fc0ff Add -lm to pdbox sim build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27261 a1c6a512-1295-4272-9138-f99709370657
2010-07-03 21:16:59 +00:00
Frank Gevaerts
b8286d45be Move -Wl,-z,defs to GLOBAL_LDOPTS (instead of GCCOPTS), to avoid noise in older gcc output when not linking
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27260 a1c6a512-1295-4272-9138-f99709370657
2010-07-03 20:58:22 +00:00
Yoshihisa Uchida
2cdf332f01 text viewer: for tv_action and tv_bookmark, the prototype of the initializer is the same arguments as other modules.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27243 a1c6a512-1295-4272-9138-f99709370657
2010-07-02 12:16:47 +00:00
Yoshihisa Uchida
426f4c1e87 text viewer: fixed garbage data are not stored in the setting file.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27240 a1c6a512-1295-4272-9138-f99709370657
2010-07-02 11:35:28 +00:00
Teruaki Kawashima
ffe8ceccf3 metronome: fix issue that backlight doesn't turn off.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27218 a1c6a512-1295-4272-9138-f99709370657
2010-07-01 13:35:16 +00:00
Teruaki Kawashima
f06f6543c6 text editor: use plugin_get_buffer() to allocate buffer. if size of the file is bigger than the buffer, use the audio buffer.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27213 a1c6a512-1295-4272-9138-f99709370657
2010-07-01 12:08:47 +00:00
Yoshihisa Uchida
ea09608012 text viewer:
- if the file fits on one screen, there is no horizontal scrollbar.
- the callback function in tv_reader doesn't do useless processing when the preferences changes.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27212 a1c6a512-1295-4272-9138-f99709370657
2010-07-01 11:31:28 +00:00
Michael Sevakis
ceab0b04eb PacBox: Premultiply sound prom data on load rather than during emulation. Use 16-bit data for 'raw' output instead of int.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27208 a1c6a512-1295-4272-9138-f99709370657
2010-07-01 03:57:37 +00:00
Michael Sevakis
2cfa7ba746 Fix r27202 red. MCF5249 plugin IRAM is already very occupied.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27203 a1c6a512-1295-4272-9138-f99709370657
2010-07-01 00:46:15 +00:00
Michael Sevakis
cf73340f1e Enable game sounds in PacBox. Sound is OFF by default but can be enabled from the menu. Enable a function for SWCODEC in the middle of the plugin API, so plugins must be made incompatible (full update).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27202 a1c6a512-1295-4272-9138-f99709370657
2010-07-01 00:26:01 +00:00
Yoshihisa Uchida
6fa312b221 text viewer: the display of the statusbar is synchronized actual battery, time, etc. and deletes unnecessary lcd_set_backdrop().
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27194 a1c6a512-1295-4272-9138-f99709370657
2010-06-30 11:49:36 +00:00
Bertrik Sikken
5565a28c7d Remove some redundant #include's
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27183 a1c6a512-1295-4272-9138-f99709370657
2010-06-29 20:13:22 +00:00
Teruaki Kawashima
5af120f1cb some improvements for simple viewer.
* displays a scrollbar if there is more text than currently displayed.
* enables to scroll text by scrollwheel.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27175 a1c6a512-1295-4272-9138-f99709370657
2010-06-29 13:33:19 +00:00
Yoshihisa Uchida
470226dbbf text viewer: some members of preferences change to bool. And simplify menu setting functions.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27174 a1c6a512-1295-4272-9138-f99709370657
2010-06-29 12:23:41 +00:00
Yoshihisa Uchida
25f44c2e1f text viewer: move and delete #include.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27173 a1c6a512-1295-4272-9138-f99709370657
2010-06-29 11:37:58 +00:00
Yoshihisa Uchida
07d03729ff text_viewer: callback functions are changed to the function that returns int value.
And the text viewer quits when the problem occurs by callback functions.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27172 a1c6a512-1295-4272-9138-f99709370657
2010-06-29 11:05:36 +00:00
Michael Sevakis
7195f3a30c r27159 broke mpegplayer but not the mpa codec because its libmad init wasn't also updated to be compatible with the changes. Fix that.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27171 a1c6a512-1295-4272-9138-f99709370657
2010-06-29 10:07:04 +00:00
Yoshihisa Uchida
cf6554d891 text viewer: tv_window doesn't depend on the layout of the text viewer.
And display functions change the following.
- some functions change to static functions.
- fix the problem that font_changing flag is invalid value.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27165 a1c6a512-1295-4272-9138-f99709370657
2010-06-28 11:17:47 +00:00
Yoshihisa Uchida
668914b597 fix yellow.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27155 a1c6a512-1295-4272-9138-f99709370657
2010-06-27 11:45:12 +00:00
Yoshihisa Uchida
b5a26851e0 text viewer: display functions more changes.
- font functions move to tv_display.
- modify tv_init_display() and add tv_finalize_display().
- viewport functions are changed from global to static.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27154 a1c6a512-1295-4272-9138-f99709370657
2010-06-27 11:36:37 +00:00
Yoshihisa Uchida
1ed3aba4f2 text viewer: simplify display functions.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27152 a1c6a512-1295-4272-9138-f99709370657
2010-06-27 08:08:33 +00:00
Alex Parker
a30c5a0a4d Correct spelling in the lrcviewer plugin. UK English please!
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27144 a1c6a512-1295-4272-9138-f99709370657
2010-06-26 15:26:33 +00:00
Yoshihisa Uchida
c72d1a656b fix red.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27143 a1c6a512-1295-4272-9138-f99709370657
2010-06-26 12:27:43 +00:00
Yoshihisa Uchida
17383c2691 text viewer: some modify text viewer's layout and preferences.
- layout: hader, footer and horizontal_scrollbar add padding.
- add member 'statusbar' in tv_preferences.
- delete HD_SBAR/HD_BOTH/FT_SBAR/FT_BOTH.
- deletes the function to check header_mode/footer_mode.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27142 a1c6a512-1295-4272-9138-f99709370657
2010-06-26 12:17:01 +00:00
Michael Sevakis
b15a523870 e200v1/c200v1: Implement limited samplerate switching. Rates 24kHz and below are being a bear as far as minor crackling at higher amplitude-- leave them out for the time being since no solution is currently evident. 48, 44, 32 (rec rates 24, 22, 16) seem perfectly fine. I'm betting c200 is ok to include because it uses the same setup as e200.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27139 a1c6a512-1295-4272-9138-f99709370657
2010-06-26 10:07:17 +00:00
Yoshihisa Uchida
ac622c6d67 text viewer: reworks screen access logics and some bugs fix.
- screen access logics separte from tv_window. (new tv_display.[ch])
- using multi screen api.
- (bug fix) the head of the each line is not normally displayed when the alignment is RIGHT.
- (bug fix) unnecessary blank line is not displayed. (a part of FS#11400).
- (bug fix) the order by which callback functions were called was not correct. (FIFO->FILO)

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27138 a1c6a512-1295-4272-9138-f99709370657
2010-06-26 09:14:53 +00:00
Yoshihisa Uchida
7e37fa926d text_viewer: rename preference values.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27106 a1c6a512-1295-4272-9138-f99709370657
2010-06-24 12:58:46 +00:00
Rafaël Carré
8f28c0443c Build doom on clipv2 and clip+
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27093 a1c6a512-1295-4272-9138-f99709370657
2010-06-23 18:27:30 +00:00
Rafaël Carré
59fd2b24bd FS#11399 by me: fix r26998 for text_viewer
Restore the old behaviour:

- preferences must be read-write for tv_preferences.c , read-only for
  all other modules -> use pointer to const struct
- init functions must get the plugin buffer + its size as arguments for
  easily adding new functions -> use pointer to buffer pointer and size
  to make allocation easier
- preferences meaning is private to each file and must not be known by
  tv_preferences.c -> move tv_check_header_and_footer() back in
  tv_window.c; also avoid chaining 3 times the callbacks by calling
  tv_set_preferences() only once if more than one preference needs
  changing

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27089 a1c6a512-1295-4272-9138-f99709370657
2010-06-23 13:56:08 +00:00
Thomas Martitz
c5f24828c8 Convert plasma to use pluginlib actions.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27067 a1c6a512-1295-4272-9138-f99709370657
2010-06-22 22:03:17 +00:00
Rafaël Carré
5c50021b90 test_codec: allocate wavbuffer/dspbuffer dynamically
It'll build on targets with small plugin buffer, the buffer for each of
them will be a little smaller than 32kB. "should be enough"

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27050 a1c6a512-1295-4272-9138-f99709370657
2010-06-22 10:43:50 +00:00
Rafaël Carré
7aee79162b test_codec: remove 2 static string buffers and put them on the stack
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27049 a1c6a512-1295-4272-9138-f99709370657
2010-06-22 10:43:45 +00:00
Rafaël Carré
34aac0e20d test_codec: fix DEBUGF pointer format specifier
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27040 a1c6a512-1295-4272-9138-f99709370657
2010-06-22 06:58:17 +00:00
Thomas Martitz
637010541a Fix yellows and reds (one was a type, the other was rather incorrect before already)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27021 a1c6a512-1295-4272-9138-f99709370657
2010-06-21 17:10:22 +00:00
Thomas Martitz
35e8b1429a Rockbox as an application: Replace many occurences of #ifdef SIMULATOR with #if (CONFIG_PLATFORM & PLATFORM_HOSTED) (or equivalently).
The simulator defines PLATFORM_HOSTED, as RaaA will do (RaaA will not define SIMULATOR).
The new define is to (de-)select code to compile on hosted platforms generally.

Should be no functional change to targets or the simulator.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27019 a1c6a512-1295-4272-9138-f99709370657
2010-06-21 16:53:00 +00:00
Frank Gevaerts
9e5846e7fc Fix include file
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27017 a1c6a512-1295-4272-9138-f99709370657
2010-06-21 16:39:55 +00:00
Frank Gevaerts
3c78cb35e8 Remove plugin-specific defines from the pdbox makefile, and add them to m_pd.h, which is the global pdbox header. This makes sure that the defines are set during depency generation so dependencies are correct.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27016 a1c6a512-1295-4272-9138-f99709370657
2010-06-21 16:34:13 +00:00
Rafaël Carré
298316d192 text_viewer: cleanup & bugfix
cleanup:
    - don't use enum in struct / return values
    - don't use a getter for preferences but a global pointer
    - explicitely make enums start at 0
    - use static tables for header/footer settings
    - remove unneeded memset before strlcpy
    - use static buffer allocation, not dynamic
    - check header/footer preferences before using the callbacks
    - don't include font filename in archos player preferences (break
      file format)

bugfix:
    - statically allocate old preferences in tv_set_preferences()

Sometimes I can read a file on Clipv2, but it still aborts quite often
refs: FS#11399

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26998 a1c6a512-1295-4272-9138-f99709370657
2010-06-20 21:53:47 +00:00
Jens Arnold
2f67cdc3e8 Make unnecessarily static local variables non-static. It's more efficient, and it also fixes the weird lines with EABI on ARM7TDMI, although it doesn't explain them.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26995 a1c6a512-1295-4272-9138-f99709370657
2010-06-20 16:33:00 +00:00
Rafaël Carré
694bc2a093 minesweeper: bugfixes / code improvements
dont make out of array accesses to the minefield
dont flag positions already known
avoid using the same name for local & global variables
don't use modulo but only 1 conditional add/sub

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26956 a1c6a512-1295-4272-9138-f99709370657
2010-06-19 08:06:31 +00:00
Teruaki Kawashima
926aae8161 reorder apps/plugins/lib/SOURCES.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26919 a1c6a512-1295-4272-9138-f99709370657
2010-06-18 13:49:36 +00:00
Teruaki Kawashima
be7e835d92 use int instead of enum.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26916 a1c6a512-1295-4272-9138-f99709370657
2010-06-18 13:33:22 +00:00
Rafaël Carré
bfd8d023db FS#11347 by me: *dir LUA functions: luadir module
mkdir and rmdir are now in this module and not in the rockbox API
implements the 'dir' iterator to browse directories

Based on LuaFileSystem : http://www.keplerproject.org/luafilesystem

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26913 a1c6a512-1295-4272-9138-f99709370657
2010-06-18 13:10:14 +00:00
Maurus Cuelenaere
d8cef9c078 Lua: document rocklib_aux.pl a bit, so it's easier to find out about it when stumbling over a CC error in rocklib_aux.c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26912 a1c6a512-1295-4272-9138-f99709370657
2010-06-18 12:28:34 +00:00
Maurus Cuelenaere
952d9bc038 Lua: make actions.lua, buttons.lua and rocklib_aux.c depend on it generators
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26911 a1c6a512-1295-4272-9138-f99709370657
2010-06-18 12:28:30 +00:00
Marcin Bukat
341653e3af HD200 - calibrate lcdlinear[] matrix
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26910 a1c6a512-1295-4272-9138-f99709370657
2010-06-18 11:58:26 +00:00
Nils Wallménius
10719ef649 test_codec: print crc's that start with 0 properly.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26890 a1c6a512-1295-4272-9138-f99709370657
2010-06-17 15:27:42 +00:00
Marcin Bukat
23b9df2890 Add interpolation so output file contains lcdlinear[] matrix dump
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26869 a1c6a512-1295-4272-9138-f99709370657
2010-06-16 09:12:46 +00:00
Rafaël Carré
518d3fcc77 test_disk: print return values in case of error
Also print the requested read/write size

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26855 a1c6a512-1295-4272-9138-f99709370657
2010-06-15 08:55:28 +00:00
Yoshihisa Uchida
a784938b78 text viewer: can select the indent spaces when the line mode is reflow.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26763 a1c6a512-1295-4272-9138-f99709370657
2010-06-11 11:13:02 +00:00
Rafaël Carré
e3263b70c3 CPP substitution isn't made inside " ", but we need " " when using , in a gas macro argument
Modify HIGH_REGS macro to store/load only one range of registers
When the range isn't contigous (in MC_put_x_8*), shift registers to make
it contigous (r4 and r5 are now unused by these functions)

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26759 a1c6a512-1295-4272-9138-f99709370657
2010-06-11 05:15:17 +00:00
Rafaël Carré
45c7498f59 FS#11335 by me: make ARM assembly functions thumb-friendly
We can't pop into pc on ARMv4t when using thumb: the T bit won't be
modified if we are returning to a thumb function
Code running on ARMv4t should use the new ldrpc / ldmpc macros instead
of ldr pc, [sp], #4 and ldm(cond) sp!, {regs, pc}
No modification on pure ARM builds and ARMv5+

Note: USE_THUMB is currently never defined, no targets can currently be
built with -mthumb, see FS#6734

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26756 a1c6a512-1295-4272-9138-f99709370657
2010-06-11 04:41:36 +00:00
Rafaël Carré
6c522624b3 ppmviewer/rockpaint: do not steal the audiobuffer (and stop playback) if the plugin buffer is large enough
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26750 a1c6a512-1295-4272-9138-f99709370657
2010-06-10 19:46:14 +00:00
Rafaël Carré
567ef674f0 Build plugin overlays when buffer size is <= 128kB
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26748 a1c6a512-1295-4272-9138-f99709370657
2010-06-10 19:30:54 +00:00
Rafaël Carré
d5eda4b2a3 rockpaint: steal the big buffer from audiobuffer
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26747 a1c6a512-1295-4272-9138-f99709370657
2010-06-10 19:30:50 +00:00
Rafaël Carré
0acf34fc2d ppmviewer: steal from audiobuffer for large arrays
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26744 a1c6a512-1295-4272-9138-f99709370657
2010-06-10 18:28:31 +00:00
Yoshihisa Uchida
b086067f3f text viewer: fix that the return value's type is wrong.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26739 a1c6a512-1295-4272-9138-f99709370657
2010-06-10 11:24:14 +00:00
Yoshihisa Uchida
ac25812e55 fix the problem that does not jump to selected the bookmark. (FS#11386)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26738 a1c6a512-1295-4272-9138-f99709370657
2010-06-10 10:57:05 +00:00
Rafaël Carré
5f4d687cb9 rockboy: use unions instead of type-punning
avoid a warning when using -Os

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26734 a1c6a512-1295-4272-9138-f99709370657
2010-06-10 02:26:15 +00:00
Teruaki Kawashima
96598c61f1 text viewer: don't load font if it is the same font currently used.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26725 a1c6a512-1295-4272-9138-f99709370657
2010-06-09 14:41:24 +00:00
Yoshihisa Uchida
8bdb1c04d3 text viewer: can select "move to prev/next page" or "move to top page/bottom page" when LEFT/RIGHT key is pressed (narrow mode).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26719 a1c6a512-1295-4272-9138-f99709370657
2010-06-09 11:28:43 +00:00
Jonathan Gordon
6efc8d5bc1 remainder of FS#11270 - bug fixes and updates for picureflow
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26713 a1c6a512-1295-4272-9138-f99709370657
2010-06-09 06:24:22 +00:00
Jonathan Gordon
4017fd2928 fix errors
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26711 a1c6a512-1295-4272-9138-f99709370657
2010-06-09 05:37:56 +00:00
Jonathan Gordon
d871ff8cce FS#11270 by Chris Savery - WPS integration for pictureflow
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26710 a1c6a512-1295-4272-9138-f99709370657
2010-06-09 04:25:41 +00:00
Teruaki Kawashima
8a52d171fe fix yellow.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26688 a1c6a512-1295-4272-9138-f99709370657
2010-06-08 11:13:30 +00:00
Teruaki Kawashima
0c7eb41da8 add simple text viewer to pluginlib and use this for dict to show description.
now dict can scroll the description. it might not show full description if it is too long or memory is not enough.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26687 a1c6a512-1295-4272-9138-f99709370657
2010-06-08 11:07:36 +00:00
Yoshihisa Uchida
755fef66b3 revert r26623.
reason: text file is read by the sort plugin instead of the text viewer plugin.
then, text file is broken.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26686 a1c6a512-1295-4272-9138-f99709370657
2010-06-08 11:04:08 +00:00
Yoshihisa Uchida
88bd00903a text viewer: 1) fix uisim abends when fonts list is displayed.
2) simplify the logic to change font.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26685 a1c6a512-1295-4272-9138-f99709370657
2010-06-08 10:34:13 +00:00
Teruaki Kawashima
5a3f3a1b39 fix red.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26660 a1c6a512-1295-4272-9138-f99709370657
2010-06-07 13:10:38 +00:00
Teruaki Kawashima
d669d4ab6e text viewer: gigabeat f: add buttons to do one line up/down, and one column left/right.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26659 a1c6a512-1295-4272-9138-f99709370657
2010-06-07 13:01:15 +00:00
Teruaki Kawashima
642beb0ad4 text viewer: some fixes related to font.
* don't load font if it's not needed.
 - loading 16-GNU-Unifont seems to take some time.
* restore font to settings on exit plugin.
* don't allocate buffer on stack for name of fonts in select font menu.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26657 a1c6a512-1295-4272-9138-f99709370657
2010-06-07 12:03:30 +00:00
Yoshihisa Uchida
1ce70a679c text viewer: can selected scroll by column/scroll by screen for the horizontal screen.
Viewer Options: "Scrollbar", "Overlap Pages", "Auto-Scroll Speed" move to Scroll Settings > Vertical.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26654 a1c6a512-1295-4272-9138-f99709370657
2010-06-07 11:04:09 +00:00
Jonathan Gordon
1582e6fa75 FS#9034 - sort viewers.config by plugin name so the open with window is alphabetically sorted
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26623 a1c6a512-1295-4272-9138-f99709370657
2010-06-06 12:06:51 +00:00
Dominik Riebeling
3ee3b28f8a Save the scratchpad state in Sudoku plugin (FS#5737).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26622 a1c6a512-1295-4272-9138-f99709370657
2010-06-06 10:59:29 +00:00
Yoshihisa Uchida
240b198d65 text viewer: can display the horizontal scroll bar.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26620 a1c6a512-1295-4272-9138-f99709370657
2010-06-06 10:52:19 +00:00
Yoshihisa Uchida
1445c3b8c5 text viewer: can be selected the number of screens per page.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26613 a1c6a512-1295-4272-9138-f99709370657
2010-06-06 08:44:27 +00:00
Marianne Arnold
9becb7a085 Add a mapping for the PLA_EXIT action for Iriver remote and provide it in the manual as well.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26591 a1c6a512-1295-4272-9138-f99709370657
2010-06-05 17:29:06 +00:00
Marianne Arnold
15935a6b75 Fix PLA_EXIT and PLA_CANCEL for the Iaudio M5 and X5, make them more intuitive and add the missing remote actions for it at the same time.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26587 a1c6a512-1295-4272-9138-f99709370657
2010-06-05 16:21:34 +00:00
Rafaël Carré
ffb943ee94 Fix plugin bitmaps dependencies generation
extended regular expressions (e.g., using | or +) can't be used with posix sed.
We can use them with awk though

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26583 a1c6a512-1295-4272-9138-f99709370657
2010-06-05 15:18:43 +00:00