Commit graph

6573 commits

Author SHA1 Message Date
Tomas Salfischberger
23028f579b Adapted Miika's tool to rockbox coding style *oops*
(And removed some tabs from my own last minute edits in dict.c)

Changed the place of endian conversion form the device to the convertor.
Should speed it up a little.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6397 a1c6a512-1295-4272-9138-f99709370657
2005-05-02 16:06:05 +00:00
Tomas Salfischberger
e2f5dba61c Miika Pekkarinen wrote the dictionary conversion script/tool.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6396 a1c6a512-1295-4272-9138-f99709370657
2005-05-02 15:06:55 +00:00
Tomas Salfischberger
52abc68b11 Dictionary conversion tools.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6395 a1c6a512-1295-4272-9138-f99709370657
2005-05-02 15:05:07 +00:00
Tomas Salfischberger
a810a67db7 Dictionary plugin, first version... please bugtest.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6394 a1c6a512-1295-4272-9138-f99709370657
2005-05-02 15:03:46 +00:00
Jens Arnold
1ba26b8a60 MMC driver: More flexible background copy & bitswap concept, using global variables - slightly less read latency when both partial and full blocks are involved. Some code cleanup.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6393 a1c6a512-1295-4272-9138-f99709370657
2005-05-02 00:33:01 +00:00
Jens Arnold
4e2cee1ece Bugfix: The recording screen must not touch the LED if the LED is only simulated to avoid confusion (Ondio FM).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6392 a1c6a512-1295-4272-9138-f99709370657
2005-05-01 20:10:39 +00:00
Jens Arnold
d6587f9b31 Bugfix: Only mangle the current playlist when the shuffle setting is changed (from menu) when the music is playing. This behaviour was already present in the recorder's F2 quickscreen, and doing otherwise isn't intuitive.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6391 a1c6a512-1295-4272-9138-f99709370657
2005-05-01 19:13:47 +00:00
Jens Arnold
484285200a searchengine.rock didn't get cleaned.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6390 a1c6a512-1295-4272-9138-f99709370657
2005-04-30 09:40:15 +00:00
Michiel Van Der Kolk
a9e4555b6f Better error messenging. less crashes. good.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6389 a1c6a512-1295-4272-9138-f99709370657
2005-04-29 23:57:50 +00:00
Michiel Van Der Kolk
fe708f22d5 fixes warning.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6388 a1c6a512-1295-4272-9138-f99709370657
2005-04-29 23:40:52 +00:00
Michiel Van Der Kolk
872dd87375 whoops.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6387 a1c6a512-1295-4272-9138-f99709370657
2005-04-29 23:33:55 +00:00
Michiel Van Der Kolk
f5f8c05a31 *whistles*
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6386 a1c6a512-1295-4272-9138-f99709370657
2005-04-29 23:20:41 +00:00
Michiel Van Der Kolk
6ca9500811 hopefully fixes alignment and doesn't break anything..
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6385 a1c6a512-1295-4272-9138-f99709370657
2005-04-29 23:15:07 +00:00
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