Thomas Martitz
5783505b99
Add two macros for char*-based pointer arithmetic and use it in font.c
...
This fixes errornous pointer addition (+ on a short*), which crashed in some situation.
Fixes FS#12317 and should hopefully get the clips booting again.
Thanks to Jonathan Gordon for spotting the bad pointer arithmetic.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30724 a1c6a512-1295-4272-9138-f99709370657
2011-10-07 19:29:18 +00:00
Thomas Martitz
42a33a7f70
Correct left-over assignment.
...
Also remove unnecessary NULL guard.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30723 a1c6a512-1295-4272-9138-f99709370657
2011-10-07 17:31:15 +00:00
Thomas Martitz
f86506675e
Re-order things to fix red.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30722 a1c6a512-1295-4272-9138-f99709370657
2011-10-07 17:28:27 +00:00
Thomas Martitz
0acdc87df4
lists: Detect dirtyness (need to reinit) for each list, instead of once globally.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30721 a1c6a512-1295-4272-9138-f99709370657
2011-10-07 17:22:49 +00:00
Alex Parker
40529dd069
Manual: Small English improvement
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30720 a1c6a512-1295-4272-9138-f99709370657
2011-10-05 21:30:16 +00:00
Thomas Martitz
4478b25ede
core_alloc: Provide a tiny test allocation, which can be freed for debug purposes.
...
This allocation can be freed in the buflib debug menu (select it to free).
Doing a another allocation, e.g. by selecting another item in this debug menu
will cause compaction (all allocs move).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30719 a1c6a512-1295-4272-9138-f99709370657
2011-10-05 18:32:19 +00:00
Thomas Martitz
6efb3f0760
Revert r30599 "Check for the magic file "/.rockbox/skin_buffer_size.txt" [...]"
...
It's not clear whether a user setting is the right/accepted fix for the skin buffer.
But even if it is, this implementation of it is considered bad, even by the author.
See http://www.rockbox.org/mail/archive/rockbox-dev-archive-2011-09/0054.shtml
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30718 a1c6a512-1295-4272-9138-f99709370657
2011-10-05 17:43:51 +00:00
Björn Stenberg
8c4941e561
Changed #warning to a TODO comment.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30717 a1c6a512-1295-4272-9138-f99709370657
2011-10-05 14:42:18 +00:00
Björn Stenberg
725ed0ad3f
Only alloc if necessary. Patch by Jonathan Gordon.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30716 a1c6a512-1295-4272-9138-f99709370657
2011-10-05 11:44:22 +00:00
Jeffrey Goode
a604345ae1
Clean up compressor setting code
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30715 a1c6a512-1295-4272-9138-f99709370657
2011-10-05 04:44:56 +00:00
Fred Bauer
b683874e98
Do not font_unload() failed fonts when aborting a skin load
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30714 a1c6a512-1295-4272-9138-f99709370657
2011-10-05 04:19:00 +00:00
Bertrik Sikken
2e58d5935d
Make function calc_db in peakmeter.c static
...
Remove some unneeded #include "peakmeter.h"
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30713 a1c6a512-1295-4272-9138-f99709370657
2011-10-04 21:25:26 +00:00
Bertrik Sikken
9bddc48b32
Remove unused function display_keylock_text
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30712 a1c6a512-1295-4272-9138-f99709370657
2011-10-04 20:34:15 +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
Dominik Riebeling
d1e5c74ca8
Rockbox Utility: refresh some more dynamic strings after translation change.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30710 a1c6a512-1295-4272-9138-f99709370657
2011-10-04 18:30:27 +00:00
Jeffrey Goode
b76f197ff6
Silence build warning
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30708 a1c6a512-1295-4272-9138-f99709370657
2011-10-04 13:08:04 +00:00
Michael Chicoine
19c7494ebe
r30706 was not the right fix - thanks to amiconn for catching the error
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30707 a1c6a512-1295-4272-9138-f99709370657
2011-10-04 00:42:00 +00:00
Michael Chicoine
1f5c5f2a88
Fix w32 cross-compiled sim showing 0KB for disk size and disk free
...
in System -> Rockbox Info
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30706 a1c6a512-1295-4272-9138-f99709370657
2011-10-03 23:55:26 +00:00
Jens Arnold
81ff054d80
Fix 'make reconf' for iriver H10 5/6GB. Model name contains an underscore.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30702 a1c6a512-1295-4272-9138-f99709370657
2011-10-03 20:36:46 +00:00
Andree Buschmann
6832175412
Add missing usb_drv_init(), fixes FS#12303.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30701 a1c6a512-1295-4272-9138-f99709370657
2011-10-03 06:14:48 +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
Thomas Jarosch
96afbb3778
Fix file descriptor double close():
...
read_config() also closed the file descriptor.
Credit goes to cppcheck.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30699 a1c6a512-1295-4272-9138-f99709370657
2011-10-02 20:04:44 +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
Amaury Pouly
c7e56d6c9c
fuze+: add superdom keymap
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30685 a1c6a512-1295-4272-9138-f99709370657
2011-10-02 17:34:31 +00:00
Amaury Pouly
045479d85c
fuze+: add invadrox keymap
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30684 a1c6a512-1295-4272-9138-f99709370657
2011-10-02 17:34:23 +00:00
Amaury Pouly
31e3df17eb
fuze+: add matrix keymap
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30683 a1c6a512-1295-4272-9138-f99709370657
2011-10-02 17:34:19 +00:00
Amaury Pouly
e6c6dc3238
fuze+: add fireworks keymap
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30682 a1c6a512-1295-4272-9138-f99709370657
2011-10-02 17:34:16 +00:00
Amaury Pouly
d4d11b4635
fuze+: add rockpaint keymap
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30681 a1c6a512-1295-4272-9138-f99709370657
2011-10-02 17:34:13 +00:00
Amaury Pouly
34ef067b52
fuze+: add clix keymap
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30680 a1c6a512-1295-4272-9138-f99709370657
2011-10-02 17:34:07 +00:00
Amaury Pouly
13988cbec1
fuze+: add vu_meter keymap
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30679 a1c6a512-1295-4272-9138-f99709370657
2011-10-02 16:51:36 +00:00
Amaury Pouly
0d835d86b0
fuze+: add wormlet keymap
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30678 a1c6a512-1295-4272-9138-f99709370657
2011-10-02 16:51:32 +00:00
Amaury Pouly
1546e048f6
fuze+: add sokoban keymap
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30677 a1c6a512-1295-4272-9138-f99709370657
2011-10-02 16:51:27 +00:00
Amaury Pouly
abcd976672
fuze+: add starfield jeymap
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30676 a1c6a512-1295-4272-9138-f99709370657
2011-10-02 16:51:24 +00:00
Amaury Pouly
aebc8b1be0
fuze+: fix solitaire keymap again
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30675 a1c6a512-1295-4272-9138-f99709370657
2011-10-02 16:51:20 +00:00
Amaury Pouly
8bd4037ff9
fuze+: add star keymap
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30674 a1c6a512-1295-4272-9138-f99709370657
2011-10-02 16:51:17 +00:00
Amaury Pouly
61deadf87a
fuze+: fix solitaire keymap
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30673 a1c6a512-1295-4272-9138-f99709370657
2011-10-02 16:21:15 +00:00
Amaury Pouly
18e26cdad8
fuze+: add sliding_puzzle keymap
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30672 a1c6a512-1295-4272-9138-f99709370657
2011-10-02 16:21:11 +00:00
Amaury Pouly
cbe1ca1948
fuze+: add solitaire keymap (unsure about it)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30671 a1c6a512-1295-4272-9138-f99709370657
2011-10-02 16:21:08 +00:00