Thomas Martitz
50a6ca39ad
Move c/h files implementing/defining standard library stuff into a new libc directory, also standard'ify some parts of the code base (almost entirely #include fixes).
...
This is to a) to cleanup firmware/common and firmware/include a bit, but also b) for Rockbox as an application which should use the host system's c library and headers, separating makes it easy to exclude our files from the build.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25850 a1c6a512-1295-4272-9138-f99709370657
2010-05-06 21:04:40 +00:00
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
Thomas Martitz
c61e89c0ed
Make creat() posix compliant API-wise. Shouldn't affect the core as it's wrapped via a static inline.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25843 a1c6a512-1295-4272-9138-f99709370657
2010-05-06 17:35:04 +00:00
Delyan Kratunov
bc90a616c3
FFT plugin: The 64-bit sqrt function is no longer needed
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25791 a1c6a512-1295-4272-9138-f99709370657
2010-05-02 20:32:41 +00:00
Delyan Kratunov
af466f3cbf
FFT plugin: eliminate 64-bit math. This should result in faster and probably more accurate calculations.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25790 a1c6a512-1295-4272-9138-f99709370657
2010-05-02 20:30:44 +00:00
Jens Arnold
9a74223f7d
Test more possible alignments in the Write & Verify test. Some ata drivers apply optimisations up to line size alignment.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25787 a1c6a512-1295-4272-9138-f99709370657
2010-05-02 19:38:23 +00:00
Jens Arnold
0fd111d431
Improve motion compensation for ARM: * Use less registers in the simple copy routines -> less stack usage. * Save a few instructions in constants + jumptable handling. * ARM6 optimisations. Unfortunately we can't just use uhadd8 because that rounds down, while we have to round up.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25776 a1c6a512-1295-4272-9138-f99709370657
2010-05-02 14:55:12 +00:00
Jens Arnold
f2759305a9
Gigabeat S: Reduce stalling in the ARMv6 IDCT. Also save one instruction per loop, and fix comments. Speeds up fullscreen video decoding by about 5% (excluding video output). Still not perfect...
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25775 a1c6a512-1295-4272-9138-f99709370657
2010-05-02 12:13:26 +00:00
Wincent Balin
a607a6c3c2
pdbox: Fixed loading of sound files, pdpod_drums.pd works now.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25769 a1c6a512-1295-4272-9138-f99709370657
2010-05-02 00:32:50 +00:00
Marcin Bukat
88baa4d4c7
HD200 - implement blit functions
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25767 a1c6a512-1295-4272-9138-f99709370657
2010-04-30 14:13:52 +00:00
Marcin Bukat
ee291a5e9b
Corrected brickmania bitmaps in SOURCE for M3 and HD200. Remove unneeded bitmap.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25735 a1c6a512-1295-4272-9138-f99709370657
2010-04-27 10:04:13 +00:00
Marcin Bukat
6dab17143b
Add MPIO HD200 port - binary files
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25726 a1c6a512-1295-4272-9138-f99709370657
2010-04-26 21:40:23 +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
Nils Wallménius
cbc65befa8
Fix for some bogus code in png by Andrew Rodland, fixing a warning when compiling with gcc 4.5
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25709 a1c6a512-1295-4272-9138-f99709370657
2010-04-25 08:35:30 +00:00
Jens Arnold
8edca8e903
Charcell: Fix spurious letter appearing between board and score display.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25708 a1c6a512-1295-4272-9138-f99709370657
2010-04-25 06:30:19 +00:00
Michael Sevakis
4e7ddd504b
Gigabeat S: Will run pacbox at 60fps. Set FPS accordingly.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25702 a1c6a512-1295-4272-9138-f99709370657
2010-04-23 19:38:27 +00:00
Tomer Shalev
dd8b40701e
Brickmania: Fix bogus fires
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25690 a1c6a512-1295-4272-9138-f99709370657
2010-04-20 09:08:21 +00:00
Tomer Shalev
5c7a76d596
Brickmania: Use defined constant instead of hard-coded value
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25689 a1c6a512-1295-4272-9138-f99709370657
2010-04-20 08:46:44 +00:00
Tomer Shalev
4761efa573
Yet another try at fixing "FS#10959 - Brickmania - Ball disappears"
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25688 a1c6a512-1295-4272-9138-f99709370657
2010-04-20 08:38:53 +00:00
Tomer Shalev
62562f1cdd
Brickmania: Fix flip delay was actually N+1 seconds (11 instead of 10)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25687 a1c6a512-1295-4272-9138-f99709370657
2010-04-20 08:33:16 +00:00
Tomer Shalev
5db5de5418
Brickmania: No need to init these global variables, as they are set later on
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25686 a1c6a512-1295-4272-9138-f99709370657
2010-04-20 08:16:00 +00:00
Tomer Shalev
16e89a4aae
Brickmania: Move Congratulations message a bit up, so it won't get clipped by the next line
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25685 a1c6a512-1295-4272-9138-f99709370657
2010-04-20 08:14:33 +00:00
Szymon Dziok
86a5937d39
Packard Bell Vibe: imageviewer - add button to quit immediately, like in r24904.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25678 a1c6a512-1295-4272-9138-f99709370657
2010-04-19 16:45:49 +00:00
Yoshihisa Uchida
4157a31924
rvert r25644
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25645 a1c6a512-1295-4272-9138-f99709370657
2010-04-14 11:19:30 +00:00
Yoshihisa Uchida
2ca2684ede
new text viewer
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25644 a1c6a512-1295-4272-9138-f99709370657
2010-04-14 10:16: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
Rafaël Carré
2252b2dcec
test_codec is SWCODEC only
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25604 a1c6a512-1295-4272-9138-f99709370657
2010-04-12 11:57:39 +00:00
Rafaël Carré
f462c1b109
some test plugins have dependencies
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25603 a1c6a512-1295-4272-9138-f99709370657
2010-04-12 11:09:07 +00:00
Jens Arnold
4f551a00df
FS #11153 by Marcin Bukat: Make memory layout for plugins and codecs only depend on SoC for coldfire as well, in preparation for the MPIO HD200 port.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25598 a1c6a512-1295-4272-9138-f99709370657
2010-04-11 20:53:18 +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
Thomas Martitz
02afc271c9
as3525v2: Move codec into iram freeing 1MB for the audio buffer and also a small decoding speedup (iram seems to be 50% faster than dram when boosted and the same when unboosed). 32k is still reserved for the core and can be readjusted if needed. Codecs don't appear to ever need the 1MB (usually <350k only).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25491 a1c6a512-1295-4272-9138-f99709370657
2010-04-05 19:18:15 +00:00
Thomas Martitz
c06a23da79
Add T for plugins to the advanced build options to build all test_* plugins.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25488 a1c6a512-1295-4272-9138-f99709370657
2010-04-05 16:09:47 +00:00
Andree Buschmann
95b03d2974
test_boost: fix r25464: button_get() can't be used with actions
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25480 a1c6a512-1295-4272-9138-f99709370657
2010-04-05 10:08:00 +00:00
Rafaël Carré
0eb888b23a
test_mem: fix r25464: button_get() can't be used with actions
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25474 a1c6a512-1295-4272-9138-f99709370657
2010-04-05 04:48:38 +00:00
Andree Buschmann
dc19fb37d5
Make test_mem.c and test_boost.c compilable on targets without BUTTON_UP.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25464 a1c6a512-1295-4272-9138-f99709370657
2010-04-03 23:14:25 +00:00
Thomas Martitz
c4c45b3f9e
Move delta calculation up so that only the loop time counts.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25452 a1c6a512-1295-4272-9138-f99709370657
2010-04-03 14:14:23 +00:00
Thomas Martitz
ef0cc085ad
Memory benchmark plugin. Tests memory speeds and prints the kB/s.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25450 a1c6a512-1295-4272-9138-f99709370657
2010-04-03 14:04:50 +00:00
Thomas Martitz
44e4839366
Fix test_boost boost handling. Also show the number of loops per second.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25429 a1c6a512-1295-4272-9138-f99709370657
2010-04-01 17:50:36 +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
Rafaël Carré
88f76c97df
Build pitch_detector bitmaps for all targets, even those without color
...
(forgot to remove the condition in r25397)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25399 a1c6a512-1295-4272-9138-f99709370657
2010-03-30 12:26:10 +00:00
Rafaël Carré
4fd9038d35
pitch_detector: fix builds on monochrome targets, remove an unused variable
...
Add icons for Clip, copied from c200 icons
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25397 a1c6a512-1295-4272-9138-f99709370657
2010-03-29 23:50:07 +00:00
Rafaël Carré
6a25a33b4b
pitch_detector plugin only works on color LCDs
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25387 a1c6a512-1295-4272-9138-f99709370657
2010-03-29 20:23:57 +00:00
Tomer Shalev
4da92e3785
Fractals: Remove redundant assignment to a variable (y_delta)
...
Also some cosmetics
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25373 a1c6a512-1295-4272-9138-f99709370657
2010-03-28 18:58:43 +00:00
Tomer Shalev
704eb8adee
Brickmania: Don't use hard coded value
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25372 a1c6a512-1295-4272-9138-f99709370657
2010-03-28 16:36:30 +00:00
Rafaël Carré
35500c22a4
Fuzev2: add dithering option for mpegplayer
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25364 a1c6a512-1295-4272-9138-f99709370657
2010-03-28 02:41:29 +00:00
Tomer Shalev
b917337be9
Brickmania: Fix yellow
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25358 a1c6a512-1295-4272-9138-f99709370657
2010-03-27 18:27:29 +00:00
Tomer Shalev
857e946923
Brickmania: Prevent a ball that is sticked to the edge of the pad from being fired outside the screen's region when the pad is moved all the way to the screen's edge
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25357 a1c6a512-1295-4272-9138-f99709370657
2010-03-27 18:23:43 +00:00
Tomer Shalev
8e8d2c2a5b
Brickmania: Simplify movement of pad (and any balls that are sticked to it)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25356 a1c6a512-1295-4272-9138-f99709370657
2010-03-27 18:17:58 +00:00
Tomer Shalev
be730dce0c
Brickmania: Prevent two overlapping balls from destrying bricks together and stick forever
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25355 a1c6a512-1295-4272-9138-f99709370657
2010-03-27 17:56:54 +00:00
Rafaël Carré
e108d571ba
fix red
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25338 a1c6a512-1295-4272-9138-f99709370657
2010-03-25 23:32:29 +00:00
Rafaël Carré
57b3d09525
mpegplayer: align video output data structure only on multicore
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25330 a1c6a512-1295-4272-9138-f99709370657
2010-03-25 18:17:54 +00:00
Mustapha Senhaji
a4ff42d146
Stats plugin: Add 3 missing types to count.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25327 a1c6a512-1295-4272-9138-f99709370657
2010-03-25 04:49:14 +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
Dave Hooper
c28f56076e
Revert r22171 (+r22186) for pacbox, given that it doesn't work, and causes crashes on COP targets, and we in fact already had an open unresolved issue against this app (FS#8226) that would need to be resolved before being able to do this
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25251 a1c6a512-1295-4272-9138-f99709370657
2010-03-19 23:24:22 +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
Rafaël Carré
df5a0e2a84
lamp: use HAVE_NEGATIVE_LCD
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25205 a1c6a512-1295-4272-9138-f99709370657
2010-03-15 15:28:38 +00:00
Rafaël Carré
63df74e4a8
lamp: invert backlight for Clipv2/Clip+ too
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25200 a1c6a512-1295-4272-9138-f99709370657
2010-03-15 11:47:45 +00:00
Jens Arnold
3710ae92cc
Coldfire targets: tiny optimisation.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25098 a1c6a512-1295-4272-9138-f99709370657
2010-03-09 23:44:25 +00:00
Jens Arnold
1dfa0e92dc
Get rid of unnecessary alignment of struct member which also caused arm-elf-eabi-gcc to mess up parameter passing to mpeg2_idct_add().
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25092 a1c6a512-1295-4272-9138-f99709370657
2010-03-09 20:02:27 +00:00
Thomas Martitz
9a3c0778c6
Fix two warnings that appear with gcc4.4.3. The one in recording.c ("compact_view is used uninitialized" seems to be false positive unfortunately).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25082 a1c6a512-1295-4272-9138-f99709370657
2010-03-08 23:56:54 +00:00
Nils Wallménius
d0a170c176
Use the same output func for wav writing and checksum calculation, simplifying the code and possibly speeding up checksum calculation slightly
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25068 a1c6a512-1295-4272-9138-f99709370657
2010-03-08 12:08:29 +00:00
Andree Buschmann
260c0184de
Set IRAM split to 48KB / 80KB (apps / plugins) for M5 and X5. This way codecs can be optimized further.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25057 a1c6a512-1295-4272-9138-f99709370657
2010-03-07 20:22:49 +00:00
Teruaki Kawashima
f79b45d8bb
bubbles: fix FS#11070
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25044 a1c6a512-1295-4272-9138-f99709370657
2010-03-06 12:29:17 +00:00
Teruaki Kawashima
e726920bde
boomshine: improve collision detection.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25043 a1c6a512-1295-4272-9138-f99709370657
2010-03-06 12:20:09 +00:00
Teruaki Kawashima
c1689ca80d
bmpviewer: do aspect ratio correction.
...
it might be better to not change the message "loading width x height"?
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24976 a1c6a512-1295-4272-9138-f99709370657
2010-02-28 16:39:36 +00:00
Maurus Cuelenaere
0feeb6e8b7
FFT plugin: init mutex
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24973 a1c6a512-1295-4272-9138-f99709370657
2010-02-28 14:58:37 +00:00
Frank Gevaerts
4fa2ee7570
Draw a white rectangle around the empty spot to make it easier to distinghuish with dark pictures
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24972 a1c6a512-1295-4272-9138-f99709370657
2010-02-28 14:56:40 +00:00
Teruaki Kawashima
d4ebc9268e
snake: use lib/highscore for highscore handling.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24964 a1c6a512-1295-4272-9138-f99709370657
2010-02-28 11:27:05 +00:00
Tomer Shalev
985d0bb3f0
Brickmania: Test if power-up hit side of paddle
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24949 a1c6a512-1295-4272-9138-f99709370657
2010-02-27 18:45:37 +00:00
Tomer Shalev
ce8b00d540
Brickmania: Use helper function check_rect to test whether ball hits brick
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24948 a1c6a512-1295-4272-9138-f99709370657
2010-02-27 18:23:46 +00:00
Teruaki Kawashima
3f8d4a5a0f
use same variable/macro name for highscore among plugins.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24941 a1c6a512-1295-4272-9138-f99709370657
2010-02-27 14:45:37 +00:00
Mustapha Senhaji
c3abab85ac
Silly editor, missing a ,.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24940 a1c6a512-1295-4272-9138-f99709370657
2010-02-27 14:33:01 +00:00
Mustapha Senhaji
37e0f76c5a
Stats Plugin: Update the list of suported/counted music file extensions.
...
And like that is a stats plugin after all, here is one:
We do support by our codecs, 50 different file types now, wow.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24939 a1c6a512-1295-4272-9138-f99709370657
2010-02-27 14:23:30 +00:00
Teruaki Kawashima
778f5bb515
clix: make code to check whether game is end or not to a separate function to reduce indents. make holding key keep moving cursor.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24938 a1c6a512-1295-4272-9138-f99709370657
2010-02-27 14:01:28 +00:00
Tomer Shalev
b21b0c872e
Brickmania: Use NUMBER_OF_POWERUPS in enum
...
Thanks for kugel and linuxstb for this
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24935 a1c6a512-1295-4272-9138-f99709370657
2010-02-27 09:35:47 +00:00
Tomer Shalev
66916c6d67
Brickmania: Revert to using intersection checks for testing if powerup hit
...
paddle
r24925 introduced a potential bug: the collision detection with the paddle is
not using the line intersection checks and consequently could cause the powerup
to be missed if the drop speed is fast enough (which varies depending on the
target because of the speed scaling).
Thanks for Karl Kurbjun for noticing and alerting!
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24934 a1c6a512-1295-4272-9138-f99709370657
2010-02-27 08:24:45 +00:00
Tomer Shalev
45a14f31d0
Brickmania: Use static whenever possible
...
- Also fix some code styling
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24933 a1c6a512-1295-4272-9138-f99709370657
2010-02-27 08:02:12 +00:00
Tomer Shalev
e96f05822f
Brickmania: Fix inner loop used the same variable as outer loop, which trashed
...
powerups when paddle hit Normal or Fire powerups
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24932 a1c6a512-1295-4272-9138-f99709370657
2010-02-27 07:58:48 +00:00
Tomer Shalev
ebbfe872ac
Brickmania: Fix NUMBER_OF_POWERUPS and POWER_TYPE_COUNT were used for the same purpose
...
Thanks for Asael Reiter for spotting this
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24928 a1c6a512-1295-4272-9138-f99709370657
2010-02-26 15:02:50 +00:00
Tomer Shalev
410cb26cc8
Brickmania: Re-arrange code (no functional change)
...
- Remove use of typedefs
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24927 a1c6a512-1295-4272-9138-f99709370657
2010-02-26 14:36:37 +00:00
Tomer Shalev
adcbb07303
Brickmania: Fix wrong power image in shown, caused by previous commit
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24926 a1c6a512-1295-4272-9138-f99709370657
2010-02-26 14:32:27 +00:00
Tomer Shalev
50cb86cff3
FS#11057 - brickmania: simplify the powerups
...
Author: Asael Reiter
Added some changes by me.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24925 a1c6a512-1295-4272-9138-f99709370657
2010-02-26 14:06:34 +00:00
Kevin Ferrare
c396e4161a
Remote support for the alarmclock plugin
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24921 a1c6a512-1295-4272-9138-f99709370657
2010-02-26 07:38:18 +00:00
Frank Gevaerts
ca755f767c
Fix pdbox makefile to actually take part in dependency generation
...
Change pdbox include paths to handle this
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24916 a1c6a512-1295-4272-9138-f99709370657
2010-02-25 23:35:16 +00:00
Rafaël Carré
99655d66bd
Alarm clock plugin for RTC targets
...
Author: Clément Pit-Claudel
Flyspray: FS#11056
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24912 a1c6a512-1295-4272-9138-f99709370657
2010-02-25 14:45:06 +00:00
Teruaki Kawashima
0cf4cab431
plugins/lib: remove out-dated comments about plugin api.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24907 a1c6a512-1295-4272-9138-f99709370657
2010-02-25 12:14:36 +00:00
Teruaki Kawashima
15f6bfc0e5
imageviewer: add button to quit plugin immediately if there is enough key for it.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24904 a1c6a512-1295-4272-9138-f99709370657
2010-02-25 11:11:41 +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
Tomer Shalev
83d589dad1
Rockblox: Map touchscreen top-middle to rotate CW
...
- Add support for defining a secondary 'rotate CCW' action - could be needed by
future touchscreen targets
- Update manual accordingly
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24895 a1c6a512-1295-4272-9138-f99709370657
2010-02-24 21:16:48 +00:00
Tomer Shalev
321843198d
Rockblox: For touchscreen targets, left/right goes to CCW/CW respectively, and
...
not the opposite.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24894 a1c6a512-1295-4272-9138-f99709370657
2010-02-24 20:59:35 +00:00
Tomer Shalev
12332ded12
Rockblox: Rename Rotate Left|Right to Rotate CW|CCW
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24893 a1c6a512-1295-4272-9138-f99709370657
2010-02-24 20:56:52 +00:00
Tomer Shalev
42552f8bf6
FS#10643 - Cowon D2: Chopper game control using hardware buttons
...
This is only part of the original patch. I didn't agree with all the original
changes to keymapping.
Author: Nemtsev Alexey
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24892 a1c6a512-1295-4272-9138-f99709370657
2010-02-24 20:33:40 +00:00
Tomer Shalev
cee3b29729
FS#11049 - Brickmania: Make brick a two-dimensional array
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24890 a1c6a512-1295-4272-9138-f99709370657
2010-02-24 20:08:30 +00:00
Dave Hooper
f7a30a4b08
kiss_fftr appears to perform two real-valued ffts in parallel -- so feed it only one signal of size N/2 (as opposed to splitting a single signal of size N into two interleaved parts which is what it seemed to be doing before)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24865 a1c6a512-1295-4272-9138-f99709370657
2010-02-22 23:45:38 +00:00
Teruaki Kawashima
c1bb06c3af
plugin: implement highscore_show for player and use it in rockblox.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24861 a1c6a512-1295-4272-9138-f99709370657
2010-02-22 13:45:24 +00:00
Teruaki Kawashima
56d29e8977
some changes to use of display_text.
...
* add parameter, wait_key to display_text().
- set this true to wait button press after all words is displayed.
* use ARRAYLEN macro instead of #define WORDS
* add macro to indicate end of style array.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24846 a1c6a512-1295-4272-9138-f99709370657
2010-02-22 07:17:15 +00:00
Rafaël Carré
31eda59720
as3525v2: build normal firmware properly (Clipv2/+)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24840 a1c6a512-1295-4272-9138-f99709370657
2010-02-22 02:42:58 +00:00
Tomer Shalev
cd08122e4e
Brickmania: Hopefully prevent dissappearing of the ball
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24810 a1c6a512-1295-4272-9138-f99709370657
2010-02-21 17:16:07 +00:00
Tomer Shalev
3dc9d111b3
Brickmania: Use predefined macro definition when possible
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24809 a1c6a512-1295-4272-9138-f99709370657
2010-02-21 16:13:43 +00:00
Tomer Shalev
73c047c8dc
FS#10485 - Some changes for brickmania
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24775 a1c6a512-1295-4272-9138-f99709370657
2010-02-19 16:34:18 +00:00
Tomer Shalev
5bae969a3e
Brickmania: Use defines for score values
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24771 a1c6a512-1295-4272-9138-f99709370657
2010-02-19 12:52:31 +00:00
Tomer Shalev
320eab69d3
Brickmania: Remove spaces at the end of line
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24769 a1c6a512-1295-4272-9138-f99709370657
2010-02-19 07:36:56 +00:00
Tomer Shalev
ac9f850b7d
Brickmania: Forgotten one more hard-coded value
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24768 a1c6a512-1295-4272-9138-f99709370657
2010-02-19 07:35:47 +00:00
Tomer Shalev
804f67b8ce
Brickmania: Use constant for default value and rename variable of flip-sides delay
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24767 a1c6a512-1295-4272-9138-f99709370657
2010-02-19 07:32:27 +00:00
Tomer Shalev
a745fab8ce
Brickmania: Use constants for number of bricks rows and columns, and for number of levels
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24766 a1c6a512-1295-4272-9138-f99709370657
2010-02-19 07:28:49 +00:00
Tomer Shalev
9d8e07a3fc
Brickmania: Use constant for number of fires
...
Part of FS#10485 by Asael Reiter
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24764 a1c6a512-1295-4272-9138-f99709370657
2010-02-19 07:16:09 +00:00
Tomer Shalev
f3e0275671
Brickmania: Test returned value of file operations
...
This doesn't solve FS#11031, but it's a good practice to test returned values nevertheless.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24759 a1c6a512-1295-4272-9138-f99709370657
2010-02-18 22:01:40 +00:00
Teruaki Kawashima
c4eea8f11f
FS#10535: bmp viewer plugin.
...
* changed bmp.c so that it loads bitmap larger than LCD correctly.
* removed bmp entry form inbuilt_filetypes in filetypes.c so that bmp files will be opened with bmp viewer when selected in browser.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24754 a1c6a512-1295-4272-9138-f99709370657
2010-02-18 15:10:31 +00:00
Michael Sparmann
04ea85fb88
Revert accidental changes from r24723
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24724 a1c6a512-1295-4272-9138-f99709370657
2010-02-17 16:12:21 +00:00
Michael Sparmann
e5c815272d
Add more information to the battery debug screen for Nano2G
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24723 a1c6a512-1295-4272-9138-f99709370657
2010-02-17 15:57:53 +00:00
Maurus Cuelenaere
b1908e95e1
Only build Lua overlay on low-mem targets
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24702 a1c6a512-1295-4272-9138-f99709370657
2010-02-16 21:31:16 +00:00
Tomer Shalev
82d456717e
Brickmania: Fix FS#10959 - Ball disappears
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24700 a1c6a512-1295-4272-9138-f99709370657
2010-02-16 20:58:59 +00:00
Tomer Shalev
f38efac9e2
Brickmania: Fix continue message for Cowon D2
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24671 a1c6a512-1295-4272-9138-f99709370657
2010-02-15 19:52:29 +00:00
Szymon Dziok
7074a64d8a
Packard Bell Vibe 500: Finish plugin keymaps. Rockbox compiles clean now for the target.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24658 a1c6a512-1295-4272-9138-f99709370657
2010-02-14 21:56:53 +00:00
Jonathan Gordon
1c2aa35371
FS#10984 - multifont! 2 major additions:
...
1) seperate UI font for the remote and main displays
2) allow individual skins to load additional fonts for use in the skin (Uo to 7 extra in this first version) see CustomWPS for info on how to load a font in the skins.
Code should always use FONT_UI+screen_number to get the correct user font
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24644 a1c6a512-1295-4272-9138-f99709370657
2010-02-14 06:26:16 +00:00
Szymon Dziok
841cffab5b
Packard Bell Vibe 500: More plugin keymaps (second portion).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24634 a1c6a512-1295-4272-9138-f99709370657
2010-02-13 15:46:34 +00:00
Maurus Cuelenaere
1251fa5766
Lua fscanf: use pointer of file descriptor instead of file descriptor itself to avoid 64-bit pointer<->int clash (aka fix yellow).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24633 a1c6a512-1295-4272-9138-f99709370657
2010-02-13 14:51:38 +00:00
Maurus Cuelenaere
9bf28debd8
Fix FS#11007: Lua didn't parse negative numbers correct when reading from files
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24632 a1c6a512-1295-4272-9138-f99709370657
2010-02-13 14:41:00 +00:00
Teruaki Kawashima
5b27fe9d95
jpeg,png: some minor changes.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24621 a1c6a512-1295-4272-9138-f99709370657
2010-02-12 14:41:52 +00:00
Teruaki Kawashima
20ce2448de
"remote_control: don't use goto.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24617 a1c6a512-1295-4272-9138-f99709370657
2010-02-12 12:54:03 +00:00
Teruaki Kawashima
6878cf34ef
chopper: fix FS#11000: Drawing issue with steep mode. don't change level while in game.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24616 a1c6a512-1295-4272-9138-f99709370657
2010-02-12 12:11:37 +00:00
Tomer Shalev
248969fd46
fft: fix yellow
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24613 a1c6a512-1295-4272-9138-f99709370657
2010-02-12 00:07:00 +00:00
Tomer Shalev
f6526bdde2
fft: fix red
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24612 a1c6a512-1295-4272-9138-f99709370657
2010-02-11 23:27:44 +00:00
Tomer Shalev
726088f9e6
fft plugin: add touchscreen key-mapping and enable plugin for touchscreen targets
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24611 a1c6a512-1295-4272-9138-f99709370657
2010-02-11 23:10:09 +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
Frank Gevaerts
43264a946f
New plugin: FFT, A frequency analyzer plugin
...
There is some more work needed:
- Keymaps are definitely not perfect, touchscreen targets are disabled due to no keymap
- There is no manual yet
Author: Delyan Kratunov
Flyspray: FS#10065
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24587 a1c6a512-1295-4272-9138-f99709370657
2010-02-10 19:44:11 +00:00
Thomas Martitz
fa4ab10bbb
Bubbles: Don't save scores when quit without saving is selected and reduce splash duration
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24586 a1c6a512-1295-4272-9138-f99709370657
2010-02-10 18:55:07 +00:00
Tomer Shalev
07a6de15bd
Brickmania: Use touchpad actions even if buttons are assigned to them (Cowon D2)
...
Thanks for Strife89DS and pixelma for spotting this
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24554 a1c6a512-1295-4272-9138-f99709370657
2010-02-07 20:19:34 +00:00
Tomer Shalev
ed0290d30f
Cowon D2: Use buttons for Brickmania instead of touchscreen, which hides the paddle
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24553 a1c6a512-1295-4272-9138-f99709370657
2010-02-07 19:16:21 +00:00