Commit graph

3863 commits

Author SHA1 Message Date
Bertrik Sikken
a7a78b3b52 Fix warnings from r31453
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31454 a1c6a512-1295-4272-9138-f99709370657
2011-12-28 11:47:35 +00:00
Bertrik Sikken
d2cdd80f5c plugins: another round of making local things static and adding missing #includes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31453 a1c6a512-1295-4272-9138-f99709370657
2011-12-28 11:32:13 +00:00
Rafaël Carré
565b869438 file properties: display correctly file/folder sizes > 2GB
Use unsigned type for file sizes (some directory/file structures should be changed too)

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31449 a1c6a512-1295-4272-9138-f99709370657
2011-12-26 23:39:43 +00:00
Frank Gevaerts
3bc771d669 Revert r31239 and r31250. Selecting ALL in disktidy used to be generally safe for most people, and these changes change that, making it easy to delete most or all of a user's music. This is a *very* bad idea.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31434 a1c6a512-1295-4272-9138-f99709370657
2011-12-26 00:03:28 +00:00
Thomas Martitz
20b662a946 rbpaths: Add new special dir HOME_DIR for RaaA.
HOME_DIR is intended for not-so-advanced files which shall be user
visible, and thus not in /.rockbox. Therefore HOME_DIR is translated
to $HOME on RaaA, /sdcard on android, the internal memory on ypr0
and "/" on native targets.

ROCKBOX_DIR ("/.rockbox") already existed as special and is translated
to whatever the real rockbox dir is on the target (e.g. /sdcard/rockbox
on android), but it's not suitable for some files we generate
(e.g. battery-bench.txt).

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31430 a1c6a512-1295-4272-9138-f99709370657
2011-12-25 20:11:18 +00:00
Thomas Martitz
e6717d1b4d Fix messed up zxbox keymaps. Fixes fuze+ red also.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31417 a1c6a512-1295-4272-9138-f99709370657
2011-12-24 12:34:16 +00:00
Thomas Martitz
249bba03f1 Initial commit of the Samsung YP-R0 port.
This port is a hybrid native/RaaA port. It runs on a embedded linux system,
but is the only application. It therefore can implement lots of stuff that
native targets also implement, while leveraging the underlying linux kernel.

The port is quite advanced. User interface, audio playback, plugins work
mostly fine. Missing is e.g. power mangement and USB (see SamsungYPR0 wiki page).

Included in utils/ypr0tools are scripts and programs required to generate
a patched firmware. The patched firmware has the rootfs modified to load
Rockbox. It includes a early/safe USB mode.

This port needs a new toolchain, one that includes glibc headers and libraries.
rockboxdev.sh can generate it, but e.g. codesourcey and distro packages may
also work.

Most of the initial effort is done by Lorenzo Miori and others (on ABI),
including reverse engineering and patching of the original firmware,
initial drivers, and more. Big thanks to you.

Flyspray: FS#12348
Author: Lorenzo Miori, myself

Merry christmas to ypr0 owners! :)

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31415 a1c6a512-1295-4272-9138-f99709370657
2011-12-24 11:56:46 +00:00
Frank Gevaerts
e6e2ae86ea There's no good reason for requiring the mr500 remote just to run battery_bench
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31368 a1c6a512-1295-4272-9138-f99709370657
2011-12-19 19:53:50 +00:00
Nils Wallménius
f0f24a3b4a Fix building of test_codec
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31343 a1c6a512-1295-4272-9138-f99709370657
2011-12-17 13:43:54 +00:00
Michael Sevakis
6a67707b5e Commit to certain names for cache coherency APIs and discard the aliases.
Wouldn't surprise me a bit to get some non-green.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31339 a1c6a512-1295-4272-9138-f99709370657
2011-12-17 07:27:24 +00:00
Rafaël Carré
3042c441f2 disktidy: clean more Sansa AMS OF files
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31250 a1c6a512-1295-4272-9138-f99709370657
2011-12-14 16:18:34 +00:00
Rafaël Carré
404c6bba9c disktidy: don't use "abort" for variable name as it might conflict
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31240 a1c6a512-1295-4272-9138-f99709370657
2011-12-14 04:42:03 +00:00
Rafaël Carré
d991a289bb disktidy.config: add a preset for Sansa AMS OF files
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31239 a1c6a512-1295-4272-9138-f99709370657
2011-12-14 04:38:45 +00:00
Rafaël Carré
1648441d6e disktidy: simplify
support filenames beginning with '#' by escaping them in config
example: "\##MUSIC#: no"
it is a limitation of settings_parseline to recognize comments

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31238 a1c6a512-1295-4272-9138-f99709370657
2011-12-14 04:38:30 +00:00
Michael Sevakis
e42a3194de AS3525v1/v2:
Fix problems with volume of recorded material by converting 14-bit samples to
16-bit. Remove duplicate samples from recorded data and support proper
samplerate since ADC runs 1/2 the codec clock. Support monitoring mono on both
output channels by feeding data manually to I2SOUT under the right conditions.

DMA is no longer used for recording since frames must be processed as described
above but it does allow full-duplex audio.

Miscellaneous change includes a proper constant (HW_SAMPR_DEFAULT) to reset the
hardware samplerate when recording is closed. PP5024 and AS3525 have different
default recording rates (22kHz and 44kHz respectively) but both have half-speed
ADC.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31180 a1c6a512-1295-4272-9138-f99709370657
2011-12-08 19:20:00 +00:00
Rafaël Carré
bd691efae9 Sansa Clip Zip: enable all plugins
use too big graphics when needed (some plugins will be ugly)

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31113 a1c6a512-1295-4272-9138-f99709370657
2011-12-02 20:28:20 +00:00
Boris Gjenero
8687c5cebb Fix FS#11675 : LED resistor calculator does not wait for keypress. Thanks to Michael Chicoine for reporting the bug.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31107 a1c6a512-1295-4272-9138-f99709370657
2011-12-02 01:58:07 +00:00
Michael Chicoine
d6a397d4d0 Text viewer plugin: Fix info viewport font not being set to user selected font
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31096 a1c6a512-1295-4272-9138-f99709370657
2011-11-30 03:06:41 +00:00
Frank Gevaerts
7a095a8f81 Fix file descriptor leak. Thanks to Ophir Lojkine for spotting.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31002 a1c6a512-1295-4272-9138-f99709370657
2011-11-16 22:25:10 +00:00
Tomasz Moń
e8a8a1be43 Sandisk Sansa Connect port (FS #12363)
Included are drivers for buttons, backlight, lcd, audio and storage.



git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31000 a1c6a512-1295-4272-9138-f99709370657
2011-11-16 14:08:01 +00:00
Frank Gevaerts
b7508a766d Don't put mines adjacent to the starting position instead of just not *on* the
starting position. (FS#12387 by Ophir Lojkine)

Since in minesweeper one needs information about at least two positions to
deduce anything (unless the first position has no adjacent mines at all),
having mines adjacent to the starting position means the player has to
guess without any information, which is no different than having a chance
that the first position already has a mine. I don't think minesweeper is
meant to be a game of pure luck.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30994 a1c6a512-1295-4272-9138-f99709370657
2011-11-15 23:44:56 +00:00
Bertrik Sikken
e0d0eedc90 Sansa clip zip: update plugins (jewels, pegbox, rockpaint, star)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30976 a1c6a512-1295-4272-9138-f99709370657
2011-11-13 21:25:27 +00:00
Bertrik Sikken
36d7bbbb4e Sansa clip zip: make more plugins compile (lamp, wormlet, matrix)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30974 a1c6a512-1295-4272-9138-f99709370657
2011-11-13 16:16:18 +00:00
Thomas Martitz
9a70c42241 Add the ability to create a prefilled struct bitmap along with generated images.
This allows to directly draw generated and builtin images using lcd_bmp(bm_xxx);
Also fixes builtin list icons on non-mono targets, as they didn't have the
format field set.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30971 a1c6a512-1295-4272-9138-f99709370657
2011-11-13 15:37:16 +00:00
Fred Bauer
d6812f471f Update lyrics player plugin for FONT_UI deprecation in r30932 (fix for FS#12374)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30949 a1c6a512-1295-4272-9138-f99709370657
2011-11-10 02:50:30 +00:00
Boris Gjenero
415f579bf3 Fix assembler .size directives. Currently used binutils don't complain, but 2.21.1 treats these as errors.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30945 a1c6a512-1295-4272-9138-f99709370657
2011-11-09 19:20:33 +00:00
Wincent Balin
d01954cad2 Committing fix for FS#12249. Patch by Buschel. Further fixes for AIFF loader in PDBox in the future.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30944 a1c6a512-1295-4272-9138-f99709370657
2011-11-08 23:48:24 +00:00
Thomas Martitz
a102253cf2 Make pictureflow compile again.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30941 a1c6a512-1295-4272-9138-f99709370657
2011-11-08 22:23:29 +00:00
Jonathan Gordon
f19f3efb07 Redo r30826 (and hopefully not reintroduce font issues) which cleans up the font API. FONT_UI is deprecated, use screens[screen].getuifont() instead (and .setuifont() to set it after a font has been loaded)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30932 a1c6a512-1295-4272-9138-f99709370657
2011-11-08 10:09:33 +00:00
Thomas Martitz
a13e9644b5 - Fix some reds by implementing lcd_get_dpi().
- Use the list item centering capabilities in the plugin lib
- Bump plugin ABI for the changed viewport struct (sort the API too).

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30775 a1c6a512-1295-4272-9138-f99709370657
2011-10-17 18:28:35 +00:00
Bertrik Sikken
50ac7ca774 Fix warnings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30759 a1c6a512-1295-4272-9138-f99709370657
2011-10-15 20:51:12 +00:00
Bertrik Sikken
fe67a87885 plugins: another round of making local functions static
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30758 a1c6a512-1295-4272-9138-f99709370657
2011-10-15 20:38:08 +00:00
Björn Stenberg
0942e2a0f7 Changed the FOR_NB_SCREENS macro to always be a for loop that declares its own loop variable. This removes the need to declare this variable in the outer scope.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30756 a1c6a512-1295-4272-9138-f99709370657
2011-10-15 19:35:02 +00:00
Rafaël Carré
9055915645 fix red
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30740 a1c6a512-1295-4272-9138-f99709370657
2011-10-10 01:50:28 +00:00
Rafaël Carré
b8f0b09916 mpegplayer sync_audio_setting(): simplify / clarify
fix fuze+ yellow

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30739 a1c6a512-1295-4272-9138-f99709370657
2011-10-10 01:39:56 +00:00
Bertrik Sikken
b01d8fa071 plugins: make local functions static for metronome, rockblox1d, wavview
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30711 a1c6a512-1295-4272-9138-f99709370657
2011-10-04 19:33:52 +00:00
Amaury Pouly
7e8877e871 imx233/fuze+: enable plugins
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30700 a1c6a512-1295-4272-9138-f99709370657
2011-10-02 20:33:14 +00:00
Amaury Pouly
5064485c0c fuze+°: add mpeg keymap
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30698 a1c6a512-1295-4272-9138-f99709370657
2011-10-02 17:35:25 +00:00
Amaury Pouly
3623a68404 fuze+: add midiplay keymap
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30697 a1c6a512-1295-4272-9138-f99709370657
2011-10-02 17:35:21 +00:00
Amaury Pouly
2c64d8f004 fuze+: add doom and pacbox keymap
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30696 a1c6a512-1295-4272-9138-f99709370657
2011-10-02 17:35:17 +00:00
Amaury Pouly
faa6d40f09 fuze+: add zxbox keymap
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30695 a1c6a512-1295-4272-9138-f99709370657
2011-10-02 17:35:14 +00:00
Amaury Pouly
f883a61d62 fuze+: add goban keymap
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30694 a1c6a512-1295-4272-9138-f99709370657
2011-10-02 17:35:10 +00:00
Amaury Pouly
39e1a3f923 fuze+: add reverso keymap
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30693 a1c6a512-1295-4272-9138-f99709370657
2011-10-02 17:35:03 +00:00
Amaury Pouly
9e3a223df1 fuze+: add sudoky keymap
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30692 a1c6a512-1295-4272-9138-f99709370657
2011-10-02 17:34:59 +00:00
Amaury Pouly
b8c8384327 fuze+: add imageviewer keymap
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30691 a1c6a512-1295-4272-9138-f99709370657
2011-10-02 17:34:54 +00:00
Amaury Pouly
7de6d1f5cd fuze+: add fractal keymap
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30690 a1c6a512-1295-4272-9138-f99709370657
2011-10-02 17:34:51 +00:00
Amaury Pouly
c8f483a360 fuze+: add fft keymap
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30689 a1c6a512-1295-4272-9138-f99709370657
2011-10-02 17:34:47 +00:00
Amaury Pouly
0a1191aa00 fuze+: add chessbox keymap
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30688 a1c6a512-1295-4272-9138-f99709370657
2011-10-02 17:34:43 +00:00
Amaury Pouly
fceacb1858 fuze+: add rockboy keymap
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30687 a1c6a512-1295-4272-9138-f99709370657
2011-10-02 17:34:39 +00:00
Amaury Pouly
1466bfe7ce fuze+: add text viewer keymap
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30686 a1c6a512-1295-4272-9138-f99709370657
2011-10-02 17:34:35 +00:00