Commit graph

6341 commits

Author SHA1 Message Date
Michiel Van Der Kolk
7e3f91d3d8 Obvious optimizations (i wasn't quite awake yet) + Code formatting policy.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6365 a1c6a512-1295-4272-9138-f99709370657
2005-04-27 12:11:50 +00:00
Michiel Van Der Kolk
67772bbf1b More database maintenance functions..
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6364 a1c6a512-1295-4272-9138-f99709370657
2005-04-27 11:49:51 +00:00
Jens Arnold
fd83f521a9 Adding entries to the FAT16 root dir still failed under certain conditions. The shortcut check cannot work the way it was implemented - removed it.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6363 a1c6a512-1295-4272-9138-f99709370657
2005-04-27 01:23:31 +00:00
Daniel Stenberg
9536efae4f fixed the removal of the endian test program to not fail on cygwin
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6362 a1c6a512-1295-4272-9138-f99709370657
2005-04-26 22:56:53 +00:00
Daniel Stenberg
6c38d8513b First shot at autodetecting endianess, and storing the found results in the
brand new autoconf.h header file (not used anywhere yet - this is still a
test).


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6361 a1c6a512-1295-4272-9138-f99709370657
2005-04-26 22:41:48 +00:00
Michiel Van Der Kolk
08dae4f66e merf. oops.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6360 a1c6a512-1295-4272-9138-f99709370657
2005-04-26 21:56:04 +00:00
Michiel Van Der Kolk
929e7837cd Restructurizing database code, seperating database code from dbtree code,
wrote the first basic functions to manipulate fileentries.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6359 a1c6a512-1295-4272-9138-f99709370657
2005-04-26 21:37:44 +00:00
Jens Arnold
04ed408de9 ID3DB: Reload database when returning from USB mode. Fixed reload_root issue in id3db browse mode. The database is now properly closed before entering USB mode.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6358 a1c6a512-1295-4272-9138-f99709370657
2005-04-26 19:23:47 +00:00
Daniel Stenberg
e4e3bce3b0 add fwpatcher files to source tarball
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6357 a1c6a512-1295-4272-9138-f99709370657
2005-04-26 08:11:43 +00:00
Thom Johansen
7de0b0ecae Removed 'static' keyword from non-static variables.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6356 a1c6a512-1295-4272-9138-f99709370657
2005-04-26 00:10:15 +00:00
Christian Gmeiner
7d9848186e iRiver: extended remote lcd driver. displaying text works now - see start-up-screen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6355 a1c6a512-1295-4272-9138-f99709370657
2005-04-25 23:47:51 +00:00
Michiel Van Der Kolk
b015d642b5 Fixed bad directory length when browsing "all files" for an artist, with not enough files to fill a screen.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6354 a1c6a512-1295-4272-9138-f99709370657
2005-04-25 22:36:23 +00:00
Daniel Stenberg
9213fb241b initial makefile, builds crosscompiled on Linux fine
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6353 a1c6a512-1295-4272-9138-f99709370657
2005-04-25 21:28:46 +00:00
Thom Johansen
e6b1c27d06 Broken icon.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6352 a1c6a512-1295-4272-9138-f99709370657
2005-04-25 21:20:08 +00:00
Thom Johansen
8e20f02da5 GUI firmware patcher for windows.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6351 a1c6a512-1295-4272-9138-f99709370657
2005-04-25 21:08:36 +00:00
Michiel Van Der Kolk
7254b9cc15 --add option, by request of amiconn.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6350 a1c6a512-1295-4272-9138-f99709370657
2005-04-25 20:42:45 +00:00
Michiel Van Der Kolk
143a8728bf Whoops. cleaned up some code leftovers
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6349 a1c6a512-1295-4272-9138-f99709370657
2005-04-25 19:19:25 +00:00
Michiel Van Der Kolk
73f247a9fd TagDatabase v2 tester, needs its internal defines to be set to the proper values for the specific database before usage.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6348 a1c6a512-1295-4272-9138-f99709370657
2005-04-25 18:31:28 +00:00
Michiel Van Der Kolk
d41d44f073 (Tag) Database v2. this fixes all bugs in the old songdb.pl, should react like
v1, except this has albums with multiple artists support. *prays nothing breaks*
:X


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6347 a1c6a512-1295-4272-9138-f99709370657
2005-04-25 18:19:59 +00:00
Linus Nielsen Feltzing
de4ef019b9 Long policy again
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6346 a1c6a512-1295-4272-9138-f99709370657
2005-04-25 09:49:08 +00:00
Linus Nielsen Feltzing
c27d51c553 Long policy
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6345 a1c6a512-1295-4272-9138-f99709370657
2005-04-25 09:21:22 +00:00
Linus Nielsen Feltzing
63c5fc7849 Don't build splitedit.c on iriver
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6344 a1c6a512-1295-4272-9138-f99709370657
2005-04-25 08:59:33 +00:00
Linus Nielsen Feltzing
ef73c2ed36 Even more correct conditions for mpeg_get_last_header()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6343 a1c6a512-1295-4272-9138-f99709370657
2005-04-25 08:59:19 +00:00
Linus Nielsen Feltzing
78c829f576 Bad conditions for including mpeg_get_last_header()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6342 a1c6a512-1295-4272-9138-f99709370657
2005-04-25 08:21:10 +00:00
Linus Nielsen Feltzing
e2ae4f3b4b New BMP reader by Tomas Salfischberger
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6341 a1c6a512-1295-4272-9138-f99709370657
2005-04-25 07:58:16 +00:00
Linus Nielsen Feltzing
250678bb05 New BMP reader by Tomas Salfischberger
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6340 a1c6a512-1295-4272-9138-f99709370657
2005-04-25 07:42:10 +00:00
Michiel Van Der Kolk
11359df6ca Do not distinguish between case when sorting entries.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6339 a1c6a512-1295-4272-9138-f99709370657
2005-04-24 16:21:01 +00:00
Michiel Van Der Kolk
e327cc8be3 Fall back on "<no album tag>" if the file is in the root of the player and doesn't have an album tag...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6338 a1c6a512-1295-4272-9138-f99709370657
2005-04-24 15:00:15 +00:00
Michiel Van Der Kolk
50b656ff0c Fall back on directory name if no album tag, instead of <no album tag>.
Fall back on basename of the file if no title tag, instead of <no title tag>.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6337 a1c6a512-1295-4272-9138-f99709370657
2005-04-24 14:30:11 +00:00
Michiel Van Der Kolk
438366ce3a Proper dumpint function..
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6336 a1c6a512-1295-4272-9138-f99709370657
2005-04-24 12:38:01 +00:00
Michiel Van Der Kolk
7aa75e1dc0 Another broken link.
Albums -> Artist was completely nonsense. fixed.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6335 a1c6a512-1295-4272-9138-f99709370657
2005-04-23 15:38:43 +00:00
Michiel Van Der Kolk
cec134f409 Song -> Album links were broken.
someone forgot to update all the $ALBUM___$ARTIST to $ALBUM___$DIR.
stumbled across it while extending it for version 2 of the database.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6334 a1c6a512-1295-4272-9138-f99709370657
2005-04-23 15:25:21 +00:00
Jens Arnold
e4e1f2c0dd create_dos_name() return value was meaningless.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6333 a1c6a512-1295-4272-9138-f99709370657
2005-04-23 13:15:25 +00:00
Jens Arnold
a07c73532c Bugfixes: (1) add_dir_entry() always appended new entries, although the code intended to reuse deleted entries. New code reuses deleted entries whenever possible. (2) If the code could not extend the dir to append new entries (FAT16 root dir or disk full), it failed because of (1). (3) Even if reuse had worked, it would never have reused entry 0. (4) Shortname char 0xE5->0x05 replacement to avoid treatment as free entry was done for all chars although it should only be done for the first. The 0x05->0xE5 replacement on read was missing altogether. (5) Obey directory size limit (65536 entries == 2 MB). Improvements: (1) The (undocumented) flags used by WinNT derivates to store the case of a shortname's name and extension part are now supported for reading. (2) smaller code size.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6332 a1c6a512-1295-4272-9138-f99709370657
2005-04-22 22:26:13 +00:00
Jens Arnold
b5a507bbdc Small fix for compilation under GCC4. Note: It still doesn't even fully compile for SH1, and coldfire builds are reported to crash, so ymmv.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6331 a1c6a512-1295-4272-9138-f99709370657
2005-04-22 19:34:01 +00:00
Jörg Hohensohn
9418e92eea typo (ok, my commits get trivial)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6330 a1c6a512-1295-4272-9138-f99709370657
2005-04-22 19:18:01 +00:00
Stepan Moskovchenko
9ec1ff8cf5 Fixed warnings, adapted to Rockbox coding style, optimized to 78% realtime.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6329 a1c6a512-1295-4272-9138-f99709370657
2005-04-20 21:07:13 +00:00
Jonas Häggqvist
74e9d545ef I'm a fool
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6328 a1c6a512-1295-4272-9138-f99709370657
2005-04-20 20:29:35 +00:00
Linus Nielsen Feltzing
c88b5b74fd Ooops
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6327 a1c6a512-1295-4272-9138-f99709370657
2005-04-20 18:54:20 +00:00
Jonas Häggqvist
18610f1ced Sound on iRiver
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6326 a1c6a512-1295-4272-9138-f99709370657
2005-04-20 09:29:32 +00:00
Linus Nielsen Feltzing
1c40d3cee5 Ooops. DRAM can't start at 0x30000000 on iRiver
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6325 a1c6a512-1295-4272-9138-f99709370657
2005-04-20 06:48:17 +00:00
Jonas Häggqvist
eaef66efb4 Synced
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6324 a1c6a512-1295-4272-9138-f99709370657
2005-04-19 23:50:39 +00:00
Stepan Moskovchenko
1f5fb99819 Some shifting optimizations. Working code. 50% realtime.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6323 a1c6a512-1295-4272-9138-f99709370657
2005-04-19 15:57:07 +00:00
Christian Gmeiner
c3d0a229cc make use of font_getstringsize
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6322 a1c6a512-1295-4272-9138-f99709370657
2005-04-19 12:50:02 +00:00
Christian Gmeiner
c6ec0f48a5 moved lcd_getstringsize into font.c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6321 a1c6a512-1295-4272-9138-f99709370657
2005-04-19 12:47:16 +00:00
Christian Gmeiner
ed0c8764c4 iRiver: added support for hold-button on main unit and remote control
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6320 a1c6a512-1295-4272-9138-f99709370657
2005-04-19 11:34:22 +00:00
Jonas Häggqvist
e5e08c7ee5 The future is not here yet...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6319 a1c6a512-1295-4272-9138-f99709370657
2005-04-19 11:29:43 +00:00
Linus Nielsen Feltzing
134d2519fe Removed warnings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6318 a1c6a512-1295-4272-9138-f99709370657
2005-04-19 10:52:20 +00:00
Linus Nielsen Feltzing
daa7fdc05d some libmad test performance improvements
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6317 a1c6a512-1295-4272-9138-f99709370657
2005-04-19 10:50:04 +00:00
Linus Nielsen Feltzing
aed6f4fea2 Added link to rashers statistics page
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6316 a1c6a512-1295-4272-9138-f99709370657
2005-04-19 09:38:04 +00:00