Commit graph

6360 commits

Author SHA1 Message Date
Michiel Van Der Kolk
3d2565343e Alignment.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6384 a1c6a512-1295-4272-9138-f99709370657
2005-04-29 22:45:50 +00:00
Michiel Van Der Kolk
ec407a86a7 Code policy...
Removed tokentool for now since this is not the proper place, but what is?


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6383 a1c6a512-1295-4272-9138-f99709370657
2005-04-29 21:02:17 +00:00
Michiel Van Der Kolk
388d9ff6a3 This should give some optimization when and-ing things....
*hopes he got this right and it won't screw up the search engine*
but thats what cvs is for :)


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6382 a1c6a512-1295-4272-9138-f99709370657
2005-04-28 21:28:42 +00:00
Jens Arnold
74875ef37e Speed optimisations: (1) Read, write: Use single/multiple block commands depending on the block count. (2) Write: Combine first partial sector transfer (after caching) & main loop into one block-transfer sequence.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6381 a1c6a512-1295-4272-9138-f99709370657
2005-04-28 20:47:55 +00:00
Michiel Van Der Kolk
238bea7370 dumb dumb dumb dumb dumb.....
some rearrangements of code..
bugs were in the tokentool tokenstream generator X.x..
dumb :/


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6380 a1c6a512-1295-4272-9138-f99709370657
2005-04-28 18:49:23 +00:00
Jens Arnold
6752d1310d Make searchengine compile for all targets; correct linking for archos.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6379 a1c6a512-1295-4272-9138-f99709370657
2005-04-28 18:01:29 +00:00
Michiel Van Der Kolk
a40a3152bc Fixed stripping of \n..
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6378 a1c6a512-1295-4272-9138-f99709370657
2005-04-28 17:41:39 +00:00
Michiel Van Der Kolk
d98b6aec01 scanf sucks :/
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6377 a1c6a512-1295-4272-9138-f99709370657
2005-04-28 17:07:44 +00:00
Michiel Van Der Kolk
a43f90f563 scanf sucks >.<;
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6376 a1c6a512-1295-4272-9138-f99709370657
2005-04-28 17:03:45 +00:00
Michiel Van Der Kolk
8c0dfb4d14 Searchengine is a viewer now, .rsp "Rockbox Smart Playlist"
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6375 a1c6a512-1295-4272-9138-f99709370657
2005-04-28 16:41:49 +00:00
Michiel Van Der Kolk
fff0d92e76 low level search query file maker, to be built on host, not target..
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6374 a1c6a512-1295-4272-9138-f99709370657
2005-04-28 16:41:08 +00:00
Michiel Van Der Kolk
c099300c8d Count hits... string searches appear to be broken for now, unsure why,
maybe something goes wrong when allocating ram for the strings..


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6373 a1c6a512-1295-4272-9138-f99709370657
2005-04-28 16:39:41 +00:00
Michiel Van Der Kolk
29909a341a Read searchquery from a search "file" (search tokenstream)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6372 a1c6a512-1295-4272-9138-f99709370657
2005-04-28 14:48:12 +00:00
Michiel Van Der Kolk
9ceac0a293 Better endian functions for reading longs/shorts
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6371 a1c6a512-1295-4272-9138-f99709370657
2005-04-28 14:20:23 +00:00
Michiel Van Der Kolk
4350eec6bb Proper headers, simulator support should (emphasis on should) work.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6370 a1c6a512-1295-4272-9138-f99709370657
2005-04-28 14:06:20 +00:00
Jonas Häggqvist
8c4e2be480 Doubled-checked checksums and added more
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6369 a1c6a512-1295-4272-9138-f99709370657
2005-04-28 13:56:15 +00:00
Michiel Van Der Kolk
c013936d18 No unneeded delays...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6368 a1c6a512-1295-4272-9138-f99709370657
2005-04-28 12:40:41 +00:00
Michiel Van Der Kolk
9369d4867d Search engine core for database v2, has an hardcoded "songs for year >= 1980 and year < 1990" at the moment.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6367 a1c6a512-1295-4272-9138-f99709370657
2005-04-28 12:33:38 +00:00
Jens Arnold
a7f7781dca MMC driver does now handle block sizes != 512 bytes, which is necessary to support cards > 1 GB. Changed error handling to use the same method as other parts of rockbox, allowing to trace the call chain. Long policy, code cleanup.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6366 a1c6a512-1295-4272-9138-f99709370657
2005-04-28 01:11:21 +00:00
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