Commit graph

75 commits

Author SHA1 Message Date
Miika Pekkarinen
68b740f648 Changelog importing was broken.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11325 a1c6a512-1295-4272-9138-f99709370657
2006-10-24 17:39:06 +00:00
Miika Pekkarinen
02df5a8068 Allow all tag type in formatting string. Included example with
tagnavi.config.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11324 a1c6a512-1295-4272-9138-f99709370657
2006-10-24 16:20:48 +00:00
Miika Pekkarinen
19d78653fe Hopefully now fixed the last 64-bit compiler warning.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11303 a1c6a512-1295-4272-9138-f99709370657
2006-10-21 21:05:23 +00:00
Miika Pekkarinen
425bc4e246 Fixed the simulator warnings.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11302 a1c6a512-1295-4272-9138-f99709370657
2006-10-21 20:51:10 +00:00
Miika Pekkarinen
a1ac743453 Implement fast_readline as a function and use it for tagtree also.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11301 a1c6a512-1295-4272-9138-f99709370657
2006-10-21 20:37:33 +00:00
Miika Pekkarinen
b89b5ba2ee (1) New syntax to support conditional formatting.
(2) Reduced tagnavi memory consumption.
(3) There was a bug that splash screen counter was counting down when
inserting tracks next. But in fact that might be preferred, so always
count down after successful tagcache query.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11223 a1c6a512-1295-4272-9138-f99709370657
2006-10-15 11:01:18 +00:00
Miika Pekkarinen
be2eb02d7a FS#6137: add "oneof" operator to tagnavi.conf syntax.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11157 a1c6a512-1295-4272-9138-f99709370657
2006-10-09 10:23:35 +00:00
Steve Bavin
d49c810ec9 Add CPU boost tracker to see where boosts are coming from
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11125 a1c6a512-1295-4272-9138-f99709370657
2006-10-05 10:07:03 +00:00
Miika Pekkarinen
3eb9e70b64 Accepted FS#6098 as the first patch from Robert Kukla and implemented using two switches.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11124 a1c6a512-1295-4272-9138-f99709370657
2006-10-05 09:49:18 +00:00
Miika Pekkarinen
812cbad890 Fixed find_index returning incorrect entry unless entries are found.
Commit all numeric tags at once and set a flag if tracknumber has been
guessed. Cleaned up temporary file creation.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11122 a1c6a512-1295-4272-9138-f99709370657
2006-10-04 09:05:01 +00:00
Miika Pekkarinen
36e3081e8c Fixed the following critical bugs in tagcache engine: #5934 (or #5529,
thanks Uchida for the idea), deleting songs causes tagcache to corrupt
or fail and duplicate entries after commit with ramcache enabled.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11061 a1c6a512-1295-4272-9138-f99709370657
2006-09-26 11:23:18 +00:00
Miika Pekkarinen
45ab2a9126 Oops, fixed the errors.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11031 a1c6a512-1295-4272-9138-f99709370657
2006-09-23 11:02:09 +00:00
Miika Pekkarinen
6ee82e702c Properly shutdown audio playback early and flush system, including not
hanging tagcache. Fixed also tagcache line buffer running out when
importing a changelog with very long lines.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11030 a1c6a512-1295-4272-9138-f99709370657
2006-09-23 10:29:14 +00:00
Miika Pekkarinen
a85044bf9e New scheduler, with priorities for swcodec platforms. Frequent task
switching should be more efficient and tasks are stored in linked
lists to eliminate unnecessary task switching to improve performance.
Audio should no longer skip on swcodec targets caused by too CPU
hungry UI thread or background threads.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10958 a1c6a512-1295-4272-9138-f99709370657
2006-09-16 16:18:11 +00:00
Miika Pekkarinen
4294615192 Fixed tagcache returning incorrect entries.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10810 a1c6a512-1295-4272-9138-f99709370657
2006-08-30 18:18:37 +00:00
Miika Pekkarinen
9812765086 Fixed: With dircache+tagcache in RAM using Search by filename->Player
freezes.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10769 a1c6a512-1295-4272-9138-f99709370657
2006-08-27 14:58:46 +00:00
Miika Pekkarinen
6523ba44a9 Fixed performance problems when initializing tagcache.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10754 a1c6a512-1295-4272-9138-f99709370657
2006-08-26 09:24:20 +00:00
Miika Pekkarinen
93bbd44ccc Browse by year (now numeric tags are fully supported too).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10750 a1c6a512-1295-4272-9138-f99709370657
2006-08-25 21:13:49 +00:00
Miika Pekkarinen
53d26e5bbf Use uniqbuf for unique tags only.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10748 a1c6a512-1295-4272-9138-f99709370657
2006-08-25 15:20:10 +00:00
Miika Pekkarinen
e308064353 Tagcache: Don't show duplicate entries and automatically inherit
clauses for correct search results.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10746 a1c6a512-1295-4272-9138-f99709370657
2006-08-25 13:22:46 +00:00
Peter D'Hoye
c4a59a290b eeprom driver for the h3x0 series, cleaned up the h1x0 series driver a bit, added debug entry for h3x0 that allows to write to the eeprom
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10597 a1c6a512-1295-4272-9138-f99709370657
2006-08-15 22:54:06 +00:00
Miika Pekkarinen
0c5ec36c7a Fixed a problem when using filename tag as a search clause.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10571 a1c6a512-1295-4272-9138-f99709370657
2006-08-14 15:35:23 +00:00
Miika Pekkarinen
e5059a7b0d FS#5806 with code cleanup.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10559 a1c6a512-1295-4272-9138-f99709370657
2006-08-13 14:53:19 +00:00
Miika Pekkarinen
33d9104078 FS#5805 NOT operator for tagnavi.config by Jochen Kemnade.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10558 a1c6a512-1295-4272-9138-f99709370657
2006-08-13 12:33:34 +00:00
Miika Pekkarinen
54ec1f5f6d Better UI response with playlist operations.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10544 a1c6a512-1295-4272-9138-f99709370657
2006-08-12 11:00:39 +00:00
Miika Pekkarinen
3b52bb9c68 Properly handle early USB mode, dircache and tagcache state files with
flashed rockbox.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10525 a1c6a512-1295-4272-9138-f99709370657
2006-08-11 10:13:16 +00:00
Miika Pekkarinen
c2eb67bc9f Unload tagcache from ram when entering USB mode.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10496 a1c6a512-1295-4272-9138-f99709370657
2006-08-09 07:41:28 +00:00
Miika Pekkarinen
954b732654 Initial support and use for EEPROM memory on H120 & H140 players when
Rockbox firmware has been flashed over original firmware (not yet
possible to do). Dircache & tagcache serialization for fast bootup
without the need to scan disk when Rockbox is in flash.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10464 a1c6a512-1295-4272-9138-f99709370657
2006-08-05 20:19:10 +00:00
Miika Pekkarinen
d8ac607418 Tagcache: Fixed runtime stats not being gathered when tagcache is kept
on disk. Initial attempt to make tagcache thread safe. Replaced a few
direct buffer allocations with buffer_alloc from tagcache and dircache
where possible.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10415 a1c6a512-1295-4272-9138-f99709370657
2006-08-02 17:39:34 +00:00
Jens Arnold
a5f42cba10 Fix warning when building without HAVE_TC_RAMCACHE.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10405 a1c6a512-1295-4272-9138-f99709370657
2006-08-02 06:57:13 +00:00
Miika Pekkarinen
7136fd9bb6 Nice diagram explaining better tagcache internals.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10316 a1c6a512-1295-4272-9138-f99709370657
2006-07-25 10:44:19 +00:00
Miika Pekkarinen
dafa0d4a70 Don't corrupt runtimedb when tagcache is loaded in ram.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10308 a1c6a512-1295-4272-9138-f99709370657
2006-07-24 15:35:46 +00:00
Miika Pekkarinen
9c0b54a80c Fixed bug in finding entry from disk by filename and not starting auto
update unless proper setting has been enabled.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10307 a1c6a512-1295-4272-9138-f99709370657
2006-07-24 12:10:50 +00:00
Miika Pekkarinen
4f93b30192 Don't write ram flags to disk (causes internal error).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10297 a1c6a512-1295-4272-9138-f99709370657
2006-07-23 17:31:35 +00:00
Miika Pekkarinen
86f07c7ccb Automatically import the changelog after initializing tagcache.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10295 a1c6a512-1295-4272-9138-f99709370657
2006-07-23 15:35:53 +00:00
Miika Pekkarinen
9161425b08 Fixed a bug in tagcache initialization.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10292 a1c6a512-1295-4272-9138-f99709370657
2006-07-23 14:28:12 +00:00
Miika Pekkarinen
29fa15f521 Better header checking. Only manually remove incorrect entries. Fixed
a bug and performance issue with find entry from disk by filename.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10291 a1c6a512-1295-4272-9138-f99709370657
2006-07-23 11:15:28 +00:00
Miika Pekkarinen
2a7aebdc48 Only ignore deleted entries (previously was corrupting the master
index).


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10286 a1c6a512-1295-4272-9138-f99709370657
2006-07-22 18:58:28 +00:00
Miika Pekkarinen
42d9b1593d Initialize the status structure correctly.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10280 a1c6a512-1295-4272-9138-f99709370657
2006-07-22 08:04:28 +00:00
Miika Pekkarinen
a47bd73f3e Removed the 10000 files static commmit-time limit from tagcache.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10278 a1c6a512-1295-4272-9138-f99709370657
2006-07-22 07:09:57 +00:00
Miika Pekkarinen
cb8c795415 Support importing runtimedb data from ascii files.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10260 a1c6a512-1295-4272-9138-f99709370657
2006-07-20 12:19:31 +00:00
Miika Pekkarinen
0c5c7f2647 Killed one warning.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10220 a1c6a512-1295-4272-9138-f99709370657
2006-07-16 20:12:38 +00:00
Miika Pekkarinen
0042201bb3 Initial changelog support (only export, no import yet) and added
an option to search by filename.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10219 a1c6a512-1295-4272-9138-f99709370657
2006-07-16 15:04:46 +00:00
Miika Pekkarinen
45dfe2a36f Initial runtimedb support for tagcache. Only for developers,
statistical data will be lost in future until changelogs has been
implemented.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10217 a1c6a512-1295-4272-9138-f99709370657
2006-07-15 17:36:25 +00:00
Miika Pekkarinen
df5d722c42 Filename tags were incorrectly retrieved from dircache when tagcache was loaded in
ram.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10202 a1c6a512-1295-4272-9138-f99709370657
2006-07-12 12:50:26 +00:00
Miika Pekkarinen
3bddace4f8 Don't skip before data has been read in.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10201 a1c6a512-1295-4272-9138-f99709370657
2006-07-12 08:58:18 +00:00
Miika Pekkarinen
4e19e6d20a Tagcache autoupdate without dircache was not functional at all.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10200 a1c6a512-1295-4272-9138-f99709370657
2006-07-12 06:59:08 +00:00
Miika Pekkarinen
9cd5c3e119 Tagcache update: Support removal of entries and no longer the need for
dircache to load tagcache in ram (however, dircache with tagcache is
still strongly recommended).


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10192 a1c6a512-1295-4272-9138-f99709370657
2006-07-10 16:22:03 +00:00
Miika Pekkarinen
26ffc619a4 Need to reload tagcache in ram if dircache buffer has been stolen.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10025 a1c6a512-1295-4272-9138-f99709370657
2006-05-31 06:07:28 +00:00
Miika Pekkarinen
5127cfad1d Fixed incorrect memory allocation bug with tagcache.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10023 a1c6a512-1295-4272-9138-f99709370657
2006-05-30 18:13:18 +00:00